@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.
@@ -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" | "control" | "thumb" | "indicator", {
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" | "trigger" | "root" | "indicator" | "contentGroup", {
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" | "control" | "thumb" | "indicator", {
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" | "trigger" | "root" | "indicator" | "contentGroup", {
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 "./Field.recipe.js";
2
- import e from "./NativeSelect.js";
3
- import { numberInputSlotRecipe as o } from "./NumberInput.recipe.js";
4
- import i from "./Switch.recipe.js";
5
- import p from "./Tabs.recipe.js";
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
- field: t,
9
- nativeSelect: e,
10
- numberInput: o,
11
- switch: i,
12
- tabs: p,
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.66",
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.7",
64
- "@storybook/react-vite": "10.0.7",
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.4",
68
+ "@types/react": "^19.2.6",
69
69
  "@vitejs/plugin-react": "^5.1.1",
70
70
  "axios": "^1.13.2",
71
- "es-toolkit": "^1.41.0",
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.7",
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",