@rubenpazch/overlay-loader 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n=require("react"),r={exports:{}},a={};var o,t,l={};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n=require("react"),r={exports:{}},o={};var a,t,l={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,5 +7,5 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */function i(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){function e(n){if(null==n)return null;if("function"==typeof n)return n.$$typeof===j?null:n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case y:return"Fragment";case b:return"Profiler";case _:return"StrictMode";case x:return"Suspense";case L:return"SuspenseList";case k:return"Activity"}if("object"==typeof n)switch("number"==typeof n.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case m:return"Portal";case g:return n.displayName||"Context";case v:return(n._context.displayName||"Context")+".Consumer";case h:var r=n.render;return(n=n.displayName)||(n=""!==(n=r.displayName||r.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case O:return null!==(r=n.displayName||null)?r:e(n.type)||"Memo";case S:r=n._payload,n=n._init;try{return e(n(r))}catch(e){}}return null}function r(e){return""+e}function a(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var a=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(n){if(n===y)return"<>";if("object"==typeof n&&null!==n&&n.$$typeof===S)return"<...>";try{var r=e(n);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function t(){return Error("react-stack-top-frame")}function i(){var n=e(this.type);return R[n]||(R[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(n=this.props.ref)?n:null}function s(n,r,o,t,l,s){var d,p=r.children;if(void 0!==p)if(t)if(I(p)){for(t=0;t<p.length;t++)c(p[t]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(p);if(N.call(r,"key")){p=e(n);var m=Object.keys(r).filter(function(e){return"key"!==e});t=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",C[p+t]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',t,p,m,p),C[p+t]=!0)}if(p=null,void 0!==o&&(a(o),p=""+o),function(e){if(N.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(a(r.key),p=""+r.key),"key"in r)for(var y in o={},r)"key"!==y&&(o[y]=r[y]);else o=r;return p&&function(e,n){function r(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof n?n.displayName||n.name||"Unknown":n),function(e,n,r,a,o,t){var l=r.ref;return e={$$typeof:f,type:e,key:n,props:r,_owner:a},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:t}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(n,p,o,null===(d=w.A)?null:d.getOwner(),l,s)}function c(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===S&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var u,p=n,f=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),w=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,I=Array.isArray,A=console.createTask?console.createTask:function(){return null},R={},T=(p={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(p,t)(),E=A(o(t)),C={};l.Fragment=y,l.jsx=function(e,n,r){var a=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,a?Error("react-stack-top-frame"):T,a?A(o(e)):E)},l.jsxs=function(e,n,r){var a=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,a?Error("react-stack-top-frame"):T,a?A(o(e)):E)}}()),l}var s=(t||(t=1,"production"===process.env.NODE_ENV?r.exports=function(){if(e)return a;e=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,r,a){var o=null;if(void 0!==a&&(o=""+a),void 0!==r.key&&(o=""+r.key),"key"in r)for(var t in a={},r)"key"!==t&&(a[t]=r[t]);else a=r;return r=a.ref,{$$typeof:n,type:e,key:o,ref:void 0!==r?r:null,props:a}}return a.Fragment=r,a.jsx=o,a.jsxs=o,a}():r.exports=i()),r.exports);function c(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var d={overlay:"OverlayLoader-module_overlay__qcL3K",content:"OverlayLoader-module_content__bG9P9",spinner:"OverlayLoader-module_spinner__YJ9AS","overlay-loader-spin":"OverlayLoader-module_overlay-loader-spin__6moIr",success:"OverlayLoader-module_success__oK2na",danger:"OverlayLoader-module_danger__8h6rA",title:"OverlayLoader-module_title__cRwF9",message:"OverlayLoader-module_message__QTybd"};c('.OverlayLoader-module_overlay__qcL3K {\n position: fixed;\n inset: 0;\n z-index: 9998;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--lb-space-4, 16px);\n background: var(--lb-color-neutral-100, #f1f5f9);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n opacity: 1;\n transition: opacity 0.35s ease;\n}\n\n.OverlayLoader-module_overlay__qcL3K[data-visible="false"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n\n.OverlayLoader-module_content__bG9P9 {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--lb-space-4, 16px);\n text-align: center;\n padding: 0 var(--lb-space-4, 16px);\n}\n\n.OverlayLoader-module_spinner__YJ9AS {\n width: 44px;\n height: 44px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 4px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-accent-blue-accent, #2563eb);\n animation: OverlayLoader-module_overlay-loader-spin__6moIr 0.8s linear infinite;\n}\n\n.OverlayLoader-module_success__oK2na .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-accent-emerald-accent, #059669);\n}\n\n.OverlayLoader-module_danger__8h6rA .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-accent-red-accent, #dc2626);\n}\n\n.OverlayLoader-module_title__cRwF9 {\n margin: 0;\n font-size: var(--lb-font-size-h6, 1.125rem);\n font-weight: var(--lb-font-weight-semibold, 600);\n color: var(--lb-color-neutral-800, #1e293b);\n}\n\n.OverlayLoader-module_message__QTybd {\n margin: 0;\n font-size: 0.9rem;\n letter-spacing: 0.02em;\n max-width: 32ch;\n}\n\n@keyframes OverlayLoader-module_overlay-loader-spin__6moIr {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .OverlayLoader-module_spinner__YJ9AS {\n animation-duration: 1.6s;\n }\n .OverlayLoader-module_overlay__qcL3K {\n transition: none;\n }\n}\n');const u=(...e)=>e.filter(Boolean).join(" "),p=({visible:e,message:n,title:r,variant:a="default",spinnerLabel:o,className:t})=>s.jsx("div",{className:u(d.overlay,d[a],t),"data-visible":e?"true":"false",role:"status","aria-live":"polite","aria-hidden":e?void 0:"true",children:s.jsxs("div",{className:d.content,children:[s.jsx("span",{className:d.spinner,role:"progressbar","aria-label":o??n??"Cargando"}),r?s.jsx("p",{className:d.title,children:r}):null,n?s.jsx("p",{className:d.message,children:n}):null]})});var f={loader:"InlineLoader-module_loader__K5vsx",fill:"InlineLoader-module_fill__QS9Mx",spinner:"InlineLoader-module_spinner__QVSXx","inline-loader-spin":"InlineLoader-module_inline-loader-spin__GuC9y",success:"InlineLoader-module_success__QpZXK",danger:"InlineLoader-module_danger__E-xfN",message:"InlineLoader-module_message__BZuIj"};c('.InlineLoader-module_loader__K5vsx {\n display: flex;\n align-items: center;\n gap: var(--lb-space-3, 12px);\n padding: var(--lb-space-4, 16px);\n border-radius: var(--lb-radius-lg, 12px);\n background: var(--lb-color-background, #ffffff);\n border: 1px solid var(--lb-color-border, #e2e8f0);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n font-size: 0.875rem;\n}\n\n/* Fill the available content area and center the spinner/message, dropping the\n compact card chrome. Handy when the loader owns a whole region (route slot).\n `flex: 1` fills when the parent is a flex column; the viewport min-height is a\n robust fallback for normal block containers. */\n.InlineLoader-module_fill__QS9Mx {\n flex: 1 1 auto;\n align-self: stretch;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n min-height: 60vh;\n padding: var(--lb-space-6, 24px);\n border: none;\n background: transparent;\n text-align: center;\n}\n\n.InlineLoader-module_spinner__QVSXx {\n width: 20px;\n height: 20px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 3px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-accent-blue-accent, #2563eb);\n animation: InlineLoader-module_inline-loader-spin__GuC9y 0.8s linear infinite;\n flex-shrink: 0;\n}\n\n.InlineLoader-module_success__QpZXK .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-accent-emerald-accent, #059669);\n}\n\n.InlineLoader-module_danger__E-xfN .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-accent-red-accent, #dc2626);\n}\n\n.InlineLoader-module_message__BZuIj {\n margin: 0;\n}\n\n@keyframes InlineLoader-module_inline-loader-spin__GuC9y {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .InlineLoader-module_spinner__QVSXx {\n animation-duration: 1.6s;\n }\n}\n');const m=(...e)=>e.filter(Boolean).join(" ");exports.InlineLoader=({message:e,variant:n="default",fill:r=!1,spinnerLabel:a,className:o})=>s.jsxs("div",{className:m(f.loader,f[n],r&&f.fill,o),role:"status","aria-live":"polite",children:[s.jsx("span",{className:f.spinner,role:"progressbar","aria-label":a??e??"Cargando"}),e?s.jsx("span",{className:f.message,children:e}):null]}),exports.OverlayLoader=p,exports.default=p;
10
+ */function i(){return a||(a=1,"production"!==process.env.NODE_ENV&&function(){function e(n){if(null==n)return null;if("function"==typeof n)return n.$$typeof===j?null:n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case y:return"Fragment";case b:return"Profiler";case _:return"StrictMode";case x:return"Suspense";case L:return"SuspenseList";case k:return"Activity"}if("object"==typeof n)switch("number"==typeof n.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),n.$$typeof){case m:return"Portal";case g:return n.displayName||"Context";case v:return(n._context.displayName||"Context")+".Consumer";case h:var r=n.render;return(n=n.displayName)||(n=""!==(n=r.displayName||r.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case O:return null!==(r=n.displayName||null)?r:e(n.type)||"Memo";case S:r=n._payload,n=n._init;try{return e(n(r))}catch(e){}}return null}function r(e){return""+e}function o(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var o=(n=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),r(e)}}function a(n){if(n===y)return"<>";if("object"==typeof n&&null!==n&&n.$$typeof===S)return"<...>";try{var r=e(n);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function t(){return Error("react-stack-top-frame")}function i(){var n=e(this.type);return R[n]||(R[n]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(n=this.props.ref)?n:null}function s(n,r,a,t,l,s){var d,p=r.children;if(void 0!==p)if(t)if(I(p)){for(t=0;t<p.length;t++)c(p[t]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(p);if(N.call(r,"key")){p=e(n);var m=Object.keys(r).filter(function(e){return"key"!==e});t=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",C[p+t]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',t,p,m,p),C[p+t]=!0)}if(p=null,void 0!==a&&(o(a),p=""+a),function(e){if(N.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(o(r.key),p=""+r.key),"key"in r)for(var y in a={},r)"key"!==y&&(a[y]=r[y]);else a=r;return p&&function(e,n){function r(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(a,"function"==typeof n?n.displayName||n.name||"Unknown":n),function(e,n,r,o,a,t){var l=r.ref;return e={$$typeof:f,type:e,key:n,props:r,_owner:o},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:t}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(n,p,a,null===(d=w.A)?null:d.getOwner(),l,s)}function c(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===S&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var u,p=n,f=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),w=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,I=Array.isArray,A=console.createTask?console.createTask:function(){return null},R={},T=(p={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(p,t)(),E=A(a(t)),C={};l.Fragment=y,l.jsx=function(e,n,r){var o=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,o?Error("react-stack-top-frame"):T,o?A(a(e)):E)},l.jsxs=function(e,n,r){var o=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,o?Error("react-stack-top-frame"):T,o?A(a(e)):E)}}()),l}var s=(t||(t=1,"production"===process.env.NODE_ENV?r.exports=function(){if(e)return o;e=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(e,r,o){var a=null;if(void 0!==o&&(a=""+o),void 0!==r.key&&(a=""+r.key),"key"in r)for(var t in o={},r)"key"!==t&&(o[t]=r[t]);else o=r;return r=o.ref,{$$typeof:n,type:e,key:a,ref:void 0!==r?r:null,props:o}}return o.Fragment=r,o.jsx=a,o.jsxs=a,o}():r.exports=i()),r.exports);function c(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var d={overlay:"OverlayLoader-module_overlay__qcL3K",content:"OverlayLoader-module_content__bG9P9",spinner:"OverlayLoader-module_spinner__YJ9AS","overlay-loader-spin":"OverlayLoader-module_overlay-loader-spin__6moIr",success:"OverlayLoader-module_success__oK2na",danger:"OverlayLoader-module_danger__8h6rA",title:"OverlayLoader-module_title__cRwF9",message:"OverlayLoader-module_message__QTybd"};c('.OverlayLoader-module_overlay__qcL3K {\n position: fixed;\n inset: 0;\n z-index: 9998;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--lb-space-4, 16px);\n background: var(--lb-color-neutral-100, #f1f5f9);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n opacity: 1;\n transition: opacity 0.35s ease;\n}\n\n.OverlayLoader-module_overlay__qcL3K[data-visible="false"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n\n.OverlayLoader-module_content__bG9P9 {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--lb-space-4, 16px);\n text-align: center;\n padding: 0 var(--lb-space-4, 16px);\n}\n\n.OverlayLoader-module_spinner__YJ9AS {\n width: 44px;\n height: 44px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 4px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-blue-accent, #2563eb);\n animation: OverlayLoader-module_overlay-loader-spin__6moIr 0.8s linear infinite;\n}\n\n.OverlayLoader-module_success__oK2na .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-emerald-accent, #059669);\n}\n\n.OverlayLoader-module_danger__8h6rA .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-red-accent, #dc2626);\n}\n\n.OverlayLoader-module_title__cRwF9 {\n margin: 0;\n font-size: var(--lb-font-size-h6, 1.125rem);\n font-weight: var(--lb-font-weight-semibold, 600);\n color: var(--lb-color-neutral-800, #1e293b);\n}\n\n.OverlayLoader-module_message__QTybd {\n margin: 0;\n font-size: 0.9rem;\n letter-spacing: 0.02em;\n max-width: 32ch;\n}\n\n@keyframes OverlayLoader-module_overlay-loader-spin__6moIr {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .OverlayLoader-module_spinner__YJ9AS {\n animation-duration: 1.6s;\n }\n .OverlayLoader-module_overlay__qcL3K {\n transition: none;\n }\n}\n');const u=(...e)=>e.filter(Boolean).join(" "),p=({visible:e,message:n,title:r,variant:o="default",spinnerLabel:a,className:t})=>s.jsx("div",{className:u(d.overlay,d[o],t),"data-visible":e?"true":"false",role:"status","aria-live":"polite","aria-hidden":e?void 0:"true",children:s.jsxs("div",{className:d.content,children:[s.jsx("span",{className:d.spinner,role:"progressbar","aria-label":a??n??"Cargando"}),r?s.jsx("p",{className:d.title,children:r}):null,n?s.jsx("p",{className:d.message,children:n}):null]})});var f={loader:"InlineLoader-module_loader__K5vsx",fill:"InlineLoader-module_fill__QS9Mx",spinner:"InlineLoader-module_spinner__QVSXx","inline-loader-spin":"InlineLoader-module_inline-loader-spin__GuC9y",success:"InlineLoader-module_success__QpZXK",danger:"InlineLoader-module_danger__E-xfN",message:"InlineLoader-module_message__BZuIj"};c('.InlineLoader-module_loader__K5vsx {\n display: flex;\n align-items: center;\n gap: var(--lb-space-3, 12px);\n padding: var(--lb-space-4, 16px);\n border-radius: var(--lb-radius-lg, 12px);\n background: var(--lb-color-background, #ffffff);\n border: 1px solid var(--lb-color-border, #e2e8f0);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n font-size: 0.875rem;\n}\n\n/* Fill the available content area and center the spinner/message, dropping the\n compact card chrome. Handy when the loader owns a whole region (route slot).\n `flex: 1` fills when the parent is a flex column; the viewport min-height is a\n robust fallback for normal block containers. */\n.InlineLoader-module_fill__QS9Mx {\n flex: 1 1 auto;\n align-self: stretch;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n min-height: 60vh;\n padding: var(--lb-space-6, 24px);\n border: none;\n background: transparent;\n text-align: center;\n}\n\n.InlineLoader-module_spinner__QVSXx {\n width: 20px;\n height: 20px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 3px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-blue-accent, #2563eb);\n animation: InlineLoader-module_inline-loader-spin__GuC9y 0.8s linear infinite;\n flex-shrink: 0;\n}\n\n.InlineLoader-module_success__QpZXK .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-emerald-accent, #059669);\n}\n\n.InlineLoader-module_danger__E-xfN .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-red-accent, #dc2626);\n}\n\n.InlineLoader-module_message__BZuIj {\n margin: 0;\n}\n\n@keyframes InlineLoader-module_inline-loader-spin__GuC9y {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .InlineLoader-module_spinner__QVSXx {\n animation-duration: 1.6s;\n }\n}\n');const m=(...e)=>e.filter(Boolean).join(" ");exports.InlineLoader=({message:e,variant:n="default",fill:r=!1,spinnerLabel:o,className:a})=>s.jsxs("div",{className:m(f.loader,f[n],r&&f.fill,a),role:"status","aria-live":"polite",children:[s.jsx("span",{className:f.spinner,role:"progressbar","aria-label":o??e??"Cargando"}),e?s.jsx("span",{className:f.message,children:e}):null]}),exports.OverlayLoader=p,exports.default=p;
11
11
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js","../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../src/OverlayLoader.tsx","../src/InlineLoader.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","import React from \"react\";\nimport styles from \"./OverlayLoader.module.css\";\n\nexport type OverlayLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface OverlayLoaderProps {\n /** Whether the overlay is shown. When false it fades out and stops capturing pointer events. */\n visible: boolean;\n /** Primary line describing what is happening (e.g. \"Estamos cargando la aplicación\"). */\n message?: string;\n /** Optional emphasized heading rendered above the message. */\n title?: string;\n /** Tone for the spinner accent. */\n variant?: OverlayLoaderVariant;\n /** Accessible label for the spinner (screen readers). Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root overlay element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Presentational full-screen loading overlay. It is fully controlled: the\n * consumer decides when it is `visible` and which `message` it shows, so the\n * same component can express every loading state (boot, sign-in, sign-out,…).\n * It keeps no state and performs no side effects — the fade in/out is CSS only.\n */\nconst OverlayLoader: React.FC<OverlayLoaderProps> = ({\n visible,\n message,\n title,\n variant = \"default\",\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(styles.overlay, styles[variant], className)}\n data-visible={visible ? \"true\" : \"false\"}\n role=\"status\"\n aria-live=\"polite\"\n aria-hidden={visible ? undefined : \"true\"}\n >\n <div className={styles.content}>\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {title ? <p className={styles.title}>{title}</p> : null}\n {message ? <p className={styles.message}>{message}</p> : null}\n </div>\n </div>\n );\n};\n\nexport default OverlayLoader;\n","import React from \"react\";\nimport styles from \"./InlineLoader.module.css\";\n\nexport type InlineLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface InlineLoaderProps {\n /** Optional line describing what is loading (e.g. \"Cargando módulo…\"). */\n message?: string;\n /** Tone for the spinner accent. */\n variant?: InlineLoaderVariant;\n /**\n * Stretch to fill the available width and height of the parent and center\n * its content, instead of rendering as a compact inline card. Use it when the\n * loader owns a whole region (e.g. a route's content slot).\n */\n fill?: boolean;\n /** Accessible label for the spinner. Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Contained, non-blocking loading indicator. Unlike `OverlayLoader` it flows\n * inside its parent (no fixed positioning), so it can fill just a content\n * region — e.g. the microfrontend slot while its bundle mounts — without\n * covering the rest of the shell (the sidebar stays interactive).\n */\nconst InlineLoader: React.FC<InlineLoaderProps> = ({\n message,\n variant = \"default\",\n fill = false,\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(\n styles.loader,\n styles[variant],\n fill && styles.fill,\n className,\n )}\n role=\"status\"\n aria-live=\"polite\"\n >\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {message ? <span className={styles.message}>{message}</span> : null}\n </div>\n );\n};\n\nexport default InlineLoader;\n"],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","refProp","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","isValidElement","validated","status","object","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","styleInject","css","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","classNames","classes","Boolean","OverlayLoader","visible","message","title","variant","spinnerLabel","className","_jsx","styles","overlay","role","undefined","_jsxs","content","spinner","fill","loader"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBV,EACtB,OACG,iBAAoBA,EAAKW,KACxBC,QAAQC,MACN,qHAEJb,EAAKC,UAEL,KAAKa,EACH,MAAO,SACT,KAAKC,EACH,OAAOf,EAAKG,aAAe,UAC7B,KAAKa,EACH,OAAQhB,EAAKiB,SAASd,aAAe,WAAa,YACpD,KAAKe,EACH,IAAIC,EAAYnB,EAAKoB,OAKrB,OAJApB,EAAOA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eZ,GAnBW,CAqBzD,ihFCLA,MAAMa,EAAa,IAAIC,IACrBA,EAAQvE,OAAOwE,SAAStE,KAAK,KAQzBuE,EAA8C,EAClDC,UACAC,UACAC,QACAC,UAAU,UACVC,eACAC,eAGEC,EAAAA,WACED,UAAWT,EAAWW,EAAOC,QAASD,EAAOJ,GAAUE,GAAU,eACnDL,EAAU,OAAS,QACjCS,KAAK,SAAQ,YACH,SAAQ,cACLT,OAAUU,EAAY,OAAM5F,SAEzC6F,EAAAA,KAAA,MAAA,CAAKN,UAAWE,EAAOK,QAAO9F,SAAA,CAC5BwF,EAAAA,IAAA,OAAA,CACED,UAAWE,EAAOM,QAClBJ,KAAK,cAAa,aACNL,GAAgBH,GAAW,aAExCC,EAAQI,EAAAA,IAAA,IAAA,CAAGD,UAAWE,EAAOL,MAAKpF,SAAGoF,IAAa,KAClDD,EAAUK,EAAAA,IAAA,IAAA,CAAGD,UAAWE,EAAON,QAAOnF,SAAGmF,IAAe,83EC9BjE,MAAML,EAAa,IAAIC,IACrBA,EAAQvE,OAAOwE,SAAStE,KAAK,0BAQmB,EAChDyE,UACAE,UAAU,UACVW,QAAO,EACPV,eACAC,eAGEM,EAAAA,KAAA,MAAA,CACEN,UAAWT,EACTW,EAAOQ,OACPR,EAAOJ,GACPW,GAAQP,EAAOO,KACfT,GAEFI,KAAK,SAAQ,YACH,SAAQ3F,SAAA,CAElBwF,EAAAA,YACED,UAAWE,EAAOM,QAClBJ,KAAK,cAAa,aACNL,GAAgBH,GAAW,aAExCA,EAAUK,EAAAA,IAAA,OAAA,CAAMD,UAAWE,EAAON,QAAOnF,SAAGmF,IAAkB","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../src/OverlayLoader.tsx","../src/InlineLoader.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","import React from \"react\";\nimport styles from \"./OverlayLoader.module.css\";\n\nexport type OverlayLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface OverlayLoaderProps {\n /** Whether the overlay is shown. When false it fades out and stops capturing pointer events. */\n visible: boolean;\n /** Primary line describing what is happening (e.g. \"Estamos cargando la aplicación\"). */\n message?: string;\n /** Optional emphasized heading rendered above the message. */\n title?: string;\n /** Tone for the spinner accent. */\n variant?: OverlayLoaderVariant;\n /** Accessible label for the spinner (screen readers). Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root overlay element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Presentational full-screen loading overlay. It is fully controlled: the\n * consumer decides when it is `visible` and which `message` it shows, so the\n * same component can express every loading state (boot, sign-in, sign-out,…).\n * It keeps no state and performs no side effects — the fade in/out is CSS only.\n */\nconst OverlayLoader: React.FC<OverlayLoaderProps> = ({\n visible,\n message,\n title,\n variant = \"default\",\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(styles.overlay, styles[variant], className)}\n data-visible={visible ? \"true\" : \"false\"}\n role=\"status\"\n aria-live=\"polite\"\n aria-hidden={visible ? undefined : \"true\"}\n >\n <div className={styles.content}>\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {title ? <p className={styles.title}>{title}</p> : null}\n {message ? <p className={styles.message}>{message}</p> : null}\n </div>\n </div>\n );\n};\n\nexport default OverlayLoader;\n","import React from \"react\";\nimport styles from \"./InlineLoader.module.css\";\n\nexport type InlineLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface InlineLoaderProps {\n /** Optional line describing what is loading (e.g. \"Cargando módulo…\"). */\n message?: string;\n /** Tone for the spinner accent. */\n variant?: InlineLoaderVariant;\n /**\n * Stretch to fill the available width and height of the parent and center\n * its content, instead of rendering as a compact inline card. Use it when the\n * loader owns a whole region (e.g. a route's content slot).\n */\n fill?: boolean;\n /** Accessible label for the spinner. Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Contained, non-blocking loading indicator. Unlike `OverlayLoader` it flows\n * inside its parent (no fixed positioning), so it can fill just a content\n * region — e.g. the microfrontend slot while its bundle mounts — without\n * covering the rest of the shell (the sidebar stays interactive).\n */\nconst InlineLoader: React.FC<InlineLoaderProps> = ({\n message,\n variant = \"default\",\n fill = false,\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(\n styles.loader,\n styles[variant],\n fill && styles.fill,\n className,\n )}\n role=\"status\"\n aria-live=\"polite\"\n >\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {message ? <span className={styles.message}>{message}</span> : null}\n </div>\n );\n};\n\nexport default InlineLoader;\n"],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","refProp","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","isValidElement","validated","status","object","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","styleInject","css","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","classNames","classes","Boolean","OverlayLoader","visible","message","title","variant","spinnerLabel","className","_jsx","styles","overlay","role","undefined","_jsxs","content","spinner","fill","loader"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBV,EACtB,OACG,iBAAoBA,EAAKW,KACxBC,QAAQC,MACN,qHAEJb,EAAKC,UAEL,KAAKa,EACH,MAAO,SACT,KAAKC,EACH,OAAOf,EAAKG,aAAe,UAC7B,KAAKa,EACH,OAAQhB,EAAKiB,SAASd,aAAe,WAAa,YACpD,KAAKe,EACH,IAAIC,EAAYnB,EAAKoB,OAKrB,OAJApB,EAAOA,EAAKG,eAGTH,EAAO,MADNA,EAAOmB,EAAUhB,aAAegB,EAAUf,MAAQ,IAC9B,cAAgBJ,EAAO,IA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BuE,EAA8C,EAClDC,UACAC,UACAC,QACAC,UAAU,UACVC,eACAC,eAGEC,EAAAA,WACED,UAAWT,EAAWW,EAAOC,QAASD,EAAOJ,GAAUE,GAAU,eACnDL,EAAU,OAAS,QACjCS,KAAK,SAAQ,YACH,SAAQ,cACLT,OAAUU,EAAY,OAAM5F,SAEzC6F,EAAAA,KAAA,MAAA,CAAKN,UAAWE,EAAOK,QAAO9F,SAAA,CAC5BwF,EAAAA,IAAA,OAAA,CACED,UAAWE,EAAOM,QAClBJ,KAAK,cAAa,aACNL,GAAgBH,GAAW,aAExCC,EAAQI,EAAAA,IAAA,IAAA,CAAGD,UAAWE,EAAOL,MAAKpF,SAAGoF,IAAa,KAClDD,EAAUK,EAAAA,IAAA,IAAA,CAAGD,UAAWE,EAAON,QAAOnF,SAAGmF,IAAe,y2EC9BjE,MAAML,EAAa,IAAIC,IACrBA,EAAQvE,OAAOwE,SAAStE,KAAK,0BAQmB,EAChDyE,UACAE,UAAU,UACVW,QAAO,EACPV,eACAC,eAGEM,EAAAA,KAAA,MAAA,CACEN,UAAWT,EACTW,EAAOQ,OACPR,EAAOJ,GACPW,GAAQP,EAAOO,KACfT,GAEFI,KAAK,SAAQ,YACH,SAAQ3F,SAAA,CAElBwF,EAAAA,YACED,UAAWE,EAAOM,QAClBJ,KAAK,cAAa,aACNL,GAAgBH,GAAW,aAExCA,EAAUK,EAAAA,IAAA,OAAA,CAAMD,UAAWE,EAAON,QAAOnF,SAAGmF,IAAkB","x_google_ignoreList":[0,1,2,3]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,OAAO,IAAI,aAAa,GACzB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EACV,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC"}
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from"react";var n,r={exports:{}},a={};var o,t,l={};
1
+ import e from"react";var n,r={exports:{}},o={};var a,t,l={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,5 +7,5 @@ import e from"react";var n,r={exports:{}},a={};var o,t,l={};
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */function i(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===j?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y:return"Fragment";case b:return"Profiler";case _:return"StrictMode";case x:return"Suspense";case S:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case m:return"Portal";case g:return e.displayName||"Context";case v:return(e._context.displayName||"Context")+".Consumer";case h:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case O:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function a(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var a=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===y)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===O)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function t(){return Error("react-stack-top-frame")}function i(){var e=n(this.type);return R[e]||(R[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,o,t,l,s){var d,f=r.children;if(void 0!==f)if(t)if(I(f)){for(t=0;t<f.length;t++)c(f[t]);Object.freeze&&Object.freeze(f)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(f);if(N.call(r,"key")){f=n(e);var m=Object.keys(r).filter(function(e){return"key"!==e});t=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",C[f+t]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',t,f,m,f),C[f+t]=!0)}if(f=null,void 0!==o&&(a(o),f=""+o),function(e){if(N.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(a(r.key),f=""+r.key),"key"in r)for(var y in o={},r)"key"!==y&&(o[y]=r[y]);else o=r;return f&&function(e,n){function r(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,a,o,t){var l=r.ref;return e={$$typeof:p,type:e,key:n,props:r,_owner:a},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:t}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,f,o,null===(d=w.A)?null:d.getOwner(),l,s)}function c(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===O&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var u,f=e,p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),w=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,I=Array.isArray,A=console.createTask?console.createTask:function(){return null},R={},T=(f={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(f,t)(),E=A(o(t)),C={};l.Fragment=y,l.jsx=function(e,n,r){var a=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,a?Error("react-stack-top-frame"):T,a?A(o(e)):E)},l.jsxs=function(e,n,r){var a=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,a?Error("react-stack-top-frame"):T,a?A(o(e)):E)}}()),l}var s=(t||(t=1,"production"===process.env.NODE_ENV?r.exports=function(){if(n)return a;n=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(n,r,a){var o=null;if(void 0!==a&&(o=""+a),void 0!==r.key&&(o=""+r.key),"key"in r)for(var t in a={},r)"key"!==t&&(a[t]=r[t]);else a=r;return r=a.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:a}}return a.Fragment=r,a.jsx=o,a.jsxs=o,a}():r.exports=i()),r.exports);function c(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&a.firstChild?a.insertBefore(o,a.firstChild):a.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var d={overlay:"OverlayLoader-module_overlay__qcL3K",content:"OverlayLoader-module_content__bG9P9",spinner:"OverlayLoader-module_spinner__YJ9AS","overlay-loader-spin":"OverlayLoader-module_overlay-loader-spin__6moIr",success:"OverlayLoader-module_success__oK2na",danger:"OverlayLoader-module_danger__8h6rA",title:"OverlayLoader-module_title__cRwF9",message:"OverlayLoader-module_message__QTybd"};c('.OverlayLoader-module_overlay__qcL3K {\n position: fixed;\n inset: 0;\n z-index: 9998;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--lb-space-4, 16px);\n background: var(--lb-color-neutral-100, #f1f5f9);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n opacity: 1;\n transition: opacity 0.35s ease;\n}\n\n.OverlayLoader-module_overlay__qcL3K[data-visible="false"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n\n.OverlayLoader-module_content__bG9P9 {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--lb-space-4, 16px);\n text-align: center;\n padding: 0 var(--lb-space-4, 16px);\n}\n\n.OverlayLoader-module_spinner__YJ9AS {\n width: 44px;\n height: 44px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 4px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-accent-blue-accent, #2563eb);\n animation: OverlayLoader-module_overlay-loader-spin__6moIr 0.8s linear infinite;\n}\n\n.OverlayLoader-module_success__oK2na .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-accent-emerald-accent, #059669);\n}\n\n.OverlayLoader-module_danger__8h6rA .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-accent-red-accent, #dc2626);\n}\n\n.OverlayLoader-module_title__cRwF9 {\n margin: 0;\n font-size: var(--lb-font-size-h6, 1.125rem);\n font-weight: var(--lb-font-weight-semibold, 600);\n color: var(--lb-color-neutral-800, #1e293b);\n}\n\n.OverlayLoader-module_message__QTybd {\n margin: 0;\n font-size: 0.9rem;\n letter-spacing: 0.02em;\n max-width: 32ch;\n}\n\n@keyframes OverlayLoader-module_overlay-loader-spin__6moIr {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .OverlayLoader-module_spinner__YJ9AS {\n animation-duration: 1.6s;\n }\n .OverlayLoader-module_overlay__qcL3K {\n transition: none;\n }\n}\n');const u=(...e)=>e.filter(Boolean).join(" "),f=({visible:e,message:n,title:r,variant:a="default",spinnerLabel:o,className:t})=>s.jsx("div",{className:u(d.overlay,d[a],t),"data-visible":e?"true":"false",role:"status","aria-live":"polite","aria-hidden":e?void 0:"true",children:s.jsxs("div",{className:d.content,children:[s.jsx("span",{className:d.spinner,role:"progressbar","aria-label":o??n??"Cargando"}),r?s.jsx("p",{className:d.title,children:r}):null,n?s.jsx("p",{className:d.message,children:n}):null]})});var p={loader:"InlineLoader-module_loader__K5vsx",fill:"InlineLoader-module_fill__QS9Mx",spinner:"InlineLoader-module_spinner__QVSXx","inline-loader-spin":"InlineLoader-module_inline-loader-spin__GuC9y",success:"InlineLoader-module_success__QpZXK",danger:"InlineLoader-module_danger__E-xfN",message:"InlineLoader-module_message__BZuIj"};c('.InlineLoader-module_loader__K5vsx {\n display: flex;\n align-items: center;\n gap: var(--lb-space-3, 12px);\n padding: var(--lb-space-4, 16px);\n border-radius: var(--lb-radius-lg, 12px);\n background: var(--lb-color-background, #ffffff);\n border: 1px solid var(--lb-color-border, #e2e8f0);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n font-size: 0.875rem;\n}\n\n/* Fill the available content area and center the spinner/message, dropping the\n compact card chrome. Handy when the loader owns a whole region (route slot).\n `flex: 1` fills when the parent is a flex column; the viewport min-height is a\n robust fallback for normal block containers. */\n.InlineLoader-module_fill__QS9Mx {\n flex: 1 1 auto;\n align-self: stretch;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n min-height: 60vh;\n padding: var(--lb-space-6, 24px);\n border: none;\n background: transparent;\n text-align: center;\n}\n\n.InlineLoader-module_spinner__QVSXx {\n width: 20px;\n height: 20px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 3px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-accent-blue-accent, #2563eb);\n animation: InlineLoader-module_inline-loader-spin__GuC9y 0.8s linear infinite;\n flex-shrink: 0;\n}\n\n.InlineLoader-module_success__QpZXK .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-accent-emerald-accent, #059669);\n}\n\n.InlineLoader-module_danger__E-xfN .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-accent-red-accent, #dc2626);\n}\n\n.InlineLoader-module_message__BZuIj {\n margin: 0;\n}\n\n@keyframes InlineLoader-module_inline-loader-spin__GuC9y {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .InlineLoader-module_spinner__QVSXx {\n animation-duration: 1.6s;\n }\n}\n');const m=(...e)=>e.filter(Boolean).join(" "),y=({message:e,variant:n="default",fill:r=!1,spinnerLabel:a,className:o})=>s.jsxs("div",{className:m(p.loader,p[n],r&&p.fill,o),role:"status","aria-live":"polite",children:[s.jsx("span",{className:p.spinner,role:"progressbar","aria-label":a??e??"Cargando"}),e?s.jsx("span",{className:p.message,children:e}):null]});export{y as InlineLoader,f as OverlayLoader,f as default};
10
+ */function i(){return a||(a=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===j?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y:return"Fragment";case b:return"Profiler";case _:return"StrictMode";case x:return"Suspense";case S:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case m:return"Portal";case g:return e.displayName||"Context";case v:return(e._context.displayName||"Context")+".Consumer";case h:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case O:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function o(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var o=(n=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),r(e)}}function a(e){if(e===y)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===O)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function t(){return Error("react-stack-top-frame")}function i(){var e=n(this.type);return R[e]||(R[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,a,t,l,s){var d,f=r.children;if(void 0!==f)if(t)if(I(f)){for(t=0;t<f.length;t++)c(f[t]);Object.freeze&&Object.freeze(f)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(f);if(N.call(r,"key")){f=n(e);var m=Object.keys(r).filter(function(e){return"key"!==e});t=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",C[f+t]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',t,f,m,f),C[f+t]=!0)}if(f=null,void 0!==a&&(o(a),f=""+a),function(e){if(N.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(o(r.key),f=""+r.key),"key"in r)for(var y in a={},r)"key"!==y&&(a[y]=r[y]);else a=r;return f&&function(e,n){function r(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(a,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,o,a,t){var l=r.ref;return e={$$typeof:p,type:e,key:n,props:r,_owner:o},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:t}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,f,a,null===(d=w.A)?null:d.getOwner(),l,s)}function c(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===O&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var u,f=e,p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),g=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),j=Symbol.for("react.client.reference"),w=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,I=Array.isArray,A=console.createTask?console.createTask:function(){return null},R={},T=(f={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(f,t)(),E=A(a(t)),C={};l.Fragment=y,l.jsx=function(e,n,r){var o=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,o?Error("react-stack-top-frame"):T,o?A(a(e)):E)},l.jsxs=function(e,n,r){var o=1e4>w.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,o?Error("react-stack-top-frame"):T,o?A(a(e)):E)}}()),l}var s=(t||(t=1,"production"===process.env.NODE_ENV?r.exports=function(){if(n)return o;n=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(n,r,o){var a=null;if(void 0!==o&&(a=""+o),void 0!==r.key&&(a=""+r.key),"key"in r)for(var t in o={},r)"key"!==t&&(o[t]=r[t]);else o=r;return r=o.ref,{$$typeof:e,type:n,key:a,ref:void 0!==r?r:null,props:o}}return o.Fragment=r,o.jsx=a,o.jsxs=a,o}():r.exports=i()),r.exports);function c(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var d={overlay:"OverlayLoader-module_overlay__qcL3K",content:"OverlayLoader-module_content__bG9P9",spinner:"OverlayLoader-module_spinner__YJ9AS","overlay-loader-spin":"OverlayLoader-module_overlay-loader-spin__6moIr",success:"OverlayLoader-module_success__oK2na",danger:"OverlayLoader-module_danger__8h6rA",title:"OverlayLoader-module_title__cRwF9",message:"OverlayLoader-module_message__QTybd"};c('.OverlayLoader-module_overlay__qcL3K {\n position: fixed;\n inset: 0;\n z-index: 9998;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--lb-space-4, 16px);\n background: var(--lb-color-neutral-100, #f1f5f9);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n opacity: 1;\n transition: opacity 0.35s ease;\n}\n\n.OverlayLoader-module_overlay__qcL3K[data-visible="false"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n\n.OverlayLoader-module_content__bG9P9 {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--lb-space-4, 16px);\n text-align: center;\n padding: 0 var(--lb-space-4, 16px);\n}\n\n.OverlayLoader-module_spinner__YJ9AS {\n width: 44px;\n height: 44px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 4px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-blue-accent, #2563eb);\n animation: OverlayLoader-module_overlay-loader-spin__6moIr 0.8s linear infinite;\n}\n\n.OverlayLoader-module_success__oK2na .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-emerald-accent, #059669);\n}\n\n.OverlayLoader-module_danger__8h6rA .OverlayLoader-module_spinner__YJ9AS {\n border-top-color: var(--lb-color-red-accent, #dc2626);\n}\n\n.OverlayLoader-module_title__cRwF9 {\n margin: 0;\n font-size: var(--lb-font-size-h6, 1.125rem);\n font-weight: var(--lb-font-weight-semibold, 600);\n color: var(--lb-color-neutral-800, #1e293b);\n}\n\n.OverlayLoader-module_message__QTybd {\n margin: 0;\n font-size: 0.9rem;\n letter-spacing: 0.02em;\n max-width: 32ch;\n}\n\n@keyframes OverlayLoader-module_overlay-loader-spin__6moIr {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .OverlayLoader-module_spinner__YJ9AS {\n animation-duration: 1.6s;\n }\n .OverlayLoader-module_overlay__qcL3K {\n transition: none;\n }\n}\n');const u=(...e)=>e.filter(Boolean).join(" "),f=({visible:e,message:n,title:r,variant:o="default",spinnerLabel:a,className:t})=>s.jsx("div",{className:u(d.overlay,d[o],t),"data-visible":e?"true":"false",role:"status","aria-live":"polite","aria-hidden":e?void 0:"true",children:s.jsxs("div",{className:d.content,children:[s.jsx("span",{className:d.spinner,role:"progressbar","aria-label":a??n??"Cargando"}),r?s.jsx("p",{className:d.title,children:r}):null,n?s.jsx("p",{className:d.message,children:n}):null]})});var p={loader:"InlineLoader-module_loader__K5vsx",fill:"InlineLoader-module_fill__QS9Mx",spinner:"InlineLoader-module_spinner__QVSXx","inline-loader-spin":"InlineLoader-module_inline-loader-spin__GuC9y",success:"InlineLoader-module_success__QpZXK",danger:"InlineLoader-module_danger__E-xfN",message:"InlineLoader-module_message__BZuIj"};c('.InlineLoader-module_loader__K5vsx {\n display: flex;\n align-items: center;\n gap: var(--lb-space-3, 12px);\n padding: var(--lb-space-4, 16px);\n border-radius: var(--lb-radius-lg, 12px);\n background: var(--lb-color-background, #ffffff);\n border: 1px solid var(--lb-color-border, #e2e8f0);\n color: var(--lb-color-neutral-600, #475569);\n font-family: var(\n --lb-font-family-sans,\n ui-sans-serif,\n system-ui,\n -apple-system,\n "Segoe UI",\n Roboto,\n Helvetica,\n Arial,\n sans-serif\n );\n font-size: 0.875rem;\n}\n\n/* Fill the available content area and center the spinner/message, dropping the\n compact card chrome. Handy when the loader owns a whole region (route slot).\n `flex: 1` fills when the parent is a flex column; the viewport min-height is a\n robust fallback for normal block containers. */\n.InlineLoader-module_fill__QS9Mx {\n flex: 1 1 auto;\n align-self: stretch;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n min-height: 60vh;\n padding: var(--lb-space-6, 24px);\n border: none;\n background: transparent;\n text-align: center;\n}\n\n.InlineLoader-module_spinner__QVSXx {\n width: 20px;\n height: 20px;\n border-radius: var(--lb-radius-full, 9999px);\n border: 3px solid var(--lb-color-neutral-300, #cbd5e1);\n border-top-color: var(--lb-color-blue-accent, #2563eb);\n animation: InlineLoader-module_inline-loader-spin__GuC9y 0.8s linear infinite;\n flex-shrink: 0;\n}\n\n.InlineLoader-module_success__QpZXK .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-emerald-accent, #059669);\n}\n\n.InlineLoader-module_danger__E-xfN .InlineLoader-module_spinner__QVSXx {\n border-top-color: var(--lb-color-red-accent, #dc2626);\n}\n\n.InlineLoader-module_message__BZuIj {\n margin: 0;\n}\n\n@keyframes InlineLoader-module_inline-loader-spin__GuC9y {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .InlineLoader-module_spinner__QVSXx {\n animation-duration: 1.6s;\n }\n}\n');const m=(...e)=>e.filter(Boolean).join(" "),y=({message:e,variant:n="default",fill:r=!1,spinnerLabel:o,className:a})=>s.jsxs("div",{className:m(p.loader,p[n],r&&p.fill,a),role:"status","aria-live":"polite",children:[s.jsx("span",{className:p.spinner,role:"progressbar","aria-label":o??e??"Cargando"}),e?s.jsx("span",{className:p.message,children:e}):null]});export{y as InlineLoader,f as OverlayLoader,f as default};
11
11
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js","../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../src/OverlayLoader.tsx","../src/InlineLoader.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","import React from \"react\";\nimport styles from \"./OverlayLoader.module.css\";\n\nexport type OverlayLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface OverlayLoaderProps {\n /** Whether the overlay is shown. When false it fades out and stops capturing pointer events. */\n visible: boolean;\n /** Primary line describing what is happening (e.g. \"Estamos cargando la aplicación\"). */\n message?: string;\n /** Optional emphasized heading rendered above the message. */\n title?: string;\n /** Tone for the spinner accent. */\n variant?: OverlayLoaderVariant;\n /** Accessible label for the spinner (screen readers). Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root overlay element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Presentational full-screen loading overlay. It is fully controlled: the\n * consumer decides when it is `visible` and which `message` it shows, so the\n * same component can express every loading state (boot, sign-in, sign-out,…).\n * It keeps no state and performs no side effects — the fade in/out is CSS only.\n */\nconst OverlayLoader: React.FC<OverlayLoaderProps> = ({\n visible,\n message,\n title,\n variant = \"default\",\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(styles.overlay, styles[variant], className)}\n data-visible={visible ? \"true\" : \"false\"}\n role=\"status\"\n aria-live=\"polite\"\n aria-hidden={visible ? undefined : \"true\"}\n >\n <div className={styles.content}>\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {title ? <p className={styles.title}>{title}</p> : null}\n {message ? <p className={styles.message}>{message}</p> : null}\n </div>\n </div>\n );\n};\n\nexport default OverlayLoader;\n","import React from \"react\";\nimport styles from \"./InlineLoader.module.css\";\n\nexport type InlineLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface InlineLoaderProps {\n /** Optional line describing what is loading (e.g. \"Cargando módulo…\"). */\n message?: string;\n /** Tone for the spinner accent. */\n variant?: InlineLoaderVariant;\n /**\n * Stretch to fill the available width and height of the parent and center\n * its content, instead of rendering as a compact inline card. Use it when the\n * loader owns a whole region (e.g. a route's content slot).\n */\n fill?: boolean;\n /** Accessible label for the spinner. Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Contained, non-blocking loading indicator. Unlike `OverlayLoader` it flows\n * inside its parent (no fixed positioning), so it can fill just a content\n * region — e.g. the microfrontend slot while its bundle mounts — without\n * covering the rest of the shell (the sidebar stays interactive).\n */\nconst InlineLoader: React.FC<InlineLoaderProps> = ({\n message,\n variant = \"default\",\n fill = false,\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(\n styles.loader,\n styles[variant],\n fill && styles.fill,\n className,\n )}\n role=\"status\"\n aria-live=\"polite\"\n >\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {message ? <span className={styles.message}>{message}</span> : null}\n </div>\n );\n};\n\nexport default InlineLoader;\n"],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","refProp","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","isValidElement","validated","status","object","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","styleInject","css","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","classNames","classes","Boolean","OverlayLoader","visible","message","title","variant","spinnerLabel","className","_jsx","styles","overlay","role","undefined","_jsxs","content","spinner","InlineLoader","fill","loader"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoB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,EAAON,QAAOnF,SAAGmF,IAAkB","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.production.js","../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../src/OverlayLoader.tsx","../src/InlineLoader.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","import React from \"react\";\nimport styles from \"./OverlayLoader.module.css\";\n\nexport type OverlayLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface OverlayLoaderProps {\n /** Whether the overlay is shown. When false it fades out and stops capturing pointer events. */\n visible: boolean;\n /** Primary line describing what is happening (e.g. \"Estamos cargando la aplicación\"). */\n message?: string;\n /** Optional emphasized heading rendered above the message. */\n title?: string;\n /** Tone for the spinner accent. */\n variant?: OverlayLoaderVariant;\n /** Accessible label for the spinner (screen readers). Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root overlay element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Presentational full-screen loading overlay. It is fully controlled: the\n * consumer decides when it is `visible` and which `message` it shows, so the\n * same component can express every loading state (boot, sign-in, sign-out,…).\n * It keeps no state and performs no side effects — the fade in/out is CSS only.\n */\nconst OverlayLoader: React.FC<OverlayLoaderProps> = ({\n visible,\n message,\n title,\n variant = \"default\",\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(styles.overlay, styles[variant], className)}\n data-visible={visible ? \"true\" : \"false\"}\n role=\"status\"\n aria-live=\"polite\"\n aria-hidden={visible ? undefined : \"true\"}\n >\n <div className={styles.content}>\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {title ? <p className={styles.title}>{title}</p> : null}\n {message ? <p className={styles.message}>{message}</p> : null}\n </div>\n </div>\n );\n};\n\nexport default OverlayLoader;\n","import React from \"react\";\nimport styles from \"./InlineLoader.module.css\";\n\nexport type InlineLoaderVariant = \"default\" | \"success\" | \"danger\";\n\nexport interface InlineLoaderProps {\n /** Optional line describing what is loading (e.g. \"Cargando módulo…\"). */\n message?: string;\n /** Tone for the spinner accent. */\n variant?: InlineLoaderVariant;\n /**\n * Stretch to fill the available width and height of the parent and center\n * its content, instead of rendering as a compact inline card. Use it when the\n * loader owns a whole region (e.g. a route's content slot).\n */\n fill?: boolean;\n /** Accessible label for the spinner. Defaults to the message or \"Cargando\". */\n spinnerLabel?: string;\n /** Extra class applied to the root element. */\n className?: string;\n}\n\nconst classNames = (...classes: Array<string | undefined | false>) =>\n classes.filter(Boolean).join(\" \");\n\n/**\n * Contained, non-blocking loading indicator. Unlike `OverlayLoader` it flows\n * inside its parent (no fixed positioning), so it can fill just a content\n * region — e.g. the microfrontend slot while its bundle mounts — without\n * covering the rest of the shell (the sidebar stays interactive).\n */\nconst InlineLoader: React.FC<InlineLoaderProps> = ({\n message,\n variant = \"default\",\n fill = false,\n spinnerLabel,\n className,\n}) => {\n return (\n <div\n className={classNames(\n styles.loader,\n styles[variant],\n fill && styles.fill,\n className,\n )}\n role=\"status\"\n aria-live=\"polite\"\n >\n <span\n className={styles.spinner}\n role=\"progressbar\"\n aria-label={spinnerLabel ?? message ?? \"Cargando\"}\n />\n {message ? <span className={styles.message}>{message}</span> : null}\n </div>\n );\n};\n\nexport default InlineLoader;\n"],"names":["process","env","NODE_ENV","getComponentNameFromType","type","$$typeof","REACT_CLIENT_REFERENCE","displayName","name","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","props","ref","jsxDEVImpl","config","maybeKey","isStaticChildren","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","key","hasValidKey","propName","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","refProp","REACT_ELEMENT_TYPE","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","isValidElement","validated","status","object","React","require$$0","for","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","Fragment","jsx","trackActualOwner","recentlyCreatedOwnerStacks","jsxs","jsxRuntimeModule","exports","jsxProd","reactJsxRuntime_production","require$$1","styleInject","css","insertAt","document","head","getElementsByTagName","style","createElement","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","classNames","classes","Boolean","OverlayLoader","visible","message","title","variant","spinnerLabel","className","_jsx","styles","overlay","role","undefined","_jsxs","content","spinner","InlineLoader","fill","loader"],"mappings":";;;;;;;;;+BAWA,eAAiBA,QAAQC,IAAIC,UAC3B,WACE,SAASC,EAAyBC,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKC,WAAaC,EACrB,KACAF,EAAKG,aAAeH,EAAKI,MAAQ,KACvC,GAAI,iBAAoBJ,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKK,EACH,MAAO,WACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBV,EACtB,OACG,iBAAoBA,EAAKW,KACxBC,QAAQC,MACN,qHAEJb,EAAKC,UAEL,KAAKa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,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubenpazch/overlay-loader",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Loading indicators for Lbyte UI library: a full-screen OverlayLoader and a contained InlineLoader",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -21,31 +21,31 @@
21
21
  "peerDependencies": {
22
22
  "react": "^19.2.3",
23
23
  "react-dom": "^19.2.3",
24
- "@rubenpazch/tokens": "0.1.0"
24
+ "@rubenpazch/tokens": "0.2.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@rollup/plugin-commonjs": "^28.0.2",
28
- "@rollup/plugin-node-resolve": "^16.0.0",
29
- "@rollup/plugin-terser": "^0.4.3",
30
- "@rollup/plugin-typescript": "^12.1.2",
31
- "@testing-library/react": "^16.1.0",
27
+ "@rollup/plugin-commonjs": "^29.0.3",
28
+ "@rollup/plugin-node-resolve": "^16.0.3",
29
+ "@rollup/plugin-terser": "^1.0.0",
30
+ "@rollup/plugin-typescript": "^12.3.0",
31
+ "@testing-library/react": "^16.3.3",
32
32
  "@types/jest": "^30.0.0",
33
- "@types/react": "^19.0.2",
34
- "@types/react-dom": "^19.0.2",
35
- "eslint": "^9.16.0",
33
+ "@types/react": "^19.2.18",
34
+ "@types/react-dom": "^19.2.5",
35
+ "eslint": "^9.39.5",
36
36
  "identity-obj-proxy": "^3.0.0",
37
- "jest": "^30.2.0",
38
- "jest-environment-jsdom": "^30.2.0",
39
- "postcss": "^8.4.23",
40
- "prettier": "^3.2.5",
41
- "react": "^19.2.3",
42
- "react-dom": "^19.2.3",
43
- "rollup": "^4.29.1",
44
- "rollup-plugin-dts": "^6.1.0",
37
+ "jest": "^30.5.0",
38
+ "jest-environment-jsdom": "^30.5.0",
39
+ "postcss": "^8.5.26",
40
+ "prettier": "^3.9.6",
41
+ "react": "^19.2.8",
42
+ "react-dom": "^19.2.8",
43
+ "rollup": "^4.63.1",
44
+ "rollup-plugin-dts": "^6.5.1",
45
45
  "rollup-plugin-postcss": "^4.0.2",
46
- "rollup-plugin-typescript2": "^0.36.0",
47
- "tslib": "^2.5.2",
48
- "typescript": "^5.0.4",
46
+ "rollup-plugin-typescript2": "^0.37.0",
47
+ "tslib": "^2.8.1",
48
+ "typescript": "^6.0.3",
49
49
  "@rubenpazch/eslint-config": "4.0.0",
50
50
  "@rubenpazch/typescript-config": "3.0.0"
51
51
  },