componenteszw-package 1.0.35 → 1.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/index.css +1 -1
- package/dist/index.js +283 -256
- package/dist/table.d.ts +14 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-9{height:calc(var(--spacing) * 9)}.h-14{height:calc(var(--spacing) * 14)}.h-full{height:100%}.max-h-40{max-height:calc(var(--spacing) * 40)}.min-h-\[72px\]{min-height:72px}.min-h-\[100px\]{min-height:100px}.w-4{width:calc(var(--spacing) * 4)}.w-6{width:calc(var(--spacing) * 6)}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-44{width:calc(var(--spacing) * 44)}.w-\[300px\]{width:300px}.w-\[360px\]{width:360px}.w-\[380px\]{width:380px}.w-\[480px\]{width:480px}.w-\[640px\]{width:640px}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-orange-500{border-color:var(--color-orange-500)}.border-red-500{border-color:var(--color-red-500)}.bg-black\/20{background-color:#0003}@supports (color:color-mix(in lab, red, red)){.bg-black\/20{background-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-yellow-400{background-color:var(--color-yellow-400)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-black{color:var(--color-black)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-orange-500{color:var(--color-orange-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)}.hover\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\:text-orange-600:hover{color:var(--color-orange-600)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:border-red-500:focus{border-color:var(--color-red-500)}.focus\:border-transparent:focus{border-color:#0000}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-gray-400:focus{--tw-ring-color:var(--color-gray-400)}.focus\:ring-green-400:focus{--tw-ring-color:var(--color-green-400)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-orange-400:focus{--tw-ring-color:var(--color-orange-400)}.focus\:ring-red-400:focus{--tw-ring-color:var(--color-red-400)}.focus\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\:opacity-50:disabled{opacity:.5}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.top-full{top:100%}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.mx-auto{margin-inline:auto}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-9{height:calc(var(--spacing) * 9)}.h-14{height:calc(var(--spacing) * 14)}.h-full{height:100%}.max-h-40{max-height:calc(var(--spacing) * 40)}.min-h-\[72px\]{min-height:72px}.min-h-\[100px\]{min-height:100px}.w-4{width:calc(var(--spacing) * 4)}.w-6{width:calc(var(--spacing) * 6)}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-44{width:calc(var(--spacing) * 44)}.w-\[300px\]{width:300px}.w-\[360px\]{width:360px}.w-\[380px\]{width:380px}.w-\[480px\]{width:480px}.w-\[640px\]{width:640px}.w-full{width:100%}.min-w-\[160px\]{min-width:160px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-orange-500{border-color:var(--color-orange-500)}.border-red-500{border-color:var(--color-red-500)}.bg-black\/20{background-color:#0003}@supports (color:color-mix(in lab, red, red)){.bg-black\/20{background-color:color-mix(in oklab, var(--color-black) 20%, transparent)}}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-400{background-color:var(--color-orange-400)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-white{background-color:var(--color-white)}.bg-yellow-400{background-color:var(--color-yellow-400)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-black{color:var(--color-black)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-orange-500{color:var(--color-orange-500)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-50:hover{background-color:var(--color-orange-50)}.hover\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-yellow-500:hover{background-color:var(--color-yellow-500)}.hover\:text-orange-600:hover{color:var(--color-orange-600)}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\:border-green-500:focus{border-color:var(--color-green-500)}.focus\:border-red-500:focus{border-color:var(--color-red-500)}.focus\:border-transparent:focus{border-color:#0000}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-gray-400:focus{--tw-ring-color:var(--color-gray-400)}.focus\:ring-green-400:focus{--tw-ring-color:var(--color-green-400)}.focus\:ring-green-500:focus{--tw-ring-color:var(--color-green-500)}.focus\:ring-orange-400:focus{--tw-ring-color:var(--color-orange-400)}.focus\:ring-red-400:focus{--tw-ring-color:var(--color-red-400)}.focus\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\:ring-yellow-300:focus{--tw-ring-color:var(--color-yellow-300)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\:opacity-50:disabled{opacity:.5}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
|
package/dist/index.js
CHANGED
|
@@ -80,37 +80,37 @@ var p = (e, t) => {
|
|
|
80
80
|
}
|
|
81
81
|
}, T = (e, t, n, r) => {
|
|
82
82
|
if (typeof e == "string") {
|
|
83
|
-
|
|
83
|
+
E(e, t, n);
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
86
|
if (typeof e == "function") {
|
|
87
|
-
|
|
87
|
+
ee(e, t, n, r);
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
let r = e === "" ? t :
|
|
90
|
+
D(e, t, n, r);
|
|
91
|
+
}, E = (e, t, n) => {
|
|
92
|
+
let r = e === "" ? t : O(t, e);
|
|
93
93
|
r.classGroupId = n;
|
|
94
|
-
},
|
|
95
|
-
if (
|
|
94
|
+
}, ee = (e, t, n, r) => {
|
|
95
|
+
if (te(e)) {
|
|
96
96
|
w(e(r), t, n, r);
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
t.validators === null && (t.validators = []), t.validators.push(m(n, e));
|
|
100
|
-
},
|
|
100
|
+
}, D = (e, t, n, r) => {
|
|
101
101
|
let i = Object.entries(e), a = i.length;
|
|
102
102
|
for (let e = 0; e < a; e++) {
|
|
103
103
|
let [a, o] = i[e];
|
|
104
|
-
w(o,
|
|
104
|
+
w(o, O(t, a), n, r);
|
|
105
105
|
}
|
|
106
|
-
},
|
|
106
|
+
}, O = (e, t) => {
|
|
107
107
|
let n = e, r = t.split(g), i = r.length;
|
|
108
108
|
for (let e = 0; e < i; e++) {
|
|
109
109
|
let t = r[e], i = n.nextPart.get(t);
|
|
110
110
|
i || (i = h(), n.nextPart.set(t, i)), n = i;
|
|
111
111
|
}
|
|
112
112
|
return n;
|
|
113
|
-
},
|
|
113
|
+
}, te = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, k = (e) => {
|
|
114
114
|
if (e < 1) return {
|
|
115
115
|
get: () => void 0,
|
|
116
116
|
set: () => {}
|
|
@@ -128,19 +128,19 @@ var p = (e, t) => {
|
|
|
128
128
|
e in n ? n[e] = t : i(e, t);
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
|
-
},
|
|
131
|
+
}, A = "!", j = ":", ne = [], M = (e, t, n, r, i) => ({
|
|
132
132
|
modifiers: e,
|
|
133
133
|
hasImportantModifier: t,
|
|
134
134
|
baseClassName: n,
|
|
135
135
|
maybePostfixModifierPosition: r,
|
|
136
136
|
isExternal: i
|
|
137
|
-
}),
|
|
137
|
+
}), N = (e) => {
|
|
138
138
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
139
139
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
140
140
|
for (let s = 0; s < o; s++) {
|
|
141
141
|
let o = e[s];
|
|
142
142
|
if (n === 0 && r === 0) {
|
|
143
|
-
if (o ===
|
|
143
|
+
if (o === j) {
|
|
144
144
|
t.push(e.slice(i, s)), i = s + 1;
|
|
145
145
|
continue;
|
|
146
146
|
}
|
|
@@ -152,13 +152,13 @@ var p = (e, t) => {
|
|
|
152
152
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
153
153
|
}
|
|
154
154
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
155
|
-
s.endsWith(
|
|
155
|
+
s.endsWith(A) ? (c = s.slice(0, -1), l = !0) : s.startsWith(A) && (c = s.slice(1), l = !0);
|
|
156
156
|
let u = a && a > i ? a - i : void 0;
|
|
157
|
-
return
|
|
157
|
+
return M(t, l, c, u);
|
|
158
158
|
};
|
|
159
159
|
if (t) {
|
|
160
|
-
let e = t +
|
|
161
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
160
|
+
let e = t + j, n = r;
|
|
161
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : M(ne, !1, t, void 0, !0);
|
|
162
162
|
}
|
|
163
163
|
if (n) {
|
|
164
164
|
let e = r;
|
|
@@ -168,7 +168,7 @@ var p = (e, t) => {
|
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
return r;
|
|
171
|
-
},
|
|
171
|
+
}, re = (e) => {
|
|
172
172
|
let t = /* @__PURE__ */ new Map();
|
|
173
173
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
174
174
|
t.set(e, 1e6 + n);
|
|
@@ -180,13 +180,13 @@ var p = (e, t) => {
|
|
|
180
180
|
}
|
|
181
181
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
182
182
|
};
|
|
183
|
-
},
|
|
184
|
-
cache:
|
|
185
|
-
parseClassName:
|
|
186
|
-
sortModifiers:
|
|
183
|
+
}, ie = (e) => ({
|
|
184
|
+
cache: k(e.cacheSize),
|
|
185
|
+
parseClassName: N(e),
|
|
186
|
+
sortModifiers: re(e),
|
|
187
187
|
...y(e)
|
|
188
|
-
}),
|
|
189
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(
|
|
188
|
+
}), ae = /\s+/, oe = (e, t) => {
|
|
189
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(ae), c = "";
|
|
190
190
|
for (let e = s.length - 1; e >= 0; --e) {
|
|
191
191
|
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
192
192
|
if (l) {
|
|
@@ -205,7 +205,7 @@ var p = (e, t) => {
|
|
|
205
205
|
}
|
|
206
206
|
m = !1;
|
|
207
207
|
}
|
|
208
|
-
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g +
|
|
208
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + A : g, v = _ + h;
|
|
209
209
|
if (o.indexOf(v) > -1) continue;
|
|
210
210
|
o.push(v);
|
|
211
211
|
let y = i(h, m);
|
|
@@ -216,34 +216,34 @@ var p = (e, t) => {
|
|
|
216
216
|
c = t + (c.length > 0 ? " " + c : c);
|
|
217
217
|
}
|
|
218
218
|
return c;
|
|
219
|
-
},
|
|
219
|
+
}, P = (...e) => {
|
|
220
220
|
let t = 0, n, r, i = "";
|
|
221
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
221
|
+
for (; t < e.length;) (n = e[t++]) && (r = F(n)) && (i && (i += " "), i += r);
|
|
222
222
|
return i;
|
|
223
|
-
},
|
|
223
|
+
}, F = (e) => {
|
|
224
224
|
if (typeof e == "string") return e;
|
|
225
225
|
let t, n = "";
|
|
226
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
226
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = F(e[r])) && (n && (n += " "), n += t);
|
|
227
227
|
return n;
|
|
228
|
-
},
|
|
229
|
-
let n, r, i, a, o = (o) => (n =
|
|
228
|
+
}, I = (e, ...t) => {
|
|
229
|
+
let n, r, i, a, o = (o) => (n = ie(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
230
230
|
let t = r(e);
|
|
231
231
|
if (t) return t;
|
|
232
|
-
let a =
|
|
232
|
+
let a = oe(e, n);
|
|
233
233
|
return i(e, a), a;
|
|
234
234
|
};
|
|
235
|
-
return a = o, (...e) => a(
|
|
236
|
-
},
|
|
237
|
-
let t = (t) => t[e] ||
|
|
235
|
+
return a = o, (...e) => a(P(...e));
|
|
236
|
+
}, se = [], L = (e) => {
|
|
237
|
+
let t = (t) => t[e] || se;
|
|
238
238
|
return t.isThemeGetter = !0, t;
|
|
239
|
-
},
|
|
240
|
-
let r =
|
|
239
|
+
}, R = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ce = /^\((?:(\w[\w-]*):)?(.+)\)$/i, z = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, B = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, le = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, V = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, de = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => z.test(e), U = (e) => !!e && !Number.isNaN(Number(e)), W = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && U(e.slice(0, -1)), G = (e) => B.test(e), pe = () => !0, me = (e) => le.test(e) && !V.test(e), he = () => !1, ge = (e) => ue.test(e), _e = (e) => de.test(e), ve = (e) => !K(e) && !J(e), ye = (e) => X(e, Pe, he), K = (e) => R.test(e), q = (e) => X(e, Fe, me), be = (e) => X(e, Ie, U), xe = (e) => X(e, Re, pe), Se = (e) => X(e, Le, he), Ce = (e) => X(e, Me, he), we = (e) => X(e, Ne, _e), Te = (e) => X(e, ze, ge), J = (e) => ce.test(e), Y = (e) => Z(e, Fe), Ee = (e) => Z(e, Le), De = (e) => Z(e, Me), Oe = (e) => Z(e, Pe), ke = (e) => Z(e, Ne), Ae = (e) => Z(e, ze, !0), je = (e) => Z(e, Re, !0), X = (e, t, n) => {
|
|
240
|
+
let r = R.exec(e);
|
|
241
241
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
242
242
|
}, Z = (e, t, n = !1) => {
|
|
243
|
-
let r =
|
|
243
|
+
let r = ce.exec(e);
|
|
244
244
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
245
|
-
}, Me = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", Ie = (e) => e === "number", Le = (e) => e === "family-name", Re = (e) => e === "number" || e === "weight", ze = (e) => e === "shadow", Be = /* @__PURE__ */
|
|
246
|
-
let e =
|
|
245
|
+
}, Me = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", Ie = (e) => e === "number", Le = (e) => e === "family-name", Re = (e) => e === "number" || e === "weight", ze = (e) => e === "shadow", Be = /* @__PURE__ */ I(() => {
|
|
246
|
+
let e = L("color"), t = L("font"), n = L("text"), r = L("font-weight"), i = L("tracking"), a = L("leading"), o = L("breakpoint"), s = L("container"), c = L("spacing"), l = L("radius"), u = L("shadow"), d = L("inset-shadow"), f = L("text-shadow"), p = L("drop-shadow"), m = L("blur"), h = L("perspective"), g = L("aspect"), _ = L("ease"), v = L("animate"), y = () => [
|
|
247
247
|
"auto",
|
|
248
248
|
"avoid",
|
|
249
249
|
"all",
|
|
@@ -289,13 +289,13 @@ var p = (e, t) => {
|
|
|
289
289
|
"full",
|
|
290
290
|
"auto",
|
|
291
291
|
...w()
|
|
292
|
-
],
|
|
292
|
+
], E = () => [
|
|
293
293
|
W,
|
|
294
294
|
"none",
|
|
295
295
|
"subgrid",
|
|
296
296
|
J,
|
|
297
297
|
K
|
|
298
|
-
],
|
|
298
|
+
], ee = () => [
|
|
299
299
|
"auto",
|
|
300
300
|
{ span: [
|
|
301
301
|
"full",
|
|
@@ -306,19 +306,19 @@ var p = (e, t) => {
|
|
|
306
306
|
W,
|
|
307
307
|
J,
|
|
308
308
|
K
|
|
309
|
-
],
|
|
309
|
+
], D = () => [
|
|
310
310
|
W,
|
|
311
311
|
"auto",
|
|
312
312
|
J,
|
|
313
313
|
K
|
|
314
|
-
],
|
|
314
|
+
], O = () => [
|
|
315
315
|
"auto",
|
|
316
316
|
"min",
|
|
317
317
|
"max",
|
|
318
318
|
"fr",
|
|
319
319
|
J,
|
|
320
320
|
K
|
|
321
|
-
],
|
|
321
|
+
], te = () => [
|
|
322
322
|
"start",
|
|
323
323
|
"end",
|
|
324
324
|
"center",
|
|
@@ -329,14 +329,14 @@ var p = (e, t) => {
|
|
|
329
329
|
"baseline",
|
|
330
330
|
"center-safe",
|
|
331
331
|
"end-safe"
|
|
332
|
-
],
|
|
332
|
+
], k = () => [
|
|
333
333
|
"start",
|
|
334
334
|
"end",
|
|
335
335
|
"center",
|
|
336
336
|
"stretch",
|
|
337
337
|
"center-safe",
|
|
338
338
|
"end-safe"
|
|
339
|
-
],
|
|
339
|
+
], A = () => ["auto", ...w()], j = () => [
|
|
340
340
|
H,
|
|
341
341
|
"auto",
|
|
342
342
|
"full",
|
|
@@ -350,7 +350,7 @@ var p = (e, t) => {
|
|
|
350
350
|
"max",
|
|
351
351
|
"fit",
|
|
352
352
|
...w()
|
|
353
|
-
],
|
|
353
|
+
], ne = () => [
|
|
354
354
|
H,
|
|
355
355
|
"screen",
|
|
356
356
|
"full",
|
|
@@ -361,7 +361,7 @@ var p = (e, t) => {
|
|
|
361
361
|
"max",
|
|
362
362
|
"fit",
|
|
363
363
|
...w()
|
|
364
|
-
],
|
|
364
|
+
], M = () => [
|
|
365
365
|
H,
|
|
366
366
|
"screen",
|
|
367
367
|
"full",
|
|
@@ -373,50 +373,50 @@ var p = (e, t) => {
|
|
|
373
373
|
"max",
|
|
374
374
|
"fit",
|
|
375
375
|
...w()
|
|
376
|
-
],
|
|
376
|
+
], N = () => [
|
|
377
377
|
e,
|
|
378
378
|
J,
|
|
379
379
|
K
|
|
380
|
-
],
|
|
380
|
+
], re = () => [
|
|
381
381
|
...b(),
|
|
382
382
|
De,
|
|
383
383
|
Ce,
|
|
384
384
|
{ position: [J, K] }
|
|
385
|
-
],
|
|
385
|
+
], ie = () => ["no-repeat", { repeat: [
|
|
386
386
|
"",
|
|
387
387
|
"x",
|
|
388
388
|
"y",
|
|
389
389
|
"space",
|
|
390
390
|
"round"
|
|
391
|
-
] }],
|
|
391
|
+
] }], ae = () => [
|
|
392
392
|
"auto",
|
|
393
393
|
"cover",
|
|
394
394
|
"contain",
|
|
395
395
|
Oe,
|
|
396
396
|
ye,
|
|
397
397
|
{ size: [J, K] }
|
|
398
|
-
],
|
|
398
|
+
], oe = () => [
|
|
399
399
|
fe,
|
|
400
400
|
Y,
|
|
401
401
|
q
|
|
402
|
-
],
|
|
402
|
+
], P = () => [
|
|
403
403
|
"",
|
|
404
404
|
"none",
|
|
405
405
|
"full",
|
|
406
406
|
l,
|
|
407
407
|
J,
|
|
408
408
|
K
|
|
409
|
-
],
|
|
409
|
+
], F = () => [
|
|
410
410
|
"",
|
|
411
411
|
U,
|
|
412
412
|
Y,
|
|
413
413
|
q
|
|
414
|
-
],
|
|
414
|
+
], I = () => [
|
|
415
415
|
"solid",
|
|
416
416
|
"dashed",
|
|
417
417
|
"dotted",
|
|
418
418
|
"double"
|
|
419
|
-
],
|
|
419
|
+
], se = () => [
|
|
420
420
|
"normal",
|
|
421
421
|
"multiply",
|
|
422
422
|
"screen",
|
|
@@ -433,12 +433,12 @@ var p = (e, t) => {
|
|
|
433
433
|
"saturation",
|
|
434
434
|
"color",
|
|
435
435
|
"luminosity"
|
|
436
|
-
],
|
|
436
|
+
], R = () => [
|
|
437
437
|
U,
|
|
438
438
|
fe,
|
|
439
439
|
De,
|
|
440
440
|
Ce
|
|
441
|
-
],
|
|
441
|
+
], ce = () => [
|
|
442
442
|
"",
|
|
443
443
|
"none",
|
|
444
444
|
m,
|
|
@@ -687,14 +687,14 @@ var p = (e, t) => {
|
|
|
687
687
|
J,
|
|
688
688
|
K
|
|
689
689
|
] }],
|
|
690
|
-
"grid-cols": [{ "grid-cols":
|
|
691
|
-
"col-start-end": [{ col:
|
|
692
|
-
"col-start": [{ "col-start":
|
|
693
|
-
"col-end": [{ "col-end":
|
|
694
|
-
"grid-rows": [{ "grid-rows":
|
|
695
|
-
"row-start-end": [{ row:
|
|
696
|
-
"row-start": [{ "row-start":
|
|
697
|
-
"row-end": [{ "row-end":
|
|
690
|
+
"grid-cols": [{ "grid-cols": E() }],
|
|
691
|
+
"col-start-end": [{ col: ee() }],
|
|
692
|
+
"col-start": [{ "col-start": D() }],
|
|
693
|
+
"col-end": [{ "col-end": D() }],
|
|
694
|
+
"grid-rows": [{ "grid-rows": E() }],
|
|
695
|
+
"row-start-end": [{ row: ee() }],
|
|
696
|
+
"row-start": [{ "row-start": D() }],
|
|
697
|
+
"row-end": [{ "row-end": D() }],
|
|
698
698
|
"grid-flow": [{ "grid-flow": [
|
|
699
699
|
"row",
|
|
700
700
|
"col",
|
|
@@ -702,24 +702,24 @@ var p = (e, t) => {
|
|
|
702
702
|
"row-dense",
|
|
703
703
|
"col-dense"
|
|
704
704
|
] }],
|
|
705
|
-
"auto-cols": [{ "auto-cols":
|
|
706
|
-
"auto-rows": [{ "auto-rows":
|
|
705
|
+
"auto-cols": [{ "auto-cols": O() }],
|
|
706
|
+
"auto-rows": [{ "auto-rows": O() }],
|
|
707
707
|
gap: [{ gap: w() }],
|
|
708
708
|
"gap-x": [{ "gap-x": w() }],
|
|
709
709
|
"gap-y": [{ "gap-y": w() }],
|
|
710
|
-
"justify-content": [{ justify: [...
|
|
711
|
-
"justify-items": [{ "justify-items": [...
|
|
712
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
713
|
-
"align-content": [{ content: ["normal", ...
|
|
714
|
-
"align-items": [{ items: [...
|
|
710
|
+
"justify-content": [{ justify: [...te(), "normal"] }],
|
|
711
|
+
"justify-items": [{ "justify-items": [...k(), "normal"] }],
|
|
712
|
+
"justify-self": [{ "justify-self": ["auto", ...k()] }],
|
|
713
|
+
"align-content": [{ content: ["normal", ...te()] }],
|
|
714
|
+
"align-items": [{ items: [...k(), { baseline: ["", "last"] }] }],
|
|
715
715
|
"align-self": [{ self: [
|
|
716
716
|
"auto",
|
|
717
|
-
...
|
|
717
|
+
...k(),
|
|
718
718
|
{ baseline: ["", "last"] }
|
|
719
719
|
] }],
|
|
720
|
-
"place-content": [{ "place-content":
|
|
721
|
-
"place-items": [{ "place-items": [...
|
|
722
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
720
|
+
"place-content": [{ "place-content": te() }],
|
|
721
|
+
"place-items": [{ "place-items": [...k(), "baseline"] }],
|
|
722
|
+
"place-self": [{ "place-self": ["auto", ...k()] }],
|
|
723
723
|
p: [{ p: w() }],
|
|
724
724
|
px: [{ px: w() }],
|
|
725
725
|
py: [{ py: w() }],
|
|
@@ -731,38 +731,38 @@ var p = (e, t) => {
|
|
|
731
731
|
pr: [{ pr: w() }],
|
|
732
732
|
pb: [{ pb: w() }],
|
|
733
733
|
pl: [{ pl: w() }],
|
|
734
|
-
m: [{ m:
|
|
735
|
-
mx: [{ mx:
|
|
736
|
-
my: [{ my:
|
|
737
|
-
ms: [{ ms:
|
|
738
|
-
me: [{ me:
|
|
739
|
-
mbs: [{ mbs:
|
|
740
|
-
mbe: [{ mbe:
|
|
741
|
-
mt: [{ mt:
|
|
742
|
-
mr: [{ mr:
|
|
743
|
-
mb: [{ mb:
|
|
744
|
-
ml: [{ ml:
|
|
734
|
+
m: [{ m: A() }],
|
|
735
|
+
mx: [{ mx: A() }],
|
|
736
|
+
my: [{ my: A() }],
|
|
737
|
+
ms: [{ ms: A() }],
|
|
738
|
+
me: [{ me: A() }],
|
|
739
|
+
mbs: [{ mbs: A() }],
|
|
740
|
+
mbe: [{ mbe: A() }],
|
|
741
|
+
mt: [{ mt: A() }],
|
|
742
|
+
mr: [{ mr: A() }],
|
|
743
|
+
mb: [{ mb: A() }],
|
|
744
|
+
ml: [{ ml: A() }],
|
|
745
745
|
"space-x": [{ "space-x": w() }],
|
|
746
746
|
"space-x-reverse": ["space-x-reverse"],
|
|
747
747
|
"space-y": [{ "space-y": w() }],
|
|
748
748
|
"space-y-reverse": ["space-y-reverse"],
|
|
749
|
-
size: [{ size:
|
|
750
|
-
"inline-size": [{ inline: ["auto", ...
|
|
751
|
-
"min-inline-size": [{ "min-inline": ["auto", ...
|
|
752
|
-
"max-inline-size": [{ "max-inline": ["none", ...
|
|
753
|
-
"block-size": [{ block: ["auto", ...
|
|
754
|
-
"min-block-size": [{ "min-block": ["auto", ...
|
|
755
|
-
"max-block-size": [{ "max-block": ["none", ...
|
|
749
|
+
size: [{ size: j() }],
|
|
750
|
+
"inline-size": [{ inline: ["auto", ...ne()] }],
|
|
751
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ne()] }],
|
|
752
|
+
"max-inline-size": [{ "max-inline": ["none", ...ne()] }],
|
|
753
|
+
"block-size": [{ block: ["auto", ...M()] }],
|
|
754
|
+
"min-block-size": [{ "min-block": ["auto", ...M()] }],
|
|
755
|
+
"max-block-size": [{ "max-block": ["none", ...M()] }],
|
|
756
756
|
w: [{ w: [
|
|
757
757
|
s,
|
|
758
758
|
"screen",
|
|
759
|
-
...
|
|
759
|
+
...j()
|
|
760
760
|
] }],
|
|
761
761
|
"min-w": [{ "min-w": [
|
|
762
762
|
s,
|
|
763
763
|
"screen",
|
|
764
764
|
"none",
|
|
765
|
-
...
|
|
765
|
+
...j()
|
|
766
766
|
] }],
|
|
767
767
|
"max-w": [{ "max-w": [
|
|
768
768
|
s,
|
|
@@ -770,23 +770,23 @@ var p = (e, t) => {
|
|
|
770
770
|
"none",
|
|
771
771
|
"prose",
|
|
772
772
|
{ screen: [o] },
|
|
773
|
-
...
|
|
773
|
+
...j()
|
|
774
774
|
] }],
|
|
775
775
|
h: [{ h: [
|
|
776
776
|
"screen",
|
|
777
777
|
"lh",
|
|
778
|
-
...
|
|
778
|
+
...j()
|
|
779
779
|
] }],
|
|
780
780
|
"min-h": [{ "min-h": [
|
|
781
781
|
"screen",
|
|
782
782
|
"lh",
|
|
783
783
|
"none",
|
|
784
|
-
...
|
|
784
|
+
...j()
|
|
785
785
|
] }],
|
|
786
786
|
"max-h": [{ "max-h": [
|
|
787
787
|
"screen",
|
|
788
788
|
"lh",
|
|
789
|
-
...
|
|
789
|
+
...j()
|
|
790
790
|
] }],
|
|
791
791
|
"font-size": [{ text: [
|
|
792
792
|
"base",
|
|
@@ -859,15 +859,15 @@ var p = (e, t) => {
|
|
|
859
859
|
"start",
|
|
860
860
|
"end"
|
|
861
861
|
] }],
|
|
862
|
-
"placeholder-color": [{ placeholder:
|
|
863
|
-
"text-color": [{ text:
|
|
862
|
+
"placeholder-color": [{ placeholder: N() }],
|
|
863
|
+
"text-color": [{ text: N() }],
|
|
864
864
|
"text-decoration": [
|
|
865
865
|
"underline",
|
|
866
866
|
"overline",
|
|
867
867
|
"line-through",
|
|
868
868
|
"no-underline"
|
|
869
869
|
],
|
|
870
|
-
"text-decoration-style": [{ decoration: [...
|
|
870
|
+
"text-decoration-style": [{ decoration: [...I(), "wavy"] }],
|
|
871
871
|
"text-decoration-thickness": [{ decoration: [
|
|
872
872
|
U,
|
|
873
873
|
"from-font",
|
|
@@ -875,7 +875,7 @@ var p = (e, t) => {
|
|
|
875
875
|
J,
|
|
876
876
|
q
|
|
877
877
|
] }],
|
|
878
|
-
"text-decoration-color": [{ decoration:
|
|
878
|
+
"text-decoration-color": [{ decoration: N() }],
|
|
879
879
|
"underline-offset": [{ "underline-offset": [
|
|
880
880
|
U,
|
|
881
881
|
"auto",
|
|
@@ -957,9 +957,9 @@ var p = (e, t) => {
|
|
|
957
957
|
"padding",
|
|
958
958
|
"content"
|
|
959
959
|
] }],
|
|
960
|
-
"bg-position": [{ bg:
|
|
961
|
-
"bg-repeat": [{ bg:
|
|
962
|
-
"bg-size": [{ bg:
|
|
960
|
+
"bg-position": [{ bg: re() }],
|
|
961
|
+
"bg-repeat": [{ bg: ie() }],
|
|
962
|
+
"bg-size": [{ bg: ae() }],
|
|
963
963
|
"bg-image": [{ bg: [
|
|
964
964
|
"none",
|
|
965
965
|
{
|
|
@@ -992,67 +992,67 @@ var p = (e, t) => {
|
|
|
992
992
|
ke,
|
|
993
993
|
we
|
|
994
994
|
] }],
|
|
995
|
-
"bg-color": [{ bg:
|
|
996
|
-
"gradient-from-pos": [{ from:
|
|
997
|
-
"gradient-via-pos": [{ via:
|
|
998
|
-
"gradient-to-pos": [{ to:
|
|
999
|
-
"gradient-from": [{ from:
|
|
1000
|
-
"gradient-via": [{ via:
|
|
1001
|
-
"gradient-to": [{ to:
|
|
1002
|
-
rounded: [{ rounded:
|
|
1003
|
-
"rounded-s": [{ "rounded-s":
|
|
1004
|
-
"rounded-e": [{ "rounded-e":
|
|
1005
|
-
"rounded-t": [{ "rounded-t":
|
|
1006
|
-
"rounded-r": [{ "rounded-r":
|
|
1007
|
-
"rounded-b": [{ "rounded-b":
|
|
1008
|
-
"rounded-l": [{ "rounded-l":
|
|
1009
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1010
|
-
"rounded-se": [{ "rounded-se":
|
|
1011
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1012
|
-
"rounded-es": [{ "rounded-es":
|
|
1013
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1014
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1015
|
-
"rounded-br": [{ "rounded-br":
|
|
1016
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1017
|
-
"border-w": [{ border:
|
|
1018
|
-
"border-w-x": [{ "border-x":
|
|
1019
|
-
"border-w-y": [{ "border-y":
|
|
1020
|
-
"border-w-s": [{ "border-s":
|
|
1021
|
-
"border-w-e": [{ "border-e":
|
|
1022
|
-
"border-w-bs": [{ "border-bs":
|
|
1023
|
-
"border-w-be": [{ "border-be":
|
|
1024
|
-
"border-w-t": [{ "border-t":
|
|
1025
|
-
"border-w-r": [{ "border-r":
|
|
1026
|
-
"border-w-b": [{ "border-b":
|
|
1027
|
-
"border-w-l": [{ "border-l":
|
|
1028
|
-
"divide-x": [{ "divide-x":
|
|
995
|
+
"bg-color": [{ bg: N() }],
|
|
996
|
+
"gradient-from-pos": [{ from: oe() }],
|
|
997
|
+
"gradient-via-pos": [{ via: oe() }],
|
|
998
|
+
"gradient-to-pos": [{ to: oe() }],
|
|
999
|
+
"gradient-from": [{ from: N() }],
|
|
1000
|
+
"gradient-via": [{ via: N() }],
|
|
1001
|
+
"gradient-to": [{ to: N() }],
|
|
1002
|
+
rounded: [{ rounded: P() }],
|
|
1003
|
+
"rounded-s": [{ "rounded-s": P() }],
|
|
1004
|
+
"rounded-e": [{ "rounded-e": P() }],
|
|
1005
|
+
"rounded-t": [{ "rounded-t": P() }],
|
|
1006
|
+
"rounded-r": [{ "rounded-r": P() }],
|
|
1007
|
+
"rounded-b": [{ "rounded-b": P() }],
|
|
1008
|
+
"rounded-l": [{ "rounded-l": P() }],
|
|
1009
|
+
"rounded-ss": [{ "rounded-ss": P() }],
|
|
1010
|
+
"rounded-se": [{ "rounded-se": P() }],
|
|
1011
|
+
"rounded-ee": [{ "rounded-ee": P() }],
|
|
1012
|
+
"rounded-es": [{ "rounded-es": P() }],
|
|
1013
|
+
"rounded-tl": [{ "rounded-tl": P() }],
|
|
1014
|
+
"rounded-tr": [{ "rounded-tr": P() }],
|
|
1015
|
+
"rounded-br": [{ "rounded-br": P() }],
|
|
1016
|
+
"rounded-bl": [{ "rounded-bl": P() }],
|
|
1017
|
+
"border-w": [{ border: F() }],
|
|
1018
|
+
"border-w-x": [{ "border-x": F() }],
|
|
1019
|
+
"border-w-y": [{ "border-y": F() }],
|
|
1020
|
+
"border-w-s": [{ "border-s": F() }],
|
|
1021
|
+
"border-w-e": [{ "border-e": F() }],
|
|
1022
|
+
"border-w-bs": [{ "border-bs": F() }],
|
|
1023
|
+
"border-w-be": [{ "border-be": F() }],
|
|
1024
|
+
"border-w-t": [{ "border-t": F() }],
|
|
1025
|
+
"border-w-r": [{ "border-r": F() }],
|
|
1026
|
+
"border-w-b": [{ "border-b": F() }],
|
|
1027
|
+
"border-w-l": [{ "border-l": F() }],
|
|
1028
|
+
"divide-x": [{ "divide-x": F() }],
|
|
1029
1029
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1030
|
-
"divide-y": [{ "divide-y":
|
|
1030
|
+
"divide-y": [{ "divide-y": F() }],
|
|
1031
1031
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1032
1032
|
"border-style": [{ border: [
|
|
1033
|
-
...
|
|
1033
|
+
...I(),
|
|
1034
1034
|
"hidden",
|
|
1035
1035
|
"none"
|
|
1036
1036
|
] }],
|
|
1037
1037
|
"divide-style": [{ divide: [
|
|
1038
|
-
...
|
|
1038
|
+
...I(),
|
|
1039
1039
|
"hidden",
|
|
1040
1040
|
"none"
|
|
1041
1041
|
] }],
|
|
1042
|
-
"border-color": [{ border:
|
|
1043
|
-
"border-color-x": [{ "border-x":
|
|
1044
|
-
"border-color-y": [{ "border-y":
|
|
1045
|
-
"border-color-s": [{ "border-s":
|
|
1046
|
-
"border-color-e": [{ "border-e":
|
|
1047
|
-
"border-color-bs": [{ "border-bs":
|
|
1048
|
-
"border-color-be": [{ "border-be":
|
|
1049
|
-
"border-color-t": [{ "border-t":
|
|
1050
|
-
"border-color-r": [{ "border-r":
|
|
1051
|
-
"border-color-b": [{ "border-b":
|
|
1052
|
-
"border-color-l": [{ "border-l":
|
|
1053
|
-
"divide-color": [{ divide:
|
|
1042
|
+
"border-color": [{ border: N() }],
|
|
1043
|
+
"border-color-x": [{ "border-x": N() }],
|
|
1044
|
+
"border-color-y": [{ "border-y": N() }],
|
|
1045
|
+
"border-color-s": [{ "border-s": N() }],
|
|
1046
|
+
"border-color-e": [{ "border-e": N() }],
|
|
1047
|
+
"border-color-bs": [{ "border-bs": N() }],
|
|
1048
|
+
"border-color-be": [{ "border-be": N() }],
|
|
1049
|
+
"border-color-t": [{ "border-t": N() }],
|
|
1050
|
+
"border-color-r": [{ "border-r": N() }],
|
|
1051
|
+
"border-color-b": [{ "border-b": N() }],
|
|
1052
|
+
"border-color-l": [{ "border-l": N() }],
|
|
1053
|
+
"divide-color": [{ divide: N() }],
|
|
1054
1054
|
"outline-style": [{ outline: [
|
|
1055
|
-
...
|
|
1055
|
+
...I(),
|
|
1056
1056
|
"none",
|
|
1057
1057
|
"hidden"
|
|
1058
1058
|
] }],
|
|
@@ -1067,7 +1067,7 @@ var p = (e, t) => {
|
|
|
1067
1067
|
Y,
|
|
1068
1068
|
q
|
|
1069
1069
|
] }],
|
|
1070
|
-
"outline-color": [{ outline:
|
|
1070
|
+
"outline-color": [{ outline: N() }],
|
|
1071
1071
|
shadow: [{ shadow: [
|
|
1072
1072
|
"",
|
|
1073
1073
|
"none",
|
|
@@ -1075,39 +1075,39 @@ var p = (e, t) => {
|
|
|
1075
1075
|
Ae,
|
|
1076
1076
|
Te
|
|
1077
1077
|
] }],
|
|
1078
|
-
"shadow-color": [{ shadow:
|
|
1078
|
+
"shadow-color": [{ shadow: N() }],
|
|
1079
1079
|
"inset-shadow": [{ "inset-shadow": [
|
|
1080
1080
|
"none",
|
|
1081
1081
|
d,
|
|
1082
1082
|
Ae,
|
|
1083
1083
|
Te
|
|
1084
1084
|
] }],
|
|
1085
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1086
|
-
"ring-w": [{ ring:
|
|
1085
|
+
"inset-shadow-color": [{ "inset-shadow": N() }],
|
|
1086
|
+
"ring-w": [{ ring: F() }],
|
|
1087
1087
|
"ring-w-inset": ["ring-inset"],
|
|
1088
|
-
"ring-color": [{ ring:
|
|
1088
|
+
"ring-color": [{ ring: N() }],
|
|
1089
1089
|
"ring-offset-w": [{ "ring-offset": [U, q] }],
|
|
1090
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1091
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1092
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1090
|
+
"ring-offset-color": [{ "ring-offset": N() }],
|
|
1091
|
+
"inset-ring-w": [{ "inset-ring": F() }],
|
|
1092
|
+
"inset-ring-color": [{ "inset-ring": N() }],
|
|
1093
1093
|
"text-shadow": [{ "text-shadow": [
|
|
1094
1094
|
"none",
|
|
1095
1095
|
f,
|
|
1096
1096
|
Ae,
|
|
1097
1097
|
Te
|
|
1098
1098
|
] }],
|
|
1099
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1099
|
+
"text-shadow-color": [{ "text-shadow": N() }],
|
|
1100
1100
|
opacity: [{ opacity: [
|
|
1101
1101
|
U,
|
|
1102
1102
|
J,
|
|
1103
1103
|
K
|
|
1104
1104
|
] }],
|
|
1105
1105
|
"mix-blend": [{ "mix-blend": [
|
|
1106
|
-
...
|
|
1106
|
+
...se(),
|
|
1107
1107
|
"plus-darker",
|
|
1108
1108
|
"plus-lighter"
|
|
1109
1109
|
] }],
|
|
1110
|
-
"bg-blend": [{ "bg-blend":
|
|
1110
|
+
"bg-blend": [{ "bg-blend": se() }],
|
|
1111
1111
|
"mask-clip": [{ "mask-clip": [
|
|
1112
1112
|
"border",
|
|
1113
1113
|
"padding",
|
|
@@ -1123,39 +1123,39 @@ var p = (e, t) => {
|
|
|
1123
1123
|
"exclude"
|
|
1124
1124
|
] }],
|
|
1125
1125
|
"mask-image-linear-pos": [{ "mask-linear": [U] }],
|
|
1126
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1127
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1128
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1129
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1130
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1131
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1132
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1133
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1134
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1135
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1136
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1137
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1138
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1139
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1140
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1141
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1142
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1143
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1144
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1145
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1146
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1147
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1148
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1149
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1150
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1151
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1152
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1153
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1126
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
|
|
1127
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
|
|
1128
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": N() }],
|
|
1129
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": N() }],
|
|
1130
|
+
"mask-image-t-from-pos": [{ "mask-t-from": R() }],
|
|
1131
|
+
"mask-image-t-to-pos": [{ "mask-t-to": R() }],
|
|
1132
|
+
"mask-image-t-from-color": [{ "mask-t-from": N() }],
|
|
1133
|
+
"mask-image-t-to-color": [{ "mask-t-to": N() }],
|
|
1134
|
+
"mask-image-r-from-pos": [{ "mask-r-from": R() }],
|
|
1135
|
+
"mask-image-r-to-pos": [{ "mask-r-to": R() }],
|
|
1136
|
+
"mask-image-r-from-color": [{ "mask-r-from": N() }],
|
|
1137
|
+
"mask-image-r-to-color": [{ "mask-r-to": N() }],
|
|
1138
|
+
"mask-image-b-from-pos": [{ "mask-b-from": R() }],
|
|
1139
|
+
"mask-image-b-to-pos": [{ "mask-b-to": R() }],
|
|
1140
|
+
"mask-image-b-from-color": [{ "mask-b-from": N() }],
|
|
1141
|
+
"mask-image-b-to-color": [{ "mask-b-to": N() }],
|
|
1142
|
+
"mask-image-l-from-pos": [{ "mask-l-from": R() }],
|
|
1143
|
+
"mask-image-l-to-pos": [{ "mask-l-to": R() }],
|
|
1144
|
+
"mask-image-l-from-color": [{ "mask-l-from": N() }],
|
|
1145
|
+
"mask-image-l-to-color": [{ "mask-l-to": N() }],
|
|
1146
|
+
"mask-image-x-from-pos": [{ "mask-x-from": R() }],
|
|
1147
|
+
"mask-image-x-to-pos": [{ "mask-x-to": R() }],
|
|
1148
|
+
"mask-image-x-from-color": [{ "mask-x-from": N() }],
|
|
1149
|
+
"mask-image-x-to-color": [{ "mask-x-to": N() }],
|
|
1150
|
+
"mask-image-y-from-pos": [{ "mask-y-from": R() }],
|
|
1151
|
+
"mask-image-y-to-pos": [{ "mask-y-to": R() }],
|
|
1152
|
+
"mask-image-y-from-color": [{ "mask-y-from": N() }],
|
|
1153
|
+
"mask-image-y-to-color": [{ "mask-y-to": N() }],
|
|
1154
1154
|
"mask-image-radial": [{ "mask-radial": [J, K] }],
|
|
1155
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1156
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1157
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1158
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1155
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
|
|
1156
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
|
|
1157
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": N() }],
|
|
1158
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": N() }],
|
|
1159
1159
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1160
1160
|
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1161
1161
|
closest: ["side", "corner"],
|
|
@@ -1163,10 +1163,10 @@ var p = (e, t) => {
|
|
|
1163
1163
|
}] }],
|
|
1164
1164
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1165
1165
|
"mask-image-conic-pos": [{ "mask-conic": [U] }],
|
|
1166
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1167
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1168
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1169
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1166
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
|
|
1167
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
|
|
1168
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": N() }],
|
|
1169
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": N() }],
|
|
1170
1170
|
"mask-mode": [{ mask: [
|
|
1171
1171
|
"alpha",
|
|
1172
1172
|
"luminance",
|
|
@@ -1180,9 +1180,9 @@ var p = (e, t) => {
|
|
|
1180
1180
|
"stroke",
|
|
1181
1181
|
"view"
|
|
1182
1182
|
] }],
|
|
1183
|
-
"mask-position": [{ mask:
|
|
1184
|
-
"mask-repeat": [{ mask:
|
|
1185
|
-
"mask-size": [{ mask:
|
|
1183
|
+
"mask-position": [{ mask: re() }],
|
|
1184
|
+
"mask-repeat": [{ mask: ie() }],
|
|
1185
|
+
"mask-size": [{ mask: ae() }],
|
|
1186
1186
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1187
1187
|
"mask-image": [{ mask: [
|
|
1188
1188
|
"none",
|
|
@@ -1195,7 +1195,7 @@ var p = (e, t) => {
|
|
|
1195
1195
|
J,
|
|
1196
1196
|
K
|
|
1197
1197
|
] }],
|
|
1198
|
-
blur: [{ blur:
|
|
1198
|
+
blur: [{ blur: ce() }],
|
|
1199
1199
|
brightness: [{ brightness: [
|
|
1200
1200
|
U,
|
|
1201
1201
|
J,
|
|
@@ -1213,7 +1213,7 @@ var p = (e, t) => {
|
|
|
1213
1213
|
Ae,
|
|
1214
1214
|
Te
|
|
1215
1215
|
] }],
|
|
1216
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1216
|
+
"drop-shadow-color": [{ "drop-shadow": N() }],
|
|
1217
1217
|
grayscale: [{ grayscale: [
|
|
1218
1218
|
"",
|
|
1219
1219
|
U,
|
|
@@ -1248,7 +1248,7 @@ var p = (e, t) => {
|
|
|
1248
1248
|
J,
|
|
1249
1249
|
K
|
|
1250
1250
|
] }],
|
|
1251
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1251
|
+
"backdrop-blur": [{ "backdrop-blur": ce() }],
|
|
1252
1252
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1253
1253
|
U,
|
|
1254
1254
|
J,
|
|
@@ -1368,9 +1368,9 @@ var p = (e, t) => {
|
|
|
1368
1368
|
"translate-y": [{ "translate-y": V() }],
|
|
1369
1369
|
"translate-z": [{ "translate-z": V() }],
|
|
1370
1370
|
"translate-none": ["translate-none"],
|
|
1371
|
-
accent: [{ accent:
|
|
1371
|
+
accent: [{ accent: N() }],
|
|
1372
1372
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1373
|
-
"caret-color": [{ caret:
|
|
1373
|
+
"caret-color": [{ caret: N() }],
|
|
1374
1374
|
"color-scheme": [{ scheme: [
|
|
1375
1375
|
"normal",
|
|
1376
1376
|
"dark",
|
|
@@ -1494,14 +1494,14 @@ var p = (e, t) => {
|
|
|
1494
1494
|
J,
|
|
1495
1495
|
K
|
|
1496
1496
|
] }],
|
|
1497
|
-
fill: [{ fill: ["none", ...
|
|
1497
|
+
fill: [{ fill: ["none", ...N()] }],
|
|
1498
1498
|
"stroke-w": [{ stroke: [
|
|
1499
1499
|
U,
|
|
1500
1500
|
Y,
|
|
1501
1501
|
q,
|
|
1502
1502
|
be
|
|
1503
1503
|
] }],
|
|
1504
|
-
stroke: [{ stroke: ["none", ...
|
|
1504
|
+
stroke: [{ stroke: ["none", ...N()] }],
|
|
1505
1505
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1506
1506
|
},
|
|
1507
1507
|
conflictingClassGroups: {
|
|
@@ -2195,24 +2195,33 @@ var tt = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "def
|
|
|
2195
2195
|
}) : null;
|
|
2196
2196
|
//#endregion
|
|
2197
2197
|
//#region src/table.tsx
|
|
2198
|
-
function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className:
|
|
2199
|
-
let [
|
|
2200
|
-
|
|
2198
|
+
function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: d = "", onActionClick: f }) {
|
|
2199
|
+
let [p, m] = s(1), [h, g] = s({}), [_, v] = s(null), y = o(null), b = (e, t) => {
|
|
2200
|
+
g((n) => ({
|
|
2201
2201
|
...n,
|
|
2202
2202
|
[e]: t
|
|
2203
|
-
})),
|
|
2204
|
-
}
|
|
2205
|
-
|
|
2203
|
+
})), m(1);
|
|
2204
|
+
};
|
|
2205
|
+
i(() => {
|
|
2206
|
+
let e = (e) => {
|
|
2207
|
+
y.current && !y.current.contains(e.target) && v(null);
|
|
2208
|
+
};
|
|
2209
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
2210
|
+
}, []);
|
|
2211
|
+
let x = a(() => t.filter((t) => e.every((e) => {
|
|
2212
|
+
let n = h[e.key]?.toLowerCase() || "";
|
|
2206
2213
|
return n ? String(t[e.key]).toLowerCase().includes(n) : !0;
|
|
2207
2214
|
})), [
|
|
2208
2215
|
t,
|
|
2209
|
-
|
|
2216
|
+
h,
|
|
2210
2217
|
e
|
|
2211
|
-
]),
|
|
2212
|
-
e >= 1 && e <=
|
|
2218
|
+
]), S = Math.max(1, Math.ceil(x.length / n)), C = (p - 1) * n, w = x.slice(C, C + n), T = (e) => {
|
|
2219
|
+
e >= 1 && e <= S && m(e);
|
|
2220
|
+
}, E = (e, t) => {
|
|
2221
|
+
v(null), e.onClick ? e.onClick(t) : f && f(e, t);
|
|
2213
2222
|
};
|
|
2214
2223
|
return /* @__PURE__ */ l("div", {
|
|
2215
|
-
className: `w-full p-4 ${
|
|
2224
|
+
className: `w-full p-4 ${d}`,
|
|
2216
2225
|
children: /* @__PURE__ */ u("div", {
|
|
2217
2226
|
className: "border rounded-2xl shadow",
|
|
2218
2227
|
children: [/* @__PURE__ */ l("div", {
|
|
@@ -2238,54 +2247,72 @@ function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
2238
2247
|
children: /* @__PURE__ */ l("input", {
|
|
2239
2248
|
type: "text",
|
|
2240
2249
|
placeholder: "",
|
|
2241
|
-
value:
|
|
2242
|
-
onChange: (t) =>
|
|
2250
|
+
value: h[e.key] || "",
|
|
2251
|
+
onChange: (t) => b(e.key, t.target.value),
|
|
2243
2252
|
className: "w-full px-2 py-1 border rounded-full text-sm focus:outline-none focus:ring-0 focus:border-transparent"
|
|
2244
2253
|
})
|
|
2245
2254
|
}, e.key)), /* @__PURE__ */ l("th", {})]
|
|
2246
2255
|
})
|
|
2247
2256
|
]
|
|
2248
|
-
}), /* @__PURE__ */ l("tbody", { children:
|
|
2257
|
+
}), /* @__PURE__ */ l("tbody", { children: w.length === 0 ? /* @__PURE__ */ l("tr", { children: /* @__PURE__ */ l("td", {
|
|
2249
2258
|
colSpan: e.length + 1,
|
|
2250
2259
|
className: "p-4 text-center text-sm text-gray-500",
|
|
2251
2260
|
children: "No hay resultados"
|
|
2252
|
-
}) }) :
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
className: "
|
|
2256
|
-
children: e.
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2261
|
+
}) }) : w.map((t, n) => {
|
|
2262
|
+
let r = C + n, i = Array.isArray(t.actions) && t.actions.length > 0;
|
|
2263
|
+
return /* @__PURE__ */ u("tr", {
|
|
2264
|
+
className: "border-t hover:bg-gray-50 transition",
|
|
2265
|
+
children: [e.map((e) => /* @__PURE__ */ l("td", {
|
|
2266
|
+
className: "p-3 text-sm",
|
|
2267
|
+
children: e.render ? e.render(t[e.key], t) : t[e.key]
|
|
2268
|
+
}, e.key)), /* @__PURE__ */ l("td", {
|
|
2269
|
+
className: "p-3 text-right relative",
|
|
2270
|
+
children: i && /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("button", {
|
|
2271
|
+
type: "button",
|
|
2272
|
+
onClick: () => v(_ === r ? null : r),
|
|
2273
|
+
className: "px-2 py-1 rounded hover:bg-gray-200 transition cursor-pointer",
|
|
2274
|
+
"aria-label": "Acciones",
|
|
2275
|
+
children: "•••"
|
|
2276
|
+
}), _ === r && /* @__PURE__ */ l("div", {
|
|
2277
|
+
ref: y,
|
|
2278
|
+
className: "absolute right-3 top-full mt-1 z-50 min-w-[160px] bg-white border border-gray-200 rounded-lg shadow-lg py-1",
|
|
2279
|
+
children: t.actions.filter((e) => e.isActive !== !1).map((e, n) => /* @__PURE__ */ l("button", {
|
|
2280
|
+
type: "button",
|
|
2281
|
+
onClick: () => E(e, t),
|
|
2282
|
+
className: "w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition cursor-pointer",
|
|
2283
|
+
children: e.descripcion
|
|
2284
|
+
}, n))
|
|
2285
|
+
})] })
|
|
2286
|
+
})]
|
|
2287
|
+
}, t.id ?? n);
|
|
2288
|
+
}) })]
|
|
2262
2289
|
})
|
|
2263
2290
|
}), /* @__PURE__ */ u("div", {
|
|
2264
2291
|
className: "flex items-center justify-between p-3 text-sm border-t border-gray-200",
|
|
2265
2292
|
children: [/* @__PURE__ */ u("span", { children: [
|
|
2266
2293
|
"Mostrando ",
|
|
2267
|
-
|
|
2294
|
+
w.length,
|
|
2268
2295
|
" de ",
|
|
2269
|
-
|
|
2296
|
+
x.length,
|
|
2270
2297
|
" resultados"
|
|
2271
2298
|
] }), /* @__PURE__ */ u("div", {
|
|
2272
2299
|
className: "flex gap-2 items-center",
|
|
2273
2300
|
children: [
|
|
2274
2301
|
/* @__PURE__ */ l("button", {
|
|
2275
|
-
onClick: () =>
|
|
2302
|
+
onClick: () => T(p - 1),
|
|
2276
2303
|
className: "px-2 py-1 border rounded disabled:opacity-50",
|
|
2277
|
-
disabled:
|
|
2304
|
+
disabled: p === 1,
|
|
2278
2305
|
children: "<"
|
|
2279
2306
|
}),
|
|
2280
|
-
Array.from({ length:
|
|
2281
|
-
onClick: () =>
|
|
2282
|
-
className: `px-3 py-1 rounded ${
|
|
2307
|
+
Array.from({ length: S }).map((e, t) => /* @__PURE__ */ l("button", {
|
|
2308
|
+
onClick: () => T(t + 1),
|
|
2309
|
+
className: `px-3 py-1 rounded ${p === t + 1 ? "bg-red-500 text-white" : "border"}`,
|
|
2283
2310
|
children: t + 1
|
|
2284
2311
|
}, t)),
|
|
2285
2312
|
/* @__PURE__ */ l("button", {
|
|
2286
|
-
onClick: () =>
|
|
2313
|
+
onClick: () => T(p + 1),
|
|
2287
2314
|
className: "px-2 py-1 border rounded disabled:opacity-50",
|
|
2288
|
-
disabled:
|
|
2315
|
+
disabled: p === S,
|
|
2289
2316
|
children: ">"
|
|
2290
2317
|
})
|
|
2291
2318
|
]
|
|
@@ -2297,14 +2324,14 @@ function at({ columns: e, data: t, itemsPerPage: n = 5, title: r, className: i =
|
|
|
2297
2324
|
//#endregion
|
|
2298
2325
|
//#region src/Select.tsx
|
|
2299
2326
|
var ot = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r, required: a, hint: c, value: d, onChange: f, className: p, triggerClassName: m, dropdownClassName: h, optionClassName: g, labelClassName: _, hintClassName: v, searchClassName: y }) => {
|
|
2300
|
-
let [b, x] = s(!1), [S, C] = s(""), w = o(null), T = (e) => t && Array.isArray(d) ? d.includes(e) : d === e,
|
|
2327
|
+
let [b, x] = s(!1), [S, C] = s(""), w = o(null), T = (e) => t && Array.isArray(d) ? d.includes(e) : d === e, E = (e) => {
|
|
2301
2328
|
if (t) {
|
|
2302
2329
|
let t = Array.isArray(d) ? [...d] : [];
|
|
2303
2330
|
t.includes(e) ? t = t.filter((t) => t !== e) : t.push(e), f?.(t);
|
|
2304
2331
|
} else f?.(e), x(!1);
|
|
2305
|
-
},
|
|
2332
|
+
}, ee = (e) => {
|
|
2306
2333
|
!t || !Array.isArray(d) || f?.(d.filter((t) => t !== e));
|
|
2307
|
-
},
|
|
2334
|
+
}, D = e.filter((e) => e.label.toLowerCase().includes(S.toLowerCase()));
|
|
2308
2335
|
return i(() => {
|
|
2309
2336
|
let e = (e) => {
|
|
2310
2337
|
w.current?.contains(e.target) || x(!1);
|
|
@@ -2334,7 +2361,7 @@ var ot = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r
|
|
|
2334
2361
|
className: "bg-gray-200 px-2 py-1 rounded flex items-center gap-1",
|
|
2335
2362
|
children: [e.find((e) => e.value === t)?.label, /* @__PURE__ */ l("button", {
|
|
2336
2363
|
onClick: (e) => {
|
|
2337
|
-
e.stopPropagation(),
|
|
2364
|
+
e.stopPropagation(), ee(t);
|
|
2338
2365
|
},
|
|
2339
2366
|
children: "×"
|
|
2340
2367
|
})]
|
|
@@ -2365,9 +2392,9 @@ var ot = ({ options: e, multiple: t = !1, placeholder: n = "Select...", label: r
|
|
|
2365
2392
|
onChange: (e) => C(e.target.value)
|
|
2366
2393
|
}), /* @__PURE__ */ l("div", {
|
|
2367
2394
|
className: "max-h-40 overflow-auto",
|
|
2368
|
-
children:
|
|
2395
|
+
children: D.map((e) => /* @__PURE__ */ u("div", {
|
|
2369
2396
|
className: Q("flex items-center gap-2 px-2 py-1 hover:bg-gray-100 cursor-pointer", g),
|
|
2370
|
-
onClick: () =>
|
|
2397
|
+
onClick: () => E(e.value),
|
|
2371
2398
|
children: [
|
|
2372
2399
|
t && /* @__PURE__ */ l("input", {
|
|
2373
2400
|
type: "checkbox",
|
package/dist/table.d.ts
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
type RowAction = {
|
|
3
|
+
descripcion: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
route?: string;
|
|
6
|
+
actionType?: string;
|
|
7
|
+
actionMessage?: string;
|
|
8
|
+
actionModalTitle?: string;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
onClick?: (row: DataRow) => void;
|
|
11
|
+
};
|
|
2
12
|
type Column = {
|
|
3
13
|
key: string;
|
|
4
14
|
label: string;
|
|
5
|
-
render?: (value: any) => React.ReactNode;
|
|
15
|
+
render?: (value: any, row: DataRow) => React.ReactNode;
|
|
6
16
|
};
|
|
7
17
|
type DataRow = {
|
|
8
18
|
[key: string]: any;
|
|
19
|
+
actions?: RowAction[];
|
|
9
20
|
};
|
|
10
21
|
type TableProps = {
|
|
11
22
|
columns: Column[];
|
|
@@ -13,6 +24,7 @@ type TableProps = {
|
|
|
13
24
|
itemsPerPage?: number;
|
|
14
25
|
title?: string;
|
|
15
26
|
className?: string;
|
|
27
|
+
onActionClick?: (action: RowAction, row: DataRow) => void;
|
|
16
28
|
};
|
|
17
|
-
export declare function Table({ columns, data, itemsPerPage, title, className, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function Table({ columns, data, itemsPerPage, title, className, onActionClick, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
18
30
|
export {};
|