@nypl/design-system-react-components 2.2.0-react-chakra-rc → 3.0.0-react-chakra-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 (119) hide show
  1. package/dist/design-system-react-components.cjs +58 -58
  2. package/dist/design-system-react-components.js +17460 -16512
  3. package/dist/src/components/Accordion/Accordion.d.ts +2 -1
  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 +2 -1
  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/NewsletterSignup/NewsletterSignup.d.ts +42 -1
  35. package/dist/src/components/Notification/Notification.d.ts +11 -5
  36. package/dist/src/components/Pagination/Pagination.d.ts +2 -1
  37. package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -1
  38. package/dist/src/components/Radio/Radio.d.ts +2 -1
  39. package/dist/src/components/RadioGroup/RadioGroup.d.ts +2 -1
  40. package/dist/src/components/SearchBar/SearchBar.d.ts +4 -2
  41. package/dist/src/components/Select/Select.d.ts +2 -1
  42. package/dist/src/components/SkeletonLoader/SkeletonLoader.d.ts +2 -1
  43. package/dist/src/components/SkipNavigation/SkipNavigation.d.ts +10 -1
  44. package/dist/src/components/Slider/Slider.d.ts +2 -1
  45. package/dist/src/components/SocialMediaLinks/SocialMediaLinks.d.ts +2 -1
  46. package/dist/src/components/StatusBadge/StatusBadge.d.ts +15 -6
  47. package/dist/src/components/StructuredContent/StructuredContent.d.ts +7 -4
  48. package/dist/src/components/StyleGuide/ColorCard.d.ts +2 -1
  49. package/dist/src/components/StyledList/StyledList.d.ts +2 -1
  50. package/dist/src/components/Table/Table.d.ts +2 -1
  51. package/dist/src/components/Tabs/Tabs.d.ts +2 -2
  52. package/dist/src/components/TagSet/TagSet.d.ts +2 -1
  53. package/dist/src/components/TagSet/TagSetExplore.d.ts +1 -1
  54. package/dist/src/components/TagSet/TagSetFilter.d.ts +1 -1
  55. package/dist/src/components/Template/Template.d.ts +3 -2
  56. package/dist/src/components/Text/Text.d.ts +2 -1
  57. package/dist/src/components/TextInput/TextInput.d.ts +2 -1
  58. package/dist/src/components/Toggle/Toggle.d.ts +2 -1
  59. package/dist/src/components/Tooltip/Tooltip.d.ts +2 -1
  60. package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +6 -3
  61. package/dist/src/helpers/types.d.ts +2 -0
  62. package/dist/src/hooks/useDSHeading.d.ts +16 -0
  63. package/dist/src/hooks/useScrollTabIntoView.d.ts +9 -0
  64. package/dist/src/hooks/useStateWithDependencies.d.ts +4 -2
  65. package/dist/src/index.d.ts +3 -1
  66. package/dist/src/theme/components/accordion.d.ts +22 -2
  67. package/dist/src/theme/components/alphabetFilter.d.ts +24 -8
  68. package/dist/src/theme/components/audioPlayer.d.ts +18 -1
  69. package/dist/src/theme/components/breadcrumb.d.ts +24 -16
  70. package/dist/src/theme/components/button.d.ts +39 -0
  71. package/dist/src/theme/components/buttonGroup.d.ts +12 -3
  72. package/dist/src/theme/components/card.d.ts +104 -235
  73. package/dist/src/theme/components/checkbox.d.ts +44 -34
  74. package/dist/src/theme/components/checkboxGroup.d.ts +18 -4
  75. package/dist/src/theme/components/datePicker.d.ts +17 -6
  76. package/dist/src/theme/components/featuredContent.d.ts +75 -36
  77. package/dist/src/theme/components/feedbackBox.d.ts +28 -9
  78. package/dist/src/theme/components/fieldset.d.ts +14 -2
  79. package/dist/src/theme/components/global.d.ts +1 -0
  80. package/dist/src/theme/components/heading.d.ts +596 -249
  81. package/dist/src/theme/components/helperErrorText.d.ts +19 -3
  82. package/dist/src/theme/components/hero.d.ts +198 -176
  83. package/dist/src/theme/components/horizontalRule.d.ts +14 -2
  84. package/dist/src/theme/components/icon.d.ts +13 -4
  85. package/dist/src/theme/components/image.d.ts +326 -223
  86. package/dist/src/theme/components/label.d.ts +14 -2
  87. package/dist/src/theme/components/link.d.ts +40 -197
  88. package/dist/src/theme/components/list.d.ts +130 -101
  89. package/dist/src/theme/components/logo.d.ts +17 -5
  90. package/dist/src/theme/components/menu.d.ts +169 -0
  91. package/dist/src/theme/components/modal.d.ts +19 -4
  92. package/dist/src/theme/components/newsletterSignup.d.ts +37 -29
  93. package/dist/src/theme/components/notification.d.ts +51 -116
  94. package/dist/src/theme/components/notificationContent.d.ts +58 -0
  95. package/dist/src/theme/components/notificationHeading.d.ts +57 -0
  96. package/dist/src/theme/components/pagination.d.ts +17 -2
  97. package/dist/src/theme/components/progressIndicator.d.ts +21 -5
  98. package/dist/src/theme/components/radio.d.ts +25 -6
  99. package/dist/src/theme/components/radioGroup.d.ts +18 -4
  100. package/dist/src/theme/components/searchBar.d.ts +24 -6
  101. package/dist/src/theme/components/select.d.ts +21 -13
  102. package/dist/src/theme/components/skeletonLoader.d.ts +34 -12
  103. package/dist/src/theme/components/skipNavigation.d.ts +12 -1
  104. package/dist/src/theme/components/slider.d.ts +49 -33
  105. package/dist/src/theme/components/socialmedialinks.d.ts +22 -16
  106. package/dist/src/theme/components/statusBadge.d.ts +66 -10
  107. package/dist/src/theme/components/structuredContent.d.ts +233 -102
  108. package/dist/src/theme/components/styledList.d.ts +12 -6
  109. package/dist/src/theme/components/tabs.d.ts +27 -13
  110. package/dist/src/theme/components/tagSet.d.ts +83 -42
  111. package/dist/src/theme/components/template.d.ts +76 -25
  112. package/dist/src/theme/components/text.d.ts +27 -12
  113. package/dist/src/theme/components/textInput.d.ts +52 -44
  114. package/dist/src/theme/components/toggle.d.ts +33 -11
  115. package/dist/src/theme/components/tooltip.d.ts +13 -1
  116. package/dist/src/theme/components/videoPlayer.d.ts +32 -21
  117. package/dist/src/theme/foundations/global.d.ts +6 -0
  118. package/dist/styles.css +1 -1
  119. package/package.json +6 -9
@@ -1,8 +1,9 @@
1
- interface LabelBaseStyle {
1
+ import { StyleFunctionProps } from "@chakra-ui/react";
2
+ interface LabelBaseStyle extends StyleFunctionProps {
2
3
  isInlined: boolean;
3
4
  }
4
5
  declare const Label: {
5
- baseStyle: ({ isInlined }: LabelBaseStyle) => {
6
+ baseStyle?: (props: LabelBaseStyle) => {
6
7
  flex: string;
7
8
  whiteSpace: string;
8
9
  color: string;
@@ -18,5 +19,16 @@ declare const Label: {
18
19
  color: string;
19
20
  };
20
21
  };
22
+ sizes?: {
23
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
24
+ };
25
+ variants?: {
26
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
27
+ };
28
+ defaultProps?: {
29
+ size?: string | number;
30
+ variant?: string | number;
31
+ colorScheme?: string;
32
+ };
21
33
  };
22
34
  export default Label;
@@ -1,25 +1,29 @@
1
+ import { StyleFunctionProps } from "@chakra-ui/system";
2
+ interface CustomLinkStyleProps extends StyleFunctionProps {
3
+ finalIsUnderlined: boolean;
4
+ hasVisitedState: boolean;
5
+ }
1
6
  export declare const baseLinkStyles: {
2
- base: {
7
+ color: string;
8
+ textDecoration: string;
9
+ textDecorationStyle: string;
10
+ textDecorationThickness: string;
11
+ textUnderlineOffset: string;
12
+ _dark: {
13
+ color: string;
14
+ };
15
+ _hover: {
3
16
  color: string;
4
17
  textDecoration: string;
5
18
  textDecorationStyle: string;
6
19
  textDecorationThickness: string;
7
- textUnderlineOffset: string;
8
20
  _dark: {
9
21
  color: string;
10
22
  };
11
- _hover: {
12
- color: string;
13
- textDecorationStyle: string;
14
- textDecorationThickness: string;
15
- _dark: {
16
- color: string;
17
- };
18
- };
19
23
  };
20
24
  };
21
25
  declare const Link: {
22
- baseStyle?: ({ finalIsUnderlined, hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
26
+ baseStyle?: ({ finalIsUnderlined, hasVisitedState }: CustomLinkStyleProps) => {
23
27
  base: {
24
28
  _visited: {
25
29
  color: string;
@@ -38,23 +42,21 @@ declare const Link: {
38
42
  color: string;
39
43
  };
40
44
  };
41
- base: {
45
+ color: string;
46
+ textDecorationStyle: string;
47
+ textDecorationThickness: string;
48
+ textUnderlineOffset: string;
49
+ _dark: {
50
+ color: string;
51
+ };
52
+ _hover: {
42
53
  color: string;
43
54
  textDecoration: string;
44
55
  textDecorationStyle: string;
45
56
  textDecorationThickness: string;
46
- textUnderlineOffset: string;
47
57
  _dark: {
48
58
  color: string;
49
59
  };
50
- _hover: {
51
- color: string;
52
- textDecorationStyle: string;
53
- textDecorationThickness: string;
54
- _dark: {
55
- color: string;
56
- };
57
- };
58
60
  };
59
61
  };
60
62
  /** The element will handle descriptive text added to aid
@@ -105,6 +107,8 @@ declare const Link: {
105
107
  color: string;
106
108
  bg: string;
107
109
  textDecoration: string;
110
+ textDecorationStyle: string;
111
+ textDecorationThickness: string;
108
112
  _dark: {
109
113
  color: string;
110
114
  bg: string;
@@ -120,188 +124,25 @@ declare const Link: {
120
124
  };
121
125
  };
122
126
  };
123
- buttonCallout: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
124
- base: {
125
- _hover: {
126
- color: string;
127
- };
128
- _visited: {
129
- color: string;
130
- _dark: {
131
- color: string;
132
- };
133
- } | {
134
- color?: undefined;
135
- _dark?: undefined;
136
- };
137
- base: any;
138
- display: string;
139
- screenreaderOnly: {
140
- clip: string;
141
- height: {
142
- base: string;
143
- md: string;
144
- };
145
- overflow: string;
146
- position: {
147
- base: string;
148
- md: string;
149
- };
150
- width: {
151
- base: string;
152
- md: string;
153
- };
154
- wordWrap: string;
155
- };
156
- };
127
+ buttonCallout: ({ hasVisitedState }: CustomLinkStyleProps) => {
128
+ base: any;
157
129
  };
158
- buttonDisabled: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
159
- base: {
160
- bg: string;
161
- color: string;
162
- opacity: string;
163
- pointerEvents: string;
164
- _visited: {
165
- color: string;
166
- _dark: {
167
- color: string;
168
- };
169
- } | {
170
- color?: undefined;
171
- _dark?: undefined;
172
- };
173
- _dark: {
174
- bg: string;
175
- color: string;
176
- };
177
- base: any;
178
- screenreaderOnly: {};
179
- display: string;
180
- };
130
+ buttonDisabled: ({ hasVisitedState }: CustomLinkStyleProps) => {
131
+ base: any;
181
132
  };
182
- buttonNoBrand: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
183
- base: {
184
- _hover: {
185
- color: string;
186
- };
187
- _visited: {
188
- color: string;
189
- _dark: {
190
- color: string;
191
- };
192
- } | {
193
- color?: undefined;
194
- _dark?: undefined;
195
- };
196
- base: any;
197
- display: string;
198
- screenreaderOnly: {
199
- clip: string;
200
- height: {
201
- base: string;
202
- md: string;
203
- };
204
- overflow: string;
205
- position: {
206
- base: string;
207
- md: string;
208
- };
209
- width: {
210
- base: string;
211
- md: string;
212
- };
213
- wordWrap: string;
214
- };
215
- };
133
+ buttonNoBrand: ({ hasVisitedState }: CustomLinkStyleProps) => {
134
+ base: any;
216
135
  };
217
- buttonPill: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
218
- base: {
219
- _hover: {
220
- color: string;
221
- };
222
- _visited: {
223
- color: string;
224
- _dark: {
225
- color: string;
226
- };
227
- } | {
228
- color?: undefined;
229
- _dark?: undefined;
230
- };
231
- base: any;
232
- display: string;
233
- screenreaderOnly: {
234
- clip: string;
235
- height: {
236
- base: string;
237
- md: string;
238
- };
239
- overflow: string;
240
- position: {
241
- base: string;
242
- md: string;
243
- };
244
- width: {
245
- base: string;
246
- md: string;
247
- };
248
- wordWrap: string;
249
- };
250
- };
136
+ buttonPill: ({ hasVisitedState }: CustomLinkStyleProps) => {
137
+ base: any;
251
138
  };
252
- buttonPrimary: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
253
- base: {
254
- _hover: {
255
- backgroundColor: string;
256
- color: string;
257
- };
258
- _visited: {
259
- color: string;
260
- _dark: {
261
- color: string;
262
- };
263
- } | {
264
- color?: undefined;
265
- _dark?: undefined;
266
- };
267
- base: any;
268
- screenreaderOnly: {};
269
- display: string;
270
- };
139
+ buttonPrimary: ({ hasVisitedState }: CustomLinkStyleProps) => {
140
+ base: any;
271
141
  };
272
- buttonSecondary: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
273
- base: {
274
- _visited: {
275
- color: string;
276
- _dark: {
277
- color: string;
278
- };
279
- } | {
280
- color?: undefined;
281
- _dark?: undefined;
282
- };
283
- base: any;
284
- display: string;
285
- screenreaderOnly: {
286
- clip: string;
287
- height: {
288
- base: string;
289
- md: string;
290
- };
291
- overflow: string;
292
- position: {
293
- base: string;
294
- md: string;
295
- };
296
- width: {
297
- base: string;
298
- md: string;
299
- };
300
- wordWrap: string;
301
- };
302
- };
142
+ buttonSecondary: ({ hasVisitedState }: CustomLinkStyleProps) => {
143
+ base: any;
303
144
  };
304
- moreLink: ({ hasVisitedState }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
145
+ moreLink: ({ hasVisitedState }: CustomLinkStyleProps) => {
305
146
  base: {
306
147
  alignItems: string;
307
148
  display: string;
@@ -314,6 +155,8 @@ declare const Link: {
314
155
  _hover: {
315
156
  color: string;
316
157
  textDecoration: string;
158
+ textDecorationStyle: string;
159
+ textDecorationThickness: string;
317
160
  };
318
161
  _visited: {
319
162
  svg: {
@@ -1,8 +1,9 @@
1
- interface ListBaseStyle {
1
+ import { StyleFunctionProps } from "@chakra-ui/system";
2
+ interface ListBaseStyle extends Partial<StyleFunctionProps> {
2
3
  inline?: boolean;
3
- noStyling: boolean;
4
+ noStyling?: boolean;
4
5
  }
5
- export declare const baseListStyles: (inline?: boolean, noStyling?: boolean) => {
6
+ export declare const baseListStyles: (props?: ListBaseStyle) => {
6
7
  margin: string;
7
8
  listStyle: string;
8
9
  marginInlineStart: string;
@@ -17,7 +18,24 @@ export declare const baseListStyles: (inline?: boolean, noStyling?: boolean) =>
17
18
  };
18
19
  };
19
20
  };
20
- export declare const baseUnorderedStyles: (noStyling?: boolean) => {
21
+ export declare const baseSectionDescriptionStyles: {
22
+ borderBottom: string;
23
+ borderColor: string;
24
+ paddingStart: string;
25
+ h2: {
26
+ borderTop: string;
27
+ borderColor: string;
28
+ margin: string;
29
+ padding: string;
30
+ _dark: {
31
+ borderColor: string;
32
+ };
33
+ };
34
+ _dark: {
35
+ borderColor: string;
36
+ };
37
+ };
38
+ export declare const unorderedStyles: (props?: ListBaseStyle) => {
21
39
  listStyle: string;
22
40
  li: {
23
41
  _before: {
@@ -39,24 +57,7 @@ export declare const baseUnorderedStyles: (noStyling?: boolean) => {
39
57
  margin: string;
40
58
  marginBottom: string;
41
59
  };
42
- export declare const baseSectionDescriptionStyles: {
43
- borderBottom: string;
44
- borderColor: string;
45
- paddingStart: string;
46
- h2: {
47
- borderTop: string;
48
- borderColor: string;
49
- margin: string;
50
- padding: string;
51
- _dark: {
52
- borderColor: string;
53
- };
54
- };
55
- _dark: {
56
- borderColor: string;
57
- };
58
- };
59
- export declare const baseDescriptionStyles: {
60
+ export declare const descriptionStyles: {
60
61
  dl: {
61
62
  display: string;
62
63
  gridTemplateColumns: {
@@ -120,111 +121,139 @@ export declare const baseDescriptionStyles: {
120
121
  };
121
122
  };
122
123
  declare const List: {
123
- baseStyle: ({ inline, noStyling }: ListBaseStyle) => {
124
- margin: string;
125
- listStyle: string;
126
- marginInlineStart: string;
127
- paddingStart: string;
128
- padding: string;
129
- display: string;
130
- li: {
131
- marginEnd: string;
132
- listStyleType: string;
133
- _notFirst: {
134
- marginTop: string;
135
- };
136
- };
137
- };
138
- variants: {
139
- ul: ({ noStyling }: ListBaseStyle) => {
124
+ baseStyle?: ({ inline, noStyling }: ListBaseStyle) => {
125
+ base: {
126
+ margin: string;
140
127
  listStyle: string;
128
+ marginInlineStart: string;
129
+ paddingStart: string;
130
+ padding: string;
131
+ display: string;
141
132
  li: {
142
- _before: {
143
- color: string;
144
- content: string;
145
- display: string;
146
- fontWeight: string;
147
- fontSize: string;
148
- lineHeight: string;
149
- marginStart: string;
150
- width: string;
133
+ marginEnd: string;
134
+ listStyleType: string;
135
+ _notFirst: {
136
+ marginTop: string;
151
137
  };
152
- _dark: {
138
+ };
139
+ };
140
+ heading: {
141
+ borderTop: string;
142
+ borderColor: string;
143
+ margin: string;
144
+ padding: string;
145
+ _dark: {
146
+ borderColor: string;
147
+ };
148
+ };
149
+ };
150
+ sizes?: {
151
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
152
+ keys: ("base" | "heading")[];
153
+ }>;
154
+ };
155
+ variants?: {
156
+ ul: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
157
+ base: {
158
+ listStyle: string;
159
+ li: {
153
160
  _before: {
154
161
  color: string;
162
+ content: string;
163
+ display: string;
164
+ fontWeight: string;
165
+ fontSize: string;
166
+ lineHeight: string;
167
+ marginStart: string;
168
+ width: string;
169
+ };
170
+ _dark: {
171
+ _before: {
172
+ color: string;
173
+ };
155
174
  };
156
175
  };
176
+ margin: string;
177
+ marginBottom: string;
157
178
  };
158
- margin: string;
159
- marginBottom: string;
160
179
  };
161
180
  ol: {
162
- margin: string;
163
- marginBottom: string;
164
- };
165
- dl: {
166
- dl: {
167
- display: string;
168
- gridTemplateColumns: {
169
- base: string;
170
- md: string;
171
- };
172
- gridTemplateRows: string;
181
+ base: {
173
182
  margin: string;
183
+ marginBottom: string;
174
184
  };
175
- dt: {
176
- borderTop: string;
177
- borderColor: string;
178
- color: string;
179
- fontWeight: string;
180
- paddingBottom: {
181
- base: string;
182
- md: string;
183
- };
184
- paddingTop: string;
185
- paddingEnd: {
186
- md: string;
185
+ };
186
+ dl: {
187
+ base: {
188
+ dl: {
189
+ display: string;
190
+ gridTemplateColumns: {
191
+ base: string;
192
+ md: string;
193
+ };
194
+ gridTemplateRows: string;
195
+ margin: string;
187
196
  };
188
- _dark: {
197
+ dt: {
198
+ borderTop: string;
189
199
  borderColor: string;
190
200
  color: string;
201
+ fontWeight: string;
202
+ paddingBottom: {
203
+ base: string;
204
+ md: string;
205
+ };
206
+ paddingTop: string;
207
+ paddingEnd: {
208
+ md: string;
209
+ };
210
+ _dark: {
211
+ borderColor: string;
212
+ color: string;
213
+ };
191
214
  };
192
- };
193
- dd: {
194
- margin: string;
195
- paddingBottom: string;
196
- borderTop: {
197
- base: string;
198
- md: string;
199
- };
200
- borderColor: {
201
- md: string;
202
- };
203
- paddingTop: {
204
- md: string;
205
- };
206
- _dark: {
215
+ dd: {
216
+ margin: string;
217
+ paddingBottom: string;
218
+ borderTop: {
219
+ base: string;
220
+ md: string;
221
+ };
207
222
  borderColor: {
208
223
  md: string;
209
224
  };
225
+ paddingTop: {
226
+ md: string;
227
+ };
228
+ _dark: {
229
+ borderColor: {
230
+ md: string;
231
+ };
232
+ };
210
233
  };
211
- };
212
- borderBottom: string;
213
- borderColor: string;
214
- paddingStart: string;
215
- h2: {
216
- borderTop: string;
234
+ borderBottom: string;
217
235
  borderColor: string;
218
- margin: string;
219
- padding: string;
236
+ paddingStart: string;
237
+ h2: {
238
+ borderTop: string;
239
+ borderColor: string;
240
+ margin: string;
241
+ padding: string;
242
+ _dark: {
243
+ borderColor: string;
244
+ };
245
+ };
220
246
  _dark: {
221
247
  borderColor: string;
222
248
  };
223
249
  };
224
- _dark: {
225
- borderColor: string;
226
- };
227
250
  };
228
251
  };
252
+ defaultProps?: {
253
+ size?: string | number;
254
+ variant?: "dl" | "ol" | "ul";
255
+ colorScheme?: string;
256
+ };
257
+ parts: ("base" | "heading")[];
229
258
  };
230
259
  export default List;
@@ -1,7 +1,4 @@
1
- interface LogoBaseStyle {
2
- size: keyof typeof size | keyof typeof sizeBasedOnHeight;
3
- sizeBasedOn: "height" | "width";
4
- }
1
+ import { StyleFunctionProps } from "@chakra-ui/system";
5
2
  declare const size: {
6
3
  default: {
7
4
  maxWidth: string;
@@ -64,8 +61,12 @@ declare const sizeBasedOnHeight: {
64
61
  width: string;
65
62
  };
66
63
  };
64
+ interface LogoBaseStyle extends StyleFunctionProps {
65
+ size: keyof typeof size | keyof typeof sizeBasedOnHeight;
66
+ sizeBasedOn: "height" | "width";
67
+ }
67
68
  declare const Logo: {
68
- baseStyle: (props: LogoBaseStyle) => {
69
+ baseStyle?: (props: LogoBaseStyle) => {
69
70
  svg: {
70
71
  maxWidth: string;
71
72
  display: string;
@@ -125,5 +126,16 @@ declare const Logo: {
125
126
  height: string;
126
127
  width: string;
127
128
  };
129
+ sizes?: {
130
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
131
+ };
132
+ variants?: {
133
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
134
+ };
135
+ defaultProps?: {
136
+ size?: string | number;
137
+ variant?: string | number;
138
+ colorScheme?: string;
139
+ };
128
140
  };
129
141
  export default Logo;