@loadsmart/miranda-react 2.0.1 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +19 -0
  2. package/dist/components/Accordion/AccordionContent.d.ts +10 -0
  3. package/dist/components/Accordion/AccordionTitle.d.ts +16 -0
  4. package/dist/components/Accordion/index.d.ts +2 -0
  5. package/dist/components/Badge/Badge.d.ts +12 -0
  6. package/dist/components/Badge/index.d.ts +2 -0
  7. package/dist/components/Banner/Banner.d.ts +14 -24
  8. package/dist/components/Banner/BannerActionPrimary.d.ts +10 -10
  9. package/dist/components/Banner/BannerActionSecondary.d.ts +10 -10
  10. package/dist/components/Banner/BannerActions.d.ts +6 -11
  11. package/dist/components/Banner/BannerDescription.d.ts +6 -11
  12. package/dist/components/Banner/BannerIcon.d.ts +6 -11
  13. package/dist/components/Banner/BannerTitle.d.ts +6 -11
  14. package/dist/components/Banner/index.d.ts +0 -1
  15. package/dist/components/Button/Button.d.ts +9 -9
  16. package/dist/components/Button/index.d.ts +0 -1
  17. package/dist/components/Card/Card.d.ts +28 -16
  18. package/dist/components/Card/CardActionPrimary.d.ts +17 -0
  19. package/dist/components/Card/CardActionSecondary.d.ts +17 -0
  20. package/dist/components/Card/CardActionTertiary.d.ts +17 -0
  21. package/dist/components/Card/CardBody.d.ts +6 -6
  22. package/dist/components/Card/CardDivider.d.ts +6 -7
  23. package/dist/components/Card/CardFooter.d.ts +12 -0
  24. package/dist/components/Card/CardSubtitle.d.ts +6 -6
  25. package/dist/components/Card/CardTitle.d.ts +10 -8
  26. package/dist/components/Card/index.d.ts +0 -1
  27. package/dist/components/Checkbox/Checkbox.d.ts +10 -11
  28. package/dist/components/Checkbox/index.d.ts +0 -1
  29. package/dist/components/Dialog/Dialog.d.ts +30 -54
  30. package/dist/components/Dialog/DialogActionPrimary.d.ts +10 -10
  31. package/dist/components/Dialog/DialogActionSecondary.d.ts +10 -10
  32. package/dist/components/Dialog/DialogActionTertiary.d.ts +10 -10
  33. package/dist/components/Dialog/DialogActions.d.ts +5 -5
  34. package/dist/components/Dialog/DialogBody.d.ts +5 -5
  35. package/dist/components/Dialog/DialogClose.d.ts +7 -9
  36. package/dist/components/Dialog/DialogFooter.d.ts +5 -5
  37. package/dist/components/Dialog/DialogHeader.d.ts +5 -5
  38. package/dist/components/Dialog/index.d.ts +0 -1
  39. package/dist/components/Divider/Divider.d.ts +12 -12
  40. package/dist/components/Divider/index.d.ts +0 -1
  41. package/dist/components/Drawer/Drawer.d.ts +38 -0
  42. package/dist/components/Drawer/DrawerActionPrimary.d.ts +17 -0
  43. package/dist/components/Drawer/DrawerActionSecondary.d.ts +17 -0
  44. package/dist/components/Drawer/DrawerActionTertiary.d.ts +17 -0
  45. package/dist/components/Drawer/DrawerActions.d.ts +12 -0
  46. package/dist/components/Drawer/DrawerBody.d.ts +12 -0
  47. package/dist/components/Drawer/DrawerClose.d.ts +14 -0
  48. package/dist/components/Drawer/DrawerHeader.d.ts +12 -0
  49. package/dist/components/Drawer/index.d.ts +4 -0
  50. package/dist/components/Dropdown/Dropdown.d.ts +22 -0
  51. package/dist/components/Dropdown/DropdownItem.d.ts +16 -0
  52. package/dist/components/Dropdown/DropdownMenu.d.ts +12 -0
  53. package/dist/components/Dropdown/DropdownTrigger.d.ts +15 -0
  54. package/dist/components/Dropdown/index.d.ts +5 -0
  55. package/dist/components/EmptyState/EmptyState.d.ts +23 -0
  56. package/dist/components/EmptyState/EmptyStateAction.d.ts +17 -0
  57. package/dist/components/EmptyState/EmptyStateHeader.d.ts +12 -0
  58. package/dist/components/EmptyState/EmptyStateIllustration.d.ts +12 -0
  59. package/dist/components/EmptyState/EmptyStateMessage.d.ts +12 -0
  60. package/dist/components/EmptyState/index.d.ts +4 -0
  61. package/dist/components/Field/Field.d.ts +8 -12
  62. package/dist/components/Field/FieldHint.d.ts +10 -8
  63. package/dist/components/Field/FieldLabel.d.ts +6 -6
  64. package/dist/components/Field/index.d.ts +0 -1
  65. package/dist/components/Header/Header.d.ts +18 -0
  66. package/dist/components/Header/HeaderActions.d.ts +12 -0
  67. package/dist/components/Header/HeaderBackButton.d.ts +10 -0
  68. package/dist/components/Header/HeaderContent.d.ts +12 -0
  69. package/dist/components/Header/HeaderTitle.d.ts +12 -0
  70. package/dist/components/Header/SubHeader.d.ts +12 -0
  71. package/dist/components/Header/index.d.ts +8 -0
  72. package/dist/components/Icon/Icon.d.ts +19 -0
  73. package/dist/components/Icon/index.d.ts +2 -0
  74. package/dist/components/Label/Label.d.ts +12 -0
  75. package/dist/components/LabeledValue/LabeledValue.d.ts +25 -0
  76. package/dist/components/LabeledValue/index.d.ts +1 -0
  77. package/dist/components/Layout/Box.d.ts +6 -6
  78. package/dist/components/Layout/Grid.d.ts +6 -6
  79. package/dist/components/Layout/Group.d.ts +6 -6
  80. package/dist/components/Layout/Layout.d.ts +12 -13
  81. package/dist/components/Layout/Row.d.ts +18 -0
  82. package/dist/components/Layout/Sidebar.d.ts +12 -14
  83. package/dist/components/Layout/Stack.d.ts +6 -7
  84. package/dist/components/Layout/Switcher.d.ts +6 -7
  85. package/dist/components/Layout/index.d.ts +2 -1
  86. package/dist/components/Link/Link.d.ts +14 -0
  87. package/dist/components/Link/index.d.ts +2 -0
  88. package/dist/components/LogoLoader/LogoLoader.d.ts +13 -0
  89. package/dist/components/LogoLoader/index.d.ts +2 -0
  90. package/dist/components/PageContent/Body.d.ts +12 -0
  91. package/dist/components/PageContent/PageContent.d.ts +14 -0
  92. package/dist/components/PageContent/index.d.ts +1 -0
  93. package/dist/components/Pagination/Pagination.d.ts +16 -0
  94. package/dist/components/Pagination/index.d.ts +2 -0
  95. package/dist/components/ProgressBar/ProgressBar.d.ts +6 -7
  96. package/dist/components/ProgressBar/index.d.ts +0 -1
  97. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -7
  98. package/dist/components/ProgressBarCountdown/index.d.ts +0 -1
  99. package/dist/components/RadioGroup/Radio.d.ts +8 -8
  100. package/dist/components/RadioGroup/RadioGroup.d.ts +9 -14
  101. package/dist/components/RadioGroup/index.d.ts +0 -1
  102. package/dist/components/Section/Section.d.ts +9 -11
  103. package/dist/components/Section/SectionTitle.d.ts +10 -9
  104. package/dist/components/Section/index.d.ts +0 -1
  105. package/dist/components/SpinnerWheel/SpinnerWheel.d.ts +13 -0
  106. package/dist/components/SpinnerWheel/index.d.ts +2 -0
  107. package/dist/components/Steps/Step.d.ts +12 -0
  108. package/dist/components/Steps/Steps.d.ts +20 -0
  109. package/dist/components/Steps/index.d.ts +5 -0
  110. package/dist/components/Steps/useSteps.d.ts +10 -0
  111. package/dist/components/Switch/Switch.d.ts +14 -0
  112. package/dist/components/Switch/index.d.ts +2 -0
  113. package/dist/components/Table/Table.d.ts +33 -0
  114. package/dist/components/Table/TableActions.d.ts +12 -0
  115. package/dist/components/Table/TableBody.d.ts +12 -0
  116. package/dist/components/Table/TableCell.d.ts +12 -0
  117. package/dist/components/Table/TableFeedback.d.ts +12 -0
  118. package/dist/components/Table/TableFoot.d.ts +12 -0
  119. package/dist/components/Table/TableHead.d.ts +12 -0
  120. package/dist/components/Table/TableHeadCell.d.ts +15 -0
  121. package/dist/components/Table/TableRow.d.ts +12 -0
  122. package/dist/components/Table/TableToolbar.d.ts +12 -0
  123. package/dist/components/Table/index.d.ts +21 -0
  124. package/dist/components/Tabs/Tab.d.ts +9 -8
  125. package/dist/components/Tabs/TabPanel.d.ts +6 -7
  126. package/dist/components/Tabs/Tabs.d.ts +12 -13
  127. package/dist/components/Tabs/index.d.ts +0 -1
  128. package/dist/components/Tag/ActionableTag.d.ts +20 -0
  129. package/dist/components/Tag/Tag.d.ts +8 -11
  130. package/dist/components/Tag/index.d.ts +2 -1
  131. package/dist/components/Text/Text.d.ts +11 -13
  132. package/dist/components/Text/index.d.ts +0 -1
  133. package/dist/components/TextArea/TextArea.d.ts +18 -0
  134. package/dist/components/TextArea/index.d.ts +2 -0
  135. package/dist/components/TextField/TextField.d.ts +13 -11
  136. package/dist/components/TextField/index.d.ts +0 -1
  137. package/dist/components/Timeline/Timeline.d.ts +22 -0
  138. package/dist/components/Timeline/TimelineExpandableItem.d.ts +12 -0
  139. package/dist/components/Timeline/TimelineItem.d.ts +12 -0
  140. package/dist/components/Timeline/TimelineItemBody.d.ts +12 -0
  141. package/dist/components/Timeline/TimelineItemFooter.d.ts +12 -0
  142. package/dist/components/Timeline/TimelineItemHeader.d.ts +12 -0
  143. package/dist/components/Timeline/TimelineItemHeaderSubtitle.d.ts +12 -0
  144. package/dist/components/Timeline/TimelineItemHeaderTitle.d.ts +12 -0
  145. package/dist/components/Timeline/TimelineItemIcon.d.ts +12 -0
  146. package/dist/components/Timeline/index.d.ts +10 -0
  147. package/dist/components/ToggleGroup/Toggle.d.ts +9 -8
  148. package/dist/components/ToggleGroup/ToggleGroup.d.ts +18 -13
  149. package/dist/components/ToggleGroup/index.d.ts +0 -1
  150. package/dist/components/Tooltip/Tooltip.d.ts +10 -11
  151. package/dist/components/Tooltip/index.d.ts +0 -1
  152. package/dist/index.d.ts +87 -1
  153. package/dist/index.js +1198 -3
  154. package/dist/styles/variables.css +2 -0
  155. package/dist/styles/variables.scss +3 -0
  156. package/dist/tests/constants.d.ts +0 -1
  157. package/dist/tests/types.d.ts +0 -1
  158. package/dist/tokens.d.ts +2 -0
  159. package/dist/tokens.js +2 -0
  160. package/dist/utils/createComponent.d.ts +5 -45
  161. package/dist/utils/types.d.ts +6 -1
  162. package/dist/utils/utils.d.ts +0 -1
  163. package/package.json +12 -16
  164. package/dist/components/Banner/Banner.d.ts.map +0 -1
  165. package/dist/components/Banner/BannerActionPrimary.d.ts.map +0 -1
  166. package/dist/components/Banner/BannerActionSecondary.d.ts.map +0 -1
  167. package/dist/components/Banner/BannerActions.d.ts.map +0 -1
  168. package/dist/components/Banner/BannerDescription.d.ts.map +0 -1
  169. package/dist/components/Banner/BannerIcon.d.ts.map +0 -1
  170. package/dist/components/Banner/BannerTitle.d.ts.map +0 -1
  171. package/dist/components/Banner/index.d.ts.map +0 -1
  172. package/dist/components/Button/Button.d.ts.map +0 -1
  173. package/dist/components/Button/index.d.ts.map +0 -1
  174. package/dist/components/Card/Card.d.ts.map +0 -1
  175. package/dist/components/Card/CardBody.d.ts.map +0 -1
  176. package/dist/components/Card/CardDivider.d.ts.map +0 -1
  177. package/dist/components/Card/CardSubtitle.d.ts.map +0 -1
  178. package/dist/components/Card/CardTitle.d.ts.map +0 -1
  179. package/dist/components/Card/index.d.ts.map +0 -1
  180. package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
  181. package/dist/components/Checkbox/index.d.ts.map +0 -1
  182. package/dist/components/Dialog/Dialog.d.ts.map +0 -1
  183. package/dist/components/Dialog/DialogActionPrimary.d.ts.map +0 -1
  184. package/dist/components/Dialog/DialogActionSecondary.d.ts.map +0 -1
  185. package/dist/components/Dialog/DialogActionTertiary.d.ts.map +0 -1
  186. package/dist/components/Dialog/DialogActions.d.ts.map +0 -1
  187. package/dist/components/Dialog/DialogBody.d.ts.map +0 -1
  188. package/dist/components/Dialog/DialogClose.d.ts.map +0 -1
  189. package/dist/components/Dialog/DialogFooter.d.ts.map +0 -1
  190. package/dist/components/Dialog/DialogHeader.d.ts.map +0 -1
  191. package/dist/components/Dialog/index.d.ts.map +0 -1
  192. package/dist/components/Divider/Divider.d.ts.map +0 -1
  193. package/dist/components/Divider/index.d.ts.map +0 -1
  194. package/dist/components/Field/Field.d.ts.map +0 -1
  195. package/dist/components/Field/FieldHint.d.ts.map +0 -1
  196. package/dist/components/Field/FieldLabel.d.ts.map +0 -1
  197. package/dist/components/Field/index.d.ts.map +0 -1
  198. package/dist/components/Layout/Box.d.ts.map +0 -1
  199. package/dist/components/Layout/Grid.d.ts.map +0 -1
  200. package/dist/components/Layout/Group.d.ts.map +0 -1
  201. package/dist/components/Layout/Layout.d.ts.map +0 -1
  202. package/dist/components/Layout/Sidebar.d.ts.map +0 -1
  203. package/dist/components/Layout/Stack.d.ts.map +0 -1
  204. package/dist/components/Layout/Switcher.d.ts.map +0 -1
  205. package/dist/components/Layout/index.d.ts.map +0 -1
  206. package/dist/components/ProgressBar/ProgressBar.d.ts.map +0 -1
  207. package/dist/components/ProgressBar/index.d.ts.map +0 -1
  208. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +0 -1
  209. package/dist/components/ProgressBarCountdown/index.d.ts.map +0 -1
  210. package/dist/components/RadioGroup/Radio.d.ts.map +0 -1
  211. package/dist/components/RadioGroup/RadioGroup.d.ts.map +0 -1
  212. package/dist/components/RadioGroup/index.d.ts.map +0 -1
  213. package/dist/components/Section/Section.d.ts.map +0 -1
  214. package/dist/components/Section/SectionTitle.d.ts.map +0 -1
  215. package/dist/components/Section/index.d.ts.map +0 -1
  216. package/dist/components/Tabs/Tab.d.ts.map +0 -1
  217. package/dist/components/Tabs/TabPanel.d.ts.map +0 -1
  218. package/dist/components/Tabs/Tabs.d.ts.map +0 -1
  219. package/dist/components/Tabs/index.d.ts.map +0 -1
  220. package/dist/components/Tag/Tag.d.ts.map +0 -1
  221. package/dist/components/Tag/index.d.ts.map +0 -1
  222. package/dist/components/Text/Text.d.ts.map +0 -1
  223. package/dist/components/Text/index.d.ts.map +0 -1
  224. package/dist/components/TextField/TextField.d.ts.map +0 -1
  225. package/dist/components/TextField/index.d.ts.map +0 -1
  226. package/dist/components/ToggleGroup/Toggle.d.ts.map +0 -1
  227. package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +0 -1
  228. package/dist/components/ToggleGroup/index.d.ts.map +0 -1
  229. package/dist/components/Tooltip/Tooltip.d.ts.map +0 -1
  230. package/dist/components/Tooltip/index.d.ts.map +0 -1
  231. package/dist/index.d.ts.map +0 -1
  232. package/dist/index.js.map +0 -1
  233. package/dist/tests/constants.d.ts.map +0 -1
  234. package/dist/tests/types.d.ts.map +0 -1
  235. package/dist/utils/createComponent.d.ts.map +0 -1
  236. package/dist/utils/types.d.ts.map +0 -1
  237. package/dist/utils/utils.d.ts.map +0 -1
@@ -0,0 +1,19 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { EventName, WebComponentProps } from '@lit/react';
3
+ import { Accordion as WCAccordion } from '@loadsmart/miranda-wc';
4
+ import type { AccordionToggleEventDetails } from '@loadsmart/miranda-wc';
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ 'm-accordion': WebComponentProps<WCAccordion>;
9
+ }
10
+ }
11
+ }
12
+ declare const Accordion: import("@lit/react").ReactWebComponent<WCAccordion, {
13
+ onToggle: EventName<CustomEvent<AccordionToggleEventDetails>>;
14
+ }> & {
15
+ Title: import("react").ForwardRefExoticComponent<Omit<import("./AccordionTitle").AccordionTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").AccordionTitle>>;
16
+ Content: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").AccordionContent, {}>;
17
+ };
18
+ export type AccordionProps = ComponentProps<typeof Accordion>;
19
+ export default Accordion;
@@ -0,0 +1,10 @@
1
+ import type { WebComponentProps } from '@lit/react';
2
+ import { AccordionContent as WCAccordionContent } from '@loadsmart/miranda-wc';
3
+ declare global {
4
+ namespace JSX {
5
+ interface IntrinsicElements {
6
+ 'm-accordion-content': WebComponentProps<WCAccordionContent>;
7
+ }
8
+ }
9
+ }
10
+ export declare const AccordionContent: import("@lit/react").ReactWebComponent<WCAccordionContent, {}>;
@@ -0,0 +1,16 @@
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { AccordionTitle as WCAccordionTitle } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-accordion-title': WebComponentProps<WCAccordionTitle>;
8
+ }
9
+ }
10
+ }
11
+ declare const WiredAccordionTitle: import("@lit/react").ReactWebComponent<WCAccordionTitle, {}>;
12
+ export type AccordionTitleProps = Omit<ComponentProps<typeof WiredAccordionTitle>, 'slot'> & {
13
+ leading?: ReactNode;
14
+ };
15
+ export declare const AccordionTitle: import("react").ForwardRefExoticComponent<Omit<AccordionTitleProps, "ref"> & import("react").RefAttributes<WCAccordionTitle>>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as Accordion } from './Accordion';
2
+ export type { AccordionProps } from './Accordion';
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { Badge as WCBadge } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-badge': WebComponentProps<WCBadge>;
8
+ }
9
+ }
10
+ }
11
+ export declare const Badge: import("@lit/react").ReactWebComponent<WCBadge, {}>;
12
+ export type BadgeProps = ComponentProps<typeof Badge>;
@@ -0,0 +1,2 @@
1
+ export { Badge } from './Badge';
2
+ export type { BadgeProps } from './Badge';
@@ -1,32 +1,22 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { EventName, WebComponentProps } from '@lit/react';
2
3
  import { Banner as WCBanner } from '@loadsmart/miranda-wc';
3
- import type { BannerProps as WCBannerProps } from '@loadsmart/miranda-wc';
4
- import { BannerActionPrimary } from './BannerActionPrimary';
5
- import { BannerActions } from './BannerActions';
6
- import { BannerActionSecondary } from './BannerActionSecondary';
7
- import { BannerDescription } from './BannerDescription';
8
- import { BannerIcon } from './BannerIcon';
9
- import { BannerTitle } from './BannerTitle';
10
- export interface BannerProps extends HTMLAttributes<WCBanner>, WCBannerProps {
11
- children?: ReactNode;
12
- onDismiss?: (event: CustomEvent) => void;
13
- }
14
4
  declare global {
15
5
  namespace JSX {
16
6
  interface IntrinsicElements {
17
- 'm-banner': HTMLAttributes<WCBanner>;
7
+ 'm-banner': WebComponentProps<WCBanner>;
18
8
  }
19
9
  }
20
10
  }
21
- export declare function Banner(props: BannerProps): JSX.Element;
22
- export declare namespace Banner {
23
- var displayName: string;
24
- var ActionPrimary: typeof BannerActionPrimary;
25
- var Actions: typeof BannerActions;
26
- var ActionSecondary: typeof BannerActionSecondary;
27
- var Description: typeof BannerDescription;
28
- var Icon: typeof BannerIcon;
29
- var Title: typeof BannerTitle;
30
- }
11
+ export declare const Banner: import("@lit/react").ReactWebComponent<WCBanner, {
12
+ onDismiss: EventName<CustomEvent<any>>;
13
+ }> & {
14
+ ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionPrimary").BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionPrimary>>;
15
+ Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerActions, {}>;
16
+ ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionSecondary").BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionSecondary>>;
17
+ Description: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerDescription, {}>;
18
+ Icon: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerIcon, {}>;
19
+ Title: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").BannerTitle, {}>;
20
+ };
21
+ export type BannerProps = ComponentProps<typeof Banner>;
31
22
  export type { BannerVariant } from '@loadsmart/miranda-wc';
32
- //# sourceMappingURL=Banner.d.ts.map
@@ -1,17 +1,17 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { WebComponentProps } from '@lit/react';
2
2
  import { BannerActionPrimary as WCBannerActionPrimary } from '@loadsmart/miranda-wc';
3
- import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
4
- import type { ButtonProps } from '../Button';
5
- export type BannerActionPrimaryProps = Omit<ButtonProps, 'variant' | 'type'> & Partial<Pick<ButtonProps, 'variant' | 'type'>>;
3
+ import type { ComponentProps, ReactNode } from 'react';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-action-primary': HTMLAttributes<WCBannerActionPrimary> & WCButtonProps;
7
+ 'm-banner-action-primary': WebComponentProps<WCBannerActionPrimary>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerActionPrimary(props: BannerActionPrimaryProps): JSX.Element;
14
- export declare namespace BannerActionPrimary {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerActionPrimary.d.ts.map
11
+ declare const WiredBannerActionPrimary: import("@lit/react").ReactWebComponent<WCBannerActionPrimary, {}>;
12
+ export type BannerActionPrimaryProps = ComponentProps<typeof WiredBannerActionPrimary> & {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ };
16
+ export declare const BannerActionPrimary: import("react").ForwardRefExoticComponent<Omit<BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<WCBannerActionPrimary>>;
17
+ export {};
@@ -1,17 +1,17 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { BannerActionSecondary as WCBannerActionSecondary } from '@loadsmart/miranda-wc';
3
- import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
4
- import type { ButtonProps } from '../Button';
5
- export type BanneActionSecondaryProps = Omit<ButtonProps, 'variant' | 'type'> & Partial<Pick<ButtonProps, 'variant' | 'type'>>;
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-action-secondary': HTMLAttributes<WCBannerActionSecondary> & WCButtonProps;
7
+ 'm-banner-action-secondary': WebComponentProps<WCBannerActionSecondary>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerActionSecondary(props: BanneActionSecondaryProps): JSX.Element;
14
- export declare namespace BannerActionSecondary {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerActionSecondary.d.ts.map
11
+ declare const WiredBannerActionSecondary: import("@lit/react").ReactWebComponent<WCBannerActionSecondary, {}>;
12
+ export type BannerActionSecondaryProps = ComponentProps<typeof WiredBannerActionSecondary> & {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ };
16
+ export declare const BannerActionSecondary: import("react").ForwardRefExoticComponent<Omit<BannerActionSecondaryProps, "ref"> & import("react").RefAttributes<WCBannerActionSecondary>>;
17
+ export {};
@@ -1,17 +1,12 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { BannerActions as WCBannerActions } from '@loadsmart/miranda-wc';
3
- export interface BannerActionsProps extends Omit<HTMLAttributes<HTMLElement>, 'slot'> {
4
- children?: ReactNode;
5
- }
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { BannerActions as WCBannerActions } from '@loadsmart/miranda-wc';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-actions': HTMLAttributes<WCBannerActions>;
7
+ 'm-banner-actions': WebComponentProps<WCBannerActions>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerActions({ ...props }: BannerActionsProps): JSX.Element;
14
- export declare namespace BannerActions {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerActions.d.ts.map
11
+ export declare const BannerActions: import("@lit/react").ReactWebComponent<WCBannerActions, {}>;
12
+ export type BannerActionsProps = ComponentProps<typeof BannerActions>;
@@ -1,17 +1,12 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc';
3
- export interface BannerDescriptionProps extends Omit<HTMLAttributes<HTMLElement>, 'slot'> {
4
- children?: ReactNode;
5
- }
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { BannerDescription as WCBannerDescription } from '@loadsmart/miranda-wc';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-description': HTMLAttributes<WCBannerDescription>;
7
+ 'm-banner-description': WebComponentProps<WCBannerDescription>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerDescription({ ...props }: BannerDescriptionProps): JSX.Element;
14
- export declare namespace BannerDescription {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerDescription.d.ts.map
11
+ export declare const BannerDescription: import("@lit/react").ReactWebComponent<WCBannerDescription, {}>;
12
+ export type BannerDescriptionProps = ComponentProps<typeof BannerDescription>;
@@ -1,17 +1,12 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { BannerTitle as WCBannerIcon } from '@loadsmart/miranda-wc';
3
- export interface BannerIconProps extends Omit<HTMLAttributes<HTMLElement>, 'slot'> {
4
- children?: ReactNode;
5
- }
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { BannerIcon as WCBannerIcon } from '@loadsmart/miranda-wc';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-icon': HTMLAttributes<WCBannerIcon>;
7
+ 'm-banner-icon': WebComponentProps<WCBannerIcon>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerIcon({ ...props }: BannerIconProps): JSX.Element;
14
- export declare namespace BannerIcon {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerIcon.d.ts.map
11
+ export declare const BannerIcon: import("@lit/react").ReactWebComponent<WCBannerIcon, {}>;
12
+ export type BannerIconProps = ComponentProps<typeof BannerIcon>;
@@ -1,17 +1,12 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
3
- export interface BannerTitleProps extends Omit<HTMLAttributes<HTMLElement>, 'slot'> {
4
- children?: ReactNode;
5
- }
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { BannerTitle as WCBannerTitle } from '@loadsmart/miranda-wc';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-banner-title': HTMLAttributes<WCBannerTitle>;
7
+ 'm-banner-title': WebComponentProps<WCBannerTitle>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function BannerTitle({ ...props }: BannerTitleProps): JSX.Element;
14
- export declare namespace BannerTitle {
15
- var displayName: string;
16
- }
17
- //# sourceMappingURL=BannerTitle.d.ts.map
11
+ export declare const BannerTitle: import("@lit/react").ReactWebComponent<WCBannerTitle, {}>;
12
+ export type BannerTitleProps = ComponentProps<typeof BannerTitle>;
@@ -1,3 +1,2 @@
1
1
  export { Banner } from './Banner';
2
2
  export type { BannerProps, BannerVariant } from './Banner';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,17 +1,17 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { Button as WCButton } from '@loadsmart/miranda-wc';
3
- import type { ButtonProps as WCButtonProps } from '@loadsmart/miranda-wc';
4
- export interface ButtonProps extends HTMLAttributes<WCButton>, Omit<WCButtonProps, 'click'> {
5
- leading?: ReactNode;
6
- trailing?: ReactNode;
7
- }
8
4
  declare global {
9
5
  namespace JSX {
10
6
  interface IntrinsicElements {
11
- 'm-button': HTMLAttributes<WCButton> & WCButtonProps;
7
+ 'm-button': WebComponentProps<WCButton>;
12
8
  }
13
9
  }
14
10
  }
15
- declare function Button(props: ButtonProps): JSX.Element;
11
+ declare const WiredButton: import("@lit/react").ReactWebComponent<WCButton, {}>;
12
+ export interface ButtonProps extends ComponentProps<typeof WiredButton> {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ }
16
+ declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<WCButton>>;
16
17
  export default Button;
17
- //# sourceMappingURL=Button.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { default as Button } from './Button';
2
2
  export type { ButtonProps } from './Button';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,23 +1,35 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { CardProps as WCCardProps } from '@loadsmart/miranda-wc';
3
- import { CardTitle } from './CardTitle';
4
- import { CardSubtitle } from './CardSubtitle';
5
- import { CardBody } from './CardBody';
6
- import { CardDivider } from './CardDivider';
7
- export type CardProps = HTMLAttributes<HTMLElement> & WCCardProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { EventName, WebComponentProps } from '@lit/react';
3
+ import { Card as WCCard } from '@loadsmart/miranda-wc';
4
+ import type { CardToggleEventDetails } from '@loadsmart/miranda-wc';
8
5
  declare global {
9
- namespace React.JSX {
6
+ namespace JSX {
10
7
  interface IntrinsicElements {
11
- 'm-card': CardProps;
8
+ 'm-card': WebComponentProps<WCCard>;
12
9
  }
13
10
  }
14
11
  }
15
- declare function Card({ children, ...props }: CardProps): JSX.Element;
16
- declare namespace Card {
17
- var Title: typeof CardTitle;
18
- var Divider: typeof CardDivider;
19
- var Subtitle: typeof CardSubtitle;
20
- var Body: typeof CardBody;
12
+ declare const Card: import("@lit/react").ReactWebComponent<WCCard, {
13
+ onToggle: EventName<CustomEvent<CardToggleEventDetails>>;
14
+ }> & {
15
+ Title: import("react").ForwardRefExoticComponent<Omit<import("./CardTitle").CardTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardTitle>>;
16
+ Subtitle: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardSubtitle, {}>;
17
+ Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardBody, {}>;
18
+ Divider: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardDivider, {}>;
19
+ ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionPrimary").CardActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionPrimary>>;
20
+ ActionSecondary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionSecondary").CardActionSecondaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionSecondary>>;
21
+ ActionTertiary: import("react").ForwardRefExoticComponent<Omit<import("./CardActionTertiary").CardActionTertiaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").CardActionTertiary>>;
22
+ Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").CardFooter, {}>;
23
+ };
24
+ declare module 'react' {
25
+ interface CSSProperties {
26
+ '--m-card-body-padding'?: string;
27
+ '--m-card-border-top'?: string;
28
+ '--m-card-border-left'?: string;
29
+ '--m-card-border-bottom'?: string;
30
+ '--m-card-border-right'?: string;
31
+ '--m-card-border-radius'?: string;
32
+ }
21
33
  }
34
+ export type CardProps = ComponentProps<typeof Card>;
22
35
  export default Card;
23
- //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1,17 @@
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { CardActionPrimary as WCCardActionPrimary } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-card-action-primary': WebComponentProps<WCCardActionPrimary>;
8
+ }
9
+ }
10
+ }
11
+ declare const WiredCardActionPrimary: import("@lit/react").ReactWebComponent<WCCardActionPrimary, {}>;
12
+ export interface CardActionPrimaryProps extends ComponentProps<typeof WiredCardActionPrimary> {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ }
16
+ export declare const CardActionPrimary: import("react").ForwardRefExoticComponent<Omit<CardActionPrimaryProps, "ref"> & import("react").RefAttributes<WCCardActionPrimary>>;
17
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { CardActionSecondary as WCCardActionSecondary } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-card-action-secondary': WebComponentProps<WCCardActionSecondary>;
8
+ }
9
+ }
10
+ }
11
+ declare const WiredCardActionSecondary: import("@lit/react").ReactWebComponent<WCCardActionSecondary, {}>;
12
+ export interface CardActionSecondaryProps extends ComponentProps<typeof WiredCardActionSecondary> {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ }
16
+ export declare const CardActionSecondary: import("react").ForwardRefExoticComponent<Omit<CardActionSecondaryProps, "ref"> & import("react").RefAttributes<WCCardActionSecondary>>;
17
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { CardActionTertiary as WCCardActionTertiary } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-card-action-tertiary': WebComponentProps<WCCardActionTertiary>;
8
+ }
9
+ }
10
+ }
11
+ declare const WiredCardActionTertiary: import("@lit/react").ReactWebComponent<WCCardActionTertiary, {}>;
12
+ export interface CardActionTertiaryProps extends ComponentProps<typeof WiredCardActionTertiary> {
13
+ leading?: ReactNode;
14
+ trailing?: ReactNode;
15
+ }
16
+ export declare const CardActionTertiary: import("react").ForwardRefExoticComponent<Omit<CardActionTertiaryProps, "ref"> & import("react").RefAttributes<WCCardActionTertiary>>;
17
+ export {};
@@ -1,12 +1,12 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { CardBody as WCCardBody } from '@loadsmart/miranda-wc';
3
- export type CardBodyProps = Omit<HTMLAttributes<WCCardBody>, 'slot'>;
4
4
  declare global {
5
- namespace React.JSX {
5
+ namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-card-body': CardBodyProps;
7
+ 'm-card-body': WebComponentProps<WCCardBody>;
8
8
  }
9
9
  }
10
10
  }
11
- export declare function CardBody({ children, ...props }: CardBodyProps): JSX.Element;
12
- //# sourceMappingURL=CardBody.d.ts.map
11
+ export declare const CardBody: import("@lit/react").ReactWebComponent<WCCardBody, {}>;
12
+ export type CardBodyProps = ComponentProps<typeof CardBody>;
@@ -1,13 +1,12 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { CardDivider as WCCardDivider } from '@loadsmart/miranda-wc';
3
- import type { DividerProps } from '../Divider';
4
- export type CardDividerHTMLAttributes = Omit<HTMLAttributes<WCCardDivider>, 'slot'>;
5
4
  declare global {
6
- namespace React.JSX {
5
+ namespace JSX {
7
6
  interface IntrinsicElements {
8
- 'm-card-divider': CardDividerHTMLAttributes;
7
+ 'm-card-divider': WebComponentProps<WCCardDivider>;
9
8
  }
10
9
  }
11
10
  }
12
- export declare function CardDivider(props: DividerProps): JSX.Element;
13
- //# sourceMappingURL=CardDivider.d.ts.map
11
+ export declare const CardDivider: import("@lit/react").ReactWebComponent<WCCardDivider, {}>;
12
+ export type CardDividerProps = ComponentProps<typeof CardDivider>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { CardFooter as WCCardFooter } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-card-footer': WebComponentProps<WCCardFooter>;
8
+ }
9
+ }
10
+ }
11
+ export declare const CardFooter: import("@lit/react").ReactWebComponent<WCCardFooter, {}>;
12
+ export type CardFooterProps = ComponentProps<typeof CardFooter>;
@@ -1,12 +1,12 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc';
3
- export type CardSubtitleProps = Omit<HTMLAttributes<WCCardSubtitle>, 'slot'>;
4
4
  declare global {
5
- namespace React.JSX {
5
+ namespace JSX {
6
6
  interface IntrinsicElements {
7
- 'm-card-subtitle': CardSubtitleProps;
7
+ 'm-card-subtitle': WebComponentProps<WCCardSubtitle>;
8
8
  }
9
9
  }
10
10
  }
11
- export declare function CardSubtitle({ children, ...props }: CardSubtitleProps): JSX.Element;
12
- //# sourceMappingURL=CardSubtitle.d.ts.map
11
+ export declare const CardSubtitle: import("@lit/react").ReactWebComponent<WCCardSubtitle, {}>;
12
+ export type CardSubtitleProps = ComponentProps<typeof CardSubtitle>;
@@ -1,14 +1,16 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc';
3
- export interface CardTitleProps extends Omit<HTMLAttributes<WCCardTitle>, 'slot'> {
4
- leading?: string;
5
- }
6
4
  declare global {
7
- namespace React.JSX {
5
+ namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-card-title': CardTitleProps;
7
+ 'm-card-title': WebComponentProps<WCCardTitle>;
10
8
  }
11
9
  }
12
10
  }
13
- export declare function CardTitle({ children, leading, ...props }: CardTitleProps): JSX.Element;
14
- //# sourceMappingURL=CardTitle.d.ts.map
11
+ declare const WiredCardTitle: import("@lit/react").ReactWebComponent<WCCardTitle, {}>;
12
+ export type CardTitleProps = Omit<ComponentProps<typeof WiredCardTitle>, 'slot'> & {
13
+ leading?: ReactNode;
14
+ };
15
+ export declare const CardTitle: import("react").ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & import("react").RefAttributes<WCCardTitle>>;
16
+ export {};
@@ -1,3 +1,2 @@
1
1
  export { default as Card } from './Card';
2
2
  export type { CardProps } from './Card';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,18 @@
1
- import type { ReactNode, HTMLAttributes } from 'react';
1
+ import type { ReactNode, ComponentProps } from 'react';
2
2
  import { Checkbox as WCCheckbox } from '@loadsmart/miranda-wc';
3
- import type { CheckboxProps as WCCheckboxProps, CheckboxChangeEventDetail } from '@loadsmart/miranda-wc';
4
- export interface CheckboxHTMLAttributes extends Omit<HTMLAttributes<WCCheckbox>, 'onChange'>, WCCheckboxProps {
5
- onChange?: (event: CustomEvent<CheckboxChangeEventDetail>) => void;
6
- }
7
- export interface CheckboxProps extends CheckboxHTMLAttributes {
8
- leading?: ReactNode;
9
- }
3
+ import type { WebComponentProps } from '@lit/react';
10
4
  declare global {
11
5
  namespace JSX {
12
6
  interface IntrinsicElements {
13
- 'm-checkbox': CheckboxHTMLAttributes;
7
+ 'm-checkbox': WebComponentProps<WCCheckbox>;
14
8
  }
15
9
  }
16
10
  }
17
- declare function Checkbox(props: CheckboxProps): JSX.Element;
11
+ declare const WiredCheckbox: import("@lit/react").ReactWebComponent<WCCheckbox, {
12
+ onChange: string;
13
+ }>;
14
+ export type CheckboxProps = ComponentProps<typeof WiredCheckbox> & {
15
+ leading?: ReactNode;
16
+ };
17
+ declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<WCCheckbox>>;
18
18
  export default Checkbox;
19
- //# sourceMappingURL=Checkbox.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { default as Checkbox } from './Checkbox';
2
2
  export type { CheckboxProps } from './Checkbox';
3
- //# sourceMappingURL=index.d.ts.map