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