@bitrise/bitkit-v2 0.3.496 → 0.3.497-beta.3187
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,19 +39,24 @@ declare const controlButtonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
|
39
39
|
};
|
|
40
40
|
size: {
|
|
41
41
|
xxs: {
|
|
42
|
-
|
|
42
|
+
width: "24";
|
|
43
|
+
height: "24";
|
|
43
44
|
};
|
|
44
45
|
xs: {
|
|
45
|
-
|
|
46
|
+
width: "32";
|
|
47
|
+
height: "32";
|
|
46
48
|
};
|
|
47
49
|
sm: {
|
|
48
|
-
|
|
50
|
+
width: "32";
|
|
51
|
+
height: "32";
|
|
49
52
|
};
|
|
50
53
|
md: {
|
|
51
|
-
|
|
54
|
+
width: "40";
|
|
55
|
+
height: "40";
|
|
52
56
|
};
|
|
53
57
|
lg: {
|
|
54
|
-
|
|
58
|
+
width: "48";
|
|
59
|
+
height: "48";
|
|
55
60
|
};
|
|
56
61
|
};
|
|
57
62
|
}>;
|
|
@@ -8,6 +8,8 @@ var controlButtonRecipe = defineRecipe({
|
|
|
8
8
|
justifyContent: "center",
|
|
9
9
|
borderRadius: "4",
|
|
10
10
|
cursor: "pointer",
|
|
11
|
+
flexShrink: "0",
|
|
12
|
+
padding: 0,
|
|
11
13
|
background: "transparent",
|
|
12
14
|
_disabled: {
|
|
13
15
|
cursor: "not-allowed",
|
|
@@ -51,11 +53,26 @@ var controlButtonRecipe = defineRecipe({
|
|
|
51
53
|
}
|
|
52
54
|
},
|
|
53
55
|
size: {
|
|
54
|
-
xxs: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
xxs: {
|
|
57
|
+
width: "24",
|
|
58
|
+
height: "24"
|
|
59
|
+
},
|
|
60
|
+
xs: {
|
|
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
|
+
}
|
|
59
76
|
}
|
|
60
77
|
},
|
|
61
78
|
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 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: {
|
|
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 flexShrink: '0',\n padding: 0,\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 // Fixed sizes, not padding around the icon: a padded button stretches to the height of a\n // taller sibling in a flex row, so every consumer had to pin it with `alignSelf`.\n size: {\n xxs: { width: '24', height: '24' },\n xs: { width: '32', height: '32' },\n sm: { width: '32', height: '32' },\n md: { width: '40', height: '40' },\n lg: { width: '48', height: '48' },\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,SAAS;EACT,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;EAGA,MAAM;GACJ,KAAK;IAAE,OAAO;IAAM,QAAQ;GAAK;GACjC,IAAI;IAAE,OAAO;IAAM,QAAQ;GAAK;GAChC,IAAI;IAAE,OAAO;IAAM,QAAQ;GAAK;GAChC,IAAI;IAAE,OAAO;IAAM,QAAQ;GAAK;GAChC,IAAI;IAAE,OAAO;IAAM,QAAQ;GAAK;EAClC;CACF;CACA,iBAAiB;EACf,UAAU;EACV,MAAM;CACR;AACF,CAAC"}
|