@ilo-org/react 0.18.5 → 0.20.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 (330) hide show
  1. package/lib/cjs/_store/Accordion-entry-C81QOLKD.js +1 -0
  2. package/lib/cjs/_store/Blockquote-entry-BwhpFsWX.js +1 -0
  3. package/lib/cjs/_store/Breadcrumb-chunk-BGt10GMr.js +1 -0
  4. package/lib/cjs/_store/{Breadcrumb-entry-NNucl1rR.js → Breadcrumb-entry-BcWOPogy.js} +1 -1
  5. package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
  6. package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
  7. package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
  8. package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
  9. package/lib/cjs/_store/CardGroup-chunk-D3sPRsTS.js +1 -0
  10. package/lib/cjs/_store/Cards-entry-Ckiqvv1d.js +1 -0
  11. package/lib/cjs/_store/{Checkbox-chunk-B7P6WeNp.js → Checkbox-chunk-CfN7137m.js} +1 -1
  12. package/lib/cjs/_store/{Checkbox-entry-Cpcx9EKD.js → Checkbox-entry-CLjOEGyj.js} +1 -1
  13. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +1 -0
  14. package/lib/cjs/_store/{ContextMenu-entry-TCdyzIRt.js → ContextMenu-entry-UwZc4yU3.js} +1 -1
  15. package/lib/cjs/_store/{DatePicker-chunk-DMvnrakE.js → DatePicker-chunk-7_96tPkC.js} +1 -1
  16. package/lib/cjs/_store/{DatePicker-entry-CweKIj3U.js → DatePicker-entry-P07fWcN3.js} +1 -1
  17. package/lib/cjs/_store/{Dropdown-chunk--_pVhTcV.js → Dropdown-chunk-Bn-MFT6c.js} +1 -1
  18. package/lib/cjs/_store/{Dropdown-entry-BcBG6Zg7.js → Dropdown-entry-BBiYoQa0.js} +1 -1
  19. package/lib/cjs/_store/{Fieldset-chunk-BsOPbe_a.js → Fieldset-chunk-C3itoJam.js} +1 -1
  20. package/lib/cjs/_store/{Fieldset-entry-BUyKAdkn.js → Fieldset-entry-DyHl-Q8i.js} +1 -1
  21. package/lib/cjs/_store/{FileUpload-chunk-CmHP-E54.js → FileUpload-chunk-BhGfPLEt.js} +1 -1
  22. package/lib/cjs/_store/{FileUpload-entry-DKzm4WvO.js → FileUpload-entry-BdKRo1oJ.js} +1 -1
  23. package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
  24. package/lib/cjs/_store/{Footer-entry-D2QyYI38.js → Footer-entry-D6eg1T-c.js} +1 -1
  25. package/lib/cjs/_store/{FormControl-chunk-08fp5TeU.js → FormControl-chunk-CxP6djqq.js} +1 -1
  26. package/lib/cjs/_store/{FormControl-entry-DN7TYc37.js → FormControl-entry-BgMV944-.js} +1 -1
  27. package/lib/cjs/_store/Hero-chunk-CBIMDQWO.js +1 -0
  28. package/lib/cjs/_store/Hero-entry-CeEUu88o.js +1 -0
  29. package/lib/cjs/_store/HeroCard-chunk-Cdyuf9Gw.js +1 -0
  30. package/lib/cjs/_store/HeroCard-entry-Z_H24PlF.js +1 -0
  31. package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
  32. package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
  33. package/lib/cjs/_store/{Input-chunk-DIcDfISq.js → Input-chunk-DVXD2O4Z.js} +1 -1
  34. package/lib/cjs/_store/{Input-entry-Cq1G_bNN.js → Input-entry-CthONy5R.js} +1 -1
  35. package/lib/cjs/_store/LanguageToggle-chunk-DsJntngZ.js +1 -0
  36. package/lib/cjs/_store/LanguageToggle-entry-ALUfRa_V.js +1 -0
  37. package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
  38. package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
  39. package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
  40. package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
  41. package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
  42. package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +1 -0
  43. package/lib/cjs/_store/Logo-entry-Dit3r-4I.js +1 -0
  44. package/lib/cjs/_store/Navigation-entry-C6dI5Dpf.js +1 -0
  45. package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
  46. package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
  47. package/lib/cjs/_store/{NumberPicker-chunk-CaQYVhyz.js → NumberPicker-chunk-CjEYQYj0.js} +1 -1
  48. package/lib/cjs/_store/{NumberPicker-entry-BEqwzCKS.js → NumberPicker-entry-DQGcCMGe.js} +1 -1
  49. package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
  50. package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
  51. package/lib/cjs/_store/{Radio-chunk-EK2nKEND.js → Radio-chunk-LFOxcvur.js} +1 -1
  52. package/lib/cjs/_store/{Radio-entry-M4dL4mjL.js → Radio-entry-BmJSr7Sk.js} +1 -1
  53. package/lib/cjs/_store/{SearchField-chunk-DRdhLGEo.js → SearchField-chunk-uIkdwz2L.js} +1 -1
  54. package/lib/cjs/_store/{SearchField-entry-D9zx3U13.js → SearchField-entry-3sd9miiq.js} +1 -1
  55. package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
  56. package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
  57. package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
  58. package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
  59. package/lib/cjs/_store/Tag-chunk-DUz8ZjA1.js +1 -0
  60. package/lib/cjs/_store/Tag-entry-D8aAuglc.js +1 -0
  61. package/lib/cjs/_store/{TextInput-entry-Bl0sZdpl.js → TextInput-entry-BOVt2TDi.js} +1 -1
  62. package/lib/cjs/_store/{Textarea-chunk-3fPk9MqI.js → Textarea-chunk-B13VaFl6.js} +1 -1
  63. package/lib/cjs/_store/{Textarea-entry-Ac7gdvET.js → Textarea-entry-Byp4EYD1.js} +1 -1
  64. package/lib/cjs/_store/{Toggle-entry-s05NRKOs.js → Toggle-entry-BZ_sk4pV.js} +1 -1
  65. package/lib/cjs/_store/Tooltip-chunk-Ca67o441.js +1 -0
  66. package/lib/cjs/_store/{Tooltip-entry--csXZiQZ.js → Tooltip-entry-BlOyvu7-.js} +1 -1
  67. package/lib/cjs/_store/components-entry-Buq0cts7.js +1 -0
  68. package/lib/cjs/index.js +1 -1
  69. package/lib/esm/_store/Accordion-entry-B-0bgUhR.js +85 -0
  70. package/lib/esm/_store/Blockquote-entry-DccNMBEH.js +15 -0
  71. package/lib/esm/_store/Breadcrumb-chunk-DcsXzPvT.js +121 -0
  72. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +4 -0
  73. package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
  74. package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
  75. package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
  76. package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
  77. package/lib/esm/_store/CardGroup-chunk-DCTJOxvx.js +425 -0
  78. package/lib/esm/_store/Cards-entry-DOWpgXsU.js +12 -0
  79. package/lib/esm/_store/{Checkbox-chunk-DJDgykAw.js → Checkbox-chunk-CdjFGjiG.js} +2 -2
  80. package/lib/esm/_store/{Checkbox-entry-CfjxZKrK.js → Checkbox-entry-4xxjRXFu.js} +1 -1
  81. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +30 -0
  82. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +4 -0
  83. package/lib/esm/_store/{DatePicker-chunk-10fIc74h.js → DatePicker-chunk-BoTriI-e.js} +1 -1
  84. package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +4 -0
  85. package/lib/esm/_store/{Dropdown-chunk-B6G7DnYr.js → Dropdown-chunk-DxXjnNBq.js} +1 -1
  86. package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +4 -0
  87. package/lib/esm/_store/{Fieldset-chunk-PK4HqNv_.js → Fieldset-chunk-udvv8dML.js} +1 -1
  88. package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +4 -0
  89. package/lib/esm/_store/{FileUpload-chunk-dFon8lP2.js → FileUpload-chunk-Cdl4F5zH.js} +1 -1
  90. package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +4 -0
  91. package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
  92. package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
  93. package/lib/esm/_store/{FormControl-chunk-D_3t65GG.js → FormControl-chunk-C2LR6MBZ.js} +1 -1
  94. package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +4 -0
  95. package/lib/esm/_store/Hero-chunk-CZ6kSiY-.js +67 -0
  96. package/lib/esm/_store/Hero-entry-DILGWuC0.js +4 -0
  97. package/lib/esm/_store/HeroCard-chunk-3mxIZYwU.js +47 -0
  98. package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
  99. package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
  100. package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
  101. package/lib/esm/_store/{Input-chunk-p-3N8OO4.js → Input-chunk-DT_YEVSQ.js} +1 -1
  102. package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +4 -0
  103. package/lib/esm/_store/LanguageToggle-chunk-BxzhPBjU.js +62 -0
  104. package/lib/esm/_store/LanguageToggle-entry-COfb1a3N.js +4 -0
  105. package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
  106. package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
  107. package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
  108. package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
  109. package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
  110. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +4 -0
  111. package/lib/esm/_store/{Logo-chunk-C2BIhfeP.js → Logo-entry-sjwkMeb-.js} +19 -19
  112. package/lib/esm/_store/Navigation-entry-BLC2KoMs.js +4 -0
  113. package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
  114. package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
  115. package/lib/esm/_store/{NumberPicker-chunk-CsDLNdop.js → NumberPicker-chunk-Z_TIIuxb.js} +1 -1
  116. package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +4 -0
  117. package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
  118. package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
  119. package/lib/esm/_store/{Radio-chunk-CZnGQoYJ.js → Radio-chunk-DDMoE7Le.js} +2 -2
  120. package/lib/esm/_store/{Radio-entry-DhmJk5Et.js → Radio-entry-BzlGsY14.js} +1 -1
  121. package/lib/esm/_store/{SearchField-chunk-Bn5RXiiY.js → SearchField-chunk-D-S-SV-o.js} +2 -2
  122. package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
  123. package/lib/esm/_store/SocialMedia-chunk-BP6TBNEf.js +62 -0
  124. package/lib/esm/_store/{SocialMedia-entry-BllaQbO-.js → SocialMedia-entry-C60BCp7g.js} +18 -9
  125. package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
  126. package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
  127. package/lib/esm/_store/Tag-chunk-DRiFjL6-.js +68 -0
  128. package/lib/esm/_store/Tag-entry-D_EdPheu.js +48 -0
  129. package/lib/esm/_store/{TextInput-entry-BTZVvumC.js → TextInput-entry-DIPdoofw.js} +1 -1
  130. package/lib/esm/_store/{Textarea-chunk-BCW6ZV8n.js → Textarea-chunk-ClZt7jmS.js} +1 -1
  131. package/lib/esm/_store/{Textarea-entry-CFe0s_hM.js → Textarea-entry-BvVP8AXU.js} +1 -1
  132. package/lib/esm/_store/{Toggle-entry-CehJKItc.js → Toggle-entry-q2VLr4yf.js} +1 -1
  133. package/lib/esm/_store/{Tooltip-chunk-CPT-dPDc.js → Tooltip-chunk-EJOnwIYn.js} +362 -363
  134. package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +4 -0
  135. package/lib/esm/_store/components-entry-C4N0L4xP.js +96 -0
  136. package/lib/esm/index.js +94 -85
  137. package/lib/styles/components/blockquote.css +1 -0
  138. package/lib/styles/components/breadcrumb.css +1 -1
  139. package/lib/styles/components/card.css +1 -1
  140. package/lib/styles/components/datacard.css +1 -1
  141. package/lib/styles/components/factlistcard.css +1 -1
  142. package/lib/styles/components/featurecard.css +1 -1
  143. package/lib/styles/components/languagetoggle.css +1 -0
  144. package/lib/styles/components/list.css +1 -1
  145. package/lib/styles/components/multilinkcard.css +1 -1
  146. package/lib/styles/components/richtext.css +1 -1
  147. package/lib/styles/components/socialmedia.css +1 -1
  148. package/lib/styles/global.css +1 -1
  149. package/lib/styles/global.css.map +1 -1
  150. package/lib/styles/index.css +2 -2
  151. package/lib/styles/index.css.map +1 -1
  152. package/lib/styles/monorepo.css +2 -2
  153. package/lib/styles/monorepo.css.map +1 -1
  154. package/lib/types/components/Accordion/Accordion.d.ts +35 -4
  155. package/lib/types/components/Accordion/AccordionItem.d.ts +15 -4
  156. package/lib/types/components/Accordion/index.d.ts +4 -4
  157. package/lib/types/components/Blockquote/Blockquote.d.ts +6 -0
  158. package/lib/types/components/Blockquote/index.d.ts +1 -0
  159. package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +17 -4
  160. package/lib/types/components/Breadcrumb/BreadcrumbItem.d.ts +20 -0
  161. package/lib/types/components/Breadcrumb/index.d.ts +1 -1
  162. package/lib/types/components/Button/Button.d.ts +83 -4
  163. package/lib/types/components/Button/index.d.ts +1 -2
  164. package/lib/types/components/Callout/Callout.d.ts +50 -4
  165. package/lib/types/components/Callout/index.d.ts +1 -2
  166. package/lib/types/components/Cards/CardGroup.d.ts +31 -0
  167. package/lib/types/components/Cards/DataCard.d.ts +50 -0
  168. package/lib/types/components/Cards/DetailCard.d.ts +54 -0
  169. package/lib/types/components/Cards/FactListCard.d.ts +30 -0
  170. package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
  171. package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
  172. package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
  173. package/lib/types/components/Cards/StatCard.d.ts +39 -0
  174. package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
  175. package/lib/types/components/Cards/index.d.ts +9 -0
  176. package/lib/types/components/ContextMenu/ContextMenu.d.ts +27 -5
  177. package/lib/types/components/ContextMenu/index.d.ts +1 -1
  178. package/lib/types/components/Footer/Footer.d.ts +50 -4
  179. package/lib/types/components/Footer/index.d.ts +1 -1
  180. package/lib/types/components/Hero/Hero.d.ts +53 -4
  181. package/lib/types/components/Hero/index.d.ts +1 -2
  182. package/lib/types/components/{Hero/HeroCard.props.d.ts → HeroCard/HeroCard.d.ts} +4 -2
  183. package/lib/types/components/HeroCard/HeroCardTitle.d.ts +8 -0
  184. package/lib/types/components/HeroCard/index.d.ts +1 -0
  185. package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +43 -0
  186. package/lib/types/components/LanguageToggle/index.d.ts +1 -0
  187. package/lib/types/components/Link/Link.d.ts +55 -4
  188. package/lib/types/components/Link/index.d.ts +1 -1
  189. package/lib/types/components/LinkList/LinkList.d.ts +45 -4
  190. package/lib/types/components/LinkList/index.d.ts +1 -1
  191. package/lib/types/components/List/List.d.ts +54 -4
  192. package/lib/types/components/List/ListItem.d.ts +22 -4
  193. package/lib/types/components/List/index.d.ts +18 -2
  194. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -10
  195. package/lib/types/components/Navigation/Navigation.props.d.ts +0 -13
  196. package/lib/types/components/Notification/Notification.d.ts +55 -4
  197. package/lib/types/components/Notification/index.d.ts +1 -1
  198. package/lib/types/components/Profile/Profile.d.ts +46 -4
  199. package/lib/types/components/Profile/index.d.ts +1 -1
  200. package/lib/types/components/SocialMedia/SocialMedia.d.ts +1 -1
  201. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +4 -0
  202. package/lib/types/components/SocialMedia/index.d.ts +2 -2
  203. package/lib/types/components/Tooltip/Tooltip.d.ts +34 -4
  204. package/lib/types/components/Tooltip/index.d.ts +1 -1
  205. package/lib/types/components/index.d.ts +4 -1
  206. package/lib/types/types/index.d.ts +1 -1
  207. package/package.json +7 -7
  208. package/lib/cjs/_store/Accordion-chunk-Dj1LluWV.js +0 -1
  209. package/lib/cjs/_store/Accordion-entry-BNfPKFuj.js +0 -1
  210. package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +0 -1
  211. package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
  212. package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
  213. package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
  214. package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
  215. package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
  216. package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +0 -1
  217. package/lib/cjs/_store/Footer-chunk-CH7s6ZhB.js +0 -1
  218. package/lib/cjs/_store/Hero-chunk-BmAL9GMT.js +0 -1
  219. package/lib/cjs/_store/Hero-entry-6U1647te.js +0 -1
  220. package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
  221. package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
  222. package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
  223. package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
  224. package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
  225. package/lib/cjs/_store/LocalNav-chunk-CL0urssZ.js +0 -1
  226. package/lib/cjs/_store/LocalNav-entry-uEJTn_P0.js +0 -1
  227. package/lib/cjs/_store/Logo-chunk-Cl60tiPV.js +0 -1
  228. package/lib/cjs/_store/Logo-entry-ffqRpdCt.js +0 -1
  229. package/lib/cjs/_store/Navigation-chunk-CKk-EzZF.js +0 -1
  230. package/lib/cjs/_store/Navigation-entry-DukzIF80.js +0 -1
  231. package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
  232. package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
  233. package/lib/cjs/_store/SocialMedia-chunk-DrxlykT6.js +0 -1
  234. package/lib/cjs/_store/SocialMedia-entry-BQyxJpTO.js +0 -1
  235. package/lib/cjs/_store/Tag-chunk-CdVExQzv.js +0 -1
  236. package/lib/cjs/_store/Tag-entry-B5GoRJjK.js +0 -1
  237. package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +0 -1
  238. package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +0 -1
  239. package/lib/cjs/_store/components-entry-BLIKXStL.js +0 -1
  240. package/lib/esm/_store/Accordion-chunk-BawBOKZz.js +0 -113
  241. package/lib/esm/_store/Accordion-entry-C8JFNFFn.js +0 -7
  242. package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +0 -132
  243. package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +0 -4
  244. package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
  245. package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
  246. package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
  247. package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
  248. package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
  249. package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +0 -22
  250. package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +0 -4
  251. package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +0 -4
  252. package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +0 -4
  253. package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +0 -4
  254. package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +0 -4
  255. package/lib/esm/_store/Footer-chunk-DFJ5AWCV.js +0 -53
  256. package/lib/esm/_store/Footer-entry-BtbhEt-Y.js +0 -4
  257. package/lib/esm/_store/FormControl-entry-DODa4uyx.js +0 -4
  258. package/lib/esm/_store/Hero-chunk-AgDdKsJ4.js +0 -76
  259. package/lib/esm/_store/Hero-entry-CcnVmzHx.js +0 -5
  260. package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
  261. package/lib/esm/_store/Input-entry-DG2Mv1K2.js +0 -4
  262. package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
  263. package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
  264. package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
  265. package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
  266. package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
  267. package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
  268. package/lib/esm/_store/LocalNav-chunk-CC5KIqRP.js +0 -207
  269. package/lib/esm/_store/LocalNav-entry-BUHQT-D7.js +0 -4
  270. package/lib/esm/_store/Logo-entry-C3BaxfNe.js +0 -4
  271. package/lib/esm/_store/Navigation-chunk-BSoAdxZ6.js +0 -221
  272. package/lib/esm/_store/Navigation-entry-C-tonRpq.js +0 -4
  273. package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
  274. package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
  275. package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +0 -4
  276. package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
  277. package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
  278. package/lib/esm/_store/SearchField-entry-BlnqYKjA.js +0 -4
  279. package/lib/esm/_store/SocialMedia-chunk-DdOAr_Gj.js +0 -32
  280. package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
  281. package/lib/esm/_store/Tag-chunk-DG8gqUnh.js +0 -65
  282. package/lib/esm/_store/Tag-entry-BxKwoM37.js +0 -46
  283. package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +0 -4
  284. package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +0 -11
  285. package/lib/esm/_store/components-entry-3VBtJ0uk.js +0 -87
  286. package/lib/types/components/Accordion/Accordion.props.d.ts +0 -34
  287. package/lib/types/components/Accordion/AccordionButton.d.ts +0 -5
  288. package/lib/types/components/Accordion/AccordionButton.props.d.ts +0 -12
  289. package/lib/types/components/Accordion/AccordionCtx.d.ts +0 -5
  290. package/lib/types/components/Accordion/AccordionItem.props.d.ts +0 -22
  291. package/lib/types/components/Accordion/AccordionPanel.d.ts +0 -5
  292. package/lib/types/components/Accordion/AccordionPanel.props.d.ts +0 -22
  293. package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
  294. package/lib/types/components/Button/Button.props.d.ts +0 -69
  295. package/lib/types/components/Callout/Callout.props.d.ts +0 -51
  296. package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
  297. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
  298. package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
  299. package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
  300. package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
  301. package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
  302. package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
  303. package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
  304. package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
  305. package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
  306. package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
  307. package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
  308. package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
  309. package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
  310. package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
  311. package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
  312. package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
  313. package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
  314. package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
  315. package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
  316. package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
  317. package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
  318. package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
  319. package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
  320. package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +0 -24
  321. package/lib/types/components/Footer/Footer.props.d.ts +0 -49
  322. package/lib/types/components/Hero/Hero.props.d.ts +0 -52
  323. package/lib/types/components/Hero/HeroCard.d.ts +0 -5
  324. package/lib/types/components/Link/Link.props.d.ts +0 -33
  325. package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
  326. package/lib/types/components/List/List.props.d.ts +0 -25
  327. package/lib/types/components/List/ListItem.props.d.ts +0 -16
  328. package/lib/types/components/Notification/Notification.props.d.ts +0 -57
  329. package/lib/types/components/Profile/Profile.props.d.ts +0 -47
  330. package/lib/types/components/Tooltip/Tooltip.props.d.ts +0 -33
@@ -1,65 +0,0 @@
1
- import { jsx as t, Fragment as g, jsxs as x } from "react/jsx-runtime";
2
- import { createContext as T, useContext as I } from "react";
3
- import { c as _ } from "./index-chunk-0LeqwHm8.js";
4
- import { u as S } from "./useGlobalSettings-chunk-gkijV3S1.js";
5
- import { I as j } from "./Icon-chunk-nLD8VsP5.js";
6
- import { e as w } from "./checkArrayDuplicates-chunk-C7cf0TQw.js";
7
- const A = T({}), B = ({
8
- className: d,
9
- children: n,
10
- id: e,
11
- url: h,
12
- type: s,
13
- callback: l,
14
- ...a
15
- }) => {
16
- const { prefix: m } = S(), { activeItems: u, setActiveItems: C, allowMultipleActive: b } = I(A), i = u.indexOf(e) > -1, c = `${m}--tag`, f = `${m}--tag-set__item`, v = s, r = _(d, {
17
- [c]: !0,
18
- [`${c}--active`]: i,
19
- [`${c}--${s}`]: s,
20
- "icon icon__position--right": !0
21
- });
22
- let p = i;
23
- const $ = (o) => {
24
- C(
25
- w({
26
- id: e,
27
- itemStatuses: u,
28
- allowMultipleExpanded: b
29
- })
30
- ), p = !1, l && l(o);
31
- };
32
- return /* @__PURE__ */ t(g, { children: v === "button" ? /* @__PURE__ */ t(g, { children: (() => {
33
- let o;
34
- return p && (o = /* @__PURE__ */ t("li", { className: f, children: /* @__PURE__ */ x(
35
- "button",
36
- {
37
- type: "button",
38
- className: r,
39
- onClick: (N) => $(N),
40
- id: e,
41
- ...a,
42
- children: [
43
- n,
44
- /* @__PURE__ */ t(j, { name: "close", hidden: !0 })
45
- ]
46
- }
47
- ) })), o;
48
- })() }) : /* @__PURE__ */ x("li", { className: f, children: [
49
- s === "anchor" && /* @__PURE__ */ t(
50
- "a",
51
- {
52
- className: r,
53
- href: i ? h : "",
54
- id: e,
55
- ...a,
56
- children: n
57
- }
58
- ),
59
- s === "display" && /* @__PURE__ */ t("span", { className: r, id: e, ...a, children: n })
60
- ] }) });
61
- }, z = B;
62
- export {
63
- z as T,
64
- A as a
65
- };
@@ -1,46 +0,0 @@
1
- import { a as x } from "./Tag-chunk-DG8gqUnh.js";
2
- import { T as J } from "./Tag-chunk-DG8gqUnh.js";
3
- import { jsx as a } from "react/jsx-runtime";
4
- import { c as C } from "./index-chunk-0LeqwHm8.js";
5
- import { useState as T, useEffect as b, Children as d } from "react";
6
- import { u as y } from "./useGlobalSettings-chunk-gkijV3S1.js";
7
- import { c as E } from "./checkArrayDuplicates-chunk-C7cf0TQw.js";
8
- const I = ({
9
- className: n,
10
- children: o,
11
- onButtonClick: m,
12
- defaultTagActive: s = [],
13
- allowMultipleActive: r = !0,
14
- ...c
15
- }) => {
16
- const { prefix: i } = y(), f = `${i}--tag-set`, [g, e] = T([]), p = JSON.stringify(s);
17
- if (b(() => {
18
- const t = r ? s : s.length > 0 ? [s[0]] : s;
19
- e(t);
20
- }, [p, r]), o) {
21
- const t = [];
22
- d.forEach(o, (S) => {
23
- const h = S;
24
- t.push(h.props.id);
25
- }), E(t) && console.warn("Warning: Tags must have unique ids.");
26
- }
27
- const u = C(n, {
28
- [f]: !0
29
- });
30
- return /* @__PURE__ */ a(
31
- x.Provider,
32
- {
33
- value: {
34
- activeItems: g,
35
- setActiveItems: e,
36
- allowMultipleActive: r,
37
- onButtonClick: m
38
- },
39
- children: /* @__PURE__ */ a("ul", { className: u, ...c, children: o })
40
- }
41
- );
42
- }, q = I;
43
- export {
44
- J as Tag,
45
- q as TagSet
46
- };
@@ -1,4 +0,0 @@
1
- import { T as r } from "./Tooltip-chunk-CPT-dPDc.js";
2
- export {
3
- r as Tooltip
4
- };
@@ -1,11 +0,0 @@
1
- function n(i) {
2
- let t = [...i.itemStatuses];
3
- return t.indexOf(i.id) > -1 ? t = t.filter((e) => e !== i.id) : i.allowMultipleExpanded ? t.push(i.id) : t = [i.id], t;
4
- }
5
- function d(i) {
6
- return i.some((t, e) => i.indexOf(t) !== e);
7
- }
8
- export {
9
- d as c,
10
- n as e
11
- };
@@ -1,87 +0,0 @@
1
- import { A as e, a, b as t, c as s } from "./Accordion-chunk-BawBOKZz.js";
2
- import { F as p } from "./Form-chunk-1a4awKWi.js";
3
- import { C as f } from "./Collapse-chunk-CyOyOA2s.js";
4
- import { E as n } from "./Empty-chunk-UEm5zVbe.js";
5
- import { I as L } from "./Image-chunk-DGh-6cxv.js";
6
- import { L as l } from "./Loading-chunk-BIJLAqk6.js";
7
- import { L as T } from "./Radio-chunk-CZnGQoYJ.js";
8
- import { T as P } from "./Tag-chunk-DG8gqUnh.js";
9
- import { B as u } from "./Button-chunk-CTOnaHZ_.js";
10
- import { C as N } from "./ContextMenu-chunk-CkdC2iPF.js";
11
- import { F as A } from "./Fieldset-chunk-PK4HqNv_.js";
12
- import { G as I } from "./GlobalProvider-chunk-nVdEz2_E.js";
13
- import { N as H } from "./Notification-chunk-VfaNI3r9.js";
14
- import { R as v } from "./ReadMore-chunk-DoptEIE4.js";
15
- import { L as D } from "./Textarea-chunk-BCW6ZV8n.js";
16
- import { C as M } from "./Callout-chunk-CsEfqAuS.js";
17
- import { C as V } from "./Credit-chunk-BjaAFul8.js";
18
- import { L as y } from "./FileUpload-chunk-dFon8lP2.js";
19
- import { H as U } from "./Heading-chunk-CFEDmQeQ.js";
20
- import { L as q } from "./Link-chunk-zt732cUC.js";
21
- import { L as J } from "./NumberPicker-chunk-CsDLNdop.js";
22
- import { R as Q } from "./RichText-chunk-BOMiyuNR.js";
23
- import { T as X } from "./Tooltip-chunk-CPT-dPDc.js";
24
- import { L as Z } from "./Checkbox-chunk-DJDgykAw.js";
25
- import { L as $ } from "./DatePicker-chunk-10fIc74h.js";
26
- import { H as ro } from "./Hero-chunk-AgDdKsJ4.js";
27
- import { L as ao } from "./LinkList-chunk-Doq6Z7IG.js";
28
- import { P as so } from "./Pagination-chunk-Ci7qN6no.js";
29
- import { S as po } from "./SearchField-chunk-Bn5RXiiY.js";
30
- import { V as fo } from "./Video-chunk-DAqwWSGg.js";
31
- import { L as no } from "./Dropdown-chunk-B6G7DnYr.js";
32
- import { I as Lo } from "./Icon-chunk-nLD8VsP5.js";
33
- import { L as Co } from "./ListItem-chunk-CKnxZe3Y.js";
34
- import { P as Fo } from "./Profile-chunk-Bsn46OaP.js";
35
- import { T as bo } from "./TableOfContents-chunk-BXnS8D2s.js";
36
- import { F as go } from "./Footer-chunk-DFJ5AWCV.js";
37
- import { L as ko } from "./LocalNav-chunk-CC5KIqRP.js";
38
- import { N as Bo } from "./Navigation-chunk-BSoAdxZ6.js";
39
- import { B as Ro } from "./Breadcrumb-chunk-CclNRjxd.js";
40
- import { T as ho } from "./Tabs-chunk-CpUcNAK9.js";
41
- import { C as Go } from "./CardGroup-chunk-0V0yYua2.js";
42
- export {
43
- e as Accordion,
44
- a as AccordionButton,
45
- t as AccordionItem,
46
- s as AccordionPanel,
47
- Ro as Breadcrumb,
48
- u as Button,
49
- M as Callout,
50
- Go as CardGroup,
51
- Z as Checkbox,
52
- f as Collapse,
53
- N as ContextMenu,
54
- V as Credit,
55
- $ as DatePicker,
56
- no as Dropdown,
57
- n as Empty,
58
- A as Fieldset,
59
- y as FileUpload,
60
- go as Footer,
61
- p as Form,
62
- I as GlobalProvider,
63
- U as Heading,
64
- ro as Hero,
65
- Lo as Icon,
66
- L as Image,
67
- q as Link,
68
- ao as LinkList,
69
- Co as List,
70
- l as Loading,
71
- ko as LocalNav,
72
- Bo as Navigation,
73
- H as Notification,
74
- J as NumberPicker,
75
- so as Pagination,
76
- Fo as Profile,
77
- T as Radio,
78
- v as ReadMore,
79
- Q as RichText,
80
- po as SearchField,
81
- bo as TableOfContents,
82
- ho as Tabs,
83
- P as Tag,
84
- D as Textarea,
85
- X as Tooltip,
86
- fo as Video
87
- };
@@ -1,34 +0,0 @@
1
- import { Dispatch, MouseEvent, ReactElement, SetStateAction } from 'react';
2
- import { getUpdatedItems } from '@ilo-org/utils';
3
- import { AccordionItemProps } from './AccordionItem.props';
4
-
5
- export { default as AccordionItem } from './AccordionItem';
6
- export interface AccordionProps {
7
- /**
8
- * Specify the content of your Accordion.
9
- */
10
- children?: ReactElement<AccordionItemProps> | Array<ReactElement<AccordionItemProps>>;
11
- /**
12
- * Callback to onButtonClick event;
13
- */
14
- onButtonClick?: (e: MouseEvent<HTMLButtonElement>, i: unknown) => void;
15
- /**
16
- * Allow multiple accordions to be expanded at once, default value is false
17
- */
18
- allowMultipleExpanded?: boolean;
19
- /**
20
- * Default accordions expanded on first load
21
- */
22
- defaultAccordionsExpanded?: string[];
23
- /**
24
- * Specify an optional className to be added to your accordion.
25
- */
26
- className?: string;
27
- }
28
- export interface AccordionContextProps {
29
- activeItems: string[];
30
- getUpdatedItems: typeof getUpdatedItems;
31
- setActiveItems: Dispatch<SetStateAction<string[]>>;
32
- allowMultipleExpanded: boolean;
33
- onButtonClick?: (e: MouseEvent<HTMLButtonElement>, i: unknown) => void;
34
- }
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { default as AccordionButtonProps } from './AccordionButton.props';
3
-
4
- declare const AccordionButton: FC<AccordionButtonProps>;
5
- export default AccordionButton;
@@ -1,12 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- export default interface AccordionButtonProps {
4
- /**
5
- * Specify the content of your Button.
6
- */
7
- children: ReactNode;
8
- /**
9
- * Specify an optional className to be added to your Button.
10
- */
11
- className?: string;
12
- }
@@ -1,5 +0,0 @@
1
- import { AccordionContextProps } from './Accordion.props';
2
- import { AccordionItemContextProps } from './AccordionItem.props';
3
-
4
- export declare const AccordionContext: import('react').Context<AccordionContextProps>;
5
- export declare const AccordionItemContext: import('react').Context<AccordionItemContextProps>;
@@ -1,22 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- export interface AccordionItemContextProps {
4
- /**
5
- * The accordion item's unique id.
6
- */
7
- id: string;
8
- }
9
- export interface AccordionItemProps {
10
- /**
11
- * Specify the id of the accordion item.
12
- */
13
- id: string;
14
- /**
15
- * Specify the content of your Button.
16
- */
17
- children: ReactNode;
18
- /**
19
- * Specify an optional className to be added to your Button.
20
- */
21
- className?: string;
22
- }
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { default as AccordionPanelProps } from './AccordionPanel.props';
3
-
4
- declare const AccordionPanel: FC<AccordionPanelProps>;
5
- export default AccordionPanel;
@@ -1,22 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- export default interface AccordionPanelProps {
4
- /**
5
- * Specify the content of your Button.
6
- */
7
- children: ReactNode;
8
- /**
9
- * Specify an optional className to be added to your Button.
10
- */
11
- className?: string;
12
- /**
13
- * Duration of the collapse animation in milliseconds, to ensure that
14
- * finishing callbacks are fired even if the original browser transition end
15
- * events are canceled
16
- */
17
- timeout?: number;
18
- /**
19
- * Allows the AccordionPanel to be scrollable by default
20
- */
21
- scroll?: boolean;
22
- }
@@ -1,32 +0,0 @@
1
- export interface BreadcrumbItemProps {
2
- /**
3
- * Optional additional className of the BreadcrumbLink
4
- */
5
- className?: string;
6
- /**
7
- * Specify the label for this link
8
- */
9
- label: string;
10
- /**
11
- * Should the label appear as readable text on the screen or an aria-label
12
- */
13
- labelShown?: boolean;
14
- /**
15
- * Specify the url for this link
16
- */
17
- url: string;
18
- }
19
- export interface BreadcrumbProps {
20
- /**
21
- * An additional classname to add to the outer most element of the component
22
- */
23
- className?: string;
24
- /**
25
- * The accessible label to apply to the ellipsis button that appears when the Breadcrumb is collapsed
26
- */
27
- buttonLabel: string;
28
- /**
29
- * Specify the links to be displayed in the Breadcrumb
30
- */
31
- links: BreadcrumbItemProps[];
32
- }
@@ -1,69 +0,0 @@
1
- import { default as React, ReactNode } from 'react';
2
- import { ButtonFunctions, ButtonTypes, PositionTypes, SizeTypes } from '../../types';
3
-
4
- export interface ButtonProps {
5
- /**
6
- * Specify the callback of your Button.
7
- */
8
- callback?: (e: React.MouseEvent<Element, MouseEvent>) => unknown;
9
- /**
10
- * Specify the content of your Button.
11
- */
12
- children?: ReactNode;
13
- /**
14
- * Specify an optional className to be added to your Button.
15
- */
16
- className?: string;
17
- /**
18
- * Specify the name for the Button.
19
- */
20
- name?: string;
21
- /**
22
- * Specify whether or not the button is disabled.
23
- */
24
- disabled?: boolean;
25
- /**
26
- * Specify the icon for the Button
27
- */
28
- icon?: string;
29
- /**
30
- * Specify the icon for the Button
31
- */
32
- iconPosition?: PositionTypes;
33
- /**
34
- * Does this button display an icon only?
35
- */
36
- icononly?: boolean;
37
- /**
38
- * Specify which function the button performs
39
- */
40
- kind?: ButtonFunctions;
41
- /**
42
- * Specify the label for the Button
43
- */
44
- label?: string;
45
- /**
46
- * Does this button open a modal?
47
- */
48
- opensmodal?: boolean;
49
- /**
50
- * Specify an optional className to be added to your Button.
51
- */
52
- size?: SizeTypes;
53
- /**
54
- * Specify the target for when Button is really a link
55
- */
56
- target?: string;
57
- /**
58
- * Specify an optional className to be added to your Button.
59
- */
60
- type?: ButtonTypes;
61
- /**
62
- * Specify the url for the Button's href
63
- */
64
- url?: string;
65
- /**
66
- * Inline styles to be applied to the rendered element
67
- */
68
- style?: React.CSSProperties;
69
- }
@@ -1,51 +0,0 @@
1
- import { CalloutTypes } from '../../types';
2
-
3
- interface CTAProps {
4
- /**
5
- * Specify the label of the CTA
6
- */
7
- label?: string;
8
- /**
9
- * Specify the url of the CTA
10
- */
11
- url?: string;
12
- }
13
- export interface CalloutProps {
14
- /**
15
- * Specify the settings for an option CTA
16
- */
17
- cta?: CTAProps;
18
- /**
19
- * Specify an optional className to be added to your RichText.
20
- */
21
- className?: string;
22
- /**
23
- * Specify the copy
24
- */
25
- copy?: Required<string>;
26
- /**
27
- * Specify if callout is collapsible
28
- */
29
- isCollapsible?: boolean;
30
- /**
31
- * Specify if callout is open (only important for collapsible items)
32
- */
33
- isOpen?: boolean;
34
- /**
35
- * Specify the callout headline
36
- */
37
- headline?: string;
38
- /**
39
- * Specify the open label
40
- */
41
- toggleOpenLabel?: string;
42
- /**
43
- * Specify the open label
44
- */
45
- toggleClosedLabel?: string;
46
- /**
47
- * Describe the type of callout
48
- */
49
- type?: CalloutTypes;
50
- }
51
- export {};
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { CardGroupProps } from './CardGroup.props';
3
-
4
- declare const CardGroup: FC<CardGroupProps>;
5
- export default CardGroup;
@@ -1,86 +0,0 @@
1
- import { LinkProps } from '../../LinkList/LinkList.props';
2
- import { StatCardProps } from '../StatCard';
3
- import { MultilinkCardProps } from '../MultilinkCard';
4
- import { TextCardProps } from '../TextCard';
5
- import { PromoCardProps } from '../PromoCard';
6
- import { FeatureCardProps } from '../FeatureCard';
7
- import { DetailCardProps } from '../DetailCard';
8
- import { FactlistCardProps } from '../FactlistCard';
9
- import { DataCardProps } from '../DataCard';
10
- import { HeadingTypes, CardSize, ThemeTypes, CardAlignment } from '../../../types';
11
-
12
- export interface CommonCardGroupProps {
13
- /**
14
- *Collapsed - Optionally collapses margins between the cards.
15
- *Option keys: true, false
16
- */
17
- collapsed?: boolean;
18
- /**
19
- *Number of cards in the group
20
- */
21
- cardCount: string;
22
- /**
23
- *Size - Sets the layout of the cards in the group. See the Card component for more info on this setting, which has different effects on the different types of cards.
24
- *Option keys: standard, narrow, wide, fluid
25
- */
26
- size: CardSize;
27
- /**
28
- *Alignment - Positions the image to the right or to the left of the content when the card is displayed in a wide or fluid size. Has no effect if the card is displayed in a standard or narrow size. Only used by `Multilink Card`.
29
- *Option keys: left, right
30
- */
31
- alignment?: CardAlignment;
32
- /**
33
- *Set the title level for all the cards in the group
34
- */
35
- titleLevel?: HeadingTypes;
36
- /**
37
- *A Button to display after all the cards in the group
38
- */
39
- cta?: LinkProps;
40
- /**
41
- *Theme - Sets all of the cards to appear as either light or dark. Used by all card groups except for Multilink Card, Data Card and Stat Card.
42
- *Option keys: dark, light
43
- */
44
- theme?: ThemeTypes;
45
- }
46
- export interface StatCardGroup extends CommonCardGroupProps {
47
- /**
48
- * Represents different types of card groups:
49
- */
50
- type: "stat";
51
- /**
52
- * An array of card objects corresponding to the respective card type:
53
- */
54
- cards: StatCardProps[];
55
- }
56
- export interface MultilinkCardGroup extends CommonCardGroupProps {
57
- type: "multilink";
58
- cards: MultilinkCardProps[];
59
- }
60
- export interface TextCardGroup extends CommonCardGroupProps {
61
- type: "text";
62
- cards: TextCardProps[];
63
- }
64
- export interface PromoCardGroup extends CommonCardGroupProps {
65
- type: "promo";
66
- cards: PromoCardProps[];
67
- }
68
- export interface FeatureCardGroup extends CommonCardGroupProps {
69
- type: "feature";
70
- cards: FeatureCardProps[];
71
- }
72
- export interface DetailCardGroup extends CommonCardGroupProps {
73
- type: "detail";
74
- cards: DetailCardProps[];
75
- }
76
- export interface FactlistCardGroup extends CommonCardGroupProps {
77
- type: "factlist";
78
- cards: FactlistCardProps[];
79
- }
80
- export interface DataCardGroup extends CommonCardGroupProps {
81
- type: "data";
82
- titleLevel?: never;
83
- cards: DataCardProps[];
84
- }
85
- export type CardGroupComponentProps = StatCardProps | MultilinkCardProps | TextCardProps | PromoCardProps | FeatureCardProps | DetailCardProps | FactlistCardProps | DataCardProps;
86
- export type CardGroupProps = StatCardGroup | MultilinkCardGroup | TextCardGroup | PromoCardGroup | FeatureCardGroup | DetailCardGroup | FactlistCardGroup | DataCardGroup;
@@ -1,3 +0,0 @@
1
- export { default as CardGroup } from './CardGroup';
2
- export type { CardGroupProps } from './CardGroup.props';
3
- export { default as CardGroupArgs } from './CardGroup.args';
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { DataCardProps } from './DataCard.props';
3
-
4
- declare const DataCard: FC<DataCardProps>;
5
- export default DataCard;
@@ -1,51 +0,0 @@
1
- import { CardSize } from '../../../types';
2
- import { LinkProps } from '../../LinkList/LinkList.props';
3
-
4
- export interface DataCardProps {
5
- /**
6
- * A line of text that appears as a small heading at the top of the card
7
- */
8
- eyebrow?: string;
9
- /**
10
- * How big should the card be
11
- */
12
- size?: Omit<CardSize, "standard">;
13
- /**
14
- * The image to show in the card
15
- */
16
- image?: string;
17
- /**
18
- * Array of Content (label, copy), Files object (optional headline, array of items with label and url) and Links * * object (optional headline, array of items with label and url)
19
- */
20
- dataset?: CardDataset;
21
- /**
22
- * Make the content appear in one or two columns. Only applies when the size is set to `wide` or `fluid`
23
- */
24
- columns?: string;
25
- }
26
- interface CardDataset {
27
- content?: DataContent;
28
- files?: DataFile;
29
- links?: DataLink;
30
- cta?: Cta;
31
- }
32
- interface DataContent {
33
- items?: Array<ContentItem>;
34
- }
35
- interface ContentItem {
36
- label?: string;
37
- copy?: string;
38
- }
39
- interface DataFile {
40
- headline?: string;
41
- items?: Array<LinkProps>;
42
- }
43
- interface DataLink {
44
- headline?: string;
45
- items?: Array<LinkProps>;
46
- }
47
- interface Cta {
48
- headline?: string;
49
- items?: Array<LinkProps>;
50
- }
51
- export {};
@@ -1,3 +0,0 @@
1
- export { default as DataCard } from './DataCard';
2
- export type { DataCardProps } from './DataCard.props';
3
- export { DataCardArgs } from './DataCard.args';
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { DetailCardProps } from './DetailCard.props';
3
-
4
- declare const DetailCard: FC<DetailCardProps>;
5
- export default DetailCard;