@helsenorge/designsystem-react 10.5.0 → 10.6.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 (62) hide show
  1. package/CHANGELOG.md +852 -1397
  2. package/Trigger.js.map +1 -1
  3. package/components/AnchorLink/styles.module.scss +0 -1
  4. package/components/Button/styles.module.scss +13 -13
  5. package/components/Checkbox/styles.module.scss +2 -2
  6. package/components/Chip/styles.module.scss +0 -1
  7. package/components/Close/styles.module.scss +2 -2
  8. package/components/Drawer/styles.module.scss +12 -12
  9. package/components/Dropdown/index.js +9 -6
  10. package/components/Dropdown/index.js.map +1 -1
  11. package/components/Dropdown/styles.module.scss +5 -5
  12. package/components/Duolist/styles.module.scss +2 -2
  13. package/components/EmptyState/styles.module.scss +5 -5
  14. package/components/ErrorWrapper/styles.module.scss +2 -2
  15. package/components/Expander/styles.module.scss +8 -8
  16. package/components/ExpanderHierarchy/expander.module.scss +7 -7
  17. package/components/ExpanderList/styles.module.scss +3 -3
  18. package/components/FormGroup/styles.module.scss +1 -1
  19. package/components/HelpBubble/styles.module.scss +2 -2
  20. package/components/HelpQuestion/styles.module.scss +2 -2
  21. package/components/HighlightPanel/styles.module.scss +2 -2
  22. package/components/HorizontalScroll/styles.module.scss +1 -1
  23. package/components/Input/styles.module.scss +3 -3
  24. package/components/Label/styles.module.scss +2 -2
  25. package/components/LinkList/styles.module.scss +3 -3
  26. package/components/ListHeader/styles.module.scss +1 -1
  27. package/components/MaxCharacters/styles.module.scss +2 -2
  28. package/components/Modal/styles.module.scss +16 -16
  29. package/components/NotificationPanel/styles.module.scss +8 -8
  30. package/components/Panel/styles.module.scss +16 -16
  31. package/components/PanelList/styles.module.scss +2 -2
  32. package/components/PopMenu/index.js.map +1 -1
  33. package/components/PopMenu/styles.module.scss +10 -4
  34. package/components/PopOver/styles.module.scss +2 -2
  35. package/components/PromoPanel/styles.module.scss +9 -9
  36. package/components/RadioButton/styles.module.scss +2 -2
  37. package/components/Select/styles.module.scss +3 -3
  38. package/components/ServiceMessage/styles.module.scss +1 -1
  39. package/components/SharingStatus/styles.module.scss +1 -1
  40. package/components/Slider/styles.module.scss +2 -2
  41. package/components/StatusDot/styles.module.scss +3 -3
  42. package/components/StepButtons/styles.module.scss +3 -3
  43. package/components/Stepper/styles.module.scss +2 -2
  44. package/components/StickyNote/styles.module.scss +1 -1
  45. package/components/Table/styles.module.scss +1 -1
  46. package/components/Tabs/TabList/styles.module.scss +2 -2
  47. package/components/Tabs/TabPanel/styles.module.scss +3 -3
  48. package/components/Tabs/styles.module.scss +3 -3
  49. package/components/Tag/styles.module.scss +1 -1
  50. package/components/TagList/styles.module.scss +1 -1
  51. package/components/Textarea/styles.module.scss +1 -1
  52. package/components/Tile/styles.module.scss +7 -7
  53. package/components/Toggle/styles.module.scss +5 -5
  54. package/components/Trigger/Trigger.d.ts +1 -0
  55. package/components/Validation/styles.module.scss +2 -2
  56. package/package.json +1 -1
  57. package/scss/_font-mixins.scss +21 -21
  58. package/scss/_input.scss +2 -2
  59. package/scss/_print.scss +3 -3
  60. package/scss/_reset.scss +1 -1
  61. package/scss/helsenorge.scss +7 -7
  62. package/scss/typography.module.scss +4 -4
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '../../scss/palette' as palette;
3
3
  @use '../../scss/spacers' as spacers;
4
- @use '../../scss/breakpoints' as *;
4
+ @use '../../scss/breakpoints' as breakpoints;
5
5
 
6
6
  $colors: 'neutral', 'blueberry', 'cherry';
7
7
 
@@ -21,22 +21,22 @@ $colors: 'neutral', 'blueberry', 'cherry';
21
21
  inset 0 0 0 2px palette.$black;
22
22
  }
23
23
 
24
- @media (min-width: map.get($grid-breakpoints, xs)) {
24
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, xs)) {
25
25
  padding-left: 0;
26
26
  }
27
27
 
28
- @media (min-width: map.get($grid-breakpoints, sm)) {
28
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
29
29
  padding-right: spacers.getSpacer(s);
30
30
  }
31
31
 
32
- @media (min-width: map.get($grid-breakpoints, md)) {
32
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
33
33
  padding-right: spacers.getSpacer(l);
34
34
  }
35
35
 
36
36
  &--no-illustration {
37
37
  padding-left: spacers.getSpacer(s);
38
38
 
39
- @media (min-width: map.get($grid-breakpoints, md)) {
39
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
40
40
  padding-left: spacers.getSpacer(l);
41
41
  }
42
42
  }
@@ -54,7 +54,7 @@ $colors: 'neutral', 'blueberry', 'cherry';
54
54
  &__illustration {
55
55
  display: none;
56
56
 
57
- @media (min-width: map.get($grid-breakpoints, xs)) {
57
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, xs)) {
58
58
  display: inline;
59
59
  }
60
60
  }
@@ -67,7 +67,7 @@ $colors: 'neutral', 'blueberry', 'cherry';
67
67
  padding-top: spacers.getSpacer(m);
68
68
  padding-bottom: spacers.getSpacer(m);
69
69
 
70
- @media (min-width: map.get($grid-breakpoints, md)) {
70
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
71
71
  gap: spacers.getSpacer(2xs);
72
72
  padding-top: spacers.getSpacer(l);
73
73
  padding-bottom: spacers.getSpacer(l);
@@ -89,11 +89,11 @@ $colors: 'neutral', 'blueberry', 'cherry';
89
89
  &__icon {
90
90
  margin-left: spacers.getSpacer(xs);
91
91
 
92
- @media (min-width: map.get($grid-breakpoints, sm)) {
92
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
93
93
  margin-left: spacers.getSpacer(s);
94
94
  }
95
95
 
96
- @media (min-width: map.get($grid-breakpoints, lg)) {
96
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, lg)) {
97
97
  margin-left: spacers.getSpacer(l);
98
98
  }
99
99
  }
@@ -4,7 +4,7 @@
4
4
  @use '../../scss/spacers' as spacers;
5
5
  @use '../../scss/palette' as palette;
6
6
  @use '../../scss/font-settings' as font-settings;
7
- @use '../../scss/breakpoints' as *;
7
+ @use '../../scss/breakpoints' as breakpoints;
8
8
 
9
9
  @mixin dashed-border() {
10
10
  box-shadow: none;
@@ -163,7 +163,7 @@
163
163
  }
164
164
  }
165
165
 
166
- @media (min-width: map.get($grid-breakpoints, md)) {
166
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
167
167
  &__large {
168
168
  padding: 1.68rem spacers.getSpacer(l);
169
169
  }
@@ -2,7 +2,7 @@
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/breakpoints' as *;
5
+ @use '../../scss/breakpoints' as breakpoints;
6
6
 
7
7
  .select-wrapper {
8
8
  display: flex;
@@ -65,7 +65,7 @@
65
65
  line-height: font-settings.$lineheight-size-sm;
66
66
  border-radius: 0;
67
67
 
68
- @media (min-width: map.get($grid-breakpoints, md)) {
68
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
69
69
  height: 3.125rem;
70
70
  font-size: font-settings.$font-size-md;
71
71
  }
@@ -98,7 +98,7 @@
98
98
  font-family: inherit;
99
99
  font-size: font-settings.$font-size-sm;
100
100
 
101
- @media (min-width: map.get($grid-breakpoints, md)) {
101
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
102
102
  font-size: font-settings.$font-size-md;
103
103
  }
104
104
  }
@@ -2,7 +2,7 @@
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/breakpoints' as *;
5
+ @import '../../scss/breakpoints';
6
6
  @import '../../scss/grid';
7
7
 
8
8
  .service-message {
@@ -3,7 +3,7 @@
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
5
  @use '../../scss/screen-reader' as *;
6
- @use '../../scss/breakpoints' as *;
6
+ @use '../../scss/breakpoints' as breakpoints;
7
7
 
8
8
  $dot-size: 1.765rem;
9
9
 
@@ -1,8 +1,8 @@
1
1
  @use '../../scss/spacers' as spacers;
2
2
  @use '../../scss/palette' as palette;
3
3
  @use '../../scss/screen-reader' as *;
4
- @use '../../scss/breakpoints' as *;
5
- @import '../../scss/supernova/styles/colors';
4
+ @use '../../scss/breakpoints' as breakpoints;
5
+ @import '../../scss/supernova/styles/colors.css';
6
6
 
7
7
  $track-height-offset: 1rem;
8
8
  $mark-size: spacers.getSpacer(l);
@@ -3,7 +3,7 @@
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
5
  @use '../../scss/screen-reader' as *;
6
- @use '../../scss/breakpoints' as *;
6
+ @use '../../scss/breakpoints' as breakpoints;
7
7
 
8
8
  $status-dot-size: 0.937rem;
9
9
 
@@ -15,7 +15,7 @@ $status-dot-size: 0.937rem;
15
15
  line-height: 1.4rem;
16
16
  font-weight: 400;
17
17
 
18
- @media (min-width: map.get($grid-breakpoints, sm)) {
18
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
19
19
  font-size: font-settings.$font-size-sm;
20
20
  line-height: 1.6rem;
21
21
  }
@@ -37,7 +37,7 @@ $status-dot-size: 0.937rem;
37
37
  min-width: $status-dot-size;
38
38
  min-height: $status-dot-size;
39
39
 
40
- @media (min-width: map.get($grid-breakpoints, sm)) {
40
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
41
41
  top: spacers.getSpacer(3xs);
42
42
  }
43
43
 
@@ -2,7 +2,7 @@
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/screen-reader' as *;
5
- @use '../../scss/breakpoints' as *;
5
+ @use '../../scss/breakpoints' as breakpoints;
6
6
 
7
7
  .stepbuttons {
8
8
  margin-top: spacers.getSpacer(m);
@@ -21,7 +21,7 @@
21
21
  display: flex;
22
22
  gap: spacers.getSpacer(s);
23
23
 
24
- @media (max-width: map.get($grid-max-breakpoints, xs)) {
24
+ @media (max-width: map.get(breakpoints.$grid-max-breakpoints, xs)) {
25
25
  width: 100%;
26
26
  }
27
27
 
@@ -33,7 +33,7 @@
33
33
  &__button {
34
34
  &--back,
35
35
  &--forward {
36
- @media (max-width: map.get($grid-max-breakpoints, xs)) {
36
+ @media (max-width: map.get(breakpoints.$grid-max-breakpoints, xs)) {
37
37
  width: 50%;
38
38
  }
39
39
  }
@@ -2,14 +2,14 @@
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/breakpoints' as *;
5
+ @use '../../scss/breakpoints' as breakpoints;
6
6
 
7
7
  .stepper-wrapper {
8
8
  display: flex;
9
9
  align-items: center;
10
10
  min-height: spacers.getSpacer(l);
11
11
 
12
- @media (min-width: map.get($grid-breakpoints, md)) {
12
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
13
13
  min-height: spacers.getSpacer(xl);
14
14
  }
15
15
  }
@@ -1,5 +1,5 @@
1
1
  @use '../../scss/font-settings' as font-settings;
2
- @import '../../scss/supernova/styles/colors';
2
+ @import '../../scss/supernova/styles/colors.css';
3
3
 
4
4
  .sticky-note {
5
5
  position: relative;
@@ -4,7 +4,7 @@
4
4
  @use '../../scss/spacers' as spacers;
5
5
  @use '../../scss/palette' as palette;
6
6
  @use '../../scss/font-settings' as font-settings;
7
- @use '../../scss/breakpoints' as *;
7
+ @import '../../scss/breakpoints';
8
8
  @import '../../scss/grid';
9
9
 
10
10
  /* fix outline for Safari */
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '../../../scss/breakpoints' as *;
2
+ @use '../../../scss/breakpoints' as breakpoints;
3
3
  @import '../../../scss/supernova/styles/colors';
4
4
 
5
5
  .tab-list {
@@ -25,7 +25,7 @@
25
25
  display: none; /* Safari */
26
26
  }
27
27
 
28
- @media (min-width: map.get($grid-breakpoints, md)) {
28
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
29
29
  padding-left: 0;
30
30
  padding-right: 0;
31
31
 
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../scss/spacers' as spacers;
3
3
  @use '../../../scss/palette' as palette;
4
- @use '../../../scss/breakpoints' as *;
4
+ @use '../../../scss/breakpoints' as breakpoints;
5
5
  @import '../../../scss/supernova/styles/colors';
6
6
 
7
7
  .tab-panel {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  }
20
20
 
21
- @media (min-width: map.get($grid-breakpoints, md)) {
21
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
22
22
  border-radius: 0 0 0.5rem 0.5rem;
23
23
  border: 1px solid var(--color-action-border-onlight-focus);
24
24
  border-top: 0;
@@ -27,7 +27,7 @@
27
27
  &#{$tab-panel}--first {
28
28
  border-radius: 0;
29
29
 
30
- @media (min-width: map.get($grid-breakpoints, md)) {
30
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
31
31
  border-radius: 0 0 0.5rem 0.5rem;
32
32
  }
33
33
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
- @use '../../scss/breakpoints' as *;
3
- @import '../../scss/supernova/styles/colors';
2
+ @use '../../scss/breakpoints' as breakpoints;
3
+ @import '../../scss/supernova/styles/colors.css';
4
4
 
5
5
  .tab-list-wrapper {
6
6
  position: relative;
@@ -21,7 +21,7 @@
21
21
  border-radius: 0;
22
22
  height: 50px;
23
23
 
24
- @media (min-width: map.get($grid-breakpoints, md)) {
24
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
25
25
  border-right: 1px solid var(--color-action-border-onlight-focus);
26
26
  border-left: 1px solid var(--color-action-border-onlight-focus);
27
27
  height: 50px;
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
- @use '../../scss/breakpoints' as *;
4
+ @use '../../scss/breakpoints' as breakpoints;
5
5
 
6
6
  .tag {
7
7
  $tag: &;
@@ -1,6 +1,6 @@
1
1
  @use '../../scss/spacers' as spacers;
2
2
  @use '../../scss/palette' as palette;
3
- @use '../../scss/breakpoints' as *;
3
+ @use '../../scss/breakpoints' as breakpoints;
4
4
 
5
5
  .tag-list {
6
6
  all: unset;
@@ -2,7 +2,7 @@
2
2
  @use '../../scss/palette' as palette;
3
3
  @use '../../scss/font-mixins' as fonts;
4
4
  @use '../../scss/input' as input;
5
- @use '../../scss/breakpoints' as *;
5
+ @use '../../scss/breakpoints' as breakpoints;
6
6
 
7
7
  .textarea {
8
8
  @include input.input-wrapper;
@@ -3,8 +3,8 @@
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/spacers' as spacers;
5
5
  @use '../../scss/screen-reader' as *;
6
- @use '../../scss/breakpoints' as *;
7
- @import '../../scss/supernova/styles/colors';
6
+ @use '../../scss/breakpoints' as breakpoints;
7
+ @import '../../scss/supernova/styles/colors.css';
8
8
 
9
9
  .tile {
10
10
  // Referanse for grandparent selection i underklassene lenger nede
@@ -22,7 +22,7 @@
22
22
  border: 1px solid var(--color-base-border-blueberry);
23
23
  outline: none;
24
24
 
25
- @media (min-width: map.get($grid-breakpoints, md)) {
25
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
26
26
  padding: spacers.getSpacer(l) spacers.getSpacer(m) spacers.getSpacer(l) spacers.getSpacer(s);
27
27
  justify-content: flex-start;
28
28
  }
@@ -39,7 +39,7 @@
39
39
  &--compact {
40
40
  padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) spacers.getSpacer(xs);
41
41
 
42
- @media (min-width: map.get($grid-breakpoints, md)) {
42
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
43
43
  padding: spacers.getSpacer(s) spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(s);
44
44
  }
45
45
  }
@@ -84,7 +84,7 @@
84
84
  font-weight: 400;
85
85
  margin: spacers.getSpacer(3xs) 0 0;
86
86
 
87
- @media (min-width: map.get($grid-breakpoints, md)) {
87
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
88
88
  text-align: left;
89
89
  font-weight: 600;
90
90
  font-size: font-settings.$font-size-md;
@@ -96,7 +96,7 @@
96
96
  margin: 0 0 0 spacers.getSpacer(3xs);
97
97
  text-align: left;
98
98
 
99
- @media (min-width: map.get($grid-breakpoints, md)) {
99
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
100
100
  margin-left: spacers.getSpacer(2xs);
101
101
  }
102
102
  }
@@ -126,7 +126,7 @@
126
126
  flex-direction: column;
127
127
  align-items: center;
128
128
 
129
- @media (min-width: map.get($grid-breakpoints, md)) {
129
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
130
130
  align-items: start;
131
131
 
132
132
  @media print {
@@ -3,8 +3,8 @@
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
5
  @use '../../scss/font-mixins' as fonts;
6
- @use '../../scss/breakpoints' as *;
7
- @import '../../scss/supernova/styles/colors';
6
+ @use '../../scss/breakpoints' as breakpoints;
7
+ @import '../../scss/supernova/styles/colors.css';
8
8
 
9
9
  .toggle-container {
10
10
  display: flex;
@@ -27,7 +27,7 @@
27
27
  color: var(--core-color-neutral-900);
28
28
  margin-left: spacers.getSpacer(xs);
29
29
 
30
- @media (min-width: map.get($grid-breakpoints, sm)) {
30
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
31
31
  margin-left: spacers.getSpacer(s);
32
32
  }
33
33
 
@@ -39,7 +39,7 @@
39
39
  margin-left: 0;
40
40
  margin-right: spacers.getSpacer(xs);
41
41
 
42
- @media (min-width: map.get($grid-breakpoints, sm)) {
42
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
43
43
  margin-right: spacers.getSpacer(s);
44
44
  }
45
45
  }
@@ -52,7 +52,7 @@
52
52
  margin-left: 3.9rem;
53
53
  text-align: left;
54
54
 
55
- @media (min-width: map.get($grid-breakpoints, sm)) {
55
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, sm)) {
56
56
  font-size: font-settings.$font-size-sm;
57
57
  line-height: font-settings.$lineheight-size-xs;
58
58
  text-align: left;
@@ -15,6 +15,7 @@ export interface TriggerProps extends Pick<React.InputHTMLAttributes<HTMLButtonE
15
15
  /**
16
16
  * Controls the icon and color. Default: help.
17
17
  */
18
+ /** @deprecated This will be removed in next major version */
18
19
  variant?: TriggerVariant;
19
20
  /**
20
21
  * Changes the design based on the background the trigger is placed on. Default: onlight.
@@ -2,13 +2,13 @@
2
2
  @use '../../scss/spacers' as spacers;
3
3
  @use '../../scss/palette' as palette;
4
4
  @use '../../scss/font-settings' as font-settings;
5
- @use '../../scss/breakpoints' as *;
5
+ @use '../../scss/breakpoints' as breakpoints;
6
6
 
7
7
  .validation {
8
8
  &__error-wrapper {
9
9
  margin-bottom: spacers.getSpacer(2xs);
10
10
 
11
- @media (min-width: map.get($grid-breakpoints, md)) {
11
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
12
12
  margin-bottom: spacers.getSpacer(m);
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/helsenorge/designsystem.git"
8
8
  },
9
9
  "homepage": "https://helsenorge.design",
10
- "version": "10.5.0",
10
+ "version": "10.6.1",
11
11
  "author": "Helsenorge",
12
12
  "license": "MIT",
13
13
  "dependencies": {
@@ -1,13 +1,13 @@
1
1
  @use 'sass:map';
2
2
  @use './spacers' as spacers;
3
- @use './breakpoints' as *;
3
+ @use './breakpoints' as breakpoints;
4
4
 
5
5
  @mixin title-feature {
6
6
  font-size: 2.375rem;
7
7
  line-height: 2.875rem;
8
8
  font-weight: 600;
9
9
 
10
- @media (min-width: map.get($grid-breakpoints, md)) {
10
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
11
11
  font-size: 4rem;
12
12
  line-height: 5rem;
13
13
  }
@@ -18,7 +18,7 @@
18
18
  line-height: 2.375rem;
19
19
  font-weight: 600;
20
20
 
21
- @media (min-width: map.get($grid-breakpoints, md)) {
21
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
22
22
  font-size: 3rem;
23
23
  line-height: 3.625rem;
24
24
  }
@@ -29,7 +29,7 @@
29
29
  line-height: 1.938rem;
30
30
  font-weight: 600;
31
31
 
32
- @media (min-width: map.get($grid-breakpoints, md)) {
32
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
33
33
  font-size: 2rem;
34
34
  line-height: 2.375rem;
35
35
  }
@@ -40,7 +40,7 @@
40
40
  line-height: 1.813rem;
41
41
  font-weight: 600;
42
42
 
43
- @media (min-width: map.get($grid-breakpoints, md)) {
43
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
44
44
  font-size: 1.625rem;
45
45
  line-height: 2rem;
46
46
  }
@@ -51,7 +51,7 @@
51
51
  line-height: 1.625rem;
52
52
  font-weight: 600;
53
53
 
54
- @media (min-width: map.get($grid-breakpoints, md)) {
54
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
55
55
  font-size: 1.375rem;
56
56
  line-height: 1.813rem;
57
57
  }
@@ -64,7 +64,7 @@
64
64
  font-weight: 600;
65
65
  text-transform: uppercase;
66
66
 
67
- @media (min-width: map.get($grid-breakpoints, md)) {
67
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
68
68
  font-size: 1.125rem;
69
69
  line-height: 1.563rem;
70
70
  }
@@ -75,7 +75,7 @@
75
75
  line-height: 1.375rem;
76
76
  font-weight: 600;
77
77
 
78
- @media (min-width: map.get($grid-breakpoints, md)) {
78
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
79
79
  font-size: 1.125rem;
80
80
  line-height: 1.563rem;
81
81
  }
@@ -85,7 +85,7 @@
85
85
  font-size: 1.125rem;
86
86
  line-height: 1.688rem;
87
87
 
88
- @media (min-width: map.get($grid-breakpoints, md)) {
88
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
89
89
  font-size: 1.25rem;
90
90
  line-height: 1.875rem;
91
91
  }
@@ -96,7 +96,7 @@
96
96
  line-height: 1.625rem;
97
97
  font-weight: 400;
98
98
 
99
- @media (min-width: map.get($grid-breakpoints, md)) {
99
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
100
100
  font-size: 1.5rem;
101
101
  line-height: 1.938rem;
102
102
  }
@@ -107,7 +107,7 @@
107
107
  line-height: 1.438rem;
108
108
  font-weight: 600;
109
109
 
110
- @media (min-width: map.get($grid-breakpoints, md)) {
110
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
111
111
  font-size: 1.5rem;
112
112
  line-height: 1.938rem;
113
113
  }
@@ -118,7 +118,7 @@
118
118
  line-height: 1.375rem;
119
119
  font-weight: 600;
120
120
 
121
- @media (min-width: map.get($grid-breakpoints, md)) {
121
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
122
122
  font-size: 1.25rem;
123
123
  line-height: 1.625rem;
124
124
  }
@@ -129,7 +129,7 @@
129
129
  line-height: 1.375rem;
130
130
  font-weight: 400;
131
131
 
132
- @media (min-width: map.get($grid-breakpoints, md)) {
132
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
133
133
  font-size: 1.25rem;
134
134
  line-height: 1.625rem;
135
135
  }
@@ -140,7 +140,7 @@
140
140
  line-height: 1.2rem;
141
141
  font-weight: 600;
142
142
 
143
- @media (min-width: map.get($grid-breakpoints, md)) {
143
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
144
144
  font-size: 1.125rem;
145
145
  line-height: 1.463rem;
146
146
  }
@@ -151,7 +151,7 @@
151
151
  line-height: 1.2rem;
152
152
  font-weight: 400;
153
153
 
154
- @media (min-width: map.get($grid-breakpoints, md)) {
154
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
155
155
  font-size: 1.125rem;
156
156
  line-height: 1.463rem;
157
157
  }
@@ -161,7 +161,7 @@
161
161
  font-size: 1rem;
162
162
  line-height: 1.5rem;
163
163
 
164
- @media (min-width: map.get($grid-breakpoints, md)) {
164
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
165
165
  font-size: 1.125rem;
166
166
  line-height: 1.4375rem;
167
167
  }
@@ -191,7 +191,7 @@
191
191
  font-size: 1.125rem;
192
192
  line-height: 1.688rem;
193
193
 
194
- @media (min-width: map.get($grid-breakpoints, md)) {
194
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
195
195
  line-height: 1.4375rem;
196
196
  }
197
197
  }
@@ -200,7 +200,7 @@
200
200
  font-size: 1.125rem;
201
201
  line-height: 1.563rem;
202
202
 
203
- @media (min-width: map.get($grid-breakpoints, md)) {
203
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
204
204
  font-size: 1.25rem;
205
205
  line-height: 1.75rem;
206
206
  }
@@ -211,7 +211,7 @@
211
211
  line-height: 1.375rem;
212
212
  font-weight: 400;
213
213
 
214
- @media (min-width: map.get($grid-breakpoints, md)) {
214
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
215
215
  font-size: 1.25rem;
216
216
  line-height: 1.625rem;
217
217
  }
@@ -222,7 +222,7 @@
222
222
  line-height: 1.375rem;
223
223
  font-weight: 600;
224
224
 
225
- @media (min-width: map.get($grid-breakpoints, md)) {
225
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
226
226
  font-size: 1.25rem;
227
227
  line-height: 1.625rem;
228
228
  }
@@ -233,7 +233,7 @@
233
233
  line-height: 1.375rem;
234
234
  font-weight: 400;
235
235
 
236
- @media (min-width: map.get($grid-breakpoints, md)) {
236
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
237
237
  font-size: 1.25rem;
238
238
  line-height: 1.625rem;
239
239
  }
package/scss/_input.scss CHANGED
@@ -2,7 +2,7 @@
2
2
  @use './palette' as palette;
3
3
  @use './spacers' as spacers;
4
4
  @use './font-settings' as font-settings;
5
- @use './breakpoints' as *;
5
+ @use './breakpoints' as breakpoints;
6
6
 
7
7
  @mixin input-wrapper {
8
8
  width: 100%;
@@ -145,7 +145,7 @@
145
145
  background-color: transparent;
146
146
  width: 100%;
147
147
 
148
- @media (min-width: map.get($grid-breakpoints, md)) {
148
+ @media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
149
149
  font-size: font-settings.$font-size-md;
150
150
  }
151
151