@adam-milo/ui 1.0.40 → 1.0.41

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.
Files changed (184) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index10.cjs +1 -1
  4. package/dist/index10.js +1 -1
  5. package/dist/index11.cjs +1 -1
  6. package/dist/index11.js +1 -1
  7. package/dist/index12.cjs +1 -1
  8. package/dist/index12.js +1 -1
  9. package/dist/index13.cjs +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index14.cjs +1 -1
  12. package/dist/index14.js +1 -1
  13. package/dist/index15.cjs +1 -1
  14. package/dist/index15.js +1 -1
  15. package/dist/index16.cjs +1 -1
  16. package/dist/index16.js +1 -1
  17. package/dist/index17.cjs +1 -1
  18. package/dist/index17.js +1 -1
  19. package/dist/index18.cjs +1 -1
  20. package/dist/index18.js +1 -1
  21. package/dist/index19.cjs +1 -1
  22. package/dist/index19.js +1 -1
  23. package/dist/index20.cjs +1 -1
  24. package/dist/index20.js +1 -1
  25. package/dist/index21.cjs +1 -1
  26. package/dist/index21.js +1 -1
  27. package/dist/index22.cjs +1 -1
  28. package/dist/index22.js +1 -1
  29. package/dist/index23.cjs +1 -1
  30. package/dist/index23.js +1 -1
  31. package/dist/index24.cjs +1 -1
  32. package/dist/index24.js +1 -1
  33. package/dist/index25.cjs +1 -1
  34. package/dist/index25.js +1 -1
  35. package/dist/index26.cjs +1 -1
  36. package/dist/index26.js +1 -1
  37. package/dist/index27.cjs +1 -1
  38. package/dist/index27.js +1 -1
  39. package/dist/index28.cjs +1 -1
  40. package/dist/index28.js +1 -1
  41. package/dist/index29.cjs +1 -1
  42. package/dist/index29.js +1 -1
  43. package/dist/index3.cjs +1 -1
  44. package/dist/index3.js +1 -1
  45. package/dist/index30.cjs +1 -1
  46. package/dist/index30.js +1 -1
  47. package/dist/index31.cjs +1 -1
  48. package/dist/index31.js +1 -1
  49. package/dist/index32.cjs +1 -1
  50. package/dist/index32.js +11 -1
  51. package/dist/index33.cjs +1 -1
  52. package/dist/index33.js +1 -1
  53. package/dist/index34.cjs +1 -1
  54. package/dist/index34.js +1 -1
  55. package/dist/index35.cjs +1 -1
  56. package/dist/index35.js +1 -1
  57. package/dist/index36.cjs +1 -1
  58. package/dist/index36.js +1 -1
  59. package/dist/index37.cjs +1 -1
  60. package/dist/index37.js +1 -15
  61. package/dist/index38.cjs +1 -1
  62. package/dist/index38.js +15 -1
  63. package/dist/index39.cjs +1 -1
  64. package/dist/index39.js +1 -1
  65. package/dist/index4.cjs +1 -1
  66. package/dist/index4.js +1 -1
  67. package/dist/index40.cjs +1 -1
  68. package/dist/index40.js +1 -1
  69. package/dist/index41.cjs +1 -1
  70. package/dist/index41.js +1 -1
  71. package/dist/index42.cjs +1 -1
  72. package/dist/index42.js +1 -1
  73. package/dist/index43.cjs +1 -1
  74. package/dist/index43.js +1 -1
  75. package/dist/index44.cjs +1 -1
  76. package/dist/index44.js +1 -1
  77. package/dist/index45.cjs +1 -1
  78. package/dist/index45.js +1 -1
  79. package/dist/index46.cjs +1 -1
  80. package/dist/index46.js +1 -1
  81. package/dist/index47.cjs +1 -1
  82. package/dist/index47.js +1 -1
  83. package/dist/index48.cjs +1 -1
  84. package/dist/index48.js +1 -1
  85. package/dist/index49.cjs +1 -1
  86. package/dist/index49.js +1 -1
  87. package/dist/index5.cjs +1 -1
  88. package/dist/index5.js +1 -1
  89. package/dist/index50.cjs +1 -1
  90. package/dist/index50.js +1 -1
  91. package/dist/index51.cjs +1 -1
  92. package/dist/index51.js +1 -1
  93. package/dist/index52.cjs +1 -1
  94. package/dist/index52.js +1 -1
  95. package/dist/index53.cjs +1 -1
  96. package/dist/index53.js +1 -1
  97. package/dist/index54.cjs +1 -1
  98. package/dist/index54.js +1 -1
  99. package/dist/index55.cjs +1 -1
  100. package/dist/index55.js +1 -1
  101. package/dist/index56.cjs +1 -1
  102. package/dist/index56.js +1 -1
  103. package/dist/index57.cjs +1 -1
  104. package/dist/index57.js +1 -1
  105. package/dist/index58.cjs +1 -1
  106. package/dist/index58.js +1 -1
  107. package/dist/index59.cjs +1 -1
  108. package/dist/index59.js +1 -1
  109. package/dist/index6.cjs +1 -1
  110. package/dist/index6.js +1 -1
  111. package/dist/index60.cjs +1 -1
  112. package/dist/index60.js +1 -1
  113. package/dist/index61.cjs +1 -1
  114. package/dist/index61.js +1 -1
  115. package/dist/index62.cjs +1 -1
  116. package/dist/index62.js +1 -1
  117. package/dist/index63.cjs +1 -1
  118. package/dist/index63.js +1 -5
  119. package/dist/index64.cjs +1 -1
  120. package/dist/index64.js +1 -1
  121. package/dist/index65.cjs +1 -1
  122. package/dist/index65.js +5 -1
  123. package/dist/index66.cjs +1 -1
  124. package/dist/index66.js +1 -1
  125. package/dist/index67.cjs +1 -1
  126. package/dist/index67.js +1 -2
  127. package/dist/index68.cjs +1 -1
  128. package/dist/index68.js +1 -1
  129. package/dist/index69.cjs +1 -1
  130. package/dist/index69.js +2 -1
  131. package/dist/index7.cjs +1 -1
  132. package/dist/index7.js +1 -1
  133. package/dist/index70.cjs +1 -1
  134. package/dist/index70.js +1 -4
  135. package/dist/index71.cjs +1 -1
  136. package/dist/index71.js +1 -1
  137. package/dist/index72.cjs +1 -1
  138. package/dist/index72.js +4 -1
  139. package/dist/index73.cjs +1 -1
  140. package/dist/index73.js +1 -1
  141. package/dist/index74.cjs +1 -1
  142. package/dist/index74.js +1 -3
  143. package/dist/index75.cjs +1 -1
  144. package/dist/index75.js +1 -1
  145. package/dist/index76.cjs +1 -1
  146. package/dist/index76.js +3 -1
  147. package/dist/index77.cjs +1 -1
  148. package/dist/index77.js +1 -1
  149. package/dist/index78.cjs +1 -1
  150. package/dist/index78.js +1 -1
  151. package/dist/index79.cjs +1 -1
  152. package/dist/index79.js +1 -1
  153. package/dist/index8.cjs +1 -1
  154. package/dist/index8.js +1 -1
  155. package/dist/index80.cjs +1 -1
  156. package/dist/index80.js +1 -1
  157. package/dist/index81.cjs +1 -1
  158. package/dist/index81.js +1 -2
  159. package/dist/index82.cjs +1 -1
  160. package/dist/index82.js +1 -1
  161. package/dist/index83.cjs +1 -1
  162. package/dist/index83.js +2 -1
  163. package/dist/index84.cjs +1 -1
  164. package/dist/index84.js +1 -1
  165. package/dist/index85.cjs +1 -1
  166. package/dist/index85.js +1 -1
  167. package/dist/index86.cjs +1 -1
  168. package/dist/index86.js +1 -1
  169. package/dist/index87.cjs +1 -0
  170. package/dist/index87.js +1 -0
  171. package/dist/index88.cjs +1 -0
  172. package/dist/index88.js +1 -0
  173. package/dist/index9.cjs +1 -1
  174. package/dist/index9.js +1 -1
  175. package/dist/src/components/feedback/ai-loader/AiLoader.component.d.ts +5 -0
  176. package/dist/src/components/feedback/ai-loader/AiLoader.component.d.ts.map +1 -0
  177. package/dist/src/components/feedback/ai-loader/AiLoader.styles.d.ts +5 -0
  178. package/dist/src/components/feedback/ai-loader/AiLoader.styles.d.ts.map +1 -0
  179. package/dist/src/components/feedback/ai-loader/AiLoader.types.d.ts +10 -0
  180. package/dist/src/components/feedback/ai-loader/AiLoader.types.d.ts.map +1 -0
  181. package/dist/src/index.d.ts +2 -0
  182. package/dist/src/index.d.ts.map +1 -1
  183. package/dist/styles.css +1 -1
  184. package/package.json +1 -1
package/dist/index86.js CHANGED
@@ -1 +1 @@
1
- function n(){return"undefined"!=typeof window}function t(n){return r(n)?(n.nodeName||"").toLowerCase():"#document"}function e(n){var t;return(null==n||null==(t=n.ownerDocument)?void 0:t.defaultView)||window}function o(n){var t;return null==(t=(r(n)?n.ownerDocument:n.document)||window.document)?void 0:t.documentElement}function r(t){return!!n()&&(t instanceof Node||t instanceof e(t).Node)}function c(t){return!!n()&&(t instanceof Element||t instanceof e(t).Element)}function u(t){return!!n()&&(t instanceof HTMLElement||t instanceof e(t).HTMLElement)}function i(t){return!(!n()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof e(t).ShadowRoot)}const l=/* @__PURE__ */new Set(["inline","contents"]);function s(n){const{overflow:t,overflowX:e,overflowY:o,display:r}=C(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!l.has(r)}const a=/* @__PURE__ */new Set(["table","td","th"]);function f(n){return a.has(t(n))}const d=[":popover-open",":modal"];function p(n){return d.some(t=>{try{return n.matches(t)}catch(e){return!1}})}const m=["transform","translate","scale","rotate","perspective"],w=["transform","translate","scale","rotate","perspective","filter"],v=["paint","layout","strict","content"];function h(n){const t=S(),e=c(n)?C(n):n;return m.some(n=>!!e[n]&&"none"!==e[n])||!!e.containerType&&"normal"!==e.containerType||!t&&!!e.backdropFilter&&"none"!==e.backdropFilter||!t&&!!e.filter&&"none"!==e.filter||w.some(n=>(e.willChange||"").includes(n))||v.some(n=>(e.contain||"").includes(n))}function y(n){let t=L(n);for(;u(t)&&!T(t);){if(h(t))return t;if(p(t))return null;t=L(t)}return null}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const b=/* @__PURE__ */new Set(["html","body","#document"]);function T(n){return b.has(t(n))}function C(n){return e(n).getComputedStyle(n)}function E(n){return c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function L(n){if("html"===t(n))return n;const e=n.assignedSlot||n.parentNode||i(n)&&n.host||o(n);return i(e)?e.host:e}function D(n){const t=L(n);return T(t)?n.ownerDocument?n.ownerDocument.body:n.body:u(t)&&s(t)?t:D(t)}function g(n,t,o){var r;void 0===t&&(t=[]),void 0===o&&(o=!0);const c=D(n),u=c===(null==(r=n.ownerDocument)?void 0:r.body),i=e(c);if(u){const n=k(i);return t.concat(i,i.visualViewport||[],s(c)?c:[],n&&o?g(n):[])}return t.concat(c,g(c,[],o))}function k(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{C as getComputedStyle,y as getContainingBlock,o as getDocumentElement,k as getFrameElement,D as getNearestOverflowAncestor,t as getNodeName,E as getNodeScroll,g as getOverflowAncestors,L as getParentNode,e as getWindow,h as isContainingBlock,c as isElement,u as isHTMLElement,T as isLastTraversableNode,r as isNode,s as isOverflowElement,i as isShadowRoot,f as isTableElement,p as isTopLayer,S as isWebKit};
1
+ import{getSideAxis as e,getAlignmentAxis as t,getSide as n,getAlignment as i,evaluate as a,getPaddingObject as o,rectToClientRect as r,clamp as l,getOppositePlacement as s,getExpandedPlacements as f,getOppositeAxisPlacements as c,getAlignmentSides as m,min as d,max as g,getAxisLength as u,getOppositeAxis as p,sides as y}from"./index87.js";function w(a,o,r){let{reference:l,floating:s}=a;const f=e(o),c=t(o),m=u(c),d=n(o),g="y"===f,p=l.x+l.width/2-s.width/2,y=l.y+l.height/2-s.height/2,w=l[m]/2-s[m]/2;let h;switch(d){case"top":h={x:p,y:l.y-s.height};break;case"bottom":h={x:p,y:l.y+l.height};break;case"right":h={x:l.x+l.width,y:y};break;case"left":h={x:l.x-s.width,y:y};break;default:h={x:l.x,y:l.y}}switch(i(o)){case"start":h[c]-=w*(r&&g?-1:1);break;case"end":h[c]+=w*(r&&g?-1:1)}return h}async function h(e,t){var n;void 0===t&&(t={});const{x:i,y:l,platform:s,rects:f,elements:c,strategy:m}=e,{boundary:d="clippingAncestors",rootBoundary:g="viewport",elementContext:u="floating",altBoundary:p=!1,padding:y=0}=a(t,e),w=o(y),h=c[p?"floating"===u?"reference":"floating":u],x=r(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(h)))||n?h:h.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(c.floating)),boundary:d,rootBoundary:g,strategy:m})),v="floating"===u?{x:i,y:l,width:f.floating.width,height:f.floating.height}:f.reference,b=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c.floating)),A=await(null==s.isElement?void 0:s.isElement(b))&&await(null==s.getScale?void 0:s.getScale(b))||{x:1,y:1},O=r(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:m}):v);return{top:(x.top-O.top+w.top)/A.y,bottom:(O.bottom-x.bottom+w.bottom)/A.y,left:(x.left-O.left+w.left)/A.x,right:(O.right-x.right+w.right)/A.x}}const x=async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:o=[],platform:r}=n,l=o.filter(Boolean),s=await(null==r.isRTL?void 0:r.isRTL(t));let f=await r.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:m}=w(f,i,s),d=i,g={},u=0;for(let y=0;y<l.length;y++){var p;const{name:n,fn:o}=l[y],{x:x,y:v,data:b,reset:A}=await o({x:c,y:m,initialPlacement:i,placement:d,strategy:a,middlewareData:g,rects:f,platform:{...r,detectOverflow:null!=(p=r.detectOverflow)?p:h},elements:{reference:e,floating:t}});c=null!=x?x:c,m=null!=v?v:m,g={...g,[n]:{...g[n],...b}},A&&u<=50&&(u++,"object"==typeof A&&(A.placement&&(d=A.placement),A.rects&&(f=!0===A.rects?await r.getElementRects({reference:e,floating:t,strategy:a}):A.rects),({x:c,y:m}=w(f,d,s))),y=-1)}return{x:c,y:m,placement:d,strategy:a,middlewareData:g}},v=e=>({name:"arrow",options:e,async fn(n){const{x:r,y:s,placement:f,rects:c,platform:m,elements:g,middlewareData:p}=n,{element:y,padding:w=0}=a(e,n)||{};if(null==y)return{};const h=o(w),x={x:r,y:s},v=t(f),b=u(v),A=await m.getDimensions(y),O="y"===v,R=O?"top":"left",D=O?"bottom":"right",E=O?"clientHeight":"clientWidth",P=c.reference[b]+c.reference[v]-x[v]-c.floating[b],T=x[v]-c.reference[v],k=await(null==m.getOffsetParent?void 0:m.getOffsetParent(y));let L=k?k[E]:0;L&&await(null==m.isElement?void 0:m.isElement(k))||(L=g.floating[E]||c.floating[b]);const H=P/2-T/2,B=L/2-A[b]/2-1,S=d(h[R],B),C=d(h[D],B),j=S,F=L-A[b]-C,V=L/2-A[b]/2+H,W=l(j,V,F),z=!p.arrow&&null!=i(f)&&V!==W&&c.reference[b]/2-(V<j?S:C)-A[b]/2<0,q=z?V<j?V-j:V-F:0;return{[v]:x[v]+q,data:{[v]:W,centerOffset:V-W-q,...z&&{alignmentOffset:q}},reset:z}}}),b=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(i){var o,r;const{placement:l,middlewareData:d,rects:g,initialPlacement:u,platform:p,elements:y}=i,{mainAxis:w=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:A=!0,...O}=a(t,i);if(null!=(o=d.arrow)&&o.alignmentOffset)return{};const R=n(l),D=e(u),E=n(u)===u,P=await(null==p.isRTL?void 0:p.isRTL(y.floating)),T=x||(E||!A?[s(u)]:f(u)),k="none"!==b;!x&&k&&T.push(...c(u,A,b,P));const L=[u,...T],H=await p.detectOverflow(i,O),B=[];let S=(null==(r=d.flip)?void 0:r.overflows)||[];if(w&&B.push(H[R]),h){const e=m(l,g,P);B.push(H[e[0]],H[e[1]])}if(S=[...S,{placement:l,overflows:B}],!B.every(e=>e<=0)){var C,j;const t=((null==(C=d.flip)?void 0:C.index)||0)+1,n=L[t];if(n){if(!("alignment"===h&&D!==e(n))||S.every(t=>e(t.placement)!==D||t.overflows[0]>0))return{data:{index:t,overflows:S},reset:{placement:n}}}let i=null==(j=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:j.placement;if(!i)switch(v){case"bestFit":{var F;const t=null==(F=S.filter(t=>{if(k){const n=e(t.placement);return n===D||"y"===n}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:F[0];t&&(i=t);break}case"initialPlacement":i=u}if(l!==i)return{reset:{placement:i}}}return{}}}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return y.some(t=>e[t]>=0)}const R=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:i}=t,{strategy:o="referenceHidden",...r}=a(e,t);switch(o){case"referenceHidden":{const e=A(await i.detectOverflow(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:O(e)}}}case"escaped":{const e=A(await i.detectOverflow(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:O(e)}}}default:return{}}}}},D=/* @__PURE__ */new Set(["left","top"]);const E=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(o){var r,l;const{x:s,y:f,placement:c,middlewareData:m}=o,d=await async function(t,o){const{placement:r,platform:l,elements:s}=t,f=await(null==l.isRTL?void 0:l.isRTL(s.floating)),c=n(r),m=i(r),d="y"===e(r),g=D.has(c)?-1:1,u=f&&d?-1:1,p=a(o,t);let{mainAxis:y,crossAxis:w,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return m&&"number"==typeof h&&(w="end"===m?-1*h:h),d?{x:w*u,y:y*g}:{x:y*g,y:w*u}}(o,t);return c===(null==(r=m.offset)?void 0:r.placement)&&null!=(l=m.arrow)&&l.alignmentOffset?{}:{x:s+d.x,y:f+d.y,data:{...d,placement:c}}}}},P=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(i){const{x:o,y:r,placement:s,platform:f}=i,{mainAxis:c=!0,crossAxis:m=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...g}=a(t,i),u={x:o,y:r},y=await f.detectOverflow(i,g),w=e(n(s)),h=p(w);let x=u[h],v=u[w];if(c){const e="y"===h?"bottom":"right",t=x+y["y"===h?"top":"left"],n=x-y[e];x=l(t,x,n)}if(m){const e="y"===w?"bottom":"right",t=v+y["y"===w?"top":"left"],n=v-y[e];v=l(t,v,n)}const b=d.fn({...i,[h]:x,[w]:v});return{...b,data:{x:b.x-o,y:b.y-r,enabled:{[h]:c,[w]:m}}}}}},T=function(t){return void 0===t&&(t={}),{options:t,fn(i){const{x:o,y:r,placement:l,rects:s,middlewareData:f}=i,{offset:c=0,mainAxis:m=!0,crossAxis:d=!0}=a(t,i),g={x:o,y:r},u=e(l),y=p(u);let w=g[y],h=g[u];const x=a(c,i),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(m){const e="y"===y?"height":"width",t=s.reference[y]-s.floating[e]+v.mainAxis,n=s.reference[y]+s.reference[e]-v.mainAxis;w<t?w=t:w>n&&(w=n)}if(d){var b,A;const e="y"===y?"width":"height",t=D.has(n(l)),i=s.reference[u]-s.floating[e]+(t&&(null==(b=f.offset)?void 0:b[u])||0)+(t?0:v.crossAxis),a=s.reference[u]+s.reference[e]+(t?0:(null==(A=f.offset)?void 0:A[u])||0)-(t?v.crossAxis:0);h<i?h=i:h>a&&(h=a)}return{[y]:w,[u]:h}}}},k=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(o){var r,l;const{placement:s,rects:f,platform:c,elements:m}=o,{apply:u=()=>{},...p}=a(t,o),y=await c.detectOverflow(o,p),w=n(s),h=i(s),x="y"===e(s),{width:v,height:b}=f.floating;let A,O;"top"===w||"bottom"===w?(A=w,O=h===(await(null==c.isRTL?void 0:c.isRTL(m.floating))?"start":"end")?"left":"right"):(O=w,A="end"===h?"top":"bottom");const R=b-y.top-y.bottom,D=v-y.left-y.right,E=d(b-y[A],R),P=d(v-y[O],D),T=!o.middlewareData.shift;let k=E,L=P;if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(L=D),null!=(l=o.middlewareData.shift)&&l.enabled.y&&(k=R),T&&!h){const e=g(y.left,0),t=g(y.right,0),n=g(y.top,0),i=g(y.bottom,0);x?L=v-2*(0!==e||0!==t?e+t:g(y.left,y.right)):k=b-2*(0!==n||0!==i?n+i:g(y.top,y.bottom))}await u({...o,availableWidth:L,availableHeight:k});const H=await c.getDimensions(m.floating);return v!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};export{v as arrow,x as computePosition,h as detectOverflow,b as flip,R as hide,T as limitShift,E as offset,r as rectToClientRect,P as shift,k as size};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=Math.min,e=Math.max,o=Math.round,n=Math.floor,r={left:"right",right:"left",bottom:"top",top:"bottom"},i={start:"end",end:"start"};function s(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function c(t){return"x"===t?"y":"x"}function u(t){return"y"===t?"height":"width"}const x=new Set(["top","bottom"]);function a(t){return x.has(s(t))?"y":"x"}function g(t){return c(a(t))}function f(t){return t.replace(/start|end/g,t=>i[t])}const l=["left","right"],m=["right","left"],h=["top","bottom"],d=["bottom","top"];function b(t){return t.replace(/left|right|bottom|top/g,t=>r[t])}function y(t){return{top:0,right:0,bottom:0,left:0,...t}}exports.clamp=function(o,n,r){return e(o,t(n,r))},exports.createCoords=t=>({x:t,y:t}),exports.evaluate=function(t,e){return"function"==typeof t?t(e):t},exports.expandPaddingObject=y,exports.floor=n,exports.getAlignment=p,exports.getAlignmentAxis=g,exports.getAlignmentSides=function(t,e,o){void 0===o&&(o=!1);const n=p(t),r=g(t),i=u(r);let s="x"===r?n===(o?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=b(s)),[s,b(s)]},exports.getAxisLength=u,exports.getExpandedPlacements=function(t){const e=b(t);return[f(t),e,f(e)]},exports.getOppositeAlignmentPlacement=f,exports.getOppositeAxis=c,exports.getOppositeAxisPlacements=function(t,e,o,n){const r=p(t);let i=function(t,e,o){switch(t){case"top":case"bottom":return o?e?m:l:e?l:m;case"left":case"right":return e?h:d;default:return[]}}(s(t),"start"===o,n);return r&&(i=i.map(t=>t+"-"+r),e&&(i=i.concat(i.map(f)))),i},exports.getOppositePlacement=b,exports.getPaddingObject=function(t){return"number"!=typeof t?y(t):{top:t,right:t,bottom:t,left:t}},exports.getSide=s,exports.getSideAxis=a,exports.max=e,exports.min=t,exports.rectToClientRect=function(t){const{x:e,y:o,width:n,height:r}=t;return{width:n,height:r,top:o,left:e,right:e+n,bottom:o+r,x:e,y:o}},exports.round=o,exports.sides=["top","right","bottom","left"];
@@ -0,0 +1 @@
1
+ const t=["top","right","bottom","left"],n=Math.min,o=Math.max,r=Math.round,e=Math.floor,i=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function f(t,r,e){return o(t,n(r,e))}function h(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function l(t){return"y"===t?"height":"width"}const g=/* @__PURE__ */new Set(["top","bottom"]);function m(t){return g.has(a(t))?"y":"x"}function b(t){return s(m(t))}function d(t,n,o){void 0===o&&(o=!1);const r=p(t),e=b(t),i=l(e);let u="x"===e?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(u=k(u)),[u,k(u)]}function x(t){const n=k(t);return[y(t),n,y(n)]}function y(t){return t.replace(/start|end/g,t=>c[t])}const w=["left","right"],M=["right","left"],v=["top","bottom"],S=["bottom","top"];function j(t,n,o,r){const e=p(t);let i=function(t,n,o){switch(t){case"top":case"bottom":return o?n?M:w:n?w:M;case"left":case"right":return n?v:S;default:return[]}}(a(t),"start"===o,r);return e&&(i=i.map(t=>t+"-"+e),n&&(i=i.concat(i.map(y)))),i}function k(t){return t.replace(/left|right|bottom|top/g,t=>u[t])}function q(t){return{top:0,right:0,bottom:0,left:0,...t}}function z(t){return"number"!=typeof t?q(t):{top:t,right:t,bottom:t,left:t}}function A(t){const{x:n,y:o,width:r,height:e}=t;return{width:r,height:e,top:o,left:n,right:n+r,bottom:o+e,x:n,y:o}}export{f as clamp,i as createCoords,h as evaluate,q as expandPaddingObject,e as floor,p as getAlignment,b as getAlignmentAxis,d as getAlignmentSides,l as getAxisLength,x as getExpandedPlacements,y as getOppositeAlignmentPlacement,s as getOppositeAxis,j as getOppositeAxisPlacements,k as getOppositePlacement,z as getPaddingObject,a as getSide,m as getSideAxis,o as max,n as min,A as rectToClientRect,r as round,t as sides};
@@ -0,0 +1 @@
1
+ "use strict";function e(){return"undefined"!=typeof window}function t(e){return r(e)?(e.nodeName||"").toLowerCase():"#document"}function n(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function o(e){var t;return null==(t=(r(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function r(t){return!!e()&&(t instanceof Node||t instanceof n(t).Node)}function s(t){return!!e()&&(t instanceof Element||t instanceof n(t).Element)}function c(t){return!!e()&&(t instanceof HTMLElement||t instanceof n(t).HTMLElement)}function i(t){return!(!e()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof n(t).ShadowRoot)}Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=new Set(["inline","contents"]);function u(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!l.has(r)}const a=new Set(["table","td","th"]);const f=[":popover-open",":modal"];function p(e){return f.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const d=["transform","translate","scale","rotate","perspective"],m=["transform","translate","scale","rotate","perspective","filter"],w=["paint","layout","strict","content"];function v(e){const t=x(),n=s(e)?g(e):e;return d.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||m.some(e=>(n.willChange||"").includes(e))||w.some(e=>(n.contain||"").includes(e))}function x(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const y=new Set(["html","body","#document"]);function S(e){return y.has(t(e))}function g(e){return n(e).getComputedStyle(e)}function h(e){if("html"===t(e))return e;const n=e.assignedSlot||e.parentNode||i(e)&&e.host||o(e);return i(n)?n.host:n}function b(e){const t=h(e);return S(t)?e.ownerDocument?e.ownerDocument.body:e.body:c(t)&&u(t)?t:b(t)}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}exports.getComputedStyle=g,exports.getContainingBlock=function(e){let t=h(e);for(;c(t)&&!S(t);){if(v(t))return t;if(p(t))return null;t=h(t)}return null},exports.getDocumentElement=o,exports.getFrameElement=E,exports.getNearestOverflowAncestor=b,exports.getNodeName=t,exports.getNodeScroll=function(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},exports.getOverflowAncestors=function e(t,o,r){var s;void 0===o&&(o=[]),void 0===r&&(r=!0);const c=b(t),i=c===(null==(s=t.ownerDocument)?void 0:s.body),l=n(c);if(i){const t=E(l);return o.concat(l,l.visualViewport||[],u(c)?c:[],t&&r?e(t):[])}return o.concat(c,e(c,[],r))},exports.getParentNode=h,exports.getWindow=n,exports.isContainingBlock=v,exports.isElement=s,exports.isHTMLElement=c,exports.isLastTraversableNode=S,exports.isNode=r,exports.isOverflowElement=u,exports.isShadowRoot=i,exports.isTableElement=function(e){return a.has(t(e))},exports.isTopLayer=p,exports.isWebKit=x;
@@ -0,0 +1 @@
1
+ function n(){return"undefined"!=typeof window}function t(n){return r(n)?(n.nodeName||"").toLowerCase():"#document"}function e(n){var t;return(null==n||null==(t=n.ownerDocument)?void 0:t.defaultView)||window}function o(n){var t;return null==(t=(r(n)?n.ownerDocument:n.document)||window.document)?void 0:t.documentElement}function r(t){return!!n()&&(t instanceof Node||t instanceof e(t).Node)}function c(t){return!!n()&&(t instanceof Element||t instanceof e(t).Element)}function u(t){return!!n()&&(t instanceof HTMLElement||t instanceof e(t).HTMLElement)}function i(t){return!(!n()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof e(t).ShadowRoot)}const l=/* @__PURE__ */new Set(["inline","contents"]);function s(n){const{overflow:t,overflowX:e,overflowY:o,display:r}=C(n);return/auto|scroll|overlay|hidden|clip/.test(t+o+e)&&!l.has(r)}const a=/* @__PURE__ */new Set(["table","td","th"]);function f(n){return a.has(t(n))}const d=[":popover-open",":modal"];function p(n){return d.some(t=>{try{return n.matches(t)}catch(e){return!1}})}const m=["transform","translate","scale","rotate","perspective"],w=["transform","translate","scale","rotate","perspective","filter"],v=["paint","layout","strict","content"];function h(n){const t=S(),e=c(n)?C(n):n;return m.some(n=>!!e[n]&&"none"!==e[n])||!!e.containerType&&"normal"!==e.containerType||!t&&!!e.backdropFilter&&"none"!==e.backdropFilter||!t&&!!e.filter&&"none"!==e.filter||w.some(n=>(e.willChange||"").includes(n))||v.some(n=>(e.contain||"").includes(n))}function y(n){let t=L(n);for(;u(t)&&!T(t);){if(h(t))return t;if(p(t))return null;t=L(t)}return null}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const b=/* @__PURE__ */new Set(["html","body","#document"]);function T(n){return b.has(t(n))}function C(n){return e(n).getComputedStyle(n)}function E(n){return c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function L(n){if("html"===t(n))return n;const e=n.assignedSlot||n.parentNode||i(n)&&n.host||o(n);return i(e)?e.host:e}function D(n){const t=L(n);return T(t)?n.ownerDocument?n.ownerDocument.body:n.body:u(t)&&s(t)?t:D(t)}function g(n,t,o){var r;void 0===t&&(t=[]),void 0===o&&(o=!0);const c=D(n),u=c===(null==(r=n.ownerDocument)?void 0:r.body),i=e(c);if(u){const n=k(i);return t.concat(i,i.visualViewport||[],s(c)?c:[],n&&o?g(n):[])}return t.concat(c,g(c,[],o))}function k(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}export{C as getComputedStyle,y as getContainingBlock,o as getDocumentElement,k as getFrameElement,D as getNearestOverflowAncestor,t as getNodeName,E as getNodeScroll,g as getOverflowAncestors,L as getParentNode,e as getWindow,h as isContainingBlock,c as isElement,u as isHTMLElement,T as isLastTraversableNode,r as isNode,s as isOverflowElement,i as isShadowRoot,f as isTableElement,p as isTopLayer,S as isWebKit};
package/dist/index9.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("./index37.cjs"),n=require("./index38.cjs"),l=t.forwardRef(({allowHyphen:l=!1,allowUnderscore:r=!1,allowSpace:s=!1,minLength:u,maxLength:i,validate:c,onChange:o,"data-cy":p,"data-testid":d,...h},g)=>{const m=t.useRef(null),f=n.useMergedRef(g,m),v=t.useMemo(()=>{let e="^[a-zA-Z0-9";return l&&(e+="\\-"),r&&(e+="_"),s&&(e+=" "),e+="]*$",new RegExp(e)},[l,r,s]),x=t.useMemo(()=>{let e="[a-zA-Z0-9";return l&&(e+="\\-"),r&&(e+="_"),s&&(e+=" "),e+="]",new RegExp(e)},[l,r,s]),y=t.useCallback(e=>{if(e){if(!v.test(e)){let e="letters and numbers";const t=[];return l&&t.push("hyphens"),r&&t.push("underscores"),s&&t.push("spaces"),t.length>0&&(e+=`, ${t.join(", ")}`),`Only ${e} are allowed`}return void 0!==u&&e.length<u?`Must be at least ${u} characters`:void 0!==i&&e.length>i?`Must be at most ${i} characters`:void 0}},[v,u,i,l,r,s]),b=t.useCallback(e=>c?y(e)||c(e):y(e),[y,c]),[j,w]=t.useState(null);t.useEffect(()=>{null!==j&&m.current&&(m.current.setSelectionRange(j,j),w(null))},[h.value,j]);const R=t.useCallback(e=>{const t=e.target,a=t.value,n=t.selectionStart||0,l=a.split("").filter(e=>x.test(e)).join(""),r=n-a.slice(0,n).split("").filter(e=>!x.test(e)).length;t.value=l;void 0!==h.value?w(r):t.setSelectionRange(r,r),o?.(e)},[x,o,h.value]);return e.jsx(a.Input,{ref:f,type:"text",minLength:u,maxLength:i,validate:b,onChange:R,"data-cy":p||"alphanumeric-input","data-testid":d||"alphanumeric-input",...h})});l.displayName="AlphanumericInput",exports.AlphanumericInput=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("./index38.cjs"),n=require("./index39.cjs"),l=t.forwardRef(({allowHyphen:l=!1,allowUnderscore:r=!1,allowSpace:s=!1,minLength:u,maxLength:i,validate:c,onChange:o,"data-cy":p,"data-testid":d,...h},g)=>{const m=t.useRef(null),f=n.useMergedRef(g,m),v=t.useMemo(()=>{let e="^[a-zA-Z0-9";return l&&(e+="\\-"),r&&(e+="_"),s&&(e+=" "),e+="]*$",new RegExp(e)},[l,r,s]),x=t.useMemo(()=>{let e="[a-zA-Z0-9";return l&&(e+="\\-"),r&&(e+="_"),s&&(e+=" "),e+="]",new RegExp(e)},[l,r,s]),y=t.useCallback(e=>{if(e){if(!v.test(e)){let e="letters and numbers";const t=[];return l&&t.push("hyphens"),r&&t.push("underscores"),s&&t.push("spaces"),t.length>0&&(e+=`, ${t.join(", ")}`),`Only ${e} are allowed`}return void 0!==u&&e.length<u?`Must be at least ${u} characters`:void 0!==i&&e.length>i?`Must be at most ${i} characters`:void 0}},[v,u,i,l,r,s]),b=t.useCallback(e=>c?y(e)||c(e):y(e),[y,c]),[j,w]=t.useState(null);t.useEffect(()=>{null!==j&&m.current&&(m.current.setSelectionRange(j,j),w(null))},[h.value,j]);const R=t.useCallback(e=>{const t=e.target,a=t.value,n=t.selectionStart||0,l=a.split("").filter(e=>x.test(e)).join(""),r=n-a.slice(0,n).split("").filter(e=>!x.test(e)).length;t.value=l;void 0!==h.value?w(r):t.setSelectionRange(r,r),o?.(e)},[x,o,h.value]);return e.jsx(a.Input,{ref:f,type:"text",minLength:u,maxLength:i,validate:b,onChange:R,"data-cy":p||"alphanumeric-input","data-testid":d||"alphanumeric-input",...h})});l.displayName="AlphanumericInput",exports.AlphanumericInput=l;
package/dist/index9.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import{forwardRef as t,useRef as n,useMemo as a,useCallback as l,useState as r,useEffect as s}from"react";import{Input as i}from"./index37.js";import{useMergedRef as o}from"./index38.js";const u=t(({allowHyphen:t=!1,allowUnderscore:u=!1,allowSpace:c=!1,minLength:p,maxLength:h,validate:d,onChange:m,"data-cy":g,"data-testid":v,...f},x)=>{const y=n(null),w=o(x,y),j=a(()=>{let e="^[a-zA-Z0-9";return t&&(e+="\\-"),u&&(e+="_"),c&&(e+=" "),e+="]*$",new RegExp(e)},[t,u,c]),$=a(()=>{let e="[a-zA-Z0-9";return t&&(e+="\\-"),u&&(e+="_"),c&&(e+=" "),e+="]",new RegExp(e)},[t,u,c]),L=l(e=>{if(e){if(!j.test(e)){let e="letters and numbers";const n=[];return t&&n.push("hyphens"),u&&n.push("underscores"),c&&n.push("spaces"),n.length>0&&(e+=`, ${n.join(", ")}`),`Only ${e} are allowed`}return void 0!==p&&e.length<p?`Must be at least ${p} characters`:void 0!==h&&e.length>h?`Must be at most ${h} characters`:void 0}},[j,p,h,t,u,c]),R=l(e=>d?L(e)||d(e):L(e),[L,d]),[S,b]=r(null);s(()=>{null!==S&&y.current&&(y.current.setSelectionRange(S,S),b(null))},[f.value,S]);const A=l(e=>{const t=e.target,n=t.value,a=t.selectionStart||0,l=n.split("").filter(e=>$.test(e)).join(""),r=a-n.slice(0,a).split("").filter(e=>!$.test(e)).length;t.value=l;void 0!==f.value?b(r):t.setSelectionRange(r,r),m?.(e)},[$,m,f.value]);/* @__PURE__ */
1
+ import{jsx as e}from"react/jsx-runtime";import{forwardRef as t,useRef as n,useMemo as a,useCallback as l,useState as r,useEffect as s}from"react";import{Input as i}from"./index38.js";import{useMergedRef as o}from"./index39.js";const u=t(({allowHyphen:t=!1,allowUnderscore:u=!1,allowSpace:c=!1,minLength:p,maxLength:h,validate:d,onChange:m,"data-cy":g,"data-testid":v,...f},x)=>{const y=n(null),w=o(x,y),j=a(()=>{let e="^[a-zA-Z0-9";return t&&(e+="\\-"),u&&(e+="_"),c&&(e+=" "),e+="]*$",new RegExp(e)},[t,u,c]),$=a(()=>{let e="[a-zA-Z0-9";return t&&(e+="\\-"),u&&(e+="_"),c&&(e+=" "),e+="]",new RegExp(e)},[t,u,c]),L=l(e=>{if(e){if(!j.test(e)){let e="letters and numbers";const n=[];return t&&n.push("hyphens"),u&&n.push("underscores"),c&&n.push("spaces"),n.length>0&&(e+=`, ${n.join(", ")}`),`Only ${e} are allowed`}return void 0!==p&&e.length<p?`Must be at least ${p} characters`:void 0!==h&&e.length>h?`Must be at most ${h} characters`:void 0}},[j,p,h,t,u,c]),R=l(e=>d?L(e)||d(e):L(e),[L,d]),[S,b]=r(null);s(()=>{null!==S&&y.current&&(y.current.setSelectionRange(S,S),b(null))},[f.value,S]);const A=l(e=>{const t=e.target,n=t.value,a=t.selectionStart||0,l=n.split("").filter(e=>$.test(e)).join(""),r=a-n.slice(0,a).split("").filter(e=>!$.test(e)).length;t.value=l;void 0!==f.value?b(r):t.setSelectionRange(r,r),m?.(e)},[$,m,f.value]);/* @__PURE__ */
2
2
  return e(i,{ref:w,type:"text",minLength:p,maxLength:h,validate:R,onChange:A,"data-cy":g||"alphanumeric-input","data-testid":v||"alphanumeric-input",...f})});u.displayName="AlphanumericInput";export{u as AlphanumericInput};
@@ -0,0 +1,5 @@
1
+ import { AiLoaderProps } from './AiLoader.types';
2
+
3
+ export declare const AiLoader: import('react').ForwardRefExoticComponent<AiLoaderProps & import('react').RefAttributes<HTMLDivElement>>;
4
+ export type { AiLoaderProps, AiLoaderSize } from './AiLoader.types';
5
+ //# sourceMappingURL=AiLoader.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiLoader.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ai-loader/AiLoader.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,QAAQ,0GAoFpB,CAAC;AAIF,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { AiLoaderSize } from './AiLoader.types';
2
+
3
+ export declare const containerStyles: Record<AiLoaderSize, string>;
4
+ export declare const rootStyles = "inline-flex items-center justify-center relative";
5
+ //# sourceMappingURL=AiLoader.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiLoader.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ai-loader/AiLoader.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAIxD,CAAC;AAEF,eAAO,MAAM,UAAU,qDAAqD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+
3
+ export type AiLoaderSize = 'sm' | 'md' | 'lg';
4
+ export interface AiLoaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style' | 'className'> {
5
+ size?: AiLoaderSize;
6
+ label?: string;
7
+ 'data-cy'?: string;
8
+ 'data-testid'?: string;
9
+ }
10
+ //# sourceMappingURL=AiLoader.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AiLoader.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ai-loader/AiLoader.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAChG,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -58,5 +58,7 @@ export { Link } from './components/typography/link/Link.component';
58
58
  export type { LinkProps, LinkColor, LinkSize, LinkWeight, } from './components/typography/link/Link.component';
59
59
  export { Spinner } from './components/feedback/spinner/Spinner.component';
60
60
  export type { SpinnerProps, SpinnerSize, SpinnerColor, SpinnerVariant, } from './components/feedback/spinner/Spinner.component';
61
+ export { AiLoader } from './components/feedback/ai-loader/AiLoader.component';
62
+ export type { AiLoaderProps, AiLoaderSize, } from './components/feedback/ai-loader/AiLoader.component';
61
63
  export { cn, generateId } from './lib';
62
64
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,YAAY,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAE1F,OAAO,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAC7F,YAAY,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAEvG,OAAO,EACL,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,aAAa,GACd,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AACjF,YAAY,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAC;AAC1F,YAAY,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AAEpG,OAAO,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AACvF,YAAY,EAAE,iBAAi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