@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,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
-
ref?: ((instance: HTMLButtonElement | null) => void
|
|
3
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
4
|
}, "children" | "classes" | "className" | "style" | "color" | "sx" | "tabIndex" | "href" | "disabled" | "variant" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "fullWidth" | "disableFocusRipple" | "size" | "disableElevation" | "endIcon" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -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
|
* Using the `variant` property with value `elevation` or `outlined`.
|
|
@@ -11,6 +14,24 @@ declare const meta: {
|
|
|
11
14
|
component: (props: import("./Card.types").CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
parameters: {
|
|
13
16
|
badges: BADGE[];
|
|
17
|
+
layout: string;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
ref: {
|
|
21
|
+
control: {
|
|
22
|
+
type: undefined;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
component: {
|
|
26
|
+
table: {
|
|
27
|
+
disable: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
children: {
|
|
31
|
+
control: {
|
|
32
|
+
type: undefined;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
14
35
|
};
|
|
15
36
|
};
|
|
16
37
|
export default meta;
|
|
@@ -23,7 +44,7 @@ export declare const Default: {
|
|
|
23
44
|
};
|
|
24
45
|
};
|
|
25
46
|
};
|
|
26
|
-
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react").
|
|
47
|
+
play: ({ canvasElement }: import("@storybook/types").PlayFunctionContext<import("@storybook/react/dist/types-0fc72a6d").R, {
|
|
27
48
|
children?: import("react").ReactNode;
|
|
28
49
|
classes?: (Partial<import("@mui/material").CardClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
29
50
|
raised?: boolean | undefined;
|
|
@@ -33,7 +54,7 @@ export declare const Default: {
|
|
|
33
54
|
variant?: import("@mui/types").OverridableStringUnion<"elevation" | "outlined", import("@mui/material").PaperPropsVariantOverrides> | undefined;
|
|
34
55
|
className?: string | undefined;
|
|
35
56
|
style?: import("react").CSSProperties | undefined;
|
|
36
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
57
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
58
|
color?: string | undefined;
|
|
38
59
|
slot?: string | undefined;
|
|
39
60
|
title?: string | undefined;
|
|
@@ -44,27 +65,27 @@ export declare const Default: {
|
|
|
44
65
|
tabIndex?: number | undefined;
|
|
45
66
|
"aria-activedescendant"?: string | undefined;
|
|
46
67
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
47
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
68
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
48
69
|
"aria-braillelabel"?: string | undefined;
|
|
49
70
|
"aria-brailleroledescription"?: string | undefined;
|
|
50
71
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
51
|
-
"aria-checked"?: boolean | "
|
|
72
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
52
73
|
"aria-colcount"?: number | undefined;
|
|
53
74
|
"aria-colindex"?: number | undefined;
|
|
54
75
|
"aria-colindextext"?: string | undefined;
|
|
55
76
|
"aria-colspan"?: number | undefined;
|
|
56
77
|
"aria-controls"?: string | undefined;
|
|
57
|
-
"aria-current"?: boolean | "
|
|
78
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
58
79
|
"aria-describedby"?: string | undefined;
|
|
59
80
|
"aria-description"?: string | undefined;
|
|
60
81
|
"aria-details"?: string | undefined;
|
|
61
82
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
62
|
-
"aria-dropeffect"?: "
|
|
83
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
63
84
|
"aria-errormessage"?: string | undefined;
|
|
64
85
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
65
86
|
"aria-flowto"?: string | undefined;
|
|
66
87
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
67
|
-
"aria-haspopup"?: boolean | "
|
|
88
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
68
89
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
69
90
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
70
91
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -79,9 +100,9 @@ export declare const Default: {
|
|
|
79
100
|
"aria-owns"?: string | undefined;
|
|
80
101
|
"aria-placeholder"?: string | undefined;
|
|
81
102
|
"aria-posinset"?: number | undefined;
|
|
82
|
-
"aria-pressed"?: boolean | "
|
|
103
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
83
104
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
84
|
-
"aria-relevant"?: "
|
|
105
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
85
106
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
86
107
|
"aria-roledescription"?: string | undefined;
|
|
87
108
|
"aria-rowcount"?: number | undefined;
|
|
@@ -266,7 +287,7 @@ export declare const Default: {
|
|
|
266
287
|
suppressContentEditableWarning?: boolean | undefined;
|
|
267
288
|
accessKey?: string | undefined;
|
|
268
289
|
autoFocus?: boolean | undefined;
|
|
269
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
290
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
270
291
|
contextMenu?: string | undefined;
|
|
271
292
|
dir?: string | undefined;
|
|
272
293
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -294,10 +315,10 @@ export declare const Default: {
|
|
|
294
315
|
itemRef?: string | undefined;
|
|
295
316
|
results?: number | undefined;
|
|
296
317
|
security?: string | undefined;
|
|
297
|
-
unselectable?: "
|
|
298
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
318
|
+
unselectable?: "off" | "on" | undefined;
|
|
319
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
299
320
|
is?: string | undefined;
|
|
300
|
-
component?: import("react").ElementType | undefined;
|
|
321
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
301
322
|
}>) => Promise<void>;
|
|
302
323
|
render: (args: {
|
|
303
324
|
children?: import("react").ReactNode;
|
|
@@ -309,7 +330,7 @@ export declare const Default: {
|
|
|
309
330
|
variant?: import("@mui/types").OverridableStringUnion<"elevation" | "outlined", import("@mui/material").PaperPropsVariantOverrides> | undefined;
|
|
310
331
|
className?: string | undefined;
|
|
311
332
|
style?: import("react").CSSProperties | undefined;
|
|
312
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
333
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
313
334
|
color?: string | undefined;
|
|
314
335
|
slot?: string | undefined;
|
|
315
336
|
title?: string | undefined;
|
|
@@ -320,27 +341,27 @@ export declare const Default: {
|
|
|
320
341
|
tabIndex?: number | undefined;
|
|
321
342
|
"aria-activedescendant"?: string | undefined;
|
|
322
343
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
323
|
-
"aria-autocomplete"?: "none" | "inline" | "
|
|
344
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
324
345
|
"aria-braillelabel"?: string | undefined;
|
|
325
346
|
"aria-brailleroledescription"?: string | undefined;
|
|
326
347
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
327
|
-
"aria-checked"?: boolean | "
|
|
348
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
328
349
|
"aria-colcount"?: number | undefined;
|
|
329
350
|
"aria-colindex"?: number | undefined;
|
|
330
351
|
"aria-colindextext"?: string | undefined;
|
|
331
352
|
"aria-colspan"?: number | undefined;
|
|
332
353
|
"aria-controls"?: string | undefined;
|
|
333
|
-
"aria-current"?: boolean | "
|
|
354
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
334
355
|
"aria-describedby"?: string | undefined;
|
|
335
356
|
"aria-description"?: string | undefined;
|
|
336
357
|
"aria-details"?: string | undefined;
|
|
337
358
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
338
|
-
"aria-dropeffect"?: "
|
|
359
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
339
360
|
"aria-errormessage"?: string | undefined;
|
|
340
361
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
341
362
|
"aria-flowto"?: string | undefined;
|
|
342
363
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
343
|
-
"aria-haspopup"?: boolean | "
|
|
364
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
344
365
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
345
366
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
346
367
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -355,9 +376,9 @@ export declare const Default: {
|
|
|
355
376
|
"aria-owns"?: string | undefined;
|
|
356
377
|
"aria-placeholder"?: string | undefined;
|
|
357
378
|
"aria-posinset"?: number | undefined;
|
|
358
|
-
"aria-pressed"?: boolean | "
|
|
379
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
359
380
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
360
|
-
"aria-relevant"?: "
|
|
381
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
361
382
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
362
383
|
"aria-roledescription"?: string | undefined;
|
|
363
384
|
"aria-rowcount"?: number | undefined;
|
|
@@ -542,7 +563,7 @@ export declare const Default: {
|
|
|
542
563
|
suppressContentEditableWarning?: boolean | undefined;
|
|
543
564
|
accessKey?: string | undefined;
|
|
544
565
|
autoFocus?: boolean | undefined;
|
|
545
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
566
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
546
567
|
contextMenu?: string | undefined;
|
|
547
568
|
dir?: string | undefined;
|
|
548
569
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -570,9 +591,9 @@ export declare const Default: {
|
|
|
570
591
|
itemRef?: string | undefined;
|
|
571
592
|
results?: number | undefined;
|
|
572
593
|
security?: string | undefined;
|
|
573
|
-
unselectable?: "
|
|
574
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
594
|
+
unselectable?: "off" | "on" | undefined;
|
|
595
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
575
596
|
is?: string | undefined;
|
|
576
|
-
component?: import("react").ElementType | undefined;
|
|
597
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
577
598
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
578
599
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const CardContainer: import("@emotion/styled").StyledComponent<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
4
|
}, "children" | "classes" | "className" | "style" | "sx" | "elevation" | "square" | "variant" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|