@swisspost/design-system-styles 10.0.0-next.75 → 10.0.0
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/basics.css +1 -1
- package/cargo-compact.css +1 -1
- package/cargo-default.css +1 -1
- package/cargo-tokens-compact.css +1 -1
- package/cargo-tokens-default.css +1 -1
- package/components/badge.css +1 -1
- package/components/form-footer.css +1 -1
- package/components/header/_custom-properties.scss +13 -3
- package/components/header/_post-header.scss +16 -6
- package/components/header/_user-menu.scss +45 -0
- package/components/header/index.css +1 -1
- package/components/header/index.scss +1 -0
- package/components/radio-button.css +1 -1
- package/components/selection-card.css +1 -1
- package/components/tables.css +1 -1
- package/components/tables.scss +11 -11
- package/components/tabs/_tab-title.scss +381 -108
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.scss +0 -1
- package/components/text-highlight.css +1 -1
- package/components/toast.css +1 -1
- package/components/toast.scss +9 -10
- package/icons/temp/arrowtwodirections-solid.css +4 -0
- package/icons/temp/arrowtwodirections.css +4 -0
- package/icons/temp/average-solid.css +4 -0
- package/icons/temp/average.css +4 -0
- package/icons/temp/calendarsaturday-solid.css +4 -0
- package/icons/temp/calendarsaturday.css +4 -0
- package/icons/temp/calendarupdate-solid.css +4 -0
- package/icons/temp/calendarupdate.css +4 -0
- package/icons/temp/containerletter-solid.css +4 -0
- package/icons/temp/containerletter.css +4 -0
- package/icons/temp/deliverystand-solid.css +4 -0
- package/icons/temp/deliverystand.css +4 -0
- package/icons/temp/dispoboxtls-solid.css +4 -0
- package/icons/temp/dispoboxtls.css +4 -0
- package/icons/temp/fire-solid.css +4 -0
- package/icons/temp/fire.css +4 -0
- package/icons/temp/forwardingorder-solid.css +4 -0
- package/icons/temp/forwardingorder.css +4 -0
- package/icons/temp/locationreload-solid.css +4 -0
- package/icons/temp/locationreload.css +4 -0
- package/icons/temp/parceltls-solid.css +4 -0
- package/icons/temp/parceltls.css +4 -0
- package/icons/temp/postcardletter-solid.css +4 -0
- package/icons/temp/postcardletter.css +4 -0
- package/icons/temp/rollboxreducing-solid.css +4 -0
- package/icons/temp/rollboxreducing.css +4 -0
- package/icons/temp/stock-solid.css +4 -0
- package/icons/temp/stock.css +4 -0
- package/icons/temp/stockalert-solid.css +4 -0
- package/icons/temp/stockalert.css +4 -0
- package/icons/temp/strong-solid.css +4 -0
- package/icons/temp/strong.css +4 -0
- package/icons/temp/webcam-solid.css +4 -0
- package/icons/temp/webcam.css +4 -0
- package/layout/_containers.scss +4 -4
- package/layout/index.css +1 -1
- package/package.json +4 -4
- package/post-compact.css +1 -1
- package/post-default.css +1 -1
- package/post-tokens-compact.css +1 -1
- package/post-tokens-default.css +1 -1
- package/tokens/temp/_appearance.scss +1 -1
- package/tokens/temp/_components.scss +6 -6
- package/tokens/temp/_core.scss +1 -1
- package/tokens/temp/_device.scss +4 -4
- package/tokens/temp/_elements.scss +1 -1
- package/tokens/temp/_helpers.scss +1 -1
- package/tokens/temp/_index.scss +1 -1
- package/tokens/temp/_palette.scss +1 -1
- package/tokens/temp/_scheme.scss +1 -1
- package/tokens/temp/_schemestatic.scss +1 -1
- package/tokens/temp/_theme.scss +1 -1
- package/tokens/temp/_utilities-formatted.scss +1 -1
- package/tokens/temp/_utilities.scss +1 -1
- package/utilities/_env-variables.scss +1 -1
- package/components/tabs/_tabs-wrapper.scss +0 -61
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit manually
|
|
3
3
|
// This file was generated by the swisspost/design-system-tokens package
|
|
4
|
-
//
|
|
4
|
+
// Tue, 30 Jun 2026 11:49:09 GMT
|
|
5
5
|
|
|
6
6
|
$post-accordion: (
|
|
7
7
|
post-accordion-header-padding-block-closed: var(--post-device-spacing-padding-19),
|
|
@@ -67,7 +67,7 @@ $post-badge: (
|
|
|
67
67
|
post-badge-fg: var(--post-scheme-color-badge-fg),
|
|
68
68
|
post-badge-stroke: var(--post-scheme-color-badge-stroke),
|
|
69
69
|
post-badge-large-height: var(--post-device-sizing-notification-1),
|
|
70
|
-
post-badge-large-padding-inline: var(--post-device-spacing-padding-
|
|
70
|
+
post-badge-large-padding-inline: var(--post-device-spacing-padding-inline-12),
|
|
71
71
|
post-badge-large-border-width: var(--post-device-border-width-default),
|
|
72
72
|
post-badge-small-height: var(--post-device-sizing-notification-2),
|
|
73
73
|
post-badge-small-padding-inline: var(--post-device-spacing-padding-32),
|
|
@@ -537,9 +537,9 @@ $post-floating-button: (
|
|
|
537
537
|
$post-form-footer: (
|
|
538
538
|
post-form-footer-border-block-start-width: var(--post-device-border-width-default),
|
|
539
539
|
post-form-footer-border-block-start-style: var(--post-core-border-style-solid),
|
|
540
|
-
post-form-footer-border-start-color: var(--post-scheme-color-
|
|
540
|
+
post-form-footer-border-start-color: var(--post-scheme-color-divider-border),
|
|
541
541
|
post-form-footer-padding-block-start: var(--post-device-spacing-padding-block-21),
|
|
542
|
-
post-form-footer-gap: var(--post-device-spacing-gap-
|
|
542
|
+
post-form-footer-gap: var(--post-device-spacing-gap-1),
|
|
543
543
|
);
|
|
544
544
|
|
|
545
545
|
$post-grid: (
|
|
@@ -831,7 +831,7 @@ $post-radio-button: (
|
|
|
831
831
|
post-radio-button-icon-border-radius-round: var(--post-device-border-radius-round),
|
|
832
832
|
post-radio-button-icon-border-style-disabled: var(--post-core-border-style-dash),
|
|
833
833
|
post-radio-button-icon-border-style-default: var(--post-core-border-style-solid),
|
|
834
|
-
post-radio-button-icon-dot: var(--post-device-sizing-icon-
|
|
834
|
+
post-radio-button-icon-dot: var(--post-device-sizing-icon-4),
|
|
835
835
|
post-radio-button-icon-ring: var(--post-device-sizing-interactive-icon-size),
|
|
836
836
|
post-radio-button-padding-block-single: var(--post-device-spacing-padding-block-19),
|
|
837
837
|
post-radio-button-padding-block-group: var(--post-device-spacing-padding-block-8),
|
|
@@ -1251,7 +1251,7 @@ $post-text-area: (
|
|
|
1251
1251
|
|
|
1252
1252
|
$post-text-highlighted: (
|
|
1253
1253
|
post-text-highlighted-bg: var(--post-scheme-color-signal-information-light),
|
|
1254
|
-
post-text-highlighted-fg: var(--post-scheme-color-interactive-primary-enabled-
|
|
1254
|
+
post-text-highlighted-fg: var(--post-scheme-color-interactive-primary-enabled-fg5),
|
|
1255
1255
|
post-text-highlighted-padding-text: var(--post-device-spacing-padding-5),
|
|
1256
1256
|
post-text-highlighted-height-space-bottom: var(--post-core-dimension-24),
|
|
1257
1257
|
post-text-highlighted-border-radius: var(--post-device-border-radius-1),
|
package/tokens/temp/_core.scss
CHANGED
package/tokens/temp/_device.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit manually
|
|
3
3
|
// This file was generated by the swisspost/design-system-tokens package
|
|
4
|
-
//
|
|
4
|
+
// Tue, 30 Jun 2026 11:49:09 GMT
|
|
5
5
|
|
|
6
6
|
$post-desktop: (
|
|
7
7
|
post-device-font-size-1: var(--post-core-font-size-40),
|
|
@@ -95,7 +95,6 @@ $post-desktop: (
|
|
|
95
95
|
post-device-spacing-padding-41: var(--post-core-dimension-4),
|
|
96
96
|
post-device-spacing-padding-42: var(--post-core-dimension-11),
|
|
97
97
|
post-device-spacing-padding-43: var(--post-core-dimension-13),
|
|
98
|
-
post-device-spacing-padding-44: var(--post-core-dimension-7-5),
|
|
99
98
|
post-device-spacing-padding-inline-1: var(--post-core-dimension-14),
|
|
100
99
|
post-device-spacing-padding-inline-3: var(--post-core-dimension-16),
|
|
101
100
|
post-device-spacing-padding-inline-4: var(--post-core-dimension-12),
|
|
@@ -195,6 +194,7 @@ $post-desktop: (
|
|
|
195
194
|
post-device-sizing-icon-1: var(--post-core-dimension-24),
|
|
196
195
|
post-device-sizing-icon-2: var(--post-core-dimension-30),
|
|
197
196
|
post-device-sizing-icon-3: var(--post-core-dimension-16),
|
|
197
|
+
post-device-sizing-icon-4: var(--post-core-dimension-12),
|
|
198
198
|
post-device-sizing-icon-8: var(--post-core-dimension-8),
|
|
199
199
|
post-device-sizing-logo-1: var(--post-core-dimension-72),
|
|
200
200
|
post-device-sizing-content-height-1: var(--post-core-dimension-164),
|
|
@@ -325,7 +325,6 @@ $post-tablet: (
|
|
|
325
325
|
post-device-spacing-padding-41: var(--post-core-dimension-4),
|
|
326
326
|
post-device-spacing-padding-42: var(--post-core-dimension-11),
|
|
327
327
|
post-device-spacing-padding-43: var(--post-core-dimension-13),
|
|
328
|
-
post-device-spacing-padding-44: var(--post-core-dimension-7-5),
|
|
329
328
|
post-device-spacing-padding-inline-1: var(--post-core-dimension-14),
|
|
330
329
|
post-device-spacing-padding-inline-3: var(--post-core-dimension-12),
|
|
331
330
|
post-device-spacing-padding-inline-4: var(--post-core-dimension-12),
|
|
@@ -425,6 +424,7 @@ $post-tablet: (
|
|
|
425
424
|
post-device-sizing-icon-1: var(--post-core-dimension-16),
|
|
426
425
|
post-device-sizing-icon-2: var(--post-core-dimension-24),
|
|
427
426
|
post-device-sizing-icon-3: var(--post-core-dimension-14),
|
|
427
|
+
post-device-sizing-icon-4: var(--post-core-dimension-11),
|
|
428
428
|
post-device-sizing-icon-8: var(--post-core-dimension-8),
|
|
429
429
|
post-device-sizing-logo-1: var(--post-core-dimension-64),
|
|
430
430
|
post-device-sizing-content-height-1: var(--post-core-dimension-180),
|
|
@@ -555,7 +555,6 @@ $post-mobile: (
|
|
|
555
555
|
post-device-spacing-padding-41: var(--post-core-dimension-2-5),
|
|
556
556
|
post-device-spacing-padding-42: var(--post-core-dimension-11),
|
|
557
557
|
post-device-spacing-padding-43: var(--post-core-dimension-13),
|
|
558
|
-
post-device-spacing-padding-44: var(--post-core-dimension-7-5),
|
|
559
558
|
post-device-spacing-padding-inline-1: var(--post-core-dimension-14),
|
|
560
559
|
post-device-spacing-padding-inline-3: var(--post-core-dimension-12),
|
|
561
560
|
post-device-spacing-padding-inline-4: var(--post-core-dimension-12),
|
|
@@ -655,6 +654,7 @@ $post-mobile: (
|
|
|
655
654
|
post-device-sizing-icon-1: var(--post-core-dimension-12),
|
|
656
655
|
post-device-sizing-icon-2: var(--post-core-dimension-24),
|
|
657
656
|
post-device-sizing-icon-3: var(--post-core-dimension-12),
|
|
657
|
+
post-device-sizing-icon-4: var(--post-core-dimension-10),
|
|
658
658
|
post-device-sizing-icon-8: var(--post-core-dimension-8),
|
|
659
659
|
post-device-sizing-logo-1: var(--post-core-dimension-56),
|
|
660
660
|
post-device-sizing-content-height-1: var(--post-core-dimension-180),
|
package/tokens/temp/_index.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit manually
|
|
3
3
|
// This file was generated by the swisspost/design-system-tokens package
|
|
4
|
-
//
|
|
4
|
+
// Tue, 30 Jun 2026 11:49:09 GMT
|
|
5
5
|
|
|
6
6
|
$post-default: (
|
|
7
7
|
post-palette-color-scheme: var(--post-theme-color-palettes-default-scheme),
|
package/tokens/temp/_scheme.scss
CHANGED
package/tokens/temp/_theme.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
$post-icon-version: '10.0.0
|
|
1
|
+
$post-icon-version: '10.0.0';
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
@use './../../mixins/utilities' as utilities-mx;
|
|
2
|
-
@use './../../variables/color';
|
|
3
|
-
@use './../../variables/spacing';
|
|
4
|
-
@use './../../variables/components/nav';
|
|
5
|
-
|
|
6
|
-
.tabs-wrapper {
|
|
7
|
-
position: relative;
|
|
8
|
-
padding-top: spacing.$spacer;
|
|
9
|
-
border: 0;
|
|
10
|
-
background-color: rgba(
|
|
11
|
-
color.$black,
|
|
12
|
-
0.02
|
|
13
|
-
); // 0.02 gets as close as possible to color.$light on white background
|
|
14
|
-
|
|
15
|
-
// Create a line that lies below the active but above the passive elements
|
|
16
|
-
// This way hover works smoothly with the background color
|
|
17
|
-
&::after {
|
|
18
|
-
content: '';
|
|
19
|
-
position: absolute;
|
|
20
|
-
bottom: 0;
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 1px;
|
|
23
|
-
background-color: nav.$nav-tabs-border-color;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Small hack to save a lot of code and provide a lot of flexibility to tabs coloring
|
|
27
|
-
.tabs {
|
|
28
|
-
background-color: transparent !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@include utilities-mx.high-contrast-mode() {
|
|
32
|
-
&::after {
|
|
33
|
-
background-color: ButtonBorder;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.tabs {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-wrap: nowrap;
|
|
41
|
-
overflow-x: auto;
|
|
42
|
-
|
|
43
|
-
/* prevent scroll chaining on x scroll */
|
|
44
|
-
overscroll-behavior-x: contain;
|
|
45
|
-
white-space: nowrap;
|
|
46
|
-
|
|
47
|
-
@include utilities-mx.reset-list;
|
|
48
|
-
|
|
49
|
-
// Scrolling fix to make the tabs scroll a little more so the right most tab is not
|
|
50
|
-
// flush with the window border
|
|
51
|
-
&::after {
|
|
52
|
-
content: '';
|
|
53
|
-
display: block;
|
|
54
|
-
flex: 1 0 auto;
|
|
55
|
-
width: nav.$nav-link-padding-x;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.tab-content {
|
|
60
|
-
padding-top: spacing.$spacer;
|
|
61
|
-
}
|