@nypl/design-system-react-components 2.0.0 → 2.1.0-rc

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 (284) hide show
  1. package/README.md +466 -17
  2. package/dist/design-system-react-components.cjs +528 -0
  3. package/dist/design-system-react-components.js +37957 -0
  4. package/dist/src/components/Accordion/Accordion.d.ts +29 -0
  5. package/dist/src/components/AlphabetFilter/AlphabetFilter.d.ts +23 -0
  6. package/dist/src/components/AudioPlayer/AudioPlayer.d.ts +43 -0
  7. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +24 -0
  8. package/dist/src/components/Button/Button.d.ts +35 -0
  9. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +25 -0
  10. package/dist/src/components/Card/Card.d.ts +55 -0
  11. package/dist/src/components/Checkbox/Checkbox.d.ts +47 -0
  12. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +51 -0
  13. package/dist/src/components/ComponentWrapper/ComponentWrapper.d.ts +31 -0
  14. package/dist/src/components/DatePicker/DatePicker.d.ts +82 -0
  15. package/dist/src/components/FeaturedContent/FeaturedContent.d.ts +29 -0
  16. package/dist/src/components/FeedbackBox/FeedbackBox.d.ts +64 -0
  17. package/dist/src/components/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -0
  18. package/dist/src/components/Fieldset/Fieldset.d.ts +24 -0
  19. package/dist/src/components/Form/Form.d.ts +31 -0
  20. package/dist/src/components/Grid/SimpleGrid.d.ts +20 -0
  21. package/dist/src/components/Heading/Heading.d.ts +42 -0
  22. package/dist/src/components/HelperErrorText/HelperErrorText.d.ts +34 -0
  23. package/dist/src/components/Hero/Hero.d.ts +49 -0
  24. package/dist/src/components/HorizontalRule/HorizontalRule.d.ts +11 -0
  25. package/dist/src/components/Icons/Icon.d.ts +41 -0
  26. package/dist/src/components/Icons/IconSvgs.d.ts +196 -0
  27. package/dist/src/components/Icons/iconVariables.d.ts +6 -0
  28. package/dist/src/components/Image/Image.d.ts +68 -0
  29. package/dist/src/components/Label/Label.d.ts +25 -0
  30. package/dist/src/components/Link/Link.d.ts +32 -0
  31. package/dist/src/components/List/List.d.ts +43 -0
  32. package/dist/src/components/Logo/Logo.d.ts +29 -0
  33. package/dist/src/components/Logo/LogoSvgs.d.ts +166 -0
  34. package/dist/src/components/Logo/logoVariables.d.ts +2 -0
  35. package/dist/src/components/Modal/Modal.d.ts +35 -0
  36. package/dist/src/components/NewsletterSignup/NewsletterSignup.d.ts +46 -0
  37. package/dist/src/components/Notification/Notification.d.ts +52 -0
  38. package/dist/src/components/Pagination/Pagination.d.ts +27 -0
  39. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +32 -0
  40. package/dist/src/components/Radio/Radio.d.ts +43 -0
  41. package/dist/src/components/RadioGroup/RadioGroup.d.ts +51 -0
  42. package/dist/src/components/SearchBar/SearchBar.d.ts +58 -0
  43. package/dist/src/components/Select/Select.d.ts +59 -0
  44. package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
  45. package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +19 -0
  46. package/dist/src/components/Slider/Slider.d.ts +65 -0
  47. package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +42 -0
  48. package/dist/src/components/SocialMediaLinks/SocialMediaLinksUtils.d.ts +7 -0
  49. package/dist/src/components/StatusBadge/StatusBadge.d.ts +19 -0
  50. package/dist/src/components/StructuredContent/StructuredContent.d.ts +30 -0
  51. package/dist/src/components/StyleGuide/ColorCard.d.ts +348 -0
  52. package/dist/src/components/StyledList/StyledList.d.ts +26 -0
  53. package/dist/src/components/Table/Table.d.ts +32 -0
  54. package/dist/src/components/Tabs/Tabs.d.ts +28 -0
  55. package/dist/src/components/TagSet/TagSet.d.ts +24 -0
  56. package/dist/src/components/TagSet/TagSetExplore.d.ts +28 -0
  57. package/dist/src/components/TagSet/TagSetFilter.d.ts +25 -0
  58. package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
  59. package/dist/src/components/Template/Template.d.ts +140 -0
  60. package/dist/src/components/Text/Text.d.ts +27 -0
  61. package/dist/src/components/TextInput/TextInput.d.ts +92 -0
  62. package/dist/src/components/Toggle/Toggle.d.ts +43 -0
  63. package/dist/src/components/Tooltip/Tooltip.d.ts +17 -0
  64. package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +42 -0
  65. package/dist/src/helpers/getSectionColors.d.ts +8 -0
  66. package/dist/src/helpers/types.d.ts +50 -0
  67. package/dist/src/hooks/useCarouselStyles.d.ts +17 -0
  68. package/dist/src/hooks/useCloseDropDown.d.ts +7 -0
  69. package/dist/src/hooks/useNYPLBreakpoints.d.ts +13 -0
  70. package/dist/src/hooks/useNYPLTheme.d.ts +75 -0
  71. package/dist/src/hooks/useStateWithDependencies.d.ts +8 -0
  72. package/dist/src/hooks/useWindowSize.d.ts +10 -0
  73. package/dist/src/index.d.ts +87 -0
  74. package/dist/src/theme/components/accordion.d.ts +34 -0
  75. package/dist/src/theme/components/alphabetFilter.d.ts +40 -0
  76. package/dist/src/theme/components/audioPlayer.d.ts +16 -0
  77. package/dist/src/theme/components/breadcrumb.d.ts +158 -0
  78. package/dist/src/theme/components/button.d.ts +152 -0
  79. package/dist/src/theme/components/buttonGroup.d.ts +11 -0
  80. package/dist/src/theme/components/card.d.ts +485 -0
  81. package/dist/src/theme/components/checkbox.d.ts +178 -0
  82. package/dist/src/theme/components/checkboxGroup.d.ts +14 -0
  83. package/dist/src/theme/components/componentWrapper.d.ts +12 -0
  84. package/dist/src/theme/components/customTable.d.ts +739 -0
  85. package/dist/src/theme/components/datePicker.d.ts +17 -0
  86. package/dist/src/theme/components/featuredContent.d.ts +70 -0
  87. package/dist/src/theme/components/feedbackBox.d.ts +100 -0
  88. package/dist/src/theme/components/fieldset.d.ts +24 -0
  89. package/dist/src/theme/components/filterBar.d.ts +46 -0
  90. package/dist/src/theme/components/global.d.ts +141 -0
  91. package/dist/src/theme/components/globalMixins.d.ts +40 -0
  92. package/dist/src/theme/components/heading.d.ts +372 -0
  93. package/dist/src/theme/components/helperErrorText.d.ts +18 -0
  94. package/dist/src/theme/components/hero.d.ts +639 -0
  95. package/dist/src/theme/components/horizontalRule.d.ts +18 -0
  96. package/dist/src/theme/components/icon.d.ts +62251 -0
  97. package/dist/src/theme/components/image.d.ts +754 -0
  98. package/dist/src/theme/components/label.d.ts +22 -0
  99. package/dist/src/theme/components/link.d.ts +152 -0
  100. package/dist/src/theme/components/list.d.ts +230 -0
  101. package/dist/src/theme/components/logo.d.ts +477 -0
  102. package/dist/src/theme/components/modal.d.ts +27 -0
  103. package/dist/src/theme/components/multiSelect.d.ts +29 -0
  104. package/dist/src/theme/components/multiSelectMenuButton.d.ts +99 -0
  105. package/dist/src/theme/components/newsletterSignup.d.ts +93 -0
  106. package/dist/src/theme/components/notification.d.ts +137 -0
  107. package/dist/src/theme/components/pagination.d.ts +19 -0
  108. package/dist/src/theme/components/progressIndicator.d.ts +69 -0
  109. package/dist/src/theme/components/radio.d.ts +202 -0
  110. package/dist/src/theme/components/radioGroup.d.ts +14 -0
  111. package/dist/src/theme/components/searchBar.d.ts +34 -0
  112. package/dist/src/theme/components/select.d.ts +126 -0
  113. package/dist/src/theme/components/skeletonLoader.d.ts +105 -0
  114. package/dist/src/theme/components/skipNavigation.d.ts +28 -0
  115. package/dist/src/theme/components/slider.d.ts +78 -0
  116. package/dist/src/theme/components/socialmedialinks.d.ts +192 -0
  117. package/dist/src/theme/components/statusBadge.d.ts +37 -0
  118. package/dist/src/theme/components/structuredContent.d.ts +454 -0
  119. package/dist/src/theme/components/styledList.d.ts +51 -0
  120. package/dist/src/theme/components/tabs.d.ts +172 -0
  121. package/dist/src/theme/components/tagSet.d.ts +154 -0
  122. package/dist/src/theme/components/template.d.ts +98 -0
  123. package/dist/src/theme/components/text.d.ts +59 -0
  124. package/dist/src/theme/components/textInput.d.ts +360 -0
  125. package/dist/src/theme/components/toggle.d.ts +129 -0
  126. package/dist/src/theme/components/tooltip.d.ts +21 -0
  127. package/dist/src/theme/components/videoPlayer.d.ts +47 -0
  128. package/dist/src/theme/foundations/breakpoints.d.ts +23 -0
  129. package/dist/src/theme/foundations/colors.d.ts +3 -0
  130. package/dist/src/theme/foundations/global.d.ts +68 -0
  131. package/dist/src/theme/foundations/radii.d.ts +11 -0
  132. package/dist/src/theme/foundations/shadows.d.ts +4 -0
  133. package/dist/src/theme/foundations/spacing.d.ts +96 -0
  134. package/dist/src/theme/foundations/typography.d.ts +8 -0
  135. package/dist/src/theme/index.d.ts +20 -0
  136. package/dist/src/theme/internalChakraProvider.d.ts +67 -0
  137. package/dist/src/theme/provider.d.ts +4 -0
  138. package/dist/src/theme/types.d.ts +1 -0
  139. package/dist/src/utils/colorUtils.d.ts +5 -0
  140. package/dist/src/utils/interfaces.d.ts +5 -0
  141. package/dist/src/utils/utils.d.ts +42 -0
  142. package/dist/styles.css +1 -0
  143. package/package.json +132 -24
  144. package/CHANGELOG.md +0 -139
  145. package/dist/design-system-react-components.min.js +0 -23
  146. package/dist/design-system-react-components.min.js.map +0 -1
  147. package/lib/components/00-base/Container/Container.d.ts +0 -6
  148. package/lib/components/00-base/Container/Container.js +0 -19
  149. package/lib/components/00-base/Container/Modal.d.ts +0 -12
  150. package/lib/components/00-base/Container/Modal.js +0 -29
  151. package/lib/components/00-base/Container/Modal.stories.d.ts +0 -7
  152. package/lib/components/00-base/Container/Modal.stories.js +0 -20
  153. package/lib/components/00-base/Placeholder.d.ts +0 -10
  154. package/lib/components/00-base/Placeholder.js +0 -23
  155. package/lib/components/00-base/SectionName.d.ts +0 -4
  156. package/lib/components/00-base/SectionName.js +0 -16
  157. package/lib/components/01-atoms/Button/Button.d.ts +0 -52
  158. package/lib/components/01-atoms/Button/Button.js +0 -76
  159. package/lib/components/01-atoms/Button/Button.stories.d.ts +0 -14
  160. package/lib/components/01-atoms/Button/Button.stories.js +0 -33
  161. package/lib/components/01-atoms/Button/ButtonTypes.d.ts +0 -10
  162. package/lib/components/01-atoms/Button/ButtonTypes.js +0 -14
  163. package/lib/components/01-atoms/Forms/Checkbox.d.ts +0 -21
  164. package/lib/components/01-atoms/Forms/Checkbox.js +0 -27
  165. package/lib/components/01-atoms/Forms/Checkbox.stories.d.ts +0 -7
  166. package/lib/components/01-atoms/Forms/Checkbox.stories.js +0 -23
  167. package/lib/components/01-atoms/Forms/DateRangeForm.d.ts +0 -31
  168. package/lib/components/01-atoms/Forms/DateRangeForm.js +0 -27
  169. package/lib/components/01-atoms/Forms/DateRangeForm.stories.d.ts +0 -9
  170. package/lib/components/01-atoms/Forms/DateRangeForm.stories.js +0 -23
  171. package/lib/components/01-atoms/Forms/FormDropdown.d.ts +0 -22
  172. package/lib/components/01-atoms/Forms/FormDropdown.js +0 -64
  173. package/lib/components/01-atoms/Forms/FormDropdown.stories.d.ts +0 -8
  174. package/lib/components/01-atoms/Forms/FormDropdown.stories.js +0 -22
  175. package/lib/components/01-atoms/Forms/HelperErrorText.d.ts +0 -26
  176. package/lib/components/01-atoms/Forms/HelperErrorText.js +0 -29
  177. package/lib/components/01-atoms/Forms/HelperErrorText.stories.d.ts +0 -9
  178. package/lib/components/01-atoms/Forms/HelperErrorText.stories.js +0 -23
  179. package/lib/components/01-atoms/Forms/Input.d.ts +0 -47
  180. package/lib/components/01-atoms/Forms/Input.js +0 -39
  181. package/lib/components/01-atoms/Forms/Input.stories.d.ts +0 -10
  182. package/lib/components/01-atoms/Forms/Input.stories.js +0 -22
  183. package/lib/components/01-atoms/Forms/Label.d.ts +0 -19
  184. package/lib/components/01-atoms/Forms/Label.js +0 -22
  185. package/lib/components/01-atoms/Forms/Label.stories.d.ts +0 -7
  186. package/lib/components/01-atoms/Forms/Label.stories.js +0 -20
  187. package/lib/components/01-atoms/Forms/TextField.d.ts +0 -26
  188. package/lib/components/01-atoms/Forms/TextField.js +0 -36
  189. package/lib/components/01-atoms/Forms/TextField.stories.d.ts +0 -7
  190. package/lib/components/01-atoms/Forms/TextField.stories.js +0 -20
  191. package/lib/components/01-atoms/Images/Icons/Icon.d.ts +0 -14
  192. package/lib/components/01-atoms/Images/Icons/Icon.js +0 -38
  193. package/lib/components/01-atoms/Images/Image/Image.d.ts +0 -8
  194. package/lib/components/01-atoms/Images/Image/Image.js +0 -32
  195. package/lib/components/01-atoms/Images/Image/Image.stories.d.ts +0 -8
  196. package/lib/components/01-atoms/Images/Image/Image.stories.js +0 -24
  197. package/lib/components/01-atoms/Links/BasicLink.d.ts +0 -15
  198. package/lib/components/01-atoms/Links/BasicLink.js +0 -50
  199. package/lib/components/01-atoms/Links/BasicLink.stories.d.ts +0 -8
  200. package/lib/components/01-atoms/Links/BasicLink.stories.js +0 -21
  201. package/lib/components/01-atoms/Links/IconLink.d.ts +0 -13
  202. package/lib/components/01-atoms/Links/IconLink.js +0 -44
  203. package/lib/components/01-atoms/Links/IconLink.stories.d.ts +0 -10
  204. package/lib/components/01-atoms/Links/IconLink.stories.js +0 -24
  205. package/lib/components/01-atoms/Links/Link.d.ts +0 -13
  206. package/lib/components/01-atoms/Links/Link.js +0 -51
  207. package/lib/components/01-atoms/Links/UnderlineLink.d.ts +0 -11
  208. package/lib/components/01-atoms/Links/UnderlineLink.js +0 -29
  209. package/lib/components/01-atoms/Links/UnderlineLink.stories.d.ts +0 -8
  210. package/lib/components/01-atoms/Links/UnderlineLink.stories.js +0 -21
  211. package/lib/components/01-atoms/Text/Headings/Heading.d.ts +0 -16
  212. package/lib/components/01-atoms/Text/Headings/Heading.js +0 -40
  213. package/lib/components/01-atoms/Text/Headings/Heading.stories.d.ts +0 -12
  214. package/lib/components/01-atoms/Text/Headings/Heading.stories.js +0 -35
  215. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.d.ts +0 -2
  216. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.js +0 -18
  217. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.d.ts +0 -7
  218. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.js +0 -24
  219. package/lib/components/01-atoms/Text/Text/BodyText.d.ts +0 -12
  220. package/lib/components/01-atoms/Text/Text/BodyText.js +0 -73
  221. package/lib/components/01-atoms/Text/Text/BodyText.stories.d.ts +0 -14
  222. package/lib/components/01-atoms/Text/Text/BodyText.stories.js +0 -54
  223. package/lib/components/02-molecules/Cards/EditionCard.d.ts +0 -31
  224. package/lib/components/02-molecules/Cards/EditionCard.js +0 -51
  225. package/lib/components/02-molecules/Cards/EditionCard.stories.d.ts +0 -13
  226. package/lib/components/02-molecules/Cards/EditionCard.stories.js +0 -26
  227. package/lib/components/02-molecules/Cards/SearchResultItem.d.ts +0 -17
  228. package/lib/components/02-molecules/Cards/SearchResultItem.js +0 -40
  229. package/lib/components/02-molecules/Cards/SearchResultItem.stories.d.ts +0 -8
  230. package/lib/components/02-molecules/Cards/SearchResultItem.stories.js +0 -31
  231. package/lib/components/02-molecules/Dropdown/Dropdown.d.ts +0 -21
  232. package/lib/components/02-molecules/Dropdown/Dropdown.js +0 -55
  233. package/lib/components/02-molecules/Dropdown/Dropdown.stories.d.ts +0 -14
  234. package/lib/components/02-molecules/Dropdown/Dropdown.stories.js +0 -33
  235. package/lib/components/02-molecules/Headings/SectionTitle.d.ts +0 -17
  236. package/lib/components/02-molecules/Headings/SectionTitle.js +0 -42
  237. package/lib/components/02-molecules/Headings/SectionTitle.stories.d.ts +0 -8
  238. package/lib/components/02-molecules/Headings/SectionTitle.stories.js +0 -20
  239. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.d.ts +0 -14
  240. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.js +0 -51
  241. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -8
  242. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.js +0 -30
  243. package/lib/components/02-molecules/Menus/Pagination/Pagination.d.ts +0 -11
  244. package/lib/components/02-molecules/Menus/Pagination/Pagination.js +0 -57
  245. package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.d.ts +0 -7
  246. package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.js +0 -20
  247. package/lib/components/02-molecules/SearchBar/SearchBar.d.ts +0 -26
  248. package/lib/components/02-molecules/SearchBar/SearchBar.js +0 -69
  249. package/lib/components/02-molecules/SearchBar/SearchBar.stories.d.ts +0 -11
  250. package/lib/components/02-molecules/SearchBar/SearchBar.stories.js +0 -24
  251. package/lib/components/03-organisms/Accordion/Accordion.d.ts +0 -19
  252. package/lib/components/03-organisms/Accordion/Accordion.js +0 -41
  253. package/lib/components/03-organisms/Accordion/Accordion.stories.d.ts +0 -7
  254. package/lib/components/03-organisms/Accordion/Accordion.stories.js +0 -30
  255. package/lib/components/03-organisms/Headers/HeaderImgRight.d.ts +0 -12
  256. package/lib/components/03-organisms/Headers/HeaderImgRight.js +0 -32
  257. package/lib/components/03-organisms/Headers/HeaderImgRight.stories.d.ts +0 -7
  258. package/lib/components/03-organisms/Headers/HeaderImgRight.stories.js +0 -19
  259. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.d.ts +0 -19
  260. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.js +0 -27
  261. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.d.ts +0 -7
  262. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.js +0 -26
  263. package/lib/components/03-organisms/Hero/Hero.d.ts +0 -31
  264. package/lib/components/03-organisms/Hero/Hero.js +0 -62
  265. package/lib/components/03-organisms/Hero/Hero.stories.d.ts +0 -11
  266. package/lib/components/03-organisms/Hero/Hero.stories.js +0 -35
  267. package/lib/components/03-organisms/Hero/HeroTypes.d.ts +0 -6
  268. package/lib/components/03-organisms/Hero/HeroTypes.js +0 -9
  269. package/lib/components/03-organisms/List/UnorderedList.d.ts +0 -18
  270. package/lib/components/03-organisms/List/UnorderedList.js +0 -28
  271. package/lib/components/03-organisms/List/UnorderedList.stories.d.ts +0 -11
  272. package/lib/components/03-organisms/List/UnorderedList.stories.js +0 -73
  273. package/lib/components/03-organisms/SearchPromo/SearchPromo.d.ts +0 -22
  274. package/lib/components/03-organisms/SearchPromo/SearchPromo.js +0 -30
  275. package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.d.ts +0 -8
  276. package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.js +0 -28
  277. package/lib/helpers/hoc/WithOneChild.d.ts +0 -8
  278. package/lib/helpers/hoc/WithOneChild.js +0 -63
  279. package/lib/index.d.ts +0 -24
  280. package/lib/index.js +0 -51
  281. package/lib/utils/bem.d.ts +0 -1
  282. package/lib/utils/bem.js +0 -35
  283. package/tsd.d.ts +0 -4
  284. package/webpack.prod.js +0 -38
@@ -0,0 +1,87 @@
1
+ export { Box, Center, Circle, ColorModeScript, cookieStorageManager, Flex, Grid, GridItem, HStack, localStorageManager, Spacer, Square, Stack, useColorMode, useColorModeValue, VStack, } from "@chakra-ui/react";
2
+ export { default as Accordion } from "./components/Accordion/Accordion";
3
+ export type { AccordionTypes } from "./components/Accordion/Accordion";
4
+ export { default as AlphabetFilter } from "./components/AlphabetFilter/AlphabetFilter";
5
+ export { default as AudioPlayer } from "./components/AudioPlayer/AudioPlayer";
6
+ export type { AudioType } from "./components/AudioPlayer/AudioPlayer";
7
+ export { default as Breadcrumbs } from "./components/Breadcrumbs/Breadcrumbs";
8
+ export type { BreadcrumbsTypes } from "./components/Breadcrumbs/Breadcrumbs";
9
+ export { default as Button } from "./components/Button/Button";
10
+ export type { ButtonTypes } from "./components/Button/Button";
11
+ export { default as ButtonGroup } from "./components/ButtonGroup/ButtonGroup";
12
+ export { default as Card, CardActions, CardContent, CardHeading, } from "./components/Card/Card";
13
+ export { default as Checkbox } from "./components/Checkbox/Checkbox";
14
+ export { default as CheckboxGroup } from "./components/CheckboxGroup/CheckboxGroup";
15
+ export { default as ColorCard } from "./components/StyleGuide/ColorCard";
16
+ export { default as DatePicker } from "./components/DatePicker/DatePicker";
17
+ export type { DatePickerTypes, FullDateType, } from "./components/DatePicker/DatePicker";
18
+ export { default as DSProvider } from "./theme/provider";
19
+ export type { FeaturedContentProps } from "./components/FeaturedContent/FeaturedContent";
20
+ export { default as FeaturedContent } from "./components/FeaturedContent/FeaturedContent";
21
+ export { default as FeedbackBox, useFeedbackBox, } from "./components/FeedbackBox/FeedbackBox";
22
+ export type { FeedbackBoxViewType } from "./components/FeedbackBox/FeedbackBox";
23
+ export { default as Fieldset } from "./components/Fieldset/Fieldset";
24
+ export { default as Form, FormField, FormRow } from "./components/Form/Form";
25
+ export { default as Heading } from "./components/Heading/Heading";
26
+ export type { HeadingSizes, HeadingLevels } from "./components/Heading/Heading";
27
+ export { default as HelperErrorText } from "./components/HelperErrorText/HelperErrorText";
28
+ export { default as Hero } from "./components/Hero/Hero";
29
+ export type { HeroTypes } from "./components/Hero/Hero";
30
+ export { default as HorizontalRule } from "./components/HorizontalRule/HorizontalRule";
31
+ export { default as Icon } from "./components/Icons/Icon";
32
+ export type { IconAlign, IconColors, IconNames, IconRotationTypes, IconRotations, IconSizes, IconTypes, } from "./components/Icons/Icon";
33
+ export { default as Image } from "./components/Image/Image";
34
+ export type { ImageRatios, ImageSizes, ImageTypes, } from "./components/Image/Image";
35
+ export { default as Label } from "./components/Label/Label";
36
+ export type { LayoutTypes } from "./helpers/types";
37
+ export { default as Link } from "./components/Link/Link";
38
+ export type { LinkTypes } from "./components/Link/Link";
39
+ export { default as List } from "./components/List/List";
40
+ export type { DescriptionProps, ListTypes } from "./components/List/List";
41
+ export { default as Logo } from "./components/Logo/Logo";
42
+ export type { LogoNames, LogoSizes } from "./components/Logo/Logo";
43
+ export { ModalTrigger, useModal } from "./components/Modal/Modal";
44
+ export { default as NewsletterSignup } from "./components/NewsletterSignup/NewsletterSignup";
45
+ export type { NewsletterSignupViewType } from "./components/NewsletterSignup/NewsletterSignup";
46
+ export { default as Notification } from "./components/Notification/Notification";
47
+ export type { NotificationTypes } from "./components/Notification/Notification";
48
+ export { default as Pagination } from "./components/Pagination/Pagination";
49
+ export { default as ProgressIndicator } from "./components/ProgressIndicator/ProgressIndicator";
50
+ export type { ProgressIndicatorSizes, ProgressIndicatorTypes, } from "./components/ProgressIndicator/ProgressIndicator";
51
+ export { default as Radio } from "./components/Radio/Radio";
52
+ export { default as RadioGroup } from "./components/RadioGroup/RadioGroup";
53
+ export { default as SearchBar } from "./components/SearchBar/SearchBar";
54
+ export { default as Select } from "./components/Select/Select";
55
+ export type { LabelPositions } from "./components/Select/Select";
56
+ export { default as SimpleGrid } from "./components/Grid/SimpleGrid";
57
+ export type { GridGaps } from "./components/Grid/SimpleGrid";
58
+ export { default as SkeletonLoader } from "./components/SkeletonLoader/SkeletonLoader";
59
+ export type { SkeletonLoaderImageRatios } from "./components/SkeletonLoader/SkeletonLoader";
60
+ export { default as SkipNavigation } from "./components/SkipNavigation/SkipNavigation";
61
+ export { default as Slider } from "./components/Slider/Slider";
62
+ export { default as SocialMediaLinks } from "./components/SocialMediaLinks/SocialMediaLinks";
63
+ export { default as StatusBadge } from "./components/StatusBadge/StatusBadge";
64
+ export type { StatusBadgeTypes } from "./components/StatusBadge/StatusBadge";
65
+ export { default as StructuredContent } from "./components/StructuredContent/StructuredContent";
66
+ export type { StructuredContentImagePosition } from "./components/StructuredContent/StructuredContent";
67
+ export { default as StyledList } from "./components/StyledList/StyledList";
68
+ export { default as Tabs, TabList, Tab, TabPanels, TabPanel, } from "./components/Tabs/Tabs";
69
+ export { default as TagSet } from "./components/TagSet/TagSet";
70
+ export type { TagSetExploreDataProps } from "./components/TagSet/TagSetExplore";
71
+ export type { TagSetFilterDataProps } from "./components/TagSet/TagSetFilter";
72
+ export { TemplateAppContainer, Template, TemplateAboveHeader, TemplateHeader, TemplateBreakout, TemplateContent, TemplateContentTop, TemplateContentPrimary, TemplateContentSidebar, TemplateFooter, } from "./components/Template/Template";
73
+ export { default as Text } from "./components/Text/Text";
74
+ export type { TextSizes } from "./components/Text/Text";
75
+ export { default as TextInput } from "./components/TextInput/TextInput";
76
+ export type { TextInputRefType, TextInputTypes, } from "./components/TextInput/TextInput";
77
+ export { default as Toggle } from "./components/Toggle/Toggle";
78
+ export type { ToggleSizes } from "./components/Toggle/Toggle";
79
+ export { default as useCarouselStyles } from "./hooks/useCarouselStyles";
80
+ export { default as useCloseDropDown } from "./hooks/useCloseDropDown";
81
+ export { default as useNYPLBreakpoints } from "./hooks/useNYPLBreakpoints";
82
+ export { default as useNYPLTheme } from "./hooks/useNYPLTheme";
83
+ export { default as useWindowSize } from "./hooks/useWindowSize";
84
+ export { default as VideoPlayer } from "./components/VideoPlayer/VideoPlayer";
85
+ export type { VideoPlayerAspectRatios, VideoPlayerTypes, } from "./components/VideoPlayer/VideoPlayer";
86
+ export { default as Table } from "./components/Table/Table";
87
+ export { default as Tooltip } from "./components/Tooltip/Tooltip";
@@ -0,0 +1,34 @@
1
+ declare const Accordion: {
2
+ parts: string[];
3
+ baseStyle: {
4
+ container: {
5
+ border: string;
6
+ width: string;
7
+ _dark: {
8
+ bg: string;
9
+ borderColor: string;
10
+ };
11
+ };
12
+ button: {
13
+ borderWidth: string;
14
+ color: string;
15
+ fontWeight: string;
16
+ _dark: {
17
+ bg: string;
18
+ color: string;
19
+ };
20
+ };
21
+ panel: {
22
+ padding: string;
23
+ borderLeftWidth: string;
24
+ borderRightWidth: string;
25
+ borderBottomWidth: string;
26
+ _dark: {
27
+ bg: string;
28
+ color: string;
29
+ borderColor: string;
30
+ };
31
+ };
32
+ };
33
+ };
34
+ export default Accordion;
@@ -0,0 +1,40 @@
1
+ declare const AlphabetFilter: {
2
+ baseStyle: {
3
+ button: {
4
+ minWidth: {
5
+ base: string;
6
+ md: string;
7
+ };
8
+ height: {
9
+ base: string;
10
+ md: string;
11
+ };
12
+ padding: string;
13
+ margin: string;
14
+ fontWeight: string;
15
+ fontSize: {
16
+ base: string;
17
+ md: string;
18
+ };
19
+ lineHeight: string;
20
+ _last: {
21
+ fontSize: string;
22
+ fontWeight: string;
23
+ px: {
24
+ base: string;
25
+ md: string;
26
+ };
27
+ py: {
28
+ base: any;
29
+ md: string;
30
+ };
31
+ whiteSpace: string;
32
+ };
33
+ _disabled: {
34
+ color: string;
35
+ cursor: string;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ export default AlphabetFilter;
@@ -0,0 +1,16 @@
1
+ declare const AudioPlayer: {
2
+ baseStyle: {
3
+ invalid: {
4
+ backgroundColor: string;
5
+ border: string;
6
+ borderColor: string;
7
+ padding: string;
8
+ _dark: {
9
+ bg: string;
10
+ border: string;
11
+ borderColor: string;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ export default AudioPlayer;
@@ -0,0 +1,158 @@
1
+ declare const Breadcrumb: {
2
+ baseStyle: {
3
+ bg: string;
4
+ color: string;
5
+ fontSize: string;
6
+ fontWeight: string;
7
+ paddingBottom: string;
8
+ paddingTop: string;
9
+ _dark: {
10
+ bg: string;
11
+ color: string;
12
+ };
13
+ ol: {
14
+ alignItems: {
15
+ base: string;
16
+ md: string;
17
+ };
18
+ display: {
19
+ base: string;
20
+ md: string;
21
+ };
22
+ margin: string;
23
+ maxWidth: string;
24
+ paddingStart: string;
25
+ paddingEnd: string;
26
+ };
27
+ a: {
28
+ _hover: {
29
+ color: string;
30
+ textDecoration: string;
31
+ };
32
+ };
33
+ "li:last-child": {
34
+ fontWeight: {
35
+ base: string;
36
+ md: string;
37
+ };
38
+ ".chakra-breadcrumb__link": {
39
+ _hover: {
40
+ color: string;
41
+ cursor: string;
42
+ textDecoration: string;
43
+ };
44
+ _dark: {
45
+ _hover: {
46
+ color: string;
47
+ };
48
+ };
49
+ };
50
+ ".icon": {
51
+ display: string;
52
+ };
53
+ };
54
+ "li:not(:last-child)": {
55
+ display: {
56
+ base: string;
57
+ md: string;
58
+ };
59
+ a: {
60
+ marginEnd: {
61
+ base: string;
62
+ md: string;
63
+ };
64
+ };
65
+ ".icon": {
66
+ display: {
67
+ base: string;
68
+ md: string;
69
+ };
70
+ };
71
+ "span:not(.breadcrumb-label)": {
72
+ marginInlineEnd: string;
73
+ marginInlineStart: string;
74
+ };
75
+ };
76
+ "li:nth-last-of-type(2)": {
77
+ display: string;
78
+ span: {
79
+ display: {
80
+ base: string;
81
+ md: string;
82
+ };
83
+ };
84
+ };
85
+ };
86
+ variants: {
87
+ blogs: {
88
+ bg: string;
89
+ color: string;
90
+ _dark: {
91
+ bg: string;
92
+ };
93
+ a: {
94
+ _hover: {
95
+ color: string;
96
+ };
97
+ _dark: {
98
+ _hover: {
99
+ color: string;
100
+ };
101
+ };
102
+ };
103
+ "li:last-child": {
104
+ ".chakra-breadcrumb__link": {
105
+ _hover: {
106
+ color: string;
107
+ };
108
+ };
109
+ };
110
+ svg: {
111
+ fill: string;
112
+ };
113
+ };
114
+ booksAndMore: {
115
+ bg: string;
116
+ _dark: {
117
+ bg: string;
118
+ };
119
+ };
120
+ brand: {
121
+ bg: string;
122
+ _dark: {
123
+ bg: string;
124
+ };
125
+ };
126
+ connect: {
127
+ bg: string;
128
+ _dark: {
129
+ bg: string;
130
+ };
131
+ };
132
+ education: {
133
+ bg: string;
134
+ _dark: {
135
+ bg: string;
136
+ };
137
+ };
138
+ locations: {
139
+ bg: string;
140
+ _dark: {
141
+ bg: string;
142
+ };
143
+ };
144
+ research: {
145
+ bg: string;
146
+ _dark: {
147
+ bg: string;
148
+ };
149
+ };
150
+ whatsOn: {
151
+ bg: string;
152
+ _dark: {
153
+ bg: string;
154
+ };
155
+ };
156
+ };
157
+ };
158
+ export default Breadcrumb;
@@ -0,0 +1,152 @@
1
+ export declare const buttonBaseStyle: {
2
+ alignItems: string;
3
+ borderRadius: string;
4
+ display: string;
5
+ cursor: string;
6
+ color: string;
7
+ fontWeight: string;
8
+ justifyContent: string;
9
+ lineHeight: string;
10
+ textDecoration: string;
11
+ wordWrap: string;
12
+ /** The element will handle descriptive text added to aid
13
+ * screen readers. */
14
+ screenreaderOnly: {
15
+ clip: string;
16
+ height: {
17
+ base: string;
18
+ md: string;
19
+ };
20
+ overflow: string;
21
+ position: {
22
+ base: string;
23
+ md: string;
24
+ };
25
+ width: {
26
+ base: string;
27
+ md: string;
28
+ };
29
+ wordWrap: string;
30
+ };
31
+ svg: {
32
+ fill: string;
33
+ };
34
+ _hover: {
35
+ bg: string;
36
+ };
37
+ _visited: {
38
+ color: string;
39
+ };
40
+ _disabled: {
41
+ bg: string;
42
+ color: string;
43
+ opacity: string;
44
+ pointerEvents: string;
45
+ };
46
+ _dark: {
47
+ _disabled: {
48
+ bg: string;
49
+ color: string;
50
+ };
51
+ };
52
+ };
53
+ export declare const primary: ({ buttonSize }: {
54
+ buttonSize?: string;
55
+ }) => any;
56
+ export declare const secondary: ({ buttonSize }: {
57
+ buttonSize?: string;
58
+ }) => any;
59
+ export declare const pill: ({ buttonSize }: {
60
+ buttonSize?: string;
61
+ }) => any;
62
+ export declare const callout: ({ buttonSize }: {
63
+ buttonSize?: string;
64
+ }) => any;
65
+ export declare const noBrand: ({ buttonSize }: {
66
+ buttonSize?: string;
67
+ }) => any;
68
+ declare const Button: {
69
+ parts: string[];
70
+ baseStyle: {
71
+ alignItems: string;
72
+ borderRadius: string;
73
+ display: string;
74
+ cursor: string;
75
+ color: string;
76
+ fontWeight: string;
77
+ justifyContent: string;
78
+ lineHeight: string;
79
+ textDecoration: string;
80
+ wordWrap: string;
81
+ /** The element will handle descriptive text added to aid
82
+ * screen readers. */
83
+ screenreaderOnly: {
84
+ clip: string;
85
+ height: {
86
+ base: string;
87
+ md: string;
88
+ };
89
+ overflow: string;
90
+ position: {
91
+ base: string;
92
+ md: string;
93
+ };
94
+ width: {
95
+ base: string;
96
+ md: string;
97
+ };
98
+ wordWrap: string;
99
+ };
100
+ svg: {
101
+ fill: string;
102
+ };
103
+ _hover: {
104
+ bg: string;
105
+ };
106
+ _visited: {
107
+ color: string;
108
+ };
109
+ _disabled: {
110
+ bg: string;
111
+ color: string;
112
+ opacity: string;
113
+ pointerEvents: string;
114
+ };
115
+ _dark: {
116
+ _disabled: {
117
+ bg: string;
118
+ color: string;
119
+ };
120
+ };
121
+ };
122
+ variants: {
123
+ primary: ({ buttonSize }: {
124
+ buttonSize?: string;
125
+ }) => any;
126
+ secondary: ({ buttonSize }: {
127
+ buttonSize?: string;
128
+ }) => any;
129
+ text: ({ buttonSize }: {
130
+ buttonSize?: string;
131
+ }) => any;
132
+ link: ({ buttonSize }: {
133
+ buttonSize?: string;
134
+ }) => any;
135
+ pill: ({ buttonSize }: {
136
+ buttonSize?: string;
137
+ }) => any;
138
+ iconOnly: ({ buttonSize }: {
139
+ buttonSize?: string;
140
+ }) => any;
141
+ callout: ({ buttonSize }: {
142
+ buttonSize?: string;
143
+ }) => any;
144
+ noBrand: ({ buttonSize }: {
145
+ buttonSize?: string;
146
+ }) => any;
147
+ };
148
+ defaultProps: {
149
+ variant: string;
150
+ };
151
+ };
152
+ export default Button;
@@ -0,0 +1,11 @@
1
+ declare const ButtonGroup: {
2
+ baseStyle: ({ buttonWidth }: {
3
+ buttonWidth: any;
4
+ }) => {
5
+ width: string;
6
+ button: {
7
+ flexGrow: string;
8
+ };
9
+ };
10
+ };
11
+ export default ButtonGroup;