@loadsmart/miranda-react 1.31.1 → 1.33.0

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 (123) hide show
  1. package/dist/components/Banner/Banner.d.ts +14 -21
  2. package/dist/components/Banner/Banner.d.ts.map +1 -1
  3. package/dist/components/Banner/BannerActionPrimary.d.ts +9 -8
  4. package/dist/components/Banner/BannerActionPrimary.d.ts.map +1 -1
  5. package/dist/components/Banner/BannerActionSecondary.d.ts +10 -9
  6. package/dist/components/Banner/BannerActionSecondary.d.ts.map +1 -1
  7. package/dist/components/Banner/BannerActions.d.ts +6 -10
  8. package/dist/components/Banner/BannerActions.d.ts.map +1 -1
  9. package/dist/components/Banner/BannerDescription.d.ts +6 -10
  10. package/dist/components/Banner/BannerDescription.d.ts.map +1 -1
  11. package/dist/components/Banner/BannerIcon.d.ts +6 -10
  12. package/dist/components/Banner/BannerIcon.d.ts.map +1 -1
  13. package/dist/components/Banner/BannerTitle.d.ts +6 -10
  14. package/dist/components/Banner/BannerTitle.d.ts.map +1 -1
  15. package/dist/components/Button/Button.d.ts +8 -7
  16. package/dist/components/Button/Button.d.ts.map +1 -1
  17. package/dist/components/Card/Card.d.ts +12 -15
  18. package/dist/components/Card/Card.d.ts.map +1 -1
  19. package/dist/components/Card/CardBody.d.ts +6 -5
  20. package/dist/components/Card/CardBody.d.ts.map +1 -1
  21. package/dist/components/Card/CardDivider.d.ts +6 -6
  22. package/dist/components/Card/CardDivider.d.ts.map +1 -1
  23. package/dist/components/Card/CardSubtitle.d.ts +6 -5
  24. package/dist/components/Card/CardSubtitle.d.ts.map +1 -1
  25. package/dist/components/Card/CardTitle.d.ts +9 -6
  26. package/dist/components/Card/CardTitle.d.ts.map +1 -1
  27. package/dist/components/Checkbox/Checkbox.d.ts +10 -9
  28. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  29. package/dist/components/Dialog/Dialog.d.ts +30 -50
  30. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  31. package/dist/components/Dialog/DialogActionPrimary.d.ts +9 -8
  32. package/dist/components/Dialog/DialogActionPrimary.d.ts.map +1 -1
  33. package/dist/components/Dialog/DialogActionSecondary.d.ts +9 -8
  34. package/dist/components/Dialog/DialogActionSecondary.d.ts.map +1 -1
  35. package/dist/components/Dialog/DialogActionTertiary.d.ts +9 -8
  36. package/dist/components/Dialog/DialogActionTertiary.d.ts.map +1 -1
  37. package/dist/components/Dialog/DialogActions.d.ts +5 -4
  38. package/dist/components/Dialog/DialogActions.d.ts.map +1 -1
  39. package/dist/components/Dialog/DialogBody.d.ts +5 -4
  40. package/dist/components/Dialog/DialogBody.d.ts.map +1 -1
  41. package/dist/components/Dialog/DialogClose.d.ts +7 -8
  42. package/dist/components/Dialog/DialogClose.d.ts.map +1 -1
  43. package/dist/components/Dialog/DialogFooter.d.ts +5 -4
  44. package/dist/components/Dialog/DialogFooter.d.ts.map +1 -1
  45. package/dist/components/Dialog/DialogHeader.d.ts +5 -4
  46. package/dist/components/Dialog/DialogHeader.d.ts.map +1 -1
  47. package/dist/components/Divider/Divider.d.ts +12 -11
  48. package/dist/components/Divider/Divider.d.ts.map +1 -1
  49. package/dist/components/Field/Field.d.ts +8 -10
  50. package/dist/components/Field/Field.d.ts.map +1 -1
  51. package/dist/components/Field/FieldHint.d.ts +9 -6
  52. package/dist/components/Field/FieldHint.d.ts.map +1 -1
  53. package/dist/components/Field/FieldLabel.d.ts +6 -5
  54. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  55. package/dist/components/Header/Header.d.ts +11 -18
  56. package/dist/components/Header/Header.d.ts.map +1 -1
  57. package/dist/components/Header/HeaderActions.d.ts +5 -9
  58. package/dist/components/Header/HeaderActions.d.ts.map +1 -1
  59. package/dist/components/Header/HeaderBackButton.d.ts +3 -8
  60. package/dist/components/Header/HeaderBackButton.d.ts.map +1 -1
  61. package/dist/components/Header/HeaderContent.d.ts +5 -9
  62. package/dist/components/Header/HeaderContent.d.ts.map +1 -1
  63. package/dist/components/Header/HeaderTitle.d.ts +5 -9
  64. package/dist/components/Header/HeaderTitle.d.ts.map +1 -1
  65. package/dist/components/Header/SubHeader.d.ts +5 -9
  66. package/dist/components/Header/SubHeader.d.ts.map +1 -1
  67. package/dist/components/Layout/Box.d.ts +6 -5
  68. package/dist/components/Layout/Box.d.ts.map +1 -1
  69. package/dist/components/Layout/Grid.d.ts +6 -5
  70. package/dist/components/Layout/Grid.d.ts.map +1 -1
  71. package/dist/components/Layout/Group.d.ts +6 -5
  72. package/dist/components/Layout/Group.d.ts.map +1 -1
  73. package/dist/components/Layout/Layout.d.ts +9 -12
  74. package/dist/components/Layout/Layout.d.ts.map +1 -1
  75. package/dist/components/Layout/Sidebar.d.ts +11 -11
  76. package/dist/components/Layout/Sidebar.d.ts.map +1 -1
  77. package/dist/components/Layout/Stack.d.ts +6 -6
  78. package/dist/components/Layout/Stack.d.ts.map +1 -1
  79. package/dist/components/Layout/Switcher.d.ts +6 -6
  80. package/dist/components/Layout/Switcher.d.ts.map +1 -1
  81. package/dist/components/Link/Link.d.ts +5 -86
  82. package/dist/components/Link/Link.d.ts.map +1 -1
  83. package/dist/components/PageContent/Body.d.ts +13 -0
  84. package/dist/components/PageContent/Body.d.ts.map +1 -0
  85. package/dist/components/PageContent/PageContent.d.ts +13 -0
  86. package/dist/components/PageContent/PageContent.d.ts.map +1 -0
  87. package/dist/components/PageContent/index.d.ts +2 -0
  88. package/dist/components/PageContent/index.d.ts.map +1 -0
  89. package/dist/components/ProgressBar/ProgressBar.d.ts +6 -6
  90. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  91. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts +5 -6
  92. package/dist/components/ProgressBarCountdown/ProgressBarCountdown.d.ts.map +1 -1
  93. package/dist/components/RadioGroup/Radio.d.ts +7 -6
  94. package/dist/components/RadioGroup/Radio.d.ts.map +1 -1
  95. package/dist/components/RadioGroup/RadioGroup.d.ts +7 -12
  96. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  97. package/dist/components/Section/Section.d.ts +9 -9
  98. package/dist/components/Section/Section.d.ts.map +1 -1
  99. package/dist/components/Section/SectionTitle.d.ts +9 -7
  100. package/dist/components/Section/SectionTitle.d.ts.map +1 -1
  101. package/dist/components/Tabs/Tab.d.ts +8 -6
  102. package/dist/components/Tabs/Tab.d.ts.map +1 -1
  103. package/dist/components/Tabs/TabPanel.d.ts +6 -6
  104. package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
  105. package/dist/components/Tabs/Tabs.d.ts +13 -12
  106. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  107. package/dist/components/Tag/Tag.d.ts +7 -9
  108. package/dist/components/Tag/Tag.d.ts.map +1 -1
  109. package/dist/components/Text/Text.d.ts +11 -12
  110. package/dist/components/Text/Text.d.ts.map +1 -1
  111. package/dist/components/TextField/TextField.d.ts +13 -9
  112. package/dist/components/TextField/TextField.d.ts.map +1 -1
  113. package/dist/components/ToggleGroup/Toggle.d.ts +8 -6
  114. package/dist/components/ToggleGroup/Toggle.d.ts.map +1 -1
  115. package/dist/components/ToggleGroup/ToggleGroup.d.ts +16 -12
  116. package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  117. package/dist/components/Tooltip/Tooltip.d.ts +10 -9
  118. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  119. package/dist/index.js +2 -2
  120. package/dist/index.js.map +1 -1
  121. package/dist/utils/createComponent.d.ts +10 -44
  122. package/dist/utils/createComponent.d.ts.map +1 -1
  123. package/package.json +2 -2
@@ -1,46 +1,12 @@
1
- /**
2
- * FIXME: Replace this with @lit-labs/react's createComponent
3
- * when [this](https://github.com/lit/lit/issues/3329) issue is fixed.
4
- */
5
- /// <reference types="trusted-types" />
6
- import type { HTMLAttributes, ReactNode } from 'react';
7
- type Constructor<T> = {
8
- new (): T;
9
- };
10
- /***
11
- * Typecast that curries an Event type through a string. The goal of the type
12
- * cast is to match a prop name to a typed event callback.
13
- */
14
- export type EventName<T extends Event = Event> = string & {
15
- __event_type: T;
16
- };
17
- type Events = Record<string, EventName | string>;
18
- type EventProps<R extends Events> = {
19
- [K in keyof R]: R[K] extends EventName ? (e: R[K]['__event_type']) => void : (e: Event) => void;
20
- };
21
- /**
22
- * Creates a React component for a custom element. Properties are distinguished
23
- * from attributes automatically, and events can be configured so they are
24
- * added to the custom element as event listeners.
25
- *
26
- * @param React The React module, typically imported from the `react` npm
27
- * package.
28
- * @param tagName The custom element tag name registered via
29
- * `customElements.define`.
30
- * @param elementClass The custom element class registered via
31
- * `customElements.define`.
32
- * @param events An object listing events to which the component can listen. The
33
- * object keys are the event property names passed in via React props and the
34
- * object values are the names of the corresponding events generated by the
35
- * custom element. For example, given `{onactivate: 'activate'}` an event
36
- * function may be passed via the component's `onactivate` prop and will be
37
- * called when the custom element fires its `activate` event.
38
- * @param displayName A React component display name, used in debugging
39
- * messages. Default value is inferred from the name of custom element class
40
- * registered via `customElements.define`.
41
- */
42
- export declare const createComponent: <I extends HTMLElement, E extends Events = {}>(React: typeof React, tagName: string, elementClass: Constructor<I>, events?: E | undefined, displayName?: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Partial<Omit<HTMLAttributes<I>, keyof E> & Omit<I, keyof E | Exclude<"children", keyof E> | Exclude<"style", keyof E> | Exclude<"className", keyof E> | Exclude<"defaultChecked", keyof E> | Exclude<"defaultValue", keyof E> | Exclude<"suppressContentEditableWarning", keyof E> | Exclude<"suppressHydrationWarning", keyof E> | Exclude<"accessKey", keyof E> | Exclude<"autoFocus", keyof E> | Exclude<"contentEditable", keyof E> | Exclude<"contextMenu", keyof E> | Exclude<"dir", keyof E> | Exclude<"draggable", keyof E> | Exclude<"hidden", keyof E> | Exclude<"id", keyof E> | Exclude<"lang", keyof E> | Exclude<"nonce", keyof E> | Exclude<"placeholder", keyof E> | Exclude<"slot", keyof E> | Exclude<"spellCheck", keyof E> | Exclude<"tabIndex", keyof E> | Exclude<"title", keyof E> | Exclude<"translate", keyof E> | Exclude<"radioGroup", keyof E> | Exclude<"role", keyof E> | Exclude<"about", keyof E> | Exclude<"content", keyof E> | Exclude<"datatype", keyof E> | Exclude<"inlist", keyof E> | Exclude<"prefix", keyof E> | Exclude<"property", keyof E> | Exclude<"rel", keyof E> | Exclude<"resource", keyof E> | Exclude<"rev", keyof E> | Exclude<"typeof", keyof E> | Exclude<"vocab", keyof E> | Exclude<"autoCapitalize", keyof E> | Exclude<"autoCorrect", keyof E> | Exclude<"autoSave", keyof E> | Exclude<"color", keyof E> | Exclude<"itemProp", keyof E> | Exclude<"itemScope", keyof E> | Exclude<"itemType", keyof E> | Exclude<"itemID", keyof E> | Exclude<"itemRef", keyof E> | Exclude<"results", keyof E> | Exclude<"security", keyof E> | Exclude<"unselectable", keyof E> | Exclude<"inputMode", keyof E> | Exclude<"is", keyof E> | Exclude<"aria-activedescendant", keyof E> | Exclude<"aria-atomic", keyof E> | Exclude<"aria-autocomplete", keyof E> | Exclude<"aria-busy", keyof E> | Exclude<"aria-checked", keyof E> | Exclude<"aria-colcount", keyof E> | Exclude<"aria-colindex", keyof E> | Exclude<"aria-colspan", keyof E> | Exclude<"aria-controls", keyof E> | Exclude<"aria-current", keyof E> | Exclude<"aria-describedby", keyof E> | Exclude<"aria-details", keyof E> | Exclude<"aria-disabled", keyof E> | Exclude<"aria-dropeffect", keyof E> | Exclude<"aria-errormessage", keyof E> | Exclude<"aria-expanded", keyof E> | Exclude<"aria-flowto", keyof E> | Exclude<"aria-grabbed", keyof E> | Exclude<"aria-haspopup", keyof E> | Exclude<"aria-hidden", keyof E> | Exclude<"aria-invalid", keyof E> | Exclude<"aria-keyshortcuts", keyof E> | Exclude<"aria-label", keyof E> | Exclude<"aria-labelledby", keyof E> | Exclude<"aria-level", keyof E> | Exclude<"aria-live", keyof E> | Exclude<"aria-modal", keyof E> | Exclude<"aria-multiline", keyof E> | Exclude<"aria-multiselectable", keyof E> | Exclude<"aria-orientation", keyof E> | Exclude<"aria-owns", keyof E> | Exclude<"aria-placeholder", keyof E> | Exclude<"aria-posinset", keyof E> | Exclude<"aria-pressed", keyof E> | Exclude<"aria-readonly", keyof E> | Exclude<"aria-relevant", keyof E> | Exclude<"aria-required", keyof E> | Exclude<"aria-roledescription", keyof E> | Exclude<"aria-rowcount", keyof E> | Exclude<"aria-rowindex", keyof E> | Exclude<"aria-rowspan", keyof E> | Exclude<"aria-selected", keyof E> | Exclude<"aria-setsize", keyof E> | Exclude<"aria-sort", keyof E> | Exclude<"aria-valuemax", keyof E> | Exclude<"aria-valuemin", keyof E> | Exclude<"aria-valuenow", keyof E> | Exclude<"aria-valuetext", keyof E> | Exclude<"dangerouslySetInnerHTML", keyof E> | Exclude<"onCopy", keyof E> | Exclude<"onCopyCapture", keyof E> | Exclude<"onCut", keyof E> | Exclude<"onCutCapture", keyof E> | Exclude<"onPaste", keyof E> | Exclude<"onPasteCapture", keyof E> | Exclude<"onCompositionEnd", keyof E> | Exclude<"onCompositionEndCapture", keyof E> | Exclude<"onCompositionStart", keyof E> | Exclude<"onCompositionStartCapture", keyof E> | Exclude<"onCompositionUpdate", keyof E> | Exclude<"onCompositionUpdateCapture", keyof E> | Exclude<"onFocus", keyof E> | Exclude<"onFocusCapture", keyof E> | Exclude<"onBlur", keyof E> | Exclude<"onBlurCapture", keyof E> | Exclude<"onChange", keyof E> | Exclude<"onChangeCapture", keyof E> | Exclude<"onBeforeInput", keyof E> | Exclude<"onBeforeInputCapture", keyof E> | Exclude<"onInput", keyof E> | Exclude<"onInputCapture", keyof E> | Exclude<"onReset", keyof E> | Exclude<"onResetCapture", keyof E> | Exclude<"onSubmit", keyof E> | Exclude<"onSubmitCapture", keyof E> | Exclude<"onInvalid", keyof E> | Exclude<"onInvalidCapture", keyof E> | Exclude<"onLoad", keyof E> | Exclude<"onLoadCapture", keyof E> | Exclude<"onError", keyof E> | Exclude<"onErrorCapture", keyof E> | Exclude<"onKeyDown", keyof E> | Exclude<"onKeyDownCapture", keyof E> | Exclude<"onKeyPress", keyof E> | Exclude<"onKeyPressCapture", keyof E> | Exclude<"onKeyUp", keyof E> | Exclude<"onKeyUpCapture", keyof E> | Exclude<"onAbort", keyof E> | Exclude<"onAbortCapture", keyof E> | Exclude<"onCanPlay", keyof E> | Exclude<"onCanPlayCapture", keyof E> | Exclude<"onCanPlayThrough", keyof E> | Exclude<"onCanPlayThroughCapture", keyof E> | Exclude<"onDurationChange", keyof E> | Exclude<"onDurationChangeCapture", keyof E> | Exclude<"onEmptied", keyof E> | Exclude<"onEmptiedCapture", keyof E> | Exclude<"onEncrypted", keyof E> | Exclude<"onEncryptedCapture", keyof E> | Exclude<"onEnded", keyof E> | Exclude<"onEndedCapture", keyof E> | Exclude<"onLoadedData", keyof E> | Exclude<"onLoadedDataCapture", keyof E> | Exclude<"onLoadedMetadata", keyof E> | Exclude<"onLoadedMetadataCapture", keyof E> | Exclude<"onLoadStart", keyof E> | Exclude<"onLoadStartCapture", keyof E> | Exclude<"onPause", keyof E> | Exclude<"onPauseCapture", keyof E> | Exclude<"onPlay", keyof E> | Exclude<"onPlayCapture", keyof E> | Exclude<"onPlaying", keyof E> | Exclude<"onPlayingCapture", keyof E> | Exclude<"onProgress", keyof E> | Exclude<"onProgressCapture", keyof E> | Exclude<"onRateChange", keyof E> | Exclude<"onRateChangeCapture", keyof E> | Exclude<"onSeeked", keyof E> | Exclude<"onSeekedCapture", keyof E> | Exclude<"onSeeking", keyof E> | Exclude<"onSeekingCapture", keyof E> | Exclude<"onStalled", keyof E> | Exclude<"onStalledCapture", keyof E> | Exclude<"onSuspend", keyof E> | Exclude<"onSuspendCapture", keyof E> | Exclude<"onTimeUpdate", keyof E> | Exclude<"onTimeUpdateCapture", keyof E> | Exclude<"onVolumeChange", keyof E> | Exclude<"onVolumeChangeCapture", keyof E> | Exclude<"onWaiting", keyof E> | Exclude<"onWaitingCapture", keyof E> | Exclude<"onAuxClick", keyof E> | Exclude<"onAuxClickCapture", keyof E> | Exclude<"onClick", keyof E> | Exclude<"onClickCapture", keyof E> | Exclude<"onContextMenu", keyof E> | Exclude<"onContextMenuCapture", keyof E> | Exclude<"onDoubleClick", keyof E> | Exclude<"onDoubleClickCapture", keyof E> | Exclude<"onDrag", keyof E> | Exclude<"onDragCapture", keyof E> | Exclude<"onDragEnd", keyof E> | Exclude<"onDragEndCapture", keyof E> | Exclude<"onDragEnter", keyof E> | Exclude<"onDragEnterCapture", keyof E> | Exclude<"onDragExit", keyof E> | Exclude<"onDragExitCapture", keyof E> | Exclude<"onDragLeave", keyof E> | Exclude<"onDragLeaveCapture", keyof E> | Exclude<"onDragOver", keyof E> | Exclude<"onDragOverCapture", keyof E> | Exclude<"onDragStart", keyof E> | Exclude<"onDragStartCapture", keyof E> | Exclude<"onDrop", keyof E> | Exclude<"onDropCapture", keyof E> | Exclude<"onMouseDown", keyof E> | Exclude<"onMouseDownCapture", keyof E> | Exclude<"onMouseEnter", keyof E> | Exclude<"onMouseLeave", keyof E> | Exclude<"onMouseMove", keyof E> | Exclude<"onMouseMoveCapture", keyof E> | Exclude<"onMouseOut", keyof E> | Exclude<"onMouseOutCapture", keyof E> | Exclude<"onMouseOver", keyof E> | Exclude<"onMouseOverCapture", keyof E> | Exclude<"onMouseUp", keyof E> | Exclude<"onMouseUpCapture", keyof E> | Exclude<"onSelect", keyof E> | Exclude<"onSelectCapture", keyof E> | Exclude<"onTouchCancel", keyof E> | Exclude<"onTouchCancelCapture", keyof E> | Exclude<"onTouchEnd", keyof E> | Exclude<"onTouchEndCapture", keyof E> | Exclude<"onTouchMove", keyof E> | Exclude<"onTouchMoveCapture", keyof E> | Exclude<"onTouchStart", keyof E> | Exclude<"onTouchStartCapture", keyof E> | Exclude<"onPointerDown", keyof E> | Exclude<"onPointerDownCapture", keyof E> | Exclude<"onPointerMove", keyof E> | Exclude<"onPointerMoveCapture", keyof E> | Exclude<"onPointerUp", keyof E> | Exclude<"onPointerUpCapture", keyof E> | Exclude<"onPointerCancel", keyof E> | Exclude<"onPointerCancelCapture", keyof E> | Exclude<"onPointerEnter", keyof E> | Exclude<"onPointerEnterCapture", keyof E> | Exclude<"onPointerLeave", keyof E> | Exclude<"onPointerLeaveCapture", keyof E> | Exclude<"onPointerOver", keyof E> | Exclude<"onPointerOverCapture", keyof E> | Exclude<"onPointerOut", keyof E> | Exclude<"onPointerOutCapture", keyof E> | Exclude<"onGotPointerCapture", keyof E> | Exclude<"onGotPointerCaptureCapture", keyof E> | Exclude<"onLostPointerCapture", keyof E> | Exclude<"onLostPointerCaptureCapture", keyof E> | Exclude<"onScroll", keyof E> | Exclude<"onScrollCapture", keyof E> | Exclude<"onWheel", keyof E> | Exclude<"onWheelCapture", keyof E> | Exclude<"onAnimationStart", keyof E> | Exclude<"onAnimationStartCapture", keyof E> | Exclude<"onAnimationEnd", keyof E> | Exclude<"onAnimationEndCapture", keyof E> | Exclude<"onAnimationIteration", keyof E> | Exclude<"onAnimationIterationCapture", keyof E> | Exclude<"onTransitionEnd", keyof E> | Exclude<"onTransitionEndCapture", keyof E>> & EventProps<E> & {
43
- children?: ReactNode;
44
- }>> & React.RefAttributes<unknown>>;
1
+ import type { EventName } from '@lit-labs/react';
2
+ type EventNames = Record<string, EventName | string>;
3
+ type Constructor<T> = new () => T;
4
+ export declare const createComponent: <I extends HTMLElement, E extends EventNames = {}, SubComponents extends Record<string, unknown> = {}>({ tagName, elementClass, events, displayName, subComponents, }: {
5
+ tagName: string;
6
+ elementClass: Constructor<I>;
7
+ events?: E | undefined;
8
+ displayName?: string | undefined;
9
+ subComponents?: SubComponents | undefined;
10
+ }) => import("@lit-labs/react").ReactWebComponent<I, E> & SubComponents;
45
11
  export {};
46
12
  //# sourceMappingURL=createComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../src/utils/createComponent.ts"],"names":[],"mappings":"AAEA;;;GAGG;;AAGH,OAAO,KAAK,EAEX,cAAc,EAGd,SAAS,EACT,MAAM,OAAO,CAAC;AAsFf,KAAK,WAAW,CAAC,CAAC,IAAI;IAAE,QAAQ,CAAC,CAAA;CAAE,CAAC;AAEpC;;;GAGG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG;IACzD,YAAY,EAAE,CAAC,CAAC;CAChB,CAAC;AAEF,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,CAAC;AAEjD,KAAK,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI;KAClC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,GACnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,IAAI,GACjC,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,eAAe,+EAElB,MAAM,sEAGD,MAAM;eAWW,SAAS;mCAqHxC,CAAC"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../../src/utils/createComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,CAAC;AAErD,KAAK,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC;AAElC,eAAO,MAAM,eAAe;aAalB,MAAM;;;;;uEAsBf,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loadsmart/miranda-react",
3
- "version": "1.31.1",
3
+ "version": "1.33.0",
4
4
  "description": "React component library based on Miranda Web Components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@lit-labs/react": "^1.1.1"
49
+ "@lit-labs/react": "^2.0.1"
50
50
  },
51
51
  "directories": {
52
52
  "test": "tests"