@galaxy-ds/core 2.1.0 → 2.1.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/dist/Accordion/Accordion.stories.d.ts +625 -175
- package/dist/Accordion/Accordion.styled.d.ts +2 -1
- package/dist/AccordionDetails/AccordionDetails.stories.d.ts +31 -21
- package/dist/AccordionPanel/AccordionPanel.stories.d.ts +47 -15
- package/dist/AccordionSummary/AccordionSummary.stories.d.ts +74 -44
- package/dist/ActivityLog/ActivityLog.stories.d.ts +37 -1
- package/dist/ActivityLog/ActivityLog.styled.d.ts +2 -1
- package/dist/AppBar/AppBar.stories.d.ts +904 -43
- package/dist/AppBar/AppBar.styled.d.ts +3 -2
- package/dist/AttachmentIcon/AttachmentIcon.stories.d.ts +22 -1
- package/dist/Autocomplete/Autocomplete.stories.d.ts +703 -198
- package/dist/Autocomplete/Autocomplete.styled.d.ts +5 -4
- package/dist/Avatar/Avatar.stories.d.ts +197 -158
- package/dist/Avatar/Avatar.styled.d.ts +2 -1
- package/dist/AvatarGroup/AvatarGroup.stories.d.ts +226 -150
- package/dist/BottomListButton/BottomListButton.stories.d.ts +57 -33
- package/dist/BottomListButton/BottomListButton.styled.d.ts +2 -1
- package/dist/Box/Box.stories.d.ts +56 -45
- package/dist/Breadcrumbs/Breadcrumbs.stories.d.ts +69 -43
- package/dist/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -1
- package/dist/Button/Button.stories.d.ts +362 -311
- package/dist/Button/Button.styled.d.ts +2 -1
- package/dist/Card/Card.stories.d.ts +46 -25
- package/dist/Card/Card.styled.d.ts +2 -1
- package/dist/Checkbox/Checkbox.stories.d.ts +265 -179
- package/dist/Chip/Chip.stories.d.ts +428 -100
- package/dist/Chip/Chip.styled.d.ts +2 -1
- package/dist/CssBaseline/CssBaseline.stories.d.ts +1 -0
- package/dist/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/DatePicker/DatePicker.styled.d.ts +1 -0
- package/dist/DateRangePicker/DateRangePicker.stories.d.ts +29 -27
- package/dist/DateRangePicker/DateRangePicker.styled.d.ts +1 -0
- package/dist/Dialog/Dialog.stories.d.ts +213 -117
- package/dist/Divider/Divider.stories.d.ts +338 -31
- package/dist/Drawer/Drawer.stories.d.ts +135 -81
- package/dist/DrawerMenu/DrawerMenu.stories.d.ts +364 -49
- package/dist/DrawerMenu/DrawerMenu.styled.d.ts +2 -1
- package/dist/DrawerMenu/DrawerMenu.types.d.ts +0 -16
- package/dist/Dropdown/Dropdown.stories.d.ts +426 -356
- package/dist/EmptyState/EmptyState.stories.d.ts +7 -9
- package/dist/EmptyState/EmptyState.styled.d.ts +3 -2
- package/dist/FooterActions/FooterActions.stories.d.ts +27 -6
- package/dist/FooterActions/FooterActions.styled.d.ts +2 -1
- package/dist/FormBody/FormBody.stories.d.ts +10 -0
- package/dist/FormBody/FormBody.styled.d.ts +1 -0
- package/dist/FormContainer/FormContainer.stories.d.ts +11 -0
- package/dist/FormContainer/FormContainer.styled.d.ts +2 -1
- package/dist/FormGroup/FormGroup.stories.d.ts +333 -48
- package/dist/FormHeader/FormHeader.stories.d.ts +18 -1
- package/dist/FormHeader/FormHeader.styled.d.ts +4 -3
- package/dist/Grid/Grid.stories.d.ts +1370 -2
- package/dist/HeaderToolbar/HeaderToolbar.stories.d.ts +411 -105
- package/dist/HeaderToolbar/HeaderToolbar.styled.d.ts +7 -6
- package/dist/Icon/Icon.stories.d.ts +620 -609
- package/dist/IconButton/IconButton.d.ts +1 -0
- package/dist/IconButton/IconButton.stories.d.ts +85 -38
- package/dist/Icons/doctype-icons.stories.d.ts +815 -812
- package/dist/Icons/lawconnect-icons.stories.d.ts +491 -0
- package/dist/Icons/leap-icons.stories.d.ts +2506 -1039
- package/dist/ImageUpload/ImageUpload.stories.d.ts +9 -0
- package/dist/ImageUpload/ImageUpload.styled.d.ts +1 -0
- package/dist/Input/Input.stories.d.ts +660 -636
- package/dist/Input/Input.styled.d.ts +3 -2
- package/dist/InputLabel/InputLabel.stories.d.ts +1 -0
- package/dist/ListItemHoverContent/ListItemHoverContent.styled.d.ts +1 -0
- package/dist/Loader/Loader.styled.d.ts +2 -1
- package/dist/Menu/Menu.d.ts +1 -0
- package/dist/MenuHeader/MenuHeader.styled.d.ts +2 -1
- package/dist/Popover/Popover.types.d.ts +0 -2
- package/dist/RibbonButton/RibbonButton.d.ts +1 -0
- package/dist/RibbonButton/RibbonButton.styled.d.ts +3 -2
- package/dist/RibbonButtonGroup/RibbonButtonGroup.d.ts +1 -0
- package/dist/RibbonButtonGroup/RibbonButtonGroup.styled.d.ts +3 -2
- package/dist/SidebarLayout/SidebarLayout.types.d.ts +1 -1
- package/dist/StepNavigation/StepNavigation.styled.d.ts +1 -0
- package/dist/Tab/Tab.styled.d.ts +2 -1
- package/dist/TabListItem/TabListItem.styled.d.ts +3 -2
- package/dist/Tabs/Tabs.styled.d.ts +2 -1
- package/dist/Tag/Tag.styled.d.ts +4 -3
- package/dist/TextEditor/TextEditor.d.ts +2 -0
- package/dist/TextEditor/TextEditor.stories.d.ts +8 -0
- package/dist/TextEditor/TextEditor.styled.d.ts +2 -0
- package/dist/TextEditor/TextEditor.types.d.ts +27 -0
- package/dist/TextEditor/extensions/Placeholders/Placeholders.d.ts +32 -0
- package/dist/TextEditor/extensions/Placeholders/components/Placeholder/Placeholder.d.ts +13 -0
- package/dist/TextEditor/extensions/Placeholders/components/Placeholder/Placeholder.styled.d.ts +3 -0
- package/dist/TextEditor/extensions/Placeholders/components/index.d.ts +1 -0
- package/dist/TextEditor/extensions/Placeholders/index.d.ts +2 -0
- package/dist/TextEditor/extensions/index.d.ts +1 -0
- package/dist/TextEditor/hooks/index.d.ts +1 -0
- package/dist/TextEditor/hooks/useEditor.d.ts +2 -0
- package/dist/TextEditor/index.d.ts +3 -0
- package/dist/TextEditorIcons/BoldIcon.d.ts +2 -0
- package/dist/TextEditorIcons/ItalicIcon.d.ts +2 -0
- package/dist/TextEditorMenuBar/TextEditorMenuBar.d.ts +2 -0
- package/dist/TextEditorMenuBar/TextEditorMenuBar.styled.d.ts +3 -0
- package/dist/TextEditorMenuBar/TextEditorMenuBar.types.d.ts +6 -0
- package/dist/TextEditorMenuBar/index.d.ts +2 -0
- package/dist/Typography/Typography.stories.d.ts +0 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +29271 -37
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +29257 -20
- package/dist/index.js.map +1 -1
- package/dist/stories/resources/tokensColorsLeap.d.ts +5 -4
- package/dist/stories/resources/typographyLeapDesktop.d.ts +5 -4
- package/dist/stories/resources/typographyLeapWeb.d.ts +5 -4
- package/package.json +4 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
/// <reference types="trusted-types" />
|
|
1
4
|
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
2
5
|
/**
|
|
3
6
|
* ```js
|
|
@@ -13,21 +16,48 @@ declare const meta: {
|
|
|
13
16
|
argTypes: {
|
|
14
17
|
onFocusVisible: {
|
|
15
18
|
control: {
|
|
19
|
+
type: undefined;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
children: {
|
|
23
|
+
control: {
|
|
24
|
+
type: undefined;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
expandIcon: {
|
|
28
|
+
control: {
|
|
29
|
+
type: undefined;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
component: {
|
|
33
|
+
table: {
|
|
16
34
|
disable: boolean;
|
|
17
35
|
};
|
|
18
36
|
};
|
|
37
|
+
LinkComponent: {
|
|
38
|
+
control: {
|
|
39
|
+
type: undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
ref: {
|
|
43
|
+
control: {
|
|
44
|
+
type: undefined;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
19
47
|
};
|
|
20
48
|
};
|
|
21
49
|
export default meta;
|
|
22
50
|
export declare const Default: {
|
|
23
|
-
args: {
|
|
24
|
-
|
|
51
|
+
args: {
|
|
52
|
+
bgColor: string;
|
|
53
|
+
};
|
|
54
|
+
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
25
55
|
bgColor?: string | undefined;
|
|
26
56
|
children?: import("react").ReactNode;
|
|
27
57
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
28
58
|
expandIcon?: import("react").ReactNode;
|
|
29
59
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
30
|
-
tabIndex?:
|
|
60
|
+
tabIndex?: number | undefined;
|
|
31
61
|
disabled?: boolean | undefined;
|
|
32
62
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
33
63
|
centerRipple?: boolean | undefined;
|
|
@@ -35,13 +65,13 @@ export declare const Default: {
|
|
|
35
65
|
disableTouchRipple?: boolean | undefined;
|
|
36
66
|
focusRipple?: boolean | undefined;
|
|
37
67
|
focusVisibleClassName?: string | undefined;
|
|
38
|
-
LinkComponent?: import("react").ElementType | undefined;
|
|
68
|
+
LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
39
69
|
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
40
70
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
41
71
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
42
72
|
className?: string | undefined;
|
|
43
73
|
style?: import("react").CSSProperties | undefined;
|
|
44
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
74
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
45
75
|
color?: string | undefined;
|
|
46
76
|
slot?: string | undefined;
|
|
47
77
|
title?: string | undefined;
|
|
@@ -51,27 +81,27 @@ export declare const Default: {
|
|
|
51
81
|
role?: import("react").AriaRole | undefined;
|
|
52
82
|
"aria-activedescendant"?: string | undefined;
|
|
53
83
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
54
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
84
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
55
85
|
"aria-braillelabel"?: string | undefined;
|
|
56
86
|
"aria-brailleroledescription"?: string | undefined;
|
|
57
87
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
58
|
-
"aria-checked"?: boolean | "
|
|
88
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
59
89
|
"aria-colcount"?: number | undefined;
|
|
60
90
|
"aria-colindex"?: number | undefined;
|
|
61
91
|
"aria-colindextext"?: string | undefined;
|
|
62
92
|
"aria-colspan"?: number | undefined;
|
|
63
93
|
"aria-controls"?: string | undefined;
|
|
64
|
-
"aria-current"?: boolean | "
|
|
94
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
65
95
|
"aria-describedby"?: string | undefined;
|
|
66
96
|
"aria-description"?: string | undefined;
|
|
67
97
|
"aria-details"?: string | undefined;
|
|
68
98
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
69
|
-
"aria-dropeffect"?: "
|
|
99
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
70
100
|
"aria-errormessage"?: string | undefined;
|
|
71
101
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
72
102
|
"aria-flowto"?: string | undefined;
|
|
73
103
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
74
|
-
"aria-haspopup"?: boolean | "
|
|
104
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
75
105
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
76
106
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
77
107
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -86,9 +116,9 @@ export declare const Default: {
|
|
|
86
116
|
"aria-owns"?: string | undefined;
|
|
87
117
|
"aria-placeholder"?: string | undefined;
|
|
88
118
|
"aria-posinset"?: number | undefined;
|
|
89
|
-
"aria-pressed"?: boolean | "
|
|
119
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
90
120
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
91
|
-
"aria-relevant"?: "
|
|
121
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
92
122
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
93
123
|
"aria-roledescription"?: string | undefined;
|
|
94
124
|
"aria-rowcount"?: number | undefined;
|
|
@@ -273,7 +303,7 @@ export declare const Default: {
|
|
|
273
303
|
suppressContentEditableWarning?: boolean | undefined;
|
|
274
304
|
accessKey?: string | undefined;
|
|
275
305
|
autoFocus?: boolean | undefined;
|
|
276
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
306
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
277
307
|
contextMenu?: string | undefined;
|
|
278
308
|
dir?: string | undefined;
|
|
279
309
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -301,10 +331,10 @@ export declare const Default: {
|
|
|
301
331
|
itemRef?: string | undefined;
|
|
302
332
|
results?: number | undefined;
|
|
303
333
|
security?: string | undefined;
|
|
304
|
-
unselectable?: "
|
|
305
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
334
|
+
unselectable?: "off" | "on" | undefined;
|
|
335
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
306
336
|
is?: string | undefined;
|
|
307
|
-
component?: import("react").ElementType | undefined;
|
|
337
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
308
338
|
}>) => Promise<void>;
|
|
309
339
|
parameters: {
|
|
310
340
|
docs: {
|
|
@@ -319,7 +349,7 @@ export declare const Default: {
|
|
|
319
349
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
320
350
|
expandIcon?: import("react").ReactNode;
|
|
321
351
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
322
|
-
tabIndex?:
|
|
352
|
+
tabIndex?: number | undefined;
|
|
323
353
|
disabled?: boolean | undefined;
|
|
324
354
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
325
355
|
centerRipple?: boolean | undefined;
|
|
@@ -327,13 +357,13 @@ export declare const Default: {
|
|
|
327
357
|
disableTouchRipple?: boolean | undefined;
|
|
328
358
|
focusRipple?: boolean | undefined;
|
|
329
359
|
focusVisibleClassName?: string | undefined;
|
|
330
|
-
LinkComponent?: import("react").ElementType | undefined;
|
|
360
|
+
LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
331
361
|
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
332
362
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
333
363
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
334
364
|
className?: string | undefined;
|
|
335
365
|
style?: import("react").CSSProperties | undefined;
|
|
336
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
366
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
337
367
|
color?: string | undefined;
|
|
338
368
|
slot?: string | undefined;
|
|
339
369
|
title?: string | undefined;
|
|
@@ -343,27 +373,27 @@ export declare const Default: {
|
|
|
343
373
|
role?: import("react").AriaRole | undefined;
|
|
344
374
|
"aria-activedescendant"?: string | undefined;
|
|
345
375
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
346
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
376
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
347
377
|
"aria-braillelabel"?: string | undefined;
|
|
348
378
|
"aria-brailleroledescription"?: string | undefined;
|
|
349
379
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
350
|
-
"aria-checked"?: boolean | "
|
|
380
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
351
381
|
"aria-colcount"?: number | undefined;
|
|
352
382
|
"aria-colindex"?: number | undefined;
|
|
353
383
|
"aria-colindextext"?: string | undefined;
|
|
354
384
|
"aria-colspan"?: number | undefined;
|
|
355
385
|
"aria-controls"?: string | undefined;
|
|
356
|
-
"aria-current"?: boolean | "
|
|
386
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
357
387
|
"aria-describedby"?: string | undefined;
|
|
358
388
|
"aria-description"?: string | undefined;
|
|
359
389
|
"aria-details"?: string | undefined;
|
|
360
390
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
361
|
-
"aria-dropeffect"?: "
|
|
391
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
362
392
|
"aria-errormessage"?: string | undefined;
|
|
363
393
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
364
394
|
"aria-flowto"?: string | undefined;
|
|
365
395
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
366
|
-
"aria-haspopup"?: boolean | "
|
|
396
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
367
397
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
368
398
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
369
399
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -378,9 +408,9 @@ export declare const Default: {
|
|
|
378
408
|
"aria-owns"?: string | undefined;
|
|
379
409
|
"aria-placeholder"?: string | undefined;
|
|
380
410
|
"aria-posinset"?: number | undefined;
|
|
381
|
-
"aria-pressed"?: boolean | "
|
|
411
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
382
412
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
383
|
-
"aria-relevant"?: "
|
|
413
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
384
414
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
385
415
|
"aria-roledescription"?: string | undefined;
|
|
386
416
|
"aria-rowcount"?: number | undefined;
|
|
@@ -565,7 +595,7 @@ export declare const Default: {
|
|
|
565
595
|
suppressContentEditableWarning?: boolean | undefined;
|
|
566
596
|
accessKey?: string | undefined;
|
|
567
597
|
autoFocus?: boolean | undefined;
|
|
568
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
598
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
569
599
|
contextMenu?: string | undefined;
|
|
570
600
|
dir?: string | undefined;
|
|
571
601
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -593,10 +623,10 @@ export declare const Default: {
|
|
|
593
623
|
itemRef?: string | undefined;
|
|
594
624
|
results?: number | undefined;
|
|
595
625
|
security?: string | undefined;
|
|
596
|
-
unselectable?: "
|
|
597
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
626
|
+
unselectable?: "off" | "on" | undefined;
|
|
627
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
598
628
|
is?: string | undefined;
|
|
599
|
-
component?: import("react").ElementType | undefined;
|
|
629
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
600
630
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
601
631
|
};
|
|
602
632
|
/**
|
|
@@ -620,7 +650,7 @@ export declare const BackgroundColor: {
|
|
|
620
650
|
classes?: (Partial<import("@mui/material").AccordionSummaryClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
621
651
|
expandIcon?: import("react").ReactNode;
|
|
622
652
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
623
|
-
tabIndex?:
|
|
653
|
+
tabIndex?: number | undefined;
|
|
624
654
|
disabled?: boolean | undefined;
|
|
625
655
|
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
626
656
|
centerRipple?: boolean | undefined;
|
|
@@ -628,13 +658,13 @@ export declare const BackgroundColor: {
|
|
|
628
658
|
disableTouchRipple?: boolean | undefined;
|
|
629
659
|
focusRipple?: boolean | undefined;
|
|
630
660
|
focusVisibleClassName?: string | undefined;
|
|
631
|
-
LinkComponent?: import("react").ElementType | undefined;
|
|
661
|
+
LinkComponent?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
632
662
|
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
633
663
|
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
634
664
|
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
635
665
|
className?: string | undefined;
|
|
636
666
|
style?: import("react").CSSProperties | undefined;
|
|
637
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
667
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
638
668
|
color?: string | undefined;
|
|
639
669
|
slot?: string | undefined;
|
|
640
670
|
title?: string | undefined;
|
|
@@ -644,27 +674,27 @@ export declare const BackgroundColor: {
|
|
|
644
674
|
role?: import("react").AriaRole | undefined;
|
|
645
675
|
"aria-activedescendant"?: string | undefined;
|
|
646
676
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
647
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
677
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
648
678
|
"aria-braillelabel"?: string | undefined;
|
|
649
679
|
"aria-brailleroledescription"?: string | undefined;
|
|
650
680
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
651
|
-
"aria-checked"?: boolean | "
|
|
681
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
652
682
|
"aria-colcount"?: number | undefined;
|
|
653
683
|
"aria-colindex"?: number | undefined;
|
|
654
684
|
"aria-colindextext"?: string | undefined;
|
|
655
685
|
"aria-colspan"?: number | undefined;
|
|
656
686
|
"aria-controls"?: string | undefined;
|
|
657
|
-
"aria-current"?: boolean | "
|
|
687
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
658
688
|
"aria-describedby"?: string | undefined;
|
|
659
689
|
"aria-description"?: string | undefined;
|
|
660
690
|
"aria-details"?: string | undefined;
|
|
661
691
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
662
|
-
"aria-dropeffect"?: "
|
|
692
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
663
693
|
"aria-errormessage"?: string | undefined;
|
|
664
694
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
665
695
|
"aria-flowto"?: string | undefined;
|
|
666
696
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
667
|
-
"aria-haspopup"?: boolean | "
|
|
697
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
668
698
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
669
699
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
670
700
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -679,9 +709,9 @@ export declare const BackgroundColor: {
|
|
|
679
709
|
"aria-owns"?: string | undefined;
|
|
680
710
|
"aria-placeholder"?: string | undefined;
|
|
681
711
|
"aria-posinset"?: number | undefined;
|
|
682
|
-
"aria-pressed"?: boolean | "
|
|
712
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
683
713
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
684
|
-
"aria-relevant"?: "
|
|
714
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
685
715
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
686
716
|
"aria-roledescription"?: string | undefined;
|
|
687
717
|
"aria-rowcount"?: number | undefined;
|
|
@@ -866,7 +896,7 @@ export declare const BackgroundColor: {
|
|
|
866
896
|
suppressContentEditableWarning?: boolean | undefined;
|
|
867
897
|
accessKey?: string | undefined;
|
|
868
898
|
autoFocus?: boolean | undefined;
|
|
869
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
899
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
870
900
|
contextMenu?: string | undefined;
|
|
871
901
|
dir?: string | undefined;
|
|
872
902
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -894,9 +924,9 @@ export declare const BackgroundColor: {
|
|
|
894
924
|
itemRef?: string | undefined;
|
|
895
925
|
results?: number | undefined;
|
|
896
926
|
security?: string | undefined;
|
|
897
|
-
unselectable?: "
|
|
898
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
927
|
+
unselectable?: "off" | "on" | undefined;
|
|
928
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
899
929
|
is?: string | undefined;
|
|
900
|
-
component?: import("react").ElementType | undefined;
|
|
930
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
901
931
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
902
932
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { BADGE } from '@geometricpanda/storybook-addon-badges';
|
|
2
3
|
import { ActivityLogProps } from './ActivityLog.types';
|
|
3
4
|
/**
|
|
@@ -13,6 +14,41 @@ declare const meta: {
|
|
|
13
14
|
title: string;
|
|
14
15
|
parameters: {
|
|
15
16
|
badges: BADGE[];
|
|
17
|
+
layout: string;
|
|
18
|
+
};
|
|
19
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
nameRef?: import("react").MutableRefObject<HTMLSpanElement> | undefined;
|
|
22
|
+
time?: string | undefined;
|
|
23
|
+
ext?: string | undefined;
|
|
24
|
+
iconURL?: string | undefined;
|
|
25
|
+
users?: import("./ActivityLog.types").UserType[] | undefined;
|
|
26
|
+
action?: import("./ActivityLog.types").ActionType[] | undefined;
|
|
27
|
+
attachment?: boolean | undefined;
|
|
28
|
+
avatarGroupTooltip?: string | undefined;
|
|
29
|
+
cost?: string | undefined;
|
|
30
|
+
hover?: boolean | undefined;
|
|
31
|
+
tooltip?: string | undefined;
|
|
32
|
+
insertIconTooltip?: string | undefined;
|
|
33
|
+
onAttach?: (() => void) | undefined;
|
|
34
|
+
onClick?: (() => void) | undefined;
|
|
35
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
36
|
+
argTypes: {
|
|
37
|
+
nameRef: {
|
|
38
|
+
control: {
|
|
39
|
+
type: undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
onAttach: {
|
|
43
|
+
control: {
|
|
44
|
+
type: undefined;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
onClick: {
|
|
48
|
+
control: {
|
|
49
|
+
type: undefined;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
16
52
|
};
|
|
17
53
|
};
|
|
18
54
|
export default meta;
|
|
@@ -32,7 +68,7 @@ export declare const Default: {
|
|
|
32
68
|
initials: string;
|
|
33
69
|
}[];
|
|
34
70
|
};
|
|
35
|
-
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").
|
|
71
|
+
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
36
72
|
name?: string | undefined;
|
|
37
73
|
nameRef?: import("react").MutableRefObject<HTMLSpanElement> | undefined;
|
|
38
74
|
time?: string | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const MuiListItem: import("@emotion/styled").StyledComponent<import("..").ListItemProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
2
3
|
export declare const MuiListItemIcon: import("@emotion/styled").StyledComponent<import("..").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
3
4
|
export declare const MuiListItemText: import("@emotion/styled").StyledComponent<import("..").ListItemTextProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
5
|
export declare const ActivityLogChips: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
6
|
export declare const ActivityLogMainName: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLSpanElement | null) => void
|
|
7
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
7
8
|
}, "children" | "classes" | "className" | "style" | "color" | "fontSize" | "sx" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "lineHeight" | "textTransform" | "variant" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "top" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
9
|
export declare const ActivityLogValues: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
10
|
export declare const ActivityLogGroup: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|