@croquiscom/pds 8.14.0 → 8.14.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/CHANGELOG.md +6 -0
- package/README.md +5 -5
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/badge/Badge.stories.d.ts +8 -7
- package/dist/components/banner/Banner.d.ts +1 -1
- package/dist/components/banner/Banner.stories.d.ts +14 -13
- package/dist/components/bottom-sheet/BottomSheet.d.ts +2 -2
- package/dist/components/bottom-sheet/BottomSheet.stories.d.ts +9 -9
- package/dist/components/button/AccordionButton.stories.d.ts +8 -7
- package/dist/components/button/Button.stories.d.ts +16 -16
- package/dist/components/button/IconButton.stories.d.ts +7 -7
- package/dist/components/button/TextButton.stories.d.ts +12 -11
- package/dist/components/category-selector/CategorySelector.d.ts +2 -2
- package/dist/components/category-selector/CategorySelector.stories.d.ts +8 -8
- package/dist/components/category-selector/ChipsDropdown.d.ts +1 -1
- package/dist/components/category-selector/List.d.ts +2 -2
- package/dist/components/category-selector/ListItem.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.stories.d.ts +12 -14
- package/dist/components/checkbox/CheckboxGroup.stories.d.ts +13 -12
- package/dist/components/chip/Chip.stories.d.ts +6 -6
- package/dist/components/column-view-controller/ColumnViewController.stories.d.ts +9 -9
- package/dist/components/date-picker/Caption.d.ts +2 -2
- package/dist/components/date-picker/DatePicker.d.ts +2 -2
- package/dist/components/date-picker/DatePicker.stories.d.ts +19 -19
- package/dist/components/date-picker/DatePickerIcon.d.ts +2 -2
- package/dist/components/date-picker/DatePickerMask.d.ts +12 -5
- package/dist/components/date-picker/DateRangePicker.d.ts +2 -2
- package/dist/components/date-picker/DateRangePicker.stories.d.ts +21 -21
- package/dist/components/date-picker/DateRangePreset.d.ts +2 -2
- package/dist/components/date-picker/DateUnitPicker.d.ts +2 -2
- package/dist/components/date-picker/DateUnitPicker.stories.d.ts +12 -12
- package/dist/components/date-picker/DayPickerOverlay.d.ts +1 -1
- package/dist/components/date-picker/YearMonthCalendar.d.ts +2 -2
- package/dist/components/date-picker/YearMonthCaption.d.ts +2 -2
- package/dist/components/divider/Divider.d.ts +1 -1
- package/dist/components/divider/Divider.stories.d.ts +9 -11
- package/dist/components/drawer/Drawer.stories.d.ts +9 -11
- package/dist/components/dropdown/Dropdown.d.ts +2 -2
- package/dist/components/dropdown/Dropdown.stories.d.ts +15 -15
- package/dist/components/dropdown/DropdownArrowButton.d.ts +2 -2
- package/dist/components/dropdown/DropdownInput.d.ts +1 -1
- package/dist/components/dropdown/DropdownInput.stories.d.ts +15 -15
- package/dist/components/file-upload/FileUpload.d.ts +1 -1
- package/dist/components/file-upload/FileUpload.stories.d.ts +12 -12
- package/dist/components/file-upload/FileUploadButton.d.ts +2 -2
- package/dist/components/file-upload/FileUploadButton.stories.d.ts +8 -7
- package/dist/components/form/FormField.d.ts +2 -2
- package/dist/components/form/FormField.stories.d.ts +11 -11
- package/dist/components/form/FormHelperText.stories.d.ts +9 -8
- package/dist/components/form/FormLabel.stories.d.ts +10 -9
- package/dist/components/icons/Icon.stories.d.ts +7 -33
- package/dist/components/images/Image.stories.d.ts +7 -13
- package/dist/components/input/Input.stories.d.ts +21 -20
- package/dist/components/input/InputAffix.d.ts +2 -2
- package/dist/components/input/NumericInput.stories.d.ts +16 -16
- package/dist/components/list/List.d.ts +2 -2
- package/dist/components/list/List.stories.d.ts +8 -7
- package/dist/components/list-item/ListItem.d.ts +2 -2
- package/dist/components/list-item/ListItem.stories.d.ts +11 -10
- package/dist/components/menu/Menu.stories.d.ts +9 -9
- package/dist/components/modal/AlertModal.d.ts +2 -2
- package/dist/components/modal/AlertModal.stories.d.ts +10 -10
- package/dist/components/modal/ConfirmModal.d.ts +1 -1
- package/dist/components/modal/ConfirmModal.stories.d.ts +10 -10
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/modal/Modal.stories.d.ts +22 -22
- package/dist/components/modal/ModalOverlay.d.ts +2 -2
- package/dist/components/modal/NoticeModal.stories.d.ts +6 -5
- package/dist/components/notification/Notification.stories.d.ts +9 -8
- package/dist/components/page-indicator/PageIndicator.stories.d.ts +7 -6
- package/dist/components/pagination/Pagination.d.ts +2 -2
- package/dist/components/pagination/Pagination.stories.d.ts +11 -10
- package/dist/components/pagination/PaginationArrow.d.ts +2 -2
- package/dist/components/pagination/PaginationArrow.stories.d.ts +6 -5
- package/dist/components/popover/Popover.stories.d.ts +14 -41
- package/dist/components/popover/PopoverBase.d.ts +1 -1
- package/dist/components/popover/PopoverRoundedBase.d.ts +1 -1
- package/dist/components/provider/Provider.d.ts +1 -1
- package/dist/components/radio/BoxRadioGroup.stories.d.ts +12 -13
- package/dist/components/radio/Radio.stories.d.ts +10 -9
- package/dist/components/radio/RadioGroup.stories.d.ts +12 -13
- package/dist/components/stack/HStack.d.ts +1 -1
- package/dist/components/stack/HStack.stories.d.ts +8 -10
- package/dist/components/stack/VStack.d.ts +1 -1
- package/dist/components/stack/VStack.stories.d.ts +8 -10
- package/dist/components/switch/Switch.stories.d.ts +6 -5
- package/dist/components/table/DataTable.stories.d.ts +30 -32
- package/dist/components/table/DataTableHeader.d.ts +2 -2
- package/dist/components/table/DataTableRows.d.ts +2 -2
- package/dist/components/table/Table.stories.d.ts +6 -5
- package/dist/components/table/TableColGroup.d.ts +2 -2
- package/dist/components/table/TableSortIndicator.d.ts +2 -2
- package/dist/components/table/styles.d.ts +1 -1
- package/dist/components/tabs/LineTab.d.ts +2 -2
- package/dist/components/tabs/LineTabs.d.ts +1 -1
- package/dist/components/tabs/PanelTabs/PanelTab.d.ts +2 -2
- package/dist/components/tabs/PanelTabs/PanelTab.stories.d.ts +6 -6
- package/dist/components/tabs/PanelTabs/PanelTabGroup.d.ts +2 -2
- package/dist/components/tabs/PanelTabs/PanelTabGroup.stories.d.ts +7 -6
- package/dist/components/tabs/PanelTabs/PanelTabs.d.ts +1 -1
- package/dist/components/tabs/PanelTabs/PanelTabs.stories.d.ts +8 -7
- package/dist/components/tabs/Tabs.stories.d.ts +10 -9
- package/dist/components/text/BaseText.stories.d.ts +8 -7
- package/dist/components/text/HelpText.stories.d.ts +6 -5
- package/dist/components/textarea/Textarea.stories.d.ts +15 -14
- package/dist/components/time-picker/TimePicker.d.ts +2 -2
- package/dist/components/time-picker/TimePicker.stories.d.ts +12 -12
- package/dist/components/time-picker/TimePickerIcon.d.ts +2 -2
- package/dist/components/time-picker/TimePickerOptions.d.ts +2 -2
- package/dist/components/time-picker/TimePickerOverlay.d.ts +1 -1
- package/dist/components/time-picker/TimeRangePicker.d.ts +2 -2
- package/dist/components/time-picker/TimeRangePicker.stories.d.ts +11 -11
- package/dist/components/toast/Toast.stories.d.ts +12 -11
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.stories.d.ts +11 -10
- package/dist/components/tooltip/TooltipBase.d.ts +1 -1
- package/dist/container/footer/Footer.d.ts +4 -4
- package/dist/container/footer/Footer.stories.d.ts +5 -5
- package/dist/container/page-header/PageHeader.d.ts +2 -2
- package/dist/container/page-header/PageHeader.stories.d.ts +9 -8
- package/dist/container/section-title/SectionTitle.d.ts +2 -2
- package/dist/container/section-title/SectionTitle.stories.d.ts +10 -9
- package/dist/container/state/State.d.ts +2 -2
- package/dist/container/state/State.stories.d.ts +8 -7
- package/dist/container/top-navigation/TopNavigation.d.ts +2 -1
- package/dist/container/top-navigation/TopNavigation.stories.d.ts +12 -12
- package/dist/container/topBar/TopBar.d.ts +4 -4
- package/dist/container/topBar/TopBar.stories.d.ts +6 -6
- package/dist/global_style/GlobalStyle.d.ts +2 -2
- package/dist/index.es.js +17 -8
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +17 -8
- package/dist/index.js.map +1 -1
- package/dist/stories/Box.d.ts +1 -1
- package/package.json +17 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ const StyledText = styled.p`
|
|
|
38
38
|
|
|
39
39
|
### 요구되는 개발 환경
|
|
40
40
|
|
|
41
|
-
Node.js
|
|
41
|
+
Node.js v20+, Yarn v1.22+
|
|
42
42
|
|
|
43
43
|
로컬에 클론된 레포지토리로 이동하여, node_modules를 설치합니다.
|
|
44
44
|
|
|
@@ -63,22 +63,22 @@ yarn storybook
|
|
|
63
63
|
│ │ ├──[COMPONENT]
|
|
64
64
|
│ │ │ ├── index.ts
|
|
65
65
|
│ │ │ ├── [COMPONENT].tsx
|
|
66
|
-
│ │ │ ├── [COMPONENT].
|
|
66
|
+
│ │ │ ├── [COMPONENT].mdx
|
|
67
67
|
│ │ │ ├── types.ts
|
|
68
68
|
│ │ │ └── styles.ts
|
|
69
69
|
│ │ ├── icons
|
|
70
70
|
│ │ │ ├── generated
|
|
71
71
|
│ │ │ ├── Icon.stories.tsx
|
|
72
|
-
│ │ │ └── Icons.
|
|
72
|
+
│ │ │ └── Icons.mdx
|
|
73
73
|
│ │ ├── images
|
|
74
74
|
│ │ │ ├── generated
|
|
75
75
|
│ │ │ ├── Image.stories.tsx
|
|
76
|
-
│ │ │ └── Images.
|
|
76
|
+
│ │ │ └── Images.mdx
|
|
77
77
|
│ ├── container
|
|
78
78
|
│ │ ├──[CONTAINER]
|
|
79
79
|
│ │ │ ├── index.ts
|
|
80
80
|
│ │ │ ├── [CONTAINER].tsx
|
|
81
|
-
│ │ │ ├── [CONTAINER].
|
|
81
|
+
│ │ │ ├── [CONTAINER].mdx
|
|
82
82
|
│ │ │ ├── types.ts
|
|
83
83
|
│ │ │ └── styles.ts
|
|
84
84
|
│ ├── constants
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren, ReactElement } from 'react';
|
|
1
|
+
import React, { PropsWithChildren, ReactElement } from 'react';
|
|
2
2
|
import { BadgeKind, BadgeColor, BadgeSize } from './types';
|
|
3
3
|
import { IconProps } from '../icons/generated';
|
|
4
4
|
export interface BadgeProps {
|
|
@@ -16,4 +16,4 @@ export interface BadgeProps {
|
|
|
16
16
|
*/
|
|
17
17
|
icon?: ReactElement<IconProps>;
|
|
18
18
|
}
|
|
19
|
-
export declare const Badge: ({ className, kind, size, color, icon, children, }: PropsWithChildren<BadgeProps>) => JSX.Element;
|
|
19
|
+
export declare const Badge: ({ className, kind, size, color, icon, children, }: PropsWithChildren<BadgeProps>) => React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Badge } from './Badge';
|
|
3
|
+
declare const meta: Meta<typeof Badge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Badge>;
|
|
6
|
+
export declare const Outline: Story;
|
|
7
|
+
export declare const Fill: Story;
|
|
8
|
+
export declare const Icon: Story;
|
|
@@ -36,4 +36,4 @@ export interface BannerProps {
|
|
|
36
36
|
closeButton?: boolean;
|
|
37
37
|
onClose?: () => void;
|
|
38
38
|
}
|
|
39
|
-
export declare const Banner: ({ className, kind, size, iconComponent, showIcon, title, message, actions, closeButton, onClose, }: BannerProps) => JSX.Element;
|
|
39
|
+
export declare const Banner: ({ className, kind, size, iconComponent, showIcon, title, message, actions, closeButton, onClose, }: BannerProps) => React.JSX.Element;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Banner } from './Banner';
|
|
3
|
+
declare const meta: Meta<typeof Banner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Banner>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const NoTitle: Story;
|
|
8
|
+
export declare const NoBodyText: Story;
|
|
9
|
+
export declare const NoIcon: Story;
|
|
10
|
+
export declare const WithActionClose: Story;
|
|
11
|
+
export declare const Kind: Story;
|
|
12
|
+
export declare const Size: Story;
|
|
13
|
+
export declare const CustomIcon: Story;
|
|
14
|
+
export declare const WordBreak: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { SpaceProps } from '../../styles';
|
|
3
3
|
export type BottomSheetContentWithCloseAction = (action: {
|
|
4
4
|
close(): void;
|
|
@@ -42,4 +42,4 @@ export interface BottomSheetProps {
|
|
|
42
42
|
}
|
|
43
43
|
export declare const MIN_BOTTOM_SHEET_Y = 44;
|
|
44
44
|
export declare const HANDLE_AREA_HEIGHT = 28;
|
|
45
|
-
export declare const BottomSheet: ({ className, zIndex, opened: openProp, canClickOutside, canCloseEscapeKey, canDragClose, title, subTitle, content, contentProps, onClose, }: BottomSheetProps) => JSX.Element;
|
|
45
|
+
export declare const BottomSheet: ({ className, zIndex, opened: openProp, canClickOutside, canCloseEscapeKey, canDragClose, title, subTitle, content, contentProps, onClose, }: BottomSheetProps) => React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { BottomSheet } from './BottomSheet';
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
3
|
+
declare const meta: Meta<typeof BottomSheet>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof BottomSheet>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const MaxHeight: Story;
|
|
8
|
+
export declare const DisabledCloseDimClick: Story;
|
|
9
|
+
export declare const DisabledCloseDrag: Story;
|
|
10
|
+
export declare const ContentWithCloseAction: Story;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import { AccordionButton } from './AccordionButton';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof AccordionButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AccordionButton>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const WithTooltip: Story;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Button } from './Button';
|
|
3
|
-
import {
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof Button>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Button>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Secondary: Story;
|
|
8
|
+
export declare const Black: Story;
|
|
9
|
+
export declare const Negative: Story;
|
|
10
|
+
export declare const StartIcon: Story;
|
|
11
|
+
export declare const StartIconWithColor: Story;
|
|
12
|
+
export declare const EndIcon: Story;
|
|
13
|
+
export declare const EndIconWithColor: Story;
|
|
14
|
+
export declare const Loading: Story;
|
|
15
|
+
export declare const Disabled: Story;
|
|
16
|
+
export declare const FullWidth: Story;
|
|
17
|
+
export declare const Focus: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconButton } from './IconButton';
|
|
3
|
-
import {
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof IconButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof IconButton>;
|
|
6
|
+
export declare const Rectangle: Story;
|
|
7
|
+
export declare const Circle: Story;
|
|
8
|
+
export declare const WithInput: Story;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { TextButton } from './TextButton';
|
|
3
|
+
declare const meta: Meta<typeof TextButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TextButton>;
|
|
6
|
+
export declare const Text: Story;
|
|
7
|
+
export declare const Link: Story;
|
|
8
|
+
export declare const TextUnderline: Story;
|
|
9
|
+
export declare const LinkUnderline: Story;
|
|
10
|
+
export declare const StartIcon: Story;
|
|
11
|
+
export declare const EndIcon: Story;
|
|
12
|
+
export declare const Combination: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface Category {
|
|
3
3
|
/**
|
|
4
4
|
* 루트 ~ 해당 카테고리 텍스트
|
|
@@ -54,4 +54,4 @@ export interface CategorySelectorProps {
|
|
|
54
54
|
*/
|
|
55
55
|
height?: number;
|
|
56
56
|
}
|
|
57
|
-
export declare const CategorySelector: ({ className, categoriesByLevels, selectedKeys, onSelectedKeysChange, multiple, disabled, width, height, }: CategorySelectorProps) => JSX.Element;
|
|
57
|
+
export declare const CategorySelector: ({ className, categoriesByLevels, selectedKeys, onSelectedKeysChange, multiple, disabled, width, height, }: CategorySelectorProps) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { CategorySelector } from './CategorySelector';
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
3
|
+
declare const meta: Meta<typeof CategorySelector>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CategorySelector>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const MultiSelectable: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const WithDropdownChip: Story;
|
|
@@ -25,4 +25,4 @@ export interface ChipsDropdownProps<OptionValue> {
|
|
|
25
25
|
placeholder?: string;
|
|
26
26
|
status?: DropdownLabelProps['status'];
|
|
27
27
|
}
|
|
28
|
-
export declare const ChipsDropdown: <OptionValue extends string | number>({ children, width, zIndex, disabled, selectedOptions, onOptionValuesChange, placeholder, status, size: sizeProp, }: React.PropsWithChildren<ChipsDropdownProps<OptionValue>>) => JSX.Element;
|
|
28
|
+
export declare const ChipsDropdown: <OptionValue extends string | number>({ children, width, zIndex, disabled, selectedOptions, onOptionValuesChange, placeholder, status, size: sizeProp, }: React.PropsWithChildren<ChipsDropdownProps<OptionValue>>) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Category } from './CategorySelector';
|
|
3
3
|
export interface ListProps {
|
|
4
4
|
level: number;
|
|
@@ -11,4 +11,4 @@ export interface ListProps {
|
|
|
11
11
|
multiple?: boolean;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export declare const List: ({ level, categories, selectedKeys, onSelect, onClick, isSelected, isIndeterminate, multiple, disabled, }: ListProps) => JSX.Element;
|
|
14
|
+
export declare const List: ({ level, categories, selectedKeys, onSelect, onClick, isSelected, isIndeterminate, multiple, disabled, }: ListProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Category } from './CategorySelector';
|
|
3
3
|
export interface ListItemProps {
|
|
4
4
|
category: Category;
|
|
@@ -10,4 +10,4 @@ export interface ListItemProps {
|
|
|
10
10
|
multiple?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const ListItem: ({ category, multiple, disabled: disabledProp, onSelect, onClick, isSelected, isIndeterminate, }: ListItemProps) => JSX.Element;
|
|
13
|
+
export declare const ListItem: ({ category, multiple, disabled: disabledProp, onSelect, onClick, isSelected, isIndeterminate, }: ListItemProps) => React.JSX.Element;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
export declare const Size: () => JSX.Element;
|
|
1
|
+
import { Checkbox } from './Checkbox';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof Checkbox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Checkbox>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Checked: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const CheckedDisabled: Story;
|
|
10
|
+
export declare const IndeterminateDisabled: Story;
|
|
11
|
+
export declare const Link: Story;
|
|
12
|
+
export declare const Size: Story;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CheckboxGroup } from './CheckboxGroup';
|
|
3
|
+
declare const meta: Meta<typeof CheckboxGroup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CheckboxGroup>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const Spacing: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const VerticalAlign: Story;
|
|
10
|
+
export declare const Size: Story;
|
|
11
|
+
export declare const Controlled: Story;
|
|
12
|
+
export declare const Link: Story;
|
|
13
|
+
export declare const indeterminate: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { Chip } from './Chip';
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
3
|
+
declare const meta: Meta<typeof Chip>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Chip>;
|
|
6
|
+
export declare const InputChip: Story;
|
|
7
|
+
export declare const InputChipDelete: Story;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { ColumnViewController } from './ColumnViewController';
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
3
|
+
declare const meta: Meta<typeof ColumnViewController>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ColumnViewController>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const PullsFixed: Story;
|
|
8
|
+
export declare const MaxFixedCount: Story;
|
|
9
|
+
export declare const NoFixed: Story;
|
|
10
|
+
export declare const Disabled: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
3
|
import { CaptionProps } from 'react-day-picker';
|
|
4
4
|
import { CaptionLabelType, DisplayMode } from './DatePicker';
|
|
@@ -14,4 +14,4 @@ export interface DatePickerCaptionProps extends CaptionProps {
|
|
|
14
14
|
displayMode: DisplayMode;
|
|
15
15
|
onClickCaptionLabel?: (type: CaptionLabelType) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare const Caption: ({ multipleMonths, currentMonth: controlledMonth, displayMode, className, locale, onClickCaptionLabel, ...props }: DatePickerCaptionProps) => JSX.Element;
|
|
17
|
+
export declare const Caption: ({ multipleMonths, currentMonth: controlledMonth, displayMode, className, locale, onClickCaptionLabel, ...props }: DatePickerCaptionProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Matcher } from 'react-day-picker';
|
|
3
3
|
import { CSSValueWithLength } from '../../styles';
|
|
4
4
|
import { TimePickerProps } from '../time-picker';
|
|
@@ -81,4 +81,4 @@ export interface DatePickerProps extends DatePickerBaseProps {
|
|
|
81
81
|
*/
|
|
82
82
|
timePickerProps?: Omit<TimePickerProps, 'value' | 'fill' | 'onChange'>;
|
|
83
83
|
}
|
|
84
|
-
export declare const DatePicker: ({ width, error, disabled, className, placeholder, size, displayTimeFormat, value, disabledDays, showRemoveButton, showTodayButton, showTimePicker, showFooter, zIndex, displayMode, onChange, opened: openProp, onOpen, onClose, timePickerProps, }: DatePickerProps) => JSX.Element;
|
|
84
|
+
export declare const DatePicker: ({ width, error, disabled, className, placeholder, size, displayTimeFormat, value, disabledDays, showRemoveButton, showTodayButton, showTimePicker, showFooter, zIndex, displayMode, onChange, opened: openProp, onOpen, onClose, timePickerProps, }: DatePickerProps) => React.JSX.Element;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
2
|
import { DatePicker } from './DatePicker';
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
3
|
+
declare const meta: Meta<typeof DatePicker>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof DatePicker>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Error: Story;
|
|
9
|
+
export declare const ErrorValidation: Story;
|
|
10
|
+
export declare const Size: Story;
|
|
11
|
+
export declare const ShowRemoveButton: Story;
|
|
12
|
+
export declare const ShowFooter: Story;
|
|
13
|
+
export declare const ShowTodayButton: Story;
|
|
14
|
+
export declare const ShowTimePicker: Story;
|
|
15
|
+
export declare const ShowTimePickerWithHourMinuteSecond: Story;
|
|
16
|
+
export declare const ShowTimeHourMinute: Story;
|
|
17
|
+
export declare const ShowTimeHourMinuteSecond: Story;
|
|
18
|
+
export declare const DisableDays: Story;
|
|
19
|
+
export declare const BottomSheetPicker: Story;
|
|
20
|
+
export declare const BottomSheetPickerWithTimePicker: Story;
|
|
@@ -3,8 +3,8 @@ export interface DatePickerIconProps {
|
|
|
3
3
|
showRemoveIcon?: boolean;
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const DatePickerIcon: ({ showRemoveIcon, onClick }: DatePickerIconProps) => JSX.Element;
|
|
6
|
+
export declare const DatePickerIcon: ({ showRemoveIcon, onClick }: DatePickerIconProps) => React.JSX.Element;
|
|
7
7
|
export declare const RemoveButton: import("@emotion/styled").StyledComponent<{
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
9
|
-
as?: React.ElementType<any>;
|
|
9
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
10
10
|
}, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
3
4
|
id?: string;
|
|
4
5
|
color?: string;
|
|
6
|
+
content?: string;
|
|
5
7
|
translate?: "yes" | "no";
|
|
6
8
|
hidden?: boolean;
|
|
7
9
|
slot?: string;
|
|
@@ -14,7 +16,7 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
14
16
|
prefix?: string;
|
|
15
17
|
role?: import("react").AriaRole;
|
|
16
18
|
children?: import("react").ReactNode;
|
|
17
|
-
contentEditable?: "inherit" | (boolean | "false" | "true");
|
|
19
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only";
|
|
18
20
|
inputMode?: "search" | "numeric" | "none" | "url" | "text" | "decimal" | "tel" | "email";
|
|
19
21
|
nonce?: string;
|
|
20
22
|
tabIndex?: number;
|
|
@@ -22,15 +24,17 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
22
24
|
defaultValue?: string | number | readonly string[];
|
|
23
25
|
suppressContentEditableWarning?: boolean;
|
|
24
26
|
suppressHydrationWarning?: boolean;
|
|
27
|
+
autoFocus?: boolean;
|
|
25
28
|
contextMenu?: string;
|
|
26
|
-
placeholder?: string;
|
|
27
29
|
spellCheck?: boolean | "false" | "true";
|
|
28
30
|
radioGroup?: string;
|
|
29
31
|
about?: string;
|
|
30
32
|
datatype?: string;
|
|
31
33
|
inlist?: any;
|
|
32
34
|
property?: string;
|
|
35
|
+
rel?: string;
|
|
33
36
|
resource?: string;
|
|
37
|
+
rev?: string;
|
|
34
38
|
typeof?: string;
|
|
35
39
|
vocab?: string;
|
|
36
40
|
autoCapitalize?: string;
|
|
@@ -48,14 +52,18 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
48
52
|
"aria-activedescendant"?: string;
|
|
49
53
|
"aria-atomic"?: boolean | "false" | "true";
|
|
50
54
|
"aria-autocomplete"?: "inline" | "both" | "none" | "list";
|
|
55
|
+
"aria-braillelabel"?: string;
|
|
56
|
+
"aria-brailleroledescription"?: string;
|
|
51
57
|
"aria-busy"?: boolean | "false" | "true";
|
|
52
58
|
"aria-checked"?: boolean | "false" | "mixed" | "true";
|
|
53
59
|
"aria-colcount"?: number;
|
|
54
60
|
"aria-colindex"?: number;
|
|
61
|
+
"aria-colindextext"?: string;
|
|
55
62
|
"aria-colspan"?: number;
|
|
56
63
|
"aria-controls"?: string;
|
|
57
64
|
"aria-current"?: boolean | "location" | "time" | "false" | "page" | "true" | "step" | "date";
|
|
58
65
|
"aria-describedby"?: string;
|
|
66
|
+
"aria-description"?: string;
|
|
59
67
|
"aria-details"?: string;
|
|
60
68
|
"aria-disabled"?: boolean | "false" | "true";
|
|
61
69
|
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
@@ -85,6 +93,7 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
85
93
|
"aria-roledescription"?: string;
|
|
86
94
|
"aria-rowcount"?: number;
|
|
87
95
|
"aria-rowindex"?: number;
|
|
96
|
+
"aria-rowindextext"?: string;
|
|
88
97
|
"aria-rowspan"?: number;
|
|
89
98
|
"aria-selected"?: boolean | "false" | "true";
|
|
90
99
|
"aria-setsize"?: number;
|
|
@@ -94,7 +103,7 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
94
103
|
"aria-valuenow"?: number;
|
|
95
104
|
"aria-valuetext"?: string;
|
|
96
105
|
dangerouslySetInnerHTML?: {
|
|
97
|
-
__html: string;
|
|
106
|
+
__html: string | TrustedHTML;
|
|
98
107
|
};
|
|
99
108
|
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
100
109
|
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement>;
|
|
@@ -232,9 +241,7 @@ export declare const DatePickerMask: import("@emotion/styled").StyledComponent<{
|
|
|
232
241
|
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
233
242
|
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
234
243
|
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
235
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
236
244
|
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
237
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
238
245
|
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
239
246
|
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
240
247
|
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { DateRange } from 'react-day-picker';
|
|
3
3
|
import { Duration } from 'date-fns';
|
|
4
4
|
import { DatePickerBaseProps } from './DatePicker';
|
|
@@ -76,4 +76,4 @@ export interface DateRangePickerProps extends Omit<DatePickerBaseProps, 'disable
|
|
|
76
76
|
*/
|
|
77
77
|
disabledNowButton?: boolean;
|
|
78
78
|
}
|
|
79
|
-
export declare const DateRangePicker: ({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, showTodayButton, showTimePicker, disabledNowButton, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, timePickerProps, onOpen, onClose, onChange, }: DateRangePickerProps) => JSX.Element;
|
|
79
|
+
export declare const DateRangePicker: ({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, showTodayButton, showTimePicker, disabledNowButton, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, timePickerProps, onOpen, onClose, onChange, }: DateRangePickerProps) => React.JSX.Element;
|