@helsenorge/designsystem-react 10.2.0 → 10.3.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/CHANGELOG.md +25 -0
  2. package/components/AnchorLink/styles.module.scss +8 -9
  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 +65 -59
  6. package/components/Checkbox/styles.module.scss +103 -103
  7. package/components/Chip/styles.module.scss +22 -22
  8. package/components/Close/styles.module.scss +4 -4
  9. package/components/DictionaryTrigger/styles.module.scss +5 -5
  10. package/components/Drawer/styles.module.scss +16 -16
  11. package/components/Dropdown/styles.module.scss +51 -51
  12. package/components/Duolist/index.js +2 -1
  13. package/components/Duolist/index.js.map +1 -1
  14. package/components/Duolist/styles.module.scss +57 -35
  15. package/components/Duolist/styles.module.scss.d.ts +1 -0
  16. package/components/EmptyState/styles.module.scss +12 -12
  17. package/components/ErrorWrapper/styles.module.scss +11 -21
  18. package/components/ErrorWrapper/styles.module.scss.d.ts +0 -1
  19. package/components/Expander/styles.module.scss +46 -46
  20. package/components/ExpanderHierarchy/expander.module.scss +29 -29
  21. package/components/ExpanderHierarchy/styles.module.scss +4 -5
  22. package/components/ExpanderList/styles.module.scss +30 -30
  23. package/components/EyebrowHeader/styles.module.scss +0 -2
  24. package/components/FormGroup/styles.module.scss +9 -9
  25. package/components/FormLayout/styles.module.scss +4 -5
  26. package/components/HelpBubble/styles.module.scss +13 -13
  27. package/components/HelpPanel/styles.module.scss +2 -2
  28. package/components/HelpQuestion/styles.module.scss +19 -19
  29. package/components/HighlightPanel/styles.module.scss +20 -20
  30. package/components/HorizontalScroll/styles.module.scss +4 -3
  31. package/components/Input/styles.module.scss +12 -12
  32. package/components/Label/styles.module.scss +15 -15
  33. package/components/LinkList/styles.module.scss +33 -33
  34. package/components/ListHeader/styles.module.scss +8 -8
  35. package/components/Loader/styles.module.scss +14 -14
  36. package/components/MaxCharacters/styles.module.scss +11 -11
  37. package/components/Modal/styles.module.scss +34 -34
  38. package/components/NotificationPanel/styles.module.scss +33 -33
  39. package/components/Panel/styles.module.scss +45 -45
  40. package/components/PanelList/styles.module.scss +5 -5
  41. package/components/PopMenu/styles.module.scss +15 -15
  42. package/components/PopOver/styles.module.scss +13 -14
  43. package/components/PopOver/styles.module.scss.d.ts +0 -3
  44. package/components/Progressbar/styles.module.scss +4 -4
  45. package/components/PromoPanel/styles.module.scss +22 -22
  46. package/components/RadioButton/styles.module.scss +99 -99
  47. package/components/Select/styles.module.scss +21 -21
  48. package/components/ServiceMessage/styles.module.scss +49 -49
  49. package/components/SharingStatus/styles.module.scss +13 -13
  50. package/components/Slider/styles.module.scss +24 -24
  51. package/components/Spacer/styles.module.scss +14 -14
  52. package/components/StatusDot/styles.module.scss +22 -22
  53. package/components/Step/styles.module.scss +3 -3
  54. package/components/StepButtons/styles.module.scss +9 -9
  55. package/components/Stepper/styles.module.scss +23 -15
  56. package/components/StickyNote/styles.module.scss +3 -3
  57. package/components/Table/styles.module.scss +32 -32
  58. package/components/Tabs/TabList/styles.module.scss +1 -1
  59. package/components/Tabs/TabPanel/styles.module.scss +5 -5
  60. package/components/Tabs/styles.module.scss +1 -1
  61. package/components/Tag/styles.module.scss +16 -16
  62. package/components/TagList/styles.module.scss +4 -4
  63. package/components/Textarea/styles.module.scss +9 -9
  64. package/components/Tile/styles.module.scss +25 -25
  65. package/components/Title/styles.module.scss +8 -8
  66. package/components/Toggle/styles.module.scss +14 -14
  67. package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
  68. package/components/Trigger/styles.module.scss +21 -21
  69. package/components/Validation/styles.module.scss +10 -10
  70. package/package.json +1 -1
  71. package/scss/_body.scss +5 -6
  72. package/scss/_breakpoints.scss +2 -2
  73. package/scss/_font-mixins.scss +2 -2
  74. package/scss/_fonts.scss +0 -2
  75. package/scss/_input.scss +53 -50
  76. package/scss/_print.scss +2 -2
  77. package/scss/layout.module.scss +2 -2
  78. package/scss/typography.module.scss +44 -43
@@ -1,8 +1,8 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/palette';
4
- @import '../../scss/breakpoints';
5
- @import '../../scss/font-settings';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/palette' as palette;
4
+ @use '../../scss/font-settings' as font-settings;
5
+ @use '../../scss/breakpoints' as *;
6
6
 
7
7
  .modal-overlay {
8
8
  background: rgb(51 51 51 / 75%);
@@ -32,26 +32,26 @@
32
32
  .modal {
33
33
  pointer-events: auto;
34
34
  box-shadow: 0 0 5px 0 rgb(0 0 0 / 50%);
35
- background-color: $white;
35
+ background-color: palette.$white;
36
36
  animation: open 200ms 1;
37
37
  outline: none;
38
38
 
39
39
  &__title {
40
40
  &--error {
41
- color: $cherry600;
41
+ color: palette.$cherry600;
42
42
  }
43
43
 
44
44
  &--success {
45
- color: $kiwi900;
45
+ color: palette.$kiwi900;
46
46
  }
47
47
  }
48
48
 
49
49
  &__iconWrapper {
50
- padding-right: getSpacer(xs);
50
+ padding-right: spacers.getSpacer(xs);
51
51
  }
52
52
 
53
53
  &__afterTitleChildren {
54
- padding-left: getSpacer(xs);
54
+ padding-left: spacers.getSpacer(xs);
55
55
  }
56
56
 
57
57
  p {
@@ -59,24 +59,24 @@
59
59
  }
60
60
 
61
61
  &--normal {
62
- background-color: $white;
62
+ background-color: palette.$white;
63
63
  }
64
64
 
65
65
  &--error {
66
- background-color: $cherry100;
66
+ background-color: palette.$cherry100;
67
67
  }
68
68
 
69
69
  &--warning {
70
- background-color: $banana50;
70
+ background-color: palette.$banana50;
71
71
  }
72
72
 
73
73
  &--success {
74
- background-color: $kiwi50;
74
+ background-color: palette.$kiwi50;
75
75
  }
76
76
 
77
77
  &--large {
78
78
  width: calc(100vw - 0.75rem);
79
- padding-bottom: getSpacer(l);
79
+ padding-bottom: spacers.getSpacer(l);
80
80
 
81
81
  @media (max-width: map.get($grid-breakpoints, sm)) {
82
82
  p {
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
  @media (min-width: map.get($grid-breakpoints, md)) {
88
- padding-bottom: getSpacer(xl);
88
+ padding-bottom: spacers.getSpacer(xl);
89
89
  width: 612px;
90
90
  }
91
91
 
@@ -94,13 +94,13 @@
94
94
  }
95
95
 
96
96
  @include tiny-screens-media-query {
97
- padding-bottom: getSpacer(2xs);
97
+ padding-bottom: spacers.getSpacer(2xs);
98
98
  }
99
99
  }
100
100
 
101
101
  &--medium {
102
102
  width: calc(100vw - 0.75rem);
103
- padding-bottom: getSpacer(m);
103
+ padding-bottom: spacers.getSpacer(m);
104
104
 
105
105
  @media (min-width: map.get($grid-breakpoints, md)) {
106
106
  width: 335px;
@@ -160,8 +160,8 @@
160
160
 
161
161
  &__close {
162
162
  position: absolute;
163
- right: getSpacer(3xs);
164
- top: getSpacer(3xs);
163
+ right: spacers.getSpacer(3xs);
164
+ top: spacers.getSpacer(3xs);
165
165
  }
166
166
  }
167
167
 
@@ -172,7 +172,7 @@
172
172
  overflow-x: hidden;
173
173
 
174
174
  &:focus-visible {
175
- outline: 1px solid $black;
175
+ outline: 1px solid palette.$black;
176
176
  outline-offset: -1px;
177
177
  }
178
178
 
@@ -191,30 +191,30 @@
191
191
 
192
192
  &__scroll {
193
193
  &--large {
194
- padding: getSpacer(xl) getSpacer(m) getSpacer(2xs);
194
+ padding: spacers.getSpacer(xl) spacers.getSpacer(m) spacers.getSpacer(2xs);
195
195
 
196
196
  @media (min-width: map.get($grid-breakpoints, md)) {
197
- padding: getSpacer(xl) getSpacer(xl) getSpacer(2xs);
197
+ padding: spacers.getSpacer(xl) spacers.getSpacer(xl) spacers.getSpacer(2xs);
198
198
  }
199
199
 
200
200
  @include tiny-screens-media-query {
201
- padding: getSpacer(2xs) getSpacer(2xs) getSpacer(4xs);
201
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) spacers.getSpacer(4xs);
202
202
  }
203
203
  }
204
204
 
205
205
  &--medium {
206
- padding: getSpacer(l) getSpacer(m) getSpacer(2xs);
206
+ padding: spacers.getSpacer(l) spacers.getSpacer(m) spacers.getSpacer(2xs);
207
207
 
208
208
  @media (min-width: map.get($grid-breakpoints, md)) {
209
- padding: getSpacer(xl) getSpacer(m) getSpacer(2xs);
209
+ padding: spacers.getSpacer(xl) spacers.getSpacer(m) spacers.getSpacer(2xs);
210
210
  }
211
211
 
212
212
  @include tiny-screens-media-query {
213
- padding: getSpacer(2xs) getSpacer(3xs) getSpacer(4xs);
213
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(3xs) spacers.getSpacer(4xs);
214
214
  }
215
215
  }
216
216
  &--large#{&}--image {
217
- padding: getSpacer(xl) getSpacer(2xs) getSpacer(l);
217
+ padding: spacers.getSpacer(xl) spacers.getSpacer(2xs) spacers.getSpacer(l);
218
218
  }
219
219
  }
220
220
 
@@ -240,8 +240,8 @@
240
240
  }
241
241
 
242
242
  &__imageDescription {
243
- font-size: $font-size-xs;
244
- padding-top: getSpacer(s);
243
+ font-size: font-settings.$font-size-xs;
244
+ padding-top: spacers.getSpacer(s);
245
245
  display: block;
246
246
  }
247
247
  }
@@ -258,22 +258,22 @@
258
258
  }
259
259
 
260
260
  &--large {
261
- padding: getSpacer(l) getSpacer(m) 0;
261
+ padding: spacers.getSpacer(l) spacers.getSpacer(m) 0;
262
262
 
263
263
  @media (min-width: map.get($grid-breakpoints, md)) {
264
- padding: getSpacer(l) getSpacer(xl) 0;
264
+ padding: spacers.getSpacer(l) spacers.getSpacer(xl) 0;
265
265
  }
266
266
 
267
267
  @include tiny-screens-media-query {
268
- padding: getSpacer(2xs) getSpacer(2xs) 0;
268
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) 0;
269
269
  }
270
270
  }
271
271
 
272
272
  &--medium {
273
- padding: getSpacer(m) getSpacer(m) 0;
273
+ padding: spacers.getSpacer(m) spacers.getSpacer(m) 0;
274
274
 
275
275
  @include tiny-screens-media-query {
276
- padding: getSpacer(2xs) getSpacer(2xs) 0;
276
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) 0;
277
277
  }
278
278
  }
279
279
  }
@@ -1,35 +1,35 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
4
- @import '../../scss/font-settings';
5
- @import '../../scss/palette';
6
- @import '../AnchorLink/styles.module';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/font-settings' as font-settings;
4
+ @use '../../scss/palette' as palette;
5
+ @use '../AnchorLink/styles.module' as anchorlink;
6
+ @use '../../scss/breakpoints' as *;
7
7
 
8
8
  .notification-panel {
9
9
  $panel: &;
10
10
 
11
11
  display: flex;
12
- padding: getSpacer(2xs) getSpacer(s) getSpacer(2xs) getSpacer(2xs);
12
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(s) spacers.getSpacer(2xs) spacers.getSpacer(2xs);
13
13
  box-shadow: 0.25rem 0.25rem 0.375rem rgb(0 0 0 / 15%);
14
14
  border-radius: 0.25rem;
15
15
 
16
16
  @media (min-width: map.get($grid-breakpoints, md)) {
17
- padding-left: getSpacer(s);
18
- padding-right: getSpacer(m);
17
+ padding-left: spacers.getSpacer(s);
18
+ padding-right: spacers.getSpacer(m);
19
19
  #{$panel}__icon {
20
- margin-right: getSpacer(m);
20
+ margin-right: spacers.getSpacer(m);
21
21
  }
22
22
  }
23
23
 
24
24
  &--compact {
25
25
  width: fit-content;
26
- font-size: $font-size-xs;
26
+ font-size: font-settings.$font-size-xs;
27
27
  line-height: 1.25rem;
28
28
  box-shadow: none;
29
29
 
30
30
  @media (min-width: map.get($grid-breakpoints, md)) {
31
- padding-left: getSpacer(2xs);
32
- padding-right: getSpacer(s);
31
+ padding-left: spacers.getSpacer(2xs);
32
+ padding-right: spacers.getSpacer(s);
33
33
  }
34
34
 
35
35
  &--outline {
@@ -37,11 +37,11 @@
37
37
  }
38
38
  }
39
39
  #{$panel}__icon {
40
- margin-right: getSpacer(2xs);
40
+ margin-right: spacers.getSpacer(2xs);
41
41
  }
42
42
 
43
43
  &--dismissable {
44
- padding: getSpacer(2xs) getSpacer(2xs) getSpacer(m);
44
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) spacers.getSpacer(m);
45
45
  }
46
46
 
47
47
  &--small {
@@ -57,8 +57,8 @@
57
57
  }
58
58
 
59
59
  &--info {
60
- border: 0.125rem solid $blueberry700;
61
- background-color: $blueberry50;
60
+ border: 0.125rem solid palette.$blueberry700;
61
+ background-color: palette.$blueberry50;
62
62
  }
63
63
 
64
64
  &--info#{&}--compact {
@@ -71,8 +71,8 @@
71
71
  }
72
72
 
73
73
  &--warn {
74
- border: 0.125rem solid $banana700;
75
- background-color: $banana50;
74
+ border: 0.125rem solid palette.$banana700;
75
+ background-color: palette.$banana50;
76
76
  }
77
77
 
78
78
  &--warn#{&}--compact {
@@ -85,8 +85,8 @@
85
85
  }
86
86
 
87
87
  &--error {
88
- border: 0.125rem solid $cherry700;
89
- background-color: $cherry50;
88
+ border: 0.125rem solid palette.$cherry700;
89
+ background-color: palette.$cherry50;
90
90
  }
91
91
 
92
92
  &--error#{&}--compact {
@@ -99,8 +99,8 @@
99
99
  }
100
100
 
101
101
  &--success {
102
- border: 0.125rem solid $kiwi900;
103
- background-color: $kiwi50;
102
+ border: 0.125rem solid palette.$kiwi900;
103
+ background-color: palette.$kiwi50;
104
104
  }
105
105
 
106
106
  &--success#{&}--compact {
@@ -115,36 +115,36 @@
115
115
  &__close {
116
116
  order: 1;
117
117
  margin-left: auto;
118
- padding-left: getSpacer(2xs);
118
+ padding-left: spacers.getSpacer(2xs);
119
119
  }
120
120
 
121
121
  &__content {
122
122
  align-self: center;
123
123
 
124
124
  a {
125
- @include anchorlink;
126
- @include anchorlink-icon;
125
+ @include anchorlink.anchorlink;
126
+ @include anchorlink.anchorlink-icon;
127
127
  }
128
128
  }
129
129
 
130
130
  &__label,
131
131
  &__children {
132
- font-size: $font-size-xs;
133
- line-height: $lineheight-size-xs;
132
+ font-size: font-settings.$font-size-xs;
133
+ line-height: font-settings.$lineheight-size-xs;
134
134
  margin: 0;
135
135
 
136
136
  @media (min-width: map.get($grid-breakpoints, md)) {
137
- font-size: $font-size-sm;
137
+ font-size: font-settings.$font-size-sm;
138
138
  line-height: 1.625rem;
139
139
  }
140
140
  }
141
141
 
142
142
  &__label {
143
143
  font-weight: 700;
144
- margin: getSpacer(2xs) 0 0;
144
+ margin: spacers.getSpacer(2xs) 0 0;
145
145
 
146
146
  &--compact {
147
- font-size: $font-size-xs;
147
+ font-size: font-settings.$font-size-xs;
148
148
  line-height: 1.25rem;
149
149
  }
150
150
 
@@ -164,14 +164,14 @@
164
164
 
165
165
  &__children {
166
166
  font-weight: 600;
167
- padding: getSpacer(3xs) 0;
167
+ padding: spacers.getSpacer(3xs) 0;
168
168
 
169
169
  &--with-label {
170
170
  font-weight: 500;
171
171
  }
172
172
 
173
173
  &--expander-no-label {
174
- margin: getSpacer(2xs) 0 0;
174
+ margin: spacers.getSpacer(2xs) 0 0;
175
175
 
176
176
  @media (max-width: map.get($grid-breakpoints, lg)) {
177
177
  padding-top: 0;
@@ -188,7 +188,7 @@
188
188
  }
189
189
 
190
190
  &--with-content {
191
- padding-bottom: getSpacer(xs);
191
+ padding-bottom: spacers.getSpacer(xs);
192
192
  }
193
193
  }
194
194
 
@@ -1,22 +1,22 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
4
- @import '../../scss/palette';
5
- @import '../../scss/font-settings';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/palette' as palette;
4
+ @use '../../scss/font-settings' as font-settings;
5
+ @use '../../scss/breakpoints' as *;
6
6
 
7
7
  @mixin panel-padding {
8
- padding: getSpacer(s);
8
+ padding: spacers.getSpacer(s);
9
9
 
10
10
  @media (min-width: map.get($grid-breakpoints, md)) {
11
- padding: getSpacer(l) getSpacer(m) getSpacer(l) getSpacer(l);
11
+ padding: spacers.getSpacer(l) spacers.getSpacer(m) spacers.getSpacer(l) spacers.getSpacer(l);
12
12
  }
13
13
  }
14
14
 
15
15
  @mixin panel-padding-icon {
16
- padding: getSpacer(m) getSpacer(s) getSpacer(l);
16
+ padding: spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l);
17
17
 
18
18
  @media (min-width: map.get($grid-breakpoints, md)) {
19
- padding: getSpacer(m) getSpacer(m) getSpacer(l);
19
+ padding: spacers.getSpacer(m) spacers.getSpacer(m) spacers.getSpacer(l);
20
20
  }
21
21
  }
22
22
 
@@ -30,8 +30,8 @@
30
30
  }
31
31
  }
32
32
 
33
- $layout-sm-gap: getSpacer(s);
34
- $layout-md-col-gap: getSpacer(m);
33
+ $layout-sm-gap: spacers.getSpacer(s);
34
+ $layout-md-col-gap: spacers.getSpacer(m);
35
35
 
36
36
  .panel-wrapper {
37
37
  width: 100%;
@@ -173,13 +173,13 @@ $layout-md-col-gap: getSpacer(m);
173
173
  &--layout-2 {
174
174
  @media (min-width: map.get($grid-breakpoints, md)) {
175
175
  grid-row: span 2;
176
- padding-right: getSpacer(2xs);
176
+ padding-right: spacers.getSpacer(2xs);
177
177
  }
178
178
  }
179
179
 
180
180
  @media (min-width: map.get($grid-breakpoints, lg)) {
181
181
  grid-row: span 2;
182
- padding-right: getSpacer(2xs);
182
+ padding-right: spacers.getSpacer(2xs);
183
183
  }
184
184
 
185
185
  &--layout-3 {
@@ -234,63 +234,63 @@ $layout-md-col-gap: getSpacer(m);
234
234
  }
235
235
 
236
236
  &--fill {
237
- background-color: $neutral50;
237
+ background-color: palette.$neutral50;
238
238
  }
239
239
 
240
240
  &--fill#{&}--selected {
241
- background-color: $neutral100;
241
+ background-color: palette.$neutral100;
242
242
  }
243
243
 
244
244
  &--fill#{&}--selected#{&}--clickable {
245
245
  &:hover {
246
- background-color: $neutral200;
246
+ background-color: palette.$neutral200;
247
247
  }
248
248
  }
249
249
 
250
250
  &--white {
251
- background-color: $white;
251
+ background-color: palette.$white;
252
252
  }
253
253
 
254
254
  &--fill#{&}--clickable,
255
255
  &--white#{&}--clickable {
256
- @include hover-and-focus-effects($neutral100, $neutral600);
256
+ @include hover-and-focus-effects(palette.$neutral100, palette.$neutral600);
257
257
  }
258
258
 
259
259
  &--white#{&}--selected {
260
- box-shadow: inset 0 0 0 6px $neutral100;
260
+ box-shadow: inset 0 0 0 6px palette.$neutral100;
261
261
  }
262
262
 
263
263
  &--stroke {
264
- border: 6px solid $neutral100;
264
+ border: 6px solid palette.$neutral100;
265
265
  }
266
266
 
267
267
  &--stroke#{&}--clickable {
268
- @include hover-and-focus-effects($neutral50, $neutral100);
268
+ @include hover-and-focus-effects(palette.$neutral50, palette.$neutral100);
269
269
 
270
270
  &:focus {
271
- border-color: $neutral600;
271
+ border-color: palette.$neutral600;
272
272
  }
273
273
  }
274
274
 
275
275
  &--line {
276
- background-color: $white;
277
- border-color: $neutral500;
276
+ background-color: palette.$white;
277
+ border-color: palette.$neutral500;
278
278
  border-top: 1px solid;
279
279
  border-bottom: 1px solid;
280
280
  }
281
281
 
282
282
  &--line#{&}--clickable {
283
- @include hover-and-focus-effects($neutral50, $neutral600);
283
+ @include hover-and-focus-effects(palette.$neutral50, palette.$neutral600);
284
284
  }
285
285
 
286
286
  &--line#{&}--selected {
287
- background-color: $neutral50;
287
+ background-color: palette.$neutral50;
288
288
  border-bottom: 0;
289
289
  }
290
290
 
291
291
  &--line#{&}--selected#{&}--clickable {
292
292
  &:hover {
293
- background-color: $neutral100;
293
+ background-color: palette.$neutral100;
294
294
  }
295
295
  }
296
296
 
@@ -316,26 +316,26 @@ $layout-md-col-gap: getSpacer(m);
316
316
 
317
317
  &--new {
318
318
  &::before {
319
- border-left-color: $blueberry600;
319
+ border-left-color: palette.$blueberry600;
320
320
  }
321
321
  }
322
322
 
323
323
  &--draft {
324
324
  &::before {
325
325
  border-left-style: dashed;
326
- border-left-color: $neutral500;
326
+ border-left-color: palette.$neutral500;
327
327
  }
328
328
  }
329
329
 
330
330
  &--error {
331
331
  &::before {
332
- border-left-color: $cherry500;
332
+ border-left-color: palette.$cherry500;
333
333
  }
334
334
  }
335
335
  }
336
336
 
337
337
  .title-container {
338
- padding-bottom: getSpacer(s);
338
+ padding-bottom: spacers.getSpacer(s);
339
339
 
340
340
  &--no-content-a {
341
341
  padding-bottom: 0;
@@ -346,7 +346,7 @@ $layout-md-col-gap: getSpacer(m);
346
346
  display: inline;
347
347
 
348
348
  &--badge {
349
- padding-right: getSpacer(2xs);
349
+ padding-right: spacers.getSpacer(2xs);
350
350
  }
351
351
  }
352
352
 
@@ -358,7 +358,7 @@ $layout-md-col-gap: getSpacer(m);
358
358
  }
359
359
 
360
360
  .panel-details {
361
- background-color: $neutral50;
361
+ background-color: palette.$neutral50;
362
362
  display: none;
363
363
 
364
364
  @include panel-padding;
@@ -374,30 +374,30 @@ $layout-md-col-gap: getSpacer(m);
374
374
  }
375
375
 
376
376
  &--line {
377
- background: $white;
378
- border-bottom: 1px solid $neutral500;
377
+ background: palette.$white;
378
+ border-bottom: 1px solid palette.$neutral500;
379
379
  }
380
380
 
381
381
  &--white {
382
- background: $white;
382
+ background: palette.$white;
383
383
  }
384
384
  }
385
385
 
386
386
  .status-message {
387
- font-size: $font-size-sm;
388
- color: $cherry500;
387
+ font-size: font-settings.$font-size-sm;
388
+ color: palette.$cherry500;
389
389
  display: flex;
390
- margin-bottom: getSpacer(2xs) * -1;
390
+ margin-bottom: spacers.getSpacer(2xs) * -1;
391
391
  grid-column: 1 / -1;
392
392
 
393
393
  span {
394
394
  padding-left: 5px;
395
395
  align-self: center;
396
- font-size: $font-size-sm;
396
+ font-size: font-settings.$font-size-sm;
397
397
  }
398
398
 
399
399
  &--new {
400
- color: $blueberry800;
400
+ color: palette.$blueberry800;
401
401
  }
402
402
  }
403
403
 
@@ -410,24 +410,24 @@ $layout-md-col-gap: getSpacer(m);
410
410
  flex-direction: column;
411
411
 
412
412
  @media (min-width: map.get($grid-breakpoints, lg)) {
413
- padding-top: getSpacer(xs);
413
+ padding-top: spacers.getSpacer(xs);
414
414
  flex-direction: row;
415
415
  }
416
416
 
417
417
  &__icon {
418
418
  display: flex;
419
419
  align-items: center;
420
- padding-bottom: getSpacer(2xs);
420
+ padding-bottom: spacers.getSpacer(2xs);
421
421
 
422
422
  @media (min-width: map.get($grid-breakpoints, lg)) {
423
423
  padding-top: 0;
424
- padding-right: getSpacer(m);
424
+ padding-right: spacers.getSpacer(m);
425
425
  padding-bottom: 0;
426
426
  }
427
427
 
428
428
  span {
429
- padding-left: getSpacer(2xs);
430
- font-size: $font-size-sm;
429
+ padding-left: spacers.getSpacer(2xs);
430
+ font-size: font-settings.$font-size-sm;
431
431
  }
432
432
  }
433
433
  }
@@ -1,14 +1,14 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
4
- @import '../../scss/palette';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/palette' as palette;
4
+ @use '../../scss/breakpoints' as *;
5
5
 
6
6
  .panel-list {
7
7
  &__panel:not(:last-child) {
8
- margin-bottom: getSpacer(2xs);
8
+ margin-bottom: spacers.getSpacer(2xs);
9
9
 
10
10
  @media (min-width: map.get($grid-breakpoints, md)) {
11
- margin-bottom: getSpacer(s);
11
+ margin-bottom: spacers.getSpacer(s);
12
12
  }
13
13
  }
14
14
  }