@raspberrypifoundation/design-system-react 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -4
- package/dist/design-system-react.css +1 -1
- package/dist/design-system-react.js +199 -184
- package/dist/design-system-react.umd.cjs +6 -6
- package/dist/scss/components/alert.scss +39 -16
- package/dist/scss/components/forms/error-message.scss +1 -0
- package/dist/scss/components/forms/fieldset.scss +13 -17
- package/dist/scss/components/forms/input-checkbox.scss +18 -12
- package/dist/scss/components/forms/input-label.scss +2 -1
- package/dist/scss/components/forms/input-radio.scss +17 -12
- package/dist/scss/components/progress-bar.scss +61 -17
- package/package.json +2 -2
|
@@ -14,7 +14,7 @@ function je() {
|
|
|
14
14
|
return me || (me = 1, function(r) {
|
|
15
15
|
(function() {
|
|
16
16
|
var s = {}.hasOwnProperty;
|
|
17
|
-
function
|
|
17
|
+
function o() {
|
|
18
18
|
for (var n = "", u = 0; u < arguments.length; u++) {
|
|
19
19
|
var p = arguments[u];
|
|
20
20
|
p && (n = i(n, a(p)));
|
|
@@ -27,7 +27,7 @@ function je() {
|
|
|
27
27
|
if (typeof n != "object")
|
|
28
28
|
return "";
|
|
29
29
|
if (Array.isArray(n))
|
|
30
|
-
return
|
|
30
|
+
return o.apply(null, n);
|
|
31
31
|
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]"))
|
|
32
32
|
return n.toString();
|
|
33
33
|
var u = "";
|
|
@@ -38,12 +38,12 @@ function je() {
|
|
|
38
38
|
function i(n, u) {
|
|
39
39
|
return u ? n ? n + " " + u : n + u : n;
|
|
40
40
|
}
|
|
41
|
-
r.exports ? (
|
|
41
|
+
r.exports ? (o.default = o, r.exports = o) : window.classNames = o;
|
|
42
42
|
})();
|
|
43
43
|
}(se)), se.exports;
|
|
44
44
|
}
|
|
45
45
|
var qe = je();
|
|
46
|
-
const
|
|
46
|
+
const k = /* @__PURE__ */ Pe(qe);
|
|
47
47
|
var X = { exports: {} }, G = { exports: {} }, C = {};
|
|
48
48
|
/** @license React v16.13.1
|
|
49
49
|
* react-is.production.min.js
|
|
@@ -57,66 +57,66 @@ var ve;
|
|
|
57
57
|
function Ie() {
|
|
58
58
|
if (ve) return C;
|
|
59
59
|
ve = 1;
|
|
60
|
-
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103,
|
|
61
|
-
function $(
|
|
62
|
-
if (typeof
|
|
63
|
-
var z =
|
|
60
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, o = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, n = r ? Symbol.for("react.profiler") : 60114, u = r ? Symbol.for("react.provider") : 60109, p = r ? Symbol.for("react.context") : 60110, v = r ? Symbol.for("react.async_mode") : 60111, _ = r ? Symbol.for("react.concurrent_mode") : 60111, g = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, A = r ? Symbol.for("react.suspense_list") : 60120, j = r ? Symbol.for("react.memo") : 60115, M = r ? Symbol.for("react.lazy") : 60116, N = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, Y = r ? Symbol.for("react.responder") : 60118, L = r ? Symbol.for("react.scope") : 60119;
|
|
61
|
+
function $(l) {
|
|
62
|
+
if (typeof l == "object" && l !== null) {
|
|
63
|
+
var z = l.$$typeof;
|
|
64
64
|
switch (z) {
|
|
65
65
|
case s:
|
|
66
|
-
switch (
|
|
66
|
+
switch (l = l.type, l) {
|
|
67
67
|
case v:
|
|
68
68
|
case _:
|
|
69
69
|
case a:
|
|
70
70
|
case n:
|
|
71
71
|
case i:
|
|
72
72
|
case E:
|
|
73
|
-
return
|
|
73
|
+
return l;
|
|
74
74
|
default:
|
|
75
|
-
switch (
|
|
75
|
+
switch (l = l && l.$$typeof, l) {
|
|
76
76
|
case p:
|
|
77
77
|
case g:
|
|
78
|
-
case
|
|
78
|
+
case M:
|
|
79
79
|
case j:
|
|
80
80
|
case u:
|
|
81
|
-
return
|
|
81
|
+
return l;
|
|
82
82
|
default:
|
|
83
83
|
return z;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
case
|
|
86
|
+
case o:
|
|
87
87
|
return z;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
function q(
|
|
92
|
-
return $(
|
|
91
|
+
function q(l) {
|
|
92
|
+
return $(l) === _;
|
|
93
93
|
}
|
|
94
|
-
return C.AsyncMode = v, C.ConcurrentMode = _, C.ContextConsumer = p, C.ContextProvider = u, C.Element = s, C.ForwardRef = g, C.Fragment = a, C.Lazy =
|
|
95
|
-
return q(
|
|
96
|
-
}, C.isConcurrentMode = q, C.isContextConsumer = function(
|
|
97
|
-
return $(
|
|
98
|
-
}, C.isContextProvider = function(
|
|
99
|
-
return $(
|
|
100
|
-
}, C.isElement = function(
|
|
101
|
-
return typeof
|
|
102
|
-
}, C.isForwardRef = function(
|
|
103
|
-
return $(
|
|
104
|
-
}, C.isFragment = function(
|
|
105
|
-
return $(
|
|
106
|
-
}, C.isLazy = function(
|
|
107
|
-
return $(
|
|
108
|
-
}, C.isMemo = function(
|
|
109
|
-
return $(
|
|
110
|
-
}, C.isPortal = function(
|
|
111
|
-
return $(
|
|
112
|
-
}, C.isProfiler = function(
|
|
113
|
-
return $(
|
|
114
|
-
}, C.isStrictMode = function(
|
|
115
|
-
return $(
|
|
116
|
-
}, C.isSuspense = function(
|
|
117
|
-
return $(
|
|
118
|
-
}, C.isValidElementType = function(
|
|
119
|
-
return typeof
|
|
94
|
+
return C.AsyncMode = v, C.ConcurrentMode = _, C.ContextConsumer = p, C.ContextProvider = u, C.Element = s, C.ForwardRef = g, C.Fragment = a, C.Lazy = M, C.Memo = j, C.Portal = o, C.Profiler = n, C.StrictMode = i, C.Suspense = E, C.isAsyncMode = function(l) {
|
|
95
|
+
return q(l) || $(l) === v;
|
|
96
|
+
}, C.isConcurrentMode = q, C.isContextConsumer = function(l) {
|
|
97
|
+
return $(l) === p;
|
|
98
|
+
}, C.isContextProvider = function(l) {
|
|
99
|
+
return $(l) === u;
|
|
100
|
+
}, C.isElement = function(l) {
|
|
101
|
+
return typeof l == "object" && l !== null && l.$$typeof === s;
|
|
102
|
+
}, C.isForwardRef = function(l) {
|
|
103
|
+
return $(l) === g;
|
|
104
|
+
}, C.isFragment = function(l) {
|
|
105
|
+
return $(l) === a;
|
|
106
|
+
}, C.isLazy = function(l) {
|
|
107
|
+
return $(l) === M;
|
|
108
|
+
}, C.isMemo = function(l) {
|
|
109
|
+
return $(l) === j;
|
|
110
|
+
}, C.isPortal = function(l) {
|
|
111
|
+
return $(l) === o;
|
|
112
|
+
}, C.isProfiler = function(l) {
|
|
113
|
+
return $(l) === n;
|
|
114
|
+
}, C.isStrictMode = function(l) {
|
|
115
|
+
return $(l) === i;
|
|
116
|
+
}, C.isSuspense = function(l) {
|
|
117
|
+
return $(l) === E;
|
|
118
|
+
}, C.isValidElementType = function(l) {
|
|
119
|
+
return typeof l == "string" || typeof l == "function" || l === a || l === _ || l === n || l === i || l === E || l === A || typeof l == "object" && l !== null && (l.$$typeof === M || l.$$typeof === j || l.$$typeof === u || l.$$typeof === p || l.$$typeof === g || l.$$typeof === I || l.$$typeof === Y || l.$$typeof === L || l.$$typeof === N);
|
|
120
120
|
}, C.typeOf = $, C;
|
|
121
121
|
}
|
|
122
122
|
var x = {};
|
|
@@ -131,17 +131,17 @@ var x = {};
|
|
|
131
131
|
var ge;
|
|
132
132
|
function $e() {
|
|
133
133
|
return ge || (ge = 1, process.env.NODE_ENV !== "production" && function() {
|
|
134
|
-
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103,
|
|
135
|
-
function $(
|
|
136
|
-
return typeof
|
|
137
|
-
|
|
134
|
+
var r = typeof Symbol == "function" && Symbol.for, s = r ? Symbol.for("react.element") : 60103, o = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, n = r ? Symbol.for("react.profiler") : 60114, u = r ? Symbol.for("react.provider") : 60109, p = r ? Symbol.for("react.context") : 60110, v = r ? Symbol.for("react.async_mode") : 60111, _ = r ? Symbol.for("react.concurrent_mode") : 60111, g = r ? Symbol.for("react.forward_ref") : 60112, E = r ? Symbol.for("react.suspense") : 60113, A = r ? Symbol.for("react.suspense_list") : 60120, j = r ? Symbol.for("react.memo") : 60115, M = r ? Symbol.for("react.lazy") : 60116, N = r ? Symbol.for("react.block") : 60121, I = r ? Symbol.for("react.fundamental") : 60117, Y = r ? Symbol.for("react.responder") : 60118, L = r ? Symbol.for("react.scope") : 60119;
|
|
135
|
+
function $(c) {
|
|
136
|
+
return typeof c == "string" || typeof c == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
137
|
+
c === a || c === _ || c === n || c === i || c === E || c === A || typeof c == "object" && c !== null && (c.$$typeof === M || c.$$typeof === j || c.$$typeof === u || c.$$typeof === p || c.$$typeof === g || c.$$typeof === I || c.$$typeof === Y || c.$$typeof === L || c.$$typeof === N);
|
|
138
138
|
}
|
|
139
|
-
function q(
|
|
140
|
-
if (typeof
|
|
141
|
-
var F =
|
|
139
|
+
function q(c) {
|
|
140
|
+
if (typeof c == "object" && c !== null) {
|
|
141
|
+
var F = c.$$typeof;
|
|
142
142
|
switch (F) {
|
|
143
143
|
case s:
|
|
144
|
-
var J =
|
|
144
|
+
var J = c.type;
|
|
145
145
|
switch (J) {
|
|
146
146
|
case v:
|
|
147
147
|
case _:
|
|
@@ -155,7 +155,7 @@ function $e() {
|
|
|
155
155
|
switch (he) {
|
|
156
156
|
case p:
|
|
157
157
|
case g:
|
|
158
|
-
case
|
|
158
|
+
case M:
|
|
159
159
|
case j:
|
|
160
160
|
case u:
|
|
161
161
|
return he;
|
|
@@ -163,52 +163,52 @@ function $e() {
|
|
|
163
163
|
return F;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
case
|
|
166
|
+
case o:
|
|
167
167
|
return F;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
var
|
|
172
|
-
function ie(
|
|
173
|
-
return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), t(
|
|
171
|
+
var l = v, z = _, Z = p, Q = u, ee = s, re = g, V = a, te = M, ne = j, B = o, ae = n, D = i, U = E, H = !1;
|
|
172
|
+
function ie(c) {
|
|
173
|
+
return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), t(c) || q(c) === v;
|
|
174
174
|
}
|
|
175
|
-
function t(
|
|
176
|
-
return q(
|
|
175
|
+
function t(c) {
|
|
176
|
+
return q(c) === _;
|
|
177
177
|
}
|
|
178
|
-
function f(
|
|
179
|
-
return q(
|
|
178
|
+
function f(c) {
|
|
179
|
+
return q(c) === p;
|
|
180
180
|
}
|
|
181
|
-
function T(
|
|
182
|
-
return q(
|
|
181
|
+
function T(c) {
|
|
182
|
+
return q(c) === u;
|
|
183
183
|
}
|
|
184
|
-
function h(
|
|
185
|
-
return typeof
|
|
184
|
+
function h(c) {
|
|
185
|
+
return typeof c == "object" && c !== null && c.$$typeof === s;
|
|
186
186
|
}
|
|
187
|
-
function y(
|
|
188
|
-
return q(
|
|
187
|
+
function y(c) {
|
|
188
|
+
return q(c) === g;
|
|
189
189
|
}
|
|
190
|
-
function R(
|
|
191
|
-
return q(
|
|
190
|
+
function R(c) {
|
|
191
|
+
return q(c) === a;
|
|
192
192
|
}
|
|
193
|
-
function b(
|
|
194
|
-
return q(
|
|
193
|
+
function b(c) {
|
|
194
|
+
return q(c) === M;
|
|
195
195
|
}
|
|
196
|
-
function m(
|
|
197
|
-
return q(
|
|
196
|
+
function m(c) {
|
|
197
|
+
return q(c) === j;
|
|
198
198
|
}
|
|
199
|
-
function O(
|
|
200
|
-
return q(
|
|
199
|
+
function O(c) {
|
|
200
|
+
return q(c) === o;
|
|
201
201
|
}
|
|
202
|
-
function P(
|
|
203
|
-
return q(
|
|
202
|
+
function P(c) {
|
|
203
|
+
return q(c) === n;
|
|
204
204
|
}
|
|
205
|
-
function S(
|
|
206
|
-
return q(
|
|
205
|
+
function S(c) {
|
|
206
|
+
return q(c) === i;
|
|
207
207
|
}
|
|
208
|
-
function W(
|
|
209
|
-
return q(
|
|
208
|
+
function W(c) {
|
|
209
|
+
return q(c) === E;
|
|
210
210
|
}
|
|
211
|
-
x.AsyncMode =
|
|
211
|
+
x.AsyncMode = l, x.ConcurrentMode = z, x.ContextConsumer = Z, x.ContextProvider = Q, x.Element = ee, x.ForwardRef = re, x.Fragment = V, x.Lazy = te, x.Memo = ne, x.Portal = B, x.Profiler = ae, x.StrictMode = D, x.Suspense = U, x.isAsyncMode = ie, x.isConcurrentMode = t, x.isContextConsumer = f, x.isContextProvider = T, x.isElement = h, x.isForwardRef = y, x.isFragment = R, x.isLazy = b, x.isMemo = m, x.isPortal = O, x.isProfiler = P, x.isStrictMode = S, x.isSuspense = W, x.isValidElementType = $, x.typeOf = q;
|
|
212
212
|
}()), x;
|
|
213
213
|
}
|
|
214
214
|
var Te;
|
|
@@ -224,7 +224,7 @@ var oe, _e;
|
|
|
224
224
|
function ke() {
|
|
225
225
|
if (_e) return oe;
|
|
226
226
|
_e = 1;
|
|
227
|
-
var r = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty,
|
|
227
|
+
var r = Object.getOwnPropertySymbols, s = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
228
228
|
function a(n) {
|
|
229
229
|
if (n == null)
|
|
230
230
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -260,7 +260,7 @@ function ke() {
|
|
|
260
260
|
if (r) {
|
|
261
261
|
_ = r(p);
|
|
262
262
|
for (var A = 0; A < _.length; A++)
|
|
263
|
-
|
|
263
|
+
o.call(p, _[A]) && (v[_[A]] = p[_[A]]);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
return v;
|
|
@@ -284,7 +284,7 @@ function Me() {
|
|
|
284
284
|
var r = function() {
|
|
285
285
|
};
|
|
286
286
|
if (process.env.NODE_ENV !== "production") {
|
|
287
|
-
var s = /* @__PURE__ */ be(),
|
|
287
|
+
var s = /* @__PURE__ */ be(), o = {}, a = /* @__PURE__ */ Ne();
|
|
288
288
|
r = function(n) {
|
|
289
289
|
var u = "Warning: " + n;
|
|
290
290
|
typeof console < "u" && console.error(u);
|
|
@@ -307,13 +307,13 @@ function Me() {
|
|
|
307
307
|
throw A.name = "Invariant Violation", A;
|
|
308
308
|
}
|
|
309
309
|
E = n[g](u, g, v, p, null, s);
|
|
310
|
-
} catch (
|
|
311
|
-
E =
|
|
310
|
+
} catch (M) {
|
|
311
|
+
E = M;
|
|
312
312
|
}
|
|
313
313
|
if (E && !(E instanceof Error) && r(
|
|
314
314
|
(v || "React class") + ": type specification of " + p + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
315
|
-
), E instanceof Error && !(E.message in
|
|
316
|
-
|
|
315
|
+
), E instanceof Error && !(E.message in o)) {
|
|
316
|
+
o[E.message] = !0;
|
|
317
317
|
var j = _ ? _() : "";
|
|
318
318
|
r(
|
|
319
319
|
"Failed " + p + " type: " + E.message + (j ?? "")
|
|
@@ -323,14 +323,14 @@ function Me() {
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
return i.resetWarningCache = function() {
|
|
326
|
-
process.env.NODE_ENV !== "production" && (
|
|
326
|
+
process.env.NODE_ENV !== "production" && (o = {});
|
|
327
327
|
}, fe = i, fe;
|
|
328
328
|
}
|
|
329
329
|
var ue, Se;
|
|
330
330
|
function Ye() {
|
|
331
331
|
if (Se) return ue;
|
|
332
332
|
Se = 1;
|
|
333
|
-
var r = we(), s = ke(),
|
|
333
|
+
var r = we(), s = ke(), o = /* @__PURE__ */ be(), a = /* @__PURE__ */ Ne(), i = /* @__PURE__ */ Me(), n = function() {
|
|
334
334
|
};
|
|
335
335
|
process.env.NODE_ENV !== "production" && (n = function(p) {
|
|
336
336
|
var v = "Warning: " + p;
|
|
@@ -351,18 +351,18 @@ function Ye() {
|
|
|
351
351
|
return f;
|
|
352
352
|
}
|
|
353
353
|
var A = "<<anonymous>>", j = {
|
|
354
|
-
array:
|
|
355
|
-
bigint:
|
|
356
|
-
bool:
|
|
357
|
-
func:
|
|
358
|
-
number:
|
|
359
|
-
object:
|
|
360
|
-
string:
|
|
361
|
-
symbol:
|
|
354
|
+
array: Y("array"),
|
|
355
|
+
bigint: Y("bigint"),
|
|
356
|
+
bool: Y("boolean"),
|
|
357
|
+
func: Y("function"),
|
|
358
|
+
number: Y("number"),
|
|
359
|
+
object: Y("object"),
|
|
360
|
+
string: Y("string"),
|
|
361
|
+
symbol: Y("symbol"),
|
|
362
362
|
any: L(),
|
|
363
363
|
arrayOf: $,
|
|
364
364
|
element: q(),
|
|
365
|
-
elementType:
|
|
365
|
+
elementType: l(),
|
|
366
366
|
instanceOf: z,
|
|
367
367
|
node: re(),
|
|
368
368
|
objectOf: Q,
|
|
@@ -371,7 +371,7 @@ function Ye() {
|
|
|
371
371
|
shape: te,
|
|
372
372
|
exact: ne
|
|
373
373
|
};
|
|
374
|
-
function
|
|
374
|
+
function M(t, f) {
|
|
375
375
|
return t === f ? t !== 0 || 1 / t === 1 / f : t !== t && f !== f;
|
|
376
376
|
}
|
|
377
377
|
function N(t, f) {
|
|
@@ -382,12 +382,12 @@ function Ye() {
|
|
|
382
382
|
if (process.env.NODE_ENV !== "production")
|
|
383
383
|
var f = {}, T = 0;
|
|
384
384
|
function h(R, b, m, O, P, S, W) {
|
|
385
|
-
if (O = O || A, S = S || m, W !==
|
|
385
|
+
if (O = O || A, S = S || m, W !== o) {
|
|
386
386
|
if (v) {
|
|
387
|
-
var
|
|
387
|
+
var c = new Error(
|
|
388
388
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
389
389
|
);
|
|
390
|
-
throw
|
|
390
|
+
throw c.name = "Invariant Violation", c;
|
|
391
391
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
392
392
|
var F = O + ":" + m;
|
|
393
393
|
!f[F] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -401,7 +401,7 @@ function Ye() {
|
|
|
401
401
|
var y = h.bind(null, !1);
|
|
402
402
|
return y.isRequired = h.bind(null, !0), y;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Y(t) {
|
|
405
405
|
function f(T, h, y, R, b, m) {
|
|
406
406
|
var O = T[h], P = D(O);
|
|
407
407
|
if (P !== t) {
|
|
@@ -428,7 +428,7 @@ function Ye() {
|
|
|
428
428
|
return new N("Invalid " + R + " `" + b + "` of type " + ("`" + O + "` supplied to `" + y + "`, expected an array."));
|
|
429
429
|
}
|
|
430
430
|
for (var P = 0; P < m.length; P++) {
|
|
431
|
-
var S = t(m, P, y, R, b + "[" + P + "]",
|
|
431
|
+
var S = t(m, P, y, R, b + "[" + P + "]", o);
|
|
432
432
|
if (S instanceof Error)
|
|
433
433
|
return S;
|
|
434
434
|
}
|
|
@@ -447,7 +447,7 @@ function Ye() {
|
|
|
447
447
|
}
|
|
448
448
|
return I(t);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function l() {
|
|
451
451
|
function t(f, T, h, y, R) {
|
|
452
452
|
var b = f[T];
|
|
453
453
|
if (!r.isValidElementType(b)) {
|
|
@@ -475,11 +475,11 @@ function Ye() {
|
|
|
475
475
|
) : n("Invalid argument supplied to oneOf, expected an array.")), u;
|
|
476
476
|
function f(T, h, y, R, b) {
|
|
477
477
|
for (var m = T[h], O = 0; O < t.length; O++)
|
|
478
|
-
if (
|
|
478
|
+
if (M(m, t[O]))
|
|
479
479
|
return null;
|
|
480
|
-
var P = JSON.stringify(t, function(W,
|
|
481
|
-
var F = U(
|
|
482
|
-
return F === "symbol" ? String(
|
|
480
|
+
var P = JSON.stringify(t, function(W, c) {
|
|
481
|
+
var F = U(c);
|
|
482
|
+
return F === "symbol" ? String(c) : c;
|
|
483
483
|
});
|
|
484
484
|
return new N("Invalid " + R + " `" + b + "` of value `" + String(m) + "` " + ("supplied to `" + y + "`, expected one of " + P + "."));
|
|
485
485
|
}
|
|
@@ -494,7 +494,7 @@ function Ye() {
|
|
|
494
494
|
return new N("Invalid " + R + " `" + b + "` of type " + ("`" + O + "` supplied to `" + y + "`, expected an object."));
|
|
495
495
|
for (var P in m)
|
|
496
496
|
if (a(m, P)) {
|
|
497
|
-
var S = t(m, P, y, R, b + "." + P,
|
|
497
|
+
var S = t(m, P, y, R, b + "." + P, o);
|
|
498
498
|
if (S instanceof Error)
|
|
499
499
|
return S;
|
|
500
500
|
}
|
|
@@ -514,10 +514,10 @@ function Ye() {
|
|
|
514
514
|
}
|
|
515
515
|
function h(y, R, b, m, O) {
|
|
516
516
|
for (var P = [], S = 0; S < t.length; S++) {
|
|
517
|
-
var W = t[S],
|
|
518
|
-
if (
|
|
517
|
+
var W = t[S], c = W(y, R, b, m, O, o);
|
|
518
|
+
if (c == null)
|
|
519
519
|
return null;
|
|
520
|
-
|
|
520
|
+
c.data && a(c.data, "expectedType") && P.push(c.data.expectedType);
|
|
521
521
|
}
|
|
522
522
|
var F = P.length > 0 ? ", expected one of type [" + P.join(", ") + "]" : "";
|
|
523
523
|
return new N("Invalid " + m + " `" + O + "` supplied to " + ("`" + b + "`" + F + "."));
|
|
@@ -544,7 +544,7 @@ function Ye() {
|
|
|
544
544
|
var S = t[P];
|
|
545
545
|
if (typeof S != "function")
|
|
546
546
|
return V(y, R, b, P, U(S));
|
|
547
|
-
var W = S(m, P, y, R, b + "." + P,
|
|
547
|
+
var W = S(m, P, y, R, b + "." + P, o);
|
|
548
548
|
if (W)
|
|
549
549
|
return W;
|
|
550
550
|
}
|
|
@@ -567,9 +567,9 @@ function Ye() {
|
|
|
567
567
|
"Invalid " + R + " `" + b + "` key `" + S + "` supplied to `" + y + "`.\nBad object: " + JSON.stringify(T[h], null, " ") + `
|
|
568
568
|
Valid keys: ` + JSON.stringify(Object.keys(t), null, " ")
|
|
569
569
|
);
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
return
|
|
570
|
+
var c = W(m, S, y, R, b + "." + S, o);
|
|
571
|
+
if (c)
|
|
572
|
+
return c;
|
|
573
573
|
}
|
|
574
574
|
return null;
|
|
575
575
|
}
|
|
@@ -654,9 +654,9 @@ function We() {
|
|
|
654
654
|
var r = /* @__PURE__ */ be();
|
|
655
655
|
function s() {
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function o() {
|
|
658
658
|
}
|
|
659
|
-
return
|
|
659
|
+
return o.resetWarningCache = s, pe = function() {
|
|
660
660
|
function a(u, p, v, _, g, E) {
|
|
661
661
|
if (E !== r) {
|
|
662
662
|
var A = new Error(
|
|
@@ -689,7 +689,7 @@ function We() {
|
|
|
689
689
|
oneOfType: i,
|
|
690
690
|
shape: i,
|
|
691
691
|
exact: i,
|
|
692
|
-
checkPropTypes:
|
|
692
|
+
checkPropTypes: o,
|
|
693
693
|
resetWarningCache: s
|
|
694
694
|
};
|
|
695
695
|
return n.PropTypes = n, n;
|
|
@@ -706,8 +706,8 @@ function De() {
|
|
|
706
706
|
return X.exports;
|
|
707
707
|
}
|
|
708
708
|
var Fe = /* @__PURE__ */ De();
|
|
709
|
-
const e = /* @__PURE__ */ Pe(Fe), Le = ({ content: r, title: s, className:
|
|
710
|
-
const i =
|
|
709
|
+
const e = /* @__PURE__ */ Pe(Fe), Le = ({ content: r, title: s, className: o, id: a = "accordion" }) => {
|
|
710
|
+
const i = k("rpf-accordion", o);
|
|
711
711
|
return /* @__PURE__ */ w("details", { className: i, id: `${a}`, children: [
|
|
712
712
|
/* @__PURE__ */ w("summary", { className: "rpf-accordion__title", role: "button", children: [
|
|
713
713
|
s,
|
|
@@ -725,7 +725,7 @@ Le.propTypes = {
|
|
|
725
725
|
const de = ({
|
|
726
726
|
text: r,
|
|
727
727
|
href: s,
|
|
728
|
-
title:
|
|
728
|
+
title: o,
|
|
729
729
|
className: a,
|
|
730
730
|
type: i = "primary",
|
|
731
731
|
variant: n = "",
|
|
@@ -738,10 +738,10 @@ const de = ({
|
|
|
738
738
|
onClick: A = () => {
|
|
739
739
|
},
|
|
740
740
|
"aria-label": j = "",
|
|
741
|
-
linkComponent:
|
|
741
|
+
linkComponent: M
|
|
742
742
|
// to pass in react-router-dom Link component
|
|
743
743
|
}) => {
|
|
744
|
-
const N = p && v, I =
|
|
744
|
+
const N = p && v, I = k(
|
|
745
745
|
// Static classes
|
|
746
746
|
"rpf-button",
|
|
747
747
|
// Conditional classes
|
|
@@ -755,20 +755,20 @@ const de = ({
|
|
|
755
755
|
},
|
|
756
756
|
a
|
|
757
757
|
);
|
|
758
|
-
let
|
|
759
|
-
Ae.isValidElement(p) ? (
|
|
758
|
+
let Y = "rpf-button__icon";
|
|
759
|
+
Ae.isValidElement(p) ? (Y += " icon", console.warn(
|
|
760
760
|
"DEPRECATED: icons as React elements will not be supported in future releases"
|
|
761
|
-
)) :
|
|
762
|
-
const L = (
|
|
761
|
+
)) : Y += " material-symbols-sharp";
|
|
762
|
+
const L = (l) => p && _ === l && /* @__PURE__ */ d("span", { className: Y, children: p }), $ = () => r && !N && /* @__PURE__ */ d("span", { className: "text", children: r }), q = /* @__PURE__ */ w(ye, { children: [
|
|
763
763
|
L("left"),
|
|
764
764
|
$(),
|
|
765
765
|
L("right")
|
|
766
766
|
] });
|
|
767
767
|
return s ? /* @__PURE__ */ d(
|
|
768
|
-
|
|
768
|
+
M || "a",
|
|
769
769
|
{
|
|
770
770
|
className: I,
|
|
771
|
-
...
|
|
771
|
+
...M ? { to: s } : { href: s, role: "button" },
|
|
772
772
|
onClick: A,
|
|
773
773
|
"aria-label": j,
|
|
774
774
|
children: q
|
|
@@ -777,7 +777,7 @@ const de = ({
|
|
|
777
777
|
"button",
|
|
778
778
|
{
|
|
779
779
|
className: I,
|
|
780
|
-
title:
|
|
780
|
+
title: o,
|
|
781
781
|
onClick: A,
|
|
782
782
|
disabled: E,
|
|
783
783
|
"aria-label": j,
|
|
@@ -802,7 +802,7 @@ de.propTypes = {
|
|
|
802
802
|
variant: e.string,
|
|
803
803
|
linkComponent: e.elementType
|
|
804
804
|
};
|
|
805
|
-
const ze = ({ title: r, text: s, children:
|
|
805
|
+
const ze = ({ title: r, text: s, children: o, type: a, actions: i, onClose: n }) => /* @__PURE__ */ w("div", { className: `rpf-alert rpf-alert--${a}`, children: [
|
|
806
806
|
/* @__PURE__ */ w("div", { className: "rpf-alert__header", children: [
|
|
807
807
|
/* @__PURE__ */ d("span", { className: "rpf-alert__icon material-symbols-sharp" }),
|
|
808
808
|
/* @__PURE__ */ d("p", { className: "rpf-alert__title", children: r }),
|
|
@@ -817,9 +817,9 @@ const ze = ({ title: r, text: s, children: c, type: a, actions: i, onClose: n })
|
|
|
817
817
|
}
|
|
818
818
|
) })
|
|
819
819
|
] }),
|
|
820
|
-
(s ||
|
|
821
|
-
!
|
|
822
|
-
|
|
820
|
+
(s || o || i) && /* @__PURE__ */ w("div", { className: "rpf-alert__body", children: [
|
|
821
|
+
!o && s && /* @__PURE__ */ d("p", { children: s }),
|
|
822
|
+
o && /* @__PURE__ */ d("div", { children: o }),
|
|
823
823
|
i && i.length > 0 && /* @__PURE__ */ d("div", { className: "rpf-alert__actions", children: i.map((u) => /* @__PURE__ */ d(
|
|
824
824
|
de,
|
|
825
825
|
{
|
|
@@ -850,7 +850,7 @@ ze.propTypes = {
|
|
|
850
850
|
const Ue = ({
|
|
851
851
|
id: r,
|
|
852
852
|
label: s,
|
|
853
|
-
name:
|
|
853
|
+
name: o,
|
|
854
854
|
checked: a = !1,
|
|
855
855
|
disabled: i = !1,
|
|
856
856
|
error: n = "",
|
|
@@ -862,24 +862,23 @@ const Ue = ({
|
|
|
862
862
|
/* @__PURE__ */ w(
|
|
863
863
|
"label",
|
|
864
864
|
{
|
|
865
|
-
className:
|
|
865
|
+
className: k("rpf-input-checkbox", {
|
|
866
866
|
"rpf-input-checkbox--error": n,
|
|
867
867
|
className: v
|
|
868
868
|
}),
|
|
869
869
|
children: [
|
|
870
|
-
/* @__PURE__ */ d(
|
|
870
|
+
/* @__PURE__ */ d(
|
|
871
871
|
"input",
|
|
872
872
|
{
|
|
873
873
|
checked: !!a,
|
|
874
874
|
disabled: i,
|
|
875
875
|
id: r,
|
|
876
|
-
name:
|
|
876
|
+
name: o,
|
|
877
877
|
onChange: u,
|
|
878
878
|
type: "checkbox",
|
|
879
879
|
value: p
|
|
880
880
|
}
|
|
881
|
-
)
|
|
882
|
-
/* @__PURE__ */ d("span", { className: "checkmark" }),
|
|
881
|
+
),
|
|
883
882
|
s
|
|
884
883
|
]
|
|
885
884
|
}
|
|
@@ -903,16 +902,16 @@ Ue.propTypes = {
|
|
|
903
902
|
const Be = ({
|
|
904
903
|
disabled: r = !1,
|
|
905
904
|
errorText: s = "",
|
|
906
|
-
fullWidth:
|
|
905
|
+
fullWidth: o = !1,
|
|
907
906
|
legendText: a,
|
|
908
907
|
legendHintText: i = "",
|
|
909
908
|
children: n
|
|
910
909
|
}) => /* @__PURE__ */ w(
|
|
911
910
|
"fieldset",
|
|
912
911
|
{
|
|
913
|
-
className:
|
|
912
|
+
className: k("rpf-fieldset", {
|
|
914
913
|
"rpf-fieldset--disabled": r,
|
|
915
|
-
"rpf-fieldset--full-width":
|
|
914
|
+
"rpf-fieldset--full-width": o,
|
|
916
915
|
"rpf-fieldset--error": s
|
|
917
916
|
}),
|
|
918
917
|
disabled: r,
|
|
@@ -940,7 +939,7 @@ Be.propTypes = {
|
|
|
940
939
|
const K = ({
|
|
941
940
|
id: r,
|
|
942
941
|
label: s,
|
|
943
|
-
children:
|
|
942
|
+
children: o,
|
|
944
943
|
disabled: a = !1,
|
|
945
944
|
error: i = "",
|
|
946
945
|
hint: n = ""
|
|
@@ -949,7 +948,7 @@ const K = ({
|
|
|
949
948
|
"label",
|
|
950
949
|
{
|
|
951
950
|
htmlFor: r,
|
|
952
|
-
className:
|
|
951
|
+
className: k("rpf-label", {
|
|
953
952
|
"rpf-label--disabled": a
|
|
954
953
|
}),
|
|
955
954
|
children: [
|
|
@@ -958,7 +957,7 @@ const K = ({
|
|
|
958
957
|
]
|
|
959
958
|
}
|
|
960
959
|
),
|
|
961
|
-
|
|
960
|
+
o,
|
|
962
961
|
i && /* @__PURE__ */ w("div", { className: "rpf-error-message", children: [
|
|
963
962
|
/* @__PURE__ */ d("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
|
|
964
963
|
i
|
|
@@ -975,14 +974,14 @@ K.propTypes = {
|
|
|
975
974
|
const Ve = ({
|
|
976
975
|
label: r,
|
|
977
976
|
inputFieldId: s,
|
|
978
|
-
disabled:
|
|
977
|
+
disabled: o = !1,
|
|
979
978
|
hint: a = ""
|
|
980
979
|
}) => /* @__PURE__ */ d("div", { className: "rpf-label", children: /* @__PURE__ */ w(
|
|
981
980
|
"label",
|
|
982
981
|
{
|
|
983
982
|
htmlFor: s,
|
|
984
|
-
className:
|
|
985
|
-
"rpf-label--disabled":
|
|
983
|
+
className: k("rpf-label", {
|
|
984
|
+
"rpf-label--disabled": o
|
|
986
985
|
}),
|
|
987
986
|
children: [
|
|
988
987
|
r,
|
|
@@ -996,18 +995,34 @@ Ve.propTypes = {
|
|
|
996
995
|
label: e.oneOfType([e.string, e.object]).isRequired,
|
|
997
996
|
inputFieldId: e.string.isRequired
|
|
998
997
|
};
|
|
999
|
-
const He = ({
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
998
|
+
const He = ({
|
|
999
|
+
text: r = "",
|
|
1000
|
+
percent: s,
|
|
1001
|
+
complete: o = !1,
|
|
1002
|
+
className: a
|
|
1003
|
+
}) => /* @__PURE__ */ d(
|
|
1004
|
+
"div",
|
|
1005
|
+
{
|
|
1006
|
+
className: k("rpf-progress-bar", {
|
|
1007
|
+
"rpf-progress-bar--complete": o,
|
|
1008
|
+
className: a
|
|
1009
|
+
}),
|
|
1010
|
+
children: /* @__PURE__ */ w("label", { className: "rpf-progress-bar__label", children: [
|
|
1011
|
+
/* @__PURE__ */ d("span", { children: r }),
|
|
1012
|
+
/* @__PURE__ */ d("progress", { className: "rpf-progress-bar__bar", value: s, max: "100", children: `${s}%` })
|
|
1013
|
+
] })
|
|
1014
|
+
}
|
|
1015
|
+
);
|
|
1003
1016
|
He.propTypes = {
|
|
1004
1017
|
text: e.string,
|
|
1005
|
-
percent: e.number.isRequired
|
|
1018
|
+
percent: e.number.isRequired,
|
|
1019
|
+
complete: e.bool,
|
|
1020
|
+
className: e.string
|
|
1006
1021
|
};
|
|
1007
1022
|
const Je = ({
|
|
1008
1023
|
id: r,
|
|
1009
1024
|
label: s,
|
|
1010
|
-
name:
|
|
1025
|
+
name: o,
|
|
1011
1026
|
checked: a = !1,
|
|
1012
1027
|
disabled: i = !1,
|
|
1013
1028
|
fullWidth: n = !1,
|
|
@@ -1017,7 +1032,7 @@ const Je = ({
|
|
|
1017
1032
|
}) => /* @__PURE__ */ d(ye, { children: /* @__PURE__ */ w(
|
|
1018
1033
|
"label",
|
|
1019
1034
|
{
|
|
1020
|
-
className:
|
|
1035
|
+
className: k("rpf-input-radio", {
|
|
1021
1036
|
"rpf-input-radio--disabled": i,
|
|
1022
1037
|
"rpf-input--full-width": n
|
|
1023
1038
|
}),
|
|
@@ -1028,7 +1043,7 @@ const Je = ({
|
|
|
1028
1043
|
checked: !!a,
|
|
1029
1044
|
disabled: i,
|
|
1030
1045
|
id: r,
|
|
1031
|
-
name:
|
|
1046
|
+
name: o,
|
|
1032
1047
|
onChange: u,
|
|
1033
1048
|
type: "radio",
|
|
1034
1049
|
value: p
|
|
@@ -1051,7 +1066,7 @@ Je.propTypes = {
|
|
|
1051
1066
|
const Xe = ({
|
|
1052
1067
|
label: r,
|
|
1053
1068
|
inputFieldId: s,
|
|
1054
|
-
disabled:
|
|
1069
|
+
disabled: o = !1,
|
|
1055
1070
|
error: a = "",
|
|
1056
1071
|
hint: i = "",
|
|
1057
1072
|
placeholder: n = "",
|
|
@@ -1066,8 +1081,8 @@ const Xe = ({
|
|
|
1066
1081
|
"label",
|
|
1067
1082
|
{
|
|
1068
1083
|
htmlFor: s,
|
|
1069
|
-
className:
|
|
1070
|
-
"rpf-label--disabled":
|
|
1084
|
+
className: k("rpf-label", {
|
|
1085
|
+
"rpf-label--disabled": o
|
|
1071
1086
|
}),
|
|
1072
1087
|
children: [
|
|
1073
1088
|
r,
|
|
@@ -1079,11 +1094,11 @@ const Xe = ({
|
|
|
1079
1094
|
/* @__PURE__ */ d(
|
|
1080
1095
|
"input",
|
|
1081
1096
|
{
|
|
1082
|
-
className:
|
|
1083
|
-
"rpf-input--disabled":
|
|
1097
|
+
className: k("rpf-input rpf-input-search", {
|
|
1098
|
+
"rpf-input--disabled": o,
|
|
1084
1099
|
"rpf-input--error": a
|
|
1085
1100
|
}),
|
|
1086
|
-
disabled:
|
|
1101
|
+
disabled: o,
|
|
1087
1102
|
id: s,
|
|
1088
1103
|
name: "search",
|
|
1089
1104
|
type: "search",
|
|
@@ -1097,11 +1112,11 @@ const Xe = ({
|
|
|
1097
1112
|
"button",
|
|
1098
1113
|
{
|
|
1099
1114
|
type: "button",
|
|
1100
|
-
className:
|
|
1101
|
-
"rpf-button--disabled":
|
|
1115
|
+
className: k("rpf-button rpf-button-search", {
|
|
1116
|
+
"rpf-button--disabled": o,
|
|
1102
1117
|
"rpf-button--error": a
|
|
1103
1118
|
}),
|
|
1104
|
-
disabled:
|
|
1119
|
+
disabled: o,
|
|
1105
1120
|
onClick: p,
|
|
1106
1121
|
children: /* @__PURE__ */ d("span", { className: "rpf-button__icon material-symbols-sharp", children: "search" })
|
|
1107
1122
|
}
|
|
@@ -1126,7 +1141,7 @@ Xe.propTypes = {
|
|
|
1126
1141
|
const Ge = ({
|
|
1127
1142
|
id: r,
|
|
1128
1143
|
label: s,
|
|
1129
|
-
name:
|
|
1144
|
+
name: o,
|
|
1130
1145
|
options: a,
|
|
1131
1146
|
disabled: i = !1,
|
|
1132
1147
|
error: n = "",
|
|
@@ -1147,13 +1162,13 @@ const Ge = ({
|
|
|
1147
1162
|
children: /* @__PURE__ */ w(
|
|
1148
1163
|
"select",
|
|
1149
1164
|
{
|
|
1150
|
-
className:
|
|
1165
|
+
className: k("rpf-input rpf-input-select", {
|
|
1151
1166
|
"rpf-input--error": n,
|
|
1152
1167
|
"rpf-input--full-width": u
|
|
1153
1168
|
}),
|
|
1154
1169
|
disabled: i,
|
|
1155
1170
|
id: r,
|
|
1156
|
-
name:
|
|
1171
|
+
name: o,
|
|
1157
1172
|
onChange: v,
|
|
1158
1173
|
type: "text",
|
|
1159
1174
|
value: g,
|
|
@@ -1178,16 +1193,16 @@ Ge.propTypes = {
|
|
|
1178
1193
|
placeholder: e.string,
|
|
1179
1194
|
value: e.string
|
|
1180
1195
|
};
|
|
1181
|
-
const Ke = ({ headerRow: r, bodyRows: s, fullWidth:
|
|
1196
|
+
const Ke = ({ headerRow: r, bodyRows: s, fullWidth: o }) => /* @__PURE__ */ d(
|
|
1182
1197
|
"div",
|
|
1183
1198
|
{
|
|
1184
1199
|
"data-testid": "table-container",
|
|
1185
|
-
className:
|
|
1200
|
+
className: k("rpf-table", { "rpf-table--full-width": o }),
|
|
1186
1201
|
children: /* @__PURE__ */ w(
|
|
1187
1202
|
"table",
|
|
1188
1203
|
{
|
|
1189
|
-
className:
|
|
1190
|
-
"rpf-table__table--full-width":
|
|
1204
|
+
className: k("rpf-table__table", {
|
|
1205
|
+
"rpf-table__table--full-width": o
|
|
1191
1206
|
}),
|
|
1192
1207
|
children: [
|
|
1193
1208
|
/* @__PURE__ */ d("thead", { children: /* @__PURE__ */ d("tr", { className: "rpf-table-row", children: r }) }),
|
|
@@ -1214,11 +1229,11 @@ Qe.propTypes = {
|
|
|
1214
1229
|
sortDirection: e.oneOf(["up", "down"]),
|
|
1215
1230
|
children: e.node
|
|
1216
1231
|
};
|
|
1217
|
-
const er = ({ text: r, variant: s, secondary:
|
|
1232
|
+
const er = ({ text: r, variant: s, secondary: o, icon: a, iconPosition: i }) => (a && (a = /* @__PURE__ */ d("span", { className: "rpf-tag__icon material-symbols-sharp", children: a })), a && !i && (i = "left"), s && s !== "default" ? s = `rpf-tag--${s}` : s = null, /* @__PURE__ */ w(
|
|
1218
1233
|
"span",
|
|
1219
1234
|
{
|
|
1220
|
-
className:
|
|
1221
|
-
"rpf-tag--secondary":
|
|
1235
|
+
className: k("rpf-tag", s, {
|
|
1236
|
+
"rpf-tag--secondary": o
|
|
1222
1237
|
}),
|
|
1223
1238
|
children: [
|
|
1224
1239
|
i === "left" && a,
|
|
@@ -1243,7 +1258,7 @@ er.propTypes = {
|
|
|
1243
1258
|
const rr = ({
|
|
1244
1259
|
id: r,
|
|
1245
1260
|
label: s,
|
|
1246
|
-
name:
|
|
1261
|
+
name: o,
|
|
1247
1262
|
value: a,
|
|
1248
1263
|
disabled: i = !1,
|
|
1249
1264
|
readOnly: n = !1,
|
|
@@ -1263,7 +1278,7 @@ const rr = ({
|
|
|
1263
1278
|
children: /* @__PURE__ */ d(
|
|
1264
1279
|
"textarea",
|
|
1265
1280
|
{
|
|
1266
|
-
className:
|
|
1281
|
+
className: k("rpf-input rpf-input-textarea", {
|
|
1267
1282
|
"rpf-input--error": u,
|
|
1268
1283
|
"rpf-input--full-width": p,
|
|
1269
1284
|
"rpf-input--disabled": i
|
|
@@ -1271,7 +1286,7 @@ const rr = ({
|
|
|
1271
1286
|
disabled: i,
|
|
1272
1287
|
readOnly: n,
|
|
1273
1288
|
id: r,
|
|
1274
|
-
name:
|
|
1289
|
+
name: o,
|
|
1275
1290
|
onChange: _,
|
|
1276
1291
|
type: "text",
|
|
1277
1292
|
value: a
|
|
@@ -1294,7 +1309,7 @@ rr.propTypes = {
|
|
|
1294
1309
|
const tr = ({
|
|
1295
1310
|
id: r,
|
|
1296
1311
|
label: s,
|
|
1297
|
-
name:
|
|
1312
|
+
name: o,
|
|
1298
1313
|
value: a,
|
|
1299
1314
|
disabled: i = !1,
|
|
1300
1315
|
error: n = "",
|
|
@@ -1313,13 +1328,13 @@ const tr = ({
|
|
|
1313
1328
|
children: /* @__PURE__ */ d(
|
|
1314
1329
|
"input",
|
|
1315
1330
|
{
|
|
1316
|
-
className:
|
|
1331
|
+
className: k("rpf-input rpf-input-text", {
|
|
1317
1332
|
"rpf-input--error": n,
|
|
1318
1333
|
"rpf-input--full-width": u
|
|
1319
1334
|
}),
|
|
1320
1335
|
disabled: i,
|
|
1321
1336
|
id: r,
|
|
1322
|
-
name:
|
|
1337
|
+
name: o,
|
|
1323
1338
|
onChange: v,
|
|
1324
1339
|
type: "text",
|
|
1325
1340
|
value: a
|