@redapollos/storm-form 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/storm-form.es.js +58 -59
- package/dist/storm-form.umd.js +8 -8
- package/package.json +1 -6
package/dist/storm-form.es.js
CHANGED
@@ -53,10 +53,10 @@ function vr() {
|
|
53
53
|
}
|
54
54
|
function xe(e, r, t) {
|
55
55
|
{
|
56
|
-
var n = O.ReactDebugCurrentFrame,
|
57
|
-
|
58
|
-
var u = t.map(function(
|
59
|
-
return String(
|
56
|
+
var n = O.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
57
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
58
|
+
var u = t.map(function(i) {
|
59
|
+
return String(i);
|
60
60
|
});
|
61
61
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
62
62
|
}
|
@@ -74,8 +74,8 @@ function vr() {
|
|
74
74
|
var n = e.displayName;
|
75
75
|
if (n)
|
76
76
|
return n;
|
77
|
-
var
|
78
|
-
return
|
77
|
+
var o = r.displayName || r.name || "";
|
78
|
+
return o !== "" ? t + "(" + o + ")" : t;
|
79
79
|
}
|
80
80
|
function ee(e) {
|
81
81
|
return e.displayName || "Context";
|
@@ -115,9 +115,9 @@ function vr() {
|
|
115
115
|
var n = e.displayName || null;
|
116
116
|
return n !== null ? n : E(e.type) || "Memo";
|
117
117
|
case b: {
|
118
|
-
var
|
118
|
+
var o = e, u = o._payload, i = o._init;
|
119
119
|
try {
|
120
|
-
return E(
|
120
|
+
return E(i(u));
|
121
121
|
} catch {
|
122
122
|
return null;
|
123
123
|
}
|
@@ -125,14 +125,14 @@ function vr() {
|
|
125
125
|
}
|
126
126
|
return null;
|
127
127
|
}
|
128
|
-
var y = Object.assign, x = 0, re, te, ne, ae,
|
128
|
+
var y = Object.assign, x = 0, re, te, ne, ae, ie, oe, ue;
|
129
129
|
function se() {
|
130
130
|
}
|
131
131
|
se.__reactDisabledLog = !0;
|
132
132
|
function Ye() {
|
133
133
|
{
|
134
134
|
if (x === 0) {
|
135
|
-
re = console.log, te = console.info, ne = console.warn, ae = console.error,
|
135
|
+
re = console.log, te = console.info, ne = console.warn, ae = console.error, ie = console.group, oe = console.groupCollapsed, ue = console.groupEnd;
|
136
136
|
var e = {
|
137
137
|
configurable: !0,
|
138
138
|
enumerable: !0,
|
@@ -174,10 +174,10 @@ function vr() {
|
|
174
174
|
value: ae
|
175
175
|
}),
|
176
176
|
group: y({}, e, {
|
177
|
-
value:
|
177
|
+
value: ie
|
178
178
|
}),
|
179
179
|
groupCollapsed: y({}, e, {
|
180
|
-
value:
|
180
|
+
value: oe
|
181
181
|
}),
|
182
182
|
groupEnd: y({}, e, {
|
183
183
|
value: ue
|
@@ -193,8 +193,8 @@ function vr() {
|
|
193
193
|
if (q === void 0)
|
194
194
|
try {
|
195
195
|
throw Error();
|
196
|
-
} catch (
|
197
|
-
var n =
|
196
|
+
} catch (o) {
|
197
|
+
var n = o.stack.trim().match(/\n( *(at )?)/);
|
198
198
|
q = n && n[1] || "";
|
199
199
|
}
|
200
200
|
return `
|
@@ -216,33 +216,33 @@ function vr() {
|
|
216
216
|
}
|
217
217
|
var n;
|
218
218
|
B = !0;
|
219
|
-
var
|
219
|
+
var o = Error.prepareStackTrace;
|
220
220
|
Error.prepareStackTrace = void 0;
|
221
221
|
var u;
|
222
222
|
u = J.current, J.current = null, Ye();
|
223
223
|
try {
|
224
224
|
if (r) {
|
225
|
-
var
|
225
|
+
var i = function() {
|
226
226
|
throw Error();
|
227
227
|
};
|
228
|
-
if (Object.defineProperty(
|
228
|
+
if (Object.defineProperty(i.prototype, "props", {
|
229
229
|
set: function() {
|
230
230
|
throw Error();
|
231
231
|
}
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
233
233
|
try {
|
234
|
-
Reflect.construct(
|
234
|
+
Reflect.construct(i, []);
|
235
235
|
} catch (d) {
|
236
236
|
n = d;
|
237
237
|
}
|
238
|
-
Reflect.construct(e, [],
|
238
|
+
Reflect.construct(e, [], i);
|
239
239
|
} else {
|
240
240
|
try {
|
241
|
-
|
241
|
+
i.call();
|
242
242
|
} catch (d) {
|
243
243
|
n = d;
|
244
244
|
}
|
245
|
-
e.call(
|
245
|
+
e.call(i.prototype);
|
246
246
|
}
|
247
247
|
} else {
|
248
248
|
try {
|
@@ -272,7 +272,7 @@ function vr() {
|
|
272
272
|
}
|
273
273
|
}
|
274
274
|
} finally {
|
275
|
-
B = !1, J.current = u, Le(), Error.prepareStackTrace =
|
275
|
+
B = !1, J.current = u, Le(), Error.prepareStackTrace = o;
|
276
276
|
}
|
277
277
|
var P = e ? e.displayName || e.name : "", R = P ? W(P) : "";
|
278
278
|
return typeof e == "function" && Y.set(e, R), R;
|
@@ -304,9 +304,9 @@ function vr() {
|
|
304
304
|
case h:
|
305
305
|
return L(e.type, r, t);
|
306
306
|
case b: {
|
307
|
-
var n = e,
|
307
|
+
var n = e, o = n._payload, u = n._init;
|
308
308
|
try {
|
309
|
-
return L(u(
|
309
|
+
return L(u(o), r, t);
|
310
310
|
} catch {
|
311
311
|
}
|
312
312
|
}
|
@@ -321,22 +321,22 @@ function vr() {
|
|
321
321
|
} else
|
322
322
|
ce.setExtraStackFrame(null);
|
323
323
|
}
|
324
|
-
function Ne(e, r, t, n,
|
324
|
+
function Ne(e, r, t, n, o) {
|
325
325
|
{
|
326
326
|
var u = Function.call.bind(k);
|
327
|
-
for (var
|
328
|
-
if (u(e,
|
327
|
+
for (var i in e)
|
328
|
+
if (u(e, i)) {
|
329
329
|
var a = void 0;
|
330
330
|
try {
|
331
|
-
if (typeof e[
|
332
|
-
var v = Error((n || "React class") + ": " + t + " type `" +
|
331
|
+
if (typeof e[i] != "function") {
|
332
|
+
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`.");
|
333
333
|
throw v.name = "Invariant Violation", v;
|
334
334
|
}
|
335
|
-
a = e[
|
335
|
+
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
336
336
|
} catch (s) {
|
337
337
|
a = s;
|
338
338
|
}
|
339
|
-
a && !(a instanceof Error) && (V(
|
339
|
+
a && !(a instanceof Error) && (V(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), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(o), c("Failed %s type: %s", t, a.message), V(null));
|
340
340
|
}
|
341
341
|
}
|
342
342
|
}
|
@@ -411,7 +411,7 @@ function vr() {
|
|
411
411
|
});
|
412
412
|
}
|
413
413
|
}
|
414
|
-
var Qe = function(e, r, t, n,
|
414
|
+
var Qe = function(e, r, t, n, o, u, i) {
|
415
415
|
var a = {
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
417
417
|
$$typeof: w,
|
@@ -419,7 +419,7 @@ function vr() {
|
|
419
419
|
type: e,
|
420
420
|
key: r,
|
421
421
|
ref: t,
|
422
|
-
props:
|
422
|
+
props: i,
|
423
423
|
// Record the component responsible for creating this element.
|
424
424
|
_owner: u
|
425
425
|
};
|
@@ -437,25 +437,25 @@ function vr() {
|
|
437
437
|
configurable: !1,
|
438
438
|
enumerable: !1,
|
439
439
|
writable: !1,
|
440
|
-
value:
|
440
|
+
value: o
|
441
441
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
442
442
|
};
|
443
|
-
function er(e, r, t, n,
|
443
|
+
function er(e, r, t, n, o) {
|
444
444
|
{
|
445
|
-
var u,
|
446
|
-
t !== void 0 && (de(t), a = "" + t), ze(r) && (de(r.key), a = "" + r.key), Ge(r) && (v = r.ref, Xe(r,
|
445
|
+
var u, i = {}, a = null, v = null;
|
446
|
+
t !== void 0 && (de(t), a = "" + t), ze(r) && (de(r.key), a = "" + r.key), Ge(r) && (v = r.ref, Xe(r, o));
|
447
447
|
for (u in r)
|
448
|
-
k.call(r, u) && !Ke.hasOwnProperty(u) && (
|
448
|
+
k.call(r, u) && !Ke.hasOwnProperty(u) && (i[u] = r[u]);
|
449
449
|
if (e && e.defaultProps) {
|
450
450
|
var s = e.defaultProps;
|
451
451
|
for (u in s)
|
452
|
-
|
452
|
+
i[u] === void 0 && (i[u] = s[u]);
|
453
453
|
}
|
454
454
|
if (a || v) {
|
455
455
|
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
456
|
-
a && He(
|
456
|
+
a && He(i, l), v && Ze(i, l);
|
457
457
|
}
|
458
|
-
return Qe(e, a, v,
|
458
|
+
return Qe(e, a, v, o, n, pe.current, i);
|
459
459
|
}
|
460
460
|
}
|
461
461
|
var G = O.ReactCurrentOwner, Ee = O.ReactDebugCurrentFrame;
|
@@ -524,10 +524,10 @@ Check the top-level render call using <` + t + ">.");
|
|
524
524
|
else if (X(e))
|
525
525
|
e._store && (e._store.validated = !0);
|
526
526
|
else if (e) {
|
527
|
-
var
|
528
|
-
if (typeof
|
529
|
-
for (var u =
|
530
|
-
X(
|
527
|
+
var o = je(e);
|
528
|
+
if (typeof o == "function" && o !== e.entries)
|
529
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
530
|
+
X(i.value) && ye(i.value, r);
|
531
531
|
}
|
532
532
|
}
|
533
533
|
}
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + t + ">.");
|
|
550
550
|
Ne(t, e.props, "prop", n, e);
|
551
551
|
} else if (r.PropTypes !== void 0 && !z) {
|
552
552
|
z = !0;
|
553
|
-
var
|
554
|
-
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
553
|
+
var o = E(r);
|
554
|
+
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
555
555
|
}
|
556
556
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
557
557
|
}
|
@@ -569,10 +569,10 @@ Check the top-level render call using <` + t + ">.");
|
|
569
569
|
}
|
570
570
|
}
|
571
571
|
var me = {};
|
572
|
-
function Te(e, r, t, n,
|
572
|
+
function Te(e, r, t, n, o, u) {
|
573
573
|
{
|
574
|
-
var
|
575
|
-
if (!
|
574
|
+
var i = $e(e);
|
575
|
+
if (!i) {
|
576
576
|
var a = "";
|
577
577
|
(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.");
|
578
578
|
var v = rr();
|
@@ -580,10 +580,10 @@ Check the top-level render call using <` + t + ">.");
|
|
580
580
|
var s;
|
581
581
|
e === null ? s = "null" : K(e) ? s = "array" : e !== void 0 && e.$$typeof === w ? (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);
|
582
582
|
}
|
583
|
-
var l = er(e, r, t,
|
583
|
+
var l = er(e, r, t, o, u);
|
584
584
|
if (l == null)
|
585
585
|
return l;
|
586
|
-
if (
|
586
|
+
if (i) {
|
587
587
|
var g = r.children;
|
588
588
|
if (g !== void 0)
|
589
589
|
if (n)
|
@@ -613,13 +613,13 @@ React keys must be passed directly to JSX without using spread:
|
|
613
613
|
return e === m ? ar(l) : nr(l), l;
|
614
614
|
}
|
615
615
|
}
|
616
|
-
function
|
616
|
+
function ir(e, r, t) {
|
617
617
|
return Te(e, r, t, !0);
|
618
618
|
}
|
619
|
-
function
|
619
|
+
function or(e, r, t) {
|
620
620
|
return Te(e, r, t, !1);
|
621
621
|
}
|
622
|
-
var ur =
|
622
|
+
var ur = or, sr = ir;
|
623
623
|
D.Fragment = m, D.jsx = ur, D.jsxs = sr;
|
624
624
|
}()), D;
|
625
625
|
}
|
@@ -628,13 +628,12 @@ function dr() {
|
|
628
628
|
return Pe || (Pe = 1, process.env.NODE_ENV === "production" ? M.exports = cr() : M.exports = vr()), M.exports;
|
629
629
|
}
|
630
630
|
var C = dr();
|
631
|
-
|
632
|
-
function hr() {
|
631
|
+
function gr() {
|
633
632
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
634
|
-
/* @__PURE__ */ C.jsx("div", { children: /* @__PURE__ */ C.jsx("a", { href: "https://rainstormtech.com", target: "_blank", children: /* @__PURE__ */ C.jsx("img", { src:
|
633
|
+
/* @__PURE__ */ C.jsx("div", { children: /* @__PURE__ */ C.jsx("a", { href: "https://rainstormtech.com", target: "_blank", children: /* @__PURE__ */ C.jsx("img", { src: "logo.svg", className: "logo", alt: "logo" }) }) }),
|
635
634
|
/* @__PURE__ */ C.jsx("h1", { children: "Storm Form" })
|
636
635
|
] });
|
637
636
|
}
|
638
637
|
export {
|
639
|
-
|
638
|
+
gr as default
|
640
639
|
};
|
package/dist/storm-form.umd.js
CHANGED
@@ -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 Q;function je(){if(Q)return x;Q=1;var N=E,F=Symbol.for("react.element"),J=Symbol.for("react.fragment"),S=Object.prototype.hasOwnProperty,W=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function D(R,l,P){var p,
|
9
|
+
*/var Q;function je(){if(Q)return x;Q=1;var N=E,F=Symbol.for("react.element"),J=Symbol.for("react.fragment"),S=Object.prototype.hasOwnProperty,W=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function D(R,l,P){var p,g={},_=null,$=null;P!==void 0&&(_=""+P),l.key!==void 0&&(_=""+l.key),l.ref!==void 0&&($=l.ref);for(p in l)S.call(l,p)&&!Y.hasOwnProperty(p)&&(g[p]=l[p]);if(R&&R.defaultProps)for(p in l=R.defaultProps,l)g[p]===void 0&&(g[p]=l[p]);return{$$typeof:F,type:R,key:_,ref:$,props:g,_owner:W.current}}return x.Fragment=J,x.jsx=D,x.jsxs=D,x}var k={};/**
|
10
10
|
* @license React
|
11
11
|
* react-jsx-runtime.development.js
|
12
12
|
*
|
@@ -14,17 +14,17 @@
|
|
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 ee;function we(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&function(){var N=E,F=Symbol.for("react.element"),J=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),R=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),
|
18
|
-
`+B+e}}var K=!1,V;{var
|
17
|
+
*/var ee;function we(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&function(){var N=E,F=Symbol.for("react.element"),J=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),R=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),te=Symbol.iterator,Fe="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[Fe];return typeof r=="function"?r:null}var C=N.__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];Ae("error",e,t)}}function Ae(e,r,t){{var n=C.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 Ie=!1,We=!1,Ye=!1,$e=!1,Le=!1,ne;ne=Symbol.for("react.module.reference");function Ve(e){return!!(typeof e=="string"||typeof e=="function"||e===S||e===Y||Le||e===W||e===P||e===p||$e||e===$||Ie||We||Ye||typeof e=="object"&&e!==null&&(e.$$typeof===_||e.$$typeof===g||e.$$typeof===D||e.$$typeof===R||e.$$typeof===l||e.$$typeof===ne||e.getModuleId!==void 0))}function Me(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ae(e){return e.displayName||"Context"}function y(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 S:return"Fragment";case J:return"Portal";case Y:return"Profiler";case W:return"StrictMode";case P:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return ae(r)+".Consumer";case D:var t=e;return ae(t._context)+".Provider";case l:return Me(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:y(e.type)||"Memo";case _:{var o=e,u=o._payload,i=o._init;try{return y(i(u))}catch{return null}}}return null}var b=Object.assign,A=0,ie,oe,ue,se,fe,le,ce;function de(){}de.__reactDisabledLog=!0;function Ue(){{if(A===0){ie=console.log,oe=console.info,ue=console.warn,se=console.error,fe=console.group,le=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function Ne(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:b({},e,{value:ie}),info:b({},e,{value:oe}),warn:b({},e,{value:ue}),error:b({},e,{value:se}),group:b({},e,{value:fe}),groupCollapsed:b({},e,{value:le}),groupEnd:b({},e,{value:ce})})}A<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=C.ReactCurrentDispatcher,B;function L(e,r,t){{if(B===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);B=n&&n[1]||""}return`
|
18
|
+
`+B+e}}var K=!1,V;{var Je=typeof WeakMap=="function"?WeakMap:Map;V=new Je}function ve(e,r){if(!e||K)return"";{var t=V.get(e);if(t!==void 0)return t}var n;K=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ue();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(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
19
19
|
`),d=n.stack.split(`
|
20
|
-
`),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var
|
21
|
-
`+a[s].replace(" at new "," at ");return e.displayName&&
|
20
|
+
`),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var h=`
|
21
|
+
`+a[s].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&V.set(e,h),h}while(s>=1&&f>=0);break}}}finally{K=!1,q.current=u,Ne(),Error.prepareStackTrace=o}var w=e?e.displayName||e.name:"",T=w?L(w):"";return typeof e=="function"&&V.set(e,T),T}function qe(e,r,t){return ve(e,!1)}function Be(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function M(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Be(e));if(typeof e=="string")return L(e);switch(e){case P:return L("Suspense");case p:return L("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return qe(e.render);case g:return M(e.type,r,t);case _:{var n=e,o=n._payload,u=n._init;try{return M(u(o),r,t)}catch{}}}return""}var I=Object.prototype.hasOwnProperty,pe={},he=C.ReactDebugCurrentFrame;function U(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Ke(e,r,t,n,o){{var u=Function.call.bind(I);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=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 d.name="Invariant Violation",d}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)&&(U(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),U(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,U(o),c("Failed %s type: %s",t,a.message),U(null))}}}var Ge=Array.isArray;function G(e){return Ge(e)}function ze(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function me(e){if(Xe(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ze(e)),ge(e)}var ye=C.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ee,Re;function Ze(e){if(I.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Qe(e){if(I.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function er(e,r){typeof e.ref=="string"&&ye.current}function rr(e,r){{var t=function(){Ee||(Ee=!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 tr(e,r){{var t=function(){Re||(Re=!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 nr=function(e,r,t,n,o,u,i){var a={$$typeof:F,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 ar(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(me(t),a=""+t),Qe(r)&&(me(r.key),a=""+r.key),Ze(r)&&(d=r.ref,er(r,o));for(u in r)I.call(r,u)&&!He.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||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&rr(i,f),d&&tr(i,f)}return nr(e,a,d,o,n,ye.current,i)}}var z=C.ReactCurrentOwner,_e=C.ReactDebugCurrentFrame;function j(e){if(e){var r=e._owner,t=M(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}var X;X=!1;function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===F}function be(){{if(z.current){var e=y(z.current.type);if(e)return`
|
22
22
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Te={};function
|
23
|
+
Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Te={};function or(e){{var r=be();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
24
24
|
|
25
|
-
Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function Oe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=or(r);if(Te[t])return;Te[t]=!0;var n="";e&&e._owner&&e._owner!==z.current&&(n=" It was passed a child from "+y(e._owner.type)+"."),j(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),j(null)}}function Se(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t<e.length;t++){var n=e[t];H(n)&&Oe(n,r)}else if(H(e))e._store&&(e._store.validated=!0);else if(e){var o=De(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)H(i.value)&&Oe(i.value,r)}}}function ur(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===l||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=y(r);Ke(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var o=y(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 sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){j(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),j(null);break}}e.ref!==null&&(j(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),j(null))}}var Pe={};function Ce(e,r,t,n,o,u){{var i=Ve(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 d=ir();d?a+=d:a+=be();var s;e===null?s="null":G(e)?s="array":e!==void 0&&e.$$typeof===F?(s="<"+(y(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 f=ar(e,r,t,o,u);if(f==null)return f;if(i){var h=r.children;if(h!==void 0)if(n)if(G(h)){for(var w=0;w<h.length;w++)Se(h[w],e);Object.freeze&&Object.freeze(h)}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 Se(h,e)}if(I.call(r,"key")){var T=y(e),v=Object.keys(r).filter(function(pr){return pr!=="key"}),Z=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!Pe[T+Z]){var vr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
|
26
26
|
let props = %s;
|
27
27
|
<%s {...props} />
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
29
29
|
let props = %s;
|
30
|
-
<%s key={someKey} {...props} />`,Z,T,
|
30
|
+
<%s key={someKey} {...props} />`,Z,T,vr,T),Pe[T+Z]=!0}}return e===S?sr(f):ur(f),f}}function fr(e,r,t){return Ce(e,r,t,!0)}function lr(e,r,t){return Ce(e,r,t,!1)}var cr=lr,dr=fr;k.Fragment=S,k.jsx=cr,k.jsxs=dr}()),k}var re;function xe(){return re||(re=1,process.env.NODE_ENV==="production"?m.exports=je():m.exports=we()),m.exports}var O=xe();function ke(){return O.jsxs(O.Fragment,{children:[O.jsx("div",{children:O.jsx("a",{href:"https://rainstormtech.com",target:"_blank",children:O.jsx("img",{src:"logo.svg",className:"logo",alt:"logo"})})}),O.jsx("h1",{children:"Storm Form"})]})}return ke});
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@redapollos/storm-form",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.9",
|
5
5
|
"description": "A form library for StormCMS",
|
6
6
|
"author": "redapollos",
|
7
7
|
"type": "module",
|
@@ -12,16 +12,11 @@
|
|
12
12
|
"lint": "eslint ."
|
13
13
|
},
|
14
14
|
"dependencies": {
|
15
|
-
"next": "^15.1.3",
|
16
15
|
"react": "^18.3.1",
|
17
16
|
"react-dom": "^18.3.1",
|
18
17
|
"vite": "^6.0.6"
|
19
18
|
},
|
20
19
|
"devDependencies": {
|
21
|
-
"@babel/cli": "^7.26.4",
|
22
|
-
"@babel/core": "^7.26.0",
|
23
|
-
"@babel/preset-env": "^7.26.0",
|
24
|
-
"@babel/preset-react": "^7.26.3",
|
25
20
|
"@eslint/js": "^9.17.0",
|
26
21
|
"@types/react": "^18.3.18",
|
27
22
|
"@types/react-dom": "^18.3.5",
|