@helsenorge/designsystem-react 10.1.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 (239) hide show
  1. package/AnchorLink.js +2 -2
  2. package/AnchorLink.js.map +1 -1
  3. package/Avatar.js +2 -2
  4. package/Avatar.js.map +1 -1
  5. package/Badge.js +3 -3
  6. package/Badge.js.map +1 -1
  7. package/Button.js +4 -4
  8. package/Button.js.map +1 -1
  9. package/CHANGELOG.md +1392 -801
  10. package/Checkbox.js +2 -2
  11. package/Checkbox.js.map +1 -1
  12. package/Close.js +2 -2
  13. package/Close.js.map +1 -1
  14. package/ErrorBoundary.js +2 -2
  15. package/ErrorBoundary.js.map +1 -1
  16. package/FormGroup.js +12 -12
  17. package/FormGroup.js.map +1 -1
  18. package/FormLayout.js +3 -3
  19. package/FormLayout.js.map +1 -1
  20. package/HelpBubble.js +2 -2
  21. package/HelpBubble.js.map +1 -1
  22. package/HighlightPanel.js +2 -2
  23. package/HighlightPanel.js.map +1 -1
  24. package/Icon.js +3 -3
  25. package/Icon.js.map +1 -1
  26. package/Illustration.js +3 -3
  27. package/Illustration.js.map +1 -1
  28. package/Input.js +2 -2
  29. package/Input.js.map +1 -1
  30. package/Label.js +8 -8
  31. package/Label.js.map +1 -1
  32. package/LazyIcon.js +1 -1
  33. package/LazyIllustration.js +3 -3
  34. package/LazyIllustration.js.map +1 -1
  35. package/LinkList.js +6 -6
  36. package/LinkList.js.map +1 -1
  37. package/ListHeader.js +7 -7
  38. package/ListHeader.js.map +1 -1
  39. package/Panel.js +2 -2
  40. package/Panel.js.map +1 -1
  41. package/PopOver.js +2 -2
  42. package/PopOver.js.map +1 -1
  43. package/RadioButton.js +2 -2
  44. package/RadioButton.js.map +1 -1
  45. package/Select.js +2 -2
  46. package/Select.js.map +1 -1
  47. package/Slider.js +3 -3
  48. package/Slider.js.map +1 -1
  49. package/Spacer.js +2 -2
  50. package/Spacer.js.map +1 -1
  51. package/StatusDot.js +1 -1
  52. package/StepButtons.js +4 -4
  53. package/StepButtons.js.map +1 -1
  54. package/TabList.js +4 -4
  55. package/TabList.js.map +1 -1
  56. package/Table.js +2 -2
  57. package/Table.js.map +1 -1
  58. package/TableBody.js +2 -2
  59. package/TableBody.js.map +1 -1
  60. package/TableExpandedRow.js +2 -2
  61. package/TableExpandedRow.js.map +1 -1
  62. package/TableHead.js +2 -2
  63. package/TableHead.js.map +1 -1
  64. package/TableRow.js +2 -2
  65. package/TableRow.js.map +1 -1
  66. package/Textarea.js +2 -2
  67. package/Textarea.js.map +1 -1
  68. package/Title.js +2 -2
  69. package/Title.js.map +1 -1
  70. package/TooltipWord.js +2 -2
  71. package/TooltipWord.js.map +1 -1
  72. package/Trigger.js +3 -3
  73. package/Trigger.js.map +1 -1
  74. package/components/AnchorLink/styles.module.scss +8 -9
  75. package/components/Avatar/styles.module.scss +9 -9
  76. package/components/Badge/styles.module.scss +9 -9
  77. package/components/Button/styles.module.scss +68 -57
  78. package/components/Checkbox/styles.module.scss +103 -103
  79. package/components/Chip/styles.module.scss +22 -22
  80. package/components/Close/styles.module.scss +4 -4
  81. package/components/DictionaryTrigger/index.js +2 -2
  82. package/components/DictionaryTrigger/index.js.map +1 -1
  83. package/components/DictionaryTrigger/styles.module.scss +5 -5
  84. package/components/Drawer/Drawer.d.ts +41 -0
  85. package/components/Drawer/Drawer.test.d.ts +1 -0
  86. package/components/Drawer/index.d.ts +3 -0
  87. package/components/Drawer/index.js +350 -0
  88. package/components/Drawer/index.js.map +1 -0
  89. package/components/Drawer/styles.module.scss +127 -0
  90. package/components/Drawer/styles.module.scss.d.ts +16 -0
  91. package/components/Dropdown/index.js +3 -3
  92. package/components/Dropdown/index.js.map +1 -1
  93. package/components/Dropdown/styles.module.scss +51 -51
  94. package/components/Duolist/index.js +6 -5
  95. package/components/Duolist/index.js.map +1 -1
  96. package/components/Duolist/styles.module.scss +57 -35
  97. package/components/Duolist/styles.module.scss.d.ts +1 -0
  98. package/components/EmptyState/styles.module.scss +12 -12
  99. package/components/ErrorWrapper/styles.module.scss +11 -21
  100. package/components/ErrorWrapper/styles.module.scss.d.ts +0 -1
  101. package/components/Expander/styles.module.scss +46 -46
  102. package/components/ExpanderHierarchy/expander.module.scss +29 -29
  103. package/components/ExpanderHierarchy/index.js +5 -5
  104. package/components/ExpanderHierarchy/index.js.map +1 -1
  105. package/components/ExpanderHierarchy/styles.module.scss +4 -5
  106. package/components/ExpanderList/index.js +8 -8
  107. package/components/ExpanderList/index.js.map +1 -1
  108. package/components/ExpanderList/styles.module.scss +30 -30
  109. package/components/EyebrowHeader/styles.module.scss +0 -2
  110. package/components/FormGroup/styles.module.scss +9 -9
  111. package/components/FormLayout/styles.module.scss +4 -5
  112. package/components/HelpBubble/styles.module.scss +13 -13
  113. package/components/HelpPanel/styles.module.scss +2 -2
  114. package/components/HelpQuestion/index.js +2 -2
  115. package/components/HelpQuestion/index.js.map +1 -1
  116. package/components/HelpQuestion/styles.module.scss +19 -19
  117. package/components/HighlightPanel/styles.module.scss +22 -54
  118. package/components/HighlightPanel/styles.module.scss.d.ts +1 -2
  119. package/components/HorizontalScroll/styles.module.scss +4 -3
  120. package/components/Icons/EuropeanHealthCard.js +1 -1
  121. package/components/Icons/GroupTwins.js +1 -1
  122. package/components/Icons/Inbox.js +1 -1
  123. package/components/Icons/LawBook.js +1 -1
  124. package/components/Icons/PersonCancel.js +1 -1
  125. package/components/Icons/PersonWithBrain.js +1 -1
  126. package/components/Icons/Puzzle.js +1 -1
  127. package/components/Icons/Snapchat.js +1 -1
  128. package/components/Illustrations/IllustrationNames.d.ts +1 -1
  129. package/components/Illustrations/IllustrationNames.js +4 -2
  130. package/components/Illustrations/IllustrationNames.js.map +1 -1
  131. package/components/Illustrations/ReadLetters.d.ts +9 -0
  132. package/components/Illustrations/ReadLetters.js +11 -0
  133. package/components/Illustrations/ReadLetters.js.map +1 -0
  134. package/components/Illustrations/ReadLettersMedium.d.ts +4 -0
  135. package/components/Illustrations/ReadLettersMedium.js +110 -0
  136. package/components/Illustrations/ReadLettersMedium.js.map +1 -0
  137. package/components/Illustrations/Support2.d.ts +9 -0
  138. package/components/Illustrations/Support2.js +11 -0
  139. package/components/Illustrations/Support2.js.map +1 -0
  140. package/components/Illustrations/Support2Medium.d.ts +4 -0
  141. package/components/Illustrations/Support2Medium.js +232 -0
  142. package/components/Illustrations/Support2Medium.js.map +1 -0
  143. package/components/Input/styles.module.scss +12 -12
  144. package/components/Label/styles.module.scss +28 -24
  145. package/components/Label/styles.module.scss.d.ts +3 -1
  146. package/components/LinkList/styles.module.scss +33 -33
  147. package/components/List/styles.module.scss +7 -7
  148. package/components/ListHeader/styles.module.scss +8 -8
  149. package/components/Loader/styles.module.scss +14 -14
  150. package/components/MaxCharacters/styles.module.scss +11 -11
  151. package/components/Modal/index.js +71 -82
  152. package/components/Modal/index.js.map +1 -1
  153. package/components/Modal/styles.module.scss +45 -39
  154. package/components/NotificationPanel/index.js +3 -3
  155. package/components/NotificationPanel/index.js.map +1 -1
  156. package/components/NotificationPanel/styles.module.scss +33 -33
  157. package/components/Panel/styles.module.scss +45 -45
  158. package/components/PanelList/index.js +5 -5
  159. package/components/PanelList/index.js.map +1 -1
  160. package/components/PanelList/styles.module.scss +5 -5
  161. package/components/PopMenu/index.js +5 -5
  162. package/components/PopMenu/index.js.map +1 -1
  163. package/components/PopMenu/styles.module.scss +15 -15
  164. package/components/PopOver/styles.module.scss +13 -14
  165. package/components/PopOver/styles.module.scss.d.ts +0 -3
  166. package/components/Portal/index.js +3 -3
  167. package/components/Portal/index.js.map +1 -1
  168. package/components/Progressbar/styles.module.scss +4 -4
  169. package/components/PromoPanel/index.js +2 -2
  170. package/components/PromoPanel/index.js.map +1 -1
  171. package/components/PromoPanel/styles.module.scss +22 -22
  172. package/components/RadioButton/styles.module.scss +99 -99
  173. package/components/Select/styles.module.scss +21 -21
  174. package/components/ServiceMessage/styles.module.scss +49 -49
  175. package/components/SharingStatus/styles.module.scss +13 -13
  176. package/components/Slider/styles.module.scss +24 -24
  177. package/components/Spacer/styles.module.scss +14 -14
  178. package/components/StatusDot/styles.module.scss +22 -22
  179. package/components/Step/styles.module.scss +3 -3
  180. package/components/StepButtons/styles.module.scss +9 -9
  181. package/components/Stepper/styles.module.scss +23 -15
  182. package/components/StickyNote/styles.module.scss +3 -3
  183. package/components/Table/styles.module.scss +32 -32
  184. package/components/Tabs/TabList/styles.module.scss +1 -1
  185. package/components/Tabs/TabPanel/styles.module.scss +5 -5
  186. package/components/Tabs/index.js +3 -3
  187. package/components/Tabs/index.js.map +1 -1
  188. package/components/Tabs/styles.module.scss +1 -1
  189. package/components/Tag/styles.module.scss +16 -16
  190. package/components/TagList/index.js +2 -2
  191. package/components/TagList/index.js.map +1 -1
  192. package/components/TagList/styles.module.scss +4 -4
  193. package/components/Textarea/styles.module.scss +9 -9
  194. package/components/Tile/index.js +6 -6
  195. package/components/Tile/index.js.map +1 -1
  196. package/components/Tile/styles.module.scss +25 -25
  197. package/components/Title/styles.module.scss +8 -8
  198. package/components/Toggle/index.js +3 -3910
  199. package/components/Toggle/index.js.map +1 -1
  200. package/components/Toggle/styles.module.scss +14 -14
  201. package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
  202. package/components/Tooltip/index.js +2 -2
  203. package/components/Tooltip/index.js.map +1 -1
  204. package/components/Trigger/styles.module.scss +21 -21
  205. package/components/Validation/index.js +6 -6
  206. package/components/Validation/index.js.map +1 -1
  207. package/components/Validation/styles.module.scss +10 -10
  208. package/constants.d.ts +1 -0
  209. package/constants.js +1 -0
  210. package/constants.js.map +1 -1
  211. package/hoc/withBreakpoint/withBreakpoint.js +2 -2
  212. package/hoc/withBreakpoint/withBreakpoint.js.map +1 -1
  213. package/hooks/useBreakpoint.d.ts +0 -4
  214. package/hooks/useBreakpoint.js +23 -18
  215. package/hooks/useBreakpoint.js.map +1 -1
  216. package/hooks/useEventListenerState.js +3 -3
  217. package/hooks/useEventListenerState.js.map +1 -1
  218. package/hooks/useReturnFocusOnUnmount.d.ts +5 -0
  219. package/hooks/useReturnFocusOnUnmount.js +20 -0
  220. package/hooks/useReturnFocusOnUnmount.js.map +1 -0
  221. package/package.json +1 -1
  222. package/scss/_body.scss +5 -6
  223. package/scss/_breakpoints.scss +8 -2
  224. package/scss/_font-mixins.scss +57 -2
  225. package/scss/_fonts.scss +0 -2
  226. package/scss/_input.scss +53 -50
  227. package/scss/_print.scss +2 -2
  228. package/scss/layout.module.scss +2 -2
  229. package/scss/typography.module.scss +62 -37
  230. package/scss/typography.module.scss.d.ts +6 -0
  231. package/scss/typography.stories.tsx +24 -0
  232. package/theme/index.js +2 -2
  233. package/use-animate.js +3952 -0
  234. package/use-animate.js.map +1 -0
  235. package/utils/accessibility.d.ts +1 -0
  236. package/utils/accessibility.js +6 -1
  237. package/utils/accessibility.js.map +1 -1
  238. package/utils/component.js +4 -4
  239. package/utils/component.js.map +1 -1
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
4
- @import '../../scss/font-settings';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/font-settings' as font-settings;
4
+ @use '../../scss/breakpoints' as *;
5
5
  @import '../../scss/supernova/styles/colors';
6
6
 
7
7
  .expander-list {
@@ -46,42 +46,42 @@
46
46
  background-color: var(--color-base-background-white);
47
47
 
48
48
  &--white {
49
- border-top: getSpacer(2xs) var(--core-color-neutral-100) solid;
50
- border-left: getSpacer(2xs) var(--core-color-neutral-100) solid;
51
- border-right: getSpacer(2xs) var(--core-color-neutral-100) solid;
49
+ border-top: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
50
+ border-left: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
51
+ border-right: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
52
52
 
53
53
  &:last-of-type {
54
- border-bottom: getSpacer(2xs) var(--core-color-neutral-100) solid;
54
+ border-bottom: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
55
55
  }
56
56
  }
57
57
 
58
58
  &--blueberry {
59
- border-top: getSpacer(2xs) var(--core-color-blueberry-100) solid;
60
- border-left: getSpacer(2xs) var(--core-color-blueberry-100) solid;
61
- border-right: getSpacer(2xs) var(--core-color-blueberry-100) solid;
59
+ border-top: spacers.getSpacer(2xs) var(--core-color-blueberry-100) solid;
60
+ border-left: spacers.getSpacer(2xs) var(--core-color-blueberry-100) solid;
61
+ border-right: spacers.getSpacer(2xs) var(--core-color-blueberry-100) solid;
62
62
 
63
63
  &:last-of-type {
64
- border-bottom: getSpacer(2xs) var(--core-color-blueberry-100) solid;
64
+ border-bottom: spacers.getSpacer(2xs) var(--core-color-blueberry-100) solid;
65
65
  }
66
66
  }
67
67
 
68
68
  &--cherry {
69
- border-top: getSpacer(2xs) var(--core-color-cherry-100) solid;
70
- border-left: getSpacer(2xs) var(--core-color-cherry-100) solid;
71
- border-right: getSpacer(2xs) var(--core-color-cherry-100) solid;
69
+ border-top: spacers.getSpacer(2xs) var(--core-color-cherry-100) solid;
70
+ border-left: spacers.getSpacer(2xs) var(--core-color-cherry-100) solid;
71
+ border-right: spacers.getSpacer(2xs) var(--core-color-cherry-100) solid;
72
72
 
73
73
  &:last-of-type {
74
- border-bottom: getSpacer(2xs) var(--core-color-cherry-100) solid;
74
+ border-bottom: spacers.getSpacer(2xs) var(--core-color-cherry-100) solid;
75
75
  }
76
76
  }
77
77
 
78
78
  &--neutral {
79
- border-top: getSpacer(2xs) var(--core-color-neutral-100) solid;
80
- border-left: getSpacer(2xs) var(--core-color-neutral-100) solid;
81
- border-right: getSpacer(2xs) var(--core-color-neutral-100) solid;
79
+ border-top: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
80
+ border-left: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
81
+ border-right: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
82
82
 
83
83
  &:last-of-type {
84
- border-bottom: getSpacer(2xs) var(--core-color-neutral-100) solid;
84
+ border-bottom: spacers.getSpacer(2xs) var(--core-color-neutral-100) solid;
85
85
  }
86
86
  }
87
87
  }
@@ -117,8 +117,8 @@
117
117
  .expander-list-link {
118
118
  padding: 0;
119
119
  position: relative;
120
- font-size: $font-size-sm;
121
- line-height: $lineheight-size-sm;
120
+ font-size: font-settings.$font-size-sm;
121
+ line-height: font-settings.$lineheight-size-sm;
122
122
  display: flex;
123
123
  cursor: pointer;
124
124
  font-family: inherit;
@@ -132,8 +132,8 @@
132
132
  outline: none;
133
133
 
134
134
  @media (min-width: map.get($grid-breakpoints, md)) {
135
- font-size: $font-size-md;
136
- line-height: $lineheight-size-md;
135
+ font-size: font-settings.$font-size-md;
136
+ line-height: font-settings.$lineheight-size-md;
137
137
  }
138
138
 
139
139
  &--open {
@@ -142,7 +142,7 @@
142
142
 
143
143
  &--fill,
144
144
  &--fill-negative {
145
- margin-top: getSpacer(s);
145
+ margin-top: spacers.getSpacer(s);
146
146
  }
147
147
 
148
148
  &--fill-negative {
@@ -150,7 +150,7 @@
150
150
  }
151
151
 
152
152
  &--closed#{&}--fill {
153
- margin-bottom: getSpacer(s);
153
+ margin-bottom: spacers.getSpacer(s);
154
154
  }
155
155
 
156
156
  &:focus-visible:not(.expander-list-link--outline) {
@@ -237,21 +237,21 @@
237
237
  }
238
238
 
239
239
  &--large {
240
- font-size: $font-size-lg;
241
- line-height: $lineheight-size-lg;
240
+ font-size: font-settings.$font-size-lg;
241
+ line-height: font-settings.$lineheight-size-lg;
242
242
  }
243
243
 
244
244
  &__icon {
245
245
  display: flex;
246
246
  align-items: center;
247
- margin-right: getSpacer(2xs);
247
+ margin-right: spacers.getSpacer(2xs);
248
248
  }
249
249
 
250
250
  &__chevron {
251
251
  display: flex;
252
252
  align-items: center;
253
253
  margin-left: auto;
254
- padding-left: getSpacer(2xs);
254
+ padding-left: spacers.getSpacer(2xs);
255
255
  }
256
256
 
257
257
  &__main-content {
@@ -267,7 +267,7 @@
267
267
  }
268
268
 
269
269
  &--padding {
270
- padding: getSpacer(xs) getSpacer(s) getSpacer(l);
270
+ padding: spacers.getSpacer(xs) spacers.getSpacer(s) spacers.getSpacer(l);
271
271
  }
272
272
  }
273
273
  }
@@ -1,5 +1,3 @@
1
- @import '../../scss/spacers';
2
-
3
1
  .subtitle {
4
2
  margin: 0;
5
3
  }
@@ -1,12 +1,12 @@
1
- @import '../../scss/spacers';
2
- @import '../../scss/breakpoints';
3
- @import '../../scss/palette';
4
- @import '../../scss/font-mixins';
1
+ @use '../../scss/spacers' as spacers;
2
+ @use '../../scss/palette' as palette;
3
+ @use '../../scss/font-mixins' as fonts;
4
+ @use '../../scss/breakpoints' as *;
5
5
 
6
6
  .form-group-wrapper {
7
7
  &__title {
8
8
  &--on-dark {
9
- color: $white;
9
+ color: palette.$white;
10
10
  }
11
11
  }
12
12
  }
@@ -21,20 +21,20 @@
21
21
  margin: 0;
22
22
  display: flex;
23
23
  flex-flow: column;
24
- gap: getSpacer(s);
24
+ gap: spacers.getSpacer(s);
25
25
 
26
26
  > div {
27
27
  padding-bottom: 0;
28
28
  }
29
29
 
30
30
  &__legend {
31
- margin-bottom: getSpacer(m);
31
+ margin-bottom: spacers.getSpacer(m);
32
32
  margin-top: 0;
33
33
 
34
- @include legend;
34
+ @include fonts.legend;
35
35
 
36
36
  &--on-dark {
37
- color: $white;
37
+ color: palette.$white;
38
38
  }
39
39
  }
40
40
  }
@@ -1,16 +1,15 @@
1
- @import '../../scss/spacers';
2
- @import '../../scss/breakpoints';
1
+ @use '../../scss/spacers' as spacers;
3
2
 
4
3
  .form-layout-container {
5
- // Settes med harde verdier fordi calc() lenger nede ikke støtter getSpacer()
4
+ // Settes med harde verdier fordi calc() lenger nede ikke støtter spacers.getSpacer()
6
5
  --column-gap: 2rem;
7
6
 
8
7
  display: flex;
9
8
  flex-wrap: wrap;
10
- gap: getSpacer(s) var(--column-gap);
9
+ gap: spacers.getSpacer(s) var(--column-gap);
11
10
 
12
11
  &--large {
13
- row-gap: getSpacer(2xs);
12
+ row-gap: spacers.getSpacer(2xs);
14
13
  }
15
14
  }
16
15
 
@@ -1,9 +1,9 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
4
- @import '../../scss/palette';
5
- @import '../../scss/font-settings';
6
- @import '../AnchorLink/styles.module';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/palette' as palette;
4
+ @use '../../scss/font-settings' as font-settings;
5
+ @use '../AnchorLink/styles.module' as anchorlink;
6
+ @use '../../scss/breakpoints' as *;
7
7
 
8
8
  .helpbubble {
9
9
  $bubble: &;
@@ -12,12 +12,12 @@
12
12
  align-items: flex-start !important;
13
13
  text-align: start;
14
14
  font-family: inherit;
15
- font-size: $font-size-sm;
16
- line-height: $lineheight-size-sm;
15
+ font-size: font-settings.$font-size-sm;
16
+ line-height: font-settings.$lineheight-size-sm;
17
17
 
18
18
  @media (min-width: map.get($grid-breakpoints, lg)) {
19
- font-size: $font-size-md;
20
- line-height: $lineheight-size-md;
19
+ font-size: font-settings.$font-size-md;
20
+ line-height: font-settings.$lineheight-size-md;
21
21
  }
22
22
 
23
23
  &__content {
@@ -26,8 +26,8 @@
26
26
  flex-direction: column;
27
27
  align-items: flex-start;
28
28
  overflow-wrap: anywhere;
29
- row-gap: getSpacer(2xs);
30
- padding: getSpacer(s) getSpacer(s) getSpacer(m);
29
+ row-gap: spacers.getSpacer(2xs);
30
+ padding: spacers.getSpacer(s) spacers.getSpacer(s) spacers.getSpacer(m);
31
31
 
32
32
  &--close {
33
33
  padding-right: 0;
@@ -41,11 +41,11 @@
41
41
  &__link {
42
42
  all: unset;
43
43
 
44
- @include anchorlink;
44
+ @include anchorlink.anchorlink;
45
45
  }
46
46
 
47
47
  &__close {
48
48
  order: 2;
49
- padding: getSpacer(2xs) getSpacer(2xs) 0 0;
49
+ padding: spacers.getSpacer(2xs) spacers.getSpacer(2xs) 0 0;
50
50
  }
51
51
  }
@@ -1,5 +1,5 @@
1
- @import '../../scss/palette';
1
+ @use '../../scss/palette' as palette;
2
2
 
3
3
  .help-panel {
4
- background-color: $plum50 !important;
4
+ background-color: palette.$plum50 !important;
5
5
  }
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import React from "react";
2
+ import React__default from "react";
3
3
  import classNames from "classnames";
4
4
  import { AnalyticsId } from "../../constants.js";
5
5
  import { usePseudoClasses } from "../../hooks/usePseudoClasses.js";
6
6
  import { mergeRefs } from "../../utils/refs.js";
7
7
  import { T as Trigger } from "../../Trigger.js";
8
8
  import styles from "./styles.module.scss";
9
- const HelpQuestion = React.forwardRef(
9
+ const HelpQuestion = React__default.forwardRef(
10
10
  ({ children, selected = false, className, onClick, testId }, ref) => {
11
11
  const { isHovered, refObject } = usePseudoClasses();
12
12
  const classes = classNames(styles.helpquestion, selected && styles["helpquestion--selected"], className);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/HelpQuestion/HelpQuestion.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\nimport { usePseudoClasses } from '../../hooks/usePseudoClasses';\nimport { mergeRefs } from '../../utils/refs';\nimport Trigger from '../Trigger';\n\nimport styles from './styles.module.scss';\n\nexport interface HelpQuestionProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-controls'> {\n /**\n * Help question contents\n */\n children: string;\n /**\n * Indicates that the help question is in use.\n */\n selected?: boolean;\n /**\n * Classname will be applied to the button element.\n */\n className?: string;\n /**\n * Sets the data-testid attribute.\n */\n testId?: string;\n}\n\nconst HelpQuestion = React.forwardRef<HTMLButtonElement, HelpQuestionProps>(\n ({ children, selected = false, className, onClick, testId }, ref) => {\n const { isHovered, refObject } = usePseudoClasses<HTMLButtonElement>();\n\n const classes = classNames(styles.helpquestion, selected && styles['helpquestion--selected'], className);\n\n return (\n <button\n type=\"button\"\n data-testid={testId}\n className={classes}\n onClick={onClick}\n ref={mergeRefs([ref, refObject])}\n aria-expanded={selected}\n data-analyticsid={AnalyticsId.HelpQuestion}\n >\n <Trigger variant=\"help\" htmlMarkup=\"span\" selected={selected} isHovered={isHovered} />\n {children}\n </button>\n );\n }\n);\n\nHelpQuestion.displayName = 'HelpQuestion';\n\nexport default HelpQuestion;\n"],"names":[],"mappings":";;;;;;;;AA8BA,MAAM,eAAe,MAAM;AAAA,EACzB,CAAC,EAAE,UAAU,WAAW,OAAO,WAAW,SAAS,OAAO,GAAG,QAAQ;AACnE,UAAM,EAAE,WAAW,UAAU,IAAI,iBAAoC;AAE/D,UAAA,UAAU,WAAW,OAAO,cAAc,YAAY,OAAO,wBAAwB,GAAG,SAAS;AAGrG,WAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,eAAa;AAAA,QACb,WAAW;AAAA,QACX;AAAA,QACA,KAAK,UAAU,CAAC,KAAK,SAAS,CAAC;AAAA,QAC/B,iBAAe;AAAA,QACf,oBAAkB,YAAY;AAAA,QAE9B,UAAA;AAAA,UAAA,oBAAC,WAAQ,SAAQ,QAAO,YAAW,QAAO,UAAoB,WAAsB;AAAA,UACnF;AAAA,QAAA;AAAA,MAAA;AAAA,IACH;AAAA,EAAA;AAGN;AAEA,aAAa,cAAc;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/HelpQuestion/HelpQuestion.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\nimport { usePseudoClasses } from '../../hooks/usePseudoClasses';\nimport { mergeRefs } from '../../utils/refs';\nimport Trigger from '../Trigger';\n\nimport styles from './styles.module.scss';\n\nexport interface HelpQuestionProps extends Pick<React.InputHTMLAttributes<HTMLButtonElement>, 'onClick' | 'aria-controls'> {\n /**\n * Help question contents\n */\n children: string;\n /**\n * Indicates that the help question is in use.\n */\n selected?: boolean;\n /**\n * Classname will be applied to the button element.\n */\n className?: string;\n /**\n * Sets the data-testid attribute.\n */\n testId?: string;\n}\n\nconst HelpQuestion = React.forwardRef<HTMLButtonElement, HelpQuestionProps>(\n ({ children, selected = false, className, onClick, testId }, ref) => {\n const { isHovered, refObject } = usePseudoClasses<HTMLButtonElement>();\n\n const classes = classNames(styles.helpquestion, selected && styles['helpquestion--selected'], className);\n\n return (\n <button\n type=\"button\"\n data-testid={testId}\n className={classes}\n onClick={onClick}\n ref={mergeRefs([ref, refObject])}\n aria-expanded={selected}\n data-analyticsid={AnalyticsId.HelpQuestion}\n >\n <Trigger variant=\"help\" htmlMarkup=\"span\" selected={selected} isHovered={isHovered} />\n {children}\n </button>\n );\n }\n);\n\nHelpQuestion.displayName = 'HelpQuestion';\n\nexport default HelpQuestion;\n"],"names":["React"],"mappings":";;;;;;;;AA8BA,MAAM,eAAeA,eAAM;AAAA,EACzB,CAAC,EAAE,UAAU,WAAW,OAAO,WAAW,SAAS,OAAO,GAAG,QAAQ;AACnE,UAAM,EAAE,WAAW,UAAU,IAAI,iBAAoC;AAE/D,UAAA,UAAU,WAAW,OAAO,cAAc,YAAY,OAAO,wBAAwB,GAAG,SAAS;AAGrG,WAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,eAAa;AAAA,QACb,WAAW;AAAA,QACX;AAAA,QACA,KAAK,UAAU,CAAC,KAAK,SAAS,CAAC;AAAA,QAC/B,iBAAe;AAAA,QACf,oBAAkB,YAAY;AAAA,QAE9B,UAAA;AAAA,UAAA,oBAAC,WAAQ,SAAQ,QAAO,YAAW,QAAO,UAAoB,WAAsB;AAAA,UACnF;AAAA,QAAA;AAAA,MAAA;AAAA,IACH;AAAA,EAAA;AAGN;AAEA,aAAa,cAAc;"}
@@ -1,49 +1,49 @@
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
  .helpquestion {
8
8
  display: inline-flex;
9
9
  align-items: center;
10
10
  text-align: left;
11
- gap: getSpacer(2xs);
12
- padding: getSpacer(xs) getSpacer(xs) getSpacer(xs) getSpacer(3xs);
11
+ gap: spacers.getSpacer(2xs);
12
+ padding: spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(xs) spacers.getSpacer(3xs);
13
13
  border: 0;
14
14
  outline: none;
15
15
  background-color: transparent;
16
16
  cursor: pointer;
17
- color: $plum600;
17
+ color: palette.$plum600;
18
18
  font-weight: 600;
19
- font-size: $font-size-sm;
20
- line-height: $lineheight-size-xs;
19
+ font-size: font-settings.$font-size-sm;
20
+ line-height: font-settings.$lineheight-size-xs;
21
21
 
22
22
  @media (min-width: map.get($grid-breakpoints, md)) {
23
- gap: getSpacer(2xs);
24
- font-size: $font-size-md;
25
- line-height: $lineheight-size-sm;
23
+ gap: spacers.getSpacer(2xs);
24
+ font-size: font-settings.$font-size-md;
25
+ line-height: font-settings.$lineheight-size-sm;
26
26
  }
27
27
 
28
28
  &:hover {
29
- color: $plum800;
30
- background-color: rgba($plum600, 0.1);
29
+ color: palette.$plum800;
30
+ background-color: rgba(palette.$plum600, 0.1);
31
31
  }
32
32
 
33
33
  &:focus-visible {
34
- box-shadow: inset 0 0 0 3px $black;
34
+ box-shadow: inset 0 0 0 3px palette.$black;
35
35
  }
36
36
 
37
37
  &--selected {
38
- color: $plum800;
39
- background-color: rgba($plum600, 0.1);
38
+ color: palette.$plum800;
39
+ background-color: rgba(palette.$plum600, 0.1);
40
40
 
41
41
  &:hover {
42
- background-color: rgba($plum600, 0.2);
42
+ background-color: rgba(palette.$plum600, 0.2);
43
43
  }
44
44
 
45
45
  &:focus-visible {
46
- background-color: rgba($plum600, 0.1);
46
+ background-color: rgba(palette.$plum600, 0.1);
47
47
  }
48
48
  }
49
49
  }
@@ -1,8 +1,8 @@
1
1
  @use 'sass:map';
2
- @import '../../scss/spacers';
3
- @import '../../scss/breakpoints';
2
+ @use '../../scss/spacers' as spacers;
3
+ @use '../../scss/screen-reader' as *;
4
+ @use '../../scss/breakpoints' as *;
4
5
  @import '../../scss/grid';
5
- @import '../../scss/screen-reader';
6
6
  @import '../../scss/supernova/styles/colors';
7
7
 
8
8
  @mixin content-wrapper-with-icon-flex {
@@ -17,11 +17,7 @@
17
17
  }
18
18
 
19
19
  @mixin content-wrapper-with-icon-padding {
20
- padding-top: getSpacer(s);
21
-
22
- @media (min-width: map.get($grid-breakpoints, xl)) {
23
- padding-top: getSpacer(m);
24
- }
20
+ padding-top: spacers.getSpacer(m);
25
21
  }
26
22
 
27
23
  .highlightpanel {
@@ -50,53 +46,37 @@
50
46
  }
51
47
  }
52
48
 
53
- // large skal også ha bakgrunnsfarge på den ytre containeren på de minste skjermnene
54
- // slik at bakgrunnsfargen går helt ut til skjermkanten
55
49
  &--large {
56
- @each $color in $colors {
57
- &#{$panel}--#{$color} {
58
- @include media-breakpoint-down(xs) {
59
- background-color: var(--color-base-background-#{$color});
60
- }
61
- }
62
- }
63
-
64
- &#{$panel}--white {
65
- @include media-breakpoint-down(xs) {
66
- background-color: var(--color-base-background-white);
67
- }
68
- }
69
50
  #{$panel}__content-wrapper {
70
- padding-top: getSpacer(m);
71
- padding-bottom: getSpacer(l);
51
+ padding: spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l);
72
52
 
73
53
  @media (min-width: map.get($grid-breakpoints, lg)) {
74
- padding-top: getSpacer(l);
75
- padding-bottom: getSpacer(xl);
54
+ padding-top: spacers.getSpacer(l);
55
+ padding-bottom: spacers.getSpacer(xl);
76
56
  }
77
57
  }
78
58
  }
79
59
 
80
60
  &--medium {
81
61
  #{$panel}__content-wrapper {
82
- padding: getSpacer(m) getSpacer(s) getSpacer(l);
62
+ padding: spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l);
83
63
 
84
64
  @media (min-width: map.get($grid-breakpoints, md)) {
85
- padding: getSpacer(m) getSpacer(m) getSpacer(l);
65
+ padding: spacers.getSpacer(m) spacers.getSpacer(m) spacers.getSpacer(l);
86
66
  }
87
67
 
88
68
  @media (min-width: map.get($grid-breakpoints, lg)) {
89
- padding: getSpacer(l);
69
+ padding: spacers.getSpacer(l);
90
70
  }
91
71
  }
92
72
  }
93
73
 
94
74
  // fluid skal ha bakgrunnsfarge på den ytre containeren
95
75
  &--fluid {
96
- padding: getSpacer(m) getSpacer(s) getSpacer(l);
76
+ padding: spacers.getSpacer(m) spacers.getSpacer(s) spacers.getSpacer(l);
97
77
 
98
78
  @media (min-width: map.get($grid-breakpoints, lg)) {
99
- padding: getSpacer(m) getSpacer(m) getSpacer(l);
79
+ padding: spacers.getSpacer(m) spacers.getSpacer(m) spacers.getSpacer(l);
100
80
  }
101
81
 
102
82
  @each $color in $colors {
@@ -118,7 +98,7 @@
118
98
  @include content-wrapper-with-icon-flex-responsive;
119
99
 
120
100
  @media (min-width: map.get($grid-breakpoints, lg)) {
121
- padding-left: getSpacer(m);
101
+ padding-left: spacers.getSpacer(m);
122
102
  }
123
103
  }
124
104
  }
@@ -132,17 +112,17 @@
132
112
  @include content-wrapper-with-icon-padding;
133
113
 
134
114
  @media (min-width: map.get($grid-breakpoints, sm)) {
135
- padding-left: getSpacer(s);
115
+ padding-left: spacers.getSpacer(s);
136
116
  }
137
117
 
138
118
  @media (min-width: map.get($grid-breakpoints, md)) {
139
- padding-left: getSpacer(m);
119
+ padding-left: spacers.getSpacer(m);
140
120
  }
141
121
 
142
122
  @media (min-width: map.get($grid-breakpoints, lg)) {
143
123
  padding-left: 0;
144
- padding-top: getSpacer(l);
145
- padding-bottom: getSpacer(xl);
124
+ padding-top: spacers.getSpacer(l);
125
+ padding-bottom: spacers.getSpacer(xl);
146
126
  }
147
127
  }
148
128
 
@@ -154,7 +134,7 @@
154
134
  display: flex;
155
135
  justify-content: flex-end;
156
136
  margin-right: 0;
157
- padding-right: getSpacer(s);
137
+ padding-right: spacers.getSpacer(s);
158
138
  }
159
139
  }
160
140
 
@@ -180,8 +160,8 @@
180
160
 
181
161
  &__icon {
182
162
  display: inline-flex;
183
- margin-right: getSpacer(s);
184
- margin-bottom: getSpacer(2xs);
163
+ margin-right: spacers.getSpacer(s);
164
+ margin-bottom: spacers.getSpacer(2xs);
185
165
 
186
166
  @media (min-width: map.get($grid-breakpoints, md)) {
187
167
  margin-bottom: 0;
@@ -219,21 +199,9 @@
219
199
  }
220
200
  }
221
201
  }
222
- }
223
-
224
- .mobile {
225
- display: flex;
226
- align-items: center;
227
-
228
- @media screen and (width >= 768px) {
229
- @include sr-only;
230
- }
231
- }
232
-
233
- .desktop {
234
- display: none;
235
202
 
236
- @media screen and (width >= 768px) {
203
+ &__title-wrapper {
237
204
  display: flex;
205
+ align-items: center;
238
206
  }
239
207
  }
@@ -1,5 +1,4 @@
1
1
  export type Styles = {
2
- desktop: string;
3
2
  highlightpanel__col: string;
4
3
  'highlightpanel__col--large-with-icon': string;
5
4
  'highlightpanel__col--offset': string;
@@ -7,6 +6,7 @@ export type Styles = {
7
6
  'highlightpanel__content-wrapper': string;
8
7
  highlightpanel__icon: string;
9
8
  highlightpanel__row: string;
9
+ 'highlightpanel__title-wrapper': string;
10
10
  'highlightpanel--blueberry': string;
11
11
  'highlightpanel--cherry': string;
12
12
  'highlightpanel--fluid': string;
@@ -15,7 +15,6 @@ export type Styles = {
15
15
  'highlightpanel--medium': string;
16
16
  'highlightpanel--neutral': string;
17
17
  'highlightpanel--white': string;
18
- mobile: string;
19
18
  };
20
19
 
21
20
  export type ClassNames = keyof Styles;
@@ -1,5 +1,6 @@
1
- @import '../../scss/breakpoints';
2
- @import '../../scss/palette';
1
+ @use '../../scss/spacers' as spacers;
2
+ @use '../../scss/palette' as palette;
3
+ @use '../../scss/breakpoints' as *;
3
4
 
4
5
  // Disables fordi stylelint og prettier er uenige
5
6
  /* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
@@ -15,7 +16,7 @@ $gradient:
15
16
  display: flex;
16
17
 
17
18
  &:focus-visible {
18
- outline: getSpacer(4xs) solid $black;
19
+ outline: spacers.getSpacer(4xs) solid palette.$black;
19
20
  outline-offset: -1px;
20
21
  }
21
22
 
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  const EuropeanHealthCard = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsx("path", { d: "M24.312 28.655l-.437-.886-.437.886-.978.142.708.69-.167.973.874-.46.874.46-.166-.973.707-.69-.978-.142zm-.437-11.365l-.437.886-.978.142.708.689-.167.974.874-.46.874.46-.166-.974.707-.689-.978-.142-.437-.886zm4.147 9.814l-.438-.886-.437.886-.977.142.707.69-.167.973.874-.46.875.46-.167-.973.707-.69-.977-.142zm1.53-3.689l-.437-.885-.438.885-.977.142.707.69-.167.973.875-.459.874.459-.167-.973.707-.69-.977-.142zm12.125 10.472c0 1.081-.88 1.961-1.961 1.961H8.034a1.964 1.964 0 01-1.961-1.961V13.863c0-1.082.88-1.961 1.961-1.961h31.682c1.081 0 1.961.879 1.961 1.961v20.024zm-1.961-23.285H8.034a3.265 3.265 0 00-3.261 3.261v20.024a3.265 3.265 0 003.261 3.261h31.682a3.265 3.265 0 003.261-3.261V13.863a3.265 3.265 0 00-3.261-3.261zM26.71 21.532l.874-.46.875.46-.167-.974.707-.689-.977-.142-.438-.886-.437.886-.977.142.707.689-.167.974zm-6.544-2.691l-.437.886-.978.142.707.689-.167.974.875-.46.874.46-.167-.974.707-.689-.977-.142-.437-.886zm-.823 5.406l.707-.69-.977-.142-.437-.885-.438.885-.977.142.707.69-.167.973.875-.459.874.459-.167-.973zm1.26 2.857l-.437-.886-.437.886-.978.142.707.69-.167.973.875-.46.874.46-.167-.973.707-.69-.977-.142z" });
4
4
  const normalHover = /* @__PURE__ */ jsxs("g", { children: [
@@ -1,4 +1,4 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { g as getIcon } from "../../Icon.js";
3
3
  const GroupTwins = ({ size, isHovered }) => {
4
4
  const normal = /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  const Inbox = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsx(
4
4
  "path",
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  const LawBook = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsx("path", { d: "M35.946 34.948H16.633V8.731h18.548c.422 0 .765.343.765.765v25.452zm0 2.478H12.471a1.675 1.675 0 011.593-1.177h21.882v1.177zm0 1.411a.765.765 0 01-.765.764H14.064a1.674 1.674 0 01-1.592-1.175h23.474v.411zm-23.559-28.43c0-.925.751-1.676 1.675-1.676h1.271v26.217h-1.269c-.622 0-1.199.193-1.677.521V10.406zM35.181 7.43H14.062a2.98 2.98 0 00-2.975 2.976v27.187h.034c-.013.11-.034.218-.034.333a2.98 2.98 0 002.977 2.976h21.117a2.068 2.068 0 002.065-2.065V9.497a2.068 2.068 0 00-2.065-2.067zm-6.8 15.496a1.133 1.133 0 01-.695.532c-.294.078-.602.04-.866-.114l-1.999-1.154a1.127 1.127 0 01-.385-1.53 1.141 1.141 0 011.56-.418l1.075.621.005-.008.886.512a1.142 1.142 0 01.418 1.559zm.952.55a2.228 2.228 0 00.223-1.7 2.227 2.227 0 00-1.044-1.362l-3.517-2.03a1.145 1.145 0 01-.419-1.56c.315-.547 1.014-.733 1.522-.442l1.474 1.02.626-.904-1.512-1.045a2.246 2.246 0 00-3.062.821 2.242 2.242 0 00.73 2.997 2.213 2.213 0 00-1.094 2.54c.145.544.488.997.96 1.3l-.002.001.017.01c.024.014.044.035.07.05l3.516 2.031c.265.152.454.398.532.693.08.294.04.602-.114.865-.314.545-1.012.735-1.536.433l-2.45-1.583-.597.924 2.474 1.598a2.244 2.244 0 003.063-.821 2.233 2.233 0 00-.728-2.996c.357-.195.66-.478.868-.84z" });
4
4
  const normalHover = /* @__PURE__ */ jsxs("g", { children: [
@@ -1,4 +1,4 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { g as getIcon } from "../../Icon.js";
3
3
  const PersonCancel = ({ size, isHovered }) => {
4
4
  const normal = /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  const PersonWithBrain = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsx("path", { d: "M26.604 20.51a1.02 1.02 0 100 2.042 1.02 1.02 0 000-2.041zm7.896 6.297a.826.826 0 01-.707.387h-1.856v2.04c0 2.923-2.377 5.3-5.3 5.3h-.65v5.185H13.846V34.32c0-2.601-.918-4.414-1.888-6.335-1.08-2.133-2.193-4.34-2.193-7.971 0-5.46 4.222-11.351 11.043-11.351 5.396 0 11.129 4.055 11.129 11.572v.144l2.616 5.624a.822.822 0 01-.053.803zm1.232-1.352l-2.495-5.364c-.073-8.268-6.44-12.728-12.43-12.728-6.806 0-12.343 5.676-12.343 12.652 0 3.943 1.24 6.394 2.333 8.557.939 1.856 1.748 3.459 1.748 5.749v6.698h14.743v-5.216c3.335-.328 5.95-3.15 5.95-6.57v-.738h.555c.734 0 1.408-.37 1.802-.99a2.123 2.123 0 00.137-2.05zM24.32 14.568l-.942.942a3.645 3.645 0 00-2.545-.107l-.41-.688a2.091 2.091 0 01.275-2.496l.65-.69c.904.128 1.8.397 2.64.812.389.192.654.553.726.99.075.453-.073.915-.394 1.237zm-6.29 6.29l-.46-.45a1.998 1.998 0 01-.262-2.54l.047-.068c.264.195.577.299.894.299.32 0 .642-.102.915-.311l1.229-.942a2.555 2.555 0 012.099-.45l-4.462 4.462zm-2.371 2.37a1.402 1.402 0 01-1.321.375 1.338 1.338 0 01-.988-.89 10.527 10.527 0 01-.533-2.818l.955.499c.418.215.874.322 1.329.322.398 0 .793-.086 1.162-.247.144.26.318.509.538.725l.45.442-1.592 1.592zm-.333-9.881l1.092 1.078c.15.147.163.382.029.545a1.508 1.508 0 00.075 1.993l.04.043-.168.252a3.083 3.083 0 00-.485 2.15 1.795 1.795 0 01-1.63.01l-1.464-.765c.133-1.946 1.018-3.917 2.51-5.306zm4.579-1.891l-.007.007a3.195 3.195 0 00-.42 3.814l.367.617c-.04.028-.081.05-.12.079l-1.23.942a.406.406 0 01-.54-.042l-.636-.668a.406.406 0 01-.021-.538 1.5 1.5 0 00-.108-2.026l-.994-.98a7.003 7.003 0 013.709-1.205zm5.894 1.697a2.42 2.42 0 00-1.325-1.8 9.704 9.704 0 00-4.271-1.013c-5.258 0-8.512 4.578-8.512 8.819 0 1.42.196 2.66.617 3.907.275.812.94 1.412 1.78 1.609a2.493 2.493 0 002.348-.669l8.66-8.661a2.521 2.521 0 00.703-2.192z" });
4
4
  const normalHover = /* @__PURE__ */ jsxs("g", { children: [
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  const Puzzle = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsx("path", { d: "M28.075 25.025a4.596 4.596 0 00-.915 3.863c.372 1.771 1.825 3.18 3.616 3.507a4.6 4.6 0 003.234-.598c.394-.242.906-.37 1.479-.37h.19v7.983H12.07v-7.984h.08c.645 0 1.195.134 1.634.398a4.549 4.549 0 002.34.648 4.553 4.553 0 003.55-1.692 4.594 4.594 0 00.916-3.862c-.371-1.77-1.824-3.18-3.614-3.507a4.579 4.579 0 00-3.236.597c-.394.242-.905.371-1.48.371h-.19v-7.543c0-.57.464-1.035 1.035-1.035h8.545v-1.674c0-.816-.195-1.563-.563-2.162a3.242 3.242 0 01-.426-2.318 3.246 3.246 0 012.496-2.578 3.29 3.29 0 012.775.654 3.256 3.256 0 01.748 4.211c-.385.645-.582 1.42-.582 2.303v1.564h8.545c.572 0 1.035.464 1.035 1.035v7.543h-.08c-.644 0-1.194-.134-1.633-.398a4.549 4.549 0 00-2.341-.648 4.554 4.554 0 00-3.55 1.692zm5.222.071c.644.387 1.42.582 2.302.582h1.38v-8.842a2.338 2.338 0 00-2.335-2.335H27.4v-.264c0-.645.133-1.195.396-1.634a4.554 4.554 0 00-1.043-5.89 4.6 4.6 0 00-3.863-.917c-1.771.373-3.18 1.827-3.507 3.618a4.589 4.589 0 00.597 3.233c.242.393.37.905.37 1.48v.374h-7.244a2.338 2.338 0 00-2.336 2.335v8.842h1.49c.816 0 1.564-.195 2.163-.563a3.235 3.235 0 012.32-.425 3.246 3.246 0 012.576 2.495 3.305 3.305 0 01-.653 2.776c-.996 1.228-2.862 1.56-4.212.748-.645-.387-1.42-.582-2.303-.582H10.77V40.71h26.21V30.127h-1.491c-.814 0-1.561.194-2.161.563a3.24 3.24 0 01-2.32.425 3.247 3.247 0 01-2.577-2.495 3.306 3.306 0 01.654-2.776c.996-1.228 2.86-1.559 4.212-.748zM14.61 37.421h18.53v-1.1H14.61v1.1z" });
4
4
  const normalHover = /* @__PURE__ */ jsxs("g", { children: [
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  const Snapchat = ({ isHovered }) => {
3
3
  const normal = /* @__PURE__ */ jsxs("g", { children: [
4
4
  /* @__PURE__ */ jsx("path", { d: "M36.843 34.435l-.464.047-.57 2.476c-.15-.053-.316-.119-.483-.187-1.097-.44-2.755-1.11-4.745-.08-.772.4-1.382.814-1.97 1.214-1.312.89-2.347 1.592-4.508 1.651-2.197-.059-3.232-.762-4.542-1.65-.59-.4-1.199-.815-1.972-1.215a4.605 4.605 0 00-2.155-.545c-1.036 0-1.918.355-2.589.625-.168.068-.333.134-.482.187l-.572-2.476-.463-.047c-1.923-.197-3.859-.74-4.054-1.076.001-.004.13-.374 1.556-1.006 5.921-2.62 5.99-6.667 5.99-6.838l-.047-.242c-.427-1.062-1.446-1.382-2.264-1.638-1.05-.33-1.387-.497-1.363-1.22a.629.629 0 01.226-.472c.625-.566 2.298-.684 3.214-.625l.693.045V16.85c0-8.309 8.446-8.406 8.807-8.406.36 0 8.807.097 8.807 8.406l.001 4.514.691-.045c.907-.059 2.588.06 3.214.625a.63.63 0 01.227.471c.023.724-.315.891-1.364 1.221-.817.256-1.836.576-2.262 1.638l-.047.242c0 .171.068 4.218 5.988 6.838 1.367.605 1.567.948 1.56.946-.221.401-2.146.941-4.058 1.136m3.023-3.27c-4.591-2.033-5.14-4.88-5.204-5.522.216-.375.682-.546 1.39-.768.928-.292 2.33-.732 2.273-2.503a1.927 1.927 0 00-.654-1.393c-.895-.812-2.534-.96-3.476-.973V16.85c0-2.793-.852-5.059-2.531-6.733-2.937-2.93-7.33-2.973-7.572-2.973h-.01c-.245 0-4.636.044-7.573 2.973-1.68 1.674-2.53 3.94-2.53 6.733v3.157c-.943.013-2.581.161-3.478.973-.41.372-.636.853-.653 1.393-.058 1.771 1.345 2.211 2.273 2.503.708.222 1.174.392 1.39.767-.066.652-.62 3.493-5.205 5.522-1.08.478-2.492 1.241-2.315 2.356.217 1.366 2.883 1.93 4.743 2.156l.623 2.701h.517c.463 0 .924-.185 1.457-.4 1.033-.416 2.203-.887 3.66-.132.705.365 1.283.757 1.84 1.135 1.368.93 2.66 1.806 5.273 1.876 2.576-.07 3.869-.947 5.237-1.876.558-.378 1.136-.77 1.839-1.135 1.456-.755 2.627-.284 3.66.132.534.215.995.4 1.458.4h.518l.623-2.7c1.86-.228 4.525-.79 4.742-2.157.178-1.115-1.235-1.878-2.315-2.356" }),
@@ -1,5 +1,5 @@
1
1
  /** AUTO-GENERATED - DO NOT CHANGE MANUALLY **/
2
- export declare const IllustrationList: readonly ["Doctor", "FacialRecognitionFingerprint", "HealthcarePersonnel"];
2
+ export declare const IllustrationList: readonly ["Doctor", "FacialRecognitionFingerprint", "HealthcarePersonnel", "ReadLetters", "Support2"];
3
3
  export interface IllustrationSize {
4
4
  small?: string;
5
5
  medium?: string;