@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.
Files changed (78) hide show
  1. package/basics.css +1 -1
  2. package/cargo-compact.css +1 -1
  3. package/cargo-default.css +1 -1
  4. package/cargo-tokens-compact.css +1 -1
  5. package/cargo-tokens-default.css +1 -1
  6. package/components/badge.css +1 -1
  7. package/components/form-footer.css +1 -1
  8. package/components/header/_custom-properties.scss +13 -3
  9. package/components/header/_post-header.scss +16 -6
  10. package/components/header/_user-menu.scss +45 -0
  11. package/components/header/index.css +1 -1
  12. package/components/header/index.scss +1 -0
  13. package/components/radio-button.css +1 -1
  14. package/components/selection-card.css +1 -1
  15. package/components/tables.css +1 -1
  16. package/components/tables.scss +11 -11
  17. package/components/tabs/_tab-title.scss +381 -108
  18. package/components/tabs/index.css +1 -1
  19. package/components/tabs/index.scss +0 -1
  20. package/components/text-highlight.css +1 -1
  21. package/components/toast.css +1 -1
  22. package/components/toast.scss +9 -10
  23. package/icons/temp/arrowtwodirections-solid.css +4 -0
  24. package/icons/temp/arrowtwodirections.css +4 -0
  25. package/icons/temp/average-solid.css +4 -0
  26. package/icons/temp/average.css +4 -0
  27. package/icons/temp/calendarsaturday-solid.css +4 -0
  28. package/icons/temp/calendarsaturday.css +4 -0
  29. package/icons/temp/calendarupdate-solid.css +4 -0
  30. package/icons/temp/calendarupdate.css +4 -0
  31. package/icons/temp/containerletter-solid.css +4 -0
  32. package/icons/temp/containerletter.css +4 -0
  33. package/icons/temp/deliverystand-solid.css +4 -0
  34. package/icons/temp/deliverystand.css +4 -0
  35. package/icons/temp/dispoboxtls-solid.css +4 -0
  36. package/icons/temp/dispoboxtls.css +4 -0
  37. package/icons/temp/fire-solid.css +4 -0
  38. package/icons/temp/fire.css +4 -0
  39. package/icons/temp/forwardingorder-solid.css +4 -0
  40. package/icons/temp/forwardingorder.css +4 -0
  41. package/icons/temp/locationreload-solid.css +4 -0
  42. package/icons/temp/locationreload.css +4 -0
  43. package/icons/temp/parceltls-solid.css +4 -0
  44. package/icons/temp/parceltls.css +4 -0
  45. package/icons/temp/postcardletter-solid.css +4 -0
  46. package/icons/temp/postcardletter.css +4 -0
  47. package/icons/temp/rollboxreducing-solid.css +4 -0
  48. package/icons/temp/rollboxreducing.css +4 -0
  49. package/icons/temp/stock-solid.css +4 -0
  50. package/icons/temp/stock.css +4 -0
  51. package/icons/temp/stockalert-solid.css +4 -0
  52. package/icons/temp/stockalert.css +4 -0
  53. package/icons/temp/strong-solid.css +4 -0
  54. package/icons/temp/strong.css +4 -0
  55. package/icons/temp/webcam-solid.css +4 -0
  56. package/icons/temp/webcam.css +4 -0
  57. package/layout/_containers.scss +4 -4
  58. package/layout/index.css +1 -1
  59. package/package.json +4 -4
  60. package/post-compact.css +1 -1
  61. package/post-default.css +1 -1
  62. package/post-tokens-compact.css +1 -1
  63. package/post-tokens-default.css +1 -1
  64. package/tokens/temp/_appearance.scss +1 -1
  65. package/tokens/temp/_components.scss +6 -6
  66. package/tokens/temp/_core.scss +1 -1
  67. package/tokens/temp/_device.scss +4 -4
  68. package/tokens/temp/_elements.scss +1 -1
  69. package/tokens/temp/_helpers.scss +1 -1
  70. package/tokens/temp/_index.scss +1 -1
  71. package/tokens/temp/_palette.scss +1 -1
  72. package/tokens/temp/_scheme.scss +1 -1
  73. package/tokens/temp/_schemestatic.scss +1 -1
  74. package/tokens/temp/_theme.scss +1 -1
  75. package/tokens/temp/_utilities-formatted.scss +1 -1
  76. package/tokens/temp/_utilities.scss +1 -1
  77. package/utilities/_env-variables.scss +1 -1
  78. 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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-default: (
7
7
  keep: undefined,
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
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-44),
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-surface-default-stroke),
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-4),
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-3),
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-fg1),
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),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  :root {
7
7
  --post-core-color-brand-postyellow: #ffcc00;
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
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),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-body: (
7
7
  post-body-color-bg: var(--post-theme-color-body-bg),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-focus: (
7
7
  post-focus-outline-offset: var(--post-device-spacing-padding-2),
@@ -1,6 +1,6 @@
1
1
  // Do not edit manually
2
2
  // This file was generated by the swisspost/design-system-tokens package
3
- // Wed, 24 Jun 2026 14:40:13 GMT
3
+ // Tue, 30 Jun 2026 11:49:09 GMT
4
4
 
5
5
  @use './core';
6
6
  @forward './schemestatic';
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
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),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-light: (
7
7
  post-scheme-color-body-bg: var(--post-core-color-sandgrey-002),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-light: (
7
7
  post-scheme-even: var(--post-core-bg-scheme-light),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-post: (
7
7
  post-theme-color-body-bg: var(--post-scheme-color-body-bg),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $margin: (
7
7
  0: var(--post-core-dimension-0),
@@ -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
- // Wed, 24 Jun 2026 14:40:13 GMT
4
+ // Tue, 30 Jun 2026 11:49:09 GMT
5
5
 
6
6
  $post-spacing: (
7
7
  post-utility-margin-0: var(--post-core-dimension-0),
@@ -1 +1 @@
1
- $post-icon-version: '10.0.0-next.75';
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
- }