@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.
- package/dist/atoms/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/BitkitCalendar/BitkitCalendar.d.ts +2 -2
- package/dist/components/BitkitCalendar/BitkitCalendar.js +52 -52
- package/dist/components/BitkitCalendar/components/CalendarFooter.d.ts +2 -2
- package/dist/components/BitkitCalendar/components/CalendarFooter.js +13 -12
- package/dist/components/BitkitCalendar/components/CalendarSelect.js +6 -6
- 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/dist/theme/slot-recipes/DatePicker.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/DatePicker.recipe.js +4 -5
- package/dist/theme/slot-recipes/index.d.ts +1 -1
- 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
|
};
|
|
@@ -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
|
-
|
|
231
|
+
device: {
|
|
233
232
|
mobile: {
|
|
234
233
|
content: {
|
|
235
234
|
boxShadow: "none",
|