@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,485 @@
1
+ interface CardBaseStyleProps {
2
+ hasImage: boolean;
3
+ imageIsAtEnd: boolean;
4
+ isAlignedRightActions: boolean;
5
+ isBordered: boolean;
6
+ isCentered: boolean;
7
+ layout: string;
8
+ mainActionLink: boolean;
9
+ }
10
+ interface CardImageBaseStyleProps {
11
+ imageIsAtEnd: boolean;
12
+ isCentered: boolean;
13
+ size: keyof typeof imageSizes;
14
+ layout: string;
15
+ }
16
+ interface CardActionsBaseStyleProps {
17
+ bottomBorder: boolean;
18
+ isCentered: boolean;
19
+ layout: string;
20
+ topBorder: boolean;
21
+ }
22
+ declare const imageSizes: {
23
+ xxsmall: {
24
+ flex: {
25
+ base: string;
26
+ md: string;
27
+ };
28
+ width: string;
29
+ };
30
+ xsmall: {
31
+ flex: {
32
+ md: string;
33
+ };
34
+ };
35
+ small: {
36
+ flex: {
37
+ md: string;
38
+ };
39
+ };
40
+ medium: {
41
+ flex: {
42
+ md: string;
43
+ };
44
+ };
45
+ large: {
46
+ flex: {
47
+ md: string;
48
+ };
49
+ };
50
+ };
51
+ declare const _default: {
52
+ Card: {
53
+ parts: string[];
54
+ baseStyle: ({ hasImage, imageIsAtEnd, isAlignedRightActions, isBordered, isCentered, layout, mainActionLink, }: CardBaseStyleProps) => {
55
+ display: string;
56
+ flexFlow: {
57
+ base: string;
58
+ md: string;
59
+ };
60
+ maxWidth: string;
61
+ textAlign: string;
62
+ alignItems: string;
63
+ border: string;
64
+ borderColor: string;
65
+ _dark: {
66
+ borderColor: string;
67
+ };
68
+ actions: {
69
+ flexShrink: {
70
+ base: string;
71
+ md: string;
72
+ };
73
+ marginStart: {
74
+ base: string;
75
+ md: string;
76
+ };
77
+ marginTop: {
78
+ base: string;
79
+ md: string;
80
+ };
81
+ maxWidth: {
82
+ base: string;
83
+ md: string;
84
+ };
85
+ width: string;
86
+ };
87
+ body: {
88
+ display: {
89
+ md: string;
90
+ };
91
+ flexBasis: {
92
+ sm: string;
93
+ };
94
+ flexFlow: {
95
+ md: string;
96
+ };
97
+ margin: any;
98
+ padding: any;
99
+ width: {
100
+ base: string;
101
+ md: string;
102
+ };
103
+ };
104
+ heading: {
105
+ marginBottom: string;
106
+ a: {
107
+ textDecoration: string;
108
+ color: string;
109
+ textDecorationStyle: string;
110
+ textDecorationThickness: string;
111
+ textUnderlineOffset: string;
112
+ _dark: {
113
+ color: string;
114
+ };
115
+ _hover: {
116
+ color: string;
117
+ textDecorationStyle: string;
118
+ textDecorationThickness: string;
119
+ _dark: {
120
+ color: string;
121
+ };
122
+ };
123
+ _visited: {
124
+ color: string;
125
+ _dark: {
126
+ color: string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ } | {
132
+ display: string;
133
+ flexFlow: string;
134
+ maxWidth?: undefined;
135
+ textAlign: string;
136
+ alignItems: string;
137
+ border: string;
138
+ borderColor: string;
139
+ _dark: {
140
+ borderColor: string;
141
+ };
142
+ actions: {
143
+ flexShrink: {
144
+ base: string;
145
+ md: string;
146
+ };
147
+ marginStart: {
148
+ base: string;
149
+ md: string;
150
+ };
151
+ marginTop: {
152
+ base: string;
153
+ md: string;
154
+ };
155
+ maxWidth: {
156
+ base: string;
157
+ md: string;
158
+ };
159
+ width: string;
160
+ };
161
+ body: {
162
+ display: {
163
+ md: string;
164
+ };
165
+ flexBasis: {
166
+ sm: string;
167
+ };
168
+ flexFlow: {
169
+ md: string;
170
+ };
171
+ margin: any;
172
+ padding: any;
173
+ width: {
174
+ base: string;
175
+ md: string;
176
+ };
177
+ };
178
+ heading: {
179
+ marginBottom: string;
180
+ a: {
181
+ textDecoration: string;
182
+ color: string;
183
+ textDecorationStyle: string;
184
+ textDecorationThickness: string;
185
+ textUnderlineOffset: string;
186
+ _dark: {
187
+ color: string;
188
+ };
189
+ _hover: {
190
+ color: string;
191
+ textDecorationStyle: string;
192
+ textDecorationThickness: string;
193
+ _dark: {
194
+ color: string;
195
+ };
196
+ };
197
+ _visited: {
198
+ color: string;
199
+ _dark: {
200
+ color: string;
201
+ };
202
+ };
203
+ };
204
+ };
205
+ } | {
206
+ display: string;
207
+ flexFlow: {
208
+ base: string;
209
+ md: string;
210
+ };
211
+ maxWidth: string;
212
+ textAlign: string;
213
+ alignItems: string;
214
+ border?: undefined;
215
+ borderColor?: undefined;
216
+ _dark?: undefined;
217
+ actions: {
218
+ flexShrink: {
219
+ base: string;
220
+ md: string;
221
+ };
222
+ marginStart: {
223
+ base: string;
224
+ md: string;
225
+ };
226
+ marginTop: {
227
+ base: string;
228
+ md: string;
229
+ };
230
+ maxWidth: {
231
+ base: string;
232
+ md: string;
233
+ };
234
+ width: string;
235
+ };
236
+ body: {
237
+ display: {
238
+ md: string;
239
+ };
240
+ flexBasis: {
241
+ sm: string;
242
+ };
243
+ flexFlow: {
244
+ md: string;
245
+ };
246
+ margin: any;
247
+ padding: any;
248
+ width: {
249
+ base: string;
250
+ md: string;
251
+ };
252
+ };
253
+ heading: {
254
+ marginBottom: string;
255
+ a: {
256
+ textDecoration: string;
257
+ color: string;
258
+ textDecorationStyle: string;
259
+ textDecorationThickness: string;
260
+ textUnderlineOffset: string;
261
+ _dark: {
262
+ color: string;
263
+ };
264
+ _hover: {
265
+ color: string;
266
+ textDecorationStyle: string;
267
+ textDecorationThickness: string;
268
+ _dark: {
269
+ color: string;
270
+ };
271
+ };
272
+ _visited: {
273
+ color: string;
274
+ _dark: {
275
+ color: string;
276
+ };
277
+ };
278
+ };
279
+ };
280
+ } | {
281
+ display: string;
282
+ flexFlow: string;
283
+ maxWidth?: undefined;
284
+ textAlign: string;
285
+ alignItems: string;
286
+ border?: undefined;
287
+ borderColor?: undefined;
288
+ _dark?: undefined;
289
+ actions: {
290
+ flexShrink: {
291
+ base: string;
292
+ md: string;
293
+ };
294
+ marginStart: {
295
+ base: string;
296
+ md: string;
297
+ };
298
+ marginTop: {
299
+ base: string;
300
+ md: string;
301
+ };
302
+ maxWidth: {
303
+ base: string;
304
+ md: string;
305
+ };
306
+ width: string;
307
+ };
308
+ body: {
309
+ display: {
310
+ md: string;
311
+ };
312
+ flexBasis: {
313
+ sm: string;
314
+ };
315
+ flexFlow: {
316
+ md: string;
317
+ };
318
+ margin: any;
319
+ padding: any;
320
+ width: {
321
+ base: string;
322
+ md: string;
323
+ };
324
+ };
325
+ heading: {
326
+ marginBottom: string;
327
+ a: {
328
+ textDecoration: string;
329
+ color: string;
330
+ textDecorationStyle: string;
331
+ textDecorationThickness: string;
332
+ textUnderlineOffset: string;
333
+ _dark: {
334
+ color: string;
335
+ };
336
+ _hover: {
337
+ color: string;
338
+ textDecorationStyle: string;
339
+ textDecorationThickness: string;
340
+ _dark: {
341
+ color: string;
342
+ };
343
+ };
344
+ _visited: {
345
+ color: string;
346
+ _dark: {
347
+ color: string;
348
+ };
349
+ };
350
+ };
351
+ };
352
+ };
353
+ };
354
+ CardActions: {
355
+ baseStyle: ({ bottomBorder, isCentered, layout, topBorder, }: CardActionsBaseStyleProps) => {
356
+ justifyContent: any;
357
+ borderColor: string;
358
+ _dark: {
359
+ borderColor: string;
360
+ };
361
+ borderBottom: string;
362
+ paddingBottom: string;
363
+ borderTop: string;
364
+ paddingTop: string;
365
+ marginBottom: string;
366
+ columnGap: string;
367
+ display: string;
368
+ _last: {
369
+ marginBottom: string;
370
+ };
371
+ } | {
372
+ justifyContent: any;
373
+ borderColor: string;
374
+ _dark: {
375
+ borderColor: string;
376
+ };
377
+ borderBottom?: undefined;
378
+ paddingBottom?: undefined;
379
+ borderTop: string;
380
+ paddingTop: string;
381
+ marginBottom: string;
382
+ columnGap: string;
383
+ display: string;
384
+ _last: {
385
+ marginBottom: string;
386
+ };
387
+ } | {
388
+ justifyContent: any;
389
+ borderColor: string;
390
+ _dark: {
391
+ borderColor: string;
392
+ };
393
+ borderBottom: string;
394
+ paddingBottom: string;
395
+ borderTop?: undefined;
396
+ paddingTop?: undefined;
397
+ marginBottom: string;
398
+ columnGap: string;
399
+ display: string;
400
+ _last: {
401
+ marginBottom: string;
402
+ };
403
+ } | {
404
+ justifyContent: any;
405
+ borderColor: string;
406
+ _dark: {
407
+ borderColor: string;
408
+ };
409
+ borderBottom?: undefined;
410
+ paddingBottom?: undefined;
411
+ borderTop?: undefined;
412
+ paddingTop?: undefined;
413
+ marginBottom: string;
414
+ columnGap: string;
415
+ display: string;
416
+ _last: {
417
+ marginBottom: string;
418
+ };
419
+ };
420
+ };
421
+ CardContent: {
422
+ baseStyle: {
423
+ marginBottom: string;
424
+ _last: {
425
+ marginBottom: string;
426
+ };
427
+ };
428
+ };
429
+ CardImage: {
430
+ baseStyle: ({ imageIsAtEnd, isCentered, layout, size, }: CardImageBaseStyleProps) => {
431
+ flex: {
432
+ md: string;
433
+ };
434
+ maxWidth: {
435
+ base: string;
436
+ md: string;
437
+ };
438
+ textAlign: string;
439
+ alignItems: string;
440
+ margin: {
441
+ base: string;
442
+ md: string;
443
+ };
444
+ width: {
445
+ base: string;
446
+ md: any;
447
+ };
448
+ marginBottom: string[];
449
+ marginTop: string;
450
+ order: string;
451
+ } | {
452
+ marginBottom: string;
453
+ width: string;
454
+ marginTop: string;
455
+ order: string;
456
+ } | {
457
+ flex: {
458
+ md: string;
459
+ };
460
+ maxWidth: {
461
+ base: string;
462
+ md: string;
463
+ };
464
+ textAlign: string;
465
+ alignItems: string;
466
+ margin: {
467
+ base: string;
468
+ md: string;
469
+ };
470
+ width: {
471
+ base: string;
472
+ md: any;
473
+ };
474
+ marginBottom: string[];
475
+ marginTop?: undefined;
476
+ order?: undefined;
477
+ } | {
478
+ marginBottom: string;
479
+ width: string;
480
+ marginTop?: undefined;
481
+ order?: undefined;
482
+ };
483
+ };
484
+ };
485
+ export default _default;
@@ -0,0 +1,178 @@
1
+ declare const Checkbox: {
2
+ parts: string[];
3
+ baseStyle: {
4
+ _hover: {
5
+ span: {
6
+ _first: {
7
+ borderColor: string;
8
+ };
9
+ _checked: {
10
+ borderColor: string;
11
+ };
12
+ _disabled: {
13
+ borderColor: string;
14
+ };
15
+ _invalid: {
16
+ borderColor: string;
17
+ };
18
+ };
19
+ _dark: {
20
+ span: {
21
+ _first: {
22
+ borderColor: string;
23
+ };
24
+ _checked: {
25
+ borderColor: string;
26
+ };
27
+ _disabled: {
28
+ borderColor: string;
29
+ };
30
+ _invalid: {
31
+ borderColor: string;
32
+ };
33
+ };
34
+ };
35
+ };
36
+ icon: {
37
+ transitionProperty: string;
38
+ transitionDuration: string;
39
+ width: string;
40
+ height: string;
41
+ };
42
+ control: {
43
+ border: string;
44
+ borderRadius: string;
45
+ borderColor: string;
46
+ backgroundColor: string;
47
+ color: string;
48
+ outline: string;
49
+ transitionProperty: string;
50
+ transitionDuration: string;
51
+ _checked: {
52
+ bg: string;
53
+ borderColor: string;
54
+ color: string;
55
+ _hover: {
56
+ bg: string;
57
+ };
58
+ _disabled: {
59
+ bg: string;
60
+ borderColor: string;
61
+ svg: {
62
+ color: string;
63
+ };
64
+ };
65
+ _indeterminate: {
66
+ color: string;
67
+ borderColor: string;
68
+ };
69
+ };
70
+ _indeterminate: {
71
+ color: string;
72
+ borderColor: string;
73
+ };
74
+ _disabled: {
75
+ bg: string;
76
+ borderColor: string;
77
+ };
78
+ _focus: {
79
+ boxShadow: string;
80
+ outlineColor: string;
81
+ };
82
+ _invalid: {
83
+ borderColor: string;
84
+ color: string;
85
+ };
86
+ _dark: {
87
+ borderColor: string;
88
+ backgroundColor: string;
89
+ color: string;
90
+ _checked: {
91
+ borderColor: string;
92
+ color: string;
93
+ _disabled: {
94
+ backgroundColor: string;
95
+ borderColor: string;
96
+ svg: {
97
+ color: string;
98
+ };
99
+ };
100
+ _indeterminate: {
101
+ color: string;
102
+ borderColor: string;
103
+ };
104
+ _invalid: {
105
+ borderColor: string;
106
+ color: string;
107
+ };
108
+ };
109
+ _indeterminate: {
110
+ color: string;
111
+ borderColor: string;
112
+ };
113
+ _disabled: {
114
+ backgroundColor: string;
115
+ borderColor: string;
116
+ svg: {
117
+ color: string;
118
+ };
119
+ };
120
+ _focus: {
121
+ boxShadow: string;
122
+ outlineColor: string;
123
+ };
124
+ _invalid: {
125
+ borderColor: string;
126
+ color: string;
127
+ };
128
+ };
129
+ };
130
+ label: {
131
+ userSelect: string;
132
+ fontWeight: string;
133
+ marginBottom: string;
134
+ marginStart: string;
135
+ width: string;
136
+ _disabled: {
137
+ color: string;
138
+ opacity: number;
139
+ fontStyle: string;
140
+ };
141
+ _invalid: {
142
+ color: string;
143
+ };
144
+ _dark: {
145
+ _disabled: {
146
+ color: string;
147
+ };
148
+ _invalid: {
149
+ color: string;
150
+ };
151
+ };
152
+ };
153
+ helperErrorText: {
154
+ marginStart: string;
155
+ _disabled: {
156
+ color: string;
157
+ fontStyle: string;
158
+ };
159
+ };
160
+ };
161
+ sizes: {
162
+ lg: {
163
+ control: {
164
+ borderRadius: string;
165
+ h: string;
166
+ w: string;
167
+ };
168
+ label: {
169
+ fontSize: string;
170
+ };
171
+ };
172
+ };
173
+ defaultProps: {
174
+ size: string;
175
+ colorScheme: string;
176
+ };
177
+ };
178
+ export default Checkbox;
@@ -0,0 +1,14 @@
1
+ declare const CheckboxGroup: {
2
+ parts: string[];
3
+ baseStyle: ({ isFullWidth }: {
4
+ isFullWidth?: boolean;
5
+ }) => {
6
+ helperErrorText: {
7
+ marginTop: string;
8
+ };
9
+ label: {
10
+ width: string;
11
+ };
12
+ };
13
+ };
14
+ export default CheckboxGroup;
@@ -0,0 +1,12 @@
1
+ interface ComponentWrapperProps {
2
+ hasChildren: boolean;
3
+ }
4
+ declare const ComponentWrapper: {
5
+ parts: string[];
6
+ baseStyle: ({ hasChildren }: ComponentWrapperProps) => {
7
+ helperErrorText: {
8
+ marginTop: string;
9
+ };
10
+ };
11
+ };
12
+ export default ComponentWrapper;