@bitrise/bitkit-v2 0.3.72 → 0.3.73
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/BitkitCloseButton/BitkitCloseButton.d.ts +7 -0
- package/dist/components/BitkitCloseButton/BitkitCloseButton.js +12 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +1076 -1074
- package/dist/theme/recipes/CloseButton.recipe.d.ts +21 -0
- package/dist/theme/recipes/CloseButton.recipe.js +42 -0
- package/dist/theme/recipes/index.d.ts +20 -0
- package/dist/theme/recipes/index.js +16 -14
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const closeButtonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
h: "24";
|
|
5
|
+
w: "24";
|
|
6
|
+
'& > svg': {
|
|
7
|
+
h: "16";
|
|
8
|
+
w: "16";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
sm: {
|
|
12
|
+
h: "32";
|
|
13
|
+
w: "32";
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
h: "40";
|
|
17
|
+
w: "40";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
export default closeButtonRecipe;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineRecipe as e } from "@chakra-ui/react/styled-system";
|
|
2
|
+
const r = e({
|
|
3
|
+
className: "close-button",
|
|
4
|
+
base: {
|
|
5
|
+
display: "inline-flex",
|
|
6
|
+
alignItems: "center",
|
|
7
|
+
justifyContent: "center",
|
|
8
|
+
borderRadius: "4",
|
|
9
|
+
color: "colorPalette.strong",
|
|
10
|
+
cursor: "pointer",
|
|
11
|
+
"&:hover": {
|
|
12
|
+
backgroundColor: "colorPalette.subtle"
|
|
13
|
+
},
|
|
14
|
+
"&:active": {
|
|
15
|
+
backgroundColor: "colorPalette.moderate"
|
|
16
|
+
},
|
|
17
|
+
_disabled: {
|
|
18
|
+
cursor: "not-allowed",
|
|
19
|
+
color: "icon/disabled",
|
|
20
|
+
"&:hover": {
|
|
21
|
+
backgroundColor: "transparent"
|
|
22
|
+
},
|
|
23
|
+
"&:active": {
|
|
24
|
+
backgroundColor: "transparent"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
variants: {
|
|
29
|
+
size: {
|
|
30
|
+
xs: { h: "24", w: "24", "& > svg": { h: "16", w: "16" } },
|
|
31
|
+
sm: { h: "32", w: "32" },
|
|
32
|
+
md: { h: "40", w: "40" }
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
size: "xs",
|
|
37
|
+
colorPalette: "neutral"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
r as default
|
|
42
|
+
};
|
|
@@ -36,6 +36,26 @@ declare const recipes: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
39
|
+
closeButton: import('@chakra-ui/react').RecipeDefinition<{
|
|
40
|
+
size: {
|
|
41
|
+
xs: {
|
|
42
|
+
h: "24";
|
|
43
|
+
w: "24";
|
|
44
|
+
'& > svg': {
|
|
45
|
+
h: "16";
|
|
46
|
+
w: "16";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
sm: {
|
|
50
|
+
h: "32";
|
|
51
|
+
w: "32";
|
|
52
|
+
};
|
|
53
|
+
md: {
|
|
54
|
+
h: "40";
|
|
55
|
+
w: "40";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
39
59
|
colorButton: import('@chakra-ui/react').RecipeDefinition<{
|
|
40
60
|
size: {
|
|
41
61
|
sm: {
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import e from "./Badge.recipe.js";
|
|
2
2
|
import o from "./Button.recipe.js";
|
|
3
|
+
import t from "./CloseButton.recipe.js";
|
|
3
4
|
import r from "./ColorButton.recipe.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
5
|
+
import p from "./Input.recipe.js";
|
|
6
|
+
import i from "./Link.recipe.js";
|
|
7
|
+
import m from "./Separator.recipe.js";
|
|
8
|
+
import n from "./Skeleton.recipe.js";
|
|
9
|
+
import c from "./Spinner.recipe.js";
|
|
10
|
+
import a from "./Textarea.recipe.js";
|
|
11
|
+
const g = {
|
|
11
12
|
badge: e,
|
|
12
13
|
button: o,
|
|
14
|
+
closeButton: t,
|
|
13
15
|
colorButton: r,
|
|
14
|
-
input:
|
|
15
|
-
link:
|
|
16
|
-
separator:
|
|
17
|
-
skeleton:
|
|
18
|
-
spinner:
|
|
19
|
-
textarea:
|
|
16
|
+
input: p,
|
|
17
|
+
link: i,
|
|
18
|
+
separator: m,
|
|
19
|
+
skeleton: n,
|
|
20
|
+
spinner: c,
|
|
21
|
+
textarea: a
|
|
20
22
|
};
|
|
21
23
|
export {
|
|
22
|
-
|
|
24
|
+
g as default
|
|
23
25
|
};
|