@bitrise/bitkit-v2 0.3.153 → 0.3.154
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/BitkitLinkButton/BitkitLinkButton.d.ts +9 -0
- package/dist/components/BitkitLinkButton/BitkitLinkButton.js +14 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +566 -564
- package/dist/theme/recipes/LinkButton.recipe.d.ts +14 -0
- package/dist/theme/recipes/LinkButton.recipe.js +43 -0
- package/dist/theme/recipes/index.d.ts +13 -0
- package/dist/theme/recipes/index.js +12 -10
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const linkButtonRecipe: import('@chakra-ui/react').RecipeDefinition<{
|
|
2
|
+
size: {
|
|
3
|
+
lg: {
|
|
4
|
+
textStyle: "body/lg/regular";
|
|
5
|
+
};
|
|
6
|
+
md: {
|
|
7
|
+
textStyle: "body/md/regular";
|
|
8
|
+
};
|
|
9
|
+
sm: {
|
|
10
|
+
textStyle: "body/sm/regular";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export default linkButtonRecipe;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineRecipe as e } from "@chakra-ui/react/styled-system";
|
|
2
|
+
const l = e({
|
|
3
|
+
className: "link-button",
|
|
4
|
+
base: {
|
|
5
|
+
display: "inline-flex",
|
|
6
|
+
alignItems: "center",
|
|
7
|
+
color: "text/link",
|
|
8
|
+
cursor: "pointer",
|
|
9
|
+
gap: "4",
|
|
10
|
+
_hover: {
|
|
11
|
+
color: "text/link-hover",
|
|
12
|
+
_active: {
|
|
13
|
+
color: "text/primary"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
_active: {
|
|
17
|
+
color: "text/primary"
|
|
18
|
+
},
|
|
19
|
+
_disabled: {
|
|
20
|
+
color: "text/disabled",
|
|
21
|
+
cursor: "not-allowed"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
variants: {
|
|
25
|
+
size: {
|
|
26
|
+
lg: {
|
|
27
|
+
textStyle: "body/lg/regular"
|
|
28
|
+
},
|
|
29
|
+
md: {
|
|
30
|
+
textStyle: "body/md/regular"
|
|
31
|
+
},
|
|
32
|
+
sm: {
|
|
33
|
+
textStyle: "body/sm/regular"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
defaultVariants: {
|
|
38
|
+
size: "md"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
l as default
|
|
43
|
+
};
|
|
@@ -159,6 +159,19 @@ declare const recipes: {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
162
|
+
linkButton: import('@chakra-ui/react').RecipeDefinition<{
|
|
163
|
+
size: {
|
|
164
|
+
lg: {
|
|
165
|
+
textStyle: "body/lg/regular";
|
|
166
|
+
};
|
|
167
|
+
md: {
|
|
168
|
+
textStyle: "body/md/regular";
|
|
169
|
+
};
|
|
170
|
+
sm: {
|
|
171
|
+
textStyle: "body/sm/regular";
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
}>;
|
|
162
175
|
separator: import('@chakra-ui/react').RecipeDefinition<{
|
|
163
176
|
variant: {};
|
|
164
177
|
orientation: {
|
|
@@ -6,11 +6,12 @@ import r from "./ControlButton.recipe.js";
|
|
|
6
6
|
import p from "./DefinitionTooltip.recipe.js";
|
|
7
7
|
import n from "./Input.recipe.js";
|
|
8
8
|
import m from "./Link.recipe.js";
|
|
9
|
-
import c from "./
|
|
10
|
-
import f from "./
|
|
11
|
-
import l from "./
|
|
12
|
-
import
|
|
13
|
-
|
|
9
|
+
import c from "./LinkButton.recipe.js";
|
|
10
|
+
import f from "./Separator.recipe.js";
|
|
11
|
+
import l from "./Skeleton.recipe.js";
|
|
12
|
+
import u from "./Spinner.recipe.js";
|
|
13
|
+
import R from "./Textarea.recipe.js";
|
|
14
|
+
const w = {
|
|
14
15
|
badge: o,
|
|
15
16
|
button: t,
|
|
16
17
|
closeButton: e,
|
|
@@ -19,11 +20,12 @@ const q = {
|
|
|
19
20
|
definitionTooltip: p,
|
|
20
21
|
input: n,
|
|
21
22
|
link: m,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
linkButton: c,
|
|
24
|
+
separator: f,
|
|
25
|
+
skeleton: l,
|
|
26
|
+
spinner: u,
|
|
27
|
+
textarea: R
|
|
26
28
|
};
|
|
27
29
|
export {
|
|
28
|
-
|
|
30
|
+
w as default
|
|
29
31
|
};
|