@bitrise/bitkit-v2 0.3.77 → 0.3.78

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,11 @@
1
+ declare const definitionTooltipRecipe: import('@chakra-ui/react').RecipeDefinition<{
2
+ method: {
3
+ click: {
4
+ cursor: "pointer";
5
+ };
6
+ hover: {
7
+ cursor: "default";
8
+ };
9
+ };
10
+ }>;
11
+ export default definitionTooltipRecipe;
@@ -0,0 +1,25 @@
1
+ import { defineRecipe as o } from "@chakra-ui/react/styled-system";
2
+ const r = o({
3
+ className: "definition-tooltip",
4
+ base: {
5
+ borderBottom: "1px dotted",
6
+ borderBottomColor: "sys/neutral/bold",
7
+ borderRadius: "2",
8
+ "&:hover": {
9
+ borderBottomColor: "sys/purple/base"
10
+ }
11
+ },
12
+ variants: {
13
+ method: {
14
+ click: {
15
+ cursor: "pointer"
16
+ },
17
+ hover: {
18
+ cursor: "default"
19
+ }
20
+ }
21
+ }
22
+ });
23
+ export {
24
+ r as default
25
+ };
@@ -1,5 +1,5 @@
1
1
  declare const linkRecipe: import('@chakra-ui/react').RecipeDefinition<{
2
- variant: {
2
+ colorScheme: {
3
3
  purple: {
4
4
  color: "text/link";
5
5
  _hover: {
@@ -8,7 +8,7 @@ const r = e({
8
8
  }
9
9
  },
10
10
  variants: {
11
- variant: {
11
+ colorScheme: {
12
12
  purple: {
13
13
  color: "text/link",
14
14
  _hover: {
@@ -71,9 +71,19 @@ declare const recipes: {
71
71
  };
72
72
  };
73
73
  }>;
74
+ definitionTooltip: import('@chakra-ui/react').RecipeDefinition<{
75
+ method: {
76
+ click: {
77
+ cursor: "pointer";
78
+ };
79
+ hover: {
80
+ cursor: "default";
81
+ };
82
+ };
83
+ }>;
74
84
  input: import('@chakra-ui/react').RecipeDefinition<Record<"size", Record<"md" | "lg", import('@chakra-ui/react').SystemStyleObject>>>;
75
85
  link: import('@chakra-ui/react').RecipeDefinition<{
76
- variant: {
86
+ colorScheme: {
77
87
  purple: {
78
88
  color: "text/link";
79
89
  _hover: {
@@ -1,25 +1,27 @@
1
- import e from "./Badge.recipe.js";
2
- import o from "./Button.recipe.js";
1
+ import o from "./Badge.recipe.js";
2
+ import e from "./Button.recipe.js";
3
3
  import t from "./CloseButton.recipe.js";
4
- import r from "./ColorButton.recipe.js";
4
+ import i from "./ColorButton.recipe.js";
5
+ import r from "./DefinitionTooltip.recipe.js";
5
6
  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";
7
+ import m from "./Link.recipe.js";
8
+ import n from "./Separator.recipe.js";
9
+ import c from "./Skeleton.recipe.js";
10
+ import f from "./Spinner.recipe.js";
10
11
  import a from "./Textarea.recipe.js";
11
- const g = {
12
- badge: e,
13
- button: o,
12
+ const h = {
13
+ badge: o,
14
+ button: e,
14
15
  closeButton: t,
15
- colorButton: r,
16
+ colorButton: i,
17
+ definitionTooltip: r,
16
18
  input: p,
17
- link: i,
18
- separator: m,
19
- skeleton: n,
20
- spinner: c,
19
+ link: m,
20
+ separator: n,
21
+ skeleton: c,
22
+ spinner: f,
21
23
  textarea: a
22
24
  };
23
25
  export {
24
- g as default
26
+ h as default
25
27
  };
@@ -1,4 +1,4 @@
1
- declare const emptyStateSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "indicator" | "description", {
1
+ declare const emptyStateSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "description" | "root" | "indicator", {
2
2
  colorScheme: {
3
3
  white: {
4
4
  root: {
@@ -1,4 +1,4 @@
1
- declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "trigger" | "root" | "indicator" | "contentGroup", {
1
+ declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "trigger" | "list" | "root" | "indicator" | "contentGroup", {
2
2
  variant: {
3
3
  line: {
4
4
  list: {
@@ -12,8 +12,11 @@ declare const tooltipSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition
12
12
  content: {
13
13
  paddingInline: "12";
14
14
  paddingBlock: "8";
15
- borderRadius: "8";
16
- textStyle: "body/md/regular";
15
+ };
16
+ };
17
+ lg: {
18
+ content: {
19
+ padding: "16";
17
20
  };
18
21
  };
19
22
  };
@@ -13,6 +13,8 @@ const e = a({
13
13
  maxWidth: o(320),
14
14
  zIndex: "tooltip",
15
15
  transformOrigin: "var(--transform-origin)",
16
+ borderRadius: "8",
17
+ textStyle: "body/md/regular",
16
18
  _open: {
17
19
  animationStyle: "scale-fade-in",
18
20
  animationDuration: "fast"
@@ -45,9 +47,12 @@ const e = a({
45
47
  md: {
46
48
  content: {
47
49
  paddingInline: "12",
48
- paddingBlock: "8",
49
- borderRadius: "8",
50
- textStyle: "body/md/regular"
50
+ paddingBlock: "8"
51
+ }
52
+ },
53
+ lg: {
54
+ content: {
55
+ padding: "16"
51
56
  }
52
57
  }
53
58
  }
@@ -24,7 +24,7 @@ declare const slotRecipes: {
24
24
  };
25
25
  };
26
26
  }>;
27
- emptyState: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "indicator" | "description", {
27
+ emptyState: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "description" | "root" | "indicator", {
28
28
  colorScheme: {
29
29
  white: {
30
30
  root: {
@@ -103,7 +103,7 @@ declare const slotRecipes: {
103
103
  };
104
104
  };
105
105
  }>;
106
- tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "trigger" | "root" | "indicator" | "contentGroup", {
106
+ tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "trigger" | "list" | "root" | "indicator" | "contentGroup", {
107
107
  variant: {
108
108
  line: {
109
109
  list: {
@@ -170,8 +170,11 @@ declare const slotRecipes: {
170
170
  content: {
171
171
  paddingInline: "12";
172
172
  paddingBlock: "8";
173
- borderRadius: "8";
174
- textStyle: "body/md/regular";
173
+ };
174
+ };
175
+ lg: {
176
+ content: {
177
+ padding: "16";
175
178
  };
176
179
  };
177
180
  };
@@ -1,4 +1,15 @@
1
1
  export declare const COLOR_PALETTES: {
2
+ white: {
3
+ strong: {
4
+ value: string;
5
+ };
6
+ subtle: {
7
+ value: string;
8
+ };
9
+ moderate: {
10
+ value: string;
11
+ };
12
+ };
2
13
  neutral: {
3
14
  '10': {
4
15
  value: string;
@@ -560,6 +571,17 @@ declare const colors: {
560
571
  };
561
572
  };
562
573
  };
574
+ white: {
575
+ strong: {
576
+ value: string;
577
+ };
578
+ subtle: {
579
+ value: string;
580
+ };
581
+ moderate: {
582
+ value: string;
583
+ };
584
+ };
563
585
  neutral: {
564
586
  '10': {
565
587
  value: string;
@@ -1,5 +1,16 @@
1
1
  import { defineTokens as e } from "@chakra-ui/react/styled-system";
2
2
  const l = {
3
+ white: {
4
+ strong: {
5
+ value: "{colors.sys.fg.on-color}"
6
+ },
7
+ subtle: {
8
+ value: "{colors.sys.fg.on-color/15}"
9
+ },
10
+ moderate: {
11
+ value: "{colors.sys.fg.on-color/30}"
12
+ }
13
+ },
3
14
  neutral: {
4
15
  10: {
5
16
  value: "#201b22"
@@ -122,6 +122,17 @@ declare const tokens: {
122
122
  };
123
123
  };
124
124
  };
125
+ white: {
126
+ strong: {
127
+ value: string;
128
+ };
129
+ subtle: {
130
+ value: string;
131
+ };
132
+ moderate: {
133
+ value: string;
134
+ };
135
+ };
125
136
  neutral: {
126
137
  '10': {
127
138
  value: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.77",
4
+ "version": "0.3.78",
5
5
  "description": "Bitrise Design System Components built with Chakra UI v3",
6
6
  "keywords": [
7
7
  "react",
@@ -60,8 +60,8 @@
60
60
  "@figma-export/output-components-as-svg": "^6.2.4",
61
61
  "@figma-export/transform-svg-with-svgo": "^6.2.4",
62
62
  "@google-cloud/storage": "^7.17.3",
63
- "@storybook/addon-docs": "10.0.8",
64
- "@storybook/react-vite": "10.0.8",
63
+ "@storybook/addon-docs": "10.1.0",
64
+ "@storybook/react-vite": "10.1.0",
65
65
  "@svgr/plugin-jsx": "^8.1.0",
66
66
  "@types/node": "^24.10.1",
67
67
  "@types/react-dom": "^19.2.3",
@@ -72,7 +72,7 @@
72
72
  "react-dom": "^19.2.0",
73
73
  "react": "^19.2.0",
74
74
  "release-it": "^19.0.6",
75
- "storybook": "10.0.8",
75
+ "storybook": "10.1.0",
76
76
  "tsx": "^4.20.6",
77
77
  "typescript": "^5.9.3",
78
78
  "vite-plugin-dts": "^4.5.4",