@loadsmart/miranda-react 3.0.0-beta.9 → 3.0.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/index.d.ts +1663 -107
- package/dist/index.js +1345 -1166
- package/dist/tokens.d.ts +76 -2
- package/dist/tokens.js +2 -2
- package/package.json +20 -13
- package/dist/components/Accordion/Accordion.d.ts +0 -19
- package/dist/components/Accordion/AccordionContent.d.ts +0 -10
- package/dist/components/Accordion/AccordionTitle.d.ts +0 -16
- package/dist/components/Accordion/index.d.ts +0 -2
- package/dist/components/Badge/Badge.d.ts +0 -12
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Banner/Banner.d.ts +0 -22
- package/dist/components/Banner/BannerActionPrimary.d.ts +0 -17
- package/dist/components/Banner/BannerActionSecondary.d.ts +0 -17
- package/dist/components/Banner/BannerActions.d.ts +0 -12
- package/dist/components/Banner/BannerDescription.d.ts +0 -12
- package/dist/components/Banner/BannerIcon.d.ts +0 -12
- package/dist/components/Banner/BannerTitle.d.ts +0 -12
- package/dist/components/Banner/index.d.ts +0 -2
- package/dist/components/Button/Button.d.ts +0 -17
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Card/Card.d.ts +0 -35
- package/dist/components/Card/CardActionPrimary.d.ts +0 -17
- package/dist/components/Card/CardActionSecondary.d.ts +0 -17
- package/dist/components/Card/CardActionTertiary.d.ts +0 -17
- package/dist/components/Card/CardBody.d.ts +0 -12
- package/dist/components/Card/CardDivider.d.ts +0 -12
- package/dist/components/Card/CardFooter.d.ts +0 -12
- package/dist/components/Card/CardSubtitle.d.ts +0 -12
- package/dist/components/Card/CardTitle.d.ts +0 -16
- package/dist/components/Card/index.d.ts +0 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -19
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Dialog/Dialog.d.ts +0 -37
- package/dist/components/Dialog/DialogActionPrimary.d.ts +0 -17
- package/dist/components/Dialog/DialogActionSecondary.d.ts +0 -17
- package/dist/components/Dialog/DialogActionTertiary.d.ts +0 -17
- package/dist/components/Dialog/DialogActions.d.ts +0 -12
- package/dist/components/Dialog/DialogBody.d.ts +0 -12
- package/dist/components/Dialog/DialogClose.d.ts +0 -14
- package/dist/components/Dialog/DialogFooter.d.ts +0 -12
- package/dist/components/Dialog/DialogHeader.d.ts +0 -12
- package/dist/components/Dialog/index.d.ts +0 -4
- package/dist/components/Divider/Divider.d.ts +0 -19
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/Drawer/Drawer.d.ts +0 -38
- package/dist/components/Drawer/DrawerActionPrimary.d.ts +0 -17
- package/dist/components/Drawer/DrawerActionSecondary.d.ts +0 -17
- package/dist/components/Drawer/DrawerActionTertiary.d.ts +0 -17
- package/dist/components/Drawer/DrawerActions.d.ts +0 -12
- package/dist/components/Drawer/DrawerBody.d.ts +0 -12
- package/dist/components/Drawer/DrawerClose.d.ts +0 -14
- package/dist/components/Drawer/DrawerHeader.d.ts +0 -12
- package/dist/components/Drawer/index.d.ts +0 -4
- package/dist/components/Dropdown/Dropdown.d.ts +0 -22
- package/dist/components/Dropdown/DropdownItem.d.ts +0 -16
- package/dist/components/Dropdown/DropdownMenu.d.ts +0 -12
- package/dist/components/Dropdown/DropdownTrigger.d.ts +0 -15
- package/dist/components/Dropdown/index.d.ts +0 -5
- package/dist/components/EmptyState/EmptyState.d.ts +0 -23
- package/dist/components/EmptyState/EmptyStateAction.d.ts +0 -17
- package/dist/components/EmptyState/EmptyStateHeader.d.ts +0 -12
- package/dist/components/EmptyState/EmptyStateIllustration.d.ts +0 -12
- package/dist/components/EmptyState/EmptyStateMessage.d.ts +0 -12
- package/dist/components/EmptyState/index.d.ts +0 -4
- package/dist/components/Field/Field.d.ts +0 -16
- package/dist/components/Field/FieldHint.d.ts +0 -16
- package/dist/components/Field/FieldLabel.d.ts +0 -12
- package/dist/components/Field/index.d.ts +0 -2
- package/dist/components/Header/Header.d.ts +0 -18
- package/dist/components/Header/HeaderActions.d.ts +0 -12
- package/dist/components/Header/HeaderBackButton.d.ts +0 -10
- package/dist/components/Header/HeaderContent.d.ts +0 -12
- package/dist/components/Header/HeaderTitle.d.ts +0 -12
- package/dist/components/Header/SubHeader.d.ts +0 -12
- package/dist/components/Header/index.d.ts +0 -8
- package/dist/components/Icon/Icon.d.ts +0 -19
- package/dist/components/Icon/index.d.ts +0 -2
- package/dist/components/Label/Label.d.ts +0 -12
- package/dist/components/LabeledValue/LabeledValue.d.ts +0 -25
- package/dist/components/LabeledValue/index.d.ts +0 -1
- package/dist/components/Layout/Box.d.ts +0 -13
- package/dist/components/Layout/Grid.d.ts +0 -13
- package/dist/components/Layout/Group.d.ts +0 -13
- package/dist/components/Layout/Layout.d.ts +0 -16
- package/dist/components/Layout/Row.d.ts +0 -18
- package/dist/components/Layout/Sidebar.d.ts +0 -20
- package/dist/components/Layout/Stack.d.ts +0 -13
- package/dist/components/Layout/Switcher.d.ts +0 -13
- package/dist/components/Layout/index.d.ts +0 -9
- package/dist/components/Link/Link.d.ts +0 -14
- package/dist/components/Link/index.d.ts +0 -2
- package/dist/components/LogoLoader/LogoLoader.d.ts +0 -13
- package/dist/components/LogoLoader/index.d.ts +0 -2
- package/dist/components/PageContent/Body.d.ts +0 -12
- package/dist/components/PageContent/PageContent.d.ts +0 -14
- package/dist/components/PageContent/index.d.ts +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -16
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -15
- package/dist/components/ProgressBar/index.d.ts +0 -2
- package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +0 -13
- package/dist/components/ProgressBarCountdown/index.d.ts +0 -2
- package/dist/components/RadioGroup/Radio.d.ts +0 -16
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -18
- package/dist/components/RadioGroup/index.d.ts +0 -4
- package/dist/components/Section/Section.d.ts +0 -15
- package/dist/components/Section/SectionTitle.d.ts +0 -16
- package/dist/components/Section/index.d.ts +0 -2
- package/dist/components/Select/Select.d.ts +0 -31
- package/dist/components/Select/SelectOption.d.ts +0 -16
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +0 -13
- package/dist/components/SpinnerWheel/index.d.ts +0 -2
- package/dist/components/Steps/Step.d.ts +0 -12
- package/dist/components/Steps/Steps.d.ts +0 -21
- package/dist/components/Steps/index.d.ts +0 -5
- package/dist/components/Steps/useSteps.d.ts +0 -10
- package/dist/components/Switch/Switch.d.ts +0 -15
- package/dist/components/Switch/index.d.ts +0 -2
- package/dist/components/Table/Table.d.ts +0 -33
- package/dist/components/Table/TableActions.d.ts +0 -12
- package/dist/components/Table/TableBody.d.ts +0 -12
- package/dist/components/Table/TableCell.d.ts +0 -12
- package/dist/components/Table/TableFeedback.d.ts +0 -12
- package/dist/components/Table/TableFoot.d.ts +0 -12
- package/dist/components/Table/TableHead.d.ts +0 -12
- package/dist/components/Table/TableHeadCell.d.ts +0 -15
- package/dist/components/Table/TableRow.d.ts +0 -12
- package/dist/components/Table/TableToolbar.d.ts +0 -12
- package/dist/components/Table/index.d.ts +0 -21
- package/dist/components/Tabs/Tab.d.ts +0 -16
- package/dist/components/Tabs/TabPanel.d.ts +0 -13
- package/dist/components/Tabs/Tabs.d.ts +0 -19
- package/dist/components/Tabs/index.d.ts +0 -7
- package/dist/components/Tag/ActionableTag.d.ts +0 -20
- package/dist/components/Tag/Tag.d.ts +0 -16
- package/dist/components/Tag/index.d.ts +0 -4
- package/dist/components/Text/Text.d.ts +0 -19
- package/dist/components/Text/index.d.ts +0 -2
- package/dist/components/TextArea/TextArea.d.ts +0 -19
- package/dist/components/TextArea/index.d.ts +0 -2
- package/dist/components/TextField/TextField.d.ts +0 -22
- package/dist/components/TextField/index.d.ts +0 -2
- package/dist/components/Timeline/Timeline.d.ts +0 -22
- package/dist/components/Timeline/TimelineExpandableItem.d.ts +0 -12
- package/dist/components/Timeline/TimelineItem.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemBody.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemFooter.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemHeader.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +0 -12
- package/dist/components/Timeline/TimelineItemIcon.d.ts +0 -12
- package/dist/components/Timeline/index.d.ts +0 -10
- package/dist/components/ToggleGroup/Toggle.d.ts +0 -16
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +0 -28
- package/dist/components/ToggleGroup/index.d.ts +0 -4
- package/dist/components/Tooltip/Tooltip.d.ts +0 -24
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/tests/constants.d.ts +0 -12
- package/dist/tests/types.d.ts +0 -5
- package/dist/utils/createComponent.d.ts +0 -6
- package/dist/utils/types.d.ts +0 -15
- package/dist/utils/utils.d.ts +0 -5
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Label as WCLabel } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-label': WebComponentProps<WCLabel>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const Label: import("@lit/react").ReactWebComponent<WCLabel, {}>;
|
|
12
|
-
export type LabelProps = ComponentProps<typeof Label>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { LabeledValue as WCLabeledValue, LabeledValueLabel as WCLabeledValueLabel, LabeledValueValue as WCLabeledValueValue } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-labeled-value': WebComponentProps<WCLabeledValue>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const LabeledValueLabel: import("@lit/react").ReactWebComponent<WCLabeledValueLabel, {}>;
|
|
12
|
-
export declare const LabeledValueValue: import("@lit/react").ReactWebComponent<WCLabeledValueValue, {}>;
|
|
13
|
-
declare const WiredLabeledValue: import("@lit/react").ReactWebComponent<WCLabeledValue, {}> & {
|
|
14
|
-
Label: import("@lit/react").ReactWebComponent<WCLabeledValueLabel, {}>;
|
|
15
|
-
Value: import("@lit/react").ReactWebComponent<WCLabeledValueValue, {}>;
|
|
16
|
-
};
|
|
17
|
-
export type LabeledValueProps = Omit<ComponentProps<typeof WiredLabeledValue>, 'label' | 'value'> & {
|
|
18
|
-
label?: ReactNode;
|
|
19
|
-
value?: ReactNode;
|
|
20
|
-
};
|
|
21
|
-
export declare const LabeledValue: import("react").ForwardRefExoticComponent<Omit<LabeledValueProps, "ref"> & import("react").RefAttributes<WCLabeledValue>> & {
|
|
22
|
-
Label: import("@lit/react").ReactWebComponent<WCLabeledValueLabel, {}>;
|
|
23
|
-
Value: import("@lit/react").ReactWebComponent<WCLabeledValueValue, {}>;
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LabeledValue';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Box as WCBox } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-box': WebComponentProps<WCBox>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Box: import("@lit/react").ReactWebComponent<WCBox, {}>;
|
|
12
|
-
export type BoxProps = ComponentProps<typeof Box>;
|
|
13
|
-
export default Box;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Grid as WCGrid } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-grid': WebComponentProps<WCGrid>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Grid: import("@lit/react").ReactWebComponent<WCGrid, {}>;
|
|
12
|
-
export type GridProps = ComponentProps<typeof Grid>;
|
|
13
|
-
export default Grid;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Group as WCGroup } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-group': WebComponentProps<WCGroup>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Group: import("@lit/react").ReactWebComponent<WCGroup, {}>;
|
|
12
|
-
export type GroupProps = ComponentProps<typeof Group>;
|
|
13
|
-
export default Group;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const Layout: {
|
|
2
|
-
(): null;
|
|
3
|
-
Box: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Box, {}>;
|
|
4
|
-
Group: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Group, {}>;
|
|
5
|
-
Stack: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Stack, {}>;
|
|
6
|
-
Grid: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Grid, {}>;
|
|
7
|
-
Sidebar: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Sidebar, {}> & {
|
|
8
|
-
Side: import("react").ForwardRefExoticComponent<Omit<import("./Sidebar").SidebarSideProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").Box>>;
|
|
9
|
-
Content: import("react").ForwardRefExoticComponent<Omit<import("./Sidebar").SidebarContentProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").Box>>;
|
|
10
|
-
};
|
|
11
|
-
Switcher: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Switcher, {}>;
|
|
12
|
-
Container: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Container, {}>;
|
|
13
|
-
Row: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Row, {}>;
|
|
14
|
-
Column: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Column, {}>;
|
|
15
|
-
};
|
|
16
|
-
export default Layout;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Container as WCContainer, Row as WCRow, Column as WCColumn } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-container': WebComponentProps<WCContainer>;
|
|
8
|
-
'm-row': WebComponentProps<WCRow>;
|
|
9
|
-
'm-column': WebComponentProps<WCColumn>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare const Container: import("@lit/react").ReactWebComponent<WCContainer, {}>;
|
|
14
|
-
export declare const Row: import("@lit/react").ReactWebComponent<WCRow, {}>;
|
|
15
|
-
export declare const Column: import("@lit/react").ReactWebComponent<WCColumn, {}>;
|
|
16
|
-
export type ContainerProps = ComponentProps<typeof Container>;
|
|
17
|
-
export type RowProps = ComponentProps<typeof Row>;
|
|
18
|
-
export type ColumnProps = ComponentProps<typeof Column>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { WebComponentProps } from '@lit/react';
|
|
2
|
-
import type { Box as WCBox } from '@loadsmart/miranda-wc';
|
|
3
|
-
import { Sidebar as WCSidebar } from '@loadsmart/miranda-wc';
|
|
4
|
-
import type { ComponentProps } from 'react';
|
|
5
|
-
import type { BoxProps } from './Box';
|
|
6
|
-
declare global {
|
|
7
|
-
namespace JSX {
|
|
8
|
-
interface IntrinsicElements {
|
|
9
|
-
'm-sidebar': WebComponentProps<WCSidebar>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export type SidebarSideProps = Omit<BoxProps, 'slot'>;
|
|
14
|
-
export type SidebarContentProps = Omit<BoxProps, 'slot'>;
|
|
15
|
-
declare const Sidebar: import("@lit/react").ReactWebComponent<WCSidebar, {}> & {
|
|
16
|
-
Side: import("react").ForwardRefExoticComponent<Omit<SidebarSideProps, "ref"> & import("react").RefAttributes<WCBox>>;
|
|
17
|
-
Content: import("react").ForwardRefExoticComponent<Omit<SidebarContentProps, "ref"> & import("react").RefAttributes<WCBox>>;
|
|
18
|
-
};
|
|
19
|
-
export type SidebarProps = ComponentProps<typeof Sidebar>;
|
|
20
|
-
export default Sidebar;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Stack as WCStack } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-stack': WebComponentProps<WCStack>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Stack: import("@lit/react").ReactWebComponent<WCStack, {}>;
|
|
12
|
-
export type StackProps = ComponentProps<typeof Stack>;
|
|
13
|
-
export default Stack;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Switcher as WCSwitcher } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-switcher': WebComponentProps<WCSwitcher>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Switcher: import("@lit/react").ReactWebComponent<WCSwitcher, {}>;
|
|
12
|
-
export type SwitcherProps = ComponentProps<typeof Switcher>;
|
|
13
|
-
export default Switcher;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { default as Layout } from './Layout';
|
|
2
|
-
export { default as Box, type BoxProps } from './Box';
|
|
3
|
-
export { default as Group, type GroupProps } from './Group';
|
|
4
|
-
export { default as Stack, type StackProps } from './Stack';
|
|
5
|
-
export { default as Grid, type GridProps } from './Grid';
|
|
6
|
-
export { default as Sidebar, type SidebarProps, type SidebarSideProps, type SidebarContentProps, } from './Sidebar';
|
|
7
|
-
export { default as Switcher, type SwitcherProps } from './Switcher';
|
|
8
|
-
export { Row, Column, Container } from './Row';
|
|
9
|
-
export type { RowProps, ColumnProps, ContainerProps } from './Row';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Link as WCLink } from '@loadsmart/miranda-wc';
|
|
4
|
-
import type { LinkReferrerPolicy, LinkSize, LinkTarget } from '@loadsmart/miranda-wc';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-link': WebComponentProps<WCLink>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const Link: import("@lit/react").ReactWebComponent<WCLink, {}>;
|
|
13
|
-
export type LinkProps = ComponentProps<typeof Link>;
|
|
14
|
-
export type { LinkReferrerPolicy, LinkSize, LinkTarget };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { WebComponentProps } from '@lit/react';
|
|
2
|
-
import { LogoLoader as WCLogoLoader } from '@loadsmart/miranda-wc';
|
|
3
|
-
import type { ComponentProps } from 'react';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-logo-loader': WebComponentProps<WCLogoLoader>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const LogoLoader: import("@lit/react").ReactWebComponent<WCLogoLoader, {}>;
|
|
12
|
-
export type LogoLoaderProps = ComponentProps<typeof LogoLoader>;
|
|
13
|
-
export default LogoLoader;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Body as WCBody } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-body': WebComponentProps<WCBody>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const Body: import("@lit/react").ReactWebComponent<WCBody, {}>;
|
|
12
|
-
export type BodyProps = ComponentProps<typeof Body>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { WebComponentProps } from '@lit/react';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
import { PageContent as WCPageContent } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-page-content': WebComponentProps<WCPageContent>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const PageContent: import("@lit/react").ReactWebComponent<WCPageContent, {}> & {
|
|
12
|
-
Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Body, {}>;
|
|
13
|
-
};
|
|
14
|
-
export type PageContentProps = ComponentProps<typeof PageContent>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PageContent } from './PageContent';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
-
import type { PaginationChangeEventDetails } from '@loadsmart/miranda-wc';
|
|
4
|
-
import { Pagination as WCPagination } from '@loadsmart/miranda-wc';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-pagination': WebComponentProps<WCPagination>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
declare const Pagination: import("@lit/react").ReactWebComponent<WCPagination, {
|
|
13
|
-
onChange: EventName<CustomEvent<PaginationChangeEventDetails>>;
|
|
14
|
-
}>;
|
|
15
|
-
export type PaginationProps = ComponentProps<typeof Pagination>;
|
|
16
|
-
export default Pagination;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { ProgressBar as WCProgressBar } from '@loadsmart/miranda-wc';
|
|
4
|
-
import type { ProgressBarVariant as WCProgressBarVariant } from '@loadsmart/miranda-wc';
|
|
5
|
-
export type ProgressBarVariant = WCProgressBarVariant;
|
|
6
|
-
declare global {
|
|
7
|
-
namespace JSX {
|
|
8
|
-
interface IntrinsicElements {
|
|
9
|
-
'm-progress-bar': WebComponentProps<WCProgressBar>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
declare const ProgressBar: import("@lit/react").ReactWebComponent<WCProgressBar, {}>;
|
|
14
|
-
export type ProgressBarProps = ComponentProps<typeof ProgressBar>;
|
|
15
|
-
export default ProgressBar;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { ProgressBarCountdown as WCProgressBarCountdown } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-progress-bar-countdown': WebComponentProps<WCProgressBarCountdown>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const ProgressBarCountdown: import("@lit/react").ReactWebComponent<WCProgressBarCountdown, {}>;
|
|
12
|
-
export type ProgressBarCountdownProps = ComponentProps<typeof ProgressBarCountdown>;
|
|
13
|
-
export default ProgressBarCountdown;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Radio as WCRadio } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-radio': WebComponentProps<WCRadio> & RadioProps;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const WiredRadio: import("@lit/react").ReactWebComponent<WCRadio, {}>;
|
|
12
|
-
export type RadioProps = ComponentProps<typeof WiredRadio> & {
|
|
13
|
-
leading?: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
declare const Radio: import("react").ForwardRefExoticComponent<Omit<RadioProps, "ref"> & import("react").RefAttributes<WCRadio>>;
|
|
16
|
-
export default Radio;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RadioGroup as WCRadioGroup } from '@loadsmart/miranda-wc';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
import type { EventName, WebComponentProps } from '@lit/react';
|
|
4
|
-
import type { MirandaChangeEvent } from '../../utils/types';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-radio-group': WebComponentProps<WCRadioGroup>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
declare const RadioGroup: import("@lit/react").ReactWebComponent<WCRadioGroup, {
|
|
13
|
-
onChange: EventName<MirandaChangeEvent<WCRadioGroup>>;
|
|
14
|
-
}> & {
|
|
15
|
-
Radio: import("react").ForwardRefExoticComponent<Omit<import("./Radio").RadioProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").Radio>>;
|
|
16
|
-
};
|
|
17
|
-
export type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
18
|
-
export default RadioGroup;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Section as WCSection } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-section': WebComponentProps<WCSection>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Section: import("@lit/react").ReactWebComponent<WCSection, {}> & {
|
|
12
|
-
Title: import("react").ForwardRefExoticComponent<Omit<import("./SectionTitle").SectionTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").SectionTitle>>;
|
|
13
|
-
};
|
|
14
|
-
export type SectionProps = ComponentProps<typeof Section>;
|
|
15
|
-
export default Section;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { SectionTitle as WCSectionTitle } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-section-title': WebComponentProps<WCSectionTitle>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const WiredSectionTitle: import("@lit/react").ReactWebComponent<WCSectionTitle, {}>;
|
|
12
|
-
export type SectionTitleProps = Omit<ComponentProps<typeof WiredSectionTitle>, 'slot'> & {
|
|
13
|
-
leading?: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
export declare const SectionTitle: import("react").ForwardRefExoticComponent<Omit<SectionTitleProps, "ref"> & import("react").RefAttributes<WCSectionTitle>>;
|
|
16
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Select as WCSelect } from '@loadsmart/miranda-wc';
|
|
2
|
-
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
-
import type { ReactNode, ComponentProps } from 'react';
|
|
4
|
-
import type { MirandaChangeEvent } from '../../utils/types';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-select': WebComponentProps<WCSelect>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
declare const WiredSelect: import("@lit/react").ReactWebComponent<WCSelect, {
|
|
13
|
-
onExpand: EventName<CustomEvent<any>>;
|
|
14
|
-
onCollapse: EventName<CustomEvent<any>>;
|
|
15
|
-
onChange: EventName<MirandaChangeEvent<WCSelect>>;
|
|
16
|
-
}>;
|
|
17
|
-
export type SelectOption = {
|
|
18
|
-
value: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
leading?: ReactNode;
|
|
21
|
-
trailing?: ReactNode;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
};
|
|
24
|
-
export type SelectProps = ComponentProps<typeof WiredSelect> & {
|
|
25
|
-
options?: SelectOption[];
|
|
26
|
-
};
|
|
27
|
-
export declare function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export declare namespace Select {
|
|
29
|
-
var Option: import("react").ForwardRefExoticComponent<Omit<import("./SelectOption").SelectOptionProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").SelectOption>>;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { SelectOption as WCSelectOption } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-option': WebComponentProps<WCSelectOption>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const WiredSelectOption: import("@lit/react").ReactWebComponent<WCSelectOption, {}>;
|
|
12
|
-
export interface SelectOptionProps extends ComponentProps<typeof WiredSelectOption> {
|
|
13
|
-
leading?: ReactNode;
|
|
14
|
-
trailing?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const SelectOption: import("react").ForwardRefExoticComponent<Omit<SelectOptionProps, "ref"> & import("react").RefAttributes<WCSelectOption>>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { SpinnerWheel as WCSpinnerWheel } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-spinner-wheel': WebComponentProps<WCSpinnerWheel>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const SpinnerWheel: import("@lit/react").ReactWebComponent<WCSpinnerWheel, {}>;
|
|
12
|
-
export type SpinnerWheelProps = ComponentProps<typeof SpinnerWheel>;
|
|
13
|
-
export default SpinnerWheel;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { Step as WCStep } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-step': WebComponentProps<WCStep>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const Step: import("@lit/react").ReactWebComponent<WCStep, {}>;
|
|
12
|
-
export type StepProps = ComponentProps<typeof Step>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
-
import type { StepChangeEventDetail, StepNavigateEventDetail } from '@loadsmart/miranda-wc';
|
|
4
|
-
import { Steps as WCSteps } from '@loadsmart/miranda-wc';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-steps': WebComponentProps<WCSteps>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const Steps: import("@lit/react").ReactWebComponent<WCSteps, {
|
|
13
|
-
onChange: EventName<CustomEvent<StepChangeEventDetail>>;
|
|
14
|
-
onComplete: EventName<CustomEvent<any>>;
|
|
15
|
-
onNavigate: EventName<CustomEvent<StepNavigateEventDetail>>;
|
|
16
|
-
onNext: EventName<CustomEvent<any>>;
|
|
17
|
-
onPrevious: EventName<CustomEvent<any>>;
|
|
18
|
-
}> & {
|
|
19
|
-
Step: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Step, {}>;
|
|
20
|
-
};
|
|
21
|
-
export type StepsProps = ComponentProps<typeof Steps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LiteralUnion } from '../../utils/types';
|
|
2
|
-
export declare function createCustomEvent<T>(eventName: string, detail?: T): CustomEvent<T>;
|
|
3
|
-
export declare function useSteps(): {
|
|
4
|
-
elementRef: HTMLElement | null;
|
|
5
|
-
registerSteps: () => {
|
|
6
|
-
ref(element: HTMLElement | null): void;
|
|
7
|
-
};
|
|
8
|
-
navigateToStep: (step: LiteralUnion<'previous' | 'next', string>) => void;
|
|
9
|
-
completeStep: () => void;
|
|
10
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Switch as WCSwitch } from '@loadsmart/miranda-wc';
|
|
2
|
-
import type { ComponentProps } from 'react';
|
|
3
|
-
import type { EventName, WebComponentProps } from '@lit/react';
|
|
4
|
-
import type { MirandaChangeEvent } from '../../utils/types';
|
|
5
|
-
declare global {
|
|
6
|
-
namespace JSX {
|
|
7
|
-
interface IntrinsicElements {
|
|
8
|
-
'm-switch': WebComponentProps<WCSwitch>;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export declare const Switch: import("@lit/react").ReactWebComponent<WCSwitch, {
|
|
13
|
-
onChange: EventName<MirandaChangeEvent<WCSwitch>>;
|
|
14
|
-
}>;
|
|
15
|
-
export type SwitchProps = ComponentProps<typeof Switch>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Table as WCTable } from '@loadsmart/miranda-wc';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import type { ComponentProps } from 'react';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-table': WebComponentProps<HTMLElement>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare module 'react' {
|
|
12
|
-
interface CSSProperties {
|
|
13
|
-
'--m-table-border-radius'?: string;
|
|
14
|
-
'--m-table-border-top-left-radius'?: string;
|
|
15
|
-
'--m-table-border-top-right-radius'?: string;
|
|
16
|
-
'--m-table-border-bottom-left-radius'?: string;
|
|
17
|
-
'--m-table-border-bottom-right-radius'?: string;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export declare const Table: import("@lit/react").ReactWebComponent<WCTable, {}> & {
|
|
21
|
-
Head: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableHead, {}>;
|
|
22
|
-
Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableBody, {}>;
|
|
23
|
-
Foot: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableFoot, {}>;
|
|
24
|
-
Row: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableRow, {}>;
|
|
25
|
-
HeadCell: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableHeadCell, {
|
|
26
|
-
onSort: import("@lit/react").EventName<CustomEvent<import("@loadsmart/miranda-wc").TableHeadCellSortEventDetails>>;
|
|
27
|
-
}>;
|
|
28
|
-
Cell: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableCell, {}>;
|
|
29
|
-
Toolbar: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableToolbar, {}>;
|
|
30
|
-
Feedback: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableFeedback, {}>;
|
|
31
|
-
Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableActions, {}>;
|
|
32
|
-
};
|
|
33
|
-
export type TableProps = ComponentProps<typeof Table>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { TableActions as WCTableActions } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-table-actions': WebComponentProps<WCTableActions>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const TableActions: import("@lit/react").ReactWebComponent<WCTableActions, {}>;
|
|
12
|
-
export type TableActionsProps = ComponentProps<typeof TableActions>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { TableBody as WCTableBody } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-table-body': WebComponentProps<WCTableBody>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const TableBody: import("@lit/react").ReactWebComponent<WCTableBody, {}>;
|
|
12
|
-
export type TableBodyProps = ComponentProps<typeof TableBody>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from 'react';
|
|
2
|
-
import type { WebComponentProps } from '@lit/react';
|
|
3
|
-
import { TableCell as WCTableCell } from '@loadsmart/miranda-wc';
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'm-table-cell': WebComponentProps<WCTableCell>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const TableCell: import("@lit/react").ReactWebComponent<WCTableCell, {}>;
|
|
12
|
-
export type TableCellProps = ComponentProps<typeof TableCell>;
|