@croquiscom/pds 8.13.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 +12 -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 +3 -3
- package/dist/components/modal/AlertModal.stories.d.ts +10 -10
- package/dist/components/modal/ConfirmModal.d.ts +10 -1
- package/dist/components/modal/ConfirmModal.stories.d.ts +10 -9
- 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
|
@@ -1,9 +1,10 @@
|
|
|
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
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SectionTitle } from './SectionTitle';
|
|
3
|
+
declare const meta: Meta<typeof SectionTitle>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SectionTitle>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const Vertical: Story;
|
|
8
|
+
export declare const SizeWithHorizontal: Story;
|
|
9
|
+
export declare const SizeWithVertical: Story;
|
|
10
|
+
export declare const Custom: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, ComponentType, ReactNode } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, ComponentType, ReactNode } from 'react';
|
|
2
2
|
import { IconProps } from '../../components';
|
|
3
3
|
export type StateKind = 'warning' | 'empty';
|
|
4
4
|
export interface StateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
@@ -8,4 +8,4 @@ export interface StateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'
|
|
|
8
8
|
icon?: ComponentType<IconProps>;
|
|
9
9
|
action?: ReactNode;
|
|
10
10
|
}
|
|
11
|
-
export declare const State: ({ kind, title, description, action, icon, className, ...props }: StateProps) => JSX.Element;
|
|
11
|
+
export declare const State: ({ kind, title, description, action, icon, className, ...props }: StateProps) => React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
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 { State } from './State';
|
|
3
|
+
declare const meta: Meta<typeof State>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof State>;
|
|
6
|
+
export declare const WarningKind: Story;
|
|
7
|
+
export declare const EmptyKind: Story;
|
|
8
|
+
export declare const EmptyKindWithAction: Story;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
export interface TopNavigationProps {
|
|
3
4
|
title?: ReactNode;
|
|
4
5
|
left?: ReactNode;
|
|
5
6
|
right?: ReactNode;
|
|
6
7
|
}
|
|
7
|
-
export declare const TopNavigation: ({ title, left, right }: TopNavigationProps) => JSX.Element;
|
|
8
|
+
export declare const TopNavigation: ({ title, left, right }: TopNavigationProps) => React.JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const Base:
|
|
7
|
-
export declare const Multiple:
|
|
8
|
-
export declare const EmptyRight:
|
|
9
|
-
export declare const OnlyLeft:
|
|
10
|
-
export declare const OnlyTitle:
|
|
11
|
-
export declare const OnlyRight:
|
|
12
|
-
export declare const LongTitle:
|
|
1
|
+
import { TopNavigation } from './TopNavigation';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof TopNavigation>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TopNavigation>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export declare const Multiple: Story;
|
|
8
|
+
export declare const EmptyRight: Story;
|
|
9
|
+
export declare const OnlyLeft: Story;
|
|
10
|
+
export declare const OnlyTitle: Story;
|
|
11
|
+
export declare const OnlyRight: Story;
|
|
12
|
+
export declare const LongTitle: Story;
|
|
@@ -4,22 +4,22 @@ import { CSSValueWithLength } from '../../styles';
|
|
|
4
4
|
export declare const TopBar: {
|
|
5
5
|
Container: import("@emotion/styled").StyledComponent<{
|
|
6
6
|
theme?: import("@emotion/react").Theme;
|
|
7
|
-
as?: import("react").ElementType<any>;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
8
8
|
} & {
|
|
9
9
|
backgroundColor?: CSSProperties['backgroundColor'];
|
|
10
10
|
height?: CSSValueWithLength;
|
|
11
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
12
|
Title: import("@emotion/styled").StyledComponent<{
|
|
13
13
|
theme?: import("@emotion/react").Theme;
|
|
14
|
-
as?: import("react").ElementType<any>;
|
|
14
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
15
15
|
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
16
16
|
ActionArea: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme;
|
|
18
|
-
as?: import("react").ElementType<any>;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
19
19
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
20
|
ActionButton: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
theme?: import("@emotion/react").Theme;
|
|
22
|
-
as?: import("react").ElementType<any>;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
23
23
|
} & {
|
|
24
24
|
kind?: Typography;
|
|
25
25
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const Base:
|
|
6
|
-
export declare const Mobile:
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const Base: Story;
|
|
6
|
+
export declare const Mobile: Story;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const reset: import("@emotion/utils").SerializedStyles;
|
|
3
|
-
export declare const GlobalStyle: () => JSX.Element;
|
|
3
|
+
export declare const GlobalStyle: () => React.JSX.Element;
|