@loadsmart/miranda-react
Advanced tools
Comparing version 3.0.0-beta.21 to 3.0.0-beta.22
@@ -12,3 +12,3 @@ import type { ComponentProps } from 'react'; | ||
export declare const Banner: import("@lit/react").ReactWebComponent<WCBanner, { | ||
onDismiss: EventName<CustomEvent<any>>; | ||
onDismiss: EventName<CustomEvent>; | ||
}> & { | ||
@@ -15,0 +15,0 @@ ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./BannerActionPrimary").BannerActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").BannerActionPrimary>>; |
@@ -12,7 +12,7 @@ import type { ComponentProps } from 'react'; | ||
export declare const Dialog: import("@lit/react").ReactWebComponent<WCDialog, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onOpening: EventName<CustomEvent<any>>; | ||
onOpened: EventName<CustomEvent<any>>; | ||
onClosing: EventName<CustomEvent<any>>; | ||
onClosed: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
onOpening: EventName<CustomEvent>; | ||
onOpened: EventName<CustomEvent>; | ||
onClosing: EventName<CustomEvent>; | ||
onClosed: EventName<CustomEvent>; | ||
}> & { | ||
@@ -25,3 +25,3 @@ ActionPrimary: import("react").ForwardRefExoticComponent<Omit<import("./DialogActionPrimary").DialogActionPrimaryProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DialogActionPrimary>>; | ||
Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogClose, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
}>; | ||
@@ -28,0 +28,0 @@ Footer: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DialogFooter, {}>; |
@@ -12,4 +12,4 @@ import type { ComponentProps } from 'react'; | ||
export declare const DialogClose: import("@lit/react").ReactWebComponent<WCDialogClose, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
}>; | ||
export type DialogCloseProps = ComponentProps<typeof DialogClose>; |
@@ -15,7 +15,7 @@ import type { ComponentProps } from 'react'; | ||
export declare const Drawer: import("@lit/react").ReactWebComponent<WCDrawer, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onOpening: EventName<CustomEvent<any>>; | ||
onOpened: EventName<CustomEvent<any>>; | ||
onClosing: EventName<CustomEvent<any>>; | ||
onClosed: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
onOpening: EventName<CustomEvent>; | ||
onOpened: EventName<CustomEvent>; | ||
onClosing: EventName<CustomEvent>; | ||
onClosed: EventName<CustomEvent>; | ||
}> & { | ||
@@ -28,3 +28,3 @@ ActionPrimary: typeof DrawerActionPrimary; | ||
Close: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerClose, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
}>; | ||
@@ -31,0 +31,0 @@ Header: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").DrawerHeader, {}>; |
@@ -12,4 +12,4 @@ import type { ComponentProps } from 'react'; | ||
export declare const DrawerClose: import("@lit/react").ReactWebComponent<WCDrawerClose, { | ||
onClose: EventName<CustomEvent<any>>; | ||
onClose: EventName<CustomEvent>; | ||
}>; | ||
export type DrawerCloseProps = ComponentProps<typeof DrawerClose>; |
@@ -12,4 +12,4 @@ import type { ComponentProps } from 'react'; | ||
export declare const Dropdown: import("@lit/react").ReactWebComponent<WCDropdown, { | ||
onExpand: EventName<CustomEvent<any>>; | ||
onCollapse: EventName<CustomEvent<any>>; | ||
onExpand: EventName<CustomEvent>; | ||
onCollapse: EventName<CustomEvent>; | ||
}> & { | ||
@@ -16,0 +16,0 @@ Item: import("react").ForwardRefExoticComponent<Omit<import("./DropdownItem").DropdownItemProps, "ref"> & import("react").RefAttributes<import("@loadsmart/miranda-wc").DropdownItem>>; |
@@ -12,3 +12,3 @@ import type { ComponentProps } from 'react'; | ||
export declare const EmptyState: import("@lit/react").ReactWebComponent<WCEmptyState, { | ||
onAction: EventName<CustomEvent<any>>; | ||
onAction: EventName<CustomEvent>; | ||
}> & { | ||
@@ -15,0 +15,0 @@ Illustration: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").EmptyStateIllustration, {}>; |
@@ -13,4 +13,4 @@ import { Select as WCSelect } from '@loadsmart/miranda-wc'; | ||
declare const WiredSelect: import("@lit/react").ReactWebComponent<WCSelect, { | ||
onExpand: EventName<CustomEvent<any>>; | ||
onCollapse: EventName<CustomEvent<any>>; | ||
onExpand: EventName<CustomEvent>; | ||
onCollapse: EventName<CustomEvent>; | ||
onChange: EventName<MirandaChangeEvent<WCSelect>>; | ||
@@ -17,0 +17,0 @@ }>; |
@@ -14,6 +14,6 @@ import type { ComponentProps } from 'react'; | ||
onChange: EventName<CustomEvent<StepChangeEventDetail>>; | ||
onComplete: EventName<CustomEvent<any>>; | ||
onComplete: EventName<CustomEvent>; | ||
onNavigate: EventName<CustomEvent<StepNavigateEventDetail>>; | ||
onNext: EventName<CustomEvent<any>>; | ||
onPrevious: EventName<CustomEvent<any>>; | ||
onNext: EventName<CustomEvent>; | ||
onPrevious: EventName<CustomEvent>; | ||
}> & { | ||
@@ -20,0 +20,0 @@ Step: import("@lit/react").ReactWebComponent<import("@loadsmart/miranda-wc").Step, {}>; |
@@ -8,4 +8,4 @@ import type { LiteralUnion } from '../../utils/types'; | ||
}; | ||
navigateToStep: (step: LiteralUnion<'previous' | 'next', string>) => void; | ||
navigateToStep: (step: LiteralUnion<"previous" | "next", string>) => void; | ||
completeStep: () => void; | ||
}; |
@@ -14,3 +14,3 @@ import { ActionableTag as WCActionableTag } from '@loadsmart/miranda-wc'; | ||
onChange: EventName<MirandaChangeEvent<WCActionableTag>>; | ||
onRemove: EventName<CustomEvent<any>>; | ||
onRemove: EventName<CustomEvent>; | ||
}>; | ||
@@ -17,0 +17,0 @@ export type ActionableTagProps = ComponentProps<typeof WiredActionableTag> & { |
@@ -15,3 +15,3 @@ import { TextField as WCTextField } from '@loadsmart/miranda-wc'; | ||
onChange: EventName<MirandaChangeEvent<WCTextField>>; | ||
onClear: EventName<CustomEvent<any>>; | ||
onClear: EventName<CustomEvent>; | ||
}>; | ||
@@ -18,0 +18,0 @@ export type TextFieldProps = ComponentProps<typeof WiredTextField> & { |
@@ -8,43 +8,20 @@ import { AccordionTitle as AccordionTitle$1, AccordionContent as AccordionContent$1, Accordion as Accordion$1, Badge as Badge$1, BannerActionPrimary as BannerActionPrimary$1, BannerActions as BannerActions$1, BannerActionSecondary as BannerActionSecondary$1, BannerDescription as BannerDescription$1, BannerIcon as BannerIcon$1, BannerTitle as BannerTitle$1, Banner as Banner$1, Button as Button$1, CardTitle as CardTitle$1, CardSubtitle as CardSubtitle$1, CardBody as CardBody$1, CardDivider as CardDivider$1, CardActionPrimary as CardActionPrimary$1, CardActionSecondary as CardActionSecondary$1, CardActionTertiary as CardActionTertiary$1, CardFooter as CardFooter$1, Card as Card$1, Checkbox as Checkbox$1, DialogActionPrimary as DialogActionPrimary$1, DialogActionSecondary as DialogActionSecondary$1, DialogActionTertiary as DialogActionTertiary$1, DialogActions as DialogActions$1, DialogBody as DialogBody$1, DialogClose as DialogClose$1, DialogFooter as DialogFooter$1, DialogHeader as DialogHeader$1, Dialog as Dialog$1, Divider as Divider$1, DrawerActionPrimary as DrawerActionPrimary$1, DrawerActionSecondary as DrawerActionSecondary$1, DrawerActionTertiary as DrawerActionTertiary$1, DrawerActions as DrawerActions$1, DrawerBody as DrawerBody$1, DrawerClose as DrawerClose$1, DrawerHeader as DrawerHeader$1, Drawer as Drawer$1, DropdownItem as DropdownItem$1, DropdownMenu as DropdownMenu$1, DropdownTrigger as DropdownTrigger$1, Dropdown as Dropdown$1, EmptyStateIllustration as EmptyStateIllustration$1, EmptyStateHeader as EmptyStateHeader$1, EmptyStateMessage as EmptyStateMessage$1, EmptyStateAction as EmptyStateAction$1, EmptyState as EmptyState$1, FieldLabel as FieldLabel$1, FieldHint as FieldHint$1, Field as Field$1, HeaderActions as HeaderActions$1, HeaderContent as HeaderContent$1, HeaderTitle as HeaderTitle$1, SubHeader as SubHeader$1, BackButton, Header as Header$1, Icon as Icon$1, LabeledValueLabel as LabeledValueLabel$1, LabeledValueValue as LabeledValueValue$1, LabeledValue as LabeledValue$1, Box as Box$1, Group as Group$1, Stack as Stack$1, Grid as Grid$1, Sidebar as Sidebar$1, Switcher as Switcher$1, Container as Container$1, Row as Row$1, Column as Column$1, Link as Link$1, Body as Body$1, PageContent as PageContent$1, Pagination as Pagination$1, ProgressBar as ProgressBar$1, ProgressBarCountdown as ProgressBarCountdown$1, Radio as Radio$1, RadioGroup as RadioGroup$1, SectionTitle as SectionTitle$1, Section as Section$1, SelectOption as SelectOption$1, Select as Select$1, SpinnerWheel as SpinnerWheel$1, Step as Step$1, Steps as Steps$1, Switch as Switch$1, TableHead as TableHead$1, TableBody as TableBody$1, TableFoot as TableFoot$1, TableRow as TableRow$1, TableCell as TableCell$1, TableToolbar as TableToolbar$1, TableHeadCell as TableHeadCell$1, TableFeedback as TableFeedback$1, TableActions as TableActions$1, Table as Table$1, Tab as Tab$1, TabPanel as TabPanel$1, Tabs as Tabs$1, Tag as Tag$1, ActionableTag as ActionableTag$1, Text as Text$1, TextArea as TextArea$1, TextField as TextField$1, TimelineItem as TimelineItem$1, TimelineExpandableItem as TimelineExpandableItem$1, TimelineItemBody as TimelineItemBody$1, TimelineItemFooter as TimelineItemFooter$1, TimelineItemHeader as TimelineItemHeader$1, TimelineItemHeaderSubtitle as TimelineItemHeaderSubtitle$1, TimelineItemHeaderTitle as TimelineItemHeaderTitle$1, TimelineItemIcon as TimelineItemIcon$1, Timeline as Timeline$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1, LogoLoader as LogoLoader$1, DotsLoader as DotsLoader$1 } from '@loadsmart/miranda-wc'; | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | ||
return n; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) return; | ||
if (typeof o === "string") return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) n = o.constructor.name; | ||
if (n === "Map" || n === "Set") return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) o = it; | ||
var i = 0; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { | ||
t && (r = t); | ||
var o = 0; | ||
return function () { | ||
if (i >= o.length) return { | ||
done: true | ||
return o >= r.length ? { | ||
done: !0 | ||
} : { | ||
done: !1, | ||
value: r[o++] | ||
}; | ||
return { | ||
done: false, | ||
value: o[i++] | ||
}; | ||
}; | ||
@@ -54,2 +31,18 @@ } | ||
} | ||
function _extends() { | ||
return _extends = Object.assign ? Object.assign.bind() : function (n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
} | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; | ||
} | ||
} | ||
@@ -56,0 +49,0 @@ /** |
import type { EventName, Options } from '@lit/react'; | ||
type EventNames = Record<string, EventName | string>; | ||
export declare const createComponent: <I extends HTMLElement, E extends EventNames = {}, SubComponents extends Record<string, unknown> = {}>({ subComponents, ...options }: Omit<Options<I, E>, "react"> & { | ||
subComponents?: SubComponents | undefined; | ||
subComponents?: SubComponents; | ||
}) => import("@lit/react").ReactWebComponent<I, E> & SubComponents; | ||
export {}; |
{ | ||
"name": "@loadsmart/miranda-react", | ||
"version": "3.0.0-beta.21", | ||
"version": "3.0.0-beta.22", | ||
"description": "React component library based on Miranda Web Components", | ||
@@ -44,4 +44,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@loadsmart/miranda-tokens": "4.0.0-beta.21", | ||
"@loadsmart/miranda-wc": "3.0.0-beta.21", | ||
"@loadsmart/miranda-tokens": "4.0.0-beta.22", | ||
"@loadsmart/miranda-wc": "3.0.0-beta.22", | ||
"@lit/react": "^1.0.5", | ||
@@ -48,0 +48,0 @@ "react-is": "^18.3.1" |
152748
3348
+ Added@loadsmart/miranda-icons@3.0.0-beta.22(transitive)
+ Added@loadsmart/miranda-tokens@4.0.0-beta.22(transitive)
+ Added@loadsmart/miranda-wc@3.0.0-beta.22(transitive)
- Removed@loadsmart/miranda-icons@3.0.0-beta.21(transitive)
- Removed@loadsmart/miranda-tokens@4.0.0-beta.21(transitive)
- Removed@loadsmart/miranda-wc@3.0.0-beta.21(transitive)