@lateralus-ai/shipping-ui 1.4.15 → 1.4.16
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/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
- package/src/tailwind-theme.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var SE=Object.defineProperty;var Hv=i=>{throw TypeError(i)};var TE=(i,e,t)=>e in i?SE(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ie=(i,e,t)=>TE(i,typeof e!="symbol"?e+"":e,t),lm=(i,e,t)=>e.has(i)||Hv("Cannot "+t);var u=(i,e,t)=>(lm(i,e,"read from private field"),t?t.call(i):e.get(i)),N=(i,e,t)=>e.has(i)?Hv("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,t),T=(i,e,t,r)=>(lm(i,e,"write to private field"),r?r.call(i,t):e.set(i,t),t),L=(i,e,t)=>(lm(i,e,"access private method"),t);var bn=(i,e,t,r)=>({set _(n){T(i,e,n,t)},get _(){return u(i,e,r)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),Ot=require("@material-tailwind/react"),kE=require("react-textarea-autosize"),Vi=require("@iconify/react");var um=typeof document<"u"?document.currentScript:null;const DE={fontFamily:{sans:["Work Sans","sans-serif"],mono:["Roboto Mono","monospace"],signature:["Alex Brush","Lucida Handwriting","cursive"]},fontSize:{title:["28px",{lineHeight:"34px",letterSpacing:"-0.02em"}],"title-em":["28px",{lineHeight:"34px",letterSpacing:"-0.02em",fontWeight:"500"}],subheader:["18px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"subheader-em":["18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],body:["16px",{lineHeight:"24px",letterSpacing:"-0.01em"}],"body-em":["16px",{lineHeight:"24px",letterSpacing:"-0.01em",fontWeight:"500"}],"caption-1":["16px",{lineHeight:"22px"}],"caption-1-em":["16px",{lineHeight:"22px",fontWeight:"500"}],"caption-2":["14px",{lineHeight:"20px"}],"caption-2-em":["14px",{lineHeight:"20px",fontWeight:"500"}],footnote:["13px",{lineHeight:"17px"}],"footnote-em":["13px",{lineHeight:"17px",fontWeight:"500"}]},width:{authPageWidth:"370px"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},colors:{brand:{50:"#e0fff2",100:"#adf0d3",200:"#8aeac1",300:"#67e4ae",400:"#45de9c",500:"#26d489",600:"#1da56a",700:"#15754c",800:"#0c452d",900:"#04160e"},gray:{50:"#fafafa",100:"#f0f0f0",200:"#d6d6d6",300:"#bdbdbd",400:"#a3a3a3",500:"#8a8a8a",600:"#6e6e6e",700:"#525252",800:"#363636",900:"#1a1a1a"},green:{50:"#f0f5f3",100:"#e4f0ea",200:"#bbead4",300:"#7be4b3",400:"#50de9c",500:"#2fd487",600:"#1ea566",700:"#15754c",800:"#0c452d",900:"#04160e"},blue:{50:"#f5f8fa",100:"#e6f0f5",200:"#d0eaf7",300:"#b5e0f5",400:"#7fc7eb",500:"#4eb2e4",600:"#3f98cc",700:"#2b75ab",800:"#1b5587",900:"#0f3966"},red:{50:"#f9dcdc",100:"#f6cbcb",200:"#f0a8a8",300:"#ea8686",400:"#e36363",500:"#dd4040",600:"#c32222",700:"#931a1a",800:"#641212",900:"#340909"},orange:{50:"#fef7ec",100:"#fdecd4",200:"#fad7a3",300:"#f8c373",400:"#f5ae42",500:"#f39912",600:"#c77c0a",700:"#975e08",800:"#663f05",900:"#362103"},purple:{50:"#f9f5fb",100:"#f1e6f5",200:"#e1c9ea",300:"#d1acde",400:"#bb84ce",500:"#a55cbe",600:"#8840a1",700:"#663079",800:"#442051",900:"#231029"},"brand-purple":"#ab68ff",presentation:"var(--presentation)","text-primary":"var(--text-primary)","text-secondary":"var(--text-secondary)","text-secondary-alt":"var(--text-secondary-alt)","text-tertiary":"var(--text-tertiary)","ring-primary":"var(--ring-primary)","header-primary":"var(--header-primary)","header-hover":"var(--header-hover)","header-button-hover":"var(--header-button-hover)","surface-active":"var(--surface-active)","surface-active-alt":"var(--surface-active-alt)","surface-hover":"var(--surface-hover)","surface-primary":"var(--surface-primary)","surface-primary-alt":"var(--surface-primary-alt)","surface-primary-contrast":"var(--surface-primary-contrast)","surface-secondary":"var(--surface-secondary)","surface-secondary-alt":"var(--surface-secondary-alt)","surface-tertiary":"var(--surface-tertiary)","surface-tertiary-alt":"var(--surface-tertiary-alt)","surface-dialog":"var(--surface-dialog)","surface-submit":"var(--surface-submit)","border-light":"var(--border-light)","border-medium":"var(--border-medium)","border-medium-alt":"var(--border-medium-alt)","border-heavy":"var(--border-heavy)","border-xheavy":"var(--border-xheavy)",border:"hsl(var(--border))",input:"hsl(var(--input))","switch-unchecked":"hsl(var(--switch-unchecked))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{lg:"8px",md:"calc(8px - 2px)",sm:"calc(8px - 4px)"}},PE={button:{defaultProps:{className:"items-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate tracking-[0.16px] justify-center",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},iconButton:{defaultProps:{className:"items-center justify-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},progress:{defaultProps:{className:"bg-gray-100",barProps:{className:"transform transition-all duration-300"}},styles:{sizes:{sm:{container:{initial:{height:"h-1"}}}}}},menu:{styles:{base:{menu:{border:"border border-gray-100",borderRadius:"rounded-xl",boxShadow:"shadow-sm",p:"p-2"},item:{initial:{display:"flex gap-2 items-center focus-within:outline-none text-gray-900",bg:"hover:bg-gray-100",p:"p-2"}}}}},dialog:{defaultProps:{size:"sm",dismiss:{},animate:{mount:{},unmount:{}},className:""},valid:{sizes:["xs","sm","md","lg","xl","xxl"]},styles:{base:{backdrop:{width:"w-full",display:"grid",placeItems:"place-items-center",position:"fixed",top:0,left:0,height:"h-screen",backgroundColor:"bg-[rgba(0,0,0,0.16)]",backgroundOpacity:"bg-opacity-100",backdropFilter:"backdrop-blur-none"},container:{height:"h-[450px]",position:"relative",bg:"bg-white",m:"m-4",borderRadius:"rounded-xl",boxShadow:"shadow-[0px_2px_8px_0px_#00000029,0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A]",fontSmoothing:"antialiased"}},sizes:{sm:{maxWidth:"!max-w-[550px]"},lg:{maxWidth:"!max-w-[700px]"}}}},dialogHeader:{styles:{base:{display:"text-gray-900 font-normal"}}},checkbox:{defaultProps:{color:"custom",ripple:!1},valid:{colors:["blue-gray","gray","red","green","custom"]},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"!p-0",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border-[1.5px]",borderRadius:"rounded-md",borderColor:"border-gray-100",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content-['']",display:"before:block",bg:"before:bg-transparent",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",opacity:"before:opacity-0 hover:before:opacity-10"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",px:"px-2"},icon:{display:"flex",alignItems:"items-center",justifyContent:"justify-center",width:"w-5",height:"h-5",color:"text-green-600",position:"absolute",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{custom:{border:"checked:border-green-600"}}}},popover:{defaultProps:{placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-white",p:"p-4",borderWidth:"border",borderColor:"border-gray-200",borderRadius:"rounded-lg",boxShadow:"[box-shadow:0px_2px_2px_0px_#0000000A,_0px_8px_8px_-8px_#0000000A]",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",outline:"focus:outline-none",overflowWrap:"break-words",whiteSpace:"whitespace-normal"}}},switch:{defaultProps:{color:"blue",label:"",ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,circleProps:void 0},valid:{colors:["blue-gray","gray","brown","deep-orange","orange","amber","yellow","lime","light-green","green","teal","cyan","light-blue","blue","indigo","deep-purple","purple","pink","red"]},styles:{base:{input:{background:"bg-gray-500"},circle:{borderColor:"border-gray-500",borderRadius:"rounded-full",boxShadow:"shadow-md",position:"absolute",top:"top-2/4",left:"-left-1",transform:"-translate-y-2/4 peer-checked:translate-x-full",transition:"transition-all duration-300",cursor:"cursor-pointer",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-10",height:"before:h-10",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",transition:"before:transition-opacity",opacity:"before:opacity-0 hover:before:opacity-10"}},ripple:{display:"inline-block",top:"top-2/4",left:"left-2/4",transform:"-translate-x-2/4 -translate-y-2/4",p:"p-5",borderRadius:"rounded-full"},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",ml:"ml-3",mb:"mb-0"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{gray:{input:"checked:bg-blue-gray-100",circle:"peer-checked:border-blue-gray-100",before:"peer-checked:before:bg-gray-500"},green:{input:"checked:bg-green-600",circle:"peer-checked:border-green-600",before:"peer-checked:before:bg-green-600"}}}},tabsHeader:{defaultProps:{className:"grow gap-6 rounded-none bg-transparent !p-0 border-b border-b-gray-100 flex items-end px-0 w-full mb-6"}},tab:{defaultProps:{className:"min-w-fit max-w-fit justify-start font-medium text-gray-600 pl-0 pr-2 h-12"},styles:{base:{indicator:{bg:"bg-transparent border-b-2 border-gray-900 !transform-none",borderRadius:"radius-none",boxShadow:"shadow-none"}}}},tabPanel:{styles:{base:{p:"px-0"}}}};var sh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _g(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var t0={exports:{}},qc={};/**
|
|
1
|
+
"use strict";var SE=Object.defineProperty;var Hv=i=>{throw TypeError(i)};var TE=(i,e,t)=>e in i?SE(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ie=(i,e,t)=>TE(i,typeof e!="symbol"?e+"":e,t),lm=(i,e,t)=>e.has(i)||Hv("Cannot "+t);var u=(i,e,t)=>(lm(i,e,"read from private field"),t?t.call(i):e.get(i)),N=(i,e,t)=>e.has(i)?Hv("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,t),T=(i,e,t,r)=>(lm(i,e,"write to private field"),r?r.call(i,t):e.set(i,t),t),L=(i,e,t)=>(lm(i,e,"access private method"),t);var bn=(i,e,t,r)=>({set _(n){T(i,e,n,t)},get _(){return u(i,e,r)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),Ot=require("@material-tailwind/react"),kE=require("react-textarea-autosize"),Vi=require("@iconify/react");var um=typeof document<"u"?document.currentScript:null;const DE={fontFamily:{sans:["Work Sans","sans-serif"],mono:["Roboto Mono","monospace"],signature:["Alex Brush","Lucida Handwriting","cursive"]},fontSize:{title:["28px",{lineHeight:"34px",letterSpacing:"-0.02em"}],"title-em":["28px",{lineHeight:"34px",letterSpacing:"-0.02em",fontWeight:"600"}],subheader:["18px",{lineHeight:"28px",letterSpacing:"-0.01em"}],"subheader-em":["18px",{lineHeight:"28px",letterSpacing:"-0.01em",fontWeight:"500"}],body:["16px",{lineHeight:"24px",letterSpacing:"-0.01em"}],"body-em":["16px",{lineHeight:"24px",letterSpacing:"-0.01em",fontWeight:"500"}],"caption-1":["16px",{lineHeight:"22px"}],"caption-1-em":["16px",{lineHeight:"22px",fontWeight:"500"}],"caption-2":["14px",{lineHeight:"20px"}],"caption-2-em":["14px",{lineHeight:"20px",fontWeight:"500"}],footnote:["13px",{lineHeight:"17px"}],"footnote-em":["13px",{lineHeight:"17px",fontWeight:"500"}]},width:{authPageWidth:"370px"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},colors:{brand:{50:"#e0fff2",100:"#adf0d3",200:"#8aeac1",300:"#67e4ae",400:"#45de9c",500:"#26d489",600:"#1da56a",700:"#15754c",800:"#0c452d",900:"#04160e"},gray:{50:"#fafafa",100:"#f0f0f0",200:"#d6d6d6",300:"#bdbdbd",400:"#a3a3a3",500:"#8a8a8a",600:"#6e6e6e",700:"#525252",800:"#363636",900:"#1a1a1a"},green:{50:"#f0f5f3",100:"#e4f0ea",200:"#bbead4",300:"#7be4b3",400:"#50de9c",500:"#2fd487",600:"#1ea566",700:"#15754c",800:"#0c452d",900:"#04160e"},blue:{50:"#f5f8fa",100:"#e6f0f5",200:"#d0eaf7",300:"#b5e0f5",400:"#7fc7eb",500:"#4eb2e4",600:"#3f98cc",700:"#2b75ab",800:"#1b5587",900:"#0f3966"},red:{50:"#f9dcdc",100:"#f6cbcb",200:"#f0a8a8",300:"#ea8686",400:"#e36363",500:"#dd4040",600:"#c32222",700:"#931a1a",800:"#641212",900:"#340909"},orange:{50:"#fef7ec",100:"#fdecd4",200:"#fad7a3",300:"#f8c373",400:"#f5ae42",500:"#f39912",600:"#c77c0a",700:"#975e08",800:"#663f05",900:"#362103"},purple:{50:"#f9f5fb",100:"#f1e6f5",200:"#e1c9ea",300:"#d1acde",400:"#bb84ce",500:"#a55cbe",600:"#8840a1",700:"#663079",800:"#442051",900:"#231029"},"brand-purple":"#ab68ff",presentation:"var(--presentation)","text-primary":"var(--text-primary)","text-secondary":"var(--text-secondary)","text-secondary-alt":"var(--text-secondary-alt)","text-tertiary":"var(--text-tertiary)","ring-primary":"var(--ring-primary)","header-primary":"var(--header-primary)","header-hover":"var(--header-hover)","header-button-hover":"var(--header-button-hover)","surface-active":"var(--surface-active)","surface-active-alt":"var(--surface-active-alt)","surface-hover":"var(--surface-hover)","surface-primary":"var(--surface-primary)","surface-primary-alt":"var(--surface-primary-alt)","surface-primary-contrast":"var(--surface-primary-contrast)","surface-secondary":"var(--surface-secondary)","surface-secondary-alt":"var(--surface-secondary-alt)","surface-tertiary":"var(--surface-tertiary)","surface-tertiary-alt":"var(--surface-tertiary-alt)","surface-dialog":"var(--surface-dialog)","surface-submit":"var(--surface-submit)","border-light":"var(--border-light)","border-medium":"var(--border-medium)","border-medium-alt":"var(--border-medium-alt)","border-heavy":"var(--border-heavy)","border-xheavy":"var(--border-xheavy)",border:"hsl(var(--border))",input:"hsl(var(--input))","switch-unchecked":"hsl(var(--switch-unchecked))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{lg:"8px",md:"calc(8px - 2px)",sm:"calc(8px - 4px)"}},PE={button:{defaultProps:{className:"items-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate tracking-[0.16px] justify-center",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},iconButton:{defaultProps:{className:"items-center justify-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate",ripple:!1,color:"green"},styles:{sizes:{md:{fontSize:"text-md",className:"py-2"}},variants:{filled:{blue:{color:"!text-white",background:"bg-blue-400",hover:"hover:bg-blue-500",disabled:"disabled:bg-blue-200 disabled:!text-blue-600 !opacity-100"},green:{color:"!text-white",background:"bg-green-600",hover:"hover:bg-green-700",disabled:"disabled:bg-green-200 disabled:!text-green-600 !opacity-100"},red:{color:"!text-white",background:"bg-red-600",hover:"hover:bg-red-700",disabled:"disabled:bg-red-200 disabled:!text-red-600 !opacity-100"},gray:{color:"text-black",background:"bg-gray-50",hover:"hover:bg-gray-100",disabled:"disabled:bg-gray-50 disabled:!text-gray-200 !opacity-100"},orange:{color:"!text-orange-600",background:"bg-orange-50",hover:"hover:bg-orange-100",disabled:"disabled:bg-orange-50 disabled:!text-orange-200 !opacity-100"}},outlined:{gray:{background:"bg-white",color:"text-gray-700 border-gray-100",hover:"!text-gray-900 hover:bg-gray-100",disabled:"disabled:text-gray-500"}},text:{green:{color:"!text-green-600",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"},gray:{color:"!text-gray-700",hover:"hover:bg-gray-100",disabled:"disabled:!text-gray-500"}}}}},progress:{defaultProps:{className:"bg-gray-100",barProps:{className:"transform transition-all duration-300"}},styles:{sizes:{sm:{container:{initial:{height:"h-1"}}}}}},menu:{styles:{base:{menu:{border:"border border-gray-100",borderRadius:"rounded-xl",boxShadow:"shadow-sm",p:"p-2"},item:{initial:{display:"flex gap-2 items-center focus-within:outline-none text-gray-900",bg:"hover:bg-gray-100",p:"p-2"}}}}},dialog:{defaultProps:{size:"sm",dismiss:{},animate:{mount:{},unmount:{}},className:""},valid:{sizes:["xs","sm","md","lg","xl","xxl"]},styles:{base:{backdrop:{width:"w-full",display:"grid",placeItems:"place-items-center",position:"fixed",top:0,left:0,height:"h-screen",backgroundColor:"bg-[rgba(0,0,0,0.16)]",backgroundOpacity:"bg-opacity-100",backdropFilter:"backdrop-blur-none"},container:{height:"h-[450px]",position:"relative",bg:"bg-white",m:"m-4",borderRadius:"rounded-xl",boxShadow:"shadow-[0px_2px_8px_0px_#00000029,0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A]",fontSmoothing:"antialiased"}},sizes:{sm:{maxWidth:"!max-w-[550px]"},lg:{maxWidth:"!max-w-[700px]"}}}},dialogHeader:{styles:{base:{display:"text-gray-900 font-normal"}}},checkbox:{defaultProps:{color:"custom",ripple:!1},valid:{colors:["blue-gray","gray","red","green","custom"]},styles:{base:{root:{display:"inline-flex",alignItems:"items-center"},container:{position:"relative",display:"flex",alignItems:"items-center",cursor:"cursor-pointer",p:"!p-0",borderRadius:"rounded-full"},input:{peer:"peer",position:"relative",appearance:"appearance-none",width:"w-5",height:"h-5",borderWidth:"border-[1.5px]",borderRadius:"rounded-md",borderColor:"border-gray-100",cursor:"cursor-pointer",transition:"transition-all",before:{content:"before:content-['']",display:"before:block",bg:"before:bg-transparent",width:"before:w-12",height:"before:h-12",borderRadius:"before:rounded-full",position:"before:absolute",opacity:"before:opacity-0 hover:before:opacity-10"}},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",px:"px-2"},icon:{display:"flex",alignItems:"items-center",justifyContent:"justify-center",width:"w-5",height:"h-5",color:"text-green-600",position:"absolute",pointerEvents:"pointer-events-none",opacity:"opacity-0 peer-checked:opacity-100",transition:"transition-opacity"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{custom:{border:"checked:border-green-600"}}}},popover:{defaultProps:{placement:"top",offset:5,dismiss:{},animate:{unmount:{},mount:{}},className:""},styles:{base:{bg:"bg-white",p:"p-4",borderWidth:"border",borderColor:"border-gray-200",borderRadius:"rounded-lg",boxShadow:"[box-shadow:0px_2px_2px_0px_#0000000A,_0px_8px_8px_-8px_#0000000A]",fontSize:"text-sm",fontWeight:"font-normal",color:"text-blue-gray-500",outline:"focus:outline-none",overflowWrap:"break-words",whiteSpace:"whitespace-normal"}}},switch:{defaultProps:{color:"blue",label:"",ripple:!0,className:"",disabled:!1,containerProps:void 0,labelProps:void 0,circleProps:void 0},valid:{colors:["blue-gray","gray","brown","deep-orange","orange","amber","yellow","lime","light-green","green","teal","cyan","light-blue","blue","indigo","deep-purple","purple","pink","red"]},styles:{base:{input:{background:"bg-gray-500"},circle:{borderColor:"border-gray-500",borderRadius:"rounded-full",boxShadow:"shadow-md",position:"absolute",top:"top-2/4",left:"-left-1",transform:"-translate-y-2/4 peer-checked:translate-x-full",transition:"transition-all duration-300",cursor:"cursor-pointer",before:{content:"before:content['']",display:"before:block",bg:"before:bg-blue-gray-500",width:"before:w-10",height:"before:h-10",borderRadius:"before:rounded-full",position:"before:absolute",top:"before:top-2/4",left:"before:left-2/4",transform:"before:-translate-y-2/4 before:-translate-x-2/4",transition:"before:transition-opacity",opacity:"before:opacity-0 hover:before:opacity-10"}},ripple:{display:"inline-block",top:"top-2/4",left:"left-2/4",transform:"-translate-x-2/4 -translate-y-2/4",p:"p-5",borderRadius:"rounded-full"},label:{color:"text-gray-700",fontWeight:"font-light",userSelect:"select-none",cursor:"cursor-pointer",mt:"mt-px",ml:"ml-3",mb:"mb-0"},disabled:{opacity:"opacity-50",pointerEvents:"pointer-events-none"}},colors:{gray:{input:"checked:bg-blue-gray-100",circle:"peer-checked:border-blue-gray-100",before:"peer-checked:before:bg-gray-500"},green:{input:"checked:bg-green-600",circle:"peer-checked:border-green-600",before:"peer-checked:before:bg-green-600"}}}},tabsHeader:{defaultProps:{className:"grow gap-6 rounded-none bg-transparent !p-0 border-b border-b-gray-100 flex items-end px-0 w-full mb-6"}},tab:{defaultProps:{className:"min-w-fit max-w-fit justify-start font-medium text-gray-600 pl-0 pr-2 h-12"},styles:{base:{indicator:{bg:"bg-transparent border-b-2 border-gray-900 !transform-none",borderRadius:"radius-none",boxShadow:"shadow-none"}}}},tabPanel:{styles:{base:{p:"px-0"}}}};var sh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _g(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var t0={exports:{}},qc={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
package/dist/index.esm.js
CHANGED
package/package.json
CHANGED