@loadsmart/miranda-react 3.0.0-beta.6 → 3.0.0-beta.60
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 +2 -1
- package/dist/index.js +1220 -1121
- 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 } from '@lit/react';
|
|
3
3
|
import { SubHeader as WCSubHeader } 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 SubHeader: import(
|
|
11
|
+
export declare const SubHeader: import('@lit/react').ReactWebComponent<WCSubHeader, {}>;
|
|
12
12
|
export type SubHeaderProps = ComponentProps<typeof SubHeader>;
|
|
@@ -6,3 +6,5 @@ export { SubHeader } from './SubHeader';
|
|
|
6
6
|
export type { SubHeaderProps } from './SubHeader';
|
|
7
7
|
export { HeaderTitle } from './HeaderTitle';
|
|
8
8
|
export type { HeaderTitleProps } from './HeaderTitle';
|
|
9
|
+
export { HeaderTabs } from './HeaderTabs';
|
|
10
|
+
export type { HeaderTabsProps } from './HeaderTabs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Icon as WCIcon } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -14,6 +14,6 @@ declare module 'react' {
|
|
|
14
14
|
'--m-icon-color'?: string;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
declare const Icon: import(
|
|
17
|
+
declare const Icon: import('@lit/react').ReactWebComponent<WCIcon, {}>;
|
|
18
18
|
export type IconProps = ComponentProps<typeof Icon>;
|
|
19
19
|
export default Icon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Label as WCLabel } 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 Label: import(
|
|
11
|
+
export declare const Label: import('@lit/react').ReactWebComponent<WCLabel, {}>;
|
|
12
12
|
export type LabelProps = ComponentProps<typeof Label>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { LabeledValue as WCLabeledValue, LabeledValueLabel as WCLabeledValueLabel, LabeledValueValue as WCLabeledValueValue } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,18 +8,18 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
export declare const LabeledValueLabel: import(
|
|
12
|
-
export declare const LabeledValueValue: import(
|
|
13
|
-
declare const WiredLabeledValue: import(
|
|
14
|
-
Label: import(
|
|
15
|
-
Value: import(
|
|
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
16
|
};
|
|
17
17
|
export type LabeledValueProps = Omit<ComponentProps<typeof WiredLabeledValue>, 'label' | 'value'> & {
|
|
18
18
|
label?: ReactNode;
|
|
19
19
|
value?: ReactNode;
|
|
20
20
|
};
|
|
21
|
-
export declare const LabeledValue: import(
|
|
22
|
-
Label: import(
|
|
23
|
-
Value: import(
|
|
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
24
|
};
|
|
25
25
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Box as WCBox } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Box: import(
|
|
11
|
+
declare const Box: import('@lit/react').ReactWebComponent<WCBox, {}>;
|
|
12
12
|
export type BoxProps = ComponentProps<typeof Box>;
|
|
13
13
|
export default Box;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Grid as WCGrid } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Grid: import(
|
|
11
|
+
declare const Grid: import('@lit/react').ReactWebComponent<WCGrid, {}>;
|
|
12
12
|
export type GridProps = ComponentProps<typeof Grid>;
|
|
13
13
|
export default Grid;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Group as WCGroup } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Group: import(
|
|
11
|
+
declare const Group: import('@lit/react').ReactWebComponent<WCGroup, {}>;
|
|
12
12
|
export type GroupProps = ComponentProps<typeof Group>;
|
|
13
13
|
export default Group;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const Layout: {
|
|
2
2
|
(): null;
|
|
3
|
-
Box: import(
|
|
4
|
-
Group: import(
|
|
5
|
-
Stack: import(
|
|
6
|
-
Grid: import(
|
|
7
|
-
Sidebar: import(
|
|
8
|
-
Side: import(
|
|
9
|
-
Content: import(
|
|
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
10
|
};
|
|
11
|
-
Switcher: import(
|
|
12
|
-
Container: import(
|
|
13
|
-
Row: import(
|
|
14
|
-
Column: import(
|
|
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
15
|
};
|
|
16
16
|
export default Layout;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Container as WCContainer, Row as WCRow, Column as WCColumn } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -10,9 +10,9 @@ declare global {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
export declare const Container: import(
|
|
14
|
-
export declare const Row: import(
|
|
15
|
-
export declare const Column: import(
|
|
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
16
|
export type ContainerProps = ComponentProps<typeof Container>;
|
|
17
17
|
export type RowProps = ComponentProps<typeof Row>;
|
|
18
18
|
export type ColumnProps = ComponentProps<typeof Column>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import type { BoxProps } from './Box';
|
|
1
|
+
import { WebComponentProps } from '@lit/react';
|
|
2
|
+
import { Box as WCBox, Sidebar as WCSidebar } from '@loadsmart/miranda-wc';
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
|
+
import { BoxProps } from './Box';
|
|
6
5
|
declare global {
|
|
7
6
|
namespace JSX {
|
|
8
7
|
interface IntrinsicElements {
|
|
@@ -12,9 +11,9 @@ declare global {
|
|
|
12
11
|
}
|
|
13
12
|
export type SidebarSideProps = Omit<BoxProps, 'slot'>;
|
|
14
13
|
export type SidebarContentProps = Omit<BoxProps, 'slot'>;
|
|
15
|
-
declare const Sidebar: import(
|
|
16
|
-
Side: import(
|
|
17
|
-
Content: import(
|
|
14
|
+
declare const Sidebar: import('@lit/react').ReactWebComponent<WCSidebar, {}> & {
|
|
15
|
+
Side: import('react').ForwardRefExoticComponent<Omit<SidebarSideProps, "ref"> & import('react').RefAttributes<WCBox>>;
|
|
16
|
+
Content: import('react').ForwardRefExoticComponent<Omit<SidebarContentProps, "ref"> & import('react').RefAttributes<WCBox>>;
|
|
18
17
|
};
|
|
19
18
|
export type SidebarProps = ComponentProps<typeof Sidebar>;
|
|
20
19
|
export default Sidebar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Stack as WCStack } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Stack: import(
|
|
11
|
+
declare const Stack: import('@lit/react').ReactWebComponent<WCStack, {}>;
|
|
12
12
|
export type StackProps = ComponentProps<typeof Stack>;
|
|
13
13
|
export default Stack;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Switcher as WCSwitcher } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const Switcher: import(
|
|
11
|
+
declare const Switcher: import('@lit/react').ReactWebComponent<WCSwitcher, {}>;
|
|
12
12
|
export type SwitcherProps = ComponentProps<typeof Switcher>;
|
|
13
13
|
export default Switcher;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Link as WCLink } from '@loadsmart/miranda-wc';
|
|
4
|
-
|
|
4
|
+
export type { LinkReferrerPolicy, LinkSize, LinkTarget, } from '@loadsmart/miranda-wc';
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
@@ -9,6 +9,5 @@ declare global {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
export declare const Link: import(
|
|
12
|
+
export declare const Link: import('@lit/react').ReactWebComponent<WCLink, {}>;
|
|
13
13
|
export type LinkProps = ComponentProps<typeof Link>;
|
|
14
|
-
export type { LinkReferrerPolicy, LinkSize, LinkTarget };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Link } from './Link';
|
|
2
|
-
export type { LinkReferrerPolicy, LinkSize, LinkTarget } from './Link';
|
|
2
|
+
export type { LinkReferrerPolicy, LinkSize, LinkTarget, LinkProps, } from './Link';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { WebComponentProps } from '@lit/react';
|
|
2
2
|
import { LogoLoader as WCLogoLoader } from '@loadsmart/miranda-wc';
|
|
3
|
-
import
|
|
3
|
+
import { ComponentProps } from 'react';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
6
6
|
interface IntrinsicElements {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const LogoLoader: import(
|
|
11
|
+
declare const LogoLoader: import('@lit/react').ReactWebComponent<WCLogoLoader, {}>;
|
|
12
12
|
export type LogoLoaderProps = ComponentProps<typeof LogoLoader>;
|
|
13
13
|
export default LogoLoader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Body as WCBody } 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 Body: import(
|
|
11
|
+
export declare const Body: import('@lit/react').ReactWebComponent<WCBody, {}>;
|
|
12
12
|
export type BodyProps = ComponentProps<typeof Body>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { WebComponentProps } from '@lit/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
3
|
import { PageContent as WCPageContent } 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 PageContent: import(
|
|
12
|
-
Body: import(
|
|
11
|
+
export declare const PageContent: import('@lit/react').ReactWebComponent<WCPageContent, {}> & {
|
|
12
|
+
Body: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').Body, {}>;
|
|
13
13
|
};
|
|
14
14
|
export type PageContentProps = ComponentProps<typeof PageContent>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Pagination as WCPagination } from '@loadsmart/miranda-wc';
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { PaginationChangeEventDetails, Pagination as WCPagination } from '@loadsmart/miranda-wc';
|
|
5
4
|
declare global {
|
|
6
5
|
namespace JSX {
|
|
7
6
|
interface IntrinsicElements {
|
|
@@ -9,7 +8,7 @@ declare global {
|
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
declare const Pagination: import(
|
|
11
|
+
declare const Pagination: import('@lit/react').ReactWebComponent<WCPagination, {
|
|
13
12
|
onChange: EventName<CustomEvent<PaginationChangeEventDetails>>;
|
|
14
13
|
}>;
|
|
15
14
|
export type PaginationProps = ComponentProps<typeof Pagination>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { ProgressBar as WCProgressBar } from '@loadsmart/miranda-wc';
|
|
4
|
-
import type { ProgressBarVariant as WCProgressBarVariant } from '@loadsmart/miranda-wc';
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
|
+
import { ProgressBar as WCProgressBar, ProgressBarVariant as WCProgressBarVariant } from '@loadsmart/miranda-wc';
|
|
5
4
|
export type ProgressBarVariant = WCProgressBarVariant;
|
|
6
5
|
declare global {
|
|
7
6
|
namespace JSX {
|
|
@@ -10,6 +9,6 @@ declare global {
|
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
11
|
}
|
|
13
|
-
declare const ProgressBar: import(
|
|
12
|
+
declare const ProgressBar: import('@lit/react').ReactWebComponent<WCProgressBar, {}>;
|
|
14
13
|
export type ProgressBarProps = ComponentProps<typeof ProgressBar>;
|
|
15
14
|
export default ProgressBar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { ProgressBarCountdown as WCProgressBarCountdown } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const ProgressBarCountdown: import(
|
|
11
|
+
declare const ProgressBarCountdown: import('@lit/react').ReactWebComponent<WCProgressBarCountdown, {}>;
|
|
12
12
|
export type ProgressBarCountdownProps = ComponentProps<typeof ProgressBarCountdown>;
|
|
13
13
|
export default ProgressBarCountdown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Radio as WCRadio } 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 WiredRadio: import(
|
|
11
|
+
declare const WiredRadio: import('@lit/react').ReactWebComponent<WCRadio, {}>;
|
|
12
12
|
export type RadioProps = ComponentProps<typeof WiredRadio> & {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
declare const Radio: import(
|
|
15
|
+
declare const Radio: import('react').ForwardRefExoticComponent<Omit<RadioProps, "ref"> & import('react').RefAttributes<WCRadio>>;
|
|
16
16
|
export default Radio;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioGroup as WCRadioGroup } from '@loadsmart/miranda-wc';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
4
|
+
import { MirandaChangeEvent } from '../../utils/types';
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
@@ -9,10 +9,10 @@ declare global {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
declare const RadioGroup: import(
|
|
12
|
+
declare const RadioGroup: import('@lit/react').ReactWebComponent<WCRadioGroup, {
|
|
13
13
|
onChange: EventName<MirandaChangeEvent<WCRadioGroup>>;
|
|
14
14
|
}> & {
|
|
15
|
-
Radio: import(
|
|
15
|
+
Radio: import('react').ForwardRefExoticComponent<Omit<import('./Radio').RadioProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').Radio>>;
|
|
16
16
|
};
|
|
17
17
|
export type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
18
18
|
export default RadioGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Section as WCSection } 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
|
-
declare const Section: import(
|
|
12
|
-
Title: import(
|
|
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
13
|
};
|
|
14
14
|
export type SectionProps = ComponentProps<typeof Section>;
|
|
15
15
|
export default Section;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { SectionTitle as WCSectionTitle } 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 WiredSectionTitle: import(
|
|
11
|
+
declare const WiredSectionTitle: import('@lit/react').ReactWebComponent<WCSectionTitle, {}>;
|
|
12
12
|
export type SectionTitleProps = Omit<ComponentProps<typeof WiredSectionTitle>, 'slot'> & {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export declare const SectionTitle: import(
|
|
15
|
+
export declare const SectionTitle: import('react').ForwardRefExoticComponent<Omit<SectionTitleProps, "ref"> & import('react').RefAttributes<WCSectionTitle>>;
|
|
16
16
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Select as WCSelect } from '@loadsmart/miranda-wc';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { ReactNode, ComponentProps } from 'react';
|
|
4
|
+
import { MirandaChangeEvent } from '../../utils/types';
|
|
5
5
|
declare global {
|
|
6
6
|
namespace JSX {
|
|
7
7
|
interface IntrinsicElements {
|
|
@@ -9,9 +9,9 @@ declare global {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
declare const WiredSelect: import(
|
|
13
|
-
onExpand: EventName<CustomEvent
|
|
14
|
-
onCollapse: EventName<CustomEvent
|
|
12
|
+
declare const WiredSelect: import('@lit/react').ReactWebComponent<WCSelect, {
|
|
13
|
+
onExpand: EventName<CustomEvent>;
|
|
14
|
+
onCollapse: EventName<CustomEvent>;
|
|
15
15
|
onChange: EventName<MirandaChangeEvent<WCSelect>>;
|
|
16
16
|
}>;
|
|
17
17
|
export type SelectOption = {
|
|
@@ -24,7 +24,7 @@ export type SelectOption = {
|
|
|
24
24
|
export type SelectProps = ComponentProps<typeof WiredSelect> & {
|
|
25
25
|
options?: SelectOption[];
|
|
26
26
|
};
|
|
27
|
-
export declare function Select(props: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function Select(props: SelectProps): import("react/jsx-dev-runtime").JSX.Element;
|
|
28
28
|
export declare namespace Select {
|
|
29
29
|
var Option: import("react").ForwardRefExoticComponent<Omit<import("./SelectOption").SelectOptionProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").SelectOption>>;
|
|
30
30
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { SelectOption as WCSelectOption } 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 WiredSelectOption: import(
|
|
12
|
-
export interface SelectOptionProps extends ComponentProps<typeof WiredSelectOption> {
|
|
11
|
+
export declare const WiredSelectOption: import('@lit/react').ReactWebComponent<WCSelectOption, {}>;
|
|
12
|
+
export interface SelectOptionProps extends Omit<ComponentProps<typeof WiredSelectOption>, 'leading' | 'trailing'> {
|
|
13
13
|
leading?: ReactNode;
|
|
14
14
|
trailing?: ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare const SelectOption: import(
|
|
16
|
+
export declare const SelectOption: import('react').ForwardRefExoticComponent<Omit<SelectOptionProps, "ref"> & import('react').RefAttributes<WCSelectOption>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Select } from './Select';
|
|
2
|
-
export type { SelectProps } from './Select';
|
|
2
|
+
export type { SelectProps, SelectOption } from './Select';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { SpinnerWheel as WCSpinnerWheel } from '@loadsmart/miranda-wc';
|
|
4
4
|
declare global {
|
|
5
5
|
namespace JSX {
|
|
@@ -8,6 +8,6 @@ declare global {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare const SpinnerWheel: import(
|
|
11
|
+
declare const SpinnerWheel: import('@lit/react').ReactWebComponent<WCSpinnerWheel, {}>;
|
|
12
12
|
export type SpinnerWheelProps = ComponentProps<typeof SpinnerWheel>;
|
|
13
13
|
export default SpinnerWheel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { WebComponentProps } from '@lit/react';
|
|
3
3
|
import { Step as WCStep } 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 Step: import(
|
|
11
|
+
export declare const Step: import('@lit/react').ReactWebComponent<WCStep, {}>;
|
|
12
12
|
export type StepProps = ComponentProps<typeof Step>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Steps as WCSteps } from '@loadsmart/miranda-wc';
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { EventName, WebComponentProps } from '@lit/react';
|
|
3
|
+
import { StepChangeEventDetail, StepNavigateEventDetail, Steps as WCSteps } from '@loadsmart/miranda-wc';
|
|
5
4
|
declare global {
|
|
6
5
|
namespace JSX {
|
|
7
6
|
interface IntrinsicElements {
|
|
@@ -9,13 +8,13 @@ declare global {
|
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
10
|
}
|
|
12
|
-
export declare const Steps: import(
|
|
11
|
+
export declare const Steps: import('@lit/react').ReactWebComponent<WCSteps, {
|
|
13
12
|
onChange: EventName<CustomEvent<StepChangeEventDetail>>;
|
|
14
|
-
onComplete: EventName<CustomEvent
|
|
13
|
+
onComplete: EventName<CustomEvent>;
|
|
15
14
|
onNavigate: EventName<CustomEvent<StepNavigateEventDetail>>;
|
|
16
|
-
onNext: EventName<CustomEvent
|
|
17
|
-
onPrevious: EventName<CustomEvent
|
|
15
|
+
onNext: EventName<CustomEvent>;
|
|
16
|
+
onPrevious: EventName<CustomEvent>;
|
|
18
17
|
}> & {
|
|
19
|
-
Step: import(
|
|
18
|
+
Step: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').Step, {}>;
|
|
20
19
|
};
|
|
21
20
|
export type StepsProps = ComponentProps<typeof Steps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { LiteralUnion } from '../../utils/types';
|
|
2
2
|
export declare function createCustomEvent<T>(eventName: string, detail?: T): CustomEvent<T>;
|
|
3
3
|
export declare function useSteps(): {
|
|
4
4
|
elementRef: HTMLElement | null;
|
|
5
5
|
registerSteps: () => {
|
|
6
6
|
ref(element: HTMLElement | null): void;
|
|
7
7
|
};
|
|
8
|
-
navigateToStep: (step: LiteralUnion<
|
|
8
|
+
navigateToStep: (step: LiteralUnion<"previous" | "next", string>) => void;
|
|
9
9
|
completeStep: () => void;
|
|
10
10
|
};
|