@bitrise/bitkit-v2 0.3.107 → 0.3.109
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/BitkitField/BitkitField.js +17 -17
- package/dist/components/BitkitSelect/BitkitSelect.js +63 -63
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js +24 -37
- package/dist/theme/semantic-tokens/semanticColors.js +47 -0
- package/dist/theme/slot-recipes/Select.recipe.js +4 -7
- package/dist/theme/tokens/colors.d.ts +112 -0
- package/dist/theme/tokens/colors.js +40 -2
- package/dist/theme/tokens/index.d.ts +56 -0
- package/dist/utilities/AssetSelectChevron.d.ts +5 -0
- package/dist/utilities/AssetSelectChevron.js +7 -0
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -232,6 +232,53 @@ const r = l.colors(
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
|
+
indigo: {
|
|
236
|
+
base: {
|
|
237
|
+
value: {
|
|
238
|
+
_light: "{colors.indigo.50}"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
dark: {
|
|
242
|
+
value: {
|
|
243
|
+
_light: "{colors.indigo.20}"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
emphasized: {
|
|
247
|
+
value: {
|
|
248
|
+
_light: "{colors.indigo.30}"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
strong: {
|
|
252
|
+
value: {
|
|
253
|
+
_light: "{colors.indigo.40}"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
bold: {
|
|
257
|
+
value: {
|
|
258
|
+
_light: "{colors.indigo.60}"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
muted: {
|
|
262
|
+
value: {
|
|
263
|
+
_light: "{colors.indigo.80}"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
moderate: {
|
|
267
|
+
value: {
|
|
268
|
+
_light: "{colors.indigo.90}"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
subtle: {
|
|
272
|
+
value: {
|
|
273
|
+
_light: "{colors.indigo.93}"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
minimal: {
|
|
277
|
+
value: {
|
|
278
|
+
_light: "{colors.indigo.95}"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
235
282
|
blue: {
|
|
236
283
|
base: {
|
|
237
284
|
value: {
|
|
@@ -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: {}
|
|
@@ -143,6 +143,62 @@ export declare const COLOR_PALETTES: {
|
|
|
143
143
|
value: string;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
+
indigo: {
|
|
147
|
+
'20': {
|
|
148
|
+
value: string;
|
|
149
|
+
};
|
|
150
|
+
'30': {
|
|
151
|
+
value: string;
|
|
152
|
+
};
|
|
153
|
+
'40': {
|
|
154
|
+
value: string;
|
|
155
|
+
};
|
|
156
|
+
'50': {
|
|
157
|
+
value: string;
|
|
158
|
+
};
|
|
159
|
+
'60': {
|
|
160
|
+
value: string;
|
|
161
|
+
};
|
|
162
|
+
'80': {
|
|
163
|
+
value: string;
|
|
164
|
+
};
|
|
165
|
+
'90': {
|
|
166
|
+
value: string;
|
|
167
|
+
};
|
|
168
|
+
'93': {
|
|
169
|
+
value: string;
|
|
170
|
+
};
|
|
171
|
+
'95': {
|
|
172
|
+
value: string;
|
|
173
|
+
};
|
|
174
|
+
base: {
|
|
175
|
+
value: string;
|
|
176
|
+
};
|
|
177
|
+
bold: {
|
|
178
|
+
value: string;
|
|
179
|
+
};
|
|
180
|
+
dark: {
|
|
181
|
+
value: string;
|
|
182
|
+
};
|
|
183
|
+
emphasized: {
|
|
184
|
+
value: string;
|
|
185
|
+
};
|
|
186
|
+
minimal: {
|
|
187
|
+
value: string;
|
|
188
|
+
};
|
|
189
|
+
moderate: {
|
|
190
|
+
value: string;
|
|
191
|
+
};
|
|
192
|
+
muted: {
|
|
193
|
+
value: string;
|
|
194
|
+
};
|
|
195
|
+
strong: {
|
|
196
|
+
value: string;
|
|
197
|
+
};
|
|
198
|
+
subtle: {
|
|
199
|
+
value: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
146
202
|
red: {
|
|
147
203
|
'10': {
|
|
148
204
|
value: string;
|
|
@@ -733,6 +789,62 @@ declare const colors: {
|
|
|
733
789
|
value: string;
|
|
734
790
|
};
|
|
735
791
|
};
|
|
792
|
+
indigo: {
|
|
793
|
+
'20': {
|
|
794
|
+
value: string;
|
|
795
|
+
};
|
|
796
|
+
'30': {
|
|
797
|
+
value: string;
|
|
798
|
+
};
|
|
799
|
+
'40': {
|
|
800
|
+
value: string;
|
|
801
|
+
};
|
|
802
|
+
'50': {
|
|
803
|
+
value: string;
|
|
804
|
+
};
|
|
805
|
+
'60': {
|
|
806
|
+
value: string;
|
|
807
|
+
};
|
|
808
|
+
'80': {
|
|
809
|
+
value: string;
|
|
810
|
+
};
|
|
811
|
+
'90': {
|
|
812
|
+
value: string;
|
|
813
|
+
};
|
|
814
|
+
'93': {
|
|
815
|
+
value: string;
|
|
816
|
+
};
|
|
817
|
+
'95': {
|
|
818
|
+
value: string;
|
|
819
|
+
};
|
|
820
|
+
base: {
|
|
821
|
+
value: string;
|
|
822
|
+
};
|
|
823
|
+
bold: {
|
|
824
|
+
value: string;
|
|
825
|
+
};
|
|
826
|
+
dark: {
|
|
827
|
+
value: string;
|
|
828
|
+
};
|
|
829
|
+
emphasized: {
|
|
830
|
+
value: string;
|
|
831
|
+
};
|
|
832
|
+
minimal: {
|
|
833
|
+
value: string;
|
|
834
|
+
};
|
|
835
|
+
moderate: {
|
|
836
|
+
value: string;
|
|
837
|
+
};
|
|
838
|
+
muted: {
|
|
839
|
+
value: string;
|
|
840
|
+
};
|
|
841
|
+
strong: {
|
|
842
|
+
value: string;
|
|
843
|
+
};
|
|
844
|
+
subtle: {
|
|
845
|
+
value: string;
|
|
846
|
+
};
|
|
847
|
+
};
|
|
736
848
|
red: {
|
|
737
849
|
'10': {
|
|
738
850
|
value: string;
|
|
@@ -144,6 +144,44 @@ const l = {
|
|
|
144
144
|
value: "{colors.sys.purple.subtle}"
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
|
+
indigo: {
|
|
148
|
+
20: { value: "#2d2363" },
|
|
149
|
+
30: { value: "#423786" },
|
|
150
|
+
40: { value: "#5a50b2" },
|
|
151
|
+
50: { value: "#6d65d6" },
|
|
152
|
+
60: { value: "#8281ec" },
|
|
153
|
+
80: { value: "#b7bffc" },
|
|
154
|
+
90: { value: "#cdd5fe" },
|
|
155
|
+
93: { value: "#e5e9fa" },
|
|
156
|
+
95: { value: "#f1f4fd" },
|
|
157
|
+
base: {
|
|
158
|
+
value: "{colors.sys.indigo}"
|
|
159
|
+
},
|
|
160
|
+
bold: {
|
|
161
|
+
value: "{colors.sys.indigo.bold}"
|
|
162
|
+
},
|
|
163
|
+
dark: {
|
|
164
|
+
value: "{colors.sys.indigo.dark}"
|
|
165
|
+
},
|
|
166
|
+
emphasized: {
|
|
167
|
+
value: "{colors.sys.indigo.emphasized}"
|
|
168
|
+
},
|
|
169
|
+
minimal: {
|
|
170
|
+
value: "{colors.sys.indigo.minimal}"
|
|
171
|
+
},
|
|
172
|
+
moderate: {
|
|
173
|
+
value: "{colors.sys.indigo.moderate}"
|
|
174
|
+
},
|
|
175
|
+
muted: {
|
|
176
|
+
value: "{colors.sys.indigo.muted}"
|
|
177
|
+
},
|
|
178
|
+
strong: {
|
|
179
|
+
value: "{colors.sys.indigo.strong}"
|
|
180
|
+
},
|
|
181
|
+
subtle: {
|
|
182
|
+
value: "{colors.sys.indigo.subtle}"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
147
185
|
red: {
|
|
148
186
|
10: {
|
|
149
187
|
value: "#47060c"
|
|
@@ -587,11 +625,11 @@ const l = {
|
|
|
587
625
|
value: "#fff"
|
|
588
626
|
}
|
|
589
627
|
}
|
|
590
|
-
},
|
|
628
|
+
}, u = e.colors({
|
|
591
629
|
...l,
|
|
592
630
|
brand: a
|
|
593
631
|
});
|
|
594
632
|
export {
|
|
595
633
|
l as COLOR_PALETTES,
|
|
596
|
-
|
|
634
|
+
u as default
|
|
597
635
|
};
|
|
@@ -266,6 +266,62 @@ declare const tokens: {
|
|
|
266
266
|
value: string;
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
+
indigo: {
|
|
270
|
+
'20': {
|
|
271
|
+
value: string;
|
|
272
|
+
};
|
|
273
|
+
'30': {
|
|
274
|
+
value: string;
|
|
275
|
+
};
|
|
276
|
+
'40': {
|
|
277
|
+
value: string;
|
|
278
|
+
};
|
|
279
|
+
'50': {
|
|
280
|
+
value: string;
|
|
281
|
+
};
|
|
282
|
+
'60': {
|
|
283
|
+
value: string;
|
|
284
|
+
};
|
|
285
|
+
'80': {
|
|
286
|
+
value: string;
|
|
287
|
+
};
|
|
288
|
+
'90': {
|
|
289
|
+
value: string;
|
|
290
|
+
};
|
|
291
|
+
'93': {
|
|
292
|
+
value: string;
|
|
293
|
+
};
|
|
294
|
+
'95': {
|
|
295
|
+
value: string;
|
|
296
|
+
};
|
|
297
|
+
base: {
|
|
298
|
+
value: string;
|
|
299
|
+
};
|
|
300
|
+
bold: {
|
|
301
|
+
value: string;
|
|
302
|
+
};
|
|
303
|
+
dark: {
|
|
304
|
+
value: string;
|
|
305
|
+
};
|
|
306
|
+
emphasized: {
|
|
307
|
+
value: string;
|
|
308
|
+
};
|
|
309
|
+
minimal: {
|
|
310
|
+
value: string;
|
|
311
|
+
};
|
|
312
|
+
moderate: {
|
|
313
|
+
value: string;
|
|
314
|
+
};
|
|
315
|
+
muted: {
|
|
316
|
+
value: string;
|
|
317
|
+
};
|
|
318
|
+
strong: {
|
|
319
|
+
value: string;
|
|
320
|
+
};
|
|
321
|
+
subtle: {
|
|
322
|
+
value: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
269
325
|
red: {
|
|
270
326
|
'10': {
|
|
271
327
|
value: string;
|
|
@@ -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
|
+
};
|