@inntechcorp/it-design 3.1.24 → 4.0.0-beta.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.
- package/ACCESSIBILITY.md +517 -0
- package/README.md +88 -11
- package/dist/accordion/index.d.ts +2 -2
- package/dist/accordion/item/styled.d.ts +2 -2
- package/dist/accordion/styled.d.ts +1 -0
- package/dist/accordion/submenu/styled.d.ts +5 -5
- package/dist/alert/Description.d.ts +7 -0
- package/dist/alert/Title.d.ts +7 -0
- package/dist/alert/alert.style.error.d.ts +1 -1
- package/dist/alert/alert.style.info.d.ts +1 -1
- package/dist/alert/alert.style.neutral.d.ts +4 -0
- package/dist/alert/alert.style.success.d.ts +1 -1
- package/dist/alert/alert.style.warning.d.ts +1 -1
- package/dist/alert/index.d.ts +4 -2
- package/dist/alert/styled.d.ts +4 -8
- package/dist/alink/index.d.ts +2 -10
- package/dist/alink/styled.d.ts +1 -1
- package/dist/back-top/styled.d.ts +2 -2
- package/dist/button/button.style.default.d.ts +1 -1
- package/dist/button/button.style.filled.d.ts +1 -1
- package/dist/button/button.style.ghost.d.ts +1 -1
- package/dist/button/button.style.icon.d.ts +2 -2
- package/dist/button/button.style.link.d.ts +1 -1
- package/dist/button/button.style.outline.d.ts +1 -1
- package/dist/button/button.style.size.d.ts +4 -1
- package/dist/button/button.style.solid.d.ts +1 -1
- package/dist/button/index.d.ts +10 -2
- package/dist/button/styled.d.ts +3 -12
- package/dist/calendar/day/Day.d.ts +2 -2
- package/dist/calendar/day/styled.d.ts +1 -1
- package/dist/calendar/header/styled.d.ts +6 -6
- package/dist/calendar/index.d.ts +11 -3
- package/dist/calendar/styled.d.ts +6 -6
- package/dist/card/Card.d.ts +9 -0
- package/dist/card/CardAction.d.ts +7 -0
- package/dist/card/CardContent.d.ts +7 -0
- package/dist/card/CardDescription.d.ts +7 -0
- package/dist/card/CardFooter.d.ts +8 -0
- package/dist/card/CardHeader.d.ts +8 -0
- package/dist/card/CardTabs.d.ts +7 -0
- package/dist/card/CardTitle.d.ts +7 -0
- package/dist/card/index.d.ts +8 -3
- package/dist/card/styles.d.ts +9 -9
- package/dist/checkbox/group/index.d.ts +1 -1
- package/dist/checkbox/group/styled.d.ts +1 -1
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/checkbox/styled.d.ts +6 -5
- package/dist/context/ITDContext.d.ts +3 -2
- package/dist/context/ITDThemeProvider.d.ts +8 -0
- package/dist/context/styled.d.ts +1 -1
- package/dist/datepicker/index.d.ts +2 -2
- package/dist/datepicker/styled.d.ts +5 -5
- package/dist/enums/enum.d.ts +138 -8
- package/dist/flex/index.d.ts +1 -1
- package/dist/flex/styled.d.ts +2 -2
- package/dist/floating/Arrow.d.ts +17 -0
- package/dist/floating/FloatingContent.d.ts +60 -0
- package/dist/floating/mergeTriggerProps.d.ts +8 -0
- package/dist/form/context/FormContext.d.ts +5 -2
- package/dist/form/context/FormStore.d.ts +6 -3
- package/dist/form/control/Control.d.ts +1 -1
- package/dist/form/control/styled.d.ts +1 -1
- package/dist/form/group/Group.d.ts +1 -1
- package/dist/form/group/styled.d.ts +1 -1
- package/dist/form/index.d.ts +5 -5
- package/dist/form/item/Item.d.ts +2 -3
- package/dist/form/validation/Validator.d.ts +2 -3
- package/dist/form/wrapper/FormWrapper.d.ts +2 -2
- package/dist/helpers/binary/GetTypeByFileType.d.ts +2 -2
- package/dist/helpers/country/GetCountryCodeByCurrencyCode.d.ts +1 -1
- package/dist/helpers/country/GetCountryCodeByLanguage.d.ts +1 -1
- package/dist/helpers/css/FindSelector.d.ts +10 -0
- package/dist/helpers/currency/ConvertCurrency.d.ts +1 -1
- package/dist/helpers/currency/GetCurrencyFormat.d.ts +9 -0
- package/dist/helpers/currency/GetCurrencySymbol.d.ts +1 -1
- package/dist/helpers/datetime/FormatTime.d.ts +1 -1
- package/dist/helpers/datetime/dayjsSetup.d.ts +1 -1
- package/dist/helpers/index.d.ts +36 -32
- package/dist/helpers/locale/getLocaleDateByString.d.ts +1 -0
- package/dist/helpers/svg/styles.d.ts +1 -1
- package/dist/helpers/theme/Color.d.ts +19 -0
- package/dist/helpers/theme/GenerateColorScale.d.ts +16 -0
- package/dist/helpers/theme/cssVariables.d.ts +30 -0
- package/dist/helpers/theme/dark.d.ts +3 -0
- package/dist/helpers/theme/index.d.ts +9 -0
- package/dist/helpers/theme/light.d.ts +3 -0
- package/dist/helpers/theme/themes.d.ts +5 -0
- package/dist/helpers/theme/tokens.d.ts +392 -0
- package/dist/hooks/index.d.ts +15 -15
- package/dist/hooks/useAddExternalCSS.d.ts +4 -5
- package/dist/hooks/useAvoidCollision.d.ts +6 -1
- package/dist/hooks/useComponentSize.d.ts +1 -1
- package/dist/hooks/useConnectionStatus.d.ts +1 -1
- package/dist/hooks/useFloatingPosition.d.ts +63 -0
- package/dist/hooks/useFloatingTrigger.d.ts +64 -0
- package/dist/hooks/useFocusTrap.d.ts +36 -0
- package/dist/hooks/useOnClickOutside.d.ts +1 -1
- package/dist/hooks/useSingleQuery.d.ts +1 -1
- package/dist/hovercard/HoverCard.d.ts +12 -0
- package/dist/hovercard/HoverCardContent.d.ts +22 -0
- package/dist/hovercard/HoverCardTrigger.d.ts +17 -0
- package/dist/hovercard/hoverCardContext.d.ts +7 -0
- package/dist/hovercard/index.d.ts +4 -0
- package/dist/html/header/H1.d.ts +1 -1
- package/dist/html/header/H2.d.ts +1 -1
- package/dist/html/header/H3.d.ts +1 -1
- package/dist/html/header/H4.d.ts +1 -1
- package/dist/html/header/index.d.ts +4 -4
- package/dist/html/header/styled.d.ts +4 -4
- package/dist/icons/index.d.ts +11 -14
- package/dist/image/index.d.ts +1 -2
- package/dist/image/styled.d.ts +5 -2
- package/dist/index.cjs.js +2695 -2580
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +168 -1787
- package/dist/index.es.js +22339 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.iife.js +5728 -0
- package/dist/index.iife.js.map +1 -0
- package/dist/index.umd.js +5728 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/input/index.d.ts +29 -2
- package/dist/input/style.settings.d.ts +9 -0
- package/dist/input/styled.d.ts +16 -18
- package/dist/label/index.d.ts +6 -0
- package/dist/label/style.settings.d.ts +9 -0
- package/dist/label/styled.d.ts +27 -0
- package/dist/link/index.d.ts +1 -10
- package/dist/locales/en/{calendar.json → calendar.json.d.ts} +4 -2
- package/dist/locales/en/{itd.json → itd.json.d.ts} +35 -20
- package/dist/locales/{calendar.json → tr/calendar.json.d.ts} +4 -2
- package/dist/locales/{itd.json → tr/itd.json.d.ts} +35 -21
- package/dist/logger/index.d.ts +9 -0
- package/dist/modal/container/ModalContainer.d.ts +4 -4
- package/dist/modal/container/styled.d.ts +2 -2
- package/dist/modal/context/ModalContext.d.ts +23 -14
- package/dist/modal/index.d.ts +7 -22
- package/dist/modal/modal/Modal.d.ts +2 -2
- package/dist/modal/modal/styled.d.ts +11 -11
- package/dist/notification/container/Container.d.ts +5 -0
- package/dist/notification/container/styled.d.ts +1 -0
- package/dist/notification/context/NotificationsContext.d.ts +2 -2
- package/dist/notification/index.d.ts +1 -1
- package/dist/notification/item/Item.d.ts +12 -0
- package/dist/notification/item/styled.d.ts +1166 -0
- package/dist/popover/Popover.d.ts +42 -0
- package/dist/popover/PopoverContent.d.ts +34 -0
- package/dist/popover/PopoverTrigger.d.ts +26 -0
- package/dist/popover/index.d.ts +4 -0
- package/dist/primitives/Slot.d.ts +36 -0
- package/dist/progress/styled.d.ts +1 -1
- package/dist/radio/button/RadioButton.d.ts +2 -2
- package/dist/radio/button/styled.d.ts +8 -9
- package/dist/radio/group/Group.d.ts +3 -3
- package/dist/radio/group/styled.d.ts +1 -1
- package/dist/radio/index.d.ts +2 -2
- package/dist/reportWebVitals.d.ts +2 -0
- package/dist/result/index.d.ts +2 -2
- package/dist/result/styled.d.ts +9 -9
- package/dist/select/dropdown/Dropdown.d.ts +20 -0
- package/dist/select/dropdown/styled.d.ts +14 -0
- package/dist/select/index.d.ts +1 -1
- package/dist/select/option/Option.d.ts +14 -6
- package/dist/select/option/styled.d.ts +4 -4
- package/dist/select/selector/Selector.d.ts +3 -0
- package/dist/select/selector/selectorinput/SelectorInput.d.ts +6 -0
- package/dist/select/selector/selectorinput/styled.d.ts +2 -0
- package/dist/select/selector/styled.d.ts +16 -0
- package/dist/select/style.settings.d.ts +83 -26
- package/dist/select/styled.d.ts +5 -3
- package/dist/setupTests.d.ts +1 -0
- package/dist/spin/styled.d.ts +4 -4
- package/dist/status/styled.d.ts +1 -1
- package/dist/stories/Accordion.d.ts +0 -1
- package/dist/stories/Accordion.stories.d.ts +3 -3
- package/dist/stories/Alert.stories.d.ts +18 -4
- package/dist/stories/AlertComposition.d.ts +2 -0
- package/dist/stories/AlertComposition.stories.d.ts +17 -0
- package/dist/stories/Button.d.ts +0 -1
- package/dist/stories/Button.stories.d.ts +16 -4
- package/dist/stories/Card.stories.d.ts +3 -2
- package/dist/stories/Checkbox.stories.d.ts +3 -3
- package/dist/stories/CheckboxGroup.stories.d.ts +3 -3
- package/dist/stories/CheckboxGroupControl.stories.d.ts +3 -3
- package/dist/stories/ColorScale.d.ts +10 -0
- package/dist/stories/ColorScale.stories.d.ts +24 -0
- package/dist/stories/ColorScaleCompare.d.ts +8 -0
- package/dist/stories/ColorScaleCompare.stories.d.ts +47 -0
- package/dist/stories/DatePicker.d.ts +0 -1
- package/dist/stories/DatePicker.stories.d.ts +3 -3
- package/dist/stories/Form.d.ts +1 -1
- package/dist/stories/Form.stories.d.ts +13 -3
- package/dist/stories/Header.d.ts +0 -1
- package/dist/stories/Header.stories.d.ts +5 -5
- package/dist/stories/HoverCard.d.ts +2 -0
- package/dist/stories/HoverCard.stories.d.ts +18 -0
- package/dist/stories/Input.d.ts +0 -1
- package/dist/stories/Input.stories.d.ts +86 -4
- package/dist/stories/ModalManager.d.ts +0 -1
- package/dist/stories/ModalManager.stories.d.ts +2 -2
- package/dist/stories/Page.d.ts +0 -1
- package/dist/stories/Page.stories.d.ts +2 -2
- package/dist/stories/Popover.d.ts +2 -0
- package/dist/stories/Popover.stories.d.ts +40 -0
- package/dist/stories/Progress.stories.d.ts +3 -3
- package/dist/stories/RadioGroup.stories.d.ts +3 -3
- package/dist/stories/Result.stories.d.ts +3 -3
- package/dist/stories/Select.d.ts +0 -1
- package/dist/stories/Select.stories.d.ts +16 -6
- package/dist/stories/Status.stories.d.ts +3 -3
- package/dist/stories/Switch.stories.d.ts +12 -5
- package/dist/stories/Table.stories.d.ts +2 -2
- package/dist/stories/Tabs.stories.d.ts +4 -10
- package/dist/stories/TextArea.d.ts +0 -1
- package/dist/stories/TextArea.stories.d.ts +11 -4
- package/dist/stories/Tooltip.d.ts +1 -0
- package/dist/stories/Tooltip.stories.d.ts +35 -0
- package/dist/stories/Upload.stories.d.ts +3 -8
- package/dist/stories/root/index.d.ts +1 -2
- package/dist/stories/select.styled.d.ts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/switch/styled.d.ts +4 -4
- package/dist/table/index.d.ts +2 -2
- package/dist/table/styled.d.ts +5 -5
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/styles.d.ts +4 -9
- package/dist/textarea/index.d.ts +1 -1
- package/dist/textarea/styled.d.ts +6 -8
- package/dist/tinyscrollbar/index.d.ts +1 -2
- package/dist/tinyscrollbar/scroll.styled.d.ts +1 -1
- package/dist/tinyscrollbar/styled.d.ts +1 -1
- package/dist/tooltip/Tooltip.d.ts +12 -0
- package/dist/tooltip/TooltipContent.d.ts +15 -0
- package/dist/tooltip/TooltipTrigger.d.ts +19 -0
- package/dist/tooltip/index.d.ts +4 -0
- package/dist/tooltip/tooltipContext.d.ts +7 -0
- package/dist/types/AccordionItemProps.d.ts +1 -1
- package/dist/types/AccordionProps.d.ts +1 -1
- package/dist/types/AccordionSubMenuProps.d.ts +1 -1
- package/dist/types/AlertProps.d.ts +6 -6
- package/dist/types/ButtonProps.d.ts +13 -31
- package/dist/types/CalendarProps.d.ts +4 -5
- package/dist/types/CardProps.d.ts +7 -3
- package/dist/types/CheckboxProps.d.ts +7 -3
- package/dist/types/DatePickerProps.d.ts +8 -7
- package/dist/types/FlexProps.d.ts +2 -2
- package/dist/types/FormProps.d.ts +10 -8
- package/dist/types/ITDProps.d.ts +4 -2
- package/dist/types/InputProps.d.ts +12 -18
- package/dist/types/LabelProps.d.ts +7 -0
- package/dist/types/ModalProps.d.ts +2 -2
- package/dist/types/PopoverProps.d.ts +10 -0
- package/dist/types/RadioProps.d.ts +3 -4
- package/dist/types/ResultProps.d.ts +2 -1
- package/dist/types/SelectProps.d.ts +22 -16
- package/dist/types/SingleQueryProps.d.ts +1 -1
- package/dist/types/StatusProps.d.ts +2 -2
- package/dist/types/SwitchProps.d.ts +4 -1
- package/dist/types/TableProps.d.ts +3 -2
- package/dist/types/TabsProps.d.ts +1 -2
- package/dist/types/TextAreaProps.d.ts +3 -3
- package/dist/types/Theme.d.ts +103 -0
- package/dist/types/UploadProps.d.ts +3 -40
- package/dist/upload/index.d.ts +2 -2
- package/dist/upload/styled.d.ts +11 -45
- package/dist/utils/CommonStyledComponents.d.ts +18 -0
- package/dist/utils/ErrorAnnouncement.d.ts +25 -0
- package/dist/utils/GetButtonSizeSlug.d.ts +6 -0
- package/dist/utils/GetIconSizeBySize.d.ts +1 -1
- package/dist/utils/GetSizeBySizeSlug.d.ts +2 -2
- package/dist/utils/GetSizeSlugBySize.d.ts +5 -2
- package/dist/utils/InlineSVGCached.d.ts +1 -1
- package/dist/utils/index.d.ts +6 -4
- package/package.json +87 -64
- package/dist/button/button.style.SVG.d.ts +0 -4
- package/dist/button/button.style.circle.d.ts +0 -4
- package/dist/button/button.style.strecth.d.ts +0 -4
- package/dist/cropper/index.d.ts +0 -44
- package/dist/global.css +0 -146
- package/dist/icons/FileDocument.d.ts +0 -6
- package/dist/icons/FileExcel.d.ts +0 -5
- package/dist/icons/FilePdf.d.ts +0 -5
- package/dist/index.d.mts +0 -716
- package/dist/index.esm.js +0 -5612
- package/dist/locales/tr/calendar.json +0 -30
- package/dist/locales/tr/itd.json +0 -325
- package/dist/select/menu/Menu.d.ts +0 -14
- package/dist/select/menu/styled.d.ts +0 -8
- package/dist/select/toggle/Toggle.d.ts +0 -3
- package/dist/select/toggle/label/floating/FloatingLabel.d.ts +0 -12
- package/dist/select/toggle/label/floating/styled.d.ts +0 -8
- package/dist/select/toggle/label/single/SingleLabel.d.ts +0 -18
- package/dist/select/toggle/label/single/styled.d.ts +0 -2
- package/dist/select/toggle/styled.d.ts +0 -24
- package/dist/stories/ButtonIcon.d.ts +0 -2
|
@@ -1,22 +1,32 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').FC<any>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
size: {
|
|
11
|
+
control: {
|
|
12
|
+
type: "select";
|
|
13
|
+
};
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
prefix: {
|
|
17
|
+
control: {
|
|
18
|
+
type: "text";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
10
22
|
args: {
|
|
11
|
-
onClick: import(
|
|
23
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
24
|
};
|
|
13
25
|
};
|
|
14
26
|
export default meta;
|
|
15
27
|
type Story = StoryObj<typeof meta>;
|
|
16
28
|
export declare const Default: Story;
|
|
17
|
-
export declare const Solid: Story;
|
|
18
29
|
export declare const Filled: Story;
|
|
19
|
-
export declare const Outline: Story;
|
|
20
30
|
export declare const Custom: Story;
|
|
21
31
|
export declare const Multiple: Story;
|
|
22
32
|
export declare const ShowSearch: Story;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').FC<any>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {};
|
|
10
10
|
args: {
|
|
11
|
-
onClick: import(
|
|
11
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export default meta;
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('../index').SwitchProps & import('react').RefAttributes<import('../index').ITDImperativeFuncProps>>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
variant: {
|
|
11
|
+
control: {
|
|
12
|
+
type: "radio";
|
|
13
|
+
};
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
10
17
|
args: {
|
|
11
|
-
onChange: import(
|
|
12
|
-
onUpdate: import(
|
|
18
|
+
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
19
|
+
onUpdate: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
13
20
|
};
|
|
14
21
|
};
|
|
15
22
|
export default meta;
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').FC<any>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
overflow: {
|
|
11
|
-
control: "boolean";
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
9
|
+
argTypes: {};
|
|
15
10
|
args: {
|
|
16
|
-
onClick: import(
|
|
11
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
17
12
|
};
|
|
18
13
|
};
|
|
19
14
|
export default meta;
|
|
@@ -21,4 +16,3 @@ type Story = StoryObj<typeof meta>;
|
|
|
21
16
|
export declare const Default: Story;
|
|
22
17
|
export declare const Bold: Story;
|
|
23
18
|
export declare const WithLink: Story;
|
|
24
|
-
export declare const NoOverflow: Story;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').FC<any>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
|
-
argTypes: {
|
|
9
|
+
argTypes: {
|
|
10
|
+
size: {
|
|
11
|
+
control: {
|
|
12
|
+
type: "select";
|
|
13
|
+
};
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
10
17
|
args: {
|
|
11
|
-
onClick: import(
|
|
18
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
19
|
};
|
|
13
20
|
};
|
|
14
21
|
export default meta;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TooltipExample: ({ content, placement, openDelay, variant }: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { ComponentXPositions, ComponentYPositions } from '../enums/enum';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ content, placement, openDelay, variant }: any) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
placement: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: (ComponentXPositions | ComponentYPositions)[];
|
|
14
|
+
};
|
|
15
|
+
content: {
|
|
16
|
+
control: "text";
|
|
17
|
+
};
|
|
18
|
+
openDelay: {
|
|
19
|
+
control: "number";
|
|
20
|
+
};
|
|
21
|
+
variant: {
|
|
22
|
+
control: {
|
|
23
|
+
type: "select";
|
|
24
|
+
};
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Top: Story;
|
|
32
|
+
export declare const Bottom: Story;
|
|
33
|
+
export declare const FastOpen: Story;
|
|
34
|
+
export declare const WithoutSolidColor: Story;
|
|
35
|
+
export declare const WithCustomSolidColor: Story;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import(
|
|
4
|
+
component: import('react').FC<any>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {};
|
|
10
10
|
args: {
|
|
11
|
-
onClick: import(
|
|
11
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export default meta;
|
|
@@ -16,9 +16,4 @@ type Story = StoryObj<typeof meta>;
|
|
|
16
16
|
export declare const PreDefined: Story;
|
|
17
17
|
export declare const Disabled: Story;
|
|
18
18
|
export declare const NoDefinedFile: Story;
|
|
19
|
-
export declare const MinImageSize: Story;
|
|
20
|
-
export declare const CropEnabled: Story;
|
|
21
|
-
export declare const CropEnabled16x9: Story;
|
|
22
|
-
export declare const CropEnabledRetina: Story;
|
|
23
|
-
export declare const CropExactOutput: Story;
|
|
24
19
|
export declare const Error: Story;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Code: import(
|
|
1
|
+
declare const Code: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export { Code };
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITDImperativeFuncProps, SwitchProps } from '../index';
|
|
2
|
-
declare const Switch: import(
|
|
2
|
+
declare const Switch: import('react').ForwardRefExoticComponent<SwitchProps & import('react').RefAttributes<ITDImperativeFuncProps>>;
|
|
3
3
|
export default Switch;
|
package/dist/switch/styled.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
1
|
+
import { ErrorTooltip } from '../utils/CommonStyledComponents';
|
|
2
|
+
declare const Thumb: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
3
|
+
declare const Body: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
5
|
export { Wrapper, ErrorTooltip, Body, Thumb };
|
package/dist/table/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import { TableProps, TableRefProps, TableRow } from
|
|
1
|
+
import { default as React, Ref } from 'react';
|
|
2
|
+
import { TableProps, TableRefProps, TableRow } from '../index';
|
|
3
3
|
declare const Table: <T extends TableRow>(props: TableProps<T> & {
|
|
4
4
|
ref?: Ref<TableRefProps>;
|
|
5
5
|
}) => React.ReactElement;
|
package/dist/table/styled.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ITDSize } from
|
|
2
|
-
declare const Wrapper: import(
|
|
1
|
+
import { ITDSize } from '../index';
|
|
2
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
3
|
$size: ITDSize;
|
|
4
4
|
$noGaps: boolean;
|
|
5
5
|
}>> & string;
|
|
6
|
-
declare const EmptyBody: import(
|
|
7
|
-
declare const RowTitle: import(
|
|
6
|
+
declare const EmptyBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
declare const RowTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
8
8
|
$overflow?: boolean;
|
|
9
9
|
}>> & string;
|
|
10
|
-
declare const Cell: import(
|
|
10
|
+
declare const Cell: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
11
11
|
$overflow?: boolean;
|
|
12
12
|
}>> & string;
|
|
13
13
|
export { Wrapper, EmptyBody, RowTitle, Cell };
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TabsProps } from
|
|
2
|
-
declare const Tabs: ({ tabs, activeTabKey, className, variant, height,
|
|
1
|
+
import { TabsProps } from '../index';
|
|
2
|
+
declare const Tabs: ({ tabs, activeTabKey, className, variant, height, onTabChange }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Tabs;
|
package/dist/tabs/styles.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
declare const Wrapper: import(
|
|
1
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
2
|
$height?: number;
|
|
3
3
|
}>> & string;
|
|
4
|
-
declare const TabMenuNavigation: import(
|
|
4
|
+
declare const TabMenuNavigation: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
5
|
$isBold?: boolean;
|
|
6
6
|
}>> & string;
|
|
7
|
-
declare const TabContentBody: import(
|
|
8
|
-
|
|
9
|
-
declare const MoreButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
10
|
-
$isBold?: boolean;
|
|
11
|
-
}>> & string;
|
|
12
|
-
declare const MoreDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
-
export { Wrapper, TabMenuNavigation, TabContentBody, MoreMenuWrapper, MoreButton, MoreDropdown };
|
|
7
|
+
declare const TabContentBody: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export { Wrapper, TabMenuNavigation, TabContentBody };
|
package/dist/textarea/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TextAreaProps, ITDImperativeFuncProps } from '../index';
|
|
2
|
-
declare const TextArea: import(
|
|
2
|
+
declare const TextArea: import('react').ForwardRefExoticComponent<TextAreaProps & import('react').RefAttributes<ITDImperativeFuncProps>>;
|
|
3
3
|
export default TextArea;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
declare const Wrapper: import(
|
|
2
|
-
declare const
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
declare const Failed: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, never>> & string;
|
|
8
|
-
export { Wrapper, Middle, Content, ErrorBorder, Success, Warning, Failed };
|
|
1
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const Success: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, never>> & string;
|
|
3
|
+
declare const Warning: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, never>> & string;
|
|
4
|
+
declare const Failed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, never>> & string;
|
|
5
|
+
declare const ErrorWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export { Wrapper, ErrorWrapper, Success, Warning, Failed };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ScrollWrapper: import(
|
|
1
|
+
declare const ScrollWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export { ScrollWrapper };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Wrapper: import(
|
|
1
|
+
declare const Wrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
2
|
$scrollbar?: string;
|
|
3
3
|
$track?: string;
|
|
4
4
|
$vertical?: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TooltipProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Açılma gecikmesi (ms) */
|
|
5
|
+
openDelay?: number;
|
|
6
|
+
/** Kapanma gecikmesi (ms) */
|
|
7
|
+
closeDelay?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const Tooltip: {
|
|
10
|
+
({ children, openDelay, closeDelay, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentVariants, ComponentYPositions } from '../enums/enum';
|
|
3
|
+
export declare const TooltipContentWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
+
'data-variant'?: string;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export type TooltipContentProps = {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
placement?: ComponentYPositions;
|
|
9
|
+
variant?: `${ComponentVariants}`;
|
|
10
|
+
offset?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const TooltipContent: {
|
|
13
|
+
({ children, placement, variant, offset, }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* TooltipTrigger props
|
|
4
|
+
*/
|
|
5
|
+
export type TooltipTriggerProps = {
|
|
6
|
+
/**
|
|
7
|
+
* The children to be used as the trigger element
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* - When `asChild` is true, children are wrapped with Slot and used as the trigger element
|
|
12
|
+
* - When `asChild` is false, a native `<span>` is used as the trigger element
|
|
13
|
+
*/
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare const TooltipTrigger: {
|
|
17
|
+
({ children, asChild, }: TooltipTriggerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useFloatingTrigger } from '../hooks/useFloatingTrigger';
|
|
2
|
+
export type TooltipContextValue = {
|
|
3
|
+
id: string;
|
|
4
|
+
trigger: ReturnType<typeof useFloatingTrigger>;
|
|
5
|
+
};
|
|
6
|
+
export declare const TooltipContext: import('react').Context<TooltipContextValue | null>;
|
|
7
|
+
export declare function useTooltipContext(componentName: string): TooltipContextValue;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { ChildrenProps } from
|
|
3
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ChildrenProps } from '../ChildrenProps';
|
|
3
|
+
import { ITDSize, ITDVariant } from '../ITDProps';
|
|
4
4
|
export type AlertProps = {
|
|
5
5
|
type?: AlertType;
|
|
6
|
-
size?:
|
|
6
|
+
size?: ITDSize;
|
|
7
7
|
icon?: string | React.ReactNode;
|
|
8
8
|
title?: string;
|
|
9
|
+
variant?: ITDVariant;
|
|
9
10
|
className?: string;
|
|
10
11
|
children?: ChildrenProps;
|
|
11
12
|
};
|
|
12
|
-
export type AlertType = "success" | "info" | "warning" | "error";
|
|
13
|
-
export type AlertSize = ComponentSizes.X_SMALL | ComponentSizes.SMALL | ComponentSizes.MEDIUM | ComponentSizes.DEFAULT | ComponentSizes.LARGE | ComponentSizes.X_LARGE;
|
|
13
|
+
export type AlertType = "neutral" | "success" | "info" | "warning" | "error";
|
|
@@ -1,44 +1,26 @@
|
|
|
1
|
-
import { DetailedHTMLProps, HTMLAttributes, MouseEvent } from
|
|
2
|
-
import { ChildrenProps } from
|
|
3
|
-
import { IStyledComponent } from
|
|
4
|
-
import { Substitute } from
|
|
5
|
-
import {
|
|
1
|
+
import { DetailedHTMLProps, HTMLAttributes, MouseEvent } from 'react';
|
|
2
|
+
import { ChildrenProps } from '../ChildrenProps';
|
|
3
|
+
import { IStyledComponent } from 'styled-components';
|
|
4
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
5
|
+
import { ButtonTypes, ComponentVariants, ButtonSizes } from '../enums/enum';
|
|
6
6
|
export type ButtonProps = {
|
|
7
7
|
id?: string;
|
|
8
|
+
form?: string;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
loading?: boolean;
|
|
10
11
|
selected?: boolean;
|
|
11
|
-
strecth?: boolean;
|
|
12
|
-
circle?: boolean;
|
|
13
|
-
justify?: string;
|
|
14
|
-
contentPosition?: ITDPosition;
|
|
15
12
|
type?: ButtonType;
|
|
16
|
-
variant?:
|
|
17
|
-
state?:
|
|
18
|
-
size?:
|
|
19
|
-
icon?: string | ChildrenProps | SVGElement;
|
|
13
|
+
variant?: ButtonVariants;
|
|
14
|
+
state?: ButtonStates;
|
|
15
|
+
size?: ButtonSize;
|
|
20
16
|
href?: string;
|
|
21
17
|
target?: string;
|
|
22
18
|
className?: string;
|
|
23
19
|
children?: ChildrenProps;
|
|
24
20
|
onClick?: null | ((event: MouseEvent<any>) => void);
|
|
25
21
|
};
|
|
26
|
-
export type ButtonType =
|
|
27
|
-
export type
|
|
28
|
-
export type
|
|
22
|
+
export type ButtonType = `${ButtonTypes}`;
|
|
23
|
+
export type ButtonSize = `${ButtonSizes}`;
|
|
24
|
+
export type ButtonVariants = `${ComponentVariants}` | "solid" | "outline" | "ghost" | "link" | "statable";
|
|
25
|
+
export type ButtonStates = "primary" | "secondary" | "request" | "approve" | "reject" | "pending" | "requested" | string | null;
|
|
29
26
|
export type StyledElementProps = IStyledComponent<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any>>;
|
|
30
|
-
export interface IIcon {
|
|
31
|
-
$useIconPadding?: boolean;
|
|
32
|
-
$contentPosition?: string;
|
|
33
|
-
$justify?: string;
|
|
34
|
-
children?: ChildrenProps;
|
|
35
|
-
}
|
|
36
|
-
export interface ISVG {
|
|
37
|
-
$singleIcon: boolean;
|
|
38
|
-
$contentPosition: string | undefined;
|
|
39
|
-
$justify: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
export interface IImage {
|
|
42
|
-
$contentPosition: string | undefined;
|
|
43
|
-
$justify: string | undefined;
|
|
44
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ChildrenProps } from
|
|
3
|
-
import { InputVariant } from
|
|
4
|
-
import { ITDSize } from
|
|
1
|
+
import { default as dayjs } from 'dayjs';
|
|
2
|
+
import { ChildrenProps } from '../ChildrenProps';
|
|
3
|
+
import { InputVariant } from '../InputProps';
|
|
4
|
+
import { ITDSize } from '../ITDProps';
|
|
5
5
|
export type CalendarProps = {
|
|
6
6
|
id?: string;
|
|
7
7
|
placeholder?: string;
|
|
@@ -11,7 +11,6 @@ export type CalendarProps = {
|
|
|
11
11
|
size?: ITDSize;
|
|
12
12
|
variant?: InputVariant;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
floating?: boolean;
|
|
15
14
|
suffix?: ChildrenProps;
|
|
16
15
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
17
16
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { ChildrenProps } from
|
|
1
|
+
import { ChildrenProps } from '../ChildrenProps';
|
|
2
|
+
import { ITDVariant } from '../ITDProps';
|
|
2
3
|
export type CardProps = {
|
|
3
4
|
title?: ChildrenProps;
|
|
5
|
+
variant?: ITDVariant;
|
|
6
|
+
description?: ChildrenProps;
|
|
4
7
|
titleSeparator?: boolean;
|
|
5
8
|
extra?: ChildrenProps;
|
|
6
9
|
tabs?: {
|
|
@@ -10,8 +13,9 @@ export type CardProps = {
|
|
|
10
13
|
activeTabKey?: string;
|
|
11
14
|
onTabChange?: (key: string) => void;
|
|
12
15
|
updating?: boolean;
|
|
13
|
-
minWidth?:
|
|
14
|
-
minHeight?:
|
|
16
|
+
minWidth?: string;
|
|
17
|
+
minHeight?: string;
|
|
15
18
|
contentPadding?: string;
|
|
16
19
|
children: ChildrenProps;
|
|
20
|
+
className?: string;
|
|
17
21
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ReactElement, RefObject } from
|
|
2
|
-
import { ChildrenProps } from
|
|
1
|
+
import { ReactElement, RefObject } from 'react';
|
|
2
|
+
import { ChildrenProps } from '../ChildrenProps';
|
|
3
|
+
import { ITDVariant } from '../ITDProps';
|
|
3
4
|
export type CheckboxProps = {
|
|
4
5
|
id?: string;
|
|
5
6
|
value?: string | number | boolean;
|
|
6
7
|
checked?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
|
-
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
variant?: ITDVariant;
|
|
9
11
|
indeterminate?: boolean;
|
|
12
|
+
animated?: boolean;
|
|
10
13
|
className?: string;
|
|
11
14
|
children?: ChildrenProps;
|
|
12
15
|
onChange?: ((event: CheckboxEvent) => void);
|
|
@@ -18,6 +21,7 @@ export type CheckboxGroupProps = {
|
|
|
18
21
|
defaultValue?: (string | number | boolean)[];
|
|
19
22
|
options?: GroupCheckboxOptionType[];
|
|
20
23
|
disabled?: boolean;
|
|
24
|
+
variant?: ITDVariant;
|
|
21
25
|
className?: string;
|
|
22
26
|
children?: ChildrenProps | ReactElement<CheckboxProps> | Array<ReactElement<CheckboxProps>>;
|
|
23
27
|
selectAll?: (value: boolean) => void;
|