@simpli-route/apollo-ds 0.1.87 → 0.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.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.cjs12.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs2.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.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.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.cjs4.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.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.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs75.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.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es100.js +75 -16
- package/dist/index.es101.js +10 -101
- package/dist/index.es102.js +9 -12
- package/dist/index.es103.js +45 -10
- package/dist/index.es104.js +19 -10
- package/dist/index.es105.js +17 -42
- package/dist/index.es106.js +7 -40
- package/dist/index.es107.js +18 -7
- package/dist/index.es108.js +146 -15
- package/dist/index.es109.js +30 -139
- package/dist/index.es11.js +1 -1
- package/dist/index.es12.js +4 -4
- package/dist/index.es129.js +1 -1
- package/dist/index.es13.js +2 -2
- package/dist/index.es131.js +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es14.js +3 -3
- package/dist/index.es156.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +3 -3
- package/dist/index.es162.js +6 -6
- package/dist/index.es163.js +2 -2
- package/dist/index.es17.js +2 -2
- package/dist/index.es178.js +3 -3
- package/dist/index.es18.js +2 -2
- package/dist/index.es183.js +10 -61
- package/dist/index.es184.js +61 -4
- package/dist/index.es185.js +4 -14
- package/dist/index.es186.js +10 -307
- package/dist/index.es187.js +304 -19
- package/dist/index.es188.js +26 -4
- package/dist/index.es19.js +2 -2
- package/dist/index.es191.js +4 -94
- package/dist/index.es192.js +94 -4
- package/dist/index.es193.js +2 -8
- package/dist/index.es196.js +4 -51
- package/dist/index.es197.js +47 -15
- package/dist/index.es198.js +19 -4
- package/dist/index.es199.js +2 -2
- package/dist/index.es2.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +4 -753
- package/dist/index.es201.js +753 -4
- package/dist/index.es202.js +2 -2
- package/dist/index.es21.js +2 -2
- package/dist/index.es22.js +2 -2
- package/dist/index.es23.js +2 -2
- package/dist/index.es24.js +2 -2
- package/dist/index.es25.js +2 -2
- package/dist/index.es26.js +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +1 -1
- package/dist/index.es29.js +1 -1
- package/dist/index.es3.js +2 -2
- package/dist/index.es30.js +2 -2
- package/dist/index.es31.js +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es33.js +2 -2
- package/dist/index.es34.js +1 -1
- package/dist/index.es35.js +3 -3
- package/dist/index.es36.js +3 -3
- package/dist/index.es37.js +2 -2
- package/dist/index.es4.js +3 -3
- package/dist/index.es40.js +5 -5
- package/dist/index.es41.js +3 -3
- package/dist/index.es42.js +4 -4
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +1 -1
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es48.js +2 -2
- package/dist/index.es49.js +1 -1
- package/dist/index.es5.js +2 -2
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es53.js +6 -33
- package/dist/index.es54.js +33 -6
- package/dist/index.es6.js +2 -2
- package/dist/index.es75.js +4 -4
- package/dist/index.es8.js +2 -2
- package/dist/index.es80.js +12 -40
- package/dist/index.es81.js +5 -29
- package/dist/index.es82.js +30 -13
- package/dist/index.es83.js +43 -5
- package/dist/index.es84.js +40 -43
- package/dist/index.es85.js +163 -18
- package/dist/index.es86.js +15 -14
- package/dist/index.es87.js +14 -13
- package/dist/index.es88.js +16 -163
- package/dist/index.es89.js +1 -1
- package/dist/index.es9.js +1 -1
- package/dist/index.es90.js +2 -2
- package/dist/index.es91.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es98.js +100 -78
- package/dist/index.es99.js +13 -19
- package/dist/style.css +4 -0
- package/package.json +1 -1
package/dist/index.cjs87.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.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.cjs88.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.cjs52.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.cjs89.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),i=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),i=require("./index.cjs53.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.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),E=require("react-aria-components"),j=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),E=require("react-aria-components"),j=require("./index.cjs53.js");require("react");require("./index.cjs20.js");require("./index.cjs21.js");require("./index.cjs56.js");require("./index.cjs19.js");const N=require("./index.cjs28.js");require("./index.cjs57.js");require("./index.cjs5.js");require("./index.cjs7.js");require("./index.cjs55.js");const w=require("./index.cjs58.js");require("./index.cjs59.js");require("react-aria");require("./index.cjs60.js");require("@react-stately/color");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs48.js");require("./index.cjs66.js");require("@internationalized/date");require("./index.cjs67.js");require("./index.cjs23.js");require("./index.cjs68.js");require("./index.cjs25.js");require("./index.cjs69.js");require("./index.cjs29.js");require("./index.cjs30.js");require("./index.cjs70.js");require("framer-motion");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");require("./index.cjs74.js");require("./index.cjs35.js");require("./index.cjs75.js");require("./index.cjs38.js");require("./index.cjs39.js");require("./index.cjs40.js");require("./index.cjs76.js");require("./index.cjs42.js");require("./index.cjs77.js");require("./index.cjs78.js");require("./index.cjs79.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(N.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,q,l)=>j.cn(c?"":w.buttonVariants({intent:a,size:o,isHovered:q||(f||!c?l:!1),isActive:d,isDisabled:i,isFocused:f||!c?l:!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:q,isFocusVisible:l})=>v(d,q,l),...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.cjs90.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.js"),s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.js"),s=require("./index.cjs54.js"),n=require("react-aria-components"),i=require("./index.cjs53.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.cjs91.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs52.js"),y=require("react"),m=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index.cjs52.js"),y=require("react"),m=require("./index.cjs53.js"),x=require("./index.cjs130.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.cjs93.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),x=require("react"),D=require("react-aria-components"),J=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs52.js"),x=require("react"),D=require("react-aria-components"),J=require("./index.cjs53.js"),Q=require("./index.cjs92.js"),U=require("./index.cjs6.js");require("./index.cjs7.js");require("./index.cjs20.js");const W=require("./index.cjs21.js"),X=require("./index.cjs94.js"),Y=require("./index.cjs95.js"),Z=require("./index.cjs96.js"),E=require("./index.cjs97.js"),_=require("./index.cjs74.js"),ee=b=>{const{label:j,onReset:p,placeholder:F,isDisabled:h,delay:R,searchIcon:L,clearIcon:y,size:S,description:P,inputValue:u,isInvalid:w,errorMessage:M,items:d,noResultsText:v,selectedValues:C,onSelectedValuesChange:i,onInputChange:a,containerClassName:N,...B}=E.getSearchFieldDefaultProps(b),[z,m]=x.useState([]),f=C!==void 0,s=f?C:z,l=Q.useDebouncedValue(u,R??R),T=!!(l&&p),A=e=>{const t=s.filter(n=>n!==e);f||m(t),i&&i(t)},q=e=>{if(!s.includes(e)){const t=[...s,e];f||m(t),i&&i(t)}},O=()=>{p&&p(),f||m([]),i&&i([])},H=e=>{const t=d.find(n=>n.id===e);t&&!s.includes(t.label)&&(q(t.label),a&&a(""))},K=e=>{if(e.key!=="Enter"||!(u!=null&&u.trim()))return;const t=u.trim(),n=d.filter(o=>o.label.toLowerCase().includes(t.toLowerCase())&&!s.includes(o.label));n.length===1&&(e.preventDefault(),e.stopPropagation(),q(n[0].label),a&&a(""))},$=e=>{const t=e.clipboardData.getData("text");if(!t.includes(`
|
|
2
2
|
`))return;e.preventDefault();const n=t.split(`
|
|
3
3
|
`).map(c=>c.trim()).filter(c=>c&&!s.includes(c)),o=[...new Set(n)];if(o.length>0){const c=[...s,...o];f||m(c),i&&i(c)}a&&a("")},k=x.useMemo(()=>{const e=[...s];return l&&e.push(l),d.filter(t=>{const n=t.label.toLowerCase();return e.some(o=>n.includes(o.toLowerCase()))}).map(t=>{const n=l?t.label.toLowerCase().includes(l.toLowerCase()):!1,o=l?E.getHighlightedParts(t.label,l):[{text:t.label,highlight:!1}];return{...t,shouldHighlight:n,highlightedParts:o}})},[l,d,s]),G=x.useMemo(()=>l?!d.some(e=>e.label.toLowerCase().includes(l.toLowerCase())&&!s.includes(e.label)):!1,[l,d,s]),g=s.length>0,I=S??S,V=x.useRef(null);return r.jsxRuntimeExports.jsxs(D.ComboBox,{inputValue:u,isDisabled:h,isInvalid:w,allowsEmptyCollection:!0,onInputChange:a,...B,children:[j&&r.jsxRuntimeExports.jsx(W.Label,{children:j}),r.jsxRuntimeExports.jsxs("div",{ref:V,"data-testid":"multi-search-field-container",className:J.cn(_.multiSearchFieldContainerVariants({size:I,isDisabled:h}),N),children:[g&&r.jsxRuntimeExports.jsx(r.jsxRuntimeExports.Fragment,{children:s.map(e=>r.jsxRuntimeExports.jsx(U.Badge,{label:e,size:I,isDisabled:h,onDelete:()=>A(e)},e))}),r.jsxRuntimeExports.jsx(D.Input,{placeholder:g?void 0:F,className:"min-w-[120px] flex-1 border-0 bg-transparent p-0 outline-none focus:ring-0",disabled:h,readOnly:b.isReadOnly,onKeyDown:K,onPaste:$}),r.jsxRuntimeExports.jsx(X.SearchFieldIconContainer,{showClearIcon:T,hasBadges:g,clearIcon:y,searchIcon:L,isDisabled:h,onReset:O})]}),r.jsxRuntimeExports.jsx(Y.SearchFieldMessages,{description:P,isInvalid:w,errorMessage:M}),r.jsxRuntimeExports.jsx(Z.SearchFieldPopover,{triggerRef:V,hasNoResults:G,noResultsText:v,items:k,onItemSelect:H})]})};exports.MultiSearchField=ee;
|
package/dist/index.cjs94.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.js"),c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs52.js"),c=require("./index.cjs53.js"),i=require("./index.cjs131.js"),a=require("./index.cjs132.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.cjs98.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.cjs52.js"),h=require("./index.cjs53.js"),v=require("./index.cjs135.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.cjs99.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=(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.es10.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./index.es52.js";
|
|
2
2
|
import { Checkbox as h } from "react-aria-components";
|
|
3
|
-
import { cn as m } from "./index.
|
|
4
|
-
import { MarkIcon as i } from "./index.
|
|
3
|
+
import { cn as m } from "./index.es53.js";
|
|
4
|
+
import { MarkIcon as i } from "./index.es82.js";
|
|
5
5
|
import { checkboxVariants as j } from "./index.es59.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
isIndeterminate: x = !1,
|
package/dist/index.es100.js
CHANGED
|
@@ -1,22 +1,81 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { j as e } from "./index.es52.js";
|
|
2
|
+
import { Button as d, SelectValue as g } from "react-aria-components";
|
|
3
|
+
import { cn as i } from "./index.es53.js";
|
|
4
|
+
import { Badge as j } from "./index.es6.js";
|
|
5
|
+
import "./index.es7.js";
|
|
6
|
+
import { selectInputButtonVariants as w } from "./index.es63.js";
|
|
7
|
+
const S = ({
|
|
8
|
+
ref: C,
|
|
9
|
+
size: o,
|
|
10
|
+
isDisabled: l,
|
|
11
|
+
classNameButton: m,
|
|
12
|
+
selectionMode: x,
|
|
13
|
+
maxLengthTextOption: p,
|
|
14
|
+
handleDeleteOptionSelected: c,
|
|
15
|
+
placeholder: u,
|
|
16
|
+
validationState: f
|
|
17
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
18
|
+
d,
|
|
6
19
|
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
size:
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
ref: C,
|
|
21
|
+
className: ({ isFocusVisible: t, isHovered: n, isPressed: a }) => i(
|
|
22
|
+
"group",
|
|
23
|
+
w({
|
|
24
|
+
size: o,
|
|
25
|
+
isDisabled: l,
|
|
26
|
+
/** Select root sets isPressed from menu open state; use it so we stay in sync with RAC. */
|
|
27
|
+
isFocusVisible: t || a,
|
|
28
|
+
isHovered: n,
|
|
29
|
+
validationState: f
|
|
30
|
+
}),
|
|
31
|
+
m
|
|
14
32
|
),
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e.jsx(g, { className: "flex flex-1 items-center gap-1 overflow-hidden", children: ({ selectedItems: t, selectedText: n, isPlaceholder: a }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: x === "multiple" && t && t.length > 0 ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-1", children: t.filter((r) => r != null).map((r) => {
|
|
35
|
+
const h = r.label, s = r.value;
|
|
36
|
+
return /* @__PURE__ */ e.jsx(
|
|
37
|
+
j,
|
|
38
|
+
{
|
|
39
|
+
label: h,
|
|
40
|
+
size: o,
|
|
41
|
+
isDisabled: l,
|
|
42
|
+
maxLength: p,
|
|
43
|
+
onDelete: () => c(s)
|
|
44
|
+
},
|
|
45
|
+
s
|
|
46
|
+
);
|
|
47
|
+
}) }) : /* @__PURE__ */ e.jsx(
|
|
48
|
+
"span",
|
|
49
|
+
{
|
|
50
|
+
className: i(
|
|
51
|
+
"flex-1 truncate text-left",
|
|
52
|
+
a ? "text-neutral-600" : "",
|
|
53
|
+
l ? "text-neutral-700" : ""
|
|
54
|
+
),
|
|
55
|
+
children: n || u
|
|
56
|
+
}
|
|
57
|
+
) }) }),
|
|
58
|
+
/* @__PURE__ */ e.jsx(
|
|
59
|
+
"svg",
|
|
60
|
+
{
|
|
61
|
+
className: "transition-transform duration-100 group-data-[pressed]:rotate-180",
|
|
62
|
+
width: "20",
|
|
63
|
+
height: "10",
|
|
64
|
+
viewBox: "0 0 20 10",
|
|
65
|
+
fill: "none",
|
|
66
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
67
|
+
children: /* @__PURE__ */ e.jsx(
|
|
68
|
+
"path",
|
|
69
|
+
{
|
|
70
|
+
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",
|
|
71
|
+
fill: "#73768C"
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
18
77
|
}
|
|
19
78
|
);
|
|
20
79
|
export {
|
|
21
|
-
|
|
80
|
+
S as SelectContent
|
|
22
81
|
};
|
package/dist/index.es101.js
CHANGED
|
@@ -1,103 +1,12 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
classNameUnfilled: m,
|
|
11
|
-
modeTooltip: b,
|
|
12
|
-
positionTooltip: h,
|
|
13
|
-
classNameThumb: d,
|
|
14
|
-
isHiddenValue: v,
|
|
15
|
-
suffixRangeCustom: e
|
|
16
|
-
}) => /* @__PURE__ */ l.jsxs("div", { className: "relative", children: [
|
|
17
|
-
t === "default" && !v ? /* @__PURE__ */ l.jsxs("div", { className: "flex justify-between", children: [
|
|
18
|
-
/* @__PURE__ */ l.jsxs(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
className: "absolute top-4 text-sm text-neutral-900",
|
|
22
|
-
style: { left: `${r.getThumbPercent(0) * 100}%`, transform: "translateX(-50%)" },
|
|
23
|
-
children: [
|
|
24
|
-
r.values[0],
|
|
25
|
-
n === "range" && (e == null ? void 0 : e.left) || c
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
n === "range" && /* @__PURE__ */ l.jsxs(
|
|
30
|
-
"div",
|
|
31
|
-
{
|
|
32
|
-
className: "absolute top-4 text-sm text-neutral-900",
|
|
33
|
-
style: { left: `${r.getThumbPercent(1) * 100}%`, transform: "translateX(-50%)" },
|
|
34
|
-
children: [
|
|
35
|
-
r.values[1],
|
|
36
|
-
(e == null ? void 0 : e.right) || c
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
] }) : null,
|
|
41
|
-
/* @__PURE__ */ l.jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
className: P("absolute top-1/2 h-2 w-full -translate-y-1/2 rounded-full bg-primary-100", m)
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ l.jsx(
|
|
48
|
-
"div",
|
|
49
|
-
{
|
|
50
|
-
className: P("absolute top-1/2 h-2 -translate-y-1/2 rounded-full bg-primary-500", a),
|
|
51
|
-
style: {
|
|
52
|
-
width: `${n === "range" ? r.getThumbPercent(1) * 100 - r.getThumbPercent(0) * 100 : r.getThumbPercent(0) * 100}%`,
|
|
53
|
-
left: n === "range" ? `${r.getThumbPercent(0) * 100}%` : "0%"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
),
|
|
57
|
-
n === "range" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
58
|
-
/* @__PURE__ */ l.jsx(
|
|
59
|
-
j,
|
|
60
|
-
{
|
|
61
|
-
index: 0,
|
|
62
|
-
valuePercent: r.getThumbPercent(0),
|
|
63
|
-
value: r.values[0],
|
|
64
|
-
suffix: (e == null ? void 0 : e.left) || c,
|
|
65
|
-
modeTooltip: b,
|
|
66
|
-
positionTooltip: h,
|
|
67
|
-
showTypeValue: t,
|
|
68
|
-
isHiddenValue: v,
|
|
69
|
-
classNameThumb: d
|
|
70
|
-
}
|
|
71
|
-
),
|
|
72
|
-
/* @__PURE__ */ l.jsx(
|
|
73
|
-
j,
|
|
74
|
-
{
|
|
75
|
-
index: 1,
|
|
76
|
-
valuePercent: r.getThumbPercent(1),
|
|
77
|
-
value: r.values[1],
|
|
78
|
-
suffix: (e == null ? void 0 : e.right) || c,
|
|
79
|
-
modeTooltip: b,
|
|
80
|
-
positionTooltip: h,
|
|
81
|
-
showTypeValue: t,
|
|
82
|
-
isHiddenValue: v,
|
|
83
|
-
classNameThumb: d
|
|
84
|
-
}
|
|
85
|
-
)
|
|
86
|
-
] }) : /* @__PURE__ */ l.jsx(
|
|
87
|
-
j,
|
|
88
|
-
{
|
|
89
|
-
index: 0,
|
|
90
|
-
valuePercent: r.getThumbPercent(0),
|
|
91
|
-
value: r.values[0],
|
|
92
|
-
suffix: c,
|
|
93
|
-
modeTooltip: b,
|
|
94
|
-
positionTooltip: h,
|
|
95
|
-
showTypeValue: t,
|
|
96
|
-
isHiddenValue: v,
|
|
97
|
-
classNameThumb: d
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
] });
|
|
1
|
+
import { j as p } from "./index.es52.js";
|
|
2
|
+
import { useRef as f } from "react";
|
|
3
|
+
import { useTab as u } from "react-aria";
|
|
4
|
+
import { cn as x } from "./index.es53.js";
|
|
5
|
+
import { tabVariants as y } from "./index.es103.js";
|
|
6
|
+
const D = (t) => {
|
|
7
|
+
const { className: i, item: r, orientation: n, state: s, id: a = void 0 } = t, { key: e, rendered: c } = r, m = s.selectedKey === e, d = s.disabledKeys.has(e) || (s == null ? void 0 : s.isDisabled), o = f(null), { tabProps: l } = u({ key: String(e) }, s, o), b = x(y({ isActive: m, orientation: n, isDisabledTab: d }), i);
|
|
8
|
+
return /* @__PURE__ */ p.jsx("div", { ...l, ref: o, className: b, id: a, children: c });
|
|
9
|
+
};
|
|
101
10
|
export {
|
|
102
|
-
|
|
11
|
+
D as Tab
|
|
103
12
|
};
|
package/dist/index.es102.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
return e;
|
|
1
|
+
import { j as m } from "./index.es52.js";
|
|
2
|
+
import { useRef as l } from "react";
|
|
3
|
+
import { useTabPanel as p } from "react-aria";
|
|
4
|
+
import { cn as i } from "./index.es53.js";
|
|
5
|
+
const P = (r) => {
|
|
6
|
+
var t;
|
|
7
|
+
const { className: o, state: s, ...n } = r, e = l(null), { tabPanelProps: a } = p(n, s, e), c = i("", o);
|
|
8
|
+
return /* @__PURE__ */ m.jsx("div", { ...a, ref: e, className: c, children: (t = s.selectedItem) == null ? void 0 : t.props.children });
|
|
12
9
|
};
|
|
13
10
|
export {
|
|
14
|
-
|
|
11
|
+
P as TabPanel
|
|
15
12
|
};
|
package/dist/index.es103.js
CHANGED
|
@@ -1,12 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
import { cva as r } from "class-variance-authority";
|
|
2
|
+
const t = r("flex h-full max-h-12", {
|
|
3
|
+
variants: {
|
|
4
|
+
orientation: {
|
|
5
|
+
horizontal: "flex-col",
|
|
6
|
+
vertical: "flex-row"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}), a = r(
|
|
10
|
+
"group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",
|
|
11
|
+
{
|
|
12
|
+
variants: {
|
|
13
|
+
isActive: {
|
|
14
|
+
true: "bg-primary-50 text-primary-500 ",
|
|
15
|
+
false: "text-primary-300 hover:text-primary-500 hover:border-primary-500"
|
|
16
|
+
},
|
|
17
|
+
isDisabledTab: {
|
|
18
|
+
true: "",
|
|
19
|
+
false: ""
|
|
20
|
+
},
|
|
21
|
+
orientation: {
|
|
22
|
+
horizontal: "border-b-2 border-transparent",
|
|
23
|
+
vertical: "border-r-2 border-transparent"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
compoundVariants: [
|
|
27
|
+
{
|
|
28
|
+
isDisabledTab: !0,
|
|
29
|
+
orientation: "horizontal",
|
|
30
|
+
class: "border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
isDisabledTab: !0,
|
|
34
|
+
orientation: "vertical",
|
|
35
|
+
class: "border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
|
|
36
|
+
},
|
|
37
|
+
{ isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
|
|
38
|
+
{ isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-300" },
|
|
39
|
+
{ isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
|
|
40
|
+
{ isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
);
|
|
10
44
|
export {
|
|
11
|
-
|
|
45
|
+
a as tabVariants,
|
|
46
|
+
t as tabsVariants
|
|
12
47
|
};
|
package/dist/index.es104.js
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { j as t } from "./index.es52.js";
|
|
2
|
+
import { cn as c } from "./index.es53.js";
|
|
3
|
+
const i = ({
|
|
4
|
+
label: e,
|
|
5
|
+
description: x,
|
|
6
|
+
errorMessage: s,
|
|
7
|
+
isDisabled: l,
|
|
8
|
+
isInvalid: r,
|
|
9
|
+
children: n,
|
|
10
|
+
renderLabelIcon: m
|
|
11
|
+
}) => !e && !x && !n ? null : /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
|
|
12
|
+
e ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-x-1", children: [
|
|
13
|
+
/* @__PURE__ */ t.jsx("p", { className: c("text-sm font-semibold", l ? "text-neutral-600" : "text-neutral-900"), children: e }),
|
|
14
|
+
m ? /* @__PURE__ */ t.jsx(t.Fragment, { children: m }) : null
|
|
15
|
+
] }) : n,
|
|
16
|
+
x && !s && /* @__PURE__ */ t.jsx("p", { className: c("text-xs", l ? "text-neutral-600" : "text-neutral-800"), children: x }),
|
|
17
|
+
r && s && /* @__PURE__ */ t.jsx("p", { className: "text-sm text-red-500", children: s })
|
|
18
|
+
] });
|
|
10
19
|
export {
|
|
11
|
-
|
|
20
|
+
i as ContentSwitch
|
|
12
21
|
};
|
package/dist/index.es105.js
CHANGED
|
@@ -1,47 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
vertical: "flex-row"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}), a = r(
|
|
10
|
-
"group inline-flex cursor-pointer items-center px-4 py-3 text-sm font-semibold focus-visible:outline-none",
|
|
1
|
+
import { j as i } from "./index.es52.js";
|
|
2
|
+
import { cn as m } from "./index.es53.js";
|
|
3
|
+
import { indicatorVariants as n } from "./index.es76.js";
|
|
4
|
+
const c = ({ isSelected: r, isDisabled: o, isHovered: f, size: a, dimensions: t }) => /* @__PURE__ */ i.jsx(
|
|
5
|
+
"div",
|
|
11
6
|
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
vertical: "border-r-2 border-transparent"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
compoundVariants: [
|
|
27
|
-
{
|
|
28
|
-
isDisabledTab: !0,
|
|
29
|
-
orientation: "horizontal",
|
|
30
|
-
class: "border-b-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
isDisabledTab: !0,
|
|
34
|
-
orientation: "vertical",
|
|
35
|
-
class: "border-r-2 cursor-not-allowed !border-neutral-600 !text-neutral-600 bg-neutral-200"
|
|
36
|
-
},
|
|
37
|
-
{ isActive: !0, orientation: "horizontal", class: "border-b-2 border-primary-500" },
|
|
38
|
-
{ isActive: !1, orientation: "horizontal", class: "border-b-2 border-primary-300" },
|
|
39
|
-
{ isActive: !1, orientation: "vertical", class: "border-r-2 border-primary-200" },
|
|
40
|
-
{ isActive: !0, orientation: "vertical", class: "border-r-2 border-primary-500" }
|
|
41
|
-
]
|
|
7
|
+
className: m(
|
|
8
|
+
n({
|
|
9
|
+
isSelected: r,
|
|
10
|
+
isDisabled: o,
|
|
11
|
+
size: a,
|
|
12
|
+
isHoveredWhenOff: f && !r
|
|
13
|
+
})
|
|
14
|
+
),
|
|
15
|
+
style: {
|
|
16
|
+
left: r ? `${t.onLeft}px` : `${t.offLeft}px`
|
|
17
|
+
}
|
|
42
18
|
}
|
|
43
19
|
);
|
|
44
20
|
export {
|
|
45
|
-
|
|
46
|
-
t as tabsVariants
|
|
21
|
+
c as SwitchIndicator
|
|
47
22
|
};
|
package/dist/index.es106.js
CHANGED
|
@@ -1,42 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
light: "bg-blue-50 text-neutral-900",
|
|
8
|
-
dark: "bg-blue-900 text-blue-50"
|
|
9
|
-
},
|
|
10
|
-
hasSupportText: {
|
|
11
|
-
true: "",
|
|
12
|
-
false: ""
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
compoundVariants: [
|
|
16
|
-
{
|
|
17
|
-
hasSupportText: !0,
|
|
18
|
-
mode: "dark",
|
|
19
|
-
class: "text-[16px] text-blue-50 font-semibold leading-5"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
hasSupportText: !0,
|
|
23
|
-
mode: "light",
|
|
24
|
-
class: "text-[16px] text-neutral-900 font-semibold leading-5"
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
), o = t(
|
|
29
|
-
"block group-data-[placement=bottom]:rotate-180 group-data-[placement=left]:-rotate-90 group-data-[placement=right]:rotate-90",
|
|
30
|
-
{
|
|
31
|
-
variants: {
|
|
32
|
-
mode: {
|
|
33
|
-
light: "fill-blue-50",
|
|
34
|
-
dark: "fill-blue-900"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
);
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./index.es138.js";
|
|
2
|
+
import "./index.es139.js";
|
|
3
|
+
import { __exports as r } from "./index.es140.js";
|
|
4
|
+
let o = r;
|
|
5
|
+
var t = (o.__esModule ? o : { default: o }).default;
|
|
6
|
+
const a = /* @__PURE__ */ e(t);
|
|
39
7
|
export {
|
|
40
|
-
|
|
41
|
-
a as tooltipVariants
|
|
8
|
+
a as default
|
|
42
9
|
};
|
package/dist/index.es107.js
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import t from "./index.es141.js";
|
|
2
|
+
import s from "@simpli-route/tailwind-preset";
|
|
3
|
+
import o from "./index.es142.js";
|
|
4
|
+
import e from "./index.es143.js";
|
|
5
|
+
const { fontFamily: i } = t, l = {
|
|
6
|
+
presets: [s],
|
|
7
|
+
mode: "jit",
|
|
8
|
+
content: ["./index.html", "./node_modules/@simpli-route/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}"],
|
|
9
|
+
theme: {
|
|
10
|
+
extend: {
|
|
11
|
+
fontFamily: {
|
|
12
|
+
sans: ["var(--font-open-sans)", ...i.sans]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
plugins: [o, e]
|
|
17
|
+
};
|
|
7
18
|
export {
|
|
8
|
-
|
|
19
|
+
l as default
|
|
9
20
|
};
|