@bitrise/bitkit-v2 0.3.140 → 0.3.141
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 +21 -0
- package/dist/components/BitkitCombobox/BitkitCombobox.js +107 -0
- package/dist/components/BitkitSelect/BitkitSelect.js +20 -20
- package/dist/components/BitkitSelectMenu/BitkitSelectMenu.js +16 -16
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +580 -578
- package/dist/theme/common/ComboboxAndSelect.common.d.ts +3 -0
- package/dist/theme/common/ComboboxAndSelect.common.js +85 -0
- package/dist/theme/{recipes/common → common}/InputAndTextarea.common.js +1 -1
- package/dist/theme/recipes/Input.recipe.js +1 -1
- package/dist/theme/recipes/Textarea.recipe.js +1 -1
- package/dist/theme/slot-recipes/Combobox.recipe.d.ts +11 -0
- package/dist/theme/slot-recipes/Combobox.recipe.js +53 -0
- package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +1 -18
- package/dist/theme/slot-recipes/NativeSelect.recipe.js +10 -22
- package/dist/theme/slot-recipes/Select.recipe.d.ts +3 -19
- package/dist/theme/slot-recipes/Select.recipe.js +25 -91
- package/dist/theme/slot-recipes/index.d.ts +14 -37
- package/dist/theme/slot-recipes/index.js +36 -34
- package/dist/utilities/AssetSelectChevron.js +21 -13
- package/package.json +8 -8
- /package/dist/theme/{recipes/common → common}/InputAndTextarea.common.d.ts +0 -0
|
@@ -1,49 +1,51 @@
|
|
|
1
1
|
import e from "./Accordion.recipe.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import o from "./ActionBar.recipe.js";
|
|
3
|
+
import t from "./Alert.recipe.js";
|
|
4
4
|
import r from "./Avatar.recipe.js";
|
|
5
5
|
import i from "./Breadcrumb.recipe.js";
|
|
6
6
|
import p from "./Card.recipe.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import m from "./Checkbox.recipe.js";
|
|
8
|
+
import c from "./Combobox.recipe.js";
|
|
9
|
+
import l from "./DatePicker.recipe.js";
|
|
9
10
|
import a from "./DatePickerSelect.recipe.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { selectSlotRecipe as
|
|
18
|
-
import
|
|
11
|
+
import S from "./EmptyState.recipe.js";
|
|
12
|
+
import f from "./ExpandableCard.recipe.js";
|
|
13
|
+
import R from "./Field.recipe.js";
|
|
14
|
+
import d from "./Fieldset.recipe.js";
|
|
15
|
+
import b from "./NativeSelect.recipe.js";
|
|
16
|
+
import n from "./NumberInput.recipe.js";
|
|
17
|
+
import s from "./RadioGroup.recipe.js";
|
|
18
|
+
import { selectSlotRecipe as u } from "./Select.recipe.js";
|
|
19
|
+
import x from "./Switch.recipe.js";
|
|
19
20
|
import k from "./Table.recipe.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
const
|
|
24
|
-
actionBar:
|
|
21
|
+
import h from "./Tabs.recipe.js";
|
|
22
|
+
import v from "./Tag.recipe.js";
|
|
23
|
+
import P from "./Tooltip.recipe.js";
|
|
24
|
+
const U = {
|
|
25
|
+
actionBar: o,
|
|
25
26
|
avatar: r,
|
|
26
27
|
breadcrumb: i,
|
|
27
28
|
card: p,
|
|
28
|
-
datePicker:
|
|
29
|
+
datePicker: l,
|
|
29
30
|
datePickerSelect: a,
|
|
30
|
-
checkbox:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
checkbox: m,
|
|
32
|
+
combobox: c,
|
|
33
|
+
emptyState: S,
|
|
34
|
+
expandableCard: f,
|
|
35
|
+
field: R,
|
|
36
|
+
fieldset: d,
|
|
37
|
+
nativeSelect: b,
|
|
38
|
+
alert: t,
|
|
39
|
+
numberInput: n,
|
|
40
|
+
radioGroup: s,
|
|
41
|
+
select: u,
|
|
42
|
+
switch: x,
|
|
41
43
|
table: k,
|
|
42
|
-
tabs:
|
|
43
|
-
tag:
|
|
44
|
-
tooltip:
|
|
44
|
+
tabs: h,
|
|
45
|
+
tag: v,
|
|
46
|
+
tooltip: P,
|
|
45
47
|
accordion: e
|
|
46
48
|
};
|
|
47
49
|
export {
|
|
48
|
-
|
|
50
|
+
U as default
|
|
49
51
|
};
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Icon as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as i } from "@chakra-ui/react/icon";
|
|
3
|
+
import { forwardRef as l } from "react";
|
|
4
|
+
const t = l((r, e) => /* @__PURE__ */ o(
|
|
5
|
+
i,
|
|
6
6
|
{
|
|
7
7
|
asChild: !0,
|
|
8
|
-
ref:
|
|
9
|
-
|
|
10
|
-
height: "24",
|
|
11
|
-
transition: "transform 0.2s ease",
|
|
8
|
+
ref: e,
|
|
9
|
+
transition: "0.2s ease",
|
|
12
10
|
_open: {
|
|
13
11
|
transform: "rotate(180deg)"
|
|
14
12
|
},
|
|
13
|
+
_disabled: {
|
|
14
|
+
cursor: "not-allowed",
|
|
15
|
+
color: "icon/disabled"
|
|
16
|
+
},
|
|
15
17
|
color: "icon/secondary",
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
_groupFocusWithin: {
|
|
19
|
+
color: "icon/primary"
|
|
20
|
+
},
|
|
21
|
+
_groupHover: {
|
|
22
|
+
color: "icon/primary"
|
|
23
|
+
},
|
|
24
|
+
...r,
|
|
25
|
+
children: /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", children: /* @__PURE__ */ o(
|
|
18
26
|
"path",
|
|
19
27
|
{
|
|
20
28
|
fillRule: "evenodd",
|
|
@@ -25,7 +33,7 @@ const l = s((o, r) => /* @__PURE__ */ e(
|
|
|
25
33
|
) })
|
|
26
34
|
}
|
|
27
35
|
));
|
|
28
|
-
|
|
36
|
+
t.displayName = "AssetSelectChevron";
|
|
29
37
|
export {
|
|
30
|
-
|
|
38
|
+
t as default
|
|
31
39
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit-v2",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.141",
|
|
5
5
|
"description": "Bitrise Design System Components built with Chakra UI V3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@bitrise/eslint-plugin": "^4.1.0",
|
|
58
58
|
"@chakra-ui/cli": "^3.34.0",
|
|
59
|
-
"@figma-export/cli": "^6.
|
|
60
|
-
"@figma-export/output-components-as-svg": "^6.
|
|
61
|
-
"@figma-export/transform-svg-with-svgo": "^6.
|
|
59
|
+
"@figma-export/cli": "^6.4.0",
|
|
60
|
+
"@figma-export/output-components-as-svg": "^6.4.0",
|
|
61
|
+
"@figma-export/transform-svg-with-svgo": "^6.4.0",
|
|
62
62
|
"@google-cloud/storage": "^7.19.0",
|
|
63
|
-
"@storybook/addon-docs": "10.2.
|
|
64
|
-
"@storybook/react-vite": "10.2.
|
|
63
|
+
"@storybook/addon-docs": "10.2.16",
|
|
64
|
+
"@storybook/react-vite": "10.2.16",
|
|
65
65
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
66
|
-
"@types/node": "^24.
|
|
66
|
+
"@types/node": "^24.12.0",
|
|
67
67
|
"@types/react": "^19.2.14",
|
|
68
68
|
"@types/react-dom": "^19.2.3",
|
|
69
69
|
"@vitejs/plugin-react": "^5.1.4",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"react": "^19.2.4",
|
|
73
73
|
"react-dom": "^19.2.4",
|
|
74
74
|
"release-it": "^19.2.4",
|
|
75
|
-
"storybook": "10.2.
|
|
75
|
+
"storybook": "10.2.16",
|
|
76
76
|
"tsx": "^4.21.0",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"vite": "^7.3.1",
|
|
File without changes
|