@simpli-route/apollo-ds 0.1.33 → 0.1.34
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.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs5.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es11.js +1 -1
- package/dist/index.es12.js +9 -9
- package/dist/index.es14.js +1 -1
- package/dist/index.es15.js +3 -3
- package/dist/index.es16.js +10 -10
- package/dist/index.es17.js +4 -4
- package/dist/index.es18.js +2 -2
- package/dist/index.es20.js +2 -2
- package/dist/index.es23.js +4 -4
- package/dist/index.es24.js +3 -3
- package/dist/index.es25.js +3 -3
- package/dist/index.es26.js +2 -2
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +1 -1
- package/dist/index.es32.js +23 -171
- package/dist/index.es33.js +95 -21
- package/dist/index.es34.js +167 -30
- package/dist/index.es35.js +20 -61
- package/dist/index.es36.js +25 -136
- package/dist/index.es37.js +59 -34
- package/dist/index.es38.js +135 -24
- package/dist/index.es39.js +28 -86
- package/dist/index.es4.js +11 -11
- package/dist/index.es40.js +33 -39
- package/dist/index.es41.js +31 -46
- package/dist/index.es42.js +46 -31
- package/dist/index.es43.js +40 -3
- package/dist/index.es44.js +3 -92
- package/dist/index.es45.js +87 -17
- package/dist/index.es46.js +22 -23
- package/dist/index.es47.js +10 -163
- package/dist/index.es48.js +12 -18
- package/dist/index.es49.js +163 -17
- package/dist/index.es5.js +2 -2
- package/dist/index.es50.js +12 -15
- package/dist/index.es51.js +9 -29
- package/dist/index.es52.js +10 -137
- package/dist/index.es53.js +44 -19
- package/dist/index.es54.js +137 -13
- package/dist/index.es55.js +20 -10
- package/dist/index.es56.js +10 -10
- package/dist/index.es57.js +101 -12
- package/dist/index.es58.js +13 -7
- package/dist/index.es59.js +7 -18
- package/dist/index.es6.js +1 -1
- package/dist/index.es60.js +15 -146
- package/dist/index.es61.js +149 -19
- package/dist/index.es62.js +29 -19
- package/dist/index.es63.js +18 -10
- package/dist/index.es64.js +17 -10
- package/dist/index.es65.js +15 -44
- package/dist/index.es66.js +18 -100
- package/dist/index.es67.js +18 -11
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +3 -3
- package/dist/index.es70.js +1 -1
- package/dist/index.es8.js +2 -2
- package/dist/index.es83.js +57 -4
- package/dist/index.es84.js +4 -28
- package/dist/index.es86.js +4 -8
- package/dist/index.es87.js +27 -341
- package/dist/index.es88.js +2 -166
- package/dist/index.es89.js +8 -2
- package/dist/index.es9.js +1 -1
- package/dist/index.es90.js +340 -2
- package/dist/index.es91.js +161 -52
- package/package.json +1 -1
package/dist/index.cjs54.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs30.js"),u=require("react-aria-components"),s=require("./index.cjs31.js"),m=require("./index.cjs42.js"),q=({isDisabled:t,size:c,selectButtonClassName:p,setIsOpen:f,isOpen:h,value:n,placeholder:w,items:C,keyIdName:R,keyLabelName:E,visibleItems:x,handleDeleteOptionSelected:L,maxLengthTextOption:a,hiddenDiscardButton:i,containerRef:g,setTooltipMessage:o,hasOverflow:N,isCalculatingChips:B})=>e.jsxRuntimeExports.jsxs(u.Button,{className:({isFocusVisible:r,isHovered:j})=>s.cn(m.selectContainerVariant({isDisabled:t,isFocusVisible:r,size:c,isHovered:j}),p),onPress:()=>{f(!h),o("")},children:[e.jsxRuntimeExports.jsx("div",{ref:g,className:s.cn("no-scrollbar mr-[5px] flex flex-1 overflow-hidden"),children:n.length?e.jsxRuntimeExports.jsxs("div",{className:"flex flex-1",children:[n==null?void 0:n.slice(0,x).map((r,j)=>{var d;const l=((d=C==null?void 0:C.find(V=>V[R]===r))==null?void 0:d[E])??"",S=l.length>a?`${l.slice(0,a)}...`:l;return e.jsxRuntimeExports.jsxs("div",{"data-chip":!0,className:s.cn(m.selectBadgeValueVariant({isDisabled:t,isLastItem:j+1<x,size:c,hiddenDiscardButton:i})),children:[e.jsxRuntimeExports.jsx("div",{onMouseEnter:()=>l.length>a?o(l):o(""),onMouseLeave:()=>o(""),children:e.jsxRuntimeExports.jsx("p",{className:"whitespace-nowrap font-normal",children:S})}),!i&&e.jsxRuntimeExports.jsx(u.Button,{className:s.cn("outline-none",t?"cursor-not-allowed":""),isDisabled:t,slot:null,onPress:()=>L(r),children:e.jsxRuntimeExports.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00004 12.6667C10.1297 12.6667 12.6667 10.1297 12.6667 7.00004C12.6667 3.87043 10.1297 1.33337 7.00004 1.33337C3.87043 1.33337 1.33337 3.87043 1.33337 7.00004C1.33337 10.1297 3.87043 12.6667 7.00004 12.6667ZM7.00004 13.6667C10.6819 13.6667 13.6667 10.6819 13.6667 7.00004C13.6667 3.31814 10.6819 0.333374 7.00004 0.333374C3.31814 0.333374 0.333374 3.31814 0.333374 7.00004C0.333374 10.6819 3.31814 13.6667 7.00004 13.6667Z",fill:t?"#979BB4":"#0C0645"}),e.jsxRuntimeExports.jsx("path",{d:"M4.64649 8.64649C4.45123 8.84175 4.45123 9.15833 4.64649 9.35359C4.84175 9.54886 5.15834 9.54886 5.3536 9.35359L7.00005 7.70715L8.65343 9.36053C8.84869 9.55579 9.16527 9.55579 9.36053 9.36053C9.55579 9.16526 9.55579 8.84868 9.36053 8.65342L7.70715 7.00004L9.36054 5.34666C9.5558 5.15139 9.5558 4.83481 9.36054 4.63955C9.16527 4.44429 8.84869 4.44429 8.65343 4.63955L7.00005 6.29293L5.35359 4.64648C5.15833 4.45122 4.84175 4.45122 4.64649 4.64648C4.45123 4.84174 4.45123 5.15833 4.64649 5.35359L6.29294 7.00004L4.64649 8.64649Z",fill:t?"#979BB4":"#0C0645"})]})})]},r)}),N&&n.length>x&&!B&&e.jsxRuntimeExports.jsx("div",{className:s.cn(m.selectBadgeValueVariant({isDisabled:t,isLastItem:!1,size:c,hiddenDiscardButton:i}),"ml-1"),children:e.jsxRuntimeExports.jsxs("p",{className:"whitespace-nowrap font-normal",children:["+",(n==null?void 0:n.length)-x]})})]}):e.jsxRuntimeExports.jsx("p",{className:s.cn("flex-1 text-left font-normal text-neutral-700"),children:w})}),e.jsxRuntimeExports.jsx("svg",{className:`${h?"rotate-180":""} transition-transform duration-100`,width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsxRuntimeExports.jsx("path",{d:"M20 0.838022C20.0006 0.947676 19.9796 1.05638 19.9381 1.15789C19.8967 1.2594 19.8356 1.35173 19.7584 1.42959L12.9512 8.23676C12.5642 8.62472 12.1045 8.93252 11.5984 9.14254C11.0922 9.35256 10.5497 9.46066 10.0017 9.46066C9.45373 9.46066 8.91115 9.35256 8.40502 9.14254C7.8989 8.93252 7.43918 8.62472 7.0522 8.23676L0.245034 1.42959C0.167349 1.3519 0.105725 1.25968 0.0636824 1.15818C0.0216393 1.05667 5.62088e-09 0.947886 0 0.838023C-5.62081e-09 0.728159 0.0216393 0.619372 0.0636824 0.51787C0.105725 0.41637 0.167349 0.324143 0.245034 0.246458C0.32272 0.168773 0.414946 0.107149 0.516447 0.0651056C0.617948 0.0230624 0.726736 0.00142351 0.8366 0.00142351C0.946464 0.00142351 1.05525 0.0230624 1.15675 0.0651055C1.25825 0.107149 1.35048 0.168773 1.42817 0.246458L8.23533 7.05363C8.704 7.52171 9.33931 7.78463 10.0017 7.78463C10.6641 7.78463 11.2994 7.52171 11.7681 7.05363L18.5752 0.246457C18.6527 0.168363 18.7448 0.106378 18.8464 0.0640783C18.9479 0.0217776 19.0568 4.80781e-09 19.1668 0C19.2768 -4.80789e-09 19.3857 0.0217776 19.4872 0.0640782C19.5888 0.106378 19.6809 0.168363 19.7584 0.246457C19.8356 0.324311 19.8967 0.41664 19.9381 0.518154C19.9796 0.619668 20.0006 0.728369 20 0.838022Z",fill:"#73768C"})})]});exports.SelectContent=q;
|
package/dist/index.cjs55.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs30.js"),n=require("./index.cjs31.js"),a=require("./index.cjs43.js"),c=({children:r,supportText:t,mode:e="dark",className:i,placement:l="top"})=>{const o=n.cn(a.tooltipVariants({placement:l,mode:e,hasSupportText:!!t}),i);return s.jsxRuntimeExports.jsxs("span",{className:o,children:[r,t?s.jsxRuntimeExports.jsx("div",{className:n.cn("!text-sm !font-normal !leading-[19.07px]",e==="dark"?"!text-blue-50":"!text-neutral-700"),children:t}):null]})};exports.TooltipSelect=c;
|
package/dist/index.cjs56.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs30.js"),y=require("react"),m=require("./index.cjs31.js"),x=require("./index.cjs82.js"),q=(s,t)=>{const{zIndex:a=200,opacity:n="md",blur:i="sm",children:c,className:o,center:e=!0,fixed:l,...u}=s,d=m.cn(x.overlayVariants({opacity:n,fixed:l,center:e,blur:i}),`z-[${a}]`,o);return v.jsxRuntimeExports.jsx("div",{ref:t,className:d,"data-center":e||void 0,...u,children:c})},r=y.forwardRef(q);r.displayName="Overlay";exports.Overlay=r;
|
package/dist/index.cjs57.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs30.js"),h=require("./index.cjs31.js"),v=require("./index.cjs83.js"),P=({state:e,type:n,showTypeValue:c,suffix:t,classNameFilled:m,classNameUnfilled:a,modeTooltip:d,positionTooltip:b,classNameThumb:x,isHiddenValue:j,suffixRangeCustom:r})=>l.jsxRuntimeExports.jsxs("div",{className:"relative",children:[c==="default"&&!j?l.jsxRuntimeExports.jsxs("div",{className:"flex justify-between",children:[l.jsxRuntimeExports.jsxs("div",{className:"absolute top-4 text-sm text-neutral-900",style:{left:`${e.getThumbPercent(0)*100}%`,transform:"translateX(-50%)"},children:[e.values[0],n==="range"&&(r==null?void 0:r.left)||t]}),n==="range"&&l.jsxRuntimeExports.jsxs("div",{className:"absolute top-4 text-sm text-neutral-900",style:{left:`${e.getThumbPercent(1)*100}%`,transform:"translateX(-50%)"},children:[e.values[1],(r==null?void 0:r.right)||t]})]}):null,l.jsxRuntimeExports.jsx("div",{className:h.cn("absolute top-1/2 h-2 w-full -translate-y-1/2 rounded-full bg-primary-100",a)}),l.jsxRuntimeExports.jsx("div",{className:h.cn("absolute top-1/2 h-2 -translate-y-1/2 rounded-full bg-primary-500",m),style:{width:`${n==="range"?e.getThumbPercent(1)*100-e.getThumbPercent(0)*100:e.getThumbPercent(0)*100}%`,left:n==="range"?`${e.getThumbPercent(0)*100}%`:"0%"}}),n==="range"?l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[l.jsxRuntimeExports.jsx(v.SliderThumb,{index:0,valuePercent:e.getThumbPercent(0),value:e.values[0],suffix:(r==null?void 0:r.left)||t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x}),l.jsxRuntimeExports.jsx(v.SliderThumb,{index:1,valuePercent:e.getThumbPercent(1),value:e.values[1],suffix:(r==null?void 0:r.right)||t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x})]}):l.jsxRuntimeExports.jsx(v.SliderThumb,{index:0,valuePercent:e.getThumbPercent(0),value:e.values[0],suffix:t,modeTooltip:d,positionTooltip:b,showTypeValue:c,isHiddenValue:j,classNameThumb:x})]});exports.SliderContainerTrack=P;
|
package/dist/index.cjs58.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(i,f,r=1)=>{if(f==="range"&&Array.isArray(i)&&i.length===2){const[t,e]=i;if(e-t<r){if(t>e-r)return[e-r,e];if(e<t+r)return[t,t+r]}}return i};exports.validateMinDistance=o;
|
package/dist/index.cjs59.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs86.js");require("./index.cjs87.js");const r=require("./index.cjs88.js");let e=r.__exports;var t=(e.__esModule?e:{default:e}).default;const l=o.getDefaultExportFromCjs(t);exports.default=l;
|
package/dist/index.cjs6.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs30.js"),i=require("react-aria"),f=require("./index.cjs31.js"),q=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs30.js"),i=require("react-aria"),f=require("./index.cjs31.js"),q=require("./index.cjs36.js"),R=o=>{const{style:n="square",size:c="sm",pressable:s=!0,isPressed:a=!1,isDisabled:e=!1,className:u,icon:t,text:l,onPress:d}=o,{pressProps:p,isPressed:P}=i.usePress({onPress:s?d:void 0,isPressed:s?a:!1,isDisabled:e}),{hoverProps:x,isHovered:m}=i.useHover({isDisabled:e}),{isFocusVisible:j,focusProps:v}=i.useFocusRing(),h=f.cn(q.assistChipVariants({style:n,size:c,pressable:s,isPressed:s&&P,isDisabled:e,isHovered:m,isFocused:j}),u),b=s?{...p,...v,...x}:{};return r.jsxRuntimeExports.jsxs("div",{role:s?"button":void 0,...b,className:h,children:[t?r.jsxRuntimeExports.jsx("span",{className:"mr-1",children:t}):null,r.jsxRuntimeExports.jsx("span",{children:l})]})};exports.AssistChip=R;
|
package/dist/index.cjs60.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs89.js"),t=require("@simpli-route/tailwind-preset"),s=require("./index.cjs90.js"),n=require("./index.cjs91.js"),{fontFamily:i}=e.default,o={presets:[t],mode:"jit",content:["./index.html","./node_modules/@simpli-route/**/*.{js,ts,jsx,tsx}","./src/**/*.{js,ts,jsx,tsx}"],theme:{extend:{fontFamily:{sans:["var(--font-open-sans)",...i.sans]}}},plugins:[s.default,n.default]};exports.default=o;
|
package/dist/index.cjs61.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("class-variance-authority"),e=[{state:"pending",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-neutral-600"},{state:"inProgress",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-blue-600"},{state:"completed",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-success-600"},{state:"error",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-error-600"}],t=[{isDisabled:!0,isPressed:!1,class:"bg-neutral-600"},{isDisabled:!1,isPressed:!1,state:"pending",class:"bg-neutral-500"},{isDisabled:!1,isPressed:!1,state:"inProgress",class:"bg-blue-500"},{isDisabled:!1,isPressed:!1,state:"completed",class:"bg-success-500"},{isDisabled:!1,isPressed:!1,state:"error",class:"bg-error-500"}],a=[{isPressed:!0,isDisabled:!1,state:"pending",class:"bg-neutral-900"},{isPressed:!0,isDisabled:!1,state:"inProgress",class:"bg-blue-800"},{isPressed:!0,isDisabled:!1,state:"completed",class:"bg-success-800"},{isPressed:!0,isDisabled:!1,state:"error",class:"bg-error-800"}],r=s.cva("flex shrink-0 items-center justify-center rounded-full focus-visible:outline-0 focus:outline-0",{variants:{size:{xs:"size-8",md:"size-[50px]"},state:{pending:"",inProgress:"",completed:"",error:""},isDisabled:{true:"",false:""},isHovered:{true:"",false:""},isPressed:{true:"",false:""}},compoundVariants:[...e,...t,...a]}),i=s.cva("leading-5 tracking-wide font-normal text-black",{variants:{size:{xs:"text-sm",md:"text-md"}}}),l=s.cva("flex items-center justify-center",{variants:{size:{xs:"text-base size-4",md:"text-lg size-[18px]"},state:{pending:"text-neutral-50",inProgress:"text-neutral-50",completed:"text-neutral-50",error:"text-neutral-50"},isHovered:{true:"",false:""}},compoundVariants:[{state:"error",isHovered:!0,class:"text-error-600"}]});exports.iconVariants=l;exports.labelVariants=i;exports.stepVariants=r;
|
package/dist/index.cjs62.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs30.js"),l=require("./index.cjs31.js"),c=o=>{const{isIndeterminate:t,isSelected:e,className:n,isHovered:i}=o,r=i&&!e&&!t?"text-neutral-500":"",a=!!(r||e);return s.jsxRuntimeExports.jsx("svg",{className:l.cn("stroke-current",r,n),viewBox:"-1 1 17 17",children:t?s.jsxRuntimeExports.jsx("line",{x1:1,y1:10,x2:14,y2:10,fill:"none",strokeWidth:2,strokeDasharray:14,strokeDashoffset:e?28:42,style:{transition:"all 400ms"}}):s.jsxRuntimeExports.jsx("polyline",{points:"1 9 7 14 15 4",fill:"none",strokeWidth:2,strokeDasharray:22,strokeDashoffset:a?44:66,style:{transition:"all 400ms"}})})};exports.MarkIcon=c;
|
package/dist/index.cjs63.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs30.js"),r=require("react-aria-components");function a({color:o,onChange:s,...t}){return e.jsxRuntimeExports.jsx(r.ColorArea,{colorSpace:"hsb",xChannel:"saturation",yChannel:"brightness",value:o,className:"mb-2 h-32 w-48 rounded border",onChange:s,...t,children:e.jsxRuntimeExports.jsx(r.ColorThumb,{className:"box-border size-5 rounded-full border-2 border-white shadow-[0_0_0_1px_black,inset_0_0_0_1px_black] data-[focus-visible]:size-6"})})}exports.ColorArea=a;
|
package/dist/index.cjs64.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs30.js"),o=require("react-aria-components");function l(t){const{isDisabled:n,inputProps:r={},...s}=t;return e.jsxRuntimeExports.jsx(o.ColorField,{className:"relative flex h-8 w-32 items-center",isDisabled:n,...s,children:e.jsxRuntimeExports.jsx(o.Input,{className:"size-full border-none bg-transparent p-0 outline-none focus:outline-none focus:ring-0",maxLength:7,"aria-label":"Color hex",spellCheck:!1,autoComplete:"off",...r})})}exports.ColorField=l;
|
package/dist/index.cjs65.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs30.js"),r=require("react-aria-components");function i(o){const{color:s}=o;return e.jsxRuntimeExports.jsx(r.ColorSlider,{channel:"hue",value:s,className:"mb-2 h-4 w-48 rounded border bg-[linear-gradient(to_right,#ff0000,#ffff00,#00ff00,#00ffff,#0000ff,#ff00ff,#ff0000)]",...o,children:e.jsxRuntimeExports.jsx(r.SliderTrack,{className:"size-full",children:e.jsxRuntimeExports.jsx(r.ColorThumb,{className:"box-border size-5 rounded-full border-2 border-white shadow-[0_0_0_1px_black,inset_0_0_0_1px_black] data-[focus-visible]:size-6"})})})}exports.ColorSlider=i;
|
package/dist/index.cjs66.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs30.js"),i=require("./index.cjs31.js"),m=({label:e,description:s,errorMessage:x,isDisabled:n,isInvalid:l,children:r,renderLabelIcon:u})=>!e&&!s&&!r?null:t.jsxRuntimeExports.jsxs("div",{className:"flex flex-col",children:[e?t.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-x-1",children:[t.jsxRuntimeExports.jsx("p",{className:i.cn("text-sm font-semibold",n?"text-neutral-600":"text-neutral-900"),children:e}),u?t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:u}):null]}):r,s&&!x&&t.jsxRuntimeExports.jsx("p",{className:i.cn("text-xs",n?"text-neutral-600":"text-neutral-800"),children:s}),l&&x&&t.jsxRuntimeExports.jsx("p",{className:"text-sm text-red-500",children:x})]});exports.ContentSwitch=m;
|
package/dist/index.cjs67.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs30.js"),s=require("./index.cjs31.js"),a=require("./index.cjs45.js"),c=({isSelected:t,isDisabled:e,isHovered:n,size:i,dimensions:r})=>o.jsxRuntimeExports.jsx("div",{className:s.cn(a.indicatorVariants({isSelected:t,isDisabled:e,size:i,isHoveredWhenOff:n&&!t})),style:{left:t?`${r.onLeft}px`:`${r.offLeft}px`}});exports.SwitchIndicator=c;
|
package/dist/index.cjs69.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs84.js"),R=require("react");/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
package/dist/index.cjs7.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs30.js"),h=require("@react-stately/color"),n=require("react"),l=require("react-aria-components"),T=require("./index.cjs31.js"),z=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs30.js"),h=require("@react-stately/color"),n=require("react"),l=require("react-aria-components"),T=require("./index.cjs31.js"),z=require("./index.cjs63.js"),B=require("./index.cjs64.js"),H=require("./index.cjs65.js"),L=R=>{const{value:i,onChange:t,className:v,label:w,onBlur:x,onFocus:d,isDisabled:m=!1,isOpen:g,defaultOpen:q,onOpenChange:p,...F}=R,f=i?h.parseColor(i).toFormat("hsb"):h.parseColor("hsl(0, 100%, 50%)").toFormat("hsb"),[s,c]=n.useState(f),[O,C]=n.useState(f.getChannelValue("hue")),[V,a]=n.useState("#"+s.toString("hex").slice(1)),[j,b]=n.useState(!1),[y,I]=n.useState(q??!1),S=g!==void 0,E=S?g:y;n.useEffect(()=>{i&&!j&&a("#"+h.parseColor(i).toString("hex").slice(1))},[i,j]),n.useEffect(()=>{C(s.getChannelValue("hue"))},[s]);const A=e=>{S||I(e),p==null||p(e)},P=e=>{let r=e.target.value;r.startsWith("#")||(r="#"+r);const u=r.slice(1).replace(/[^0-9a-fA-F]/g,"").slice(0,6);if(a("#"+u),u.length===6)try{const $=h.parseColor("#"+u).toFormat("hsb");c($),t==null||t("#"+u)}catch{}},N=e=>{c(e.toFormat("hsb")),a("#"+e.toString("hex").slice(1)),t==null||t("#"+e.toString("hex").replace(/^#*/,""))},k=e=>{C(e.getChannelValue("hue"));const r=s.withChannelValue("hue",e.getChannelValue("hue"));c(r),a("#"+r.toString("hex").slice(1)),t==null||t("#"+r.toString("hex").replace(/^#*/,""))},D=e=>{const r=e.withChannelValue("hue",O);c(r),a("#"+r.toString("hex").slice(1)),t==null||t("#"+r.toString("hex").replace(/^#*/,""))};return o.jsxRuntimeExports.jsxs(l.ColorPicker,{value:s,onChange:N,...F,children:[o.jsxRuntimeExports.jsx(l.Label,{children:w}),o.jsxRuntimeExports.jsxs("div",{className:T.cn("flex w-80 items-center rounded border transition-colors",E?"border-primary-500 ring-1 ring-primary-500":"focus-within:border-primary-500 focus-within:ring-1 focus-within:ring-primary-500",v),tabIndex:-1,children:[o.jsxRuntimeExports.jsxs(l.DialogTrigger,{isOpen:E,onOpenChange:A,children:[o.jsxRuntimeExports.jsx(l.Button,{isDisabled:m,className:"border-none bg-transparent p-0 shadow-none focus:outline-none","aria-label":"Abrir selector de color",children:o.jsxRuntimeExports.jsx(l.ColorSwatch,{color:s,className:"mx-3 size-5 rounded-full border border-neutral-400"})}),o.jsxRuntimeExports.jsx(l.Popover,{placement:"bottom start",children:o.jsxRuntimeExports.jsxs(l.Dialog,{className:"box-border flex min-w-48 flex-col gap-2 overflow-auto bg-white p-4 shadow-md outline-none",children:[o.jsxRuntimeExports.jsx(z.ColorArea,{color:s,onChange:D}),o.jsxRuntimeExports.jsx(H.ColorSlider,{color:s,onChange:k})]})})]}),o.jsxRuntimeExports.jsx(B.ColorField,{isDisabled:m,inputProps:{value:V,onChange:P,onFocus:e=>{b(!0),d==null||d(e)},onBlur:e=>{b(!1),x==null||x(e)}}})]})]})};exports.ColorPicker=L;
|
package/dist/index.cjs70.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs85.js"),tr=require("react");/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
package/dist/index.cjs8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs30.js"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs30.js"),f=require("./index.cjs32.js"),q=require("react"),h=require("react-aria-components"),a=require("./index.cjs31.js"),S=require("./index.cjs37.js"),R=({size:e="md",label:u,isSelected:c=!1,isDisabled:s=!1,className:l,onSelectionChange:r,onPress:o,...d})=>{const[x,m]=q.useState(c),n=r?c:x,p=()=>{if(s)return;const t=!n;r?r(t):m(t),o&&o({})};return i.jsxRuntimeExports.jsxs(h.Button,{isDisabled:s,className:({isHovered:t,isFocusVisible:j})=>a.cn(S.filterChipVariants({size:e,isSelected:n,isDisabled:s,isHovered:t,isFocused:j}),l),onPress:p,...d,children:[n&&i.jsxRuntimeExports.jsx("span",{"data-testid":"check-icon",children:i.jsxRuntimeExports.jsx(f.CheckIcon,{className:a.cn(e==="xs"||e==="sm"?"size-3":"size-4")})}),u]})};exports.FilterChip=R;
|
package/dist/index.cjs83.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs30.js"),l=require("react-aria-components"),r=require("./index.cjs31.js"),x=require("./index.cjs26.js"),d=require("./index.cjs27.js"),g=({index:i,valuePercent:c,value:m,suffix:u,modeTooltip:a,positionTooltip:t,showTypeValue:s,classNameThumb:n,isHiddenValue:o})=>e.jsxRuntimeExports.jsx("div",{className:r.cn("absolute",s==="tooltip"&&!o?"top-[-6px]":"top-1/2"),style:{left:`${c*100}%`,transform:"translate(-50%, -50%)"},children:s==="tooltip"&&!o?e.jsxRuntimeExports.jsxs(d.TooltipTrigger,{closeDelay:100,delay:100,children:[e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})}),e.jsxRuntimeExports.jsxs(x.Tooltip,{mode:a,placement:t,size:"sm",className:r.cn("!text-sm",t==="top"?"!mb-6":"!mt-6"),children:[m,u]})]}):e.jsxRuntimeExports.jsx(l.SliderThumb,{index:i,className:r.cn("dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",n)})});exports.SliderThumb=g;
|
package/dist/index.cjs84.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index.cjs86.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
package/dist/index.cjs87.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const l=require("./index.cjs88.js");require("./index.cjs92.js");require("./index.cjs93.js");const f=require("./index.cjs94.js"),s=require("./index.cjs95.js");(function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});const n=t(f.__exports),u=t(s.__exports);function t(e){return e&&e.__esModule?e:{default:e}}function o(...e){let[,...i]=(0,u.default)(e[0]);return(0,n.default)([...e,...i])}})(l.__exports);
|
package/dist/index.cjs88.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
package/dist/index.cjs89.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./index.cjs86.js");require("./index.cjs96.js");const l=require("./index.cjs97.js");let e=l.__exports;var t=(e.__esModule?e:{default:e}).default;const r=u.getDefaultExportFromCjs(t);exports.default=r;exports.defaultTheme_1=t;
|
package/dist/index.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs30.js"),q=require("react"),n=require("react-aria-components"),B=require("./index.cjs31.js"),R=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs30.js"),q=require("react"),n=require("react-aria-components"),B=require("./index.cjs31.js"),R=require("./index.cjs49.js");function g(c,a){const[u,l]=n.useContextProps(c,a,n.ButtonContext),{intent:d="secondary",size:m="lg",isDisabled:o=!1,isActive:p=!1,children:e,className:x,...f}=u,r="flex h-full items-center overflow-hidden whitespace-nowrap";return s.jsxRuntimeExports.jsx(n.Button,{ref:l,className:({isPressed:t,isHovered:j,isFocusVisible:h})=>B.cn(R.buttonVariants({intent:d,size:m,isDisabled:o,isActive:p||t,isHovered:j,isFocused:h}),x),isDisabled:o,...f,children:typeof e=="function"?t=>s.jsxRuntimeExports.jsx("span",{className:r+"p-2.",children:e(t)}):s.jsxRuntimeExports.jsx("span",{className:r,children:e})})}const i=q.forwardRef(g);i.displayName="IconButton";exports.IconButton=i;
|
package/dist/index.cjs90.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("./index.cjs86.js"),k=require("./index.cjs98.js"),y=require("./index.cjs99.js"),v=require("./index.cjs89.js"),x=require("./index.cjs100.js"),n=k.miniSvgDataUri,z=y.plugin,b=v.defaultTheme_1,o=x.colors_1,[$,{lineHeight:j}]=b.fontSize.base,{spacing:e,borderWidth:f,borderRadius:p}=b;function r(a,c){return a.replace("<alpha-value>",`var(${c}, 1)`)}const C=z.withOptions(function(a={strategy:void 0}){return function({addBase:c,addComponents:w,theme:t}){function g(s,i){let d=t(s);return!d||d.includes("var(")?i:d.replace("<alpha-value>","1")}const l=a.strategy===void 0?["base","class"]:[a.strategy],m=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"border-radius":p.none,"padding-top":e[2],"padding-right":e[3],"padding-bottom":e[2],"padding-left":e[3],"font-size":$,"line-height":j,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":r(t("colors.blue.600",o.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:r(t("colors.gray.500",o.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${n(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${g("colors.gray.500",o.gray[500])}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,"background-position":`right ${e[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":e[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":e[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:e[4],width:e[4],color:r(t("colors.blue.600",o.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":r(t("colors.gray.500",o.gray[500]),"--tw-border-opacity"),"border-width":f.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":p.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":r(t("colors.blue.600",o.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${n('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${n('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],u=s=>m.map(i=>i[s]===null?null:{[i[s]]:i.styles}).filter(Boolean);l.includes("base")&&c(u("base")),l.includes("class")&&w(u("class"))}});var T=C;const B=h.getDefaultExportFromCjs(T);exports.default=B;
|
package/dist/index.cjs91.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./index.cjs86.js"),o=require("./index.cjs99.js"),l=o.plugin;function i(a){return Object.fromEntries(Object.entries(a).filter(([e])=>e!=="DEFAULT"))}var s=l(({addUtilities:a,matchUtilities:e,theme:n})=>{a({"@keyframes enter":n("keyframes.enter"),"@keyframes exit":n("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:n("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:n("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),e({"fade-in":t=>({"--tw-enter-opacity":t}),"fade-out":t=>({"--tw-exit-opacity":t})},{values:n("animationOpacity")}),e({"zoom-in":t=>({"--tw-enter-scale":t}),"zoom-out":t=>({"--tw-exit-scale":t})},{values:n("animationScale")}),e({"spin-in":t=>({"--tw-enter-rotate":t}),"spin-out":t=>({"--tw-exit-rotate":t})},{values:n("animationRotate")}),e({"slide-in-from-top":t=>({"--tw-enter-translate-y":`-${t}`}),"slide-in-from-bottom":t=>({"--tw-enter-translate-y":t}),"slide-in-from-left":t=>({"--tw-enter-translate-x":`-${t}`}),"slide-in-from-right":t=>({"--tw-enter-translate-x":t}),"slide-out-to-top":t=>({"--tw-exit-translate-y":`-${t}`}),"slide-out-to-bottom":t=>({"--tw-exit-translate-y":t}),"slide-out-to-left":t=>({"--tw-exit-translate-x":`-${t}`}),"slide-out-to-right":t=>({"--tw-exit-translate-x":t})},{values:n("animationTranslate")}),e({duration:t=>({animationDuration:t})},{values:i(n("animationDuration"))}),e({delay:t=>({animationDelay:t})},{values:n("animationDelay")}),e({ease:t=>({animationTimingFunction:t})},{values:i(n("animationTimingFunction"))}),a({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),e({"fill-mode":t=>({animationFillMode:t})},{values:n("animationFillMode")}),e({direction:t=>({animationDirection:t})},{values:n("animationDirection")}),e({repeat:t=>({animationIterationCount:t})},{values:n("animationRepeat")})},{theme:{extend:{animationDelay:({theme:a})=>({...a("transitionDelay")}),animationDuration:({theme:a})=>({0:"0ms",...a("transitionDuration")}),animationTimingFunction:({theme:a})=>({...a("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:a})=>({DEFAULT:0,...a("opacity")}),animationTranslate:({theme:a})=>({DEFAULT:"100%",...a("translate")}),animationScale:({theme:a})=>({DEFAULT:0,...a("scale")}),animationRotate:({theme:a})=>({DEFAULT:"30deg",...a("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});const u=r.getDefaultExportFromCjs(s);exports.default=u;
|
package/dist/index.es10.js
CHANGED
|
@@ -2,7 +2,7 @@ import { j as e } from "./index.es30.js";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { TextField as j, Label as N, Input as V, FieldError as y } from "react-aria-components";
|
|
4
4
|
import { cn as i } from "./index.es31.js";
|
|
5
|
-
import { invisibleInputContainerVariants as w, invisibleInputLabelVariants as C, invisibleInputVariants as F, invisibleInputCaptionVariants as L } from "./index.
|
|
5
|
+
import { invisibleInputContainerVariants as w, invisibleInputLabelVariants as C, invisibleInputVariants as F, invisibleInputCaptionVariants as L } from "./index.es33.js";
|
|
6
6
|
const R = h(
|
|
7
7
|
({
|
|
8
8
|
size: l = "bodyDefault",
|
package/dist/index.es11.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es30.js";
|
|
2
|
-
import { InfoIcon as p } from "./index.
|
|
2
|
+
import { InfoIcon as p } from "./index.es32.js";
|
|
3
3
|
import { forwardRef as u } from "react";
|
|
4
4
|
import { useContextProps as d, LabelContext as b, Label as j } from "react-aria-components";
|
|
5
5
|
import { cn as L } from "./index.es31.js";
|
package/dist/index.es12.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as e } from "./index.es30.js";
|
|
2
2
|
import { today as k, getLocalTimeZone as G } from "@internationalized/date";
|
|
3
|
-
import { CalendarIcon as I, LeftChevronIcon as H, RightChevronIcon as
|
|
4
|
-
import { DatePicker as
|
|
3
|
+
import { CalendarIcon as I, LeftChevronIcon as H, RightChevronIcon as z } from "./index.es32.js";
|
|
4
|
+
import { DatePicker as L, Label as P, Group as B, DateInput as w, DateSegment as R, Button as c, FieldError as T, Popover as F, Dialog as Z, Calendar as q, Heading as A, CalendarGrid as J, CalendarGridHeader as K, CalendarHeaderCell as M, CalendarGridBody as O, CalendarCell as Q } from "react-aria-components";
|
|
5
5
|
import { cn as r } from "./index.es31.js";
|
|
6
|
-
import { datepickerLabelVariants as S, datepickerGroupVariants as U, datepickerInputVariants as W, datepickerSegmentVariants as X, datepickerButtonVariants as d, datepickerCaptionVariants as Y, popoverVariants as _, calendarVariants as $, calendarHeaderVariants as E, calendarHeadingVariants as ee, calendarGridVariants as ae, calendarHeaderCellVariants as se, calendarCellVariants as re } from "./index.
|
|
6
|
+
import { datepickerLabelVariants as S, datepickerGroupVariants as U, datepickerInputVariants as W, datepickerSegmentVariants as X, datepickerButtonVariants as d, datepickerCaptionVariants as Y, popoverVariants as _, calendarVariants as $, calendarHeaderVariants as E, calendarHeadingVariants as ee, calendarGridVariants as ae, calendarHeaderCellVariants as se, calendarCellVariants as re } from "./index.es38.js";
|
|
7
7
|
const oe = ({
|
|
8
|
-
label: o
|
|
8
|
+
label: o,
|
|
9
9
|
size: l = "bodyDefault",
|
|
10
10
|
orientation: t = "vertical",
|
|
11
11
|
captionError: i,
|
|
@@ -21,7 +21,7 @@ const oe = ({
|
|
|
21
21
|
}) => {
|
|
22
22
|
const C = (a, s) => m ? "disabled" : n === "invalid" ? "error" : a ? "active" : s ? "hover" : "default";
|
|
23
23
|
return /* @__PURE__ */ e.jsxs(
|
|
24
|
-
|
|
24
|
+
L,
|
|
25
25
|
{
|
|
26
26
|
className: r("flex gap-1", t === "horizontal" ? "flex-row items-center" : "flex-col", x),
|
|
27
27
|
isDisabled: m,
|
|
@@ -83,7 +83,7 @@ const oe = ({
|
|
|
83
83
|
/* @__PURE__ */ e.jsxs("header", { className: E(), children: [
|
|
84
84
|
/* @__PURE__ */ e.jsx(c, { slot: "previous", className: d({ size: "bodyDefault" }), children: /* @__PURE__ */ e.jsx(H, { className: "size-4" }) }),
|
|
85
85
|
/* @__PURE__ */ e.jsx(A, { className: ee() }),
|
|
86
|
-
/* @__PURE__ */ e.jsx(c, { slot: "next", className: d({ size: "bodyDefault" }), children: /* @__PURE__ */ e.jsx(
|
|
86
|
+
/* @__PURE__ */ e.jsx(c, { slot: "next", className: d({ size: "bodyDefault" }), children: /* @__PURE__ */ e.jsx(z, { className: "size-4" }) })
|
|
87
87
|
] }),
|
|
88
88
|
/* @__PURE__ */ e.jsxs(J, { className: ae(), children: [
|
|
89
89
|
/* @__PURE__ */ e.jsx(K, { children: (a) => /* @__PURE__ */ e.jsx(M, { className: se(), children: a }) }),
|
|
@@ -93,11 +93,11 @@ const oe = ({
|
|
|
93
93
|
Q,
|
|
94
94
|
{
|
|
95
95
|
date: a,
|
|
96
|
-
className: ({ isSelected: y, isDisabled: V, isOutsideMonth:
|
|
96
|
+
className: ({ isSelected: y, isDisabled: V, isOutsideMonth: D, isHovered: b, isFocusVisible: g }) => re({
|
|
97
97
|
isSelected: y,
|
|
98
98
|
isDisabled: V,
|
|
99
|
-
isOutsideMonth:
|
|
100
|
-
isHovered:
|
|
99
|
+
isOutsideMonth: D,
|
|
100
|
+
isHovered: b,
|
|
101
101
|
isFocusVisible: g,
|
|
102
102
|
isToday: v
|
|
103
103
|
})
|
package/dist/index.es14.js
CHANGED
|
@@ -2,7 +2,7 @@ import { j as e } from "./index.es30.js";
|
|
|
2
2
|
import { forwardRef as x } from "react";
|
|
3
3
|
import { cn as y } from "./index.es31.js";
|
|
4
4
|
import { Loader as f } from "./index.es13.js";
|
|
5
|
-
import { Overlay as u } from "./index.
|
|
5
|
+
import { Overlay as u } from "./index.es56.js";
|
|
6
6
|
const v = (s, a) => {
|
|
7
7
|
const {
|
|
8
8
|
className: l,
|
package/dist/index.es15.js
CHANGED
|
@@ -3,9 +3,9 @@ import { NumberField as w, Group as B, Input as E } from "react-aria-components"
|
|
|
3
3
|
import { cn as t } from "./index.es31.js";
|
|
4
4
|
import "./index.es10.js";
|
|
5
5
|
import { Label as G } from "./index.es11.js";
|
|
6
|
-
import { CaptionNumberField as S } from "./index.
|
|
7
|
-
import { StepperButton as V } from "./index.
|
|
8
|
-
import { inputNumberVariant as _ } from "./index.
|
|
6
|
+
import { CaptionNumberField as S } from "./index.es47.js";
|
|
7
|
+
import { StepperButton as V } from "./index.es48.js";
|
|
8
|
+
import { inputNumberVariant as _ } from "./index.es39.js";
|
|
9
9
|
const K = ({
|
|
10
10
|
size: o = "sm",
|
|
11
11
|
label: i,
|
package/dist/index.es16.js
CHANGED
|
@@ -3,33 +3,33 @@ import { motion as D } from "framer-motion";
|
|
|
3
3
|
import { ProgressBar as I } from "react-aria-components";
|
|
4
4
|
import "react";
|
|
5
5
|
import { cn as s } from "./index.es31.js";
|
|
6
|
-
import "./index.es32.js";
|
|
7
|
-
import "./index.es33.js";
|
|
8
|
-
import "react-aria";
|
|
9
6
|
import "./index.es34.js";
|
|
10
|
-
import "@react-stately/color";
|
|
11
7
|
import "./index.es35.js";
|
|
8
|
+
import "react-aria";
|
|
9
|
+
import "./index.es36.js";
|
|
10
|
+
import "@react-stately/color";
|
|
11
|
+
import "./index.es37.js";
|
|
12
12
|
import "./index.es9.js";
|
|
13
13
|
import "./index.es10.js";
|
|
14
14
|
import { Label as M } from "./index.es11.js";
|
|
15
15
|
import "@internationalized/date";
|
|
16
|
-
import "./index.
|
|
16
|
+
import "./index.es38.js";
|
|
17
17
|
import "./index.es14.js";
|
|
18
|
-
import "./index.es37.js";
|
|
19
|
-
import { progressBarVariants as S, progressFillVariants as $ } from "./index.es38.js";
|
|
20
18
|
import "./index.es39.js";
|
|
21
|
-
import "./index.es40.js";
|
|
19
|
+
import { progressBarVariants as S, progressFillVariants as $ } from "./index.es40.js";
|
|
20
|
+
import "./index.es33.js";
|
|
22
21
|
import "./index.es41.js";
|
|
23
22
|
import "./index.es42.js";
|
|
23
|
+
import "./index.es43.js";
|
|
24
24
|
import { Tooltip as k } from "./index.es26.js";
|
|
25
25
|
import { TooltipTrigger as z } from "./index.es27.js";
|
|
26
26
|
import "./index.es21.js";
|
|
27
27
|
import "./index.es22.js";
|
|
28
28
|
import "./index.es23.js";
|
|
29
|
-
import "./index.
|
|
29
|
+
import "./index.es45.js";
|
|
30
30
|
import "./index.es25.js";
|
|
31
31
|
import { Text as d } from "./index.es28.js";
|
|
32
|
-
import "./index.
|
|
32
|
+
import "./index.es46.js";
|
|
33
33
|
const ht = (f) => {
|
|
34
34
|
const {
|
|
35
35
|
className: h,
|
package/dist/index.es17.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as s } from "./index.es30.js";
|
|
2
|
-
import { SearchIcon as P, CrossIcon as y } from "./index.
|
|
2
|
+
import { SearchIcon as P, CrossIcon as y } from "./index.es32.js";
|
|
3
3
|
import { useMemo as z } from "react";
|
|
4
4
|
import { ComboBox as D, Input as H, Text as R, FieldError as E, Popover as O, ListBox as F, ListBoxItem as M } from "react-aria-components";
|
|
5
5
|
import { cn as S } from "./index.es31.js";
|
|
6
|
-
import { useDebouncedValue as _ } from "./index.
|
|
6
|
+
import { useDebouncedValue as _ } from "./index.es50.js";
|
|
7
7
|
import { IconButton as T } from "./index.es9.js";
|
|
8
8
|
import "./index.es10.js";
|
|
9
9
|
import { Label as $ } from "./index.es11.js";
|
|
10
|
-
import { inputVariants as k } from "./index.
|
|
11
|
-
import { popoverVariants as q, searchOptionVariants as A } from "./index.
|
|
10
|
+
import { inputVariants as k } from "./index.es33.js";
|
|
11
|
+
import { popoverVariants as q, searchOptionVariants as A } from "./index.es41.js";
|
|
12
12
|
const te = (i) => {
|
|
13
13
|
const {
|
|
14
14
|
label: n,
|
package/dist/index.es18.js
CHANGED
|
@@ -4,9 +4,9 @@ import { Select as S, Popover as tt, ListBox as st } from "react-aria-components
|
|
|
4
4
|
import { cn as P } from "./index.es31.js";
|
|
5
5
|
import "./index.es10.js";
|
|
6
6
|
import { Label as it } from "./index.es11.js";
|
|
7
|
-
import { SelectContent as rt } from "./index.
|
|
7
|
+
import { SelectContent as rt } from "./index.es54.js";
|
|
8
8
|
import { SelectItem as lt } from "./index.es19.js";
|
|
9
|
-
import { TooltipSelect as ot } from "./index.
|
|
9
|
+
import { TooltipSelect as ot } from "./index.es55.js";
|
|
10
10
|
const b = "all-select-option", bt = ({
|
|
11
11
|
mode: e = "single",
|
|
12
12
|
keyLabelName: V,
|
package/dist/index.es20.js
CHANGED
|
@@ -2,8 +2,8 @@ import { j as m } from "./index.es30.js";
|
|
|
2
2
|
import { useState as q, useEffect as x } from "react";
|
|
3
3
|
import { Slider as z, SliderTrack as B } from "react-aria-components";
|
|
4
4
|
import { cn as F } from "./index.es31.js";
|
|
5
|
-
import { SliderContainerTrack as G } from "./index.
|
|
6
|
-
import { validateMinDistance as H } from "./index.
|
|
5
|
+
import { SliderContainerTrack as G } from "./index.es57.js";
|
|
6
|
+
import { validateMinDistance as H } from "./index.es58.js";
|
|
7
7
|
const U = ({
|
|
8
8
|
type: r = "single",
|
|
9
9
|
showTypeValue: A = "default",
|
package/dist/index.es23.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as n } from "./index.es30.js";
|
|
2
|
-
import { CheckIcon as I } from "./index.
|
|
2
|
+
import { CheckIcon as I } from "./index.es32.js";
|
|
3
3
|
import { motion as f } from "framer-motion";
|
|
4
4
|
import { useRef as k } from "react";
|
|
5
5
|
import { useButton as D, useHover as V } from "react-aria";
|
|
6
|
-
import z from "./index.
|
|
7
|
-
import B from "./index.
|
|
6
|
+
import z from "./index.es59.js";
|
|
7
|
+
import B from "./index.es60.js";
|
|
8
8
|
import { cn as H } from "./index.es31.js";
|
|
9
|
-
import { stepVariants as R, iconVariants as $, labelVariants as E } from "./index.
|
|
9
|
+
import { stepVariants as R, iconVariants as $, labelVariants as E } from "./index.es61.js";
|
|
10
10
|
const c = z(B), x = (s, e) => typeof s == "function" ? /* @__PURE__ */ n.jsx(s, { step: e || 0 }) : s, C = (s) => {
|
|
11
11
|
var t, r, o, a, i;
|
|
12
12
|
const e = (t = c == null ? void 0 : c.theme) == null ? void 0 : t.colors;
|
package/dist/index.es24.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./index.es30.js";
|
|
2
2
|
import { Switch as u } from "react-aria-components";
|
|
3
3
|
import { cn as c } from "./index.es31.js";
|
|
4
|
-
import { ContentSwitch as L } from "./index.
|
|
5
|
-
import { SwitchIndicator as v } from "./index.
|
|
6
|
-
import { switchVariants as b } from "./index.
|
|
4
|
+
import { ContentSwitch as L } from "./index.es66.js";
|
|
5
|
+
import { SwitchIndicator as v } from "./index.es67.js";
|
|
6
|
+
import { switchVariants as b } from "./index.es45.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
children: f,
|
|
9
9
|
label: m,
|
package/dist/index.es25.js
CHANGED
|
@@ -3,9 +3,9 @@ import { useRef as b } from "react";
|
|
|
3
3
|
import { useTabList as d } from "react-aria";
|
|
4
4
|
import { useTabListState as u, Item as N } from "react-stately";
|
|
5
5
|
import { cn as e } from "./index.es31.js";
|
|
6
|
-
import { Tab as j } from "./index.
|
|
7
|
-
import { TabPanel as h } from "./index.
|
|
8
|
-
import { tabsVariants as T } from "./index.
|
|
6
|
+
import { Tab as j } from "./index.es51.js";
|
|
7
|
+
import { TabPanel as h } from "./index.es52.js";
|
|
8
|
+
import { tabsVariants as T } from "./index.es53.js";
|
|
9
9
|
const v = (a) => {
|
|
10
10
|
var l;
|
|
11
11
|
const {
|
package/dist/index.es26.js
CHANGED
|
@@ -2,8 +2,8 @@ import { j as s } from "./index.es30.js";
|
|
|
2
2
|
import { forwardRef as f, useContext as u } from "react";
|
|
3
3
|
import { useTooltip as T, mergeProps as h } from "react-aria";
|
|
4
4
|
import { cn as e } from "./index.es31.js";
|
|
5
|
-
import { TooltipContext as j } from "./index.
|
|
6
|
-
import { tooltipVariants as N } from "./index.
|
|
5
|
+
import { TooltipContext as j } from "./index.es44.js";
|
|
6
|
+
import { tooltipVariants as N } from "./index.es43.js";
|
|
7
7
|
const P = f((p, i) => {
|
|
8
8
|
const { placement: l = "bottom", className: m, mode: o = "dark", supportText: t, children: a, ...r } = p, { state: n, ...c } = u(j), { tooltipProps: x } = T(r, n), d = e(N({ placement: l, mode: o, hasSupportText: !!t }), m);
|
|
9
9
|
return /* @__PURE__ */ s.jsxs("span", { className: d, ...h(r, x, c), ref: i, children: [
|