xtreme-ui 0.0.4 → 0.0.6
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/components/base/Button/Button.d.ts +0 -1
- package/dist/components/base/Button/types.d.ts +13 -10
- package/dist/components/base/Icon/Icon.d.ts +0 -1
- package/dist/components/base/Icon/types.d.ts +16 -6
- package/dist/components/base/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/components/base/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/base/Textfield/Textfield.d.ts +0 -1
- package/dist/components/base/Textfield/types.d.ts +3 -2
- package/dist/components/base/Textfield/types.d.ts.map +1 -1
- package/dist/components/layout/Navigation/Navigation.d.ts +0 -1
- package/dist/components/layout/Navigation/types.d.ts.map +1 -1
- package/dist/components/layout/Sider/Sider.d.ts +0 -1
- package/dist/components/layout/Sider/types.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.es.js +417 -414
- package/dist/index.umd.js +9 -9
- package/dist/manifest.json +2 -2
- package/dist/style.css +1 -1
- package/dist/utils/function/mergeRefs.d.ts +0 -1
- package/dist/utils/function/string.d.ts +2 -0
- package/dist/utils/helper/domHelper.d.ts +0 -1
- package/dist/utils/index.d.ts +2 -1
- package/package.json +33 -39
- package/dist/components/base/Button/Button.d.ts.map +0 -1
- package/dist/components/base/Button/types.d.ts.map +0 -1
- package/dist/components/base/Icon/Icon.d.ts.map +0 -1
- package/dist/components/base/Icon/types.d.ts.map +0 -1
- package/dist/components/base/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/dist/components/base/Textfield/Textfield.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -8
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/layout/Navigation/Navigation.d.ts.map +0 -1
- package/dist/components/layout/Sider/Sider.d.ts.map +0 -1
- package/dist/utils/function/mergeRefs.d.ts.map +0 -1
- package/dist/utils/helper/domHelper.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(m,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(m=typeof globalThis<"u"?globalThis:m||self,x(m.XtremeUI={},m.require$$0))})(this,function(m,x){"use strict";const on="",re=typeof window<"u",A=re?window:void 0,te=(r,n)=>re?getComputedStyle((n==null?void 0:n.current)||document.documentElement).getPropertyValue(r):"",yr=(r,n)=>parseInt(te(r,n).replace(/px/g,"")),br=(r,n)=>{const i=parseInt(te(r,n).replace(/vh/g,""));return[((A==null?void 0:A.innerHeight)??0)*i/100,i]},hr=(r,n)=>{const i=parseInt(te(r,n).replace(/vw/g,""));return[((A==null?void 0:A.innerWidth)??0)*i/100,i]},Tr=(r,n,i)=>re?((i==null?void 0:i.current)||document.documentElement).style.setProperty(r,n):"",Sr=r=>new Promise(n=>{let i=document.querySelector(r);if(i)return n(i);const o=new MutationObserver(()=>{i=document.querySelector(r),i&&(n(i),o.disconnect())});o.observe(document.body,{childList:!0,subtree:!0})}),Rr=(r,n)=>{var i;(i=n==null?void 0:n.forEach)==null||i.call(n,o=>{let l;new MutationObserver(g=>{var c;document.querySelector(o)&&(l=document.querySelector(o)),(c=g==null?void 0:g.forEach)==null||c.call(g,y=>{y.type==="childList"&&(Array.from(y.addedNodes).indexOf(l)>-1&&r(l,"added",y),Array.from(y.removedNodes).indexOf(l)>-1&&r(l,"removed",y))})}).observe(document.body,{childList:!0,subtree:!0})})},Oe=r=>n=>{r.forEach(i=>{typeof i=="function"?i(n):i!=null&&(i.current=n)})},we=r=>isNaN(r)||r<0||r>1114111||Math.floor(r)!==r?"":String.fromCodePoint(r),Ce=r=>we(parseInt(`0x${r}`,16));var ne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ue={exports:{}},J={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
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 xe;function jr(){if(xe)return J;xe=1;var r=x,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function g(d,c,y){var b,h={},O=null,P=null;y!==void 0&&(O=""+y),c.key!==void 0&&(O=""+c.key),c.ref!==void 0&&(P=c.ref);for(b in c)o.call(c,b)&&!_.hasOwnProperty(b)&&(h[b]=c[b]);if(d&&d.defaultProps)for(b in c=d.defaultProps,c)h[b]===void 0&&(h[b]=c[b]);return{$$typeof:n,type:d,key:O,ref:P,props:h,_owner:l.current}}return J.Fragment=i,J.jsx=g,J.jsxs=g,J}var X={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+be+e}}var he=!1,oe;{var
|
|
17
|
+
*/var Pe;function Or(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&function(){var r=x,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),q=Symbol.iterator,Y="@@iterator";function U(e){if(e===null||typeof e!="object")return null;var t=q&&e[q]||e[Y];return typeof t=="function"?t:null}var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(e){{for(var t=arguments.length,a=new Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];_e("error",e,a)}}function _e(e,t,a){{var s=w.ReactDebugCurrentFrame,p=s.getStackAddendum();p!==""&&(t+="%s",a=a.concat([p]));var v=a.map(function(f){return String(f)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var me=!1,K=!1,R=!1,D=!1,z=!1,Z;Z=Symbol.for("react.module.reference");function Nt(e){return!!(typeof e=="string"||typeof e=="function"||e===o||e===_||z||e===l||e===y||e===b||D||e===P||me||K||R||typeof e=="object"&&e!==null&&(e.$$typeof===O||e.$$typeof===h||e.$$typeof===g||e.$$typeof===d||e.$$typeof===c||e.$$typeof===Z||e.getModuleId!==void 0))}function Dt(e,t,a){var s=e.displayName;if(s)return s;var p=t.displayName||t.name||"";return p!==""?a+"("+p+")":a}function Xe(e){return e.displayName||"Context"}function $(e){if(e==null)return null;if(typeof e.tag=="number"&&S("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 o:return"Fragment";case i:return"Portal";case _:return"Profiler";case l:return"StrictMode";case y:return"Suspense";case b:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var t=e;return Xe(t)+".Consumer";case g:var a=e;return Xe(a._context)+".Provider";case c:return Dt(e,e.render,"ForwardRef");case h:var s=e.displayName||null;return s!==null?s:$(e.type)||"Memo";case O:{var p=e,v=p._payload,f=p._init;try{return $(f(v))}catch{return null}}}return null}var M=Object.assign,Q=0,He,Ke,Ze,Qe,er,rr,tr;function nr(){}nr.__reactDisabledLog=!0;function $t(){{if(Q===0){He=console.log,Ke=console.info,Ze=console.warn,Qe=console.error,er=console.group,rr=console.groupCollapsed,tr=console.groupEnd;var e={configurable:!0,enumerable:!0,value:nr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Q++}}function It(){{if(Q--,Q===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:He}),info:M({},e,{value:Ke}),warn:M({},e,{value:Ze}),error:M({},e,{value:Qe}),group:M({},e,{value:er}),groupCollapsed:M({},e,{value:rr}),groupEnd:M({},e,{value:tr})})}Q<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=w.ReactCurrentDispatcher,be;function ie(e,t,a){{if(be===void 0)try{throw Error()}catch(p){var s=p.stack.trim().match(/\n( *(at )?)/);be=s&&s[1]||""}return`
|
|
18
|
+
`+be+e}}var he=!1,oe;{var Ft=typeof WeakMap=="function"?WeakMap:Map;oe=new Ft}function ar(e,t){if(!e||he)return"";{var a=oe.get(e);if(a!==void 0)return a}var s;he=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=ye.current,ye.current=null,$t();try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(I){s=I}Reflect.construct(e,[],f)}else{try{f.call()}catch(I){s=I}e.call(f.prototype)}}else{try{throw Error()}catch(I){s=I}e()}}catch(I){if(I&&s&&typeof I.stack=="string"){for(var u=I.stack.split(`
|
|
19
19
|
`),C=s.stack.split(`
|
|
20
|
-
`),
|
|
21
|
-
`+u[
|
|
20
|
+
`),E=u.length-1,j=C.length-1;E>=1&&j>=0&&u[E]!==C[j];)j--;for(;E>=1&&j>=0;E--,j--)if(u[E]!==C[j]){if(E!==1||j!==1)do if(E--,j--,j<0||u[E]!==C[j]){var k=`
|
|
21
|
+
`+u[E].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),typeof e=="function"&&oe.set(e,k),k}while(E>=1&&j>=0);break}}}finally{he=!1,ye.current=v,It(),Error.prepareStackTrace=p}var G=e?e.displayName||e.name:"",mr=G?ie(G):"";return typeof e=="function"&&oe.set(e,mr),mr}function Lt(e,t,a){return ar(e,!1)}function At(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function se(e,t,a){if(e==null)return"";if(typeof e=="function")return ar(e,At(e));if(typeof e=="string")return ie(e);switch(e){case y:return ie("Suspense");case b:return ie("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Lt(e.render);case h:return se(e.type,t,a);case O:{var s=e,p=s._payload,v=s._init;try{return se(v(p),t,a)}catch{}}}return""}var le=Object.prototype.hasOwnProperty,ir={},or=w.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,a=se(e.type,e._source,t?t.type:null);or.setExtraStackFrame(a)}else or.setExtraStackFrame(null)}function Wt(e,t,a,s,p){{var v=Function.call.bind(le);for(var f in e)if(v(e,f)){var u=void 0;try{if(typeof e[f]!="function"){var C=Error((s||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[f](t,f,s,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){u=E}u&&!(u instanceof Error)&&(ce(p),S("%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).",s||"React class",a,f,typeof u),ce(null)),u instanceof Error&&!(u.message in ir)&&(ir[u.message]=!0,ce(p),S("Failed %s type: %s",a,u.message),ce(null))}}}var zt=Array.isArray;function Te(e){return zt(e)}function Mt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Vt(e){try{return sr(e),!1}catch{return!0}}function sr(e){return""+e}function lr(e){if(Vt(e))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Mt(e)),sr(e)}var ee=w.ReactCurrentOwner,qt={key:!0,ref:!0,__self:!0,__source:!0},cr,ur,Se;Se={};function Yt(e){if(le.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function Ut(e){if(le.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function Bt(e,t){if(typeof e.ref=="string"&&ee.current&&t&&ee.current.stateNode!==t){var a=$(ee.current.type);Se[a]||(S('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',$(ee.current.type),e.ref),Se[a]=!0)}}function Gt(e,t){{var a=function(){cr||(cr=!0,S("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function Jt(e,t){{var a=function(){ur||(ur=!0,S("%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)",t))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Xt=function(e,t,a,s,p,v,f){var u={$$typeof:n,type:e,key:t,ref:a,props:f,_owner:v};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function Ht(e,t,a,s,p){{var v,f={},u=null,C=null;a!==void 0&&(lr(a),u=""+a),Ut(t)&&(lr(t.key),u=""+t.key),Yt(t)&&(C=t.ref,Bt(t,p));for(v in t)le.call(t,v)&&!qt.hasOwnProperty(v)&&(f[v]=t[v]);if(e&&e.defaultProps){var E=e.defaultProps;for(v in E)f[v]===void 0&&(f[v]=E[v])}if(u||C){var j=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Gt(f,j),C&&Jt(f,j)}return Xt(e,u,C,p,s,ee.current,f)}}var Re=w.ReactCurrentOwner,fr=w.ReactDebugCurrentFrame;function B(e){if(e){var t=e._owner,a=se(e.type,e._source,t?t.type:null);fr.setExtraStackFrame(a)}else fr.setExtraStackFrame(null)}var Ee;Ee=!1;function je(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function dr(){{if(Re.current){var e=$(Re.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function Kt(e){{if(e!==void 0){var t=e.fileName.replace(/^.*[\\\/]/,""),a=e.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+t+":"+
|
|
25
|
+
Check your code at `+t+":"+a+"."}return""}}var pr={};function Zt(e){{var t=dr();if(!t){var a=typeof e=="string"?e:e.displayName||e.name;a&&(t=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+i+">.")}return t}}function fr(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var i=Ht(t);if(ur[i])return;ur[i]=!0;var s="";e&&e._owner&&e._owner!==Re.current&&(s=" It was passed a child from "+$(e._owner.type)+"."),B(e),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,s),B(null)}}function dr(e,t){{if(typeof e!="object")return;if(Te(e))for(var i=0;i<e.length;i++){var s=e[i];Ee(s)&&fr(s,t)}else if(Ee(e))e._store&&(e._store.validated=!0);else if(e){var v=U(e);if(typeof v=="function"&&v!==e.entries)for(var y=v.call(e),f;!(f=y.next()).done;)Ee(f.value)&&fr(f.value,t)}}}function Kt(e){{var t=e.type;if(t==null||typeof t=="string")return;var i;if(typeof t=="function")i=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===c||t.$$typeof===b))i=t.propTypes;else return;if(i){var s=$(t);At(i,e.props,"prop",s,e)}else if(t.PropTypes!==void 0&&!je){je=!0;var v=$(t);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Zt(e){{for(var t=Object.keys(e.props),i=0;i<t.length;i++){var s=t[i];if(s!=="children"&&s!=="key"){B(e),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),B(null);break}}e.ref!==null&&(B(e),S("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function vr(e,t,i,s,v,y){{var f=Pt(e);if(!f){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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=Xt(v);C?u+=C:u+=cr();var j;e===null?j="null":Te(e)?j="array":e!==void 0&&e.$$typeof===n?(j="<"+($(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):j=typeof e,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,u)}var E=Jt(e,t,i,v,y);if(E==null)return E;if(f){var k=t.children;if(k!==void 0)if(s)if(Te(k)){for(var G=0;G<k.length;G++)dr(k[G],e);Object.freeze&&Object.freeze(k)}else S("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 dr(k,e)}return e===o?Zt(E):Kt(E),E}}function Qt(e,t,i){return vr(e,t,i,!0)}function en(e,t,i){return vr(e,t,i,!1)}var rn=en,tn=Qt;X.Fragment=o,X.jsx=rn,X.jsxs=tn}()),X}process.env.NODE_ENV==="production"?ue.exports=Sr():ue.exports=Rr();var T=ue.exports;function Ce(r){var n,a,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(n=0;n<r.length;n++)r[n]&&(a=Ce(r[n]))&&(o&&(o+=" "),o+=a);else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function F(){for(var r,n,a=0,o="";a<arguments.length;)(r=arguments[a++])&&(n=Ce(r))&&(o&&(o+=" "),o+=n);return o}function jr(r){var n=typeof r;return r!=null&&(n=="object"||n=="function")}var fe=jr,Er=typeof ne=="object"&&ne&&ne.Object===Object&&ne,Or=Er,xr=Or,Cr=typeof self=="object"&&self&&self.Object===Object&&self,wr=xr||Cr||Function("return this")(),we=wr,Pr=we,kr=function(){return Pr.Date.now()},Nr=kr,Dr=/\s/;function $r(r){for(var n=r.length;n--&&Dr.test(r.charAt(n)););return n}var Ir=$r,Fr=Ir,Ar=/^\s+/;function Lr(r){return r&&r.slice(0,Fr(r)+1).replace(Ar,"")}var Wr=Lr,Mr=we,zr=Mr.Symbol,Pe=zr,ke=Pe,Ne=Object.prototype,qr=Ne.hasOwnProperty,Yr=Ne.toString,H=ke?ke.toStringTag:void 0;function Vr(r){var n=qr.call(r,H),a=r[H];try{r[H]=void 0;var o=!0}catch{}var l=Yr.call(r);return o&&(n?r[H]=a:delete r[H]),l}var Ur=Vr,Br=Object.prototype,Gr=Br.toString;function Jr(r){return Gr.call(r)}var Xr=Jr,De=Pe,Hr=Ur,Kr=Xr,Zr="[object Null]",Qr="[object Undefined]",$e=De?De.toStringTag:void 0;function et(r){return r==null?r===void 0?Qr:Zr:$e&&$e in Object(r)?Hr(r):Kr(r)}var rt=et;function tt(r){return r!=null&&typeof r=="object"}var nt=tt,it=rt,at=nt,ot="[object Symbol]";function st(r){return typeof r=="symbol"||at(r)&&it(r)==ot}var lt=st,ct=Wr,Ie=fe,ut=lt,Fe=0/0,ft=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,vt=/^0o[0-7]+$/i,pt=parseInt;function yt(r){if(typeof r=="number")return r;if(ut(r))return Fe;if(Ie(r)){var n=typeof r.valueOf=="function"?r.valueOf():r;r=Ie(n)?n+"":n}if(typeof r!="string")return r===0?r:+r;r=ct(r);var a=dt.test(r);return a||vt.test(r)?pt(r.slice(2),a?2:8):ft.test(r)?Fe:+r}var gt=yt,mt=fe,de=Nr,Ae=gt,_t="Expected a function",bt=Math.max,ht=Math.min;function Tt(r,n,a){var o,l,m,p,d,c,g=0,_=!1,b=!1,O=!0;if(typeof r!="function")throw new TypeError(_t);n=Ae(n)||0,mt(a)&&(_=!!a.leading,b="maxWait"in a,m=b?bt(Ae(a.maxWait)||0,n):m,O="trailing"in a?!!a.trailing:O);function P(R){var D=o,z=l;return o=l=void 0,g=R,p=r.apply(z,D),p}function Y(R){return g=R,d=setTimeout(x,n),_?P(R):p}function V(R){var D=R-c,z=R-g,Z=n-D;return b?ht(Z,m-z):Z}function U(R){var D=R-c,z=R-g;return c===void 0||D>=n||D<0||b&&z>=m}function x(){var R=de();if(U(R))return S(R);d=setTimeout(x,V(R))}function S(R){return d=void 0,O&&o?P(R):(o=l=void 0,p)}function ge(){d!==void 0&&clearTimeout(d),g=0,o=c=l=d=void 0}function me(){return d===void 0?p:S(de())}function K(){var R=de(),D=U(R);if(o=arguments,l=this,c=R,D){if(d===void 0)return Y(c);if(b)return clearTimeout(d),d=setTimeout(x,n),P(c)}return d===void 0&&(d=setTimeout(x,n)),p}return K.cancel=ge,K.flush=me,K}var St=Tt,Rt=St,jt=fe,Et="Expected a function";function Ot(r,n,a){var o=!0,l=!0;if(typeof r!="function")throw new TypeError(Et);return jt(a)&&(o="leading"in a?!!a.leading:o,l="trailing"in a?!!a.trailing:l),Rt(r,n,{leading:o,maxWait:n,trailing:l})}var xt=Ot;const Ct=Tr(xt),wt=r=>n=>{r.forEach(a=>{typeof a=="function"?a(n):a!=null&&(a.current=n)})},Le={icon:"_icon_1r2n7_2",filled:"_filled_1r2n7_18"};var We=(r=>(r[r.mini=16]="mini",r[r.default=24]="default",r[r.large=32]="large",r))(We||{});const ie=w.forwardRef((r,n)=>{const{className:a,name:o,size:l,filled:m}=r,p=l?`${typeof l=="number"?l:We[l]}px`:void 0,d=F(Le.icon,a,m&&Le.filled);return T.jsx("span",{className:d,ref:n,style:{fontSize:p},children:o})});ie.displayName="Icon";const ve={progressBar:"_progressBar_luf46_1",progress:"_progress_luf46_1",intermediate:"_intermediate_luf46_31",barberPole:"_barberPole_luf46_1"},pe=w.forwardRef((r,n)=>{const{className:a,progress:o=100,intermediate:l=!1}=r,m=l?150:Math.min(Math.max(o,0),100),p=F(ve.progressBar,l&&ve.intermediate,a);return T.jsx("div",{className:p,ref:n,children:T.jsx("span",{className:ve.progress,style:{width:`${m}%`}})})});pe.displayName="ProgressBar";const N={button:"_button_1qj4y_1",label:"_label_1qj4y_17",icon:"_icon_1qj4y_23",filled:"_filled_1qj4y_28",underline:"_underline_1qj4y_31",primaryType:"_primaryType_1qj4y_54",primaryDangerType:"_primaryDangerType_1qj4y_54",secondaryType:"_secondaryType_1qj4y_59",secondaryDangerType:"_secondaryDangerType_1qj4y_59",linkType:"_linkType_1qj4y_64",linkDangerType:"_linkDangerType_1qj4y_64",miniSize:"_miniSize_1qj4y_93",iconOnly:"_iconOnly_1qj4y_107",defaultSize:"_defaultSize_1qj4y_114",largeSize:"_largeSize_1qj4y_135",clicked:"_clicked_1qj4y_171",ripple:"_ripple_1qj4y_1",loading:"_loading_1qj4y_180",barberPole:"_barberPole_1qj4y_1",spin:"_spin_1qj4y_1"};var ye=(r=>(r.primary="primary",r.primaryDanger="primaryDanger",r.secondary="secondary",r.secondaryDanger="secondaryDanger",r.link="link",r.linkDanger="linkDanger",r))(ye||{});const Me=100;let ze;const qe=w.forwardRef((r,n)=>{const{className:a,label:o,type:l="primary",size:m="default",disabled:p=!1,loading:d=!1,iconName:c,iconFilled:g=!1,iconPosition:_="left",onClick:b}=r,O=w.useRef(null),P=Ct(()=>{var x;clearTimeout(ze),(x=O.current)==null||x.classList.add(N.clicked),ze=window.setTimeout(()=>{var S;(S=O.current)==null||S.classList.remove(N.clicked)},600+Me)},Me),Y=x=>{b==null||b(x),l.includes(ye.link)||P()},V=()=>c?T.jsx(ie,{className:F(N.icon,g&&N.filled),name:c,size:m}):null,U=F(N.button,N[`${l}Type`],N[`${m}Size`],!o&&N.iconOnly,d&&N.loading,a);return!o&&!c?null:T.jsxs("button",{className:U,ref:wt([O,n]),onClick:Y,disabled:p,children:[l.includes(ye.link)&&T.jsx(pe,{className:N.underline,intermediate:d}),_==="left"&&T.jsx(V,{}),o&&T.jsx("span",{className:N.label,children:o}),_==="right"&&T.jsx(V,{})]})});qe.displayName="Button";const W={textfield:"_textfield_p93uo_1",icon:"_icon_p93uo_28",filled:"_filled_p93uo_38",input:"_input_p93uo_41",textarea:"_textarea_p93uo_55",withIcon:"_withIcon_p93uo_60"},Ye=w.forwardRef((r,n)=>{const{className:a,type:o="text",textarea:l,placeholder:m,autoComplete:p="off",autoFocus:d,iconName:c,iconFilled:g=!1,value:_,onChange:b}=r,O=w.useMemo(()=>{if(l===!0)return null;if(c)return c;if(o==="number")return"numbers";if(o==="search")return"search";if(o==="password")return"shield"},[l,c,o]),P=F(W.textfield,O&&W.withIcon,l&&W.textarea,a);return T.jsxs("div",{className:P,ref:n,children:[!!O&&!l&&T.jsx(ie,{className:F(W.icon,g&&W.filled),name:O,size:20,filled:g}),l?T.jsx("textarea",{className:W.input,autoFocus:d,placeholder:m,autoComplete:p,value:_,onChange:b}):T.jsx("input",{className:W.input,type:o,autoFocus:d,placeholder:m,autoComplete:p,value:_,onChange:b})]})});Ye.displayName="Textfield";const A={sider:"_sider_9guyz_1",leftSiderContainer:"_leftSiderContainer_9guyz_13",rightSiderContainer:"_rightSiderContainer_9guyz_20",content:"_content_9guyz_27",miniLeftSider:"_miniLeftSider_9guyz_37",miniRightSider:"_miniRightSider_9guyz_44",leftOpen:"_leftOpen_9guyz_51",rightOpen:"_rightOpen_9guyz_57"},Ve=w.forwardRef((r,n)=>{const{className:a,children:o,leftSider:l,showMiniLeftSider:m=!0,rightSider:p,showMiniRightSider:d=!1,open:c="closed"}=r,g=F(A.sider,c==="left"&&A.leftOpen,m&&A.miniLeftSider,c==="right"&&A.rightOpen,d&&A.miniRightSider,a);return T.jsxs("section",{className:g,ref:n,role:"sider",children:[T.jsx("div",{className:A.leftSiderContainer,children:l}),T.jsx("div",{className:A.rightSiderContainer,children:p}),T.jsx("div",{className:A.content,children:o})]})});Ve.displayName="Sider";const M={navigation:"_navigation_3y1yg_1",brand:"_brand_3y1yg_9",routeList:"_routeList_3y1yg_18",route:"_route_3y1yg_18",icon:"_icon_3y1yg_59",label:"_label_3y1yg_71",active:"_active_3y1yg_83"},Ue=w.forwardRef((r,n)=>{const{className:a,Routes:o}=r,l=F(M.navigation,a);return T.jsxs("section",{className:l,ref:n,role:"navigation",children:[T.jsx("div",{className:M.brand,children:"🎲 XtremeUI"}),T.jsx("div",{className:M.routeList,children:!!o&&T.jsx(o,{className:M.route,activeClassName:M.active,iconClassName:M.icon,labelClassName:M.label})})]})});Ue.displayName="Navigation",h.Button=qe,h.Icon=ie,h.Navigation=Ue,h.ProgressBar=pe,h.Sider=Ve,h.Textfield=Ye,h.dom=L,h.elementObserver=hr,h.getCssProperty=te,h.getCssPropertyPx=yr,h.getCssPropertyVh=gr,h.getCssPropertyVw=mr,h.isClient=re,h.setCssProperty=_r,h.waitForElement=br,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
|
|
27
|
+
Check the top-level render call using <`+a+">.")}return t}}function gr(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=Zt(t);if(pr[a])return;pr[a]=!0;var s="";e&&e._owner&&e._owner!==Re.current&&(s=" It was passed a child from "+$(e._owner.type)+"."),B(e),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,s),B(null)}}function vr(e,t){{if(typeof e!="object")return;if(Te(e))for(var a=0;a<e.length;a++){var s=e[a];je(s)&&gr(s,t)}else if(je(e))e._store&&(e._store.validated=!0);else if(e){var p=U(e);if(typeof p=="function"&&p!==e.entries)for(var v=p.call(e),f;!(f=v.next()).done;)je(f.value)&&gr(f.value,t)}}}function Qt(e){{var t=e.type;if(t==null||typeof t=="string")return;var a;if(typeof t=="function")a=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===c||t.$$typeof===h))a=t.propTypes;else return;if(a){var s=$(t);Wt(a,e.props,"prop",s,e)}else if(t.PropTypes!==void 0&&!Ee){Ee=!0;var p=$(t);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function en(e){{for(var t=Object.keys(e.props),a=0;a<t.length;a++){var s=t[a];if(s!=="children"&&s!=="key"){B(e),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),B(null);break}}e.ref!==null&&(B(e),S("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}function _r(e,t,a,s,p,v){{var f=Nt(e);if(!f){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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=Kt(p);C?u+=C:u+=dr();var E;e===null?E="null":Te(e)?E="array":e!==void 0&&e.$$typeof===n?(E="<"+($(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):E=typeof e,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,u)}var j=Ht(e,t,a,p,v);if(j==null)return j;if(f){var k=t.children;if(k!==void 0)if(s)if(Te(k)){for(var G=0;G<k.length;G++)vr(k[G],e);Object.freeze&&Object.freeze(k)}else S("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 vr(k,e)}return e===o?en(j):Qt(j),j}}function rn(e,t,a){return _r(e,t,a,!0)}function tn(e,t,a){return _r(e,t,a,!1)}var nn=tn,an=rn;X.Fragment=o,X.jsx=nn,X.jsxs=an}()),X}process.env.NODE_ENV==="production"?ue.exports=jr():ue.exports=Or();var T=ue.exports;function ke(r){var n,i,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r))for(n=0;n<r.length;n++)r[n]&&(i=ke(r[n]))&&(o&&(o+=" "),o+=i);else for(n in r)r[n]&&(o&&(o+=" "),o+=n);return o}function V(){for(var r,n,i=0,o="";i<arguments.length;)(r=arguments[i++])&&(n=ke(r))&&(o&&(o+=" "),o+=n);return o}function wr(r){var n=typeof r;return r!=null&&(n=="object"||n=="function")}var fe=wr,Cr=typeof ne=="object"&&ne&&ne.Object===Object&&ne,xr=Cr,Pr=xr,kr=typeof self=="object"&&self&&self.Object===Object&&self,Nr=Pr||kr||Function("return this")(),Ne=Nr,Dr=Ne,$r=function(){return Dr.Date.now()},Ir=$r,Fr=/\s/;function Lr(r){for(var n=r.length;n--&&Fr.test(r.charAt(n)););return n}var Ar=Lr,Wr=Ar,zr=/^\s+/;function Mr(r){return r&&r.slice(0,Wr(r)+1).replace(zr,"")}var Vr=Mr,qr=Ne,Yr=qr.Symbol,De=Yr,$e=De,Ie=Object.prototype,Ur=Ie.hasOwnProperty,Br=Ie.toString,H=$e?$e.toStringTag:void 0;function Gr(r){var n=Ur.call(r,H),i=r[H];try{r[H]=void 0;var o=!0}catch{}var l=Br.call(r);return o&&(n?r[H]=i:delete r[H]),l}var Jr=Gr,Xr=Object.prototype,Hr=Xr.toString;function Kr(r){return Hr.call(r)}var Zr=Kr,Fe=De,Qr=Jr,et=Zr,rt="[object Null]",tt="[object Undefined]",Le=Fe?Fe.toStringTag:void 0;function nt(r){return r==null?r===void 0?tt:rt:Le&&Le in Object(r)?Qr(r):et(r)}var at=nt;function it(r){return r!=null&&typeof r=="object"}var ot=it,st=at,lt=ot,ct="[object Symbol]";function ut(r){return typeof r=="symbol"||lt(r)&&st(r)==ct}var ft=ut,dt=Vr,Ae=fe,pt=ft,We=0/0,gt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,_t=/^0o[0-7]+$/i,mt=parseInt;function yt(r){if(typeof r=="number")return r;if(pt(r))return We;if(Ae(r)){var n=typeof r.valueOf=="function"?r.valueOf():r;r=Ae(n)?n+"":n}if(typeof r!="string")return r===0?r:+r;r=dt(r);var i=vt.test(r);return i||_t.test(r)?mt(r.slice(2),i?2:8):gt.test(r)?We:+r}var bt=yt,ht=fe,de=Ir,ze=bt,Tt="Expected a function",St=Math.max,Rt=Math.min;function Et(r,n,i){var o,l,_,g,d,c,y=0,b=!1,h=!1,O=!0;if(typeof r!="function")throw new TypeError(Tt);n=ze(n)||0,ht(i)&&(b=!!i.leading,h="maxWait"in i,_=h?St(ze(i.maxWait)||0,n):_,O="trailing"in i?!!i.trailing:O);function P(R){var D=o,z=l;return o=l=void 0,y=R,g=r.apply(z,D),g}function q(R){return y=R,d=setTimeout(w,n),b?P(R):g}function Y(R){var D=R-c,z=R-y,Z=n-D;return h?Rt(Z,_-z):Z}function U(R){var D=R-c,z=R-y;return c===void 0||D>=n||D<0||h&&z>=_}function w(){var R=de();if(U(R))return S(R);d=setTimeout(w,Y(R))}function S(R){return d=void 0,O&&o?P(R):(o=l=void 0,g)}function _e(){d!==void 0&&clearTimeout(d),y=0,o=c=l=d=void 0}function me(){return d===void 0?g:S(de())}function K(){var R=de(),D=U(R);if(o=arguments,l=this,c=R,D){if(d===void 0)return q(c);if(h)return clearTimeout(d),d=setTimeout(w,n),P(c)}return d===void 0&&(d=setTimeout(w,n)),g}return K.cancel=_e,K.flush=me,K}var jt=Et,Ot=jt,wt=fe,Ct="Expected a function";function xt(r,n,i){var o=!0,l=!0;if(typeof r!="function")throw new TypeError(Ct);return wt(i)&&(o="leading"in i?!!i.leading:o,l="trailing"in i?!!i.trailing:l),Ot(r,n,{leading:o,maxWait:n,trailing:l})}var Pt=xt;const kt=Er(Pt),Me={icon:"_icon_awnbf_2",thin:"_thin_awnbf_25",light:"_light_awnbf_29",regular:"_regular_awnbf_33",solid:"_solid_awnbf_37",duotone:"_duotone_awnbf_41",sharpSolid:"_sharpSolid_awnbf_52",sharpRegular:"_sharpRegular_awnbf_56",sharpLight:"_sharpLight_awnbf_60",brand:"_brand_awnbf_64"};var Ve=(r=>(r[r.mini=12]="mini",r[r.default=18]="default",r[r.large=24]="large",r))(Ve||{});const ae=x.forwardRef((r,n)=>{const{className:i,code:o,type:l="light",size:_}=r,g=_?`${typeof _=="number"?_:Ve[_]}px`:void 0,d=V(Me.icon,l&&Me[l],i);return T.jsx("span",{className:d,ref:n,style:{"--iconSize":g},"data-content":Ce(o)})});ae.displayName="Icon";const pe={progressBar:"_progressBar_luf46_1",progress:"_progress_luf46_1",intermediate:"_intermediate_luf46_31",barberPole:"_barberPole_luf46_1"},ge=x.forwardRef((r,n)=>{const{className:i,progress:o=100,intermediate:l=!1}=r,_=l?150:Math.min(Math.max(o,0),100),g=V(pe.progressBar,l&&pe.intermediate,i);return T.jsx("div",{className:g,ref:n,children:T.jsx("span",{className:pe.progress,style:{width:`${_}%`}})})});ge.displayName="ProgressBar";const N={button:"_button_6uqr8_1",label:"_label_6uqr8_17",icon:"_icon_6uqr8_23",underline:"_underline_6uqr8_26",primaryType:"_primaryType_6uqr8_49",primaryDangerType:"_primaryDangerType_6uqr8_49",secondaryType:"_secondaryType_6uqr8_54",secondaryDangerType:"_secondaryDangerType_6uqr8_54",linkType:"_linkType_6uqr8_59",linkDangerType:"_linkDangerType_6uqr8_59",miniSize:"_miniSize_6uqr8_88",iconOnly:"_iconOnly_6uqr8_99",defaultSize:"_defaultSize_6uqr8_106",largeSize:"_largeSize_6uqr8_124",clicked:"_clicked_6uqr8_157",ripple:"_ripple_6uqr8_1",loading:"_loading_6uqr8_166",barberPole:"_barberPole_6uqr8_1",spin:"_spin_6uqr8_1"};var ve=(r=>(r.primary="primary",r.primaryDanger="primaryDanger",r.secondary="secondary",r.secondaryDanger="secondaryDanger",r.link="link",r.linkDanger="linkDanger",r))(ve||{});const qe=100;let Ye;const Ue=x.forwardRef((r,n)=>{const{className:i,label:o,type:l="primary",size:_="default",disabled:g=!1,loading:d=!1,icon:c,iconType:y,iconPosition:b="left",onClick:h}=r,O=x.useRef(null),P=kt(()=>{var w;clearTimeout(Ye),(w=O.current)==null||w.classList.add(N.clicked),Ye=window.setTimeout(()=>{var S;(S=O.current)==null||S.classList.remove(N.clicked)},600+qe)},qe),q=w=>{h==null||h(w),l.includes(ve.link)||P()},Y=()=>c?T.jsx(ae,{className:N.icon,code:c,type:y,size:_}):null,U=V(N.button,N[`${l}Type`],N[`${_}Size`],!o&&N.iconOnly,d&&N.loading,i);return!o&&!c?null:T.jsxs("button",{className:U,ref:Oe([O,n]),onClick:q,disabled:g,children:[l.includes(ve.link)&&T.jsx(ge,{className:N.underline,intermediate:d}),b==="left"&&T.jsx(Y,{}),o&&T.jsx("span",{className:N.label,children:o}),b==="right"&&T.jsx(Y,{})]})});Ue.displayName="Button";const F={textfield:"_textfield_7y99a_1",icon:"_icon_7y99a_27",input:"_input_7y99a_36",placeholder:"_placeholder_7y99a_49",withIcon:"_withIcon_7y99a_73",textarea:"_textarea_7y99a_83",hasValue:"_hasValue_7y99a_92"},Be=x.forwardRef((r,n)=>{const{className:i,type:o="text",textarea:l,placeholder:_,autoComplete:g="off",autoFocus:d,icon:c,iconType:y="regular",value:b,onChange:h}=r,O=x.useMemo(()=>{if(l===!0)return null;if(c)return c;if(o==="number")return"23";if(o==="search")return"f002";if(o==="password")return"f30d"},[l,c,o]),P=V(F.textfield,O&&F.withIcon,l&&F.textarea,b&&F.hasValue,i);return T.jsxs("div",{className:P,ref:n,children:[!!O&&!l&&T.jsx(ae,{className:F.icon,code:O,type:y}),l?T.jsx("textarea",{className:F.input,autoFocus:d,autoComplete:g,value:b,onChange:h}):T.jsx("input",{className:F.input,type:o,autoFocus:d,autoComplete:g,value:b,onChange:h}),T.jsx("span",{className:F.placeholder,children:_})]})});Be.displayName="Textfield";const L={sider:"_sider_9guyz_1",leftSiderContainer:"_leftSiderContainer_9guyz_13",rightSiderContainer:"_rightSiderContainer_9guyz_20",content:"_content_9guyz_27",miniLeftSider:"_miniLeftSider_9guyz_37",miniRightSider:"_miniRightSider_9guyz_44",leftOpen:"_leftOpen_9guyz_51",rightOpen:"_rightOpen_9guyz_57"},Ge=x.forwardRef((r,n)=>{const{className:i,children:o,leftSider:l,showMiniLeftSider:_=!0,rightSider:g,showMiniRightSider:d=!1,open:c="closed"}=r,y=V(L.sider,c==="left"&&L.leftOpen,_&&L.miniLeftSider,c==="right"&&L.rightOpen,d&&L.miniRightSider,i);return T.jsxs("section",{className:y,ref:n,role:"sider",children:[T.jsx("div",{className:L.leftSiderContainer,children:l}),T.jsx("div",{className:L.rightSiderContainer,children:g}),T.jsx("div",{className:L.content,children:o})]})});Ge.displayName="Sider";const W={navigation:"_navigation_zrgjp_1",brand:"_brand_zrgjp_9",routeList:"_routeList_zrgjp_18",route:"_route_zrgjp_18",icon:"_icon_zrgjp_59",label:"_label_zrgjp_65",active:"_active_zrgjp_77"},Je=x.forwardRef((r,n)=>{const{className:i,Routes:o}=r,l=V(W.navigation,i);return T.jsxs("section",{className:l,ref:n,role:"navigation",children:[T.jsx("div",{className:W.brand,children:"🎲 XtremeUI"}),T.jsx("div",{className:W.routeList,children:!!o&&T.jsx(o,{className:W.route,activeClassName:W.active,iconClassName:W.icon,labelClassName:W.label})})]})});Je.displayName="Navigation",m.Button=Ue,m.Icon=ae,m.Navigation=Je,m.ProgressBar=ge,m.Sider=Ge,m.Textfield=Be,m.dom=A,m.elementObserver=Rr,m.getCssProperty=te,m.getCssPropertyPx=yr,m.getCssPropertyVh=br,m.getCssPropertyVw=hr,m.isClient=re,m.mergeRefs=Oe,m.safeStringFromCodePoint=we,m.setCssProperty=Tr,m.unicodeToString=Ce,m.waitForElement=Sr,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
package/dist/manifest.json
CHANGED
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Montserrat&display=swap";@import"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block";body{--colorAlertErrorRGB: 255 65 54;--colorAlertWarningRGB: 255 220 0;--colorAlertSuccessRGB: 46 204 64;--colorBorderPrimary: #ABB0BB;--colorContentPrimary: #383838;--colorContentSecondary: #666;--colorContentTertiary: #E6E6E6;--colorBackgroundPrimary: #FFF;--colorBackgroundSecondary: #F6F6F6;--colorBackgroundTertiary: #EEE;--colorShadow: rgb(100 100 100 / 40%);--gradientBrand: linear-gradient(320deg, rgb(var(--colorBrandPrimaryRgb)), rgb(var(--colorBrandSecondaryRgb)));--cubicBezierPrimary: cubic-bezier(.23, 1, .32, 1);--siderWidth: 300px;--siderWidthMini: 60px;scroll-behavior:smooth}body.red{--colorBrandPrimaryRgb: 249 34 75;--colorBrandSecondaryRgb: 255 68 68;--colorBrandAccentRgb: 255 56 83}body.pink{--colorBrandPrimaryRgb: 252 33 105;--colorBrandSecondaryRgb: 226 33 255;--colorBrandAccentRgb: 255 85 136}body.orange{--colorBrandPrimaryRgb: 255 127 34;--colorBrandSecondaryRgb: 255 65 65;--colorBrandAccentRgb: 255 108 103}body.blue{--colorBrandPrimaryRgb: 34 252 176;--colorBrandSecondaryRgb: 33 129 250;--colorBrandAccentRgb: 33 149 243}body.violet{--colorBrandPrimaryRgb: 63 0 230;--colorBrandSecondaryRgb: 150 44 255;--colorBrandAccentRgb: 127 81 255}body.black{--colorBrandPrimaryRgb: 22 20 28;--colorBrandSecondaryRgb: 9 8 11;--colorBrandAccentRgb: 40 39 44}body.dark{--colorContentPrimary: #A1A1A1;--colorContentSecondary: #636363;--colorContentTertiary: #383838;--colorBackgroundPrimary: #111;--colorBackgroundSecondary: #222;--colorBackgroundTertiary: #333}body ::selection{color:#fff;background:rgb(var(--colorBrandAccentRgb))}*{font-family:Montserrat,sans-serif;font-weight:500;box-sizing:border-box}._icon_1r2n7_2{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-size:24px;font-variation-settings:"FILL" 0,"wght" 200}._icon_1r2n7_2._filled_1r2n7_18{font-variation-settings:"FILL" 1,"wght" 200}._progressBar_luf46_1{position:relative;width:100%;height:3px;display:flex;justify-content:flex-start;align-items:center;border-radius:9999px;overflow:hidden}._progressBar_luf46_1:before{content:"";position:absolute;left:0;width:100%;height:1px;border-radius:9999px;opacity:.3;background:var(--colorBorderPrimary);transition:all .5s var(--cubicBezierPrimary)}._progressBar_luf46_1>._progress_luf46_1{position:absolute;width:100%;height:3px;display:block;background:var(--gradientBrand);border-radius:9999px;transition:all .5s var(--cubicBezierPrimary)}._progressBar_luf46_1._intermediate_luf46_31{border-radius:9999px}._progressBar_luf46_1._intermediate_luf46_31:before{height:100%;background:rgb(var(--colorBrandAccentRgb))}._progressBar_luf46_1._intermediate_luf46_31>._progress_luf46_1{width:150%;background-image:repeating-linear-gradient(60deg,transparent,transparent .5rem,rgb(var(--colorBrandAccentRgb)) .5rem,rgb(var(--colorBrandAccentRgb)) 1.5rem);animation:_barberPole_luf46_1 .2s infinite linear}@keyframes _barberPole_luf46_1{0%{transform:translate(-1.75rem)}to{transform:translate(0)}}._button_1qj4y_1{--duration: .6s;--themeColor: var(--colorBrandAccentRgb);--maxRippleSize: 100px 40px;position:relative;display:flex;justify-content:center;align-items:center;border:none;box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);border-radius:9999px;cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;transition:all var(--duration) var(--cubicBezierPrimary)}._button_1qj4y_1 ._label_1qj4y_17{margin:0;text-transform:uppercase;z-index:1;transition:all var(--duration) var(--cubicBezierPrimary)}._button_1qj4y_1 ._icon_1qj4y_23{--fill: 0;z-index:1;transition:all var(--duration) var(--cubicBezierPrimary)}._button_1qj4y_1 ._icon_1qj4y_23._filled_1qj4y_28{--fill: 1}._button_1qj4y_1 ._underline_1qj4y_31{position:absolute;width:100%;left:0;bottom:0}._button_1qj4y_1 ._underline_1qj4y_31>span{width:20%!important}._button_1qj4y_1:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--themeColor));filter:contrast(1.2) brightness(.8);clip-path:circle(0% at 50% 50%);border-radius:9999px;z-index:0;opacity:0;transition:all var(--duration) var(--cubicBezierPrimary)}._button_1qj4y_1._primaryType_1qj4y_54,._button_1qj4y_1._primaryDangerType_1qj4y_54{background:rgb(var(--themeColor));box-shadow:0 0 0 2px rgb(var(--themeColor)/40%);color:#fff}._button_1qj4y_1._secondaryType_1qj4y_59,._button_1qj4y_1._secondaryDangerType_1qj4y_59{background:var(--colorBackgroundTertiary);box-shadow:0 0 0 2px rgb(var(--colorBackgroundTertiary)/40%);color:rgb(var(--themeColor))}._button_1qj4y_1._linkType_1qj4y_64,._button_1qj4y_1._linkDangerType_1qj4y_64{background:none;box-shadow:none!important;border-radius:unset;color:var(--colorContentPrimary);overflow:unset}._button_1qj4y_1._linkType_1qj4y_64 ._label_1qj4y_17,._button_1qj4y_1._linkDangerType_1qj4y_64 ._label_1qj4y_17{letter-spacing:unset;text-transform:unset}._button_1qj4y_1._linkType_1qj4y_64:before,._button_1qj4y_1._linkDangerType_1qj4y_64:before{display:none}._button_1qj4y_1._linkType_1qj4y_64:hover,._button_1qj4y_1._linkDangerType_1qj4y_64:hover{color:rgb(var(--themeColor))}._button_1qj4y_1._linkType_1qj4y_64:hover ._label_1qj4y_17,._button_1qj4y_1._linkDangerType_1qj4y_64:hover ._label_1qj4y_17{filter:contrast(.8) brightness(1.2)}._button_1qj4y_1._linkType_1qj4y_64:active ._label_1qj4y_17,._button_1qj4y_1._linkDangerType_1qj4y_64:active ._label_1qj4y_17{filter:contrast(1.2) brightness(.8)}._button_1qj4y_1._primaryDangerType_1qj4y_54,._button_1qj4y_1._secondaryDangerType_1qj4y_59,._button_1qj4y_1._linkDangerType_1qj4y_64{--themeColor: var(--colorAlertErrorRGB)}._button_1qj4y_1._primaryDangerType_1qj4y_54 ._underline_1qj4y_31 span,._button_1qj4y_1._secondaryDangerType_1qj4y_59 ._underline_1qj4y_31 span,._button_1qj4y_1._linkDangerType_1qj4y_64 ._underline_1qj4y_31 span{background:rgb(var(--themeColor))}._button_1qj4y_1._miniSize_1qj4y_93{--maxRippleSize: 80px 40px;line-height:16px;padding:8px 16px;gap:6px}._button_1qj4y_1._miniSize_1qj4y_93 ._label_1qj4y_17{font-size:12px;font-variation-settings:"wdth" 75,"wght" 400;letter-spacing:2px}._button_1qj4y_1._miniSize_1qj4y_93 ._icon_1qj4y_23{font-variation-settings:"FILL" var(--fill),"wght" 200}._button_1qj4y_1._miniSize_1qj4y_93._iconOnly_1qj4y_107{padding:0}._button_1qj4y_1._miniSize_1qj4y_93._iconOnly_1qj4y_107 ._icon_1qj4y_23{width:32px;line-height:32px}._button_1qj4y_1._defaultSize_1qj4y_114{--maxRippleSize: 100px 50px;line-height:20px;padding:12px 24px;gap:8px}._button_1qj4y_1._defaultSize_1qj4y_114 ._label_1qj4y_17{font-size:16px;font-variation-settings:"wdth" 75,"wght" 500;letter-spacing:2px}._button_1qj4y_1._defaultSize_1qj4y_114 ._icon_1qj4y_23{font-variation-settings:"FILL" var(--fill),"wght" 300}._button_1qj4y_1._defaultSize_1qj4y_114._iconOnly_1qj4y_107{padding:0}._button_1qj4y_1._defaultSize_1qj4y_114._iconOnly_1qj4y_107 ._icon_1qj4y_23{width:44px;line-height:44px}._button_1qj4y_1._largeSize_1qj4y_135{--maxRippleSize: 150px 75px;line-height:28px;padding:16px 32px;gap:10px}._button_1qj4y_1._largeSize_1qj4y_135 ._label_1qj4y_17{font-size:22px;font-variation-settings:"wdth" 75,"wght" 600;letter-spacing:4px}._button_1qj4y_1._largeSize_1qj4y_135 ._icon_1qj4y_23{font-variation-settings:"FILL" var(--fill),"wght" 400}._button_1qj4y_1._largeSize_1qj4y_135._iconOnly_1qj4y_107{padding:0}._button_1qj4y_1._largeSize_1qj4y_135._iconOnly_1qj4y_107 ._icon_1qj4y_23{width:60px;line-height:60px}._button_1qj4y_1:hover{box-shadow:0 0 0 5px rgb(var(--themeColor)/50%);transition:all var(--duration) var(--cubicBezierPrimary);color:#fff}._button_1qj4y_1:hover ._underline_1qj4y_31 span{width:100%!important}._button_1qj4y_1:hover:before{clip-path:circle(100% at 50% 50%);opacity:1}._button_1qj4y_1:active{box-shadow:0 0 0 7px rgb(var(--themeColor)/50%)}._button_1qj4y_1._clicked_1qj4y_171{box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);animation:_ripple_1qj4y_1 var(--duration) linear;color:#fff}._button_1qj4y_1._clicked_1qj4y_171:before{clip-path:circle(100% at 50% 50%);opacity:1}._button_1qj4y_1._loading_1qj4y_180{--loaderColor: rgb(var(--themeColor));pointer-events:none;background:rgb(var(--themeColor)/80%)}._button_1qj4y_1._loading_1qj4y_180._secondaryType_1qj4y_59,._button_1qj4y_1._loading_1qj4y_180._secondaryDangerType_1qj4y_59{--loaderColor: var(--colorBackgroundPrimary);background:var(--colorBackgroundTertiary)}._button_1qj4y_1._loading_1qj4y_180._linkType_1qj4y_64,._button_1qj4y_1._loading_1qj4y_180._linkDangerType_1qj4y_64{background:none}._button_1qj4y_1._loading_1qj4y_180._linkType_1qj4y_64 ._underline_1qj4y_31>span,._button_1qj4y_1._loading_1qj4y_180._linkDangerType_1qj4y_64 ._underline_1qj4y_31>span{width:150%!important}._button_1qj4y_1._loading_1qj4y_180._linkType_1qj4y_64:after,._button_1qj4y_1._loading_1qj4y_180._linkDangerType_1qj4y_64:after{display:none}._button_1qj4y_1._loading_1qj4y_180:after{content:"";position:absolute;display:block;width:150%;height:100%;z-index:0;border-radius:9999px;background-image:repeating-linear-gradient(60deg,transparent,transparent .75rem,var(--loaderColor) .75rem,var(--loaderColor) 1.5rem);animation:_barberPole_1qj4y_1 .25s infinite linear}._button_1qj4y_1._loading_1qj4y_180._iconOnly_1qj4y_107{background:transparent;box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);overflow:unset}._button_1qj4y_1._loading_1qj4y_180._iconOnly_1qj4y_107._secondaryType_1qj4y_59,._button_1qj4y_1._loading_1qj4y_180._iconOnly_1qj4y_107._secondaryDangerType_1qj4y_59{color:#fff}._button_1qj4y_1._loading_1qj4y_180._iconOnly_1qj4y_107:before{clip-path:circle(45% at 50% 50%);opacity:1}._button_1qj4y_1._loading_1qj4y_180._iconOnly_1qj4y_107:after{width:100%;background:none;border:2px solid rgb(var(--themeColor));border-top-color:transparent;border-bottom-color:transparent;animation:_spin_1qj4y_1 .25s infinite linear}._button_1qj4y_1:disabled{background:rgb(var(--themeColor)/20%);color:rgb(var(--themeColor)/75%);pointer-events:none;filter:grayscale(1)}._button_1qj4y_1:disabled._secondaryType_1qj4y_59,._button_1qj4y_1:disabled._secondaryDangerType_1qj4y_59{background:rgb(var(--themeColor)/5%)}._button_1qj4y_1:disabled._linkType_1qj4y_64{background:none}._button_1qj4y_1:disabled._linkType_1qj4y_64 ._underline_1qj4y_31:before{width:0%}._button_1qj4y_1:disabled._linkType_1qj4y_64 ._underline_1qj4y_31 span{width:0%}@keyframes _ripple_1qj4y_1{0%{box-shadow:0 0 0 7px rgb(var(--themeColor)/50%)}to{box-shadow:0 0 var(--maxRippleSize) rgb(var(--themeColor)/0%)}}@keyframes _barberPole_1qj4y_1{0%{transform:translate(-1.75rem)}to{transform:translate(0)}}@keyframes _spin_1qj4y_1{0%{transform:rotate(0)}to{transform:rotate(180deg)}}._textfield_p93uo_1{--duration: .6s;position:relative;width:400px;display:flex;justify-content:center;align-items:center;border-radius:20px;overflow:hidden;box-shadow:0 0 0 1px rgb(var(--colorBrandAccentRgb)/50%);background:var(--colorBackgroundSecondary);color:rgb(var(--colorContentPrimary));transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_p93uo_1:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb));clip-path:circle(0% at 20px 50%);border-radius:9999px;z-index:0;opacity:0;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_p93uo_1 ._icon_p93uo_28{--fill: 0;position:absolute;left:0;width:40px;line-height:40px;text-align:center;pointer-events:none;font-variation-settings:"FILL" var(--fill),"wght" 300}._textfield_p93uo_1 ._icon_p93uo_28._filled_p93uo_38{--fill: 1}._textfield_p93uo_1 ._input_p93uo_41{width:100%;height:40px;outline:none;border:none;background:transparent;padding:10px 20px;font-size:16px;z-index:1;color:rgb(var(--colorContentPrimary));-webkit-text-security:disc;font-variation-settings:"wdth" 75,"wght" 400;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_p93uo_1._textarea_p93uo_55 ._input_p93uo_41{height:200px;padding:16px 20px;resize:none}._textfield_p93uo_1._withIcon_p93uo_60:before{clip-path:circle(15px at 20px 50%);opacity:.4}._textfield_p93uo_1._withIcon_p93uo_60 ._input_p93uo_41{padding:10px 20px 10px 44px}._textfield_p93uo_1:focus-within{box-shadow:0 0 0 2px rgb(var(--colorBrandAccentRgb)/50%);background:var(--colorBackgroundPrimary)}._textfield_p93uo_1:focus-within._withIcon_p93uo_60:before{clip-path:circle(17px at 20px 50%);opacity:.8}._textfield_p93uo_1:focus-within._withIcon_p93uo_60 ._icon_p93uo_28{color:#fff}._sider_9guyz_1{--duration: .6s;--paddingLeft: 0px;--paddingRight: 0px;--borderRadius: 36px;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb)/90%);padding:0 var(--paddingRight) 0 var(--paddingLeft);overflow:hidden;transition:padding var(--duration) ease}._sider_9guyz_1 ._leftSiderContainer_9guyz_13{position:fixed;left:0;width:var(--siderWidth);height:100%;z-index:0}._sider_9guyz_1 ._rightSiderContainer_9guyz_20{position:fixed;right:0;width:var(--siderWidth);height:100%;z-index:1}._sider_9guyz_1 ._content_9guyz_27{position:relative;width:100%;height:100%;background:var(--colorBackgroundPrimary);box-shadow:0 0 50px 2px #0000003d;border-radius:0;z-index:2;transition:all var(--duration) var(--cubicBezierPrimary)}._sider_9guyz_1._miniLeftSider_9guyz_37{--paddingLeft: var(--siderWidthMini)}._sider_9guyz_1._miniLeftSider_9guyz_37 ._content_9guyz_27{border-top-left-radius:var(--borderRadius);border-bottom-left-radius:var(--borderRadius)}._sider_9guyz_1._miniRightSider_9guyz_44{--paddingRight: var(--siderWidthMini)}._sider_9guyz_1._miniRightSider_9guyz_44 ._content_9guyz_27{border-top-right-radius:var(--borderRadius);border-bottom-right-radius:var(--borderRadius)}._sider_9guyz_1._leftOpen_9guyz_51 ._content_9guyz_27{border-radius:36px;transform:translate(calc(var(--siderWidth) - var(--paddingLeft)));transform-origin:left center;scale:.95}._sider_9guyz_1._rightOpen_9guyz_57 ._content_9guyz_27{border-radius:36px;transform:translate(calc((var(--siderWidth) - var(--paddingRight)) * -1));transform-origin:right center;scale:.95}._navigation_3y1yg_1{--duration: .4s;width:calc(var(--siderWidth) + 16px);height:100%;display:flex;flex-direction:column;padding:16px 0 28px}._navigation_3y1yg_1 ._brand_3y1yg_9{font-size:32px;color:#fff;padding:24px 8px;font-variation-settings:"wdth" 75,"wght" 400;text-transform:capitalize;-webkit-user-select:none;user-select:none;cursor:pointer}._navigation_3y1yg_1 ._routeList_3y1yg_18{width:100%;display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none;cursor:pointer}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18{position:relative;display:flex;align-items:center;gap:2px;text-decoration:none;color:#fff;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb)/0%);filter:contrast(2) brightness(.75);z-index:0;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18:after{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb));clip-path:circle(0% at calc(var(--siderWidthMini) / 2) 50%);filter:contrast(2) brightness(.75);z-index:0;opacity:.4;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18 ._icon_3y1yg_59{--fill: 0;--wght: 200;width:var(--siderWidthMini);line-height:var(--siderWidthMini);text-align:center;font-size:24px;background-color:rgb(var(--colorBrandAccentRgb)/0%);font-variation-settings:"FILL" var(--fill),"wght" var(--wght);z-index:1;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18 ._label_3y1yg_71{font-size:16px;font-variation-settings:"wdth" 75,"wght" 400;text-transform:capitalize;z-index:1}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18:last-of-type{margin-top:auto}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18:hover:before{background:rgb(var(--colorBrandAccentRgb)/30%)}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18._active_3y1yg_83 ._icon_3y1yg_59{--wght: 300}._navigation_3y1yg_1 ._routeList_3y1yg_18 ._route_3y1yg_18._active_3y1yg_83:after{clip-path:circle(var(--siderWidth) at calc(var(--siderWidthMini) / 2) 50%);opacity:1;transition:all var(--duration) ease-in-out}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Montserrat&display=swap";@font-face{font-family:FontAwesome;font-style:normal;font-weight:100;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-thin-100.woff2) format("woff2")}@font-face{font-family:FontAwesome;font-style:normal;font-weight:300;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-light-300.woff2) format("woff2")}@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-regular-400.woff2) format("woff2")}@font-face{font-family:FontAwesome;font-style:normal;font-weight:900;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-solid-900.woff2) format("woff2")}@font-face{font-family:FontAwesomeDuotone;font-style:normal;font-weight:900;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-duotone-900.woff2) format("woff2")}@font-face{font-family:FontAwesomeSharp;font-style:normal;font-weight:300;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-sharp-light-300.woff2) format("woff2")}@font-face{font-family:FontAwesomeSharp;font-style:normal;font-weight:400;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-sharp-regular-400.woff2) format("woff2")}@font-face{font-family:FontAwesomeSharp;font-style:normal;font-weight:900;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-sharp-solid-900.woff2) format("woff2")}@font-face{font-family:FontAwesomeBrand;font-style:normal;font-weight:400;font-display:block;src:url(https://cdn.jsdelivr.net/gh/itzzjarvis/Assets/fonts/fontAwesome/fa-brands-400.woff2) format("woff2")}body{--colorAlertErrorRGB: 255 65 54;--colorAlertWarningRGB: 255 220 0;--colorAlertSuccessRGB: 46 204 64;--colorBorderPrimary: #ABB0BB;--colorContentPrimary: #383838;--colorContentSecondary: #666;--colorContentTertiary: #E6E6E6;--colorBackgroundPrimary: #FFF;--colorBackgroundSecondary: #F6F6F6;--colorBackgroundTertiary: #EEE;--colorShadow: rgb(100 100 100 / 40%);--gradientBrand: linear-gradient(320deg, rgb(var(--colorBrandPrimaryRgb)), rgb(var(--colorBrandSecondaryRgb)));--cubicBezierPrimary: cubic-bezier(.23, 1, .32, 1);--siderWidth: 300px;--siderWidthMini: 60px;scroll-behavior:smooth}body.red{--colorBrandPrimaryRgb: 249 34 75;--colorBrandSecondaryRgb: 255 68 68;--colorBrandAccentRgb: 255 56 83}body.pink{--colorBrandPrimaryRgb: 252 33 105;--colorBrandSecondaryRgb: 226 33 255;--colorBrandAccentRgb: 255 85 136}body.orange{--colorBrandPrimaryRgb: 255 127 34;--colorBrandSecondaryRgb: 255 65 65;--colorBrandAccentRgb: 255 108 103}body.blue{--colorBrandPrimaryRgb: 34 252 176;--colorBrandSecondaryRgb: 33 129 250;--colorBrandAccentRgb: 33 149 243}body.violet{--colorBrandPrimaryRgb: 63 0 230;--colorBrandSecondaryRgb: 150 44 255;--colorBrandAccentRgb: 127 81 255}body.black{--colorBrandPrimaryRgb: 22 20 28;--colorBrandSecondaryRgb: 9 8 11;--colorBrandAccentRgb: 40 39 44}body.dark{--colorContentPrimary: #A1A1A1;--colorContentSecondary: #636363;--colorContentTertiary: #383838;--colorBackgroundPrimary: #111;--colorBackgroundSecondary: #222;--colorBackgroundTertiary: #333}body ::selection{color:#fff;background:rgb(var(--colorBrandAccentRgb))}*{font-family:Montserrat,sans-serif;font-weight:500;box-sizing:border-box}._icon_awnbf_2{position:relative;width:var(--iconSize);height:var(--iconSize);font-size:var(--iconSize);display:flex;justify-content:center;align-items:center;font-variant:normal;line-height:1;text-rendering:auto;-webkit-user-select:none;user-select:none;z-index:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:all .4s var(--cubicBezierPrimary)}._icon_awnbf_2:before{position:absolute;display:block;color:inherit;content:attr(data-content)}._icon_awnbf_2._thin_awnbf_25{font-family:FontAwesome;font-weight:100}._icon_awnbf_2._light_awnbf_29{font-family:FontAwesome;font-weight:300}._icon_awnbf_2._regular_awnbf_33{font-family:FontAwesome;font-weight:400}._icon_awnbf_2._solid_awnbf_37{font-family:FontAwesome;font-weight:900}._icon_awnbf_2._duotone_awnbf_41{font-family:FontAwesomeDuotone;font-weight:900}._icon_awnbf_2._duotone_awnbf_41:after{position:absolute;display:block;color:inherit;content:attr(data-content) attr(data-content);opacity:.3}._icon_awnbf_2._sharpSolid_awnbf_52{font-family:FontAwesomeSharp;font-weight:900}._icon_awnbf_2._sharpRegular_awnbf_56{font-family:FontAwesomeSharp;font-weight:400}._icon_awnbf_2._sharpLight_awnbf_60{font-family:FontAwesomeSharp;font-weight:300}._icon_awnbf_2._brand_awnbf_64{font-family:FontAwesomeBrand;font-weight:400}._progressBar_luf46_1{position:relative;width:100%;height:3px;display:flex;justify-content:flex-start;align-items:center;border-radius:9999px;overflow:hidden}._progressBar_luf46_1:before{content:"";position:absolute;left:0;width:100%;height:1px;border-radius:9999px;opacity:.3;background:var(--colorBorderPrimary);transition:all .5s var(--cubicBezierPrimary)}._progressBar_luf46_1>._progress_luf46_1{position:absolute;width:100%;height:3px;display:block;background:var(--gradientBrand);border-radius:9999px;transition:all .5s var(--cubicBezierPrimary)}._progressBar_luf46_1._intermediate_luf46_31{border-radius:9999px}._progressBar_luf46_1._intermediate_luf46_31:before{height:100%;background:rgb(var(--colorBrandAccentRgb))}._progressBar_luf46_1._intermediate_luf46_31>._progress_luf46_1{width:150%;background-image:repeating-linear-gradient(60deg,transparent,transparent .5rem,rgb(var(--colorBrandAccentRgb)) .5rem,rgb(var(--colorBrandAccentRgb)) 1.5rem);animation:_barberPole_luf46_1 .2s infinite linear}@keyframes _barberPole_luf46_1{0%{transform:translate(-1.75rem)}to{transform:translate(0)}}._button_6uqr8_1{--duration: .6s;--themeColor: var(--colorBrandAccentRgb);--maxRippleSize: 100px 40px;position:relative;display:flex;justify-content:center;align-items:center;border:none;box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);border-radius:9999px;cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;transition:all var(--duration) var(--cubicBezierPrimary)}._button_6uqr8_1 ._label_6uqr8_17{margin:0;text-transform:uppercase;z-index:1;transition:all var(--duration) var(--cubicBezierPrimary)}._button_6uqr8_1 ._icon_6uqr8_23{transition:all var(--duration) var(--cubicBezierPrimary)}._button_6uqr8_1 ._underline_6uqr8_26{position:absolute;width:100%;left:0;bottom:0}._button_6uqr8_1 ._underline_6uqr8_26>span{width:20%!important}._button_6uqr8_1:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--themeColor));filter:contrast(1.2) brightness(.8);clip-path:circle(0% at 50% 50%);border-radius:9999px;z-index:0;opacity:0;transition:all var(--duration) var(--cubicBezierPrimary)}._button_6uqr8_1._primaryType_6uqr8_49,._button_6uqr8_1._primaryDangerType_6uqr8_49{background:rgb(var(--themeColor));box-shadow:0 0 0 2px rgb(var(--themeColor)/40%);color:#fff}._button_6uqr8_1._secondaryType_6uqr8_54,._button_6uqr8_1._secondaryDangerType_6uqr8_54{background:var(--colorBackgroundTertiary);box-shadow:0 0 0 2px rgb(var(--colorBackgroundTertiary)/40%);color:rgb(var(--themeColor))}._button_6uqr8_1._linkType_6uqr8_59,._button_6uqr8_1._linkDangerType_6uqr8_59{background:none;box-shadow:none!important;border-radius:unset;color:var(--colorContentPrimary);overflow:unset}._button_6uqr8_1._linkType_6uqr8_59 ._label_6uqr8_17,._button_6uqr8_1._linkDangerType_6uqr8_59 ._label_6uqr8_17{letter-spacing:unset;text-transform:unset}._button_6uqr8_1._linkType_6uqr8_59:before,._button_6uqr8_1._linkDangerType_6uqr8_59:before{display:none}._button_6uqr8_1._linkType_6uqr8_59:hover,._button_6uqr8_1._linkDangerType_6uqr8_59:hover{color:rgb(var(--themeColor))}._button_6uqr8_1._linkType_6uqr8_59:hover ._label_6uqr8_17,._button_6uqr8_1._linkDangerType_6uqr8_59:hover ._label_6uqr8_17{filter:contrast(.8) brightness(1.2)}._button_6uqr8_1._linkType_6uqr8_59:active ._label_6uqr8_17,._button_6uqr8_1._linkDangerType_6uqr8_59:active ._label_6uqr8_17{filter:contrast(1.2) brightness(.8)}._button_6uqr8_1._primaryDangerType_6uqr8_49,._button_6uqr8_1._secondaryDangerType_6uqr8_54,._button_6uqr8_1._linkDangerType_6uqr8_59{--themeColor: var(--colorAlertErrorRGB)}._button_6uqr8_1._primaryDangerType_6uqr8_49 ._underline_6uqr8_26 span,._button_6uqr8_1._secondaryDangerType_6uqr8_54 ._underline_6uqr8_26 span,._button_6uqr8_1._linkDangerType_6uqr8_59 ._underline_6uqr8_26 span{background:rgb(var(--themeColor))}._button_6uqr8_1._miniSize_6uqr8_88{--maxRippleSize: 80px 40px;line-height:16px;padding:8px 16px;gap:8px}._button_6uqr8_1._miniSize_6uqr8_88 ._label_6uqr8_17{font-size:12px;font-variation-settings:"wdth" 75,"wght" 400;letter-spacing:2px}._button_6uqr8_1._miniSize_6uqr8_88._iconOnly_6uqr8_99{padding:0}._button_6uqr8_1._miniSize_6uqr8_88._iconOnly_6uqr8_99 ._icon_6uqr8_23{width:32px;height:32px}._button_6uqr8_1._defaultSize_6uqr8_106{--maxRippleSize: 100px 50px;line-height:20px;padding:12px 24px;gap:10px}._button_6uqr8_1._defaultSize_6uqr8_106 ._label_6uqr8_17{font-size:16px;font-variation-settings:"wdth" 75,"wght" 500;letter-spacing:2px}._button_6uqr8_1._defaultSize_6uqr8_106._iconOnly_6uqr8_99{padding:0}._button_6uqr8_1._defaultSize_6uqr8_106._iconOnly_6uqr8_99 ._icon_6uqr8_23{width:44px;height:44px}._button_6uqr8_1._largeSize_6uqr8_124{--maxRippleSize: 150px 75px;line-height:28px;padding:16px 32px;gap:14px}._button_6uqr8_1._largeSize_6uqr8_124 ._label_6uqr8_17{font-size:22px;font-variation-settings:"wdth" 75,"wght" 600;letter-spacing:4px}._button_6uqr8_1._largeSize_6uqr8_124._iconOnly_6uqr8_99{padding:0}._button_6uqr8_1._largeSize_6uqr8_124._iconOnly_6uqr8_99 ._icon_6uqr8_23{width:60px;height:60px}._button_6uqr8_1:hover{box-shadow:0 0 0 5px rgb(var(--themeColor)/50%);transition:all var(--duration) var(--cubicBezierPrimary);color:#fff}._button_6uqr8_1:hover ._underline_6uqr8_26 span{width:100%!important}._button_6uqr8_1:hover:before{clip-path:circle(100% at 50% 50%);opacity:1}._button_6uqr8_1:active{box-shadow:0 0 0 7px rgb(var(--themeColor)/50%)}._button_6uqr8_1._clicked_6uqr8_157{box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);animation:_ripple_6uqr8_1 var(--duration) linear;color:#fff}._button_6uqr8_1._clicked_6uqr8_157:before{clip-path:circle(100% at 50% 50%);opacity:1}._button_6uqr8_1._loading_6uqr8_166{--loaderColor: rgb(var(--themeColor));pointer-events:none;background:rgb(var(--themeColor)/80%)}._button_6uqr8_1._loading_6uqr8_166._secondaryType_6uqr8_54,._button_6uqr8_1._loading_6uqr8_166._secondaryDangerType_6uqr8_54{--loaderColor: var(--colorBackgroundPrimary);background:var(--colorBackgroundTertiary)}._button_6uqr8_1._loading_6uqr8_166._linkType_6uqr8_59,._button_6uqr8_1._loading_6uqr8_166._linkDangerType_6uqr8_59{background:none}._button_6uqr8_1._loading_6uqr8_166._linkType_6uqr8_59 ._underline_6uqr8_26>span,._button_6uqr8_1._loading_6uqr8_166._linkDangerType_6uqr8_59 ._underline_6uqr8_26>span{width:150%!important}._button_6uqr8_1._loading_6uqr8_166._linkType_6uqr8_59:after,._button_6uqr8_1._loading_6uqr8_166._linkDangerType_6uqr8_59:after{display:none}._button_6uqr8_1._loading_6uqr8_166:after{content:"";position:absolute;display:block;width:150%;height:100%;z-index:0;border-radius:9999px;background-image:repeating-linear-gradient(60deg,transparent,transparent .75rem,var(--loaderColor) .75rem,var(--loaderColor) 1.5rem);animation:_barberPole_6uqr8_1 .25s infinite linear}._button_6uqr8_1._loading_6uqr8_166._iconOnly_6uqr8_99{background:transparent;box-shadow:0 0 0 0 rgb(var(--themeColor)/0%);overflow:unset}._button_6uqr8_1._loading_6uqr8_166._iconOnly_6uqr8_99._secondaryType_6uqr8_54,._button_6uqr8_1._loading_6uqr8_166._iconOnly_6uqr8_99._secondaryDangerType_6uqr8_54{color:#fff}._button_6uqr8_1._loading_6uqr8_166._iconOnly_6uqr8_99:before{clip-path:circle(45% at 50% 50%);opacity:1}._button_6uqr8_1._loading_6uqr8_166._iconOnly_6uqr8_99:after{width:100%;background:none;border:2px solid rgb(var(--themeColor));border-top-color:transparent;border-bottom-color:transparent;animation:_spin_6uqr8_1 .25s infinite linear}._button_6uqr8_1:disabled{background:rgb(var(--themeColor)/20%);color:rgb(var(--themeColor)/75%);pointer-events:none;filter:grayscale(1)}._button_6uqr8_1:disabled._secondaryType_6uqr8_54,._button_6uqr8_1:disabled._secondaryDangerType_6uqr8_54{background:rgb(var(--themeColor)/5%)}._button_6uqr8_1:disabled._linkType_6uqr8_59{background:none}._button_6uqr8_1:disabled._linkType_6uqr8_59 ._underline_6uqr8_26:before{width:0%}._button_6uqr8_1:disabled._linkType_6uqr8_59 ._underline_6uqr8_26 span{width:0%}@keyframes _ripple_6uqr8_1{0%{box-shadow:0 0 0 7px rgb(var(--themeColor)/50%)}to{box-shadow:0 0 var(--maxRippleSize) rgb(var(--themeColor)/0%)}}@keyframes _barberPole_6uqr8_1{0%{transform:translate(-1.75rem)}to{transform:translate(0)}}@keyframes _spin_6uqr8_1{0%{transform:rotate(0)}to{transform:rotate(180deg)}}._textfield_7y99a_1{--duration: .6s;position:relative;width:400px;display:flex;justify-content:center;align-items:center;border-radius:20px;box-shadow:0 0 0 1px rgb(var(--colorBrandAccentRgb)/50%);background:var(--colorBackgroundSecondary);color:rgb(var(--colorContentPrimary));transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_7y99a_1:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb));clip-path:circle(0% at 20px 50%);border-radius:9999px;z-index:0;opacity:0;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_7y99a_1 ._icon_7y99a_27{position:absolute;left:0;width:40px;height:40px;color:rgb(var(--colorBrandAccentRgb)/100%);pointer-events:none;transition:all 0s}._textfield_7y99a_1 ._input_7y99a_36{width:100%;height:40px;outline:none;border:none;background:transparent;padding:10px 20px;font-size:16px;z-index:1;color:rgb(var(--colorContentPrimary));font-variation-settings:"wdth" 75,"wght" 400;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_7y99a_1 ._placeholder_7y99a_49{position:absolute;left:0;display:flex;align-items:center;color:var(--colorContentSecondary);transform:translate(14px);transform-origin:0 50%;line-height:20px;padding:0 8px;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_7y99a_1 ._placeholder_7y99a_49:before{content:"";position:absolute;left:0;display:block;width:100%;height:50%;background:var(--colorBackgroundPrimary);scale:0;z-index:-1;transition:all var(--duration) var(--cubicBezierPrimary)}._textfield_7y99a_1._withIcon_7y99a_73:before{clip-path:circle(15px at 20px 50%);opacity:.4}._textfield_7y99a_1._withIcon_7y99a_73 ._input_7y99a_36{padding:10px 20px 10px 44px}._textfield_7y99a_1._withIcon_7y99a_73 ._placeholder_7y99a_49{transform:translate(36px)}._textfield_7y99a_1._textarea_7y99a_83 ._input_7y99a_36{height:200px;padding:16px 20px;resize:none}._textfield_7y99a_1._textarea_7y99a_83 ._placeholder_7y99a_49{top:0;transform:translate(20px,16px)}._textfield_7y99a_1._hasValue_7y99a_92 ._placeholder_7y99a_49{transform:translate(24px,-28px);scale:.75;font-weight:900;color:rgb(var(--colorBrandAccentRgb)/100%)}._textfield_7y99a_1._hasValue_7y99a_92 ._placeholder_7y99a_49:before{scale:1}._textfield_7y99a_1._hasValue_7y99a_92._withIcon_7y99a_73 ._placeholder_7y99a_49{transform:translate(52px,-28px)}._textfield_7y99a_1._hasValue_7y99a_92._textarea_7y99a_83 ._placeholder_7y99a_49{transform:translate(24px,-14px)}._textfield_7y99a_1:focus-within{box-shadow:0 0 0 2px rgb(var(--colorBrandAccentRgb)/50%);background:var(--colorBackgroundPrimary)}._textfield_7y99a_1:focus-within ._placeholder_7y99a_49{transform:translate(24px,-28px);scale:.75;font-weight:900;color:rgb(var(--colorBrandAccentRgb)/100%)}._textfield_7y99a_1:focus-within ._placeholder_7y99a_49:before{scale:1}._textfield_7y99a_1:focus-within._withIcon_7y99a_73 ._placeholder_7y99a_49{transform:translate(52px,-28px)}._textfield_7y99a_1:focus-within._textarea_7y99a_83 ._placeholder_7y99a_49{transform:translate(24px,-14px)}._textfield_7y99a_1:focus-within._withIcon_7y99a_73:before{clip-path:circle(17px at 20px 50%);opacity:.8}._textfield_7y99a_1:focus-within._withIcon_7y99a_73 ._icon_7y99a_27{color:#fff;font-weight:900}._sider_9guyz_1{--duration: .6s;--paddingLeft: 0px;--paddingRight: 0px;--borderRadius: 36px;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb)/90%);padding:0 var(--paddingRight) 0 var(--paddingLeft);overflow:hidden;transition:padding var(--duration) ease}._sider_9guyz_1 ._leftSiderContainer_9guyz_13{position:fixed;left:0;width:var(--siderWidth);height:100%;z-index:0}._sider_9guyz_1 ._rightSiderContainer_9guyz_20{position:fixed;right:0;width:var(--siderWidth);height:100%;z-index:1}._sider_9guyz_1 ._content_9guyz_27{position:relative;width:100%;height:100%;background:var(--colorBackgroundPrimary);box-shadow:0 0 50px 2px #0000003d;border-radius:0;z-index:2;transition:all var(--duration) var(--cubicBezierPrimary)}._sider_9guyz_1._miniLeftSider_9guyz_37{--paddingLeft: var(--siderWidthMini)}._sider_9guyz_1._miniLeftSider_9guyz_37 ._content_9guyz_27{border-top-left-radius:var(--borderRadius);border-bottom-left-radius:var(--borderRadius)}._sider_9guyz_1._miniRightSider_9guyz_44{--paddingRight: var(--siderWidthMini)}._sider_9guyz_1._miniRightSider_9guyz_44 ._content_9guyz_27{border-top-right-radius:var(--borderRadius);border-bottom-right-radius:var(--borderRadius)}._sider_9guyz_1._leftOpen_9guyz_51 ._content_9guyz_27{border-radius:36px;transform:translate(calc(var(--siderWidth) - var(--paddingLeft)));transform-origin:left center;scale:.95}._sider_9guyz_1._rightOpen_9guyz_57 ._content_9guyz_27{border-radius:36px;transform:translate(calc((var(--siderWidth) - var(--paddingRight)) * -1));transform-origin:right center;scale:.95}._navigation_zrgjp_1{--duration: .4s;width:calc(var(--siderWidth) + 16px);height:100%;display:flex;flex-direction:column;padding:16px 0 28px}._navigation_zrgjp_1 ._brand_zrgjp_9{font-size:32px;color:#fff;padding:24px 8px;font-variation-settings:"wdth" 75,"wght" 400;text-transform:capitalize;-webkit-user-select:none;user-select:none;cursor:pointer}._navigation_zrgjp_1 ._routeList_zrgjp_18{width:100%;display:flex;flex-direction:column;flex:1;-webkit-user-select:none;user-select:none;cursor:pointer}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18{position:relative;display:flex;align-items:center;gap:2px;text-decoration:none;color:#fff;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18:before{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb)/0%);filter:contrast(2) brightness(.75);z-index:0;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18:after{content:"";position:absolute;display:block;width:100%;height:100%;background:rgb(var(--colorBrandAccentRgb));clip-path:circle(0% at calc(var(--siderWidthMini) / 2) 50%);filter:contrast(2) brightness(.75);z-index:0;opacity:.4;transition:all var(--duration) var(--cubicBezierPrimary)}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18 ._icon_zrgjp_59{width:var(--siderWidthMini);height:var(--siderWidthMini);font-size:calc(var(--siderWidthMini) - 40px);color:#fff}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18 ._label_zrgjp_65{font-size:16px;font-variation-settings:"wdth" 75,"wght" 400;text-transform:capitalize;z-index:1}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18:last-of-type{margin-top:auto}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18:hover:before{background:rgb(var(--colorBrandAccentRgb)/30%)}._navigation_zrgjp_1 ._routeList_zrgjp_18 ._route_zrgjp_18._active_zrgjp_77:after{clip-path:circle(var(--siderWidth) at calc(var(--siderWidthMini) / 2) 50%);opacity:1;transition:all var(--duration) ease-in-out}
|
package/dist/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xtreme-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"description": "Collection of reusable components that can be used in web projects",
|
|
6
|
+
"main": "dist/index.umd.js",
|
|
7
|
+
"module": "dist/index.es.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
8
9
|
"scripts": {
|
|
9
|
-
"dev": "
|
|
10
|
+
"dev": "storybook dev -p 3001",
|
|
10
11
|
"build": "tsc && vite build",
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"storybook": "storybook dev -p 3001",
|
|
14
|
-
"build-storybook": "storybook build -o dist/storybook"
|
|
12
|
+
"build-storybook": "storybook build -o dist/storybook",
|
|
13
|
+
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
|
|
15
14
|
},
|
|
16
15
|
"peerDependencies": {
|
|
17
16
|
"react": "^18.2.0",
|
|
18
17
|
"react-dom": "^18.2.0"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@storybook/addon-essentials": "7.
|
|
22
|
-
"@storybook/addon-interactions": "7.
|
|
23
|
-
"@storybook/addon-links": "7.
|
|
24
|
-
"@storybook/addons": "^7.
|
|
25
|
-
"@storybook/blocks": "7.
|
|
26
|
-
"@storybook/react": "7.
|
|
27
|
-
"@storybook/react-vite": "7.
|
|
20
|
+
"@storybook/addon-essentials": "7.2.1",
|
|
21
|
+
"@storybook/addon-interactions": "7.2.1",
|
|
22
|
+
"@storybook/addon-links": "7.2.1",
|
|
23
|
+
"@storybook/addons": "^7.2.1",
|
|
24
|
+
"@storybook/blocks": "7.2.1",
|
|
25
|
+
"@storybook/react": "7.2.1",
|
|
26
|
+
"@storybook/react-vite": "7.2.1",
|
|
28
27
|
"@storybook/testing-library": "0.2.0",
|
|
29
|
-
"@types/lodash": "^4.14.
|
|
30
|
-
"@types/node": "^20.4.
|
|
31
|
-
"@types/react": "^18.2.
|
|
32
|
-
"@types/react-dom": "^18.2.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
34
|
-
"@typescript-eslint/parser": "^
|
|
35
|
-
"@vitejs/plugin-react": "^4.0.
|
|
28
|
+
"@types/lodash": "^4.14.196",
|
|
29
|
+
"@types/node": "^20.4.8",
|
|
30
|
+
"@types/react": "^18.2.18",
|
|
31
|
+
"@types/react-dom": "^18.2.7",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
33
|
+
"@typescript-eslint/parser": "^6.2.1",
|
|
34
|
+
"@vitejs/plugin-react": "^4.0.4",
|
|
36
35
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
37
|
-
"clsx": "^
|
|
38
|
-
"eslint": "^8.
|
|
36
|
+
"clsx": "^2.0.0",
|
|
37
|
+
"eslint": "^8.46.0",
|
|
39
38
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
40
|
-
"eslint-plugin-import": "^2.
|
|
41
|
-
"eslint-plugin-react": "^7.
|
|
39
|
+
"eslint-plugin-import": "^2.28.0",
|
|
40
|
+
"eslint-plugin-react": "^7.33.1",
|
|
42
41
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
43
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
44
|
-
"eslint-plugin-storybook": "^0.6.
|
|
42
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
43
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
45
44
|
"lodash": "^4.17.21",
|
|
46
45
|
"prop-types": "15.8.1",
|
|
47
46
|
"react": "^18.2.0",
|
|
48
47
|
"react-dom": "^18.2.0",
|
|
49
|
-
"sass": "^1.
|
|
50
|
-
"storybook": "7.
|
|
48
|
+
"sass": "^1.64.2",
|
|
49
|
+
"storybook": "7.2.1",
|
|
51
50
|
"storybook-readme": "^5.0.9",
|
|
52
|
-
"stylelint": "^15.10.
|
|
51
|
+
"stylelint": "^15.10.2",
|
|
53
52
|
"stylelint-config-standard-scss": "^10.0.0",
|
|
54
53
|
"stylelint-order": "^6.0.3",
|
|
55
54
|
"typescript": "^5.1.6",
|
|
56
|
-
"vite": "^4.4.
|
|
57
|
-
"vite-plugin-dts": "^3.
|
|
55
|
+
"vite": "^4.4.8",
|
|
56
|
+
"vite-plugin-dts": "^3.5.1",
|
|
58
57
|
"vite-plugin-linter": "^2.0.2",
|
|
59
58
|
"vite-tsconfig-paths": "^4.2.0"
|
|
60
59
|
},
|
|
@@ -84,11 +83,6 @@
|
|
|
84
83
|
},
|
|
85
84
|
"homepage": "https://github.com/itzzritik/XtremeUI#readme",
|
|
86
85
|
"license": "MIT",
|
|
87
|
-
"eslintConfig": {
|
|
88
|
-
"extends": [
|
|
89
|
-
"plugin:storybook/recommended"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
86
|
"bugs": {
|
|
93
87
|
"url": "https://github.com/itzzritik/XtremeUI/issues"
|
|
94
88
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/base/Button/Button.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAKrD,eAAO,MAAM,MAAM,4GAsDjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,UAAU,gBAAgB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CACzD;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG;KAAE,GAAG,IAAI,IAAI,CAAC,CAAC,GAAE,CAAC,CAAC,GAAG,CAAC;CAAC,CAAC;AAC7E,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAAG,eAAe,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;AAEtH,oBAAY,YAAY;IACvB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;CACzB;AAED,aAAK,WAAW;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CACf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/base/Icon/Icon.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAa,UAAU,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,wGAcf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/base/Icon/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,OAAO,SAAS,CAAC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAA;AAED,oBAAY,SAAS;IACpB,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,KAAK,KAAK;CACV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/base/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8GAgBtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/base/Textfield/Textfield.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,SAAS,8GA6DpB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from '../utils/index';
|
|
2
|
-
export { Button } from './base/Button/Button';
|
|
3
|
-
export { ProgressBar } from './base/ProgressBar/ProgressBar';
|
|
4
|
-
export { Icon } from './base/Icon/Icon';
|
|
5
|
-
export { Textfield } from './base/Textfield/Textfield';
|
|
6
|
-
export { Sider } from './layout/Sider/Sider';
|
|
7
|
-
export { Navigation } from './layout/Navigation/Navigation';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGvD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Navigation/Navigation.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,UAAU,6GAwBrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sider.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Sider/Sider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,KAAK,wGAmChB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mergeRefs.d.ts","sourceRoot":"","sources":["../../src/utils/function/mergeRefs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEjE,eAAO,MAAM,SAAS,qEAUrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"domHelper.d.ts","sourceRoot":"","sources":["../../src/utils/helper/domHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,eAAO,MAAM,QAAQ,SAAgC,CAAC;AACtD,eAAO,MAAM,GAAG,0CAAgC,CAAC;AAEjD,eAAO,MAAM,cAAc,aAAc,MAAM,WAAW,UAAU,WAAW,CAAC,WAE/E,CAAC;AAEF,eAAO,MAAM,gBAAgB,aAAc,MAAM,WAAW,UAAU,WAAW,CAAC,WAEjF,CAAC;AAEF,eAAO,MAAM,gBAAgB,aAAc,MAAM,WAAW,UAAU,WAAW,CAAC,aAGjF,CAAC;AAEF,eAAO,MAAM,gBAAgB,aAAc,MAAM,WAAW,UAAU,WAAW,CAAC,aAGjF,CAAC;AAEF,eAAO,MAAM,cAAc,aAAc,MAAM,SAAS,MAAM,WAAW,UAAU,WAAW,CAAC,cAE9F,CAAC;AAEF,eAAO,MAAM,cAAc,aAAc,MAAM,yBAc9C,CAAC;AAEF,eAAO,MAAM,eAAe,OAAQ,uBAAuB,aAAa,MAAM,EAAE,SAkB/E,CAAC;AAEF,KAAK,uBAAuB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,OAAO,qBAAqB,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAA;AAChI,aAAK,qBAAqB;IACzB,KAAK,UAAU;IACf,OAAO,YAAY;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|