@rikstv/shared-components 2.0.13 → 2.0.14

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 (53) hide show
  1. package/dist/components/accordion/{Accordion-4b8edd28.mjs → Accordion-5e72e67b.mjs} +42 -42
  2. package/dist/components/breadcrumb/{Breadcrumb-ab3e70da.mjs → Breadcrumb-19678339.mjs} +2 -2
  3. package/dist/components/button/{ArrowButton-af5de307.mjs → ArrowButton-4fa3c028.mjs} +3 -3
  4. package/dist/components/button/{BaseButton-4f6e9dd4.mjs → BaseButton-4350803a.mjs} +1 -1
  5. package/dist/components/button/{BaseDecoratedButton-c5799b0f.mjs → BaseDecoratedButton-510bde9f.mjs} +2 -2
  6. package/dist/components/button/{BaseLinkButton-348be18c.mjs → BaseLinkButton-d325fecb.mjs} +3 -3
  7. package/dist/components/button/{Button-4e09c58d.mjs → Button-3754ac0a.mjs} +5 -5
  8. package/dist/components/button/{DecoratedButton-ab90a6bd.mjs → DecoratedButton-373af81a.mjs} +3 -3
  9. package/dist/components/button/{IconButton-dd3478ff.mjs → IconButton-be3ae8eb.mjs} +3 -3
  10. package/dist/components/button/{LinkButton-85fc759b.mjs → LinkButton-3a3f73b6.mjs} +2 -2
  11. package/dist/components/checkbox/{BaseCheckbox-6fed1663.mjs → BaseCheckbox-9b7c43b3.mjs} +1 -1
  12. package/dist/components/checkbox/{Checkbox-cc58a275.mjs → Checkbox-b534a84c.mjs} +2 -2
  13. package/dist/components/core/{Core-ba0340f6.mjs → Core-5cdbbcd4.mjs} +1 -1
  14. package/dist/components/core/{LightMode-b458f91d.mjs → LightMode-481a9782.mjs} +1 -1
  15. package/dist/components/core/{RiksTV-698a6154.mjs → RiksTV-2cc96840.mjs} +2 -2
  16. package/dist/components/core/{Strim-51ea8e08.mjs → Strim-d7ebdcac.mjs} +2 -2
  17. package/dist/components/icons/{Arrow-feb3e25e.mjs → Arrow-48abbbdf.mjs} +1 -1
  18. package/dist/components/icons/Chevron-4e0258de.mjs +24 -0
  19. package/dist/components/icons/HeartToggle-a5a93ca7.mjs +2 -0
  20. package/dist/components/icons/Icons-32b173f0.mjs +7 -0
  21. package/dist/components/icons/Icons.d.ts +7 -6
  22. package/dist/components/list/CheckmarkListItem-f97a2aae.mjs +44 -0
  23. package/dist/components/list/CheckmarkListItem.scss +7 -26
  24. package/dist/components/list/{CrossmarkListItem-348c226a.mjs → CrossmarkListItem-60e093df.mjs} +2 -2
  25. package/dist/components/list/CrossmarkListItem.scss +3 -4
  26. package/dist/components/list/{List-86ad4810.mjs → List-868fec40.mjs} +1 -1
  27. package/dist/components/list/List.scss +2 -1
  28. package/dist/components/list/{ListItem-4e47bb2e.mjs → ListItem-fe58799f.mjs} +1 -1
  29. package/dist/components/list/ListItem.scss +5 -5
  30. package/dist/components/list/{OrderedListItem-a70598a1.mjs → OrderedListItem-1a4b67c5.mjs} +1 -1
  31. package/dist/components/loader/{Loader-7ab4a8f0.mjs → Loader-55215a54.mjs} +2 -2
  32. package/dist/components/loader/{RawLoader-7e00f143.mjs → RawLoader-15d14922.mjs} +1 -1
  33. package/dist/components/notificationDot/{NotificationDot-b03fa811.mjs → NotificationDot-bec7aa7b.mjs} +1 -1
  34. package/dist/components/panel/{Info-7fe85f53.mjs → Info-3147cc01.mjs} +1 -1
  35. package/dist/components/panel/{Panel-3704cf42.mjs → Panel-c4bab68c.mjs} +5 -5
  36. package/dist/components/panel/{Success-c116cc05.mjs → Success-590bfbb6.mjs} +1 -1
  37. package/dist/components/panel/{Warning-fa1839e3.mjs → Warning-8b3edebd.mjs} +1 -1
  38. package/dist/components/progress/{CircularProgress-01a66141.mjs → CircularProgress-ac261d40.mjs} +2 -2
  39. package/dist/components/progress/{Progress-ef42810b.mjs → Progress-068e34f7.mjs} +1 -1
  40. package/dist/components/spacing/{Gutter-32112716.mjs → Gutter-e0dfcdc5.mjs} +1 -1
  41. package/dist/components/spacing/{GutterPadding-6be6c9d9.mjs → GutterPadding-bd018bd6.mjs} +1 -1
  42. package/dist/components/textfield/{TextField-765a87bf.mjs → TextField-e62bbdd1.mjs} +2 -2
  43. package/dist/components/toggle/{FieldSet-4bdc4b7e.mjs → FieldSet-00f1fc56.mjs} +1 -1
  44. package/dist/components/toggle/{RadioToggle-1528c002.mjs → RadioToggle-5ddf1bfd.mjs} +3 -3
  45. package/dist/components/toggleButton/{ToggleButton-a2d4302f.mjs → ToggleButton-d50d64ec.mjs} +2 -2
  46. package/dist/components/toggleInlineButton/{ToggleInlineButton-1e480eaa.mjs → ToggleInlineButton-ff76d094.mjs} +2 -2
  47. package/dist/components/toggleLinkButton/{ToggleLinkButton-08c60e4d.mjs → ToggleLinkButton-c6127fa1.mjs} +3 -3
  48. package/dist/components/typography/{Typography-b748b77a.mjs → Typography-61ad3ca9.mjs} +1 -1
  49. package/dist/shared-components.mjs +112 -110
  50. package/dist/style.css +1 -1
  51. package/package.json +1 -1
  52. package/dist/components/icons/Chevron-ef147695.mjs +0 -13
  53. package/dist/components/list/CheckmarkListItem-f9df7013.mjs +0 -38
@@ -1,5 +1,5 @@
1
1
  import Ce, { useRef as ir, useEffect as ur } from "react";
2
- import { C as sr } from "../icons/Chevron-ef147695.mjs";
2
+ import { C as sr } from "../icons/Chevron-4e0258de.mjs";
3
3
  var k = {}, fr = {
4
4
  get exports() {
5
5
  return k;
@@ -7,7 +7,7 @@ var k = {}, fr = {
7
7
  set exports(m) {
8
8
  k = m;
9
9
  }
10
- }, $ = {};
10
+ }, I = {};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -20,22 +20,22 @@ var k = {}, fr = {
20
20
  var Re;
21
21
  function lr() {
22
22
  if (Re)
23
- return $;
23
+ return I;
24
24
  Re = 1;
25
25
  var m = Ce, b = Symbol.for("react.element"), D = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, R = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
26
- function h(T, l, P) {
27
- var v, _ = {}, C = null, W = null;
26
+ function _(T, l, P) {
27
+ var v, h = {}, C = null, W = null;
28
28
  P !== void 0 && (C = "" + P), l.key !== void 0 && (C = "" + l.key), l.ref !== void 0 && (W = l.ref);
29
29
  for (v in l)
30
- y.call(l, v) && !w.hasOwnProperty(v) && (_[v] = l[v]);
30
+ y.call(l, v) && !w.hasOwnProperty(v) && (h[v] = l[v]);
31
31
  if (T && T.defaultProps)
32
32
  for (v in l = T.defaultProps, l)
33
- _[v] === void 0 && (_[v] = l[v]);
34
- return { $$typeof: b, type: T, key: C, ref: W, props: _, _owner: R.current };
33
+ h[v] === void 0 && (h[v] = l[v]);
34
+ return { $$typeof: b, type: T, key: C, ref: W, props: h, _owner: R.current };
35
35
  }
36
- return $.Fragment = D, $.jsx = h, $.jsxs = h, $;
36
+ return I.Fragment = D, I.jsx = _, I.jsxs = _, I;
37
37
  }
38
- var I = {};
38
+ var $ = {};
39
39
  /**
40
40
  * @license React
41
41
  * react-jsx-runtime.development.js
@@ -48,7 +48,7 @@ var I = {};
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"), D = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), T = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), X = Symbol.iterator, Oe = "@@iterator";
51
+ var m = Ce, b = Symbol.for("react.element"), D = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), T = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), P = 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;
@@ -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 === y || e === w || De || e === R || e === P || e === v || ke || e === W || Se || xe || je || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === _ || e.$$typeof === h || e.$$typeof === T || e.$$typeof === l || // This needs to include all possible module reference object
79
+ return !!(typeof e == "string" || typeof e == "function" || e === y || e === w || De || e === R || e === P || 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 === l || // 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.
@@ -118,12 +118,12 @@ function cr() {
118
118
  case T:
119
119
  var r = e;
120
120
  return Q(r) + ".Consumer";
121
- case h:
121
+ case _:
122
122
  var t = e;
123
123
  return Q(t._context) + ".Provider";
124
124
  case l:
125
125
  return Ae(e, e.render, "ForwardRef");
126
- case _:
126
+ case h:
127
127
  var n = e.displayName || null;
128
128
  return n !== null ? n : g(e.type) || "Memo";
129
129
  case C: {
@@ -141,7 +141,7 @@ function cr() {
141
141
  function ue() {
142
142
  }
143
143
  ue.__reactDisabledLog = !0;
144
- function $e() {
144
+ function Ie() {
145
145
  {
146
146
  if (F === 0) {
147
147
  ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
@@ -164,7 +164,7 @@ function cr() {
164
164
  F++;
165
165
  }
166
166
  }
167
- function Ie() {
167
+ function $e() {
168
168
  {
169
169
  if (F--, F === 0) {
170
170
  var e = {
@@ -199,27 +199,27 @@ 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 = S.ReactCurrentDispatcher, q;
202
+ var U = S.ReactCurrentDispatcher, B;
203
203
  function Y(e, r, t) {
204
204
  {
205
- if (q === void 0)
205
+ if (B === void 0)
206
206
  try {
207
207
  throw Error();
208
208
  } catch (i) {
209
209
  var n = i.stack.trim().match(/\n( *(at )?)/);
210
- q = n && n[1] || "";
210
+ B = n && n[1] || "";
211
211
  }
212
212
  return `
213
- ` + q + e;
213
+ ` + B + e;
214
214
  }
215
215
  }
216
- var B = !1, N;
216
+ var q = !1, N;
217
217
  {
218
218
  var We = typeof WeakMap == "function" ? WeakMap : Map;
219
219
  N = new We();
220
220
  }
221
221
  function se(e, r) {
222
- if (!e || B)
222
+ if (!e || q)
223
223
  return "";
224
224
  {
225
225
  var t = N.get(e);
@@ -227,11 +227,11 @@ function cr() {
227
227
  return t;
228
228
  }
229
229
  var n;
230
- B = !0;
230
+ q = !0;
231
231
  var i = Error.prepareStackTrace;
232
232
  Error.prepareStackTrace = void 0;
233
233
  var u;
234
- u = U.current, U.current = null, $e();
234
+ u = U.current, U.current = null, Ie();
235
235
  try {
236
236
  if (r) {
237
237
  var o = function() {
@@ -284,7 +284,7 @@ function cr() {
284
284
  }
285
285
  }
286
286
  } finally {
287
- B = !1, U.current = u, Ie(), Error.prepareStackTrace = i;
287
+ q = !1, U.current = u, $e(), Error.prepareStackTrace = i;
288
288
  }
289
289
  var j = e ? e.displayName || e.name : "", be = j ? Y(j) : "";
290
290
  return typeof e == "function" && N.set(e, be), be;
@@ -313,7 +313,7 @@ function cr() {
313
313
  switch (e.$$typeof) {
314
314
  case l:
315
315
  return Ye(e.render);
316
- case _:
316
+ case h:
317
317
  return L(e.type, r, t);
318
318
  case C: {
319
319
  var n = e, i = n._payload, u = n._init;
@@ -376,14 +376,14 @@ 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 = S.ReactCurrentOwner, qe = {
379
+ var A = S.ReactCurrentOwner, Be = {
380
380
  key: !0,
381
381
  ref: !0,
382
382
  __self: !0,
383
383
  __source: !0
384
384
  }, ve, pe, G;
385
385
  G = {};
386
- function Be(e) {
386
+ function qe(e) {
387
387
  if (V.call(e, "ref")) {
388
388
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
389
389
  if (r && r.isReactWarning)
@@ -459,9 +459,9 @@ function cr() {
459
459
  function Xe(e, r, t, n, i) {
460
460
  {
461
461
  var u, o = {}, a = null, d = null;
462
- t !== void 0 && (de(t), a = "" + t), Je(r) && (de(r.key), a = "" + r.key), Be(r) && (d = r.ref, Ge(r, i));
462
+ t !== void 0 && (de(t), a = "" + t), Je(r) && (de(r.key), a = "" + r.key), qe(r) && (d = r.ref, Ge(r, i));
463
463
  for (u in r)
464
- V.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
464
+ V.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
465
465
  if (e && e.defaultProps) {
466
466
  var s = e.defaultProps;
467
467
  for (u in s)
@@ -487,7 +487,7 @@ function cr() {
487
487
  function H(e) {
488
488
  return typeof e == "object" && e !== null && e.$$typeof === b;
489
489
  }
490
- function he() {
490
+ function _e() {
491
491
  {
492
492
  if (z.current) {
493
493
  var e = g(z.current.type);
@@ -510,10 +510,10 @@ Check your code at ` + r + ":" + t + ".";
510
510
  return "";
511
511
  }
512
512
  }
513
- var _e = {};
513
+ var he = {};
514
514
  function Qe(e) {
515
515
  {
516
- var r = he();
516
+ var r = _e();
517
517
  if (!r) {
518
518
  var t = typeof e == "string" ? e : e.displayName || e.name;
519
519
  t && (r = `
@@ -529,9 +529,9 @@ Check the top-level render call using <` + t + ">.");
529
529
  return;
530
530
  e._store.validated = !0;
531
531
  var t = Qe(r);
532
- if (_e[t])
532
+ if (he[t])
533
533
  return;
534
- _e[t] = !0;
534
+ he[t] = !0;
535
535
  var n = "";
536
536
  e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + g(e._owner.type) + "."), x(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), x(null);
537
537
  }
@@ -565,7 +565,7 @@ Check the top-level render call using <` + t + ">.");
565
565
  t = r.propTypes;
566
566
  else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
567
567
  // Inner props are checked in the reconciler.
568
- r.$$typeof === _))
568
+ r.$$typeof === h))
569
569
  t = r.propTypes;
570
570
  else
571
571
  return;
@@ -599,7 +599,7 @@ Check the top-level render call using <` + t + ">.");
599
599
  var a = "";
600
600
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
601
601
  var d = Ze(i);
602
- d ? a += d : a += he();
602
+ d ? a += d : a += _e();
603
603
  var s;
604
604
  e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === b ? (s = "<" + (g(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
  }
@@ -629,8 +629,8 @@ Check the top-level render call using <` + t + ">.");
629
629
  return ye(e, r, t, !1);
630
630
  }
631
631
  var ar = nr, or = tr;
632
- I.Fragment = y, I.jsx = ar, I.jsxs = or;
633
- }()), I;
632
+ $.Fragment = y, $.jsx = ar, $.jsxs = or;
633
+ }()), $;
634
634
  }
635
635
  (function(m) {
636
636
  process.env.NODE_ENV === "production" ? m.exports = lr() : m.exports = cr();
@@ -643,13 +643,13 @@ const pr = ({
643
643
  lightBackground: R = !1,
644
644
  ...w
645
645
  }) => {
646
- const h = ir(null);
646
+ const _ = ir(null);
647
647
  return ur(() => {
648
- h.current && (h.current.open = m);
648
+ _.current && (_.current.open = m);
649
649
  }, [m]), /* @__PURE__ */ k.jsxs(
650
650
  "details",
651
651
  {
652
- ref: h,
652
+ ref: _,
653
653
  "data-testid": "rds-accordion",
654
654
  className: `rds-accordion-details ${R ? "rds-accordion-details--light" : ""} ${R === "white" ? "rds-accordion-details--white" : ""} ${y}`,
655
655
  ...w,
@@ -1,6 +1,6 @@
1
- import { j as r } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as r } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as b } from "react";
3
- import { S as d } from "../typography/Typography-b748b77a.mjs";
3
+ import { S as d } from "../typography/Typography-61ad3ca9.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-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as n } from "react";
3
- import { P as u, S as w, T as d } from "./DecoratedButton-ab90a6bd.mjs";
4
- import { A as c } from "../icons/Arrow-feb3e25e.mjs";
3
+ import { P as u, S as w, T as d } from "./DecoratedButton-373af81a.mjs";
4
+ import { A as c } from "../icons/Arrow-48abbbdf.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,
@@ -1,4 +1,4 @@
1
- import { j as s } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as c } from "react";
3
3
  const f = c(
4
4
  ({
@@ -1,6 +1,6 @@
1
- import { j as s } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as c } from "react";
3
- import { B as m } from "./BaseButton-4f6e9dd4.mjs";
3
+ import { B as m } from "./BaseButton-4350803a.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-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as b } from "react";
3
- import "./ArrowButton-af5de307.mjs";
4
- import { A as c } from "../icons/Arrow-feb3e25e.mjs";
3
+ import "./ArrowButton-4fa3c028.mjs";
4
+ import { A as c } from "../icons/Arrow-48abbbdf.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-4b8edd28.mjs";
1
+ import { j as r } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as n } from "react";
3
- import { B as a } from "./BaseButton-4f6e9dd4.mjs";
4
- import "./ArrowButton-af5de307.mjs";
5
- import "./LinkButton-85fc759b.mjs";
6
- import "./BaseLinkButton-348be18c.mjs";
3
+ import { B as a } from "./BaseButton-4350803a.mjs";
4
+ import "./ArrowButton-4fa3c028.mjs";
5
+ import "./LinkButton-3a3f73b6.mjs";
6
+ import "./BaseLinkButton-d325fecb.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 }));
@@ -1,7 +1,7 @@
1
- import { j as r } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as r } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as e } from "react";
3
- import { B as a } from "./BaseDecoratedButton-c5799b0f.mjs";
4
- import "./ArrowButton-af5de307.mjs";
3
+ import { B as a } from "./BaseDecoratedButton-510bde9f.mjs";
4
+ import "./ArrowButton-4fa3c028.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-4b8edd28.mjs";
1
+ import { j as n } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as r } from "react";
3
- import { P as a, S as s, T as e } from "./DecoratedButton-ab90a6bd.mjs";
4
- import "./ArrowButton-af5de307.mjs";
3
+ import { P as a, S as s, T as e } from "./DecoratedButton-373af81a.mjs";
4
+ import "./ArrowButton-4fa3c028.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-4b8edd28.mjs";
1
+ import { j as r } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as m } from "react";
3
- import { B as n } from "./BaseLinkButton-348be18c.mjs";
3
+ import { B as n } from "./BaseLinkButton-d325fecb.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,4 +1,4 @@
1
- import { j as s } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as x } from "react";
3
3
  const b = (e) => {
4
4
  if (e)
@@ -1,6 +1,6 @@
1
- import { j as x } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as x } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  import { forwardRef as b } from "react";
3
- import { B as p } from "./BaseCheckbox-6fed1663.mjs";
3
+ import { B as p } from "./BaseCheckbox-9b7c43b3.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-4b8edd28.mjs";
1
+ import { j as i } from "../accordion/Accordion-5e72e67b.mjs";
2
2
  let a = !1, n = !1, u = !1;
3
3
  const s = {
4
4
  mousedown: c,
@@ -1,4 +1,4 @@
1
- import { j as i } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as i } from "../accordion/Accordion-5e72e67b.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-4b8edd28.mjs";
2
- import { C as s } from "./Core-ba0340f6.mjs";
1
+ import { j as o } from "../accordion/Accordion-5e72e67b.mjs";
2
+ import { C as s } from "./Core-5cdbbcd4.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-4b8edd28.mjs";
2
- import { C as s } from "./Core-ba0340f6.mjs";
1
+ import { j as o } from "../accordion/Accordion-5e72e67b.mjs";
2
+ import { C as s } from "./Core-5cdbbcd4.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-4b8edd28.mjs";
1
+ import { j as l } from "../accordion/Accordion-5e72e67b.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
  {
@@ -0,0 +1,24 @@
1
+ import { j as e } from "../accordion/Accordion-5e72e67b.mjs";
2
+ const i = () => /* @__PURE__ */ e.jsx(
3
+ "svg",
4
+ {
5
+ "aria-label": "Vertikal pil",
6
+ width: "24",
7
+ height: "25",
8
+ viewBox: "0 0 24 25",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ children: /* @__PURE__ */ e.jsx(
12
+ "path",
13
+ {
14
+ fillRule: "evenodd",
15
+ clipRule: "evenodd",
16
+ d: "M5.00962 7.91897C4.64323 7.53475 4.0374 7.52589 3.66026 7.89988C3.2872 8.26982 3.27911 8.87487 3.64154 9.25495L10.9543 16.9237C11.0883 17.0644 11.2493 17.1779 11.429 17.256C11.6089 17.3342 11.8031 17.375 12 17.375C12.1969 17.375 12.3911 17.3342 12.571 17.256C12.7508 17.1778 12.9121 17.0639 13.046 16.9234L20.3585 9.25495C20.7209 8.87486 20.7128 8.26982 20.3397 7.89988C19.9626 7.52589 19.3568 7.53475 18.9904 7.91897L12 15.2496L5.00962 7.91897Z",
17
+ fill: "white"
18
+ }
19
+ )
20
+ }
21
+ );
22
+ export {
23
+ i as C
24
+ };
@@ -0,0 +1,2 @@
1
+ import "react";
2
+ import "../accordion/Accordion-5e72e67b.mjs";
@@ -0,0 +1,7 @@
1
+ import * as e from "react";
2
+ import "../accordion/Accordion-5e72e67b.mjs";
3
+ import "./HeartToggle-a5a93ca7.mjs";
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
+ export {
6
+ l as S
7
+ };
@@ -1,8 +1,9 @@
1
- import { ReactComponent as Play } from "./Play.svg";
2
- import { ReactComponent as Pause } from "./Pause.svg";
1
+ import { Arrow } from "./Arrow";
2
+ import { Chevron } from "./Chevron";
3
+ import { HeartToggle } from "./HeartToggle";
4
+ import { ReactComponent as Checkmark } from "./Checkmark.svg";
3
5
  import { ReactComponent as Heart } from "./HeartFilled.svg";
4
6
  import { ReactComponent as HeartUnfilled } from "./HeartUnfilled.svg";
5
- import { HeartToggle } from "./HeartToggle";
6
- import { Chevron } from "./Chevron";
7
- import { Arrow } from "./Arrow";
8
- export { Arrow, Play, Pause, Chevron, HeartToggle, Heart, HeartUnfilled };
7
+ import { ReactComponent as Pause } from "./Pause.svg";
8
+ import { ReactComponent as Play } from "./Play.svg";
9
+ export { Arrow, Checkmark, Chevron, Heart, HeartToggle, HeartUnfilled, Pause, Play };
@@ -0,0 +1,44 @@
1
+ import { j as r } from "../accordion/Accordion-5e72e67b.mjs";
2
+ import "react";
3
+ import "../icons/HeartToggle-a5a93ca7.mjs";
4
+ import { S as i } from "../icons/Icons-32b173f0.mjs";
5
+ const l = (s) => {
6
+ switch (s) {
7
+ case "error":
8
+ return { "--mark-color": "var(--rds-feedback-error-object)" };
9
+ case "success":
10
+ return { "--mark-color": "var(--rds-feedback-confirm)" };
11
+ default:
12
+ return;
13
+ }
14
+ };
15
+ const h = ({
16
+ color: s,
17
+ style: e,
18
+ className: t = "",
19
+ innerClassName: a = "",
20
+ children: c,
21
+ ...m
22
+ }) => {
23
+ const o = {
24
+ ...e,
25
+ ...l(s)
26
+ };
27
+ return /* @__PURE__ */ r.jsxs(
28
+ "li",
29
+ {
30
+ style: o,
31
+ className: `rds-list__item__checkmark ${t}`,
32
+ "data-testid": "rds-list-item--check",
33
+ ...m,
34
+ children: [
35
+ /* @__PURE__ */ r.jsx("span", { className: "rds-list__item__checkmark--svg-wrapper", children: /* @__PURE__ */ r.jsx(i, {}) }),
36
+ /* @__PURE__ */ r.jsx("span", { className: a, children: c })
37
+ ]
38
+ }
39
+ );
40
+ };
41
+ export {
42
+ h as C,
43
+ l as g
44
+ };
@@ -1,6 +1,5 @@
1
1
  .rds-list__item__checkmark {
2
2
  --mark-color: currentColor;
3
- --unicode-cross: "\2713";
4
3
 
5
4
  display: flex;
6
5
  align-items: flex-start;
@@ -10,32 +9,14 @@
10
9
  margin: 0;
11
10
  }
12
11
 
13
- &::before {
14
- content: var(--unicode-cross);
15
- // Safari handling of screen reader
16
- alt: var(--unicode-cross);
17
- // Move the text off screen
18
- text-indent: -9999px;
19
-
20
- display: block;
21
- width: 1em;
22
- height: 1em;
23
- flex-shrink: 0;
12
+ &--svg-wrapper {
13
+ display: flex;
14
+ max-width: 1.125rem;
24
15
  margin-right: 1rem;
25
- margin-top: 0.225em;
26
16
 
27
- clip-path: polygon(
28
- 33.59% 75.55%,
29
- 2.27% 44.24%,
30
- 2.27% 33.29%,
31
- 13.21% 33.29%,
32
- 35.62% 55.65%,
33
- 89% 2.27%,
34
- 100% 2.27%,
35
- 100% 13.21%,
36
- 37.6% 75.55%,
37
- 33.59% 75.55%
38
- );
39
- background-color: var(--mark-color);
17
+ & svg {
18
+ width: 100%;
19
+ color: var(--mark-color);
20
+ }
40
21
  }
41
22
  }
@@ -1,5 +1,5 @@
1
- import { j as s } from "../accordion/Accordion-4b8edd28.mjs";
2
- import { g as l } from "./CheckmarkListItem-f9df7013.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.mjs";
2
+ import { g as l } from "./CheckmarkListItem-f97a2aae.mjs";
3
3
  const d = ({
4
4
  color: t,
5
5
  style: r,
@@ -18,11 +18,11 @@
18
18
  text-indent: -9999px;
19
19
 
20
20
  display: block;
21
- width: 1em;
22
- height: 1em;
23
21
  flex-shrink: 0;
22
+ width: 1rem;
23
+ height: 1rem;
24
24
  margin-right: 1rem;
25
-
25
+ background-color: var(--mark-color);
26
26
  clip-path: polygon(
27
27
  10% 0%,
28
28
  0% 10%,
@@ -37,6 +37,5 @@
37
37
  90% 0%,
38
38
  50% 40%
39
39
  );
40
- background-color: var(--mark-color);
41
40
  }
42
41
  }
@@ -1,4 +1,4 @@
1
- import { j as i } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as i } from "../accordion/Accordion-5e72e67b.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(
@@ -8,7 +8,8 @@
8
8
 
9
9
  counter-reset: listCounter;
10
10
 
11
- & & > li {
11
+ & .rds-list > li {
12
+ // Targets only nested lists
12
13
  padding-left: rem.convert(32px);
13
14
  margin-bottom: var(--list-item__spacing);
14
15
  }
@@ -1,4 +1,4 @@
1
- import { j as s } from "../accordion/Accordion-4b8edd28.mjs";
1
+ import { j as s } from "../accordion/Accordion-5e72e67b.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