@hortiview/shared-components 2.11.0 → 2.11.2

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 (95) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AlertBanner-Dss0v6W0.js → AlertBanner-C6wpAQMj.js} +3 -3
  3. package/dist/{BigLoadingSpinner-BeHzqdOg.js → BigLoadingSpinner-CDbRVDNZ.js} +1 -1
  4. package/dist/{GenericCard-MjxZ1L7r.js → GenericCard-Co9bGU19.js} +3 -3
  5. package/dist/{ListAreaService-Dx9WBGHB.js → ListAreaService-CGJm5I23.js} +5 -5
  6. package/dist/{OfflineView-D168VIXv.js → OfflineView-NUM9WE0F.js} +3 -3
  7. package/dist/assets/FormSelect.css +1 -1
  8. package/dist/assets/Select.css +1 -1
  9. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  10. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  11. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  12. package/dist/components/BaseView/BaseView.js +5 -5
  13. package/dist/components/BasicHeading/BasicHeading.js +4 -4
  14. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  15. package/dist/components/BlockView/BlockView.js +2 -2
  16. package/dist/components/ChipCard/ChipCard.js +438 -424
  17. package/dist/components/ContextMenu/ContextMenu.js +3 -3
  18. package/dist/components/DeleteModal/DeleteModal.js +4 -4
  19. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  20. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  21. package/dist/components/EmptyView/EmptyView.js +3 -3
  22. package/dist/components/Filter/Filter.js +6 -6
  23. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  24. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +4 -4
  25. package/dist/components/FormComponents/FormNumber/CustomTextField.js +1 -1
  26. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  27. package/dist/components/FormComponents/FormSelect/FormSelect.js +48 -48
  28. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  29. package/dist/components/FormComponents/FormSlider/FormSlider.js +6 -6
  30. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  31. package/dist/components/FormComponents/FormToggle/FormToggle.js +3 -3
  32. package/dist/components/GenericTable/GenericTable.js +8225 -7444
  33. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  34. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  35. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  36. package/dist/components/HashTabView/HashTabView.js +6 -6
  37. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  38. package/dist/components/Iconify/Iconify.js +1 -1
  39. package/dist/components/InfoCard/InfoCard.js +4 -4
  40. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  41. package/dist/components/ListArea/ListArea.js +5 -5
  42. package/dist/components/ListArea/ListArea.test.js +3 -3
  43. package/dist/components/ListArea/ListAreaService.js +6 -6
  44. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
  45. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  46. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +6 -6
  47. package/dist/components/Modal/Modal.js +9 -9
  48. package/dist/components/ModulePadding/ModulePadding.js +1 -1
  49. package/dist/components/OfflineView/OfflineView.js +4 -4
  50. package/dist/components/OfflineView/OfflineView.test.js +1 -1
  51. package/dist/components/OnboardingBanner/OnboardingBanner.d.ts +1 -2
  52. package/dist/components/OnboardingBanner/OnboardingBanner.js +33 -25
  53. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  54. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  55. package/dist/components/SearchBar/SearchBar.js +2 -2
  56. package/dist/components/Select/Select.js +10 -10
  57. package/dist/components/Stepper/Stepper.js +1 -1
  58. package/dist/components/Stepper/components/StepperButton.js +1 -1
  59. package/dist/components/Stepper/components/StepperHeader.js +6 -14
  60. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  61. package/dist/correct-is-regexp-logic-BBlm4UpN.js +44 -0
  62. package/dist/{defineProperty-CmuOyxyf.js → defineProperty-K2c2Cqi7.js} +56 -56
  63. package/dist/{es.string.iterator-DrqCBub-.js → es.string.iterator-5IsLbO9h.js} +25 -25
  64. package/dist/find-nTYsLuUo.js +95 -0
  65. package/dist/{index-Cpb-8cAN.js → index-_ck2BRrZ.js} +36 -35
  66. package/dist/{index.es-DUcI2Zyr.js → index.es-B0QNuIUR.js} +4 -4
  67. package/dist/{index.es-CijDQQVg.js → index.es-B3-Acyxs.js} +4 -4
  68. package/dist/{index.es-vqlyMiew.js → index.es-BZ3r3ilq.js} +3 -3
  69. package/dist/{index.es-DNRm4vOy.js → index.es-Bw3LT0xk.js} +3 -3
  70. package/dist/{index.es-D_hWWij3.js → index.es-C19v_2Tu.js} +14 -14
  71. package/dist/{index.es-DsGuBR0Z.js → index.es-C1SajYlm.js} +3 -3
  72. package/dist/{index.es-BzdG6flH.js → index.es-C1u7zUBz.js} +25 -25
  73. package/dist/{index.es-Ds9rRj5B.js → index.es-CEPrAgSM.js} +4 -4
  74. package/dist/{index.es-Bo1Rhtyb.js → index.es-CIsLNz4j.js} +2 -2
  75. package/dist/{index.es-BRtk0Q33.js → index.es-CP6nYw6D.js} +1 -1
  76. package/dist/{index.es-BjvSa9Z-.js → index.es-C_feFtLb.js} +44 -43
  77. package/dist/{index.es-CmF6xAUJ.js → index.es-Ci73HfOg.js} +1 -1
  78. package/dist/{index.es-BLolvOHO.js → index.es-CvHDFF6V.js} +7 -7
  79. package/dist/{index.es-DYs8W4jv.js → index.es-DCYlADaN.js} +2 -2
  80. package/dist/{index.es-BLIkMu0q.js → index.es-DHSqxTgL.js} +5 -5
  81. package/dist/{index.es-Bus5gEri.js → index.es-DYViXXnI.js} +2 -2
  82. package/dist/{index.es-DDRyb2df.js → index.es-DZBGtuyV.js} +5 -5
  83. package/dist/{index.es-b2h35xzk.js → index.es-DiONypF4.js} +6 -6
  84. package/dist/{index.es-P5F6NJPB.js → index.es-DnEIFMjv.js} +228 -266
  85. package/dist/{index.es-CXq42ihP.js → index.es-HCdWwFg5.js} +13 -13
  86. package/dist/{index.es-DCSgIiJH.js → index.es-NEYPxnlS.js} +2 -2
  87. package/dist/{index.es-Dq_bXeGZ.js → index.es-fV9oWpEf.js} +2771 -2481
  88. package/dist/{index.es-CKdJX75f.js → index.es-nqOhHSs3.js} +1 -1
  89. package/dist/{keyboard-BfmK7HK_.js → keyboard-20bkocNM.js} +28 -28
  90. package/dist/main.js +2 -2
  91. package/dist/{map-LUrszKZW.js → map-Bx7eZRyR.js} +295 -302
  92. package/dist/{parse-int-qVAoFbOL.js → parse-int-Cmh59J6W.js} +5 -5
  93. package/dist/{slicedToArray-uk6yv91z.js → slicedToArray-h0Nnkd_P.js} +67 -67
  94. package/package.json +4 -3
  95. package/dist/find-Dpy_M6vm.js +0 -88
@@ -1,28 +1,29 @@
1
- import { B as rr, z as ar, l as Ee, m as we, C as Re, D as tr, E as nr, v as lr, w as ir, x as or, h as dr, _ as T, a as $, c as v, b as S, d as oe, P as a } from "./index-Cpb-8cAN.js";
2
- import { _ as de, a as D, b as ce, c as se, d as j, e as M, f as me } from "./defineProperty-CmuOyxyf.js";
3
- import { _ as qe } from "./slicedToArray-uk6yv91z.js";
4
- import m, { useLayoutEffect as cr, useEffect as Se, useState as ie, useMemo as F, forwardRef as _, useRef as H, useImperativeHandle as U, createContext as sr } from "react";
5
- import { b as De, j as ye } from "./index.es-BjvSa9Z-.js";
6
- import { B as mr } from "./index.es-DUcI2Zyr.js";
7
- import { I as ur } from "./index.es-DYs8W4jv.js";
8
- import { I as yr } from "./index.es-BzdG6flH.js";
9
- import { D as pr } from "./index.es-Bus5gEri.js";
10
- import { G as gr } from "./index.es-DsGuBR0Z.js";
11
- import { g as vr } from "./_commonjsHelpers-BkfeUUK-.js";
12
- import { r as fr } from "./es.string.iterator-DrqCBub-.js";
13
- var hr = function() {
1
+ import { E as Ke, y as Je, j as Be, s as Pe, u as Qe, v as Xe, w as Ye, t as Ze, _ as T, a as $, c as v, b as S, d as ne, P as a } from "./index-_ck2BRrZ.js";
2
+ import { _ as le, a as D, b as ie, c as oe, d as j, e as M, f as de } from "./defineProperty-K2c2Cqi7.js";
3
+ import { _ as Ae } from "./slicedToArray-h0Nnkd_P.js";
4
+ import m, { useLayoutEffect as ea, useEffect as xe, useState as te, useMemo as F, forwardRef as _, useRef as V, useImperativeHandle as U, createContext as aa } from "react";
5
+ import { b as Ie, j as se } from "./index.es-C_feFtLb.js";
6
+ import { B as ra } from "./index.es-B0QNuIUR.js";
7
+ import { I as ta } from "./index.es-DCYlADaN.js";
8
+ import { I as na } from "./index.es-C1u7zUBz.js";
9
+ import { D as la } from "./index.es-DYViXXnI.js";
10
+ import { G as ia } from "./index.es-C1SajYlm.js";
11
+ import { g as oa } from "./_commonjsHelpers-BkfeUUK-.js";
12
+ import { r as da } from "./es.string.iterator-5IsLbO9h.js";
13
+ import { r as ca, a as sa } from "./correct-is-regexp-logic-BBlm4UpN.js";
14
+ var ma = function() {
14
15
  };
15
- function qa(e) {
16
+ function Br(e) {
16
17
  for (var i = [], r = 1; r < arguments.length; r++)
17
18
  i[r - 1] = arguments[r];
18
19
  e && e.addEventListener && e.addEventListener.apply(e, i);
19
20
  }
20
- function Sa(e) {
21
+ function Pr(e) {
21
22
  for (var i = [], r = 1; r < arguments.length; r++)
22
23
  i[r - 1] = arguments[r];
23
24
  e && e.removeEventListener && e.removeEventListener.apply(e, i);
24
25
  }
25
- var Me = typeof window < "u", br = Me ? cr : Se, je = {
26
+ var Le = typeof window < "u", ya = Le ? ea : xe, Ee = {
26
27
  x: 0,
27
28
  y: 0,
28
29
  width: 0,
@@ -32,89 +33,50 @@ var Me = typeof window < "u", br = Me ? cr : Se, je = {
32
33
  bottom: 0,
33
34
  right: 0
34
35
  };
35
- function Cr() {
36
- var e = ie(null), i = e[0], r = e[1], l = ie(je), n = l[0], t = l[1], o = F(function() {
36
+ function ua() {
37
+ var e = te(null), i = e[0], r = e[1], l = te(Ee), n = l[0], t = l[1], o = F(function() {
37
38
  return new window.ResizeObserver(function(c) {
38
39
  if (c[0]) {
39
- var d = c[0].contentRect, s = d.x, u = d.y, p = d.width, g = d.height, b = d.top, f = d.left, y = d.bottom, h = d.right;
40
- t({ x: s, y: u, width: p, height: g, top: b, left: f, bottom: y, right: h });
40
+ var d = c[0].contentRect, s = d.x, y = d.y, p = d.width, g = d.height, b = d.top, f = d.left, u = d.bottom, h = d.right;
41
+ t({ x: s, y, width: p, height: g, top: b, left: f, bottom: u, right: h });
41
42
  }
42
43
  });
43
44
  }, []);
44
- return br(function() {
45
+ return ya(function() {
45
46
  if (i)
46
47
  return o.observe(i), function() {
47
48
  o.disconnect();
48
49
  };
49
50
  }, [i]), [r, n];
50
51
  }
51
- const Tr = Me && typeof window.ResizeObserver < "u" ? Cr : function() {
52
- return [hr, je];
52
+ const pa = Le && typeof window.ResizeObserver < "u" ? ua : function() {
53
+ return [ma, Ee];
53
54
  };
54
- var pe = {}, ge;
55
- function $r() {
56
- if (ge) return pe;
57
- ge = 1;
58
- var e = /* @__PURE__ */ Ee(), i = rr().includes, r = /* @__PURE__ */ ar(), l = /* @__PURE__ */ fr(), n = r(function() {
55
+ var me = {}, ye;
56
+ function ga() {
57
+ if (ye) return me;
58
+ ye = 1;
59
+ var e = /* @__PURE__ */ Be(), i = Ke().includes, r = /* @__PURE__ */ Je(), l = /* @__PURE__ */ da(), n = r(function() {
59
60
  return !Array(1).includes();
60
61
  });
61
62
  return e({ target: "Array", proto: !0, forced: n }, {
62
63
  includes: function(o) {
63
64
  return i(this, o, arguments.length > 1 ? arguments[1] : void 0);
64
65
  }
65
- }), l("includes"), pe;
66
- }
67
- var V, ve;
68
- function _r() {
69
- if (ve) return V;
70
- ve = 1, $r();
71
- var e = /* @__PURE__ */ we();
72
- return V = e("Array", "includes"), V;
66
+ }), l("includes"), me;
73
67
  }
74
- var fe = {}, J, he;
75
- function Nr() {
76
- if (he) return J;
77
- he = 1;
78
- var e = /* @__PURE__ */ tr(), i = /* @__PURE__ */ nr(), r = /* @__PURE__ */ Re(), l = r("match");
79
- return J = function(n) {
80
- var t;
81
- return e(n) && ((t = n[l]) !== void 0 ? !!t : i(n) === "RegExp");
82
- }, J;
83
- }
84
- var Q, be;
85
- function Or() {
86
- if (be) return Q;
87
- be = 1;
88
- var e = /* @__PURE__ */ Nr(), i = TypeError;
89
- return Q = function(r) {
90
- if (e(r))
91
- throw new i("The method doesn't accept regular expressions");
92
- return r;
93
- }, Q;
68
+ var K, ue;
69
+ function va() {
70
+ if (ue) return K;
71
+ ue = 1, ga();
72
+ var e = /* @__PURE__ */ Pe();
73
+ return K = e("Array", "includes"), K;
94
74
  }
95
- var X, Ce;
96
- function kr() {
97
- if (Ce) return X;
98
- Ce = 1;
99
- var e = /* @__PURE__ */ Re(), i = e("match");
100
- return X = function(r) {
101
- var l = /./;
102
- try {
103
- "/./"[r](l);
104
- } catch {
105
- try {
106
- return l[i] = !1, "/./"[r](l);
107
- } catch {
108
- }
109
- }
110
- return !1;
111
- }, X;
112
- }
113
- var Te;
114
- function Br() {
115
- if (Te) return fe;
116
- Te = 1;
117
- var e = /* @__PURE__ */ Ee(), i = /* @__PURE__ */ lr(), r = /* @__PURE__ */ Or(), l = /* @__PURE__ */ or(), n = /* @__PURE__ */ ir(), t = /* @__PURE__ */ kr(), o = i("".indexOf);
75
+ var pe = {}, ge;
76
+ function fa() {
77
+ if (ge) return pe;
78
+ ge = 1;
79
+ var e = /* @__PURE__ */ Be(), i = /* @__PURE__ */ Qe(), r = /* @__PURE__ */ sa(), l = /* @__PURE__ */ Ye(), n = /* @__PURE__ */ Xe(), t = /* @__PURE__ */ ca(), o = i("".indexOf);
118
80
  return e({ target: "String", proto: !0, forced: !t("includes") }, {
119
81
  includes: function(d) {
120
82
  return !!~o(
@@ -123,39 +85,39 @@ function Br() {
123
85
  arguments.length > 1 ? arguments[1] : void 0
124
86
  );
125
87
  }
126
- }), fe;
88
+ }), pe;
127
89
  }
128
- var Y, $e;
129
- function Pr() {
130
- if ($e) return Y;
131
- $e = 1, Br();
132
- var e = /* @__PURE__ */ we();
133
- return Y = e("String", "includes"), Y;
90
+ var J, ve;
91
+ function ha() {
92
+ if (ve) return J;
93
+ ve = 1, fa();
94
+ var e = /* @__PURE__ */ Pe();
95
+ return J = e("String", "includes"), J;
134
96
  }
135
- var Z, _e;
136
- function xr() {
137
- if (_e) return Z;
138
- _e = 1;
139
- var e = /* @__PURE__ */ dr(), i = /* @__PURE__ */ _r(), r = /* @__PURE__ */ Pr(), l = Array.prototype, n = String.prototype;
140
- return Z = function(t) {
97
+ var Q, fe;
98
+ function ba() {
99
+ if (fe) return Q;
100
+ fe = 1;
101
+ var e = /* @__PURE__ */ Ze(), i = /* @__PURE__ */ va(), r = /* @__PURE__ */ ha(), l = Array.prototype, n = String.prototype;
102
+ return Q = function(t) {
141
103
  var o = t.includes;
142
104
  return t === l || e(l, t) && o === l.includes ? i : typeof t == "string" || t === n || e(n, t) && o === n.includes ? r : o;
143
- }, Z;
105
+ }, Q;
144
106
  }
145
- var ee, Ne;
146
- function Ar() {
147
- if (Ne) return ee;
148
- Ne = 1;
149
- var e = /* @__PURE__ */ xr();
150
- return ee = e, ee;
107
+ var X, he;
108
+ function Ca() {
109
+ if (he) return X;
110
+ he = 1;
111
+ var e = /* @__PURE__ */ ba();
112
+ return X = e, X;
151
113
  }
152
- var re, Oe;
153
- function Ir() {
154
- return Oe || (Oe = 1, re = /* @__PURE__ */ Ar()), re;
114
+ var Y, be;
115
+ function Ta() {
116
+ return be || (be = 1, Y = /* @__PURE__ */ Ca()), Y;
155
117
  }
156
- var Lr = Ir();
157
- const ke = /* @__PURE__ */ vr(Lr);
158
- var Er = {
118
+ var $a = Ta();
119
+ const Ce = /* @__PURE__ */ oa($a);
120
+ var _a = {
159
121
  /**
160
122
  * Alignment of the Card Body.
161
123
  *
@@ -198,7 +160,7 @@ var Er = {
198
160
  * Defaults to **'default'**.
199
161
  */
200
162
  variant: a.oneOf(["default", "flat", "outlined", "raised"])
201
- }, wr = {
163
+ }, Na = {
202
164
  bodyAlignment: "left-top",
203
165
  children: null,
204
166
  height: "auto",
@@ -206,7 +168,7 @@ var Er = {
206
168
  style: null,
207
169
  themeColor: "surface",
208
170
  variant: "default"
209
- }, Rr = {
171
+ }, Oa = {
210
172
  /**
211
173
  * Override the default (`primary`) color with the `secondary` color. Most commonly used when the control is placed on a darker surface.
212
174
  *
@@ -285,7 +247,7 @@ var Er = {
285
247
  * Defaults to **'button'**.
286
248
  */
287
249
  type: a.oneOf(["button", "submit", "reset"])
288
- }, qr = {
250
+ }, ka = {
289
251
  actionButtonThemeColor: "primary",
290
252
  children: null,
291
253
  className: void 0,
@@ -297,7 +259,7 @@ var Er = {
297
259
  leadingIcon: null,
298
260
  trailingIcon: null,
299
261
  type: "button"
300
- }, Sr = {
262
+ }, Ba = {
301
263
  /**
302
264
  * Programmatically sets the toggle state of the button when used as a toggle button. If not set, the toggle state will be managed internally.
303
265
  *
@@ -381,8 +343,8 @@ var Er = {
381
343
  *
382
344
  * Defaults to **empty string**.
383
345
  */
384
- variant: De(a.oneOf(["", "filled-danger-alt", "filled-danger", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger"], "CardActionIcon", "Please use one of '','filled-danger-alt','filled-danger','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark'.")
385
- }, Dr = {
346
+ variant: Ie(a.oneOf(["", "filled-danger-alt", "filled-danger", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger"], "CardActionIcon", "Please use one of '','filled-danger-alt','filled-danger','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark'.")
347
+ }, Pa = {
386
348
  ariaLabel: null,
387
349
  children: null,
388
350
  className: void 0,
@@ -395,7 +357,7 @@ var Er = {
395
357
  toggleOnAriaLabel: null,
396
358
  toggleOnAriaLabelledBy: null,
397
359
  variant: ""
398
- }, Mr = {
360
+ }, Aa = {
399
361
  /**
400
362
  * Add buttons to card actions.
401
363
  *
@@ -414,11 +376,11 @@ var Er = {
414
376
  * Defaults to **'leading'**.
415
377
  */
416
378
  alignment: a.oneOf(["leading", "center", "trailing"])
417
- }, jr = {
379
+ }, xa = {
418
380
  actionButtons: null,
419
381
  actionIcons: null,
420
382
  alignment: "leading"
421
- }, Ur = {
383
+ }, Ia = {
422
384
  /**
423
385
  * Content to be rendered inside the title block. Accepts any valid markup.
424
386
  *
@@ -436,21 +398,21 @@ var Er = {
436
398
  *
437
399
  * Defaults to **'body2'**.
438
400
  */
439
- typographyType: De(a.oneOf(["body1", "body2", "button", "caption", "display1", "display2", "display3", "display4", "display5", "display6", "overline", "subtitle1", "subtitle2"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "CardBody", "Please use one of 'body1','body2','button','caption','display1','display2','display3','display4','display5','display6','overline','subtitle1','subtitle2'.")
440
- }, zr = {
401
+ typographyType: Ie(a.oneOf(["body1", "body2", "button", "caption", "display1", "display2", "display3", "display4", "display5", "display6", "overline", "subtitle1", "subtitle2"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "CardBody", "Please use one of 'body1','body2','button','caption','display1','display2','display3','display4','display5','display6','overline','subtitle1','subtitle2'.")
402
+ }, La = {
441
403
  children: null,
442
404
  themeColor: "surface",
443
405
  typographyType: "body2"
444
- }, Wr = {
406
+ }, Ea = {
445
407
  /**
446
408
  * Content to be rendered inside the content block. Accepts any valid markup.
447
409
  *
448
410
  * Defaults to **null**.
449
411
  */
450
412
  children: a.node
451
- }, Gr = {
413
+ }, wa = {
452
414
  children: null
453
- }, Fr = {
415
+ }, qa = {
454
416
  /**
455
417
  * Theme color for the Card Divider. Leave empty for gray.
456
418
  *
@@ -463,10 +425,10 @@ var Er = {
463
425
  * Defaults to **'dense'**.
464
426
  */
465
427
  dividerVariant: a.oneOf(["dense", "tall"])
466
- }, Hr = {
428
+ }, Ra = {
467
429
  dividerThemeColor: "on-surface-stroke",
468
430
  dividerVariant: "dense"
469
- }, Kr = {
431
+ }, Sa = {
470
432
  /**
471
433
  * Content to be rendered inside the title block. Mostly commonly a Select, Textfield component, however any valid components or markup may be used.
472
434
  *
@@ -485,11 +447,11 @@ var Er = {
485
447
  * Defaults to **'tabs'**.
486
448
  */
487
449
  filterType: a.oneOf(["tabs", "chips", "select", "select-2"])
488
- }, Vr = {
450
+ }, Da = {
489
451
  children: null,
490
452
  className: void 0,
491
453
  filterType: "tabs"
492
- }, Jr = {
454
+ }, Ma = {
493
455
  /**
494
456
  * Most commonly text or a Typography component, but accepts any valid markup.
495
457
  *
@@ -508,11 +470,11 @@ var Er = {
508
470
  * Defaults to **false**.
509
471
  */
510
472
  rtl: a.bool
511
- }, Qr = {
473
+ }, ja = {
512
474
  children: null,
513
475
  className: void 0,
514
476
  rtl: !1
515
- }, Xr = {
477
+ }, Ua = {
516
478
  /**
517
479
  * Url for Card media
518
480
  *
@@ -531,10 +493,10 @@ var Er = {
531
493
  * Defaults to **'30%'**.
532
494
  */
533
495
  width: a.oneOfType([a.number, a.string])
534
- }, Yr = {
496
+ }, za = {
535
497
  mediaUrl: null,
536
498
  width: "30%"
537
- }, Zr = {
499
+ }, Wa = {
538
500
  /**
539
501
  * Child components will be rendered on top of the provided image. Use `contentBottom` and `contentTop` to control content positioning. Accepts any valid markup.
540
502
  *
@@ -571,14 +533,14 @@ var Er = {
571
533
  * Defaults to **'square'**.
572
534
  */
573
535
  ratio: a.oneOf(["square", "sixteen-nine", "four-three", "four-five", "two-one"])
574
- }, ea = {
536
+ }, Ga = {
575
537
  children: null,
576
538
  contentPlacement: "bottom",
577
539
  imageUrl: null,
578
540
  overlay: !1,
579
541
  overlayThemeColor: "dark",
580
542
  ratio: "square"
581
- }, ra = {
543
+ }, Fa = {
582
544
  /**
583
545
  * Content to be rendered inside the Card Overlay. Useful for angles or other non semantic elements displayed in the Card.
584
546
  *
@@ -603,12 +565,12 @@ var Er = {
603
565
  * Defaults to **'full'**.
604
566
  */
605
567
  position: a.oneOf(["full", "leading", "trailing"])
606
- }, aa = {
568
+ }, Va = {
607
569
  children: null,
608
570
  className: void 0,
609
571
  overlayThemeColor: "dark",
610
572
  position: "full"
611
- }, ta = {
573
+ }, Ha = {
612
574
  /**
613
575
  * Content to be rendered as the primary action.
614
576
  *
@@ -627,9 +589,9 @@ var Er = {
627
589
  * Defaults to **'div'**.
628
590
  */
629
591
  tag: a.oneOfType([a.string, a.elementType, a.instanceOf(m.Component)])
630
- }, na = {
592
+ }, Ka = {
631
593
  children: null
632
- }, la = {
594
+ }, Ja = {
633
595
  /**
634
596
  * The css class name to be passed through to the component markup.
635
597
  *
@@ -641,7 +603,7 @@ var Er = {
641
603
  *
642
604
  * Defaults to **null**.
643
605
  */
644
- leadingBlock: ye(a.node, "CardTitle", "leadingBlockType"),
606
+ leadingBlock: se(a.node, "CardTitle", "leadingBlockType"),
645
607
  /**
646
608
  * The type of media that will render in the leading block. See README for size constraints.
647
609
  *
@@ -695,14 +657,14 @@ var Er = {
695
657
  *
696
658
  * Defaults to **null**.
697
659
  */
698
- trailingBlock: ye(a.node, "CardTitle", "trailingBlockType"),
660
+ trailingBlock: se(a.node, "CardTitle", "trailingBlockType"),
699
661
  /**
700
662
  * The type of media that will render in the trailing block. See README for size constraints.
701
663
  *
702
664
  * Defaults to **empty string**.
703
665
  */
704
666
  trailingBlockType: a.oneOf(["", "title-actions", "avatar", "badge", "icon", "icon-with-background", "thumbnail"])
705
- }, ia = {
667
+ }, Qa = {
706
668
  className: void 0,
707
669
  leadingBlock: null,
708
670
  leadingBlockType: "",
@@ -715,163 +677,163 @@ var Er = {
715
677
  themeColor: "surface",
716
678
  trailingBlock: null,
717
679
  trailingBlockType: ""
718
- }, oa = ["bodyAlignment", "children", "className", "direction", "height", "loadingCard", "outlined", "style", "themeColor", "variant"];
719
- function Be(e, i) {
720
- var r = oe(e);
680
+ }, Xa = ["bodyAlignment", "children", "className", "direction", "height", "loadingCard", "outlined", "style", "themeColor", "variant"];
681
+ function Te(e, i) {
682
+ var r = ne(e);
721
683
  if (M) {
722
684
  var l = M(e);
723
- i && (l = me(l).call(l, function(n) {
685
+ i && (l = de(l).call(l, function(n) {
724
686
  return j(e, n).enumerable;
725
687
  })), r.push.apply(r, l);
726
688
  }
727
689
  return r;
728
690
  }
729
- function Pe(e) {
691
+ function $e(e) {
730
692
  for (var i = 1; i < arguments.length; i++) {
731
693
  var r, l, n = arguments[i] != null ? arguments[i] : {};
732
- i % 2 ? S(r = Be(Object(n), !0)).call(r, function(t) {
733
- de(e, t, n[t]);
734
- }) : D ? ce(e, D(n)) : S(l = Be(Object(n))).call(l, function(t) {
735
- se(e, t, j(n, t));
694
+ i % 2 ? S(r = Te(Object(n), !0)).call(r, function(t) {
695
+ le(e, t, n[t]);
696
+ }) : D ? ie(e, D(n)) : S(l = Te(Object(n))).call(l, function(t) {
697
+ oe(e, t, j(n, t));
736
698
  });
737
699
  }
738
700
  return e;
739
701
  }
740
- var E = wr, Ue = /* @__PURE__ */ _(function(e, i) {
741
- var r = e.bodyAlignment, l = r === void 0 ? E.bodyAlignment : r, n = e.children, t = n === void 0 ? E.children : n, o = e.className, c = o === void 0 ? E.className : o, d = e.direction, s = d === void 0 ? E.direction : d, u = e.height, p = u === void 0 ? E.height : u, g = e.loadingCard, b = g === void 0 ? E.loadingCard : g;
702
+ var E = Na, we = /* @__PURE__ */ _(function(e, i) {
703
+ var r = e.bodyAlignment, l = r === void 0 ? E.bodyAlignment : r, n = e.children, t = n === void 0 ? E.children : n, o = e.className, c = o === void 0 ? E.className : o, d = e.direction, s = d === void 0 ? E.direction : d, y = e.height, p = y === void 0 ? E.height : y, g = e.loadingCard, b = g === void 0 ? E.loadingCard : g;
742
704
  e.outlined;
743
- var f = e.style, y = f === void 0 ? E.style : f, h = e.themeColor, B = h === void 0 ? E.themeColor : h, N = e.variant, A = N === void 0 ? E.variant : N, I = T(e, oa), w = ie(Pe({
705
+ var f = e.style, u = f === void 0 ? E.style : f, h = e.themeColor, B = h === void 0 ? E.themeColor : h, N = e.variant, x = N === void 0 ? E.variant : N, I = T(e, Xa), w = te($e({
744
706
  height: p,
745
707
  direction: s
746
- }, y)), P = qe(w, 2), q = P[0], L = P[1], C = H();
708
+ }, u)), P = Ae(w, 2), R = P[0], L = P[1], C = V();
747
709
  return U(i, function() {
748
710
  return C.current;
749
- }, []), Se(function() {
750
- L(Pe({
711
+ }, []), xe(function() {
712
+ L($e({
751
713
  height: p,
752
714
  // display: 'flex', do we need this?
753
715
  direction: s
754
- }, y));
755
- }, [p, s, y]), /* @__PURE__ */ m.createElement("div", $({
716
+ }, u));
717
+ }, [p, s, u]), /* @__PURE__ */ m.createElement("div", $({
756
718
  ref: C,
757
- className: v("lmnt", "lmnt-card", "mdc-card", A === "outlined" && "mdc-card--outlined", A === "flat" && "lmnt-card--flat", A === "raised" && "lmnt-card--raised", b && "lmnt-card--loading", "lmnt-card--".concat(l), "lmnt-theme-".concat(B, "-bg"), c),
758
- style: q
719
+ className: v("lmnt", "lmnt-card", "mdc-card", x === "outlined" && "mdc-card--outlined", x === "flat" && "lmnt-card--flat", x === "raised" && "lmnt-card--raised", b && "lmnt-card--loading", "lmnt-card--".concat(l), "lmnt-theme-".concat(B, "-bg"), c),
720
+ style: R
759
721
  }, I), t);
760
722
  });
761
- Ue.displayName = "Card";
762
- Ue.propTypes = Er;
763
- var da = ["children", "className", "customRef", "disabled", "fullWidth", "href", "label", "leadingIcon", "actionButtonThemeColor", "trailingIcon", "type"], x = qr, ze = /* @__PURE__ */ _(function(e, i) {
764
- var r = e.children, l = r === void 0 ? x.children : r, n = e.className, t = n === void 0 ? x.className : n, o = e.customRef, c = o === void 0 ? x.customRef : o, d = e.disabled, s = d === void 0 ? x.disabled : d, u = e.fullWidth, p = u === void 0 ? x.fullWidth : u, g = e.href, b = g === void 0 ? x.href : g, f = e.label, y = f === void 0 ? x.label : f, h = e.leadingIcon, B = h === void 0 ? x.leadingIcon : h, N = e.actionButtonThemeColor, A = N === void 0 ? x.actionButtonThemeColor : N, I = e.trailingIcon, w = I === void 0 ? x.trailingIcon : I, P = e.type, q = P === void 0 ? x.type : P, L = T(e, da), C = F(function() {
765
- return y || l;
766
- }, [y, l]);
767
- return /* @__PURE__ */ m.createElement(mr, $({
723
+ we.displayName = "Card";
724
+ we.propTypes = _a;
725
+ var Ya = ["children", "className", "customRef", "disabled", "fullWidth", "href", "label", "leadingIcon", "actionButtonThemeColor", "trailingIcon", "type"], A = ka, qe = /* @__PURE__ */ _(function(e, i) {
726
+ var r = e.children, l = r === void 0 ? A.children : r, n = e.className, t = n === void 0 ? A.className : n, o = e.customRef, c = o === void 0 ? A.customRef : o, d = e.disabled, s = d === void 0 ? A.disabled : d, y = e.fullWidth, p = y === void 0 ? A.fullWidth : y, g = e.href, b = g === void 0 ? A.href : g, f = e.label, u = f === void 0 ? A.label : f, h = e.leadingIcon, B = h === void 0 ? A.leadingIcon : h, N = e.actionButtonThemeColor, x = N === void 0 ? A.actionButtonThemeColor : N, I = e.trailingIcon, w = I === void 0 ? A.trailingIcon : I, P = e.type, R = P === void 0 ? A.type : P, L = T(e, Ya), C = F(function() {
727
+ return u || l;
728
+ }, [u, l]);
729
+ return /* @__PURE__ */ m.createElement(ra, $({
768
730
  ref: i,
769
731
  customRef: c,
770
732
  disabled: s,
771
733
  fullWidth: p,
772
734
  href: b,
773
- label: y,
735
+ label: u,
774
736
  leadingIcon: B,
775
- themeColor: A,
737
+ themeColor: x,
776
738
  trailingIcon: w,
777
- type: q,
739
+ type: R,
778
740
  variant: "text",
779
741
  className: v("mdc-card__action mdc-card__action--button", t)
780
742
  }, L), C);
781
743
  });
782
- ze.displayName = "CardActionButton";
783
- ze.propTypes = Rr;
784
- var ca = ["active", "ariaLabel", "ariaLabelledBy", "children", "className", "disabled", "onClick", "toggleOff", "toggleOffAriaLabel", "toggleOffAriaLabelledBy", "toggleOn", "toggleOnAriaLabel", "toggleOnAriaLabelledBy", "variant"], O = Dr, We = /* @__PURE__ */ _(function(e, i) {
744
+ qe.displayName = "CardActionButton";
745
+ qe.propTypes = Oa;
746
+ var Za = ["active", "ariaLabel", "ariaLabelledBy", "children", "className", "disabled", "onClick", "toggleOff", "toggleOffAriaLabel", "toggleOffAriaLabelledBy", "toggleOn", "toggleOnAriaLabel", "toggleOnAriaLabelledBy", "variant"], O = Pa, Re = /* @__PURE__ */ _(function(e, i) {
785
747
  e.active;
786
748
  var r = e.ariaLabel, l = r === void 0 ? O.ariaLabel : r;
787
749
  e.ariaLabelledBy;
788
- var n = e.children, t = n === void 0 ? O.children : n, o = e.className, c = o === void 0 ? O.className : o, d = e.disabled, s = d === void 0 ? O.disabled : d, u = e.onClick, p = u === void 0 ? O.onClick : u, g = e.toggleOff, b = g === void 0 ? O.toggleOff : g, f = e.toggleOffAriaLabel, y = f === void 0 ? O.toggleOffAriaLabel : f, h = e.toggleOffAriaLabelledBy, B = h === void 0 ? O.toggleOffAriaLabelledBy : h, N = e.toggleOn, A = N === void 0 ? O.toggleOn : N, I = e.toggleOnAriaLabel, w = I === void 0 ? O.toggleOnAriaLabel : I, P = e.toggleOnAriaLabelledBy, q = P === void 0 ? O.toggleOnAriaLabelledBy : P, L = e.variant, C = L === void 0 ? O.variant : L, K = T(e, ca), er = F(function() {
789
- return typeof t == "string" ? /* @__PURE__ */ m.createElement(ur, {
750
+ var n = e.children, t = n === void 0 ? O.children : n, o = e.className, c = o === void 0 ? O.className : o, d = e.disabled, s = d === void 0 ? O.disabled : d, y = e.onClick, p = y === void 0 ? O.onClick : y, g = e.toggleOff, b = g === void 0 ? O.toggleOff : g, f = e.toggleOffAriaLabel, u = f === void 0 ? O.toggleOffAriaLabel : f, h = e.toggleOffAriaLabelledBy, B = h === void 0 ? O.toggleOffAriaLabelledBy : h, N = e.toggleOn, x = N === void 0 ? O.toggleOn : N, I = e.toggleOnAriaLabel, w = I === void 0 ? O.toggleOnAriaLabel : I, P = e.toggleOnAriaLabelledBy, R = P === void 0 ? O.toggleOnAriaLabelledBy : P, L = e.variant, C = L === void 0 ? O.variant : L, H = T(e, Za), He = F(function() {
751
+ return typeof t == "string" ? /* @__PURE__ */ m.createElement(ta, {
790
752
  icon: t
791
753
  }) : t;
792
754
  }, [t]);
793
- return /* @__PURE__ */ m.createElement(yr, $({
755
+ return /* @__PURE__ */ m.createElement(na, $({
794
756
  ref: i,
795
757
  variant: C,
796
758
  disabled: s,
797
759
  onClick: p,
798
760
  ariaLabel: l,
799
- toggleOffAriaLabel: y,
761
+ toggleOffAriaLabel: u,
800
762
  toggleOffAriaLabelledBy: B,
801
763
  toggleOnAriaLabel: w,
802
- toggleOnAriaLabelledBy: q,
803
- toggleOn: A,
764
+ toggleOnAriaLabelledBy: R,
765
+ toggleOn: x,
804
766
  toggleOff: b,
805
767
  className: v("mdc-card__action mdc-card__action--icon", c)
806
- }, K), er);
768
+ }, H), He);
807
769
  });
808
- We.displayName = "CardActionIcon";
809
- We.propTypes = Sr;
810
- var sa = ["alignment", "actionIcons", "actionButtons", "className"], z = jr, Ge = /* @__PURE__ */ _(function(e, i) {
811
- var r = e.alignment, l = r === void 0 ? z.alignment : r, n = e.actionIcons, t = n === void 0 ? z.actionIcons : n, o = e.actionButtons, c = o === void 0 ? z.actionButtons : o, d = e.className, s = d === void 0 ? z.className : d, u = T(e, sa);
770
+ Re.displayName = "CardActionIcon";
771
+ Re.propTypes = Ba;
772
+ var er = ["alignment", "actionIcons", "actionButtons", "className"], z = xa, Se = /* @__PURE__ */ _(function(e, i) {
773
+ var r = e.alignment, l = r === void 0 ? z.alignment : r, n = e.actionIcons, t = n === void 0 ? z.actionIcons : n, o = e.actionButtons, c = o === void 0 ? z.actionButtons : o, d = e.className, s = d === void 0 ? z.className : d, y = T(e, er);
812
774
  return /* @__PURE__ */ m.createElement("div", $({
813
775
  ref: i,
814
776
  className: v("lmnt", "mdc-card__actions", l === "leading" && "lmnt-card__actions--leading", l === "center" && "lmnt-card__actions--center", l === "trailing" && "lmnt-card__actions--trailing", s)
815
- }, u), c && /* @__PURE__ */ m.createElement("div", {
777
+ }, y), c && /* @__PURE__ */ m.createElement("div", {
816
778
  className: "mdc-card__action-buttons"
817
779
  }, c), t && l === "leading" && /* @__PURE__ */ m.createElement("div", {
818
780
  className: "mdc-card__action-icons"
819
781
  }, t));
820
782
  });
821
- Ge.displayName = "CardActions";
822
- Ge.propTypes = Mr;
823
- var ma = ["children", "typographyType", "themeColor", "className"], W = zr, Fe = /* @__PURE__ */ _(function(e, i) {
824
- var r = e.children, l = r === void 0 ? W.children : r, n = e.typographyType, t = n === void 0 ? W.typographyType : n, o = e.themeColor, c = o === void 0 ? W.themeColor : o, d = e.className, s = d === void 0 ? W.className : d, u = T(e, ma);
783
+ Se.displayName = "CardActions";
784
+ Se.propTypes = Aa;
785
+ var ar = ["children", "typographyType", "themeColor", "className"], W = La, De = /* @__PURE__ */ _(function(e, i) {
786
+ var r = e.children, l = r === void 0 ? W.children : r, n = e.typographyType, t = n === void 0 ? W.typographyType : n, o = e.themeColor, c = o === void 0 ? W.themeColor : o, d = e.className, s = d === void 0 ? W.className : d, y = T(e, ar);
825
787
  return /* @__PURE__ */ m.createElement("div", $({
826
788
  ref: i,
827
789
  className: v("lmnt-card-body", t === "body1" && " mdc-typography--body1", t === "body2" && " mdc-typography--body2", t === "button" && " mdc-typography--button", t === "caption" && " mdc-typography--caption", t === "headline1" && " mdc-typography--headline1", t === "headline2" && " mdc-typography--headline2", t === "headline3" && " mdc-typography--headline3", t === "headline4" && " mdc-typography--headline4", t === "headline5" && " mdc-typography--headline5", t === "headline6" && " mdc-typography--headline6", t === "display1" && " mdc-typography--headline1", t === "display2" && " mdc-typography--headline2", t === "display3" && " mdc-typography--headline3", t === "display4" && " mdc-typography--headline4", t === "display5" && " mdc-typography--headline5", t === "display6" && " mdc-typography--headline6", t === "overline" && " mdc-typography--overline", t === "subtitle1" && " mdc-typography--subtitle1", t === "subtitle2" && " mdc-typography--subtitle2", "lmnt-theme-".concat(c, "-bg"), s)
828
- }, u), l);
790
+ }, y), l);
829
791
  });
830
- Fe.displayName = "CardBody";
831
- Fe.propTypes = Ur;
832
- var ua = ["children", "className"], xe = Gr, He = /* @__PURE__ */ _(function(e, i) {
833
- var r = e.children, l = r === void 0 ? xe.children : r, n = e.className, t = n === void 0 ? xe.className : n, o = T(e, ua);
792
+ De.displayName = "CardBody";
793
+ De.propTypes = Ia;
794
+ var rr = ["children", "className"], _e = wa, Me = /* @__PURE__ */ _(function(e, i) {
795
+ var r = e.children, l = r === void 0 ? _e.children : r, n = e.className, t = n === void 0 ? _e.className : n, o = T(e, rr);
834
796
  return /* @__PURE__ */ m.createElement("div", $({
835
797
  ref: i,
836
798
  className: v(["lmnt", "mdc-card__content"], t)
837
799
  }, o), l);
838
800
  });
839
- He.displayName = "CardContent";
840
- He.propTypes = Wr;
841
- var ya = ["className", "dividerVariant", "dividerThemeColor"], ae = Hr, Ke = /* @__PURE__ */ _(function(e, i) {
842
- var r = e.className, l = r === void 0 ? ae.className : r, n = e.dividerVariant, t = n === void 0 ? ae.dividerVariant : n, o = e.dividerThemeColor, c = o === void 0 ? ae.dividerThemeColor : o, d = T(e, ya);
843
- return /* @__PURE__ */ m.createElement(pr, $({
801
+ Me.displayName = "CardContent";
802
+ Me.propTypes = Ea;
803
+ var tr = ["className", "dividerVariant", "dividerThemeColor"], Z = Ra, je = /* @__PURE__ */ _(function(e, i) {
804
+ var r = e.className, l = r === void 0 ? Z.className : r, n = e.dividerVariant, t = n === void 0 ? Z.dividerVariant : n, o = e.dividerThemeColor, c = o === void 0 ? Z.dividerThemeColor : o, d = T(e, tr);
805
+ return /* @__PURE__ */ m.createElement(la, $({
844
806
  ref: i,
845
807
  variant: t,
846
808
  themeColor: c,
847
809
  className: v("mdc-card__divider", "lmnt-card-divider", l)
848
810
  }, d));
849
811
  });
850
- Ke.displayName = "CardDivider";
851
- Ke.propTypes = Fr;
852
- var pa = ["children", "className", "filterType"], te = Vr, Ve = /* @__PURE__ */ _(function(e, i) {
853
- var r = e.children, l = r === void 0 ? te.children : r, n = e.className, t = n === void 0 ? te.className : n, o = e.filterType, c = o === void 0 ? te.filterType : o, d = T(e, pa);
812
+ je.displayName = "CardDivider";
813
+ je.propTypes = qa;
814
+ var nr = ["children", "className", "filterType"], ee = Da, Ue = /* @__PURE__ */ _(function(e, i) {
815
+ var r = e.children, l = r === void 0 ? ee.children : r, n = e.className, t = n === void 0 ? ee.className : n, o = e.filterType, c = o === void 0 ? ee.filterType : o, d = T(e, nr);
854
816
  return /* @__PURE__ */ m.createElement("div", $({
855
817
  ref: i,
856
818
  className: v("lmnt", "lmnt-card__filters", c === "chips" && "lmnt-card__filters--chips", c === "select" && "lmnt-card__filters--select", c === "select-2" && "lmnt-card__filters--select lmnt-card__filters--select-2", t)
857
819
  }, d), l);
858
820
  });
859
- Ve.displayName = "CardFilter";
860
- Ve.propTypes = Kr;
861
- var ga = /* @__PURE__ */ sr({
821
+ Ue.displayName = "CardFilter";
822
+ Ue.propTypes = Sa;
823
+ var lr = /* @__PURE__ */ aa({
862
824
  groupRect: {}
863
- }), va = ["children", "className", "rtl"], ne = Qr, Je = /* @__PURE__ */ _(function(e, i) {
864
- var r = e.children, l = r === void 0 ? ne.children : r, n = e.className, t = n === void 0 ? ne.className : n, o = e.rtl, c = o === void 0 ? ne.rtl : o, d = T(e, va), s = Tr(), u = qe(s, 2), p = u[0], g = u[1], b = H(p);
825
+ }), ir = ["children", "className", "rtl"], ae = ja, ze = /* @__PURE__ */ _(function(e, i) {
826
+ var r = e.children, l = r === void 0 ? ae.children : r, n = e.className, t = n === void 0 ? ae.className : n, o = e.rtl, c = o === void 0 ? ae.rtl : o, d = T(e, ir), s = pa(), y = Ae(s, 2), p = y[0], g = y[1], b = V(p);
865
827
  return U(i, function() {
866
828
  return b.current;
867
829
  }, []), U(p, function() {
868
830
  return b.current;
869
831
  }, []), // eslint-disable-next-line react/jsx-no-constructed-context-values
870
- /* @__PURE__ */ m.createElement(ga.Provider, {
832
+ /* @__PURE__ */ m.createElement(lr.Provider, {
871
833
  value: {
872
834
  groupRect: g
873
835
  }
874
- }, /* @__PURE__ */ m.createElement(gr, $({
836
+ }, /* @__PURE__ */ m.createElement(ia, $({
875
837
  className: v("lmnt-card__horizontal-group", "lmnt-card--horizontal", t),
876
838
  ref: b,
877
839
  gap: "none",
@@ -879,53 +841,53 @@ var ga = /* @__PURE__ */ sr({
879
841
  secondaryAlign: "start"
880
842
  }, d), l));
881
843
  });
882
- Je.propTypes = Jr;
883
- Je.displayName = "CardHorizontalGroup";
884
- var fa = ["children", "className", "position", "overlayThemeColor"], G = aa, ue = /* @__PURE__ */ _(function(e, i) {
885
- var r = e.children, l = r === void 0 ? G.children : r, n = e.className, t = n === void 0 ? G.className : n, o = e.position, c = o === void 0 ? G.position : o, d = e.overlayThemeColor, s = d === void 0 ? G.overlayThemeColor : d, u = T(e, fa), p = H();
844
+ ze.propTypes = Ma;
845
+ ze.displayName = "CardHorizontalGroup";
846
+ var or = ["children", "className", "position", "overlayThemeColor"], G = Va, ce = /* @__PURE__ */ _(function(e, i) {
847
+ var r = e.children, l = r === void 0 ? G.children : r, n = e.className, t = n === void 0 ? G.className : n, o = e.position, c = o === void 0 ? G.position : o, d = e.overlayThemeColor, s = d === void 0 ? G.overlayThemeColor : d, y = T(e, or), p = V();
886
848
  U(i, function() {
887
849
  return p.current;
888
850
  }, []);
889
851
  var g = F(function() {
890
- return c !== "none" && v("lmnt", "lmnt-card-overlay ", !ke(s).call(s, "gradient") && s !== "surface" && "lmnt-card-overlay__".concat(s), ke(s).call(s, "gradient") && s !== "surface" && "lmnt-theme--bg-".concat(s), s === "surface" && "lmnt-theme-surface-bg", "lmnt-card-overlay__".concat(c), t);
852
+ return c !== "none" && v("lmnt", "lmnt-card-overlay ", !Ce(s).call(s, "gradient") && s !== "surface" && "lmnt-card-overlay__".concat(s), Ce(s).call(s, "gradient") && s !== "surface" && "lmnt-theme--bg-".concat(s), s === "surface" && "lmnt-theme-surface-bg", "lmnt-card-overlay__".concat(c), t);
891
853
  }, [s, c, t]);
892
854
  return /* @__PURE__ */ m.createElement("div", $({
893
855
  className: g
894
- }, u), l && l);
856
+ }, y), l && l);
895
857
  });
896
- ue.displayName = "CardOverlay";
897
- ue.propTypes = ra;
898
- var ha = ["children", "className", "contentPlacement", "imageUrl", "overlay", "overlayThemeColor", "ratio", "style"];
899
- function Ae(e, i) {
900
- var r = oe(e);
858
+ ce.displayName = "CardOverlay";
859
+ ce.propTypes = Fa;
860
+ var dr = ["children", "className", "contentPlacement", "imageUrl", "overlay", "overlayThemeColor", "ratio", "style"];
861
+ function Ne(e, i) {
862
+ var r = ne(e);
901
863
  if (M) {
902
864
  var l = M(e);
903
- i && (l = me(l).call(l, function(n) {
865
+ i && (l = de(l).call(l, function(n) {
904
866
  return j(e, n).enumerable;
905
867
  })), r.push.apply(r, l);
906
868
  }
907
869
  return r;
908
870
  }
909
- function ba(e) {
871
+ function cr(e) {
910
872
  for (var i = 1; i < arguments.length; i++) {
911
873
  var r, l, n = arguments[i] != null ? arguments[i] : {};
912
- i % 2 ? S(r = Ae(Object(n), !0)).call(r, function(t) {
913
- de(e, t, n[t]);
914
- }) : D ? ce(e, D(n)) : S(l = Ae(Object(n))).call(l, function(t) {
915
- se(e, t, j(n, t));
874
+ i % 2 ? S(r = Ne(Object(n), !0)).call(r, function(t) {
875
+ le(e, t, n[t]);
876
+ }) : D ? ie(e, D(n)) : S(l = Ne(Object(n))).call(l, function(t) {
877
+ oe(e, t, j(n, t));
916
878
  });
917
879
  }
918
880
  return e;
919
881
  }
920
- var R = ea, Qe = /* @__PURE__ */ _(function(e, i) {
921
- var r = e.children, l = r === void 0 ? R.children : r, n = e.className, t = n === void 0 ? R.className : n, o = e.contentPlacement, c = o === void 0 ? R.contentPlacement : o, d = e.imageUrl, s = d === void 0 ? R.imageUrl : d, u = e.overlay, p = u === void 0 ? R.overlay : u, g = e.overlayThemeColor, b = g === void 0 ? R.overlayThemeColor : g, f = e.ratio, y = f === void 0 ? R.ratio : f, h = e.style, B = h === void 0 ? R.style : h, N = T(e, ha);
882
+ var q = Ga, We = /* @__PURE__ */ _(function(e, i) {
883
+ var r = e.children, l = r === void 0 ? q.children : r, n = e.className, t = n === void 0 ? q.className : n, o = e.contentPlacement, c = o === void 0 ? q.contentPlacement : o, d = e.imageUrl, s = d === void 0 ? q.imageUrl : d, y = e.overlay, p = y === void 0 ? q.overlay : y, g = e.overlayThemeColor, b = g === void 0 ? q.overlayThemeColor : g, f = e.ratio, u = f === void 0 ? q.ratio : f, h = e.style, B = h === void 0 ? q.style : h, N = T(e, dr);
922
884
  return /* @__PURE__ */ m.createElement("div", $({
923
885
  ref: i,
924
- className: v("lmnt", "mdc-card__media", (y === "square" || !y) && "mdc-card__media--square", y === "sixteen-nine" && "mdc-card__media--16-9", y === "four-three" && "lmnt-card__media--4-3", y === "four-five" && "lmnt-card__media--4-5", y === "two-one" && "lmnt-card__media--2-1", t),
925
- style: ba({
886
+ className: v("lmnt", "mdc-card__media", (u === "square" || !u) && "mdc-card__media--square", u === "sixteen-nine" && "mdc-card__media--16-9", u === "four-three" && "lmnt-card__media--4-3", u === "four-five" && "lmnt-card__media--4-5", u === "two-one" && "lmnt-card__media--2-1", t),
887
+ style: cr({
926
888
  backgroundImage: "url(".concat(s, ")")
927
889
  }, B)
928
- }, N), p && /* @__PURE__ */ m.createElement(ue, {
890
+ }, N), p && /* @__PURE__ */ m.createElement(ce, {
929
891
  overlayThemeColor: b
930
892
  }), l && /* @__PURE__ */ m.createElement("div", {
931
893
  className: v("mdc-card__media-content", p && "lmnt-card__media-content--with-overlay", c === "bottom" && "lmnt-card__content--bottom", c === "top" && "lmnt-card__content--top")
@@ -933,85 +895,85 @@ var R = ea, Qe = /* @__PURE__ */ _(function(e, i) {
933
895
  className: "lmnt-card__media-inner-content"
934
896
  }, l)));
935
897
  });
936
- Qe.displayName = "CardMedia";
937
- Qe.propTypes = Zr;
938
- var Ca = ["children", "className", "tag"], Ie = na, Xe = /* @__PURE__ */ _(function(e, i) {
939
- var r = e.children, l = r === void 0 ? Ie.children : r, n = e.className, t = n === void 0 ? Ie.className : n, o = e.tag, c = o === void 0 ? "div" : o, d = T(e, Ca);
898
+ We.displayName = "CardMedia";
899
+ We.propTypes = Wa;
900
+ var sr = ["children", "className", "tag"], Oe = Ka, Ge = /* @__PURE__ */ _(function(e, i) {
901
+ var r = e.children, l = r === void 0 ? Oe.children : r, n = e.className, t = n === void 0 ? Oe.className : n, o = e.tag, c = o === void 0 ? "div" : o, d = T(e, sr);
940
902
  return /* @__PURE__ */ m.createElement(c, $({
941
903
  ref: i,
942
904
  tabIndex: "0",
943
905
  className: v(["lmnt", "mdc-card__primary-action"], t)
944
906
  }, d), l);
945
907
  });
946
- Xe.displayName = "CardPrimaryAction";
947
- Xe.propTypes = ta;
948
- var Ta = ["className", "leadingBlock", "leadingBlockType", "overlineText", "placement", "primaryText", "secondaryText", "stackedSecondaryText", "stacked", "themeColor", "trailingBlock", "trailingBlockType"], k = ia, Ye = /* @__PURE__ */ _(function(e, i) {
949
- var r = e.className, l = r === void 0 ? k.className : r, n = e.leadingBlock, t = n === void 0 ? k.leadingBlock : n, o = e.leadingBlockType, c = o === void 0 ? k.leadingBlockType : o, d = e.overlineText, s = d === void 0 ? k.overlineText : d, u = e.placement, p = u === void 0 ? k.placement : u, g = e.primaryText, b = g === void 0 ? k.primaryText : g, f = e.secondaryText, y = f === void 0 ? k.secondaryText : f, h = e.stackedSecondaryText, B = h === void 0 ? k.stackedSecondaryText : h, N = e.stacked, A = N === void 0 ? k.stacked : N, I = e.themeColor, w = I === void 0 ? k.themeColor : I, P = e.trailingBlock, q = P === void 0 ? k.trailingBlock : P, L = e.trailingBlockType, C = L === void 0 ? k.trailingBlockType : L, K = T(e, Ta);
908
+ Ge.displayName = "CardPrimaryAction";
909
+ Ge.propTypes = Ha;
910
+ var mr = ["className", "leadingBlock", "leadingBlockType", "overlineText", "placement", "primaryText", "secondaryText", "stackedSecondaryText", "stacked", "themeColor", "trailingBlock", "trailingBlockType"], k = Qa, Fe = /* @__PURE__ */ _(function(e, i) {
911
+ var r = e.className, l = r === void 0 ? k.className : r, n = e.leadingBlock, t = n === void 0 ? k.leadingBlock : n, o = e.leadingBlockType, c = o === void 0 ? k.leadingBlockType : o, d = e.overlineText, s = d === void 0 ? k.overlineText : d, y = e.placement, p = y === void 0 ? k.placement : y, g = e.primaryText, b = g === void 0 ? k.primaryText : g, f = e.secondaryText, u = f === void 0 ? k.secondaryText : f, h = e.stackedSecondaryText, B = h === void 0 ? k.stackedSecondaryText : h, N = e.stacked, x = N === void 0 ? k.stacked : N, I = e.themeColor, w = I === void 0 ? k.themeColor : I, P = e.trailingBlock, R = P === void 0 ? k.trailingBlock : P, L = e.trailingBlockType, C = L === void 0 ? k.trailingBlockType : L, H = T(e, mr);
950
912
  return /* @__PURE__ */ m.createElement("div", $({
951
913
  ref: i,
952
- className: v("lmnt", "lmnt-card-title", A && "lmnt-card-title--stacked", p === "top" && "lmnt-card-title--top-placement", p === "bottom" && "lmnt-card-title--bottom-placement", w === "primary" && "lmnt-theme-primary-bg", w === "secondary" && "lmnt-theme-secondary-bg", l)
953
- }, K), c ? /* @__PURE__ */ m.createElement("div", {
914
+ className: v("lmnt", "lmnt-card-title", x && "lmnt-card-title--stacked", p === "top" && "lmnt-card-title--top-placement", p === "bottom" && "lmnt-card-title--bottom-placement", w === "primary" && "lmnt-theme-primary-bg", w === "secondary" && "lmnt-theme-secondary-bg", l)
915
+ }, H), c ? /* @__PURE__ */ m.createElement("div", {
954
916
  className: v("lmnt-card-title__leadingBlock", c === "avatar" && "lmnt-card-title__leadingBlock--avatar", c === "icon" && "lmnt-card-title__leadingBlock--icon", c === "icon-with-background" && "lmnt-card-title__leadingBlock--icon-with-background", c === "thumbnail" && "lmnt-card-title__leadingBlock--thumbnail")
955
917
  }, t) : null, /* @__PURE__ */ m.createElement("div", {
956
918
  className: "lmnt-card-title__text"
957
919
  }, s && /* @__PURE__ */ m.createElement("div", {
958
920
  className: "lmnt-card-title__overlineText"
959
- }, s), b, (y || B) && /* @__PURE__ */ m.createElement("div", {
960
- className: v("lmnt-card-title-secondaryText-container", !A && "lmnt-card-title__items")
961
- }, y && /* @__PURE__ */ m.createElement("div", {
921
+ }, s), b, (u || B) && /* @__PURE__ */ m.createElement("div", {
922
+ className: v("lmnt-card-title-secondaryText-container", !x && "lmnt-card-title__items")
923
+ }, u && /* @__PURE__ */ m.createElement("div", {
962
924
  className: "lmnt-card-title__secondaryText"
963
- }, y), B && /* @__PURE__ */ m.createElement("div", {
925
+ }, u), B && /* @__PURE__ */ m.createElement("div", {
964
926
  className: "lmnt-card-title__secondaryText"
965
927
  }, B))), C ? /* @__PURE__ */ m.createElement("div", {
966
928
  className: v("lmnt-card-title__trailingBlock", C === "title-actions" && "lmnt-card-title__trailingBlock--title-actions", C === "avatar" && "lmnt-card-title__trailingBlock--avatar", C === "icon" && "lmnt-card-title__trailingBlock--icon", C === "icon-with-background" && "lmnt-card-title__trailingBlock--icon-with-background", C === "thumbnail" && "lmnt-card-title__trailingBlock--thumbnail", C === "badge" && "lmnt-card-title__trailingBlock--badge")
967
- }, q) : null);
929
+ }, R) : null);
968
930
  });
969
- Ye.displayName = "CardTitle";
970
- Ye.propTypes = la;
971
- var $a = ["style", "mediaUrl", "width"];
972
- function Le(e, i) {
973
- var r = oe(e);
931
+ Fe.displayName = "CardTitle";
932
+ Fe.propTypes = Ja;
933
+ var yr = ["style", "mediaUrl", "width"];
934
+ function ke(e, i) {
935
+ var r = ne(e);
974
936
  if (M) {
975
937
  var l = M(e);
976
- i && (l = me(l).call(l, function(n) {
938
+ i && (l = de(l).call(l, function(n) {
977
939
  return j(e, n).enumerable;
978
940
  })), r.push.apply(r, l);
979
941
  }
980
942
  return r;
981
943
  }
982
- function _a(e) {
944
+ function ur(e) {
983
945
  for (var i = 1; i < arguments.length; i++) {
984
946
  var r, l, n = arguments[i] != null ? arguments[i] : {};
985
- i % 2 ? S(r = Le(Object(n), !0)).call(r, function(t) {
986
- de(e, t, n[t]);
987
- }) : D ? ce(e, D(n)) : S(l = Le(Object(n))).call(l, function(t) {
988
- se(e, t, j(n, t));
947
+ i % 2 ? S(r = ke(Object(n), !0)).call(r, function(t) {
948
+ le(e, t, n[t]);
949
+ }) : D ? ie(e, D(n)) : S(l = ke(Object(n))).call(l, function(t) {
950
+ oe(e, t, j(n, t));
989
951
  });
990
952
  }
991
953
  return e;
992
954
  }
993
- var le = Yr, Ze = /* @__PURE__ */ _(function(e, i) {
994
- var r = e.style, l = r === void 0 ? le.style : r, n = e.mediaUrl, t = n === void 0 ? le.mediaUrl : n, o = e.width, c = o === void 0 ? le.width : o, d = T(e, $a), s = H();
955
+ var re = za, Ve = /* @__PURE__ */ _(function(e, i) {
956
+ var r = e.style, l = r === void 0 ? re.style : r, n = e.mediaUrl, t = n === void 0 ? re.mediaUrl : n, o = e.width, c = o === void 0 ? re.width : o, d = T(e, yr), s = V();
995
957
  return U(i, function() {
996
958
  return s.current;
997
959
  }, []), /* @__PURE__ */ m.createElement("img", $({
998
960
  src: t,
999
961
  alt: "leadingCardMedia",
1000
962
  width: c,
1001
- style: _a({
963
+ style: ur({
1002
964
  flexShrink: 0
1003
965
  }, l)
1004
966
  }, d));
1005
967
  });
1006
- Ze.propTypes = Xr;
1007
- Ze.displayName = "CardLeadingMedia";
968
+ Ve.propTypes = Ua;
969
+ Ve.displayName = "CardLeadingMedia";
1008
970
  export {
1009
- Ue as C,
1010
- He as a,
1011
- Fe as b,
1012
- Ye as c,
1013
- Ke as d,
1014
- Sa as e,
1015
- Me as i,
1016
- qa as o
971
+ we as C,
972
+ Me as a,
973
+ De as b,
974
+ Fe as c,
975
+ je as d,
976
+ Pr as e,
977
+ Le as i,
978
+ Br as o
1017
979
  };