@telicent-oss/ds 4.0.0 → 4.2.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 +417 -50
- package/dist/ds.js.map +1 -1
- package/dist/ds.umd.cjs +410 -43
- package/dist/ds.umd.cjs.map +1 -1
- package/dist/export.d.ts +241 -56
- 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
|
}>;
|
|
@@ -363,17 +389,24 @@ export declare const AppSwitchLibrarySchema: default_2.ZodObject<{
|
|
|
363
389
|
id: default_2.ZodString;
|
|
364
390
|
name: default_2.ZodString;
|
|
365
391
|
url: default_2.ZodString;
|
|
366
|
-
|
|
392
|
+
/** @deprecated Use `iconDark` and `iconLight` for theme-aware icons. */
|
|
393
|
+
icon: default_2.ZodOptional<default_2.ZodString>;
|
|
394
|
+
iconDark: default_2.ZodOptional<default_2.ZodString>;
|
|
395
|
+
iconLight: default_2.ZodOptional<default_2.ZodString>;
|
|
367
396
|
}, "strip", default_2.ZodTypeAny, {
|
|
368
397
|
id: string;
|
|
369
398
|
url: string;
|
|
370
|
-
icon: string;
|
|
371
399
|
name: string;
|
|
400
|
+
icon?: string | undefined;
|
|
401
|
+
iconDark?: string | undefined;
|
|
402
|
+
iconLight?: string | undefined;
|
|
372
403
|
}, {
|
|
373
404
|
id: string;
|
|
374
405
|
url: string;
|
|
375
|
-
icon: string;
|
|
376
406
|
name: string;
|
|
407
|
+
icon?: string | undefined;
|
|
408
|
+
iconDark?: string | undefined;
|
|
409
|
+
iconLight?: string | undefined;
|
|
377
410
|
}>;
|
|
378
411
|
|
|
379
412
|
export declare type AppSwitchLibraryType = default_2.infer<typeof AppSwitchLibrarySchema>[];
|
|
@@ -1029,6 +1062,18 @@ export declare interface FloatingPanelToggleButtonProps extends Omit<ToggleButto
|
|
|
1029
1062
|
|
|
1030
1063
|
export declare const FloppyDiskIcon: default_3.FC<SvgIconProps_2>;
|
|
1031
1064
|
|
|
1065
|
+
export declare const FormControl: default_3.FC<FormControlProps>;
|
|
1066
|
+
|
|
1067
|
+
export declare const FormControlLabel: default_3.FC<FormControlLabelProps>;
|
|
1068
|
+
|
|
1069
|
+
export { FormControlLabelProps }
|
|
1070
|
+
|
|
1071
|
+
export { FormControlProps }
|
|
1072
|
+
|
|
1073
|
+
export declare const FormHelperText: default_3.FC<FormHelperTextProps>;
|
|
1074
|
+
|
|
1075
|
+
export { FormHelperTextProps }
|
|
1076
|
+
|
|
1032
1077
|
declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
1033
1078
|
MuiPaper: {
|
|
1034
1079
|
styleOverrides: {
|
|
@@ -1039,10 +1084,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1039
1084
|
};
|
|
1040
1085
|
MuiMenuItem: {
|
|
1041
1086
|
styleOverrides: {
|
|
1042
|
-
root: ({ theme }: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "
|
|
1087
|
+
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
1088
|
component?: ElementType;
|
|
1044
1089
|
} & Record<string, unknown> & {
|
|
1045
|
-
ownerState: MenuItemOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "className" | "style" | "classes" | "children" | "sx" | "autoFocus" | "tabIndex" | "
|
|
1090
|
+
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
1091
|
component?: ElementType;
|
|
1047
1092
|
} & Record<string, unknown>;
|
|
1048
1093
|
} & {
|
|
@@ -1145,6 +1190,25 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1145
1190
|
MuiCssBaseline: {
|
|
1146
1191
|
styleOverrides: (theme: Omit<Theme, "components">) => string;
|
|
1147
1192
|
};
|
|
1193
|
+
MuiTabs: {
|
|
1194
|
+
styleOverrides: {
|
|
1195
|
+
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"> & {
|
|
1196
|
+
component?: ElementType;
|
|
1197
|
+
} & Record<string, unknown> & {
|
|
1198
|
+
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"> & {
|
|
1199
|
+
component?: ElementType;
|
|
1200
|
+
} & Record<string, unknown>;
|
|
1201
|
+
} & {
|
|
1202
|
+
theme: Omit<Theme, "components">;
|
|
1203
|
+
}) => {
|
|
1204
|
+
borderBottom: string;
|
|
1205
|
+
"&.MuiTabs-vertical": {
|
|
1206
|
+
borderBottom: string;
|
|
1207
|
+
borderInlineEnd: string;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1148
1212
|
MuiCard: {
|
|
1149
1213
|
variants: {
|
|
1150
1214
|
props: {
|
|
@@ -1201,10 +1265,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1201
1265
|
};
|
|
1202
1266
|
MuiButton: {
|
|
1203
1267
|
styleOverrides: {
|
|
1204
|
-
root: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1268
|
+
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
1269
|
component?: ElementType;
|
|
1206
1270
|
} & Record<string, unknown> & {
|
|
1207
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1271
|
+
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
1272
|
component?: ElementType;
|
|
1209
1273
|
} & Record<string, unknown>;
|
|
1210
1274
|
} & {
|
|
@@ -1212,10 +1276,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1212
1276
|
}) => {
|
|
1213
1277
|
paddingInline: string;
|
|
1214
1278
|
};
|
|
1215
|
-
outlinedInherit: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1279
|
+
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
1280
|
component?: ElementType;
|
|
1217
1281
|
} & Record<string, unknown> & {
|
|
1218
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1282
|
+
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
1283
|
component?: ElementType;
|
|
1220
1284
|
} & Record<string, unknown>;
|
|
1221
1285
|
} & {
|
|
@@ -1224,10 +1288,10 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1224
1288
|
border: string;
|
|
1225
1289
|
boxShadow: string;
|
|
1226
1290
|
};
|
|
1227
|
-
outlinedPrimary: ({ theme }: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1291
|
+
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
1292
|
component?: ElementType;
|
|
1229
1293
|
} & Record<string, unknown> & {
|
|
1230
|
-
ownerState: ButtonOwnProps & Omit<ButtonBaseOwnProps, "classes"> & CommonProps & Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "disableElevation" | "
|
|
1294
|
+
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
1295
|
component?: ElementType;
|
|
1232
1296
|
} & Record<string, unknown>;
|
|
1233
1297
|
} & {
|
|
@@ -1642,8 +1706,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1642
1706
|
defaultProps?: ComponentsProps["MuiFormControl"];
|
|
1643
1707
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormControlClasses, "MuiFormControl", Omit<Theme, "components">>> | undefined;
|
|
1644
1708
|
variants?: {
|
|
1645
|
-
props: Partial<
|
|
1646
|
-
ownerState: Partial<
|
|
1709
|
+
props: Partial<FormControlProps_2> | ((props: Partial<FormControlProps_2> & {
|
|
1710
|
+
ownerState: Partial<FormControlProps_2>;
|
|
1647
1711
|
}) => boolean);
|
|
1648
1712
|
style: Interpolation< {
|
|
1649
1713
|
theme: Omit<Theme, "components">;
|
|
@@ -1654,8 +1718,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1654
1718
|
defaultProps?: ComponentsProps["MuiFormControlLabel"];
|
|
1655
1719
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormControlLabelClasses, "MuiFormControlLabel", Omit<Theme, "components">>> | undefined;
|
|
1656
1720
|
variants?: {
|
|
1657
|
-
props: Partial<
|
|
1658
|
-
ownerState: Partial<
|
|
1721
|
+
props: Partial<FormControlLabelProps_2> | ((props: Partial<FormControlLabelProps_2> & {
|
|
1722
|
+
ownerState: Partial<FormControlLabelProps_2>;
|
|
1659
1723
|
}) => boolean);
|
|
1660
1724
|
style: Interpolation< {
|
|
1661
1725
|
theme: Omit<Theme, "components">;
|
|
@@ -1678,8 +1742,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
1678
1742
|
defaultProps?: ComponentsProps["MuiFormHelperText"];
|
|
1679
1743
|
styleOverrides?: Partial<OverridesStyleRules<keyof FormHelperTextClasses, "MuiFormHelperText", Omit<Theme, "components">>> | undefined;
|
|
1680
1744
|
variants?: {
|
|
1681
|
-
props: Partial<
|
|
1682
|
-
ownerState: Partial<
|
|
1745
|
+
props: Partial<FormHelperTextProps_2> | ((props: Partial<FormHelperTextProps_2> & {
|
|
1746
|
+
ownerState: Partial<FormHelperTextProps_2>;
|
|
1683
1747
|
}) => boolean);
|
|
1684
1748
|
style: Interpolation< {
|
|
1685
1749
|
theme: Omit<Theme, "components">;
|
|
@@ -2321,8 +2385,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2321
2385
|
defaultProps?: ComponentsProps["MuiTab"];
|
|
2322
2386
|
styleOverrides?: Partial<OverridesStyleRules<keyof TabClasses, "MuiTab", Omit<Theme, "components">>> | undefined;
|
|
2323
2387
|
variants?: {
|
|
2324
|
-
props: Partial<
|
|
2325
|
-
ownerState: Partial<
|
|
2388
|
+
props: Partial<TabProps_2> | ((props: Partial<TabProps_2> & {
|
|
2389
|
+
ownerState: Partial<TabProps_2>;
|
|
2326
2390
|
}) => boolean);
|
|
2327
2391
|
style: Interpolation< {
|
|
2328
2392
|
theme: Omit<Theme, "components">;
|
|
@@ -2333,8 +2397,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2333
2397
|
defaultProps?: ComponentsProps["MuiTable"];
|
|
2334
2398
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableClasses, "MuiTable", Omit<Theme, "components">>> | undefined;
|
|
2335
2399
|
variants?: {
|
|
2336
|
-
props: Partial<
|
|
2337
|
-
ownerState: Partial<
|
|
2400
|
+
props: Partial<TableProps_2> | ((props: Partial<TableProps_2> & {
|
|
2401
|
+
ownerState: Partial<TableProps_2>;
|
|
2338
2402
|
}) => boolean);
|
|
2339
2403
|
style: Interpolation< {
|
|
2340
2404
|
theme: Omit<Theme, "components">;
|
|
@@ -2345,8 +2409,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2345
2409
|
defaultProps?: ComponentsProps["MuiTableBody"];
|
|
2346
2410
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTableBody", Omit<Theme, "components">>> | undefined;
|
|
2347
2411
|
variants?: {
|
|
2348
|
-
props: Partial<
|
|
2349
|
-
ownerState: Partial<
|
|
2412
|
+
props: Partial<TableBodyProps_2> | ((props: Partial<TableBodyProps_2> & {
|
|
2413
|
+
ownerState: Partial<TableBodyProps_2>;
|
|
2350
2414
|
}) => boolean);
|
|
2351
2415
|
style: Interpolation< {
|
|
2352
2416
|
theme: Omit<Theme, "components">;
|
|
@@ -2357,8 +2421,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2357
2421
|
defaultProps?: ComponentsProps["MuiTableCell"];
|
|
2358
2422
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableCellClasses, "MuiTableCell", Omit<Theme, "components">>> | undefined;
|
|
2359
2423
|
variants?: {
|
|
2360
|
-
props: Partial<
|
|
2361
|
-
ownerState: Partial<
|
|
2424
|
+
props: Partial<TableCellProps_2> | ((props: Partial<TableCellProps_2> & {
|
|
2425
|
+
ownerState: Partial<TableCellProps_2>;
|
|
2362
2426
|
}) => boolean);
|
|
2363
2427
|
style: Interpolation< {
|
|
2364
2428
|
theme: Omit<Theme, "components">;
|
|
@@ -2393,8 +2457,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2393
2457
|
defaultProps?: ComponentsProps["MuiTableHead"];
|
|
2394
2458
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTableHead", Omit<Theme, "components">>> | undefined;
|
|
2395
2459
|
variants?: {
|
|
2396
|
-
props: Partial<
|
|
2397
|
-
ownerState: Partial<
|
|
2460
|
+
props: Partial<TableHeadProps_2> | ((props: Partial<TableHeadProps_2> & {
|
|
2461
|
+
ownerState: Partial<TableHeadProps_2>;
|
|
2398
2462
|
}) => boolean);
|
|
2399
2463
|
style: Interpolation< {
|
|
2400
2464
|
theme: Omit<Theme, "components">;
|
|
@@ -2417,8 +2481,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2417
2481
|
defaultProps?: ComponentsProps["MuiTableRow"];
|
|
2418
2482
|
styleOverrides?: Partial<OverridesStyleRules<keyof TableRowClasses, "MuiTableRow", Omit<Theme, "components">>> | undefined;
|
|
2419
2483
|
variants?: {
|
|
2420
|
-
props: Partial<
|
|
2421
|
-
ownerState: Partial<
|
|
2484
|
+
props: Partial<TableRowProps_2> | ((props: Partial<TableRowProps_2> & {
|
|
2485
|
+
ownerState: Partial<TableRowProps_2>;
|
|
2422
2486
|
}) => boolean);
|
|
2423
2487
|
style: Interpolation< {
|
|
2424
2488
|
theme: Omit<Theme, "components">;
|
|
@@ -2437,18 +2501,6 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2437
2501
|
}>;
|
|
2438
2502
|
}[] | undefined;
|
|
2439
2503
|
} | 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
2504
|
MuiTextField?: {
|
|
2453
2505
|
defaultProps?: ComponentsProps["MuiTextField"];
|
|
2454
2506
|
styleOverrides?: Partial<OverridesStyleRules<"root", "MuiTextField", Omit<Theme, "components">>> | undefined;
|
|
@@ -2501,8 +2553,8 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
2501
2553
|
defaultProps?: ComponentsProps["MuiTooltip"];
|
|
2502
2554
|
styleOverrides?: Partial<OverridesStyleRules<keyof TooltipClasses, "MuiTooltip", Omit<Theme, "components">>> | undefined;
|
|
2503
2555
|
variants?: {
|
|
2504
|
-
props: Partial<
|
|
2505
|
-
ownerState: Partial<
|
|
2556
|
+
props: Partial<TooltipProps_2> | ((props: Partial<TooltipProps_2> & {
|
|
2557
|
+
ownerState: Partial<TooltipProps_2>;
|
|
2506
2558
|
}) => boolean);
|
|
2507
2559
|
style: Interpolation< {
|
|
2508
2560
|
theme: Omit<Theme, "components">;
|
|
@@ -2608,6 +2660,20 @@ export declare type IsAuthRedirectArgs = {
|
|
|
2608
2660
|
url: string | URL;
|
|
2609
2661
|
};
|
|
2610
2662
|
|
|
2663
|
+
export declare const LabeledSwitch: ({ text, subtext, checked, onChange, disabled, error, helperText, inputProps, ref, ...rest }: LabeledSwitchProps) => JSX.Element;
|
|
2664
|
+
|
|
2665
|
+
export declare type LabeledSwitchProps = {
|
|
2666
|
+
text: string;
|
|
2667
|
+
subtext?: string;
|
|
2668
|
+
checked?: boolean;
|
|
2669
|
+
onChange: (checked: boolean) => void;
|
|
2670
|
+
disabled?: boolean;
|
|
2671
|
+
error?: boolean;
|
|
2672
|
+
helperText?: string;
|
|
2673
|
+
inputProps?: SwitchProps_3["inputProps"];
|
|
2674
|
+
ref?: Ref<HTMLButtonElement>;
|
|
2675
|
+
};
|
|
2676
|
+
|
|
2611
2677
|
export declare type LayerConfig = BaseRasterLayerConfig | BaseVectorTileLayerConfig | OverlayVectorLayerConfig;
|
|
2612
2678
|
|
|
2613
2679
|
export declare type LayerMeta = {
|
|
@@ -3040,7 +3106,7 @@ export declare type PolygonType = "Polygon" | "MultiPolygon";
|
|
|
3040
3106
|
* Things to know when using the PopOver component:
|
|
3041
3107
|
* - The component is built on top of the Modal component.
|
|
3042
3108
|
*/
|
|
3043
|
-
export declare const PopOver: (props: PopOverProps) => JSX.Element;
|
|
3109
|
+
export declare const PopOver: ({ width, ...props }: PopOverProps) => JSX.Element;
|
|
3044
3110
|
|
|
3045
3111
|
declare interface PopOverProps extends Omit<ModalProps, "children"> {
|
|
3046
3112
|
/**
|
|
@@ -3093,6 +3159,9 @@ declare interface PopOverProps extends Omit<ModalProps, "children"> {
|
|
|
3093
3159
|
* }
|
|
3094
3160
|
*/
|
|
3095
3161
|
transformOrigin?: PopoverOrigin;
|
|
3162
|
+
/**
|
|
3163
|
+
* Fixed width for the popover paper, in pixels.
|
|
3164
|
+
*/
|
|
3096
3165
|
width?: number;
|
|
3097
3166
|
}
|
|
3098
3167
|
|
|
@@ -3547,6 +3616,99 @@ declare type SwitchProps_2 = Omit<SwitchProps_3, "color"> & {
|
|
|
3547
3616
|
labelPlacement?: "end" | "start" | "top" | "bottom";
|
|
3548
3617
|
};
|
|
3549
3618
|
|
|
3619
|
+
export declare const Tab: ({ value, ...props }: TabProps) => JSX.Element;
|
|
3620
|
+
|
|
3621
|
+
export declare const Table: default_3.FC<TableProps>;
|
|
3622
|
+
|
|
3623
|
+
export declare const TableBody: default_3.FC<TableBodyProps>;
|
|
3624
|
+
|
|
3625
|
+
export { TableBodyProps }
|
|
3626
|
+
|
|
3627
|
+
export declare const TableCell: default_3.FC<TableCellProps>;
|
|
3628
|
+
|
|
3629
|
+
export { TableCellProps }
|
|
3630
|
+
|
|
3631
|
+
export declare const TableHead: default_3.FC<TableHeadProps>;
|
|
3632
|
+
|
|
3633
|
+
export { TableHeadProps }
|
|
3634
|
+
|
|
3635
|
+
export { TableProps }
|
|
3636
|
+
|
|
3637
|
+
export declare const TableRow: default_3.FC<TableRowProps>;
|
|
3638
|
+
|
|
3639
|
+
export { TableRowProps }
|
|
3640
|
+
|
|
3641
|
+
export declare const TabPanel: default_3.ForwardRefExoticComponent<Omit<default_3.HTMLAttributes<HTMLDivElement>, "hidden"> & {
|
|
3642
|
+
/** Matches the `idPrefix` on this group's `Tabs`. */
|
|
3643
|
+
idPrefix: string;
|
|
3644
|
+
/** This panel's own value. */
|
|
3645
|
+
value: TabValue;
|
|
3646
|
+
/** The tab set's selected value — the same state `Tabs` receives. */
|
|
3647
|
+
activeValue: TabValue;
|
|
3648
|
+
/**
|
|
3649
|
+
* Keep this panel's children mounted while it is hidden. Off by default, so
|
|
3650
|
+
* an inactive panel costs nothing; on when the panel holds form state worth
|
|
3651
|
+
* preserving across tab switches.
|
|
3652
|
+
*/
|
|
3653
|
+
keepMounted?: boolean;
|
|
3654
|
+
} & default_3.RefAttributes<HTMLDivElement>>;
|
|
3655
|
+
|
|
3656
|
+
export declare type TabPanelProps = Omit<default_3.HTMLAttributes<HTMLDivElement>, "hidden"> & {
|
|
3657
|
+
/** Matches the `idPrefix` on this group's `Tabs`. */
|
|
3658
|
+
idPrefix: string;
|
|
3659
|
+
/** This panel's own value. */
|
|
3660
|
+
value: TabValue;
|
|
3661
|
+
/** The tab set's selected value — the same state `Tabs` receives. */
|
|
3662
|
+
activeValue: TabValue;
|
|
3663
|
+
/**
|
|
3664
|
+
* Keep this panel's children mounted while it is hidden. Off by default, so
|
|
3665
|
+
* an inactive panel costs nothing; on when the panel holds form state worth
|
|
3666
|
+
* preserving across tab switches.
|
|
3667
|
+
*/
|
|
3668
|
+
keepMounted?: boolean;
|
|
3669
|
+
};
|
|
3670
|
+
|
|
3671
|
+
export declare type TabProps = Omit<TabProps_3, "value"> & {
|
|
3672
|
+
/**
|
|
3673
|
+
* Required, where MUI falls back to the child's index, and narrowed to
|
|
3674
|
+
* `string | number` because it becomes part of a DOM id.
|
|
3675
|
+
*/
|
|
3676
|
+
value: TabValue;
|
|
3677
|
+
};
|
|
3678
|
+
|
|
3679
|
+
export declare const Tabs: default_3.ForwardRefExoticComponent<(Omit<Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & {
|
|
3680
|
+
"aria-label": string;
|
|
3681
|
+
"aria-labelledby"?: never;
|
|
3682
|
+
} & {
|
|
3683
|
+
/**
|
|
3684
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3685
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3686
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3687
|
+
*/
|
|
3688
|
+
idPrefix: string;
|
|
3689
|
+
}, "ref"> | Omit<Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & {
|
|
3690
|
+
"aria-labelledby": string;
|
|
3691
|
+
"aria-label"?: never;
|
|
3692
|
+
} & {
|
|
3693
|
+
/**
|
|
3694
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3695
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3696
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3697
|
+
*/
|
|
3698
|
+
idPrefix: string;
|
|
3699
|
+
}, "ref">) & default_3.RefAttributes<HTMLDivElement>>;
|
|
3700
|
+
|
|
3701
|
+
export declare type TabsProps = Omit<TabsProps_2, "aria-label" | "aria-labelledby"> & AccessibleName & {
|
|
3702
|
+
/**
|
|
3703
|
+
* Namespace for the `id` / `aria-controls` / `aria-labelledby` triple the
|
|
3704
|
+
* DS wires between each `Tab` and its `TabPanel`. Unique per tab set on the
|
|
3705
|
+
* page, and repeated on this group's `TabPanel`s.
|
|
3706
|
+
*/
|
|
3707
|
+
idPrefix: string;
|
|
3708
|
+
};
|
|
3709
|
+
|
|
3710
|
+
declare type TabValue = string | number;
|
|
3711
|
+
|
|
3550
3712
|
export declare const TelicentHorizontalSVG: default_3.FC<SvgIconProps_2>;
|
|
3551
3713
|
|
|
3552
3714
|
export declare const TelicentMark: default_3.FC<TelicentMarkProps>;
|
|
@@ -3581,6 +3743,25 @@ export declare type TextProps = BaseProps & Partial<{
|
|
|
3581
3743
|
variant: TypographyVariant | "subtitle2" | "overline" | "caption";
|
|
3582
3744
|
}>;
|
|
3583
3745
|
|
|
3746
|
+
export declare const ThemeSwitch: ForwardRefExoticComponent<ThemeSwitchProps & RefAttributes<HTMLButtonElement>>;
|
|
3747
|
+
|
|
3748
|
+
export declare type ThemeSwitchProps = {
|
|
3749
|
+
checked: boolean;
|
|
3750
|
+
onChange: (checked: boolean) => void;
|
|
3751
|
+
label?: string;
|
|
3752
|
+
labelId?: string;
|
|
3753
|
+
disabled?: boolean;
|
|
3754
|
+
className?: string;
|
|
3755
|
+
};
|
|
3756
|
+
|
|
3757
|
+
export declare const ThemeSwitchRow: ForwardRefExoticComponent<Omit<ThemeSwitchProps, "labelId"> & {
|
|
3758
|
+
hint?: string;
|
|
3759
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
3760
|
+
|
|
3761
|
+
export declare type ThemeSwitchRowProps = Omit<ThemeSwitchProps, "labelId"> & {
|
|
3762
|
+
hint?: string;
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3584
3765
|
export declare const TitleAndContent: FC<TitleAndContentProps>;
|
|
3585
3766
|
|
|
3586
3767
|
declare interface TitleAndContentProps {
|
|
@@ -3592,6 +3773,10 @@ export declare type ToggleFn = (id: string) => void;
|
|
|
3592
3773
|
|
|
3593
3774
|
export declare const Toolbar: default_3.FC<ToolbarProps>;
|
|
3594
3775
|
|
|
3776
|
+
export declare const Tooltip: default_3.FC<TooltipProps>;
|
|
3777
|
+
|
|
3778
|
+
export { TooltipProps }
|
|
3779
|
+
|
|
3595
3780
|
export declare const TooltipToggleButton: default_3.FC<TooltipToggleButtonProps>;
|
|
3596
3781
|
|
|
3597
3782
|
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.2.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%",
|