@rikstv/shared-components 3.0.25 → 3.0.26-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/CHANGELOG.md +8 -2
  2. package/dist/components/accordion/{Accordion-b8669b7e.mjs → Accordion-CrPiD_81.mjs} +195 -215
  3. package/dist/components/accordion/Accordion.d.ts +2 -1
  4. package/dist/components/alert/{Alert-f7feb089.mjs → Alert-hg91bRVY.mjs} +4 -4
  5. package/dist/components/alert/Alert.d.ts +3 -2
  6. package/dist/components/breadcrumb/{Breadcrumb-64b3a50e.mjs → Breadcrumb-D8mAlrde.mjs} +6 -6
  7. package/dist/components/breadcrumb/Breadcrumb.d.ts +3 -2
  8. package/dist/components/button/ArrowButton-C0WywcBN.mjs +62 -0
  9. package/dist/components/button/ArrowButton.d.ts +6 -6
  10. package/dist/components/button/{BaseButton-a5548ee7.mjs → BaseButton-B2fMKlSI.mjs} +1 -1
  11. package/dist/components/button/BaseButton.d.ts +3 -2
  12. package/dist/components/button/{BaseDecoratedButton-ffa6f719.mjs → BaseDecoratedButton-C0cesANX.mjs} +2 -2
  13. package/dist/components/button/BaseDecoratedButton.d.ts +3 -3
  14. package/dist/components/button/{BaseLinkButton-c574a1a3.mjs → BaseLinkButton-CquLmqew.mjs} +15 -15
  15. package/dist/components/button/BaseLinkButton.d.ts +3 -3
  16. package/dist/components/button/{Button-0fc6c6f0.mjs → Button-Bs_Tl8uJ.mjs} +4 -4
  17. package/dist/components/button/Button.d.ts +8 -8
  18. package/dist/components/button/{DecoratedButton-d1dbe30e.mjs → DecoratedButton-B1ElGmyl.mjs} +3 -3
  19. package/dist/components/button/DecoratedButton.d.ts +6 -6
  20. package/dist/components/button/{IconButton-59e46ff2.mjs → IconButton-3TUWI6Mc.mjs} +5 -5
  21. package/dist/components/button/IconButton.d.ts +6 -6
  22. package/dist/components/checkbox/{BaseCheckbox-50df3aeb.mjs → BaseCheckbox-vLDQvJOz.mjs} +2 -2
  23. package/dist/components/checkbox/BaseCheckbox.d.ts +3 -2
  24. package/dist/components/checkbox/Checkbox-D6f5jfzl.mjs +22 -0
  25. package/dist/components/checkbox/Checkbox.d.ts +3 -2
  26. package/dist/components/core/{Core-b450ba6c.mjs → Core-BrDaupPg.mjs} +1 -1
  27. package/dist/components/core/Core.d.ts +2 -1
  28. package/dist/components/core/{LightMode-2d123160.mjs → LightMode-DENdo5SC.mjs} +1 -1
  29. package/dist/components/core/LightMode.d.ts +3 -2
  30. package/dist/components/core/{RiksTV-ca623c12.mjs → RiksTV-DwRmJooI.mjs} +2 -2
  31. package/dist/components/core/RiksTV.d.ts +2 -1
  32. package/dist/components/core/{Strim-d2a5664c.mjs → Strim-DzoD2YI9.mjs} +2 -2
  33. package/dist/components/core/Strim.d.ts +2 -1
  34. package/dist/components/core/docs/BrandVariables.d.ts +2 -1
  35. package/dist/components/core/docs/Colors.d.ts +2 -1
  36. package/dist/components/core/docs/Spacing.d.ts +2 -1
  37. package/dist/components/core/docs/Variables.d.ts +2 -1
  38. package/dist/components/core/docs/componets/BrandColors/BrandColors.d.ts +2 -1
  39. package/dist/components/core/docs/componets/ColorSwatch/ColorSwatch.d.ts +2 -1
  40. package/dist/components/core/docs/componets/ColorSwatch/ColorSwatchBtn.d.ts +2 -1
  41. package/dist/components/core/docs/componets/ExampleGrid/ExampleGrid.d.ts +2 -1
  42. package/dist/components/core/docs/componets/SpacingBlock/SpacingBlock.d.ts +2 -1
  43. package/dist/components/core/docs/context/ExampleContext.d.ts +1 -2
  44. package/dist/components/core/docs/hooks/ClickOutside.d.ts +2 -1
  45. package/dist/components/core/docs/hooks/Intersection.d.ts +2 -1
  46. package/dist/components/core/docs/hooks/Mutation.d.ts +0 -1
  47. package/dist/components/core/docs/hooks/animated.d.ts +2 -1
  48. package/dist/components/core/docs/utils/PropertyList.d.ts +2 -1
  49. package/dist/components/core/hooks/useAnimatedHeight.d.ts +2 -1
  50. package/dist/components/core/hooks/useClickOutsideListener.d.ts +2 -1
  51. package/dist/components/core/hooks/useMutationObserver.d.ts +2 -1
  52. package/dist/components/core/spacing/Gutter.d.ts +2 -1
  53. package/dist/components/core/spacing/GutterPadding.d.ts +2 -1
  54. package/dist/components/dropdown/{Dropdown-86ff9c1f.mjs → Dropdown-iW7aS3jx.mjs} +14 -14
  55. package/dist/components/dropdown/Dropdown.d.ts +2 -1
  56. package/dist/components/icons/{Arrow-ff62ab24.mjs → Arrow-CHtynMwo.mjs} +1 -1
  57. package/dist/components/icons/Arrow.d.ts +2 -1
  58. package/dist/components/icons/{Chevron-84c4ced9.mjs → Chevron-B0-9yMkO.mjs} +1 -1
  59. package/dist/components/icons/Chevron.d.ts +2 -1
  60. package/dist/components/icons/{HeartToggle-54bb18c7.mjs → HeartToggle-BHSYQIN4.mjs} +2 -3
  61. package/dist/components/icons/HeartToggle.d.ts +2 -1
  62. package/dist/components/icons/{Icons-2b68875c.mjs → Icons-p9ZleYOo.mjs} +3 -3
  63. package/dist/components/icons/Icons.d.ts +13 -12
  64. package/dist/components/index.d.ts +36 -36
  65. package/dist/components/list/CheckmarkListItem-Dew6gW7B.mjs +9 -0
  66. package/dist/components/list/CheckmarkListItem.d.ts +3 -2
  67. package/dist/components/list/CrossmarkListItem-CxKgvELN.mjs +9 -0
  68. package/dist/components/list/CrossmarkListItem.d.ts +3 -2
  69. package/dist/components/list/{List-d60c4585.mjs → List-CpfjceLN.mjs} +7 -7
  70. package/dist/components/list/List.d.ts +3 -2
  71. package/dist/components/list/{ListItem-72dbd18f.mjs → ListItem-JIUBy2_m.mjs} +7 -7
  72. package/dist/components/list/ListItem.d.ts +2 -1
  73. package/dist/components/list/OrderedListItem-CmneHG3P.mjs +5 -0
  74. package/dist/components/list/OrderedListItem.d.ts +2 -1
  75. package/dist/components/loader/{Loader-ff2a99f4.mjs → Loader-Bk0JZ1M5.mjs} +2 -2
  76. package/dist/components/loader/Loader.d.ts +3 -3
  77. package/dist/components/loader/{RawLoader-864bb620.mjs → RawLoader-7qDMD85G.mjs} +6 -6
  78. package/dist/components/loader/RawLoader.d.ts +3 -2
  79. package/dist/components/notificationDot/{NotificationDot-630a5e23.mjs → NotificationDot-C24-oy5e.mjs} +9 -9
  80. package/dist/components/notificationDot/NotificationDot.d.ts +2 -1
  81. package/dist/components/panel/{Panel-c778384b.mjs → Panel-AExfPAQQ.mjs} +4 -4
  82. package/dist/components/panel/Panel.d.ts +3 -2
  83. package/dist/components/progress/{CircularProgress-64666695.mjs → CircularProgress-nyrk426K.mjs} +7 -7
  84. package/dist/components/progress/CircularProgress.d.ts +3 -2
  85. package/dist/components/progress/{Progress-c5ae3c43.mjs → Progress-ZSILwF-g.mjs} +4 -4
  86. package/dist/components/progress/Progress.d.ts +3 -2
  87. package/dist/components/spacing/{Gutter-f31ec5ff.mjs → Gutter-CZQOVELR.mjs} +1 -1
  88. package/dist/components/spacing/{GutterPadding-eb4c4631.mjs → GutterPadding-Dm0Wv0tj.mjs} +1 -1
  89. package/dist/components/textfield/{TextField-ea15493f.mjs → TextField-Cada_h0q.mjs} +2 -2
  90. package/dist/components/textfield/TextField.d.ts +3 -2
  91. package/dist/components/toggle/{FieldSet-35743deb.mjs → FieldSet-Bq2lhIzg.mjs} +1 -1
  92. package/dist/components/toggle/FieldSet.d.ts +3 -2
  93. package/dist/components/toggle/RadioContext.d.ts +1 -2
  94. package/dist/components/toggle/{RadioToggle-33eef633.mjs → RadioToggle-BICr1hFE.mjs} +7 -7
  95. package/dist/components/toggle/RadioToggle.d.ts +3 -2
  96. package/dist/components/toggle/docs/Example.d.ts +2 -1
  97. package/dist/components/toggleButton/{ToggleButton-640707ba.mjs → ToggleButton-Cnjgoc3g.mjs} +9 -9
  98. package/dist/components/toggleButton/ToggleButton.d.ts +3 -2
  99. package/dist/components/toggleInlineButton/{ToggleInlineButton-abb231c4.mjs → ToggleInlineButton-BR5pxqVE.mjs} +9 -9
  100. package/dist/components/toggleInlineButton/ToggleInlineButton.d.ts +3 -2
  101. package/dist/components/toggleLinkButton/{ToggleLinkButton-b0d2f3b6.mjs → ToggleLinkButton-Ck1NEr07.mjs} +19 -19
  102. package/dist/components/toggleLinkButton/ToggleLinkButton.d.ts +3 -2
  103. package/dist/components/typography/{Typography-563b6318.mjs → Typography-Ke8WLclR.mjs} +4 -4
  104. package/dist/components/typography/Typography.d.ts +14 -13
  105. package/dist/shared-components.mjs +104 -113
  106. package/dist/style.css +1 -1
  107. package/package.json +3 -4
  108. package/dist/components/button/ArrowButton-fb6c0b61.mjs +0 -62
  109. package/dist/components/checkbox/Checkbox-33bf3bf6.mjs +0 -22
  110. package/dist/components/list/CheckmarkListItem-fee95140.mjs +0 -9
  111. package/dist/components/list/CrossmarkListItem-815e3296.mjs +0 -9
  112. package/dist/components/list/OrderedListItem-6d493abc.mjs +0 -5
@@ -1,13 +1,6 @@
1
- import Ce, { useRef as ir, useEffect as ur } from "react";
2
- import { C as sr } from "../icons/Chevron-84c4ced9.mjs";
3
- var k = {}, fr = {
4
- get exports() {
5
- return k;
6
- },
7
- set exports(m) {
8
- k = m;
9
- }
10
- }, I = {};
1
+ import Ce, { useRef as ur, useEffect as sr } from "react";
2
+ import { C as lr } from "../icons/Chevron-B0-9yMkO.mjs";
3
+ var X = { exports: {} }, A = {};
11
4
  /**
12
5
  * @license React
13
6
  * react-jsx-runtime.production.min.js
@@ -17,25 +10,21 @@ var k = {}, fr = {
17
10
  * This source code is licensed under the MIT license found in the
18
11
  * LICENSE file in the root directory of this source tree.
19
12
  */
20
- var Re;
21
- function lr() {
22
- if (Re)
23
- return I;
24
- Re = 1;
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 _(T, l, P) {
27
- var v, h = {}, C = null, W = null;
28
- P !== void 0 && (C = "" + P), l.key !== void 0 && (C = "" + l.key), l.ref !== void 0 && (W = l.ref);
29
- for (v in l)
30
- y.call(l, v) && !w.hasOwnProperty(v) && (h[v] = l[v]);
31
- if (T && T.defaultProps)
32
- for (v in l = T.defaultProps, l)
33
- h[v] === void 0 && (h[v] = l[v]);
34
- return { $$typeof: b, type: T, key: C, ref: W, props: h, _owner: R.current };
13
+ var Te;
14
+ function fr() {
15
+ if (Te) return A;
16
+ Te = 1;
17
+ var C = Ce, y = Symbol.for("react.element"), k = Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, b = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function m(R, f, P) {
19
+ var v, _ = {}, T = null, $ = null;
20
+ P !== void 0 && (T = "" + P), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && ($ = f.ref);
21
+ for (v in f) g.call(f, v) && !w.hasOwnProperty(v) && (_[v] = f[v]);
22
+ if (R && R.defaultProps) for (v in f = R.defaultProps, f) _[v] === void 0 && (_[v] = f[v]);
23
+ return { $$typeof: y, type: R, key: T, ref: $, props: _, _owner: b.current };
35
24
  }
36
- return I.Fragment = D, I.jsx = _, I.jsxs = _, I;
25
+ return A.Fragment = k, A.jsx = m, A.jsxs = m, A;
37
26
  }
38
- var $ = {};
27
+ var I = {};
39
28
  /**
40
29
  * @license React
41
30
  * react-jsx-runtime.development.js
@@ -45,25 +34,25 @@ var $ = {};
45
34
  * This source code is licensed under the MIT license found in the
46
35
  * LICENSE file in the root directory of this source tree.
47
36
  */
48
- var Te;
37
+ var Oe;
49
38
  function cr() {
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"), _ = 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
- function we(e) {
39
+ return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var C = Ce, y = Symbol.for("react.element"), k = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), R = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), Z = Symbol.iterator, we = "@@iterator";
41
+ function Pe(e) {
53
42
  if (e === null || typeof e != "object")
54
43
  return null;
55
- var r = X && e[X] || e[Oe];
44
+ var r = Z && e[Z] || e[we];
56
45
  return typeof r == "function" ? r : null;
57
46
  }
58
- var S = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
+ var S = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
59
48
  function c(e) {
60
49
  {
61
50
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
62
51
  t[n - 1] = arguments[n];
63
- Pe("error", e, t);
52
+ Se("error", e, t);
64
53
  }
65
54
  }
66
- function Pe(e, r, t) {
55
+ function Se(e, r, t) {
67
56
  {
68
57
  var n = S.ReactDebugCurrentFrame, i = n.getStackAddendum();
69
58
  i !== "" && (r += "%s", t = t.concat([i]));
@@ -73,26 +62,26 @@ function cr() {
73
62
  u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
74
63
  }
75
64
  }
76
- var Se = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
77
- Z = Symbol.for("react.module.reference");
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 === h || e.$$typeof === _ || e.$$typeof === T || e.$$typeof === l || // This needs to include all possible module reference object
65
+ var xe = !1, je = !1, ke = !1, De = !1, Fe = !1, Q;
66
+ Q = Symbol.for("react.module.reference");
67
+ function Ae(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === g || e === w || Fe || e === b || e === P || e === v || De || e === $ || xe || je || ke || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === _ || e.$$typeof === m || e.$$typeof === R || e.$$typeof === f || // This needs to include all possible module reference object
80
69
  // types supported by any Flight configuration anywhere since
81
70
  // we don't know which Flight build this will end up being used
82
71
  // with.
83
- e.$$typeof === Z || e.getModuleId !== void 0));
72
+ e.$$typeof === Q || e.getModuleId !== void 0));
84
73
  }
85
- function Ae(e, r, t) {
74
+ function Ie(e, r, t) {
86
75
  var n = e.displayName;
87
76
  if (n)
88
77
  return n;
89
78
  var i = r.displayName || r.name || "";
90
79
  return i !== "" ? t + "(" + i + ")" : t;
91
80
  }
92
- function Q(e) {
81
+ function ee(e) {
93
82
  return e.displayName || "Context";
94
83
  }
95
- function g(e) {
84
+ function h(e) {
96
85
  if (e == null)
97
86
  return null;
98
87
  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,13 +89,13 @@ function cr() {
100
89
  if (typeof e == "string")
101
90
  return e;
102
91
  switch (e) {
103
- case y:
92
+ case g:
104
93
  return "Fragment";
105
- case D:
94
+ case k:
106
95
  return "Portal";
107
96
  case w:
108
97
  return "Profiler";
109
- case R:
98
+ case b:
110
99
  return "StrictMode";
111
100
  case P:
112
101
  return "Suspense";
@@ -115,21 +104,21 @@ function cr() {
115
104
  }
116
105
  if (typeof e == "object")
117
106
  switch (e.$$typeof) {
118
- case T:
107
+ case R:
119
108
  var r = e;
120
- return Q(r) + ".Consumer";
121
- case _:
109
+ return ee(r) + ".Consumer";
110
+ case m:
122
111
  var t = e;
123
- return Q(t._context) + ".Provider";
124
- case l:
125
- return Ae(e, e.render, "ForwardRef");
126
- case h:
112
+ return ee(t._context) + ".Provider";
113
+ case f:
114
+ return Ie(e, e.render, "ForwardRef");
115
+ case _:
127
116
  var n = e.displayName || null;
128
- return n !== null ? n : g(e.type) || "Memo";
129
- case C: {
117
+ return n !== null ? n : h(e.type) || "Memo";
118
+ case T: {
130
119
  var i = e, u = i._payload, o = i._init;
131
120
  try {
132
- return g(o(u));
121
+ return h(o(u));
133
122
  } catch {
134
123
  return null;
135
124
  }
@@ -137,18 +126,18 @@ function cr() {
137
126
  }
138
127
  return null;
139
128
  }
140
- var O = Object.assign, F = 0, ee, re, te, ne, ae, oe, ie;
141
- function ue() {
129
+ var O = Object.assign, D = 0, re, te, ne, ae, oe, ie, ue;
130
+ function se() {
142
131
  }
143
- ue.__reactDisabledLog = !0;
144
- function Ie() {
132
+ se.__reactDisabledLog = !0;
133
+ function $e() {
145
134
  {
146
- if (F === 0) {
147
- ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
135
+ if (D === 0) {
136
+ re = console.log, te = console.info, ne = console.warn, ae = console.error, oe = console.group, ie = console.groupCollapsed, ue = console.groupEnd;
148
137
  var e = {
149
138
  configurable: !0,
150
139
  enumerable: !0,
151
- value: ue,
140
+ value: se,
152
141
  writable: !0
153
142
  };
154
143
  Object.defineProperties(console, {
@@ -161,12 +150,12 @@ function cr() {
161
150
  groupEnd: e
162
151
  });
163
152
  }
164
- F++;
153
+ D++;
165
154
  }
166
155
  }
167
- function $e() {
156
+ function We() {
168
157
  {
169
- if (F--, F === 0) {
158
+ if (D--, D === 0) {
170
159
  var e = {
171
160
  configurable: !0,
172
161
  enumerable: !0,
@@ -174,33 +163,33 @@ function cr() {
174
163
  };
175
164
  Object.defineProperties(console, {
176
165
  log: O({}, e, {
177
- value: ee
166
+ value: re
178
167
  }),
179
168
  info: O({}, e, {
180
- value: re
169
+ value: te
181
170
  }),
182
171
  warn: O({}, e, {
183
- value: te
172
+ value: ne
184
173
  }),
185
174
  error: O({}, e, {
186
- value: ne
175
+ value: ae
187
176
  }),
188
177
  group: O({}, e, {
189
- value: ae
178
+ value: oe
190
179
  }),
191
180
  groupCollapsed: O({}, e, {
192
- value: oe
181
+ value: ie
193
182
  }),
194
183
  groupEnd: O({}, e, {
195
- value: ie
184
+ value: ue
196
185
  })
197
186
  });
198
187
  }
199
- F < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ D < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
200
189
  }
201
190
  }
202
191
  var U = S.ReactCurrentDispatcher, B;
203
- function Y(e, r, t) {
192
+ function W(e, r, t) {
204
193
  {
205
194
  if (B === void 0)
206
195
  try {
@@ -213,16 +202,16 @@ function cr() {
213
202
  ` + B + e;
214
203
  }
215
204
  }
216
- var q = !1, N;
205
+ var q = !1, Y;
217
206
  {
218
- var We = typeof WeakMap == "function" ? WeakMap : Map;
219
- N = new We();
207
+ var Ye = typeof WeakMap == "function" ? WeakMap : Map;
208
+ Y = new Ye();
220
209
  }
221
- function se(e, r) {
210
+ function le(e, r) {
222
211
  if (!e || q)
223
212
  return "";
224
213
  {
225
- var t = N.get(e);
214
+ var t = Y.get(e);
226
215
  if (t !== void 0)
227
216
  return t;
228
217
  }
@@ -231,7 +220,7 @@ function cr() {
231
220
  var i = Error.prepareStackTrace;
232
221
  Error.prepareStackTrace = void 0;
233
222
  var u;
234
- u = U.current, U.current = null, Ie();
223
+ u = U.current, U.current = null, $e();
235
224
  try {
236
225
  if (r) {
237
226
  var o = function() {
@@ -268,74 +257,74 @@ function cr() {
268
257
  if (E && n && typeof E.stack == "string") {
269
258
  for (var a = E.stack.split(`
270
259
  `), d = n.stack.split(`
271
- `), s = a.length - 1, f = d.length - 1; s >= 1 && f >= 0 && a[s] !== d[f]; )
272
- f--;
273
- for (; s >= 1 && f >= 0; s--, f--)
274
- if (a[s] !== d[f]) {
275
- if (s !== 1 || f !== 1)
260
+ `), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
261
+ l--;
262
+ for (; s >= 1 && l >= 0; s--, l--)
263
+ if (a[s] !== d[l]) {
264
+ if (s !== 1 || l !== 1)
276
265
  do
277
- if (s--, f--, f < 0 || a[s] !== d[f]) {
266
+ if (s--, l--, l < 0 || a[s] !== d[l]) {
278
267
  var p = `
279
268
  ` + a[s].replace(" at new ", " at ");
280
- return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, p), p;
269
+ return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, p), p;
281
270
  }
282
- while (s >= 1 && f >= 0);
271
+ while (s >= 1 && l >= 0);
283
272
  break;
284
273
  }
285
274
  }
286
275
  } finally {
287
- q = !1, U.current = u, $e(), Error.prepareStackTrace = i;
276
+ q = !1, U.current = u, We(), Error.prepareStackTrace = i;
288
277
  }
289
- var j = e ? e.displayName || e.name : "", be = j ? Y(j) : "";
290
- return typeof e == "function" && N.set(e, be), be;
278
+ var j = e ? e.displayName || e.name : "", Re = j ? W(j) : "";
279
+ return typeof e == "function" && Y.set(e, Re), Re;
291
280
  }
292
- function Ye(e, r, t) {
293
- return se(e, !1);
281
+ function Ne(e, r, t) {
282
+ return le(e, !1);
294
283
  }
295
- function Ne(e) {
284
+ function Le(e) {
296
285
  var r = e.prototype;
297
286
  return !!(r && r.isReactComponent);
298
287
  }
299
- function L(e, r, t) {
288
+ function N(e, r, t) {
300
289
  if (e == null)
301
290
  return "";
302
291
  if (typeof e == "function")
303
- return se(e, Ne(e));
292
+ return le(e, Le(e));
304
293
  if (typeof e == "string")
305
- return Y(e);
294
+ return W(e);
306
295
  switch (e) {
307
296
  case P:
308
- return Y("Suspense");
297
+ return W("Suspense");
309
298
  case v:
310
- return Y("SuspenseList");
299
+ return W("SuspenseList");
311
300
  }
312
301
  if (typeof e == "object")
313
302
  switch (e.$$typeof) {
314
- case l:
315
- return Ye(e.render);
316
- case h:
317
- return L(e.type, r, t);
318
- case C: {
303
+ case f:
304
+ return Ne(e.render);
305
+ case _:
306
+ return N(e.type, r, t);
307
+ case T: {
319
308
  var n = e, i = n._payload, u = n._init;
320
309
  try {
321
- return L(u(i), r, t);
310
+ return N(u(i), r, t);
322
311
  } catch {
323
312
  }
324
313
  }
325
314
  }
326
315
  return "";
327
316
  }
328
- var V = Object.prototype.hasOwnProperty, fe = {}, le = S.ReactDebugCurrentFrame;
329
- function M(e) {
317
+ var L = Object.prototype.hasOwnProperty, fe = {}, ce = S.ReactDebugCurrentFrame;
318
+ function V(e) {
330
319
  if (e) {
331
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
332
- le.setExtraStackFrame(t);
320
+ var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
321
+ ce.setExtraStackFrame(t);
333
322
  } else
334
- le.setExtraStackFrame(null);
323
+ ce.setExtraStackFrame(null);
335
324
  }
336
- function Le(e, r, t, n, i) {
325
+ function Ve(e, r, t, n, i) {
337
326
  {
338
- var u = Function.call.bind(V);
327
+ var u = Function.call.bind(L);
339
328
  for (var o in e)
340
329
  if (u(e, o)) {
341
330
  var a = void 0;
@@ -348,67 +337,67 @@ function cr() {
348
337
  } catch (s) {
349
338
  a = s;
350
339
  }
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 fe) && (fe[a.message] = !0, M(i), c("Failed %s type: %s", t, a.message), M(null));
340
+ a && !(a instanceof Error) && (V(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), V(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, V(i), c("Failed %s type: %s", t, a.message), V(null));
352
341
  }
353
342
  }
354
343
  }
355
- var Ve = Array.isArray;
344
+ var Me = Array.isArray;
356
345
  function J(e) {
357
- return Ve(e);
346
+ return Me(e);
358
347
  }
359
- function Me(e) {
348
+ function Ue(e) {
360
349
  {
361
350
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
362
351
  return t;
363
352
  }
364
353
  }
365
- function Ue(e) {
354
+ function Be(e) {
366
355
  try {
367
- return ce(e), !1;
356
+ return de(e), !1;
368
357
  } catch {
369
358
  return !0;
370
359
  }
371
360
  }
372
- function ce(e) {
361
+ function de(e) {
373
362
  return "" + e;
374
363
  }
375
- function de(e) {
376
- if (Ue(e))
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);
364
+ function ve(e) {
365
+ if (Be(e))
366
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ue(e)), de(e);
378
367
  }
379
- var A = S.ReactCurrentOwner, Be = {
368
+ var F = S.ReactCurrentOwner, qe = {
380
369
  key: !0,
381
370
  ref: !0,
382
371
  __self: !0,
383
372
  __source: !0
384
- }, ve, pe, G;
373
+ }, pe, me, G;
385
374
  G = {};
386
- function qe(e) {
387
- if (V.call(e, "ref")) {
375
+ function Je(e) {
376
+ if (L.call(e, "ref")) {
388
377
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
389
378
  if (r && r.isReactWarning)
390
379
  return !1;
391
380
  }
392
381
  return e.ref !== void 0;
393
382
  }
394
- function Je(e) {
395
- if (V.call(e, "key")) {
383
+ function Ge(e) {
384
+ if (L.call(e, "key")) {
396
385
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
397
386
  if (r && r.isReactWarning)
398
387
  return !1;
399
388
  }
400
389
  return e.key !== void 0;
401
390
  }
402
- function Ge(e, r) {
403
- if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
404
- var t = g(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', g(A.current.type), e.ref), G[t] = !0);
391
+ function ze(e, r) {
392
+ if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
393
+ var t = h(F.current.type);
394
+ 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', h(F.current.type), e.ref), G[t] = !0);
406
395
  }
407
396
  }
408
- function ze(e, r) {
397
+ function Ke(e, r) {
409
398
  {
410
399
  var t = function() {
411
- ve || (ve = !0, c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
400
+ pe || (pe = !0, c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
412
401
  };
413
402
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
414
403
  get: t,
@@ -416,10 +405,10 @@ function cr() {
416
405
  });
417
406
  }
418
407
  }
419
- function Ke(e, r) {
408
+ function He(e, r) {
420
409
  {
421
410
  var t = function() {
422
- pe || (pe = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
411
+ me || (me = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
423
412
  };
424
413
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
425
414
  get: t,
@@ -427,10 +416,10 @@ function cr() {
427
416
  });
428
417
  }
429
418
  }
430
- var He = function(e, r, t, n, i, u, o) {
419
+ var Xe = function(e, r, t, n, i, u, o) {
431
420
  var a = {
432
421
  // This tag allows us to uniquely identify this as a React Element
433
- $$typeof: b,
422
+ $$typeof: y,
434
423
  // Built-in properties that belong on the element
435
424
  type: e,
436
425
  key: r,
@@ -456,41 +445,41 @@ function cr() {
456
445
  value: i
457
446
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
458
447
  };
459
- function Xe(e, r, t, n, i) {
448
+ function Ze(e, r, t, n, i) {
460
449
  {
461
450
  var u, o = {}, a = null, d = null;
462
- t !== void 0 && (de(t), a = "" + t), Je(r) && (de(r.key), a = "" + r.key), qe(r) && (d = r.ref, Ge(r, i));
451
+ t !== void 0 && (ve(t), a = "" + t), Ge(r) && (ve(r.key), a = "" + r.key), Je(r) && (d = r.ref, ze(r, i));
463
452
  for (u in r)
464
- V.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
453
+ L.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
465
454
  if (e && e.defaultProps) {
466
455
  var s = e.defaultProps;
467
456
  for (u in s)
468
457
  o[u] === void 0 && (o[u] = s[u]);
469
458
  }
470
459
  if (a || d) {
471
- var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
472
- a && ze(o, f), d && Ke(o, f);
460
+ var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ a && Ke(o, l), d && He(o, l);
473
462
  }
474
- return He(e, a, d, i, n, A.current, o);
463
+ return Xe(e, a, d, i, n, F.current, o);
475
464
  }
476
465
  }
477
- var z = S.ReactCurrentOwner, me = S.ReactDebugCurrentFrame;
466
+ var z = S.ReactCurrentOwner, _e = S.ReactDebugCurrentFrame;
478
467
  function x(e) {
479
468
  if (e) {
480
- var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
481
- me.setExtraStackFrame(t);
469
+ var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
470
+ _e.setExtraStackFrame(t);
482
471
  } else
483
- me.setExtraStackFrame(null);
472
+ _e.setExtraStackFrame(null);
484
473
  }
485
474
  var K;
486
475
  K = !1;
487
476
  function H(e) {
488
- return typeof e == "object" && e !== null && e.$$typeof === b;
477
+ return typeof e == "object" && e !== null && e.$$typeof === y;
489
478
  }
490
- function _e() {
479
+ function he() {
491
480
  {
492
481
  if (z.current) {
493
- var e = g(z.current.type);
482
+ var e = h(z.current.type);
494
483
  if (e)
495
484
  return `
496
485
 
@@ -499,21 +488,13 @@ Check the render method of \`` + e + "`.";
499
488
  return "";
500
489
  }
501
490
  }
502
- function Ze(e) {
503
- {
504
- if (e !== void 0) {
505
- var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
506
- return `
507
-
508
- Check your code at ` + r + ":" + t + ".";
509
- }
510
- return "";
511
- }
512
- }
513
- var he = {};
514
491
  function Qe(e) {
492
+ return "";
493
+ }
494
+ var Ee = {};
495
+ function er(e) {
515
496
  {
516
- var r = _e();
497
+ var r = he();
517
498
  if (!r) {
518
499
  var t = typeof e == "string" ? e : e.displayName || e.name;
519
500
  t && (r = `
@@ -528,15 +509,15 @@ Check the top-level render call using <` + t + ">.");
528
509
  if (!e._store || e._store.validated || e.key != null)
529
510
  return;
530
511
  e._store.validated = !0;
531
- var t = Qe(r);
532
- if (he[t])
512
+ var t = er(r);
513
+ if (Ee[t])
533
514
  return;
534
- he[t] = !0;
515
+ Ee[t] = !0;
535
516
  var n = "";
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);
517
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + h(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
518
  }
538
519
  }
539
- function Ee(e, r) {
520
+ function ye(e, r) {
540
521
  {
541
522
  if (typeof e != "object")
542
523
  return;
@@ -548,14 +529,14 @@ Check the top-level render call using <` + t + ">.");
548
529
  else if (H(e))
549
530
  e._store && (e._store.validated = !0);
550
531
  else if (e) {
551
- var i = we(e);
532
+ var i = Pe(e);
552
533
  if (typeof i == "function" && i !== e.entries)
553
534
  for (var u = i.call(e), o; !(o = u.next()).done; )
554
535
  H(o.value) && ge(o.value, r);
555
536
  }
556
537
  }
557
538
  }
558
- function er(e) {
539
+ function rr(e) {
559
540
  {
560
541
  var r = e.type;
561
542
  if (r == null || typeof r == "string")
@@ -563,24 +544,24 @@ Check the top-level render call using <` + t + ">.");
563
544
  var t;
564
545
  if (typeof r == "function")
565
546
  t = r.propTypes;
566
- else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
547
+ else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
567
548
  // Inner props are checked in the reconciler.
568
- r.$$typeof === h))
549
+ r.$$typeof === _))
569
550
  t = r.propTypes;
570
551
  else
571
552
  return;
572
553
  if (t) {
573
- var n = g(r);
574
- Le(t, e.props, "prop", n, e);
554
+ var n = h(r);
555
+ Ve(t, e.props, "prop", n, e);
575
556
  } else if (r.PropTypes !== void 0 && !K) {
576
557
  K = !0;
577
- var i = g(r);
558
+ var i = h(r);
578
559
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
579
560
  }
580
561
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
581
562
  }
582
563
  }
583
- function rr(e) {
564
+ function tr(e) {
584
565
  {
585
566
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
586
567
  var n = r[t];
@@ -592,78 +573,77 @@ Check the top-level render call using <` + t + ">.");
592
573
  e.ref !== null && (x(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), x(null));
593
574
  }
594
575
  }
595
- function ye(e, r, t, n, i, u) {
576
+ function be(e, r, t, n, i, u) {
596
577
  {
597
- var o = Fe(e);
578
+ var o = Ae(e);
598
579
  if (!o) {
599
580
  var a = "";
600
581
  (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
- var d = Ze(i);
602
- d ? a += d : a += _e();
582
+ var d = Qe();
583
+ d ? a += d : a += he();
603
584
  var s;
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);
585
+ e === null ? s = "null" : J(e) ? s = "array" : e !== void 0 && e.$$typeof === y ? (s = "<" + (h(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
586
  }
606
- var f = Xe(e, r, t, i, u);
607
- if (f == null)
608
- return f;
587
+ var l = Ze(e, r, t, i, u);
588
+ if (l == null)
589
+ return l;
609
590
  if (o) {
610
591
  var p = r.children;
611
592
  if (p !== void 0)
612
593
  if (n)
613
594
  if (J(p)) {
614
595
  for (var j = 0; j < p.length; j++)
615
- Ee(p[j], e);
596
+ ye(p[j], e);
616
597
  Object.freeze && Object.freeze(p);
617
598
  } else
618
599
  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
600
  else
620
- Ee(p, e);
601
+ ye(p, e);
621
602
  }
622
- return e === y ? rr(f) : er(f), f;
603
+ return e === g ? tr(l) : rr(l), l;
623
604
  }
624
605
  }
625
- function tr(e, r, t) {
626
- return ye(e, r, t, !0);
627
- }
628
606
  function nr(e, r, t) {
629
- return ye(e, r, t, !1);
607
+ return be(e, r, t, !0);
608
+ }
609
+ function ar(e, r, t) {
610
+ return be(e, r, t, !1);
630
611
  }
631
- var ar = nr, or = tr;
632
- $.Fragment = y, $.jsx = ar, $.jsxs = or;
633
- }()), $;
612
+ var or = ar, ir = nr;
613
+ I.Fragment = g, I.jsx = or, I.jsxs = ir;
614
+ }()), I;
634
615
  }
635
- (function(m) {
636
- process.env.NODE_ENV === "production" ? m.exports = lr() : m.exports = cr();
637
- })(fr);
616
+ process.env.NODE_ENV === "production" ? X.exports = fr() : X.exports = cr();
617
+ var M = X.exports;
638
618
  const pr = ({
639
- initialOpen: m = !0,
640
- children: b,
641
- heading: D,
642
- className: y = "",
643
- lightBackground: R = !1,
619
+ initialOpen: C = !0,
620
+ children: y,
621
+ heading: k,
622
+ className: g = "",
623
+ lightBackground: b = !1,
644
624
  ...w
645
625
  }) => {
646
- const _ = ir(null);
647
- return ur(() => {
648
- _.current && (_.current.open = m);
649
- }, [m]), /* @__PURE__ */ k.jsxs(
626
+ const m = ur(null);
627
+ return sr(() => {
628
+ m.current && (m.current.open = C);
629
+ }, [C]), /* @__PURE__ */ M.jsxs(
650
630
  "details",
651
631
  {
652
- ref: _,
632
+ ref: m,
653
633
  "data-testid": "rds-accordion",
654
- className: `rds-accordion-details ${R ? "rds-accordion-details--light" : ""} ${R === "white" ? "rds-accordion-details--white" : ""} ${y}`,
634
+ className: `rds-accordion-details ${b ? "rds-accordion-details--light" : ""} ${b === "white" ? "rds-accordion-details--white" : ""} ${g}`,
655
635
  ...w,
656
636
  children: [
657
- /* @__PURE__ */ k.jsxs("summary", { "data-testid": "rds-accordion-summary", className: "rds-accordion-details__summary", children: [
658
- /* @__PURE__ */ k.jsx(sr, {}),
659
- /* @__PURE__ */ k.jsx("div", { className: "rds-accordion-details__summary__content", children: D })
637
+ /* @__PURE__ */ M.jsxs("summary", { "data-testid": "rds-accordion-summary", className: "rds-accordion-details__summary", children: [
638
+ /* @__PURE__ */ M.jsx(lr, {}),
639
+ /* @__PURE__ */ M.jsx("div", { className: "rds-accordion-details__summary__content", children: k })
660
640
  ] }),
661
- b
641
+ y
662
642
  ]
663
643
  }
664
644
  );
665
645
  };
666
646
  export {
667
647
  pr as A,
668
- k as j
648
+ M as j
669
649
  };