@registrucentras/rc-ses-react-components 2.0.0-rc.2 → 2.0.0-rc.4
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/assets/icons/ArrowRightIcon.d.ts +1 -1
- package/dist/components/common/CardShell/CardFooter/index.d.ts +3 -0
- package/dist/components/common/CardShell/CardFooter/types.d.ts +21 -0
- package/dist/components/common/CardShell/index.d.ts +5 -0
- package/dist/components/common/CardShell/types.d.ts +26 -0
- package/dist/components/common/IconWithSquareBackground/index.d.ts +12 -0
- package/dist/components/common/ServiceLinks/ServiceLinkItem/index.d.ts +15 -0
- package/dist/components/common/ServiceLinks/index.d.ts +3 -0
- package/dist/components/common/ServiceLinks/types.d.ts +34 -0
- package/dist/components/common/SideNav/SideNav.types.d.ts +20 -0
- package/dist/components/common/SideNav/SideNavLayout.d.ts +4 -0
- package/dist/components/common/SideNav/components/SideNavPill.d.ts +9 -0
- package/dist/components/common/SideNav/components/SideNavPillList.d.ts +9 -0
- package/dist/components/common/SideNav/components/SideNavRow.d.ts +9 -0
- package/dist/components/common/SideNav/hooks/useSideNavScrollSpy.d.ts +12 -0
- package/dist/components/common/SideNav/index.d.ts +4 -0
- package/dist/components/common/TitleBlock/index.d.ts +3 -0
- package/dist/components/common/TitleBlock/types.d.ts +73 -0
- package/dist/components/utils/normalizeSx.d.ts +4 -0
- package/dist/library/index.d.ts +10 -1
- package/dist/library/types.d.ts +8 -1
- package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
- package/dist/registrucentras-rc-ses-react-components.js +3535 -2563
- package/dist/stories/components/display/CardShell.stories.d.ts +17 -0
- package/dist/stories/components/display/SelectableCardList.stories.d.ts +1 -0
- package/dist/stories/components/display/ServiceLinks.stories.d.ts +28 -0
- package/dist/stories/components/display/TitleBlock.stories.d.ts +20 -0
- package/dist/stories/components/form/FormControlWrapper.stories.d.ts +1 -0
- package/dist/stories/components/icons/IconWithSquareBackground.stories.d.ts +7 -0
- package/dist/stories/components/inputs/DatePicker.stories.d.ts +107 -0
- package/dist/stories/components/navigation/SideNav.stories.d.ts +7 -0
- package/dist/theme/cards.d.ts +114 -0
- package/dist/theme/light/MuiPickersOutlinedInput.d.ts +8 -0
- package/package.json +1 -1
- package/src/assets/icons/ArrowRightIcon.tsx +2 -1
- package/src/components/common/AdvancedList/components/AdvancedListItem/index.tsx +8 -6
- package/src/components/common/Card/index.tsx +1 -23
- package/src/components/common/CardShell/CardFooter/index.test.tsx +52 -0
- package/src/components/common/CardShell/CardFooter/index.tsx +38 -0
- package/src/components/common/CardShell/CardFooter/types.ts +24 -0
- package/src/components/common/CardShell/index.test.tsx +137 -0
- package/src/components/common/CardShell/index.tsx +78 -0
- package/src/components/common/CardShell/types.ts +30 -0
- package/src/components/common/IconWithSquareBackground/index.test.tsx +55 -0
- package/src/components/common/IconWithSquareBackground/index.tsx +83 -0
- package/src/components/common/ServiceLinks/ServiceLinkItem/index.tsx +177 -0
- package/src/components/common/ServiceLinks/index.test.tsx +166 -0
- package/src/components/common/ServiceLinks/index.tsx +66 -0
- package/src/components/common/ServiceLinks/types.ts +37 -0
- package/src/components/common/SideNav/SideNav.types.ts +24 -0
- package/src/components/common/SideNav/SideNavLayout.test.tsx +113 -0
- package/src/components/common/SideNav/SideNavLayout.tsx +67 -0
- package/src/components/common/SideNav/components/SideNavPill.tsx +62 -0
- package/src/components/common/SideNav/components/SideNavPillList.tsx +190 -0
- package/src/components/common/SideNav/components/SideNavRow.tsx +72 -0
- package/src/components/common/SideNav/hooks/useSideNavScrollSpy.test.ts +457 -0
- package/src/components/common/SideNav/hooks/useSideNavScrollSpy.ts +154 -0
- package/src/components/common/SideNav/index.test.tsx +99 -0
- package/src/components/common/SideNav/index.tsx +83 -0
- package/src/components/common/TitleBlock/index.test.tsx +366 -0
- package/src/components/common/TitleBlock/index.tsx +144 -0
- package/src/components/common/TitleBlock/types.ts +82 -0
- package/src/components/form/inputs/Datepicker/index.test.tsx +117 -0
- package/src/components/utils/normalizeSx.ts +24 -0
- package/src/i18n/namespaces/common/en.json +4 -0
- package/src/i18n/namespaces/common/lt.json +4 -0
- package/src/library/index.ts +12 -0
- package/src/library/types.ts +38 -0
- package/src/stories/components/display/CardShell.stories.tsx +263 -0
- package/src/stories/components/display/SelectableCardList.stories.tsx +33 -1
- package/src/stories/components/display/ServiceLinks.stories.tsx +154 -0
- package/src/stories/components/display/TitleBlock.stories.tsx +506 -0
- package/src/stories/components/form/FormControlWrapper.stories.tsx +23 -0
- package/src/stories/components/icons/IconWithSquareBackground.stories.tsx +60 -0
- package/src/stories/components/inputs/DatePicker.stories.tsx +105 -9
- package/src/stories/components/navigation/SideNav.stories.tsx +110 -0
- package/src/theme/cards.ts +60 -0
- package/src/theme/light/MuiButton.tsx +6 -0
- package/src/theme/light/MuiPickersLayout.ts +10 -1
- package/src/theme/light/MuiPickersOutlinedInput.ts +88 -0
- package/src/theme/light/index.tsx +2 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as IconProps } from '../IconProps';
|
|
2
|
-
declare function ArrowRightIcon({ className, size, fillColor, ...rest }: IconProps): import("react").JSX.Element;
|
|
2
|
+
declare function ArrowRightIcon({ className, size, fillColor, weight, ...rest }: IconProps): import("react").JSX.Element;
|
|
3
3
|
export default ArrowRightIcon;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type CardFooterAlign = 'start' | 'between' | 'end';
|
|
3
|
+
export type RcSesCardFooterTestIds = {
|
|
4
|
+
root?: string;
|
|
5
|
+
};
|
|
6
|
+
export type RcSesCardFooterProps = {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Horizontal distribution of the row. `between` pushes the first and last
|
|
10
|
+
* child apart, which is the cancel/continue pattern; `end` is the single
|
|
11
|
+
* primary action; `start` is a lone link such as "Žiūrėti visas".
|
|
12
|
+
*/
|
|
13
|
+
align?: CardFooterAlign;
|
|
14
|
+
/**
|
|
15
|
+
* Whether direct children stretch to the full width once the row stacks.
|
|
16
|
+
* Right for buttons, wrong for a text link, which is why it is a prop.
|
|
17
|
+
*/
|
|
18
|
+
stretchOnMobile?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
testIds?: RcSesCardFooterTestIds;
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { RcSesCardShellProps } from './types';
|
|
3
|
+
type ShellProps = RcSesCardShellProps & Omit<BoxProps, keyof RcSesCardShellProps | 'children'>;
|
|
4
|
+
declare function RcSesCardShell({ variant, theme, fullHeight, borderless, header, children, footer, className, testIds, sx, ...boxProps }: ShellProps): import("react").JSX.Element;
|
|
5
|
+
export default RcSesCardShell;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type CardShellVariant = 'card' | 'subcard';
|
|
3
|
+
export type CardShellTheme = 'default' | 'brand' | 'sunken';
|
|
4
|
+
export type RcSesCardShellTestIds = {
|
|
5
|
+
root?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
content?: string;
|
|
8
|
+
footer?: string;
|
|
9
|
+
};
|
|
10
|
+
export type RcSesCardShellProps = {
|
|
11
|
+
variant?: CardShellVariant;
|
|
12
|
+
theme?: CardShellTheme;
|
|
13
|
+
fullHeight?: boolean;
|
|
14
|
+
/** Renders the shell without any border. */
|
|
15
|
+
borderless?: boolean;
|
|
16
|
+
/** Header row, normally `RcSesTitleBlock`. The shell only provides the slot. */
|
|
17
|
+
header?: ReactNode;
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Footer row, normally `RcSesCardFooter`. The shell only provides the slot, so
|
|
21
|
+
* direction and alignment belong to the footer block rather than here.
|
|
22
|
+
*/
|
|
23
|
+
footer?: ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
testIds?: RcSesCardShellTestIds;
|
|
26
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as IconProps } from '../../../assets/IconProps';
|
|
3
|
+
type SquareTileSize = 40 | 44;
|
|
4
|
+
type SquareTileVariant = 'solid' | 'soft' | 'muted';
|
|
5
|
+
type Props = {
|
|
6
|
+
Icon: React.JSXElementConstructor<IconProps>;
|
|
7
|
+
size?: SquareTileSize;
|
|
8
|
+
variant?: SquareTileVariant;
|
|
9
|
+
};
|
|
10
|
+
declare function IconWithSquareBackground(props: Props): React.JSX.Element;
|
|
11
|
+
declare const _default: React.MemoExoticComponent<typeof IconWithSquareBackground>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementType } from 'react';
|
|
2
|
+
import { RcSesServiceLinkItem, RcSesServiceLinksTestIds } from '../types';
|
|
3
|
+
type Props = RcSesServiceLinkItem & {
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
testIds?: RcSesServiceLinksTestIds;
|
|
6
|
+
/**
|
|
7
|
+
* Custom element used to render navigable rows. Receives `href` (and other
|
|
8
|
+
* anchor props) and must render an interactive element. Falls back to `<a>`.
|
|
9
|
+
* For router links, pass a small adapter, e.g.
|
|
10
|
+
* `({ href, ...rest }) => <RouterLink to={href} {...rest} />`.
|
|
11
|
+
*/
|
|
12
|
+
linkComponent?: ElementType;
|
|
13
|
+
};
|
|
14
|
+
declare function ServiceLinkItem({ label, href, target, onClick, disabled, isLoading, linkComponent, testIds, }: Props): import("react").JSX.Element;
|
|
15
|
+
export default ServiceLinkItem;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
export type RcSesServiceLinksTestIds = {
|
|
3
|
+
root?: string;
|
|
4
|
+
item?: string;
|
|
5
|
+
itemLabel?: string;
|
|
6
|
+
itemIcon?: string;
|
|
7
|
+
};
|
|
8
|
+
export type RcSesServiceLinkItem = {
|
|
9
|
+
label: ReactNode;
|
|
10
|
+
href?: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Optional stable identity used as the React key when rendering the list.
|
|
16
|
+
* Stripped out before spreading onto the row, so it never reaches the DOM.
|
|
17
|
+
*/
|
|
18
|
+
key?: string;
|
|
19
|
+
};
|
|
20
|
+
export type RcSesServiceLinksProps = {
|
|
21
|
+
items: RcSesServiceLinkItem[];
|
|
22
|
+
dividers?: boolean;
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
skeletonCount?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Custom element used to render navigable rows. Receives `href` (and other
|
|
27
|
+
* anchor props). Falls back to a native `<a>` when omitted. For router
|
|
28
|
+
* links pass a small adapter, e.g.
|
|
29
|
+
* `({ href, ...rest }) => <RouterLink to={href} {...rest} />`.
|
|
30
|
+
*/
|
|
31
|
+
linkComponent?: ElementType;
|
|
32
|
+
className?: string;
|
|
33
|
+
testIds?: RcSesServiceLinksTestIds;
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type RcSesSideNavItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
count?: number;
|
|
7
|
+
};
|
|
8
|
+
export type RcSesSideNavProps = {
|
|
9
|
+
items: RcSesSideNavItem[];
|
|
10
|
+
activeItemId?: string;
|
|
11
|
+
onItemClick?: (id: string) => void;
|
|
12
|
+
title?: string;
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
};
|
|
15
|
+
export type RcSesSideNavLayoutProps = Omit<RcSesSideNavProps, 'sx'> & {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
sidebarWidth?: string;
|
|
18
|
+
offset?: number;
|
|
19
|
+
sx?: SxProps<Theme>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RcSesSideNavLayoutProps } from './SideNav.types';
|
|
2
|
+
declare function RcSesSideNavLayout({ children, items, activeItemId: controlledActiveItemId, onItemClick, title, offset, sidebarWidth, sx, }: RcSesSideNavLayoutProps): import("react").JSX.Element;
|
|
3
|
+
export default RcSesSideNavLayout;
|
|
4
|
+
export type { RcSesSideNavLayoutProps } from './SideNav.types';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RcSesSideNavItem } from '../SideNav.types';
|
|
2
|
+
type Props = {
|
|
3
|
+
items: RcSesSideNavItem[];
|
|
4
|
+
activeItemId?: string;
|
|
5
|
+
onItemClick?: (id: string) => void;
|
|
6
|
+
getItemAriaLabel: (item: RcSesSideNavItem) => string | undefined;
|
|
7
|
+
};
|
|
8
|
+
declare function SideNavPillList({ items, activeItemId, onItemClick, getItemAriaLabel }: Props): import("react").JSX.Element;
|
|
9
|
+
export default SideNavPillList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
type UseSideNavScrollSpyOptions = {
|
|
3
|
+
itemIds: string[];
|
|
4
|
+
offset?: number;
|
|
5
|
+
scope?: RefObject<HTMLElement>;
|
|
6
|
+
};
|
|
7
|
+
declare function useSideNavScrollSpy({ itemIds, offset, scope }: UseSideNavScrollSpyOptions): {
|
|
8
|
+
activeItemId: string | undefined;
|
|
9
|
+
scrollToItem: (id: string) => void;
|
|
10
|
+
};
|
|
11
|
+
export default useSideNavScrollSpy;
|
|
12
|
+
export type { UseSideNavScrollSpyOptions };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RcSesSideNavProps } from './SideNav.types';
|
|
2
|
+
declare function RcSesSideNav({ items, activeItemId, onItemClick, title, sx, }: RcSesSideNavProps): import("react").JSX.Element;
|
|
3
|
+
export default RcSesSideNav;
|
|
4
|
+
export type { RcSesSideNavItem, RcSesSideNavProps } from './SideNav.types';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RcSesTitleBlockProps } from './types';
|
|
2
|
+
declare function RcSesTitleBlock({ title, headingLevel, titleVariant, titleTone, orientation, icon, count, description, actions, headingId, className, testIds, }: RcSesTitleBlockProps): import("react").JSX.Element;
|
|
3
|
+
export default RcSesTitleBlock;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TitleBlockHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
export type TitleBlockTitleVariant = 'h4' | 'h5' | 'h6';
|
|
4
|
+
export type TitleBlockOrientation = 'horizontal' | 'vertical';
|
|
5
|
+
export type RcSesTitleBlockTestIds = {
|
|
6
|
+
root?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
heading?: string;
|
|
9
|
+
badge?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
actions?: string;
|
|
12
|
+
};
|
|
13
|
+
export type RcSesTitleBlockBaseProps = {
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
headingLevel?: TitleBlockHeadingLevel;
|
|
16
|
+
/**
|
|
17
|
+
* Visual size of the title, independent of `headingLevel`. The semantic tag
|
|
18
|
+
* (`headingLevel`) sets document structure; this sets the type scale.
|
|
19
|
+
* Defaults to `h6` (18px).
|
|
20
|
+
*/
|
|
21
|
+
titleVariant?: TitleBlockTitleVariant;
|
|
22
|
+
/**
|
|
23
|
+
* Named tone applied to the title. Closed set so consumers cannot paint an
|
|
24
|
+
* arbitrary colour into the DS component.
|
|
25
|
+
* - `default` (default): `palette.grey[900]`, for non-branded rows.
|
|
26
|
+
* - `brand`: `palette.primary[700]`, for branded rows (catalogue tiles,
|
|
27
|
+
* card headers). Does not imply the row is clickable — use a link tone
|
|
28
|
+
* on the CTA, not the heading, if that signal is needed.
|
|
29
|
+
*/
|
|
30
|
+
titleTone?: 'default' | 'brand';
|
|
31
|
+
/**
|
|
32
|
+
* Decorative leading visual, `Icon-tile` once SAV-6476 lands. Rendered
|
|
33
|
+
* `aria-hidden`, so it never contributes to the heading's accessible name.
|
|
34
|
+
*/
|
|
35
|
+
icon?: ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Count rendered as a Neutral/Small `Badge` inside the heading, so it is
|
|
38
|
+
* announced together with the title. Intended for short section headings.
|
|
39
|
+
*/
|
|
40
|
+
count?: number;
|
|
41
|
+
description?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* DOM id assigned to the heading element. Lets a consumer point
|
|
44
|
+
* `aria-labelledby` at the row title from an external element (e.g. an
|
|
45
|
+
* action CTA in a card grid) without duplicating the title string.
|
|
46
|
+
*/
|
|
47
|
+
headingId?: string;
|
|
48
|
+
className?: string;
|
|
49
|
+
testIds?: RcSesTitleBlockTestIds;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Horizontal layout: icon on the left, text on the right, actions on the far
|
|
53
|
+
* right. Up to two trailing CTAs are allowed in the `actions` slot.
|
|
54
|
+
*/
|
|
55
|
+
export type RcSesTitleBlockHorizontalProps = RcSesTitleBlockBaseProps & {
|
|
56
|
+
orientation?: 'horizontal';
|
|
57
|
+
/**
|
|
58
|
+
* Up to two CTAs, rendered at the end of the header row. A trailing
|
|
59
|
+
* affordance such as the Category-tile chevron is not a CTA and will need
|
|
60
|
+
* its own slot.
|
|
61
|
+
*/
|
|
62
|
+
actions?: ReactNode;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Vertical layout: icon on top, text below. There is no header-level actions
|
|
66
|
+
* slot — put any CTA in the surrounding `CardShell`'s `footer` slot instead.
|
|
67
|
+
* Passing `actions` here is a compile error.
|
|
68
|
+
*/
|
|
69
|
+
export type RcSesTitleBlockVerticalProps = RcSesTitleBlockBaseProps & {
|
|
70
|
+
orientation: 'vertical';
|
|
71
|
+
actions?: never;
|
|
72
|
+
};
|
|
73
|
+
export type RcSesTitleBlockProps = RcSesTitleBlockHorizontalProps | RcSesTitleBlockVerticalProps;
|
package/dist/library/index.d.ts
CHANGED
|
@@ -9,11 +9,16 @@ import { default as RcSesBreadcrumbs } from '../components/common/Breadcrumbs';
|
|
|
9
9
|
import { default as RcSesButton } from '../components/common/Button';
|
|
10
10
|
import { default as RcSesButtonWithPopover } from '../components/common/Button/ButtonWithPopover';
|
|
11
11
|
import { default as RcSesCard } from '../components/common/Card';
|
|
12
|
+
import { default as RcSesCardShell } from '../components/common/CardShell';
|
|
13
|
+
import { default as RcSesCardFooter } from '../components/common/CardShell/CardFooter';
|
|
12
14
|
import { default as DataPagination } from '../components/common/DataPagination';
|
|
13
15
|
import { default as RcSesIconWithCircularBackground } from '../components/common/IconWithCircularBackground';
|
|
16
|
+
import { default as RcSesIconWithSquareBackground } from '../components/common/IconWithSquareBackground';
|
|
14
17
|
import { default as RcSesImageCard } from '../components/common/ImageCard';
|
|
15
18
|
import { default as ListWithIcons } from '../components/common/ListWithIcons';
|
|
16
19
|
import { default as RcSesSegmentedControl } from '../components/common/SegmentedControl';
|
|
20
|
+
import { default as RcSesServiceLinks } from '../components/common/ServiceLinks';
|
|
21
|
+
import { default as RcSesSideNavLayout } from '../components/common/SideNav/SideNavLayout';
|
|
17
22
|
import { default as RcSesSnackbar } from '../components/common/Snackbar';
|
|
18
23
|
import { RcSesSnackbarProvider, useSnackbar } from '../components/common/Snackbar/SnackbarProvider';
|
|
19
24
|
import { default as RcSesSwitch } from '../components/common/Switch';
|
|
@@ -21,6 +26,7 @@ import { default as RcSesTab } from '../components/common/Tabs/Tab';
|
|
|
21
26
|
import { default as RcSesTabPanel } from '../components/common/Tabs/TabPanel';
|
|
22
27
|
import { default as RcSesTabs } from '../components/common/Tabs/Tabs';
|
|
23
28
|
import { default as RcSesTabsWrapper } from '../components/common/Tabs/TabsWrapper';
|
|
29
|
+
import { default as RcSesTitleBlock } from '../components/common/TitleBlock';
|
|
24
30
|
import { default as RcSesTooltip } from '../components/common/Tooltip';
|
|
25
31
|
import { default as RcSesFormControlWrapper } from '../components/form/components/FormControlWrapper';
|
|
26
32
|
import { default as RcSesCheckbox } from '../components/form/inputs/Checkbox';
|
|
@@ -61,8 +67,9 @@ declare module '@mui/x-date-pickers/models' {
|
|
|
61
67
|
export { RcSesPalette, RcSesTheme };
|
|
62
68
|
export { RcSesAccordion, useAccordionController };
|
|
63
69
|
export { RcSesAdvancedList, RcSesAdvancedListItem };
|
|
64
|
-
export { RcSesAlert, RcSesBadge, RcSesBreadcrumbs, RcSesButton, RcSesButtonWithPopover, RcSesFullPageLoader, RcSesLoader, RcSesLoadingSpinner, RcSesCard, RcSesDialog, RcSesFooter, RcSesImageCard, RcSesSnackbar, RcSesSnackbarProvider, RcSesModal, RcSesSwitch, };
|
|
70
|
+
export { RcSesAlert, RcSesBadge, RcSesBreadcrumbs, RcSesButton, RcSesButtonWithPopover, RcSesFullPageLoader, RcSesLoader, RcSesLoadingSpinner, RcSesCard, RcSesCardShell, RcSesTitleBlock, RcSesCardFooter, RcSesDialog, RcSesFooter, RcSesImageCard, RcSesSnackbar, RcSesSnackbarProvider, RcSesModal, RcSesSwitch, };
|
|
65
71
|
export { RcSesSegmentedControl };
|
|
72
|
+
export { RcSesSideNavLayout };
|
|
66
73
|
export { RcSesCheckbox, RcSesCheckboxFormControl, RcSesSimpleCheckbox };
|
|
67
74
|
export { useSnackbar };
|
|
68
75
|
export { RcSesDatepicker };
|
|
@@ -79,6 +86,7 @@ export { RcSesTooltip };
|
|
|
79
86
|
export { RcSesTextField };
|
|
80
87
|
export { DataPagination };
|
|
81
88
|
export { ListWithIcons };
|
|
89
|
+
export { RcSesServiceLinks };
|
|
82
90
|
export { ServiceWizardStepper };
|
|
83
91
|
export { RcSesFormControlLabel };
|
|
84
92
|
export { SelectableCardList };
|
|
@@ -87,4 +95,5 @@ export type { SnackbarSize, SnackbarState } from '../components/common/Snackbar/
|
|
|
87
95
|
export { RcSesServiceFormActions, RcSesServiceFormContainer, RcSesCardFormContainer, RcSesFormControlWrapper, RcSesServiceHeader, RcSesServicePage, };
|
|
88
96
|
export type { RcSesIconProps };
|
|
89
97
|
export { RcSesIconWithCircularBackground };
|
|
98
|
+
export { RcSesIconWithSquareBackground };
|
|
90
99
|
export * from './icons';
|
package/dist/library/types.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { RcSesCardProps } from '../components/common/Card';
|
|
2
|
+
import { CardFooterAlign, RcSesCardFooterProps, RcSesCardFooterTestIds } from '../components/common/CardShell/CardFooter/types';
|
|
3
|
+
import { CardShellTheme, CardShellVariant, RcSesCardShellProps, RcSesCardShellTestIds } from '../components/common/CardShell/types';
|
|
2
4
|
import { ListWithIconsProps } from '../components/common/ListWithIcons';
|
|
3
5
|
import { ListWithIconsItemData } from '../components/common/ListWithIcons/ListWithIcons.types';
|
|
4
6
|
import { RcSesSegmentOption, RcSesSegmentedControlProps } from '../components/common/SegmentedControl';
|
|
5
7
|
import { RcSesSegmentButtonProps } from '../components/common/SegmentedControl/components/SegmentButton';
|
|
8
|
+
import { RcSesServiceLinkItem, RcSesServiceLinksProps, RcSesServiceLinksTestIds } from '../components/common/ServiceLinks/types';
|
|
9
|
+
import { RcSesSideNavItem } from '../components/common/SideNav';
|
|
10
|
+
import { RcSesSideNavLayoutProps } from '../components/common/SideNav/SideNavLayout';
|
|
11
|
+
import { RcSesTitleBlockProps, RcSesTitleBlockTestIds, TitleBlockHeadingLevel, TitleBlockTitleVariant } from '../components/common/TitleBlock/types';
|
|
6
12
|
import { RcSesTooltipProps } from '../components/common/Tooltip';
|
|
7
13
|
import { RcSesFormControlLabelProps } from '../components/form/inputs/FormControlLabel';
|
|
8
14
|
import { SimpleCheckboxProps } from '../components/form/inputs/SimpleCheckbox';
|
|
@@ -15,7 +21,8 @@ import { DialogSize, RcSesDialogProps } from '../components/overlays/Dialog';
|
|
|
15
21
|
import { ModalVariant, RcSesModalProps } from '../components/overlays/Modal';
|
|
16
22
|
import { ButtonProps } from '../types/buttons/ButtonProps';
|
|
17
23
|
export type { ListWithIconsProps, ListWithIconsItemData };
|
|
24
|
+
export type { RcSesServiceLinksProps, RcSesServiceLinkItem, RcSesServiceLinksTestIds };
|
|
18
25
|
export type { ButtonProps };
|
|
19
|
-
export type { RcSesFullPageLoaderProps, RcSesLoaderBackdrop, RcSesLoaderProps, RcSesLoaderSize, RcSesCardFormContainerProps, RcSesCardProps, RcSesSegmentedControlProps, RcSesSegmentButtonProps, RcSesSegmentOption, ServiceWizardStepperProps, SimpleCheckboxProps, RcSesFormControlLabelProps, RcSesLoadingSpinnerProps, RcSesSpinnerColor, RcSesTooltipProps, };
|
|
26
|
+
export type { RcSesFullPageLoaderProps, RcSesLoaderBackdrop, RcSesLoaderProps, RcSesLoaderSize, RcSesCardFormContainerProps, RcSesCardProps, RcSesCardShellProps, RcSesCardShellTestIds, RcSesTitleBlockProps, RcSesTitleBlockTestIds, RcSesCardFooterProps, RcSesCardFooterTestIds, CardFooterAlign, CardShellVariant, CardShellTheme, TitleBlockHeadingLevel, TitleBlockTitleVariant, RcSesSegmentedControlProps, RcSesSegmentButtonProps, RcSesSegmentOption, ServiceWizardStepperProps, SimpleCheckboxProps, RcSesFormControlLabelProps, RcSesLoadingSpinnerProps, RcSesSpinnerColor, RcSesTooltipProps, RcSesSideNavItem, RcSesSideNavLayoutProps, };
|
|
20
27
|
export type { RcSesDialogProps, DialogSize };
|
|
21
28
|
export type { RcSesModalProps, ModalVariant };
|