@loadsmart/miranda-react 3.0.0-beta.6 → 3.0.0-beta.61
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 +6 -7
- package/dist/components/Accordion/AccordionContent.d.ts +2 -2
- package/dist/components/Accordion/AccordionTitle.d.ts +4 -4
- package/dist/components/Badge/Badge.d.ts +3 -3
- package/dist/components/Banner/Banner.d.ts +10 -10
- package/dist/components/Banner/BannerActionPrimary.d.ts +4 -4
- package/dist/components/Banner/BannerActionSecondary.d.ts +4 -4
- package/dist/components/Banner/BannerActions.d.ts +3 -3
- package/dist/components/Banner/BannerDescription.d.ts +3 -3
- package/dist/components/Banner/BannerIcon.d.ts +3 -3
- package/dist/components/Banner/BannerTitle.d.ts +3 -3
- package/dist/components/Button/Button.d.ts +4 -4
- package/dist/components/Card/Card.d.ts +12 -13
- package/dist/components/Card/CardActionPrimary.d.ts +4 -4
- package/dist/components/Card/CardActionSecondary.d.ts +4 -4
- package/dist/components/Card/CardActionTertiary.d.ts +4 -4
- package/dist/components/Card/CardBody.d.ts +3 -3
- package/dist/components/Card/CardDivider.d.ts +3 -3
- package/dist/components/Card/CardFooter.d.ts +3 -3
- package/dist/components/Card/CardSubtitle.d.ts +3 -3
- package/dist/components/Card/CardTitle.d.ts +4 -4
- package/dist/components/Checkbox/Checkbox.d.ts +5 -5
- package/dist/components/Dialog/Dialog.d.ts +17 -17
- package/dist/components/Dialog/DialogActionPrimary.d.ts +4 -4
- package/dist/components/Dialog/DialogActionSecondary.d.ts +4 -4
- package/dist/components/Dialog/DialogActionTertiary.d.ts +4 -4
- package/dist/components/Dialog/DialogActions.d.ts +3 -3
- package/dist/components/Dialog/DialogBody.d.ts +3 -3
- package/dist/components/Dialog/DialogClose.d.ts +4 -4
- package/dist/components/Dialog/DialogFooter.d.ts +3 -3
- package/dist/components/Dialog/DialogHeader.d.ts +3 -3
- package/dist/components/Divider/Divider.d.ts +3 -3
- package/dist/components/DotsLoader/DotsLoader.d.ts +13 -0
- package/dist/components/DotsLoader/index.d.ts +2 -0
- package/dist/components/Drawer/Drawer.d.ts +16 -19
- package/dist/components/Drawer/DrawerActionPrimary.d.ts +4 -4
- package/dist/components/Drawer/DrawerActionSecondary.d.ts +4 -4
- package/dist/components/Drawer/DrawerActionTertiary.d.ts +4 -4
- package/dist/components/Drawer/DrawerActions.d.ts +3 -3
- package/dist/components/Drawer/DrawerBody.d.ts +3 -3
- package/dist/components/Drawer/DrawerClose.d.ts +4 -4
- package/dist/components/Drawer/DrawerHeader.d.ts +3 -3
- package/dist/components/Dropdown/Dropdown.d.ts +8 -8
- package/dist/components/Dropdown/DropdownItem.d.ts +4 -4
- package/dist/components/Dropdown/DropdownMenu.d.ts +3 -3
- package/dist/components/Dropdown/DropdownTrigger.d.ts +4 -4
- package/dist/components/EmptyState/EmptyState.d.ts +8 -8
- package/dist/components/EmptyState/EmptyStateAction.d.ts +4 -4
- package/dist/components/EmptyState/EmptyStateHeader.d.ts +3 -3
- package/dist/components/EmptyState/EmptyStateIllustration.d.ts +3 -3
- package/dist/components/EmptyState/EmptyStateMessage.d.ts +3 -3
- package/dist/components/Field/Field.d.ts +5 -5
- package/dist/components/Field/FieldHint.d.ts +4 -4
- package/dist/components/Field/FieldLabel.d.ts +3 -3
- package/dist/components/Header/Header.d.ts +11 -8
- package/dist/components/Header/HeaderActions.d.ts +3 -3
- package/dist/components/Header/HeaderBackButton.d.ts +2 -2
- package/dist/components/Header/HeaderContent.d.ts +3 -3
- package/dist/components/Header/HeaderTabs.d.ts +14 -0
- package/dist/components/Header/HeaderTitle.d.ts +3 -3
- package/dist/components/Header/SubHeader.d.ts +3 -3
- package/dist/components/Header/index.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +3 -3
- package/dist/components/Label/Label.d.ts +3 -3
- package/dist/components/LabeledValue/LabeledValue.d.ts +10 -10
- package/dist/components/Layout/Box.d.ts +3 -3
- package/dist/components/Layout/Grid.d.ts +3 -3
- package/dist/components/Layout/Group.d.ts +3 -3
- package/dist/components/Layout/Layout.d.ts +11 -11
- package/dist/components/Layout/Row.d.ts +5 -5
- package/dist/components/Layout/Sidebar.d.ts +7 -8
- package/dist/components/Layout/Stack.d.ts +3 -3
- package/dist/components/Layout/Switcher.d.ts +3 -3
- package/dist/components/Link/Link.d.ts +4 -5
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/LogoLoader/LogoLoader.d.ts +3 -3
- package/dist/components/PageContent/Body.d.ts +3 -3
- package/dist/components/PageContent/PageContent.d.ts +4 -4
- package/dist/components/Pagination/Pagination.d.ts +4 -5
- package/dist/components/ProgressBar/ProgressBar.d.ts +4 -5
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +3 -3
- package/dist/components/RadioGroup/Radio.d.ts +4 -4
- package/dist/components/RadioGroup/RadioGroup.d.ts +5 -5
- package/dist/components/Section/Section.d.ts +4 -4
- package/dist/components/Section/SectionTitle.d.ts +4 -4
- package/dist/components/Select/Select.d.ts +7 -7
- package/dist/components/Select/SelectOption.d.ts +5 -5
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +3 -3
- package/dist/components/Steps/Step.d.ts +3 -3
- package/dist/components/Steps/Steps.d.ts +8 -9
- package/dist/components/Steps/useSteps.d.ts +2 -2
- package/dist/components/Switch/Switch.d.ts +4 -4
- package/dist/components/Table/Table.d.ts +17 -13
- package/dist/components/Table/TableActions.d.ts +3 -3
- package/dist/components/Table/TableBody.d.ts +3 -3
- package/dist/components/Table/TableCell.d.ts +3 -3
- package/dist/components/Table/TableFeedback.d.ts +3 -3
- package/dist/components/Table/TableFoot.d.ts +3 -3
- package/dist/components/Table/TableHead.d.ts +3 -3
- package/dist/components/Table/TableHeadCell.d.ts +4 -5
- package/dist/components/Table/TableRow.d.ts +3 -3
- package/dist/components/Table/TableSelectionCell.d.ts +12 -0
- package/dist/components/Table/TableToolbar.d.ts +3 -3
- package/dist/components/Table/index.d.ts +3 -1
- package/dist/components/Tabs/Tab.d.ts +4 -4
- package/dist/components/Tabs/TabPanel.d.ts +3 -3
- package/dist/components/Tabs/Tabs.d.ts +6 -7
- package/dist/components/Tag/ActionableTag.d.ts +6 -6
- package/dist/components/Tag/Tag.d.ts +4 -4
- package/dist/components/Text/Text.d.ts +3 -3
- package/dist/components/TextArea/TextArea.d.ts +6 -7
- package/dist/components/TextField/TextField.d.ts +8 -7
- package/dist/components/Timeline/Timeline.d.ts +11 -11
- package/dist/components/Timeline/TimelineExpandableItem.d.ts +3 -3
- package/dist/components/Timeline/TimelineItem.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemBody.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemFooter.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemHeader.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +3 -3
- package/dist/components/Timeline/TimelineItemIcon.d.ts +3 -3
- package/dist/components/ToggleGroup/Toggle.d.ts +4 -4
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +33 -10
- package/dist/components/Tooltip/Tooltip.d.ts +13 -7
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1225 -1124
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +2 -2
- package/dist/utils/createComponent.d.ts +3 -3
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/utils.d.ts +2 -2
- package/package.json +16 -13
- package/dist/tests/constants.d.ts +0 -12
- package/dist/tests/types.d.ts +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps, EventName } from '@lit/react';
|
|
3
3
|
import { DialogClose as WCDialogClose } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DialogClose: import(
|
|
12
|
-
onClose: EventName<CustomEvent
|
|
11
|
+
export declare const DialogClose: import('@lit/react').ReactWebComponent<WCDialogClose, {
|
|
12
|
+
onClose: EventName<CustomEvent>;
|
|
13
13
|
}>;
|
|
14
14
|
export type DialogCloseProps = ComponentProps<typeof DialogClose>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DialogFooter as WCDialogFooter } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DialogFooter: import(
|
|
11
|
+
export declare const DialogFooter: import('@lit/react').ReactWebComponent<WCDialogFooter, {}>;
|
|
12
12
|
export type DialogFooterProps = ComponentProps<typeof DialogFooter>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DialogHeader as WCDialogHeader } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DialogHeader: import(
|
|
11
|
+
export declare const DialogHeader: import('@lit/react').ReactWebComponent<WCDialogHeader, {}>;
|
|
12
12
|
export type DialogHeaderProps = ComponentProps<typeof DialogHeader>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Divider as WCDivider } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -15,5 +15,5 @@ declare module 'react' {
|
|
|
15
15
|
'--m-divider-margin-y'?: string;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
export declare const Divider: import(
|
|
18
|
+
export declare const Divider: import('@lit/react').ReactWebComponent<WCDivider, {}>;
|
|
19
19
|
export type DividerProps = ComponentProps<typeof Divider>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { DotsLoader as WCDotsLoader } from '@loadsmart/miranda-wc';
|
|
3
|
+
import { WebComponentProps } from '@lit/react';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-dots-loader': WebComponentProps<WCDotsLoader>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
declare const DotsLoader: import('@lit/react').ReactWebComponent<WCDotsLoader, {}>;
|
|
12
|
+
export type DotsLoaderProps = ComponentProps<typeof DotsLoader>;
|
|
13
|
+
export default DotsLoader;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
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
4
|
declare global {
|
|
8
5
|
namespace JSX {
|
|
9
6
|
interface IntrinsicElements {
|
|
@@ -11,22 +8,22 @@ declare global {
|
|
|
11
8
|
}
|
|
12
9
|
}
|
|
13
10
|
}
|
|
14
|
-
export declare const Drawer: import(
|
|
15
|
-
onClose: EventName<CustomEvent
|
|
16
|
-
onOpening: EventName<CustomEvent
|
|
17
|
-
onOpened: EventName<CustomEvent
|
|
18
|
-
onClosing: EventName<CustomEvent
|
|
19
|
-
onClosed: EventName<CustomEvent
|
|
11
|
+
export declare const Drawer: import('@lit/react').ReactWebComponent<WCDrawer, {
|
|
12
|
+
onClose: EventName<CustomEvent>;
|
|
13
|
+
onOpening: EventName<CustomEvent>;
|
|
14
|
+
onOpened: EventName<CustomEvent>;
|
|
15
|
+
onClosing: EventName<CustomEvent>;
|
|
16
|
+
onClosed: EventName<CustomEvent>;
|
|
20
17
|
}> & {
|
|
21
|
-
ActionPrimary:
|
|
22
|
-
ActionSecondary:
|
|
23
|
-
ActionTertiary:
|
|
24
|
-
Actions: import(
|
|
25
|
-
Body: import(
|
|
26
|
-
Close: import(
|
|
27
|
-
onClose: EventName<CustomEvent
|
|
18
|
+
ActionPrimary: import('react').ForwardRefExoticComponent<Omit<import('./DrawerActionPrimary').DrawerActionPrimaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').DrawerActionPrimary>>;
|
|
19
|
+
ActionSecondary: import('react').ForwardRefExoticComponent<Omit<import('./DrawerActionSecondary').DrawerActionSecondaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').DrawerActionSecondary>>;
|
|
20
|
+
ActionTertiary: import('react').ForwardRefExoticComponent<Omit<import('./DrawerActionTertiary').DrawerActionTertiaryProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').DrawerActionTertiary>>;
|
|
21
|
+
Actions: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').DrawerActions, {}>;
|
|
22
|
+
Body: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').DrawerBody, {}>;
|
|
23
|
+
Close: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').DrawerClose, {
|
|
24
|
+
onClose: EventName<CustomEvent>;
|
|
28
25
|
}>;
|
|
29
|
-
Header: import(
|
|
26
|
+
Header: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').DrawerHeader, {}>;
|
|
30
27
|
};
|
|
31
28
|
export type DrawerProps = ComponentProps<typeof Drawer>;
|
|
32
29
|
export type { DrawerActionPrimaryProps } from './DrawerActionPrimary';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerActionPrimary as WCDrawerActionPrimary } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,10 +8,10 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const WiredDrawerActionPrimary: import(
|
|
11
|
+
declare const WiredDrawerActionPrimary: import('@lit/react').ReactWebComponent<WCDrawerActionPrimary, {}>;
|
|
12
12
|
export interface DrawerActionPrimaryProps extends ComponentProps<typeof WiredDrawerActionPrimary> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare
|
|
16
|
+
export declare const DrawerActionPrimary: import('react').ForwardRefExoticComponent<Omit<DrawerActionPrimaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionPrimary>>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerActionSecondary as WCDrawerActionSecondary } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,10 +8,10 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const WiredDrawerActionSecondary: import(
|
|
11
|
+
declare const WiredDrawerActionSecondary: import('@lit/react').ReactWebComponent<WCDrawerActionSecondary, {}>;
|
|
12
12
|
export interface DrawerActionSecondaryProps extends ComponentProps<typeof WiredDrawerActionSecondary> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare
|
|
16
|
+
export declare const DrawerActionSecondary: import('react').ForwardRefExoticComponent<Omit<DrawerActionSecondaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionSecondary>>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerActionTertiary as WCDrawerActionTertiary } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,10 +8,10 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const WiredDrawerActionTertiary: import(
|
|
11
|
+
declare const WiredDrawerActionTertiary: import('@lit/react').ReactWebComponent<WCDrawerActionTertiary, {}>;
|
|
12
12
|
export interface DrawerActionTertiaryProps extends ComponentProps<typeof WiredDrawerActionTertiary> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare
|
|
16
|
+
export declare const DrawerActionTertiary: import('react').ForwardRefExoticComponent<Omit<DrawerActionTertiaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionTertiary>>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerActions as WCDrawerActions } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DrawerActions: import(
|
|
11
|
+
export declare const DrawerActions: import('@lit/react').ReactWebComponent<WCDrawerActions, {}>;
|
|
12
12
|
export type DrawerActionsProps = ComponentProps<typeof DrawerActions>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerBody as WCDrawerBody } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DrawerBody: import(
|
|
11
|
+
export declare const DrawerBody: import('@lit/react').ReactWebComponent<WCDrawerBody, {}>;
|
|
12
12
|
export type DrawerBodyProps = ComponentProps<typeof DrawerBody>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps, EventName } from '@lit/react';
|
|
3
3
|
import { DrawerClose as WCDrawerClose } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,7 +8,7 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DrawerClose: import(
|
|
12
|
-
onClose: EventName<CustomEvent
|
|
11
|
+
export declare const DrawerClose: import('@lit/react').ReactWebComponent<WCDrawerClose, {
|
|
12
|
+
onClose: EventName<CustomEvent>;
|
|
13
13
|
}>;
|
|
14
14
|
export type DrawerCloseProps = ComponentProps<typeof DrawerClose>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DrawerHeader as WCDrawerHeader } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DrawerHeader: import(
|
|
11
|
+
export declare const DrawerHeader: import('@lit/react').ReactWebComponent<WCDrawerHeader, {}>;
|
|
12
12
|
export type DrawerHeaderProps = ComponentProps<typeof DrawerHeader>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Dropdown as WCDropdown } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,13 +8,13 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const Dropdown: import(
|
|
12
|
-
onExpand: EventName<CustomEvent
|
|
13
|
-
onCollapse: EventName<CustomEvent
|
|
11
|
+
export declare const Dropdown: import('@lit/react').ReactWebComponent<WCDropdown, {
|
|
12
|
+
onExpand: EventName<CustomEvent>;
|
|
13
|
+
onCollapse: EventName<CustomEvent>;
|
|
14
14
|
}> & {
|
|
15
|
-
Item: import(
|
|
16
|
-
Menu: import(
|
|
17
|
-
Trigger: import(
|
|
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
18
|
};
|
|
19
19
|
export type DropdownProps = ComponentProps<typeof Dropdown>;
|
|
20
20
|
export type { DropdownItemProps } from './DropdownItem';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DropdownItem as WCDropdownItem } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,9 +8,9 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const WiredDropdownItem: import(
|
|
11
|
+
export declare const WiredDropdownItem: import('@lit/react').ReactWebComponent<WCDropdownItem, {}>;
|
|
12
12
|
export interface DropdownItemProps extends ComponentProps<typeof WiredDropdownItem> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare const DropdownItem: import(
|
|
16
|
+
export declare const DropdownItem: import('react').ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & import('react').RefAttributes<WCDropdownItem>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DropdownMenu as WCDropdownMenu } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const DropdownMenu: import(
|
|
11
|
+
export declare const DropdownMenu: import('@lit/react').ReactWebComponent<WCDropdownMenu, {}>;
|
|
12
12
|
export type DropdownMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { DropdownTrigger as WCDropdownTrigger } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,8 +8,8 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const WiredDropdownTrigger: import(
|
|
11
|
+
export declare const WiredDropdownTrigger: import('@lit/react').ReactWebComponent<WCDropdownTrigger, {}>;
|
|
12
12
|
export interface DropdownTriggerProps extends ComponentProps<typeof WiredDropdownTrigger> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare const DropdownTrigger: import(
|
|
15
|
+
export declare const DropdownTrigger: import('react').ForwardRefExoticComponent<Omit<DropdownTriggerProps, "ref"> & import('react').RefAttributes<WCDropdownTrigger>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
3
|
import { EmptyState as WCEmptyState } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,13 +8,13 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const EmptyState: import(
|
|
12
|
-
onAction: EventName<CustomEvent
|
|
11
|
+
export declare const EmptyState: import('@lit/react').ReactWebComponent<WCEmptyState, {
|
|
12
|
+
onAction: EventName<CustomEvent>;
|
|
13
13
|
}> & {
|
|
14
|
-
Illustration: import(
|
|
15
|
-
Header: import(
|
|
16
|
-
Message: import(
|
|
17
|
-
Action: import(
|
|
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
18
|
};
|
|
19
19
|
export type EmptyStateProps = ComponentProps<typeof EmptyState>;
|
|
20
20
|
export type { EmptyStateIllustrationProps } from './EmptyStateIllustration';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { EmptyStateAction as WCEmptyStateAction } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,10 +8,10 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const WiredEmptyStateAction: import(
|
|
11
|
+
declare const WiredEmptyStateAction: import('@lit/react').ReactWebComponent<WCEmptyStateAction, {}>;
|
|
12
12
|
export interface EmptyStateActionProps extends ComponentProps<typeof WiredEmptyStateAction> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare const EmptyStateAction: import(
|
|
16
|
+
export declare const EmptyStateAction: import('react').ForwardRefExoticComponent<Omit<EmptyStateActionProps, "ref"> & import('react').RefAttributes<WCEmptyStateAction>>;
|
|
17
17
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { EmptyStateHeader as WCEmptyStateHeader } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const EmptyStateHeader: import(
|
|
11
|
+
export declare const EmptyStateHeader: import('@lit/react').ReactWebComponent<WCEmptyStateHeader, {}>;
|
|
12
12
|
export type EmptyStateHeaderProps = ComponentProps<typeof EmptyStateHeader>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { EmptyStateIllustration as WCEmptyStateIllustration } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const EmptyStateIllustration: import(
|
|
11
|
+
export declare const EmptyStateIllustration: import('@lit/react').ReactWebComponent<WCEmptyStateIllustration, {}>;
|
|
12
12
|
export type EmptyStateIllustrationProps = ComponentProps<typeof EmptyStateIllustration>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { EmptyStateMessage as WCEmptyStateMessage } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const EmptyStateMessage: import(
|
|
11
|
+
export declare const EmptyStateMessage: import('@lit/react').ReactWebComponent<WCEmptyStateMessage, {}>;
|
|
12
12
|
export type EmptyStateMessageProps = ComponentProps<typeof EmptyStateMessage>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Field as WCField } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,9 +8,9 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Field: import(
|
|
12
|
-
Label: import(
|
|
13
|
-
Hint: import(
|
|
11
|
+
declare const Field: import('@lit/react').ReactWebComponent<WCField, {}> & {
|
|
12
|
+
Label: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').FieldLabel, {}>;
|
|
13
|
+
Hint: import('react').ForwardRefExoticComponent<Omit<import('./FieldHint').FieldHintProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').FieldHint>>;
|
|
14
14
|
};
|
|
15
15
|
export type FieldProps = ComponentProps<typeof Field>;
|
|
16
16
|
export default Field;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { FieldHint as WCFieldHint } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,9 +8,9 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const WiredFieldHint: import(
|
|
11
|
+
declare const WiredFieldHint: import('@lit/react').ReactWebComponent<WCFieldHint, {}>;
|
|
12
12
|
export interface FieldHintProps extends Omit<ComponentProps<typeof WiredFieldHint>, 'slot'> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
export declare const FieldHint: import(
|
|
15
|
+
export declare const FieldHint: import('react').ForwardRefExoticComponent<Omit<FieldHintProps, "ref"> & import('react').RefAttributes<WCFieldHint>>;
|
|
16
16
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { FieldLabel as WCFieldLabel } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const FieldLabel: import(
|
|
11
|
+
export declare const FieldLabel: import('@lit/react').ReactWebComponent<WCFieldLabel, {}>;
|
|
12
12
|
export type FieldLabelProps = ComponentProps<typeof FieldLabel>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Header as WCHeader } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,11 +8,14 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const Header: import(
|
|
12
|
-
Actions: import(
|
|
13
|
-
Content: import(
|
|
14
|
-
Title: import(
|
|
15
|
-
SubHeader: import(
|
|
16
|
-
BackButton: import(
|
|
11
|
+
export declare const Header: import('@lit/react').ReactWebComponent<WCHeader, {}> & {
|
|
12
|
+
Actions: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').HeaderActions, {}>;
|
|
13
|
+
Content: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').HeaderContent, {}>;
|
|
14
|
+
Title: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').HeaderTitle, {}>;
|
|
15
|
+
SubHeader: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').SubHeader, {}>;
|
|
16
|
+
BackButton: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').BackButton, {}>;
|
|
17
|
+
Tabs: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').HeaderTabs, {
|
|
18
|
+
onTabChange: import('@lit/react').EventName<CustomEvent<import('@loadsmart/miranda-wc').TabChangeEventDetail>>;
|
|
19
|
+
}>;
|
|
17
20
|
};
|
|
18
21
|
export type HeaderProps = ComponentProps<typeof Header>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { HeaderActions as WCHeaderActions } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const HeaderActions: import(
|
|
11
|
+
export declare const HeaderActions: import('@lit/react').ReactWebComponent<WCHeaderActions, {}>;
|
|
12
12
|
export type HeaderActionsProps = ComponentProps<typeof HeaderActions>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { WebComponentProps } from '@lit/react';
|
|
2
2
|
import { BackButton as WCBackButton } from '@loadsmart/miranda-wc';
|
|
3
3
|
declare global {
|
|
4
4
|
namespace JSX {
|
|
@@ -7,4 +7,4 @@ declare global {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare const HeaderBackButton: import(
|
|
10
|
+
export declare const HeaderBackButton: import('@lit/react').ReactWebComponent<WCBackButton, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { HeaderContent as WCHeaderContent } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const HeaderContent: import(
|
|
11
|
+
export declare const HeaderContent: import('@lit/react').ReactWebComponent<WCHeaderContent, {}>;
|
|
12
12
|
export type HeaderContentProps = ComponentProps<typeof HeaderContent>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { TabChangeEventDetail, HeaderTabs as WCHeaderTabs } from '@loadsmart/miranda-wc';
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface IntrinsicElements {
|
|
7
|
+
'm-header-tabs': WebComponentProps<WCHeaderTabs>;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare const HeaderTabs: import('@lit/react').ReactWebComponent<WCHeaderTabs, {
|
|
12
|
+
onTabChange: EventName<CustomEvent<TabChangeEventDetail>>;
|
|
13
|
+
}>;
|
|
14
|
+
export type HeaderTabsProps = ComponentProps<typeof HeaderTabs>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { HeaderTitle as WCHeaderTitle } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,5 +8,5 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const HeaderTitle: import(
|
|
11
|
+
export declare const HeaderTitle: import('@lit/react').ReactWebComponent<WCHeaderTitle, {}>;
|
|
12
12
|
export type HeaderTitleProps = ComponentProps<typeof HeaderTitle>;
|