@raspberrypifoundation/design-system-react 2.7.2 → 2.7.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.
Files changed (24) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/design-system-react.js +399 -429
  3. package/dist/design-system-react.umd.cjs +13 -13
  4. package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts +1 -11
  5. package/dist/types/src/components/Form/CheckboxInput/CheckboxInput.types.d.ts.map +1 -1
  6. package/dist/types/src/components/Form/CheckboxInput/index.d.ts +1 -1
  7. package/dist/types/src/components/Form/CheckboxInput/index.d.ts.map +1 -1
  8. package/dist/types/src/components/Form/RadioInput/RadioInput.types.d.ts +3 -11
  9. package/dist/types/src/components/Form/RadioInput/RadioInput.types.d.ts.map +1 -1
  10. package/dist/types/src/components/Form/RadioInput/index.d.ts +1 -1
  11. package/dist/types/src/components/Form/RadioInput/index.d.ts.map +1 -1
  12. package/dist/types/src/components/Form/SelectInput/SelectInput.types.d.ts +1 -7
  13. package/dist/types/src/components/Form/SelectInput/SelectInput.types.d.ts.map +1 -1
  14. package/dist/types/src/components/Form/SelectInput/index.d.ts +1 -1
  15. package/dist/types/src/components/Form/SelectInput/index.d.ts.map +1 -1
  16. package/dist/types/src/components/Form/TextInput/TextInput.types.d.ts +1 -7
  17. package/dist/types/src/components/Form/TextInput/TextInput.types.d.ts.map +1 -1
  18. package/dist/types/src/components/Form/TextInput/index.d.ts +1 -1
  19. package/dist/types/src/components/Form/TextInput/index.d.ts.map +1 -1
  20. package/dist/types/src/stories/forms/RadioInput.stories.d.ts +4 -0
  21. package/dist/types/src/stories/forms/RadioInput.stories.d.ts.map +1 -1
  22. package/dist/types/src/stories/forms/TextInput.stories.d.ts +4 -0
  23. package/dist/types/src/stories/forms/TextInput.stories.d.ts.map +1 -1
  24. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { jsxs as P, jsx as p, Fragment as me } from "react/jsx-runtime";
2
- import Le, { useRef as ge, useEffect as se, forwardRef as ke, createElement as ye } from "react";
3
- function $e(e) {
1
+ import { jsxs as x, jsx as p, Fragment as me } from "react/jsx-runtime";
2
+ import Le, { useRef as ge, useEffect as se, forwardRef as $e, createElement as ye } from "react";
3
+ function ke(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
6
  var ie = { exports: {} };
@@ -15,8 +15,8 @@ function Ye() {
15
15
  (function() {
16
16
  var t = {}.hasOwnProperty;
17
17
  function s() {
18
- for (var r = "", c = 0; c < arguments.length; c++) {
19
- var i = arguments[c];
18
+ for (var r = "", f = 0; f < arguments.length; f++) {
19
+ var i = arguments[f];
20
20
  i && (r = a(r, n(i)));
21
21
  }
22
22
  return r;
@@ -30,20 +30,20 @@ function Ye() {
30
30
  return s.apply(null, r);
31
31
  if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
32
32
  return r.toString();
33
- var c = "";
33
+ var f = "";
34
34
  for (var i in r)
35
- t.call(r, i) && r[i] && (c = a(c, i));
36
- return c;
35
+ t.call(r, i) && r[i] && (f = a(f, i));
36
+ return f;
37
37
  }
38
- function a(r, c) {
39
- return c ? r ? r + " " + c : r + c : r;
38
+ function a(r, f) {
39
+ return f ? r ? r + " " + f : r + f : r;
40
40
  }
41
41
  e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
42
42
  })();
43
43
  }(ie)), ie.exports;
44
44
  }
45
45
  var De = Ye();
46
- const M = /* @__PURE__ */ $e(De);
46
+ const M = /* @__PURE__ */ ke(De);
47
47
  var Z = { exports: {} }, K = { exports: {} }, C = {};
48
48
  /** @license React v16.13.1
49
49
  * react-is.production.min.js
@@ -57,28 +57,28 @@ var Te;
57
57
  function We() {
58
58
  if (Te) return C;
59
59
  Te = 1;
60
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, O = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
61
- function $(l) {
62
- if (typeof l == "object" && l !== null) {
63
- var Y = l.$$typeof;
60
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, f = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
61
+ function k(c) {
62
+ if (typeof c == "object" && c !== null) {
63
+ var Y = c.$$typeof;
64
64
  switch (Y) {
65
65
  case t:
66
- switch (l = l.type, l) {
67
- case d:
66
+ switch (c = c.type, c) {
67
+ case m:
68
68
  case h:
69
69
  case n:
70
70
  case r:
71
71
  case a:
72
- case b:
73
- return l;
72
+ case E:
73
+ return c;
74
74
  default:
75
- switch (l = l && l.$$typeof, l) {
75
+ switch (c = c && c.$$typeof, c) {
76
76
  case i:
77
- case y:
77
+ case d:
78
78
  case I:
79
79
  case A:
80
- case c:
81
- return l;
80
+ case f:
81
+ return c;
82
82
  default:
83
83
  return Y;
84
84
  }
@@ -88,36 +88,36 @@ function We() {
88
88
  }
89
89
  }
90
90
  }
91
- function j(l) {
92
- return $(l) === h;
91
+ function j(c) {
92
+ return k(c) === h;
93
93
  }
94
- return C.AsyncMode = d, C.ConcurrentMode = h, C.ContextConsumer = i, C.ContextProvider = c, C.Element = t, C.ForwardRef = y, C.Fragment = n, C.Lazy = I, C.Memo = A, C.Portal = s, C.Profiler = r, C.StrictMode = a, C.Suspense = b, C.isAsyncMode = function(l) {
95
- return j(l) || $(l) === d;
96
- }, C.isConcurrentMode = j, C.isContextConsumer = function(l) {
97
- return $(l) === i;
98
- }, C.isContextProvider = function(l) {
99
- return $(l) === c;
100
- }, C.isElement = function(l) {
101
- return typeof l == "object" && l !== null && l.$$typeof === t;
102
- }, C.isForwardRef = function(l) {
103
- return $(l) === y;
104
- }, C.isFragment = function(l) {
105
- return $(l) === n;
106
- }, C.isLazy = function(l) {
107
- return $(l) === I;
108
- }, C.isMemo = function(l) {
109
- return $(l) === A;
110
- }, C.isPortal = function(l) {
111
- return $(l) === s;
112
- }, C.isProfiler = function(l) {
113
- return $(l) === r;
114
- }, C.isStrictMode = function(l) {
115
- return $(l) === a;
116
- }, C.isSuspense = function(l) {
117
- return $(l) === b;
118
- }, C.isValidElementType = function(l) {
119
- return typeof l == "string" || typeof l == "function" || l === n || l === h || l === r || l === a || l === b || l === N || typeof l == "object" && l !== null && (l.$$typeof === I || l.$$typeof === A || l.$$typeof === c || l.$$typeof === i || l.$$typeof === y || l.$$typeof === k || l.$$typeof === q || l.$$typeof === F || l.$$typeof === O);
120
- }, C.typeOf = $, C;
94
+ return C.AsyncMode = m, C.ConcurrentMode = h, C.ContextConsumer = i, C.ContextProvider = f, C.Element = t, C.ForwardRef = d, C.Fragment = n, C.Lazy = I, C.Memo = A, C.Portal = s, C.Profiler = r, C.StrictMode = a, C.Suspense = E, C.isAsyncMode = function(c) {
95
+ return j(c) || k(c) === m;
96
+ }, C.isConcurrentMode = j, C.isContextConsumer = function(c) {
97
+ return k(c) === i;
98
+ }, C.isContextProvider = function(c) {
99
+ return k(c) === f;
100
+ }, C.isElement = function(c) {
101
+ return typeof c == "object" && c !== null && c.$$typeof === t;
102
+ }, C.isForwardRef = function(c) {
103
+ return k(c) === d;
104
+ }, C.isFragment = function(c) {
105
+ return k(c) === n;
106
+ }, C.isLazy = function(c) {
107
+ return k(c) === I;
108
+ }, C.isMemo = function(c) {
109
+ return k(c) === A;
110
+ }, C.isPortal = function(c) {
111
+ return k(c) === s;
112
+ }, C.isProfiler = function(c) {
113
+ return k(c) === r;
114
+ }, C.isStrictMode = function(c) {
115
+ return k(c) === a;
116
+ }, C.isSuspense = function(c) {
117
+ return k(c) === E;
118
+ }, C.isValidElementType = function(c) {
119
+ return typeof c == "string" || typeof c == "function" || c === n || c === h || c === r || c === a || c === E || c === O || typeof c == "object" && c !== null && (c.$$typeof === I || c.$$typeof === A || c.$$typeof === f || c.$$typeof === i || c.$$typeof === d || c.$$typeof === $ || c.$$typeof === q || c.$$typeof === F || c.$$typeof === N);
120
+ }, C.typeOf = k, C;
121
121
  }
122
122
  var R = {};
123
123
  /** @license React v16.13.1
@@ -131,33 +131,33 @@ var R = {};
131
131
  var we;
132
132
  function Fe() {
133
133
  return we || (we = 1, process.env.NODE_ENV !== "production" && function() {
134
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, O = e ? Symbol.for("react.block") : 60121, k = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
135
- function $(f) {
136
- return typeof f == "string" || typeof f == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
137
- f === n || f === h || f === r || f === a || f === b || f === N || typeof f == "object" && f !== null && (f.$$typeof === I || f.$$typeof === A || f.$$typeof === c || f.$$typeof === i || f.$$typeof === y || f.$$typeof === k || f.$$typeof === q || f.$$typeof === F || f.$$typeof === O);
134
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, f = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, N = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, q = e ? Symbol.for("react.responder") : 60118, F = e ? Symbol.for("react.scope") : 60119;
135
+ function k(l) {
136
+ return typeof l == "string" || typeof l == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
137
+ l === n || l === h || l === r || l === a || l === E || l === O || typeof l == "object" && l !== null && (l.$$typeof === I || l.$$typeof === A || l.$$typeof === f || l.$$typeof === i || l.$$typeof === d || l.$$typeof === $ || l.$$typeof === q || l.$$typeof === F || l.$$typeof === N);
138
138
  }
139
- function j(f) {
140
- if (typeof f == "object" && f !== null) {
141
- var W = f.$$typeof;
139
+ function j(l) {
140
+ if (typeof l == "object" && l !== null) {
141
+ var W = l.$$typeof;
142
142
  switch (W) {
143
143
  case t:
144
- var J = f.type;
144
+ var J = l.type;
145
145
  switch (J) {
146
- case d:
146
+ case m:
147
147
  case h:
148
148
  case n:
149
149
  case r:
150
150
  case a:
151
- case b:
151
+ case E:
152
152
  return J;
153
153
  default:
154
154
  var _e = J && J.$$typeof;
155
155
  switch (_e) {
156
156
  case i:
157
- case y:
157
+ case d:
158
158
  case I:
159
159
  case A:
160
- case c:
160
+ case f:
161
161
  return _e;
162
162
  default:
163
163
  return W;
@@ -168,47 +168,47 @@ function Fe() {
168
168
  }
169
169
  }
170
170
  }
171
- var l = d, Y = h, G = i, Q = c, ee = t, re = y, V = n, te = I, ne = A, z = s, ae = r, D = a, U = b, H = !1;
172
- function oe(f) {
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.")), o(f) || j(f) === d;
171
+ var c = m, Y = h, G = i, Q = f, ee = t, re = d, V = n, te = I, ne = A, z = s, ae = r, D = a, U = E, H = !1;
172
+ function oe(l) {
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.")), o(l) || j(l) === m;
174
174
  }
175
- function o(f) {
176
- return j(f) === h;
175
+ function o(l) {
176
+ return j(l) === h;
177
177
  }
178
- function u(f) {
179
- return j(f) === i;
178
+ function u(l) {
179
+ return j(l) === i;
180
180
  }
181
- function E(f) {
182
- return j(f) === c;
181
+ function g(l) {
182
+ return j(l) === f;
183
183
  }
184
- function _(f) {
185
- return typeof f == "object" && f !== null && f.$$typeof === t;
184
+ function b(l) {
185
+ return typeof l == "object" && l !== null && l.$$typeof === t;
186
186
  }
187
- function m(f) {
188
- return j(f) === y;
187
+ function y(l) {
188
+ return j(l) === d;
189
189
  }
190
- function T(f) {
191
- return j(f) === n;
190
+ function T(l) {
191
+ return j(l) === n;
192
192
  }
193
- function v(f) {
194
- return j(f) === I;
193
+ function v(l) {
194
+ return j(l) === I;
195
195
  }
196
- function g(f) {
197
- return j(f) === A;
196
+ function _(l) {
197
+ return j(l) === A;
198
198
  }
199
- function w(f) {
200
- return j(f) === s;
199
+ function w(l) {
200
+ return j(l) === s;
201
201
  }
202
- function x(f) {
203
- return j(f) === r;
202
+ function P(l) {
203
+ return j(l) === r;
204
204
  }
205
- function S(f) {
206
- return j(f) === a;
205
+ function S(l) {
206
+ return j(l) === a;
207
207
  }
208
- function L(f) {
209
- return j(f) === b;
208
+ function L(l) {
209
+ return j(l) === E;
210
210
  }
211
- R.AsyncMode = l, R.ConcurrentMode = Y, R.ContextConsumer = G, R.ContextProvider = Q, R.Element = ee, R.ForwardRef = re, R.Fragment = V, R.Lazy = te, R.Memo = ne, R.Portal = z, R.Profiler = ae, R.StrictMode = D, R.Suspense = U, R.isAsyncMode = oe, R.isConcurrentMode = o, R.isContextConsumer = u, R.isContextProvider = E, R.isElement = _, R.isForwardRef = m, R.isFragment = T, R.isLazy = v, R.isMemo = g, R.isPortal = w, R.isProfiler = x, R.isStrictMode = S, R.isSuspense = L, R.isValidElementType = $, R.typeOf = j;
211
+ R.AsyncMode = c, R.ConcurrentMode = Y, R.ContextConsumer = G, R.ContextProvider = Q, R.Element = ee, R.ForwardRef = re, R.Fragment = V, R.Lazy = te, R.Memo = ne, R.Portal = z, R.Profiler = ae, R.StrictMode = D, R.Suspense = U, R.isAsyncMode = oe, R.isConcurrentMode = o, R.isContextConsumer = u, R.isContextProvider = g, R.isElement = b, R.isForwardRef = y, R.isFragment = T, R.isLazy = v, R.isMemo = _, R.isPortal = w, R.isProfiler = P, R.isStrictMode = S, R.isSuspense = L, R.isValidElementType = k, R.typeOf = j;
212
212
  }()), R;
213
213
  }
214
214
  var Se;
@@ -237,33 +237,33 @@ function Ue() {
237
237
  var r = new String("abc");
238
238
  if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
239
239
  return !1;
240
- for (var c = {}, i = 0; i < 10; i++)
241
- c["_" + String.fromCharCode(i)] = i;
242
- var d = Object.getOwnPropertyNames(c).map(function(y) {
243
- return c[y];
240
+ for (var f = {}, i = 0; i < 10; i++)
241
+ f["_" + String.fromCharCode(i)] = i;
242
+ var m = Object.getOwnPropertyNames(f).map(function(d) {
243
+ return f[d];
244
244
  });
245
- if (d.join("") !== "0123456789")
245
+ if (m.join("") !== "0123456789")
246
246
  return !1;
247
247
  var h = {};
248
- return "abcdefghijklmnopqrst".split("").forEach(function(y) {
249
- h[y] = y;
248
+ return "abcdefghijklmnopqrst".split("").forEach(function(d) {
249
+ h[d] = d;
250
250
  }), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
251
251
  } catch {
252
252
  return !1;
253
253
  }
254
254
  }
255
- return ce = a() ? Object.assign : function(r, c) {
256
- for (var i, d = n(r), h, y = 1; y < arguments.length; y++) {
257
- i = Object(arguments[y]);
258
- for (var b in i)
259
- t.call(i, b) && (d[b] = i[b]);
255
+ return ce = a() ? Object.assign : function(r, f) {
256
+ for (var i, m = n(r), h, d = 1; d < arguments.length; d++) {
257
+ i = Object(arguments[d]);
258
+ for (var E in i)
259
+ t.call(i, E) && (m[E] = i[E]);
260
260
  if (e) {
261
261
  h = e(i);
262
- for (var N = 0; N < h.length; N++)
263
- s.call(i, h[N]) && (d[h[N]] = i[h[N]]);
262
+ for (var O = 0; O < h.length; O++)
263
+ s.call(i, h[O]) && (m[h[O]] = i[h[O]]);
264
264
  }
265
265
  }
266
- return d;
266
+ return m;
267
267
  }, ce;
268
268
  }
269
269
  var le, Re;
@@ -273,50 +273,50 @@ function he() {
273
273
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
274
274
  return le = e, le;
275
275
  }
276
- var fe, xe;
276
+ var fe, Pe;
277
277
  function Me() {
278
- return xe || (xe = 1, fe = Function.call.bind(Object.prototype.hasOwnProperty)), fe;
278
+ return Pe || (Pe = 1, fe = Function.call.bind(Object.prototype.hasOwnProperty)), fe;
279
279
  }
280
- var ue, Pe;
280
+ var ue, xe;
281
281
  function ze() {
282
- if (Pe) return ue;
283
- Pe = 1;
282
+ if (xe) return ue;
283
+ xe = 1;
284
284
  var e = function() {
285
285
  };
286
286
  if (process.env.NODE_ENV !== "production") {
287
287
  var t = /* @__PURE__ */ he(), s = {}, n = /* @__PURE__ */ Me();
288
288
  e = function(r) {
289
- var c = "Warning: " + r;
290
- typeof console < "u" && console.error(c);
289
+ var f = "Warning: " + r;
290
+ typeof console < "u" && console.error(f);
291
291
  try {
292
- throw new Error(c);
292
+ throw new Error(f);
293
293
  } catch {
294
294
  }
295
295
  };
296
296
  }
297
- function a(r, c, i, d, h) {
297
+ function a(r, f, i, m, h) {
298
298
  if (process.env.NODE_ENV !== "production") {
299
- for (var y in r)
300
- if (n(r, y)) {
301
- var b;
299
+ for (var d in r)
300
+ if (n(r, d)) {
301
+ var E;
302
302
  try {
303
- if (typeof r[y] != "function") {
304
- var N = Error(
305
- (d || "React class") + ": " + i + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
303
+ if (typeof r[d] != "function") {
304
+ var O = Error(
305
+ (m || "React class") + ": " + i + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
306
306
  );
307
- throw N.name = "Invariant Violation", N;
307
+ throw O.name = "Invariant Violation", O;
308
308
  }
309
- b = r[y](c, y, d, i, null, t);
309
+ E = r[d](f, d, m, i, null, t);
310
310
  } catch (I) {
311
- b = I;
311
+ E = I;
312
312
  }
313
- if (b && !(b instanceof Error) && e(
314
- (d || "React class") + ": type specification of " + i + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". 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
- ), b instanceof Error && !(b.message in s)) {
316
- s[b.message] = !0;
313
+ if (E && !(E instanceof Error) && e(
314
+ (m || "React class") + ": type specification of " + i + " `" + d + "` 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 s)) {
316
+ s[E.message] = !0;
317
317
  var A = h ? h() : "";
318
318
  e(
319
- "Failed " + i + " type: " + b.message + (A ?? "")
319
+ "Failed " + i + " type: " + E.message + (A ?? "")
320
320
  );
321
321
  }
322
322
  }
@@ -333,24 +333,24 @@ function Be() {
333
333
  var e = Ie(), t = Ue(), s = /* @__PURE__ */ he(), n = /* @__PURE__ */ Me(), a = /* @__PURE__ */ ze(), r = function() {
334
334
  };
335
335
  process.env.NODE_ENV !== "production" && (r = function(i) {
336
- var d = "Warning: " + i;
337
- typeof console < "u" && console.error(d);
336
+ var m = "Warning: " + i;
337
+ typeof console < "u" && console.error(m);
338
338
  try {
339
- throw new Error(d);
339
+ throw new Error(m);
340
340
  } catch {
341
341
  }
342
342
  });
343
- function c() {
343
+ function f() {
344
344
  return null;
345
345
  }
346
- return pe = function(i, d) {
347
- var h = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
348
- function b(o) {
349
- var u = o && (h && o[h] || o[y]);
346
+ return pe = function(i, m) {
347
+ var h = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
348
+ function E(o) {
349
+ var u = o && (h && o[h] || o[d]);
350
350
  if (typeof u == "function")
351
351
  return u;
352
352
  }
353
- var N = "<<anonymous>>", A = {
353
+ var O = "<<anonymous>>", A = {
354
354
  array: q("array"),
355
355
  bigint: q("bigint"),
356
356
  bool: q("boolean"),
@@ -360,9 +360,9 @@ function Be() {
360
360
  string: q("string"),
361
361
  symbol: q("symbol"),
362
362
  any: F(),
363
- arrayOf: $,
363
+ arrayOf: k,
364
364
  element: j(),
365
- elementType: l(),
365
+ elementType: c(),
366
366
  instanceOf: Y,
367
367
  node: re(),
368
368
  objectOf: Q,
@@ -374,206 +374,206 @@ function Be() {
374
374
  function I(o, u) {
375
375
  return o === u ? o !== 0 || 1 / o === 1 / u : o !== o && u !== u;
376
376
  }
377
- function O(o, u) {
377
+ function N(o, u) {
378
378
  this.message = o, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
379
379
  }
380
- O.prototype = Error.prototype;
381
- function k(o) {
380
+ N.prototype = Error.prototype;
381
+ function $(o) {
382
382
  if (process.env.NODE_ENV !== "production")
383
- var u = {}, E = 0;
384
- function _(T, v, g, w, x, S, L) {
385
- if (w = w || N, S = S || g, L !== s) {
386
- if (d) {
387
- var f = new Error(
383
+ var u = {}, g = 0;
384
+ function b(T, v, _, w, P, S, L) {
385
+ if (w = w || O, S = S || _, L !== s) {
386
+ if (m) {
387
+ var l = 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 f.name = "Invariant Violation", f;
390
+ throw l.name = "Invariant Violation", l;
391
391
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
392
- var W = w + ":" + g;
392
+ var W = w + ":" + _;
393
393
  !u[W] && // Avoid spamming the console because they are often not actionable except for lib authors
394
- E < 3 && (r(
394
+ g < 3 && (r(
395
395
  "You are manually calling a React.PropTypes validation function for the `" + S + "` prop on `" + w + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
396
- ), u[W] = !0, E++);
396
+ ), u[W] = !0, g++);
397
397
  }
398
398
  }
399
- return v[g] == null ? T ? v[g] === null ? new O("The " + x + " `" + S + "` is marked as required " + ("in `" + w + "`, but its value is `null`.")) : new O("The " + x + " `" + S + "` is marked as required in " + ("`" + w + "`, but its value is `undefined`.")) : null : o(v, g, w, x, S);
399
+ return v[_] == null ? T ? v[_] === null ? new N("The " + P + " `" + S + "` is marked as required " + ("in `" + w + "`, but its value is `null`.")) : new N("The " + P + " `" + S + "` is marked as required in " + ("`" + w + "`, but its value is `undefined`.")) : null : o(v, _, w, P, S);
400
400
  }
401
- var m = _.bind(null, !1);
402
- return m.isRequired = _.bind(null, !0), m;
401
+ var y = b.bind(null, !1);
402
+ return y.isRequired = b.bind(null, !0), y;
403
403
  }
404
404
  function q(o) {
405
- function u(E, _, m, T, v, g) {
406
- var w = E[_], x = D(w);
407
- if (x !== o) {
405
+ function u(g, b, y, T, v, _) {
406
+ var w = g[b], P = D(w);
407
+ if (P !== o) {
408
408
  var S = U(w);
409
- return new O(
410
- "Invalid " + T + " `" + v + "` of type " + ("`" + S + "` supplied to `" + m + "`, expected ") + ("`" + o + "`."),
409
+ return new N(
410
+ "Invalid " + T + " `" + v + "` of type " + ("`" + S + "` supplied to `" + y + "`, expected ") + ("`" + o + "`."),
411
411
  { expectedType: o }
412
412
  );
413
413
  }
414
414
  return null;
415
415
  }
416
- return k(u);
416
+ return $(u);
417
417
  }
418
418
  function F() {
419
- return k(c);
419
+ return $(f);
420
420
  }
421
- function $(o) {
422
- function u(E, _, m, T, v) {
421
+ function k(o) {
422
+ function u(g, b, y, T, v) {
423
423
  if (typeof o != "function")
424
- return new O("Property `" + v + "` of component `" + m + "` has invalid PropType notation inside arrayOf.");
425
- var g = E[_];
426
- if (!Array.isArray(g)) {
427
- var w = D(g);
428
- return new O("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + m + "`, expected an array."));
424
+ return new N("Property `" + v + "` of component `" + y + "` has invalid PropType notation inside arrayOf.");
425
+ var _ = g[b];
426
+ if (!Array.isArray(_)) {
427
+ var w = D(_);
428
+ return new N("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + y + "`, expected an array."));
429
429
  }
430
- for (var x = 0; x < g.length; x++) {
431
- var S = o(g, x, m, T, v + "[" + x + "]", s);
430
+ for (var P = 0; P < _.length; P++) {
431
+ var S = o(_, P, y, T, v + "[" + P + "]", s);
432
432
  if (S instanceof Error)
433
433
  return S;
434
434
  }
435
435
  return null;
436
436
  }
437
- return k(u);
437
+ return $(u);
438
438
  }
439
439
  function j() {
440
- function o(u, E, _, m, T) {
441
- var v = u[E];
440
+ function o(u, g, b, y, T) {
441
+ var v = u[g];
442
442
  if (!i(v)) {
443
- var g = D(v);
444
- return new O("Invalid " + m + " `" + T + "` of type " + ("`" + g + "` supplied to `" + _ + "`, expected a single ReactElement."));
443
+ var _ = D(v);
444
+ return new N("Invalid " + y + " `" + T + "` of type " + ("`" + _ + "` supplied to `" + b + "`, expected a single ReactElement."));
445
445
  }
446
446
  return null;
447
447
  }
448
- return k(o);
448
+ return $(o);
449
449
  }
450
- function l() {
451
- function o(u, E, _, m, T) {
452
- var v = u[E];
450
+ function c() {
451
+ function o(u, g, b, y, T) {
452
+ var v = u[g];
453
453
  if (!e.isValidElementType(v)) {
454
- var g = D(v);
455
- return new O("Invalid " + m + " `" + T + "` of type " + ("`" + g + "` supplied to `" + _ + "`, expected a single ReactElement type."));
454
+ var _ = D(v);
455
+ return new N("Invalid " + y + " `" + T + "` of type " + ("`" + _ + "` supplied to `" + b + "`, expected a single ReactElement type."));
456
456
  }
457
457
  return null;
458
458
  }
459
- return k(o);
459
+ return $(o);
460
460
  }
461
461
  function Y(o) {
462
- function u(E, _, m, T, v) {
463
- if (!(E[_] instanceof o)) {
464
- var g = o.name || N, w = oe(E[_]);
465
- return new O("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + m + "`, expected ") + ("instance of `" + g + "`."));
462
+ function u(g, b, y, T, v) {
463
+ if (!(g[b] instanceof o)) {
464
+ var _ = o.name || O, w = oe(g[b]);
465
+ return new N("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + y + "`, expected ") + ("instance of `" + _ + "`."));
466
466
  }
467
467
  return null;
468
468
  }
469
- return k(u);
469
+ return $(u);
470
470
  }
471
471
  function G(o) {
472
472
  if (!Array.isArray(o))
473
473
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
474
474
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
475
- ) : r("Invalid argument supplied to oneOf, expected an array.")), c;
476
- function u(E, _, m, T, v) {
477
- for (var g = E[_], w = 0; w < o.length; w++)
478
- if (I(g, o[w]))
475
+ ) : r("Invalid argument supplied to oneOf, expected an array.")), f;
476
+ function u(g, b, y, T, v) {
477
+ for (var _ = g[b], w = 0; w < o.length; w++)
478
+ if (I(_, o[w]))
479
479
  return null;
480
- var x = JSON.stringify(o, function(L, f) {
481
- var W = U(f);
482
- return W === "symbol" ? String(f) : f;
480
+ var P = JSON.stringify(o, function(L, l) {
481
+ var W = U(l);
482
+ return W === "symbol" ? String(l) : l;
483
483
  });
484
- return new O("Invalid " + T + " `" + v + "` of value `" + String(g) + "` " + ("supplied to `" + m + "`, expected one of " + x + "."));
484
+ return new N("Invalid " + T + " `" + v + "` of value `" + String(_) + "` " + ("supplied to `" + y + "`, expected one of " + P + "."));
485
485
  }
486
- return k(u);
486
+ return $(u);
487
487
  }
488
488
  function Q(o) {
489
- function u(E, _, m, T, v) {
489
+ function u(g, b, y, T, v) {
490
490
  if (typeof o != "function")
491
- return new O("Property `" + v + "` of component `" + m + "` has invalid PropType notation inside objectOf.");
492
- var g = E[_], w = D(g);
491
+ return new N("Property `" + v + "` of component `" + y + "` has invalid PropType notation inside objectOf.");
492
+ var _ = g[b], w = D(_);
493
493
  if (w !== "object")
494
- return new O("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + m + "`, expected an object."));
495
- for (var x in g)
496
- if (n(g, x)) {
497
- var S = o(g, x, m, T, v + "." + x, s);
494
+ return new N("Invalid " + T + " `" + v + "` of type " + ("`" + w + "` supplied to `" + y + "`, expected an object."));
495
+ for (var P in _)
496
+ if (n(_, P)) {
497
+ var S = o(_, P, y, T, v + "." + P, s);
498
498
  if (S instanceof Error)
499
499
  return S;
500
500
  }
501
501
  return null;
502
502
  }
503
- return k(u);
503
+ return $(u);
504
504
  }
505
505
  function ee(o) {
506
506
  if (!Array.isArray(o))
507
- return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), c;
507
+ return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), f;
508
508
  for (var u = 0; u < o.length; u++) {
509
- var E = o[u];
510
- if (typeof E != "function")
509
+ var g = o[u];
510
+ if (typeof g != "function")
511
511
  return r(
512
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(E) + " at index " + u + "."
513
- ), c;
512
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(g) + " at index " + u + "."
513
+ ), f;
514
514
  }
515
- function _(m, T, v, g, w) {
516
- for (var x = [], S = 0; S < o.length; S++) {
517
- var L = o[S], f = L(m, T, v, g, w, s);
518
- if (f == null)
515
+ function b(y, T, v, _, w) {
516
+ for (var P = [], S = 0; S < o.length; S++) {
517
+ var L = o[S], l = L(y, T, v, _, w, s);
518
+ if (l == null)
519
519
  return null;
520
- f.data && n(f.data, "expectedType") && x.push(f.data.expectedType);
520
+ l.data && n(l.data, "expectedType") && P.push(l.data.expectedType);
521
521
  }
522
- var W = x.length > 0 ? ", expected one of type [" + x.join(", ") + "]" : "";
523
- return new O("Invalid " + g + " `" + w + "` supplied to " + ("`" + v + "`" + W + "."));
522
+ var W = P.length > 0 ? ", expected one of type [" + P.join(", ") + "]" : "";
523
+ return new N("Invalid " + _ + " `" + w + "` supplied to " + ("`" + v + "`" + W + "."));
524
524
  }
525
- return k(_);
525
+ return $(b);
526
526
  }
527
527
  function re() {
528
- function o(u, E, _, m, T) {
529
- return z(u[E]) ? null : new O("Invalid " + m + " `" + T + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
528
+ function o(u, g, b, y, T) {
529
+ return z(u[g]) ? null : new N("Invalid " + y + " `" + T + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
530
530
  }
531
- return k(o);
531
+ return $(o);
532
532
  }
533
- function V(o, u, E, _, m) {
534
- return new O(
535
- (o || "React class") + ": " + u + " type `" + E + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + m + "`."
533
+ function V(o, u, g, b, y) {
534
+ return new N(
535
+ (o || "React class") + ": " + u + " type `" + g + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + y + "`."
536
536
  );
537
537
  }
538
538
  function te(o) {
539
- function u(E, _, m, T, v) {
540
- var g = E[_], w = D(g);
539
+ function u(g, b, y, T, v) {
540
+ var _ = g[b], w = D(_);
541
541
  if (w !== "object")
542
- return new O("Invalid " + T + " `" + v + "` of type `" + w + "` " + ("supplied to `" + m + "`, expected `object`."));
543
- for (var x in o) {
544
- var S = o[x];
542
+ return new N("Invalid " + T + " `" + v + "` of type `" + w + "` " + ("supplied to `" + y + "`, expected `object`."));
543
+ for (var P in o) {
544
+ var S = o[P];
545
545
  if (typeof S != "function")
546
- return V(m, T, v, x, U(S));
547
- var L = S(g, x, m, T, v + "." + x, s);
546
+ return V(y, T, v, P, U(S));
547
+ var L = S(_, P, y, T, v + "." + P, s);
548
548
  if (L)
549
549
  return L;
550
550
  }
551
551
  return null;
552
552
  }
553
- return k(u);
553
+ return $(u);
554
554
  }
555
555
  function ne(o) {
556
- function u(E, _, m, T, v) {
557
- var g = E[_], w = D(g);
556
+ function u(g, b, y, T, v) {
557
+ var _ = g[b], w = D(_);
558
558
  if (w !== "object")
559
- return new O("Invalid " + T + " `" + v + "` of type `" + w + "` " + ("supplied to `" + m + "`, expected `object`."));
560
- var x = t({}, E[_], o);
561
- for (var S in x) {
559
+ return new N("Invalid " + T + " `" + v + "` of type `" + w + "` " + ("supplied to `" + y + "`, expected `object`."));
560
+ var P = t({}, g[b], o);
561
+ for (var S in P) {
562
562
  var L = o[S];
563
563
  if (n(o, S) && typeof L != "function")
564
- return V(m, T, v, S, U(L));
564
+ return V(y, T, v, S, U(L));
565
565
  if (!L)
566
- return new O(
567
- "Invalid " + T + " `" + v + "` key `" + S + "` supplied to `" + m + "`.\nBad object: " + JSON.stringify(E[_], null, " ") + `
566
+ return new N(
567
+ "Invalid " + T + " `" + v + "` key `" + S + "` supplied to `" + y + "`.\nBad object: " + JSON.stringify(g[b], null, " ") + `
568
568
  Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
569
569
  );
570
- var f = L(g, S, m, T, v + "." + S, s);
571
- if (f)
572
- return f;
570
+ var l = L(_, S, y, T, v + "." + S, s);
571
+ if (l)
572
+ return l;
573
573
  }
574
574
  return null;
575
575
  }
576
- return k(u);
576
+ return $(u);
577
577
  }
578
578
  function z(o) {
579
579
  switch (typeof o) {
@@ -588,17 +588,17 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
588
588
  return o.every(z);
589
589
  if (o === null || i(o))
590
590
  return !0;
591
- var u = b(o);
591
+ var u = E(o);
592
592
  if (u) {
593
- var E = u.call(o), _;
593
+ var g = u.call(o), b;
594
594
  if (u !== o.entries) {
595
- for (; !(_ = E.next()).done; )
596
- if (!z(_.value))
595
+ for (; !(b = g.next()).done; )
596
+ if (!z(b.value))
597
597
  return !1;
598
598
  } else
599
- for (; !(_ = E.next()).done; ) {
600
- var m = _.value;
601
- if (m && !z(m[1]))
599
+ for (; !(b = g.next()).done; ) {
600
+ var y = b.value;
601
+ if (y && !z(y[1]))
602
602
  return !1;
603
603
  }
604
604
  } else
@@ -642,7 +642,7 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
642
642
  }
643
643
  }
644
644
  function oe(o) {
645
- return !o.constructor || !o.constructor.name ? N : o.constructor.name;
645
+ return !o.constructor || !o.constructor.name ? O : o.constructor.name;
646
646
  }
647
647
  return A.checkPropTypes = a, A.resetWarningCache = a.resetWarningCache, A.PropTypes = A, A;
648
648
  }, pe;
@@ -657,12 +657,12 @@ function Ve() {
657
657
  function s() {
658
658
  }
659
659
  return s.resetWarningCache = t, de = function() {
660
- function n(c, i, d, h, y, b) {
661
- if (b !== e) {
662
- var N = new Error(
660
+ function n(f, i, m, h, d, E) {
661
+ if (E !== e) {
662
+ var O = new Error(
663
663
  "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"
664
664
  );
665
- throw N.name = "Invariant Violation", N;
665
+ throw O.name = "Invariant Violation", O;
666
666
  }
667
667
  }
668
668
  n.isRequired = n;
@@ -706,10 +706,10 @@ function He() {
706
706
  return Z.exports;
707
707
  }
708
708
  var Je = /* @__PURE__ */ He();
709
- const X = /* @__PURE__ */ $e(Je), Ze = ({ content: e, title: t, className: s, id: n = "accordion" }) => {
709
+ const X = /* @__PURE__ */ ke(Je), Ze = ({ content: e, title: t, className: s, id: n = "accordion" }) => {
710
710
  const a = M("rpf-accordion", s);
711
- return /* @__PURE__ */ P("details", { className: a, id: `${n}`, children: [
712
- /* @__PURE__ */ P("summary", { className: "rpf-accordion__title", role: "button", children: [
711
+ return /* @__PURE__ */ x("details", { className: a, id: `${n}`, children: [
712
+ /* @__PURE__ */ x("summary", { className: "rpf-accordion__title", role: "button", children: [
713
713
  t,
714
714
  /* @__PURE__ */ p("span", { className: "rpf-accordion__icon" })
715
715
  ] }),
@@ -729,29 +729,29 @@ const B = ({
729
729
  className: n,
730
730
  type: a = "primary",
731
731
  variant: r = "",
732
- size: c = "default",
732
+ size: f = "default",
733
733
  icon: i = "",
734
- iconOnly: d = !1,
734
+ iconOnly: m = !1,
735
735
  iconPosition: h = "left",
736
- fullWidth: y = !1,
737
- disabled: b = !1,
738
- onClick: N = () => {
736
+ fullWidth: d = !1,
737
+ disabled: E = !1,
738
+ onClick: O = () => {
739
739
  },
740
740
  "aria-label": A = "",
741
741
  linkComponent: I
742
742
  // to pass in react-router-dom Link component
743
743
  }) => {
744
- const O = i && d, k = M(
744
+ const N = i && m, $ = M(
745
745
  // Static classes
746
746
  "rpf-button",
747
747
  // Conditional classes
748
748
  {
749
749
  [`rpf-button--${a}`]: a,
750
750
  "rpf-button--danger": r === "danger",
751
- "rpf-button--sm": c === "small",
752
- "rpf-button--icon-only": O,
753
- "rpf-button--full-width": y,
754
- disabled: b
751
+ "rpf-button--sm": f === "small",
752
+ "rpf-button--icon-only": N,
753
+ "rpf-button--full-width": d,
754
+ disabled: E
755
755
  },
756
756
  n
757
757
  );
@@ -759,27 +759,27 @@ const B = ({
759
759
  Le.isValidElement(i) ? (q += " icon", console.warn(
760
760
  "DEPRECATED: icons as React elements will not be supported in future releases"
761
761
  )) : q += " material-symbols-sharp";
762
- const F = (l, Y) => !Y || h !== l ? null : typeof Y == "string" ? /* @__PURE__ */ p("span", { className: q, children: Y }) : Y, $ = () => e && !O && /* @__PURE__ */ p("span", { className: "text", children: e }), j = /* @__PURE__ */ P(me, { children: [
762
+ const F = (c, Y) => !Y || h !== c ? null : typeof Y == "string" ? /* @__PURE__ */ p("span", { className: q, children: Y }) : Y, k = () => e && !N && /* @__PURE__ */ p("span", { className: "text", children: e }), j = /* @__PURE__ */ x(me, { children: [
763
763
  F("left", i),
764
- $(),
764
+ k(),
765
765
  F("right", i)
766
766
  ] });
767
767
  return t ? /* @__PURE__ */ p(
768
768
  I || "a",
769
769
  {
770
- className: k,
770
+ className: $,
771
771
  ...I ? { to: t } : { href: t, role: "button" },
772
- onClick: N,
772
+ onClick: O,
773
773
  "aria-label": A,
774
774
  children: j
775
775
  }
776
776
  ) : /* @__PURE__ */ p(
777
777
  "button",
778
778
  {
779
- className: k,
779
+ className: $,
780
780
  title: s,
781
- onClick: N,
782
- disabled: b,
781
+ onClick: O,
782
+ disabled: E,
783
783
  "aria-label": A,
784
784
  children: j
785
785
  }
@@ -791,25 +791,25 @@ const B = ({
791
791
  children: n,
792
792
  type: a,
793
793
  actions: r,
794
- onClose: c
795
- }) => /* @__PURE__ */ P("div", { className: `rpf-alert rpf-alert--${a}`, children: [
796
- /* @__PURE__ */ P("div", { className: "rpf-alert__header", children: [
794
+ onClose: f
795
+ }) => /* @__PURE__ */ x("div", { className: `rpf-alert rpf-alert--${a}`, children: [
796
+ /* @__PURE__ */ x("div", { className: "rpf-alert__header", children: [
797
797
  /* @__PURE__ */ p("span", { className: "rpf-alert__icon material-symbols-sharp" }),
798
798
  s ? /* @__PURE__ */ p("div", { className: "rpf-alert__title", children: s }) : e ? /* @__PURE__ */ p("p", { className: "rpf-alert__title", children: e }) : null,
799
- !!c && /* @__PURE__ */ p("div", { className: "rpf-alert__close", children: /* @__PURE__ */ p(
799
+ !!f && /* @__PURE__ */ p("div", { className: "rpf-alert__close", children: /* @__PURE__ */ p(
800
800
  B,
801
801
  {
802
802
  type: "tertiary",
803
803
  icon: "close",
804
804
  size: "small",
805
805
  iconOnly: !0,
806
- onClick: c
806
+ onClick: f
807
807
  }
808
808
  ) })
809
809
  ] }),
810
- (t || n || r) && /* @__PURE__ */ P("div", { className: "rpf-alert__body", children: [
810
+ (t || n || r) && /* @__PURE__ */ x("div", { className: "rpf-alert__body", children: [
811
811
  t ? /* @__PURE__ */ p("p", { children: t }) : n ? /* @__PURE__ */ p("div", { children: n }) : null,
812
- r && r.length > 0 && /* @__PURE__ */ p("div", { className: "rpf-alert__actions", children: r.map((i, d) => /* @__PURE__ */ p(
812
+ r && r.length > 0 && /* @__PURE__ */ p("div", { className: "rpf-alert__actions", children: r.map((i, m) => /* @__PURE__ */ p(
813
813
  B,
814
814
  {
815
815
  text: i.label,
@@ -818,57 +818,44 @@ const B = ({
818
818
  href: i.href,
819
819
  onClick: i.onClick
820
820
  },
821
- d
821
+ m
822
822
  )) })
823
823
  ] })
824
824
  ] }), pr = ({
825
- id: e,
826
- label: t,
825
+ label: e,
826
+ id: t,
827
827
  name: s,
828
- checked: n = !1,
829
- disabled: a = !1,
830
- error: r = "",
831
- onChange: c = () => {
832
- },
833
- value: i = "",
834
- className: d = ""
835
- }) => /* @__PURE__ */ P(me, { children: [
836
- /* @__PURE__ */ P(
837
- "label",
838
- {
839
- className: M("rpf-input-checkbox", {
840
- "rpf-input-checkbox--error": r,
841
- className: d
842
- }),
843
- children: [
844
- /* @__PURE__ */ p(
845
- "input",
846
- {
847
- checked: !!n,
848
- disabled: a,
849
- id: e,
850
- name: s,
851
- onChange: c,
852
- type: "checkbox",
853
- value: i
854
- }
855
- ),
856
- t
857
- ]
858
- }
859
- ),
860
- r && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
861
- /* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
862
- r
863
- ] })
864
- ] }), dr = ({
828
+ error: n = "",
829
+ ...a
830
+ }) => {
831
+ const { className: r, ...f } = a;
832
+ return /* @__PURE__ */ x(me, { children: [
833
+ /* @__PURE__ */ x(
834
+ "label",
835
+ {
836
+ className: M("rpf-input-checkbox", {
837
+ "rpf-input-checkbox--error": n,
838
+ className: r
839
+ }),
840
+ children: [
841
+ /* @__PURE__ */ p("input", { id: t, name: s, type: "checkbox", ...f }),
842
+ e
843
+ ]
844
+ }
845
+ ),
846
+ n && /* @__PURE__ */ x("div", { className: "rpf-error-message", children: [
847
+ /* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
848
+ n
849
+ ] })
850
+ ] });
851
+ }, dr = ({
865
852
  disabled: e = !1,
866
853
  errorText: t = "",
867
854
  fullWidth: s = !1,
868
855
  legendText: n,
869
856
  legendHintText: a = "",
870
857
  children: r
871
- }) => /* @__PURE__ */ P(
858
+ }) => /* @__PURE__ */ x(
872
859
  "fieldset",
873
860
  {
874
861
  className: M("rpf-fieldset", {
@@ -878,12 +865,12 @@ const B = ({
878
865
  }),
879
866
  disabled: e,
880
867
  children: [
881
- /* @__PURE__ */ P("legend", { className: "rpf-label", children: [
868
+ /* @__PURE__ */ x("legend", { className: "rpf-label", children: [
882
869
  n,
883
870
  a.length > 0 ? /* @__PURE__ */ p("small", { className: "rpf-label__hint", children: a }) : null
884
871
  ] }),
885
872
  /* @__PURE__ */ p("div", { className: "rpf-fieldset__inputs", children: r }),
886
- t.length > 0 ? /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
873
+ t.length > 0 ? /* @__PURE__ */ x("div", { className: "rpf-error-message", children: [
887
874
  /* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
888
875
  t
889
876
  ] }) : null
@@ -896,8 +883,8 @@ const B = ({
896
883
  disabled: n = !1,
897
884
  error: a = "",
898
885
  hint: r = ""
899
- }) => /* @__PURE__ */ P("div", { className: "rpf-input-field", children: [
900
- (t || r) && /* @__PURE__ */ P(
886
+ }) => /* @__PURE__ */ x("div", { className: "rpf-input-field", children: [
887
+ (t || r) && /* @__PURE__ */ x(
901
888
  "label",
902
889
  {
903
890
  htmlFor: e,
@@ -911,7 +898,7 @@ const B = ({
911
898
  }
912
899
  ),
913
900
  s,
914
- a && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
901
+ a && /* @__PURE__ */ x("div", { className: "rpf-error-message", children: [
915
902
  /* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "error" }),
916
903
  a
917
904
  ] })
@@ -920,7 +907,7 @@ const B = ({
920
907
  inputFieldId: t,
921
908
  disabled: s = !1,
922
909
  hint: n = ""
923
- }) => /* @__PURE__ */ p("div", { className: "rpf-label", children: /* @__PURE__ */ P(
910
+ }) => /* @__PURE__ */ p("div", { className: "rpf-label", children: /* @__PURE__ */ x(
924
911
  "label",
925
912
  {
926
913
  htmlFor: t,
@@ -933,36 +920,21 @@ const B = ({
933
920
  ]
934
921
  }
935
922
  ) }), mr = ({
936
- id: e,
937
- label: t,
923
+ label: e,
924
+ id: t,
938
925
  name: s,
939
- checked: n = !1,
940
- disabled: a = !1,
941
- fullWidth: r = !1,
942
- onChange: c = () => {
943
- },
944
- value: i = ""
945
- }) => /* @__PURE__ */ P(
926
+ fullWidth: n = !1,
927
+ ...a
928
+ }) => /* @__PURE__ */ x(
946
929
  "label",
947
930
  {
948
931
  className: M("rpf-input-radio", {
949
- "rpf-input-radio--disabled": a,
950
- "rpf-input--full-width": r
932
+ "rpf-input-radio--disabled": a.disabled,
933
+ "rpf-input--full-width": n
951
934
  }),
952
935
  children: [
953
- /* @__PURE__ */ p(
954
- "input",
955
- {
956
- checked: !!n,
957
- disabled: a,
958
- id: e,
959
- name: s,
960
- onChange: c,
961
- type: "radio",
962
- value: i
963
- }
964
- ),
965
- t
936
+ /* @__PURE__ */ p("input", { type: "radio", id: t, name: s, ...a }),
937
+ e
966
938
  ]
967
939
  }
968
940
  ), hr = ({
@@ -972,13 +944,13 @@ const B = ({
972
944
  error: n = "",
973
945
  hint: a = "",
974
946
  placeholder: r = "",
975
- defaultValue: c = "",
947
+ defaultValue: f = "",
976
948
  onClick: i = () => {
977
949
  },
978
- onChange: d = () => {
950
+ onChange: m = () => {
979
951
  }
980
- }) => /* @__PURE__ */ p("search", { children: /* @__PURE__ */ P("form", { className: "rpf-input-field", onSubmit: i, children: [
981
- /* @__PURE__ */ P(
952
+ }) => /* @__PURE__ */ p("search", { children: /* @__PURE__ */ x("form", { className: "rpf-input-field", onSubmit: i, children: [
953
+ /* @__PURE__ */ x(
982
954
  "label",
983
955
  {
984
956
  htmlFor: t,
@@ -991,7 +963,7 @@ const B = ({
991
963
  ]
992
964
  }
993
965
  ),
994
- /* @__PURE__ */ P("div", { className: "rpf-input-search-container", children: [
966
+ /* @__PURE__ */ x("div", { className: "rpf-input-search-container", children: [
995
967
  /* @__PURE__ */ p(
996
968
  "input",
997
969
  {
@@ -1004,9 +976,9 @@ const B = ({
1004
976
  name: "search",
1005
977
  type: "search",
1006
978
  "aria-label": "Search",
1007
- defaultValue: c,
979
+ defaultValue: f,
1008
980
  placeholder: r,
1009
- onChange: d
981
+ onChange: m
1010
982
  }
1011
983
  ),
1012
984
  /* @__PURE__ */ p(
@@ -1023,7 +995,7 @@ const B = ({
1023
995
  }
1024
996
  )
1025
997
  ] }),
1026
- n && /* @__PURE__ */ P("div", { className: "rpf-error-message", children: [
998
+ n && /* @__PURE__ */ x("div", { className: "rpf-error-message", children: [
1027
999
  /* @__PURE__ */ p("span", { className: "rpf-error-message__icon material-symbols-sharp", children: "info" }),
1028
1000
  n
1029
1001
  ] })
@@ -1034,12 +1006,13 @@ const B = ({
1034
1006
  options: n,
1035
1007
  disabled: a = !1,
1036
1008
  error: r = "",
1037
- fullWidth: c = !1,
1009
+ fullWidth: f = !1,
1038
1010
  hint: i = "",
1039
- onChange: d = () => {
1011
+ onChange: m = () => {
1040
1012
  },
1041
1013
  placeholder: h = "",
1042
- value: y = ""
1014
+ value: d = "",
1015
+ ...E
1043
1016
  }) => /* @__PURE__ */ p(
1044
1017
  ve,
1045
1018
  {
@@ -1048,21 +1021,22 @@ const B = ({
1048
1021
  error: r,
1049
1022
  hint: i,
1050
1023
  label: t,
1051
- children: /* @__PURE__ */ P(
1024
+ children: /* @__PURE__ */ x(
1052
1025
  "select",
1053
1026
  {
1054
1027
  className: M("rpf-input rpf-input-select", {
1055
1028
  "rpf-input--error": r,
1056
- "rpf-input--full-width": c
1029
+ "rpf-input--full-width": f
1057
1030
  }),
1058
1031
  disabled: a,
1059
1032
  id: e,
1060
1033
  name: s,
1061
- onChange: d,
1062
- value: y,
1034
+ onChange: m,
1035
+ value: d,
1036
+ ...E,
1063
1037
  children: [
1064
- !y && !!h && /* @__PURE__ */ p("option", { value: "", disabled: !0, children: h }),
1065
- n.map((b) => /* @__PURE__ */ p("option", { value: b.key, children: b.value }, b.key))
1038
+ !d && !!h && /* @__PURE__ */ p("option", { value: "", disabled: !0, children: h }),
1039
+ n.map((O) => /* @__PURE__ */ p("option", { value: O.key, children: O.value }, O.key))
1066
1040
  ]
1067
1041
  }
1068
1042
  )
@@ -1074,9 +1048,9 @@ const B = ({
1074
1048
  value: n,
1075
1049
  disabled: a = !1,
1076
1050
  readOnly: r = !1,
1077
- error: c = "",
1051
+ error: f = "",
1078
1052
  fullWidth: i = !1,
1079
- hint: d = "",
1053
+ hint: m = "",
1080
1054
  onChange: h = () => {
1081
1055
  }
1082
1056
  }) => /* @__PURE__ */ p(
@@ -1084,14 +1058,14 @@ const B = ({
1084
1058
  {
1085
1059
  id: e,
1086
1060
  disabled: a,
1087
- error: c,
1088
- hint: d,
1061
+ error: f,
1062
+ hint: m,
1089
1063
  label: t,
1090
1064
  children: /* @__PURE__ */ p(
1091
1065
  "textarea",
1092
1066
  {
1093
1067
  className: M("rpf-input rpf-input-textarea", {
1094
- "rpf-input--error": c,
1068
+ "rpf-input--error": f,
1095
1069
  "rpf-input--full-width": i,
1096
1070
  "rpf-input--disabled": a
1097
1071
  }),
@@ -1106,36 +1080,32 @@ const B = ({
1106
1080
  }
1107
1081
  ), _r = ({
1108
1082
  id: e,
1109
- label: t,
1110
- name: s,
1111
- value: n,
1112
- disabled: a = !1,
1113
- error: r = "",
1114
- fullWidth: c = !1,
1115
- hint: i = "",
1116
- onChange: d = () => {
1117
- }
1083
+ name: t,
1084
+ label: s,
1085
+ error: n = "",
1086
+ fullWidth: a = !1,
1087
+ hint: r = "",
1088
+ type: f = "text",
1089
+ ...i
1118
1090
  }) => /* @__PURE__ */ p(
1119
1091
  ve,
1120
1092
  {
1121
1093
  id: e,
1122
- disabled: a,
1123
- error: r,
1124
- hint: i,
1125
- label: t,
1094
+ disabled: i.disabled,
1095
+ error: n,
1096
+ hint: r,
1097
+ label: s,
1126
1098
  children: /* @__PURE__ */ p(
1127
1099
  "input",
1128
1100
  {
1129
1101
  className: M("rpf-input rpf-input-text", {
1130
- "rpf-input--error": r,
1131
- "rpf-input--full-width": c
1102
+ "rpf-input--error": n,
1103
+ "rpf-input--full-width": a
1132
1104
  }),
1133
- disabled: a,
1134
1105
  id: e,
1135
- name: s,
1136
- onChange: d,
1137
- type: "text",
1138
- value: n
1106
+ name: t,
1107
+ type: f,
1108
+ ...i
1139
1109
  }
1140
1110
  )
1141
1111
  }
@@ -1148,19 +1118,19 @@ function Ke(e, t) {
1148
1118
  }, [e]), se(() => {
1149
1119
  const a = s.current;
1150
1120
  if (!a) return;
1151
- const r = () => t(!1), c = (i) => {
1121
+ const r = () => t(!1), f = (i) => {
1152
1122
  i.preventDefault(), t(!1);
1153
1123
  };
1154
- return a.addEventListener("close", r), a.addEventListener("cancel", c), () => {
1155
- a.removeEventListener("close", r), a.removeEventListener("cancel", c);
1124
+ return a.addEventListener("close", r), a.addEventListener("cancel", f), () => {
1125
+ a.removeEventListener("close", r), a.removeEventListener("cancel", f);
1156
1126
  };
1157
1127
  }, [t]), se(() => {
1158
1128
  const a = s.current, r = n.current;
1159
1129
  if (!a || !r) return;
1160
- const c = (i) => {
1130
+ const f = (i) => {
1161
1131
  e && !r.contains(i.target) && t(!1);
1162
1132
  };
1163
- return a.addEventListener("mousedown", c), () => a.removeEventListener("mousedown", c);
1133
+ return a.addEventListener("mousedown", f), () => a.removeEventListener("mousedown", f);
1164
1134
  }, [e, t]), { dialogRef: s, contentRef: n };
1165
1135
  }
1166
1136
  const gr = ({
@@ -1170,16 +1140,16 @@ const gr = ({
1170
1140
  children: n,
1171
1141
  primaryButtonLink: a,
1172
1142
  primaryButtonText: r,
1173
- onClickPrimaryButton: c,
1143
+ onClickPrimaryButton: f,
1174
1144
  secondaryButtonText: i,
1175
- secondaryButtonLink: d,
1145
+ secondaryButtonLink: m,
1176
1146
  onClickSecondaryButton: h,
1177
- tertiaryButtonText: y,
1178
- tertiaryButtonLink: b,
1179
- onClickTertiaryButton: N,
1147
+ tertiaryButtonText: d,
1148
+ tertiaryButtonLink: E,
1149
+ onClickTertiaryButton: O,
1180
1150
  showCloseButton: A = !0
1181
1151
  }) => {
1182
- const { dialogRef: I, contentRef: O } = Ke(e, t);
1152
+ const { dialogRef: I, contentRef: N } = Ke(e, t);
1183
1153
  return /* @__PURE__ */ p(
1184
1154
  "dialog",
1185
1155
  {
@@ -1187,8 +1157,8 @@ const gr = ({
1187
1157
  className: "rpf-modal",
1188
1158
  "aria-labelledby": "modal-heading",
1189
1159
  "aria-describedby": "modal-description",
1190
- children: /* @__PURE__ */ P("div", { ref: O, className: "rpf-modal__wrapper", children: [
1191
- /* @__PURE__ */ P("div", { className: "rpf-modal__header", children: [
1160
+ children: /* @__PURE__ */ x("div", { ref: N, className: "rpf-modal__wrapper", children: [
1161
+ /* @__PURE__ */ x("div", { className: "rpf-modal__header", children: [
1192
1162
  /* @__PURE__ */ p("h2", { className: "rpf-modal__title", id: "modal-heading", children: s }),
1193
1163
  A && /* @__PURE__ */ p(
1194
1164
  B,
@@ -1202,13 +1172,13 @@ const gr = ({
1202
1172
  )
1203
1173
  ] }),
1204
1174
  /* @__PURE__ */ p("div", { id: "modal-description", className: "rpf-modal__content", tabIndex: 0, children: n }),
1205
- /* @__PURE__ */ P("div", { className: "rpf-modal__buttons", children: [
1175
+ /* @__PURE__ */ x("div", { className: "rpf-modal__buttons", children: [
1206
1176
  /* @__PURE__ */ p(
1207
1177
  B,
1208
1178
  {
1209
1179
  text: r,
1210
1180
  href: a,
1211
- onClick: c,
1181
+ onClick: f,
1212
1182
  type: "primary"
1213
1183
  }
1214
1184
  ),
@@ -1216,17 +1186,17 @@ const gr = ({
1216
1186
  B,
1217
1187
  {
1218
1188
  text: i,
1219
- href: d,
1189
+ href: m,
1220
1190
  onClick: h,
1221
1191
  type: "secondary"
1222
1192
  }
1223
1193
  ),
1224
- y && /* @__PURE__ */ p(
1194
+ d && /* @__PURE__ */ p(
1225
1195
  B,
1226
1196
  {
1227
- text: y,
1228
- href: b,
1229
- onClick: N,
1197
+ text: d,
1198
+ href: E,
1199
+ onClick: O,
1230
1200
  type: "tertiary"
1231
1201
  }
1232
1202
  )
@@ -1246,7 +1216,7 @@ const gr = ({
1246
1216
  "rpf-progress-bar--complete": s,
1247
1217
  className: n
1248
1218
  }),
1249
- children: /* @__PURE__ */ P("label", { className: "rpf-progress-bar__label", children: [
1219
+ children: /* @__PURE__ */ x("label", { className: "rpf-progress-bar__label", children: [
1250
1220
  /* @__PURE__ */ p("span", { children: e }),
1251
1221
  /* @__PURE__ */ p("progress", { className: "rpf-progress-bar__bar", value: t, max: "100", children: `${t}%` })
1252
1222
  ] })
@@ -1292,7 +1262,7 @@ var er = {
1292
1262
  * This source code is licensed under the ISC license.
1293
1263
  * See the LICENSE file in the root directory of this source tree.
1294
1264
  */
1295
- const rr = ke(
1265
+ const rr = $e(
1296
1266
  ({
1297
1267
  color: e = "currentColor",
1298
1268
  size: t = 24,
@@ -1300,12 +1270,12 @@ const rr = ke(
1300
1270
  absoluteStrokeWidth: n,
1301
1271
  className: a = "",
1302
1272
  children: r,
1303
- iconNode: c,
1273
+ iconNode: f,
1304
1274
  ...i
1305
- }, d) => ye(
1275
+ }, m) => ye(
1306
1276
  "svg",
1307
1277
  {
1308
- ref: d,
1278
+ ref: m,
1309
1279
  ...er,
1310
1280
  width: t,
1311
1281
  height: t,
@@ -1316,7 +1286,7 @@ const rr = ke(
1316
1286
  ...i
1317
1287
  },
1318
1288
  [
1319
- ...c.map(([h, y]) => ye(h, y)),
1289
+ ...f.map(([h, d]) => ye(h, d)),
1320
1290
  ...Array.isArray(r) ? r : [r]
1321
1291
  ]
1322
1292
  )
@@ -1328,7 +1298,7 @@ const rr = ke(
1328
1298
  * See the LICENSE file in the root directory of this source tree.
1329
1299
  */
1330
1300
  const be = (e, t) => {
1331
- const s = ke(
1301
+ const s = $e(
1332
1302
  ({ className: n, ...a }, r) => ye(rr, {
1333
1303
  ref: r,
1334
1304
  iconNode: t,
@@ -1388,7 +1358,7 @@ const sr = [
1388
1358
  onClick: s
1389
1359
  }) => {
1390
1360
  const n = !!s, a = e === "up" ? ir : e === "down" ? or : nr, r = cr(n, e);
1391
- return /* @__PURE__ */ p("th", { className: `rpf-table-cell ${n ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, "aria-sort": r, children: /* @__PURE__ */ p("div", { className: "rpf-table-cell__content", children: n ? /* @__PURE__ */ P("button", { className: "rpf-table-cell__sort-header", onClick: s, children: [
1361
+ return /* @__PURE__ */ p("th", { className: `rpf-table-cell ${n ? "rpf-table-cell--sortable-header" : "rpf-table-cell--header"}`, "aria-sort": r, children: /* @__PURE__ */ p("div", { className: "rpf-table-cell__content", children: n ? /* @__PURE__ */ x("button", { className: "rpf-table-cell__sort-header", onClick: s, children: [
1392
1362
  t,
1393
1363
  /* @__PURE__ */ p(a, { size: 20 })
1394
1364
  ] }) : /* @__PURE__ */ p(me, { children: t }) }) });
@@ -1397,7 +1367,7 @@ const sr = [
1397
1367
  {
1398
1368
  "data-testid": "table-container",
1399
1369
  className: M("rpf-table", { "rpf-table--full-width": s }),
1400
- children: /* @__PURE__ */ P(
1370
+ children: /* @__PURE__ */ x(
1401
1371
  "table",
1402
1372
  {
1403
1373
  className: M("rpf-table__table", {
@@ -1419,11 +1389,11 @@ const sr = [
1419
1389
  }) => {
1420
1390
  const r = n ? /* @__PURE__ */ p("span", { className: "rpf-tag__icon material-symbols-sharp", children: n }) : null;
1421
1391
  n && !a && (a = "left");
1422
- const c = t && t !== "default" ? `rpf-tag--${t}` : null;
1423
- return /* @__PURE__ */ P(
1392
+ const f = t && t !== "default" ? `rpf-tag--${t}` : null;
1393
+ return /* @__PURE__ */ x(
1424
1394
  "span",
1425
1395
  {
1426
- className: M("rpf-tag", c, {
1396
+ className: M("rpf-tag", f, {
1427
1397
  "rpf-tag--secondary": s
1428
1398
  }),
1429
1399
  children: [