globalfy-design-system 1.29.0 → 1.30.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.
@@ -15,7 +15,7 @@ export type ButtonProps = Omit<NextUIButtonProps, 'variant' | 'size' | 'ref'> &
15
15
  */
16
16
  isLoadingComplete?: boolean;
17
17
  } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onFocus' | 'onBlur' | 'color'>;
18
- export declare const Button: React.ForwardRefExoticComponent<Omit<NextUIButtonProps, "variant" | "ref" | "size"> & {
18
+ export declare const Button: React.ForwardRefExoticComponent<Omit<NextUIButtonProps, "ref" | "variant" | "size"> & {
19
19
  children: React.ReactNode;
20
20
  iconLeft?: React.ReactNode;
21
21
  iconRight?: React.ReactNode;
@@ -27,6 +27,8 @@ export type DropdownListProps = {
27
27
  customValueContainer?: ComponentType<ValueContainerProps>;
28
28
  onCreateOption?: (inputValue: string) => void;
29
29
  isLoading?: boolean;
30
+ isClearable?: boolean;
31
+ onClear?: () => void;
30
32
  customClassNames?: {
31
33
  menuList?: string;
32
34
  };
@@ -39,5 +41,5 @@ export type DropdownCreditCardOption = {
39
41
  export type DropdownCreditCardProps = {
40
42
  options: DropdownCreditCardOption[];
41
43
  } & Omit<DropdownListProps, 'options'>;
42
- export declare const DropdownList: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, customClassNames, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const DropdownList: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, ...props }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
43
45
  export {};
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, customClassNames, ...props }: import('./DropdownList').DropdownListProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer, isClearable, onClear, customClassNames, ...props }: import('./DropdownList').DropdownListProps) => import("react/jsx-runtime").JSX.Element;
6
6
  tags: string[];
7
7
  parameters: {
8
8
  layout: string;
@@ -1,25 +1,26 @@
1
- export * from './Logo';
2
- export * from './Typography';
3
- export * from './Flag';
4
- export * from './Icon';
5
- export * from './Switch';
6
- export * from './Checkbox';
1
+ export * from './Alert';
7
2
  export * from './Avatar';
8
- export * from './RadioGroup';
9
3
  export * from './Button';
4
+ export * from './Checkbox';
10
5
  export * from './Chip';
11
- export * from './SegmentedControl';
12
- export * from './Snackbar';
13
- export * from './Tooltip';
14
- export * from './Tabs';
6
+ export * from './DatePicker';
7
+ export * from './DropdownList';
8
+ export * from './Flag';
9
+ export * from './GlobCheckbox';
10
+ export * from './Icon';
15
11
  export * from './Input';
16
12
  export * from './InputMask';
13
+ export * from './Logo';
14
+ export * from './PhoneNumberInput';
17
15
  export * from './Popover';
18
- export * from './DatePicker';
16
+ export * from './RadioGroup';
17
+ export * from './SegmentedControl';
18
+ export * from './Snackbar';
19
+ export * from './Switch';
20
+ export * from './Tabs';
19
21
  export * from './Tag';
20
- export * from './ToastContainer';
21
- export * from './PhoneNumberInput';
22
- export * from './DropdownList';
23
- export * from './Alert';
24
22
  export * from './TextArea';
25
23
  export * from './TextInput';
24
+ export * from './ToastContainer';
25
+ export * from './Tooltip';
26
+ export * from './Typography';