@banzamel/mineralui 1.6.0 → 1.6.1

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 (66) hide show
  1. package/README.md +1 -1
  2. package/dist/components/display/MCodeBlock/MCodeBlock.d.ts +1 -1
  3. package/dist/display-DN4EHu5P.cjs +3 -0
  4. package/dist/display-DN4EHu5P.cjs.map +1 -0
  5. package/dist/{display-Xqa2Qns3.js → display-imLV7i6d.js} +43 -37
  6. package/dist/display-imLV7i6d.js.map +1 -0
  7. package/dist/display.cjs +1 -1
  8. package/dist/display.js +1 -1
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/prism-c-DBlZetAm.js +56 -0
  12. package/dist/prism-c-DBlZetAm.js.map +1 -0
  13. package/dist/prism-c-DwJ0sL1f.cjs +2 -0
  14. package/dist/prism-c-DwJ0sL1f.cjs.map +1 -0
  15. package/dist/{prism-clike-wkj9YeLx.cjs → prism-clike-BHy7LBAZ.cjs} +1 -1
  16. package/dist/{prism-clike-wkj9YeLx.cjs.map → prism-clike-BHy7LBAZ.cjs.map} +1 -1
  17. package/dist/{prism-clike-D3g4BfTi.js → prism-clike-CrtZga9r.js} +1 -1
  18. package/dist/{prism-clike-D3g4BfTi.js.map → prism-clike-CrtZga9r.js.map} +1 -1
  19. package/dist/{prism-core-DV2K1D4T.js → prism-core-DsZQ3wSm.js} +1 -1
  20. package/dist/{prism-core-DV2K1D4T.js.map → prism-core-DsZQ3wSm.js.map} +1 -1
  21. package/dist/{prism-core-LzKRJzwD.cjs → prism-core-Z2NDHfPM.cjs} +1 -1
  22. package/dist/{prism-core-LzKRJzwD.cjs.map → prism-core-Z2NDHfPM.cjs.map} +1 -1
  23. package/dist/prism-cpp-CXyjGEks.cjs +2 -0
  24. package/dist/prism-cpp-CXyjGEks.cjs.map +1 -0
  25. package/dist/prism-cpp-DerVaWjZ.js +65 -0
  26. package/dist/prism-cpp-DerVaWjZ.js.map +1 -0
  27. package/dist/{prism-css-4cDqr1x6.js → prism-css-Bx_bUmkm.js} +1 -1
  28. package/dist/{prism-css-4cDqr1x6.js.map → prism-css-Bx_bUmkm.js.map} +1 -1
  29. package/dist/{prism-css-BZZ6kh29.cjs → prism-css-q8i9Tl0Y.cjs} +1 -1
  30. package/dist/{prism-css-BZZ6kh29.cjs.map → prism-css-q8i9Tl0Y.cjs.map} +1 -1
  31. package/dist/{prism-javascript-CMvYmmlX.cjs → prism-javascript-CC_WcCH4.cjs} +1 -1
  32. package/dist/{prism-javascript-CMvYmmlX.cjs.map → prism-javascript-CC_WcCH4.cjs.map} +1 -1
  33. package/dist/{prism-javascript-zm5iB3gQ.js → prism-javascript-uSHTlCK6.js} +1 -1
  34. package/dist/{prism-javascript-zm5iB3gQ.js.map → prism-javascript-uSHTlCK6.js.map} +1 -1
  35. package/dist/{prism-json-BJI5f6tN.js → prism-json-CRpBxccA.js} +1 -1
  36. package/dist/{prism-json-BJI5f6tN.js.map → prism-json-CRpBxccA.js.map} +1 -1
  37. package/dist/{prism-json-D_zmeAHJ.cjs → prism-json-CvwHQDim.cjs} +1 -1
  38. package/dist/{prism-json-D_zmeAHJ.cjs.map → prism-json-CvwHQDim.cjs.map} +1 -1
  39. package/dist/{prism-jsx-Dk33B94U.js → prism-jsx-CSsxTxi5.js} +1 -1
  40. package/dist/{prism-jsx-Dk33B94U.js.map → prism-jsx-CSsxTxi5.js.map} +1 -1
  41. package/dist/{prism-jsx-Byyxdkmw.cjs → prism-jsx-ZJAX6mJe.cjs} +1 -1
  42. package/dist/{prism-jsx-Byyxdkmw.cjs.map → prism-jsx-ZJAX6mJe.cjs.map} +1 -1
  43. package/dist/{prism-markup-Cj0PLFM8.js → prism-markup-Cc4COxfn.js} +1 -1
  44. package/dist/{prism-markup-Cj0PLFM8.js.map → prism-markup-Cc4COxfn.js.map} +1 -1
  45. package/dist/{prism-markup-7d9NWx3c.cjs → prism-markup-RTw80xRC.cjs} +1 -1
  46. package/dist/{prism-markup-7d9NWx3c.cjs.map → prism-markup-RTw80xRC.cjs.map} +1 -1
  47. package/dist/{prism-markup-templating-BM_XViUy.cjs → prism-markup-templating-CylI3Gpj.cjs} +1 -1
  48. package/dist/{prism-markup-templating-BM_XViUy.cjs.map → prism-markup-templating-CylI3Gpj.cjs.map} +1 -1
  49. package/dist/{prism-markup-templating-Dc6p1a24.js → prism-markup-templating-D4w8OHUw.js} +1 -1
  50. package/dist/{prism-markup-templating-Dc6p1a24.js.map → prism-markup-templating-D4w8OHUw.js.map} +1 -1
  51. package/dist/{prism-php-C_g4bp0C.cjs → prism-php-CMZ7fRp0.cjs} +1 -1
  52. package/dist/{prism-php-C_g4bp0C.cjs.map → prism-php-CMZ7fRp0.cjs.map} +1 -1
  53. package/dist/{prism-php-CGE55yTu.js → prism-php-nJ_CzHXP.js} +1 -1
  54. package/dist/{prism-php-CGE55yTu.js.map → prism-php-nJ_CzHXP.js.map} +1 -1
  55. package/dist/{prism-tsx-Buubi-AJ.cjs → prism-tsx-CvHlXV3S.cjs} +1 -1
  56. package/dist/{prism-tsx-Buubi-AJ.cjs.map → prism-tsx-CvHlXV3S.cjs.map} +1 -1
  57. package/dist/{prism-tsx-CueLxs1r.js → prism-tsx-UlwV29L3.js} +1 -1
  58. package/dist/{prism-tsx-CueLxs1r.js.map → prism-tsx-UlwV29L3.js.map} +1 -1
  59. package/dist/{prism-typescript-DC-urVo-.js → prism-typescript-BA7hsZPZ.js} +1 -1
  60. package/dist/{prism-typescript-DC-urVo-.js.map → prism-typescript-BA7hsZPZ.js.map} +1 -1
  61. package/dist/{prism-typescript-Cj7wU8T7.cjs → prism-typescript-CDAVIXup.cjs} +1 -1
  62. package/dist/{prism-typescript-Cj7wU8T7.cjs.map → prism-typescript-CDAVIXup.cjs.map} +1 -1
  63. package/package.json +1 -1
  64. package/dist/display-BoXtzMg5.cjs +0 -3
  65. package/dist/display-BoXtzMg5.cjs.map +0 -1
  66. package/dist/display-Xqa2Qns3.js.map +0 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Modern React UI framework with a sharp admin aesthetic, theming system, and production-ready components.
4
4
 
5
5
  - npm: `@banzamel/mineralui`
6
- - version: `1.6.0`
6
+ - version: `1.6.1`
7
7
  - peer dependencies: `react >= 19`, `react-dom >= 19`
8
8
  - repository: `https://github.com/Banzamel/mineralui`
9
9
  - homepage: `https://mineralui.io`
@@ -1,2 +1,2 @@
1
1
  import { MCodeBlockProps } from './MCodeBlock.types';
2
- export declare function MCodeBlock({ code, language, title, showHeader, showLanguage, showCopyButton, copyLabel, copiedLabel, maxHeight, animated, lineNumbers, className, ...rest }: MCodeBlockProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function MCodeBlock({ code, language, title, showHeader, showLanguage, showCopyButton, copyLabel, copiedLabel, maxHeight, stretch, animated, lineNumbers, className, ...rest }: MCodeBlockProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ const e=require(`./chunk-350yNsax.cjs`),t=require(`./icons-BJCV7W0L.cjs`),n=require(`./cn-DYFxgzi2.cjs`),r=require(`./MInline-D9p9Sazp.cjs`),i=require(`./MText-COzub3y4.cjs`),a=require(`./MButton-LUNWBBOV.cjs`),o=require(`./MBadge-DcIPfPH1.cjs`),s=require(`./MSkeleton-B0Mxe3L7.cjs`),c=require(`./MStack-Cy2GplIA.cjs`);let l=require(`react`),u=require(`react/jsx-runtime`);function d({title:e,defaultOpen:r=!1,open:i,onToggle:o,color:s=`primary`,className:d,children:f,...p}){let[m,h]=(0,l.useState)(r),g=i??m,_=()=>{let e=!g;i===void 0&&h(e),o?.(e)},v=(0,u.jsx)(`span`,{className:n.t(`chevron`,g&&`open`),"aria-hidden":`true`,children:(0,u.jsx)(t.Ni,{})});return(0,u.jsxs)(`div`,{className:n.t(`collapsible`,d),...p,children:[(0,u.jsx)(a.t,{variant:`ghost`,color:s,className:`trigger`,"aria-expanded":g,onClick:_,endIcon:v,children:e}),(0,u.jsx)(`div`,{className:n.t(`content-wrap`,g&&`open`),"aria-hidden":!g,children:(0,u.jsx)(c.t,{className:`content`,children:f})})]})}function f(e){return null}function p({multiple:e=!1,defaultOpen:t,onChange:r,bordered:i=!1,color:a,className:o,children:s,...c}){let[p,m]=(0,l.useState)(Array.isArray(t)?t:t?[t]:[]),h=(0,l.useCallback)((t,n)=>{m(i=>{let a;return a=n?e?[...i,t]:[t]:i.filter(e=>e!==t),r?.(a),a})},[e,r]),g=l.Children.toArray(s).filter(e=>(0,l.isValidElement)(e)&&e.type===f);return(0,u.jsx)(`div`,{className:n.t(`accordion`,i&&`bordered`,o),...c,children:g.map(e=>{if(!(0,l.isValidElement)(e))return null;let{id:t,title:r,children:i,disabled:o,color:s}=e.props,c=p.includes(t);return(0,u.jsx)(`div`,{className:n.t(`accordion-item`,o&&`disabled`),children:(0,u.jsx)(d,{title:r,open:c,onToggle:o?void 0:e=>h(t,e),color:s??a,children:i})},t)})})}var m=800;function h(e){return 1-(1-e)**3}function g({value:e,max:t=100,color:r=`primary`,size:i=`md`,label:a,showValue:o=!1,animated:s=!1,striped:c=!1,className:d,...f}){let p=Math.min(100,Math.max(0,e/t*100)),[g,_]=(0,l.useState)(0),[v,y]=(0,l.useState)(0),b=(0,l.useRef)(0),x=(0,l.useRef)(0),S=(0,l.useCallback)((e,t)=>{cancelAnimationFrame(x.current);let n=performance.now(),r=i=>{let a=i-n,o=Math.min(a/m,1),s=h(o);_(e+(t-e)*s),o<1&&(x.current=requestAnimationFrame(r))};y(t),x.current=requestAnimationFrame(r)},[]);return(0,l.useEffect)(()=>(S(b.current,p),b.current=p,()=>cancelAnimationFrame(x.current)),[p,S]),(0,u.jsxs)(`div`,{className:n.t(`progress-bar`,`color-${r}`,i,d),role:`progressbar`,"aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":t,"aria-label":a,...f,children:[(a||o)&&(0,u.jsxs)(`div`,{className:`progress-bar-header`,children:[a&&(0,u.jsx)(`span`,{className:`progress-bar-label`,children:a}),o&&(0,u.jsxs)(`span`,{className:`progress-bar-value`,children:[Math.round(g),`%`]})]}),(0,u.jsx)(`div`,{className:`progress-bar-track`,children:(0,u.jsx)(`div`,{className:n.t(`progress-bar-fill`,s&&`animated`,c&&`striped`),style:{width:`${v}%`}})})]})}function _({value:e,from:t=0,duration:r=1e3,decimals:i=0,prefix:a=``,suffix:o=``,separator:s=``,className:c,...d}){let[f,p]=(0,l.useState)(t),m=(0,l.useRef)(0),h=(0,l.useRef)(null);(0,l.useEffect)(()=>{let t=f;h.current=null;let n=i=>{h.current===null&&(h.current=i);let a=i-h.current,o=Math.min(a/r,1),s=1-(1-o)**3;p(t+(e-t)*s),o<1&&(m.current=requestAnimationFrame(n))};return m.current=requestAnimationFrame(n),()=>cancelAnimationFrame(m.current)},[e,r]);let g=v(f,i,s);return(0,u.jsxs)(`span`,{className:n.t(`count-up`,c),...d,children:[a,g,o]})}function v(e,t,n){let r=e.toFixed(t);if(!n)return r;let[i,a]=r.split(`.`),o=i.replace(/\B(?=(\d{3})+(?!\d))/g,n);return a===void 0?o:`${o}.${a}`}var y={c:`c`,cpp:`cpp`,"c++":`cpp`,arduino:`cpp`,ino:`cpp`,ts:`typescript`,typescript:`typescript`,tsx:`tsx`,js:`javascript`,javascript:`javascript`,jsx:`jsx`,json:`json`,css:`css`,html:`markup`,markup:`markup`,bash:`bash`,shell:`bash`,shellscript:`bash`,php:`php`},b=null,x=42,S=200;function C(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function w(e){return y[e]??e}async function T(){return b||=(async()=>{let t=(await Promise.resolve().then(()=>e.n(require(`./prism-core-Z2NDHfPM.cjs`).default,1))).default;return await Promise.resolve().then(()=>require(`./prism-markup-RTw80xRC.cjs`)),await Promise.resolve().then(()=>require(`./prism-clike-BHy7LBAZ.cjs`)),await Promise.resolve().then(()=>require(`./prism-c-DwJ0sL1f.cjs`)),await Promise.resolve().then(()=>require(`./prism-cpp-CXyjGEks.cjs`)),await Promise.resolve().then(()=>require(`./prism-javascript-CC_WcCH4.cjs`)),await Promise.resolve().then(()=>require(`./prism-markup-templating-CylI3Gpj.cjs`)),await Promise.resolve().then(()=>require(`./prism-jsx-ZJAX6mJe.cjs`)),await Promise.resolve().then(()=>require(`./prism-typescript-CDAVIXup.cjs`)),await Promise.resolve().then(()=>require(`./prism-tsx-CvHlXV3S.cjs`)),await Promise.resolve().then(()=>require(`./prism-json-CvwHQDim.cjs`)),await Promise.resolve().then(()=>require(`./prism-css-q8i9Tl0Y.cjs`)),await Promise.resolve().then(()=>require(`./prism-bash-DSVvpDwH.cjs`)),await Promise.resolve().then(()=>require(`./prism-php-CMZ7fRp0.cjs`)),t})(),b}function E({code:e,language:c=`tsx`,title:d,showHeader:f=!0,showLanguage:p=!0,showCopyButton:m=!0,copyLabel:h=`Copy`,copiedLabel:g=`Copied`,maxHeight:_,stretch:v=!1,animated:y=!1,lineNumbers:b=!1,className:E,...D}){let O=(0,l.useMemo)(()=>w(c.trim().toLowerCase()),[c]),[k,A]=(0,l.useState)(()=>y?0:e.length),j=y?e.slice(0,k):e,[M,N]=(0,l.useState)(()=>C(j)),[P,F]=(0,l.useState)(!1),I=(0,l.useRef)(null),L=(0,l.useRef)(null),R=(0,l.useRef)(null),z=typeof navigator<`u`&&typeof navigator.clipboard?.writeText==`function`,B=f&&(!!d||p||m),V=(0,l.useMemo)(()=>Math.max(1,j.split(`
2
+ `).length),[j]);(0,l.useEffect)(()=>{L.current!==null&&(window.clearTimeout(L.current),L.current=null),A(y?0:e.length)},[y,e]),(0,l.useEffect)(()=>{if(!(!y||e.length===0))return k<e.length&&(L.current=window.setTimeout(()=>{A(t=>Math.min(t+1,e.length)),L.current=null},k===0?S:x)),()=>{L.current!==null&&(window.clearTimeout(L.current),L.current=null)}},[y,e.length,k]),(0,l.useEffect)(()=>{let e=!0;async function t(){try{let t=await T(),n=t.languages[O],r=n?t.highlight(j,n,O):C(j);e&&N(r)}catch{e&&N(C(j))}}return t(),()=>{e=!1}},[O,j]),(0,l.useEffect)(()=>()=>{I.current!==null&&window.clearTimeout(I.current),L.current!==null&&window.clearTimeout(L.current)},[]),(0,l.useEffect)(()=>{!y||!R.current||(R.current.scrollTop=R.current.scrollHeight)},[y,k]);async function H(){if(z)try{await navigator.clipboard.writeText(e),F(!0),I.current!==null&&window.clearTimeout(I.current),I.current=window.setTimeout(()=>{F(!1),I.current=null},1200)}catch{F(!1)}}return(0,u.jsxs)(s.n,{className:n.t(`code-block-card`,E),...D,padded:!1,stretch:v,children:[B&&(0,u.jsx)(s.a,{className:`code-block-header`,children:(0,u.jsxs)(r.t,{className:`code-block-header-layout`,align:`center`,justify:`between`,wrap:`nowrap`,px:`lg`,py:`md`,children:[(0,u.jsxs)(r.t,{className:`code-block-header-meta`,align:`center`,wrap:`wrap`,children:[d&&(0,u.jsx)(i.t,{as:`span`,className:`code-block-title`,size:`sm`,weight:`semibold`,children:d}),p&&c&&(0,u.jsx)(o.t,{color:`info`,size:`sm`,children:c})]}),m&&(0,u.jsx)(a.t,{variant:`ghost`,size:`sm`,color:`neutral`,startIcon:(0,u.jsx)(t.rn,{size:`sm`,"aria-hidden":`true`}),onClick:H,disabled:!z,children:P?g:h})]})}),(0,u.jsx)(s.r,{className:`code-block-body`,children:(0,u.jsx)(`div`,{ref:R,className:`code-block-scroll`,style:_?{maxHeight:_,overflowY:`auto`}:void 0,children:(0,u.jsxs)(`pre`,{className:n.t(`code-block-pre`,b&&`with-line-numbers`,`language-${O}`),children:[b&&(0,u.jsx)(`span`,{className:`code-block-line-numbers`,"aria-hidden":`true`,children:Array.from({length:V},(e,t)=>(0,u.jsx)(`span`,{className:`code-block-line-number`,children:t+1},t+1))}),(0,u.jsx)(`span`,{className:`code-block-code-shell`,children:(0,u.jsx)(`code`,{className:n.t(`code-block-code`,`language-${O}`),dangerouslySetInnerHTML:{__html:M}})})]})})})]})}function D(e,t){switch(e){case`down`:return{x:0,y:-t};case`left`:return{x:t,y:0};case`right`:return{x:-t,y:0};case`none`:return{x:0,y:0};default:return{x:0,y:t}}}function O({children:e,direction:t=`up`,delay:r=0,duration:i=.46,distance:a=20,once:o=!0,trigger:s=`view`,className:c,style:d,...f}){let p=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=p.current;if(!e)return;let t=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;if(e.classList.remove(`revealed`),t){e.classList.add(`revealed`);return}if(s===`mount`){let t=window.requestAnimationFrame(()=>{e.classList.add(`revealed`)});return()=>window.cancelAnimationFrame(t)}let n=new IntersectionObserver(t=>{for(let r of t)r.isIntersecting?(e.classList.add(`revealed`),o&&n.disconnect()):o||e.classList.remove(`revealed`)},{threshold:.2});return n.observe(e),()=>n.disconnect()},[r,t,a,i,o,s]);let m=D(t,a),h={minWidth:0,maxWidth:`100%`,"--reveal-delay":`${r}s`,"--reveal-duration":`${i}s`,"--reveal-translate-x":`${m.x}px`,"--reveal-translate-y":`${m.y}px`,...d};return(0,u.jsx)(`div`,{ref:p,className:n.t(`reveal`,c),style:h,...f,children:e})}function k(e,t,n){let r=r=>{let i=(r+e/60)%6;return n-n*t*Math.max(0,Math.min(i,4-i,1))};return`#${[Math.round(r(5)*255),Math.round(r(3)*255),Math.round(r(1)*255)].map(e=>e.toString(16).padStart(2,`0`)).join(``)}`}function A(e){let t=e.replace(`#`,``).match(/.{2}/g);if(!t)return[0,0,1];let[n,r,i]=t.map(e=>parseInt(e,16)/255),a=Math.max(n,r,i),o=a-Math.min(n,r,i),s=0;o!==0&&(s=a===n?((r-i)/o+6)%6:a===r?(i-n)/o+2:(n-r)/o+4,s*=60);let c=a===0?0:o/a;return[s,c,a]}function j(e){let t=e.replace(`#`,``).match(/.{2}/g);if(!t)return`rgb(0, 0, 0)`;let[n,r,i]=t.map(e=>parseInt(e,16));return`rgb(${n}, ${r}, ${i})`}function M(e){let t=e.replace(`#`,``).match(/.{2}/g);if(!t)return`hsl(0, 0%, 0%)`;let[n,r,i]=t.map(e=>parseInt(e,16)/255),a=Math.max(n,r,i),o=Math.min(n,r,i),s=(a+o)/2,c=0,l=0;if(a!==o){let e=a-o;l=s>.5?e/(2-a-o):e/(a+o),c=a===n?((r-i)/e+6)%6:a===r?(i-n)/e+2:(n-r)/e+4,c*=60}return`hsl(${Math.round(c)}, ${Math.round(l*100)}%, ${Math.round(s*100)}%)`}function N(e,t){return t===`rgb`?j(e):t===`hsl`?M(e):e}function P(e){if(!e)return`#000000`;if(e.startsWith(`#`))return e.length===7?e:`#000000`;let t=e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);return t?`#${[t[1],t[2],t[3]].map(e=>parseInt(e).toString(16).padStart(2,`0`)).join(``)}`:`#000000`}var F=[`#ef4444`,`#f97316`,`#eab308`,`#22c55e`,`#06b6d4`,`#3b82f6`,`#8b5cf6`,`#ec4899`,`#000000`,`#ffffff`];function I({value:e,onChange:t,swatches:r=F,format:i=`hex`,size:a=`md`,label:o,disabled:s=!1,className:c,...d}){let f=P(e??`#3b82f6`),[p,m]=(0,l.useState)(()=>A(f)),[h,g]=(0,l.useState)(N(f,i)),_=(0,l.useRef)(null),v=(0,l.useRef)(null),y=(0,l.useRef)(null);(0,l.useEffect)(()=>{let t=P(e??`#3b82f6`);m(A(t)),g(N(t,i))},[e,i]);let b=(0,l.useCallback)((e,n,r)=>{let a=k(e,n,r);m([e,n,r]),g(N(a,i)),t?.(N(a,i))},[t,i]);function x(e){let t=_.current?.getBoundingClientRect();if(!t)return;let n=Math.max(0,Math.min(1,(e.clientX-t.left)/t.width)),r=Math.max(0,Math.min(1,1-(e.clientY-t.top)/t.height));b(p[0],n,r)}function S(e){let t=v.current?.getBoundingClientRect();t&&b(Math.max(0,Math.min(360,(e.clientX-t.left)/t.width*360)),p[1],p[2])}(0,l.useEffect)(()=>{function e(e){y.current===`area`?x(e):y.current===`hue`&&S(e)}function t(){y.current=null}return window.addEventListener(`pointermove`,e),window.addEventListener(`pointerup`,t),()=>{window.removeEventListener(`pointermove`,e),window.removeEventListener(`pointerup`,t)}});function C(e){g(e);try{let n=P(e);(n!==`#000000`||e===`#000000`||e.toLowerCase()===`rgb(0, 0, 0)`)&&(m(A(n)),t?.(N(n,i)))}catch{}}let w=k(p[0],p[1],p[2]);return(0,u.jsxs)(`div`,{className:n.t(`color-picker`,a,s&&`disabled`,c),...d,children:[o&&(0,u.jsx)(`label`,{className:`label`,children:o}),(0,u.jsxs)(`div`,{ref:_,className:`area`,style:{background:`hsl(${p[0]}, 100%, 50%)`},onPointerDown:e=>{s||(y.current=`area`,x(e))},children:[(0,u.jsx)(`div`,{className:`white`}),(0,u.jsx)(`div`,{className:`black`}),(0,u.jsx)(`div`,{className:`cursor`,style:{left:`${p[1]*100}%`,top:`${(1-p[2])*100}%`,background:w}})]}),(0,u.jsx)(`div`,{ref:v,className:`hue`,onPointerDown:e=>{s||(y.current=`hue`,S(e))},children:(0,u.jsx)(`div`,{className:`hue-thumb`,style:{left:`${p[0]/360*100}%`}})}),(0,u.jsxs)(`div`,{className:`controls`,children:[(0,u.jsx)(`div`,{className:`preview`,style:{background:w}}),(0,u.jsx)(`input`,{type:`text`,className:`input`,value:h,onChange:e=>C(e.target.value),disabled:s})]}),r.length>0&&(0,u.jsx)(`div`,{className:`swatches`,children:r.map(e=>(0,u.jsx)(`button`,{type:`button`,className:n.t(`swatch`,w.toLowerCase()===e.toLowerCase()&&`active`),style:{background:e},onClick:()=>{if(s)return;let[t,n,r]=A(e);b(t,n,r)}},e))})]})}var L={xs:`xs`,sm:`sm`,md:`sm`,lg:`md`,xl:`lg`};function R({icon:e,illustration:t,title:r,description:i,buttonText:o,onAction:s,color:c=`neutral`,size:d=`md`,className:f,children:p,...m}){return(0,u.jsxs)(`div`,{className:n.t(`empty-state`,`color-${c}`,d,f),...m,children:[t&&(0,u.jsx)(`div`,{className:`empty-state-illustration`,children:(0,l.isValidElement)(t)?(0,l.cloneElement)(t,{color:c}):t}),!t&&e&&(0,u.jsx)(`div`,{className:`empty-state-icon`,children:e}),(0,u.jsxs)(`div`,{className:`empty-state-content`,children:[(0,u.jsx)(`div`,{className:`empty-state-title`,children:r}),i&&(0,u.jsx)(`div`,{className:`empty-state-description`,children:i})]}),o&&s&&(0,u.jsx)(`div`,{className:`empty-state-action`,children:(0,u.jsx)(a.t,{size:L[d],variant:`outlined`,color:c,onClick:s,children:o})}),p]})}var z={xs:10,sm:14,md:18,lg:22,xl:28};function B(e){return null}function V({activeStep:e,variant:r=`horizontal`,color:i=`primary`,size:a=`md`,clickable:o=!1,onChange:s,className:c,children:d,...f}){let p=l.Children.toArray(d).filter(e=>(0,l.isValidElement)(e)&&e.type===B);return(0,u.jsx)(`div`,{className:n.t(`stepper`,r,`color-${i}`,a,c),role:`list`,...f,children:p.map((r,i)=>{if(!(0,l.isValidElement)(r))return null;let{id:c,title:d,description:f,icon:p,disabled:m,optional:h,error:g}=r.props,_=i===e,v=i<e,y=o&&!m,b=()=>{y&&s&&s(i)};return(0,u.jsxs)(`div`,{className:n.t(`stepper-step`,_&&`active`,v&&`completed`,m&&`disabled`,g&&`error`,y&&`clickable`),role:`listitem`,"aria-current":_?`step`:void 0,children:[(0,u.jsx)(`div`,{className:`stepper-indicator`,onClick:y?b:void 0,role:y?`button`:void 0,tabIndex:y?0:void 0,onKeyDown:y?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),b())}:void 0,children:g?`!`:v?p??(0,u.jsx)(t.Ii,{size:z[a]}):p??i+1}),(0,u.jsxs)(`div`,{className:`stepper-content`,children:[(0,u.jsx)(`span`,{className:`stepper-title`,children:d}),f&&(0,u.jsx)(`span`,{className:`stepper-description`,children:f}),h&&(0,u.jsx)(`span`,{className:`stepper-optional`,children:`Optional`})]})]},c)})})}function H(e){return null}function U({align:e=`left`,color:t=`primary`,size:r=`md`,className:i,children:a,...o}){let s=l.Children.toArray(a).filter(e=>(0,l.isValidElement)(e)&&e.type===H);return(0,u.jsx)(`div`,{className:n.t(`timeline`,`align-${e}`,`color-${t}`,r,i),...o,children:s.map((t,r)=>{if(!(0,l.isValidElement)(t))return null;let{id:i,title:a,description:o,date:s,icon:c,color:d}=t.props,f=e===`alternate`?r%2==0?`left`:`right`:void 0;return(0,u.jsxs)(`div`,{className:n.t(`timeline-item`,f&&`side-${f}`),children:[(0,u.jsx)(`div`,{className:n.t(`timeline-dot`,d&&`color-${d}`),children:c}),(0,u.jsxs)(`div`,{className:`timeline-content`,children:[(0,u.jsx)(`span`,{className:`timeline-title`,children:a}),o&&(0,u.jsx)(`span`,{className:`timeline-description`,children:o}),s&&(0,u.jsx)(`span`,{className:`timeline-date`,children:s})]})]},i)})})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return g}});
3
+ //# sourceMappingURL=display-DN4EHu5P.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display-DN4EHu5P.cjs","names":[],"sources":["../src/components/display/MCollapsible/MCollapsible.tsx","../src/components/display/MAccordion/MAccordion.tsx","../src/components/display/MProgressBar/MProgressBar.tsx","../src/components/display/MCountUp/MCountUp.tsx","../src/components/display/MCodeBlock/MCodeBlock.tsx","../src/components/display/MReveal/MReveal.tsx","../src/components/display/MColorPicker/MColorPicker.tsx","../src/components/display/MEmptyState/MEmptyState.tsx","../src/components/display/MStepper/MStepper.tsx","../src/components/display/MTimeline/MTimeline.tsx"],"sourcesContent":["import {useState} from 'react'\nimport {MButton} from '../../controls'\nimport {MStack} from '../../layout'\nimport {cn} from '../../../utils/cn'\nimport type {MCollapsibleProps} from './MCollapsible.types'\nimport {MChevronDownIcon} from '../../../icons'\nimport './MCollapsible.css'\n\n// MToggle a section of content with a built-in trigger and disclosure state.\nexport function MCollapsible({\n title,\n defaultOpen = false,\n open: controlledOpen,\n onToggle,\n color = 'primary',\n className,\n children,\n ...rest\n}: MCollapsibleProps) {\n const [internalOpen, setInternalOpen] = useState(defaultOpen)\n const open = controlledOpen ?? internalOpen\n\n const handleToggle = () => {\n const nextOpen = !open\n\n if (controlledOpen === undefined) {\n setInternalOpen(nextOpen)\n }\n\n onToggle?.(nextOpen)\n }\n\n const chevronIcon = (\n <span className={cn('chevron', open && 'open')} aria-hidden=\"true\">\n <MChevronDownIcon />\n </span>\n )\n\n return (\n <div className={cn('collapsible', className)} {...rest}>\n <MButton\n variant=\"ghost\"\n color={color}\n className=\"trigger\"\n aria-expanded={open}\n onClick={handleToggle}\n endIcon={chevronIcon}\n >\n {title}\n </MButton>\n <div className={cn('content-wrap', open && 'open')} aria-hidden={!open}>\n <MStack className=\"content\">{children}</MStack>\n </div>\n </div>\n )\n}\n","import {useState, useCallback, Children, isValidElement} from 'react'\nimport {MCollapsible} from '../MCollapsible'\nimport {cn} from '../../../utils/cn'\nimport type {MAccordionProps, MAccordionItemProps} from './MAccordion.types'\nimport './MAccordion.css'\n\nexport function MAccordionItem(_props: MAccordionItemProps) {\n return null\n}\n\nexport function MAccordion({\n multiple = false,\n defaultOpen,\n onChange,\n bordered = false,\n color,\n className,\n children,\n ...rest\n}: MAccordionProps) {\n const initialOpen = Array.isArray(defaultOpen) ? defaultOpen : defaultOpen ? [defaultOpen] : []\n\n const [openIds, setOpenIds] = useState<string[]>(initialOpen)\n\n const handleToggle = useCallback(\n (id: string, isOpen: boolean) => {\n setOpenIds((prev) => {\n let next: string[]\n if (isOpen) {\n next = multiple ? [...prev, id] : [id]\n } else {\n next = prev.filter((v) => v !== id)\n }\n onChange?.(next)\n return next\n })\n },\n [multiple, onChange]\n )\n\n const items = Children.toArray(children).filter(\n (child) => isValidElement(child) && (child.type as any) === MAccordionItem\n )\n\n return (\n <div className={cn('accordion', bordered && 'bordered', className)} {...rest}>\n {items.map((child) => {\n if (!isValidElement<MAccordionItemProps>(child)) return null\n const {id, title, children: content, disabled, color: itemColor} = child.props\n const isOpen = openIds.includes(id)\n\n return (\n <div key={id} className={cn('accordion-item', disabled && 'disabled')}>\n <MCollapsible\n title={title}\n open={isOpen}\n onToggle={disabled ? undefined : (open) => handleToggle(id, open)}\n color={itemColor ?? color}\n >\n {content}\n </MCollapsible>\n </div>\n )\n })}\n </div>\n )\n}\n","import {useState, useEffect, useRef, useCallback} from 'react'\nimport type {MProgressBarProps} from './MProgressBar.types'\nimport {cn} from '../../../utils/cn'\nimport './MProgressBar.css'\n\nconst DURATION = 800\n\nfunction easeOutCubic(t: number) {\n return 1 - Math.pow(1 - t, 3)\n}\n\n// Render a horizontal bar that fills to represent progress as a percentage.\nexport function MProgressBar({\n value,\n max = 100,\n color = 'primary',\n size = 'md',\n label,\n showValue = false,\n animated = false,\n striped = false,\n className,\n ...rest\n}: MProgressBarProps) {\n const percent = Math.min(100, Math.max(0, (value / max) * 100))\n const [displayPercent, setDisplayPercent] = useState(0)\n const [barPercent, setBarPercent] = useState(0)\n const prevPercent = useRef(0)\n const rafRef = useRef(0)\n\n const animate = useCallback((from: number, to: number) => {\n cancelAnimationFrame(rafRef.current)\n const start = performance.now()\n\n const step = (now: number) => {\n const elapsed = now - start\n const progress = Math.min(elapsed / DURATION, 1)\n const eased = easeOutCubic(progress)\n const current = from + (to - from) * eased\n\n setDisplayPercent(current)\n if (progress < 1) {\n rafRef.current = requestAnimationFrame(step)\n }\n }\n\n // Set bar width immediately for CSS transition\n setBarPercent(to)\n rafRef.current = requestAnimationFrame(step)\n }, [])\n\n useEffect(() => {\n animate(prevPercent.current, percent)\n prevPercent.current = percent\n return () => cancelAnimationFrame(rafRef.current)\n }, [percent, animate])\n\n return (\n <div\n className={cn('progress-bar', `color-${color}`, size, className)}\n role=\"progressbar\"\n aria-valuenow={value}\n aria-valuemin={0}\n aria-valuemax={max}\n aria-label={label}\n {...rest}\n >\n {(label || showValue) && (\n <div className=\"progress-bar-header\">\n {label && <span className=\"progress-bar-label\">{label}</span>}\n {showValue && <span className=\"progress-bar-value\">{Math.round(displayPercent)}%</span>}\n </div>\n )}\n <div className=\"progress-bar-track\">\n <div\n className={cn('progress-bar-fill', animated && 'animated', striped && 'striped')}\n style={{width: `${barPercent}%`}}\n />\n </div>\n </div>\n )\n}\n","import {useState, useEffect, useRef} from 'react'\nimport type {MCountUpProps} from './MCountUp.types'\nimport {cn} from '../../../utils/cn'\n\n// Animate a number from a start value to a target, with an easing curve.\nexport function MCountUp({\n value,\n from = 0,\n duration = 1000,\n decimals = 0,\n prefix = '',\n suffix = '',\n separator = '',\n className,\n ...rest\n}: MCountUpProps) {\n const [display, setDisplay] = useState(from)\n const rafRef = useRef<number>(0)\n const startRef = useRef<number | null>(null)\n\n useEffect(() => {\n const startValue = display\n startRef.current = null\n\n const step = (timestamp: number) => {\n if (startRef.current === null) startRef.current = timestamp\n const elapsed = timestamp - startRef.current\n const progress = Math.min(elapsed / duration, 1)\n const eased = 1 - Math.pow(1 - progress, 3)\n const current = startValue + (value - startValue) * eased\n\n setDisplay(current)\n\n if (progress < 1) {\n rafRef.current = requestAnimationFrame(step)\n }\n }\n\n rafRef.current = requestAnimationFrame(step)\n return () => cancelAnimationFrame(rafRef.current)\n }, [value, duration])\n\n const formatted = formatNumber(display, decimals, separator)\n\n return (\n <span className={cn('count-up', className)} {...rest}>\n {prefix}\n {formatted}\n {suffix}\n </span>\n )\n}\n\nfunction formatNumber(num: number, decimals: number, separator: string): string {\n const fixed = num.toFixed(decimals)\n if (!separator) return fixed\n\n const [int, dec] = fixed.split('.')\n const withSep = int.replace(/\\B(?=(\\d{3})+(?!\\d))/g, separator)\n return dec !== undefined ? `${withSep}.${dec}` : withSep\n}\n","import {useEffect, useMemo, useRef, useState} from 'react'\nimport type {MCodeBlockProps} from './MCodeBlock.types'\nimport {MCard, MCardBody, MCardHeader} from '../../cards'\nimport {MButton} from '../../controls'\nimport {MBadge} from '../../feedback'\nimport {MInline} from '../../layout'\nimport {MText} from '../../typography'\nimport {MCopyIcon} from '../../../icons'\nimport {cn} from '../../../utils/cn'\nimport './MCodeBlock.css'\n\nconst languageMap: Record<string, string> = {\n c: 'c',\n cpp: 'cpp',\n 'c++': 'cpp',\n arduino: 'cpp',\n ino: 'cpp',\n ts: 'typescript',\n typescript: 'typescript',\n tsx: 'tsx',\n js: 'javascript',\n javascript: 'javascript',\n jsx: 'jsx',\n json: 'json',\n css: 'css',\n html: 'markup',\n markup: 'markup',\n bash: 'bash',\n shell: 'bash',\n shellscript: 'bash',\n php: 'php',\n}\n\nlet prismPromise: Promise<PrismLike> | null = null\nconst codeBlockTypingSpeed = 42\nconst codeBlockTypingStartDelay = 200\n\ninterface PrismGrammar {\n [key: string]: unknown\n}\n\ninterface PrismLike {\n languages: Record<string, PrismGrammar | undefined>\n highlight: (code: string, grammar: PrismGrammar, language: string) => string\n}\n\nfunction escapeHtml(value: string): string {\n return value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')\n}\n\nfunction resolveLanguage(language: string): string {\n return languageMap[language] ?? language\n}\n\nasync function getPrism(): Promise<PrismLike> {\n if (!prismPromise) {\n prismPromise = (async () => {\n const prism = (await import('prismjs/components/prism-core')).default as PrismLike\n\n await import('prismjs/components/prism-markup')\n await import('prismjs/components/prism-clike')\n await import('prismjs/components/prism-c')\n await import('prismjs/components/prism-cpp')\n await import('prismjs/components/prism-javascript')\n await import('prismjs/components/prism-markup-templating')\n await import('prismjs/components/prism-jsx')\n await import('prismjs/components/prism-typescript')\n await import('prismjs/components/prism-tsx')\n await import('prismjs/components/prism-json')\n await import('prismjs/components/prism-css')\n await import('prismjs/components/prism-bash')\n await import('prismjs/components/prism-php')\n\n return prism\n })()\n }\n\n return prismPromise\n}\n\n// Render a syntax-highlighted code block with optional card header and copy action.\nexport function MCodeBlock({\n code,\n language = 'tsx',\n title,\n showHeader = true,\n showLanguage = true,\n showCopyButton = true,\n copyLabel = 'Copy',\n copiedLabel = 'Copied',\n maxHeight,\n stretch = false,\n animated = false,\n lineNumbers = false,\n className,\n ...rest\n}: MCodeBlockProps) {\n const normalizedLanguage = useMemo(() => resolveLanguage(language.trim().toLowerCase()), [language])\n const [visibleLength, setVisibleLength] = useState(() => (animated ? 0 : code.length))\n const renderedCode = animated ? code.slice(0, visibleLength) : code\n const [highlightedCode, setHighlightedCode] = useState(() => escapeHtml(renderedCode))\n const [copied, setCopied] = useState(false)\n const copyTimeoutRef = useRef<number | null>(null)\n const typingTimeoutRef = useRef<number | null>(null)\n const scrollRef = useRef<HTMLDivElement | null>(null)\n const canCopy = typeof navigator !== 'undefined' && typeof navigator.clipboard?.writeText === 'function'\n const hasHeader = showHeader && (Boolean(title) || showLanguage || showCopyButton)\n const lineCount = useMemo(() => Math.max(1, renderedCode.split('\\n').length), [renderedCode])\n\n useEffect(() => {\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n typingTimeoutRef.current = null\n }\n\n setVisibleLength(animated ? 0 : code.length)\n }, [animated, code])\n\n useEffect(() => {\n if (!animated || code.length === 0) {\n return\n }\n\n if (visibleLength < code.length) {\n typingTimeoutRef.current = window.setTimeout(\n () => {\n setVisibleLength((current) => Math.min(current + 1, code.length))\n typingTimeoutRef.current = null\n },\n visibleLength === 0 ? codeBlockTypingStartDelay : codeBlockTypingSpeed\n )\n }\n\n return () => {\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n typingTimeoutRef.current = null\n }\n }\n }, [animated, code.length, visibleLength])\n\n useEffect(() => {\n let active = true\n\n async function highlightCode() {\n try {\n const prism = await getPrism()\n const grammar = prism.languages[normalizedLanguage]\n const html = grammar\n ? prism.highlight(renderedCode, grammar, normalizedLanguage)\n : escapeHtml(renderedCode)\n\n if (active) {\n setHighlightedCode(html)\n }\n } catch {\n if (active) {\n setHighlightedCode(escapeHtml(renderedCode))\n }\n }\n }\n\n void highlightCode()\n\n return () => {\n active = false\n }\n }, [normalizedLanguage, renderedCode])\n\n useEffect(() => {\n return () => {\n if (copyTimeoutRef.current !== null) {\n window.clearTimeout(copyTimeoutRef.current)\n }\n\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n }\n }\n }, [])\n\n useEffect(() => {\n if (!animated || !scrollRef.current) {\n return\n }\n\n scrollRef.current.scrollTop = scrollRef.current.scrollHeight\n }, [animated, visibleLength])\n\n async function handleCopy() {\n if (!canCopy) {\n return\n }\n\n try {\n await navigator.clipboard.writeText(code)\n setCopied(true)\n\n if (copyTimeoutRef.current !== null) {\n window.clearTimeout(copyTimeoutRef.current)\n }\n\n copyTimeoutRef.current = window.setTimeout(() => {\n setCopied(false)\n copyTimeoutRef.current = null\n }, 1200)\n } catch {\n setCopied(false)\n }\n }\n\n return (\n <MCard className={cn('code-block-card', className)} {...rest} padded={false} stretch={stretch}>\n {hasHeader && (\n <MCardHeader className=\"code-block-header\">\n <MInline\n className=\"code-block-header-layout\"\n align=\"center\"\n justify=\"between\"\n wrap=\"nowrap\"\n px=\"lg\"\n py=\"md\"\n >\n <MInline className=\"code-block-header-meta\" align=\"center\" wrap=\"wrap\">\n {title && (\n <MText as=\"span\" className=\"code-block-title\" size=\"sm\" weight=\"semibold\">\n {title}\n </MText>\n )}\n {showLanguage && language && (\n <MBadge color=\"info\" size=\"sm\">\n {language}\n </MBadge>\n )}\n </MInline>\n {showCopyButton && (\n <MButton\n variant=\"ghost\"\n size=\"sm\"\n color=\"neutral\"\n startIcon={<MCopyIcon size=\"sm\" aria-hidden=\"true\" />}\n onClick={handleCopy}\n disabled={!canCopy}\n >\n {copied ? copiedLabel : copyLabel}\n </MButton>\n )}\n </MInline>\n </MCardHeader>\n )}\n\n <MCardBody className=\"code-block-body\">\n <div\n ref={scrollRef}\n className=\"code-block-scroll\"\n style={maxHeight ? {maxHeight, overflowY: 'auto'} : undefined}\n >\n <pre\n className={cn(\n 'code-block-pre',\n lineNumbers && 'with-line-numbers',\n `language-${normalizedLanguage}`\n )}\n >\n {lineNumbers && (\n <span className=\"code-block-line-numbers\" aria-hidden=\"true\">\n {Array.from({length: lineCount}, (_, index) => (\n <span key={index + 1} className=\"code-block-line-number\">\n {index + 1}\n </span>\n ))}\n </span>\n )}\n <span className=\"code-block-code-shell\">\n <code\n className={cn('code-block-code', `language-${normalizedLanguage}`)}\n dangerouslySetInnerHTML={{__html: highlightedCode}}\n />\n </span>\n </pre>\n </div>\n </MCardBody>\n </MCard>\n )\n}\n","import {useEffect, useRef} from 'react'\nimport type {CSSProperties} from 'react'\nimport type {MRevealProps} from './MReveal.types'\nimport {cn} from '../../../utils/cn'\n\nfunction getRevealOffset(direction: MRevealProps['direction'], distance: number) {\n switch (direction) {\n case 'down':\n return {x: 0, y: -distance}\n case 'left':\n return {x: distance, y: 0}\n case 'right':\n return {x: -distance, y: 0}\n case 'none':\n return {x: 0, y: 0}\n case 'up':\n default:\n return {x: 0, y: distance}\n }\n}\n\nexport function MReveal({\n children,\n direction = 'up',\n delay = 0,\n duration = 0.46,\n distance = 20,\n once = true,\n trigger = 'view',\n className,\n style,\n ...rest\n}: MRevealProps) {\n const revealRef = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n const node = revealRef.current\n if (!node) {\n return\n }\n\n const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches\n\n node.classList.remove('revealed')\n\n if (prefersReducedMotion) {\n node.classList.add('revealed')\n return\n }\n\n if (trigger === 'mount') {\n const frame = window.requestAnimationFrame(() => {\n node.classList.add('revealed')\n })\n\n return () => window.cancelAnimationFrame(frame)\n }\n\n const observer = new IntersectionObserver(\n (entries) => {\n for (const entry of entries) {\n if (entry.isIntersecting) {\n node.classList.add('revealed')\n if (once) {\n observer.disconnect()\n }\n } else if (!once) {\n node.classList.remove('revealed')\n }\n }\n },\n {threshold: 0.2}\n )\n\n observer.observe(node)\n\n return () => observer.disconnect()\n }, [delay, direction, distance, duration, once, trigger])\n\n const offset = getRevealOffset(direction, distance)\n const revealStyle = {\n minWidth: 0,\n maxWidth: '100%',\n '--reveal-delay': `${delay}s`,\n '--reveal-duration': `${duration}s`,\n '--reveal-translate-x': `${offset.x}px`,\n '--reveal-translate-y': `${offset.y}px`,\n ...style,\n } as CSSProperties\n\n return (\n <div\n ref={revealRef}\n className={cn('reveal', className)}\n style={revealStyle}\n {...rest}\n >\n {children}\n </div>\n )\n}\n","import {useCallback, useEffect, useRef, useState} from 'react'\nimport type * as React from 'react'\nimport type {MColorPickerProps} from './MColorPicker.types'\nimport {cn} from '../../../utils/cn'\nimport './MColorPicker.css'\n\nfunction hsvToHex(h: number, s: number, v: number): string {\n const f = (n: number) => {\n const k = (n + h / 60) % 6\n return v - v * s * Math.max(0, Math.min(k, 4 - k, 1))\n }\n const r = Math.round(f(5) * 255)\n const g = Math.round(f(3) * 255)\n const b = Math.round(f(1) * 255)\n return `#${[r, g, b].map((c) => c.toString(16).padStart(2, '0')).join('')}`\n}\n\nfunction hexToHsv(hex: string): [number, number, number] {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return [0, 0, 1]\n const [r, g, b] = m.map((c) => parseInt(c, 16) / 255)\n const max = Math.max(r, g, b)\n const min = Math.min(r, g, b)\n const d = max - min\n let h = 0\n if (d !== 0) {\n if (max === r) h = ((g - b) / d + 6) % 6\n else if (max === g) h = (b - r) / d + 2\n else h = (r - g) / d + 4\n h *= 60\n }\n const s = max === 0 ? 0 : d / max\n return [h, s, max]\n}\n\nfunction hexToRgb(hex: string): string {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return 'rgb(0, 0, 0)'\n const [r, g, b] = m.map((c) => parseInt(c, 16))\n return `rgb(${r}, ${g}, ${b})`\n}\n\nfunction hexToHsl(hex: string): string {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return 'hsl(0, 0%, 0%)'\n const [r, g, b] = m.map((c) => parseInt(c, 16) / 255)\n const max = Math.max(r, g, b)\n const min = Math.min(r, g, b)\n const l = (max + min) / 2\n let h = 0\n let s = 0\n if (max !== min) {\n const d = max - min\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min)\n if (max === r) h = ((g - b) / d + 6) % 6\n else if (max === g) h = (b - r) / d + 2\n else h = (r - g) / d + 4\n h *= 60\n }\n return `hsl(${Math.round(h)}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%)`\n}\n\nfunction formatOutput(hex: string, format: string): string {\n if (format === 'rgb') return hexToRgb(hex)\n if (format === 'hsl') return hexToHsl(hex)\n return hex\n}\n\nfunction normalizeToHex(value: string): string {\n if (!value) return '#000000'\n if (value.startsWith('#')) return value.length === 7 ? value : '#000000'\n const rgbMatch = value.match(/rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)/)\n if (rgbMatch) {\n return `#${[rgbMatch[1], rgbMatch[2], rgbMatch[3]]\n .map((c) => parseInt(c).toString(16).padStart(2, '0'))\n .join('')}`\n }\n return '#000000'\n}\n\nconst DEFAULT_SWATCHES = [\n '#ef4444',\n '#f97316',\n '#eab308',\n '#22c55e',\n '#06b6d4',\n '#3b82f6',\n '#8b5cf6',\n '#ec4899',\n '#000000',\n '#ffffff',\n]\n\nexport function MColorPicker({\n value,\n onChange,\n swatches = DEFAULT_SWATCHES,\n format = 'hex',\n size = 'md',\n label,\n disabled = false,\n className,\n ...rest\n}: MColorPickerProps) {\n const hex = normalizeToHex(value ?? '#3b82f6')\n const [hsv, setHsv] = useState<[number, number, number]>(() => hexToHsv(hex))\n const [inputValue, setInputValue] = useState(formatOutput(hex, format))\n const areaRef = useRef<HTMLDivElement>(null)\n const hueRef = useRef<HTMLDivElement>(null)\n const dragging = useRef<'area' | 'hue' | null>(null)\n\n useEffect(() => {\n const newHex = normalizeToHex(value ?? '#3b82f6')\n setHsv(hexToHsv(newHex))\n setInputValue(formatOutput(newHex, format))\n }, [value, format])\n\n const emit = useCallback(\n (h: number, s: number, v: number) => {\n const newHex = hsvToHex(h, s, v)\n setHsv([h, s, v])\n setInputValue(formatOutput(newHex, format))\n onChange?.(formatOutput(newHex, format))\n },\n [onChange, format]\n )\n\n function handleAreaPointer(e: React.PointerEvent | PointerEvent) {\n const rect = areaRef.current?.getBoundingClientRect()\n if (!rect) return\n const s = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width))\n const v = Math.max(0, Math.min(1, 1 - (e.clientY - rect.top) / rect.height))\n emit(hsv[0], s, v)\n }\n\n function handleHuePointer(e: React.PointerEvent | PointerEvent) {\n const rect = hueRef.current?.getBoundingClientRect()\n if (!rect) return\n const h = Math.max(0, Math.min(360, ((e.clientX - rect.left) / rect.width) * 360))\n emit(h, hsv[1], hsv[2])\n }\n\n useEffect(() => {\n function onMove(e: PointerEvent) {\n if (dragging.current === 'area') handleAreaPointer(e)\n else if (dragging.current === 'hue') handleHuePointer(e)\n }\n function onUp() {\n dragging.current = null\n }\n window.addEventListener('pointermove', onMove)\n window.addEventListener('pointerup', onUp)\n return () => {\n window.removeEventListener('pointermove', onMove)\n window.removeEventListener('pointerup', onUp)\n }\n })\n\n function handleInputChange(val: string) {\n setInputValue(val)\n try {\n const h = normalizeToHex(val)\n if (h !== '#000000' || val === '#000000' || val.toLowerCase() === 'rgb(0, 0, 0)') {\n setHsv(hexToHsv(h))\n onChange?.(formatOutput(h, format))\n }\n } catch {\n // ignore invalid input while typing\n }\n }\n\n const currentHex = hsvToHex(hsv[0], hsv[1], hsv[2])\n\n return (\n <div className={cn('color-picker', size, disabled && 'disabled', className)} {...rest}>\n {label && <label className=\"label\">{label}</label>}\n\n <div\n ref={areaRef}\n className=\"area\"\n style={{background: `hsl(${hsv[0]}, 100%, 50%)`}}\n onPointerDown={(e) => {\n if (disabled) return\n dragging.current = 'area'\n handleAreaPointer(e)\n }}\n >\n <div className=\"white\" />\n <div className=\"black\" />\n <div\n className=\"cursor\"\n style={{\n left: `${hsv[1] * 100}%`,\n top: `${(1 - hsv[2]) * 100}%`,\n background: currentHex,\n }}\n />\n </div>\n\n <div\n ref={hueRef}\n className=\"hue\"\n onPointerDown={(e) => {\n if (disabled) return\n dragging.current = 'hue'\n handleHuePointer(e)\n }}\n >\n <div className=\"hue-thumb\" style={{left: `${(hsv[0] / 360) * 100}%`}} />\n </div>\n\n <div className=\"controls\">\n <div className=\"preview\" style={{background: currentHex}} />\n <input\n type=\"text\"\n className=\"input\"\n value={inputValue}\n onChange={(e) => handleInputChange(e.target.value)}\n disabled={disabled}\n />\n </div>\n\n {swatches.length > 0 && (\n <div className=\"swatches\">\n {swatches.map((swatch) => (\n <button\n key={swatch}\n type=\"button\"\n className={cn('swatch', currentHex.toLowerCase() === swatch.toLowerCase() && 'active')}\n style={{background: swatch}}\n onClick={() => {\n if (disabled) return\n const [h, s, v] = hexToHsv(swatch)\n emit(h, s, v)\n }}\n />\n ))}\n </div>\n )}\n </div>\n )\n}\n","import {isValidElement, cloneElement} from 'react'\nimport type {MEmptyStateProps} from './MEmptyState.types'\nimport {MButton} from '../../controls/MButton'\nimport {cn} from '../../../utils/cn'\nimport './MEmptyState.css'\n\nconst BUTTON_SIZE_MAP = {xs: 'xs', sm: 'sm', md: 'sm', lg: 'md', xl: 'lg'} as const\n\nexport function MEmptyState({\n icon,\n illustration,\n title,\n description,\n buttonText,\n onAction,\n color = 'neutral',\n size = 'md',\n className,\n children,\n ...rest\n}: MEmptyStateProps) {\n return (\n <div className={cn('empty-state', `color-${color}`, size, className)} {...rest}>\n {illustration && (\n <div className=\"empty-state-illustration\">\n {isValidElement(illustration) ? cloneElement(illustration, {color} as any) : illustration}\n </div>\n )}\n {!illustration && icon && <div className=\"empty-state-icon\">{icon}</div>}\n <div className=\"empty-state-content\">\n <div className=\"empty-state-title\">{title}</div>\n {description && <div className=\"empty-state-description\">{description}</div>}\n </div>\n {buttonText && onAction && (\n <div className=\"empty-state-action\">\n <MButton size={BUTTON_SIZE_MAP[size]} variant=\"outlined\" color={color} onClick={onAction}>\n {buttonText}\n </MButton>\n </div>\n )}\n {children}\n </div>\n )\n}\n","import {Children, isValidElement} from 'react'\nimport type {MStepperProps, MStepProps} from './MStepper.types'\nimport type {MSize} from '../../../theme'\nimport {cn} from '../../../utils/cn'\nimport {MCheckIcon} from '../../../icons'\nimport './MStepper.css'\n\nconst CHECK_SIZE: Record<MSize, number> = {xs: 10, sm: 14, md: 18, lg: 22, xl: 28}\n\nexport function MStep(_props: MStepProps) {\n return null\n}\n\nexport function MStepper({\n activeStep,\n variant = 'horizontal',\n color = 'primary',\n size = 'md',\n clickable = false,\n onChange,\n className,\n children,\n ...rest\n}: MStepperProps) {\n const steps = Children.toArray(children).filter((child) => isValidElement(child) && (child.type as any) === MStep)\n\n return (\n <div className={cn('stepper', variant, `color-${color}`, size, className)} role=\"list\" {...rest}>\n {steps.map((child, index) => {\n if (!isValidElement<MStepProps>(child)) return null\n const {id, title, description, icon, disabled, optional, error} = child.props\n const isActive = index === activeStep\n const isCompleted = index < activeStep\n const isClickable = clickable && !disabled\n\n const handleClick = () => {\n if (isClickable && onChange) {\n onChange(index)\n }\n }\n\n return (\n <div\n key={id}\n className={cn(\n 'stepper-step',\n isActive && 'active',\n isCompleted && 'completed',\n disabled && 'disabled',\n error && 'error',\n isClickable && 'clickable'\n )}\n role=\"listitem\"\n aria-current={isActive ? 'step' : undefined}\n >\n <div\n className=\"stepper-indicator\"\n onClick={isClickable ? handleClick : undefined}\n role={isClickable ? 'button' : undefined}\n tabIndex={isClickable ? 0 : undefined}\n onKeyDown={\n isClickable\n ? (e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n handleClick()\n }\n }\n : undefined\n }\n >\n {error\n ? '!'\n : isCompleted\n ? (icon ?? <MCheckIcon size={CHECK_SIZE[size]} />)\n : (icon ?? index + 1)}\n </div>\n <div className=\"stepper-content\">\n <span className=\"stepper-title\">{title}</span>\n {description && <span className=\"stepper-description\">{description}</span>}\n {optional && <span className=\"stepper-optional\">Optional</span>}\n </div>\n </div>\n )\n })}\n </div>\n )\n}\n","import {Children, isValidElement} from 'react'\nimport type {MTimelineProps, MTimelineItemProps} from './MTimeline.types'\nimport {cn} from '../../../utils/cn'\nimport './MTimeline.css'\n\nexport function MTimelineItem(_props: MTimelineItemProps) {\n return null\n}\n\nexport function MTimeline({\n align = 'left',\n color = 'primary',\n size = 'md',\n className,\n children,\n ...rest\n}: MTimelineProps) {\n const items = Children.toArray(children).filter(\n (child) => isValidElement(child) && (child.type as any) === MTimelineItem\n )\n\n return (\n <div className={cn('timeline', `align-${align}`, `color-${color}`, size, className)} {...rest}>\n {items.map((child, index) => {\n if (!isValidElement<MTimelineItemProps>(child)) return null\n const {id, title, description, date, icon, color: itemColor} = child.props\n const side = align === 'alternate' ? (index % 2 === 0 ? 'left' : 'right') : undefined\n\n return (\n <div key={id} className={cn('timeline-item', side && `side-${side}`)}>\n <div className={cn('timeline-dot', itemColor && `color-${itemColor}`)}>{icon}</div>\n <div className=\"timeline-content\">\n <span className=\"timeline-title\">{title}</span>\n {description && <span className=\"timeline-description\">{description}</span>}\n {date && <span className=\"timeline-date\">{date}</span>}\n </div>\n </div>\n )\n })}\n </div>\n )\n}\n"],"mappings":"qXASA,SAAgB,EAAa,CACzB,QACA,cAAc,GACd,KAAM,EACN,WACA,QAAQ,UACR,YACA,WACA,GAAG,GACe,CAClB,GAAM,CAAC,EAAc,IAAA,EAAA,EAAA,UAA4B,EAAY,CACvD,EAAO,GAAkB,EAEzB,MAAqB,CACvB,IAAM,EAAW,CAAC,EAEd,IAAmB,IAAA,IACnB,EAAgB,EAAS,CAG7B,IAAW,EAAS,EAGlB,GACF,EAAA,EAAA,KAAC,OAAD,CAAM,UAAW,EAAA,EAAG,UAAW,GAAQ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AAA,EAAA,KAAC,OAAD,CAAM,UAAU,gCAAwB,EAAmB,CAAA,CAC1E,IAAQ,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,yBAAiB,EAAY,CAAA,CACpD,GACJ,EAPI,EAOJ,EAEZ,CACA,CAAA"}
@@ -146,6 +146,11 @@ function A(e, t, n) {
146
146
  //#endregion
147
147
  //#region src/components/display/MCodeBlock/MCodeBlock.tsx
148
148
  var j = {
149
+ c: "c",
150
+ cpp: "cpp",
151
+ "c++": "cpp",
152
+ arduino: "cpp",
153
+ ino: "cpp",
149
154
  ts: "typescript",
150
155
  typescript: "typescript",
151
156
  tsx: "tsx",
@@ -169,56 +174,57 @@ function I(e) {
169
174
  }
170
175
  async function L() {
171
176
  return M ||= (async () => {
172
- let t = (await import("./prism-core-DV2K1D4T.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default;
173
- return await import("./prism-markup-Cj0PLFM8.js"), await import("./prism-clike-D3g4BfTi.js"), await import("./prism-javascript-zm5iB3gQ.js"), await import("./prism-markup-templating-Dc6p1a24.js"), await import("./prism-jsx-Dk33B94U.js"), await import("./prism-typescript-DC-urVo-.js"), await import("./prism-tsx-CueLxs1r.js"), await import("./prism-json-BJI5f6tN.js"), await import("./prism-css-4cDqr1x6.js"), await import("./prism-bash-GQKgVScr.js"), await import("./prism-php-CGE55yTu.js"), t;
177
+ let t = (await import("./prism-core-DsZQ3wSm.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default;
178
+ return await import("./prism-markup-Cc4COxfn.js"), await import("./prism-clike-CrtZga9r.js"), await import("./prism-c-DBlZetAm.js"), await import("./prism-cpp-DerVaWjZ.js"), await import("./prism-javascript-uSHTlCK6.js"), await import("./prism-markup-templating-D4w8OHUw.js"), await import("./prism-jsx-CSsxTxi5.js"), await import("./prism-typescript-BA7hsZPZ.js"), await import("./prism-tsx-UlwV29L3.js"), await import("./prism-json-CRpBxccA.js"), await import("./prism-css-Bx_bUmkm.js"), await import("./prism-bash-GQKgVScr.js"), await import("./prism-php-nJ_CzHXP.js"), t;
174
179
  })(), M;
175
180
  }
176
- function R({ code: e, language: t = "tsx", title: n, showHeader: f = !0, showLanguage: p = !0, showCopyButton: m = !0, copyLabel: h = "Copy", copiedLabel: g = "Copied", maxHeight: C, animated: w = !1, lineNumbers: T = !1, className: E, ...D }) {
177
- let O = v(() => I(t.trim().toLowerCase()), [t]), [k, A] = b(() => w ? 0 : e.length), j = w ? e.slice(0, k) : e, [M, R] = b(() => F(j)), [z, B] = b(!1), V = y(null), H = y(null), U = y(null), W = typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function", G = f && (!!n || p || m), K = v(() => Math.max(1, j.split("\n").length), [j]);
181
+ function R({ code: e, language: t = "tsx", title: n, showHeader: f = !0, showLanguage: p = !0, showCopyButton: m = !0, copyLabel: h = "Copy", copiedLabel: g = "Copied", maxHeight: C, stretch: w = !1, animated: T = !1, lineNumbers: E = !1, className: D, ...O }) {
182
+ let k = v(() => I(t.trim().toLowerCase()), [t]), [A, j] = b(() => T ? 0 : e.length), M = T ? e.slice(0, A) : e, [R, z] = b(() => F(M)), [B, V] = b(!1), H = y(null), U = y(null), W = y(null), G = typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function", K = f && (!!n || p || m), q = v(() => Math.max(1, M.split("\n").length), [M]);
178
183
  _(() => {
179
- H.current !== null && (window.clearTimeout(H.current), H.current = null), A(w ? 0 : e.length);
180
- }, [w, e]), _(() => {
181
- if (!(!w || e.length === 0)) return k < e.length && (H.current = window.setTimeout(() => {
182
- A((t) => Math.min(t + 1, e.length)), H.current = null;
183
- }, k === 0 ? P : N)), () => {
184
- H.current !== null && (window.clearTimeout(H.current), H.current = null);
184
+ U.current !== null && (window.clearTimeout(U.current), U.current = null), j(T ? 0 : e.length);
185
+ }, [T, e]), _(() => {
186
+ if (!(!T || e.length === 0)) return A < e.length && (U.current = window.setTimeout(() => {
187
+ j((t) => Math.min(t + 1, e.length)), U.current = null;
188
+ }, A === 0 ? P : N)), () => {
189
+ U.current !== null && (window.clearTimeout(U.current), U.current = null);
185
190
  };
186
191
  }, [
187
- w,
192
+ T,
188
193
  e.length,
189
- k
194
+ A
190
195
  ]), _(() => {
191
196
  let e = !0;
192
197
  async function t() {
193
198
  try {
194
- let t = await L(), n = t.languages[O], r = n ? t.highlight(j, n, O) : F(j);
195
- e && R(r);
199
+ let t = await L(), n = t.languages[k], r = n ? t.highlight(M, n, k) : F(M);
200
+ e && z(r);
196
201
  } catch {
197
- e && R(F(j));
202
+ e && z(F(M));
198
203
  }
199
204
  }
200
205
  return t(), () => {
201
206
  e = !1;
202
207
  };
203
- }, [O, j]), _(() => () => {
204
- V.current !== null && window.clearTimeout(V.current), H.current !== null && window.clearTimeout(H.current);
208
+ }, [k, M]), _(() => () => {
209
+ H.current !== null && window.clearTimeout(H.current), U.current !== null && window.clearTimeout(U.current);
205
210
  }, []), _(() => {
206
- !w || !U.current || (U.current.scrollTop = U.current.scrollHeight);
207
- }, [w, k]);
208
- async function q() {
209
- if (W) try {
210
- await navigator.clipboard.writeText(e), B(!0), V.current !== null && window.clearTimeout(V.current), V.current = window.setTimeout(() => {
211
- B(!1), V.current = null;
211
+ !T || !W.current || (W.current.scrollTop = W.current.scrollHeight);
212
+ }, [T, A]);
213
+ async function J() {
214
+ if (G) try {
215
+ await navigator.clipboard.writeText(e), V(!0), H.current !== null && window.clearTimeout(H.current), H.current = window.setTimeout(() => {
216
+ V(!1), H.current = null;
212
217
  }, 1200);
213
218
  } catch {
214
- B(!1);
219
+ V(!1);
215
220
  }
216
221
  }
217
222
  return /* @__PURE__ */ S(u, {
218
- className: i("code-block-card", E),
219
- ...D,
223
+ className: i("code-block-card", D),
224
+ ...O,
220
225
  padded: !1,
221
- children: [G && /* @__PURE__ */ x(l, {
226
+ stretch: w,
227
+ children: [K && /* @__PURE__ */ x(l, {
222
228
  className: "code-block-header",
223
229
  children: /* @__PURE__ */ S(a, {
224
230
  className: "code-block-header-layout",
@@ -250,34 +256,34 @@ function R({ code: e, language: t = "tsx", title: n, showHeader: f = !0, showLan
250
256
  size: "sm",
251
257
  "aria-hidden": "true"
252
258
  }),
253
- onClick: q,
254
- disabled: !W,
255
- children: z ? g : h
259
+ onClick: J,
260
+ disabled: !G,
261
+ children: B ? g : h
256
262
  })]
257
263
  })
258
264
  }), /* @__PURE__ */ x(d, {
259
265
  className: "code-block-body",
260
266
  children: /* @__PURE__ */ x("div", {
261
- ref: U,
267
+ ref: W,
262
268
  className: "code-block-scroll",
263
269
  style: C ? {
264
270
  maxHeight: C,
265
271
  overflowY: "auto"
266
272
  } : void 0,
267
273
  children: /* @__PURE__ */ S("pre", {
268
- className: i("code-block-pre", T && "with-line-numbers", `language-${O}`),
269
- children: [T && /* @__PURE__ */ x("span", {
274
+ className: i("code-block-pre", E && "with-line-numbers", `language-${k}`),
275
+ children: [E && /* @__PURE__ */ x("span", {
270
276
  className: "code-block-line-numbers",
271
277
  "aria-hidden": "true",
272
- children: Array.from({ length: K }, (e, t) => /* @__PURE__ */ x("span", {
278
+ children: Array.from({ length: q }, (e, t) => /* @__PURE__ */ x("span", {
273
279
  className: "code-block-line-number",
274
280
  children: t + 1
275
281
  }, t + 1))
276
282
  }), /* @__PURE__ */ x("span", {
277
283
  className: "code-block-code-shell",
278
284
  children: /* @__PURE__ */ x("code", {
279
- className: i("code-block-code", `language-${O}`),
280
- dangerouslySetInnerHTML: { __html: M }
285
+ className: i("code-block-code", `language-${k}`),
286
+ dangerouslySetInnerHTML: { __html: R }
281
287
  })
282
288
  })]
283
289
  })
@@ -682,4 +688,4 @@ function te({ align: e = "left", color: t = "primary", size: n = "md", className
682
688
  //#endregion
683
689
  export { X as a, R as c, T as d, w as f, ee as i, k as l, $ as n, J as o, C as p, Q as r, B as s, te as t, O as u };
684
690
 
685
- //# sourceMappingURL=display-Xqa2Qns3.js.map
691
+ //# sourceMappingURL=display-imLV7i6d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display-imLV7i6d.js","names":[],"sources":["../src/components/display/MCollapsible/MCollapsible.tsx","../src/components/display/MAccordion/MAccordion.tsx","../src/components/display/MProgressBar/MProgressBar.tsx","../src/components/display/MCountUp/MCountUp.tsx","../src/components/display/MCodeBlock/MCodeBlock.tsx","../src/components/display/MReveal/MReveal.tsx","../src/components/display/MColorPicker/MColorPicker.tsx","../src/components/display/MEmptyState/MEmptyState.tsx","../src/components/display/MStepper/MStepper.tsx","../src/components/display/MTimeline/MTimeline.tsx"],"sourcesContent":["import {useState} from 'react'\nimport {MButton} from '../../controls'\nimport {MStack} from '../../layout'\nimport {cn} from '../../../utils/cn'\nimport type {MCollapsibleProps} from './MCollapsible.types'\nimport {MChevronDownIcon} from '../../../icons'\nimport './MCollapsible.css'\n\n// MToggle a section of content with a built-in trigger and disclosure state.\nexport function MCollapsible({\n title,\n defaultOpen = false,\n open: controlledOpen,\n onToggle,\n color = 'primary',\n className,\n children,\n ...rest\n}: MCollapsibleProps) {\n const [internalOpen, setInternalOpen] = useState(defaultOpen)\n const open = controlledOpen ?? internalOpen\n\n const handleToggle = () => {\n const nextOpen = !open\n\n if (controlledOpen === undefined) {\n setInternalOpen(nextOpen)\n }\n\n onToggle?.(nextOpen)\n }\n\n const chevronIcon = (\n <span className={cn('chevron', open && 'open')} aria-hidden=\"true\">\n <MChevronDownIcon />\n </span>\n )\n\n return (\n <div className={cn('collapsible', className)} {...rest}>\n <MButton\n variant=\"ghost\"\n color={color}\n className=\"trigger\"\n aria-expanded={open}\n onClick={handleToggle}\n endIcon={chevronIcon}\n >\n {title}\n </MButton>\n <div className={cn('content-wrap', open && 'open')} aria-hidden={!open}>\n <MStack className=\"content\">{children}</MStack>\n </div>\n </div>\n )\n}\n","import {useState, useCallback, Children, isValidElement} from 'react'\nimport {MCollapsible} from '../MCollapsible'\nimport {cn} from '../../../utils/cn'\nimport type {MAccordionProps, MAccordionItemProps} from './MAccordion.types'\nimport './MAccordion.css'\n\nexport function MAccordionItem(_props: MAccordionItemProps) {\n return null\n}\n\nexport function MAccordion({\n multiple = false,\n defaultOpen,\n onChange,\n bordered = false,\n color,\n className,\n children,\n ...rest\n}: MAccordionProps) {\n const initialOpen = Array.isArray(defaultOpen) ? defaultOpen : defaultOpen ? [defaultOpen] : []\n\n const [openIds, setOpenIds] = useState<string[]>(initialOpen)\n\n const handleToggle = useCallback(\n (id: string, isOpen: boolean) => {\n setOpenIds((prev) => {\n let next: string[]\n if (isOpen) {\n next = multiple ? [...prev, id] : [id]\n } else {\n next = prev.filter((v) => v !== id)\n }\n onChange?.(next)\n return next\n })\n },\n [multiple, onChange]\n )\n\n const items = Children.toArray(children).filter(\n (child) => isValidElement(child) && (child.type as any) === MAccordionItem\n )\n\n return (\n <div className={cn('accordion', bordered && 'bordered', className)} {...rest}>\n {items.map((child) => {\n if (!isValidElement<MAccordionItemProps>(child)) return null\n const {id, title, children: content, disabled, color: itemColor} = child.props\n const isOpen = openIds.includes(id)\n\n return (\n <div key={id} className={cn('accordion-item', disabled && 'disabled')}>\n <MCollapsible\n title={title}\n open={isOpen}\n onToggle={disabled ? undefined : (open) => handleToggle(id, open)}\n color={itemColor ?? color}\n >\n {content}\n </MCollapsible>\n </div>\n )\n })}\n </div>\n )\n}\n","import {useState, useEffect, useRef, useCallback} from 'react'\nimport type {MProgressBarProps} from './MProgressBar.types'\nimport {cn} from '../../../utils/cn'\nimport './MProgressBar.css'\n\nconst DURATION = 800\n\nfunction easeOutCubic(t: number) {\n return 1 - Math.pow(1 - t, 3)\n}\n\n// Render a horizontal bar that fills to represent progress as a percentage.\nexport function MProgressBar({\n value,\n max = 100,\n color = 'primary',\n size = 'md',\n label,\n showValue = false,\n animated = false,\n striped = false,\n className,\n ...rest\n}: MProgressBarProps) {\n const percent = Math.min(100, Math.max(0, (value / max) * 100))\n const [displayPercent, setDisplayPercent] = useState(0)\n const [barPercent, setBarPercent] = useState(0)\n const prevPercent = useRef(0)\n const rafRef = useRef(0)\n\n const animate = useCallback((from: number, to: number) => {\n cancelAnimationFrame(rafRef.current)\n const start = performance.now()\n\n const step = (now: number) => {\n const elapsed = now - start\n const progress = Math.min(elapsed / DURATION, 1)\n const eased = easeOutCubic(progress)\n const current = from + (to - from) * eased\n\n setDisplayPercent(current)\n if (progress < 1) {\n rafRef.current = requestAnimationFrame(step)\n }\n }\n\n // Set bar width immediately for CSS transition\n setBarPercent(to)\n rafRef.current = requestAnimationFrame(step)\n }, [])\n\n useEffect(() => {\n animate(prevPercent.current, percent)\n prevPercent.current = percent\n return () => cancelAnimationFrame(rafRef.current)\n }, [percent, animate])\n\n return (\n <div\n className={cn('progress-bar', `color-${color}`, size, className)}\n role=\"progressbar\"\n aria-valuenow={value}\n aria-valuemin={0}\n aria-valuemax={max}\n aria-label={label}\n {...rest}\n >\n {(label || showValue) && (\n <div className=\"progress-bar-header\">\n {label && <span className=\"progress-bar-label\">{label}</span>}\n {showValue && <span className=\"progress-bar-value\">{Math.round(displayPercent)}%</span>}\n </div>\n )}\n <div className=\"progress-bar-track\">\n <div\n className={cn('progress-bar-fill', animated && 'animated', striped && 'striped')}\n style={{width: `${barPercent}%`}}\n />\n </div>\n </div>\n )\n}\n","import {useState, useEffect, useRef} from 'react'\nimport type {MCountUpProps} from './MCountUp.types'\nimport {cn} from '../../../utils/cn'\n\n// Animate a number from a start value to a target, with an easing curve.\nexport function MCountUp({\n value,\n from = 0,\n duration = 1000,\n decimals = 0,\n prefix = '',\n suffix = '',\n separator = '',\n className,\n ...rest\n}: MCountUpProps) {\n const [display, setDisplay] = useState(from)\n const rafRef = useRef<number>(0)\n const startRef = useRef<number | null>(null)\n\n useEffect(() => {\n const startValue = display\n startRef.current = null\n\n const step = (timestamp: number) => {\n if (startRef.current === null) startRef.current = timestamp\n const elapsed = timestamp - startRef.current\n const progress = Math.min(elapsed / duration, 1)\n const eased = 1 - Math.pow(1 - progress, 3)\n const current = startValue + (value - startValue) * eased\n\n setDisplay(current)\n\n if (progress < 1) {\n rafRef.current = requestAnimationFrame(step)\n }\n }\n\n rafRef.current = requestAnimationFrame(step)\n return () => cancelAnimationFrame(rafRef.current)\n }, [value, duration])\n\n const formatted = formatNumber(display, decimals, separator)\n\n return (\n <span className={cn('count-up', className)} {...rest}>\n {prefix}\n {formatted}\n {suffix}\n </span>\n )\n}\n\nfunction formatNumber(num: number, decimals: number, separator: string): string {\n const fixed = num.toFixed(decimals)\n if (!separator) return fixed\n\n const [int, dec] = fixed.split('.')\n const withSep = int.replace(/\\B(?=(\\d{3})+(?!\\d))/g, separator)\n return dec !== undefined ? `${withSep}.${dec}` : withSep\n}\n","import {useEffect, useMemo, useRef, useState} from 'react'\nimport type {MCodeBlockProps} from './MCodeBlock.types'\nimport {MCard, MCardBody, MCardHeader} from '../../cards'\nimport {MButton} from '../../controls'\nimport {MBadge} from '../../feedback'\nimport {MInline} from '../../layout'\nimport {MText} from '../../typography'\nimport {MCopyIcon} from '../../../icons'\nimport {cn} from '../../../utils/cn'\nimport './MCodeBlock.css'\n\nconst languageMap: Record<string, string> = {\n c: 'c',\n cpp: 'cpp',\n 'c++': 'cpp',\n arduino: 'cpp',\n ino: 'cpp',\n ts: 'typescript',\n typescript: 'typescript',\n tsx: 'tsx',\n js: 'javascript',\n javascript: 'javascript',\n jsx: 'jsx',\n json: 'json',\n css: 'css',\n html: 'markup',\n markup: 'markup',\n bash: 'bash',\n shell: 'bash',\n shellscript: 'bash',\n php: 'php',\n}\n\nlet prismPromise: Promise<PrismLike> | null = null\nconst codeBlockTypingSpeed = 42\nconst codeBlockTypingStartDelay = 200\n\ninterface PrismGrammar {\n [key: string]: unknown\n}\n\ninterface PrismLike {\n languages: Record<string, PrismGrammar | undefined>\n highlight: (code: string, grammar: PrismGrammar, language: string) => string\n}\n\nfunction escapeHtml(value: string): string {\n return value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;')\n}\n\nfunction resolveLanguage(language: string): string {\n return languageMap[language] ?? language\n}\n\nasync function getPrism(): Promise<PrismLike> {\n if (!prismPromise) {\n prismPromise = (async () => {\n const prism = (await import('prismjs/components/prism-core')).default as PrismLike\n\n await import('prismjs/components/prism-markup')\n await import('prismjs/components/prism-clike')\n await import('prismjs/components/prism-c')\n await import('prismjs/components/prism-cpp')\n await import('prismjs/components/prism-javascript')\n await import('prismjs/components/prism-markup-templating')\n await import('prismjs/components/prism-jsx')\n await import('prismjs/components/prism-typescript')\n await import('prismjs/components/prism-tsx')\n await import('prismjs/components/prism-json')\n await import('prismjs/components/prism-css')\n await import('prismjs/components/prism-bash')\n await import('prismjs/components/prism-php')\n\n return prism\n })()\n }\n\n return prismPromise\n}\n\n// Render a syntax-highlighted code block with optional card header and copy action.\nexport function MCodeBlock({\n code,\n language = 'tsx',\n title,\n showHeader = true,\n showLanguage = true,\n showCopyButton = true,\n copyLabel = 'Copy',\n copiedLabel = 'Copied',\n maxHeight,\n stretch = false,\n animated = false,\n lineNumbers = false,\n className,\n ...rest\n}: MCodeBlockProps) {\n const normalizedLanguage = useMemo(() => resolveLanguage(language.trim().toLowerCase()), [language])\n const [visibleLength, setVisibleLength] = useState(() => (animated ? 0 : code.length))\n const renderedCode = animated ? code.slice(0, visibleLength) : code\n const [highlightedCode, setHighlightedCode] = useState(() => escapeHtml(renderedCode))\n const [copied, setCopied] = useState(false)\n const copyTimeoutRef = useRef<number | null>(null)\n const typingTimeoutRef = useRef<number | null>(null)\n const scrollRef = useRef<HTMLDivElement | null>(null)\n const canCopy = typeof navigator !== 'undefined' && typeof navigator.clipboard?.writeText === 'function'\n const hasHeader = showHeader && (Boolean(title) || showLanguage || showCopyButton)\n const lineCount = useMemo(() => Math.max(1, renderedCode.split('\\n').length), [renderedCode])\n\n useEffect(() => {\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n typingTimeoutRef.current = null\n }\n\n setVisibleLength(animated ? 0 : code.length)\n }, [animated, code])\n\n useEffect(() => {\n if (!animated || code.length === 0) {\n return\n }\n\n if (visibleLength < code.length) {\n typingTimeoutRef.current = window.setTimeout(\n () => {\n setVisibleLength((current) => Math.min(current + 1, code.length))\n typingTimeoutRef.current = null\n },\n visibleLength === 0 ? codeBlockTypingStartDelay : codeBlockTypingSpeed\n )\n }\n\n return () => {\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n typingTimeoutRef.current = null\n }\n }\n }, [animated, code.length, visibleLength])\n\n useEffect(() => {\n let active = true\n\n async function highlightCode() {\n try {\n const prism = await getPrism()\n const grammar = prism.languages[normalizedLanguage]\n const html = grammar\n ? prism.highlight(renderedCode, grammar, normalizedLanguage)\n : escapeHtml(renderedCode)\n\n if (active) {\n setHighlightedCode(html)\n }\n } catch {\n if (active) {\n setHighlightedCode(escapeHtml(renderedCode))\n }\n }\n }\n\n void highlightCode()\n\n return () => {\n active = false\n }\n }, [normalizedLanguage, renderedCode])\n\n useEffect(() => {\n return () => {\n if (copyTimeoutRef.current !== null) {\n window.clearTimeout(copyTimeoutRef.current)\n }\n\n if (typingTimeoutRef.current !== null) {\n window.clearTimeout(typingTimeoutRef.current)\n }\n }\n }, [])\n\n useEffect(() => {\n if (!animated || !scrollRef.current) {\n return\n }\n\n scrollRef.current.scrollTop = scrollRef.current.scrollHeight\n }, [animated, visibleLength])\n\n async function handleCopy() {\n if (!canCopy) {\n return\n }\n\n try {\n await navigator.clipboard.writeText(code)\n setCopied(true)\n\n if (copyTimeoutRef.current !== null) {\n window.clearTimeout(copyTimeoutRef.current)\n }\n\n copyTimeoutRef.current = window.setTimeout(() => {\n setCopied(false)\n copyTimeoutRef.current = null\n }, 1200)\n } catch {\n setCopied(false)\n }\n }\n\n return (\n <MCard className={cn('code-block-card', className)} {...rest} padded={false} stretch={stretch}>\n {hasHeader && (\n <MCardHeader className=\"code-block-header\">\n <MInline\n className=\"code-block-header-layout\"\n align=\"center\"\n justify=\"between\"\n wrap=\"nowrap\"\n px=\"lg\"\n py=\"md\"\n >\n <MInline className=\"code-block-header-meta\" align=\"center\" wrap=\"wrap\">\n {title && (\n <MText as=\"span\" className=\"code-block-title\" size=\"sm\" weight=\"semibold\">\n {title}\n </MText>\n )}\n {showLanguage && language && (\n <MBadge color=\"info\" size=\"sm\">\n {language}\n </MBadge>\n )}\n </MInline>\n {showCopyButton && (\n <MButton\n variant=\"ghost\"\n size=\"sm\"\n color=\"neutral\"\n startIcon={<MCopyIcon size=\"sm\" aria-hidden=\"true\" />}\n onClick={handleCopy}\n disabled={!canCopy}\n >\n {copied ? copiedLabel : copyLabel}\n </MButton>\n )}\n </MInline>\n </MCardHeader>\n )}\n\n <MCardBody className=\"code-block-body\">\n <div\n ref={scrollRef}\n className=\"code-block-scroll\"\n style={maxHeight ? {maxHeight, overflowY: 'auto'} : undefined}\n >\n <pre\n className={cn(\n 'code-block-pre',\n lineNumbers && 'with-line-numbers',\n `language-${normalizedLanguage}`\n )}\n >\n {lineNumbers && (\n <span className=\"code-block-line-numbers\" aria-hidden=\"true\">\n {Array.from({length: lineCount}, (_, index) => (\n <span key={index + 1} className=\"code-block-line-number\">\n {index + 1}\n </span>\n ))}\n </span>\n )}\n <span className=\"code-block-code-shell\">\n <code\n className={cn('code-block-code', `language-${normalizedLanguage}`)}\n dangerouslySetInnerHTML={{__html: highlightedCode}}\n />\n </span>\n </pre>\n </div>\n </MCardBody>\n </MCard>\n )\n}\n","import {useEffect, useRef} from 'react'\nimport type {CSSProperties} from 'react'\nimport type {MRevealProps} from './MReveal.types'\nimport {cn} from '../../../utils/cn'\n\nfunction getRevealOffset(direction: MRevealProps['direction'], distance: number) {\n switch (direction) {\n case 'down':\n return {x: 0, y: -distance}\n case 'left':\n return {x: distance, y: 0}\n case 'right':\n return {x: -distance, y: 0}\n case 'none':\n return {x: 0, y: 0}\n case 'up':\n default:\n return {x: 0, y: distance}\n }\n}\n\nexport function MReveal({\n children,\n direction = 'up',\n delay = 0,\n duration = 0.46,\n distance = 20,\n once = true,\n trigger = 'view',\n className,\n style,\n ...rest\n}: MRevealProps) {\n const revealRef = useRef<HTMLDivElement>(null)\n\n useEffect(() => {\n const node = revealRef.current\n if (!node) {\n return\n }\n\n const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches\n\n node.classList.remove('revealed')\n\n if (prefersReducedMotion) {\n node.classList.add('revealed')\n return\n }\n\n if (trigger === 'mount') {\n const frame = window.requestAnimationFrame(() => {\n node.classList.add('revealed')\n })\n\n return () => window.cancelAnimationFrame(frame)\n }\n\n const observer = new IntersectionObserver(\n (entries) => {\n for (const entry of entries) {\n if (entry.isIntersecting) {\n node.classList.add('revealed')\n if (once) {\n observer.disconnect()\n }\n } else if (!once) {\n node.classList.remove('revealed')\n }\n }\n },\n {threshold: 0.2}\n )\n\n observer.observe(node)\n\n return () => observer.disconnect()\n }, [delay, direction, distance, duration, once, trigger])\n\n const offset = getRevealOffset(direction, distance)\n const revealStyle = {\n minWidth: 0,\n maxWidth: '100%',\n '--reveal-delay': `${delay}s`,\n '--reveal-duration': `${duration}s`,\n '--reveal-translate-x': `${offset.x}px`,\n '--reveal-translate-y': `${offset.y}px`,\n ...style,\n } as CSSProperties\n\n return (\n <div\n ref={revealRef}\n className={cn('reveal', className)}\n style={revealStyle}\n {...rest}\n >\n {children}\n </div>\n )\n}\n","import {useCallback, useEffect, useRef, useState} from 'react'\nimport type * as React from 'react'\nimport type {MColorPickerProps} from './MColorPicker.types'\nimport {cn} from '../../../utils/cn'\nimport './MColorPicker.css'\n\nfunction hsvToHex(h: number, s: number, v: number): string {\n const f = (n: number) => {\n const k = (n + h / 60) % 6\n return v - v * s * Math.max(0, Math.min(k, 4 - k, 1))\n }\n const r = Math.round(f(5) * 255)\n const g = Math.round(f(3) * 255)\n const b = Math.round(f(1) * 255)\n return `#${[r, g, b].map((c) => c.toString(16).padStart(2, '0')).join('')}`\n}\n\nfunction hexToHsv(hex: string): [number, number, number] {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return [0, 0, 1]\n const [r, g, b] = m.map((c) => parseInt(c, 16) / 255)\n const max = Math.max(r, g, b)\n const min = Math.min(r, g, b)\n const d = max - min\n let h = 0\n if (d !== 0) {\n if (max === r) h = ((g - b) / d + 6) % 6\n else if (max === g) h = (b - r) / d + 2\n else h = (r - g) / d + 4\n h *= 60\n }\n const s = max === 0 ? 0 : d / max\n return [h, s, max]\n}\n\nfunction hexToRgb(hex: string): string {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return 'rgb(0, 0, 0)'\n const [r, g, b] = m.map((c) => parseInt(c, 16))\n return `rgb(${r}, ${g}, ${b})`\n}\n\nfunction hexToHsl(hex: string): string {\n const m = hex.replace('#', '').match(/.{2}/g)\n if (!m) return 'hsl(0, 0%, 0%)'\n const [r, g, b] = m.map((c) => parseInt(c, 16) / 255)\n const max = Math.max(r, g, b)\n const min = Math.min(r, g, b)\n const l = (max + min) / 2\n let h = 0\n let s = 0\n if (max !== min) {\n const d = max - min\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min)\n if (max === r) h = ((g - b) / d + 6) % 6\n else if (max === g) h = (b - r) / d + 2\n else h = (r - g) / d + 4\n h *= 60\n }\n return `hsl(${Math.round(h)}, ${Math.round(s * 100)}%, ${Math.round(l * 100)}%)`\n}\n\nfunction formatOutput(hex: string, format: string): string {\n if (format === 'rgb') return hexToRgb(hex)\n if (format === 'hsl') return hexToHsl(hex)\n return hex\n}\n\nfunction normalizeToHex(value: string): string {\n if (!value) return '#000000'\n if (value.startsWith('#')) return value.length === 7 ? value : '#000000'\n const rgbMatch = value.match(/rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)/)\n if (rgbMatch) {\n return `#${[rgbMatch[1], rgbMatch[2], rgbMatch[3]]\n .map((c) => parseInt(c).toString(16).padStart(2, '0'))\n .join('')}`\n }\n return '#000000'\n}\n\nconst DEFAULT_SWATCHES = [\n '#ef4444',\n '#f97316',\n '#eab308',\n '#22c55e',\n '#06b6d4',\n '#3b82f6',\n '#8b5cf6',\n '#ec4899',\n '#000000',\n '#ffffff',\n]\n\nexport function MColorPicker({\n value,\n onChange,\n swatches = DEFAULT_SWATCHES,\n format = 'hex',\n size = 'md',\n label,\n disabled = false,\n className,\n ...rest\n}: MColorPickerProps) {\n const hex = normalizeToHex(value ?? '#3b82f6')\n const [hsv, setHsv] = useState<[number, number, number]>(() => hexToHsv(hex))\n const [inputValue, setInputValue] = useState(formatOutput(hex, format))\n const areaRef = useRef<HTMLDivElement>(null)\n const hueRef = useRef<HTMLDivElement>(null)\n const dragging = useRef<'area' | 'hue' | null>(null)\n\n useEffect(() => {\n const newHex = normalizeToHex(value ?? '#3b82f6')\n setHsv(hexToHsv(newHex))\n setInputValue(formatOutput(newHex, format))\n }, [value, format])\n\n const emit = useCallback(\n (h: number, s: number, v: number) => {\n const newHex = hsvToHex(h, s, v)\n setHsv([h, s, v])\n setInputValue(formatOutput(newHex, format))\n onChange?.(formatOutput(newHex, format))\n },\n [onChange, format]\n )\n\n function handleAreaPointer(e: React.PointerEvent | PointerEvent) {\n const rect = areaRef.current?.getBoundingClientRect()\n if (!rect) return\n const s = Math.max(0, Math.min(1, (e.clientX - rect.left) / rect.width))\n const v = Math.max(0, Math.min(1, 1 - (e.clientY - rect.top) / rect.height))\n emit(hsv[0], s, v)\n }\n\n function handleHuePointer(e: React.PointerEvent | PointerEvent) {\n const rect = hueRef.current?.getBoundingClientRect()\n if (!rect) return\n const h = Math.max(0, Math.min(360, ((e.clientX - rect.left) / rect.width) * 360))\n emit(h, hsv[1], hsv[2])\n }\n\n useEffect(() => {\n function onMove(e: PointerEvent) {\n if (dragging.current === 'area') handleAreaPointer(e)\n else if (dragging.current === 'hue') handleHuePointer(e)\n }\n function onUp() {\n dragging.current = null\n }\n window.addEventListener('pointermove', onMove)\n window.addEventListener('pointerup', onUp)\n return () => {\n window.removeEventListener('pointermove', onMove)\n window.removeEventListener('pointerup', onUp)\n }\n })\n\n function handleInputChange(val: string) {\n setInputValue(val)\n try {\n const h = normalizeToHex(val)\n if (h !== '#000000' || val === '#000000' || val.toLowerCase() === 'rgb(0, 0, 0)') {\n setHsv(hexToHsv(h))\n onChange?.(formatOutput(h, format))\n }\n } catch {\n // ignore invalid input while typing\n }\n }\n\n const currentHex = hsvToHex(hsv[0], hsv[1], hsv[2])\n\n return (\n <div className={cn('color-picker', size, disabled && 'disabled', className)} {...rest}>\n {label && <label className=\"label\">{label}</label>}\n\n <div\n ref={areaRef}\n className=\"area\"\n style={{background: `hsl(${hsv[0]}, 100%, 50%)`}}\n onPointerDown={(e) => {\n if (disabled) return\n dragging.current = 'area'\n handleAreaPointer(e)\n }}\n >\n <div className=\"white\" />\n <div className=\"black\" />\n <div\n className=\"cursor\"\n style={{\n left: `${hsv[1] * 100}%`,\n top: `${(1 - hsv[2]) * 100}%`,\n background: currentHex,\n }}\n />\n </div>\n\n <div\n ref={hueRef}\n className=\"hue\"\n onPointerDown={(e) => {\n if (disabled) return\n dragging.current = 'hue'\n handleHuePointer(e)\n }}\n >\n <div className=\"hue-thumb\" style={{left: `${(hsv[0] / 360) * 100}%`}} />\n </div>\n\n <div className=\"controls\">\n <div className=\"preview\" style={{background: currentHex}} />\n <input\n type=\"text\"\n className=\"input\"\n value={inputValue}\n onChange={(e) => handleInputChange(e.target.value)}\n disabled={disabled}\n />\n </div>\n\n {swatches.length > 0 && (\n <div className=\"swatches\">\n {swatches.map((swatch) => (\n <button\n key={swatch}\n type=\"button\"\n className={cn('swatch', currentHex.toLowerCase() === swatch.toLowerCase() && 'active')}\n style={{background: swatch}}\n onClick={() => {\n if (disabled) return\n const [h, s, v] = hexToHsv(swatch)\n emit(h, s, v)\n }}\n />\n ))}\n </div>\n )}\n </div>\n )\n}\n","import {isValidElement, cloneElement} from 'react'\nimport type {MEmptyStateProps} from './MEmptyState.types'\nimport {MButton} from '../../controls/MButton'\nimport {cn} from '../../../utils/cn'\nimport './MEmptyState.css'\n\nconst BUTTON_SIZE_MAP = {xs: 'xs', sm: 'sm', md: 'sm', lg: 'md', xl: 'lg'} as const\n\nexport function MEmptyState({\n icon,\n illustration,\n title,\n description,\n buttonText,\n onAction,\n color = 'neutral',\n size = 'md',\n className,\n children,\n ...rest\n}: MEmptyStateProps) {\n return (\n <div className={cn('empty-state', `color-${color}`, size, className)} {...rest}>\n {illustration && (\n <div className=\"empty-state-illustration\">\n {isValidElement(illustration) ? cloneElement(illustration, {color} as any) : illustration}\n </div>\n )}\n {!illustration && icon && <div className=\"empty-state-icon\">{icon}</div>}\n <div className=\"empty-state-content\">\n <div className=\"empty-state-title\">{title}</div>\n {description && <div className=\"empty-state-description\">{description}</div>}\n </div>\n {buttonText && onAction && (\n <div className=\"empty-state-action\">\n <MButton size={BUTTON_SIZE_MAP[size]} variant=\"outlined\" color={color} onClick={onAction}>\n {buttonText}\n </MButton>\n </div>\n )}\n {children}\n </div>\n )\n}\n","import {Children, isValidElement} from 'react'\nimport type {MStepperProps, MStepProps} from './MStepper.types'\nimport type {MSize} from '../../../theme'\nimport {cn} from '../../../utils/cn'\nimport {MCheckIcon} from '../../../icons'\nimport './MStepper.css'\n\nconst CHECK_SIZE: Record<MSize, number> = {xs: 10, sm: 14, md: 18, lg: 22, xl: 28}\n\nexport function MStep(_props: MStepProps) {\n return null\n}\n\nexport function MStepper({\n activeStep,\n variant = 'horizontal',\n color = 'primary',\n size = 'md',\n clickable = false,\n onChange,\n className,\n children,\n ...rest\n}: MStepperProps) {\n const steps = Children.toArray(children).filter((child) => isValidElement(child) && (child.type as any) === MStep)\n\n return (\n <div className={cn('stepper', variant, `color-${color}`, size, className)} role=\"list\" {...rest}>\n {steps.map((child, index) => {\n if (!isValidElement<MStepProps>(child)) return null\n const {id, title, description, icon, disabled, optional, error} = child.props\n const isActive = index === activeStep\n const isCompleted = index < activeStep\n const isClickable = clickable && !disabled\n\n const handleClick = () => {\n if (isClickable && onChange) {\n onChange(index)\n }\n }\n\n return (\n <div\n key={id}\n className={cn(\n 'stepper-step',\n isActive && 'active',\n isCompleted && 'completed',\n disabled && 'disabled',\n error && 'error',\n isClickable && 'clickable'\n )}\n role=\"listitem\"\n aria-current={isActive ? 'step' : undefined}\n >\n <div\n className=\"stepper-indicator\"\n onClick={isClickable ? handleClick : undefined}\n role={isClickable ? 'button' : undefined}\n tabIndex={isClickable ? 0 : undefined}\n onKeyDown={\n isClickable\n ? (e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n handleClick()\n }\n }\n : undefined\n }\n >\n {error\n ? '!'\n : isCompleted\n ? (icon ?? <MCheckIcon size={CHECK_SIZE[size]} />)\n : (icon ?? index + 1)}\n </div>\n <div className=\"stepper-content\">\n <span className=\"stepper-title\">{title}</span>\n {description && <span className=\"stepper-description\">{description}</span>}\n {optional && <span className=\"stepper-optional\">Optional</span>}\n </div>\n </div>\n )\n })}\n </div>\n )\n}\n","import {Children, isValidElement} from 'react'\nimport type {MTimelineProps, MTimelineItemProps} from './MTimeline.types'\nimport {cn} from '../../../utils/cn'\nimport './MTimeline.css'\n\nexport function MTimelineItem(_props: MTimelineItemProps) {\n return null\n}\n\nexport function MTimeline({\n align = 'left',\n color = 'primary',\n size = 'md',\n className,\n children,\n ...rest\n}: MTimelineProps) {\n const items = Children.toArray(children).filter(\n (child) => isValidElement(child) && (child.type as any) === MTimelineItem\n )\n\n return (\n <div className={cn('timeline', `align-${align}`, `color-${color}`, size, className)} {...rest}>\n {items.map((child, index) => {\n if (!isValidElement<MTimelineItemProps>(child)) return null\n const {id, title, description, date, icon, color: itemColor} = child.props\n const side = align === 'alternate' ? (index % 2 === 0 ? 'left' : 'right') : undefined\n\n return (\n <div key={id} className={cn('timeline-item', side && `side-${side}`)}>\n <div className={cn('timeline-dot', itemColor && `color-${itemColor}`)}>{icon}</div>\n <div className=\"timeline-content\">\n <span className=\"timeline-title\">{title}</span>\n {description && <span className=\"timeline-description\">{description}</span>}\n {date && <span className=\"timeline-date\">{date}</span>}\n </div>\n </div>\n )\n })}\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;;AASA,SAAgB,EAAa,EACzB,UACA,iBAAc,IACd,MAAM,GACN,aACA,WAAQ,WACR,cACA,aACA,GAAG,KACe;CACl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defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./display-BoXtzMg5.cjs`),t=require(`./MTimeAgo-DWwXs48z.cjs`),n=require(`./MQrCode-CMoru4dD.cjs`);exports.MAccordion=e.d,exports.MAccordionItem=e.f,exports.MCodeBlock=e.c,exports.MCollapsible=e.p,exports.MColorPicker=e.o,exports.MCountUp=e.l,exports.MEmptyState=e.a,exports.MProgressBar=e.u,exports.MQrCode=n.t,exports.MRating=n.n,exports.MReveal=e.s,exports.MStep=e.r,exports.MStepper=e.i,exports.MTimeAgo=t.t,exports.MTimeline=e.t,exports.MTimelineItem=e.n;
3
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./display-DN4EHu5P.cjs`),t=require(`./MTimeAgo-DWwXs48z.cjs`),n=require(`./MQrCode-CMoru4dD.cjs`);exports.MAccordion=e.d,exports.MAccordionItem=e.f,exports.MCodeBlock=e.c,exports.MCollapsible=e.p,exports.MColorPicker=e.o,exports.MCountUp=e.l,exports.MEmptyState=e.a,exports.MProgressBar=e.u,exports.MQrCode=n.t,exports.MRating=n.n,exports.MReveal=e.s,exports.MStep=e.r,exports.MStepper=e.i,exports.MTimeAgo=t.t,exports.MTimeline=e.t,exports.MTimelineItem=e.n;
package/dist/display.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {ensureStyles} from './style-runtime.js'
2
2
  ensureStyles()
3
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./display-Xqa2Qns3.js";
3
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "./display-imLV7i6d.js";
4
4
  import { t as p } from "./MTimeAgo-D1G2yovw.js";
5
5
  import { n as m, t as h } from "./MQrCode-DK5-SBhN.js";
6
6
  export { n as MAccordion, r as MAccordionItem, t as MCodeBlock, c as MCollapsible, s as MColorPicker, a as MCountUp, e as MEmptyState, f as MProgressBar, h as MQrCode, m as MRating, u as MReveal, l as MStep, i as MStepper, p as MTimeAgo, d as MTimeline, o as MTimelineItem };
package/dist/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  const {ensureStyles}=require('./style-runtime.cjs')
2
2
  ensureStyles()
3
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./theme-Bnwe-wvr.cjs`),t=require(`./MI18nProvider-Bml7Vs2-.cjs`);require(`./i18n.cjs`);const n=require(`./icons-BJCV7W0L.cjs`),r=require(`./cn-DYFxgzi2.cjs`),i=require(`./MGalleryIllustration-BHtRFizZ.cjs`),a=require(`./validators-D4aTeaH0.cjs`),o=require(`./creditCards-198KJN0s.cjs`),s=require(`./formatters-CauWlsnM.cjs`),c=require(`./dateUtils-vT9rOf1J.cjs`),l=require(`./relativeTime-DUbW4O44.cjs`),u=require(`./useGhostText-D1DbIs-n.cjs`),d=require(`./licensing-JchPJhVY.cjs`),f=require(`./useKeyboardNav-BoibrRUF.cjs`),p=require(`./useInteractionEffect-CYHGHV1e.cjs`),m=require(`./MPortal-DE3pL2Xl.cjs`),h=require(`./MPopover-BW23_1Dl.cjs`);require(`./primitives.cjs`);const g=require(`./layout-DZiWboju.cjs`),_=require(`./MInline-D9p9Sazp.cjs`),v=require(`./MText-COzub3y4.cjs`),y=require(`./MHeading-DHT1gORD.cjs`),ee=require(`./MLink-U_wAUuz1.cjs`),b=require(`./typography-D1s-QFlb.cjs`),x=require(`./MSubText-DP9WYlwz.cjs`),S=require(`./MButton-LUNWBBOV.cjs`),C=require(`./feedback-DiMptPJy.cjs`),w=require(`./controls-B7wV_kjJ.cjs`),T=require(`./MCheckbox-PzknJeM2.cjs`),E=require(`./MToggle-Cm3f6gm4.cjs`),D=require(`./MSlider-sH2Vt9Lw.cjs`),O=require(`./MBadge-DcIPfPH1.cjs`),te=require(`./MTag-DXqkBvqx.cjs`),k=require(`./MSkeleton-B0Mxe3L7.cjs`),A=require(`./cards-B75QM9JW.cjs`),j=require(`./MInput-DDZ71Qqn.cjs`),M=require(`./MModal-Czy-rR--.cjs`),N=require(`./overlays-8htlWp07.cjs`),P=require(`./MDrawer-DRqMsjMt.cjs`),F=require(`./MTooltip-C3PeHgV3.cjs`),I=require(`./MDropdownMenu-CymCQqyP.cjs`),L=require(`./MInputCVC-Sp2uZ5aO.cjs`),R=require(`./display-BoXtzMg5.cjs`),z=require(`./MTimeAgo-DWwXs48z.cjs`),B=require(`./MQrCode-CMoru4dD.cjs`),V=require(`./MImage-CxeuH-cT.cjs`),H=require(`./media-p643cb02.cjs`),U=require(`./MAvatar-DGEQqUss.cjs`),W=require(`./inputs-EZBwxk7j.cjs`),G=require(`./MInputSearch-30o4bcDC.cjs`),K=require(`./MSparkline-B-ld7hJu.cjs`),q=require(`./MCookieBootstrap-DSOT4FQo.cjs`),J=require(`./MStack-Cy2GplIA.cjs`),Y=require(`./data-DHkccnSN.cjs`),X=require(`./MDataTable-Bq6UoNJX.cjs`),Z=require(`./MSurface-C467dVMQ.cjs`),ne=require(`./MPagination-73z0sQvf.cjs`),Q=require(`./dropdowns-cRrLY8FG.cjs`),$=require(`./form-DABPazeN.cjs`);exports.MAccordion=R.d,exports.MAccordionItem=R.f,exports.MAlert=C.f,exports.MAmazonColorIcon=n.t,exports.MAmazonIcon=n.n,exports.MAmericanExpressColorIcon=n.Z,exports.MAmericanExpressIcon=n.Q,exports.MAnalyticsIllustration=i.O,exports.MAppShell=g.t,exports.MAppleColorIcon=n.r,exports.MAppleIcon=n.i,exports.MAreaChart=Y.n,exports.MArrowDownIcon=n.Oi,exports.MArrowDownIconV2=n.Gn,exports.MArrowLeftIcon=n.ji,exports.MArrowLeftIconV2=n.Kn,exports.MArrowRightIcon=n.Ai,exports.MArrowRightIconV2=n.qn,exports.MArrowUpDownIcon=n.Di,exports.MArrowUpDownIconV2=n.Jn,exports.MArrowUpIcon=n.ki,exports.MArrowUpIconV2=n.Yn,exports.MAttachIcon=n.Ei,exports.MAutocomplete=Q.i,exports.MAvatar=U.t,exports.MAvatarStack=H.t,exports.MBadge=O.t,exports.MBankIcon=n.yn,exports.MBanner=C.d,exports.MBarChart=Y.r,exports.MBellIcon=n.Xt,exports.MBody=g.n,exports.MBoltIcon=n.Gt,exports.MBoxIcon=n.Ut,exports.MBreadcrumb=g.r,exports.MBreakpoints=e.t,exports.MBugIcon=n.bn,exports.MBuildingIcon=n.on,exports.MButton=S.t,exports.MButtonGroup=w.o,exports.MCOOKIE_BOOTSTRAP_CONFIG_KEY=q.o,exports.MCOOKIE_CONSENT_CHANGE_EVENT=q.s,exports.MCalendarBoard=Y.a,exports.MCalendarBoardIllustration=i.h,exports.MCalendarDayCell=Y.o,exports.MCalendarEventItem=Y.s,exports.MCalendarEventList=Y.c,exports.MCalendarEventPopover=Y.l,exports.MCalendarIcon=n.Ti,exports.MCalendarIconV2=n.Tn,exports.MCalendarIllustration=i.D,exports.MCalendarTimeline=Y.u,exports.MCameraIcon=n.Dt,exports.MCard=k.n,exports.MCardBody=k.r,exports.MCardBusiness=A.c,exports.MCardCourse=A.o,exports.MCardEvent=A.i,exports.MCardFinance=A.t,exports.MCardFooter=k.i,exports.MCardGrid=A.n,exports.MCardHeader=k.a,exports.MCardOffer=A.s,exports.MCardPayment=A.u,exports.MCardPaymentMethod=A.l,exports.MCardProduct=A.a,exports.MCardWidget=A.r,exports.MCarousel=H.o,exports.MCartIcon=n.wt,exports.MChartIcon=n.St,exports.MChartIconV2=n.Sn,exports.MChat=Y.x,exports.MChatBody=Y.v,exports.MChatConversationItem=Y.m,exports.MChatConversationList=Y.h,exports.MChatHeader=Y.b,exports.MChatIcon=n.At,exports.MChatIllustration=i.b,exports.MChatInput=Y._,exports.MChatMessage=Y.y,exports.MChatTypingIndicator=Y.g,exports.MChatsIcon=n.kt,exports.MCheckCircleIcon=n.ci,exports.MCheckIcon=n.Ii,exports.MCheckbox=T.t,exports.MChevronDownIcon=n.Ni,exports.MChevronDownIconV2=n.Xn,exports.MChevronLeftIcon=n.Fi,exports.MChevronLeftIconV2=n.Zn,exports.MChevronRightIcon=n.Pi,exports.MChevronRightIconV2=n.Qn,exports.MChevronUpIcon=n.Mi,exports.MChevronUpIconV2=n.$n,exports.MClickIcon=n.$t,exports.MClipboardIcon=n.Tt,exports.MClockIcon=n.wi,exports.MCloseIcon=n.Li,exports.MCode=b.i,exports.MCodeBlock=R.c,exports.MCollapsible=R.p,exports.MColorPicker=R.o,exports.MCommentIcon=n.Ot,exports.MContainer=g.C,exports.MCookieBanner=C.n,exports.MCookieConsent=C.r,exports.MCookieConsentIllustration=i.p,exports.MCookieConsentProvider=C.o,exports.MCookieDeclaration=C.t,exports.MCookiePreferences=C.i,exports.MCookieTrigger=C.a,exports.MCopyIcon=n.rn,exports.MCopyrightIcon=n.Ci,exports.MCountUp=R.l,exports.MCountUpIllustration=i.d,exports.MCreditCardIcon=n.hn,exports.MCubeIcon=n.lr,exports.MDashboardIcon=n.gr,exports.MDashboardIconV2=n.er,exports.MDashboardIllustration=i.I,exports.MDataTable=X.t,exports.MDataTableIllustration=i.i,exports.MDatabaseIcon=n.Ht,exports.MDatePicker=Q.r,exports.MDatePickerIllustration=i.v,exports.MDateRangePicker=Q.t,exports.MDateRangePickerIllustration=i._,exports.MDeviceMonitorIcon=n._i,exports.MDevicePhoneIcon=n.yi,exports.MDeviceTabletIcon=n.vi,exports.MDiscordColorIcon=n.j,exports.MDiscordIcon=n.M,exports.MDiscoverColorIcon=n.a,exports.MDiscoverIcon=n.o,exports.MDivider=g.f,exports.MDocCopyIcon=n.ni,exports.MDocIcon=n.Vt,exports.MDocPlusIcon=n.ri,exports.MDollarIcon=n.It,exports.MDownloadIcon=n.tn,exports.MDrawer=P.t,exports.MDrawerBody=P.n,exports.MDrawerFooter=P.r,exports.MDrawerHeader=P.i,exports.MDropdownDivider=I.t,exports.MDropdownGroup=I.n,exports.MDropdownItem=I.r,exports.MDropdownMenu=I.i,exports.MEditIcon=n.nn,exports.MEllipsisHorizontalIcon=n.fn,exports.MEllipsisVerticalIcon=n.sn,exports.MEmptyState=R.a,exports.MEmptyStateIllustration=i.F,exports.MErrorIcon=n.di,exports.MErrorIllustration=i.P,exports.MEuroIcon=n.Ft,exports.MExternalLinkIcon=n.en,exports.MEyeIcon=n._n,exports.MEyeOffIcon=n.gn,exports.MFacebookColorIcon=n.N,exports.MFacebookIcon=n.P,exports.MFigmaColorIcon=n.F,exports.MFigmaIcon=n.I,exports.MFileArchiveIcon=n.Zr,exports.MFileCodeIcon=n.Qr,exports.MFileCssIcon=n.wr,exports.MFileCsvIcon=n.Tr,exports.MFileDocsIcon=n.Er,exports.MFileExeIcon=n.Dr,exports.MFileGifIcon=n.Or,exports.MFileHtmlIcon=n.kr,exports.MFileIcon=n.ii,exports.MFileImageIcon=n.$r,exports.MFileJpgIcon=n.Ar,exports.MFileJsIcon=n.jr,exports.MFileJsonIcon=n.Mr,exports.MFileJsxIcon=n.Nr,exports.MFileManager=Y.d,exports.MFileManagerIllustration=i.m,exports.MFileMdIcon=n.Pr,exports.MFileMp3Icon=n.Fr,exports.MFileMp4Icon=n.Ir,exports.MFileOdtIcon=n.Lr,exports.MFilePdfIcon=n.ei,exports.MFilePhpIcon=n.Rr,exports.MFilePngIcon=n.zr,exports.MFilePptIcon=n.Br,exports.MFileRarIcon=n.Vr,exports.MFileSvgIcon=n.Hr,exports.MFileTextIcon=n.ti,exports.MFileTsIcon=n.Ur,exports.MFileTsxIcon=n.Wr,exports.MFileTxtIcon=n.Gr,exports.MFileVideoIcon=n.Xr,exports.MFileWebpIcon=n.Kr,exports.MFileXlsIcon=n.qr,exports.MFileXmlIcon=n.Jr,exports.MFileZipIcon=n.Yr,exports.MFilterIcon=n.an,exports.MFlagArIcon=n.rt,exports.MFlagArIconV2=n.Dn,exports.MFlagBrIcon=n.nt,exports.MFlagBrIconV2=n.On,exports.MFlagCaIcon=n.et,exports.MFlagCaIconV2=n.kn,exports.MFlagCnIcon=n.ct,exports.MFlagCnIconV2=n.An,exports.MFlagCzIcon=n.st,exports.MFlagCzIconV2=n.jn,exports.MFlagDeIcon=n.pt,exports.MFlagDeIconV2=n.Mn,exports.MFlagEsIcon=n.ut,exports.MFlagEsIconV2=n.Nn,exports.MFlagFrIcon=n.ft,exports.MFlagFrIconV2=n.Pn,exports.MFlagGbIcon=n.mt,exports.MFlagGbIconV2=n.Fn,exports.MFlagInIcon=n.tt,exports.MFlagInIconV2=n.In,exports.MFlagItIcon=n.lt,exports.MFlagItIconV2=n.Ln,exports.MFlagJpIcon=n.at,exports.MFlagJpIconV2=n.Rn,exports.MFlagMxIcon=n.$,exports.MFlagMxIconV2=n.zn,exports.MFlagPlIcon=n.gt,exports.MFlagPlIconV2=n.Bn,exports.MFlagRuIcon=n.it,exports.MFlagRuIconV2=n.Vn,exports.MFlagSkIcon=n.ot,exports.MFlagSkIconV2=n.Hn,exports.MFlagUaIcon=n.dt,exports.MFlagUaIconV2=n.Un,exports.MFlagUsIcon=n.ht,exports.MFlagUsIconV2=n.Wn,exports.MFolderIcon=n.Cr,exports.MFolderOpenIcon=n.Sr,exports.MFolderPlusIcon=n.xr,exports.MFooter=g.x,exports.MForm=$.n,exports.MFormIcon=n.pr,exports.MFormsIllustration=i.s,exports.MGallery=H.s,exports.MGalleryIcon=n.Qt,exports.MGalleryIllustration=i.t,exports.MGitHubColorIcon=n.L,exports.MGitHubIcon=n.R,exports.MGitHubIconV2=n.xn,exports.MGlobeIcon=n.gi,exports.MGoogleColorIcon=n.z,exports.MGoogleIcon=n.B,exports.MGrid=g.p,exports.MGridItem=g.m,exports.MGroupIcon=n.ar,exports.MHeader=g.S,exports.MHeading=y.t,exports.MHeartFillIcon=n.pn,exports.MHeartIcon=n.mn,exports.MHelpIcon=n.mi,exports.MHomeIcon=n.vr,exports.MHomeIconV2=n.ir,exports.MI18nIllustration=i.l,exports.MI18nProvider=t.t,exports.MIcon=n.Bi,exports.MIconV2=n.zi,exports.MIconsIllustration=i.c,exports.MIdCardIcon=n.vn,exports.MIllustration=i.L,exports.MImage=V.t,exports.MImageIcon=n.Zt,exports.MInfoIcon=n.fi,exports.MInline=_.t,exports.MInput=j.t,exports.MInputCVC=L.t,exports.MInputCreditCard=W.o,exports.MInputCurrency=W.c,exports.MInputDate=W.s,exports.MInputEmail=W.p,exports.MInputExpDate=L.n,exports.MInputFile=W.t,exports.MInputGroup=W.a,exports.MInputIBAN=W.u,exports.MInputName=W.d,exports.MInputNumber=W.m,exports.MInputOTP=W.r,exports.MInputPassword=W.h,exports.MInputPhone=W.f,exports.MInputPostCode=W.i,exports.MInputSearch=G.t,exports.MInputSlider=W.n,exports.MInputTaxId=W.l,exports.MInstagramColorIcon=n.V,exports.MInstagramIcon=n.H,exports.MKanbanIcon=n.mr,exports.MKbd=b.t,exports.MLayoutIcon=n._r,exports.MLayoutIconV2=n.tr,exports.MLetsEncryptColorIcon=n.s,exports.MLetsEncryptIcon=n.c,exports.MLightbulbIcon=n.Kt,exports.MLineChart=Y.i,exports.MLink=ee.t,exports.MLinkIcon=n.zt,exports.MLinkedInColorIcon=n.U,exports.MLinkedInIcon=n.W,exports.MList=b.n,exports.MListItem=b.r,exports.MLoadMore=w.r,exports.MLoader=C.u,exports.MLockIcon=n.Rt,exports.MLockOpenIcon=n.Lt,exports.MMaestroColorIcon=n.l,exports.MMaestroIcon=n.u,exports.MMagicIcon=n.Bt,exports.MMailIcon=n.Si,exports.MMailIllustration=i.A,exports.MMailOpenIcon=n.xi,exports.MMasonry=H.r,exports.MMasonryIllustration=i.y,exports.MMasonryItem=H.n,exports.MMastercardColorIcon=n.d,exports.MMastercardIcon=n.f,exports.MMenuIcon=n.cn,exports.MMenuIconV2=n.nr,exports.MMicrosoftColorIcon=n.p,exports.MMicrosoftIcon=n.m,exports.MMinusIcon=n.yr,exports.MModal=M.t,exports.MMoonIcon=n.qt,exports.MNavbar=g.y,exports.MNavbarIllustration=i.n,exports.MNavs=g.b,exports.MNeutralIcon=n.li,exports.MNotFoundIllustration=i.N,exports.MNotificationsIllustration=i.S,exports.MOnboardingIllustration=i.w,exports.MPagination=ne.t,exports.MPaletteIcon=n.Pt,exports.MPayPalColorIcon=n.h,exports.MPayPalIcon=n.g,exports.MPhoneIcon=n.bi,exports.MPieChart=Y.t,exports.MPinIcon=n.hi,exports.MPinterestColorIcon=n._,exports.MPinterestIcon=n.v,exports.MPlusIcon=n.br,exports.MPopconfirm=N.t,exports.MPopover=h.t,exports.MPortal=m.t,exports.MProgressBar=R.u,exports.MProtectIcon=n.Wt,exports.MPuzzleIcon=n.Nt,exports.MQrCode=B.t,exports.MQrCodeIcon=n.xt,exports.MQrCodeIllustration=i.f,exports.MRadio=w.a,exports.MRadioGroup=w.i,exports.MRating=B.n,exports.MRefreshIcon=n.Mt,exports.MReveal=R.s,exports.MScrollTop=w.n,exports.MSearchIcon=n.Ri,exports.MSearchIconV2=n.En,exports.MSearchIllustration=i.j,exports.MSection=g.g,exports.MSecurityIllustration=i.k,exports.MSelect=Q.a,exports.MSendIcon=n.jt,exports.MSettingsIcon=n.Ct,exports.MSettingsIconV2=n.wn,exports.MSettingsIllustration=i.E,exports.MSheet=N.n,exports.MShellBreakpoints=e.n,exports.MShowcaseCarousel=H.i,exports.MShowcaseCarouselItem=H.a,exports.MShowcaseIllustration=i.g,exports.MSidebar=g.i,exports.MSidebarBody=g.a,exports.MSidebarDivider=g.o,exports.MSidebarFooter=g.s,exports.MSidebarGroup=g.c,exports.MSidebarHeader=g.l,exports.MSidebarIcon=n.hr,exports.MSidebarIconV2=n.rr,exports.MSidebarIllustration=i.a,exports.MSidebarItem=g.u,exports.MSidebarNav=g.d,exports.MSignal1Icon=n.bt,exports.MSignal2Icon=n.yt,exports.MSignal3Icon=n.vt,exports.MSignal4Icon=n._t,exports.MSimpleGrid=g.h,exports.MSkeleton=k.t,exports.MSlackColorIcon=n.G,exports.MSlackIcon=n.K,exports.MSlider=D.t,exports.MSlidersIcon=n.fr,exports.MSocialButton=w.t,exports.MSortIcon=n.in,exports.MSparkline=K.t,exports.MSpinner=S.r,exports.MSpotifyColorIcon=n.y,exports.MSpotifyIcon=n.b,exports.MStack=J.t,exports.MStarFillIcon=n.ai,exports.MStarIcon=n.oi,exports.MStep=R.r,exports.MStepper=R.i,exports.MSubText=x.t,exports.MSuccessIcon=n.ui,exports.MSuccessIllustration=i.M,exports.MSunIcon=n.Jt,exports.MSurface=Z.t,exports.MTabs=g._,exports.MTag=te.t,exports.MTagIcon=n.Et,exports.MTaskList=Y.f,exports.MTaskListIllustration=i.r,exports.MTeamIcon=n.or,exports.MTeamIllustration=i.C,exports.MTerminalIcon=n.dr,exports.MText=v.t,exports.MTextarea=W.g,exports.MThemeProvider=e.a,exports.MTimeAgo=z.t,exports.MTimeAgoIllustration=i.u,exports.MTimePicker=Q.n,exports.MTimeline=R.t,exports.MTimelineItem=R.n,exports.MToastProvider=C.c,exports.MToggle=E.t,exports.MTooltip=F.t,exports.MTopbar=g.v,exports.MTopbarIllustration=i.o,exports.MTranslateIcon=n.Yt,exports.MTrashIcon=n.dn,exports.MTreeView=Y.p,exports.MTumblrColorIcon=n.x,exports.MTumblrIcon=n.S,exports.MUnityColorIcon=n.C,exports.MUnityIcon=n.w,exports.MUploadIcon=n.si,exports.MUploadIllustration=i.T,exports.MUserIcon=n.cr,exports.MUserIconV2=n.Cn,exports.MUsersIcon=n.sr,exports.MVimeoColorIcon=n.T,exports.MVimeoIcon=n.E,exports.MVisaColorIcon=n.D,exports.MVisaIcon=n.O,exports.MVkColorIcon=n.k,exports.MVkIcon=n.A,exports.MWalletIllustration=i.x,exports.MWarningIcon=n.pi,exports.MWindowIcon=n.ur,exports.MXColorIcon=n.q,exports.MXIcon=n.J,exports.MYouTubeColorIcon=n.Y,exports.MYouTubeIcon=n.X,exports.MZoomInIcon=n.un,exports.MZoomOutIcon=n.ln,exports.addMonths=c.t,exports.addYears=c.n,exports.adjustCursorAfterFormat=s.t,exports.autoBootstrapMCookieConsent=q.t,exports.bootstrapMCookieConsent=q.n,exports.capitalizeWords=s.n,exports.cn=r.t,exports.composeValidators=a.t,exports.creditCardBrands=o.t,exports.daysInMonth=c.i,exports.detectCardBrand=o.n,exports.firstDayOfMonth=c.a,exports.formatAbsoluteTime=l.t,exports.formatCardNumber=o.r,exports.formatCurrency=s.r,exports.formatDate=c.o,exports.formatIBAN=s.a,exports.formatNIP=s.o,exports.formatPhone=s.s,exports.formatPostCode=a.h,exports.formatRelativeTime=l.n,exports.formatTime=c.c,exports.getAutoUpdateInterval=l.r,exports.getDayNames=c.u,exports.getHiddenProps=e.r,exports.getMineralComponentLicense=d.t,exports.getMineralComponentPlan=d.n,exports.getMonthNames=c.d,exports.getPostCodeRule=a.g,exports.getRelativeTimeValue=l.i,exports.isDateInRange=c.f,exports.isMineralProComponent=d.r,exports.isSameDay=c.p,exports.mineralComponentLicenses=d.i,exports.mineralProComponents=d.a,exports.parseCurrencyToNumber=s.c,exports.parseDate=c.m,exports.parseRelativeThreshold=l.a,exports.parseTime=c.h,exports.postCodeCountries=a._,exports.postCodeRules=a.v,exports.readMCookieBootstrapConfig=q.r,exports.reportMCookieSurface=q.i,exports.scanMCookieSurface=q.a,exports.stripCardNumber=o.i,exports.stripNonAlphanumeric=s.l,exports.stripNonDigits=s.u,exports.stripTime=c._,exports.toDate=l.o,exports.unformatIBAN=s.d,exports.useClickOutside=d.o,exports.useDebounce=u.n,exports.useDebouncedCallback=u.r,exports.useFormContext=$.r,exports.useFormField=$.t,exports.useGhostText=u.t,exports.useInteractionEffect=p.t,exports.useKeyboardNav=f.t,exports.useMCookieConsent=C.s,exports.useMI18n=t.n,exports.useMTheme=e.o,exports.useMToast=C.l,exports.useMaxWidth=e.i,exports.validateCardNumber=o.a,exports.validateEmail=a.i,exports.validateIBAN=a.a,exports.validateMaxLength=a.o,exports.validateMinLength=a.s,exports.validateNIP=a.c,exports.validatePESEL=a.l,exports.validatePattern=a.u,exports.validatePhone=a.d,exports.validatePostCode=a.y,exports.validateREGON=a.f,exports.validateRange=a.p,exports.validateRequired=a.m;
3
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./theme-Bnwe-wvr.cjs`),t=require(`./MI18nProvider-Bml7Vs2-.cjs`);require(`./i18n.cjs`);const n=require(`./icons-BJCV7W0L.cjs`),r=require(`./cn-DYFxgzi2.cjs`),i=require(`./MGalleryIllustration-BHtRFizZ.cjs`),a=require(`./validators-D4aTeaH0.cjs`),o=require(`./creditCards-198KJN0s.cjs`),s=require(`./formatters-CauWlsnM.cjs`),c=require(`./dateUtils-vT9rOf1J.cjs`),l=require(`./relativeTime-DUbW4O44.cjs`),u=require(`./useGhostText-D1DbIs-n.cjs`),d=require(`./licensing-JchPJhVY.cjs`),f=require(`./useKeyboardNav-BoibrRUF.cjs`),p=require(`./useInteractionEffect-CYHGHV1e.cjs`),m=require(`./MPortal-DE3pL2Xl.cjs`),h=require(`./MPopover-BW23_1Dl.cjs`);require(`./primitives.cjs`);const g=require(`./layout-DZiWboju.cjs`),_=require(`./MInline-D9p9Sazp.cjs`),v=require(`./MText-COzub3y4.cjs`),y=require(`./MHeading-DHT1gORD.cjs`),ee=require(`./MLink-U_wAUuz1.cjs`),b=require(`./typography-D1s-QFlb.cjs`),x=require(`./MSubText-DP9WYlwz.cjs`),S=require(`./MButton-LUNWBBOV.cjs`),C=require(`./feedback-DiMptPJy.cjs`),w=require(`./controls-B7wV_kjJ.cjs`),T=require(`./MCheckbox-PzknJeM2.cjs`),E=require(`./MToggle-Cm3f6gm4.cjs`),D=require(`./MSlider-sH2Vt9Lw.cjs`),O=require(`./MBadge-DcIPfPH1.cjs`),te=require(`./MTag-DXqkBvqx.cjs`),k=require(`./MSkeleton-B0Mxe3L7.cjs`),A=require(`./cards-B75QM9JW.cjs`),j=require(`./MInput-DDZ71Qqn.cjs`),M=require(`./MModal-Czy-rR--.cjs`),N=require(`./overlays-8htlWp07.cjs`),P=require(`./MDrawer-DRqMsjMt.cjs`),F=require(`./MTooltip-C3PeHgV3.cjs`),I=require(`./MDropdownMenu-CymCQqyP.cjs`),L=require(`./MInputCVC-Sp2uZ5aO.cjs`),R=require(`./display-DN4EHu5P.cjs`),z=require(`./MTimeAgo-DWwXs48z.cjs`),B=require(`./MQrCode-CMoru4dD.cjs`),V=require(`./MImage-CxeuH-cT.cjs`),H=require(`./media-p643cb02.cjs`),U=require(`./MAvatar-DGEQqUss.cjs`),W=require(`./inputs-EZBwxk7j.cjs`),G=require(`./MInputSearch-30o4bcDC.cjs`),K=require(`./MSparkline-B-ld7hJu.cjs`),q=require(`./MCookieBootstrap-DSOT4FQo.cjs`),J=require(`./MStack-Cy2GplIA.cjs`),Y=require(`./data-DHkccnSN.cjs`),X=require(`./MDataTable-Bq6UoNJX.cjs`),Z=require(`./MSurface-C467dVMQ.cjs`),ne=require(`./MPagination-73z0sQvf.cjs`),Q=require(`./dropdowns-cRrLY8FG.cjs`),$=require(`./form-DABPazeN.cjs`);exports.MAccordion=R.d,exports.MAccordionItem=R.f,exports.MAlert=C.f,exports.MAmazonColorIcon=n.t,exports.MAmazonIcon=n.n,exports.MAmericanExpressColorIcon=n.Z,exports.MAmericanExpressIcon=n.Q,exports.MAnalyticsIllustration=i.O,exports.MAppShell=g.t,exports.MAppleColorIcon=n.r,exports.MAppleIcon=n.i,exports.MAreaChart=Y.n,exports.MArrowDownIcon=n.Oi,exports.MArrowDownIconV2=n.Gn,exports.MArrowLeftIcon=n.ji,exports.MArrowLeftIconV2=n.Kn,exports.MArrowRightIcon=n.Ai,exports.MArrowRightIconV2=n.qn,exports.MArrowUpDownIcon=n.Di,exports.MArrowUpDownIconV2=n.Jn,exports.MArrowUpIcon=n.ki,exports.MArrowUpIconV2=n.Yn,exports.MAttachIcon=n.Ei,exports.MAutocomplete=Q.i,exports.MAvatar=U.t,exports.MAvatarStack=H.t,exports.MBadge=O.t,exports.MBankIcon=n.yn,exports.MBanner=C.d,exports.MBarChart=Y.r,exports.MBellIcon=n.Xt,exports.MBody=g.n,exports.MBoltIcon=n.Gt,exports.MBoxIcon=n.Ut,exports.MBreadcrumb=g.r,exports.MBreakpoints=e.t,exports.MBugIcon=n.bn,exports.MBuildingIcon=n.on,exports.MButton=S.t,exports.MButtonGroup=w.o,exports.MCOOKIE_BOOTSTRAP_CONFIG_KEY=q.o,exports.MCOOKIE_CONSENT_CHANGE_EVENT=q.s,exports.MCalendarBoard=Y.a,exports.MCalendarBoardIllustration=i.h,exports.MCalendarDayCell=Y.o,exports.MCalendarEventItem=Y.s,exports.MCalendarEventList=Y.c,exports.MCalendarEventPopover=Y.l,exports.MCalendarIcon=n.Ti,exports.MCalendarIconV2=n.Tn,exports.MCalendarIllustration=i.D,exports.MCalendarTimeline=Y.u,exports.MCameraIcon=n.Dt,exports.MCard=k.n,exports.MCardBody=k.r,exports.MCardBusiness=A.c,exports.MCardCourse=A.o,exports.MCardEvent=A.i,exports.MCardFinance=A.t,exports.MCardFooter=k.i,exports.MCardGrid=A.n,exports.MCardHeader=k.a,exports.MCardOffer=A.s,exports.MCardPayment=A.u,exports.MCardPaymentMethod=A.l,exports.MCardProduct=A.a,exports.MCardWidget=A.r,exports.MCarousel=H.o,exports.MCartIcon=n.wt,exports.MChartIcon=n.St,exports.MChartIconV2=n.Sn,exports.MChat=Y.x,exports.MChatBody=Y.v,exports.MChatConversationItem=Y.m,exports.MChatConversationList=Y.h,exports.MChatHeader=Y.b,exports.MChatIcon=n.At,exports.MChatIllustration=i.b,exports.MChatInput=Y._,exports.MChatMessage=Y.y,exports.MChatTypingIndicator=Y.g,exports.MChatsIcon=n.kt,exports.MCheckCircleIcon=n.ci,exports.MCheckIcon=n.Ii,exports.MCheckbox=T.t,exports.MChevronDownIcon=n.Ni,exports.MChevronDownIconV2=n.Xn,exports.MChevronLeftIcon=n.Fi,exports.MChevronLeftIconV2=n.Zn,exports.MChevronRightIcon=n.Pi,exports.MChevronRightIconV2=n.Qn,exports.MChevronUpIcon=n.Mi,exports.MChevronUpIconV2=n.$n,exports.MClickIcon=n.$t,exports.MClipboardIcon=n.Tt,exports.MClockIcon=n.wi,exports.MCloseIcon=n.Li,exports.MCode=b.i,exports.MCodeBlock=R.c,exports.MCollapsible=R.p,exports.MColorPicker=R.o,exports.MCommentIcon=n.Ot,exports.MContainer=g.C,exports.MCookieBanner=C.n,exports.MCookieConsent=C.r,exports.MCookieConsentIllustration=i.p,exports.MCookieConsentProvider=C.o,exports.MCookieDeclaration=C.t,exports.MCookiePreferences=C.i,exports.MCookieTrigger=C.a,exports.MCopyIcon=n.rn,exports.MCopyrightIcon=n.Ci,exports.MCountUp=R.l,exports.MCountUpIllustration=i.d,exports.MCreditCardIcon=n.hn,exports.MCubeIcon=n.lr,exports.MDashboardIcon=n.gr,exports.MDashboardIconV2=n.er,exports.MDashboardIllustration=i.I,exports.MDataTable=X.t,exports.MDataTableIllustration=i.i,exports.MDatabaseIcon=n.Ht,exports.MDatePicker=Q.r,exports.MDatePickerIllustration=i.v,exports.MDateRangePicker=Q.t,exports.MDateRangePickerIllustration=i._,exports.MDeviceMonitorIcon=n._i,exports.MDevicePhoneIcon=n.yi,exports.MDeviceTabletIcon=n.vi,exports.MDiscordColorIcon=n.j,exports.MDiscordIcon=n.M,exports.MDiscoverColorIcon=n.a,exports.MDiscoverIcon=n.o,exports.MDivider=g.f,exports.MDocCopyIcon=n.ni,exports.MDocIcon=n.Vt,exports.MDocPlusIcon=n.ri,exports.MDollarIcon=n.It,exports.MDownloadIcon=n.tn,exports.MDrawer=P.t,exports.MDrawerBody=P.n,exports.MDrawerFooter=P.r,exports.MDrawerHeader=P.i,exports.MDropdownDivider=I.t,exports.MDropdownGroup=I.n,exports.MDropdownItem=I.r,exports.MDropdownMenu=I.i,exports.MEditIcon=n.nn,exports.MEllipsisHorizontalIcon=n.fn,exports.MEllipsisVerticalIcon=n.sn,exports.MEmptyState=R.a,exports.MEmptyStateIllustration=i.F,exports.MErrorIcon=n.di,exports.MErrorIllustration=i.P,exports.MEuroIcon=n.Ft,exports.MExternalLinkIcon=n.en,exports.MEyeIcon=n._n,exports.MEyeOffIcon=n.gn,exports.MFacebookColorIcon=n.N,exports.MFacebookIcon=n.P,exports.MFigmaColorIcon=n.F,exports.MFigmaIcon=n.I,exports.MFileArchiveIcon=n.Zr,exports.MFileCodeIcon=n.Qr,exports.MFileCssIcon=n.wr,exports.MFileCsvIcon=n.Tr,exports.MFileDocsIcon=n.Er,exports.MFileExeIcon=n.Dr,exports.MFileGifIcon=n.Or,exports.MFileHtmlIcon=n.kr,exports.MFileIcon=n.ii,exports.MFileImageIcon=n.$r,exports.MFileJpgIcon=n.Ar,exports.MFileJsIcon=n.jr,exports.MFileJsonIcon=n.Mr,exports.MFileJsxIcon=n.Nr,exports.MFileManager=Y.d,exports.MFileManagerIllustration=i.m,exports.MFileMdIcon=n.Pr,exports.MFileMp3Icon=n.Fr,exports.MFileMp4Icon=n.Ir,exports.MFileOdtIcon=n.Lr,exports.MFilePdfIcon=n.ei,exports.MFilePhpIcon=n.Rr,exports.MFilePngIcon=n.zr,exports.MFilePptIcon=n.Br,exports.MFileRarIcon=n.Vr,exports.MFileSvgIcon=n.Hr,exports.MFileTextIcon=n.ti,exports.MFileTsIcon=n.Ur,exports.MFileTsxIcon=n.Wr,exports.MFileTxtIcon=n.Gr,exports.MFileVideoIcon=n.Xr,exports.MFileWebpIcon=n.Kr,exports.MFileXlsIcon=n.qr,exports.MFileXmlIcon=n.Jr,exports.MFileZipIcon=n.Yr,exports.MFilterIcon=n.an,exports.MFlagArIcon=n.rt,exports.MFlagArIconV2=n.Dn,exports.MFlagBrIcon=n.nt,exports.MFlagBrIconV2=n.On,exports.MFlagCaIcon=n.et,exports.MFlagCaIconV2=n.kn,exports.MFlagCnIcon=n.ct,exports.MFlagCnIconV2=n.An,exports.MFlagCzIcon=n.st,exports.MFlagCzIconV2=n.jn,exports.MFlagDeIcon=n.pt,exports.MFlagDeIconV2=n.Mn,exports.MFlagEsIcon=n.ut,exports.MFlagEsIconV2=n.Nn,exports.MFlagFrIcon=n.ft,exports.MFlagFrIconV2=n.Pn,exports.MFlagGbIcon=n.mt,exports.MFlagGbIconV2=n.Fn,exports.MFlagInIcon=n.tt,exports.MFlagInIconV2=n.In,exports.MFlagItIcon=n.lt,exports.MFlagItIconV2=n.Ln,exports.MFlagJpIcon=n.at,exports.MFlagJpIconV2=n.Rn,exports.MFlagMxIcon=n.$,exports.MFlagMxIconV2=n.zn,exports.MFlagPlIcon=n.gt,exports.MFlagPlIconV2=n.Bn,exports.MFlagRuIcon=n.it,exports.MFlagRuIconV2=n.Vn,exports.MFlagSkIcon=n.ot,exports.MFlagSkIconV2=n.Hn,exports.MFlagUaIcon=n.dt,exports.MFlagUaIconV2=n.Un,exports.MFlagUsIcon=n.ht,exports.MFlagUsIconV2=n.Wn,exports.MFolderIcon=n.Cr,exports.MFolderOpenIcon=n.Sr,exports.MFolderPlusIcon=n.xr,exports.MFooter=g.x,exports.MForm=$.n,exports.MFormIcon=n.pr,exports.MFormsIllustration=i.s,exports.MGallery=H.s,exports.MGalleryIcon=n.Qt,exports.MGalleryIllustration=i.t,exports.MGitHubColorIcon=n.L,exports.MGitHubIcon=n.R,exports.MGitHubIconV2=n.xn,exports.MGlobeIcon=n.gi,exports.MGoogleColorIcon=n.z,exports.MGoogleIcon=n.B,exports.MGrid=g.p,exports.MGridItem=g.m,exports.MGroupIcon=n.ar,exports.MHeader=g.S,exports.MHeading=y.t,exports.MHeartFillIcon=n.pn,exports.MHeartIcon=n.mn,exports.MHelpIcon=n.mi,exports.MHomeIcon=n.vr,exports.MHomeIconV2=n.ir,exports.MI18nIllustration=i.l,exports.MI18nProvider=t.t,exports.MIcon=n.Bi,exports.MIconV2=n.zi,exports.MIconsIllustration=i.c,exports.MIdCardIcon=n.vn,exports.MIllustration=i.L,exports.MImage=V.t,exports.MImageIcon=n.Zt,exports.MInfoIcon=n.fi,exports.MInline=_.t,exports.MInput=j.t,exports.MInputCVC=L.t,exports.MInputCreditCard=W.o,exports.MInputCurrency=W.c,exports.MInputDate=W.s,exports.MInputEmail=W.p,exports.MInputExpDate=L.n,exports.MInputFile=W.t,exports.MInputGroup=W.a,exports.MInputIBAN=W.u,exports.MInputName=W.d,exports.MInputNumber=W.m,exports.MInputOTP=W.r,exports.MInputPassword=W.h,exports.MInputPhone=W.f,exports.MInputPostCode=W.i,exports.MInputSearch=G.t,exports.MInputSlider=W.n,exports.MInputTaxId=W.l,exports.MInstagramColorIcon=n.V,exports.MInstagramIcon=n.H,exports.MKanbanIcon=n.mr,exports.MKbd=b.t,exports.MLayoutIcon=n._r,exports.MLayoutIconV2=n.tr,exports.MLetsEncryptColorIcon=n.s,exports.MLetsEncryptIcon=n.c,exports.MLightbulbIcon=n.Kt,exports.MLineChart=Y.i,exports.MLink=ee.t,exports.MLinkIcon=n.zt,exports.MLinkedInColorIcon=n.U,exports.MLinkedInIcon=n.W,exports.MList=b.n,exports.MListItem=b.r,exports.MLoadMore=w.r,exports.MLoader=C.u,exports.MLockIcon=n.Rt,exports.MLockOpenIcon=n.Lt,exports.MMaestroColorIcon=n.l,exports.MMaestroIcon=n.u,exports.MMagicIcon=n.Bt,exports.MMailIcon=n.Si,exports.MMailIllustration=i.A,exports.MMailOpenIcon=n.xi,exports.MMasonry=H.r,exports.MMasonryIllustration=i.y,exports.MMasonryItem=H.n,exports.MMastercardColorIcon=n.d,exports.MMastercardIcon=n.f,exports.MMenuIcon=n.cn,exports.MMenuIconV2=n.nr,exports.MMicrosoftColorIcon=n.p,exports.MMicrosoftIcon=n.m,exports.MMinusIcon=n.yr,exports.MModal=M.t,exports.MMoonIcon=n.qt,exports.MNavbar=g.y,exports.MNavbarIllustration=i.n,exports.MNavs=g.b,exports.MNeutralIcon=n.li,exports.MNotFoundIllustration=i.N,exports.MNotificationsIllustration=i.S,exports.MOnboardingIllustration=i.w,exports.MPagination=ne.t,exports.MPaletteIcon=n.Pt,exports.MPayPalColorIcon=n.h,exports.MPayPalIcon=n.g,exports.MPhoneIcon=n.bi,exports.MPieChart=Y.t,exports.MPinIcon=n.hi,exports.MPinterestColorIcon=n._,exports.MPinterestIcon=n.v,exports.MPlusIcon=n.br,exports.MPopconfirm=N.t,exports.MPopover=h.t,exports.MPortal=m.t,exports.MProgressBar=R.u,exports.MProtectIcon=n.Wt,exports.MPuzzleIcon=n.Nt,exports.MQrCode=B.t,exports.MQrCodeIcon=n.xt,exports.MQrCodeIllustration=i.f,exports.MRadio=w.a,exports.MRadioGroup=w.i,exports.MRating=B.n,exports.MRefreshIcon=n.Mt,exports.MReveal=R.s,exports.MScrollTop=w.n,exports.MSearchIcon=n.Ri,exports.MSearchIconV2=n.En,exports.MSearchIllustration=i.j,exports.MSection=g.g,exports.MSecurityIllustration=i.k,exports.MSelect=Q.a,exports.MSendIcon=n.jt,exports.MSettingsIcon=n.Ct,exports.MSettingsIconV2=n.wn,exports.MSettingsIllustration=i.E,exports.MSheet=N.n,exports.MShellBreakpoints=e.n,exports.MShowcaseCarousel=H.i,exports.MShowcaseCarouselItem=H.a,exports.MShowcaseIllustration=i.g,exports.MSidebar=g.i,exports.MSidebarBody=g.a,exports.MSidebarDivider=g.o,exports.MSidebarFooter=g.s,exports.MSidebarGroup=g.c,exports.MSidebarHeader=g.l,exports.MSidebarIcon=n.hr,exports.MSidebarIconV2=n.rr,exports.MSidebarIllustration=i.a,exports.MSidebarItem=g.u,exports.MSidebarNav=g.d,exports.MSignal1Icon=n.bt,exports.MSignal2Icon=n.yt,exports.MSignal3Icon=n.vt,exports.MSignal4Icon=n._t,exports.MSimpleGrid=g.h,exports.MSkeleton=k.t,exports.MSlackColorIcon=n.G,exports.MSlackIcon=n.K,exports.MSlider=D.t,exports.MSlidersIcon=n.fr,exports.MSocialButton=w.t,exports.MSortIcon=n.in,exports.MSparkline=K.t,exports.MSpinner=S.r,exports.MSpotifyColorIcon=n.y,exports.MSpotifyIcon=n.b,exports.MStack=J.t,exports.MStarFillIcon=n.ai,exports.MStarIcon=n.oi,exports.MStep=R.r,exports.MStepper=R.i,exports.MSubText=x.t,exports.MSuccessIcon=n.ui,exports.MSuccessIllustration=i.M,exports.MSunIcon=n.Jt,exports.MSurface=Z.t,exports.MTabs=g._,exports.MTag=te.t,exports.MTagIcon=n.Et,exports.MTaskList=Y.f,exports.MTaskListIllustration=i.r,exports.MTeamIcon=n.or,exports.MTeamIllustration=i.C,exports.MTerminalIcon=n.dr,exports.MText=v.t,exports.MTextarea=W.g,exports.MThemeProvider=e.a,exports.MTimeAgo=z.t,exports.MTimeAgoIllustration=i.u,exports.MTimePicker=Q.n,exports.MTimeline=R.t,exports.MTimelineItem=R.n,exports.MToastProvider=C.c,exports.MToggle=E.t,exports.MTooltip=F.t,exports.MTopbar=g.v,exports.MTopbarIllustration=i.o,exports.MTranslateIcon=n.Yt,exports.MTrashIcon=n.dn,exports.MTreeView=Y.p,exports.MTumblrColorIcon=n.x,exports.MTumblrIcon=n.S,exports.MUnityColorIcon=n.C,exports.MUnityIcon=n.w,exports.MUploadIcon=n.si,exports.MUploadIllustration=i.T,exports.MUserIcon=n.cr,exports.MUserIconV2=n.Cn,exports.MUsersIcon=n.sr,exports.MVimeoColorIcon=n.T,exports.MVimeoIcon=n.E,exports.MVisaColorIcon=n.D,exports.MVisaIcon=n.O,exports.MVkColorIcon=n.k,exports.MVkIcon=n.A,exports.MWalletIllustration=i.x,exports.MWarningIcon=n.pi,exports.MWindowIcon=n.ur,exports.MXColorIcon=n.q,exports.MXIcon=n.J,exports.MYouTubeColorIcon=n.Y,exports.MYouTubeIcon=n.X,exports.MZoomInIcon=n.un,exports.MZoomOutIcon=n.ln,exports.addMonths=c.t,exports.addYears=c.n,exports.adjustCursorAfterFormat=s.t,exports.autoBootstrapMCookieConsent=q.t,exports.bootstrapMCookieConsent=q.n,exports.capitalizeWords=s.n,exports.cn=r.t,exports.composeValidators=a.t,exports.creditCardBrands=o.t,exports.daysInMonth=c.i,exports.detectCardBrand=o.n,exports.firstDayOfMonth=c.a,exports.formatAbsoluteTime=l.t,exports.formatCardNumber=o.r,exports.formatCurrency=s.r,exports.formatDate=c.o,exports.formatIBAN=s.a,exports.formatNIP=s.o,exports.formatPhone=s.s,exports.formatPostCode=a.h,exports.formatRelativeTime=l.n,exports.formatTime=c.c,exports.getAutoUpdateInterval=l.r,exports.getDayNames=c.u,exports.getHiddenProps=e.r,exports.getMineralComponentLicense=d.t,exports.getMineralComponentPlan=d.n,exports.getMonthNames=c.d,exports.getPostCodeRule=a.g,exports.getRelativeTimeValue=l.i,exports.isDateInRange=c.f,exports.isMineralProComponent=d.r,exports.isSameDay=c.p,exports.mineralComponentLicenses=d.i,exports.mineralProComponents=d.a,exports.parseCurrencyToNumber=s.c,exports.parseDate=c.m,exports.parseRelativeThreshold=l.a,exports.parseTime=c.h,exports.postCodeCountries=a._,exports.postCodeRules=a.v,exports.readMCookieBootstrapConfig=q.r,exports.reportMCookieSurface=q.i,exports.scanMCookieSurface=q.a,exports.stripCardNumber=o.i,exports.stripNonAlphanumeric=s.l,exports.stripNonDigits=s.u,exports.stripTime=c._,exports.toDate=l.o,exports.unformatIBAN=s.d,exports.useClickOutside=d.o,exports.useDebounce=u.n,exports.useDebouncedCallback=u.r,exports.useFormContext=$.r,exports.useFormField=$.t,exports.useGhostText=u.t,exports.useInteractionEffect=p.t,exports.useKeyboardNav=f.t,exports.useMCookieConsent=C.s,exports.useMI18n=t.n,exports.useMTheme=e.o,exports.useMToast=C.l,exports.useMaxWidth=e.i,exports.validateCardNumber=o.a,exports.validateEmail=a.i,exports.validateIBAN=a.a,exports.validateMaxLength=a.o,exports.validateMinLength=a.s,exports.validateNIP=a.c,exports.validatePESEL=a.l,exports.validatePattern=a.u,exports.validatePhone=a.d,exports.validatePostCode=a.y,exports.validateREGON=a.f,exports.validateRange=a.p,exports.validateRequired=a.m;
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ import { i as fs, n as ps, r as ms, t as hs } from "./MDrawer-C08QXXC4.js";
42
42
  import { t as gs } from "./MTooltip-w6Aj044c.js";
43
43
  import { i as _s, n as vs, r as ys, t as bs } from "./MDropdownMenu-CMnBt-wO.js";
44
44
  import { n as xs, t as Ss } from "./MInputCVC-CN91scmw.js";
45
- import { a as Cs, c as ws, d as Ts, f as Es, i as Ds, l as Os, n as ks, o as As, p as js, r as Ms, s as Ns, t as Ps, u as Fs } from "./display-Xqa2Qns3.js";
45
+ import { a as Cs, c as ws, d as Ts, f as Es, i as Ds, l as Os, n as ks, o as As, p as js, r as Ms, s as Ns, t as Ps, u as Fs } from "./display-imLV7i6d.js";
46
46
  import { t as Is } from "./MTimeAgo-D1G2yovw.js";
47
47
  import { n as Ls, t as Rs } from "./MQrCode-DK5-SBhN.js";
48
48
  import { t as zs } from "./MImage-BQs91GK-.js";