periplo-ui 1.0.6 → 1.0.8

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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "src/main.ts": {
3
+ "file": "main.cjs",
4
+ "isEntry": true,
5
+ "src": "src/main.ts"
6
+ }
7
+ }
package/dist/main.cjs ADDED
@@ -0,0 +1,27 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react");function zr(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}return t.default=r,Object.freeze(t)}const Mr=zr(P);var Te={exports:{}},oe={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var qe;function Ir(){if(qe)return oe;qe=1;var r=P,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(u,f,g){var p,h={},C=null,O=null;g!==void 0&&(C=""+g),f.key!==void 0&&(C=""+f.key),f.ref!==void 0&&(O=f.ref);for(p in f)o.call(f,p)&&!s.hasOwnProperty(p)&&(h[p]=f[p]);if(u&&u.defaultProps)for(p in f=u.defaultProps,f)h[p]===void 0&&(h[p]=f[p]);return{$$typeof:t,type:u,key:C,ref:O,props:h,_owner:c.current}}return oe.Fragment=n,oe.jsx=l,oe.jsxs=l,oe}var ae={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Je;function Fr(){return Je||(Je=1,process.env.NODE_ENV!=="production"&&function(){var r=P,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),I=Symbol.iterator,_="@@iterator";function k(e){if(e===null||typeof e!="object")return null;var a=I&&e[I]||e[_];return typeof a=="function"?a:null}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){{for(var a=arguments.length,i=new Array(a>1?a-1:0),d=1;d<a;d++)i[d-1]=arguments[d];le("error",e,i)}}function le(e,a,i){{var d=j.ReactDebugCurrentFrame,y=d.getStackAddendum();y!==""&&(a+="%s",i=i.concat([y]));var w=i.map(function(v){return String(v)});w.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,w)}}var Z=!1,ce=!1,ue=!1,de=!1,fe=!1,q;q=Symbol.for("react.module.reference");function Q(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===s||fe||e===c||e===g||e===p||de||e===O||Z||ce||ue||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===q||e.getModuleId!==void 0))}function ee(e,a,i){var d=e.displayName;if(d)return d;var y=a.displayName||a.name||"";return y!==""?i+"("+y+")":i}function x(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o:return"Fragment";case n:return"Portal";case s:return"Profiler";case c:return"StrictMode";case g:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u:var a=e;return x(a)+".Consumer";case l:var i=e;return x(i._context)+".Provider";case f:return ee(e,e.render,"ForwardRef");case h:var d=e.displayName||null;return d!==null?d:$(e.type)||"Memo";case C:{var y=e,w=y._payload,v=y._init;try{return $(v(w))}catch{return null}}}return null}var z=Object.assign,N=0,Y,re,J,W,te,D,U;function Ae(){}Ae.__reactDisabledLog=!0;function cr(){{if(N===0){Y=console.log,re=console.info,J=console.warn,W=console.error,te=console.group,D=console.groupCollapsed,U=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ae,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}}function ur(){{if(N--,N===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:Y}),info:z({},e,{value:re}),warn:z({},e,{value:J}),error:z({},e,{value:W}),group:z({},e,{value:te}),groupCollapsed:z({},e,{value:D}),groupEnd:z({},e,{value:U})})}N<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xe=j.ReactCurrentDispatcher,we;function pe(e,a,i){{if(we===void 0)try{throw Error()}catch(y){var d=y.stack.trim().match(/\n( *(at )?)/);we=d&&d[1]||""}return`
18
+ `+we+e}}var Ee=!1,be;{var dr=typeof WeakMap=="function"?WeakMap:Map;be=new dr}function $e(e,a){if(!e||Ee)return"";{var i=be.get(e);if(i!==void 0)return i}var d;Ee=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=xe.current,xe.current=null,cr();try{if(a){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(F){d=F}Reflect.construct(e,[],v)}else{try{v.call()}catch(F){d=F}e.call(v.prototype)}}else{try{throw Error()}catch(F){d=F}e()}}catch(F){if(F&&d&&typeof F.stack=="string"){for(var m=F.stack.split(`
19
+ `),A=d.stack.split(`
20
+ `),S=m.length-1,T=A.length-1;S>=1&&T>=0&&m[S]!==A[T];)T--;for(;S>=1&&T>=0;S--,T--)if(m[S]!==A[T]){if(S!==1||T!==1)do if(S--,T--,T<0||m[S]!==A[T]){var M=`
21
+ `+m[S].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),typeof e=="function"&&be.set(e,M),M}while(S>=1&&T>=0);break}}}finally{Ee=!1,xe.current=w,ur(),Error.prepareStackTrace=y}var K=e?e.displayName||e.name:"",Be=K?pe(K):"";return typeof e=="function"&&be.set(e,Be),Be}function fr(e,a,i){return $e(e,!1)}function pr(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function ge(e,a,i){if(e==null)return"";if(typeof e=="function")return $e(e,pr(e));if(typeof e=="string")return pe(e);switch(e){case g:return pe("Suspense");case p:return pe("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return fr(e.render);case h:return ge(e.type,a,i);case C:{var d=e,y=d._payload,w=d._init;try{return ge(w(y),a,i)}catch{}}}return""}var me=Object.prototype.hasOwnProperty,ze={},Me=j.ReactDebugCurrentFrame;function ve(e){if(e){var a=e._owner,i=ge(e.type,e._source,a?a.type:null);Me.setExtraStackFrame(i)}else Me.setExtraStackFrame(null)}function br(e,a,i,d,y){{var w=Function.call.bind(me);for(var v in e)if(w(e,v)){var m=void 0;try{if(typeof e[v]!="function"){var A=Error((d||"React class")+": "+i+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}m=e[v](a,v,d,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){m=S}m&&!(m instanceof Error)&&(ve(y),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",d||"React class",i,v,typeof m),ve(null)),m instanceof Error&&!(m.message in ze)&&(ze[m.message]=!0,ve(y),E("Failed %s type: %s",i,m.message),ve(null))}}}var gr=Array.isArray;function Re(e){return gr(e)}function mr(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,i=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function vr(e){try{return Ie(e),!1}catch{return!0}}function Ie(e){return""+e}function Fe(e){if(vr(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",mr(e)),Ie(e)}var ne=j.ReactCurrentOwner,hr={key:!0,ref:!0,__self:!0,__source:!0},Ve,Ne,Ce;Ce={};function yr(e){if(me.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function xr(e){if(me.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function wr(e,a){if(typeof e.ref=="string"&&ne.current&&a&&ne.current.stateNode!==a){var i=$(ne.current.type);Ce[i]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',$(ne.current.type),e.ref),Ce[i]=!0)}}function Er(e,a){{var i=function(){Ve||(Ve=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}}function Rr(e,a){{var i=function(){Ne||(Ne=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}}var Cr=function(e,a,i,d,y,w,v){var m={$$typeof:t,type:e,key:a,ref:i,props:v,_owner:w};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:d}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function _r(e,a,i,d,y){{var w,v={},m=null,A=null;i!==void 0&&(Fe(i),m=""+i),xr(a)&&(Fe(a.key),m=""+a.key),yr(a)&&(A=a.ref,wr(a,y));for(w in a)me.call(a,w)&&!hr.hasOwnProperty(w)&&(v[w]=a[w]);if(e&&e.defaultProps){var S=e.defaultProps;for(w in S)v[w]===void 0&&(v[w]=S[w])}if(m||A){var T=typeof e=="function"?e.displayName||e.name||"Unknown":e;m&&Er(v,T),A&&Rr(v,T)}return Cr(e,m,A,y,d,ne.current,v)}}var _e=j.ReactCurrentOwner,We=j.ReactDebugCurrentFrame;function H(e){if(e){var a=e._owner,i=ge(e.type,e._source,a?a.type:null);We.setExtraStackFrame(i)}else We.setExtraStackFrame(null)}var Se;Se=!1;function ke(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function De(){{if(_e.current){var e=$(_e.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function Sr(e){{if(e!==void 0){var a=e.fileName.replace(/^.*[\\\/]/,""),i=e.lineNumber;return`
24
+
25
+ Check your code at `+a+":"+i+"."}return""}}var Le={};function kr(e){{var a=De();if(!a){var i=typeof e=="string"?e:e.displayName||e.name;i&&(a=`
26
+
27
+ Check the top-level render call using <`+i+">.")}return a}}function Ge(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var i=kr(a);if(Le[i])return;Le[i]=!0;var d="";e&&e._owner&&e._owner!==_e.current&&(d=" It was passed a child from "+$(e._owner.type)+"."),H(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,d),H(null)}}function Ye(e,a){{if(typeof e!="object")return;if(Re(e))for(var i=0;i<e.length;i++){var d=e[i];ke(d)&&Ge(d,a)}else if(ke(e))e._store&&(e._store.validated=!0);else if(e){var y=k(e);if(typeof y=="function"&&y!==e.entries)for(var w=y.call(e),v;!(v=w.next()).done;)ke(v.value)&&Ge(v.value,a)}}}function Tr(e){{var a=e.type;if(a==null||typeof a=="string")return;var i;if(typeof a=="function")i=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===f||a.$$typeof===h))i=a.propTypes;else return;if(i){var d=$(a);br(i,e.props,"prop",d,e)}else if(a.PropTypes!==void 0&&!Se){Se=!0;var y=$(a);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",y||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Pr(e){{for(var a=Object.keys(e.props),i=0;i<a.length;i++){var d=a[i];if(d!=="children"&&d!=="key"){H(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d),H(null);break}}e.ref!==null&&(H(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),H(null))}}function Ue(e,a,i,d,y,w){{var v=Q(e);if(!v){var m="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var A=Sr(y);A?m+=A:m+=De();var S;e===null?S="null":Re(e)?S="array":e!==void 0&&e.$$typeof===t?(S="<"+($(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,m)}var T=_r(e,a,i,y,w);if(T==null)return T;if(v){var M=a.children;if(M!==void 0)if(d)if(Re(M)){for(var K=0;K<M.length;K++)Ye(M[K],e);Object.freeze&&Object.freeze(M)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(M,e)}return e===o?Pr(T):Tr(T),T}}function Or(e,a,i){return Ue(e,a,i,!0)}function jr(e,a,i){return Ue(e,a,i,!1)}var Ar=jr,$r=Or;ae.Fragment=o,ae.jsx=Ar,ae.jsxs=$r}()),ae}process.env.NODE_ENV==="production"?Te.exports=Ir():Te.exports=Fr();var Vr=Te.exports;function ye(){return ye=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])}return r},ye.apply(this,arguments)}function Nr(r,t){typeof r=="function"?r(t):r!=null&&(r.current=t)}function Wr(...r){return t=>r.forEach(n=>Nr(n,t))}const Qe=P.forwardRef((r,t)=>{const{children:n,...o}=r,c=P.Children.toArray(n),s=c.find(Lr);if(s){const l=s.props.children,u=c.map(f=>f===s?P.Children.count(l)>1?P.Children.only(null):P.isValidElement(l)?l.props.children:null:f);return P.createElement(Pe,ye({},o,{ref:t}),P.isValidElement(l)?P.cloneElement(l,void 0,u):null)}return P.createElement(Pe,ye({},o,{ref:t}),n)});Qe.displayName="Slot";const Pe=P.forwardRef((r,t)=>{const{children:n,...o}=r;return P.isValidElement(n)?P.cloneElement(n,{...Gr(o,n.props),ref:t?Wr(t,n.ref):n.ref}):P.Children.count(n)>1?P.Children.only(null):null});Pe.displayName="SlotClone";const Dr=({children:r})=>P.createElement(P.Fragment,null,r);function Lr(r){return P.isValidElement(r)&&r.type===Dr}function Gr(r,t){const n={...t};for(const o in t){const c=r[o],s=t[o];/^on[A-Z]/.test(o)?c&&s?n[o]=(...u)=>{s(...u),c(...u)}:c&&(n[o]=c):o==="style"?n[o]={...c,...s}:o==="className"&&(n[o]=[c,s].filter(Boolean).join(" "))}return{...r,...n}}function er(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=er(r[t]))&&(o&&(o+=" "),o+=n);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function Yr(){for(var r,t,n=0,o="";n<arguments.length;)(r=arguments[n++])&&(t=er(r))&&(o&&(o+=" "),o+=t);return o}const He=r=>typeof r=="boolean"?"".concat(r):r===0?"0":r,Ke=Yr,Ur=(r,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return Ke(r,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:c,defaultVariants:s}=t,l=Object.keys(c).map(g=>{const p=n==null?void 0:n[g],h=s==null?void 0:s[g];if(p===null)return null;const C=He(p)||He(h);return c[g][C]}),u=n&&Object.entries(n).reduce((g,p)=>{let[h,C]=p;return C===void 0||(g[h]=C),g},{}),f=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((g,p)=>{let{class:h,className:C,...O}=p;return Object.entries(O).every(I=>{let[_,k]=I;return Array.isArray(k)?k.includes({...s,...u}[_]):{...s,...u}[_]===k})?[...g,h,C]:g},[]);return Ke(r,l,f,n==null?void 0:n.class,n==null?void 0:n.className)};function rr(r){var t,n,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var c=r.length;for(t=0;t<c;t++)r[t]&&(n=rr(r[t]))&&(o&&(o+=" "),o+=n)}else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function Br(){for(var r,t,n=0,o="",c=arguments.length;n<c;n++)(r=arguments[n])&&(t=rr(r))&&(o&&(o+=" "),o+=t);return o}const je="-";function qr(r){const t=Hr(r),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=r;function c(l){const u=l.split(je);return u[0]===""&&u.length!==1&&u.shift(),tr(u,t)||Jr(l)}function s(l,u){const f=n[l]||[];return u&&o[l]?[...f,...o[l]]:f}return{getClassGroupId:c,getConflictingClassGroupIds:s}}function tr(r,t){var l;if(r.length===0)return t.classGroupId;const n=r[0],o=t.nextPart.get(n),c=o?tr(r.slice(1),o):void 0;if(c)return c;if(t.validators.length===0)return;const s=r.join(je);return(l=t.validators.find(({validator:u})=>u(s)))==null?void 0:l.classGroupId}const Xe=/^\[(.+)\]$/;function Jr(r){if(Xe.test(r)){const t=Xe.exec(r)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Hr(r){const{theme:t,prefix:n}=r,o={nextPart:new Map,validators:[]};return Xr(Object.entries(r.classGroups),n).forEach(([s,l])=>{Oe(l,o,s,t)}),o}function Oe(r,t,n,o){r.forEach(c=>{if(typeof c=="string"){const s=c===""?t:Ze(t,c);s.classGroupId=n;return}if(typeof c=="function"){if(Kr(c)){Oe(c(o),t,n,o);return}t.validators.push({validator:c,classGroupId:n});return}Object.entries(c).forEach(([s,l])=>{Oe(l,Ze(t,s),n,o)})})}function Ze(r,t){let n=r;return t.split(je).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n}function Kr(r){return r.isThemeGetter}function Xr(r,t){return t?r.map(([n,o])=>{const c=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,u])=>[t+l,u])):s);return[n,c]}):r}function Zr(r){if(r<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;function c(s,l){n.set(s,l),t++,t>r&&(t=0,o=n,n=new Map)}return{get(s){let l=n.get(s);if(l!==void 0)return l;if((l=o.get(s))!==void 0)return c(s,l),l},set(s,l){n.has(s)?n.set(s,l):c(s,l)}}}const nr="!";function Qr(r){const t=r.separator,n=t.length===1,o=t[0],c=t.length;return function(l){const u=[];let f=0,g=0,p;for(let _=0;_<l.length;_++){let k=l[_];if(f===0){if(k===o&&(n||l.slice(_,_+c)===t)){u.push(l.slice(g,_)),g=_+c;continue}if(k==="/"){p=_;continue}}k==="["?f++:k==="]"&&f--}const h=u.length===0?l:l.substring(g),C=h.startsWith(nr),O=C?h.substring(1):h,I=p&&p>g?p-g:void 0;return{modifiers:u,hasImportantModifier:C,baseClassName:O,maybePostfixModifierPosition:I}}}function et(r){if(r.length<=1)return r;const t=[];let n=[];return r.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t}function rt(r){return{cache:Zr(r.cacheSize),splitModifiers:Qr(r),...qr(r)}}const tt=/\s+/;function nt(r,t){const{splitModifiers:n,getClassGroupId:o,getConflictingClassGroupIds:c}=t,s=new Set;return r.trim().split(tt).map(l=>{const{modifiers:u,hasImportantModifier:f,baseClassName:g,maybePostfixModifierPosition:p}=n(l);let h=o(p?g.substring(0,p):g),C=!!p;if(!h){if(!p)return{isTailwindClass:!1,originalClassName:l};if(h=o(g),!h)return{isTailwindClass:!1,originalClassName:l};C=!1}const O=et(u).join(":");return{isTailwindClass:!0,modifierId:f?O+nr:O,classGroupId:h,originalClassName:l,hasPostfixModifier:C}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:f,hasPostfixModifier:g}=l,p=u+f;return s.has(p)?!1:(s.add(p),c(f,g).forEach(h=>s.add(u+h)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function ot(){let r=0,t,n,o="";for(;r<arguments.length;)(t=arguments[r++])&&(n=or(t))&&(o&&(o+=" "),o+=n);return o}function or(r){if(typeof r=="string")return r;let t,n="";for(let o=0;o<r.length;o++)r[o]&&(t=or(r[o]))&&(n&&(n+=" "),n+=t);return n}function at(r,...t){let n,o,c,s=l;function l(f){const g=t.reduce((p,h)=>h(p),r());return n=rt(g),o=n.cache.get,c=n.cache.set,s=u,u(f)}function u(f){const g=o(f);if(g)return g;const p=nt(f,n);return c(f,p),p}return function(){return s(ot.apply(null,arguments))}}function R(r){const t=n=>n[r]||[];return t.isThemeGetter=!0,t}const ar=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,st=new Set(["px","full","screen"]),lt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ct=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ft=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function V(r){return B(r)||st.has(r)||it.test(r)}function L(r){return X(r,"length",xt)}function B(r){return!!r&&!Number.isNaN(Number(r))}function he(r){return X(r,"number",B)}function ie(r){return!!r&&Number.isInteger(Number(r))}function pt(r){return r.endsWith("%")&&B(r.slice(0,-1))}function b(r){return ar.test(r)}function G(r){return lt.test(r)}const bt=new Set(["length","size","percentage"]);function gt(r){return X(r,bt,ir)}function mt(r){return X(r,"position",ir)}const vt=new Set(["image","url"]);function ht(r){return X(r,vt,Et)}function yt(r){return X(r,"",wt)}function se(){return!0}function X(r,t,n){const o=ar.exec(r);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1}function xt(r){return ct.test(r)&&!ut.test(r)}function ir(){return!1}function wt(r){return dt.test(r)}function Et(r){return ft.test(r)}function Rt(){const r=R("colors"),t=R("spacing"),n=R("blur"),o=R("brightness"),c=R("borderColor"),s=R("borderRadius"),l=R("borderSpacing"),u=R("borderWidth"),f=R("contrast"),g=R("grayscale"),p=R("hueRotate"),h=R("invert"),C=R("gap"),O=R("gradientColorStops"),I=R("gradientColorStopPositions"),_=R("inset"),k=R("margin"),j=R("opacity"),E=R("padding"),le=R("saturate"),Z=R("scale"),ce=R("sepia"),ue=R("skew"),de=R("space"),fe=R("translate"),q=()=>["auto","contain","none"],Q=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto",b,t],x=()=>[b,t],$=()=>["",V,L],z=()=>["auto",B,b],N=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",b],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>[B,he],U=()=>[B,b];return{cacheSize:500,separator:":",theme:{colors:[se],spacing:[V,L],blur:["none","",G,b],brightness:D(),borderColor:[r],borderRadius:["none","","full",G,b],borderSpacing:x(),borderWidth:$(),contrast:D(),grayscale:W(),hueRotate:U(),invert:W(),gap:x(),gradientColorStops:[r],gradientColorStopPositions:[pt,L],inset:ee(),margin:ee(),opacity:D(),padding:x(),saturate:D(),scale:D(),sepia:W(),skew:U(),space:x(),translate:x()},classGroups:{aspect:[{aspect:["auto","square","video",b]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...N(),b]}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-y":[{"overflow-y":Q()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,b]}],basis:[{basis:ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",b]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",ie,b]}],"grid-cols":[{"grid-cols":[se]}],"col-start-end":[{col:["auto",{span:["full",ie,b]},b]}],"col-start":[{"col-start":z()}],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":[se]}],"row-start-end":[{row:["auto",{span:[ie,b]},b]}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",b]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",b]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",b,t]}],"min-w":[{"min-w":[b,t,"min","max","fit"]}],"max-w":[{"max-w":[b,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],h:[{h:[b,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[b,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[b,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[b,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",he]}],"font-family":[{font:[se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",b]}],"line-clamp":[{"line-clamp":["none",B,he]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,b]}],"list-image":[{"list-image":["none",b]}],"list-style-type":[{list:["none","disc","decimal",b]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[r]}],"placeholder-opacity":[{"placeholder-opacity":[j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[r]}],"text-opacity":[{"text-opacity":[j]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,L]}],"underline-offset":[{"underline-offset":["auto",V,b]}],"text-decoration-color":[{decoration:[r]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",b]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[j]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...N(),mt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ht]}],"bg-color":[{bg:[r]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[O]}],"gradient-via":[{via:[O]}],"gradient-to":[{to:[O]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[j]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[j]}],"divide-style":[{divide:Y()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[V,b]}],"outline-w":[{outline:[V,L]}],"outline-color":[{outline:[r]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[r]}],"ring-opacity":[{"ring-opacity":[j]}],"ring-offset-w":[{"ring-offset":[V,L]}],"ring-offset-color":[{"ring-offset":[r]}],shadow:[{shadow:["","inner","none",G,yt]}],"shadow-color":[{shadow:[se]}],opacity:[{opacity:[j]}],"mix-blend":[{"mix-blend":re()}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",G,b]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[le]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[j]}],"backdrop-saturate":[{"backdrop-saturate":[le]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",b]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",b]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",b]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Z]}],"scale-x":[{"scale-x":[Z]}],"scale-y":[{"scale-y":[Z]}],rotate:[{rotate:[ie,b]}],"translate-x":[{"translate-x":[fe]}],"translate-y":[{"translate-y":[fe]}],"skew-x":[{"skew-x":[ue]}],"skew-y":[{"skew-y":[ue]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",b]}],accent:[{accent:["auto",r]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",b]}],"caret-color":[{caret:[r]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",b]}],fill:[{fill:[r,"none"]}],"stroke-w":[{stroke:[V,L,he]}],stroke:[{stroke:[r,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Ct=at(Rt);function _t(...r){return Ct(Br(r))}const sr=Ur("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),lr=Mr.forwardRef(({className:r,variant:t,size:n,asChild:o=!1,...c},s)=>{const l=o?Qe:"button";return Vr.jsx(l,{className:_t(sr({variant:t,size:n,className:r})),ref:s,...c})});lr.displayName="Button";exports.Button=lr;exports.buttonVariants=sr;
@@ -3084,39 +3084,33 @@ const St = /* @__PURE__ */ lt(kt);
3084
3084
  function Tt(...r) {
3085
3085
  return St(Hr(r));
3086
3086
  }
3087
- const Pt = Jr(
3088
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
3089
- {
3090
- variants: {
3091
- variant: {
3092
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
3093
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
3094
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
3095
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
3096
- ghost: "hover:bg-accent hover:text-accent-foreground",
3097
- link: "text-primary underline-offset-4 hover:underline"
3098
- },
3099
- size: {
3100
- default: "h-10 px-4 py-2",
3101
- sm: "h-9 rounded-md px-3",
3102
- lg: "h-11 rounded-md px-8",
3103
- icon: "h-10 w-10"
3104
- }
3087
+ const Pt = Jr("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", {
3088
+ variants: {
3089
+ variant: {
3090
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
3091
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
3092
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
3093
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
3094
+ ghost: "hover:bg-accent hover:text-accent-foreground",
3095
+ link: "text-primary underline-offset-4 hover:underline"
3105
3096
  },
3106
- defaultVariants: {
3107
- variant: "default",
3108
- size: "default"
3097
+ size: {
3098
+ default: "h-10 px-4 py-2",
3099
+ sm: "h-9 rounded-md px-3",
3100
+ lg: "h-11 rounded-md px-8",
3101
+ icon: "h-10 w-10"
3109
3102
  }
3103
+ },
3104
+ defaultVariants: {
3105
+ variant: "default",
3106
+ size: "default"
3110
3107
  }
3111
- ), Ot = Fr.forwardRef(
3112
- ({ className: r, variant: t, size: n, asChild: o = !1, ...c }, s) => {
3113
- const l = o ? or : "button";
3114
- return /* @__PURE__ */ Lr.jsx(l, { className: Tt(Pt({ variant: t, size: n, className: r })), ref: s, ...c });
3115
- }
3116
- );
3108
+ }), Ot = Fr.forwardRef(({ className: r, variant: t, size: n, asChild: o = !1, ...c }, s) => {
3109
+ const l = o ? or : "button";
3110
+ return Lr.jsx(l, { className: Tt(Pt({ variant: t, size: n, className: r })), ref: s, ...c });
3111
+ });
3117
3112
  Ot.displayName = "Button";
3118
3113
  export {
3119
3114
  Ot as Button,
3120
3115
  Pt as buttonVariants
3121
3116
  };
3122
- //# sourceMappingURL=index.es.js.map
package/package.json CHANGED
@@ -2,9 +2,11 @@
2
2
  "name": "periplo-ui",
3
3
  "description": "IATI UI library",
4
4
  "private": false,
5
- "version": "1.0.6",
5
+ "version": "1.0.8",
6
6
  "type": "module",
7
- "main": "index.ts",
7
+ "main": "./dist/main.cjs.js",
8
+ "module": "./dist/main.es.js",
9
+ "typings": "./dist/main.d.ts",
8
10
  "scripts": {
9
11
  "build": "tsc && vite build",
10
12
  "dev": "storybook dev -p 6006",
@@ -23,8 +25,9 @@
23
25
  "react-dom": "18.2.0"
24
26
  },
25
27
  "devDependencies": {
26
- "@commitlint/cli": "17.6.7",
27
- "@commitlint/config-conventional": "17.6.7",
28
+ "@commitlint/cli": "18.6.0",
29
+ "@commitlint/config-conventional": "18.6.0",
30
+ "@rollup/plugin-typescript": "11.1.6",
28
31
  "@semantic-release/changelog": "6.0.3",
29
32
  "@semantic-release/git": "10.0.1",
30
33
  "@storybook/addon-essentials": "7.6.10",
@@ -36,14 +39,14 @@
36
39
  "@storybook/react-vite": "7.6.10",
37
40
  "@storybook/testing-library": "0.2.2",
38
41
  "@testing-library/react": "14.1.2",
39
- "@types/node": "20.11.6",
42
+ "@types/node": "20.11.10",
40
43
  "@types/react": "18.2.48",
41
44
  "@types/react-dom": "18.2.18",
42
45
  "@typescript-eslint/eslint-plugin": "6.19.1",
43
46
  "@typescript-eslint/parser": "6.19.1",
44
47
  "@vitejs/plugin-react": "4.2.1",
45
- "@vitest/coverage-istanbul": "1.2.1",
46
- "@vitest/coverage-v8": "1.2.1",
48
+ "@vitest/coverage-istanbul": "1.2.2",
49
+ "@vitest/coverage-v8": "1.2.2",
47
50
  "autoprefixer": "10.4.17",
48
51
  "commitizen": "4.3.0",
49
52
  "eslint": "8.56.0",
@@ -58,17 +61,20 @@
58
61
  "eslint-plugin-storybook": "0.6.15",
59
62
  "eslint-plugin-testing-library": "6.2.0",
60
63
  "eslint-plugin-vitest": "0.3.20",
61
- "husky": "8.0.3",
64
+ "husky": "9.0.6",
62
65
  "jsdom": "24.0.0",
66
+ "lint-staged": "^15.2.0",
63
67
  "postcss": "8.4.33",
68
+ "rollup": "^4.9.6",
69
+ "rollup-plugin-typescript-paths": "1.5.0",
64
70
  "semantic-release": "22.0.12",
65
71
  "semantic-release-gitmoji": "1.6.5",
66
72
  "storybook": "7.6.10",
67
73
  "tailwindcss": "3.4.1",
68
74
  "typescript": "5.3.3",
69
- "vite": "4.5.2",
75
+ "vite": "5.0.12",
70
76
  "vite-plugin-dts": "3.7.2",
71
- "vitest": "1.2.1"
77
+ "vitest": "1.2.2"
72
78
  },
73
79
  "files": [
74
80
  "dist"
@@ -77,7 +83,7 @@
77
83
  "@radix-ui/react-slot": "1.0.2",
78
84
  "class-variance-authority": "0.7.0",
79
85
  "clsx": "2.1.0",
80
- "lucide-react": "0.315.0",
86
+ "lucide-react": "0.316.0",
81
87
  "tailwind-merge": "2.2.1",
82
88
  "tailwindcss-animate": "1.0.7"
83
89
  }
@@ -1 +0,0 @@
1
- export * from './index'