@bitrise/bitkit-v2 0.3.40 → 0.3.41
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/bitkit-v2.js +2389 -2337
- package/dist/bitkit-v2.umd.cjs +7 -7
- package/dist/theme/recipes/Button.recipe.d.ts +9 -9
- package/dist/theme/recipes/Spinner.recipe.d.ts +25 -0
- package/dist/theme/recipes/index.d.ts +31 -8
- package/dist/theme/semantic-tokens/semanticColors.json.d.ts +7 -6
- package/dist/theme/text-styles.d.ts +579 -0
- package/dist/theme/tokens/animations.d.ts +6 -0
- package/dist/theme/tokens/index.d.ts +5 -0
- package/dist/theme/tokens/keyframes.d.ts +2 -0
- package/package.json +8 -8
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { SystemStyleObject } from '@chakra-ui/react';
|
|
2
|
-
export
|
|
2
|
+
export declare const buttonVariants: string[];
|
|
3
|
+
export type Variant = (typeof buttonVariants)[number];
|
|
3
4
|
declare const button: import('@chakra-ui/react').RecipeDefinition<{
|
|
4
|
-
variant: Record<
|
|
5
|
+
variant: Record<string, SystemStyleObject>;
|
|
5
6
|
size: {
|
|
6
7
|
sm: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
paddingInline: string | number;
|
|
9
|
+
paddingBlock: string | number;
|
|
10
|
+
textStyle: "comp/button/sm";
|
|
10
11
|
};
|
|
11
12
|
md: {
|
|
13
|
+
height: "40";
|
|
12
14
|
paddingInline: string | number;
|
|
13
15
|
paddingBlock: string | number;
|
|
14
|
-
|
|
15
|
-
lineHeight: string | number;
|
|
16
|
+
textStyle: "comp/button/md";
|
|
16
17
|
};
|
|
17
18
|
lg: {
|
|
18
19
|
padding: string | number;
|
|
19
|
-
|
|
20
|
-
lineHeight: string | number;
|
|
20
|
+
textStyle: "comp/button/lg";
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const spinner: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
size: {
|
|
3
|
+
md: {
|
|
4
|
+
'--spinner-size': "sizes.12";
|
|
5
|
+
};
|
|
6
|
+
lg: {
|
|
7
|
+
'--spinner-size': "sizes.20";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
primary: {
|
|
12
|
+
'--spinner-color': "colors.pal.purple.10";
|
|
13
|
+
};
|
|
14
|
+
purple: {
|
|
15
|
+
'--spinner-color': "colors.pal.purple.40";
|
|
16
|
+
};
|
|
17
|
+
white: {
|
|
18
|
+
'--spinner-color': "colors.pal.neutral.100";
|
|
19
|
+
};
|
|
20
|
+
'on-disabled': {
|
|
21
|
+
'--spinner-color': "colors.pal.neutral.70";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
export default spinner;
|
|
@@ -1,25 +1,48 @@
|
|
|
1
1
|
declare const recipes: {
|
|
2
2
|
button: import('@chakra-ui/react').RecipeDefinition<{
|
|
3
|
-
variant: Record<
|
|
3
|
+
variant: Record<string, import('@chakra-ui/react').SystemStyleObject>;
|
|
4
4
|
size: {
|
|
5
5
|
sm: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
paddingInline: string | number;
|
|
7
|
+
paddingBlock: string | number;
|
|
8
|
+
textStyle: "comp/button/sm";
|
|
9
9
|
};
|
|
10
10
|
md: {
|
|
11
|
+
height: "40";
|
|
11
12
|
paddingInline: string | number;
|
|
12
13
|
paddingBlock: string | number;
|
|
13
|
-
|
|
14
|
-
lineHeight: string | number;
|
|
14
|
+
textStyle: "comp/button/md";
|
|
15
15
|
};
|
|
16
16
|
lg: {
|
|
17
17
|
padding: string | number;
|
|
18
|
-
|
|
19
|
-
lineHeight: string | number;
|
|
18
|
+
textStyle: "comp/button/lg";
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
21
|
}>;
|
|
23
22
|
input: import('@chakra-ui/react').RecipeDefinition<Record<"size", Record<"md" | "lg", import('@chakra-ui/react').SystemStyleObject>>>;
|
|
23
|
+
spinner: import('@chakra-ui/react').RecipeDefinition<{
|
|
24
|
+
size: {
|
|
25
|
+
md: {
|
|
26
|
+
'--spinner-size': "sizes.12";
|
|
27
|
+
};
|
|
28
|
+
lg: {
|
|
29
|
+
'--spinner-size': "sizes.20";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
variant: {
|
|
33
|
+
primary: {
|
|
34
|
+
'--spinner-color': "colors.pal.purple.10";
|
|
35
|
+
};
|
|
36
|
+
purple: {
|
|
37
|
+
'--spinner-color': "colors.pal.purple.40";
|
|
38
|
+
};
|
|
39
|
+
white: {
|
|
40
|
+
'--spinner-color': "colors.pal.neutral.100";
|
|
41
|
+
};
|
|
42
|
+
'on-disabled': {
|
|
43
|
+
'--spinner-color': "colors.pal.neutral.70";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
24
47
|
};
|
|
25
48
|
export default recipes;
|
|
@@ -1090,12 +1090,12 @@ declare const _default: {
|
|
|
1090
1090
|
},
|
|
1091
1091
|
"fg": {
|
|
1092
1092
|
"value": {
|
|
1093
|
-
"_light": "{colors.sys.turquoise
|
|
1093
|
+
"_light": "{colors.sys.turquoise}"
|
|
1094
1094
|
}
|
|
1095
1095
|
},
|
|
1096
1096
|
"fg-hover": {
|
|
1097
1097
|
"value": {
|
|
1098
|
-
"_light": "{colors.sys.turquoise
|
|
1098
|
+
"_light": "{colors.sys.turquoise}"
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
1101
1101
|
"fg-active": {
|
|
@@ -1120,7 +1120,7 @@ declare const _default: {
|
|
|
1120
1120
|
},
|
|
1121
1121
|
"border-active": {
|
|
1122
1122
|
"value": {
|
|
1123
|
-
"_light": "{colors.sys.turquoise
|
|
1123
|
+
"_light": "{colors.sys.turquoise}"
|
|
1124
1124
|
}
|
|
1125
1125
|
},
|
|
1126
1126
|
"border-disabled": {
|
|
@@ -1152,12 +1152,12 @@ declare const _default: {
|
|
|
1152
1152
|
},
|
|
1153
1153
|
"fg": {
|
|
1154
1154
|
"value": {
|
|
1155
|
-
"_light": "{colors.sys.turquoise
|
|
1155
|
+
"_light": "{colors.sys.turquoise}"
|
|
1156
1156
|
}
|
|
1157
1157
|
},
|
|
1158
1158
|
"fg-hover": {
|
|
1159
1159
|
"value": {
|
|
1160
|
-
"_light": "{colors.sys.turquoise
|
|
1160
|
+
"_light": "{colors.sys.turquoise}"
|
|
1161
1161
|
}
|
|
1162
1162
|
},
|
|
1163
1163
|
"fg-active": {
|
|
@@ -1483,6 +1483,7 @@ declare const _default: {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
1485
|
}
|
|
1486
|
-
}
|
|
1486
|
+
}
|
|
1487
|
+
;
|
|
1487
1488
|
|
|
1488
1489
|
export default _default;
|