@xmart/xorder-ui 0.3.0-dev.2 → 0.3.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.
@@ -1,7 +1,7 @@
1
1
  import { ComponentPropsWithRef } from 'react';
2
2
  type InputClearButtonProps = ComponentPropsWithRef<'button'>;
3
3
  declare const InputClearButton: {
4
- ({ className, ...props }: InputClearButtonProps): import("react/jsx-runtime").JSX.Element;
4
+ ({ className, ...props }: InputClearButtonProps): import("react").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  export { InputClearButton };
@@ -26,10 +26,10 @@ type InputOwnProps = {
26
26
  interface InputProps extends Omit<ComponentPropsWithRef<'input'>, 'size'>, InputOwnProps {
27
27
  }
28
28
  declare const Input: {
29
- ({ clearable, className: classNameProp, disabled, error, leftSection, placeholder, rightSection, value: valueProp, defaultValue, onChange: onChangeProp, ref, ...other }: InputProps): import("react/jsx-runtime").JSX.Element;
29
+ ({ clearable, className: classNameProp, disabled, error, leftSection, placeholder, rightSection, value: valueProp, defaultValue, onChange: onChangeProp, ref, ...other }: InputProps): import("react").JSX.Element;
30
30
  displayName: string;
31
31
  ClearButton: {
32
- ({ className, ...props }: import('./components/InputClearButton/InputClearButton').InputClearButtonProps): import("react/jsx-runtime").JSX.Element;
32
+ ({ className, ...props }: import('./components/InputClearButton/InputClearButton').InputClearButtonProps): import("react").JSX.Element;
33
33
  displayName: string;
34
34
  };
35
35
  };
@@ -46,7 +46,7 @@ type SelectBoxOwnProps = {
46
46
  };
47
47
  type SelectBoxProps = Omit<ComponentPropsWithRef<typeof Select.Root>, keyof SelectBoxOwnProps> & SelectBoxOwnProps;
48
48
  declare const SelectBox: {
49
- ({ className: classNameProp, disabled, error, placeholder, options, value, defaultValue, onValueChange, ariaLabel, ariaLabelledby, ...other }: SelectBoxProps): import("react/jsx-runtime").JSX.Element;
49
+ ({ className: classNameProp, disabled, error, placeholder, options, value, defaultValue, onValueChange, ariaLabel, ariaLabelledby, ...other }: SelectBoxProps): import("react").JSX.Element;
50
50
  displayName: string;
51
51
  };
52
52
  export { SelectBox };
@@ -18,7 +18,7 @@ type TagOwnProps = {
18
18
  };
19
19
  type TagProps = ComponentPropsWithRef<'span'> & TagOwnProps;
20
20
  declare const Tag: {
21
- (props: TagProps): import("react/jsx-runtime").JSX.Element;
21
+ (props: TagProps): import("react").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  export { Tag };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { Button, type ButtonProps, IconButton, type IconButtonProps, Input, type InputProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, RadioGroupRoot, type RadioGroupRootProps, Spinner, type SpinnerProps, Switch, type SwitchProps, } from './components';
1
+ export { Button, type ButtonProps, IconButton, type IconButtonProps, Input, type InputProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, RadioGroupRoot, type RadioGroupRootProps, SelectBox, type SelectBoxOption, type SelectBoxProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Tag, type TagProps, } from './components';
2
2
  export { primitive, semantic } from './styles/tokens';