@bitrise/bitkit-v2 0.3.32 → 0.3.34

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.
Files changed (41) hide show
  1. package/dist/bitkit-v2.css +1 -1
  2. package/dist/bitkit-v2.js +7607 -3325
  3. package/dist/bitkit-v2.umd.cjs +7 -8
  4. package/dist/main.d.ts +2 -4
  5. package/dist/providers/BitkitProvider.d.ts +3 -18
  6. package/dist/theme/breakpoints.d.ts +7 -0
  7. package/dist/theme/global-css.d.ts +2 -0
  8. package/dist/theme/index.d.ts +2 -4
  9. package/dist/theme/recipes/Button.recipe.d.ts +24 -0
  10. package/dist/theme/recipes/Input.recipe.d.ts +4 -0
  11. package/dist/theme/recipes/index.d.ts +25 -0
  12. package/dist/theme/semantic-tokens/index.d.ts +46 -0
  13. package/dist/theme/semantic-tokens/semanticColors.d.ts +2 -0
  14. package/dist/theme/semantic-tokens/semanticColors.json.d.ts +1045 -0
  15. package/dist/theme/semantic-tokens/shadows.d.ts +43 -0
  16. package/dist/theme/semantic-tokens/shadows.json.d.ts +44 -0
  17. package/dist/theme/slot-recipes/Field.recipe.d.ts +2 -0
  18. package/dist/theme/slot-recipes/index.d.ts +4 -0
  19. package/dist/theme/text-styles.d.ts +3 -0
  20. package/dist/theme/themeUtils.d.ts +4 -0
  21. package/dist/theme/tokens/colors.d.ts +2 -0
  22. package/dist/theme/tokens/colors.json.d.ts +112 -0
  23. package/dist/theme/tokens/fontSizes.d.ts +30 -0
  24. package/dist/theme/tokens/fontSizes.json.d.ts +32 -0
  25. package/dist/theme/tokens/fontWeights.d.ts +15 -0
  26. package/dist/theme/tokens/fontWeights.json.d.ts +17 -0
  27. package/dist/theme/tokens/fonts.d.ts +9 -0
  28. package/dist/theme/tokens/fonts.json.d.ts +11 -0
  29. package/dist/theme/tokens/index.d.ts +198 -0
  30. package/dist/theme/tokens/radii.d.ts +21 -0
  31. package/dist/theme/tokens/radii.json.d.ts +23 -0
  32. package/dist/theme/tokens/sizes.d.ts +48 -0
  33. package/dist/theme/tokens/sizesAndSpacing.json.d.ts +50 -0
  34. package/dist/theme/tokens/spacing.d.ts +48 -0
  35. package/dist/theme/tokens/zIndex.d.ts +30 -0
  36. package/dist/theme/tokens/zIndex.json.d.ts +32 -0
  37. package/package.json +21 -20
  38. package/dist/atoms/Button/Button.d.ts +0 -4
  39. package/dist/atoms/Button/Button.recepie.d.ts +0 -167
  40. package/dist/atoms/Button/index.d.ts +0 -2
  41. package/dist/atoms/index.d.ts +0 -1
@@ -0,0 +1,48 @@
1
+ declare const spacing: {
2
+ "1": {
3
+ value: string;
4
+ };
5
+ "2": {
6
+ value: string;
7
+ };
8
+ "4": {
9
+ value: string;
10
+ };
11
+ "6": {
12
+ value: string;
13
+ };
14
+ "8": {
15
+ value: string;
16
+ };
17
+ "12": {
18
+ value: string;
19
+ };
20
+ "16": {
21
+ value: string;
22
+ };
23
+ "20": {
24
+ value: string;
25
+ };
26
+ "24": {
27
+ value: string;
28
+ };
29
+ "32": {
30
+ value: string;
31
+ };
32
+ "40": {
33
+ value: string;
34
+ };
35
+ "48": {
36
+ value: string;
37
+ };
38
+ "64": {
39
+ value: string;
40
+ };
41
+ "96": {
42
+ value: string;
43
+ };
44
+ "128": {
45
+ value: string;
46
+ };
47
+ };
48
+ export default spacing;
@@ -0,0 +1,30 @@
1
+ declare const zIndex: {
2
+ base: {
3
+ value: number;
4
+ };
5
+ dialog: {
6
+ value: number;
7
+ };
8
+ dialogOverlay: {
9
+ value: number;
10
+ };
11
+ fullDialog: {
12
+ value: number;
13
+ };
14
+ fullDialogOverlay: {
15
+ value: number;
16
+ };
17
+ header: {
18
+ value: number;
19
+ };
20
+ hide: {
21
+ value: number;
22
+ };
23
+ popover: {
24
+ value: number;
25
+ };
26
+ tooltip: {
27
+ value: number;
28
+ };
29
+ };
30
+ export default zIndex;
@@ -0,0 +1,32 @@
1
+ declare const _default: {
2
+ "base": {
3
+ "value": 0
4
+ },
5
+ "dialog": {
6
+ "value": 1300
7
+ },
8
+ "dialogOverlay": {
9
+ "value": 1299
10
+ },
11
+ "fullDialog": {
12
+ "value": 1200
13
+ },
14
+ "fullDialogOverlay": {
15
+ "value": 1199
16
+ },
17
+ "header": {
18
+ "value": 1100
19
+ },
20
+ "hide": {
21
+ "value": -1
22
+ },
23
+ "popover": {
24
+ "value": 1400
25
+ },
26
+ "tooltip": {
27
+ "value": 1500
28
+ }
29
+ }
30
+ ;
31
+
32
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.32",
4
+ "version": "0.3.34",
5
5
  "description": "Bitrise Design System Components built with Chakra UI v3",
6
6
  "keywords": [
7
7
  "react",
@@ -52,6 +52,7 @@
52
52
  "theme:watch": "chakra typegen lib/theme/index.ts --watch",
53
53
  "lint": "eslint .",
54
54
  "lint:fix": "eslint . --fix",
55
+ "start": "npm run storybook",
55
56
  "type-check": "tsc --noEmit",
56
57
  "release": "release-it patch --ci"
57
58
  },
@@ -60,20 +61,20 @@
60
61
  "react-dom": ">=16.8.0"
61
62
  },
62
63
  "devDependencies": {
63
- "@chakra-ui/cli": "^3.26.0",
64
- "@eslint/compat": "^1.3.2",
65
- "@eslint/js": "^9.35.0",
64
+ "@chakra-ui/cli": "^3.27.0",
65
+ "@eslint/compat": "^1.4.0",
66
+ "@eslint/js": "^9.36.0",
66
67
  "@google-cloud/storage": "^7.17.1",
67
- "@storybook/addon-docs": "^9.1.5",
68
- "@storybook/react-vite": "^9.1.5",
69
- "@types/node": "^24.3.1",
70
- "@types/react": "^19.1.12",
68
+ "@storybook/addon-docs": "^9.1.7",
69
+ "@storybook/react-vite": "^9.1.7",
70
+ "@types/node": "^24.5.2",
71
+ "@types/react": "^19.1.13",
71
72
  "@types/react-dom": "^19.1.9",
72
- "@typescript-eslint/eslint-plugin": "^8.43.0",
73
- "@typescript-eslint/parser": "^8.43.0",
74
- "@vitejs/plugin-react": "^5.0.2",
75
- "axios": "^1.12.0",
76
- "eslint": "^9.35.0",
73
+ "@typescript-eslint/eslint-plugin": "^8.44.1",
74
+ "@typescript-eslint/parser": "^8.44.1",
75
+ "@vitejs/plugin-react": "^5.0.3",
76
+ "axios": "^1.12.2",
77
+ "eslint": "^9.36.0",
77
78
  "eslint-config-prettier": "^10.1.8",
78
79
  "eslint-plugin-prettier": "^5.5.4",
79
80
  "eslint-plugin-react": "^7.37.5",
@@ -82,19 +83,19 @@
82
83
  "eslint-plugin-unused-imports": "^4.2.0",
83
84
  "react": "^19.1.1",
84
85
  "react-dom": "^19.1.1",
85
- "release-it": "^19.0.4",
86
- "storybook": "^9.1.5",
86
+ "release-it": "^19.0.5",
87
+ "storybook": "^9.1.7",
87
88
  "typescript": "^5.9.2",
88
- "vite": "^7.1.5",
89
+ "vite": "^7.1.7",
89
90
  "vite-plugin-dts": "^4.5.4"
90
91
  },
91
92
  "dependencies": {
92
- "@chakra-ui/react": "^3.26.0",
93
+ "@chakra-ui/react": "^3.27.0",
93
94
  "@emotion/react": "^11.14.0",
94
95
  "@emotion/styled": "^11.14.1",
95
- "@fontsource/figtree": "^5.2.8",
96
- "@fontsource/source-code-pro": "^5.2.6",
97
- "framer-motion": "^12.23.12"
96
+ "@fontsource-variable/figtree": "^5.2.10",
97
+ "@fontsource-variable/source-code-pro": "^5.2.7",
98
+ "framer-motion": "^12.23.18"
98
99
  },
99
100
  "publishConfig": {
100
101
  "access": "public"
@@ -1,4 +0,0 @@
1
- import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
2
- export type ButtonProps = ChakraButtonProps;
3
- export declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
4
- export default Button;
@@ -1,167 +0,0 @@
1
- declare const _default: import('@chakra-ui/react').RecipeDefinition<{
2
- variant: {
3
- primary: {
4
- bg: "button.primary.bg";
5
- color: "button.primary.fg";
6
- _hover: {
7
- bg: "button.primary.bgHover";
8
- color: "button.primary.fgHover";
9
- _disabled: {
10
- bg: "button.primary.bgDisabled";
11
- color: "button.primary.fgDisabled";
12
- };
13
- };
14
- _active: {
15
- bg: "button.primary.bgActive";
16
- color: "button.primary.fgActive";
17
- };
18
- _disabled: {
19
- bg: "button.primary.bgDisabled";
20
- color: "button.primary.fgDisabled";
21
- };
22
- };
23
- secondary: {
24
- bg: "button.secondary.bg";
25
- color: "button.secondary.fg";
26
- border: "1px solid";
27
- borderColor: "border.strong";
28
- borderWidth: "1px";
29
- borderStyle: "solid";
30
- _hover: {
31
- bg: "button.secondary.bgHover";
32
- color: "button.secondary.fgHover";
33
- borderColor: "border.strong";
34
- _disabled: {
35
- bg: "button.secondary.bgDisabled";
36
- color: "button.secondary.fgDisabled";
37
- borderColor: "border.strong";
38
- };
39
- };
40
- _active: {
41
- bg: "button.secondary.bgActive";
42
- color: "button.secondary.fgActive";
43
- borderColor: "border.strong";
44
- };
45
- _disabled: {
46
- bg: "button.secondary.bgDisabled";
47
- color: "button.secondary.fgDisabled";
48
- borderColor: "border.strong";
49
- };
50
- };
51
- tertiary: {
52
- bg: "transparent";
53
- color: "button.tertiary.fg";
54
- _hover: {
55
- bg: "button.tertiary.bgHover";
56
- color: "button.tertiary.fgHover";
57
- _disabled: {
58
- bg: "transparent";
59
- color: "button.tertiary.fgDisabled";
60
- };
61
- };
62
- _active: {
63
- bg: "button.tertiary.bgActive";
64
- color: "button.tertiary.fgActive";
65
- };
66
- _disabled: {
67
- bg: "transparent";
68
- color: "button.tertiary.fgDisabled";
69
- };
70
- };
71
- 'danger-primary': {
72
- bg: "button.dangerPrimary.bg";
73
- color: "button.dangerPrimary.fg";
74
- _hover: {
75
- bg: "button.dangerPrimary.bgHover";
76
- color: "button.dangerPrimary.fgHover";
77
- _disabled: {
78
- bg: "button.dangerPrimary.bgDisabled";
79
- color: "button.dangerPrimary.fgDisabled";
80
- };
81
- };
82
- _active: {
83
- bg: "button.dangerPrimary.bgActive";
84
- color: "button.dangerPrimary.fgActive";
85
- };
86
- _disabled: {
87
- bg: "button.dangerPrimary.bgDisabled";
88
- color: "button.dangerPrimary.fgDisabled";
89
- };
90
- };
91
- 'danger-secondary': {
92
- bg: "button.dangerSecondary.bg";
93
- color: "button.dangerSecondary.fg";
94
- border: "1px solid";
95
- borderColor: "button.dangerSecondary.border";
96
- borderWidth: "1px";
97
- borderStyle: "solid";
98
- _hover: {
99
- bg: "button.dangerSecondary.bgHover";
100
- color: "button.dangerSecondary.fgHover";
101
- borderColor: "button.dangerSecondary.borderHover";
102
- _disabled: {
103
- bg: "button.dangerSecondary.bgDisabled";
104
- color: "button.dangerSecondary.fgDisabled";
105
- borderColor: "button.dangerSecondary.borderDisabled";
106
- };
107
- };
108
- _active: {
109
- bg: "button.dangerSecondary.bgActive";
110
- color: "button.dangerSecondary.fgActive";
111
- borderColor: "button.dangerSecondary.borderActive";
112
- };
113
- _disabled: {
114
- bg: "button.dangerSecondary.bgDisabled";
115
- color: "button.dangerSecondary.fgDisabled";
116
- borderColor: "button.dangerSecondary.borderDisabled";
117
- };
118
- };
119
- 'danger-tertiary': {
120
- bg: "transparent";
121
- color: "button.dangerTertiary.fg";
122
- _hover: {
123
- bg: "button.dangerTertiary.bgHover";
124
- color: "button.dangerTertiary.fgHover";
125
- _disabled: {
126
- bg: "transparent";
127
- color: "button.dangerTertiary.fgDisabled";
128
- };
129
- };
130
- _active: {
131
- bg: "button.dangerTertiary.bgActive";
132
- color: "button.dangerTertiary.fgActive";
133
- };
134
- _disabled: {
135
- bg: "transparent";
136
- color: "button.dangerTertiary.fgDisabled";
137
- };
138
- };
139
- };
140
- size: {
141
- sm: {
142
- fontSize: "sm";
143
- height: "32px";
144
- minWidth: "32px";
145
- paddingX: "3";
146
- paddingY: "2";
147
- lineHeight: "tight";
148
- };
149
- md: {
150
- fontSize: "sm";
151
- height: "40px";
152
- minWidth: "40px";
153
- paddingX: "4";
154
- paddingY: "2.5";
155
- lineHeight: "tight";
156
- };
157
- lg: {
158
- fontSize: "md";
159
- height: "48px";
160
- minWidth: "48px";
161
- paddingX: "6";
162
- paddingY: "3";
163
- lineHeight: "normal";
164
- };
165
- };
166
- }>;
167
- export default _default;
@@ -1,2 +0,0 @@
1
- export type { ButtonProps } from './Button';
2
- export { Button } from './Button';
@@ -1 +0,0 @@
1
- export * from './Button';