@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.
- package/dist/components/BitkitActionBar/BitkitActionBar.js +19 -0
- package/dist/components/BitkitColorButton/BitkitColorButton.js +8 -0
- package/dist/components/BitkitDefinitionTooltip/BitkitDefinitionTooltip.d.ts +8 -0
- package/dist/components/BitkitDefinitionTooltip/BitkitDefinitionTooltip.js +20 -0
- package/dist/components/BitkitInteractiveTooltip/BitkitInteractiveTooltip.d.ts +17 -0
- package/dist/components/BitkitInteractiveTooltip/BitkitInteractiveTooltip.js +46 -0
- package/dist/components/BitkitTabs/BitkitTabs.js +41 -0
- package/dist/components/BitkitToggle/components/BitkitToggleReadOnly.d.ts +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/main.js +1092 -1080
- package/dist/theme/recipes/DefinitionTooltip.recipe.d.ts +11 -0
- package/dist/theme/recipes/DefinitionTooltip.recipe.js +25 -0
- package/dist/theme/recipes/Link.recipe.d.ts +1 -1
- package/dist/theme/recipes/Link.recipe.js +1 -1
- package/dist/theme/recipes/index.d.ts +11 -1
- package/dist/theme/recipes/index.js +18 -16
- package/dist/theme/slot-recipes/EmptyState.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Tabs.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Tooltip.recipe.d.ts +5 -2
- package/dist/theme/slot-recipes/Tooltip.recipe.js +8 -3
- package/dist/theme/slot-recipes/index.d.ts +7 -4
- package/dist/theme/tokens/colors.d.ts +22 -0
- package/dist/theme/tokens/colors.js +11 -0
- package/dist/theme/tokens/index.d.ts +11 -0
- package/package.json +4 -4
|
@@ -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
|
+
};
|
|
@@ -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
|
-
|
|
86
|
+
colorScheme: {
|
|
77
87
|
purple: {
|
|
78
88
|
color: "text/link";
|
|
79
89
|
_hover: {
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import o from "./Badge.recipe.js";
|
|
2
|
+
import e from "./Button.recipe.js";
|
|
3
3
|
import t from "./CloseButton.recipe.js";
|
|
4
|
-
import
|
|
4
|
+
import i from "./ColorButton.recipe.js";
|
|
5
|
+
import r from "./DefinitionTooltip.recipe.js";
|
|
5
6
|
import p from "./Input.recipe.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
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
|
|
12
|
-
badge:
|
|
13
|
-
button:
|
|
12
|
+
const h = {
|
|
13
|
+
badge: o,
|
|
14
|
+
button: e,
|
|
14
15
|
closeButton: t,
|
|
15
|
-
colorButton:
|
|
16
|
+
colorButton: i,
|
|
17
|
+
definitionTooltip: r,
|
|
16
18
|
input: p,
|
|
17
|
-
link:
|
|
18
|
-
separator:
|
|
19
|
-
skeleton:
|
|
20
|
-
spinner:
|
|
19
|
+
link: m,
|
|
20
|
+
separator: n,
|
|
21
|
+
skeleton: c,
|
|
22
|
+
spinner: f,
|
|
21
23
|
textarea: a
|
|
22
24
|
};
|
|
23
25
|
export {
|
|
24
|
-
|
|
26
|
+
h as default
|
|
25
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const emptyStateSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "
|
|
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" | "
|
|
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
|
-
|
|
16
|
-
|
|
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
|
-
|
|
50
|
-
|
|
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" | "
|
|
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" | "
|
|
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
|
-
|
|
174
|
-
|
|
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"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit-v2",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.3.
|
|
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
|
|
64
|
-
"@storybook/react-vite": "10.0
|
|
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
|
|
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",
|