@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,37 +1,93 @@
1
1
  declare const StatusBadge: {
2
- baseStyle: {
2
+ baseStyle?: {
3
+ bgColor: string;
4
+ borderLeft: string;
5
+ borderColor: string;
3
6
  borderRadius: string;
4
7
  color: string;
5
8
  display: string;
6
9
  fontSize: string;
7
- fontStyle: string;
10
+ fontWeight: string;
8
11
  py: string;
9
- px: string;
12
+ paddingInlineEnd: string;
13
+ paddingInlineStart: string;
10
14
  textAlign: string;
15
+ whiteSpace: string;
11
16
  width: string;
12
17
  _dark: {
13
18
  backgroundColor: string;
14
- borderLeft: string;
15
19
  borderColor: string;
16
20
  color: string;
17
21
  };
18
22
  };
19
- variants: {
20
- low: {
21
- bg: string;
22
- };
23
+ sizes?: {
24
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
25
+ };
26
+ variants?: {
27
+ low: {};
23
28
  medium: {
24
- bg: string;
29
+ borderColor: string;
25
30
  _dark: {
26
31
  borderColor: string;
27
32
  };
28
33
  };
29
34
  high: {
30
- bg: string;
35
+ borderColor: string;
36
+ _dark: {
37
+ borderColor: string;
38
+ };
39
+ };
40
+ neutral: {
41
+ borderColor: string;
31
42
  _dark: {
32
43
  borderColor: string;
33
44
  };
34
45
  };
46
+ informative: {
47
+ bgColor: string;
48
+ borderColor: string;
49
+ _dark: {
50
+ bgColor: string;
51
+ borderColor: string;
52
+ };
53
+ };
54
+ positive: {
55
+ bgColor: string;
56
+ borderColor: string;
57
+ _dark: {
58
+ bgColor: string;
59
+ borderColor: string;
60
+ };
61
+ };
62
+ negative: {
63
+ bgColor: string;
64
+ borderColor: string;
65
+ _dark: {
66
+ bgColor: string;
67
+ borderColor: string;
68
+ };
69
+ };
70
+ warning: {
71
+ bgColor: string;
72
+ borderColor: string;
73
+ _dark: {
74
+ bgColor: string;
75
+ borderColor: string;
76
+ };
77
+ };
78
+ recommendation: {
79
+ bgColor: string;
80
+ borderColor: string;
81
+ _dark: {
82
+ bgColor: string;
83
+ borderColor: string;
84
+ };
85
+ };
86
+ };
87
+ defaultProps?: {
88
+ size?: string | number;
89
+ variant?: "medium" | "warning" | "low" | "high" | "neutral" | "informative" | "positive" | "negative" | "recommendation";
90
+ colorScheme?: string;
35
91
  };
36
92
  };
37
93
  export default StatusBadge;
@@ -1,119 +1,238 @@
1
- interface StructuredContentBaseStyle {
1
+ import { StyleFunctionProps } from "@chakra-ui/system";
2
+ interface StructuredContentBaseStyle extends StyleFunctionProps {
2
3
  hasFigureImage: boolean;
3
4
  imageAspectRatio: string;
4
5
  imagePosition: string;
5
6
  }
6
7
  declare const StructuredContent: {
7
- parts: string[];
8
- baseStyle: ({ hasFigureImage, imageAspectRatio, imagePosition, }: StructuredContentBaseStyle) => {
8
+ baseStyle?: ({ hasFigureImage, imageAspectRatio, imagePosition, }: StructuredContentBaseStyle) => {
9
9
  one: {
10
- width: string;
11
- a: {
12
- textUnderlineOffset: string;
10
+ base: {
11
+ width: string;
12
+ a: {
13
+ textUnderlineOffset: string;
14
+ };
15
+ "@media (min-width: 0px)": {
16
+ fontSize: string;
17
+ };
18
+ "@media (min-width: 600px)": {
19
+ fontSize: string;
20
+ };
21
+ marginTop: string;
22
+ marginStart: string;
23
+ marginEnd: string;
24
+ fontWeight: string;
25
+ letterSpacing: string;
26
+ lineHeight: string;
13
27
  };
14
- marginTop: string;
15
- marginStart: string;
16
- marginEnd: string;
17
- fontSize: string;
18
- fontWeight: string;
19
- letterSpacing: string;
20
- lineHeight: string;
21
28
  };
22
29
  two: {
23
- width: string;
24
- a: {
25
- textUnderlineOffset: string;
30
+ base: {
31
+ width: string;
32
+ a: {
33
+ textUnderlineOffset: string;
34
+ };
35
+ "@media (min-width: 0px)": {
36
+ fontSize: string;
37
+ };
38
+ "@media (min-width: 600px)": {
39
+ fontSize: string;
40
+ };
41
+ marginTop: string;
42
+ marginStart: string;
43
+ marginEnd: string;
44
+ fontWeight: string;
45
+ lineHeight: string;
26
46
  };
27
- marginTop: string;
28
- marginStart: string;
29
- marginEnd: string;
30
- fontSize: string;
31
- fontWeight: string;
32
- lineHeight: string;
33
47
  };
34
48
  three: {
35
- width: string;
36
- marginTop: string;
37
- marginStart: string;
38
- marginEnd: string;
39
- fontSize: string;
40
- fontWeight: string;
41
- lineHeight: string;
49
+ base: {
50
+ width: string;
51
+ "@media (min-width: 0px)": {
52
+ fontSize: string;
53
+ };
54
+ "@media (min-width: 600px)": {
55
+ fontSize: string;
56
+ };
57
+ marginTop: string;
58
+ marginStart: string;
59
+ marginEnd: string;
60
+ fontWeight: string;
61
+ lineHeight: string;
62
+ };
42
63
  };
43
64
  four: {
44
- width: string;
45
- marginTop: string;
46
- marginStart: string;
47
- marginEnd: string;
48
- fontSize: string;
49
- fontWeight: string;
50
- lineHeight: string;
65
+ base: {
66
+ width: string;
67
+ "@media (min-width: 0px)": {
68
+ fontSize: string;
69
+ };
70
+ "@media (min-width: 600px)": {
71
+ fontSize: string;
72
+ };
73
+ marginTop: string;
74
+ marginStart: string;
75
+ marginEnd: string;
76
+ fontWeight: string;
77
+ lineHeight: string;
78
+ };
51
79
  };
52
80
  fallback: {
53
- width: string;
54
- marginTop: string;
55
- marginStart: string;
56
- marginEnd: string;
57
- fontSize: string;
58
- fontWeight: string;
59
- lineHeight: string;
81
+ base: {
82
+ width: string;
83
+ "@media (min-width: 0px)": {
84
+ fontSize: string;
85
+ };
86
+ "@media (min-width: 600px)": {
87
+ fontSize: string;
88
+ };
89
+ marginTop: string;
90
+ marginStart: string;
91
+ marginEnd: string;
92
+ fontWeight: string;
93
+ lineHeight: string;
94
+ };
60
95
  };
61
96
  display1: {
62
- fontWeight: string;
63
- letterSpacing: string;
64
- lineHeight: string;
65
- width: string;
66
- a: {
67
- textUnderlineOffset: string;
97
+ base: {
98
+ fontSize: {
99
+ base: "mobile.heading.display1";
100
+ md: "desktop.heading.display1";
101
+ };
102
+ fontWeight: string;
103
+ letterSpacing: string;
104
+ lineHeight: string;
105
+ width: string;
106
+ a: {
107
+ textUnderlineOffset: string;
108
+ };
109
+ "@media (min-width: 0px)": {
110
+ fontSize: string;
111
+ };
112
+ "@media (min-width: 600px)": {
113
+ fontSize: string;
114
+ };
68
115
  };
69
116
  };
70
117
  heading1: {
71
- fontWeight: string;
72
- letterSpacing: string;
73
- lineHeight: string;
74
- width: string;
75
- a: {
76
- textUnderlineOffset: string;
118
+ base: {
119
+ fontSize: {
120
+ base: "mobile.heading.heading1";
121
+ md: "desktop.heading.heading1";
122
+ };
123
+ fontWeight: string;
124
+ letterSpacing: string;
125
+ lineHeight: string;
126
+ width: string;
127
+ a: {
128
+ textUnderlineOffset: string;
129
+ };
130
+ "@media (min-width: 0px)": {
131
+ fontSize: string;
132
+ };
133
+ "@media (min-width: 600px)": {
134
+ fontSize: string;
135
+ };
77
136
  };
78
137
  };
79
138
  heading2: {
80
- fontWeight: string;
81
- letterSpacing: string;
82
- lineHeight: string;
83
- width: string;
84
- a: {
85
- textUnderlineOffset: string;
139
+ base: {
140
+ fontSize: {
141
+ base: "mobile.heading.heading2";
142
+ md: "desktop.heading.heading2";
143
+ };
144
+ fontWeight: string;
145
+ letterSpacing: string;
146
+ lineHeight: string;
147
+ width: string;
148
+ a: {
149
+ textUnderlineOffset: string;
150
+ };
151
+ "@media (min-width: 0px)": {
152
+ fontSize: string;
153
+ };
154
+ "@media (min-width: 600px)": {
155
+ fontSize: string;
156
+ };
86
157
  };
87
158
  };
88
159
  heading3: {
89
- fontWeight: string;
90
- letterSpacing: string;
91
- lineHeight: string;
92
- width: string;
93
- a: {
94
- textUnderlineOffset: string;
160
+ base: {
161
+ fontSize: {
162
+ base: "mobile.heading.heading3";
163
+ md: "desktop.heading.heading3";
164
+ };
165
+ fontWeight: string;
166
+ letterSpacing: string;
167
+ lineHeight: string;
168
+ width: string;
169
+ a: {
170
+ textUnderlineOffset: string;
171
+ };
172
+ "@media (min-width: 0px)": {
173
+ fontSize: string;
174
+ };
175
+ "@media (min-width: 600px)": {
176
+ fontSize: string;
177
+ };
95
178
  };
96
179
  };
97
180
  heading4: {
98
- fontWeight: string;
99
- letterSpacing: string;
100
- lineHeight: string;
101
- width: string;
102
- a: {
103
- textUnderlineOffset: string;
181
+ base: {
182
+ fontSize: {
183
+ base: "mobile.heading.heading4";
184
+ md: "desktop.heading.heading4";
185
+ };
186
+ fontWeight: string;
187
+ letterSpacing: string;
188
+ lineHeight: string;
189
+ width: string;
190
+ a: {
191
+ textUnderlineOffset: string;
192
+ };
193
+ "@media (min-width: 0px)": {
194
+ fontSize: string;
195
+ };
196
+ "@media (min-width: 600px)": {
197
+ fontSize: string;
198
+ };
104
199
  };
105
200
  };
106
201
  heading5: {
107
- fontWeight: string;
108
- letterSpacing: string;
109
- lineHeight: string;
110
- width: string;
202
+ base: {
203
+ fontSize: {
204
+ base: "mobile.heading.heading5";
205
+ md: "desktop.heading.heading5";
206
+ };
207
+ fontWeight: string;
208
+ letterSpacing: string;
209
+ lineHeight: string;
210
+ width: string;
211
+ "@media (min-width: 0px)": {
212
+ fontSize: string;
213
+ };
214
+ "@media (min-width: 600px)": {
215
+ fontSize: string;
216
+ };
217
+ };
111
218
  };
112
219
  heading6: {
113
- fontWeight: string;
114
- letterSpacing: string;
115
- lineHeight: string;
116
- width: string;
220
+ base: {
221
+ fontSize: {
222
+ base: "mobile.heading.heading6";
223
+ md: "desktop.heading.heading6";
224
+ };
225
+ fontWeight: string;
226
+ letterSpacing: string;
227
+ lineHeight: string;
228
+ width: string;
229
+ "@media (min-width: 0px)": {
230
+ fontSize: string;
231
+ };
232
+ "@media (min-width: 600px)": {
233
+ fontSize: string;
234
+ };
235
+ };
117
236
  };
118
237
  imageFigure: {
119
238
  marginBottom: string;
@@ -134,8 +253,8 @@ declare const StructuredContent: {
134
253
  image: {
135
254
  maxWidth?: string;
136
255
  float: string[];
137
- marginStart: string[];
138
- marginEnd: string[];
256
+ marginStart: ("m" | "auto")[];
257
+ marginEnd: ("m" | "auto")[];
139
258
  marginBottom: string;
140
259
  };
141
260
  /** The following styles are meant to target HTML elements that are
@@ -149,23 +268,22 @@ declare const StructuredContent: {
149
268
  marginInlineStart: string;
150
269
  };
151
270
  a: {
152
- base: {
271
+ color: string;
272
+ textDecoration: string;
273
+ textDecorationStyle: string;
274
+ textDecorationThickness: string;
275
+ textUnderlineOffset: string;
276
+ _dark: {
277
+ color: string;
278
+ };
279
+ _hover: {
153
280
  color: string;
154
281
  textDecoration: string;
155
282
  textDecorationStyle: string;
156
283
  textDecorationThickness: string;
157
- textUnderlineOffset: string;
158
284
  _dark: {
159
285
  color: string;
160
286
  };
161
- _hover: {
162
- color: string;
163
- textDecorationStyle: string;
164
- textDecorationThickness: string;
165
- _dark: {
166
- color: string;
167
- };
168
- };
169
287
  };
170
288
  };
171
289
  ul: {
@@ -256,7 +374,10 @@ declare const StructuredContent: {
256
374
  };
257
375
  dd: {
258
376
  margin: string;
259
- paddingBottom: string;
377
+ paddingBottom: string; /** The following styles are meant to target HTML elements that are
378
+ * not rendered from the Reservoir DS. Typically, these HTML elements
379
+ * are added from an API response.
380
+ */
260
381
  borderTop: {
261
382
  base: string;
262
383
  md: string;
@@ -343,10 +464,7 @@ declare const StructuredContent: {
343
464
  };
344
465
  paddingEnd: string;
345
466
  paddingTop: {
346
- base: string; /** The following styles are meant to target HTML elements that are
347
- * not rendered from the Reservoir DS. Typically, these HTML elements
348
- * are added from an API response.
349
- */
467
+ base: string;
350
468
  md: string;
351
469
  };
352
470
  _first: {
@@ -424,10 +542,7 @@ declare const StructuredContent: {
424
542
  };
425
543
  paddingEnd: string;
426
544
  paddingTop: {
427
- base: string; /** The following styles are meant to target HTML elements that are
428
- * not rendered from the Reservoir DS. Typically, these HTML elements
429
- * are added from an API response.
430
- */
545
+ base: string;
431
546
  md: string;
432
547
  };
433
548
  _first: {
@@ -446,5 +561,21 @@ declare const StructuredContent: {
446
561
  };
447
562
  };
448
563
  };
564
+ sizes?: {
565
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
566
+ keys: ("image" | "imageFigure" | "imageWrapper")[];
567
+ }>;
568
+ };
569
+ variants?: {
570
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
571
+ keys: ("image" | "imageFigure" | "imageWrapper")[];
572
+ }>;
573
+ };
574
+ defaultProps?: {
575
+ size?: string | number;
576
+ variant?: string | number;
577
+ colorScheme?: string;
578
+ };
579
+ parts: ("image" | "imageFigure" | "imageWrapper")[];
449
580
  };
450
581
  export default StructuredContent;
@@ -1,7 +1,5 @@
1
1
  declare const StyledList: {
2
- baseStyle: ({ textSize }: {
3
- textSize?: string;
4
- }) => {
2
+ baseStyle?: ({ textSize }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
5
3
  listStyle: string;
6
4
  li: {
7
5
  _before: {
@@ -28,13 +26,16 @@ declare const StyledList: {
28
26
  display: string;
29
27
  fontSize: string;
30
28
  };
31
- variants: {
29
+ sizes?: {
30
+ [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
31
+ };
32
+ variants?: {
32
33
  capped: {
33
34
  li: {
34
35
  borderStart: string;
35
36
  borderEnd: {
36
- base: string;
37
- md: string;
37
+ base: "1px solid";
38
+ md: "none";
38
39
  };
39
40
  borderColor: string;
40
41
  my: string;
@@ -47,5 +48,10 @@ declare const StyledList: {
47
48
  };
48
49
  };
49
50
  };
51
+ defaultProps?: {
52
+ size?: string | number;
53
+ variant?: "capped";
54
+ colorScheme?: string;
55
+ };
50
56
  };
51
57
  export default StyledList;
@@ -1,6 +1,10 @@
1
1
  declare const CustomTabs: {
2
- parts: string[];
3
- baseStyle: {
2
+ baseStyle?: {
3
+ tabpanel: {};
4
+ root: {};
5
+ tabpanels: {
6
+ paddingTop: string;
7
+ };
4
8
  tablist: {
5
9
  borderColor: string;
6
10
  };
@@ -126,9 +130,6 @@ declare const CustomTabs: {
126
130
  borderColor: string;
127
131
  };
128
132
  };
129
- tabpanels: {
130
- paddingTop: string;
131
- };
132
133
  carouselParent: {
133
134
  position: {
134
135
  base: string;
@@ -142,14 +143,10 @@ declare const CustomTabs: {
142
143
  base: string;
143
144
  md: string;
144
145
  };
145
- paddingStart: {
146
- base: string;
147
- md: string;
148
- };
146
+ paddingStart: string;
149
147
  paddingEnd: string;
150
148
  paddingTop: {
151
149
  base: string;
152
- md: string;
153
150
  };
154
151
  right: {
155
152
  base: string;
@@ -157,16 +154,33 @@ declare const CustomTabs: {
157
154
  };
158
155
  top: {
159
156
  base: string;
160
- md: string;
161
157
  };
158
+ scrollbarWidth: string;
159
+ "::-webkit-scrollbar": {
160
+ display: string;
161
+ };
162
+ overflowY: string;
162
163
  overflowX: {
163
164
  base: string;
164
165
  md: string;
165
166
  };
166
167
  };
167
168
  };
168
- defaultProps: {
169
- colorScheme: string;
169
+ sizes?: {
170
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
171
+ keys: ("tab" | "tabpanel" | "tabpanels" | "root" | "tablist" | "buttonArrows" | "tablistWrapper" | "carouselParent")[];
172
+ }>;
173
+ };
174
+ variants?: {
175
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
176
+ keys: ("tab" | "tabpanel" | "tabpanels" | "root" | "tablist" | "buttonArrows" | "tablistWrapper" | "carouselParent")[];
177
+ }>;
178
+ };
179
+ defaultProps?: {
180
+ size?: string | number;
181
+ variant?: string | number;
182
+ colorScheme?: string;
170
183
  };
184
+ parts: ("tab" | "tabpanel" | "tabpanels" | "root" | "tablist" | "buttonArrows" | "tablistWrapper" | "carouselParent")[];
171
185
  };
172
186
  export default CustomTabs;