@nypl/design-system-react-components 2.2.0-react-chakra-rc → 3.0.0-link-test-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 (125) hide show
  1. package/dist/design-system-react-components.cjs +59 -59
  2. package/dist/design-system-react-components.js +18645 -17492
  3. package/dist/src/components/Accordion/Accordion.d.ts +9 -2
  4. package/dist/src/components/AlphabetFilter/AlphabetFilter.d.ts +6 -3
  5. package/dist/src/components/AudioPlayer/AudioPlayer.d.ts +6 -3
  6. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  7. package/dist/src/components/Button/Button.d.ts +23 -1
  8. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +15 -1
  9. package/dist/src/components/Card/Card.d.ts +2 -1
  10. package/dist/src/components/Checkbox/Checkbox.d.ts +2 -1
  11. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +2 -1
  12. package/dist/src/components/ComponentWrapper/ComponentWrapper.d.ts +4 -2
  13. package/dist/src/components/DatePicker/DatePicker.d.ts +14 -6
  14. package/dist/src/components/FeaturedContent/FeaturedContent.d.ts +2 -1
  15. package/dist/src/components/FeedbackBox/FeedbackBox.d.ts +48 -2
  16. package/dist/src/components/Fieldset/Fieldset.d.ts +17 -1
  17. package/dist/src/components/Form/Form.d.ts +4 -3
  18. package/dist/src/components/Grid/SimpleGrid.d.ts +2 -1
  19. package/dist/src/components/Heading/Heading.d.ts +2 -1
  20. package/dist/src/components/HelperErrorText/HelperErrorText.d.ts +26 -1
  21. package/dist/src/components/Hero/Hero.d.ts +6 -1
  22. package/dist/src/components/HorizontalRule/HorizontalRule.d.ts +2 -1
  23. package/dist/src/components/Icons/Icon.d.ts +2 -1
  24. package/dist/src/components/Icons/IconSvgs.d.ts +24 -0
  25. package/dist/src/components/Icons/iconVariables.d.ts +2 -2
  26. package/dist/src/components/Image/Image.d.ts +9 -2
  27. package/dist/src/components/Label/Label.d.ts +19 -1
  28. package/dist/src/components/Link/Link.d.ts +5 -6
  29. package/dist/src/components/List/List.d.ts +6 -4
  30. package/dist/src/components/Logo/Logo.d.ts +5 -4
  31. package/dist/src/components/Logo/logoVariables.d.ts +0 -1
  32. package/dist/src/components/Menu/Menu.d.ts +58 -0
  33. package/dist/src/components/Modal/Modal.d.ts +13 -4
  34. package/dist/src/components/MultiSelect/MultiSelect.d.ts +55 -0
  35. package/dist/src/components/MultiSelect/MultiSelectItemsCountButton.d.ts +29 -0
  36. package/dist/src/components/NewsletterSignup/NewsletterSignup.d.ts +42 -1
  37. package/dist/src/components/Notification/Notification.d.ts +11 -5
  38. package/dist/src/components/Pagination/Pagination.d.ts +2 -1
  39. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -1
  40. package/dist/src/components/Radio/Radio.d.ts +2 -1
  41. package/dist/src/components/RadioGroup/RadioGroup.d.ts +2 -1
  42. package/dist/src/components/SearchBar/SearchBar.d.ts +4 -2
  43. package/dist/src/components/Select/Select.d.ts +2 -1
  44. package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +2 -1
  45. package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +10 -1
  46. package/dist/src/components/Slider/Slider.d.ts +2 -1
  47. package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +2 -1
  48. package/dist/src/components/StatusBadge/StatusBadge.d.ts +15 -6
  49. package/dist/src/components/StructuredContent/StructuredContent.d.ts +7 -4
  50. package/dist/src/components/StyleGuide/ColorCard.d.ts +2 -1
  51. package/dist/src/components/StyledList/StyledList.d.ts +2 -1
  52. package/dist/src/components/Table/Table.d.ts +2 -1
  53. package/dist/src/components/Tabs/Tabs.d.ts +2 -2
  54. package/dist/src/components/TagSet/TagSet.d.ts +2 -1
  55. package/dist/src/components/TagSet/TagSetExplore.d.ts +1 -1
  56. package/dist/src/components/TagSet/TagSetFilter.d.ts +1 -1
  57. package/dist/src/components/Template/Template.d.ts +3 -2
  58. package/dist/src/components/Text/Text.d.ts +2 -1
  59. package/dist/src/components/TextInput/TextInput.d.ts +2 -1
  60. package/dist/src/components/Toggle/Toggle.d.ts +2 -1
  61. package/dist/src/components/Tooltip/Tooltip.d.ts +2 -1
  62. package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +6 -3
  63. package/dist/src/helpers/types.d.ts +2 -0
  64. package/dist/src/hooks/useDSHeading.d.ts +16 -0
  65. package/dist/src/hooks/useMultiSelect.d.ts +18 -0
  66. package/dist/src/hooks/useScrollTabIntoView.d.ts +9 -0
  67. package/dist/src/hooks/useStateWithDependencies.d.ts +4 -2
  68. package/dist/src/index.d.ts +6 -1
  69. package/dist/src/theme/components/accordion.d.ts +25 -2
  70. package/dist/src/theme/components/alphabetFilter.d.ts +24 -8
  71. package/dist/src/theme/components/audioPlayer.d.ts +18 -1
  72. package/dist/src/theme/components/breadcrumb.d.ts +24 -16
  73. package/dist/src/theme/components/button.d.ts +39 -0
  74. package/dist/src/theme/components/buttonGroup.d.ts +12 -3
  75. package/dist/src/theme/components/card.d.ts +104 -235
  76. package/dist/src/theme/components/checkbox.d.ts +44 -34
  77. package/dist/src/theme/components/checkboxGroup.d.ts +18 -4
  78. package/dist/src/theme/components/datePicker.d.ts +17 -6
  79. package/dist/src/theme/components/featuredContent.d.ts +75 -36
  80. package/dist/src/theme/components/feedbackBox.d.ts +28 -9
  81. package/dist/src/theme/components/fieldset.d.ts +14 -2
  82. package/dist/src/theme/components/global.d.ts +1 -0
  83. package/dist/src/theme/components/heading.d.ts +596 -249
  84. package/dist/src/theme/components/helperErrorText.d.ts +19 -3
  85. package/dist/src/theme/components/hero.d.ts +198 -176
  86. package/dist/src/theme/components/horizontalRule.d.ts +14 -2
  87. package/dist/src/theme/components/icon.d.ts +13 -4
  88. package/dist/src/theme/components/image.d.ts +326 -223
  89. package/dist/src/theme/components/label.d.ts +14 -2
  90. package/dist/src/theme/components/link.d.ts +40 -197
  91. package/dist/src/theme/components/list.d.ts +130 -101
  92. package/dist/src/theme/components/logo.d.ts +17 -5
  93. package/dist/src/theme/components/menu.d.ts +169 -0
  94. package/dist/src/theme/components/modal.d.ts +19 -4
  95. package/dist/src/theme/components/multiSelect.d.ts +106 -12
  96. package/dist/src/theme/components/multiSelectItemsCountButton.d.ts +52 -0
  97. package/dist/src/theme/components/newsletterSignup.d.ts +37 -29
  98. package/dist/src/theme/components/notification.d.ts +51 -116
  99. package/dist/src/theme/components/notificationContent.d.ts +58 -0
  100. package/dist/src/theme/components/notificationHeading.d.ts +57 -0
  101. package/dist/src/theme/components/pagination.d.ts +17 -2
  102. package/dist/src/theme/components/progressIndicator.d.ts +21 -5
  103. package/dist/src/theme/components/radio.d.ts +25 -6
  104. package/dist/src/theme/components/radioGroup.d.ts +18 -4
  105. package/dist/src/theme/components/searchBar.d.ts +24 -6
  106. package/dist/src/theme/components/select.d.ts +21 -13
  107. package/dist/src/theme/components/skeletonLoader.d.ts +34 -12
  108. package/dist/src/theme/components/skipNavigation.d.ts +12 -1
  109. package/dist/src/theme/components/slider.d.ts +49 -33
  110. package/dist/src/theme/components/socialmedialinks.d.ts +22 -16
  111. package/dist/src/theme/components/statusBadge.d.ts +66 -10
  112. package/dist/src/theme/components/structuredContent.d.ts +233 -102
  113. package/dist/src/theme/components/styledList.d.ts +12 -6
  114. package/dist/src/theme/components/tabs.d.ts +27 -13
  115. package/dist/src/theme/components/tagSet.d.ts +83 -42
  116. package/dist/src/theme/components/template.d.ts +76 -25
  117. package/dist/src/theme/components/text.d.ts +27 -12
  118. package/dist/src/theme/components/textInput.d.ts +52 -44
  119. package/dist/src/theme/components/toggle.d.ts +33 -11
  120. package/dist/src/theme/components/tooltip.d.ts +13 -1
  121. package/dist/src/theme/components/videoPlayer.d.ts +32 -21
  122. package/dist/src/theme/foundations/global.d.ts +6 -0
  123. package/dist/styles.css +1 -1
  124. package/package.json +6 -9
  125. package/dist/src/theme/components/multiSelectMenuButton.d.ts +0 -99
@@ -1,128 +1,239 @@
1
1
  export declare const headings: {
2
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;
3
+ base: {
4
+ width: string;
5
+ a: {
6
+ textUnderlineOffset: string;
7
+ };
8
+ "@media (min-width: 0px)": {
9
+ fontSize: string;
10
+ };
11
+ "@media (min-width: 600px)": {
12
+ fontSize: string;
13
+ };
14
+ marginTop: string;
15
+ marginStart: string;
16
+ marginEnd: string;
17
+ fontWeight: string;
18
+ letterSpacing: string;
19
+ lineHeight: string;
20
+ };
14
21
  };
15
22
  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;
23
+ base: {
24
+ width: string;
25
+ a: {
26
+ textUnderlineOffset: string;
27
+ };
28
+ "@media (min-width: 0px)": {
29
+ fontSize: string;
30
+ };
31
+ "@media (min-width: 600px)": {
32
+ fontSize: string;
33
+ };
34
+ marginTop: string;
35
+ marginStart: string;
36
+ marginEnd: string;
37
+ fontWeight: string;
38
+ lineHeight: string;
39
+ };
26
40
  };
27
41
  three: {
28
- width: string;
29
- marginTop: string;
30
- marginStart: string;
31
- marginEnd: string;
32
- fontSize: string;
33
- fontWeight: string;
34
- lineHeight: string;
42
+ base: {
43
+ width: string;
44
+ "@media (min-width: 0px)": {
45
+ fontSize: string;
46
+ };
47
+ "@media (min-width: 600px)": {
48
+ fontSize: string;
49
+ };
50
+ marginTop: string;
51
+ marginStart: string;
52
+ marginEnd: string;
53
+ fontWeight: string;
54
+ lineHeight: string;
55
+ };
35
56
  };
36
57
  four: {
37
- width: string;
38
- marginTop: string;
39
- marginStart: string;
40
- marginEnd: string;
41
- fontSize: string;
42
- fontWeight: string;
43
- lineHeight: string;
58
+ base: {
59
+ width: string;
60
+ "@media (min-width: 0px)": {
61
+ fontSize: string;
62
+ };
63
+ "@media (min-width: 600px)": {
64
+ fontSize: string;
65
+ };
66
+ marginTop: string;
67
+ marginStart: string;
68
+ marginEnd: string;
69
+ fontWeight: string;
70
+ lineHeight: string;
71
+ };
44
72
  };
45
73
  fallback: {
46
- width: string;
47
- marginTop: string;
48
- marginStart: string;
49
- marginEnd: string;
50
- fontSize: string;
51
- fontWeight: string;
52
- lineHeight: string;
74
+ base: {
75
+ width: string;
76
+ "@media (min-width: 0px)": {
77
+ fontSize: string;
78
+ };
79
+ "@media (min-width: 600px)": {
80
+ fontSize: string;
81
+ };
82
+ marginTop: string;
83
+ marginStart: string;
84
+ marginEnd: string;
85
+ fontWeight: string;
86
+ lineHeight: string;
87
+ };
53
88
  };
54
89
  display1: {
55
- fontWeight: string;
56
- letterSpacing: string;
57
- lineHeight: string;
58
- width: string;
59
- a: {
60
- textUnderlineOffset: string;
90
+ base: {
91
+ fontSize: {
92
+ base: "mobile.heading.display1";
93
+ md: "desktop.heading.display1";
94
+ };
95
+ fontWeight: string;
96
+ letterSpacing: string;
97
+ lineHeight: string;
98
+ width: string;
99
+ a: {
100
+ textUnderlineOffset: string;
101
+ };
102
+ "@media (min-width: 0px)": {
103
+ fontSize: string;
104
+ };
105
+ "@media (min-width: 600px)": {
106
+ fontSize: string;
107
+ };
61
108
  };
62
109
  };
63
110
  heading1: {
64
- fontWeight: string;
65
- letterSpacing: string;
66
- lineHeight: string;
67
- width: string;
68
- a: {
69
- textUnderlineOffset: string;
111
+ base: {
112
+ fontSize: {
113
+ base: "mobile.heading.heading1";
114
+ md: "desktop.heading.heading1";
115
+ };
116
+ fontWeight: string;
117
+ letterSpacing: string;
118
+ lineHeight: string;
119
+ width: string;
120
+ a: {
121
+ textUnderlineOffset: string;
122
+ };
123
+ "@media (min-width: 0px)": {
124
+ fontSize: string;
125
+ };
126
+ "@media (min-width: 600px)": {
127
+ fontSize: string;
128
+ };
70
129
  };
71
130
  };
72
131
  heading2: {
73
- fontWeight: string;
74
- letterSpacing: string;
75
- lineHeight: string;
76
- width: string;
77
- a: {
78
- textUnderlineOffset: string;
132
+ base: {
133
+ fontSize: {
134
+ base: "mobile.heading.heading2";
135
+ md: "desktop.heading.heading2";
136
+ };
137
+ fontWeight: string;
138
+ letterSpacing: string;
139
+ lineHeight: string;
140
+ width: string;
141
+ a: {
142
+ textUnderlineOffset: string;
143
+ };
144
+ "@media (min-width: 0px)": {
145
+ fontSize: string;
146
+ };
147
+ "@media (min-width: 600px)": {
148
+ fontSize: string;
149
+ };
79
150
  };
80
151
  };
81
152
  heading3: {
82
- fontWeight: string;
83
- letterSpacing: string;
84
- lineHeight: string;
85
- width: string;
86
- a: {
87
- textUnderlineOffset: string;
153
+ base: {
154
+ fontSize: {
155
+ base: "mobile.heading.heading3";
156
+ md: "desktop.heading.heading3";
157
+ };
158
+ fontWeight: string;
159
+ letterSpacing: string;
160
+ lineHeight: string;
161
+ width: string;
162
+ a: {
163
+ textUnderlineOffset: string;
164
+ };
165
+ "@media (min-width: 0px)": {
166
+ fontSize: string;
167
+ };
168
+ "@media (min-width: 600px)": {
169
+ fontSize: string;
170
+ };
88
171
  };
89
172
  };
90
173
  heading4: {
91
- fontWeight: string;
92
- letterSpacing: string;
93
- lineHeight: string;
94
- width: string;
95
- a: {
96
- textUnderlineOffset: string;
174
+ base: {
175
+ fontSize: {
176
+ base: "mobile.heading.heading4";
177
+ md: "desktop.heading.heading4";
178
+ };
179
+ fontWeight: string;
180
+ letterSpacing: string;
181
+ lineHeight: string;
182
+ width: string;
183
+ a: {
184
+ textUnderlineOffset: string;
185
+ };
186
+ "@media (min-width: 0px)": {
187
+ fontSize: string;
188
+ };
189
+ "@media (min-width: 600px)": {
190
+ fontSize: string;
191
+ };
97
192
  };
98
193
  };
99
194
  heading5: {
100
- fontWeight: string;
101
- letterSpacing: string;
102
- lineHeight: string;
103
- width: string;
195
+ base: {
196
+ fontSize: {
197
+ base: "mobile.heading.heading5";
198
+ md: "desktop.heading.heading5";
199
+ };
200
+ fontWeight: string;
201
+ letterSpacing: string;
202
+ lineHeight: string;
203
+ width: string;
204
+ "@media (min-width: 0px)": {
205
+ fontSize: string;
206
+ };
207
+ "@media (min-width: 600px)": {
208
+ fontSize: string;
209
+ };
210
+ };
104
211
  };
105
212
  heading6: {
106
- fontWeight: string;
107
- letterSpacing: string;
108
- lineHeight: string;
109
- width: string;
213
+ base: {
214
+ fontSize: {
215
+ base: "mobile.heading.heading6";
216
+ md: "desktop.heading.heading6";
217
+ };
218
+ fontWeight: string;
219
+ letterSpacing: string;
220
+ lineHeight: string;
221
+ width: string;
222
+ "@media (min-width: 0px)": {
223
+ fontSize: string;
224
+ };
225
+ "@media (min-width: 600px)": {
226
+ fontSize: string;
227
+ };
228
+ };
110
229
  };
111
230
  };
112
231
  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
- base: {
124
- color: string;
232
+ baseStyle?: ({ isCapitalized, isUppercase, isLowercase, noSpace, url }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
233
+ base: {
234
+ a: {
125
235
  textDecoration: string;
236
+ color: string;
126
237
  textDecorationStyle: string;
127
238
  textDecorationThickness: string;
128
239
  textUnderlineOffset: string;
@@ -131,6 +242,7 @@ declare const Heading: {
131
242
  };
132
243
  _hover: {
133
244
  color: string;
245
+ textDecoration: string;
134
246
  textDecorationStyle: string;
135
247
  textDecorationThickness: string;
136
248
  _dark: {
@@ -138,11 +250,12 @@ declare const Heading: {
138
250
  };
139
251
  };
140
252
  };
141
- };
142
- color: string;
143
- textTransform: string;
144
- _dark: {
145
253
  color: string;
254
+ margin: string;
255
+ textTransform: string;
256
+ _dark: {
257
+ color: string;
258
+ };
146
259
  };
147
260
  headingWrapper: {
148
261
  marginTop: string;
@@ -151,219 +264,453 @@ declare const Heading: {
151
264
  marginBottom: string;
152
265
  };
153
266
  };
154
- variants: {
267
+ sizes?: {
268
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
269
+ keys: ("base" | "headingWrapper")[];
270
+ }>;
271
+ };
272
+ variants?: {
155
273
  h1: {
156
- fontWeight: string;
157
- letterSpacing: string;
158
- lineHeight: string;
159
- width: string;
160
- a: {
161
- textUnderlineOffset: string;
274
+ base: {
275
+ fontSize: {
276
+ base: "mobile.heading.heading1";
277
+ md: "desktop.heading.heading1";
278
+ };
279
+ fontWeight: string;
280
+ letterSpacing: string;
281
+ lineHeight: string;
282
+ width: string;
283
+ a: {
284
+ textUnderlineOffset: string;
285
+ };
286
+ "@media (min-width: 0px)": {
287
+ fontSize: string;
288
+ };
289
+ "@media (min-width: 600px)": {
290
+ fontSize: string;
291
+ };
162
292
  };
163
293
  };
164
294
  h2: {
165
- fontWeight: string;
166
- letterSpacing: string;
167
- lineHeight: string;
168
- width: string;
169
- a: {
170
- textUnderlineOffset: string;
295
+ base: {
296
+ fontSize: {
297
+ base: "mobile.heading.heading2";
298
+ md: "desktop.heading.heading2";
299
+ };
300
+ fontWeight: string;
301
+ letterSpacing: string;
302
+ lineHeight: string;
303
+ width: string;
304
+ a: {
305
+ textUnderlineOffset: string;
306
+ };
307
+ "@media (min-width: 0px)": {
308
+ fontSize: string;
309
+ };
310
+ "@media (min-width: 600px)": {
311
+ fontSize: string;
312
+ };
171
313
  };
172
314
  };
173
315
  h3: {
174
- fontWeight: string;
175
- letterSpacing: string;
176
- lineHeight: string;
177
- width: string;
178
- a: {
179
- textUnderlineOffset: string;
316
+ base: {
317
+ fontSize: {
318
+ base: "mobile.heading.heading3";
319
+ md: "desktop.heading.heading3";
320
+ };
321
+ fontWeight: string;
322
+ letterSpacing: string;
323
+ lineHeight: string;
324
+ width: string;
325
+ a: {
326
+ textUnderlineOffset: string;
327
+ };
328
+ "@media (min-width: 0px)": {
329
+ fontSize: string;
330
+ };
331
+ "@media (min-width: 600px)": {
332
+ fontSize: string;
333
+ };
180
334
  };
181
335
  };
182
336
  h4: {
183
- fontWeight: string;
184
- letterSpacing: string;
185
- lineHeight: string;
186
- width: string;
187
- a: {
188
- textUnderlineOffset: string;
337
+ base: {
338
+ fontSize: {
339
+ base: "mobile.heading.heading4";
340
+ md: "desktop.heading.heading4";
341
+ };
342
+ fontWeight: string;
343
+ letterSpacing: string;
344
+ lineHeight: string;
345
+ width: string;
346
+ a: {
347
+ textUnderlineOffset: string;
348
+ };
349
+ "@media (min-width: 0px)": {
350
+ fontSize: string;
351
+ };
352
+ "@media (min-width: 600px)": {
353
+ fontSize: string;
354
+ };
189
355
  };
190
356
  };
191
357
  h5: {
192
- fontWeight: string;
193
- letterSpacing: string;
194
- lineHeight: string;
195
- width: string;
358
+ base: {
359
+ fontSize: {
360
+ base: "mobile.heading.heading5";
361
+ md: "desktop.heading.heading5";
362
+ };
363
+ fontWeight: string;
364
+ letterSpacing: string;
365
+ lineHeight: string;
366
+ width: string;
367
+ "@media (min-width: 0px)": {
368
+ fontSize: string;
369
+ };
370
+ "@media (min-width: 600px)": {
371
+ fontSize: string;
372
+ };
373
+ };
196
374
  };
197
375
  h6: {
198
- fontWeight: string;
199
- letterSpacing: string;
200
- lineHeight: string;
201
- width: string;
376
+ base: {
377
+ fontSize: {
378
+ base: "mobile.heading.heading6";
379
+ md: "desktop.heading.heading6";
380
+ };
381
+ fontWeight: string;
382
+ letterSpacing: string;
383
+ lineHeight: string;
384
+ width: string;
385
+ "@media (min-width: 0px)": {
386
+ fontSize: string;
387
+ };
388
+ "@media (min-width: 600px)": {
389
+ fontSize: string;
390
+ };
391
+ };
202
392
  };
203
393
  one: {
204
- width: string;
205
- a: {
206
- textUnderlineOffset: string;
394
+ base: {
395
+ width: string;
396
+ a: {
397
+ textUnderlineOffset: string;
398
+ };
399
+ "@media (min-width: 0px)": {
400
+ fontSize: string;
401
+ };
402
+ "@media (min-width: 600px)": {
403
+ fontSize: string;
404
+ };
405
+ marginTop: string;
406
+ marginStart: string;
407
+ marginEnd: string;
408
+ fontWeight: string;
409
+ letterSpacing: string;
410
+ lineHeight: string;
207
411
  };
208
- marginTop: string;
209
- marginStart: string;
210
- marginEnd: string;
211
- fontSize: string;
212
- fontWeight: string;
213
- letterSpacing: string;
214
- lineHeight: string;
215
412
  };
216
413
  two: {
217
- width: string;
218
- a: {
219
- textUnderlineOffset: string;
414
+ base: {
415
+ width: string;
416
+ a: {
417
+ textUnderlineOffset: string;
418
+ };
419
+ "@media (min-width: 0px)": {
420
+ fontSize: string;
421
+ };
422
+ "@media (min-width: 600px)": {
423
+ fontSize: string;
424
+ };
425
+ marginTop: string;
426
+ marginStart: string;
427
+ marginEnd: string;
428
+ fontWeight: string;
429
+ lineHeight: string;
220
430
  };
221
- marginTop: string;
222
- marginStart: string;
223
- marginEnd: string;
224
- fontSize: string;
225
- fontWeight: string;
226
- lineHeight: string;
227
431
  };
228
432
  three: {
229
- width: string;
230
- marginTop: string;
231
- marginStart: string;
232
- marginEnd: string;
233
- fontSize: string;
234
- fontWeight: string;
235
- lineHeight: string;
433
+ base: {
434
+ width: string;
435
+ "@media (min-width: 0px)": {
436
+ fontSize: string;
437
+ };
438
+ "@media (min-width: 600px)": {
439
+ fontSize: string;
440
+ };
441
+ marginTop: string;
442
+ marginStart: string;
443
+ marginEnd: string;
444
+ fontWeight: string;
445
+ lineHeight: string;
446
+ };
236
447
  };
237
448
  four: {
238
- width: string;
239
- marginTop: string;
240
- marginStart: string;
241
- marginEnd: string;
242
- fontSize: string;
243
- fontWeight: string;
244
- lineHeight: string;
449
+ base: {
450
+ width: string;
451
+ "@media (min-width: 0px)": {
452
+ fontSize: string;
453
+ };
454
+ "@media (min-width: 600px)": {
455
+ fontSize: string;
456
+ };
457
+ marginTop: string;
458
+ marginStart: string;
459
+ marginEnd: string;
460
+ fontWeight: string;
461
+ lineHeight: string;
462
+ };
245
463
  };
246
464
  five: {
247
- width: string;
248
- marginTop: string;
249
- marginStart: string;
250
- marginEnd: string;
251
- fontSize: string;
252
- fontWeight: string;
253
- lineHeight: string;
465
+ base: {
466
+ width: string;
467
+ "@media (min-width: 0px)": {
468
+ fontSize: string;
469
+ };
470
+ "@media (min-width: 600px)": {
471
+ fontSize: string;
472
+ };
473
+ marginTop: string;
474
+ marginStart: string;
475
+ marginEnd: string;
476
+ fontWeight: string;
477
+ lineHeight: string;
478
+ };
254
479
  };
255
480
  six: {
256
- width: string;
257
- marginTop: string;
258
- marginStart: string;
259
- marginEnd: string;
260
- fontSize: string;
261
- fontWeight: string;
262
- lineHeight: string;
481
+ base: {
482
+ width: string;
483
+ "@media (min-width: 0px)": {
484
+ fontSize: string;
485
+ };
486
+ "@media (min-width: 600px)": {
487
+ fontSize: string;
488
+ };
489
+ marginTop: string;
490
+ marginStart: string;
491
+ marginEnd: string;
492
+ fontWeight: string;
493
+ lineHeight: string;
494
+ };
263
495
  };
264
496
  display1: {
265
- fontWeight: string;
266
- letterSpacing: string;
267
- lineHeight: string;
268
- width: string;
269
- a: {
270
- textUnderlineOffset: string;
497
+ base: {
498
+ fontSize: {
499
+ base: "mobile.heading.display1";
500
+ md: "desktop.heading.display1";
501
+ };
502
+ fontWeight: string;
503
+ letterSpacing: string;
504
+ lineHeight: string;
505
+ width: string;
506
+ a: {
507
+ textUnderlineOffset: string;
508
+ };
509
+ "@media (min-width: 0px)": {
510
+ fontSize: string;
511
+ };
512
+ "@media (min-width: 600px)": {
513
+ fontSize: string;
514
+ };
271
515
  };
272
516
  };
273
517
  heading1: {
274
- fontWeight: string;
275
- letterSpacing: string;
276
- lineHeight: string;
277
- width: string;
278
- a: {
279
- textUnderlineOffset: string;
518
+ base: {
519
+ fontSize: {
520
+ base: "mobile.heading.heading1";
521
+ md: "desktop.heading.heading1";
522
+ };
523
+ fontWeight: string;
524
+ letterSpacing: string;
525
+ lineHeight: string;
526
+ width: string;
527
+ a: {
528
+ textUnderlineOffset: string;
529
+ };
530
+ "@media (min-width: 0px)": {
531
+ fontSize: string;
532
+ };
533
+ "@media (min-width: 600px)": {
534
+ fontSize: string;
535
+ };
280
536
  };
281
537
  };
282
538
  heading2: {
283
- fontWeight: string;
284
- letterSpacing: string;
285
- lineHeight: string;
286
- width: string;
287
- a: {
288
- textUnderlineOffset: string;
539
+ base: {
540
+ fontSize: {
541
+ base: "mobile.heading.heading2";
542
+ md: "desktop.heading.heading2";
543
+ };
544
+ fontWeight: string;
545
+ letterSpacing: string;
546
+ lineHeight: string;
547
+ width: string;
548
+ a: {
549
+ textUnderlineOffset: string;
550
+ };
551
+ "@media (min-width: 0px)": {
552
+ fontSize: string;
553
+ };
554
+ "@media (min-width: 600px)": {
555
+ fontSize: string;
556
+ };
289
557
  };
290
558
  };
291
559
  heading3: {
292
- fontWeight: string;
293
- letterSpacing: string;
294
- lineHeight: string;
295
- width: string;
296
- a: {
297
- textUnderlineOffset: string;
560
+ base: {
561
+ fontSize: {
562
+ base: "mobile.heading.heading3";
563
+ md: "desktop.heading.heading3";
564
+ };
565
+ fontWeight: string;
566
+ letterSpacing: string;
567
+ lineHeight: string;
568
+ width: string;
569
+ a: {
570
+ textUnderlineOffset: string;
571
+ };
572
+ "@media (min-width: 0px)": {
573
+ fontSize: string;
574
+ };
575
+ "@media (min-width: 600px)": {
576
+ fontSize: string;
577
+ };
298
578
  };
299
579
  };
300
580
  heading4: {
301
- fontWeight: string;
302
- letterSpacing: string;
303
- lineHeight: string;
304
- width: string;
305
- a: {
306
- textUnderlineOffset: string;
581
+ base: {
582
+ fontSize: {
583
+ base: "mobile.heading.heading4";
584
+ md: "desktop.heading.heading4";
585
+ };
586
+ fontWeight: string;
587
+ letterSpacing: string;
588
+ lineHeight: string;
589
+ width: string;
590
+ a: {
591
+ textUnderlineOffset: string;
592
+ };
593
+ "@media (min-width: 0px)": {
594
+ fontSize: string;
595
+ };
596
+ "@media (min-width: 600px)": {
597
+ fontSize: string;
598
+ };
307
599
  };
308
600
  };
309
601
  heading5: {
310
- fontWeight: string;
311
- letterSpacing: string;
312
- lineHeight: string;
313
- width: string;
602
+ base: {
603
+ fontSize: {
604
+ base: "mobile.heading.heading5";
605
+ md: "desktop.heading.heading5";
606
+ };
607
+ fontWeight: string;
608
+ letterSpacing: string;
609
+ lineHeight: string;
610
+ width: string;
611
+ "@media (min-width: 0px)": {
612
+ fontSize: string;
613
+ };
614
+ "@media (min-width: 600px)": {
615
+ fontSize: string;
616
+ };
617
+ };
314
618
  };
315
619
  heading6: {
316
- fontWeight: string;
317
- letterSpacing: string;
318
- lineHeight: string;
319
- width: string;
620
+ base: {
621
+ fontSize: {
622
+ base: "mobile.heading.heading6";
623
+ md: "desktop.heading.heading6";
624
+ };
625
+ fontWeight: string;
626
+ letterSpacing: string;
627
+ lineHeight: string;
628
+ width: string;
629
+ "@media (min-width: 0px)": {
630
+ fontSize: string;
631
+ };
632
+ "@media (min-width: 600px)": {
633
+ fontSize: string;
634
+ };
635
+ };
320
636
  };
321
637
  primary: {
322
- width: string;
323
- a: {
324
- textUnderlineOffset: string;
638
+ base: {
639
+ width: string;
640
+ a: {
641
+ textUnderlineOffset: string;
642
+ };
643
+ "@media (min-width: 0px)": {
644
+ fontSize: string;
645
+ };
646
+ "@media (min-width: 600px)": {
647
+ fontSize: string;
648
+ };
649
+ marginTop: string;
650
+ marginStart: string;
651
+ marginEnd: string;
652
+ fontWeight: string;
653
+ letterSpacing: string;
654
+ lineHeight: string;
325
655
  };
326
- marginTop: string;
327
- marginStart: string;
328
- marginEnd: string;
329
- fontSize: string;
330
- fontWeight: string;
331
- letterSpacing: string;
332
- lineHeight: string;
333
656
  };
334
657
  secondary: {
335
- width: string;
336
- a: {
337
- textUnderlineOffset: string;
658
+ base: {
659
+ width: string;
660
+ a: {
661
+ textUnderlineOffset: string;
662
+ };
663
+ "@media (min-width: 0px)": {
664
+ fontSize: string;
665
+ };
666
+ "@media (min-width: 600px)": {
667
+ fontSize: string;
668
+ };
669
+ marginTop: string;
670
+ marginStart: string;
671
+ marginEnd: string;
672
+ fontWeight: string;
673
+ lineHeight: string;
338
674
  };
339
- marginTop: string;
340
- marginStart: string;
341
- marginEnd: string;
342
- fontSize: string;
343
- fontWeight: string;
344
- lineHeight: string;
345
675
  };
346
676
  tertiary: {
347
- width: string;
348
- marginTop: string;
349
- marginStart: string;
350
- marginEnd: string;
351
- fontSize: string;
352
- fontWeight: string;
353
- lineHeight: string;
677
+ base: {
678
+ width: string;
679
+ "@media (min-width: 0px)": {
680
+ fontSize: string;
681
+ };
682
+ "@media (min-width: 600px)": {
683
+ fontSize: string;
684
+ };
685
+ marginTop: string;
686
+ marginStart: string;
687
+ marginEnd: string;
688
+ fontWeight: string;
689
+ lineHeight: string;
690
+ };
354
691
  };
355
692
  callout: {
356
- width: string;
357
- marginTop: string;
358
- marginStart: string;
359
- marginEnd: string;
360
- fontSize: string;
361
- fontWeight: string;
362
- lineHeight: string;
693
+ base: {
694
+ width: string;
695
+ "@media (min-width: 0px)": {
696
+ fontSize: string;
697
+ };
698
+ "@media (min-width: 600px)": {
699
+ fontSize: string;
700
+ };
701
+ marginTop: string;
702
+ marginStart: string;
703
+ marginEnd: string;
704
+ fontWeight: string;
705
+ lineHeight: string;
706
+ };
363
707
  };
364
708
  };
365
- defaultProps: {
366
- variant: string;
709
+ defaultProps?: {
710
+ size?: string | number;
711
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "primary" | "secondary" | "callout" | "one" | "two" | "three" | "four" | "five" | "six" | "display1" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "tertiary";
712
+ colorScheme?: string;
367
713
  };
714
+ parts: ("base" | "headingWrapper")[];
368
715
  };
369
716
  export default Heading;