@rikstv/shared-components 2.0.17 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/{Accordion-5e72e67b.mjs → Accordion-99b76aba.mjs} +82 -80
- package/dist/components/breadcrumb/{Breadcrumb-19678339.mjs → Breadcrumb-e35d6c52.mjs} +2 -2
- package/dist/components/button/{ArrowButton-4fa3c028.mjs → ArrowButton-0f3b0aa2.mjs} +3 -3
- package/dist/components/button/{BaseButton-4350803a.mjs → BaseButton-078de736.mjs} +1 -1
- package/dist/components/button/{BaseDecoratedButton-510bde9f.mjs → BaseDecoratedButton-8e565d5c.mjs} +2 -2
- package/dist/components/button/{BaseLinkButton-d325fecb.mjs → BaseLinkButton-327f2203.mjs} +3 -3
- package/dist/components/button/{Button-3754ac0a.mjs → Button-eb600417.mjs} +5 -5
- package/dist/components/button/{DecoratedButton-373af81a.mjs → DecoratedButton-5faedb72.mjs} +3 -3
- package/dist/components/button/{IconButton-be3ae8eb.mjs → IconButton-6e1085a5.mjs} +3 -3
- package/dist/components/button/{LinkButton-3a3f73b6.mjs → LinkButton-3d2c5c0a.mjs} +2 -2
- package/dist/components/checkbox/{BaseCheckbox-9b7c43b3.mjs → BaseCheckbox-7121b553.mjs} +1 -1
- package/dist/components/checkbox/{Checkbox-b534a84c.mjs → Checkbox-1c4563e6.mjs} +2 -2
- package/dist/components/core/{Core-5cdbbcd4.mjs → Core-7125109d.mjs} +1 -1
- package/dist/components/core/{LightMode-481a9782.mjs → LightMode-e67119ed.mjs} +1 -1
- package/dist/components/core/{RiksTV-2cc96840.mjs → RiksTV-cc9756df.mjs} +2 -2
- package/dist/components/core/{Strim-d7ebdcac.mjs → Strim-aa5e0106.mjs} +2 -2
- package/dist/components/dropdown/{Dropdown-3cf2ddf7.mjs → Dropdown-303a209f.mjs} +1 -1
- package/dist/components/icons/{Arrow-48abbbdf.mjs → Arrow-99fd1aec.mjs} +1 -1
- package/dist/components/icons/{Chevron-4e0258de.mjs → Chevron-53ae63f1.mjs} +1 -1
- package/dist/components/icons/HeartToggle-b67f1fc7.mjs +2 -0
- package/dist/components/icons/{Icons-32b173f0.mjs → Icons-5a5dc9ba.mjs} +2 -2
- package/dist/components/list/{CheckmarkListItem-f97a2aae.mjs → CheckmarkListItem-e5ed89b1.mjs} +3 -3
- package/dist/components/list/{CrossmarkListItem-60e093df.mjs → CrossmarkListItem-7cbcd904.mjs} +2 -2
- package/dist/components/list/{List-868fec40.mjs → List-bb36b86d.mjs} +1 -1
- package/dist/components/list/{ListItem-fe58799f.mjs → ListItem-8cbd4ee8.mjs} +1 -1
- package/dist/components/list/{OrderedListItem-1a4b67c5.mjs → OrderedListItem-82670461.mjs} +1 -1
- package/dist/components/loader/{Loader-55215a54.mjs → Loader-822d18a9.mjs} +2 -2
- package/dist/components/loader/{RawLoader-15d14922.mjs → RawLoader-56b0c399.mjs} +1 -1
- package/dist/components/notificationDot/{NotificationDot-bec7aa7b.mjs → NotificationDot-5b879a7c.mjs} +1 -1
- package/dist/components/panel/{Info-3147cc01.mjs → Info-c966d0cc.mjs} +1 -1
- package/dist/components/panel/{Panel-c4bab68c.mjs → Panel-36486e4c.mjs} +5 -5
- package/dist/components/panel/{Success-590bfbb6.mjs → Success-0b604646.mjs} +1 -1
- package/dist/components/panel/{Warning-8b3edebd.mjs → Warning-bc55935c.mjs} +1 -1
- package/dist/components/progress/{CircularProgress-ac261d40.mjs → CircularProgress-c7bca73a.mjs} +2 -2
- package/dist/components/progress/{Progress-068e34f7.mjs → Progress-7ff6c26b.mjs} +1 -1
- package/dist/components/spacing/{Gutter-e0dfcdc5.mjs → Gutter-fdb118c7.mjs} +1 -1
- package/dist/components/spacing/{GutterPadding-bd018bd6.mjs → GutterPadding-8c480038.mjs} +1 -1
- package/dist/components/textfield/{TextField-e187310b.mjs → TextField-b0018ce1.mjs} +2 -2
- package/dist/components/toggle/{FieldSet-00f1fc56.mjs → FieldSet-9a786292.mjs} +1 -1
- package/dist/components/toggle/{RadioToggle-5ddf1bfd.mjs → RadioToggle-87e58815.mjs} +3 -3
- package/dist/components/toggleButton/{ToggleButton-d50d64ec.mjs → ToggleButton-2e961f34.mjs} +2 -2
- package/dist/components/toggleInlineButton/{ToggleInlineButton-ff76d094.mjs → ToggleInlineButton-f57f3fe9.mjs} +2 -2
- package/dist/components/toggleLinkButton/{ToggleLinkButton-c6127fa1.mjs → ToggleLinkButton-09fe483c.mjs} +3 -3
- package/dist/components/typography/{Typography-61ad3ca9.mjs → Typography-afd3a0a3.mjs} +1 -1
- package/dist/shared-components.mjs +44 -44
- package/package.json +1 -1
- package/dist/components/icons/HeartToggle-a5a93ca7.mjs +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Ce, { useRef as ir, useEffect as ur } from "react";
|
|
2
|
-
import { C as sr } from "../icons/Chevron-
|
|
3
|
-
var
|
|
2
|
+
import { C as sr } from "../icons/Chevron-53ae63f1.mjs";
|
|
3
|
+
var D = {}, lr = {
|
|
4
4
|
get exports() {
|
|
5
|
-
return
|
|
5
|
+
return D;
|
|
6
6
|
},
|
|
7
7
|
set exports(m) {
|
|
8
|
-
|
|
8
|
+
D = m;
|
|
9
9
|
}
|
|
10
10
|
}, I = {};
|
|
11
11
|
/**
|
|
@@ -18,22 +18,22 @@ var k = {}, fr = {
|
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
19
|
*/
|
|
20
20
|
var Re;
|
|
21
|
-
function
|
|
21
|
+
function fr() {
|
|
22
22
|
if (Re)
|
|
23
23
|
return I;
|
|
24
24
|
Re = 1;
|
|
25
|
-
var m = Ce, b = Symbol.for("react.element"),
|
|
26
|
-
function _(T,
|
|
25
|
+
var m = Ce, b = Symbol.for("react.element"), w = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, R = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, P = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
26
|
+
function _(T, f, S) {
|
|
27
27
|
var v, h = {}, C = null, W = null;
|
|
28
|
-
|
|
29
|
-
for (v in
|
|
30
|
-
|
|
28
|
+
S !== void 0 && (C = "" + S), f.key !== void 0 && (C = "" + f.key), f.ref !== void 0 && (W = f.ref);
|
|
29
|
+
for (v in f)
|
|
30
|
+
g.call(f, v) && !P.hasOwnProperty(v) && (h[v] = f[v]);
|
|
31
31
|
if (T && T.defaultProps)
|
|
32
|
-
for (v in
|
|
33
|
-
h[v] === void 0 && (h[v] =
|
|
32
|
+
for (v in f = T.defaultProps, f)
|
|
33
|
+
h[v] === void 0 && (h[v] = f[v]);
|
|
34
34
|
return { $$typeof: b, type: T, key: C, ref: W, props: h, _owner: R.current };
|
|
35
35
|
}
|
|
36
|
-
return I.Fragment =
|
|
36
|
+
return I.Fragment = w, I.jsx = _, I.jsxs = _, I;
|
|
37
37
|
}
|
|
38
38
|
var $ = {};
|
|
39
39
|
/**
|
|
@@ -48,14 +48,14 @@ var $ = {};
|
|
|
48
48
|
var Te;
|
|
49
49
|
function cr() {
|
|
50
50
|
return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
|
|
51
|
-
var m = Ce, b = Symbol.for("react.element"),
|
|
51
|
+
var m = Ce, b = Symbol.for("react.element"), w = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), T = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), X = Symbol.iterator, Oe = "@@iterator";
|
|
52
52
|
function we(e) {
|
|
53
53
|
if (e === null || typeof e != "object")
|
|
54
54
|
return null;
|
|
55
55
|
var r = X && e[X] || e[Oe];
|
|
56
56
|
return typeof r == "function" ? r : null;
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var x = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
59
59
|
function c(e) {
|
|
60
60
|
{
|
|
61
61
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -65,7 +65,7 @@ function cr() {
|
|
|
65
65
|
}
|
|
66
66
|
function Pe(e, r, t) {
|
|
67
67
|
{
|
|
68
|
-
var n =
|
|
68
|
+
var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
|
69
69
|
i !== "" && (r += "%s", t = t.concat([i]));
|
|
70
70
|
var u = t.map(function(o) {
|
|
71
71
|
return String(o);
|
|
@@ -76,7 +76,7 @@ function cr() {
|
|
|
76
76
|
var Se = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
|
|
77
77
|
Z = Symbol.for("react.module.reference");
|
|
78
78
|
function Fe(e) {
|
|
79
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
79
|
+
return !!(typeof e == "string" || typeof e == "function" || e === g || e === P || De || e === R || e === S || e === v || ke || e === W || Se || xe || je || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === h || e.$$typeof === _ || e.$$typeof === T || e.$$typeof === f || // This needs to include all possible module reference object
|
|
80
80
|
// types supported by any Flight configuration anywhere since
|
|
81
81
|
// we don't know which Flight build this will end up being used
|
|
82
82
|
// with.
|
|
@@ -92,7 +92,7 @@ function cr() {
|
|
|
92
92
|
function Q(e) {
|
|
93
93
|
return e.displayName || "Context";
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function y(e) {
|
|
96
96
|
if (e == null)
|
|
97
97
|
return null;
|
|
98
98
|
if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -100,15 +100,15 @@ function cr() {
|
|
|
100
100
|
if (typeof e == "string")
|
|
101
101
|
return e;
|
|
102
102
|
switch (e) {
|
|
103
|
-
case
|
|
103
|
+
case g:
|
|
104
104
|
return "Fragment";
|
|
105
|
-
case D:
|
|
106
|
-
return "Portal";
|
|
107
105
|
case w:
|
|
106
|
+
return "Portal";
|
|
107
|
+
case P:
|
|
108
108
|
return "Profiler";
|
|
109
109
|
case R:
|
|
110
110
|
return "StrictMode";
|
|
111
|
-
case
|
|
111
|
+
case S:
|
|
112
112
|
return "Suspense";
|
|
113
113
|
case v:
|
|
114
114
|
return "SuspenseList";
|
|
@@ -121,15 +121,15 @@ function cr() {
|
|
|
121
121
|
case _:
|
|
122
122
|
var t = e;
|
|
123
123
|
return Q(t._context) + ".Provider";
|
|
124
|
-
case
|
|
124
|
+
case f:
|
|
125
125
|
return Ae(e, e.render, "ForwardRef");
|
|
126
126
|
case h:
|
|
127
127
|
var n = e.displayName || null;
|
|
128
|
-
return n !== null ? n :
|
|
128
|
+
return n !== null ? n : y(e.type) || "Memo";
|
|
129
129
|
case C: {
|
|
130
130
|
var i = e, u = i._payload, o = i._init;
|
|
131
131
|
try {
|
|
132
|
-
return
|
|
132
|
+
return y(o(u));
|
|
133
133
|
} catch {
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
@@ -199,7 +199,7 @@ function cr() {
|
|
|
199
199
|
F < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
var U =
|
|
202
|
+
var U = x.ReactCurrentDispatcher, B;
|
|
203
203
|
function Y(e, r, t) {
|
|
204
204
|
{
|
|
205
205
|
if (B === void 0)
|
|
@@ -268,25 +268,25 @@ function cr() {
|
|
|
268
268
|
if (E && n && typeof E.stack == "string") {
|
|
269
269
|
for (var a = E.stack.split(`
|
|
270
270
|
`), d = n.stack.split(`
|
|
271
|
-
`), s = a.length - 1,
|
|
272
|
-
|
|
273
|
-
for (; s >= 1 &&
|
|
274
|
-
if (a[s] !== d[
|
|
275
|
-
if (s !== 1 ||
|
|
271
|
+
`), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
|
|
272
|
+
l--;
|
|
273
|
+
for (; s >= 1 && l >= 0; s--, l--)
|
|
274
|
+
if (a[s] !== d[l]) {
|
|
275
|
+
if (s !== 1 || l !== 1)
|
|
276
276
|
do
|
|
277
|
-
if (s--,
|
|
277
|
+
if (s--, l--, l < 0 || a[s] !== d[l]) {
|
|
278
278
|
var p = `
|
|
279
279
|
` + a[s].replace(" at new ", " at ");
|
|
280
280
|
return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, p), p;
|
|
281
281
|
}
|
|
282
|
-
while (s >= 1 &&
|
|
282
|
+
while (s >= 1 && l >= 0);
|
|
283
283
|
break;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
} finally {
|
|
287
287
|
q = !1, U.current = u, $e(), Error.prepareStackTrace = i;
|
|
288
288
|
}
|
|
289
|
-
var
|
|
289
|
+
var k = e ? e.displayName || e.name : "", be = k ? Y(k) : "";
|
|
290
290
|
return typeof e == "function" && N.set(e, be), be;
|
|
291
291
|
}
|
|
292
292
|
function Ye(e, r, t) {
|
|
@@ -304,14 +304,14 @@ function cr() {
|
|
|
304
304
|
if (typeof e == "string")
|
|
305
305
|
return Y(e);
|
|
306
306
|
switch (e) {
|
|
307
|
-
case
|
|
307
|
+
case S:
|
|
308
308
|
return Y("Suspense");
|
|
309
309
|
case v:
|
|
310
310
|
return Y("SuspenseList");
|
|
311
311
|
}
|
|
312
312
|
if (typeof e == "object")
|
|
313
313
|
switch (e.$$typeof) {
|
|
314
|
-
case
|
|
314
|
+
case f:
|
|
315
315
|
return Ye(e.render);
|
|
316
316
|
case h:
|
|
317
317
|
return L(e.type, r, t);
|
|
@@ -325,13 +325,13 @@ function cr() {
|
|
|
325
325
|
}
|
|
326
326
|
return "";
|
|
327
327
|
}
|
|
328
|
-
var V = Object.prototype.hasOwnProperty,
|
|
328
|
+
var V = Object.prototype.hasOwnProperty, le = {}, fe = x.ReactDebugCurrentFrame;
|
|
329
329
|
function M(e) {
|
|
330
330
|
if (e) {
|
|
331
331
|
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
332
|
-
|
|
332
|
+
fe.setExtraStackFrame(t);
|
|
333
333
|
} else
|
|
334
|
-
|
|
334
|
+
fe.setExtraStackFrame(null);
|
|
335
335
|
}
|
|
336
336
|
function Le(e, r, t, n, i) {
|
|
337
337
|
{
|
|
@@ -348,7 +348,7 @@ function cr() {
|
|
|
348
348
|
} catch (s) {
|
|
349
349
|
a = s;
|
|
350
350
|
}
|
|
351
|
-
a && !(a instanceof Error) && (M(i), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), M(null)), a instanceof Error && !(a.message in
|
|
351
|
+
a && !(a instanceof Error) && (M(i), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), M(null)), a instanceof Error && !(a.message in le) && (le[a.message] = !0, M(i), c("Failed %s type: %s", t, a.message), M(null));
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
}
|
|
@@ -376,7 +376,7 @@ function cr() {
|
|
|
376
376
|
if (Ue(e))
|
|
377
377
|
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Me(e)), ce(e);
|
|
378
378
|
}
|
|
379
|
-
var A =
|
|
379
|
+
var A = x.ReactCurrentOwner, Be = {
|
|
380
380
|
key: !0,
|
|
381
381
|
ref: !0,
|
|
382
382
|
__self: !0,
|
|
@@ -401,8 +401,8 @@ function cr() {
|
|
|
401
401
|
}
|
|
402
402
|
function Ge(e, r) {
|
|
403
403
|
if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
|
|
404
|
-
var t =
|
|
405
|
-
G[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
404
|
+
var t = y(A.current.type);
|
|
405
|
+
G[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(A.current.type), e.ref), G[t] = !0);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
function ze(e, r) {
|
|
@@ -468,14 +468,14 @@ function cr() {
|
|
|
468
468
|
o[u] === void 0 && (o[u] = s[u]);
|
|
469
469
|
}
|
|
470
470
|
if (a || d) {
|
|
471
|
-
var
|
|
472
|
-
a && ze(o,
|
|
471
|
+
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
472
|
+
a && ze(o, l), d && Ke(o, l);
|
|
473
473
|
}
|
|
474
474
|
return He(e, a, d, i, n, A.current, o);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
var z =
|
|
478
|
-
function
|
|
477
|
+
var z = x.ReactCurrentOwner, me = x.ReactDebugCurrentFrame;
|
|
478
|
+
function j(e) {
|
|
479
479
|
if (e) {
|
|
480
480
|
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
481
481
|
me.setExtraStackFrame(t);
|
|
@@ -490,7 +490,7 @@ function cr() {
|
|
|
490
490
|
function _e() {
|
|
491
491
|
{
|
|
492
492
|
if (z.current) {
|
|
493
|
-
var e =
|
|
493
|
+
var e = y(z.current.type);
|
|
494
494
|
if (e)
|
|
495
495
|
return `
|
|
496
496
|
|
|
@@ -523,7 +523,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
523
523
|
return r;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function ye(e, r) {
|
|
527
527
|
{
|
|
528
528
|
if (!e._store || e._store.validated || e.key != null)
|
|
529
529
|
return;
|
|
@@ -533,7 +533,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
533
533
|
return;
|
|
534
534
|
he[t] = !0;
|
|
535
535
|
var n = "";
|
|
536
|
-
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " +
|
|
536
|
+
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + y(e._owner.type) + "."), j(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), j(null);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
function Ee(e, r) {
|
|
@@ -543,7 +543,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
543
543
|
if (J(e))
|
|
544
544
|
for (var t = 0; t < e.length; t++) {
|
|
545
545
|
var n = e[t];
|
|
546
|
-
H(n) &&
|
|
546
|
+
H(n) && ye(n, r);
|
|
547
547
|
}
|
|
548
548
|
else if (H(e))
|
|
549
549
|
e._store && (e._store.validated = !0);
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
551
551
|
var i = we(e);
|
|
552
552
|
if (typeof i == "function" && i !== e.entries)
|
|
553
553
|
for (var u = i.call(e), o; !(o = u.next()).done; )
|
|
554
|
-
H(o.value) &&
|
|
554
|
+
H(o.value) && ye(o.value, r);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -563,18 +563,18 @@ Check the top-level render call using <` + t + ">.");
|
|
|
563
563
|
var t;
|
|
564
564
|
if (typeof r == "function")
|
|
565
565
|
t = r.propTypes;
|
|
566
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
566
|
+
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
567
567
|
// Inner props are checked in the reconciler.
|
|
568
568
|
r.$$typeof === h))
|
|
569
569
|
t = r.propTypes;
|
|
570
570
|
else
|
|
571
571
|
return;
|
|
572
572
|
if (t) {
|
|
573
|
-
var n =
|
|
573
|
+
var n = y(r);
|
|
574
574
|
Le(t, e.props, "prop", n, e);
|
|
575
575
|
} else if (r.PropTypes !== void 0 && !K) {
|
|
576
576
|
K = !0;
|
|
577
|
-
var i =
|
|
577
|
+
var i = y(r);
|
|
578
578
|
c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
|
579
579
|
}
|
|
580
580
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -585,14 +585,14 @@ Check the top-level render call using <` + t + ">.");
|
|
|
585
585
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
586
586
|
var n = r[t];
|
|
587
587
|
if (n !== "children" && n !== "key") {
|
|
588
|
-
|
|
588
|
+
j(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), j(null);
|
|
589
589
|
break;
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
e.ref !== null && (
|
|
592
|
+
e.ref !== null && (j(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function ge(e, r, t, n, i, u) {
|
|
596
596
|
{
|
|
597
597
|
var o = Fe(e);
|
|
598
598
|
if (!o) {
|
|
@@ -601,62 +601,64 @@ Check the top-level render call using <` + t + ">.");
|
|
|
601
601
|
var d = Ze(i);
|
|
602
602
|
d ? a += d : a += _e();
|
|
603
603
|
var s;
|
|
604
|
-
e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === b ? (s = "<" + (
|
|
604
|
+
e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === b ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
if (
|
|
608
|
-
return
|
|
606
|
+
var l = Xe(e, r, t, i, u);
|
|
607
|
+
if (l == null)
|
|
608
|
+
return l;
|
|
609
609
|
if (o) {
|
|
610
610
|
var p = r.children;
|
|
611
611
|
if (p !== void 0)
|
|
612
612
|
if (n)
|
|
613
613
|
if (J(p)) {
|
|
614
|
-
for (var
|
|
615
|
-
Ee(p[
|
|
614
|
+
for (var k = 0; k < p.length; k++)
|
|
615
|
+
Ee(p[k], e);
|
|
616
616
|
Object.freeze && Object.freeze(p);
|
|
617
617
|
} else
|
|
618
618
|
c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
619
619
|
else
|
|
620
620
|
Ee(p, e);
|
|
621
621
|
}
|
|
622
|
-
return e ===
|
|
622
|
+
return e === g ? rr(l) : er(l), l;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
function tr(e, r, t) {
|
|
626
|
-
return
|
|
626
|
+
return ge(e, r, t, !0);
|
|
627
627
|
}
|
|
628
628
|
function nr(e, r, t) {
|
|
629
|
-
return
|
|
629
|
+
return ge(e, r, t, !1);
|
|
630
630
|
}
|
|
631
631
|
var ar = nr, or = tr;
|
|
632
|
-
$.Fragment =
|
|
632
|
+
$.Fragment = g, $.jsx = ar, $.jsxs = or;
|
|
633
633
|
}()), $;
|
|
634
634
|
}
|
|
635
635
|
(function(m) {
|
|
636
|
-
process.env.NODE_ENV === "production" ? m.exports =
|
|
637
|
-
})(
|
|
636
|
+
process.env.NODE_ENV === "production" ? m.exports = fr() : m.exports = cr();
|
|
637
|
+
})(lr);
|
|
638
638
|
const pr = ({
|
|
639
639
|
initialOpen: m = !0,
|
|
640
640
|
children: b,
|
|
641
|
-
heading:
|
|
642
|
-
className:
|
|
641
|
+
heading: w,
|
|
642
|
+
className: g = "",
|
|
643
643
|
lightBackground: R = !1,
|
|
644
|
-
...
|
|
644
|
+
...P
|
|
645
645
|
}) => {
|
|
646
646
|
const _ = ir(null);
|
|
647
647
|
return ur(() => {
|
|
648
648
|
_.current && (_.current.open = m);
|
|
649
|
-
}, [m]), /* @__PURE__ */
|
|
649
|
+
}, [m]), /* @__PURE__ */ D.jsxs(
|
|
650
650
|
"details",
|
|
651
651
|
{
|
|
652
652
|
ref: _,
|
|
653
|
+
"data-module": "accordion",
|
|
654
|
+
"data-details-summary": w,
|
|
653
655
|
"data-testid": "rds-accordion",
|
|
654
|
-
className: `rds-accordion-details ${R ? "rds-accordion-details--light" : ""} ${R === "white" ? "rds-accordion-details--white" : ""} ${
|
|
655
|
-
...
|
|
656
|
+
className: `rds-accordion-details ${R ? "rds-accordion-details--light" : ""} ${R === "white" ? "rds-accordion-details--white" : ""} ${g}`,
|
|
657
|
+
...P,
|
|
656
658
|
children: [
|
|
657
|
-
/* @__PURE__ */
|
|
658
|
-
/* @__PURE__ */
|
|
659
|
-
/* @__PURE__ */
|
|
659
|
+
/* @__PURE__ */ D.jsxs("summary", { "data-testid": "rds-accordion-summary", className: "rds-accordion-details__summary", children: [
|
|
660
|
+
/* @__PURE__ */ D.jsx(sr, {}),
|
|
661
|
+
/* @__PURE__ */ D.jsx("div", { className: "rds-accordion-details__summary__content", children: w })
|
|
660
662
|
] }),
|
|
661
663
|
b
|
|
662
664
|
]
|
|
@@ -665,5 +667,5 @@ const pr = ({
|
|
|
665
667
|
};
|
|
666
668
|
export {
|
|
667
669
|
pr as A,
|
|
668
|
-
|
|
670
|
+
D as j
|
|
669
671
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as b } from "react";
|
|
3
|
-
import { S as d } from "../typography/Typography-
|
|
3
|
+
import { S as d } from "../typography/Typography-afd3a0a3.mjs";
|
|
4
4
|
const u = b(({ className: a = "", crumbs: s, render: c, ...m }, i) => /* @__PURE__ */ r.jsx("nav", { className: `rds-breadcrumb ${a}`, ref: i, ...m, children: /* @__PURE__ */ r.jsx(d, { children: /* @__PURE__ */ r.jsx("ol", { className: "rds-breadcrumb__list", children: s.map(({ name: e, href: l }, n) => {
|
|
5
5
|
const t = n === s.length - 1;
|
|
6
6
|
return /* @__PURE__ */ r.jsx(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as n } from "react";
|
|
3
|
-
import { P as u, S as w, T as d } from "./DecoratedButton-
|
|
4
|
-
import { A as c } from "../icons/Arrow-
|
|
3
|
+
import { P as u, S as w, T as d } from "./DecoratedButton-5faedb72.mjs";
|
|
4
|
+
import { A as c } from "../icons/Arrow-99fd1aec.mjs";
|
|
5
5
|
const e = () => /* @__PURE__ */ s.jsx(c, {}), m = n(
|
|
6
6
|
({ forwards: r = !0, className: t = "", ...o }, a) => /* @__PURE__ */ s.jsx(
|
|
7
7
|
u,
|
package/dist/components/button/{BaseDecoratedButton-510bde9f.mjs → BaseDecoratedButton-8e565d5c.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as c } from "react";
|
|
3
|
-
import { B as m } from "./BaseButton-
|
|
3
|
+
import { B as m } from "./BaseButton-078de736.mjs";
|
|
4
4
|
const x = c(
|
|
5
5
|
({ children: n, buttonStyle: t, postfix: r, icon: a, arrow: o, iconClass: e = "", ...d }, i) => /* @__PURE__ */ s.jsx(m, { buttonStyle: t, ref: i, ...d, children: /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6
6
|
a && /* @__PURE__ */ s.jsx("span", { "data-testid": "rds-button__icon", className: `rds-button__icon ${e}`, children: /* @__PURE__ */ s.jsx(a, {}) }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as b } from "react";
|
|
3
|
-
import "./ArrowButton-
|
|
4
|
-
import { A as c } from "../icons/Arrow-
|
|
3
|
+
import "./ArrowButton-0f3b0aa2.mjs";
|
|
4
|
+
import { A as c } from "../icons/Arrow-99fd1aec.mjs";
|
|
5
5
|
const p = () => /* @__PURE__ */ s.jsx(c, {}), x = b(
|
|
6
6
|
({
|
|
7
7
|
element: a,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as n } from "react";
|
|
3
|
-
import { B as a } from "./BaseButton-
|
|
4
|
-
import "./ArrowButton-
|
|
5
|
-
import "./LinkButton-
|
|
6
|
-
import "./BaseLinkButton-
|
|
3
|
+
import { B as a } from "./BaseButton-078de736.mjs";
|
|
4
|
+
import "./ArrowButton-0f3b0aa2.mjs";
|
|
5
|
+
import "./LinkButton-3d2c5c0a.mjs";
|
|
6
|
+
import "./BaseLinkButton-327f2203.mjs";
|
|
7
7
|
const s = n((t, o) => /* @__PURE__ */ r.jsx(a, { buttonStyle: "rds-button", buttonType: "primary", ref: o, ...t }));
|
|
8
8
|
s.displayName = "PrimaryButton";
|
|
9
9
|
const e = n((t, o) => /* @__PURE__ */ r.jsx(a, { buttonStyle: "rds-button", buttonType: "secondary", ref: o, ...t }));
|
package/dist/components/button/{DecoratedButton-373af81a.mjs → DecoratedButton-5faedb72.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as e } from "react";
|
|
3
|
-
import { B as a } from "./BaseDecoratedButton-
|
|
4
|
-
import "./ArrowButton-
|
|
3
|
+
import { B as a } from "./BaseDecoratedButton-8e565d5c.mjs";
|
|
4
|
+
import "./ArrowButton-0f3b0aa2.mjs";
|
|
5
5
|
const s = e(
|
|
6
6
|
(t, o) => /* @__PURE__ */ r.jsx(a, { buttonType: "primary", ref: o, ...t })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as n } from "../accordion/Accordion-
|
|
1
|
+
import { j as n } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as r } from "react";
|
|
3
|
-
import { P as a, S as s, T as e } from "./DecoratedButton-
|
|
4
|
-
import "./ArrowButton-
|
|
3
|
+
import { P as a, S as s, T as e } from "./DecoratedButton-5faedb72.mjs";
|
|
4
|
+
import "./ArrowButton-0f3b0aa2.mjs";
|
|
5
5
|
const c = r((t, o) => /* @__PURE__ */ n.jsx(a, { buttonStyle: "rds-icon-button", ref: o, ...t }));
|
|
6
6
|
c.displayName = "PrimaryIconButton";
|
|
7
7
|
const i = r((t, o) => /* @__PURE__ */ n.jsx(s, { buttonStyle: "rds-icon-button", ref: o, ...t }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as m } from "react";
|
|
3
|
-
import { B as n } from "./BaseLinkButton-
|
|
3
|
+
import { B as n } from "./BaseLinkButton-327f2203.mjs";
|
|
4
4
|
const s = m((t, o) => /* @__PURE__ */ r.jsx(n, { element: "a", ...t, ref: o }));
|
|
5
5
|
s.displayName = "LinkButton";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as x } from "../accordion/Accordion-
|
|
1
|
+
import { j as x } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as b } from "react";
|
|
3
|
-
import { B as p } from "./BaseCheckbox-
|
|
3
|
+
import { B as p } from "./BaseCheckbox-7121b553.mjs";
|
|
4
4
|
const i = b(
|
|
5
5
|
({ className: o = "", id: r, lightBackground: s, hasError: e, style: a, children: c, ...m }, t) => /* @__PURE__ */ x.jsx(
|
|
6
6
|
p,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i } from "../accordion/Accordion-
|
|
1
|
+
import { j as i } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as a } from "react";
|
|
3
3
|
const e = a(
|
|
4
4
|
({ children: o, className: s = "", ...r }, t) => /* @__PURE__ */ i.jsx("div", { ref: t, className: `rds-light ${s}`, ...r, children: o })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as o } from "../accordion/Accordion-
|
|
2
|
-
import { C as s } from "./Core-
|
|
1
|
+
import { j as o } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
|
+
import { C as s } from "./Core-7125109d.mjs";
|
|
3
3
|
const m = ({ children: r }) => /* @__PURE__ */ o.jsx(s, { brand: "rtv", children: r });
|
|
4
4
|
export {
|
|
5
5
|
m as R
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as o } from "../accordion/Accordion-
|
|
2
|
-
import { C as s } from "./Core-
|
|
1
|
+
import { j as o } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
|
+
import { C as s } from "./Core-7125109d.mjs";
|
|
3
3
|
const i = ({ children: r }) => /* @__PURE__ */ o.jsx(s, { brand: "strm", children: r });
|
|
4
4
|
export {
|
|
5
5
|
i as S
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l } from "../accordion/Accordion-
|
|
1
|
+
import { j as l } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const o = () => /* @__PURE__ */ l.jsx("svg", { "aria-label": "Pil", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx(
|
|
3
3
|
"path",
|
|
4
4
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import "../accordion/Accordion-
|
|
3
|
-
import "./HeartToggle-
|
|
2
|
+
import "../accordion/Accordion-99b76aba.mjs";
|
|
3
|
+
import "./HeartToggle-b67f1fc7.mjs";
|
|
4
4
|
const l = (r) => /* @__PURE__ */ e.createElement("svg", { viewBox: "7 8 18 16", xmlns: "http://www.w3.org/2000/svg", "aria-label": "Avmerking", ...r }, /* @__PURE__ */ e.createElement("path", { fill: "currentColor", d: "M13.461 23.777c-.23 0-.45-.09-.61-.26l-5.61-5.79a.842.842 0 0 1 .02-1.2c.34-.33.88-.32 1.2.02l4.91 5.07 9.8-13.27c.28-.38.81-.46 1.19-.18.38.28.46.81.18 1.19l-10.39 14.07c-.15.2-.38.33-.63.34h-.06v.01Z" }));
|
|
5
5
|
export {
|
|
6
6
|
l as S
|
package/dist/components/list/{CheckmarkListItem-f97a2aae.mjs → CheckmarkListItem-e5ed89b1.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../icons/HeartToggle-
|
|
4
|
-
import { S as i } from "../icons/Icons-
|
|
3
|
+
import "../icons/HeartToggle-b67f1fc7.mjs";
|
|
4
|
+
import { S as i } from "../icons/Icons-5a5dc9ba.mjs";
|
|
5
5
|
const l = (s) => {
|
|
6
6
|
switch (s) {
|
|
7
7
|
case "error":
|
package/dist/components/list/{CrossmarkListItem-60e093df.mjs → CrossmarkListItem-7cbcd904.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
2
|
-
import { g as l } from "./CheckmarkListItem-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
|
+
import { g as l } from "./CheckmarkListItem-e5ed89b1.mjs";
|
|
3
3
|
const d = ({
|
|
4
4
|
color: t,
|
|
5
5
|
style: r,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i } from "../accordion/Accordion-
|
|
1
|
+
import { j as i } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
3
|
const e = o(
|
|
4
4
|
({ className: s = "", ordered: a = !1, children: t, ...r }, d) => a ? /* @__PURE__ */ i.jsx(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const r = ({ className: t = "", children: e, innerClassName: i = "", ...a }) => /* @__PURE__ */ s.jsx("li", { className: `rds-list__item ${t}`, "data-testid": "rds-list-item", ...a, children: /* @__PURE__ */ s.jsx("span", { className: `${i}`, children: e }) });
|
|
3
3
|
export {
|
|
4
4
|
r as L
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const a = ({ className: e = "", innerClassName: t = "", children: r, ...d }) => /* @__PURE__ */ s.jsx("li", { className: `rds-list__item__ordered ${e}`, "data-testid": "rds-ordered-list-item", ...d, children: /* @__PURE__ */ s.jsx("span", { className: `${t}`, children: r }) });
|
|
3
3
|
export {
|
|
4
4
|
a as O
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as n } from "../accordion/Accordion-
|
|
1
|
+
import { j as n } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as m, useState as u, useEffect as f } from "react";
|
|
3
|
-
import { R as s } from "./RawLoader-
|
|
3
|
+
import { R as s } from "./RawLoader-56b0c399.mjs";
|
|
4
4
|
const a = (r) => {
|
|
5
5
|
const [e, t] = u(r === 0);
|
|
6
6
|
return f(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as i } from "react";
|
|
3
3
|
const o = i(
|
|
4
4
|
({ size: r = "small", className: n = "", lightBackground: e, label: a = "Laster", politeness: p = "polite", ...t }, d) => /* @__PURE__ */ s.jsx(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l } from "../accordion/Accordion-
|
|
1
|
+
import { j as l } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const C = () => /* @__PURE__ */ l.jsxs("svg", { viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3
3
|
/* @__PURE__ */ l.jsx(
|
|
4
4
|
"path",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as m } from "react";
|
|
3
|
-
import { S as x } from "../typography/Typography-
|
|
4
|
-
import { S as j } from "./Success-
|
|
5
|
-
import { W as f } from "./Warning-
|
|
6
|
-
import { I as a } from "./Info-
|
|
3
|
+
import { S as x } from "../typography/Typography-afd3a0a3.mjs";
|
|
4
|
+
import { S as j } from "./Success-0b604646.mjs";
|
|
5
|
+
import { W as f } from "./Warning-bc55935c.mjs";
|
|
6
|
+
import { I as a } from "./Info-c966d0cc.mjs";
|
|
7
7
|
const h = m(
|
|
8
8
|
({
|
|
9
9
|
className: c = "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l } from "../accordion/Accordion-
|
|
1
|
+
import { j as l } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const d = () => /* @__PURE__ */ l.jsxs("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", children: [
|
|
3
3
|
/* @__PURE__ */ l.jsx(
|
|
4
4
|
"path",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "../accordion/Accordion-
|
|
1
|
+
import { j as r } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const t = () => /* @__PURE__ */ r.jsx("svg", { width: "100%", fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", children: /* @__PURE__ */ r.jsx(
|
|
3
3
|
"path",
|
|
4
4
|
{
|
package/dist/components/progress/{CircularProgress-ac261d40.mjs → CircularProgress-c7bca73a.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as x, useState as e, useEffect as g } from "react";
|
|
3
|
-
import { S as u } from "../typography/Typography-
|
|
3
|
+
import { S as u } from "../typography/Typography-afd3a0a3.mjs";
|
|
4
4
|
const m = ({ progressRatio: r }) => (1 - r) * 100 * Math.PI, j = x(
|
|
5
5
|
({ progressRatio: r, label: t, size: a = "small", className: c = "", children: l, ...o }, d) => {
|
|
6
6
|
const [i, n] = e(0), [p] = e(a === "small" ? "160px" : "260px");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as s } from "../accordion/Accordion-
|
|
1
|
+
import { j as s } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
const i = g(
|
|
4
4
|
({ className: a = "", label: d, ratio: r, checkmarkOnDone: e = !1, animateIn: o = !1, ...t }, p) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../accordion/Accordion-
|
|
1
|
+
import { j as e } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const a = ({ className: t = "", children: r, ...s }) => /* @__PURE__ */ e.jsx("div", { className: `rds-gutter ${t}`, ...s, children: r });
|
|
3
3
|
export {
|
|
4
4
|
a as G
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as a } from "../accordion/Accordion-
|
|
1
|
+
import { j as a } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
const e = ({ className: t = "", children: r, ...s }) => /* @__PURE__ */ a.jsx("div", { className: `rds-gutter-padding ${t}`, ...s, children: r });
|
|
3
3
|
export {
|
|
4
4
|
e as G
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as t } from "../accordion/Accordion-
|
|
1
|
+
import { j as t } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as $ } from "react";
|
|
3
|
-
import { g as c } from "../checkbox/BaseCheckbox-
|
|
3
|
+
import { g as c } from "../checkbox/BaseCheckbox-7121b553.mjs";
|
|
4
4
|
const v = $(
|
|
5
5
|
({
|
|
6
6
|
className: o = "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "../accordion/Accordion-
|
|
1
|
+
import { j as e } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { createContext as o, forwardRef as n } from "react";
|
|
3
3
|
const m = o({ radioName: "" }), f = n(
|
|
4
4
|
({ legend: s, children: t, name: d, className: r = "", showLegend: a = !1, ...i }, l) => /* @__PURE__ */ e.jsx(m.Provider, { value: { radioName: d }, children: /* @__PURE__ */ e.jsxs("fieldset", { "data-testid": "fieldset", ...i, className: `rds-field-set ${r}`, ref: l, children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as o } from "../accordion/Accordion-
|
|
1
|
+
import { j as o } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as d, useContext as l } from "react";
|
|
3
|
-
import { R as n } from "./FieldSet-
|
|
4
|
-
import "../button/ArrowButton-
|
|
3
|
+
import { R as n } from "./FieldSet-9a786292.mjs";
|
|
4
|
+
import "../button/ArrowButton-0f3b0aa2.mjs";
|
|
5
5
|
const m = d(
|
|
6
6
|
({ label: a, name: e, className: r = "", ...s }, t) => {
|
|
7
7
|
const { radioName: i } = l(n);
|
package/dist/components/toggleButton/{ToggleButton-d50d64ec.mjs → ToggleButton-2e961f34.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as t } from "../accordion/Accordion-
|
|
1
|
+
import { j as t } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as I, useRef as k, useState as C } from "react";
|
|
3
|
-
import { B as N } from "../checkbox/BaseCheckbox-
|
|
3
|
+
import { B as N } from "../checkbox/BaseCheckbox-7121b553.mjs";
|
|
4
4
|
const B = I(
|
|
5
5
|
({ children: s, className: _ = "", defaultChecked: l, icons: e, iconClass: h = "", id: i, onChange: a, alwaysShowLabel: x = !1, ...f }, m) => {
|
|
6
6
|
const p = k(null), [n, c] = C(!!l), g = e && "checkedIcon" in e ? e.checkedIcon : null, r = e && "uncheckedIcon" in e ? e.uncheckedIcon : null, u = e && "toggleIcon" in e ? e.toggleIcon : null, o = m || p, b = (j) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as l } from "../accordion/Accordion-
|
|
1
|
+
import { j as l } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as h, useRef as x, useState as C } from "react";
|
|
3
|
-
import { B as k } from "../checkbox/BaseCheckbox-
|
|
3
|
+
import { B as k } from "../checkbox/BaseCheckbox-7121b553.mjs";
|
|
4
4
|
const B = h(
|
|
5
5
|
({
|
|
6
6
|
defaultChecked: i,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as t } from "../accordion/Accordion-
|
|
1
|
+
import { j as t } from "../accordion/Accordion-99b76aba.mjs";
|
|
2
2
|
import { forwardRef as b, useRef as h, useState as x } from "react";
|
|
3
|
-
import { B as C } from "../checkbox/BaseCheckbox-
|
|
4
|
-
import { C as j } from "../icons/Chevron-
|
|
3
|
+
import { B as C } from "../checkbox/BaseCheckbox-7121b553.mjs";
|
|
4
|
+
import { C as j } from "../icons/Chevron-53ae63f1.mjs";
|
|
5
5
|
const N = b(
|
|
6
6
|
({
|
|
7
7
|
defaultChecked: a,
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { R as q } from "./components/core/RiksTV-
|
|
2
|
-
import { S as j } from "./components/core/Strim-
|
|
3
|
-
import { L as J } from "./components/core/LightMode-
|
|
4
|
-
import { G as X } from "./components/spacing/Gutter-
|
|
5
|
-
import { G as Z } from "./components/spacing/GutterPadding-
|
|
6
|
-
import { N as re } from "./components/notificationDot/NotificationDot-
|
|
7
|
-
import { A as ne } from "./components/accordion/Accordion-
|
|
8
|
-
import { P as se } from "./components/panel/Panel-
|
|
9
|
-
import { B as ae, a as ce } from "./components/breadcrumb/Breadcrumb-
|
|
10
|
-
import { P as me } from "./components/progress/Progress-
|
|
11
|
-
import { L as fe } from "./components/loader/Loader-
|
|
12
|
-
import { C as xe } from "./components/progress/CircularProgress-
|
|
13
|
-
import { D as ge } from "./components/dropdown/Dropdown-
|
|
14
|
-
import { P as he, S as Te, T as ve } from "./components/button/Button-
|
|
15
|
-
import { P as Be, S as we, T as Ee } from "./components/button/ArrowButton-
|
|
16
|
-
import { P as Me, S as Re, T as be } from "./components/button/IconButton-
|
|
17
|
-
import { T as Se } from "./components/toggleButton/ToggleButton-
|
|
18
|
-
import { T as Ce } from "./components/toggleInlineButton/ToggleInlineButton-
|
|
19
|
-
import { T as Fe } from "./components/toggleLinkButton/ToggleLinkButton-
|
|
20
|
-
import { C as De } from "./components/checkbox/Checkbox-
|
|
21
|
-
import { R as Ge } from "./components/toggle/RadioToggle-
|
|
22
|
-
import { F as Ne } from "./components/toggle/FieldSet-
|
|
23
|
-
import { T as Qe } from "./components/textfield/TextField-
|
|
24
|
-
import { B as _e, d as qe, D as Ue, H as je, a as ze, b as Je, c as Ke, L as Xe, M as Ye, S as Ze, e as er, T as rr } from "./components/typography/Typography-
|
|
25
|
-
import { L as nr } from "./components/list/List-
|
|
26
|
-
import { C as sr } from "./components/list/CheckmarkListItem-
|
|
27
|
-
import { L as ar } from "./components/list/ListItem-
|
|
28
|
-
import { C as ur } from "./components/list/CrossmarkListItem-
|
|
29
|
-
import { O as dr } from "./components/list/OrderedListItem-
|
|
1
|
+
import { R as q } from "./components/core/RiksTV-cc9756df.mjs";
|
|
2
|
+
import { S as j } from "./components/core/Strim-aa5e0106.mjs";
|
|
3
|
+
import { L as J } from "./components/core/LightMode-e67119ed.mjs";
|
|
4
|
+
import { G as X } from "./components/spacing/Gutter-fdb118c7.mjs";
|
|
5
|
+
import { G as Z } from "./components/spacing/GutterPadding-8c480038.mjs";
|
|
6
|
+
import { N as re } from "./components/notificationDot/NotificationDot-5b879a7c.mjs";
|
|
7
|
+
import { A as ne } from "./components/accordion/Accordion-99b76aba.mjs";
|
|
8
|
+
import { P as se } from "./components/panel/Panel-36486e4c.mjs";
|
|
9
|
+
import { B as ae, a as ce } from "./components/breadcrumb/Breadcrumb-e35d6c52.mjs";
|
|
10
|
+
import { P as me } from "./components/progress/Progress-7ff6c26b.mjs";
|
|
11
|
+
import { L as fe } from "./components/loader/Loader-822d18a9.mjs";
|
|
12
|
+
import { C as xe } from "./components/progress/CircularProgress-c7bca73a.mjs";
|
|
13
|
+
import { D as ge } from "./components/dropdown/Dropdown-303a209f.mjs";
|
|
14
|
+
import { P as he, S as Te, T as ve } from "./components/button/Button-eb600417.mjs";
|
|
15
|
+
import { P as Be, S as we, T as Ee } from "./components/button/ArrowButton-0f3b0aa2.mjs";
|
|
16
|
+
import { P as Me, S as Re, T as be } from "./components/button/IconButton-6e1085a5.mjs";
|
|
17
|
+
import { T as Se } from "./components/toggleButton/ToggleButton-2e961f34.mjs";
|
|
18
|
+
import { T as Ce } from "./components/toggleInlineButton/ToggleInlineButton-f57f3fe9.mjs";
|
|
19
|
+
import { T as Fe } from "./components/toggleLinkButton/ToggleLinkButton-09fe483c.mjs";
|
|
20
|
+
import { C as De } from "./components/checkbox/Checkbox-1c4563e6.mjs";
|
|
21
|
+
import { R as Ge } from "./components/toggle/RadioToggle-87e58815.mjs";
|
|
22
|
+
import { F as Ne } from "./components/toggle/FieldSet-9a786292.mjs";
|
|
23
|
+
import { T as Qe } from "./components/textfield/TextField-b0018ce1.mjs";
|
|
24
|
+
import { B as _e, d as qe, D as Ue, H as je, a as ze, b as Je, c as Ke, L as Xe, M as Ye, S as Ze, e as er, T as rr } from "./components/typography/Typography-afd3a0a3.mjs";
|
|
25
|
+
import { L as nr } from "./components/list/List-bb36b86d.mjs";
|
|
26
|
+
import { C as sr } from "./components/list/CheckmarkListItem-e5ed89b1.mjs";
|
|
27
|
+
import { L as ar } from "./components/list/ListItem-8cbd4ee8.mjs";
|
|
28
|
+
import { C as ur } from "./components/list/CrossmarkListItem-7cbcd904.mjs";
|
|
29
|
+
import { O as dr } from "./components/list/OrderedListItem-82670461.mjs";
|
|
30
30
|
import { useState as x, useEffect as d, useRef as c, useCallback as p, useLayoutEffect as y } from "react";
|
|
31
|
-
import { L as lr } from "./components/button/LinkButton-
|
|
32
|
-
import { B as pr } from "./components/button/BaseLinkButton-
|
|
33
|
-
import "./components/core/Core-
|
|
34
|
-
import "./components/icons/Chevron-
|
|
35
|
-
import "./components/panel/Success-
|
|
36
|
-
import "./components/panel/Warning-
|
|
37
|
-
import "./components/panel/Info-
|
|
38
|
-
import "./components/loader/RawLoader-
|
|
39
|
-
import "./components/button/BaseButton-
|
|
40
|
-
import "./components/button/DecoratedButton-
|
|
41
|
-
import "./components/button/BaseDecoratedButton-
|
|
42
|
-
import "./components/icons/Arrow-
|
|
43
|
-
import "./components/checkbox/BaseCheckbox-
|
|
44
|
-
import "./components/icons/HeartToggle-
|
|
45
|
-
import "./components/icons/Icons-
|
|
31
|
+
import { L as lr } from "./components/button/LinkButton-3d2c5c0a.mjs";
|
|
32
|
+
import { B as pr } from "./components/button/BaseLinkButton-327f2203.mjs";
|
|
33
|
+
import "./components/core/Core-7125109d.mjs";
|
|
34
|
+
import "./components/icons/Chevron-53ae63f1.mjs";
|
|
35
|
+
import "./components/panel/Success-0b604646.mjs";
|
|
36
|
+
import "./components/panel/Warning-bc55935c.mjs";
|
|
37
|
+
import "./components/panel/Info-c966d0cc.mjs";
|
|
38
|
+
import "./components/loader/RawLoader-56b0c399.mjs";
|
|
39
|
+
import "./components/button/BaseButton-078de736.mjs";
|
|
40
|
+
import "./components/button/DecoratedButton-5faedb72.mjs";
|
|
41
|
+
import "./components/button/BaseDecoratedButton-8e565d5c.mjs";
|
|
42
|
+
import "./components/icons/Arrow-99fd1aec.mjs";
|
|
43
|
+
import "./components/checkbox/BaseCheckbox-7121b553.mjs";
|
|
44
|
+
import "./components/icons/HeartToggle-b67f1fc7.mjs";
|
|
45
|
+
import "./components/icons/Icons-5a5dc9ba.mjs";
|
|
46
46
|
const g = "(prefers-reduced-motion: reduce)", h = (e) => typeof window < "u" && window.matchMedia ? window.matchMedia(e).matches : !1, T = (e, t) => {
|
|
47
47
|
typeof e.addEventListener < "u" && e.addEventListener("change", t);
|
|
48
48
|
}, v = () => {
|
package/package.json
CHANGED