lizaui 3.0.34 → 3.0.36
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.
- package/dist/button/index.cjs.js +1 -1
- package/dist/button/index.es.js +1 -1
- package/dist/calendar/index.cjs.js +1 -1
- package/dist/calendar/index.es.js +1 -1
- package/dist/checkbox/index.cjs.js +1 -1
- package/dist/checkbox/index.es.js +1 -1
- package/dist/chunks/assertion-C7nbUE-q.js +2 -0
- package/dist/chunks/assertion-C7nbUE-q.js.map +1 -0
- package/dist/chunks/assertion-CrT8p68K.js +11 -0
- package/dist/chunks/assertion-CrT8p68K.js.map +1 -0
- package/dist/chunks/button-ByG7rkKr.js +528 -0
- package/dist/chunks/button-ByG7rkKr.js.map +1 -0
- package/dist/chunks/button-W_O8D9E6.js +2 -0
- package/dist/chunks/button-W_O8D9E6.js.map +1 -0
- package/dist/chunks/checkbox-D7Bt7i2P.js +2 -0
- package/dist/chunks/{checkbox-C23sBMh5.js.map → checkbox-D7Bt7i2P.js.map} +1 -1
- package/dist/chunks/{checkbox-ChChDxFl.js → checkbox-lvTY3PXC.js} +3 -2
- package/dist/chunks/{checkbox-ChChDxFl.js.map → checkbox-lvTY3PXC.js.map} +1 -1
- package/dist/chunks/index-BnlGNtJe.js +65 -0
- package/dist/chunks/index-BnlGNtJe.js.map +1 -0
- package/dist/chunks/{index-BGRkNpAy.js → index-DSpBzH_i.js} +796 -791
- package/dist/chunks/index-DSpBzH_i.js.map +1 -0
- package/dist/chunks/refs-DAOksVs3.js +29 -0
- package/dist/chunks/refs-DAOksVs3.js.map +1 -0
- package/dist/chunks/refs-pI64b4UC.js +2 -0
- package/dist/chunks/refs-pI64b4UC.js.map +1 -0
- package/dist/chunks/ripple-BQsLJHrx.js +3594 -0
- package/dist/chunks/ripple-BQsLJHrx.js.map +1 -0
- package/dist/chunks/ripple-CUdIIH3t.js +10 -0
- package/dist/chunks/ripple-CUdIIH3t.js.map +1 -0
- package/dist/components/ripple/index.d.ts +3 -0
- package/dist/components/ripple/index.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/modal.d.ts +1 -0
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +14 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/pagination/index.cjs.js +1 -1
- package/dist/pagination/index.es.js +2 -2
- package/dist/ripple/index.cjs.js +2 -0
- package/dist/ripple/index.cjs.js.map +1 -0
- package/dist/ripple/index.es.js +5 -0
- package/dist/ripple/index.es.js.map +1 -0
- package/dist/ripple.d.ts +2 -0
- package/dist/select-input/index.cjs.js +1 -1
- package/dist/select-input/index.cjs.js.map +1 -1
- package/dist/select-input/index.es.js +2 -2
- package/dist/table/index.cjs.js +1 -1
- package/dist/table/index.es.js +1 -1
- package/dist/ui/index.cjs.js +4 -4
- package/dist/ui/index.cjs.js.map +1 -1
- package/dist/ui/index.es.js +2092 -1774
- package/dist/ui/index.es.js.map +1 -1
- package/package.json +7 -1
- package/dist/chunks/button-C6LoJycL.js +0 -4112
- package/dist/chunks/button-C6LoJycL.js.map +0 -1
- package/dist/chunks/button-CPPU0FsH.js +0 -10
- package/dist/chunks/button-CPPU0FsH.js.map +0 -1
- package/dist/chunks/checkbox-C23sBMh5.js +0 -2
- package/dist/chunks/index-BGRkNpAy.js.map +0 -1
- package/dist/chunks/index-CZu0BZjG.js +0 -65
- package/dist/chunks/index-CZu0BZjG.js.map +0 -1
- package/dist/chunks/refs-DLih6QCP.js +0 -2
- package/dist/chunks/refs-DLih6QCP.js.map +0 -1
- package/dist/chunks/refs-DcCOPvdv.js +0 -35
- package/dist/chunks/refs-DcCOPvdv.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-DFswc9zO.js"),d=require("react"),E=require("./index-D2_xS2pD.js"),A=require("./tv-C5lw0tnu.js"),j=require("./classes-P14wj2Ze.js"),g=require("./refs-DLih6QCP.js"),q=require("./clsx-C11secjj.js"),B=A.tv({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent p-2 -m-2 select-none",wrapper:["relative","inline-flex","items-center","justify-center","flex-shrink-0","overflow-hidden","before:content-['']","before:absolute","before:inset-0","before:border-solid","before:border-2","before:box-border","before:border-default","after:content-['']","after:absolute","after:inset-0","after:scale-50","after:opacity-0","after:origin-center","group-data-[selected=true]:after:scale-100","group-data-[selected=true]:after:opacity-100","group-data-[hover=true]:before:bg-default-100",...j.groupDataFocusVisibleClasses],hiddenInput:j.hiddenInputClasses,icon:"z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100 pointer-events-none",label:"relative text-foreground select-none"},variants:{color:{default:{wrapper:"after:bg-default after:text-default-foreground text-default-foreground"},primary:{wrapper:"after:bg-primary after:text-primary-foreground text-primary-foreground"},secondary:{wrapper:"after:bg-secondary after:text-secondary-foreground text-secondary-foreground"},success:{wrapper:"after:bg-success after:text-success-foreground text-success-foreground"},warning:{wrapper:"after:bg-warning after:text-warning-foreground text-warning-foreground"},danger:{wrapper:"after:bg-danger after:text-danger-foreground text-danger-foreground"}},size:{sm:{wrapper:["w-4 h-4 me-2","rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"],label:"text-small",icon:"w-3 h-2"},md:{wrapper:["w-5 h-5 me-2","rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"],label:"text-medium",icon:"w-4 h-3"},lg:{wrapper:["w-6 h-6 me-2","rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"],label:"text-large",icon:"w-5 h-4"}},radius:{none:{wrapper:"rounded-none before:rounded-none after:rounded-none"},sm:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.5)]","before:rounded-[calc(theme(borderRadius.medium)*0.5)]","after:rounded-[calc(theme(borderRadius.medium)*0.5)]"]},md:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.6)]","before:rounded-[calc(theme(borderRadius.medium)*0.6)]","after:rounded-[calc(theme(borderRadius.medium)*0.6)]"]},lg:{wrapper:["rounded-[calc(theme(borderRadius.medium)*0.7)]","before:rounded-[calc(theme(borderRadius.medium)*0.7)]","after:rounded-[calc(theme(borderRadius.medium)*0.7)]"]},full:{wrapper:"rounded-full before:rounded-full after:rounded-full"}},lineThrough:{true:{label:["inline-flex","items-center","justify-center","before:content-['']","before:absolute","before:bg-foreground","before:w-0","before:h-0.5","group-data-[selected=true]:opacity-60","group-data-[selected=true]:before:w-full"]}},disabled:{true:{base:"opacity-80 pointer-events-none"}},isInvalid:{true:{wrapper:"before:border-danger",label:"text-danger"}},disableAnimation:{true:{wrapper:"transition-none",icon:"transition-none",label:"transition-none"},false:{wrapper:["before:transition-colors","group-data-[pressed=true]:scale-95","transition-transform","after:transition-transform-opacity","after:!ease-linear","after:!duration-200","motion-reduce:transition-none"],icon:"transition-opacity motion-reduce:transition-none",label:"transition-colors-opacity before:transition-width motion-reduce:transition-none"}}},defaultVariants:{color:"primary",size:"md",disabled:!1,lineThrough:!1}});function W(r){const{id:t,classNames:e,className:a,icon:x,children:f,disabled:o,required:w,readOnly:u,defaultChecked:c,checked:s,error:p,touched:m,onChange:i,isIndeterminate:b=!1}=r,v=d.useRef(null),C=d.useId(),R=t||C,[h]=d.useMemo(()=>[typeof s=="boolean"?s:c||!1,()=>{}],[s,c]),P=d.useCallback(y=>{if(u||o){y.preventDefault();return}i==null||i(y)},[i,u,o]),l=d.useMemo(()=>B({color:r.color,size:r.size,radius:r.radius,lineThrough:r.lineThrough,disabled:o,isInvalid:!!p&&m,disableAnimation:r.disableAnimation}),[r,o,p,m]);return{Component:"label",icon:x,children:f,isSelected:h,isIndeterminate:b,getBaseProps:()=>({className:l.base({class:q.clsx(e==null?void 0:e.base,a)}),"data-disabled":g.dataAttr(o),"data-selected":g.dataAttr(h||b)}),getWrapperProps:()=>({"aria-hidden":!0,className:l.wrapper({class:e==null?void 0:e.wrapper}),"data-selected":g.dataAttr(h||b)}),getInputProps:()=>({ref:g.mergeRefs(v,r.ref),type:"checkbox",id:R,defaultChecked:s===void 0?c:void 0,checked:s!==void 0?s:void 0,disabled:o,required:w,readOnly:u,onChange:P,className:l.hiddenInput({class:e==null?void 0:e.hiddenInput})}),getLabelProps:()=>({htmlFor:R,className:l.label({class:e==null?void 0:e.label})}),getIconProps:()=>({isSelected:h,isIndeterminate:b,disableAnimation:r.disableAnimation,className:l.icon({class:e==null?void 0:e.icon})})}}function z(r){const{isSelected:t,disableAnimation:e,...a}=r;return n.jsxRuntimeExports.jsx("svg",{"aria-hidden":"true",fill:"none",role:"presentation",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,style:!e&&t?{transition:"stroke-dashoffset 250ms linear 0.2s"}:{},viewBox:"0 0 17 18",...a,children:n.jsxRuntimeExports.jsx("polyline",{points:"1 9 7 14 15 4"})})}function L(r){const{isSelected:t,disableAnimation:e,...a}=r;return n.jsxRuntimeExports.jsx("svg",{stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",...a,children:n.jsxRuntimeExports.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function k(r){const{isIndeterminate:t,...e}=r,a=t?L:z;return n.jsxRuntimeExports.jsx(a,{...e})}const I=d.forwardRef((r,t)=>{const{asChild:e=!1,...a}=r,{Component:x,children:f,icon:o=n.jsxRuntimeExports.jsx(k,{}),getBaseProps:w,getWrapperProps:u,getInputProps:c,getIconProps:s,getLabelProps:p}=W({...a,ref:t}),m=typeof o=="function"?o(s()):d.cloneElement(o,s()),i=e?E.Slot:x;return n.jsxRuntimeExports.jsxs(i,{...w(),children:[n.jsxRuntimeExports.jsx("input",{...c(),ref:t}),n.jsxRuntimeExports.jsx("span",{...u(),children:m}),f&&n.jsxRuntimeExports.jsx("span",{...p(),children:f})]})});I.displayName="Custom.Checkbox";exports.Checkbox=I;exports.CheckboxIcon=k;
|
|
2
|
-
//# sourceMappingURL=checkbox-C23sBMh5.js.map
|