@bitrise/bitkit-v2 0.3.108 → 0.3.110
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/BitkitExpandableCard/BitkitExpandableCard.js +18 -18
- package/dist/components/BitkitField/BitkitField.js +17 -17
- package/dist/components/BitkitSelect/BitkitSelect.js +63 -63
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js +24 -37
- package/dist/theme/slot-recipes/ExpandableCard.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/ExpandableCard.recipe.js +3 -9
- package/dist/theme/slot-recipes/Select.recipe.js +4 -7
- package/dist/theme/slot-recipes/index.d.ts +1 -1
- package/dist/utilities/AssetSelectChevron.d.ts +5 -0
- package/dist/utilities/AssetSelectChevron.js +7 -0
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Box as
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Box as t } from "@chakra-ui/react/box";
|
|
3
3
|
import { Card as y } from "@chakra-ui/react/card";
|
|
4
|
-
import { Collapsible as
|
|
4
|
+
import { Collapsible as r } from "@chakra-ui/react/collapsible";
|
|
5
5
|
import { useSlotRecipe as b } from "@chakra-ui/react/styled-system";
|
|
6
|
-
import { Text as
|
|
7
|
-
import
|
|
8
|
-
const T = (
|
|
9
|
-
const { children:
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
|
|
16
|
-
!!
|
|
6
|
+
import { Text as a } from "@chakra-ui/react/text";
|
|
7
|
+
import O from "../../utilities/AssetSelectChevron.js";
|
|
8
|
+
const T = (p) => {
|
|
9
|
+
const { children: x, defaultExpanded: f, expanded: m, icon: o, onChange: l, secdText: c, size: h = "lg", suffix: d, title: C, ...g } = p, n = b({ key: "expandableCard" })({ size: h }), u = l ? (s) => l(s.open) : void 0;
|
|
10
|
+
return /* @__PURE__ */ e(y.Root, { css: n.root, children: /* @__PURE__ */ i(r.Root, { defaultOpen: f, open: m, onOpenChange: u, ...g, children: [
|
|
11
|
+
/* @__PURE__ */ i(r.Trigger, { css: n.header, children: [
|
|
12
|
+
/* @__PURE__ */ i(t, { display: "flex", alignItems: "center", gap: "8", children: [
|
|
13
|
+
o && /* @__PURE__ */ e(t, { css: n.icon, children: o }),
|
|
14
|
+
/* @__PURE__ */ i(t, { display: "flex", alignItems: "flex-start", flexDirection: "column", children: [
|
|
15
|
+
C,
|
|
16
|
+
!!c && /* @__PURE__ */ e(a, { css: n.secdText, children: c })
|
|
17
17
|
] })
|
|
18
18
|
] }),
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
!!
|
|
21
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ i(t, { display: "flex", alignItems: "center", children: [
|
|
20
|
+
!!d && /* @__PURE__ */ e(a, { css: n.suffix, children: d }),
|
|
21
|
+
/* @__PURE__ */ e(r.Context, { children: (s) => /* @__PURE__ */ e(O, { isOpen: s.open }) })
|
|
22
22
|
] })
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ e(r.Content, { css: n.collapsible, children: /* @__PURE__ */ e(t, { css: n.body, children: x }) })
|
|
25
25
|
] }) });
|
|
26
26
|
};
|
|
27
27
|
T.displayName = "BitkitExpandableCard";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Field as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { forwardRef as
|
|
2
|
+
import { Field as r } from "@chakra-ui/react/field";
|
|
3
|
+
import { Text as p } from "@chakra-ui/react/text";
|
|
4
|
+
import { forwardRef as T } from "react";
|
|
5
5
|
import u from "../../icons/16x16/IconInfoCircle16.js";
|
|
6
|
-
import
|
|
7
|
-
const y =
|
|
8
|
-
const { counterText: o, children:
|
|
9
|
-
return /* @__PURE__ */ c(
|
|
10
|
-
n || o ? /* @__PURE__ */ c(
|
|
6
|
+
import b from "../BitkitTooltip/BitkitTooltip.js";
|
|
7
|
+
const y = T((m, x) => {
|
|
8
|
+
const { counterText: o, children: s, disabled: f, errorText: t, helperText: l, label: n, optional: a, tooltip: d, warningText: i, ...h } = m;
|
|
9
|
+
return /* @__PURE__ */ c(r.Root, { disabled: f, required: !a, ref: x, ...h, children: [
|
|
10
|
+
n || o ? /* @__PURE__ */ c(r.Label, { children: [
|
|
11
11
|
n,
|
|
12
12
|
" ",
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
a && /* @__PURE__ */ e(
|
|
14
|
+
r.RequiredIndicator,
|
|
15
15
|
{
|
|
16
|
-
fallback: /* @__PURE__ */ e(
|
|
16
|
+
fallback: /* @__PURE__ */ e(p, { as: "span", textStyle: "body/md/regular", children: "(optional)" })
|
|
17
17
|
}
|
|
18
18
|
),
|
|
19
|
-
!!
|
|
20
|
-
o && /* @__PURE__ */ e(
|
|
19
|
+
!!d && /* @__PURE__ */ e(b, { text: d ?? "", children: /* @__PURE__ */ e(u, { color: "icon/tertiary" }) }),
|
|
20
|
+
o && /* @__PURE__ */ e(p, { as: "span", marginInlineStart: "auto", textStyle: "comp/input/helperText", children: o })
|
|
21
21
|
] }) : null,
|
|
22
|
-
|
|
23
|
-
!!l && !
|
|
24
|
-
!!i && !
|
|
25
|
-
!!
|
|
22
|
+
s,
|
|
23
|
+
!!l && !t && !i && /* @__PURE__ */ e(r.HelperText, { children: l }),
|
|
24
|
+
!!i && !t && /* @__PURE__ */ e(r.HelperText, { color: "text/body", children: i }),
|
|
25
|
+
!!t && /* @__PURE__ */ e(r.ErrorText, { children: t })
|
|
26
26
|
] });
|
|
27
27
|
});
|
|
28
28
|
y.displayName = "BitkitField";
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import { createListCollection as F } from "@chakra-ui/react/collection";
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { createListCollection as k } from "@chakra-ui/react/collection";
|
|
4
3
|
import { Portal as O } from "@chakra-ui/react/portal";
|
|
5
|
-
import { Select as
|
|
6
|
-
import { forwardRef as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
const H = j((d, s) => {
|
|
4
|
+
import { Select as r } from "@chakra-ui/react/select";
|
|
5
|
+
import { forwardRef as b } from "react";
|
|
6
|
+
import F from "../../icons/16x16/IconErrorCircleFilled16.js";
|
|
7
|
+
import j from "../../icons/16x16/IconWarningYellow16.js";
|
|
8
|
+
import E from "../../icons/24x24/IconErrorCircleFilled24.js";
|
|
9
|
+
import L from "../../icons/24x24/IconWarningYellow24.js";
|
|
10
|
+
import R from "../../utilities/AssetSelectChevron.js";
|
|
11
|
+
import W from "../BitkitField/BitkitField.js";
|
|
12
|
+
import Y from "../BitkitSelectMenu/BitkitSelectMenu.js";
|
|
13
|
+
const z = b((d, h) => {
|
|
16
14
|
const {
|
|
17
|
-
contentProps:
|
|
18
|
-
defaultValue:
|
|
15
|
+
contentProps: s,
|
|
16
|
+
defaultValue: n,
|
|
19
17
|
errorText: a,
|
|
20
|
-
hasSearch:
|
|
21
|
-
helperText:
|
|
18
|
+
hasSearch: p,
|
|
19
|
+
helperText: m,
|
|
22
20
|
isLoading: g,
|
|
23
21
|
items: f,
|
|
24
22
|
label: u,
|
|
25
|
-
onSearchChange:
|
|
26
|
-
onValueChange:
|
|
23
|
+
onSearchChange: S,
|
|
24
|
+
onValueChange: v,
|
|
27
25
|
optional: C,
|
|
28
|
-
placeholder:
|
|
29
|
-
selectProps:
|
|
30
|
-
size:
|
|
31
|
-
state:
|
|
32
|
-
tooltip:
|
|
33
|
-
triggerProps:
|
|
26
|
+
placeholder: I,
|
|
27
|
+
selectProps: x,
|
|
28
|
+
size: t = "md",
|
|
29
|
+
state: o,
|
|
30
|
+
tooltip: w,
|
|
31
|
+
triggerProps: y,
|
|
34
32
|
value: c,
|
|
35
|
-
warningText:
|
|
36
|
-
...
|
|
37
|
-
} = d,
|
|
33
|
+
warningText: B,
|
|
34
|
+
...P
|
|
35
|
+
} = d, T = o === "error" || !!a, V = k({
|
|
38
36
|
items: f,
|
|
39
37
|
groupBy: (i) => i.group || ""
|
|
40
38
|
});
|
|
41
|
-
return /* @__PURE__ */
|
|
42
|
-
|
|
39
|
+
return /* @__PURE__ */ e(
|
|
40
|
+
W,
|
|
43
41
|
{
|
|
44
|
-
disabled:
|
|
42
|
+
disabled: o === "disabled",
|
|
45
43
|
errorText: a,
|
|
46
|
-
helperText:
|
|
47
|
-
invalid:
|
|
44
|
+
helperText: m,
|
|
45
|
+
invalid: T,
|
|
48
46
|
label: u,
|
|
49
47
|
optional: C,
|
|
50
|
-
readOnly:
|
|
51
|
-
ref:
|
|
52
|
-
tooltip:
|
|
53
|
-
warningText:
|
|
54
|
-
...
|
|
55
|
-
children: /* @__PURE__ */
|
|
56
|
-
|
|
48
|
+
readOnly: o === "readOnly",
|
|
49
|
+
ref: h,
|
|
50
|
+
tooltip: w,
|
|
51
|
+
warningText: B,
|
|
52
|
+
...P,
|
|
53
|
+
children: /* @__PURE__ */ l(
|
|
54
|
+
r.Root,
|
|
57
55
|
{
|
|
58
|
-
collection:
|
|
59
|
-
size:
|
|
60
|
-
...
|
|
61
|
-
defaultValue:
|
|
62
|
-
onValueChange: (i) =>
|
|
56
|
+
collection: V,
|
|
57
|
+
size: t,
|
|
58
|
+
...x,
|
|
59
|
+
defaultValue: n ? [n] : void 0,
|
|
60
|
+
onValueChange: (i) => v?.(i.value[0]),
|
|
63
61
|
value: c ? [c] : void 0,
|
|
64
62
|
children: [
|
|
65
|
-
/* @__PURE__ */ r
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ r
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} }) })
|
|
63
|
+
/* @__PURE__ */ e(r.HiddenSelect, {}),
|
|
64
|
+
/* @__PURE__ */ l(r.Control, { children: [
|
|
65
|
+
/* @__PURE__ */ e(r.Trigger, { ...y, children: /* @__PURE__ */ e(
|
|
66
|
+
r.ValueText,
|
|
67
|
+
{
|
|
68
|
+
placeholder: I || o === "readOnly" ? "(not selected)" : "Select an option"
|
|
69
|
+
}
|
|
70
|
+
) }),
|
|
71
|
+
/* @__PURE__ */ l(r.IndicatorGroup, { children: [
|
|
72
|
+
o === "error" && /* @__PURE__ */ e(r.Indicator, { children: t === "lg" ? /* @__PURE__ */ e(E, { color: "icon/negative" }) : /* @__PURE__ */ e(F, { color: "icon/negative", height: "16", width: "16" }) }),
|
|
73
|
+
o === "warning" && /* @__PURE__ */ e(r.Indicator, { children: t === "lg" ? /* @__PURE__ */ e(L, {}) : /* @__PURE__ */ e(j, { height: "16", width: "16" }) }),
|
|
74
|
+
/* @__PURE__ */ e(r.Indicator, { children: /* @__PURE__ */ e(r.Context, { children: (i) => /* @__PURE__ */ e(R, { isOpen: i.open }) }) })
|
|
75
75
|
] })
|
|
76
76
|
] }),
|
|
77
|
-
/* @__PURE__ */
|
|
78
|
-
|
|
77
|
+
/* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(r.Positioner, { children: /* @__PURE__ */ e(
|
|
78
|
+
Y,
|
|
79
79
|
{
|
|
80
|
-
contentProps:
|
|
80
|
+
contentProps: s,
|
|
81
81
|
isLoading: g,
|
|
82
|
-
...
|
|
83
|
-
size:
|
|
82
|
+
...p ? { hasSearch: !0, onSearchChange: S } : { hasSearch: !1 },
|
|
83
|
+
size: t
|
|
84
84
|
}
|
|
85
85
|
) }) })
|
|
86
86
|
]
|
|
@@ -89,7 +89,7 @@ const H = j((d, s) => {
|
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
91
|
});
|
|
92
|
-
|
|
92
|
+
z.displayName = "BitkitSelect";
|
|
93
93
|
export {
|
|
94
|
-
|
|
94
|
+
z as default
|
|
95
95
|
};
|
|
@@ -1,57 +1,44 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Box as
|
|
2
|
+
import { Box as a } from "@chakra-ui/react/box";
|
|
3
3
|
import { Input as g } from "@chakra-ui/react/input";
|
|
4
|
-
import { InputGroup as
|
|
5
|
-
import { useSelectContext as
|
|
4
|
+
import { InputGroup as x } from "@chakra-ui/react/input-group";
|
|
5
|
+
import { useSelectContext as S, Select as i } from "@chakra-ui/react/select";
|
|
6
6
|
import { Separator as y } from "@chakra-ui/react/separator";
|
|
7
|
+
import { Spinner as C } from "@chakra-ui/react/spinner";
|
|
7
8
|
import { useSlotRecipe as k } from "@chakra-ui/react/styled-system";
|
|
8
9
|
import { Text as s } from "@chakra-ui/react/text";
|
|
9
|
-
import { forwardRef as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import L from "../../icons/24x24/
|
|
13
|
-
import M from "../../icons/16x16/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const { contentProps: p = {}, hasSearch: f = !1, isLoading: d = !1, onSearchChange: h, size: i } = m, { collection: u } = x(), r = k({ key: "select" })({ size: i });
|
|
18
|
-
return /* @__PURE__ */ o(n.Content, { css: r.content, ref: a, ...p, children: [
|
|
10
|
+
import { forwardRef as G } from "react";
|
|
11
|
+
import b from "../../icons/24x24/IconMagnifier24.js";
|
|
12
|
+
import v from "../../icons/16x16/IconMagnifier16.js";
|
|
13
|
+
import L from "../../icons/24x24/IconCheck24.js";
|
|
14
|
+
import M from "../../icons/16x16/IconCheck16.js";
|
|
15
|
+
const j = G((m, l) => {
|
|
16
|
+
const { contentProps: p = {}, hasSearch: f = !1, isLoading: d = !1, onSearchChange: h, size: c } = m, { collection: u } = S(), r = k({ key: "select" })({ size: c });
|
|
17
|
+
return /* @__PURE__ */ o(i.Content, { css: r.content, ref: l, ...p, children: [
|
|
19
18
|
f && /* @__PURE__ */ e(
|
|
20
|
-
|
|
19
|
+
x,
|
|
21
20
|
{
|
|
22
|
-
startElement:
|
|
21
|
+
startElement: c === "lg" ? /* @__PURE__ */ e(b, { color: "icon/tertiary" }) : /* @__PURE__ */ e(v, { color: "icon/tertiary" }),
|
|
23
22
|
css: r.searchInputGroup,
|
|
24
23
|
children: /* @__PURE__ */ e(g, { placeholder: "Search...", css: r.searchInput, onChange: (t) => h?.(t.target.value) })
|
|
25
24
|
}
|
|
26
25
|
),
|
|
27
|
-
/* @__PURE__ */ e(
|
|
28
|
-
/* @__PURE__ */ e(
|
|
29
|
-
l,
|
|
30
|
-
{
|
|
31
|
-
style: {
|
|
32
|
-
animation: "spin 1s linear infinite",
|
|
33
|
-
"@keyframes spin": {
|
|
34
|
-
"0%": { transform: "rotate(0deg)" },
|
|
35
|
-
"100%": { transform: "rotate(360deg)" }
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
children: i === "lg" ? /* @__PURE__ */ e(L, {}) : /* @__PURE__ */ e(M, {})
|
|
39
|
-
}
|
|
40
|
-
),
|
|
26
|
+
/* @__PURE__ */ e(a, { overflowY: "auto", children: d ? /* @__PURE__ */ o(a, { display: "flex", alignItems: "center", gap: "12", justifyContent: "left", css: r.item, children: [
|
|
27
|
+
/* @__PURE__ */ e(C, { variant: "purple" }),
|
|
41
28
|
/* @__PURE__ */ e(s, { color: "text/secondary", textStyle: "body/md/regular", children: "Loading..." })
|
|
42
|
-
] }) : u.group().map(([t, I]) => /* @__PURE__ */ o(
|
|
43
|
-
t && /* @__PURE__ */ o(
|
|
29
|
+
] }) : u.group().map(([t, I]) => /* @__PURE__ */ o(i.ItemGroup, { children: [
|
|
30
|
+
t && /* @__PURE__ */ o(i.ItemGroupLabel, { css: r.itemGroupLabel, children: [
|
|
44
31
|
/* @__PURE__ */ e(s, { color: "text/tertiary", flexShrink: "0", textStyle: "heading/h6", children: t }),
|
|
45
32
|
/* @__PURE__ */ e(y, { flex: "1" })
|
|
46
33
|
] }),
|
|
47
|
-
I.map((
|
|
48
|
-
|
|
49
|
-
/* @__PURE__ */ e(
|
|
50
|
-
] },
|
|
34
|
+
I.map((n) => /* @__PURE__ */ o(i.Item, { css: r.item, item: n, ref: l, children: [
|
|
35
|
+
n.label,
|
|
36
|
+
/* @__PURE__ */ e(i.ItemIndicator, { children: c === "lg" ? /* @__PURE__ */ e(L, { css: r.itemIndicator }) : /* @__PURE__ */ e(M, { css: r.itemIndicator }) })
|
|
37
|
+
] }, n.value))
|
|
51
38
|
] }, t)) })
|
|
52
39
|
] });
|
|
53
40
|
});
|
|
54
|
-
|
|
41
|
+
j.displayName = "BitkitSelectMenu";
|
|
55
42
|
export {
|
|
56
|
-
|
|
43
|
+
j as default
|
|
57
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const expandableCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "icon" | "root" | "description" | "collapsible" | "secdText" | "suffix"
|
|
1
|
+
declare const expandableCardSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "icon" | "root" | "description" | "collapsible" | "secdText" | "suffix", {
|
|
2
2
|
size: {
|
|
3
3
|
md: {
|
|
4
4
|
header: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cardAnatomy as e } from "@chakra-ui/react/anatomy";
|
|
2
2
|
import { defineSlotRecipe as o } from "@chakra-ui/react/styled-system";
|
|
3
|
-
const
|
|
3
|
+
const d = o({
|
|
4
4
|
className: "expandable-card",
|
|
5
|
-
slots: [...e.keys(), "
|
|
5
|
+
slots: [...e.keys(), "collapsible", "icon", "secdText", "suffix"],
|
|
6
6
|
base: {
|
|
7
7
|
root: {
|
|
8
8
|
backgroundColor: "background/primary",
|
|
@@ -35,12 +35,6 @@ const t = o({
|
|
|
35
35
|
animationDuration: "moderate"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
chevron: {
|
|
39
|
-
"[data-state=open] &": {
|
|
40
|
-
transform: "rotate(-180deg)"
|
|
41
|
-
},
|
|
42
|
-
transition: "transform 0.2s ease"
|
|
43
|
-
},
|
|
44
38
|
body: {
|
|
45
39
|
borderTop: "1px solid",
|
|
46
40
|
borderColor: "border/minimal",
|
|
@@ -75,5 +69,5 @@ const t = o({
|
|
|
75
69
|
}
|
|
76
70
|
});
|
|
77
71
|
export {
|
|
78
|
-
|
|
72
|
+
d as default
|
|
79
73
|
};
|
|
@@ -15,7 +15,7 @@ const l = o({
|
|
|
15
15
|
gap: e(8),
|
|
16
16
|
justifyContent: "space-between",
|
|
17
17
|
px: e(16),
|
|
18
|
-
py: e(
|
|
18
|
+
py: e(11),
|
|
19
19
|
borderRadius: e(4),
|
|
20
20
|
userSelect: "none",
|
|
21
21
|
textAlign: "start",
|
|
@@ -38,7 +38,7 @@ const l = o({
|
|
|
38
38
|
indicatorGroup: {
|
|
39
39
|
display: "flex",
|
|
40
40
|
alignItems: "center",
|
|
41
|
-
gap:
|
|
41
|
+
gap: e(8),
|
|
42
42
|
pos: "absolute",
|
|
43
43
|
insetEnd: "0",
|
|
44
44
|
top: "0",
|
|
@@ -87,6 +87,7 @@ const l = o({
|
|
|
87
87
|
py: e(12),
|
|
88
88
|
textAlign: "start",
|
|
89
89
|
textStyle: "body/lg/regular",
|
|
90
|
+
lineHeight: e(24),
|
|
90
91
|
_highlighted: {
|
|
91
92
|
bg: "neutral.95"
|
|
92
93
|
},
|
|
@@ -128,10 +129,6 @@ const l = o({
|
|
|
128
129
|
borderColor: "border/minimal",
|
|
129
130
|
appearance: "none",
|
|
130
131
|
paddingLeft: e(16)
|
|
131
|
-
},
|
|
132
|
-
valueText: {
|
|
133
|
-
height: e(32),
|
|
134
|
-
lineHeight: e(32)
|
|
135
132
|
}
|
|
136
133
|
},
|
|
137
134
|
variants: {
|
|
@@ -160,7 +157,7 @@ const l = o({
|
|
|
160
157
|
},
|
|
161
158
|
trigger: {
|
|
162
159
|
textStyle: "body/md/regular",
|
|
163
|
-
py: e(
|
|
160
|
+
py: e(9)
|
|
164
161
|
}
|
|
165
162
|
},
|
|
166
163
|
lg: {}
|
|
@@ -72,7 +72,7 @@ declare const slotRecipes: {
|
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
}>;
|
|
75
|
-
expandableCard: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "icon" | "root" | "description" | "collapsible" | "secdText" | "suffix"
|
|
75
|
+
expandableCard: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "icon" | "root" | "description" | "collapsible" | "secdText" | "suffix", {
|
|
76
76
|
size: {
|
|
77
77
|
md: {
|
|
78
78
|
header: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Box as e } from "@chakra-ui/react/box";
|
|
3
|
+
import o from "../icons/24x24/IconSelectChevron24.js";
|
|
4
|
+
const m = ({ isOpen: t }) => /* @__PURE__ */ r(e, { transform: t ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 0.2s ease", children: /* @__PURE__ */ r(o, {}) });
|
|
5
|
+
export {
|
|
6
|
+
m as default
|
|
7
|
+
};
|