@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.
Files changed (135) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +6 -7
  2. package/dist/components/Accordion/AccordionContent.d.ts +2 -2
  3. package/dist/components/Accordion/AccordionTitle.d.ts +4 -4
  4. package/dist/components/Badge/Badge.d.ts +3 -3
  5. package/dist/components/Banner/Banner.d.ts +10 -10
  6. package/dist/components/Banner/BannerActionPrimary.d.ts +4 -4
  7. package/dist/components/Banner/BannerActionSecondary.d.ts +4 -4
  8. package/dist/components/Banner/BannerActions.d.ts +3 -3
  9. package/dist/components/Banner/BannerDescription.d.ts +3 -3
  10. package/dist/components/Banner/BannerIcon.d.ts +3 -3
  11. package/dist/components/Banner/BannerTitle.d.ts +3 -3
  12. package/dist/components/Button/Button.d.ts +4 -4
  13. package/dist/components/Card/Card.d.ts +12 -13
  14. package/dist/components/Card/CardActionPrimary.d.ts +4 -4
  15. package/dist/components/Card/CardActionSecondary.d.ts +4 -4
  16. package/dist/components/Card/CardActionTertiary.d.ts +4 -4
  17. package/dist/components/Card/CardBody.d.ts +3 -3
  18. package/dist/components/Card/CardDivider.d.ts +3 -3
  19. package/dist/components/Card/CardFooter.d.ts +3 -3
  20. package/dist/components/Card/CardSubtitle.d.ts +3 -3
  21. package/dist/components/Card/CardTitle.d.ts +4 -4
  22. package/dist/components/Checkbox/Checkbox.d.ts +5 -5
  23. package/dist/components/Dialog/Dialog.d.ts +17 -17
  24. package/dist/components/Dialog/DialogActionPrimary.d.ts +4 -4
  25. package/dist/components/Dialog/DialogActionSecondary.d.ts +4 -4
  26. package/dist/components/Dialog/DialogActionTertiary.d.ts +4 -4
  27. package/dist/components/Dialog/DialogActions.d.ts +3 -3
  28. package/dist/components/Dialog/DialogBody.d.ts +3 -3
  29. package/dist/components/Dialog/DialogClose.d.ts +4 -4
  30. package/dist/components/Dialog/DialogFooter.d.ts +3 -3
  31. package/dist/components/Dialog/DialogHeader.d.ts +3 -3
  32. package/dist/components/Divider/Divider.d.ts +3 -3
  33. package/dist/components/DotsLoader/DotsLoader.d.ts +13 -0
  34. package/dist/components/DotsLoader/index.d.ts +2 -0
  35. package/dist/components/Drawer/Drawer.d.ts +16 -19
  36. package/dist/components/Drawer/DrawerActionPrimary.d.ts +4 -4
  37. package/dist/components/Drawer/DrawerActionSecondary.d.ts +4 -4
  38. package/dist/components/Drawer/DrawerActionTertiary.d.ts +4 -4
  39. package/dist/components/Drawer/DrawerActions.d.ts +3 -3
  40. package/dist/components/Drawer/DrawerBody.d.ts +3 -3
  41. package/dist/components/Drawer/DrawerClose.d.ts +4 -4
  42. package/dist/components/Drawer/DrawerHeader.d.ts +3 -3
  43. package/dist/components/Dropdown/Dropdown.d.ts +8 -8
  44. package/dist/components/Dropdown/DropdownItem.d.ts +4 -4
  45. package/dist/components/Dropdown/DropdownMenu.d.ts +3 -3
  46. package/dist/components/Dropdown/DropdownTrigger.d.ts +4 -4
  47. package/dist/components/EmptyState/EmptyState.d.ts +8 -8
  48. package/dist/components/EmptyState/EmptyStateAction.d.ts +4 -4
  49. package/dist/components/EmptyState/EmptyStateHeader.d.ts +3 -3
  50. package/dist/components/EmptyState/EmptyStateIllustration.d.ts +3 -3
  51. package/dist/components/EmptyState/EmptyStateMessage.d.ts +3 -3
  52. package/dist/components/Field/Field.d.ts +5 -5
  53. package/dist/components/Field/FieldHint.d.ts +4 -4
  54. package/dist/components/Field/FieldLabel.d.ts +3 -3
  55. package/dist/components/Header/Header.d.ts +11 -8
  56. package/dist/components/Header/HeaderActions.d.ts +3 -3
  57. package/dist/components/Header/HeaderBackButton.d.ts +2 -2
  58. package/dist/components/Header/HeaderContent.d.ts +3 -3
  59. package/dist/components/Header/HeaderTabs.d.ts +14 -0
  60. package/dist/components/Header/HeaderTitle.d.ts +3 -3
  61. package/dist/components/Header/SubHeader.d.ts +3 -3
  62. package/dist/components/Header/index.d.ts +2 -0
  63. package/dist/components/Icon/Icon.d.ts +3 -3
  64. package/dist/components/Label/Label.d.ts +3 -3
  65. package/dist/components/LabeledValue/LabeledValue.d.ts +10 -10
  66. package/dist/components/Layout/Box.d.ts +3 -3
  67. package/dist/components/Layout/Grid.d.ts +3 -3
  68. package/dist/components/Layout/Group.d.ts +3 -3
  69. package/dist/components/Layout/Layout.d.ts +11 -11
  70. package/dist/components/Layout/Row.d.ts +5 -5
  71. package/dist/components/Layout/Sidebar.d.ts +7 -8
  72. package/dist/components/Layout/Stack.d.ts +3 -3
  73. package/dist/components/Layout/Switcher.d.ts +3 -3
  74. package/dist/components/Link/Link.d.ts +4 -5
  75. package/dist/components/Link/index.d.ts +1 -1
  76. package/dist/components/LogoLoader/LogoLoader.d.ts +3 -3
  77. package/dist/components/PageContent/Body.d.ts +3 -3
  78. package/dist/components/PageContent/PageContent.d.ts +4 -4
  79. package/dist/components/Pagination/Pagination.d.ts +4 -5
  80. package/dist/components/ProgressBar/ProgressBar.d.ts +4 -5
  81. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +3 -3
  82. package/dist/components/RadioGroup/Radio.d.ts +4 -4
  83. package/dist/components/RadioGroup/RadioGroup.d.ts +5 -5
  84. package/dist/components/Section/Section.d.ts +4 -4
  85. package/dist/components/Section/SectionTitle.d.ts +4 -4
  86. package/dist/components/Select/Select.d.ts +7 -7
  87. package/dist/components/Select/SelectOption.d.ts +5 -5
  88. package/dist/components/Select/index.d.ts +1 -1
  89. package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +3 -3
  90. package/dist/components/Steps/Step.d.ts +3 -3
  91. package/dist/components/Steps/Steps.d.ts +8 -9
  92. package/dist/components/Steps/useSteps.d.ts +2 -2
  93. package/dist/components/Switch/Switch.d.ts +4 -4
  94. package/dist/components/Table/Table.d.ts +17 -13
  95. package/dist/components/Table/TableActions.d.ts +3 -3
  96. package/dist/components/Table/TableBody.d.ts +3 -3
  97. package/dist/components/Table/TableCell.d.ts +3 -3
  98. package/dist/components/Table/TableFeedback.d.ts +3 -3
  99. package/dist/components/Table/TableFoot.d.ts +3 -3
  100. package/dist/components/Table/TableHead.d.ts +3 -3
  101. package/dist/components/Table/TableHeadCell.d.ts +4 -5
  102. package/dist/components/Table/TableRow.d.ts +3 -3
  103. package/dist/components/Table/TableSelectionCell.d.ts +12 -0
  104. package/dist/components/Table/TableToolbar.d.ts +3 -3
  105. package/dist/components/Table/index.d.ts +3 -1
  106. package/dist/components/Tabs/Tab.d.ts +4 -4
  107. package/dist/components/Tabs/TabPanel.d.ts +3 -3
  108. package/dist/components/Tabs/Tabs.d.ts +6 -7
  109. package/dist/components/Tag/ActionableTag.d.ts +6 -6
  110. package/dist/components/Tag/Tag.d.ts +4 -4
  111. package/dist/components/Text/Text.d.ts +3 -3
  112. package/dist/components/TextArea/TextArea.d.ts +6 -7
  113. package/dist/components/TextField/TextField.d.ts +8 -7
  114. package/dist/components/Timeline/Timeline.d.ts +11 -11
  115. package/dist/components/Timeline/TimelineExpandableItem.d.ts +3 -3
  116. package/dist/components/Timeline/TimelineItem.d.ts +3 -3
  117. package/dist/components/Timeline/TimelineItemBody.d.ts +3 -3
  118. package/dist/components/Timeline/TimelineItemFooter.d.ts +3 -3
  119. package/dist/components/Timeline/TimelineItemHeader.d.ts +3 -3
  120. package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +3 -3
  121. package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +3 -3
  122. package/dist/components/Timeline/TimelineItemIcon.d.ts +3 -3
  123. package/dist/components/ToggleGroup/Toggle.d.ts +4 -4
  124. package/dist/components/ToggleGroup/ToggleGroup.d.ts +33 -10
  125. package/dist/components/Tooltip/Tooltip.d.ts +13 -7
  126. package/dist/index.d.ts +3 -1
  127. package/dist/index.js +1225 -1124
  128. package/dist/tokens.d.ts +1 -1
  129. package/dist/tokens.js +2 -2
  130. package/dist/utils/createComponent.d.ts +3 -3
  131. package/dist/utils/types.d.ts +1 -1
  132. package/dist/utils/utils.d.ts +2 -2
  133. package/package.json +16 -13
  134. package/dist/tests/constants.d.ts +0 -12
  135. package/dist/tests/types.d.ts +0 -5
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps, EventName } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDialogClose, {
12
- onClose: EventName<CustomEvent<any>>;
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 type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDialogFooter, {}>;
11
+ export declare const DialogFooter: import('@lit/react').ReactWebComponent<WCDialogFooter, {}>;
12
12
  export type DialogFooterProps = ComponentProps<typeof DialogFooter>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDialogHeader, {}>;
11
+ export declare const DialogHeader: import('@lit/react').ReactWebComponent<WCDialogHeader, {}>;
12
12
  export type DialogHeaderProps = ComponentProps<typeof DialogHeader>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDivider, {}>;
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;
@@ -0,0 +1,2 @@
1
+ export { default as DotsLoader } from './DotsLoader';
2
+ export type { DotsLoaderProps } from './DotsLoader';
@@ -1,9 +1,6 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawer, {
15
- onClose: EventName<CustomEvent<any>>;
16
- onOpening: EventName<CustomEvent<any>>;
17
- onOpened: EventName<CustomEvent<any>>;
18
- onClosing: EventName<CustomEvent<any>>;
19
- onClosed: EventName<CustomEvent<any>>;
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: typeof DrawerActionPrimary;
22
- ActionSecondary: typeof DrawerActionSecondary;
23
- ActionTertiary: typeof DrawerActionTertiary;
24
- Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerActions, {}>;
25
- Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerBody, {}>;
26
- Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerClose, {
27
- onClose: EventName<CustomEvent<any>>;
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("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerHeader, {}>;
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 type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerActionPrimary, {}>;
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 function DrawerActionPrimary(props: DrawerActionPrimaryProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare const DrawerActionPrimary: import('react').ForwardRefExoticComponent<Omit<DrawerActionPrimaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionPrimary>>;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerActionSecondary, {}>;
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 function DrawerActionSecondary(props: DrawerActionSecondaryProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare const DrawerActionSecondary: import('react').ForwardRefExoticComponent<Omit<DrawerActionSecondaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionSecondary>>;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerActionTertiary, {}>;
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 function DrawerActionTertiary(props: DrawerActionTertiaryProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare const DrawerActionTertiary: import('react').ForwardRefExoticComponent<Omit<DrawerActionTertiaryProps, "ref"> & import('react').RefAttributes<WCDrawerActionTertiary>>;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerActions, {}>;
11
+ export declare const DrawerActions: import('@lit/react').ReactWebComponent<WCDrawerActions, {}>;
12
12
  export type DrawerActionsProps = ComponentProps<typeof DrawerActions>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerBody, {}>;
11
+ export declare const DrawerBody: import('@lit/react').ReactWebComponent<WCDrawerBody, {}>;
12
12
  export type DrawerBodyProps = ComponentProps<typeof DrawerBody>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps, EventName } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerClose, {
12
- onClose: EventName<CustomEvent<any>>;
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 type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDrawerHeader, {}>;
11
+ export declare const DrawerHeader: import('@lit/react').ReactWebComponent<WCDrawerHeader, {}>;
12
12
  export type DrawerHeaderProps = ComponentProps<typeof DrawerHeader>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDropdown, {
12
- onExpand: EventName<CustomEvent<any>>;
13
- onCollapse: EventName<CustomEvent<any>>;
11
+ export declare const Dropdown: import('@lit/react').ReactWebComponent<WCDropdown, {
12
+ onExpand: EventName<CustomEvent>;
13
+ onCollapse: EventName<CustomEvent>;
14
14
  }> & {
15
- Item: import("react").ForwardRefExoticComponent<Omit<import("./DropdownItem").DropdownItemProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DropdownItem>>;
16
- Menu: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DropdownMenu, {}>;
17
- Trigger: import("react").ForwardRefExoticComponent<Omit<import("./DropdownTrigger").DropdownTriggerProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DropdownTrigger>>;
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 type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDropdownItem, {}>;
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("react").ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & import("react").RefAttributes<WCDropdownItem>>;
16
+ export declare const DropdownItem: import('react').ForwardRefExoticComponent<Omit<DropdownItemProps, "ref"> & import('react').RefAttributes<WCDropdownItem>>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDropdownMenu, {}>;
11
+ export declare const DropdownMenu: import('@lit/react').ReactWebComponent<WCDropdownMenu, {}>;
12
12
  export type DropdownMenuProps = ComponentProps<typeof DropdownMenu>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCDropdownTrigger, {}>;
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("react").ForwardRefExoticComponent<Omit<DropdownTriggerProps, "ref"> & import("react").RefAttributes<WCDropdownTrigger>>;
15
+ export declare const DropdownTrigger: import('react').ForwardRefExoticComponent<Omit<DropdownTriggerProps, "ref"> & import('react').RefAttributes<WCDropdownTrigger>>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCEmptyState, {
12
- onAction: EventName<CustomEvent<any>>;
11
+ export declare const EmptyState: import('@lit/react').ReactWebComponent<WCEmptyState, {
12
+ onAction: EventName<CustomEvent>;
13
13
  }> & {
14
- Illustration: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateIllustration, {}>;
15
- Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateHeader, {}>;
16
- Message: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateMessage, {}>;
17
- Action: import("react").ForwardRefExoticComponent<Omit<import("./EmptyStateAction").EmptyStateActionProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").EmptyStateAction>>;
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 type { ReactNode, ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCEmptyStateAction, {}>;
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("react").ForwardRefExoticComponent<Omit<EmptyStateActionProps, "ref"> & import("react").RefAttributes<WCEmptyStateAction>>;
16
+ export declare const EmptyStateAction: import('react').ForwardRefExoticComponent<Omit<EmptyStateActionProps, "ref"> & import('react').RefAttributes<WCEmptyStateAction>>;
17
17
  export {};
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCEmptyStateHeader, {}>;
11
+ export declare const EmptyStateHeader: import('@lit/react').ReactWebComponent<WCEmptyStateHeader, {}>;
12
12
  export type EmptyStateHeaderProps = ComponentProps<typeof EmptyStateHeader>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCEmptyStateIllustration, {}>;
11
+ export declare const EmptyStateIllustration: import('@lit/react').ReactWebComponent<WCEmptyStateIllustration, {}>;
12
12
  export type EmptyStateIllustrationProps = ComponentProps<typeof EmptyStateIllustration>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCEmptyStateMessage, {}>;
11
+ export declare const EmptyStateMessage: import('@lit/react').ReactWebComponent<WCEmptyStateMessage, {}>;
12
12
  export type EmptyStateMessageProps = ComponentProps<typeof EmptyStateMessage>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@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>>;
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 type { ComponentProps, ReactNode } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCFieldHint, {}>;
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("react").ForwardRefExoticComponent<Omit<FieldHintProps, "ref"> & import("react").RefAttributes<WCFieldHint>>;
15
+ export declare const FieldHint: import('react').ForwardRefExoticComponent<Omit<FieldHintProps, "ref"> & import('react').RefAttributes<WCFieldHint>>;
16
16
  export {};
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCFieldLabel, {}>;
11
+ export declare const FieldLabel: import('@lit/react').ReactWebComponent<WCFieldLabel, {}>;
12
12
  export type FieldLabelProps = ComponentProps<typeof FieldLabel>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@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, {}>;
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 type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCHeaderActions, {}>;
11
+ export declare const HeaderActions: import('@lit/react').ReactWebComponent<WCHeaderActions, {}>;
12
12
  export type HeaderActionsProps = ComponentProps<typeof HeaderActions>;
@@ -1,4 +1,4 @@
1
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCBackButton, {}>;
10
+ export declare const HeaderBackButton: import('@lit/react').ReactWebComponent<WCBackButton, {}>;
@@ -1,5 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCHeaderContent, {}>;
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 type { ComponentProps } from 'react';
2
- import type { WebComponentProps } from '@lit/react';
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("@lit/react").ReactWebComponent<WCHeaderTitle, {}>;
11
+ export declare const HeaderTitle: import('@lit/react').ReactWebComponent<WCHeaderTitle, {}>;
12
12
  export type HeaderTitleProps = ComponentProps<typeof HeaderTitle>;