Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@commitlint/config-conventional": "^12.1.1",
"husky": "^9.1.7",
"lerna": "3.22.1",
"prettier": "2.7.1",
"prettier": "3.8.4",
"replace-in-file": "^6.2.0",
"rimraf": "2.6.3"
},
Expand Down
30 changes: 21 additions & 9 deletions packages/components/src/components/chip/chip.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@

.chip:not(.chip--disabled):not(.chip--type-dynamic):hover,
.chip.chip--type-dynamic:not(.chip--selected):hover {
background: linear-gradient(
background:
linear-gradient(
var(--telekom-color-ui-state-fill-hovered),
var(--telekom-color-ui-state-fill-hovered)
),
Expand All @@ -101,7 +102,8 @@

.chip:not(.chip--disabled):not(.chip--type-dynamic):active,
.chip.chip--type-dynamic:not(.chip--selected):active {
background: linear-gradient(
background:
linear-gradient(
var(--telekom-color-ui-state-fill-pressed),
var(--telekom-color-ui-state-fill-pressed)
),
Expand All @@ -114,15 +116,17 @@
}

.chip--selected:not(.chip--disabled):not(.chip--type-dynamic):hover {
background: linear-gradient(
background:
linear-gradient(
var(--telekom-color-ui-state-fill-hovered-inverted),
var(--telekom-color-ui-state-fill-hovered-inverted)
),
var(--background-standard-selected);
}

.chip--selected:not(.chip--disabled):not(.chip--type-dynamic):active {
background: linear-gradient(
background:
linear-gradient(
var(--telekom-color-ui-state-fill-pressed-inverted),
var(--telekom-color-ui-state-fill-pressed-inverted)
),
Expand Down Expand Up @@ -169,7 +173,9 @@ disabled
border: 1px solid var(--telekom-color-ui-border-disabled);
}

.chip--selected:not(.chip--variant-outlined):not(.chip--type-dynamic).chip--disabled {
.chip--selected:not(.chip--variant-outlined):not(
.chip--type-dynamic
).chip--disabled {
background: var(--telekom-color-ui-disabled);
color: var(--telekom-color-text-and-icon-disabled);
border: none;
Expand All @@ -185,16 +191,22 @@ disabled
variant outline
**/

.chip.chip--variant-outline.chip--selected:not(.chip.chip--disabled):not(.chip--type-dynamic):hover {
background: linear-gradient(
.chip.chip--variant-outline.chip--selected:not(.chip.chip--disabled):not(
.chip--type-dynamic
):hover {
background:
linear-gradient(
var(--telekom-color-ui-state-fill-hovered),
var(--telekom-color-ui-state-fill-hovered)
),
var(--telekom-color-text-and-icon-inverted-standard);
}

.chip.chip--variant-outline.chip--selected:not(.chip.chip--disabled):not(.chip--type-dynamic):active {
background: linear-gradient(
.chip.chip--variant-outline.chip--selected:not(.chip.chip--disabled):not(
.chip--type-dynamic
):active {
background:
linear-gradient(
var(--telekom-color-ui-state-fill-pressed),
var(--telekom-color-ui-state-fill-pressed)
),
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/components/combobox/combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

/*listbox*/
--background-listbox: var(--telekom-color-background-surface);
--box-shadow-listbox: 0 2px 4px 0 rgba(0, 0, 0, 0.1),
0 4px 16px 0 rgba(0, 0, 0, 0.1);
--box-shadow-listbox:
0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 16px 0 rgba(0, 0, 0, 0.1);
--max-height-listbox: 300px;
--z-index-listbox: 99;

Expand Down
8 changes: 4 additions & 4 deletions packages/components/src/components/data-grid/data-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ export class DataGrid {
currentSortDirection === 'none'
? 'ascending'
: currentSortDirection === 'ascending'
? 'descending'
: 'none';
? 'descending'
: 'none';
this.fields[columnIndex].sortDirection = newSortDirection;
this.sortTable(newSortDirection, type, columnIndex);
}
Expand Down Expand Up @@ -1182,8 +1182,8 @@ export class DataGrid {
field.visible !== undefined
? field.visible
: CELL_TYPES[field.type].defaults.visible !== undefined
? CELL_TYPES[field.type].defaults.visible
: CELL_DEFAULTS.visible;
? CELL_TYPES[field.type].defaults.visible
: CELL_DEFAULTS.visible;
if (!visible) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@

/*listbox*/
--background-listbox: var(--telekom-color-background-surface);
--box-shadow-listbox: 0 2px 4px 0 rgba(0, 0, 0, 0.1),
0 4px 16px 0 rgba(0, 0, 0, 0.1);
--box-shadow-listbox:
0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 16px 0 rgba(0, 0, 0, 0.1);
--max-height-listbox: 300px;
--z-index-listbox: 99;
}
Expand Down
6 changes: 4 additions & 2 deletions packages/components/src/components/input/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@
(
var(--telekom-spacing-composition-space-14) -
var(--telekom-typography-font-size-body)
) / 2
) /
2
)
);
font-weight: var(--telekom-typography-font-weight-medium);
Expand Down Expand Up @@ -220,7 +221,8 @@
(
var(--telekom-spacing-composition-space-12) -
var(--telekom-typography-font-size-body)
) / 2
) /
2
)
);
font-weight: var(--telekom-typography-font-weight-medium);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Segment', () => {
<scale-segment>Label</scale-segment>`,
});
page.root.disabled = true;
(page.root.size = 'medium'), (page.root.selected = true);
((page.root.size = 'medium'), (page.root.selected = true));
page.root.hasIcon = true;
page.root.ariaLangSelected = 'ariaLangSelected';
page.root.ariaLangDeselected = 'ariaLangDeselected';
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/components/segment/segment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ export class Segment {
this.size === 'small'
? 14
: this.size === 'medium'
? 16
: 20
? 16
: 20
}
class="scale-icon-action-checkmark"
aria-hidden="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ export class SegmentedButton {
this.size === 'small'
? CHECKMARK_WIDTH_SMALL
: this.size === 'medium'
? CHECKMARK_WIDTH_MEDIUM
: CHECKMARK_WIDTH_LARGE;
? CHECKMARK_WIDTH_MEDIUM
: CHECKMARK_WIDTH_LARGE;
if (selected || iconOnly) {
tempWidth =
child.getBoundingClientRect().width > tempWidth
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/components/slider/slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
--size-thumb: 24px;
--border-color-thumb: rgba(0, 0, 0, 0.05);
--background-thumb: var(--telekom-color-ui-white);
--shadow-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.24), 0 2px 4px 0 rgba(0, 0, 0, 0.24),
--shadow-thumb:
0 0 2px 0 rgba(0, 0, 0, 0.24), 0 2px 4px 0 rgba(0, 0, 0, 0.24),
0 4px 12px 0 rgba(0, 0, 0, 0.26);
--color-focus: var(--telekom-color-functional-focus-standard);
--spacing-x-step-marks: 8px;
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/components/switch/switch.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ scale-switch {
--radius: 1em;
--transition-duration: var(--telekom-motion-duration-immediate);
--transition-easing: var(--telekom-motion-easing-standard);
--shadow-thumb: 0 0 2px 0 rgba(0, 0, 0, 0.24), 0 2px 4px 0 rgba(0, 0, 0, 0.24),
--shadow-thumb:
0 0 2px 0 rgba(0, 0, 0, 0.24), 0 2px 4px 0 rgba(0, 0, 0, 0.24),
0 4px 12px 0 rgba(0, 0, 0, 0.26);
--spacing-x-label: var(--telekom-spacing-composition-space-04);
--font-label: var(--telekom-text-style-ui);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ scale-app-header {
display: flex;
opacity: 1;
position: relative;
transition: opacity var(--header-transition-speed) ease-in-out,
transition:
opacity var(--header-transition-speed) ease-in-out,
top var(--header-transition-speed) ease-in-out;
align-items: center;
}
Expand Down Expand Up @@ -317,7 +318,8 @@ scale-app-header {
}
.header.header--sticky .header__brand-content {
opacity: 0;
transition: opacity var(--header-transition-speed) ease-in-out,
transition:
opacity var(--header-transition-speed) ease-in-out,
top var(--header-transition-speed) ease-in-out;
}
.header *[slot='menu-main'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ app-mega-menu {
color: var(--color-row-item);
margin-bottom: var(--spacing-bottom-row-item);
text-decoration: none;
transition: color, border 0.15s ease-in-out;
transition:
color,
border 0.15s ease-in-out;
display: block;
margin-bottom: 7px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ scale-nav-main {
font-size: var(--font-size);
font-weight: var(--font-weight);
line-height: var(--line-height);
transition: color, border 0.2s ease-in-out;
transition:
color,
border 0.2s ease-in-out;
align-items: center;
text-decoration: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
--shadow: 0px 2px 9px rgba(0, 0, 0, 0.15);
--background: var(--telekom-color-background-surface);
--background-logo: var(--telekom-color-primary-standard);
--transition-common-scrolled: height var(--telekom-motion-duration-immediate)
--transition-common-scrolled:
height var(--telekom-motion-duration-immediate)
var(--telekom-motion-easing-standard),
width var(--telekom-motion-duration-immediate),
margin var(--telekom-motion-duration-immediate);
Expand Down
24 changes: 18 additions & 6 deletions packages/components/src/components/text-field/text-field.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,23 +211,35 @@ scale-text-field {
border: var(--border-warning);
}

.text-field--variant-danger:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-danger:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:hover,
.text-field--variant-danger:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-danger:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:focus {
border-color: var(--telekom-color-functional-danger-hovered);
}

.text-field--variant-success:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-success:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:hover,
.text-field--variant-success:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-success:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:focus {
border-color: var(--telekom-color-functional-success-hovered);
}

.text-field--variant-warning:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-warning:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:hover,
.text-field--variant-warning:not(.text-field--disabled):not(.text-field--readonly)
.text-field--variant-warning:not(.text-field--disabled):not(
.text-field--readonly
)
.text-field__control:focus {
border-color: var(--telekom-color-functional-warning-hovered);
}
Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/components/textarea/textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ scale-textarea {

.textarea--status-error:not(.textarea--disabled):not(.textarea--readonly)
.textarea__wrapper:hover,
.textarea--status-error:not(.textarea--disabled):not(.textarea--readonly).textarea--has-focus
.textarea--status-error:not(.textarea--disabled):not(
.textarea--readonly
).textarea--has-focus
.textarea__wrapper {
border-color: var(--telekom-color-functional-danger-hovered);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
--height-regular: var(--telekom-spacing-composition-space-12);
--height-large: var(--telekom-spacing-composition-space-14);
--radius: var(--telekom-radius-small);
--transition: all var(--telekom-motion-duration-transition)
--transition:
all var(--telekom-motion-duration-transition)
var(--telekom-motion-easing-standard),
border-radius var(--telekom-motion-duration-instant);
--box-shadow-focus: inset 0 0 0 var(--telekom-line-weight-highlight)
Expand Down Expand Up @@ -186,12 +187,16 @@
background: var(--background-selected-dark);
}

.toggle-button--selected:not(.button--disabled).toggle-button--monochrome:hover {
.toggle-button--selected:not(
.button--disabled
).toggle-button--monochrome:hover {
color: var(--color-selected);
background: var(--background-selected-hover-dark);
}

.toggle-button--selected:not(.button--disabled).toggle-button--monochrome:active {
.toggle-button--selected:not(
.button--disabled
).toggle-button--monochrome:active {
color: var(--color-selected);
background: var(--background-selected-active-dark);
}
Expand Down
Loading
Loading