globalfy-design-system 0.80.0 → 0.82.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.
- package/dist/components/atoms/Alert/Alert.d.ts +2 -1
- package/dist/components/atoms/Alert/Alert.stories.d.ts +2 -1
- package/dist/components/atoms/Alert/index.d.ts +3 -3
- package/dist/components/atoms/Alert/useAlert.d.ts +2 -1
- package/dist/components/atoms/Avatar/Avatar.d.ts +2 -1
- package/dist/components/atoms/Avatar/Avatar.stories.d.ts +3 -2
- package/dist/components/atoms/Avatar/index.d.ts +2 -2
- package/dist/components/atoms/Button/Button.d.ts +2 -1
- package/dist/components/atoms/Button/Button.stories.d.ts +3 -2
- package/dist/components/atoms/Button/index.d.ts +2 -2
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +2 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +10 -0
- package/dist/components/atoms/Checkbox/index.d.ts +1 -1
- package/dist/components/atoms/Chip/Chip.d.ts +2 -1
- package/dist/components/atoms/Chip/Chip.stories.d.ts +3 -2
- package/dist/components/atoms/Chip/Chip.types.d.ts +2 -1
- package/dist/components/atoms/Chip/index.d.ts +2 -2
- package/dist/components/atoms/DatePicker/DatePicker.d.ts +2 -1
- package/dist/components/atoms/DatePicker/DatePicker.stories.d.ts +1 -1
- package/dist/components/atoms/DatePicker/DatePicker.types.d.ts +2 -1
- package/dist/components/atoms/DatePicker/index.d.ts +2 -2
- package/dist/components/atoms/DropdownList/DropdownList.d.ts +2 -1
- package/dist/components/atoms/DropdownList/DropdownList.stories.d.ts +3 -2
- package/dist/components/atoms/DropdownList/DropdownList.types.d.ts +3 -2
- package/dist/components/atoms/DropdownList/DropdownPaymentMethod.d.ts +2 -1
- package/dist/components/atoms/DropdownList/index.d.ts +3 -3
- package/dist/components/atoms/Flag/Flag.d.ts +2 -1
- package/dist/components/atoms/Flag/Flag.stories.d.ts +3 -2
- package/dist/components/atoms/Flag/Flag.types.d.ts +2 -1
- package/dist/components/atoms/Flag/index.d.ts +2 -2
- package/dist/components/atoms/Icon/Icon.d.ts +2 -1
- package/dist/components/atoms/Icon/Icon.stories.d.ts +3 -2
- package/dist/components/atoms/Icon/icon.types.d.ts +2 -1
- package/dist/components/atoms/Icon/index.d.ts +2 -2
- package/dist/components/atoms/Input/Input.d.ts +2 -1
- package/dist/components/atoms/Input/Input.stories.d.ts +5 -5
- package/dist/components/atoms/Input/InputPassword.d.ts +3 -3
- package/dist/components/atoms/Input/index.d.ts +3 -3
- package/dist/components/atoms/InputMask/InputMask.d.ts +3 -3
- package/dist/components/atoms/InputMask/InputMask.stories.d.ts +5 -5
- package/dist/components/atoms/InputMask/index.d.ts +3 -3
- package/dist/components/atoms/Logo/Logo.d.ts +2 -1
- package/dist/components/atoms/Logo/Logo.stories.d.ts +3 -2
- package/dist/components/atoms/Logo/index.d.ts +2 -2
- package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
- package/dist/components/atoms/PhoneNumberInput/PhoneNumberInput.stories.d.ts +3 -3
- package/dist/components/atoms/PhoneNumberInput/index.d.ts +2 -2
- package/dist/components/atoms/Popover/Popover.d.ts +2 -1
- package/dist/components/atoms/Popover/Popover.stories.d.ts +3 -2
- package/dist/components/atoms/Popover/index.d.ts +2 -2
- package/dist/components/atoms/RadioGroup/RadioGroup.d.ts +3 -2
- package/dist/components/atoms/RadioGroup/RadioGroup.stories.d.ts +3 -2
- package/dist/components/atoms/RadioGroup/RadioGroup.types.d.ts +5 -1
- package/dist/components/atoms/RadioGroup/index.d.ts +1 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.d.ts +2 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.stories.d.ts +1 -1
- package/dist/components/atoms/SegmentedControl/SegmentedControl.types.d.ts +2 -1
- package/dist/components/atoms/SegmentedControl/index.d.ts +2 -2
- package/dist/components/atoms/Snackbar/Snackbar.d.ts +2 -1
- package/dist/components/atoms/Snackbar/Snackbar.stories.d.ts +2 -1
- package/dist/components/atoms/Snackbar/index.d.ts +2 -2
- package/dist/components/atoms/Snackbar/useSnackbar.d.ts +2 -1
- package/dist/components/atoms/Switch/Switch.d.ts +2 -1
- package/dist/components/atoms/Switch/Switch.stories.d.ts +3 -2
- package/dist/components/atoms/Switch/index.d.ts +2 -2
- package/dist/components/atoms/Tabs/Tabs.d.ts +2 -1
- package/dist/components/atoms/Tabs/Tabs.stories.d.ts +3 -2
- package/dist/components/atoms/Tabs/Tabs.types.d.ts +2 -1
- package/dist/components/atoms/Tabs/index.d.ts +2 -2
- package/dist/components/atoms/Tag/Tag.d.ts +2 -1
- package/dist/components/atoms/Tag/Tag.stories.d.ts +3 -2
- package/dist/components/atoms/Tag/Tag.types.d.ts +2 -1
- package/dist/components/atoms/Tag/index.d.ts +2 -2
- package/dist/components/atoms/TextArea/TextArea.d.ts +3 -3
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts +3 -3
- package/dist/components/atoms/TextArea/TextArea.types.d.ts +2 -1
- package/dist/components/atoms/TextArea/index.d.ts +2 -2
- package/dist/components/atoms/ToastContainer/ToastContainer.d.ts +1 -0
- package/dist/components/atoms/ToastContainer/index.d.ts +1 -1
- package/dist/components/atoms/Tooltip/Tooltip.d.ts +2 -1
- package/dist/components/atoms/Tooltip/Tooltip.stories.d.ts +3 -2
- package/dist/components/atoms/Tooltip/index.d.ts +2 -2
- package/dist/components/atoms/Typography/Typography.d.ts +2 -1
- package/dist/components/atoms/Typography/Typography.stories.d.ts +3 -2
- package/dist/components/atoms/Typography/Typography.types.d.ts +2 -1
- package/dist/components/atoms/Typography/index.d.ts +2 -2
- package/dist/components/atoms/index.d.ts +24 -24
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/DatePickerInput/DatePickerInput.d.ts +2 -1
- package/dist/components/molecules/DatePickerInput/DatePickerInput.stories.d.ts +3 -2
- package/dist/components/molecules/DatePickerInput/index.d.ts +2 -2
- package/dist/components/molecules/index.d.ts +1 -1
- package/dist/globalfy-design-system.js +9737 -10712
- package/dist/globalfy-design-system.umd.cjs +31 -57
- package/dist/main.d.ts +2 -2
- package/dist/theme/index.d.ts +1 -1
- package/dist/utils/tailwind/classNames.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Alert';
|
|
2
|
+
export * from './useAlert';
|
|
3
|
+
export * from './Alert.types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ size, className, border, image, label, ...props }: import(
|
|
5
|
+
component: ({ size, className, border, image, label, ...props }: import('./Avatar.types').AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Avatar';
|
|
2
|
+
export * from './Avatar.types';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { ButtonProps } from
|
|
1
|
+
import { ButtonProps } from '.';
|
|
2
|
+
|
|
2
3
|
export declare const Button: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, isLoadingComplete, isLoading, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, isLoadingComplete, isLoading, ...props }: import(
|
|
5
|
+
component: ({ children, size, variant, disabled, full, iconLeft, iconRight, className, isLoadingComplete, isLoading, ...props }: import('./Button.types').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
argTypes: {
|
|
7
8
|
iconLeft: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './Button.types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: import('@nextui-org/checkbox').CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof meta>;
|
|
10
|
+
export declare const Default: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ children, className, avatar, size, disabled, iconLeft, iconRight }: import(
|
|
5
|
+
component: ({ children, className, avatar, size, disabled, iconLeft, iconRight }: import('./Chip.types').ChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Chip';
|
|
2
|
+
export * from './Chip.types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ ...props }: import(
|
|
4
|
+
component: ({ ...props }: import('./DatePicker.types').DatePickerProps) => JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { DayPickerDefaultProps, DayPickerMultipleProps, DayPickerRangeProps, DayPickerSingleProps } from
|
|
1
|
+
import { DayPickerDefaultProps, DayPickerMultipleProps, DayPickerRangeProps, DayPickerSingleProps } from 'react-day-picker';
|
|
2
|
+
|
|
2
3
|
export type DatePickerProps = DayPickerDefaultProps | DayPickerSingleProps | DayPickerMultipleProps | DayPickerRangeProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './DatePicker';
|
|
2
|
+
export * from './DatePicker.types';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { DropdownListProps } from
|
|
1
|
+
import { DropdownListProps } from './DropdownList.types';
|
|
2
|
+
|
|
2
3
|
export declare const DropdownList: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer }: DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer }: import(
|
|
5
|
+
component: ({ label, value, defaultValue, placeholder, isInvalid, isTransparent, className, disabled, onChange, noOptionsMessage, errorMessage, options, isSearchable, customOption, isValid, customPlaceholder, customControl, customDropdownIndicator, customValueContainer }: import('./DropdownList.types').DropdownListProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
parameters: {
|
|
7
8
|
layout: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ControlProps, OptionProps, DropdownIndicatorProps, ActionMeta, ValueContainerProps } from 'react-select';
|
|
2
|
+
import { ComponentType, ReactNode } from 'react';
|
|
3
|
+
|
|
3
4
|
export type OptionType = {
|
|
4
5
|
[key: string]: unknown;
|
|
5
6
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './DropdownPaymentMethod';
|
|
2
|
+
export * from './DropdownList';
|
|
3
|
+
export * from './DropdownList.types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ shadow, country, className, ...props }: import(
|
|
5
|
+
component: ({ shadow, country, className, ...props }: import('./Flag.types').FlagProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Flag';
|
|
2
|
+
export * from './Flag.types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ name, className, ...props }: import(
|
|
5
|
+
component: ({ name, className, ...props }: import('./icon.types').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Icon';
|
|
2
|
+
export * from './icon.types';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<{
|
|
6
6
|
label: string;
|
|
7
7
|
placeholder?: string | undefined;
|
|
8
8
|
message?: string | undefined;
|
|
9
|
-
icon?: import(
|
|
9
|
+
icon?: import('react').ReactNode;
|
|
10
10
|
isInvalid?: boolean | undefined;
|
|
11
11
|
isValid?: boolean | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
13
|
value?: string | undefined;
|
|
14
14
|
isDatePicker?: boolean | undefined;
|
|
15
15
|
iconAction?: (() => void) | undefined;
|
|
16
|
-
} & Omit<import(
|
|
16
|
+
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
17
17
|
tags: string[];
|
|
18
18
|
};
|
|
19
19
|
export default meta;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const InputPassword: import(
|
|
1
|
+
import { InputPasswordProps } from '.';
|
|
2
|
+
|
|
3
|
+
export declare const InputPassword: import('react').ForwardRefExoticComponent<InputPasswordProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Input';
|
|
2
|
+
export * from './InputPassword';
|
|
3
|
+
export * from './Input.types';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const InputMask: import(
|
|
2
|
+
export declare const InputMask: import('react').ForwardRefExoticComponent<{
|
|
3
3
|
label: string;
|
|
4
4
|
placeholder?: string | undefined;
|
|
5
5
|
message?: string | undefined;
|
|
6
|
-
icon?: import(
|
|
6
|
+
icon?: import('react').ReactNode;
|
|
7
7
|
isInvalid?: boolean | undefined;
|
|
8
8
|
isValid?: boolean | undefined;
|
|
9
9
|
disabled?: boolean | undefined;
|
|
@@ -11,4 +11,4 @@ export declare const InputMask: import("react").ForwardRefExoticComponent<{
|
|
|
11
11
|
isDatePicker?: boolean | undefined;
|
|
12
12
|
iconAction?: (() => void) | undefined;
|
|
13
13
|
mask?: string | undefined;
|
|
14
|
-
} & Omit<import(
|
|
14
|
+
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').ForwardRefExoticComponent<{
|
|
6
6
|
label: string;
|
|
7
7
|
placeholder?: string | undefined;
|
|
8
8
|
message?: string | undefined;
|
|
9
|
-
icon?: import(
|
|
9
|
+
icon?: import('react').ReactNode;
|
|
10
10
|
isInvalid?: boolean | undefined;
|
|
11
11
|
isValid?: boolean | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ declare const meta: {
|
|
|
14
14
|
isDatePicker?: boolean | undefined;
|
|
15
15
|
iconAction?: (() => void) | undefined;
|
|
16
16
|
mask?: string | undefined;
|
|
17
|
-
} & Omit<import(
|
|
17
|
+
} & Omit<import('react').InputHTMLAttributes<HTMLInputElement>, "defaultValue" | "color" | "onFocus" | "onBlur" | "size"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
18
18
|
tags: string[];
|
|
19
19
|
};
|
|
20
20
|
export default meta;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './InputMask';
|
|
2
|
+
export * from './InputMask.types';
|
|
3
|
+
export * from './InputMask.stories';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Logo';
|
|
2
|
+
export * from './Logo.types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { PhoneNumberInputProps } from './PhoneNumberInput.types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
3
4
|
export declare const PhoneNumberInput: React.FC<PhoneNumberInputProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: import(
|
|
5
|
+
component: import('react').FC<import('./PhoneNumberInput.types').PhoneNumberInputProps>;
|
|
6
6
|
tags: string[];
|
|
7
7
|
};
|
|
8
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './PhoneNumberInput';
|
|
2
|
+
export * from './PhoneNumberInput.types';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { PopoverProps } from
|
|
1
|
+
import { PopoverProps } from './Popover.types';
|
|
2
|
+
|
|
2
3
|
export declare const Popover: ({ children, content, className, isOpen, side, align, hasCloseButton, hasShadow, sideOffset, onInteractOutside, onOpenAutoFocus, ...props }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ children, content, className, isOpen, side, align, hasCloseButton, hasShadow, sideOffset, onInteractOutside, onOpenAutoFocus, ...props }: import(
|
|
5
|
+
component: ({ children, content, className, isOpen, side, align, hasCloseButton, hasShadow, sideOffset, onInteractOutside, onOpenAutoFocus, ...props }: import('./Popover.types').PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
parameters: {
|
|
7
8
|
layout: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Popover';
|
|
2
|
+
export * from './Popover.types';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { RadioGroupProps } from
|
|
2
|
-
|
|
1
|
+
import { RadioGroupProps } from './RadioGroup.types';
|
|
2
|
+
|
|
3
|
+
export declare const RadioGroup: ({ options, labelPosition, orientation, onChange, value, optionWrapperClassName, className, labelClassName, onValueChange }: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ options, labelPosition, orientation, onChange, value, onValueChange }: import(
|
|
5
|
+
component: ({ options, labelPosition, orientation, onChange, value, optionWrapperClassName, className, labelClassName, onValueChange }: import('./RadioGroup.types').RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ChangeEventHandler, ReactNode } from
|
|
1
|
+
import { ChangeEventHandler, ReactNode } from 'react';
|
|
2
|
+
|
|
2
3
|
export type RadioGroupOption = {
|
|
3
4
|
label: ReactNode;
|
|
4
5
|
value: string;
|
|
@@ -10,5 +11,8 @@ export type RadioGroupProps = {
|
|
|
10
11
|
orientation?: "vertical" | "horizontal";
|
|
11
12
|
onValueChange?: (value: string) => void;
|
|
12
13
|
value?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
optionWrapperClassName?: string;
|
|
16
|
+
labelClassName?: string;
|
|
13
17
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
14
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './RadioGroup';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { SegmentedControlProps } from
|
|
1
|
+
import { SegmentedControlProps } from './SegmentedControl.types';
|
|
2
|
+
|
|
2
3
|
export declare const SegmentedControl: ({ tabs, tabClass, size, onSelectionChange, ...props }: SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const meta: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ tabs, tabClass, size, onSelectionChange, ...props }: import(
|
|
3
|
+
component: ({ tabs, tabClass, size, onSelectionChange, ...props }: import('./SegmentedControl.types').SegmentedControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
tags: string[];
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './SegmentedControl';
|
|
2
|
+
export * from './SegmentedControl.types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Snackbar';
|
|
2
|
+
export * from './useSnackbar';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ icons, className }: import(
|
|
5
|
+
component: ({ icons, className }: import('./Switch.types').SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default meta;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Switch';
|
|
2
|
+
export * from './Switch.types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StoryObj } from
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: ({ tabs, defaultValue, variant, className, ...props }: import(
|
|
5
|
+
component: ({ tabs, defaultValue, variant, className, ...props }: import('./Tabs.types').TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
tags: string[];
|
|
6
7
|
parameters: {
|
|
7
8
|
layout: string;
|