@bitrise/bitkit-v2 0.3.201 → 0.3.203
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/components/BitkitCombobox/BitkitCombobox.d.ts +6 -4
- package/dist/components/BitkitCombobox/BitkitCombobox.js +13 -14
- package/dist/components/BitkitCombobox/BitkitCombobox.js.map +1 -1
- package/dist/components/BitkitMultiselect/BitkitMultiselect.d.ts +20 -0
- package/dist/components/BitkitMultiselect/BitkitMultiselect.js +183 -0
- package/dist/components/BitkitMultiselect/BitkitMultiselect.js.map +1 -0
- package/dist/components/BitkitMultiselectMenu/BitkitMultiselectMenu.d.ts +17 -0
- package/dist/components/BitkitMultiselectMenu/BitkitMultiselectMenu.js +66 -0
- package/dist/components/BitkitMultiselectMenu/BitkitMultiselectMenu.js.map +1 -0
- package/dist/components/BitkitNativeSelect/BitkitNativeSelect.js +1 -1
- package/dist/components/BitkitNativeSelect/BitkitNativeSelect.js.map +1 -1
- package/dist/components/BitkitSelect/BitkitSelect.d.ts +2 -3
- package/dist/components/BitkitSelect/BitkitSelect.js +12 -6
- package/dist/components/BitkitSelect/BitkitSelect.js.map +1 -1
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.d.ts +16 -7
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js +63 -71
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js.map +1 -1
- package/dist/components/BitkitSelectMenu/SelectMenuShell.d.ts +29 -0
- package/dist/components/BitkitSelectMenu/SelectMenuShell.js +115 -0
- package/dist/components/BitkitSelectMenu/SelectMenuShell.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.js +5 -3
- package/dist/theme/common/ComboboxAndSelect.common.js +0 -7
- package/dist/theme/common/ComboboxAndSelect.common.js.map +1 -1
- package/dist/theme/slot-recipes/Combobox.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Multiselect.recipe.d.ts +48 -0
- package/dist/theme/slot-recipes/Multiselect.recipe.js +150 -0
- package/dist/theme/slot-recipes/Multiselect.recipe.js.map +1 -0
- package/dist/theme/slot-recipes/SectionHeading.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Select.recipe.js +191 -18
- package/dist/theme/slot-recipes/Select.recipe.js.map +1 -1
- package/dist/theme/slot-recipes/Sidebar.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/TagsInput.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/index.js +2 -0
- package/dist/theme/slot-recipes/index.js.map +1 -1
- package/dist/utilities/AssetSelectChevron.js +0 -1
- package/dist/utilities/AssetSelectChevron.js.map +1 -1
- package/package.json +1 -1
- package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +0 -27
- package/dist/theme/slot-recipes/Select.recipe.d.ts +0 -21
- package/dist/theme/slot-recipes/index.d.ts +0 -2044
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { rem } from "../themeUtils.js";
|
|
2
|
+
import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
|
|
3
|
+
//#region lib/theme/slot-recipes/Multiselect.recipe.ts
|
|
4
|
+
var multiselectSlotRecipe = defineSlotRecipe({
|
|
5
|
+
className: "multiselect",
|
|
6
|
+
slots: [
|
|
7
|
+
"control",
|
|
8
|
+
"trigger",
|
|
9
|
+
"overlay",
|
|
10
|
+
"tagsBlock",
|
|
11
|
+
"placeholderText",
|
|
12
|
+
"indicatorGroup",
|
|
13
|
+
"indicator"
|
|
14
|
+
],
|
|
15
|
+
base: {
|
|
16
|
+
control: {
|
|
17
|
+
position: "relative",
|
|
18
|
+
width: "100%"
|
|
19
|
+
},
|
|
20
|
+
trigger: {
|
|
21
|
+
position: "absolute",
|
|
22
|
+
inset: 0,
|
|
23
|
+
display: "block",
|
|
24
|
+
background: "background/primary",
|
|
25
|
+
borderWidth: rem(1),
|
|
26
|
+
borderColor: "border/strong",
|
|
27
|
+
borderRadius: "4",
|
|
28
|
+
color: "input/text/inputValue",
|
|
29
|
+
width: "100%",
|
|
30
|
+
textAlign: "start",
|
|
31
|
+
userSelect: "none",
|
|
32
|
+
focusVisibleRing: "inside",
|
|
33
|
+
_disabled: {
|
|
34
|
+
background: "background/disabled",
|
|
35
|
+
color: "text/disabled"
|
|
36
|
+
},
|
|
37
|
+
_invalid: { borderColor: "border/error" },
|
|
38
|
+
_readOnly: { background: "background/disabled" }
|
|
39
|
+
},
|
|
40
|
+
overlay: {
|
|
41
|
+
position: "relative",
|
|
42
|
+
display: "flex",
|
|
43
|
+
alignItems: "center",
|
|
44
|
+
paddingInlineStart: "12",
|
|
45
|
+
paddingInlineEnd: "48"
|
|
46
|
+
},
|
|
47
|
+
tagsBlock: {
|
|
48
|
+
display: "flex",
|
|
49
|
+
flex: "1 0 0",
|
|
50
|
+
flexWrap: "wrap",
|
|
51
|
+
alignItems: "center",
|
|
52
|
+
alignContent: "center",
|
|
53
|
+
gap: "8",
|
|
54
|
+
minWidth: 0
|
|
55
|
+
},
|
|
56
|
+
placeholderText: {
|
|
57
|
+
flex: "1 0 0",
|
|
58
|
+
minWidth: 0,
|
|
59
|
+
height: "24",
|
|
60
|
+
display: "inline-flex",
|
|
61
|
+
alignItems: "center",
|
|
62
|
+
color: "input/text/inputValue",
|
|
63
|
+
overflow: "hidden",
|
|
64
|
+
textOverflow: "ellipsis",
|
|
65
|
+
whiteSpace: "nowrap",
|
|
66
|
+
"&[data-placeholder]": { color: "text/secondary" }
|
|
67
|
+
},
|
|
68
|
+
indicatorGroup: {
|
|
69
|
+
display: "flex",
|
|
70
|
+
alignItems: "center",
|
|
71
|
+
gap: "8",
|
|
72
|
+
position: "absolute",
|
|
73
|
+
insetInlineEnd: 0,
|
|
74
|
+
top: 0,
|
|
75
|
+
height: "48",
|
|
76
|
+
paddingInlineEnd: "16",
|
|
77
|
+
paddingInlineStart: "8",
|
|
78
|
+
pointerEvents: "none",
|
|
79
|
+
"& > button": { pointerEvents: "auto" }
|
|
80
|
+
},
|
|
81
|
+
indicator: {
|
|
82
|
+
display: "flex",
|
|
83
|
+
alignItems: "center",
|
|
84
|
+
justifyContent: "center",
|
|
85
|
+
color: "icon/secondary",
|
|
86
|
+
_disabled: { color: "icon/disabled" },
|
|
87
|
+
_readOnly: { color: "icon/on-disabled" }
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
variants: {
|
|
91
|
+
constrained: {
|
|
92
|
+
true: {
|
|
93
|
+
overlay: { overflow: "hidden" },
|
|
94
|
+
tagsBlock: { flexWrap: "nowrap" }
|
|
95
|
+
},
|
|
96
|
+
false: {}
|
|
97
|
+
},
|
|
98
|
+
size: {
|
|
99
|
+
lg: {
|
|
100
|
+
overlay: {
|
|
101
|
+
minHeight: "48",
|
|
102
|
+
paddingBlock: rem(11)
|
|
103
|
+
},
|
|
104
|
+
trigger: { textStyle: "body/lg/regular" },
|
|
105
|
+
placeholderText: {
|
|
106
|
+
textStyle: "body/lg/regular",
|
|
107
|
+
lineHeight: rem(24)
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
md: {
|
|
111
|
+
indicatorGroup: { height: "40" },
|
|
112
|
+
overlay: {
|
|
113
|
+
minHeight: "40",
|
|
114
|
+
paddingBlock: rem(7),
|
|
115
|
+
"&:has([data-slot=\"tag\"])": { paddingInlineStart: rem(7) }
|
|
116
|
+
},
|
|
117
|
+
trigger: { textStyle: "body/md/regular" },
|
|
118
|
+
placeholderText: {
|
|
119
|
+
textStyle: "body/md/regular",
|
|
120
|
+
lineHeight: rem(20)
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
compoundVariants: [{
|
|
126
|
+
constrained: true,
|
|
127
|
+
size: "lg",
|
|
128
|
+
css: { overlay: {
|
|
129
|
+
height: "48",
|
|
130
|
+
minHeight: "48",
|
|
131
|
+
paddingBlock: "12"
|
|
132
|
+
} }
|
|
133
|
+
}, {
|
|
134
|
+
constrained: true,
|
|
135
|
+
size: "md",
|
|
136
|
+
css: { overlay: {
|
|
137
|
+
height: "40",
|
|
138
|
+
minHeight: "40",
|
|
139
|
+
paddingBlock: "8"
|
|
140
|
+
} }
|
|
141
|
+
}],
|
|
142
|
+
defaultVariants: {
|
|
143
|
+
constrained: false,
|
|
144
|
+
size: "lg"
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
export { multiselectSlotRecipe as default };
|
|
149
|
+
|
|
150
|
+
//# sourceMappingURL=Multiselect.recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Multiselect.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Multiselect.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nexport const multiselectSlotRecipe = defineSlotRecipe({\n className: 'multiselect',\n slots: ['control', 'trigger', 'overlay', 'tagsBlock', 'placeholderText', 'indicatorGroup', 'indicator'],\n base: {\n control: {\n position: 'relative',\n width: '100%',\n },\n trigger: {\n position: 'absolute',\n inset: 0,\n display: 'block',\n background: 'background/primary',\n borderWidth: rem(1),\n borderColor: 'border/strong',\n borderRadius: '4',\n color: 'input/text/inputValue',\n width: '100%',\n textAlign: 'start',\n userSelect: 'none',\n focusVisibleRing: 'inside',\n _disabled: {\n background: 'background/disabled',\n color: 'text/disabled',\n },\n _invalid: {\n borderColor: 'border/error',\n },\n _readOnly: {\n background: 'background/disabled',\n },\n },\n overlay: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n paddingInlineStart: '12',\n paddingInlineEnd: '48',\n },\n tagsBlock: {\n display: 'flex',\n flex: '1 0 0',\n flexWrap: 'wrap',\n alignItems: 'center',\n alignContent: 'center',\n gap: '8',\n minWidth: 0,\n },\n placeholderText: {\n flex: '1 0 0',\n minWidth: 0,\n height: '24',\n display: 'inline-flex',\n alignItems: 'center',\n color: 'input/text/inputValue',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n '&[data-placeholder]': {\n color: 'text/secondary',\n },\n },\n indicatorGroup: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n position: 'absolute',\n insetInlineEnd: 0,\n top: 0,\n height: '48',\n paddingInlineEnd: '16',\n paddingInlineStart: '8',\n pointerEvents: 'none',\n '& > button': {\n pointerEvents: 'auto',\n },\n },\n indicator: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'icon/secondary',\n _disabled: {\n color: 'icon/disabled',\n },\n _readOnly: {\n color: 'icon/on-disabled',\n },\n },\n },\n\n variants: {\n constrained: {\n true: {\n overlay: {\n overflow: 'hidden',\n },\n tagsBlock: {\n flexWrap: 'nowrap',\n },\n },\n false: {},\n },\n size: {\n lg: {\n overlay: {\n minHeight: '48',\n paddingBlock: rem(11),\n },\n trigger: {\n textStyle: 'body/lg/regular',\n },\n placeholderText: {\n textStyle: 'body/lg/regular',\n lineHeight: rem(24),\n },\n },\n md: {\n indicatorGroup: {\n height: '40',\n },\n overlay: {\n minHeight: '40',\n paddingBlock: rem(7),\n '&:has([data-slot=\"tag\"])': {\n paddingInlineStart: rem(7),\n },\n },\n trigger: {\n textStyle: 'body/md/regular',\n },\n placeholderText: {\n textStyle: 'body/md/regular',\n lineHeight: rem(20),\n },\n },\n },\n },\n compoundVariants: [\n {\n constrained: true,\n size: 'lg',\n css: {\n overlay: {\n height: '48',\n minHeight: '48',\n paddingBlock: '12',\n },\n },\n },\n {\n constrained: true,\n size: 'md',\n css: {\n overlay: {\n height: '40',\n minHeight: '40',\n paddingBlock: '8',\n },\n },\n },\n ],\n defaultVariants: {\n constrained: false,\n size: 'lg',\n },\n});\n\nexport default multiselectSlotRecipe;\n"],"mappings":";;;AAIA,IAAa,wBAAwB,iBAAiB;CACpD,WAAW;CACX,OAAO;EAAC;EAAW;EAAW;EAAW;EAAa;EAAmB;EAAkB;EAAY;CACvG,MAAM;EACJ,SAAS;GACP,UAAU;GACV,OAAO;GACR;EACD,SAAS;GACP,UAAU;GACV,OAAO;GACP,SAAS;GACT,YAAY;GACZ,aAAa,IAAI,EAAE;GACnB,aAAa;GACb,cAAc;GACd,OAAO;GACP,OAAO;GACP,WAAW;GACX,YAAY;GACZ,kBAAkB;GAClB,WAAW;IACT,YAAY;IACZ,OAAO;IACR;GACD,UAAU,EACR,aAAa,gBACd;GACD,WAAW,EACT,YAAY,uBACb;GACF;EACD,SAAS;GACP,UAAU;GACV,SAAS;GACT,YAAY;GACZ,oBAAoB;GACpB,kBAAkB;GACnB;EACD,WAAW;GACT,SAAS;GACT,MAAM;GACN,UAAU;GACV,YAAY;GACZ,cAAc;GACd,KAAK;GACL,UAAU;GACX;EACD,iBAAiB;GACf,MAAM;GACN,UAAU;GACV,QAAQ;GACR,SAAS;GACT,YAAY;GACZ,OAAO;GACP,UAAU;GACV,cAAc;GACd,YAAY;GACZ,uBAAuB,EACrB,OAAO,kBACR;GACF;EACD,gBAAgB;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;GACV,gBAAgB;GAChB,KAAK;GACL,QAAQ;GACR,kBAAkB;GAClB,oBAAoB;GACpB,eAAe;GACf,cAAc,EACZ,eAAe,QAChB;GACF;EACD,WAAW;GACT,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,OAAO;GACP,WAAW,EACT,OAAO,iBACR;GACD,WAAW,EACT,OAAO,oBACR;GACF;EACF;CAED,UAAU;EACR,aAAa;GACX,MAAM;IACJ,SAAS,EACP,UAAU,UACX;IACD,WAAW,EACT,UAAU,UACX;IACF;GACD,OAAO,EAAE;GACV;EACD,MAAM;GACJ,IAAI;IACF,SAAS;KACP,WAAW;KACX,cAAc,IAAI,GAAG;KACtB;IACD,SAAS,EACP,WAAW,mBACZ;IACD,iBAAiB;KACf,WAAW;KACX,YAAY,IAAI,GAAG;KACpB;IACF;GACD,IAAI;IACF,gBAAgB,EACd,QAAQ,MACT;IACD,SAAS;KACP,WAAW;KACX,cAAc,IAAI,EAAE;KACpB,8BAA4B,EAC1B,oBAAoB,IAAI,EAAE,EAC3B;KACF;IACD,SAAS,EACP,WAAW,mBACZ;IACD,iBAAiB;KACf,WAAW;KACX,YAAY,IAAI,GAAG;KACpB;IACF;GACF;EACF;CACD,kBAAkB,CAChB;EACE,aAAa;EACb,MAAM;EACN,KAAK,EACH,SAAS;GACP,QAAQ;GACR,WAAW;GACX,cAAc;GACf,EACF;EACF,EACD;EACE,aAAa;EACb,MAAM;EACN,KAAK,EACH,SAAS;GACP,QAAQ;GACR,WAAW;GACX,cAAc;GACf,EACF;EACF,CACF;CACD,iBAAiB;EACf,aAAa;EACb,MAAM;EACP;CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const sectionHeadingRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "icon" | "root" | "
|
|
1
|
+
declare const sectionHeadingRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "icon" | "root" | "titleBlock" | "helperText" | "contentBlock" | "helperBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"label" | "icon" | "root" | "titleBlock" | "helperText" | "contentBlock" | "helperBlock">>;
|
|
2
2
|
export default sectionHeadingRecipe;
|
|
@@ -9,8 +9,18 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
|
9
9
|
...selectAnatomy.keys(),
|
|
10
10
|
"searchInputGroup",
|
|
11
11
|
"searchInput",
|
|
12
|
+
"searchClear",
|
|
12
13
|
"createItemContainer",
|
|
13
|
-
"createItem"
|
|
14
|
+
"createItem",
|
|
15
|
+
"checkbox",
|
|
16
|
+
"checkmark",
|
|
17
|
+
"itemList",
|
|
18
|
+
"itemContent",
|
|
19
|
+
"itemLabel",
|
|
20
|
+
"itemHelperText",
|
|
21
|
+
"itemLoading",
|
|
22
|
+
"itemLoadingLabel",
|
|
23
|
+
"emptyState"
|
|
14
24
|
],
|
|
15
25
|
base: {
|
|
16
26
|
trigger: {
|
|
@@ -57,24 +67,137 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
|
57
67
|
_readOnly: { color: "icon/on-disabled" }
|
|
58
68
|
},
|
|
59
69
|
...base,
|
|
70
|
+
content: {
|
|
71
|
+
...base.content,
|
|
72
|
+
overflow: "hidden",
|
|
73
|
+
display: "flex",
|
|
74
|
+
flexDirection: "column"
|
|
75
|
+
},
|
|
76
|
+
item: {
|
|
77
|
+
...base.item,
|
|
78
|
+
_active: { background: "background/active" },
|
|
79
|
+
_selected: {
|
|
80
|
+
background: "background/selected",
|
|
81
|
+
_highlighted: { background: "background/selected-hover" }
|
|
82
|
+
},
|
|
83
|
+
_disabled: {
|
|
84
|
+
cursor: "not-allowed",
|
|
85
|
+
color: "text/disabled",
|
|
86
|
+
_highlighted: { background: "transparent" }
|
|
87
|
+
}
|
|
88
|
+
},
|
|
60
89
|
control: {
|
|
61
90
|
position: "relative",
|
|
62
91
|
width: "100%"
|
|
63
92
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
93
|
+
itemList: {
|
|
94
|
+
flex: "1 1 auto",
|
|
95
|
+
minHeight: 0,
|
|
96
|
+
overflowY: "auto",
|
|
97
|
+
paddingBlock: "8"
|
|
98
|
+
},
|
|
99
|
+
itemContent: {
|
|
100
|
+
display: "flex",
|
|
101
|
+
flexDirection: "column",
|
|
102
|
+
alignItems: "flex-start",
|
|
103
|
+
flex: "1 0 0",
|
|
104
|
+
minWidth: 0
|
|
105
|
+
},
|
|
106
|
+
itemLoading: { flexShrink: 0 },
|
|
107
|
+
itemLoadingLabel: {
|
|
108
|
+
color: "text/secondary",
|
|
109
|
+
flex: "1 0 0",
|
|
110
|
+
minWidth: 0,
|
|
111
|
+
overflow: "hidden",
|
|
112
|
+
textOverflow: "ellipsis",
|
|
113
|
+
whiteSpace: "nowrap"
|
|
114
|
+
},
|
|
115
|
+
emptyState: {
|
|
116
|
+
display: "flex",
|
|
117
|
+
flexDirection: "column",
|
|
118
|
+
alignItems: "flex-start",
|
|
119
|
+
paddingInline: "16"
|
|
120
|
+
},
|
|
121
|
+
itemLabel: {
|
|
122
|
+
color: "text/body",
|
|
123
|
+
whiteSpace: "nowrap",
|
|
124
|
+
overflow: "hidden",
|
|
125
|
+
textOverflow: "ellipsis",
|
|
126
|
+
maxWidth: "100%",
|
|
127
|
+
"[data-disabled] &": { color: "text/disabled" }
|
|
128
|
+
},
|
|
129
|
+
itemHelperText: {
|
|
130
|
+
color: "text/helper",
|
|
131
|
+
textStyle: "body/sm/regular",
|
|
132
|
+
whiteSpace: "nowrap",
|
|
133
|
+
overflow: "hidden",
|
|
134
|
+
textOverflow: "ellipsis",
|
|
135
|
+
maxWidth: "100%",
|
|
136
|
+
"[data-disabled] &": { color: "text/disabled" }
|
|
137
|
+
},
|
|
138
|
+
checkbox: {
|
|
139
|
+
position: "relative",
|
|
140
|
+
display: "inline-flex",
|
|
141
|
+
alignItems: "center",
|
|
142
|
+
justifyContent: "center",
|
|
143
|
+
width: "24",
|
|
144
|
+
height: "24",
|
|
145
|
+
flexShrink: 0,
|
|
146
|
+
borderWidth: rem(1),
|
|
147
|
+
borderColor: "border/regular",
|
|
148
|
+
borderRadius: "4",
|
|
149
|
+
background: "background/primary",
|
|
150
|
+
boxShadow: "inset/field",
|
|
151
|
+
color: "icon/on-color",
|
|
152
|
+
"[data-state=checked] &": {
|
|
153
|
+
background: "input/checkbox/selection",
|
|
154
|
+
borderColor: "input/checkbox/selection",
|
|
155
|
+
boxShadow: "none"
|
|
156
|
+
},
|
|
157
|
+
"[data-disabled] &": {
|
|
158
|
+
background: "background/disabled",
|
|
159
|
+
borderColor: "border/disabled"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
checkmark: {
|
|
163
|
+
opacity: 0,
|
|
164
|
+
color: "icon/on-color",
|
|
165
|
+
"[data-state=checked] &": { opacity: 1 }
|
|
72
166
|
},
|
|
73
167
|
searchInputGroup: {
|
|
74
168
|
borderBottom: "1px solid",
|
|
75
169
|
borderColor: "border/minimal",
|
|
76
|
-
|
|
77
|
-
|
|
170
|
+
background: "background/primary",
|
|
171
|
+
display: "flex",
|
|
172
|
+
alignItems: "center",
|
|
173
|
+
gap: "12",
|
|
174
|
+
paddingInlineStart: "16",
|
|
175
|
+
paddingInlineEnd: "12",
|
|
176
|
+
overflow: "hidden",
|
|
177
|
+
flexShrink: 0,
|
|
178
|
+
_hover: { background: "background/secondary" },
|
|
179
|
+
_focusWithin: { background: "background/primary" }
|
|
180
|
+
},
|
|
181
|
+
searchInput: {
|
|
182
|
+
flex: "1 0 0",
|
|
183
|
+
minWidth: 0,
|
|
184
|
+
border: "none",
|
|
185
|
+
outline: "none",
|
|
186
|
+
background: "transparent",
|
|
187
|
+
color: "input/text/inputValue",
|
|
188
|
+
paddingInline: 0,
|
|
189
|
+
paddingBlock: 0,
|
|
190
|
+
_placeholder: { color: "input/text/placeholder" }
|
|
191
|
+
},
|
|
192
|
+
searchClear: {
|
|
193
|
+
display: "inline-flex",
|
|
194
|
+
alignItems: "center",
|
|
195
|
+
justifyContent: "center",
|
|
196
|
+
borderRadius: "4",
|
|
197
|
+
color: "icon/primary",
|
|
198
|
+
cursor: "pointer",
|
|
199
|
+
flexShrink: 0,
|
|
200
|
+
_hover: { background: "background/hover" }
|
|
78
201
|
},
|
|
79
202
|
createItem: {
|
|
80
203
|
borderTop: "1px solid",
|
|
@@ -87,13 +210,12 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
|
87
210
|
paddingBlock: "20",
|
|
88
211
|
color: "text/primary",
|
|
89
212
|
textStyle: "body/lg/regular",
|
|
90
|
-
textDecoration: "none",
|
|
91
213
|
width: "100%",
|
|
92
214
|
cursor: "pointer",
|
|
93
215
|
textAlign: "start",
|
|
216
|
+
flexShrink: 0,
|
|
94
217
|
_hover: {
|
|
95
218
|
background: "button/secondary/bg-hover",
|
|
96
|
-
textDecoration: "none",
|
|
97
219
|
_active: { background: "button/secondary/bg-active" }
|
|
98
220
|
},
|
|
99
221
|
_active: { background: "button/secondary/bg-active" },
|
|
@@ -101,14 +223,59 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
|
101
223
|
}
|
|
102
224
|
},
|
|
103
225
|
variants: { size: {
|
|
104
|
-
lg:
|
|
226
|
+
lg: {
|
|
227
|
+
...variants.size.lg,
|
|
228
|
+
item: {
|
|
229
|
+
...variants.size.lg.item,
|
|
230
|
+
"&:has([data-slot=\"avatar\"])": {
|
|
231
|
+
paddingInlineStart: "12",
|
|
232
|
+
paddingInlineEnd: "24",
|
|
233
|
+
paddingBlock: "8",
|
|
234
|
+
gap: "8"
|
|
235
|
+
},
|
|
236
|
+
"&:has([data-slot=\"checkbox\"])": {
|
|
237
|
+
paddingInlineEnd: "24",
|
|
238
|
+
paddingBlock: "12",
|
|
239
|
+
gap: "12"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
itemList: { maxHeight: rem(280) },
|
|
243
|
+
itemLabel: {
|
|
244
|
+
textStyle: "body/lg/regular",
|
|
245
|
+
lineHeight: rem(24)
|
|
246
|
+
},
|
|
247
|
+
itemLoadingLabel: { textStyle: "body/lg/regular" },
|
|
248
|
+
emptyState: { paddingBlock: "12" },
|
|
249
|
+
searchInputGroup: {
|
|
250
|
+
height: rem(56),
|
|
251
|
+
paddingBlock: "16"
|
|
252
|
+
},
|
|
253
|
+
searchInput: { textStyle: "body/lg/regular" },
|
|
254
|
+
searchClear: { padding: "8" }
|
|
255
|
+
},
|
|
105
256
|
md: {
|
|
106
257
|
...variants.size.md,
|
|
107
|
-
|
|
108
|
-
|
|
258
|
+
item: {
|
|
259
|
+
...variants.size.md.item,
|
|
260
|
+
"&:has([data-slot=\"avatar\"])": {
|
|
261
|
+
paddingInlineStart: "12",
|
|
262
|
+
paddingInlineEnd: "24",
|
|
263
|
+
paddingBlock: "4",
|
|
264
|
+
gap: "8"
|
|
265
|
+
},
|
|
266
|
+
"&:has([data-slot=\"checkbox\"])": {
|
|
267
|
+
paddingInlineEnd: "24",
|
|
268
|
+
paddingBlock: "8",
|
|
269
|
+
gap: "12"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
itemList: { maxHeight: rem(236) },
|
|
273
|
+
itemLabel: {
|
|
109
274
|
textStyle: "body/md/regular",
|
|
110
|
-
|
|
275
|
+
lineHeight: rem(20)
|
|
111
276
|
},
|
|
277
|
+
itemLoadingLabel: { textStyle: "body/md/regular" },
|
|
278
|
+
emptyState: { paddingBlock: "8" },
|
|
112
279
|
createItem: {
|
|
113
280
|
color: "text/primary",
|
|
114
281
|
paddingBlock: "16",
|
|
@@ -117,7 +284,13 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
|
117
284
|
trigger: {
|
|
118
285
|
textStyle: "body/md/regular",
|
|
119
286
|
paddingBlock: rem(9)
|
|
120
|
-
}
|
|
287
|
+
},
|
|
288
|
+
searchInputGroup: {
|
|
289
|
+
height: "48",
|
|
290
|
+
paddingBlock: "12"
|
|
291
|
+
},
|
|
292
|
+
searchInput: { textStyle: "body/md/regular" },
|
|
293
|
+
searchClear: { padding: "4" }
|
|
121
294
|
}
|
|
122
295
|
} },
|
|
123
296
|
defaultVariants: { size: "lg" }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Select.recipe.ts"],"sourcesContent":["import { selectAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { base, variants } from '../common/ComboboxAndSelect.common';\nimport { rem } from '../themeUtils';\n\nexport const selectSlotRecipe = defineSlotRecipe({\n className: 'select',\n slots: [...selectAnatomy.keys(), 'searchInputGroup', 'searchInput', 'createItemContainer', 'createItem'],\n base: {\n trigger: {\n display: 'flex',\n alignItems: 'center',\n borderWidth: rem(1),\n borderColor: 'border/strong',\n background: 'bg.muted',\n color: 'input/text/inputValue',\n gap: '8',\n justifyContent: 'space-between',\n paddingInline: '16',\n paddingBlock: rem(11),\n borderRadius: '4',\n userSelect: 'none',\n textAlign: 'start',\n focusVisibleRing: 'inside',\n width: '100%',\n _placeholderShown: {\n color: 'text/secondary',\n },\n _disabled: {\n color: 'text/disabled',\n background: 'background/disabled',\n },\n _invalid: {\n borderColor: 'border/error',\n },\n _readOnly: {\n background: 'background/disabled',\n },\n },\n indicatorGroup: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n position: 'absolute',\n insetEnd: 0,\n top: 0,\n bottom: 0,\n paddingInline: '16',\n pointerEvents: 'none',\n },\n indicator: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'icon/secondary',\n _disabled: {\n color: 'icon/disabled',\n },\n _readOnly: {\n color: 'icon/on-disabled',\n },\n },\n ...base,\n control: {\n position: 'relative',\n width: '100%',\n },\n searchInput: {\n border: 'none',\n boxShadow: 'none',\n outline: 'none',\n paddingRight: '16',\n paddingBlock: '16',\n textStyle: 'body/lg/regular',\n '--input-height': rem(32),\n },\n searchInputGroup: {\n borderBottom: '1px solid',\n borderColor: 'border/minimal',\n appearance: 'none',\n paddingLeft: '16',\n },\n createItem: {\n borderTop: '1px solid',\n borderColor: 'border/minimal',\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n paddingBlock: '20',\n color: 'text/primary',\n textStyle: 'body/lg/regular',\n textDecoration: 'none',\n width: '100%',\n cursor: 'pointer',\n textAlign: 'start',\n _hover: {\n background: 'button/secondary/bg-hover',\n textDecoration: 'none',\n _active: {\n background: 'button/secondary/bg-active',\n },\n },\n _active: {\n background: 'button/secondary/bg-active',\n },\n _focusVisible: {\n outlineOffset: '-3px',\n },\n },\n },\n\n variants: {\n size: {\n lg: variants.size.lg,\n md: {\n ...variants.size.md,\n searchInput: {\n paddingBlock: '12',\n textStyle: 'body/md/regular',\n '--input-height': rem(24),\n },\n createItem: {\n color: 'text/primary',\n paddingBlock: '16',\n textStyle: 'body/md/regular',\n },\n trigger: {\n textStyle: 'body/md/regular',\n paddingBlock: rem(9),\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n"],"mappings":";;;;;AAMA,IAAa,mBAAmB,iBAAiB;CAC/C,WAAW;CACX,OAAO;EAAC,GAAG,cAAc,MAAM;EAAE;EAAoB;EAAe;EAAuB;EAAa;CACxG,MAAM;EACJ,SAAS;GACP,SAAS;GACT,YAAY;GACZ,aAAa,IAAI,EAAE;GACnB,aAAa;GACb,YAAY;GACZ,OAAO;GACP,KAAK;GACL,gBAAgB;GAChB,eAAe;GACf,cAAc,IAAI,GAAG;GACrB,cAAc;GACd,YAAY;GACZ,WAAW;GACX,kBAAkB;GAClB,OAAO;GACP,mBAAmB,EACjB,OAAO,kBACR;GACD,WAAW;IACT,OAAO;IACP,YAAY;IACb;GACD,UAAU,EACR,aAAa,gBACd;GACD,WAAW,EACT,YAAY,uBACb;GACF;EACD,gBAAgB;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;GACV,UAAU;GACV,KAAK;GACL,QAAQ;GACR,eAAe;GACf,eAAe;GAChB;EACD,WAAW;GACT,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,OAAO;GACP,WAAW,EACT,OAAO,iBACR;GACD,WAAW,EACT,OAAO,oBACR;GACF;EACD,GAAG;EACH,SAAS;GACP,UAAU;GACV,OAAO;GACR;EACD,aAAa;GACX,QAAQ;GACR,WAAW;GACX,SAAS;GACT,cAAc;GACd,cAAc;GACd,WAAW;GACX,kBAAkB,IAAI,GAAG;GAC1B;EACD,kBAAkB;GAChB,cAAc;GACd,aAAa;GACb,YAAY;GACZ,aAAa;GACd;EACD,YAAY;GACV,WAAW;GACX,aAAa;GACb,SAAS;GACT,YAAY;GACZ,KAAK;GACL,kBAAkB;GAClB,oBAAoB;GACpB,cAAc;GACd,OAAO;GACP,WAAW;GACX,gBAAgB;GAChB,OAAO;GACP,QAAQ;GACR,WAAW;GACX,QAAQ;IACN,YAAY;IACZ,gBAAgB;IAChB,SAAS,EACP,YAAY,8BACb;IACF;GACD,SAAS,EACP,YAAY,8BACb;GACD,eAAe,EACb,eAAe,QAChB;GACF;EACF;CAED,UAAU,EACR,MAAM;EACJ,IAAI,SAAS,KAAK;EAClB,IAAI;GACF,GAAG,SAAS,KAAK;GACjB,aAAa;IACX,cAAc;IACd,WAAW;IACX,kBAAkB,IAAI,GAAG;IAC1B;GACD,YAAY;IACV,OAAO;IACP,cAAc;IACd,WAAW;IACZ;GACD,SAAS;IACP,WAAW;IACX,cAAc,IAAI,EAAE;IACrB;GACF;EACF,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"Select.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/Select.recipe.ts"],"sourcesContent":["import { selectAnatomy } from '@chakra-ui/react/anatomy';\nimport { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { base, variants } from '../common/ComboboxAndSelect.common';\nimport { rem } from '../themeUtils';\n\nexport const selectSlotRecipe = defineSlotRecipe({\n className: 'select',\n slots: [\n ...selectAnatomy.keys(),\n 'searchInputGroup',\n 'searchInput',\n 'searchClear',\n 'createItemContainer',\n 'createItem',\n 'checkbox',\n 'checkmark',\n 'itemList',\n 'itemContent',\n 'itemLabel',\n 'itemHelperText',\n 'itemLoading',\n 'itemLoadingLabel',\n 'emptyState',\n ],\n base: {\n trigger: {\n display: 'flex',\n alignItems: 'center',\n borderWidth: rem(1),\n borderColor: 'border/strong',\n background: 'bg.muted',\n color: 'input/text/inputValue',\n gap: '8',\n justifyContent: 'space-between',\n paddingInline: '16',\n paddingBlock: rem(11),\n borderRadius: '4',\n userSelect: 'none',\n textAlign: 'start',\n focusVisibleRing: 'inside',\n width: '100%',\n _placeholderShown: {\n color: 'text/secondary',\n },\n _disabled: {\n color: 'text/disabled',\n background: 'background/disabled',\n },\n _invalid: {\n borderColor: 'border/error',\n },\n _readOnly: {\n background: 'background/disabled',\n },\n },\n indicatorGroup: {\n display: 'flex',\n alignItems: 'center',\n gap: '8',\n position: 'absolute',\n insetEnd: 0,\n top: 0,\n bottom: 0,\n paddingInline: '16',\n pointerEvents: 'none',\n },\n indicator: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: 'icon/secondary',\n _disabled: {\n color: 'icon/disabled',\n },\n _readOnly: {\n color: 'icon/on-disabled',\n },\n },\n ...base,\n content: {\n ...base.content,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column',\n },\n item: {\n ...base.item,\n _active: {\n background: 'background/active',\n },\n _selected: {\n background: 'background/selected',\n _highlighted: {\n background: 'background/selected-hover',\n },\n },\n _disabled: {\n cursor: 'not-allowed',\n color: 'text/disabled',\n _highlighted: {\n background: 'transparent',\n },\n },\n },\n control: {\n position: 'relative',\n width: '100%',\n },\n itemList: {\n flex: '1 1 auto',\n minHeight: 0,\n overflowY: 'auto',\n paddingBlock: '8',\n },\n itemContent: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n flex: '1 0 0',\n minWidth: 0,\n },\n itemLoading: {\n flexShrink: 0,\n },\n itemLoadingLabel: {\n color: 'text/secondary',\n flex: '1 0 0',\n minWidth: 0,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n emptyState: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n paddingInline: '16',\n },\n itemLabel: {\n color: 'text/body',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n itemHelperText: {\n color: 'text/helper',\n textStyle: 'body/sm/regular',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%',\n '[data-disabled] &': {\n color: 'text/disabled',\n },\n },\n checkbox: {\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '24',\n height: '24',\n flexShrink: 0,\n borderWidth: rem(1),\n borderColor: 'border/regular',\n borderRadius: '4',\n background: 'background/primary',\n boxShadow: 'inset/field',\n color: 'icon/on-color',\n '[data-state=checked] &': {\n background: 'input/checkbox/selection',\n borderColor: 'input/checkbox/selection',\n boxShadow: 'none',\n },\n '[data-disabled] &': {\n background: 'background/disabled',\n borderColor: 'border/disabled',\n },\n },\n checkmark: {\n opacity: 0,\n color: 'icon/on-color',\n '[data-state=checked] &': {\n opacity: 1,\n },\n },\n searchInputGroup: {\n borderBottom: '1px solid',\n borderColor: 'border/minimal',\n background: 'background/primary',\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineStart: '16',\n paddingInlineEnd: '12',\n overflow: 'hidden',\n flexShrink: 0,\n _hover: {\n background: 'background/secondary',\n },\n _focusWithin: {\n background: 'background/primary',\n },\n },\n searchInput: {\n flex: '1 0 0',\n minWidth: 0,\n border: 'none',\n outline: 'none',\n background: 'transparent',\n color: 'input/text/inputValue',\n paddingInline: 0,\n paddingBlock: 0,\n _placeholder: {\n color: 'input/text/placeholder',\n },\n },\n searchClear: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4',\n color: 'icon/primary',\n cursor: 'pointer',\n flexShrink: 0,\n _hover: {\n background: 'background/hover',\n },\n },\n createItem: {\n borderTop: '1px solid',\n borderColor: 'border/minimal',\n display: 'flex',\n alignItems: 'center',\n gap: '12',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n paddingBlock: '20',\n color: 'text/primary',\n textStyle: 'body/lg/regular',\n width: '100%',\n cursor: 'pointer',\n textAlign: 'start',\n flexShrink: 0,\n _hover: {\n background: 'button/secondary/bg-hover',\n _active: {\n background: 'button/secondary/bg-active',\n },\n },\n _active: {\n background: 'button/secondary/bg-active',\n },\n _focusVisible: {\n outlineOffset: '-3px',\n },\n },\n },\n\n variants: {\n size: {\n lg: {\n ...variants.size.lg,\n item: {\n ...variants.size.lg.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n paddingInlineEnd: '24',\n paddingBlock: '12',\n gap: '12',\n },\n },\n itemList: {\n // 5.5 × 48px item + 16px paddingBlock\n maxHeight: rem(280),\n },\n itemLabel: {\n textStyle: 'body/lg/regular',\n lineHeight: rem(24),\n },\n itemLoadingLabel: {\n textStyle: 'body/lg/regular',\n },\n emptyState: {\n paddingBlock: '12',\n },\n searchInputGroup: {\n height: rem(56),\n paddingBlock: '16',\n },\n searchInput: {\n textStyle: 'body/lg/regular',\n },\n searchClear: {\n padding: '8',\n },\n },\n md: {\n ...variants.size.md,\n item: {\n ...variants.size.md.item,\n '&:has([data-slot=\"avatar\"])': {\n paddingInlineStart: '12',\n paddingInlineEnd: '24',\n paddingBlock: '4',\n gap: '8',\n },\n '&:has([data-slot=\"checkbox\"])': {\n paddingInlineEnd: '24',\n paddingBlock: '8',\n gap: '12',\n },\n },\n itemList: {\n // 5.5 × 40px item (checkbox/avatar row) + 16px paddingBlock\n maxHeight: rem(236),\n },\n itemLabel: {\n textStyle: 'body/md/regular',\n lineHeight: rem(20),\n },\n itemLoadingLabel: {\n textStyle: 'body/md/regular',\n },\n emptyState: {\n paddingBlock: '8',\n },\n createItem: {\n color: 'text/primary',\n paddingBlock: '16',\n textStyle: 'body/md/regular',\n },\n trigger: {\n textStyle: 'body/md/regular',\n paddingBlock: rem(9),\n },\n searchInputGroup: {\n height: '48',\n paddingBlock: '12',\n },\n searchInput: {\n textStyle: 'body/md/regular',\n },\n searchClear: {\n padding: '4',\n },\n },\n },\n },\n defaultVariants: {\n size: 'lg',\n },\n});\n"],"mappings":";;;;;AAMA,IAAa,mBAAmB,iBAAiB;CAC/C,WAAW;CACX,OAAO;EACL,GAAG,cAAc,MAAM;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CACD,MAAM;EACJ,SAAS;GACP,SAAS;GACT,YAAY;GACZ,aAAa,IAAI,EAAE;GACnB,aAAa;GACb,YAAY;GACZ,OAAO;GACP,KAAK;GACL,gBAAgB;GAChB,eAAe;GACf,cAAc,IAAI,GAAG;GACrB,cAAc;GACd,YAAY;GACZ,WAAW;GACX,kBAAkB;GAClB,OAAO;GACP,mBAAmB,EACjB,OAAO,kBACR;GACD,WAAW;IACT,OAAO;IACP,YAAY;IACb;GACD,UAAU,EACR,aAAa,gBACd;GACD,WAAW,EACT,YAAY,uBACb;GACF;EACD,gBAAgB;GACd,SAAS;GACT,YAAY;GACZ,KAAK;GACL,UAAU;GACV,UAAU;GACV,KAAK;GACL,QAAQ;GACR,eAAe;GACf,eAAe;GAChB;EACD,WAAW;GACT,SAAS;GACT,YAAY;GACZ,gBAAgB;GAChB,OAAO;GACP,WAAW,EACT,OAAO,iBACR;GACD,WAAW,EACT,OAAO,oBACR;GACF;EACD,GAAG;EACH,SAAS;GACP,GAAG,KAAK;GACR,UAAU;GACV,SAAS;GACT,eAAe;GAChB;EACD,MAAM;GACJ,GAAG,KAAK;GACR,SAAS,EACP,YAAY,qBACb;GACD,WAAW;IACT,YAAY;IACZ,cAAc,EACZ,YAAY,6BACb;IACF;GACD,WAAW;IACT,QAAQ;IACR,OAAO;IACP,cAAc,EACZ,YAAY,eACb;IACF;GACF;EACD,SAAS;GACP,UAAU;GACV,OAAO;GACR;EACD,UAAU;GACR,MAAM;GACN,WAAW;GACX,WAAW;GACX,cAAc;GACf;EACD,aAAa;GACX,SAAS;GACT,eAAe;GACf,YAAY;GACZ,MAAM;GACN,UAAU;GACX;EACD,aAAa,EACX,YAAY,GACb;EACD,kBAAkB;GAChB,OAAO;GACP,MAAM;GACN,UAAU;GACV,UAAU;GACV,cAAc;GACd,YAAY;GACb;EACD,YAAY;GACV,SAAS;G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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const sidebarSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"footer" | "title" | "root" | "item" | "suffixIcon" | "
|
|
1
|
+
declare const sidebarSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"footer" | "title" | "root" | "item" | "suffixIcon" | "itemLabel" | "divider" | "itemIcon" | "project" | "projectLabel" | "projectValue" | "selectionMarker" | "titleWithBack", {
|
|
2
2
|
selected: {
|
|
3
3
|
true: {
|
|
4
4
|
item: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const tagsInputSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "root" | "item" | "clearTrigger" | "control" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "
|
|
1
|
+
declare const tagsInputSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "root" | "item" | "clearTrigger" | "control" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "tagsBlock" | "itemInput" | "suffixBlock", {
|
|
2
2
|
size: {
|
|
3
3
|
md: {
|
|
4
4
|
control: {
|
|
@@ -28,6 +28,7 @@ import listSlotRecipe from "./List.recipe.js";
|
|
|
28
28
|
import markdownSlotRecipe from "./Markdown.recipe.js";
|
|
29
29
|
import markdownCardSlotRecipe from "./MarkdownCard.recipe.js";
|
|
30
30
|
import menuSlotRecipe from "./Menu.recipe.js";
|
|
31
|
+
import multiselectSlotRecipe from "./Multiselect.recipe.js";
|
|
31
32
|
import nativeSelectSlotRecipe from "./NativeSelect.recipe.js";
|
|
32
33
|
import noteCardSlotRecipe from "./NoteCard.recipe.js";
|
|
33
34
|
import overflowContentSlotRecipe from "./OverflowContent.recipe.js";
|
|
@@ -81,6 +82,7 @@ var slotRecipes = {
|
|
|
81
82
|
markdown: markdownSlotRecipe,
|
|
82
83
|
markdownCard: markdownCardSlotRecipe,
|
|
83
84
|
menu: menuSlotRecipe,
|
|
85
|
+
multiselect: multiselectSlotRecipe,
|
|
84
86
|
noteCard: noteCardSlotRecipe,
|
|
85
87
|
nativeSelect: nativeSelectSlotRecipe,
|
|
86
88
|
numberInput: numberInputSlotRecipe,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n treeView: treeViewSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../lib/theme/slot-recipes/index.ts"],"sourcesContent":["import accordionSlotRecipe from './Accordion.recipe.ts';\nimport actionBarSlotRecipe from './ActionBar.recipe.ts';\nimport alertSlotRecipe from './Alert.recipe.ts';\nimport avatarSlotRecipe from './Avatar.recipe.ts';\nimport breadcrumbSlotRecipe from './Breadcrumb.recipe.ts';\nimport cardSlotRecipe from './Card.recipe';\nimport checkboxSlotRecipe from './Checkbox.recipe';\nimport codeSnippetSlotRecipe from './CodeSnippet.recipe.ts';\nimport collapsibleSlotRecipe from './Collapsible.recipe.ts';\nimport comboboxSlotRecipe from './Combobox.recipe.ts';\nimport datePickerSlotRecipe from './DatePicker.recipe.ts';\nimport datePickerSelectSlotRecipe from './DatePickerSelect.recipe.ts';\nimport dialogSlotRecipe from './Dialog.recipe.ts';\nimport draggableCardSlotRecipe from './DraggableCard.recipe.ts';\nimport drawerSlotRecipe from './Drawer.recipe.ts';\nimport emptyStateSlotRecipe from './EmptyState.recipe';\nimport expandableCardSlotRecipe from './ExpandableCard.recipe.ts';\nimport fieldSlotRecipe from './Field.recipe';\nimport fieldsetSlotRecipe from './Fieldset.recipe.ts';\nimport fileUploadSlotRecipe from './FileUpload.recipe.ts';\nimport groupHeadingSlotRecipe from './GroupHeading.recipe.ts';\nimport imageCropperSlotRecipe from './ImageCropper.recipe.ts';\nimport inlineLoadingSlotRecipe from './InlineLoading.recipe.ts';\nimport labeledDataSlotRecipe from './LabeledData.recipe.ts';\nimport listSlotRecipe from './List.recipe.ts';\nimport markdownSlotRecipe from './Markdown.recipe.ts';\nimport markdownCardSlotRecipe from './MarkdownCard.recipe.ts';\nimport menuSlotRecipe from './Menu.recipe.ts';\nimport multiselectSlotRecipe from './Multiselect.recipe.ts';\nimport nativeSelectSlotRecipe from './NativeSelect.recipe.ts';\nimport noteCardSlotRecipe from './NoteCard.recipe.ts';\nimport numberInputSlotRecipe from './NumberInput.recipe';\nimport overflowContentSlotRecipe from './OverflowContent.recipe.ts';\nimport pageFooterSlotRecipe from './PageFooter.recipe.ts';\nimport paginationSlotRecipe from './Pagination.recipe.ts';\nimport paginationLoadMoreSlotRecipe from './PaginationLoadMore.recipe.ts';\nimport radioGroupSlotRecipe from './RadioGroup.recipe.ts';\nimport ribbonSlotRecipe from './Ribbon.recipe.ts';\nimport sectionHeadingSlotRecipe from './SectionHeading.recipe.ts';\nimport segmentGroupSlotRecipe from './SegmentGroup.recipe.ts';\nimport { selectSlotRecipe } from './Select.recipe.ts';\nimport settingsCardSlotRecipe from './SettingsCard.recipe.ts';\nimport sidebarSlotRecipe from './Sidebar.recipe.ts';\nimport splitButtonSlotRecipe from './SplitButton.recipe.ts';\nimport statSlotRecipe from './Stat.recipe.ts';\nimport stepCardSlotRecipe from './StepCard.recipe.ts';\nimport stepsSlotRecipe from './Steps.recipe.ts';\nimport switchSlotRecipe from './Switch.recipe';\nimport tableSlotRecipe from './Table.recipe.ts';\nimport tabsSlotRecipe from './Tabs.recipe';\nimport tagSlotRecipe from './Tag.recipe.ts';\nimport tagsInputSlotRecipe from './TagsInput.recipe.ts';\nimport toastSlotRecipe from './Toast.recipe';\nimport tooltipSlotRecipe from './Tooltip.recipe';\nimport treeViewSlotRecipe from './TreeView.recipe.ts';\n\nconst slotRecipes = {\n accordion: accordionSlotRecipe,\n actionBar: actionBarSlotRecipe,\n alert: alertSlotRecipe,\n avatar: avatarSlotRecipe,\n breadcrumb: breadcrumbSlotRecipe,\n card: cardSlotRecipe,\n checkbox: checkboxSlotRecipe,\n codeSnippet: codeSnippetSlotRecipe,\n collapsible: collapsibleSlotRecipe,\n combobox: comboboxSlotRecipe,\n datePicker: datePickerSlotRecipe,\n datePickerSelect: datePickerSelectSlotRecipe,\n dialog: dialogSlotRecipe,\n draggableCard: draggableCardSlotRecipe,\n drawer: drawerSlotRecipe,\n emptyState: emptyStateSlotRecipe,\n expandableCard: expandableCardSlotRecipe,\n field: fieldSlotRecipe,\n groupHeading: groupHeadingSlotRecipe,\n fieldset: fieldsetSlotRecipe,\n fileUpload: fileUploadSlotRecipe,\n imageCropper: imageCropperSlotRecipe,\n inlineLoading: inlineLoadingSlotRecipe,\n list: listSlotRecipe,\n markdown: markdownSlotRecipe,\n markdownCard: markdownCardSlotRecipe,\n menu: menuSlotRecipe,\n multiselect: multiselectSlotRecipe,\n noteCard: noteCardSlotRecipe,\n nativeSelect: nativeSelectSlotRecipe,\n numberInput: numberInputSlotRecipe,\n overflowContent: overflowContentSlotRecipe,\n pageFooter: pageFooterSlotRecipe,\n pagination: paginationSlotRecipe,\n paginationLoadMore: paginationLoadMoreSlotRecipe,\n radioGroup: radioGroupSlotRecipe,\n ribbon: ribbonSlotRecipe,\n sectionHeading: sectionHeadingSlotRecipe,\n labeledData: labeledDataSlotRecipe,\n segmentGroup: segmentGroupSlotRecipe,\n sidebar: sidebarSlotRecipe,\n select: selectSlotRecipe,\n settingsCard: settingsCardSlotRecipe,\n splitButton: splitButtonSlotRecipe,\n stat: statSlotRecipe,\n stepsCard: stepCardSlotRecipe,\n steps: stepsSlotRecipe,\n switch: switchSlotRecipe,\n table: tableSlotRecipe,\n tabs: tabsSlotRecipe,\n tag: tagSlotRecipe,\n tagsInput: tagsInputSlotRecipe,\n toast: toastSlotRecipe,\n tooltip: tooltipSlotRecipe,\n treeView: treeViewSlotRecipe,\n};\n\nexport default slotRecipes;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,IAAM,cAAc;CAClB,WAAW;CACX,WAAW;CACX,OAAO;CACP,QAAQ;CACR,YAAY;CACZ,MAAM;CACN,UAAU;CACV,aAAa;CACb,aAAa;CACb,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,QAAQ;CACR,eAAe;CACf,QAAQ;CACR,YAAY;CACZ,gBAAgB;CAChB,OAAO;CACP,cAAc;CACd,UAAU;CACV,YAAY;CACZ,cAAc;CACd,eAAe;CACf,MAAM;CACN,UAAU;CACV,cAAc;CACd,MAAM;CACN,aAAa;CACb,UAAU;CACV,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,YAAY;CACZ,YAAY;CACZ,oBAAoB;CACpB,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,aAAa;CACb,cAAc;CACd,SAAS;CACT,QAAQ;CACR,cAAc;CACd,aAAa;CACb,MAAM;CACN,WAAW;CACX,OAAO;CACP,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,WAAW;CACX,OAAO;CACP,SAAS;CACT,UAAU;CACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetSelectChevron.js","names":[],"sources":["../../lib/utilities/AssetSelectChevron.tsx"],"sourcesContent":["import { Icon, type IconProps } from '@chakra-ui/react/icon';\nimport { forwardRef, type Ref } from 'react';\n\nconst AssetSelectChevron = forwardRef((props: IconProps, ref: Ref<SVGSVGElement>) => (\n <Icon\n asChild\n ref={ref}\n transition=\"0.2s ease\"\n
|
|
1
|
+
{"version":3,"file":"AssetSelectChevron.js","names":[],"sources":["../../lib/utilities/AssetSelectChevron.tsx"],"sourcesContent":["import { Icon, type IconProps } from '@chakra-ui/react/icon';\nimport { forwardRef, type Ref } from 'react';\n\nconst AssetSelectChevron = forwardRef((props: IconProps, ref: Ref<SVGSVGElement>) => (\n <Icon\n asChild\n ref={ref}\n transition=\"0.2s ease\"\n _open={{\n transform: 'rotate(180deg)',\n }}\n _disabled={{\n cursor: 'not-allowed',\n color: 'icon/disabled',\n }}\n color=\"icon/secondary\"\n _groupFocusWithin={{\n color: 'icon/primary',\n }}\n _groupHover={{\n color: 'icon/primary',\n }}\n {...props}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6.29285 10.2071L7.70706 8.79289L12 13.0858L16.2928 8.79289L17.7071 10.2071L12 15.9142L6.29285 10.2071Z\"\n fill=\"currentColor\"\n />\n </svg>\n </Icon>\n));\n\nAssetSelectChevron.displayName = 'AssetSelectChevron';\n\nexport default AssetSelectChevron;\n"],"mappings":";;;;AAGA,IAAM,qBAAqB,YAAY,OAAkB,QACvD,oBAAC,MAAD;CACE,SAAA;CACK;CACL,YAAW;CACX,OAAO,EACL,WAAW,kBACZ;CACD,WAAW;EACT,QAAQ;EACR,OAAO;EACR;CACD,OAAM;CACN,mBAAmB,EACjB,OAAO,gBACR;CACD,aAAa,EACX,OAAO,gBACR;CACD,GAAI;WAEJ,oBAAC,OAAD;EAAK,OAAM;EAA6B,SAAQ;EAAY,OAAM;EAAK,QAAO;YAC5E,oBAAC,QAAD;GACE,UAAS;GACT,UAAS;GACT,GAAE;GACF,MAAK;GACL,CAAA;EACE,CAAA;CACD,CAAA,CACP;AAEF,mBAAmB,cAAc"}
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const datePickerSelectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "list" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "clearTrigger" | "control" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup", {
|
|
2
|
-
size: {
|
|
3
|
-
md: {
|
|
4
|
-
trigger: {
|
|
5
|
-
paddingBlock: "6";
|
|
6
|
-
textStyle?: "body/md/regular" | undefined;
|
|
7
|
-
};
|
|
8
|
-
indicator: {
|
|
9
|
-
_icon: {
|
|
10
|
-
width: "16";
|
|
11
|
-
height: "16";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
searchInput?: {
|
|
15
|
-
paddingBlock: "12";
|
|
16
|
-
textStyle: "body/md/regular";
|
|
17
|
-
'--input-height': string;
|
|
18
|
-
} | undefined;
|
|
19
|
-
createItem?: {
|
|
20
|
-
color: "text/primary";
|
|
21
|
-
paddingBlock: "16";
|
|
22
|
-
textStyle: "body/md/regular";
|
|
23
|
-
} | undefined;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}>;
|
|
27
|
-
export default datePickerSelectSlotRecipe;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const selectSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "list" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "clearTrigger" | "control" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "searchInputGroup" | "searchInput" | "createItemContainer" | "createItem", {
|
|
2
|
-
size: {
|
|
3
|
-
lg: Record<string, import('@chakra-ui/react').SystemStyleObject>;
|
|
4
|
-
md: {
|
|
5
|
-
searchInput: {
|
|
6
|
-
paddingBlock: "12";
|
|
7
|
-
textStyle: "body/md/regular";
|
|
8
|
-
'--input-height': string;
|
|
9
|
-
};
|
|
10
|
-
createItem: {
|
|
11
|
-
color: "text/primary";
|
|
12
|
-
paddingBlock: "16";
|
|
13
|
-
textStyle: "body/md/regular";
|
|
14
|
-
};
|
|
15
|
-
trigger: {
|
|
16
|
-
textStyle: "body/md/regular";
|
|
17
|
-
paddingBlock: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}>;
|