@loadsmart/miranda-react 2.0.1 → 3.0.0-alpha.1
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/components/Accordion/Accordion.d.ts +19 -0
- package/dist/components/Accordion/AccordionContent.d.ts +10 -0
- package/dist/components/Accordion/AccordionTitle.d.ts +16 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Badge/Badge.d.ts +12 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Banner/Banner.d.ts +14 -24
- package/dist/components/Banner/BannerActionPrimary.d.ts +10 -10
- package/dist/components/Banner/BannerActionSecondary.d.ts +10 -10
- package/dist/components/Banner/BannerActions.d.ts +6 -11
- package/dist/components/Banner/BannerDescription.d.ts +6 -11
- package/dist/components/Banner/BannerIcon.d.ts +6 -11
- package/dist/components/Banner/BannerTitle.d.ts +6 -11
- package/dist/components/Banner/index.d.ts +0 -1
- package/dist/components/Button/Button.d.ts +9 -9
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Card/Card.d.ts +28 -16
- package/dist/components/Card/CardActionPrimary.d.ts +17 -0
- package/dist/components/Card/CardActionSecondary.d.ts +17 -0
- package/dist/components/Card/CardActionTertiary.d.ts +17 -0
- package/dist/components/Card/CardBody.d.ts +6 -6
- package/dist/components/Card/CardDivider.d.ts +6 -7
- package/dist/components/Card/CardFooter.d.ts +12 -0
- package/dist/components/Card/CardSubtitle.d.ts +6 -6
- package/dist/components/Card/CardTitle.d.ts +10 -8
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +10 -11
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +30 -54
- package/dist/components/Dialog/DialogActionPrimary.d.ts +10 -10
- package/dist/components/Dialog/DialogActionSecondary.d.ts +10 -10
- package/dist/components/Dialog/DialogActionTertiary.d.ts +10 -10
- package/dist/components/Dialog/DialogActions.d.ts +5 -5
- package/dist/components/Dialog/DialogBody.d.ts +5 -5
- package/dist/components/Dialog/DialogClose.d.ts +7 -9
- package/dist/components/Dialog/DialogFooter.d.ts +5 -5
- package/dist/components/Dialog/DialogHeader.d.ts +5 -5
- package/dist/components/Dialog/index.d.ts +0 -1
- package/dist/components/Divider/Divider.d.ts +12 -12
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Drawer/Drawer.d.ts +38 -0
- package/dist/components/Drawer/DrawerActionPrimary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActionSecondary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActionTertiary.d.ts +17 -0
- package/dist/components/Drawer/DrawerActions.d.ts +12 -0
- package/dist/components/Drawer/DrawerBody.d.ts +12 -0
- package/dist/components/Drawer/DrawerClose.d.ts +14 -0
- package/dist/components/Drawer/DrawerHeader.d.ts +12 -0
- package/dist/components/Drawer/index.d.ts +4 -0
- package/dist/components/Dropdown/Dropdown.d.ts +22 -0
- package/dist/components/Dropdown/DropdownItem.d.ts +16 -0
- package/dist/components/Dropdown/DropdownMenu.d.ts +12 -0
- package/dist/components/Dropdown/DropdownTrigger.d.ts +15 -0
- package/dist/components/Dropdown/index.d.ts +5 -0
- package/dist/components/EmptyState/EmptyState.d.ts +23 -0
- package/dist/components/EmptyState/EmptyStateAction.d.ts +17 -0
- package/dist/components/EmptyState/EmptyStateHeader.d.ts +12 -0
- package/dist/components/EmptyState/EmptyStateIllustration.d.ts +12 -0
- package/dist/components/EmptyState/EmptyStateMessage.d.ts +12 -0
- package/dist/components/EmptyState/index.d.ts +4 -0
- package/dist/components/Field/Field.d.ts +8 -12
- package/dist/components/Field/FieldHint.d.ts +10 -8
- package/dist/components/Field/FieldLabel.d.ts +6 -6
- package/dist/components/Field/index.d.ts +0 -1
- package/dist/components/Header/Header.d.ts +18 -0
- package/dist/components/Header/HeaderActions.d.ts +12 -0
- package/dist/components/Header/HeaderBackButton.d.ts +10 -0
- package/dist/components/Header/HeaderContent.d.ts +12 -0
- package/dist/components/Header/HeaderTitle.d.ts +12 -0
- package/dist/components/Header/SubHeader.d.ts +12 -0
- package/dist/components/Header/index.d.ts +8 -0
- package/dist/components/Icon/Icon.d.ts +19 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Label/Label.d.ts +12 -0
- package/dist/components/LabeledValue/LabeledValue.d.ts +25 -0
- package/dist/components/LabeledValue/index.d.ts +1 -0
- package/dist/components/Layout/Box.d.ts +6 -6
- package/dist/components/Layout/Grid.d.ts +6 -6
- package/dist/components/Layout/Group.d.ts +6 -6
- package/dist/components/Layout/Layout.d.ts +12 -13
- package/dist/components/Layout/Row.d.ts +18 -0
- package/dist/components/Layout/Sidebar.d.ts +12 -14
- package/dist/components/Layout/Stack.d.ts +6 -7
- package/dist/components/Layout/Switcher.d.ts +6 -7
- package/dist/components/Layout/index.d.ts +2 -1
- package/dist/components/Link/Link.d.ts +14 -0
- package/dist/components/Link/index.d.ts +2 -0
- package/dist/components/LogoLoader/LogoLoader.d.ts +13 -0
- package/dist/components/LogoLoader/index.d.ts +2 -0
- package/dist/components/PageContent/Body.d.ts +12 -0
- package/dist/components/PageContent/PageContent.d.ts +14 -0
- package/dist/components/PageContent/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +16 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +6 -7
- package/dist/components/ProgressBar/index.d.ts +0 -1
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -7
- package/dist/components/ProgressBarCountdown/index.d.ts +0 -1
- package/dist/components/RadioGroup/Radio.d.ts +8 -8
- package/dist/components/RadioGroup/RadioGroup.d.ts +9 -14
- package/dist/components/RadioGroup/index.d.ts +0 -1
- package/dist/components/Section/Section.d.ts +9 -11
- package/dist/components/Section/SectionTitle.d.ts +10 -9
- package/dist/components/Section/index.d.ts +0 -1
- package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +13 -0
- package/dist/components/SpinnerWheel/index.d.ts +2 -0
- package/dist/components/Steps/Step.d.ts +12 -0
- package/dist/components/Steps/Steps.d.ts +20 -0
- package/dist/components/Steps/index.d.ts +5 -0
- package/dist/components/Steps/useSteps.d.ts +10 -0
- package/dist/components/Switch/Switch.d.ts +14 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +33 -0
- package/dist/components/Table/TableActions.d.ts +12 -0
- package/dist/components/Table/TableBody.d.ts +12 -0
- package/dist/components/Table/TableCell.d.ts +12 -0
- package/dist/components/Table/TableFeedback.d.ts +12 -0
- package/dist/components/Table/TableFoot.d.ts +12 -0
- package/dist/components/Table/TableHead.d.ts +12 -0
- package/dist/components/Table/TableHeadCell.d.ts +15 -0
- package/dist/components/Table/TableRow.d.ts +12 -0
- package/dist/components/Table/TableToolbar.d.ts +12 -0
- package/dist/components/Table/index.d.ts +21 -0
- package/dist/components/Tabs/Tab.d.ts +9 -8
- package/dist/components/Tabs/TabPanel.d.ts +6 -7
- package/dist/components/Tabs/Tabs.d.ts +12 -13
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Tag/ActionableTag.d.ts +20 -0
- package/dist/components/Tag/Tag.d.ts +8 -11
- package/dist/components/Tag/index.d.ts +2 -1
- package/dist/components/Text/Text.d.ts +11 -13
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +18 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/TextField/TextField.d.ts +13 -11
- package/dist/components/TextField/index.d.ts +0 -1
- package/dist/components/Timeline/Timeline.d.ts +22 -0
- package/dist/components/Timeline/TimelineExpandableItem.d.ts +12 -0
- package/dist/components/Timeline/TimelineItem.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemBody.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemFooter.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeader.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +12 -0
- package/dist/components/Timeline/TimelineItemIcon.d.ts +12 -0
- package/dist/components/Timeline/index.d.ts +10 -0
- package/dist/components/ToggleGroup/Toggle.d.ts +9 -8
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +18 -13
- package/dist/components/ToggleGroup/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +10 -11
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/index.d.ts +87 -1
- package/dist/index.js +1198 -3
- package/dist/styles/variables.css +2 -0
- package/dist/styles/variables.scss +3 -0
- package/dist/tests/constants.d.ts +0 -1
- package/dist/tests/types.d.ts +0 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.js +2 -0
- package/dist/utils/createComponent.d.ts +5 -45
- package/dist/utils/types.d.ts +6 -1
- package/dist/utils/utils.d.ts +0 -1
- package/package.json +12 -16
- package/dist/components/Banner/Banner.d.ts.map +0 -1
- package/dist/components/Banner/BannerActionPrimary.d.ts.map +0 -1
- package/dist/components/Banner/BannerActionSecondary.d.ts.map +0 -1
- package/dist/components/Banner/BannerActions.d.ts.map +0 -1
- package/dist/components/Banner/BannerDescription.d.ts.map +0 -1
- package/dist/components/Banner/BannerIcon.d.ts.map +0 -1
- package/dist/components/Banner/BannerTitle.d.ts.map +0 -1
- package/dist/components/Banner/index.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/Card/Card.d.ts.map +0 -1
- package/dist/components/Card/CardBody.d.ts.map +0 -1
- package/dist/components/Card/CardDivider.d.ts.map +0 -1
- package/dist/components/Card/CardSubtitle.d.ts.map +0 -1
- package/dist/components/Card/CardTitle.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Dialog/Dialog.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionPrimary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionSecondary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActionTertiary.d.ts.map +0 -1
- package/dist/components/Dialog/DialogActions.d.ts.map +0 -1
- package/dist/components/Dialog/DialogBody.d.ts.map +0 -1
- package/dist/components/Dialog/DialogClose.d.ts.map +0 -1
- package/dist/components/Dialog/DialogFooter.d.ts.map +0 -1
- package/dist/components/Dialog/DialogHeader.d.ts.map +0 -1
- package/dist/components/Dialog/index.d.ts.map +0 -1
- package/dist/components/Divider/Divider.d.ts.map +0 -1
- package/dist/components/Divider/index.d.ts.map +0 -1
- package/dist/components/Field/Field.d.ts.map +0 -1
- package/dist/components/Field/FieldHint.d.ts.map +0 -1
- package/dist/components/Field/FieldLabel.d.ts.map +0 -1
- package/dist/components/Field/index.d.ts.map +0 -1
- package/dist/components/Layout/Box.d.ts.map +0 -1
- package/dist/components/Layout/Grid.d.ts.map +0 -1
- package/dist/components/Layout/Group.d.ts.map +0 -1
- package/dist/components/Layout/Layout.d.ts.map +0 -1
- package/dist/components/Layout/Sidebar.d.ts.map +0 -1
- package/dist/components/Layout/Stack.d.ts.map +0 -1
- package/dist/components/Layout/Switcher.d.ts.map +0 -1
- package/dist/components/Layout/index.d.ts.map +0 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/components/ProgressBar/index.d.ts.map +0 -1
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +0 -1
- package/dist/components/ProgressBarCountdown/index.d.ts.map +0 -1
- package/dist/components/RadioGroup/Radio.d.ts.map +0 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/dist/components/RadioGroup/index.d.ts.map +0 -1
- package/dist/components/Section/Section.d.ts.map +0 -1
- package/dist/components/Section/SectionTitle.d.ts.map +0 -1
- package/dist/components/Section/index.d.ts.map +0 -1
- package/dist/components/Tabs/Tab.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanel.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Tabs/index.d.ts.map +0 -1
- package/dist/components/Tag/Tag.d.ts.map +0 -1
- package/dist/components/Tag/index.d.ts.map +0 -1
- package/dist/components/Text/Text.d.ts.map +0 -1
- package/dist/components/Text/index.d.ts.map +0 -1
- package/dist/components/TextField/TextField.d.ts.map +0 -1
- package/dist/components/TextField/index.d.ts.map +0 -1
- package/dist/components/ToggleGroup/Toggle.d.ts.map +0 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +0 -1
- package/dist/components/ToggleGroup/index.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/Tooltip/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tests/constants.d.ts.map +0 -1
- package/dist/tests/types.d.ts.map +0 -1
- package/dist/utils/createComponent.d.ts.map +0 -1
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/utils.d.ts.map +0 -1
|
@@ -1,61 +1,37 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
2
3
|
import { Dialog as WCDialog } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { DialogProps as WCDialogProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
import { DialogActionPrimary } from './DialogActionPrimary';
|
|
5
|
-
import { DialogActionSecondary } from './DialogActionSecondary';
|
|
6
|
-
import { DialogActionTertiary } from './DialogActionTertiary';
|
|
7
|
-
import { DialogActions } from './DialogActions';
|
|
8
|
-
import { DialogBody } from './DialogBody';
|
|
9
|
-
import { DialogClose } from './DialogClose';
|
|
10
|
-
import { DialogFooter } from './DialogFooter';
|
|
11
|
-
import { DialogHeader } from './DialogHeader';
|
|
12
|
-
export type DialogHTMLAttributes = HTMLAttributes<WCDialog> & WCDialogProps;
|
|
13
|
-
export interface DialogProps extends DialogHTMLAttributes {
|
|
14
|
-
/**
|
|
15
|
-
* Fired when there's a click on the overlay behind the dialog or the `ESC` key is pressed
|
|
16
|
-
*/
|
|
17
|
-
onClose?: (event: CustomEvent) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Fired before the dialog starts to open, it's not cancelable
|
|
20
|
-
*/
|
|
21
|
-
onOpening?: (event: CustomEvent) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Fired after the dialog is opened, it's not cancelable
|
|
24
|
-
*/
|
|
25
|
-
onOpened?: (event: CustomEvent) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Fired before the dialog starts to close, it's not cancelable
|
|
28
|
-
*/
|
|
29
|
-
onClosing?: (event: CustomEvent) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Fired after the dialog is closed, it's not cancelable
|
|
32
|
-
*/
|
|
33
|
-
onClosed?: (event: CustomEvent) => void;
|
|
34
|
-
}
|
|
35
4
|
declare global {
|
|
36
5
|
namespace JSX {
|
|
37
6
|
interface IntrinsicElements {
|
|
38
|
-
'm-dialog':
|
|
7
|
+
'm-dialog': WebComponentProps<WCDialog>;
|
|
39
8
|
}
|
|
40
9
|
}
|
|
41
10
|
}
|
|
42
|
-
export declare
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
export
|
|
61
|
-
|
|
11
|
+
export declare const Dialog: import("@lit/react").ReactWebComponent<WCDialog, {
|
|
12
|
+
onClose: EventName<CustomEvent<any>>;
|
|
13
|
+
onOpening: EventName<CustomEvent<any>>;
|
|
14
|
+
onOpened: EventName<CustomEvent<any>>;
|
|
15
|
+
onClosing: EventName<CustomEvent<any>>;
|
|
16
|
+
onClosed: EventName<CustomEvent<any>>;
|
|
17
|
+
}> & {
|
|
18
|
+
ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionPrimary").DialogActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionPrimary>>;
|
|
19
|
+
ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionSecondary").DialogActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionSecondary>>;
|
|
20
|
+
ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionTertiary").DialogActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionTertiary>>;
|
|
21
|
+
Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogActions, {}>;
|
|
22
|
+
Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogBody, {}>;
|
|
23
|
+
Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogClose, {
|
|
24
|
+
onClose: EventName<CustomEvent<any>>;
|
|
25
|
+
}>;
|
|
26
|
+
Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogFooter, {}>;
|
|
27
|
+
Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogHeader, {}>;
|
|
28
|
+
};
|
|
29
|
+
export type DialogProps = ComponentProps<typeof Dialog>;
|
|
30
|
+
export type { DialogActionPrimaryProps } from './DialogActionPrimary';
|
|
31
|
+
export type { DialogActionSecondaryProps } from './DialogActionSecondary';
|
|
32
|
+
export type { DialogActionTertiaryProps } from './DialogActionTertiary';
|
|
33
|
+
export type { DialogActionsProps } from './DialogActions';
|
|
34
|
+
export type { DialogBodyProps } from './DialogBody';
|
|
35
|
+
export type { DialogCloseProps } from './DialogClose';
|
|
36
|
+
export type { DialogFooterProps } from './DialogFooter';
|
|
37
|
+
export type { DialogHeaderProps } from './DialogHeader';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogActionPrimary as WCDialogActionPrimary } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
export type DialogActionPrimaryHTMLAttributes = Omit<HTMLAttributes<WCDialogActionPrimary>, 'slot'> & Omit<WCButtonProps, 'variant' | 'type'> & Partial<Pick<WCButtonProps, 'variant' | 'type'>>;
|
|
5
|
-
export interface DialogActionPrimaryProps extends DialogActionPrimaryHTMLAttributes {
|
|
6
|
-
leading?: ReactNode;
|
|
7
|
-
trailing?: ReactNode;
|
|
8
|
-
}
|
|
9
4
|
declare global {
|
|
10
5
|
namespace JSX {
|
|
11
6
|
interface IntrinsicElements {
|
|
12
|
-
'm-dialog-action-primary':
|
|
7
|
+
'm-dialog-action-primary': WebComponentProps<WCDialogActionPrimary>;
|
|
13
8
|
}
|
|
14
9
|
}
|
|
15
10
|
}
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const WiredDialogActionPrimary: import("@lit/react").ReactWebComponent<WCDialogActionPrimary, {}>;
|
|
12
|
+
export interface DialogActionPrimaryProps extends ComponentProps<typeof WiredDialogActionPrimary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const DialogActionPrimary: import("react").ForwardRefExoticComponent<Omit<DialogActionPrimaryProps, "ref"> & import("react").RefAttributes<WCDialogActionPrimary>>;
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogActionSecondary as WCDialogActionSecondary } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
export type DialogActionSecondaryHTMLAttributes = Omit<HTMLAttributes<WCDialogActionSecondary>, 'slot'> & Omit<WCButtonProps, 'variant' | 'type'> & Partial<Pick<WCButtonProps, 'variant' | 'type'>>;
|
|
5
|
-
export interface DialogActionSecondaryProps extends DialogActionSecondaryHTMLAttributes {
|
|
6
|
-
leading?: ReactNode;
|
|
7
|
-
trailing?: ReactNode;
|
|
8
|
-
}
|
|
9
4
|
declare global {
|
|
10
5
|
namespace JSX {
|
|
11
6
|
interface IntrinsicElements {
|
|
12
|
-
'm-dialog-action-secondary':
|
|
7
|
+
'm-dialog-action-secondary': WebComponentProps<WCDialogActionSecondary>;
|
|
13
8
|
}
|
|
14
9
|
}
|
|
15
10
|
}
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const WiredDialogActionSecondary: import("@lit/react").ReactWebComponent<WCDialogActionSecondary, {}>;
|
|
12
|
+
export interface DialogActionSecondaryProps extends ComponentProps<typeof WiredDialogActionSecondary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const DialogActionSecondary: import("react").ForwardRefExoticComponent<Omit<DialogActionSecondaryProps, "ref"> & import("react").RefAttributes<WCDialogActionSecondary>>;
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogActionTertiary as WCDialogActionTertiary } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
export type DialogActionTertiaryHTMLAttributes = Omit<HTMLAttributes<WCDialogActionTertiary>, 'slot'> & Omit<WCButtonProps, 'variant' | 'type'> & Partial<Pick<WCButtonProps, 'variant' | 'type'>>;
|
|
5
|
-
export interface DialogActionTertiaryProps extends DialogActionTertiaryHTMLAttributes {
|
|
6
|
-
leading?: ReactNode;
|
|
7
|
-
trailing?: ReactNode;
|
|
8
|
-
}
|
|
9
4
|
declare global {
|
|
10
5
|
namespace JSX {
|
|
11
6
|
interface IntrinsicElements {
|
|
12
|
-
'm-dialog-action-tertiary':
|
|
7
|
+
'm-dialog-action-tertiary': WebComponentProps<WCDialogActionTertiary>;
|
|
13
8
|
}
|
|
14
9
|
}
|
|
15
10
|
}
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const WiredDialogActionTertiary: import("@lit/react").ReactWebComponent<WCDialogActionTertiary, {}>;
|
|
12
|
+
export interface DialogActionTertiaryProps extends ComponentProps<typeof WiredDialogActionTertiary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const DialogActionTertiary: import("react").ForwardRefExoticComponent<Omit<DialogActionTertiaryProps, "ref"> & import("react").RefAttributes<WCDialogActionTertiary>>;
|
|
17
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogActions as WCDialogActions } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type DialogActionsProps = Omit<HTMLAttributes<WCDialogActions>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-dialog-actions':
|
|
7
|
+
'm-dialog-actions': WebComponentProps<WCDialogActions>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
|
|
11
|
+
export declare const DialogActions: import("@lit/react").ReactWebComponent<WCDialogActions, {}>;
|
|
12
|
+
export type DialogActionsProps = ComponentProps<typeof DialogActions>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogBody as WCDialogBody } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type DialogBodyProps = Omit<HTMLAttributes<WCDialogBody>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-dialog-body':
|
|
7
|
+
'm-dialog-body': WebComponentProps<WCDialogBody>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
|
|
11
|
+
export declare const DialogBody: import("@lit/react").ReactWebComponent<WCDialogBody, {}>;
|
|
12
|
+
export type DialogBodyProps = ComponentProps<typeof DialogBody>;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps, EventName } from '@lit/react';
|
|
2
3
|
import { DialogClose as WCDialogClose } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { CloseButtonProps as WCCloseButtonProps } from '@loadsmart/miranda-wc';
|
|
4
|
-
export type DialogCloseHTMLAttributes = Omit<HTMLAttributes<WCDialogClose>, 'slot'> & WCCloseButtonProps;
|
|
5
|
-
export interface DialogCloseProps extends DialogCloseHTMLAttributes {
|
|
6
|
-
onClose?: (event: CustomEvent) => void;
|
|
7
|
-
}
|
|
8
4
|
declare global {
|
|
9
5
|
namespace JSX {
|
|
10
6
|
interface IntrinsicElements {
|
|
11
|
-
'm-dialog-close':
|
|
7
|
+
'm-dialog-close': WebComponentProps<WCDialogClose>;
|
|
12
8
|
}
|
|
13
9
|
}
|
|
14
10
|
}
|
|
15
|
-
export declare
|
|
16
|
-
|
|
11
|
+
export declare const DialogClose: import("@lit/react").ReactWebComponent<WCDialogClose, {
|
|
12
|
+
onClose: EventName<CustomEvent<any>>;
|
|
13
|
+
}>;
|
|
14
|
+
export type DialogCloseProps = ComponentProps<typeof DialogClose>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogFooter as WCDialogFooter } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type DialogFooterProps = Omit<HTMLAttributes<WCDialogFooter>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-dialog-footer':
|
|
7
|
+
'm-dialog-footer': WebComponentProps<WCDialogFooter>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
|
|
11
|
+
export declare const DialogFooter: import("@lit/react").ReactWebComponent<WCDialogFooter, {}>;
|
|
12
|
+
export type DialogFooterProps = ComponentProps<typeof DialogFooter>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
2
3
|
import { DialogHeader as WCDialogHeader } from '@loadsmart/miranda-wc';
|
|
3
|
-
export type DialogHeaderProps = Omit<HTMLAttributes<WCDialogHeader>, 'slot'>;
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
7
|
-
'm-dialog-header':
|
|
7
|
+
'm-dialog-header': WebComponentProps<WCDialogHeader>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
|
|
11
|
+
export declare const DialogHeader: import("@lit/react").ReactWebComponent<WCDialogHeader, {}>;
|
|
12
|
+
export type DialogHeaderProps = ComponentProps<typeof DialogHeader>;
|
|
@@ -2,4 +2,3 @@ export { Dialog } from './Dialog';
|
|
|
2
2
|
export type { DialogProps, DialogActionPrimaryProps, DialogActionSecondaryProps, DialogActionTertiaryProps, DialogActionsProps, DialogBodyProps, DialogCloseProps, DialogFooterProps, DialogHeaderProps, } from './Dialog';
|
|
3
3
|
export { DIALOG_SIZES, DIALOG_VARIANTS } from '@loadsmart/miranda-wc';
|
|
4
4
|
export type { DialogSize, DialogVariant } from '@loadsmart/miranda-wc';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Divider as WCDivider } from '@loadsmart/miranda-wc';
|
|
4
|
-
export interface DividerProps extends Omit<HTMLAttributes<WCDivider>, 'style'> {
|
|
5
|
-
style?: React.CSSProperties & {
|
|
6
|
-
'--m-divider-margin-top'?: string;
|
|
7
|
-
'--m-divider-margin-bottom'?: string;
|
|
8
|
-
'--m-divider-margin-y'?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
4
|
declare global {
|
|
12
5
|
namespace JSX {
|
|
13
6
|
interface IntrinsicElements {
|
|
14
|
-
'm-divider':
|
|
7
|
+
'm-divider': WebComponentProps<WCDivider>;
|
|
15
8
|
}
|
|
16
9
|
}
|
|
17
10
|
}
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
declare module 'react' {
|
|
12
|
+
interface CSSProperties {
|
|
13
|
+
'--m-divider-margin-top'?: string;
|
|
14
|
+
'--m-divider-margin-bottom'?: string;
|
|
15
|
+
'--m-divider-margin-y'?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare const Divider: import("@lit/react").ReactWebComponent<WCDivider, {}>;
|
|
19
|
+
export type DividerProps = ComponentProps<typeof Divider>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { Drawer as WCDrawer } from '@loadsmart/miranda-wc';
|
|
4
|
+
import { DrawerActionPrimary } from './DrawerActionPrimary';
|
|
5
|
+
import { DrawerActionSecondary } from './DrawerActionSecondary';
|
|
6
|
+
import { DrawerActionTertiary } from './DrawerActionTertiary';
|
|
7
|
+
declare global {
|
|
8
|
+
namespace JSX {
|
|
9
|
+
interface IntrinsicElements {
|
|
10
|
+
'm-drawer': WebComponentProps<WCDrawer>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare const Drawer: import("@lit/react").ReactWebComponent<WCDrawer, {
|
|
15
|
+
onClose: EventName<CustomEvent<any>>;
|
|
16
|
+
onOpening: EventName<CustomEvent<any>>;
|
|
17
|
+
onOpened: EventName<CustomEvent<any>>;
|
|
18
|
+
onClosing: EventName<CustomEvent<any>>;
|
|
19
|
+
onClosed: EventName<CustomEvent<any>>;
|
|
20
|
+
}> & {
|
|
21
|
+
ActionPrimary: typeof DrawerActionPrimary;
|
|
22
|
+
ActionSecondary: typeof DrawerActionSecondary;
|
|
23
|
+
ActionTertiary: typeof DrawerActionTertiary;
|
|
24
|
+
Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerActions, {}>;
|
|
25
|
+
Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerBody, {}>;
|
|
26
|
+
Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerClose, {
|
|
27
|
+
onClose: EventName<CustomEvent<any>>;
|
|
28
|
+
}>;
|
|
29
|
+
Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerHeader, {}>;
|
|
30
|
+
};
|
|
31
|
+
export type DrawerProps = ComponentProps<typeof Drawer>;
|
|
32
|
+
export type { DrawerActionPrimaryProps } from './DrawerActionPrimary';
|
|
33
|
+
export type { DrawerActionSecondaryProps } from './DrawerActionSecondary';
|
|
34
|
+
export type { DrawerActionTertiaryProps } from './DrawerActionTertiary';
|
|
35
|
+
export type { DrawerActionsProps } from './DrawerActions';
|
|
36
|
+
export type { DrawerBodyProps } from './DrawerBody';
|
|
37
|
+
export type { DrawerCloseProps } from './DrawerClose';
|
|
38
|
+
export type { DrawerHeaderProps } from './DrawerHeader';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerActionPrimary as WCDrawerActionPrimary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-action-primary': WebComponentProps<WCDrawerActionPrimary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredDrawerActionPrimary: import("@lit/react").ReactWebComponent<WCDrawerActionPrimary, {}>;
|
|
12
|
+
export interface DrawerActionPrimaryProps extends ComponentProps<typeof WiredDrawerActionPrimary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function DrawerActionPrimary(props: DrawerActionPrimaryProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerActionSecondary as WCDrawerActionSecondary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-action-secondary': WebComponentProps<WCDrawerActionSecondary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredDrawerActionSecondary: import("@lit/react").ReactWebComponent<WCDrawerActionSecondary, {}>;
|
|
12
|
+
export interface DrawerActionSecondaryProps extends ComponentProps<typeof WiredDrawerActionSecondary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function DrawerActionSecondary(props: DrawerActionSecondaryProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerActionTertiary as WCDrawerActionTertiary } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-action-tertiary': WebComponentProps<WCDrawerActionTertiary>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredDrawerActionTertiary: import("@lit/react").ReactWebComponent<WCDrawerActionTertiary, {}>;
|
|
12
|
+
export interface DrawerActionTertiaryProps extends ComponentProps<typeof WiredDrawerActionTertiary> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare function DrawerActionTertiary(props: DrawerActionTertiaryProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerActions as WCDrawerActions } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-actions': WebComponentProps<WCDrawerActions>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const DrawerActions: import("@lit/react").ReactWebComponent<WCDrawerActions, {}>;
|
|
12
|
+
export type DrawerActionsProps = ComponentProps<typeof DrawerActions>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerBody as WCDrawerBody } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-body': WebComponentProps<WCDrawerBody>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const DrawerBody: import("@lit/react").ReactWebComponent<WCDrawerBody, {}>;
|
|
12
|
+
export type DrawerBodyProps = ComponentProps<typeof DrawerBody>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps, EventName } from '@lit/react';
|
|
3
|
+
import { DrawerClose as WCDrawerClose } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-close': WebComponentProps<WCDrawerClose>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const DrawerClose: import("@lit/react").ReactWebComponent<WCDrawerClose, {
|
|
12
|
+
onClose: EventName<CustomEvent<any>>;
|
|
13
|
+
}>;
|
|
14
|
+
export type DrawerCloseProps = ComponentProps<typeof DrawerClose>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DrawerHeader as WCDrawerHeader } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-drawer-header': WebComponentProps<WCDrawerHeader>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const DrawerHeader: import("@lit/react").ReactWebComponent<WCDrawerHeader, {}>;
|
|
12
|
+
export type DrawerHeaderProps = ComponentProps<typeof DrawerHeader>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Drawer } from './Drawer';
|
|
2
|
+
export type { DrawerProps, DrawerActionPrimaryProps, DrawerActionSecondaryProps, DrawerActionTertiaryProps, DrawerActionsProps, DrawerBodyProps, DrawerCloseProps, DrawerHeaderProps, } from './Drawer';
|
|
3
|
+
export { DRAWER_SIZES } from '@loadsmart/miranda-wc';
|
|
4
|
+
export type { DrawerSize } from '@loadsmart/miranda-wc';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { Dropdown as WCDropdown } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-dropdown': WebComponentProps<WCDropdown>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const Dropdown: import("@lit/react").ReactWebComponent<WCDropdown, {
|
|
12
|
+
onExpand: EventName<CustomEvent<any>>;
|
|
13
|
+
onCollapse: EventName<CustomEvent<any>>;
|
|
14
|
+
}> & {
|
|
15
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("./DropdownItem").DropdownItemProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DropdownItem>>;
|
|
16
|
+
Menu: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DropdownMenu, {}>;
|
|
17
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<import("./DropdownTrigger").DropdownTriggerProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DropdownTrigger>>;
|
|
18
|
+
};
|
|
19
|
+
export type DropdownProps = ComponentProps<typeof Dropdown>;
|
|
20
|
+
export type { DropdownItemProps } from './DropdownItem';
|
|
21
|
+
export type { DropdownMenuProps } from './DropdownMenu';
|
|
22
|
+
export type { DropdownTriggerProps } from './DropdownTrigger';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DropdownItem as WCDropdownItem } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-dropdown-item': WebComponentProps<WCDropdownItem>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const WiredDropdownItem: import("@lit/react").ReactWebComponent<WCDropdownItem, {}>;
|
|
12
|
+
export interface DropdownItemProps extends ComponentProps<typeof WiredDropdownItem> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const DropdownItem: import("react").ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & import("react").RefAttributes<WCDropdownItem>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DropdownMenu as WCDropdownMenu } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-dropdown-menu': WebComponentProps<WCDropdownMenu>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const DropdownMenu: import("@lit/react").ReactWebComponent<WCDropdownMenu, {}>;
|
|
12
|
+
export type DropdownMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { DropdownTrigger as WCDropdownTrigger } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-dropdown-trigger': WebComponentProps<WCDropdownTrigger>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const WiredDropdownTrigger: import("@lit/react").ReactWebComponent<WCDropdownTrigger, {}>;
|
|
12
|
+
export interface DropdownTriggerProps extends ComponentProps<typeof WiredDropdownTrigger> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare const DropdownTrigger: import("react").ForwardRefExoticComponent<Omit<DropdownTriggerProps, "ref"> & import("react").RefAttributes<WCDropdownTrigger>>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Dropdown } from './Dropdown';
|
|
2
|
+
export { DropdownMenu } from './DropdownMenu';
|
|
3
|
+
export { DropdownItem } from './DropdownItem';
|
|
4
|
+
export { DropdownTrigger } from './DropdownTrigger';
|
|
5
|
+
export type { DropdownProps, DropdownItemProps, DropdownTriggerProps, DropdownMenuProps, } from './Dropdown';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { EmptyState as WCEmptyState } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-empty-state': WebComponentProps<WCEmptyState>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const EmptyState: import("@lit/react").ReactWebComponent<WCEmptyState, {
|
|
12
|
+
onAction: EventName<CustomEvent<any>>;
|
|
13
|
+
}> & {
|
|
14
|
+
Illustration: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateIllustration, {}>;
|
|
15
|
+
Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateHeader, {}>;
|
|
16
|
+
Message: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateMessage, {}>;
|
|
17
|
+
Action: import("react").ForwardRefExoticComponent<Omit<import("./EmptyStateAction").EmptyStateActionProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").EmptyStateAction>>;
|
|
18
|
+
};
|
|
19
|
+
export type EmptyStateProps = ComponentProps<typeof EmptyState>;
|
|
20
|
+
export type { EmptyStateIllustrationProps } from './EmptyStateIllustration';
|
|
21
|
+
export type { EmptyStateHeaderProps } from './EmptyStateHeader';
|
|
22
|
+
export type { EmptyStateMessageProps } from './EmptyStateMessage';
|
|
23
|
+
export type { EmptyStateActionProps } from './EmptyStateAction';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { EmptyStateAction as WCEmptyStateAction } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-empty-state-action': WebComponentProps<WCEmptyStateAction>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const WiredEmptyStateAction: import("@lit/react").ReactWebComponent<WCEmptyStateAction, {}>;
|
|
12
|
+
export interface EmptyStateActionProps extends ComponentProps<typeof WiredEmptyStateAction> {
|
|
13
|
+
leading?: ReactNode;
|
|
14
|
+
trailing?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const EmptyStateAction: import("react").ForwardRefExoticComponent<Omit<EmptyStateActionProps, "ref"> & import("react").RefAttributes<WCEmptyStateAction>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import type { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { EmptyStateHeader as WCEmptyStateHeader } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-empty-state-header': WebComponentProps<WCEmptyStateHeader>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const EmptyStateHeader: import("@lit/react").ReactWebComponent<WCEmptyStateHeader, {}>;
|
|
12
|
+
export type EmptyStateHeaderProps = ComponentProps<typeof EmptyStateHeader>;
|