@simpli-route/apollo-ds 0.0.8 → 0.0.9
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.cjs11.js +1 -1
- package/dist/index.cjs12.js +9 -1
- package/dist/index.cjs13.js +13 -3
- package/dist/index.cjs14.js +1 -19
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs3.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es11.js +2 -175
- package/dist/index.es12.js +30 -2
- package/dist/index.es13.js +590 -21
- package/dist/index.es14.js +5 -599
- package/dist/index.es15.js +173 -5
- package/dist/index.es3.js +1 -1
- package/dist/index.es7.js +3 -3
- package/dist/index.es9.js +1 -1
- package/dist/style.css +11 -11
- package/package.json +1 -1
package/dist/index.cjs11.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
package/dist/index.cjs12.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs16.js"),R=require("react");/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var p;function a(){if(p)return t.__exports;p=1;var f=R,c=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function i(o,e,u){var r,n={},_=null,s=null;u!==void 0&&(_=""+u),e.key!==void 0&&(_=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)d.call(e,r)&&!y.hasOwnProperty(r)&&(n[r]=e[r]);if(o&&o.defaultProps)for(r in e=o.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:c,type:o,key:_,ref:s,props:n,_owner:m.current}}return t.__exports.Fragment=l,t.__exports.jsx=i,t.__exports.jsxs=i,t.__exports}exports.__require=a;
|
package/dist/index.cjs13.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs17.js"),tr=require("react");/**
|
|
2
2
|
* @license React
|
|
3
|
-
* react-jsx-runtime.
|
|
3
|
+
* react-jsx-runtime.development.js
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var he;function nr(){return he||(he=1,process.env.NODE_ENV!=="production"&&function(){var Ee=tr,x=Symbol.for("react.element"),ye=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),B=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),G=Symbol.iterator,Re="@@iterator";function me(e){if(e===null||typeof e!="object")return null;var r=G&&e[G]||e[Re];return typeof r=="function"?r:null}var b=Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Te("error",e,t)}}function Te(e,r,t){{var n=b.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ce=!1,Pe=!1,Se=!1,Oe=!1,we=!1,z;z=Symbol.for("react.module.reference");function je(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===N||we||e===U||e===k||e===D||Oe||e===_e||Ce||Pe||Se||typeof e=="object"&&e!==null&&(e.$$typeof===F||e.$$typeof===C||e.$$typeof===q||e.$$typeof===B||e.$$typeof===T||e.$$typeof===z||e.getModuleId!==void 0))}function xe(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function J(e){return e.displayName||"Context"}function d(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case ye:return"Portal";case N:return"Profiler";case U:return"StrictMode";case k:return"Suspense";case D:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case B:var r=e;return J(r)+".Consumer";case q:var t=e;return J(t._context)+".Provider";case T:return xe(e,e.render,"ForwardRef");case C:var n=e.displayName||null;return n!==null?n:d(e.type)||"Memo";case F:{var o=e,u=o._payload,i=o._init;try{return d(i(u))}catch{return null}}}return null}var g=Object.assign,y=0,K,H,X,Z,Q,ee,re;function te(){}te.__reactDisabledLog=!0;function ke(){{if(y===0){K=console.log,H=console.info,X=console.warn,Z=console.error,Q=console.group,ee=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}y++}}function De(){{if(y--,y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:K}),info:g({},e,{value:H}),warn:g({},e,{value:X}),error:g({},e,{value:Z}),group:g({},e,{value:Q}),groupCollapsed:g({},e,{value:ee}),groupEnd:g({},e,{value:re})})}y<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=b.ReactCurrentDispatcher,I;function P(e,r,t){{if(I===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return`
|
|
10
|
+
`+I+e}}var W=!1,S;{var Fe=typeof WeakMap=="function"?WeakMap:Map;S=new Fe}function ne(e,r){if(!e||W)return"";{var t=S.get(e);if(t!==void 0)return t}var n;W=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=A.current,A.current=null,ke();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
|
|
11
|
+
`),c=n.stack.split(`
|
|
12
|
+
`),s=a.length-1,l=c.length-1;s>=1&&l>=0&&a[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==c[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==c[l]){var v=`
|
|
13
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),typeof e=="function"&&S.set(e,v),v}while(s>=1&&l>=0);break}}}finally{W=!1,A.current=u,De(),Error.prepareStackTrace=o}var E=e?e.displayName||e.name:"",be=E?P(E):"";return typeof e=="function"&&S.set(e,be),be}function Ae(e,r,t){return ne(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function O(e,r,t){if(e==null)return"";if(typeof e=="function")return ne(e,Ie(e));if(typeof e=="string")return P(e);switch(e){case k:return P("Suspense");case D:return P("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case T:return Ae(e.render);case C:return O(e.type,r,t);case F:{var n=e,o=n._payload,u=n._init;try{return O(u(o),r,t)}catch{}}}return""}var w=Object.prototype.hasOwnProperty,ae={},ie=b.ReactDebugCurrentFrame;function j(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);ie.setExtraStackFrame(t)}else ie.setExtraStackFrame(null)}function We(e,r,t,n,o){{var u=Function.call.bind(w);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(j(o),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),j(null)),a instanceof Error&&!(a.message in ae)&&(ae[a.message]=!0,j(o),f("Failed %s type: %s",t,a.message),j(null))}}}var $e=Array.isArray;function $(e){return $e(e)}function Ye(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Me(e){try{return oe(e),!1}catch{return!0}}function oe(e){return""+e}function ue(e){if(Me(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ye(e)),oe(e)}var _=b.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},se,le,Y;Y={};function Le(e){if(w.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ue(e){if(w.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ne(e,r){if(typeof e.ref=="string"&&_.current&&r&&_.current.stateNode!==r){var t=d(_.current.type);Y[t]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d(_.current.type),e.ref),Y[t]=!0)}}function qe(e,r){{var t=function(){se||(se=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Be(e,r){{var t=function(){le||(le=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ge=function(e,r,t,n,o,u,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ze(e,r,t,n,o){{var u,i={},a=null,c=null;t!==void 0&&(ue(t),a=""+t),Ue(r)&&(ue(r.key),a=""+r.key),Le(r)&&(c=r.ref,Ne(r,o));for(u in r)w.call(r,u)&&!Ve.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||c){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&qe(i,l),c&&Be(i,l)}return Ge(e,a,c,o,n,_.current,i)}}var M=b.ReactCurrentOwner,fe=b.ReactDebugCurrentFrame;function h(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);fe.setExtraStackFrame(t)}else fe.setExtraStackFrame(null)}var V;V=!1;function L(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function ce(){{if(M.current){var e=d(M.current.type);if(e)return`
|
|
14
|
+
|
|
15
|
+
Check the render method of \``+e+"`."}return""}}function Je(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
16
|
+
|
|
17
|
+
Check your code at `+r+":"+t+"."}return""}}var ve={};function Ke(e){{var r=ce();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
18
|
+
|
|
19
|
+
Check the top-level render call using <`+t+">.")}return r}}function de(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ke(r);if(ve[t])return;ve[t]=!0;var n="";e&&e._owner&&e._owner!==M.current&&(n=" It was passed a child from "+d(e._owner.type)+"."),h(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),h(null)}}function pe(e,r){{if(typeof e!="object")return;if($(e))for(var t=0;t<e.length;t++){var n=e[t];L(n)&&de(n,r)}else if(L(e))e._store&&(e._store.validated=!0);else if(e){var o=me(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)L(i.value)&&de(i.value,r)}}}function He(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===T||r.$$typeof===C))t=r.propTypes;else return;if(t){var n=d(r);We(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!V){V=!0;var o=d(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xe(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){h(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),h(null);break}}e.ref!==null&&(h(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),h(null))}}function ge(e,r,t,n,o,u){{var i=je(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c=Je(o);c?a+=c:a+=ce();var s;e===null?s="null":$(e)?s="array":e!==void 0&&e.$$typeof===x?(s="<"+(d(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ze(e,r,t,o,u);if(l==null)return l;if(i){var v=r.children;if(v!==void 0)if(n)if($(v)){for(var E=0;E<v.length;E++)pe(v[E],e);Object.freeze&&Object.freeze(v)}else f("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 pe(v,e)}return e===m?Xe(l):He(l),l}}function Ze(e,r,t){return ge(e,r,t,!0)}function Qe(e,r,t){return ge(e,r,t,!1)}var er=Qe,rr=Ze;R.__exports.Fragment=m,R.__exports.jsx=er,R.__exports.jsxs=rr}()),R.__exports}exports.__require=nr;
|
package/dist/index.cjs14.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.development.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var he;function nr(){return he||(he=1,process.env.NODE_ENV!=="production"&&function(){var Ee=tr,x=Symbol.for("react.element"),ye=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),B=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),G=Symbol.iterator,Re="@@iterator";function me(e){if(e===null||typeof e!="object")return null;var r=G&&e[G]||e[Re];return typeof r=="function"?r:null}var b=Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Te("error",e,t)}}function Te(e,r,t){{var n=b.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var Ce=!1,Pe=!1,Se=!1,Oe=!1,we=!1,z;z=Symbol.for("react.module.reference");function je(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===N||we||e===U||e===k||e===D||Oe||e===_e||Ce||Pe||Se||typeof e=="object"&&e!==null&&(e.$$typeof===F||e.$$typeof===C||e.$$typeof===q||e.$$typeof===B||e.$$typeof===T||e.$$typeof===z||e.getModuleId!==void 0))}function xe(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function J(e){return e.displayName||"Context"}function d(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case ye:return"Portal";case N:return"Profiler";case U:return"StrictMode";case k:return"Suspense";case D:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case B:var r=e;return J(r)+".Consumer";case q:var t=e;return J(t._context)+".Provider";case T:return xe(e,e.render,"ForwardRef");case C:var n=e.displayName||null;return n!==null?n:d(e.type)||"Memo";case F:{var o=e,u=o._payload,i=o._init;try{return d(i(u))}catch{return null}}}return null}var g=Object.assign,y=0,K,H,X,Z,Q,ee,re;function te(){}te.__reactDisabledLog=!0;function ke(){{if(y===0){K=console.log,H=console.info,X=console.warn,Z=console.error,Q=console.group,ee=console.groupCollapsed,re=console.groupEnd;var e={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}y++}}function De(){{if(y--,y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:K}),info:g({},e,{value:H}),warn:g({},e,{value:X}),error:g({},e,{value:Z}),group:g({},e,{value:Q}),groupCollapsed:g({},e,{value:ee}),groupEnd:g({},e,{value:re})})}y<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=b.ReactCurrentDispatcher,I;function P(e,r,t){{if(I===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return`
|
|
10
|
-
`+I+e}}var W=!1,S;{var Fe=typeof WeakMap=="function"?WeakMap:Map;S=new Fe}function ne(e,r){if(!e||W)return"";{var t=S.get(e);if(t!==void 0)return t}var n;W=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=A.current,A.current=null,ke();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
|
|
11
|
-
`),c=n.stack.split(`
|
|
12
|
-
`),s=a.length-1,l=c.length-1;s>=1&&l>=0&&a[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==c[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==c[l]){var v=`
|
|
13
|
-
`+a[s].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),typeof e=="function"&&S.set(e,v),v}while(s>=1&&l>=0);break}}}finally{W=!1,A.current=u,De(),Error.prepareStackTrace=o}var E=e?e.displayName||e.name:"",be=E?P(E):"";return typeof e=="function"&&S.set(e,be),be}function Ae(e,r,t){return ne(e,!1)}function Ie(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function O(e,r,t){if(e==null)return"";if(typeof e=="function")return ne(e,Ie(e));if(typeof e=="string")return P(e);switch(e){case k:return P("Suspense");case D:return P("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case T:return Ae(e.render);case C:return O(e.type,r,t);case F:{var n=e,o=n._payload,u=n._init;try{return O(u(o),r,t)}catch{}}}return""}var w=Object.prototype.hasOwnProperty,ae={},ie=b.ReactDebugCurrentFrame;function j(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);ie.setExtraStackFrame(t)}else ie.setExtraStackFrame(null)}function We(e,r,t,n,o){{var u=Function.call.bind(w);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var c=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(j(o),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),j(null)),a instanceof Error&&!(a.message in ae)&&(ae[a.message]=!0,j(o),f("Failed %s type: %s",t,a.message),j(null))}}}var $e=Array.isArray;function $(e){return $e(e)}function Ye(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Me(e){try{return oe(e),!1}catch{return!0}}function oe(e){return""+e}function ue(e){if(Me(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ye(e)),oe(e)}var _=b.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},se,le,Y;Y={};function Le(e){if(w.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ue(e){if(w.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Ne(e,r){if(typeof e.ref=="string"&&_.current&&r&&_.current.stateNode!==r){var t=d(_.current.type);Y[t]||(f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',d(_.current.type),e.ref),Y[t]=!0)}}function qe(e,r){{var t=function(){se||(se=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Be(e,r){{var t=function(){le||(le=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ge=function(e,r,t,n,o,u,i){var a={$$typeof:x,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function ze(e,r,t,n,o){{var u,i={},a=null,c=null;t!==void 0&&(ue(t),a=""+t),Ue(r)&&(ue(r.key),a=""+r.key),Le(r)&&(c=r.ref,Ne(r,o));for(u in r)w.call(r,u)&&!Ve.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||c){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&qe(i,l),c&&Be(i,l)}return Ge(e,a,c,o,n,_.current,i)}}var M=b.ReactCurrentOwner,fe=b.ReactDebugCurrentFrame;function h(e){if(e){var r=e._owner,t=O(e.type,e._source,r?r.type:null);fe.setExtraStackFrame(t)}else fe.setExtraStackFrame(null)}var V;V=!1;function L(e){return typeof e=="object"&&e!==null&&e.$$typeof===x}function ce(){{if(M.current){var e=d(M.current.type);if(e)return`
|
|
14
|
-
|
|
15
|
-
Check the render method of \``+e+"`."}return""}}function Je(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
16
|
-
|
|
17
|
-
Check your code at `+r+":"+t+"."}return""}}var ve={};function Ke(e){{var r=ce();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
18
|
-
|
|
19
|
-
Check the top-level render call using <`+t+">.")}return r}}function de(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=Ke(r);if(ve[t])return;ve[t]=!0;var n="";e&&e._owner&&e._owner!==M.current&&(n=" It was passed a child from "+d(e._owner.type)+"."),h(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),h(null)}}function pe(e,r){{if(typeof e!="object")return;if($(e))for(var t=0;t<e.length;t++){var n=e[t];L(n)&&de(n,r)}else if(L(e))e._store&&(e._store.validated=!0);else if(e){var o=me(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)L(i.value)&&de(i.value,r)}}}function He(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===T||r.$$typeof===C))t=r.propTypes;else return;if(t){var n=d(r);We(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!V){V=!0;var o=d(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xe(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){h(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),h(null);break}}e.ref!==null&&(h(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),h(null))}}function ge(e,r,t,n,o,u){{var i=je(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c=Je(o);c?a+=c:a+=ce();var s;e===null?s="null":$(e)?s="array":e!==void 0&&e.$$typeof===x?(s="<"+(d(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var l=ze(e,r,t,o,u);if(l==null)return l;if(i){var v=r.children;if(v!==void 0)if(n)if($(v)){for(var E=0;E<v.length;E++)pe(v[E],e);Object.freeze&&Object.freeze(v)}else f("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 pe(v,e)}return e===m?Xe(l):He(l),l}}function Ze(e,r,t){return ge(e,r,t,!0)}function Qe(e,r,t){return ge(e,r,t,!1)}var er=Qe,rr=Ze;R.__exports.Fragment=m,R.__exports.jsx=er,R.__exports.jsxs=rr}()),R.__exports}exports.__require=nr;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs18.js"),o=require("./index.cjs19.js");var u=n.MinusIcon_1,c=o.PlusIcon_1;exports.MinusIcon=u;exports.PlusIcon=c;
|
package/dist/index.cjs15.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("inline-flex select-none items-center justify-center text-center text-base font-semibold leading-6 transition duration-150 ease-in-out focus:outline-none",{variants:{intent:{primary:"bg-primary-500 text-primary-50",secondary:"border border-primary-500 bg-primary-50 text-primary-500",tertiary:"text-primary-500",outline:"border border-primary-500 text-primary-500",success:"border bg-success-500 text-success-50",error:"border bg-error-500 text-error-50",orangeWarning:"border bg-orange-warning-500 text-orange-warning-50",yellowWarning:"border bg-yellow-warning-500 text-[#6F5711]",info:"border bg-blue-500 text-blue-50"},size:{xs:"rounded px-3 py-1",sm:"rounded px-3 py-2",md:"rounded-lg px-4 py-3",lg:"rounded-lg px-6 py-4"},isDisabled:{true:"pointer-events-none cursor-not-allowed border-none bg-neutral-400 text-neutral-600"},isHovered:{true:""},isActive:{true:""},fullWidth:{true:"w-full",false:"w-fit"},isLoading:{true:"pointer-events-none cursor-not-allowed opacity-70"},isFocused:{true:"focus:outline-none focus:ring-2 focus:ring-sky-400 focus:ring-offset-[0.4px] border-none",false:""}},defaultVariants:{intent:"primary",size:"md"},compoundVariants:[{intent:"primary",isHovered:!0,class:"bg-primary-700"},{intent:"secondary",isHovered:!0,class:"bg-primary-200"},{intent:"tertiary",isHovered:!0,class:"bg-primary-300 text-primary-800"},{intent:"outline",isHovered:!0,class:"bg-primary-500 text-primary-50"},{intent:"success",isHovered:!0,class:"bg-success-700 text-neutral-50"},{intent:"error",isHovered:!0,class:"bg-error-700 text-error-50"},{intent:"orangeWarning",isHovered:!0,class:"bg-orange-warning-700 text-orange-warning-50"},{intent:"yellowWarning",isHovered:!0,class:"bg-yellow-warning-700 text-neutral-50"},{intent:"info",isHovered:!0,class:"bg-blue-700 text-blue-50"},{intent:"success",isFocused:!0,class:"border-[1.5px] focus:ring-success-500"},{intent:"error",isFocused:!0,class:"border-[1.5px] focus:ring-error-500"},{intent:"orangeWarning",isFocused:!0,class:"border-[1.5px] focus:ring-orange-500"},{intent:"yellowWarning",isFocused:!0,class:"border-[1.5px] focus:ring-yellow-500"},{intent:"info",isFocused:!0,class:"border-[1.5px] focus:ring-blue-500"},{intent:"primary",isActive:!0,class:"bg-primary-900"},{intent:"secondary",isActive:!0,class:"bg-primary-300"},{intent:"tertiary",isActive:!0,class:"bg-primary-500 text-white"},{intent:"outline",isActive:!0,class:"border border-primary-500 bg-primary-300 text-primary-500"},{intent:"success",isActive:!0,class:"border border-transparent bg-success-300 text-success-900"},{intent:"error",isActive:!0,class:"border border-transparent bg-error-300 text-error-900"},{intent:"orangeWarning",isActive:!0,class:"border border-transparent bg-orange-warning-300 text-orange-warning-900"},{intent:"yellowWarning",isActive:!0,class:"border border-transparent bg-yellow-warning-300 text-[#6F5711]"},{intent:"info",isActive:!0,class:"border border-transparent bg-blue-200 text-blue-900"}]});exports.buttonVariants=r;
|
package/dist/index.cjs3.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs7.js"),E=require("react-aria-components"),p=require("./index.cjs8.js");require("react");const N=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs7.js"),E=require("react-aria-components"),p=require("./index.cjs8.js");require("react");const N=require("./index.cjs15.js"),w=require("./index.cjs4.js");require("./index.cjs10.js");const h=({renderPosition:e,leftIcon:u,rightIcon:c,isLoading:r,loaderPosition:n,loaderProps:t})=>{const i=e==="left"?u:e==="right"?c:null;return i||r&&n===e?s.jsxRuntimeExports.jsx("span",{className:e==="left"?"mr-1":"ml-1",children:r&&n===e?s.jsxRuntimeExports.jsx(w.Loader,{size:"sm",...t}):i}):null},y=e=>{const{intent:u="primary",size:c="md",leftIcon:r,rightIcon:n,isDisabled:t,children:i,className:R,isLoading:l,loaderPosition:x="left",loaderProps:f,fullWidth:q=!1,unstyled:d=!1,focus:j=!0,isMobileFullWidth:b=!1,...g}=e,v=(m,a,o)=>p.cn(d?"":N.buttonVariants({intent:u,size:c,isHovered:a||(j||!d?o:!1),isActive:m,isDisabled:t,isFocused:j||!d?o:!1,fullWidth:q,isLoading:l}),R);return s.jsxRuntimeExports.jsxs(E.Button,{"data-disabled":t||void 0,"data-loading":l||void 0,isDisabled:t,className:({isPressed:m,isHovered:a,isFocusVisible:o})=>v(m,a,o),...g,children:[s.jsxRuntimeExports.jsx(h,{renderPosition:"left",loaderPosition:x,loaderProps:f,isLoading:l,leftIcon:r}),s.jsxRuntimeExports.jsx("span",{className:p.cn("flex h-full items-center overflow-hidden whitespace-nowrap",b?"w-full":""),children:i}),s.jsxRuntimeExports.jsx(h,{renderPosition:"right",loaderPosition:x,loaderProps:f,isLoading:l,rightIcon:n})]})};exports.Button=y;
|
package/dist/index.cjs7.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs11.js"),r=require("./index.cjs12.js"),t=require("./index.cjs13.js");process.env.NODE_ENV==="production"?e.__module.exports=r.__require():e.__module.exports=t.__require();var o=e.__module.exports;exports.jsxRuntimeExports=o;
|
package/dist/index.cjs9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs7.js"),n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs7.js"),n=require("./index.cjs14.js"),r=require("./index.cjs8.js"),a=({label:t,section:o,active:e,onToggle:i,itemClassName:c,sectionClassName:l})=>{const x=r.cn("rounded-md border border-solid border-purple-200 bg-gray-100",c),u=r.cn("px-4 pb-4",l),d=e?n.MinusIcon:n.PlusIcon;return s.jsxRuntimeExports.jsxs("div",{className:x,children:[s.jsxRuntimeExports.jsxs("button",{className:"flex w-full cursor-pointer items-center gap-x-4 p-4",onClick:i,children:[s.jsxRuntimeExports.jsx("div",{className:"flex-1",children:t}),s.jsxRuntimeExports.jsx("span",{className:`shrink-0 transition duration-300 ${e?"-rotate-180":"rotate-0"}`,children:s.jsxRuntimeExports.jsx(d,{className:"size-6"})})]}),e?s.jsxRuntimeExports.jsx("div",{className:u,children:o}):null]})};exports.AccordionItem=a;
|
package/dist/index.es11.js
CHANGED
|
@@ -1,177 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const t = r(
|
|
3
|
-
"inline-flex select-none items-center justify-center text-center text-base font-semibold leading-6 transition duration-150 ease-in-out focus:outline-none",
|
|
4
|
-
{
|
|
5
|
-
variants: {
|
|
6
|
-
intent: {
|
|
7
|
-
primary: "bg-primary-500 text-primary-50",
|
|
8
|
-
secondary: "border border-primary-500 bg-primary-50 text-primary-500",
|
|
9
|
-
tertiary: "text-primary-500",
|
|
10
|
-
outline: "border border-primary-500 text-primary-500",
|
|
11
|
-
success: "border bg-success-500 text-success-50",
|
|
12
|
-
error: "border bg-error-500 text-error-50",
|
|
13
|
-
orangeWarning: "border bg-orange-warning-500 text-orange-warning-50",
|
|
14
|
-
yellowWarning: "border bg-yellow-warning-500 text-[#6F5711]",
|
|
15
|
-
info: "border bg-[#2644D9] text-[#F6F8FC]"
|
|
16
|
-
// TODO: Este color es nuevo, agregarlo en @simpli-route/tailwind-preset con nombre "secondary-blue"
|
|
17
|
-
},
|
|
18
|
-
size: {
|
|
19
|
-
xs: "rounded px-3 py-1",
|
|
20
|
-
sm: "rounded px-3 py-2",
|
|
21
|
-
md: "rounded-lg px-4 py-3",
|
|
22
|
-
lg: "rounded-lg px-6 py-4"
|
|
23
|
-
},
|
|
24
|
-
isDisabled: {
|
|
25
|
-
true: "pointer-events-none cursor-not-allowed border-none bg-neutral-400 text-neutral-600"
|
|
26
|
-
},
|
|
27
|
-
isHovered: {
|
|
28
|
-
true: ""
|
|
29
|
-
},
|
|
30
|
-
isActive: {
|
|
31
|
-
true: ""
|
|
32
|
-
},
|
|
33
|
-
fullWidth: {
|
|
34
|
-
true: "w-full",
|
|
35
|
-
false: "w-fit"
|
|
36
|
-
},
|
|
37
|
-
isLoading: {
|
|
38
|
-
true: "pointer-events-none cursor-not-allowed opacity-70"
|
|
39
|
-
},
|
|
40
|
-
isFocused: {
|
|
41
|
-
true: "focus:outline-none focus:ring-2 focus:ring-sky-400 focus:ring-offset-[0.4px] border-none",
|
|
42
|
-
false: ""
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
defaultVariants: {
|
|
46
|
-
intent: "primary",
|
|
47
|
-
size: "md"
|
|
48
|
-
},
|
|
49
|
-
compoundVariants: [
|
|
50
|
-
/* Hover State */
|
|
51
|
-
{
|
|
52
|
-
intent: "primary",
|
|
53
|
-
isHovered: !0,
|
|
54
|
-
class: "bg-primary-700"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
intent: "secondary",
|
|
58
|
-
isHovered: !0,
|
|
59
|
-
class: "bg-primary-200"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
intent: "tertiary",
|
|
63
|
-
isHovered: !0,
|
|
64
|
-
class: "bg-primary-300 text-primary-800"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
intent: "outline",
|
|
68
|
-
isHovered: !0,
|
|
69
|
-
class: "bg-primary-500 text-primary-50"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
intent: "success",
|
|
73
|
-
isHovered: !0,
|
|
74
|
-
class: "bg-success-700 text-neutral-50"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
intent: "error",
|
|
78
|
-
isHovered: !0,
|
|
79
|
-
class: "bg-error-700 text-error-50"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
intent: "orangeWarning",
|
|
83
|
-
isHovered: !0,
|
|
84
|
-
class: "bg-orange-warning-700 text-orange-warning-50"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
intent: "yellowWarning",
|
|
88
|
-
isHovered: !0,
|
|
89
|
-
class: "bg-yellow-warning-700 text-neutral-50"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
intent: "info",
|
|
93
|
-
isHovered: !0,
|
|
94
|
-
class: "bg-[#1B3098] text-[#F6F8FC]"
|
|
95
|
-
// TODO: Este color es nuevo, agregarlo en @simpli-route/tailwind-preset con nombre "secondary-blue"
|
|
96
|
-
},
|
|
97
|
-
/* /Focus State */
|
|
98
|
-
{
|
|
99
|
-
intent: "success",
|
|
100
|
-
isFocused: !0,
|
|
101
|
-
class: "border-[1.5px] focus:ring-success-500"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
intent: "error",
|
|
105
|
-
isFocused: !0,
|
|
106
|
-
class: "border-[1.5px] focus:ring-error-500"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
intent: "orangeWarning",
|
|
110
|
-
isFocused: !0,
|
|
111
|
-
class: "border-[1.5px] focus:ring-orange-500"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
intent: "yellowWarning",
|
|
115
|
-
isFocused: !0,
|
|
116
|
-
class: "border-[1.5px] focus:ring-yellow-500"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
intent: "info",
|
|
120
|
-
isFocused: !0,
|
|
121
|
-
class: "border-[1.5px] focus:ring-[#2644D9]"
|
|
122
|
-
// TODO: Este color es nuevo, agregarlo en @simpli-route/tailwind-preset con nombre "secondary-blue"
|
|
123
|
-
},
|
|
124
|
-
/* Active State */
|
|
125
|
-
{
|
|
126
|
-
intent: "primary",
|
|
127
|
-
isActive: !0,
|
|
128
|
-
class: "bg-primary-900"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
intent: "secondary",
|
|
132
|
-
isActive: !0,
|
|
133
|
-
class: "bg-primary-300"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
intent: "tertiary",
|
|
137
|
-
isActive: !0,
|
|
138
|
-
class: "bg-primary-500 text-white"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
intent: "outline",
|
|
142
|
-
isActive: !0,
|
|
143
|
-
class: "border border-primary-500 bg-primary-300 text-primary-500"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
intent: "success",
|
|
147
|
-
isActive: !0,
|
|
148
|
-
class: "border border-transparent bg-success-300 text-success-900"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
intent: "error",
|
|
152
|
-
isActive: !0,
|
|
153
|
-
class: "border border-transparent bg-error-300 text-error-900"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
intent: "orangeWarning",
|
|
157
|
-
isActive: !0,
|
|
158
|
-
class: "border border-transparent bg-orange-warning-300 text-orange-warning-900"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
intent: "yellowWarning",
|
|
162
|
-
isActive: !0,
|
|
163
|
-
class: "border border-transparent bg-yellow-warning-300 text-[#6F5711]"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
intent: "info",
|
|
167
|
-
isActive: !0,
|
|
168
|
-
class: "border border-transparent bg-[#A8B4F0] text-[#0B1441]"
|
|
169
|
-
// TODO: Este color es nuevo, agregarlo en @simpli-route/tailwind-preset con nombre "secondary-blue"
|
|
170
|
-
}
|
|
171
|
-
/* /Active State */
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
);
|
|
1
|
+
var e = { exports: {} };
|
|
175
2
|
export {
|
|
176
|
-
|
|
3
|
+
e as __module
|
|
177
4
|
};
|
package/dist/index.es12.js
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
import { __exports as t } from "./index.es16.js";
|
|
2
|
+
import R from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var p;
|
|
13
|
+
function v() {
|
|
14
|
+
if (p)
|
|
15
|
+
return t;
|
|
16
|
+
p = 1;
|
|
17
|
+
var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function i(o, r, u) {
|
|
19
|
+
var e, n = {}, _ = null, f = null;
|
|
20
|
+
u !== void 0 && (_ = "" + u), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
|
|
21
|
+
for (e in r)
|
|
22
|
+
c.call(r, e) && !y.hasOwnProperty(e) && (n[e] = r[e]);
|
|
23
|
+
if (o && o.defaultProps)
|
|
24
|
+
for (e in r = o.defaultProps, r)
|
|
25
|
+
n[e] === void 0 && (n[e] = r[e]);
|
|
26
|
+
return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: d.current };
|
|
27
|
+
}
|
|
28
|
+
return t.Fragment = l, t.jsx = i, t.jsxs = i, t;
|
|
29
|
+
}
|
|
2
30
|
export {
|
|
3
|
-
|
|
31
|
+
v as __require
|
|
4
32
|
};
|