@simpli-route/apollo-ds 0.1.58 → 0.1.59
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/SearchField/SearchFieldIconContainer.d.ts +1 -1
- package/dist/components/SearchField/SearchFieldPopover.d.ts +7 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.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.cjs31.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.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.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.cjs75.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs78.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.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.es10.js +4 -4
- package/dist/index.es11.js +5 -5
- package/dist/index.es111.js +5 -2
- package/dist/index.es112.js +4 -2
- package/dist/index.es113.js +3 -57
- package/dist/index.es114.js +15 -12
- package/dist/index.es115.js +2 -4
- package/dist/index.es116.js +2 -3
- package/dist/index.es117.js +4 -19
- package/dist/index.es118.js +28 -6
- package/dist/index.es119.js +4 -28
- package/dist/index.es12.js +3 -3
- package/dist/index.es120.js +8 -2
- package/dist/index.es121.js +340 -8
- package/dist/index.es122.js +162 -336
- package/dist/index.es123.js +52 -161
- package/dist/index.es13.js +3 -3
- package/dist/index.es14.js +2 -2
- package/dist/index.es15.js +2 -2
- package/dist/index.es16.js +2 -2
- package/dist/index.es17.js +3 -3
- package/dist/index.es18.js +3 -3
- package/dist/index.es19.js +3 -3
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +4 -4
- package/dist/index.es21.js +2 -2
- package/dist/index.es22.js +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es24.js +2 -2
- package/dist/index.es25.js +4 -4
- package/dist/index.es26.js +4 -4
- package/dist/index.es27.js +18 -18
- package/dist/index.es28.js +3 -3
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +4 -4
- package/dist/index.es31.js +3 -3
- package/dist/index.es32.js +3 -3
- package/dist/index.es35.js +5 -5
- package/dist/index.es36.js +4 -4
- package/dist/index.es37.js +4 -4
- package/dist/index.es38.js +3 -3
- package/dist/index.es39.js +2 -2
- package/dist/index.es4.js +2 -2
- package/dist/index.es40.js +2 -2
- package/dist/index.es41.js +2 -2
- package/dist/index.es43.js +6 -31
- package/dist/index.es44.js +31 -6
- package/dist/index.es45.js +29 -44
- package/dist/index.es46.js +20 -148
- package/dist/index.es47.js +18 -43
- package/dist/index.es48.js +16 -33
- package/dist/index.es49.js +15 -80
- package/dist/index.es50.js +77 -128
- package/dist/index.es51.js +45 -48
- package/dist/index.es52.js +130 -3
- package/dist/index.es53.js +69 -13
- package/dist/index.es54.js +147 -134
- package/dist/index.es55.js +14 -116
- package/dist/index.es56.js +74 -72
- package/dist/index.es57.js +29 -98
- package/dist/index.es58.js +120 -24
- package/dist/index.es59.js +114 -7
- package/dist/index.es6.js +3 -3
- package/dist/index.es60.js +27 -110
- package/dist/index.es61.js +153 -41
- package/dist/index.es62.js +3 -160
- package/dist/index.es63.js +123 -65
- package/dist/index.es64.js +106 -14
- package/dist/index.es65.js +34 -10
- package/dist/index.es66.js +8 -12
- package/dist/index.es67.js +59 -10
- package/dist/index.es68.js +159 -29
- package/dist/index.es69.js +89 -76
- package/dist/index.es7.js +20 -20
- package/dist/index.es70.js +21 -17
- package/dist/index.es71.js +10 -17
- package/dist/index.es72.js +10 -16
- package/dist/index.es73.js +12 -163
- package/dist/index.es75.js +51 -49
- package/dist/index.es76.js +12 -23
- package/dist/index.es78.js +42 -12
- package/dist/index.es8.js +3 -3
- package/dist/index.es80.js +7 -78
- package/dist/index.es81.js +16 -99
- package/dist/index.es82.js +147 -11
- package/dist/index.es83.js +10 -19
- package/dist/index.es84.js +10 -20
- package/dist/index.es85.js +45 -7
- package/dist/index.es86.js +39 -17
- package/dist/index.es87.js +19 -149
- package/dist/index.es88.js +20 -10
- package/dist/index.es89.js +101 -10
- package/dist/index.es9.js +2 -2
- package/dist/index.es90.js +11 -43
- package/dist/index.es91.js +74 -36
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/style.css +8 -24
- package/package.json +1 -1
package/dist/index.cjs73.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.cjs42.js"),s=require("./index.cjs44.js"),n=require("react-aria-components"),i=require("./index.cjs43.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.cjs75.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs42.js"),m=require("react"),V=require("react-aria-components"),$=require("./index.cjs74.js"),k=require("./index.cjs4.js");require("./index.cjs5.js");require("./index.cjs15.js");const G=require("./index.cjs16.js"),J=require("./index.cjs76.js"),Q=require("./index.cjs77.js"),U=require("./index.cjs78.js"),E=require("./index.cjs79.js"),W=require("./index.cjs67.js"),X=p=>{const{label:b,onReset:x,placeholder:F,isDisabled:u,delay:j,searchIcon:L,clearIcon:y,size:R,description:D,inputValue:o,isInvalid:S,errorMessage:M,items:i,noResultsText:P,selectedValues:C,onSelectedValuesChange:a,onInputChange:d,...v}=E.getSearchFieldDefaultProps(p),[B,f]=m.useState([]),h=C!==void 0,t=h?C:B,n=$.useDebouncedValue(o,j??j),z=!!(n&&x),N=e=>{const s=t.filter(r=>r!==e);h||f(s),a&&a(s)},w=e=>{if(!t.includes(e)){const s=[...t,e];h||f(s),a&&a(s)}},O=()=>{x&&x(),h||f([]),a&&a([])},T=e=>{const s=i.find(r=>r.id===e);s&&!t.includes(s.label)&&(w(s.label),d&&d(""))},A=e=>{if(e.key!=="Enter"||!(o!=null&&o.trim()))return;const s=o.trim(),r=i.filter(c=>c.label.toLowerCase().includes(s.toLowerCase())&&!t.includes(c.label));r.length===1&&(e.preventDefault(),e.stopPropagation(),w(r[0].label),d&&d(""))},H=m.useMemo(()=>{const e=[...t];return n&&e.push(n),i.filter(s=>{const r=s.label.toLowerCase();return e.some(c=>r.includes(c.toLowerCase()))}).map(s=>{const r=n?s.label.toLowerCase().includes(n.toLowerCase()):!1,c=n?E.getHighlightedParts(s.label,n):[{text:s.label,highlight:!1}];return{...s,shouldHighlight:r,highlightedParts:c}})},[n,i,t]),K=m.useMemo(()=>n?!i.some(e=>e.label.toLowerCase().includes(n.toLowerCase())&&!t.includes(e.label)):!1,[n,i,t]),g=t.length>0,I=R??R,q=m.useRef(null);return l.jsxRuntimeExports.jsxs(V.ComboBox,{inputValue:o,isDisabled:u,isInvalid:S,allowsEmptyCollection:!0,onInputChange:d,...v,children:[b&&l.jsxRuntimeExports.jsx(G.Label,{children:b}),l.jsxRuntimeExports.jsxs("div",{ref:q,"data-testid":"multi-search-field-container",className:W.multiSearchFieldContainerVariants({size:I,isDisabled:u}),children:[g&&l.jsxRuntimeExports.jsx(l.jsxRuntimeExports.Fragment,{children:t.map(e=>l.jsxRuntimeExports.jsx(k.Badge,{label:e,size:I,isDisabled:u,onDelete:()=>N(e)},e))}),l.jsxRuntimeExports.jsx(V.Input,{placeholder:g?void 0:F,className:"min-w-[120px] flex-1 border-0 bg-transparent p-0 outline-none focus:ring-0",disabled:u,readOnly:p.isReadOnly,onKeyDown:A}),l.jsxRuntimeExports.jsx(J.SearchFieldIconContainer,{showClearIcon:z,hasBadges:g,clearIcon:y,searchIcon:L,isDisabled:u,onReset:O})]}),l.jsxRuntimeExports.jsx(Q.SearchFieldMessages,{description:D,isInvalid:S,errorMessage:M}),l.jsxRuntimeExports.jsx(U.SearchFieldPopover,{triggerRef:q,hasNoResults:K,noResultsText:P,items:H,onItemSelect:T})]})};exports.MultiSearchField=X;
|
package/dist/index.cjs76.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs42.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs42.js"),c=require("./index.cjs43.js"),i=require("./index.cjs111.js"),a=require("./index.cjs112.js"),u=({showClearIcon:t,clearIcon:r,searchIcon:o,isDisabled:s,onReset:n})=>e.jsxRuntimeExports.jsx("span",{className:c.cn("absolute right-2 top-1/2 flex -translate-y-1/2 items-center"),children:t&&n?e.jsxRuntimeExports.jsx(i.ClearIconButton,{icon:r,isDisabled:s,onPress:n}):e.jsxRuntimeExports.jsx(a.SearchIcon,{icon:o})});exports.SearchFieldIconContainer=u;
|
package/dist/index.cjs78.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.cjs42.js"),n=require("react"),p=require("react-aria-components"),v=require("./index.cjs113.js"),x=require("./index.cjs114.js"),h=require("./index.cjs67.js"),l=({triggerRef:e,hasNoResults:i,noResultsText:c,items:u,onItemSelect:d})=>{const[t,a]=n.useState(void 0);return n.useEffect(()=>{if(!(e!=null&&e.current))return;const r=()=>{if(e.current){const s=e.current.offsetWidth;a(s)}};if(r(),typeof ResizeObserver<"u"){const s=new ResizeObserver(()=>{r()});return e.current&&s.observe(e.current),()=>{s.disconnect()}}},[e]),o.jsxRuntimeExports.jsx(p.Popover,{className:h.popoverVariants(),triggerRef:e,style:t!==void 0?{width:`${t}px`,minWidth:`${t}px`}:void 0,children:i?o.jsxRuntimeExports.jsx(v.NoResultsMessage,{text:c}):o.jsxRuntimeExports.jsx(x.SearchListBox,{items:u,onItemSelect:d})})};exports.SearchFieldPopover=l;
|
package/dist/index.cjs8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs42.js"),j=require("react-aria-components"),x=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs42.js"),j=require("react-aria-components"),x=require("./index.cjs43.js"),p=require("./index.cjs45.js"),b=require("./index.cjs46.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.cjs80.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./index.cjs117.js");require("./index.cjs118.js");const r=require("./index.cjs119.js");let e=r.__exports;var t=(e.__esModule?e:{default:e}).default;const l=o.getDefaultExportFromCjs(t);exports.default=l;
|
package/dist/index.cjs81.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.cjs120.js"),t=require("@simpli-route/tailwind-preset"),s=require("./index.cjs121.js"),n=require("./index.cjs122.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.cjs82.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("class-variance-authority"),e=[{state:"pending",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-neutral-600"},{state:"inProgress",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-blue-600"},{state:"completed",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-success-600"},{state:"error",isHovered:!0,isDisabled:!1,isPressed:!1,class:"bg-error-600"}],t=[{isDisabled:!0,isPressed:!1,class:"bg-neutral-600"},{isDisabled:!1,isPressed:!1,state:"pending",class:"bg-neutral-500"},{isDisabled:!1,isPressed:!1,state:"inProgress",class:"bg-blue-500"},{isDisabled:!1,isPressed:!1,state:"completed",class:"bg-success-500"},{isDisabled:!1,isPressed:!1,state:"error",class:"bg-error-500"}],a=[{isPressed:!0,isDisabled:!1,state:"pending",class:"bg-neutral-900"},{isPressed:!0,isDisabled:!1,state:"inProgress",class:"bg-blue-800"},{isPressed:!0,isDisabled:!1,state:"completed",class:"bg-success-800"},{isPressed:!0,isDisabled:!1,state:"error",class:"bg-error-800"}],r=s.cva("flex shrink-0 items-center justify-center rounded-full focus-visible:outline-0 focus:outline-0",{variants:{size:{xs:"size-8",md:"size-[50px]"},state:{pending:"",inProgress:"",completed:"",error:""},isDisabled:{true:"",false:""},isHovered:{true:"",false:""},isPressed:{true:"",false:""}},compoundVariants:[...e,...t,...a]}),i=s.cva("leading-5 tracking-wide font-normal text-black",{variants:{size:{xs:"text-sm",md:"text-md"}}}),l=s.cva("flex items-center justify-center",{variants:{size:{xs:"text-base size-4",md:"text-lg size-[18px]"},state:{pending:"text-neutral-50",inProgress:"text-neutral-50",completed:"text-neutral-50",error:"text-neutral-50"},isHovered:{true:"",false:""}},compoundVariants:[{state:"error",isHovered:!0,class:"text-error-600"}]});exports.iconVariants=l;exports.labelVariants=i;exports.stepVariants=r;
|
package/dist/index.cjs83.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.cjs42.js"),q=require("react"),y=require("react-aria"),v=require("./index.cjs43.js"),x=require("./index.cjs85.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.cjs84.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.cjs42.js"),l=require("react"),u=require("react-aria"),d=require("./index.cjs43.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.cjs85.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
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.cjs86.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t='after:content-[""] after:absolute after:border-8 after:border-x-transparent',o=`${t} after:left-4 after:top-[100%] after:border-b-transparent`,a=`${t} after:left-1/2 after:top-[100%] after:-translate-x-1/2 after:border-b-transparent`,b=`${t} after:right-4 after:top-[100%] after:border-b-transparent`,l=`${t} after:left-4 after:bottom-[100%] after:border-t-transparent`,n=`${t} after:left-1/2 after:bottom-[100%] after:-translate-x-1/2 after:border-t-transparent`,f=`${t} after:right-4 after:bottom-[100%] after:border-t-transparent`,r='before:content-[""] before:absolute before:top-1/2 before:-translate-y-1/2 before:border-8 before:border-y-transparent',s=`${r} before:right-[100%] before:border-l-transparent`,p=`${r} before:left-[100%] before:border-r-transparent`,d=e.cva("absolute z-20 w-max max-w-[250px] whitespace-normal break-words rounded-lg transition duration-150 ease-in-out shadow-[0px_2px_4px_-2px_#22242A0F,0px_4px_8px_-2px_#22242A1A] py-2 px-3",{variants:{mode:{light:"bg-blue-50 text-neutral-900 after:border-t-blue-50 after:border-b-blue-50 before:border-r-blue-50 before:border-l-blue-50",dark:"bg-blue-900 text-blue-50 after:border-t-blue-900 after:border-b-blue-900 before:border-r-blue-900 before:border-l-blue-900"},hasSupportText:{true:"",false:""},placement:{none:"bottom-full left-1/2 mb-3 -translate-x-1/2","top-start":`bottom-full left-0 mb-3 ${o}`,top:`bottom-full left-1/2 mb-3 -translate-x-1/2 ${a}`,"top-end":`bottom-full right-0 mb-3 ${b}`,right:`left-full top-1/2 ml-3 -translate-y-1/2 ${s}`,"bottom-start":`left-0 top-full mt-3 ${l}`,bottom:`left-1/2 top-full mt-3 -translate-x-1/2 ${n}`,"bottom-end":`right-0 top-full mt-3 ${f}`,left:`right-full top-1/2 mr-3 -translate-y-1/2 ${p}`}},compoundVariants:[{hasSupportText:!0,mode:"dark",class:"text-[16px] text-blue-50 font-semibold leading-5"},{hasSupportText:!0,mode:"light",class:"text-[16px] text-neutral-900 font-semibold leading-5"}]});exports.tooltipVariants=d;
|
package/dist/index.cjs87.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.cjs42.js"),i=require("./index.cjs43.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.cjs88.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.cjs42.js"),s=require("./index.cjs43.js"),a=require("./index.cjs69.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.cjs89.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs42.js"),h=require("./index.cjs43.js"),v=require("./index.cjs123.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.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs42.js"),i=require("react-aria"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs42.js"),i=require("react-aria"),f=require("./index.cjs43.js"),q=require("./index.cjs60.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.cjs90.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(i,f,r=1)=>{if(f==="range"&&Array.isArray(i)&&i.length===2){const[t,e]=i;if(e-t<r){if(t>e-r)return[e-r,e];if(e<t+r)return[t,t+r]}}return i};exports.validateMinDistance=o;
|
package/dist/index.cjs91.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.cjs42.js"),o=require("react-aria-components"),a=require("./index.cjs43.js"),f=require("./index.cjs4.js");require("./index.cjs5.js");const R=require("./index.cjs51.js"),E=({ref:u,isOpen:r,setIsOpen:c,size:x,isDisabled:s,classNameButton:C,selectionMode:m,maxLengthTextOption:j,handleDeleteOptionSelected:p,placeholder:d})=>e.jsxRuntimeExports.jsxs(o.Button,{ref:u,className:({isFocusVisible:t,isHovered:l})=>a.cn(R.selectInputButtonVariants({size:x,isDisabled:s,isFocusVisible:t||r,isHovered:l}),C),onPress:()=>c(!r),children:[e.jsxRuntimeExports.jsx(o.SelectValue,{className:"flex flex-1 items-center gap-1 overflow-hidden",children:({selectedItems:t,selectedText:l,isPlaceholder:h})=>e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:m==="multiple"&&t&&t.length>0?e.jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-1",children:t.filter(n=>n!=null).map(n=>{const g=n.label,i=n.value;return e.jsxRuntimeExports.jsx(f.Badge,{label:g,size:x,isDisabled:s,maxLength:j,onDelete:()=>p(i)},i)})}):e.jsxRuntimeExports.jsx("span",{className:a.cn("flex-1 truncate text-left",h?"text-neutral-600":"",s?"text-neutral-700":""),children:l||d})})}),e.jsxRuntimeExports.jsx("svg",{className:`${r?"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=E;
|
package/dist/index.cjs93.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs115.js"),R=require("react");/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
package/dist/index.cjs94.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs116.js"),tr=require("react");/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
package/dist/index.es10.js
CHANGED
|
@@ -2,10 +2,10 @@ import { j as r } from "./index.es42.js";
|
|
|
2
2
|
import { parseColor as h } from "@react-stately/color";
|
|
3
3
|
import { useState as a, useEffect as w } from "react";
|
|
4
4
|
import { ColorPicker as L, Label as R, DialogTrigger as T, Button as W, ColorSwatch as $, Popover as q, Dialog as G } from "react-aria-components";
|
|
5
|
-
import { cn as J } from "./index.
|
|
6
|
-
import { ColorArea as K } from "./index.
|
|
7
|
-
import { ColorField as M } from "./index.
|
|
8
|
-
import { ColorSlider as Q } from "./index.
|
|
5
|
+
import { cn as J } from "./index.es43.js";
|
|
6
|
+
import { ColorArea as K } from "./index.es47.js";
|
|
7
|
+
import { ColorField as M } from "./index.es48.js";
|
|
8
|
+
import { ColorSlider as Q } from "./index.es49.js";
|
|
9
9
|
const ne = (v) => {
|
|
10
10
|
const {
|
|
11
11
|
value: l,
|
package/dist/index.es11.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as e } from "./index.es42.js";
|
|
2
|
-
import { OptionsIcon as J } from "./index.
|
|
2
|
+
import { OptionsIcon as J } from "./index.es44.js";
|
|
3
3
|
import { useState as N } from "react";
|
|
4
4
|
import { useFilter as K, Button as Q, Select as T, Popover as U } from "react-aria-components";
|
|
5
|
-
import { cn as p } from "./index.
|
|
5
|
+
import { cn as p } from "./index.es43.js";
|
|
6
6
|
import { Loader as W } from "./index.es23.js";
|
|
7
|
-
import { PopoverContent as X } from "./index.
|
|
8
|
-
import { selectInputPopoverVariants as Y } from "./index.
|
|
9
|
-
import { filterButtonVariants as Z, filterButtonBadgeVariants as _ } from "./index.
|
|
7
|
+
import { PopoverContent as X } from "./index.es50.js";
|
|
8
|
+
import { selectInputPopoverVariants as Y } from "./index.es51.js";
|
|
9
|
+
import { filterButtonVariants as Z, filterButtonBadgeVariants as _ } from "./index.es52.js";
|
|
10
10
|
const $ = ({
|
|
11
11
|
renderPosition: t,
|
|
12
12
|
leftIcon: f,
|
package/dist/index.es111.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { j as t } from "./index.es42.js";
|
|
2
|
+
import { CrossIcon as s } from "./index.es44.js";
|
|
3
|
+
import { IconButton as e } from "./index.es14.js";
|
|
4
|
+
const m = ({ icon: o, onPress: n, isDisabled: r }) => /* @__PURE__ */ t.jsx(e, { intent: "minimal", size: "xxs", "data-testid": "clear-icon-button", isDisabled: r, onPress: n, children: o ?? /* @__PURE__ */ t.jsx(s, { className: "size-5 text-neutral-700", "data-testid": "clear-icon" }) });
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
m as ClearIconButton
|
|
4
7
|
};
|
package/dist/index.es112.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { j as t } from "./index.es42.js";
|
|
2
|
+
import { SearchIcon as e } from "./index.es44.js";
|
|
3
|
+
const s = ({ icon: r }) => r ?? /* @__PURE__ */ t.jsx(e, { className: "size-6 text-neutral-700", "data-testid": "search-icon" });
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
s as SearchIcon
|
|
4
6
|
};
|
package/dist/index.es113.js
CHANGED
|
@@ -1,59 +1,5 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
|
|
3
|
-
import { cn as i } from "./index.es44.js";
|
|
4
|
-
import { Tooltip as c } from "./index.es38.js";
|
|
5
|
-
import { TooltipTrigger as d } from "./index.es39.js";
|
|
6
|
-
const y = ({
|
|
7
|
-
index: o,
|
|
8
|
-
valuePercent: n,
|
|
9
|
-
value: a,
|
|
10
|
-
suffix: p,
|
|
11
|
-
modeTooltip: g,
|
|
12
|
-
positionTooltip: t,
|
|
13
|
-
showTypeValue: s,
|
|
14
|
-
classNameThumb: e,
|
|
15
|
-
isHiddenValue: l
|
|
16
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
17
|
-
"div",
|
|
18
|
-
{
|
|
19
|
-
className: i("absolute", s === "tooltip" && !l ? "top-[-6px]" : "top-1/2"),
|
|
20
|
-
style: { left: `${n * 100}%`, transform: "translate(-50%, -50%)" },
|
|
21
|
-
children: s === "tooltip" && !l ? /* @__PURE__ */ r.jsxs(d, { closeDelay: 100, delay: 100, children: [
|
|
22
|
-
/* @__PURE__ */ r.jsx("div", { children: /* @__PURE__ */ r.jsx(
|
|
23
|
-
m,
|
|
24
|
-
{
|
|
25
|
-
index: o,
|
|
26
|
-
className: i(
|
|
27
|
-
"dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
|
|
28
|
-
e
|
|
29
|
-
)
|
|
30
|
-
}
|
|
31
|
-
) }),
|
|
32
|
-
/* @__PURE__ */ r.jsxs(
|
|
33
|
-
c,
|
|
34
|
-
{
|
|
35
|
-
mode: g,
|
|
36
|
-
placement: t,
|
|
37
|
-
size: "sm",
|
|
38
|
-
className: i("!text-sm", t === "top" ? "!mb-6" : "!mt-6"),
|
|
39
|
-
children: [
|
|
40
|
-
a,
|
|
41
|
-
p
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
] }) : /* @__PURE__ */ r.jsx(
|
|
46
|
-
m,
|
|
47
|
-
{
|
|
48
|
-
index: o,
|
|
49
|
-
className: i(
|
|
50
|
-
"dragging:bg-primary-100 size-5 rounded-full bg-primary-500 outline-none ring-black transition focus-visible:ring-2",
|
|
51
|
-
e
|
|
52
|
-
)
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
}
|
|
56
|
-
);
|
|
1
|
+
import { j as e } from "./index.es42.js";
|
|
2
|
+
const o = ({ text: t }) => /* @__PURE__ */ e.jsx("div", { className: "max-h-60 overflow-auto p-4 text-center text-sm text-neutral-600", children: t ?? "No results found" });
|
|
57
3
|
export {
|
|
58
|
-
|
|
4
|
+
o as NoResultsMessage
|
|
59
5
|
};
|
package/dist/index.es114.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { j as t } from "./index.es42.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const m = ({
|
|
2
|
+
import { ListBox as n, ListBoxItem as r } from "react-aria-components";
|
|
3
|
+
import { searchOptionVariants as h } from "./index.es67.js";
|
|
4
|
+
const m = ({
|
|
5
|
+
items: a,
|
|
6
|
+
onItemSelect: l
|
|
7
|
+
}) => /* @__PURE__ */ t.jsx(n, { items: a, className: "max-h-60 overflow-auto outline-none", children: (o) => /* @__PURE__ */ t.jsx(
|
|
5
8
|
r,
|
|
6
9
|
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
id: o.id,
|
|
11
|
+
textValue: o.label,
|
|
12
|
+
className: ({ isDisabled: s, isSelected: i, isFocused: e }) => h({ isFocused: e, isSelected: i, isDisabled: s }),
|
|
13
|
+
onAction: l ? () => l(o.id) : void 0,
|
|
14
|
+
children: o.shouldHighlight ? /* @__PURE__ */ t.jsx("span", { children: o.highlightedParts.map(
|
|
15
|
+
(s, i) => s.highlight ? /* @__PURE__ */ t.jsx("span", { className: "font-bold text-neutral-900", children: s.text }, s.text + i) : s.text
|
|
16
|
+
) }) : o.label
|
|
14
17
|
}
|
|
15
|
-
);
|
|
18
|
+
) });
|
|
16
19
|
export {
|
|
17
|
-
m as
|
|
20
|
+
m as SearchListBox
|
|
18
21
|
};
|
package/dist/index.es115.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { SearchIcon as e } from "./index.es43.js";
|
|
3
|
-
const s = ({ icon: r }) => r ?? /* @__PURE__ */ t.jsx(e, { className: "size-6 text-neutral-700", "data-testid": "search-icon" });
|
|
1
|
+
var r = {};
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
r as __exports
|
|
6
4
|
};
|
package/dist/index.es116.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const o = ({ text: t }) => /* @__PURE__ */ e.jsx("div", { className: "max-h-60 overflow-auto p-4 text-center text-sm text-neutral-600", children: t ?? "No results found" });
|
|
1
|
+
var e = {};
|
|
3
2
|
export {
|
|
4
|
-
|
|
3
|
+
e as __exports
|
|
5
4
|
};
|
package/dist/index.es117.js
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const m = ({
|
|
5
|
-
items: a,
|
|
6
|
-
onItemSelect: l
|
|
7
|
-
}) => /* @__PURE__ */ t.jsx(n, { items: a, className: "max-h-60 overflow-auto outline-none", children: (o) => /* @__PURE__ */ t.jsx(
|
|
8
|
-
r,
|
|
9
|
-
{
|
|
10
|
-
id: o.id,
|
|
11
|
-
textValue: o.label,
|
|
12
|
-
className: ({ isDisabled: s, isSelected: i, isFocused: e }) => h({ isFocused: e, isSelected: i, isDisabled: s }),
|
|
13
|
-
onAction: l ? () => l(o.id) : void 0,
|
|
14
|
-
children: o.shouldHighlight ? /* @__PURE__ */ t.jsx("span", { children: o.highlightedParts.map(
|
|
15
|
-
(s, i) => s.highlight ? /* @__PURE__ */ t.jsx("span", { className: "font-bold text-neutral-900", children: s.text }, s.text + i) : s.text
|
|
16
|
-
) }) : o.label
|
|
17
|
-
}
|
|
18
|
-
) });
|
|
1
|
+
function e(t) {
|
|
2
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3
|
+
}
|
|
19
4
|
export {
|
|
20
|
-
|
|
5
|
+
e as getDefaultExportFromCjs
|
|
21
6
|
};
|
package/dist/index.es118.js
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { __exports as i } from "./index.es119.js";
|
|
2
|
+
import "./index.es124.js";
|
|
3
|
+
import "./index.es125.js";
|
|
4
|
+
import { __exports as l } from "./index.es126.js";
|
|
5
|
+
import { __exports as s } from "./index.es127.js";
|
|
6
|
+
(function(t) {
|
|
7
|
+
Object.defineProperty(t, "__esModule", {
|
|
8
|
+
value: !0
|
|
9
|
+
}), Object.defineProperty(t, "default", {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: function() {
|
|
12
|
+
return f;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
const o = /* @__PURE__ */ r(l), n = /* @__PURE__ */ r(s);
|
|
16
|
+
function r(e) {
|
|
17
|
+
return e && e.__esModule ? e : {
|
|
18
|
+
default: e
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function f(...e) {
|
|
22
|
+
let [, ...u] = (0, n.default)(e[0]);
|
|
23
|
+
return (0, o.default)([
|
|
24
|
+
...e,
|
|
25
|
+
...u
|
|
26
|
+
]);
|
|
27
|
+
}
|
|
28
|
+
})(i);
|
package/dist/index.es119.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { __exports as s } from "./index.es127.js";
|
|
6
|
-
(function(t) {
|
|
7
|
-
Object.defineProperty(t, "__esModule", {
|
|
8
|
-
value: !0
|
|
9
|
-
}), Object.defineProperty(t, "default", {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: function() {
|
|
12
|
-
return f;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const o = /* @__PURE__ */ r(l), n = /* @__PURE__ */ r(s);
|
|
16
|
-
function r(e) {
|
|
17
|
-
return e && e.__esModule ? e : {
|
|
18
|
-
default: e
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function f(...e) {
|
|
22
|
-
let [, ...u] = (0, n.default)(e[0]);
|
|
23
|
-
return (0, o.default)([
|
|
24
|
-
...e,
|
|
25
|
-
...u
|
|
26
|
-
]);
|
|
27
|
-
}
|
|
28
|
-
})(i);
|
|
1
|
+
var e = {};
|
|
2
|
+
export {
|
|
3
|
+
e as __exports
|
|
4
|
+
};
|
package/dist/index.es12.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as c } from "./index.es42.js";
|
|
2
|
-
import { CheckIcon as h } from "./index.
|
|
2
|
+
import { CheckIcon as h } from "./index.es44.js";
|
|
3
3
|
import { useState as j } from "react";
|
|
4
4
|
import { Button as S } from "react-aria-components";
|
|
5
|
-
import { cn as n } from "./index.
|
|
6
|
-
import { filterChipVariants as k } from "./index.
|
|
5
|
+
import { cn as n } from "./index.es43.js";
|
|
6
|
+
import { filterChipVariants as k } from "./index.es53.js";
|
|
7
7
|
const C = ({
|
|
8
8
|
size: t = "md",
|
|
9
9
|
label: a,
|
package/dist/index.es120.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as t } from "./index.es117.js";
|
|
2
|
+
import "./index.es128.js";
|
|
3
|
+
import { __exports as a } from "./index.es129.js";
|
|
4
|
+
let e = a;
|
|
5
|
+
var o = (e.__esModule ? e : { default: e }).default;
|
|
6
|
+
const r = /* @__PURE__ */ t(o);
|
|
2
7
|
export {
|
|
3
|
-
|
|
8
|
+
o as d,
|
|
9
|
+
r as default
|
|
4
10
|
};
|