@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.
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 +2 -1
  127. package/dist/index.js +1220 -1121
  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,7 +1,7 @@
1
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';
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,7 +9,7 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- export declare const Switch: import("@lit/react").ReactWebComponent<WCSwitch, {
12
+ export declare const Switch: import('@lit/react').ReactWebComponent<WCSwitch, {
13
13
  onChange: EventName<MirandaChangeEvent<WCSwitch>>;
14
14
  }>;
15
15
  export type SwitchProps = ComponentProps<typeof Switch>;
@@ -1,6 +1,7 @@
1
1
  import { Table as WCTable } from '@loadsmart/miranda-wc';
2
- import type { WebComponentProps } from '@lit/react';
3
- import type { ComponentProps } from 'react';
2
+ import { EventName, WebComponentProps } from '@lit/react';
3
+ import { ComponentProps } from 'react';
4
+ import { TableSelectEventDetails } from '@loadsmart/miranda-wc/dist/components/table/table.types';
4
5
  declare global {
5
6
  namespace JSX {
6
7
  interface IntrinsicElements {
@@ -17,17 +18,20 @@ declare module 'react' {
17
18
  '--m-table-border-bottom-right-radius'?: string;
18
19
  }
19
20
  }
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>>;
21
+ export declare const Table: import('@lit/react').ReactWebComponent<WCTable, {
22
+ onSelect: EventName<CustomEvent<TableSelectEventDetails>>;
23
+ }> & {
24
+ Head: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableHead, {}>;
25
+ Body: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableBody, {}>;
26
+ Foot: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableFoot, {}>;
27
+ Row: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableRow, {}>;
28
+ HeadCell: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableHeadCell, {
29
+ onSort: EventName<CustomEvent<import('@loadsmart/miranda-wc').TableHeadCellSortEventDetails>>;
27
30
  }>;
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, {}>;
31
+ Cell: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableCell, {}>;
32
+ SelectionCell: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableSelectionCell, {}>;
33
+ Toolbar: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableToolbar, {}>;
34
+ Feedback: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableFeedback, {}>;
35
+ Actions: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TableActions, {}>;
32
36
  };
33
37
  export type TableProps = ComponentProps<typeof Table>;
@@ -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 { TableActions as WCTableActions } 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 TableActions: import("@lit/react").ReactWebComponent<WCTableActions, {}>;
11
+ export declare const TableActions: import('@lit/react').ReactWebComponent<WCTableActions, {}>;
12
12
  export type TableActionsProps = ComponentProps<typeof TableActions>;
@@ -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 { TableBody as WCTableBody } 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 TableBody: import("@lit/react").ReactWebComponent<WCTableBody, {}>;
11
+ export declare const TableBody: import('@lit/react').ReactWebComponent<WCTableBody, {}>;
12
12
  export type TableBodyProps = ComponentProps<typeof TableBody>;
@@ -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 { TableCell as WCTableCell } 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 TableCell: import("@lit/react").ReactWebComponent<WCTableCell, {}>;
11
+ export declare const TableCell: import('@lit/react').ReactWebComponent<WCTableCell, {}>;
12
12
  export type TableCellProps = ComponentProps<typeof TableCell>;
@@ -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 { TableFeedback as WCTableFeedback } 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 TableFeedback: import("@lit/react").ReactWebComponent<WCTableFeedback, {}>;
11
+ export declare const TableFeedback: import('@lit/react').ReactWebComponent<WCTableFeedback, {}>;
12
12
  export type TableFeedbackProps = ComponentProps<typeof TableFeedback>;
@@ -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 { TableFoot as WCTableFoot } 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 TableFoot: import("@lit/react").ReactWebComponent<WCTableFoot, {}>;
11
+ export declare const TableFoot: import('@lit/react').ReactWebComponent<WCTableFoot, {}>;
12
12
  export type TableFootProps = ComponentProps<typeof TableFoot>;
@@ -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 { TableHead as WCTableHead } 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 TableHead: import("@lit/react").ReactWebComponent<WCTableHead, {}>;
11
+ export declare const TableHead: import('@lit/react').ReactWebComponent<WCTableHead, {}>;
12
12
  export type TableHeadProps = ComponentProps<typeof TableHead>;
@@ -1,7 +1,6 @@
1
- import type { ComponentProps } from 'react';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import type { TableHeadCellSortEventDetails } from '@loadsmart/miranda-wc';
4
- import { TableHeadCell as WCTableHeadCell } from '@loadsmart/miranda-wc';
1
+ import { ComponentProps } from 'react';
2
+ import { EventName, WebComponentProps } from '@lit/react';
3
+ import { TableHeadCellSortEventDetails, TableHeadCell as WCTableHeadCell } 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
- export declare const TableHeadCell: import("@lit/react").ReactWebComponent<WCTableHeadCell, {
11
+ export declare const TableHeadCell: import('@lit/react').ReactWebComponent<WCTableHeadCell, {
13
12
  onSort: EventName<CustomEvent<TableHeadCellSortEventDetails>>;
14
13
  }>;
15
14
  export type TableHeadCellProps = ComponentProps<typeof TableHeadCell>;
@@ -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 { TableRow as WCTableRow } 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 TableRow: import("@lit/react").ReactWebComponent<WCTableRow, {}>;
11
+ export declare const TableRow: import('@lit/react').ReactWebComponent<WCTableRow, {}>;
12
12
  export type TableRowProps = ComponentProps<typeof TableRow>;
@@ -0,0 +1,12 @@
1
+ import { ComponentProps } from 'react';
2
+ import { WebComponentProps } from '@lit/react';
3
+ import { TableSelectionCell as WCTableSelectionCell } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-selection-cell': WebComponentProps<WCTableSelectionCell>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableSelectionCell: import('@lit/react').ReactWebComponent<WCTableSelectionCell, {}>;
12
+ export type TableSelectionCellProps = ComponentProps<typeof TableSelectionCell>;
@@ -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 { TableToolbar as WCTableToolbar } 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 TableToolbar: import("@lit/react").ReactWebComponent<WCTableToolbar, {}>;
11
+ export declare const TableToolbar: import('@lit/react').ReactWebComponent<WCTableToolbar, {}>;
12
12
  export type TableToolbarProps = ComponentProps<typeof TableToolbar>;
@@ -5,6 +5,7 @@ export { TableFoot } from './TableFoot';
5
5
  export { TableRow } from './TableRow';
6
6
  export { TableHeadCell } from './TableHeadCell';
7
7
  export { TableCell } from './TableCell';
8
+ export { TableSelectionCell } from './TableSelectionCell';
8
9
  export { TableToolbar } from './TableToolbar';
9
10
  export { TableFeedback } from './TableFeedback';
10
11
  export { TableActions } from './TableActions';
@@ -18,4 +19,5 @@ export type { TableCellProps } from './TableCell';
18
19
  export type { TableToolbarProps } from './TableToolbar';
19
20
  export type { TableFeedbackProps } from './TableFeedback';
20
21
  export type { TableActionsProps } from './TableActions';
21
- export type { TableSize, TableCellAlignment, TableSortDirection, TableHeadCellSortEventDetails, } from '@loadsmart/miranda-wc';
22
+ export type { TableSize, TableCellAlignment, TableSortDirection, TableHeadCellSortEventDetails, TableSelectEventDetails, } from '@loadsmart/miranda-wc';
23
+ export type { TableSelectionCellProps } from './TableSelectionCell';
@@ -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 { Tab as WCTab } 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 WiredTab: import("@lit/react").ReactWebComponent<WCTab, {}>;
11
+ declare const WiredTab: import('@lit/react').ReactWebComponent<WCTab, {}>;
12
12
  export interface TabProps extends ComponentProps<typeof WiredTab> {
13
13
  leading?: ReactNode;
14
14
  }
15
- declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps, "ref"> & import("react").RefAttributes<WCTab>>;
15
+ declare const Tab: import('react').ForwardRefExoticComponent<Omit<TabProps, "ref"> & import('react').RefAttributes<WCTab>>;
16
16
  export default Tab;
@@ -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 { TabPanel as WCTabPanel } 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 TabPanel: import("@lit/react").ReactWebComponent<WCTabPanel, {}>;
11
+ declare const TabPanel: import('@lit/react').ReactWebComponent<WCTabPanel, {}>;
12
12
  export type TabPanelProps = ComponentProps<typeof TabPanel>;
13
13
  export default TabPanel;
@@ -1,7 +1,6 @@
1
- import { Tabs as WCTabs } from '@loadsmart/miranda-wc';
2
- import type { EventName, WebComponentProps } from '@lit/react';
3
- import type { ComponentProps } from 'react';
4
- import type { TabChangeEventDetail } from '@loadsmart/miranda-wc';
1
+ import { Tabs as WCTabs, TabChangeEventDetail } from '@loadsmart/miranda-wc';
2
+ import { EventName, WebComponentProps } from '@lit/react';
3
+ import { ComponentProps } from 'react';
5
4
  declare global {
6
5
  namespace JSX {
7
6
  interface IntrinsicElements {
@@ -9,11 +8,11 @@ declare global {
9
8
  }
10
9
  }
11
10
  }
12
- declare const Tabs: import("@lit/react").ReactWebComponent<WCTabs, {
11
+ declare const Tabs: import('@lit/react').ReactWebComponent<WCTabs, {
13
12
  onTabChange: EventName<CustomEvent<TabChangeEventDetail>>;
14
13
  }> & {
15
- Tab: import("react").ForwardRefExoticComponent<Omit<import("./Tab").TabProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").Tab>>;
16
- Panel: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TabPanel, {}>;
14
+ Tab: import('react').ForwardRefExoticComponent<Omit<import('./Tab').TabProps, "ref"> & import('react').RefAttributes<import('@loadsmart/miranda-wc').Tab>>;
15
+ Panel: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TabPanel, {}>;
17
16
  };
18
17
  export type TabsProps = ComponentProps<typeof Tabs>;
19
18
  export default Tabs;
@@ -1,7 +1,7 @@
1
1
  import { ActionableTag as WCActionableTag } 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';
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,12 +9,12 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- declare const WiredActionableTag: import("@lit/react").ReactWebComponent<WCActionableTag, {
12
+ declare const WiredActionableTag: import('@lit/react').ReactWebComponent<WCActionableTag, {
13
13
  onChange: EventName<MirandaChangeEvent<WCActionableTag>>;
14
- onRemove: EventName<CustomEvent<any>>;
14
+ onRemove: EventName<CustomEvent>;
15
15
  }>;
16
16
  export type ActionableTagProps = ComponentProps<typeof WiredActionableTag> & {
17
17
  leading?: ReactNode;
18
18
  };
19
- declare const ActionableTag: import("react").ForwardRefExoticComponent<Omit<ActionableTagProps, "ref"> & import("react").RefAttributes<WCActionableTag>>;
19
+ declare const ActionableTag: import('react').ForwardRefExoticComponent<Omit<ActionableTagProps, "ref"> & import('react').RefAttributes<WCActionableTag>>;
20
20
  export default ActionableTag;
@@ -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 { Tag as WCTag } 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 WiredTag: import("@lit/react").ReactWebComponent<WCTag, {}>;
11
+ declare const WiredTag: import('@lit/react').ReactWebComponent<WCTag, {}>;
12
12
  export type TagProps = ComponentProps<typeof WiredTag> & {
13
13
  leading?: ReactNode;
14
14
  };
15
- declare const Tag: import("react").ForwardRefExoticComponent<Omit<TagProps, "ref"> & import("react").RefAttributes<WCTag>>;
15
+ declare const Tag: import('react').ForwardRefExoticComponent<Omit<TagProps, "ref"> & import('react').RefAttributes<WCTag>>;
16
16
  export default Tag;
@@ -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 { Text as WCText } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
@@ -14,6 +14,6 @@ declare module 'react' {
14
14
  '--m-text-max-width'?: string;
15
15
  }
16
16
  }
17
- declare const Text: import("@lit/react").ReactWebComponent<WCText, {}>;
17
+ declare const Text: import('@lit/react').ReactWebComponent<WCText, {}>;
18
18
  export type TextProps = ComponentProps<typeof Text>;
19
19
  export default Text;
@@ -1,8 +1,7 @@
1
- import { TextArea as WCTextArea } from '@loadsmart/miranda-wc';
2
- import type { ComponentProps } from 'react';
3
- import type { EventName, WebComponentProps } from '@lit/react';
4
- import type { TextAreaProps as WCTextAreaProps } from '@loadsmart/miranda-wc';
5
- import type { MirandaChangeEvent } from '../../utils/types';
1
+ import { TextArea as WCTextArea, TextAreaProps as WCTextAreaProps } from '@loadsmart/miranda-wc';
2
+ import { ComponentProps } from 'react';
3
+ import { EventName, WebComponentProps } from '@lit/react';
4
+ import { MirandaChangeEvent } from '../../utils/types';
6
5
  declare global {
7
6
  namespace JSX {
8
7
  interface IntrinsicElements {
@@ -10,10 +9,10 @@ declare global {
10
9
  }
11
10
  }
12
11
  }
13
- declare const WiredTextArea: import("@lit/react").ReactWebComponent<WCTextArea, {
12
+ declare const WiredTextArea: import('@lit/react').ReactWebComponent<WCTextArea, {
14
13
  onInput: EventName<MirandaChangeEvent<WCTextArea>>;
15
14
  onChange: EventName<MirandaChangeEvent<WCTextArea>>;
16
15
  }>;
17
16
  export type TextAreaProps = ComponentProps<typeof WiredTextArea>;
18
- declare function TextArea(props: TextAreaProps): import("react/jsx-runtime").JSX.Element;
17
+ declare function TextArea(props: TextAreaProps): import("react/jsx-dev-runtime").JSX.Element;
19
18
  export default TextArea;
@@ -1,7 +1,7 @@
1
1
  import { TextField as WCTextField } 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';
2
+ import { EventName, WebComponentProps } from '@lit/react';
3
+ import { ReactNode, ComponentProps, InputHTMLAttributes } from 'react';
4
+ import { MirandaChangeEvent } from '../../utils/types';
5
5
  declare global {
6
6
  namespace JSX {
7
7
  interface IntrinsicElements {
@@ -9,14 +9,15 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- declare const WiredTextField: import("@lit/react").ReactWebComponent<WCTextField, {
12
+ declare const WiredTextField: import('@lit/react').ReactWebComponent<WCTextField, {
13
13
  onInput: EventName<MirandaChangeEvent<WCTextField>>;
14
14
  onChange: EventName<MirandaChangeEvent<WCTextField>>;
15
- onClear: EventName<CustomEvent<any>>;
15
+ onClear: EventName<CustomEvent>;
16
16
  }>;
17
- export type TextFieldProps = ComponentProps<typeof WiredTextField> & {
17
+ export type TextFieldProps = Omit<ComponentProps<typeof WiredTextField>, 'value'> & {
18
+ value?: InputHTMLAttributes<HTMLInputElement>['value'];
18
19
  leading?: ReactNode;
19
20
  trailing?: ReactNode;
20
21
  };
21
- declare const TextField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & import("react").RefAttributes<WCTextField>>;
22
+ declare const TextField: import('react').ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & import('react').RefAttributes<WCTextField>>;
22
23
  export default TextField;
@@ -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 { Timeline as WCTimeline } from '@loadsmart/miranda-wc';
4
4
  declare global {
5
5
  namespace JSX {
@@ -8,15 +8,15 @@ declare global {
8
8
  }
9
9
  }
10
10
  }
11
- export declare const Timeline: import("@lit/react").ReactWebComponent<WCTimeline, {}> & {
12
- Item: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItem, {}>;
13
- ExpandableItem: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineExpandableItem, {}>;
14
- ItemBody: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemBody, {}>;
15
- ItemFooter: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemFooter, {}>;
16
- ItemHeader: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemHeader, {}>;
17
- ItemHeaderTitle: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemHeaderTitle, {}>;
18
- ItemHeaderSubtitle: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemHeaderSubtitle, {}>;
19
- ItemIcon: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TimelineItemIcon, {}>;
11
+ export declare const Timeline: import('@lit/react').ReactWebComponent<WCTimeline, {}> & {
12
+ Item: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItem, {}>;
13
+ ExpandableItem: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineExpandableItem, {}>;
14
+ ItemBody: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemBody, {}>;
15
+ ItemFooter: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemFooter, {}>;
16
+ ItemHeader: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemHeader, {}>;
17
+ ItemHeaderTitle: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemHeaderTitle, {}>;
18
+ ItemHeaderSubtitle: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemHeaderSubtitle, {}>;
19
+ ItemIcon: import('@lit/react').ReactWebComponent<import('@loadsmart/miranda-wc').TimelineItemIcon, {}>;
20
20
  };
21
21
  export type TimelineProps = ComponentProps<typeof Timeline>;
22
22
  export type { TimelineItemProps } from './TimelineItem';
@@ -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 { TimelineExpandableItem as WCTimelineExpandableItem } 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 TimelineExpandableItem: import("@lit/react").ReactWebComponent<WCTimelineExpandableItem, {}>;
11
+ export declare const TimelineExpandableItem: import('@lit/react').ReactWebComponent<WCTimelineExpandableItem, {}>;
12
12
  export type TimelineExpandableItemProps = ComponentProps<typeof TimelineExpandableItem>;
@@ -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 { TimelineItem as WCTimelineItem } 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 TimelineItem: import("@lit/react").ReactWebComponent<WCTimelineItem, {}>;
11
+ export declare const TimelineItem: import('@lit/react').ReactWebComponent<WCTimelineItem, {}>;
12
12
  export type TimelineItemProps = ComponentProps<typeof TimelineItem>;
@@ -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 { TimelineItemBody as WCTimelineItemBody } 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 TimelineItemBody: import("@lit/react").ReactWebComponent<WCTimelineItemBody, {}>;
11
+ export declare const TimelineItemBody: import('@lit/react').ReactWebComponent<WCTimelineItemBody, {}>;
12
12
  export type TimelineItemBodyProps = ComponentProps<typeof TimelineItemBody>;
@@ -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 { TimelineItemFooter as WCTimelineItemFooter } 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 TimelineItemFooter: import("@lit/react").ReactWebComponent<WCTimelineItemFooter, {}>;
11
+ export declare const TimelineItemFooter: import('@lit/react').ReactWebComponent<WCTimelineItemFooter, {}>;
12
12
  export type TimelineItemFooterProps = ComponentProps<typeof TimelineItemFooter>;
@@ -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 { TimelineItemHeader as WCTimelineItemHeader } 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 TimelineItemHeader: import("@lit/react").ReactWebComponent<WCTimelineItemHeader, {}>;
11
+ export declare const TimelineItemHeader: import('@lit/react').ReactWebComponent<WCTimelineItemHeader, {}>;
12
12
  export type TimelineItemHeaderProps = ComponentProps<typeof TimelineItemHeader>;
@@ -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 { TimelineItemHeaderSubtitle as WCTimelineItemHeaderSubtitle } 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 TimelineItemHeaderSubtitle: import("@lit/react").ReactWebComponent<WCTimelineItemHeaderSubtitle, {}>;
11
+ export declare const TimelineItemHeaderSubtitle: import('@lit/react').ReactWebComponent<WCTimelineItemHeaderSubtitle, {}>;
12
12
  export type TimelineItemHeaderSubtitleProps = ComponentProps<typeof TimelineItemHeaderSubtitle>;
@@ -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 { TimelineItemHeaderTitle as WCTimelineItemHeaderTitle } 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 TimelineItemHeaderTitle: import("@lit/react").ReactWebComponent<WCTimelineItemHeaderTitle, {}>;
11
+ export declare const TimelineItemHeaderTitle: import('@lit/react').ReactWebComponent<WCTimelineItemHeaderTitle, {}>;
12
12
  export type TimelineItemHeaderTitleProps = ComponentProps<typeof TimelineItemHeaderTitle>;
@@ -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 { TimelineItemIcon as WCTimelineItemIcon } 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 TimelineItemIcon: import("@lit/react").ReactWebComponent<WCTimelineItemIcon, {}>;
11
+ export declare const TimelineItemIcon: import('@lit/react').ReactWebComponent<WCTimelineItemIcon, {}>;
12
12
  export type TimelineItemIconProps = ComponentProps<typeof TimelineItemIcon>;
@@ -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 { Toggle as WCToggle } 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 WiredToggle: import("@lit/react").ReactWebComponent<WCToggle, {}>;
11
+ declare const WiredToggle: import('@lit/react').ReactWebComponent<WCToggle, {}>;
12
12
  export type ToggleProps = ComponentProps<typeof WiredToggle> & {
13
13
  leading?: ReactNode;
14
14
  };
15
- declare const Toggle: import("react").ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & import("react").RefAttributes<WCToggle>>;
15
+ declare const Toggle: import('react').ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & import('react').RefAttributes<WCToggle>>;
16
16
  export default Toggle;