@helsenorge/designsystem-react 8.4.0 → 8.5.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 (1100) hide show
  1. package/AnchorLink.js +60 -0
  2. package/AnchorLink.js.map +1 -0
  3. package/Avatar.js +34 -0
  4. package/Avatar.js.map +1 -0
  5. package/Badge.js +31 -0
  6. package/Badge.js.map +1 -0
  7. package/Button.js +130 -0
  8. package/Button.js.map +1 -0
  9. package/CHANGELOG.md +28 -3
  10. package/Checkbox.js +113 -0
  11. package/Checkbox.js.map +1 -0
  12. package/Close.js +31 -0
  13. package/Close.js.map +1 -0
  14. package/ErrorBoundary.js +35 -0
  15. package/ErrorBoundary.js.map +1 -0
  16. package/ErrorWrapper.js +14 -0
  17. package/ErrorWrapper.js.map +1 -0
  18. package/Expander.js +108 -0
  19. package/Expander.js.map +1 -0
  20. package/FormGroup.js +113 -0
  21. package/FormGroup.js.map +1 -0
  22. package/FormLayout.js +38 -0
  23. package/FormLayout.js.map +1 -0
  24. package/HelpBubble.js +68 -0
  25. package/HelpBubble.js.map +1 -0
  26. package/HighlightPanel.js +71 -0
  27. package/HighlightPanel.js.map +1 -0
  28. package/HorizontalScroll.js +49 -0
  29. package/HorizontalScroll.js.map +1 -0
  30. package/Icon.js +62 -0
  31. package/Icon.js.map +1 -0
  32. package/Illustration.js +41 -0
  33. package/Illustration.js.map +1 -0
  34. package/Input.js +140 -0
  35. package/Input.js.map +1 -0
  36. package/Label.js +108 -0
  37. package/Label.js.map +1 -0
  38. package/LazyIcon.js +30 -0
  39. package/LazyIcon.js.map +1 -0
  40. package/LazyIllustration.js +34 -0
  41. package/LazyIllustration.js.map +1 -0
  42. package/LinkList.js +63 -0
  43. package/LinkList.js.map +1 -0
  44. package/List.js +13 -0
  45. package/List.js.map +1 -0
  46. package/ListHeader.js +94 -0
  47. package/ListHeader.js.map +1 -0
  48. package/ListHeaderText.js +35 -0
  49. package/ListHeaderText.js.map +1 -0
  50. package/MaxCharacters.js +15 -0
  51. package/MaxCharacters.js.map +1 -0
  52. package/NotificationBadge.js +68 -0
  53. package/NotificationBadge.js.map +1 -0
  54. package/Panel.js +255 -0
  55. package/Panel.js.map +1 -0
  56. package/PopOver.js +85 -0
  57. package/PopOver.js.map +1 -0
  58. package/RadioButton.js +104 -0
  59. package/RadioButton.js.map +1 -0
  60. package/Select.js +76 -0
  61. package/Select.js.map +1 -0
  62. package/{components/Spacer/Spacer.js → Spacer.js} +10 -9
  63. package/Spacer.js.map +1 -0
  64. package/StatusDot.js +33 -0
  65. package/StatusDot.js.map +1 -0
  66. package/StepButtons.js +28 -0
  67. package/StepButtons.js.map +1 -0
  68. package/TabList.js +68 -0
  69. package/TabList.js.map +1 -0
  70. package/TabPanel.js +18 -0
  71. package/TabPanel.js.map +1 -0
  72. package/Table.js +98 -0
  73. package/Table.js.map +1 -0
  74. package/TableBody.js +13 -0
  75. package/TableBody.js.map +1 -0
  76. package/{components/Table/TableCell/TableCell.js → TableCell.js} +12 -13
  77. package/TableCell.js.map +1 -0
  78. package/TableExpandedRow.js +37 -0
  79. package/TableExpandedRow.js.map +1 -0
  80. package/TableExpanderCell.js +34 -0
  81. package/TableExpanderCell.js.map +1 -0
  82. package/TableHead.js +24 -0
  83. package/TableHead.js.map +1 -0
  84. package/TableHeadCell.js +44 -0
  85. package/TableHeadCell.js.map +1 -0
  86. package/TableRow.js +62 -0
  87. package/TableRow.js.map +1 -0
  88. package/Textarea.js +110 -0
  89. package/Textarea.js.map +1 -0
  90. package/Title.js +25 -0
  91. package/Title.js.map +1 -0
  92. package/TooltipWord.js +28 -0
  93. package/TooltipWord.js.map +1 -0
  94. package/Trigger.js +73 -0
  95. package/Trigger.js.map +1 -0
  96. package/__mocks__/matchMedia.js +1 -0
  97. package/__mocks__/matchMedia.js.map +1 -1
  98. package/__mocks__/uuid.js +1 -1
  99. package/components/AnchorLink/index.js +1 -1
  100. package/components/Avatar/index.js +3 -3
  101. package/components/Badge/index.js +1 -1
  102. package/components/Button/index.js +1 -1
  103. package/components/Checkbox/index.js +3 -3
  104. package/components/Chip/index.js +30 -6
  105. package/components/Chip/index.js.map +1 -1
  106. package/components/Close/index.js +2 -2
  107. package/components/DictionaryTrigger/index.js +25 -2
  108. package/components/DictionaryTrigger/index.js.map +1 -1
  109. package/components/Dropdown/index.js +124 -4
  110. package/components/Dropdown/index.js.map +1 -1
  111. package/components/Duolist/index.js +70 -5
  112. package/components/Duolist/index.js.map +1 -1
  113. package/components/EmptyState/index.js +159 -2
  114. package/components/EmptyState/index.js.map +1 -1
  115. package/components/ErrorWrapper/index.js +3 -3
  116. package/components/Expander/index.js +4 -4
  117. package/components/ExpanderHierarchy/index.js +102 -2
  118. package/components/ExpanderHierarchy/index.js.map +1 -1
  119. package/components/ExpanderList/index.js +139 -3
  120. package/components/ExpanderList/index.js.map +1 -1
  121. package/components/EyebrowHeader/index.js +9 -2
  122. package/components/EyebrowHeader/index.js.map +1 -1
  123. package/components/FormGroup/index.js +1 -1
  124. package/components/FormLayout/index.js +5 -5
  125. package/components/HelpBubble/index.js +4 -4
  126. package/components/HelpPanel/index.js +21 -2
  127. package/components/HelpPanel/index.js.map +1 -1
  128. package/components/HelpQuestion/index.js +31 -2
  129. package/components/HelpQuestion/index.js.map +1 -1
  130. package/components/HighlightPanel/index.js +4 -4
  131. package/components/HorizontalScroll/index.js +1 -1
  132. package/components/Icon/index.js +5 -5
  133. package/components/Icons/ActiveMonitoring.js +4 -4
  134. package/components/Icons/ActiveMonitoring.js.map +1 -1
  135. package/components/Icons/AcupunctureBack.js +6 -6
  136. package/components/Icons/AcupunctureBack.js.map +1 -1
  137. package/components/Icons/AlarmClock.js +15 -5
  138. package/components/Icons/AlarmClock.js.map +1 -1
  139. package/components/Icons/AlertSignFill.js +4 -4
  140. package/components/Icons/AlertSignFill.js.map +1 -1
  141. package/components/Icons/AlertSignStroke.js +4 -4
  142. package/components/Icons/AlertSignStroke.js.map +1 -1
  143. package/components/Icons/Amputation.js +3 -3
  144. package/components/Icons/Amputation.js.map +1 -1
  145. package/components/Icons/Anxiety.js +3 -3
  146. package/components/Icons/Anxiety.js.map +1 -1
  147. package/components/Icons/Apple.js +3 -3
  148. package/components/Icons/Apple.js.map +1 -1
  149. package/components/Icons/Archive.js +7 -7
  150. package/components/Icons/Archive.js.map +1 -1
  151. package/components/Icons/ArmFlexing.js +3 -3
  152. package/components/Icons/ArmFlexing.js.map +1 -1
  153. package/components/Icons/ArrowDown.js +7 -7
  154. package/components/Icons/ArrowDown.js.map +1 -1
  155. package/components/Icons/ArrowLeft.js +3 -3
  156. package/components/Icons/ArrowLeft.js.map +1 -1
  157. package/components/Icons/ArrowRight.js +3 -3
  158. package/components/Icons/ArrowRight.js.map +1 -1
  159. package/components/Icons/ArrowUp.js +7 -7
  160. package/components/Icons/ArrowUp.js.map +1 -1
  161. package/components/Icons/ArrowUpRight.js +4 -4
  162. package/components/Icons/ArrowUpRight.js.map +1 -1
  163. package/components/Icons/Attachment.js +4 -4
  164. package/components/Icons/Attachment.js.map +1 -1
  165. package/components/Icons/Atv.js +3 -3
  166. package/components/Icons/Atv.js.map +1 -1
  167. package/components/Icons/Avatar.js +4 -4
  168. package/components/Icons/Avatar.js.map +1 -1
  169. package/components/Icons/AwakePersonOnPillow.js +2 -2
  170. package/components/Icons/AwakePersonOnPillow.js.map +1 -1
  171. package/components/Icons/Baby.js +3 -3
  172. package/components/Icons/Baby.js.map +1 -1
  173. package/components/Icons/BandAid.js +3 -3
  174. package/components/Icons/BandAid.js.map +1 -1
  175. package/components/Icons/BeerAndPills.js +3 -3
  176. package/components/Icons/BeerAndPills.js.map +1 -1
  177. package/components/Icons/Bell.js +3 -3
  178. package/components/Icons/Bell.js.map +1 -1
  179. package/components/Icons/Bike.js +3 -3
  180. package/components/Icons/Bike.js.map +1 -1
  181. package/components/Icons/BirthControl.js +4 -4
  182. package/components/Icons/BirthControl.js.map +1 -1
  183. package/components/Icons/BirthdayCake.js +2 -2
  184. package/components/Icons/BirthdayCake.js.map +1 -1
  185. package/components/Icons/Boat.js +3 -3
  186. package/components/Icons/Boat.js.map +1 -1
  187. package/components/Icons/Body.js +4 -4
  188. package/components/Icons/Body.js.map +1 -1
  189. package/components/Icons/Braille.js +4 -4
  190. package/components/Icons/Braille.js.map +1 -1
  191. package/components/Icons/Brain.js +3 -3
  192. package/components/Icons/Brain.js.map +1 -1
  193. package/components/Icons/BreastReconstruction.js +4 -4
  194. package/components/Icons/BreastReconstruction.js.map +1 -1
  195. package/components/Icons/BreastRemoval.js +4 -4
  196. package/components/Icons/BreastRemoval.js.map +1 -1
  197. package/components/Icons/Breasts.js +2 -2
  198. package/components/Icons/Breasts.js.map +1 -1
  199. package/components/Icons/BrokenHeart.js +3 -3
  200. package/components/Icons/BrokenHeart.js.map +1 -1
  201. package/components/Icons/BrokenPuzzle.js +3 -3
  202. package/components/Icons/BrokenPuzzle.js.map +1 -1
  203. package/components/Icons/Bus.js +13 -6
  204. package/components/Icons/Bus.js.map +1 -1
  205. package/components/Icons/Calendar.js +6 -6
  206. package/components/Icons/Calendar.js.map +1 -1
  207. package/components/Icons/CalendarChange.js +7 -7
  208. package/components/Icons/CalendarChange.js.map +1 -1
  209. package/components/Icons/CalendarCheck.js +7 -7
  210. package/components/Icons/CalendarCheck.js.map +1 -1
  211. package/components/Icons/CalendarEvent.js +3 -3
  212. package/components/Icons/CalendarEvent.js.map +1 -1
  213. package/components/Icons/CalendarSave.js +4 -4
  214. package/components/Icons/CalendarSave.js.map +1 -1
  215. package/components/Icons/Cancer.js +17 -3
  216. package/components/Icons/Cancer.js.map +1 -1
  217. package/components/Icons/Candle.js +5 -5
  218. package/components/Icons/Candle.js.map +1 -1
  219. package/components/Icons/Car.js +2 -2
  220. package/components/Icons/Car.js.map +1 -1
  221. package/components/Icons/Carton.js +19 -14
  222. package/components/Icons/Carton.js.map +1 -1
  223. package/components/Icons/Change.js +14 -8
  224. package/components/Icons/Change.js.map +1 -1
  225. package/components/Icons/Check.js +4 -4
  226. package/components/Icons/Check.js.map +1 -1
  227. package/components/Icons/CheckFill.js +7 -7
  228. package/components/Icons/CheckFill.js.map +1 -1
  229. package/components/Icons/CheckOutline.js +4 -4
  230. package/components/Icons/CheckOutline.js.map +1 -1
  231. package/components/Icons/Chest.js +2 -2
  232. package/components/Icons/Chest.js.map +1 -1
  233. package/components/Icons/ChevronDown.js +3 -3
  234. package/components/Icons/ChevronDown.js.map +1 -1
  235. package/components/Icons/ChevronLeft.js +3 -3
  236. package/components/Icons/ChevronLeft.js.map +1 -1
  237. package/components/Icons/ChevronRight.js +3 -3
  238. package/components/Icons/ChevronRight.js.map +1 -1
  239. package/components/Icons/ChevronUp.js +3 -3
  240. package/components/Icons/ChevronUp.js.map +1 -1
  241. package/components/Icons/ChevronsDown.js +6 -6
  242. package/components/Icons/ChevronsDown.js.map +1 -1
  243. package/components/Icons/ChevronsUp.js +7 -7
  244. package/components/Icons/ChevronsUp.js.map +1 -1
  245. package/components/Icons/ChildPlaying.js +9 -3
  246. package/components/Icons/ChildPlaying.js.map +1 -1
  247. package/components/Icons/Cigarette.js +3 -3
  248. package/components/Icons/Cigarette.js.map +1 -1
  249. package/components/Icons/Coins.js +4 -4
  250. package/components/Icons/Coins.js.map +1 -1
  251. package/components/Icons/Contacts.js +4 -4
  252. package/components/Icons/Contacts.js.map +1 -1
  253. package/components/Icons/Copy.js +15 -4
  254. package/components/Icons/Copy.js.map +1 -1
  255. package/components/Icons/CoronaCertificate.js +3 -3
  256. package/components/Icons/CoronaCertificate.js.map +1 -1
  257. package/components/Icons/Coronavirus.js +3 -3
  258. package/components/Icons/Coronavirus.js.map +1 -1
  259. package/components/Icons/Cough.js +3 -3
  260. package/components/Icons/Cough.js.map +1 -1
  261. package/components/Icons/CreditCard.js +33 -10
  262. package/components/Icons/CreditCard.js.map +1 -1
  263. package/components/Icons/CriticalHealthInfo.js +3 -3
  264. package/components/Icons/CriticalHealthInfo.js.map +1 -1
  265. package/components/Icons/Cross.js +3 -3
  266. package/components/Icons/Cross.js.map +1 -1
  267. package/components/Icons/DataExchange.js +4 -4
  268. package/components/Icons/DataExchange.js.map +1 -1
  269. package/components/Icons/DataReceived.js +4 -4
  270. package/components/Icons/DataReceived.js.map +1 -1
  271. package/components/Icons/DataSent.js +4 -4
  272. package/components/Icons/DataSent.js.map +1 -1
  273. package/components/Icons/Depression.js +3 -3
  274. package/components/Icons/Depression.js.map +1 -1
  275. package/components/Icons/DigestiveSystem.js +9 -3
  276. package/components/Icons/DigestiveSystem.js.map +1 -1
  277. package/components/Icons/Dizzy.js +3 -3
  278. package/components/Icons/Dizzy.js.map +1 -1
  279. package/components/Icons/Documents.js +3 -3
  280. package/components/Icons/Documents.js.map +1 -1
  281. package/components/Icons/Dog.js +3 -3
  282. package/components/Icons/Dog.js.map +1 -1
  283. package/components/Icons/DonorCard.js +3 -3
  284. package/components/Icons/DonorCard.js.map +1 -1
  285. package/components/Icons/Download.js +7 -7
  286. package/components/Icons/Download.js.map +1 -1
  287. package/components/Icons/Draft.js +3 -3
  288. package/components/Icons/Draft.js.map +1 -1
  289. package/components/Icons/EChat.js +4 -4
  290. package/components/Icons/EChat.js.map +1 -1
  291. package/components/Icons/Ear.js +10 -7
  292. package/components/Icons/Ear.js.map +1 -1
  293. package/components/Icons/EarDeaf.js +4 -4
  294. package/components/Icons/EarDeaf.js.map +1 -1
  295. package/components/Icons/EarHearingAid.js +7 -7
  296. package/components/Icons/EarHearingAid.js.map +1 -1
  297. package/components/Icons/EarNoseThroat.js +11 -3
  298. package/components/Icons/EarNoseThroat.js.map +1 -1
  299. package/components/Icons/EarVolume.js +13 -8
  300. package/components/Icons/EarVolume.js.map +1 -1
  301. package/components/Icons/ElderlyPerson.js +2 -2
  302. package/components/Icons/ElderlyPerson.js.map +1 -1
  303. package/components/Icons/Embolization.js +4 -4
  304. package/components/Icons/Embolization.js.map +1 -1
  305. package/components/Icons/EmergencyCall.js +5 -5
  306. package/components/Icons/EmergencyCall.js.map +1 -1
  307. package/components/Icons/EmoticonAnnoyed.js +12 -8
  308. package/components/Icons/EmoticonAnnoyed.js.map +1 -1
  309. package/components/Icons/EmoticonDelighted.js +10 -7
  310. package/components/Icons/EmoticonDelighted.js.map +1 -1
  311. package/components/Icons/EmoticonDisappointed.js +10 -7
  312. package/components/Icons/EmoticonDisappointed.js.map +1 -1
  313. package/components/Icons/EmoticonHappy.js +10 -7
  314. package/components/Icons/EmoticonHappy.js.map +1 -1
  315. package/components/Icons/EmoticonMeh.js +10 -7
  316. package/components/Icons/EmoticonMeh.js.map +1 -1
  317. package/components/Icons/EnterFullScreen.js +13 -4
  318. package/components/Icons/EnterFullScreen.js.map +1 -1
  319. package/components/Icons/Envelope.js +4 -4
  320. package/components/Icons/Envelope.js.map +1 -1
  321. package/components/Icons/Epilepsy.js +3 -3
  322. package/components/Icons/Epilepsy.js.map +1 -1
  323. package/components/Icons/Eraser.js +10 -4
  324. package/components/Icons/Eraser.js.map +1 -1
  325. package/components/Icons/ErrorSignFill.js +4 -4
  326. package/components/Icons/ErrorSignFill.js.map +1 -1
  327. package/components/Icons/ErrorSignStroke.js +4 -4
  328. package/components/Icons/ErrorSignStroke.js.map +1 -1
  329. package/components/Icons/EuropeanHealthCard.js +6 -3
  330. package/components/Icons/EuropeanHealthCard.js.map +1 -1
  331. package/components/Icons/ExitFullScreen.js +13 -4
  332. package/components/Icons/ExitFullScreen.js.map +1 -1
  333. package/components/Icons/Eye.js +12 -4
  334. package/components/Icons/Eye.js.map +1 -1
  335. package/components/Icons/Facebook.js +3 -3
  336. package/components/Icons/Facebook.js.map +1 -1
  337. package/components/Icons/FallingLeaf.js +14 -9
  338. package/components/Icons/FallingLeaf.js.map +1 -1
  339. package/components/Icons/Female.js +3 -3
  340. package/components/Icons/Female.js.map +1 -1
  341. package/components/Icons/FemaleDoctor.js +2 -2
  342. package/components/Icons/FemaleDoctor.js.map +1 -1
  343. package/components/Icons/Ferry.js +3 -3
  344. package/components/Icons/Ferry.js.map +1 -1
  345. package/components/Icons/File.js +6 -6
  346. package/components/Icons/File.js.map +1 -1
  347. package/components/Icons/Filter.js +5 -5
  348. package/components/Icons/Filter.js.map +1 -1
  349. package/components/Icons/FingerBleed.js +3 -3
  350. package/components/Icons/FingerBleed.js.map +1 -1
  351. package/components/Icons/FirstAidKit.js +3 -3
  352. package/components/Icons/FirstAidKit.js.map +1 -1
  353. package/components/Icons/Fish.js +21 -14
  354. package/components/Icons/Fish.js.map +1 -1
  355. package/components/Icons/FloppyDisk.js +4 -4
  356. package/components/Icons/FloppyDisk.js.map +1 -1
  357. package/components/Icons/Football.js +3 -3
  358. package/components/Icons/Football.js.map +1 -1
  359. package/components/Icons/Form.js +4 -4
  360. package/components/Icons/Form.js.map +1 -1
  361. package/components/Icons/Forward.js +10 -4
  362. package/components/Icons/Forward.js.map +1 -1
  363. package/components/Icons/Gallery.js +7 -7
  364. package/components/Icons/Gallery.js.map +1 -1
  365. package/components/Icons/Garden.js +3 -3
  366. package/components/Icons/Garden.js.map +1 -1
  367. package/components/Icons/GasCan.js +3 -3
  368. package/components/Icons/GasCan.js.map +1 -1
  369. package/components/Icons/GenderIdentity.js +4 -4
  370. package/components/Icons/GenderIdentity.js.map +1 -1
  371. package/components/Icons/GlassWater.js +3 -3
  372. package/components/Icons/GlassWater.js.map +1 -1
  373. package/components/Icons/Glasses.js +4 -4
  374. package/components/Icons/Glasses.js.map +1 -1
  375. package/components/Icons/Globe.js +4 -4
  376. package/components/Icons/Globe.js.map +1 -1
  377. package/components/Icons/Grain.js +3 -3
  378. package/components/Icons/Grain.js.map +1 -1
  379. package/components/Icons/Graph.js +12 -9
  380. package/components/Icons/Graph.js.map +1 -1
  381. package/components/Icons/Group.js +8 -8
  382. package/components/Icons/Group.js.map +1 -1
  383. package/components/Icons/GroupTwins.js +35 -21
  384. package/components/Icons/GroupTwins.js.map +1 -1
  385. package/components/Icons/HTMLFile.js +10 -7
  386. package/components/Icons/HTMLFile.js.map +1 -1
  387. package/components/Icons/HandWaving.js +3 -3
  388. package/components/Icons/HandWaving.js.map +1 -1
  389. package/components/Icons/HandWithDisease.js +3 -3
  390. package/components/Icons/HandWithDisease.js.map +1 -1
  391. package/components/Icons/HandsAndHeart.js +5 -5
  392. package/components/Icons/HandsAndHeart.js.map +1 -1
  393. package/components/Icons/HealthClinic.js +4 -4
  394. package/components/Icons/HealthClinic.js.map +1 -1
  395. package/components/Icons/HealthWarning.js +4 -4
  396. package/components/Icons/HealthWarning.js.map +1 -1
  397. package/components/Icons/HealthcarePerson.js +27 -14
  398. package/components/Icons/HealthcarePerson.js.map +1 -1
  399. package/components/Icons/HealthcarePersonell.js +36 -18
  400. package/components/Icons/HealthcarePersonell.js.map +1 -1
  401. package/components/Icons/HearingProtection.js +12 -9
  402. package/components/Icons/HearingProtection.js.map +1 -1
  403. package/components/Icons/Heart.js +4 -4
  404. package/components/Icons/Heart.js.map +1 -1
  405. package/components/Icons/HeartHands.js +29 -22
  406. package/components/Icons/HeartHands.js.map +1 -1
  407. package/components/Icons/HelpSign.js +4 -4
  408. package/components/Icons/HelpSign.js.map +1 -1
  409. package/components/Icons/HelpingHand.js +3 -3
  410. package/components/Icons/HelpingHand.js.map +1 -1
  411. package/components/Icons/Hemodialysis.js +3 -3
  412. package/components/Icons/Hemodialysis.js.map +1 -1
  413. package/components/Icons/Hiker.js +2 -2
  414. package/components/Icons/Hiker.js.map +1 -1
  415. package/components/Icons/Hipprosthesis.js +4 -4
  416. package/components/Icons/Hipprosthesis.js.map +1 -1
  417. package/components/Icons/History.js +4 -4
  418. package/components/Icons/History.js.map +1 -1
  419. package/components/Icons/HivAndAids.js +3 -3
  420. package/components/Icons/HivAndAids.js.map +1 -1
  421. package/components/Icons/Home.js +7 -7
  422. package/components/Icons/Home.js.map +1 -1
  423. package/components/Icons/Hormone.js +3 -3
  424. package/components/Icons/Hormone.js.map +1 -1
  425. package/components/Icons/Hospital.js +7 -7
  426. package/components/Icons/Hospital.js.map +1 -1
  427. package/components/Icons/Hourglass.js +7 -7
  428. package/components/Icons/Hourglass.js.map +1 -1
  429. package/components/Icons/ImgFile.js +4 -4
  430. package/components/Icons/ImgFile.js.map +1 -1
  431. package/components/Icons/Inbox.js +6 -3
  432. package/components/Icons/Inbox.js.map +1 -1
  433. package/components/Icons/InfoSignFill.js +4 -4
  434. package/components/Icons/InfoSignFill.js.map +1 -1
  435. package/components/Icons/InfoSignStroke.js +4 -4
  436. package/components/Icons/InfoSignStroke.js.map +1 -1
  437. package/components/Icons/Instagram.js +9 -2
  438. package/components/Icons/Instagram.js.map +1 -1
  439. package/components/Icons/Intravenous.js +4 -4
  440. package/components/Icons/Intravenous.js.map +1 -1
  441. package/components/Icons/JointPain.js +3 -3
  442. package/components/Icons/JointPain.js.map +1 -1
  443. package/components/Icons/Journal.js +4 -4
  444. package/components/Icons/Journal.js.map +1 -1
  445. package/components/Icons/JpgFile.js +4 -4
  446. package/components/Icons/JpgFile.js.map +1 -1
  447. package/components/Icons/Kidney.js +3 -3
  448. package/components/Icons/Kidney.js.map +1 -1
  449. package/components/Icons/KitchenScale.js +4 -4
  450. package/components/Icons/KitchenScale.js.map +1 -1
  451. package/components/Icons/Kjernejournal.js +3 -3
  452. package/components/Icons/Kjernejournal.js.map +1 -1
  453. package/components/Icons/Laboratory.js +4 -4
  454. package/components/Icons/Laboratory.js.map +1 -1
  455. package/components/Icons/LaptopBlog.js +3 -3
  456. package/components/Icons/LaptopBlog.js.map +1 -1
  457. package/components/Icons/LawBook.js +6 -3
  458. package/components/Icons/LawBook.js.map +1 -1
  459. package/components/Icons/LegalDocument.js +13 -10
  460. package/components/Icons/LegalDocument.js.map +1 -1
  461. package/components/Icons/LightBulb.js +2 -2
  462. package/components/Icons/LightBulb.js.map +1 -1
  463. package/components/Icons/List.js +7 -7
  464. package/components/Icons/List.js.map +1 -1
  465. package/components/Icons/Location.js +6 -3
  466. package/components/Icons/Location.js.map +1 -1
  467. package/components/Icons/Lock.js +4 -4
  468. package/components/Icons/Lock.js.map +1 -1
  469. package/components/Icons/Login.js +20 -11
  470. package/components/Icons/Login.js.map +1 -1
  471. package/components/Icons/Logout.js +20 -11
  472. package/components/Icons/Logout.js.map +1 -1
  473. package/components/Icons/Lungs.js +3 -3
  474. package/components/Icons/Lungs.js.map +1 -1
  475. package/components/Icons/Makeup.js +2 -2
  476. package/components/Icons/Makeup.js.map +1 -1
  477. package/components/Icons/MaleDoctor.js +2 -2
  478. package/components/Icons/MaleDoctor.js.map +1 -1
  479. package/components/Icons/MaleDoctorAndPerson.js +11 -3
  480. package/components/Icons/MaleDoctorAndPerson.js.map +1 -1
  481. package/components/Icons/MaleGenitalia.js +2 -2
  482. package/components/Icons/MaleGenitalia.js.map +1 -1
  483. package/components/Icons/Medicine.js +6 -6
  484. package/components/Icons/Medicine.js.map +1 -1
  485. package/components/Icons/MedicineWarning.js +4 -4
  486. package/components/Icons/MedicineWarning.js.map +1 -1
  487. package/components/Icons/MentalHealthAdult.js +9 -3
  488. package/components/Icons/MentalHealthAdult.js.map +1 -1
  489. package/components/Icons/MentalHealthChild.js +9 -3
  490. package/components/Icons/MentalHealthChild.js.map +1 -1
  491. package/components/Icons/Menu.js +4 -4
  492. package/components/Icons/Menu.js.map +1 -1
  493. package/components/Icons/Microscope.js +4 -4
  494. package/components/Icons/Microscope.js.map +1 -1
  495. package/components/Icons/Minus.js +3 -3
  496. package/components/Icons/Minus.js.map +1 -1
  497. package/components/Icons/Mirror.js +3 -3
  498. package/components/Icons/Mirror.js.map +1 -1
  499. package/components/Icons/MobilePhone.js +4 -4
  500. package/components/Icons/MobilePhone.js.map +1 -1
  501. package/components/Icons/MotherHoldingBaby.js +2 -2
  502. package/components/Icons/MotherHoldingBaby.js.map +1 -1
  503. package/components/Icons/MuscleBack.js +11 -3
  504. package/components/Icons/MuscleBack.js.map +1 -1
  505. package/components/Icons/MuscleLeg.js +9 -3
  506. package/components/Icons/MuscleLeg.js.map +1 -1
  507. package/components/Icons/Mushroom.js +3 -3
  508. package/components/Icons/Mushroom.js.map +1 -1
  509. package/components/Icons/Music.js +3 -3
  510. package/components/Icons/Music.js.map +1 -1
  511. package/components/Icons/MusselsAndSalt.js +2 -2
  512. package/components/Icons/MusselsAndSalt.js.map +1 -1
  513. package/components/Icons/NoAccess.js +20 -17
  514. package/components/Icons/NoAccess.js.map +1 -1
  515. package/components/Icons/NoEye.js +9 -9
  516. package/components/Icons/NoEye.js.map +1 -1
  517. package/components/Icons/NoFilter.js +10 -4
  518. package/components/Icons/NoFilter.js.map +1 -1
  519. package/components/Icons/Notepad.js +2 -2
  520. package/components/Icons/Notepad.js.map +1 -1
  521. package/components/Icons/Osteotomy.js +4 -4
  522. package/components/Icons/Osteotomy.js.map +1 -1
  523. package/components/Icons/PaintRoller.js +3 -3
  524. package/components/Icons/PaintRoller.js.map +1 -1
  525. package/components/Icons/PaperPlane.js +4 -4
  526. package/components/Icons/PaperPlane.js.map +1 -1
  527. package/components/Icons/PatientAndPerson.js +2 -2
  528. package/components/Icons/PatientAndPerson.js.map +1 -1
  529. package/components/Icons/Pause.js +4 -4
  530. package/components/Icons/Pause.js.map +1 -1
  531. package/components/Icons/PdfFile.js +4 -4
  532. package/components/Icons/PdfFile.js.map +1 -1
  533. package/components/Icons/Pencil.js +4 -4
  534. package/components/Icons/Pencil.js.map +1 -1
  535. package/components/Icons/PeopleTalking.js +3 -3
  536. package/components/Icons/PeopleTalking.js.map +1 -1
  537. package/components/Icons/Peritonealdialysis.js +4 -4
  538. package/components/Icons/Peritonealdialysis.js.map +1 -1
  539. package/components/Icons/Person.js +2 -2
  540. package/components/Icons/Person.js.map +1 -1
  541. package/components/Icons/PersonAndPatient.js +2 -2
  542. package/components/Icons/PersonAndPatient.js.map +1 -1
  543. package/components/Icons/PersonCancel.js +28 -19
  544. package/components/Icons/PersonCancel.js.map +1 -1
  545. package/components/Icons/PersonInXRayMachine.js +4 -4
  546. package/components/Icons/PersonInXRayMachine.js.map +1 -1
  547. package/components/Icons/PersonOverweight.js +3 -3
  548. package/components/Icons/PersonOverweight.js.map +1 -1
  549. package/components/Icons/PersonRelaxing.js +9 -3
  550. package/components/Icons/PersonRelaxing.js.map +1 -1
  551. package/components/Icons/PersonWithBrain.js +6 -3
  552. package/components/Icons/PersonWithBrain.js.map +1 -1
  553. package/components/Icons/PersonWithBrokenArm.js +3 -3
  554. package/components/Icons/PersonWithBrokenArm.js.map +1 -1
  555. package/components/Icons/PersonWithCrutches.js +3 -3
  556. package/components/Icons/PersonWithCrutches.js.map +1 -1
  557. package/components/Icons/PersonWithJaw.js +9 -3
  558. package/components/Icons/PersonWithJaw.js.map +1 -1
  559. package/components/Icons/PersonWithMagnifyingGlass.js +8 -2
  560. package/components/Icons/PersonWithMagnifyingGlass.js.map +1 -1
  561. package/components/Icons/PersonWithSenses.js +15 -3
  562. package/components/Icons/PersonWithSenses.js.map +1 -1
  563. package/components/Icons/PersonWorking.js +9 -3
  564. package/components/Icons/PersonWorking.js.map +1 -1
  565. package/components/Icons/PersonalPlan.js +14 -11
  566. package/components/Icons/PersonalPlan.js.map +1 -1
  567. package/components/Icons/PizzaSlice.js +8 -2
  568. package/components/Icons/PizzaSlice.js.map +1 -1
  569. package/components/Icons/Plane.js +3 -3
  570. package/components/Icons/Plane.js.map +1 -1
  571. package/components/Icons/Plant.js +3 -3
  572. package/components/Icons/Plant.js.map +1 -1
  573. package/components/Icons/PlateKnifeFork.js +17 -14
  574. package/components/Icons/PlateKnifeFork.js.map +1 -1
  575. package/components/Icons/Play.js +4 -4
  576. package/components/Icons/Play.js.map +1 -1
  577. package/components/Icons/PlusLarge.js +4 -4
  578. package/components/Icons/PlusLarge.js.map +1 -1
  579. package/components/Icons/PlusSmall.js +4 -4
  580. package/components/Icons/PlusSmall.js.map +1 -1
  581. package/components/Icons/PngFile.js +4 -4
  582. package/components/Icons/PngFile.js.map +1 -1
  583. package/components/Icons/Podcast.js +4 -4
  584. package/components/Icons/Podcast.js.map +1 -1
  585. package/components/Icons/PoisonInformation.js +9 -3
  586. package/components/Icons/PoisonInformation.js.map +1 -1
  587. package/components/Icons/Pregnant.js +2 -2
  588. package/components/Icons/Pregnant.js.map +1 -1
  589. package/components/Icons/Printer.js +7 -7
  590. package/components/Icons/Printer.js.map +1 -1
  591. package/components/Icons/Psychosis.js +2 -2
  592. package/components/Icons/Psychosis.js.map +1 -1
  593. package/components/Icons/Publication.js +4 -4
  594. package/components/Icons/Publication.js.map +1 -1
  595. package/components/Icons/Puzzle.js +5 -2
  596. package/components/Icons/Puzzle.js.map +1 -1
  597. package/components/Icons/QrCode.js +7 -7
  598. package/components/Icons/QrCode.js.map +1 -1
  599. package/components/Icons/Quarrel.js +4 -4
  600. package/components/Icons/Quarrel.js.map +1 -1
  601. package/components/Icons/RadioTherapy.js +4 -4
  602. package/components/Icons/RadioTherapy.js.map +1 -1
  603. package/components/Icons/RadioactiveTreatment.js +4 -4
  604. package/components/Icons/RadioactiveTreatment.js.map +1 -1
  605. package/components/Icons/Radioiodine.js +4 -4
  606. package/components/Icons/Radioiodine.js.map +1 -1
  607. package/components/Icons/Receipt.js +2 -2
  608. package/components/Icons/Receipt.js.map +1 -1
  609. package/components/Icons/Receptionist.js +4 -4
  610. package/components/Icons/Receptionist.js.map +1 -1
  611. package/components/Icons/Recovery.js +4 -4
  612. package/components/Icons/Recovery.js.map +1 -1
  613. package/components/Icons/Referral.js +4 -4
  614. package/components/Icons/Referral.js.map +1 -1
  615. package/components/Icons/Refresh.js +4 -4
  616. package/components/Icons/Refresh.js.map +1 -1
  617. package/components/Icons/Refund.js +3 -3
  618. package/components/Icons/Refund.js.map +1 -1
  619. package/components/Icons/Reminder.js +14 -9
  620. package/components/Icons/Reminder.js.map +1 -1
  621. package/components/Icons/Reply.js +10 -4
  622. package/components/Icons/Reply.js.map +1 -1
  623. package/components/Icons/Rocket.js +3 -3
  624. package/components/Icons/Rocket.js.map +1 -1
  625. package/components/Icons/RtfFile.js +4 -4
  626. package/components/Icons/RtfFile.js.map +1 -1
  627. package/components/Icons/STDs.js +4 -4
  628. package/components/Icons/STDs.js.map +1 -1
  629. package/components/Icons/Save.js +12 -4
  630. package/components/Icons/Save.js.map +1 -1
  631. package/components/Icons/Scale.js +3 -3
  632. package/components/Icons/Scale.js.map +1 -1
  633. package/components/Icons/ScreenReader.js +18 -11
  634. package/components/Icons/ScreenReader.js.map +1 -1
  635. package/components/Icons/Search.js +4 -4
  636. package/components/Icons/Search.js.map +1 -1
  637. package/components/Icons/SectionSign.js +6 -6
  638. package/components/Icons/SectionSign.js.map +1 -1
  639. package/components/Icons/Settings.js +7 -7
  640. package/components/Icons/Settings.js.map +1 -1
  641. package/components/Icons/Sexualorientation.js +4 -4
  642. package/components/Icons/Sexualorientation.js.map +1 -1
  643. package/components/Icons/ShakingHand.js +3 -3
  644. package/components/Icons/ShakingHand.js.map +1 -1
  645. package/components/Icons/Share.js +10 -4
  646. package/components/Icons/Share.js.map +1 -1
  647. package/components/Icons/Shield.js +4 -4
  648. package/components/Icons/Shield.js.map +1 -1
  649. package/components/Icons/ShuntOperation.js +3 -3
  650. package/components/Icons/ShuntOperation.js.map +1 -1
  651. package/components/Icons/Skeleton.js +2 -2
  652. package/components/Icons/Skeleton.js.map +1 -1
  653. package/components/Icons/Skin.js +3 -3
  654. package/components/Icons/Skin.js.map +1 -1
  655. package/components/Icons/Snake.js +3 -3
  656. package/components/Icons/Snake.js.map +1 -1
  657. package/components/Icons/Snapchat.js +6 -3
  658. package/components/Icons/Snapchat.js.map +1 -1
  659. package/components/Icons/SortDown.js +19 -7
  660. package/components/Icons/SortDown.js.map +1 -1
  661. package/components/Icons/SortUp.js +19 -7
  662. package/components/Icons/SortUp.js.map +1 -1
  663. package/components/Icons/SpeechBubble.js +6 -6
  664. package/components/Icons/SpeechBubble.js.map +1 -1
  665. package/components/Icons/Spray.js +2 -2
  666. package/components/Icons/Spray.js.map +1 -1
  667. package/components/Icons/Stopwatch.js +7 -7
  668. package/components/Icons/Stopwatch.js.map +1 -1
  669. package/components/Icons/Sun.js +14 -9
  670. package/components/Icons/Sun.js.map +1 -1
  671. package/components/Icons/SupportingPerson.js +25 -22
  672. package/components/Icons/SupportingPerson.js.map +1 -1
  673. package/components/Icons/Surgery.js +3 -3
  674. package/components/Icons/Surgery.js.map +1 -1
  675. package/components/Icons/Sweets.js +19 -14
  676. package/components/Icons/Sweets.js.map +1 -1
  677. package/components/Icons/Syringe.js +6 -6
  678. package/components/Icons/Syringe.js.map +1 -1
  679. package/components/Icons/Taxi.js +2 -2
  680. package/components/Icons/Taxi.js.map +1 -1
  681. package/components/Icons/TeddyBear.js +3 -3
  682. package/components/Icons/TeddyBear.js.map +1 -1
  683. package/components/Icons/Teenagers.js +4 -4
  684. package/components/Icons/Teenagers.js.map +1 -1
  685. package/components/Icons/ThinkingAboutBaby.js +3 -3
  686. package/components/Icons/ThinkingAboutBaby.js.map +1 -1
  687. package/components/Icons/Ticket.js +3 -3
  688. package/components/Icons/Ticket.js.map +1 -1
  689. package/components/Icons/TimePassing.js +7 -7
  690. package/components/Icons/TimePassing.js.map +1 -1
  691. package/components/Icons/Tombstone.js +12 -9
  692. package/components/Icons/Tombstone.js.map +1 -1
  693. package/components/Icons/Toolbox.js +36 -30
  694. package/components/Icons/Toolbox.js.map +1 -1
  695. package/components/Icons/Tooth.js +3 -3
  696. package/components/Icons/Tooth.js.map +1 -1
  697. package/components/Icons/TotalKneeProsthesis.js +4 -4
  698. package/components/Icons/TotalKneeProsthesis.js.map +1 -1
  699. package/components/Icons/Train.js +3 -3
  700. package/components/Icons/Train.js.map +1 -1
  701. package/components/Icons/Transplantation.js +3 -3
  702. package/components/Icons/Transplantation.js.map +1 -1
  703. package/components/Icons/TrashCan.js +7 -7
  704. package/components/Icons/TrashCan.js.map +1 -1
  705. package/components/Icons/TravelRoute.js +21 -16
  706. package/components/Icons/TravelRoute.js.map +1 -1
  707. package/components/Icons/TriangleX.js +32 -35
  708. package/components/Icons/TriangleX.js.map +1 -1
  709. package/components/Icons/Twitter.js +3 -3
  710. package/components/Icons/Twitter.js.map +1 -1
  711. package/components/Icons/Undo.js +8 -8
  712. package/components/Icons/Undo.js.map +1 -1
  713. package/components/Icons/UniProsthesis.js +3 -3
  714. package/components/Icons/UniProsthesis.js.map +1 -1
  715. package/components/Icons/Upload.js +10 -4
  716. package/components/Icons/Upload.js.map +1 -1
  717. package/components/Icons/UserOrganization.js +2 -2
  718. package/components/Icons/UserOrganization.js.map +1 -1
  719. package/components/Icons/Vaccine.js +7 -7
  720. package/components/Icons/Vaccine.js.map +1 -1
  721. package/components/Icons/VerticalDots.js +4 -4
  722. package/components/Icons/VerticalDots.js.map +1 -1
  723. package/components/Icons/VideoCamera.js +7 -7
  724. package/components/Icons/VideoCamera.js.map +1 -1
  725. package/components/Icons/VideoChat.js +4 -4
  726. package/components/Icons/VideoChat.js.map +1 -1
  727. package/components/Icons/Wallet.js +4 -4
  728. package/components/Icons/Wallet.js.map +1 -1
  729. package/components/Icons/Watch.js +6 -6
  730. package/components/Icons/Watch.js.map +1 -1
  731. package/components/Icons/Website.js +4 -4
  732. package/components/Icons/Website.js.map +1 -1
  733. package/components/Icons/Wheelchair.js +4 -4
  734. package/components/Icons/Wheelchair.js.map +1 -1
  735. package/components/Icons/WheelchairActive.js +3 -3
  736. package/components/Icons/WheelchairActive.js.map +1 -1
  737. package/components/Icons/Window.js +3 -3
  738. package/components/Icons/Window.js.map +1 -1
  739. package/components/Icons/WordDocument.js +3 -3
  740. package/components/Icons/WordDocument.js.map +1 -1
  741. package/components/Icons/WorkSuitcase.js +2 -2
  742. package/components/Icons/WorkSuitcase.js.map +1 -1
  743. package/components/Icons/X.js +4 -4
  744. package/components/Icons/X.js.map +1 -1
  745. package/components/Icons/XOutline.js +3 -3
  746. package/components/Icons/XOutline.js.map +1 -1
  747. package/components/Icons/XmlFile.js +4 -4
  748. package/components/Icons/XmlFile.js.map +1 -1
  749. package/components/Icons/YouTube.js +3 -3
  750. package/components/Icons/YouTube.js.map +1 -1
  751. package/components/Icons/Zoom.js +6 -6
  752. package/components/Icons/Zoom.js.map +1 -1
  753. package/components/Illustration/index.js +3 -3
  754. package/components/Illustrations/Doctor.js +8 -8
  755. package/components/Illustrations/Doctor.js.map +1 -1
  756. package/components/Illustrations/DoctorMedium.js +49 -41
  757. package/components/Illustrations/DoctorMedium.js.map +1 -1
  758. package/components/Illustrations/DoctorSmall.js +48 -38
  759. package/components/Illustrations/DoctorSmall.js.map +1 -1
  760. package/components/Illustrations/FacialRecognitionFingerprint.js +6 -6
  761. package/components/Illustrations/FacialRecognitionFingerprint.js.map +1 -1
  762. package/components/Illustrations/FacialRecognitionFingerprintMedium.js +297 -253
  763. package/components/Illustrations/FacialRecognitionFingerprintMedium.js.map +1 -1
  764. package/components/Illustrations/HealthcarePersonnel.js +7 -7
  765. package/components/Illustrations/HealthcarePersonnel.js.map +1 -1
  766. package/components/Illustrations/HealthcarePersonnelMedium.js +202 -171
  767. package/components/Illustrations/HealthcarePersonnelMedium.js.map +1 -1
  768. package/components/Illustrations/HealthcarePersonnelSmall.js +190 -165
  769. package/components/Illustrations/HealthcarePersonnelSmall.js.map +1 -1
  770. package/components/Input/index.js +3 -3
  771. package/components/Label/index.js +7 -8
  772. package/components/Label/index.js.map +1 -1
  773. package/components/LazyIcon/index.js +2 -2
  774. package/components/LazyIllustration/index.js +5 -5
  775. package/components/LinkList/index.js +3 -3
  776. package/components/List/index.js +2 -2
  777. package/components/ListHeader/ListHeaderText/index.js +1 -1
  778. package/components/ListHeader/index.js +5 -5
  779. package/components/Loader/index.js +67 -4
  780. package/components/Loader/index.js.map +1 -1
  781. package/components/Logo/index.js +41 -2
  782. package/components/Logo/index.js.map +1 -1
  783. package/components/Modal/index.js +162 -5
  784. package/components/Modal/index.js.map +1 -1
  785. package/components/NotificationPanel/index.js +98 -2
  786. package/components/NotificationPanel/index.js.map +1 -1
  787. package/components/Panel/index.js +4 -4
  788. package/components/PanelList/index.js +15 -2
  789. package/components/PanelList/index.js.map +1 -1
  790. package/components/PopMenu/index.js +92 -6
  791. package/components/PopMenu/index.js.map +1 -1
  792. package/components/PopOver/index.js +4 -4
  793. package/components/Portal/index.js +3 -3
  794. package/components/Progressbar/index.js +92 -6
  795. package/components/Progressbar/index.js.map +1 -1
  796. package/components/Progressbar/styles.module.scss +5 -0
  797. package/components/Progressbar/styles.module.scss.d.ts +1 -0
  798. package/components/PromoPanel/index.js +57 -2
  799. package/components/PromoPanel/index.js.map +1 -1
  800. package/components/RadioButton/index.js +5 -5
  801. package/components/Select/index.js +1 -1
  802. package/components/ServiceMessage/index.js +110 -2
  803. package/components/ServiceMessage/index.js.map +1 -1
  804. package/components/SharingStatus/index.js +16 -2
  805. package/components/SharingStatus/index.js.map +1 -1
  806. package/components/Slider/index.js +189 -3
  807. package/components/Slider/index.js.map +1 -1
  808. package/components/Spacer/index.js +2 -2
  809. package/components/StatusDot/index.js +4 -4
  810. package/components/Step/index.js +31 -2
  811. package/components/Step/index.js.map +1 -1
  812. package/components/StepButtons/index.js +1 -1
  813. package/components/Stepper/index.js +49 -2
  814. package/components/Stepper/index.js.map +1 -1
  815. package/components/Table/TableBody/index.js +3 -3
  816. package/components/Table/TableCell/index.js +5 -5
  817. package/components/Table/TableExpandedRow/index.js +1 -1
  818. package/components/Table/TableExpanderCell/index.js +3 -3
  819. package/components/Table/TableHead/index.js +4 -4
  820. package/components/Table/TableHeadCell/index.js +3 -3
  821. package/components/Table/TableRow/index.js +3 -3
  822. package/components/Table/index.js +22 -22
  823. package/components/Tabs/TabList/index.js +2 -2
  824. package/components/Tabs/TabPanel/index.js +1 -1
  825. package/components/Tabs/index.js +94 -2
  826. package/components/Tabs/index.js.map +1 -1
  827. package/components/Tag/index.js +22 -5
  828. package/components/Tag/index.js.map +1 -1
  829. package/components/TagList/index.js +6 -2
  830. package/components/TagList/index.js.map +1 -1
  831. package/components/Textarea/index.js +1 -1
  832. package/components/Tile/index.js +70 -3
  833. package/components/Tile/index.js.map +1 -1
  834. package/components/Title/index.js +5 -5
  835. package/components/Toggle/Toggle.d.ts +31 -0
  836. package/components/Toggle/index.d.ts +3 -0
  837. package/components/Toggle/index.js +2656 -0
  838. package/components/Toggle/index.js.map +1 -0
  839. package/components/Toggle/styles.module.scss +125 -0
  840. package/components/Toggle/styles.module.scss.d.ts +24 -0
  841. package/components/Tooltip/TooltipWord/index.js +1 -1
  842. package/components/Tooltip/index.js +54 -5
  843. package/components/Tooltip/index.js.map +1 -1
  844. package/components/Trigger/index.js +2 -2
  845. package/components/Validation/index.js +47 -3
  846. package/components/Validation/index.js.map +1 -1
  847. package/constants.d.ts +1 -0
  848. package/constants.js +4 -4
  849. package/constants.js.map +1 -1
  850. package/{components → docs}/ButtonWithModal/ButtonWithModal.d.ts +1 -1
  851. package/{components → docs}/HelpBubbleExample/HelpBubbleExample.d.ts +1 -1
  852. package/{components → docs}/TooltipExample/TooltipExample.d.ts +1 -1
  853. package/hoc/withBreakpoint/withBreakpoint.js +9 -8
  854. package/hoc/withBreakpoint/withBreakpoint.js.map +1 -1
  855. package/hooks/useIcons.js +9 -9
  856. package/hooks/usePseudoClasses.d.ts +1 -0
  857. package/hooks/usePseudoClasses.js +11 -11
  858. package/hooks/usePseudoClasses.js.map +1 -1
  859. package/hooks/useUuid.js +3 -3
  860. package/index.js +3 -3
  861. package/package.json +4 -1
  862. package/style.css +1 -0
  863. package/utils/component.js +2 -2
  864. package/utils/uuid.js +4 -7
  865. package/utils/uuid.js.map +1 -1
  866. package/{components/Illustration/utils.js → utils.js} +1 -1
  867. package/utils.js.map +1 -0
  868. package/uuid.js +14 -0
  869. package/uuid.js.map +1 -0
  870. package/_virtual/_cloneBuffer.js +0 -5
  871. package/_virtual/_cloneBuffer.js.map +0 -1
  872. package/_virtual/_commonjs-dynamic-modules.js +0 -7
  873. package/_virtual/_commonjs-dynamic-modules.js.map +0 -1
  874. package/_virtual/_commonjsHelpers.js +0 -9
  875. package/_virtual/_commonjsHelpers.js.map +0 -1
  876. package/_virtual/_nodeUtil.js +0 -5
  877. package/_virtual/_nodeUtil.js.map +0 -1
  878. package/_virtual/dynamic-import-helper.js +0 -17
  879. package/_virtual/dynamic-import-helper.js.map +0 -1
  880. package/_virtual/isBuffer.js +0 -5
  881. package/_virtual/isBuffer.js.map +0 -1
  882. package/_virtual/memoizerific.js +0 -5
  883. package/_virtual/memoizerific.js.map +0 -1
  884. package/components/AnchorLink/AnchorLink.js +0 -53
  885. package/components/AnchorLink/AnchorLink.js.map +0 -1
  886. package/components/Avatar/Avatar.js +0 -33
  887. package/components/Avatar/Avatar.js.map +0 -1
  888. package/components/Badge/Badge.js +0 -30
  889. package/components/Badge/Badge.js.map +0 -1
  890. package/components/Badge/NotificationBadge.js +0 -68
  891. package/components/Badge/NotificationBadge.js.map +0 -1
  892. package/components/Button/Button.js +0 -118
  893. package/components/Button/Button.js.map +0 -1
  894. package/components/ButtonWithModal/ButtonWithModal.js +0 -11
  895. package/components/ButtonWithModal/ButtonWithModal.js.map +0 -1
  896. package/components/ButtonWithModal/index.js +0 -5
  897. package/components/ButtonWithModal/index.js.map +0 -1
  898. package/components/Checkbox/Checkbox.js +0 -110
  899. package/components/Checkbox/Checkbox.js.map +0 -1
  900. package/components/Chip/Chip.js +0 -30
  901. package/components/Chip/Chip.js.map +0 -1
  902. package/components/Close/Close.js +0 -30
  903. package/components/Close/Close.js.map +0 -1
  904. package/components/DictionaryTrigger/DictionaryTrigger.js +0 -27
  905. package/components/DictionaryTrigger/DictionaryTrigger.js.map +0 -1
  906. package/components/Dropdown/Dropdown.js +0 -117
  907. package/components/Dropdown/Dropdown.js.map +0 -1
  908. package/components/Duolist/Duolist.js +0 -63
  909. package/components/Duolist/Duolist.js.map +0 -1
  910. package/components/EmptyState/EmptyState.js +0 -10
  911. package/components/EmptyState/EmptyState.js.map +0 -1
  912. package/components/EmptyState/NobodyHome.js +0 -155
  913. package/components/EmptyState/NobodyHome.js.map +0 -1
  914. package/components/ErrorWrapper/ErrorWrapper.js +0 -12
  915. package/components/ErrorWrapper/ErrorWrapper.js.map +0 -1
  916. package/components/Expander/Expander.js +0 -101
  917. package/components/Expander/Expander.js.map +0 -1
  918. package/components/ExpanderHierarchy/Expander.js +0 -31
  919. package/components/ExpanderHierarchy/Expander.js.map +0 -1
  920. package/components/ExpanderHierarchy/ExpanderButton.js +0 -46
  921. package/components/ExpanderHierarchy/ExpanderButton.js.map +0 -1
  922. package/components/ExpanderHierarchy/ExpanderHierarchy.js +0 -28
  923. package/components/ExpanderHierarchy/ExpanderHierarchy.js.map +0 -1
  924. package/components/ExpanderHierarchy/utils.js +0 -20
  925. package/components/ExpanderHierarchy/utils.js.map +0 -1
  926. package/components/ExpanderList/ExpanderList.js +0 -139
  927. package/components/ExpanderList/ExpanderList.js.map +0 -1
  928. package/components/EyebrowHeader/EyebrowHeader.js +0 -12
  929. package/components/EyebrowHeader/EyebrowHeader.js.map +0 -1
  930. package/components/FormExample/FormExample.js +0 -161
  931. package/components/FormExample/FormExample.js.map +0 -1
  932. package/components/FormExample/index.js +0 -8
  933. package/components/FormExample/index.js.map +0 -1
  934. package/components/FormExample/styles.module.scss +0 -33
  935. package/components/FormExample/styles.module.scss.d.ts +0 -12
  936. package/components/FormGroup/FormGroup.js +0 -101
  937. package/components/FormGroup/FormGroup.js.map +0 -1
  938. package/components/FormLayout/FormLayout.js +0 -38
  939. package/components/FormLayout/FormLayout.js.map +0 -1
  940. package/components/GridExample/GridExample.js +0 -8
  941. package/components/GridExample/GridExample.js.map +0 -1
  942. package/components/GridExample/index.js +0 -6
  943. package/components/GridExample/index.js.map +0 -1
  944. package/components/HelpBubble/HelpBubble.js +0 -61
  945. package/components/HelpBubble/HelpBubble.js.map +0 -1
  946. package/components/HelpBubbleExample/HelpBubbleExample.js +0 -20
  947. package/components/HelpBubbleExample/HelpBubbleExample.js.map +0 -1
  948. package/components/HelpBubbleExample/index.js +0 -5
  949. package/components/HelpBubbleExample/index.js.map +0 -1
  950. package/components/HelpPanel/HelpPanel.js +0 -24
  951. package/components/HelpPanel/HelpPanel.js.map +0 -1
  952. package/components/HelpQuestion/HelpQuestion.js +0 -31
  953. package/components/HelpQuestion/HelpQuestion.js.map +0 -1
  954. package/components/HighlightPanel/HighlightPanel.js +0 -61
  955. package/components/HighlightPanel/HighlightPanel.js.map +0 -1
  956. package/components/HorizontalScroll/HorizontalScroll.js +0 -47
  957. package/components/HorizontalScroll/HorizontalScroll.js.map +0 -1
  958. package/components/Icon/Icon.js +0 -60
  959. package/components/Icon/Icon.js.map +0 -1
  960. package/components/Illustration/Illustration.js +0 -41
  961. package/components/Illustration/Illustration.js.map +0 -1
  962. package/components/Illustration/utils.js.map +0 -1
  963. package/components/Input/Input.js +0 -129
  964. package/components/Input/Input.js.map +0 -1
  965. package/components/Label/Label.js +0 -79
  966. package/components/Label/Label.js.map +0 -1
  967. package/components/Label/SubLabel.js +0 -19
  968. package/components/Label/SubLabel.js.map +0 -1
  969. package/components/LazyIcon/ErrorBoundary.js +0 -21
  970. package/components/LazyIcon/ErrorBoundary.js.map +0 -1
  971. package/components/LazyIcon/LazyIcon.js +0 -31
  972. package/components/LazyIcon/LazyIcon.js.map +0 -1
  973. package/components/LazyIllustration/LazyIllustration.js +0 -35
  974. package/components/LazyIllustration/LazyIllustration.js.map +0 -1
  975. package/components/LinkList/LinkList.js +0 -60
  976. package/components/LinkList/LinkList.js.map +0 -1
  977. package/components/List/List.js +0 -13
  978. package/components/List/List.js.map +0 -1
  979. package/components/ListHeader/ListHeader.js +0 -84
  980. package/components/ListHeader/ListHeader.js.map +0 -1
  981. package/components/ListHeader/ListHeaderText/ListHeaderText.js +0 -30
  982. package/components/ListHeader/ListHeaderText/ListHeaderText.js.map +0 -1
  983. package/components/Loader/Loader.js +0 -67
  984. package/components/Loader/Loader.js.map +0 -1
  985. package/components/Logo/Logo.js +0 -40
  986. package/components/Logo/Logo.js.map +0 -1
  987. package/components/MaxCharacters/MaxCharacters.js +0 -15
  988. package/components/MaxCharacters/MaxCharacters.js.map +0 -1
  989. package/components/Modal/Modal.js +0 -145
  990. package/components/Modal/Modal.js.map +0 -1
  991. package/components/NotificationPanel/NotificationPanel.js +0 -94
  992. package/components/NotificationPanel/NotificationPanel.js.map +0 -1
  993. package/components/Panel/Panel.js +0 -191
  994. package/components/Panel/Panel.js.map +0 -1
  995. package/components/PanelList/PanelList.js +0 -17
  996. package/components/PanelList/PanelList.js.map +0 -1
  997. package/components/PopMenu/PopMenu.js +0 -89
  998. package/components/PopMenu/PopMenu.js.map +0 -1
  999. package/components/PopOver/PopOver.js +0 -56
  1000. package/components/PopOver/PopOver.js.map +0 -1
  1001. package/components/PopOver/utils.js +0 -33
  1002. package/components/PopOver/utils.js.map +0 -1
  1003. package/components/Progressbar/Progressbar.js +0 -89
  1004. package/components/Progressbar/Progressbar.js.map +0 -1
  1005. package/components/PromoPanel/PromoPanel.js +0 -52
  1006. package/components/PromoPanel/PromoPanel.js.map +0 -1
  1007. package/components/RadioButton/RadioButton.js +0 -104
  1008. package/components/RadioButton/RadioButton.js.map +0 -1
  1009. package/components/Select/Select.js +0 -70
  1010. package/components/Select/Select.js.map +0 -1
  1011. package/components/ServiceMessage/ServiceMessage.js +0 -92
  1012. package/components/ServiceMessage/ServiceMessage.js.map +0 -1
  1013. package/components/SharingStatus/SharingStatus.js +0 -16
  1014. package/components/SharingStatus/SharingStatus.js.map +0 -1
  1015. package/components/Slider/Slider.js +0 -178
  1016. package/components/Slider/Slider.js.map +0 -1
  1017. package/components/Spacer/Spacer.js.map +0 -1
  1018. package/components/StatusDot/StatusDot.js +0 -29
  1019. package/components/StatusDot/StatusDot.js.map +0 -1
  1020. package/components/Step/Step.js +0 -30
  1021. package/components/Step/Step.js.map +0 -1
  1022. package/components/StepButtons/StepButtons.js +0 -21
  1023. package/components/StepButtons/StepButtons.js.map +0 -1
  1024. package/components/Stepper/Dot.js +0 -16
  1025. package/components/Stepper/Dot.js.map +0 -1
  1026. package/components/Stepper/DotList.js +0 -7
  1027. package/components/Stepper/DotList.js.map +0 -1
  1028. package/components/Stepper/Stepper.js +0 -35
  1029. package/components/Stepper/Stepper.js.map +0 -1
  1030. package/components/Stepper/utils.js +0 -16
  1031. package/components/Stepper/utils.js.map +0 -1
  1032. package/components/Table/Table.js +0 -76
  1033. package/components/Table/Table.js.map +0 -1
  1034. package/components/Table/TableBody/TableBody.js +0 -13
  1035. package/components/Table/TableBody/TableBody.js.map +0 -1
  1036. package/components/Table/TableCell/TableCell.js.map +0 -1
  1037. package/components/Table/TableExpandedRow/TableExpandedRow.js +0 -31
  1038. package/components/Table/TableExpandedRow/TableExpandedRow.js.map +0 -1
  1039. package/components/Table/TableExpanderCell/TableExpanderCell.js +0 -35
  1040. package/components/Table/TableExpanderCell/TableExpanderCell.js.map +0 -1
  1041. package/components/Table/TableExpanderCell/TableExpanderCellMobile.js +0 -25
  1042. package/components/Table/TableExpanderCell/TableExpanderCellMobile.js.map +0 -1
  1043. package/components/Table/TableHead/TableHead.js +0 -24
  1044. package/components/Table/TableHead/TableHead.js.map +0 -1
  1045. package/components/Table/TableHeadCell/TableHeadCell.js +0 -42
  1046. package/components/Table/TableHeadCell/TableHeadCell.js.map +0 -1
  1047. package/components/Table/TableRow/TableRow.js +0 -40
  1048. package/components/Table/TableRow/TableRow.js.map +0 -1
  1049. package/components/Table/utils.js +0 -32
  1050. package/components/Table/utils.js.map +0 -1
  1051. package/components/Tabs/Tab.js +0 -6
  1052. package/components/Tabs/Tab.js.map +0 -1
  1053. package/components/Tabs/TabList/TabItem.js +0 -45
  1054. package/components/Tabs/TabList/TabItem.js.map +0 -1
  1055. package/components/Tabs/TabList/TabList.js +0 -28
  1056. package/components/Tabs/TabList/TabList.js.map +0 -1
  1057. package/components/Tabs/TabPanel/TabPanel.js +0 -17
  1058. package/components/Tabs/TabPanel/TabPanel.js.map +0 -1
  1059. package/components/Tabs/Tabs.js +0 -92
  1060. package/components/Tabs/Tabs.js.map +0 -1
  1061. package/components/Tag/Tag.js +0 -22
  1062. package/components/Tag/Tag.js.map +0 -1
  1063. package/components/TagList/TagList.js +0 -8
  1064. package/components/TagList/TagList.js.map +0 -1
  1065. package/components/Textarea/Textarea.js +0 -105
  1066. package/components/Textarea/Textarea.js.map +0 -1
  1067. package/components/Tile/Tile.js +0 -67
  1068. package/components/Tile/Tile.js.map +0 -1
  1069. package/components/Title/Title.js +0 -25
  1070. package/components/Title/Title.js.map +0 -1
  1071. package/components/Tooltip/Tooltip.js +0 -55
  1072. package/components/Tooltip/Tooltip.js.map +0 -1
  1073. package/components/Tooltip/TooltipWord/TooltipWord.js +0 -27
  1074. package/components/Tooltip/TooltipWord/TooltipWord.js.map +0 -1
  1075. package/components/TooltipExample/TooltipExample.js +0 -8
  1076. package/components/TooltipExample/TooltipExample.js.map +0 -1
  1077. package/components/TooltipExample/index.js +0 -5
  1078. package/components/TooltipExample/index.js.map +0 -1
  1079. package/components/Trigger/HelpSign.js +0 -7
  1080. package/components/Trigger/HelpSign.js.map +0 -1
  1081. package/components/Trigger/Trigger.js +0 -73
  1082. package/components/Trigger/Trigger.js.map +0 -1
  1083. package/components/Validation/ErrorList.js +0 -8
  1084. package/components/Validation/ErrorList.js.map +0 -1
  1085. package/components/Validation/ErrorListItem.js +0 -12
  1086. package/components/Validation/ErrorListItem.js.map +0 -1
  1087. package/components/Validation/Validation.js +0 -18
  1088. package/components/Validation/Validation.js.map +0 -1
  1089. package/components/Validation/ValidationSummary.js +0 -25
  1090. package/components/Validation/ValidationSummary.js.map +0 -1
  1091. package/docs/index.d.ts +0 -8
  1092. package/docs/index.js +0 -14
  1093. package/docs/index.js.map +0 -1
  1094. /package/{components → docs}/ButtonWithModal/index.d.ts +0 -0
  1095. /package/{components → docs}/FormExample/FormExample.d.ts +0 -0
  1096. /package/{components → docs}/FormExample/index.d.ts +0 -0
  1097. /package/{components → docs}/GridExample/GridExample.d.ts +0 -0
  1098. /package/{components → docs}/GridExample/index.d.ts +0 -0
  1099. /package/{components → docs}/HelpBubbleExample/index.d.ts +0 -0
  1100. /package/{components → docs}/TooltipExample/index.d.ts +0 -0
@@ -0,0 +1,125 @@
1
+ @use 'sass:map';
2
+ @import '../../scss/spacers';
3
+ @import '../../scss/breakpoints';
4
+ @import '../../scss/palette';
5
+ @import '../../scss/font-settings';
6
+ @import '../../scss/supernova/styles/colors';
7
+
8
+ .toggle-container {
9
+ display: flex;
10
+ flex-direction: column;
11
+ max-width: 43.5rem;
12
+
13
+ &__row {
14
+ display: flex;
15
+ align-items: center;
16
+
17
+ &--right {
18
+ width: 100%;
19
+ justify-content: space-between;
20
+ }
21
+ }
22
+
23
+ &__label {
24
+ font-size: $font-size-md;
25
+ font-weight: 400;
26
+ line-height: $lineheight-size-xs;
27
+ color: var(--core-color-neutral-900);
28
+ margin-left: getSpacer(xs);
29
+
30
+ @media (min-width: map.get($grid-breakpoints, sm)) {
31
+ margin-left: getSpacer(s);
32
+ }
33
+
34
+ &__text--semibold {
35
+ font-weight: 600;
36
+ }
37
+
38
+ &--toggle-right {
39
+ margin-left: 0;
40
+ margin-right: getSpacer(xs);
41
+
42
+ @media (min-width: map.get($grid-breakpoints, sm)) {
43
+ margin-right: getSpacer(s);
44
+ }
45
+ }
46
+ }
47
+
48
+ &__sublabel {
49
+ font-size: $font-size-xs;
50
+ line-height: 1.25rem;
51
+ color: var(--core-color-neutral-800);
52
+ margin-left: 3.9rem;
53
+ text-align: left;
54
+
55
+ @media (min-width: map.get($grid-breakpoints, sm)) {
56
+ font-size: $font-size-sm;
57
+ line-height: $lineheight-size-xs;
58
+ text-align: left;
59
+ margin-left: 4.1rem;
60
+ }
61
+
62
+ &--toggle-right {
63
+ margin-left: 0;
64
+ }
65
+ }
66
+
67
+ &__toggle-group {
68
+ display: flex;
69
+ align-items: center;
70
+ cursor: pointer;
71
+ }
72
+
73
+ &__toggle {
74
+ position: relative;
75
+ display: inline-block;
76
+ width: 3.125rem;
77
+ height: 2rem;
78
+ background-color: var(--color-base-background-white);
79
+ border-radius: 60px;
80
+ border: 2px solid var(--color-base-border-onlight-emphasized);
81
+
82
+ &--on-white {
83
+ background-color: var(--core-color-neutral-50);
84
+ }
85
+
86
+ &--ignore-hover {
87
+ pointer-events: none;
88
+ }
89
+
90
+ &__dot {
91
+ content: '';
92
+ position: absolute;
93
+ width: 1.375rem;
94
+ height: 1.375rem;
95
+ left: 3px;
96
+ bottom: 3px;
97
+ background-color: var(--brandcolor-neutral-dark);
98
+ border-radius: 50%;
99
+ display: flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+
103
+ &--ignore-hover {
104
+ pointer-events: none;
105
+ }
106
+
107
+ &__icon {
108
+ opacity: 0;
109
+ stroke: var(--color-action-graphics-onlight);
110
+ }
111
+ }
112
+ }
113
+
114
+ &__input {
115
+ position: absolute;
116
+ opacity: 0;
117
+ width: 0;
118
+ height: 0;
119
+
120
+ &:focus-visible + .toggle-container__toggle {
121
+ border-color: var(--color-action-border-onlight-focus);
122
+ outline: 2px solid var(--color-action-border-onlight-focus);
123
+ }
124
+ }
125
+ }
@@ -0,0 +1,24 @@
1
+ export type Styles = {
2
+ 'toggle-container': string;
3
+ 'toggle-container__input': string;
4
+ 'toggle-container__label': string;
5
+ 'toggle-container__label__text--semibold': string;
6
+ 'toggle-container__label--toggle-right': string;
7
+ 'toggle-container__row': string;
8
+ 'toggle-container__row--right': string;
9
+ 'toggle-container__sublabel': string;
10
+ 'toggle-container__sublabel--toggle-right': string;
11
+ 'toggle-container__toggle': string;
12
+ 'toggle-container__toggle__dot': string;
13
+ 'toggle-container__toggle__dot__icon': string;
14
+ 'toggle-container__toggle__dot--ignore-hover': string;
15
+ 'toggle-container__toggle--ignore-hover': string;
16
+ 'toggle-container__toggle--on-white': string;
17
+ 'toggle-container__toggle-group': string;
18
+ };
19
+
20
+ export type ClassNames = keyof Styles;
21
+
22
+ declare const styles: Styles;
23
+
24
+ export default styles;
@@ -1,4 +1,4 @@
1
- import r from "./TooltipWord.js";
1
+ import { T as r } from "../../../TooltipWord.js";
2
2
  export {
3
3
  r as default
4
4
  };
@@ -1,8 +1,57 @@
1
- import { Tooltip as r } from "./Tooltip.js";
2
- import { TooltipOpenProvider as e } from "./Tooltip.js";
1
+ import { jsxs as m, Fragment as w, jsx as c } from "react/jsx-runtime";
2
+ import O, { useRef as y, useContext as C, useEffect as u, useState as D } from "react";
3
+ import { T as b } from "../../TooltipWord.js";
4
+ import { useDelayedState as B } from "../../hooks/useDelayedState.js";
5
+ import { useUuid as E } from "../../hooks/useUuid.js";
6
+ import { H as v } from "../../HelpBubble.js";
7
+ const x = 200, g = ({ children: p, description: s, testId: i }) => {
8
+ const t = E(), a = y(null), { currentTooltip: n, setCurrentTooltip: r } = C(h), [{ showTooltip: l, keepOpen: T }, k, o] = B(
9
+ { showTooltip: !1, keepOpen: !1 },
10
+ x
11
+ );
12
+ u(() => {
13
+ r && r(l ? t : void 0);
14
+ }, [l]), u(() => {
15
+ n !== t && typeof n < "u" && o((e) => ({ showTooltip: !1, keepOpen: e.keepOpen }));
16
+ }, [n]);
17
+ const d = () => {
18
+ l || o({ showTooltip: !1, keepOpen: !1 });
19
+ };
20
+ return u(() => (document.addEventListener("mouseup", d), () => {
21
+ document.removeEventListener("mouseup", d);
22
+ }), []), /* @__PURE__ */ m(w, { children: [
23
+ /* @__PURE__ */ c(
24
+ b,
25
+ {
26
+ ref: a,
27
+ onClick: () => {
28
+ o((e) => ({ showTooltip: !e.showTooltip, keepOpen: !e.keepOpen }));
29
+ },
30
+ onFocus: () => {
31
+ n || k((e) => ({ showTooltip: !0, keepOpen: e.keepOpen }));
32
+ },
33
+ onBlur: () => {
34
+ o((e) => ({ showTooltip: !1, keepOpen: e.keepOpen }));
35
+ },
36
+ onKeyDown: (e) => {
37
+ e.key === "Enter" && o((f) => ({ showTooltip: !f.showTooltip, keepOpen: !f.keepOpen })), e.key === "Escape" && o({ showTooltip: !1, keepOpen: !1 });
38
+ },
39
+ ariaDescribedById: t,
40
+ testId: i,
41
+ children: p
42
+ }
43
+ ),
44
+ /* @__PURE__ */ c(v, { helpBubbleId: t, controllerRef: a, role: "tooltip", showBubble: l || T, children: s })
45
+ ] });
46
+ }, h = O.createContext({
47
+ currentTooltip: void 0
48
+ }), A = ({ children: p }) => {
49
+ const [s, i] = D();
50
+ return /* @__PURE__ */ c(h.Provider, { value: { currentTooltip: s, setCurrentTooltip: i }, children: p });
51
+ };
3
52
  export {
4
- r as Tooltip,
5
- e as TooltipOpenProvider,
6
- r as default
53
+ g as Tooltip,
54
+ A as TooltipOpenProvider,
55
+ g as default
7
56
  };
8
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import React, { useContext, useState, useEffect, useRef } from 'react';\n\nimport TooltipWord from './TooltipWord';\nimport { useDelayedState } from '../../hooks/useDelayedState';\nimport { useUuid } from '../../hooks/useUuid';\nimport HelpBubble from '../HelpBubble';\n\nconst HOVER_DELAY_MS = 200;\n\nexport interface TooltipProps {\n /** Ordet som skal ha en tilhørende tooltip */\n children: string;\n /** Teksten som skal vises i tooltip */\n description: React.ReactNode;\n /** Valgfri test-id */\n testId?: string;\n}\n\nexport const Tooltip: React.FC<TooltipProps> = ({ children, description, testId }) => {\n const helpBubbleId = useUuid();\n const wordRef = useRef<HTMLButtonElement>(null);\n const { currentTooltip, setCurrentTooltip } = useContext(TooltipOpenContext);\n const [{ showTooltip, keepOpen }, setShowTooltipDelayed, setShowTooltip] = useDelayedState(\n { showTooltip: false, keepOpen: false },\n HOVER_DELAY_MS\n );\n\n useEffect(() => {\n if (!setCurrentTooltip) {\n return;\n }\n if (showTooltip) {\n setCurrentTooltip(helpBubbleId);\n } else {\n setCurrentTooltip(undefined);\n }\n }, [showTooltip]);\n\n useEffect(() => {\n if (currentTooltip !== helpBubbleId && typeof currentTooltip !== 'undefined') {\n setShowTooltip(prevState => ({ showTooltip: false, keepOpen: prevState.keepOpen }));\n }\n }, [currentTooltip]);\n\n const handleDocumentClick = (): void => {\n if (!showTooltip) {\n setShowTooltip({ showTooltip: false, keepOpen: false });\n }\n };\n\n useEffect(() => {\n document.addEventListener('mouseup', handleDocumentClick);\n return (): void => {\n document.removeEventListener('mouseup', handleDocumentClick);\n };\n }, []);\n\n const handleTooltipClick = (): void => {\n setShowTooltip(prevState => ({ showTooltip: !prevState.showTooltip, keepOpen: !prevState.keepOpen }));\n };\n\n const handleFocus = (): void => {\n if (!currentTooltip) {\n setShowTooltipDelayed(prevState => ({ showTooltip: true, keepOpen: prevState.keepOpen }));\n }\n };\n\n const handleBlur = (): void => {\n setShowTooltip(prevState => ({ showTooltip: false, keepOpen: prevState.keepOpen }));\n };\n\n const handleKeyDown = (e: React.KeyboardEvent<HTMLSpanElement>): void => {\n if (e.key === 'Enter') {\n setShowTooltip(prevState => ({ showTooltip: !prevState.showTooltip, keepOpen: !prevState.keepOpen }));\n }\n if (e.key === 'Escape') {\n setShowTooltip({ showTooltip: false, keepOpen: false });\n }\n };\n\n return (\n <>\n <TooltipWord\n ref={wordRef}\n onClick={handleTooltipClick}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n ariaDescribedById={helpBubbleId}\n testId={testId}\n >\n {children}\n </TooltipWord>\n <HelpBubble helpBubbleId={helpBubbleId} controllerRef={wordRef} role=\"tooltip\" showBubble={showTooltip || keepOpen}>\n {description}\n </HelpBubble>\n </>\n );\n};\n\nexport type TooltipContext = {\n currentTooltip?: string;\n setCurrentTooltip?: (id?: string) => void;\n};\n\nconst TooltipOpenContext = React.createContext<TooltipContext>({\n currentTooltip: undefined,\n});\n\ninterface TooltipOpenProviderProps {\n children?: React.ReactNode;\n}\n\nexport const TooltipOpenProvider: React.FC<TooltipOpenProviderProps> = ({ children }) => {\n const [currentTooltip, setCurrentTooltip] = useState<string>();\n\n return <TooltipOpenContext.Provider value={{ currentTooltip, setCurrentTooltip }}>{children}</TooltipOpenContext.Provider>;\n};\n\nexport default Tooltip;\n"],"names":["HOVER_DELAY_MS","Tooltip","children","description","testId","helpBubbleId","useUuid","wordRef","useRef","currentTooltip","setCurrentTooltip","useContext","TooltipOpenContext","showTooltip","keepOpen","setShowTooltipDelayed","setShowTooltip","useDelayedState","useEffect","prevState","handleDocumentClick","jsxs","Fragment","jsx","TooltipWord","HelpBubble","React","TooltipOpenProvider","useState"],"mappings":";;;;;;AAOA,MAAMA,IAAiB,KAWVC,IAAkC,CAAC,EAAE,UAAAC,GAAU,aAAAC,GAAa,QAAAC,QAAa;AACpF,QAAMC,IAAeC,KACfC,IAAUC,EAA0B,IAAI,GACxC,EAAE,gBAAAC,GAAgB,mBAAAC,EAAkB,IAAIC,EAAWC,CAAkB,GACrE,CAAC,EAAE,aAAAC,GAAa,UAAAC,EAAY,GAAAC,GAAuBC,CAAc,IAAIC;AAAA,IACzE,EAAE,aAAa,IAAO,UAAU,GAAM;AAAA,IACtCjB;AAAA,EAAA;AAGF,EAAAkB,EAAU,MAAM;AACd,IAAKR,KAIHA,EADEG,IACgBR,IAEA,MAFY;AAAA,EAGhC,GACC,CAACQ,CAAW,CAAC,GAEhBK,EAAU,MAAM;AACd,IAAIT,MAAmBJ,KAAgB,OAAOI,IAAmB,OAC/DO,EAAe,QAAc,EAAE,aAAa,IAAO,UAAUG,EAAU,SAAW,EAAA;AAAA,EACpF,GACC,CAACV,CAAc,CAAC;AAEnB,QAAMW,IAAsB,MAAY;AACtC,IAAKP,KACHG,EAAe,EAAE,aAAa,IAAO,UAAU,GAAO,CAAA;AAAA,EACxD;AAGF,SAAAE,EAAU,OACC,SAAA,iBAAiB,WAAWE,CAAmB,GACjD,MAAY;AACR,aAAA,oBAAoB,WAAWA,CAAmB;AAAA,EAAA,IAE5D,CAAE,CAAA,GA2BD,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAKjB;AAAA,QACL,SA3BqB,MAAY;AACtB,UAAAS,EAAA,CAAAG,OAAc,EAAE,aAAa,CAACA,EAAU,aAAa,UAAU,CAACA,EAAU,SAAA,EAAW;AAAA,QAAA;AAAA,QA2BhG,SAxBc,MAAY;AAC9B,UAAKV,KACHM,EAAsB,QAAc,EAAE,aAAa,IAAM,UAAUI,EAAU,SAAW,EAAA;AAAA,QAC1F;AAAA,QAsBI,QAnBa,MAAY;AAC7B,UAAAH,EAAe,QAAc,EAAE,aAAa,IAAO,UAAUG,EAAU,SAAW,EAAA;AAAA,QAAA;AAAA,QAmB9E,WAhBgB,CAAC,MAAkD;AACnE,UAAA,EAAE,QAAQ,WACGH,EAAA,CAAAG,OAAc,EAAE,aAAa,CAACA,EAAU,aAAa,UAAU,CAACA,EAAU,SAAA,EAAW,GAElG,EAAE,QAAQ,YACZH,EAAe,EAAE,aAAa,IAAO,UAAU,GAAO,CAAA;AAAA,QACxD;AAAA,QAWI,mBAAmBX;AAAA,QACnB,QAAAD;AAAA,QAEC,UAAAF;AAAA,MAAA;AAAA,IACH;AAAA,IACA,gBAAAqB,EAACE,GAAW,EAAA,cAAApB,GAA4B,eAAeE,GAAS,MAAK,WAAU,YAAYM,KAAeC,GACvG,UACHX,EAAA,CAAA;AAAA,EACF,EAAA,CAAA;AAEJ,GAOMS,IAAqBc,EAAM,cAA8B;AAAA,EAC7D,gBAAgB;AAClB,CAAC,GAMYC,IAA0D,CAAC,EAAE,UAAAzB,QAAe;AACvF,QAAM,CAACO,GAAgBC,CAAiB,IAAIkB,EAAiB;AAEtD,SAAA,gBAAAL,EAACX,EAAmB,UAAnB,EAA4B,OAAO,EAAE,gBAAAH,GAAgB,mBAAAC,EAAkB,GAAI,UAAAR,EAAS,CAAA;AAC9F;"}
@@ -1,5 +1,5 @@
1
- import e from "./Trigger.js";
1
+ import { T as a } from "../../Trigger.js";
2
2
  export {
3
- e as default
3
+ a as default
4
4
  };
5
5
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,50 @@
1
- import { Validation as o } from "./Validation.js";
1
+ import { jsx as e, Fragment as m, jsxs as l } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import c from "classnames";
4
+ import { A as f } from "../../AnchorLink.js";
5
+ import { L as d } from "../../List.js";
6
+ import { useUuid as u } from "../../hooks/useUuid.js";
7
+ import { T as h } from "../../Title.js";
8
+ import n from "./styles.module.scss";
9
+ import { AnalyticsId as y } from "../../constants.js";
10
+ import { isComponent as T } from "../../utils/component.js";
11
+ import { F as g } from "../../FormGroup.js";
12
+ const C = (r) => {
13
+ const t = (a, i) => {
14
+ a == null || a.preventDefault(), i != null && i.focus && (i == null || i.focus());
15
+ };
16
+ return r.error.ref ? /* @__PURE__ */ e(f, { href: `#${r.name}`, onClick: (a) => t(a, r.error.ref), children: r.error.message }) : /* @__PURE__ */ e(m, { children: r.error.message });
17
+ }, v = (r) => /* @__PURE__ */ e(d, { children: Object.entries(r.errors).map(([t, a]) => /* @__PURE__ */ e(d.Item, { children: /* @__PURE__ */ e(C, { name: t, error: a }) }, t)) }), N = (r) => {
18
+ const { errorTitleHtmlMarkup: t = "h2" } = r, a = u(), i = !!r.errors && Object.entries(r.errors).length > 0, s = c(n.validation__summary, i && n["validation__summary--visible"]);
19
+ return /* @__PURE__ */ l(
20
+ "div",
21
+ {
22
+ role: "alert",
23
+ "aria-live": "polite",
24
+ "aria-relevant": "all",
25
+ "aria-labelledby": i && r.errorTitle ? a : void 0,
26
+ className: s,
27
+ children: [
28
+ i && /* @__PURE__ */ l(m, { children: [
29
+ r.errorTitle && /* @__PURE__ */ e(h, { appearance: "title4", id: a, htmlMarkup: t, margin: { marginTop: 0, marginBottom: 1 }, children: r.errorTitle }),
30
+ /* @__PURE__ */ e(v, { errors: r.errors })
31
+ ] }),
32
+ r.children
33
+ ]
34
+ }
35
+ );
36
+ }, _ = o.forwardRef((r, t) => {
37
+ const a = (i) => T(i, g) ? o.cloneElement(i, {
38
+ errorWrapperClassName: n["validation__error-wrapper"]
39
+ }) : o.isValidElement(i) && i.type === o.Fragment ? o.Children.map(i.props.children, (s) => a(s)) : i;
40
+ return /* @__PURE__ */ l(m, { children: [
41
+ /* @__PURE__ */ e("div", { "data-testid": r.testId, "data-analyticsid": y.Validation, className: r.className, ref: t, children: o.Children.map(r.children, (i) => a(i)) }),
42
+ /* @__PURE__ */ e(N, { errorTitle: r.errorTitle, errors: r.errors })
43
+ ] });
44
+ });
45
+ _.displayName = "Validation";
2
46
  export {
3
- o as Validation,
4
- o as default
47
+ _ as Validation,
48
+ _ as default
5
49
  };
6
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Validation/ErrorListItem.tsx","../../../src/components/Validation/ErrorList.tsx","../../../src/components/Validation/ValidationSummary.tsx","../../../src/components/Validation/Validation.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ErrorDetails, FocusableElement } from './types';\nimport AnchorLink, { AnchorLinkOnClickEvent } from '../AnchorLink';\n\ninterface ErrorElementProps {\n name: string;\n error: ErrorDetails;\n}\n\nconst ErrorListItem: React.FC<ErrorElementProps> = props => {\n const handleClick = (event?: AnchorLinkOnClickEvent, element?: FocusableElement): void => {\n event?.preventDefault();\n element?.focus && element?.focus();\n };\n\n if (props.error.ref) {\n return (\n <AnchorLink href={`#${props.name}`} onClick={(e): void => handleClick(e, props.error.ref)}>\n {props.error.message}\n </AnchorLink>\n );\n }\n\n return <>{props.error.message}</>;\n};\n\nexport default ErrorListItem;\n","import React from 'react';\n\nimport ErrorListItem from './ErrorListItem';\nimport { ValidationErrors } from './types';\nimport List from '../List';\n\ninterface ErrorListProps {\n errors: ValidationErrors;\n}\n\nconst ErrorList: React.FC<ErrorListProps> = props => (\n <List>\n {Object.entries(props.errors).map(([name, error]) => (\n <List.Item key={name}>\n <ErrorListItem name={name} error={error} />\n </List.Item>\n ))}\n </List>\n);\n\nexport default ErrorList;\n","import React from 'react';\n\nimport classNames from 'classnames';\n\nimport ErrorList from './ErrorList';\nimport { ValidationErrors } from './types';\nimport { useUuid } from '../../hooks/useUuid';\nimport Title, { TitleTags } from '../Title';\n\nimport styles from './styles.module.scss';\n\ninterface ValidationSummaryProps {\n /** Error summary title */\n errorTitle?: string;\n /** Error list */\n errors?: ValidationErrors;\n /** Markup props for error summary title. Default: h2 */\n errorTitleHtmlMarkup?: TitleTags;\n /** Will be shown last */\n children?: React.ReactNode;\n}\n\nconst ValidationSummary: React.FC<ValidationSummaryProps> = props => {\n const { errorTitleHtmlMarkup = 'h2' } = props;\n const titleId = useUuid();\n\n const hasErrors = !!props.errors && Object.entries(props.errors).length > 0;\n\n const summaryClasses = classNames(styles['validation__summary'], hasErrors && styles['validation__summary--visible']);\n\n return (\n <div\n role={'alert'}\n aria-live={'polite'}\n aria-relevant={'all'}\n aria-labelledby={hasErrors && props.errorTitle ? titleId : undefined}\n className={summaryClasses}\n >\n {hasErrors && (\n <>\n {props.errorTitle && (\n <Title appearance=\"title4\" id={titleId} htmlMarkup={errorTitleHtmlMarkup} margin={{ marginTop: 0, marginBottom: 1 }}>\n {props.errorTitle}\n </Title>\n )}\n <ErrorList errors={props.errors!} />\n </>\n )}\n {props.children}\n </div>\n );\n};\n\nexport default ValidationSummary;\n","import React from 'react';\n\nimport { ValidationErrors } from './types';\nimport ValidationSummary from './ValidationSummary';\nimport { AnalyticsId, FormSize } from '../../constants';\nimport { isComponent } from '../../utils/component';\nimport FormGroup, { FormGroupProps } from '../FormGroup/FormGroup';\n\nimport styles from './styles.module.scss';\n\ninterface ValidationProps {\n /** Error summary title */\n errorTitle?: string;\n /** Validation errors. If errors include references to HTML elements, the errors will be rendered as links with an onClick handler to focus the element. */\n errors?: ValidationErrors;\n /** Items in the Validation compontent */\n children?: React.ReactNode;\n /** Adds custom classes to the element. */\n className?: string;\n /** Changes the visuals of the formgroup */\n size?: keyof typeof FormSize;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nexport const Validation = React.forwardRef((props: ValidationProps, ref: React.ForwardedRef<HTMLDivElement>) => {\n const renderChild = (child: React.ReactNode): React.ReactNode => {\n if (isComponent<FormGroupProps>(child, FormGroup)) {\n return React.cloneElement(child, {\n errorWrapperClassName: styles['validation__error-wrapper'],\n });\n }\n if (React.isValidElement(child) && child.type === React.Fragment) {\n return React.Children.map(child.props.children, (child: React.ReactNode) => {\n return renderChild(child);\n });\n }\n\n return child;\n };\n\n return (\n <>\n <div data-testid={props.testId} data-analyticsid={AnalyticsId.Validation} className={props.className} ref={ref}>\n {React.Children.map(props.children, (child: React.ReactNode) => renderChild(child))}\n </div>\n <ValidationSummary errorTitle={props.errorTitle} errors={props.errors} />\n </>\n );\n});\n\nValidation.displayName = 'Validation';\n\nexport default Validation;\n"],"names":["ErrorListItem","props","handleClick","event","element","AnchorLink","e","jsx","Fragment","ErrorList","List","name","error","ValidationSummary","errorTitleHtmlMarkup","titleId","useUuid","hasErrors","summaryClasses","classNames","styles","jsxs","Title","Validation","React","ref","renderChild","child","isComponent","FormGroup","AnalyticsId"],"mappings":";;;;;;;;;;;AAUA,MAAMA,IAA6C,CAASC,MAAA;AACpD,QAAAC,IAAc,CAACC,GAAgCC,MAAqC;AACxF,IAAAD,KAAA,QAAAA,EAAO,kBACEC,KAAA,QAAAA,EAAA,UAASA,KAAA,QAAAA,EAAS;AAAA,EAAM;AAG/B,SAAAH,EAAM,MAAM,wBAEXI,GAAW,EAAA,MAAM,IAAIJ,EAAM,IAAI,IAAI,SAAS,CAACK,MAAYJ,EAAYI,GAAGL,EAAM,MAAM,GAAG,GACrF,UAAAA,EAAM,MAAM,QACf,CAAA,IAIG,gBAAAM,EAAAC,GAAA,EAAG,UAAMP,EAAA,MAAM,QAAQ,CAAA;AAChC,GCfMQ,IAAsC,CAC1CR,MAAA,gBAAAM,EAACG,GACE,EAAA,UAAA,OAAO,QAAQT,EAAM,MAAM,EAAE,IAAI,CAAC,CAACU,GAAMC,CAAK,MAC7C,gBAAAL,EAACG,EAAK,MAAL,EACC,UAAA,gBAAAH,EAACP,GAAc,EAAA,MAAAW,GAAY,OAAAC,EAAc,CAAA,EAAA,GAD3BD,CAEhB,CACD,EACH,CAAA,GCKIE,IAAsD,CAASZ,MAAA;AAC7D,QAAA,EAAE,sBAAAa,IAAuB,KAAS,IAAAb,GAClCc,IAAUC,KAEVC,IAAY,CAAC,CAAChB,EAAM,UAAU,OAAO,QAAQA,EAAM,MAAM,EAAE,SAAS,GAEpEiB,IAAiBC,EAAWC,EAAO,qBAAwBH,KAAaG,EAAO,8BAA8B,CAAC;AAGlH,SAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAM;AAAA,MACN,aAAW;AAAA,MACX,iBAAe;AAAA,MACf,mBAAiBJ,KAAahB,EAAM,aAAac,IAAU;AAAA,MAC3D,WAAWG;AAAA,MAEV,UAAA;AAAA,QAAAD,KAEI,gBAAAI,EAAAb,GAAA,EAAA,UAAA;AAAA,UAAAP,EAAM,cACJ,gBAAAM,EAAAe,GAAA,EAAM,YAAW,UAAS,IAAIP,GAAS,YAAYD,GAAsB,QAAQ,EAAE,WAAW,GAAG,cAAc,EAAE,GAC/G,YAAM,YACT;AAAA,UAED,gBAAAP,EAAAE,GAAA,EAAU,QAAQR,EAAM,OAAS,CAAA;AAAA,QAAA,GACpC;AAAA,QAEDA,EAAM;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGb,GC1BasB,IAAaC,EAAM,WAAW,CAACvB,GAAwBwB,MAA4C;AACxG,QAAAC,IAAc,CAACC,MACfC,EAA4BD,GAAOE,CAAS,IACvCL,EAAM,aAAaG,GAAO;AAAA,IAC/B,uBAAuBP,EAAO,2BAA2B;AAAA,EAAA,CAC1D,IAECI,EAAM,eAAeG,CAAK,KAAKA,EAAM,SAASH,EAAM,WAC/CA,EAAM,SAAS,IAAIG,EAAM,MAAM,UAAU,CAACA,MACxCD,EAAYC,CAAK,CACzB,IAGIA;AAGT,SAEI,gBAAAN,EAAAb,GAAA,EAAA,UAAA;AAAA,IAAC,gBAAAD,EAAA,OAAA,EAAI,eAAaN,EAAM,QAAQ,oBAAkB6B,EAAY,YAAY,WAAW7B,EAAM,WAAW,KAAAwB,GACnG,UAAMD,EAAA,SAAS,IAAIvB,EAAM,UAAU,CAAC0B,MAA2BD,EAAYC,CAAK,CAAC,EACpF,CAAA;AAAA,sBACCd,GAAkB,EAAA,YAAYZ,EAAM,YAAY,QAAQA,EAAM,QAAQ;AAAA,EACzE,EAAA,CAAA;AAEJ,CAAC;AAEDsB,EAAW,cAAc;"}
package/constants.d.ts CHANGED
@@ -107,6 +107,7 @@ export declare enum AnalyticsId {
107
107
  Textarea = "textarea",
108
108
  Tile = "tile",
109
109
  Title = "title",
110
+ Toggle = "toggle",
110
111
  Tooltip = "tooltip",
111
112
  Trigger = "trigger",
112
113
  Validation = "validation"
package/constants.js CHANGED
@@ -1,13 +1,13 @@
1
1
  var e = /* @__PURE__ */ ((r) => (r[r.XXSmall = 24] = "XXSmall", r[r.XSmall = 38] = "XSmall", r[r.Small = 48] = "Small", r[r.Medium = 64] = "Medium", r[r.Large = 80] = "Large", r[r.XLarge = 130] = "XLarge", r))(e || {}), o = /* @__PURE__ */ ((r) => (r[r.Modal = 13e5] = "Modal", r[r.PopOver = 11e3] = "PopOver", r[r.ExpanderTrigger = 1e4] = "ExpanderTrigger", r[r.OverlayScreen = 9999] = "OverlayScreen", r[r.LightBoxButtons = 1e3] = "LightBoxButtons", r))(o || {});
2
- const g = 12;
3
- var p = /* @__PURE__ */ ((r) => (r.onwhite = "onwhite", r.ongrey = "ongrey", r.onblueberry = "onblueberry", r.ondark = "ondark", r.oninvalid = "oninvalid", r))(p || {}), a = /* @__PURE__ */ ((r) => (r.medium = "medium", r.large = "large", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.AnchorLink = "anchor-link", r.Avatar = "avatar", r.Badge = "badge", r.Button = "button", r.Checkbox = "checkbox", r.Chip = "chip", r.Close = "close", r.DictionaryTrigger = "dictionary-trigger", r.Dropdown = "dropdown", r.Duolist = "duolist", r.EmptyState = "empty-state", r.Expander = "expander", r.ExpanderHierarchy = "expander-hierarchy", r.ExpanderHierarchyExpander = "expander-hierarchy-expander", r.ExpanderList = "expander-list", r.ExpanderListExpander = "expander-list-expander", r.EyebrowHeader = "eyebrow-header", r.FormGroup = "form-group", r.FormLayout = "form-layout", r.HelpBubble = "help-bubble", r.HelpQuestion = "help-question", r.HighlightPanel = "highlight-panel", r.Icon = "icon", r.Illustration = "Illustration", r.Input = "input", r.Label = "label", r.Link = "link", r.LinkList = "link-list", r.List = "list", r.Loader = "loader", r.Logo = "logo", r.Modal = "modal", r.NotificationPanel = "notification-panel", r.Panel = "panel", r.PanelList = "panel-list", r.PopMenu = "pop-menu", r.PopOver = "pop-over", r.Portal = "portal", r.PromoPanel = "promo-panel", r.RadioButton = "radio-button", r.Select = "select", r.SharingStatus = "sharing-status", r.Slider = "slider", r.Spacer = "spacer", r.StatusDot = "status-dot", r.Step = "step", r.StepButtons = "step-buttons", r.Stepper = "stepper", r.Sublabel = "sublabel", r.Table = "table", r.Tag = "tag", r.TagList = "tag-list", r.Textarea = "textarea", r.Tile = "tile", r.Title = "title", r.Tooltip = "tooltip", r.Trigger = "trigger", r.Validation = "validation", r))(t || {}), u = /* @__PURE__ */ ((r) => (r.Enter = "Enter", r.Escape = "Escape", r.ArrowDown = "ArrowDown", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowLeft = "ArrowLeft", r.Home = "Home", r.End = "End", r.Space = " ", r.Tab = "Tab", r))(u || {});
2
+ const u = 12;
3
+ var p = /* @__PURE__ */ ((r) => (r.onwhite = "onwhite", r.ongrey = "ongrey", r.onblueberry = "onblueberry", r.ondark = "ondark", r.oninvalid = "oninvalid", r))(p || {}), a = /* @__PURE__ */ ((r) => (r.medium = "medium", r.large = "large", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.AnchorLink = "anchor-link", r.Avatar = "avatar", r.Badge = "badge", r.Button = "button", r.Checkbox = "checkbox", r.Chip = "chip", r.Close = "close", r.DictionaryTrigger = "dictionary-trigger", r.Dropdown = "dropdown", r.Duolist = "duolist", r.EmptyState = "empty-state", r.Expander = "expander", r.ExpanderHierarchy = "expander-hierarchy", r.ExpanderHierarchyExpander = "expander-hierarchy-expander", r.ExpanderList = "expander-list", r.ExpanderListExpander = "expander-list-expander", r.EyebrowHeader = "eyebrow-header", r.FormGroup = "form-group", r.FormLayout = "form-layout", r.HelpBubble = "help-bubble", r.HelpQuestion = "help-question", r.HighlightPanel = "highlight-panel", r.Icon = "icon", r.Illustration = "Illustration", r.Input = "input", r.Label = "label", r.Link = "link", r.LinkList = "link-list", r.List = "list", r.Loader = "loader", r.Logo = "logo", r.Modal = "modal", r.NotificationPanel = "notification-panel", r.Panel = "panel", r.PanelList = "panel-list", r.PopMenu = "pop-menu", r.PopOver = "pop-over", r.Portal = "portal", r.PromoPanel = "promo-panel", r.RadioButton = "radio-button", r.Select = "select", r.SharingStatus = "sharing-status", r.Slider = "slider", r.Spacer = "spacer", r.StatusDot = "status-dot", r.Step = "step", r.StepButtons = "step-buttons", r.Stepper = "stepper", r.Sublabel = "sublabel", r.Table = "table", r.Tag = "tag", r.TagList = "tag-list", r.Textarea = "textarea", r.Tile = "tile", r.Title = "title", r.Toggle = "toggle", r.Tooltip = "tooltip", r.Trigger = "trigger", r.Validation = "validation", r))(t || {}), g = /* @__PURE__ */ ((r) => (r.Enter = "Enter", r.Escape = "Escape", r.ArrowDown = "ArrowDown", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowLeft = "ArrowLeft", r.Home = "Home", r.End = "End", r.Space = " ", r.Tab = "Tab", r))(g || {});
4
4
  export {
5
- g as AVERAGE_CHARACTER_WIDTH_PX,
5
+ u as AVERAGE_CHARACTER_WIDTH_PX,
6
6
  t as AnalyticsId,
7
7
  p as FormMode,
8
8
  a as FormSize,
9
9
  e as IconSize,
10
- u as KeyboardEventKey,
10
+ g as KeyboardEventKey,
11
11
  o as ZIndex
12
12
  };
13
13
  //# sourceMappingURL=constants.js.map
package/constants.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export enum IconSize {\n XXSmall = 24,\n XSmall = 38,\n Small = 48,\n Medium = 64,\n Large = 80,\n XLarge = 130,\n}\n\nexport enum ZIndex {\n Modal = 1300000,\n PopOver = 11000,\n // TODO: Skille mellom ExpanderTrigger isSticky og isHovered? Skulle tro isHovered trenger vesentlig mindre z-index\n ExpanderTrigger = 10000,\n OverlayScreen = 9999,\n LightBoxButtons = 1000,\n}\n\nexport const AVERAGE_CHARACTER_WIDTH_PX = 12;\n\nexport interface HTMLButtonProps {\n autoFocus?: boolean;\n disabled?: boolean;\n form?: string;\n formAction?: string;\n formEncType?: string;\n formMethod?: string;\n formNoValidate?: boolean;\n formTarget?: string;\n name?: string;\n type?: 'submit' | 'reset' | 'button' | string;\n value?: string | string[] | number;\n id?: string;\n}\n\nexport type AnchorTarget = '_self' | '_blank' | '_parent' | '_top';\n\nexport interface HTMLAnchorProps {\n download?: string;\n href?: string;\n hrefLang?: string;\n media?: string;\n ping?: string;\n rel?: AnchorTarget;\n target?: string;\n referrerPolicy?:\n | ''\n | 'same-origin'\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'strict-origin'\n | 'strict-origin-when-cross-origin'\n | 'unsafe-url';\n}\n\nexport type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;\n\nexport enum FormMode {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n ondark = 'ondark',\n oninvalid = 'oninvalid',\n}\n\nexport enum FormSize {\n medium = 'medium',\n large = 'large',\n}\n\nexport enum AnalyticsId {\n AnchorLink = 'anchor-link',\n Avatar = 'avatar',\n Badge = 'badge',\n Button = 'button',\n Checkbox = 'checkbox',\n Chip = 'chip',\n Close = 'close',\n DictionaryTrigger = 'dictionary-trigger',\n Dropdown = 'dropdown',\n Duolist = 'duolist',\n EmptyState = 'empty-state',\n Expander = 'expander',\n ExpanderHierarchy = 'expander-hierarchy',\n ExpanderHierarchyExpander = 'expander-hierarchy-expander',\n ExpanderList = 'expander-list',\n ExpanderListExpander = 'expander-list-expander',\n EyebrowHeader = 'eyebrow-header',\n FormGroup = 'form-group',\n FormLayout = 'form-layout',\n HelpBubble = 'help-bubble',\n HelpQuestion = 'help-question',\n HighlightPanel = 'highlight-panel',\n Icon = 'icon',\n Illustration = 'Illustration',\n Input = 'input',\n Label = 'label',\n Link = 'link',\n LinkList = 'link-list',\n List = 'list',\n Loader = 'loader',\n Logo = 'logo',\n Modal = 'modal',\n NotificationPanel = 'notification-panel',\n Panel = 'panel',\n PanelList = 'panel-list',\n PopMenu = 'pop-menu',\n PopOver = 'pop-over',\n Portal = 'portal',\n PromoPanel = 'promo-panel',\n RadioButton = 'radio-button',\n Select = 'select',\n SharingStatus = 'sharing-status',\n Slider = 'slider',\n Spacer = 'spacer',\n StatusDot = 'status-dot',\n Step = 'step',\n StepButtons = 'step-buttons',\n Stepper = 'stepper',\n Sublabel = 'sublabel',\n Table = 'table',\n Tag = 'tag',\n TagList = 'tag-list',\n Textarea = 'textarea',\n Tile = 'tile',\n Title = 'title',\n Tooltip = 'tooltip',\n Trigger = 'trigger',\n Validation = 'validation',\n}\n\nexport enum KeyboardEventKey {\n Enter = 'Enter',\n Escape = 'Escape',\n ArrowDown = 'ArrowDown',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowLeft = 'ArrowLeft',\n Home = 'Home',\n End = 'End',\n Space = ' ',\n Tab = 'Tab',\n}\n"],"names":["IconSize","ZIndex","AVERAGE_CHARACTER_WIDTH_PX","FormMode","FormSize","AnalyticsId","KeyboardEventKey"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAAA,EAAA,UAAU,EAAV,IAAA,WACAA,EAAAA,EAAA,SAAS,EAAT,IAAA,UACAA,EAAAA,EAAA,QAAQ,EAAR,IAAA,SACAA,EAAAA,EAAA,SAAS,EAAT,IAAA,UACAA,EAAAA,EAAA,QAAQ,EAAR,IAAA,SACAA,EAAAA,EAAA,SAAS,GAAT,IAAA,UANUA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACVA,EAAAA,EAAA,QAAQ,IAAR,IAAA,SACAA,EAAAA,EAAA,UAAU,IAAV,IAAA,WAEAA,EAAAA,EAAA,kBAAkB,GAAlB,IAAA,mBACAA,EAAAA,EAAA,gBAAgB,IAAhB,IAAA,iBACAA,EAAAA,EAAA,kBAAkB,GAAlB,IAAA,mBANUA,IAAAA,KAAA,CAAA,CAAA;AASL,MAAMC,IAA6B;AAyC9B,IAAAC,sBAAAA,OACVA,EAAA,UAAU,WACVA,EAAA,SAAS,UACTA,EAAA,cAAc,eACdA,EAAA,SAAS,UACTA,EAAA,YAAY,aALFA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACVA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAFEA,IAAAA,KAAA,CAAA,CAAA,GAKAC,sBAAAA,OACVA,EAAA,aAAa,eACbA,EAAA,SAAS,UACTA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,WAAW,YACXA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,oBAAoB,sBACpBA,EAAA,WAAW,YACXA,EAAA,UAAU,WACVA,EAAA,aAAa,eACbA,EAAA,WAAW,YACXA,EAAA,oBAAoB,sBACpBA,EAAA,4BAA4B,+BAC5BA,EAAA,eAAe,iBACfA,EAAA,uBAAuB,0BACvBA,EAAA,gBAAgB,kBAChBA,EAAA,YAAY,cACZA,EAAA,aAAa,eACbA,EAAA,aAAa,eACbA,EAAA,eAAe,iBACfA,EAAA,iBAAiB,mBACjBA,EAAA,OAAO,QACPA,EAAA,eAAe,gBACfA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SACRA,EAAA,OAAO,QACPA,EAAA,WAAW,aACXA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,oBAAoB,sBACpBA,EAAA,QAAQ,SACRA,EAAA,YAAY,cACZA,EAAA,UAAU,YACVA,EAAA,UAAU,YACVA,EAAA,SAAS,UACTA,EAAA,aAAa,eACbA,EAAA,cAAc,gBACdA,EAAA,SAAS,UACTA,EAAA,gBAAgB,kBAChBA,EAAA,SAAS,UACTA,EAAA,SAAS,UACTA,EAAA,YAAY,cACZA,EAAA,OAAO,QACPA,EAAA,cAAc,gBACdA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,QAAQ,SACRA,EAAA,MAAM,OACNA,EAAA,UAAU,YACVA,EAAA,WAAW,YACXA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,UAAU,WACVA,EAAA,UAAU,WACVA,EAAA,aAAa,cA1DHA,IAAAA,KAAA,CAAA,CAAA,GA6DAC,sBAAAA,OACVA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,YAAY,aACZA,EAAA,UAAU,WACVA,EAAA,aAAa,cACbA,EAAA,YAAY,aACZA,EAAA,OAAO,QACPA,EAAA,MAAM,OACNA,EAAA,QAAQ,KACRA,EAAA,MAAM,OAVIA,IAAAA,KAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export enum IconSize {\n XXSmall = 24,\n XSmall = 38,\n Small = 48,\n Medium = 64,\n Large = 80,\n XLarge = 130,\n}\n\nexport enum ZIndex {\n Modal = 1300000,\n PopOver = 11000,\n // TODO: Skille mellom ExpanderTrigger isSticky og isHovered? Skulle tro isHovered trenger vesentlig mindre z-index\n ExpanderTrigger = 10000,\n OverlayScreen = 9999,\n LightBoxButtons = 1000,\n}\n\nexport const AVERAGE_CHARACTER_WIDTH_PX = 12;\n\nexport interface HTMLButtonProps {\n autoFocus?: boolean;\n disabled?: boolean;\n form?: string;\n formAction?: string;\n formEncType?: string;\n formMethod?: string;\n formNoValidate?: boolean;\n formTarget?: string;\n name?: string;\n type?: 'submit' | 'reset' | 'button' | string;\n value?: string | string[] | number;\n id?: string;\n}\n\nexport type AnchorTarget = '_self' | '_blank' | '_parent' | '_top';\n\nexport interface HTMLAnchorProps {\n download?: string;\n href?: string;\n hrefLang?: string;\n media?: string;\n ping?: string;\n rel?: AnchorTarget;\n target?: string;\n referrerPolicy?:\n | ''\n | 'same-origin'\n | 'no-referrer'\n | 'no-referrer-when-downgrade'\n | 'origin'\n | 'origin-when-cross-origin'\n | 'strict-origin'\n | 'strict-origin-when-cross-origin'\n | 'unsafe-url';\n}\n\nexport type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;\n\nexport enum FormMode {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n ondark = 'ondark',\n oninvalid = 'oninvalid',\n}\n\nexport enum FormSize {\n medium = 'medium',\n large = 'large',\n}\n\nexport enum AnalyticsId {\n AnchorLink = 'anchor-link',\n Avatar = 'avatar',\n Badge = 'badge',\n Button = 'button',\n Checkbox = 'checkbox',\n Chip = 'chip',\n Close = 'close',\n DictionaryTrigger = 'dictionary-trigger',\n Dropdown = 'dropdown',\n Duolist = 'duolist',\n EmptyState = 'empty-state',\n Expander = 'expander',\n ExpanderHierarchy = 'expander-hierarchy',\n ExpanderHierarchyExpander = 'expander-hierarchy-expander',\n ExpanderList = 'expander-list',\n ExpanderListExpander = 'expander-list-expander',\n EyebrowHeader = 'eyebrow-header',\n FormGroup = 'form-group',\n FormLayout = 'form-layout',\n HelpBubble = 'help-bubble',\n HelpQuestion = 'help-question',\n HighlightPanel = 'highlight-panel',\n Icon = 'icon',\n Illustration = 'Illustration',\n Input = 'input',\n Label = 'label',\n Link = 'link',\n LinkList = 'link-list',\n List = 'list',\n Loader = 'loader',\n Logo = 'logo',\n Modal = 'modal',\n NotificationPanel = 'notification-panel',\n Panel = 'panel',\n PanelList = 'panel-list',\n PopMenu = 'pop-menu',\n PopOver = 'pop-over',\n Portal = 'portal',\n PromoPanel = 'promo-panel',\n RadioButton = 'radio-button',\n Select = 'select',\n SharingStatus = 'sharing-status',\n Slider = 'slider',\n Spacer = 'spacer',\n StatusDot = 'status-dot',\n Step = 'step',\n StepButtons = 'step-buttons',\n Stepper = 'stepper',\n Sublabel = 'sublabel',\n Table = 'table',\n Tag = 'tag',\n TagList = 'tag-list',\n Textarea = 'textarea',\n Tile = 'tile',\n Title = 'title',\n Toggle = 'toggle',\n Tooltip = 'tooltip',\n Trigger = 'trigger',\n Validation = 'validation',\n}\n\nexport enum KeyboardEventKey {\n Enter = 'Enter',\n Escape = 'Escape',\n ArrowDown = 'ArrowDown',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowLeft = 'ArrowLeft',\n Home = 'Home',\n End = 'End',\n Space = ' ',\n Tab = 'Tab',\n}\n"],"names":["IconSize","ZIndex","AVERAGE_CHARACTER_WIDTH_PX","FormMode","FormSize","AnalyticsId","KeyboardEventKey"],"mappings":"AAAY,IAAAA,sBAAAA,OACVA,EAAAA,EAAA,UAAU,EAAV,IAAA,WACAA,EAAAA,EAAA,SAAS,EAAT,IAAA,UACAA,EAAAA,EAAA,QAAQ,EAAR,IAAA,SACAA,EAAAA,EAAA,SAAS,EAAT,IAAA,UACAA,EAAAA,EAAA,QAAQ,EAAR,IAAA,SACAA,EAAAA,EAAA,SAAS,GAAT,IAAA,UANUA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACVA,EAAAA,EAAA,QAAQ,IAAR,IAAA,SACAA,EAAAA,EAAA,UAAU,IAAV,IAAA,WAEAA,EAAAA,EAAA,kBAAkB,GAAlB,IAAA,mBACAA,EAAAA,EAAA,gBAAgB,IAAhB,IAAA,iBACAA,EAAAA,EAAA,kBAAkB,GAAlB,IAAA,mBANUA,IAAAA,KAAA,CAAA,CAAA;AASL,MAAMC,IAA6B;AAyC9B,IAAAC,sBAAAA,OACVA,EAAA,UAAU,WACVA,EAAA,SAAS,UACTA,EAAA,cAAc,eACdA,EAAA,SAAS,UACTA,EAAA,YAAY,aALFA,IAAAA,KAAA,CAAA,CAAA,GAQAC,sBAAAA,OACVA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAFEA,IAAAA,KAAA,CAAA,CAAA,GAKAC,sBAAAA,OACVA,EAAA,aAAa,eACbA,EAAA,SAAS,UACTA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,WAAW,YACXA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,oBAAoB,sBACpBA,EAAA,WAAW,YACXA,EAAA,UAAU,WACVA,EAAA,aAAa,eACbA,EAAA,WAAW,YACXA,EAAA,oBAAoB,sBACpBA,EAAA,4BAA4B,+BAC5BA,EAAA,eAAe,iBACfA,EAAA,uBAAuB,0BACvBA,EAAA,gBAAgB,kBAChBA,EAAA,YAAY,cACZA,EAAA,aAAa,eACbA,EAAA,aAAa,eACbA,EAAA,eAAe,iBACfA,EAAA,iBAAiB,mBACjBA,EAAA,OAAO,QACPA,EAAA,eAAe,gBACfA,EAAA,QAAQ,SACRA,EAAA,QAAQ,SACRA,EAAA,OAAO,QACPA,EAAA,WAAW,aACXA,EAAA,OAAO,QACPA,EAAA,SAAS,UACTA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,oBAAoB,sBACpBA,EAAA,QAAQ,SACRA,EAAA,YAAY,cACZA,EAAA,UAAU,YACVA,EAAA,UAAU,YACVA,EAAA,SAAS,UACTA,EAAA,aAAa,eACbA,EAAA,cAAc,gBACdA,EAAA,SAAS,UACTA,EAAA,gBAAgB,kBAChBA,EAAA,SAAS,UACTA,EAAA,SAAS,UACTA,EAAA,YAAY,cACZA,EAAA,OAAO,QACPA,EAAA,cAAc,gBACdA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,QAAQ,SACRA,EAAA,MAAM,OACNA,EAAA,UAAU,YACVA,EAAA,WAAW,YACXA,EAAA,OAAO,QACPA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,UAAU,WACVA,EAAA,UAAU,WACVA,EAAA,aAAa,cA3DHA,IAAAA,KAAA,CAAA,CAAA,GA8DAC,sBAAAA,OACVA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,YAAY,aACZA,EAAA,UAAU,WACVA,EAAA,aAAa,cACbA,EAAA,YAAY,aACZA,EAAA,OAAO,QACPA,EAAA,MAAM,OACNA,EAAA,QAAQ,KACRA,EAAA,MAAM,OAVIA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ModalProps } from '../Modal/Modal';
2
+ import { ModalProps } from '../../components/Modal';
3
3
  interface ModalWithButtonProps extends ModalProps {
4
4
  /** Text of the button */
5
5
  buttonText: string;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { HelpBubbleProps } from '../HelpBubble/HelpBubble';
2
+ import { HelpBubbleProps } from '../../components/HelpBubble';
3
3
  declare const HelpBubbleExample: React.FC<HelpBubbleProps>;
4
4
  export default HelpBubbleExample;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { TooltipProps } from '../Tooltip';
2
+ import { TooltipProps } from '../../components/Tooltip';
3
3
  declare const TooltipExample: React.FC<TooltipProps>;
4
4
  export default TooltipExample;
@@ -1,13 +1,14 @@
1
- import t from "react";
2
- import { useBreakpoint as n } from "../../hooks/useBreakpoint.js";
3
- function p(e) {
4
- return t.forwardRef((r, o) => {
5
- const a = n();
6
- return /* @__PURE__ */ t.createElement(e, { ref: o, ...r, breakpoint: a });
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import { useBreakpoint as a } from "../../hooks/useBreakpoint.js";
4
+ function u(r) {
5
+ return n.forwardRef((t, o) => {
6
+ const e = a();
7
+ return /* @__PURE__ */ i(r, { ref: o, ...t, breakpoint: e });
7
8
  });
8
9
  }
9
10
  export {
10
- p as default,
11
- p as withBreakpoint
11
+ u as default,
12
+ u as withBreakpoint
12
13
  };
13
14
  //# sourceMappingURL=withBreakpoint.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"withBreakpoint.js","sources":["../../../src/hoc/withBreakpoint/withBreakpoint.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Breakpoint, useBreakpoint } from '../../hooks/useBreakpoint';\n\nexport interface BreakpointProps {\n breakpoint: Breakpoint;\n}\n\n// Hentet fra https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35834#issuecomment-497605842\nexport function withBreakpoint<P extends BreakpointProps, C extends React.ComponentClass<P>>(\n Component: C & React.ComponentType<P>\n): React.ForwardRefExoticComponent<Omit<React.ComponentPropsWithoutRef<C> & { ref?: React.Ref<InstanceType<C>> }, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps & { ref?: React.Ref<unknown> }>(\n Component: React.ForwardRefExoticComponent<P>\n): React.ForwardRefExoticComponent<Omit<P, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps>(\n Component: React.FunctionComponent<P>\n): React.ForwardRefExoticComponent<Omit<P, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps>(Component: React.ComponentType<P>) {\n return React.forwardRef((props, ref) => {\n const breakpoint = useBreakpoint();\n return <Component ref={ref} {...(props as P)} breakpoint={breakpoint} />;\n });\n}\n\nexport default withBreakpoint;\n"],"names":["withBreakpoint","Component","React","props","ref","breakpoint","useBreakpoint"],"mappings":";;AAqBO,SAASA,EAA0CC,GAAmC;AAC3F,SAAOC,EAAM,WAAW,CAACC,GAAOC,MAAQ;AACtC,UAAMC,IAAaC;AACnB,WAAQJ,gBAAAA,EAAA,cAAAD,GAAA,EAAU,KAAAG,GAAW,GAAID,GAAa,YAAAE,EAAwB,CAAA;AAAA,EAAA,CACvE;AACH;"}
1
+ {"version":3,"file":"withBreakpoint.js","sources":["../../../src/hoc/withBreakpoint/withBreakpoint.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Breakpoint, useBreakpoint } from '../../hooks/useBreakpoint';\n\nexport interface BreakpointProps {\n breakpoint: Breakpoint;\n}\n\n// Hentet fra https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35834#issuecomment-497605842\nexport function withBreakpoint<P extends BreakpointProps, C extends React.ComponentClass<P>>(\n Component: C & React.ComponentType<P>\n): React.ForwardRefExoticComponent<Omit<React.ComponentPropsWithoutRef<C> & { ref?: React.Ref<InstanceType<C>> }, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps & { ref?: React.Ref<unknown> }>(\n Component: React.ForwardRefExoticComponent<P>\n): React.ForwardRefExoticComponent<Omit<P, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps>(\n Component: React.FunctionComponent<P>\n): React.ForwardRefExoticComponent<Omit<P, keyof BreakpointProps>>;\n\nexport function withBreakpoint<P extends BreakpointProps>(Component: React.ComponentType<P>) {\n return React.forwardRef((props, ref) => {\n const breakpoint = useBreakpoint();\n return <Component ref={ref} {...(props as P)} breakpoint={breakpoint} />;\n });\n}\n\nexport default withBreakpoint;\n"],"names":["withBreakpoint","Component","React","props","ref","breakpoint","useBreakpoint","jsx"],"mappings":";;;AAqBO,SAASA,EAA0CC,GAAmC;AAC3F,SAAOC,EAAM,WAAW,CAACC,GAAOC,MAAQ;AACtC,UAAMC,IAAaC;AACnB,WAAQ,gBAAAC,EAAAN,GAAA,EAAU,KAAAG,GAAW,GAAID,GAAa,YAAAE,EAAwB,CAAA;AAAA,EAAA,CACvE;AACH;"}
package/hooks/useIcons.js CHANGED
@@ -1,16 +1,16 @@
1
- import { Icon as i } from "../components/Icon/Icon.js";
2
- import { LazyIcon as e } from "../components/LazyIcon/LazyIcon.js";
1
+ import { I as i } from "../Icon.js";
2
+ import { L as e } from "../LazyIcon.js";
3
3
  import { isComponent as o } from "../utils/component.js";
4
- const c = (t) => {
5
- let s = null, f = null;
4
+ const a = (t) => {
5
+ let l = null, f = null;
6
6
  const n = t[0];
7
- (o(n, i) || o(n, e)) && (s = n, t.shift());
8
- const l = t[t.length - 1];
9
- (o(l, i) || o(l, e)) && (f = l, t.pop());
7
+ (o(n, i) || o(n, e)) && (l = n, t.shift());
8
+ const s = t[t.length - 1];
9
+ (o(s, i) || o(s, e)) && (f = s, t.pop());
10
10
  const r = t.filter((m) => m);
11
- return [s, f, r.length > 0 ? r : null];
11
+ return [l, f, r.length > 0 ? r : null];
12
12
  };
13
13
  export {
14
- c as useIcons
14
+ a as useIcons
15
15
  };
16
16
  //# sourceMappingURL=useIcons.js.map
@@ -8,4 +8,5 @@ export declare const usePseudoClasses: <T extends HTMLElement | SVGElement>(ref?
8
8
  refObject: RefObject<T> | MutableRefObject<T>;
9
9
  isHovered: boolean;
10
10
  isFocused: boolean;
11
+ isActive: boolean;
11
12
  };
@@ -1,16 +1,16 @@
1
- import { useRef as O, useState as I, useEffect as b } from "react";
2
- const x = (r) => {
3
- const e = r || O(null), [H, s] = I(!1), [M, o] = I(!1);
4
- return b(() => {
5
- var v, a, d, i, l, E;
6
- const t = () => s(!0), n = () => s(!1), u = () => o(!0), c = () => o(!1);
7
- return (v = e.current) == null || v.addEventListener("mouseenter", t), (a = e.current) == null || a.addEventListener("mouseleave", n), (d = e.current) == null || d.addEventListener("pointerenter", t), (i = e.current) == null || i.addEventListener("pointerleave", n), (l = e.current) == null || l.addEventListener("focusin", u), (E = e.current) == null || E.addEventListener("focusout", c), () => {
8
- var L, f, m, p, h, F;
9
- (L = e.current) == null || L.removeEventListener("mouseenter", t), (f = e.current) == null || f.removeEventListener("mouseleave", n), (m = e.current) == null || m.removeEventListener("pointerenter", t), (p = e.current) == null || p.removeEventListener("pointerleave", n), (h = e.current) == null || h.removeEventListener("focusin", u), (F = e.current) == null || F.removeEventListener("focusout", c);
1
+ import { useRef as U, useState as s, useEffect as g } from "react";
2
+ const q = (o) => {
3
+ const e = o || U(null), [D, u] = s(!1), [R, c] = s(!1), [S, r] = s(!1);
4
+ return g(() => {
5
+ var E, L, f, m, p, h, F, I, P;
6
+ const t = () => u(!0), n = () => u(!1), i = () => c(!0), v = () => c(!1), a = () => r(!0), d = () => r(!1), l = () => r(!1);
7
+ return (E = e.current) == null || E.addEventListener("mouseenter", t), (L = e.current) == null || L.addEventListener("mouseleave", n), (f = e.current) == null || f.addEventListener("pointerenter", t), (m = e.current) == null || m.addEventListener("pointerleave", n), (p = e.current) == null || p.addEventListener("focusin", i), (h = e.current) == null || h.addEventListener("focusout", v), (F = e.current) == null || F.addEventListener("pointerdown", a), (I = e.current) == null || I.addEventListener("pointerup", d), (P = e.current) == null || P.addEventListener("pointerleave", l), () => {
8
+ var w, A, H, M, O, b, j, x, C;
9
+ (w = e.current) == null || w.removeEventListener("mouseenter", t), (A = e.current) == null || A.removeEventListener("mouseleave", n), (H = e.current) == null || H.removeEventListener("pointerenter", t), (M = e.current) == null || M.removeEventListener("pointerleave", n), (O = e.current) == null || O.removeEventListener("focusin", i), (b = e.current) == null || b.removeEventListener("focusout", v), (j = e.current) == null || j.removeEventListener("pointerdown", a), (x = e.current) == null || x.removeEventListener("pointerup", d), (C = e.current) == null || C.removeEventListener("pointerleave", l);
10
10
  };
11
- }, [e]), { refObject: e, isHovered: H, isFocused: M };
11
+ }, [e]), { refObject: e, isHovered: D, isFocused: R, isActive: S };
12
12
  };
13
13
  export {
14
- x as usePseudoClasses
14
+ q as usePseudoClasses
15
15
  };
16
16
  //# sourceMappingURL=usePseudoClasses.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePseudoClasses.js","sources":["../../src/hooks/usePseudoClasses.ts"],"sourcesContent":["import { useRef, useEffect, useState, RefObject, MutableRefObject } from 'react';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const usePseudoClasses = <T extends HTMLElement | SVGElement>(\n ref?: RefObject<T> | MutableRefObject<T> | null\n): { refObject: RefObject<T> | MutableRefObject<T>; isHovered: boolean; isFocused: boolean } => {\n const refObject = ref ? ref : useRef<T>(null);\n const [isHovered, setIsHovered] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n\n useEffect(() => {\n const handleMouseEnter = (): void => setIsHovered(true);\n const handleMouseLeave = (): void => setIsHovered(false);\n const handleFocusIn = (): void => setIsFocused(true);\n const handleFocusOut = (): void => setIsFocused(false);\n\n refObject.current?.addEventListener('mouseenter', handleMouseEnter);\n refObject.current?.addEventListener('mouseleave', handleMouseLeave);\n refObject.current?.addEventListener('pointerenter', handleMouseEnter);\n refObject.current?.addEventListener('pointerleave', handleMouseLeave);\n refObject.current?.addEventListener('focusin', handleFocusIn);\n refObject.current?.addEventListener('focusout', handleFocusOut);\n\n return (): void => {\n refObject.current?.removeEventListener('mouseenter', handleMouseEnter);\n refObject.current?.removeEventListener('mouseleave', handleMouseLeave);\n refObject.current?.removeEventListener('pointerenter', handleMouseEnter);\n refObject.current?.removeEventListener('pointerleave', handleMouseLeave);\n refObject.current?.removeEventListener('focusin', handleFocusIn);\n refObject.current?.removeEventListener('focusout', handleFocusOut);\n };\n }, [refObject]);\n\n return { refObject, isHovered, isFocused };\n};\n"],"names":["usePseudoClasses","ref","refObject","useRef","isHovered","setIsHovered","useState","isFocused","setIsFocused","useEffect","handleMouseEnter","handleMouseLeave","handleFocusIn","handleFocusOut","_a","_b","_c","_d","_e","_f"],"mappings":";AAOa,MAAAA,IAAmB,CAC9BC,MAC8F;AAC9F,QAAMC,IAAYD,KAAYE,EAAU,IAAI,GACtC,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK,GAC1C,CAACC,GAAWC,CAAY,IAAIF,EAAS,EAAK;AAEhD,SAAAG,EAAU,MAAM;;AACR,UAAAC,IAAmB,MAAYL,EAAa,EAAI,GAChDM,IAAmB,MAAYN,EAAa,EAAK,GACjDO,IAAgB,MAAYJ,EAAa,EAAI,GAC7CK,IAAiB,MAAYL,EAAa,EAAK;AAE3C,YAAAM,IAAAZ,EAAA,YAAA,QAAAY,EAAS,iBAAiB,cAAcJ,KACxCK,IAAAb,EAAA,YAAA,QAAAa,EAAS,iBAAiB,cAAcJ,KACxCK,IAAAd,EAAA,YAAA,QAAAc,EAAS,iBAAiB,gBAAgBN,KAC1CO,IAAAf,EAAA,YAAA,QAAAe,EAAS,iBAAiB,gBAAgBN,KAC1CO,IAAAhB,EAAA,YAAA,QAAAgB,EAAS,iBAAiB,WAAWN,KACrCO,IAAAjB,EAAA,YAAA,QAAAiB,EAAS,iBAAiB,YAAYN,IAEzC,MAAY;;AACP,OAAAC,IAAAZ,EAAA,YAAA,QAAAY,EAAS,oBAAoB,cAAcJ,KAC3CK,IAAAb,EAAA,YAAA,QAAAa,EAAS,oBAAoB,cAAcJ,KAC3CK,IAAAd,EAAA,YAAA,QAAAc,EAAS,oBAAoB,gBAAgBN,KAC7CO,IAAAf,EAAA,YAAA,QAAAe,EAAS,oBAAoB,gBAAgBN,KAC7CO,IAAAhB,EAAA,YAAA,QAAAgB,EAAS,oBAAoB,WAAWN,KACxCO,IAAAjB,EAAA,YAAA,QAAAiB,EAAS,oBAAoB,YAAYN;AAAA,IAAc;AAAA,EACnE,GACC,CAACX,CAAS,CAAC,GAEP,EAAE,WAAAA,GAAW,WAAAE,GAAW,WAAAG;AACjC;"}
1
+ {"version":3,"file":"usePseudoClasses.js","sources":["../../src/hooks/usePseudoClasses.ts"],"sourcesContent":["import { useRef, useEffect, useState, RefObject, MutableRefObject } from 'react';\n\n/**\n * Få vite når et element hovres over eller mottar fokus.\n * @param ref Element som skal observeres\n * @returns Objekt med ref og om objekt er hovered/focused\n */\nexport const usePseudoClasses = <T extends HTMLElement | SVGElement>(\n ref?: RefObject<T> | MutableRefObject<T> | null\n): { refObject: RefObject<T> | MutableRefObject<T>; isHovered: boolean; isFocused: boolean; isActive: boolean } => {\n const refObject = ref ? ref : useRef<T>(null);\n const [isHovered, setIsHovered] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n const [isActive, setIsActive] = useState(false);\n\n useEffect(() => {\n const handleMouseEnter = (): void => setIsHovered(true);\n const handleMouseLeave = (): void => setIsHovered(false);\n const handleFocusIn = (): void => setIsFocused(true);\n const handleFocusOut = (): void => setIsFocused(false);\n const handlePointerDown = (): void => setIsActive(true);\n const handlePointerUp = (): void => setIsActive(false);\n const handlePointerLeave = (): void => setIsActive(false);\n\n refObject.current?.addEventListener('mouseenter', handleMouseEnter);\n refObject.current?.addEventListener('mouseleave', handleMouseLeave);\n refObject.current?.addEventListener('pointerenter', handleMouseEnter);\n refObject.current?.addEventListener('pointerleave', handleMouseLeave);\n refObject.current?.addEventListener('focusin', handleFocusIn);\n refObject.current?.addEventListener('focusout', handleFocusOut);\n refObject.current?.addEventListener('pointerdown', handlePointerDown);\n refObject.current?.addEventListener('pointerup', handlePointerUp);\n refObject.current?.addEventListener('pointerleave', handlePointerLeave);\n\n return (): void => {\n refObject.current?.removeEventListener('mouseenter', handleMouseEnter);\n refObject.current?.removeEventListener('mouseleave', handleMouseLeave);\n refObject.current?.removeEventListener('pointerenter', handleMouseEnter);\n refObject.current?.removeEventListener('pointerleave', handleMouseLeave);\n refObject.current?.removeEventListener('focusin', handleFocusIn);\n refObject.current?.removeEventListener('focusout', handleFocusOut);\n refObject.current?.removeEventListener('pointerdown', handlePointerDown);\n refObject.current?.removeEventListener('pointerup', handlePointerUp);\n refObject.current?.removeEventListener('pointerleave', handlePointerLeave);\n };\n }, [refObject]);\n\n return { refObject, isHovered, isFocused, isActive };\n};\n"],"names":["usePseudoClasses","ref","refObject","useRef","isHovered","setIsHovered","useState","isFocused","setIsFocused","isActive","setIsActive","useEffect","handleMouseEnter","handleMouseLeave","handleFocusIn","handleFocusOut","handlePointerDown","handlePointerUp","handlePointerLeave","_a","_b","_c","_d","_e","_f","_g","_h","_i"],"mappings":";AAOa,MAAAA,IAAmB,CAC9BC,MACiH;AACjH,QAAMC,IAAYD,KAAYE,EAAU,IAAI,GACtC,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK,GAC1C,CAACC,GAAWC,CAAY,IAAIF,EAAS,EAAK,GAC1C,CAACG,GAAUC,CAAW,IAAIJ,EAAS,EAAK;AAE9C,SAAAK,EAAU,MAAM;;AACR,UAAAC,IAAmB,MAAYP,EAAa,EAAI,GAChDQ,IAAmB,MAAYR,EAAa,EAAK,GACjDS,IAAgB,MAAYN,EAAa,EAAI,GAC7CO,IAAiB,MAAYP,EAAa,EAAK,GAC/CQ,IAAoB,MAAYN,EAAY,EAAI,GAChDO,IAAkB,MAAYP,EAAY,EAAK,GAC/CQ,IAAqB,MAAYR,EAAY,EAAK;AAE9C,YAAAS,IAAAjB,EAAA,YAAA,QAAAiB,EAAS,iBAAiB,cAAcP,KACxCQ,IAAAlB,EAAA,YAAA,QAAAkB,EAAS,iBAAiB,cAAcP,KACxCQ,IAAAnB,EAAA,YAAA,QAAAmB,EAAS,iBAAiB,gBAAgBT,KAC1CU,IAAApB,EAAA,YAAA,QAAAoB,EAAS,iBAAiB,gBAAgBT,KAC1CU,IAAArB,EAAA,YAAA,QAAAqB,EAAS,iBAAiB,WAAWT,KACrCU,IAAAtB,EAAA,YAAA,QAAAsB,EAAS,iBAAiB,YAAYT,KACtCU,IAAAvB,EAAA,YAAA,QAAAuB,EAAS,iBAAiB,eAAeT,KACzCU,IAAAxB,EAAA,YAAA,QAAAwB,EAAS,iBAAiB,aAAaT,KACvCU,IAAAzB,EAAA,YAAA,QAAAyB,EAAS,iBAAiB,gBAAgBT,IAE7C,MAAY;;AACP,OAAAC,IAAAjB,EAAA,YAAA,QAAAiB,EAAS,oBAAoB,cAAcP,KAC3CQ,IAAAlB,EAAA,YAAA,QAAAkB,EAAS,oBAAoB,cAAcP,KAC3CQ,IAAAnB,EAAA,YAAA,QAAAmB,EAAS,oBAAoB,gBAAgBT,KAC7CU,IAAApB,EAAA,YAAA,QAAAoB,EAAS,oBAAoB,gBAAgBT,KAC7CU,IAAArB,EAAA,YAAA,QAAAqB,EAAS,oBAAoB,WAAWT,KACxCU,IAAAtB,EAAA,YAAA,QAAAsB,EAAS,oBAAoB,YAAYT,KACzCU,IAAAvB,EAAA,YAAA,QAAAuB,EAAS,oBAAoB,eAAeT,KAC5CU,IAAAxB,EAAA,YAAA,QAAAwB,EAAS,oBAAoB,aAAaT,KAC1CU,IAAAzB,EAAA,YAAA,QAAAyB,EAAS,oBAAoB,gBAAgBT;AAAA,IAAkB;AAAA,EAC3E,GACC,CAAChB,CAAS,CAAC,GAEP,EAAE,WAAAA,GAAW,WAAAE,GAAW,WAAAG,GAAW,UAAAE,EAAS;AACrD;"}
package/hooks/useUuid.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { useState as r } from "react";
2
- import { uuid as u } from "../utils/uuid.js";
3
- const m = (t) => {
2
+ import { u } from "../uuid.js";
3
+ const s = (t) => {
4
4
  const [o] = r(t || u());
5
5
  return o;
6
6
  };
7
7
  export {
8
- m as useUuid
8
+ s as useUuid
9
9
  };
10
10
  //# sourceMappingURL=useUuid.js.map
package/index.js CHANGED
@@ -3,7 +3,7 @@ import { Breakpoint as s, useBreakpoint as u } from "./hooks/useBreakpoint.js";
3
3
  import { useFocusToggle as p } from "./hooks/useFocusToggle.js";
4
4
  import { useFocusTrap as f } from "./hooks/useFocusTrap.js";
5
5
  import { useHover as n } from "./hooks/useHover.js";
6
- import { useIntersectionObserver as v } from "./hooks/useIntersectionObserver.js";
6
+ import { useIntersectionObserver as d } from "./hooks/useIntersectionObserver.js";
7
7
  import { useIsVisible as E } from "./hooks/useIsVisible.js";
8
8
  import { useLayoutEvent as c } from "./hooks/useLayoutEvent.js";
9
9
  import { usePrevious as A } from "./hooks/usePrevious.js";
@@ -15,7 +15,7 @@ import { useKeyboardEvent as H } from "./hooks/useKeyboardEvent.js";
15
15
  import { useOutsideEvent as O } from "./hooks/useOutsideEvent.js";
16
16
  import { useUuid as B } from "./hooks/useUuid.js";
17
17
  import { isMobileUA as M } from "./utils/mobile.js";
18
- import { uuid as U } from "./utils/uuid.js";
18
+ import { u as U } from "./uuid.js";
19
19
  import { AVERAGE_CHARACTER_WIDTH_PX as h, AnalyticsId as D, FormMode as G, FormSize as L, IconSize as W, KeyboardEventKey as X, ZIndex as Z } from "./constants.js";
20
20
  export {
21
21
  h as AVERAGE_CHARACTER_WIDTH_PX,
@@ -32,7 +32,7 @@ export {
32
32
  p as useFocusToggle,
33
33
  f as useFocusTrap,
34
34
  n as useHover,
35
- v as useIntersectionObserver,
35
+ d as useIntersectionObserver,
36
36
  E as useIsVisible,
37
37
  H as useKeyboardEvent,
38
38
  c as useLayoutEvent,
package/package.json CHANGED
@@ -7,9 +7,12 @@
7
7
  "url": "git+https://github.com/helsenorge/designsystem.git"
8
8
  },
9
9
  "homepage": "https://helsenorge.design",
10
- "version": "8.4.0",
10
+ "version": "8.5.1",
11
11
  "author": "Helsenorge",
12
12
  "license": "MIT",
13
+ "dependencies": {
14
+ "framer-motion": "^11.5.4"
15
+ },
13
16
  "peerDependencies": {
14
17
  "bootstrap": "^4.6.2",
15
18
  "classnames": "^2.3.2",
package/style.css ADDED
@@ -0,0 +1 @@
1
+ :root{--core-color-black: #000000;--core-color-white: #ffffff;--core-color-blueberry-50: #e4f7f9;--core-color-neutral-500: #989693;--core-color-neutral-700: #62625f;--color-action-text-ondark: #ffffff;--color-action-background-transparent-onlight-hover: #126f8721;--color-action-background-transparent-onlight-hoverselected: #126f872b;--color-notification-background-info: #e4f7f9;--color-notification-background-error: #fff2ea;--color-destructive-graphics-normal: #c83521;--color-base-text-onlight: #000000;--color-action-background-ondark: #ffffff;--color-action-border-ondark: #ffffff;--color-action-border-ondark-focus: #ffffff;--color-action-graphics-ondark: #ffffff;--color-base-text-ondark: #ffffff;--color-base-background-neutral: #f5f3f3;--color-base-background-white: #ffffff;--color-base-graphics-ondark: #ffffff;--color-disabled-text-ondark: #ffffff;--color-action-border-onlight: #188097;--color-action-border-onlight-hover: #08667c;--color-action-border-onlight-focus: #000000;--color-action-text-onlight: #126f87;--color-action-text-onlight-hover: #08667c;--color-action-graphics-onlight: #188097;--color-action-graphics-onlight-hover: #126f87;--color-action-graphics-ondark-hover: #e4f7f9;--color-action-background-ondark-hover: #e4f7f9;--color-action-background-ondark-selected: #cae7ed;--color-action-background-ondark-hoverselected: #afdae3;--color-action-background-onlight: #188097;--color-action-background-onlight-hover: #08667c;--color-notification-background-warning: #fdf8df;--color-notification-background-success: #e6f8ee;--color-notification-border-info: #08667c;--color-notification-border-error: #a31f0e;--color-notification-border-warning: #ab7c00;--color-notification-border-success: #078141;--color-notification-graphics-info: #08667c;--color-notification-graphics-error: #a31f0e;--color-notification-graphics-warning: #ab7c00;--color-notification-graphics-success: #078141;--color-notification-status-warning: #ebc840;--color-notification-status-success: #099150;--color-destructive-graphics-hover: #b62e1c;--color-destructive-text-normal: #b62e1c;--color-destructive-text-hover: #a31f0e;--color-disabled-background: #d6d4d3;--color-disabled-text: #62625f;--color-disabled-border: #7d7c79;--color-disabled-graphics: #62625f;--color-disabled-border-ondark: #d6d4d3;--color-disabled-graphics-ondark: #d6d4d3;--color-base-background-blueberry: #e4f7f9;--color-base-background-cherry: #fff2ea;--color-base-background-dark-blueberry: #188097;--color-base-background-dark-cherry: #c83521;--color-base-graphics-onlight: #000000;--color-base-border-ondark: #d6d4d3;--color-base-border-onlight: #989693;--color-base-border-onlight-emphasized: #62625f;--color-help-background: #efe4fd;--color-help-graphics: #5b22a6;--color-help-border: #5b22a6;--core-color-blueberry-100: #cae7ed;--core-color-blueberry-200: #afdae3;--core-color-blueberry-300: #7abecc;--core-color-blueberry-400: #58aabb;--core-color-blueberry-500: #188097;--core-color-blueberry-600: #126f87;--core-color-blueberry-700: #08667c;--core-color-blueberry-800: #06596c;--core-color-blueberry-900: #084350;--core-color-neutral-50: #f5f3f3;--core-color-neutral-100: #eae7e7;--core-color-neutral-200: #d6d4d3;--core-color-neutral-300: #bdbab9;--core-color-neutral-400: #aaa8a6;--core-color-neutral-600: #7d7c79;--core-color-neutral-800: #474745;--core-color-neutral-900: #2b2c2b;--core-color-banana-50: #fdf8df;--core-color-banana-100: #fcf2bf;--core-color-banana-200: #f9ea9f;--core-color-banana-300: #f5e080;--core-color-banana-400: #ebc840;--core-color-banana-500: #ddab06;--core-color-banana-600: #c59302;--core-color-banana-700: #ab7c00;--core-color-banana-800: #916500;--core-color-banana-900: #764f00;--core-color-cherry-50: #fff2ea;--core-color-cherry-100: #f7e1d2;--core-color-cherry-200: #eec0a5;--core-color-cherry-300: #e39376;--core-color-cherry-400: #d56147;--core-color-cherry-500: #c83521;--core-color-cherry-600: #b62e1c;--core-color-cherry-700: #a31f0e;--core-color-cherry-800: #912112;--core-color-cherry-900: #7e1c0e;--core-color-kiwi-50: #e6f8ee;--core-color-kiwi-100: #c2edd6;--core-color-kiwi-200: #9de2bf;--core-color-kiwi-300: #79d6aa;--core-color-kiwi-400: #56ca96;--core-color-kiwi-500: #33be84;--core-color-kiwi-600: #10b172;--core-color-kiwi-700: #0ca161;--core-color-kiwi-800: #099150;--core-color-kiwi-900: #078141;--core-color-plum-50: #efe4fd;--core-color-plum-100: #d7bdf9;--core-color-plum-200: #bf98f3;--core-color-plum-300: #a875eb;--core-color-plum-400: #9153e2;--core-color-plum-500: #7a33d7;--core-color-plum-600: #6a2abf;--core-color-plum-700: #5b22a6;--core-color-plum-800: #4c1b8c;--core-color-plum-900: #3c1471;--color-destructive-background-emphasized: #f7e1d2;--color-destructive-background-normal: #fff2ea;--brandcolor-white: #ffffff;--brandcolor-black: #000000;--brandcolor-neutral-verylight: #f5f3f3;--brandcolor-neutral-light: #eae7e7;--brandcolor-neutral-mediumlight: #d6d4d3;--brandcolor-neutral-medium: #989693;--brandcolor-neutral-dark: #62625f;--brandcolor-neutral-verydark: #2b2c2b;--brandcolor-blueberry-verylight: #e4f7f9;--brandcolor-blueberry-light: #cae7ed;--brandcolor-blueberry-mediumlight: #afdae3;--brandcolor-blueberry-medium: #188097;--brandcolor-blueberry-mediumdark: #126f87;--brandcolor-blueberry-dark: #08667c;--brandcolor-cherry-verylight: #fff2ea;--brandcolor-cherry-light: #f7e1d2;--brandcolor-cherry-medium: #c83521;--brandcolor-cherry-mediumdark: #b62e1c;--brandcolor-cherry-dark: #a31f0e;--color-notification-status-info: #188097;--color-notification-status-error: #c83521;--color-destructive-border-normal: #c83521;--color-action-border-ondark-hover: #e4f7f9;--color-action-background-transparent-ondark-hover: #00000026;--color-action-background-transparent-ondark-hoverselected: #000000bf;--color-base-background-dark-neutral: #2b2c2b;--color-placeholder-text-onlight: #62625f;--color-base-border-onlight-subtle: #d6d4d3;--color-base-border-neutral: #d6d4d3;--color-base-border-blueberry: #afdae3;--color-base-border-cherry: #eec0a5;--color-notification-text-info: #08667c;--color-notification-text-warning: #916500;--color-notification-text-error: #a31f0e;--color-notification-text-success: #078141}