@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,454 @@
1
+ interface StructuredContentBaseStyle {
2
+ hasFigureImage: boolean;
3
+ imageAspectRatio: string;
4
+ imagePosition: string;
5
+ }
6
+ declare const StructuredContent: {
7
+ parts: string[];
8
+ baseStyle: ({ hasFigureImage, imageAspectRatio, imagePosition, }: StructuredContentBaseStyle) => {
9
+ one: {
10
+ width: string;
11
+ a: {
12
+ textUnderlineOffset: string;
13
+ };
14
+ marginTop: string;
15
+ marginStart: string;
16
+ marginEnd: string;
17
+ fontSize: string;
18
+ fontWeight: string;
19
+ letterSpacing: string;
20
+ lineHeight: string;
21
+ };
22
+ two: {
23
+ width: string;
24
+ a: {
25
+ textUnderlineOffset: string;
26
+ };
27
+ marginTop: string;
28
+ marginStart: string;
29
+ marginEnd: string;
30
+ fontSize: string;
31
+ fontWeight: string;
32
+ lineHeight: string;
33
+ };
34
+ three: {
35
+ width: string;
36
+ marginTop: string;
37
+ marginStart: string;
38
+ marginEnd: string;
39
+ fontSize: string;
40
+ fontWeight: string;
41
+ lineHeight: string;
42
+ };
43
+ four: {
44
+ width: string;
45
+ marginTop: string;
46
+ marginStart: string;
47
+ marginEnd: string;
48
+ fontSize: string;
49
+ fontWeight: string;
50
+ lineHeight: string;
51
+ };
52
+ fallback: {
53
+ width: string;
54
+ marginTop: string;
55
+ marginStart: string;
56
+ marginEnd: string;
57
+ fontSize: string;
58
+ fontWeight: string;
59
+ lineHeight: string;
60
+ };
61
+ display1: {
62
+ fontWeight: string;
63
+ letterSpacing: string;
64
+ lineHeight: string;
65
+ width: string;
66
+ a: {
67
+ textUnderlineOffset: string;
68
+ };
69
+ };
70
+ heading1: {
71
+ fontWeight: string;
72
+ letterSpacing: string;
73
+ lineHeight: string;
74
+ width: string;
75
+ a: {
76
+ textUnderlineOffset: string;
77
+ };
78
+ };
79
+ heading2: {
80
+ fontWeight: string;
81
+ letterSpacing: string;
82
+ lineHeight: string;
83
+ width: string;
84
+ a: {
85
+ textUnderlineOffset: string;
86
+ };
87
+ };
88
+ heading3: {
89
+ fontWeight: string;
90
+ letterSpacing: string;
91
+ lineHeight: string;
92
+ width: string;
93
+ a: {
94
+ textUnderlineOffset: string;
95
+ };
96
+ };
97
+ heading4: {
98
+ fontWeight: string;
99
+ letterSpacing: string;
100
+ lineHeight: string;
101
+ width: string;
102
+ a: {
103
+ textUnderlineOffset: string;
104
+ };
105
+ };
106
+ heading5: {
107
+ fontWeight: string;
108
+ letterSpacing: string;
109
+ lineHeight: string;
110
+ width: string;
111
+ };
112
+ heading6: {
113
+ fontWeight: string;
114
+ letterSpacing: string;
115
+ lineHeight: string;
116
+ width: string;
117
+ };
118
+ imageFigure: {
119
+ marginBottom: string;
120
+ maxWidth?: string;
121
+ float: string[];
122
+ marginStart: string[];
123
+ marginEnd: string[];
124
+ width: string;
125
+ };
126
+ imageWrapper: {
127
+ marginBottom: string;
128
+ maxWidth?: string;
129
+ float: string[];
130
+ marginStart: string[];
131
+ marginEnd: string[];
132
+ width: string;
133
+ };
134
+ image: {
135
+ maxWidth?: string;
136
+ float: string[];
137
+ marginStart: string[];
138
+ marginEnd: string[];
139
+ marginBottom: string;
140
+ };
141
+ /** The following styles are meant to target HTML elements that are
142
+ * not rendered from the Reservoir DS. Typically, these HTML elements
143
+ * are added from an API response.
144
+ */
145
+ ".structuredcontent-body > div": {
146
+ marginTop: string;
147
+ marginInlineEnd: string;
148
+ marginBottom: string;
149
+ marginInlineStart: string;
150
+ };
151
+ a: {
152
+ color: string;
153
+ textDecoration: string;
154
+ textDecorationStyle: string;
155
+ textDecorationThickness: string;
156
+ textUnderlineOffset: string;
157
+ _dark: {
158
+ color: string;
159
+ };
160
+ _hover: {
161
+ color: string;
162
+ textDecorationStyle: string;
163
+ textDecorationThickness: string;
164
+ _dark: {
165
+ color: string;
166
+ };
167
+ };
168
+ _visited: {
169
+ color: string;
170
+ _dark: {
171
+ color: string;
172
+ };
173
+ };
174
+ };
175
+ ul: {
176
+ listStyle: string;
177
+ li: {
178
+ _before: {
179
+ color: string;
180
+ content: string;
181
+ display: string;
182
+ fontWeight: string;
183
+ fontSize: string;
184
+ lineHeight: string;
185
+ marginStart: string;
186
+ width: string;
187
+ };
188
+ _dark: {
189
+ _before: {
190
+ color: string;
191
+ };
192
+ };
193
+ };
194
+ margin: string;
195
+ marginBottom: string;
196
+ marginInlineStart: string;
197
+ paddingStart: string;
198
+ padding: string;
199
+ display: string;
200
+ };
201
+ ol: {
202
+ margin: string;
203
+ marginBottom: string;
204
+ listStyle: string;
205
+ marginInlineStart: string;
206
+ paddingStart: string;
207
+ padding: string;
208
+ display: string;
209
+ li: {
210
+ marginEnd: string;
211
+ listStyleType: string;
212
+ _notFirst: {
213
+ marginTop: string;
214
+ };
215
+ };
216
+ };
217
+ section: {
218
+ borderBottom: string;
219
+ borderColor: string;
220
+ paddingStart: string;
221
+ h2: {
222
+ borderTop: string;
223
+ borderColor: string;
224
+ margin: string;
225
+ padding: string;
226
+ _dark: {
227
+ borderColor: string;
228
+ };
229
+ };
230
+ _dark: {
231
+ borderColor: string;
232
+ };
233
+ };
234
+ dl: {
235
+ display: string;
236
+ gridTemplateColumns: {
237
+ base: string;
238
+ md: string;
239
+ };
240
+ gridTemplateRows: string;
241
+ margin: string;
242
+ };
243
+ dt: {
244
+ borderTop: string;
245
+ borderColor: string;
246
+ color: string;
247
+ fontWeight: string;
248
+ paddingBottom: {
249
+ base: string;
250
+ md: string;
251
+ };
252
+ paddingTop: string;
253
+ paddingEnd: {
254
+ md: string;
255
+ };
256
+ _dark: {
257
+ borderColor: string;
258
+ color: string;
259
+ };
260
+ };
261
+ dd: {
262
+ margin: string;
263
+ paddingBottom: string;
264
+ borderTop: {
265
+ base: string;
266
+ md: string;
267
+ };
268
+ borderColor: {
269
+ md: string;
270
+ };
271
+ paddingTop: {
272
+ md: string;
273
+ };
274
+ _dark: {
275
+ borderColor: {
276
+ md: string;
277
+ };
278
+ };
279
+ };
280
+ table: {
281
+ width: string;
282
+ th: {
283
+ color: string;
284
+ fontWeight: string;
285
+ textTransform: string;
286
+ _first: {
287
+ paddingStart: {
288
+ base: string;
289
+ md: string;
290
+ };
291
+ };
292
+ _dark: {
293
+ color: string;
294
+ };
295
+ border: string;
296
+ borderBottom: string;
297
+ borderColor: {
298
+ base: string;
299
+ md: string;
300
+ } | {
301
+ base: string;
302
+ md: string;
303
+ };
304
+ display: {
305
+ base: string;
306
+ md: string;
307
+ };
308
+ fontSize: {
309
+ base: string;
310
+ md: string;
311
+ };
312
+ gap: string;
313
+ letterSpacing: string;
314
+ lineHeight: number;
315
+ paddingBottom: {
316
+ base: string;
317
+ md: string;
318
+ };
319
+ paddingStart: number;
320
+ paddingEnd: {
321
+ base: string;
322
+ md: string;
323
+ };
324
+ paddingTop: {
325
+ base: string;
326
+ md: string;
327
+ };
328
+ _last: {
329
+ paddingEnd: {
330
+ base: string;
331
+ md: string;
332
+ };
333
+ borderBottom: string;
334
+ borderColor: {
335
+ base: string;
336
+ md: string;
337
+ } | {
338
+ base: string;
339
+ md: string;
340
+ };
341
+ };
342
+ "> span": {
343
+ flexBasis: string;
344
+ paddingBottom: {
345
+ base: string;
346
+ md: string;
347
+ };
348
+ paddingEnd: string;
349
+ paddingTop: {
350
+ base: string; /** The following styles are meant to target HTML elements that are
351
+ * not rendered from the Reservoir DS. Typically, these HTML elements
352
+ * are added from an API response.
353
+ */
354
+ md: string;
355
+ };
356
+ _first: {
357
+ bg: string;
358
+ color: string;
359
+ fontWeight: string;
360
+ paddingStart: string;
361
+ _dark: {
362
+ color: string;
363
+ };
364
+ };
365
+ };
366
+ textAlign: string;
367
+ paddingInlineStart: string;
368
+ paddingInlineEnd: string;
369
+ };
370
+ td: {
371
+ _first: {
372
+ paddingStart: {
373
+ base: string;
374
+ md: string;
375
+ };
376
+ };
377
+ _last: {
378
+ borderBottom: {
379
+ base: number;
380
+ md: string;
381
+ };
382
+ borderColor: {
383
+ base: string;
384
+ md: string;
385
+ } | {
386
+ base: string;
387
+ md: string;
388
+ };
389
+ };
390
+ border: string;
391
+ borderBottom: string;
392
+ borderColor: {
393
+ base: string;
394
+ md: string;
395
+ } | {
396
+ base: string;
397
+ md: string;
398
+ };
399
+ display: {
400
+ base: string;
401
+ md: string;
402
+ };
403
+ fontSize: {
404
+ base: string;
405
+ md: string;
406
+ };
407
+ gap: string;
408
+ letterSpacing: string;
409
+ lineHeight: number;
410
+ paddingBottom: {
411
+ base: string;
412
+ md: string;
413
+ };
414
+ paddingStart: number;
415
+ paddingEnd: {
416
+ base: string;
417
+ md: string;
418
+ };
419
+ paddingTop: {
420
+ base: string;
421
+ md: string;
422
+ };
423
+ "> span": {
424
+ flexBasis: string;
425
+ paddingBottom: {
426
+ base: string;
427
+ md: string;
428
+ };
429
+ paddingEnd: string;
430
+ paddingTop: {
431
+ base: string; /** The following styles are meant to target HTML elements that are
432
+ * not rendered from the Reservoir DS. Typically, these HTML elements
433
+ * are added from an API response.
434
+ */
435
+ md: string;
436
+ };
437
+ _first: {
438
+ bg: string;
439
+ color: string;
440
+ fontWeight: string;
441
+ paddingStart: string;
442
+ _dark: {
443
+ color: string;
444
+ };
445
+ };
446
+ };
447
+ textAlign: string;
448
+ paddingInlineStart: string;
449
+ paddingInlineEnd: string;
450
+ };
451
+ };
452
+ };
453
+ };
454
+ export default StructuredContent;
@@ -0,0 +1,51 @@
1
+ declare const StyledList: {
2
+ baseStyle: ({ textSize }: {
3
+ textSize?: string;
4
+ }) => {
5
+ listStyle: string;
6
+ li: {
7
+ _before: {
8
+ color: string;
9
+ content: string;
10
+ display: string;
11
+ fontWeight: string;
12
+ fontSize: string;
13
+ lineHeight: string;
14
+ marginStart: string;
15
+ width: string;
16
+ };
17
+ _dark: {
18
+ _before: {
19
+ color: string;
20
+ };
21
+ };
22
+ };
23
+ margin: string;
24
+ marginBottom: string;
25
+ marginInlineStart: string;
26
+ paddingStart: string;
27
+ padding: string;
28
+ display: string;
29
+ fontSize: string;
30
+ };
31
+ variants: {
32
+ capped: {
33
+ li: {
34
+ borderStart: string;
35
+ borderEnd: {
36
+ base: string;
37
+ md: string;
38
+ };
39
+ borderColor: string;
40
+ my: string;
41
+ px: string;
42
+ };
43
+ _dark: {
44
+ li: {
45
+ borderColor: string;
46
+ };
47
+ };
48
+ };
49
+ };
50
+ };
51
+ export default StyledList;
@@ -0,0 +1,172 @@
1
+ declare const CustomTabs: {
2
+ parts: string[];
3
+ baseStyle: {
4
+ tablist: {
5
+ borderColor: string;
6
+ };
7
+ tab: {
8
+ background: string;
9
+ border: string;
10
+ borderBottom: string;
11
+ color: string;
12
+ height: {
13
+ base: string;
14
+ };
15
+ marginEnd: {
16
+ base: string;
17
+ md: string;
18
+ };
19
+ paddingEnd: {
20
+ base: string;
21
+ md: string;
22
+ lg: string;
23
+ };
24
+ paddingInlineStart: string;
25
+ paddingStart: string;
26
+ whiteSpace: string;
27
+ _hover: {
28
+ bg: string;
29
+ borderTopRadius: string;
30
+ borderBottom: string;
31
+ borderBottomColor: string;
32
+ };
33
+ _selected: {
34
+ fontWeight: string;
35
+ bg: string;
36
+ border: string;
37
+ borderTopRadius: string;
38
+ borderBottom: string;
39
+ borderBottomColor: string;
40
+ paddingBottom: string;
41
+ };
42
+ _focus: {
43
+ boxShadow: string;
44
+ };
45
+ _dark: {
46
+ color: string;
47
+ border: string;
48
+ borderBottom: string;
49
+ borderBottomColor: string;
50
+ _hover: {
51
+ bg: string;
52
+ };
53
+ _selected: {
54
+ color: string;
55
+ border: string;
56
+ bg: string;
57
+ borderBottom: string;
58
+ };
59
+ };
60
+ };
61
+ buttonArrows: {
62
+ bg: string;
63
+ color: string;
64
+ border: string;
65
+ borderRadius: string;
66
+ display: {
67
+ md: string;
68
+ };
69
+ height: string;
70
+ width: string;
71
+ top: string;
72
+ marginStart: string;
73
+ marginEnd: string;
74
+ pos: string;
75
+ transition: string;
76
+ zIndex: string;
77
+ _hover: {
78
+ bg: string;
79
+ color: string;
80
+ borderColor: string;
81
+ };
82
+ _disabled: {
83
+ color: string;
84
+ };
85
+ _dark: {
86
+ color: string;
87
+ _disabled: {
88
+ color: string;
89
+ };
90
+ };
91
+ };
92
+ tablistWrapper: {
93
+ display: string;
94
+ alignItems: string;
95
+ borderBottom: {
96
+ base: string;
97
+ md: string;
98
+ };
99
+ height: {
100
+ base: string;
101
+ md: string;
102
+ };
103
+ margin: string;
104
+ overflowX: {
105
+ base: string;
106
+ md: string;
107
+ };
108
+ paddingBottom: {
109
+ base: string;
110
+ md: string;
111
+ };
112
+ paddingStart: {
113
+ base: string;
114
+ md: string;
115
+ };
116
+ paddingEnd: {
117
+ base: string;
118
+ md: string;
119
+ };
120
+ paddingTop: {
121
+ base: string;
122
+ md: string;
123
+ };
124
+ position: string;
125
+ _dark: {
126
+ borderColor: string;
127
+ };
128
+ };
129
+ tabpanels: {
130
+ paddingTop: string;
131
+ };
132
+ carouselParent: {
133
+ position: {
134
+ base: string;
135
+ md: string;
136
+ };
137
+ left: {
138
+ base: string;
139
+ md: string;
140
+ };
141
+ paddingBottom: {
142
+ base: string;
143
+ md: string;
144
+ };
145
+ paddingStart: {
146
+ base: string;
147
+ md: string;
148
+ };
149
+ paddingEnd: string;
150
+ paddingTop: {
151
+ base: string;
152
+ md: string;
153
+ };
154
+ right: {
155
+ base: string;
156
+ md: string;
157
+ };
158
+ top: {
159
+ base: string;
160
+ md: string;
161
+ };
162
+ overflowX: {
163
+ base: string;
164
+ md: string;
165
+ };
166
+ };
167
+ };
168
+ defaultProps: {
169
+ colorScheme: string;
170
+ };
171
+ };
172
+ export default CustomTabs;