@nypl/design-system-react-components 2.0.0 → 2.0.1

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 (279) 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 +37569 -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/FeedbackBox/FeedbackBox.d.ts +64 -0
  16. package/dist/src/components/FeedbackBox/useFeedbackBoxReducer.d.ts +19 -0
  17. package/dist/src/components/Fieldset/Fieldset.d.ts +24 -0
  18. package/dist/src/components/Form/Form.d.ts +31 -0
  19. package/dist/src/components/Grid/SimpleGrid.d.ts +20 -0
  20. package/dist/src/components/Heading/Heading.d.ts +42 -0
  21. package/dist/src/components/HelperErrorText/HelperErrorText.d.ts +34 -0
  22. package/dist/src/components/Hero/Hero.d.ts +49 -0
  23. package/dist/src/components/HorizontalRule/HorizontalRule.d.ts +11 -0
  24. package/dist/src/components/Icons/Icon.d.ts +41 -0
  25. package/dist/src/components/Icons/IconSvgs.d.ts +196 -0
  26. package/dist/src/components/Icons/iconVariables.d.ts +6 -0
  27. package/dist/src/components/Image/Image.d.ts +68 -0
  28. package/dist/src/components/Label/Label.d.ts +25 -0
  29. package/dist/src/components/Link/Link.d.ts +32 -0
  30. package/dist/src/components/List/List.d.ts +43 -0
  31. package/dist/src/components/Logo/Logo.d.ts +29 -0
  32. package/dist/src/components/Logo/LogoSvgs.d.ts +166 -0
  33. package/dist/src/components/Logo/logoVariables.d.ts +2 -0
  34. package/dist/src/components/Modal/Modal.d.ts +35 -0
  35. package/dist/src/components/Notification/Notification.d.ts +52 -0
  36. package/dist/src/components/Pagination/Pagination.d.ts +27 -0
  37. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +32 -0
  38. package/dist/src/components/Radio/Radio.d.ts +43 -0
  39. package/dist/src/components/RadioGroup/RadioGroup.d.ts +51 -0
  40. package/dist/src/components/SearchBar/SearchBar.d.ts +58 -0
  41. package/dist/src/components/Select/Select.d.ts +59 -0
  42. package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
  43. package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +19 -0
  44. package/dist/src/components/Slider/Slider.d.ts +65 -0
  45. package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +42 -0
  46. package/dist/src/components/SocialMediaLinks/SocialMediaLinksUtils.d.ts +7 -0
  47. package/dist/src/components/StatusBadge/StatusBadge.d.ts +19 -0
  48. package/dist/src/components/StructuredContent/StructuredContent.d.ts +30 -0
  49. package/dist/src/components/StyleGuide/ColorCard.d.ts +348 -0
  50. package/dist/src/components/StyledList/StyledList.d.ts +26 -0
  51. package/dist/src/components/Table/Table.d.ts +32 -0
  52. package/dist/src/components/Tabs/Tabs.d.ts +28 -0
  53. package/dist/src/components/TagSet/TagSet.d.ts +24 -0
  54. package/dist/src/components/TagSet/TagSetExplore.d.ts +28 -0
  55. package/dist/src/components/TagSet/TagSetFilter.d.ts +25 -0
  56. package/dist/src/components/TagSet/TooltipWrapper.d.ts +9 -0
  57. package/dist/src/components/Template/Template.d.ts +140 -0
  58. package/dist/src/components/Text/Text.d.ts +27 -0
  59. package/dist/src/components/TextInput/TextInput.d.ts +89 -0
  60. package/dist/src/components/Toggle/Toggle.d.ts +43 -0
  61. package/dist/src/components/Tooltip/Tooltip.d.ts +17 -0
  62. package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +42 -0
  63. package/dist/src/helpers/types.d.ts +2 -0
  64. package/dist/src/hooks/useCarouselStyles.d.ts +17 -0
  65. package/dist/src/hooks/useCloseDropDown.d.ts +7 -0
  66. package/dist/src/hooks/useNYPLBreakpoints.d.ts +13 -0
  67. package/dist/src/hooks/useNYPLTheme.d.ts +75 -0
  68. package/dist/src/hooks/useStateWithDependencies.d.ts +5 -0
  69. package/dist/src/hooks/useWindowSize.d.ts +10 -0
  70. package/dist/src/index.d.ts +83 -0
  71. package/dist/src/theme/components/accordion.d.ts +34 -0
  72. package/dist/src/theme/components/alphabetFilter.d.ts +40 -0
  73. package/dist/src/theme/components/audioPlayer.d.ts +16 -0
  74. package/dist/src/theme/components/breadcrumb.d.ts +158 -0
  75. package/dist/src/theme/components/button.d.ts +152 -0
  76. package/dist/src/theme/components/buttonGroup.d.ts +11 -0
  77. package/dist/src/theme/components/card.d.ts +485 -0
  78. package/dist/src/theme/components/checkbox.d.ts +178 -0
  79. package/dist/src/theme/components/checkboxGroup.d.ts +14 -0
  80. package/dist/src/theme/components/componentWrapper.d.ts +12 -0
  81. package/dist/src/theme/components/customTable.d.ts +739 -0
  82. package/dist/src/theme/components/datePicker.d.ts +17 -0
  83. package/dist/src/theme/components/feedbackBox.d.ts +100 -0
  84. package/dist/src/theme/components/fieldset.d.ts +24 -0
  85. package/dist/src/theme/components/filterBar.d.ts +46 -0
  86. package/dist/src/theme/components/global.d.ts +141 -0
  87. package/dist/src/theme/components/globalMixins.d.ts +40 -0
  88. package/dist/src/theme/components/heading.d.ts +372 -0
  89. package/dist/src/theme/components/helperErrorText.d.ts +18 -0
  90. package/dist/src/theme/components/hero.d.ts +639 -0
  91. package/dist/src/theme/components/horizontalRule.d.ts +18 -0
  92. package/dist/src/theme/components/icon.d.ts +62251 -0
  93. package/dist/src/theme/components/image.d.ts +754 -0
  94. package/dist/src/theme/components/label.d.ts +22 -0
  95. package/dist/src/theme/components/link.d.ts +152 -0
  96. package/dist/src/theme/components/list.d.ts +230 -0
  97. package/dist/src/theme/components/logo.d.ts +477 -0
  98. package/dist/src/theme/components/modal.d.ts +27 -0
  99. package/dist/src/theme/components/multiSelect.d.ts +29 -0
  100. package/dist/src/theme/components/multiSelectMenuButton.d.ts +99 -0
  101. package/dist/src/theme/components/notification.d.ts +137 -0
  102. package/dist/src/theme/components/pagination.d.ts +19 -0
  103. package/dist/src/theme/components/progressIndicator.d.ts +69 -0
  104. package/dist/src/theme/components/radio.d.ts +202 -0
  105. package/dist/src/theme/components/radioGroup.d.ts +14 -0
  106. package/dist/src/theme/components/searchBar.d.ts +34 -0
  107. package/dist/src/theme/components/select.d.ts +126 -0
  108. package/dist/src/theme/components/skeletonLoader.d.ts +105 -0
  109. package/dist/src/theme/components/skipNavigation.d.ts +28 -0
  110. package/dist/src/theme/components/slider.d.ts +78 -0
  111. package/dist/src/theme/components/socialmedialinks.d.ts +192 -0
  112. package/dist/src/theme/components/statusBadge.d.ts +37 -0
  113. package/dist/src/theme/components/structuredContent.d.ts +454 -0
  114. package/dist/src/theme/components/styledList.d.ts +51 -0
  115. package/dist/src/theme/components/tabs.d.ts +172 -0
  116. package/dist/src/theme/components/tagSet.d.ts +154 -0
  117. package/dist/src/theme/components/template.d.ts +98 -0
  118. package/dist/src/theme/components/text.d.ts +59 -0
  119. package/dist/src/theme/components/textInput.d.ts +360 -0
  120. package/dist/src/theme/components/toggle.d.ts +129 -0
  121. package/dist/src/theme/components/tooltip.d.ts +21 -0
  122. package/dist/src/theme/components/videoPlayer.d.ts +47 -0
  123. package/dist/src/theme/foundations/breakpoints.d.ts +23 -0
  124. package/dist/src/theme/foundations/colors.d.ts +3 -0
  125. package/dist/src/theme/foundations/global.d.ts +68 -0
  126. package/dist/src/theme/foundations/radii.d.ts +11 -0
  127. package/dist/src/theme/foundations/shadows.d.ts +4 -0
  128. package/dist/src/theme/foundations/spacing.d.ts +96 -0
  129. package/dist/src/theme/foundations/typography.d.ts +8 -0
  130. package/dist/src/theme/index.d.ts +20 -0
  131. package/dist/src/theme/internalChakraProvider.d.ts +67 -0
  132. package/dist/src/theme/provider.d.ts +4 -0
  133. package/dist/src/theme/types.d.ts +1 -0
  134. package/dist/src/utils/colorUtils.d.ts +5 -0
  135. package/dist/src/utils/interfaces.d.ts +5 -0
  136. package/dist/src/utils/utils.d.ts +41 -0
  137. package/dist/styles.css +1 -0
  138. package/package.json +129 -24
  139. package/CHANGELOG.md +0 -139
  140. package/dist/design-system-react-components.min.js +0 -23
  141. package/dist/design-system-react-components.min.js.map +0 -1
  142. package/lib/components/00-base/Container/Container.d.ts +0 -6
  143. package/lib/components/00-base/Container/Container.js +0 -19
  144. package/lib/components/00-base/Container/Modal.d.ts +0 -12
  145. package/lib/components/00-base/Container/Modal.js +0 -29
  146. package/lib/components/00-base/Container/Modal.stories.d.ts +0 -7
  147. package/lib/components/00-base/Container/Modal.stories.js +0 -20
  148. package/lib/components/00-base/Placeholder.d.ts +0 -10
  149. package/lib/components/00-base/Placeholder.js +0 -23
  150. package/lib/components/00-base/SectionName.d.ts +0 -4
  151. package/lib/components/00-base/SectionName.js +0 -16
  152. package/lib/components/01-atoms/Button/Button.d.ts +0 -52
  153. package/lib/components/01-atoms/Button/Button.js +0 -76
  154. package/lib/components/01-atoms/Button/Button.stories.d.ts +0 -14
  155. package/lib/components/01-atoms/Button/Button.stories.js +0 -33
  156. package/lib/components/01-atoms/Button/ButtonTypes.d.ts +0 -10
  157. package/lib/components/01-atoms/Button/ButtonTypes.js +0 -14
  158. package/lib/components/01-atoms/Forms/Checkbox.d.ts +0 -21
  159. package/lib/components/01-atoms/Forms/Checkbox.js +0 -27
  160. package/lib/components/01-atoms/Forms/Checkbox.stories.d.ts +0 -7
  161. package/lib/components/01-atoms/Forms/Checkbox.stories.js +0 -23
  162. package/lib/components/01-atoms/Forms/DateRangeForm.d.ts +0 -31
  163. package/lib/components/01-atoms/Forms/DateRangeForm.js +0 -27
  164. package/lib/components/01-atoms/Forms/DateRangeForm.stories.d.ts +0 -9
  165. package/lib/components/01-atoms/Forms/DateRangeForm.stories.js +0 -23
  166. package/lib/components/01-atoms/Forms/FormDropdown.d.ts +0 -22
  167. package/lib/components/01-atoms/Forms/FormDropdown.js +0 -64
  168. package/lib/components/01-atoms/Forms/FormDropdown.stories.d.ts +0 -8
  169. package/lib/components/01-atoms/Forms/FormDropdown.stories.js +0 -22
  170. package/lib/components/01-atoms/Forms/HelperErrorText.d.ts +0 -26
  171. package/lib/components/01-atoms/Forms/HelperErrorText.js +0 -29
  172. package/lib/components/01-atoms/Forms/HelperErrorText.stories.d.ts +0 -9
  173. package/lib/components/01-atoms/Forms/HelperErrorText.stories.js +0 -23
  174. package/lib/components/01-atoms/Forms/Input.d.ts +0 -47
  175. package/lib/components/01-atoms/Forms/Input.js +0 -39
  176. package/lib/components/01-atoms/Forms/Input.stories.d.ts +0 -10
  177. package/lib/components/01-atoms/Forms/Input.stories.js +0 -22
  178. package/lib/components/01-atoms/Forms/Label.d.ts +0 -19
  179. package/lib/components/01-atoms/Forms/Label.js +0 -22
  180. package/lib/components/01-atoms/Forms/Label.stories.d.ts +0 -7
  181. package/lib/components/01-atoms/Forms/Label.stories.js +0 -20
  182. package/lib/components/01-atoms/Forms/TextField.d.ts +0 -26
  183. package/lib/components/01-atoms/Forms/TextField.js +0 -36
  184. package/lib/components/01-atoms/Forms/TextField.stories.d.ts +0 -7
  185. package/lib/components/01-atoms/Forms/TextField.stories.js +0 -20
  186. package/lib/components/01-atoms/Images/Icons/Icon.d.ts +0 -14
  187. package/lib/components/01-atoms/Images/Icons/Icon.js +0 -38
  188. package/lib/components/01-atoms/Images/Image/Image.d.ts +0 -8
  189. package/lib/components/01-atoms/Images/Image/Image.js +0 -32
  190. package/lib/components/01-atoms/Images/Image/Image.stories.d.ts +0 -8
  191. package/lib/components/01-atoms/Images/Image/Image.stories.js +0 -24
  192. package/lib/components/01-atoms/Links/BasicLink.d.ts +0 -15
  193. package/lib/components/01-atoms/Links/BasicLink.js +0 -50
  194. package/lib/components/01-atoms/Links/BasicLink.stories.d.ts +0 -8
  195. package/lib/components/01-atoms/Links/BasicLink.stories.js +0 -21
  196. package/lib/components/01-atoms/Links/IconLink.d.ts +0 -13
  197. package/lib/components/01-atoms/Links/IconLink.js +0 -44
  198. package/lib/components/01-atoms/Links/IconLink.stories.d.ts +0 -10
  199. package/lib/components/01-atoms/Links/IconLink.stories.js +0 -24
  200. package/lib/components/01-atoms/Links/Link.d.ts +0 -13
  201. package/lib/components/01-atoms/Links/Link.js +0 -51
  202. package/lib/components/01-atoms/Links/UnderlineLink.d.ts +0 -11
  203. package/lib/components/01-atoms/Links/UnderlineLink.js +0 -29
  204. package/lib/components/01-atoms/Links/UnderlineLink.stories.d.ts +0 -8
  205. package/lib/components/01-atoms/Links/UnderlineLink.stories.js +0 -21
  206. package/lib/components/01-atoms/Text/Headings/Heading.d.ts +0 -16
  207. package/lib/components/01-atoms/Text/Headings/Heading.js +0 -40
  208. package/lib/components/01-atoms/Text/Headings/Heading.stories.d.ts +0 -12
  209. package/lib/components/01-atoms/Text/Headings/Heading.stories.js +0 -35
  210. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.d.ts +0 -2
  211. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.js +0 -18
  212. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.d.ts +0 -7
  213. package/lib/components/01-atoms/Text/Headings/RNSectionTitle.stories.js +0 -24
  214. package/lib/components/01-atoms/Text/Text/BodyText.d.ts +0 -12
  215. package/lib/components/01-atoms/Text/Text/BodyText.js +0 -73
  216. package/lib/components/01-atoms/Text/Text/BodyText.stories.d.ts +0 -14
  217. package/lib/components/01-atoms/Text/Text/BodyText.stories.js +0 -54
  218. package/lib/components/02-molecules/Cards/EditionCard.d.ts +0 -31
  219. package/lib/components/02-molecules/Cards/EditionCard.js +0 -51
  220. package/lib/components/02-molecules/Cards/EditionCard.stories.d.ts +0 -13
  221. package/lib/components/02-molecules/Cards/EditionCard.stories.js +0 -26
  222. package/lib/components/02-molecules/Cards/SearchResultItem.d.ts +0 -17
  223. package/lib/components/02-molecules/Cards/SearchResultItem.js +0 -40
  224. package/lib/components/02-molecules/Cards/SearchResultItem.stories.d.ts +0 -8
  225. package/lib/components/02-molecules/Cards/SearchResultItem.stories.js +0 -31
  226. package/lib/components/02-molecules/Dropdown/Dropdown.d.ts +0 -21
  227. package/lib/components/02-molecules/Dropdown/Dropdown.js +0 -55
  228. package/lib/components/02-molecules/Dropdown/Dropdown.stories.d.ts +0 -14
  229. package/lib/components/02-molecules/Dropdown/Dropdown.stories.js +0 -33
  230. package/lib/components/02-molecules/Headings/SectionTitle.d.ts +0 -17
  231. package/lib/components/02-molecules/Headings/SectionTitle.js +0 -42
  232. package/lib/components/02-molecules/Headings/SectionTitle.stories.d.ts +0 -8
  233. package/lib/components/02-molecules/Headings/SectionTitle.stories.js +0 -20
  234. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.d.ts +0 -14
  235. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.js +0 -51
  236. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -8
  237. package/lib/components/02-molecules/Menus/Breadcrumbs/Breadcrumbs.stories.js +0 -30
  238. package/lib/components/02-molecules/Menus/Pagination/Pagination.d.ts +0 -11
  239. package/lib/components/02-molecules/Menus/Pagination/Pagination.js +0 -57
  240. package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.d.ts +0 -7
  241. package/lib/components/02-molecules/Menus/Pagination/Pagination.stories.js +0 -20
  242. package/lib/components/02-molecules/SearchBar/SearchBar.d.ts +0 -26
  243. package/lib/components/02-molecules/SearchBar/SearchBar.js +0 -69
  244. package/lib/components/02-molecules/SearchBar/SearchBar.stories.d.ts +0 -11
  245. package/lib/components/02-molecules/SearchBar/SearchBar.stories.js +0 -24
  246. package/lib/components/03-organisms/Accordion/Accordion.d.ts +0 -19
  247. package/lib/components/03-organisms/Accordion/Accordion.js +0 -41
  248. package/lib/components/03-organisms/Accordion/Accordion.stories.d.ts +0 -7
  249. package/lib/components/03-organisms/Accordion/Accordion.stories.js +0 -30
  250. package/lib/components/03-organisms/Headers/HeaderImgRight.d.ts +0 -12
  251. package/lib/components/03-organisms/Headers/HeaderImgRight.js +0 -32
  252. package/lib/components/03-organisms/Headers/HeaderImgRight.stories.d.ts +0 -7
  253. package/lib/components/03-organisms/Headers/HeaderImgRight.stories.js +0 -19
  254. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.d.ts +0 -19
  255. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.js +0 -27
  256. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.d.ts +0 -7
  257. package/lib/components/03-organisms/Headers/RNHeaderWithSearch.stories.js +0 -26
  258. package/lib/components/03-organisms/Hero/Hero.d.ts +0 -31
  259. package/lib/components/03-organisms/Hero/Hero.js +0 -62
  260. package/lib/components/03-organisms/Hero/Hero.stories.d.ts +0 -11
  261. package/lib/components/03-organisms/Hero/Hero.stories.js +0 -35
  262. package/lib/components/03-organisms/Hero/HeroTypes.d.ts +0 -6
  263. package/lib/components/03-organisms/Hero/HeroTypes.js +0 -9
  264. package/lib/components/03-organisms/List/UnorderedList.d.ts +0 -18
  265. package/lib/components/03-organisms/List/UnorderedList.js +0 -28
  266. package/lib/components/03-organisms/List/UnorderedList.stories.d.ts +0 -11
  267. package/lib/components/03-organisms/List/UnorderedList.stories.js +0 -73
  268. package/lib/components/03-organisms/SearchPromo/SearchPromo.d.ts +0 -22
  269. package/lib/components/03-organisms/SearchPromo/SearchPromo.js +0 -30
  270. package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.d.ts +0 -8
  271. package/lib/components/03-organisms/SearchPromo/SearchPromo.stories.js +0 -28
  272. package/lib/helpers/hoc/WithOneChild.d.ts +0 -8
  273. package/lib/helpers/hoc/WithOneChild.js +0 -63
  274. package/lib/index.d.ts +0 -24
  275. package/lib/index.js +0 -51
  276. package/lib/utils/bem.d.ts +0 -1
  277. package/lib/utils/bem.js +0 -35
  278. package/tsd.d.ts +0 -4
  279. package/webpack.prod.js +0 -38
@@ -0,0 +1,154 @@
1
+ declare const _default: {
2
+ TagSet: {
3
+ baseStyle: () => {
4
+ display: string;
5
+ flexWrap: string;
6
+ gap: string;
7
+ };
8
+ };
9
+ TagSetExplore: {
10
+ baseStyle: {
11
+ display: string;
12
+ alignItems: string;
13
+ justifyContent: string;
14
+ bg: string;
15
+ border: string;
16
+ borderColor: string;
17
+ borderRadius: string;
18
+ color: string;
19
+ cursor: string;
20
+ fontSize: string;
21
+ height: {
22
+ base: string;
23
+ md: string;
24
+ };
25
+ minHeight: string;
26
+ maxWidth: string;
27
+ py: string;
28
+ px: string;
29
+ textDecoration: string;
30
+ transition: string;
31
+ _focusWithin: {
32
+ boxShadow: string;
33
+ outline: string;
34
+ outlineOffset: string;
35
+ outlineColor: string;
36
+ zIndex: string;
37
+ _dark: {
38
+ outlineColor: string;
39
+ };
40
+ };
41
+ a: {
42
+ border: string;
43
+ _focus: {
44
+ outline: string;
45
+ };
46
+ };
47
+ "> span": {
48
+ display: string;
49
+ overflow: string;
50
+ textOverflow: string;
51
+ whiteSpace: string;
52
+ };
53
+ svg: {
54
+ fill: string;
55
+ };
56
+ _hover: {
57
+ bg: string;
58
+ a: {
59
+ color: string;
60
+ };
61
+ svg: {
62
+ fill: string;
63
+ };
64
+ "> span": {
65
+ color: string;
66
+ };
67
+ };
68
+ _dark: {
69
+ bg: string;
70
+ borderColor: string;
71
+ color: string;
72
+ a: {
73
+ color: string;
74
+ };
75
+ svg: {
76
+ fill: string;
77
+ };
78
+ _hover: {
79
+ bg: string;
80
+ a: {
81
+ color: string;
82
+ };
83
+ svg: {
84
+ fill: string;
85
+ };
86
+ "> span": {
87
+ color: string;
88
+ };
89
+ };
90
+ };
91
+ };
92
+ };
93
+ TagSetFilter: {
94
+ parts: string[];
95
+ baseStyle: ({ isDismissible }: {
96
+ isDismissible: boolean;
97
+ }) => {
98
+ display: string;
99
+ alignItems: string;
100
+ justifyContent: string;
101
+ bg: string;
102
+ border: string;
103
+ borderColor: string;
104
+ borderRadius: string;
105
+ color: string;
106
+ cursor: string;
107
+ height: {
108
+ base: string;
109
+ md: string;
110
+ };
111
+ minHeight: string;
112
+ maxWidth: string;
113
+ py: string;
114
+ paddingLeft: string;
115
+ paddingRight: string | {
116
+ base: string;
117
+ md: string;
118
+ };
119
+ fontSize: string;
120
+ "> span": {
121
+ display: string;
122
+ overflow: string;
123
+ textOverflow: string;
124
+ whiteSpace: string;
125
+ };
126
+ _hover: {
127
+ bg: string;
128
+ borderColor: string;
129
+ };
130
+ _dark: {
131
+ bg: string;
132
+ borderColor: string;
133
+ color: string;
134
+ _hover: {
135
+ bg: string;
136
+ borderColor: string;
137
+ };
138
+ };
139
+ clearAll: {
140
+ color: string;
141
+ height: {
142
+ base: string;
143
+ md: string;
144
+ };
145
+ fontSize: string;
146
+ minHeight: string;
147
+ _dark: {
148
+ color: string;
149
+ };
150
+ };
151
+ };
152
+ };
153
+ };
154
+ export default _default;
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Grid layout based on https://www.joshwcomeau.com/css/full-bleed/
3
+ */
4
+ declare const _default: {
5
+ Template: {
6
+ baseStyle: {
7
+ boxSizing: string;
8
+ color: string;
9
+ display: string;
10
+ gridTemplateColumns: string;
11
+ rowGap: string;
12
+ _dark: {
13
+ color: string;
14
+ };
15
+ };
16
+ sizes: {};
17
+ defaultProps: {};
18
+ };
19
+ TemplateBreakout: {
20
+ baseStyle: {
21
+ width: string;
22
+ gridColumn: string;
23
+ };
24
+ };
25
+ TemplateContent: {
26
+ baseStyle: {
27
+ gridColumn: string;
28
+ display: string;
29
+ gridTemplateColumns: string;
30
+ paddingY: number;
31
+ paddingX: string;
32
+ gap: string;
33
+ };
34
+ variants: {
35
+ left: {
36
+ gridTemplateColumns: {
37
+ md: string;
38
+ };
39
+ };
40
+ right: {
41
+ gridTemplateColumns: {
42
+ md: string;
43
+ };
44
+ };
45
+ };
46
+ };
47
+ TemplateContentTopBottom: {
48
+ baseStyle: {
49
+ gridColumn: {
50
+ base: string;
51
+ md: string;
52
+ };
53
+ height: string;
54
+ };
55
+ };
56
+ TemplateContentPrimary: {
57
+ baseStyle: {
58
+ gridColumn: {
59
+ base: string;
60
+ md: string;
61
+ };
62
+ };
63
+ variants: {
64
+ left: {
65
+ gridColumn: {
66
+ base: string;
67
+ md: string;
68
+ };
69
+ marginEnd: {
70
+ md: number;
71
+ };
72
+ minWidth: {
73
+ md: number;
74
+ };
75
+ };
76
+ right: {
77
+ gridColumn: {
78
+ base: string;
79
+ md: string;
80
+ };
81
+ };
82
+ };
83
+ };
84
+ TemplateContentSidebar: {
85
+ variants: {
86
+ left: {
87
+ gridColumn: string;
88
+ };
89
+ right: {
90
+ gridColumn: {
91
+ base: string;
92
+ md: string;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ };
98
+ export default _default;
@@ -0,0 +1,59 @@
1
+ interface TextBaseStyle {
2
+ isBold: boolean;
3
+ isItalic: boolean;
4
+ isCapitalized: boolean;
5
+ isUppercase: boolean;
6
+ isLowercase: boolean;
7
+ noSpace: boolean;
8
+ variant: string;
9
+ }
10
+ declare const Text: {
11
+ baseStyle: ({ isBold, isItalic, isCapitalized, isUppercase, isLowercase, noSpace, variant, }: TextBaseStyle) => {
12
+ fontStyle: string;
13
+ fontWeight: string;
14
+ textTransform: string;
15
+ marginBottom: string;
16
+ };
17
+ variants: {
18
+ default: {};
19
+ body1: {};
20
+ body2: {
21
+ fontSize: string;
22
+ };
23
+ caption: {
24
+ fontSize: string;
25
+ fontWeight: string;
26
+ };
27
+ overline1: {
28
+ fontSize: string;
29
+ fontWeight: string;
30
+ lineHeight: number;
31
+ textTransform: string;
32
+ };
33
+ overline2: {
34
+ fontSize: string;
35
+ fontWeight: string;
36
+ lineHeight: number;
37
+ textTransform: string;
38
+ };
39
+ subtitle1: {
40
+ fontSize: string;
41
+ fontWeight: string;
42
+ lineHeight: number;
43
+ };
44
+ subtitle2: {
45
+ fontSize: string;
46
+ fontWeight: string;
47
+ lineHeight: number;
48
+ };
49
+ tag: {
50
+ fontSize: string;
51
+ fontWeight: string;
52
+ };
53
+ mini: {
54
+ fontSize: string;
55
+ fontWeight: string;
56
+ };
57
+ };
58
+ };
59
+ export default Text;
@@ -0,0 +1,360 @@
1
+ declare const TextInput: {
2
+ parts: string[];
3
+ baseStyle: ({ showLabel }: {
4
+ showLabel: any;
5
+ }) => {
6
+ position: string;
7
+ input: {
8
+ bgColor: string;
9
+ border: string;
10
+ borderColor: string;
11
+ borderRadius: string;
12
+ fontSize: string;
13
+ minHeight: {
14
+ base: string;
15
+ md: string;
16
+ };
17
+ py: string;
18
+ px: string;
19
+ _hover: {
20
+ borderColor: string;
21
+ };
22
+ _disabled: {
23
+ _placeholder: {
24
+ color: string;
25
+ };
26
+ bg: string;
27
+ borderColor: string;
28
+ color: string;
29
+ opacity: string;
30
+ _dark: {
31
+ bg: string;
32
+ borderColor: string;
33
+ color: string;
34
+ };
35
+ };
36
+ _active: {
37
+ borderColor: string;
38
+ _dark: {
39
+ borderColor: string;
40
+ boxShadow: string;
41
+ outline: string;
42
+ outlineOffset: string;
43
+ outlineColor: string;
44
+ zIndex: string;
45
+ _dark: {
46
+ outlineColor: string;
47
+ };
48
+ };
49
+ boxShadow: string;
50
+ outline: string;
51
+ outlineOffset: string;
52
+ outlineColor: string;
53
+ zIndex: string;
54
+ };
55
+ _focus: {
56
+ borderColor: string;
57
+ _dark: {
58
+ borderColor: string;
59
+ boxShadow: string;
60
+ outline: string;
61
+ outlineOffset: string;
62
+ outlineColor: string;
63
+ zIndex: string;
64
+ _dark: {
65
+ outlineColor: string;
66
+ };
67
+ };
68
+ boxShadow: string;
69
+ outline: string;
70
+ outlineOffset: string;
71
+ outlineColor: string;
72
+ zIndex: string;
73
+ };
74
+ _placeholder: {
75
+ color: string;
76
+ fontStyle: string;
77
+ lineHeight: string;
78
+ };
79
+ _invalid: {
80
+ border: string;
81
+ borderColor: string;
82
+ boxShadow: string;
83
+ color: string;
84
+ _focus: {
85
+ borderColor: string;
86
+ };
87
+ };
88
+ _dark: {
89
+ bgColor: string;
90
+ borderColor: string;
91
+ _hover: {
92
+ borderColor: string;
93
+ };
94
+ _disabled: {
95
+ _placeholder: {
96
+ color: string;
97
+ };
98
+ bg: string;
99
+ borderColor: string;
100
+ color: string;
101
+ opacity: string;
102
+ _dark: {
103
+ bg: string;
104
+ borderColor: string;
105
+ color: string;
106
+ };
107
+ };
108
+ _active: {
109
+ borderColor: string;
110
+ _dark: {
111
+ borderColor: string;
112
+ boxShadow: string;
113
+ outline: string;
114
+ outlineOffset: string;
115
+ outlineColor: string;
116
+ zIndex: string;
117
+ _dark: {
118
+ outlineColor: string;
119
+ };
120
+ };
121
+ boxShadow: string;
122
+ outline: string;
123
+ outlineOffset: string;
124
+ outlineColor: string;
125
+ zIndex: string;
126
+ };
127
+ _focus: {
128
+ borderColor: string;
129
+ _dark: {
130
+ borderColor: string;
131
+ boxShadow: string;
132
+ outline: string;
133
+ outlineOffset: string;
134
+ outlineColor: string;
135
+ zIndex: string;
136
+ _dark: {
137
+ outlineColor: string;
138
+ };
139
+ };
140
+ boxShadow: string;
141
+ outline: string;
142
+ outlineOffset: string;
143
+ outlineColor: string;
144
+ zIndex: string;
145
+ };
146
+ _placeholder: {
147
+ color: string;
148
+ };
149
+ _invalid: {
150
+ borderColor: string;
151
+ color: string;
152
+ };
153
+ };
154
+ };
155
+ textarea: {
156
+ lineheight: string;
157
+ minHeight: string;
158
+ bgColor: string;
159
+ border: string;
160
+ borderColor: string;
161
+ borderRadius: string;
162
+ fontSize: string;
163
+ py: string;
164
+ px: string;
165
+ _hover: {
166
+ borderColor: string;
167
+ };
168
+ _disabled: {
169
+ _placeholder: {
170
+ color: string;
171
+ };
172
+ bg: string;
173
+ borderColor: string;
174
+ color: string;
175
+ opacity: string;
176
+ _dark: {
177
+ bg: string;
178
+ borderColor: string;
179
+ color: string;
180
+ };
181
+ };
182
+ _active: {
183
+ borderColor: string;
184
+ _dark: {
185
+ borderColor: string;
186
+ boxShadow: string;
187
+ outline: string;
188
+ outlineOffset: string;
189
+ outlineColor: string;
190
+ zIndex: string;
191
+ _dark: {
192
+ outlineColor: string;
193
+ };
194
+ };
195
+ boxShadow: string;
196
+ outline: string;
197
+ outlineOffset: string;
198
+ outlineColor: string;
199
+ zIndex: string;
200
+ };
201
+ _focus: {
202
+ borderColor: string;
203
+ _dark: {
204
+ borderColor: string;
205
+ boxShadow: string;
206
+ outline: string;
207
+ outlineOffset: string;
208
+ outlineColor: string;
209
+ zIndex: string;
210
+ _dark: {
211
+ outlineColor: string;
212
+ };
213
+ };
214
+ boxShadow: string;
215
+ outline: string;
216
+ outlineOffset: string;
217
+ outlineColor: string;
218
+ zIndex: string;
219
+ };
220
+ _placeholder: {
221
+ color: string;
222
+ fontStyle: string;
223
+ lineHeight: string;
224
+ };
225
+ _invalid: {
226
+ border: string;
227
+ borderColor: string;
228
+ boxShadow: string;
229
+ color: string;
230
+ _focus: {
231
+ borderColor: string;
232
+ };
233
+ };
234
+ _dark: {
235
+ bgColor: string;
236
+ borderColor: string;
237
+ _hover: {
238
+ borderColor: string;
239
+ };
240
+ _disabled: {
241
+ _placeholder: {
242
+ color: string;
243
+ };
244
+ bg: string;
245
+ borderColor: string;
246
+ color: string;
247
+ opacity: string;
248
+ _dark: {
249
+ bg: string;
250
+ borderColor: string;
251
+ color: string;
252
+ };
253
+ };
254
+ _active: {
255
+ borderColor: string;
256
+ _dark: {
257
+ borderColor: string;
258
+ boxShadow: string;
259
+ outline: string;
260
+ outlineOffset: string;
261
+ outlineColor: string;
262
+ zIndex: string;
263
+ _dark: {
264
+ outlineColor: string;
265
+ };
266
+ };
267
+ boxShadow: string;
268
+ outline: string;
269
+ outlineOffset: string;
270
+ outlineColor: string;
271
+ zIndex: string;
272
+ };
273
+ _focus: {
274
+ borderColor: string;
275
+ _dark: {
276
+ borderColor: string;
277
+ boxShadow: string;
278
+ outline: string;
279
+ outlineOffset: string;
280
+ outlineColor: string;
281
+ zIndex: string;
282
+ _dark: {
283
+ outlineColor: string;
284
+ };
285
+ };
286
+ boxShadow: string;
287
+ outline: string;
288
+ outlineOffset: string;
289
+ outlineColor: string;
290
+ zIndex: string;
291
+ };
292
+ _placeholder: {
293
+ color: string;
294
+ };
295
+ _invalid: {
296
+ borderColor: string;
297
+ color: string;
298
+ };
299
+ };
300
+ };
301
+ clearButton: {
302
+ borderRadius: string;
303
+ minHeight: {
304
+ base: string;
305
+ md: string;
306
+ };
307
+ height: string;
308
+ position: string;
309
+ top: string;
310
+ px: string;
311
+ right: string;
312
+ span: {
313
+ clip: string;
314
+ height: {
315
+ base: string;
316
+ md: string;
317
+ };
318
+ overflow: string;
319
+ position: {
320
+ base: string;
321
+ md: string;
322
+ };
323
+ width: {
324
+ base: string;
325
+ md: string;
326
+ };
327
+ wordWrap: string;
328
+ };
329
+ zIndex: string;
330
+ _dark: {
331
+ svg: {
332
+ fill: string;
333
+ };
334
+ };
335
+ };
336
+ };
337
+ variants: {
338
+ searchBar: {
339
+ flex: string;
340
+ input: {
341
+ borderRightRadius: string;
342
+ };
343
+ };
344
+ searchBarSelect: {
345
+ flex: string;
346
+ input: {
347
+ borderRadius: string;
348
+ borderTopLeftRadius: {
349
+ base: string;
350
+ md: string;
351
+ };
352
+ borderTopRightRadius: {
353
+ base: string;
354
+ md: string;
355
+ };
356
+ };
357
+ };
358
+ };
359
+ };
360
+ export default TextInput;