@drivenets/design-system 0.10.0 → 0.11.1

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 (103) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/index.cjs +117 -122
  3. package/dist/index.d.cts +10 -2
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.ts +10 -2
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +119 -125
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.css +1 -1
  10. package/package.json +3 -3
  11. package/src/components/ds-alert-banner/ds-alert-banner.module.scss +25 -25
  12. package/src/components/ds-autocomplete/ds-autocomplete.module.scss +29 -29
  13. package/src/components/ds-avatar/_mixins.scss +7 -7
  14. package/src/components/ds-avatar/ds-avatar.module.scss +2 -2
  15. package/src/components/ds-avatar-group/ds-avatar-group.module.scss +6 -6
  16. package/src/components/ds-breadcrumb/ds-breadcrumb.module.scss +14 -14
  17. package/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss +17 -17
  18. package/src/components/ds-button/versions/ds-button-new/ds-button-new.module.scss +135 -135
  19. package/src/components/ds-button-v3/ds-button-v3.module.scss +8 -8
  20. package/src/components/ds-card/ds-card.module.scss +12 -12
  21. package/src/components/ds-chip/ds-chip.module.scss +17 -17
  22. package/src/components/ds-chip-group/ds-chip-group.module.scss +12 -12
  23. package/src/components/ds-comment-bubble/components/ds-comment-thread/ds-comment-thread.module.scss +3 -3
  24. package/src/components/ds-comment-bubble/components/ds-thread-item/ds-thread-item.module.scss +18 -18
  25. package/src/components/ds-comment-bubble/ds-comment-bubble.module.scss +43 -43
  26. package/src/components/ds-comment-card/ds-comment-card.module.scss +34 -34
  27. package/src/components/ds-comment-indicator/ds-comment-indicator.module.scss +9 -9
  28. package/src/components/ds-comments-drawer/components/comments-filter-modal/comments-filter-modal.module.scss +10 -10
  29. package/src/components/ds-comments-drawer/ds-comments-drawer.module.scss +11 -11
  30. package/src/components/ds-date-input/ds-date-input.module.scss +42 -42
  31. package/src/components/ds-date-picker/components/calendar-table.module.scss +17 -17
  32. package/src/components/ds-date-picker/components/calendar-view-control/calendar-view-control.module.scss +8 -8
  33. package/src/components/ds-date-picker/components/day-view/day-view.module.scss +1 -1
  34. package/src/components/ds-date-picker/ds-date-picker.module.scss +1 -1
  35. package/src/components/ds-date-range-picker/ds-date-range-picker.module.scss +1 -1
  36. package/src/components/ds-dialog/ds-dialog.module.scss +3 -3
  37. package/src/components/ds-divider/ds-divider.module.scss +1 -1
  38. package/src/components/ds-drawer/ds-drawer.module.scss +12 -12
  39. package/src/components/ds-dropdown-menu/ds-dropdown-menu.module.scss +22 -14
  40. package/src/components/ds-dropdown-menu/ds-dropdown-menu.tsx +2 -0
  41. package/src/components/ds-dropdown-menu/ds-dropdown-menu.types.ts +9 -0
  42. package/src/components/ds-expandable-text-input/ds-expandable-text-input.module.scss +1 -1
  43. package/src/components/ds-file-upload/components/file-upload/file-upload.module.scss +22 -22
  44. package/src/components/ds-file-upload/components/file-upload-item/file-upload-item.module.scss +23 -23
  45. package/src/components/ds-filter-status-icon/ds-filter-status-icon.module.scss +5 -5
  46. package/src/components/ds-form-control/ds-form-control.module.scss +13 -13
  47. package/src/components/ds-icon/ds-icon.module.scss +8 -0
  48. package/src/components/ds-key-value-pair/ds-key-value-pair.module.scss +7 -7
  49. package/src/components/ds-modal/ds-modal.module.scss +9 -9
  50. package/src/components/ds-panel/ds-panel.module.scss +16 -16
  51. package/src/components/ds-popover/ds-popover.module.scss +2 -2
  52. package/src/components/ds-progress-arc/ds-progress-arc.module.scss +7 -7
  53. package/src/components/ds-progress-donut/ds-progress-donut.module.scss +7 -7
  54. package/src/components/ds-progress-linear/ds-progress-linear.module.scss +15 -15
  55. package/src/components/ds-segment-group/ds-segment-group.module.scss +18 -18
  56. package/src/components/ds-select/ds-select.module.scss +8 -8
  57. package/src/components/ds-skeleton/ds-skeleton.module.scss +1 -1
  58. package/src/components/ds-smart-tabs/ds-smart-tabs.module.scss +12 -12
  59. package/src/components/ds-smart-tabs/ds-smart-tabs.tsx +9 -9
  60. package/src/components/ds-spinner/ds-spinner.module.scss +1 -1
  61. package/src/components/ds-status-badge/ds-status-badge.module.scss +21 -25
  62. package/src/components/ds-stepper/ds-stepper.module.scss +55 -55
  63. package/src/components/ds-system-status/ds-system-status.module.scss +22 -22
  64. package/src/components/ds-table/components/ds-table-bulk-actions/ds-table-bulk-actions.module.scss +9 -9
  65. package/src/components/ds-table/components/ds-table-cell/ds-table-cell.module.scss +4 -4
  66. package/src/components/ds-table/components/ds-table-header/ds-table-header.module.scss +5 -10
  67. package/src/components/ds-table/components/ds-table-header/ds-table-header.tsx +6 -9
  68. package/src/components/ds-table/components/ds-table-row/ds-table-row.module.scss +13 -22
  69. package/src/components/ds-table/components/ds-table-row/ds-table-row.tsx +11 -18
  70. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.module.scss +0 -7
  71. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.tsx +19 -28
  72. package/src/components/ds-table/components/ds-table-row-expandable-cell/ds-table-row-expandable-cell.types.ts +0 -4
  73. package/src/components/ds-table/components/ds-table-row-selectable-cell/ds-table-row-selectable-cell.tsx +3 -8
  74. package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.module.scss +15 -11
  75. package/src/components/ds-table/components/ds-table-row-virtualized/ds-table-row-virtualized.tsx +9 -4
  76. package/src/components/ds-table/ds-table.module.scss +9 -2
  77. package/src/components/ds-table/ds-table.tsx +26 -4
  78. package/src/components/ds-table/filters/components/range-filter/range-filter.module.scss +1 -1
  79. package/src/components/ds-table/styles/_mixins.scss +1 -1
  80. package/src/components/ds-table/styles/_variables.scss +5 -6
  81. package/src/components/ds-table/utils/constants.ts +10 -0
  82. package/src/components/ds-tabs/components/ds-tabs-content/ds-tabs-content.module.scss +1 -1
  83. package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-indicator.module.scss +1 -1
  84. package/src/components/ds-tabs/components/ds-tabs-list/ds-tabs-list.module.scss +3 -3
  85. package/src/components/ds-tabs/components/ds-tabs-tab/ds-tabs-tab.module.scss +55 -55
  86. package/src/components/ds-tabs/ds-tabs.module.scss +1 -1
  87. package/src/components/ds-tag/ds-tag.module.scss +22 -22
  88. package/src/components/ds-tag-filter/ds-tag-filter.module.scss +10 -10
  89. package/src/components/ds-text-input/ds-text-input.module.scss +1 -1
  90. package/src/components/ds-time-picker/components/time-item/time-item.module.scss +8 -8
  91. package/src/components/ds-time-picker/components/time-scroller/time-scroller.module.scss +3 -3
  92. package/src/components/ds-toast/ds-toast.module.scss +11 -11
  93. package/src/components/ds-toggle/ds-toggle.module.scss +18 -18
  94. package/src/components/ds-tooltip/ds-tooltip.module.scss +5 -5
  95. package/src/components/ds-tree/ds-tree.module.scss +27 -27
  96. package/src/components/ds-vertical-tabs/ds-vertical-tabs.module.scss +13 -13
  97. package/src/styles/_root.scss +0 -18
  98. package/src/styles/_root_new.scss +1 -1
  99. package/src/styles/_scrollbars.scss +5 -5
  100. package/src/styles/_typography.scss +18 -14
  101. package/src/styles/mixins/_list.scss +8 -8
  102. package/src/styles/shared/_dropdown.scss +9 -9
  103. package/src/styles/shared/_input.scss +47 -47
@@ -10,75 +10,75 @@ $disabled-opacity: 0.5;
10
10
  @include typography.body-sm-reg;
11
11
  display: inline-flex;
12
12
  align-items: center;
13
- background: var(--color-background);
14
- border-radius: var(--exo-spacing-2x-small);
13
+ background: var(--background);
14
+ border-radius: var(--3xs);
15
15
  cursor: pointer;
16
16
  transition:
17
17
  background-color $transition-duration,
18
18
  color $transition-duration,
19
19
  border-color $transition-duration;
20
20
  position: relative;
21
- color: var(--color-font-main);
21
+ color: var(--font-main);
22
22
  border: $tab-border-width solid transparent;
23
23
  white-space: nowrap;
24
24
 
25
25
  &:hover:not(:disabled):not([aria-selected='true']) {
26
- background: var(--color-background-secondary);
26
+ background: var(--background-secondary);
27
27
 
28
28
  .badge {
29
- background: var(--color-background-tertiary);
29
+ background: var(--background-tertiary);
30
30
  }
31
31
  }
32
32
 
33
33
  &:active:not(:disabled):not([aria-selected='true']) {
34
- background: var(--color-background-tertiary);
34
+ background: var(--background-tertiary);
35
35
 
36
36
  .badge {
37
- background: var(--color-background-secondary);
37
+ background: var(--background-secondary);
38
38
  }
39
39
  }
40
40
 
41
41
  &:focus-visible:not(:disabled):not([aria-selected='true']) {
42
42
  border-color: var(--color-border-action-hover);
43
- background: var(--color-background-secondary);
43
+ background: var(--background-secondary);
44
44
  outline: none;
45
45
 
46
46
  .badge {
47
- background: var(--color-background-tertiary);
47
+ background: var(--background-tertiary);
48
48
  }
49
49
  }
50
50
 
51
51
  &:disabled {
52
52
  cursor: not-allowed;
53
53
  opacity: $disabled-opacity;
54
- color: var(--color-font-disabled);
54
+ color: var(--font-disabled);
55
55
  }
56
56
 
57
57
  &[aria-selected='true'] {
58
58
  @include typography.body-sm-md;
59
- color: var(--color-background-selected);
60
- background: var(--color-background);
59
+ color: var(--background-primary);
60
+ background: var(--background);
61
61
 
62
62
  .icon {
63
- color: var(--color-background-selected);
63
+ color: var(--background-primary);
64
64
  }
65
65
 
66
66
  .badge {
67
- background: var(--color-background-action-secondary-hover);
68
- color: var(--color-background-selected);
67
+ background: var(--background-action-secondary-hover);
68
+ color: var(--background-primary);
69
69
  }
70
70
 
71
71
  &:hover:not(:disabled) {
72
- background: var(--color-background-selected-weak);
72
+ background: var(--background-secondary-hover);
73
73
  }
74
74
 
75
75
  &:active:not(:disabled) {
76
- background: var(--color-background-selected-weak);
76
+ background: var(--background-secondary-hover);
77
77
  }
78
78
 
79
79
  &:focus-visible:not(:disabled) {
80
- border-color: var(--color-background-selected);
81
- background: var(--color-background-selected-weak);
80
+ border-color: var(--background-primary);
81
+ background: var(--background-secondary-hover);
82
82
  outline: none;
83
83
  }
84
84
  }
@@ -87,37 +87,37 @@ $disabled-opacity: 0.5;
87
87
  [data-orientation='horizontal'] & {
88
88
  flex-direction: row;
89
89
  justify-content: center;
90
- gap: var(--spacing-3xs);
90
+ gap: var(--3xs);
91
91
  flex: 0 0 auto;
92
92
  width: auto;
93
93
  }
94
94
 
95
95
  [data-orientation='horizontal'][data-size='medium'] & {
96
- padding: var(--spacing-xs) var(--spacing-sm);
96
+ padding: var(--xs) var(--sm);
97
97
  }
98
98
 
99
99
  [data-orientation='horizontal'][data-size='small'] & {
100
- padding: var(--spacing-2xs) var(--spacing-sm);
100
+ padding: var(--2xs) var(--sm);
101
101
  }
102
102
 
103
103
  // Vertical orientation + size variants
104
104
  [data-orientation='vertical'] & {
105
105
  flex-direction: row;
106
106
  justify-content: flex-start;
107
- gap: var(--spacing-3xs);
107
+ gap: var(--3xs);
108
108
  width: 100%;
109
109
  }
110
110
 
111
111
  [data-orientation='vertical'][data-size='medium'] & {
112
- padding: var(--spacing-sm) var(--spacing-standard);
113
- padding-left: var(--spacing-xs);
114
- border-radius: var(--exo-spacing-2x-small) 0 0 var(--exo-spacing-2x-small);
112
+ padding: var(--sm) var(--standard);
113
+ padding-left: var(--xs);
114
+ border-radius: var(--3xs) 0 0 var(--3xs);
115
115
  }
116
116
 
117
117
  [data-orientation='vertical'][data-size='small'] & {
118
- padding: var(--spacing-xs) var(--spacing-standard);
119
- padding-left: var(--spacing-xs);
120
- border-radius: var(--exo-spacing-2x-small) 0 0 var(--exo-spacing-2x-small);
118
+ padding: var(--xs) var(--standard);
119
+ padding-left: var(--xs);
120
+ border-radius: var(--3xs) 0 0 var(--3xs);
121
121
  }
122
122
  }
123
123
 
@@ -125,7 +125,7 @@ $disabled-opacity: 0.5;
125
125
  display: flex;
126
126
  align-items: center;
127
127
  justify-content: center;
128
- color: var(--color-font-secondary);
128
+ color: var(--font-secondary);
129
129
  flex-shrink: 0;
130
130
  }
131
131
 
@@ -148,32 +148,32 @@ $disabled-opacity: 0.5;
148
148
  align-items: center;
149
149
  justify-content: center;
150
150
  flex-shrink: 0;
151
- color: var(--color-font-main) !important;
151
+ color: var(--font-main) !important;
152
152
  cursor: pointer;
153
- border-radius: var(--exo-spacing-2x-small);
153
+ border-radius: var(--3xs);
154
154
  transition:
155
155
  background-color $transition-duration,
156
156
  color $transition-duration;
157
157
 
158
158
  &:hover {
159
- background: var(--color-background-action-secondary);
160
- color: var(--color-font-main);
159
+ background: var(--background-action-secondary);
160
+ color: var(--font-main);
161
161
  }
162
162
 
163
163
  &:active {
164
- background: var(--color-background-tertiary);
164
+ background: var(--background-tertiary);
165
165
  }
166
166
 
167
167
  &:focus-visible {
168
- outline: var(--spacing-4xs) solid var(--color-border-action-hover);
169
- outline-offset: var(--spacing-4xs);
168
+ outline: var(--4xs) solid var(--color-border-action-hover);
169
+ outline-offset: var(--4xs);
170
170
  }
171
171
 
172
172
  [aria-selected='true'] & {
173
- color: var(--color-background-selected);
173
+ color: var(--background-primary);
174
174
 
175
175
  &:hover {
176
- background: var(--color-background);
176
+ background: var(--background);
177
177
  }
178
178
  }
179
179
 
@@ -190,20 +190,20 @@ $disabled-opacity: 0.5;
190
190
  align-items: center;
191
191
  justify-content: center;
192
192
  height: $badge-height;
193
- padding: 0 var(--spacing-2xs);
194
- border-radius: var(--spacing-lg);
195
- background: var(--color-background-secondary);
196
- color: var(--color-font-main);
197
- line-height: var(--line-height-xs);
193
+ padding: 0 var(--2xs);
194
+ border-radius: var(--lg);
195
+ background: var(--background-secondary);
196
+ color: var(--font-main);
197
+ line-height: var(--body-line-height-xs);
198
198
  flex-shrink: 0;
199
199
  }
200
200
 
201
201
  .menuContent {
202
- background: var(--color-background);
203
- border: $tab-border-width solid var(--color-border-secondary);
204
- border-radius: var(--exo-spacing-2x-small);
202
+ background: var(--background);
203
+ border: $tab-border-width solid var(--border-secondary);
204
+ border-radius: var(--3xs);
205
205
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
206
- padding: var(--spacing-3xs);
206
+ padding: var(--3xs);
207
207
  width: $menu-content-width;
208
208
  }
209
209
 
@@ -211,21 +211,21 @@ $disabled-opacity: 0.5;
211
211
  @include typography.body-sm-reg;
212
212
  display: flex;
213
213
  align-items: center;
214
- padding: var(--spacing-3xs);
215
- border-radius: var(--exo-spacing-2x-small);
214
+ padding: var(--3xs);
215
+ border-radius: var(--3xs);
216
216
  cursor: pointer;
217
- color: var(--color-font-main);
218
- background: var(--color-background);
217
+ color: var(--font-main);
218
+ background: var(--background);
219
219
  transition: background-color $transition-duration;
220
220
  user-select: none;
221
221
  white-space: nowrap;
222
222
 
223
223
  &:hover {
224
- background: var(--color-background-secondary);
224
+ background: var(--background-secondary);
225
225
  }
226
226
 
227
227
  &:active {
228
- background: var(--color-background-tertiary);
228
+ background: var(--background-tertiary);
229
229
  }
230
230
 
231
231
  &[data-disabled] {
@@ -238,5 +238,5 @@ $disabled-opacity: 0.5;
238
238
  .menuItemLabel {
239
239
  flex: 1;
240
240
  min-width: 0;
241
- line-height: var(--line-height-sm);
241
+ line-height: var(--body-line-height-small);
242
242
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  &[data-orientation='vertical'] {
6
6
  flex-direction: row;
7
- gap: var(--spacing-lg);
7
+ gap: var(--lg);
8
8
  }
9
9
 
10
10
  &[data-orientation='horizontal'] {
@@ -10,9 +10,9 @@
10
10
  cursor: default;
11
11
  overflow: hidden;
12
12
  position: relative;
13
- padding: var(--spacing-3xs) var(--spacing-xs);
14
- background: var(--color-background);
15
- border: 1px solid var(--color-border-contrast);
13
+ padding: var(--3xs) var(--xs);
14
+ background: var(--background);
15
+ border: 1px solid var(--border-contrast);
16
16
  transition-property:
17
17
  background, border-color, width, max-width, color, fill, stroke, opacity, transform, outline-color,
18
18
  opacity, visibility;
@@ -23,52 +23,52 @@
23
23
  cursor: pointer;
24
24
 
25
25
  &:hover {
26
- background: var(--color-background-secondary);
27
- border-color: var(--color-border-action-secondary-hover);
26
+ background: var(--background-secondary);
27
+ border-color: var(--border-action-secondary-hover);
28
28
  }
29
29
 
30
30
  &:focus-visible {
31
- outline-color: var(--color-border-action-secondary);
31
+ outline-color: var(--border-action-secondary);
32
32
  }
33
33
  }
34
34
 
35
35
  &.selected {
36
- background: var(--color-background-selected-weak) !important;
37
- border-color: var(--color-border-action-primary) !important;
36
+ background: var(--background-secondary-hover) !important;
37
+ border-color: var(--border-action-primary) !important;
38
38
 
39
39
  &:focus-visible {
40
- outline-color: var(--color-border-action-primary);
40
+ outline-color: var(--border-action-primary);
41
41
  }
42
42
 
43
43
  .deleteButton {
44
- outline-color: var(--color-border-action-primary);
44
+ outline-color: var(--border-action-primary);
45
45
  }
46
46
  }
47
47
 
48
48
  &.include {
49
49
  .variantIcon {
50
- color: var(--color-icon-secondary);
50
+ color: var(--icon-action-secondary);
51
51
  }
52
52
  }
53
53
 
54
54
  &.exclude {
55
55
  .variantIcon {
56
- color: var(--color-icon-danger);
56
+ color: var(--icon-error);
57
57
  }
58
58
  }
59
59
 
60
60
  &.disabled {
61
61
  cursor: not-allowed;
62
- color: var(--color-font-disabled);
63
- background: var(--color-background);
64
- border-color: var(--color-border-contrast);
62
+ color: var(--font-disabled);
63
+ background: var(--background);
64
+ border-color: var(--border-contrast);
65
65
 
66
66
  .label {
67
- color: var(--color-font-disabled);
67
+ color: var(--font-disabled);
68
68
  }
69
69
 
70
70
  .variantIcon {
71
- color: var(--color-font-disabled);
71
+ color: var(--font-disabled);
72
72
  }
73
73
  }
74
74
 
@@ -77,17 +77,17 @@
77
77
  visibility: hidden;
78
78
  max-width: 0;
79
79
  display: flex;
80
- outline-color: var(--color-border-action-secondary);
80
+ outline-color: var(--border-action-secondary);
81
81
  user-select: none;
82
82
  transition-property:
83
83
  background, border-color, width, max-width, color, fill, stroke, opacity, transform, outline-color,
84
84
  visibility, margin-left;
85
85
  transition-timing-function: ease-out;
86
86
  transition-duration: var(--transition-duration);
87
- color: var(--color-icon-secondary);
87
+ color: var(--icon-action-secondary);
88
88
 
89
89
  &:hover {
90
- background: var(--color-background-action-secondary-hover);
90
+ background: var(--background-action-secondary-hover);
91
91
  }
92
92
  }
93
93
 
@@ -97,7 +97,7 @@
97
97
  opacity: 1;
98
98
  visibility: visible;
99
99
  max-width: 50px;
100
- margin-left: var(--spacing-3xs);
100
+ margin-left: var(--3xs);
101
101
  }
102
102
  }
103
103
 
@@ -108,5 +108,5 @@
108
108
  .icon {
109
109
  flex-shrink: 0;
110
110
  display: flex;
111
- margin-right: var(--spacing-3xs);
111
+ margin-right: var(--3xs);
112
112
  }
@@ -1,11 +1,11 @@
1
1
  .container {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- gap: var(--spacing-xs);
5
- padding: var(--spacing-xs) var(--spacing-standard);
6
- background: var(--color-background-selected-weak);
7
- border: 1px solid var(--color-outline-weak);
8
- border-radius: var(--spacing-3xs);
4
+ gap: var(--xs);
5
+ padding: var(--xs) var(--standard);
6
+ background: var(--background-secondary-hover);
7
+ border: 1px solid var(--outline-weak);
8
+ border-radius: var(--3xs);
9
9
  overflow: hidden;
10
10
 
11
11
  &.expanded {
@@ -17,14 +17,14 @@
17
17
  display: flex;
18
18
  align-items: center;
19
19
  width: 100%;
20
- gap: var(--spacing-xs);
20
+ gap: var(--xs);
21
21
  flex-shrink: 0;
22
22
  }
23
23
 
24
24
  .headerActions {
25
25
  display: flex;
26
26
  align-items: center;
27
- gap: var(--spacing-xs);
27
+ gap: var(--xs);
28
28
  flex-shrink: 0;
29
29
  margin-left: auto;
30
30
  }
@@ -33,12 +33,12 @@
33
33
  display: flex;
34
34
  align-items: center;
35
35
  width: 100%;
36
- gap: var(--spacing-xs);
36
+ gap: var(--xs);
37
37
  flex-wrap: wrap;
38
38
  }
39
39
 
40
40
  .label {
41
- color: var(--color-font-secondary);
41
+ color: var(--font-secondary);
42
42
  white-space: nowrap;
43
43
  flex-shrink: 0;
44
44
  }
@@ -62,7 +62,7 @@
62
62
  pointer-events: none;
63
63
  display: flex;
64
64
  align-items: center;
65
- gap: var(--spacing-xs);
65
+ gap: var(--xs);
66
66
  height: 0;
67
67
  overflow: hidden;
68
68
  position: absolute;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .textInputContainer {
4
4
  @include input.inputContainer;
5
- gap: var(--spacing-xs);
5
+ gap: var(--xs);
6
6
  }
7
7
 
8
8
  .input {
@@ -11,27 +11,27 @@ $time-item-width: 48px;
11
11
  align-items: center;
12
12
  border-radius: 8px;
13
13
  background: transparent;
14
- color: var(--color-font-main);
14
+ color: var(--font-main);
15
15
 
16
16
  &.selected {
17
- background: var(--color-background-selected);
18
- color: var(--color-font-on-action);
17
+ background: var(--background-primary);
18
+ color: var(--font-on-action);
19
19
  }
20
20
 
21
21
  &.disabled {
22
- color: var(--color-font-disabled);
22
+ color: var(--font-disabled);
23
23
  pointer-events: none;
24
24
  }
25
25
 
26
26
  &:not(.selected, .disabled) {
27
27
  &:hover {
28
- border: 1px solid var(--color-border);
29
- background: var(--color-background-action-hover-weak);
28
+ border: 1px solid var(--border);
29
+ background: var(--background-action-hover-weak);
30
30
  }
31
31
 
32
32
  &:focus-visible {
33
- border: 2px solid var(--color-border-action-secondary);
34
- background: var(--color-background-action-hover-weak);
33
+ border: 2px solid var(--border-action-secondary);
34
+ background: var(--background-action-hover-weak);
35
35
  }
36
36
  }
37
37
  }
@@ -3,8 +3,8 @@ $column-max-height: 280px;
3
3
 
4
4
  .container {
5
5
  display: flex;
6
- padding: var(--spacing-xs);
7
- background: var(--color-background);
6
+ padding: var(--xs);
7
+ background: var(--background);
8
8
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.22);
9
9
  }
10
10
 
@@ -13,7 +13,7 @@ $column-max-height: 280px;
13
13
  flex-direction: column;
14
14
  align-items: center;
15
15
  width: $column-width;
16
- gap: var(--spacing-xs);
16
+ gap: var(--xs);
17
17
  max-height: $column-max-height;
18
18
  overflow-y: auto;
19
19
  scroll-snap-type: y mandatory;
@@ -7,11 +7,11 @@
7
7
  'description description description'
8
8
  'actions actions actions';
9
9
  align-items: start;
10
- padding: var(--spacing-standard);
10
+ padding: var(--standard);
11
11
  border-radius: 4px;
12
- column-gap: var(--spacing-xs);
13
- row-gap: var(--spacing-4xs);
14
- color: var(--color-font-on-action);
12
+ column-gap: var(--xs);
13
+ row-gap: var(--4xs);
14
+ color: var(--font-on-action);
15
15
  box-shadow: 0 1.25px 4px 0 rgba(0, 0, 0, 0.25);
16
16
  // approx. 6 columns (64 * 2)
17
17
  min-width: 384px;
@@ -33,19 +33,19 @@
33
33
  }
34
34
 
35
35
  &[data-type='success'] {
36
- background: var(--color-background-success-strong);
36
+ background: var(--background-success-strong);
37
37
  }
38
38
 
39
39
  &[data-type='info'] {
40
- background: var(--color-background-info-strong);
40
+ background: var(--background-info-strong);
41
41
  }
42
42
 
43
43
  &[data-type='warning'] {
44
- background: var(--color-background-warning-strong);
44
+ background: var(--background-warning-strong);
45
45
  }
46
46
 
47
47
  &[data-type='error'] {
48
- background: var(--color-background-danger-strong);
48
+ background: var(--background-error);
49
49
  }
50
50
 
51
51
  &:not(:has([data-scope='toast'][data-part='title'])) {
@@ -64,7 +64,7 @@
64
64
  display: flex;
65
65
  align-items: center;
66
66
  justify-content: center;
67
- border-radius: var(--spacing-4xs);
67
+ border-radius: var(--4xs);
68
68
 
69
69
  &:hover {
70
70
  background: rgba(0, 0, 0, 0.05);
@@ -86,12 +86,12 @@
86
86
 
87
87
  .icon {
88
88
  grid-area: icon;
89
- color: var(--color-icon-inverse);
89
+ color: var(--icon-inverse);
90
90
  }
91
91
 
92
92
  .actions {
93
93
  grid-area: actions;
94
- margin-top: var(--spacing-sm);
94
+ margin-top: var(--sm);
95
95
  }
96
96
 
97
97
  @media (max-width: 640px) {
@@ -34,15 +34,15 @@
34
34
  height: var(--thumb-size);
35
35
 
36
36
  &[data-state='unchecked'] {
37
- background: var(--color-background-deselected);
37
+ background: var(--background-deselected);
38
38
 
39
39
  &[data-hover] {
40
- background: var(--color-background-deselected-hover);
40
+ background: var(--background-deselected-hover);
41
41
  }
42
42
 
43
43
  &[data-focus-visible] {
44
- outline-color: var(--color-background-action-hover);
45
- background: var(--color-background-deselected-hover);
44
+ outline-color: var(--background-action-hover);
45
+ background: var(--background-deselected-hover);
46
46
  }
47
47
 
48
48
  .iconCheck {
@@ -55,15 +55,15 @@
55
55
  }
56
56
 
57
57
  &[data-state='checked'] {
58
- background: var(--color-background-selected);
58
+ background: var(--background-primary);
59
59
 
60
60
  &[data-hover] {
61
- background: var(--color-background-selected-hover);
61
+ background: var(--background-primary-hover);
62
62
  }
63
63
 
64
64
  &[data-focus-visible] {
65
- outline-color: var(--color-background-selected);
66
- background: var(--color-background-selected-hover);
65
+ outline-color: var(--background-primary);
66
+ background: var(--background-primary-hover);
67
67
  }
68
68
 
69
69
  .iconCheck {
@@ -77,15 +77,15 @@
77
77
 
78
78
  &[data-disabled] {
79
79
  cursor: not-allowed;
80
- background: var(--color-background-disable);
80
+ background: var(--background-disable);
81
81
 
82
82
  &[data-hover] {
83
- background: var(--color-background-deselected-hover);
83
+ background: var(--background-deselected-hover);
84
84
  }
85
85
 
86
86
  &[data-focus-visible] {
87
- outline-color: var(--color-background-action-hover);
88
- background: var(--color-background-deselected-hover);
87
+ outline-color: var(--background-action-hover);
88
+ background: var(--background-deselected-hover);
89
89
  }
90
90
  }
91
91
  }
@@ -94,7 +94,7 @@
94
94
  border-radius: 9999px;
95
95
  position: relative;
96
96
  transition-property: transform;
97
- background: var(--color-background);
97
+ background: var(--background);
98
98
  transition-duration: var(--transition-duration);
99
99
  height: 100%;
100
100
  aspect-ratio: 1/1;
@@ -119,25 +119,25 @@
119
119
  cursor: pointer;
120
120
  display: flex;
121
121
  flex-direction: column;
122
- margin-left: var(--spacing-xs);
122
+ margin-left: var(--xs);
123
123
 
124
124
  .labelInfo {
125
125
  width: 100%;
126
- color: var(--color-font-secondary);
126
+ color: var(--font-secondary);
127
127
  }
128
128
 
129
129
  &[data-disabled] {
130
- color: var(--color-font-disabled);
130
+ color: var(--font-disabled);
131
131
  cursor: default;
132
132
 
133
133
  .labelInfo {
134
- color: var(--color-background-disable);
134
+ color: var(--background-disable);
135
135
  }
136
136
  }
137
137
  }
138
138
 
139
139
  .icon {
140
- color: var(--color-icon-inverse);
140
+ color: var(--icon-inverse);
141
141
  position: absolute;
142
142
  top: 50%;
143
143
  transform: translateY(-50%);
@@ -1,13 +1,13 @@
1
1
  .tooltip {
2
- color: var(--color-font-on-action);
3
- background-color: var(--color-background-brand);
4
- padding: var(--spacing-xs) var(--spacing-sm);
5
- border-radius: var(--exo-spacing-2x-small);
2
+ color: var(--font-on-action);
3
+ background-color: var(--background-brand);
4
+ padding: var(--xs) var(--sm);
5
+ border-radius: var(--3xs);
6
6
  max-width: 384px;
7
7
  overflow-wrap: break-word;
8
8
  z-index: 9999;
9
9
  }
10
10
 
11
11
  .arrow {
12
- fill: var(--neutral-1);
12
+ fill: var(--color-dap-gray-700);
13
13
  }