@4alldigital/foundation-ui--gamma 1.41.2 → 1.43.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 (264) hide show
  1. package/dist/foundation-ui.css +1 -1
  2. package/dist/index.esm.js +1 -1994
  3. package/dist/index.js +1 -2056
  4. package/dist/types/{fui → lib}/components/Card/constants/index.d.ts +1 -1
  5. package/dist/types/lib/components/Form/Form.types.d.ts +21 -0
  6. package/dist/types/{fui → lib}/components/FormSelect/FormSelect.types.d.ts +0 -14
  7. package/dist/types/{fui → lib}/components/Icon/Icon.d.ts +0 -4
  8. package/dist/types/{fui → lib}/components/Image/Image.d.ts +0 -1
  9. package/dist/types/{fui → lib}/components/Image/Image.types.d.ts +0 -4
  10. package/dist/types/{fui → lib}/components/TextInput/TextInput.types.d.ts +0 -8
  11. package/dist/types/{fui/context/AppContext.d.ts → lib/context/App/index.d.ts} +1 -1
  12. package/dist/types/lib/context/index.d.ts +4 -0
  13. package/dist/types/lib/features/Search/view-helpers/getUrlSanitizer.d.ts +1 -0
  14. package/dist/types/{fui → lib}/index.d.ts +1 -2
  15. package/dist/types/lib/translations/index.d.ts +1 -0
  16. package/dist/types/packages/default/theme/styles/settings/settings.themes.d.ts +5 -5
  17. package/dist/types/packages/gamma/src/index.d.ts +2 -1
  18. package/dist/types/packages/gamma/theme/index.d.ts +57 -5
  19. package/dist/types/packages/gamma/theme/styles/settings/settings.themes.d.ts +5 -5
  20. package/package.json +4 -4
  21. package/dist/types/fui/components/Form/Form.types.d.ts +0 -36
  22. package/dist/types/fui/components/ListItem/ListItem.d.ts +0 -7
  23. package/dist/types/fui/components/ListItem/index.d.ts +0 -1
  24. package/dist/types/fui/features/Search/view-helpers/getUrlSanitizer.d.ts +0 -6
  25. package/dist/types/fui/features/Search/views/Sidebar/Sidebar.d.ts +0 -8
  26. package/dist/types/fui/features/Search/views/Sidebar/Sidebar.types.d.ts +0 -3
  27. package/dist/types/fui/features/Search/views/Sidebar/index.d.ts +0 -1
  28. package/dist/types/fui/hooks/useTheme.d.ts +0 -1
  29. package/dist/types/fui/setupTests.d.ts +0 -1
  30. package/dist/types/fui/stories/Page.d.ts +0 -6
  31. package/dist/types/fui/translations/index.d.ts +0 -2
  32. package/dist/types/fui/utils/parseDuration/index.d.ts +0 -19
  33. package/dist/types/packages/alpha/src/index.d.ts +0 -3
  34. package/dist/types/packages/alpha/theme/index.d.ts +0 -64
  35. package/dist/types/packages/alpha/theme/styles/buttons/buttons.themes.d.ts +0 -4
  36. package/dist/types/packages/alpha/theme/styles/colors/colors.themes.d.ts +0 -2
  37. package/dist/types/packages/alpha/theme/styles/fonts/fonts.themes.d.ts +0 -9
  38. package/dist/types/packages/alpha/theme/styles/settings/settings.themes.d.ts +0 -245
  39. package/dist/types/packages/beta/src/index.d.ts +0 -3
  40. package/dist/types/packages/beta/theme/index.d.ts +0 -64
  41. package/dist/types/packages/beta/theme/styles/buttons/buttons.themes.d.ts +0 -4
  42. package/dist/types/packages/beta/theme/styles/colors/colors.themes.d.ts +0 -2
  43. package/dist/types/packages/beta/theme/styles/fonts/fonts.themes.d.ts +0 -9
  44. package/dist/types/packages/beta/theme/styles/settings/settings.themes.d.ts +0 -246
  45. package/dist/types/packages/default/src/index.d.ts +0 -3
  46. package/dist/types/packages/default/theme/index.d.ts +0 -64
  47. package/dist/types/packages/default/theme/styles/cards/cards.themes.d.ts +0 -7
  48. /package/dist/types/{fui → lib}/components/AnimationCounter/AnimationCounter.d.ts +0 -0
  49. /package/dist/types/{fui → lib}/components/AnimationCounter/AnimationCounter.types.d.ts +0 -0
  50. /package/dist/types/{fui → lib}/components/AnimationCounter/index.d.ts +0 -0
  51. /package/dist/types/{fui → lib}/components/AnimationSet1/AnimationSet1.d.ts +0 -0
  52. /package/dist/types/{fui → lib}/components/AnimationSet1/AnimationSet1.types.d.ts +0 -0
  53. /package/dist/types/{fui → lib}/components/AnimationSet1/index.d.ts +0 -0
  54. /package/dist/types/{fui → lib}/components/Authenticator/Authenticator.d.ts +0 -0
  55. /package/dist/types/{fui → lib}/components/Authenticator/Authenticator.types.d.ts +0 -0
  56. /package/dist/types/{fui → lib}/components/Authenticator/index.d.ts +0 -0
  57. /package/dist/types/{fui → lib}/components/Avatar/Avatar.d.ts +0 -0
  58. /package/dist/types/{fui → lib}/components/Avatar/Avatar.types.d.ts +0 -0
  59. /package/dist/types/{fui → lib}/components/Avatar/index.d.ts +0 -0
  60. /package/dist/types/{fui → lib}/components/Blockquote/Blockquote.d.ts +0 -0
  61. /package/dist/types/{fui → lib}/components/Blockquote/Blockquote.types.d.ts +0 -0
  62. /package/dist/types/{fui → lib}/components/Blockquote/index.d.ts +0 -0
  63. /package/dist/types/{fui → lib}/components/Button/Button.d.ts +0 -0
  64. /package/dist/types/{fui → lib}/components/Button/Button.types.d.ts +0 -0
  65. /package/dist/types/{fui → lib}/components/Button/index.d.ts +0 -0
  66. /package/dist/types/{fui → lib}/components/ButtonGroup/ButtonGroup.d.ts +0 -0
  67. /package/dist/types/{fui → lib}/components/ButtonGroup/ButtonGroup.types.d.ts +0 -0
  68. /package/dist/types/{fui → lib}/components/ButtonGroup/index.d.ts +0 -0
  69. /package/dist/types/{fui → lib}/components/Card/Card.d.ts +0 -0
  70. /package/dist/types/{fui → lib}/components/Card/Card.types.d.ts +0 -0
  71. /package/dist/types/{fui → lib}/components/Card/index.d.ts +0 -0
  72. /package/dist/types/{fui → lib}/components/Card/types/CardBasic/CardBasic.d.ts +0 -0
  73. /package/dist/types/{fui → lib}/components/Card/types/CardBasic/CardBasic.types.d.ts +0 -0
  74. /package/dist/types/{fui → lib}/components/Card/types/CardBasic/index.d.ts +0 -0
  75. /package/dist/types/{fui → lib}/components/Card/types/CardData/CardData.d.ts +0 -0
  76. /package/dist/types/{fui → lib}/components/Card/types/CardData/CardData.types.d.ts +0 -0
  77. /package/dist/types/{fui → lib}/components/Card/types/CardData/index.d.ts +0 -0
  78. /package/dist/types/{fui → lib}/components/Card/types/CardHorz/CardHorz.d.ts +0 -0
  79. /package/dist/types/{fui → lib}/components/Card/types/CardHorz/CardHorz.types.d.ts +0 -0
  80. /package/dist/types/{fui → lib}/components/Card/types/CardHorz/index.d.ts +0 -0
  81. /package/dist/types/{fui → lib}/components/Card/types/CardIcon/CardIcon.d.ts +0 -0
  82. /package/dist/types/{fui → lib}/components/Card/types/CardIcon/CardIcon.types.d.ts +0 -0
  83. /package/dist/types/{fui → lib}/components/Card/types/CardIcon/index.d.ts +0 -0
  84. /package/dist/types/{fui → lib}/components/Card/types/CardMedia/CardMedia.d.ts +0 -0
  85. /package/dist/types/{fui → lib}/components/Card/types/CardMedia/CardMedia.types.d.ts +0 -0
  86. /package/dist/types/{fui → lib}/components/Card/types/CardMedia/index.d.ts +0 -0
  87. /package/dist/types/{fui → lib}/components/Card/types/CardVideo/CardVideo.d.ts +0 -0
  88. /package/dist/types/{fui → lib}/components/Card/types/CardVideo/CardVideo.types.d.ts +0 -0
  89. /package/dist/types/{fui → lib}/components/Card/types/CardVideo/index.d.ts +0 -0
  90. /package/dist/types/{fui → lib}/components/Checkbox/Checkbox.d.ts +0 -0
  91. /package/dist/types/{fui → lib}/components/Checkbox/Checkbox.types.d.ts +0 -0
  92. /package/dist/types/{fui → lib}/components/Checkbox/index.d.ts +0 -0
  93. /package/dist/types/{fui → lib}/components/Chip/Chip.d.ts +0 -0
  94. /package/dist/types/{fui → lib}/components/Chip/Chip.types.d.ts +0 -0
  95. /package/dist/types/{fui → lib}/components/Chip/index.d.ts +0 -0
  96. /package/dist/types/{fui → lib}/components/Container/Container.d.ts +0 -0
  97. /package/dist/types/{fui → lib}/components/Container/Container.types.d.ts +0 -0
  98. /package/dist/types/{fui → lib}/components/Container/index.d.ts +0 -0
  99. /package/dist/types/{fui → lib}/components/ContentPageLayout/ContentPageLayout.d.ts +0 -0
  100. /package/dist/types/{fui → lib}/components/ContentPageLayout/ContentPageLayout.types.d.ts +0 -0
  101. /package/dist/types/{fui → lib}/components/ContentPageLayout/index.d.ts +0 -0
  102. /package/dist/types/{fui → lib}/components/ContentRowsLayout/ContentRowsLayout.d.ts +0 -0
  103. /package/dist/types/{fui → lib}/components/ContentRowsLayout/ContentRowsLayout.types.d.ts +0 -0
  104. /package/dist/types/{fui → lib}/components/ContentRowsLayout/index.d.ts +0 -0
  105. /package/dist/types/{fui → lib}/components/Copy/Copy.d.ts +0 -0
  106. /package/dist/types/{fui → lib}/components/Copy/Copy.types.d.ts +0 -0
  107. /package/dist/types/{fui → lib}/components/Copy/index.d.ts +0 -0
  108. /package/dist/types/{fui → lib}/components/DisplayHeading/DisplayHeading.d.ts +0 -0
  109. /package/dist/types/{fui → lib}/components/DisplayHeading/DisplayHeading.types.d.ts +0 -0
  110. /package/dist/types/{fui → lib}/components/DisplayHeading/index.d.ts +0 -0
  111. /package/dist/types/{fui → lib}/components/FileUpload/FileUpload.d.ts +0 -0
  112. /package/dist/types/{fui → lib}/components/FileUpload/FileUpload.types.d.ts +0 -0
  113. /package/dist/types/{fui → lib}/components/FileUpload/index.d.ts +0 -0
  114. /package/dist/types/{fui → lib}/components/Footer/Footer.d.ts +0 -0
  115. /package/dist/types/{fui → lib}/components/Footer/Footer.types.d.ts +0 -0
  116. /package/dist/types/{fui → lib}/components/Footer/index.d.ts +0 -0
  117. /package/dist/types/{fui → lib}/components/Form/Form.d.ts +0 -0
  118. /package/dist/types/{fui → lib}/components/Form/index.d.ts +0 -0
  119. /package/dist/types/{fui → lib}/components/FormField/FormField.d.ts +0 -0
  120. /package/dist/types/{fui → lib}/components/FormField/FormField.types.d.ts +0 -0
  121. /package/dist/types/{fui → lib}/components/FormField/index.d.ts +0 -0
  122. /package/dist/types/{fui → lib}/components/FormSelect/FormSelect.d.ts +0 -0
  123. /package/dist/types/{fui → lib}/components/FormSelect/index.d.ts +0 -0
  124. /package/dist/types/{fui → lib}/components/Header/Header.d.ts +0 -0
  125. /package/dist/types/{fui → lib}/components/Header/Header.types.d.ts +0 -0
  126. /package/dist/types/{fui → lib}/components/Header/index.d.ts +0 -0
  127. /package/dist/types/{fui → lib}/components/Heading/Heading.d.ts +0 -0
  128. /package/dist/types/{fui → lib}/components/Heading/Heading.types.d.ts +0 -0
  129. /package/dist/types/{fui → lib}/components/Heading/index.d.ts +0 -0
  130. /package/dist/types/{fui → lib}/components/Hero/Hero.d.ts +0 -0
  131. /package/dist/types/{fui → lib}/components/Hero/Hero.types.d.ts +0 -0
  132. /package/dist/types/{fui → lib}/components/Hero/index.d.ts +0 -0
  133. /package/dist/types/{fui → lib}/components/Hr/Hr.d.ts +0 -0
  134. /package/dist/types/{fui → lib}/components/Hr/Hr.types.d.ts +0 -0
  135. /package/dist/types/{fui → lib}/components/Hr/index.d.ts +0 -0
  136. /package/dist/types/{fui → lib}/components/HtmlContent/HtmlContent.d.ts +0 -0
  137. /package/dist/types/{fui → lib}/components/HtmlContent/HtmlContent.types.d.ts +0 -0
  138. /package/dist/types/{fui → lib}/components/HtmlContent/index.d.ts +0 -0
  139. /package/dist/types/{fui → lib}/components/Icon/Icon.types.d.ts +0 -0
  140. /package/dist/types/{fui → lib}/components/Icon/index.d.ts +0 -0
  141. /package/dist/types/{fui → lib}/components/Image/index.d.ts +0 -0
  142. /package/dist/types/{fui → lib}/components/Label/Label.d.ts +0 -0
  143. /package/dist/types/{fui → lib}/components/Label/Label.types.d.ts +0 -0
  144. /package/dist/types/{fui → lib}/components/Label/index.d.ts +0 -0
  145. /package/dist/types/{fui → lib}/components/Link/Link.d.ts +0 -0
  146. /package/dist/types/{fui → lib}/components/Link/Link.types.d.ts +0 -0
  147. /package/dist/types/{fui → lib}/components/Link/index.d.ts +0 -0
  148. /package/dist/types/{fui → lib}/components/List/List.d.ts +0 -0
  149. /package/dist/types/{fui → lib}/components/List/List.types.d.ts +0 -0
  150. /package/dist/types/{fui → lib}/components/List/index.d.ts +0 -0
  151. /package/dist/types/{fui → lib}/components/ListItem/ListItem.types.d.ts +0 -0
  152. /package/dist/types/{fui → lib}/components/Loader/Loader.d.ts +0 -0
  153. /package/dist/types/{fui → lib}/components/Loader/Loader.types.d.ts +0 -0
  154. /package/dist/types/{fui → lib}/components/Loader/index.d.ts +0 -0
  155. /package/dist/types/{fui → lib}/components/Logo/Logo.d.ts +0 -0
  156. /package/dist/types/{fui → lib}/components/Logo/Logo.types.d.ts +0 -0
  157. /package/dist/types/{fui → lib}/components/Logo/index.d.ts +0 -0
  158. /package/dist/types/{fui → lib}/components/Menu/Menu.d.ts +0 -0
  159. /package/dist/types/{fui → lib}/components/Menu/Menu.types.d.ts +0 -0
  160. /package/dist/types/{fui → lib}/components/Menu/index.d.ts +0 -0
  161. /package/dist/types/{fui → lib}/components/Notice/Notice.d.ts +0 -0
  162. /package/dist/types/{fui → lib}/components/Notice/Notice.types.d.ts +0 -0
  163. /package/dist/types/{fui → lib}/components/Notice/index.d.ts +0 -0
  164. /package/dist/types/{fui → lib}/components/OTPInput/OTPInput.d.ts +0 -0
  165. /package/dist/types/{fui → lib}/components/OTPInput/OTPInput.types.d.ts +0 -0
  166. /package/dist/types/{fui → lib}/components/OTPInput/index.d.ts +0 -0
  167. /package/dist/types/{fui → lib}/components/PanelCards/PanelCards.d.ts +0 -0
  168. /package/dist/types/{fui → lib}/components/PanelCards/PanelCards.types.d.ts +0 -0
  169. /package/dist/types/{fui → lib}/components/PanelCards/index.d.ts +0 -0
  170. /package/dist/types/{fui → lib}/components/PanelFeature/PanelFeature.d.ts +0 -0
  171. /package/dist/types/{fui → lib}/components/PanelFeature/PanelFeature.types.d.ts +0 -0
  172. /package/dist/types/{fui → lib}/components/PanelFeature/index.d.ts +0 -0
  173. /package/dist/types/{fui → lib}/components/PanelHero/PanelHero.d.ts +0 -0
  174. /package/dist/types/{fui → lib}/components/PanelHero/PanelHero.types.d.ts +0 -0
  175. /package/dist/types/{fui → lib}/components/PanelHero/index.d.ts +0 -0
  176. /package/dist/types/{fui → lib}/components/PanelProduct/PanelProduct.d.ts +0 -0
  177. /package/dist/types/{fui → lib}/components/PanelProduct/PanelProduct.types.d.ts +0 -0
  178. /package/dist/types/{fui → lib}/components/PanelProduct/index.d.ts +0 -0
  179. /package/dist/types/{fui → lib}/components/PanelVideo/PanelVideo.d.ts +0 -0
  180. /package/dist/types/{fui → lib}/components/PanelVideo/PanelVideo.types.d.ts +0 -0
  181. /package/dist/types/{fui → lib}/components/PanelVideo/index.d.ts +0 -0
  182. /package/dist/types/{fui → lib}/components/Radio/Radio.d.ts +0 -0
  183. /package/dist/types/{fui → lib}/components/Radio/Radio.types.d.ts +0 -0
  184. /package/dist/types/{fui → lib}/components/Radio/index.d.ts +0 -0
  185. /package/dist/types/{fui → lib}/components/Share/Share.d.ts +0 -0
  186. /package/dist/types/{fui → lib}/components/Share/Share.types.d.ts +0 -0
  187. /package/dist/types/{fui → lib}/components/Share/index.d.ts +0 -0
  188. /package/dist/types/{fui → lib}/components/Switch/Switch.d.ts +0 -0
  189. /package/dist/types/{fui → lib}/components/Switch/Switch.types.d.ts +0 -0
  190. /package/dist/types/{fui → lib}/components/Switch/index.d.ts +0 -0
  191. /package/dist/types/{fui → lib}/components/Tabs/Tabs.d.ts +0 -0
  192. /package/dist/types/{fui → lib}/components/Tabs/Tabs.types.d.ts +0 -0
  193. /package/dist/types/{fui → lib}/components/Tabs/index.d.ts +0 -0
  194. /package/dist/types/{fui → lib}/components/TextInput/TextInput.d.ts +0 -0
  195. /package/dist/types/{fui → lib}/components/TextInput/index.d.ts +0 -0
  196. /package/dist/types/{fui → lib}/components/Video/Video.d.ts +0 -0
  197. /package/dist/types/{fui → lib}/components/Video/Video.types.d.ts +0 -0
  198. /package/dist/types/{fui → lib}/components/Video/index.d.ts +0 -0
  199. /package/dist/types/{fui → lib}/components/VisitUs/VisitUs.d.ts +0 -0
  200. /package/dist/types/{fui → lib}/components/VisitUs/VisitUs.types.d.ts +0 -0
  201. /package/dist/types/{fui → lib}/components/VisitUs/index.d.ts +0 -0
  202. /package/dist/types/{fui → lib}/components/index.d.ts +0 -0
  203. /package/dist/types/{fui/context/ThemeContext.d.ts → lib/context/Theme/index.d.ts} +0 -0
  204. /package/dist/types/{fui → lib}/features/Search/Search.d.ts +0 -0
  205. /package/dist/types/{fui → lib}/features/Search/Search.types.d.ts +0 -0
  206. /package/dist/types/{fui → lib}/features/Search/index.d.ts +0 -0
  207. /package/dist/types/{fui → lib}/features/Search/view-helpers/appendClassName.d.ts +0 -0
  208. /package/dist/types/{fui → lib}/features/Search/view-helpers/formatResult.d.ts +0 -0
  209. /package/dist/types/{fui → lib}/features/Search/view-helpers/getFilterValueDisplay.d.ts +0 -0
  210. /package/dist/types/{fui → lib}/features/Search/view-helpers/index.d.ts +0 -0
  211. /package/dist/types/{fui → lib}/features/Search/views/Layout/Layout.d.ts +0 -0
  212. /package/dist/types/{fui → lib}/features/Search/views/Layout/Layout.types.d.ts +0 -0
  213. /package/dist/types/{fui → lib}/features/Search/views/Layout/index.d.ts +0 -0
  214. /package/dist/types/{fui → lib}/features/Search/views/MultiCheckboxFacet/MultiCheckboxFacet.d.ts +0 -0
  215. /package/dist/types/{fui → lib}/features/Search/views/MultiCheckboxFacet/MultiCheckboxFacet.types.d.ts +0 -0
  216. /package/dist/types/{fui → lib}/features/Search/views/MultiCheckboxFacet/index.d.ts +0 -0
  217. /package/dist/types/{fui → lib}/features/Search/views/Paging/Paging.d.ts +0 -0
  218. /package/dist/types/{fui → lib}/features/Search/views/Paging/Paging.types.d.ts +0 -0
  219. /package/dist/types/{fui → lib}/features/Search/views/Paging/index.d.ts +0 -0
  220. /package/dist/types/{fui → lib}/features/Search/views/PagingInfo/PagingInfo.d.ts +0 -0
  221. /package/dist/types/{fui → lib}/features/Search/views/PagingInfo/PagingInfo.types.d.ts +0 -0
  222. /package/dist/types/{fui → lib}/features/Search/views/PagingInfo/index.d.ts +0 -0
  223. /package/dist/types/{fui → lib}/features/Search/views/Result/Result.d.ts +0 -0
  224. /package/dist/types/{fui → lib}/features/Search/views/Result/Result.types.d.ts +0 -0
  225. /package/dist/types/{fui → lib}/features/Search/views/Result/index.d.ts +0 -0
  226. /package/dist/types/{fui → lib}/features/Search/views/Results/Results.d.ts +0 -0
  227. /package/dist/types/{fui → lib}/features/Search/views/Results/Results.types.d.ts +0 -0
  228. /package/dist/types/{fui → lib}/features/Search/views/Results/index.d.ts +0 -0
  229. /package/dist/types/{fui → lib}/features/Search/views/ResultsPerPage/ResultsPerPage.d.ts +0 -0
  230. /package/dist/types/{fui → lib}/features/Search/views/ResultsPerPage/ResultsPerPage.types.d.ts +0 -0
  231. /package/dist/types/{fui → lib}/features/Search/views/ResultsPerPage/index.d.ts +0 -0
  232. /package/dist/types/{fui → lib}/features/Search/views/SearchBox/SearchBox.d.ts +0 -0
  233. /package/dist/types/{fui → lib}/features/Search/views/SearchBox/SearchBox.types.d.ts +0 -0
  234. /package/dist/types/{fui → lib}/features/Search/views/SearchBox/index.d.ts +0 -0
  235. /package/dist/types/{fui → lib}/features/Search/views/SingleLinksFacet/SingleLinksFacet.d.ts +0 -0
  236. /package/dist/types/{fui → lib}/features/Search/views/SingleLinksFacet/SingleLinksFacet.types.d.ts +0 -0
  237. /package/dist/types/{fui → lib}/features/Search/views/SingleLinksFacet/index.d.ts +0 -0
  238. /package/dist/types/{fui → lib}/features/Search/views/SingleSelectFacet/SingleSelectFacet.d.ts +0 -0
  239. /package/dist/types/{fui → lib}/features/Search/views/SingleSelectFacet/SingleSelectFacet.types.d.ts +0 -0
  240. /package/dist/types/{fui → lib}/features/Search/views/SingleSelectFacet/index.d.ts +0 -0
  241. /package/dist/types/{fui → lib}/features/Search/views/Sorting/Sorting.d.ts +0 -0
  242. /package/dist/types/{fui → lib}/features/Search/views/Sorting/Sorting.types.d.ts +0 -0
  243. /package/dist/types/{fui → lib}/features/Search/views/Sorting/index.d.ts +0 -0
  244. /package/dist/types/{fui → lib}/features/index.d.ts +0 -0
  245. /package/dist/types/{fui → lib}/forms/ForgotPasswordForm/ForgotPasswordForm.d.ts +0 -0
  246. /package/dist/types/{fui → lib}/forms/ForgotPasswordForm/ForgotPasswordForm.types.d.ts +0 -0
  247. /package/dist/types/{fui → lib}/forms/ForgotPasswordForm/index.d.ts +0 -0
  248. /package/dist/types/{fui → lib}/forms/LoginForm/LoginForm.d.ts +0 -0
  249. /package/dist/types/{fui → lib}/forms/LoginForm/LoginForm.types.d.ts +0 -0
  250. /package/dist/types/{fui → lib}/forms/LoginForm/index.d.ts +0 -0
  251. /package/dist/types/{fui → lib}/forms/ProfileForm/ProfileForm.d.ts +0 -0
  252. /package/dist/types/{fui → lib}/forms/ProfileForm/ProfileForm.types.d.ts +0 -0
  253. /package/dist/types/{fui → lib}/forms/ProfileForm/index.d.ts +0 -0
  254. /package/dist/types/{fui → lib}/forms/RegisterForm/RegisterForm.d.ts +0 -0
  255. /package/dist/types/{fui → lib}/forms/RegisterForm/RegisterForm.types.d.ts +0 -0
  256. /package/dist/types/{fui → lib}/forms/RegisterForm/index.d.ts +0 -0
  257. /package/dist/types/{fui → lib}/forms/ResetPasswordForm/ResetPasswordForm.d.ts +0 -0
  258. /package/dist/types/{fui → lib}/forms/ResetPasswordForm/ResetPasswordForm.types.d.ts +0 -0
  259. /package/dist/types/{fui → lib}/forms/ResetPasswordForm/index.d.ts +0 -0
  260. /package/dist/types/{fui → lib}/forms/constants/index.d.ts +0 -0
  261. /package/dist/types/{fui → lib}/forms/index.d.ts +0 -0
  262. /package/dist/types/{fui → lib}/forms/validations/index.d.ts +0 -0
  263. /package/dist/types/{fui → lib}/translations/en.d.ts +0 -0
  264. /package/dist/types/{fui → lib}/utils/htmlParser/index.d.ts +0 -0
@@ -1 +1 @@
1
- export declare const cardWrapperClasses = "relative rounded-lg overflow-hidden transition duration-300 ease-in-out cursor-pointer hover:scale-105 shadow hover:shadow-lg bg-white text-black hover:bg-primary hover:text-body-text-inverted";
1
+ export declare const cardWrapperClasses = "relative rounded-lg overflow-hidden transition duration-300 ease-in-out cursor-pointer hover:scale-105 shadow hover:shadow-lg bg-white text-black hover:bg-primary hover:text-bodyText-inverted";
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { BTN_TYPES, BTN_VARIANTS } from '../Button/Button.types';
3
+ export interface Props {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ noValidate?: boolean;
7
+ onSubmit?: (values: any, event?: any) => void;
8
+ onChange?: (values: any, event?: any) => void;
9
+ submit?: string;
10
+ hideSubmit?: boolean;
11
+ ariaSubmitLabel?: string;
12
+ submitID?: string;
13
+ initialValues?: {
14
+ [k: string]: any;
15
+ };
16
+ submitVariant?: BTN_VARIANTS;
17
+ isBoxed?: boolean;
18
+ submitType?: BTN_TYPES.SUBMIT | BTN_TYPES.BUTTON;
19
+ disabledSubmitWithReturn?: boolean;
20
+ isDisabled?: boolean;
21
+ }
@@ -3,36 +3,22 @@ import { FilterValue } from '@elastic/search-ui';
3
3
  export type OptionsType = {
4
4
  value: string | FilterValue;
5
5
  label: string;
6
- /** The selected option's value. */
7
6
  defaultValue?: string;
8
7
  disabled?: boolean;
9
8
  };
10
9
  export interface Props {
11
- /** The selected option's value. */
12
10
  options?: Array<OptionsType>;
13
- /** Unique id for the field, required for a11y. */
14
11
  id: string;
15
- /** The select visible default label value. */
16
12
  label?: string | React.ReactNode[];
17
- /** Is field required. */
18
13
  required?: boolean;
19
- /** Additional classes. */
20
14
  className?: string;
21
- /** Dropdown icon color. */
22
15
  iconColor?: string;
23
- /** Dropdown icon color. */
24
16
  itemIcon?: string;
25
- /** Additional wrapper CSS classes. */
26
17
  wrapperStyles?: string;
27
- /** Select Up Icon. */
28
18
  selectIconUp?: string;
29
- /** Select Down Icon. */
30
19
  selectIconDown?: string;
31
- /** Select Form Item Name. */
32
20
  name?: string;
33
- /** Is field disabled. */
34
21
  disabled?: boolean;
35
- /** The selected option's value. */
36
22
  onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
37
23
  }
38
24
  export interface ItemProps {
@@ -1,8 +1,4 @@
1
1
  import { Props } from './Icon.types';
2
- /**
3
- * Icon component
4
- * List of supported icons can be found at https://icon-sets.iconify.design.
5
- */
6
2
  declare const Icon: {
7
3
  ({ name, size, color, id, className, testID }: Props): React.ReactElement;
8
4
  displayName: string;
@@ -1,5 +1,4 @@
1
1
  import { Props } from './Image.types';
2
- import React from 'react';
3
2
  declare const Image: {
4
3
  ({ src, alt, title, caption, figure, onLoad, id, className, sizes, testID, ...rest }: Props): React.ReactElement;
5
4
  displayName: string;
@@ -4,13 +4,9 @@ export interface Props extends ImageProps {
4
4
  alt: string;
5
5
  title?: string;
6
6
  onLoad?: () => void;
7
- /** Image caption, will display as a `figure` if set. */
8
7
  caption?: string;
9
- /** Display within a `figure`. */
10
8
  figure?: boolean;
11
- /** The image will take up the entire width of the container. */
12
9
  fluid?: boolean;
13
- /** The next/image sizes attribute. */
14
10
  sizes?: string;
15
11
  crossOrigin?: 'anonymous' | 'use-credentials';
16
12
  id?: string;
@@ -17,21 +17,13 @@ export declare enum InputType {
17
17
  HIDDEN = "hidden"
18
18
  }
19
19
  export interface Props {
20
- /** Input type. */
21
20
  type?: InputType;
22
- /** Specify if input is required. */
23
21
  required?: boolean;
24
- /** Custom style attributes. */
25
22
  className?: string;
26
- /** OnChange function handler. */
27
23
  onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
28
- /** Placeholder text. */
29
24
  placeholder?: string;
30
- /** Input name attribute. */
31
25
  name?: string;
32
- /** Input icon value. */
33
26
  icon?: string;
34
- /** Input status. */
35
27
  disabled?: boolean;
36
28
  autoComplete?: 'off' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year';
37
29
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ShareProps } from '../components/VisitUs/VisitUs.types';
2
+ import { ShareProps } from '../../components/VisitUs/VisitUs.types';
3
3
  interface AppContextProps {
4
4
  brand?: {
5
5
  logo: string;
@@ -0,0 +1,4 @@
1
+ export * from './Theme';
2
+ export { default as ThemeProvider } from './Theme';
3
+ export * from './App';
4
+ export { default as AppContext } from './App';
@@ -0,0 +1 @@
1
+ export default function getUrlSanitizer(URLParser: typeof URL, currentLocation: string): (url: string) => string;
@@ -1,5 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './features';
3
3
  export * from './forms';
4
- export * from './context/AppContext';
5
- export * from './context/ThemeContext';
4
+ export * from './context';
@@ -0,0 +1 @@
1
+ export { default } from './en';
@@ -234,11 +234,11 @@ declare const settings: {
234
234
  };
235
235
  extend: {
236
236
  gridTemplateColumns: {
237
- 'header-md': string;
238
- 'header-sd': string;
239
- 'header-xs': string;
240
- 'search-layout': string;
241
- 'search-layout-with-sidebar': string;
237
+ headerMd: string;
238
+ headerSd: string;
239
+ headerXs: string;
240
+ searchLayout: string;
241
+ searchLayoutWithSidebar: string;
242
242
  };
243
243
  };
244
244
  };
@@ -1,3 +1,4 @@
1
1
  import '../theme/base.css';
2
2
  import '../theme/fonts.css';
3
- export * from '../../../fui';
3
+ export * from '../../../lib';
4
+ export { default as theme } from '../theme';
@@ -8,6 +8,58 @@ declare const theme: {
8
8
  mono: string[];
9
9
  display: string[];
10
10
  };
11
+ fontSize: {
12
+ xs: (string | {
13
+ lineHeight: string;
14
+ })[];
15
+ sm: (string | {
16
+ lineHeight: string;
17
+ })[];
18
+ base: (string | {
19
+ lineHeight: string;
20
+ })[];
21
+ lg: (string | {
22
+ lineHeight: string;
23
+ })[];
24
+ xl: (string | {
25
+ lineHeight: string;
26
+ })[];
27
+ '2xl': (string | {
28
+ lineHeight: string;
29
+ })[];
30
+ '3xl': (string | {
31
+ lineHeight: string;
32
+ })[];
33
+ '4xl': (string | {
34
+ lineHeight: string;
35
+ })[];
36
+ '5xl': (string | {
37
+ lineHeight: string;
38
+ })[];
39
+ '6xl': (string | {
40
+ lineHeight: string;
41
+ })[];
42
+ '7xl': (string | {
43
+ lineHeight: string;
44
+ })[];
45
+ '8xl': (string | {
46
+ lineHeight: string;
47
+ })[];
48
+ '9xl': (string | {
49
+ lineHeight: string;
50
+ })[];
51
+ };
52
+ fontWeight: {
53
+ light: string;
54
+ normal: string;
55
+ bold: string;
56
+ thin: string;
57
+ extralight: string;
58
+ medium: string;
59
+ semibold: string;
60
+ extrabold: string;
61
+ black: string;
62
+ };
11
63
  buttons: {
12
64
  raised: boolean;
13
65
  };
@@ -53,11 +105,11 @@ declare const theme: {
53
105
  };
54
106
  extend: {
55
107
  gridTemplateColumns: {
56
- 'header-md': string;
57
- 'header-sd': string;
58
- 'header-xs': string;
59
- 'search-layout': string;
60
- 'search-layout-with-sidebar': string;
108
+ headerMd: string;
109
+ headerSd: string;
110
+ headerXs: string;
111
+ searchLayout: string;
112
+ searchLayoutWithSidebar: string;
61
113
  };
62
114
  };
63
115
  };
@@ -245,11 +245,11 @@ declare const settings: {
245
245
  };
246
246
  extend: {
247
247
  gridTemplateColumns: {
248
- 'header-md': string;
249
- 'header-sd': string;
250
- 'header-xs': string;
251
- 'search-layout': string;
252
- 'search-layout-with-sidebar': string;
248
+ headerMd: string;
249
+ headerSd: string;
250
+ headerXs: string;
251
+ searchLayout: string;
252
+ searchLayoutWithSidebar: string;
253
253
  };
254
254
  };
255
255
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4alldigital/foundation-ui--gamma",
3
- "version": "1.41.2",
3
+ "version": "1.43.0",
4
4
  "description": "Foundation UI Component library with GAMMA theme. ",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -13,7 +13,7 @@
13
13
  "author": "Joe Mewes",
14
14
  "license": "MIT",
15
15
  "source": "src/index.ts",
16
- "types": "dist/types/fui/index.d.ts",
16
+ "types": "dist/types/packages/gamma/src/index.d.ts",
17
17
  "sideEffects": false,
18
18
  "files": [
19
19
  "dist"
@@ -21,7 +21,7 @@
21
21
  "exports": {
22
22
  "./package.json": "./package.json",
23
23
  ".": {
24
- "types": "./dist/types/fui/index.d.ts",
24
+ "types": "./dist/types/packages/gamma/src/index.d.ts",
25
25
  "import": "./dist/index.esm.js",
26
26
  "require": "./dist/index.js"
27
27
  },
@@ -39,7 +39,7 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "8e67d387a0b23b11b2ccab353e9c3bc6ffcd2d26",
42
+ "gitHead": "dd8175ab6647feb245123b30e1786a8a8fa1893c",
43
43
  "dependencies": {
44
44
  "@elastic/datemath": "^5.0.3",
45
45
  "@elastic/react-search-ui": "^1.21.1",
@@ -1,36 +0,0 @@
1
- /// <reference types="react" />
2
- import { BTN_TYPES, BTN_VARIANTS } from '../Button/Button.types';
3
- export interface Props {
4
- /** The form inputs and content. */
5
- children: React.ReactNode;
6
- /** Additional classes. */
7
- className?: string;
8
- /** Disable form inputs validation. */
9
- noValidate?: boolean;
10
- /** The submit handler that will fire once the form is submitted. */
11
- onSubmit?: (values: any, event?: any) => void;
12
- /** The on change handler that will fire once the form is updated. */
13
- onChange?: (values: any, event?: any) => void;
14
- /** The label for the submit button. */
15
- submit?: string;
16
- /** Hide submit button. */
17
- hideSubmit?: boolean;
18
- /** The aria-label attribute value for the submit button. */
19
- ariaSubmitLabel?: string;
20
- /** Unique form submit button id. */
21
- submitID?: string;
22
- /** Initial form values. */
23
- initialValues?: {
24
- [k: string]: any;
25
- };
26
- /** The submit button variant. */
27
- submitVariant?: BTN_VARIANTS;
28
- /** The form is boxed. */
29
- isBoxed?: boolean;
30
- /** The submit button type. */
31
- submitType?: BTN_TYPES.SUBMIT | BTN_TYPES.BUTTON;
32
- /** Disable submit button with return key. */
33
- disabledSubmitWithReturn?: boolean;
34
- /** Disable the form submit button. */
35
- isDisabled?: boolean;
36
- }
@@ -1,7 +0,0 @@
1
- import { Props } from './ListItem.types';
2
- declare const ListItem: {
3
- ({ children, as: Tag, id, testID, className }: Props): React.ReactElement;
4
- displayName: string;
5
- };
6
- export default ListItem;
7
- export type { Props };
@@ -1 +0,0 @@
1
- export { default } from './ListItem';
@@ -1,6 +0,0 @@
1
- /**
2
- *
3
- * @param {URL} URLParser URL interface provided by browser https://developer.mozilla.org/en-US/docs/Web/API/URL
4
- * @param {String} currentLocation String representation of the browser's current location
5
- */
6
- export default function getUrlSanitizer(URLParser: typeof URL, currentLocation: string): (url: string) => string;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { Props } from './Sidebar.types';
3
- declare const Sidebar: {
4
- ({ foo }: Props): React.ReactElement;
5
- displayName: string;
6
- };
7
- export default Sidebar;
8
- export type { Props };
@@ -1,3 +0,0 @@
1
- export interface Props {
2
- foo: string;
3
- }
@@ -1 +0,0 @@
1
- export { default } from './Sidebar';
@@ -1 +0,0 @@
1
- export default function useTheme(): any;
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- children: React.ReactNode;
4
- };
5
- export declare const Page: ({ children }: Props) => React.ReactElement;
6
- export {};
@@ -1,2 +0,0 @@
1
- import strings from './en';
2
- export default strings;
@@ -1,19 +0,0 @@
1
- interface DurationValues {
2
- years?: number;
3
- months?: number;
4
- weeks?: number;
5
- days?: number;
6
- hours?: number;
7
- minutes?: number;
8
- seconds?: number;
9
- }
10
- export type Duration = {
11
- negative?: boolean;
12
- } & DurationValues;
13
- export type ParseConfig = {
14
- allowMultipleFractions?: boolean;
15
- };
16
- export declare const InvalidDurationError: Error;
17
- export declare const MultipleFractionsError: Error;
18
- export declare function parseDuration(durationStr: string, config?: ParseConfig): Duration;
19
- export {};
@@ -1,3 +0,0 @@
1
- import '../theme/base.css';
2
- import '../theme/fonts.css';
3
- export * from '../../../fui';
@@ -1,64 +0,0 @@
1
- declare const theme: {
2
- colors: any;
3
- fontFamily: {
4
- body: string[];
5
- heading: string[];
6
- sans: string[];
7
- serif: string[];
8
- mono: string[];
9
- display: string[];
10
- };
11
- buttons: {
12
- raised: boolean;
13
- };
14
- screens: {
15
- sm: string;
16
- md: string;
17
- lg: string;
18
- xl: string;
19
- };
20
- borderRadius: {
21
- none: string;
22
- sm: string;
23
- DEFAULT: string;
24
- md: string;
25
- lg: string;
26
- xl: string;
27
- '2xl': string;
28
- '3xl': string;
29
- full: string;
30
- };
31
- spacing: {
32
- px: string;
33
- 0: string;
34
- 1: string;
35
- 2: string;
36
- 3: string;
37
- 4: string;
38
- 5: string;
39
- 6: string;
40
- 8: string;
41
- 10: string;
42
- 11: string;
43
- 12: string;
44
- 16: string;
45
- 20: string;
46
- 24: string;
47
- 32: string;
48
- 40: string;
49
- 48: string;
50
- 56: string;
51
- 64: string;
52
- 128: string;
53
- };
54
- extend: {
55
- gridTemplateColumns: {
56
- 'header-md': string;
57
- 'header-sd': string;
58
- 'header-xs': string;
59
- 'search-layout': string;
60
- 'search-layout-with-sidebar': string;
61
- };
62
- };
63
- };
64
- export default theme;
@@ -1,4 +0,0 @@
1
- declare const buttons: {
2
- raised: boolean;
3
- };
4
- export default buttons;
@@ -1,2 +0,0 @@
1
- declare const colors: any;
2
- export default colors;
@@ -1,9 +0,0 @@
1
- declare const fonts: {
2
- body: string[];
3
- heading: string[];
4
- sans: string[];
5
- serif: string[];
6
- mono: string[];
7
- display: string[];
8
- };
9
- export default fonts;