@bitrise/bitkit-v2 0.3.153 → 0.3.155

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.
@@ -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 "./Separator.recipe.js";
10
- import f from "./Skeleton.recipe.js";
11
- import l from "./Spinner.recipe.js";
12
- import a from "./Textarea.recipe.js";
13
- const q = {
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
- separator: c,
23
- skeleton: f,
24
- spinner: l,
25
- textarea: a
23
+ linkButton: c,
24
+ separator: f,
25
+ skeleton: l,
26
+ spinner: u,
27
+ textarea: R
26
28
  };
27
29
  export {
28
- q as default
30
+ w as default
29
31
  };
@@ -27,7 +27,7 @@ declare const datePickerSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinit
27
27
  };
28
28
  };
29
29
  };
30
- variant: {
30
+ device: {
31
31
  mobile: {
32
32
  content: {
33
33
  boxShadow: "none";
@@ -84,6 +84,7 @@ const i = a({
84
84
  borderRadius: 0,
85
85
  backgroundColor: "interactive/disabled",
86
86
  color: "text/disabled",
87
+ cursor: "default",
87
88
  "&:hover, &[data-outside-range]:hover": {
88
89
  borderRadius: 0,
89
90
  backgroundColor: "interactive/disabled",
@@ -91,16 +92,14 @@ const i = a({
91
92
  }
92
93
  },
93
94
  "&[data-outside-range]": {
94
- color: "text/tertiary",
95
- cursor: "not-allowed"
95
+ color: "text/tertiary"
96
96
  },
97
97
  "&[data-outside-range][data-unavailable]": {
98
98
  color: "text/disabled"
99
99
  },
100
100
  "&[data-outside-range][data-in-range], &[data-outside-range][data-in-range]:hover": {
101
101
  backgroundColor: "interactive/moderate",
102
- color: "interactive/bold",
103
- cursor: "not-allowed"
102
+ color: "interactive/bold"
104
103
  },
105
104
  "&[data-outside-range][data-range-end]": {
106
105
  backgroundColor: "interactive/highlight",
@@ -229,7 +228,7 @@ const i = a({
229
228
  }
230
229
  }
231
230
  },
232
- variant: {
231
+ device: {
233
232
  mobile: {
234
233
  content: {
235
234
  boxShadow: "none",
@@ -352,7 +352,7 @@ declare const slotRecipes: {
352
352
  };
353
353
  };
354
354
  };
355
- variant: {
355
+ device: {
356
356
  mobile: {
357
357
  content: {
358
358
  boxShadow: "none";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.153",
4
+ "version": "0.3.155",
5
5
  "description": "Bitrise Design System Components built with Chakra UI V3",
6
6
  "keywords": [
7
7
  "react",