@ilo-org/react 0.0.18 → 0.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 (680) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/lib/cjs/AccordionCtx-fe08ff45.js +9 -0
  3. package/lib/cjs/Callout.args-bcd5a9f1.js +17 -0
  4. package/lib/cjs/DailyMotion-97d1831a.js +260 -0
  5. package/lib/cjs/Facebook-ccb27d1d.js +240 -0
  6. package/lib/cjs/FilePlayer-81b9fc3f.js +597 -0
  7. package/lib/cjs/GlobalCtx-97e4b433.js +9 -0
  8. package/lib/cjs/Kaltura-d6c19814.js +236 -0
  9. package/lib/cjs/ListCtx-7db7fe04.js +9 -0
  10. package/lib/cjs/Mixcloud-f02a460e.js +223 -0
  11. package/lib/cjs/Preview-8238ea6e.js +227 -0
  12. package/lib/cjs/SoundCloud-cd1b1590.js +250 -0
  13. package/lib/cjs/Streamable-f47da42a.js +235 -0
  14. package/lib/cjs/TagCtx-929c7753.js +7 -0
  15. package/lib/cjs/Twitch-c503e140.js +245 -0
  16. package/lib/cjs/Vidyard-d9c2f073.js +238 -0
  17. package/lib/cjs/Vimeo-009601ef.js +286 -0
  18. package/lib/cjs/Wistia-8c9f4c58.js +289 -0
  19. package/lib/cjs/YouTube-ec5847d4.js +378 -0
  20. package/lib/cjs/_commonjsHelpers-9f9f50a8.js +39 -0
  21. package/lib/cjs/components/Accordion/Accordion.js +47 -0
  22. package/lib/cjs/components/Accordion/AccordionButton.js +34 -0
  23. package/lib/cjs/components/Accordion/AccordionItem.js +21 -0
  24. package/lib/cjs/components/Accordion/AccordionPanel.js +30 -0
  25. package/lib/cjs/components/Accordion/index.js +22 -0
  26. package/lib/cjs/components/Button/Button.js +36 -0
  27. package/lib/cjs/components/Button/index.js +39 -0
  28. package/lib/cjs/components/Callout/Callout.js +47 -0
  29. package/lib/cjs/components/Callout/index.js +19 -0
  30. package/lib/cjs/components/Checkbox/Checkbox.js +34 -0
  31. package/lib/cjs/components/Checkbox/index.js +17 -0
  32. package/lib/cjs/components/ChoiceGroup/ChoiceGroup.js +34 -0
  33. package/lib/cjs/components/ChoiceGroup/index.js +19 -0
  34. package/lib/cjs/components/Collapse/Collapse.js +725 -0
  35. package/lib/cjs/components/Collapse/index.js +18 -0
  36. package/lib/cjs/components/ContextMenu/ContextMenu.js +20 -0
  37. package/lib/cjs/components/ContextMenu/index.js +13 -0
  38. package/lib/cjs/components/Credit/Credit.js +33 -0
  39. package/lib/cjs/components/Credit/index.js +13 -0
  40. package/lib/cjs/components/DatePicker/DatePicker.js +32 -0
  41. package/lib/cjs/components/DatePicker/index.js +17 -0
  42. package/lib/cjs/components/Dropdown/Dropdown.js +35 -0
  43. package/lib/cjs/components/Dropdown/index.js +17 -0
  44. package/lib/cjs/components/Empty/Empty.js +19 -0
  45. package/lib/cjs/components/Empty/index.js +13 -0
  46. package/lib/cjs/components/Fieldset/Fieldset.js +24 -0
  47. package/lib/cjs/components/Fieldset/index.js +15 -0
  48. package/lib/cjs/components/FileUpload/FileUpload.js +35 -0
  49. package/lib/cjs/components/FileUpload/index.js +17 -0
  50. package/lib/cjs/components/Form/Form.js +66 -0
  51. package/lib/cjs/components/Form/index.js +31 -0
  52. package/lib/cjs/components/FormElement/FormElement.js +19 -0
  53. package/lib/cjs/components/FormElement/index.js +8 -0
  54. package/lib/cjs/components/FormGroup/FormGroup.js +58 -0
  55. package/lib/cjs/components/FormGroup/index.js +26 -0
  56. package/lib/cjs/components/GlobalProvider/GlobalProvider.js +18 -0
  57. package/lib/cjs/components/GlobalProvider/index.js +11 -0
  58. package/lib/cjs/components/Heading/Heading.js +22 -0
  59. package/lib/cjs/components/Heading/index.js +13 -0
  60. package/lib/cjs/components/Hero/Hero.js +25 -0
  61. package/lib/cjs/components/Hero/HeroCard.js +25 -0
  62. package/lib/cjs/components/Hero/index.js +17 -0
  63. package/lib/cjs/components/Icon/Icon.js +43 -0
  64. package/lib/cjs/components/Icon/index.js +13 -0
  65. package/lib/cjs/components/Image/Image.js +31 -0
  66. package/lib/cjs/components/Image/index.js +14 -0
  67. package/lib/cjs/components/Input/Input.js +32 -0
  68. package/lib/cjs/components/Input/index.js +17 -0
  69. package/lib/cjs/components/Link/Link.js +23 -0
  70. package/lib/cjs/components/Link/index.js +13 -0
  71. package/lib/cjs/components/LinkList/LinkList.js +22 -0
  72. package/lib/cjs/components/LinkList/index.js +13 -0
  73. package/lib/cjs/components/List/List.js +25 -0
  74. package/lib/cjs/components/List/ListItem.js +21 -0
  75. package/lib/cjs/components/List/index.js +16 -0
  76. package/lib/cjs/components/Loading/Loading.js +21 -0
  77. package/lib/cjs/components/Loading/index.js +13 -0
  78. package/lib/cjs/components/Notification/Notification.js +41 -0
  79. package/lib/cjs/components/Notification/index.js +17 -0
  80. package/lib/cjs/components/NumberPicker/NumberPicker.js +32 -0
  81. package/lib/cjs/components/NumberPicker/index.js +17 -0
  82. package/lib/cjs/components/Pagination/Pagination.js +49 -0
  83. package/lib/cjs/components/Pagination/index.js +13 -0
  84. package/lib/cjs/components/Profile/Profile.js +19 -0
  85. package/lib/cjs/components/Profile/index.js +13 -0
  86. package/lib/cjs/components/Radio/Radio.js +29 -0
  87. package/lib/cjs/components/Radio/index.js +14 -0
  88. package/lib/cjs/components/ReadMore/ReadMore.js +38 -0
  89. package/lib/cjs/components/ReadMore/index.js +14 -0
  90. package/lib/cjs/components/RichText/RichText.js +19 -0
  91. package/lib/cjs/components/RichText/index.js +13 -0
  92. package/lib/cjs/components/SearchField/SearchField.js +38 -0
  93. package/lib/cjs/components/SearchField/index.js +18 -0
  94. package/lib/cjs/components/TableOfContents/TableOfContents.js +22 -0
  95. package/lib/cjs/components/TableOfContents/index.js +13 -0
  96. package/lib/cjs/components/Tag/Tag.js +54 -0
  97. package/lib/cjs/components/Tag/TagSet.js +46 -0
  98. package/lib/cjs/components/Tag/index.js +20 -0
  99. package/lib/cjs/components/Textarea/Textarea.js +32 -0
  100. package/lib/cjs/components/Textarea/index.js +17 -0
  101. package/lib/cjs/components/Tooltip/Tooltip.js +103 -0
  102. package/lib/cjs/components/Tooltip/index.js +14 -0
  103. package/lib/cjs/components/Video/Video.js +29 -0
  104. package/lib/cjs/components/Video/VideoPlayer.js +1452 -0
  105. package/lib/cjs/components/Video/index.js +20 -0
  106. package/lib/cjs/components/index.js +115 -0
  107. package/lib/cjs/css-9c93400b.js +81 -0
  108. package/lib/cjs/hooks/index.js +13 -0
  109. package/lib/cjs/hooks/useGlobalSettings.js +13 -0
  110. package/lib/cjs/hooks/useVideoPlayer.js +75 -0
  111. package/lib/cjs/index-1b6434f0.js +1191 -0
  112. package/lib/cjs/index.js +115 -0
  113. package/lib/cjs/patterns-b55db71f.js +579 -0
  114. package/lib/cjs/utils/checkArrayDuplicates.js +7 -0
  115. package/lib/cjs/utils/createChainedFunction.js +30 -0
  116. package/lib/cjs/utils/getDefaultDimensionValue.js +22 -0
  117. package/lib/cjs/utils/hoursMinutesSeconds.js +12 -0
  118. package/lib/cjs/utils/index.js +18 -0
  119. package/lib/cjs/utils/transitionEndListener.js +161 -0
  120. package/lib/cjs/utils/triggerBrowserReflow.js +8 -0
  121. package/lib/esm/AccordionCtx-8c051900.js +6 -0
  122. package/lib/esm/Callout.args-3a0e0416.js +15 -0
  123. package/lib/esm/DailyMotion-b35dc8bb.js +258 -0
  124. package/lib/esm/Facebook-c3c77787.js +238 -0
  125. package/lib/esm/FilePlayer-540e4c5a.js +595 -0
  126. package/lib/esm/GlobalCtx-7fb23cfa.js +7 -0
  127. package/lib/esm/Kaltura-4ac3cda3.js +234 -0
  128. package/lib/esm/ListCtx-da435fdf.js +6 -0
  129. package/lib/esm/Mixcloud-3d4e0760.js +221 -0
  130. package/lib/esm/Preview-6d2a6792.js +225 -0
  131. package/lib/esm/SoundCloud-306d6c78.js +248 -0
  132. package/lib/esm/Streamable-aa3d544e.js +233 -0
  133. package/lib/esm/TagCtx-34c545fe.js +5 -0
  134. package/lib/esm/Twitch-4a1a1565.js +243 -0
  135. package/lib/esm/Vidyard-fe74c274.js +236 -0
  136. package/lib/esm/Vimeo-074f2c39.js +284 -0
  137. package/lib/esm/Wistia-0a2b73b0.js +287 -0
  138. package/lib/esm/YouTube-d58f130b.js +376 -0
  139. package/lib/esm/_commonjsHelpers-849bcf65.js +35 -0
  140. package/lib/esm/components/Accordion/Accordion.js +45 -0
  141. package/lib/esm/components/Accordion/AccordionButton.js +32 -0
  142. package/lib/esm/components/Accordion/AccordionItem.js +19 -0
  143. package/lib/esm/components/Accordion/AccordionPanel.js +28 -0
  144. package/lib/esm/components/Accordion/index.js +13 -0
  145. package/lib/esm/components/Button/Button.js +34 -0
  146. package/lib/esm/components/Button/index.js +36 -0
  147. package/lib/esm/components/Callout/Callout.js +45 -0
  148. package/lib/esm/components/Callout/index.js +12 -0
  149. package/lib/esm/components/Checkbox/Checkbox.js +32 -0
  150. package/lib/esm/components/Checkbox/index.js +11 -0
  151. package/lib/esm/components/ChoiceGroup/ChoiceGroup.js +32 -0
  152. package/lib/esm/components/ChoiceGroup/index.js +13 -0
  153. package/lib/esm/components/Collapse/Collapse.js +723 -0
  154. package/lib/esm/components/Collapse/index.js +12 -0
  155. package/lib/esm/components/ContextMenu/ContextMenu.js +18 -0
  156. package/lib/esm/components/ContextMenu/index.js +7 -0
  157. package/lib/esm/components/Credit/Credit.js +31 -0
  158. package/lib/esm/components/Credit/index.js +7 -0
  159. package/lib/esm/components/DatePicker/DatePicker.js +30 -0
  160. package/lib/esm/components/DatePicker/index.js +11 -0
  161. package/lib/esm/components/Dropdown/Dropdown.js +33 -0
  162. package/lib/esm/components/Dropdown/index.js +11 -0
  163. package/lib/esm/components/Empty/Empty.js +17 -0
  164. package/lib/esm/components/Empty/index.js +7 -0
  165. package/lib/esm/components/Fieldset/Fieldset.js +22 -0
  166. package/lib/esm/components/Fieldset/index.js +9 -0
  167. package/lib/esm/components/FileUpload/FileUpload.js +33 -0
  168. package/lib/esm/components/FileUpload/index.js +11 -0
  169. package/lib/esm/components/Form/Form.js +64 -0
  170. package/lib/esm/components/Form/index.js +25 -0
  171. package/lib/esm/components/FormElement/FormElement.js +17 -0
  172. package/lib/esm/components/FormElement/index.js +2 -0
  173. package/lib/esm/components/FormGroup/FormGroup.js +56 -0
  174. package/lib/esm/components/FormGroup/index.js +20 -0
  175. package/lib/esm/components/GlobalProvider/GlobalProvider.js +16 -0
  176. package/lib/esm/components/GlobalProvider/index.js +4 -0
  177. package/lib/esm/components/Heading/Heading.js +20 -0
  178. package/lib/esm/components/Heading/index.js +7 -0
  179. package/lib/esm/components/Hero/Hero.js +23 -0
  180. package/lib/esm/components/Hero/HeroCard.js +23 -0
  181. package/lib/esm/components/Hero/index.js +10 -0
  182. package/lib/esm/components/Icon/Icon.js +22 -0
  183. package/lib/esm/components/Icon/index.js +7 -0
  184. package/lib/esm/components/Image/Image.js +29 -0
  185. package/lib/esm/components/Image/index.js +8 -0
  186. package/lib/esm/components/Input/Input.js +30 -0
  187. package/lib/esm/components/Input/index.js +11 -0
  188. package/lib/esm/components/Link/Link.js +21 -0
  189. package/lib/esm/components/Link/index.js +7 -0
  190. package/lib/esm/components/LinkList/LinkList.js +20 -0
  191. package/lib/esm/components/LinkList/index.js +7 -0
  192. package/lib/esm/components/List/List.js +23 -0
  193. package/lib/esm/components/List/ListItem.js +19 -0
  194. package/lib/esm/components/List/index.js +9 -0
  195. package/lib/esm/components/Loading/Loading.js +19 -0
  196. package/lib/esm/components/Loading/index.js +7 -0
  197. package/lib/esm/components/Notification/Notification.js +39 -0
  198. package/lib/esm/components/Notification/index.js +11 -0
  199. package/lib/esm/components/NumberPicker/NumberPicker.js +30 -0
  200. package/lib/esm/components/NumberPicker/index.js +11 -0
  201. package/lib/esm/components/Pagination/Pagination.js +47 -0
  202. package/lib/esm/components/Pagination/index.js +7 -0
  203. package/lib/esm/components/Profile/Profile.js +17 -0
  204. package/lib/esm/components/Profile/index.js +7 -0
  205. package/lib/esm/components/Radio/Radio.js +27 -0
  206. package/lib/esm/components/Radio/index.js +8 -0
  207. package/lib/esm/components/ReadMore/ReadMore.js +36 -0
  208. package/lib/esm/components/ReadMore/index.js +8 -0
  209. package/lib/esm/components/RichText/RichText.js +17 -0
  210. package/lib/esm/components/RichText/index.js +7 -0
  211. package/lib/esm/components/SearchField/SearchField.js +36 -0
  212. package/lib/esm/components/SearchField/index.js +12 -0
  213. package/lib/esm/components/TableOfContents/TableOfContents.js +20 -0
  214. package/lib/esm/components/TableOfContents/index.js +7 -0
  215. package/lib/esm/components/Tag/Tag.js +52 -0
  216. package/lib/esm/components/Tag/TagSet.js +44 -0
  217. package/lib/esm/components/Tag/index.js +13 -0
  218. package/lib/esm/components/Textarea/Textarea.js +30 -0
  219. package/lib/esm/components/Textarea/index.js +11 -0
  220. package/lib/esm/components/Tooltip/Tooltip.js +101 -0
  221. package/lib/esm/components/Tooltip/index.js +8 -0
  222. package/lib/esm/components/Video/Video.js +27 -0
  223. package/lib/esm/components/Video/VideoPlayer.js +1450 -0
  224. package/lib/esm/components/Video/index.js +14 -0
  225. package/lib/esm/components/index.js +68 -0
  226. package/lib/esm/css-7414f50b.js +79 -0
  227. package/lib/esm/hooks/index.js +6 -0
  228. package/lib/esm/hooks/useGlobalSettings.js +11 -0
  229. package/lib/esm/hooks/useVideoPlayer.js +73 -0
  230. package/lib/esm/index-8ebb2cc1.js +1191 -0
  231. package/lib/esm/index.js +68 -0
  232. package/lib/esm/patterns-3a3fa9d6.js +575 -0
  233. package/lib/esm/utils/checkArrayDuplicates.js +5 -0
  234. package/lib/esm/utils/createChainedFunction.js +28 -0
  235. package/lib/esm/utils/getDefaultDimensionValue.js +20 -0
  236. package/lib/esm/utils/hoursMinutesSeconds.js +10 -0
  237. package/lib/esm/utils/index.js +7 -0
  238. package/lib/esm/utils/transitionEndListener.js +159 -0
  239. package/lib/esm/utils/triggerBrowserReflow.js +6 -0
  240. package/lib/types/react/src/components/Accordion/Accordion.d.ts +4 -0
  241. package/lib/types/react/src/components/Accordion/Accordion.props.d.ts +33 -0
  242. package/lib/types/react/src/components/Accordion/AccordionButton.d.ts +4 -0
  243. package/lib/types/react/src/components/Accordion/AccordionButton.props.d.ts +11 -0
  244. package/lib/types/react/src/components/Accordion/AccordionCtx.d.ts +4 -0
  245. package/lib/types/react/src/components/Accordion/AccordionItem.d.ts +4 -0
  246. package/lib/types/react/src/components/Accordion/AccordionItem.props.d.ts +21 -0
  247. package/lib/types/react/src/components/Accordion/AccordionPanel.d.ts +4 -0
  248. package/lib/types/react/src/components/Accordion/AccordionPanel.props.d.ts +17 -0
  249. package/lib/types/react/src/components/Accordion/index.d.ts +4 -0
  250. package/lib/types/react/src/components/Button/Button.args.d.ts +11 -0
  251. package/lib/types/react/src/components/Button/Button.d.ts +4 -0
  252. package/lib/types/react/src/components/Button/Button.props.d.ts +64 -0
  253. package/lib/types/react/src/components/Button/index.d.ts +2 -0
  254. package/lib/types/react/src/components/Callout/Callout.args.d.ts +8 -0
  255. package/lib/types/react/src/components/Callout/Callout.d.ts +4 -0
  256. package/lib/types/react/src/components/Callout/Callout.props.d.ts +50 -0
  257. package/lib/types/react/src/components/Callout/index.d.ts +2 -0
  258. package/lib/types/react/src/components/Checkbox/Checkbox.d.ts +4 -0
  259. package/lib/types/react/src/components/Checkbox/Checkbox.props.d.ts +13 -0
  260. package/lib/types/react/src/components/Checkbox/index.d.ts +1 -0
  261. package/lib/types/react/src/components/ChoiceGroup/ChoiceGroup.d.ts +4 -0
  262. package/lib/types/react/src/components/ChoiceGroup/ChoiceGroup.props.d.ts +20 -0
  263. package/lib/types/react/src/components/ChoiceGroup/index.d.ts +1 -0
  264. package/lib/types/react/src/components/Collapse/Collapse.d.ts +3 -0
  265. package/lib/types/react/src/components/Collapse/Collapse.props.d.ts +76 -0
  266. package/lib/types/react/src/components/Collapse/index.d.ts +1 -0
  267. package/lib/types/react/src/components/ContextMenu/ContextMenu.d.ts +4 -0
  268. package/lib/types/react/src/components/ContextMenu/ContextMenu.props.d.ts +25 -0
  269. package/lib/types/react/src/components/ContextMenu/index.d.ts +1 -0
  270. package/lib/types/react/src/components/Credit/Credit.d.ts +4 -0
  271. package/lib/types/react/src/components/Credit/Credit.props.d.ts +10 -0
  272. package/lib/types/react/src/components/Credit/index.d.ts +1 -0
  273. package/lib/types/react/src/components/DatePicker/DatePicker.d.ts +4 -0
  274. package/lib/types/react/src/components/DatePicker/DatePicker.props.d.ts +54 -0
  275. package/lib/types/react/src/components/DatePicker/index.d.ts +1 -0
  276. package/lib/types/react/src/components/Dropdown/Dropdown.d.ts +4 -0
  277. package/lib/types/react/src/components/Dropdown/Dropdown.props.d.ts +69 -0
  278. package/lib/types/react/src/components/Dropdown/index.d.ts +1 -0
  279. package/lib/types/react/src/components/Empty/Empty.d.ts +4 -0
  280. package/lib/types/react/src/components/Empty/Empty.props.d.ts +11 -0
  281. package/lib/types/react/src/components/Empty/index.d.ts +1 -0
  282. package/lib/types/react/src/components/Fieldset/Fieldset.d.ts +4 -0
  283. package/lib/types/react/src/components/Fieldset/Fieldset.props.d.ts +35 -0
  284. package/lib/types/react/src/components/Fieldset/index.d.ts +1 -0
  285. package/lib/types/react/src/components/FileUpload/FileUpload.d.ts +4 -0
  286. package/lib/types/react/src/components/FileUpload/FileUpload.props.d.ts +50 -0
  287. package/lib/types/react/src/components/FileUpload/index.d.ts +1 -0
  288. package/lib/types/react/src/components/Form/Form.d.ts +4 -0
  289. package/lib/types/react/src/components/Form/Form.props.d.ts +114 -0
  290. package/lib/types/react/src/components/Form/index.d.ts +1 -0
  291. package/lib/types/react/src/components/FormElement/FormElement.d.ts +4 -0
  292. package/lib/types/react/src/components/FormElement/FormElement.props.d.ts +47 -0
  293. package/lib/types/react/src/components/FormElement/index.d.ts +1 -0
  294. package/lib/types/react/src/components/FormGroup/FormGroup.d.ts +4 -0
  295. package/lib/types/react/src/components/FormGroup/FormGroup.props.d.ts +81 -0
  296. package/lib/types/react/src/components/FormGroup/index.d.ts +1 -0
  297. package/lib/types/react/src/components/GlobalProvider/GlobalCtx.d.ts +2 -0
  298. package/lib/types/react/src/components/GlobalProvider/GlobalProvider.d.ts +4 -0
  299. package/lib/types/react/src/components/GlobalProvider/GlobalProvider.props.d.ts +13 -0
  300. package/lib/types/react/src/components/GlobalProvider/index.d.ts +2 -0
  301. package/lib/types/react/src/components/Heading/Heading.d.ts +4 -0
  302. package/lib/types/react/src/components/Heading/Heading.props.d.ts +20 -0
  303. package/lib/types/react/src/components/Heading/index.d.ts +1 -0
  304. package/lib/types/react/src/components/Hero/Hero.d.ts +4 -0
  305. package/lib/types/react/src/components/Hero/Hero.props.d.ts +25 -0
  306. package/lib/types/react/src/components/Hero/HeroCard.d.ts +4 -0
  307. package/lib/types/react/src/components/Hero/HeroCard.props.d.ts +54 -0
  308. package/lib/types/react/src/components/Hero/index.d.ts +2 -0
  309. package/lib/types/react/src/components/Icon/Icon.d.ts +4 -0
  310. package/lib/types/react/src/components/Icon/Icon.props.d.ts +14 -0
  311. package/lib/types/react/src/components/Icon/index.d.ts +1 -0
  312. package/lib/types/react/src/components/Image/Image.d.ts +4 -0
  313. package/lib/types/react/src/components/Image/Image.props.d.ts +33 -0
  314. package/lib/types/react/src/components/Image/index.d.ts +1 -0
  315. package/lib/types/react/src/components/Input/Input.d.ts +4 -0
  316. package/lib/types/react/src/components/Input/Input.props.d.ts +51 -0
  317. package/lib/types/react/src/components/Input/index.d.ts +1 -0
  318. package/lib/types/react/src/components/Link/Link.d.ts +4 -0
  319. package/lib/types/react/src/components/Link/Link.props.d.ts +32 -0
  320. package/lib/types/react/src/components/Link/index.d.ts +1 -0
  321. package/lib/types/react/src/components/LinkList/LinkList.d.ts +4 -0
  322. package/lib/types/react/src/components/LinkList/LinkList.props.d.ts +44 -0
  323. package/lib/types/react/src/components/LinkList/index.d.ts +1 -0
  324. package/lib/types/react/src/components/List/List.d.ts +4 -0
  325. package/lib/types/react/src/components/List/List.props.d.ts +31 -0
  326. package/lib/types/react/src/components/List/ListCtx.d.ts +4 -0
  327. package/lib/types/react/src/components/List/ListItem.d.ts +4 -0
  328. package/lib/types/react/src/components/List/ListItem.props.d.ts +21 -0
  329. package/lib/types/react/src/components/List/index.d.ts +2 -0
  330. package/lib/types/react/src/components/Loading/Loading.d.ts +4 -0
  331. package/lib/types/react/src/components/Loading/Loading.props.d.ts +19 -0
  332. package/lib/types/react/src/components/Loading/index.d.ts +1 -0
  333. package/lib/types/react/src/components/Notification/Notification.d.ts +4 -0
  334. package/lib/types/react/src/components/Notification/Notification.props.d.ts +56 -0
  335. package/lib/types/react/src/components/Notification/index.d.ts +1 -0
  336. package/lib/types/react/src/components/NumberPicker/NumberPicker.d.ts +4 -0
  337. package/lib/types/react/src/components/NumberPicker/NumberPicker.props.d.ts +46 -0
  338. package/lib/types/react/src/components/NumberPicker/index.d.ts +1 -0
  339. package/lib/types/react/src/components/Pagination/Pagination.d.ts +4 -0
  340. package/lib/types/react/src/components/Pagination/Pagination.props.d.ts +54 -0
  341. package/lib/types/react/src/components/Pagination/index.d.ts +1 -0
  342. package/lib/types/react/src/components/Profile/Profile.d.ts +4 -0
  343. package/lib/types/react/src/components/Profile/Profile.props.d.ts +37 -0
  344. package/lib/types/react/src/components/Profile/index.d.ts +1 -0
  345. package/lib/types/react/src/components/Radio/Radio.d.ts +4 -0
  346. package/lib/types/react/src/components/Radio/Radio.props.d.ts +14 -0
  347. package/lib/types/react/src/components/Radio/index.d.ts +1 -0
  348. package/lib/types/react/src/components/ReadMore/ReadMore.d.ts +4 -0
  349. package/lib/types/react/src/components/ReadMore/ReadMore.props.d.ts +32 -0
  350. package/lib/types/react/src/components/ReadMore/index.d.ts +1 -0
  351. package/lib/types/react/src/components/RichText/RichText.d.ts +4 -0
  352. package/lib/types/react/src/components/RichText/RichText.props.d.ts +10 -0
  353. package/lib/types/react/src/components/RichText/index.d.ts +1 -0
  354. package/lib/types/react/src/components/SearchField/SearchField.d.ts +4 -0
  355. package/lib/types/react/src/components/SearchField/SearchField.props.d.ts +29 -0
  356. package/lib/types/react/src/components/SearchField/index.d.ts +1 -0
  357. package/lib/types/react/src/components/TableOfContents/TableOfContents.d.ts +4 -0
  358. package/lib/types/react/src/components/TableOfContents/TableOfContents.props.d.ts +20 -0
  359. package/lib/types/react/src/components/TableOfContents/index.d.ts +1 -0
  360. package/lib/types/react/src/components/Tag/Tag.d.ts +4 -0
  361. package/lib/types/react/src/components/Tag/Tag.props.d.ts +28 -0
  362. package/lib/types/react/src/components/Tag/TagCtx.d.ts +2 -0
  363. package/lib/types/react/src/components/Tag/TagSet.d.ts +4 -0
  364. package/lib/types/react/src/components/Tag/TagSet.props.d.ts +30 -0
  365. package/lib/types/react/src/components/Tag/index.d.ts +2 -0
  366. package/lib/types/react/src/components/Textarea/Textarea.d.ts +4 -0
  367. package/lib/types/react/src/components/Textarea/Textarea.props.d.ts +59 -0
  368. package/lib/types/react/src/components/Textarea/index.d.ts +1 -0
  369. package/lib/types/react/src/components/Tooltip/Tooltip.d.ts +4 -0
  370. package/lib/types/react/src/components/Tooltip/Tooltip.props.d.ts +35 -0
  371. package/lib/types/react/src/components/Tooltip/index.d.ts +1 -0
  372. package/lib/types/react/src/components/Video/Video.d.ts +4 -0
  373. package/lib/types/react/src/components/Video/Video.props.d.ts +66 -0
  374. package/lib/types/react/src/components/Video/VideoPlayer.d.ts +4 -0
  375. package/lib/types/react/src/components/Video/VideoPlayer.props.d.ts +67 -0
  376. package/lib/types/react/src/components/Video/index.d.ts +1 -0
  377. package/lib/types/react/src/components/index.d.ts +39 -0
  378. package/lib/types/react/src/hooks/index.d.ts +2 -0
  379. package/lib/types/react/src/hooks/useGlobalSettings.d.ts +4 -0
  380. package/lib/types/react/src/hooks/useVideoPlayer.d.ts +12 -0
  381. package/lib/types/react/src/index.d.ts +1 -0
  382. package/lib/types/react/src/types/index.d.ts +26 -0
  383. package/lib/types/react/src/utils/checkArrayDuplicates.d.ts +1 -0
  384. package/lib/types/react/src/utils/createChainedFunction.d.ts +11 -0
  385. package/lib/types/react/src/utils/getDefaultDimensionValue.d.ts +3 -0
  386. package/lib/types/react/src/utils/hoursMinutesSeconds.d.ts +1 -0
  387. package/lib/types/react/src/utils/index.d.ts +6 -0
  388. package/lib/types/react/src/utils/transitionEndListener.d.ts +1 -0
  389. package/lib/types/react/src/utils/triggerBrowserReflow.d.ts +1 -0
  390. package/package.json +115 -77
  391. package/public/hero.jpg +0 -0
  392. package/public/ilo-dg.jpg +0 -0
  393. package/public/ilo-headquarters.jpg +0 -0
  394. package/public/large.jpg +0 -0
  395. package/public/media-file-poster.jpg +0 -0
  396. package/public/medium.jpg +0 -0
  397. package/public/small.jpg +0 -0
  398. package/public/video-example.mp4 +0 -0
  399. package/public/youtube-video-poster.avif +0 -0
  400. package/rollup.config.mjs +70 -0
  401. package/src/components/Accordion/Accordion.args.ts +1 -1
  402. package/src/components/Accordion/{Accordion.props.d.ts → Accordion.props.ts} +6 -4
  403. package/src/components/Accordion/Accordion.tsx +4 -12
  404. package/src/components/Accordion/{AccordionButton.props.d.ts → AccordionButton.props.ts} +0 -0
  405. package/src/components/Accordion/AccordionButton.tsx +2 -4
  406. package/src/components/Accordion/AccordionCtx.ts +9 -0
  407. package/src/components/Accordion/{AccordionItem.props.d.ts → AccordionItem.props.ts} +0 -0
  408. package/src/components/Accordion/AccordionItem.tsx +3 -9
  409. package/src/components/Accordion/{AccordionPanel.props.d.ts → AccordionPanel.props.ts} +0 -0
  410. package/src/components/Accordion/AccordionPanel.tsx +2 -3
  411. package/src/components/Accordion/index.ts +0 -0
  412. package/src/components/Button/Button.args.ts +12 -467
  413. package/src/components/Button/{Button.props.d.ts → Button.props.ts} +17 -7
  414. package/src/components/Button/Button.tsx +9 -1
  415. package/src/components/Button/index.ts +1 -0
  416. package/src/components/Callout/Callout.args.ts +17 -43
  417. package/src/components/Callout/{Callout.props.d.ts → Callout.props.ts} +2 -3
  418. package/src/components/Callout/Callout.tsx +4 -4
  419. package/src/components/Callout/index.ts +1 -0
  420. package/src/components/Checkbox/Checkbox.args.ts +1 -3
  421. package/src/components/Checkbox/Checkbox.props.ts +13 -0
  422. package/src/components/Checkbox/Checkbox.tsx +1 -1
  423. package/src/components/ChoiceGroup/ChoiceGroup.args.ts +15 -12
  424. package/src/components/ChoiceGroup/ChoiceGroup.props.ts +25 -0
  425. package/src/components/ChoiceGroup/ChoiceGroup.tsx +1 -1
  426. package/src/components/Collapse/{Collapse.props.d.ts → Collapse.props.ts} +0 -0
  427. package/src/components/Collapse/Collapse.tsx +4 -4
  428. package/src/components/ContextMenu/ContextMenu.args.ts +10 -10
  429. package/src/components/ContextMenu/{ContextMenu.props.d.ts → ContextMenu.props.ts} +0 -0
  430. package/src/components/Credit/{Credit.props.d.ts → Credit.props.ts} +0 -0
  431. package/src/components/DatePicker/DatePicker.args.ts +6 -6
  432. package/src/components/DatePicker/{DatePicker.props.d.ts → DatePicker.props.ts} +1 -3
  433. package/src/components/DatePicker/DatePicker.tsx +4 -4
  434. package/src/components/Dropdown/Dropdown.args.ts +5 -5
  435. package/src/components/Dropdown/{Dropdown.props.d.ts → Dropdown.props.ts} +1 -1
  436. package/src/components/Dropdown/Dropdown.tsx +1 -1
  437. package/src/components/Empty/{Empty.props.d.ts → Empty.props.ts} +7 -0
  438. package/src/components/Empty/Empty.tsx +2 -2
  439. package/src/components/Fieldset/{Fieldset.props.d.ts → Fieldset.props.ts} +10 -3
  440. package/src/components/Fieldset/Fieldset.tsx +4 -4
  441. package/src/components/FileUpload/FileUpload.args.ts +4 -4
  442. package/src/components/FileUpload/{FileUpload.props.d.ts → FileUpload.props.ts} +1 -3
  443. package/src/components/FileUpload/FileUpload.tsx +1 -1
  444. package/src/components/Form/Form.args.ts +4 -82
  445. package/src/components/Form/Form.props.ts +137 -0
  446. package/src/components/FormElement/{FormElement.props.d.ts → FormElement.props.ts} +12 -5
  447. package/src/components/FormElement/FormElement.tsx +9 -16
  448. package/src/components/FormGroup/FormGroup.args.ts +2 -1
  449. package/src/components/FormGroup/FormGroup.props.ts +102 -0
  450. package/src/components/GlobalProvider/GlobalCtx.ts +6 -0
  451. package/src/components/GlobalProvider/{GlobalProvider.props.d.ts → GlobalProvider.props.ts} +1 -1
  452. package/src/components/GlobalProvider/GlobalProvider.tsx +3 -9
  453. package/src/components/GlobalProvider/index.ts +2 -0
  454. package/src/components/Heading/Heading.args.ts +9 -6
  455. package/src/components/Heading/{Heading.props.d.ts → Heading.props.ts} +3 -3
  456. package/src/components/Hero/Hero.args.ts +14 -14
  457. package/src/components/Hero/{Hero.props.d.ts → Hero.props.ts} +7 -6
  458. package/src/components/Hero/Hero.tsx +1 -1
  459. package/src/components/Hero/{HeroCard.props.d.ts → HeroCard.props.ts} +6 -6
  460. package/src/components/Icon/{Icon.props.d.ts → Icon.props.ts} +1 -1
  461. package/src/components/Image/Image.args.ts +9 -15
  462. package/src/components/Image/{Image.props.d.ts → Image.props.ts} +0 -0
  463. package/src/components/Input/Input.args.ts +10 -10
  464. package/src/components/Input/{Input.props.d.ts → Input.props.ts} +3 -3
  465. package/src/components/Input/Input.tsx +1 -1
  466. package/src/components/Link/{Link.props.d.ts → Link.props.ts} +8 -3
  467. package/src/components/Link/Link.tsx +3 -10
  468. package/src/components/LinkList/{LinkList.props.d.ts → LinkList.props.ts} +2 -2
  469. package/src/components/List/List.args.ts +0 -4
  470. package/src/components/List/{List.props.d.ts → List.props.ts} +9 -8
  471. package/src/components/List/List.tsx +3 -4
  472. package/src/components/List/ListCtx.ts +7 -0
  473. package/src/components/List/{ListItem.props.d.ts → ListItem.props.ts} +0 -0
  474. package/src/components/List/ListItem.tsx +3 -4
  475. package/src/components/Loading/{Loading.props.d.ts → Loading.props.ts} +3 -3
  476. package/src/components/Notification/{Notification.props.d.ts → Notification.props.ts} +3 -3
  477. package/src/components/Notification/Notification.tsx +1 -1
  478. package/src/components/NumberPicker/NumberPicker.args.ts +4 -4
  479. package/src/components/NumberPicker/{NumberPicker.props.d.ts → NumberPicker.props.ts} +1 -1
  480. package/src/components/NumberPicker/NumberPicker.tsx +1 -1
  481. package/src/components/Pagination/Pagination.args.ts +2 -2
  482. package/src/components/Pagination/{Pagination.props.d.ts → Pagination.props.ts} +1 -1
  483. package/src/components/Profile/Profile.args.ts +16 -16
  484. package/src/components/Profile/{Profile.props.d.ts → Profile.props.ts} +0 -0
  485. package/src/components/Radio/Radio.args.ts +3 -4
  486. package/src/components/Radio/Radio.props.ts +14 -0
  487. package/src/components/Radio/Radio.tsx +1 -1
  488. package/src/components/ReadMore/ReadMore.args.ts +23 -0
  489. package/src/components/ReadMore/{ReadMore.props.d.ts → ReadMore.props.ts} +2 -2
  490. package/src/components/RichText/{RichText.props.d.ts → RichText.props.ts} +1 -1
  491. package/src/components/RichText/richText.args.ts +25 -2
  492. package/src/components/SearchField/SearchField.args.ts +8 -8
  493. package/src/components/SearchField/{SearchField.props.d.ts → SearchField.props.ts} +3 -3
  494. package/src/components/SearchField/SearchField.tsx +26 -19
  495. package/src/components/TableOfContents/{TableOfContents.props.d.ts → TableOfContents.props.ts} +0 -0
  496. package/src/components/Tag/{Tag.props.d.ts → Tag.props.ts} +4 -4
  497. package/src/components/Tag/Tag.tsx +8 -3
  498. package/src/components/Tag/TagCtx.ts +4 -0
  499. package/src/components/Tag/TagSet.args.ts +0 -2
  500. package/src/components/Tag/{TagSet.props.d.ts → TagSet.props.ts} +5 -4
  501. package/src/components/Tag/TagSet.tsx +3 -13
  502. package/src/components/Textarea/Textarea.args.ts +0 -10
  503. package/src/components/Textarea/{Textarea.props.d.ts → Textarea.props.ts} +5 -3
  504. package/src/components/Textarea/Textarea.tsx +1 -1
  505. package/src/components/Tooltip/Tooltip.args.ts +4 -8
  506. package/src/components/Tooltip/{Tooltip.props.d.ts → Tooltip.props.ts} +4 -9
  507. package/src/components/Tooltip/Tooltip.tsx +3 -2
  508. package/src/components/Video/Video.args.ts +16 -44
  509. package/src/components/Video/{Video.props.d.ts → Video.props.ts} +8 -13
  510. package/src/components/Video/Video.tsx +2 -2
  511. package/src/components/Video/{VideoPlayer.props.d.ts → VideoPlayer.props.ts} +7 -5
  512. package/src/components/Video/VideoPlayer.tsx +2 -2
  513. package/src/components/Video/media-file-poster.jpg +0 -0
  514. package/src/components/index.ts +44 -0
  515. package/src/hooks/index.ts +2 -0
  516. package/src/index.ts +1 -19
  517. package/src/types/index.ts +27 -26
  518. package/src/utils/index.ts +6 -0
  519. package/tsconfig.build.json +7 -3
  520. package/.eslintrc.js +0 -36
  521. package/.storybook/main.js +0 -28
  522. package/.storybook/manager-head.html +0 -2
  523. package/.storybook/manager.js +0 -6
  524. package/.storybook/preview.tsx +0 -40
  525. package/.storybook/styles.scss +0 -1
  526. package/.storybook/theme.js +0 -11
  527. package/.turbo/turbo-build.log +0 -525
  528. package/.turbo/turbo-check.log +0 -4
  529. package/.turbo/turbo-test.log +0 -889
  530. package/=6.4.0 +0 -115
  531. package/=7.21.4 +0 -21
  532. package/lib/index.esm.js +0 -24
  533. package/lib/index.esm.js.map +0 -1
  534. package/lib/index.js +0 -24
  535. package/lib/index.js.map +0 -1
  536. package/rollup.config.js +0 -40
  537. package/src/__tests__/Accordion.test.tsx +0 -52
  538. package/src/__tests__/Button.test.tsx +0 -60
  539. package/src/__tests__/Callout.test.tsx +0 -41
  540. package/src/__tests__/ContextMenu.test.tsx +0 -19
  541. package/src/__tests__/Dropdown.test.tsx +0 -38
  542. package/src/__tests__/Form.test.tsx +0 -34
  543. package/src/__tests__/Heading.test.tsx +0 -51
  544. package/src/__tests__/Hero.test.tsx +0 -22
  545. package/src/__tests__/Image.test.tsx +0 -21
  546. package/src/__tests__/LinkList.test.tsx +0 -17
  547. package/src/__tests__/List.test.tsx +0 -37
  548. package/src/__tests__/Loading.text.tsx +0 -33
  549. package/src/__tests__/Notification.test.tsx +0 -39
  550. package/src/__tests__/Pagination.test.tsx +0 -58
  551. package/src/__tests__/Profile.test.tsx +0 -48
  552. package/src/__tests__/ReadMore.test.tsx +0 -42
  553. package/src/__tests__/RichText.test.tsx +0 -16
  554. package/src/__tests__/SearchField.test.tsx +0 -35
  555. package/src/__tests__/TableOfContents.test.tsx +0 -12
  556. package/src/__tests__/Tag.test.tsx +0 -10
  557. package/src/components/Checkbox/Checkbox.props.d.ts +0 -61
  558. package/src/components/ChoiceGroup/ChoiceGroup.props.d.ts +0 -57
  559. package/src/components/Empty/Empty.args.ts +0 -14
  560. package/src/components/Form/Form.props.d.ts +0 -84
  561. package/src/components/FormGroup/FormGroup.props.d.ts +0 -71
  562. package/src/components/GlobalProvider/index.js +0 -4
  563. package/src/components/Link/Link.args.ts +0 -36
  564. package/src/components/Radio/Radio.props.d.ts +0 -66
  565. package/src/components/ReadMore/readMore.args.ts +0 -35
  566. package/src/setup.ts +0 -6
  567. package/src/stories/Accordion.stories.tsx +0 -99
  568. package/src/stories/Button.stories.tsx +0 -375
  569. package/src/stories/Callout.stories.tsx +0 -195
  570. package/src/stories/ContextMenu.stories.tsx +0 -80
  571. package/src/stories/Dropdown.stories.tsx +0 -91
  572. package/src/stories/Empty.stories.tsx +0 -48
  573. package/src/stories/Form.stories.tsx +0 -67
  574. package/src/stories/Heading.stories.tsx +0 -191
  575. package/src/stories/Hero.stories.tsx +0 -194
  576. package/src/stories/Image.stories.tsx +0 -71
  577. package/src/stories/Introduction.stories.mdx +0 -258
  578. package/src/stories/Link.stories.tsx +0 -104
  579. package/src/stories/LinkList.stories.tsx +0 -74
  580. package/src/stories/List.stories.tsx +0 -255
  581. package/src/stories/Loading.stories.tsx +0 -103
  582. package/src/stories/Notification.stories.tsx +0 -176
  583. package/src/stories/Pagination.stories.tsx +0 -63
  584. package/src/stories/Profile.stories.tsx +0 -84
  585. package/src/stories/ReadMore.stories.tsx +0 -80
  586. package/src/stories/RichText.stories.tsx +0 -59
  587. package/src/stories/SearchField.stories.tsx +0 -87
  588. package/src/stories/TableOfContents.stories.tsx +0 -50
  589. package/src/stories/Tag.stories.tsx +0 -226
  590. package/src/stories/Tooltip.stories.tsx +0 -92
  591. package/src/stories/Video.stories.tsx +0 -69
  592. package/src/stories/Welcome.stories.mdx +0 -63
  593. package/src/stories/assets/code-brackets.svg +0 -1
  594. package/src/stories/assets/colors.svg +0 -1
  595. package/src/stories/assets/comments.svg +0 -1
  596. package/src/stories/assets/direction.svg +0 -1
  597. package/src/stories/assets/flow.svg +0 -1
  598. package/src/stories/assets/plugin.svg +0 -1
  599. package/src/stories/assets/repo.svg +0 -1
  600. package/src/stories/assets/stackalt.svg +0 -1
  601. package/storybook-static/01daf23af61cc99e9d75.woff2 +0 -0
  602. package/storybook-static/06a2da828c8b6497ba7a.woff +0 -0
  603. package/storybook-static/0fa24adac56865ac7e5f.ttf +0 -0
  604. package/storybook-static/160.a21381a2.iframe.bundle.js +0 -1
  605. package/storybook-static/1dbed2ef5cef8fcb4cbe.ttf +0 -0
  606. package/storybook-static/1fa1c16a4a45d13f0df8.ttf +0 -0
  607. package/storybook-static/212.faba6ad0.iframe.bundle.js +0 -7
  608. package/storybook-static/212.faba6ad0.iframe.bundle.js.LICENSE.txt +0 -108
  609. package/storybook-static/212.faba6ad0.iframe.bundle.js.map +0 -1
  610. package/storybook-static/23cdaa8575b5e003dcde.eot +0 -0
  611. package/storybook-static/247.21581a11a07ce2f03d0c.manager.bundle.js +0 -2
  612. package/storybook-static/247.21581a11a07ce2f03d0c.manager.bundle.js.LICENSE.txt +0 -8
  613. package/storybook-static/247.271b628d.iframe.bundle.js +0 -2
  614. package/storybook-static/247.271b628d.iframe.bundle.js.LICENSE.txt +0 -8
  615. package/storybook-static/259.03b8a6d8.iframe.bundle.js +0 -1
  616. package/storybook-static/27d33755a2b827666dc5.woff +0 -0
  617. package/storybook-static/294.491cce4d5ae7b9c2ffce.manager.bundle.js +0 -1
  618. package/storybook-static/294.549e3f8d.iframe.bundle.js +0 -1
  619. package/storybook-static/409a9c398a28ee4d74ff.eot +0 -0
  620. package/storybook-static/444.6156221a84c3a87f5c02.manager.bundle.js +0 -2
  621. package/storybook-static/444.6156221a84c3a87f5c02.manager.bundle.js.LICENSE.txt +0 -94
  622. package/storybook-static/4bf5fc6f93ba10519c82.eot +0 -0
  623. package/storybook-static/504.f9ef513c.iframe.bundle.js +0 -2
  624. package/storybook-static/504.f9ef513c.iframe.bundle.js.LICENSE.txt +0 -11
  625. package/storybook-static/639.044e85595b528d3f28da.manager.bundle.js +0 -2
  626. package/storybook-static/639.044e85595b528d3f28da.manager.bundle.js.LICENSE.txt +0 -31
  627. package/storybook-static/639.c568c669.iframe.bundle.js +0 -2
  628. package/storybook-static/639.c568c669.iframe.bundle.js.LICENSE.txt +0 -31
  629. package/storybook-static/642.1f308c6d963e823cc20e.manager.bundle.js +0 -2
  630. package/storybook-static/642.1f308c6d963e823cc20e.manager.bundle.js.LICENSE.txt +0 -12
  631. package/storybook-static/642.d92dc22b.iframe.bundle.js +0 -2
  632. package/storybook-static/642.d92dc22b.iframe.bundle.js.LICENSE.txt +0 -12
  633. package/storybook-static/6a159f0a2005668f1f78.woff +0 -0
  634. package/storybook-static/720.f44d4e1f5203b6083ae4.manager.bundle.js +0 -1
  635. package/storybook-static/73ba1c910e0f7bfc6b18.woff2 +0 -0
  636. package/storybook-static/837.1b65801453b1ce7ef7d1.manager.bundle.js +0 -1
  637. package/storybook-static/837.95523cc4.iframe.bundle.js +0 -1
  638. package/storybook-static/8a142c29a318c432117a.woff +0 -0
  639. package/storybook-static/914.d1f142bbe477c1136f06.manager.bundle.js +0 -1
  640. package/storybook-static/914.feb1fea5.iframe.bundle.js +0 -1
  641. package/storybook-static/9db5d05810cb98f2831f.ttf +0 -0
  642. package/storybook-static/9ff97e342523931a4992.eot +0 -0
  643. package/storybook-static/a40d436619020fb67db5.woff +0 -0
  644. package/storybook-static/a46b8d4aa3504103cdde.ttf +0 -0
  645. package/storybook-static/b53d0e74edc5a5fbef0a.ttf +0 -0
  646. package/storybook-static/c12a83f816844ff94375.ttf +0 -0
  647. package/storybook-static/c807e115c00aaffbac11.woff2 +0 -0
  648. package/storybook-static/cadb6b94d6b0ecc3a86a.woff2 +0 -0
  649. package/storybook-static/d0cff1b064bcd84324fe.eot +0 -0
  650. package/storybook-static/d3434771ad7e9030387e.ttf +0 -0
  651. package/storybook-static/d8610c2a4fe5c177f4f6.woff +0 -0
  652. package/storybook-static/d970f426740b938f39e1.woff +0 -0
  653. package/storybook-static/d9c7eba773ff1c8df5bb.eot +0 -0
  654. package/storybook-static/dd4645bdb2f1e1a47ed7.woff2 +0 -0
  655. package/storybook-static/e0a63577ac642885f067.eot +0 -0
  656. package/storybook-static/f632ebfa0d7b7085d542.woff2 +0 -0
  657. package/storybook-static/f93e2252d7112c3bcca5.woff2 +0 -0
  658. package/storybook-static/favicon.ico +0 -0
  659. package/storybook-static/iframe.html +0 -364
  660. package/storybook-static/index.html +0 -59
  661. package/storybook-static/main.28d30a3024752e90423a.manager.bundle.js +0 -1
  662. package/storybook-static/main.3ae24e12.iframe.bundle.js +0 -1
  663. package/storybook-static/project.json +0 -1
  664. package/storybook-static/reactPlayerDailyMotion.469cc00f.iframe.bundle.js +0 -1
  665. package/storybook-static/reactPlayerFacebook.1423bb15.iframe.bundle.js +0 -1
  666. package/storybook-static/reactPlayerFilePlayer.e19e24a0.iframe.bundle.js +0 -1
  667. package/storybook-static/reactPlayerKaltura.d1eb0868.iframe.bundle.js +0 -1
  668. package/storybook-static/reactPlayerMixcloud.9f1b1691.iframe.bundle.js +0 -1
  669. package/storybook-static/reactPlayerPreview.9295696b.iframe.bundle.js +0 -1
  670. package/storybook-static/reactPlayerSoundCloud.d420395c.iframe.bundle.js +0 -1
  671. package/storybook-static/reactPlayerStreamable.9b655bf3.iframe.bundle.js +0 -1
  672. package/storybook-static/reactPlayerTwitch.e90e6dea.iframe.bundle.js +0 -1
  673. package/storybook-static/reactPlayerVidyard.a37ae6b3.iframe.bundle.js +0 -1
  674. package/storybook-static/reactPlayerVimeo.a7f367ee.iframe.bundle.js +0 -1
  675. package/storybook-static/reactPlayerWistia.fb351944.iframe.bundle.js +0 -1
  676. package/storybook-static/reactPlayerYouTube.3514e11a.iframe.bundle.js +0 -1
  677. package/storybook-static/runtime~main.3bae6a4f.iframe.bundle.js +0 -1
  678. package/storybook-static/runtime~main.e45b096081911dbee3c7.manager.bundle.js +0 -1
  679. package/storybook-static/static/css/main.19ed5330.css +0 -3
  680. package/storybook-static/static/css/main.19ed5330.css.map +0 -1
@@ -0,0 +1,12 @@
1
+ export { default as Collapse } from './Collapse.js';
2
+ import 'tslib';
3
+ import 'react/jsx-runtime';
4
+ import 'classnames';
5
+ import 'react';
6
+ import '../../index-8ebb2cc1.js';
7
+ import 'react-dom';
8
+ import '../../utils/createChainedFunction.js';
9
+ import '../../utils/getDefaultDimensionValue.js';
10
+ import '../../css-7414f50b.js';
11
+ import '../../utils/transitionEndListener.js';
12
+ import '../../utils/triggerBrowserReflow.js';
@@ -0,0 +1,18 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import classNames from 'classnames';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import 'tslib';
5
+ import 'react';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const ContextMenu = ({ className, links }) => {
9
+ const { prefix } = useGlobalSettings();
10
+ const baseClass = `${prefix}--context-menu`;
11
+ const contextMenuClasses = classNames(className, {
12
+ [baseClass]: true,
13
+ });
14
+ return (jsx("ul", Object.assign({ className: contextMenuClasses }, { children: links &&
15
+ links.map((link, i) => (jsx("li", Object.assign({ className: `${baseClass}--item ${link.endsection ? "endsection" : ""}` }, { children: jsx("a", Object.assign({ href: link.url, className: `${baseClass}--link` }, { children: jsx("span", Object.assign({ className: `${baseClass}--label` }, { children: link.label })) })) }), `${baseClass}--item-${i}`))) })));
16
+ };
17
+
18
+ export { ContextMenu as default };
@@ -0,0 +1,7 @@
1
+ export { default as ContextMenu } from './ContextMenu.js';
2
+ import 'react/jsx-runtime';
3
+ import 'classnames';
4
+ import '../../hooks/useGlobalSettings.js';
5
+ import 'tslib';
6
+ import 'react';
7
+ import '../../GlobalCtx-7fb23cfa.js';
@@ -0,0 +1,31 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useState } from 'react';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import 'tslib';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const Credit = ({ className, credit }) => {
9
+ const [showcredit, showCredit] = useState(false);
10
+ const { prefix } = useGlobalSettings();
11
+ const baseClass = `${prefix}--credit`;
12
+ const creditClasses = classNames(className, {
13
+ [baseClass]: true,
14
+ ["show"]: showcredit,
15
+ });
16
+ /**
17
+ * Show credit tooltip
18
+ */
19
+ const showCreditTip = () => {
20
+ showCredit(true);
21
+ };
22
+ /**
23
+ * Hide credit tooltip
24
+ */
25
+ const hideCreditTip = () => {
26
+ showCredit(false);
27
+ };
28
+ return (jsx("span", Object.assign({ className: creditClasses, onMouseEnter: showCreditTip, onMouseLeave: hideCreditTip }, { children: jsx("span", Object.assign({ className: `${baseClass}--label` }, { children: credit })) })));
29
+ };
30
+
31
+ export { Credit as default };
@@ -0,0 +1,7 @@
1
+ export { default as Credit } from './Credit.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
@@ -0,0 +1,30 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+ import classNames from 'classnames';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import Fieldset from '../Fieldset/Fieldset.js';
5
+ import FormElement from '../FormElement/FormElement.js';
6
+ import 'tslib';
7
+ import 'react';
8
+ import '../../GlobalCtx-7fb23cfa.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+
12
+ const DatePicker = ({ callback, disabled = false, enddata, error, helper, id, label, name, placeholder, range, required, tooltip, }) => {
13
+ const { prefix } = useGlobalSettings();
14
+ const baseClass = `${prefix}--datepicker`;
15
+ const DatePickerClasses = classNames("", {
16
+ [baseClass]: true,
17
+ [`error`]: error,
18
+ });
19
+ /**
20
+ * On change, if there is a callback, call it
21
+ */
22
+ const handleChange = (e, picker) => {
23
+ if (callback) {
24
+ callback(e, picker);
25
+ }
26
+ };
27
+ return (jsxs(Fragment, { children: [!range && (jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip }, { children: jsx("input", { id: `${id ? id : name}`, name: `${name}`, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: "date", className: `${DatePickerClasses} ${prefix}--input` }) })) })), range && (jsxs("div", Object.assign({ className: `${baseClass}--range` }, { children: [jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip, type: "date" }, { children: jsx("input", { id: `${id ? id : name}`, name: `${name}`, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: "date", className: `${DatePickerClasses} ${prefix}--input` }) })) }), jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: enddata === null || enddata === void 0 ? void 0 : enddata.name, label: enddata === null || enddata === void 0 ? void 0 : enddata.label, helper: enddata === null || enddata === void 0 ? void 0 : enddata.helper, error: enddata === null || enddata === void 0 ? void 0 : enddata.error, required: enddata === null || enddata === void 0 ? void 0 : enddata.required, tooltip: enddata === null || enddata === void 0 ? void 0 : enddata.tooltip, type: "date" }, { children: jsx("input", { id: (enddata === null || enddata === void 0 ? void 0 : enddata.id) ? enddata === null || enddata === void 0 ? void 0 : enddata.id : enddata === null || enddata === void 0 ? void 0 : enddata.name, name: enddata === null || enddata === void 0 ? void 0 : enddata.name, onChange: (e) => handleChange(e, "end"), disabled: enddata === null || enddata === void 0 ? void 0 : enddata.disabled, placeholder: enddata === null || enddata === void 0 ? void 0 : enddata.placeholder, required: enddata === null || enddata === void 0 ? void 0 : enddata.required, type: "date", className: `${DatePickerClasses} ${prefix}--input` }) })) })] })))] }));
28
+ };
29
+
30
+ export { DatePicker as default };
@@ -0,0 +1,11 @@
1
+ export { default as DatePicker } from './DatePicker.js';
2
+ import 'react/jsx-runtime';
3
+ import 'classnames';
4
+ import '../../hooks/useGlobalSettings.js';
5
+ import 'tslib';
6
+ import 'react';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Fieldset/Fieldset.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+ import '../FormElement/FormElement.js';
@@ -0,0 +1,33 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { useState } from 'react';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import Fieldset from '../Fieldset/Fieldset.js';
6
+ import FormElement from '../FormElement/FormElement.js';
7
+ import 'tslib';
8
+ import '../../GlobalCtx-7fb23cfa.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+
12
+ const Dropdown = ({ autocomplete, callback, disabled = false, error, helper, id, label, name, options, required, tooltip, value, }) => {
13
+ const { prefix } = useGlobalSettings();
14
+ const baseClass = `${prefix}--dropdown`;
15
+ const dropdownClasses = classNames("", {
16
+ [baseClass]: true,
17
+ [`error`]: error,
18
+ });
19
+ const [currentvalue, setValue] = useState(value);
20
+ /**
21
+ * On change, if there is a callback, call it
22
+ */
23
+ const handleChange = (e) => {
24
+ setValue(e.target.value);
25
+ if (callback) {
26
+ callback(e);
27
+ }
28
+ };
29
+ return (jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip, type: "dropdown" }, { children: jsx("div", Object.assign({ className: `${baseClass}--wrapper` }, { children: jsx("select", Object.assign({ id: id ? id : name, autoComplete: autocomplete, name: name, required: required, onChange: handleChange, disabled: disabled, className: dropdownClasses, value: currentvalue }, { children: options &&
30
+ options.map((option, i) => (jsx("option", { disabled: option.disabled, label: option.label, value: option.value }, `${baseClass}--option--${i}`))) })) })) })) }));
31
+ };
32
+
33
+ export { Dropdown as default };
@@ -0,0 +1,11 @@
1
+ export { default as Dropdown } from './Dropdown.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Fieldset/Fieldset.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+ import '../FormElement/FormElement.js';
@@ -0,0 +1,17 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import classNames from 'classnames';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import 'tslib';
5
+ import 'react';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const Empty = ({ className, style }) => {
9
+ const { prefix } = useGlobalSettings();
10
+ const baseClass = `${prefix}--empty`;
11
+ const emptyClasses = classNames(className, {
12
+ [baseClass]: true,
13
+ });
14
+ return jsx("div", { style: style, className: emptyClasses });
15
+ };
16
+
17
+ export { Empty as default };
@@ -0,0 +1,7 @@
1
+ export { default as Empty } from './Empty.js';
2
+ import 'react/jsx-runtime';
3
+ import 'classnames';
4
+ import '../../hooks/useGlobalSettings.js';
5
+ import 'tslib';
6
+ import 'react';
7
+ import '../../GlobalCtx-7fb23cfa.js';
@@ -0,0 +1,22 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
+ import { Children } from 'react';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import Tooltip from '../Tooltip/Tooltip.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import 'react-dom';
9
+
10
+ const Fieldset = ({ children, className, fieldsetid, grouperror, grouphelper, grouptooltip, legend, }) => {
11
+ const { prefix } = useGlobalSettings();
12
+ const baseClass = `${prefix}--fieldset`;
13
+ const fieldsetClasses = classNames(className, {
14
+ [baseClass]: true,
15
+ });
16
+ return (jsxs("fieldset", Object.assign({ className: fieldsetClasses, id: fieldsetid ? fieldsetid : undefined }, { children: [legend && (jsxs("legend", Object.assign({ className: `${baseClass}--legend` }, { children: [legend, grouptooltip && (jsx(Tooltip, { className: `${baseClass}--legend--tooltip`, icon: true, label: grouptooltip, theme: "dark" }))] }))), grouphelper && !grouperror && (jsx("span", Object.assign({ className: `${baseClass}--helper` }, { children: grouphelper }))), grouperror && (jsx("span", Object.assign({ className: `${baseClass}--error` }, { children: grouperror }))), Children.map(children, (child, i) => {
17
+ var _a;
18
+ return (jsx(Fragment, { children: child && child.props && (jsxs("div", Object.assign({ className: `${baseClass}--input${((_a = child.props) === null || _a === void 0 ? void 0 : _a.type) ? "--" + child.props.type : ""} ${child.props.error ? "error" : ""}` }, { children: [child.props.label && (jsxs("label", Object.assign({ className: `${baseClass}--label`, htmlFor: child.props.id ? child.props.id : child.props.name }, { children: [child.props.label, child.props.tooltip && (jsx(Tooltip, { className: `${baseClass}--label--tooltip`, icon: true, label: child.props.tooltip, theme: "dark" }))] }))), child, child.props.helper && !child.props.error && (jsx("span", Object.assign({ className: `${baseClass}--helper` }, { children: child.props.helper }))), child.props.error && (jsx("span", Object.assign({ className: `${baseClass}--error` }, { children: child.props.error })))] }), `${baseClass}--input--${i}`)) }));
19
+ })] })));
20
+ };
21
+
22
+ export { Fieldset as default };
@@ -0,0 +1,9 @@
1
+ export { default as Fieldset } from './Fieldset.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Tooltip/Tooltip.js';
9
+ import 'react-dom';
@@ -0,0 +1,33 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { useState } from 'react';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import Fieldset from '../Fieldset/Fieldset.js';
6
+ import FormElement from '../FormElement/FormElement.js';
7
+ import 'tslib';
8
+ import '../../GlobalCtx-7fb23cfa.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+
12
+ const FileUpload = ({ callback, disabled = false, error, helper, id, label, multiple, name, placeholder, required, tooltip, }) => {
13
+ const { prefix } = useGlobalSettings();
14
+ const baseClass = `${prefix}--file-upload`;
15
+ const FileUploadClasses = classNames("", {
16
+ [baseClass]: true,
17
+ [`error`]: error,
18
+ });
19
+ const [uploadfiles, setUploadFiles] = useState([]);
20
+ /**
21
+ * On change, add file to listed files, if there is a callback, call it
22
+ */
23
+ const handleChange = (e) => {
24
+ const files = e.target.files;
25
+ setUploadFiles(files);
26
+ if (callback) {
27
+ callback(e);
28
+ }
29
+ };
30
+ return (jsxs(Fieldset, Object.assign({ className: "file-upload" }, { children: [jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip, type: "file" }, { children: jsx("input", { id: id ? id : name, name: name, onChange: handleChange, disabled: disabled, multiple: multiple, placeholder: placeholder, required: required, type: "file", className: FileUploadClasses, "data-label": placeholder }) })), uploadfiles.length > 0 && (jsx("ul", Object.assign({ className: `${baseClass}--list` }, { children: [...uploadfiles].map((file, i) => (jsx("li", Object.assign({ className: `${baseClass}--list-item` }, { children: file.name }), `${baseClass}--list-item-${i}`))) })))] })));
31
+ };
32
+
33
+ export { FileUpload as default };
@@ -0,0 +1,11 @@
1
+ export { default as FileUpload } from './FileUpload.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Fieldset/Fieldset.js';
9
+ import '../Tooltip/Tooltip.js';
10
+ import 'react-dom';
11
+ import '../FormElement/FormElement.js';
@@ -0,0 +1,64 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { createElement } from 'react';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import Button from '../Button/Button.js';
6
+ import FormGroup from '../FormGroup/FormGroup.js';
7
+ import Checkbox from '../Checkbox/Checkbox.js';
8
+ import ChoiceGroup from '../ChoiceGroup/ChoiceGroup.js';
9
+ import DatePicker from '../DatePicker/DatePicker.js';
10
+ import Dropdown from '../Dropdown/Dropdown.js';
11
+ import FileUpload from '../FileUpload/FileUpload.js';
12
+ import Input from '../Input/Input.js';
13
+ import NumberPicker from '../NumberPicker/NumberPicker.js';
14
+ import Textarea from '../Textarea/Textarea.js';
15
+ import 'tslib';
16
+ import '../../GlobalCtx-7fb23cfa.js';
17
+ import '../Link/Link.js';
18
+ import '../Icon/Icon.js';
19
+ import '@ilo-org/icons-react';
20
+ import '../Fieldset/Fieldset.js';
21
+ import '../Tooltip/Tooltip.js';
22
+ import 'react-dom';
23
+ import '../FormElement/FormElement.js';
24
+ import '../Radio/Radio.js';
25
+
26
+ const Form = ({ action, className, formid, items, submitlabel, }) => {
27
+ const { prefix } = useGlobalSettings();
28
+ const baseClass = `${prefix}--form`;
29
+ const formClasses = classNames(className, {
30
+ [baseClass]: true,
31
+ });
32
+ return (jsxs("form", Object.assign({ className: formClasses, id: formid, action: action }, { children: [items.map((item, i) => {
33
+ if ((item === null || item === void 0 ? void 0 : item.type) === "input") {
34
+ return createElement(Input, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
35
+ }
36
+ if ((item === null || item === void 0 ? void 0 : item.type) === "dropdown") {
37
+ return createElement(Dropdown, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
38
+ }
39
+ if ((item === null || item === void 0 ? void 0 : item.type) === "checkbox" && Array.isArray(item === null || item === void 0 ? void 0 : item.field) === false) {
40
+ return createElement(Checkbox, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
41
+ }
42
+ if (((item === null || item === void 0 ? void 0 : item.type) === "checkbox" || (item === null || item === void 0 ? void 0 : item.type) === "radio") &&
43
+ Array.isArray(item === null || item === void 0 ? void 0 : item.field)) {
44
+ return (jsx(ChoiceGroup, { items: item === null || item === void 0 ? void 0 : item.field, legend: item === null || item === void 0 ? void 0 : item.legend, choicegroupid: item === null || item === void 0 ? void 0 : item.choicegroupid, grouperror: item === null || item === void 0 ? void 0 : item.grouperror, grouphelper: item === null || item === void 0 ? void 0 : item.grouphelper, grouptooltip: item === null || item === void 0 ? void 0 : item.grouptooltip }, i));
45
+ }
46
+ if ((item === null || item === void 0 ? void 0 : item.type) === "file") {
47
+ return createElement(FileUpload, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
48
+ }
49
+ if ((item === null || item === void 0 ? void 0 : item.type) === "date") {
50
+ return createElement(DatePicker, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
51
+ }
52
+ if ((item === null || item === void 0 ? void 0 : item.type) === "number") {
53
+ return createElement(NumberPicker, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
54
+ }
55
+ if ((item === null || item === void 0 ? void 0 : item.type) === "textarea") {
56
+ return createElement(Textarea, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
57
+ }
58
+ if ((item === null || item === void 0 ? void 0 : item.type) === "formgroup") {
59
+ return createElement(FormGroup, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
60
+ }
61
+ }), jsx(Button, { kind: "submit", label: submitlabel, size: "large", type: "primary" })] })));
62
+ };
63
+
64
+ export { Form as default };
@@ -0,0 +1,25 @@
1
+ export { default as Form } from './Form.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Button/Button.js';
9
+ import '../Link/Link.js';
10
+ import '../Icon/Icon.js';
11
+ import '@ilo-org/icons-react';
12
+ import '../FormGroup/FormGroup.js';
13
+ import '../Checkbox/Checkbox.js';
14
+ import '../Fieldset/Fieldset.js';
15
+ import '../Tooltip/Tooltip.js';
16
+ import 'react-dom';
17
+ import '../FormElement/FormElement.js';
18
+ import '../ChoiceGroup/ChoiceGroup.js';
19
+ import '../Radio/Radio.js';
20
+ import '../DatePicker/DatePicker.js';
21
+ import '../Dropdown/Dropdown.js';
22
+ import '../FileUpload/FileUpload.js';
23
+ import '../Input/Input.js';
24
+ import '../NumberPicker/NumberPicker.js';
25
+ import '../Textarea/Textarea.js';
@@ -0,0 +1,17 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+
3
+ // TODO: What is the point of this component?
4
+ const FormElement = ({ children,
5
+ // className,
6
+ // error,
7
+ // elemid,
8
+ // helper,
9
+ // label,
10
+ // required,
11
+ // tooltip,
12
+ // type,
13
+ }) => {
14
+ return jsx(Fragment, { children: children });
15
+ };
16
+
17
+ export { FormElement as default };
@@ -0,0 +1,2 @@
1
+ export { default as FormElement } from './FormElement.js';
2
+ import 'react/jsx-runtime';
@@ -0,0 +1,56 @@
1
+ import { createElement } from 'react';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import Checkbox from '../Checkbox/Checkbox.js';
6
+ import ChoiceGroup from '../ChoiceGroup/ChoiceGroup.js';
7
+ import DatePicker from '../DatePicker/DatePicker.js';
8
+ import Dropdown from '../Dropdown/Dropdown.js';
9
+ import FileUpload from '../FileUpload/FileUpload.js';
10
+ import Input from '../Input/Input.js';
11
+ import NumberPicker from '../NumberPicker/NumberPicker.js';
12
+ import Textarea from '../Textarea/Textarea.js';
13
+ import 'tslib';
14
+ import '../../GlobalCtx-7fb23cfa.js';
15
+ import '../Fieldset/Fieldset.js';
16
+ import '../Tooltip/Tooltip.js';
17
+ import 'react-dom';
18
+ import '../FormElement/FormElement.js';
19
+ import '../Radio/Radio.js';
20
+
21
+ const FormGroup = ({ className, formgroupid, items, legend, type, }) => {
22
+ const { prefix } = useGlobalSettings();
23
+ const baseClass = `${prefix}--formgroup`;
24
+ const formGroupClasses = classNames(className, {
25
+ [baseClass]: true,
26
+ });
27
+ return (jsxs("fieldset", Object.assign({ className: `${formGroupClasses} ${type}`, id: formgroupid ? formgroupid : undefined }, { children: [legend && jsx("legend", Object.assign({ className: `${baseClass}--legend` }, { children: legend })), items.map((item, i) => {
28
+ if ((item === null || item === void 0 ? void 0 : item.type) === "input") {
29
+ return createElement(Input, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
30
+ }
31
+ if ((item === null || item === void 0 ? void 0 : item.type) === "dropdown") {
32
+ return createElement(Dropdown, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
33
+ }
34
+ if ((item === null || item === void 0 ? void 0 : item.type) === "checkbox" && Array.isArray(item === null || item === void 0 ? void 0 : item.field) === false) {
35
+ return createElement(Checkbox, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
36
+ }
37
+ if (((item === null || item === void 0 ? void 0 : item.type) === "checkbox" || (item === null || item === void 0 ? void 0 : item.type) === "radio") &&
38
+ Array.isArray(item === null || item === void 0 ? void 0 : item.field)) {
39
+ return (jsx(ChoiceGroup, { items: item === null || item === void 0 ? void 0 : item.field, legend: item === null || item === void 0 ? void 0 : item.legend, choicegroupid: item === null || item === void 0 ? void 0 : item.choicegroupid }, i));
40
+ }
41
+ if ((item === null || item === void 0 ? void 0 : item.type) === "file") {
42
+ return createElement(FileUpload, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
43
+ }
44
+ if ((item === null || item === void 0 ? void 0 : item.type) === "date") {
45
+ return createElement(DatePicker, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
46
+ }
47
+ if ((item === null || item === void 0 ? void 0 : item.type) === "number") {
48
+ return createElement(NumberPicker, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
49
+ }
50
+ if ((item === null || item === void 0 ? void 0 : item.type) === "textarea") {
51
+ return createElement(Textarea, Object.assign({}, item === null || item === void 0 ? void 0 : item.field, { key: i }));
52
+ }
53
+ })] })));
54
+ };
55
+
56
+ export { FormGroup as default };
@@ -0,0 +1,20 @@
1
+ export { default as FormGroup } from './FormGroup.js';
2
+ import 'react';
3
+ import 'react/jsx-runtime';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import '../../GlobalCtx-7fb23cfa.js';
8
+ import '../Checkbox/Checkbox.js';
9
+ import '../Fieldset/Fieldset.js';
10
+ import '../Tooltip/Tooltip.js';
11
+ import 'react-dom';
12
+ import '../FormElement/FormElement.js';
13
+ import '../ChoiceGroup/ChoiceGroup.js';
14
+ import '../Radio/Radio.js';
15
+ import '../DatePicker/DatePicker.js';
16
+ import '../Dropdown/Dropdown.js';
17
+ import '../FileUpload/FileUpload.js';
18
+ import '../Input/Input.js';
19
+ import '../NumberPicker/NumberPicker.js';
20
+ import '../Textarea/Textarea.js';
@@ -0,0 +1,16 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { G as GlobalProviderContext } from '../../GlobalCtx-7fb23cfa.js';
3
+ import 'react';
4
+
5
+ var themeprefix = {
6
+ value: "ilo",
7
+ comment: "the prefix namespace for the theme"
8
+ };
9
+
10
+ const GlobalProvider = ({ prefix = themeprefix.value, children, }) => {
11
+ return (jsx(GlobalProviderContext.Provider, Object.assign({ value: {
12
+ prefix,
13
+ } }, { children: children })));
14
+ };
15
+
16
+ export { GlobalProvider as default };
@@ -0,0 +1,4 @@
1
+ export { default as GlobalProvider } from './GlobalProvider.js';
2
+ export { G as GlobalProviderContext } from '../../GlobalCtx-7fb23cfa.js';
3
+ import 'react/jsx-runtime';
4
+ import 'react';
@@ -0,0 +1,20 @@
1
+ import { __rest } from 'tslib';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import classNames from 'classnames';
4
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
5
+ import 'react';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const Heading = (_a) => {
9
+ var { level = "h3", children, className, type } = _a, rest = __rest(_a, ["level", "children", "className", "type"]);
10
+ const { prefix } = useGlobalSettings();
11
+ const UseHeading = level;
12
+ const baseClass = `${prefix}--${level}`;
13
+ const headingClasses = classNames(className, {
14
+ [baseClass]: true,
15
+ [`${baseClass}--${type}`]: type,
16
+ });
17
+ return (jsx(UseHeading, Object.assign({ className: headingClasses }, rest, { children: children })));
18
+ };
19
+
20
+ export { Heading as default };
@@ -0,0 +1,7 @@
1
+ export { default as Heading } from './Heading.js';
2
+ import 'tslib';
3
+ import 'react/jsx-runtime';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'react';
7
+ import '../../GlobalCtx-7fb23cfa.js';
@@ -0,0 +1,23 @@
1
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
+ import classNames from 'classnames';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import HeroCard from './HeroCard.js';
5
+ import Image from '../Image/Image.js';
6
+ import 'tslib';
7
+ import 'react';
8
+ import '../../GlobalCtx-7fb23cfa.js';
9
+ import '../Credit/Credit.js';
10
+
11
+ const Hero = ({ className, image, heroCard, theme = "light", types, }) => {
12
+ const { prefix } = useGlobalSettings();
13
+ const baseClass = `${prefix}--hero`;
14
+ const heroClasses = classNames(className, {
15
+ [baseClass]: true,
16
+ [`${baseClass}--${theme}`]: theme,
17
+ [`${baseClass}--${types}`]: types,
18
+ [`${baseClass}--image`]: image,
19
+ });
20
+ return (jsx(Fragment, { children: jsxs("div", Object.assign({ className: heroClasses }, { children: [image && jsx(Image, Object.assign({}, image)), jsx(HeroCard, Object.assign({}, heroCard))] })) }));
21
+ };
22
+
23
+ export { Hero as default };
@@ -0,0 +1,23 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import classNames from 'classnames';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import 'tslib';
5
+ import 'react';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const HeroCard = ({ className, alignment, datecopy, eyebrow, intro, socials, title, theme = "light", types = "article", }) => {
9
+ const { prefix } = useGlobalSettings();
10
+ const baseClass = `${prefix}--hero-card`;
11
+ const heroCardClasses = classNames(className, {
12
+ [baseClass]: true,
13
+ [`${baseClass}--${alignment}`]: alignment,
14
+ [`${baseClass}--${theme}`]: theme,
15
+ [`${baseClass}--${types}`]: types,
16
+ });
17
+ return (jsxs("div", Object.assign({ className: heroCardClasses }, { children: [eyebrow && jsx("p", Object.assign({ className: `${baseClass}--eyebrow` }, { children: eyebrow })), title && jsx("h2", Object.assign({ className: `${baseClass}--title` }, { children: title })), datecopy && jsx("p", Object.assign({ className: `${baseClass}--datecopy` }, { children: datecopy })), intro && jsx("p", Object.assign({ className: `${baseClass}--intro` }, { children: intro })), jsx("ul", Object.assign({ className: `${baseClass}--list` }, { children: socials &&
18
+ socials.map((item, index) => {
19
+ return (jsx("li", Object.assign({ className: `${baseClass}--list--item` }, { children: jsx("a", Object.assign({ className: `${baseClass}--link icon icon--${item.icon}`, href: item.url, title: item.label }, { children: item.label })) }), index));
20
+ }) }))] })));
21
+ };
22
+
23
+ export { HeroCard as default };
@@ -0,0 +1,10 @@
1
+ export { default as Hero } from './Hero.js';
2
+ export { default as HeroCard } from './HeroCard.js';
3
+ import 'react/jsx-runtime';
4
+ import 'classnames';
5
+ import '../../hooks/useGlobalSettings.js';
6
+ import 'tslib';
7
+ import 'react';
8
+ import '../../GlobalCtx-7fb23cfa.js';
9
+ import '../Image/Image.js';
10
+ import '../Credit/Credit.js';
@@ -0,0 +1,22 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { createElement } from 'react';
3
+ import useGlobalSettings from '../../hooks/useGlobalSettings.js';
4
+ import * as icons from '@ilo-org/icons-react';
5
+ import 'tslib';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+
8
+ const Icon = ({ hidden, name, size }) => {
9
+ const { prefix } = useGlobalSettings();
10
+ const baseClass = `${prefix}--icon`;
11
+ const ariaHidden = hidden ? "hidden" : "";
12
+ const iconsize = size || 24;
13
+ const icon = name
14
+ ? createElement(icons[`${name.charAt(0).toUpperCase() + name.slice(1)}${iconsize}`], {
15
+ "aria-hidden": ariaHidden,
16
+ className: baseClass,
17
+ })
18
+ : false;
19
+ return jsx(Fragment, { children: icon });
20
+ };
21
+
22
+ export { Icon as default };
@@ -0,0 +1,7 @@
1
+ export { default as Icon } from './Icon.js';
2
+ import 'react/jsx-runtime';
3
+ import 'react';
4
+ import '../../hooks/useGlobalSettings.js';
5
+ import 'tslib';
6
+ import '../../GlobalCtx-7fb23cfa.js';
7
+ import '@ilo-org/icons-react';