@helsenorge/designsystem-react 1.0.0-beta139 → 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 (352) hide show
  1. package/{AlertSignFill-e0a05c2b.js → AlertSignFill-5df5b7c7.js} +2 -2
  2. package/AlertSignFill-5df5b7c7.js.map +1 -0
  3. package/{AlertSignStroke-d16ccb9e.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-2e4b6122.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-e9f5b42e.js → ArrowUpRight-5be53e0d.js} +2 -2
  14. package/ArrowUpRight-5be53e0d.js.map +1 -0
  15. package/{Badge-d7e6ebd7.js → Badge-eebcb720.js} +2 -2
  16. package/Badge-eebcb720.js.map +1 -0
  17. package/{Button-1ae9497c.js → Button-78f848e6.js} +2 -2
  18. package/Button-78f848e6.js.map +1 -0
  19. package/{Calendar-03556b56.js → Calendar-a9aa98de.js} +2 -2
  20. package/Calendar-a9aa98de.js.map +1 -0
  21. package/{Check-632c2b4f.js → Check-fdf95f67.js} +2 -2
  22. package/Check-fdf95f67.js.map +1 -0
  23. package/{Checkbox-7d0879d2.js → Checkbox-b0815d04.js} +2 -2
  24. package/Checkbox-b0815d04.js.map +1 -0
  25. package/{ChevronDown-652aa9e9.js → ChevronDown-2b3daace.js} +2 -2
  26. package/ChevronDown-2b3daace.js.map +1 -0
  27. package/{ChevronRight-a4c19be9.js → ChevronRight-5ab9349b.js} +2 -2
  28. package/ChevronRight-5ab9349b.js.map +1 -0
  29. package/{ChevronUp-558a33cd.js → ChevronUp-dfafe27b.js} +2 -2
  30. package/ChevronUp-dfafe27b.js.map +1 -0
  31. package/{Close-ddb54826.js → Close-08d48540.js} +2 -2
  32. package/Close-08d48540.js.map +1 -0
  33. package/{FormGroup-60527189.js → FormGroup-c32db99d.js} +2 -2
  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-4d979be0.js → Group-71b8ae99.js} +2 -2
  38. package/Group-71b8ae99.js.map +1 -0
  39. package/{HelpBubble-6c6578d2.js → HelpBubble-2efa4680.js} +2 -2
  40. package/HelpBubble-2efa4680.js.map +1 -0
  41. package/{Hospital-444c2277.js → Hospital-e9e6a0b3.js} +2 -2
  42. package/Hospital-e9e6a0b3.js.map +1 -0
  43. package/{Icon-877aeed0.js → Icon-d69d65b3.js} +2 -2
  44. package/Icon-d69d65b3.js.map +1 -0
  45. package/{InfoSignStroke-415508d1.js → InfoSignStroke-f10d62aa.js} +2 -2
  46. package/InfoSignStroke-f10d62aa.js.map +1 -0
  47. package/{Input-eae60679.js → Input-9ccf3867.js} +2 -2
  48. package/Input-9ccf3867.js.map +1 -0
  49. package/{Loader-c8d984bc.js → Loader-06293a27.js} +2 -2
  50. package/Loader-06293a27.js.map +1 -0
  51. package/{Modal-aaedf680.js → Modal-3ed00fd4.js} +2 -2
  52. package/Modal-3ed00fd4.js.map +1 -0
  53. package/{NoAccess-c1a3f055.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-0b63b983.js → Pencil-dd3fe667.js} +2 -2
  58. package/Pencil-dd3fe667.js.map +1 -0
  59. package/{PlusSmall-06513a15.js → PlusSmall-430bf03a.js} +2 -2
  60. package/PlusSmall-430bf03a.js.map +1 -0
  61. package/{RadioButton-dba5974f.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-8ab0bec5.js → Textarea-56a24cb9.js} +2 -2
  78. package/Textarea-56a24cb9.js.map +1 -0
  79. package/{Title-b5e19cfc.js → Title-01820508.js} +2 -2
  80. package/Title-01820508.js.map +1 -0
  81. package/{Tooltip-f6c63399.js → Tooltip-d8293023.js} +2 -2
  82. package/Tooltip-d8293023.js.map +1 -0
  83. package/{Undo-7021257e.js → Undo-cc42e7d0.js} +2 -2
  84. package/Undo-cc42e7d0.js.map +1 -0
  85. package/{Validation-333c049f.js → Validation-087d9955.js} +2 -2
  86. package/Validation-087d9955.js.map +1 -0
  87. package/{Watch-a947e459.js → Watch-3d5fc351.js} +2 -2
  88. package/Watch-3d5fc351.js.map +1 -0
  89. package/{X-3e7c0719.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/FormLayout/index.js +1 -1
  118. package/components/HelpBubble/index.js +1 -1
  119. package/components/HelpBubble/styles.module.scss.d.ts +1 -0
  120. package/components/HelpBubbleExample/index.js +1 -1
  121. package/components/HighlightBox/index.js +1 -1
  122. package/components/Icons/AcupunctureBack.js +1 -1
  123. package/components/Icons/AlarmClock.js +1 -1
  124. package/components/Icons/AlertSignFill.js +1 -1
  125. package/components/Icons/AlertSignStroke.js +1 -1
  126. package/components/Icons/Archive.js +1 -1
  127. package/components/Icons/ArrowDown.d.ts +5 -0
  128. package/components/Icons/ArrowDown.d.ts.map +1 -0
  129. package/components/Icons/ArrowDown.js +2 -0
  130. package/components/Icons/ArrowDown.js.map +1 -0
  131. package/components/Icons/ArrowLeft.js +1 -1
  132. package/components/Icons/ArrowRight.js +1 -1
  133. package/components/Icons/ArrowUp.d.ts +5 -0
  134. package/components/Icons/ArrowUp.d.ts.map +1 -0
  135. package/components/Icons/ArrowUp.js +2 -0
  136. package/components/Icons/ArrowUp.js.map +1 -0
  137. package/components/Icons/ArrowUpRight.js +1 -1
  138. package/components/Icons/Attachment.js +1 -1
  139. package/components/Icons/Avatar.js +1 -1
  140. package/components/Icons/Bus.js +1 -1
  141. package/components/Icons/Calendar.js +1 -1
  142. package/components/Icons/CalendarChange.js +1 -1
  143. package/components/Icons/CalendarCheck.js +1 -1
  144. package/components/Icons/CalendarSave.js +1 -1
  145. package/components/Icons/Change.js +1 -1
  146. package/components/Icons/Check.js +1 -1
  147. package/components/Icons/CheckFill.js +1 -1
  148. package/components/Icons/ChevronDown.js +1 -1
  149. package/components/Icons/ChevronLeft.js +1 -1
  150. package/components/Icons/ChevronRight.js +1 -1
  151. package/components/Icons/ChevronUp.js +1 -1
  152. package/components/Icons/ChevronsDown.js +1 -1
  153. package/components/Icons/ChevronsUp.js +1 -1
  154. package/components/Icons/Contacts.js +1 -1
  155. package/components/Icons/Copy.js +1 -1
  156. package/components/Icons/Download.js +1 -1
  157. package/components/Icons/EChat.js +1 -1
  158. package/components/Icons/EnterFullScreen.js +1 -1
  159. package/components/Icons/Envelope.js +1 -1
  160. package/components/Icons/Eraser.js +1 -1
  161. package/components/Icons/ErrorSignFill.js +1 -1
  162. package/components/Icons/ErrorSignStroke.js +1 -1
  163. package/components/Icons/ExitFullScreen.js +1 -1
  164. package/components/Icons/Eye.js +1 -1
  165. package/components/Icons/Form.js +1 -1
  166. package/components/Icons/Forward.js +1 -1
  167. package/components/Icons/Gallery.js +1 -1
  168. package/components/Icons/Globe.js +1 -1
  169. package/components/Icons/Group.js +1 -1
  170. package/components/Icons/Heart.js +1 -1
  171. package/components/Icons/HelpSign.js +1 -1
  172. package/components/Icons/History.js +1 -1
  173. package/components/Icons/Home.js +1 -1
  174. package/components/Icons/Hospital.js +1 -1
  175. package/components/Icons/Hourglass.js +1 -1
  176. package/components/Icons/Icon.js +1 -1
  177. package/components/Icons/InfoSignFill.js +1 -1
  178. package/components/Icons/InfoSignStroke.js +1 -1
  179. package/components/Icons/Journal.js +1 -1
  180. package/components/Icons/List.js +1 -1
  181. package/components/Icons/Location.js +1 -1
  182. package/components/Icons/Lock.js +1 -1
  183. package/components/Icons/Medicine.js +1 -1
  184. package/components/Icons/Menu.js +1 -1
  185. package/components/Icons/Minus.js +1 -1
  186. package/components/Icons/MobilePhone.js +1 -1
  187. package/components/Icons/NoAccess.js +1 -1
  188. package/components/Icons/NoEye.js +1 -1
  189. package/components/Icons/NoFilter.js +1 -1
  190. package/components/Icons/PaperPlane.js +1 -1
  191. package/components/Icons/Pause.js +1 -1
  192. package/components/Icons/Pencil.js +1 -1
  193. package/components/Icons/Play.js +1 -1
  194. package/components/Icons/PlusLarge.js +1 -1
  195. package/components/Icons/PlusSmall.js +1 -1
  196. package/components/Icons/Printer.js +1 -1
  197. package/components/Icons/QrCode.js +1 -1
  198. package/components/Icons/Receptionist.js +1 -1
  199. package/components/Icons/Referral.js +1 -1
  200. package/components/Icons/Refresh.js +1 -1
  201. package/components/Icons/Reply.js +1 -1
  202. package/components/Icons/Save.js +1 -1
  203. package/components/Icons/Search.js +1 -1
  204. package/components/Icons/SectionSign.js +1 -1
  205. package/components/Icons/Settings.js +1 -1
  206. package/components/Icons/Share.js +1 -1
  207. package/components/Icons/SpeechBubble.js +1 -1
  208. package/components/Icons/Stopwatch.js +1 -1
  209. package/components/Icons/SupportingPerson.js +1 -1
  210. package/components/Icons/Syringe.js +1 -1
  211. package/components/Icons/TimePassing.js +1 -1
  212. package/components/Icons/Toolbox.js +1 -1
  213. package/components/Icons/TrashCan.js +1 -1
  214. package/components/Icons/Undo.js +1 -1
  215. package/components/Icons/Upload.js +1 -1
  216. package/components/Icons/Vaccine.js +1 -1
  217. package/components/Icons/VerticalDots.js +1 -1
  218. package/components/Icons/VideoCamera.js +1 -1
  219. package/components/Icons/VideoChat.js +1 -1
  220. package/components/Icons/Wallet.js +1 -1
  221. package/components/Icons/Watch.js +1 -1
  222. package/components/Icons/X.js +1 -1
  223. package/components/Icons/Zoom.js +1 -1
  224. package/components/Icons/index.js +1 -1
  225. package/components/Input/index.js +1 -1
  226. package/components/LinkList/LinkList.d.ts +4 -1
  227. package/components/LinkList/LinkList.d.ts.map +1 -1
  228. package/components/LinkList/index.js +1 -1
  229. package/components/LinkList/styles.module.scss +7 -1
  230. package/components/LinkList/styles.module.scss.d.ts +1 -0
  231. package/components/List/index.js +1 -1
  232. package/components/Loader/index.js +1 -1
  233. package/components/Logo/index.js +1 -1
  234. package/components/Modal/index.js +1 -1
  235. package/components/NotificationPanel/index.js +1 -1
  236. package/components/NotificationPanel/styles.module.scss.d.ts +1 -0
  237. package/components/Panel/Panel.d.ts +9 -0
  238. package/components/Panel/Panel.d.ts.map +1 -1
  239. package/components/Panel/componentdata.json +88 -0
  240. package/components/Panel/index.js +1 -1
  241. package/components/PanelList/index.js +1 -1
  242. package/components/Portal/index.js +1 -1
  243. package/components/RadioButton/index.js +1 -1
  244. package/components/Slider/index.js +1 -1
  245. package/components/Spacer/index.js +1 -1
  246. package/components/StatusDot/index.js +1 -1
  247. package/components/Table/Table.d.ts +20 -0
  248. package/components/Table/Table.d.ts.map +1 -0
  249. package/components/Table/TableBody.d.ts +10 -0
  250. package/components/Table/TableBody.d.ts.map +1 -0
  251. package/components/Table/TableBody.js +2 -0
  252. package/components/Table/TableBody.js.map +1 -0
  253. package/components/Table/TableCell.d.ts +21 -0
  254. package/components/Table/TableCell.d.ts.map +1 -0
  255. package/components/Table/TableCell.js +2 -0
  256. package/components/Table/TableCell.js.map +1 -0
  257. package/components/Table/TableExpandedRow.d.ts +18 -0
  258. package/components/Table/TableExpandedRow.d.ts.map +1 -0
  259. package/components/Table/TableExpandedRow.js +2 -0
  260. package/components/Table/TableExpandedRow.js.map +1 -0
  261. package/components/Table/TableExpanderCell.d.ts +16 -0
  262. package/components/Table/TableExpanderCell.d.ts.map +1 -0
  263. package/components/Table/TableExpanderCell.js +2 -0
  264. package/components/Table/TableExpanderCell.js.map +1 -0
  265. package/components/Table/TableHead.d.ts +17 -0
  266. package/components/Table/TableHead.d.ts.map +1 -0
  267. package/components/Table/TableHead.js +2 -0
  268. package/components/Table/TableHead.js.map +1 -0
  269. package/components/Table/TableHeadCell.d.ts +22 -0
  270. package/components/Table/TableHeadCell.d.ts.map +1 -0
  271. package/components/Table/TableHeadCell.js +2 -0
  272. package/components/Table/TableHeadCell.js.map +1 -0
  273. package/components/Table/TableRow.d.ts +22 -0
  274. package/components/Table/TableRow.d.ts.map +1 -0
  275. package/components/Table/TableRow.js +2 -0
  276. package/components/Table/TableRow.js.map +1 -0
  277. package/components/Table/collapseTwoCol.scss +144 -0
  278. package/components/Table/componentdata.json +137 -0
  279. package/components/Table/index.d.ts +11 -0
  280. package/components/Table/index.d.ts.map +1 -0
  281. package/components/Table/index.js +2 -0
  282. package/components/Table/index.js.map +1 -0
  283. package/components/Table/styles.module.scss +136 -0
  284. package/components/Tag/index.js +1 -1
  285. package/components/TagList/index.js +1 -1
  286. package/components/Textarea/index.js +1 -1
  287. package/components/Tile/Tile.d.ts +3 -0
  288. package/components/Tile/Tile.d.ts.map +1 -1
  289. package/components/Tile/componentdata.json +31 -0
  290. package/components/Tile/index.js +1 -1
  291. package/components/Tile/styles.module.scss +4 -0
  292. package/components/Tile/styles.module.scss.d.ts +1 -0
  293. package/components/Title/index.js +1 -1
  294. package/components/Tooltip/index.js +1 -1
  295. package/components/TooltipExample/index.js +1 -1
  296. package/components/Validation/index.js +1 -1
  297. package/constants-dbdea596.js +2 -0
  298. package/constants-dbdea596.js.map +1 -0
  299. package/constants.d.ts +1 -0
  300. package/constants.d.ts.map +1 -1
  301. package/hooks/useHover.d.ts.map +1 -1
  302. package/{index-7f01d36f.js → index-28ed5ede.js} +2 -2
  303. package/index-28ed5ede.js.map +1 -0
  304. package/index.js +1 -1
  305. package/package.json +1 -1
  306. package/scss/_breakpoints.scss +6 -0
  307. package/useHover-18479690.js +2 -0
  308. package/useHover-18479690.js.map +1 -0
  309. package/AlertSignFill-e0a05c2b.js.map +0 -1
  310. package/AlertSignStroke-d16ccb9e.js.map +0 -1
  311. package/AnchorLink-140a72b0.js +0 -2
  312. package/AnchorLink-140a72b0.js.map +0 -1
  313. package/ArrowRight-2e4b6122.js.map +0 -1
  314. package/ArrowUpRight-e9f5b42e.js.map +0 -1
  315. package/Badge-d7e6ebd7.js.map +0 -1
  316. package/Button-1ae9497c.js.map +0 -1
  317. package/Calendar-03556b56.js.map +0 -1
  318. package/Check-632c2b4f.js.map +0 -1
  319. package/Checkbox-7d0879d2.js.map +0 -1
  320. package/ChevronDown-652aa9e9.js.map +0 -1
  321. package/ChevronRight-a4c19be9.js.map +0 -1
  322. package/ChevronUp-558a33cd.js.map +0 -1
  323. package/Close-ddb54826.js.map +0 -1
  324. package/FormGroup-60527189.js.map +0 -1
  325. package/FormLayout-4207a2c9.js +0 -2
  326. package/FormLayout-4207a2c9.js.map +0 -1
  327. package/Group-4d979be0.js.map +0 -1
  328. package/HelpBubble-6c6578d2.js.map +0 -1
  329. package/Hospital-444c2277.js.map +0 -1
  330. package/Icon-877aeed0.js.map +0 -1
  331. package/InfoSignStroke-415508d1.js.map +0 -1
  332. package/Input-eae60679.js.map +0 -1
  333. package/Loader-c8d984bc.js.map +0 -1
  334. package/Modal-aaedf680.js.map +0 -1
  335. package/NoAccess-c1a3f055.js.map +0 -1
  336. package/Panel-de0c5303.js +0 -2
  337. package/Panel-de0c5303.js.map +0 -1
  338. package/Pencil-0b63b983.js.map +0 -1
  339. package/PlusSmall-06513a15.js.map +0 -1
  340. package/RadioButton-dba5974f.js.map +0 -1
  341. package/Textarea-8ab0bec5.js.map +0 -1
  342. package/Title-b5e19cfc.js.map +0 -1
  343. package/Tooltip-f6c63399.js.map +0 -1
  344. package/Undo-7021257e.js.map +0 -1
  345. package/Validation-333c049f.js.map +0 -1
  346. package/Watch-a947e459.js.map +0 -1
  347. package/X-3e7c0719.js.map +0 -1
  348. package/constants-d84659f5.js +0 -2
  349. package/constants-d84659f5.js.map +0 -1
  350. package/index-7f01d36f.js.map +0 -1
  351. package/useHover-b995a0e6.js +0 -2
  352. package/useHover-b995a0e6.js.map +0 -1
@@ -363,6 +363,56 @@
363
363
  "name": "string"
364
364
  }
365
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
+ },
366
416
  "showCloseButtonInExpand": {
367
417
  "defaultValue": null,
368
418
  "description": "Show close button in bottom of Panel Expand, default: true",
@@ -497,6 +547,44 @@
497
547
  "type": {
498
548
  "name": "boolean"
499
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
+ }
500
588
  }
501
589
  }
502
590
  }
@@ -1,2 +1,2 @@
1
- export{c as PanelLayout,a as PanelStatus,b as PanelVariant,P as default}from"../../Panel-de0c5303.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../Title-b5e19cfc.js";import"../Title/styles.module.scss";import"../../constants-d84659f5.js";import"../../Button-1ae9497c.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-877aeed0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-c8d984bc.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-652aa9e9.js";import"../../ChevronUp-558a33cd.js";import"../../ArrowRight-2e4b6122.js";import"../../AlertSignFill-e0a05c2b.js";import"../../Pencil-0b63b983.js";import"../../Calendar-03556b56.js";import"../../Watch-a947e459.js";import"../../Badge-d7e6ebd7.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 e from"react";import s from"./styles.module.scss";import{A as t}from"../../constants-d84659f5.js";import{b as r,P as o}from"../../Panel-de0c5303.js";import{c as i}from"../../index-d1c0552c.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../_tslib-b219470a.js";import"../Panel/styles.module.scss";import"../../Title-b5e19cfc.js";import"../Title/styles.module.scss";import"../../Button-1ae9497c.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Icon-877aeed0.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../Loader-c8d984bc.js";import"../Loader/styles.module.scss";import"../../useHover-b995a0e6.js";import"../../useBreakpoint-a74f5af5.js";import"../Button/styles.module.scss";import"../../ChevronDown-652aa9e9.js";import"../../ChevronUp-558a33cd.js";import"../../ArrowRight-2e4b6122.js";import"../../AlertSignFill-e0a05c2b.js";import"../../Pencil-0b63b983.js";import"../../Calendar-03556b56.js";import"../../Watch-a947e459.js";import"../../Badge-d7e6ebd7.js";import"../Badge/styles.module.scss";var a=e.forwardRef((function(a,l){var m=a.testId,p=a.children,d=a.variant,n=void 0===d?r.fill:d;return e.createElement("div",{ref:l,"data-testid":m,className:s["panel-list"],"data-analyticsid":t.PanelList},e.Children.map(p,(function(t,a){return p=t,e.isValidElement(p)&&p.type===o?(l=t,m=0===a,e.cloneElement(l,{variant:n,noTopBorder:n===r.line&&!m,className:i(l.props.className,n!==r.line&&s["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-7f01d36f.js";import"react";import"react-dom";import"../../constants-d84659f5.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-dba5974f.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"../../uuid-11037462.js";import"./styles.module.scss";import"../../constants-d84659f5.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-b5e19cfc.js";import c from"./styles.module.scss";import{A as u}from"../../constants-d84659f5.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};
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 r}from"../../index-d1c0552c.js";import e from"./styles.module.scss";import{A as c}from"../../constants-d84659f5.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=r(e.spacer,(s(t={},e["spacer--4xs"],"4xs"===o),s(t,e["spacer--3xs"],"3xs"===o),s(t,e["spacer--2xs"],"2xs"===o),s(t,e["spacer--xs"],"xs"===o),s(t,e["spacer--s"],"s"===o),s(t,e["spacer--m"],"m"===o),s(t,e["spacer--l"],"l"===o),s(t,e["spacer--xl"],"xl"===o),s(t,e["spacer--2xl"],"2xl"===o),s(t,e["spacer--3xl"],"3xl"===o),s(t,e["spacer--4xl"],"4xl"===o),s(t,e["spacer--5xl"],"5xl"===o),s(t,e["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};
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 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-d84659f5.js";import{I as c}from"../../Icon-877aeed0.js";import{U as n}from"../../Undo-7021257e.js";import{g as i}from"../../color-e7d082c1.js";import{G as l}from"../../Group-4d979be0.js";import{N as m}from"../../NoAccess-c1a3f055.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};
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":""}
@@ -0,0 +1,144 @@
1
+ .table {
2
+ &--collapse2col {
3
+ @media (max-width: map-get($grid-max-breakpoints, sm)) {
4
+ .table__cell-expander {
5
+ display: none;
6
+ }
7
+
8
+ .table__head {
9
+ display: none;
10
+ }
11
+
12
+ display: block;
13
+ clear: both;
14
+
15
+ tbody,
16
+ tr,
17
+ th,
18
+ td {
19
+ display: block;
20
+ }
21
+
22
+ tr {
23
+ clear: both;
24
+ }
25
+
26
+ select {
27
+ max-width: 100%;
28
+ }
29
+
30
+ th:focus {
31
+ outline: none;
32
+ background-color: $blueberry800;
33
+ text-decoration: underline;
34
+ }
35
+ td {
36
+ position: relative;
37
+ padding-left: 40%;
38
+ padding-right: 0;
39
+ padding-top: 0.75rem;
40
+ padding-bottom: 0.75rem;
41
+ float: left;
42
+ clear: both;
43
+ width: 100%;
44
+
45
+ &:not(.expandable-container) {
46
+ font-weight: 400;
47
+ }
48
+
49
+ /* Get data from the td-tag attribute "data-label" and use this to populate :before content */
50
+ &::before {
51
+ content: attr(data-label);
52
+ position: relative;
53
+ top: 0;
54
+ left: 0;
55
+ width: 60%;
56
+ padding-right: $spacer;
57
+ white-space: normal;
58
+ display: block;
59
+ float: left;
60
+ word-wrap: break-word;
61
+ margin-left: -67%;
62
+ padding-left: 0.75rem;
63
+ font-weight: 400;
64
+ }
65
+ }
66
+
67
+ .table__expander-cell-mobile {
68
+ padding-left: 0.75rem;
69
+ }
70
+
71
+ .table__expander-button-mobile {
72
+ font-weight: 100;
73
+ padding-right: 1rem;
74
+ &:hover {
75
+ background-color: $blueberry50;
76
+ }
77
+ &--expanded {
78
+ background-color: $blueberry50;
79
+ }
80
+ }
81
+
82
+ .table__expanded-row td {
83
+ text-align: left;
84
+ padding: 0.75rem;
85
+ }
86
+
87
+ .table__expanded-row {
88
+ display: none;
89
+ &--expanded {
90
+ display: block;
91
+ }
92
+ }
93
+
94
+ .table__cell {
95
+ border-top: 0;
96
+ border-bottom: 0;
97
+
98
+ outline: 0;
99
+
100
+ &--center {
101
+ text-align: left;
102
+ }
103
+ &--right {
104
+ text-align: left;
105
+ }
106
+ }
107
+ .table__cell:first-child {
108
+ border-collapse: collapse;
109
+ border-top: 1px solid $neutral500;
110
+ }
111
+ .table__expanded-row {
112
+ .table__cell:first-child {
113
+ border-top: 0;
114
+ }
115
+ }
116
+ .table__row--expandable {
117
+ .table__cell:nth-child(2) {
118
+ border-collapse: collapse;
119
+ border-top: 1px solid $neutral500;
120
+ }
121
+ }
122
+
123
+ tr:last-child .table__cell:last-child {
124
+ border-bottom: 1px solid $neutral500;
125
+ }
126
+
127
+ .table__expander-cell-mobile {
128
+ border-bottom: 1px solid $neutral500;
129
+ &--expanded {
130
+ border-bottom: 0;
131
+ }
132
+ }
133
+
134
+ .table__row--expandable {
135
+ &:focus-within {
136
+ outline: none;
137
+ }
138
+ }
139
+ .table__expanded-row-button {
140
+ display: none;
141
+ }
142
+ }
143
+ }
144
+ }