@bitrise/bitkit-v2 0.3.46 → 0.3.48

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,12 @@
1
+ import { Field } from '@chakra-ui/react';
2
+ import { ReactNode } from 'react';
3
+ export interface BitkitFieldProps extends Field.RootProps {
4
+ children: ReactNode;
5
+ errorText?: ReactNode;
6
+ helperText?: ReactNode;
7
+ label?: string;
8
+ optional?: boolean;
9
+ warningText?: ReactNode;
10
+ }
11
+ declare const BitkitField: import('react').ForwardRefExoticComponent<BitkitFieldProps & import('react').RefAttributes<HTMLDivElement>>;
12
+ export default BitkitField;
@@ -1,8 +1,7 @@
1
1
  import { FieldRootProps, InputProps } from '@chakra-ui/react';
2
2
  import { ReactNode } from 'react';
3
- export interface TextFieldProps extends FieldRootProps {
3
+ export interface BitkitTextFieldProps extends FieldRootProps {
4
4
  errorText?: ReactNode;
5
- icon?: string;
6
5
  helperText?: ReactNode;
7
6
  inputProps?: InputProps;
8
7
  label?: string;
@@ -13,5 +12,5 @@ export interface TextFieldProps extends FieldRootProps {
13
12
  tooltip?: string;
14
13
  warningText?: ReactNode;
15
14
  }
16
- declare const TextField: import('react').ForwardRefExoticComponent<TextFieldProps & import('react').RefAttributes<HTMLDivElement>>;
17
- export default TextField;
15
+ declare const BitkitTextField: import('react').ForwardRefExoticComponent<BitkitTextFieldProps & import('react').RefAttributes<HTMLDivElement>>;
16
+ export default BitkitTextField;
@@ -0,0 +1,22 @@
1
+ declare const separator: import('@chakra-ui/react').RecipeDefinition<{
2
+ variant: {};
3
+ orientation: {
4
+ horizontal: {
5
+ borderTopWidth: "var(--separator-thickness)";
6
+ width: "100%";
7
+ };
8
+ vertical: {
9
+ borderInlineStartWidth: "var(--separator-thickness)";
10
+ minHeight: "20";
11
+ };
12
+ };
13
+ size: {
14
+ '1': {
15
+ '--separator-thickness': "1px";
16
+ };
17
+ '2': {
18
+ '--separator-thickness': "2px";
19
+ };
20
+ };
21
+ }>;
22
+ export default separator;
@@ -35,6 +35,27 @@ declare const recipes: {
35
35
  };
36
36
  };
37
37
  }>;
38
+ separator: import('@chakra-ui/react').RecipeDefinition<{
39
+ variant: {};
40
+ orientation: {
41
+ horizontal: {
42
+ borderTopWidth: "var(--separator-thickness)";
43
+ width: "100%";
44
+ };
45
+ vertical: {
46
+ borderInlineStartWidth: "var(--separator-thickness)";
47
+ minHeight: "20";
48
+ };
49
+ };
50
+ size: {
51
+ '1': {
52
+ '--separator-thickness': "1px";
53
+ };
54
+ '2': {
55
+ '--separator-thickness': "2px";
56
+ };
57
+ };
58
+ }>;
38
59
  spinner: import('@chakra-ui/react').RecipeDefinition<{
39
60
  size: {
40
61
  md: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.46",
4
+ "version": "0.3.48",
5
5
  "description": "Bitrise Design System Components built with Chakra UI v3",
6
6
  "keywords": [
7
7
  "react",
@@ -86,8 +86,8 @@
86
86
  "@figma-export/output-components-as-svg": "^6.2.3",
87
87
  "@figma-export/transform-svg-with-svgo": "^6.2.3",
88
88
  "@google-cloud/storage": "^7.17.2",
89
- "@storybook/addon-docs": "10.0.0",
90
- "@storybook/react-vite": "10.0.0",
89
+ "@storybook/addon-docs": "10.0.1",
90
+ "@storybook/react-vite": "10.0.1",
91
91
  "@svgr/plugin-jsx": "^8.1.0",
92
92
  "@types/node": "^24.9.2",
93
93
  "@types/react-dom": "^19.2.2",
@@ -97,7 +97,7 @@
97
97
  "react-dom": "^19.2.0",
98
98
  "react": "^19.2.0",
99
99
  "release-it": "^19.0.5",
100
- "storybook": "10.0.0",
100
+ "storybook": "10.0.1",
101
101
  "tsx": "^4.20.6",
102
102
  "typescript": "^5.9.3",
103
103
  "vite-plugin-dts": "^4.5.4",