@simpli-route/apollo-ds 0.1.56 → 0.1.57
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/components/SelectInput/types.d.ts +4 -0
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.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.cjs19.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.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.cjs30.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.cjs41.js +1 -1
- package/dist/index.cjs42.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.cjs68.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.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +3 -3
- package/dist/index.es104.js +2 -57
- package/dist/index.es105.js +2 -4
- package/dist/index.es106.js +58 -27
- package/dist/index.es107.js +4 -2
- package/dist/index.es108.js +28 -10
- package/dist/index.es109.js +2 -340
- package/dist/index.es11.js +3 -3
- package/dist/index.es110.js +8 -166
- package/dist/index.es111.js +340 -2
- package/dist/index.es112.js +166 -2
- package/dist/index.es12.js +2 -2
- package/dist/index.es13.js +2 -2
- package/dist/index.es14.js +2 -2
- package/dist/index.es15.js +3 -3
- package/dist/index.es16.js +2 -2
- package/dist/index.es17.js +3 -3
- package/dist/index.es18.js +4 -4
- package/dist/index.es19.js +2 -2
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +4 -4
- package/dist/index.es24.js +4 -4
- package/dist/index.es25.js +18 -18
- package/dist/index.es26.js +3 -3
- package/dist/index.es27.js +5 -5
- package/dist/index.es28.js +2 -2
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +3 -3
- package/dist/index.es33.js +2 -2
- package/dist/index.es34.js +4 -4
- package/dist/index.es35.js +4 -4
- package/dist/index.es36.js +2 -2
- package/dist/index.es37.js +2 -2
- package/dist/index.es38.js +2 -2
- package/dist/index.es39.js +2 -2
- package/dist/index.es4.js +2 -2
- package/dist/index.es41.js +6 -31
- package/dist/index.es42.js +31 -6
- package/dist/index.es44.js +140 -53
- package/dist/index.es45.js +40 -31
- package/dist/index.es46.js +33 -17
- package/dist/index.es47.js +79 -16
- package/dist/index.es48.js +129 -15
- package/dist/index.es49.js +53 -140
- package/dist/index.es5.js +19 -19
- package/dist/index.es50.js +3 -43
- package/dist/index.es51.js +9 -61
- package/dist/index.es52.js +118 -98
- package/dist/index.es53.js +130 -3
- package/dist/index.es54.js +103 -16
- package/dist/index.es55.js +84 -120
- package/dist/index.es56.js +24 -120
- package/dist/index.es57.js +7 -114
- package/dist/index.es58.js +48 -45
- package/dist/index.es59.js +39 -33
- package/dist/index.es6.js +3 -3
- package/dist/index.es60.js +159 -7
- package/dist/index.es61.js +79 -104
- package/dist/index.es62.js +21 -39
- package/dist/index.es63.js +17 -159
- package/dist/index.es64.js +15 -90
- package/dist/index.es65.js +15 -21
- package/dist/index.es66.js +163 -30
- package/dist/index.es67.js +40 -27
- package/dist/index.es68.js +30 -163
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +2 -2
- package/dist/index.es70.js +13 -10
- package/dist/index.es71.js +10 -12
- package/dist/index.es72.js +12 -13
- package/dist/index.es73.js +3 -3
- package/dist/index.es74.js +2 -2
- package/dist/index.es76.js +3 -3
- package/dist/index.es77.js +3 -3
- package/dist/index.es79.js +10 -19
- package/dist/index.es8.js +4 -4
- package/dist/index.es80.js +10 -20
- package/dist/index.es81.js +45 -10
- package/dist/index.es82.js +19 -10
- package/dist/index.es83.js +17 -42
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es9.js +4 -4
- package/dist/stories/SelectInput.stories.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.cjs42.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 o=require("./index.cjs88.js"),n=require("./index.cjs89.js"),c=require("./index.cjs90.js"),r=require("./index.cjs91.js"),e=require("./index.cjs92.js"),I=require("./index.cjs93.js"),s=require("./index.cjs94.js"),C=require("./index.cjs95.js"),t=require("./index.cjs96.js"),i=require("./index.cjs97.js"),v=require("./index.cjs98.js"),a=require("./index.cjs99.js"),h=require("./index.cjs100.js"),u=require("./index.cjs101.js"),l=require("./index.cjs102.js");var q=o.CalendarIcon_1,_=n.CheckIcon_1,$=c.ClockIcon_1,f=r.CrossCircleIcon_1,p=e.CrossIcon_1,k=I.DownChevronIcon_1,w=s.InfoIcon_1,L=C.LeftArrowIcon_1,d=t.LeftChevronIcon_1,g=i.MinusIcon_1,S=v.OptionsIcon_1,M=a.PlusIcon_1,O=h.RightChevronIcon_1,P=u.SearchIcon_1,A=l.UpChevronIcon_1;exports.CalendarIcon=q;exports.CheckIcon=_;exports.ClockIcon=$;exports.CrossCircleIcon=f;exports.CrossIcon=p;exports.DownChevronIcon=k;exports.InfoIcon=w;exports.LeftArrowIcon=L;exports.LeftChevronIcon=d;exports.MinusIcon=g;exports.OptionsIcon=S;exports.PlusIcon=M;exports.RightChevronIcon=O;exports.SearchIcon=P;exports.UpChevronIcon=A;
|
package/dist/index.cjs44.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("inline-flex select-none items-center justify-center text-center text-xs font-semibold leading-6 transition duration-150 ease-in-out focus:outline-none",{variants:{intent:{primary:"bg-primary-500 text-primary-50",secondary:"border border-primary-500 bg-primary-50 text-primary-500",tertiary:"text-primary-500",outline:"border border-primary-500 text-primary-500",success:"border bg-success-500 text-success-50",error:"border bg-error-500 text-error-50",orangeWarning:"border bg-orange-warning-500 text-orange-warning-50",yellowWarning:"border bg-yellow-warning-500 text-yellow-warning-900",info:"border bg-blue-500 text-blue-50"},size:{xs:"rounded px-3 py-1",sm:"rounded px-3 py-2",md:"rounded px-4 py-3",lg:"rounded-lg px-6 py-4"},isDisabled:{true:"pointer-events-none cursor-not-allowed border-none bg-neutral-400 text-neutral-600"},isHovered:{true:""},isActive:{true:""},fullWidth:{true:"w-full",false:"w-fit"},isLoading:{true:"pointer-events-none cursor-not-allowed opacity-70"},isFocused:{true:"focus:outline-none focus:ring-2 focus:ring-sky-400 focus:ring-offset-[0.4px] border-none",false:""}},defaultVariants:{intent:"primary",size:"md"},compoundVariants:[{intent:"primary",isHovered:!0,class:"bg-primary-700"},{intent:"secondary",isHovered:!0,class:"bg-primary-200"},{intent:"tertiary",isHovered:!0,class:"bg-primary-300 text-primary-800"},{intent:"outline",isHovered:!0,class:"bg-primary-500 text-primary-50"},{intent:"success",isHovered:!0,class:"bg-success-700 text-neutral-50"},{intent:"error",isHovered:!0,class:"bg-error-700 text-error-50"},{intent:"orangeWarning",isHovered:!0,class:"bg-orange-warning-700 text-orange-warning-50"},{intent:"yellowWarning",isHovered:!0,class:"bg-yellow-warning-700 text-neutral-50"},{intent:"info",isHovered:!0,class:"bg-blue-700 text-blue-50"},{intent:"success",isFocused:!0,class:"border-[1.5px] focus:ring-success-500"},{intent:"error",isFocused:!0,class:"border-[1.5px] focus:ring-error-500"},{intent:"orangeWarning",isFocused:!0,class:"border-[1.5px] focus:ring-orange-500"},{intent:"yellowWarning",isFocused:!0,class:"border-[1.5px] focus:ring-yellow-500"},{intent:"info",isFocused:!0,class:"border-[1.5px] focus:ring-blue-500"},{intent:"primary",isActive:!0,class:"bg-primary-900"},{intent:"secondary",isActive:!0,class:"bg-primary-300"},{intent:"tertiary",isActive:!0,class:"bg-primary-500 text-white"},{intent:"outline",isActive:!0,class:"border border-primary-500 bg-primary-300 text-primary-500"},{intent:"success",isActive:!0,class:"border border-transparent bg-success-300 text-success-900"},{intent:"error",isActive:!0,class:"border border-transparent bg-error-300 text-error-900"},{intent:"orangeWarning",isActive:!0,class:"border border-transparent bg-orange-warning-300 text-orange-warning-900"},{intent:"yellowWarning",isActive:!0,class:"border border-transparent bg-yellow-warning-300 text-yellow-warning-900"},{intent:"info",isActive:!0,class:"border border-transparent bg-blue-200 text-blue-900"}]});exports.buttonVariants=r;
|
package/dist/index.cjs45.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("class-variance-authority"),r=e.cva("flex h-5 w-5 shrink-0 cursor-pointer items-center justify-center rounded border-2 border-primary-200 text-white transition duration-150 ease-in-out",{variants:{isHovered:{true:""},isSelected:{true:"border-primary-500 bg-primary-500",false:"bg-white"},isFocusVisible:{true:"border-primary-500 group-active:border-primary-500"},isDisabled:{true:"border-neutral-500 cursor-not-allowed"},label:{true:"mr-2"}},compoundVariants:[{isHovered:!0,isSelected:!0,class:"border-none bg-primary-600 group-active:bg-primary-600"},{isHovered:!0,isSelected:!1,isDisabled:!1,class:"border-primary-700 group-active:bg-primary-600"},{isDisabled:!0,isSelected:!0,class:"bg-neutral-500"}]});exports.checkboxVariants=r;
|
package/dist/index.cjs46.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 r=require("class-variance-authority"),e=r.cva("bg-primary-50 inline-flex items-center select-none border border-transparent",{variants:{style:{square:"rounded-md",rounded:"rounded-full"},size:{xs:["gap-1 py-[2px] pr-[6px] pl-1 font-normal text-neutral-900 text-[10px]","[&_svg]:w-[10px] [&_svg]:h-[10px]"],sm:["gap-1 py-[2px] pr-[6px] pl-1 font-normal text-neutral-900 text-xs","[&_svg]:w-3 [&_svg]:h-3"],md:["gap-1 py-1 pr-3 pl-2 font-normal text-neutral-900 text-sm","[&_svg]:w-4 [&_svg]:h-4"],lg:["gap-2 py-1 pr-3 pl-2 font-normal text-neutral-900 text-sm","[&_svg]:w-4 [&_svg]:h-4"]},pressable:{true:"cursor-pointer"},isFocused:{true:"border-primary-500"},isHovered:{true:"border-primary-300"},isPressed:{true:"bg-primary-200"},isDisabled:{true:"bg-neutral-50 text-neutral-600 [&_svg]:text-neutral-600 cursor-not-allowed"}}});exports.assistChipVariants=e;
|
package/dist/index.cjs47.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),s=e.cva("flex w-full items-center justify-between gap-2 py-1 rounded border bg-neutral-50 text-xs font-normal text-primary-900 outline-none transition-all duration-150",{variants:{size:{xs:"min-h-8 px-3",sm:"min-h-10 px-3",md:"min-h-12 px-4",lg:"min-h-14 px-4"},isDisabled:{true:"cursor-not-allowed bg-neutral-200 border-none",false:""},isHovered:{true:"",false:""},isFocusVisible:{true:"",false:""}},compoundVariants:[{isDisabled:!1,isHovered:!1,isFocusVisible:!1,class:"border-neutral-500"},{isDisabled:!1,isHovered:!0,isFocusVisible:!1,class:"border-neutral-800"},{isDisabled:!1,isFocusVisible:!0,class:"border-2 border-primary-500"}],defaultVariants:{size:"xs",isDisabled:!1,isHovered:!1,isFocusVisible:!1}}),t=e.cva("flex items-center gap-1 rounded bg-primary-100 font-normal text-primary-800",{variants:{size:{xs:"px-1.5 py-0.5 text-[10px]",sm:"px-2 py-1 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"},isDisabled:{true:"bg-neutral-50 text-neutral-600",false:""}},defaultVariants:{isDisabled:!1,size:"xs"}}),a=e.cva("w-[--trigger-width] overflow-auto rounded border border-neutral-300 bg-white shadow-lg outline-none",{variants:{},defaultVariants:{}});exports.selectInputBadgeVariants=t;exports.selectInputButtonVariants=s;exports.selectInputPopoverVariants=a;
|
package/dist/index.cjs48.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),s=e.cva("group inline-flex select-none items-center justify-center gap-1 text-center font-semibold text-xs transition duration-150 leading-6 ease-in-out focus:outline-none",{variants:{size:{xs:"rounded px-3 py-1",sm:"rounded px-3 py-2",md:"rounded px-4 py-3",lg:"rounded-lg px-6 py-4"},isActive:{true:"bg-primary-50 text-primary-500",false:"bg-transparent text-primary-500"},isHovered:{true:"",false:""},isFocused:{true:"",false:""},isPressed:{true:"",false:""},isDisabled:{true:"cursor-not-allowed",false:""}},compoundVariants:[{isActive:!1,isHovered:!0,isDisabled:!1,class:"bg-primary-50"},{isActive:!1,isFocused:!0,isDisabled:!1,class:"bg-primary-50 border border-primary-500"},{isActive:!1,isPressed:!0,isDisabled:!1,class:"bg-primary-50 border border-primary-500"},{isActive:!1,isDisabled:!0,class:"bg-neutral-50 text-neutral-600"},{isActive:!0,isHovered:!0,isDisabled:!1,class:"bg-primary-100"},{isActive:!0,isFocused:!0,isDisabled:!1,class:"bg-primary-100 border border-primary-500"},{isActive:!0,isPressed:!0,isDisabled:!1,class:"bg-primary-100 border border-primary-500"},{isActive:!0,isDisabled:!0,class:"bg-neutral-100 text-neutral-600"}],defaultVariants:{size:"md",isActive:!1,isHovered:!1,isFocused:!1,isPressed:!1,isDisabled:!1}}),r=e.cva("inline-flex items-center justify-center w-4 h-4 rounded-full text-xs p-0.5 font-semibold ml-0.5",{variants:{isActive:{true:"bg-primary-500 text-primary-50",false:""},isHovered:{true:"",false:""},isDisabled:{true:"bg-neutral-400 text-neutral-50",false:""}},compoundVariants:[{isActive:!0,isHovered:!0,isDisabled:!1,class:"bg-primary-500 text-primary-100"},{isActive:!0,isDisabled:!0,class:"bg-neutral-400 text-neutral-50"}],defaultVariants:{isActive:!1,isHovered:!1,isDisabled:!1}});exports.filterButtonBadgeVariants=r;exports.filterButtonVariants=s;
|
package/dist/index.cjs49.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),s=e.cva("inline-flex items-center justify-center font-medium transition-colors duration-200 cursor-pointer outline-none border border-transparent rounded-full",{variants:{size:{xs:"h-4 px-2 py-0.5 text-[10px] gap-1",sm:"h-5 px-2 py-0.5 text-xs gap-1",md:"h-6 px-3 py-1 text-sm gap-1",lg:"h-8 px-3 py-1 text-sm gap-2"},isSelected:{true:"",false:""},isDisabled:{true:"cursor-not-allowed bg-neutral-50 text-neutral-600 border-transparent",false:""},isHovered:{true:"",false:""},isFocused:{true:"",false:""}},compoundVariants:[{isSelected:!1,isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-sky-100 text-sky-900"},{isSelected:!0,isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-sky-500 text-sky-50"},{isSelected:!1,isDisabled:!1,isHovered:!0,class:"bg-sky-200 text-sky-900"},{isSelected:!0,isDisabled:!1,isHovered:!0,class:"bg-sky-500 text-sky-50"},{isSelected:!1,isDisabled:!1,isFocused:!0,class:"bg-sky-200 text-sky-900 border-sky-500"},{isSelected:!0,isDisabled:!1,isFocused:!0,class:"bg-sky-500 text-sky-50 border-primary-500"}],defaultVariants:{size:"md",isSelected:!1,isDisabled:!1,isHovered:!1,isFocused:!1}});exports.filterChipVariants=s;
|
package/dist/index.cjs5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs40.js"),E=require("react-aria-components"),j=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs40.js"),E=require("react-aria-components"),j=require("./index.cjs41.js");require("react");require("./index.cjs43.js");const N=require("./index.cjs44.js");require("./index.cjs45.js");require("react-aria");require("./index.cjs46.js");require("@react-stately/color");const w=require("./index.cjs21.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs13.js");require("./index.cjs14.js");require("./index.cjs36.js");require("react-stately");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs12.js");require("@internationalized/date");require("./index.cjs52.js");require("./index.cjs16.js");require("./index.cjs53.js");require("./index.cjs18.js");require("./index.cjs54.js");require("./index.cjs22.js");require("./index.cjs23.js");require("./index.cjs55.js");require("framer-motion");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs28.js");require("./index.cjs60.js");require("./index.cjs31.js");require("./index.cjs32.js");require("./index.cjs33.js");require("./index.cjs61.js");require("./index.cjs35.js");require("./index.cjs62.js");const p=({renderPosition:e,leftIcon:a,rightIcon:o,isLoading:u,loaderPosition:s,loaderProps:i})=>{const t=e==="left"?a:e==="right"?o:null;return t||u&&s===e?r.jsxRuntimeExports.jsx("span",{className:e==="left"?"mr-1":"ml-1",children:u&&s===e?r.jsxRuntimeExports.jsx(w.Loader,{size:"sm",...i}):t}):null},y=e=>{const{intent:a="primary",size:o="md",leftIcon:u,rightIcon:s,isDisabled:i,children:t,className:h,isLoading:n,loaderPosition:m="left",loaderProps:x,fullWidth:R=!1,unstyled:c=!1,focus:f=!0,isMobileFullWidth:b=!1,...g}=e,v=(d,l,q)=>j.cn(c?"":N.buttonVariants({intent:a,size:o,isHovered:l||(f||!c?q:!1),isActive:d,isDisabled:i,isFocused:f||!c?q:!1,fullWidth:R,isLoading:n}),h);return r.jsxRuntimeExports.jsxs(E.Button,{"data-disabled":i||void 0,"data-loading":n||void 0,isDisabled:i,className:({isPressed:d,isHovered:l,isFocusVisible:q})=>v(d,l,q),...g,children:[r.jsxRuntimeExports.jsx(p,{renderPosition:"left",loaderPosition:m,loaderProps:x,isLoading:n,leftIcon:u}),r.jsxRuntimeExports.jsx("span",{className:j.cn("flex h-full items-center overflow-hidden whitespace-nowrap",b?"w-full":""),children:t}),r.jsxRuntimeExports.jsx(p,{renderPosition:"right",loaderPosition:m,loaderProps:x,isLoading:n,rightIcon:s})]})};exports.Button=y;
|
package/dist/index.cjs50.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("react"),e=t.createContext({});exports.TooltipContext=e;
|
package/dist/index.cjs51.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("flex h-8 min-w-[150px] items-center justify-between gap-2 rounded-full border border-blue-200 bg-blue-50 px-2 py-0.5 focus:outline-none focus-visible:border-blue-500",{variants:{isDisabled:{true:"cursor-not-allowed bg-neutral-200 border border-neutral-500",false:""},isActive:{true:"bg-neutral-50 border-blue-500",false:""}},defaultVariants:{isDisabled:!1,isActive:!1}}),t=e.cva("w-[--trigger-width] overflow-auto lg:custom-scrollbar rounded border border-neutral-300 bg-white shadow-lg outline-none p-2",{variants:{},defaultVariants:{}});exports.filterTypeChipPopoverVariants=t;exports.filterTypeChipVariants=r;
|
package/dist/index.cjs52.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva("font-normal text-neutral-800",{variants:{size:{bodySm:"text-xs",bodyDefault:"text-sm"}},defaultVariants:{size:"bodyDefault"}}),t=e.cva("flex w-fit items-center gap-2 rounded-sm border border-transparent bg-transparent transition-colors duration-200",{variants:{size:{bodySm:"px-1.5 py-1",bodyDefault:"px-1.5 py-1"},state:{default:"border-transparent bg-transparent",hover:"border-blue-100 bg-transparent",active:"!border-primary-500 !bg-neutral-50 focus-within:!border-primary-500 focus-within:!bg-neutral-50",error:"!border-error-500 !bg-neutral-50 focus-within:!border-error-500 focus-within:!bg-neutral-50",disabled:"border-transparent bg-transparent cursor-not-allowed opacity-50"}},defaultVariants:{size:"bodyDefault",state:"default"}}),r=e.cva("text-xs font-normal",{variants:{state:{default:"text-neutral-600",error:"text-error-800"}},defaultVariants:{state:"default"}}),s=e.cva("outline-none bg-transparent",{variants:{size:{bodySm:"text-xs",bodyDefault:"text-sm"}},defaultVariants:{size:"bodyDefault"}}),n=e.cva("flex items-center justify-center rounded bg-transparent text-primary-500 transition-colors hover:bg-neutral-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-transparent",{variants:{size:{bodySm:"h-4 w-4",bodyDefault:"h-5 w-5"}},defaultVariants:{size:"bodyDefault"}}),i=e.cva("rounded tabular-nums outline-none font-semibold",{variants:{size:{bodySm:"text-xs px-0.5",bodyDefault:"text-sm px-0.5"},isPlaceholder:{true:"text-neutral-400",false:"text-neutral-900"},isFocused:{true:"bg-primary-500 text-white",false:""}},defaultVariants:{size:"bodyDefault",isPlaceholder:!1,isFocused:!1}}),l=e.cva("w-full max-w-[280px] p-4"),o=e.cva("flex items-center justify-between pb-4"),d=e.cva("text-sm font-semibold text-neutral-900"),u=e.cva("w-full border-collapse"),c=e.cva("pb-2 text-xs font-normal text-neutral-600"),f=e.cva("relative flex h-8 w-8 cursor-pointer text-center text-xs font-normal outline-none justify-center items-center mx-0.5 my-0.5",{variants:{isSelected:{true:"rounded-full bg-primary-500 text-white",false:""},isDisabled:{true:"!cursor-not-allowed text-neutral-300 opacity-30",false:""},isOutsideMonth:{true:"text-neutral-400",false:"text-neutral-900"},isToday:{true:"border border-primary-400 rounded-full",false:""},isFocusVisible:{true:"ring-2 ring-primary-500 ring-offset-1 rounded-full",false:""},isHovered:{true:"!bg-primary-100",false:""}},compoundVariants:[{isHovered:!0,isSelected:!1,isDisabled:!1,class:"rounded-full bg-neutral-100"},{isDisabled:!0,isSelected:!0,class:"bg-neutral-300 text-neutral-500 opacity-50 cursor-not-allowed"}],defaultVariants:{isSelected:!1,isDisabled:!1,isOutsideMonth:!1,isToday:!1,isFocusVisible:!1,isHovered:!1}}),b=e.cva("rounded-lg bg-neutral-50 shadow-[0px_0px_4px_0px_rgba(0,0,0,0.25)] outline-none");exports.calendarCellVariants=f;exports.calendarGridVariants=u;exports.calendarHeaderCellVariants=c;exports.calendarHeaderVariants=o;exports.calendarHeadingVariants=d;exports.calendarVariants=l;exports.datepickerButtonVariants=n;exports.datepickerCaptionVariants=r;exports.datepickerGroupVariants=t;exports.datepickerInputVariants=s;exports.datepickerLabelVariants=a;exports.datepickerSegmentVariants=i;exports.popoverVariants=b;
|
package/dist/index.cjs53.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("class-variance-authority"),t=e.cva("flex w-full gap-1",{variants:{size:{xs:"gap-1",sm:"gap-1",md:"gap-1",lg:"gap-1"},orientation:{vertical:"flex-col",horizontal:"flex-row items-center"}},defaultVariants:{size:"xs",orientation:"vertical"}}),a=e.cva("font-normal text-neutral-800 ml-0.5",{variants:{size:{xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-[22px]"}},defaultVariants:{size:"sm"}}),r=e.cva("flex w-full items-center justify-between gap-2 border outline-none transition-colors duration-200 rounded-sm text-blue-800 font-normal",{variants:{size:{xs:"px-1.5 py-1 text-xs",sm:"px-2 py-1.5 text-sm",md:"px-2.5 py-2 text-base",lg:"px-3 py-2.5 text-lg"},state:{default:"border-transparent bg-transparent",hover:"border-blue-100 bg-transparent",active:"!border-blue-500 bg-neutral-50",error:"!border-error-500 bg-neutral-50",disabled:"border-transparent bg-transparent cursor-not-allowed opacity-50"}},defaultVariants:{size:"xs",state:"default"}}),s=e.cva("text-xs font-normal",{variants:{state:{default:"text-neutral-600",error:"text-error-800"}},defaultVariants:{state:"default"}}),i=e.cva("w-[--trigger-width] overflow-auto rounded border border-neutral-300 bg-white shadow-lg outline-none");e.cva("outline-none p-1");e.cva("relative flex cursor-pointer items-center gap-2 rounded px-2 py-1.5 text-sm font-normal text-neutral-900 outline-none transition-colors",{variants:{isSelected:{true:"bg-primary-500 text-white font-semibold",false:""},isFocused:{true:"bg-neutral-200",false:""},isDisabled:{true:"cursor-not-allowed text-neutral-400 opacity-50",false:""}},compoundVariants:[{isFocused:!0,isSelected:!1,class:"bg-neutral-200"},{isSelected:!0,isFocused:!0,class:"bg-primary-600"}],defaultVariants:{isSelected:!1,isFocused:!1,isDisabled:!1}});const n=e.cva("flex items-center gap-1 rounded bg-primary-100 font-normal text-primary-800",{variants:{size:{xs:"px-1.5 py-0.5 text-[10px]",sm:"px-2 py-1 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"},isDisabled:{true:"bg-neutral-50 text-neutral-600",false:""}},defaultVariants:{size:"xs",isDisabled:!1}});exports.invisibleSelectBadgeVariants=n;exports.invisibleSelectButtonVariants=r;exports.invisibleSelectCaptionVariants=s;exports.invisibleSelectContainerVariants=t;exports.invisibleSelectLabelVariants=a;exports.invisibleSelectPopoverVariants=i;
|
package/dist/index.cjs54.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva("flex w-fit items-center gap-2 rounded-sm border border-transparent bg-transparent transition-colors duration-200",{variants:{size:{bodySm:"px-1.5 py-1",bodyDefault:"px-1.5 py-1",h5:"px-2 py-1",h3:"px-2 py-1"},state:{default:"border-transparent bg-transparent",hover:"border-blue-100 bg-transparent",active:"!border-primary-500 !bg-neutral-50 focus-within:!border-primary-500 focus-within:!bg-neutral-50",error:"!border-error-500 !bg-neutral-50 focus-within:!border-error-500 focus-within:!bg-neutral-50",disabled:"border-transparent bg-transparent cursor-not-allowed opacity-60"}},defaultVariants:{size:"bodyDefault",state:"default"}}),a=e.cva("flex items-center outline-none bg-transparent",{variants:{size:{bodySm:"text-xs",bodyDefault:"text-sm",h5:"text-base",h3:"text-[22px]"}},defaultVariants:{size:"bodyDefault"}}),i=e.cva("flex items-center justify-center rounded bg-transparent text-neutral-900 transition-colors hover:bg-neutral-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-1",{variants:{size:{bodySm:"h-4 w-4",bodyDefault:"h-5 w-5",h5:"h-6 w-6",h3:"h-7 w-7"}},defaultVariants:{size:"bodyDefault"}}),r=e.cva("flex w-full gap-1",{variants:{size:{bodySm:"gap-1",bodyDefault:"gap-1",h5:"gap-1",h3:"gap-1"},orientation:{vertical:"flex-col",horizontal:"flex-row items-center"}},defaultVariants:{size:"bodyDefault",orientation:"vertical"}}),s=e.cva("my-0.5 cursor-pointer rounded py-1.5 text-center text-sm outline-none transition-colors text-neutral-700",{variants:{padding:{default:"px-2",compact:"px-1"},isSelected:{true:"bg-primary-50 text-primary-600",false:""},isFocused:{true:"",false:""},isHovered:{true:"",false:""}},defaultVariants:{padding:"default",isSelected:!1,isFocused:!1,isHovered:!1},compoundVariants:[{isSelected:!1,isFocused:!0,class:"bg-neutral-100"},{isSelected:!1,isFocused:!1,isHovered:!0,class:"bg-neutral-300"}]});exports.invisibleTimeFieldContainerVariants=r;exports.invisibleTimeFieldGroupVariants=t;exports.invisibleTimeFieldInputVariants=a;exports.timeFieldButtonVariants=i;exports.timePickerListItemVariants=s;
|
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 r=require("class-variance-authority"),e=r.cva("box-border w-full rounded border border-neutral-500 px-3 placeholder:text-neutral-700 focus:outline-none",{variants:{size:{xs:"py-1",sm:"py-2",md:"py-3",lg:"py-4"},isHovered:{true:""},isFocused:{true:""},isDisabled:{true:"border border-neutral-200 bg-neutral-200 cursor-not-allowed text-neutral-700",false:"bg-neutral-50"},isReadOnly:{true:"cursor-not-allowed"},validationState:{default:"",valid:"border border-success-500",invalid:"border border-error-500"}},compoundVariants:[{isHovered:!0,isDisabled:!1,validationState:"default",class:"border border-neutral-900"},{isFocused:!0,isDisabled:!1,class:"border-2 focus-within:border-primary-500 focus-within:ring-1 focus-within:ring-primary-500 focus:border-primary-500 focus:ring-1 focus:ring-primary-500"},{validationState:"valid",isFocused:!0,class:"border-2 border-success-500 focus-within:ring-1 focus-within:ring-success-500 focus:border-success-500 focus:ring-1 focus:ring-success-500"},{validationState:"invalid",isFocused:!0,class:"border-2 border-error-500 focus-within:ring-1 focus-within:ring-error-500 focus:border-error-500 focus:ring-1 focus:ring-error-500"}]}),a=r.cva("w-full border outline-none transition-colors duration-200 rounded-sm text-blue-800",{variants:{size:{bodySm:"px-1.5 py-1 text-xs gap-2",bodyDefault:"px-1.5 py-1 text-sm gap-2",h5:"px-2 py-1 text-base gap-2",h3:"px-2 py-1 text-[22px] gap-2"},state:{default:"border-transparent bg-transparent",hover:"border-blue-100 bg-transparent",active:"!border-primary-500 bg-neutral-50 focus:!border-primary-500 focus:!bg-neutral-50",error:"!border-error-500 bg-neutral-50 focus:!border-error-500 focus:!bg-neutral-50",disabled:"border-transparent bg-transparent cursor-not-allowed"}},defaultVariants:{size:"bodyDefault",state:"default"}}),i=r.cva("relative flex w-full",{variants:{size:{bodySm:"gap-1",bodyDefault:"gap-1",h5:"gap-1",h3:"gap-1"}},defaultVariants:{size:"bodyDefault"}}),t=r.cva("flex items-center justify-center",{variants:{size:{bodySm:"size-3",bodyDefault:"size-3.5",h5:"size-4",h3:"size-5"},isDisabled:{true:"text-neutral-600",false:"text-primary-500"}},defaultVariants:{size:"bodyDefault",isDisabled:!1}});exports.inputNumberVariant=e;exports.invisibleNumberFieldGroupVariants=i;exports.invisibleNumberFieldStepperVariants=t;exports.invisibleNumberFieldVariants=a;
|
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 r=require("class-variance-authority"),a=r.cva("w-full overflow-hidden rounded-lg bg-primary-100 h-2",{variants:{variant:{primary:"bg-primary-100",success:"bg-success-100",error:"bg-error-100",yellow:"bg-yellow-100",yellowWarning:"bg-yellow-warning-100",orangeWarning:"bg-orange-warning-100",sky:"bg-sky-100"}},defaultVariants:{variant:"primary"}}),e=r.cva("size-full rounded-lg",{variants:{variant:{primary:"bg-primary-500",success:"bg-success-500",error:"bg-error-500",yellow:"bg-yellow-500",yellowWarning:"bg-yellow-warning-500",orangeWarning:"bg-orange-warning-500",sky:"bg-sky-500"}},defaultVariants:{variant:"primary"}});exports.progressBarVariants=a;exports.progressFillVariants=e;
|
package/dist/index.cjs57.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),a=e.cva("flex items-center justify-between pb-4"),n=e.cva("text-base font-medium text-neutral-900"),r=e.cva("flex h-8 w-8 items-center justify-center rounded-md text-primary-500 hover:bg-neutral-200 transition-colors outline-none focus-visible:ring-2 focus-visible:ring-blue-400 disabled:opacity-40 disabled:cursor-not-allowed"),t=e.cva("pb-2 text-xs font-normal text-neutral-900 uppercase w-10");exports.rangeCalendarButtonVariants=r;exports.rangeCalendarHeaderCellVariants=t;exports.rangeCalendarHeaderVariants=a;exports.rangeCalendarHeadingVariants=n;
|
package/dist/index.cjs58.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("flex w-full rounded-md border border-neutral-500 bg-white px-4 text-base leading-6 focus-within:border-primary-500 focus-within:ring-1 focus-within:ring-primary-500 focus:border-primary-500 focus:ring-1 focus:ring-primary-500",{variants:{size:{xs:"py-1",sm:"py-2",md:"py-3",lg:"py-4"},isHovered:{true:""},isDisabled:{true:"cursor-not-allowed bg-neutral-200 text-neutral-600"},isReadOnly:{true:"cursor-not-allowed"},validationState:{invalid:"border-error-500 text-red-800 placeholder:text-red-800 focus-within:border-error-500 focus-within:ring-error-500 focus:border-error-500 focus:ring-error-500 pr-10",valid:"border-success-500 text-success-800 placeholder:text-success-800 focus-within:border-success-500 focus-within:ring-success-500 focus:border-success-500 focus:ring-success-500 pr-10"},hasIcon:{true:"pr-10"},isFocusVisible:{true:""}},compoundVariants:[{isHovered:!0,validationState:void 0,class:"border-neutral-900"},{isHovered:!0,validationState:"invalid",class:"border-error-600"},{isHovered:!0,validationState:"valid",class:"border-success-600"}]}),t=r.cva("w-full border outline-none transition-colors duration-200 rounded-sm text-blue-800",{variants:{size:{bodySm:"px-1.5 py-1 text-xs gap-2",bodyDefault:"px-1.5 py-1 text-sm gap-2",h5:"px-2 py-1 text-base gap-2",h3:"px-2 py-1 text-[22px] gap-2"},state:{default:"border-transparent bg-transparent",hover:"border-blue-100 bg-transparent",active:"!border-primary-500 bg-neutral-50 focus:!border-primary-500 focus:!bg-neutral-50",error:"!border-error-500 bg-neutral-50 focus:!border-error-500 focus:!bg-neutral-50",disabled:"border-transparent bg-transparent cursor-not-allowed"}},defaultVariants:{size:"bodyDefault",state:"default"}}),a=r.cva("font-normal text-neutral-800 ml-0.5",{variants:{size:{bodySm:"text-xs",bodyDefault:"text-sm",h5:"text-base",h3:"text-[22px]"}},defaultVariants:{size:"bodyDefault"}}),i=r.cva("text-xs font-normal",{variants:{state:{default:"text-neutral-600",error:"text-error-800"}},defaultVariants:{state:"default"}}),s=r.cva("flex w-full gap-1",{variants:{size:{bodySm:"gap-1",bodyDefault:"gap-1",h5:"gap-1",h3:"gap-1"},orientation:{vertical:"flex-col",horizontal:"flex-row items-center"}},defaultVariants:{size:"bodyDefault",orientation:"vertical"}});exports.inputVariants=e;exports.invisibleInputCaptionVariants=i;exports.invisibleInputContainerVariants=s;exports.invisibleInputLabelVariants=a;exports.invisibleInputVariants=t;
|
package/dist/index.cjs59.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("class-variance-authority"),r=e.cva("w-[--trigger-width] rounded-md bg-neutral-50 shadow-md ring-0",{variants:{}}),t=e.cva("group flex cursor-pointer items-center justify-between rounded-sm p-2 text-sm text-neutral-700 outline-none hover:bg-primary-100 hover:text-primary-500",{variants:{isFocused:{true:"bg-primary-100 text-primary-500"},isSelected:{true:"bg-primary-100 text-primary-500"},isDisabled:{true:""},isCheckValue:{true:"bg-primary-100 text-primary-500"},hideDisabledItems:{true:""}},compoundVariants:[{isDisabled:!0,isFocused:!1,isSelected:!1,class:"text-neutral-400 cursor-not-allowed"},{isSelected:!0,hideDisabledItems:!0,class:"bg-transparent"}]});exports.popoverVariants=r;exports.searchOptionVariants=t;
|
package/dist/index.cjs6.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),j=require("react-aria-components"),x=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),j=require("react-aria-components"),x=require("./index.cjs41.js"),p=require("./index.cjs68.js"),b=require("./index.cjs45.js"),h=({isIndeterminate:c=!1,isDisabled:s=!1,className:u,children:r,onChange:i,isSelected:n=!1,id:o,...m})=>{const l=(a,t)=>x.cn(b.checkboxVariants({isDisabled:s,isFocusVisible:a,isHovered:t,isSelected:n,label:!!r}));return e.jsxRuntimeExports.jsx(j.Checkbox,{className:x.cn("group flex items-center",u),isSelected:n,isDisabled:s,id:o,onChange:i,...m,children:({isFocusVisible:a,isHovered:t})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:l(a,t),"aria-hidden":"true",children:e.jsxRuntimeExports.jsx(p.MarkIcon,{isIndeterminate:c,isHovered:t,isSelected:n,className:"size-3"})}),r&&e.jsxRuntimeExports.jsx("span",{className:x.cn("select-none text-base leading-6",s?"text-neutral-500":"text-primary-900"),id:o,children:r})]})})};exports.Checkbox=h;
|
package/dist/index.cjs60.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),s=e.cva("inline-flex items-center justify-center font-medium transition-colors duration-200 cursor-pointer outline-none border border-transparent rounded-full",{variants:{size:{sm:"h-5 px-2 py-1 text-xs gap-1"},variant:{success:"text-success-800",error:"text-error-800",warning:"text-yellow-warning-800",info:"text-blue-800"},isSelected:{true:"",false:""},isDisabled:{true:"cursor-not-allowed bg-neutral-200 border-neutral-400 text-neutral-400",false:""},isHovered:{true:"",false:""},isFocused:{true:"",false:""}},compoundVariants:[{variant:"success",isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-success-50"},{variant:"success",isDisabled:!1,isHovered:!0,isFocused:!1,class:"bg-success-100"},{variant:"success",isDisabled:!1,isHovered:!1,isFocused:!0,class:"bg-success-100 border border-success-400"},{variant:"success",isDisabled:!1,isHovered:!0,isFocused:!0,class:"bg-success-100 border border-success-400"},{variant:"error",isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-error-100"},{variant:"error",isDisabled:!1,isHovered:!0,isFocused:!1,class:"bg-error-200"},{variant:"error",isDisabled:!1,isHovered:!1,isFocused:!0,class:"bg-error-100 border border-error-400"},{variant:"error",isDisabled:!1,isHovered:!0,isFocused:!0,class:"bg-error-100 border border-error-400"},{variant:"warning",isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-yellow-warning-100"},{variant:"warning",isDisabled:!1,isHovered:!0,isFocused:!1,class:"bg-yellow-warning-200"},{variant:"warning",isDisabled:!1,isHovered:!1,isFocused:!0,class:"bg-yellow-warning-100 border border-yellow-warning-400"},{variant:"warning",isDisabled:!1,isHovered:!0,isFocused:!0,class:"bg-yellow-warning-100 border border-yellow-warning-400"},{variant:"info",isDisabled:!1,isHovered:!1,isFocused:!1,class:"bg-blue-100"},{variant:"info",isDisabled:!1,isHovered:!0,isFocused:!1,class:"bg-blue-200"},{variant:"info",isDisabled:!1,isHovered:!1,isFocused:!0,class:"bg-blue-100 border border-blue-400"},{variant:"info",isDisabled:!1,isHovered:!0,isFocused:!0,class:"bg-blue-100 border border-blue-400"}],defaultVariants:{size:"sm",variant:"success",isSelected:!1,isDisabled:!1,isHovered:!1,isFocused:!1}});exports.statusChipVariants=s;
|
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 e=require("class-variance-authority"),r=e.cva("relative rounded-full transition-colors duration-300",{variants:{isSelected:{true:"bg-primary-500",false:"bg-neutral-50 border border-primary-200"},isDisabled:{true:"cursor-not-allowed bg-neutral-400 border-none",false:"cursor-pointer"},isHoveredWhenOff:{true:"bg-neutral-200 border-primary-700",false:""},isFocusVisible:{true:"ring-2 ring-sky-400 ring-offset-2",false:""},size:{sm:"w-[42px] h-[24px]",md:"w-[56px] h-[32px]"}},defaultVariants:{size:"md",isSelected:!1,isDisabled:!1,isFocusVisible:!1,isHoveredWhenOff:!1},compoundVariants:[{isSelected:!1,isDisabled:!1,class:"hover:bg-neutral-200 hover:border-primary-700"},{isSelected:!0,isDisabled:!1,class:"hover:bg-primary-700"},{isSelected:!1,isDisabled:!0,class:"bg-neutral-400 border-none"},{isSelected:!0,isDisabled:!0,class:"bg-neutral-500"}]}),s=e.cva("absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 rounded-full",{variants:{isSelected:{true:"bg-primary-50",false:"bg-primary-200 border border-primary-200"},isDisabled:{true:"bg-neutral-600 border-none",false:""},isHoveredWhenOff:{true:"bg-primary-700 border-primary-700",false:""},size:{sm:"w-[20px] h-[20px]",md:"w-[24px] h-[24px]"}},defaultVariants:{size:"md",isSelected:!1,isDisabled:!1,isHoveredWhenOff:!1},compoundVariants:[{isSelected:!0,isDisabled:!0,class:"bg-neutral-400"}]});exports.indicatorVariants=s;exports.switchVariants=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 t=require("class-variance-authority"),e=t.cva("scroll-m-12 text-neutral-900",{variants:{size:{h1:"text-[2rem] font-bold leading-10",h2:"text-[1.75rem] font-bold leading-9",h3:"text-2xl font-semibold",h4:"text-[1.375rem] font-semibold leading-7",h5:"text-xl font-semibold",h6:"text-lg font-semibold"}}}),a=t.cva("",{variants:{type:{body:"text-base text-neutral-900",caption:"text-xs text-neutral-700"}}});exports.textVariants=a;exports.titleVariants=e;
|
package/dist/index.cjs63.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.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 e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.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.cjs40.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 e=require("class-variance-authority"),t=[{intent:"primary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-100"},{intent:"secondary",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-primary-500 text-primary-50"},{intent:"minimal",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-neutral-200 text-neutral-800"},{intent:"error",isHovered:!0,isDisabled:!1,isActive:!1,class:"bg-error-100"}],r=[{intent:"primary",isActive:!0,isDisabled:!1,class:"bg-primary-500 text-primary-50"},{intent:"primary",isActive:!0,isDisabled:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isActive:!0,isDisabled:!1,class:"bg-primary-500 text-primary-50"},{intent:"secondary",isActive:!0,isDisabled:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isActive:!0,isDisabled:!1,class:"text-primary-500"},{intent:"minimal",isActive:!0,isDisabled:!0,class:"text-neutral-700"},{intent:"error",isActive:!0,isDisabled:!1,class:"bg-error-700 text-error-50"},{intent:"error",isActive:!0,isDisabled:!0,class:"bg-error-300 text-error-100"}],i=[{intent:"primary",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"primary",isDisabled:!0,isActive:!0,class:"bg-primary-300 text-primary-100"},{intent:"secondary",isDisabled:!0,isActive:!1,class:"bg-neutral-400 text-neutral-600"},{intent:"secondary",isDisabled:!0,isActive:!0,class:"bg-primary-100 text-primary-300"},{intent:"minimal",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"minimal",isDisabled:!0,isActive:!0,class:"text-neutral-700"},{intent:"error",isDisabled:!0,isActive:!1,class:"text-neutral-600"},{intent:"error",isDisabled:!0,isActive:!0,class:"bg-error-300 text-primary-100"}],s=e.cva("inline-flex items-center justify-center rounded-lg border border-transparent transition duration-150 ease-in-out focus:outline-none",{variants:{intent:{primary:"bg-transparent text-primary-500",secondary:"bg-primary-200 text-primary-500",minimal:"bg-transparent text-neutral-700",error:"bg-transparent text-error-500"},size:{xxs:"p-1",xs:"p-2",sm:"p-2.5",md:"p-3",lg:"p-4"},isDisabled:{true:"pointer-events-none cursor-not-allowed"},isHovered:{true:""},isActive:{true:""},isFocused:{false:"",true:"focus:outline-none focus:ring-offset-2 outline-none ring-2 ring-sky-400"}},compoundVariants:[...t,...r,...i]});exports.buttonVariants=s;
|
package/dist/index.cjs67.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),d=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),d=require("./index.cjs42.js"),s=require("react-aria-components"),l=require("./index.cjs41.js"),m=({enableSearch:i,contains:a,classNameSearchField:x,classNameSearchFieldInput:u,placeholderSearch:c,items:p})=>e.jsxRuntimeExports.jsxs(s.Autocomplete,{filter:a,disableAutoFocusFirst:!0,disableVirtualFocus:!0,children:[i?e.jsxRuntimeExports.jsxs(s.SearchField,{"aria-label":"Search",className:l.cn("group m-1 flex items-center rounded border border-neutral-500 bg-neutral-50",x),children:[e.jsxRuntimeExports.jsx(s.Input,{placeholder:c,className:l.cn("h-8 min-w-0 flex-1 rounded border-none p-1 text-sm font-normal text-neutral-800 outline-none outline-0 placeholder:text-neutral-700 focus:outline-none focus:ring-0 [&::-webkit-search-cancel-button]:hidden",u)}),e.jsxRuntimeExports.jsx(s.Button,{className:"pressed:bg-black/10 mr-1 flex w-6 items-center justify-center rounded-full border-0 bg-transparent p-1 text-center text-sm text-neutral-600 transition hover:bg-black/[5%] group-data-[empty]:invisible",children:e.jsxRuntimeExports.jsx(d.CrossCircleIcon,{"aria-hidden":!0,className:"size-4"})})]}):null,e.jsxRuntimeExports.jsx(s.ListBox,{className:"lg:custom-scrollbar max-h-[260px] overflow-auto outline-none",items:p,children:t=>e.jsxRuntimeExports.jsx(s.ListBoxItem,{id:t.value,textValue:t.label,isDisabled:t.isDisabled,className:({isSelected:r,isFocusVisible:n,isHovered:o})=>l.cn("flex cursor-pointer flex-col px-3 py-2 text-xs font-normal outline-none",r?"bg-primary-100 text-primary-500":"text-primary-900",o&&"bg-primary-50 text-primary-500",(o||n)&&!r&&"bg-primary-50",(o||n)&&r&&"bg-primary-200",(t==null?void 0:t.isDisabled)&&"cursor-not-allowed opacity-50"),children:({isSelected:r,isHovered:n})=>e.jsxRuntimeExports.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center justify-between",children:[e.jsxRuntimeExports.jsx("span",{children:t.label}),e.jsxRuntimeExports.jsx("span",{className:"flex w-5 items-center",children:r&&e.jsxRuntimeExports.jsx("svg",{width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2241 0.601824C13.4808 0.780773 13.5439 1.13398 13.365 1.39073L5.69829 12.3907C5.59653 12.5367 5.43209 12.6264 5.25425 12.633C5.07641 12.6395 4.90582 12.5622 4.79359 12.4241L0.460261 7.09072C0.26291 6.84783 0.299829 6.49094 0.542723 6.29358C0.785617 6.09623 1.14251 6.13315 1.33986 6.37605L5.19872 11.1254L12.4352 0.7427C12.6141 0.485948 12.9673 0.422875 13.2241 0.601824Z",fill:"#4C3BEF"})})})]}),t.description?e.jsxRuntimeExports.jsx("span",{slot:"description",className:l.cn(r?"text-primary-400":"text-neutral-700",n&&"text-primary-400"),children:t.description}):null]})},t.value)})]});exports.PopoverContent=m;
|
package/dist/index.cjs68.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.cjs40.js"),l=require("./index.cjs41.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.cjs69.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs40.js"),y=require("react"),m=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs40.js"),y=require("react"),m=require("./index.cjs41.js"),x=require("./index.cjs103.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.cjs7.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs40.js"),i=require("react-aria"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs40.js"),i=require("react-aria"),f=require("./index.cjs41.js"),q=require("./index.cjs46.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.cjs70.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("react");function c(e,u=300){const[n,o]=t.useState(e);return t.useEffect(()=>{const r=setTimeout(()=>{o(e)},u);return()=>{clearTimeout(r)}},[e,u]),n}exports.useDebouncedValue=c;
|
package/dist/index.cjs71.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 r=require("./index.cjs40.js"),i=require("./index.cjs41.js"),x=({description:e,descriptionClasses:s,errorMessage:t,errorClasses:u,isInvalidField:n})=>e&&!n?r.jsxRuntimeExports.jsx("div",{slot:"description",className:i.cn("text-xs leading-3 text-neutral-700",s),children:e}):t&&n?r.jsxRuntimeExports.jsx("div",{className:i.cn("text-xs leading-3 text-error-500",u),children:t}):null;exports.CaptionNumberField=x;
|
package/dist/index.cjs72.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.cjs40.js"),s=require("./index.cjs42.js"),n=require("react-aria-components"),i=require("./index.cjs41.js"),o=({isDisabled:r})=>{const t=i.cn("flex items-center justify-center",r?"text-neutral-600":"text-primary-500");return e.jsxRuntimeExports.jsxs("div",{className:"absolute inset-y-0 right-0 flex flex-col items-center justify-center space-y-0.5 pr-2",children:[e.jsxRuntimeExports.jsx(n.Button,{slot:"increment",className:t,children:e.jsxRuntimeExports.jsx(s.UpChevronIcon,{className:"size-3.5"})}),e.jsxRuntimeExports.jsx(n.Button,{slot:"decrement",className:t,children:e.jsxRuntimeExports.jsx(s.DownChevronIcon,{className:"size-3.5"})})]})};exports.StepperButton=o;
|
package/dist/index.cjs73.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),g=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs40.js"),g=require("./index.cjs42.js"),i=require("react-aria-components"),s=require("./index.cjs41.js"),m=require("./index.cjs47.js"),v=({ref:C,isOpen:o,setIsOpen:j,size:r,isDisabled:t,classNameButton:p,selectionMode:d,maxLengthTextOption:a,handleDeleteOptionSelected:h,placeholder:R})=>e.jsxRuntimeExports.jsxs(i.Button,{ref:C,className:({isFocusVisible:n,isHovered:x})=>s.cn(m.selectInputButtonVariants({size:r,isDisabled:t,isFocusVisible:n||o,isHovered:x}),p),onPress:()=>j(!o),children:[e.jsxRuntimeExports.jsx(i.SelectValue,{className:"flex flex-1 items-center gap-1 overflow-hidden",children:({selectedItems:n,selectedText:x,isPlaceholder:f})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:d==="multiple"&&n&&n.length>0?e.jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-1",children:n.filter(l=>l!=null).map(l=>{const c=l.label,E=c.length>a?`${c.slice(0,a)}...`:c,u=l.value;return e.jsxRuntimeExports.jsxs("div",{className:s.cn(m.selectInputBadgeVariants({size:r,isDisabled:t})),children:[e.jsxRuntimeExports.jsx("span",{children:E}),e.jsxRuntimeExports.jsx(i.Button,{className:s.cn("outline-none",t?"cursor-not-allowed":""),isDisabled:t,slot:null,onPress:()=>h(u),children:e.jsxRuntimeExports.jsx(g.CrossCircleIcon,{className:s.cn("text-primary-800",t?"text-neutral-600":"",r==="xs"||r==="sm"?"size-3":"size-4")})})]},u)})}):e.jsxRuntimeExports.jsx("span",{className:s.cn("flex-1 truncate text-left",f?"text-neutral-600":"",t?"text-neutral-700":""),children:x||R})})}),e.jsxRuntimeExports.jsx("svg",{className:`${o?"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=v;
|
package/dist/index.cjs74.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs40.js"),h=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs40.js"),h=require("./index.cjs41.js"),v=require("./index.cjs106.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.cjs76.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs107.js");require("./index.cjs108.js");const r=require("./index.cjs109.js");let e=r.__exports;var t=(e.__esModule?e:{default:e}).default;const l=o.getDefaultExportFromCjs(t);exports.default=l;
|
package/dist/index.cjs77.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs110.js"),t=require("@simpli-route/tailwind-preset"),s=require("./index.cjs111.js"),n=require("./index.cjs112.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.cjs79.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 m=require("./index.cjs40.js"),q=require("react"),y=require("react-aria"),v=require("./index.cjs41.js"),x=require("./index.cjs81.js"),T=i=>{const{className:r,item:n,orientation:a,state:e,id:c=void 0}=i,{key:s,rendered:o}=n,u=e.selectedKey===s,d=e.disabledKeys.has(s)||(e==null?void 0:e.isDisabled),t=q.useRef(null),{tabProps:l}=y.useTab({key:String(s)},e,t),b=v.cn(x.tabVariants({isActive:u,orientation:a,isDisabledTab:d}),r);return m.jsxRuntimeExports.jsx("div",{...l,ref:t,className:b,id:c,children:o})};exports.Tab=T;
|
package/dist/index.cjs8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs40.js"),h=require("@react-stately/color"),n=require("react"),l=require("react-aria-components"),T=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs40.js"),h=require("@react-stately/color"),n=require("react"),l=require("react-aria-components"),T=require("./index.cjs41.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.cjs80.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 i=require("./index.cjs40.js"),l=require("react"),u=require("react-aria"),d=require("./index.cjs41.js"),b=r=>{var t;const{className:n,state:e,...c}=r,s=l.useRef(null),{tabPanelProps:a}=u.useTabPanel(c,e,s),o=d.cn("",n);return i.jsxRuntimeExports.jsx("div",{...a,ref:s,className:o,children:(t=e.selectedItem)==null?void 0:t.props.children})};exports.TabPanel=b;
|
package/dist/index.cjs81.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 r=require("class-variance-authority"),e=r.cva("flex h-full max-h-12",{variants:{orientation:{horizontal:"flex-col",vertical:"flex-row"}}}),t=r.cva("group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",{variants:{isActive:{true:"bg-primary-50 text-primary-500 ",false:"text-primary-300 hover:text-primary-500 hover:border-primary-500"},isDisabledTab:{true:"",false:""},orientation:{horizontal:"border-b-2 border-transparent",vertical:"border-r-2 border-transparent"}},compoundVariants:[{isDisabledTab:!0,orientation:"horizontal",class:"border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isDisabledTab:!0,orientation:"vertical",class:"border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"},{isActive:!0,orientation:"horizontal",class:"border-b-2 border-primary-500"},{isActive:!1,orientation:"horizontal",class:"border-b-2 border-primary-300"},{isActive:!1,orientation:"vertical",class:"border-r-2 border-primary-200"},{isActive:!0,orientation:"vertical",class:"border-r-2 border-primary-500"}]});exports.tabVariants=t;exports.tabsVariants=e;
|