@bitrise/bitkit-v2 0.3.134 → 0.3.135
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/docs/ColorsBase.d.ts +2 -0
- package/dist/docs/ColorsComponent.d.ts +2 -0
- package/dist/docs/ColorsSystem.d.ts +2 -0
- package/dist/docs/Icons.d.ts +1 -0
- package/dist/docs/Radii.d.ts +2 -0
- package/dist/docs/Shadows.d.ts +2 -0
- package/dist/docs/SpacingAndSizes.d.ts +2 -0
- package/dist/docs/TextStyles.d.ts +2 -0
- package/dist/docs/Typography.d.ts +2 -0
- package/dist/docs/shared.d.ts +29 -0
- package/dist/theme/recipes/Link.recipe.js +1 -1
- package/dist/theme/slot-recipes/Table.recipe.d.ts +2 -0
- package/dist/theme/slot-recipes/Table.recipe.js +34 -0
- package/dist/theme/slot-recipes/index.d.ts +1 -0
- package/dist/theme/slot-recipes/index.js +14 -12
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IconsPage: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TokenLeaf = {
|
|
3
|
+
value: {
|
|
4
|
+
_light: string;
|
|
5
|
+
} | string;
|
|
6
|
+
};
|
|
7
|
+
export declare const isTokenLeaf: (obj: unknown) => obj is TokenLeaf;
|
|
8
|
+
export declare const flattenTokens: (obj: Record<string, unknown>, prefix?: string) => {
|
|
9
|
+
path: string;
|
|
10
|
+
ref: string;
|
|
11
|
+
}[];
|
|
12
|
+
export declare const slugify: (text: string) => string;
|
|
13
|
+
export declare const ColorPreview: ({ value }: {
|
|
14
|
+
value: string;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const Section: ({ children, heading, slug }: {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
heading: string;
|
|
19
|
+
slug?: string;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
type TokenTableRow = {
|
|
22
|
+
preview: ReactNode;
|
|
23
|
+
token: string;
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const TokenTable: ({ rows }: {
|
|
27
|
+
rows: TokenTableRow[];
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const tableSlotRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "caption" | "footer" | "header" | "cell" | "row" | "root" | "columnHeader", import('@chakra-ui/react').SlotRecipeVariantRecord<"body" | "caption" | "footer" | "header" | "cell" | "row" | "root" | "columnHeader">>;
|
|
2
|
+
export default tableSlotRecipe;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { tableAnatomy as o } from "@chakra-ui/react/anatomy";
|
|
2
|
+
import { defineSlotRecipe as r } from "@chakra-ui/react/styled-system";
|
|
3
|
+
const l = r({
|
|
4
|
+
className: "table",
|
|
5
|
+
slots: o.keys(),
|
|
6
|
+
base: {
|
|
7
|
+
root: {
|
|
8
|
+
border: "1px solid",
|
|
9
|
+
borderColor: "border/minimal",
|
|
10
|
+
overflow: "hidden"
|
|
11
|
+
},
|
|
12
|
+
columnHeader: {
|
|
13
|
+
backgroundColor: "background/tertiary",
|
|
14
|
+
border: "1px solid",
|
|
15
|
+
borderColor: "border/minimal",
|
|
16
|
+
padding: "8",
|
|
17
|
+
textAlign: "left",
|
|
18
|
+
textStyle: "heading/h5"
|
|
19
|
+
},
|
|
20
|
+
cell: {
|
|
21
|
+
border: "1px solid",
|
|
22
|
+
borderColor: "border/minimal",
|
|
23
|
+
padding: "8"
|
|
24
|
+
},
|
|
25
|
+
row: {
|
|
26
|
+
_hover: {
|
|
27
|
+
backgroundColor: "background/selected"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
l as default
|
|
34
|
+
};
|
|
@@ -561,6 +561,7 @@ declare const slotRecipes: {
|
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
}>;
|
|
564
|
+
table: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "caption" | "footer" | "header" | "cell" | "row" | "root" | "columnHeader", import('@chakra-ui/react').SlotRecipeVariantRecord<"body" | "caption" | "footer" | "header" | "cell" | "row" | "root" | "columnHeader">>;
|
|
564
565
|
tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "trigger" | "indicator" | "list" | "contentGroup", {
|
|
565
566
|
variant: {
|
|
566
567
|
line: {
|
|
@@ -12,14 +12,15 @@ import S from "./ExpandableCard.recipe.js";
|
|
|
12
12
|
import f from "./Field.recipe.js";
|
|
13
13
|
import R from "./Fieldset.recipe.js";
|
|
14
14
|
import d from "./NativeSelect.recipe.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import b from "./NumberInput.recipe.js";
|
|
16
|
+
import n from "./RadioGroup.recipe.js";
|
|
17
17
|
import { selectSlotRecipe as s } from "./Select.recipe.js";
|
|
18
18
|
import u from "./Switch.recipe.js";
|
|
19
|
-
import k from "./
|
|
20
|
-
import x from "./
|
|
21
|
-
import h from "./
|
|
22
|
-
|
|
19
|
+
import k from "./Table.recipe.js";
|
|
20
|
+
import x from "./Tabs.recipe.js";
|
|
21
|
+
import h from "./Tag.recipe.js";
|
|
22
|
+
import v from "./Tooltip.recipe.js";
|
|
23
|
+
const Q = {
|
|
23
24
|
actionBar: t,
|
|
24
25
|
avatar: r,
|
|
25
26
|
breadcrumb: i,
|
|
@@ -33,15 +34,16 @@ const N = {
|
|
|
33
34
|
fieldset: R,
|
|
34
35
|
nativeSelect: d,
|
|
35
36
|
alert: o,
|
|
36
|
-
numberInput:
|
|
37
|
-
radioGroup:
|
|
37
|
+
numberInput: b,
|
|
38
|
+
radioGroup: n,
|
|
38
39
|
select: s,
|
|
39
40
|
switch: u,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
table: k,
|
|
42
|
+
tabs: x,
|
|
43
|
+
tag: h,
|
|
44
|
+
tooltip: v,
|
|
43
45
|
accordion: e
|
|
44
46
|
};
|
|
45
47
|
export {
|
|
46
|
-
|
|
48
|
+
Q as default
|
|
47
49
|
};
|
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.135",
|
|
5
5
|
"description": "Bitrise Design System Components built with Chakra UI V3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"react",
|
|
@@ -55,24 +55,24 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@bitrise/eslint-plugin": "^4.1.0",
|
|
58
|
-
"@chakra-ui/cli": "^3.
|
|
58
|
+
"@chakra-ui/cli": "^3.34.0",
|
|
59
59
|
"@figma-export/cli": "^6.3.0",
|
|
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.19.0",
|
|
63
|
-
"@storybook/addon-docs": "10.2.
|
|
64
|
-
"@storybook/react-vite": "10.2.
|
|
63
|
+
"@storybook/addon-docs": "10.2.15",
|
|
64
|
+
"@storybook/react-vite": "10.2.15",
|
|
65
65
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
66
66
|
"@types/node": "^24.11.0",
|
|
67
67
|
"@types/react": "^19.2.14",
|
|
68
68
|
"@types/react-dom": "^19.2.3",
|
|
69
69
|
"@vitejs/plugin-react": "^5.1.4",
|
|
70
70
|
"axios": "^1.13.6",
|
|
71
|
-
"es-toolkit": "^1.45.
|
|
71
|
+
"es-toolkit": "^1.45.1",
|
|
72
72
|
"react": "^19.2.4",
|
|
73
73
|
"react-dom": "^19.2.4",
|
|
74
74
|
"release-it": "^19.2.4",
|
|
75
|
-
"storybook": "10.2.
|
|
75
|
+
"storybook": "10.2.15",
|
|
76
76
|
"tsx": "^4.21.0",
|
|
77
77
|
"typescript": "^5.9.3",
|
|
78
78
|
"vite": "^7.3.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"vite-plugin-svgr": "^4.5.0"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@chakra-ui/react": "^3.
|
|
83
|
+
"@chakra-ui/react": "^3.34.0",
|
|
84
84
|
"@emotion/react": "^11.14.0",
|
|
85
85
|
"@emotion/styled": "^11.14.1",
|
|
86
86
|
"@fontsource-variable/figtree": "^5.2.10",
|