quix-ui 1.1.2 → 1.1.3

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.
@@ -0,0 +1,14 @@
1
+ "use strict";const Pe=require("react");var V={exports:{}},k={};var Te;function fr(){if(Te)return k;Te=1;var M=Pe,C=Symbol.for("react.element"),U=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,F=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,A={key:!0,ref:!0,__self:!0,__source:!0};function w(_,f,T){var p,y={},b=null,I=null;T!==void 0&&(b=""+T),f.key!==void 0&&(b=""+f.key),f.ref!==void 0&&(I=f.ref);for(p in f)m.call(f,p)&&!A.hasOwnProperty(p)&&(y[p]=f[p]);if(_&&_.defaultProps)for(p in f=_.defaultProps,f)y[p]===void 0&&(y[p]=f[p]);return{$$typeof:C,type:_,key:b,ref:I,props:y,_owner:F.current}}return k.Fragment=U,k.jsx=w,k.jsxs=w,k}var D={};var Oe;function cr(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&(function(){var M=Pe,C=Symbol.for("react.element"),U=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),_=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),H=Symbol.iterator,Ce="@@iterator";function we(e){if(e===null||typeof e!="object")return null;var r=H&&e[H]||e[Ce];return typeof r=="function"?r:null}var O=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];je("error",e,t)}}function je(e,r,t){{var n=O.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 xe=!1,ke=!1,De=!1,Fe=!1,Ae=!1,Z;Z=Symbol.for("react.module.reference");function Ie(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===A||Ae||e===F||e===T||e===p||Fe||e===I||xe||ke||De||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===_||e.$$typeof===f||e.$$typeof===Z||e.getModuleId!==void 0))}function $e(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function Q(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("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 U:return"Portal";case A:return"Profiler";case F:return"StrictMode";case T:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var r=e;return Q(r)+".Consumer";case w:var t=e;return Q(t._context)+".Provider";case f:return $e(e,e.render,"ForwardRef");case y:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case b:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var h=Object.assign,j=0,ee,re,te,ne,ae,ie,oe;function ue(){}ue.__reactDisabledLog=!0;function We(){{if(j===0){ee=console.log,re=console.info,te=console.warn,ne=console.error,ae=console.group,ie=console.groupCollapsed,oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ue,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}}function Ye(){{if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:h({},e,{value:ee}),info:h({},e,{value:re}),warn:h({},e,{value:te}),error:h({},e,{value:ne}),group:h({},e,{value:ae}),groupCollapsed:h({},e,{value:ie}),groupEnd:h({},e,{value:oe})})}j<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var N=O.ReactCurrentDispatcher,q;function $(e,r,t){{if(q===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
2
+ `+q+e}}var J=!1,W;{var Le=typeof WeakMap=="function"?WeakMap:Map;W=new Le}function se(e,r){if(!e||J)return"";{var t=W.get(e);if(t!==void 0)return t}var n;J=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=N.current,N.current=null,We();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(d){n=d}Reflect.construct(e,[],i)}else{try{i.call()}catch(d){n=d}e.call(i.prototype)}}else{try{throw Error()}catch(d){n=d}e()}}catch(d){if(d&&n&&typeof d.stack=="string"){for(var a=d.stack.split(`
3
+ `),v=n.stack.split(`
4
+ `),s=a.length-1,l=v.length-1;s>=1&&l>=0&&a[s]!==v[l];)l--;for(;s>=1&&l>=0;s--,l--)if(a[s]!==v[l]){if(s!==1||l!==1)do if(s--,l--,l<0||a[s]!==v[l]){var g=`
5
+ `+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&W.set(e,g),g}while(s>=1&&l>=0);break}}}finally{J=!1,N.current=u,Ye(),Error.prepareStackTrace=o}var P=e?e.displayName||e.name:"",R=P?$(P):"";return typeof e=="function"&&W.set(e,R),R}function Ve(e,r,t){return se(e,!1)}function Me(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function Y(e,r,t){if(e==null)return"";if(typeof e=="function")return se(e,Me(e));if(typeof e=="string")return $(e);switch(e){case T:return $("Suspense");case p:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Ve(e.render);case y:return Y(e.type,r,t);case b:{var n=e,o=n._payload,u=n._init;try{return Y(u(o),r,t)}catch{}}}return""}var x=Object.prototype.hasOwnProperty,le={},fe=O.ReactDebugCurrentFrame;function L(e){if(e){var r=e._owner,t=Y(e.type,e._source,r?r.type:null);fe.setExtraStackFrame(t)}else fe.setExtraStackFrame(null)}function Ue(e,r,t,n,o){{var u=Function.call.bind(x);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var v=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 v.name="Invariant Violation",v}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)&&(L(o),c("%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),L(null)),a instanceof Error&&!(a.message in le)&&(le[a.message]=!0,L(o),c("Failed %s type: %s",t,a.message),L(null))}}}var Ne=Array.isArray;function B(e){return Ne(e)}function qe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Je(e){try{return ce(e),!1}catch{return!0}}function ce(e){return""+e}function ve(e){if(Je(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(e)),ce(e)}var de=O.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},pe,ge;function Ke(e){if(x.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ge(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ze(e,r){typeof e.ref=="string"&&de.current}function Xe(e,r){{var t=function(){pe||(pe=!0,c("%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 He(e,r){{var t=function(){ge||(ge=!0,c("%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 Ze=function(e,r,t,n,o,u,i){var a={$$typeof:C,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 Qe(e,r,t,n,o){{var u,i={},a=null,v=null;t!==void 0&&(ve(t),a=""+t),Ge(r)&&(ve(r.key),a=""+r.key),Ke(r)&&(v=r.ref,ze(r,o));for(u in r)x.call(r,u)&&!Be.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||v){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Xe(i,l),v&&He(i,l)}return Ze(e,a,v,o,n,de.current,i)}}var K=O.ReactCurrentOwner,ye=O.ReactDebugCurrentFrame;function S(e){if(e){var r=e._owner,t=Y(e.type,e._source,r?r.type:null);ye.setExtraStackFrame(t)}else ye.setExtraStackFrame(null)}var G;G=!1;function z(e){return typeof e=="object"&&e!==null&&e.$$typeof===C}function Ee(){{if(K.current){var e=E(K.current.type);if(e)return`
6
+
7
+ Check the render method of \``+e+"`."}return""}}function er(e){return""}var _e={};function rr(e){{var r=Ee();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
8
+
9
+ Check the top-level render call using <`+t+">.")}return r}}function be(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=rr(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),S(e),c('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),S(null)}}function he(e,r){{if(typeof e!="object")return;if(B(e))for(var t=0;t<e.length;t++){var n=e[t];z(n)&&be(n,r)}else if(z(e))e._store&&(e._store.validated=!0);else if(e){var o=we(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)z(i.value)&&be(i.value,r)}}}function tr(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===f||r.$$typeof===y))t=r.propTypes;else return;if(t){var n=E(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!G){G=!0;var o=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){S(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),S(null);break}}e.ref!==null&&(S(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),S(null))}}var Re={};function me(e,r,t,n,o,u){{var i=Ie(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 v=er();v?a+=v:a+=Ee();var s;e===null?s="null":B(e)?s="array":e!==void 0&&e.$$typeof===C?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("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=Qe(e,r,t,o,u);if(l==null)return l;if(i){var g=r.children;if(g!==void 0)if(n)if(B(g)){for(var P=0;P<g.length;P++)he(g[P],e);Object.freeze&&Object.freeze(g)}else c("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 he(g,e)}if(x.call(r,"key")){var R=E(e),d=Object.keys(r).filter(function(lr){return lr!=="key"}),X=d.length>0?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}";if(!Re[R+X]){var sr=d.length>0?"{"+d.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
10
+ let props = %s;
11
+ <%s {...props} />
12
+ React keys must be passed directly to JSX without using spread:
13
+ let props = %s;
14
+ <%s key={someKey} {...props} />`,X,R,sr,R),Re[R+X]=!0}}return e===m?nr(l):tr(l),l}}function ar(e,r,t){return me(e,r,t,!0)}function ir(e,r,t){return me(e,r,t,!1)}var or=ir,ur=ar;D.Fragment=m,D.jsx=or,D.jsxs=ur})()),D}var Se;function vr(){return Se||(Se=1,process.env.NODE_ENV==="production"?V.exports=fr():V.exports=cr()),V.exports}vr();
@@ -0,0 +1,612 @@
1
+ import Pe from "react";
2
+ var V = { exports: {} }, k = {};
3
+ var Te;
4
+ function lr() {
5
+ if (Te) return k;
6
+ Te = 1;
7
+ var M = Pe, C = /* @__PURE__ */ Symbol.for("react.element"), U = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, F = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, A = { key: !0, ref: !0, __self: !0, __source: !0 };
8
+ function w(_, l, T) {
9
+ var p, y = {}, b = null, I = null;
10
+ T !== void 0 && (b = "" + T), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (I = l.ref);
11
+ for (p in l) m.call(l, p) && !A.hasOwnProperty(p) && (y[p] = l[p]);
12
+ if (_ && _.defaultProps) for (p in l = _.defaultProps, l) y[p] === void 0 && (y[p] = l[p]);
13
+ return { $$typeof: C, type: _, key: b, ref: I, props: y, _owner: F.current };
14
+ }
15
+ return k.Fragment = U, k.jsx = w, k.jsxs = w, k;
16
+ }
17
+ var D = {};
18
+ var Oe;
19
+ function cr() {
20
+ return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
21
+ var M = Pe, C = /* @__PURE__ */ Symbol.for("react.element"), U = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), A = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), _ = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), T = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), b = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.offscreen"), H = Symbol.iterator, Ce = "@@iterator";
22
+ function we(e) {
23
+ if (e === null || typeof e != "object")
24
+ return null;
25
+ var r = H && e[H] || e[Ce];
26
+ return typeof r == "function" ? r : null;
27
+ }
28
+ var O = M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
+ function c(e) {
30
+ {
31
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
32
+ t[n - 1] = arguments[n];
33
+ je("error", e, t);
34
+ }
35
+ }
36
+ function je(e, r, t) {
37
+ {
38
+ var n = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
39
+ o !== "" && (r += "%s", t = t.concat([o]));
40
+ var u = t.map(function(i) {
41
+ return String(i);
42
+ });
43
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
44
+ }
45
+ }
46
+ var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, Z;
47
+ Z = /* @__PURE__ */ Symbol.for("react.module.reference");
48
+ function Ie(e) {
49
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === A || Ae || e === F || e === T || e === p || Fe || e === I || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === y || e.$$typeof === w || e.$$typeof === _ || e.$$typeof === l || // This needs to include all possible module reference object
50
+ // types supported by any Flight configuration anywhere since
51
+ // we don't know which Flight build this will end up being used
52
+ // with.
53
+ e.$$typeof === Z || e.getModuleId !== void 0));
54
+ }
55
+ function $e(e, r, t) {
56
+ var n = e.displayName;
57
+ if (n)
58
+ return n;
59
+ var o = r.displayName || r.name || "";
60
+ return o !== "" ? t + "(" + o + ")" : t;
61
+ }
62
+ function Q(e) {
63
+ return e.displayName || "Context";
64
+ }
65
+ function E(e) {
66
+ if (e == null)
67
+ return null;
68
+ if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
69
+ return e.displayName || e.name || null;
70
+ if (typeof e == "string")
71
+ return e;
72
+ switch (e) {
73
+ case m:
74
+ return "Fragment";
75
+ case U:
76
+ return "Portal";
77
+ case A:
78
+ return "Profiler";
79
+ case F:
80
+ return "StrictMode";
81
+ case T:
82
+ return "Suspense";
83
+ case p:
84
+ return "SuspenseList";
85
+ }
86
+ if (typeof e == "object")
87
+ switch (e.$$typeof) {
88
+ case _:
89
+ var r = e;
90
+ return Q(r) + ".Consumer";
91
+ case w:
92
+ var t = e;
93
+ return Q(t._context) + ".Provider";
94
+ case l:
95
+ return $e(e, e.render, "ForwardRef");
96
+ case y:
97
+ var n = e.displayName || null;
98
+ return n !== null ? n : E(e.type) || "Memo";
99
+ case b: {
100
+ var o = e, u = o._payload, i = o._init;
101
+ try {
102
+ return E(i(u));
103
+ } catch {
104
+ return null;
105
+ }
106
+ }
107
+ }
108
+ return null;
109
+ }
110
+ var h = Object.assign, j = 0, ee, re, te, ne, ae, ie, oe;
111
+ function ue() {
112
+ }
113
+ ue.__reactDisabledLog = !0;
114
+ function We() {
115
+ {
116
+ if (j === 0) {
117
+ ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, ie = console.groupCollapsed, oe = console.groupEnd;
118
+ var e = {
119
+ configurable: !0,
120
+ enumerable: !0,
121
+ value: ue,
122
+ writable: !0
123
+ };
124
+ Object.defineProperties(console, {
125
+ info: e,
126
+ log: e,
127
+ warn: e,
128
+ error: e,
129
+ group: e,
130
+ groupCollapsed: e,
131
+ groupEnd: e
132
+ });
133
+ }
134
+ j++;
135
+ }
136
+ }
137
+ function Ye() {
138
+ {
139
+ if (j--, j === 0) {
140
+ var e = {
141
+ configurable: !0,
142
+ enumerable: !0,
143
+ writable: !0
144
+ };
145
+ Object.defineProperties(console, {
146
+ log: h({}, e, {
147
+ value: ee
148
+ }),
149
+ info: h({}, e, {
150
+ value: re
151
+ }),
152
+ warn: h({}, e, {
153
+ value: te
154
+ }),
155
+ error: h({}, e, {
156
+ value: ne
157
+ }),
158
+ group: h({}, e, {
159
+ value: ae
160
+ }),
161
+ groupCollapsed: h({}, e, {
162
+ value: ie
163
+ }),
164
+ groupEnd: h({}, e, {
165
+ value: oe
166
+ })
167
+ });
168
+ }
169
+ j < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ }
171
+ }
172
+ var N = O.ReactCurrentDispatcher, J;
173
+ function $(e, r, t) {
174
+ {
175
+ if (J === void 0)
176
+ try {
177
+ throw Error();
178
+ } catch (o) {
179
+ var n = o.stack.trim().match(/\n( *(at )?)/);
180
+ J = n && n[1] || "";
181
+ }
182
+ return `
183
+ ` + J + e;
184
+ }
185
+ }
186
+ var q = !1, W;
187
+ {
188
+ var Le = typeof WeakMap == "function" ? WeakMap : Map;
189
+ W = new Le();
190
+ }
191
+ function se(e, r) {
192
+ if (!e || q)
193
+ return "";
194
+ {
195
+ var t = W.get(e);
196
+ if (t !== void 0)
197
+ return t;
198
+ }
199
+ var n;
200
+ q = !0;
201
+ var o = Error.prepareStackTrace;
202
+ Error.prepareStackTrace = void 0;
203
+ var u;
204
+ u = N.current, N.current = null, We();
205
+ try {
206
+ if (r) {
207
+ var i = function() {
208
+ throw Error();
209
+ };
210
+ if (Object.defineProperty(i.prototype, "props", {
211
+ set: function() {
212
+ throw Error();
213
+ }
214
+ }), typeof Reflect == "object" && Reflect.construct) {
215
+ try {
216
+ Reflect.construct(i, []);
217
+ } catch (d) {
218
+ n = d;
219
+ }
220
+ Reflect.construct(e, [], i);
221
+ } else {
222
+ try {
223
+ i.call();
224
+ } catch (d) {
225
+ n = d;
226
+ }
227
+ e.call(i.prototype);
228
+ }
229
+ } else {
230
+ try {
231
+ throw Error();
232
+ } catch (d) {
233
+ n = d;
234
+ }
235
+ e();
236
+ }
237
+ } catch (d) {
238
+ if (d && n && typeof d.stack == "string") {
239
+ for (var a = d.stack.split(`
240
+ `), v = n.stack.split(`
241
+ `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
242
+ f--;
243
+ for (; s >= 1 && f >= 0; s--, f--)
244
+ if (a[s] !== v[f]) {
245
+ if (s !== 1 || f !== 1)
246
+ do
247
+ if (s--, f--, f < 0 || a[s] !== v[f]) {
248
+ var g = `
249
+ ` + a[s].replace(" at new ", " at ");
250
+ return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, g), g;
251
+ }
252
+ while (s >= 1 && f >= 0);
253
+ break;
254
+ }
255
+ }
256
+ } finally {
257
+ q = !1, N.current = u, Ye(), Error.prepareStackTrace = o;
258
+ }
259
+ var P = e ? e.displayName || e.name : "", R = P ? $(P) : "";
260
+ return typeof e == "function" && W.set(e, R), R;
261
+ }
262
+ function Ve(e, r, t) {
263
+ return se(e, !1);
264
+ }
265
+ function Me(e) {
266
+ var r = e.prototype;
267
+ return !!(r && r.isReactComponent);
268
+ }
269
+ function Y(e, r, t) {
270
+ if (e == null)
271
+ return "";
272
+ if (typeof e == "function")
273
+ return se(e, Me(e));
274
+ if (typeof e == "string")
275
+ return $(e);
276
+ switch (e) {
277
+ case T:
278
+ return $("Suspense");
279
+ case p:
280
+ return $("SuspenseList");
281
+ }
282
+ if (typeof e == "object")
283
+ switch (e.$$typeof) {
284
+ case l:
285
+ return Ve(e.render);
286
+ case y:
287
+ return Y(e.type, r, t);
288
+ case b: {
289
+ var n = e, o = n._payload, u = n._init;
290
+ try {
291
+ return Y(u(o), r, t);
292
+ } catch {
293
+ }
294
+ }
295
+ }
296
+ return "";
297
+ }
298
+ var x = Object.prototype.hasOwnProperty, fe = {}, le = O.ReactDebugCurrentFrame;
299
+ function L(e) {
300
+ if (e) {
301
+ var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
302
+ le.setExtraStackFrame(t);
303
+ } else
304
+ le.setExtraStackFrame(null);
305
+ }
306
+ function Ue(e, r, t, n, o) {
307
+ {
308
+ var u = Function.call.bind(x);
309
+ for (var i in e)
310
+ if (u(e, i)) {
311
+ var a = void 0;
312
+ try {
313
+ if (typeof e[i] != "function") {
314
+ var v = 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`.");
315
+ throw v.name = "Invariant Violation", v;
316
+ }
317
+ a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ } catch (s) {
319
+ a = s;
320
+ }
321
+ a && !(a instanceof Error) && (L(o), c("%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), L(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, L(o), c("Failed %s type: %s", t, a.message), L(null));
322
+ }
323
+ }
324
+ }
325
+ var Ne = Array.isArray;
326
+ function B(e) {
327
+ return Ne(e);
328
+ }
329
+ function Je(e) {
330
+ {
331
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
332
+ return t;
333
+ }
334
+ }
335
+ function qe(e) {
336
+ try {
337
+ return ce(e), !1;
338
+ } catch {
339
+ return !0;
340
+ }
341
+ }
342
+ function ce(e) {
343
+ return "" + e;
344
+ }
345
+ function ve(e) {
346
+ if (qe(e))
347
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ce(e);
348
+ }
349
+ var de = O.ReactCurrentOwner, Be = {
350
+ key: !0,
351
+ ref: !0,
352
+ __self: !0,
353
+ __source: !0
354
+ }, pe, ge;
355
+ function Ke(e) {
356
+ if (x.call(e, "ref")) {
357
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
358
+ if (r && r.isReactWarning)
359
+ return !1;
360
+ }
361
+ return e.ref !== void 0;
362
+ }
363
+ function Ge(e) {
364
+ if (x.call(e, "key")) {
365
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
366
+ if (r && r.isReactWarning)
367
+ return !1;
368
+ }
369
+ return e.key !== void 0;
370
+ }
371
+ function ze(e, r) {
372
+ typeof e.ref == "string" && de.current;
373
+ }
374
+ function Xe(e, r) {
375
+ {
376
+ var t = function() {
377
+ pe || (pe = !0, c("%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));
378
+ };
379
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
380
+ get: t,
381
+ configurable: !0
382
+ });
383
+ }
384
+ }
385
+ function He(e, r) {
386
+ {
387
+ var t = function() {
388
+ ge || (ge = !0, c("%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));
389
+ };
390
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
391
+ get: t,
392
+ configurable: !0
393
+ });
394
+ }
395
+ }
396
+ var Ze = function(e, r, t, n, o, u, i) {
397
+ var a = {
398
+ // This tag allows us to uniquely identify this as a React Element
399
+ $$typeof: C,
400
+ // Built-in properties that belong on the element
401
+ type: e,
402
+ key: r,
403
+ ref: t,
404
+ props: i,
405
+ // Record the component responsible for creating this element.
406
+ _owner: u
407
+ };
408
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
409
+ configurable: !1,
410
+ enumerable: !1,
411
+ writable: !0,
412
+ value: !1
413
+ }), Object.defineProperty(a, "_self", {
414
+ configurable: !1,
415
+ enumerable: !1,
416
+ writable: !1,
417
+ value: n
418
+ }), Object.defineProperty(a, "_source", {
419
+ configurable: !1,
420
+ enumerable: !1,
421
+ writable: !1,
422
+ value: o
423
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
424
+ };
425
+ function Qe(e, r, t, n, o) {
426
+ {
427
+ var u, i = {}, a = null, v = null;
428
+ t !== void 0 && (ve(t), a = "" + t), Ge(r) && (ve(r.key), a = "" + r.key), Ke(r) && (v = r.ref, ze(r, o));
429
+ for (u in r)
430
+ x.call(r, u) && !Be.hasOwnProperty(u) && (i[u] = r[u]);
431
+ if (e && e.defaultProps) {
432
+ var s = e.defaultProps;
433
+ for (u in s)
434
+ i[u] === void 0 && (i[u] = s[u]);
435
+ }
436
+ if (a || v) {
437
+ var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
438
+ a && Xe(i, f), v && He(i, f);
439
+ }
440
+ return Ze(e, a, v, o, n, de.current, i);
441
+ }
442
+ }
443
+ var K = O.ReactCurrentOwner, ye = O.ReactDebugCurrentFrame;
444
+ function S(e) {
445
+ if (e) {
446
+ var r = e._owner, t = Y(e.type, e._source, r ? r.type : null);
447
+ ye.setExtraStackFrame(t);
448
+ } else
449
+ ye.setExtraStackFrame(null);
450
+ }
451
+ var G;
452
+ G = !1;
453
+ function z(e) {
454
+ return typeof e == "object" && e !== null && e.$$typeof === C;
455
+ }
456
+ function Ee() {
457
+ {
458
+ if (K.current) {
459
+ var e = E(K.current.type);
460
+ if (e)
461
+ return `
462
+
463
+ Check the render method of \`` + e + "`.";
464
+ }
465
+ return "";
466
+ }
467
+ }
468
+ function er(e) {
469
+ return "";
470
+ }
471
+ var _e = {};
472
+ function rr(e) {
473
+ {
474
+ var r = Ee();
475
+ if (!r) {
476
+ var t = typeof e == "string" ? e : e.displayName || e.name;
477
+ t && (r = `
478
+
479
+ Check the top-level render call using <` + t + ">.");
480
+ }
481
+ return r;
482
+ }
483
+ }
484
+ function be(e, r) {
485
+ {
486
+ if (!e._store || e._store.validated || e.key != null)
487
+ return;
488
+ e._store.validated = !0;
489
+ var t = rr(r);
490
+ if (_e[t])
491
+ return;
492
+ _e[t] = !0;
493
+ var n = "";
494
+ e && e._owner && e._owner !== K.current && (n = " It was passed a child from " + E(e._owner.type) + "."), S(e), c('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), S(null);
495
+ }
496
+ }
497
+ function he(e, r) {
498
+ {
499
+ if (typeof e != "object")
500
+ return;
501
+ if (B(e))
502
+ for (var t = 0; t < e.length; t++) {
503
+ var n = e[t];
504
+ z(n) && be(n, r);
505
+ }
506
+ else if (z(e))
507
+ e._store && (e._store.validated = !0);
508
+ else if (e) {
509
+ var o = we(e);
510
+ if (typeof o == "function" && o !== e.entries)
511
+ for (var u = o.call(e), i; !(i = u.next()).done; )
512
+ z(i.value) && be(i.value, r);
513
+ }
514
+ }
515
+ }
516
+ function tr(e) {
517
+ {
518
+ var r = e.type;
519
+ if (r == null || typeof r == "string")
520
+ return;
521
+ var t;
522
+ if (typeof r == "function")
523
+ t = r.propTypes;
524
+ else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
525
+ // Inner props are checked in the reconciler.
526
+ r.$$typeof === y))
527
+ t = r.propTypes;
528
+ else
529
+ return;
530
+ if (t) {
531
+ var n = E(r);
532
+ Ue(t, e.props, "prop", n, e);
533
+ } else if (r.PropTypes !== void 0 && !G) {
534
+ G = !0;
535
+ var o = E(r);
536
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
537
+ }
538
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
+ }
540
+ }
541
+ function nr(e) {
542
+ {
543
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
544
+ var n = r[t];
545
+ if (n !== "children" && n !== "key") {
546
+ S(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
547
+ break;
548
+ }
549
+ }
550
+ e.ref !== null && (S(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
551
+ }
552
+ }
553
+ var Re = {};
554
+ function me(e, r, t, n, o, u) {
555
+ {
556
+ var i = Ie(e);
557
+ if (!i) {
558
+ var a = "";
559
+ (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.");
560
+ var v = er();
561
+ v ? a += v : a += Ee();
562
+ var s;
563
+ e === null ? s = "null" : B(e) ? s = "array" : e !== void 0 && e.$$typeof === C ? (s = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("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);
564
+ }
565
+ var f = Qe(e, r, t, o, u);
566
+ if (f == null)
567
+ return f;
568
+ if (i) {
569
+ var g = r.children;
570
+ if (g !== void 0)
571
+ if (n)
572
+ if (B(g)) {
573
+ for (var P = 0; P < g.length; P++)
574
+ he(g[P], e);
575
+ Object.freeze && Object.freeze(g);
576
+ } else
577
+ c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
+ else
579
+ he(g, e);
580
+ }
581
+ if (x.call(r, "key")) {
582
+ var R = E(e), d = Object.keys(r).filter(function(fr) {
583
+ return fr !== "key";
584
+ }), X = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ if (!Re[R + X]) {
586
+ var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
587
+ c(`A props object containing a "key" prop is being spread into JSX:
588
+ let props = %s;
589
+ <%s {...props} />
590
+ React keys must be passed directly to JSX without using spread:
591
+ let props = %s;
592
+ <%s key={someKey} {...props} />`, X, R, sr, R), Re[R + X] = !0;
593
+ }
594
+ }
595
+ return e === m ? nr(f) : tr(f), f;
596
+ }
597
+ }
598
+ function ar(e, r, t) {
599
+ return me(e, r, t, !0);
600
+ }
601
+ function ir(e, r, t) {
602
+ return me(e, r, t, !1);
603
+ }
604
+ var or = ir, ur = ar;
605
+ D.Fragment = m, D.jsx = or, D.jsxs = ur;
606
+ })()), D;
607
+ }
608
+ var Se;
609
+ function vr() {
610
+ return Se || (Se = 1, process.env.NODE_ENV === "production" ? V.exports = lr() : V.exports = cr()), V.exports;
611
+ }
612
+ vr();
package/package.json CHANGED
@@ -1,16 +1,24 @@
1
1
  {
2
2
  "name": "quix-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "This is a react component library.",
5
- "main": "dist/cjs/index.js",
6
- "module": "dist/esm/index.js",
7
- "types": "dist/index.d.ts",
8
5
  "type": "module",
6
+ "main": "dist/quix-ui.cjs.js",
7
+ "module": "dist/quix-ui.es.js",
8
+ "types": "dist/types/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/quix-ui.es.js",
12
+ "require": "./dist/quix-ui.cjs.js",
13
+ "types": "./dist/types/index.d.ts"
14
+ }
15
+ },
9
16
  "files": [
17
+
10
18
  "dist"
11
19
  ],
12
20
  "scripts": {
13
- "build": "rollup -c",
21
+ "build": "vite build",
14
22
  "dev": "rollup -c -w",
15
23
  "test": "jest --watchAll --verbose",
16
24
  "storybook": "storybook dev -p 6006",
@@ -48,6 +56,7 @@
48
56
  ]
49
57
  },
50
58
  "devDependencies": {
59
+ "@babel/core": "^7.28.6",
51
60
  "@babel/preset-env": "^7.28.6",
52
61
  "@babel/preset-react": "^7.28.5",
53
62
  "@babel/preset-typescript": "^7.28.5",
@@ -56,7 +65,6 @@
56
65
  "@figma/plugin-typings": "^1.122.0",
57
66
  "@rollup/plugin-commonjs": "^29.0.0",
58
67
  "@rollup/plugin-node-resolve": "^16.0.3",
59
- "@rollup/plugin-terser": "^0.4.4",
60
68
  "@rollup/plugin-typescript": "^12.3.0",
61
69
  "@storybook/addon-docs": "^10.1.11",
62
70
  "@storybook/react-vite": "^10.1.11",
@@ -64,7 +72,9 @@
64
72
  "@testing-library/react": "^16.3.1",
65
73
  "@types/jest": "^30.0.0",
66
74
  "@types/react": "^19.2.8",
75
+ "@vitejs/plugin-react": "^5.1.2",
67
76
  "axios": "^1.13.2",
77
+ "babel-loader": "^10.0.0",
68
78
  "eslint": "^9.39.2",
69
79
  "globals": "^17.0.0",
70
80
  "husky": "^9.1.7",
@@ -75,8 +85,8 @@
75
85
  "react-dom": "^18.3.1",
76
86
  "rimraf": "^6.1.2",
77
87
  "rollup": "^4.55.1",
78
- "rollup-plugin-dts": "^6.3.0",
79
- "rollup-plugin-polyfill-node": "^0.13.0",
88
+ "rollup-plugin-babel": "^4.4.0",
89
+ "rollup-plugin-peer-deps-external": "^2.2.4",
80
90
  "rollup-plugin-postcss": "^4.0.2",
81
91
  "storybook": "^10.1.11",
82
92
  "styled-components": "^6.3.6",
@@ -85,7 +95,8 @@
85
95
  "typescript-eslint": "^8.53.0"
86
96
  },
87
97
  "peerDependencies": {
88
- "react": ">=16"
98
+ "react": "^18.3.1",
99
+ "react-dom": "^18.3.1"
89
100
  },
90
101
  "dependencies": {
91
102
  "fs": "^0.0.1-security"
@@ -1,2 +0,0 @@
1
- declare const _default: import("@eslint/config-helpers").Config[];
2
- export default _default;
package/dist/index.d.ts DELETED
@@ -1,48 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ViewProps {
4
- display?: "block" | "flex" | "inline-block" | "inline-flex";
5
- isScrollable?: boolean;
6
- direction?: "row" | "column" | "row-reverse" | "column-reverse";
7
- alignItems?: "stretch" | "center" | "flex-start";
8
- justifyContent?: "flex-start" | "center" | "space-between";
9
- width?: number;
10
- height?: number;
11
- backgroundColor?: string;
12
- paddingX?: number;
13
- paddingY?: number;
14
- textColor?: string;
15
- children?: React.ReactNode | string;
16
- rounded?: {
17
- topLeft?: number;
18
- topRight?: number;
19
- bottomLeft?: number;
20
- bottomRight?: number;
21
- } | number;
22
- className?: string;
23
- onClick?: () => void;
24
- }
25
-
26
- declare function ViewContainer(props: ViewProps): react_jsx_runtime.JSX.Element;
27
-
28
- interface ButtonsProps {
29
- onClick: () => void;
30
- width?: number;
31
- height?: number;
32
- label?: string;
33
- paddingX?: number;
34
- paddingY?: number;
35
- backgroundColor?: string;
36
- textColor?: string;
37
- rounded?: {
38
- topLeft?: number;
39
- topRight?: number;
40
- bottomLeft?: number;
41
- bottomRight?: number;
42
- } | number;
43
- className?: string;
44
- }
45
-
46
- declare function Buttons(props: ButtonsProps): react_jsx_runtime.JSX.Element;
47
-
48
- export { Buttons, ViewContainer };
package/dist/index.js DELETED
@@ -1,45 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
-
3
- function ViewContainer(props) {
4
- const { display, isScrollable, direction, alignItems, justifyContent, width, height, backgroundColor, paddingX, paddingY, textColor, className, rounded } = props;
5
- return jsx("div", { className: className, style: {
6
- display: display || 'block',
7
- overflowY: isScrollable ? 'scroll' : 'hidden',
8
- flexDirection: direction || 'row',
9
- alignItems: alignItems || 'stretch',
10
- justifyContent: justifyContent || 'flex-start',
11
- width: width ? `${width}px` : 'auto',
12
- height: height ? `${height}px` : 'auto',
13
- backgroundColor: backgroundColor || 'transparent',
14
- paddingInline: paddingX ? `${paddingX}px` : undefined,
15
- paddingBlock: paddingY ? `${paddingY}px` : undefined,
16
- color: textColor || 'inherit',
17
- borderTopLeftRadius: typeof rounded === 'number' ? rounded : rounded?.topLeft ?? 4,
18
- borderTopRightRadius: typeof rounded === 'number' ? rounded : rounded?.topRight ?? 4,
19
- borderBottomLeftRadius: typeof rounded === 'number' ? rounded : rounded?.bottomLeft ?? 4,
20
- borderBottomRightRadius: typeof rounded === 'number' ? rounded : rounded?.bottomRight ?? 4,
21
- }, children: props.children });
22
- }
23
-
24
- function Buttons(props) {
25
- const { onClick, width, height, label, paddingX, paddingY, backgroundColor, textColor, rounded, className } = props;
26
- return jsx("button", { className: className, style: {
27
- width: width ? `${width}px` : 'auto',
28
- height: height ? `${height}px` : 'auto',
29
- paddingInline: paddingX ?? 4,
30
- paddingBlock: paddingY ?? 4,
31
- backgroundColor: backgroundColor || 'transparent',
32
- color: textColor || 'inherit',
33
- borderTopLeftRadius: typeof rounded === 'number' ? rounded : rounded?.topLeft ?? 4,
34
- borderTopRightRadius: typeof rounded === 'number' ? rounded : rounded?.topRight ?? 4,
35
- borderBottomLeftRadius: typeof rounded === 'number' ? rounded : rounded?.bottomLeft ?? 4,
36
- borderBottomRightRadius: typeof rounded === 'number' ? rounded : rounded?.bottomRight ?? 4,
37
- cursor: 'pointer',
38
- }, onClick: onClick, children: label });
39
- }
40
-
41
- export { Buttons, ViewContainer };
42
- //# sourceMappingURL=index.js.map
43
-
44
- exports.ViewContainer = ViewContainer;
45
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../src/view/ViewContainer.tsx","../../src/components/Buttons/Buttons.tsx"],"sourcesContent":[null,null],"names":["_jsx"],"mappings":"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"}
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview Types for this package.
3
- */
4
- import type { ConfigObject } from "@eslint/core";
5
- /**
6
- * Infinite array type.
7
- */
8
- export type InfiniteArray<T> = T | InfiniteArray<T>[];
9
- /**
10
- * The type of array element in the `extends` property after flattening.
11
- */
12
- export type SimpleExtendsElement = string | ConfigObject;
13
- /**
14
- * The type of array element in the `extends` property before flattening.
15
- */
16
- export type ExtendsElement = SimpleExtendsElement | InfiniteArray<ConfigObject>;
17
- /**
18
- * Config with extends. Valid only inside of `defineConfig()`.
19
- */
20
- export interface ConfigWithExtends extends ConfigObject {
21
- extends?: ExtendsElement[];
22
- }
23
- export type ConfigWithExtendsArray = InfiniteArray<ConfigWithExtends>[];
@@ -1,2 +0,0 @@
1
- import { ButtonsProps } from "./types.ts";
2
- export default function Buttons(props: ButtonsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,56 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import Buttons from './Buttons.tsx';
3
- declare const meta: {
4
- title: string;
5
- component: typeof Buttons;
6
- parameters: {
7
- layout: string;
8
- };
9
- tags: string[];
10
- argTypes: {
11
- backgroundColor: {
12
- control: "color";
13
- };
14
- textColor: {
15
- control: "color";
16
- };
17
- width: {
18
- control: "number";
19
- };
20
- height: {
21
- control: "number";
22
- };
23
- paddingX: {
24
- control: "number";
25
- };
26
- paddingY: {
27
- control: "number";
28
- };
29
- label: {
30
- control: "text";
31
- };
32
- rounded: {
33
- topLeft: {
34
- control: string;
35
- };
36
- topRight: {
37
- control: string;
38
- };
39
- bottomLeft: {
40
- control: string;
41
- };
42
- bottomRight: {
43
- control: string;
44
- };
45
- };
46
- className: {
47
- control: "text";
48
- };
49
- };
50
- args: {
51
- onClick: import("@vitest/spy").Mock<(...args: any[]) => any>;
52
- };
53
- };
54
- export default meta;
55
- type Story = StoryObj<typeof meta>;
56
- export declare const Button: Story;
@@ -1,17 +0,0 @@
1
- export interface ButtonsProps {
2
- onClick: () => void;
3
- width?: number;
4
- height?: number;
5
- label?: string;
6
- paddingX?: number;
7
- paddingY?: number;
8
- backgroundColor?: string;
9
- textColor?: string;
10
- rounded?: {
11
- topLeft?: number;
12
- topRight?: number;
13
- bottomLeft?: number;
14
- bottomRight?: number;
15
- } | number;
16
- className?: string;
17
- }
@@ -1,2 +0,0 @@
1
- export { default as ViewContainer } from './view/ViewContainer.tsx';
2
- export { default as Buttons } from './components/Buttons/Buttons.tsx';
@@ -1,7 +0,0 @@
1
- interface figmaColorToRgbaProps {
2
- r: number;
3
- g: number;
4
- b: number;
5
- a: number;
6
- }
7
- declare function figmaColorToRgba({ r, g, b, a }: figmaColorToRgbaProps): string;
@@ -1,71 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import ViewContainer from './ViewContainer.tsx';
3
- declare const meta: {
4
- title: string;
5
- component: typeof ViewContainer;
6
- parameters: {
7
- layout: string;
8
- };
9
- tags: string[];
10
- argTypes: {
11
- backgroundColor: {
12
- control: "color";
13
- };
14
- textColor: {
15
- control: "color";
16
- };
17
- width: {
18
- control: "number";
19
- };
20
- height: {
21
- control: "number";
22
- };
23
- display: {
24
- options: string[];
25
- };
26
- direction: {
27
- options: string[];
28
- };
29
- isScrollable: {
30
- control: "boolean";
31
- };
32
- alignItems: {
33
- options: string[];
34
- };
35
- justifyContent: {
36
- options: string[];
37
- };
38
- paddingX: {
39
- control: "number";
40
- };
41
- paddingY: {
42
- control: "number";
43
- };
44
- children: {
45
- control: "text";
46
- };
47
- rounded: {
48
- topLeft: {
49
- control: string;
50
- };
51
- topRight: {
52
- control: string;
53
- };
54
- bottomLeft: {
55
- control: string;
56
- };
57
- bottomRight: {
58
- control: string;
59
- };
60
- };
61
- className: {
62
- control: "text";
63
- };
64
- };
65
- args: {
66
- onClick: import("@vitest/spy").Mock<(...args: any[]) => any>;
67
- };
68
- };
69
- export default meta;
70
- type Story = StoryObj<typeof meta>;
71
- export declare const View: Story;
@@ -1,2 +0,0 @@
1
- import { ViewProps } from "./types.ts";
2
- export default function ViewContainer(props: ViewProps): import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- export interface ViewProps {
2
- display?: "block" | "flex" | "inline-block" | "inline-flex";
3
- isScrollable?: boolean;
4
- direction?: "row" | "column" | "row-reverse" | "column-reverse";
5
- alignItems?: "stretch" | "center" | "flex-start";
6
- justifyContent?: "flex-start" | "center" | "space-between";
7
- width?: number;
8
- height?: number;
9
- backgroundColor?: string;
10
- paddingX?: number;
11
- paddingY?: number;
12
- textColor?: string;
13
- children?: React.ReactNode | string;
14
- rounded?: {
15
- topLeft?: number;
16
- topRight?: number;
17
- bottomLeft?: number;
18
- bottomRight?: number;
19
- } | number;
20
- className?: string;
21
- onClick?: () => void;
22
- }