@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
@@ -1,15 +1,13 @@
1
- import type { HTMLAttributes } from 'react';
2
- import * as React from 'react';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
3
  import { ProgressBarCountdown as WCProgressBarCountdown } from '@loadsmart/miranda-wc';
4
- import type { ProgressBarCountdownProps as WCProgressBarCountdownProps } from '@loadsmart/miranda-wc';
5
- export type ProgressBarCountdownProps = React.HTMLAttributes<HTMLElement> & WCProgressBarCountdownProps;
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-progress-bar-countdown': HTMLAttributes<WCProgressBarCountdown> & WCProgressBarCountdownProps;
7
+ 'm-progress-bar-countdown': WebComponentProps<WCProgressBarCountdown>;
10
8
  }
11
9
  }
12
10
  }
13
- declare function ProgressBarCountdown(props: ProgressBarCountdownProps): JSX.Element;
11
+ declare const ProgressBarCountdown: import("@lit/react").ReactWebComponent<WCProgressBarCountdown, {}>;
12
+ export type ProgressBarCountdownProps = ComponentProps<typeof ProgressBarCountdown>;
14
13
  export default ProgressBarCountdown;
15
- //# sourceMappingURL=ProgressBarCountdown.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { default as ProgressBarCountdown } from './ProgressBarCountdown';
2
2
  export type { ProgressBarCountdownProps } from './ProgressBarCountdown';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,16 +1,16 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
2
3
  import { Radio as WCRadio } from '@loadsmart/miranda-wc';
3
- import type { RadioProps as WCRadioProps } from '@loadsmart/miranda-wc';
4
- export interface RadioProps extends HTMLAttributes<WCRadio>, WCRadioProps {
5
- leading?: ReactNode;
6
- }
7
4
  declare global {
8
5
  namespace JSX {
9
6
  interface IntrinsicElements {
10
- 'm-radio': HTMLAttributes<HTMLElement> & RadioProps;
7
+ 'm-radio': WebComponentProps<WCRadio> & RadioProps;
11
8
  }
12
9
  }
13
10
  }
14
- declare function Radio(props: RadioProps): JSX.Element;
11
+ declare const WiredRadio: import("@lit/react").ReactWebComponent<WCRadio, {}>;
12
+ export type RadioProps = ComponentProps<typeof WiredRadio> & {
13
+ leading?: ReactNode;
14
+ };
15
+ declare const Radio: import("react").ForwardRefExoticComponent<Omit<RadioProps, "ref"> & import("react").RefAttributes<WCRadio>>;
15
16
  export default Radio;
16
- //# sourceMappingURL=Radio.d.ts.map
@@ -1,22 +1,17 @@
1
- import * as React from 'react';
1
+ import type { WebComponentProps } from '@lit/react';
2
2
  import { RadioGroup as WCRadioGroup } from '@loadsmart/miranda-wc';
3
- import type { RadioGroupProps as WCRadioGroupProps } from '@loadsmart/miranda-wc';
4
- import type { HTMLAttributes } from 'react';
5
- import type { RadioGroupChangeEventDetail } from '@loadsmart/miranda-wc/dist/components/radio-group/radio-group';
6
- export interface RadioGroupProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, WCRadioGroupProps {
7
- onChange?: WCRadioGroupProps['m-change'];
8
- }
3
+ import type { ComponentProps } from 'react';
9
4
  declare global {
10
5
  namespace JSX {
11
6
  interface IntrinsicElements {
12
- 'm-radio-group': HTMLAttributes<HTMLElement>;
7
+ 'm-radio-group': WebComponentProps<WCRadioGroup>;
13
8
  }
14
9
  }
15
10
  }
16
- declare const RadioGroup: React.ForwardRefExoticComponent<Partial<Omit<React.HTMLAttributes<WCRadioGroup>, "onChange"> & Omit<WCRadioGroup, "children" | "style" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
17
- onChange: (e: CustomEvent<RadioGroupChangeEventDetail>) => void;
18
- } & {
19
- children?: React.ReactNode;
20
- }> & React.RefAttributes<unknown>>;
11
+ declare const RadioGroup: import("@lit/react").ReactWebComponent<WCRadioGroup, {
12
+ onChange: string;
13
+ }> & {
14
+ Radio: import("react").ForwardRefExoticComponent<Omit<import("./Radio").RadioProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").Radio>>;
15
+ };
16
+ export type RadioGroupProps = ComponentProps<typeof RadioGroup>;
21
17
  export default RadioGroup;
22
- //# sourceMappingURL=RadioGroup.d.ts.map
@@ -2,4 +2,3 @@ export { default as RadioGroup } from './RadioGroup';
2
2
  export { default as Radio } from './Radio';
3
3
  export type { RadioGroupProps } from './RadioGroup';
4
4
  export type { RadioProps } from './Radio';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1,17 +1,15 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { SectionProps as WCSectionProps } from '@loadsmart/miranda-wc';
3
- import { SectionTitle } from './SectionTitle';
4
- export type SectionProps = HTMLAttributes<HTMLElement> & WCSectionProps;
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { Section as WCSection } from '@loadsmart/miranda-wc';
5
4
  declare global {
6
- namespace React.JSX {
5
+ namespace JSX {
7
6
  interface IntrinsicElements {
8
- 'm-section': SectionProps;
7
+ 'm-section': WebComponentProps<WCSection>;
9
8
  }
10
9
  }
11
10
  }
12
- declare function Section({ children, ...props }: SectionProps): JSX.Element;
13
- declare namespace Section {
14
- var Title: typeof SectionTitle;
15
- }
11
+ declare const Section: import("@lit/react").ReactWebComponent<WCSection, {}> & {
12
+ Title: import("react").ForwardRefExoticComponent<Omit<import("./SectionTitle").SectionTitleProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").SectionTitle>>;
13
+ };
14
+ export type SectionProps = ComponentProps<typeof Section>;
16
15
  export default Section;
17
- //# sourceMappingURL=Section.d.ts.map
@@ -1,15 +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 { SectionTitle as WCSectionTitle } from '@loadsmart/miranda-wc';
3
- export interface SectionTitleProps extends Omit<HTMLAttributes<WCSectionTitle>, 'slot'> {
4
- leading?: string;
5
- size?: 'small' | 'default' | 'large';
6
- }
7
4
  declare global {
8
- namespace React.JSX {
5
+ namespace JSX {
9
6
  interface IntrinsicElements {
10
- 'm-section-title': SectionTitleProps;
7
+ 'm-section-title': WebComponentProps<WCSectionTitle>;
11
8
  }
12
9
  }
13
10
  }
14
- export declare function SectionTitle({ children, leading, ...props }: SectionTitleProps): JSX.Element;
15
- //# sourceMappingURL=SectionTitle.d.ts.map
11
+ declare const WiredSectionTitle: import("@lit/react").ReactWebComponent<WCSectionTitle, {}>;
12
+ export type SectionTitleProps = Omit<ComponentProps<typeof WiredSectionTitle>, 'slot'> & {
13
+ leading?: ReactNode;
14
+ };
15
+ export declare const SectionTitle: import("react").ForwardRefExoticComponent<Omit<SectionTitleProps, "ref"> & import("react").RefAttributes<WCSectionTitle>>;
16
+ export {};
@@ -1,3 +1,2 @@
1
1
  export { default as Section } from './Section';
2
2
  export type { SectionProps } from './Section';
3
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,13 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { SpinnerWheel as WCSpinnerWheel } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-spinner-wheel': WebComponentProps<WCSpinnerWheel>;
8
+ }
9
+ }
10
+ }
11
+ declare const SpinnerWheel: import("@lit/react").ReactWebComponent<WCSpinnerWheel, {}>;
12
+ export type SpinnerWheelProps = ComponentProps<typeof SpinnerWheel>;
13
+ export default SpinnerWheel;
@@ -0,0 +1,2 @@
1
+ export { default as SpinnerWheel } from './SpinnerWheel';
2
+ export type { SpinnerWheelProps } from './SpinnerWheel';
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { Step as WCStep } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-step': WebComponentProps<WCStep>;
8
+ }
9
+ }
10
+ }
11
+ export declare const Step: import("@lit/react").ReactWebComponent<WCStep, {}>;
12
+ export type StepProps = ComponentProps<typeof Step>;
@@ -0,0 +1,20 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { EventName, WebComponentProps } from '@lit/react';
3
+ import { Steps as WCSteps } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-steps': WebComponentProps<WCSteps>;
8
+ }
9
+ }
10
+ }
11
+ export declare const Steps: import("@lit/react").ReactWebComponent<WCSteps, {
12
+ onChange: EventName<CustomEvent<any>>;
13
+ onComplete: EventName<CustomEvent<any>>;
14
+ onNavigate: EventName<CustomEvent<any>>;
15
+ onNext: EventName<CustomEvent<any>>;
16
+ onPrevious: EventName<CustomEvent<any>>;
17
+ }> & {
18
+ Step: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Step, {}>;
19
+ };
20
+ export type StepsProps = ComponentProps<typeof Steps>;
@@ -0,0 +1,5 @@
1
+ export { Steps } from './Steps';
2
+ export { Step } from './Step';
3
+ export { useSteps } from './useSteps';
4
+ export type { StepsProps } from './Steps';
5
+ export type { StepProps } from './Step';
@@ -0,0 +1,10 @@
1
+ import type { LiteralUnion } from '../../utils/types';
2
+ export declare function createCustomEvent(eventName: string, detail?: unknown): CustomEvent<unknown>;
3
+ export declare function useSteps(): {
4
+ elementRef: HTMLElement | null;
5
+ registerSteps: () => {
6
+ ref(element: HTMLElement | null): void;
7
+ };
8
+ navigateToStep: (step: LiteralUnion<'previous' | 'next', string>) => void;
9
+ completeStep: () => void;
10
+ };
@@ -0,0 +1,14 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { Switch as WCSwitch } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-switch': WebComponentProps<WCSwitch>;
8
+ }
9
+ }
10
+ }
11
+ export declare const Switch: import("@lit/react").ReactWebComponent<WCSwitch, {
12
+ onChange: string;
13
+ }>;
14
+ export type SwitchProps = ComponentProps<typeof Switch>;
@@ -0,0 +1,2 @@
1
+ export { Switch } from './Switch';
2
+ export type { SwitchProps } from './Switch';
@@ -0,0 +1,33 @@
1
+ import { Table as WCTable } from '@loadsmart/miranda-wc';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import type { ComponentProps } from 'react';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table': WebComponentProps<HTMLElement>;
8
+ }
9
+ }
10
+ }
11
+ declare module 'react' {
12
+ interface CSSProperties {
13
+ '--m-table-border-radius'?: string;
14
+ '--m-table-border-top-left-radius'?: string;
15
+ '--m-table-border-top-right-radius'?: string;
16
+ '--m-table-border-bottom-left-radius'?: string;
17
+ '--m-table-border-bottom-right-radius'?: string;
18
+ }
19
+ }
20
+ export declare const Table: import("@lit/react").ReactWebComponent<WCTable, {}> & {
21
+ Head: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableHead, {}>;
22
+ Body: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableBody, {}>;
23
+ Foot: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableFoot, {}>;
24
+ Row: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableRow, {}>;
25
+ HeadCell: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableHeadCell, {
26
+ onSort: import("@lit/react").EventName<CustomEvent<import("@loadsmart/miranda-wc").TableHeadCellSortEventDetails>>;
27
+ }>;
28
+ Cell: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableCell, {}>;
29
+ Toolbar: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableToolbar, {}>;
30
+ Feedback: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableFeedback, {}>;
31
+ Actions: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").TableActions, {}>;
32
+ };
33
+ export type TableProps = ComponentProps<typeof Table>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableActions as WCTableActions } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-actions': WebComponentProps<WCTableActions>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableActions: import("@lit/react").ReactWebComponent<WCTableActions, {}>;
12
+ export type TableActionsProps = ComponentProps<typeof TableActions>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableBody as WCTableBody } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-body': WebComponentProps<WCTableBody>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableBody: import("@lit/react").ReactWebComponent<WCTableBody, {}>;
12
+ export type TableBodyProps = ComponentProps<typeof TableBody>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableCell as WCTableCell } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-cell': WebComponentProps<WCTableCell>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableCell: import("@lit/react").ReactWebComponent<WCTableCell, {}>;
12
+ export type TableCellProps = ComponentProps<typeof TableCell>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableFeedback as WCTableFeedback } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-feedback': WebComponentProps<WCTableFeedback>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableFeedback: import("@lit/react").ReactWebComponent<WCTableFeedback, {}>;
12
+ export type TableFeedbackProps = ComponentProps<typeof TableFeedback>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableFoot as WCTableFoot } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-foot': WebComponentProps<WCTableFoot>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableFoot: import("@lit/react").ReactWebComponent<WCTableFoot, {}>;
12
+ export type TableFootProps = ComponentProps<typeof TableFoot>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableHead as WCTableHead } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-head': WebComponentProps<WCTableHead>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableHead: import("@lit/react").ReactWebComponent<WCTableHead, {}>;
12
+ export type TableHeadProps = ComponentProps<typeof TableHead>;
@@ -0,0 +1,15 @@
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';
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ 'm-table-head-cell': WebComponentProps<WCTableHeadCell>;
9
+ }
10
+ }
11
+ }
12
+ export declare const TableHeadCell: import("@lit/react").ReactWebComponent<WCTableHeadCell, {
13
+ onSort: EventName<CustomEvent<TableHeadCellSortEventDetails>>;
14
+ }>;
15
+ export type TableHeadCellProps = ComponentProps<typeof TableHeadCell>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableRow as WCTableRow } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-row': WebComponentProps<WCTableRow>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableRow: import("@lit/react").ReactWebComponent<WCTableRow, {}>;
12
+ export type TableRowProps = ComponentProps<typeof TableRow>;
@@ -0,0 +1,12 @@
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TableToolbar as WCTableToolbar } from '@loadsmart/miranda-wc';
4
+ declare global {
5
+ namespace JSX {
6
+ interface IntrinsicElements {
7
+ 'm-table-toolbar': WebComponentProps<WCTableToolbar>;
8
+ }
9
+ }
10
+ }
11
+ export declare const TableToolbar: import("@lit/react").ReactWebComponent<WCTableToolbar, {}>;
12
+ export type TableToolbarProps = ComponentProps<typeof TableToolbar>;
@@ -0,0 +1,21 @@
1
+ export { Table } from './Table';
2
+ export { TableHead } from './TableHead';
3
+ export { TableBody } from './TableBody';
4
+ export { TableFoot } from './TableFoot';
5
+ export { TableRow } from './TableRow';
6
+ export { TableHeadCell } from './TableHeadCell';
7
+ export { TableCell } from './TableCell';
8
+ export { TableToolbar } from './TableToolbar';
9
+ export { TableFeedback } from './TableFeedback';
10
+ export { TableActions } from './TableActions';
11
+ export type { TableProps } from './Table';
12
+ export type { TableHeadProps } from './TableHead';
13
+ export type { TableBodyProps } from './TableBody';
14
+ export type { TableFootProps } from './TableFoot';
15
+ export type { TableRowProps } from './TableRow';
16
+ export type { TableHeadCellProps } from './TableHeadCell';
17
+ export type { TableCellProps } from './TableCell';
18
+ export type { TableToolbarProps } from './TableToolbar';
19
+ export type { TableFeedbackProps } from './TableFeedback';
20
+ export type { TableActionsProps } from './TableActions';
21
+ export type { TableSize, TableCellAlignment, TableSortDirection, TableHeadCellSortEventDetails, } from '@loadsmart/miranda-wc';
@@ -1,15 +1,16 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { TabProps as WCTabProps } from '@loadsmart/miranda-wc';
3
- export interface TabProps extends HTMLAttributes<HTMLElement>, WCTabProps {
4
- leading?: ReactNode;
5
- }
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { Tab as WCTab } from '@loadsmart/miranda-wc';
6
4
  declare global {
7
5
  namespace JSX {
8
6
  interface IntrinsicElements {
9
- 'm-tab': HTMLAttributes<HTMLElement> & TabProps;
7
+ 'm-tab': WebComponentProps<WCTab> & TabProps;
10
8
  }
11
9
  }
12
10
  }
13
- declare function Tab({ children, leading, ...props }: TabProps): JSX.Element;
11
+ declare const WiredTab: import("@lit/react").ReactWebComponent<WCTab, {}>;
12
+ export interface TabProps extends ComponentProps<typeof WiredTab> {
13
+ leading?: ReactNode;
14
+ }
15
+ declare const Tab: import("react").ForwardRefExoticComponent<Omit<TabProps, "ref"> & import("react").RefAttributes<WCTab>>;
14
16
  export default Tab;
15
- //# sourceMappingURL=Tab.d.ts.map
@@ -1,14 +1,13 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { TabPanelProps as WCTabPanelProps } from '@loadsmart/miranda-wc';
3
- export interface TabPanelProps extends HTMLAttributes<HTMLElement>, WCTabPanelProps {
4
- }
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
+ import { TabPanel as WCTabPanel } from '@loadsmart/miranda-wc';
5
4
  declare global {
6
5
  namespace JSX {
7
6
  interface IntrinsicElements {
8
- 'm-tab-panel': HTMLAttributes<HTMLElement> & TabPanelProps;
7
+ 'm-tab-panel': WebComponentProps<WCTabPanel>;
9
8
  }
10
9
  }
11
10
  }
12
- declare function TabPanel({ children, ...props }: TabPanelProps): JSX.Element;
11
+ declare const TabPanel: import("@lit/react").ReactWebComponent<WCTabPanel, {}>;
12
+ export type TabPanelProps = ComponentProps<typeof TabPanel>;
13
13
  export default TabPanel;
14
- //# sourceMappingURL=TabPanel.d.ts.map
@@ -1,20 +1,19 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { TabsProps as WCTabsProps } from '@loadsmart/miranda-wc';
3
- import TabPanel from './TabPanel';
4
- export interface TabsProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'>, Omit<WCTabsProps, 'm-tab-change'> {
5
- onTabChange?: WCTabsProps['m-tab-change'];
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';
7
5
  declare global {
8
6
  namespace JSX {
9
7
  interface IntrinsicElements {
10
- 'm-tabs': HTMLAttributes<HTMLElement>;
8
+ 'm-tabs': WebComponentProps<HTMLElement>;
11
9
  }
12
10
  }
13
11
  }
14
- declare function Tabs({ children, ...props }: TabsProps): JSX.Element;
15
- declare namespace Tabs {
16
- var Tab: typeof import("./Tab").default;
17
- var Panel: typeof TabPanel;
18
- }
12
+ declare const Tabs: import("@lit/react").ReactWebComponent<WCTabs, {
13
+ onTabChange: EventName<CustomEvent<TabChangeEventDetail>>;
14
+ }> & {
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, {}>;
17
+ };
18
+ export type TabsProps = ComponentProps<typeof Tabs>;
19
19
  export default Tabs;
20
- //# sourceMappingURL=Tabs.d.ts.map
@@ -5,4 +5,3 @@ export type { TabsProps } from './Tabs';
5
5
  export type { TabProps } from './Tab';
6
6
  export type { TabPanelProps } from './TabPanel';
7
7
  export type { TabContentDirection } from '@loadsmart/miranda-wc';
8
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,20 @@
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { EventName, WebComponentProps } from '@lit/react';
3
+ import { ActionableTag as WCActionableTag } from '@loadsmart/miranda-wc';
4
+ import type { ActionableTagChangeEventDetail } from '@loadsmart/miranda-wc';
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ 'm-actionable-tag': WebComponentProps<WCActionableTag>;
9
+ }
10
+ }
11
+ }
12
+ declare const WiredActionableTag: import("@lit/react").ReactWebComponent<WCActionableTag, {
13
+ onChange: EventName<CustomEvent<ActionableTagChangeEventDetail>>;
14
+ onRemove: EventName<CustomEvent<any>>;
15
+ }>;
16
+ export type ActionableTagProps = ComponentProps<typeof WiredActionableTag> & {
17
+ leading?: ReactNode;
18
+ };
19
+ declare const ActionableTag: import("react").ForwardRefExoticComponent<Omit<ActionableTagProps, "ref"> & import("react").RefAttributes<WCActionableTag>>;
20
+ export default ActionableTag;
@@ -1,19 +1,16 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- import type { TagProps as WCTagProps, TagVariant, TagSize } from '@loadsmart/miranda-wc';
1
+ import type { ReactNode, ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
3
3
  import { Tag as WCTag } from '@loadsmart/miranda-wc';
4
- export interface TagProps extends HTMLAttributes<HTMLSpanElement>, WCTagProps {
5
- leading?: ReactNode;
6
- isSkeleton?: boolean;
7
- variant?: TagVariant;
8
- size?: TagSize;
9
- }
10
4
  declare global {
11
5
  namespace JSX {
12
6
  interface IntrinsicElements {
13
- 'm-tag': HTMLAttributes<WCTag> & WCTagProps;
7
+ 'm-tag': WebComponentProps<WCTag>;
14
8
  }
15
9
  }
16
10
  }
17
- declare function Tag(props: TagProps): JSX.Element;
11
+ declare const WiredTag: import("@lit/react").ReactWebComponent<WCTag, {}>;
12
+ export type TagProps = ComponentProps<typeof WiredTag> & {
13
+ leading?: ReactNode;
14
+ };
15
+ declare const Tag: import("react").ForwardRefExoticComponent<Omit<TagProps, "ref"> & import("react").RefAttributes<WCTag>>;
18
16
  export default Tag;
19
- //# sourceMappingURL=Tag.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export { default as Tag } from './Tag';
2
2
  export type { TagProps } from './Tag';
3
- //# sourceMappingURL=index.d.ts.map
3
+ export { default as ActionableTag } from './ActionableTag';
4
+ export type { ActionableTagProps } from './ActionableTag';
@@ -1,21 +1,19 @@
1
- import * as React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- import type { TextProps as WCTextProps } from '@loadsmart/miranda-wc';
1
+ import type { ComponentProps } from 'react';
2
+ import type { WebComponentProps } from '@lit/react';
4
3
  import { Text as WCText } from '@loadsmart/miranda-wc';
5
- type WCTextType = Omit<HTMLAttributes<WCText>, 'color'>;
6
- export interface TextProps extends WCTextType, WCTextProps {
7
- style?: React.CSSProperties & {
8
- '--m-text-display'?: string;
9
- '--m-text-max-width'?: string;
10
- };
11
- }
12
4
  declare global {
13
5
  namespace JSX {
14
6
  interface IntrinsicElements {
15
- 'm-text': HTMLAttributes<WCText>;
7
+ 'm-text': WebComponentProps<WCText>;
16
8
  }
17
9
  }
18
10
  }
19
- declare function Text({ children, ...rest }: TextProps): JSX.Element;
11
+ declare module 'react' {
12
+ interface CSSProperties {
13
+ '--m-text-display'?: string;
14
+ '--m-text-max-width'?: string;
15
+ }
16
+ }
17
+ declare const Text: import("@lit/react").ReactWebComponent<WCText, {}>;
18
+ export type TextProps = ComponentProps<typeof Text>;
20
19
  export default Text;
21
- //# sourceMappingURL=Text.d.ts.map