@helsenorge/designsystem-react 2.16.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (953) hide show
  1. package/AnchorLink.js +1 -1
  2. package/AnchorLink.js.map +1 -1
  3. package/Avatar.js +1 -1
  4. package/Avatar.js.map +1 -1
  5. package/Badge.js +1 -1
  6. package/Badge.js.map +1 -1
  7. package/Button.js +1 -1
  8. package/Button.js.map +1 -1
  9. package/CHANGELOG.md +679 -326
  10. package/Checkbox.js +1 -1
  11. package/Checkbox.js.map +1 -1
  12. package/Close.js +1 -1
  13. package/Close.js.map +1 -1
  14. package/ErrorWrapper.js +1 -1
  15. package/ErrorWrapper.js.map +1 -1
  16. package/FormGroup.js +1 -1
  17. package/FormGroup.js.map +1 -1
  18. package/FormLayout.js +1 -1
  19. package/FormLayout.js.map +1 -1
  20. package/HelpBubble.js +1 -1
  21. package/HelpBubble.js.map +1 -1
  22. package/HorizontalScroll.js +1 -1
  23. package/HorizontalScroll.js.map +1 -1
  24. package/Input.js +1 -1
  25. package/Input.js.map +1 -1
  26. package/ListHeader.js +1 -1
  27. package/ListHeader.js.map +1 -1
  28. package/ListHeaderText.js +1 -1
  29. package/ListHeaderText.js.map +1 -1
  30. package/MaxCharacters.js +1 -1
  31. package/MaxCharacters.js.map +1 -1
  32. package/Modal.js +1 -1
  33. package/Modal.js.map +1 -1
  34. package/Panel.js +1 -1
  35. package/Panel.js.map +1 -1
  36. package/PopOver.js +2 -0
  37. package/PopOver.js.map +1 -0
  38. package/RadioButton.js +1 -1
  39. package/RadioButton.js.map +1 -1
  40. package/Select.js +1 -1
  41. package/Select.js.map +1 -1
  42. package/Spacer.js +1 -1
  43. package/Spacer.js.map +1 -1
  44. package/StatusDot.js +1 -1
  45. package/StatusDot.js.map +1 -1
  46. package/TableBody.js +1 -1
  47. package/TableBody.js.map +1 -1
  48. package/TableCell.js +1 -1
  49. package/TableCell.js.map +1 -1
  50. package/TableExpandedRow.js +1 -1
  51. package/TableExpandedRow.js.map +1 -1
  52. package/TableExpanderCell.js +1 -1
  53. package/TableExpanderCell.js.map +1 -1
  54. package/TableHead.js +1 -1
  55. package/TableHead.js.map +1 -1
  56. package/TableHeadCell.js +1 -1
  57. package/TableHeadCell.js.map +1 -1
  58. package/TableRow.js +1 -1
  59. package/TableRow.js.map +1 -1
  60. package/Textarea.js +1 -1
  61. package/Textarea.js.map +1 -1
  62. package/Title.js +1 -1
  63. package/Title.js.map +1 -1
  64. package/Tooltip.js +1 -1
  65. package/Tooltip.js.map +1 -1
  66. package/TooltipWord.js +1 -1
  67. package/TooltipWord.js.map +1 -1
  68. package/Validation.js +1 -1
  69. package/Validation.js.map +1 -1
  70. package/__mocks__/matchMedia.d.ts +1 -1
  71. package/__mocks__/matchMedia.d.ts.map +1 -1
  72. package/components/AnchorLink/AnchorLink.d.ts +2 -2
  73. package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
  74. package/components/AnchorLink/index.js +1 -1
  75. package/components/AnchorLink/styles.module.scss +8 -5
  76. package/components/Avatar/Avatar.d.ts +1 -1
  77. package/components/Avatar/Avatar.d.ts.map +1 -1
  78. package/components/Avatar/index.js +1 -1
  79. package/components/Badge/Badge.d.ts +3 -3
  80. package/components/Badge/Badge.d.ts.map +1 -1
  81. package/components/Badge/index.js +1 -1
  82. package/components/Button/Button.d.ts +7 -7
  83. package/components/Button/Button.d.ts.map +1 -1
  84. package/components/Button/componentdata.json +1 -1
  85. package/components/Button/index.js +1 -1
  86. package/components/ButtonWithModal/ButtonWithModal.d.ts.map +1 -1
  87. package/components/ButtonWithModal/index.js +1 -1
  88. package/components/ButtonWithModal/index.js.map +1 -1
  89. package/components/Checkbox/Checkbox.d.ts.map +1 -1
  90. package/components/Checkbox/componentdata.json +1 -1
  91. package/components/Checkbox/index.js +1 -1
  92. package/components/Close/Close.d.ts +8 -2
  93. package/components/Close/Close.d.ts.map +1 -1
  94. package/components/Close/componentdata.json +1 -1
  95. package/components/Close/index.js +1 -1
  96. package/components/Close/styles.module.scss +1 -1
  97. package/components/Dropdown/Dropdown.d.ts.map +1 -1
  98. package/components/Dropdown/componentdata.json +1 -1
  99. package/components/Dropdown/index.js +1 -1
  100. package/components/Dropdown/index.js.map +1 -1
  101. package/components/Duolist/Duolist.d.ts +4 -4
  102. package/components/Duolist/Duolist.d.ts.map +1 -1
  103. package/components/Duolist/index.js +1 -1
  104. package/components/Duolist/index.js.map +1 -1
  105. package/components/ErrorWrapper/ErrorWrapper.d.ts.map +1 -1
  106. package/components/ErrorWrapper/componentdata.json +1 -1
  107. package/components/ErrorWrapper/index.js +1 -1
  108. package/components/Expander/Expander.d.ts +2 -2
  109. package/components/Expander/Expander.d.ts.map +1 -1
  110. package/components/Expander/componentdata.json +1 -1
  111. package/components/Expander/index.js +1 -1
  112. package/components/Expander/index.js.map +1 -1
  113. package/components/ExpanderHierarchy/Expander.d.ts +18 -0
  114. package/components/ExpanderHierarchy/Expander.d.ts.map +1 -0
  115. package/components/ExpanderHierarchy/ExpanderButton.d.ts +11 -0
  116. package/components/ExpanderHierarchy/ExpanderButton.d.ts.map +1 -0
  117. package/components/ExpanderHierarchy/ExpanderHierarchy.d.ts +22 -0
  118. package/components/ExpanderHierarchy/ExpanderHierarchy.d.ts.map +1 -0
  119. package/components/ExpanderHierarchy/componentdata.json +1 -0
  120. package/components/ExpanderHierarchy/expander.module.scss +147 -0
  121. package/components/ExpanderHierarchy/expander.module.scss.d.ts +25 -0
  122. package/components/ExpanderHierarchy/index.d.ts +4 -0
  123. package/components/ExpanderHierarchy/index.d.ts.map +1 -0
  124. package/components/ExpanderHierarchy/index.js +2 -0
  125. package/components/ExpanderHierarchy/index.js.map +1 -0
  126. package/components/ExpanderHierarchy/styles.module.scss +17 -0
  127. package/components/ExpanderHierarchy/styles.module.scss.d.ts +11 -0
  128. package/components/ExpanderHierarchy/utils.d.ts +3 -0
  129. package/components/ExpanderHierarchy/utils.d.ts.map +1 -0
  130. package/components/ExpanderList/ExpanderList.d.ts +4 -4
  131. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  132. package/components/ExpanderList/index.js +1 -1
  133. package/components/ExpanderList/index.js.map +1 -1
  134. package/components/FormExample/FormExample.d.ts.map +1 -1
  135. package/components/FormExample/index.js +3 -3
  136. package/components/FormExample/index.js.map +1 -1
  137. package/components/FormGroup/FormGroup.d.ts +1 -1
  138. package/components/FormGroup/FormGroup.d.ts.map +1 -1
  139. package/components/FormGroup/index.js +1 -1
  140. package/components/FormLayout/FormLayout.d.ts.map +1 -1
  141. package/components/FormLayout/index.js +1 -1
  142. package/components/GridExample/index.js +1 -1
  143. package/components/GridExample/index.js.map +1 -1
  144. package/components/HelpBubble/HelpBubble.d.ts +4 -7
  145. package/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  146. package/components/HelpBubble/index.js +1 -1
  147. package/components/HelpBubble/styles.module.scss +0 -41
  148. package/components/HelpBubble/styles.module.scss.d.ts +0 -3
  149. package/components/HelpBubbleExample/componentdata.json +1 -1
  150. package/components/HelpBubbleExample/index.js +1 -1
  151. package/components/HelpBubbleExample/index.js.map +1 -1
  152. package/components/HighlightBox/HighlightBox.d.ts +2 -2
  153. package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
  154. package/components/HighlightBox/componentdata.json +1 -1
  155. package/components/HighlightBox/index.js +1 -1
  156. package/components/HighlightBox/index.js.map +1 -1
  157. package/components/HorizontalScroll/HorizontalScroll.d.ts.map +1 -1
  158. package/components/HorizontalScroll/index.js +1 -1
  159. package/components/Icons/ActiveMonitoring.d.ts.map +1 -1
  160. package/components/Icons/ActiveMonitoring.js.map +1 -1
  161. package/components/Icons/AcupunctureBack.d.ts.map +1 -1
  162. package/components/Icons/AcupunctureBack.js.map +1 -1
  163. package/components/Icons/AlarmClock.d.ts.map +1 -1
  164. package/components/Icons/AlarmClock.js.map +1 -1
  165. package/components/Icons/AlertSignFill.d.ts.map +1 -1
  166. package/components/Icons/AlertSignFill.js.map +1 -1
  167. package/components/Icons/AlertSignStroke.d.ts.map +1 -1
  168. package/components/Icons/AlertSignStroke.js.map +1 -1
  169. package/components/Icons/Amputation.d.ts.map +1 -1
  170. package/components/Icons/Amputation.js.map +1 -1
  171. package/components/Icons/Anxiety.d.ts.map +1 -1
  172. package/components/Icons/Anxiety.js.map +1 -1
  173. package/components/Icons/Apple.d.ts.map +1 -1
  174. package/components/Icons/Apple.js.map +1 -1
  175. package/components/Icons/Archive.d.ts.map +1 -1
  176. package/components/Icons/Archive.js.map +1 -1
  177. package/components/Icons/ArmFlexing.d.ts.map +1 -1
  178. package/components/Icons/ArmFlexing.js.map +1 -1
  179. package/components/Icons/ArrowDown.d.ts.map +1 -1
  180. package/components/Icons/ArrowDown.js.map +1 -1
  181. package/components/Icons/ArrowLeft.d.ts.map +1 -1
  182. package/components/Icons/ArrowLeft.js.map +1 -1
  183. package/components/Icons/ArrowRight.d.ts.map +1 -1
  184. package/components/Icons/ArrowRight.js.map +1 -1
  185. package/components/Icons/ArrowUp.d.ts.map +1 -1
  186. package/components/Icons/ArrowUp.js.map +1 -1
  187. package/components/Icons/ArrowUpRight.d.ts.map +1 -1
  188. package/components/Icons/ArrowUpRight.js.map +1 -1
  189. package/components/Icons/Attachment.d.ts.map +1 -1
  190. package/components/Icons/Attachment.js.map +1 -1
  191. package/components/Icons/Atv.d.ts.map +1 -1
  192. package/components/Icons/Atv.js.map +1 -1
  193. package/components/Icons/Avatar.d.ts.map +1 -1
  194. package/components/Icons/Avatar.js.map +1 -1
  195. package/components/Icons/AwakePersonOnPillow.d.ts.map +1 -1
  196. package/components/Icons/AwakePersonOnPillow.js.map +1 -1
  197. package/components/Icons/Baby.d.ts.map +1 -1
  198. package/components/Icons/Baby.js.map +1 -1
  199. package/components/Icons/BandAid.d.ts.map +1 -1
  200. package/components/Icons/BandAid.js.map +1 -1
  201. package/components/Icons/BeerAndPills.d.ts.map +1 -1
  202. package/components/Icons/BeerAndPills.js.map +1 -1
  203. package/components/Icons/Bell.d.ts.map +1 -1
  204. package/components/Icons/Bell.js.map +1 -1
  205. package/components/Icons/Bike.d.ts.map +1 -1
  206. package/components/Icons/Bike.js.map +1 -1
  207. package/components/Icons/BirthControl.d.ts.map +1 -1
  208. package/components/Icons/BirthControl.js.map +1 -1
  209. package/components/Icons/BirthdayCake.d.ts.map +1 -1
  210. package/components/Icons/BirthdayCake.js.map +1 -1
  211. package/components/Icons/Boat.d.ts.map +1 -1
  212. package/components/Icons/Boat.js.map +1 -1
  213. package/components/Icons/Body.d.ts.map +1 -1
  214. package/components/Icons/Body.js.map +1 -1
  215. package/components/Icons/Brain.d.ts.map +1 -1
  216. package/components/Icons/Brain.js.map +1 -1
  217. package/components/Icons/BreastReconstruction.d.ts.map +1 -1
  218. package/components/Icons/BreastReconstruction.js.map +1 -1
  219. package/components/Icons/BreastRemoval.d.ts.map +1 -1
  220. package/components/Icons/BreastRemoval.js.map +1 -1
  221. package/components/Icons/Breasts.d.ts.map +1 -1
  222. package/components/Icons/Breasts.js.map +1 -1
  223. package/components/Icons/BrokenHeart.d.ts.map +1 -1
  224. package/components/Icons/BrokenHeart.js.map +1 -1
  225. package/components/Icons/BrokenPuzzle.d.ts.map +1 -1
  226. package/components/Icons/BrokenPuzzle.js.map +1 -1
  227. package/components/Icons/Bus.d.ts.map +1 -1
  228. package/components/Icons/Bus.js.map +1 -1
  229. package/components/Icons/Calendar.d.ts.map +1 -1
  230. package/components/Icons/Calendar.js.map +1 -1
  231. package/components/Icons/CalendarChange.d.ts.map +1 -1
  232. package/components/Icons/CalendarChange.js.map +1 -1
  233. package/components/Icons/CalendarCheck.d.ts.map +1 -1
  234. package/components/Icons/CalendarCheck.js.map +1 -1
  235. package/components/Icons/CalendarEvent.d.ts.map +1 -1
  236. package/components/Icons/CalendarEvent.js.map +1 -1
  237. package/components/Icons/CalendarSave.d.ts.map +1 -1
  238. package/components/Icons/CalendarSave.js.map +1 -1
  239. package/components/Icons/Cancer.d.ts.map +1 -1
  240. package/components/Icons/Cancer.js.map +1 -1
  241. package/components/Icons/Car.d.ts.map +1 -1
  242. package/components/Icons/Car.js.map +1 -1
  243. package/components/Icons/Change.d.ts.map +1 -1
  244. package/components/Icons/Change.js.map +1 -1
  245. package/components/Icons/Check.d.ts.map +1 -1
  246. package/components/Icons/Check.js.map +1 -1
  247. package/components/Icons/CheckFill.d.ts.map +1 -1
  248. package/components/Icons/CheckFill.js.map +1 -1
  249. package/components/Icons/CheckOutline.d.ts.map +1 -1
  250. package/components/Icons/CheckOutline.js.map +1 -1
  251. package/components/Icons/Chest.d.ts.map +1 -1
  252. package/components/Icons/Chest.js.map +1 -1
  253. package/components/Icons/ChevronDown.d.ts.map +1 -1
  254. package/components/Icons/ChevronDown.js.map +1 -1
  255. package/components/Icons/ChevronLeft.d.ts.map +1 -1
  256. package/components/Icons/ChevronLeft.js.map +1 -1
  257. package/components/Icons/ChevronRight.d.ts.map +1 -1
  258. package/components/Icons/ChevronRight.js.map +1 -1
  259. package/components/Icons/ChevronUp.d.ts.map +1 -1
  260. package/components/Icons/ChevronUp.js.map +1 -1
  261. package/components/Icons/ChevronsDown.d.ts.map +1 -1
  262. package/components/Icons/ChevronsDown.js.map +1 -1
  263. package/components/Icons/ChevronsUp.d.ts.map +1 -1
  264. package/components/Icons/ChevronsUp.js.map +1 -1
  265. package/components/Icons/ChildPlaying.d.ts.map +1 -1
  266. package/components/Icons/ChildPlaying.js.map +1 -1
  267. package/components/Icons/Cigarette.d.ts.map +1 -1
  268. package/components/Icons/Cigarette.js.map +1 -1
  269. package/components/Icons/Coins.d.ts.map +1 -1
  270. package/components/Icons/Coins.js.map +1 -1
  271. package/components/Icons/Contacts.d.ts.map +1 -1
  272. package/components/Icons/Contacts.js.map +1 -1
  273. package/components/Icons/Copy.d.ts.map +1 -1
  274. package/components/Icons/Copy.js.map +1 -1
  275. package/components/Icons/CoronaCertificate.d.ts.map +1 -1
  276. package/components/Icons/CoronaCertificate.js.map +1 -1
  277. package/components/Icons/Coronavirus.d.ts.map +1 -1
  278. package/components/Icons/Coronavirus.js.map +1 -1
  279. package/components/Icons/Cough.d.ts.map +1 -1
  280. package/components/Icons/Cough.js.map +1 -1
  281. package/components/Icons/CriticalHealthInfo.d.ts.map +1 -1
  282. package/components/Icons/CriticalHealthInfo.js.map +1 -1
  283. package/components/Icons/Cross.d.ts.map +1 -1
  284. package/components/Icons/Cross.js.map +1 -1
  285. package/components/Icons/DataExchange.d.ts.map +1 -1
  286. package/components/Icons/DataExchange.js.map +1 -1
  287. package/components/Icons/DataReceived.d.ts.map +1 -1
  288. package/components/Icons/DataReceived.js.map +1 -1
  289. package/components/Icons/DataSent.d.ts.map +1 -1
  290. package/components/Icons/DataSent.js.map +1 -1
  291. package/components/Icons/Depression.d.ts.map +1 -1
  292. package/components/Icons/Depression.js.map +1 -1
  293. package/components/Icons/DigestiveSystem.d.ts.map +1 -1
  294. package/components/Icons/DigestiveSystem.js.map +1 -1
  295. package/components/Icons/Dizzy.d.ts.map +1 -1
  296. package/components/Icons/Dizzy.js.map +1 -1
  297. package/components/Icons/Documents.d.ts.map +1 -1
  298. package/components/Icons/Documents.js.map +1 -1
  299. package/components/Icons/Dog.d.ts.map +1 -1
  300. package/components/Icons/Dog.js.map +1 -1
  301. package/components/Icons/DonorCard.d.ts.map +1 -1
  302. package/components/Icons/DonorCard.js.map +1 -1
  303. package/components/Icons/Download.d.ts.map +1 -1
  304. package/components/Icons/Download.js.map +1 -1
  305. package/components/Icons/Draft.d.ts.map +1 -1
  306. package/components/Icons/Draft.js.map +1 -1
  307. package/components/Icons/EChat.d.ts.map +1 -1
  308. package/components/Icons/EChat.js.map +1 -1
  309. package/components/Icons/EarNoseThroat.d.ts.map +1 -1
  310. package/components/Icons/EarNoseThroat.js.map +1 -1
  311. package/components/Icons/ElderlyPerson.d.ts.map +1 -1
  312. package/components/Icons/ElderlyPerson.js.map +1 -1
  313. package/components/Icons/Embolization.d.ts.map +1 -1
  314. package/components/Icons/Embolization.js.map +1 -1
  315. package/components/Icons/EmoticonAnnoyed.d.ts.map +1 -1
  316. package/components/Icons/EmoticonAnnoyed.js.map +1 -1
  317. package/components/Icons/EmoticonDelighted.d.ts.map +1 -1
  318. package/components/Icons/EmoticonDelighted.js.map +1 -1
  319. package/components/Icons/EmoticonDisappointed.d.ts.map +1 -1
  320. package/components/Icons/EmoticonDisappointed.js.map +1 -1
  321. package/components/Icons/EmoticonHappy.d.ts.map +1 -1
  322. package/components/Icons/EmoticonHappy.js.map +1 -1
  323. package/components/Icons/EmoticonMeh.d.ts.map +1 -1
  324. package/components/Icons/EmoticonMeh.js.map +1 -1
  325. package/components/Icons/EnterFullScreen.d.ts.map +1 -1
  326. package/components/Icons/EnterFullScreen.js.map +1 -1
  327. package/components/Icons/Envelope.d.ts.map +1 -1
  328. package/components/Icons/Envelope.js.map +1 -1
  329. package/components/Icons/Epilepsy.d.ts.map +1 -1
  330. package/components/Icons/Epilepsy.js.map +1 -1
  331. package/components/Icons/Eraser.d.ts.map +1 -1
  332. package/components/Icons/Eraser.js.map +1 -1
  333. package/components/Icons/ErrorSignFill.d.ts.map +1 -1
  334. package/components/Icons/ErrorSignFill.js.map +1 -1
  335. package/components/Icons/ErrorSignStroke.d.ts.map +1 -1
  336. package/components/Icons/ErrorSignStroke.js.map +1 -1
  337. package/components/Icons/EuropeanHealthCard.d.ts.map +1 -1
  338. package/components/Icons/EuropeanHealthCard.js.map +1 -1
  339. package/components/Icons/ExitFullScreen.d.ts.map +1 -1
  340. package/components/Icons/ExitFullScreen.js.map +1 -1
  341. package/components/Icons/Eye.d.ts.map +1 -1
  342. package/components/Icons/Eye.js.map +1 -1
  343. package/components/Icons/Facebook.d.ts.map +1 -1
  344. package/components/Icons/Facebook.js.map +1 -1
  345. package/components/Icons/Female.d.ts.map +1 -1
  346. package/components/Icons/Female.js.map +1 -1
  347. package/components/Icons/FemaleDoctor.d.ts.map +1 -1
  348. package/components/Icons/FemaleDoctor.js.map +1 -1
  349. package/components/Icons/Ferry.d.ts.map +1 -1
  350. package/components/Icons/Ferry.js.map +1 -1
  351. package/components/Icons/File.d.ts +5 -0
  352. package/components/Icons/File.d.ts.map +1 -0
  353. package/components/Icons/File.js +2 -0
  354. package/components/Icons/File.js.map +1 -0
  355. package/components/Icons/Filter.d.ts.map +1 -1
  356. package/components/Icons/Filter.js.map +1 -1
  357. package/components/Icons/FingerBleed.d.ts.map +1 -1
  358. package/components/Icons/FingerBleed.js.map +1 -1
  359. package/components/Icons/FirstAidKit.d.ts.map +1 -1
  360. package/components/Icons/FirstAidKit.js.map +1 -1
  361. package/components/Icons/FloppyDisk.d.ts.map +1 -1
  362. package/components/Icons/FloppyDisk.js.map +1 -1
  363. package/components/Icons/Football.d.ts.map +1 -1
  364. package/components/Icons/Football.js.map +1 -1
  365. package/components/Icons/Form.d.ts.map +1 -1
  366. package/components/Icons/Form.js.map +1 -1
  367. package/components/Icons/Forward.d.ts.map +1 -1
  368. package/components/Icons/Forward.js.map +1 -1
  369. package/components/Icons/Gallery.d.ts.map +1 -1
  370. package/components/Icons/Gallery.js.map +1 -1
  371. package/components/Icons/Garden.d.ts.map +1 -1
  372. package/components/Icons/Garden.js.map +1 -1
  373. package/components/Icons/GasCan.d.ts.map +1 -1
  374. package/components/Icons/GasCan.js.map +1 -1
  375. package/components/Icons/GenderIdentity.d.ts.map +1 -1
  376. package/components/Icons/GenderIdentity.js.map +1 -1
  377. package/components/Icons/Globe.d.ts.map +1 -1
  378. package/components/Icons/Globe.js.map +1 -1
  379. package/components/Icons/Group.d.ts.map +1 -1
  380. package/components/Icons/Group.js.map +1 -1
  381. package/components/Icons/HandWaving.d.ts.map +1 -1
  382. package/components/Icons/HandWaving.js.map +1 -1
  383. package/components/Icons/HandWithDisease.d.ts.map +1 -1
  384. package/components/Icons/HandWithDisease.js.map +1 -1
  385. package/components/Icons/HealthClinic.d.ts.map +1 -1
  386. package/components/Icons/HealthClinic.js.map +1 -1
  387. package/components/Icons/HealthWarning.d.ts.map +1 -1
  388. package/components/Icons/HealthWarning.js.map +1 -1
  389. package/components/Icons/Heart.d.ts.map +1 -1
  390. package/components/Icons/Heart.js.map +1 -1
  391. package/components/Icons/HeartHands.d.ts.map +1 -1
  392. package/components/Icons/HeartHands.js.map +1 -1
  393. package/components/Icons/HelpSign.d.ts.map +1 -1
  394. package/components/Icons/HelpSign.js.map +1 -1
  395. package/components/Icons/HelpingHand.d.ts.map +1 -1
  396. package/components/Icons/HelpingHand.js.map +1 -1
  397. package/components/Icons/Hemodialysis.d.ts.map +1 -1
  398. package/components/Icons/Hemodialysis.js.map +1 -1
  399. package/components/Icons/Hiker.d.ts.map +1 -1
  400. package/components/Icons/Hiker.js.map +1 -1
  401. package/components/Icons/Hipprosthesis.d.ts.map +1 -1
  402. package/components/Icons/Hipprosthesis.js.map +1 -1
  403. package/components/Icons/History.d.ts.map +1 -1
  404. package/components/Icons/History.js.map +1 -1
  405. package/components/Icons/HivAndAids.d.ts.map +1 -1
  406. package/components/Icons/HivAndAids.js.map +1 -1
  407. package/components/Icons/Home.d.ts.map +1 -1
  408. package/components/Icons/Home.js.map +1 -1
  409. package/components/Icons/Hormone.d.ts.map +1 -1
  410. package/components/Icons/Hormone.js.map +1 -1
  411. package/components/Icons/Hospital.d.ts.map +1 -1
  412. package/components/Icons/Hospital.js.map +1 -1
  413. package/components/Icons/Hourglass.d.ts.map +1 -1
  414. package/components/Icons/Hourglass.js.map +1 -1
  415. package/components/Icons/Icon.d.ts +1 -1
  416. package/components/Icons/Icon.d.ts.map +1 -1
  417. package/components/Icons/Icon.js +1 -1
  418. package/components/Icons/Icon.js.map +1 -1
  419. package/components/Icons/ImgFile.d.ts.map +1 -1
  420. package/components/Icons/ImgFile.js.map +1 -1
  421. package/components/Icons/Inbox.d.ts.map +1 -1
  422. package/components/Icons/Inbox.js.map +1 -1
  423. package/components/Icons/InfoSignFill.d.ts.map +1 -1
  424. package/components/Icons/InfoSignFill.js.map +1 -1
  425. package/components/Icons/InfoSignStroke.d.ts.map +1 -1
  426. package/components/Icons/InfoSignStroke.js.map +1 -1
  427. package/components/Icons/Instagram.d.ts.map +1 -1
  428. package/components/Icons/Instagram.js.map +1 -1
  429. package/components/Icons/Intravenous.d.ts.map +1 -1
  430. package/components/Icons/Intravenous.js.map +1 -1
  431. package/components/Icons/JointPain.d.ts.map +1 -1
  432. package/components/Icons/JointPain.js.map +1 -1
  433. package/components/Icons/Journal.d.ts.map +1 -1
  434. package/components/Icons/Journal.js.map +1 -1
  435. package/components/Icons/JpgFile.d.ts.map +1 -1
  436. package/components/Icons/JpgFile.js.map +1 -1
  437. package/components/Icons/Kidney.d.ts.map +1 -1
  438. package/components/Icons/Kidney.js.map +1 -1
  439. package/components/Icons/KitchenScale.d.ts.map +1 -1
  440. package/components/Icons/KitchenScale.js.map +1 -1
  441. package/components/Icons/Kjernejournal.d.ts.map +1 -1
  442. package/components/Icons/Kjernejournal.js.map +1 -1
  443. package/components/Icons/Laboratory.d.ts.map +1 -1
  444. package/components/Icons/Laboratory.js.map +1 -1
  445. package/components/Icons/LaptopBlog.d.ts.map +1 -1
  446. package/components/Icons/LaptopBlog.js.map +1 -1
  447. package/components/Icons/LawBook.d.ts.map +1 -1
  448. package/components/Icons/LawBook.js.map +1 -1
  449. package/components/Icons/LightBulb.d.ts.map +1 -1
  450. package/components/Icons/LightBulb.js.map +1 -1
  451. package/components/Icons/List.d.ts.map +1 -1
  452. package/components/Icons/List.js.map +1 -1
  453. package/components/Icons/Location.d.ts.map +1 -1
  454. package/components/Icons/Location.js.map +1 -1
  455. package/components/Icons/Lock.d.ts.map +1 -1
  456. package/components/Icons/Lock.js.map +1 -1
  457. package/components/Icons/Login.d.ts.map +1 -1
  458. package/components/Icons/Login.js.map +1 -1
  459. package/components/Icons/Logout.d.ts.map +1 -1
  460. package/components/Icons/Logout.js.map +1 -1
  461. package/components/Icons/Lungs.d.ts.map +1 -1
  462. package/components/Icons/Lungs.js.map +1 -1
  463. package/components/Icons/Makeup.d.ts.map +1 -1
  464. package/components/Icons/Makeup.js.map +1 -1
  465. package/components/Icons/MaleDoctor.d.ts.map +1 -1
  466. package/components/Icons/MaleDoctor.js.map +1 -1
  467. package/components/Icons/MaleDoctorAndPerson.d.ts.map +1 -1
  468. package/components/Icons/MaleDoctorAndPerson.js.map +1 -1
  469. package/components/Icons/MaleGenitalia.d.ts.map +1 -1
  470. package/components/Icons/MaleGenitalia.js.map +1 -1
  471. package/components/Icons/Medicine.d.ts.map +1 -1
  472. package/components/Icons/Medicine.js.map +1 -1
  473. package/components/Icons/MedicineWarning.d.ts.map +1 -1
  474. package/components/Icons/MedicineWarning.js.map +1 -1
  475. package/components/Icons/MentalHealthAdult.d.ts.map +1 -1
  476. package/components/Icons/MentalHealthAdult.js.map +1 -1
  477. package/components/Icons/MentalHealthChild.d.ts.map +1 -1
  478. package/components/Icons/MentalHealthChild.js.map +1 -1
  479. package/components/Icons/Menu.d.ts.map +1 -1
  480. package/components/Icons/Menu.js.map +1 -1
  481. package/components/Icons/Microscope.d.ts.map +1 -1
  482. package/components/Icons/Microscope.js.map +1 -1
  483. package/components/Icons/Minus.d.ts.map +1 -1
  484. package/components/Icons/Minus.js.map +1 -1
  485. package/components/Icons/Mirror.d.ts.map +1 -1
  486. package/components/Icons/Mirror.js.map +1 -1
  487. package/components/Icons/MobilePhone.d.ts.map +1 -1
  488. package/components/Icons/MobilePhone.js.map +1 -1
  489. package/components/Icons/MotherHoldingBaby.d.ts.map +1 -1
  490. package/components/Icons/MotherHoldingBaby.js.map +1 -1
  491. package/components/Icons/MuscleBack.d.ts.map +1 -1
  492. package/components/Icons/MuscleBack.js.map +1 -1
  493. package/components/Icons/MuscleLeg.d.ts.map +1 -1
  494. package/components/Icons/MuscleLeg.js.map +1 -1
  495. package/components/Icons/Mushroom.d.ts.map +1 -1
  496. package/components/Icons/Mushroom.js.map +1 -1
  497. package/components/Icons/Music.d.ts.map +1 -1
  498. package/components/Icons/Music.js.map +1 -1
  499. package/components/Icons/MusselsAndSalt.d.ts.map +1 -1
  500. package/components/Icons/MusselsAndSalt.js.map +1 -1
  501. package/components/Icons/NoAccess.d.ts.map +1 -1
  502. package/components/Icons/NoAccess.js.map +1 -1
  503. package/components/Icons/NoEye.d.ts.map +1 -1
  504. package/components/Icons/NoEye.js.map +1 -1
  505. package/components/Icons/NoFilter.d.ts.map +1 -1
  506. package/components/Icons/NoFilter.js.map +1 -1
  507. package/components/Icons/Notepad.d.ts.map +1 -1
  508. package/components/Icons/Notepad.js.map +1 -1
  509. package/components/Icons/Osteotomy.d.ts.map +1 -1
  510. package/components/Icons/Osteotomy.js.map +1 -1
  511. package/components/Icons/PaintRoller.d.ts.map +1 -1
  512. package/components/Icons/PaintRoller.js.map +1 -1
  513. package/components/Icons/PaperPlane.d.ts.map +1 -1
  514. package/components/Icons/PaperPlane.js.map +1 -1
  515. package/components/Icons/PatientAndPerson.d.ts.map +1 -1
  516. package/components/Icons/PatientAndPerson.js.map +1 -1
  517. package/components/Icons/Pause.d.ts.map +1 -1
  518. package/components/Icons/Pause.js.map +1 -1
  519. package/components/Icons/PdfFile.d.ts.map +1 -1
  520. package/components/Icons/PdfFile.js.map +1 -1
  521. package/components/Icons/Pencil.d.ts.map +1 -1
  522. package/components/Icons/Pencil.js.map +1 -1
  523. package/components/Icons/PeopleTalking.d.ts.map +1 -1
  524. package/components/Icons/PeopleTalking.js.map +1 -1
  525. package/components/Icons/Peritonealdialysis.d.ts.map +1 -1
  526. package/components/Icons/Peritonealdialysis.js.map +1 -1
  527. package/components/Icons/Person.d.ts.map +1 -1
  528. package/components/Icons/Person.js.map +1 -1
  529. package/components/Icons/PersonAndPatient.d.ts.map +1 -1
  530. package/components/Icons/PersonAndPatient.js.map +1 -1
  531. package/components/Icons/PersonCancel.d.ts.map +1 -1
  532. package/components/Icons/PersonCancel.js.map +1 -1
  533. package/components/Icons/PersonInXRayMachine.d.ts.map +1 -1
  534. package/components/Icons/PersonInXRayMachine.js.map +1 -1
  535. package/components/Icons/PersonOverweight.d.ts.map +1 -1
  536. package/components/Icons/PersonOverweight.js.map +1 -1
  537. package/components/Icons/PersonRelaxing.d.ts.map +1 -1
  538. package/components/Icons/PersonRelaxing.js.map +1 -1
  539. package/components/Icons/PersonWithBrain.d.ts.map +1 -1
  540. package/components/Icons/PersonWithBrain.js.map +1 -1
  541. package/components/Icons/PersonWithBrokenArm.d.ts.map +1 -1
  542. package/components/Icons/PersonWithBrokenArm.js.map +1 -1
  543. package/components/Icons/PersonWithCrutches.d.ts.map +1 -1
  544. package/components/Icons/PersonWithCrutches.js.map +1 -1
  545. package/components/Icons/PersonWithJaw.d.ts.map +1 -1
  546. package/components/Icons/PersonWithJaw.js.map +1 -1
  547. package/components/Icons/PersonWithMagnifyingGlass.d.ts.map +1 -1
  548. package/components/Icons/PersonWithMagnifyingGlass.js.map +1 -1
  549. package/components/Icons/PersonWithSenses.d.ts.map +1 -1
  550. package/components/Icons/PersonWithSenses.js.map +1 -1
  551. package/components/Icons/PersonWorking.d.ts.map +1 -1
  552. package/components/Icons/PersonWorking.js.map +1 -1
  553. package/components/Icons/PersonalPlan.d.ts.map +1 -1
  554. package/components/Icons/PersonalPlan.js.map +1 -1
  555. package/components/Icons/PizzaSlice.d.ts.map +1 -1
  556. package/components/Icons/PizzaSlice.js.map +1 -1
  557. package/components/Icons/Plane.d.ts.map +1 -1
  558. package/components/Icons/Plane.js.map +1 -1
  559. package/components/Icons/Plant.d.ts.map +1 -1
  560. package/components/Icons/Plant.js.map +1 -1
  561. package/components/Icons/Play.d.ts.map +1 -1
  562. package/components/Icons/Play.js.map +1 -1
  563. package/components/Icons/PlusLarge.d.ts.map +1 -1
  564. package/components/Icons/PlusLarge.js.map +1 -1
  565. package/components/Icons/PlusSmall.d.ts.map +1 -1
  566. package/components/Icons/PlusSmall.js.map +1 -1
  567. package/components/Icons/PngFile.d.ts.map +1 -1
  568. package/components/Icons/PngFile.js.map +1 -1
  569. package/components/Icons/Podcast.d.ts.map +1 -1
  570. package/components/Icons/Podcast.js.map +1 -1
  571. package/components/Icons/PoisonInformation.d.ts.map +1 -1
  572. package/components/Icons/PoisonInformation.js.map +1 -1
  573. package/components/Icons/Pregnant.d.ts.map +1 -1
  574. package/components/Icons/Pregnant.js.map +1 -1
  575. package/components/Icons/Printer.d.ts.map +1 -1
  576. package/components/Icons/Printer.js.map +1 -1
  577. package/components/Icons/Psychosis.d.ts.map +1 -1
  578. package/components/Icons/Psychosis.js.map +1 -1
  579. package/components/Icons/Publication.d.ts.map +1 -1
  580. package/components/Icons/Publication.js.map +1 -1
  581. package/components/Icons/Puzzle.d.ts.map +1 -1
  582. package/components/Icons/Puzzle.js.map +1 -1
  583. package/components/Icons/QrCode.d.ts.map +1 -1
  584. package/components/Icons/QrCode.js.map +1 -1
  585. package/components/Icons/Quarrel.d.ts.map +1 -1
  586. package/components/Icons/Quarrel.js.map +1 -1
  587. package/components/Icons/RadioTherapy.d.ts.map +1 -1
  588. package/components/Icons/RadioTherapy.js.map +1 -1
  589. package/components/Icons/RadioactiveTreatment.d.ts.map +1 -1
  590. package/components/Icons/RadioactiveTreatment.js.map +1 -1
  591. package/components/Icons/Radioiodine.d.ts.map +1 -1
  592. package/components/Icons/Radioiodine.js.map +1 -1
  593. package/components/Icons/Receipt.d.ts.map +1 -1
  594. package/components/Icons/Receipt.js.map +1 -1
  595. package/components/Icons/Receptionist.d.ts.map +1 -1
  596. package/components/Icons/Receptionist.js.map +1 -1
  597. package/components/Icons/Recovery.d.ts.map +1 -1
  598. package/components/Icons/Recovery.js.map +1 -1
  599. package/components/Icons/Referral.d.ts.map +1 -1
  600. package/components/Icons/Referral.js.map +1 -1
  601. package/components/Icons/Refresh.d.ts.map +1 -1
  602. package/components/Icons/Refresh.js.map +1 -1
  603. package/components/Icons/Refund.d.ts.map +1 -1
  604. package/components/Icons/Refund.js.map +1 -1
  605. package/components/Icons/Reply.d.ts.map +1 -1
  606. package/components/Icons/Reply.js.map +1 -1
  607. package/components/Icons/Rocket.d.ts.map +1 -1
  608. package/components/Icons/Rocket.js.map +1 -1
  609. package/components/Icons/RtfFile.d.ts.map +1 -1
  610. package/components/Icons/RtfFile.js.map +1 -1
  611. package/components/Icons/STDs.d.ts.map +1 -1
  612. package/components/Icons/STDs.js.map +1 -1
  613. package/components/Icons/Save.d.ts.map +1 -1
  614. package/components/Icons/Save.js.map +1 -1
  615. package/components/Icons/Scale.d.ts.map +1 -1
  616. package/components/Icons/Scale.js.map +1 -1
  617. package/components/Icons/Search.d.ts.map +1 -1
  618. package/components/Icons/Search.js.map +1 -1
  619. package/components/Icons/SectionSign.d.ts.map +1 -1
  620. package/components/Icons/SectionSign.js.map +1 -1
  621. package/components/Icons/Settings.d.ts.map +1 -1
  622. package/components/Icons/Settings.js.map +1 -1
  623. package/components/Icons/Sexualorientation.d.ts.map +1 -1
  624. package/components/Icons/Sexualorientation.js.map +1 -1
  625. package/components/Icons/ShakingHand.d.ts.map +1 -1
  626. package/components/Icons/ShakingHand.js.map +1 -1
  627. package/components/Icons/Share.d.ts.map +1 -1
  628. package/components/Icons/Share.js.map +1 -1
  629. package/components/Icons/Shield.d.ts.map +1 -1
  630. package/components/Icons/Shield.js.map +1 -1
  631. package/components/Icons/ShuntOperation.d.ts.map +1 -1
  632. package/components/Icons/ShuntOperation.js.map +1 -1
  633. package/components/Icons/Skeleton.d.ts.map +1 -1
  634. package/components/Icons/Skeleton.js.map +1 -1
  635. package/components/Icons/Skin.d.ts.map +1 -1
  636. package/components/Icons/Skin.js.map +1 -1
  637. package/components/Icons/Snake.d.ts.map +1 -1
  638. package/components/Icons/Snake.js.map +1 -1
  639. package/components/Icons/Snapchat.d.ts.map +1 -1
  640. package/components/Icons/Snapchat.js.map +1 -1
  641. package/components/Icons/SortDown.d.ts.map +1 -1
  642. package/components/Icons/SortDown.js.map +1 -1
  643. package/components/Icons/SortUp.d.ts.map +1 -1
  644. package/components/Icons/SortUp.js.map +1 -1
  645. package/components/Icons/SpeechBubble.d.ts.map +1 -1
  646. package/components/Icons/SpeechBubble.js.map +1 -1
  647. package/components/Icons/Spray.d.ts.map +1 -1
  648. package/components/Icons/Spray.js.map +1 -1
  649. package/components/Icons/Stopwatch.d.ts.map +1 -1
  650. package/components/Icons/Stopwatch.js.map +1 -1
  651. package/components/Icons/SupportingPerson.js +1 -1
  652. package/components/Icons/SupportingPerson.js.map +1 -1
  653. package/components/Icons/Surgery.d.ts.map +1 -1
  654. package/components/Icons/Surgery.js.map +1 -1
  655. package/components/Icons/Syringe.d.ts.map +1 -1
  656. package/components/Icons/Syringe.js.map +1 -1
  657. package/components/Icons/Taxi.d.ts.map +1 -1
  658. package/components/Icons/Taxi.js.map +1 -1
  659. package/components/Icons/TeddyBear.d.ts.map +1 -1
  660. package/components/Icons/TeddyBear.js.map +1 -1
  661. package/components/Icons/Teenagers.d.ts.map +1 -1
  662. package/components/Icons/Teenagers.js.map +1 -1
  663. package/components/Icons/ThinkingAboutBaby.d.ts.map +1 -1
  664. package/components/Icons/ThinkingAboutBaby.js.map +1 -1
  665. package/components/Icons/Ticket.d.ts.map +1 -1
  666. package/components/Icons/Ticket.js.map +1 -1
  667. package/components/Icons/TimePassing.d.ts.map +1 -1
  668. package/components/Icons/TimePassing.js.map +1 -1
  669. package/components/Icons/Toolbox.d.ts.map +1 -1
  670. package/components/Icons/Toolbox.js.map +1 -1
  671. package/components/Icons/Tooth.d.ts.map +1 -1
  672. package/components/Icons/Tooth.js.map +1 -1
  673. package/components/Icons/TotalKneeProsthesis.d.ts.map +1 -1
  674. package/components/Icons/TotalKneeProsthesis.js.map +1 -1
  675. package/components/Icons/Train.d.ts.map +1 -1
  676. package/components/Icons/Train.js.map +1 -1
  677. package/components/Icons/Transplantation.d.ts.map +1 -1
  678. package/components/Icons/Transplantation.js.map +1 -1
  679. package/components/Icons/TrashCan.d.ts.map +1 -1
  680. package/components/Icons/TrashCan.js.map +1 -1
  681. package/components/Icons/TravelRoute.d.ts.map +1 -1
  682. package/components/Icons/TravelRoute.js.map +1 -1
  683. package/components/Icons/TriangleX.d.ts.map +1 -1
  684. package/components/Icons/TriangleX.js.map +1 -1
  685. package/components/Icons/Twitter.d.ts.map +1 -1
  686. package/components/Icons/Twitter.js.map +1 -1
  687. package/components/Icons/Undo.d.ts.map +1 -1
  688. package/components/Icons/Undo.js.map +1 -1
  689. package/components/Icons/UniProsthesis.d.ts.map +1 -1
  690. package/components/Icons/UniProsthesis.js.map +1 -1
  691. package/components/Icons/Upload.d.ts.map +1 -1
  692. package/components/Icons/Upload.js.map +1 -1
  693. package/components/Icons/UserOrganization.d.ts.map +1 -1
  694. package/components/Icons/UserOrganization.js.map +1 -1
  695. package/components/Icons/Vaccine.d.ts.map +1 -1
  696. package/components/Icons/Vaccine.js.map +1 -1
  697. package/components/Icons/VerticalDots.d.ts.map +1 -1
  698. package/components/Icons/VerticalDots.js.map +1 -1
  699. package/components/Icons/VideoCamera.d.ts.map +1 -1
  700. package/components/Icons/VideoCamera.js.map +1 -1
  701. package/components/Icons/VideoChat.d.ts.map +1 -1
  702. package/components/Icons/VideoChat.js.map +1 -1
  703. package/components/Icons/Wallet.d.ts.map +1 -1
  704. package/components/Icons/Wallet.js.map +1 -1
  705. package/components/Icons/Watch.d.ts.map +1 -1
  706. package/components/Icons/Watch.js.map +1 -1
  707. package/components/Icons/Website.d.ts.map +1 -1
  708. package/components/Icons/Website.js.map +1 -1
  709. package/components/Icons/Wheelchair.d.ts.map +1 -1
  710. package/components/Icons/Wheelchair.js.map +1 -1
  711. package/components/Icons/WheelchairActive.d.ts.map +1 -1
  712. package/components/Icons/WheelchairActive.js.map +1 -1
  713. package/components/Icons/Window.d.ts.map +1 -1
  714. package/components/Icons/Window.js.map +1 -1
  715. package/components/Icons/WordDocument.d.ts.map +1 -1
  716. package/components/Icons/WordDocument.js.map +1 -1
  717. package/components/Icons/WorkSuitcase.d.ts.map +1 -1
  718. package/components/Icons/WorkSuitcase.js.map +1 -1
  719. package/components/Icons/X.d.ts.map +1 -1
  720. package/components/Icons/X.js.map +1 -1
  721. package/components/Icons/XOutline.d.ts.map +1 -1
  722. package/components/Icons/XOutline.js.map +1 -1
  723. package/components/Icons/XmlFile.d.ts.map +1 -1
  724. package/components/Icons/XmlFile.js.map +1 -1
  725. package/components/Icons/YouTube.d.ts.map +1 -1
  726. package/components/Icons/YouTube.js.map +1 -1
  727. package/components/Icons/Zoom.d.ts.map +1 -1
  728. package/components/Icons/Zoom.js.map +1 -1
  729. package/components/Icons/index.js +1 -1
  730. package/components/Input/Input.d.ts.map +1 -1
  731. package/components/Input/componentdata.json +1 -1
  732. package/components/Input/index.js +1 -1
  733. package/components/LinkList/LinkList.d.ts +8 -8
  734. package/components/LinkList/LinkList.d.ts.map +1 -1
  735. package/components/LinkList/index.js +1 -1
  736. package/components/LinkList/index.js.map +1 -1
  737. package/components/List/List.d.ts +17 -3
  738. package/components/List/List.d.ts.map +1 -1
  739. package/components/List/componentdata.json +1 -1
  740. package/components/List/index.js +1 -1
  741. package/components/List/index.js.map +1 -1
  742. package/components/List/styles.module.scss +51 -5
  743. package/components/List/styles.module.scss.d.ts +5 -0
  744. package/components/ListHeader/ListHeader.d.ts +3 -3
  745. package/components/ListHeader/ListHeader.d.ts.map +1 -1
  746. package/components/ListHeader/ListHeaderText/ListHeaderText.d.ts +1 -1
  747. package/components/ListHeader/ListHeaderText/ListHeaderText.d.ts.map +1 -1
  748. package/components/ListHeader/ListHeaderText/index.js +1 -1
  749. package/components/ListHeader/index.js +1 -1
  750. package/components/Loader/Loader.d.ts +2 -2
  751. package/components/Loader/Loader.d.ts.map +1 -1
  752. package/components/Loader/index.js +1 -1
  753. package/components/Loader/index.js.map +1 -1
  754. package/components/Logo/Logo.d.ts +1 -1
  755. package/components/Logo/Logo.d.ts.map +1 -1
  756. package/components/Logo/index.js +1 -1
  757. package/components/Logo/index.js.map +1 -1
  758. package/components/MaxCharacters/MaxCharacters.d.ts.map +1 -1
  759. package/components/Modal/Modal.d.ts.map +1 -1
  760. package/components/Modal/index.js +1 -1
  761. package/components/NotificationPanel/DetailButton/DetailButton.d.ts +10 -0
  762. package/components/NotificationPanel/DetailButton/DetailButton.d.ts.map +1 -0
  763. package/components/NotificationPanel/DetailButton/componentdata.json +1 -0
  764. package/components/NotificationPanel/DetailButton/styles.module.scss +34 -0
  765. package/components/NotificationPanel/DetailButton/styles.module.scss.d.ts +13 -0
  766. package/components/NotificationPanel/NotificationPanel.d.ts +16 -7
  767. package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
  768. package/components/NotificationPanel/componentdata.json +1 -1
  769. package/components/NotificationPanel/index.js +1 -1
  770. package/components/NotificationPanel/index.js.map +1 -1
  771. package/components/NotificationPanel/styles.module.scss +92 -91
  772. package/components/NotificationPanel/styles.module.scss.d.ts +10 -10
  773. package/components/Panel/Panel.d.ts +2 -2
  774. package/components/Panel/Panel.d.ts.map +1 -1
  775. package/components/Panel/index.js +1 -1
  776. package/components/Panel/styles.module.scss +2 -0
  777. package/components/PanelList/PanelList.d.ts.map +1 -1
  778. package/components/PanelList/index.js +1 -1
  779. package/components/PanelList/index.js.map +1 -1
  780. package/components/PopMenu/PopMenu.d.ts +30 -0
  781. package/components/PopMenu/PopMenu.d.ts.map +1 -0
  782. package/components/PopMenu/componentdata.json +1 -0
  783. package/components/PopMenu/story.module.scss +5 -0
  784. package/components/PopMenu/story.module.scss.d.ts +9 -0
  785. package/components/PopMenu/styles.module.scss +117 -0
  786. package/components/PopMenu/styles.module.scss.d.ts +14 -0
  787. package/components/PopOver/PopOver.d.ts +32 -0
  788. package/components/PopOver/PopOver.d.ts.map +1 -0
  789. package/components/PopOver/componentdata.json +1 -0
  790. package/components/PopOver/index.d.ts +4 -0
  791. package/components/PopOver/index.d.ts.map +1 -0
  792. package/components/PopOver/index.js +2 -0
  793. package/components/PopOver/index.js.map +1 -0
  794. package/components/PopOver/styles.module.scss +63 -0
  795. package/components/PopOver/styles.module.scss.d.ts +16 -0
  796. package/components/{HelpBubble → PopOver}/utils.d.ts +4 -4
  797. package/components/PopOver/utils.d.ts.map +1 -0
  798. package/components/Portal/index.d.ts.map +1 -1
  799. package/components/Portal/index.js +1 -1
  800. package/components/Portal/index.js.map +1 -1
  801. package/components/RadioButton/RadioButton.d.ts.map +1 -1
  802. package/components/RadioButton/componentdata.json +1 -1
  803. package/components/RadioButton/index.js +1 -1
  804. package/components/Select/Select.d.ts +1 -1
  805. package/components/Select/Select.d.ts.map +1 -1
  806. package/components/Select/componentdata.json +1 -1
  807. package/components/Select/index.js +1 -1
  808. package/components/Slider/Slider.d.ts.map +1 -1
  809. package/components/Slider/index.js +1 -1
  810. package/components/Slider/index.js.map +1 -1
  811. package/components/Slider/styles.module.scss +1 -0
  812. package/components/Spacer/Spacer.d.ts.map +1 -1
  813. package/components/Spacer/index.js +1 -1
  814. package/components/StatusDot/index.js +1 -1
  815. package/components/Stepper/Dot.d.ts.map +1 -0
  816. package/components/Stepper/DotList.d.ts.map +1 -0
  817. package/components/{Progressbar/Progressbar.d.ts → Stepper/Stepper.d.ts} +6 -6
  818. package/components/Stepper/Stepper.d.ts.map +1 -0
  819. package/components/Stepper/componentdata.json +1 -0
  820. package/components/Stepper/index.d.ts +4 -0
  821. package/components/Stepper/index.d.ts.map +1 -0
  822. package/components/Stepper/index.js +2 -0
  823. package/components/Stepper/index.js.map +1 -0
  824. package/components/{Progressbar → Stepper}/styles.module.scss +20 -14
  825. package/components/Stepper/styles.module.scss.d.ts +16 -0
  826. package/components/{Progressbar → Stepper}/utils.d.ts +7 -7
  827. package/components/Stepper/utils.d.ts.map +1 -0
  828. package/components/Table/Table.d.ts +7 -6
  829. package/components/Table/Table.d.ts.map +1 -1
  830. package/components/Table/TableBody/index.js +1 -1
  831. package/components/Table/TableCell/TableCell.d.ts.map +1 -1
  832. package/components/Table/TableCell/index.js +1 -1
  833. package/components/Table/TableExpandedRow/TableExpandedRow.d.ts.map +1 -1
  834. package/components/Table/TableExpandedRow/index.js +1 -1
  835. package/components/Table/TableExpanderCell/TableExpanderCell.d.ts.map +1 -1
  836. package/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts +2 -2
  837. package/components/Table/TableExpanderCell/TableExpanderCellMobile.d.ts.map +1 -1
  838. package/components/Table/TableExpanderCell/index.js +1 -1
  839. package/components/Table/TableHead/TableHead.d.ts.map +1 -1
  840. package/components/Table/TableHead/index.js +1 -1
  841. package/components/Table/TableHeadCell/TableHeadCell.d.ts.map +1 -1
  842. package/components/Table/TableHeadCell/index.js +1 -1
  843. package/components/Table/TableRow/TableRow.d.ts.map +1 -1
  844. package/components/Table/TableRow/componentdata.json +1 -1
  845. package/components/Table/TableRow/index.js +1 -1
  846. package/components/Table/index.js +1 -1
  847. package/components/Table/index.js.map +1 -1
  848. package/components/Table/utils.d.ts +3 -7
  849. package/components/Table/utils.d.ts.map +1 -1
  850. package/components/Tag/Tag.d.ts +2 -2
  851. package/components/Tag/Tag.d.ts.map +1 -1
  852. package/components/Tag/componentdata.json +1 -1
  853. package/components/Tag/index.js +1 -1
  854. package/components/Tag/index.js.map +1 -1
  855. package/components/Tag/styles.module.scss +1 -0
  856. package/components/TagList/index.js +1 -1
  857. package/components/TagList/index.js.map +1 -1
  858. package/components/Textarea/Textarea.d.ts.map +1 -1
  859. package/components/Textarea/componentdata.json +1 -1
  860. package/components/Textarea/index.js +1 -1
  861. package/components/Tile/Tile.d.ts +2 -2
  862. package/components/Tile/Tile.d.ts.map +1 -1
  863. package/components/Tile/index.js +1 -1
  864. package/components/Tile/index.js.map +1 -1
  865. package/components/Title/Title.d.ts +2 -2
  866. package/components/Title/Title.d.ts.map +1 -1
  867. package/components/Title/index.js +1 -1
  868. package/components/Tooltip/Tooltip.d.ts +1 -1
  869. package/components/Tooltip/Tooltip.d.ts.map +1 -1
  870. package/components/Tooltip/TooltipWord/index.js +1 -1
  871. package/components/Tooltip/componentdata.json +1 -1
  872. package/components/Tooltip/index.js +1 -1
  873. package/components/TooltipExample/TooltipExample.d.ts.map +1 -1
  874. package/components/TooltipExample/componentdata.json +1 -1
  875. package/components/TooltipExample/index.js +1 -1
  876. package/components/TooltipExample/index.js.map +1 -1
  877. package/components/Validation/Validation.d.ts.map +1 -1
  878. package/components/Validation/index.js +1 -1
  879. package/constants.d.ts +7 -3
  880. package/constants.d.ts.map +1 -1
  881. package/constants.js +1 -1
  882. package/constants.js.map +1 -1
  883. package/hoc/withBreakpoint/index.js +1 -1
  884. package/hoc/withBreakpoint/withBreakpoint.js.map +1 -1
  885. package/hooks/useBreakpoint.d.ts.map +1 -1
  886. package/hooks/useBreakpoint.js +1 -1
  887. package/hooks/useBreakpoint.js.map +1 -1
  888. package/hooks/useExpand.d.ts +3 -0
  889. package/hooks/useExpand.d.ts.map +1 -0
  890. package/hooks/useExpand.js +2 -0
  891. package/hooks/useExpand.js.map +1 -0
  892. package/hooks/useFocusToggle.d.ts.map +1 -1
  893. package/hooks/useFocusToggle.js.map +1 -1
  894. package/hooks/useFocusTrap.d.ts.map +1 -1
  895. package/hooks/useFocusTrap.js +1 -1
  896. package/hooks/useFocusTrap.js.map +1 -1
  897. package/hooks/useIcons.js.map +1 -1
  898. package/hooks/useIsVisible.d.ts.map +1 -1
  899. package/hooks/useIsVisible.js.map +1 -1
  900. package/hooks/useKeyboardEvent.d.ts +1 -1
  901. package/hooks/useKeyboardEvent.d.ts.map +1 -1
  902. package/hooks/useOutsideEvent.d.ts +1 -1
  903. package/hooks/useOutsideEvent.d.ts.map +1 -1
  904. package/hooks/useResizeObserver.js.map +1 -1
  905. package/hooks/useSize.d.ts.map +1 -1
  906. package/hooks/useSize.js.map +1 -1
  907. package/hooks/useSticky.d.ts.map +1 -1
  908. package/hooks/useSticky.js +1 -1
  909. package/hooks/useSticky.js.map +1 -1
  910. package/hooks/useToggle.d.ts.map +1 -1
  911. package/hooks/useToggle.js.map +1 -1
  912. package/hooks/useUuid.d.ts.map +1 -1
  913. package/hooks/useUuid.js.map +1 -1
  914. package/index.js +1 -1
  915. package/package.json +1 -1
  916. package/scss/_palette.scss +4 -4
  917. package/theme/currys/color.d.ts.map +1 -1
  918. package/theme/currys/color.js +1 -1
  919. package/theme/currys/color.js.map +1 -1
  920. package/theme/currys/index.js +1 -1
  921. package/theme/currys/spacing.js.map +1 -1
  922. package/theme/index.js +1 -1
  923. package/theme/index.js.map +1 -1
  924. package/theme/palette.d.ts +3 -3
  925. package/theme/palette.d.ts.map +1 -1
  926. package/theme/palette.js +1 -1
  927. package/theme/palette.js.map +1 -1
  928. package/theme/spacers.d.ts +1 -1
  929. package/theme/spacers.d.ts.map +1 -1
  930. package/utils/accessibility.d.ts +1 -1
  931. package/utils/accessibility.d.ts.map +1 -1
  932. package/utils/component.d.ts +1 -1
  933. package/utils/component.d.ts.map +1 -1
  934. package/utils/component.js.map +1 -1
  935. package/utils/environment.js.map +1 -1
  936. package/utils/focus.js +1 -1
  937. package/utils/focus.js.map +1 -1
  938. package/utils/viewport.js +1 -1
  939. package/utils/viewport.js.map +1 -1
  940. package/uuid.js +1 -1
  941. package/components/HelpBubble/utils.d.ts.map +0 -1
  942. package/components/Progressbar/Dot.d.ts.map +0 -1
  943. package/components/Progressbar/DotList.d.ts.map +0 -1
  944. package/components/Progressbar/Progressbar.d.ts.map +0 -1
  945. package/components/Progressbar/componentdata.json +0 -1
  946. package/components/Progressbar/index.d.ts +0 -4
  947. package/components/Progressbar/index.d.ts.map +0 -1
  948. package/components/Progressbar/index.js +0 -2
  949. package/components/Progressbar/index.js.map +0 -1
  950. package/components/Progressbar/styles.module.scss.d.ts +0 -16
  951. package/components/Progressbar/utils.d.ts.map +0 -1
  952. /package/components/{Progressbar → Stepper}/Dot.d.ts +0 -0
  953. /package/components/{Progressbar → Stepper}/DotList.d.ts +0 -0
@@ -1 +1 @@
1
- {"props":{"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button, use when the button only includes an icon","name":"ariaLabel","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"id":{"defaultValue":null,"description":"Gives a unique id to the button","name":"id","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Sets the content of the button.","name":"children","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":true,"type":{"name":"ReactNode"}},"wrapperClassName":{"defaultValue":null,"description":"Adds custom classes to the wrapper element.","name":"wrapperClassName","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"arrow":{"defaultValue":null,"description":"Enables an arrow icon to the right inside the button (Not available in borderless variant)","name":"arrow","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"concept":{"defaultValue":null,"description":"Changes the intent of the button. Mostly changes the color profile.","name":"concept","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonConcept","value":[{"value":"\"normal\""},{"value":"\"destructive\""}]}},"ellipsis":{"defaultValue":null,"description":"Disables text wrapping and enables ellipsis.","name":"ellipsis","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"fluid":{"defaultValue":null,"description":"Makes the button scale to full width of its parent element.","name":"fluid","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"htmlMarkup":{"defaultValue":null,"description":"Changes the underlying element of the button.","name":"htmlMarkup","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonTags","value":[{"value":"\"button\""},{"value":"\"a\""}]}},"mode":{"defaultValue":null,"description":"Changes the button colors for different backgrounds.","name":"mode","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonMode","value":[{"value":"\"onlight\""},{"value":"\"ondark\""}]}},"onClick":{"defaultValue":null,"description":"Function that is called when clicked","name":"onClick","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"((e?: MouseEvent<HTMLElement, MouseEvent> | FormEvent<{}> | KeyboardEvent<HTMLUListElement> | null) => void)"}},"size":{"defaultValue":null,"description":"Changes the button colors for different backgrounds. (Large not available in borderless variant)","name":"size","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonSize","value":[{"value":"\"medium\""},{"value":"\"large\""}]}},"variant":{"defaultValue":null,"description":"Changes the visual representation of the button.","name":"variant","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonVariant","value":[{"value":"\"fill\""},{"value":"\"outline\""},{"value":"\"borderless\""}]}},"tabIndex":{"defaultValue":null,"description":"Specifies the focus order relative to the other buttons or controls on the page","name":"tabIndex","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"number"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"type":{"defaultValue":null,"description":"Button type. Default: button","name":"type","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"\"button\" | \"submit\" | \"reset\"","value":[{"value":"\"button\""},{"value":"\"submit\""},{"value":"\"reset\""}]}},"autoFocus":{"defaultValue":null,"description":"","name":"autoFocus","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"form":{"defaultValue":null,"description":"","name":"form","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formAction":{"defaultValue":null,"description":"","name":"formAction","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formEncType":{"defaultValue":null,"description":"","name":"formEncType","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formMethod":{"defaultValue":null,"description":"","name":"formMethod","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formNoValidate":{"defaultValue":null,"description":"","name":"formNoValidate","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"formTarget":{"defaultValue":null,"description":"","name":"formTarget","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string | number | string[]"}},"download":{"defaultValue":null,"description":"","name":"download","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"href":{"defaultValue":null,"description":"","name":"href","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"hrefLang":{"defaultValue":null,"description":"","name":"hrefLang","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"media":{"defaultValue":null,"description":"","name":"media","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"ping":{"defaultValue":null,"description":"","name":"ping","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"rel":{"defaultValue":null,"description":"","name":"rel","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"enum","raw":"AnchorTarget","value":[{"value":"\"_self\""},{"value":"\"_blank\""},{"value":"\"_parent\""},{"value":"\"_top\""}]}},"target":{"defaultValue":null,"description":"","name":"target","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"referrerPolicy":{"defaultValue":null,"description":"","name":"referrerPolicy","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"enum","raw":"\"\" | \"same-origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"","value":[{"value":"\"\""},{"value":"\"same-origin\""},{"value":"\"no-referrer\""},{"value":"\"no-referrer-when-downgrade\""},{"value":"\"origin\""},{"value":"\"origin-when-cross-origin\""},{"value":"\"strict-origin\""},{"value":"\"strict-origin-when-cross-origin\""},{"value":"\"unsafe-url\""}]}}}}
1
+ {"props":{"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button, use when the button only includes an icon","name":"ariaLabel","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"id":{"defaultValue":null,"description":"Gives a unique id to the button","name":"id","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Sets the content of the button.","name":"children","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":true,"type":{"name":"ReactNode"}},"wrapperClassName":{"defaultValue":null,"description":"Adds custom classes to the wrapper element.","name":"wrapperClassName","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"arrow":{"defaultValue":null,"description":"Enables an arrow icon to the right inside the button (Not available in borderless variant)","name":"arrow","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"concept":{"defaultValue":null,"description":"Changes the intent of the button. Mostly changes the color profile.","name":"concept","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonConcept","value":[{"value":"\"normal\""},{"value":"\"destructive\""}]}},"ellipsis":{"defaultValue":null,"description":"Disables text wrapping and enables ellipsis.","name":"ellipsis","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"fluid":{"defaultValue":null,"description":"Makes the button scale to full width of its parent element.","name":"fluid","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"boolean"}},"htmlMarkup":{"defaultValue":null,"description":"Changes the underlying element of the button.","name":"htmlMarkup","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonTags","value":[{"value":"\"button\""},{"value":"\"a\""}]}},"mode":{"defaultValue":null,"description":"Changes the button colors for different backgrounds.","name":"mode","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonMode","value":[{"value":"\"onlight\""},{"value":"\"ondark\""}]}},"onClick":{"defaultValue":null,"description":"Function that is called when clicked","name":"onClick","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"((e?: MouseEvent<HTMLElement, MouseEvent> | FormEvent<{}> | KeyboardEvent<HTMLUListElement> | null) => void)"}},"size":{"defaultValue":null,"description":"Changes the button colors for different backgrounds. (Large not available in borderless variant)","name":"size","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonSize","value":[{"value":"\"medium\""},{"value":"\"large\""}]}},"variant":{"defaultValue":null,"description":"Changes the visual representation of the button.","name":"variant","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"ButtonVariant","value":[{"value":"\"fill\""},{"value":"\"outline\""},{"value":"\"borderless\""}]}},"tabIndex":{"defaultValue":null,"description":"Specifies the focus order relative to the other buttons or controls on the page","name":"tabIndex","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"number"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"string"}},"type":{"defaultValue":null,"description":"Button type. Default: button","name":"type","parent":{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"},"declarations":[{"fileName":"src/components/Button/Button.tsx","name":"ButtonProps"}],"required":false,"type":{"name":"enum","raw":"\"button\" | \"submit\" | \"reset\"","value":[{"value":"\"button\""},{"value":"\"submit\""},{"value":"\"reset\""}]}},"autoFocus":{"defaultValue":null,"description":"","name":"autoFocus","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"form":{"defaultValue":null,"description":"","name":"form","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formAction":{"defaultValue":null,"description":"","name":"formAction","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formEncType":{"defaultValue":null,"description":"","name":"formEncType","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formMethod":{"defaultValue":null,"description":"","name":"formMethod","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"formNoValidate":{"defaultValue":null,"description":"","name":"formNoValidate","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"boolean"}},"formTarget":{"defaultValue":null,"description":"","name":"formTarget","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLButtonProps"}],"required":false,"type":{"name":"string | number | string[]"}},"download":{"defaultValue":null,"description":"","name":"download","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"href":{"defaultValue":null,"description":"","name":"href","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"hrefLang":{"defaultValue":null,"description":"","name":"hrefLang","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"media":{"defaultValue":null,"description":"","name":"media","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"ping":{"defaultValue":null,"description":"","name":"ping","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"rel":{"defaultValue":null,"description":"","name":"rel","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"enum","raw":"AnchorTarget","value":[{"value":"\"_self\""},{"value":"\"_blank\""},{"value":"\"_parent\""},{"value":"\"_top\""}]}},"target":{"defaultValue":null,"description":"","name":"target","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"string"}},"referrerPolicy":{"defaultValue":null,"description":"","name":"referrerPolicy","parent":{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"},"declarations":[{"fileName":"designsystem/src/constants.ts","name":"HTMLAnchorProps"}],"required":false,"type":{"name":"enum","raw":"\"\" | \"same-origin\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"","value":[{"value":"\"\""},{"value":"\"same-origin\""},{"value":"\"no-referrer\""},{"value":"\"no-referrer-when-downgrade\""},{"value":"\"origin\""},{"value":"\"origin-when-cross-origin\""},{"value":"\"strict-origin\""},{"value":"\"strict-origin-when-cross-origin\""},{"value":"\"unsafe-url\""}]}},"aria-activedescendant":{"defaultValue":null,"description":"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.","name":"aria-activedescendant","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-atomic":{"defaultValue":null,"description":"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.","name":"aria-atomic","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-autocomplete":{"defaultValue":null,"description":"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.","name":"aria-autocomplete","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"none\" | \"inline\" | \"list\" | \"both\"","value":[{"value":"\"none\""},{"value":"\"inline\""},{"value":"\"list\""},{"value":"\"both\""}]}},"aria-busy":{"defaultValue":null,"description":"Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.","name":"aria-busy","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-checked":{"defaultValue":null,"description":"Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.","name":"aria-checked","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-colcount":{"defaultValue":null,"description":"Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.","name":"aria-colcount","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-colindex":{"defaultValue":null,"description":"Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount\n@see aria-colspan.","name":"aria-colindex","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-colspan":{"defaultValue":null,"description":"Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.","name":"aria-colspan","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-controls":{"defaultValue":null,"description":"Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.","name":"aria-controls","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-current":{"defaultValue":null,"description":"Indicates the element that represents the current item within a container or set of related elements.","name":"aria-current","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\" | \"time\""}},"aria-describedby":{"defaultValue":null,"description":"Identifies the element (or elements) that describes the object.\n@see aria-labelledby","name":"aria-describedby","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-details":{"defaultValue":null,"description":"Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.","name":"aria-details","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-disabled":{"defaultValue":null,"description":"Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.","name":"aria-disabled","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-dropeffect":{"defaultValue":null,"description":"Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1","name":"aria-dropeffect","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"none\" | \"copy\" | \"execute\" | \"link\" | \"move\" | \"popup\"","value":[{"value":"\"none\""},{"value":"\"copy\""},{"value":"\"execute\""},{"value":"\"link\""},{"value":"\"move\""},{"value":"\"popup\""}]}},"aria-errormessage":{"defaultValue":null,"description":"Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.","name":"aria-errormessage","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-expanded":{"defaultValue":null,"description":"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.","name":"aria-expanded","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-flowto":{"defaultValue":null,"description":"Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.","name":"aria-flowto","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-grabbed":{"defaultValue":null,"description":"Indicates an element's \"grabbed\" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1","name":"aria-grabbed","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-haspopup":{"defaultValue":null,"description":"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.","name":"aria-haspopup","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"menu\" | \"listbox\" | \"tree\" | \"grid\" | \"dialog\""}},"aria-hidden":{"defaultValue":null,"description":"Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.","name":"aria-hidden","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-invalid":{"defaultValue":null,"description":"Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.","name":"aria-invalid","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\""}},"aria-keyshortcuts":{"defaultValue":null,"description":"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.","name":"aria-keyshortcuts","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-label":{"defaultValue":null,"description":"Defines a string value that labels the current element.\n@see aria-labelledby.","name":"aria-label","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-labelledby":{"defaultValue":null,"description":"Identifies the element (or elements) that labels the current element.\n@see aria-describedby.","name":"aria-labelledby","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-level":{"defaultValue":null,"description":"Defines the hierarchical level of an element within a structure.","name":"aria-level","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-live":{"defaultValue":null,"description":"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.","name":"aria-live","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"off\" | \"assertive\" | \"polite\"","value":[{"value":"\"off\""},{"value":"\"assertive\""},{"value":"\"polite\""}]}},"aria-modal":{"defaultValue":null,"description":"Indicates whether an element is modal when displayed.","name":"aria-modal","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-multiline":{"defaultValue":null,"description":"Indicates whether a text box accepts multiple lines of input or only a single line.","name":"aria-multiline","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-multiselectable":{"defaultValue":null,"description":"Indicates that the user may select more than one item from the current selectable descendants.","name":"aria-multiselectable","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-orientation":{"defaultValue":null,"description":"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.","name":"aria-orientation","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"horizontal\" | \"vertical\"","value":[{"value":"\"horizontal\""},{"value":"\"vertical\""}]}},"aria-owns":{"defaultValue":null,"description":"Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.","name":"aria-owns","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-placeholder":{"defaultValue":null,"description":"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.","name":"aria-placeholder","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-posinset":{"defaultValue":null,"description":"Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.","name":"aria-posinset","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-pressed":{"defaultValue":null,"description":"Indicates the current \"pressed\" state of toggle buttons.\n@see aria-checked\n@see aria-selected.","name":"aria-pressed","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-readonly":{"defaultValue":null,"description":"Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.","name":"aria-readonly","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-relevant":{"defaultValue":null,"description":"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.","name":"aria-relevant","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"additions\" | \"additions removals\" | \"additions text\" | \"all\" | \"removals\" | \"removals additions\" | \"removals text\" | \"text\" | \"text additions\" | \"text removals\"","value":[{"value":"\"additions\""},{"value":"\"additions removals\""},{"value":"\"additions text\""},{"value":"\"all\""},{"value":"\"removals\""},{"value":"\"removals additions\""},{"value":"\"removals text\""},{"value":"\"text\""},{"value":"\"text additions\""},{"value":"\"text removals\""}]}},"aria-required":{"defaultValue":null,"description":"Indicates that user input is required on the element before a form may be submitted.","name":"aria-required","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-roledescription":{"defaultValue":null,"description":"Defines a human-readable, author-localized description for the role of an element.","name":"aria-roledescription","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}},"aria-rowcount":{"defaultValue":null,"description":"Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.","name":"aria-rowcount","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-rowindex":{"defaultValue":null,"description":"Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount\n@see aria-rowspan.","name":"aria-rowindex","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-rowspan":{"defaultValue":null,"description":"Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.","name":"aria-rowspan","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-selected":{"defaultValue":null,"description":"Indicates the current \"selected\" state of various widgets.\n@see aria-checked\n@see aria-pressed.","name":"aria-selected","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"Booleanish"}},"aria-setsize":{"defaultValue":null,"description":"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.","name":"aria-setsize","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-sort":{"defaultValue":null,"description":"Indicates if items in a table or grid are sorted in ascending or descending order.","name":"aria-sort","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"enum","raw":"\"none\" | \"ascending\" | \"descending\" | \"other\"","value":[{"value":"\"none\""},{"value":"\"ascending\""},{"value":"\"descending\""},{"value":"\"other\""}]}},"aria-valuemax":{"defaultValue":null,"description":"Defines the maximum allowed value for a range widget.","name":"aria-valuemax","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-valuemin":{"defaultValue":null,"description":"Defines the minimum allowed value for a range widget.","name":"aria-valuemin","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-valuenow":{"defaultValue":null,"description":"Defines the current value for a range widget.\n@see aria-valuetext.","name":"aria-valuenow","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"number"}},"aria-valuetext":{"defaultValue":null,"description":"Defines the human readable text alternative of aria-valuenow for a range widget.","name":"aria-valuetext","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"AriaAttributes"}],"required":false,"type":{"name":"string"}}}}
@@ -1,2 +1,2 @@
1
- import"../../Button.js";import{B as v}from"../../Button.js";import"react";import"../../constants.js";import"../../utils/environment.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../theme/grid.js";import"../Icons/Icon.js";import"classnames";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../hooks/useHover.js";import"../../hooks/useIcons.js";import"../../hooks/useBreakpoint.js";import"./styles.module.scss";import"../Icons/ArrowRight.js";import"../../hooks/useSize.js";import"../../utils/debounce.js";export{v as default};
1
+ import{B as o}from"../../Button.js";import"react";import"classnames";import"../Icons/Icon.js";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../../hooks/useBreakpoint.js";import"../../theme/grid.js";import"../../hooks/useHover.js";import"../../hooks/useIcons.js";import"../../hooks/useSize.js";import"../../utils/debounce.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../Icons/ArrowRight.js";import"./styles.module.scss";export{o as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonWithModal.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonWithModal/ButtonWithModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEnD,UAAU,oBAAqB,SAAQ,UAAU;IAC/C,yBAAyB;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,eAAe,0FASnB,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ButtonWithModal.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonWithModal/ButtonWithModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEnD,UAAU,oBAAqB,SAAQ,UAAU;IAC/C,yBAAyB;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,eAAe,0FASnB,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1,2 +1,2 @@
1
- import t,{useState as i}from"react";import{B as p}from"../../Button.js";import{M as e}from"../../Modal.js";import"../../constants.js";import"../../utils/environment.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../theme/grid.js";import"../Icons/Icon.js";import"classnames";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../hooks/useHover.js";import"../../hooks/useIcons.js";import"../../hooks/useBreakpoint.js";import"../Button/styles.module.scss";import"../Icons/ArrowRight.js";import"../../hooks/useSize.js";import"../../utils/debounce.js";import"../Modal/styles.module.scss";import"../Icons/AlertSignStroke.js";import"../Icons/AlertSignFill.js";import"../../hooks/useFocusTrap.js";import"../../utils/focus.js";import"../../hooks/useFocusableElements.js";import"../../hooks/useElementList.js";import"../../hooks/useIsVisible.js";import"../../hooks/useIntersectionObserver.js";import"../../Title.js";import"../Title/styles.module.scss";import"../../Close.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../Icons/CheckOutline.js";import"../Portal/index.js";import"react-dom";const U=t.forwardRef(function(o,d){const[m,r]=i(!1);return t.createElement("div",{"data-testid":o.testId},t.createElement(p,{onClick:()=>r(!0)},o.buttonText),m&&t.createElement(e,{...o,onClose:()=>r(!1)}))});export{U as default};
1
+ import t,{useState as m}from"react";import{B as p}from"../../Button.js";import{M as e}from"../../Modal.js";import"classnames";import"../Icons/Icon.js";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../../hooks/useBreakpoint.js";import"../../theme/grid.js";import"../../hooks/useHover.js";import"../../hooks/useIcons.js";import"../../hooks/useSize.js";import"../../utils/debounce.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../Icons/ArrowRight.js";import"../Button/styles.module.scss";import"../../hooks/useFocusTrap.js";import"../../hooks/useFocusableElements.js";import"../../hooks/useElementList.js";import"../../utils/focus.js";import"../../hooks/useIsVisible.js";import"../../hooks/useIntersectionObserver.js";import"../../Close.js";import"../Icons/X.js";import"../Close/styles.module.scss";import"../Icons/AlertSignFill.js";import"../Icons/AlertSignStroke.js";import"../Icons/CheckOutline.js";import"../Portal/index.js";import"react-dom";import"../../Title.js";import"../Title/styles.module.scss";import"../Modal/styles.module.scss";const a=t.forwardRef(function(o,d){const[i,r]=m(!1);return t.createElement("div",{"data-testid":o.testId},t.createElement(p,{onClick:()=>r(!0)},o.buttonText),i&&t.createElement(e,{...o,onClose:()=>r(!1)}))}),V=a;export{V as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/ButtonWithModal/ButtonWithModal.tsx"],"sourcesContent":["/* istanbul ignore file */\nimport React, { useState } from 'react';\nimport Button from '../Button';\nimport Modal, { ModalProps } from '../Modal/Modal';\n\ninterface ModalWithButtonProps extends ModalProps {\n /** Text of the button */\n buttonText: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nconst ModalWithButton = React.forwardRef(function ModalForwardedRef(props: ModalWithButtonProps, ref: React.ForwardedRef<HTMLElement>) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <div data-testid={props.testId}>\n <Button onClick={() => setShowModal(true)}>{props.buttonText}</Button>\n {showModal && <Modal {...props} onClose={() => setShowModal(false)} />}\n </div>\n );\n});\n\nexport default ModalWithButton;\n"],"names":["ModalWithButton","React","props","ref","showModal","setShowModal","useState","Button","Modal"],"mappings":"urCAYA,MAAMA,EAAkBC,EAAM,WAAW,SAA2BC,EAA6BC,EAAsC,CACrI,KAAM,CAACC,EAAWC,CAAY,EAAIC,EAAS,EAAK,EAEhD,OACGL,EAAA,cAAA,MAAA,CAAI,cAAaC,EAAM,MAAA,EACrBD,EAAA,cAAAM,EAAA,CAAO,QAAS,IAAMF,EAAa,EAAI,CAAA,EAAIH,EAAM,UAAW,EAC5DE,GAAcH,EAAA,cAAAO,EAAA,CAAO,GAAGN,EAAO,QAAS,IAAMG,EAAa,EAAK,CAAG,CAAA,CACtE,CAEJ,CAAC"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ButtonWithModal/ButtonWithModal.tsx"],"sourcesContent":["/* istanbul ignore file */\nimport React, { useState } from 'react';\n\nimport Button from '../Button';\nimport Modal, { ModalProps } from '../Modal/Modal';\n\ninterface ModalWithButtonProps extends ModalProps {\n /** Text of the button */\n buttonText: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n}\n\nconst ModalWithButton = React.forwardRef(function ModalForwardedRef(props: ModalWithButtonProps, ref: React.ForwardedRef<HTMLElement>) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <div data-testid={props.testId}>\n <Button onClick={() => setShowModal(true)}>{props.buttonText}</Button>\n {showModal && <Modal {...props} onClose={() => setShowModal(false)} />}\n </div>\n );\n});\n\nexport default ModalWithButton;\n"],"names":["ModalWithButton","React","props","ref","showModal","setShowModal","useState","Button","Modal","ButtonWithModal"],"mappings":"urCAaA,MAAMA,EAAkBC,EAAM,WAAW,SAA2BC,EAA6BC,EAAsC,CACrI,KAAM,CAACC,EAAWC,CAAY,EAAIC,EAAS,EAAK,EAG9C,OAAAL,EAAA,cAAC,MAAI,CAAA,cAAaC,EAAM,MAAA,kBACrBK,EAAO,CAAA,QAAS,IAAMF,EAAa,EAAI,GAAIH,EAAM,UAAW,EAC5DE,GAAaH,EAAA,cAACO,EAAO,CAAA,GAAGN,EAAO,QAAS,IAAMG,EAAa,EAAK,CAAA,CAAG,CACtE,CAEJ,CAAC,EAEDI,EAAeT"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,OAAO,EAAe,QAAQ,EAAE,WAAW,EAAY,MAAM,iBAAiB,CAAC;AAE/E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAC9H,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IACnC,iHAAiH;IACjH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,wFAyFnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAe,QAAQ,EAAE,WAAW,EAAY,MAAM,iBAAiB,CAAC;AAQ/E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;IAC9H,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,QAAQ,CAAC;IAC7B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IACnC,iHAAiH;IACjH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,wFAyFnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"props":{"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"label":{"defaultValue":null,"description":"The label text next to the checkbox","name":"label","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":true,"type":{"name":"string"}},"inputId":{"defaultValue":null,"description":"input id of the checkbox","name":"inputId","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"mode":{"defaultValue":null,"description":"Changes the visuals of the checkbox","name":"mode","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"ondark\""},{"value":"\"oninvalid\""}]}},"variant":{"defaultValue":null,"description":"Changes the visuals of the checkbox","name":"variant","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"enum","raw":"\"normal\" | \"bigform\"","value":[{"value":"\"normal\""},{"value":"\"bigform\""}]}},"error":{"defaultValue":null,"description":"Activates Error style for the checkbox - This is can be true while errorText is empty, when in a FormGroup","name":"error","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"boolean"}},"errorText":{"defaultValue":null,"description":"Error text to show above the component","name":"errorText","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"checked":{"defaultValue":null,"description":"","name":"checked","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"required":{"defaultValue":null,"description":"","name":"required","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"onChange":{"defaultValue":null,"description":"","name":"onChange","parent":{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"ChangeEventHandler<HTMLInputElement>"}}}}
1
+ {"props":{"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"label":{"defaultValue":null,"description":"The label text next to the checkbox","name":"label","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":true,"type":{"name":"string"}},"inputId":{"defaultValue":null,"description":"input id of the checkbox","name":"inputId","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"mode":{"defaultValue":null,"description":"Changes the visuals of the checkbox","name":"mode","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"ondark\" | \"oninvalid\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"ondark\""},{"value":"\"oninvalid\""}]}},"variant":{"defaultValue":null,"description":"Changes the visuals of the checkbox","name":"variant","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"enum","raw":"\"normal\" | \"bigform\"","value":[{"value":"\"normal\""},{"value":"\"bigform\""}]}},"error":{"defaultValue":null,"description":"Activates Error style for the checkbox - This is can be true while errorText is empty, when in a FormGroup","name":"error","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"boolean"}},"errorText":{"defaultValue":null,"description":"Error text to show above the component","name":"errorText","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"},"declarations":[{"fileName":"src/components/Checkbox/Checkbox.tsx","name":"CheckboxProps"}],"required":false,"type":{"name":"string"}},"name":{"defaultValue":null,"description":"","name":"name","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string"}},"value":{"defaultValue":null,"description":"","name":"value","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"string | number | readonly string[]"}},"disabled":{"defaultValue":null,"description":"","name":"disabled","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"checked":{"defaultValue":null,"description":"","name":"checked","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"required":{"defaultValue":null,"description":"","name":"required","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"boolean"}},"onChange":{"defaultValue":null,"description":"","name":"onChange","parent":{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"},"declarations":[{"fileName":"s/node_modules/@types/react/index.d.ts","name":"InputHTMLAttributes"}],"required":false,"type":{"name":"ChangeEventHandler<HTMLInputElement>"}}}}
@@ -1,2 +1,2 @@
1
- import"../../Checkbox.js";import{C as u,C as g}from"../../Checkbox.js";import"react";import"classnames";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Check.js";import"../Icons/Icon.js";import"../../constants.js";import"../../hooks/useUuid.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../theme/grid.js";import"./styles.module.scss";export{u as Checkbox,g as default};
1
+ import{C as r}from"../../Checkbox.js";import{a as u}from"../../Checkbox.js";import"react";import"classnames";import"../../constants.js";import"../../theme/currys/color.js";import"../../theme/index.js";import"../../theme/grid.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/Icon.js";import"../../hooks/useUuid.js";import"../Icons/Check.js";import"./styles.module.scss";export{u as Checkbox,r as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export interface CloseProps {
3
3
  /** Keeps the icon small for all screen sizes */
4
4
  small?: boolean;
@@ -8,7 +8,13 @@ export interface CloseProps {
8
8
  ariaLabel?: string;
9
9
  /** Sets the data-testid attribute. */
10
10
  testId?: string;
11
+ /** Adds custom classes to the element. */
12
+ className?: string;
13
+ /** Gives color to the svg */
14
+ color?: string;
15
+ /** Gives hovered effect to X icon */
16
+ isHovered?: boolean;
11
17
  }
12
- declare const Close: (props: CloseProps) => JSX.Element;
18
+ declare const Close: React.ForwardRefExoticComponent<CloseProps & React.RefAttributes<HTMLButtonElement>>;
13
19
  export default Close;
14
20
  //# sourceMappingURL=Close.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Close.d.ts","sourceRoot":"","sources":["../../../src/components/Close/Close.tsx"],"names":[],"mappings":";AASA,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,KAAK,UAAW,UAAU,KAAG,WAkBlC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Close.d.ts","sourceRoot":"","sources":["../../../src/components/Close/Close.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,KAAK,sFAqBT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"props":{"small":{"defaultValue":null,"description":"Keeps the icon small for all screen sizes","name":"small","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"boolean"}},"onClick":{"defaultValue":null,"description":"Function is called when user clicks the button","name":"onClick","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"(() => void)"}},"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button","name":"ariaLabel","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}}}}
1
+ {"props":{"small":{"defaultValue":null,"description":"Keeps the icon small for all screen sizes","name":"small","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"boolean"}},"onClick":{"defaultValue":null,"description":"Function is called when user clicks the button","name":"onClick","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"(() => void)"}},"ariaLabel":{"defaultValue":null,"description":"Sets the aria-label of the button","name":"ariaLabel","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"color":{"defaultValue":null,"description":"Gives color to the svg","name":"color","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"string"}},"isHovered":{"defaultValue":null,"description":"Gives hovered effect to X icon","name":"isHovered","parent":{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"},"declarations":[{"fileName":"src/components/Close/Close.tsx","name":"CloseProps"}],"required":false,"type":{"name":"boolean"}}}}
@@ -1,2 +1,2 @@
1
- import"../../Close.js";import{C as c}from"../../Close.js";import"react";import"../../theme/palette.js";import"../Icons/Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/X.js";import"./styles.module.scss";import"../../hooks/useBreakpoint.js";import"../../theme/grid.js";export{c as default};
1
+ import{C as r}from"../../Close.js";import"react";import"classnames";import"../../constants.js";import"../../hooks/useBreakpoint.js";import"../../theme/grid.js";import"../../theme/palette.js";import"../Icons/Icon.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";import"../Icons/X.js";import"./styles.module.scss";export{r as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -26,7 +26,7 @@
26
26
  border: 0;
27
27
  outline: none;
28
28
  }
29
- &:hover#{&}:hover {
29
+ &:hover {
30
30
  background-color: rgba(88, 170, 187, 0.1);
31
31
  }
32
32
  &--small {
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAuBhD,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,0BAA0B;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsJrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAsBhD,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,aAAa;IAC5B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,0BAA0B;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsJrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"props":{"label":{"defaultValue":null,"description":"Label for dropdown. Synlig for skjermlesere.","name":"label","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":true,"type":{"name":"string"}},"placeholder":{"defaultValue":null,"description":"Tekst på knappen som åpner dropdownen","name":"placeholder","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":true,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Sets the dropdown content","name":"children","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"ReactNode"}},"closeText":{"defaultValue":null,"description":"Close button text","name":"closeText","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"string"}},"noCloseButton":{"defaultValue":null,"description":"No close button","name":"noCloseButton","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"onToggle":{"defaultValue":null,"description":"Called when dropdown is open/closed.","name":"onToggle","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"((isOpen: boolean) => void)"}},"open":{"defaultValue":null,"description":"Om dropdown er åpen","name":"open","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"mode":{"defaultValue":null,"description":"Changes the visuals of the dropdown","name":"mode","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"oncherry\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"oncherry\""}]}},"transparent":{"defaultValue":null,"description":"Makes the background transparent","name":"transparent","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"fluid":{"defaultValue":null,"description":"Makes the background transparent","name":"fluid","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"disabled":{"defaultValue":null,"description":"Makes the dropdown disabled","name":"disabled","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute on the dropdown button.","name":"testId","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"string"}}}}
1
+ {"props":{"label":{"defaultValue":null,"description":"Label for dropdown. Synlig for skjermlesere.","name":"label","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":true,"type":{"name":"string"}},"placeholder":{"defaultValue":null,"description":"Tekst på knappen som åpner dropdownen","name":"placeholder","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":true,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Sets the dropdown content","name":"children","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},{"fileName":"s/node_modules/@types/react/index.d.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"ReactNode"}},"closeText":{"defaultValue":null,"description":"Close button text","name":"closeText","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"string"}},"noCloseButton":{"defaultValue":null,"description":"No close button","name":"noCloseButton","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"onToggle":{"defaultValue":null,"description":"Called when dropdown is open/closed.","name":"onToggle","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"((isOpen: boolean) => void)"}},"open":{"defaultValue":null,"description":"Om dropdown er åpen","name":"open","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"mode":{"defaultValue":null,"description":"Changes the visuals of the dropdown","name":"mode","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"enum","raw":"\"onwhite\" | \"ongrey\" | \"onblueberry\" | \"oncherry\"","value":[{"value":"\"onwhite\""},{"value":"\"ongrey\""},{"value":"\"onblueberry\""},{"value":"\"oncherry\""}]}},"transparent":{"defaultValue":null,"description":"Makes the background transparent","name":"transparent","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"fluid":{"defaultValue":null,"description":"Makes the background transparent","name":"fluid","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"disabled":{"defaultValue":null,"description":"Makes the dropdown disabled","name":"disabled","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"boolean"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute on the dropdown button.","name":"testId","parent":{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"},"declarations":[{"fileName":"src/components/Dropdown/Dropdown.tsx","name":"DropdownProps"}],"required":false,"type":{"name":"string"}}}}
@@ -1,2 +1,2 @@
1
- import t,{useRef as f,useState as V}from"react";import v from"classnames";import{Icon as W}from"../Icons/Icon.js";import{KeyboardEventKey as r,AnalyticsId as X,IconSize as j}from"../../constants.js";import{theme as C}from"../../theme/index.js";import"../../hooks/useBreakpoint.js";import{useHover as q}from"../../hooks/useHover.js";import{useSize as F}from"../../hooks/useSize.js";import{useToggle as G}from"../../hooks/useToggle.js";import{useKeyboardEvent as J}from"../../hooks/useKeyboardEvent.js";import{useOutsideEvent as Q}from"../../hooks/useOutsideEvent.js";import{useUuid as g}from"../../hooks/useUuid.js";import e from"./styles.module.scss";import Y from"../Icons/PlusSmall.js";import{B as Z}from"../../Button.js";import"../../uuid.js";import"../../utils/environment.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../theme/grid.js";import"../../utils/debounce.js";import"../../hooks/usePrevious.js";import"../../theme/currys/color.js";import"../../hooks/useIcons.js";import"../Button/styles.module.scss";import"../Icons/ArrowRight.js";var M=(s=>(s.onwhite="onwhite",s.ongrey="ongrey",s.onblueberry="onblueberry",s.oncherry="oncherry",s))(M||{});const Ce=s=>{const{label:R,placeholder:A,closeText:K="Lukk",noCloseButton:S=!1,onToggle:$,open:H=!1,children:_,mode:d="onwhite",transparent:O=!1,fluid:y=!1,testId:z,disabled:c}=s,p=f(null),b=f(null),{hoverRef:m,isHovered:B}=q(),{value:a,toggleValue:w}=G(!c&&H,$),i=f(t.Children.map(_,()=>t.createRef())),[h,L]=V(),{width:T}=F(m)||{},E=g(),x=g(),I=g(),N=()=>{var o;w(),(o=b.current)==null||o.focus()},u=()=>{var o;w(),(o=m.current)==null||o.focus()};J(p,o=>{var k;if(o.preventDefault(),!i.current)return;if(a){if(o.key===r.Escape&&a){u();return}}else{N();return}const l=i.current.findIndex(P=>P.current===o.target);let n=l;o.key===r.Home?n=0:o.key===r.End?n=i.current.length-1:o.key===r.ArrowDown&&l<i.current.length-1?n=l+1:o.key===r.ArrowUp&&l>0?n=l-1:o.key===r.Enter&&l!==-1&&(n=l),n!==-1&&((k=i.current[n].current)==null||k.focus(),L(n))},[r.ArrowDown,r.ArrowUp,r.End,r.Enter,r.Escape,r.Home]),Q(p,()=>a&&u());const U=v(e.dropdown__toggle,!c&&{[e["dropdown__toggle--on-white"]]:d==="onwhite",[e["dropdown__toggle--on-grey"]]:d==="ongrey",[e["dropdown__toggle--on-blueberry"]]:d==="onblueberry",[e["dropdown__toggle--on-cherry"]]:d==="oncherry",[e["dropdown__toggle--transparent"]]:O,[e["dropdown__toggle--fluid"]]:y,[e["dropdown__toggle--open"]]:a}),D=v(e.dropdown__content,a&&e["dropdown__content--open"]);return t.createElement("div",{className:e.dropdown,ref:p},t.createElement("span",{id:E,className:e.dropdown__label},R),t.createElement("button",{type:"button",onClick:()=>!a&&N(),className:U,ref:m,"data-testid":z,"data-analyticsid":X.Dropdown,disabled:c,"aria-labelledby":x,"aria-haspopup":"listbox","aria-expanded":a},t.createElement("span",{id:x,className:e.dropdown__toggle__label},A),t.createElement(W,{color:c?C.palette.neutral500:C.palette.blueberry600,svgIcon:Y,className:e.dropdown__icon,isHovered:B,size:j.XSmall})),t.createElement("div",{className:D,style:{width:y?"100%":`${T}px`}},t.createElement("ul",{className:e.dropdown__options,role:"listbox","aria-labelledby":E,tabIndex:-1,"aria-activedescendant":typeof h<"u"?`${I}-${h}`:void 0,ref:b},t.Children.map(_,(o,l)=>{var n;return t.createElement("li",{className:e.dropdown__input,role:"option",id:`${I}-${l}`},t.cloneElement(o,{ref:(n=i.current)==null?void 0:n[l]}))})),!S&&t.createElement("div",{className:e.dropdown__close},t.createElement(Z,{onClick:u,fluid:!0,"aria-expanded":a},K))))};export{M as DropdownMode,Ce as default};
1
+ import t,{useRef as f,useState as V}from"react";import v from"classnames";import{theme as C}from"../../theme/index.js";import"../../hooks/useBreakpoint.js";import{useHover as W}from"../../hooks/useHover.js";import{useSize as X}from"../../hooks/useSize.js";import{useToggle as j}from"../../hooks/useToggle.js";import{useKeyboardEvent as q}from"../../hooks/useKeyboardEvent.js";import{useOutsideEvent as F}from"../../hooks/useOutsideEvent.js";import{useUuid as g}from"../../hooks/useUuid.js";import{KeyboardEventKey as r,AnalyticsId as G,IconSize as J}from"../../constants.js";import{B as Q}from"../../Button.js";import{Icon as Y}from"../Icons/Icon.js";import Z from"../Icons/PlusSmall.js";import e from"./styles.module.scss";import"../../theme/grid.js";import"../../theme/palette.js";import"../../theme/spacers.js";import"../../utils/debounce.js";import"../../hooks/usePrevious.js";import"../../uuid.js";import"../../utils/environment.js";import"../../hooks/useIcons.js";import"../../theme/currys/color.js";import"../Icons/ArrowRight.js";import"../Button/styles.module.scss";var M=(s=>(s.onwhite="onwhite",s.ongrey="ongrey",s.onblueberry="onblueberry",s.oncherry="oncherry",s))(M||{});const ee=s=>{const{label:R,placeholder:$,closeText:A="Lukk",noCloseButton:K=!1,onToggle:S,open:H=!1,children:_,mode:d="onwhite",transparent:O=!1,fluid:y=!1,testId:z,disabled:c}=s,p=f(null),b=f(null),{hoverRef:m,isHovered:B}=W(),{value:a,toggleValue:w}=j(!c&&H,S),i=f(t.Children.map(_,()=>t.createRef())),[h,D]=V(),{width:L}=X(m)||{},E=g(),x=g(),I=g(),N=()=>{var o;w(),(o=b.current)==null||o.focus()},u=()=>{var o;w(),(o=m.current)==null||o.focus()};q(p,o=>{var k;if(o.preventDefault(),!i.current)return;if(a){if(o.key===r.Escape&&a){u();return}}else{N();return}const l=i.current.findIndex(P=>P.current===o.target);let n=l;o.key===r.Home?n=0:o.key===r.End?n=i.current.length-1:o.key===r.ArrowDown&&l<i.current.length-1?n=l+1:o.key===r.ArrowUp&&l>0?n=l-1:o.key===r.Enter&&l!==-1&&(n=l),n!==-1&&((k=i.current[n].current)==null||k.focus(),D(n))},[r.ArrowDown,r.ArrowUp,r.End,r.Enter,r.Escape,r.Home]),F(p,()=>a&&u());const T=v(e.dropdown__toggle,!c&&{[e["dropdown__toggle--on-white"]]:d==="onwhite",[e["dropdown__toggle--on-grey"]]:d==="ongrey",[e["dropdown__toggle--on-blueberry"]]:d==="onblueberry",[e["dropdown__toggle--on-cherry"]]:d==="oncherry",[e["dropdown__toggle--transparent"]]:O,[e["dropdown__toggle--fluid"]]:y,[e["dropdown__toggle--open"]]:a}),U=v(e.dropdown__content,a&&e["dropdown__content--open"]);return t.createElement("div",{className:e.dropdown,ref:p},t.createElement("span",{id:E,className:e.dropdown__label},R),t.createElement("button",{type:"button",onClick:()=>!a&&N(),className:T,ref:m,"data-testid":z,"data-analyticsid":G.Dropdown,disabled:c,"aria-labelledby":x,"aria-haspopup":"listbox","aria-expanded":a},t.createElement("span",{id:x,className:e.dropdown__toggle__label},$),t.createElement(Y,{color:c?C.palette.neutral500:C.palette.blueberry600,svgIcon:Z,className:e.dropdown__icon,isHovered:B,size:J.XSmall})),t.createElement("div",{className:U,style:{width:y?"100%":`${L}px`}},t.createElement("ul",{className:e.dropdown__options,role:"listbox","aria-labelledby":E,tabIndex:-1,"aria-activedescendant":typeof h<"u"?`${I}-${h}`:void 0,ref:b},t.Children.map(_,(o,l)=>{var n;return t.createElement("li",{className:e.dropdown__input,role:"option",id:`${I}-${l}`},t.cloneElement(o,{ref:(n=i.current)==null?void 0:n[l]}))})),!K&&t.createElement("div",{className:e.dropdown__close},t.createElement(Q,{onClick:u,fluid:!0,"aria-expanded":a},A))))},Re=ee;export{M as DropdownMode,Re as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import React, { useRef, useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport Icon from '../Icons';\n\nimport {\n AnalyticsId,\n IconSize,\n KeyboardEventKey,\n theme,\n useHover,\n useKeyboardEvent,\n useOutsideEvent,\n useSize,\n useToggle,\n useUuid,\n} from '../..';\n\nimport styles from './styles.module.scss';\nimport PlusSmall from '../Icons/PlusSmall';\nimport Button from '../Button';\n\nexport enum DropdownMode {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n oncherry = 'oncherry',\n}\n\nexport interface DropdownProps {\n /** Label for dropdown. Synlig for skjermlesere. */\n label: string;\n /** Tekst på knappen som åpner dropdownen */\n placeholder: string;\n /** Sets the dropdown content */\n children: React.ReactNode;\n /** Close button text */\n closeText?: string;\n /** No close button */\n noCloseButton?: boolean;\n /** Called when dropdown is open/closed. */\n onToggle?: (isOpen: boolean) => void;\n /** Om dropdown er åpen */\n open?: boolean;\n /** Changes the visuals of the dropdown */\n mode?: keyof typeof DropdownMode;\n /** Makes the background transparent */\n transparent?: boolean;\n /** Makes the background transparent */\n fluid?: boolean;\n /** Makes the dropdown disabled */\n disabled?: boolean;\n /** Sets the data-testid attribute on the dropdown button. */\n testId?: string;\n}\n\nconst Dropdown: React.FC<DropdownProps> = props => {\n const {\n label,\n placeholder,\n closeText = 'Lukk',\n noCloseButton = false,\n onToggle,\n open = false,\n children,\n mode = DropdownMode.onwhite,\n transparent = false,\n fluid = false,\n testId,\n disabled,\n } = props;\n const dropdownRef = useRef<HTMLDivElement>(null);\n const optionsRef = useRef<HTMLUListElement>(null);\n const { hoverRef: buttonRef, isHovered } = useHover<HTMLButtonElement>();\n const { value: isOpen, toggleValue: toggleIsOpen } = useToggle(!disabled && open, onToggle);\n const inputRefList = useRef(React.Children.map(children, () => React.createRef<HTMLElement>()));\n const [currentIndex, setCurrentIndex] = useState<number>();\n const { width: buttonWidth } = useSize(buttonRef) || {};\n const labelId = useUuid();\n const toggleLabelId = useUuid();\n const optionIdPrefix = useUuid();\n\n const handleOpen = () => {\n toggleIsOpen();\n optionsRef.current?.focus();\n };\n\n const handleClose = () => {\n toggleIsOpen();\n buttonRef.current?.focus();\n };\n\n const handleKeyboardNavigation = (event: KeyboardEvent) => {\n event.preventDefault();\n\n if (!inputRefList.current) {\n return;\n }\n\n if (!isOpen) {\n handleOpen();\n return;\n } else if (event.key === KeyboardEventKey.Escape && isOpen) {\n handleClose();\n return;\n }\n\n const index = inputRefList.current.findIndex(x => x.current === event.target);\n let nextIndex = index;\n\n if (event.key === KeyboardEventKey.Home) {\n nextIndex = 0;\n } else if (event.key === KeyboardEventKey.End) {\n nextIndex = inputRefList.current.length - 1;\n } else if (event.key === KeyboardEventKey.ArrowDown && index < inputRefList.current.length - 1) {\n nextIndex = index + 1;\n } else if (event.key === KeyboardEventKey.ArrowUp && index > 0) {\n nextIndex = index - 1;\n } else if (event.key === KeyboardEventKey.Enter && index !== -1) {\n nextIndex = index;\n }\n if (nextIndex !== -1) {\n inputRefList.current[nextIndex].current?.focus();\n setCurrentIndex(nextIndex);\n }\n };\n\n useKeyboardEvent(dropdownRef, handleKeyboardNavigation, [\n KeyboardEventKey.ArrowDown,\n KeyboardEventKey.ArrowUp,\n KeyboardEventKey.End,\n KeyboardEventKey.Enter,\n KeyboardEventKey.Escape,\n KeyboardEventKey.Home,\n ]);\n\n useOutsideEvent(dropdownRef, () => isOpen && handleClose());\n\n const toggleClasses = classNames(\n styles.dropdown__toggle,\n !disabled && {\n [styles['dropdown__toggle--on-white']]: mode === DropdownMode.onwhite,\n [styles['dropdown__toggle--on-grey']]: mode === DropdownMode.ongrey,\n [styles['dropdown__toggle--on-blueberry']]: mode === DropdownMode.onblueberry,\n [styles['dropdown__toggle--on-cherry']]: mode === DropdownMode.oncherry,\n [styles['dropdown__toggle--transparent']]: transparent,\n [styles['dropdown__toggle--fluid']]: fluid,\n [styles['dropdown__toggle--open']]: isOpen,\n }\n );\n\n const contentClasses = classNames(styles.dropdown__content, isOpen && styles['dropdown__content--open']);\n\n return (\n <div className={styles.dropdown} ref={dropdownRef}>\n <span id={labelId} className={styles.dropdown__label}>\n {label}\n </span>\n <button\n type=\"button\"\n onClick={() => !isOpen && handleOpen()}\n className={toggleClasses}\n ref={buttonRef}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Dropdown}\n disabled={disabled}\n aria-labelledby={toggleLabelId}\n aria-haspopup=\"listbox\"\n aria-expanded={isOpen}\n >\n <span id={toggleLabelId} className={styles.dropdown__toggle__label}>\n {placeholder}\n </span>\n <Icon\n color={disabled ? theme.palette.neutral500 : theme.palette.blueberry600}\n svgIcon={PlusSmall}\n className={styles.dropdown__icon}\n isHovered={isHovered}\n size={IconSize.XSmall}\n />\n </button>\n <div className={contentClasses} style={{ width: fluid ? '100%' : `${buttonWidth}px` }}>\n <ul\n className={styles.dropdown__options}\n role=\"listbox\"\n aria-labelledby={labelId}\n tabIndex={-1}\n aria-activedescendant={typeof currentIndex !== 'undefined' ? `${optionIdPrefix}-${currentIndex}` : undefined}\n ref={optionsRef}\n >\n {React.Children.map(children, (child, index) => (\n <li className={styles.dropdown__input} role=\"option\" id={`${optionIdPrefix}-${index}`}>\n {React.cloneElement(child as React.ReactElement, { ref: inputRefList.current?.[index] })}\n </li>\n ))}\n </ul>\n {!noCloseButton && (\n <div className={styles.dropdown__close}>\n <Button onClick={handleClose} fluid aria-expanded={isOpen}>\n {closeText}\n </Button>\n </div>\n )}\n </div>\n </div>\n );\n};\n\nexport default Dropdown;\n"],"names":["DropdownMode","Dropdown","props","label","placeholder","closeText","noCloseButton","onToggle","open","children","mode","transparent","fluid","testId","disabled","dropdownRef","useRef","optionsRef","buttonRef","isHovered","useHover","isOpen","toggleIsOpen","useToggle","inputRefList","React","currentIndex","setCurrentIndex","useState","buttonWidth","useSize","labelId","useUuid","toggleLabelId","optionIdPrefix","handleOpen","_a","handleClose","useKeyboardEvent","event","KeyboardEventKey","index","x","nextIndex","useOutsideEvent","toggleClasses","classNames","styles","contentClasses","AnalyticsId","Icon","theme","PlusSmall","IconSize","child","Button"],"mappings":"kjCAuBY,IAAAA,GAAAA,IACVA,EAAA,QAAU,UACVA,EAAA,OAAS,SACTA,EAAA,YAAc,cACdA,EAAA,SAAW,WAJDA,IAAAA,GAAA,CAAA,CAAA,EAkCZ,MAAMC,GAA6CC,GAAA,CAC3C,KAAA,CACJ,MAAAC,EACA,YAAAC,EACA,UAAAC,EAAY,OACZ,cAAAC,EAAgB,GAChB,SAAAC,EACA,KAAAC,EAAO,GACP,SAAAC,EACA,KAAAC,EAAO,UACP,YAAAC,EAAc,GACd,MAAAC,EAAQ,GACR,OAAAC,EACA,SAAAC,CACE,EAAAZ,EACEa,EAAcC,EAAuB,IAAI,EACzCC,EAAaD,EAAyB,IAAI,EAC1C,CAAE,SAAUE,EAAW,UAAAC,GAAcC,EAA4B,EACjE,CAAE,MAAOC,EAAQ,YAAaC,CAAA,EAAiBC,EAAU,CAACT,GAAYN,EAAMD,CAAQ,EACpFiB,EAAeR,EAAOS,EAAM,SAAS,IAAIhB,EAAU,IAAMgB,EAAM,UAAwB,CAAA,CAAC,EACxF,CAACC,EAAcC,CAAe,EAAIC,EAAiB,EACnD,CAAE,MAAOC,CAAA,EAAgBC,EAAQZ,CAAS,GAAK,GAC/Ca,EAAUC,IACVC,EAAgBD,IAChBE,EAAiBF,IAEjBG,EAAa,IAAM,OACVb,KACbc,EAAAnB,EAAW,UAAX,MAAAmB,EAAoB,OAAM,EAGtBC,EAAc,IAAM,OACXf,KACbc,EAAAlB,EAAU,UAAV,MAAAkB,EAAmB,OAAM,EAsC3BE,EAAiBvB,EAnCiBwB,GAAyB,OAGrD,GAFJA,EAAM,eAAe,EAEjB,CAACf,EAAa,QAChB,OAGF,GAAKH,GAGM,GAAAkB,EAAM,MAAQC,EAAiB,QAAUnB,EAAQ,CAC9CgB,IACZ,MACF,MANa,CACAF,IACX,MACS,CAKL,MAAAM,EAAQjB,EAAa,QAAQ,aAAekB,EAAE,UAAYH,EAAM,MAAM,EAC5E,IAAII,EAAYF,EAEZF,EAAM,MAAQC,EAAiB,KACrBG,EAAA,EACHJ,EAAM,MAAQC,EAAiB,IAC5BG,EAAAnB,EAAa,QAAQ,OAAS,EACjCe,EAAM,MAAQC,EAAiB,WAAaC,EAAQjB,EAAa,QAAQ,OAAS,EAC3FmB,EAAYF,EAAQ,EACXF,EAAM,MAAQC,EAAiB,SAAWC,EAAQ,EAC3DE,EAAYF,EAAQ,EACXF,EAAM,MAAQC,EAAiB,OAASC,IAAU,KAC/CE,EAAAF,GAEVE,IAAc,MACHP,EAAAZ,EAAA,QAAQmB,GAAW,UAAnB,MAAAP,EAA4B,QACzCT,EAAgBgB,CAAS,EAC3B,EAGsD,CACtDH,EAAiB,UACjBA,EAAiB,QACjBA,EAAiB,IACjBA,EAAiB,MACjBA,EAAiB,OACjBA,EAAiB,IAAA,CAClB,EAEDI,EAAgB7B,EAAa,IAAMM,GAAUgB,EAAa,CAAA,EAE1D,MAAMQ,EAAgBC,EACpBC,EAAO,iBACP,CAACjC,GAAY,CACX,CAACiC,EAAO,+BAAgCrC,IAAS,UACjD,CAACqC,EAAO,8BAA+BrC,IAAS,SAChD,CAACqC,EAAO,mCAAoCrC,IAAS,cACrD,CAACqC,EAAO,gCAAiCrC,IAAS,WAClD,CAACqC,EAAO,kCAAmCpC,EAC3C,CAACoC,EAAO,4BAA6BnC,EACrC,CAACmC,EAAO,2BAA4B1B,CACtC,CAAA,EAGI2B,EAAiBF,EAAWC,EAAO,kBAAmB1B,GAAU0B,EAAO,0BAA0B,EAEvG,OACGtB,EAAA,cAAA,MAAA,CAAI,UAAWsB,EAAO,SAAU,IAAKhC,CAAA,EACnCU,EAAA,cAAA,OAAA,CAAK,GAAIM,EAAS,UAAWgB,EAAO,eAClC,EAAA5C,CACH,EACCsB,EAAA,cAAA,SAAA,CACC,KAAK,SACL,QAAS,IAAM,CAACJ,GAAUc,EAAW,EACrC,UAAWU,EACX,IAAK3B,EACL,cAAaL,EACb,mBAAkBoC,EAAY,SAC9B,SAAAnC,EACA,kBAAiBmB,EACjB,gBAAc,UACd,gBAAeZ,CAAA,EAEdI,EAAA,cAAA,OAAA,CAAK,GAAIQ,EAAe,UAAWc,EAAO,uBACxC,EAAA3C,CACH,EACCqB,EAAA,cAAAyB,EAAA,CACC,MAAOpC,EAAWqC,EAAM,QAAQ,WAAaA,EAAM,QAAQ,aAC3D,QAASC,EACT,UAAWL,EAAO,eAClB,UAAA5B,EACA,KAAMkC,EAAS,MACjB,CAAA,CACF,EACC5B,EAAA,cAAA,MAAA,CAAI,UAAWuB,EAAgB,MAAO,CAAE,MAAOpC,EAAQ,OAAS,GAAGiB,KAAgB,CAAA,EACjFJ,EAAA,cAAA,KAAA,CACC,UAAWsB,EAAO,kBAClB,KAAK,UACL,kBAAiBhB,EACjB,SAAU,GACV,wBAAuB,OAAOL,EAAiB,IAAc,GAAGQ,KAAkBR,IAAiB,OACnG,IAAKT,CAAA,EAEJQ,EAAM,SAAS,IAAIhB,EAAU,CAAC6C,EAAOb,IACnC,OAAA,OAAAhB,EAAA,cAAA,KAAA,CAAG,UAAWsB,EAAO,gBAAiB,KAAK,SAAS,GAAI,GAAGb,KAAkBO,GAAA,EAC3EhB,EAAM,aAAa6B,EAA6B,CAAE,KAAKlB,EAAAZ,EAAa,UAAb,YAAAY,EAAuBK,EAAO,CAAC,CACzF,EACD,CACH,EACC,CAACnC,GACCmB,EAAA,cAAA,MAAA,CAAI,UAAWsB,EAAO,eAAA,EACpBtB,EAAA,cAAA8B,EAAA,CAAO,QAASlB,EAAa,MAAK,GAAC,gBAAehB,CAAA,EAChDhB,CACH,CACF,CAEJ,CACF,CAEJ"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"sourcesContent":["import React, { useRef, useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport {\n AnalyticsId,\n IconSize,\n KeyboardEventKey,\n theme,\n useHover,\n useKeyboardEvent,\n useOutsideEvent,\n useSize,\n useToggle,\n useUuid,\n} from '../..';\nimport Button from '../Button';\nimport Icon from '../Icons';\nimport PlusSmall from '../Icons/PlusSmall';\n\nimport styles from './styles.module.scss';\n\nexport enum DropdownMode {\n onwhite = 'onwhite',\n ongrey = 'ongrey',\n onblueberry = 'onblueberry',\n oncherry = 'oncherry',\n}\n\nexport interface DropdownProps {\n /** Label for dropdown. Synlig for skjermlesere. */\n label: string;\n /** Tekst på knappen som åpner dropdownen */\n placeholder: string;\n /** Sets the dropdown content */\n children: React.ReactNode;\n /** Close button text */\n closeText?: string;\n /** No close button */\n noCloseButton?: boolean;\n /** Called when dropdown is open/closed. */\n onToggle?: (isOpen: boolean) => void;\n /** Om dropdown er åpen */\n open?: boolean;\n /** Changes the visuals of the dropdown */\n mode?: keyof typeof DropdownMode;\n /** Makes the background transparent */\n transparent?: boolean;\n /** Makes the background transparent */\n fluid?: boolean;\n /** Makes the dropdown disabled */\n disabled?: boolean;\n /** Sets the data-testid attribute on the dropdown button. */\n testId?: string;\n}\n\nconst Dropdown: React.FC<DropdownProps> = props => {\n const {\n label,\n placeholder,\n closeText = 'Lukk',\n noCloseButton = false,\n onToggle,\n open = false,\n children,\n mode = DropdownMode.onwhite,\n transparent = false,\n fluid = false,\n testId,\n disabled,\n } = props;\n const dropdownRef = useRef<HTMLDivElement>(null);\n const optionsRef = useRef<HTMLUListElement>(null);\n const { hoverRef: buttonRef, isHovered } = useHover<HTMLButtonElement>();\n const { value: isOpen, toggleValue: toggleIsOpen } = useToggle(!disabled && open, onToggle);\n const inputRefList = useRef(React.Children.map(children, () => React.createRef<HTMLElement>()));\n const [currentIndex, setCurrentIndex] = useState<number>();\n const { width: buttonWidth } = useSize(buttonRef) || {};\n const labelId = useUuid();\n const toggleLabelId = useUuid();\n const optionIdPrefix = useUuid();\n\n const handleOpen = () => {\n toggleIsOpen();\n optionsRef.current?.focus();\n };\n\n const handleClose = () => {\n toggleIsOpen();\n buttonRef.current?.focus();\n };\n\n const handleKeyboardNavigation = (event: KeyboardEvent) => {\n event.preventDefault();\n\n if (!inputRefList.current) {\n return;\n }\n\n if (!isOpen) {\n handleOpen();\n return;\n } else if (event.key === KeyboardEventKey.Escape && isOpen) {\n handleClose();\n return;\n }\n\n const index = inputRefList.current.findIndex(x => x.current === event.target);\n let nextIndex = index;\n\n if (event.key === KeyboardEventKey.Home) {\n nextIndex = 0;\n } else if (event.key === KeyboardEventKey.End) {\n nextIndex = inputRefList.current.length - 1;\n } else if (event.key === KeyboardEventKey.ArrowDown && index < inputRefList.current.length - 1) {\n nextIndex = index + 1;\n } else if (event.key === KeyboardEventKey.ArrowUp && index > 0) {\n nextIndex = index - 1;\n } else if (event.key === KeyboardEventKey.Enter && index !== -1) {\n nextIndex = index;\n }\n if (nextIndex !== -1) {\n inputRefList.current[nextIndex].current?.focus();\n setCurrentIndex(nextIndex);\n }\n };\n\n useKeyboardEvent(dropdownRef, handleKeyboardNavigation, [\n KeyboardEventKey.ArrowDown,\n KeyboardEventKey.ArrowUp,\n KeyboardEventKey.End,\n KeyboardEventKey.Enter,\n KeyboardEventKey.Escape,\n KeyboardEventKey.Home,\n ]);\n\n useOutsideEvent(dropdownRef, () => isOpen && handleClose());\n\n const toggleClasses = classNames(\n styles.dropdown__toggle,\n !disabled && {\n [styles['dropdown__toggle--on-white']]: mode === DropdownMode.onwhite,\n [styles['dropdown__toggle--on-grey']]: mode === DropdownMode.ongrey,\n [styles['dropdown__toggle--on-blueberry']]: mode === DropdownMode.onblueberry,\n [styles['dropdown__toggle--on-cherry']]: mode === DropdownMode.oncherry,\n [styles['dropdown__toggle--transparent']]: transparent,\n [styles['dropdown__toggle--fluid']]: fluid,\n [styles['dropdown__toggle--open']]: isOpen,\n }\n );\n\n const contentClasses = classNames(styles.dropdown__content, isOpen && styles['dropdown__content--open']);\n\n return (\n <div className={styles.dropdown} ref={dropdownRef}>\n <span id={labelId} className={styles.dropdown__label}>\n {label}\n </span>\n <button\n type=\"button\"\n onClick={() => !isOpen && handleOpen()}\n className={toggleClasses}\n ref={buttonRef}\n data-testid={testId}\n data-analyticsid={AnalyticsId.Dropdown}\n disabled={disabled}\n aria-labelledby={toggleLabelId}\n aria-haspopup=\"listbox\"\n aria-expanded={isOpen}\n >\n <span id={toggleLabelId} className={styles.dropdown__toggle__label}>\n {placeholder}\n </span>\n <Icon\n color={disabled ? theme.palette.neutral500 : theme.palette.blueberry600}\n svgIcon={PlusSmall}\n className={styles.dropdown__icon}\n isHovered={isHovered}\n size={IconSize.XSmall}\n />\n </button>\n <div className={contentClasses} style={{ width: fluid ? '100%' : `${buttonWidth}px` }}>\n <ul\n className={styles.dropdown__options}\n role=\"listbox\"\n aria-labelledby={labelId}\n tabIndex={-1}\n aria-activedescendant={typeof currentIndex !== 'undefined' ? `${optionIdPrefix}-${currentIndex}` : undefined}\n ref={optionsRef}\n >\n {React.Children.map(children, (child, index) => (\n <li className={styles.dropdown__input} role=\"option\" id={`${optionIdPrefix}-${index}`}>\n {React.cloneElement(child as React.ReactElement, { ref: inputRefList.current?.[index] })}\n </li>\n ))}\n </ul>\n {!noCloseButton && (\n <div className={styles.dropdown__close}>\n <Button onClick={handleClose} fluid aria-expanded={isOpen}>\n {closeText}\n </Button>\n </div>\n )}\n </div>\n </div>\n );\n};\n\nexport default Dropdown;\n"],"names":["DropdownMode","Dropdown","props","label","placeholder","closeText","noCloseButton","onToggle","open","children","mode","transparent","fluid","testId","disabled","dropdownRef","useRef","optionsRef","buttonRef","isHovered","useHover","isOpen","toggleIsOpen","useToggle","inputRefList","React","currentIndex","setCurrentIndex","useState","buttonWidth","useSize","labelId","useUuid","toggleLabelId","optionIdPrefix","handleOpen","_a","handleClose","useKeyboardEvent","event","KeyboardEventKey","index","x","nextIndex","useOutsideEvent","toggleClasses","classNames","styles","contentClasses","AnalyticsId","Icon","theme","PlusSmall","IconSize","child","Button","Dropdown$1"],"mappings":"kjCAsBY,IAAAA,GAAAA,IACVA,EAAA,QAAU,UACVA,EAAA,OAAS,SACTA,EAAA,YAAc,cACdA,EAAA,SAAW,WAJDA,IAAAA,GAAA,CAAA,CAAA,EAkCZ,MAAMC,GAA6CC,GAAA,CAC3C,KAAA,CACJ,MAAAC,EACA,YAAAC,EACA,UAAAC,EAAY,OACZ,cAAAC,EAAgB,GAChB,SAAAC,EACA,KAAAC,EAAO,GACP,SAAAC,EACA,KAAAC,EAAO,UACP,YAAAC,EAAc,GACd,MAAAC,EAAQ,GACR,OAAAC,EACA,SAAAC,CACE,EAAAZ,EACEa,EAAcC,EAAuB,IAAI,EACzCC,EAAaD,EAAyB,IAAI,EAC1C,CAAE,SAAUE,EAAW,UAAAC,GAAcC,EAA4B,EACjE,CAAE,MAAOC,EAAQ,YAAaC,CAAA,EAAiBC,EAAU,CAACT,GAAYN,EAAMD,CAAQ,EACpFiB,EAAeR,EAAOS,EAAM,SAAS,IAAIhB,EAAU,IAAMgB,EAAM,UAAwB,CAAA,CAAC,EACxF,CAACC,EAAcC,CAAe,EAAIC,EAAiB,EACnD,CAAE,MAAOC,CAAA,EAAgBC,EAAQZ,CAAS,GAAK,GAC/Ca,EAAUC,IACVC,EAAgBD,IAChBE,EAAiBF,IAEjBG,EAAa,IAAM,OACVb,KACbc,EAAAnB,EAAW,UAAX,MAAAmB,EAAoB,OAAM,EAGtBC,EAAc,IAAM,OACXf,KACbc,EAAAlB,EAAU,UAAV,MAAAkB,EAAmB,OAAM,EAsC3BE,EAAiBvB,EAnCiBwB,GAAyB,OAGrD,GAFJA,EAAM,eAAe,EAEjB,CAACf,EAAa,QAChB,OAGF,GAAKH,GAGM,GAAAkB,EAAM,MAAQC,EAAiB,QAAUnB,EAAQ,CAC9CgB,IACZ,MACF,MANa,CACAF,IACX,MACS,CAKL,MAAAM,EAAQjB,EAAa,QAAQ,aAAekB,EAAE,UAAYH,EAAM,MAAM,EAC5E,IAAII,EAAYF,EAEZF,EAAM,MAAQC,EAAiB,KACrBG,EAAA,EACHJ,EAAM,MAAQC,EAAiB,IAC5BG,EAAAnB,EAAa,QAAQ,OAAS,EACjCe,EAAM,MAAQC,EAAiB,WAAaC,EAAQjB,EAAa,QAAQ,OAAS,EAC3FmB,EAAYF,EAAQ,EACXF,EAAM,MAAQC,EAAiB,SAAWC,EAAQ,EAC3DE,EAAYF,EAAQ,EACXF,EAAM,MAAQC,EAAiB,OAASC,IAAU,KAC/CE,EAAAF,GAEVE,IAAc,MAChBP,EAAAZ,EAAa,QAAQmB,CAAS,EAAE,UAAhC,MAAAP,EAAyC,QACzCT,EAAgBgB,CAAS,EAC3B,EAGsD,CACtDH,EAAiB,UACjBA,EAAiB,QACjBA,EAAiB,IACjBA,EAAiB,MACjBA,EAAiB,OACjBA,EAAiB,IAAA,CAClB,EAEDI,EAAgB7B,EAAa,IAAMM,GAAUgB,EAAa,CAAA,EAE1D,MAAMQ,EAAgBC,EACpBC,EAAO,iBACP,CAACjC,GAAY,CACX,CAACiC,EAAO,4BAA4B,CAAC,EAAGrC,IAAS,UACjD,CAACqC,EAAO,2BAA2B,CAAC,EAAGrC,IAAS,SAChD,CAACqC,EAAO,gCAAgC,CAAC,EAAGrC,IAAS,cACrD,CAACqC,EAAO,6BAA6B,CAAC,EAAGrC,IAAS,WAClD,CAACqC,EAAO,+BAA+B,CAAC,EAAGpC,EAC3C,CAACoC,EAAO,yBAAyB,CAAC,EAAGnC,EACrC,CAACmC,EAAO,wBAAwB,CAAC,EAAG1B,CACtC,CAAA,EAGI2B,EAAiBF,EAAWC,EAAO,kBAAmB1B,GAAU0B,EAAO,yBAAyB,CAAC,EAEvG,OACGtB,EAAA,cAAA,MAAA,CAAI,UAAWsB,EAAO,SAAU,IAAKhC,CAAA,EACnCU,EAAA,cAAA,OAAA,CAAK,GAAIM,EAAS,UAAWgB,EAAO,iBAClC5C,CACH,EACAsB,EAAA,cAAC,SAAA,CACC,KAAK,SACL,QAAS,IAAM,CAACJ,GAAUc,EAAW,EACrC,UAAWU,EACX,IAAK3B,EACL,cAAaL,EACb,mBAAkBoC,EAAY,SAC9B,SAAAnC,EACA,kBAAiBmB,EACjB,gBAAc,UACd,gBAAeZ,CAAA,kBAEd,OAAK,CAAA,GAAIY,EAAe,UAAWc,EAAO,yBACxC3C,CACH,EACAqB,EAAA,cAACyB,EAAA,CACC,MAAOpC,EAAWqC,EAAM,QAAQ,WAAaA,EAAM,QAAQ,aAC3D,QAASC,EACT,UAAWL,EAAO,eAClB,UAAA5B,EACA,KAAMkC,EAAS,MAAA,CACjB,CAAA,EAEF5B,EAAA,cAAC,MAAI,CAAA,UAAWuB,EAAgB,MAAO,CAAE,MAAOpC,EAAQ,OAAS,GAAGiB,KAClE,CAAA,EAAAJ,EAAA,cAAC,KAAA,CACC,UAAWsB,EAAO,kBAClB,KAAK,UACL,kBAAiBhB,EACjB,SAAU,GACV,wBAAuB,OAAOL,EAAiB,IAAc,GAAGQ,KAAkBR,IAAiB,OACnG,IAAKT,CAAA,EAEJQ,EAAM,SAAS,IAAIhB,EAAU,CAAC6C,EAAOb,IACpC,OAAA,OAAAhB,EAAA,cAAC,KAAG,CAAA,UAAWsB,EAAO,gBAAiB,KAAK,SAAS,GAAI,GAAGb,KAAkBO,GAAA,EAC3EhB,EAAM,aAAa6B,EAA6B,CAAE,KAAKlB,EAAAZ,EAAa,UAAb,YAAAY,EAAuBK,EAAQ,CAAA,CACzF,EACD,CAAA,EAEF,CAACnC,mBACC,MAAI,CAAA,UAAWyC,EAAO,eACrB,EAAAtB,EAAA,cAAC8B,GAAO,QAASlB,EAAa,MAAK,GAAC,gBAAehB,GAChDhB,CACH,CACF,CAEJ,CACF,CAEJ,EAEAmD,GAAevD"}
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { TitleProps } from '../Title';
3
- export declare type DuolistVariants = 'normal' | 'line';
4
- export declare type BoldColumn = 'first' | 'second' | 'none';
5
- export declare type Border = 'no-border' | 'border';
6
- export declare type Formats = 'formatted' | 'non-formatted';
3
+ export type DuolistVariants = 'normal' | 'line';
4
+ export type BoldColumn = 'first' | 'second' | 'none';
5
+ export type Border = 'no-border' | 'border';
6
+ export type Formats = 'formatted' | 'non-formatted';
7
7
  interface DuolistProps {
8
8
  /** Determines which column is bold */
9
9
  boldColumn?: BoldColumn;
@@ -1 +1 @@
1
- {"version":3,"file":"Duolist.d.ts","sourceRoot":"","sources":["../../../src/components/Duolist/Duolist.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,oBAAY,eAAe,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChD,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AACrD,oBAAY,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC5C,oBAAY,OAAO,GAAG,WAAW,GAAG,eAAe,CAAC;AAEpD,UAAU,YAAY;IACpB,sCAAsC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,uCAAuC;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,iBAAiB;IACzB,sCAAsC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,oCAAoC;IACpC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4BpD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyD1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Duolist.d.ts","sourceRoot":"","sources":["../../../src/components/Duolist/Duolist.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AACrD,MAAM,MAAM,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC5C,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG,eAAe,CAAC;AAEpD,UAAU,YAAY;IACpB,sCAAsC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,uCAAuC;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,iBAAiB;IACzB,sCAAsC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,oCAAoC;IACpC,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4BpD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyD1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,2 +1,2 @@
1
- import t from"react";import u from"classnames";import o from"./styles.module.scss";import{AnalyticsId as w}from"../../constants.js";import{S as B}from"../../Spacer.js";import"../Spacer/styles.module.scss";const D=c=>{const{format:n="formatted",boldColumn:a=n==="non-formatted"?"none":"first",description:d,separator:r=": ",term:l}=c,p=a==="first",f=a==="second",e=n==="non-formatted",C=u(o.duolist__dt,{[o["duolist__dt--bold"]]:p,[o["duolist__dt--non-formatted"]]:e}),_=u(o.duolist__dd,{[o["duolist__dd--bold"]]:f,[o["duolist__dd--non-formatted"]]:e}),s=()=>t.createElement(t.Fragment,null,t.createElement("dt",{"data-separator":e?r:void 0,className:C},l),t.createElement("dd",{className:_},d));return e?t.createElement("div",null,s()):t.createElement(t.Fragment,null,s())},L=c=>{const{boldColumn:n,border:a="no-border",descriptionWidth:d,label:r,format:l="formatted",separator:p,variant:f="normal",children:e,className:C,testId:_}=c,s=a==="border",b=f==="line",v=s&&(r||b),E=l==="non-formatted",F=u(o["duolist-wrapper"],{[o["duolist-wrapper--border"]]:s,[o["duolist-wrapper--extra-padding-top"]]:v},C),x=u(o.duolist,{[o["duolist--line"]]:b,[o["duolist--non-formatted"]]:E}),S=d?d+"%":"minmax(60%, 1fr)";return t.createElement("div",{className:F,"data-testid":_,"data-analyticsid":w.Duolist},r&&t.createElement(t.Fragment,null,r,t.createElement(B,null)),t.createElement("dl",{style:E?void 0:{gridTemplateColumns:`auto ${S}`},className:x},t.Children.map(e,m=>{var N,y,g;if(m===null||typeof m>"u")return;const i=m;if(i.type===D)return t.cloneElement(m,{boldColumn:(N=i.props.boldColumn)!=null?N:n,format:(y=i.props.format)!=null?y:l,separator:(g=i.props.separator)!=null?g:p})})))};export{L as Duolist,D as DuolistGroup,L as default};
1
+ import t from"react";import u from"classnames";import{AnalyticsId as F}from"../../constants.js";import{S as x}from"../../Spacer.js";import o from"./styles.module.scss";import"../Spacer/styles.module.scss";const D=c=>{const{format:n="formatted",boldColumn:a=n==="non-formatted"?"none":"first",description:d,separator:r=": ",term:l}=c,p=a==="first",f=a==="second",e=n==="non-formatted",C=u(o.duolist__dt,{[o["duolist__dt--bold"]]:p,[o["duolist__dt--non-formatted"]]:e}),_=u(o.duolist__dd,{[o["duolist__dd--bold"]]:f,[o["duolist__dd--non-formatted"]]:e}),s=()=>t.createElement(t.Fragment,null,t.createElement("dt",{"data-separator":e?r:void 0,className:C},l),t.createElement("dd",{className:_},d));return e?t.createElement("div",null,s()):t.createElement(t.Fragment,null,s())},S=c=>{const{boldColumn:n,border:a="no-border",descriptionWidth:d,label:r,format:l="formatted",separator:p,variant:f="normal",children:e,className:C,testId:_}=c,s=a==="border",b=f==="line",N=s&&(r||b),E=l==="non-formatted",y=u(o["duolist-wrapper"],{[o["duolist-wrapper--border"]]:s,[o["duolist-wrapper--extra-padding-top"]]:N},C),g=u(o.duolist,{[o["duolist--line"]]:b,[o["duolist--non-formatted"]]:E}),v=d?d+"%":"minmax(60%, 1fr)";return t.createElement("div",{className:y,"data-testid":_,"data-analyticsid":F.Duolist},r&&t.createElement(t.Fragment,null,r,t.createElement(x,null)),t.createElement("dl",{style:E?void 0:{gridTemplateColumns:`auto ${v}`},className:g},t.Children.map(e,m=>{if(m===null||typeof m>"u")return;const i=m;if(i.type===D)return t.cloneElement(m,{boldColumn:i.props.boldColumn??n,format:i.props.format??l,separator:i.props.separator??p})})))},W=S;export{S as Duolist,D as DuolistGroup,W as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Duolist/Duolist.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\n\nimport duolistStyles from './styles.module.scss';\nimport { AnalyticsId } from '../../constants';\nimport { TitleProps } from '../Title';\nimport Spacer from '../Spacer';\n\nexport type DuolistVariants = 'normal' | 'line';\nexport type BoldColumn = 'first' | 'second' | 'none';\nexport type Border = 'no-border' | 'border';\nexport type Formats = 'formatted' | 'non-formatted';\n\ninterface DuolistProps {\n /** Determines which column is bold */\n boldColumn?: BoldColumn;\n /** Label of the Duolist */\n border?: Border;\n /** Label of the Duolist */\n label?: TitleProps;\n /** Formatted or non-formatted visual variants */\n format?: Formats;\n /** Character separator for non-formatted format */\n separator?: string;\n /** Sets the visual variant of the Duolist. */\n variant?: DuolistVariants;\n /** Sets the content of the Duolist. */\n children: React.ReactNode;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Width of the description column in percentage */\n descriptionWidth?: number;\n}\n\ninterface DuolistGroupProps {\n /** Determines which column is bold */\n boldColumn?: BoldColumn;\n /** Sets content of the <dd> tag. */\n description: React.ReactNode;\n /** Formatted or non-formatted visual variants */\n format?: Formats;\n /** Character separator for non-formatted format */\n separator?: string;\n /** Sets content of the <dt> tag. */\n term: React.ReactNode;\n}\n\nexport const DuolistGroup: React.FC<DuolistGroupProps> = props => {\n const { format = 'formatted', boldColumn = format === 'non-formatted' ? 'none' : 'first', description, separator = ': ', term } = props;\n\n const firstBold = boldColumn === 'first';\n const secondBold = boldColumn === 'second';\n const nonFormatted = format === 'non-formatted';\n\n const dtClassNames = classNames(duolistStyles['duolist__dt'], {\n [duolistStyles['duolist__dt--bold']]: firstBold,\n [duolistStyles['duolist__dt--non-formatted']]: nonFormatted,\n });\n const ddClassNames = classNames(duolistStyles['duolist__dd'], {\n [duolistStyles['duolist__dd--bold']]: secondBold,\n [duolistStyles['duolist__dd--non-formatted']]: nonFormatted,\n });\n\n const renderContent = () => {\n return (\n <>\n <dt data-separator={nonFormatted ? separator : undefined} className={dtClassNames}>\n {term}\n </dt>\n <dd className={ddClassNames}>{description}</dd>\n </>\n );\n };\n\n return nonFormatted ? <div>{renderContent()}</div> : <>{renderContent()}</>;\n};\n\nexport const Duolist: React.FC<DuolistProps> = props => {\n const {\n boldColumn,\n border = 'no-border',\n descriptionWidth,\n label,\n format = 'formatted',\n separator,\n variant = 'normal',\n children,\n className,\n testId,\n } = props;\n\n const hasBorder = border === 'border';\n const hasLines = variant === 'line';\n const extraPaddingTop = hasBorder && (label || hasLines);\n const nonFormatted = format === 'non-formatted';\n\n const duolistWrapperClasses = classNames(\n duolistStyles['duolist-wrapper'],\n {\n [duolistStyles['duolist-wrapper--border']]: hasBorder,\n [duolistStyles['duolist-wrapper--extra-padding-top']]: extraPaddingTop,\n },\n className\n );\n\n const duolistClasses = classNames(duolistStyles.duolist, {\n [duolistStyles['duolist--line']]: hasLines,\n [duolistStyles['duolist--non-formatted']]: nonFormatted,\n });\n const duolistColumnStyle = descriptionWidth ? descriptionWidth + '%' : 'minmax(60%, 1fr)';\n\n return (\n <div className={duolistWrapperClasses} data-testid={testId} data-analyticsid={AnalyticsId.Duolist}>\n {label && (\n <>\n {label}\n <Spacer />\n </>\n )}\n <dl style={!nonFormatted ? { gridTemplateColumns: `auto ${duolistColumnStyle}` } : undefined} className={duolistClasses}>\n {React.Children.map(children, (child: React.ReactNode | React.ReactElement<DuolistGroupProps>) => {\n if (child === null || typeof child === 'undefined') return;\n const duolistGroup = child as React.ReactElement<DuolistGroupProps>;\n if (duolistGroup.type === DuolistGroup) {\n return React.cloneElement(child as React.ReactElement<DuolistGroupProps>, {\n boldColumn: duolistGroup.props.boldColumn ?? boldColumn,\n format: duolistGroup.props.format ?? format,\n separator: duolistGroup.props.separator ?? separator,\n });\n }\n })}\n </dl>\n </div>\n );\n};\n\nexport default Duolist;\n"],"names":["DuolistGroup","props","format","boldColumn","description","separator","term","firstBold","secondBold","nonFormatted","dtClassNames","classNames","duolistStyles","ddClassNames","renderContent","React","Duolist","border","descriptionWidth","label","variant","children","className","testId","hasBorder","hasLines","extraPaddingTop","duolistWrapperClasses","duolistClasses","duolistColumnStyle","AnalyticsId","Spacer","child","duolistGroup","_a","_b","_c"],"mappings":"6MAiDO,MAAMA,EAAqDC,GAAA,CAChE,KAAM,CAAE,OAAAC,EAAS,YAAa,WAAAC,EAAaD,IAAW,gBAAkB,OAAS,QAAS,YAAAE,EAAa,UAAAC,EAAY,KAAM,KAAAC,CAAA,EAASL,EAE5HM,EAAYJ,IAAe,QAC3BK,EAAaL,IAAe,SAC5BM,EAAeP,IAAW,gBAE1BQ,EAAeC,EAAWC,EAAc,YAAgB,CAC5D,CAACA,EAAc,sBAAuBL,EACtC,CAACK,EAAc,+BAAgCH,CAAA,CAChD,EACKI,EAAeF,EAAWC,EAAc,YAAgB,CAC5D,CAACA,EAAc,sBAAuBJ,EACtC,CAACI,EAAc,+BAAgCH,CAAA,CAChD,EAEKK,EAAgB,oCAGfC,EAAA,cAAA,KAAA,CAAG,iBAAgBN,EAAeJ,EAAY,OAAW,UAAWK,CAClE,EAAAJ,CACH,EACCS,EAAA,cAAA,KAAA,CAAG,UAAWF,CAAA,EAAeT,CAAY,CAC5C,EAIG,OAAAK,kBAAgB,MAAK,KAAAK,EAAgB,CAAA,EAASC,EAAA,cAAAA,EAAA,SAAA,KAAGD,EAAgB,CAAA,CAC1E,EAEaE,EAA2Cf,GAAA,CAChD,KAAA,CACJ,WAAAE,EACA,OAAAc,EAAS,YACT,iBAAAC,EACA,MAAAC,EACA,OAAAjB,EAAS,YACT,UAAAG,EACA,QAAAe,EAAU,SACV,SAAAC,EACA,UAAAC,EACA,OAAAC,CACE,EAAAtB,EAEEuB,EAAYP,IAAW,SACvBQ,EAAWL,IAAY,OACvBM,EAAkBF,IAAcL,GAASM,GACzChB,EAAeP,IAAW,gBAE1ByB,EAAwBhB,EAC5BC,EAAc,mBACd,CACE,CAACA,EAAc,4BAA6BY,EAC5C,CAACZ,EAAc,uCAAwCc,CACzD,EACAJ,CAAA,EAGIM,EAAiBjB,EAAWC,EAAc,QAAS,CACvD,CAACA,EAAc,kBAAmBa,EAClC,CAACb,EAAc,2BAA4BH,CAAA,CAC5C,EACKoB,EAAqBX,EAAmBA,EAAmB,IAAM,mBAEvE,OACGH,EAAA,cAAA,MAAA,CAAI,UAAWY,EAAuB,cAAaJ,EAAQ,mBAAkBO,EAAY,OAAA,EACvFX,GAEIJ,EAAA,cAAAA,EAAA,SAAA,KAAAI,kBACAY,EAAO,IAAA,CACV,EAEDhB,EAAA,cAAA,KAAA,CAAG,MAAQN,EAAuE,OAAxD,CAAE,oBAAqB,QAAQoB,GAAyB,EAAW,UAAWD,CAAA,EACtGb,EAAM,SAAS,IAAIM,EAAWW,GAAmE,WAC5F,GAAAA,IAAU,MAAQ,OAAOA,EAAU,IAAa,OACpD,MAAMC,EAAeD,EACjB,GAAAC,EAAa,OAASjC,EACjB,OAAAe,EAAM,aAAaiB,EAAgD,CACxE,YAAYE,EAAAD,EAAa,MAAM,aAAnB,KAAAC,EAAiC/B,EAC7C,QAAQgC,EAAAF,EAAa,MAAM,SAAnB,KAAAE,EAA6BjC,EACrC,WAAWkC,EAAAH,EAAa,MAAM,YAAnB,KAAAG,EAAgC/B,CAAA,CAC5C,CAEJ,CAAA,CACH,CACF,CAEJ"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Duolist/Duolist.tsx"],"sourcesContent":["import React from 'react';\n\nimport classNames from 'classnames';\n\nimport { AnalyticsId } from '../../constants';\nimport Spacer from '../Spacer';\nimport { TitleProps } from '../Title';\n\nimport duolistStyles from './styles.module.scss';\n\nexport type DuolistVariants = 'normal' | 'line';\nexport type BoldColumn = 'first' | 'second' | 'none';\nexport type Border = 'no-border' | 'border';\nexport type Formats = 'formatted' | 'non-formatted';\n\ninterface DuolistProps {\n /** Determines which column is bold */\n boldColumn?: BoldColumn;\n /** Label of the Duolist */\n border?: Border;\n /** Label of the Duolist */\n label?: TitleProps;\n /** Formatted or non-formatted visual variants */\n format?: Formats;\n /** Character separator for non-formatted format */\n separator?: string;\n /** Sets the visual variant of the Duolist. */\n variant?: DuolistVariants;\n /** Sets the content of the Duolist. */\n children: React.ReactNode;\n /** Adds custom classes to the element. */\n className?: string;\n /** Sets the data-testid attribute. */\n testId?: string;\n /** Width of the description column in percentage */\n descriptionWidth?: number;\n}\n\ninterface DuolistGroupProps {\n /** Determines which column is bold */\n boldColumn?: BoldColumn;\n /** Sets content of the <dd> tag. */\n description: React.ReactNode;\n /** Formatted or non-formatted visual variants */\n format?: Formats;\n /** Character separator for non-formatted format */\n separator?: string;\n /** Sets content of the <dt> tag. */\n term: React.ReactNode;\n}\n\nexport const DuolistGroup: React.FC<DuolistGroupProps> = props => {\n const { format = 'formatted', boldColumn = format === 'non-formatted' ? 'none' : 'first', description, separator = ': ', term } = props;\n\n const firstBold = boldColumn === 'first';\n const secondBold = boldColumn === 'second';\n const nonFormatted = format === 'non-formatted';\n\n const dtClassNames = classNames(duolistStyles['duolist__dt'], {\n [duolistStyles['duolist__dt--bold']]: firstBold,\n [duolistStyles['duolist__dt--non-formatted']]: nonFormatted,\n });\n const ddClassNames = classNames(duolistStyles['duolist__dd'], {\n [duolistStyles['duolist__dd--bold']]: secondBold,\n [duolistStyles['duolist__dd--non-formatted']]: nonFormatted,\n });\n\n const renderContent = () => {\n return (\n <>\n <dt data-separator={nonFormatted ? separator : undefined} className={dtClassNames}>\n {term}\n </dt>\n <dd className={ddClassNames}>{description}</dd>\n </>\n );\n };\n\n return nonFormatted ? <div>{renderContent()}</div> : <>{renderContent()}</>;\n};\n\nexport const Duolist: React.FC<DuolistProps> = props => {\n const {\n boldColumn,\n border = 'no-border',\n descriptionWidth,\n label,\n format = 'formatted',\n separator,\n variant = 'normal',\n children,\n className,\n testId,\n } = props;\n\n const hasBorder = border === 'border';\n const hasLines = variant === 'line';\n const extraPaddingTop = hasBorder && (label || hasLines);\n const nonFormatted = format === 'non-formatted';\n\n const duolistWrapperClasses = classNames(\n duolistStyles['duolist-wrapper'],\n {\n [duolistStyles['duolist-wrapper--border']]: hasBorder,\n [duolistStyles['duolist-wrapper--extra-padding-top']]: extraPaddingTop,\n },\n className\n );\n\n const duolistClasses = classNames(duolistStyles.duolist, {\n [duolistStyles['duolist--line']]: hasLines,\n [duolistStyles['duolist--non-formatted']]: nonFormatted,\n });\n const duolistColumnStyle = descriptionWidth ? descriptionWidth + '%' : 'minmax(60%, 1fr)';\n\n return (\n <div className={duolistWrapperClasses} data-testid={testId} data-analyticsid={AnalyticsId.Duolist}>\n {label && (\n <>\n {label}\n <Spacer />\n </>\n )}\n <dl style={!nonFormatted ? { gridTemplateColumns: `auto ${duolistColumnStyle}` } : undefined} className={duolistClasses}>\n {React.Children.map(children, (child: React.ReactNode | React.ReactElement<DuolistGroupProps>) => {\n if (child === null || typeof child === 'undefined') return;\n const duolistGroup = child as React.ReactElement<DuolistGroupProps>;\n if (duolistGroup.type === DuolistGroup) {\n return React.cloneElement(child as React.ReactElement<DuolistGroupProps>, {\n boldColumn: duolistGroup.props.boldColumn ?? boldColumn,\n format: duolistGroup.props.format ?? format,\n separator: duolistGroup.props.separator ?? separator,\n });\n }\n })}\n </dl>\n </div>\n );\n};\n\nexport default Duolist;\n"],"names":["DuolistGroup","props","format","boldColumn","description","separator","term","firstBold","secondBold","nonFormatted","dtClassNames","classNames","duolistStyles","ddClassNames","renderContent","React","Duolist","border","descriptionWidth","label","variant","children","className","testId","hasBorder","hasLines","extraPaddingTop","duolistWrapperClasses","duolistClasses","duolistColumnStyle","AnalyticsId","Spacer","child","duolistGroup","Duolist$1"],"mappings":"6MAmDO,MAAMA,EAAqDC,GAAA,CAChE,KAAM,CAAE,OAAAC,EAAS,YAAa,WAAAC,EAAaD,IAAW,gBAAkB,OAAS,QAAS,YAAAE,EAAa,UAAAC,EAAY,KAAM,KAAAC,CAAA,EAASL,EAE5HM,EAAYJ,IAAe,QAC3BK,EAAaL,IAAe,SAC5BM,EAAeP,IAAW,gBAE1BQ,EAAeC,EAAWC,EAAc,YAAgB,CAC5D,CAACA,EAAc,mBAAmB,CAAC,EAAGL,EACtC,CAACK,EAAc,4BAA4B,CAAC,EAAGH,CAAA,CAChD,EACKI,EAAeF,EAAWC,EAAc,YAAgB,CAC5D,CAACA,EAAc,mBAAmB,CAAC,EAAGJ,EACtC,CAACI,EAAc,4BAA4B,CAAC,EAAGH,CAAA,CAChD,EAEKK,EAAgB,oCAGfC,EAAA,cAAA,KAAA,CAAG,iBAAgBN,EAAeJ,EAAY,OAAW,UAAWK,CAClE,EAAAJ,CACH,EACCS,EAAA,cAAA,KAAA,CAAG,UAAWF,GAAeT,CAAY,CAC5C,EAIG,OAAAK,kBAAgB,MAAK,KAAAK,EAAgB,CAAA,EAASC,EAAA,cAAAA,EAAA,SAAA,KAAGD,EAAgB,CAAA,CAC1E,EAEaE,EAA2Cf,GAAA,CAChD,KAAA,CACJ,WAAAE,EACA,OAAAc,EAAS,YACT,iBAAAC,EACA,MAAAC,EACA,OAAAjB,EAAS,YACT,UAAAG,EACA,QAAAe,EAAU,SACV,SAAAC,EACA,UAAAC,EACA,OAAAC,CACE,EAAAtB,EAEEuB,EAAYP,IAAW,SACvBQ,EAAWL,IAAY,OACvBM,EAAkBF,IAAcL,GAASM,GACzChB,EAAeP,IAAW,gBAE1ByB,EAAwBhB,EAC5BC,EAAc,iBAAiB,EAC/B,CACE,CAACA,EAAc,yBAAyB,CAAC,EAAGY,EAC5C,CAACZ,EAAc,oCAAoC,CAAC,EAAGc,CACzD,EACAJ,CAAA,EAGIM,EAAiBjB,EAAWC,EAAc,QAAS,CACvD,CAACA,EAAc,eAAe,CAAC,EAAGa,EAClC,CAACb,EAAc,wBAAwB,CAAC,EAAGH,CAAA,CAC5C,EACKoB,EAAqBX,EAAmBA,EAAmB,IAAM,mBAEvE,OACGH,EAAA,cAAA,MAAA,CAAI,UAAWY,EAAuB,cAAaJ,EAAQ,mBAAkBO,EAAY,OAAA,EACvFX,GAEIJ,EAAA,cAAAA,EAAA,SAAA,KAAAI,EACAJ,EAAA,cAAAgB,EAAA,IAAO,CACV,EAEFhB,EAAA,cAAC,KAAG,CAAA,MAAQN,EAAuE,OAAxD,CAAE,oBAAqB,QAAQoB,GAAqB,EAAe,UAAWD,GACtGb,EAAM,SAAS,IAAIM,EAAWW,GAAmE,CAC5F,GAAAA,IAAU,MAAQ,OAAOA,EAAU,IAAa,OACpD,MAAMC,EAAeD,EACjB,GAAAC,EAAa,OAASjC,EACjB,OAAAe,EAAM,aAAaiB,EAAgD,CACxE,WAAYC,EAAa,MAAM,YAAc9B,EAC7C,OAAQ8B,EAAa,MAAM,QAAU/B,EACrC,UAAW+B,EAAa,MAAM,WAAa5B,CAAA,CAC5C,CAEJ,CAAA,CACH,CACF,CAEJ,EAEA6B,EAAelB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorWrapper/ErrorWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ErrorWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorWrapper/ErrorWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"props":{"errorText":{"defaultValue":null,"description":"Error message","name":"errorText","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Form component","name":"children","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},{"fileName":"designsystem/node_modules/@types/react/index.d.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"ReactNode"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}}}}
1
+ {"props":{"errorText":{"defaultValue":null,"description":"Error message","name":"errorText","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}},"children":{"defaultValue":null,"description":"Form component","name":"children","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},{"fileName":"s/node_modules/@types/react/index.d.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"ReactNode"}},"className":{"defaultValue":null,"description":"Adds custom classes to the element.","name":"className","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}},"testId":{"defaultValue":null,"description":"Sets the data-testid attribute.","name":"testId","parent":{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"},"declarations":[{"fileName":"src/components/ErrorWrapper/ErrorWrapper.tsx","name":"ErrorWrapperProps"}],"required":false,"type":{"name":"string"}}}}