@loadsmart/miranda-react
Advanced tools
Comparing version 1.22.0 to 1.22.1
import type { HTMLAttributes } from 'react'; | ||
import { Card as WCCard, CardProps as WCCardProps } from '@loadsmart/miranda-wc'; | ||
import { CardProps as WCCardProps } from '@loadsmart/miranda-wc'; | ||
import { CardTitle } from './CardTitle'; | ||
@@ -8,5 +8,5 @@ import { CardSubtitle } from './CardSubtitle'; | ||
declare global { | ||
namespace JSX { | ||
namespace React.JSX { | ||
interface IntrinsicElements { | ||
'm-card': HTMLAttributes<WCCard> & WCCardProps; | ||
'm-card': CardProps; | ||
} | ||
@@ -13,0 +13,0 @@ } |
import type { HTMLAttributes } from 'react'; | ||
import type { CardBody as WCCardBody } from '@loadsmart/miranda-wc'; | ||
export type CardBodyProps = HTMLAttributes<HTMLElement>; | ||
import { CardBody as WCCardBody } from '@loadsmart/miranda-wc'; | ||
export type CardBodyProps = Omit<HTMLAttributes<WCCardBody>, 'slot'>; | ||
declare global { | ||
namespace JSX { | ||
namespace React.JSX { | ||
interface IntrinsicElements { | ||
'm-card-body': HTMLAttributes<WCCardBody>; | ||
'm-card-body': CardBodyProps; | ||
} | ||
@@ -9,0 +9,0 @@ } |
import type { HTMLAttributes } from 'react'; | ||
import type { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc'; | ||
export type CardSubtitleProps = HTMLAttributes<HTMLElement>; | ||
import { CardSubtitle as WCCardSubtitle } from '@loadsmart/miranda-wc'; | ||
export type CardSubtitleProps = Omit<HTMLAttributes<WCCardSubtitle>, 'slot'>; | ||
declare global { | ||
namespace JSX { | ||
namespace React.JSX { | ||
interface IntrinsicElements { | ||
'm-card-subtitle': HTMLAttributes<WCCardSubtitle>; | ||
'm-card-subtitle': CardSubtitleProps; | ||
} | ||
@@ -9,0 +9,0 @@ } |
import type { HTMLAttributes } from 'react'; | ||
import type { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc'; | ||
export interface CardTitleProps extends HTMLAttributes<HTMLElement> { | ||
import { CardTitle as WCCardTitle } from '@loadsmart/miranda-wc'; | ||
export interface CardTitleProps extends Omit<HTMLAttributes<WCCardTitle>, 'slot'> { | ||
leading?: string; | ||
} | ||
declare global { | ||
namespace JSX { | ||
namespace React.JSX { | ||
interface IntrinsicElements { | ||
'm-card-title': HTMLAttributes<WCCardTitle>; | ||
'm-card-title': CardTitleProps; | ||
} | ||
@@ -11,0 +11,0 @@ } |
@@ -6,3 +6,3 @@ "use strict";var n=require("react/jsx-runtime"),e=require("react"),i=require("@loadsmart/miranda-wc");function t(n){var e=Object.create(null);return n&&Object.keys(n).forEach((function(i){if("default"!==i){var t=Object.getOwnPropertyDescriptor(n,i);Object.defineProperty(e,i,t.get?t:{enumerable:!0,get:function(){return n[i]}})}})),e.default=n,Object.freeze(e)}var r=t(e);function s(n,e){var i={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.indexOf(t)<0&&(i[t]=n[t]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(n);r<t.length;r++)e.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(n,t[r])&&(i[t[r]]=n[t[r]])}return i} | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/const a=new Set(["children","localName","ref","style","className"]),l=new WeakMap,o=(n,e,i,t,r)=>{const s=null==r?void 0:r[e];void 0!==s?i!==t&&((n,e,i)=>{let t=l.get(n);void 0===t&&l.set(n,t=new Map);let r=t.get(e);void 0!==i?void 0===r?(t.set(e,r={handleEvent:i}),n.addEventListener(e,r)):r.handleEvent=i:void 0!==r&&(t.delete(e),n.removeEventListener(e,r))})(n,s,i):n[e]=i},c=(n,i,t,r,l)=>{const c=new Set(Object.keys(null!=r?r:{}));class d extends e.Component{constructor(){super(...arguments),this._element=null}_updateElement(n){if(null!==this._element)for(const e in this._elementProps)o(this._element,e,this.props[e],n?n[e]:void 0,r)}componentDidMount(){this._updateElement()}componentDidUpdate(n){this._updateElement(n)}render(){const n=this.props,{__forwardedRef:r}=n,l=s(n,["__forwardedRef"]);void 0!==this._ref&&this._userRef===r||(this._ref=n=>{null===this._element&&(this._element=n),null!==r&&((n,e)=>{"function"==typeof n?n(e):n.current=e})(r,n),this._userRef=r}),this._elementProps={};const o={ref:this._ref};for(const[n,e]of Object.entries(l))c.has(n)||!a.has(n)&&!(n in HTMLElement.prototype)&&n in t.prototype?this._elementProps[n]=e:o["className"===n?"class":n]=e;return e.createElement(i,o)}}d.displayName=null!=l?l:t.name;const g=e.forwardRef(((n,i)=>e.createElement(d,Object.assign(Object.assign({},n),{__forwardedRef:i}),n.children)));return g.displayName=d.displayName,g},d=c(0,"m-banner-action-primary",i.BannerActionPrimary);function g(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(d,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))}function u(e){var i=s(e,[]);return n.jsx("m-banner-actions",Object.assign({},i))}g.displayName="BannerActionPrimary",u.displayName="BannerActions";const h=c(0,"m-banner-action-secondary",i.BannerActionSecondary);function p(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(h,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))}function j(e){var i=s(e,[]);return n.jsx("m-banner-description",Object.assign({},i))}function b(e){var i=s(e,[]);return n.jsx("m-banner-icon",Object.assign({},i))}function m(e){var i=s(e,[]);return n.jsx("m-banner-title",Object.assign({},i))}p.displayName="BannerActionSecondary",j.displayName="BannerDescription",b.displayName="BannerIcon",m.displayName="BannerTitle";const f=c(0,"m-banner",i.Banner,{onDismiss:"m-dismiss"},"WiredBanner");function x(e){return n.jsx(f,Object.assign({},e))}x.displayName="Banner",x.ActionPrimary=g,x.Actions=u,x.ActionSecondary=p,x.Description=j,x.Icon=b,x.Title=m;const O=c(0,"m-button",i.Button);const y=c(0,"m-card",i.Card);function v(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(y,Object.assign({},t,{children:i}))}v.Title=function(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs("m-card-title",Object.assign({},r,{slot:"title"},{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},v.Subtitle=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx("m-card-subtitle",Object.assign({},t,{slot:"subtitle"},{children:i}))},v.Body=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx("m-card-body",Object.assign({slot:"body"},t,{children:i}))};const P=c(0,"m-checkbox",i.Checkbox,{onChange:"m-change"},"WiredCheckbox");const S=c(0,"m-dialog-action-primary",i.DialogActionPrimary,{},"WiredDialogActionPrimary");const D=c(0,"m-dialog-action-secondary",i.DialogActionSecondary,{},"WiredDialogActionSecondary");const w=c(0,"m-dialog-action-tertiary",i.DialogActionTertiary,{},"WiredDialogActionTertiary");const A=c(0,"m-dialog-actions",i.DialogActions,{},"WiredDialogActions");const C=c(0,"m-dialog-body",i.DialogBody,{},"WiredDialogActions");const G=c(0,"m-dialog-close",i.DialogClose,{onClose:"m-close"},"WiredDialogClose");const T=c(0,"m-dialog-footer",i.DialogFooter,{},"WiredDialogFooter");const _=c(0,"m-dialog-header",i.DialogHeader,{},"WiredDialogHeader");const B=c(0,"m-dialog",i.Dialog,{onClose:"m-close",onOpening:"m-opening",onOpened:"m-opened",onClosing:"m-closing",onClosed:"m-closed"},"WiredDialog");function W(e){return n.jsx(B,Object.assign({},e))}W.ActionPrimary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(S,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},W.ActionSecondary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(D,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},W.ActionTertiary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(w,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},W.Actions=function(e){var i=s(e,[]);return n.jsx(A,Object.assign({},i))},W.Body=function(e){var i=s(e,[]);return n.jsx(C,Object.assign({},i))},W.Footer=function(e){var i=s(e,[]);return n.jsx(T,Object.assign({},i))},W.Close=function(e){return n.jsx(G,Object.assign({},e))},W.Header=function(e){var i=s(e,[]);return n.jsx(_,Object.assign({},i))};const E=c(0,"m-divider",i.Divider,{},"WiredDivider");const N=c(0,"m-field",i.Field);function k(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(N,Object.assign({},t,{children:i}))}k.Label=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx("m-field-label",Object.assign({},t,{slot:"label"},{children:i}))},k.Hint=function(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs("m-field-hint",Object.assign({},r,{slot:"hint"},{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))};const R=c(0,"m-box",i.Box);function I(e){return n.jsx(R,Object.assign({},e))}const L=c(0,"m-group",i.Group);function F(e){var{gap:t=i.defaultGroupProps.gap,align:r=i.defaultGroupProps.align,justify:a=i.defaultGroupProps.justify,children:l}=e,o=s(e,["gap","align","justify","children"]);return n.jsx(L,Object.assign({gap:t,align:r,justify:a},o,{children:l}))}const H=c(0,"m-stack",i.Stack);function M(e){var{gap:t=i.defaultStackProps.gap,align:r=i.defaultStackProps.align,justify:a=i.defaultStackProps.justify,children:l}=e,o=s(e,["gap","align","justify","children"]);return n.jsx(H,Object.assign({gap:t,align:r,justify:a},o,{children:l}))}const q=c(0,"m-grid",i.Grid);function V(e){var{gap:t=i.defaultGridProps.gap,rowGap:r,columnGap:a,minColumnWidth:l=i.defaultGridProps.minColumnWidth,children:o}=e,c=s(e,["gap","rowGap","columnGap","minColumnWidth","children"]);const d={gap:t,"row-gap":r,"column-gap":a,"min-column-width":l};return n.jsx(q,Object.assign({},d,c,{children:o}))}function Z(e){var{gap:t=i.defaultSidebarProps.gap,sideWidth:r=i.defaultSidebarProps.sideWidth,minContentWidth:a=i.defaultSidebarProps.minContentWidth,reversed:l=i.defaultSidebarProps.reversed,children:o}=e,c=s(e,["gap","sideWidth","minContentWidth","reversed","children"]);const d=Object.assign({gap:t,"side-width":r,"min-content-width":a},l&&{reversed:l});return n.jsx("m-sidebar",Object.assign({},d,c,{children:o}))}Z.Side=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(I,Object.assign({slot:"sidebar"},t,{children:i}))},Z.Content=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(I,Object.assign({slot:"content"},t,{children:i}))};const z=c(0,"m-switcher",i.Switcher);function U(e){var{gap:t=i.defaultSwitcherProps.gap,rowGap:r,columnGap:a,threshold:l=i.defaultSwitcherProps.threshold,limit:o,children:c}=e,d=s(e,["gap","rowGap","columnGap","threshold","limit","children"]);const g={gap:t,"row-gap":r,"column-gap":a,threshold:l,limit:o};return n.jsx(z,Object.assign({},g,d,{children:c}))}const J=()=>null;J.Box=I,J.Group=F,J.Stack=M,J.Grid=V,J.Sidebar=Z,J.Switcher=U;const K=c(0,"m-progress-bar",i.ProgressBar);const Q=c(0,"m-progress-bar-countdown",i.ProgressBarCountdown);const X=c(0,"m-radio-group",i.RadioGroup,{onChange:"m-change"}),Y=c(0,"m-radio",i.Radio);const $=c(0,"m-tab",i.Tab);function nn(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs($,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))}const en=c(0,"m-tab-panel",i.TabPanel);function tn(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(en,Object.assign({},t,{children:i}))}const rn=c(0,"m-tabs",i.Tabs,{onTabChange:"m-tab-change"});function sn(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(rn,Object.assign({},t,{children:i}))}sn.Tab=nn,sn.Panel=tn;const an=c(0,"m-tag",i.Tag);const ln=c(0,"m-text",i.Text);const on=c(0,"m-text-field",i.TextField,{onInput:"input",onChange:"change",onClear:"m-clear"});const cn=c(0,"m-toggle",i.Toggle);function dn(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(cn,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))}const gn=c(0,"m-toggle-group",i.ToggleGroup,{onChange:"m-change"});Object.defineProperty(exports,"DIALOG_SIZES",{enumerable:!0,get:function(){return i.DIALOG_SIZES}}),Object.defineProperty(exports,"DIALOG_VARIANTS",{enumerable:!0,get:function(){return i.DIALOG_VARIANTS}}),exports.Banner=x,exports.Box=I,exports.Button=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(O,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},exports.Card=v,exports.Checkbox=function(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(P,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},exports.Dialog=W,exports.Divider=function(e){return n.jsx(E,Object.assign({},e))},exports.Field=k,exports.Grid=V,exports.Group=F,exports.Layout=J,exports.ProgressBar=function(e){return n.jsx(K,Object.assign({},e))},exports.ProgressBarCountdown=function(e){return n.jsx(Q,Object.assign({},e))},exports.Radio=function(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(Y,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},exports.RadioGroup=X,exports.Sidebar=Z,exports.Stack=M,exports.Switcher=U,exports.Tab=nn,exports.TabPanel=tn,exports.Tabs=sn,exports.Tag=function(e){const{leading:i,children:t}=e,r=s(e,["leading","children"]);return n.jsxs(an,Object.assign({},r,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),t]}))},exports.Text=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(ln,Object.assign({},t,{children:i}))},exports.TextField=function(e){var{leading:i,trailing:t}=e,r=s(e,["leading","trailing"]);return n.jsxs(on,Object.assign({},r,{children:[null!=i&&n.jsx("div",Object.assign({slot:"leading"},{children:i})),null!=t&&n.jsx("div",Object.assign({slot:"trailing"},{children:t}))]}))},exports.Toggle=dn,exports.ToggleGroup=function(e){const{value:i,options:t,children:a,disabled:l}=e,o=s(e,["value","options","children","disabled"]),c=r.useRef(null);return r.useEffect((function(){null!=c.current&&(c.current.value=i)}),[i]),n.jsx(gn,Object.assign({ref:c,disabled:l},o,{children:null!=a?a:(t||[]).map((function(e){const{label:i,value:t}=e,r=s(e,["label","value"]);return n.jsx(dn,Object.assign({},r,{disabled:Boolean(l||e.disabled),value:t},{children:i}),t)}))}))}; | ||
*/const a=new Set(["children","localName","ref","style","className"]),l=new WeakMap,o=(n,e,i,t,r)=>{const s=null==r?void 0:r[e];void 0!==s?i!==t&&((n,e,i)=>{let t=l.get(n);void 0===t&&l.set(n,t=new Map);let r=t.get(e);void 0!==i?void 0===r?(t.set(e,r={handleEvent:i}),n.addEventListener(e,r)):r.handleEvent=i:void 0!==r&&(t.delete(e),n.removeEventListener(e,r))})(n,s,i):n[e]=i},c=(n,i,t,r,l)=>{const c=new Set(Object.keys(null!=r?r:{}));class d extends e.Component{constructor(){super(...arguments),this._element=null}_updateElement(n){if(null!==this._element)for(const e in this._elementProps)o(this._element,e,this.props[e],n?n[e]:void 0,r)}componentDidMount(){this._updateElement()}componentDidUpdate(n){this._updateElement(n)}render(){const n=this.props,{__forwardedRef:r}=n,l=s(n,["__forwardedRef"]);void 0!==this._ref&&this._userRef===r||(this._ref=n=>{null===this._element&&(this._element=n),null!==r&&((n,e)=>{"function"==typeof n?n(e):n.current=e})(r,n),this._userRef=r}),this._elementProps={};const o={ref:this._ref};for(const[n,e]of Object.entries(l))c.has(n)||!a.has(n)&&!(n in HTMLElement.prototype)&&n in t.prototype?this._elementProps[n]=e:o["className"===n?"class":n]=e;return e.createElement(i,o)}}d.displayName=null!=l?l:t.name;const g=e.forwardRef(((n,i)=>e.createElement(d,Object.assign(Object.assign({},n),{__forwardedRef:i}),n.children)));return g.displayName=d.displayName,g},d=c(0,"m-banner-action-primary",i.BannerActionPrimary);function g(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(d,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))}function u(e){var i=s(e,[]);return n.jsx("m-banner-actions",Object.assign({},i))}g.displayName="BannerActionPrimary",u.displayName="BannerActions";const h=c(0,"m-banner-action-secondary",i.BannerActionSecondary);function p(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(h,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))}function j(e){var i=s(e,[]);return n.jsx("m-banner-description",Object.assign({},i))}function b(e){var i=s(e,[]);return n.jsx("m-banner-icon",Object.assign({},i))}function m(e){var i=s(e,[]);return n.jsx("m-banner-title",Object.assign({},i))}p.displayName="BannerActionSecondary",j.displayName="BannerDescription",b.displayName="BannerIcon",m.displayName="BannerTitle";const f=c(0,"m-banner",i.Banner,{onDismiss:"m-dismiss"},"WiredBanner");function x(e){return n.jsx(f,Object.assign({},e))}x.displayName="Banner",x.ActionPrimary=g,x.Actions=u,x.ActionSecondary=p,x.Description=j,x.Icon=b,x.Title=m;const O=c(0,"m-button",i.Button);const y=c(0,"m-card-title",i.CardTitle,{},"WCCardTitle");const v=c(0,"m-card-subtitle",i.CardSubtitle,{},"WCCardSubtitle");const C=c(0,"m-card-body",i.CardBody,{},"WCCardBody");const P=c(0,"m-card",i.Card);function S(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(P,Object.assign({},t,{children:i}))}S.Title=function(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(y,Object.assign({},r,{slot:"title"},{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},S.Subtitle=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(v,Object.assign({},t,{slot:"subtitle"},{children:i}))},S.Body=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(C,Object.assign({slot:"body"},t,{children:i}))};const D=c(0,"m-checkbox",i.Checkbox,{onChange:"m-change"},"WiredCheckbox");const w=c(0,"m-dialog-action-primary",i.DialogActionPrimary,{},"WiredDialogActionPrimary");const A=c(0,"m-dialog-action-secondary",i.DialogActionSecondary,{},"WiredDialogActionSecondary");const T=c(0,"m-dialog-action-tertiary",i.DialogActionTertiary,{},"WiredDialogActionTertiary");const B=c(0,"m-dialog-actions",i.DialogActions,{},"WiredDialogActions");const G=c(0,"m-dialog-body",i.DialogBody,{},"WiredDialogActions");const _=c(0,"m-dialog-close",i.DialogClose,{onClose:"m-close"},"WiredDialogClose");const W=c(0,"m-dialog-footer",i.DialogFooter,{},"WiredDialogFooter");const E=c(0,"m-dialog-header",i.DialogHeader,{},"WiredDialogHeader");const N=c(0,"m-dialog",i.Dialog,{onClose:"m-close",onOpening:"m-opening",onOpened:"m-opened",onClosing:"m-closing",onClosed:"m-closed"},"WiredDialog");function k(e){return n.jsx(N,Object.assign({},e))}k.ActionPrimary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(w,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},k.ActionSecondary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(A,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},k.ActionTertiary=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(T,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},k.Actions=function(e){var i=s(e,[]);return n.jsx(B,Object.assign({},i))},k.Body=function(e){var i=s(e,[]);return n.jsx(G,Object.assign({},i))},k.Footer=function(e){var i=s(e,[]);return n.jsx(W,Object.assign({},i))},k.Close=function(e){return n.jsx(_,Object.assign({},e))},k.Header=function(e){var i=s(e,[]);return n.jsx(E,Object.assign({},i))};const R=c(0,"m-divider",i.Divider,{},"WiredDivider");const I=c(0,"m-field",i.Field);function L(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(I,Object.assign({},t,{children:i}))}L.Label=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx("m-field-label",Object.assign({},t,{slot:"label"},{children:i}))},L.Hint=function(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs("m-field-hint",Object.assign({},r,{slot:"hint"},{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))};const F=c(0,"m-box",i.Box);function H(e){return n.jsx(F,Object.assign({},e))}const M=c(0,"m-group",i.Group);function q(e){var{gap:t=i.defaultGroupProps.gap,align:r=i.defaultGroupProps.align,justify:a=i.defaultGroupProps.justify,children:l}=e,o=s(e,["gap","align","justify","children"]);return n.jsx(M,Object.assign({gap:t,align:r,justify:a},o,{children:l}))}const V=c(0,"m-stack",i.Stack);function Z(e){var{gap:t=i.defaultStackProps.gap,align:r=i.defaultStackProps.align,justify:a=i.defaultStackProps.justify,children:l}=e,o=s(e,["gap","align","justify","children"]);return n.jsx(V,Object.assign({gap:t,align:r,justify:a},o,{children:l}))}const z=c(0,"m-grid",i.Grid);function U(e){var{gap:t=i.defaultGridProps.gap,rowGap:r,columnGap:a,minColumnWidth:l=i.defaultGridProps.minColumnWidth,children:o}=e,c=s(e,["gap","rowGap","columnGap","minColumnWidth","children"]);const d={gap:t,"row-gap":r,"column-gap":a,"min-column-width":l};return n.jsx(z,Object.assign({},d,c,{children:o}))}function J(e){var{gap:t=i.defaultSidebarProps.gap,sideWidth:r=i.defaultSidebarProps.sideWidth,minContentWidth:a=i.defaultSidebarProps.minContentWidth,reversed:l=i.defaultSidebarProps.reversed,children:o}=e,c=s(e,["gap","sideWidth","minContentWidth","reversed","children"]);const d=Object.assign({gap:t,"side-width":r,"min-content-width":a},l&&{reversed:l});return n.jsx("m-sidebar",Object.assign({},d,c,{children:o}))}J.Side=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(H,Object.assign({slot:"sidebar"},t,{children:i}))},J.Content=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(H,Object.assign({slot:"content"},t,{children:i}))};const K=c(0,"m-switcher",i.Switcher);function Q(e){var{gap:t=i.defaultSwitcherProps.gap,rowGap:r,columnGap:a,threshold:l=i.defaultSwitcherProps.threshold,limit:o,children:c}=e,d=s(e,["gap","rowGap","columnGap","threshold","limit","children"]);const g={gap:t,"row-gap":r,"column-gap":a,threshold:l,limit:o};return n.jsx(K,Object.assign({},g,d,{children:c}))}const X=()=>null;X.Box=H,X.Group=q,X.Stack=Z,X.Grid=U,X.Sidebar=J,X.Switcher=Q;const Y=c(0,"m-progress-bar",i.ProgressBar);const $=c(0,"m-progress-bar-countdown",i.ProgressBarCountdown);const nn=c(0,"m-radio-group",i.RadioGroup,{onChange:"m-change"}),en=c(0,"m-radio",i.Radio);const tn=c(0,"m-tab",i.Tab);function rn(e){var{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(tn,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))}const sn=c(0,"m-tab-panel",i.TabPanel);function an(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(sn,Object.assign({},t,{children:i}))}const ln=c(0,"m-tabs",i.Tabs,{onTabChange:"m-tab-change"});function on(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(ln,Object.assign({},t,{children:i}))}on.Tab=rn,on.Panel=an;const cn=c(0,"m-tag",i.Tag);const dn=c(0,"m-text",i.Text);const gn=c(0,"m-text-field",i.TextField,{onInput:"input",onChange:"change",onClear:"m-clear"});const un=c(0,"m-toggle",i.Toggle);function hn(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(un,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))}const pn=c(0,"m-toggle-group",i.ToggleGroup,{onChange:"m-change"});Object.defineProperty(exports,"DIALOG_SIZES",{enumerable:!0,get:function(){return i.DIALOG_SIZES}}),Object.defineProperty(exports,"DIALOG_VARIANTS",{enumerable:!0,get:function(){return i.DIALOG_VARIANTS}}),exports.Banner=x,exports.Box=H,exports.Button=function(e){const{leading:i,trailing:t,children:r}=e,a=s(e,["leading","trailing","children"]);return n.jsxs(O,Object.assign({},a,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),r,null!=t&&n.jsx("span",Object.assign({slot:"trailing"},{children:t}))]}))},exports.Card=S,exports.Checkbox=function(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(D,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},exports.Dialog=k,exports.Divider=function(e){return n.jsx(R,Object.assign({},e))},exports.Field=L,exports.Grid=U,exports.Group=q,exports.Layout=X,exports.ProgressBar=function(e){return n.jsx(Y,Object.assign({},e))},exports.ProgressBarCountdown=function(e){return n.jsx($,Object.assign({},e))},exports.Radio=function(e){const{children:i,leading:t}=e,r=s(e,["children","leading"]);return n.jsxs(en,Object.assign({},r,{children:[null!=t&&n.jsx("span",Object.assign({slot:"leading"},{children:t})),i]}))},exports.RadioGroup=nn,exports.Sidebar=J,exports.Stack=Z,exports.Switcher=Q,exports.Tab=rn,exports.TabPanel=an,exports.Tabs=on,exports.Tag=function(e){const{leading:i,children:t}=e,r=s(e,["leading","children"]);return n.jsxs(cn,Object.assign({},r,{children:[null!=i&&n.jsx("span",Object.assign({slot:"leading"},{children:i})),t]}))},exports.Text=function(e){var{children:i}=e,t=s(e,["children"]);return n.jsx(dn,Object.assign({},t,{children:i}))},exports.TextField=function(e){var{leading:i,trailing:t}=e,r=s(e,["leading","trailing"]);return n.jsxs(gn,Object.assign({},r,{children:[null!=i&&n.jsx("div",Object.assign({slot:"leading"},{children:i})),null!=t&&n.jsx("div",Object.assign({slot:"trailing"},{children:t}))]}))},exports.Toggle=hn,exports.ToggleGroup=function(e){const{value:i,options:t,children:a,disabled:l}=e,o=s(e,["value","options","children","disabled"]),c=r.useRef(null);return r.useEffect((function(){null!=c.current&&(c.current.value=i)}),[i]),n.jsx(pn,Object.assign({ref:c,disabled:l},o,{children:null!=a?a:(t||[]).map((function(e){const{label:i,value:t}=e,r=s(e,["label","value"]);return n.jsx(hn,Object.assign({},r,{disabled:Boolean(l||e.disabled),value:t},{children:i}),t)}))}))}; | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,3 @@ /** | ||
*/ | ||
/// <reference types="trusted-types" /> | ||
import type { HTMLAttributes, ReactNode } from 'react'; | ||
@@ -42,5 +43,5 @@ type Constructor<T> = { | ||
*/ | ||
export declare const createComponent: <I extends HTMLElement, E extends Events = {}>(React: typeof import("react"), tagName: string, elementClass: Constructor<I>, events?: E | undefined, displayName?: string) => import("react").ForwardRefExoticComponent<import("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> & { | ||
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> & { | ||
children?: ReactNode; | ||
}>> & import("react").RefAttributes<unknown>>; | ||
}>> & React.RefAttributes<unknown>>; | ||
export {}; |
{ | ||
"name": "@loadsmart/miranda-react", | ||
"version": "1.22.0", | ||
"version": "1.22.1", | ||
"description": "React component library based on Miranda Web Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
104226
1130