@bitrise/bitkit-v2 0.3.498-beta.3202 → 0.3.498
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.
|
@@ -39,24 +39,19 @@ declare const controlButtonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
39
39
|
};
|
|
40
40
|
size: {
|
|
41
41
|
xxs: {
|
|
42
|
-
|
|
43
|
-
height: "24";
|
|
42
|
+
padding: "4";
|
|
44
43
|
};
|
|
45
44
|
xs: {
|
|
46
|
-
|
|
47
|
-
height: "32";
|
|
45
|
+
padding: "8";
|
|
48
46
|
};
|
|
49
47
|
sm: {
|
|
50
|
-
|
|
51
|
-
height: "32";
|
|
48
|
+
padding: "4";
|
|
52
49
|
};
|
|
53
50
|
md: {
|
|
54
|
-
|
|
55
|
-
height: "40";
|
|
51
|
+
padding: "8";
|
|
56
52
|
};
|
|
57
53
|
lg: {
|
|
58
|
-
|
|
59
|
-
height: "48";
|
|
54
|
+
padding: "12";
|
|
60
55
|
};
|
|
61
56
|
};
|
|
62
57
|
}>;
|
|
@@ -8,8 +8,6 @@ var controlButtonRecipe = defineRecipe({
|
|
|
8
8
|
justifyContent: "center",
|
|
9
9
|
borderRadius: "4",
|
|
10
10
|
cursor: "pointer",
|
|
11
|
-
flexShrink: "0",
|
|
12
|
-
padding: 0,
|
|
13
11
|
background: "transparent",
|
|
14
12
|
_disabled: {
|
|
15
13
|
cursor: "not-allowed",
|
|
@@ -53,26 +51,11 @@ var controlButtonRecipe = defineRecipe({
|
|
|
53
51
|
}
|
|
54
52
|
},
|
|
55
53
|
size: {
|
|
56
|
-
xxs: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
width: "32",
|
|
62
|
-
height: "32"
|
|
63
|
-
},
|
|
64
|
-
sm: {
|
|
65
|
-
width: "32",
|
|
66
|
-
height: "32"
|
|
67
|
-
},
|
|
68
|
-
md: {
|
|
69
|
-
width: "40",
|
|
70
|
-
height: "40"
|
|
71
|
-
},
|
|
72
|
-
lg: {
|
|
73
|
-
width: "48",
|
|
74
|
-
height: "48"
|
|
75
|
-
}
|
|
54
|
+
xxs: { padding: "4" },
|
|
55
|
+
xs: { padding: "8" },
|
|
56
|
+
sm: { padding: "4" },
|
|
57
|
+
md: { padding: "8" },
|
|
58
|
+
lg: { padding: "12" }
|
|
76
59
|
}
|
|
77
60
|
},
|
|
78
61
|
defaultVariants: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlButton.recipe.js","names":[],"sources":["../../../lib/theme/recipes/ControlButton.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nconst controlButtonRecipe = defineRecipe({\n className: 'control-button',\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4',\n cursor: 'pointer',\n
|
|
1
|
+
{"version":3,"file":"ControlButton.recipe.js","names":[],"sources":["../../../lib/theme/recipes/ControlButton.recipe.ts"],"sourcesContent":["import { defineRecipe } from '@chakra-ui/react/styled-system';\n\nconst controlButtonRecipe = defineRecipe({\n className: 'control-button',\n base: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '4',\n cursor: 'pointer',\n background: 'transparent',\n _disabled: {\n cursor: 'not-allowed',\n _hover: {\n background: 'transparent',\n },\n _active: {\n background: 'transparent',\n },\n },\n },\n variants: {\n isDanger: {\n false: {\n color: 'button/control/fg',\n _hover: {\n background: 'button/control/bg-hover',\n color: 'button/control/fg-hover',\n _active: {\n background: 'button/control/bg-active',\n color: 'button/control/fg-active',\n },\n },\n _active: {\n background: 'button/control/bg-active',\n color: 'button/control/fg-active',\n },\n _disabled: {\n color: 'button/control/fg-disabled!',\n },\n },\n true: {\n color: 'button/control-danger/fg',\n _hover: {\n background: 'button/control-danger/bg-hover',\n color: 'button/control-danger/fg-hover',\n _active: {\n background: 'button/control-danger/bg-active',\n color: 'button/control-danger/fg-active',\n },\n },\n _active: {\n background: 'button/control-danger/bg-active',\n color: 'button/control-danger/fg-active',\n },\n _disabled: {\n color: 'button/control-danger/fg-disabled!',\n },\n },\n },\n size: {\n xxs: { padding: '4' },\n xs: { padding: '8' },\n sm: { padding: '4' },\n md: { padding: '8' },\n lg: { padding: '12' },\n },\n },\n defaultVariants: {\n isDanger: false,\n size: 'sm',\n },\n});\n\nexport default controlButtonRecipe;\n"],"mappings":";;AAEA,IAAM,sBAAsB,aAAa;CACvC,WAAW;CACX,MAAM;EACJ,SAAS;EACT,YAAY;EACZ,gBAAgB;EAChB,cAAc;EACd,QAAQ;EACR,YAAY;EACZ,WAAW;GACT,QAAQ;GACR,QAAQ,EACN,YAAY,cACd;GACA,SAAS,EACP,YAAY,cACd;EACF;CACF;CACA,UAAU;EACR,UAAU;GACR,OAAO;IACL,OAAO;IACP,QAAQ;KACN,YAAY;KACZ,OAAO;KACP,SAAS;MACP,YAAY;MACZ,OAAO;KACT;IACF;IACA,SAAS;KACP,YAAY;KACZ,OAAO;IACT;IACA,WAAW,EACT,OAAO,8BACT;GACF;GACA,MAAM;IACJ,OAAO;IACP,QAAQ;KACN,YAAY;KACZ,OAAO;KACP,SAAS;MACP,YAAY;MACZ,OAAO;KACT;IACF;IACA,SAAS;KACP,YAAY;KACZ,OAAO;IACT;IACA,WAAW,EACT,OAAO,qCACT;GACF;EACF;EACA,MAAM;GACJ,KAAK,EAAE,SAAS,IAAI;GACpB,IAAI,EAAE,SAAS,IAAI;GACnB,IAAI,EAAE,SAAS,IAAI;GACnB,IAAI,EAAE,SAAS,IAAI;GACnB,IAAI,EAAE,SAAS,KAAK;EACtB;CACF;CACA,iBAAiB;EACf,UAAU;EACV,MAAM;CACR;AACF,CAAC"}
|