@oncehub/ui-react 1.2.2 → 1.3.0

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.
@@ -12,5 +12,5 @@ interface ButtonProps extends ComponentPropsWithRef<'button'> {
12
12
  shape?: 'rounded' | 'squared';
13
13
  }
14
14
  /** Primary UI component for user interaction */
15
- declare const Button: FC<ButtonProps>;
16
- export default Button;
15
+ export declare const Button: FC<ButtonProps>;
16
+ export {};
@@ -1 +1 @@
1
- export { default } from './button';
1
+ export * from './button';
@@ -7,5 +7,5 @@ interface CheckboxProps extends ComponentPropsWithRef<'input'> {
7
7
  checkboxSize?: string;
8
8
  }
9
9
  /** Checkbox component */
10
- declare const Checkbox: FC<CheckboxProps>;
11
- export default Checkbox;
10
+ export declare const Checkbox: FC<CheckboxProps>;
11
+ export {};
@@ -1 +1 @@
1
- export { default } from './checkbox';
1
+ export * from './checkbox';
@@ -1 +1 @@
1
- export { default } from './multi-line-input';
1
+ export * from './multi-line-input';
@@ -3,5 +3,5 @@ interface MultiLineInputProps extends ComponentPropsWithRef<'textarea'> {
3
3
  themeColor?: string;
4
4
  onSubmit?: () => void;
5
5
  }
6
- declare const MultiLineInput: FC<MultiLineInputProps>;
7
- export default MultiLineInput;
6
+ export declare const MultiLineInput: FC<MultiLineInputProps>;
7
+ export {};
@@ -1 +1 @@
1
- export { default } from './multi-select';
1
+ export * from './multi-select';
@@ -10,5 +10,5 @@ interface Props {
10
10
  className?: string;
11
11
  style?: CSSProperties;
12
12
  }
13
- declare const MultiSelect: React.FC<Props>;
14
- export default MultiSelect;
13
+ export declare const MultiSelect: React.FC<Props>;
14
+ export {};
@@ -1 +1 @@
1
- export { default } from './quick-multi-select';
1
+ export * from './quick-multi-select';
@@ -10,5 +10,5 @@ interface Props {
10
10
  className?: string;
11
11
  style?: CSSProperties;
12
12
  }
13
- declare const QuickMultiSelect: React.FC<Props>;
14
- export default QuickMultiSelect;
13
+ export declare const QuickMultiSelect: React.FC<Props>;
14
+ export {};
@@ -1 +1 @@
1
- export { default as QuickSelect } from './quick-select';
1
+ export * from './quick-select';
@@ -9,5 +9,5 @@ interface Props {
9
9
  style?: CSSProperties;
10
10
  showLoader?: boolean;
11
11
  }
12
- declare const QuickSelect: FC<Props>;
13
- export default QuickSelect;
12
+ export declare const QuickSelect: FC<Props>;
13
+ export {};
@@ -1 +1 @@
1
- export { default } from './scrollbar';
1
+ export * from './scrollbar';
@@ -2,5 +2,5 @@ import { ComponentPropsWithRef, FC } from 'react';
2
2
  interface ScrollbarProps extends ComponentPropsWithRef<'div'> {
3
3
  children: any;
4
4
  }
5
- declare const Scrollbar: FC<ScrollbarProps>;
6
- export default Scrollbar;
5
+ export declare const Scrollbar: FC<ScrollbarProps>;
6
+ export {};
@@ -9,5 +9,5 @@ interface Props {
9
9
  clearSearch?: boolean;
10
10
  themeColor?: string;
11
11
  }
12
- declare const AutoComplete: FC<Props>;
13
- export default AutoComplete;
12
+ export declare const AutoComplete: FC<Props>;
13
+ export {};
@@ -3,8 +3,7 @@ interface Props {
3
3
  children: any;
4
4
  setQuery: (query: any) => void;
5
5
  }
6
- declare const Options: FC<Props>;
7
- export default Options;
6
+ export declare const Options: FC<Props>;
8
7
  type OptionProps = {
9
8
  children: React.ReactNode;
10
9
  value: any;
@@ -13,3 +12,4 @@ type OptionProps = {
13
12
  };
14
13
  export type Ref = HTMLLIElement;
15
14
  export declare const Option: React.ForwardRefExoticComponent<OptionProps & React.RefAttributes<HTMLLIElement>>;
15
+ export {};
@@ -3,8 +3,7 @@ interface Props {
3
3
  children: any;
4
4
  setQuery: (query: any) => void;
5
5
  }
6
- declare const SelectOptions: FC<Props>;
7
- export default SelectOptions;
6
+ export declare const SelectOptions: FC<Props>;
8
7
  type SelectOptionProps = {
9
8
  children: React.ReactNode;
10
9
  value: any;
@@ -13,3 +12,4 @@ type SelectOptionProps = {
13
12
  };
14
13
  export type SelectOptionRef = HTMLLIElement;
15
14
  export declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLLIElement>>;
15
+ export {};
@@ -6,5 +6,5 @@ interface Props {
6
6
  onSelect: (obj: IOption) => void;
7
7
  themeColor?: string;
8
8
  }
9
- declare const Select: FC<Props>;
10
- export default Select;
9
+ export declare const Select: FC<Props>;
10
+ export {};
@@ -1 +1 @@
1
- export { default } from './single-line-input';
1
+ export * from './single-line-input';
@@ -2,5 +2,5 @@ import { FC, ComponentPropsWithRef } from 'react';
2
2
  interface SingleLineInputProps extends ComponentPropsWithRef<'input'> {
3
3
  themeColor?: string;
4
4
  }
5
- declare const SingleLineInput: FC<SingleLineInputProps>;
6
- export default SingleLineInput;
5
+ export declare const SingleLineInput: FC<SingleLineInputProps>;
6
+ export {};