@helsenorge/designsystem-react 1.0.0-beta137 → 1.0.0-beta140

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 (393) hide show
  1. package/{AlertSignFill-a4281dbe.js → AlertSignFill-5df5b7c7.js} +2 -2
  2. package/AlertSignFill-5df5b7c7.js.map +1 -0
  3. package/{AlertSignStroke-dee7da33.js → AlertSignStroke-32f09751.js} +2 -2
  4. package/AlertSignStroke-32f09751.js.map +1 -0
  5. package/AnchorLink-d5aca698.js +2 -0
  6. package/AnchorLink-d5aca698.js.map +1 -0
  7. package/ArrowDown-88b2c27a.js +2 -0
  8. package/ArrowDown-88b2c27a.js.map +1 -0
  9. package/{ArrowRight-1ccb58be.js → ArrowRight-43c97f7a.js} +2 -2
  10. package/ArrowRight-43c97f7a.js.map +1 -0
  11. package/ArrowUp-e7787d9c.js +2 -0
  12. package/ArrowUp-e7787d9c.js.map +1 -0
  13. package/{ArrowUpRight-209b1749.js → ArrowUpRight-5be53e0d.js} +2 -2
  14. package/ArrowUpRight-5be53e0d.js.map +1 -0
  15. package/{Badge-b651a9fc.js → Badge-eebcb720.js} +2 -2
  16. package/Badge-eebcb720.js.map +1 -0
  17. package/{Button-41d2f9a6.js → Button-78f848e6.js} +2 -2
  18. package/Button-78f848e6.js.map +1 -0
  19. package/{Calendar-926618b6.js → Calendar-a9aa98de.js} +2 -2
  20. package/Calendar-a9aa98de.js.map +1 -0
  21. package/{Check-026c98a8.js → Check-fdf95f67.js} +2 -2
  22. package/Check-fdf95f67.js.map +1 -0
  23. package/{Checkbox-2cffb399.js → Checkbox-b0815d04.js} +2 -2
  24. package/Checkbox-b0815d04.js.map +1 -0
  25. package/{ChevronDown-d799367a.js → ChevronDown-2b3daace.js} +2 -2
  26. package/ChevronDown-2b3daace.js.map +1 -0
  27. package/{ChevronRight-5087373d.js → ChevronRight-5ab9349b.js} +2 -2
  28. package/ChevronRight-5ab9349b.js.map +1 -0
  29. package/{ChevronUp-ed252eb6.js → ChevronUp-dfafe27b.js} +2 -2
  30. package/ChevronUp-dfafe27b.js.map +1 -0
  31. package/{Close-1846777e.js → Close-08d48540.js} +2 -2
  32. package/Close-08d48540.js.map +1 -0
  33. package/FormGroup-c32db99d.js +2 -0
  34. package/FormGroup-c32db99d.js.map +1 -0
  35. package/FormLayout-1a6866fe.js +2 -0
  36. package/FormLayout-1a6866fe.js.map +1 -0
  37. package/{Group-777dfb43.js → Group-71b8ae99.js} +2 -2
  38. package/Group-71b8ae99.js.map +1 -0
  39. package/HelpBubble-2efa4680.js +2 -0
  40. package/HelpBubble-2efa4680.js.map +1 -0
  41. package/{Hospital-8d5ea230.js → Hospital-e9e6a0b3.js} +2 -2
  42. package/Hospital-e9e6a0b3.js.map +1 -0
  43. package/{Icon-91bb7737.js → Icon-d69d65b3.js} +2 -2
  44. package/Icon-d69d65b3.js.map +1 -0
  45. package/{InfoSignStroke-0c13eebe.js → InfoSignStroke-f10d62aa.js} +2 -2
  46. package/InfoSignStroke-f10d62aa.js.map +1 -0
  47. package/Input-9ccf3867.js +2 -0
  48. package/Input-9ccf3867.js.map +1 -0
  49. package/{Loader-7a90b2b8.js → Loader-06293a27.js} +2 -2
  50. package/Loader-06293a27.js.map +1 -0
  51. package/{Modal-9b7c8a39.js → Modal-3ed00fd4.js} +2 -2
  52. package/Modal-3ed00fd4.js.map +1 -0
  53. package/{NoAccess-14f5700e.js → NoAccess-53a59f7d.js} +2 -2
  54. package/NoAccess-53a59f7d.js.map +1 -0
  55. package/Panel-1ce6fe37.js +2 -0
  56. package/Panel-1ce6fe37.js.map +1 -0
  57. package/{Pencil-d3aeffa1.js → Pencil-dd3fe667.js} +2 -2
  58. package/Pencil-dd3fe667.js.map +1 -0
  59. package/{PlusSmall-5b12d79f.js → PlusSmall-430bf03a.js} +2 -2
  60. package/PlusSmall-430bf03a.js.map +1 -0
  61. package/{RadioButton-3e95b8fa.js → RadioButton-3ce7a88d.js} +2 -2
  62. package/RadioButton-3ce7a88d.js.map +1 -0
  63. package/TableBody-eac2c23b.js +2 -0
  64. package/TableBody-eac2c23b.js.map +1 -0
  65. package/TableCell-cc644eb5.js +2 -0
  66. package/TableCell-cc644eb5.js.map +1 -0
  67. package/TableExpandedRow-44b09912.js +2 -0
  68. package/TableExpandedRow-44b09912.js.map +1 -0
  69. package/TableExpanderCell-015d3db2.js +2 -0
  70. package/TableExpanderCell-015d3db2.js.map +1 -0
  71. package/TableHead-5ed58948.js +2 -0
  72. package/TableHead-5ed58948.js.map +1 -0
  73. package/TableHeadCell-84651910.js +2 -0
  74. package/TableHeadCell-84651910.js.map +1 -0
  75. package/TableRow-19db3001.js +2 -0
  76. package/TableRow-19db3001.js.map +1 -0
  77. package/Textarea-56a24cb9.js +2 -0
  78. package/Textarea-56a24cb9.js.map +1 -0
  79. package/Title-01820508.js +2 -0
  80. package/Title-01820508.js.map +1 -0
  81. package/Tooltip-d8293023.js +2 -0
  82. package/Tooltip-d8293023.js.map +1 -0
  83. package/{Undo-d7e73ddf.js → Undo-cc42e7d0.js} +2 -2
  84. package/Undo-cc42e7d0.js.map +1 -0
  85. package/Validation-087d9955.js +2 -0
  86. package/Validation-087d9955.js.map +1 -0
  87. package/{Watch-b2904174.js → Watch-3d5fc351.js} +2 -2
  88. package/Watch-3d5fc351.js.map +1 -0
  89. package/{X-b4f72c96.js → X-867957f2.js} +2 -2
  90. package/X-867957f2.js.map +1 -0
  91. package/components/AnchorLink/AnchorLink.d.ts +7 -2
  92. package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
  93. package/components/AnchorLink/componentdata.json +51 -1
  94. package/components/AnchorLink/index.js +1 -1
  95. package/components/AnchorLink/styles.module.scss +26 -8
  96. package/components/AnchorLink/styles.module.scss.d.ts +1 -0
  97. package/components/Avatar/index.js +1 -1
  98. package/components/Badge/index.js +1 -1
  99. package/components/Button/Button.d.ts +1 -1
  100. package/components/Button/Button.d.ts.map +1 -1
  101. package/components/Button/componentdata.json +1 -1
  102. package/components/Button/index.js +1 -1
  103. package/components/ButtonWithModal/index.js +1 -1
  104. package/components/Checkbox/index.js +1 -1
  105. package/components/Close/index.js +1 -1
  106. package/components/Dropdown/index.js +1 -1
  107. package/components/Expander/Expander.d.ts +1 -1
  108. package/components/Expander/Expander.d.ts.map +1 -1
  109. package/components/Expander/componentdata.json +1 -1
  110. package/components/Expander/index.js +1 -1
  111. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  112. package/components/ExpanderList/index.js +1 -1
  113. package/components/ExpanderList/styles.module.scss +14 -3
  114. package/components/ExpanderList/styles.module.scss.d.ts +3 -0
  115. package/components/FormExample/index.js +1 -1
  116. package/components/FormGroup/index.js +1 -1
  117. package/components/FormGroup/styles.module.scss +0 -1
  118. package/components/FormLayout/index.js +1 -1
  119. package/components/HelpBubble/HelpBubble.d.ts +4 -0
  120. package/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  121. package/components/HelpBubble/componentdata.json +38 -0
  122. package/components/HelpBubble/index.js +1 -1
  123. package/components/HelpBubble/styles.module.scss +4 -0
  124. package/components/HelpBubble/styles.module.scss.d.ts +2 -0
  125. package/components/HelpBubbleExample/componentdata.json +38 -0
  126. package/components/HelpBubbleExample/index.js +1 -1
  127. package/components/HighlightBox/index.js +1 -1
  128. package/components/Icons/AcupunctureBack.js +1 -1
  129. package/components/Icons/AlarmClock.js +1 -1
  130. package/components/Icons/AlertSignFill.js +1 -1
  131. package/components/Icons/AlertSignStroke.js +1 -1
  132. package/components/Icons/Archive.js +1 -1
  133. package/components/Icons/ArrowDown.d.ts +5 -0
  134. package/components/Icons/ArrowDown.d.ts.map +1 -0
  135. package/components/Icons/ArrowDown.js +2 -0
  136. package/components/Icons/ArrowDown.js.map +1 -0
  137. package/components/Icons/ArrowLeft.js +1 -1
  138. package/components/Icons/ArrowRight.js +1 -1
  139. package/components/Icons/ArrowUp.d.ts +5 -0
  140. package/components/Icons/ArrowUp.d.ts.map +1 -0
  141. package/components/Icons/ArrowUp.js +2 -0
  142. package/components/Icons/ArrowUp.js.map +1 -0
  143. package/components/Icons/ArrowUpRight.js +1 -1
  144. package/components/Icons/Attachment.js +1 -1
  145. package/components/Icons/Avatar.js +1 -1
  146. package/components/Icons/Bus.js +1 -1
  147. package/components/Icons/Calendar.js +1 -1
  148. package/components/Icons/CalendarChange.js +1 -1
  149. package/components/Icons/CalendarCheck.js +1 -1
  150. package/components/Icons/CalendarSave.js +1 -1
  151. package/components/Icons/Change.js +1 -1
  152. package/components/Icons/Check.js +1 -1
  153. package/components/Icons/CheckFill.js +1 -1
  154. package/components/Icons/ChevronDown.js +1 -1
  155. package/components/Icons/ChevronLeft.js +1 -1
  156. package/components/Icons/ChevronRight.js +1 -1
  157. package/components/Icons/ChevronUp.js +1 -1
  158. package/components/Icons/ChevronsDown.js +1 -1
  159. package/components/Icons/ChevronsUp.js +1 -1
  160. package/components/Icons/Contacts.js +1 -1
  161. package/components/Icons/Copy.js +1 -1
  162. package/components/Icons/Download.js +1 -1
  163. package/components/Icons/EChat.js +1 -1
  164. package/components/Icons/EnterFullScreen.js +1 -1
  165. package/components/Icons/Envelope.js +1 -1
  166. package/components/Icons/Eraser.js +1 -1
  167. package/components/Icons/ErrorSignFill.js +1 -1
  168. package/components/Icons/ErrorSignStroke.js +1 -1
  169. package/components/Icons/ExitFullScreen.js +1 -1
  170. package/components/Icons/Eye.js +1 -1
  171. package/components/Icons/Form.js +1 -1
  172. package/components/Icons/Forward.js +1 -1
  173. package/components/Icons/Gallery.js +1 -1
  174. package/components/Icons/Globe.js +1 -1
  175. package/components/Icons/Group.js +1 -1
  176. package/components/Icons/Heart.js +1 -1
  177. package/components/Icons/HelpSign.js +1 -1
  178. package/components/Icons/History.js +1 -1
  179. package/components/Icons/Home.js +1 -1
  180. package/components/Icons/Hospital.js +1 -1
  181. package/components/Icons/Hourglass.js +1 -1
  182. package/components/Icons/Icon.js +1 -1
  183. package/components/Icons/InfoSignFill.js +1 -1
  184. package/components/Icons/InfoSignStroke.js +1 -1
  185. package/components/Icons/Journal.js +1 -1
  186. package/components/Icons/List.js +1 -1
  187. package/components/Icons/Location.js +1 -1
  188. package/components/Icons/Lock.js +1 -1
  189. package/components/Icons/Medicine.js +1 -1
  190. package/components/Icons/Menu.js +1 -1
  191. package/components/Icons/Minus.js +1 -1
  192. package/components/Icons/MobilePhone.js +1 -1
  193. package/components/Icons/NoAccess.js +1 -1
  194. package/components/Icons/NoEye.js +1 -1
  195. package/components/Icons/NoFilter.js +1 -1
  196. package/components/Icons/PaperPlane.js +1 -1
  197. package/components/Icons/Pause.js +1 -1
  198. package/components/Icons/Pencil.js +1 -1
  199. package/components/Icons/Play.js +1 -1
  200. package/components/Icons/PlusLarge.js +1 -1
  201. package/components/Icons/PlusSmall.js +1 -1
  202. package/components/Icons/Printer.js +1 -1
  203. package/components/Icons/QrCode.js +1 -1
  204. package/components/Icons/Receptionist.js +1 -1
  205. package/components/Icons/Referral.js +1 -1
  206. package/components/Icons/Refresh.js +1 -1
  207. package/components/Icons/Reply.js +1 -1
  208. package/components/Icons/Save.js +1 -1
  209. package/components/Icons/Search.js +1 -1
  210. package/components/Icons/SectionSign.js +1 -1
  211. package/components/Icons/Settings.js +1 -1
  212. package/components/Icons/Share.js +1 -1
  213. package/components/Icons/SpeechBubble.js +1 -1
  214. package/components/Icons/Stopwatch.js +1 -1
  215. package/components/Icons/SupportingPerson.js +1 -1
  216. package/components/Icons/Syringe.js +1 -1
  217. package/components/Icons/TimePassing.js +1 -1
  218. package/components/Icons/Toolbox.js +1 -1
  219. package/components/Icons/TrashCan.js +1 -1
  220. package/components/Icons/Undo.js +1 -1
  221. package/components/Icons/Upload.js +1 -1
  222. package/components/Icons/Vaccine.js +1 -1
  223. package/components/Icons/VerticalDots.js +1 -1
  224. package/components/Icons/VideoCamera.js +1 -1
  225. package/components/Icons/VideoChat.js +1 -1
  226. package/components/Icons/Wallet.js +1 -1
  227. package/components/Icons/Watch.js +1 -1
  228. package/components/Icons/X.js +1 -1
  229. package/components/Icons/Zoom.js +1 -1
  230. package/components/Icons/index.js +1 -1
  231. package/components/Input/Input.d.ts +3 -0
  232. package/components/Input/Input.d.ts.map +1 -1
  233. package/components/Input/componentdata.json +19 -0
  234. package/components/Input/index.js +1 -1
  235. package/components/Input/styles.module.scss +1 -1
  236. package/components/LinkList/LinkList.d.ts +4 -1
  237. package/components/LinkList/LinkList.d.ts.map +1 -1
  238. package/components/LinkList/index.js +1 -1
  239. package/components/LinkList/styles.module.scss +7 -1
  240. package/components/LinkList/styles.module.scss.d.ts +1 -0
  241. package/components/List/index.js +1 -1
  242. package/components/Loader/index.js +1 -1
  243. package/components/Logo/index.js +1 -1
  244. package/components/Modal/index.js +1 -1
  245. package/components/NotificationPanel/index.js +1 -1
  246. package/components/NotificationPanel/styles.module.scss.d.ts +1 -0
  247. package/components/Panel/Panel.d.ts +12 -0
  248. package/components/Panel/Panel.d.ts.map +1 -1
  249. package/components/Panel/componentdata.json +131 -0
  250. package/components/Panel/index.js +1 -1
  251. package/components/PanelList/index.js +1 -1
  252. package/components/Portal/index.js +1 -1
  253. package/components/RadioButton/index.js +1 -1
  254. package/components/Slider/index.js +1 -1
  255. package/components/Spacer/index.js +1 -1
  256. package/components/StatusDot/index.js +1 -1
  257. package/components/Table/Table.d.ts +20 -0
  258. package/components/Table/Table.d.ts.map +1 -0
  259. package/components/Table/TableBody.d.ts +10 -0
  260. package/components/Table/TableBody.d.ts.map +1 -0
  261. package/components/Table/TableBody.js +2 -0
  262. package/components/Table/TableBody.js.map +1 -0
  263. package/components/Table/TableCell.d.ts +21 -0
  264. package/components/Table/TableCell.d.ts.map +1 -0
  265. package/components/Table/TableCell.js +2 -0
  266. package/components/Table/TableCell.js.map +1 -0
  267. package/components/Table/TableExpandedRow.d.ts +18 -0
  268. package/components/Table/TableExpandedRow.d.ts.map +1 -0
  269. package/components/Table/TableExpandedRow.js +2 -0
  270. package/components/Table/TableExpandedRow.js.map +1 -0
  271. package/components/Table/TableExpanderCell.d.ts +16 -0
  272. package/components/Table/TableExpanderCell.d.ts.map +1 -0
  273. package/components/Table/TableExpanderCell.js +2 -0
  274. package/components/Table/TableExpanderCell.js.map +1 -0
  275. package/components/Table/TableHead.d.ts +17 -0
  276. package/components/Table/TableHead.d.ts.map +1 -0
  277. package/components/Table/TableHead.js +2 -0
  278. package/components/Table/TableHead.js.map +1 -0
  279. package/components/Table/TableHeadCell.d.ts +22 -0
  280. package/components/Table/TableHeadCell.d.ts.map +1 -0
  281. package/components/Table/TableHeadCell.js +2 -0
  282. package/components/Table/TableHeadCell.js.map +1 -0
  283. package/components/Table/TableRow.d.ts +22 -0
  284. package/components/Table/TableRow.d.ts.map +1 -0
  285. package/components/Table/TableRow.js +2 -0
  286. package/components/Table/TableRow.js.map +1 -0
  287. package/components/Table/collapseTwoCol.scss +144 -0
  288. package/components/Table/componentdata.json +137 -0
  289. package/components/Table/index.d.ts +11 -0
  290. package/components/Table/index.d.ts.map +1 -0
  291. package/components/Table/index.js +2 -0
  292. package/components/Table/index.js.map +1 -0
  293. package/components/Table/styles.module.scss +136 -0
  294. package/components/Tag/index.js +1 -1
  295. package/components/TagList/index.js +1 -1
  296. package/components/Textarea/Textarea.d.ts +2 -0
  297. package/components/Textarea/Textarea.d.ts.map +1 -1
  298. package/components/Textarea/componentdata.json +19 -0
  299. package/components/Textarea/index.js +1 -1
  300. package/components/Tile/Tile.d.ts +3 -0
  301. package/components/Tile/Tile.d.ts.map +1 -1
  302. package/components/Tile/componentdata.json +31 -0
  303. package/components/Tile/index.js +1 -1
  304. package/components/Tile/styles.module.scss +5 -1
  305. package/components/Tile/styles.module.scss.d.ts +1 -0
  306. package/components/Title/Title.d.ts +1 -1
  307. package/components/Title/Title.d.ts.map +1 -1
  308. package/components/Title/componentdata.json +164 -1
  309. package/components/Title/index.js +1 -1
  310. package/components/Tooltip/Tooltip.d.ts +18 -0
  311. package/components/Tooltip/Tooltip.d.ts.map +1 -0
  312. package/components/Tooltip/componentdata.json +65 -0
  313. package/components/Tooltip/index.d.ts +4 -0
  314. package/components/Tooltip/index.d.ts.map +1 -0
  315. package/components/Tooltip/index.js +2 -0
  316. package/components/Tooltip/index.js.map +1 -0
  317. package/components/Tooltip/styles.module.scss +18 -0
  318. package/components/Tooltip/styles.module.scss.d.ts +9 -0
  319. package/components/TooltipExample/TooltipExample.d.ts +5 -0
  320. package/components/TooltipExample/TooltipExample.d.ts.map +1 -0
  321. package/components/TooltipExample/componentdata.json +65 -0
  322. package/components/TooltipExample/index.d.ts +4 -0
  323. package/components/TooltipExample/index.d.ts.map +1 -0
  324. package/components/TooltipExample/index.js +2 -0
  325. package/components/TooltipExample/index.js.map +1 -0
  326. package/components/Validation/index.js +1 -1
  327. package/{constants-1371e04f.js → constants-dbdea596.js} +2 -2
  328. package/constants-dbdea596.js.map +1 -0
  329. package/constants.d.ts +2 -0
  330. package/constants.d.ts.map +1 -1
  331. package/hooks/useHover.d.ts.map +1 -1
  332. package/hooks/useSize.d.ts.map +1 -1
  333. package/index-28ed5ede.js +2 -0
  334. package/index-28ed5ede.js.map +1 -0
  335. package/index.js +1 -1
  336. package/package.json +1 -1
  337. package/scss/_breakpoints.scss +6 -0
  338. package/useHover-18479690.js +2 -0
  339. package/useHover-18479690.js.map +1 -0
  340. package/{useSticky-445a0370.js → useSticky-432642c9.js} +2 -2
  341. package/useSticky-432642c9.js.map +1 -0
  342. package/utils/loremtext.d.ts +3 -0
  343. package/utils/loremtext.d.ts.map +1 -0
  344. package/AlertSignFill-a4281dbe.js.map +0 -1
  345. package/AlertSignStroke-dee7da33.js.map +0 -1
  346. package/AnchorLink-9d160426.js +0 -2
  347. package/AnchorLink-9d160426.js.map +0 -1
  348. package/ArrowRight-1ccb58be.js.map +0 -1
  349. package/ArrowUpRight-209b1749.js.map +0 -1
  350. package/Badge-b651a9fc.js.map +0 -1
  351. package/Button-41d2f9a6.js.map +0 -1
  352. package/Calendar-926618b6.js.map +0 -1
  353. package/Check-026c98a8.js.map +0 -1
  354. package/Checkbox-2cffb399.js.map +0 -1
  355. package/ChevronDown-d799367a.js.map +0 -1
  356. package/ChevronRight-5087373d.js.map +0 -1
  357. package/ChevronUp-ed252eb6.js.map +0 -1
  358. package/Close-1846777e.js.map +0 -1
  359. package/FormGroup-172ed911.js +0 -2
  360. package/FormGroup-172ed911.js.map +0 -1
  361. package/FormLayout-6563dba9.js +0 -2
  362. package/FormLayout-6563dba9.js.map +0 -1
  363. package/Group-777dfb43.js.map +0 -1
  364. package/HelpBubble-de54b956.js +0 -2
  365. package/HelpBubble-de54b956.js.map +0 -1
  366. package/Hospital-8d5ea230.js.map +0 -1
  367. package/Icon-91bb7737.js.map +0 -1
  368. package/InfoSignStroke-0c13eebe.js.map +0 -1
  369. package/Input-95c3e662.js +0 -2
  370. package/Input-95c3e662.js.map +0 -1
  371. package/Loader-7a90b2b8.js.map +0 -1
  372. package/Modal-9b7c8a39.js.map +0 -1
  373. package/NoAccess-14f5700e.js.map +0 -1
  374. package/Panel-4cd6abfc.js +0 -2
  375. package/Panel-4cd6abfc.js.map +0 -1
  376. package/Pencil-d3aeffa1.js.map +0 -1
  377. package/PlusSmall-5b12d79f.js.map +0 -1
  378. package/RadioButton-3e95b8fa.js.map +0 -1
  379. package/Textarea-74180432.js +0 -2
  380. package/Textarea-74180432.js.map +0 -1
  381. package/Title-761aecc5.js +0 -2
  382. package/Title-761aecc5.js.map +0 -1
  383. package/Undo-d7e73ddf.js.map +0 -1
  384. package/Validation-b51b75ab.js +0 -2
  385. package/Validation-b51b75ab.js.map +0 -1
  386. package/Watch-b2904174.js.map +0 -1
  387. package/X-b4f72c96.js.map +0 -1
  388. package/constants-1371e04f.js.map +0 -1
  389. package/index-5f313f08.js +0 -2
  390. package/index-5f313f08.js.map +0 -1
  391. package/useHover-b995a0e6.js +0 -2
  392. package/useHover-b995a0e6.js.map +0 -1
  393. package/useSticky-445a0370.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as o}from"../../index-d1c0552c.js";import{p as i}from"../../palette-f206f488.js";import{I as r}from"../../Icon-91bb7737.js";import{A as t}from"../../constants-1371e04f.js";import{I as n}from"../../InfoSignStroke-0c13eebe.js";import{A as l}from"../../AlertSignStroke-dee7da33.js";import{A as s}from"../../AlertSignFill-a4281dbe.js";import c from"./styles.module.scss";import{C as m}from"../../Close-1846777e.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../X-b4f72c96.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../../grid-c105cad1.js";var p={info:{color:"kiwi",depth:50},warn:{color:"banana",depth:50},alert:{color:"cherry",depth:100},crisis:{color:"black",depth:0}},f={info:a.createElement(r,{svgIcon:n,color:i.kiwi900,hoverColor:i.kiwi900}),warn:a.createElement(r,{svgIcon:l,color:"black",hoverColor:"black"}),alert:a.createElement(r,{svgIcon:s,color:i.cherry500,hoverColor:i.cherry500}),alertLabel:a.createElement(r,{svgIcon:l,color:i.cherry500,hoverColor:i.cherry500}),crisis:a.createElement(r,{svgIcon:s,color:i.banana200,hoverColor:i.banana200})},d=a.forwardRef((function(i,r){var n,l,s=i.children,p=i.variant,d=void 0===p?"info":p,b=i.shadow,h=void 0!==b&&b,u=i.dismissable,v=void 0!==u&&u,_=i.onClick,j=i.label,g=i.fluid,w=void 0!==g&&g,C=i.size,E=i.className,k=i.testId;var y,I=!!j&&!s;return y=a.createElement("div",{ref:r,"data-testid":k,"data-analyticsid":t.NotificationPanel,className:o(c["notification-panel"],C&&c["notification-panel--"+C],c["notification-panel--"+d],(n={},e(n,c["notification-panel--shadow"],!w&&h),e(n,c["notification-panel--has-children"],!I),e(n,c["notification-panel--label-only"],I),e(n,c["notification-panel--dismissable"],!I&&v),n),E)},a.createElement("span",{className:c["notification-panel__icon"]},f["alert"===d&&j&&!s?"alertLabel":d]),!I&&v&&a.createElement("span",{className:c["notification-panel__close"]},a.createElement(m,{ariaLabel:i.ariaLabelCloseBtn,onClick:_})),a.createElement("section",{"aria-label":function(){if(s){var e="";return a.Children.map(s,(function(a){"string"==typeof a&&(e+=a)})),e}return""}(),className:o(c["notification-panel__content"],(l={},e(l,c["notification-panel__content--crisis"],"crisis"===d),e(l,c["notification-panel__content--alert"],"alert"===d),l))},j&&a.createElement("h1",{className:c["notification-panel__label"],dangerouslySetInnerHTML:{__html:j}}),s)),w?a.createElement("div",{className:o(c["fluid-wrapper"],c["fluid-wrapper--"+d],e({},c["fluid-wrapper--shadow"],h))},y):y}));export{d as default,p as variantToColorMap};
1
+ import{d as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as o}from"../../index-d1c0552c.js";import{p as i}from"../../palette-f206f488.js";import{I as r}from"../../Icon-d69d65b3.js";import{A as t}from"../../constants-dbdea596.js";import{I as n}from"../../InfoSignStroke-f10d62aa.js";import{A as l}from"../../AlertSignStroke-32f09751.js";import{A as s}from"../../AlertSignFill-5df5b7c7.js";import c from"./styles.module.scss";import{C as m}from"../../Close-08d48540.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../X-867957f2.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../../grid-c105cad1.js";var f={info:{color:"kiwi",depth:50},warn:{color:"banana",depth:50},alert:{color:"cherry",depth:100},crisis:{color:"black",depth:0}},p={info:a.createElement(r,{svgIcon:n,color:i.kiwi900,hoverColor:i.kiwi900}),warn:a.createElement(r,{svgIcon:l,color:"black",hoverColor:"black"}),alert:a.createElement(r,{svgIcon:s,color:i.cherry500,hoverColor:i.cherry500}),alertLabel:a.createElement(r,{svgIcon:l,color:i.cherry500,hoverColor:i.cherry500}),crisis:a.createElement(r,{svgIcon:s,color:i.banana200,hoverColor:i.banana200})},d=a.forwardRef((function(i,r){var n,l,s=i.children,f=i.variant,d=void 0===f?"info":f,b=i.shadow,h=void 0!==b&&b,u=i.dismissable,v=void 0!==u&&u,_=i.onClick,j=i.label,g=i.fluid,w=void 0!==g&&g,C=i.size,E=i.className,k=i.testId;var y,I=!!j&&!s;return y=a.createElement("div",{ref:r,"data-testid":k,"data-analyticsid":t.NotificationPanel,className:o(c["notification-panel"],C&&c["notification-panel--"+C],c["notification-panel--"+d],(n={},e(n,c["notification-panel--shadow"],!w&&h),e(n,c["notification-panel--has-children"],!I),e(n,c["notification-panel--label-only"],I),e(n,c["notification-panel--dismissable"],!I&&v),n),E)},a.createElement("span",{className:c["notification-panel__icon"]},p["alert"===d&&j&&!s?"alertLabel":d]),!I&&v&&a.createElement("span",{className:c["notification-panel__close"]},a.createElement(m,{ariaLabel:i.ariaLabelCloseBtn,onClick:_})),a.createElement("section",{"aria-label":function(){if(s){var e="";return a.Children.map(s,(function(a){"string"==typeof a&&(e+=a)})),e}return""}(),className:o(c["notification-panel__content"],(l={},e(l,c["notification-panel__content--crisis"],"crisis"===d),e(l,c["notification-panel__content--alert"],"alert"===d),l))},j&&a.createElement("h1",{className:c["notification-panel__label"],dangerouslySetInnerHTML:{__html:j}}),s)),w?a.createElement("div",{className:o(c["fluid-wrapper"],c["fluid-wrapper--"+d],e({},c["fluid-wrapper--shadow"],h))},y):y}));export{d as default,f as variantToColorMap};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,7 @@
1
1
  export type Styles = {
2
2
  anchorlink: string;
3
3
  anchorlink__icon: string;
4
+ 'anchorlink-wrapper': string;
4
5
  'fluid-wrapper': string;
5
6
  'fluid-wrapper--alert': string;
6
7
  'fluid-wrapper--crisis': string;
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ import { TitleTags } from '../Title';
3
+ import { ButtonProps, ButtonTags } from '../Button';
2
4
  import { AnchorTarget } from '../../constants';
3
5
  export declare enum PanelStatus {
4
6
  normal = "normal",
@@ -23,6 +25,8 @@ export interface PanelProps {
23
25
  children?: React.ReactNode;
24
26
  /** Title of the panel */
25
27
  title?: string;
28
+ /** Changes the underlying element of the title. Default: h2*/
29
+ titleHtmlMarkup?: TitleTags;
26
30
  /** Adds custom classes to the element. */
27
31
  className?: string;
28
32
  /** Sets the data-testid attribute. */
@@ -49,6 +53,10 @@ export interface PanelProps {
49
53
  buttonText?: string;
50
54
  /** Panel button close text */
51
55
  buttonTextClose?: string;
56
+ /** HTML markup for panel button. Default: a */
57
+ buttonHtmlMarkup?: ButtonTags;
58
+ /** Callback when panel button is clicked */
59
+ buttonOnClick?: ButtonProps['onClick'];
52
60
  /** Show close button in bottom of Panel Expand, default: true */
53
61
  showCloseButtonInExpand?: boolean;
54
62
  /** Layout (see description) */
@@ -61,6 +69,10 @@ export interface PanelProps {
61
69
  date?: string;
62
70
  /** Removes top border when variant is "line" */
63
71
  noTopBorder?: boolean;
72
+ /** Opens or closes the panel */
73
+ expanded?: boolean;
74
+ /** Called when panel is open/closed. */
75
+ onExpand?: (isExpanded: boolean) => void;
64
76
  }
65
77
  declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<HTMLHeadingElement>>;
66
78
  export default Panel;
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAMhD,OAAO,EAAE,YAAY,EAAe,MAAM,iBAAiB,CAAC;AAe5D,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAClC,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACpC,0DAA0D;IAC1D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iEAAiE;IACjE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAClC,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA8ED,QAAA,MAAM,KAAK,uFAmLT,CAAC;AAEH,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAc,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAe,EAAE,WAAW,EAAE,UAAU,EAAkB,MAAM,WAAW,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAe,MAAM,iBAAiB,CAAC;AAgB5D,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAClC,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACpC,0DAA0D;IAC1D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACpC,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,6CAA6C;IAC7C,aAAa,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACvC,iEAAiE;IACjE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAClC,4CAA4C;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AA2ED,QAAA,MAAM,KAAK,uFA0MT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -19,6 +19,49 @@
19
19
  "name": "string"
20
20
  }
21
21
  },
22
+ "titleHtmlMarkup": {
23
+ "defaultValue": null,
24
+ "description": "Changes the underlying element of the title. Default: h2",
25
+ "name": "titleHtmlMarkup",
26
+ "parent": {
27
+ "fileName": "src/components/Panel/Panel.tsx",
28
+ "name": "PanelProps"
29
+ },
30
+ "declarations": [
31
+ {
32
+ "fileName": "src/components/Panel/Panel.tsx",
33
+ "name": "PanelProps"
34
+ }
35
+ ],
36
+ "required": false,
37
+ "type": {
38
+ "name": "enum",
39
+ "raw": "TitleTags | undefined",
40
+ "value": [
41
+ {
42
+ "value": "undefined"
43
+ },
44
+ {
45
+ "value": "\"h1\""
46
+ },
47
+ {
48
+ "value": "\"h2\""
49
+ },
50
+ {
51
+ "value": "\"h3\""
52
+ },
53
+ {
54
+ "value": "\"h4\""
55
+ },
56
+ {
57
+ "value": "\"h5\""
58
+ },
59
+ {
60
+ "value": "\"span\""
61
+ }
62
+ ]
63
+ }
64
+ },
22
65
  "className": {
23
66
  "defaultValue": null,
24
67
  "description": "Adds custom classes to the element.",
@@ -320,6 +363,56 @@
320
363
  "name": "string"
321
364
  }
322
365
  },
366
+ "buttonHtmlMarkup": {
367
+ "defaultValue": null,
368
+ "description": "HTML markup for panel button. Default: a",
369
+ "name": "buttonHtmlMarkup",
370
+ "parent": {
371
+ "fileName": "src/components/Panel/Panel.tsx",
372
+ "name": "PanelProps"
373
+ },
374
+ "declarations": [
375
+ {
376
+ "fileName": "src/components/Panel/Panel.tsx",
377
+ "name": "PanelProps"
378
+ }
379
+ ],
380
+ "required": false,
381
+ "type": {
382
+ "name": "enum",
383
+ "raw": "ButtonTags | undefined",
384
+ "value": [
385
+ {
386
+ "value": "undefined"
387
+ },
388
+ {
389
+ "value": "\"button\""
390
+ },
391
+ {
392
+ "value": "\"a\""
393
+ }
394
+ ]
395
+ }
396
+ },
397
+ "buttonOnClick": {
398
+ "defaultValue": null,
399
+ "description": "Callback when panel button is clicked",
400
+ "name": "buttonOnClick",
401
+ "parent": {
402
+ "fileName": "src/components/Panel/Panel.tsx",
403
+ "name": "PanelProps"
404
+ },
405
+ "declarations": [
406
+ {
407
+ "fileName": "src/components/Panel/Panel.tsx",
408
+ "name": "PanelProps"
409
+ }
410
+ ],
411
+ "required": false,
412
+ "type": {
413
+ "name": "((e?: MouseEvent<HTMLElement, MouseEvent> | FormEvent<{}> | KeyboardEvent<HTMLUListElement> | null) => void) | undefined"
414
+ }
415
+ },
323
416
  "showCloseButtonInExpand": {
324
417
  "defaultValue": null,
325
418
  "description": "Show close button in bottom of Panel Expand, default: true",
@@ -454,6 +547,44 @@
454
547
  "type": {
455
548
  "name": "boolean"
456
549
  }
550
+ },
551
+ "expanded": {
552
+ "defaultValue": null,
553
+ "description": "Opens or closes the panel",
554
+ "name": "expanded",
555
+ "parent": {
556
+ "fileName": "src/components/Panel/Panel.tsx",
557
+ "name": "PanelProps"
558
+ },
559
+ "declarations": [
560
+ {
561
+ "fileName": "src/components/Panel/Panel.tsx",
562
+ "name": "PanelProps"
563
+ }
564
+ ],
565
+ "required": false,
566
+ "type": {
567
+ "name": "boolean"
568
+ }
569
+ },
570
+ "onExpand": {
571
+ "defaultValue": null,
572
+ "description": "Called when panel is open/closed.",
573
+ "name": "onExpand",
574
+ "parent": {
575
+ "fileName": "src/components/Panel/Panel.tsx",
576
+ "name": "PanelProps"
577
+ },
578
+ "declarations": [
579
+ {
580
+ "fileName": "src/components/Panel/Panel.tsx",
581
+ "name": "PanelProps"
582
+ }
583
+ ],
584
+ "required": false,
585
+ "type": {
586
+ "name": "((isExpanded: boolean) => void)"
587
+ }
457
588
  }
458
589
  }
459
590
  }
@@ -1,2 +1,2 @@
1
- export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-4cd6abfc.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Title-761aecc5.js";import"../Title/styles.module.scss";import"../../constants-1371e04f.js";import"../../Button-41d2f9a6.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-91bb7737.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-7a90b2b8.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-d799367a.js";import"../../ChevronUp-ed252eb6.js";import"../../ArrowRight-1ccb58be.js";import"../../AlertSignFill-a4281dbe.js";import"../../Pencil-d3aeffa1.js";import"../../Calendar-926618b6.js";import"../../Watch-b2904174.js";import"../../Badge-b651a9fc.js";import"../Badge/styles.module.scss";
1
+ export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-1ce6fe37.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Title-01820508.js";import"../Title/styles.module.scss";import"../../constants-dbdea596.js";import"../../Button-78f848e6.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-2b3daace.js";import"../../ChevronUp-dfafe27b.js";import"../../ArrowRight-43c97f7a.js";import"../../AlertSignFill-5df5b7c7.js";import"../../Pencil-dd3fe667.js";import"../../Calendar-a9aa98de.js";import"../../Watch-3d5fc351.js";import"../../usePrevious-ae293b10.js";import"../../Badge-eebcb720.js";import"../Badge/styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import s from"react";import e from"./styles.module.scss";import{A as t}from"../../constants-1371e04f.js";import{b as r,P as o}from"../../Panel-4cd6abfc.js";import{c as i}from"../../index-d1c0552c.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"../Panel/styles.module.scss";import"../../Title-761aecc5.js";import"../Title/styles.module.scss";import"../../Button-41d2f9a6.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-91bb7737.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-7a90b2b8.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-d799367a.js";import"../../ChevronUp-ed252eb6.js";import"../../ArrowRight-1ccb58be.js";import"../../AlertSignFill-a4281dbe.js";import"../../Pencil-d3aeffa1.js";import"../../Calendar-926618b6.js";import"../../Watch-b2904174.js";import"../../Badge-b651a9fc.js";import"../Badge/styles.module.scss";var a=s.forwardRef((function(a,l){var m=a.testId,p=a.children,d=a.variant,n=void 0===d?r.fill:d;return s.createElement("div",{ref:l,"data-testid":m,className:e["panel-list"],"data-analyticsid":t.PanelList},s.Children.map(p,(function(t,a){return p=t,s.isValidElement(p)&&p.type===o?(l=t,m=0===a,s.cloneElement(l,{variant:n,noTopBorder:n===r.line&&!m,className:i(l.props.className,n!==r.line&&e["panel-list__panel"])})):t;var l,m,p})))}));export{a as default};
1
+ import s from"react";import e from"./styles.module.scss";import{A as t}from"../../constants-dbdea596.js";import{b as r,P as o}from"../../Panel-1ce6fe37.js";import{c as i}from"../../index-d1c0552c.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"../Panel/styles.module.scss";import"../../Title-01820508.js";import"../Title/styles.module.scss";import"../../Button-78f848e6.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-2b3daace.js";import"../../ChevronUp-dfafe27b.js";import"../../ArrowRight-43c97f7a.js";import"../../AlertSignFill-5df5b7c7.js";import"../../Pencil-dd3fe667.js";import"../../Calendar-a9aa98de.js";import"../../Watch-3d5fc351.js";import"../../usePrevious-ae293b10.js";import"../../Badge-eebcb720.js";import"../Badge/styles.module.scss";var a=s.forwardRef((function(a,l){var m=a.testId,p=a.children,d=a.variant,n=void 0===d?r.fill:d;return s.createElement("div",{ref:l,"data-testid":m,className:e["panel-list"],"data-analyticsid":t.PanelList},s.Children.map(p,(function(t,a){return p=t,s.isValidElement(p)&&p.type===o?(l=t,m=0===a,s.cloneElement(l,{variant:n,noTopBorder:n===r.line&&!m,className:i(l.props.className,n!==r.line&&e["panel-list__panel"])})):t;var l,m,p})))}));export{a as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{P as default}from"../../index-5f313f08.js";import"react";import"react-dom";import"../../constants-1371e04f.js";
1
+ export{P as default}from"../../index-28ed5ede.js";import"react";import"react-dom";import"../../constants-dbdea596.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{R as RadioButton,R as default}from"../../RadioButton-3e95b8fa.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-1371e04f.js";
1
+ export{R as RadioButton,R as default}from"../../RadioButton-3ce7a88d.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-dbdea596.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{_ as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-d1c0552c.js";import{T as i}from"../../Title-761aecc5.js";import c from"./styles.module.scss";import{A as u}from"../../constants-1371e04f.js";import"../Title/styles.module.scss";var s=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},l=function(e){return m(e)?e.touches[0].pageX:e.pageX},d=function(e){var t=e?e.getBoundingClientRect():void 0;return t?t.right-t.left:0},m=function(e){return("touchcancel"===e.type||"touchend"===e.type||"touchenter"===e.type||"touchleave"===e.type||"touchmove"===e.type||"touchstart"===e.type)&&!(0===e.touches.length)},f=function(e,t,n){var r=e-e%t,a=Math.floor(n/t)*t;e>a&&(e>a+(n-a)/2&&(r=n));return Math.round(r)},v=t.forwardRef((function(m,v){var p=m.title,h=m.labelLeft,_=m.labelRight,g=m.disabled,E=void 0!==g&&g,y=m.step,w=void 0===y?1:y,b=m.onChange,k=m.testId,L=n(50),N=e(L,2),x=N[0],A=N[1],D=n(!1),M=e(D,2),R=M[0],j=M[1],T=n(0),B=e(T,2),C=B[0],P=B[1],I=n(0),S=e(I,2),X=S[0],H=S[1],K=n(0),U=e(K,2),q=U[0],z=U[1],F=n(0),G=e(F,2),J=G[0],O=G[1],Q=v||r(null),V=r(null),W=100,Y=function(e){re(e)},Z=function(e){ne(e)},$=function(e){re(e)},ee=function(e){ne(e)};a((function(){var e=d(Q.current),t=d(V.current);z(function(e,t,n,r,a){return(t-n)/(a-r)*e}(x,e,t,0,W)),P(e),H(t)}),[]),a((function(){R&&(function(e,t){document.addEventListener("mousemove",e,!1),document.addEventListener("mouseup",t,!1)}(Y,Z),function(e,t){document.addEventListener("touchmove",e,!1),document.addEventListener("touchend",t,!1)}($,ee))}),[R]),a((function(){!E&&b&&b(x)}),[x]);var te=function(e){var t;if(!E){var n=d(Q.current),r=d(V.current),a=l(e);!function(e,t,n,r){var a=t?t.getBoundingClientRect():void 0,o=a?a.left:0;r(o?e-(o+n/2):0)}(a,V.current,r,ae),j(!0),O(a),P(n),H(r),null===(t=V.current)||void 0===t||t.focus(),s(e)}},ne=function(e){E||(j(!1),function(e,t){document.removeEventListener("mousemove",e,!1),document.removeEventListener("mouseup",t,!1)}(Y,Z),function(e,t){document.removeEventListener("touchmove",e,!1),document.removeEventListener("touchend",t,!1)}($,ee),s(e))},re=function(e){if(!E&&R){var t=l(e);ae(t-J),s(e)}},ae=function(e){if(0!==e){var t=function(e,t,n,r){var a=r+e;return a<0&&(a=0),a>t-n&&(a=t-n),a}(e,C,X,q);z(t),O(t+e),A(function(e,t,n,r,a,o){var i=(t-n)/(o-a),c=Math.round(e/i);return f(c,r,o)}(t,C,X,w,0,W))}};return t.createElement("div",{className:c.slider,"data-testid":k,"data-analyticsid":u.Slider},p&&t.createElement(i,{htmlMarkup:"h3",margin:1.5,appearance:"title3"},p),t.createElement("div",{ref:Q,className:o(c["slider__track-wrapper"],E?c["slider__track-wrapper--disabled"]:""),onMouseDown:te,onTouchStart:te,"data-testid":"tracker"},t.createElement("div",{className:o(c.slider__track,E?c["slider__track--disabled"]:"")}),t.createElement("div",{ref:V,className:o(c.slider__trigger,E?c["slider__trigger--disabled"]:""),style:{left:"".concat(q,"px")},onKeyDown:function(e){if(!E){var t=(C-X)/100;"ArrowRight"!==e.key&&"ArrowDown"!==e.key||ae(w*t),"ArrowLeft"!==e.key&&"ArrowUp"!==e.key||ae(-w*t)}},role:"slider","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":W,"aria-label":"".concat(p?p+" ":"").concat(h?h+" ":"").concat(_?_+" ":""),tabIndex:E?-1:0},t.createElement("div",{className:o(c["slider__trigger-inner"],E?c["slider__trigger-inner--disabled"]:"")}))),(h||_)&&t.createElement("span",{className:c.slider__options},t.createElement("p",{className:c.slider__text,"aria-hidden":!0},h),t.createElement("p",{className:c.slider__text,"aria-hidden":!0},_)))}));export{v as Slider,v as default};
1
+ import{_ as e}from"../../_rollupPluginBabelHelpers-0f007973.js";import t,{useState as n,useRef as r,useEffect as a}from"react";import{c as o}from"../../index-d1c0552c.js";import{T as i}from"../../Title-01820508.js";import c from"./styles.module.scss";import{A as u}from"../../constants-dbdea596.js";import"../Title/styles.module.scss";var s=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},l=function(e){return m(e)?e.touches[0].pageX:e.pageX},d=function(e){var t=e?e.getBoundingClientRect():void 0;return t?t.right-t.left:0},m=function(e){return("touchcancel"===e.type||"touchend"===e.type||"touchenter"===e.type||"touchleave"===e.type||"touchmove"===e.type||"touchstart"===e.type)&&!(0===e.touches.length)},f=function(e,t,n){var r=e-e%t,a=Math.floor(n/t)*t;e>a&&(e>a+(n-a)/2&&(r=n));return Math.round(r)},v=t.forwardRef((function(m,v){var p=m.title,h=m.labelLeft,_=m.labelRight,g=m.disabled,E=void 0!==g&&g,y=m.step,b=void 0===y?1:y,w=m.onChange,k=m.testId,L=n(50),N=e(L,2),x=N[0],A=N[1],D=n(!1),M=e(D,2),R=M[0],j=M[1],T=n(0),B=e(T,2),C=B[0],P=B[1],I=n(0),S=e(I,2),X=S[0],H=S[1],K=n(0),U=e(K,2),q=U[0],z=U[1],F=n(0),G=e(F,2),J=G[0],O=G[1],Q=v||r(null),V=r(null),W=100,Y=function(e){re(e)},Z=function(e){ne(e)},$=function(e){re(e)},ee=function(e){ne(e)};a((function(){var e=d(Q.current),t=d(V.current);z(function(e,t,n,r,a){return(t-n)/(a-r)*e}(x,e,t,0,W)),P(e),H(t)}),[]),a((function(){R&&(function(e,t){document.addEventListener("mousemove",e,!1),document.addEventListener("mouseup",t,!1)}(Y,Z),function(e,t){document.addEventListener("touchmove",e,!1),document.addEventListener("touchend",t,!1)}($,ee))}),[R]),a((function(){!E&&w&&w(x)}),[x]);var te=function(e){var t;if(!E){var n=d(Q.current),r=d(V.current),a=l(e);!function(e,t,n,r){var a=t?t.getBoundingClientRect():void 0,o=a?a.left:0;r(o?e-(o+n/2):0)}(a,V.current,r,ae),j(!0),O(a),P(n),H(r),null===(t=V.current)||void 0===t||t.focus(),s(e)}},ne=function(e){E||(j(!1),function(e,t){document.removeEventListener("mousemove",e,!1),document.removeEventListener("mouseup",t,!1)}(Y,Z),function(e,t){document.removeEventListener("touchmove",e,!1),document.removeEventListener("touchend",t,!1)}($,ee),s(e))},re=function(e){if(!E&&R){var t=l(e);ae(t-J),s(e)}},ae=function(e){if(0!==e){var t=function(e,t,n,r){var a=r+e;return a<0&&(a=0),a>t-n&&(a=t-n),a}(e,C,X,q);z(t),O(t+e),A(function(e,t,n,r,a,o){var i=(t-n)/(o-a),c=Math.round(e/i);return f(c,r,o)}(t,C,X,b,0,W))}};return t.createElement("div",{className:c.slider,"data-testid":k,"data-analyticsid":u.Slider},p&&t.createElement(i,{htmlMarkup:"h3",margin:1.5,appearance:"title3"},p),t.createElement("div",{ref:Q,className:o(c["slider__track-wrapper"],E?c["slider__track-wrapper--disabled"]:""),onMouseDown:te,onTouchStart:te,"data-testid":"tracker"},t.createElement("div",{className:o(c.slider__track,E?c["slider__track--disabled"]:"")}),t.createElement("div",{ref:V,className:o(c.slider__trigger,E?c["slider__trigger--disabled"]:""),style:{left:"".concat(q,"px")},onKeyDown:function(e){if(!E){var t=(C-X)/100;"ArrowRight"!==e.key&&"ArrowDown"!==e.key||ae(b*t),"ArrowLeft"!==e.key&&"ArrowUp"!==e.key||ae(-b*t)}},role:"slider","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":W,"aria-label":"".concat(p?p+" ":"").concat(h?h+" ":"").concat(_?_+" ":""),tabIndex:E?-1:0},t.createElement("div",{className:o(c["slider__trigger-inner"],E?c["slider__trigger-inner--disabled"]:"")}))),(h||_)&&t.createElement("span",{className:c.slider__options},t.createElement("p",{className:c.slider__text,"aria-hidden":!0},h),t.createElement("p",{className:c.slider__text,"aria-hidden":!0},_)))}));export{v as Slider,v as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{d as s}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as e}from"../../index-d1c0552c.js";import r from"./styles.module.scss";import{A as c}from"../../constants-1371e04f.js";var l=a.forwardRef((function(l,p){var t,x=l.size,o=void 0===x?"s":x,m=l.className,i=l.testId,d=e(r.spacer,(s(t={},r["spacer--4xs"],"4xs"===o),s(t,r["spacer--3xs"],"3xs"===o),s(t,r["spacer--2xs"],"2xs"===o),s(t,r["spacer--xs"],"xs"===o),s(t,r["spacer--s"],"s"===o),s(t,r["spacer--m"],"m"===o),s(t,r["spacer--l"],"l"===o),s(t,r["spacer--xl"],"xl"===o),s(t,r["spacer--2xl"],"2xl"===o),s(t,r["spacer--3xl"],"3xl"===o),s(t,r["spacer--4xl"],"4xl"===o),s(t,r["spacer--5xl"],"5xl"===o),s(t,r["spacer--6xl"],"6xl"===o),t),m);return a.createElement("span",{className:d,ref:p,"data-testid":i,"data-analyticsid":c.Spacer})}));export{l as default};
1
+ import{d as s}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as e}from"../../index-d1c0552c.js";import r from"./styles.module.scss";import{A as c}from"../../constants-dbdea596.js";var l=a.forwardRef((function(l,p){var t,x=l.size,o=void 0===x?"s":x,m=l.className,d=l.testId,i=e(r.spacer,(s(t={},r["spacer--4xs"],"4xs"===o),s(t,r["spacer--3xs"],"3xs"===o),s(t,r["spacer--2xs"],"2xs"===o),s(t,r["spacer--xs"],"xs"===o),s(t,r["spacer--s"],"s"===o),s(t,r["spacer--m"],"m"===o),s(t,r["spacer--l"],"l"===o),s(t,r["spacer--xl"],"xl"===o),s(t,r["spacer--2xl"],"2xl"===o),s(t,r["spacer--3xl"],"3xl"===o),s(t,r["spacer--4xl"],"4xl"===o),s(t,r["spacer--5xl"],"5xl"===o),s(t,r["spacer--6xl"],"6xl"===o),t),m);return a.createElement("span",{className:i,ref:p,"data-testid":d,"data-analyticsid":c.Spacer})}));export{l as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{d as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import e from"react";import{c as s}from"../../index-d1c0552c.js";import a from"./styles.module.scss";import{I as r,A as o}from"../../constants-1371e04f.js";import{I as c}from"../../Icon-91bb7737.js";import{U as n}from"../../Undo-d7e73ddf.js";import{g as i}from"../../color-e7d082c1.js";import{G as l}from"../../Group-777dfb43.js";import{N as m}from"../../NoAccess-14f5700e.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-a74f5af5.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../index-d1c9177a.js";var d;!function(t){t.info="info",t.warning="warning",t.alert="alert",t.cancelled="cancelled",t.active="active",t.transparent="transparent",t.recurring="recurring",t.group="group",t.noaccess="noaccess"}(d||(d={}));var p=e.forwardRef((function(p,u){var f=p.variant,g=void 0===f?d.info:f,j=p.text,_=p.className,v=g===d.recurring||g===d.group||g===d.noaccess,b=g===d.cancelled,E=s(a.statusdot,t({},a["statusdot--cancelled"],b),_),I=s(a.statusdot__dot,[v?a["statusdot__dot--icon"]:a["statusdot__dot--".concat(g)]]),N=s(a.statusdot__label,t({},a["statusdot__label--icon"],v)),X=null;return g===d.recurring?X=e.createElement(c,{size:r.XXSmall,svgIcon:n}):g===d.group?X=e.createElement(c,{size:r.XXSmall,svgIcon:l}):g===d.noaccess&&(X=e.createElement(c,{size:r.XXSmall,svgIcon:m,color:i("cherry",600)})),e.createElement("div",{className:E,"data-analyticsid":o.StatusDot},e.createElement("span",{className:I},X),e.createElement("span",{className:N},j))}));export{d as StatusDotVariant,p as default};
1
+ import{d as t}from"../../_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{c as e}from"../../index-d1c0552c.js";import s from"./styles.module.scss";import{I as r,A as o}from"../../constants-dbdea596.js";import{I as c}from"../../Icon-d69d65b3.js";import{U as n}from"../../Undo-cc42e7d0.js";import{g as i}from"../../color-e7d082c1.js";import{G as l}from"../../Group-71b8ae99.js";import{N as m}from"../../NoAccess-53a59f7d.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useBreakpoint-a74f5af5.js";import"../../_tslib-b219470a.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../index-d1c9177a.js";var d;!function(t){t.info="info",t.warning="warning",t.alert="alert",t.cancelled="cancelled",t.active="active",t.transparent="transparent",t.recurring="recurring",t.group="group",t.noaccess="noaccess"}(d||(d={}));var p=a.forwardRef((function(p,u){var f=p.variant,g=void 0===f?d.info:f,j=p.text,_=p.className,v=g===d.recurring||g===d.group||g===d.noaccess,b=g===d.cancelled,E=e(s.statusdot,t({},s["statusdot--cancelled"],b),_),I=e(s.statusdot__dot,[v?s["statusdot__dot--icon"]:s["statusdot__dot--".concat(g)]]),N=e(s.statusdot__label,t({},s["statusdot__label--icon"],v)),X=null;return g===d.recurring?X=a.createElement(c,{size:r.XXSmall,svgIcon:n}):g===d.group?X=a.createElement(c,{size:r.XXSmall,svgIcon:l}):g===d.noaccess&&(X=a.createElement(c,{size:r.XXSmall,svgIcon:m,color:i("cherry",600)})),a.createElement("div",{className:E,"data-analyticsid":o.StatusDot},a.createElement("span",{className:I},X),a.createElement("span",{className:N},j))}));export{d as StatusDotVariant,p as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ export declare enum SmallViewportVariant {
3
+ horizontalscroll = "horizontalscroll",
4
+ block = "block"
5
+ }
6
+ export interface Props {
7
+ /** Unique ID */
8
+ id?: string;
9
+ /** Id used for testing */
10
+ testId?: string;
11
+ /** Type of table view om small devices */
12
+ smallViewportVariant?: SmallViewportVariant;
13
+ /** Adds custom classes to the element. */
14
+ className?: string;
15
+ /** Sets the content of the table. Use TableHead and TableBody */
16
+ children: React.ReactNode;
17
+ }
18
+ export declare const Table: ({ id, testId, className, children, smallViewportVariant }: Props) => JSX.Element;
19
+ export default Table;
20
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,oBAAY,oBAAoB;IAC9B,gBAAgB,qBAAqB;IACrC,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,gBAAgB;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,KAAK,8DAA0G,KAAK,gBAYhI,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ /** Adds custom classes to the element. */
4
+ className?: string;
5
+ /** Sets the content of the table body. Use TableRows */
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const TableBody: ({ className, children }: Props) => JSX.Element;
9
+ export default TableBody;
10
+ //# sourceMappingURL=TableBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,KAAK;IACpB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,4BAA+C,KAAK,gBAEzE,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as TableBody,T as default}from"../../TableBody-eac2c23b.js";import"react";
2
+ //# sourceMappingURL=TableBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ export declare enum TextAlign {
3
+ left = "left",
4
+ center = "center",
5
+ right = "right"
6
+ }
7
+ export interface Props {
8
+ /** Label used for small viewport block */
9
+ dataLabel: string;
10
+ /** text align in cell */
11
+ textAlign?: TextAlign;
12
+ /** nowrap for white space */
13
+ nowrap?: boolean;
14
+ /** Adds custom classes to the element. */
15
+ className?: string;
16
+ /** Sets the content of the table cell */
17
+ children: React.ReactNode;
18
+ }
19
+ export declare const TableCell: ({ nowrap, textAlign, dataLabel, children, className }: Props) => JSX.Element;
20
+ export default TableCell;
21
+ //# sourceMappingURL=TableCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,0DAAsG,KAAK,gBAchI,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as TableCell,a as TextAlign,T as default}from"../../TableCell-cc644eb5.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";
2
+ //# sourceMappingURL=TableCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ /** Row is expanded. */
4
+ expanded: boolean;
5
+ /** Number of columns in table. */
6
+ numberOfColumns: number;
7
+ /** Text for hide button. */
8
+ hideDetailsText: string;
9
+ /** When hide button inside expanded row is clicked. */
10
+ toggleClick: () => void;
11
+ /** Adds custom classes to the element. */
12
+ className?: string;
13
+ /** Sets the content of the expanded row. */
14
+ children: React.ReactNode;
15
+ }
16
+ export declare const TableExpandedRow: ({ numberOfColumns, expanded, hideDetailsText, toggleClick, children, className, }: Props) => JSX.Element;
17
+ export default TableExpandedRow;
18
+ //# sourceMappingURL=TableExpandedRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableExpandedRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableExpandedRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,KAAK;IACpB,uBAAuB;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,uDAAuD;IACvD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,sFAO1B,KAAK,gBA8BP,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as TableExpandedRow,T as default}from"../../TableExpandedRow-44b09912.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Button-78f848e6.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-dfafe27b.js";
2
+ //# sourceMappingURL=TableExpandedRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableExpandedRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ export interface Props {
3
+ /** Adds custom classes to the element. */
4
+ className?: string;
5
+ /** Row is expanded. */
6
+ expanded: boolean;
7
+ /** Id for expanded row. */
8
+ expandableRowId: string;
9
+ /** Text for hide button used for aria label. */
10
+ hideDetailsText: string;
11
+ /** Text for show button used for aria label. */
12
+ showDetailsText: string;
13
+ }
14
+ export declare const TableExpanderCell: ({ expandableRowId, hideDetailsText, showDetailsText, expanded, className, }: Props) => JSX.Element;
15
+ export default TableExpanderCell;
16
+ //# sourceMappingURL=TableExpanderCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableExpanderCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableExpanderCell.tsx"],"names":[],"mappings":";AASA,MAAM,WAAW,KAAK;IACpB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,eAAe,EAAE,MAAM,CAAC;IACxB,gDAAgD;IAChD,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB,gFAM3B,KAAK,gBAgBP,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as TableExpanderCell,T as default}from"../../TableExpanderCell-015d3db2.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../uuid-11037462.js";import"../../Button-78f848e6.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-2b3daace.js";import"../../ChevronUp-dfafe27b.js";
2
+ //# sourceMappingURL=TableExpanderCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableExpanderCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export declare enum HeaderCategory {
3
+ normal = "normal",
4
+ transparent = "transparent",
5
+ sortable = "sortable"
6
+ }
7
+ export interface Props {
8
+ /** Header category for styling */
9
+ category: HeaderCategory;
10
+ /** Adds custom classes to the element. */
11
+ className?: string;
12
+ /** Sets the content of the thead. Add table rows */
13
+ children: React.ReactNode;
14
+ }
15
+ export declare const TableHead: ({ category, className, children }: Props) => JSX.Element;
16
+ export default TableHead;
17
+ //# sourceMappingURL=TableHead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHead.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,KAAK;IACpB,kCAAkC;IAClC,QAAQ,EAAE,cAAc,CAAC;IACzB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,sCAAyD,KAAK,gBAYnF,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{H as HeaderCategory,T as TableHead,T as default}from"../../TableHead-5ed58948.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";
2
+ //# sourceMappingURL=TableHead.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHead.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ export declare enum SortDirection {
3
+ asc = "asc",
4
+ desc = "desc"
5
+ }
6
+ export interface Props {
7
+ /** Sets if column for head cell should be sortable*/
8
+ sortable?: boolean;
9
+ /** Sort direction */
10
+ sortDir?: SortDirection;
11
+ /** Function that is called when clicked */
12
+ onClick?: () => void;
13
+ /** Sets tabIndex on th element */
14
+ tabIndex?: 0 | -1;
15
+ /** Adds custom classes to the element. */
16
+ className?: string;
17
+ /** Sets the content of the td element. */
18
+ children?: React.ReactNode;
19
+ }
20
+ export declare const TableHeadCell: ({ sortable, onClick, className, children, sortDir, tabIndex }: Props) => JSX.Element;
21
+ export default TableHeadCell;
22
+ //# sourceMappingURL=TableHeadCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHeadCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeadCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,MAAM,WAAW,KAAK;IACpB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAClB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,aAAa,kEAAyF,KAAK,gBAqCvH,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{S as SortDirection,T as TableHeadCell,T as default}from"../../TableHeadCell-84651910.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../ArrowUp-e7787d9c.js";import"../../ArrowDown-88b2c27a.js";
2
+ //# sourceMappingURL=TableHeadCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableHeadCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ /** Sets if expanded row can be expanded */
4
+ expandable?: boolean;
5
+ /** Sets if expanded row is expanded */
6
+ expanded?: boolean;
7
+ /** When hide/show button for expanded row is clicked. */
8
+ onClick?: () => void;
9
+ /** Text for expanded row hide button. */
10
+ hideDetailsText?: string;
11
+ /** Text for expanded row show button. */
12
+ showDetailsText?: string;
13
+ /** Key attribute for row */
14
+ key?: string;
15
+ /** Adds custom classes to the element. */
16
+ className?: string;
17
+ /** Sets the cells of the table row element. */
18
+ children?: React.ReactNode;
19
+ }
20
+ export declare const TableRow: ({ key, hideDetailsText, showDetailsText, expandable, expanded, onClick, className, children, }: Props) => JSX.Element;
21
+ export default TableRow;
22
+ //# sourceMappingURL=TableRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,KAAK;IACpB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4BAA4B;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ,mGASlB,KAAK,gBA0CP,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as TableRow,T as default}from"../../TableRow-19db3001.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Button-78f848e6.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-d69d65b3.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-06293a27.js";import"../Loader/styles.module.scss";import"../../useHover-18479690.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronUp-dfafe27b.js";import"../../ChevronDown-2b3daace.js";
2
+ //# sourceMappingURL=TableRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}