@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,372 @@
1
+ export declare const headings: {
2
+ one: {
3
+ width: string;
4
+ a: {
5
+ textUnderlineOffset: string;
6
+ };
7
+ marginTop: string;
8
+ marginStart: string;
9
+ marginEnd: string;
10
+ fontSize: string;
11
+ fontWeight: string;
12
+ letterSpacing: string;
13
+ lineHeight: string;
14
+ };
15
+ two: {
16
+ width: string;
17
+ a: {
18
+ textUnderlineOffset: string;
19
+ };
20
+ marginTop: string;
21
+ marginStart: string;
22
+ marginEnd: string;
23
+ fontSize: string;
24
+ fontWeight: string;
25
+ lineHeight: string;
26
+ };
27
+ three: {
28
+ width: string;
29
+ marginTop: string;
30
+ marginStart: string;
31
+ marginEnd: string;
32
+ fontSize: string;
33
+ fontWeight: string;
34
+ lineHeight: string;
35
+ };
36
+ four: {
37
+ width: string;
38
+ marginTop: string;
39
+ marginStart: string;
40
+ marginEnd: string;
41
+ fontSize: string;
42
+ fontWeight: string;
43
+ lineHeight: string;
44
+ };
45
+ fallback: {
46
+ width: string;
47
+ marginTop: string;
48
+ marginStart: string;
49
+ marginEnd: string;
50
+ fontSize: string;
51
+ fontWeight: string;
52
+ lineHeight: string;
53
+ };
54
+ display1: {
55
+ fontWeight: string;
56
+ letterSpacing: string;
57
+ lineHeight: string;
58
+ width: string;
59
+ a: {
60
+ textUnderlineOffset: string;
61
+ };
62
+ };
63
+ heading1: {
64
+ fontWeight: string;
65
+ letterSpacing: string;
66
+ lineHeight: string;
67
+ width: string;
68
+ a: {
69
+ textUnderlineOffset: string;
70
+ };
71
+ };
72
+ heading2: {
73
+ fontWeight: string;
74
+ letterSpacing: string;
75
+ lineHeight: string;
76
+ width: string;
77
+ a: {
78
+ textUnderlineOffset: string;
79
+ };
80
+ };
81
+ heading3: {
82
+ fontWeight: string;
83
+ letterSpacing: string;
84
+ lineHeight: string;
85
+ width: string;
86
+ a: {
87
+ textUnderlineOffset: string;
88
+ };
89
+ };
90
+ heading4: {
91
+ fontWeight: string;
92
+ letterSpacing: string;
93
+ lineHeight: string;
94
+ width: string;
95
+ a: {
96
+ textUnderlineOffset: string;
97
+ };
98
+ };
99
+ heading5: {
100
+ fontWeight: string;
101
+ letterSpacing: string;
102
+ lineHeight: string;
103
+ width: string;
104
+ };
105
+ heading6: {
106
+ fontWeight: string;
107
+ letterSpacing: string;
108
+ lineHeight: string;
109
+ width: string;
110
+ };
111
+ };
112
+ declare const Heading: {
113
+ parts: string[];
114
+ baseStyle: ({ isCapitalized, isUppercase, isLowercase, noSpace, url }: {
115
+ isCapitalized: any;
116
+ isUppercase: any;
117
+ isLowercase: any;
118
+ noSpace: any;
119
+ url: any;
120
+ }) => {
121
+ a: {
122
+ textDecoration: string;
123
+ color: string;
124
+ textDecorationStyle: string;
125
+ textDecorationThickness: string;
126
+ textUnderlineOffset: string;
127
+ _dark: {
128
+ color: string;
129
+ };
130
+ _hover: {
131
+ color: string;
132
+ textDecorationStyle: string;
133
+ textDecorationThickness: string;
134
+ _dark: {
135
+ color: string;
136
+ };
137
+ };
138
+ _visited: {
139
+ color: string;
140
+ _dark: {
141
+ color: string;
142
+ };
143
+ };
144
+ };
145
+ color: string;
146
+ textTransform: string;
147
+ _dark: {
148
+ color: string;
149
+ };
150
+ headingWrapper: {
151
+ marginTop: string;
152
+ marginStart: string;
153
+ marginEnd: string;
154
+ marginBottom: string;
155
+ };
156
+ };
157
+ variants: {
158
+ h1: {
159
+ fontWeight: string;
160
+ letterSpacing: string;
161
+ lineHeight: string;
162
+ width: string;
163
+ a: {
164
+ textUnderlineOffset: string;
165
+ };
166
+ };
167
+ h2: {
168
+ fontWeight: string;
169
+ letterSpacing: string;
170
+ lineHeight: string;
171
+ width: string;
172
+ a: {
173
+ textUnderlineOffset: string;
174
+ };
175
+ };
176
+ h3: {
177
+ fontWeight: string;
178
+ letterSpacing: string;
179
+ lineHeight: string;
180
+ width: string;
181
+ a: {
182
+ textUnderlineOffset: string;
183
+ };
184
+ };
185
+ h4: {
186
+ fontWeight: string;
187
+ letterSpacing: string;
188
+ lineHeight: string;
189
+ width: string;
190
+ a: {
191
+ textUnderlineOffset: string;
192
+ };
193
+ };
194
+ h5: {
195
+ fontWeight: string;
196
+ letterSpacing: string;
197
+ lineHeight: string;
198
+ width: string;
199
+ };
200
+ h6: {
201
+ fontWeight: string;
202
+ letterSpacing: string;
203
+ lineHeight: string;
204
+ width: string;
205
+ };
206
+ one: {
207
+ width: string;
208
+ a: {
209
+ textUnderlineOffset: string;
210
+ };
211
+ marginTop: string;
212
+ marginStart: string;
213
+ marginEnd: string;
214
+ fontSize: string;
215
+ fontWeight: string;
216
+ letterSpacing: string;
217
+ lineHeight: string;
218
+ };
219
+ two: {
220
+ width: string;
221
+ a: {
222
+ textUnderlineOffset: string;
223
+ };
224
+ marginTop: string;
225
+ marginStart: string;
226
+ marginEnd: string;
227
+ fontSize: string;
228
+ fontWeight: string;
229
+ lineHeight: string;
230
+ };
231
+ three: {
232
+ width: string;
233
+ marginTop: string;
234
+ marginStart: string;
235
+ marginEnd: string;
236
+ fontSize: string;
237
+ fontWeight: string;
238
+ lineHeight: string;
239
+ };
240
+ four: {
241
+ width: string;
242
+ marginTop: string;
243
+ marginStart: string;
244
+ marginEnd: string;
245
+ fontSize: string;
246
+ fontWeight: string;
247
+ lineHeight: string;
248
+ };
249
+ five: {
250
+ width: string;
251
+ marginTop: string;
252
+ marginStart: string;
253
+ marginEnd: string;
254
+ fontSize: string;
255
+ fontWeight: string;
256
+ lineHeight: string;
257
+ };
258
+ six: {
259
+ width: string;
260
+ marginTop: string;
261
+ marginStart: string;
262
+ marginEnd: string;
263
+ fontSize: string;
264
+ fontWeight: string;
265
+ lineHeight: string;
266
+ };
267
+ display1: {
268
+ fontWeight: string;
269
+ letterSpacing: string;
270
+ lineHeight: string;
271
+ width: string;
272
+ a: {
273
+ textUnderlineOffset: string;
274
+ };
275
+ };
276
+ heading1: {
277
+ fontWeight: string;
278
+ letterSpacing: string;
279
+ lineHeight: string;
280
+ width: string;
281
+ a: {
282
+ textUnderlineOffset: string;
283
+ };
284
+ };
285
+ heading2: {
286
+ fontWeight: string;
287
+ letterSpacing: string;
288
+ lineHeight: string;
289
+ width: string;
290
+ a: {
291
+ textUnderlineOffset: string;
292
+ };
293
+ };
294
+ heading3: {
295
+ fontWeight: string;
296
+ letterSpacing: string;
297
+ lineHeight: string;
298
+ width: string;
299
+ a: {
300
+ textUnderlineOffset: string;
301
+ };
302
+ };
303
+ heading4: {
304
+ fontWeight: string;
305
+ letterSpacing: string;
306
+ lineHeight: string;
307
+ width: string;
308
+ a: {
309
+ textUnderlineOffset: string;
310
+ };
311
+ };
312
+ heading5: {
313
+ fontWeight: string;
314
+ letterSpacing: string;
315
+ lineHeight: string;
316
+ width: string;
317
+ };
318
+ heading6: {
319
+ fontWeight: string;
320
+ letterSpacing: string;
321
+ lineHeight: string;
322
+ width: string;
323
+ };
324
+ primary: {
325
+ width: string;
326
+ a: {
327
+ textUnderlineOffset: string;
328
+ };
329
+ marginTop: string;
330
+ marginStart: string;
331
+ marginEnd: string;
332
+ fontSize: string;
333
+ fontWeight: string;
334
+ letterSpacing: string;
335
+ lineHeight: string;
336
+ };
337
+ secondary: {
338
+ width: string;
339
+ a: {
340
+ textUnderlineOffset: string;
341
+ };
342
+ marginTop: string;
343
+ marginStart: string;
344
+ marginEnd: string;
345
+ fontSize: string;
346
+ fontWeight: string;
347
+ lineHeight: string;
348
+ };
349
+ tertiary: {
350
+ width: string;
351
+ marginTop: string;
352
+ marginStart: string;
353
+ marginEnd: string;
354
+ fontSize: string;
355
+ fontWeight: string;
356
+ lineHeight: string;
357
+ };
358
+ callout: {
359
+ width: string;
360
+ marginTop: string;
361
+ marginStart: string;
362
+ marginEnd: string;
363
+ fontSize: string;
364
+ fontWeight: string;
365
+ lineHeight: string;
366
+ };
367
+ };
368
+ defaultProps: {
369
+ variant: string;
370
+ };
371
+ };
372
+ export default Heading;
@@ -0,0 +1,18 @@
1
+ interface HelperErrorTextBaseStyle {
2
+ isInvalid: boolean;
3
+ }
4
+ declare const helperErrorText: {
5
+ parts: string[];
6
+ baseStyle: ({ isInvalid }: HelperErrorTextBaseStyle) => {
7
+ fontSize: string;
8
+ color: string;
9
+ _dark: {
10
+ color: string;
11
+ };
12
+ innerChild: {
13
+ marginTop: string;
14
+ marginBottom: string;
15
+ };
16
+ };
17
+ };
18
+ export default helperErrorText;