@nycplanning/streetscape 0.19.2-0 → 0.21.0
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.
- package/dist/StreetscapeProvider.d.ts +0 -1
- package/dist/components/Accordion/Accordion.d.ts +4 -4
- package/dist/components/Button/ButtonGroup.d.ts +1 -1
- package/dist/components/Button/IconButton.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CloseButton/CloseButton.d.ts +1 -1
- package/dist/components/Combobox/Combobox.d.ts +29 -0
- package/dist/components/Combobox/index.d.ts +2 -0
- package/dist/components/Drawer/Drawer.d.ts +6 -6
- package/dist/components/FormControl/FormControl.d.ts +1 -1
- package/dist/components/FormControl/FormErrorMessage.d.ts +1 -1
- package/dist/components/FormControl/FormLabel.d.ts +1 -1
- package/dist/components/Icon/MapPinIcon.d.ts +2 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts +6 -6
- package/dist/components/NumberInput/Number-Decrement-Stepper.d.ts +1 -1
- package/dist/components/NumberInput/Number-Increment-Stepper.d.ts +1 -1
- package/dist/components/NumberInput/Number-Input-Field.d.ts +1 -1
- package/dist/components/NumberInput/Number-Input-Stepper.d.ts +1 -1
- package/dist/components/NumberInput/Number-Input.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +21 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts +16 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +9 -9
- package/dist/components/Tabs/Tabs.d.ts +5 -5
- package/dist/components/Tag/Tag.d.ts +5 -5
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/index.js +1397 -2326
- package/dist/index.js.map +1 -1
- package/dist/theme/components/alert.d.ts +75 -0
- package/dist/theme/components/card.d.ts +1 -1
- package/dist/theme/components/close-button.d.ts +1 -1
- package/dist/theme/components/combobox.d.ts +113 -0
- package/dist/theme/components/form-control.d.ts +2 -2
- package/dist/theme/components/form-error.d.ts +2 -2
- package/dist/theme/components/index.d.ts +342 -23
- package/dist/theme/components/popover.d.ts +83 -0
- package/dist/theme/components/slider.d.ts +53 -0
- package/dist/theme/components/switch.d.ts +24 -6
- package/dist/theme/components/tabs.d.ts +54 -7
- package/dist/theme/components/tag.d.ts +2 -2
- package/dist/theme/semantic-tokens/colors.d.ts +1 -0
- package/dist/theme/semantic-tokens/index.d.ts +1 -0
- package/dist/theme/tokens/colors.d.ts +1 -0
- package/dist/theme/tokens/font-sizes.d.ts +1 -0
- package/dist/theme/tokens/index.d.ts +3 -0
- package/dist/theme/tokens/radii.d.ts +1 -0
- package/package.json +16 -11
|
@@ -51,6 +51,81 @@ export declare const components: {
|
|
|
51
51
|
} | undefined;
|
|
52
52
|
parts: ("root" | "container" | "button" | "panel" | "icon")[];
|
|
53
53
|
};
|
|
54
|
+
Alert: {
|
|
55
|
+
baseStyle?: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
56
|
+
keys: ("container" | "icon" | "spinner" | "title" | "description")[];
|
|
57
|
+
}> | undefined;
|
|
58
|
+
sizes?: {
|
|
59
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
60
|
+
keys: ("container" | "icon" | "spinner" | "title" | "description")[];
|
|
61
|
+
}>;
|
|
62
|
+
} | undefined;
|
|
63
|
+
variants?: {
|
|
64
|
+
outline: {
|
|
65
|
+
container: {
|
|
66
|
+
border: string;
|
|
67
|
+
borderColor: string;
|
|
68
|
+
borderRadius: string;
|
|
69
|
+
alignItems: string;
|
|
70
|
+
width: string;
|
|
71
|
+
minWidth: string;
|
|
72
|
+
'&[data-status="error"]': {
|
|
73
|
+
borderColor: string;
|
|
74
|
+
};
|
|
75
|
+
'&[data-status="success"]': {
|
|
76
|
+
borderColor: string;
|
|
77
|
+
};
|
|
78
|
+
'&[data-status="loading"]': {
|
|
79
|
+
borderColor: string;
|
|
80
|
+
};
|
|
81
|
+
bg?: string | undefined;
|
|
82
|
+
px?: string | undefined;
|
|
83
|
+
py?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
title: {
|
|
86
|
+
color: string;
|
|
87
|
+
fontSize: string;
|
|
88
|
+
lineHeight: string;
|
|
89
|
+
fontWeight?: string | undefined;
|
|
90
|
+
marginEnd?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
description: {
|
|
93
|
+
color: string;
|
|
94
|
+
fontSize: string;
|
|
95
|
+
lineHeight: string;
|
|
96
|
+
};
|
|
97
|
+
icon: {
|
|
98
|
+
color: string;
|
|
99
|
+
marginTop: number;
|
|
100
|
+
height: number;
|
|
101
|
+
width: number;
|
|
102
|
+
'&[data-status="error"]': {
|
|
103
|
+
color: string;
|
|
104
|
+
};
|
|
105
|
+
'&[data-status="success"]': {
|
|
106
|
+
color: string;
|
|
107
|
+
};
|
|
108
|
+
flexShrink?: number | undefined;
|
|
109
|
+
marginEnd?: string | undefined;
|
|
110
|
+
w?: string | undefined;
|
|
111
|
+
h?: string | undefined;
|
|
112
|
+
};
|
|
113
|
+
spinner: {
|
|
114
|
+
color: string;
|
|
115
|
+
flexShrink?: number | undefined;
|
|
116
|
+
marginEnd?: string | undefined;
|
|
117
|
+
w?: string | undefined;
|
|
118
|
+
h?: string | undefined;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
} | undefined;
|
|
122
|
+
defaultProps?: {
|
|
123
|
+
size?: string | number | undefined;
|
|
124
|
+
variant?: "outline" | undefined;
|
|
125
|
+
colorScheme?: string | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
parts: ("container" | "icon" | "spinner" | "title" | "description")[];
|
|
128
|
+
};
|
|
54
129
|
Button: {
|
|
55
130
|
baseStyle?: {
|
|
56
131
|
border: string;
|
|
@@ -241,7 +316,7 @@ export declare const components: {
|
|
|
241
316
|
variants?: {
|
|
242
317
|
calm: {
|
|
243
318
|
container: {
|
|
244
|
-
padding:
|
|
319
|
+
padding: number;
|
|
245
320
|
borderRadius: string;
|
|
246
321
|
backgroundColor: string;
|
|
247
322
|
};
|
|
@@ -349,6 +424,119 @@ export declare const components: {
|
|
|
349
424
|
} | undefined;
|
|
350
425
|
parts: ("container" | "icon" | "label" | "control")[];
|
|
351
426
|
};
|
|
427
|
+
Combobox: {
|
|
428
|
+
baseStyle?: {
|
|
429
|
+
root: {
|
|
430
|
+
borderRadius: string;
|
|
431
|
+
display: string;
|
|
432
|
+
flexDir: string;
|
|
433
|
+
gap: number;
|
|
434
|
+
};
|
|
435
|
+
input: {
|
|
436
|
+
field: {
|
|
437
|
+
paddingInlineStart: number;
|
|
438
|
+
fontFamily: string;
|
|
439
|
+
fontSize: string;
|
|
440
|
+
borderRadius: string;
|
|
441
|
+
outlineColor: string;
|
|
442
|
+
_hover: {
|
|
443
|
+
borderColor: string;
|
|
444
|
+
};
|
|
445
|
+
_focus: {
|
|
446
|
+
borderColor: string;
|
|
447
|
+
};
|
|
448
|
+
background?: string | undefined;
|
|
449
|
+
border?: string | undefined;
|
|
450
|
+
borderColor?: string | undefined;
|
|
451
|
+
color?: string | undefined;
|
|
452
|
+
py?: number | undefined;
|
|
453
|
+
px?: number | undefined;
|
|
454
|
+
width?: string | undefined;
|
|
455
|
+
_invalid?: {
|
|
456
|
+
border: string;
|
|
457
|
+
borderColor: string;
|
|
458
|
+
} | undefined;
|
|
459
|
+
_focusVisible?: {
|
|
460
|
+
border: string;
|
|
461
|
+
borderColor: string;
|
|
462
|
+
} | undefined;
|
|
463
|
+
_disabled?: {
|
|
464
|
+
border: string;
|
|
465
|
+
borderColor: string;
|
|
466
|
+
background: string;
|
|
467
|
+
} | undefined;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
control: {
|
|
471
|
+
display: string;
|
|
472
|
+
width: string;
|
|
473
|
+
position: string;
|
|
474
|
+
isolation: string;
|
|
475
|
+
alignItems: string;
|
|
476
|
+
borderRadius: string;
|
|
477
|
+
};
|
|
478
|
+
clearTrigger: {
|
|
479
|
+
display: string;
|
|
480
|
+
width: number;
|
|
481
|
+
height: number;
|
|
482
|
+
padding: number;
|
|
483
|
+
justifyContent: string;
|
|
484
|
+
alignItems: string;
|
|
485
|
+
alignSelf: string;
|
|
486
|
+
position: string;
|
|
487
|
+
right: number;
|
|
488
|
+
zIndex: number;
|
|
489
|
+
};
|
|
490
|
+
content: {
|
|
491
|
+
borderRadius: string;
|
|
492
|
+
paddingY: number;
|
|
493
|
+
paddingLeft: number;
|
|
494
|
+
paddingRight: number;
|
|
495
|
+
color: string;
|
|
496
|
+
boxShadow: string;
|
|
497
|
+
};
|
|
498
|
+
item: {
|
|
499
|
+
display: string;
|
|
500
|
+
padding: number;
|
|
501
|
+
alignItems: string;
|
|
502
|
+
borderRadius: string;
|
|
503
|
+
cursor: string;
|
|
504
|
+
_hover: {
|
|
505
|
+
bgColor: string;
|
|
506
|
+
};
|
|
507
|
+
_focus: {
|
|
508
|
+
bgColor: string;
|
|
509
|
+
};
|
|
510
|
+
_highlighted: {
|
|
511
|
+
bgColor: string;
|
|
512
|
+
};
|
|
513
|
+
'&[data-state="checked"]': {
|
|
514
|
+
cursor: string;
|
|
515
|
+
color: string;
|
|
516
|
+
bgColor: string;
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
itemText: {
|
|
520
|
+
fontSize: string;
|
|
521
|
+
};
|
|
522
|
+
} | undefined;
|
|
523
|
+
sizes?: {
|
|
524
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
525
|
+
keys: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
|
|
526
|
+
}>;
|
|
527
|
+
} | undefined;
|
|
528
|
+
variants?: {
|
|
529
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
530
|
+
keys: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
|
|
531
|
+
}>;
|
|
532
|
+
} | undefined;
|
|
533
|
+
defaultProps?: {
|
|
534
|
+
size?: string | number | undefined;
|
|
535
|
+
variant?: string | number | undefined;
|
|
536
|
+
colorScheme?: string | undefined;
|
|
537
|
+
} | undefined;
|
|
538
|
+
parts: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
|
|
539
|
+
};
|
|
352
540
|
Switch: {
|
|
353
541
|
baseStyle?: (() => {
|
|
354
542
|
track: {
|
|
@@ -579,12 +767,12 @@ export declare const components: {
|
|
|
579
767
|
};
|
|
580
768
|
} | undefined;
|
|
581
769
|
sizes?: {
|
|
582
|
-
[key: string]: import('@chakra-ui/
|
|
770
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
583
771
|
keys: ("container" | "requiredIndicator" | "helperText")[];
|
|
584
772
|
}>;
|
|
585
773
|
} | undefined;
|
|
586
774
|
variants?: {
|
|
587
|
-
[key: string]: import('@chakra-ui/
|
|
775
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
588
776
|
keys: ("container" | "requiredIndicator" | "helperText")[];
|
|
589
777
|
}>;
|
|
590
778
|
} | undefined;
|
|
@@ -604,12 +792,12 @@ export declare const components: {
|
|
|
604
792
|
};
|
|
605
793
|
} | undefined;
|
|
606
794
|
sizes?: {
|
|
607
|
-
[key: string]: import('@chakra-ui/
|
|
795
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
608
796
|
keys: ("icon" | "text")[];
|
|
609
797
|
}>;
|
|
610
798
|
} | undefined;
|
|
611
799
|
variants?: {
|
|
612
|
-
[key: string]: import('@chakra-ui/
|
|
800
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
613
801
|
keys: ("icon" | "text")[];
|
|
614
802
|
}>;
|
|
615
803
|
} | undefined;
|
|
@@ -773,7 +961,7 @@ export declare const components: {
|
|
|
773
961
|
[key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
|
|
774
962
|
} | undefined;
|
|
775
963
|
defaultProps?: {
|
|
776
|
-
size?: "
|
|
964
|
+
size?: "md" | "sm" | "lg" | undefined;
|
|
777
965
|
variant?: string | number | undefined;
|
|
778
966
|
colorScheme?: string | undefined;
|
|
779
967
|
} | undefined;
|
|
@@ -846,16 +1034,17 @@ export declare const components: {
|
|
|
846
1034
|
} | undefined;
|
|
847
1035
|
variants?: {
|
|
848
1036
|
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
849
|
-
keys: ("overlay" | "
|
|
1037
|
+
keys: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
850
1038
|
}>;
|
|
851
1039
|
} | undefined;
|
|
852
1040
|
defaultProps?: {
|
|
853
|
-
size?: "
|
|
1041
|
+
size?: "md" | "full" | "xs" | "sm" | "lg" | "xl" | undefined;
|
|
854
1042
|
variant?: string | number | undefined;
|
|
855
1043
|
colorScheme?: string | undefined;
|
|
856
1044
|
} | undefined;
|
|
857
|
-
parts: ("overlay" | "
|
|
1045
|
+
parts: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
858
1046
|
};
|
|
1047
|
+
Slider: any;
|
|
859
1048
|
Table: {
|
|
860
1049
|
baseStyle?: {
|
|
861
1050
|
table: {
|
|
@@ -1012,14 +1201,14 @@ export declare const components: {
|
|
|
1012
1201
|
unstyled: {};
|
|
1013
1202
|
} | undefined;
|
|
1014
1203
|
defaultProps?: {
|
|
1015
|
-
size?: "
|
|
1204
|
+
size?: "md" | "sm" | "lg" | undefined;
|
|
1016
1205
|
variant?: "unstyled" | "simple" | "striped" | undefined;
|
|
1017
1206
|
colorScheme?: string | undefined;
|
|
1018
1207
|
} | undefined;
|
|
1019
|
-
parts: ("table" | "caption" | "
|
|
1208
|
+
parts: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
1020
1209
|
};
|
|
1021
1210
|
Tabs: {
|
|
1022
|
-
baseStyle?: ((props: import('@chakra-ui/
|
|
1211
|
+
baseStyle?: ((props: import('@chakra-ui/system').StyleFunctionProps) => {
|
|
1023
1212
|
root: {
|
|
1024
1213
|
display: string;
|
|
1025
1214
|
alignItems: string;
|
|
@@ -1033,7 +1222,6 @@ export declare const components: {
|
|
|
1033
1222
|
paddingY: number;
|
|
1034
1223
|
background: string;
|
|
1035
1224
|
textAlign: string;
|
|
1036
|
-
fontFamily: string;
|
|
1037
1225
|
fontWeight: number;
|
|
1038
1226
|
fontSize: string;
|
|
1039
1227
|
_focusVisible: {
|
|
@@ -1062,16 +1250,64 @@ export declare const components: {
|
|
|
1062
1250
|
};
|
|
1063
1251
|
}) | undefined;
|
|
1064
1252
|
sizes?: {
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1253
|
+
md: {
|
|
1254
|
+
tab: {
|
|
1255
|
+
fontSize: string;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
sm: {
|
|
1259
|
+
tab: {
|
|
1260
|
+
fontSize: string;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1068
1263
|
} | undefined;
|
|
1069
1264
|
variants?: {
|
|
1070
1265
|
base: {};
|
|
1266
|
+
mapControl: {
|
|
1267
|
+
root: {
|
|
1268
|
+
boxShadow: string;
|
|
1269
|
+
borderRadius: string;
|
|
1270
|
+
backgroundColor: string;
|
|
1271
|
+
};
|
|
1272
|
+
tablist: {
|
|
1273
|
+
boxShadow: string;
|
|
1274
|
+
};
|
|
1275
|
+
tab: {
|
|
1276
|
+
borderRadius: number;
|
|
1277
|
+
boxShadow: number;
|
|
1278
|
+
color: string;
|
|
1279
|
+
px: number;
|
|
1280
|
+
py: number;
|
|
1281
|
+
fontWeight: number;
|
|
1282
|
+
borderRight: string;
|
|
1283
|
+
borderRightColor: string;
|
|
1284
|
+
_first: {
|
|
1285
|
+
borderLeftRadius: string;
|
|
1286
|
+
};
|
|
1287
|
+
_last: {
|
|
1288
|
+
borderRight: string;
|
|
1289
|
+
borderRadius: string;
|
|
1290
|
+
_selected: {
|
|
1291
|
+
border: string;
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
"button:has(+ &[aria-selected='true'])": {
|
|
1295
|
+
borderRight: number;
|
|
1296
|
+
};
|
|
1297
|
+
_selected: {
|
|
1298
|
+
paddingTop: number;
|
|
1299
|
+
color: string;
|
|
1300
|
+
backgroundColor: string;
|
|
1301
|
+
border: string;
|
|
1302
|
+
borderRadius: string;
|
|
1303
|
+
fontWeight: number;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1071
1307
|
} | undefined;
|
|
1072
1308
|
defaultProps?: {
|
|
1073
|
-
size?:
|
|
1074
|
-
variant?: "base" | undefined;
|
|
1309
|
+
size?: "sm" | "md" | undefined;
|
|
1310
|
+
variant?: "base" | "mapControl" | undefined;
|
|
1075
1311
|
colorScheme?: string | undefined;
|
|
1076
1312
|
} | undefined;
|
|
1077
1313
|
parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
|
|
@@ -1187,15 +1423,15 @@ export declare const components: {
|
|
|
1187
1423
|
} | undefined;
|
|
1188
1424
|
variants?: {
|
|
1189
1425
|
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
1190
|
-
keys: ("overlay" | "
|
|
1426
|
+
keys: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
1191
1427
|
}>;
|
|
1192
1428
|
} | undefined;
|
|
1193
1429
|
defaultProps?: {
|
|
1194
|
-
size?: "
|
|
1430
|
+
size?: "md" | "full" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | undefined;
|
|
1195
1431
|
variant?: string | number | undefined;
|
|
1196
1432
|
colorScheme?: string | undefined;
|
|
1197
1433
|
} | undefined;
|
|
1198
|
-
parts: ("overlay" | "
|
|
1434
|
+
parts: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
1199
1435
|
};
|
|
1200
1436
|
Skeleton: {
|
|
1201
1437
|
baseStyle?: {
|
|
@@ -1301,12 +1537,12 @@ export declare const components: {
|
|
|
1301
1537
|
} | undefined;
|
|
1302
1538
|
} | undefined;
|
|
1303
1539
|
sizes?: {
|
|
1304
|
-
[key: string]: import('@chakra-ui/
|
|
1540
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
1305
1541
|
keys: ("container" | "label" | "closeButton")[];
|
|
1306
1542
|
}>;
|
|
1307
1543
|
} | undefined;
|
|
1308
1544
|
variants?: {
|
|
1309
|
-
[key: string]: import('@chakra-ui/
|
|
1545
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
1310
1546
|
keys: ("container" | "label" | "closeButton")[];
|
|
1311
1547
|
}>;
|
|
1312
1548
|
} | undefined;
|
|
@@ -1317,4 +1553,87 @@ export declare const components: {
|
|
|
1317
1553
|
} | undefined;
|
|
1318
1554
|
parts: ("container" | "label" | "closeButton")[];
|
|
1319
1555
|
};
|
|
1556
|
+
Popover: {
|
|
1557
|
+
baseStyle?: {
|
|
1558
|
+
content: {
|
|
1559
|
+
border: string;
|
|
1560
|
+
borderColor: string;
|
|
1561
|
+
borderRadius: string;
|
|
1562
|
+
background: string;
|
|
1563
|
+
padding: number;
|
|
1564
|
+
boxShadow: string;
|
|
1565
|
+
display: string;
|
|
1566
|
+
flexDirection: string;
|
|
1567
|
+
justifyContent: string;
|
|
1568
|
+
alignItems: string;
|
|
1569
|
+
gap: string;
|
|
1570
|
+
width: string;
|
|
1571
|
+
bg?: string | undefined;
|
|
1572
|
+
_dark?: {
|
|
1573
|
+
[x: string]: string;
|
|
1574
|
+
} | undefined;
|
|
1575
|
+
zIndex?: string | undefined;
|
|
1576
|
+
_focusVisible?: {
|
|
1577
|
+
outline: number;
|
|
1578
|
+
boxShadow: string;
|
|
1579
|
+
} | undefined;
|
|
1580
|
+
};
|
|
1581
|
+
header: {
|
|
1582
|
+
borderColor: string;
|
|
1583
|
+
color: string;
|
|
1584
|
+
fontWeight: string;
|
|
1585
|
+
fontSize: string;
|
|
1586
|
+
alignSelf: string;
|
|
1587
|
+
paddingBottom: number;
|
|
1588
|
+
paddingLeft: number;
|
|
1589
|
+
px?: number | undefined;
|
|
1590
|
+
py?: number | undefined;
|
|
1591
|
+
borderBottomWidth?: string | undefined;
|
|
1592
|
+
};
|
|
1593
|
+
body: {
|
|
1594
|
+
fontSize: string;
|
|
1595
|
+
color: string;
|
|
1596
|
+
padding: number;
|
|
1597
|
+
px?: number | undefined;
|
|
1598
|
+
py?: number | undefined;
|
|
1599
|
+
};
|
|
1600
|
+
closeButton: {
|
|
1601
|
+
position: string;
|
|
1602
|
+
top: string;
|
|
1603
|
+
right: string;
|
|
1604
|
+
borderRadius?: string | undefined;
|
|
1605
|
+
insetEnd?: number | undefined;
|
|
1606
|
+
padding?: number | undefined;
|
|
1607
|
+
};
|
|
1608
|
+
footer: {
|
|
1609
|
+
borderTop: string;
|
|
1610
|
+
padding: number;
|
|
1611
|
+
display: string;
|
|
1612
|
+
alignSelf: string;
|
|
1613
|
+
alignItems: string;
|
|
1614
|
+
alignContent: string;
|
|
1615
|
+
gap: string;
|
|
1616
|
+
justifyContent: string;
|
|
1617
|
+
px?: number | undefined;
|
|
1618
|
+
py?: number | undefined;
|
|
1619
|
+
borderTopWidth?: string | undefined;
|
|
1620
|
+
};
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
sizes?: {
|
|
1623
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
1624
|
+
keys: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
1625
|
+
}>;
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
variants?: {
|
|
1628
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
1629
|
+
keys: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
1630
|
+
}>;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
defaultProps?: {
|
|
1633
|
+
size?: string | number | undefined;
|
|
1634
|
+
variant?: string | number | undefined;
|
|
1635
|
+
colorScheme?: string | undefined;
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
parts: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
1638
|
+
};
|
|
1320
1639
|
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export declare const popoverTheme: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
content: {
|
|
4
|
+
border: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
background: string;
|
|
8
|
+
padding: number;
|
|
9
|
+
boxShadow: string;
|
|
10
|
+
display: string;
|
|
11
|
+
flexDirection: string;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
alignItems: string;
|
|
14
|
+
gap: string;
|
|
15
|
+
width: string;
|
|
16
|
+
bg?: string | undefined;
|
|
17
|
+
_dark?: {
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
} | undefined;
|
|
20
|
+
zIndex?: string | undefined;
|
|
21
|
+
_focusVisible?: {
|
|
22
|
+
outline: number;
|
|
23
|
+
boxShadow: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
header: {
|
|
27
|
+
borderColor: string;
|
|
28
|
+
color: string;
|
|
29
|
+
fontWeight: string;
|
|
30
|
+
fontSize: string;
|
|
31
|
+
alignSelf: string;
|
|
32
|
+
paddingBottom: number;
|
|
33
|
+
paddingLeft: number;
|
|
34
|
+
px?: number | undefined;
|
|
35
|
+
py?: number | undefined;
|
|
36
|
+
borderBottomWidth?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
body: {
|
|
39
|
+
fontSize: string;
|
|
40
|
+
color: string;
|
|
41
|
+
padding: number;
|
|
42
|
+
px?: number | undefined;
|
|
43
|
+
py?: number | undefined;
|
|
44
|
+
};
|
|
45
|
+
closeButton: {
|
|
46
|
+
position: string;
|
|
47
|
+
top: string;
|
|
48
|
+
right: string;
|
|
49
|
+
borderRadius?: string | undefined;
|
|
50
|
+
insetEnd?: number | undefined;
|
|
51
|
+
padding?: number | undefined;
|
|
52
|
+
};
|
|
53
|
+
footer: {
|
|
54
|
+
borderTop: string;
|
|
55
|
+
padding: number;
|
|
56
|
+
display: string;
|
|
57
|
+
alignSelf: string;
|
|
58
|
+
alignItems: string;
|
|
59
|
+
alignContent: string;
|
|
60
|
+
gap: string;
|
|
61
|
+
justifyContent: string;
|
|
62
|
+
px?: number | undefined;
|
|
63
|
+
py?: number | undefined;
|
|
64
|
+
borderTopWidth?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
} | undefined;
|
|
67
|
+
sizes?: {
|
|
68
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
69
|
+
keys: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
70
|
+
}>;
|
|
71
|
+
} | undefined;
|
|
72
|
+
variants?: {
|
|
73
|
+
[key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
|
|
74
|
+
keys: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
75
|
+
}>;
|
|
76
|
+
} | undefined;
|
|
77
|
+
defaultProps?: {
|
|
78
|
+
size?: string | number | undefined;
|
|
79
|
+
variant?: string | number | undefined;
|
|
80
|
+
colorScheme?: string | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
parts: ("content" | "body" | "header" | "footer" | "closeButton" | "popper" | "arrow")[];
|
|
83
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const $thumbSize: {
|
|
2
|
+
variable: string;
|
|
3
|
+
reference: string;
|
|
4
|
+
};
|
|
5
|
+
declare const $trackSize: {
|
|
6
|
+
variable: string;
|
|
7
|
+
reference: string;
|
|
8
|
+
};
|
|
9
|
+
declare const $bg: {
|
|
10
|
+
variable: string;
|
|
11
|
+
reference: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const sliderThemeExtension: {
|
|
14
|
+
baseStyle?: (() => {
|
|
15
|
+
container: {};
|
|
16
|
+
track: {
|
|
17
|
+
[$bg.variable]: string;
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
border: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
};
|
|
22
|
+
thumb: {
|
|
23
|
+
border: string;
|
|
24
|
+
borderColor: string;
|
|
25
|
+
bg: string;
|
|
26
|
+
boxShadow: string;
|
|
27
|
+
};
|
|
28
|
+
filledTrack: {
|
|
29
|
+
[$bg.variable]: string;
|
|
30
|
+
};
|
|
31
|
+
}) | undefined;
|
|
32
|
+
sizes?: {
|
|
33
|
+
md: {
|
|
34
|
+
container: {
|
|
35
|
+
[$thumbSize.variable]: string;
|
|
36
|
+
[$trackSize.variable]: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
} | undefined;
|
|
40
|
+
variants?: {
|
|
41
|
+
[key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
|
|
42
|
+
keys: ("container" | "track" | "thumb" | "filledTrack" | "mark")[];
|
|
43
|
+
}>;
|
|
44
|
+
} | undefined;
|
|
45
|
+
defaultProps?: {
|
|
46
|
+
size?: "md" | undefined;
|
|
47
|
+
variant?: string | number | undefined;
|
|
48
|
+
colorScheme?: string | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
parts: ("container" | "track" | "thumb" | "filledTrack" | "mark")[];
|
|
51
|
+
};
|
|
52
|
+
export declare const sliderTheme: any;
|
|
53
|
+
export {};
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
declare const $width: {
|
|
2
|
+
variable: string;
|
|
3
|
+
reference: string;
|
|
4
|
+
};
|
|
5
|
+
declare const $height: {
|
|
6
|
+
variable: string;
|
|
7
|
+
reference: string;
|
|
8
|
+
};
|
|
9
|
+
declare const $diff: {
|
|
10
|
+
variable: string;
|
|
11
|
+
reference: string;
|
|
12
|
+
};
|
|
13
|
+
declare const $translateX: {
|
|
14
|
+
variable: string;
|
|
15
|
+
reference: string;
|
|
16
|
+
};
|
|
1
17
|
export declare const switchTheme: {
|
|
2
18
|
baseStyle?: (() => {
|
|
3
19
|
track: {
|
|
@@ -17,11 +33,10 @@ export declare const switchTheme: {
|
|
|
17
33
|
};
|
|
18
34
|
};
|
|
19
35
|
container: {
|
|
20
|
-
[
|
|
21
|
-
|
|
22
|
-
};
|
|
36
|
+
[$diff.variable]: string;
|
|
37
|
+
[$translateX.variable]: string;
|
|
23
38
|
_rtl: {
|
|
24
|
-
[
|
|
39
|
+
[$translateX.variable]: string;
|
|
25
40
|
};
|
|
26
41
|
};
|
|
27
42
|
thumb: {
|
|
@@ -40,12 +55,14 @@ export declare const switchTheme: {
|
|
|
40
55
|
sizes?: {
|
|
41
56
|
sm: {
|
|
42
57
|
container: {
|
|
43
|
-
[
|
|
58
|
+
[$width.variable]: string;
|
|
59
|
+
[$height.variable]: string;
|
|
44
60
|
};
|
|
45
61
|
};
|
|
46
62
|
lg: {
|
|
47
63
|
container: {
|
|
48
|
-
[
|
|
64
|
+
[$width.variable]: string;
|
|
65
|
+
[$height.variable]: string;
|
|
49
66
|
};
|
|
50
67
|
};
|
|
51
68
|
} | undefined;
|
|
@@ -59,3 +76,4 @@ export declare const switchTheme: {
|
|
|
59
76
|
} | undefined;
|
|
60
77
|
parts: ("container" | "track" | "thumb")[];
|
|
61
78
|
};
|
|
79
|
+
export {};
|