@telicent-oss/ds 4.0.0 → 4.1.0
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/ds.js +409 -47
- package/dist/ds.js.map +1 -1
- package/dist/ds.umd.cjs +402 -40
- package/dist/ds.umd.cjs.map +1 -1
- package/dist/export.d.ts +231 -53
- package/package.json +26 -1
package/dist/export.d.ts
CHANGED
|
@@ -108,12 +108,15 @@ import { FlattenedStyleTypeForFindIcon } from '@telicent-oss/ontologyservice';
|
|
|
108
108
|
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
109
109
|
import { FormControlClasses } from '@mui/material';
|
|
110
110
|
import { FormControlLabelClasses } from '@mui/material';
|
|
111
|
-
import { FormControlLabelProps } from '@mui/material';
|
|
112
|
-
import {
|
|
111
|
+
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
112
|
+
import { FormControlLabelProps as FormControlLabelProps_2 } from '@mui/material';
|
|
113
|
+
import { FormControlProps } from '@mui/material/FormControl';
|
|
114
|
+
import { FormControlProps as FormControlProps_2 } from '@mui/material';
|
|
113
115
|
import { FormGroupClasses } from '@mui/material';
|
|
114
116
|
import { FormGroupProps } from '@mui/material';
|
|
115
117
|
import { FormHelperTextClasses } from '@mui/material';
|
|
116
|
-
import { FormHelperTextProps } from '@mui/material';
|
|
118
|
+
import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
119
|
+
import { FormHelperTextProps as FormHelperTextProps_2 } from '@mui/material';
|
|
117
120
|
import { FormLabelClasses } from '@mui/material';
|
|
118
121
|
import { FormLabelProps } from '@mui/material';
|
|
119
122
|
import { ForwardedRef } from 'react';
|
|
@@ -218,6 +221,7 @@ import { RadioProps } from '@mui/material';
|
|
|
218
221
|
import { RatingClasses } from '@mui/material';
|
|
219
222
|
import { RatingProps } from '@mui/material';
|
|
220
223
|
import { ReactNode } from 'react';
|
|
224
|
+
import { Ref } from 'react';
|
|
221
225
|
import { RefAttributes } from 'react';
|
|
222
226
|
import { RefObject } from 'react';
|
|
223
227
|
import { ScopedCssBaselineProps } from '@mui/material';
|
|
@@ -270,23 +274,29 @@ import { SwitchProps as SwitchProps_3 } from '@mui/material/Switch';
|
|
|
270
274
|
import { SxProps } from '@mui/material';
|
|
271
275
|
import { SxProps as SxProps_2 } from '@mui/material/styles';
|
|
272
276
|
import { TabClasses } from '@mui/material';
|
|
273
|
-
import { TableBodyProps } from '@mui/material';
|
|
277
|
+
import { TableBodyProps } from '@mui/material/TableBody';
|
|
278
|
+
import { TableBodyProps as TableBodyProps_2 } from '@mui/material';
|
|
274
279
|
import { TableCellClasses } from '@mui/material';
|
|
275
|
-
import { TableCellProps } from '@mui/material';
|
|
280
|
+
import { TableCellProps } from '@mui/material/TableCell';
|
|
281
|
+
import { TableCellProps as TableCellProps_2 } from '@mui/material';
|
|
276
282
|
import { TableClasses } from '@mui/material';
|
|
277
283
|
import { TableContainerProps } from '@mui/material';
|
|
278
284
|
import { TableFooterProps } from '@mui/material';
|
|
279
|
-
import { TableHeadProps } from '@mui/material';
|
|
285
|
+
import { TableHeadProps } from '@mui/material/TableHead';
|
|
286
|
+
import { TableHeadProps as TableHeadProps_2 } from '@mui/material';
|
|
280
287
|
import { TablePaginationClasses } from '@mui/material';
|
|
281
288
|
import { TablePaginationProps } from '@mui/material';
|
|
282
|
-
import { TableProps } from '@mui/material';
|
|
289
|
+
import { TableProps } from '@mui/material/Table';
|
|
290
|
+
import { TableProps as TableProps_2 } from '@mui/material';
|
|
283
291
|
import { TableRowClasses } from '@mui/material';
|
|
284
|
-
import { TableRowProps } from '@mui/material';
|
|
292
|
+
import { TableRowProps } from '@mui/material/TableRow';
|
|
293
|
+
import { TableRowProps as TableRowProps_2 } from '@mui/material';
|
|
285
294
|
import { TableSortLabelClasses } from '@mui/material';
|
|
286
295
|
import { TableSortLabelProps } from '@mui/material';
|
|
287
|
-
import { TabProps } from '@mui/material';
|
|
288
|
-
import {
|
|
289
|
-
import {
|
|
296
|
+
import { TabProps as TabProps_2 } from '@mui/material';
|
|
297
|
+
import { TabProps as TabProps_3 } from '@mui/material/Tab';
|
|
298
|
+
import { TabsOwnProps } from '@mui/material';
|
|
299
|
+
import { TabsProps as TabsProps_2 } from '@mui/material/Tabs';
|
|
290
300
|
import { TextFieldProps } from '@mui/material';
|
|
291
301
|
import { Theme } from '@mui/material';
|
|
292
302
|
import { Theme as Theme_2 } from '@mui/material/styles';
|
|
@@ -298,7 +308,8 @@ import { ToggleButtonProps as ToggleButtonProps_2 } from '@mui/material/ToggleBu
|
|
|
298
308
|
import { ToolbarClasses } from '@mui/material';
|
|
299
309
|
import { ToolbarProps } from '@mui/material';
|
|
300
310
|
import { TooltipClasses } from '@mui/material';
|
|
301
|
-
import { TooltipProps } from '@mui/material';
|
|
311
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
312
|
+
import { TooltipProps as TooltipProps_2 } from '@mui/material';
|
|
302
313
|
import { TouchRippleClasses } from '@mui/material';
|
|
303
314
|
import { TouchRippleProps } from '@mui/material/ButtonBase/TouchRipple';
|
|
304
315
|
import { TreeViewBaseItem } from '@mui/x-tree-view';
|
|
@@ -311,6 +322,14 @@ import { UserInfo } from '@telicent-oss/fe-auth-lib';
|
|
|
311
322
|
import { z } from 'zod';
|
|
312
323
|
import { ZodTypeAny } from 'zod';
|
|
313
324
|
|
|
325
|
+
declare type AccessibleName = {
|
|
326
|
+
"aria-label": string;
|
|
327
|
+
"aria-labelledby"?: never;
|
|
328
|
+
} | {
|
|
329
|
+
"aria-labelledby": string;
|
|
330
|
+
"aria-label"?: never;
|
|
331
|
+
};
|
|
332
|
+
|
|
314
333
|
export { Alert }
|
|
315
334
|
|
|
316
335
|
export { AlertColor }
|
|
@@ -355,6 +374,13 @@ export declare interface AppInfoRowProps {
|
|
|
355
374
|
id?: string;
|
|
356
375
|
}
|
|
357
376
|
|
|
377
|
+
export declare const AppSettings: default_3.FC<AppSettingsProps>;
|
|
378
|
+
|
|
379
|
+
export declare type AppSettingsProps = PropsWithChildren<{
|
|
380
|
+
id?: string;
|
|
381
|
+
ariaLabel?: string;
|
|
382
|
+
}>;
|
|
383
|
+
|
|
358
384
|
export declare const AppSwitch: default_3.FC<{
|
|
359
385
|
apps: AppSwitchLibraryType;
|
|
360
386
|
}>;
|
|
@@ -1029,6 +1055,18 @@ export declare interface FloatingPanelToggleButtonProps extends Omit<ToggleButto
|
|
|
1029
1055
|
|
|
1030
1056
|
export declare const FloppyDiskIcon: default_3.FC<SvgIconProps_2>;
|
|
1031
1057
|
|
|
1058
|
+
export declare const FormControl: default_3.FC<FormControlProps>;
|
|
1059
|
+
|
|
1060
|
+
export declare const FormControlLabel: default_3.FC<FormControlLabelProps>;
|
|
1061
|
+
|
|
1062
|
+
export { FormControlLabelProps }
|
|
1063
|
+
|
|
1064
|
+
export { FormControlProps }
|
|
1065
|
+
|
|
1066
|
+
export declare const FormHelperText: default_3.FC<FormHelperTextProps>;
|
|
1067
|
+
|
|
1068
|
+
export { FormHelperTextProps }
|
|
1069
|
+
|
|
1032
1070
|
declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
1033
1071
|
MuiPaper: {
|
|
1034
1072
|
styleOverrides: {
|
|
@@ -1039,10 +1077,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1039
1077
|
};
|
|
1040
1078
|
MuiMenuItem: {
|
|
1041
1079
|
styleOverrides: {
|
|
1042
|
-
root: ({ theme }: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "
|
|
1080
|
+
root: ({ theme }: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "divider" | "selected" | "disableGutters"> & {
|
|
1043
1081
|
component?: ElementType;
|
|
1044
1082
|
} & Record<string, unknown> & {
|
|
1045
|
-
ownerState: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "
|
|
1083
|
+
ownerState: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "divider" | "selected" | "disableGutters"> & {
|
|
1046
1084
|
component?: ElementType;
|
|
1047
1085
|
} & Record<string, unknown>;
|
|
1048
1086
|
} & {
|
|
@@ -1145,6 +1183,25 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1145
1183
|
MuiCssBaseline: {
|
|
1146
1184
|
styleOverrides: (theme: Omit<Theme, "components">) => string;
|
|
1147
1185
|
};
|
|
1186
|
+
MuiTabs: {
|
|
1187
|
+
styleOverrides: {
|
|
1188
|
+
root: ({ theme }: TabsOwnProps & CommonProps & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "slots" | "slotProps" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "centered" | "scrollButtons" | "allowScrollButtonsMobile" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
1189
|
+
component?: ElementType;
|
|
1190
|
+
} & Record<string, unknown> & {
|
|
1191
|
+
ownerState: TabsOwnProps & CommonProps & Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "value" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "slots" | "slotProps" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "centered" | "scrollButtons" | "allowScrollButtonsMobile" | "indicatorColor" | "orientation" | "ScrollButtonComponent" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
1192
|
+
component?: ElementType;
|
|
1193
|
+
} & Record<string, unknown>;
|
|
1194
|
+
} & {
|
|
1195
|
+
theme: Omit<Theme, "components">;
|
|
1196
|
+
}) => {
|
|
1197
|
+
borderBottom: string;
|
|
1198
|
+
"&.MuiTabs-vertical": {
|
|
1199
|
+
borderBottom: string;
|
|
1200
|
+
borderInlineEnd: string;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1148
1205
|
MuiCard: {
|
|
1149
1206
|
variants: {
|
|
1150
1207
|
props: {
|
|
@@ -1201,10 +1258,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1201
1258
|
};
|
|
1202
1259
|
MuiButton: {
|
|
1203
1260
|
styleOverrides: {
|
|
1204
|
-
root: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1261
|
+
root: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1205
1262
|
component?: ElementType;
|
|
1206
1263
|
} & Record<string, unknown> & {
|
|
1207
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1264
|
+
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1208
1265
|
component?: ElementType;
|
|
1209
1266
|
} & Record<string, unknown>;
|
|
1210
1267
|
} & {
|
|
@@ -1212,10 +1269,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1212
1269
|
}) => {
|
|
1213
1270
|
paddingInline: string;
|
|
1214
1271
|
};
|
|
1215
|
-
outlinedInherit: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1272
|
+
outlinedInherit: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1216
1273
|
component?: ElementType;
|
|
1217
1274
|
} & Record<string, unknown> & {
|
|
1218
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1275
|
+
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1219
1276
|
component?: ElementType;
|
|
1220
1277
|
} & Record<string, unknown>;
|
|
1221
1278
|
} & {
|
|
@@ -1224,10 +1281,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1224
1281
|
border: string;
|
|
1225
1282
|
boxShadow: string;
|
|
1226
1283
|
};
|
|
1227
|
-
outlinedPrimary: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1284
|
+
outlinedPrimary: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1228
1285
|
component?: ElementType;
|
|
1229
1286
|
} & Record<string, unknown> & {
|
|
1230
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1287
|
+
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
|
1231
1288
|
component?: ElementType;
|
|
1232
1289
|
} & Record<string, unknown>;
|
|
1233
1290
|
} & {
|
|
@@ -1642,8 +1699,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1642
1699
|
defaultProps?: ComponentsProps["MuiFormControl"];
|
|
1643
1700
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormControlClasses, "MuiFormControl", Omit<Theme, "components">>> | undefined;
|
|
1644
1701
|
variants?: {
|
|
1645
|
-
props: Partial<
|
|
1646
|
-
ownerState: Partial<
|
|
1702
|
+
props: Partial<FormControlProps_2> | ((props: Partial<FormControlProps_2> & {
|
|
1703
|
+
ownerState: Partial<FormControlProps_2>;
|
|
1647
1704
|
}) => boolean);
|
|
1648
1705
|
style: Interpolation< {
|
|
1649
1706
|
theme: Omit<Theme, "components">;
|
|
@@ -1654,8 +1711,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1654
1711
|
defaultProps?: ComponentsProps["MuiFormControlLabel"];
|
|
1655
1712
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormControlLabelClasses, "MuiFormControlLabel", Omit<Theme, "components">>> | undefined;
|
|
1656
1713
|
variants?: {
|
|
1657
|
-
props: Partial<
|
|
1658
|
-
ownerState: Partial<
|
|
1714
|
+
props: Partial<FormControlLabelProps_2> | ((props: Partial<FormControlLabelProps_2> & {
|
|
1715
|
+
ownerState: Partial<FormControlLabelProps_2>;
|
|
1659
1716
|
}) => boolean);
|
|
1660
1717
|
style: Interpolation< {
|
|
1661
1718
|
theme: Omit<Theme, "components">;
|
|
@@ -1678,8 +1735,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1678
1735
|
defaultProps?: ComponentsProps["MuiFormHelperText"];
|
|
1679
1736
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormHelperTextClasses, "MuiFormHelperText", Omit<Theme, "components">>> | undefined;
|
|
1680
1737
|
variants?: {
|
|
1681
|
-
props: Partial<
|
|
1682
|
-
ownerState: Partial<
|
|
1738
|
+
props: Partial<FormHelperTextProps_2> | ((props: Partial<FormHelperTextProps_2> & {
|
|
1739
|
+
ownerState: Partial<FormHelperTextProps_2>;
|
|
1683
1740
|
}) => boolean);
|
|
1684
1741
|
style: Interpolation< {
|
|
1685
1742
|
theme: Omit<Theme, "components">;
|
|
@@ -2321,8 +2378,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2321
2378
|
defaultProps?: ComponentsProps["MuiTab"];
|
|
2322
2379
|
styleOverrides?: Partial<OverridesStyleRules<keyof TabClasses, "MuiTab", Omit<Theme, "components">>> | undefined;
|
|
2323
2380
|
variants?: {
|
|
2324
|
-
props: Partial<
|
|
2325
|
-
ownerState: Partial<
|
|
2381
|
+
props: Partial<TabProps_2> | ((props: Partial<TabProps_2> & {
|
|
2382
|
+
ownerState: Partial<TabProps_2>;
|
|
2326
2383
|
}) => boolean);
|
|
2327
2384
|
style: Interpolation< {
|
|
2328
2385
|
theme: Omit<Theme, "components">;
|
|
@@ -2333,8 +2390,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2333
2390
|
defaultProps?: ComponentsProps["MuiTable"];
|
|
2334
2391
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableClasses, "MuiTable", Omit<Theme, "components">>> | undefined;
|
|
2335
2392
|
variants?: {
|
|
2336
|
-
props: Partial<
|
|
2337
|
-
ownerState: Partial<
|
|
2393
|
+
props: Partial<TableProps_2> | ((props: Partial<TableProps_2> & {
|
|
2394
|
+
ownerState: Partial<TableProps_2>;
|
|
2338
2395
|
}) => boolean);
|
|
2339
2396
|
style: Interpolation< {
|
|
2340
2397
|
theme: Omit<Theme, "components">;
|
|
@@ -2345,8 +2402,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2345
2402
|
defaultProps?: ComponentsProps["MuiTableBody"];
|
|
2346
2403
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTableBody", Omit<Theme, "components">>> | undefined;
|
|
2347
2404
|
variants?: {
|
|
2348
|
-
props: Partial<
|
|
2349
|
-
ownerState: Partial<
|
|
2405
|
+
props: Partial<TableBodyProps_2> | ((props: Partial<TableBodyProps_2> & {
|
|
2406
|
+
ownerState: Partial<TableBodyProps_2>;
|
|
2350
2407
|
}) => boolean);
|
|
2351
2408
|
style: Interpolation< {
|
|
2352
2409
|
theme: Omit<Theme, "components">;
|
|
@@ -2357,8 +2414,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2357
2414
|
defaultProps?: ComponentsProps["MuiTableCell"];
|
|
2358
2415
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableCellClasses, "MuiTableCell", Omit<Theme, "components">>> | undefined;
|
|
2359
2416
|
variants?: {
|
|
2360
|
-
props: Partial<
|
|
2361
|
-
ownerState: Partial<
|
|
2417
|
+
props: Partial<TableCellProps_2> | ((props: Partial<TableCellProps_2> & {
|
|
2418
|
+
ownerState: Partial<TableCellProps_2>;
|
|
2362
2419
|
}) => boolean);
|
|
2363
2420
|
style: Interpolation< {
|
|
2364
2421
|
theme: Omit<Theme, "components">;
|
|
@@ -2393,8 +2450,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2393
2450
|
defaultProps?: ComponentsProps["MuiTableHead"];
|
|
2394
2451
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTableHead", Omit<Theme, "components">>> | undefined;
|
|
2395
2452
|
variants?: {
|
|
2396
|
-
props: Partial<
|
|
2397
|
-
ownerState: Partial<
|
|
2453
|
+
props: Partial<TableHeadProps_2> | ((props: Partial<TableHeadProps_2> & {
|
|
2454
|
+
ownerState: Partial<TableHeadProps_2>;
|
|
2398
2455
|
}) => boolean);
|
|
2399
2456
|
style: Interpolation< {
|
|
2400
2457
|
theme: Omit<Theme, "components">;
|
|
@@ -2417,8 +2474,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2417
2474
|
defaultProps?: ComponentsProps["MuiTableRow"];
|
|
2418
2475
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableRowClasses, "MuiTableRow", Omit<Theme, "components">>> | undefined;
|
|
2419
2476
|
variants?: {
|
|
2420
|
-
props: Partial<
|
|
2421
|
-
ownerState: Partial<
|
|
2477
|
+
props: Partial<TableRowProps_2> | ((props: Partial<TableRowProps_2> & {
|
|
2478
|
+
ownerState: Partial<TableRowProps_2>;
|
|
2422
2479
|
}) => boolean);
|
|
2423
2480
|
style: Interpolation< {
|
|
2424
2481
|
theme: Omit<Theme, "components">;
|
|
@@ -2437,18 +2494,6 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2437
2494
|
}>;
|
|
2438
2495
|
}[] | undefined;
|
|
2439
2496
|
} | undefined;
|
|
2440
|
-
MuiTabs?: {
|
|
2441
|
-
defaultProps?: ComponentsProps["MuiTabs"];
|
|
2442
|
-
styleOverrides?: Partial<OverridesStyleRules<keyof TabsClasses, "MuiTabs", Omit<Theme, "components">>> | undefined;
|
|
2443
|
-
variants?: {
|
|
2444
|
-
props: Partial<TabsProps> | ((props: Partial<TabsProps> & {
|
|
2445
|
-
ownerState: Partial<TabsProps>;
|
|
2446
|
-
}) => boolean);
|
|
2447
|
-
style: Interpolation< {
|
|
2448
|
-
theme: Omit<Theme, "components">;
|
|
2449
|
-
}>;
|
|
2450
|
-
}[] | undefined;
|
|
2451
|
-
} | undefined;
|
|
2452
2497
|
MuiTextField?: {
|
|
2453
2498
|
defaultProps?: ComponentsProps["MuiTextField"];
|
|
2454
2499
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTextField", Omit<Theme, "components">>> | undefined;
|
|
@@ -2501,8 +2546,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2501
2546
|
defaultProps?: ComponentsProps["MuiTooltip"];
|
|
2502
2547
|
styleOverrides?: Partial<OverridesStyleRules<keyof TooltipClasses, "MuiTooltip", Omit<Theme, "components">>> | undefined;
|
|
2503
2548
|
variants?: {
|
|
2504
|
-
props: Partial<
|
|
2505
|
-
ownerState: Partial<
|
|
2549
|
+
props: Partial<TooltipProps_2> | ((props: Partial<TooltipProps_2> & {
|
|
2550
|
+
ownerState: Partial<TooltipProps_2>;
|
|
2506
2551
|
}) => boolean);
|
|
2507
2552
|
style: Interpolation< {
|
|
2508
2553
|
theme: Omit<Theme, "components">;
|
|
@@ -2608,6 +2653,20 @@ export declare type IsAuthRedirectArgs = {
|
|
|
2608
2653
|
url: string | URL;
|
|
2609
2654
|
};
|
|
2610
2655
|
|
|
2656
|
+
export declare const LabeledSwitch: ({ text, subtext, checked, onChange, disabled, error, helperText, inputProps, ref, ...rest }: LabeledSwitchProps) => JSX.Element;
|
|
2657
|
+
|
|
2658
|
+
export declare type LabeledSwitchProps = {
|
|
2659
|
+
text: string;
|
|
2660
|
+
subtext?: string;
|
|
2661
|
+
checked?: boolean;
|
|
2662
|
+
onChange: (checked: boolean) => void;
|
|
2663
|
+
disabled?: boolean;
|
|
2664
|
+
error?: boolean;
|
|
2665
|
+
helperText?: string;
|
|
2666
|
+
inputProps?: SwitchProps_3["inputProps"];
|
|
2667
|
+
ref?: Ref<HTMLButtonElement>;
|
|
2668
|
+
};
|
|
2669
|
+
|
|
2611
2670
|
export declare type LayerConfig = BaseRasterLayerConfig | BaseVectorTileLayerConfig | OverlayVectorLayerConfig;
|
|
2612
2671
|
|
|
2613
2672
|
export declare type LayerMeta = {
|
|
@@ -3040,7 +3099,7 @@ export declare type PolygonType = "Polygon" | "MultiPolygon";
|
|
|
3040
3099
|
* Things to know when using the PopOver component:
|
|
3041
3100
|
* - The component is built on top of the Modal component.
|
|
3042
3101
|
*/
|
|
3043
|
-
export declare const PopOver: (props: PopOverProps) => JSX.Element;
|
|
3102
|
+
export declare const PopOver: ({ width, ...props }: PopOverProps) => JSX.Element;
|
|
3044
3103
|
|
|
3045
3104
|
declare interface PopOverProps extends Omit<ModalProps, "children"> {
|
|
3046
3105
|
/**
|
|
@@ -3093,6 +3152,9 @@ declare interface PopOverProps extends Omit<ModalProps, "children"> {
|
|
|
3093
3152
|
* }
|
|
3094
3153
|
*/
|
|
3095
3154
|
transformOrigin?: PopoverOrigin;
|
|
3155
|
+
/**
|
|
3156
|
+
* Fixed width for the popover paper, in pixels.
|
|
3157
|
+
*/
|
|
3096
3158
|
width?: number;
|
|
3097
3159
|
}
|
|
3098
3160
|
|
|
@@ -3547,6 +3609,99 @@ declare type SwitchProps_2 = Omit<SwitchProps_3, "color"> & {
|
|
|
3547
3609
|
labelPlacement?: "end" | "start" | "top" | "bottom";
|
|
3548
3610
|
};
|
|
3549
3611
|
|
|
3612
|
+
export declare const Tab: ({ value, ...props }: TabProps) => JSX.Element;
|
|
3613
|
+
|
|
3614
|
+
export declare const Table: default_3.FC<TableProps>;
|
|
3615
|
+
|
|
3616
|
+
export declare const TableBody: default_3.FC<TableBodyProps>;
|
|
3617
|
+
|
|
3618
|
+
export { TableBodyProps }
|
|
3619
|
+
|
|
3620
|
+
export declare const TableCell: default_3.FC<TableCellProps>;
|
|
3621
|
+
|
|
3622
|
+
export { TableCellProps }
|
|
3623
|
+
|
|
3624
|
+
export declare const TableHead: default_3.FC<TableHeadProps>;
|
|
3625
|
+
|
|
3626
|
+
export { TableHeadProps }
|
|
3627
|
+
|
|
3628
|
+
export { TableProps }
|
|
3629
|
+
|
|
3630
|
+
export declare const TableRow: default_3.FC<TableRowProps>;
|
|
3631
|
+
|
|
3632
|
+
export { TableRowProps }
|
|
3633
|
+
|
|
3634
|
+
export declare const TabPanel: default_3.ForwardRefExoticComponent<Omit<default_3.HTMLAttributes<HTMLDivElement>, "hidden"> & {
|
|
3635
|
+
/** Matches the `idPrefix` on this group's `Tabs`. */
|
|
3636
|
+
idPrefix: string;
|
|
3637
|
+
/** This panel's own value. */
|
|
3638
|
+
value: TabValue;
|
|
3639
|
+
/** The tab set's selected value — the same state `Tabs` receives. */
|
|
3640
|
+
activeValue: TabValue;
|
|
3641
|
+
/**
|
|
3642
|
+
* Keep this panel's children mounted while it is hidden. Off by default, so
|
|
3643
|
+
* an inactive panel costs nothing; on when the panel holds form state worth
|
|
3644
|
+
* preserving across tab switches.
|
|
3645
|
+
*/
|
|
3646
|
+
keepMounted?: boolean;
|
|
3647
|
+
} & default_3.RefAttributes<HTMLDivElement>>;
|
|
3648
|
+
|
|
3649
|
+
export declare type TabPanelProps = Omit<default_3.HTMLAttributes<HTMLDivElement>, "hidden"> & {
|
|
3650
|
+
/** Matches the `idPrefix` on this group's `Tabs`. */
|
|
3651
|
+
idPrefix: string;
|
|
3652
|
+
/** This panel's own value. */
|
|
3653
|
+
value: TabValue;
|
|
3654
|
+
/** The tab set's selected value — the same state `Tabs` receives. */
|
|
3655
|
+
activeValue: TabValue;
|
|
3656
|
+
/**
|
|
3657
|
+
* Keep this panel's children mounted while it is hidden. Off by default, so
|
|
3658
|
+
* an inactive panel costs nothing; on when the panel holds form state worth
|
|
3659
|
+
* preserving across tab switches.
|
|
3660
|
+
*/
|
|
3661
|
+
keepMounted?: boolean;
|
|
3662
|
+
};
|
|
3663
|
+
|
|
3664
|
+
export declare type TabProps = Omit<TabProps_3, "value"> & {
|
|
3665
|
+
/**
|
|
3666
|
+
* Required, where MUI falls back to the child's index, and narrowed to
|
|
3667
|
+
* `string | number` because it becomes part of a DOM id.
|
|
3668
|
+
*/
|
|
3669
|
+
value: TabValue;
|
|
3670
|
+
};
|
|
3671
|
+
|
|
3672
|
+
export declare const Tabs: default_3.ForwardRefExoticComponent<(Omit<Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & {
|
|
3673
|
+
"aria-label": string;
|
|
3674
|
+
"aria-labelledby"?: never;
|
|
3675
|
+
} & {
|
|
3676
|
+
/**
|
|
3677
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3678
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3679
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3680
|
+
*/
|
|
3681
|
+
idPrefix: string;
|
|
3682
|
+
}, "ref"> | Omit<Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & {
|
|
3683
|
+
"aria-labelledby": string;
|
|
3684
|
+
"aria-label"?: never;
|
|
3685
|
+
} & {
|
|
3686
|
+
/**
|
|
3687
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3688
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3689
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3690
|
+
*/
|
|
3691
|
+
idPrefix: string;
|
|
3692
|
+
}, "ref">) & default_3.RefAttributes<HTMLDivElement>>;
|
|
3693
|
+
|
|
3694
|
+
export declare type TabsProps = Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & AccessibleName & {
|
|
3695
|
+
/**
|
|
3696
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3697
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3698
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3699
|
+
*/
|
|
3700
|
+
idPrefix: string;
|
|
3701
|
+
};
|
|
3702
|
+
|
|
3703
|
+
declare type TabValue = string | number;
|
|
3704
|
+
|
|
3550
3705
|
export declare const TelicentHorizontalSVG: default_3.FC<SvgIconProps_2>;
|
|
3551
3706
|
|
|
3552
3707
|
export declare const TelicentMark: default_3.FC<TelicentMarkProps>;
|
|
@@ -3581,6 +3736,25 @@ export declare type TextProps = BaseProps & Partial<{
|
|
|
3581
3736
|
variant: TypographyVariant | "subtitle2" | "overline" | "caption";
|
|
3582
3737
|
}>;
|
|
3583
3738
|
|
|
3739
|
+
export declare const ThemeSwitch: ForwardRefExoticComponent<ThemeSwitchProps & RefAttributes<HTMLButtonElement>>;
|
|
3740
|
+
|
|
3741
|
+
export declare type ThemeSwitchProps = {
|
|
3742
|
+
checked: boolean;
|
|
3743
|
+
onChange: (checked: boolean) => void;
|
|
3744
|
+
label?: string;
|
|
3745
|
+
labelId?: string;
|
|
3746
|
+
disabled?: boolean;
|
|
3747
|
+
className?: string;
|
|
3748
|
+
};
|
|
3749
|
+
|
|
3750
|
+
export declare const ThemeSwitchRow: ForwardRefExoticComponent<Omit<ThemeSwitchProps, "labelId"> & {
|
|
3751
|
+
hint?: string;
|
|
3752
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
3753
|
+
|
|
3754
|
+
export declare type ThemeSwitchRowProps = Omit<ThemeSwitchProps, "labelId"> & {
|
|
3755
|
+
hint?: string;
|
|
3756
|
+
};
|
|
3757
|
+
|
|
3584
3758
|
export declare const TitleAndContent: FC<TitleAndContentProps>;
|
|
3585
3759
|
|
|
3586
3760
|
declare interface TitleAndContentProps {
|
|
@@ -3592,6 +3766,10 @@ export declare type ToggleFn = (id: string) => void;
|
|
|
3592
3766
|
|
|
3593
3767
|
export declare const Toolbar: default_3.FC<ToolbarProps>;
|
|
3594
3768
|
|
|
3769
|
+
export declare const Tooltip: default_3.FC<TooltipProps>;
|
|
3770
|
+
|
|
3771
|
+
export { TooltipProps }
|
|
3772
|
+
|
|
3595
3773
|
export declare const TooltipToggleButton: default_3.FC<TooltipToggleButtonProps>;
|
|
3596
3774
|
|
|
3597
3775
|
declare interface TooltipToggleButtonProps extends Omit<ToggleButtonProps_2, "sx" | "classes" | "color"> {
|
package/package.json
CHANGED
|
@@ -7,13 +7,18 @@
|
|
|
7
7
|
"url": "https://github.com/telicent-oss/telicent-ds.git"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "4.
|
|
10
|
+
"version": "4.1.0",
|
|
11
11
|
"private": false,
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
14
14
|
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
|
15
15
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
16
16
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
17
|
+
"@emotion/react": "^11.10.6",
|
|
18
|
+
"@emotion/styled": "^11.10.6",
|
|
19
|
+
"@mui/lab": "5.0.0-alpha.170",
|
|
20
|
+
"@mui/material": "^5.16.7",
|
|
21
|
+
"@mui/x-date-pickers": "^8.9.2",
|
|
17
22
|
"@react-spring/web": "^9.7.5",
|
|
18
23
|
"@telicent-oss/fe-auth-lib": "1.0.4",
|
|
19
24
|
"@telicent-oss/mui-icons-material": "^1.0.0",
|
|
@@ -56,7 +61,10 @@
|
|
|
56
61
|
"test": "jest",
|
|
57
62
|
"test:diff": "jest --watchAll=false --coverage=false --onlyChanged --bail",
|
|
58
63
|
"test:diffMain": "jest --watchAll=false --coverage=false --changedSince=origin/main --bail",
|
|
64
|
+
"build:docs": "node scripts/build-docs-versions.mjs",
|
|
65
|
+
"prestorybook": "yarn build:docs",
|
|
59
66
|
"storybook": "storybook dev -p 6006",
|
|
67
|
+
"prebuild-storybook": "yarn build:docs",
|
|
60
68
|
"build-storybook": "storybook build",
|
|
61
69
|
"storybook-docs": "storybook dev --docs --no-manager-cache",
|
|
62
70
|
"build-storybook-docs": "storybook build --docs",
|
|
@@ -88,6 +96,23 @@
|
|
|
88
96
|
"react": "^19.0.0",
|
|
89
97
|
"react-dom": "^19.0.0"
|
|
90
98
|
},
|
|
99
|
+
"peerDependenciesMeta": {
|
|
100
|
+
"@emotion/react": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"@emotion/styled": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@mui/lab": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@mui/material": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@mui/x-date-pickers": {
|
|
113
|
+
"optional": true
|
|
114
|
+
}
|
|
115
|
+
},
|
|
91
116
|
"browserslist": {
|
|
92
117
|
"production": [
|
|
93
118
|
">0.2%",
|