@hortiview/shared-components 2.25.0 → 2.26.1

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 (98) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/{AlertBanner-BFzaGOer.js → AlertBanner-C9TvBTkH.js} +3 -3
  3. package/dist/{GenericCard-grpa3KJR.js → GenericCard-2v0lBsVu.js} +3 -3
  4. package/dist/{ListAreaService-B0x97Jin.js → ListAreaService-PaN1DrXf.js} +5 -5
  5. package/dist/assets/ContextMenu.css +1 -1
  6. package/dist/assets/FormSelect.css +1 -1
  7. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  8. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  9. package/dist/components/AllowedButton/AllowedButton.js +1 -1
  10. package/dist/components/AllowedIconButton/AllowedIconButton.js +1 -1
  11. package/dist/components/BaseView/BaseView.js +4 -4
  12. package/dist/components/BasicHeading/BasicHeading.js +4 -4
  13. package/dist/components/BlockView/BlockView.js +2 -2
  14. package/dist/components/ButtonCard/ButtonCard.js +3 -3
  15. package/dist/components/ChipCard/ChipCard.js +10 -10
  16. package/dist/components/ConfirmationModal/ConfirmationModal.js +3 -3
  17. package/dist/components/ContextMenu/ContextMenu.js +98 -68
  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/ErrorBanner/ErrorBanner.js +5 -5
  23. package/dist/components/Filter/Filter.js +6 -6
  24. package/dist/components/FloatingActionButton/FloatingActionButton.js +3 -3
  25. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  26. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +4 -4
  27. package/dist/components/FormComponents/FormNumber/CustomTextField.js +1 -1
  28. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  29. package/dist/components/FormComponents/FormSelect/FormSelect.js +104 -99
  30. package/dist/components/FormComponents/FormSelect/FormSelectService.d.ts +34 -0
  31. package/dist/components/FormComponents/FormSelect/FormSelectService.js +20 -0
  32. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  33. package/dist/components/FormComponents/FormSlider/FormSlider.js +6 -6
  34. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  35. package/dist/components/FormComponents/FormToggle/FormToggle.js +3 -3
  36. package/dist/components/GenericTable/GenericTable.js +5349 -5409
  37. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  38. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  39. package/dist/components/HashTabView/HashTabView.js +6 -6
  40. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  41. package/dist/components/Iconify/Iconify.js +1 -1
  42. package/dist/components/InfoCard/InfoCard.js +4 -4
  43. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  44. package/dist/components/ListArea/ListArea.js +5 -5
  45. package/dist/components/ListArea/ListAreaService.js +6 -6
  46. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +1 -1
  47. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +5 -5
  48. package/dist/components/Modal/Modal.js +150 -142
  49. package/dist/components/ModulePadding/ModulePadding.js +1 -1
  50. package/dist/components/OfflineView/OfflineView.js +3 -3
  51. package/dist/components/OnboardingBanner/OnboardingBanner.js +7 -7
  52. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  53. package/dist/components/SearchBar/SearchBar.js +2 -2
  54. package/dist/components/Select/Select.js +1 -1
  55. package/dist/components/Stepper/Stepper.js +1 -1
  56. package/dist/components/Stepper/components/StepperButton.js +1 -1
  57. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  58. package/dist/components/Stepper/components/StepperItem.js +2 -2
  59. package/dist/{defineProperty-B7N9EBBI.js → defineProperty-SoB5opr-.js} +51 -51
  60. package/dist/{es.string.iterator-DBx2A42F.js → es.string.iterator-BrOvr7F6.js} +78 -78
  61. package/dist/{find-eU9ab_u7.js → find-OaLSg5iu.js} +35 -35
  62. package/dist/includes-CSD_V_RY.js +112 -0
  63. package/dist/{index-Df2FYN-K.js → index-_-9ybP20.js} +76 -76
  64. package/dist/{index.es-C27R5Xae.js → index.es-0SkNh4dU.js} +2 -2
  65. package/dist/{index.es-B19PQgzU.js → index.es-B1cewJEy.js} +4 -4
  66. package/dist/{index.es-Z0aF-7Cn.js → index.es-BE1XL1dD.js} +3 -3
  67. package/dist/{index.es-BcnmoCEg.js → index.es-BSaDtduL.js} +6 -6
  68. package/dist/{index.es-Ci3O23C_.js → index.es-BVW2k-5y.js} +4 -4
  69. package/dist/index.es-BZkGOjEo.js +383 -0
  70. package/dist/{index.es-Cr1PSTyq.js → index.es-C2ejWpji.js} +3 -3
  71. package/dist/{index.es-DgncYOqO.js → index.es-C8AExypY.js} +2 -2
  72. package/dist/{index.es-BOvO8moE.js → index.es-CNrSvjAv.js} +5 -6
  73. package/dist/{index.es-l_3PNohs.js → index.es-CTKwa3Es.js} +1 -1
  74. package/dist/{index.es-BwafUoK3.js → index.es-CVPUG1pf.js} +785 -781
  75. package/dist/index.es-CpPnZRt7.js +604 -0
  76. package/dist/{index.es-DHoIQ8lu.js → index.es-CwgwR6SB.js} +1 -1
  77. package/dist/{index.es-BOG3_7IM.js → index.es-DHL1mFb3.js} +249 -317
  78. package/dist/{index.es-DHnCVuQ8.js → index.es-DPGGEmi5.js} +5 -5
  79. package/dist/{index.es-C6I3L4U4.js → index.es-DRC-9PLs.js} +43 -43
  80. package/dist/{index.es-C2IOpX7R.js → index.es-DVgCBhVx.js} +3020 -2798
  81. package/dist/{index.es-B9BUXRQn.js → index.es-DsOSfaF5.js} +39 -39
  82. package/dist/{index.es-DUrjyxNI.js → index.es-EXzC8zuP.js} +2 -2
  83. package/dist/index.es-LckFzDz-.js +1069 -0
  84. package/dist/{index.es-DdeCB7LW.js → index.es-Pc5KKhcb.js} +1 -1
  85. package/dist/{index.es-Cg57snrN.js → index.es-_PSuLbjQ.js} +15 -16
  86. package/dist/{index.es-DhlgTSuU.js → index.es-eZDofmng.js} +10 -13
  87. package/dist/{keyboard-DbG3oyPU.js → keyboard-DQ9O_Ke1.js} +21 -21
  88. package/dist/main.js +1 -1
  89. package/dist/{map-ZSVweMI1.js → map-BErBeya5.js} +85 -85
  90. package/dist/parse-int-BYd7r_4n.js +47 -0
  91. package/dist/{slicedToArray-DC6VAZtW.js → slicedToArray-C2Ed3239.js} +67 -67
  92. package/dist/string-trim-v5pkXsl2.js +32 -0
  93. package/package.json +4 -4
  94. package/dist/correct-is-regexp-logic-BJ-OWRrn.js +0 -44
  95. package/dist/index.es-CkB4776y.js +0 -391
  96. package/dist/index.es-D1iB_QlE.js +0 -608
  97. package/dist/index.es-DEBGoIKX.js +0 -1061
  98. package/dist/parse-int-CGpIXMGa.js +0 -75
@@ -1,15 +1,15 @@
1
- import { _ as Oe, a as te, c as k, P as a, b as Nt, d as wn } from "./index-Df2FYN-K.js";
2
- import { g as Mn, _ as jn, a as Pt, b as $n, c as Bn, d as Xt, e as Ft, f as kn } from "./defineProperty-B7N9EBBI.js";
3
- import { _ as St } from "./index.es-BOvO8moE.js";
4
- import { _ as j } from "./slicedToArray-DC6VAZtW.js";
5
- import { e as Ee, w as Un, _ as Vt, c as Gt, d as P, j as qn } from "./index.es-C6I3L4U4.js";
6
- import d, { forwardRef as Ae, useRef as O, useImperativeHandle as zt, useEffect as v, useState as $, useMemo as Wn, useCallback as Dt } from "react";
7
- import { M as Xn, a as Gn, N as zn, F as Ht, T as Yn } from "./index.es-D1iB_QlE.js";
1
+ import { _ as Oe, a as te, c as B, P as a, b as Nt, d as wn } from "./index-_-9ybP20.js";
2
+ import { g as Mn, _ as jn, a as Pt, b as $n, c as Bn, d as Xt, e as Ft, f as kn } from "./defineProperty-SoB5opr-.js";
3
+ import { _ as St } from "./index.es-CNrSvjAv.js";
4
+ import { _ as M } from "./slicedToArray-C2Ed3239.js";
5
+ import { e as Ee, w as Un, _ as Vt, c as Gt, d as P, r as qn } from "./index.es-DRC-9PLs.js";
6
+ import d, { forwardRef as Ae, useRef as O, useImperativeHandle as zt, useEffect as v, useState as j, useMemo as Wn, useCallback as Dt } from "react";
7
+ import { M as Xn, a as Gn, N as zn, F as Ht, T as Yn } from "./index.es-CpPnZRt7.js";
8
8
  import { b as A, c as f } from "./tslib.es6-BDCynO9F.js";
9
9
  import { M as ne, a as ie } from "./component-By6nyiBU.js";
10
- import { c as Kn, I as Yt } from "./index.es-DEBGoIKX.js";
10
+ import { c as Kn, I as Yt } from "./index.es-LckFzDz-.js";
11
11
  import { a as pe, M as wt, m as Jn, b as Qn } from "./component-DYpB_4EP.js";
12
- var B = {
12
+ var $ = {
13
13
  LINE_RIPPLE_ACTIVE: "mdc-line-ripple--active",
14
14
  LINE_RIPPLE_DEACTIVATING: "mdc-line-ripple--deactivating"
15
15
  };
@@ -25,7 +25,7 @@ var Zn = (
25
25
  }
26
26
  return Object.defineProperty(t, "cssClasses", {
27
27
  get: function() {
28
- return B;
28
+ return $;
29
29
  },
30
30
  enumerable: !1,
31
31
  configurable: !0
@@ -57,14 +57,14 @@ var Zn = (
57
57
  }, t.prototype.destroy = function() {
58
58
  this.adapter.deregisterEventHandler("transitionend", this.transitionEndHandler_);
59
59
  }, t.prototype.activate = function() {
60
- this.adapter.removeClass(B.LINE_RIPPLE_DEACTIVATING), this.adapter.addClass(B.LINE_RIPPLE_ACTIVE);
60
+ this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING), this.adapter.addClass($.LINE_RIPPLE_ACTIVE);
61
61
  }, t.prototype.setRippleCenter = function(e) {
62
62
  this.adapter.setStyle("transform-origin", e + "px center");
63
63
  }, t.prototype.deactivate = function() {
64
- this.adapter.addClass(B.LINE_RIPPLE_DEACTIVATING);
64
+ this.adapter.addClass($.LINE_RIPPLE_DEACTIVATING);
65
65
  }, t.prototype.handleTransitionEnd = function(e) {
66
- var n = this.adapter.hasClass(B.LINE_RIPPLE_DEACTIVATING);
67
- e.propertyName === "opacity" && n && (this.adapter.removeClass(B.LINE_RIPPLE_ACTIVE), this.adapter.removeClass(B.LINE_RIPPLE_DEACTIVATING));
66
+ var n = this.adapter.hasClass($.LINE_RIPPLE_DEACTIVATING);
67
+ e.propertyName === "opacity" && n && (this.adapter.removeClass($.LINE_RIPPLE_ACTIVE), this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING));
68
68
  }, t;
69
69
  })(ne)
70
70
  );
@@ -749,8 +749,8 @@ var li = (
749
749
  !S && z && F && (S = F.querySelector(Y.ROOT_SELECTOR)), this.characterCounter_ = S ? o(S) : null;
750
750
  var K = this.root.querySelector(x.LEADING_ICON_SELECTOR);
751
751
  this.leadingIcon_ = K ? s(K) : null;
752
- var D = this.root.querySelector(x.TRAILING_ICON_SELECTOR);
753
- this.trailingIcon_ = D ? s(D) : null, this.prefix_ = this.root.querySelector(x.PREFIX_SELECTOR), this.suffix_ = this.root.querySelector(x.SUFFIX_SELECTOR), this.ripple = this.createRipple_(e);
752
+ var k = this.root.querySelector(x.TRAILING_ICON_SELECTOR);
753
+ this.trailingIcon_ = k ? s(k) : null, this.prefix_ = this.root.querySelector(x.PREFIX_SELECTOR), this.suffix_ = this.root.querySelector(x.SUFFIX_SELECTOR), this.ripple = this.createRipple_(e);
754
754
  }, t.prototype.destroy = function() {
755
755
  this.ripple && this.ripple.destroy(), this.lineRipple_ && this.lineRipple_.destroy(), this.helperText_ && this.helperText_.destroy(), this.characterCounter_ && this.characterCounter_.destroy(), this.leadingIcon_ && this.leadingIcon_.destroy(), this.trailingIcon_ && this.trailingIcon_.destroy(), this.label_ && this.label_.destroy(), this.outline_ && this.outline_.destroy(), r.prototype.destroy.call(this);
756
756
  }, t.prototype.initialSyncWithDOM = function() {
@@ -1127,7 +1127,7 @@ var li = (
1127
1127
  o && y.current.setRippleCenter(o);
1128
1128
  }, [o]), /* @__PURE__ */ d.createElement("div", te({
1129
1129
  ref: T,
1130
- className: k("lmnt", "mdc-line-ripple", _)
1130
+ className: B("lmnt", "mdc-line-ripple", _)
1131
1131
  }, p));
1132
1132
  });
1133
1133
  Re.displayName = "LineRipple";
@@ -1492,7 +1492,7 @@ var Wt = function(t, e) {
1492
1492
  className: "mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--leading",
1493
1493
  icon: t
1494
1494
  }) : Gt(t, {
1495
- className: k("mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--leading", o === "IconButton" && "lmnt-text-field__icon-button--leading"),
1495
+ className: B("mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--leading", o === "IconButton" && "lmnt-text-field__icon-button--leading"),
1496
1496
  dense: o === "IconButton" ? !0 : void 0,
1497
1497
  role: "button"
1498
1498
  });
@@ -1502,20 +1502,20 @@ var Wt = function(t, e) {
1502
1502
  className: "mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--trailing",
1503
1503
  icon: t
1504
1504
  }) : Gt(t, {
1505
- className: k("mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--trailing", o === "IconButton" && "lmnt-text-field__icon-button--trailing"),
1505
+ className: B("mdc-text-field__icon lmnt-text-field__icon mdc-text-field__icon--trailing", o === "IconButton" && "lmnt-text-field__icon-button--trailing"),
1506
1506
  dense: o === "IconButton" ? !0 : void 0,
1507
1507
  role: o === "IconButton" ? "button" : null
1508
1508
  });
1509
1509
  }, l = pi, nn = /* @__PURE__ */ Ae(function(r, t) {
1510
- var e = r.alignment, n = e === void 0 ? l.alignment : e, i = r.block, o = i === void 0 ? l.block : i, s = r.className, _ = s === void 0 ? l.className : s, p = r.containerClass, y = p === void 0 ? l.containerClass : p, T = r.containerProps, re = T === void 0 ? l.containerProps : T, ae = r.containerStyle, F = ae === void 0 ? l.containerStyle : ae, z = r.counter, R = z === void 0 ? l.counter : z, Y = r.defaultValue, S = Y === void 0 ? l.defaultValue : Y, K = r.dense, D = K === void 0 ? l.dense : K, h = r.disabled, U = h === void 0 ? l.disabled : h, Ne = r.embedded, Pe = Ne === void 0 ? l.embedded : Ne, Fe = r.filled, rn = Fe === void 0 ? l.filled : Fe, Se = r.focused, Ve = Se === void 0 ? l.focused : Se, De = r.fullWidth, an = De === void 0 ? l.fullWidth : De, He = r.helperText, b = He === void 0 ? l.helperText : He, we = r.helperTextId, on = we === void 0 ? l.helperTextId : we, Me = r.helperTextPersistent, oe = Me === void 0 ? l.helperTextPersistent : Me, je = r.helperTextValidation, _e = je === void 0 ? l.helperTextValidation : je, $e = r.id, ln = $e === void 0 ? l.id : $e, Be = r.label, H = Be === void 0 ? l.label : Be, ke = r.labelId, sn = ke === void 0 ? l.labelId : ke, Ue = r.leadingContent, un = Ue === void 0 ? l.leadingContent : Ue, qe = r.leadingIcon, J = qe === void 0 ? l.leadingIcon : qe, We = r.maxLength, ve = We === void 0 ? l.maxLength : We, Xe = r.maxlength, le = Xe === void 0 ? l.maxlength : Xe, Ge = r.noResize, se = Ge === void 0 ? l.noResize : Ge, ze = r.onBlur, Ye = ze === void 0 ? l.onBlur : ze, Ke = r.outlined, dn = Ke === void 0 ? l.outlined : Ke, Je = r.placeholder, cn = Je === void 0 ? l.placeholder : Je, Qe = r.prefixText, Ze = Qe === void 0 ? l.prefixText : Qe, et = r.primary, fn = et === void 0 ? l.primary : et, tt = r.search, pn = tt === void 0 ? l.search : tt, nt = r.secondary, hn = nt === void 0 ? l.secondary : nt, it = r.suffixText, rt = it === void 0 ? l.suffixText : it, at = r.textarea, g = at === void 0 ? l.textarea : at, ot = r.tooltip, I = ot === void 0 ? l.tooltip : ot, lt = r.trailingContent, _n = lt === void 0 ? l.trailingContent : lt, st = r.trailingIcon, Q = st === void 0 ? l.trailingIcon : st, ut = r.type, dt = ut === void 0 ? l.type : ut, ct = r.valid, q = ct === void 0 ? l.valid : ct, ft = r.value, N = ft === void 0 ? l.value : ft, pt = r.variant, ge = pt === void 0 ? l.variant : pt, me = Oe(r, hi), ht = I && Mn(I) === "object" ? I : {}, vn = ht.hoisted, _t = ht.position, vt = _t === void 0 ? "bottom" : _t, gn = $(function() {
1510
+ var e = r.alignment, n = e === void 0 ? l.alignment : e, i = r.block, o = i === void 0 ? l.block : i, s = r.className, _ = s === void 0 ? l.className : s, p = r.containerClass, y = p === void 0 ? l.containerClass : p, T = r.containerProps, re = T === void 0 ? l.containerProps : T, ae = r.containerStyle, F = ae === void 0 ? l.containerStyle : ae, z = r.counter, R = z === void 0 ? l.counter : z, Y = r.defaultValue, S = Y === void 0 ? l.defaultValue : Y, K = r.dense, k = K === void 0 ? l.dense : K, h = r.disabled, U = h === void 0 ? l.disabled : h, Ne = r.embedded, Pe = Ne === void 0 ? l.embedded : Ne, Fe = r.filled, rn = Fe === void 0 ? l.filled : Fe, Se = r.focused, Ve = Se === void 0 ? l.focused : Se, De = r.fullWidth, an = De === void 0 ? l.fullWidth : De, He = r.helperText, b = He === void 0 ? l.helperText : He, we = r.helperTextId, on = we === void 0 ? l.helperTextId : we, Me = r.helperTextPersistent, oe = Me === void 0 ? l.helperTextPersistent : Me, je = r.helperTextValidation, _e = je === void 0 ? l.helperTextValidation : je, $e = r.id, ln = $e === void 0 ? l.id : $e, Be = r.label, D = Be === void 0 ? l.label : Be, ke = r.labelId, sn = ke === void 0 ? l.labelId : ke, Ue = r.leadingContent, un = Ue === void 0 ? l.leadingContent : Ue, qe = r.leadingIcon, J = qe === void 0 ? l.leadingIcon : qe, We = r.maxLength, ve = We === void 0 ? l.maxLength : We, Xe = r.maxlength, le = Xe === void 0 ? l.maxlength : Xe, Ge = r.noResize, se = Ge === void 0 ? l.noResize : Ge, ze = r.onBlur, Ye = ze === void 0 ? l.onBlur : ze, Ke = r.outlined, dn = Ke === void 0 ? l.outlined : Ke, Je = r.placeholder, cn = Je === void 0 ? l.placeholder : Je, Qe = r.prefixText, Ze = Qe === void 0 ? l.prefixText : Qe, et = r.primary, fn = et === void 0 ? l.primary : et, tt = r.search, pn = tt === void 0 ? l.search : tt, nt = r.secondary, hn = nt === void 0 ? l.secondary : nt, it = r.suffixText, rt = it === void 0 ? l.suffixText : it, at = r.textarea, g = at === void 0 ? l.textarea : at, ot = r.tooltip, I = ot === void 0 ? l.tooltip : ot, lt = r.trailingContent, _n = lt === void 0 ? l.trailingContent : lt, st = r.trailingIcon, Q = st === void 0 ? l.trailingIcon : st, ut = r.type, dt = ut === void 0 ? l.type : ut, ct = r.valid, q = ct === void 0 ? l.valid : ct, ft = r.value, N = ft === void 0 ? l.value : ft, pt = r.variant, ge = pt === void 0 ? l.variant : pt, me = Oe(r, hi), ht = I && Mn(I) === "object" ? I : {}, vn = ht.hoisted, _t = ht.position, vt = _t === void 0 ? "bottom" : _t, gn = j(function() {
1511
1511
  return ln || Ee();
1512
- }), mn = j(gn, 1), ue = mn[0], bn = $(function() {
1512
+ }), mn = M(gn, 1), ue = mn[0], bn = j(function() {
1513
1513
  return on || Ee();
1514
- }), In = j(bn, 1), be = In[0], xn = $(function() {
1514
+ }), In = M(bn, 1), be = In[0], xn = j(function() {
1515
1515
  return sn || Ee();
1516
- }), yn = j(xn, 1), Ie = yn[0], Tn = $(!0), gt = j(Tn, 2), mt = gt[0], Cn = gt[1], En = $(!1), bt = j(En, 2), xe = bt[0], Ln = bt[1], On = $(le), It = j(On, 2), w = It[0], An = It[1], Rn = $(Ve || !1), xt = j(Rn, 2), Nn = xt[0], yt = xt[1], Pn = b || R && w, Fn = g ? "textarea" : "input", Tt = O(), M = O(), m = O(), ye = O(), Ct = O(), Te = O(), de = O(), Z = O(), Sn = (Q || J) && !g, W = Wn(function() {
1516
+ }), yn = M(xn, 1), Ie = yn[0], Tn = j(!0), gt = M(Tn, 2), mt = gt[0], Cn = gt[1], En = j(!1), bt = M(En, 2), xe = bt[0], Ln = bt[1], On = j(le), It = M(On, 2), H = It[0], An = It[1], Rn = j(Ve || !1), xt = M(Rn, 2), Nn = xt[0], yt = xt[1], Pn = b || R && H, Fn = g ? "textarea" : "input", Tt = O(), w = O(), m = O(), ye = O(), Ct = O(), Te = O(), de = O(), Z = O(), Sn = (Q || J) && !g, W = Wn(function() {
1517
1517
  return q ?? !0;
1518
- }, [q]), X = !g && (Pe || pn || ge === "embedded"), ce = !Pe && (dn || hn || ge === "outlined"), fe = !ce && !X && (fn || rn || ge === "filled"), ee = X || an || o, Ce = !X && !!H && !D;
1518
+ }, [q]), X = !g && (Pe || pn || ge === "embedded"), ce = !Pe && (dn || hn || ge === "outlined"), fe = !ce && !X && (fn || rn || ge === "filled"), ee = X || an || o, Ce = !X && !!D && !k;
1519
1519
  v(function() {
1520
1520
  return m.current = li.attachTo(ye.current), function() {
1521
1521
  m.current.destroy();
@@ -1528,13 +1528,13 @@ var Wt = function(t, e) {
1528
1528
  label: ye.current
1529
1529
  };
1530
1530
  }), v(function() {
1531
- return b && typeof b == "string" && (M.current = new en(Tt.current)), function() {
1532
- M.current && M.current.destroy();
1531
+ return b && typeof b == "string" && (w.current = new en(Tt.current)), function() {
1532
+ w.current && w.current.destroy();
1533
1533
  };
1534
1534
  }, [b]), v(function() {
1535
1535
  if (b) {
1536
1536
  var c, u, C, E;
1537
- (c = M.current) === null || c === void 0 || c.foundation.setValidation(_e), (u = M.current) === null || u === void 0 || u.foundation.setValidity(W), (C = M.current) === null || C === void 0 || C.foundation.setPersistent(oe), (E = M.current) === null || E === void 0 || E.foundation.setContent(b);
1537
+ (c = w.current) === null || c === void 0 || c.foundation.setValidation(_e), (u = w.current) === null || u === void 0 || u.foundation.setValidity(W), (C = w.current) === null || C === void 0 || C.foundation.setPersistent(oe), (E = w.current) === null || E === void 0 || E.foundation.setContent(b);
1538
1538
  }
1539
1539
  }, [b, oe, _e, W]), v(function() {
1540
1540
  S || (m.current.value = N || N === 0 ? N : ""), m.current.valid = W;
@@ -1543,8 +1543,8 @@ var Wt = function(t, e) {
1543
1543
  }, [m, U]), v(function() {
1544
1544
  An(ve && !le ? ve : le);
1545
1545
  }, [le, ve]), v(function() {
1546
- Ln(w > 0 && R);
1547
- }, [w, R]), v(function() {
1546
+ Ln(H > 0 && R);
1547
+ }, [H, R]), v(function() {
1548
1548
  var c = ee || R || b;
1549
1549
  Cn(c);
1550
1550
  }, [ee, R, b]);
@@ -1620,7 +1620,7 @@ var Wt = function(t, e) {
1620
1620
  return /* @__PURE__ */ d.createElement("div", te({
1621
1621
  ref: Te,
1622
1622
  style: F,
1623
- className: k("lmnt", "lmnt-text-field--container", ee && "lmnt-text-field--container-full-width", !ee && mt && "lmnt-text-field--container-to-content-width", !mt && "lmnt-text-field-inline-container", y)
1623
+ className: B("lmnt", "lmnt-text-field--container", ee && "lmnt-text-field--container-full-width", !ee && mt && "lmnt-text-field--container-to-content-width", !mt && "lmnt-text-field-inline-container", y)
1624
1624
  }, re, {
1625
1625
  onMouseEnter: I && Lt,
1626
1626
  onFocus: I && Lt,
@@ -1629,7 +1629,7 @@ var Wt = function(t, e) {
1629
1629
  }), un, /* @__PURE__ */ d.createElement("label", {
1630
1630
  htmlFor: ue,
1631
1631
  ref: ye,
1632
- className: k(["lmnt", "mdc-text-field", "lmnt-text-field", X && "lmnt-text-field--embedded", ee && "lmnt-text-field--full-width", Sn && "lmnt-text-field--with-icon", !W && "mdc-text-field--invalid", U && "mdc-text-field--disabled", Ve && "mdc-text-field--focused", !Ce && "mdc-text-field--no-label", J && !g && "mdc-text-field--with-leading-icon", g && "mdc-text-field--textarea", g && R && w && !se && "mdc-text-field--with-internal-counter", Q && !g && "mdc-text-field--with-trailing-icon", fe && "mdc-text-field--filled", ce && "mdc-text-field--outlined", D && "lmnt-text-field--dense", _])
1632
+ className: B(["lmnt", "mdc-text-field", "lmnt-text-field", X && "lmnt-text-field--embedded", ee && "lmnt-text-field--full-width", Sn && "lmnt-text-field--with-icon", !W && "mdc-text-field--invalid", U && "mdc-text-field--disabled", Ve && "mdc-text-field--focused", !Ce && "mdc-text-field--no-label", J && !g && "mdc-text-field--with-leading-icon", g && "mdc-text-field--textarea", g && R && H && !se && "mdc-text-field--with-internal-counter", Q && !g && "mdc-text-field--with-trailing-icon", fe && "mdc-text-field--filled", ce && "mdc-text-field--outlined", k && "lmnt-text-field--dense", _])
1633
1633
  }, fe && /* @__PURE__ */ d.createElement("span", {
1634
1634
  className: "mdc-text-field__ripple"
1635
1635
  }), J && !g && _i(J), Ze && !J && !g && /* @__PURE__ */ d.createElement("span", {
@@ -1640,33 +1640,33 @@ var Wt = function(t, e) {
1640
1640
  "aria-controls": be,
1641
1641
  "aria-describedby": be,
1642
1642
  "aria-labelledby": Ie,
1643
- className: k("mdc-text-field__input", D && n === "right" && "lmnt-text-field--alignment-right", dt === "color" && "lmnt-text-field__input--color"),
1643
+ className: B("mdc-text-field__input", n === "right" && "lmnt-text-field--alignment-right", dt === "color" && "lmnt-text-field__input--color"),
1644
1644
  disabled: U,
1645
1645
  id: ue,
1646
1646
  type: dt,
1647
1647
  onBlur: Dn,
1648
1648
  onFocus: Hn,
1649
1649
  defaultValue: S,
1650
- placeholder: ce && !Nn ? "" : cn || (X && H ? H : "") || (D && H ? H : ""),
1651
- maxLength: w,
1650
+ placeholder: ce && Nn ? "" : cn || (X && D ? D : "") || (k && D ? D : ""),
1651
+ maxLength: H,
1652
1652
  ref: Ct,
1653
1653
  value: N
1654
- }, me)), !se && Wt(xe, w)), Q && !g && vi(Q), rt && !Q && !g && /* @__PURE__ */ d.createElement("span", {
1654
+ }, me)), !se && Wt(xe, H)), Q && !g && vi(Q), rt && !Q && !g && /* @__PURE__ */ d.createElement("span", {
1655
1655
  className: "mdc-text-field__affix mdc-text-field__affix--suffix"
1656
1656
  }, rt), ce && /* @__PURE__ */ d.createElement(zn, null, Ce && /* @__PURE__ */ d.createElement(Ht, {
1657
1657
  id: Ie,
1658
1658
  htmlFor: ue
1659
- }, H)), fe && Ce && /* @__PURE__ */ d.createElement(Ht, {
1659
+ }, D)), fe && Ce && /* @__PURE__ */ d.createElement(Ht, {
1660
1660
  id: Ie,
1661
1661
  htmlFor: ue
1662
- }, H), (fe || X) && /* @__PURE__ */ d.createElement(Re, null)), _n, Pn && /* @__PURE__ */ d.createElement("div", {
1662
+ }, D), (fe || X) && /* @__PURE__ */ d.createElement(Re, null)), _n, Pn && /* @__PURE__ */ d.createElement("div", {
1663
1663
  className: "mdc-text-field-helper-line"
1664
1664
  }, b && /* @__PURE__ */ d.createElement("div", {
1665
1665
  ref: Tt,
1666
1666
  id: be,
1667
1667
  "aria-hidden": oe ? "false" : "true",
1668
- className: k(["mdc-text-field-helper-text", oe && "mdc-text-field-helper-text--persistent", _e && "mdc-text-field-helper-text--validation-msg"])
1669
- }, b), se && Wt(xe, w)), I && /* @__PURE__ */ d.createElement(Yn, te({
1668
+ className: B(["mdc-text-field-helper-text", oe && "mdc-text-field-helper-text--persistent", _e && "mdc-text-field-helper-text--validation-msg"])
1669
+ }, b), se && Wt(xe, H)), I && /* @__PURE__ */ d.createElement(Yn, te({
1670
1670
  role: "tooltip"
1671
1671
  }, I, {
1672
1672
  ref: de,
@@ -1,6 +1,6 @@
1
- import { _ as k, c as $, a as m, P as e } from "./index-Df2FYN-K.js";
1
+ import { _ as k, c as $, a as m, P as e } from "./index-_-9ybP20.js";
2
2
  import c, { forwardRef as O, useRef as C, useImperativeHandle as T, useEffect as M } from "react";
3
- import { b as P, f as Q } from "./index.es-C6I3L4U4.js";
3
+ import { b as P, f as Q } from "./index.es-DRC-9PLs.js";
4
4
  import { c as W } from "./tslib.es6-BDCynO9F.js";
5
5
  function V(t) {
6
6
  return t.toLowerCase();