@plyaz/ui 0.4.9 → 0.4.11
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/ui.cjs.js +120 -1
- package/dist/ui.es.js +3371 -38
- package/package.json +2 -2
- package/dist/ui.cjs10.js +0 -4
- package/dist/ui.cjs11.js +0 -1
- package/dist/ui.cjs12.js +0 -1
- package/dist/ui.cjs13.js +0 -1
- package/dist/ui.cjs14.js +0 -19
- package/dist/ui.cjs15.js +0 -7
- package/dist/ui.cjs16.js +0 -53
- package/dist/ui.cjs17.js +0 -1
- package/dist/ui.cjs18.js +0 -1
- package/dist/ui.cjs19.js +0 -31
- package/dist/ui.cjs20.js +0 -1
- package/dist/ui.cjs21.js +0 -1
- package/dist/ui.cjs22.js +0 -1
- package/dist/ui.cjs23.js +0 -6
- package/dist/ui.cjs24.js +0 -6
- package/dist/ui.cjs25.js +0 -6
- package/dist/ui.cjs26.js +0 -1
- package/dist/ui.cjs27.js +0 -1
- package/dist/ui.cjs28.js +0 -9
- package/dist/ui.cjs29.js +0 -14
- package/dist/ui.cjs3.js +0 -1
- package/dist/ui.cjs30.js +0 -1
- package/dist/ui.cjs31.js +0 -1
- package/dist/ui.cjs32.js +0 -1
- package/dist/ui.cjs33.js +0 -1
- package/dist/ui.cjs34.js +0 -1
- package/dist/ui.cjs35.js +0 -1
- package/dist/ui.cjs36.js +0 -1
- package/dist/ui.cjs37.js +0 -1
- package/dist/ui.cjs38.js +0 -1
- package/dist/ui.cjs39.js +0 -1
- package/dist/ui.cjs4.js +0 -5
- package/dist/ui.cjs40.js +0 -1
- package/dist/ui.cjs41.js +0 -1
- package/dist/ui.cjs42.js +0 -1
- package/dist/ui.cjs43.js +0 -1
- package/dist/ui.cjs44.js +0 -1
- package/dist/ui.cjs45.js +0 -1
- package/dist/ui.cjs46.js +0 -1
- package/dist/ui.cjs47.js +0 -1
- package/dist/ui.cjs48.js +0 -1
- package/dist/ui.cjs49.js +0 -1
- package/dist/ui.cjs5.js +0 -1
- package/dist/ui.cjs50.js +0 -1
- package/dist/ui.cjs51.js +0 -1
- package/dist/ui.cjs52.js +0 -1
- package/dist/ui.cjs53.js +0 -1
- package/dist/ui.cjs54.js +0 -1
- package/dist/ui.cjs55.js +0 -1
- package/dist/ui.cjs56.js +0 -1
- package/dist/ui.cjs57.js +0 -1
- package/dist/ui.cjs58.js +0 -1
- package/dist/ui.cjs59.js +0 -6
- package/dist/ui.cjs6.js +0 -1
- package/dist/ui.cjs60.js +0 -6
- package/dist/ui.cjs61.js +0 -6
- package/dist/ui.cjs62.js +0 -6
- package/dist/ui.cjs63.js +0 -1
- package/dist/ui.cjs64.js +0 -1
- package/dist/ui.cjs65.js +0 -1
- package/dist/ui.cjs66.js +0 -1
- package/dist/ui.cjs67.js +0 -1
- package/dist/ui.cjs68.js +0 -1
- package/dist/ui.cjs69.js +0 -4
- package/dist/ui.cjs7.js +0 -1
- package/dist/ui.cjs70.js +0 -1
- package/dist/ui.cjs71.js +0 -1
- package/dist/ui.cjs72.js +0 -1
- package/dist/ui.cjs73.js +0 -1
- package/dist/ui.cjs74.js +0 -1
- package/dist/ui.cjs75.js +0 -38
- package/dist/ui.cjs76.js +0 -1
- package/dist/ui.cjs77.js +0 -1
- package/dist/ui.cjs78.js +0 -1
- package/dist/ui.cjs79.js +0 -1
- package/dist/ui.cjs8.js +0 -7
- package/dist/ui.cjs80.js +0 -1
- package/dist/ui.cjs81.js +0 -1
- package/dist/ui.cjs82.js +0 -1
- package/dist/ui.cjs83.js +0 -1
- package/dist/ui.cjs84.js +0 -1
- package/dist/ui.cjs9.js +0 -1
- package/dist/ui.es10.js +0 -24
- package/dist/ui.es11.js +0 -20
- package/dist/ui.es12.js +0 -33
- package/dist/ui.es13.js +0 -25
- package/dist/ui.es14.js +0 -40
- package/dist/ui.es15.js +0 -46
- package/dist/ui.es16.js +0 -214
- package/dist/ui.es17.js +0 -5
- package/dist/ui.es18.js +0 -17
- package/dist/ui.es19.js +0 -135
- package/dist/ui.es20.js +0 -53
- package/dist/ui.es21.js +0 -8
- package/dist/ui.es22.js +0 -863
- package/dist/ui.es23.js +0 -12
- package/dist/ui.es24.js +0 -12
- package/dist/ui.es25.js +0 -12
- package/dist/ui.es26.js +0 -10
- package/dist/ui.es27.js +0 -4
- package/dist/ui.es28.js +0 -35
- package/dist/ui.es29.js +0 -247
- package/dist/ui.es3.js +0 -9
- package/dist/ui.es30.js +0 -35
- package/dist/ui.es31.js +0 -29
- package/dist/ui.es32.js +0 -2731
- package/dist/ui.es33.js +0 -6
- package/dist/ui.es34.js +0 -9
- package/dist/ui.es35.js +0 -48
- package/dist/ui.es36.js +0 -55
- package/dist/ui.es37.js +0 -10
- package/dist/ui.es38.js +0 -127
- package/dist/ui.es39.js +0 -17
- package/dist/ui.es4.js +0 -25
- package/dist/ui.es40.js +0 -137
- package/dist/ui.es41.js +0 -13
- package/dist/ui.es42.js +0 -220
- package/dist/ui.es43.js +0 -16
- package/dist/ui.es44.js +0 -36
- package/dist/ui.es45.js +0 -13
- package/dist/ui.es46.js +0 -54
- package/dist/ui.es47.js +0 -6
- package/dist/ui.es48.js +0 -8
- package/dist/ui.es49.js +0 -30
- package/dist/ui.es5.js +0 -46
- package/dist/ui.es50.js +0 -52
- package/dist/ui.es51.js +0 -11
- package/dist/ui.es52.js +0 -4
- package/dist/ui.es53.js +0 -4
- package/dist/ui.es54.js +0 -14
- package/dist/ui.es55.js +0 -208
- package/dist/ui.es56.js +0 -24
- package/dist/ui.es57.js +0 -27
- package/dist/ui.es58.js +0 -400
- package/dist/ui.es59.js +0 -27
- package/dist/ui.es6.js +0 -37
- package/dist/ui.es60.js +0 -24
- package/dist/ui.es61.js +0 -41
- package/dist/ui.es62.js +0 -20
- package/dist/ui.es63.js +0 -27
- package/dist/ui.es64.js +0 -31
- package/dist/ui.es65.js +0 -7
- package/dist/ui.es66.js +0 -7
- package/dist/ui.es67.js +0 -5
- package/dist/ui.es68.js +0 -26
- package/dist/ui.es69.js +0 -112
- package/dist/ui.es7.js +0 -29
- package/dist/ui.es70.js +0 -18
- package/dist/ui.es71.js +0 -527
- package/dist/ui.es72.js +0 -130
- package/dist/ui.es73.js +0 -136
- package/dist/ui.es74.js +0 -67
- package/dist/ui.es75.js +0 -71
- package/dist/ui.es76.js +0 -11
- package/dist/ui.es77.js +0 -16
- package/dist/ui.es78.js +0 -68
- package/dist/ui.es79.js +0 -6
- package/dist/ui.es8.js +0 -27
- package/dist/ui.es80.js +0 -25
- package/dist/ui.es81.js +0 -25
- package/dist/ui.es82.js +0 -15
- package/dist/ui.es83.js +0 -30
- package/dist/ui.es84.js +0 -7
- package/dist/ui.es9.js +0 -25
package/dist/ui.cjs58.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./ui.cjs71.js"),a=require("./ui.cjs72.js"),i=require("./ui.cjs73.js");function B(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:o,r=s?t.offsetHeight:n,c=a.round(o)!==l||a.round(n)!==r;return c&&(o=l,n=r),{width:o,height:n,$:c}}function N(t){return i.isElement(t)?t:t.contextElement}function L(t){const e=N(t);if(!i.isHTMLElement(e))return a.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:l}=B(e);let r=(l?a.round(o.width):o.width)/n,c=(l?a.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const P=a.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?P:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function q(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function T(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),l=N(t);let r=a.createCoords(1);e&&(n?i.isElement(n)&&(r=L(n)):r=L(t));const c=q(l,o,n)?A(l):a.createCoords(0);let f=(s.left+c.x)/r.x,u=(s.top+c.y)/r.y,d=s.width/r.x,g=s.height/r.y;if(l){const w=i.getWindow(l),h=n&&i.isElement(n)?i.getWindow(n):n;let v=w,p=i.getFrameElement(v);for(;p&&n&&h!==v;){const y=L(p),m=p.getBoundingClientRect(),x=i.getComputedStyle(p),C=m.left+(p.clientLeft+parseFloat(x.paddingLeft))*y.x,O=m.top+(p.clientTop+parseFloat(x.paddingTop))*y.y;f*=y.x,u*=y.y,d*=y.x,g*=y.y,f+=C,u+=O,v=i.getWindow(p),p=i.getFrameElement(v)}}return a.rectToClientRect({width:d,height:g,x:f,y:u})}function W(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:T(i.getDocumentElement(t)).left+o}function M(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(o?0:W(t,n)),l=n.top+e.scrollTop;return{x:s,y:l}}function U(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(n),c=e?i.isTopLayer(e.floating):!1;if(n===r||c&&l)return o;let f={scrollLeft:0,scrollTop:0},u=a.createCoords(1);const d=a.createCoords(0),g=i.isHTMLElement(n);if((g||!g&&!l)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),i.isHTMLElement(n))){const h=T(n);u=L(n),d.x=h.x+n.clientLeft,d.y=h.y+n.clientTop}const w=r&&!g&&!l?M(r,f,!0):a.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+d.x+w.x,y:o.y*u.y-f.scrollTop*u.y+d.y+w.y}}function k(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=a.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=a.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+W(t);const c=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=a.max(e.clientWidth,n.clientWidth)-s),{width:s,height:l,x:r,y:c}}function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,c=0,f=0;if(s){l=s.width,r=s.height;const u=i.isWebKit();(!u||u&&e==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:r,x:c,y:f}}const j=new Set(["absolute","fixed"]);function G(t,e){const o=T(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,l=i.isHTMLElement(t)?L(t):a.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,f=s*l.x,u=n*l.y;return{width:r,height:c,x:f,y:u}}function F(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=G(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return a.rectToClientRect(n)}function z(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||z(o,e)}function J(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&c.position==="fixed"&&(s=null),(l?!f&&!s:!f&&c.position==="static"&&!!s&&j.has(s.position)||i.isOverflowElement(r)&&!f&&z(t,r))?n=n.filter(d=>d!==r):s=c,r=i.getParentNode(r)}return e.set(t,n),n}function Q(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:J(e,this._c):[].concat(o),n],c=r[0],f=r.reduce((u,d)=>{const g=F(e,d,s);return u.top=a.max(g.top,u.top),u.right=a.min(g.right,u.right),u.bottom=a.min(g.bottom,u.bottom),u.left=a.max(g.left,u.left),u},F(e,c,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Y(t){const{width:e,height:o}=B(t);return{width:e,height:o}}function Z(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),l=o==="fixed",r=T(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const f=a.createCoords(0);function u(){f.x=W(s)}if(n||!n&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),n){const h=T(e,!0,l,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else s&&u();l&&!n&&s&&u();const d=s&&!n&&!l?M(s,c):a.createCoords(0),g=r.left+c.scrollLeft-f.x-d.x,w=r.top+c.scrollTop-f.y-d.y;return{x:g,y:w,width:r.width,height:r.height}}function R(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function I(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!R(s))return s;s=i.getParentNode(s)}return o}let n=H(t,e);for(;n&&i.isTableElement(n)&&R(n);)n=H(n,e);return n&&i.isLastTraversableNode(n)&&R(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const X=async function(t){const e=this.getOffsetParent||I,o=this.getDimensions,n=await o(t.floating);return{reference:Z(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function tt(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:U,getDocumentElement:i.getDocumentElement,getClippingRect:Q,getOffsetParent:I,getElementRects:X,getClientRects:k,getDimensions:Y,getScale:L,isElement:i.isElement,isRTL:tt};function _(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function et(t,e){let o=null,n;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const u=t.getBoundingClientRect(),{left:d,top:g,width:w,height:h}=u;if(c||e(),!w||!h)return;const v=a.floor(g),p=a.floor(s.clientWidth-(d+w)),y=a.floor(s.clientHeight-(g+h)),m=a.floor(d),C={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:a.max(0,a.min(1,f))||1};let O=!0;function S(D){const b=D[0].intersectionRatio;if(b!==f){if(!O)return r();b?r(!1,b):n=setTimeout(()=>{r(!1,1e-7)},1e3)}b===1&&!_(u,t.getBoundingClientRect())&&r(),O=!1}try{o=new IntersectionObserver(S,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(S,C)}o.observe(t)}return r(!0),l}function ot(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=N(t),d=s||l?[...u?i.getOverflowAncestors(u):[],...i.getOverflowAncestors(e)]:[];d.forEach(m=>{s&&m.addEventListener("scroll",o,{passive:!0}),l&&m.addEventListener("resize",o)});const g=u&&c?et(u,o):null;let w=-1,h=null;r&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),o()}),u&&!f&&h.observe(u),h.observe(e));let v,p=f?T(t):null;f&&y();function y(){const m=T(t);p&&!_(p,m)&&o(),p=m,v=requestAnimationFrame(y)}return o(),()=>{var m;d.forEach(x=>{s&&x.removeEventListener("scroll",o),l&&x.removeEventListener("resize",o)}),g==null||g(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const nt=E.offset,it=E.shift,st=E.flip,rt=E.size,lt=E.hide,ct=E.arrow,ft=E.limitShift,ut=(t,e,o)=>{const n=new Map,s={platform:V,...o},l={...s.platform,_c:n};return E.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=ct;exports.autoUpdate=ot;exports.computePosition=ut;exports.flip=st;exports.hide=lt;exports.limitShift=ft;exports.offset=nt;exports.platform=V;exports.shift=it;exports.size=rt;
|
package/dist/ui.cjs59.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("react"),e=require("./ui.cjs60.js"),n=require("./ui.cjs61.js");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const u=(s,c)=>{const t=a.forwardRef(({className:r,...o},l)=>a.createElement(n,{ref:l,iconNode:c,className:e.mergeClasses(`lucide-${e.toKebabCase(e.toPascalCase(s))}`,`lucide-${s}`,r),...o}));return t.displayName=e.toPascalCase(s),t};module.exports=u;
|
package/dist/ui.cjs6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./ui.cjs17.js"),M=require("./ui.cjs18.js");;/* empty css */const R=require("./ui.cjs3.js"),e=require("./ui.cjs19.js");require("./ui.cjs15.js");const o=({children:n,className:c,cols:r,rows:t,gap:s,justify:u,align:i,element:x,...d})=>l.jsxRuntimeExports.jsx(R.Box,{element:x,className:M.clsx("grid",r&&e.COLUMN_NUMBER[r],t&&e.ROW_NUMBER[t],s&&e.GAP[s],u&&e.JUASTIFY_MAPPER[u],i&&e.ALIGN_MAPPER[i],c),...d,children:n});exports.Grid=o;exports.default=o;
|
package/dist/ui.cjs60.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const s=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,o,a)=>a?a.toUpperCase():o.toLowerCase()),n=t=>{const e=r(t);return e.charAt(0).toUpperCase()+e.slice(1)},c=(...t)=>t.filter((e,o,a)=>!!e&&e.trim()!==""&&a.indexOf(e)===o).join(" ").trim(),l=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};exports.hasA11yProp=l;exports.mergeClasses=c;exports.toCamelCase=r;exports.toKebabCase=s;exports.toPascalCase=n;
|
package/dist/ui.cjs61.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react"),b=require("./ui.cjs62.js"),u=require("./ui.cjs60.js");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const d=t.forwardRef(({color:o="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:i="",children:e,iconNode:m,...a},n)=>t.createElement("svg",{ref:n,...b,width:r,height:r,stroke:o,strokeWidth:c?Number(s)*24/Number(r):s,className:u.mergeClasses("lucide",i),...!e&&!u.hasA11yProp(a)&&{"aria-hidden":"true"},...a},[...m.map(([l,A])=>t.createElement(l,A)),...Array.isArray(e)?e:[e]]));module.exports=d;
|
package/dist/ui.cjs62.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/var t={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};module.exports=t;
|
package/dist/ui.cjs63.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},exports.__assign.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function p(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}exports.__rest=s;exports.__spreadArray=p;
|
package/dist/ui.cjs64.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ui.cjs63.js"),k=require("react"),f=require("./ui.cjs66.js"),q=require("./ui.cjs67.js"),B=require("./ui.cjs68.js");function E(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=E(k);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],v=l[1],g=e.forwardProps,i=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,R=e.shards,C=e.sideCar,S=e.noRelative,P=e.noIsolation,w=e.inert,M=e.allowPinchZoom,c=e.as,N=c===void 0?"div":c,y=e.gapMode,O=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=C,d=B.useMergeRefs([r,n]),u=t.__assign(t.__assign({},O),m);return a.createElement(a.Fragment,null,b&&a.createElement(j,{sideCar:q.effectCar,removeScrollBar:_,shards:R,noRelative:S,noIsolation:P,inert:w,setCallbacks:v,allowPinchZoom:!!M,lockRef:r,gapMode:y}),g?a.cloneElement(a.Children.only(i),t.__assign(t.__assign({},u),{ref:d})):a.createElement(N,t.__assign({},u,{className:h,ref:d}),i))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
|
package/dist/ui.cjs65.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./ui.cjs69.js"),r=require("./ui.cjs67.js"),t=require("./ui.cjs70.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
|
package/dist/ui.cjs66.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
|
package/dist/ui.cjs67.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ui.cjs74.js");var r=e.createSidecarMedium();exports.effectCar=r;
|
package/dist/ui.cjs68.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./ui.cjs79.js"),g=require("./ui.cjs80.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
|
package/dist/ui.cjs69.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./ui.cjs63.js"),q=require("react"),j=require("./ui.cjs75.js"),_=require("./ui.cjs76.js"),v=require("./ui.cjs77.js"),P=require("./ui.cjs78.js");function A(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=A(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},x=function(e,a){return e[0]===a[0]&&e[1]===a[1]},p=function(e){return`
|
|
2
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
3
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
4
|
-
`)},I=0,d=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var R=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,k=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&k.type==="range")return!1;var C=P.locationCouldBeScrolled(m,k);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=P.locationCouldBeScrolled(m,k)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return P.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!d.length||d[d.length-1]!==S)){var s="deltaY"in r?E(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&x(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?R(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,E(t),t.target,R(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,R(t,e.lockRef.current))},[]);n.useEffect(function(){return d.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,v.nonPassive),document.addEventListener("touchmove",y,v.nonPassive),document.addEventListener("touchstart",T,v.nonPassive),function(){d=d.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,v.nonPassive),document.removeEventListener("touchmove",y,v.nonPassive),document.removeEventListener("touchstart",T,v.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:p(h)}):null,B?n.createElement(j.RemoveScrollBar,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=E;exports.getTouchXY=g;
|
package/dist/ui.cjs7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x=require("./ui.cjs17.js");;/* empty css */const u=require("./ui.cjs12.js");require("./ui.cjs15.js");const n={xs:"xs",sm:"sm",base:"base",lg:"lg",xl:"xl","2xl":"2xl","3xl":"3xl","4xl":"4xl"},e=({children:t,element:s,className:i,size:r,...l})=>x.jsxRuntimeExports.jsx(u.Text,{className:i,element:s,size:n[r],variant:"heading",weight:"medium",...l,children:t});exports.Heading=e;exports.default=e;
|
package/dist/ui.cjs70.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ui.cjs63.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
|
package/dist/ui.cjs71.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ui.cjs72.js");function B(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const _=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=B(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=B(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function V(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const X=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let C=P?P[A]:0;(!C||!await(a.isElement==null?void 0:a.isElement(P)))&&(C=d.floating[A]||i.floating[r]);const M=b/2-p/2,D=C/2-u[r]/2-1,O=e.min(o[v],D),L=e.min(o[y],D),T=O,H=C-u[r]-L,S=C/2-u[r]/2+M,F=e.clamp(T,S,H),E=!h.arrow&&e.getAlignment(f)!=null&&S!==F&&i.reference[r]/2-(S<T?O:L)-u[r]/2<0,R=E?S<T?S-T:S-H:0;return{[s]:m[s]+R,data:{[s]:F,centerOffset:S-F-R,...E&&{alignmentOffset:R}},reset:E}}}),q=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),P=r!=="none";!m&&P&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const C=[d,...p],M=await V(t,x),D=[];let O=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&D.push(M[v]),o){const S=e.getAlignmentSides(f,a,b);D.push(M[S[0]],M[S[1]])}if(O=[...O,{placement:f,overflows:D}],!D.every(S=>S<=0)){var L,T;const S=(((L=i.flip)==null?void 0:L.index)||0)+1,F=C[S];if(F&&(!(o==="alignment"?y!==e.getSideAxis(F):!1)||O.every(k=>k.overflows[0]>0&&e.getSideAxis(k.placement)===y)))return{data:{index:S,overflows:O},reset:{placement:F}};let E=(T=O.filter(R=>R.overflows[0]<=0).sort((R,k)=>R.overflows[1]-k.overflows[1])[0])==null?void 0:T.placement;if(!E)switch(s){case"bestFit":{var H;const R=(H=O.filter(k=>{if(P){const j=e.getSideAxis(k.placement);return j===y||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,$)=>j+$,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:H[0];R&&(E=R);break}case"initialPlacement":E=d;break}if(f!==E)return{reset:{placement:E}}}return{}}}};function z(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function W(n){return e.sides.some(t=>n[t]>=0)}const I=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await V(t,{...f,elementContext:"reference"}),a=z(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:W(a)}}}case"escaped":{const i=await V(t,{...f,altBoundary:!0}),a=z(i,g.floating);return{data:{escapedOffsets:a,escaped:W(a)}}}default:return{}}}}},Y=new Set(["left","top"]);async function U(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=Y.has(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const G=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await U(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},J=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await V(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},K=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=Y.has(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),P=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>P&&(r=P)}return{[m]:s,[o]:r}}}},N=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await V(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),P=!t.middlewareData.shift;let C=b,M=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(M=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(C=y),P&&!m){const O=e.max(c.left,0),L=e.max(c.right,0),T=e.max(c.top,0),H=e.max(c.bottom,0);s?M=r-2*(O!==0||L!==0?O+L:e.max(c.left,c.right)):C=u-2*(T!==0||H!==0?T+H:e.max(c.top,c.bottom))}await h({...t,availableWidth:M,availableHeight:C});const D=await a.getDimensions(d.floating);return r!==D.width||u!==D.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=X;exports.computePosition=_;exports.detectOverflow=V;exports.flip=q;exports.hide=I;exports.limitShift=K;exports.offset=G;exports.shift=J;exports.size=N;
|
package/dist/ui.cjs72.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=["top","right","bottom","left"],f=Math.min,p=Math.max,O=Math.round,S=Math.floor,y=t=>({x:t,y:t}),M={left:"right",right:"left",bottom:"top",top:"bottom"},j={start:"end",end:"start"};function w(t,e,n){return p(t,f(e,n))}function C(t,e){return typeof t=="function"?t(e):t}function l(t){return t.split("-")[0]}function a(t){return t.split("-")[1]}function d(t){return t==="x"?"y":"x"}function h(t){return t==="y"?"height":"width"}const L=new Set(["top","bottom"]);function x(t){return L.has(l(t))?"y":"x"}function A(t){return d(x(t))}function T(t,e,n){n===void 0&&(n=!1);const r=a(t),i=A(t),o=h(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=g(s)),[s,g(s)]}function E(t){const e=g(t);return[c(t),e,c(e)]}function c(t){return t.replace(/start|end/g,e=>j[e])}const m=["left","right"],u=["right","left"],R=["top","bottom"],v=["bottom","top"];function k(t,e,n){switch(t){case"top":case"bottom":return n?e?u:m:e?m:u;case"left":case"right":return e?R:v;default:return[]}}function q(t,e,n,r){const i=a(t);let o=k(l(t),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(c)))),o}function g(t){return t.replace(/left|right|bottom|top/g,e=>M[e])}function b(t){return{top:0,right:0,bottom:0,left:0,...t}}function z(t){return typeof t!="number"?b(t):{top:t,right:t,bottom:t,left:t}}function B(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}exports.clamp=w;exports.createCoords=y;exports.evaluate=C;exports.expandPaddingObject=b;exports.floor=S;exports.getAlignment=a;exports.getAlignmentAxis=A;exports.getAlignmentSides=T;exports.getAxisLength=h;exports.getExpandedPlacements=E;exports.getOppositeAlignmentPlacement=c;exports.getOppositeAxis=d;exports.getOppositeAxisPlacements=q;exports.getOppositePlacement=g;exports.getPaddingObject=z;exports.getSide=l;exports.getSideAxis=x;exports.max=p;exports.min=f;exports.rectToClientRect=B;exports.round=O;exports.sides=P;
|
package/dist/ui.cjs73.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(){return typeof window<"u"}function c(e){return d(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function N(e){var t;return(t=(d(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function d(e){return s()?e instanceof Node||e instanceof i(e).Node:!1}function m(e){return s()?e instanceof Element||e instanceof i(e).Element:!1}function w(e){return s()?e instanceof HTMLElement||e instanceof i(e).HTMLElement:!1}function u(e){return!s()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof i(e).ShadowRoot}const C=new Set(["inline","contents"]);function p(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!C.has(r)}const D=new Set(["table","td","th"]);function k(e){return D.has(c(e))}const O=[":popover-open",":modal"];function h(e){return O.some(t=>{try{return e.matches(t)}catch{return!1}})}const A=["transform","translate","scale","rotate","perspective"],B=["transform","translate","scale","rotate","perspective","filter"],M=["paint","layout","strict","content"];function E(e){const t=T(),n=m(e)?y(e):e;return A.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||B.some(o=>(n.willChange||"").includes(o))||M.some(o=>(n.contain||"").includes(o))}function P(e){let t=l(e);for(;w(t)&&!g(t);){if(E(t))return t;if(h(t))return null;t=l(t)}return null}function T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const R=new Set(["html","body","#document"]);function g(e){return R.has(c(e))}function y(e){return i(e).getComputedStyle(e)}function V(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l(e){if(c(e)==="html")return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||N(e);return u(t)?t.host:t}function S(e){const t=l(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:w(t)&&p(t)?t:S(t)}function f(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=S(e),L=r===((o=e.ownerDocument)==null?void 0:o.body),a=i(r);if(L){const b=v(a);return t.concat(a,a.visualViewport||[],p(r)?r:[],b&&n?f(b):[])}return t.concat(r,f(r,[],n))}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}exports.getComputedStyle=y;exports.getContainingBlock=P;exports.getDocumentElement=N;exports.getFrameElement=v;exports.getNearestOverflowAncestor=S;exports.getNodeName=c;exports.getNodeScroll=V;exports.getOverflowAncestors=f;exports.getParentNode=l;exports.getWindow=i;exports.isContainingBlock=E;exports.isElement=m;exports.isHTMLElement=w;exports.isLastTraversableNode=g;exports.isNode=d;exports.isOverflowElement=p;exports.isShadowRoot=u;exports.isTableElement=k;exports.isTopLayer=h;exports.isWebKit=T;
|
package/dist/ui.cjs74.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./ui.cjs63.js");function l(n){return n}function h(n,t){t===void 0&&(t=l);var e=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:n},useMedium:function(u){var r=t(u,o);return e.push(r),function(){e=e.filter(function(i){return i!==r})}},assignSyncMedium:function(u){for(o=!0;e.length;){var r=e;e=[],r.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){o=!0;var r=[];if(e.length){var i=e;e=[],i.forEach(u),r=e}var s=function(){var f=r;r=[],f.forEach(u)},a=function(){return Promise.resolve().then(s)};a(),e={push:function(f){r.push(f),a()},filter:function(f){return r=r.filter(f),e}}}};return c}function m(n){n===void 0&&(n={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},n),t}exports.createSidecarMedium=m;
|
package/dist/ui.cjs75.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),b=require("./ui.cjs76.js"),o=require("./ui.cjs66.js"),p=require("./ui.cjs81.js");function v(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(c,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return c.default=t,Object.freeze(c)}const u=v(f);var m=b.styleSingleton(),r="data-scroll-locked",h=function(t,c,e,n){var i=t.left,l=t.top,d=t.right,a=t.gap;return e===void 0&&(e="margin"),`
|
|
2
|
-
.`.concat(o.noScrollbarsClassName,` {
|
|
3
|
-
overflow: hidden `).concat(n,`;
|
|
4
|
-
padding-right: `).concat(a,"px ").concat(n,`;
|
|
5
|
-
}
|
|
6
|
-
body[`).concat(r,`] {
|
|
7
|
-
overflow: hidden `).concat(n,`;
|
|
8
|
-
overscroll-behavior: contain;
|
|
9
|
-
`).concat([c&&"position: relative ".concat(n,";"),e==="margin"&&`
|
|
10
|
-
padding-left: `.concat(i,`px;
|
|
11
|
-
padding-top: `).concat(l,`px;
|
|
12
|
-
padding-right: `).concat(d,`px;
|
|
13
|
-
margin-left:0;
|
|
14
|
-
margin-top:0;
|
|
15
|
-
margin-right: `).concat(a,"px ").concat(n,`;
|
|
16
|
-
`),e==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.`).concat(o.zeroRightClassName,` {
|
|
20
|
-
right: `).concat(a,"px ").concat(n,`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.`).concat(o.fullWidthClassName,` {
|
|
24
|
-
margin-right: `).concat(a,"px ").concat(n,`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.`).concat(o.zeroRightClassName," .").concat(o.zeroRightClassName,` {
|
|
28
|
-
right: 0 `).concat(n,`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.`).concat(o.fullWidthClassName," .").concat(o.fullWidthClassName,` {
|
|
32
|
-
margin-right: 0 `).concat(n,`;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
body[`).concat(r,`] {
|
|
36
|
-
`).concat(o.removedBarSizeVariable,": ").concat(a,`px;
|
|
37
|
-
}
|
|
38
|
-
`)},s=function(){var t=parseInt(document.body.getAttribute(r)||"0",10);return isFinite(t)?t:0},g=function(){u.useEffect(function(){return document.body.setAttribute(r,(s()+1).toString()),function(){var t=s()-1;t<=0?document.body.removeAttribute(r):document.body.setAttribute(r,t.toString())}},[])},y=function(t){var c=t.noRelative,e=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;g();var l=u.useMemo(function(){return p.getGapWidth(i)},[i]);return u.createElement(m,{styles:h(l,!c,i,e?"":"!important")})};exports.RemoveScrollBar=y;exports.lockAttribute=r;exports.useLockAttribute=g;
|
package/dist/ui.cjs76.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui.cjs82.js");var i=function(){var t=r.styleHookSingleton(),n=function(e){var l=e.styles,o=e.dynamic;return t(l,o),null};return n};exports.styleSingleton=i;
|
package/dist/ui.cjs77.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=!1;if(typeof window<"u")try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{t=!1}var r=t?{passive:!1}:!1;exports.nonPassive=r;
|
package/dist/ui.cjs78.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var N=function(e){return e.tagName==="TEXTAREA"},b=function(e,r){if(!(e instanceof Element))return!1;var t=window.getComputedStyle(e);return t[r]!=="hidden"&&!(t.overflowY===t.overflowX&&!N(e)&&t[r]==="visible")},B=function(e){return b(e,"overflowY")},D=function(e){return b(e,"overflowX")},E=function(e,r){var t=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var f=g(e,l);if(f){var n=m(e,l),c=n[1],o=n[2];if(c>o)return!0}l=l.parentNode}while(l&&l!==t.body);return!1},H=function(e){var r=e.scrollTop,t=e.scrollHeight,l=e.clientHeight;return[r,t,l]},T=function(e){var r=e.scrollLeft,t=e.scrollWidth,l=e.clientWidth;return[r,t,l]},g=function(e,r){return e==="v"?B(r):D(r)},m=function(e,r){return e==="v"?H(r):T(r)},p=function(e,r){return e==="h"&&r==="rtl"?-1:1},M=function(e,r,t,l,f){var n=p(e,window.getComputedStyle(r).direction),c=n*l,o=t.target,d=r.contains(o),i=!1,s=c>0,h=0,S=0;do{if(!o)break;var u=m(e,o),v=u[0],C=u[1],y=u[2],w=C-y-n*v;(v||w)&&g(e,o)&&(h+=w,S+=v);var a=o.parentNode;o=a&&a.nodeType===Node.DOCUMENT_FRAGMENT_NODE?a.host:a}while(!d&&o!==document.body||d&&(r.contains(o)||r===o));return(s&&Math.abs(h)<1||!s&&Math.abs(S)<1)&&(i=!0),i};exports.handleScroll=M;exports.locationCouldBeScrolled=E;
|
package/dist/ui.cjs79.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t,n){return typeof t=="function"?t(n):t&&(t.current=n),t}exports.assignRef=e;
|
package/dist/ui.cjs8.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./ui.cjs17.js"),u=require("./ui.cjs18.js"),e=({children:t,className:r,href:n,...l})=>s.jsxRuntimeExports.jsx("a",{"data-testid":"link",href:n,rel:"noopener noreferrer",target:"_blank",className:u.clsx(`
|
|
2
|
-
text-blue-600
|
|
3
|
-
visited:text-purple-600
|
|
4
|
-
hover:underline
|
|
5
|
-
focus:outline-none
|
|
6
|
-
active:text-blue-900
|
|
7
|
-
`,r),...l,children:t});exports.ExternalLink=e;exports.default=e;
|
package/dist/ui.cjs80.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function l(c,t){var e=u.useState(function(){return{value:c,callback:t,facade:{get current(){return e.value},set current(a){var r=e.value;r!==a&&(e.value=a,e.callback(a,r))}}}})[0];return e.callback=t,e.facade}exports.useCallbackRef=l;
|
package/dist/ui.cjs81.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
|
package/dist/ui.cjs82.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./ui.cjs83.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
|
package/dist/ui.cjs83.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./ui.cjs84.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
|
package/dist/ui.cjs84.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
|
package/dist/ui.cjs9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./ui.cjs17.js");;/* empty css */const i=require("./ui.cjs12.js");require("./ui.cjs15.js");const n={xs:"xs",sm:"sm",base:"base",lg:"lg"},e=({children:r,className:t,size:s,...a})=>u.jsxRuntimeExports.jsx(i.Text,{className:t,element:"p",size:n[s],variant:"body",weight:"normal",...a,children:r});exports.Paragraph=e;exports.default=e;
|
package/dist/ui.es10.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { j as r } from "./ui.es17.js";
|
|
2
|
-
import { clsx as s } from "./ui.es18.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { Box as e } from "./ui.es3.js";
|
|
5
|
-
import "./ui.es15.js";
|
|
6
|
-
const c = ({ className: m = "", children: o, ...t }) => /* @__PURE__ */ r.jsx(
|
|
7
|
-
e,
|
|
8
|
-
{
|
|
9
|
-
element: "section",
|
|
10
|
-
className: s(
|
|
11
|
-
`
|
|
12
|
-
mx-2 my-4 p-4
|
|
13
|
-
sm:p-6
|
|
14
|
-
`,
|
|
15
|
-
m
|
|
16
|
-
),
|
|
17
|
-
...t,
|
|
18
|
-
children: o
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
export {
|
|
22
|
-
c as Section,
|
|
23
|
-
c as default
|
|
24
|
-
};
|
package/dist/ui.es11.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { j as l } from "./ui.es17.js";
|
|
2
|
-
import { clsx as m } from "./ui.es18.js";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import { Box as a } from "./ui.es3.js";
|
|
5
|
-
import "./ui.es15.js";
|
|
6
|
-
const u = ({
|
|
7
|
-
children: o,
|
|
8
|
-
direction: r = "horizontal",
|
|
9
|
-
spacing: t = "space-x-2",
|
|
10
|
-
element: e,
|
|
11
|
-
className: s,
|
|
12
|
-
...x
|
|
13
|
-
}) => {
|
|
14
|
-
const i = r === "vertical" ? "flex-col" : "flex-row";
|
|
15
|
-
return /* @__PURE__ */ l.jsx(a, { className: m("flex", i, t, s), element: e, ...x, children: o });
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
u as Stack,
|
|
19
|
-
u as default
|
|
20
|
-
};
|
package/dist/ui.es12.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { j as x } from "./ui.es17.js";
|
|
2
|
-
import { clsx as n } from "./ui.es18.js";
|
|
3
|
-
import { SIZES_MAPPER as f, TEXT_WEIGHT_MAPPER as P, VARIANT_MAPPER as T } from "./ui.es19.js";
|
|
4
|
-
const c = ({
|
|
5
|
-
className: r,
|
|
6
|
-
children: E,
|
|
7
|
-
element: m,
|
|
8
|
-
weight: t,
|
|
9
|
-
variant: o,
|
|
10
|
-
size: s,
|
|
11
|
-
...a
|
|
12
|
-
}) => {
|
|
13
|
-
const e = m;
|
|
14
|
-
return /* @__PURE__ */ x.jsx(
|
|
15
|
-
e,
|
|
16
|
-
{
|
|
17
|
-
"data-testid": "text",
|
|
18
|
-
className: n(
|
|
19
|
-
"font-sans text-base font-normal",
|
|
20
|
-
s && f[s],
|
|
21
|
-
t && P[t],
|
|
22
|
-
o && T[o],
|
|
23
|
-
r
|
|
24
|
-
),
|
|
25
|
-
...a,
|
|
26
|
-
children: E
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
c as Text,
|
|
32
|
-
c as default
|
|
33
|
-
};
|
package/dist/ui.es13.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { j as m } from "./ui.es17.js";
|
|
2
|
-
import { Root as u } from "./ui.es20.js";
|
|
3
|
-
import { cn as i } from "./ui.es21.js";
|
|
4
|
-
import { buttonVariants as e } from "./ui.es19.js";
|
|
5
|
-
function c({
|
|
6
|
-
className: t,
|
|
7
|
-
variant: o,
|
|
8
|
-
size: a,
|
|
9
|
-
asChild: r = !1,
|
|
10
|
-
...s
|
|
11
|
-
}) {
|
|
12
|
-
const n = r ? u : "button";
|
|
13
|
-
return /* @__PURE__ */ m.jsx(
|
|
14
|
-
n,
|
|
15
|
-
{
|
|
16
|
-
"data-slot": "button",
|
|
17
|
-
className: i(e({ variant: o, size: a, className: t })),
|
|
18
|
-
...s,
|
|
19
|
-
"data-testid": "button"
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
c as default
|
|
25
|
-
};
|
package/dist/ui.es14.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./ui.es17.js";
|
|
2
|
-
import { cn as n } from "./ui.es21.js";
|
|
3
|
-
function d({ className: e, type: i, ...r }) {
|
|
4
|
-
return /* @__PURE__ */ t.jsx(
|
|
5
|
-
"input",
|
|
6
|
-
{
|
|
7
|
-
type: i,
|
|
8
|
-
"data-slot": "input",
|
|
9
|
-
className: n(
|
|
10
|
-
`
|
|
11
|
-
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent
|
|
12
|
-
px-3 py-1 text-base shadow-xs transition-[color,box-shadow]
|
|
13
|
-
outline-none
|
|
14
|
-
selection:bg-primary selection:text-primary-foreground
|
|
15
|
-
file:inline-flex file:h-7 file:border-0 file:bg-transparent
|
|
16
|
-
file:text-sm file:font-medium file:text-foreground
|
|
17
|
-
placeholder:text-muted-foreground
|
|
18
|
-
disabled:pointer-events-none disabled:cursor-not-allowed
|
|
19
|
-
disabled:opacity-50
|
|
20
|
-
md:text-sm
|
|
21
|
-
dark:bg-input/30
|
|
22
|
-
`,
|
|
23
|
-
`
|
|
24
|
-
focus-visible:border-ring focus-visible:ring-[3px]
|
|
25
|
-
focus-visible:ring-ring/50
|
|
26
|
-
`,
|
|
27
|
-
`
|
|
28
|
-
aria-invalid:border-destructive aria-invalid:ring-destructive/20
|
|
29
|
-
dark:aria-invalid:ring-destructive/40
|
|
30
|
-
`,
|
|
31
|
-
e
|
|
32
|
-
),
|
|
33
|
-
...r,
|
|
34
|
-
"data-testid": "input"
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
d as default
|
|
40
|
-
};
|
package/dist/ui.es15.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { j as a } from "./ui.es17.js";
|
|
2
|
-
import { memo as s } from "react";
|
|
3
|
-
const o = s(
|
|
4
|
-
({
|
|
5
|
-
children: t,
|
|
6
|
-
className: r = "",
|
|
7
|
-
colors: e = ["#FF0080", "#7928CA", "#0070F3", "#38bdf8"],
|
|
8
|
-
speed: n = 1
|
|
9
|
-
}) => {
|
|
10
|
-
const i = {
|
|
11
|
-
backgroundImage: `linear-gradient(135deg, ${e.join(", ")}, ${e[0]})`,
|
|
12
|
-
WebkitBackgroundClip: "text",
|
|
13
|
-
WebkitTextFillColor: "transparent",
|
|
14
|
-
animationDuration: `${10 / n}s`
|
|
15
|
-
};
|
|
16
|
-
return /* @__PURE__ */ a.jsxs(
|
|
17
|
-
"span",
|
|
18
|
-
{
|
|
19
|
-
className: `
|
|
20
|
-
relative inline-block
|
|
21
|
-
${r}
|
|
22
|
-
`,
|
|
23
|
-
"data-testid": "auroraText",
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ a.jsx("span", { className: "sr-only", children: t }),
|
|
26
|
-
/* @__PURE__ */ a.jsx(
|
|
27
|
-
"span",
|
|
28
|
-
{
|
|
29
|
-
className: `
|
|
30
|
-
relative animate-aurora bg-clip-text text-transparent
|
|
31
|
-
bg-[length:200%_auto]
|
|
32
|
-
`,
|
|
33
|
-
style: i,
|
|
34
|
-
"aria-hidden": "true",
|
|
35
|
-
children: t
|
|
36
|
-
}
|
|
37
|
-
)
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
o.displayName = "AuroraText";
|
|
44
|
-
export {
|
|
45
|
-
o as AuroraText
|
|
46
|
-
};
|