@nypl/design-system-react-components 2.2.0-react-chakra-rc-2 → 3.0.0-react-chakra-rc2

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 +18230 -17049
  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 +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/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 +4 -7
  125. package/dist/src/theme/components/multiSelectMenuButton.d.ts +0 -99
@@ -1,10 +1,4 @@
1
- interface CustomImageBaseStyle {
2
- size: keyof typeof imageSizes;
3
- }
4
- interface CustomImageWrapperBaseStyle {
5
- ratio: keyof typeof imageRatios;
6
- size: keyof typeof imageSizes;
7
- }
1
+ import { StyleFunctionProps } from "@chakra-ui/system";
8
2
  declare const imageSizes: {
9
3
  default: {
10
4
  maxWidth: string;
@@ -40,73 +34,74 @@ declare const imageSizes: {
40
34
  marginEnd: string;
41
35
  };
42
36
  };
37
+ declare const imageSizesBasedOnHeight: {
38
+ default: {
39
+ maxHeight: string;
40
+ maxWidth: string;
41
+ width: string;
42
+ };
43
+ xxxsmall: {
44
+ maxHeight: string;
45
+ marginStart: string;
46
+ marginEnd: string;
47
+ };
48
+ xxsmall: {
49
+ maxHeight: string;
50
+ marginStart: string;
51
+ marginEnd: string;
52
+ };
53
+ xsmall: {
54
+ maxHeight: string;
55
+ marginStart: string;
56
+ marginEnd: string;
57
+ };
58
+ small: {
59
+ maxHeight: string;
60
+ marginStart: string;
61
+ marginEnd: string;
62
+ };
63
+ medium: {
64
+ maxHeight: string;
65
+ marginStart: string;
66
+ marginEnd: string;
67
+ };
68
+ large: {
69
+ maxHeight: string;
70
+ marginStart: string;
71
+ marginEnd: string;
72
+ };
73
+ };
43
74
  declare const imageRatios: {
44
75
  fourByThree: {
45
76
  paddingBottom: string;
46
- position: string;
47
- width: string;
48
- height: string;
49
- overflow: string;
50
77
  };
51
78
  oneByTwo: {
52
79
  paddingBottom: string;
53
- position: string;
54
- width: string;
55
- height: string;
56
- overflow: string;
57
- };
58
- original: {
59
- position: string;
60
- width: string;
61
- height: string;
62
- overflow: string;
63
80
  };
81
+ original: {};
64
82
  sixteenByNine: {
65
83
  paddingBottom: string;
66
- position: string;
67
- width: string;
68
- height: string;
69
- overflow: string;
70
84
  };
71
85
  square: {
72
86
  paddingBottom: string;
73
- position: string;
74
- width: string;
75
- height: string;
76
- overflow: string;
77
87
  };
78
88
  threeByFour: {
79
89
  paddingBottom: string;
80
- position: string;
81
- width: string;
82
- height: string;
83
- overflow: string;
84
90
  };
85
91
  threeByTwo: {
86
92
  paddingBottom: string;
87
- position: string;
88
- width: string;
89
- height: string;
90
- overflow: string;
91
93
  };
92
94
  twoByOne: {
93
95
  paddingBottom: string;
94
- position: string;
95
- width: string;
96
- height: string;
97
- overflow: string;
98
96
  };
99
97
  };
100
- declare const CustomImage: {
101
- parts: string[];
102
- variants: {
103
- circle: {
104
- img: {
105
- borderRadius: string;
106
- };
107
- };
108
- };
109
- baseStyle: ({ size }: CustomImageBaseStyle) => {
98
+ interface ReservoirImageBaseStyle extends StyleFunctionProps {
99
+ ratio: keyof typeof imageRatios;
100
+ size: keyof typeof imageSizes | keyof typeof imageSizesBasedOnHeight;
101
+ sizeBasedOn: "height" | "width";
102
+ }
103
+ declare const ReservoirImage: {
104
+ baseStyle?: ({ ratio, size, sizeBasedOn, }: ReservoirImageBaseStyle) => {
110
105
  figure: {
111
106
  img: {
112
107
  backgroundColor: string;
@@ -115,22 +110,9 @@ declare const CustomImage: {
115
110
  backgroundColor: string;
116
111
  };
117
112
  };
118
- maxWidth: string;
119
- margin: string;
120
113
  width: string;
121
- } | {
122
- img: {
123
- backgroundColor: string;
124
- marginBottom: string;
125
- _dark: {
126
- backgroundColor: string;
127
- };
128
- };
129
114
  maxWidth: string;
130
- marginStart: string;
131
- marginEnd: string;
132
115
  margin: string;
133
- width: string;
134
116
  } | {
135
117
  img: {
136
118
  backgroundColor: string;
@@ -139,24 +121,11 @@ declare const CustomImage: {
139
121
  backgroundColor: string;
140
122
  };
141
123
  };
142
- maxWidth: string;
143
- marginStart: string;
144
- marginEnd: string;
145
- margin: string;
146
124
  width: string;
147
- } | {
148
- img: {
149
- backgroundColor: string;
150
- marginBottom: string;
151
- _dark: {
152
- backgroundColor: string;
153
- };
154
- };
155
125
  maxWidth: string;
156
126
  marginStart: string;
157
127
  marginEnd: string;
158
128
  margin: string;
159
- width: string;
160
129
  } | {
161
130
  img: {
162
131
  backgroundColor: string;
@@ -165,11 +134,11 @@ declare const CustomImage: {
165
134
  backgroundColor: string;
166
135
  };
167
136
  };
137
+ height: string;
138
+ width: string;
168
139
  maxWidth: string;
169
- marginStart: string;
170
- marginEnd: string;
140
+ maxHeight: string;
171
141
  margin: string;
172
- width: string;
173
142
  } | {
174
143
  img: {
175
144
  backgroundColor: string;
@@ -178,11 +147,13 @@ declare const CustomImage: {
178
147
  backgroundColor: string;
179
148
  };
180
149
  };
150
+ height: string;
151
+ width: string;
181
152
  maxWidth: string;
153
+ maxHeight: string;
182
154
  marginStart: string;
183
155
  marginEnd: string;
184
156
  margin: string;
185
- width: string;
186
157
  } | {
187
158
  img: {
188
159
  backgroundColor: string;
@@ -191,11 +162,12 @@ declare const CustomImage: {
191
162
  backgroundColor: string;
192
163
  };
193
164
  };
194
- maxWidth: string;
165
+ height: string;
166
+ width: string;
167
+ maxHeight: string;
195
168
  marginStart: string;
196
169
  marginEnd: string;
197
170
  margin: string;
198
- width: string;
199
171
  };
200
172
  figcaption: {
201
173
  fontStyle: string;
@@ -204,17 +176,18 @@ declare const CustomImage: {
204
176
  _dark: {
205
177
  backgroundColor: string;
206
178
  };
179
+ width: string;
207
180
  maxWidth: string;
208
181
  display: string;
209
182
  backgroundColor: string;
210
183
  boxSizing: string;
211
184
  objectFit: string;
212
185
  position: string;
213
- width: string;
214
186
  } | {
215
187
  _dark: {
216
188
  backgroundColor: string;
217
189
  };
190
+ width: string;
218
191
  maxWidth: string;
219
192
  marginStart: string;
220
193
  marginEnd: string;
@@ -223,25 +196,26 @@ declare const CustomImage: {
223
196
  boxSizing: string;
224
197
  objectFit: string;
225
198
  position: string;
226
- width: string;
227
199
  } | {
228
200
  _dark: {
229
201
  backgroundColor: string;
230
202
  };
203
+ height: string;
231
204
  maxWidth: string;
232
- marginStart: string;
233
- marginEnd: string;
205
+ maxHeight: string;
206
+ width: string;
234
207
  display: string;
235
208
  backgroundColor: string;
236
209
  boxSizing: string;
237
210
  objectFit: string;
238
211
  position: string;
239
- width: string;
240
212
  } | {
241
213
  _dark: {
242
214
  backgroundColor: string;
243
215
  };
216
+ height: string;
244
217
  maxWidth: string;
218
+ maxHeight: string;
245
219
  marginStart: string;
246
220
  marginEnd: string;
247
221
  display: string;
@@ -249,12 +223,12 @@ declare const CustomImage: {
249
223
  boxSizing: string;
250
224
  objectFit: string;
251
225
  position: string;
252
- width: string;
253
226
  } | {
254
227
  _dark: {
255
228
  backgroundColor: string;
256
229
  };
257
- maxWidth: string;
230
+ height: string;
231
+ maxHeight: string;
258
232
  marginStart: string;
259
233
  marginEnd: string;
260
234
  display: string;
@@ -262,264 +236,394 @@ declare const CustomImage: {
262
236
  boxSizing: string;
263
237
  objectFit: string;
264
238
  position: string;
239
+ };
240
+ };
241
+ sizes?: {
242
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
243
+ keys: ("base" | "figcaption" | "figure" | "img")[];
244
+ }>;
245
+ };
246
+ variants?: {
247
+ circle: {
248
+ img: {
249
+ borderRadius: string;
250
+ };
251
+ };
252
+ };
253
+ defaultProps?: {
254
+ size?: string | number;
255
+ variant?: "circle";
256
+ colorScheme?: string;
257
+ };
258
+ parts: ("base" | "figcaption" | "figure" | "img")[];
259
+ };
260
+ declare const ReservoirImageWrapper: {
261
+ baseStyle?: ({ ratio, size, sizeBasedOn, }: ReservoirImageBaseStyle) => {
262
+ base: {
263
+ img: {
264
+ backgroundColor: string;
265
+ height: string;
266
+ left: string;
267
+ width: string;
268
+ position: string;
269
+ top: string;
270
+ _dark: {
271
+ backgroundColor: string;
272
+ };
273
+ maxWidth: string;
274
+ } | {
275
+ backgroundColor: string;
276
+ height: string;
277
+ left: string;
278
+ width: string;
279
+ position: string;
280
+ top: string;
281
+ _dark: {
282
+ backgroundColor: string;
283
+ };
284
+ maxHeight: string;
285
+ };
265
286
  width: string;
287
+ maxWidth: string;
288
+ marginStart: string;
289
+ marginEnd: string;
266
290
  } | {
267
- _dark: {
291
+ img: {
292
+ backgroundColor: string;
293
+ height: string;
294
+ left: string;
295
+ width: string;
296
+ position: string;
297
+ top: string;
298
+ _dark: {
299
+ backgroundColor: string;
300
+ };
301
+ maxWidth: string;
302
+ } | {
268
303
  backgroundColor: string;
304
+ height: string;
305
+ left: string;
306
+ width: string;
307
+ position: string;
308
+ top: string;
309
+ _dark: {
310
+ backgroundColor: string;
311
+ };
312
+ maxHeight: string;
269
313
  };
314
+ width: string;
270
315
  maxWidth: string;
271
316
  marginStart: string;
272
317
  marginEnd: string;
273
- display: string;
274
- backgroundColor: string;
275
- boxSizing: string;
276
- objectFit: string;
277
- position: string;
318
+ } | {
319
+ img: {
320
+ backgroundColor: string;
321
+ height: string;
322
+ left: string;
323
+ width: string;
324
+ position: string;
325
+ top: string;
326
+ _dark: {
327
+ backgroundColor: string;
328
+ };
329
+ maxWidth: string;
330
+ } | {
331
+ backgroundColor: string;
332
+ height: string;
333
+ left: string;
334
+ width: string;
335
+ position: string;
336
+ top: string;
337
+ _dark: {
338
+ backgroundColor: string;
339
+ };
340
+ maxHeight: string;
341
+ };
342
+ height: string;
343
+ maxWidth: string;
344
+ maxHeight: string;
278
345
  width: string;
346
+ marginStart: string;
347
+ marginEnd: string;
279
348
  } | {
280
- _dark: {
349
+ img: {
350
+ backgroundColor: string;
351
+ height: string;
352
+ left: string;
353
+ width: string;
354
+ position: string;
355
+ top: string;
356
+ _dark: {
357
+ backgroundColor: string;
358
+ };
359
+ maxWidth: string;
360
+ } | {
281
361
  backgroundColor: string;
362
+ height: string;
363
+ left: string;
364
+ width: string;
365
+ position: string;
366
+ top: string;
367
+ _dark: {
368
+ backgroundColor: string;
369
+ };
370
+ maxHeight: string;
282
371
  };
372
+ height: string;
283
373
  maxWidth: string;
374
+ maxHeight: string;
375
+ marginStart: string;
376
+ marginEnd: string;
377
+ } | {
378
+ img: {
379
+ backgroundColor: string;
380
+ height: string;
381
+ left: string;
382
+ width: string;
383
+ position: string;
384
+ top: string;
385
+ _dark: {
386
+ backgroundColor: string;
387
+ };
388
+ maxWidth: string;
389
+ } | {
390
+ backgroundColor: string;
391
+ height: string;
392
+ left: string;
393
+ width: string;
394
+ position: string;
395
+ top: string;
396
+ _dark: {
397
+ backgroundColor: string;
398
+ };
399
+ maxHeight: string;
400
+ };
401
+ height: string;
402
+ maxHeight: string;
284
403
  marginStart: string;
285
404
  marginEnd: string;
286
- display: string;
287
- backgroundColor: string;
288
- boxSizing: string;
289
- objectFit: string;
290
- position: string;
291
- width: string;
292
405
  };
293
- };
294
- };
295
- declare const CustomImageWrapper: {
296
- parts: string[];
297
- baseStyle: ({ ratio, size, }: CustomImageWrapperBaseStyle) => {
298
406
  crop: {
407
+ maxWidth: string;
299
408
  paddingBottom: string;
300
409
  position: string;
301
410
  width: string;
302
411
  height: string;
303
412
  overflow: string;
304
413
  } | {
414
+ maxWidth: string;
305
415
  paddingBottom: string;
306
416
  position: string;
307
417
  width: string;
308
418
  height: string;
309
419
  overflow: string;
310
420
  } | {
421
+ paddingBottom: string;
311
422
  position: string;
312
423
  width: string;
313
424
  height: string;
314
425
  overflow: string;
315
426
  } | {
427
+ maxWidth: string;
316
428
  paddingBottom: string;
317
429
  position: string;
318
430
  width: string;
319
431
  height: string;
320
432
  overflow: string;
321
433
  } | {
434
+ maxWidth: string;
322
435
  paddingBottom: string;
323
436
  position: string;
324
437
  width: string;
325
438
  height: string;
326
439
  overflow: string;
327
440
  } | {
441
+ maxWidth: string;
328
442
  paddingBottom: string;
329
443
  position: string;
330
444
  width: string;
331
445
  height: string;
332
446
  overflow: string;
333
447
  } | {
448
+ maxWidth: string;
334
449
  paddingBottom: string;
335
450
  position: string;
336
451
  width: string;
337
452
  height: string;
338
453
  overflow: string;
339
454
  } | {
455
+ maxWidth: string;
340
456
  paddingBottom: string;
341
457
  position: string;
342
458
  width: string;
343
459
  height: string;
344
460
  overflow: string;
345
- };
346
- img: {
347
- backgroundColor: string;
348
- height: string;
349
- left: string;
461
+ } | {
350
462
  maxWidth: string;
351
- position: string;
352
- top: string;
353
- width: string;
354
- _dark: {
355
- backgroundColor: string;
356
- };
357
- };
358
- maxWidth: string;
359
- marginStart: string;
360
- marginEnd: string;
361
- width: string;
362
- } | {
363
- crop: {
364
463
  paddingBottom: string;
365
464
  position: string;
366
465
  width: string;
367
466
  height: string;
368
467
  overflow: string;
369
468
  } | {
469
+ maxWidth: string;
370
470
  paddingBottom: string;
371
471
  position: string;
372
472
  width: string;
373
473
  height: string;
374
474
  overflow: string;
375
475
  } | {
476
+ paddingBottom: string;
376
477
  position: string;
377
478
  width: string;
378
479
  height: string;
379
480
  overflow: string;
380
481
  } | {
482
+ maxWidth: string;
381
483
  paddingBottom: string;
382
484
  position: string;
383
485
  width: string;
384
486
  height: string;
385
487
  overflow: string;
386
488
  } | {
489
+ maxWidth: string;
387
490
  paddingBottom: string;
388
491
  position: string;
389
492
  width: string;
390
493
  height: string;
391
494
  overflow: string;
392
495
  } | {
496
+ maxWidth: string;
393
497
  paddingBottom: string;
394
498
  position: string;
395
499
  width: string;
396
500
  height: string;
397
501
  overflow: string;
398
502
  } | {
503
+ maxWidth: string;
399
504
  paddingBottom: string;
400
505
  position: string;
401
506
  width: string;
402
507
  height: string;
403
508
  overflow: string;
404
509
  } | {
510
+ maxWidth: string;
405
511
  paddingBottom: string;
406
512
  position: string;
407
513
  width: string;
408
514
  height: string;
409
515
  overflow: string;
410
- };
411
- img: {
412
- backgroundColor: string;
516
+ } | {
517
+ maxWidth: string;
518
+ position: string;
519
+ width: string;
413
520
  height: string;
414
- left: string;
521
+ overflow: string;
522
+ } | {
415
523
  maxWidth: string;
416
524
  position: string;
417
- top: string;
418
525
  width: string;
419
- _dark: {
420
- backgroundColor: string;
421
- };
422
- };
423
- maxWidth: string;
424
- marginStart: string;
425
- marginEnd: string;
426
- width: string;
427
- } | {
428
- crop: {
429
- paddingBottom: string;
526
+ height: string;
527
+ overflow: string;
528
+ } | {
430
529
  position: string;
431
530
  width: string;
432
531
  height: string;
433
532
  overflow: string;
434
533
  } | {
435
- paddingBottom: string;
534
+ maxWidth: string;
436
535
  position: string;
437
536
  width: string;
438
537
  height: string;
439
538
  overflow: string;
440
539
  } | {
540
+ maxWidth: string;
441
541
  position: string;
442
542
  width: string;
443
543
  height: string;
444
544
  overflow: string;
445
545
  } | {
446
- paddingBottom: string;
546
+ maxWidth: string;
447
547
  position: string;
448
548
  width: string;
449
549
  height: string;
450
550
  overflow: string;
451
551
  } | {
452
- paddingBottom: string;
552
+ maxWidth: string;
453
553
  position: string;
454
554
  width: string;
455
555
  height: string;
456
556
  overflow: string;
457
557
  } | {
458
- paddingBottom: string;
558
+ maxWidth: string;
459
559
  position: string;
460
560
  width: string;
461
561
  height: string;
462
562
  overflow: string;
463
563
  } | {
564
+ maxWidth: string;
464
565
  paddingBottom: string;
465
566
  position: string;
466
567
  width: string;
467
568
  height: string;
468
569
  overflow: string;
469
570
  } | {
571
+ maxWidth: string;
470
572
  paddingBottom: string;
471
573
  position: string;
472
574
  width: string;
473
575
  height: string;
474
576
  overflow: string;
475
- };
476
- img: {
477
- backgroundColor: string;
577
+ } | {
578
+ paddingBottom: string;
579
+ position: string;
580
+ width: string;
478
581
  height: string;
479
- left: string;
582
+ overflow: string;
583
+ } | {
480
584
  maxWidth: string;
585
+ paddingBottom: string;
481
586
  position: string;
482
- top: string;
483
587
  width: string;
484
- _dark: {
485
- backgroundColor: string;
486
- };
487
- };
488
- maxWidth: string;
489
- marginStart: string;
490
- marginEnd: string;
491
- width: string;
492
- } | {
493
- crop: {
588
+ height: string;
589
+ overflow: string;
590
+ } | {
591
+ maxWidth: string;
494
592
  paddingBottom: string;
495
593
  position: string;
496
594
  width: string;
497
595
  height: string;
498
596
  overflow: string;
499
597
  } | {
598
+ maxWidth: string;
500
599
  paddingBottom: string;
501
600
  position: string;
502
601
  width: string;
503
602
  height: string;
504
603
  overflow: string;
505
604
  } | {
605
+ maxWidth: string;
606
+ paddingBottom: string;
506
607
  position: string;
507
608
  width: string;
508
609
  height: string;
509
610
  overflow: string;
510
611
  } | {
612
+ maxWidth: string;
511
613
  paddingBottom: string;
512
614
  position: string;
513
615
  width: string;
514
616
  height: string;
515
617
  overflow: string;
516
618
  } | {
619
+ maxWidth: string;
517
620
  paddingBottom: string;
518
621
  position: string;
519
622
  width: string;
520
623
  height: string;
521
624
  overflow: string;
522
625
  } | {
626
+ maxWidth: string;
523
627
  paddingBottom: string;
524
628
  position: string;
525
629
  width: string;
@@ -532,53 +636,49 @@ declare const CustomImageWrapper: {
532
636
  height: string;
533
637
  overflow: string;
534
638
  } | {
639
+ maxWidth: string;
535
640
  paddingBottom: string;
536
641
  position: string;
537
642
  width: string;
538
643
  height: string;
539
644
  overflow: string;
540
- };
541
- img: {
542
- backgroundColor: string;
543
- height: string;
544
- left: string;
645
+ } | {
545
646
  maxWidth: string;
647
+ paddingBottom: string;
546
648
  position: string;
547
- top: string;
548
649
  width: string;
549
- _dark: {
550
- backgroundColor: string;
551
- };
552
- };
553
- maxWidth: string;
554
- marginStart: string;
555
- marginEnd: string;
556
- width: string;
557
- } | {
558
- crop: {
650
+ height: string;
651
+ overflow: string;
652
+ } | {
653
+ maxWidth: string;
559
654
  paddingBottom: string;
560
655
  position: string;
561
656
  width: string;
562
657
  height: string;
563
658
  overflow: string;
564
659
  } | {
660
+ maxWidth: string;
565
661
  paddingBottom: string;
566
662
  position: string;
567
663
  width: string;
568
664
  height: string;
569
665
  overflow: string;
570
666
  } | {
667
+ maxWidth: string;
668
+ paddingBottom: string;
571
669
  position: string;
572
670
  width: string;
573
671
  height: string;
574
672
  overflow: string;
575
673
  } | {
674
+ maxWidth: string;
576
675
  paddingBottom: string;
577
676
  position: string;
578
677
  width: string;
579
678
  height: string;
580
679
  overflow: string;
581
680
  } | {
681
+ maxWidth: string;
582
682
  paddingBottom: string;
583
683
  position: string;
584
684
  width: string;
@@ -591,53 +691,49 @@ declare const CustomImageWrapper: {
591
691
  height: string;
592
692
  overflow: string;
593
693
  } | {
694
+ maxWidth: string;
594
695
  paddingBottom: string;
595
696
  position: string;
596
697
  width: string;
597
698
  height: string;
598
699
  overflow: string;
599
700
  } | {
701
+ maxWidth: string;
600
702
  paddingBottom: string;
601
703
  position: string;
602
704
  width: string;
603
705
  height: string;
604
706
  overflow: string;
605
- };
606
- img: {
607
- backgroundColor: string;
608
- height: string;
609
- left: string;
707
+ } | {
610
708
  maxWidth: string;
709
+ paddingBottom: string;
611
710
  position: string;
612
- top: string;
613
711
  width: string;
614
- _dark: {
615
- backgroundColor: string;
616
- };
617
- };
618
- maxWidth: string;
619
- marginStart: string;
620
- marginEnd: string;
621
- width: string;
622
- } | {
623
- crop: {
712
+ height: string;
713
+ overflow: string;
714
+ } | {
715
+ maxWidth: string;
624
716
  paddingBottom: string;
625
717
  position: string;
626
718
  width: string;
627
719
  height: string;
628
720
  overflow: string;
629
721
  } | {
722
+ maxWidth: string;
630
723
  paddingBottom: string;
631
724
  position: string;
632
725
  width: string;
633
726
  height: string;
634
727
  overflow: string;
635
728
  } | {
729
+ maxWidth: string;
730
+ paddingBottom: string;
636
731
  position: string;
637
732
  width: string;
638
733
  height: string;
639
734
  overflow: string;
640
735
  } | {
736
+ maxWidth: string;
641
737
  paddingBottom: string;
642
738
  position: string;
643
739
  width: string;
@@ -650,54 +746,50 @@ declare const CustomImageWrapper: {
650
746
  height: string;
651
747
  overflow: string;
652
748
  } | {
749
+ maxWidth: string;
653
750
  paddingBottom: string;
654
751
  position: string;
655
752
  width: string;
656
753
  height: string;
657
754
  overflow: string;
658
755
  } | {
756
+ maxWidth: string;
659
757
  paddingBottom: string;
660
758
  position: string;
661
759
  width: string;
662
760
  height: string;
663
761
  overflow: string;
664
762
  } | {
763
+ maxWidth: string;
665
764
  paddingBottom: string;
666
765
  position: string;
667
766
  width: string;
668
767
  height: string;
669
768
  overflow: string;
670
- };
671
- img: {
672
- backgroundColor: string;
673
- height: string;
674
- left: string;
769
+ } | {
675
770
  maxWidth: string;
771
+ paddingBottom: string;
676
772
  position: string;
677
- top: string;
678
773
  width: string;
679
- _dark: {
680
- backgroundColor: string;
681
- };
682
- };
683
- maxWidth: string;
684
- marginStart: string;
685
- marginEnd: string;
686
- width: string;
687
- } | {
688
- crop: {
774
+ height: string;
775
+ overflow: string;
776
+ } | {
777
+ maxWidth: string;
689
778
  paddingBottom: string;
690
779
  position: string;
691
780
  width: string;
692
781
  height: string;
693
782
  overflow: string;
694
783
  } | {
784
+ maxWidth: string;
695
785
  paddingBottom: string;
696
786
  position: string;
697
787
  width: string;
698
788
  height: string;
699
789
  overflow: string;
700
790
  } | {
791
+ maxWidth: string;
792
+ paddingBottom: string;
701
793
  position: string;
702
794
  width: string;
703
795
  height: string;
@@ -709,46 +801,57 @@ declare const CustomImageWrapper: {
709
801
  height: string;
710
802
  overflow: string;
711
803
  } | {
804
+ maxWidth: string;
712
805
  paddingBottom: string;
713
806
  position: string;
714
807
  width: string;
715
808
  height: string;
716
809
  overflow: string;
717
810
  } | {
811
+ maxWidth: string;
718
812
  paddingBottom: string;
719
813
  position: string;
720
814
  width: string;
721
815
  height: string;
722
816
  overflow: string;
723
817
  } | {
818
+ maxWidth: string;
724
819
  paddingBottom: string;
725
820
  position: string;
726
821
  width: string;
727
822
  height: string;
728
823
  overflow: string;
729
824
  } | {
825
+ maxWidth: string;
730
826
  paddingBottom: string;
731
827
  position: string;
732
828
  width: string;
733
829
  height: string;
734
830
  overflow: string;
735
- };
736
- img: {
737
- backgroundColor: string;
738
- height: string;
739
- left: string;
831
+ } | {
740
832
  maxWidth: string;
833
+ paddingBottom: string;
741
834
  position: string;
742
- top: string;
743
835
  width: string;
744
- _dark: {
745
- backgroundColor: string;
746
- };
836
+ height: string;
837
+ overflow: string;
747
838
  };
748
- maxWidth: string;
749
- marginStart: string;
750
- marginEnd: string;
751
- width: string;
752
839
  };
840
+ sizes?: {
841
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
842
+ keys: ("base" | "crop")[];
843
+ }>;
844
+ };
845
+ variants?: {
846
+ [key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
847
+ keys: ("base" | "crop")[];
848
+ }>;
849
+ };
850
+ defaultProps?: {
851
+ size?: string | number;
852
+ variant?: string | number;
853
+ colorScheme?: string;
854
+ };
855
+ parts: ("base" | "crop")[];
753
856
  };
754
- export { CustomImage, CustomImageWrapper };
857
+ export { ReservoirImage, ReservoirImageWrapper };