@bitrise/bitkit-v2 0.3.122 → 0.3.124

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.
@@ -33,7 +33,7 @@ const s = [
33
33
  backgroundColor: `{colors.button.${o}.bg}`,
34
34
  borderColor: t,
35
35
  borderStyle: "solid",
36
- borderWidth: "1",
36
+ borderWidth: r(1),
37
37
  color: `{colors.button.${o}.fg}`
38
38
  }, e;
39
39
  },
@@ -1,5 +1,6 @@
1
1
  import { defineRecipe as r } from "@chakra-ui/react/styled-system";
2
- const o = r({
2
+ import { rem as e } from "../themeUtils.js";
3
+ const i = r({
3
4
  className: "spinner",
4
5
  base: {
5
6
  "--spinner-color": "currentColor",
@@ -7,7 +8,7 @@ const o = r({
7
8
  display: "inline-block",
8
9
  borderColor: "var(--spinner-color)",
9
10
  borderStyle: "solid",
10
- borderWidth: "2",
11
+ borderWidth: e(2),
11
12
  borderRadius: "100%",
12
13
  width: "var(--spinner-size)",
13
14
  height: "var(--spinner-size)",
@@ -41,5 +42,5 @@ const o = r({
41
42
  }
42
43
  });
43
44
  export {
44
- o as default
45
+ i as default
45
46
  };
@@ -4,7 +4,7 @@ const e = {
4
4
  background: "background/primary",
5
5
  borderColor: "border/regular",
6
6
  borderRadius: "4",
7
- borderWidth: "1",
7
+ borderWidth: r(1),
8
8
  color: "input/text/inputValue",
9
9
  textStyle: "body/lg/regular",
10
10
  width: "100%",
@@ -16,7 +16,7 @@ const a = r({
16
16
  minWidth: 0,
17
17
  appearance: "none",
18
18
  borderRadius: "4",
19
- borderWidth: "1",
19
+ borderWidth: o(1),
20
20
  borderColor: "border/strong",
21
21
  background: "background/primary",
22
22
  transition: "200ms",
@@ -8,7 +8,7 @@ const l = o({
8
8
  trigger: {
9
9
  display: "flex",
10
10
  alignItems: "center",
11
- borderWidth: "1",
11
+ borderWidth: e(1),
12
12
  borderColor: "border/strong",
13
13
  bg: "bg.muted",
14
14
  color: "input/text/inputValue",
@@ -29,8 +29,8 @@ const e = a({
29
29
  "--arrow-background": "var(--tooltip-bg)"
30
30
  },
31
31
  arrowTip: {
32
- borderTopWidth: "1",
33
- borderInlineStartWidth: "1",
32
+ borderTopWidth: o(1),
33
+ borderInlineStartWidth: o(1),
34
34
  borderColor: "var(--tooltip-bg)"
35
35
  }
36
36
  },
@@ -1,5 +1,3 @@
1
- export type AssetSelectChevronProps = {
2
- isOpen: boolean;
3
- };
4
- declare const AssetSelectChevron: ({ isOpen }: AssetSelectChevronProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { IconProps } from '@chakra-ui/react/icon';
2
+ declare const AssetSelectChevron: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
5
3
  export default AssetSelectChevron;
@@ -1,7 +1,31 @@
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, {}) });
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Icon as t } from "@chakra-ui/react/icon";
3
+ import { forwardRef as s } from "react";
4
+ const l = s((o, r) => /* @__PURE__ */ e(
5
+ t,
6
+ {
7
+ asChild: !0,
8
+ ref: r,
9
+ width: "24",
10
+ height: "24",
11
+ transition: "transform 0.2s ease",
12
+ _open: {
13
+ transform: "rotate(180deg)"
14
+ },
15
+ color: "icon/secondary",
16
+ ...o,
17
+ children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ e(
18
+ "path",
19
+ {
20
+ fillRule: "evenodd",
21
+ clipRule: "evenodd",
22
+ d: "M6.29285 10.2071L7.70706 8.79289L12 13.0858L16.2928 8.79289L17.7071 10.2071L12 15.9142L6.29285 10.2071Z",
23
+ fill: "currentColor"
24
+ }
25
+ ) })
26
+ }
27
+ ));
28
+ l.displayName = "AssetSelectChevron";
5
29
  export {
6
- m as default
30
+ l as default
7
31
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.122",
4
+ "version": "0.3.124",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",
@@ -60,8 +60,8 @@
60
60
  "@figma-export/output-components-as-svg": "^6.2.4",
61
61
  "@figma-export/transform-svg-with-svgo": "^6.2.4",
62
62
  "@google-cloud/storage": "^7.19.0",
63
- "@storybook/addon-docs": "10.2.11",
64
- "@storybook/react-vite": "10.2.11",
63
+ "@storybook/addon-docs": "10.2.12",
64
+ "@storybook/react-vite": "10.2.12",
65
65
  "@svgr/plugin-jsx": "^8.1.0",
66
66
  "@types/node": "^24.10.13",
67
67
  "@types/react": "^19.2.14",
@@ -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.11",
75
+ "storybook": "10.2.12",
76
76
  "tsx": "^4.21.0",
77
77
  "typescript": "^5.9.3",
78
78
  "vite": "^7.3.1",
@@ -1,3 +0,0 @@
1
- import { IconProps } from '@chakra-ui/react/icon';
2
- declare const IconSelectChevron24: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
3
- export default IconSelectChevron24;
@@ -1,16 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Icon as l } from "@chakra-ui/react/icon";
3
- import { forwardRef as t } from "react";
4
- const i = t((o, r) => /* @__PURE__ */ e(l, { asChild: !0, ref: r, width: "24", height: "24", ...o, children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ e(
5
- "path",
6
- {
7
- fillRule: "evenodd",
8
- clipRule: "evenodd",
9
- d: "M6.29285 10.2071L7.70706 8.79289L12 13.0858L16.2928 8.79289L17.7071 10.2071L12 15.9142L6.29285 10.2071Z",
10
- fill: "currentColor"
11
- }
12
- ) }) }));
13
- i.displayName = "IconSelectChevron24";
14
- export {
15
- i as default
16
- };