@helsenorge/designsystem-react 10.6.1 → 10.6.2

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 (76) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/components/AnchorLink/styles.module.scss +9 -7
  3. package/components/Avatar/styles.module.scss +9 -9
  4. package/components/Badge/styles.module.scss +9 -9
  5. package/components/Button/styles.module.scss +71 -77
  6. package/components/Checkbox/styles.module.scss +104 -104
  7. package/components/Chip/styles.module.scss +22 -21
  8. package/components/Close/styles.module.scss +5 -5
  9. package/components/DictionaryTrigger/styles.module.scss +5 -5
  10. package/components/Drawer/styles.module.scss +27 -27
  11. package/components/Dropdown/styles.module.scss +55 -55
  12. package/components/Duolist/styles.module.scss +4 -5
  13. package/components/EmptyState/styles.module.scss +16 -16
  14. package/components/ErrorWrapper/styles.module.scss +2 -2
  15. package/components/Expander/styles.module.scss +53 -53
  16. package/components/ExpanderHierarchy/expander.module.scss +35 -35
  17. package/components/ExpanderHierarchy/styles.module.scss +5 -4
  18. package/components/ExpanderList/styles.module.scss +32 -32
  19. package/components/EyebrowHeader/styles.module.scss +2 -0
  20. package/components/FormGroup/styles.module.scss +9 -9
  21. package/components/FormLayout/styles.module.scss +5 -4
  22. package/components/HelpBubble/styles.module.scss +14 -14
  23. package/components/HelpPanel/styles.module.scss +2 -2
  24. package/components/HelpQuestion/styles.module.scss +20 -20
  25. package/components/HighlightPanel/styles.module.scss +20 -20
  26. package/components/HorizontalScroll/styles.module.scss +3 -4
  27. package/components/Input/styles.module.scss +14 -14
  28. package/components/Label/styles.module.scss +16 -16
  29. package/components/LinkList/styles.module.scss +35 -35
  30. package/components/ListHeader/styles.module.scss +8 -8
  31. package/components/Loader/styles.module.scss +14 -14
  32. package/components/MaxCharacters/styles.module.scss +12 -12
  33. package/components/Modal/styles.module.scss +49 -49
  34. package/components/NotificationPanel/styles.module.scss +40 -40
  35. package/components/Panel/styles.module.scss +60 -60
  36. package/components/PanelList/styles.module.scss +6 -6
  37. package/components/PopMenu/styles.module.scss +16 -16
  38. package/components/PopOver/styles.module.scss +15 -14
  39. package/components/PopOver/styles.module.scss.d.ts +3 -0
  40. package/components/Progressbar/styles.module.scss +4 -4
  41. package/components/PromoPanel/styles.module.scss +31 -31
  42. package/components/RadioButton/styles.module.scss +100 -100
  43. package/components/Select/styles.module.scss +23 -23
  44. package/components/ServiceMessage/styles.module.scss +48 -48
  45. package/components/SharingStatus/styles.module.scss +13 -13
  46. package/components/Slider/styles.module.scss +25 -25
  47. package/components/Spacer/styles.module.scss +14 -14
  48. package/components/StatusDot/styles.module.scss +24 -24
  49. package/components/Step/styles.module.scss +3 -3
  50. package/components/StepButtons/styles.module.scss +11 -11
  51. package/components/Stepper/styles.module.scss +16 -24
  52. package/components/StickyNote/styles.module.scss +3 -3
  53. package/components/Table/styles.module.scss +31 -31
  54. package/components/Tabs/TabList/styles.module.scss +2 -2
  55. package/components/Tabs/TabPanel/styles.module.scss +7 -7
  56. package/components/Tabs/styles.module.scss +3 -3
  57. package/components/Tag/styles.module.scss +16 -16
  58. package/components/TagList/styles.module.scss +4 -4
  59. package/components/Textarea/styles.module.scss +9 -9
  60. package/components/Tile/styles.module.scss +31 -31
  61. package/components/Title/styles.module.scss +8 -8
  62. package/components/Toggle/styles.module.scss +18 -18
  63. package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
  64. package/components/Trigger/styles.module.scss +21 -21
  65. package/components/Validation/styles.module.scss +11 -11
  66. package/package.json +1 -1
  67. package/scss/_body.scss +6 -5
  68. package/scss/_breakpoints.scss +2 -2
  69. package/scss/_font-mixins.scss +22 -22
  70. package/scss/_fonts.scss +2 -0
  71. package/scss/_input.scss +51 -54
  72. package/scss/_print.scss +5 -5
  73. package/scss/_reset.scss +1 -1
  74. package/scss/helsenorge.scss +7 -7
  75. package/scss/layout.module.scss +2 -2
  76. package/scss/typography.module.scss +46 -47
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [10.6.1](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv10.6.0&targetVersion=GTv10.6.1) (2025-03-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **expanderlist:** nedre focus outline forsvinner ([f345142](https://github.com/helsenorge/designsystem/commit/f345142968f86db4b1b3aeb33cfce7f9c237af32))
7
+ * **expanderlist:** nedre focus outline forsvinner" ([c8fde30](https://github.com/helsenorge/designsystem/commit/c8fde305783f79eeb0bb24587cb19a282a60f3f7)), closes [#347177](https://github.com/helsenorge/designsystem/issues/347177)
8
+
1
9
  ## [10.6.0](https://github.com/helsenorge/designsystem/branchCompare?baseVersion=GTv10.5.0&targetVersion=GTv10.6.0) (2025-03-12)
2
10
 
3
11
 
@@ -1,19 +1,21 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/palette' as palette;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
3
5
 
4
6
  $underline-width: 0.0625rem;
5
7
  $focus-width: 0.15rem;
6
8
 
7
9
  @mixin anchorlink-hover {
8
10
  cursor: pointer;
9
- color: palette.$blueberry700;
10
- background-color: palette.$blueberry60010;
11
- text-decoration-color: palette.$blueberry600;
11
+ color: $blueberry700;
12
+ background-color: $blueberry60010;
13
+ text-decoration-color: $blueberry600;
12
14
  }
13
15
 
14
16
  @mixin anchorlink-focus {
15
17
  outline: none;
16
- border: $focus-width solid palette.$black;
18
+ border: $focus-width solid $black;
17
19
  }
18
20
 
19
21
  @mixin anchorlink {
@@ -22,11 +24,11 @@ $focus-width: 0.15rem;
22
24
  overflow-wrap: break-word;
23
25
  word-break: break-word;
24
26
  text-align: left;
25
- color: palette.$blueberry600;
27
+ color: $blueberry600;
26
28
  border: $focus-width solid transparent;
27
29
  text-decoration: underline;
28
30
  text-underline-offset: 0.16rem;
29
- text-decoration-color: palette.$blueberry400;
31
+ text-decoration-color: $blueberry400;
30
32
  text-decoration-thickness: $underline-width;
31
33
  padding: 0.1rem;
32
34
 
@@ -1,13 +1,13 @@
1
- @use '../../scss/palette' as palette;
2
- @use '../../scss/font-settings' as font-settings;
1
+ @import '../../scss/palette';
2
+ @import '../../scss/font-settings';
3
3
 
4
4
  .avatar {
5
5
  display: flex;
6
6
  justify-content: center;
7
7
  align-items: center;
8
8
  font-weight: 600;
9
- background-color: palette.$blueberry500;
10
- color: palette.$white;
9
+ background-color: $blueberry500;
10
+ color: $white;
11
11
 
12
12
  &--circle {
13
13
  border-radius: 50%;
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &--black {
21
- background-color: palette.$neutral900;
21
+ background-color: $neutral900;
22
22
  }
23
23
 
24
24
  &--selected#{&}--black {
@@ -28,14 +28,14 @@
28
28
  &--xsmall {
29
29
  width: 2.375rem;
30
30
  height: 2.375rem;
31
- font-size: font-settings.$font-size-md;
32
- line-height: font-settings.$lineheight-size-md;
31
+ font-size: $font-size-md;
32
+ line-height: $lineheight-size-md;
33
33
  }
34
34
 
35
35
  &--small {
36
36
  width: 3rem;
37
37
  height: 3rem;
38
- font-size: font-settings.$font-size-lg;
39
- line-height: font-settings.$lineheight-size-lg;
38
+ font-size: $font-size-lg;
39
+ line-height: $lineheight-size-lg;
40
40
  }
41
41
  }
@@ -1,4 +1,4 @@
1
- @use '../../scss/palette' as palette;
1
+ @import '../../scss/palette';
2
2
 
3
3
  .badge {
4
4
  display: inline-flex;
@@ -10,23 +10,23 @@
10
10
  height: 1.375rem;
11
11
  border-radius: 1rem;
12
12
  padding: 0 0.375rem;
13
- color: palette.$white;
14
- background-color: palette.$black;
13
+ color: $white;
14
+ background-color: $black;
15
15
  border: 1px solid;
16
16
 
17
17
  &--blueberry {
18
- background-color: palette.$blueberry500;
19
- border-color: palette.$blueberry600;
18
+ background-color: $blueberry500;
19
+ border-color: $blueberry600;
20
20
  }
21
21
 
22
22
  &--cherry {
23
- background-color: palette.$cherry500;
24
- border-color: palette.$cherry600;
23
+ background-color: $cherry500;
24
+ border-color: $cherry600;
25
25
  }
26
26
 
27
27
  &--neutral {
28
- color: palette.$black;
28
+ color: $black;
29
29
  background-color: transparent;
30
- border-color: palette.$neutral600;
30
+ border-color: $neutral600;
31
31
  }
32
32
  }
@@ -1,31 +1,25 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/spacers' as spacers;
3
- @use '../../scss/palette' as palette;
4
- @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/screen-reader' as *;
6
- @use '../../scss/breakpoints' as breakpoints;
7
- @import '../../scss/supernova/styles/colors.css';
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
+ @import '../../scss/screen-reader';
7
+ @import '../../scss/supernova/styles/colors';
8
8
 
9
9
  $dark-mode-disabled-transparrent: #ffffffb3;
10
10
  $with-icons: // icon-class, size-class, padding-left, padding-right, padding-left desktop, padding-right desktop, svg-margin-left, svg-margin-right, svg-margin-left desktop, svg-margin-right desktop
11
- 'left-icon' 'normal' spacers.getSpacer(xs) spacers.getSpacer(s) spacers.getSpacer(xs) spacers.getSpacer(m) 0 spacers.getSpacer(3xs) 0
12
- spacers.getSpacer(2xs),
13
- 'right-icon' 'normal' spacers.getSpacer(s) spacers.getSpacer(xs) spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(3xs) 0
14
- spacers.getSpacer(2xs) 0,
15
- 'left-icon' 'large' spacers.getSpacer(xs) spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l) 0 spacers.getSpacer(2xs) 0
16
- spacers.getSpacer(xs),
17
- 'right-icon' 'large' spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(l) spacers.getSpacer(s) spacers.getSpacer(2xs) 0
18
- spacers.getSpacer(xs) 0,
19
- 'arrow' 'normal' spacers.getSpacer(s) spacers.getSpacer(xs) spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(m) 0
20
- spacers.getSpacer(l) 0,
21
- 'arrow' 'large' spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(l) spacers.getSpacer(xs) spacers.getSpacer(l) 0
22
- spacers.getSpacer(xl) 0,
23
- 'arrow--both-icons' 'normal' 0 0 0 0 spacers.getSpacer(s) 0 spacers.getSpacer(m) 0,
24
- 'arrow--both-icons' 'large' 0 0 0 0 spacers.getSpacer(m) 0 spacers.getSpacer(l) 0,
11
+ 'left-icon' 'normal' getSpacer(xs) getSpacer(s) getSpacer(xs) getSpacer(m) 0 getSpacer(3xs) 0 getSpacer(2xs),
12
+ 'right-icon' 'normal' getSpacer(s) getSpacer(xs) getSpacer(m) getSpacer(xs) getSpacer(3xs) 0 getSpacer(2xs) 0,
13
+ 'left-icon' 'large' getSpacer(xs) getSpacer(m) getSpacer(s) getSpacer(l) 0 getSpacer(2xs) 0 getSpacer(xs),
14
+ 'right-icon' 'large' getSpacer(m) getSpacer(xs) getSpacer(l) getSpacer(s) getSpacer(2xs) 0 getSpacer(xs) 0,
15
+ 'arrow' 'normal' getSpacer(s) getSpacer(xs) getSpacer(m) getSpacer(xs) getSpacer(m) 0 getSpacer(l) 0,
16
+ 'arrow' 'large' getSpacer(m) getSpacer(xs) getSpacer(l) getSpacer(xs) getSpacer(l) 0 getSpacer(xl) 0,
17
+ 'arrow--both-icons' 'normal' 0 0 0 0 getSpacer(s) 0 getSpacer(m) 0,
18
+ 'arrow--both-icons' 'large' 0 0 0 0 getSpacer(m) 0 getSpacer(l) 0,
25
19
  'only-icon' 'normal' 0.062rem 0.062rem 0.375rem 0.375rem 0 0 0 0,
26
- 'only-icon' 'large' 0.312rem 0.312rem spacers.getSpacer(3xs) spacers.getSpacer(3xs) 0 0 0 0,
27
- 'both-icons' 'normal' spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(xs) 0 0 0 0,
28
- 'both-icons' 'large' spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(xs) 0 0 0 0;
20
+ 'only-icon' 'large' 0.312rem 0.312rem getSpacer(3xs) getSpacer(3xs) 0 0 0 0,
21
+ 'both-icons' 'normal' getSpacer(xs) getSpacer(xs) getSpacer(xs) getSpacer(xs) 0 0 0 0,
22
+ 'both-icons' 'large' getSpacer(xs) getSpacer(xs) getSpacer(xs) getSpacer(xs) 0 0 0 0;
29
23
 
30
24
  // Brukes til å aktivere hover styling uten at button hovres
31
25
  @mixin outline-borderless-hover {
@@ -40,11 +34,11 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
40
34
  }
41
35
 
42
36
  @mixin focus-shadow {
43
- box-shadow: 0 0 0 spacers.getSpacer(3xs) palette.$black;
37
+ box-shadow: 0 0 0 getSpacer(3xs) $black;
44
38
  }
45
39
 
46
40
  @mixin focus-shadow-on-dark {
47
- box-shadow: 0 0 0 spacers.getSpacer(3xs) palette.$white;
41
+ box-shadow: 0 0 0 getSpacer(3xs) $white;
48
42
  }
49
43
 
50
44
  @mixin outline-borderless-background($background-color, $hover-background-color) {
@@ -60,18 +54,18 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
60
54
  }
61
55
 
62
56
  @mixin outline($ouline-color, $hover-outline-color) {
63
- outline: spacers.getSpacer(4xs) solid $ouline-color;
64
- outline-offset: spacers.getSpacer(4xs) * -1;
57
+ outline: getSpacer(4xs) solid $ouline-color;
58
+ outline-offset: getSpacer(4xs) * -1;
65
59
 
66
60
  &:hover {
67
61
  box-shadow: none;
68
62
  }
69
63
 
70
64
  :disabled > & {
71
- outline-color: palette.$neutral700;
65
+ outline-color: $neutral700;
72
66
 
73
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
74
- outline-color: palette.$neutral500;
67
+ @media (min-width: map.get($grid-breakpoints, md)) {
68
+ outline-color: $neutral500;
75
69
  }
76
70
  }
77
71
  }
@@ -84,14 +78,14 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
84
78
  }
85
79
 
86
80
  :disabled > & {
87
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
88
- color: palette.$neutral700;
81
+ @media (min-width: map.get($grid-breakpoints, md)) {
82
+ color: $neutral700;
89
83
  }
90
84
  }
91
85
  }
92
86
 
93
87
  @mixin fill-on-dark($background-color) {
94
- background-color: palette.$white;
88
+ background-color: $white;
95
89
 
96
90
  &:hover {
97
91
  box-shadow: none;
@@ -108,7 +102,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
108
102
  &:hover {
109
103
  @include focus-shadow-on-dark;
110
104
 
111
- background-color: palette.$white;
105
+ background-color: $white;
112
106
  }
113
107
  }
114
108
 
@@ -122,7 +116,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
122
116
  color: $color;
123
117
 
124
118
  :disabled > & {
125
- color: palette.$neutral700;
119
+ color: $neutral700;
126
120
  }
127
121
  }
128
122
 
@@ -131,7 +125,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
131
125
  @include fill-on-dark(var(--color-action-background-ondark-hover));
132
126
  }
133
127
  &--on-dark#{&}--destructive {
134
- @include fill-on-dark(palette.$cherry50);
128
+ @include fill-on-dark($cherry50);
135
129
  }
136
130
  &--on-dark#{&}--outline,
137
131
  &--on-dark#{&}--borderless,
@@ -140,14 +134,14 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
140
134
  background-color: transparent;
141
135
 
142
136
  &:hover {
143
- background-color: palette.$inverted-hover;
137
+ background-color: $inverted-hover;
144
138
  }
145
139
  }
146
140
  &--on-dark#{&}--outline {
147
- outline-color: palette.$white;
141
+ outline-color: $white;
148
142
 
149
143
  :disabled > & {
150
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
144
+ @media (min-width: map.get($grid-breakpoints, md)) {
151
145
  outline-color: $dark-mode-disabled-transparrent;
152
146
  }
153
147
  }
@@ -159,17 +153,17 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
159
153
  }
160
154
 
161
155
  &--on-dark &__text {
162
- @include on-dark-text(palette.$blueberry600);
156
+ @include on-dark-text($blueberry600);
163
157
  }
164
158
  &--on-dark#{&}--destructive &__text {
165
- @include on-dark-text(palette.$cherry600);
159
+ @include on-dark-text($cherry600);
166
160
  }
167
161
  &--on-dark#{&}--outline &__text,
168
162
  &--on-dark#{&}--borderless &__text {
169
- color: palette.$white;
163
+ color: $white;
170
164
 
171
165
  :disabled > & {
172
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
166
+ @media (min-width: map.get($grid-breakpoints, md)) {
173
167
  color: $dark-mode-disabled-transparrent;
174
168
  }
175
169
  }
@@ -201,9 +195,9 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
201
195
 
202
196
  .button {
203
197
  display: inline-flex;
204
- background-color: palette.$blueberry500;
205
- padding: 0 spacers.getSpacer(m);
206
- font-size: font-settings.$font-size-sm;
198
+ background-color: $blueberry500;
199
+ padding: 0 getSpacer(m);
200
+ font-size: $font-size-sm;
207
201
  font-weight: 600;
208
202
  font-family: inherit;
209
203
  line-height: 1.375rem;
@@ -217,37 +211,37 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
217
211
  letter-spacing: unset;
218
212
 
219
213
  &:hover {
220
- background-color: palette.$blueberry700;
221
- box-shadow: 0 0 0 spacers.getSpacer(3xs) palette.$blueberry700;
214
+ background-color: $blueberry700;
215
+ box-shadow: 0 0 0 getSpacer(3xs) $blueberry700;
222
216
  }
223
217
 
224
218
  :disabled > & {
225
219
  pointer-events: none;
226
- outline: spacers.getSpacer(4xs) dashed palette.$neutral700;
227
- outline-offset: spacers.getSpacer(4xs) * -1;
228
- background-color: palette.$neutral200;
220
+ outline: getSpacer(4xs) dashed $neutral700;
221
+ outline-offset: getSpacer(4xs) * -1;
222
+ background-color: $neutral200;
229
223
  }
230
224
 
231
225
  :disabled > & &__text {
232
- color: palette.$neutral800;
226
+ color: $neutral800;
233
227
  }
234
228
 
235
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
229
+ @media (min-width: map.get($grid-breakpoints, md)) {
236
230
  min-height: 3.125rem;
237
- padding: 0 spacers.getSpacer(l);
238
- font-size: font-settings.$font-size-md;
231
+ padding: 0 getSpacer(l);
232
+ font-size: $font-size-md;
239
233
  line-height: 1.5rem;
240
234
  }
241
235
 
242
236
  &--large {
243
237
  min-height: 3.5rem;
244
- padding: 0 spacers.getSpacer(l);
238
+ padding: 0 getSpacer(l);
245
239
  font-size: 1.3125rem;
246
240
 
247
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
241
+ @media (min-width: map.get($grid-breakpoints, md)) {
248
242
  min-height: 4.5rem;
249
- padding: 0 spacers.getSpacer(xl);
250
- font-size: font-settings.$font-size-lg;
243
+ padding: 0 getSpacer(xl);
244
+ font-size: $font-size-lg;
251
245
  line-height: 1.5rem;
252
246
  }
253
247
  }
@@ -257,7 +251,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
257
251
  padding-left: $pl;
258
252
  padding-right: $pr;
259
253
 
260
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
254
+ @media (min-width: map.get($grid-breakpoints, md)) {
261
255
  padding-left: $pld;
262
256
  padding-right: $prd;
263
257
  }
@@ -269,7 +263,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
269
263
  margin-left: $svgml;
270
264
  margin-right: $svgmr;
271
265
 
272
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
266
+ @media (min-width: map.get($grid-breakpoints, md)) {
273
267
  margin-left: $svgmld;
274
268
  margin-right: $svgmrd;
275
269
  }
@@ -277,11 +271,11 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
277
271
  }
278
272
 
279
273
  &--destructive {
280
- background-color: palette.$cherry500;
274
+ background-color: $cherry500;
281
275
 
282
276
  &:hover {
283
- background-color: palette.$cherry700;
284
- box-shadow: 0 0 0 spacers.getSpacer(3xs) palette.$cherry700;
277
+ background-color: $cherry700;
278
+ box-shadow: 0 0 0 getSpacer(3xs) $cherry700;
285
279
  }
286
280
  }
287
281
 
@@ -291,19 +285,19 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
291
285
  }
292
286
  &--outline#{&}--destructive,
293
287
  &--borderless#{&}--destructive {
294
- @include outline-borderless-background(transparent, palette.$cherry50);
288
+ @include outline-borderless-background(transparent, $cherry50);
295
289
  }
296
290
 
297
291
  &--outline {
298
- @include outline(palette.$blueberry700, palette.$blueberry50);
292
+ @include outline($blueberry700, $blueberry50);
299
293
  }
300
294
  &--outline#{&}--destructive {
301
- @include outline(palette.$cherry700, palette.$cherry50);
295
+ @include outline($cherry700, $cherry50);
302
296
  }
303
297
 
304
298
  /* stylelint-disable-next-line */
305
299
  &--borderless:not(.button--only-icon) {
306
- padding: 0 spacers.getSpacer(3xs);
300
+ padding: 0 getSpacer(3xs);
307
301
  }
308
302
 
309
303
  /* stylelint-disable-next-line */
@@ -329,14 +323,14 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
329
323
 
330
324
  /* stylelint-disable-next-line */
331
325
  &__text {
332
- color: palette.$white;
326
+ color: $white;
333
327
  margin: 0 auto 0 0;
334
328
  position: relative;
335
329
  display: flex;
336
330
  align-items: center;
337
331
  justify-content: center;
338
332
 
339
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
333
+ @media (min-width: map.get($grid-breakpoints, md)) {
340
334
  margin: 0 auto 0 0;
341
335
  }
342
336
 
@@ -362,7 +356,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
362
356
  }
363
357
  &--outline#{&}--destructive &__text,
364
358
  &--borderless#{&}--destructive &__text {
365
- @include text-color(palette.$cherry600, palette.$cherry700);
359
+ @include text-color($cherry600, $cherry700);
366
360
  }
367
361
 
368
362
  /* stylelint-disable-next-line */
@@ -372,9 +366,9 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
372
366
 
373
367
  @include on-dark;
374
368
 
375
- @include breakpoints.tiny-screens-media-query {
376
- min-height: spacers.getSpacer(l);
377
- padding: 0 spacers.getSpacer(xs);
369
+ @include tiny-screens-media-query {
370
+ min-height: getSpacer(l);
371
+ padding: 0 getSpacer(xs);
378
372
  }
379
373
  }
380
374
 
@@ -387,15 +381,15 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
387
381
 
388
382
  &__line {
389
383
  display: block;
390
- border-bottom: spacers.getSpacer(4xs) dashed palette.$neutral500;
384
+ border-bottom: getSpacer(4xs) dashed $neutral500;
391
385
  transform-origin: top left;
392
386
  transform: rotate(37.4deg);
393
387
  }
394
388
 
395
389
  &--on-dark &__line {
396
- border-color: palette.$white;
390
+ border-color: $white;
397
391
 
398
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
392
+ @media (min-width: map.get($grid-breakpoints, md)) {
399
393
  border-color: $dark-mode-disabled-transparrent;
400
394
  }
401
395
  }