@midas-ds/components 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
  4. package/BadgeContainer-su0iCJKy.cjs +1 -0
  5. package/Breadcrumbs-BAHJMPsu.js +271 -0
  6. package/Breadcrumbs-DUcHHI_2.cjs +1 -0
  7. package/Button-CMIbSc4-.cjs +1 -0
  8. package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
  9. package/{Button-akT6Hvug.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-DQm2iqKU.cjs → Button-DrL5Jv-s.cjs} +1 -1
  11. package/Button.module-BNLcvARn.cjs +1 -0
  12. package/Button.module-Bax2YU6N.js +14 -0
  13. package/ButtonGroup-ClYTgaRc.cjs +1 -0
  14. package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
  15. package/CHANGELOG.md +65 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/CharacterCounter-DT7A0wWP.js +22 -0
  20. package/Checkbox-BtM2rFh9.js +278 -0
  21. package/Checkbox-CvdIG43J.cjs +1 -0
  22. package/CheckboxGroup-C94as9Xt.cjs +1 -0
  23. package/CheckboxGroup-CjcDYBRk.js +157 -0
  24. package/Collection-B0_WAieZ.js +625 -0
  25. package/Collection-BvWp2xBd.cjs +1 -0
  26. package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-C4PMYeD5.js} +20 -28
  27. package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +3 -3
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-Dn3tQzri.js → ComboBox-BWXJZyOR.js} +522 -507
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-CXkUdlzc.js} +936 -839
  33. package/DateInputDivider-Cf5GZHlM.cjs +1 -0
  34. package/DateRangePicker-B2BJO1KC.js +889 -0
  35. package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
  36. package/Dialog-B8swxl24.js +1643 -0
  37. package/Dialog-DR6nEqMT.cjs +1 -0
  38. package/Dialog-DgJobm71.cjs +1 -0
  39. package/Dialog-P3frHOdq.js +240 -0
  40. package/DragAndDrop-Dw8JZmrn.cjs +1 -0
  41. package/DragAndDrop-PrUJv--B.js +75 -0
  42. package/{Dropdown-BWbdSQ9U.js → Dropdown-CIvWpN3v.js} +8 -8
  43. package/{Dropdown-CJ-sujKv.cjs → Dropdown-DJ2vWAqk.cjs} +2 -2
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/FieldError-DdvFyIf4.js +48 -0
  46. package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/{Grid-Db5wZrw6.cjs → Grid-WbEkSCGh.cjs} +1 -1
  51. package/{Grid-B2av0vt8.js → Grid-s8ovKDi8.js} +1 -1
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  59. package/InfoBanner-CqjnTYaa.cjs +1 -0
  60. package/InfoBanner-CrA8MS3v.js +83 -0
  61. package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
  62. package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
  63. package/{Label-ByWt6Lfh.js → Label-BG7G0iyG.js} +24 -28
  64. package/Label-C00qz3kQ.cjs +1 -0
  65. package/Layout-Bta_Cpq_.cjs +16 -0
  66. package/Layout-CG-Qxr_1.js +482 -0
  67. package/{Link-Dnnv00g9.js → Link-BtxKZ0h3.js} +16 -16
  68. package/Link-Bx6avHVl.cjs +6 -0
  69. package/Link-CbFSuEI1.js +73 -0
  70. package/Link-wM7cVPlS.cjs +1 -0
  71. package/LinkButton-BvXu6vAH.cjs +6 -0
  72. package/LinkButton-D3EnZ65v.js +69 -0
  73. package/ListBox-ICZKGluC.cjs +1 -0
  74. package/ListBox-LncMQt6I.js +523 -0
  75. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  76. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  77. package/ListBoxSection-BCPv9H50.js +1085 -0
  78. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  79. package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  80. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  81. package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
  82. package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
  83. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  84. package/OverlayArrow-CvNuu3e3.js +519 -0
  85. package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  86. package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
  87. package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
  88. package/PressResponder-DbnYqwGB.cjs +1 -0
  89. package/ProgressBar-CdXHEJh6.js +53 -0
  90. package/ProgressBar-CjuHokVZ.cjs +1 -0
  91. package/Radio-Bll-7H8O.cjs +1 -0
  92. package/Radio-DoWx2AE1.js +333 -0
  93. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  94. package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-D7eFVAPP.js} +638 -630
  95. package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
  96. package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
  97. package/{SearchField-Ma3KB8Em.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  98. package/{SearchField-B0dlPqsW.js → SearchField-F2FKgYds.js} +29 -33
  99. package/Select-BnbDXwgD.cjs +1 -0
  100. package/Select-Dpi3LhbI.js +654 -0
  101. package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  102. package/SelectionManager-BtbHoHpA.cjs +1 -0
  103. package/Separator-CM0KPvsX.js +105 -0
  104. package/Separator-Cfv2pbWf.cjs +1 -0
  105. package/Separator-DH-5wu9X.js +77 -0
  106. package/Separator-Dgin8BNW.cjs +1 -0
  107. package/Skeleton-BpYj25p8.js +37 -0
  108. package/Skeleton-DMOxEwnd.cjs +1 -0
  109. package/Spinner-D1UBuLy4.cjs +6 -0
  110. package/Spinner-DTKb_LAA.js +47 -0
  111. package/TabList-D4WwgQY3.cjs +1 -0
  112. package/TabList-D9tl2s85.js +397 -0
  113. package/Table-C6k3PiiC.cjs +16 -0
  114. package/{Table-CTS0J_sQ.js → Table-CkN3y69S.js} +856 -798
  115. package/Tag-7dHEMQum.cjs +1 -0
  116. package/Tag-BUJ20HHw.js +765 -0
  117. package/Text-BAFsaON-.cjs +1 -0
  118. package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
  119. package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
  120. package/Text-CmlsaWMA.js +32 -0
  121. package/TextArea-BCikUXaD.cjs +1 -0
  122. package/TextArea-h5_oBQH1.js +125 -0
  123. package/TextField-Bm5916AD.cjs +1 -0
  124. package/TextField-_UY8CXtW.js +134 -0
  125. package/TextField.module-C9Zm9unF.js +13 -0
  126. package/TextField.module-GTQtNO0r.cjs +1 -0
  127. package/{Toast-BnzpC_5v.js → Toast-BBkWczCk.js} +202 -214
  128. package/{Toast-BEh5yYzO.cjs → Toast-DclaxvZM.cjs} +1 -1
  129. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  130. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  131. package/Tooltip-BHAtsp9k.js +281 -0
  132. package/Tooltip-CZa9n5sT.cjs +1 -0
  133. package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
  134. package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  135. package/accordion/index.cjs +1 -1
  136. package/accordion/index.js +1 -1
  137. package/assets/AccordionItem.css +1 -1
  138. package/assets/BadgeContainer.css +1 -1
  139. package/assets/Breadcrumbs.css +1 -1
  140. package/assets/Button.css +1 -1
  141. package/assets/ButtonGroup.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/CharacterCounter.css +1 -1
  144. package/assets/Checkbox.css +1 -1
  145. package/assets/ComboBox.css +1 -1
  146. package/assets/DateField.css +1 -1
  147. package/assets/DateInputDivider.css +1 -1
  148. package/assets/DateRangePicker.css +1 -1
  149. package/assets/Dialog.css +1 -1
  150. package/assets/Dropdown.css +1 -1
  151. package/assets/FieldError.css +1 -1
  152. package/assets/FileUpload.css +1 -1
  153. package/assets/GridItem.css +1 -1
  154. package/assets/Heading.css +1 -1
  155. package/assets/InfoBanner.css +1 -1
  156. package/assets/Label.css +1 -1
  157. package/assets/Layout.css +1 -1
  158. package/assets/Link.css +1 -1
  159. package/assets/LinkButton.css +1 -1
  160. package/assets/ListBoxSection.css +1 -1
  161. package/assets/Logo.css +1 -1
  162. package/assets/Popover.css +1 -1
  163. package/assets/ProgressBar.css +1 -1
  164. package/assets/Radio.css +1 -1
  165. package/assets/RangeCalendar.css +1 -1
  166. package/assets/SearchField.css +1 -1
  167. package/assets/Select.css +1 -1
  168. package/assets/Separator.css +1 -0
  169. package/assets/Skeleton.css +1 -1
  170. package/assets/Spinner.css +1 -1
  171. package/assets/TabList.css +1 -1
  172. package/assets/Table.css +1 -1
  173. package/assets/Tag.css +1 -1
  174. package/assets/Text.css +1 -1
  175. package/assets/TextField.css +1 -1
  176. package/assets/Toast.css +1 -1
  177. package/assets/ToggleButtonGroup.css +1 -1
  178. package/assets/Tooltip.css +1 -1
  179. package/assets/theme.css +1 -1
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/index.cjs +1 -1
  184. package/breadcrumbs/index.js +1 -1
  185. package/button/index.cjs +1 -1
  186. package/button/index.js +2 -2
  187. package/calendar/index.cjs +1 -1
  188. package/calendar/index.js +1 -1
  189. package/card/index.cjs +1 -1
  190. package/card/index.js +1 -1
  191. package/character-counter/index.cjs +1 -1
  192. package/character-counter/index.js +1 -1
  193. package/checkbox/index.cjs +1 -1
  194. package/checkbox/index.js +2 -2
  195. package/chevron-right-0-sUFBiR.cjs +6 -0
  196. package/chevron-right-BYYHEJjK.js +11 -0
  197. package/color-scheme-switch/index.cjs +1 -1
  198. package/color-scheme-switch/index.js +1 -1
  199. package/combobox/index.cjs +1 -1
  200. package/combobox/index.d.ts +1 -1
  201. package/combobox/index.js +1 -1
  202. package/combobox/intl/translations.json.d.ts +4 -2
  203. package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
  204. package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
  205. package/date-field/index.cjs +1 -1
  206. package/date-field/index.js +2 -2
  207. package/date-picker/index.cjs +1 -1
  208. package/date-picker/index.js +1 -1
  209. package/dropdown/Dropdown.d.ts +18 -0
  210. package/dropdown/index.cjs +1 -1
  211. package/dropdown/index.js +1 -1
  212. package/field-error/index.cjs +1 -1
  213. package/field-error/index.js +1 -1
  214. package/file-upload/index.cjs +1 -1
  215. package/file-upload/index.js +1 -1
  216. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  217. package/filterDOMProps-wsa9OcNI.js +65 -0
  218. package/grid/index.cjs +1 -1
  219. package/grid/index.js +2 -2
  220. package/heading/index.cjs +1 -1
  221. package/heading/index.js +1 -1
  222. package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
  223. package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
  224. package/index.cjs +1 -1
  225. package/index.d.ts +2 -0
  226. package/index.js +140 -125
  227. package/inertValue-B3AFhVG4.cjs +1 -0
  228. package/info-banner/index.cjs +1 -1
  229. package/info-banner/index.js +1 -1
  230. package/label/index.cjs +1 -1
  231. package/label/index.js +1 -1
  232. package/layout/index.cjs +1 -1
  233. package/layout/index.js +1 -1
  234. package/link/index.cjs +1 -1
  235. package/link/index.js +2 -2
  236. package/link-button/index.cjs +1 -1
  237. package/link-button/index.js +2 -2
  238. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  239. package/list-box/index.cjs +1 -1
  240. package/list-box/index.d.ts +1 -0
  241. package/list-box/index.js +6 -5
  242. package/list-box/intl/translations.json.d.ts +11 -0
  243. package/logo/index.cjs +1 -1
  244. package/logo/index.js +1 -1
  245. package/menu/Menu.d.ts +13 -0
  246. package/menu/MenuItem.d.ts +5 -0
  247. package/menu/MenuPopover.d.ts +3 -0
  248. package/menu/MenuSection.d.ts +3 -0
  249. package/menu/Separator.d.ts +3 -0
  250. package/menu/index.cjs +1 -0
  251. package/menu/index.d.ts +5 -0
  252. package/menu/index.js +8 -0
  253. package/mergeProps-BSsN7Bgk.js +117 -0
  254. package/mergeProps-JhcJ7uJL.cjs +1 -0
  255. package/modal/index.cjs +1 -1
  256. package/modal/index.js +2 -2
  257. package/package.json +6 -4
  258. package/popover/index.cjs +1 -1
  259. package/popover/index.js +1 -1
  260. package/progress-bar/index.cjs +1 -1
  261. package/progress-bar/index.js +1 -1
  262. package/radio/index.cjs +1 -1
  263. package/radio/index.js +1 -1
  264. package/search-field/index.cjs +1 -1
  265. package/search-field/index.js +1 -1
  266. package/select/Select.d.ts +1 -1
  267. package/select/index.cjs +1 -1
  268. package/select/index.js +1 -1
  269. package/skeleton/index.cjs +1 -1
  270. package/skeleton/index.js +1 -1
  271. package/spinner/index.cjs +1 -1
  272. package/spinner/index.js +1 -1
  273. package/table/index.cjs +1 -1
  274. package/table/index.js +1 -1
  275. package/tabs/index.cjs +1 -1
  276. package/tabs/index.js +1 -1
  277. package/tag/index.cjs +1 -1
  278. package/tag/index.js +1 -1
  279. package/text/index.cjs +1 -1
  280. package/text/index.js +1 -1
  281. package/textfield/Input.d.ts +7 -2
  282. package/textfield/PasswordField.d.ts +1 -1
  283. package/textfield/index.cjs +1 -1
  284. package/textfield/index.js +1 -1
  285. package/theme/generated-object.d.ts +384 -0
  286. package/theme/generated-tokens.d.ts +334 -0
  287. package/theme/index.cjs +1 -1
  288. package/theme/index.d.ts +4 -1
  289. package/theme/index.js +4037 -14
  290. package/theme/tokens.d.ts +30 -1
  291. package/toast/index.cjs +1 -1
  292. package/toast/index.js +1 -1
  293. package/toggle-button/index.cjs +1 -1
  294. package/toggle-button/index.js +1 -1
  295. package/{tokens-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
  296. package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
  297. package/tooltip/index.cjs +1 -1
  298. package/tooltip/index.js +1 -1
  299. package/useButton-D6iUB8cN.js +56 -0
  300. package/useButton-R8-i3HLC.cjs +1 -0
  301. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  302. package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  303. package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
  304. package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  305. package/useEvent-3ZO5TPSH.cjs +1 -0
  306. package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
  307. package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
  308. package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
  309. package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
  310. package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
  311. package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  312. package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
  313. package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
  314. package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  315. package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  316. package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
  317. package/useFormValidation-BQIRxgbU.cjs +1 -0
  318. package/useFormValidation-L0UHvOsP.js +217 -0
  319. package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  320. package/useHasTabbableChild-CJcLnolh.cjs +1 -0
  321. package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
  322. package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  323. package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
  324. package/useHover-DGAmG7jt.cjs +1 -0
  325. package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  326. package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
  327. package/useListState-D2IEg6_e.cjs +1 -0
  328. package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
  329. package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
  330. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  331. package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  332. package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
  333. package/useObserveElement-MhzEsCkX.cjs +1 -0
  334. package/usePress-CicXV7UO.cjs +7 -0
  335. package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
  336. package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  337. package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  338. package/useTextField-BC5X_AO_.js +89 -0
  339. package/useTextField-Cxpfu0U3.cjs +1 -0
  340. package/useToggleState-BVOqL4hI.js +21 -0
  341. package/useToggleState-SqDyNfRi.cjs +1 -0
  342. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  343. package/utils/types.d.ts +4 -0
  344. package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
  345. package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
  346. package/utils-DFIwp4PB.js +262 -0
  347. package/utils-__vrf9VZ.cjs +1 -0
  348. package/AccordionItem-DEiRuizp.js +0 -361
  349. package/AccordionItem-Dhr7uo8u.cjs +0 -1
  350. package/BadgeContainer-CxVmqJ7g.cjs +0 -1
  351. package/Breadcrumbs-CEyKlcGU.js +0 -262
  352. package/Breadcrumbs-CnGzvtbn.cjs +0 -1
  353. package/Button-DZzQGk-L.cjs +0 -1
  354. package/Button.module-D-mPLRxe.js +0 -14
  355. package/Button.module-goCEz5qs.cjs +0 -1
  356. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  357. package/Card-CwwVnA_a.js +0 -131
  358. package/Card-DPfOZC7f.cjs +0 -1
  359. package/CharacterCounter-DPphWPzA.js +0 -22
  360. package/Checkbox-BN_3F2Hl.js +0 -264
  361. package/Checkbox-CZtCj4yR.cjs +0 -1
  362. package/CheckboxGroup--xgOT1Do.js +0 -159
  363. package/CheckboxGroup-DGHaqRvb.cjs +0 -1
  364. package/Collection-B1xL4EdF.cjs +0 -1
  365. package/Collection-C5vE9MtJ.js +0 -577
  366. package/ComboBox-UadZMhiR.cjs +0 -1
  367. package/DateField-CNEoLyf5.cjs +0 -1
  368. package/DateField-CZmLugT0.js +0 -47
  369. package/DateInputDivider-CCjiq90K.cjs +0 -1
  370. package/DateRangePicker-DhgLEa9P.cjs +0 -6
  371. package/DateRangePicker-WQ97Psz7.js +0 -870
  372. package/Dialog-BT0tVGQb.cjs +0 -1
  373. package/Dialog-BuJdAr0D.js +0 -1611
  374. package/Dialog-DYK8lySl.cjs +0 -1
  375. package/Dialog-L53DWF0Z.js +0 -220
  376. package/DragAndDrop-DKxsUpmW.js +0 -60
  377. package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
  378. package/FieldError-BlKkw9YL.js +0 -46
  379. package/FieldError-BvU0sueN.cjs +0 -1
  380. package/FocusScope-CAgWgk3N.cjs +0 -1
  381. package/GridItem-BnyULDnc.cjs +0 -1
  382. package/GridItem-orSzD7H5.js +0 -243
  383. package/Heading-DDhdwRAW.js +0 -46
  384. package/Heading-OUPkdoEJ.cjs +0 -1
  385. package/InfoBanner-DpLcq_1R.cjs +0 -1
  386. package/InfoBanner-U5hxOipC.js +0 -99
  387. package/Label-COpr4xVt.cjs +0 -1
  388. package/Layout-BR3Or1Ga.cjs +0 -16
  389. package/Layout-Bdqauktv.js +0 -498
  390. package/Link-CM2N5Jq-.js +0 -72
  391. package/Link-Dq8IFDBx.cjs +0 -6
  392. package/Link-ceVlGaWQ.cjs +0 -1
  393. package/LinkButton-BJA9_HzL.cjs +0 -6
  394. package/LinkButton-DH3Nfdis.js +0 -69
  395. package/ListBox-D0u9svwm.cjs +0 -1
  396. package/ListBox-y_dw__MI.js +0 -531
  397. package/ListBoxButton-C2zp-gXD.cjs +0 -1
  398. package/ListBoxButton-DiseS_LX.js +0 -15
  399. package/ListBoxSection-Cv-gN76G.js +0 -1058
  400. package/ListBoxSection-DtsigmC1.cjs +0 -1
  401. package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
  402. package/OverlayArrow-8praV_Xy.cjs +0 -1
  403. package/OverlayArrow-DfkRZlgG.js +0 -507
  404. package/PressResponder-Bm3_RM9c.cjs +0 -1
  405. package/ProgressBar-D5mNQTID.cjs +0 -1
  406. package/ProgressBar-wQirOG1N.js +0 -53
  407. package/Radio-BIomn_sP.js +0 -313
  408. package/Radio-CxvJ5Wrl.cjs +0 -1
  409. package/RangeCalendar-BvvZ2SBj.cjs +0 -11
  410. package/Select-769RSZ9V.js +0 -664
  411. package/Select-Go5x0zWl.cjs +0 -1
  412. package/SelectionManager-BvREZgeu.cjs +0 -1
  413. package/Separator-CggS0R7Q.js +0 -59
  414. package/Separator-DBsDhqCr.cjs +0 -1
  415. package/Skeleton-BAwbfKBW.cjs +0 -1
  416. package/Skeleton-BePDRmrO.js +0 -40
  417. package/Spinner-AXFRWuT6.js +0 -51
  418. package/Spinner-yHx_DX_4.cjs +0 -6
  419. package/TabList-0gj27e_e.js +0 -386
  420. package/TabList-Cqpup53E.cjs +0 -1
  421. package/Table-BhtlNY9P.cjs +0 -16
  422. package/Tag-B9M-nBTM.js +0 -748
  423. package/Tag-DkW6zaIS.cjs +0 -1
  424. package/Text-BUDAzDjW.js +0 -32
  425. package/Text-DA_gK6a2.cjs +0 -1
  426. package/TextArea-CSrrYY05.cjs +0 -1
  427. package/TextArea-DphcH6wE.js +0 -119
  428. package/TextField-CsyRTSEG.js +0 -120
  429. package/TextField-P5yICj5z.cjs +0 -1
  430. package/TextField.module-BcpPBWnD.js +0 -13
  431. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  432. package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
  433. package/ToggleButtonGroup-CuxAKB3-.js +0 -211
  434. package/Tooltip-Bz0xCZSw.cjs +0 -1
  435. package/Tooltip-EuEQtHZj.js +0 -285
  436. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  437. package/filterDOMProps-D6KHYVBX.js +0 -24
  438. package/inertValue-BWmZ1afe.cjs +0 -1
  439. package/mergeProps-BYJQ6N1s.js +0 -115
  440. package/mergeProps-C7Sx47fA.cjs +0 -1
  441. package/useButton-CWHoXYnj.js +0 -47
  442. package/useButton-CwOQUGtY.cjs +0 -1
  443. package/useDateFormatter-bzjwqA2K.cjs +0 -1
  444. package/useEvent-CGRyLM2c.cjs +0 -1
  445. package/useFormValidation-BW2NSTM4.js +0 -215
  446. package/useFormValidation-DSRwb9US.cjs +0 -1
  447. package/useHasTabbableChild-CogBR_6o.cjs +0 -1
  448. package/useHover-CaFzQrR_.cjs +0 -1
  449. package/useListState-TtWy_rDI.cjs +0 -1
  450. package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
  451. package/useObserveElement-BzEr5D32.cjs +0 -1
  452. package/usePress-BOGIOlm8.cjs +0 -7
  453. package/useTextField-BVIOd8Ld.cjs +0 -1
  454. package/useTextField-DFkSHoQN.js +0 -86
  455. package/useToggleState-Bz5rAf4C.js +0 -18
  456. package/useToggleState-DoIkSQdj.cjs +0 -1
  457. package/utils-C5-CzvX2.cjs +0 -1
  458. package/utils-CuqJqFqQ.js +0 -234
@@ -1,35 +1,31 @@
1
1
  import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
- import * as b from "react";
3
- import n from "react";
4
- import { c as f } from "./clsx-OuTLNxxd.js";
5
- import { d } from "./Button-DtC_ZOyd.js";
6
- import { P as v } from "./Popover-viLqHHX2.js";
7
- import { B as u } from "./Button-akT6Hvug.js";
8
- import { $ as P } from "./Dialog-BuJdAr0D.js";
2
+ import * as f from "react";
3
+ import l from "react";
4
+ import { c as b } from "./clsx-OuTLNxxd.js";
5
+ import { d } from "./Button-DD5_S-tD.js";
6
+ import { P as v } from "./Popover-CyEVqpJ6.js";
7
+ import { B as u } from "./Button-DYcmg49Z.js";
8
+ import { $ as P } from "./Dialog-B8swxl24.js";
9
9
  import { I as g } from "./info-CPK1vbOJ.js";
10
- import { u as _ } from "./useLocalizedStringFormatter-aOhh7wdl.js";
11
- import './assets/Label.css';const $ = "_labelBase_khdpe_4", I = {
12
- labelBase: $
13
- }, x = "_labelPopover_1ici8_4", L = "_labelPopoverTrigger_1ici8_10", m = {
14
- labelPopover: x,
10
+ import { u as _ } from "./useLocalizedStringFormatter-N0AyjzbM.js";
11
+ import './assets/Label.css';const I = "_labelBase_vjive_1", x = {
12
+ labelBase: I
13
+ }, $ = "_labelPopover_1iatl_1", L = "_labelPopoverTrigger_1iatl_7", m = {
14
+ labelPopover: $,
15
15
  labelPopoverTrigger: L
16
- }, T = {
17
- moreInfo: "More info"
18
- }, B = {
19
- moreInfo: "Mer information"
20
- }, h = {
16
+ }, T = { moreInfo: "More info" }, B = { moreInfo: "Mer information" }, C = {
21
17
  en: T,
22
18
  sv: B
23
- }, C = ({
19
+ }, h = ({
24
20
  children: e,
25
21
  "aria-label": o
26
22
  }) => {
27
- const [a, l] = n.useState(!1), s = n.useContext(i), t = _(h);
23
+ const [a, n] = l.useState(!1), s = l.useContext(i), t = _(C);
28
24
  return /* @__PURE__ */ c(
29
25
  P,
30
26
  {
31
27
  isOpen: a,
32
- onOpenChange: l,
28
+ onOpenChange: n,
33
29
  children: [
34
30
  /* @__PURE__ */ r(
35
31
  u,
@@ -46,23 +42,23 @@ import './assets/Label.css';const $ = "_labelBase_khdpe_4", I = {
46
42
  ]
47
43
  }
48
44
  );
49
- }, i = n.createContext(void 0), R = ({ children: e, popover: o }) => {
50
- const a = n.useId();
45
+ }, i = l.createContext(void 0), S = ({ children: e, popover: o }) => {
46
+ const a = l.useId();
51
47
  return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId: a }, children: /* @__PURE__ */ c("div", { className: m.labelPopover, children: [
52
48
  e,
53
- /* @__PURE__ */ r(C, { ...o })
49
+ /* @__PURE__ */ r(h, { ...o })
54
50
  ] }) }) : e;
55
51
  }, p = "label", W = ({
56
52
  children: e,
57
53
  className: o,
58
54
  elementType: a = p,
59
- ...l
55
+ ...n
60
56
  }) => {
61
57
  const s = {
62
- className: f(I.labelBase, o),
58
+ className: b(x.labelBase, o),
63
59
  elementType: a || p,
64
- ...l
65
- }, t = b.useContext(i);
60
+ ...n
61
+ }, t = f.useContext(i);
66
62
  return /* @__PURE__ */ r(
67
63
  d,
68
64
  {
@@ -74,5 +70,5 @@ import './assets/Label.css';const $ = "_labelBase_khdpe_4", I = {
74
70
  };
75
71
  export {
76
72
  W as L,
77
- R as a
73
+ S as a
78
74
  };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),b=require("./clsx-C11secjj.cjs"),p=require("./Button-CMIbSc4-.cjs"),f=require("./Popover-Bi5yJEoE.cjs"),d=require("./Button-DrL5Jv-s.cjs"),v=require("./Dialog-DR6nEqMT.cjs"),g=require("./info-Dj6SyPex.cjs"),m=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const P=x(l),j="_labelBase_vjive_1",_={labelBase:j},I="_labelPopover_1iatl_1",q="_labelPopoverTrigger_1iatl_7",u={labelPopover:I,labelPopoverTrigger:q},L={moreInfo:"More info"},O={moreInfo:"Mer information"},T={en:L,sv:O},$=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(T);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(d.Button,{variant:"icon",size:"medium",className:u.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(f.Popover,{children:e})]})},c=l.createContext(void 0),y=({children:e,popover:o})=>{const r=l.useId();return o?t.jsx(c.Provider,{value:{popoverId:r},children:t.jsxs("div",{className:u.labelPopover,children:[e,t.jsx($,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:b.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(p.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
@@ -0,0 +1,16 @@
1
+ "use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),E=require("./GridItem-CIVF1fRW.cjs"),O=require("react"),p=require("./clsx-C11secjj.cjs"),L=require("./Button-DrL5Jv-s.cjs"),C=require("./Link-wM7cVPlS.cjs"),I=require("./Tooltip-CZa9n5sT.cjs"),b=require("./BadgeContainer-su0iCJKy.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),T=require("./usePress-CicXV7UO.cjs"),f=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),H=require("./tokens-B3FfJ-rY.cjs"),k=require("./Logo-CFjZc5u2.cjs"),G=require("./x-rV-nu490.cjs");function D(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return t.default=a,Object.freeze(t)}const g=D(O);/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const F=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],W=y.createLucideIcon("menu",F);/**
7
+ * @license lucide-react v0.525.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const R=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],A=y.createLucideIcon("panel-left-close",R);/**
12
+ * @license lucide-react v0.525.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const X=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],J=y.createLucideIcon("panel-left-open",X),K="_baseLayout_1300g_4",Q="_mainContent_1300g_13",U="_header_1300g_18",V="_headerExternal_1300g_29",Y="_headerContent_1300g_44",Z="_logo_1300g_63",ee="_headerItems_1300g_72",se="_toggleButton_1300g_78",ae="_sidebar_1300g_86",te="_main_1300g_13",ne="_app_1300g_119",re="_sidebarOpened_1300g_127",ie="_sidebarHeader_1300g_131",oe="_appName_1300g_143",le="_collapseButton_1300g_150",ce="_sidebarCollapsed_1300g_159",de="_userName_1300g_169",me="_userTitle_1300g_187",ue="_title_1300g_199",xe="_sidebarNav_1300g_210",pe="_list_1300g_216",_e="_listGroupTitle_1300g_222",he="_listItem_1300g_229",ge="_listItemCollapsed_1300g_234",be="_listLink_1300g_238",je="_listLinkCollapsed_1300g_283",ve="_active_1300g_288",fe="_backdrop_1300g_302",Ne="_backdropOpened_1300g_312",ke="_skipToContent_1300g_330",Ce="_navbar_1300g_344",Le="_navbarList_1300g_356",ye="_navbarItem_1300g_378",Me="_headerContentExternal_1300g_418",Se="_logoExternalContainer_1300g_426",Ee="_logoExternal_1300g_426",Ie="_logoExternalDesktop_1300g_438",Be="_navbarWrapper_1300g_447",s={baseLayout:K,mainContent:Q,header:U,headerExternal:V,headerContent:Y,logo:Z,headerItems:ee,toggleButton:se,sidebar:ae,main:te,app:ne,sidebarOpened:re,sidebarHeader:ie,appName:oe,collapseButton:le,sidebarCollapsed:ce,userName:de,userTitle:me,title:ue,sidebarNav:xe,list:pe,listGroupTitle:_e,listItem:he,listItemCollapsed:ge,listLink:be,listLinkCollapsed:je,active:ve,backdrop:fe,backdropOpened:Ne,skipToContent:ke,navbar:Ce,navbarList:Le,navbarItem:ye,headerContentExternal:Me,logoExternalContainer:Se,logoExternal:Ee,logoExternalDesktop:Ie,navbarWrapper:Be},P=g.createContext(void 0),ze=({items:a,title:t,user:r,app:n,children:i,clientSideRouter:l,clientSideHref:o,headerChildren:x,isCollapsed:u,setIsCollapsed:d,isOpened:_,setIsOpened:m,variant:h,id:j})=>e.jsx(P.Provider,{value:{items:a,title:t,user:r,app:n,headerChildren:x,isCollapsed:u,setIsCollapsed:d,isOpened:_,setIsOpened:m,clientSideRouter:l,clientSideHref:o,variant:h,id:j},children:i}),v=()=>{const a=g.useContext(P);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},M=({title:a,href:t,icon:r,active:n,hasBadge:i})=>{const{isCollapsed:l,setIsOpened:o,clientSideHref:x}=v(),u=x?x(t):t,[d,_]=g.useState(!1);return g.useEffect(()=>{typeof window<"u"&&_(n??window.location.pathname===u)},[n,u]),l?e.jsxs(I.TooltipTrigger,{children:[e.jsx(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,s.listLinkCollapsed,d&&s.active),onPress:()=>o==null?void 0:o(!1),children:e.jsxs(b.BadgeContainer,{children:[e.jsx(r,{size:20,"aria-label":a}),i&&e.jsx(b.Badge,{})]})}),e.jsx(I.Tooltip,{placement:"right",children:a})]}):e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,d&&s.active),onPress:()=>o==null?void 0:o(!1),children:[e.jsxs(b.BadgeContainer,{children:[e.jsx(r,{size:20}),i&&e.jsx(b.Badge,{})]}),a]})},Te={closeMenu:"Close menu",openMenu:"Open menu",maximizeMenu:"Maximize menu",minimizeMenu:"Minimize menu",sidebarMenu:"Sidebar menu",bottomMenu:"Bottom menu",skipToContent:"Skip to main content"},Pe={closeMenu:"Stäng meny",openMenu:"Öppna meny",maximizeMenu:"Maximera meny",minimizeMenu:"Minimera meny",sidebarMenu:"Sidomeny",bottomMenu:"Bottenmeny",skipToContent:"Hoppa till huvudinnehåll"},N={en:Te,sv:Pe},$=()=>{const{items:a,app:t,isOpened:r,isCollapsed:n,setIsCollapsed:i,setIsOpened:l,clientSideRouter:o,clientSideHref:x,id:u}=v(),d=f.useLocalizedStringFormatter(N),_=({group:m})=>e.jsx("ul",{className:s.list,children:m.items.map((h,j)=>e.jsx("li",{className:p.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(M,{...h})},"link_"+j))});return g.useEffect(()=>{const m=h=>{h.key==="Escape"&&l!==void 0&&l(!1)};return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[l]),e.jsxs("aside",{id:u,className:p.clsx(s.sidebar,n&&s.sidebarCollapsed,r&&s.sidebarOpened),children:[e.jsxs("div",{className:s.sidebarHeader,children:[!n&&e.jsx("p",{className:s.appName,children:t.name}),e.jsx(L.Button,{variant:"icon","aria-label":n?d.format("maximizeMenu"):d.format("minimizeMenu"),onPress:()=>i(!n),className:s.collapseButton,children:n?e.jsx(J,{size:20}):e.jsx(A,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":d.format("sidebarMenu"),children:e.jsx("ul",{className:s.list,children:a.map((m,h)=>e.jsxs("li",{children:[m.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:m.title}),o?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:o,useHref:x,children:e.jsx(_,{group:m})}):e.jsx(_,{group:m})]},"list_"+h))})})]})},q=()=>{const{title:a,user:t,app:r,isOpened:n,setIsOpened:i,setIsCollapsed:l,headerChildren:o,variant:x,id:u}=v(),d=f.useLocalizedStringFormatter(N);return x==="external"?e.jsx("header",{className:p.clsx(s.header,s.headerExternal),children:e.jsxs("div",{className:s.headerContentExternal,children:[e.jsxs("div",{className:s.logoExternalContainer,children:[e.jsx(k.Logo,{size:"x-small",padding:!1,className:s.logoExternal}),e.jsx(k.Logo,{size:"small",padding:!1,className:s.logoExternalDesktop}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${r.color?r.color:H.semantic.brandPrimary}`},children:[e.jsxs("div",{className:s.headerContent,children:[e.jsx("div",{className:s.logo,children:e.jsx(k.Logo,{size:"small",padding:!1})}),n!==void 0&&e.jsx(L.Button,{variant:"icon",className:s.toggleButton,"aria-label":n?d.format("closeMenu"):d.format("openMenu"),"aria-controls":u,onPressStart:()=>{l(!1),i==null||i(!0)},children:n?e.jsx(G.X,{size:20,"aria-hidden":"true"}):e.jsx(W,{size:20,"aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title}),e.jsx("p",{className:s.title,children:a})]})]}),e.jsx("div",{className:s.headerItems,children:o})]})},B=({id:a="#main:first-of-type"})=>{const t=()=>{const n=document.querySelector(a);n&&(n.tabIndex=-1,n.focus(),setTimeout(()=>n.removeAttribute("tabindex"),1e3))},r=f.useLocalizedStringFormatter(N);return e.jsx(L.Button,{onPress:t,className:s.skipToContent,children:r.format("skipToContent")})},$e=()=>{const{isOpened:a,setIsOpened:t}=v();return a?e.jsx("div",{className:p.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},w=()=>{var l;const{items:a,clientSideRouter:t,clientSideHref:r}=v(),n=f.useLocalizedStringFormatter(N),i=(l=a.at(0))==null?void 0:l.items;return e.jsx("nav",{className:s.navbar,"aria-label":n.format("bottomMenu"),children:i&&e.jsx("ul",{className:p.clsx(s.navbarList),children:t?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:r,children:e.jsx(z,{items:i})}):e.jsx(z,{items:i})})})},z=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:r,icon:n,title:i,hasBadge:l},o)=>e.jsx("li",{children:e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:p.clsx(s.navbarItem),"data-active":r,"aria-current":r&&"page",children:[e.jsxs(b.BadgeContainer,{children:[e.jsx(n,{size:20}),l&&e.jsx(b.Badge,{})]}),i]})},o))}),c=({items:a,title:t,user:r,app:n,children:i,headerChildren:l,clientSideRouter:o,clientSideHref:x,variant:u,className:d})=>{const[_,m]=g.useState(!1),[h,j]=g.useState(!1),S=g.useId();return u==="external"?e.jsx(c.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:l,isCollapsed:_,setIsCollapsed:m,variant:u,id:S,children:e.jsxs("div",{className:p.clsx(s.baseLayout,d),children:[e.jsx(B,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(c.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(c.Navbar,{})})]})}):e.jsx(c.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:x,headerChildren:l,isCollapsed:_,setIsCollapsed:m,isOpened:h,setIsOpened:j,variant:u,id:S,children:e.jsxs("div",{className:p.clsx(s.baseLayout,d),children:[e.jsx(B,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(c.Backdrop,{})]})]})})};c.Provider=ze;c.Header=q;c.Sidebar=$;c.SidebarLink=M;c.Navbar=w;c.Backdrop=$e;exports.Header=q;exports.Layout=c;exports.Navbar=w;exports.Sidebar=$;exports.SidebarLink=M;
@@ -0,0 +1,482 @@
1
+ import { jsx as e, jsxs as l, Fragment as O } from "react/jsx-runtime";
2
+ import { G as S } from "./GridItem-D3FZyyO-.js";
3
+ import * as v from "react";
4
+ import { c as h } from "./clsx-OuTLNxxd.js";
5
+ import { B as E } from "./Button-DYcmg49Z.js";
6
+ import { $ as y } from "./Link-CbFSuEI1.js";
7
+ import { a as $, T as G } from "./Tooltip-BHAtsp9k.js";
8
+ import { a as L, B as M } from "./BadgeContainer-iNNgJKD9.js";
9
+ import { c as T } from "./createLucideIcon-XRdN60yz.js";
10
+ import { $ as w } from "./usePress-DMUpU0GU.js";
11
+ import { u as k } from "./useLocalizedStringFormatter-N0AyjzbM.js";
12
+ import { f as W } from "./tokens-B9ooUP4g.js";
13
+ import { L as x } from "./Logo-DkagDdKQ.js";
14
+ import { X as j } from "./x-C2xUHAEl.js";
15
+ import './assets/Layout.css';/**
16
+ * @license lucide-react v0.525.0 - ISC
17
+ *
18
+ * This source code is licensed under the ISC license.
19
+ * See the LICENSE file in the root directory of this source tree.
20
+ */
21
+ const D = [
22
+ ["path", { d: "M4 12h16", key: "1lakjw" }],
23
+ ["path", { d: "M4 18h16", key: "19g7jn" }],
24
+ ["path", { d: "M4 6h16", key: "1o0s65" }]
25
+ ], q = T("menu", D);
26
+ /**
27
+ * @license lucide-react v0.525.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */
32
+ const A = [
33
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
34
+ ["path", { d: "M9 3v18", key: "fh3hqa" }],
35
+ ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
36
+ ], F = T("panel-left-close", A);
37
+ /**
38
+ * @license lucide-react v0.525.0 - ISC
39
+ *
40
+ * This source code is licensed under the ISC license.
41
+ * See the LICENSE file in the root directory of this source tree.
42
+ */
43
+ const R = [
44
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
45
+ ["path", { d: "M9 3v18", key: "fh3hqa" }],
46
+ ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
47
+ ], X = T("panel-left-open", R), J = "_baseLayout_1300g_4", K = "_mainContent_1300g_13", Q = "_header_1300g_18", U = "_headerExternal_1300g_29", V = "_headerContent_1300g_44", Y = "_logo_1300g_63", Z = "_headerItems_1300g_72", ee = "_toggleButton_1300g_78", ae = "_sidebar_1300g_86", te = "_main_1300g_13", ne = "_app_1300g_119", se = "_sidebarOpened_1300g_127", ie = "_sidebarHeader_1300g_131", re = "_appName_1300g_143", oe = "_collapseButton_1300g_150", le = "_sidebarCollapsed_1300g_159", ce = "_userName_1300g_169", de = "_userTitle_1300g_187", me = "_title_1300g_199", pe = "_sidebarNav_1300g_210", _e = "_list_1300g_216", ue = "_listGroupTitle_1300g_222", he = "_listItem_1300g_229", be = "_listItemCollapsed_1300g_234", ge = "_listLink_1300g_238", ve = "_listLinkCollapsed_1300g_283", fe = "_active_1300g_288", Ne = "_backdrop_1300g_302", ke = "_backdropOpened_1300g_312", Ce = "_skipToContent_1300g_330", xe = "_navbar_1300g_344", ye = "_navbarList_1300g_356", Le = "_navbarItem_1300g_378", Me = "_headerContentExternal_1300g_418", Ee = "_logoExternalContainer_1300g_426", Te = "_logoExternal_1300g_426", Ie = "_logoExternalDesktop_1300g_438", Se = "_navbarWrapper_1300g_447", a = {
48
+ baseLayout: J,
49
+ mainContent: K,
50
+ header: Q,
51
+ headerExternal: U,
52
+ headerContent: V,
53
+ logo: Y,
54
+ headerItems: Z,
55
+ toggleButton: ee,
56
+ sidebar: ae,
57
+ main: te,
58
+ app: ne,
59
+ sidebarOpened: se,
60
+ sidebarHeader: ie,
61
+ appName: re,
62
+ collapseButton: oe,
63
+ sidebarCollapsed: le,
64
+ userName: ce,
65
+ userTitle: de,
66
+ title: me,
67
+ sidebarNav: pe,
68
+ list: _e,
69
+ listGroupTitle: ue,
70
+ listItem: he,
71
+ listItemCollapsed: be,
72
+ listLink: ge,
73
+ listLinkCollapsed: ve,
74
+ active: fe,
75
+ backdrop: Ne,
76
+ backdropOpened: ke,
77
+ skipToContent: Ce,
78
+ navbar: xe,
79
+ navbarList: ye,
80
+ navbarItem: Le,
81
+ headerContentExternal: Me,
82
+ logoExternalContainer: Ee,
83
+ logoExternal: Te,
84
+ logoExternalDesktop: Ie,
85
+ navbarWrapper: Se
86
+ }, P = v.createContext(
87
+ void 0
88
+ ), ze = ({
89
+ items: s,
90
+ title: n,
91
+ user: i,
92
+ app: t,
93
+ children: r,
94
+ clientSideRouter: c,
95
+ clientSideHref: o,
96
+ headerChildren: u,
97
+ isCollapsed: _,
98
+ setIsCollapsed: m,
99
+ isOpened: b,
100
+ setIsOpened: p,
101
+ variant: g,
102
+ id: f
103
+ }) => /* @__PURE__ */ e(
104
+ P.Provider,
105
+ {
106
+ value: {
107
+ items: s,
108
+ title: n,
109
+ user: i,
110
+ app: t,
111
+ headerChildren: u,
112
+ isCollapsed: _,
113
+ setIsCollapsed: m,
114
+ isOpened: b,
115
+ setIsOpened: p,
116
+ clientSideRouter: c,
117
+ clientSideHref: o,
118
+ variant: g,
119
+ id: f
120
+ },
121
+ children: r
122
+ }
123
+ ), N = () => {
124
+ const s = v.useContext(P);
125
+ if (!s)
126
+ throw new Error("useLayoutContext must be used within a LayoutProvider");
127
+ return s;
128
+ }, H = ({
129
+ title: s,
130
+ href: n,
131
+ icon: i,
132
+ active: t,
133
+ hasBadge: r
134
+ }) => {
135
+ const { isCollapsed: c, setIsOpened: o, clientSideHref: u } = N(), _ = u ? u(n) : n, [m, b] = v.useState(!1);
136
+ return v.useEffect(() => {
137
+ typeof window < "u" && b(t ?? window.location.pathname === _);
138
+ }, [t, _]), c ? /* @__PURE__ */ l($, { children: [
139
+ /* @__PURE__ */ e(
140
+ y,
141
+ {
142
+ href: n,
143
+ "aria-label": s,
144
+ className: h(
145
+ a.listLink,
146
+ a.listLinkCollapsed,
147
+ m && a.active
148
+ ),
149
+ onPress: () => o == null ? void 0 : o(!1),
150
+ children: /* @__PURE__ */ l(L, { children: [
151
+ /* @__PURE__ */ e(
152
+ i,
153
+ {
154
+ size: 20,
155
+ "aria-label": s
156
+ }
157
+ ),
158
+ r && /* @__PURE__ */ e(M, {})
159
+ ] })
160
+ }
161
+ ),
162
+ /* @__PURE__ */ e(G, { placement: "right", children: s })
163
+ ] }) : /* @__PURE__ */ l(
164
+ y,
165
+ {
166
+ href: n,
167
+ "aria-label": s,
168
+ className: h(a.listLink, m && a.active),
169
+ onPress: () => o == null ? void 0 : o(!1),
170
+ children: [
171
+ /* @__PURE__ */ l(L, { children: [
172
+ /* @__PURE__ */ e(i, { size: 20 }),
173
+ r && /* @__PURE__ */ e(M, {})
174
+ ] }),
175
+ s
176
+ ]
177
+ }
178
+ );
179
+ }, Be = { closeMenu: "Close menu", openMenu: "Open menu", maximizeMenu: "Maximize menu", minimizeMenu: "Minimize menu", sidebarMenu: "Sidebar menu", bottomMenu: "Bottom menu", skipToContent: "Skip to main content" }, we = { closeMenu: "Stäng meny", openMenu: "Öppna meny", maximizeMenu: "Maximera meny", minimizeMenu: "Minimera meny", sidebarMenu: "Sidomeny", bottomMenu: "Bottenmeny", skipToContent: "Hoppa till huvudinnehåll" }, C = {
180
+ en: Be,
181
+ sv: we
182
+ }, Pe = () => {
183
+ const {
184
+ items: s,
185
+ app: n,
186
+ isOpened: i,
187
+ isCollapsed: t,
188
+ setIsCollapsed: r,
189
+ setIsOpened: c,
190
+ clientSideRouter: o,
191
+ clientSideHref: u,
192
+ id: _
193
+ } = N(), m = k(C), b = ({ group: p }) => /* @__PURE__ */ e("ul", { className: a.list, children: p.items.map((g, f) => /* @__PURE__ */ e(
194
+ "li",
195
+ {
196
+ className: h(
197
+ a.listItem,
198
+ t && a.listItemCollapsed
199
+ ),
200
+ children: /* @__PURE__ */ e(H, { ...g })
201
+ },
202
+ "link_" + f
203
+ )) });
204
+ return v.useEffect(() => {
205
+ const p = (g) => {
206
+ g.key === "Escape" && c !== void 0 && c(!1);
207
+ };
208
+ return window.addEventListener("keydown", p), () => {
209
+ window.removeEventListener("keydown", p);
210
+ };
211
+ }, [c]), /* @__PURE__ */ l(
212
+ "aside",
213
+ {
214
+ id: _,
215
+ className: h(
216
+ a.sidebar,
217
+ t && a.sidebarCollapsed,
218
+ i && a.sidebarOpened
219
+ ),
220
+ children: [
221
+ /* @__PURE__ */ l("div", { className: a.sidebarHeader, children: [
222
+ !t && /* @__PURE__ */ e("p", { className: a.appName, children: n.name }),
223
+ /* @__PURE__ */ e(
224
+ E,
225
+ {
226
+ variant: "icon",
227
+ "aria-label": t ? m.format("maximizeMenu") : m.format("minimizeMenu"),
228
+ onPress: () => r(!t),
229
+ className: a.collapseButton,
230
+ children: t ? /* @__PURE__ */ e(X, { size: 20 }) : /* @__PURE__ */ e(F, { size: 20 })
231
+ }
232
+ )
233
+ ] }),
234
+ /* @__PURE__ */ e(
235
+ "nav",
236
+ {
237
+ className: a.sidebarNav,
238
+ "aria-label": m.format("sidebarMenu"),
239
+ children: /* @__PURE__ */ e("ul", { className: a.list, children: s.map((p, g) => /* @__PURE__ */ l("li", { children: [
240
+ p.title && !t && /* @__PURE__ */ e("p", { className: a.listGroupTitle, children: p.title }),
241
+ o ? /* @__PURE__ */ e(
242
+ w,
243
+ {
244
+ navigate: o,
245
+ useHref: u,
246
+ children: /* @__PURE__ */ e(b, { group: p })
247
+ }
248
+ ) : /* @__PURE__ */ e(b, { group: p })
249
+ ] }, "list_" + g)) })
250
+ }
251
+ )
252
+ ]
253
+ }
254
+ );
255
+ }, He = () => {
256
+ const {
257
+ title: s,
258
+ user: n,
259
+ app: i,
260
+ isOpened: t,
261
+ setIsOpened: r,
262
+ setIsCollapsed: c,
263
+ headerChildren: o,
264
+ variant: u,
265
+ id: _
266
+ } = N(), m = k(C);
267
+ return u === "external" ? /* @__PURE__ */ e("header", { className: h(a.header, a.headerExternal), children: /* @__PURE__ */ l("div", { className: a.headerContentExternal, children: [
268
+ /* @__PURE__ */ l("div", { className: a.logoExternalContainer, children: [
269
+ /* @__PURE__ */ e(
270
+ x,
271
+ {
272
+ size: "x-small",
273
+ padding: !1,
274
+ className: a.logoExternal
275
+ }
276
+ ),
277
+ /* @__PURE__ */ e(
278
+ x,
279
+ {
280
+ size: "small",
281
+ padding: !1,
282
+ className: a.logoExternalDesktop
283
+ }
284
+ ),
285
+ /* @__PURE__ */ l("div", { children: [
286
+ /* @__PURE__ */ e("p", { className: a.userName, children: n.name }),
287
+ /* @__PURE__ */ e("p", { className: a.userTitle, children: n.title })
288
+ ] })
289
+ ] }),
290
+ /* @__PURE__ */ e("div", { className: a.headerItems, children: o })
291
+ ] }) }) : /* @__PURE__ */ l(
292
+ "header",
293
+ {
294
+ className: a.header,
295
+ style: {
296
+ borderTop: `solid 4px ${i.color ? i.color : W.brandPrimary}`
297
+ },
298
+ children: [
299
+ /* @__PURE__ */ l("div", { className: a.headerContent, children: [
300
+ /* @__PURE__ */ e("div", { className: a.logo, children: /* @__PURE__ */ e(
301
+ x,
302
+ {
303
+ size: "small",
304
+ padding: !1
305
+ }
306
+ ) }),
307
+ t !== void 0 && /* @__PURE__ */ e(
308
+ E,
309
+ {
310
+ variant: "icon",
311
+ className: a.toggleButton,
312
+ "aria-label": t ? m.format("closeMenu") : m.format("openMenu"),
313
+ "aria-controls": _,
314
+ onPressStart: () => {
315
+ c(!1), r == null || r(!0);
316
+ },
317
+ children: t ? /* @__PURE__ */ e(
318
+ j,
319
+ {
320
+ size: 20,
321
+ "aria-hidden": "true"
322
+ }
323
+ ) : /* @__PURE__ */ e(
324
+ q,
325
+ {
326
+ size: 20,
327
+ "aria-hidden": "true"
328
+ }
329
+ )
330
+ }
331
+ ),
332
+ /* @__PURE__ */ l("div", { children: [
333
+ /* @__PURE__ */ e("p", { className: a.userName, children: n.name }),
334
+ /* @__PURE__ */ e("p", { className: a.userTitle, children: n.title }),
335
+ /* @__PURE__ */ e("p", { className: a.title, children: s })
336
+ ] })
337
+ ] }),
338
+ /* @__PURE__ */ e("div", { className: a.headerItems, children: o })
339
+ ]
340
+ }
341
+ );
342
+ }, z = ({
343
+ id: s = "#main:first-of-type"
344
+ }) => {
345
+ const n = () => {
346
+ const t = document.querySelector(s);
347
+ t && (t.tabIndex = -1, t.focus(), setTimeout(() => t.removeAttribute("tabindex"), 1e3));
348
+ }, i = k(C);
349
+ return /* @__PURE__ */ e(
350
+ E,
351
+ {
352
+ onPress: n,
353
+ className: a.skipToContent,
354
+ children: i.format("skipToContent")
355
+ }
356
+ );
357
+ }, Oe = () => {
358
+ const { isOpened: s, setIsOpened: n } = N();
359
+ return s ? /* @__PURE__ */ e(
360
+ "div",
361
+ {
362
+ className: h(a.backdrop, a.backdropOpened),
363
+ onClick: () => {
364
+ n == null || n(!1);
365
+ },
366
+ "aria-hidden": !0
367
+ }
368
+ ) : null;
369
+ }, $e = () => {
370
+ var c;
371
+ const { items: s, clientSideRouter: n, clientSideHref: i } = N(), t = k(C), r = (c = s.at(0)) == null ? void 0 : c.items;
372
+ return /* @__PURE__ */ e(
373
+ "nav",
374
+ {
375
+ className: a.navbar,
376
+ "aria-label": t.format("bottomMenu"),
377
+ children: r && /* @__PURE__ */ e("ul", { className: h(a.navbarList), children: n ? /* @__PURE__ */ e(
378
+ w,
379
+ {
380
+ navigate: n,
381
+ useHref: i,
382
+ children: /* @__PURE__ */ e(B, { items: r })
383
+ }
384
+ ) : /* @__PURE__ */ e(B, { items: r }) })
385
+ }
386
+ );
387
+ }, B = ({
388
+ items: s
389
+ }) => /* @__PURE__ */ e(O, { children: s.map(({ href: n, active: i, icon: t, title: r, hasBadge: c }, o) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ l(
390
+ y,
391
+ {
392
+ href: n,
393
+ className: h(a.navbarItem),
394
+ "data-active": i,
395
+ "aria-current": i && "page",
396
+ children: [
397
+ /* @__PURE__ */ l(L, { children: [
398
+ /* @__PURE__ */ e(t, { size: 20 }),
399
+ c && /* @__PURE__ */ e(M, {})
400
+ ] }),
401
+ r
402
+ ]
403
+ }
404
+ ) }, o)) }), d = ({
405
+ items: s,
406
+ title: n,
407
+ user: i,
408
+ app: t,
409
+ children: r,
410
+ headerChildren: c,
411
+ clientSideRouter: o,
412
+ clientSideHref: u,
413
+ variant: _,
414
+ className: m
415
+ }) => {
416
+ const [b, p] = v.useState(!1), [g, f] = v.useState(!1), I = v.useId();
417
+ return _ === "external" ? /* @__PURE__ */ e(
418
+ d.Provider,
419
+ {
420
+ items: s,
421
+ title: n,
422
+ user: i,
423
+ app: t,
424
+ clientSideRouter: o,
425
+ clientSideHref: u,
426
+ headerChildren: c,
427
+ isCollapsed: b,
428
+ setIsCollapsed: p,
429
+ variant: _,
430
+ id: I,
431
+ children: /* @__PURE__ */ l("div", { className: h(a.baseLayout, m), children: [
432
+ /* @__PURE__ */ e(z, {}),
433
+ /* @__PURE__ */ e(d.Header, {}),
434
+ /* @__PURE__ */ l("div", { className: a.mainContent, children: [
435
+ /* @__PURE__ */ e(d.Sidebar, {}),
436
+ /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: r }) }) }),
437
+ /* @__PURE__ */ e(d.Backdrop, {})
438
+ ] }),
439
+ /* @__PURE__ */ e("div", { className: a.navbarWrapper, children: /* @__PURE__ */ e(d.Navbar, {}) })
440
+ ] })
441
+ }
442
+ ) : /* @__PURE__ */ e(
443
+ d.Provider,
444
+ {
445
+ items: s,
446
+ title: n,
447
+ user: i,
448
+ app: t,
449
+ clientSideRouter: o,
450
+ clientSideHref: u,
451
+ headerChildren: c,
452
+ isCollapsed: b,
453
+ setIsCollapsed: p,
454
+ isOpened: g,
455
+ setIsOpened: f,
456
+ variant: _,
457
+ id: I,
458
+ children: /* @__PURE__ */ l("div", { className: h(a.baseLayout, m), children: [
459
+ /* @__PURE__ */ e(z, {}),
460
+ /* @__PURE__ */ e(d.Header, {}),
461
+ /* @__PURE__ */ l("div", { className: a.mainContent, children: [
462
+ /* @__PURE__ */ e(d.Sidebar, {}),
463
+ /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: a.main, children: /* @__PURE__ */ e("div", { className: a.app, children: r }) }) }),
464
+ /* @__PURE__ */ e(d.Backdrop, {})
465
+ ] })
466
+ ] })
467
+ }
468
+ );
469
+ };
470
+ d.Provider = ze;
471
+ d.Header = He;
472
+ d.Sidebar = Pe;
473
+ d.SidebarLink = H;
474
+ d.Navbar = $e;
475
+ d.Backdrop = Oe;
476
+ export {
477
+ He as H,
478
+ d as L,
479
+ $e as N,
480
+ Pe as S,
481
+ H as a
482
+ };
@@ -1,24 +1,24 @@
1
1
  import { jsx as o, jsxs as p, Fragment as h } from "react/jsx-runtime";
2
- import { $ as u } from "./Link-CM2N5Jq-.js";
3
- import { c as x } from "./clsx-OuTLNxxd.js";
2
+ import { $ as w } from "./Link-CbFSuEI1.js";
3
+ import { c as u } from "./clsx-OuTLNxxd.js";
4
4
  import { c as k } from "./createLucideIcon-XRdN60yz.js";
5
- import { S as j } from "./square-arrow-out-up-right-ok0A3Ovo.js";
6
- import { A as w } from "./arrow-right-uemUGIg8.js";
5
+ import { S as x } from "./square-arrow-out-up-right-ok0A3Ovo.js";
6
+ import { A as y } from "./arrow-right-uemUGIg8.js";
7
7
  import './assets/Link.css';/**
8
8
  * @license lucide-react v0.525.0 - ISC
9
9
  *
10
10
  * This source code is licensed under the ISC license.
11
11
  * See the LICENSE file in the root directory of this source tree.
12
12
  */
13
- const q = [
13
+ const A = [
14
14
  ["path", { d: "M12 17V3", key: "1cwfxf" }],
15
15
  ["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
16
16
  ["path", { d: "M19 21H5", key: "150jfl" }]
17
- ], y = k("arrow-down-to-line", q), A = "_link_txq8j_4", L = "_icon_txq8j_50", $ = "_standalone_txq8j_54", N = "_stretched_txq8j_71", n = {
18
- link: A,
19
- icon: L,
20
- standalone: $,
21
- stretched: N
17
+ ], L = k("arrow-down-to-line", A), $ = "_link_1177w_4", j = "_icon_1177w_50", N = "_standalone_1177w_54", g = "_stretched_1177w_71", t = {
18
+ link: $,
19
+ icon: j,
20
+ standalone: N,
21
+ stretched: g
22
22
  }, D = ({
23
23
  children: i,
24
24
  standalone: r,
@@ -30,14 +30,14 @@ const q = [
30
30
  as: l,
31
31
  ...m
32
32
  }) => {
33
- const _ = l || u, f = ({ ...t }) => e ? /* @__PURE__ */ o(e, { ...t }) : a ? /* @__PURE__ */ o(y, { ...t }) : c === "_blank" ? /* @__PURE__ */ o(j, { ...t }) : r ? /* @__PURE__ */ o(w, { ...t }) : null;
33
+ const _ = l || w, f = ({ ...n }) => e ? /* @__PURE__ */ o(e, { ...n }) : a ? /* @__PURE__ */ o(L, { ...n }) : c === "_blank" ? /* @__PURE__ */ o(x, { ...n }) : r ? /* @__PURE__ */ o(y, { ...n }) : null;
34
34
  return /* @__PURE__ */ o(
35
35
  _,
36
36
  {
37
- className: x(
38
- n.link,
39
- r && n.standalone,
40
- s && n.stretched,
37
+ className: u(
38
+ t.link,
39
+ r && t.standalone,
40
+ s && t.stretched,
41
41
  d
42
42
  ),
43
43
  ...m,
@@ -48,7 +48,7 @@ const q = [
48
48
  f,
49
49
  {
50
50
  size: 16,
51
- className: n.icon
51
+ className: t.icon
52
52
  }
53
53
  )
54
54
  ] })