@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
@@ -1,22 +1,22 @@
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/breakpoints' as breakpoints;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
6
 
7
7
  @mixin panel-padding {
8
- padding: spacers.getSpacer(s);
8
+ padding: getSpacer(s);
9
9
 
10
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
11
- padding: spacers.getSpacer(l) spacers.getSpacer(m) spacers.getSpacer(l) spacers.getSpacer(l);
10
+ @media (min-width: map.get($grid-breakpoints, md)) {
11
+ padding: getSpacer(l) getSpacer(m) getSpacer(l) getSpacer(l);
12
12
  }
13
13
  }
14
14
 
15
15
  @mixin panel-padding-icon {
16
- padding: spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l);
16
+ padding: getSpacer(m) getSpacer(s) getSpacer(l);
17
17
 
18
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
19
- padding: spacers.getSpacer(m) spacers.getSpacer(m) spacers.getSpacer(l);
18
+ @media (min-width: map.get($grid-breakpoints, md)) {
19
+ padding: getSpacer(m) getSpacer(m) getSpacer(l);
20
20
  }
21
21
  }
22
22
 
@@ -30,8 +30,8 @@
30
30
  }
31
31
  }
32
32
 
33
- $layout-sm-gap: spacers.getSpacer(s);
34
- $layout-md-col-gap: spacers.getSpacer(m);
33
+ $layout-sm-gap: getSpacer(s);
34
+ $layout-md-col-gap: getSpacer(m);
35
35
 
36
36
  .panel-wrapper {
37
37
  width: 100%;
@@ -58,7 +58,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
58
58
  gap: $layout-sm-gap $layout-sm-gap;
59
59
  width: 100%;
60
60
 
61
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
61
+ @media (min-width: map.get($grid-breakpoints, md)) {
62
62
  column-gap: $layout-md-col-gap;
63
63
  }
64
64
  }
@@ -68,7 +68,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
68
68
  grid-template-columns: auto 1fr;
69
69
  }
70
70
 
71
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
71
+ @media (min-width: map.get($grid-breakpoints, md)) {
72
72
  grid-template-rows: auto auto;
73
73
  grid-template-columns: 1fr auto;
74
74
 
@@ -87,7 +87,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
87
87
  grid-template-columns: auto 1fr;
88
88
  }
89
89
 
90
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
90
+ @media (min-width: map.get($grid-breakpoints, md)) {
91
91
  grid-template-rows: auto auto;
92
92
  grid-template-columns: 1fr auto;
93
93
 
@@ -104,7 +104,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
104
104
  }
105
105
  }
106
106
 
107
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
107
+ @media (min-width: map.get($grid-breakpoints, lg)) {
108
108
  grid-template-columns: minmax(auto, 760px) auto;
109
109
 
110
110
  &--with-icon {
@@ -123,7 +123,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
123
123
  row-gap: $layout-sm-gap;
124
124
  }
125
125
 
126
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
126
+ @media (min-width: map.get($grid-breakpoints, lg)) {
127
127
  grid-template-rows: auto;
128
128
 
129
129
  &--a {
@@ -171,21 +171,21 @@ $layout-md-col-gap: spacers.getSpacer(m);
171
171
 
172
172
  &--layout-1,
173
173
  &--layout-2 {
174
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
174
+ @media (min-width: map.get($grid-breakpoints, md)) {
175
175
  grid-row: span 2;
176
- padding-right: spacers.getSpacer(2xs);
176
+ padding-right: getSpacer(2xs);
177
177
  }
178
178
  }
179
179
 
180
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
180
+ @media (min-width: map.get($grid-breakpoints, lg)) {
181
181
  grid-row: span 2;
182
- padding-right: spacers.getSpacer(2xs);
182
+ padding-right: getSpacer(2xs);
183
183
  }
184
184
 
185
185
  &--layout-3 {
186
186
  grid-row: span 2;
187
187
 
188
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
188
+ @media (min-width: map.get($grid-breakpoints, lg)) {
189
189
  grid-row: span 1;
190
190
  }
191
191
  }
@@ -203,7 +203,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
203
203
  justify-content: flex-end;
204
204
 
205
205
  &--no-content-b {
206
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
206
+ @media (min-width: map.get($grid-breakpoints, lg)) {
207
207
  flex-direction: row;
208
208
  grid-column: span 2;
209
209
  }
@@ -217,7 +217,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
217
217
  &__details-btn {
218
218
  align-self: flex-start;
219
219
 
220
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
220
+ @media (min-width: map.get($grid-breakpoints, lg)) {
221
221
  align-self: flex-end;
222
222
  margin-left: auto;
223
223
  }
@@ -234,63 +234,63 @@ $layout-md-col-gap: spacers.getSpacer(m);
234
234
  }
235
235
 
236
236
  &--fill {
237
- background-color: palette.$neutral50;
237
+ background-color: $neutral50;
238
238
  }
239
239
 
240
240
  &--fill#{&}--selected {
241
- background-color: palette.$neutral100;
241
+ background-color: $neutral100;
242
242
  }
243
243
 
244
244
  &--fill#{&}--selected#{&}--clickable {
245
245
  &:hover {
246
- background-color: palette.$neutral200;
246
+ background-color: $neutral200;
247
247
  }
248
248
  }
249
249
 
250
250
  &--white {
251
- background-color: palette.$white;
251
+ background-color: $white;
252
252
  }
253
253
 
254
254
  &--fill#{&}--clickable,
255
255
  &--white#{&}--clickable {
256
- @include hover-and-focus-effects(palette.$neutral100, palette.$neutral600);
256
+ @include hover-and-focus-effects($neutral100, $neutral600);
257
257
  }
258
258
 
259
259
  &--white#{&}--selected {
260
- box-shadow: inset 0 0 0 6px palette.$neutral100;
260
+ box-shadow: inset 0 0 0 6px $neutral100;
261
261
  }
262
262
 
263
263
  &--stroke {
264
- border: 6px solid palette.$neutral100;
264
+ border: 6px solid $neutral100;
265
265
  }
266
266
 
267
267
  &--stroke#{&}--clickable {
268
- @include hover-and-focus-effects(palette.$neutral50, palette.$neutral100);
268
+ @include hover-and-focus-effects($neutral50, $neutral100);
269
269
 
270
270
  &:focus {
271
- border-color: palette.$neutral600;
271
+ border-color: $neutral600;
272
272
  }
273
273
  }
274
274
 
275
275
  &--line {
276
- background-color: palette.$white;
277
- border-color: palette.$neutral500;
276
+ background-color: $white;
277
+ border-color: $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(palette.$neutral50, palette.$neutral600);
283
+ @include hover-and-focus-effects($neutral50, $neutral600);
284
284
  }
285
285
 
286
286
  &--line#{&}--selected {
287
- background-color: palette.$neutral50;
287
+ background-color: $neutral50;
288
288
  border-bottom: 0;
289
289
  }
290
290
 
291
291
  &--line#{&}--selected#{&}--clickable {
292
292
  &:hover {
293
- background-color: palette.$neutral100;
293
+ background-color: $neutral100;
294
294
  }
295
295
  }
296
296
 
@@ -316,26 +316,26 @@ $layout-md-col-gap: spacers.getSpacer(m);
316
316
 
317
317
  &--new {
318
318
  &::before {
319
- border-left-color: palette.$blueberry600;
319
+ border-left-color: $blueberry600;
320
320
  }
321
321
  }
322
322
 
323
323
  &--draft {
324
324
  &::before {
325
325
  border-left-style: dashed;
326
- border-left-color: palette.$neutral500;
326
+ border-left-color: $neutral500;
327
327
  }
328
328
  }
329
329
 
330
330
  &--error {
331
331
  &::before {
332
- border-left-color: palette.$cherry500;
332
+ border-left-color: $cherry500;
333
333
  }
334
334
  }
335
335
  }
336
336
 
337
337
  .title-container {
338
- padding-bottom: spacers.getSpacer(s);
338
+ padding-bottom: getSpacer(s);
339
339
 
340
340
  &--no-content-a {
341
341
  padding-bottom: 0;
@@ -346,11 +346,11 @@ $layout-md-col-gap: spacers.getSpacer(m);
346
346
  display: inline;
347
347
 
348
348
  &--badge {
349
- padding-right: spacers.getSpacer(2xs);
349
+ padding-right: getSpacer(2xs);
350
350
  }
351
351
  }
352
352
 
353
- @media (max-width: map.get(breakpoints.$grid-max-breakpoints, xs)) {
353
+ @media (max-width: map.get($grid-max-breakpoints, xs)) {
354
354
  display: flex;
355
355
  justify-content: space-between;
356
356
  align-items: center;
@@ -358,7 +358,7 @@ $layout-md-col-gap: spacers.getSpacer(m);
358
358
  }
359
359
 
360
360
  .panel-details {
361
- background-color: palette.$neutral50;
361
+ background-color: $neutral50;
362
362
  display: none;
363
363
 
364
364
  @include panel-padding;
@@ -374,30 +374,30 @@ $layout-md-col-gap: spacers.getSpacer(m);
374
374
  }
375
375
 
376
376
  &--line {
377
- background: palette.$white;
378
- border-bottom: 1px solid palette.$neutral500;
377
+ background: $white;
378
+ border-bottom: 1px solid $neutral500;
379
379
  }
380
380
 
381
381
  &--white {
382
- background: palette.$white;
382
+ background: $white;
383
383
  }
384
384
  }
385
385
 
386
386
  .status-message {
387
- font-size: font-settings.$font-size-sm;
388
- color: palette.$cherry500;
387
+ font-size: $font-size-sm;
388
+ color: $cherry500;
389
389
  display: flex;
390
- margin-bottom: spacers.getSpacer(2xs) * -1;
390
+ margin-bottom: 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-settings.$font-size-sm;
396
+ font-size: $font-size-sm;
397
397
  }
398
398
 
399
399
  &--new {
400
- color: palette.$blueberry800;
400
+ color: $blueberry800;
401
401
  }
402
402
  }
403
403
 
@@ -409,25 +409,25 @@ $layout-md-col-gap: spacers.getSpacer(m);
409
409
  display: flex;
410
410
  flex-direction: column;
411
411
 
412
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
413
- padding-top: spacers.getSpacer(xs);
412
+ @media (min-width: map.get($grid-breakpoints, lg)) {
413
+ padding-top: 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: spacers.getSpacer(2xs);
420
+ padding-bottom: getSpacer(2xs);
421
421
 
422
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
422
+ @media (min-width: map.get($grid-breakpoints, lg)) {
423
423
  padding-top: 0;
424
- padding-right: spacers.getSpacer(m);
424
+ padding-right: getSpacer(m);
425
425
  padding-bottom: 0;
426
426
  }
427
427
 
428
428
  span {
429
- padding-left: spacers.getSpacer(2xs);
430
- font-size: font-settings.$font-size-sm;
429
+ padding-left: getSpacer(2xs);
430
+ font-size: $font-size-sm;
431
431
  }
432
432
  }
433
433
  }
@@ -1,14 +1,14 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/spacers' as spacers;
3
- @use '../../scss/palette' as palette;
4
- @use '../../scss/breakpoints' as breakpoints;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
5
 
6
6
  .panel-list {
7
7
  &__panel:not(:last-child) {
8
- margin-bottom: spacers.getSpacer(2xs);
8
+ margin-bottom: getSpacer(2xs);
9
9
 
10
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
11
- margin-bottom: spacers.getSpacer(s);
10
+ @media (min-width: map.get($grid-breakpoints, md)) {
11
+ margin-bottom: getSpacer(s);
12
12
  }
13
13
  }
14
14
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/palette' as palette;
3
- @use '../../scss/breakpoints' as breakpoints;
2
+ @import '../../scss/palette';
3
+ @import '../../scss/breakpoints';
4
4
 
5
5
  .pop-menu-button {
6
6
  padding: 0;
@@ -14,7 +14,7 @@
14
14
  min-width: 3rem;
15
15
 
16
16
  &:focus {
17
- border: 0.1875rem solid palette.$black;
17
+ border: 0.1875rem solid $black;
18
18
  box-shadow: none;
19
19
  outline: none;
20
20
  }
@@ -40,12 +40,12 @@ html :focus > .pop-menu-button {
40
40
  }
41
41
 
42
42
  &:active {
43
- background-color: palette.$neutral50;
43
+ background-color: $neutral50;
44
44
  border: none;
45
45
  }
46
46
 
47
47
  &:hover {
48
- background-color: palette.$neutral50;
48
+ background-color: $neutral50;
49
49
  }
50
50
 
51
51
  &:active:hover {
@@ -53,8 +53,8 @@ html :focus > .pop-menu-button {
53
53
  }
54
54
 
55
55
  &:active:focus {
56
- background-color: palette.$neutral50;
57
- border: 0.1875rem solid palette.$black;
56
+ background-color: $neutral50;
57
+ border: 0.1875rem solid $black;
58
58
  }
59
59
  }
60
60
 
@@ -64,12 +64,12 @@ html :focus > .pop-menu-button {
64
64
  }
65
65
 
66
66
  &:active {
67
- background-color: palette.$neutral100;
67
+ background-color: $neutral100;
68
68
  border: none;
69
69
  }
70
70
 
71
71
  &:hover {
72
- background-color: palette.$neutral100;
72
+ background-color: $neutral100;
73
73
  }
74
74
 
75
75
  &:active:hover {
@@ -77,8 +77,8 @@ html :focus > .pop-menu-button {
77
77
  }
78
78
 
79
79
  &:active:focus {
80
- background-color: palette.$neutral100;
81
- border: 0.1875rem solid palette.$black;
80
+ background-color: $neutral100;
81
+ border: 0.1875rem solid $black;
82
82
  }
83
83
  }
84
84
 
@@ -88,12 +88,12 @@ html :focus > .pop-menu-button {
88
88
  }
89
89
 
90
90
  &:active {
91
- background-color: palette.$blueberry100;
91
+ background-color: $blueberry100;
92
92
  border: none;
93
93
  }
94
94
 
95
95
  &:hover {
96
- background-color: palette.$blueberry100;
96
+ background-color: $blueberry100;
97
97
  }
98
98
 
99
99
  &:active:hover {
@@ -101,8 +101,8 @@ html :focus > .pop-menu-button {
101
101
  }
102
102
 
103
103
  &:active:focus {
104
- background-color: palette.$blueberry100;
105
- border: 0.1875rem solid palette.$black;
104
+ background-color: $blueberry100;
105
+ border: 0.1875rem solid $black;
106
106
  }
107
107
  }
108
108
 
@@ -111,7 +111,7 @@ html :focus > .pop-menu-button {
111
111
  border: 0.125rem solid rgb(24 128 151);
112
112
  box-shadow: 0 0 0.3125rem 0 rgb(0 0 0 / 50%);
113
113
 
114
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
114
+ @media (min-width: map.get($grid-breakpoints, md)) {
115
115
  width: 26.125rem;
116
116
  }
117
117
 
@@ -1,8 +1,9 @@
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/breakpoints' as breakpoints;
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
+ @import '../AnchorLink/styles.module';
6
7
 
7
8
  .popover {
8
9
  $popover: &;
@@ -13,18 +14,18 @@
13
14
  max-width: 23.3125rem;
14
15
  text-align: start;
15
16
  font-family: inherit;
16
- font-size: font-settings.$font-size-sm;
17
- line-height: font-settings.$lineheight-size-sm;
18
- background-color: palette.$white;
17
+ font-size: $font-size-sm;
18
+ line-height: $lineheight-size-sm;
19
+ background-color: $white;
19
20
  z-index: 3;
20
21
  visibility: hidden;
21
- border: spacers.getSpacer(4xs) solid palette.$plum600;
22
+ border: getSpacer(4xs) solid $plum600;
22
23
  border-radius: 0.5625rem;
23
24
  box-shadow: 0 0.125rem 1.125rem 0 rgb(0 0 0 / 15%);
24
25
 
25
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
26
- font-size: font-settings.$font-size-md;
27
- line-height: font-settings.$lineheight-size-md;
26
+ @media (min-width: map.get($grid-breakpoints, lg)) {
27
+ font-size: $font-size-md;
28
+ line-height: $lineheight-size-md;
28
29
  }
29
30
 
30
31
  &--visible {
@@ -32,7 +33,7 @@
32
33
  }
33
34
 
34
35
  &__arrow {
35
- --drop-shadow-color: #{palette.$plum600};
36
+ --drop-shadow-color: #{$plum600};
36
37
 
37
38
  width: 0;
38
39
  height: 0;
@@ -44,14 +45,14 @@
44
45
 
45
46
  &--over {
46
47
  border-width: 0.625rem;
47
- border-bottom-color: palette.$white;
48
+ border-bottom-color: $white;
48
49
  filter: drop-shadow(var(--drop-shadow-color) 0 0.125rem 0.375rem 0.125rem);
49
50
  filter: drop-shadow(0 -0.185rem 0 var(--drop-shadow-color));
50
51
  }
51
52
 
52
53
  &--under {
53
54
  border-width: 0.625rem;
54
- border-top-color: palette.$white;
55
+ border-top-color: $white;
55
56
  filter: drop-shadow(var(--drop-shadow-color) 0 0.125rem 0.375rem 0.125rem);
56
57
  filter: drop-shadow(0 0.2rem 0 var(--drop-shadow-color));
57
58
  }
@@ -1,4 +1,7 @@
1
1
  export type Styles = {
2
+ anchorlink: string;
3
+ anchorlink__icon: string;
4
+ 'anchorlink-wrapper': string;
2
5
  popover: string;
3
6
  popover__arrow: string;
4
7
  'popover__arrow--over': string;
@@ -1,5 +1,5 @@
1
- @use '../../scss/palette' as palette;
2
- @use '../../scss/screen-reader' as *;
1
+ @import '../../scss/palette';
2
+ @import '../../scss/screen-reader';
3
3
 
4
4
  .progressbar {
5
5
  &__svg {
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  &--overlay-screen {
23
- background: palette.$transparent-grey;
23
+ background: $transparent-grey;
24
24
  position: fixed;
25
25
  inset: 0;
26
26
  }
@@ -29,7 +29,7 @@
29
29
  position: absolute;
30
30
  top: 0;
31
31
  left: 0;
32
- background: palette.$transparent-grey;
32
+ background: $transparent-grey;
33
33
  height: 100%;
34
34
  width: 100%;
35
35
  }
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/palette' as palette;
3
- @use '../../scss/spacers' as spacers;
4
- @use '../../scss/breakpoints' as breakpoints;
2
+ @import '../../scss/palette';
3
+ @import '../../scss/spacers';
4
+ @import '../../scss/breakpoints';
5
5
 
6
6
  $colors: 'neutral', 'blueberry', 'cherry';
7
7
 
@@ -11,42 +11,42 @@ $colors: 'neutral', 'blueberry', 'cherry';
11
11
  display: flex;
12
12
  align-items: center;
13
13
  border-radius: 8px;
14
- padding-left: spacers.getSpacer(s);
15
- padding-right: spacers.getSpacer(2xs);
14
+ padding-left: getSpacer(s);
15
+ padding-right: getSpacer(2xs);
16
16
  transition: background-color 0.15s ease-in-out;
17
17
 
18
18
  &:focus-within {
19
19
  box-shadow:
20
- 0 0 0 2px palette.$black,
21
- inset 0 0 0 2px palette.$black;
20
+ 0 0 0 2px $black,
21
+ inset 0 0 0 2px $black;
22
22
  }
23
23
 
24
- @media (min-width: map.get(breakpoints.$grid-breakpoints, xs)) {
24
+ @media (min-width: map.get($grid-breakpoints, xs)) {
25
25
  padding-left: 0;
26
26
  }
27
27
 
28
- @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
29
- padding-right: spacers.getSpacer(s);
28
+ @media (min-width: map.get($grid-breakpoints, sm)) {
29
+ padding-right: getSpacer(s);
30
30
  }
31
31
 
32
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
33
- padding-right: spacers.getSpacer(l);
32
+ @media (min-width: map.get($grid-breakpoints, md)) {
33
+ padding-right: getSpacer(l);
34
34
  }
35
35
 
36
36
  &--no-illustration {
37
- padding-left: spacers.getSpacer(s);
37
+ padding-left: getSpacer(s);
38
38
 
39
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
40
- padding-left: spacers.getSpacer(l);
39
+ @media (min-width: map.get($grid-breakpoints, md)) {
40
+ padding-left: getSpacer(l);
41
41
  }
42
42
  }
43
43
 
44
44
  @each $color in $colors {
45
45
  &--#{$color} {
46
- background-color: map.get(palette.$palette-map, #{$color}50);
46
+ background-color: map.get($palette-map, #{$color}50);
47
47
 
48
48
  &:hover {
49
- background-color: map.get(palette.$palette-map, #{$color}100);
49
+ background-color: map.get($palette-map, #{$color}100);
50
50
  }
51
51
  }
52
52
  }
@@ -54,7 +54,7 @@ $colors: 'neutral', 'blueberry', 'cherry';
54
54
  &__illustration {
55
55
  display: none;
56
56
 
57
- @media (min-width: map.get(breakpoints.$grid-breakpoints, xs)) {
57
+ @media (min-width: map.get($grid-breakpoints, xs)) {
58
58
  display: inline;
59
59
  }
60
60
  }
@@ -63,14 +63,14 @@ $colors: 'neutral', 'blueberry', 'cherry';
63
63
  display: flex;
64
64
  flex-direction: column;
65
65
  flex-grow: 1;
66
- gap: spacers.getSpacer(3xs);
67
- padding-top: spacers.getSpacer(m);
68
- padding-bottom: spacers.getSpacer(m);
69
-
70
- @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
71
- gap: spacers.getSpacer(2xs);
72
- padding-top: spacers.getSpacer(l);
73
- padding-bottom: spacers.getSpacer(l);
66
+ gap: getSpacer(3xs);
67
+ padding-top: getSpacer(m);
68
+ padding-bottom: getSpacer(m);
69
+
70
+ @media (min-width: map.get($grid-breakpoints, md)) {
71
+ gap: getSpacer(2xs);
72
+ padding-top: getSpacer(l);
73
+ padding-bottom: getSpacer(l);
74
74
  }
75
75
 
76
76
  a,
@@ -87,14 +87,14 @@ $colors: 'neutral', 'blueberry', 'cherry';
87
87
  }
88
88
 
89
89
  &__icon {
90
- margin-left: spacers.getSpacer(xs);
90
+ margin-left: getSpacer(xs);
91
91
 
92
- @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
93
- margin-left: spacers.getSpacer(s);
92
+ @media (min-width: map.get($grid-breakpoints, sm)) {
93
+ margin-left: getSpacer(s);
94
94
  }
95
95
 
96
- @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
97
- margin-left: spacers.getSpacer(l);
96
+ @media (min-width: map.get($grid-breakpoints, lg)) {
97
+ margin-left: getSpacer(l);
98
98
  }
99
99
  }
100
100
  }