@bitrise/bitkit-v2 0.3.72 → 0.3.73

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,21 @@
1
+ declare const closeButtonRecipe: import('@chakra-ui/react').RecipeDefinition<{
2
+ size: {
3
+ xs: {
4
+ h: "24";
5
+ w: "24";
6
+ '& > svg': {
7
+ h: "16";
8
+ w: "16";
9
+ };
10
+ };
11
+ sm: {
12
+ h: "32";
13
+ w: "32";
14
+ };
15
+ md: {
16
+ h: "40";
17
+ w: "40";
18
+ };
19
+ };
20
+ }>;
21
+ export default closeButtonRecipe;
@@ -0,0 +1,42 @@
1
+ import { defineRecipe as e } from "@chakra-ui/react/styled-system";
2
+ const r = e({
3
+ className: "close-button",
4
+ base: {
5
+ display: "inline-flex",
6
+ alignItems: "center",
7
+ justifyContent: "center",
8
+ borderRadius: "4",
9
+ color: "colorPalette.strong",
10
+ cursor: "pointer",
11
+ "&:hover": {
12
+ backgroundColor: "colorPalette.subtle"
13
+ },
14
+ "&:active": {
15
+ backgroundColor: "colorPalette.moderate"
16
+ },
17
+ _disabled: {
18
+ cursor: "not-allowed",
19
+ color: "icon/disabled",
20
+ "&:hover": {
21
+ backgroundColor: "transparent"
22
+ },
23
+ "&:active": {
24
+ backgroundColor: "transparent"
25
+ }
26
+ }
27
+ },
28
+ variants: {
29
+ size: {
30
+ xs: { h: "24", w: "24", "& > svg": { h: "16", w: "16" } },
31
+ sm: { h: "32", w: "32" },
32
+ md: { h: "40", w: "40" }
33
+ }
34
+ },
35
+ defaultVariants: {
36
+ size: "xs",
37
+ colorPalette: "neutral"
38
+ }
39
+ });
40
+ export {
41
+ r as default
42
+ };
@@ -36,6 +36,26 @@ declare const recipes: {
36
36
  };
37
37
  };
38
38
  }>;
39
+ closeButton: import('@chakra-ui/react').RecipeDefinition<{
40
+ size: {
41
+ xs: {
42
+ h: "24";
43
+ w: "24";
44
+ '& > svg': {
45
+ h: "16";
46
+ w: "16";
47
+ };
48
+ };
49
+ sm: {
50
+ h: "32";
51
+ w: "32";
52
+ };
53
+ md: {
54
+ h: "40";
55
+ w: "40";
56
+ };
57
+ };
58
+ }>;
39
59
  colorButton: import('@chakra-ui/react').RecipeDefinition<{
40
60
  size: {
41
61
  sm: {
@@ -1,23 +1,25 @@
1
1
  import e from "./Badge.recipe.js";
2
2
  import o from "./Button.recipe.js";
3
+ import t from "./CloseButton.recipe.js";
3
4
  import r from "./ColorButton.recipe.js";
4
- import t from "./Input.recipe.js";
5
- import p from "./Link.recipe.js";
6
- import i from "./Separator.recipe.js";
7
- import m from "./Skeleton.recipe.js";
8
- import n from "./Spinner.recipe.js";
9
- import c from "./Textarea.recipe.js";
10
- const x = {
5
+ import p from "./Input.recipe.js";
6
+ import i from "./Link.recipe.js";
7
+ import m from "./Separator.recipe.js";
8
+ import n from "./Skeleton.recipe.js";
9
+ import c from "./Spinner.recipe.js";
10
+ import a from "./Textarea.recipe.js";
11
+ const g = {
11
12
  badge: e,
12
13
  button: o,
14
+ closeButton: t,
13
15
  colorButton: r,
14
- input: t,
15
- link: p,
16
- separator: i,
17
- skeleton: m,
18
- spinner: n,
19
- textarea: c
16
+ input: p,
17
+ link: i,
18
+ separator: m,
19
+ skeleton: n,
20
+ spinner: c,
21
+ textarea: a
20
22
  };
21
23
  export {
22
- x as default
24
+ g as default
23
25
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.72",
4
+ "version": "0.3.73",
5
5
  "description": "Bitrise Design System Components built with Chakra UI v3",
6
6
  "keywords": [
7
7
  "react",