@clickhouse/click-ui 0.0.14 → 0.0.15
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/click-ui.js +7 -0
- package/dist/click-ui.umd.cjs +1 -0
- package/dist/components/Button/Button.d.ts +283 -15
- package/dist/components/index.d.ts +0 -35
- package/dist/index.d.ts +0 -1
- package/package.json +5 -4
- package/dist/App.d.ts +0 -2
- package/dist/assets/RightArrow/RightArrow.d.ts +0 -1
- package/dist/assets/S3Logo/S3Logo.d.ts +0 -1
- package/dist/click-ui.es.js +0 -14174
- package/dist/click-ui.umd.js +0 -687
- package/dist/components/Accordion/Accordion.d.ts +0 -572
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -293
- package/dist/components/Accordion/Accordion.test.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -16
- package/dist/components/Alert/Alert.stories.d.ts +0 -12
- package/dist/components/Alert/Alert.test.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +0 -7
- package/dist/components/Avatar/Avatar.stories.d.ts +0 -11
- package/dist/components/Badge/Badge.d.ts +0 -16
- package/dist/components/Badge/Badge.stories.d.ts +0 -34
- package/dist/components/Badge/Badge.test.d.ts +0 -1
- package/dist/components/BigStat/BigStat.d.ts +0 -10
- package/dist/components/BigStat/BigStat.stories.d.ts +0 -20
- package/dist/components/Button/Button.stories.d.ts +0 -28
- package/dist/components/Button/Button.test.d.ts +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -6
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -12
- package/dist/components/CardPrimary/CardPrimary.d.ts +0 -13
- package/dist/components/CardPrimary/CardPrimary.stories.d.ts +0 -18
- package/dist/components/CardPrimary/CardPrimary.test.d.ts +0 -1
- package/dist/components/CardSecondary/CardSecondary.d.ts +0 -15
- package/dist/components/CardSecondary/CardSecondary.stories.d.ts +0 -27
- package/dist/components/CardSecondary/CardSecondary.test.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +0 -5
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -29
- package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/components/Collapsible/Collapsible.d.ts +0 -32
- package/dist/components/Collapsible/Collapsible.test.d.ts +0 -1
- package/dist/components/Collapsible/IconWrapper.d.ts +0 -7
- package/dist/components/ContextMenu/ContextMenu.d.ts +0 -38
- package/dist/components/ContextMenu/ContextMenu.stories.d.ts +0 -30
- package/dist/components/ContextMenu/ContextMenu.test.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +0 -38
- package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -36
- package/dist/components/Dropdown/Dropdown.test.d.ts +0 -1
- package/dist/components/FileTabs/FileTabs.d.ts +0 -39
- package/dist/components/FileTabs/FileTabs.stories.d.ts +0 -23
- package/dist/components/FileTabs/FileTabs.test.d.ts +0 -0
- package/dist/components/GenericMenu.d.ts +0 -763
- package/dist/components/HoverCard/HoverCard.d.ts +0 -20
- package/dist/components/HoverCard/HoverCard.stories.d.ts +0 -36
- package/dist/components/HoverCard/HoverCard.test.d.ts +0 -0
- package/dist/components/Icon/Icon.d.ts +0 -484
- package/dist/components/Icon/Icon.stories.d.ts +0 -494
- package/dist/components/Icon/IconCommon.d.ts +0 -570
- package/dist/components/Icon/types.d.ts +0 -8
- package/dist/components/IconButton/IconButton.d.ts +0 -9
- package/dist/components/IconButton/IconButton.stories.d.ts +0 -30
- package/dist/components/IconButton/IconButton.test.d.ts +0 -1
- package/dist/components/Input/InputWrapper.d.ts +0 -797
- package/dist/components/Input/NumberField.d.ts +0 -8
- package/dist/components/Input/NumberField.stories.d.ts +0 -34
- package/dist/components/Input/PasswordField.d.ts +0 -8
- package/dist/components/Input/PasswordField.stories.d.ts +0 -34
- package/dist/components/Input/SearchField.d.ts +0 -9
- package/dist/components/Input/SearchField.stories.d.ts +0 -37
- package/dist/components/Input/TextField.d.ts +0 -10
- package/dist/components/Input/TextField.stories.d.ts +0 -43
- package/dist/components/Label/Label.d.ts +0 -7
- package/dist/components/Label/Label.stories.d.ts +0 -28
- package/dist/components/Panel/Panel.d.ts +0 -11
- package/dist/components/Panel/Panel.stories.d.ts +0 -23
- package/dist/components/Popover/Popover.d.ts +0 -23
- package/dist/components/Popover/Popover.stories.d.ts +0 -43
- package/dist/components/Popover/Popover.test.d.ts +0 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -17
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +0 -39
- package/dist/components/RadioGroup/RadioGroup.test.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +0 -43
- package/dist/components/Select/Select.stories.d.ts +0 -54
- package/dist/components/Select/Select.test.d.ts +0 -0
- package/dist/components/Select/SelectContext.d.ts +0 -24
- package/dist/components/Select/useSelect.d.ts +0 -8
- package/dist/components/Separator/Separator.d.ts +0 -6
- package/dist/components/SidebarCollapsibleItem/SidebarCollapsibleItem.d.ts +0 -15
- package/dist/components/SidebarCollapsibleItem/SidebarCollapsibleItem.stories.d.ts +0 -14
- package/dist/components/SidebarCollapsibleItem/SidebarCollapsibleItem.test.d.ts +0 -1
- package/dist/components/SidebarCollapsibleTitle/SidebarCollapsibleTitle.d.ts +0 -12
- package/dist/components/SidebarCollapsibleTitle/SidebarCollapsibleTitle.stories.d.ts +0 -14
- package/dist/components/SidebarCollapsibleTitle/SidebarCollapsibleTitle.test.d.ts +0 -1
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +0 -15
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.stories.d.ts +0 -13
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.test.d.ts +0 -1
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +0 -12
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.stories.d.ts +0 -13
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.test.d.ts +0 -1
- package/dist/components/Spacer/Spacer.d.ts +0 -6
- package/dist/components/Spacer/Spacer.stories.d.ts +0 -19
- package/dist/components/SplitButton/SplitButton.d.ts +0 -32
- package/dist/components/SplitButton/SplitButton.stories.d.ts +0 -28
- package/dist/components/SplitButton/SplitButton.test.d.ts +0 -1
- package/dist/components/Switch/Switch.d.ts +0 -8
- package/dist/components/Table/Table.d.ts +0 -568
- package/dist/components/Table/Table.stories.d.ts +0 -575
- package/dist/components/Tabs/Tabs.d.ts +0 -848
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -845
- package/dist/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +0 -17
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -45
- package/dist/components/Tooltip/Tooltip.test.d.ts +0 -1
- package/dist/components/Typography/Text/Text.d.ts +0 -19
- package/dist/components/Typography/Text/Text.stories.d.ts +0 -29
- package/dist/components/Typography/Text/Text.test.d.ts +0 -1
- package/dist/components/Typography/Title/Title.d.ts +0 -14
- package/dist/components/Typography/Title/Title.stories.d.ts +0 -35
- package/dist/components/Typography/Title/Title.test.d.ts +0 -1
- package/dist/components/commonElement.d.ts +0 -1382
- package/dist/components/icons/Activity.d.ts +0 -3
- package/dist/components/icons/ArrowDown.d.ts +0 -3
- package/dist/components/icons/ArrowRight.d.ts +0 -3
- package/dist/components/icons/ArrowTriangle.d.ts +0 -3
- package/dist/components/icons/ArrowUp.d.ts +0 -3
- package/dist/components/icons/Backups.d.ts +0 -3
- package/dist/components/icons/Blog.d.ts +0 -3
- package/dist/components/icons/Book.d.ts +0 -3
- package/dist/components/icons/Brackets.d.ts +0 -3
- package/dist/components/icons/Briefcase.d.ts +0 -3
- package/dist/components/icons/Building.d.ts +0 -3
- package/dist/components/icons/BurgerMenu.d.ts +0 -3
- package/dist/components/icons/Cards.d.ts +0 -3
- package/dist/components/icons/CellTower.d.ts +0 -3
- package/dist/components/icons/ChatIcon.d.ts +0 -3
- package/dist/components/icons/CheckIcon.d.ts +0 -3
- package/dist/components/icons/CheckInCircle.d.ts +0 -3
- package/dist/components/icons/ChevronDown.d.ts +0 -2
- package/dist/components/icons/ChevronLeft.d.ts +0 -3
- package/dist/components/icons/ChevronRight.d.ts +0 -2
- package/dist/components/icons/ChevronUp.d.ts +0 -3
- package/dist/components/icons/Clock.d.ts +0 -3
- package/dist/components/icons/Cloud.d.ts +0 -3
- package/dist/components/icons/Code.d.ts +0 -3
- package/dist/components/icons/CodeInSquare.d.ts +0 -3
- package/dist/components/icons/Connect.d.ts +0 -3
- package/dist/components/icons/ConnectAlt.d.ts +0 -3
- package/dist/components/icons/Console.d.ts +0 -3
- package/dist/components/icons/Copy.d.ts +0 -3
- package/dist/components/icons/CrossIcon.d.ts +0 -3
- package/dist/components/icons/Data.d.ts +0 -3
- package/dist/components/icons/DatabaseIcon.d.ts +0 -3
- package/dist/components/icons/Disk.d.ts +0 -3
- package/dist/components/icons/Display.d.ts +0 -3
- package/dist/components/icons/Document.d.ts +0 -3
- package/dist/components/icons/DotsHorizontal.d.ts +0 -3
- package/dist/components/icons/DotsVertical.d.ts +0 -3
- package/dist/components/icons/Email.d.ts +0 -3
- package/dist/components/icons/Empty.d.ts +0 -3
- package/dist/components/icons/Eye.d.ts +0 -3
- package/dist/components/icons/EyeClosed.d.ts +0 -3
- package/dist/components/icons/FilterIcon.d.ts +0 -3
- package/dist/components/icons/Fire.d.ts +0 -3
- package/dist/components/icons/Flags/EuropeanUnion.d.ts +0 -3
- package/dist/components/icons/Flags/Germany.d.ts +0 -3
- package/dist/components/icons/Flags/India.d.ts +0 -3
- package/dist/components/icons/Flags/Ireland.d.ts +0 -3
- package/dist/components/icons/Flags/Netherlands.d.ts +0 -3
- package/dist/components/icons/Flags/Singapore.d.ts +0 -3
- package/dist/components/icons/Flags/UnitedKingdom.d.ts +0 -3
- package/dist/components/icons/Flags/UnitedStates.d.ts +0 -3
- package/dist/components/icons/Flags/index.d.ts +0 -6
- package/dist/components/icons/Folder.d.ts +0 -3
- package/dist/components/icons/Gift.d.ts +0 -3
- package/dist/components/icons/HistoryIcon.d.ts +0 -3
- package/dist/components/icons/Home.d.ts +0 -3
- package/dist/components/icons/Http.d.ts +0 -3
- package/dist/components/icons/InfoInCircleIcon.d.ts +0 -3
- package/dist/components/icons/InformationIcon.d.ts +0 -3
- package/dist/components/icons/InsertRowIcon.d.ts +0 -3
- package/dist/components/icons/Integrations.d.ts +0 -3
- package/dist/components/icons/LightBulb.d.ts +0 -3
- package/dist/components/icons/Lightening.d.ts +0 -3
- package/dist/components/icons/Loading.d.ts +0 -3
- package/dist/components/icons/LoadingAnimated.d.ts +0 -482
- package/dist/components/icons/Metrics.d.ts +0 -3
- package/dist/components/icons/MetricsAlt.d.ts +0 -3
- package/dist/components/icons/Payment.d.ts +0 -3
- package/dist/components/icons/Payments/Amex.d.ts +0 -3
- package/dist/components/icons/Payments/MasterCard.d.ts +0 -3
- package/dist/components/icons/Payments/Paypal.d.ts +0 -3
- package/dist/components/icons/Payments/Visa.d.ts +0 -3
- package/dist/components/icons/Payments/index.d.ts +0 -6
- package/dist/components/icons/Pencil.d.ts +0 -3
- package/dist/components/icons/PieChart.d.ts +0 -3
- package/dist/components/icons/Play.d.ts +0 -3
- package/dist/components/icons/Plus.d.ts +0 -3
- package/dist/components/icons/Popout.d.ts +0 -3
- package/dist/components/icons/PopoverArrow.d.ts +0 -3
- package/dist/components/icons/Question.d.ts +0 -3
- package/dist/components/icons/Refresh.d.ts +0 -3
- package/dist/components/icons/Search.d.ts +0 -3
- package/dist/components/icons/Secure.d.ts +0 -3
- package/dist/components/icons/Services.d.ts +0 -3
- package/dist/components/icons/Settings.d.ts +0 -3
- package/dist/components/icons/Share.d.ts +0 -3
- package/dist/components/icons/SlideIn.d.ts +0 -3
- package/dist/components/icons/SlideOut.d.ts +0 -3
- package/dist/components/icons/SortAltIcon.d.ts +0 -3
- package/dist/components/icons/SortIcon.d.ts +0 -3
- package/dist/components/icons/Sparkle.d.ts +0 -3
- package/dist/components/icons/Speaker.d.ts +0 -3
- package/dist/components/icons/Speed.d.ts +0 -3
- package/dist/components/icons/Star.d.ts +0 -3
- package/dist/components/icons/Support.d.ts +0 -3
- package/dist/components/icons/Table.d.ts +0 -3
- package/dist/components/icons/Taxi.d.ts +0 -3
- package/dist/components/icons/Trash.d.ts +0 -3
- package/dist/components/icons/Upload.d.ts +0 -3
- package/dist/components/icons/Url.d.ts +0 -3
- package/dist/components/icons/UserIcon.d.ts +0 -2
- package/dist/components/icons/UsersIcon.d.ts +0 -2
- package/dist/components/icons/WarningIcon.d.ts +0 -3
- package/dist/components/types.d.ts +0 -59
- package/dist/main.d.ts +0 -0
- package/dist/styles/types.d.ts +0 -2266
- package/dist/styles/variables.classic.json.d.ts +0 -268
- package/dist/styles/variables.dark.json.d.ts +0 -954
- package/dist/styles/variables.json.d.ts +0 -2268
- package/dist/styles/variables.light.json.d.ts +0 -1006
- package/dist/theme/index.d.ts +0 -10
- package/dist/theme/theme.d.ts +0 -6
- package/dist/utils/mergeRefs.d.ts +0 -2
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
-
import { WrapperProps } from "./InputWrapper";
|
|
3
|
-
export interface NumberFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
|
|
4
|
-
type?: "number";
|
|
5
|
-
loading: boolean;
|
|
6
|
-
onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const NumberField: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { NumberFieldProps } from "./NumberField";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ value: valueProp, ...props }: Omit<NumberFieldProps, "onChange">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
value: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
label: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
error: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
placeholder: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
readOnly: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
28
|
-
export declare const Playground: {
|
|
29
|
-
args: {
|
|
30
|
-
label: string;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
placeholder: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
-
import { WrapperProps } from "./InputWrapper";
|
|
3
|
-
export interface PasswordFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "string" | "onChange"> {
|
|
4
|
-
type?: "password";
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const PasswordField: import("react").ForwardRefExoticComponent<PasswordFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PasswordFieldProps } from "./PasswordField";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ value: valueProp, ...props }: Omit<PasswordFieldProps, "onChange">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
value: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
label: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
error: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
placeholder: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
readOnly: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
28
|
-
export declare const Playground: {
|
|
29
|
-
args: {
|
|
30
|
-
label: string;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
placeholder: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
-
import { WrapperProps } from "./InputWrapper";
|
|
3
|
-
export interface SearchFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "string" | "onChange"> {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
value?: string;
|
|
6
|
-
clear?: boolean;
|
|
7
|
-
onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const SearchField: import("react").ForwardRefExoticComponent<SearchFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SearchFieldProps } from "./SearchField";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ value: valueProp, ...props }: Omit<SearchFieldProps, "onChange">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
value: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
clear: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
label: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
error: {
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
disabled: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
placeholder: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
readOnly: {
|
|
26
|
-
control: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default _default;
|
|
31
|
-
export declare const Playground: {
|
|
32
|
-
args: {
|
|
33
|
-
label: string;
|
|
34
|
-
disabled: boolean;
|
|
35
|
-
placeholder: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, InputHTMLAttributes } from "react";
|
|
2
|
-
import { WrapperProps } from "./InputWrapper";
|
|
3
|
-
export interface TextFieldProps extends Omit<WrapperProps, "id" | "children">, Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "type" | "value" | "onChange"> {
|
|
4
|
-
type?: "text" | "email" | "tel" | "url";
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
value?: string;
|
|
7
|
-
clear?: boolean;
|
|
8
|
-
onChange: (inputValue: string, e?: ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const TextField: import("react").ForwardRefExoticComponent<TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { TextFieldProps } from "./TextField";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: ({ value: valueProp, ...props }: Omit<TextFieldProps, "onChange">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
type: {
|
|
8
|
-
control: string;
|
|
9
|
-
options: string[];
|
|
10
|
-
};
|
|
11
|
-
value: {
|
|
12
|
-
control: string;
|
|
13
|
-
};
|
|
14
|
-
clear: {
|
|
15
|
-
control: string;
|
|
16
|
-
};
|
|
17
|
-
label: {
|
|
18
|
-
control: string;
|
|
19
|
-
};
|
|
20
|
-
error: {
|
|
21
|
-
control: string;
|
|
22
|
-
};
|
|
23
|
-
disabled: {
|
|
24
|
-
control: string;
|
|
25
|
-
};
|
|
26
|
-
placeholder: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
readOnly: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|
|
35
|
-
export declare const Playground: {
|
|
36
|
-
args: {
|
|
37
|
-
label: string;
|
|
38
|
-
clear: boolean;
|
|
39
|
-
type: string;
|
|
40
|
-
disabled: boolean;
|
|
41
|
-
placeholder: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
2
|
-
export interface LabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
error?: boolean;
|
|
5
|
-
htmlFor?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Label: ({ disabled, error, children, ...props }: LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ disabled, error, text, }: {
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
error: boolean;
|
|
5
|
-
text: string;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
title: string;
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
disabled: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
error: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
text: {
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
22
|
-
export declare const Default: {
|
|
23
|
-
args: {
|
|
24
|
-
text: string;
|
|
25
|
-
error: boolean;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type panelPadding = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
3
|
-
export type panelColor = "default" | "muted" | "transparent";
|
|
4
|
-
export interface panelProps {
|
|
5
|
-
hasBorder?: boolean;
|
|
6
|
-
hasShadow?: boolean;
|
|
7
|
-
color?: panelColor;
|
|
8
|
-
padding?: panelPadding;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const Panel: ({ hasBorder, hasShadow, color, padding, children }: panelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ hasBorder, hasShadow, color, padding, children }: import("./Panel").panelProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
argTypes: {
|
|
6
|
-
padding: {
|
|
7
|
-
options: string[];
|
|
8
|
-
control: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
15
|
-
export declare const Playground: {
|
|
16
|
-
args: {
|
|
17
|
-
color: string;
|
|
18
|
-
padding: string;
|
|
19
|
-
hasBorder: boolean;
|
|
20
|
-
hasShadow: boolean;
|
|
21
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as RadixPopover from "@radix-ui/react-popover";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
export declare const Popover: {
|
|
4
|
-
({ children, ...props }: RadixPopover.PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
Trigger: {
|
|
6
|
-
({ children, anchor, ...props }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
Content: {
|
|
10
|
-
({ children, showArrow, showClose, forceMount, container, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
interface TriggerProps extends RadixPopover.PopoverTriggerProps {
|
|
15
|
-
anchor?: ReactNode;
|
|
16
|
-
}
|
|
17
|
-
interface PopoverContentProps extends RadixPopover.PopoverContentProps {
|
|
18
|
-
showArrow?: boolean;
|
|
19
|
-
showClose?: boolean;
|
|
20
|
-
forceMount?: true;
|
|
21
|
-
container?: HTMLElement | null;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ open, modal, showArrow, showClose, forceMount, side, }: {
|
|
3
|
-
open: "default" | "open" | "closed";
|
|
4
|
-
modal: boolean;
|
|
5
|
-
showArrow: boolean;
|
|
6
|
-
showClose: boolean;
|
|
7
|
-
forceMount?: boolean | undefined;
|
|
8
|
-
side: "top" | "right" | "bottom" | "left";
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
title: string;
|
|
11
|
-
tags: string[];
|
|
12
|
-
argTypes: {
|
|
13
|
-
open: {
|
|
14
|
-
control: string;
|
|
15
|
-
options: string[];
|
|
16
|
-
};
|
|
17
|
-
modal: {
|
|
18
|
-
control: string;
|
|
19
|
-
};
|
|
20
|
-
showArrow: {
|
|
21
|
-
control: string;
|
|
22
|
-
};
|
|
23
|
-
showClose: {
|
|
24
|
-
control: string;
|
|
25
|
-
};
|
|
26
|
-
forceMount: {
|
|
27
|
-
control: string;
|
|
28
|
-
};
|
|
29
|
-
side: {
|
|
30
|
-
control: string;
|
|
31
|
-
options: string[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export default _default;
|
|
36
|
-
export declare const Default: {
|
|
37
|
-
args: {
|
|
38
|
-
open: string;
|
|
39
|
-
showArrow: boolean;
|
|
40
|
-
showClose: boolean;
|
|
41
|
-
side: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
2
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
3
|
-
export interface RadioGroupProps extends RadixRadioGroup.RadioGroupProps {
|
|
4
|
-
inline?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const RadioGroup: {
|
|
7
|
-
({ children, inline, ...props }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
Item: {
|
|
9
|
-
({ id, label, value, disabled, required, ...props }: RadioGroupItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
interface RadioGroupInputProps extends RadixRadioGroup.RadioGroupItemProps {
|
|
14
|
-
label?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export type RadioGroupItemProps = RadioGroupInputProps & HTMLAttributes<HTMLDivElement>;
|
|
17
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { RadioGroupProps } from "./RadioGroup";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
component: (props: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
disabled: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
required: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
inline: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
dir: {
|
|
17
|
-
control: string;
|
|
18
|
-
options: string[];
|
|
19
|
-
};
|
|
20
|
-
orientation: {
|
|
21
|
-
control: string;
|
|
22
|
-
options: string[];
|
|
23
|
-
};
|
|
24
|
-
loop: {
|
|
25
|
-
control: string;
|
|
26
|
-
options: (boolean | undefined)[];
|
|
27
|
-
};
|
|
28
|
-
value: {
|
|
29
|
-
control: string;
|
|
30
|
-
options: (string | undefined)[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|
|
35
|
-
export declare const Default: {
|
|
36
|
-
args: {
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import * as RadixPopover from "@radix-ui/react-popover";
|
|
3
|
-
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
label?: ReactNode;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
error?: ReactNode;
|
|
8
|
-
showSearch?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
onChange?: (value: string) => void;
|
|
12
|
-
name?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
isFormControl?: boolean;
|
|
15
|
-
value?: string;
|
|
16
|
-
}
|
|
17
|
-
declare type DivProps = HTMLAttributes<HTMLDivElement>;
|
|
18
|
-
export type SelectProps = RadixPopover.PopoverProps & Props;
|
|
19
|
-
export declare const Select: {
|
|
20
|
-
({ placeholder, label, children, disabled, id, error, value, defaultValue, onChange, open, defaultOpen, onOpenChange, name, required, isFormControl, showSearch, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
Group: import("react").ForwardRefExoticComponent<GroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
|
-
Item: import("react").ForwardRefExoticComponent<ItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
-
NoData: {
|
|
24
|
-
({ children, onClick, ...props }: SelectNoDataProps): ReactNode;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
interface GroupProps extends Omit<DivProps, "value" | "heading"> {
|
|
29
|
-
heading?: ReactNode;
|
|
30
|
-
value?: string;
|
|
31
|
-
}
|
|
32
|
-
interface ItemProps extends Omit<DivProps, "disabled" | "onSelect" | "value"> {
|
|
33
|
-
separator?: boolean;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
onSelect?: (value: string) => void;
|
|
36
|
-
value?: string;
|
|
37
|
-
}
|
|
38
|
-
type SelectNoDataProps = Omit<HTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
39
|
-
children?: (props: {
|
|
40
|
-
search: string;
|
|
41
|
-
}) => ReactNode;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { SelectProps } from "./Select";
|
|
2
|
-
interface Props extends SelectProps {
|
|
3
|
-
clickableNoData?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: {
|
|
6
|
-
component: ({ clickableNoData, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
title: string;
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
label: {
|
|
11
|
-
control: string;
|
|
12
|
-
};
|
|
13
|
-
disabled: {
|
|
14
|
-
control: string;
|
|
15
|
-
};
|
|
16
|
-
error: {
|
|
17
|
-
control: string;
|
|
18
|
-
};
|
|
19
|
-
value: {
|
|
20
|
-
control: string;
|
|
21
|
-
};
|
|
22
|
-
defaultValue: {
|
|
23
|
-
control: string;
|
|
24
|
-
};
|
|
25
|
-
open: {
|
|
26
|
-
control: string;
|
|
27
|
-
options: (boolean | undefined)[];
|
|
28
|
-
};
|
|
29
|
-
defaultOpen: {
|
|
30
|
-
control: string;
|
|
31
|
-
};
|
|
32
|
-
name: {
|
|
33
|
-
control: string;
|
|
34
|
-
};
|
|
35
|
-
required: {
|
|
36
|
-
control: string;
|
|
37
|
-
};
|
|
38
|
-
showSearch: {
|
|
39
|
-
control: string;
|
|
40
|
-
};
|
|
41
|
-
isFormCotrol: {
|
|
42
|
-
control: string;
|
|
43
|
-
};
|
|
44
|
-
clickableNoData: {
|
|
45
|
-
control: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _default;
|
|
50
|
-
export declare const Playground: {
|
|
51
|
-
args: {
|
|
52
|
-
label: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from "react";
|
|
2
|
-
type ContextProps = {
|
|
3
|
-
selectedValue?: string | null;
|
|
4
|
-
onSelect: (value: string) => void;
|
|
5
|
-
popperOpen: boolean;
|
|
6
|
-
valueNode: ReactNode | null;
|
|
7
|
-
onOpenChange: (value: boolean) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const SelectContext: import("react").Context<ContextProps>;
|
|
10
|
-
type Props = {
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
value?: string;
|
|
13
|
-
defaultValue?: string;
|
|
14
|
-
updateValueNode: (value?: string) => ReactElement | null;
|
|
15
|
-
defaultOpen?: boolean;
|
|
16
|
-
onOpenChange?: (value: boolean) => void;
|
|
17
|
-
onChange?: (value: string) => void;
|
|
18
|
-
};
|
|
19
|
-
export declare const SelectProvider: ({ value, children, }: {
|
|
20
|
-
children: ReactNode;
|
|
21
|
-
value: ContextProps;
|
|
22
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export declare const SelectContextProvider: ({ children, value, defaultValue, updateValueNode, defaultOpen, onOpenChange: onOpenChangeProp, onChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as RadixSeparator from "@radix-ui/react-separator";
|
|
2
|
-
interface Props extends RadixSeparator.SeparatorProps {
|
|
3
|
-
size: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
4
|
-
}
|
|
5
|
-
declare const Separator: ({ orientation, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Separator;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import { HorizontalDirection, IconName } from '../../components';
|
|
3
|
-
export interface SidebarCollapsibleItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onOpenChange?: (value: boolean) => void;
|
|
8
|
-
iconDir?: HorizontalDirection;
|
|
9
|
-
icon?: IconName;
|
|
10
|
-
indicatorDir?: HorizontalDirection;
|
|
11
|
-
selected?: boolean;
|
|
12
|
-
level?: number;
|
|
13
|
-
}
|
|
14
|
-
declare const SidebarCollapsibleItem: ({ label, children, open, onOpenChange, iconDir, indicatorDir, icon, level, selected, ...props }: SidebarCollapsibleItemProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
15
|
-
export { SidebarCollapsibleItem };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ label, children, open, onOpenChange, iconDir, indicatorDir, icon, level, selected, ...props }: import('../../components').SidebarCollapsibleItemProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
args: {
|
|
9
|
-
icon: string;
|
|
10
|
-
selected: boolean;
|
|
11
|
-
label: import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { HorizontalDirection, IconName } from '../../components';
|
|
3
|
-
export interface SidebarCollapsibleTitleProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onOpenChange?: (value: boolean) => void;
|
|
8
|
-
iconDir?: HorizontalDirection;
|
|
9
|
-
icon?: IconName;
|
|
10
|
-
selected?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const SidebarCollapsibleTitle: ({ label, children, open, onOpenChange, iconDir, icon, selected, ...props }: SidebarCollapsibleTitleProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ label, children, open, onOpenChange, iconDir, icon, selected, ...props }: import('../../components').SidebarCollapsibleTitleProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
args: {
|
|
9
|
-
icon: string;
|
|
10
|
-
label: string;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import { HorizontalDirection, IconName } from '../../components';
|
|
3
|
-
export interface SidebarNavigationItemProps extends HTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
selected?: boolean;
|
|
6
|
-
level?: number;
|
|
7
|
-
icon?: IconName;
|
|
8
|
-
iconDir?: HorizontalDirection;
|
|
9
|
-
}
|
|
10
|
-
declare const SidebarNavigationItem: ({ label, level, icon, selected, iconDir, ...props }: SidebarNavigationItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const SidebarItemWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
12
|
-
$collapsible?: boolean | undefined;
|
|
13
|
-
$level: number;
|
|
14
|
-
}>>;
|
|
15
|
-
export { SidebarNavigationItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: ({ label, level, icon, selected, iconDir, ...props }: import('../../components').SidebarNavigationItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
args: {
|
|
9
|
-
icon: string;
|
|
10
|
-
selected: boolean;
|
|
11
|
-
label: import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
import { HorizontalDirection, IconName } from '../../components';
|
|
3
|
-
export interface SidebarNavigationTitleProps extends HTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
label: ReactNode;
|
|
5
|
-
selected?: boolean;
|
|
6
|
-
icon?: IconName;
|
|
7
|
-
iconDir?: HorizontalDirection;
|
|
8
|
-
}
|
|
9
|
-
export declare const SidebarNavigationTitle: ({ label, icon, iconDir, selected, ...props }: SidebarNavigationTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const SidebarTitleWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
11
|
-
$collapsible?: boolean | undefined;
|
|
12
|
-
}>>;
|