@bitrise/bitkit 10.30.0-alpha-input.1 → 10.30.0-alpha-chakra.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrise/bitkit",
3
3
  "description": "Bitrise React component library",
4
- "version": "10.30.0-alpha-input.1",
4
+ "version": "10.30.0-alpha-chakra.1",
5
5
  "repository": "git@github.com:bitrise-io/bitkit.git",
6
6
  "main": "src/index.ts",
7
7
  "license": "UNLICENSED",
@@ -9,10 +9,10 @@ import {
9
9
  InputGroup,
10
10
  InputLeftElement,
11
11
  InputRightElement,
12
+ FormHelperText,
13
+ FormLabel,
12
14
  } from '@chakra-ui/react';
13
15
  import Icon, { TypeIconName } from '../../Icon/Icon';
14
- import FormLabel from '../FormLabel/FormLabel';
15
- import FormHelperText from '../FormHelperText/FormHelperText';
16
16
 
17
17
  type UsedFormControlProps = Omit<FormControlProps, 'label' | 'onBlur' | 'onChange'>;
18
18
  type UsedChakraInputProps = Pick<
@@ -6,9 +6,9 @@ import {
6
6
  Textarea as ChakraTextarea,
7
7
  TextareaProps as ChakraTextareaProps,
8
8
  forwardRef,
9
+ FormLabel,
10
+ FormHelperText,
9
11
  } from '@chakra-ui/react';
10
- import FormLabel from '../FormLabel/FormLabel';
11
- import FormHelperText from '../FormHelperText/FormHelperText';
12
12
 
13
13
  export interface TextareaProps extends Omit<FormControlProps, 'label' | 'onBlur' | 'onChange'> {
14
14
  'data-testid'?: string;
@@ -3,14 +3,14 @@ import {
3
3
  FormControl,
4
4
  FormControlProps,
5
5
  FormErrorMessage,
6
+ FormHelperText,
7
+ FormLabel,
6
8
  forwardRef,
7
9
  Select as ChakraSelect,
8
10
  SelectProps as ChakraSelectProps,
9
11
  Spinner,
10
12
  } from '@chakra-ui/react';
11
13
  import Icon from '../Icon/Icon';
12
- import FormLabel from '../Form/FormLabel/FormLabel';
13
- import FormHelperText from '../Form/FormHelperText/FormHelperText';
14
14
 
15
15
  export interface SelectProps extends Omit<FormControlProps, 'label' | 'onBlur' | 'onChange'> {
16
16
  'data-testid'?: string;
@@ -8,10 +8,10 @@ import {
8
8
  SwitchProps,
9
9
  forwardRef,
10
10
  useMultiStyleConfig,
11
+ FormLabel,
12
+ FormHelperText,
11
13
  } from '@chakra-ui/react';
12
14
  import Box from '../Box/Box';
13
- import FormLabel from '../Form/FormLabel/FormLabel';
14
- import FormHelperText from '../Form/FormHelperText/FormHelperText';
15
15
 
16
16
  export interface ToggleProps extends Omit<FormControlProps, 'label' | 'onBlur' | 'onChange'> {
17
17
  'data-testid'?: string;
package/src/index.ts CHANGED
@@ -207,9 +207,3 @@ export { default as Fade } from './Components/Fade/Fade';
207
207
 
208
208
  export type { InputProps } from './Components/Form/Input/Input';
209
209
  export { default as Input } from './Components/Form/Input/Input';
210
-
211
- export type { FormLabelProps } from './Components/Form/FormLabel/FormLabel';
212
- export { default as FormLabel } from './Components/Form/FormLabel/FormLabel';
213
-
214
- export type { HelpTextProps as FormHelperTextProps } from './Components/Form/FormHelperText/FormHelperText';
215
- export { default as FormHelperText } from './Components/Form/FormHelperText/FormHelperText';