@simpli-route/apollo-ds 0.1.21 → 0.1.22
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/Select/TooltipSelect.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts +1 -1
- package/dist/components/Slider/SliderContainerTrack.d.ts +1 -1
- package/dist/components/Slider/types.d.ts +15 -0
- package/dist/components/Tooltip/types.d.ts +1 -0
- package/dist/components/Tooltip/variants.d.ts +0 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs15.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.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.cjs31.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.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.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.cjs9.js +1 -1
- package/dist/index.es10.js +3 -3
- package/dist/index.es11.js +7 -7
- package/dist/index.es12.js +4 -4
- package/dist/index.es13.js +2 -2
- package/dist/index.es15.js +29 -24
- package/dist/index.es18.js +4 -4
- package/dist/index.es19.js +3 -3
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +3 -3
- package/dist/index.es21.js +10 -10
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es27.js +22 -171
- package/dist/index.es28.js +148 -20
- package/dist/index.es29.js +40 -31
- package/dist/index.es3.js +8 -8
- package/dist/index.es30.js +31 -56
- package/dist/index.es31.js +57 -32
- package/dist/index.es32.js +32 -49
- package/dist/index.es33.js +33 -22
- package/dist/index.es34.js +31 -46
- package/dist/index.es35.js +44 -34
- package/dist/index.es36.js +40 -3
- package/dist/index.es37.js +3 -92
- package/dist/index.es38.js +87 -17
- package/dist/index.es39.js +22 -22
- package/dist/index.es4.js +1 -1
- package/dist/index.es42.js +17 -10
- package/dist/index.es43.js +10 -17
- package/dist/index.es44.js +137 -13
- package/dist/index.es45.js +20 -7
- package/dist/index.es46.js +99 -16
- package/dist/index.es47.js +11 -147
- package/dist/index.es48.js +13 -100
- package/dist/index.es49.js +10 -13
- package/dist/index.es5.js +1 -1
- package/dist/index.es50.js +11 -9
- package/dist/index.es51.js +7 -10
- package/dist/index.es52.js +17 -44
- package/dist/index.es53.js +149 -19
- package/dist/index.es54.js +10 -20
- package/dist/index.es55.js +10 -10
- package/dist/index.es56.js +45 -12
- package/dist/index.es57.js +18 -136
- package/dist/index.es58.js +20 -27
- package/dist/index.es62.js +21 -30
- package/dist/index.es63.js +4 -4
- package/dist/index.es64.js +9 -11
- package/dist/index.es65.js +7 -7
- package/dist/index.es66.js +15 -13
- package/dist/index.es67.js +8 -8
- package/dist/index.es68.js +8 -10
- package/dist/index.es69.js +10 -10
- package/dist/index.es7.js +1 -1
- package/dist/index.es70.js +30 -19
- package/dist/index.es9.js +1 -1
- 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 m=require("./index.cjs25.js"),q=require("react"),y=require("react-aria"),v=require("./index.cjs26.js"),x=require("./index.cjs56.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.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 i=require("./index.cjs25.js"),l=require("react"),u=require("react-aria"),d=require("./index.cjs26.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.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"),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;
|
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 t=require("./index.cjs25.js"),i=require("./index.cjs26.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.cjs58.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.cjs25.js"),s=require("./index.cjs26.js"),a=require("./index.cjs38.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.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 c=require("react"),e=c,n=({title:r,titleId:l,...t},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},t),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M21.336 3.153a.85.85 0 0 1 .211 1.183l-11.5 16.5a.85.85 0 0 1-1.357.05l-6.5-8a.85.85 0 1 1 1.32-1.072l5.788 7.124L20.153 3.364a.85.85 0 0 1 1.183-.211",clipRule:"evenodd"})),o=e.forwardRef(n);var i=o;exports.CheckIcon_1=i;
|
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 t=require("react"),e=t,n=({title:r,titleId:l,...o},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},o),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M2.253 2.253a.863.863 0 0 1 1.22 0L12 10.78l8.527-8.527a.863.863 0 1 1 1.22 1.22L13.22 12l8.527 8.527a.863.863 0 1 1-1.22 1.22L12 13.22l-8.527 8.527a.863.863 0 1 1-1.22-1.22L10.78 12 2.253 3.473a.863.863 0 0 1 0-1.22",clipRule:"evenodd"})),s=e.forwardRef(n);var c=s;exports.CrossIcon_1=c;
|
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 a=require("react"),e=a,l=({title:r,titleId:n,...o},t)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":n},o),r?e.createElement("title",{id:n},r):null,e.createElement("path",{d:"M22 7.838a.83.83 0 0 1-.242.592l-6.807 6.807a4.167 4.167 0 0 1-5.899 0L2.245 8.43a.837.837 0 0 1 1.183-1.184l6.807 6.808a2.5 2.5 0 0 0 3.533 0l6.807-6.808A.833.833 0 0 1 22 7.838"})),c=e.forwardRef(l);var i=c;exports.DownChevronIcon_1=i;
|
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 o=require("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M11.999 2C17.522 2 22 6.477 22 12s-4.478 10-10.001 10S2 17.523 2 12C1.999 6.478 6.476 2 11.999 2m0 1.5a8.501 8.501 0 1 0 0 17 8.501 8.501 0 0 0 0-17m-.004 6.999a.75.75 0 0 1 .744.648l.007.102.004 5.5a.75.75 0 0 1-1.494.103l-.006-.101-.004-5.501a.75.75 0 0 1 .75-.75zM12 7.002A1 1 0 1 1 12.063 9 1 1 0 0 1 12 7.002"})),c=e.forwardRef(l);var s=c;exports.InfoIcon_1=s;
|
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 l=require("react"),e=l,o=({title:r,titleId:n,...t},c)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:c,"aria-labelledby":n},t),r?e.createElement("title",{id:n},r):null,e.createElement("path",{fillRule:"evenodd",d:"M2 11.85c0-.47.35-.85.783-.85h18.434c.432 0 .783.38.783.85s-.35.85-.783.85H2.783c-.432 0-.783-.38-.783-.85",clipRule:"evenodd"})),a=e.forwardRef(o);var i=a;exports.MinusIcon_1=i;
|
package/dist/index.cjs67.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 n=require("react"),e=n,o=({title:r,titleId:l,...t},a)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":l},t),r?e.createElement("title",{id:l},r):null,e.createElement("path",{fillRule:"evenodd",d:"M11.885 2c.433 0 .783.35.783.783v8.434h8.549a.783.783 0 1 1 0 1.566h-8.549v8.434a.783.783 0 1 1-1.567 0v-8.434H2.783a.783.783 0 1 1 0-1.566h8.318V2.783c0-.432.351-.783.784-.783",clipRule:"evenodd"})),c=e.forwardRef(o);var s=c;exports.PlusIcon_1=s;
|
package/dist/index.cjs68.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),e=n,o=({title:r,titleId:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),e=n,o=({title:r,titleId:a,...t},c)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:c,"aria-labelledby":a},t),r?e.createElement("title",{id:a},r):null,e.createElement("path",{d:"m21.766 20.589-4.97-4.97a8.34 8.34 0 1 0-1.177 1.177l4.97 4.97a.833.833 0 0 0 1.177-1.177m-11.413-3.575a6.66 6.66 0 1 1 6.661-6.66 6.67 6.67 0 0 1-6.66 6.66Z"})),l=e.forwardRef(o);var i=l;exports.SearchIcon_1=i;
|
package/dist/index.cjs69.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("react"),e=o,l=({title:r,titleId:t,...a},n)=>e.createElement("svg",Object.assign({fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t},a),r?e.createElement("title",{id:t},r):null,e.createElement("path",{d:"M2 15.892a.83.83 0 0 1 .242-.591l6.807-6.807a4.166 4.166 0 0 1 5.899 0l6.807 6.806a.835.835 0 0 1-.912 1.365.8.8 0 0 1-.271-.181l-6.807-6.807a2.5 2.5 0 0 0-3.533 0l-6.807 6.806A.833.833 0 0 1 2 15.893Z"})),c=e.forwardRef(l);var i=c;exports.UpChevronIcon_1=i;
|
package/dist/index.cjs7.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs25.js"),j=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs25.js"),j=require("./index.cjs42.js"),b=require("react"),s=require("react-aria-components"),f=require("./index.cjs26.js"),g=require("./index.cjs21.js"),T=require("./index.cjs22.js");function q(r,o){const{labelClassName:a}=r,[c,u]=s.useContextProps(r,o,s.LabelContext),{children:n,tooltipText:l,tooltipSupportText:x,tooltipProps:e,isRequired:m=!1,...d}=c;if(!n)return null;const p=f.cn("flex select-none items-center text-sm leading-6 text-neutral-900",a);return t.jsxRuntimeExports.jsxs(s.Label,{className:p,...d,ref:u,children:[n,m?t.jsxRuntimeExports.jsx("span",{className:"ml-1 text-neutral-900",children:"*"}):null,l?t.jsxRuntimeExports.jsxs(T.TooltipTrigger,{delay:100,children:[t.jsxRuntimeExports.jsx(j.InfoIcon,{className:"ml-1 size-4 text-primary-600"}),t.jsxRuntimeExports.jsx(g.Tooltip,{placement:(e==null?void 0:e.placement)||"right",supportText:x,size:(e==null?void 0:e.size)||"sm",children:l})]}):null]})}const i=b.forwardRef(q);i.displayName="Label";exports.Label=i;
|
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 r=require("class-variance-authority"),e=r.cva("absolute inset-0 z-[1000px] overflow-hidden",{variants:{opacity:{sm:"bg-neutral-50/10",md:"bg-neutral-50/20",lg:"bg-neutral-50/30",xl:"bg-neutral-50/50","2xl":"bg-neutral-50/60","3xl":"bg-neutral-50/75"},fixed:{true:"fixed",false:""},center:{true:"flex items-center justify-center",false:""},blur:{sm:"backdrop-blur-sm",md:"backdrop-blur-md",lg:"backdrop-blur-lg",xl:"backdrop-blur-xl","2xl":"backdrop-blur-2xl","3xl":"backdrop-blur-3xl"}}});exports.overlayVariants=e;
|
package/dist/index.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs25.js"),p=require("react"),j=require("./index.cjs26.js"),m=require("./index.cjs8.js"),v=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs25.js"),p=require("react"),j=require("./index.cjs26.js"),m=require("./index.cjs8.js"),v=require("./index.cjs43.js"),b=(n,o)=>{const{className:i,visible:l,loaderProps:a={size:"lg"},overlayProps:d={opacity:"2xl"},zIndex:r=1e3,loader:s,keepMounted:u,blur:c=4,...x}=n,y=`calc(${r} + 1)`;return!u&&!l?null:e.jsxRuntimeExports.jsxs("div",{ref:o,className:j.cn("absolute inset-0 z-50 flex items-center justify-center rounded-sm",`backdrop-blur-[${c}px]`,"bg-white/50",i),style:{zIndex:r},...x,children:[e.jsxRuntimeExports.jsx("div",{style:{zIndex:y},children:s||e.jsxRuntimeExports.jsx(m.Loader,{...a})}),e.jsxRuntimeExports.jsx(v.Overlay,{zIndex:r,...d})]})},t=p.forwardRef(b);t.displayName="LoadingOverlay";exports.LoadingOverlay=t;
|
package/dist/index.es10.js
CHANGED
|
@@ -2,9 +2,9 @@ import { j as r } from "./index.es25.js";
|
|
|
2
2
|
import { NumberField as w, Group as B, Input as E } from "react-aria-components";
|
|
3
3
|
import { cn as l } from "./index.es26.js";
|
|
4
4
|
import { Label as G } from "./index.es7.js";
|
|
5
|
-
import { CaptionNumberField as S } from "./index.
|
|
6
|
-
import { StepperButton as V } from "./index.
|
|
7
|
-
import { inputNumberVariant as _ } from "./index.
|
|
5
|
+
import { CaptionNumberField as S } from "./index.es49.js";
|
|
6
|
+
import { StepperButton as V } from "./index.es50.js";
|
|
7
|
+
import { inputNumberVariant as _ } from "./index.es31.js";
|
|
8
8
|
const J = ({
|
|
9
9
|
size: o = "sm",
|
|
10
10
|
label: i,
|
package/dist/index.es11.js
CHANGED
|
@@ -3,28 +3,28 @@ 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 t } from "./index.es26.js";
|
|
6
|
-
import "./index.es27.js";
|
|
7
6
|
import "./index.es28.js";
|
|
8
|
-
import "react-aria";
|
|
9
7
|
import "./index.es29.js";
|
|
8
|
+
import "react-aria";
|
|
9
|
+
import "./index.es30.js";
|
|
10
10
|
import "./index.es6.js";
|
|
11
11
|
import { Label as M } from "./index.es7.js";
|
|
12
12
|
import "./index.es9.js";
|
|
13
|
-
import "./index.
|
|
14
|
-
import { progressBarVariants as S, progressFillVariants as $ } from "./index.
|
|
15
|
-
import "./index.es32.js";
|
|
13
|
+
import "./index.es31.js";
|
|
14
|
+
import { progressBarVariants as S, progressFillVariants as $ } from "./index.es32.js";
|
|
16
15
|
import "./index.es33.js";
|
|
17
16
|
import "./index.es34.js";
|
|
18
17
|
import "./index.es35.js";
|
|
18
|
+
import "./index.es36.js";
|
|
19
19
|
import { Tooltip as k } from "./index.es21.js";
|
|
20
20
|
import { TooltipTrigger as z } from "./index.es22.js";
|
|
21
21
|
import "./index.es16.js";
|
|
22
22
|
import "./index.es17.js";
|
|
23
23
|
import "./index.es18.js";
|
|
24
|
-
import "./index.
|
|
24
|
+
import "./index.es38.js";
|
|
25
25
|
import "./index.es20.js";
|
|
26
26
|
import { Text as d } from "./index.es23.js";
|
|
27
|
-
import "./index.
|
|
27
|
+
import "./index.es39.js";
|
|
28
28
|
const ns = (f) => {
|
|
29
29
|
const {
|
|
30
30
|
className: h,
|
package/dist/index.es12.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as s } from "./index.es25.js";
|
|
2
|
-
import { SearchIcon as P, CrossIcon as y } from "./index.
|
|
2
|
+
import { SearchIcon as P, CrossIcon as y } from "./index.es42.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.es26.js";
|
|
6
|
-
import { useDebouncedValue as _ } from "./index.
|
|
6
|
+
import { useDebouncedValue as _ } from "./index.es48.js";
|
|
7
7
|
import { IconButton as T } from "./index.es6.js";
|
|
8
8
|
import { Label as $ } from "./index.es7.js";
|
|
9
|
-
import { inputVariants as k } from "./index.
|
|
10
|
-
import { popoverVariants as q, searchOptionVariants as A } from "./index.
|
|
9
|
+
import { inputVariants as k } from "./index.es33.js";
|
|
10
|
+
import { popoverVariants as q, searchOptionVariants as A } from "./index.es34.js";
|
|
11
11
|
const se = (i) => {
|
|
12
12
|
const {
|
|
13
13
|
label: n,
|
package/dist/index.es13.js
CHANGED
|
@@ -3,9 +3,9 @@ import { useState as f, useRef as C, useEffect as I } from "react";
|
|
|
3
3
|
import { Select as S, Popover as tt, ListBox as st } from "react-aria-components";
|
|
4
4
|
import { cn as P } from "./index.es26.js";
|
|
5
5
|
import { Label as it } from "./index.es7.js";
|
|
6
|
-
import { SelectContent as rt } from "./index.
|
|
6
|
+
import { SelectContent as rt } from "./index.es44.js";
|
|
7
7
|
import { SelectItem as lt } from "./index.es14.js";
|
|
8
|
-
import { TooltipSelect as ot } from "./index.
|
|
8
|
+
import { TooltipSelect as ot } from "./index.es45.js";
|
|
9
9
|
const b = "all-select-option", wt = ({
|
|
10
10
|
mode: e = "single",
|
|
11
11
|
keyLabelName: V,
|
package/dist/index.es15.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as m } from "./index.es25.js";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Slider as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { SliderContainerTrack as
|
|
6
|
-
import { validateMinDistance as
|
|
7
|
-
const
|
|
2
|
+
import { useState as q, useEffect as x } from "react";
|
|
3
|
+
import { Slider as z, SliderTrack as B } from "react-aria-components";
|
|
4
|
+
import { cn as F } from "./index.es26.js";
|
|
5
|
+
import { SliderContainerTrack as G } from "./index.es46.js";
|
|
6
|
+
import { validateMinDistance as H } from "./index.es47.js";
|
|
7
|
+
const U = ({
|
|
8
8
|
type: r = "single",
|
|
9
9
|
showTypeValue: A = "default",
|
|
10
10
|
positionTooltip: S = "top",
|
|
@@ -19,47 +19,52 @@ const Q = ({
|
|
|
19
19
|
classNameUnfilled: N,
|
|
20
20
|
classNameThumb: E,
|
|
21
21
|
suffix: M = "%",
|
|
22
|
-
|
|
22
|
+
suffixRangeCustom: P = {
|
|
23
|
+
left: "",
|
|
24
|
+
right: ""
|
|
25
|
+
},
|
|
26
|
+
step: R = 1,
|
|
23
27
|
minDistance: d = 2,
|
|
24
|
-
|
|
28
|
+
...$
|
|
25
29
|
}) => {
|
|
26
|
-
const [l,
|
|
30
|
+
const [l, b] = q(r);
|
|
27
31
|
return x(() => {
|
|
28
32
|
if (r === "range" && Array.isArray(f)) {
|
|
29
|
-
const [s,
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
(
|
|
33
|
+
const [s, t] = f;
|
|
34
|
+
if (t - s < d) {
|
|
35
|
+
const c = [s, s + d];
|
|
36
|
+
(c[0] !== f[0] || c[1] !== f[1]) && (i == null || i(c));
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
}, [r, f, i, d]), x(() => {
|
|
36
|
-
l !== r && (
|
|
40
|
+
l !== r && (b(r), i == null || i(r === "range" ? [0, 5] : 0));
|
|
37
41
|
}, [r, i, l]), /* @__PURE__ */ m.jsx("div", { className: "flex w-full flex-col py-4", children: /* @__PURE__ */ m.jsx(
|
|
38
|
-
|
|
42
|
+
z,
|
|
39
43
|
{
|
|
40
44
|
value: f,
|
|
41
|
-
step:
|
|
45
|
+
step: R,
|
|
42
46
|
maxValue: T,
|
|
43
47
|
minValue: k,
|
|
44
|
-
className:
|
|
48
|
+
className: F("w-full", p),
|
|
45
49
|
onChange: (s) => {
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
const
|
|
50
|
+
const t = s;
|
|
51
|
+
if (t !== void 0) {
|
|
52
|
+
const c = Array.isArray(t), o = r === "range" && c ? H(t, r, d) : t;
|
|
49
53
|
i == null || i(
|
|
50
54
|
r === "range" ? o : Array.isArray(o) ? o[0] || 0 : o
|
|
51
55
|
);
|
|
52
56
|
}
|
|
53
57
|
},
|
|
54
|
-
|
|
55
|
-
children: /* @__PURE__ */ m.jsx(
|
|
56
|
-
|
|
58
|
+
...$,
|
|
59
|
+
children: /* @__PURE__ */ m.jsx(B, { className: "relative h-3 w-full cursor-pointer", children: ({ state: s }) => /* @__PURE__ */ m.jsx(
|
|
60
|
+
G,
|
|
57
61
|
{
|
|
58
62
|
state: s,
|
|
59
63
|
type: r,
|
|
60
64
|
showTypeValue: A,
|
|
61
65
|
isHiddenValue: w,
|
|
62
66
|
suffix: M,
|
|
67
|
+
suffixRangeCustom: P,
|
|
63
68
|
classNameFilled: v,
|
|
64
69
|
classNameUnfilled: N,
|
|
65
70
|
modeTooltip: j,
|
|
@@ -71,5 +76,5 @@ const Q = ({
|
|
|
71
76
|
) });
|
|
72
77
|
};
|
|
73
78
|
export {
|
|
74
|
-
|
|
79
|
+
U as Slider
|
|
75
80
|
};
|
package/dist/index.es18.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as n } from "./index.es25.js";
|
|
2
|
-
import { CheckIcon as I } from "./index.
|
|
2
|
+
import { CheckIcon as I } from "./index.es42.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.es51.js";
|
|
7
|
+
import B from "./index.es52.js";
|
|
8
8
|
import { cn as H } from "./index.es26.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.es53.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.es19.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as o } from "./index.es25.js";
|
|
2
2
|
import { Switch as u } from "react-aria-components";
|
|
3
3
|
import { cn as c } from "./index.es26.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.es57.js";
|
|
5
|
+
import { SwitchIndicator as v } from "./index.es58.js";
|
|
6
|
+
import { switchVariants as b } from "./index.es38.js";
|
|
7
7
|
const E = ({
|
|
8
8
|
children: f,
|
|
9
9
|
label: m,
|
package/dist/index.es2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as m } from "./index.es25.js";
|
|
2
2
|
import { useState as g } from "react";
|
|
3
3
|
import { cn as j } from "./index.es26.js";
|
|
4
|
-
import { AccordionItem as h } from "./index.
|
|
4
|
+
import { AccordionItem as h } from "./index.es27.js";
|
|
5
5
|
const C = ({
|
|
6
6
|
items: a,
|
|
7
7
|
accordionClassName: e,
|
package/dist/index.es20.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.es26.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.es54.js";
|
|
7
|
+
import { TabPanel as h } from "./index.es55.js";
|
|
8
|
+
import { tabsVariants as T } from "./index.es56.js";
|
|
9
9
|
const v = (a) => {
|
|
10
10
|
var l;
|
|
11
11
|
const {
|
package/dist/index.es21.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as s } from "./index.es25.js";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTooltip as
|
|
2
|
+
import { forwardRef as f, useContext as u } from "react";
|
|
3
|
+
import { useTooltip as T, mergeProps as h } from "react-aria";
|
|
4
4
|
import { cn as e } from "./index.es26.js";
|
|
5
|
-
import { TooltipContext as
|
|
6
|
-
import { tooltipVariants as
|
|
7
|
-
const
|
|
8
|
-
const { placement:
|
|
9
|
-
return /* @__PURE__ */ s.jsxs("span", { className:
|
|
10
|
-
|
|
5
|
+
import { TooltipContext as j } from "./index.es37.js";
|
|
6
|
+
import { tooltipVariants as N } from "./index.es36.js";
|
|
7
|
+
const P = f((p, i) => {
|
|
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
|
+
return /* @__PURE__ */ s.jsxs("span", { className: d, ...h(r, x, c), ref: i, children: [
|
|
10
|
+
a,
|
|
11
11
|
t ? /* @__PURE__ */ s.jsx(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
@@ -20,7 +20,7 @@ const C = u((p, i) => {
|
|
|
20
20
|
) : null
|
|
21
21
|
] });
|
|
22
22
|
});
|
|
23
|
-
|
|
23
|
+
P.displayName = "Tooltip";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
P as Tooltip
|
|
26
26
|
};
|
package/dist/index.es22.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useRef as a, Children as f, cloneElement as u } from "react";
|
|
|
3
3
|
import { useTooltipTrigger as T } from "react-aria";
|
|
4
4
|
import { useTooltipTriggerState as h } from "react-stately";
|
|
5
5
|
import { cn as x } from "./index.es26.js";
|
|
6
|
-
import { TooltipContext as d } from "./index.
|
|
6
|
+
import { TooltipContext as d } from "./index.es37.js";
|
|
7
7
|
const w = (e) => {
|
|
8
8
|
const { children: r, isDisabled: s, trigger: l, className: n } = e, t = h(e), o = a(null), { triggerProps: g, tooltipProps: m } = T({ isDisabled: s, trigger: l }, t, o), [c, p] = f.toArray(r);
|
|
9
9
|
if (!Array.isArray(r) || r.length > 2)
|
package/dist/index.es23.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es25.js";
|
|
2
2
|
import { cn as n } from "./index.es26.js";
|
|
3
|
-
import { textVariants as a } from "./index.
|
|
3
|
+
import { textVariants as a } from "./index.es39.js";
|
|
4
4
|
function x(t) {
|
|
5
5
|
const { children: s, type: o = "body", className: r } = t, e = n(a({ type: o }), r);
|
|
6
6
|
return /* @__PURE__ */ m.jsx("p", { className: e, children: s });
|
package/dist/index.es24.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as m } from "./index.es25.js";
|
|
2
2
|
import { cn as c } from "./index.es26.js";
|
|
3
|
-
import { titleVariants as l } from "./index.
|
|
3
|
+
import { titleVariants as l } from "./index.es39.js";
|
|
4
4
|
function j(s) {
|
|
5
5
|
const { children: e, type: t = "h1", size: r = t, className: i, ...o } = s, n = t, a = c(l({ size: r }), i);
|
|
6
6
|
return /* @__PURE__ */ m.jsx(n, { className: a, ...o, children: e });
|