@bitrise/bitkit-v2 0.3.66 → 0.3.67
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/BitkitEmptyState/BitkitEmptyState.d.ts +9 -0
- package/dist/components/BitkitEmptyState/BitkitEmptyState.js +14 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +1062 -1060
- package/dist/theme/slot-recipes/EmptyState.recipe.d.ts +15 -0
- package/dist/theme/slot-recipes/EmptyState.recipe.js +58 -0
- package/dist/theme/slot-recipes/Switch.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/Tabs.recipe.d.ts +1 -1
- package/dist/theme/slot-recipes/index.d.ts +16 -2
- package/dist/theme/slot-recipes/index.js +12 -10
- package/package.json +6 -6
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const emptyStateSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "indicator" | "description", {
|
|
2
|
+
colorScheme: {
|
|
3
|
+
white: {
|
|
4
|
+
root: {
|
|
5
|
+
backgroundColor: "background/primary";
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
grey: {
|
|
9
|
+
root: {
|
|
10
|
+
backgroundColor: "background/secondary";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}>;
|
|
15
|
+
export default emptyStateSlotRecipe;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { emptyStateAnatomy as o } from "@chakra-ui/react/anatomy";
|
|
2
|
+
import { defineSlotRecipe as e } from "@chakra-ui/react/styled-system";
|
|
3
|
+
import { rem as r } from "../themeUtils.js";
|
|
4
|
+
const n = e({
|
|
5
|
+
slots: o.keys(),
|
|
6
|
+
className: "empty-state",
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
border: "1px solid",
|
|
10
|
+
borderColor: "border/minimal",
|
|
11
|
+
borderRadius: "4",
|
|
12
|
+
padding: ["32", "48"]
|
|
13
|
+
},
|
|
14
|
+
content: {
|
|
15
|
+
maxWidth: r(480),
|
|
16
|
+
marginInline: "auto",
|
|
17
|
+
display: "flex",
|
|
18
|
+
flexDirection: "column",
|
|
19
|
+
alignItems: "center",
|
|
20
|
+
textAlign: "center"
|
|
21
|
+
},
|
|
22
|
+
indicator: {
|
|
23
|
+
color: "icon/tertiary"
|
|
24
|
+
},
|
|
25
|
+
title: {
|
|
26
|
+
textStyle: "heading/h4",
|
|
27
|
+
color: "text/secondary",
|
|
28
|
+
marginBlock: "8"
|
|
29
|
+
},
|
|
30
|
+
description: {
|
|
31
|
+
textStyle: "body/md/regular",
|
|
32
|
+
color: "text/secondary",
|
|
33
|
+
"&:has(+ *)": {
|
|
34
|
+
marginBlockEnd: "24"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
variants: {
|
|
39
|
+
colorScheme: {
|
|
40
|
+
white: {
|
|
41
|
+
root: {
|
|
42
|
+
backgroundColor: "background/primary"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
grey: {
|
|
46
|
+
root: {
|
|
47
|
+
backgroundColor: "background/secondary"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: {
|
|
53
|
+
colorScheme: "grey"
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
n as default
|
|
58
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const switchSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "
|
|
1
|
+
declare const switchSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "control" | "thumb", {
|
|
2
2
|
size: {
|
|
3
3
|
sm: {
|
|
4
4
|
root: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "
|
|
1
|
+
declare const tabsSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "root" | "indicator" | "trigger" | "contentGroup", {
|
|
2
2
|
variant: {
|
|
3
3
|
line: {
|
|
4
4
|
list: {
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
declare const slotRecipes: {
|
|
2
|
+
emptyState: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "indicator" | "description", {
|
|
3
|
+
colorScheme: {
|
|
4
|
+
white: {
|
|
5
|
+
root: {
|
|
6
|
+
backgroundColor: "background/primary";
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
grey: {
|
|
10
|
+
root: {
|
|
11
|
+
backgroundColor: "background/secondary";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
2
16
|
field: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "select" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator", import('@chakra-ui/react').SlotRecipeVariantRecord<"input" | "label" | "select" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator">>;
|
|
3
17
|
nativeSelect: import('@chakra-ui/react').SlotRecipeDefinition<"field" | "root" | "indicator", {
|
|
4
18
|
size: {
|
|
@@ -34,7 +48,7 @@ declare const slotRecipes: {
|
|
|
34
48
|
};
|
|
35
49
|
};
|
|
36
50
|
}>;
|
|
37
|
-
switch: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "
|
|
51
|
+
switch: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "control" | "thumb", {
|
|
38
52
|
size: {
|
|
39
53
|
sm: {
|
|
40
54
|
root: {
|
|
@@ -64,7 +78,7 @@ declare const slotRecipes: {
|
|
|
64
78
|
};
|
|
65
79
|
};
|
|
66
80
|
}>;
|
|
67
|
-
tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "
|
|
81
|
+
tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "root" | "indicator" | "trigger" | "contentGroup", {
|
|
68
82
|
variant: {
|
|
69
83
|
line: {
|
|
70
84
|
list: {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import t from "./
|
|
2
|
-
import e from "./
|
|
3
|
-
import
|
|
4
|
-
import i from "./
|
|
5
|
-
import p from "./
|
|
1
|
+
import t from "./EmptyState.recipe.js";
|
|
2
|
+
import e from "./Field.recipe.js";
|
|
3
|
+
import o from "./NativeSelect.js";
|
|
4
|
+
import { numberInputSlotRecipe as i } from "./NumberInput.recipe.js";
|
|
5
|
+
import p from "./Switch.recipe.js";
|
|
6
|
+
import m from "./Tabs.recipe.js";
|
|
6
7
|
import r from "./Tooltip.recipe.js";
|
|
7
8
|
const n = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
emptyState: t,
|
|
10
|
+
field: e,
|
|
11
|
+
nativeSelect: o,
|
|
12
|
+
numberInput: i,
|
|
13
|
+
switch: p,
|
|
14
|
+
tabs: m,
|
|
13
15
|
tooltip: r
|
|
14
16
|
};
|
|
15
17
|
export {
|
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.67",
|
|
5
5
|
"description": "Bitrise Design System Components built with Chakra UI v3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -60,19 +60,19 @@
|
|
|
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.0.8",
|
|
64
|
+
"@storybook/react-vite": "10.0.8",
|
|
65
65
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
66
66
|
"@types/node": "^24.10.1",
|
|
67
67
|
"@types/react-dom": "^19.2.3",
|
|
68
|
-
"@types/react": "^19.2.
|
|
68
|
+
"@types/react": "^19.2.6",
|
|
69
69
|
"@vitejs/plugin-react": "^5.1.1",
|
|
70
70
|
"axios": "^1.13.2",
|
|
71
|
-
"es-toolkit": "^1.
|
|
71
|
+
"es-toolkit": "^1.42.0",
|
|
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.0.8",
|
|
76
76
|
"tsx": "^4.20.6",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"vite-plugin-dts": "^4.5.4",
|