@ilo-org/react 0.19.0 → 0.21.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 (240) hide show
  1. package/lib/cjs/_store/Blockquote-entry-BwhpFsWX.js +1 -0
  2. package/lib/cjs/_store/{Breadcrumb-chunk-BGt10GMr.js → Breadcrumb-chunk-DkUvpxym.js} +1 -1
  3. package/lib/cjs/_store/{Breadcrumb-entry-BcWOPogy.js → Breadcrumb-entry-PID5wRYn.js} +1 -1
  4. package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
  5. package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
  6. package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
  7. package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
  8. package/lib/cjs/_store/CardGroup-chunk-C_EtI9iK.js +1 -0
  9. package/lib/cjs/_store/Cards-entry-C_9kqjEx.js +1 -0
  10. package/lib/cjs/_store/ContextMenu-chunk-Dl3-wUCt.js +1 -0
  11. package/lib/cjs/_store/{ContextMenu-entry-UwZc4yU3.js → ContextMenu-entry-Bzzoi_xM.js} +1 -1
  12. package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
  13. package/lib/cjs/_store/{Footer-entry-CI7x98xM.js → Footer-entry-D6eg1T-c.js} +1 -1
  14. package/lib/cjs/_store/{Hero-chunk-DiUWCO_D.js → Hero-chunk-B3vu8ihD.js} +1 -1
  15. package/lib/cjs/_store/{Hero-entry-AK8D7qYH.js → Hero-entry-CAssbp0C.js} +1 -1
  16. package/lib/cjs/_store/{HeroCard-chunk-CCNjdbBJ.js → HeroCard-chunk-Cdyuf9Gw.js} +1 -1
  17. package/lib/cjs/_store/{HeroCard-entry-BGUHZKKh.js → HeroCard-entry-Z_H24PlF.js} +1 -1
  18. package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
  19. package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
  20. package/lib/cjs/_store/LanguageToggle-chunk-CrtaBUlW.js +1 -0
  21. package/lib/cjs/_store/LanguageToggle-entry-CHgP8iuU.js +1 -0
  22. package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
  23. package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
  24. package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
  25. package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
  26. package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
  27. package/lib/cjs/_store/Nav-entry-BxYm9ulI.js +1 -0
  28. package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
  29. package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
  30. package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
  31. package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
  32. package/lib/cjs/_store/{SearchField-chunk-BkrZKT5S.js → SearchField-chunk-uIkdwz2L.js} +1 -1
  33. package/lib/cjs/_store/{SearchField-entry-DoVeY_de.js → SearchField-entry-3sd9miiq.js} +1 -1
  34. package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
  35. package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
  36. package/lib/cjs/_store/SubsiteNav-chunk-BphCnfvs.js +1 -0
  37. package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
  38. package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
  39. package/lib/cjs/_store/{Tag-chunk-B-UjKiml.js → Tag-chunk-DUz8ZjA1.js} +1 -1
  40. package/lib/cjs/_store/{Tag-entry-Dv_p5zCg.js → Tag-entry-D8aAuglc.js} +1 -1
  41. package/lib/cjs/_store/components-entry-BU_6L6id.js +1 -0
  42. package/lib/cjs/_store/index.js +1 -1
  43. package/lib/cjs/_store/useBreakpoint-chunk-CBEGGRKj.js +1 -0
  44. package/lib/cjs/index.js +1 -1
  45. package/lib/esm/_store/Blockquote-entry-DccNMBEH.js +15 -0
  46. package/lib/esm/_store/{Breadcrumb-chunk-DcsXzPvT.js → Breadcrumb-chunk-DcupgWDR.js} +1 -1
  47. package/lib/esm/_store/Breadcrumb-entry-1SOUCUgD.js +4 -0
  48. package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
  49. package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
  50. package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
  51. package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
  52. package/lib/esm/_store/CardGroup-chunk-BykGdrCT.js +425 -0
  53. package/lib/esm/_store/Cards-entry-DjtBPvwt.js +12 -0
  54. package/lib/esm/_store/ContextMenu-chunk-D-riZIFp.js +32 -0
  55. package/lib/esm/_store/ContextMenu-entry-BN-vEJes.js +4 -0
  56. package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
  57. package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
  58. package/lib/esm/_store/{Hero-chunk-swloBIGl.js → Hero-chunk-C1gFHcIP.js} +2 -2
  59. package/lib/esm/_store/Hero-entry-DWpRL6uz.js +4 -0
  60. package/lib/esm/_store/{HeroCard-chunk-fz3EIUiE.js → HeroCard-chunk-3mxIZYwU.js} +1 -1
  61. package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
  62. package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
  63. package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
  64. package/lib/esm/_store/LanguageToggle-chunk-CsayoJqR.js +70 -0
  65. package/lib/esm/_store/LanguageToggle-entry-D3t_X2Qk.js +4 -0
  66. package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
  67. package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
  68. package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
  69. package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
  70. package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
  71. package/lib/esm/_store/Nav-entry-CsQzrNK7.js +4 -0
  72. package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
  73. package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
  74. package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
  75. package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
  76. package/lib/esm/_store/{SearchField-chunk-DfXCHmW0.js → SearchField-chunk-D-S-SV-o.js} +1 -1
  77. package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
  78. package/lib/esm/_store/{SocialMedia-chunk-B0IPGaVf.js → SocialMedia-chunk-BP6TBNEf.js} +7 -7
  79. package/lib/esm/_store/SocialMedia-entry-C60BCp7g.js +63 -0
  80. package/lib/esm/_store/SubsiteNav-chunk-C97AqH9F.js +549 -0
  81. package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
  82. package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
  83. package/lib/esm/_store/{Tag-chunk-6_6Oh_I3.js → Tag-chunk-DRiFjL6-.js} +1 -1
  84. package/lib/esm/_store/{Tag-entry-B40IGpPj.js → Tag-entry-D_EdPheu.js} +2 -2
  85. package/lib/esm/_store/components-entry-COAKlxYx.js +96 -0
  86. package/lib/esm/_store/index.js +4 -2
  87. package/lib/esm/_store/useBreakpoint-chunk-DBZTYUx9.js +54 -0
  88. package/lib/esm/index.js +68 -56
  89. package/lib/styles/components/blockquote.css +1 -0
  90. package/lib/styles/components/card.css +1 -1
  91. package/lib/styles/components/datacard.css +1 -1
  92. package/lib/styles/components/featurecard.css +1 -1
  93. package/lib/styles/components/languagetoggle.css +1 -0
  94. package/lib/styles/components/list.css +1 -1
  95. package/lib/styles/components/multilinkcard.css +1 -1
  96. package/lib/styles/components/richtext.css +1 -1
  97. package/lib/styles/components/socialmedia.css +1 -1
  98. package/lib/styles/components/video.css +1 -1
  99. package/lib/styles/global.css +1 -1
  100. package/lib/styles/global.css.map +1 -1
  101. package/lib/styles/index.css +2 -2
  102. package/lib/styles/index.css.map +1 -1
  103. package/lib/styles/monorepo.css +2 -2
  104. package/lib/styles/monorepo.css.map +1 -1
  105. package/lib/types/components/Blockquote/Blockquote.d.ts +6 -0
  106. package/lib/types/components/Blockquote/index.d.ts +1 -0
  107. package/lib/types/components/Button/Button.d.ts +83 -4
  108. package/lib/types/components/Button/index.d.ts +1 -2
  109. package/lib/types/components/Callout/Callout.d.ts +50 -4
  110. package/lib/types/components/Callout/index.d.ts +1 -2
  111. package/lib/types/components/Cards/CardGroup.d.ts +31 -0
  112. package/lib/types/components/Cards/DataCard.d.ts +50 -0
  113. package/lib/types/components/Cards/DetailCard.d.ts +54 -0
  114. package/lib/types/components/Cards/FactListCard.d.ts +30 -0
  115. package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
  116. package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
  117. package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
  118. package/lib/types/components/Cards/StatCard.d.ts +39 -0
  119. package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
  120. package/lib/types/components/Cards/index.d.ts +9 -0
  121. package/lib/types/components/ContextMenu/ContextMenu.d.ts +4 -0
  122. package/lib/types/components/Footer/Footer.d.ts +50 -4
  123. package/lib/types/components/Footer/index.d.ts +1 -1
  124. package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +25 -0
  125. package/lib/types/components/LanguageToggle/index.d.ts +1 -0
  126. package/lib/types/components/Link/Link.d.ts +55 -4
  127. package/lib/types/components/Link/index.d.ts +1 -1
  128. package/lib/types/components/LinkList/LinkList.d.ts +45 -4
  129. package/lib/types/components/LinkList/index.d.ts +1 -1
  130. package/lib/types/components/List/List.d.ts +54 -4
  131. package/lib/types/components/List/ListItem.d.ts +22 -4
  132. package/lib/types/components/List/index.d.ts +18 -2
  133. package/lib/types/components/Nav/Navigation.props.d.ts +112 -0
  134. package/lib/types/components/Nav/NavigationDropdown.d.ts +19 -0
  135. package/lib/types/components/Nav/NavigationLink.d.ts +4 -0
  136. package/lib/types/components/Nav/NavigationMenu.d.ts +13 -0
  137. package/lib/types/components/Nav/NavigationMenuGrid.d.ts +7 -0
  138. package/lib/types/components/Nav/Subsite/CompactNav.d.ts +4 -0
  139. package/lib/types/components/Nav/Subsite/ComplexNav.d.ts +4 -0
  140. package/lib/types/components/Nav/Subsite/SubsiteNav.d.ts +4 -0
  141. package/lib/types/components/Nav/index.d.ts +2 -0
  142. package/lib/types/components/Nav/mobile/MobileDrawer.d.ts +27 -0
  143. package/lib/types/components/Nav/mobile/MobileLanguageList.d.ts +9 -0
  144. package/lib/types/components/Nav/mobile/MobileMenuList.d.ts +8 -0
  145. package/lib/types/components/Nav/mobile/MobileNavigation.d.ts +15 -0
  146. package/lib/types/components/Nav/useNavSetup.d.ts +22 -0
  147. package/lib/types/components/Notification/Notification.d.ts +55 -4
  148. package/lib/types/components/Notification/index.d.ts +1 -1
  149. package/lib/types/components/Profile/Profile.d.ts +46 -4
  150. package/lib/types/components/Profile/index.d.ts +1 -1
  151. package/lib/types/components/SocialMedia/SocialMedia.d.ts +2 -43
  152. package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +46 -0
  153. package/lib/types/components/SocialMedia/index.d.ts +3 -1
  154. package/lib/types/components/index.d.ts +3 -1
  155. package/lib/types/hooks/index.d.ts +1 -0
  156. package/lib/types/hooks/useBreakpoint.d.ts +7 -0
  157. package/lib/types/types/index.d.ts +1 -1
  158. package/package.json +10 -9
  159. package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
  160. package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
  161. package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
  162. package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
  163. package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
  164. package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +0 -1
  165. package/lib/cjs/_store/Footer-chunk-DK416bgz.js +0 -1
  166. package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
  167. package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
  168. package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
  169. package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
  170. package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
  171. package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +0 -1
  172. package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
  173. package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
  174. package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +0 -1
  175. package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +0 -1
  176. package/lib/cjs/_store/components-entry-CDxRih4j.js +0 -1
  177. package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +0 -4
  178. package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
  179. package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
  180. package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
  181. package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
  182. package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
  183. package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +0 -30
  184. package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +0 -4
  185. package/lib/esm/_store/Footer-chunk-Cfulou_M.js +0 -53
  186. package/lib/esm/_store/Footer-entry-xjy-auY5.js +0 -4
  187. package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +0 -4
  188. package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +0 -4
  189. package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
  190. package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
  191. package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
  192. package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
  193. package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
  194. package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
  195. package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
  196. package/lib/esm/_store/LocalNav-entry-DydB3k67.js +0 -4
  197. package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
  198. package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
  199. package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
  200. package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
  201. package/lib/esm/_store/SearchField-entry-qYGaidSz.js +0 -4
  202. package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +0 -4
  203. package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
  204. package/lib/esm/_store/components-entry-BW50D0h0.js +0 -86
  205. package/lib/types/components/Button/Button.props.d.ts +0 -69
  206. package/lib/types/components/Callout/Callout.props.d.ts +0 -51
  207. package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
  208. package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
  209. package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
  210. package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
  211. package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
  212. package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
  213. package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
  214. package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
  215. package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
  216. package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
  217. package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
  218. package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
  219. package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
  220. package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
  221. package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
  222. package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
  223. package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
  224. package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
  225. package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
  226. package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
  227. package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
  228. package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
  229. package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
  230. package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
  231. package/lib/types/components/Footer/Footer.props.d.ts +0 -49
  232. package/lib/types/components/Link/Link.props.d.ts +0 -33
  233. package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
  234. package/lib/types/components/List/List.props.d.ts +0 -25
  235. package/lib/types/components/List/ListItem.props.d.ts +0 -16
  236. package/lib/types/components/LocalNav/LocalNav.d.ts +0 -5
  237. package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -38
  238. package/lib/types/components/LocalNav/index.d.ts +0 -1
  239. package/lib/types/components/Notification/Notification.props.d.ts +0 -57
  240. package/lib/types/components/Profile/Profile.props.d.ts +0 -47
@@ -1,5 +1,56 @@
1
- import { FC } from 'react';
2
- import { LinkProps } from './Link.props';
1
+ import { AnchorHTMLAttributes, ReactNode } from 'react';
2
+ import { LinkTypes } from '../../types';
3
3
 
4
- declare const Link: FC<LinkProps>;
5
- export default Link;
4
+ export type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
5
+ /**
6
+ * Specify the url for the link's href
7
+ */
8
+ url: string;
9
+ /**
10
+ * Specify the content of your Link.
11
+ */
12
+ children?: ReactNode;
13
+ /**
14
+ * Specify the label for the link
15
+ */
16
+ label?: string;
17
+ /**
18
+ * Specify the target for the link
19
+ */
20
+ target?: string;
21
+ /**
22
+ * Specify an optional className to be added to your Link.
23
+ */
24
+ theme?: LinkTypes;
25
+ /**
26
+ * Specify an optional className to be added to your Link.
27
+ */
28
+ className?: string;
29
+ };
30
+ declare const Link: import('react').ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & {
31
+ /**
32
+ * Specify the url for the link's href
33
+ */
34
+ url: string;
35
+ /**
36
+ * Specify the content of your Link.
37
+ */
38
+ children?: ReactNode;
39
+ /**
40
+ * Specify the label for the link
41
+ */
42
+ label?: string | undefined;
43
+ /**
44
+ * Specify the target for the link
45
+ */
46
+ target?: string | undefined;
47
+ /**
48
+ * Specify an optional className to be added to your Link.
49
+ */
50
+ theme?: LinkTypes | undefined;
51
+ /**
52
+ * Specify an optional className to be added to your Link.
53
+ */
54
+ className?: string | undefined;
55
+ } & import('react').RefAttributes<HTMLAnchorElement>>;
56
+ export { Link };
@@ -1 +1 @@
1
- export { default as Link } from './Link';
1
+ export * from './Link';
@@ -1,5 +1,46 @@
1
- import { FC } from 'react';
2
- import { LinkListProps } from './LinkList.props';
1
+ import { LinkListThemes } from '../../types';
3
2
 
4
- declare const LinkList: FC<LinkListProps>;
5
- export default LinkList;
3
+ export type LinkProps = {
4
+ /**
5
+ * Specify if this link should indent and have a triangle icon
6
+ */
7
+ indented?: boolean;
8
+ /**
9
+ * Specify the label for this link
10
+ */
11
+ label: string;
12
+ /**
13
+ * Specify the url for this link
14
+ */
15
+ url: string;
16
+ };
17
+ export type LinkGroupProps = {
18
+ /**
19
+ * Specify an optional headline for this link group
20
+ */
21
+ headline?: string;
22
+ /**
23
+ * Specify the links to be displayed in this link group
24
+ */
25
+ links: Array<LinkProps>;
26
+ };
27
+ export type LinkListProps = {
28
+ /**
29
+ * Specify an optional className to be added to your Link List component.
30
+ */
31
+ className?: string;
32
+ /**
33
+ * Specify a headline for the the Link List
34
+ */
35
+ headline?: string;
36
+ /**
37
+ * Specify the links to be displayed in the Link List
38
+ */
39
+ linkgroup: Array<LinkGroupProps>;
40
+ /**
41
+ * Specify the theme for the Link List
42
+ */
43
+ theme?: LinkListThemes;
44
+ };
45
+ declare const LinkList: import('react').ForwardRefExoticComponent<LinkListProps & import('react').RefAttributes<HTMLDivElement>>;
46
+ export { LinkList };
@@ -1 +1 @@
1
- export { default as LinkList } from './LinkList';
1
+ export * from './LinkList';
@@ -1,5 +1,55 @@
1
- import { FC } from 'react';
2
- import { ListProps } from './List.props';
1
+ import { HTMLAttributes, ReactNode } from 'react';
3
2
 
4
- declare const List: FC<ListProps>;
5
- export default List;
3
+ export type ListProps = HTMLAttributes<HTMLDivElement> & {
4
+ /**
5
+ * The content of the list
6
+ */
7
+ children: ReactNode;
8
+ /**
9
+ * Specify an optional className to be added to your list.
10
+ */
11
+ className?: string;
12
+ /**
13
+ * The alignment of the list items
14
+ */
15
+ alignment?: "default" | "horizontal";
16
+ /**
17
+ * The type of list
18
+ */
19
+ ordered?: "unstyled" | "ordered" | "unordered";
20
+ /**
21
+ * The title of the list
22
+ */
23
+ title?: string;
24
+ /**
25
+ * The theme of the list
26
+ */
27
+ theme?: "light" | "dark";
28
+ };
29
+ declare const List: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
30
+ /**
31
+ * The content of the list
32
+ */
33
+ children: ReactNode;
34
+ /**
35
+ * Specify an optional className to be added to your list.
36
+ */
37
+ className?: string | undefined;
38
+ /**
39
+ * The alignment of the list items
40
+ */
41
+ alignment?: "default" | "horizontal" | undefined;
42
+ /**
43
+ * The type of list
44
+ */
45
+ ordered?: "ordered" | "unstyled" | "unordered" | undefined;
46
+ /**
47
+ * The title of the list
48
+ */
49
+ title?: string | undefined;
50
+ /**
51
+ * The theme of the list
52
+ */
53
+ theme?: "light" | "dark" | undefined;
54
+ } & import('react').RefAttributes<HTMLDivElement>>;
55
+ export { List };
@@ -1,5 +1,23 @@
1
- import { FC } from 'react';
2
- import { ListItemProps } from './ListItem.props';
1
+ import { HTMLAttributes, ReactNode } from 'react';
3
2
 
4
- declare const ListItem: FC<ListItemProps>;
5
- export default ListItem;
3
+ export type ListItemProps = HTMLAttributes<HTMLLIElement> & {
4
+ /**
5
+ * Specify the content of your ListItem.
6
+ */
7
+ children: ReactNode;
8
+ /**
9
+ * Specify an optional className to be added to your ListItem.
10
+ */
11
+ className?: string;
12
+ };
13
+ declare const ListItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLLIElement> & {
14
+ /**
15
+ * Specify the content of your ListItem.
16
+ */
17
+ children: ReactNode;
18
+ /**
19
+ * Specify an optional className to be added to your ListItem.
20
+ */
21
+ className?: string | undefined;
22
+ } & import('react').RefAttributes<HTMLLIElement>>;
23
+ export { ListItem };
@@ -1,2 +1,18 @@
1
- export { default as List } from './List';
2
- export { default as ListItem } from './ListItem';
1
+ import { ListProps } from './List';
2
+ import { ListItemProps } from './ListItem';
3
+
4
+ declare const List: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
5
+ children: import('react').ReactNode;
6
+ className?: string | undefined;
7
+ alignment?: "default" | "horizontal" | undefined;
8
+ ordered?: "ordered" | "unstyled" | "unordered" | undefined;
9
+ title?: string | undefined;
10
+ theme?: "light" | "dark" | undefined;
11
+ } & import('react').RefAttributes<HTMLDivElement>> & {
12
+ Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLLIElement> & {
13
+ children: import('react').ReactNode;
14
+ className?: string | undefined;
15
+ } & import('react').RefAttributes<HTMLLIElement>>;
16
+ };
17
+ export { List };
18
+ export type { ListProps, ListItemProps };
@@ -0,0 +1,112 @@
1
+ import { ElementType, ReactNode } from 'react';
2
+ import { LanguageToggleProps } from '../LanguageToggle';
3
+
4
+ export interface NavigationLinkProps {
5
+ href?: string;
6
+ target?: string;
7
+ className?: string;
8
+ label: ReactNode;
9
+ isActive?: boolean;
10
+ /**
11
+ * The component to render the link
12
+ */
13
+ component?: ElementType;
14
+ }
15
+ export interface SubsiteNavCoreProps {
16
+ branding: {
17
+ /**
18
+ * The branding to display in the SubsiteNav like a primary logo
19
+ */
20
+ logo: {
21
+ main: ReactNode;
22
+ /**
23
+ * The logo to display in the drawer
24
+ */
25
+ drawer?: ReactNode;
26
+ };
27
+ /**
28
+ * The site or product name
29
+ */
30
+ name: string;
31
+ /**
32
+ * The handler to call when the branding is clicked
33
+ */
34
+ onClick?: () => void;
35
+ };
36
+ /**
37
+ * The menu configuration
38
+ */
39
+ menu: {
40
+ /**
41
+ * The navigation items to display
42
+ */
43
+ items: NavigationLinkProps[];
44
+ labels: {
45
+ /**
46
+ * The label to display for the more button
47
+ */
48
+ more?: string;
49
+ /**
50
+ * The label to display for the back to menu button
51
+ */
52
+ backToMenu?: string;
53
+ };
54
+ };
55
+ /**
56
+ * The widgets to display in the SubsiteNav
57
+ */
58
+ widgets?: {
59
+ /**
60
+ * The link inside the widget bar
61
+ */
62
+ link?: NavigationLinkProps;
63
+ /**
64
+ * The language toggler pros
65
+ */
66
+ language?: LanguageToggleProps & {
67
+ /**
68
+ * The label to display for the language toggle, used for mobile
69
+ */
70
+ label: string;
71
+ };
72
+ /**
73
+ * The search bar props
74
+ */
75
+ search?: {
76
+ type: "redirect";
77
+ url: string;
78
+ /**
79
+ * The label to display for the search bar
80
+ */
81
+ label?: string;
82
+ };
83
+ };
84
+ }
85
+ export interface CompactNavProps {
86
+ /**
87
+ * The type of SubsiteNav to render
88
+ */
89
+ type?: "compact";
90
+ props: SubsiteNavCoreProps;
91
+ }
92
+ export interface ComplexNavProps {
93
+ /**
94
+ * The type of SubsiteNav to render
95
+ */
96
+ type?: "complex";
97
+ props: SubsiteNavCoreProps & {
98
+ branding: {
99
+ logo: SubsiteNavCoreProps["branding"]["logo"] & {
100
+ /**
101
+ * The logo to display for the mobile screens
102
+ */
103
+ mobile?: ReactNode;
104
+ };
105
+ tag?: {
106
+ main: string;
107
+ sub?: string;
108
+ };
109
+ };
110
+ };
111
+ }
112
+ export type SubsiteNavProps = CompactNavProps | ComplexNavProps;
@@ -0,0 +1,19 @@
1
+ import { RefObject } from 'react';
2
+
3
+ type NavigationDropdownProps = {
4
+ /**
5
+ * Whether the dropdown is open
6
+ */
7
+ isOpen: boolean;
8
+ /**
9
+ * The ref to the navigation element
10
+ */
11
+ navRef: RefObject<HTMLElement>;
12
+ className?: string;
13
+ /**
14
+ * The children to render in the dropdown
15
+ */
16
+ children?: React.ReactNode;
17
+ };
18
+ declare const NavigationDropdown: import('react').MemoExoticComponent<({ isOpen, className, navRef, children, }: NavigationDropdownProps) => import('react').ReactPortal>;
19
+ export { NavigationDropdown };
@@ -0,0 +1,4 @@
1
+ import { NavigationLinkProps } from './Navigation.props';
2
+
3
+ declare const NavigationLink: (props: NavigationLinkProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { NavigationLink };
@@ -0,0 +1,13 @@
1
+ import { NavigationLinkProps } from './Navigation.props';
2
+
3
+ type NavigationMenuProps = {
4
+ className?: string;
5
+ menu: NavigationLinkProps[];
6
+ more?: {
7
+ label?: string;
8
+ onClick: () => void;
9
+ isOpen: boolean;
10
+ };
11
+ };
12
+ declare const NavigationMenu: ({ className, menu, more }: NavigationMenuProps) => import("react/jsx-runtime").JSX.Element;
13
+ export { NavigationMenu };
@@ -0,0 +1,7 @@
1
+ import { NavigationLinkProps } from './Navigation.props';
2
+
3
+ type NavigationMenuGridProps = {
4
+ menu: NavigationLinkProps[];
5
+ };
6
+ declare const NavigationMenuGrid: ({ menu }: NavigationMenuGridProps) => import("react/jsx-runtime").JSX.Element;
7
+ export { NavigationMenuGrid };
@@ -0,0 +1,4 @@
1
+ import { CompactNavProps } from '../Navigation.props';
2
+
3
+ declare const CompactNav: import('react').ForwardRefExoticComponent<CompactNavProps & import('react').RefAttributes<HTMLElement>>;
4
+ export { CompactNav };
@@ -0,0 +1,4 @@
1
+ import { ComplexNavProps } from '../Navigation.props';
2
+
3
+ declare const ComplexNav: import('react').ForwardRefExoticComponent<ComplexNavProps & import('react').RefAttributes<HTMLElement>>;
4
+ export { ComplexNav };
@@ -0,0 +1,4 @@
1
+ import { SubsiteNavProps } from '../Navigation.props';
2
+
3
+ declare const SubsiteNav: import('react').ForwardRefExoticComponent<SubsiteNavProps & import('react').RefAttributes<HTMLElement>>;
4
+ export { SubsiteNav };
@@ -0,0 +1,2 @@
1
+ export * from './Subsite/SubsiteNav';
2
+ export type { CompactNavProps, ComplexNavProps, SubsiteNavProps, } from './Navigation.props';
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type MobileDrawerProps = {
4
+ /**
5
+ * Whether the drawer is open or not
6
+ */
7
+ isOpen: boolean;
8
+ /**
9
+ * The handler to call when the drawer is closed
10
+ */
11
+ onClose?: () => void;
12
+ /**
13
+ * The Header part of the drawer
14
+ */
15
+ header: ReactNode;
16
+ /**
17
+ * The Widgets part of the drawer
18
+ */
19
+ widgets: ReactNode;
20
+ /**
21
+ * The Main content
22
+ */
23
+ children: ReactNode;
24
+ className?: string;
25
+ };
26
+ declare const MobileDrawer: ({ isOpen, onClose, header, widgets, children, className, }: MobileDrawerProps) => import('react').ReactPortal;
27
+ export { MobileDrawer };
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { LanguageToggleProps } from '../../LanguageToggle';
3
+
4
+ type MobileLanguageListProps = {
5
+ options: LanguageToggleProps["options"];
6
+ selected: string;
7
+ };
8
+ declare const MobileLanguageList: ({ options, selected, }: HTMLAttributes<HTMLUListElement> & MobileLanguageListProps) => import("react/jsx-runtime").JSX.Element;
9
+ export { MobileLanguageList };
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import { NavigationLinkProps } from '../Navigation.props';
3
+
4
+ type MobileMenuListProps = {
5
+ menu: NavigationLinkProps[];
6
+ };
7
+ declare const MobileMenuList: ({ menu, }: HTMLAttributes<HTMLUListElement> & MobileMenuListProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { MobileMenuList };
@@ -0,0 +1,15 @@
1
+ import { SubsiteNavCoreProps } from '../Navigation.props';
2
+
3
+ type MobileNavigationProps = {
4
+ /**
5
+ * Whether the navigation is open or not
6
+ */
7
+ isOpen: boolean;
8
+ /**
9
+ * The handler to call when the navigation is clicked
10
+ */
11
+ onClose?: () => void;
12
+ navigationProps: Omit<SubsiteNavCoreProps, "type">;
13
+ };
14
+ declare const MobileNavigation: ({ isOpen, navigationProps: { branding, menu: { items, labels }, widgets, }, onClose, }: MobileNavigationProps) => import("react/jsx-runtime").JSX.Element;
15
+ export { MobileNavigation };
@@ -0,0 +1,22 @@
1
+ import { Dispatch, RefObject, SetStateAction } from 'react';
2
+ import { NavigationLinkProps } from './Navigation.props';
3
+
4
+ interface UseNavSetupArgs {
5
+ menu: NavigationLinkProps[];
6
+ split: {
7
+ desktop: number;
8
+ mobile: number;
9
+ };
10
+ }
11
+ interface UseNavSetupResponse {
12
+ menu: {
13
+ facade: NavigationLinkProps[];
14
+ more: NavigationLinkProps[];
15
+ };
16
+ more: [boolean, Dispatch<SetStateAction<boolean>>];
17
+ mobile: [boolean, Dispatch<SetStateAction<boolean>>];
18
+ ref: RefObject<HTMLElement>;
19
+ isDesktop: boolean;
20
+ }
21
+ declare function useNavSetup({ menu, split }: UseNavSetupArgs): UseNavSetupResponse;
22
+ export { useNavSetup };
@@ -1,5 +1,56 @@
1
- import { FC } from 'react';
2
- import { NotificationProps } from './Notification.props';
1
+ import { NotificationPlacement, NotificationTypes } from '../../types';
3
2
 
4
- declare const Notification: FC<NotificationProps>;
5
- export default Notification;
3
+ export type NotificationProps = {
4
+ /**
5
+ * Specify an optional className to be added to your Notification component.
6
+ */
7
+ className?: string;
8
+ /**
9
+ * Specify the label for the close button
10
+ */
11
+ closelabel?: string;
12
+ /**
13
+ * Specify the copy
14
+ */
15
+ copy: string;
16
+ /**
17
+ * Specify the settings for an option CTA
18
+ */
19
+ cta?: {
20
+ /**
21
+ * Specify the label of the CTA
22
+ */
23
+ label: string;
24
+ /**
25
+ * Specify the url of the CTA
26
+ */
27
+ url: string;
28
+ };
29
+ /**
30
+ * Specify the headline
31
+ */
32
+ headline?: Required<string>;
33
+ /**
34
+ * Specify whether the notification is inline in the DOM or absolutely-positioned at a higher z-index
35
+ */
36
+ placement?: NotificationPlacement;
37
+ /**
38
+ * Specify an optional timestamp
39
+ */
40
+ timestamp?: {
41
+ /**
42
+ * Specify the human-readable time
43
+ */
44
+ human: string;
45
+ /**
46
+ * Specify the UNIX timestamp
47
+ */
48
+ unix: string;
49
+ };
50
+ /**
51
+ * Specify the icon for the Notification
52
+ */
53
+ type?: NotificationTypes;
54
+ };
55
+ declare const Notification: import('react').ForwardRefExoticComponent<NotificationProps & import('react').RefAttributes<HTMLDivElement>>;
56
+ export { Notification };
@@ -1 +1 @@
1
- export { default as Notification } from './Notification';
1
+ export * from './Notification';
@@ -1,5 +1,47 @@
1
- import { FC } from 'react';
2
- import { ProfileProps } from './Profile.props';
1
+ import { ThemeTypes, SizeTypes } from '../../types';
3
2
 
4
- declare const Profile: FC<ProfileProps>;
5
- export default Profile;
3
+ export type ProfileProps = {
4
+ /**
5
+ * Specify the theme for your profile component.
6
+ */
7
+ theme?: ThemeTypes;
8
+ /**
9
+ * Specify the size for your profile component.
10
+ */
11
+ size?: SizeTypes;
12
+ /**
13
+ * Specify an avatar to be added to your Profile component. Image *must* be a perfect square. CMS backend should provide a fallback if the avatar is not populated.
14
+ */
15
+ avatar: string;
16
+ /**
17
+ * Specify a role to be added to your Profile component.
18
+ */
19
+ role?: string;
20
+ /**
21
+ * Specify the name to be added to your Profile component.
22
+ */
23
+ name: string;
24
+ /**
25
+ * Specify an optional className to be added to your Profile component.
26
+ */
27
+ className?: string;
28
+ /**
29
+ * Specify an optional description to be added to your Profile component.
30
+ */
31
+ description?: string;
32
+ /**
33
+ * Specify an optional link to be added to your Profile component.
34
+ */
35
+ link?: {
36
+ /**
37
+ * Specify the label for the Profile's link
38
+ */
39
+ label: string;
40
+ /**
41
+ * Specify the url for the Profile's link
42
+ */
43
+ url: string;
44
+ };
45
+ };
46
+ declare const Profile: import('react').ForwardRefExoticComponent<ProfileProps & import('react').RefAttributes<HTMLElement>>;
47
+ export { Profile };
@@ -1 +1 @@
1
- export { default as Profile } from './Profile';
1
+ export * from './Profile';
@@ -1,45 +1,4 @@
1
- import { SocialTypes } from '../../types';
1
+ import { SocialMediaProps } from './SocialMedia.props';
2
2
 
3
- export type SocialMediaIcons = {
4
- /**
5
- * The name of the icon to display
6
- */
7
- icon: SocialTypes;
8
- /**
9
- * The url to link to
10
- */
11
- url: string;
12
- /**
13
- * The alt text of the link
14
- */
15
- label: string;
16
- className?: string;
17
- };
18
- export type SocialMediaProps = {
19
- /**
20
- * An optional headline to display above the icons
21
- */
22
- headline?: string;
23
- /**
24
- * Specify an optional className to be added to your SocialMedia.
25
- */
26
- className?: string;
27
- /**
28
- * Specify the theme of the SocialMedia.
29
- */
30
- theme?: "light" | "dark";
31
- /**
32
- * The justification of the icons
33
- */
34
- justify?: "start" | "center";
35
- /**
36
- * Specify the icons to display.
37
- */
38
- icons: SocialMediaIcons[];
39
- /**
40
- * The size of the social media icons
41
- */
42
- iconSize: "normal" | "large";
43
- };
44
3
  declare const SocialMedia: import('react').ForwardRefExoticComponent<SocialMediaProps & import('react').RefAttributes<HTMLDivElement>>;
45
- export { SocialMedia };
4
+ export default SocialMedia;