@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,754 @@
1
+ interface CustomImageBaseStyle {
2
+ size: keyof typeof imageSizes;
3
+ }
4
+ interface CustomImageWrapperBaseStyle {
5
+ ratio: keyof typeof imageRatios;
6
+ size: keyof typeof imageSizes;
7
+ }
8
+ declare const imageSizes: {
9
+ default: {
10
+ maxWidth: string;
11
+ };
12
+ xxxsmall: {
13
+ maxWidth: string;
14
+ marginStart: string;
15
+ marginEnd: string;
16
+ };
17
+ xxsmall: {
18
+ maxWidth: string;
19
+ marginStart: string;
20
+ marginEnd: string;
21
+ };
22
+ xsmall: {
23
+ maxWidth: string;
24
+ marginStart: string;
25
+ marginEnd: string;
26
+ };
27
+ small: {
28
+ maxWidth: string;
29
+ marginStart: string;
30
+ marginEnd: string;
31
+ };
32
+ medium: {
33
+ maxWidth: string;
34
+ marginStart: string;
35
+ marginEnd: string;
36
+ };
37
+ large: {
38
+ maxWidth: string;
39
+ marginStart: string;
40
+ marginEnd: string;
41
+ };
42
+ };
43
+ declare const imageRatios: {
44
+ fourByThree: {
45
+ paddingBottom: string;
46
+ position: string;
47
+ width: string;
48
+ height: string;
49
+ overflow: string;
50
+ };
51
+ oneByTwo: {
52
+ paddingBottom: string;
53
+ position: string;
54
+ width: string;
55
+ height: string;
56
+ overflow: string;
57
+ };
58
+ original: {
59
+ position: string;
60
+ width: string;
61
+ height: string;
62
+ overflow: string;
63
+ };
64
+ sixteenByNine: {
65
+ paddingBottom: string;
66
+ position: string;
67
+ width: string;
68
+ height: string;
69
+ overflow: string;
70
+ };
71
+ square: {
72
+ paddingBottom: string;
73
+ position: string;
74
+ width: string;
75
+ height: string;
76
+ overflow: string;
77
+ };
78
+ threeByFour: {
79
+ paddingBottom: string;
80
+ position: string;
81
+ width: string;
82
+ height: string;
83
+ overflow: string;
84
+ };
85
+ threeByTwo: {
86
+ paddingBottom: string;
87
+ position: string;
88
+ width: string;
89
+ height: string;
90
+ overflow: string;
91
+ };
92
+ twoByOne: {
93
+ paddingBottom: string;
94
+ position: string;
95
+ width: string;
96
+ height: string;
97
+ overflow: string;
98
+ };
99
+ };
100
+ declare const CustomImage: {
101
+ parts: string[];
102
+ variants: {
103
+ circle: {
104
+ img: {
105
+ borderRadius: string;
106
+ };
107
+ };
108
+ };
109
+ baseStyle: ({ size }: CustomImageBaseStyle) => {
110
+ figure: {
111
+ img: {
112
+ backgroundColor: string;
113
+ marginBottom: string;
114
+ _dark: {
115
+ backgroundColor: string;
116
+ };
117
+ };
118
+ maxWidth: string;
119
+ margin: string;
120
+ width: string;
121
+ } | {
122
+ img: {
123
+ backgroundColor: string;
124
+ marginBottom: string;
125
+ _dark: {
126
+ backgroundColor: string;
127
+ };
128
+ };
129
+ maxWidth: string;
130
+ marginStart: string;
131
+ marginEnd: string;
132
+ margin: string;
133
+ width: string;
134
+ } | {
135
+ img: {
136
+ backgroundColor: string;
137
+ marginBottom: string;
138
+ _dark: {
139
+ backgroundColor: string;
140
+ };
141
+ };
142
+ maxWidth: string;
143
+ marginStart: string;
144
+ marginEnd: string;
145
+ margin: string;
146
+ width: string;
147
+ } | {
148
+ img: {
149
+ backgroundColor: string;
150
+ marginBottom: string;
151
+ _dark: {
152
+ backgroundColor: string;
153
+ };
154
+ };
155
+ maxWidth: string;
156
+ marginStart: string;
157
+ marginEnd: string;
158
+ margin: string;
159
+ width: string;
160
+ } | {
161
+ img: {
162
+ backgroundColor: string;
163
+ marginBottom: string;
164
+ _dark: {
165
+ backgroundColor: string;
166
+ };
167
+ };
168
+ maxWidth: string;
169
+ marginStart: string;
170
+ marginEnd: string;
171
+ margin: string;
172
+ width: string;
173
+ } | {
174
+ img: {
175
+ backgroundColor: string;
176
+ marginBottom: string;
177
+ _dark: {
178
+ backgroundColor: string;
179
+ };
180
+ };
181
+ maxWidth: string;
182
+ marginStart: string;
183
+ marginEnd: string;
184
+ margin: string;
185
+ width: string;
186
+ } | {
187
+ img: {
188
+ backgroundColor: string;
189
+ marginBottom: string;
190
+ _dark: {
191
+ backgroundColor: string;
192
+ };
193
+ };
194
+ maxWidth: string;
195
+ marginStart: string;
196
+ marginEnd: string;
197
+ margin: string;
198
+ width: string;
199
+ };
200
+ figcaption: {
201
+ fontStyle: string;
202
+ };
203
+ img: {
204
+ _dark: {
205
+ backgroundColor: string;
206
+ };
207
+ maxWidth: string;
208
+ display: string;
209
+ backgroundColor: string;
210
+ boxSizing: string;
211
+ objectFit: string;
212
+ position: string;
213
+ width: string;
214
+ } | {
215
+ _dark: {
216
+ backgroundColor: string;
217
+ };
218
+ maxWidth: string;
219
+ marginStart: string;
220
+ marginEnd: string;
221
+ display: string;
222
+ backgroundColor: string;
223
+ boxSizing: string;
224
+ objectFit: string;
225
+ position: string;
226
+ width: string;
227
+ } | {
228
+ _dark: {
229
+ backgroundColor: string;
230
+ };
231
+ maxWidth: string;
232
+ marginStart: string;
233
+ marginEnd: string;
234
+ display: string;
235
+ backgroundColor: string;
236
+ boxSizing: string;
237
+ objectFit: string;
238
+ position: string;
239
+ width: string;
240
+ } | {
241
+ _dark: {
242
+ backgroundColor: string;
243
+ };
244
+ maxWidth: string;
245
+ marginStart: string;
246
+ marginEnd: string;
247
+ display: string;
248
+ backgroundColor: string;
249
+ boxSizing: string;
250
+ objectFit: string;
251
+ position: string;
252
+ width: string;
253
+ } | {
254
+ _dark: {
255
+ backgroundColor: string;
256
+ };
257
+ maxWidth: string;
258
+ marginStart: string;
259
+ marginEnd: string;
260
+ display: string;
261
+ backgroundColor: string;
262
+ boxSizing: string;
263
+ objectFit: string;
264
+ position: string;
265
+ width: string;
266
+ } | {
267
+ _dark: {
268
+ backgroundColor: string;
269
+ };
270
+ maxWidth: string;
271
+ marginStart: string;
272
+ marginEnd: string;
273
+ display: string;
274
+ backgroundColor: string;
275
+ boxSizing: string;
276
+ objectFit: string;
277
+ position: string;
278
+ width: string;
279
+ } | {
280
+ _dark: {
281
+ backgroundColor: string;
282
+ };
283
+ maxWidth: string;
284
+ marginStart: string;
285
+ marginEnd: string;
286
+ display: string;
287
+ backgroundColor: string;
288
+ boxSizing: string;
289
+ objectFit: string;
290
+ position: string;
291
+ width: string;
292
+ };
293
+ };
294
+ };
295
+ declare const CustomImageWrapper: {
296
+ parts: string[];
297
+ baseStyle: ({ ratio, size, }: CustomImageWrapperBaseStyle) => {
298
+ crop: {
299
+ paddingBottom: string;
300
+ position: string;
301
+ width: string;
302
+ height: string;
303
+ overflow: string;
304
+ } | {
305
+ paddingBottom: string;
306
+ position: string;
307
+ width: string;
308
+ height: string;
309
+ overflow: string;
310
+ } | {
311
+ position: string;
312
+ width: string;
313
+ height: string;
314
+ overflow: string;
315
+ } | {
316
+ paddingBottom: string;
317
+ position: string;
318
+ width: string;
319
+ height: string;
320
+ overflow: string;
321
+ } | {
322
+ paddingBottom: string;
323
+ position: string;
324
+ width: string;
325
+ height: string;
326
+ overflow: string;
327
+ } | {
328
+ paddingBottom: string;
329
+ position: string;
330
+ width: string;
331
+ height: string;
332
+ overflow: string;
333
+ } | {
334
+ paddingBottom: string;
335
+ position: string;
336
+ width: string;
337
+ height: string;
338
+ overflow: string;
339
+ } | {
340
+ paddingBottom: string;
341
+ position: string;
342
+ width: string;
343
+ height: string;
344
+ overflow: string;
345
+ };
346
+ img: {
347
+ backgroundColor: string;
348
+ height: string;
349
+ left: string;
350
+ maxWidth: string;
351
+ position: string;
352
+ top: string;
353
+ width: string;
354
+ _dark: {
355
+ backgroundColor: string;
356
+ };
357
+ };
358
+ maxWidth: string;
359
+ marginStart: string;
360
+ marginEnd: string;
361
+ width: string;
362
+ } | {
363
+ crop: {
364
+ paddingBottom: string;
365
+ position: string;
366
+ width: string;
367
+ height: string;
368
+ overflow: string;
369
+ } | {
370
+ paddingBottom: string;
371
+ position: string;
372
+ width: string;
373
+ height: string;
374
+ overflow: string;
375
+ } | {
376
+ position: string;
377
+ width: string;
378
+ height: string;
379
+ overflow: string;
380
+ } | {
381
+ paddingBottom: string;
382
+ position: string;
383
+ width: string;
384
+ height: string;
385
+ overflow: string;
386
+ } | {
387
+ paddingBottom: string;
388
+ position: string;
389
+ width: string;
390
+ height: string;
391
+ overflow: string;
392
+ } | {
393
+ paddingBottom: string;
394
+ position: string;
395
+ width: string;
396
+ height: string;
397
+ overflow: string;
398
+ } | {
399
+ paddingBottom: string;
400
+ position: string;
401
+ width: string;
402
+ height: string;
403
+ overflow: string;
404
+ } | {
405
+ paddingBottom: string;
406
+ position: string;
407
+ width: string;
408
+ height: string;
409
+ overflow: string;
410
+ };
411
+ img: {
412
+ backgroundColor: string;
413
+ height: string;
414
+ left: string;
415
+ maxWidth: string;
416
+ position: string;
417
+ top: string;
418
+ width: string;
419
+ _dark: {
420
+ backgroundColor: string;
421
+ };
422
+ };
423
+ maxWidth: string;
424
+ marginStart: string;
425
+ marginEnd: string;
426
+ width: string;
427
+ } | {
428
+ crop: {
429
+ paddingBottom: string;
430
+ position: string;
431
+ width: string;
432
+ height: string;
433
+ overflow: string;
434
+ } | {
435
+ paddingBottom: string;
436
+ position: string;
437
+ width: string;
438
+ height: string;
439
+ overflow: string;
440
+ } | {
441
+ position: string;
442
+ width: string;
443
+ height: string;
444
+ overflow: string;
445
+ } | {
446
+ paddingBottom: string;
447
+ position: string;
448
+ width: string;
449
+ height: string;
450
+ overflow: string;
451
+ } | {
452
+ paddingBottom: string;
453
+ position: string;
454
+ width: string;
455
+ height: string;
456
+ overflow: string;
457
+ } | {
458
+ paddingBottom: string;
459
+ position: string;
460
+ width: string;
461
+ height: string;
462
+ overflow: string;
463
+ } | {
464
+ paddingBottom: string;
465
+ position: string;
466
+ width: string;
467
+ height: string;
468
+ overflow: string;
469
+ } | {
470
+ paddingBottom: string;
471
+ position: string;
472
+ width: string;
473
+ height: string;
474
+ overflow: string;
475
+ };
476
+ img: {
477
+ backgroundColor: string;
478
+ height: string;
479
+ left: string;
480
+ maxWidth: string;
481
+ position: string;
482
+ top: string;
483
+ width: string;
484
+ _dark: {
485
+ backgroundColor: string;
486
+ };
487
+ };
488
+ maxWidth: string;
489
+ marginStart: string;
490
+ marginEnd: string;
491
+ width: string;
492
+ } | {
493
+ crop: {
494
+ paddingBottom: string;
495
+ position: string;
496
+ width: string;
497
+ height: string;
498
+ overflow: string;
499
+ } | {
500
+ paddingBottom: string;
501
+ position: string;
502
+ width: string;
503
+ height: string;
504
+ overflow: string;
505
+ } | {
506
+ position: string;
507
+ width: string;
508
+ height: string;
509
+ overflow: string;
510
+ } | {
511
+ paddingBottom: string;
512
+ position: string;
513
+ width: string;
514
+ height: string;
515
+ overflow: string;
516
+ } | {
517
+ paddingBottom: string;
518
+ position: string;
519
+ width: string;
520
+ height: string;
521
+ overflow: string;
522
+ } | {
523
+ paddingBottom: string;
524
+ position: string;
525
+ width: string;
526
+ height: string;
527
+ overflow: string;
528
+ } | {
529
+ paddingBottom: string;
530
+ position: string;
531
+ width: string;
532
+ height: string;
533
+ overflow: string;
534
+ } | {
535
+ paddingBottom: string;
536
+ position: string;
537
+ width: string;
538
+ height: string;
539
+ overflow: string;
540
+ };
541
+ img: {
542
+ backgroundColor: string;
543
+ height: string;
544
+ left: string;
545
+ maxWidth: string;
546
+ position: string;
547
+ top: string;
548
+ width: string;
549
+ _dark: {
550
+ backgroundColor: string;
551
+ };
552
+ };
553
+ maxWidth: string;
554
+ marginStart: string;
555
+ marginEnd: string;
556
+ width: string;
557
+ } | {
558
+ crop: {
559
+ paddingBottom: string;
560
+ position: string;
561
+ width: string;
562
+ height: string;
563
+ overflow: string;
564
+ } | {
565
+ paddingBottom: string;
566
+ position: string;
567
+ width: string;
568
+ height: string;
569
+ overflow: string;
570
+ } | {
571
+ position: string;
572
+ width: string;
573
+ height: string;
574
+ overflow: string;
575
+ } | {
576
+ paddingBottom: string;
577
+ position: string;
578
+ width: string;
579
+ height: string;
580
+ overflow: string;
581
+ } | {
582
+ paddingBottom: string;
583
+ position: string;
584
+ width: string;
585
+ height: string;
586
+ overflow: string;
587
+ } | {
588
+ paddingBottom: string;
589
+ position: string;
590
+ width: string;
591
+ height: string;
592
+ overflow: string;
593
+ } | {
594
+ paddingBottom: string;
595
+ position: string;
596
+ width: string;
597
+ height: string;
598
+ overflow: string;
599
+ } | {
600
+ paddingBottom: string;
601
+ position: string;
602
+ width: string;
603
+ height: string;
604
+ overflow: string;
605
+ };
606
+ img: {
607
+ backgroundColor: string;
608
+ height: string;
609
+ left: string;
610
+ maxWidth: string;
611
+ position: string;
612
+ top: string;
613
+ width: string;
614
+ _dark: {
615
+ backgroundColor: string;
616
+ };
617
+ };
618
+ maxWidth: string;
619
+ marginStart: string;
620
+ marginEnd: string;
621
+ width: string;
622
+ } | {
623
+ crop: {
624
+ paddingBottom: string;
625
+ position: string;
626
+ width: string;
627
+ height: string;
628
+ overflow: string;
629
+ } | {
630
+ paddingBottom: string;
631
+ position: string;
632
+ width: string;
633
+ height: string;
634
+ overflow: string;
635
+ } | {
636
+ position: string;
637
+ width: string;
638
+ height: string;
639
+ overflow: string;
640
+ } | {
641
+ paddingBottom: string;
642
+ position: string;
643
+ width: string;
644
+ height: string;
645
+ overflow: string;
646
+ } | {
647
+ paddingBottom: string;
648
+ position: string;
649
+ width: string;
650
+ height: string;
651
+ overflow: string;
652
+ } | {
653
+ paddingBottom: string;
654
+ position: string;
655
+ width: string;
656
+ height: string;
657
+ overflow: string;
658
+ } | {
659
+ paddingBottom: string;
660
+ position: string;
661
+ width: string;
662
+ height: string;
663
+ overflow: string;
664
+ } | {
665
+ paddingBottom: string;
666
+ position: string;
667
+ width: string;
668
+ height: string;
669
+ overflow: string;
670
+ };
671
+ img: {
672
+ backgroundColor: string;
673
+ height: string;
674
+ left: string;
675
+ maxWidth: string;
676
+ position: string;
677
+ top: string;
678
+ width: string;
679
+ _dark: {
680
+ backgroundColor: string;
681
+ };
682
+ };
683
+ maxWidth: string;
684
+ marginStart: string;
685
+ marginEnd: string;
686
+ width: string;
687
+ } | {
688
+ crop: {
689
+ paddingBottom: string;
690
+ position: string;
691
+ width: string;
692
+ height: string;
693
+ overflow: string;
694
+ } | {
695
+ paddingBottom: string;
696
+ position: string;
697
+ width: string;
698
+ height: string;
699
+ overflow: string;
700
+ } | {
701
+ position: string;
702
+ width: string;
703
+ height: string;
704
+ overflow: string;
705
+ } | {
706
+ paddingBottom: string;
707
+ position: string;
708
+ width: string;
709
+ height: string;
710
+ overflow: string;
711
+ } | {
712
+ paddingBottom: string;
713
+ position: string;
714
+ width: string;
715
+ height: string;
716
+ overflow: string;
717
+ } | {
718
+ paddingBottom: string;
719
+ position: string;
720
+ width: string;
721
+ height: string;
722
+ overflow: string;
723
+ } | {
724
+ paddingBottom: string;
725
+ position: string;
726
+ width: string;
727
+ height: string;
728
+ overflow: string;
729
+ } | {
730
+ paddingBottom: string;
731
+ position: string;
732
+ width: string;
733
+ height: string;
734
+ overflow: string;
735
+ };
736
+ img: {
737
+ backgroundColor: string;
738
+ height: string;
739
+ left: string;
740
+ maxWidth: string;
741
+ position: string;
742
+ top: string;
743
+ width: string;
744
+ _dark: {
745
+ backgroundColor: string;
746
+ };
747
+ };
748
+ maxWidth: string;
749
+ marginStart: string;
750
+ marginEnd: string;
751
+ width: string;
752
+ };
753
+ };
754
+ export { CustomImage, CustomImageWrapper };