@registrucentras/rc-ses-react-components 2.0.0-rc.7 → 2.0.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/Accordion/hooks/useAccordionController.d.ts +2 -2
- package/dist/components/common/Accordion/types/AccordionControllerState.d.ts +2 -2
- package/dist/components/common/AdvancedList/components/AdvancedListItem/AdvancedListItem.types.d.ts +2 -2
- package/dist/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemLeading.d.ts +2 -2
- package/dist/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemTrailing.d.ts +2 -2
- package/dist/components/common/Badge/index.d.ts +2 -2
- package/dist/components/common/Breadcrumbs/index.d.ts +4 -4
- package/dist/components/common/Card/index.d.ts +2 -2
- package/dist/components/common/CardShell/CardFooter/index.d.ts +1 -1
- package/dist/components/common/CardShell/CardFooter/types.d.ts +4 -9
- package/dist/components/common/CardShell/types.d.ts +4 -4
- package/dist/components/common/IconWithCircularBackground.d.ts +2 -2
- package/dist/components/common/IconWithSquareBackground/index.d.ts +2 -2
- package/dist/components/common/ImageCard/index.d.ts +2 -2
- package/dist/components/common/SelectableCardList/components/SelectableCardListItem.d.ts +2 -2
- package/dist/components/common/SelectableCardList/index.d.ts +2 -2
- package/dist/components/common/ServiceLinks/types.d.ts +6 -6
- package/dist/components/common/SideNav/SideNav.types.d.ts +7 -5
- package/dist/components/common/SideNav/SideNavLayout.d.ts +1 -1
- package/dist/components/common/SideNav/components/SideNavPill.d.ts +2 -2
- package/dist/components/common/SideNav/components/SideNavPillList.d.ts +2 -2
- package/dist/components/common/SideNav/components/SideNavRow.d.ts +4 -3
- package/dist/components/common/SideNav/hooks/useKeepActiveItemInView.d.ts +19 -0
- package/dist/components/common/SideNav/hooks/useSideNavScrollSpy.d.ts +2 -2
- package/dist/components/common/SideNav/index.d.ts +2 -2
- package/dist/components/common/Tabs/TabPanel.d.ts +2 -2
- package/dist/components/common/Tabs/TabsWrapper.d.ts +2 -2
- package/dist/components/common/TitleBlock/types.d.ts +4 -4
- package/dist/components/form/components/FormControlWrapper/components/FieldSuffix.d.ts +2 -2
- package/dist/components/form/components/FormControlWrapper/index.d.ts +2 -2
- package/dist/components/form/inputs/RadioButtonGroup.d.ts +3 -3
- package/dist/components/form/inputs/SearchableField.d.ts +2 -2
- package/dist/components/form/inputs/Select/Select.types.d.ts +2 -2
- package/dist/components/layout/Footer/index.d.ts +2 -2
- package/dist/components/layout/ServiceFormActions.d.ts +2 -2
- package/dist/components/layout/ServiceFormContainer/AccordionFormContainer/components/AccordionCollapseControls.d.ts +2 -2
- package/dist/components/layout/ServiceFormContainer/AccordionFormContainer/index.d.ts +2 -2
- package/dist/components/layout/ServiceHeader.d.ts +2 -2
- package/dist/components/layout/ServicePage.d.ts +2 -2
- package/dist/components/utils/normalizeSx.d.ts +1 -1
- package/dist/library/types.d.ts +2 -2
- package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
- package/dist/registrucentras-rc-ses-react-components.js +1631 -1589
- package/dist/types/assets/IconProps.d.ts +2 -2
- package/dist/types/cards/CardServiceProps.d.ts +2 -2
- package/dist/types/common/QuickLinkType.d.ts +2 -2
- package/dist/types/inputs/InputIconProps.d.ts +2 -2
- package/dist/types/lists/ListNewsItemType.d.ts +2 -2
- package/dist/types/lists/ListServicesItemType.d.ts +3 -3
- package/package.json +2 -1
- package/src/components/common/Accordion/hooks/useAccordionController.tsx +1 -1
- package/src/components/common/Accordion/index.tsx +1 -4
- package/src/components/common/Accordion/types/AccordionControllerState.ts +1 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/AdvancedListItem.types.ts +1 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemLeading.tsx +1 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemTrailing.tsx +1 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/index.test.tsx +2 -2
- package/src/components/common/Badge/index.tsx +3 -3
- package/src/components/common/Breadcrumbs/index.tsx +5 -2
- package/src/components/common/Card/index.tsx +1 -1
- package/src/components/common/CardShell/CardFooter/index.tsx +6 -13
- package/src/components/common/CardShell/CardFooter/types.ts +2 -7
- package/src/components/common/CardShell/types.ts +2 -2
- package/src/components/common/IconWithCircularBackground.tsx +7 -8
- package/src/components/common/IconWithSquareBackground/index.tsx +7 -8
- package/src/components/common/ImageCard/index.tsx +1 -1
- package/src/components/common/SegmentedControl/components/SegmentButton/index.tsx +18 -19
- package/src/components/common/SelectableCardList/components/SelectableCardListItem.tsx +1 -1
- package/src/components/common/SelectableCardList/index.tsx +1 -1
- package/src/components/common/ServiceLinks/types.ts +3 -3
- package/src/components/common/SideNav/SideNav.types.ts +11 -3
- package/src/components/common/SideNav/SideNavLayout.tsx +3 -0
- package/src/components/common/SideNav/components/SideNavPill.tsx +1 -1
- package/src/components/common/SideNav/components/SideNavPillList.tsx +8 -23
- package/src/components/common/SideNav/components/SideNavRow.tsx +6 -2
- package/src/components/common/SideNav/hooks/useKeepActiveItemInView.test.ts +258 -0
- package/src/components/common/SideNav/hooks/useKeepActiveItemInView.ts +80 -0
- package/src/components/common/SideNav/hooks/useSideNavScrollSpy.test.ts +9 -2
- package/src/components/common/SideNav/hooks/useSideNavScrollSpy.ts +4 -3
- package/src/components/common/SideNav/index.test.tsx +51 -0
- package/src/components/common/SideNav/index.tsx +47 -12
- package/src/components/common/Snackbar/index.test.tsx +40 -0
- package/src/components/common/Snackbar/index.tsx +9 -3
- package/src/components/common/Tabs/TabPanel.tsx +1 -1
- package/src/components/common/Tabs/TabsWrapper.tsx +1 -1
- package/src/components/common/TitleBlock/index.test.tsx +9 -7
- package/src/components/common/TitleBlock/index.tsx +13 -9
- package/src/components/common/TitleBlock/types.ts +2 -2
- package/src/components/form/components/FormControlWrapper/components/FieldSuffix.tsx +1 -1
- package/src/components/form/components/FormControlWrapper/index.tsx +1 -1
- package/src/components/form/inputs/Datepicker/index.test.tsx +1 -1
- package/src/components/form/inputs/FileDropzone.tsx +1 -4
- package/src/components/form/inputs/NumberStepper.test.tsx +83 -0
- package/src/components/form/inputs/NumberStepper.tsx +7 -8
- package/src/components/form/inputs/RadioButtonGroup.test.tsx +1 -1
- package/src/components/form/inputs/RadioButtonGroup.tsx +2 -2
- package/src/components/form/inputs/SearchInput/index.tsx +1 -1
- package/src/components/form/inputs/SearchableField.test.tsx +2 -2
- package/src/components/form/inputs/SearchableField.tsx +1 -1
- package/src/components/form/inputs/Select/Select.types.ts +1 -1
- package/src/components/form/inputs/Select/index.test.tsx +3 -3
- package/src/components/layout/Footer/index.tsx +1 -1
- package/src/components/layout/ServiceFormActions.tsx +1 -1
- package/src/components/layout/ServiceFormContainer/AccordionFormContainer/components/AccordionCollapseControls.tsx +1 -1
- package/src/components/layout/ServiceFormContainer/AccordionFormContainer/index.tsx +1 -1
- package/src/components/layout/ServiceHeader.tsx +1 -1
- package/src/components/layout/ServicePage.tsx +1 -1
- package/src/components/utils/normalizeSx.ts +2 -4
- package/src/examples/ListWithPagination/index.tsx +0 -2
- package/src/examples/MultipleStepForm/components/AdditionalServicesForm.tsx +1 -1
- package/src/examples/MultipleStepForm/components/ServiceIssuanceForm.tsx +1 -1
- package/src/examples/MultipleStepForm/components/TermsAndConditionsForm.tsx +1 -1
- package/src/examples/MultipleStepForm/types/MultiStepFormModel.ts +1 -1
- package/src/examples/SingleStepForm/components/ObjectIdentifierSearchModal.tsx +2 -2
- package/src/examples/SingleStepForm/types/SingleStepFormModel.ts +1 -1
- package/src/library/types.ts +2 -1
- package/src/stories/atoms/Button.stories.tsx +9 -14
- package/src/stories/atoms/Checkbox.stories.tsx +1 -1
- package/src/stories/atoms/Icons.stories.tsx +1 -1
- package/src/stories/atoms/NumberStepper.stories.tsx +1 -1
- package/src/stories/atoms/PhoneInput.stories.tsx +1 -1
- package/src/stories/atoms/Select.stories.tsx +7 -9
- package/src/stories/atoms/Switch.stories.tsx +1 -1
- package/src/stories/molecules/Alert.stories.tsx +2 -2
- package/src/stories/molecules/CardShell.stories.tsx +4 -4
- package/src/stories/molecules/CheckboxFormControl.stories.tsx +13 -21
- package/src/stories/molecules/RadioButtonGroup.stories.tsx +1 -1
- package/src/stories/molecules/Snackbar.stories.tsx +2 -2
- package/src/stories/molecules/TitleBlock.stories.tsx +40 -1
- package/src/stories/organisms/AdvancedList.stories.tsx +4 -4
- package/src/stories/organisms/FileDropzone.stories.tsx +1 -1
- package/src/stories/organisms/FileUpload.stories.tsx +1 -1
- package/src/stories/organisms/SideNav.stories.tsx +36 -3
- package/src/stubs/Component.tsx +4 -4
- package/src/types/assets/IconProps.tsx +1 -1
- package/src/types/cards/CardServiceProps.tsx +1 -1
- package/src/types/common/QuickLinkType.tsx +1 -1
- package/src/types/inputs/InputIconProps.tsx +1 -1
- package/src/types/lists/ListNewsItemType.tsx +1 -1
- package/src/types/lists/ListServicesItemType.tsx +2 -2
- package/src/vite-env.d.ts +2 -2
- package/dist/stories/atoms/Badge.stories.d.ts +0 -9
- package/dist/stories/atoms/Button.stories.d.ts +0 -107
- package/dist/stories/atoms/Checkbox.stories.d.ts +0 -21
- package/dist/stories/atoms/IconWithCircularBackground.stories.d.ts +0 -6
- package/dist/stories/atoms/IconWithSquareBackground.stories.d.ts +0 -7
- package/dist/stories/atoms/Icons.stories.d.ts +0 -7
- package/dist/stories/atoms/Loader.stories.d.ts +0 -36
- package/dist/stories/atoms/LoadingSpinner.stories.d.ts +0 -62
- package/dist/stories/atoms/Logo.stories.d.ts +0 -12
- package/dist/stories/atoms/NumberStepper.stories.d.ts +0 -6
- package/dist/stories/atoms/PhoneInput.stories.d.ts +0 -10
- package/dist/stories/atoms/SearchInput.stories.d.ts +0 -11
- package/dist/stories/atoms/Select.stories.d.ts +0 -7
- package/dist/stories/atoms/SimpleCheckbox.stories.d.ts +0 -19
- package/dist/stories/atoms/Switch.stories.d.ts +0 -17
- package/dist/stories/atoms/Tab.stories.d.ts +0 -8
- package/dist/stories/atoms/TextField.stories.d.ts +0 -6
- package/dist/stories/atoms/Tooltip.stories.d.ts +0 -48
- package/dist/stories/foundations/ThemedMuiComponents.stories.d.ts +0 -25
- package/dist/stories/molecules/Alert.stories.d.ts +0 -14
- package/dist/stories/molecules/Breadcrumbs.stories.d.ts +0 -6
- package/dist/stories/molecules/ButtonWithPopover.stories.d.ts +0 -7
- package/dist/stories/molecules/Card.stories.d.ts +0 -8
- package/dist/stories/molecules/CardShell.stories.d.ts +0 -18
- package/dist/stories/molecules/CheckboxFormControl.stories.d.ts +0 -9
- package/dist/stories/molecules/DatePicker.stories.d.ts +0 -152
- package/dist/stories/molecules/FormControlWrapper.stories.d.ts +0 -7
- package/dist/stories/molecules/ImageCard.stories.d.ts +0 -8
- package/dist/stories/molecules/ListWithIcons.stories.d.ts +0 -34
- package/dist/stories/molecules/PhoneInputFormControl.stories.d.ts +0 -6
- package/dist/stories/molecules/Popover.stories.d.ts +0 -12
- package/dist/stories/molecules/RadioButtonGroup.stories.d.ts +0 -6
- package/dist/stories/molecules/SearchableField.stories.d.ts +0 -6
- package/dist/stories/molecules/SegmentedControl.stories.d.ts +0 -202
- package/dist/stories/molecules/Snackbar.stories.d.ts +0 -143
- package/dist/stories/molecules/TabPanel.stories.d.ts +0 -7
- package/dist/stories/molecules/Tabs.stories.d.ts +0 -7
- package/dist/stories/molecules/TabsWrapper.stories.d.ts +0 -6
- package/dist/stories/molecules/TitleBlock.stories.d.ts +0 -22
- package/dist/stories/organisms/Accordion.stories.d.ts +0 -18
- package/dist/stories/organisms/AdvancedList.stories.d.ts +0 -33
- package/dist/stories/organisms/AdvancedListItem.stories.d.ts +0 -33
- package/dist/stories/organisms/CardFormContainer.stories.d.ts +0 -7
- package/dist/stories/organisms/DataPagination.stories.d.ts +0 -47
- package/dist/stories/organisms/Dialog.stories.d.ts +0 -15
- package/dist/stories/organisms/FileDropzone.stories.d.ts +0 -6
- package/dist/stories/organisms/FileUpload.stories.d.ts +0 -18
- package/dist/stories/organisms/Footer.stories.d.ts +0 -6
- package/dist/stories/organisms/FullPageLoader.stories.d.ts +0 -37
- package/dist/stories/organisms/Modal.stories.d.ts +0 -10
- package/dist/stories/organisms/SelectableCardList.stories.d.ts +0 -37
- package/dist/stories/organisms/ServiceFormActions.stories.d.ts +0 -6
- package/dist/stories/organisms/ServiceFormContainer.stories.d.ts +0 -15
- package/dist/stories/organisms/ServiceHeader.stories.d.ts +0 -7
- package/dist/stories/organisms/ServiceLinks.stories.d.ts +0 -28
- package/dist/stories/organisms/ServiceWizardStepper.stories.d.ts +0 -7
- package/dist/stories/organisms/SideNav.stories.d.ts +0 -7
- package/dist/stories/templates/ServicePage.stories.d.ts +0 -6
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesLoader } from '../../components/loaders/Loader';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof RcSesLoader;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
controls: {
|
|
9
|
-
include: string[];
|
|
10
|
-
};
|
|
11
|
-
docs: {
|
|
12
|
-
description: {
|
|
13
|
-
component: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
argTypes: {
|
|
18
|
-
label: {
|
|
19
|
-
control: "text";
|
|
20
|
-
};
|
|
21
|
-
showLabel: {
|
|
22
|
-
control: "boolean";
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
control: "radio";
|
|
26
|
-
options: string[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<typeof meta>;
|
|
32
|
-
export declare const Default: Story;
|
|
33
|
-
export declare const Small: Story;
|
|
34
|
-
export declare const Medium: Story;
|
|
35
|
-
export declare const Large: Story;
|
|
36
|
-
export declare const WithoutLabel: Story;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesLoadingSpinner } from '../../components/loaders/LoadingSpinner';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof RcSesLoadingSpinner;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
argTypes: {
|
|
15
|
-
color: {
|
|
16
|
-
description: string;
|
|
17
|
-
options: ("inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning")[];
|
|
18
|
-
mapping: ("inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning")[];
|
|
19
|
-
control: {
|
|
20
|
-
type: "select";
|
|
21
|
-
labels: ("inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning")[];
|
|
22
|
-
};
|
|
23
|
-
table: {
|
|
24
|
-
defaultValue: {
|
|
25
|
-
summary: string;
|
|
26
|
-
};
|
|
27
|
-
type: {
|
|
28
|
-
summary: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
description: string;
|
|
34
|
-
options: string[];
|
|
35
|
-
mapping: string[];
|
|
36
|
-
control: {
|
|
37
|
-
type: "select";
|
|
38
|
-
labels: string[];
|
|
39
|
-
};
|
|
40
|
-
table: {
|
|
41
|
-
defaultValue: {
|
|
42
|
-
summary: string;
|
|
43
|
-
};
|
|
44
|
-
type: {
|
|
45
|
-
summary: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
tags: string[];
|
|
51
|
-
};
|
|
52
|
-
export default meta;
|
|
53
|
-
type Story = StoryObj<typeof meta>;
|
|
54
|
-
export declare const Default: Story;
|
|
55
|
-
export declare const Small: Story;
|
|
56
|
-
export declare const Large: Story;
|
|
57
|
-
export declare const Primary: Story;
|
|
58
|
-
export declare const Secondary: Story;
|
|
59
|
-
export declare const Error: Story;
|
|
60
|
-
export declare const Success: Story;
|
|
61
|
-
export declare const Warning: Story;
|
|
62
|
-
export declare const Info: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as Logo } from '../../assets/Logo';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Logo;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
export declare const Default: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesNumberStepper } from '../../components/form/inputs/NumberStepper';
|
|
3
|
-
declare const meta: Meta<typeof RcSesNumberStepper>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesNumberStepper>;
|
|
6
|
-
export declare const Main: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesPhoneInput } from '../../components/form/inputs/PhoneInput';
|
|
3
|
-
declare const meta: Meta<typeof RcSesPhoneInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Main: {
|
|
6
|
-
render: (args: any) => import("react").JSX.Element;
|
|
7
|
-
args: {
|
|
8
|
-
label: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesSearchInput } from '../../components/form/inputs/SearchInput';
|
|
3
|
-
declare const meta: Meta<typeof RcSesSearchInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesSearchInput>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const OnlyRequired: Story;
|
|
8
|
-
export declare const WithoutButton: Story;
|
|
9
|
-
export declare const WithoutLabel: Story;
|
|
10
|
-
export declare const SideLabel: Story;
|
|
11
|
-
export declare const OnlyNumbers: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesSelect } from '../../components/form/inputs/Select';
|
|
3
|
-
declare const meta: Meta<typeof RcSesSelect>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesSelect>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const AllVariants: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as SimpleCheckbox } from '../../components/form/inputs/SimpleCheckbox';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof SimpleCheckbox;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
docs: {
|
|
9
|
-
description: {
|
|
10
|
-
component: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
tags: string[];
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Basic: Story;
|
|
19
|
-
export declare const Loading: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesSwitch } from '../../components/common/Switch';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof RcSesSwitch;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const On: Story;
|
|
14
|
-
export declare const Off: Story;
|
|
15
|
-
export declare const OnDisabled: Story;
|
|
16
|
-
export declare const OffDisabled: Story;
|
|
17
|
-
export declare const LongLabel: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesTab } from '../../components/common/Tabs/Tab';
|
|
3
|
-
declare const meta: Meta<typeof RcSesTab>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithIcon: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesTextField } from '../../components/form/inputs/TextField';
|
|
3
|
-
declare const meta: Meta<typeof RcSesTextField>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesTextField>;
|
|
6
|
-
export declare const Main: Story;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { default as RcSesTooltip } from '../../components/common/Tooltip';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: typeof RcSesTooltip;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
tags: string[];
|
|
9
|
-
argTypes: {
|
|
10
|
-
title: {
|
|
11
|
-
control: "text";
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
placement: {
|
|
15
|
-
control: "select";
|
|
16
|
-
options: string[];
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
slotProps: {
|
|
20
|
-
control: false;
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
children: {
|
|
24
|
-
control: false;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default meta;
|
|
30
|
-
export declare const Default: {
|
|
31
|
-
readonly args: {
|
|
32
|
-
readonly title: "Deklaruojant išvykimą iš Lietuvos nurodoma užsienio valstybė, į kurią išvykstama.";
|
|
33
|
-
};
|
|
34
|
-
readonly render: (args: any) => import("react").JSX.Element;
|
|
35
|
-
};
|
|
36
|
-
export declare const CustomTrigger: {
|
|
37
|
-
readonly args: {
|
|
38
|
-
readonly title: "Papildoma informacija apie paslaugą.";
|
|
39
|
-
};
|
|
40
|
-
readonly render: (args: any) => import("react").JSX.Element;
|
|
41
|
-
readonly parameters: {
|
|
42
|
-
readonly docs: {
|
|
43
|
-
readonly source: {
|
|
44
|
-
readonly code: "<RcSesTooltip title=\"Papildoma informacija apie paslaugą.\">\n <Button variant=\"text\">Mygtukas</Button>\n</RcSesTooltip>";
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
/**
|
|
3
|
-
* Coverage stories for theme slots no other story puts on the page
|
|
4
|
-
* (SAV-5648 / LIB-02). `visual/theme-slots.spec.ts` fails if one is missing.
|
|
5
|
-
*
|
|
6
|
-
* Two reasons a slot ends up here:
|
|
7
|
-
*
|
|
8
|
-
* 1. **No `RcSes*` wrapper renders it.** `MuiTable`, `MuiTableCell`,
|
|
9
|
-
* `MuiCardHeader`, `MuiCardContent` and `MuiLinearProgress` ship to consumers
|
|
10
|
-
* and are exercised by nothing - `RcSesCard` builds its own header and
|
|
11
|
-
* content out of Stack/Box rather than MUI's slots.
|
|
12
|
-
* 2. **The wrapper never shows it open.** `MuiTooltip` is styled through
|
|
13
|
-
* `RcSesTooltip`, but that component owns its open state internally and no
|
|
14
|
-
* story can force it, so the popper never reaches a baseline.
|
|
15
|
-
*
|
|
16
|
-
* Either way these render the plain MUI component under the theme, so a broken
|
|
17
|
-
* or silently dead override surfaces as a pixel diff.
|
|
18
|
-
*/
|
|
19
|
-
declare const meta: Meta;
|
|
20
|
-
export default meta;
|
|
21
|
-
type Story = StoryObj;
|
|
22
|
-
export declare const TableSlots: Story;
|
|
23
|
-
export declare const CardSlots: Story;
|
|
24
|
-
export declare const LinearProgressSlots: Story;
|
|
25
|
-
export declare const TooltipSlots: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesAlert } from '../../components/common/Alert';
|
|
3
|
-
declare const meta: Meta<typeof RcSesAlert>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesAlert>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const Outlined: Story;
|
|
8
|
-
export declare const Filled: Story;
|
|
9
|
-
export declare const Standard: Story;
|
|
10
|
-
export declare const WithActionAndClose: Story;
|
|
11
|
-
export declare const WithoutActionAndClose: Story;
|
|
12
|
-
export declare const Toggles: Story;
|
|
13
|
-
export declare const Dismissible: Story;
|
|
14
|
-
export declare const WithContainer: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesBreadcrumbs } from '../../components/common/Breadcrumbs';
|
|
3
|
-
declare const meta: Meta<typeof RcSesBreadcrumbs>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesBreadcrumbs>;
|
|
6
|
-
export declare const Main: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesButtonWithPopover } from '../../components/common/Button/ButtonWithPopover';
|
|
3
|
-
declare const meta: Meta<typeof RcSesButtonWithPopover>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithCustomContent: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesCard } from '../../components/common/Card';
|
|
3
|
-
declare const meta: Meta<typeof RcSesCard>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesCard>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const WithHeaderAction: Story;
|
|
8
|
-
export declare const WithImage: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesCardShell } from '../../components/common/CardShell';
|
|
3
|
-
declare const meta: Meta<typeof RcSesCardShell>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesCardShell>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const SubcardVariant: Story;
|
|
8
|
-
export declare const BrandTheme: Story;
|
|
9
|
-
export declare const SunkenTheme: Story;
|
|
10
|
-
export declare const HeaderComplete: Story;
|
|
11
|
-
export declare const Borderless: Story;
|
|
12
|
-
export declare const WithoutHeader: Story;
|
|
13
|
-
export declare const WithoutFooter: Story;
|
|
14
|
-
export declare const ContentOnly: Story;
|
|
15
|
-
export declare const FullHeight: Story;
|
|
16
|
-
export declare const MobileViewport: Story;
|
|
17
|
-
export declare const TabletViewport: Story;
|
|
18
|
-
export declare const LeftAlignedFooterMobileViewport: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesCheckboxFormControl } from '../../components/form/inputs/CheckboxFormControl';
|
|
3
|
-
declare const meta: Meta<typeof RcSesCheckboxFormControl>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesCheckboxFormControl>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const Loading: Story;
|
|
8
|
-
export declare const Indeterminate: Story;
|
|
9
|
-
export declare const ParentChildLogicLoading: Story;
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryContext } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesDatepicker } from '../../components/form/inputs/Datepicker';
|
|
3
|
-
declare const meta: Meta<typeof RcSesDatepicker>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Main: {
|
|
6
|
-
render: (args: any) => import("react").JSX.Element;
|
|
7
|
-
args: {
|
|
8
|
-
clearable: boolean;
|
|
9
|
-
label: string;
|
|
10
|
-
rules: {
|
|
11
|
-
required: boolean;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
parameters: {
|
|
15
|
-
docs: {
|
|
16
|
-
source: {
|
|
17
|
-
type: string;
|
|
18
|
-
transform: (code: string, storyContext: StoryContext) => string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* The calendar popup carries the `MuiPickersLayout` theme overrides, and it only
|
|
25
|
-
* mounts once the picker is opened - so nothing covered them until this story
|
|
26
|
-
* (SAV-5648 / LIB-02).
|
|
27
|
-
*/
|
|
28
|
-
export declare const CalendarOpen: {
|
|
29
|
-
render: (args: any) => import("react").JSX.Element;
|
|
30
|
-
args: {
|
|
31
|
-
clearable: boolean;
|
|
32
|
-
label: string;
|
|
33
|
-
open: boolean;
|
|
34
|
-
rules: {
|
|
35
|
-
required: boolean;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
parameters: {
|
|
39
|
-
docs: {
|
|
40
|
-
story: {
|
|
41
|
-
inline: boolean;
|
|
42
|
-
iframeHeight: number;
|
|
43
|
-
};
|
|
44
|
-
description: {
|
|
45
|
-
story: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Days past the 20th are out of range: they must read as greyed out, not merely
|
|
52
|
-
* be unclickable. Disabled weekends stay red.
|
|
53
|
-
*/
|
|
54
|
-
export declare const CalendarWithDisabledDates: {
|
|
55
|
-
render: (args: any) => import("react").JSX.Element;
|
|
56
|
-
parameters: {
|
|
57
|
-
docs: {
|
|
58
|
-
story: {
|
|
59
|
-
inline: boolean;
|
|
60
|
-
iframeHeight: number;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
args: {
|
|
65
|
-
clearable: boolean;
|
|
66
|
-
label: string;
|
|
67
|
-
open: boolean;
|
|
68
|
-
rules: {
|
|
69
|
-
required: boolean;
|
|
70
|
-
};
|
|
71
|
-
datepickerProps: {
|
|
72
|
-
maxDate: Date;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* A scattered rule rather than a range, so disabled days sit between selectable
|
|
78
|
-
* ones.
|
|
79
|
-
*/
|
|
80
|
-
export declare const CalendarWithDisabledRule: {
|
|
81
|
-
render: (args: any) => import("react").JSX.Element;
|
|
82
|
-
parameters: {
|
|
83
|
-
docs: {
|
|
84
|
-
story: {
|
|
85
|
-
inline: boolean;
|
|
86
|
-
iframeHeight: number;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
args: {
|
|
91
|
-
clearable: boolean;
|
|
92
|
-
label: string;
|
|
93
|
-
open: boolean;
|
|
94
|
-
rules: {
|
|
95
|
-
required: boolean;
|
|
96
|
-
};
|
|
97
|
-
datepickerProps: {
|
|
98
|
-
shouldDisableDate: (date: Date) => boolean;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Covers the `Mui-selected` day styling.
|
|
104
|
-
*/
|
|
105
|
-
export declare const CalendarWithValue: {
|
|
106
|
-
render: (args: any) => import("react").JSX.Element;
|
|
107
|
-
parameters: {
|
|
108
|
-
docs: {
|
|
109
|
-
story: {
|
|
110
|
-
inline: boolean;
|
|
111
|
-
iframeHeight: number;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
args: {
|
|
116
|
-
clearable: boolean;
|
|
117
|
-
label: string;
|
|
118
|
-
open: boolean;
|
|
119
|
-
rules: {
|
|
120
|
-
required: boolean;
|
|
121
|
-
};
|
|
122
|
-
value: string;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* The whole field disabled - a different state from a disabled day.
|
|
127
|
-
*/
|
|
128
|
-
export declare const Disabled: {
|
|
129
|
-
render: (args: any) => import("react").JSX.Element;
|
|
130
|
-
args: {
|
|
131
|
-
clearable: boolean;
|
|
132
|
-
disabled: boolean;
|
|
133
|
-
label: string;
|
|
134
|
-
rules: {
|
|
135
|
-
required: boolean;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* The error state: input border and helper text.
|
|
141
|
-
*/
|
|
142
|
-
export declare const WithError: {
|
|
143
|
-
render: (args: any) => import("react").JSX.Element;
|
|
144
|
-
args: {
|
|
145
|
-
clearable: boolean;
|
|
146
|
-
error: string;
|
|
147
|
-
label: string;
|
|
148
|
-
rules: {
|
|
149
|
-
required: boolean;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesFormControlWrapper } from '../../components/form/components/FormControlWrapper';
|
|
3
|
-
declare const meta: Meta<typeof RcSesFormControlWrapper>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithError: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesImageCard } from '../../components/common/ImageCard';
|
|
3
|
-
declare const meta: Meta<typeof RcSesImageCard>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesImageCard>;
|
|
6
|
-
export declare const Main: Story;
|
|
7
|
-
export declare const WithoutButton: Story;
|
|
8
|
-
export declare const OutlinedButton: Story;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ListWithIconsItemData } from '../../components/common/ListWithIcons/ListWithIcons.types';
|
|
3
|
-
import { ListWithIconsProps } from '../../components/common/ListWithIcons';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: ({ items, layout, isLoading, skeletonCount, }: ListWithIconsProps) => import("react").JSX.Element;
|
|
7
|
-
tags: string[];
|
|
8
|
-
args: {
|
|
9
|
-
items: ListWithIconsItemData[];
|
|
10
|
-
layout: "vertical";
|
|
11
|
-
isLoading: false;
|
|
12
|
-
};
|
|
13
|
-
argTypes: {
|
|
14
|
-
layout: {
|
|
15
|
-
control: {
|
|
16
|
-
type: "radio";
|
|
17
|
-
};
|
|
18
|
-
options: string[];
|
|
19
|
-
};
|
|
20
|
-
isLoading: {
|
|
21
|
-
control: {
|
|
22
|
-
type: "boolean";
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
items: {
|
|
26
|
-
control: false;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<typeof meta>;
|
|
32
|
-
export declare const Main: Story;
|
|
33
|
-
export declare const Horizontal: Story;
|
|
34
|
-
export declare const Loading: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesPhoneInputFormControl } from '../../components/form/inputs/PhoneInputFormControl';
|
|
3
|
-
declare const meta: Meta<typeof RcSesPhoneInputFormControl>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesPopover } from '../../components/common/Popover';
|
|
3
|
-
/**
|
|
4
|
-
* `RcSesButtonWithPopover` owns the popover's open state internally and starts
|
|
5
|
-
* closed, so `MuiPopover` never reached a visual baseline (SAV-5648 / LIB-02).
|
|
6
|
-
* These stories render the popover itself, already open against a fixed anchor.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof RcSesPopover>;
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof RcSesPopover>;
|
|
11
|
-
export declare const Default: Story;
|
|
12
|
-
export declare const WithoutHeader: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesRadioButtonGroup } from '../../components/form/inputs/RadioButtonGroup';
|
|
3
|
-
declare const meta: Meta<typeof RcSesRadioButtonGroup>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesRadioButtonGroup>;
|
|
6
|
-
export declare const Main: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as RcSesSearchableField } from '../../components/form/inputs/SearchableField';
|
|
3
|
-
declare const meta: Meta<typeof RcSesSearchableField>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RcSesSearchableField>;
|
|
6
|
-
export declare const Main: Story;
|