@bitrise/bitkit-v2 0.3.119 → 0.3.121
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/atoms/DatePicker/DatePicker.d.ts +69 -0
- package/dist/atoms/DatePicker/DatePicker.js +102 -0
- package/dist/components/BitkitCalendar/BitkitCalendar.d.ts +16 -0
- package/dist/components/BitkitCalendar/BitkitCalendar.js +102 -0
- package/dist/components/BitkitCalendar/Calendar.utils.d.ts +3 -0
- package/dist/components/BitkitCalendar/Calendar.utils.js +6 -0
- package/dist/components/BitkitCalendar/components/CalendarFooter.d.ts +6 -0
- package/dist/components/BitkitCalendar/components/CalendarFooter.js +27 -0
- package/dist/components/BitkitCalendar/components/CalendarMonth.d.ts +4 -0
- package/dist/components/BitkitCalendar/components/CalendarMonth.js +13 -0
- package/dist/components/BitkitCalendar/components/CalendarMonthSelect.d.ts +9 -0
- package/dist/components/BitkitCalendar/components/CalendarMonthSelect.js +46 -0
- package/dist/components/BitkitCalendar/components/CalendarNextTrigger.d.ts +2 -0
- package/dist/components/BitkitCalendar/components/CalendarNextTrigger.js +11 -0
- package/dist/components/BitkitCalendar/components/CalendarPrevTrigger.d.ts +2 -0
- package/dist/components/BitkitCalendar/components/CalendarPrevTrigger.js +11 -0
- package/dist/components/BitkitCalendar/components/CalendarSelect.d.ts +18 -0
- package/dist/components/BitkitCalendar/components/CalendarSelect.js +39 -0
- package/dist/components/BitkitCalendar/components/CalendarTrigger.d.ts +5 -0
- package/dist/components/BitkitCalendar/components/CalendarTrigger.js +18 -0
- package/dist/components/BitkitCalendar/components/CalendarYearSelect.d.ts +12 -0
- package/dist/components/BitkitCalendar/components/CalendarYearSelect.js +48 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +1122 -1120
- package/dist/theme/semantic-tokens/semanticColors.js +42 -0
- package/dist/theme/slot-recipes/DatePicker.recipe.d.ts +40 -0
- package/dist/theme/slot-recipes/DatePicker.recipe.js +245 -0
- package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +39 -0
- package/dist/theme/slot-recipes/DatePickerSelect.recipe.js +57 -0
- package/dist/theme/slot-recipes/RadioGroup.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Select.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/index.d.ts +79 -2
- package/dist/theme/slot-recipes/index.js +34 -30
- package/package.json +1 -1
|
@@ -1433,6 +1433,48 @@ const r = l.colors(
|
|
|
1433
1433
|
}
|
|
1434
1434
|
}
|
|
1435
1435
|
},
|
|
1436
|
+
interactive: {
|
|
1437
|
+
base: {
|
|
1438
|
+
value: {
|
|
1439
|
+
_light: "{colors.sys.purple}"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
bold: {
|
|
1443
|
+
value: {
|
|
1444
|
+
_light: "{colors.sys.purple.bold}"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
highlight: {
|
|
1448
|
+
value: {
|
|
1449
|
+
_light: "{colors.sys.interactive.highlight}"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
muted: {
|
|
1453
|
+
value: {
|
|
1454
|
+
_light: "{colors.sys.purple.muted}"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
moderate: {
|
|
1458
|
+
value: {
|
|
1459
|
+
_light: "{colors.sys.purple.moderate}"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
subtle: {
|
|
1463
|
+
value: {
|
|
1464
|
+
_light: "{colors.sys.purple.subtle}"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
minimal: {
|
|
1468
|
+
value: {
|
|
1469
|
+
_light: "{colors.sys.purple.minimal}"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
disabled: {
|
|
1473
|
+
value: {
|
|
1474
|
+
_light: "{colors.sys.neutral.subtle}"
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1436
1478
|
status: {
|
|
1437
1479
|
info: {
|
|
1438
1480
|
bg: {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const datePickerSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "table" | "view" | "trigger" | "positioner" | "root" | "clearTrigger" | "control" | "monthSelect" | "nextTrigger" | "presetTrigger" | "prevTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect" | "valueText" | "months", {
|
|
2
|
+
layout: {
|
|
3
|
+
'1-month': {
|
|
4
|
+
content: {
|
|
5
|
+
width: "17.5rem";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
'2-month': {
|
|
9
|
+
content: {
|
|
10
|
+
width: "38.5rem";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
showOutsideDays: {
|
|
15
|
+
false: {
|
|
16
|
+
tableCellTrigger: {
|
|
17
|
+
'&[data-outside-range]': {
|
|
18
|
+
visibility: "hidden";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
true: {
|
|
23
|
+
tableCellTrigger: {
|
|
24
|
+
'&[data-outside-range]': {
|
|
25
|
+
visibility: "visible";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
variant: {
|
|
31
|
+
mobile: {
|
|
32
|
+
content: {
|
|
33
|
+
boxShadow: "none";
|
|
34
|
+
paddingBlock: "16";
|
|
35
|
+
paddingInline: "16";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
export default datePickerSlotRecipe;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { datePickerAnatomy as a } from "@ark-ui/react/date-picker";
|
|
2
|
+
import { defineSlotRecipe as r } from "@chakra-ui/react/styled-system";
|
|
3
|
+
import { rem as e } from "../themeUtils.js";
|
|
4
|
+
const i = r({
|
|
5
|
+
className: "datePicker",
|
|
6
|
+
slots: [...a.keys(), "months"],
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexDirection: "column",
|
|
11
|
+
gap: "8"
|
|
12
|
+
},
|
|
13
|
+
control: {
|
|
14
|
+
position: "relative",
|
|
15
|
+
display: "flex",
|
|
16
|
+
alignItems: "center"
|
|
17
|
+
},
|
|
18
|
+
months: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
gap: "24"
|
|
21
|
+
},
|
|
22
|
+
positioner: {
|
|
23
|
+
position: "absolute",
|
|
24
|
+
zIndex: "dropdown"
|
|
25
|
+
},
|
|
26
|
+
content: {
|
|
27
|
+
backgroundColor: "background/primary",
|
|
28
|
+
borderRadius: "8",
|
|
29
|
+
boxShadow: "large",
|
|
30
|
+
minWidth: e(312),
|
|
31
|
+
paddingBlock: "24",
|
|
32
|
+
paddingInline: "16"
|
|
33
|
+
},
|
|
34
|
+
view: {
|
|
35
|
+
display: "flex",
|
|
36
|
+
flexDirection: "column",
|
|
37
|
+
gap: "16"
|
|
38
|
+
},
|
|
39
|
+
viewControl: {
|
|
40
|
+
display: "flex",
|
|
41
|
+
alignItems: "center",
|
|
42
|
+
justifyContent: "space-between"
|
|
43
|
+
},
|
|
44
|
+
table: {
|
|
45
|
+
width: "full",
|
|
46
|
+
borderCollapse: "collapse",
|
|
47
|
+
borderSpacing: 0,
|
|
48
|
+
tableLayout: "fixed"
|
|
49
|
+
},
|
|
50
|
+
tableBody: {
|
|
51
|
+
"& > tr:first-child > td": {
|
|
52
|
+
paddingTop: "8"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
tableRow: {
|
|
56
|
+
display: "table-row"
|
|
57
|
+
},
|
|
58
|
+
tableHeader: {
|
|
59
|
+
color: "text/tertiary",
|
|
60
|
+
textAlign: "center",
|
|
61
|
+
textStyle: "body/md/regular",
|
|
62
|
+
width: "40",
|
|
63
|
+
minWidth: "40",
|
|
64
|
+
maxWidth: "40"
|
|
65
|
+
},
|
|
66
|
+
tableCell: {
|
|
67
|
+
textAlign: "center",
|
|
68
|
+
paddingBlock: "2"
|
|
69
|
+
},
|
|
70
|
+
tableCellTrigger: {
|
|
71
|
+
display: "flex",
|
|
72
|
+
alignItems: "stretch",
|
|
73
|
+
justifyContent: "center",
|
|
74
|
+
width: "100%",
|
|
75
|
+
height: e(32),
|
|
76
|
+
color: "text/primary",
|
|
77
|
+
cursor: "pointer",
|
|
78
|
+
textStyle: "body/md/regular",
|
|
79
|
+
"&:hover:not([data-selected])": {
|
|
80
|
+
backgroundColor: "interactive/moderate",
|
|
81
|
+
borderRadius: "0.5rem"
|
|
82
|
+
},
|
|
83
|
+
"&[data-unavailable]": {
|
|
84
|
+
borderRadius: 0,
|
|
85
|
+
backgroundColor: "interactive/disabled",
|
|
86
|
+
color: "text/disabled",
|
|
87
|
+
"&:hover, &[data-outside-range]:hover": {
|
|
88
|
+
borderRadius: 0,
|
|
89
|
+
backgroundColor: "interactive/disabled",
|
|
90
|
+
color: "text/disabled"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"&[data-outside-range]": {
|
|
94
|
+
color: "text/tertiary",
|
|
95
|
+
cursor: "not-allowed"
|
|
96
|
+
},
|
|
97
|
+
"&[data-outside-range][data-unavailable]": {
|
|
98
|
+
color: "text/disabled"
|
|
99
|
+
},
|
|
100
|
+
"&[data-outside-range][data-in-range], &[data-outside-range][data-in-range]:hover": {
|
|
101
|
+
backgroundColor: "interactive/moderate",
|
|
102
|
+
color: "interactive/bold",
|
|
103
|
+
cursor: "not-allowed"
|
|
104
|
+
},
|
|
105
|
+
"&[data-outside-range][data-range-end]": {
|
|
106
|
+
backgroundColor: "interactive/highlight",
|
|
107
|
+
borderRadius: "0 0.5rem 0.5rem 0",
|
|
108
|
+
color: "interactive/subtle"
|
|
109
|
+
},
|
|
110
|
+
"&[data-outside-range][data-hover-range-start]:hover": {
|
|
111
|
+
borderRadius: "0.5rem 0 0 0.5rem",
|
|
112
|
+
color: "interactive/subtle",
|
|
113
|
+
backgroundColor: "interactive/highlight"
|
|
114
|
+
},
|
|
115
|
+
"&[data-outside-range][data-hover-range-end]:hover": {
|
|
116
|
+
borderRadius: "0 0.5rem 0.5rem 0",
|
|
117
|
+
color: "interactive/subtle",
|
|
118
|
+
backgroundColor: "interactive/highlight"
|
|
119
|
+
},
|
|
120
|
+
"&[data-outside-range][data-range-start],&[data-outside-range][data-range-end]": {
|
|
121
|
+
backgroundColor: "interactive/highlight",
|
|
122
|
+
color: "interactive/subtle"
|
|
123
|
+
},
|
|
124
|
+
"&[data-outside-range][data-in-range][data-range-start]:hover": {
|
|
125
|
+
backgroundColor: "interactive/highlight",
|
|
126
|
+
borderRadius: "0.5rem 0 0 0.5rem",
|
|
127
|
+
color: "interactive/minimal"
|
|
128
|
+
},
|
|
129
|
+
"&[data-outside-range][data-in-range][data-range-end]:hover": {
|
|
130
|
+
backgroundColor: "interactive/highlight",
|
|
131
|
+
borderRadius: "0 0.5rem 0.5rem 0",
|
|
132
|
+
color: "interactive/minimal"
|
|
133
|
+
},
|
|
134
|
+
"&[data-outside-range]:hover": {
|
|
135
|
+
backgroundColor: "transparent",
|
|
136
|
+
color: "text/tertiary"
|
|
137
|
+
},
|
|
138
|
+
"&[data-in-range]": {
|
|
139
|
+
backgroundColor: "interactive/moderate",
|
|
140
|
+
color: "text/primary"
|
|
141
|
+
},
|
|
142
|
+
"&[data-in-range]:hover": {
|
|
143
|
+
backgroundColor: "interactive/muted",
|
|
144
|
+
borderRadius: 0
|
|
145
|
+
},
|
|
146
|
+
"&[data-selected]": {
|
|
147
|
+
backgroundColor: "interactive/base",
|
|
148
|
+
color: "text/on-color",
|
|
149
|
+
borderRadius: "0.5rem"
|
|
150
|
+
},
|
|
151
|
+
"&[data-selected]:hover": {
|
|
152
|
+
backgroundColor: "interactive/base",
|
|
153
|
+
borderRadius: "0.5rem",
|
|
154
|
+
color: "interactive/moderate"
|
|
155
|
+
},
|
|
156
|
+
"&[data-range-start], &[data-hover-range-start], &[data-hover-range-start]:hover": {
|
|
157
|
+
backgroundColor: "interactive/base",
|
|
158
|
+
borderRadius: "0.5rem 0 0 0.5rem",
|
|
159
|
+
color: "text/on-color"
|
|
160
|
+
},
|
|
161
|
+
"&[data-range-end], &[data-hover-range-end], &[data-hover-range-end]:hover": {
|
|
162
|
+
backgroundColor: "interactive/base",
|
|
163
|
+
borderRadius: "0 0.5rem 0.5rem 0",
|
|
164
|
+
color: "text/on-color"
|
|
165
|
+
},
|
|
166
|
+
"&[data-range-start]:hover": {
|
|
167
|
+
backgroundColor: "interactive/base",
|
|
168
|
+
borderRadius: "0.5rem 0 0 0.5rem",
|
|
169
|
+
color: "interactive/moderate"
|
|
170
|
+
},
|
|
171
|
+
"&[data-range-end]:hover": {
|
|
172
|
+
backgroundColor: "interactive/base",
|
|
173
|
+
borderRadius: "0 0.5rem 0.5rem 0",
|
|
174
|
+
color: "interactive/moderate"
|
|
175
|
+
},
|
|
176
|
+
"&[data-range-start][data-range-end]:hover": {
|
|
177
|
+
backgroundColor: "interactive/base",
|
|
178
|
+
color: "interactive/moderate"
|
|
179
|
+
},
|
|
180
|
+
"&[data-hover-range-start][data-hover-range-end]": {
|
|
181
|
+
borderRadius: "0.5rem"
|
|
182
|
+
},
|
|
183
|
+
"&[data-today] > span": {
|
|
184
|
+
border: "1px solid",
|
|
185
|
+
borderColor: "interactive/base"
|
|
186
|
+
},
|
|
187
|
+
"&[data-today][data-selected] > span": {
|
|
188
|
+
border: "1px solid",
|
|
189
|
+
borderColor: "interactive/moderate"
|
|
190
|
+
},
|
|
191
|
+
"&[data-today][data-range-end] > span, &[data-today][data-range-start] > span": {
|
|
192
|
+
borderColor: "interactive/moderate"
|
|
193
|
+
},
|
|
194
|
+
"& > span": {
|
|
195
|
+
alignItems: "center",
|
|
196
|
+
justifyContent: "center",
|
|
197
|
+
borderRadius: "8",
|
|
198
|
+
display: "flex",
|
|
199
|
+
flex: 1
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
variants: {
|
|
204
|
+
layout: {
|
|
205
|
+
"1-month": {
|
|
206
|
+
content: {
|
|
207
|
+
width: "17.5rem"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"2-month": {
|
|
211
|
+
content: {
|
|
212
|
+
width: "38.5rem"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
showOutsideDays: {
|
|
217
|
+
false: {
|
|
218
|
+
tableCellTrigger: {
|
|
219
|
+
"&[data-outside-range]": {
|
|
220
|
+
visibility: "hidden"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
true: {
|
|
225
|
+
tableCellTrigger: {
|
|
226
|
+
"&[data-outside-range]": {
|
|
227
|
+
visibility: "visible"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
variant: {
|
|
233
|
+
mobile: {
|
|
234
|
+
content: {
|
|
235
|
+
boxShadow: "none",
|
|
236
|
+
paddingBlock: "16",
|
|
237
|
+
paddingInline: "16"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
export {
|
|
244
|
+
i as default
|
|
245
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const datePickerSelectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "clearTrigger" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "indicatorGroup", {
|
|
2
|
+
size: {
|
|
3
|
+
md: {
|
|
4
|
+
trigger: {
|
|
5
|
+
paddingBlock: "6";
|
|
6
|
+
textStyle?: "body/md/regular" | undefined;
|
|
7
|
+
py?: string | number | undefined;
|
|
8
|
+
};
|
|
9
|
+
indicator: {
|
|
10
|
+
_icon: {
|
|
11
|
+
width: "16";
|
|
12
|
+
height: "16";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
item?: {
|
|
16
|
+
py: string | number;
|
|
17
|
+
px: string | number;
|
|
18
|
+
textStyle: "body/md/regular";
|
|
19
|
+
_selected: {
|
|
20
|
+
textStyle: "body/md/semibold";
|
|
21
|
+
};
|
|
22
|
+
} | undefined;
|
|
23
|
+
itemIndicator?: {
|
|
24
|
+
width: string | number;
|
|
25
|
+
height: string | number;
|
|
26
|
+
} | undefined;
|
|
27
|
+
itemGroupLabel?: {
|
|
28
|
+
py: string | number;
|
|
29
|
+
px: string | number;
|
|
30
|
+
} | undefined;
|
|
31
|
+
searchInput?: {
|
|
32
|
+
paddingBlock: string | number;
|
|
33
|
+
textStyle: "body/md/regular";
|
|
34
|
+
'--input-height': string | number;
|
|
35
|
+
} | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
export default datePickerSelectSlotRecipe;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { selectAnatomy as e } from "@chakra-ui/react/anatomy";
|
|
2
|
+
import { defineSlotRecipe as t } from "@chakra-ui/react/styled-system";
|
|
3
|
+
import { selectSlotRecipe as i } from "./Select.recipe.js";
|
|
4
|
+
const d = t({
|
|
5
|
+
className: "datePickerSelect",
|
|
6
|
+
slots: e.keys(),
|
|
7
|
+
base: {
|
|
8
|
+
trigger: {
|
|
9
|
+
...i.base?.trigger,
|
|
10
|
+
borderWidth: "0",
|
|
11
|
+
height: "32",
|
|
12
|
+
paddingInlineStart: "12",
|
|
13
|
+
paddingInlineEnd: "8",
|
|
14
|
+
"&:hover:not(:active)": {
|
|
15
|
+
bg: "background/hover"
|
|
16
|
+
},
|
|
17
|
+
"&:active": {
|
|
18
|
+
bg: "background/active"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
indicator: {
|
|
22
|
+
...i.base?.indicator,
|
|
23
|
+
color: "icon/tertiary",
|
|
24
|
+
_icon: {
|
|
25
|
+
width: "16",
|
|
26
|
+
height: "16"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
indicatorGroup: {
|
|
30
|
+
...i.base?.indicatorGroup,
|
|
31
|
+
paddingInline: "8"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
variants: {
|
|
35
|
+
size: {
|
|
36
|
+
md: {
|
|
37
|
+
...i.variants?.size?.md,
|
|
38
|
+
trigger: {
|
|
39
|
+
...i.variants?.size?.md.trigger,
|
|
40
|
+
paddingBlock: "6"
|
|
41
|
+
},
|
|
42
|
+
indicator: {
|
|
43
|
+
_icon: {
|
|
44
|
+
width: "16",
|
|
45
|
+
height: "16"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
size: "md"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
d as default
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const radioGroupSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "item" | "itemText" | "
|
|
1
|
+
declare const radioGroupSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "item" | "itemText" | "itemIndicator" | "itemControl" | "itemAddon", {
|
|
2
2
|
orientation: {
|
|
3
3
|
horizontal: {
|
|
4
4
|
root: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const selectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "
|
|
1
|
+
export declare const selectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "clearTrigger" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "searchInputGroup" | "searchInput", {
|
|
2
2
|
size: {
|
|
3
3
|
md: {
|
|
4
4
|
item: {
|
|
@@ -217,6 +217,83 @@ declare const slotRecipes: {
|
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
219
|
}>;
|
|
220
|
+
datePicker: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "table" | "view" | "trigger" | "positioner" | "root" | "clearTrigger" | "control" | "monthSelect" | "nextTrigger" | "presetTrigger" | "prevTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect" | "valueText" | "months", {
|
|
221
|
+
layout: {
|
|
222
|
+
'1-month': {
|
|
223
|
+
content: {
|
|
224
|
+
width: "17.5rem";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
'2-month': {
|
|
228
|
+
content: {
|
|
229
|
+
width: "38.5rem";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
showOutsideDays: {
|
|
234
|
+
false: {
|
|
235
|
+
tableCellTrigger: {
|
|
236
|
+
'&[data-outside-range]': {
|
|
237
|
+
visibility: "hidden";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
true: {
|
|
242
|
+
tableCellTrigger: {
|
|
243
|
+
'&[data-outside-range]': {
|
|
244
|
+
visibility: "visible";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
variant: {
|
|
250
|
+
mobile: {
|
|
251
|
+
content: {
|
|
252
|
+
boxShadow: "none";
|
|
253
|
+
paddingBlock: "16";
|
|
254
|
+
paddingInline: "16";
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}>;
|
|
259
|
+
datePickerSelect: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "clearTrigger" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "indicatorGroup", {
|
|
260
|
+
size: {
|
|
261
|
+
md: {
|
|
262
|
+
trigger: {
|
|
263
|
+
paddingBlock: "6";
|
|
264
|
+
textStyle?: "body/md/regular" | undefined;
|
|
265
|
+
py?: string | number | undefined;
|
|
266
|
+
};
|
|
267
|
+
indicator: {
|
|
268
|
+
_icon: {
|
|
269
|
+
width: "16";
|
|
270
|
+
height: "16";
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
item?: {
|
|
274
|
+
py: string | number;
|
|
275
|
+
px: string | number;
|
|
276
|
+
textStyle: "body/md/regular";
|
|
277
|
+
_selected: {
|
|
278
|
+
textStyle: "body/md/semibold";
|
|
279
|
+
};
|
|
280
|
+
} | undefined;
|
|
281
|
+
itemIndicator?: {
|
|
282
|
+
width: string | number;
|
|
283
|
+
height: string | number;
|
|
284
|
+
} | undefined;
|
|
285
|
+
itemGroupLabel?: {
|
|
286
|
+
py: string | number;
|
|
287
|
+
px: string | number;
|
|
288
|
+
} | undefined;
|
|
289
|
+
searchInput?: {
|
|
290
|
+
paddingBlock: string | number;
|
|
291
|
+
textStyle: "body/md/regular";
|
|
292
|
+
'--input-height': string | number;
|
|
293
|
+
} | undefined;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
}>;
|
|
220
297
|
checkbox: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "group" | "control", {
|
|
221
298
|
size: {
|
|
222
299
|
md: {
|
|
@@ -384,7 +461,7 @@ declare const slotRecipes: {
|
|
|
384
461
|
};
|
|
385
462
|
};
|
|
386
463
|
}>;
|
|
387
|
-
radioGroup: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "item" | "itemText" | "
|
|
464
|
+
radioGroup: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "item" | "itemText" | "itemIndicator" | "itemControl" | "itemAddon", {
|
|
388
465
|
orientation: {
|
|
389
466
|
horizontal: {
|
|
390
467
|
root: {
|
|
@@ -421,7 +498,7 @@ declare const slotRecipes: {
|
|
|
421
498
|
};
|
|
422
499
|
};
|
|
423
500
|
}>;
|
|
424
|
-
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "
|
|
501
|
+
select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "trigger" | "positioner" | "root" | "indicator" | "list" | "clearTrigger" | "control" | "valueText" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "searchInputGroup" | "searchInput", {
|
|
425
502
|
size: {
|
|
426
503
|
md: {
|
|
427
504
|
item: {
|
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import e from "./ActionBar.recipe.js";
|
|
2
|
+
import t from "./Alert.recipe.js";
|
|
3
3
|
import o from "./Avatar.recipe.js";
|
|
4
4
|
import r from "./Card.recipe.js";
|
|
5
5
|
import i from "./Checkbox.recipe.js";
|
|
6
|
-
import p from "./
|
|
7
|
-
import m from "./
|
|
8
|
-
import c from "./
|
|
9
|
-
import l from "./
|
|
10
|
-
import a from "./
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import d from "./
|
|
15
|
-
import s from "./
|
|
16
|
-
import n from "./
|
|
17
|
-
import b from "./
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
import p from "./DatePicker.recipe.js";
|
|
7
|
+
import m from "./DatePickerSelect.recipe.js";
|
|
8
|
+
import c from "./EmptyState.recipe.js";
|
|
9
|
+
import l from "./ExpandableCard.recipe.js";
|
|
10
|
+
import a from "./Field.recipe.js";
|
|
11
|
+
import S from "./Fieldset.recipe.js";
|
|
12
|
+
import f from "./NativeSelect.recipe.js";
|
|
13
|
+
import { numberInputSlotRecipe as R } from "./NumberInput.recipe.js";
|
|
14
|
+
import d from "./RadioGroup.recipe.js";
|
|
15
|
+
import { selectSlotRecipe as s } from "./Select.recipe.js";
|
|
16
|
+
import n from "./Switch.recipe.js";
|
|
17
|
+
import b from "./Tabs.recipe.js";
|
|
18
|
+
import u from "./Tag.recipe.js";
|
|
19
|
+
import k from "./Tooltip.recipe.js";
|
|
20
|
+
const J = {
|
|
21
|
+
actionBar: e,
|
|
20
22
|
avatar: o,
|
|
21
23
|
card: r,
|
|
24
|
+
datePicker: p,
|
|
25
|
+
datePickerSelect: m,
|
|
22
26
|
checkbox: i,
|
|
23
|
-
emptyState:
|
|
24
|
-
expandableCard:
|
|
25
|
-
field:
|
|
26
|
-
fieldset:
|
|
27
|
-
nativeSelect:
|
|
28
|
-
alert:
|
|
29
|
-
numberInput:
|
|
30
|
-
radioGroup:
|
|
31
|
-
select:
|
|
32
|
-
switch:
|
|
33
|
-
tabs:
|
|
34
|
-
tag:
|
|
35
|
-
tooltip:
|
|
27
|
+
emptyState: c,
|
|
28
|
+
expandableCard: l,
|
|
29
|
+
field: a,
|
|
30
|
+
fieldset: S,
|
|
31
|
+
nativeSelect: f,
|
|
32
|
+
alert: t,
|
|
33
|
+
numberInput: R,
|
|
34
|
+
radioGroup: d,
|
|
35
|
+
select: s,
|
|
36
|
+
switch: n,
|
|
37
|
+
tabs: b,
|
|
38
|
+
tag: u,
|
|
39
|
+
tooltip: k
|
|
36
40
|
};
|
|
37
41
|
export {
|
|
38
|
-
|
|
42
|
+
J as default
|
|
39
43
|
};
|