@sbb-esta/lyne-elements-dev 4.9.0-dev.1774354777 → 4.9.0-dev.1774426040
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/styles/core.scss +5 -0
- package/core/styles/mixins/table.scss +40 -29
- package/core/styles/table.scss +30 -0
- package/core.css +23 -0
- package/custom-elements.json +24 -24
- package/development/slider/slider.component.js +1 -1
- package/development/slider.component-QzF7A8Yl.js +456 -0
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/off-brand-theme.css +83 -38
- package/package.json +2 -2
- package/safety-theme.css +83 -38
- package/slider/slider.component.js +1 -1
- package/{slider.component-MdvM78XU.js → slider.component-D-yXlqJY.js} +2 -2
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +83 -38
- package/table.css +60 -38
- package/development/slider.component-w_WtVNx-.js +0 -479
package/off-brand-theme.css
CHANGED
|
@@ -1736,6 +1736,27 @@ slot[name=error]::slotted(*) {
|
|
|
1736
1736
|
--sbb-signet-panel-color: var(--sbb-color-brand);
|
|
1737
1737
|
--sbb-signet-icon-color: var(--sbb-color-white);
|
|
1738
1738
|
--sbb-signet-aspect-ratio: 2 / 1;
|
|
1739
|
+
--sbb-slider-line-height: 0.25rem;
|
|
1740
|
+
--sbb-slider-knob-size: 1.75rem;
|
|
1741
|
+
--sbb-slider-knob-size-active: 1.9375rem;
|
|
1742
|
+
--sbb-slider-knob-border-size: 0.1875rem;
|
|
1743
|
+
--sbb-slider-knob-border-style: solid;
|
|
1744
|
+
--sbb-slider-knob-color: var(--sbb-background-color-1);
|
|
1745
|
+
--sbb-slider-knob-border-color: var(--sbb-color-primary);
|
|
1746
|
+
--sbb-slider-icon-color: var(--sbb-color-1);
|
|
1747
|
+
--sbb-slider-selected-line-disabled-color: var(--sbb-color-smoke);
|
|
1748
|
+
--sbb-slider-selected-line-disabled-color: light-dark(
|
|
1749
|
+
var(--sbb-color-smoke),
|
|
1750
|
+
var(--sbb-color-cement)
|
|
1751
|
+
);
|
|
1752
|
+
--sbb-slider-line-color: var(--sbb-border-color-5);
|
|
1753
|
+
--sbb-slider-selected-line-color: var(--sbb-color-primary);
|
|
1754
|
+
--sbb-slider-line-disabled-color: var(--sbb-color-graphite);
|
|
1755
|
+
--sbb-slider-line-disabled-color: light-dark(var(--sbb-color-graphite), var(--sbb-color-granite));
|
|
1756
|
+
--sbb-slider-width: 25rem;
|
|
1757
|
+
--sbb-slider-min-width: 9.375rem;
|
|
1758
|
+
--sbb-slider-gap: var(--sbb-spacing-fixed-2x);
|
|
1759
|
+
--sbb-slider-padding-block: 0.125rem;
|
|
1739
1760
|
--sbb-status-color: var(--sbb-color-4);
|
|
1740
1761
|
--sbb-status-gap: var(--sbb-spacing-fixed-1x);
|
|
1741
1762
|
--sbb-status-font-size: var(--sbb-text-font-size-s);
|
|
@@ -1813,6 +1834,8 @@ slot[name=error]::slotted(*) {
|
|
|
1813
1834
|
--sbb-signet-background-color: ButtonText !important;
|
|
1814
1835
|
--sbb-signet-panel-color: ButtonText !important;
|
|
1815
1836
|
--sbb-signet-icon-color: Canvas !important;
|
|
1837
|
+
--sbb-slider-selected-line-color: Highlight;
|
|
1838
|
+
--sbb-slider-line-color: CanvasText;
|
|
1816
1839
|
}
|
|
1817
1840
|
}
|
|
1818
1841
|
:root {
|
|
@@ -3172,42 +3195,25 @@ sup {
|
|
|
3172
3195
|
caption-side: bottom;
|
|
3173
3196
|
color: var(--sbb-table-color);
|
|
3174
3197
|
table-layout: auto;
|
|
3198
|
+
text-align: left;
|
|
3175
3199
|
}
|
|
3176
|
-
.sbb-table
|
|
3177
|
-
.sbb-table-m
|
|
3178
|
-
.sbb-table-s
|
|
3179
|
-
.sbb-table-xs
|
|
3180
|
-
border-block-end: var(--sbb-table-border);
|
|
3181
|
-
}
|
|
3182
|
-
.sbb-table thead > tr:first-of-type > th,
|
|
3183
|
-
.sbb-table-m thead > tr:first-of-type > th,
|
|
3184
|
-
.sbb-table-s thead > tr:first-of-type > th,
|
|
3185
|
-
.sbb-table-xs thead > tr:first-of-type > th {
|
|
3186
|
-
border-block-start: var(--sbb-table-border);
|
|
3187
|
-
}
|
|
3188
|
-
.sbb-table thead > tr > th,
|
|
3189
|
-
.sbb-table-m thead > tr > th,
|
|
3190
|
-
.sbb-table-s thead > tr > th,
|
|
3191
|
-
.sbb-table-xs thead > tr > th {
|
|
3200
|
+
.sbb-table th,
|
|
3201
|
+
.sbb-table-m th,
|
|
3202
|
+
.sbb-table-s th,
|
|
3203
|
+
.sbb-table-xs th {
|
|
3192
3204
|
font-size: var(--sbb-table-header-cell-font-size);
|
|
3193
3205
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3194
3206
|
font-weight: bold;
|
|
3195
3207
|
background-color: var(--sbb-table-background-color);
|
|
3208
|
+
border-block-end: var(--sbb-table-border);
|
|
3196
3209
|
border-inline-end: var(--sbb-table-border);
|
|
3197
3210
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3198
3211
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3199
|
-
text-align: left;
|
|
3200
3212
|
}
|
|
3201
|
-
.sbb-table
|
|
3202
|
-
.sbb-table-m
|
|
3203
|
-
.sbb-table-s
|
|
3204
|
-
.sbb-table-xs
|
|
3205
|
-
border-inline-start: var(--sbb-table-border);
|
|
3206
|
-
}
|
|
3207
|
-
.sbb-table tbody > tr > td,
|
|
3208
|
-
.sbb-table-m tbody > tr > td,
|
|
3209
|
-
.sbb-table-s tbody > tr > td,
|
|
3210
|
-
.sbb-table-xs tbody > tr > td {
|
|
3213
|
+
.sbb-table td,
|
|
3214
|
+
.sbb-table-m td,
|
|
3215
|
+
.sbb-table-s td,
|
|
3216
|
+
.sbb-table-xs td {
|
|
3211
3217
|
font-size: var(--sbb-table-data-cell-font-size);
|
|
3212
3218
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3213
3219
|
background-color: var(--sbb-table-background-color);
|
|
@@ -3216,12 +3222,33 @@ sup {
|
|
|
3216
3222
|
padding-block: var(--sbb-table-cell-padding-block);
|
|
3217
3223
|
padding-inline: var(--sbb-table-cell-padding-inline);
|
|
3218
3224
|
}
|
|
3219
|
-
.sbb-table
|
|
3220
|
-
.sbb-table-m
|
|
3221
|
-
.sbb-table-s
|
|
3222
|
-
.sbb-table-xs
|
|
3225
|
+
.sbb-table :is(th, td).sbb-table-group-with-next,
|
|
3226
|
+
.sbb-table-m :is(th, td).sbb-table-group-with-next,
|
|
3227
|
+
.sbb-table-s :is(th, td).sbb-table-group-with-next,
|
|
3228
|
+
.sbb-table-xs :is(th, td).sbb-table-group-with-next {
|
|
3229
|
+
border-inline-end: none;
|
|
3230
|
+
}
|
|
3231
|
+
.sbb-table :is(th, td):first-child,
|
|
3232
|
+
.sbb-table-m :is(th, td):first-child,
|
|
3233
|
+
.sbb-table-s :is(th, td):first-child,
|
|
3234
|
+
.sbb-table-xs :is(th, td):first-child {
|
|
3223
3235
|
border-inline-start: var(--sbb-table-border);
|
|
3224
3236
|
}
|
|
3237
|
+
.sbb-table:has(thead tr) thead tr:first-of-type > :is(th, td), .sbb-table:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3238
|
+
.sbb-table-m:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3239
|
+
.sbb-table-m:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3240
|
+
.sbb-table-s:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3241
|
+
.sbb-table-s:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3242
|
+
.sbb-table-xs:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3243
|
+
.sbb-table-xs:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td) {
|
|
3244
|
+
border-block-start: var(--sbb-table-border);
|
|
3245
|
+
}
|
|
3246
|
+
.sbb-table thead > tr:has(+ tr) > :is(th, td),
|
|
3247
|
+
.sbb-table-m thead > tr:has(+ tr) > :is(th, td),
|
|
3248
|
+
.sbb-table-s thead > tr:has(+ tr) > :is(th, td),
|
|
3249
|
+
.sbb-table-xs thead > tr:has(+ tr) > :is(th, td) {
|
|
3250
|
+
border-block-end: none;
|
|
3251
|
+
}
|
|
3225
3252
|
.sbb-table caption,
|
|
3226
3253
|
.sbb-table-m caption,
|
|
3227
3254
|
.sbb-table-s caption,
|
|
@@ -3234,12 +3261,6 @@ sup {
|
|
|
3234
3261
|
margin-block-start: var(--sbb-table-caption-margin-block-start, var(--sbb-spacing-fixed-4x));
|
|
3235
3262
|
text-align: left;
|
|
3236
3263
|
}
|
|
3237
|
-
.sbb-table:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3238
|
-
.sbb-table-m:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3239
|
-
.sbb-table-s:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3240
|
-
.sbb-table-xs:not(:has(thead tr)) tbody > tr:first-of-type > td {
|
|
3241
|
-
border-block-start: var(--sbb-table-border);
|
|
3242
|
-
}
|
|
3243
3264
|
|
|
3244
3265
|
.sbb-table-m {
|
|
3245
3266
|
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
@@ -3304,10 +3325,10 @@ sbb-table-wrapper[negative] .sbb-table,
|
|
|
3304
3325
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3305
3326
|
font-weight: bold;
|
|
3306
3327
|
background-color: var(--sbb-table-background-color);
|
|
3328
|
+
border-block-end: var(--sbb-table-border);
|
|
3307
3329
|
border-inline-end: var(--sbb-table-border);
|
|
3308
3330
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3309
3331
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3310
|
-
text-align: left;
|
|
3311
3332
|
}
|
|
3312
3333
|
|
|
3313
3334
|
.sbb-table-row--striped {
|
|
@@ -3385,6 +3406,30 @@ html.sbb-lean .sbb-table:not(.sbb-table-xs, .sbb-table-m) {
|
|
|
3385
3406
|
--sbb-table-cell-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
3386
3407
|
}
|
|
3387
3408
|
|
|
3409
|
+
.sbb-table-align-start {
|
|
3410
|
+
text-align: start;
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.sbb-table-align-center {
|
|
3414
|
+
text-align: center;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.sbb-table-align-end {
|
|
3418
|
+
text-align: end;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
.sbb-table-align-justify {
|
|
3422
|
+
text-align: justify;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
.sbb-table-align-left {
|
|
3426
|
+
text-align: left;
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
.sbb-table-align-right {
|
|
3430
|
+
text-align: right;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3388
3433
|
.sbb-timetable-form {
|
|
3389
3434
|
--sbb-timetable-form-content-max-width: 46.25rem;
|
|
3390
3435
|
position: relative;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "4.9.0-dev.
|
|
3
|
+
"version": "4.9.0-dev.1774426040",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/3fb659bc12e7589aeff103558c2db8a063501e06"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
package/safety-theme.css
CHANGED
|
@@ -1736,6 +1736,27 @@ slot[name=error]::slotted(*) {
|
|
|
1736
1736
|
--sbb-signet-panel-color: var(--sbb-color-brand);
|
|
1737
1737
|
--sbb-signet-icon-color: var(--sbb-color-white);
|
|
1738
1738
|
--sbb-signet-aspect-ratio: 2 / 1;
|
|
1739
|
+
--sbb-slider-line-height: 0.25rem;
|
|
1740
|
+
--sbb-slider-knob-size: 1.75rem;
|
|
1741
|
+
--sbb-slider-knob-size-active: 1.9375rem;
|
|
1742
|
+
--sbb-slider-knob-border-size: 0.1875rem;
|
|
1743
|
+
--sbb-slider-knob-border-style: solid;
|
|
1744
|
+
--sbb-slider-knob-color: var(--sbb-background-color-1);
|
|
1745
|
+
--sbb-slider-knob-border-color: var(--sbb-color-primary);
|
|
1746
|
+
--sbb-slider-icon-color: var(--sbb-color-1);
|
|
1747
|
+
--sbb-slider-selected-line-disabled-color: var(--sbb-color-smoke);
|
|
1748
|
+
--sbb-slider-selected-line-disabled-color: light-dark(
|
|
1749
|
+
var(--sbb-color-smoke),
|
|
1750
|
+
var(--sbb-color-cement)
|
|
1751
|
+
);
|
|
1752
|
+
--sbb-slider-line-color: var(--sbb-border-color-5);
|
|
1753
|
+
--sbb-slider-selected-line-color: var(--sbb-color-primary);
|
|
1754
|
+
--sbb-slider-line-disabled-color: var(--sbb-color-graphite);
|
|
1755
|
+
--sbb-slider-line-disabled-color: light-dark(var(--sbb-color-graphite), var(--sbb-color-granite));
|
|
1756
|
+
--sbb-slider-width: 25rem;
|
|
1757
|
+
--sbb-slider-min-width: 9.375rem;
|
|
1758
|
+
--sbb-slider-gap: var(--sbb-spacing-fixed-2x);
|
|
1759
|
+
--sbb-slider-padding-block: 0.125rem;
|
|
1739
1760
|
--sbb-status-color: var(--sbb-color-4);
|
|
1740
1761
|
--sbb-status-gap: var(--sbb-spacing-fixed-1x);
|
|
1741
1762
|
--sbb-status-font-size: var(--sbb-text-font-size-s);
|
|
@@ -1813,6 +1834,8 @@ slot[name=error]::slotted(*) {
|
|
|
1813
1834
|
--sbb-signet-background-color: ButtonText !important;
|
|
1814
1835
|
--sbb-signet-panel-color: ButtonText !important;
|
|
1815
1836
|
--sbb-signet-icon-color: Canvas !important;
|
|
1837
|
+
--sbb-slider-selected-line-color: Highlight;
|
|
1838
|
+
--sbb-slider-line-color: CanvasText;
|
|
1816
1839
|
}
|
|
1817
1840
|
}
|
|
1818
1841
|
:root {
|
|
@@ -3172,42 +3195,25 @@ sup {
|
|
|
3172
3195
|
caption-side: bottom;
|
|
3173
3196
|
color: var(--sbb-table-color);
|
|
3174
3197
|
table-layout: auto;
|
|
3198
|
+
text-align: left;
|
|
3175
3199
|
}
|
|
3176
|
-
.sbb-table
|
|
3177
|
-
.sbb-table-m
|
|
3178
|
-
.sbb-table-s
|
|
3179
|
-
.sbb-table-xs
|
|
3180
|
-
border-block-end: var(--sbb-table-border);
|
|
3181
|
-
}
|
|
3182
|
-
.sbb-table thead > tr:first-of-type > th,
|
|
3183
|
-
.sbb-table-m thead > tr:first-of-type > th,
|
|
3184
|
-
.sbb-table-s thead > tr:first-of-type > th,
|
|
3185
|
-
.sbb-table-xs thead > tr:first-of-type > th {
|
|
3186
|
-
border-block-start: var(--sbb-table-border);
|
|
3187
|
-
}
|
|
3188
|
-
.sbb-table thead > tr > th,
|
|
3189
|
-
.sbb-table-m thead > tr > th,
|
|
3190
|
-
.sbb-table-s thead > tr > th,
|
|
3191
|
-
.sbb-table-xs thead > tr > th {
|
|
3200
|
+
.sbb-table th,
|
|
3201
|
+
.sbb-table-m th,
|
|
3202
|
+
.sbb-table-s th,
|
|
3203
|
+
.sbb-table-xs th {
|
|
3192
3204
|
font-size: var(--sbb-table-header-cell-font-size);
|
|
3193
3205
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3194
3206
|
font-weight: bold;
|
|
3195
3207
|
background-color: var(--sbb-table-background-color);
|
|
3208
|
+
border-block-end: var(--sbb-table-border);
|
|
3196
3209
|
border-inline-end: var(--sbb-table-border);
|
|
3197
3210
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3198
3211
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3199
|
-
text-align: left;
|
|
3200
3212
|
}
|
|
3201
|
-
.sbb-table
|
|
3202
|
-
.sbb-table-m
|
|
3203
|
-
.sbb-table-s
|
|
3204
|
-
.sbb-table-xs
|
|
3205
|
-
border-inline-start: var(--sbb-table-border);
|
|
3206
|
-
}
|
|
3207
|
-
.sbb-table tbody > tr > td,
|
|
3208
|
-
.sbb-table-m tbody > tr > td,
|
|
3209
|
-
.sbb-table-s tbody > tr > td,
|
|
3210
|
-
.sbb-table-xs tbody > tr > td {
|
|
3213
|
+
.sbb-table td,
|
|
3214
|
+
.sbb-table-m td,
|
|
3215
|
+
.sbb-table-s td,
|
|
3216
|
+
.sbb-table-xs td {
|
|
3211
3217
|
font-size: var(--sbb-table-data-cell-font-size);
|
|
3212
3218
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3213
3219
|
background-color: var(--sbb-table-background-color);
|
|
@@ -3216,12 +3222,33 @@ sup {
|
|
|
3216
3222
|
padding-block: var(--sbb-table-cell-padding-block);
|
|
3217
3223
|
padding-inline: var(--sbb-table-cell-padding-inline);
|
|
3218
3224
|
}
|
|
3219
|
-
.sbb-table
|
|
3220
|
-
.sbb-table-m
|
|
3221
|
-
.sbb-table-s
|
|
3222
|
-
.sbb-table-xs
|
|
3225
|
+
.sbb-table :is(th, td).sbb-table-group-with-next,
|
|
3226
|
+
.sbb-table-m :is(th, td).sbb-table-group-with-next,
|
|
3227
|
+
.sbb-table-s :is(th, td).sbb-table-group-with-next,
|
|
3228
|
+
.sbb-table-xs :is(th, td).sbb-table-group-with-next {
|
|
3229
|
+
border-inline-end: none;
|
|
3230
|
+
}
|
|
3231
|
+
.sbb-table :is(th, td):first-child,
|
|
3232
|
+
.sbb-table-m :is(th, td):first-child,
|
|
3233
|
+
.sbb-table-s :is(th, td):first-child,
|
|
3234
|
+
.sbb-table-xs :is(th, td):first-child {
|
|
3223
3235
|
border-inline-start: var(--sbb-table-border);
|
|
3224
3236
|
}
|
|
3237
|
+
.sbb-table:has(thead tr) thead tr:first-of-type > :is(th, td), .sbb-table:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3238
|
+
.sbb-table-m:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3239
|
+
.sbb-table-m:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3240
|
+
.sbb-table-s:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3241
|
+
.sbb-table-s:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3242
|
+
.sbb-table-xs:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3243
|
+
.sbb-table-xs:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td) {
|
|
3244
|
+
border-block-start: var(--sbb-table-border);
|
|
3245
|
+
}
|
|
3246
|
+
.sbb-table thead > tr:has(+ tr) > :is(th, td),
|
|
3247
|
+
.sbb-table-m thead > tr:has(+ tr) > :is(th, td),
|
|
3248
|
+
.sbb-table-s thead > tr:has(+ tr) > :is(th, td),
|
|
3249
|
+
.sbb-table-xs thead > tr:has(+ tr) > :is(th, td) {
|
|
3250
|
+
border-block-end: none;
|
|
3251
|
+
}
|
|
3225
3252
|
.sbb-table caption,
|
|
3226
3253
|
.sbb-table-m caption,
|
|
3227
3254
|
.sbb-table-s caption,
|
|
@@ -3234,12 +3261,6 @@ sup {
|
|
|
3234
3261
|
margin-block-start: var(--sbb-table-caption-margin-block-start, var(--sbb-spacing-fixed-4x));
|
|
3235
3262
|
text-align: left;
|
|
3236
3263
|
}
|
|
3237
|
-
.sbb-table:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3238
|
-
.sbb-table-m:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3239
|
-
.sbb-table-s:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3240
|
-
.sbb-table-xs:not(:has(thead tr)) tbody > tr:first-of-type > td {
|
|
3241
|
-
border-block-start: var(--sbb-table-border);
|
|
3242
|
-
}
|
|
3243
3264
|
|
|
3244
3265
|
.sbb-table-m {
|
|
3245
3266
|
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
@@ -3304,10 +3325,10 @@ sbb-table-wrapper[negative] .sbb-table,
|
|
|
3304
3325
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3305
3326
|
font-weight: bold;
|
|
3306
3327
|
background-color: var(--sbb-table-background-color);
|
|
3328
|
+
border-block-end: var(--sbb-table-border);
|
|
3307
3329
|
border-inline-end: var(--sbb-table-border);
|
|
3308
3330
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3309
3331
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3310
|
-
text-align: left;
|
|
3311
3332
|
}
|
|
3312
3333
|
|
|
3313
3334
|
.sbb-table-row--striped {
|
|
@@ -3385,6 +3406,30 @@ html.sbb-lean .sbb-table:not(.sbb-table-xs, .sbb-table-m) {
|
|
|
3385
3406
|
--sbb-table-cell-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
3386
3407
|
}
|
|
3387
3408
|
|
|
3409
|
+
.sbb-table-align-start {
|
|
3410
|
+
text-align: start;
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.sbb-table-align-center {
|
|
3414
|
+
text-align: center;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.sbb-table-align-end {
|
|
3418
|
+
text-align: end;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
.sbb-table-align-justify {
|
|
3422
|
+
text-align: justify;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
.sbb-table-align-left {
|
|
3426
|
+
text-align: left;
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
.sbb-table-align-right {
|
|
3430
|
+
text-align: right;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3388
3433
|
.sbb-timetable-form {
|
|
3389
3434
|
--sbb-timetable-form-content-max-width: 46.25rem;
|
|
3390
3435
|
position: relative;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../slider.component-
|
|
1
|
+
import { t as e } from "../slider.component-D-yXlqJY.js";
|
|
2
2
|
export { e as SbbSliderElement };
|
|
@@ -8,7 +8,7 @@ import { boxSizingStyles as f } from "./core/styles.js";
|
|
|
8
8
|
import "./icon.js";
|
|
9
9
|
import { ref as p } from "lit/directives/ref.js";
|
|
10
10
|
//#region src/elements/slider/slider.scss?lit&inline
|
|
11
|
-
var m = n`@charset "UTF-8";:host{outline:none!important;display:inline-block;min-width:
|
|
11
|
+
var m = n`@charset "UTF-8";:host{--_sbb-slider-value-fraction: 0;outline:none!important;display:inline-block;min-width:var(--sbb-slider-min-width);width:min(var(--sbb-slider-width),100%)}:host(:disabled){--sbb-slider-icon-color: var(--sbb-color-graphite);--sbb-slider-icon-color: light-dark(var(--sbb-color-graphite), var(--sbb-color-smoke));--sbb-slider-knob-border-color: var(--sbb-border-color-5);--sbb-slider-knob-border-size: var(--sbb-border-width-2x);--sbb-slider-knob-border-style: dashed}:host([readonly]){--sbb-slider-icon-color: var(--sbb-color-5);--sbb-slider-knob-border-color: var(--sbb-slider-selected-line-disabled-color)}:host(:disabled),:host([readonly]){--sbb-slider-line-color: var(--sbb-slider-line-disabled-color);--sbb-slider-selected-line-color: var(--sbb-slider-selected-line-disabled-color)}@media(forced-colors:active){:host(:disabled),:host([readonly]){--sbb-slider-icon-color: GrayText;--sbb-slider-selected-line-disabled-color: GrayText;--sbb-slider-line-disabled-color: GrayText}}.sbb-slider__height-container{display:flex;flex-direction:column}.sbb-slider__height-container:before{content:"";-webkit-user-select:none;user-select:none;width:0;height:0}.sbb-slider__wrapper{display:flex;gap:var(--sbb-slider-gap);padding-block:var(--sbb-slider-padding-block);color:var(--sbb-slider-icon-color)}.sbb-slider__container{position:relative;min-height:var(--sbb-size-icon-ui-small);flex-grow:1}.sbb-slider__range-input{position:absolute;width:100%;inset:0;opacity:0;margin:0}.sbb-slider__line{position:absolute;top:50%;transform:translateY(-50%);height:var(--sbb-slider-line-height);width:100%;background-color:var(--sbb-slider-line-color);border-radius:var(--sbb-slider-line-height);overflow:hidden;pointer-events:none}.sbb-slider__selected-line{position:relative;height:100%;background-color:var(--sbb-slider-selected-line-color);width:calc(var(--_sbb-slider-value-fraction) * 100%)}.sbb-slider__knob{position:absolute;top:50%;transform:translateY(-50%);box-shadow:var(--sbb-box-shadow-level-5-hard);width:var(--sbb-slider-knob-size);height:var(--sbb-slider-knob-size);inset-inline-start:calc(var(--_sbb-slider-value-fraction) * 100% - var(--sbb-slider-knob-size) * var(--_sbb-slider-value-fraction));transition-property:width,height;transition-duration:var(--sbb-disable-animation-duration, var(--sbb-animation-duration-1x));transition-timing-function:ease-in;background-color:var(--sbb-slider-knob-color);border:var(--sbb-slider-knob-border-size) var(--sbb-slider-knob-border-style) var(--sbb-slider-knob-border-color);border-radius:50%;pointer-events:none}:host(:focus-visible) .sbb-slider__knob{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);--sbb-slider-knob-size: var(--sbb-slider-knob-size-active)}:host(:not(:is(:disabled,[readonly]))) .sbb-slider__range-input:active~.sbb-slider__knob{--sbb-slider-knob-size: var(--sbb-slider-knob-size-active)}`, h = (() => {
|
|
12
12
|
let n = [c({ tabindex: "0" })], h, g = [], _, v = l(d(u(o))), y = [], b, x, S, C, w, T = [], E = [], D, O = [], k = [];
|
|
13
13
|
var A = class extends v {
|
|
14
14
|
static {
|
|
@@ -167,7 +167,7 @@ var m = n`@charset "UTF-8";:host{outline:none!important;display:inline-block;min
|
|
|
167
167
|
super(), this._value = (t(this, y), null), this._min = "0", this._max = "100", this.#e = t(this, T, ""), this.#t = (t(this, E), t(this, O, "")), this._rangeInput = t(this, k), this.addEventListener?.("keydown", (e) => this._handleKeydown(e));
|
|
168
168
|
}
|
|
169
169
|
willUpdate(e) {
|
|
170
|
-
super.willUpdate(e), e.has("readOnly") && (this.internals.ariaReadOnly = (!!this.readOnly).toString()), this.style?.setProperty("--
|
|
170
|
+
super.willUpdate(e), e.has("readOnly") && (this.internals.ariaReadOnly = (!!this.readOnly).toString()), this.style?.setProperty("--_sbb-slider-value-fraction", this._valueFraction().toString());
|
|
171
171
|
}
|
|
172
172
|
formResetCallback() {
|
|
173
173
|
this.value = this.getAttribute("value") ?? this._defaultValue();
|
package/slider.js
CHANGED
package/slider.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./slider.component-
|
|
1
|
+
import { t as e } from "./slider.component-D-yXlqJY.js";
|
|
2
2
|
export { e as SbbSliderElement };
|
package/standard-theme.css
CHANGED
|
@@ -1736,6 +1736,27 @@ slot[name=error]::slotted(*) {
|
|
|
1736
1736
|
--sbb-signet-panel-color: var(--sbb-color-brand);
|
|
1737
1737
|
--sbb-signet-icon-color: var(--sbb-color-white);
|
|
1738
1738
|
--sbb-signet-aspect-ratio: 2 / 1;
|
|
1739
|
+
--sbb-slider-line-height: 0.25rem;
|
|
1740
|
+
--sbb-slider-knob-size: 1.75rem;
|
|
1741
|
+
--sbb-slider-knob-size-active: 1.9375rem;
|
|
1742
|
+
--sbb-slider-knob-border-size: 0.1875rem;
|
|
1743
|
+
--sbb-slider-knob-border-style: solid;
|
|
1744
|
+
--sbb-slider-knob-color: var(--sbb-background-color-1);
|
|
1745
|
+
--sbb-slider-knob-border-color: var(--sbb-color-primary);
|
|
1746
|
+
--sbb-slider-icon-color: var(--sbb-color-1);
|
|
1747
|
+
--sbb-slider-selected-line-disabled-color: var(--sbb-color-smoke);
|
|
1748
|
+
--sbb-slider-selected-line-disabled-color: light-dark(
|
|
1749
|
+
var(--sbb-color-smoke),
|
|
1750
|
+
var(--sbb-color-cement)
|
|
1751
|
+
);
|
|
1752
|
+
--sbb-slider-line-color: var(--sbb-border-color-5);
|
|
1753
|
+
--sbb-slider-selected-line-color: var(--sbb-color-primary);
|
|
1754
|
+
--sbb-slider-line-disabled-color: var(--sbb-color-graphite);
|
|
1755
|
+
--sbb-slider-line-disabled-color: light-dark(var(--sbb-color-graphite), var(--sbb-color-granite));
|
|
1756
|
+
--sbb-slider-width: 25rem;
|
|
1757
|
+
--sbb-slider-min-width: 9.375rem;
|
|
1758
|
+
--sbb-slider-gap: var(--sbb-spacing-fixed-2x);
|
|
1759
|
+
--sbb-slider-padding-block: 0.125rem;
|
|
1739
1760
|
--sbb-status-color: var(--sbb-color-4);
|
|
1740
1761
|
--sbb-status-gap: var(--sbb-spacing-fixed-1x);
|
|
1741
1762
|
--sbb-status-font-size: var(--sbb-text-font-size-s);
|
|
@@ -1813,6 +1834,8 @@ slot[name=error]::slotted(*) {
|
|
|
1813
1834
|
--sbb-signet-background-color: ButtonText !important;
|
|
1814
1835
|
--sbb-signet-panel-color: ButtonText !important;
|
|
1815
1836
|
--sbb-signet-icon-color: Canvas !important;
|
|
1837
|
+
--sbb-slider-selected-line-color: Highlight;
|
|
1838
|
+
--sbb-slider-line-color: CanvasText;
|
|
1816
1839
|
}
|
|
1817
1840
|
}
|
|
1818
1841
|
:root {
|
|
@@ -3172,42 +3195,25 @@ sup {
|
|
|
3172
3195
|
caption-side: bottom;
|
|
3173
3196
|
color: var(--sbb-table-color);
|
|
3174
3197
|
table-layout: auto;
|
|
3198
|
+
text-align: left;
|
|
3175
3199
|
}
|
|
3176
|
-
.sbb-table
|
|
3177
|
-
.sbb-table-m
|
|
3178
|
-
.sbb-table-s
|
|
3179
|
-
.sbb-table-xs
|
|
3180
|
-
border-block-end: var(--sbb-table-border);
|
|
3181
|
-
}
|
|
3182
|
-
.sbb-table thead > tr:first-of-type > th,
|
|
3183
|
-
.sbb-table-m thead > tr:first-of-type > th,
|
|
3184
|
-
.sbb-table-s thead > tr:first-of-type > th,
|
|
3185
|
-
.sbb-table-xs thead > tr:first-of-type > th {
|
|
3186
|
-
border-block-start: var(--sbb-table-border);
|
|
3187
|
-
}
|
|
3188
|
-
.sbb-table thead > tr > th,
|
|
3189
|
-
.sbb-table-m thead > tr > th,
|
|
3190
|
-
.sbb-table-s thead > tr > th,
|
|
3191
|
-
.sbb-table-xs thead > tr > th {
|
|
3200
|
+
.sbb-table th,
|
|
3201
|
+
.sbb-table-m th,
|
|
3202
|
+
.sbb-table-s th,
|
|
3203
|
+
.sbb-table-xs th {
|
|
3192
3204
|
font-size: var(--sbb-table-header-cell-font-size);
|
|
3193
3205
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3194
3206
|
font-weight: bold;
|
|
3195
3207
|
background-color: var(--sbb-table-background-color);
|
|
3208
|
+
border-block-end: var(--sbb-table-border);
|
|
3196
3209
|
border-inline-end: var(--sbb-table-border);
|
|
3197
3210
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3198
3211
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3199
|
-
text-align: left;
|
|
3200
3212
|
}
|
|
3201
|
-
.sbb-table
|
|
3202
|
-
.sbb-table-m
|
|
3203
|
-
.sbb-table-s
|
|
3204
|
-
.sbb-table-xs
|
|
3205
|
-
border-inline-start: var(--sbb-table-border);
|
|
3206
|
-
}
|
|
3207
|
-
.sbb-table tbody > tr > td,
|
|
3208
|
-
.sbb-table-m tbody > tr > td,
|
|
3209
|
-
.sbb-table-s tbody > tr > td,
|
|
3210
|
-
.sbb-table-xs tbody > tr > td {
|
|
3213
|
+
.sbb-table td,
|
|
3214
|
+
.sbb-table-m td,
|
|
3215
|
+
.sbb-table-s td,
|
|
3216
|
+
.sbb-table-xs td {
|
|
3211
3217
|
font-size: var(--sbb-table-data-cell-font-size);
|
|
3212
3218
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3213
3219
|
background-color: var(--sbb-table-background-color);
|
|
@@ -3216,12 +3222,33 @@ sup {
|
|
|
3216
3222
|
padding-block: var(--sbb-table-cell-padding-block);
|
|
3217
3223
|
padding-inline: var(--sbb-table-cell-padding-inline);
|
|
3218
3224
|
}
|
|
3219
|
-
.sbb-table
|
|
3220
|
-
.sbb-table-m
|
|
3221
|
-
.sbb-table-s
|
|
3222
|
-
.sbb-table-xs
|
|
3225
|
+
.sbb-table :is(th, td).sbb-table-group-with-next,
|
|
3226
|
+
.sbb-table-m :is(th, td).sbb-table-group-with-next,
|
|
3227
|
+
.sbb-table-s :is(th, td).sbb-table-group-with-next,
|
|
3228
|
+
.sbb-table-xs :is(th, td).sbb-table-group-with-next {
|
|
3229
|
+
border-inline-end: none;
|
|
3230
|
+
}
|
|
3231
|
+
.sbb-table :is(th, td):first-child,
|
|
3232
|
+
.sbb-table-m :is(th, td):first-child,
|
|
3233
|
+
.sbb-table-s :is(th, td):first-child,
|
|
3234
|
+
.sbb-table-xs :is(th, td):first-child {
|
|
3223
3235
|
border-inline-start: var(--sbb-table-border);
|
|
3224
3236
|
}
|
|
3237
|
+
.sbb-table:has(thead tr) thead tr:first-of-type > :is(th, td), .sbb-table:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3238
|
+
.sbb-table-m:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3239
|
+
.sbb-table-m:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3240
|
+
.sbb-table-s:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3241
|
+
.sbb-table-s:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td),
|
|
3242
|
+
.sbb-table-xs:has(thead tr) thead tr:first-of-type > :is(th, td),
|
|
3243
|
+
.sbb-table-xs:not(:has(thead tr)) tbody tr:first-of-type > :is(th, td) {
|
|
3244
|
+
border-block-start: var(--sbb-table-border);
|
|
3245
|
+
}
|
|
3246
|
+
.sbb-table thead > tr:has(+ tr) > :is(th, td),
|
|
3247
|
+
.sbb-table-m thead > tr:has(+ tr) > :is(th, td),
|
|
3248
|
+
.sbb-table-s thead > tr:has(+ tr) > :is(th, td),
|
|
3249
|
+
.sbb-table-xs thead > tr:has(+ tr) > :is(th, td) {
|
|
3250
|
+
border-block-end: none;
|
|
3251
|
+
}
|
|
3225
3252
|
.sbb-table caption,
|
|
3226
3253
|
.sbb-table-m caption,
|
|
3227
3254
|
.sbb-table-s caption,
|
|
@@ -3234,12 +3261,6 @@ sup {
|
|
|
3234
3261
|
margin-block-start: var(--sbb-table-caption-margin-block-start, var(--sbb-spacing-fixed-4x));
|
|
3235
3262
|
text-align: left;
|
|
3236
3263
|
}
|
|
3237
|
-
.sbb-table:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3238
|
-
.sbb-table-m:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3239
|
-
.sbb-table-s:not(:has(thead tr)) tbody > tr:first-of-type > td,
|
|
3240
|
-
.sbb-table-xs:not(:has(thead tr)) tbody > tr:first-of-type > td {
|
|
3241
|
-
border-block-start: var(--sbb-table-border);
|
|
3242
|
-
}
|
|
3243
3264
|
|
|
3244
3265
|
.sbb-table-m {
|
|
3245
3266
|
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
@@ -3304,10 +3325,10 @@ sbb-table-wrapper[negative] .sbb-table,
|
|
|
3304
3325
|
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
3305
3326
|
font-weight: bold;
|
|
3306
3327
|
background-color: var(--sbb-table-background-color);
|
|
3328
|
+
border-block-end: var(--sbb-table-border);
|
|
3307
3329
|
border-inline-end: var(--sbb-table-border);
|
|
3308
3330
|
padding-block: var(--sbb-table-header-padding-block);
|
|
3309
3331
|
padding-inline: var(--sbb-table-header-padding-inline);
|
|
3310
|
-
text-align: left;
|
|
3311
3332
|
}
|
|
3312
3333
|
|
|
3313
3334
|
.sbb-table-row--striped {
|
|
@@ -3385,6 +3406,30 @@ html.sbb-lean .sbb-table:not(.sbb-table-xs, .sbb-table-m) {
|
|
|
3385
3406
|
--sbb-table-cell-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
3386
3407
|
}
|
|
3387
3408
|
|
|
3409
|
+
.sbb-table-align-start {
|
|
3410
|
+
text-align: start;
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.sbb-table-align-center {
|
|
3414
|
+
text-align: center;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.sbb-table-align-end {
|
|
3418
|
+
text-align: end;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
.sbb-table-align-justify {
|
|
3422
|
+
text-align: justify;
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
.sbb-table-align-left {
|
|
3426
|
+
text-align: left;
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
.sbb-table-align-right {
|
|
3430
|
+
text-align: right;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3388
3433
|
.sbb-timetable-form {
|
|
3389
3434
|
--sbb-timetable-form-content-max-width: 46.25rem;
|
|
3390
3435
|
position: relative;
|