@bitrise/bitkit-v2 0.3.47 → 0.3.49

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,3 @@
1
+ import { IconProps } from '@chakra-ui/react';
2
+ declare const IconSelectChevron24: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
3
+ export default IconSelectChevron24;
@@ -214,6 +214,7 @@ export { default as IconRuby24 } from './IconRuby24';
214
214
  export { default as IconRubyColor24 } from './IconRubyColor24';
215
215
  export { default as IconSave24 } from './IconSave24';
216
216
  export { default as IconSecurityShield24 } from './IconSecurityShield24';
217
+ export { default as IconSelectChevron24 } from './IconSelectChevron24';
217
218
  export { default as IconSettings24 } from './IconSettings24';
218
219
  export { default as IconSettingsFilled24 } from './IconSettingsFilled24';
219
220
  export { default as IconShuffle24 } from './IconShuffle24';
@@ -0,0 +1,19 @@
1
+ declare const nativeSelect: import('@chakra-ui/react').SlotRecipeDefinition<"field" | "root" | "indicator", {
2
+ size: {
3
+ md: {
4
+ field: {
5
+ paddingInline: string | number;
6
+ paddingBlock: string | number;
7
+ textStyle: "body/md/regular";
8
+ };
9
+ };
10
+ lg: {
11
+ field: {
12
+ paddingInline: string | number;
13
+ paddingBlock: string | number;
14
+ textStyle: "body/lg/regular";
15
+ };
16
+ };
17
+ };
18
+ }>;
19
+ export default nativeSelect;
@@ -1,4 +1,22 @@
1
1
  declare const slotRecipes: {
2
2
  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
+ nativeSelect: import('@chakra-ui/react').SlotRecipeDefinition<"field" | "root" | "indicator", {
4
+ size: {
5
+ md: {
6
+ field: {
7
+ paddingInline: string | number;
8
+ paddingBlock: string | number;
9
+ textStyle: "body/md/regular";
10
+ };
11
+ };
12
+ lg: {
13
+ field: {
14
+ paddingInline: string | number;
15
+ paddingBlock: string | number;
16
+ textStyle: "body/lg/regular";
17
+ };
18
+ };
19
+ };
20
+ }>;
3
21
  };
4
22
  export default slotRecipes;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit-v2",
3
3
  "private": false,
4
- "version": "0.3.47",
4
+ "version": "0.3.49",
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.1",
90
- "@storybook/react-vite": "10.0.1",
89
+ "@storybook/addon-docs": "10.0.2",
90
+ "@storybook/react-vite": "10.0.2",
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.1",
100
+ "storybook": "10.0.2",
101
101
  "tsx": "^4.20.6",
102
102
  "typescript": "^5.9.3",
103
103
  "vite-plugin-dts": "^4.5.4",