@registrucentras/rc-ses-react-components 2.0.0-rc.0 → 2.0.0-rc.2
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/README.md +5 -1
- package/dist/assets/icons/CaretUpBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CaretUpIcon.d.ts +3 -0
- package/dist/assets/icons/ListIcon.d.ts +3 -0
- package/dist/assets/icons/MinusIcon.d.ts +3 -0
- package/dist/assets/icons/NotePencilIcon.d.ts +3 -0
- package/dist/assets/icons/PlusIcon.d.ts +3 -0
- package/dist/assets/icons/TrashIcon.d.ts +3 -0
- package/dist/assets/icons/UserIcon.d.ts +3 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItem/AdvancedListItem.types.d.ts +106 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemLeading.d.ts +12 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemTrailing.d.ts +7 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItem/hooks/usePrefersReducedMotion.d.ts +2 -0
- package/dist/components/common/AdvancedList/components/AdvancedListItem/index.d.ts +4 -0
- package/dist/components/common/AdvancedList/index.d.ts +11 -0
- package/dist/components/common/Button/index.d.ts +13 -3
- package/dist/components/common/SelectableCardList/components/SelectableCardListItem.d.ts +4 -1
- package/dist/components/common/SelectableCardList/index.d.ts +4 -1
- package/dist/components/common/Tooltip/index.d.ts +20 -0
- package/dist/components/form/inputs/Select/index.d.ts +1 -0
- package/dist/library/icons.d.ts +9 -1
- package/dist/library/index.d.ts +5 -0
- package/dist/library/types.d.ts +2 -1
- package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
- package/dist/registrucentras-rc-ses-react-components.js +4137 -3249
- package/dist/stories/components/actions/Button.stories.d.ts +4 -3
- package/dist/stories/components/display/AdvancedList.stories.d.ts +33 -0
- package/dist/stories/components/display/AdvancedListItem.stories.d.ts +33 -0
- package/dist/stories/components/display/SelectableCardList.stories.d.ts +8 -1
- package/dist/stories/components/display/Tooltip.stories.d.ts +48 -0
- package/dist/stories/components/inputs/DatePicker.stories.d.ts +23 -0
- package/dist/stories/components/loaders/LoadingSpinner.stories.d.ts +3 -3
- package/dist/stories/components/overlays/Dialog.stories.d.ts +6 -0
- package/dist/stories/components/overlays/Popover.stories.d.ts +12 -0
- package/dist/stories/theme/ThemedMuiComponents.stories.d.ts +25 -0
- package/dist/theme/light/MuiTooltip.d.ts +3 -0
- package/dist/theme/motion.d.ts +16 -0
- package/package.json +2 -1
- package/src/assets/icons/CaretUpBoldIcon.tsx +17 -0
- package/src/assets/icons/CaretUpIcon.tsx +9 -0
- package/src/assets/icons/ListIcon.tsx +17 -0
- package/src/assets/icons/MinusIcon.tsx +9 -0
- package/src/assets/icons/NotePencilIcon.tsx +9 -0
- package/src/assets/icons/PlusIcon.tsx +9 -0
- package/src/assets/icons/TrashIcon.tsx +23 -0
- package/src/assets/icons/UserIcon.tsx +17 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/AdvancedListItem.types.ts +100 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemLeading.tsx +228 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/components/AdvancedListItemTrailing.tsx +270 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/hooks/usePrefersReducedMotion.test.ts +80 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/hooks/usePrefersReducedMotion.ts +28 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/index.test.tsx +631 -0
- package/src/components/common/AdvancedList/components/AdvancedListItem/index.tsx +340 -0
- package/src/components/common/AdvancedList/index.test.tsx +97 -0
- package/src/components/common/AdvancedList/index.tsx +52 -0
- package/src/components/common/Button/index.tsx +15 -1
- package/src/components/common/Card/index.tsx +2 -2
- package/src/components/common/ListWithIcons/components/ListWithIconsItem.tsx +7 -5
- package/src/components/common/SelectableCardList/components/SelectableCardListItem.test.tsx +50 -0
- package/src/components/common/SelectableCardList/components/SelectableCardListItem.tsx +34 -0
- package/src/components/common/SelectableCardList/index.test.tsx +56 -2
- package/src/components/common/SelectableCardList/index.tsx +29 -10
- package/src/components/common/Tooltip/index.test.tsx +85 -0
- package/src/components/common/Tooltip/index.tsx +168 -0
- package/src/components/form/inputs/FileDropzone.tsx +1 -0
- package/src/components/form/inputs/FileUpload.tsx +1 -0
- package/src/components/form/inputs/NumberStepper.tsx +1 -0
- package/src/components/form/inputs/PhoneInputFormControl/index.tsx +1 -1
- package/src/components/form/inputs/RadioButtonGroup.test.tsx +71 -0
- package/src/components/form/inputs/RadioButtonGroup.tsx +1 -0
- package/src/components/form/inputs/Select/index.test.tsx +159 -0
- package/src/components/form/inputs/Select/index.tsx +107 -52
- package/src/components/layout/Footer/index.test.tsx +13 -0
- package/src/components/layout/Footer/index.tsx +5 -2
- package/src/i18n/namespaces/common/en.json +14 -0
- package/src/i18n/namespaces/common/lt.json +14 -0
- package/src/library/icons.ts +16 -0
- package/src/library/index.ts +5 -0
- package/src/library/types.ts +2 -0
- package/src/setupTests.ts +7 -1
- package/src/stories/components/display/AdvancedList.stories.tsx +660 -0
- package/src/stories/components/display/AdvancedListItem.stories.tsx +653 -0
- package/src/stories/components/display/SelectableCardList.stories.tsx +19 -0
- package/src/stories/components/display/Tooltip.stories.tsx +67 -0
- package/src/stories/components/inputs/DatePicker.stories.tsx +36 -1
- package/src/stories/components/inputs/Select.stories.tsx +38 -2
- package/src/stories/components/overlays/Dialog.stories.tsx +34 -0
- package/src/stories/components/overlays/Popover.stories.tsx +65 -0
- package/src/stories/theme/ThemedMuiComponents.stories.tsx +177 -0
- package/src/theme/light/MuiAutocomplete.ts +3 -1
- package/src/theme/light/MuiInputBase.ts +4 -0
- package/src/theme/light/MuiTooltip.ts +40 -0
- package/src/theme/light/index.tsx +2 -0
- package/src/theme/motion.tsx +10 -0
package/README.md
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
- struktūriniai sąsajos išdėstymo komponentai formų ir paslaugos užsakymo puslapio atvaizdavimui;
|
|
6
6
|
- pavyzdinės (demo) formos komponentas su visais šioje bibliotekos versijoje prieinamais komponentais;
|
|
7
7
|
|
|
8
|
-
Prisidėjimo gairės pateiktos `CONTRIBUTING.md` faile.
|
|
8
|
+
Prisidėjimo gairės pateiktos [`CONTRIBUTING.md`](./CONTRIBUTING.md) faile. Prieš pradedant dirbti su
|
|
9
|
+
biblioteka jas reikia perskaityti: jose aprašyta prieigos ir dizaino derinimo tvarka, šakų bei pull
|
|
10
|
+
request'ų taisyklės ir versijų leidyba.
|
|
9
11
|
|
|
10
12
|
## Prerekvizitai
|
|
11
13
|
|
|
@@ -14,6 +16,8 @@ Prisidėjimo gairės pateiktos `CONTRIBUTING.md` faile.
|
|
|
14
16
|
```bash
|
|
15
17
|
git clone git@github.com:registrucentras/rc-ses-react-components.git
|
|
16
18
|
```
|
|
19
|
+
Paslaugų teikėjų komandos dirba fork modelyje, todėl klonuoja savo repozitorijos kopiją. Sąranka
|
|
20
|
+
aprašyta [`CONTRIBUTING.md`](./CONTRIBUTING.md) skyriuje „Lokalus paruošimas“;
|
|
17
21
|
3. Terminale atidarykite klonuoto projekto šakinį aplanką ir sudiekite projektui reikiamas bibliotekas:
|
|
18
22
|
```bash
|
|
19
23
|
npm i
|
package/dist/components/common/AdvancedList/components/AdvancedListItem/AdvancedListItem.types.d.ts
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { ListWithIconsItemData } from '../../../ListWithIcons/ListWithIcons.types';
|
|
3
|
+
export type AdvancedListItemState = 'rest' | 'selected' | 'disabled' | 'error';
|
|
4
|
+
export type AdvancedListItemStatusColor = 'grey' | 'warning' | 'success' | 'error';
|
|
5
|
+
export type AdvancedListItemAction = {
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: ComponentType<{
|
|
8
|
+
fillColor?: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
}>;
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type AdvancedListItemLeading = {
|
|
15
|
+
type: 'none';
|
|
16
|
+
} | {
|
|
17
|
+
type: 'reorder';
|
|
18
|
+
onMoveUp?: () => void;
|
|
19
|
+
onMoveDown?: () => void;
|
|
20
|
+
moveUpDisabled?: boolean;
|
|
21
|
+
moveDownDisabled?: boolean;
|
|
22
|
+
} | {
|
|
23
|
+
type: 'checkbox';
|
|
24
|
+
checked: boolean;
|
|
25
|
+
onChange: (checked: boolean) => void;
|
|
26
|
+
'aria-label'?: string;
|
|
27
|
+
} | {
|
|
28
|
+
type: 'radio';
|
|
29
|
+
checked: boolean;
|
|
30
|
+
onChange: (checked: boolean) => void;
|
|
31
|
+
name?: string;
|
|
32
|
+
'aria-label'?: string;
|
|
33
|
+
} | {
|
|
34
|
+
type: 'drag';
|
|
35
|
+
'aria-label'?: string;
|
|
36
|
+
} | {
|
|
37
|
+
type: 'icon';
|
|
38
|
+
icon: ComponentType<{
|
|
39
|
+
fillColor?: string;
|
|
40
|
+
size?: number;
|
|
41
|
+
}>;
|
|
42
|
+
'aria-label'?: string;
|
|
43
|
+
} | {
|
|
44
|
+
type: 'avatar';
|
|
45
|
+
initials?: string;
|
|
46
|
+
src?: string;
|
|
47
|
+
alt?: string;
|
|
48
|
+
} | {
|
|
49
|
+
type: 'index';
|
|
50
|
+
index: number;
|
|
51
|
+
};
|
|
52
|
+
export type AdvancedListItemTrailing = {
|
|
53
|
+
type: 'none';
|
|
54
|
+
} | {
|
|
55
|
+
type: 'actions';
|
|
56
|
+
actions: AdvancedListItemAction[];
|
|
57
|
+
} | {
|
|
58
|
+
type: 'toggle';
|
|
59
|
+
checked: boolean;
|
|
60
|
+
onChange: (checked: boolean) => void;
|
|
61
|
+
'aria-label'?: string;
|
|
62
|
+
} | {
|
|
63
|
+
type: 'status';
|
|
64
|
+
label: string;
|
|
65
|
+
color?: AdvancedListItemStatusColor;
|
|
66
|
+
} | {
|
|
67
|
+
type: 'price';
|
|
68
|
+
amount: string;
|
|
69
|
+
caption?: string;
|
|
70
|
+
onDelete?: () => void;
|
|
71
|
+
deleteAriaLabel?: string;
|
|
72
|
+
} | {
|
|
73
|
+
type: 'checkbox';
|
|
74
|
+
checked: boolean;
|
|
75
|
+
onChange: (checked: boolean) => void;
|
|
76
|
+
'aria-label'?: string;
|
|
77
|
+
} | {
|
|
78
|
+
type: 'radio';
|
|
79
|
+
checked: boolean;
|
|
80
|
+
onChange: (checked: boolean) => void;
|
|
81
|
+
name?: string;
|
|
82
|
+
'aria-label'?: string;
|
|
83
|
+
} | {
|
|
84
|
+
type: 'chevron';
|
|
85
|
+
} | {
|
|
86
|
+
type: 'stepper';
|
|
87
|
+
value: number;
|
|
88
|
+
onChange: (value: number) => void;
|
|
89
|
+
min?: number;
|
|
90
|
+
max?: number;
|
|
91
|
+
'aria-label'?: string;
|
|
92
|
+
};
|
|
93
|
+
export interface AdvancedListItemProps {
|
|
94
|
+
title: string;
|
|
95
|
+
label?: string;
|
|
96
|
+
subtitle?: string;
|
|
97
|
+
metaItems?: ListWithIconsItemData[];
|
|
98
|
+
leadingMedia?: ReactNode;
|
|
99
|
+
expandedContent?: ReactNode;
|
|
100
|
+
expanded?: boolean;
|
|
101
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
102
|
+
leading?: AdvancedListItemLeading;
|
|
103
|
+
trailing?: AdvancedListItemTrailing;
|
|
104
|
+
state?: AdvancedListItemState;
|
|
105
|
+
onClick?: () => void;
|
|
106
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { AdvancedListItemLeading as AdvancedListItemLeadingData } from '../AdvancedListItem.types';
|
|
3
|
+
type Props = {
|
|
4
|
+
leading: AdvancedListItemLeadingData;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
7
|
+
expandableId?: string;
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
titleId?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const AdvancedListItemLeading: ({ leading, disabled, inputRef, expandableId, expanded, titleId, }: Props) => import("react").JSX.Element | null;
|
|
12
|
+
export default AdvancedListItemLeading;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AdvancedListItemTrailing as AdvancedListItemTrailingData } from '../AdvancedListItem.types';
|
|
2
|
+
type Props = {
|
|
3
|
+
trailing: AdvancedListItemTrailingData;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const AdvancedListItemTrailing: ({ trailing, disabled }: Props) => import("react").JSX.Element | null;
|
|
7
|
+
export default AdvancedListItemTrailing;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AdvancedListItemProps } from './AdvancedListItem.types';
|
|
2
|
+
declare const AdvancedListItem: ({ title, label, subtitle, metaItems, leadingMedia, expandedContent, expanded, onExpandedChange, leading, trailing, state, onClick, }: AdvancedListItemProps) => import("react").JSX.Element;
|
|
3
|
+
export default AdvancedListItem;
|
|
4
|
+
export type { AdvancedListItemProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AdvancedListItemProps } from './components/AdvancedListItem';
|
|
3
|
+
export type AdvancedListItemData = AdvancedListItemProps & {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
export interface AdvancedListProps {
|
|
7
|
+
items: AdvancedListItemData[];
|
|
8
|
+
error?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const AdvancedList: ({ items, error }: AdvancedListProps) => import("react").JSX.Element;
|
|
11
|
+
export default AdvancedList;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ButtonTypeMap } from '@mui/material/Button';
|
|
2
|
+
import { ExtendButtonBase } from '@mui/material/ButtonBase';
|
|
3
|
+
/**
|
|
4
|
+
* Declared the way MUI declares its own `Button`, rather than as a plain
|
|
5
|
+
* function component. `component={Link}` has to bring the target component's
|
|
6
|
+
* props with it - without this, `<RcSesButton component={Link} to='/x' />` fails
|
|
7
|
+
* with "Property 'to' does not exist", which is how ~38 call sites in `ses-ui`
|
|
8
|
+
* were compiling against 1.x (it declared a bare `to?: string`, which allowed
|
|
9
|
+
* `to` even when no `component` was given).
|
|
10
|
+
*/
|
|
11
|
+
declare const RcSesButton: ExtendButtonBase<ButtonTypeMap<{
|
|
12
|
+
iconOnly?: boolean;
|
|
13
|
+
}>>;
|
|
4
14
|
export default RcSesButton;
|
|
@@ -6,6 +6,9 @@ type Props = {
|
|
|
6
6
|
selected: boolean;
|
|
7
7
|
onSelect: () => void;
|
|
8
8
|
isLoading?: boolean;
|
|
9
|
+
hasActionButton?: boolean;
|
|
10
|
+
actionButtonLabel?: string;
|
|
11
|
+
onActionButtonClick?: () => void;
|
|
9
12
|
};
|
|
10
|
-
declare const SelectableCardListItem: ({ title, subtitle, listItems, selected, onSelect, isLoading, }: Props) => import("react").JSX.Element;
|
|
13
|
+
declare const SelectableCardListItem: ({ title, subtitle, listItems, selected, onSelect, isLoading, hasActionButton, actionButtonLabel, onActionButtonClick, }: Props) => import("react").JSX.Element;
|
|
11
14
|
export default SelectableCardListItem;
|
|
@@ -5,6 +5,9 @@ export type SelectableCardListItemData = {
|
|
|
5
5
|
title: string;
|
|
6
6
|
subtitle?: string;
|
|
7
7
|
listItems?: ListWithIconsItemData[];
|
|
8
|
+
hasActionButton?: boolean;
|
|
9
|
+
actionButtonLabel?: string;
|
|
10
|
+
onActionButtonClick?: () => void;
|
|
8
11
|
};
|
|
9
12
|
export interface SelectableCardListProps {
|
|
10
13
|
items?: SelectableCardListItemData[];
|
|
@@ -12,5 +15,5 @@ export interface SelectableCardListProps {
|
|
|
12
15
|
onSelect: (id: string) => void;
|
|
13
16
|
error?: ReactNode;
|
|
14
17
|
}
|
|
15
|
-
declare const SelectableCardList: (
|
|
18
|
+
declare const SelectableCardList: (props: SelectableCardListProps) => import("react").JSX.Element;
|
|
16
19
|
export default SelectableCardList;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IconButtonProps, TooltipProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type RcSesTooltipProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
placement?: TooltipProps['placement'];
|
|
6
|
+
} & ({
|
|
7
|
+
slotProps?: {
|
|
8
|
+
trigger?: Partial<IconButtonProps>;
|
|
9
|
+
};
|
|
10
|
+
children?: never;
|
|
11
|
+
} | {
|
|
12
|
+
slotProps?: never;
|
|
13
|
+
children: React.ReactElement;
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Controlled MUI Tooltip, ensures only one tooltip is visible and adds tap-to-dismiss to mobile
|
|
17
|
+
* (ClickAwayListener doesn't work with bubble itself)
|
|
18
|
+
*/
|
|
19
|
+
declare function RcSesTooltip({ title, placement, slotProps, children, }: RcSesTooltipProps): React.JSX.Element;
|
|
20
|
+
export default RcSesTooltip;
|
|
@@ -20,6 +20,7 @@ type Props = Pick<TControllerProps, ImmediateControllerProps> & Pick<TWrapperPro
|
|
|
20
20
|
selectAll?: boolean;
|
|
21
21
|
onInputChange?: AutocompleteProps<Option, boolean, boolean, false>['onInputChange'];
|
|
22
22
|
slotProps?: {
|
|
23
|
+
controller?: Partial<Omit<TControllerProps, ImmediateControllerProps>>;
|
|
23
24
|
field?: Partial<Omit<AutocompleteProps<Option, boolean, boolean, false>, 'renderInput' | 'options' | 'value'>>;
|
|
24
25
|
wrapper?: Partial<Omit<TWrapperProps, ImmediateWrapperProps>>;
|
|
25
26
|
};
|
package/dist/library/icons.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ import { default as CaretDownIcon } from '../assets/icons/CaretDownIcon';
|
|
|
12
12
|
import { default as CaretLeftBoldIcon } from '../assets/icons/CaretLeftBoldIcon';
|
|
13
13
|
import { default as CaretLeftIcon } from '../assets/icons/CaretLeftIcon';
|
|
14
14
|
import { default as CaretRightBoldIcon } from '../assets/icons/CaretRightBoldIcon';
|
|
15
|
+
import { default as CaretUpBoldIcon } from '../assets/icons/CaretUpBoldIcon';
|
|
16
|
+
import { default as CaretUpIcon } from '../assets/icons/CaretUpIcon';
|
|
15
17
|
import { default as CheckBoldIcon } from '../assets/icons/CheckBoldIcon';
|
|
16
18
|
import { default as CheckCircleFillIcon } from '../assets/icons/CheckCircleFillIcon';
|
|
17
19
|
import { default as CheckIcon } from '../assets/icons/CheckIcon';
|
|
@@ -23,11 +25,15 @@ import { default as CopyIcon } from '../assets/icons/CopyIcon';
|
|
|
23
25
|
import { default as DotCircleFilledIcon } from '../assets/icons/DotCircleFilledIcon';
|
|
24
26
|
import { default as ExpandChevronsIcon } from '../assets/icons/ExpandChevronsIcon';
|
|
25
27
|
import { default as InfoFillIcon } from '../assets/icons/InfoFillIcon';
|
|
28
|
+
import { default as ListIcon } from '../assets/icons/ListIcon';
|
|
26
29
|
import { default as MagnifyingGlassIcon } from '../assets/icons/MagnifyingGlassIcon';
|
|
27
30
|
import { default as MapPinAreaIcon } from '../assets/icons/MapPinAreaIcon';
|
|
28
31
|
import { default as MinusBoldIcon } from '../assets/icons/MinusBoldIcon';
|
|
32
|
+
import { default as MinusIcon } from '../assets/icons/MinusIcon';
|
|
33
|
+
import { default as NotePencilIcon } from '../assets/icons/NotePencilIcon';
|
|
29
34
|
import { default as PencilSimpleLineIcon } from '../assets/icons/PencilSimpleLineIcon';
|
|
30
35
|
import { default as PlusBoldIcon } from '../assets/icons/PlusBoldIcon';
|
|
36
|
+
import { default as PlusIcon } from '../assets/icons/PlusIcon';
|
|
31
37
|
import { default as QuestionFillIcon } from '../assets/icons/QuestionFillIcon';
|
|
32
38
|
import { default as QuestionIcon } from '../assets/icons/QuestionIcon';
|
|
33
39
|
import { default as ScalesIcon } from '../assets/icons/ScalesIcon';
|
|
@@ -35,9 +41,11 @@ import { default as ScrollIcon } from '../assets/icons/ScrollIcon';
|
|
|
35
41
|
import { default as SearchHelpIcon } from '../assets/icons/SearchHelpIcon';
|
|
36
42
|
import { default as SearchXIcon } from '../assets/icons/SearchXIcon';
|
|
37
43
|
import { default as SpinnerGapBoldIcon } from '../assets/icons/SpinnerGapBoldIcon';
|
|
44
|
+
import { default as TrashIcon } from '../assets/icons/TrashIcon';
|
|
38
45
|
import { default as UploadSimpleIcon } from '../assets/icons/UploadSimpleIcon';
|
|
46
|
+
import { default as UserIcon } from '../assets/icons/UserIcon';
|
|
39
47
|
import { default as WarningCircleIcon } from '../assets/icons/WarningCircleIcon';
|
|
40
48
|
import { default as WarningDiamondFillIcon } from '../assets/icons/WarningDiamondFillIcon';
|
|
41
49
|
import { default as WarningFillIcon } from '../assets/icons/WarningFillIcon';
|
|
42
50
|
import { default as XCircleFillIcon } from '../assets/icons/XCircleFillIcon';
|
|
43
|
-
export { RcSesLogo, ArrowLeftIcon, ArrowRightIcon, ArrowsClockwiseIcon, BarcodeIcon, CalendarBlankIcon, CaretDoubleLeftBoldIcon, CaretDoubleRightBoldIcon, CaretDownBoldIcon, CaretDownFill, CaretDownIcon, CaretLeftBoldIcon, CaretLeftIcon, CaretRightBoldIcon, CheckBoldIcon, CheckCircleFillIcon, CheckIcon, CheckUncheckedBoldIcon, CircleFilledIcon, CloseIcon, CollapseChevronsIcon, CopyIcon, DotCircleFilledIcon, ExpandChevronsIcon, InfoFillIcon, MagnifyingGlassIcon, MapPinAreaIcon, MinusBoldIcon, PencilSimpleLineIcon, PlusBoldIcon, QuestionFillIcon, QuestionIcon, ScalesIcon, ScrollIcon, SearchHelpIcon, SearchXIcon, SpinnerGapBoldIcon, UploadSimpleIcon, WarningDiamondFillIcon, WarningFillIcon, WarningCircleIcon, XCircleFillIcon, };
|
|
51
|
+
export { RcSesLogo, ArrowLeftIcon, ArrowRightIcon, ArrowsClockwiseIcon, BarcodeIcon, CalendarBlankIcon, CaretDoubleLeftBoldIcon, CaretDoubleRightBoldIcon, CaretDownBoldIcon, CaretDownFill, CaretDownIcon, CaretLeftBoldIcon, CaretLeftIcon, CaretRightBoldIcon, CaretUpIcon, CaretUpBoldIcon, CheckBoldIcon, CheckCircleFillIcon, CheckIcon, CheckUncheckedBoldIcon, CircleFilledIcon, CloseIcon, CollapseChevronsIcon, CopyIcon, DotCircleFilledIcon, ExpandChevronsIcon, InfoFillIcon, ListIcon, MagnifyingGlassIcon, MapPinAreaIcon, MinusBoldIcon, MinusIcon, NotePencilIcon, PencilSimpleLineIcon, PlusBoldIcon, PlusIcon, QuestionFillIcon, QuestionIcon, ScalesIcon, ScrollIcon, SearchHelpIcon, SearchXIcon, SpinnerGapBoldIcon, TrashIcon, UploadSimpleIcon, UserIcon, WarningDiamondFillIcon, WarningFillIcon, WarningCircleIcon, XCircleFillIcon, };
|
package/dist/library/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { default as RcSesIconProps } from '../assets/IconProps';
|
|
2
2
|
import { default as RcSesAccordion } from '../components/common/Accordion';
|
|
3
3
|
import { default as useAccordionController } from '../components/common/Accordion/hooks/useAccordionController';
|
|
4
|
+
import { default as RcSesAdvancedList } from '../components/common/AdvancedList';
|
|
5
|
+
import { default as RcSesAdvancedListItem } from '../components/common/AdvancedList/components/AdvancedListItem';
|
|
4
6
|
import { default as RcSesAlert } from '../components/common/Alert';
|
|
5
7
|
import { default as RcSesBadge } from '../components/common/Badge';
|
|
6
8
|
import { default as RcSesBreadcrumbs } from '../components/common/Breadcrumbs';
|
|
@@ -19,6 +21,7 @@ import { default as RcSesTab } from '../components/common/Tabs/Tab';
|
|
|
19
21
|
import { default as RcSesTabPanel } from '../components/common/Tabs/TabPanel';
|
|
20
22
|
import { default as RcSesTabs } from '../components/common/Tabs/Tabs';
|
|
21
23
|
import { default as RcSesTabsWrapper } from '../components/common/Tabs/TabsWrapper';
|
|
24
|
+
import { default as RcSesTooltip } from '../components/common/Tooltip';
|
|
22
25
|
import { default as RcSesFormControlWrapper } from '../components/form/components/FormControlWrapper';
|
|
23
26
|
import { default as RcSesCheckbox } from '../components/form/inputs/Checkbox';
|
|
24
27
|
import { default as RcSesCheckboxFormControl } from '../components/form/inputs/CheckboxFormControl';
|
|
@@ -57,6 +60,7 @@ declare module '@mui/x-date-pickers/models' {
|
|
|
57
60
|
}
|
|
58
61
|
export { RcSesPalette, RcSesTheme };
|
|
59
62
|
export { RcSesAccordion, useAccordionController };
|
|
63
|
+
export { RcSesAdvancedList, RcSesAdvancedListItem };
|
|
60
64
|
export { RcSesAlert, RcSesBadge, RcSesBreadcrumbs, RcSesButton, RcSesButtonWithPopover, RcSesFullPageLoader, RcSesLoader, RcSesLoadingSpinner, RcSesCard, RcSesDialog, RcSesFooter, RcSesImageCard, RcSesSnackbar, RcSesSnackbarProvider, RcSesModal, RcSesSwitch, };
|
|
61
65
|
export { RcSesSegmentedControl };
|
|
62
66
|
export { RcSesCheckbox, RcSesCheckboxFormControl, RcSesSimpleCheckbox };
|
|
@@ -71,6 +75,7 @@ export { RcSesSearchInput };
|
|
|
71
75
|
export { RcSesSearchableField };
|
|
72
76
|
export { RcSesSelect };
|
|
73
77
|
export { RcSesTab, RcSesTabPanel, RcSesTabs, RcSesTabsWrapper };
|
|
78
|
+
export { RcSesTooltip };
|
|
74
79
|
export { RcSesTextField };
|
|
75
80
|
export { DataPagination };
|
|
76
81
|
export { ListWithIcons };
|
package/dist/library/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ListWithIconsProps } from '../components/common/ListWithIcons';
|
|
|
3
3
|
import { ListWithIconsItemData } from '../components/common/ListWithIcons/ListWithIcons.types';
|
|
4
4
|
import { RcSesSegmentOption, RcSesSegmentedControlProps } from '../components/common/SegmentedControl';
|
|
5
5
|
import { RcSesSegmentButtonProps } from '../components/common/SegmentedControl/components/SegmentButton';
|
|
6
|
+
import { RcSesTooltipProps } from '../components/common/Tooltip';
|
|
6
7
|
import { RcSesFormControlLabelProps } from '../components/form/inputs/FormControlLabel';
|
|
7
8
|
import { SimpleCheckboxProps } from '../components/form/inputs/SimpleCheckbox';
|
|
8
9
|
import { RcSesCardFormContainerProps } from '../components/layout/ServiceFormContainer/CardFormContainer';
|
|
@@ -15,6 +16,6 @@ import { ModalVariant, RcSesModalProps } from '../components/overlays/Modal';
|
|
|
15
16
|
import { ButtonProps } from '../types/buttons/ButtonProps';
|
|
16
17
|
export type { ListWithIconsProps, ListWithIconsItemData };
|
|
17
18
|
export type { ButtonProps };
|
|
18
|
-
export type { RcSesFullPageLoaderProps, RcSesLoaderBackdrop, RcSesLoaderProps, RcSesLoaderSize, RcSesCardFormContainerProps, RcSesCardProps, RcSesSegmentedControlProps, RcSesSegmentButtonProps, RcSesSegmentOption, ServiceWizardStepperProps, SimpleCheckboxProps, RcSesFormControlLabelProps, RcSesLoadingSpinnerProps, RcSesSpinnerColor, };
|
|
19
|
+
export type { RcSesFullPageLoaderProps, RcSesLoaderBackdrop, RcSesLoaderProps, RcSesLoaderSize, RcSesCardFormContainerProps, RcSesCardProps, RcSesSegmentedControlProps, RcSesSegmentButtonProps, RcSesSegmentOption, ServiceWizardStepperProps, SimpleCheckboxProps, RcSesFormControlLabelProps, RcSesLoadingSpinnerProps, RcSesSpinnerColor, RcSesTooltipProps, };
|
|
19
20
|
export type { RcSesDialogProps, DialogSize };
|
|
20
21
|
export type { RcSesModalProps, ModalVariant };
|