@hortiview/shared-components 2.8.6 → 2.8.7

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 (132) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AlertBanner-DlgFtlZm.js → AlertBanner-D-NTP_6i.js} +3 -3
  3. package/dist/{BigLoadingSpinner-B_HFhx2F.js → BigLoadingSpinner-CCxsMWnc.js} +1 -1
  4. package/dist/{GenericCard-Cv8qaFLu.js → GenericCard-DOKyENNm.js} +3 -3
  5. package/dist/{ListAreaService-D9HRsvH0.js → ListAreaService-CI-s1Xx5.js} +5 -5
  6. package/dist/{OfflineView-Bw-sbsym.js → OfflineView-DHtzNLwt.js} +3 -3
  7. package/dist/_Map-BmafU0dj.js +113 -0
  8. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  9. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  10. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  11. package/dist/components/BaseView/BaseView.js +2 -2
  12. package/dist/components/BasicHeading/BasicHeading.js +2 -2
  13. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  14. package/dist/components/BlockView/BlockView.js +1 -1
  15. package/dist/components/ChipCard/ChipCard.js +499 -390
  16. package/dist/components/ContextMenu/ContextMenu.js +4 -4
  17. package/dist/components/DeleteModal/DeleteModal.js +5 -5
  18. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  19. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  20. package/dist/components/EmptyView/EmptyView.js +161 -125
  21. package/dist/components/Filter/Filter.js +11 -11
  22. package/dist/components/Filter/Filter.test.js +51 -35
  23. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  24. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +10 -10
  25. package/dist/components/FormComponents/FormNumber/CustomTextField.js +3 -3
  26. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  27. package/dist/components/FormComponents/FormSelect/FormSelect.js +2 -2
  28. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  29. package/dist/components/FormComponents/FormSlider/FormSlider.js +540 -535
  30. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  31. package/dist/components/FormComponents/FormToggle/FormToggle.js +4 -4
  32. package/dist/components/GenericTable/GenericTable.js +8246 -7153
  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 +552 -541
  37. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  38. package/dist/components/Iconify/Iconify.js +2 -2
  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 +16 -16
  42. package/dist/components/ListArea/ListArea.test.js +20 -20
  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 +164 -178
  47. package/dist/components/Modal/Modal.js +305 -312
  48. package/dist/components/ModulePadding/ModulePadding.js +8 -8
  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.js +13 -13
  52. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  53. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  54. package/dist/components/SearchBar/SearchBar.js +2 -2
  55. package/dist/components/SearchBar/SearchBar.test.js +1 -1
  56. package/dist/components/Select/Select.js +2 -2
  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 +2 -2
  60. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  61. package/dist/defineProperty-CmuOyxyf.js +318 -0
  62. package/dist/es.string.iterator-DrqCBub-.js +581 -0
  63. package/dist/find-B-dm7n_F.js +88 -0
  64. package/dist/{get-CqneoueQ.js → get-DuK51wnj.js} +1 -1
  65. package/dist/get-u1nFMLdT.js +377 -0
  66. package/dist/hooks/useHelperText.js +1 -1
  67. package/dist/identity-BIZAN_pL.js +213 -0
  68. package/dist/includes-Bt-Stz_B.js +110 -0
  69. package/dist/index-Cpb-8cAN.js +2465 -0
  70. package/dist/index.es-0QJC9VS2.js +325 -0
  71. package/dist/{index.es-CyjMwj5g.js → index.es-45NOgWlB.js} +93 -101
  72. package/dist/index.es-B6ZgiW2s.js +3790 -0
  73. package/dist/{index.es-1zrFd4Te.js → index.es-BGordhUK.js} +352 -323
  74. package/dist/index.es-BRtk0Q33.js +42 -0
  75. package/dist/index.es-BXj90wb_.js +402 -0
  76. package/dist/index.es-Bg8hxXM8.js +912 -0
  77. package/dist/index.es-Bgjh6euR.js +292 -0
  78. package/dist/index.es-Bo1Rhtyb.js +80 -0
  79. package/dist/{index.es-BaX-8joZ.js → index.es-CK4oZMKs.js} +3329 -3232
  80. package/dist/{index.es-nQ0lMwpE.js → index.es-CKdJX75f.js} +74 -78
  81. package/dist/index.es-CmF6xAUJ.js +48 -0
  82. package/dist/{index.es-p4O33fMu.js → index.es-Cq04gn3U.js} +321 -305
  83. package/dist/{index.es-Cdu6tjUC.js → index.es-D1IpdMde.js} +87 -95
  84. package/dist/index.es-DDYCugj-.js +166 -0
  85. package/dist/{index.es-jFaPNuBO.js → index.es-DENZVv7_.js} +427 -444
  86. package/dist/{index.es-Dnrk7XL6.js → index.es-DObVvepK.js} +158 -166
  87. package/dist/index.es-DeF-y7fd.js +122 -0
  88. package/dist/{index.es-ks_RnHLh.js → index.es-Dfju71Pi.js} +27 -37
  89. package/dist/index.es-DqSY-ePE.js +4923 -0
  90. package/dist/index.es-DwzB1d7_.js +1061 -0
  91. package/dist/index.es-IXyb5F6n.js +457 -0
  92. package/dist/index.es-t7hFwQSs.js +67 -0
  93. package/dist/isArray-DN9s620O.js +83 -0
  94. package/dist/{isArray-CSaAxHlq.js → isArray-Dub1wGJM.js} +1 -1
  95. package/dist/{isEmpty-SkzPhavO.js → isEmpty-CxD71Jv8.js} +4 -5
  96. package/dist/{isString-CZsZiWgW.js → isString-BNaBRq3S.js} +2 -2
  97. package/dist/isTypedArray-Dw_IY7Zq.js +212 -0
  98. package/dist/keyboard-B-WUULl-.js +173 -0
  99. package/dist/main.js +2 -2
  100. package/dist/map-Dbvlv_6y.js +707 -0
  101. package/dist/omit-uTAyrUTm.js +645 -0
  102. package/dist/orderBy-BXxEvUw6.js +571 -0
  103. package/dist/parse-int-qVAoFbOL.js +75 -0
  104. package/dist/services/UtilService.js +7 -7
  105. package/dist/slicedToArray-BWk2gTCn.js +436 -0
  106. package/dist/{toString-BFJes2_D.js → toString-CrgB_7Pe.js} +1 -1
  107. package/dist/{uniqueId-DrPMzA-E.js → uniqueId-NU3-C36A.js} +1 -1
  108. package/package.json +3 -3
  109. package/dist/_baseIsEqual-Df2URKWm.js +0 -240
  110. package/dist/_getAllKeys-BQWmkEw5.js +0 -86
  111. package/dist/_getTag-BkGSRa18.js +0 -79
  112. package/dist/_setToString-B6E13pDg.js +0 -580
  113. package/dist/get-DQr2KQKm.js +0 -113
  114. package/dist/index-D5m--65X.js +0 -1491
  115. package/dist/index.es-8MVlRCi4.js +0 -1066
  116. package/dist/index.es-BbaCXS9-.js +0 -45
  117. package/dist/index.es-BikIx4uw.js +0 -3242
  118. package/dist/index.es-CDMu_yu0.js +0 -954
  119. package/dist/index.es-ChSlnpSq.js +0 -309
  120. package/dist/index.es-D66OkZJH.js +0 -4853
  121. package/dist/index.es-DFFyENnI.js +0 -63
  122. package/dist/index.es-DTMwaJ6B.js +0 -56
  123. package/dist/index.es-DgTJmbgD.js +0 -268
  124. package/dist/index.es-DmsyeHLO.js +0 -306
  125. package/dist/index.es-Dw1eih7R.js +0 -159
  126. package/dist/index.es-eKuwB1ll.js +0 -54
  127. package/dist/index.es-qxTN-Bb2.js +0 -107
  128. package/dist/index.es-xnSvM9b9.js +0 -444
  129. package/dist/isArray-DDZrq40X.js +0 -456
  130. package/dist/keyboard-Bpt0aBqQ.js +0 -107
  131. package/dist/omit-BN3qeeaj.js +0 -364
  132. package/dist/orderBy-D4LvP9Az.js +0 -316
@@ -1,31 +1,31 @@
1
- import { c as k, _ as s, P as e } from "./index-D5m--65X.js";
2
- import i, { forwardRef as u, useRef as x, useImperativeHandle as b, useEffect as I } from "react";
3
- import { b as m, g as $ } from "./index.es-ChSlnpSq.js";
4
- import { c as S } from "./tslib.es6-BDCynO9F.js";
5
- function _(c) {
6
- return c.toLowerCase();
1
+ import { _ as k, c as $, a as m, P as e } from "./index-Cpb-8cAN.js";
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-BXj90wb_.js";
4
+ import { c as W } from "./tslib.es6-BDCynO9F.js";
5
+ function V(t) {
6
+ return t.toLowerCase();
7
7
  }
8
- var R = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], w = /[^A-Z0-9]+/gi;
9
- function A(c, l) {
8
+ var Y = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], ee = /[^A-Z0-9]+/gi;
9
+ function te(t, l) {
10
10
  l === void 0 && (l = {});
11
- for (var g = l.splitRegexp, n = g === void 0 ? R : g, d = l.stripRegexp, o = d === void 0 ? w : d, r = l.transform, a = r === void 0 ? _ : r, t = l.delimiter, p = t === void 0 ? " " : t, y = H(H(c, n, "$1\0$2"), o, "\0"), T = 0, L = y.length; y.charAt(T) === "\0"; )
12
- T++;
13
- for (; y.charAt(L - 1) === "\0"; )
14
- L--;
15
- return y.slice(T, L).split("\0").map(a).join(p);
11
+ for (var g = l.splitRegexp, r = g === void 0 ? Y : g, s = l.stripRegexp, u = s === void 0 ? ee : s, p = l.transform, n = p === void 0 ? V : p, x = l.delimiter, d = x === void 0 ? " " : x, h = X(X(t, r, "$1\0$2"), u, "\0"), a = 0, o = h.length; h.charAt(a) === "\0"; )
12
+ a++;
13
+ for (; h.charAt(o - 1) === "\0"; )
14
+ o--;
15
+ return h.slice(a, o).split("\0").map(n).join(d);
16
16
  }
17
- function H(c, l, g) {
18
- return l instanceof RegExp ? c.replace(l, g) : l.reduce(function(n, d) {
19
- return n.replace(d, g);
20
- }, c);
17
+ function X(t, l, g) {
18
+ return l instanceof RegExp ? t.replace(l, g) : l.reduce(function(r, s) {
19
+ return r.replace(s, g);
20
+ }, t);
21
21
  }
22
- function Z(c, l) {
23
- return l === void 0 && (l = {}), A(c, S({ delimiter: "." }, l));
22
+ function ne(t, l) {
23
+ return l === void 0 && (l = {}), te(t, W({ delimiter: "." }, l));
24
24
  }
25
- function O(c, l) {
26
- return l === void 0 && (l = {}), Z(c, S({ delimiter: "-" }, l));
25
+ function B(t, l) {
26
+ return l === void 0 && (l = {}), ne(t, W({ delimiter: "-" }, l));
27
27
  }
28
- const z = {
28
+ var oe = {
29
29
  /**
30
30
  * If true the typography will be bold. Applies to 1body, body2, caption, subtitle1, subtitle2
31
31
  *
@@ -44,32 +44,37 @@ const z = {
44
44
  * Defaults to **undefined**.
45
45
  */
46
46
  className: e.string,
47
+ /**
48
+ * Forces consistent padding when using different html tags.
49
+ *
50
+ * Defaults to **false**.
51
+ */
52
+ fixedPadding: e.bool,
47
53
  /**
48
54
  * The DOM element to display the typography.
49
55
  *
50
56
  * Defaults to **'span'**.
51
57
  */
52
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
58
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
53
59
  /**
54
60
  * Sets theme color for the typography. Does not apply to Link.
55
61
  *
56
62
  * Defaults to **undefined**.
57
63
  */
58
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "Typography", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'."),
64
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "Typography", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'."),
59
65
  /**
60
66
  * Sets typography class for the element.
61
67
  *
62
68
  * Defaults to **'body1'**.
63
69
  */
64
- type: m(e.oneOf(["body1", "body1-bold", "body2", "body2-bold", "button", "caption", "caption-bold", "display1", "display2", "display3", "display4", "display5", "display6", "link", "overline", "subtitle1", "subtitle1-bold", "subtitle2", "subtitle2-bold"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "Typography", "Please use one of 'body1','body1-bold','body2','body2-bold','button','caption','caption-bold','display1','display2','display3','display4','display5','display6','link','overline','subtitle1','subtitle1-bold','subtitle2','subtitle2-bold'.")
65
- }, F = {
66
- bold: !1,
70
+ type: P(e.oneOf(["body1", "body1-bold", "body2", "body2-bold", "button", "caption", "caption-bold", "display1", "display2", "display3", "display4", "display5", "display6", "link", "overline", "subtitle1", "subtitle1-bold", "subtitle2", "subtitle2-bold"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "Typography", "Please use one of 'body1','body1-bold','body2','body2-bold','button','caption','caption-bold','display1','display2','display3','display4','display5','display6','link','overline','subtitle1','subtitle1-bold','subtitle2','subtitle2-bold'.")
71
+ }, ae = {
67
72
  children: null,
68
- className: void 0,
73
+ fixedPadding: !1,
69
74
  tag: "span",
70
75
  themeColor: void 0,
71
76
  type: "body1"
72
- }, G = {
77
+ }, re = {
73
78
  /**
74
79
  * If true the typography will be bold.
75
80
  *
@@ -88,6 +93,12 @@ const z = {
88
93
  * Defaults to **undefined**.
89
94
  */
90
95
  className: e.string,
96
+ /**
97
+ * Forces consistent padding when using different html tags.
98
+ *
99
+ * Defaults to **false**.
100
+ */
101
+ fixedPadding: e.bool,
91
102
  /**
92
103
  * Sets font properties for body. Acceptable values range from 1 - 2. Higher levels produce smaller type.
93
104
  *
@@ -99,21 +110,22 @@ const z = {
99
110
  *
100
111
  * Defaults to **'span'**.
101
112
  */
102
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
113
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
103
114
  /**
104
115
  * Sets theme color for the typography.
105
116
  *
106
117
  * Defaults to **undefined**.
107
118
  */
108
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoBody", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
109
- }, U = {
119
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoBody", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
120
+ }, de = {
110
121
  bold: !1,
111
122
  children: null,
112
123
  className: void 0,
124
+ fixedPadding: !1,
113
125
  level: 1,
114
126
  tag: "span",
115
127
  themeColor: void 0
116
- }, X = {
128
+ }, ie = {
117
129
  /**
118
130
  * Expects a string, accepts any valid markup.
119
131
  *
@@ -126,24 +138,31 @@ const z = {
126
138
  * Defaults to **undefined**.
127
139
  */
128
140
  className: e.string,
141
+ /**
142
+ * Forces consistent padding when using different html tags.
143
+ *
144
+ * Defaults to **false**.
145
+ */
146
+ fixedPadding: e.bool,
129
147
  /**
130
148
  * The DOM element to display the typography.
131
149
  *
132
150
  * Defaults to **'span'**.
133
151
  */
134
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
152
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
135
153
  /**
136
154
  * Sets theme color for the typography.
137
155
  *
138
156
  * Defaults to **undefined**.
139
157
  */
140
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoButton", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
141
- }, j = {
158
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoButton", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
159
+ }, le = {
142
160
  children: null,
143
161
  className: void 0,
162
+ fixedPadding: !1,
144
163
  tag: "span",
145
164
  themeColor: void 0
146
- }, q = {
165
+ }, ce = {
147
166
  /**
148
167
  * If true the typography will be bold.
149
168
  *
@@ -162,25 +181,32 @@ const z = {
162
181
  * Defaults to **undefined**.
163
182
  */
164
183
  className: e.string,
184
+ /**
185
+ * Forces consistent padding when using different html tags.
186
+ *
187
+ * Defaults to **false**.
188
+ */
189
+ fixedPadding: e.bool,
165
190
  /**
166
191
  * The DOM element to display the typography.
167
192
  *
168
193
  * Defaults to **'span'**.
169
194
  */
170
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
195
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
171
196
  /**
172
197
  * Sets theme color for the typography.
173
198
  *
174
199
  * Defaults to **undefined**.
175
200
  */
176
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoCaption", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
177
- }, J = {
201
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoCaption", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
202
+ }, ge = {
178
203
  bold: !1,
179
204
  children: null,
180
205
  className: void 0,
206
+ fixedPadding: !1,
181
207
  tag: "span",
182
208
  themeColor: void 0
183
- }, K = {
209
+ }, se = {
184
210
  /**
185
211
  * Expects a string, accepts any valid markup.
186
212
  *
@@ -193,6 +219,12 @@ const z = {
193
219
  * Defaults to **undefined**.
194
220
  */
195
221
  className: e.string,
222
+ /**
223
+ * Forces consistent padding when using different html tags.
224
+ *
225
+ * Defaults to **false**.
226
+ */
227
+ fixedPadding: e.bool,
196
228
  /**
197
229
  * Sets font properties for body. Acceptable values range from 1 to 6. Higher levels produce smaller type.
198
230
  *
@@ -204,20 +236,21 @@ const z = {
204
236
  *
205
237
  * Defaults to **'span'**.
206
238
  */
207
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
239
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
208
240
  /**
209
241
  * Sets theme color for the typography.
210
242
  *
211
243
  * Defaults to **undefined**.
212
244
  */
213
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoDisplay", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
214
- }, M = {
245
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoDisplay", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
246
+ }, he = {
215
247
  children: null,
216
248
  className: void 0,
249
+ fixedPadding: !1,
217
250
  level: 1,
218
251
  tag: "span",
219
252
  themeColor: void 0
220
- }, Q = {
253
+ }, pe = {
221
254
  /**
222
255
  * Expects a string, accepts any valid markup.
223
256
  *
@@ -230,6 +263,12 @@ const z = {
230
263
  * Defaults to **undefined**.
231
264
  */
232
265
  className: e.string,
266
+ /**
267
+ * Forces consistent padding when using different html tags.
268
+ *
269
+ * Defaults to **false**.
270
+ */
271
+ fixedPadding: e.bool,
233
272
  /**
234
273
  * Sets font properties for body. Acceptable values range from 1 to 6. Higher levels produce smaller type.
235
274
  *
@@ -241,20 +280,21 @@ const z = {
241
280
  *
242
281
  * Defaults to **'span'**.
243
282
  */
244
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
283
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
245
284
  /**
246
285
  * Sets theme color for the typography.
247
286
  *
248
287
  * Defaults to **undefined**.
249
288
  */
250
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoHeadline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
251
- }, V = {
289
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoHeadline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
290
+ }, xe = {
252
291
  children: null,
253
292
  className: void 0,
293
+ fixedPadding: !1,
254
294
  level: 1,
255
295
  tag: "span",
256
296
  themeColor: void 0
257
- }, W = {
297
+ }, me = {
258
298
  /**
259
299
  * Expects a string, accepts any valid markup.
260
300
  *
@@ -267,17 +307,24 @@ const z = {
267
307
  * Defaults to **undefined**.
268
308
  */
269
309
  className: e.string,
310
+ /**
311
+ * Forces consistent padding when using different html tags.
312
+ *
313
+ * Defaults to **false**.
314
+ */
315
+ fixedPadding: e.bool,
270
316
  /**
271
317
  * The DOM element to display the typography.
272
318
  *
273
319
  * Defaults to **'a'**.
274
320
  */
275
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)])
276
- }, Y = {
321
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)])
322
+ }, ye = {
277
323
  children: null,
278
324
  className: void 0,
325
+ fixedPadding: !1,
279
326
  tag: "a"
280
- }, ee = {
327
+ }, ue = {
281
328
  /**
282
329
  * Expects a string, accepts any valid markup.
283
330
  *
@@ -290,24 +337,31 @@ const z = {
290
337
  * Defaults to **undefined**.
291
338
  */
292
339
  className: e.string,
340
+ /**
341
+ * Forces consistent padding when using different html tags.
342
+ *
343
+ * Defaults to **false**.
344
+ */
345
+ fixedPadding: e.bool,
293
346
  /**
294
347
  * The DOM element to display the typography.
295
348
  *
296
349
  * Defaults to **'span'**.
297
350
  */
298
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
351
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
299
352
  /**
300
353
  * Sets theme color for the typography.
301
354
  *
302
355
  * Defaults to **undefined**.
303
356
  */
304
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoOverline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
305
- }, te = {
357
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoOverline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
358
+ }, fe = {
306
359
  children: null,
307
360
  className: void 0,
361
+ fixedPadding: !1,
308
362
  tag: "span",
309
363
  themeColor: void 0
310
- }, ne = {
364
+ }, be = {
311
365
  /**
312
366
  * If true the typography will be bold.
313
367
  *
@@ -326,6 +380,12 @@ const z = {
326
380
  * Defaults to **undefined**.
327
381
  */
328
382
  className: e.string,
383
+ /**
384
+ * Forces consistent padding when using different html tags.
385
+ *
386
+ * Defaults to **false**.
387
+ */
388
+ fixedPadding: e.bool,
329
389
  /**
330
390
  * Sets font properties for body.
331
391
  *
@@ -337,338 +397,307 @@ const z = {
337
397
  *
338
398
  * Defaults to **'span'**.
339
399
  */
340
- tag: e.oneOfType([e.string, e.elementType, e.instanceOf(i.Component)]),
400
+ tag: e.oneOfType([e.string, e.elementType, e.instanceOf(c.Component)]),
341
401
  /**
342
402
  * Sets theme color for the typography.
343
403
  *
344
404
  * Defaults to **undefined**.
345
405
  */
346
- themeColor: m(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoSubtitle", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
347
- }, oe = {
406
+ themeColor: P(e.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoSubtitle", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
407
+ }, ve = {
348
408
  bold: !1,
349
409
  children: null,
350
410
  className: void 0,
411
+ fixedPadding: !1,
351
412
  level: 1,
352
413
  tag: "span",
353
414
  themeColor: void 0
354
- }, f = /* @__PURE__ */ u((c, l) => {
355
- const {
356
- className: g,
357
- children: n,
358
- themeColor: d,
359
- level: o,
360
- bold: r,
361
- tag: a,
362
- ...t
363
- } = c, p = x();
364
- b(l, () => p.current, []);
365
- const y = k("mdc-typography", `lmnt mdc-typography--body${o}`, r && `mdc-typography--body${o}-bold`, d && `mdc-theme--${O(d)}`, g), T = a;
366
- return /* @__PURE__ */ i.createElement(T, s({
367
- className: y
368
- }, t, {
369
- ref: p
370
- }), n);
371
- });
372
- f.displayName = "TypoBody";
373
- f.propTypes = G;
374
- f.defaultProps = U;
375
- const v = /* @__PURE__ */ u((c, l) => {
376
- const {
377
- className: g,
378
- children: n,
379
- themeColor: d,
380
- tag: o,
381
- ...r
382
- } = c, a = k("mdc-typography", "lmnt mdc-typography--button", d && `mdc-theme--${O(d)}`, g), t = x();
383
- b(l, () => t.current, []);
384
- const p = o;
385
- return /* @__PURE__ */ i.createElement(p, s({
386
- ref: t,
387
- className: a
388
- }, r), n);
415
+ }, Pe = ["className", "children", "themeColor", "level", "bold", "tag", "fixedPadding"], L = de, D = /* @__PURE__ */ O(function(t, l) {
416
+ var g = t.className, r = g === void 0 ? L.className : g, s = t.children, u = s === void 0 ? L.children : s, p = t.themeColor, n = p === void 0 ? L.themeColor : p, x = t.level, d = x === void 0 ? L.level : x, h = t.bold, a = h === void 0 ? L.bold : h, o = t.tag, i = o === void 0 ? L.tag : o, y = t.fixedPadding, f = y === void 0 ? L.fixedPadding : y, b = k(t, Pe), v = C();
417
+ T(l, function() {
418
+ return v.current;
419
+ }, []);
420
+ var j = i, F = $("mdc-typography", "lmnt mdc-typography--body".concat(d), f && "typography--fixed-padding", a && "mdc-typography--body".concat(d, "-bold"), n && "mdc-theme--".concat(B(n)), r);
421
+ return /* @__PURE__ */ c.createElement(j, m({
422
+ className: F
423
+ }, b, {
424
+ ref: v
425
+ }), u);
389
426
  });
390
- v.displayName = "TypoButton";
391
- v.propTypes = X;
392
- v.defaultProps = j;
393
- const P = /* @__PURE__ */ u((c, l) => {
394
- const {
395
- className: g,
396
- children: n,
397
- themeColor: d,
398
- tag: o,
399
- bold: r,
400
- ...a
401
- } = c, t = k("mdc-typography", "lmnt mdc-typography--caption", r && "mdc-typography--caption-bold", d && `mdc-theme--${O(d)}`, g), p = x();
402
- b(l, () => p.current, []);
403
- const y = o;
404
- return /* @__PURE__ */ i.createElement(y, s({
405
- ref: p,
406
- className: t
407
- }, a), n);
427
+ D.displayName = "TypoBody";
428
+ D.propTypes = re;
429
+ var ke = ["className", "children", "themeColor", "fixedPadding", "tag"], R = le, G = /* @__PURE__ */ O(function(t, l) {
430
+ var g = t.className, r = g === void 0 ? R.className : g, s = t.children, u = s === void 0 ? R.children : s, p = t.themeColor, n = p === void 0 ? R.themeColor : p, x = t.fixedPadding, d = x === void 0 ? R.fixedPadding : x, h = t.tag, a = h === void 0 ? R.tag : h, o = k(t, ke), i = $("mdc-typography", "lmnt mdc-typography--button", d && "typography--fixed-padding", n && "mdc-theme--".concat(B(n)), r), y = C();
431
+ T(l, function() {
432
+ return y.current;
433
+ }, []);
434
+ var f = a;
435
+ return /* @__PURE__ */ c.createElement(f, m({
436
+ ref: y,
437
+ className: i
438
+ }, o), u);
408
439
  });
409
- P.displayName = "TypoCaption";
410
- P.propTypes = q;
411
- P.defaultProps = J;
412
- const h = /* @__PURE__ */ u((c, l) => {
413
- const {
414
- className: g,
415
- children: n,
416
- themeColor: d,
417
- level: o,
418
- tag: r,
419
- ...a
420
- } = c, t = k("mdc-typography", `lmnt mdc-typography--headline${o}`, d && `mdc-theme--${O(d)}`, g), p = x();
421
- b(l, () => p.current, []);
422
- const y = r;
423
- return /* @__PURE__ */ i.createElement(y, s({
424
- ref: p,
425
- className: t
426
- }, a), n);
440
+ G.displayName = "TypoButton";
441
+ G.propTypes = ie;
442
+ var Oe = ["className", "children", "themeColor", "tag", "bold", "fixedPadding"], H = ge, z = /* @__PURE__ */ O(function(t, l) {
443
+ var g = t.className, r = g === void 0 ? H.className : g, s = t.children, u = s === void 0 ? H.children : s, p = t.themeColor, n = p === void 0 ? H.themeColor : p, x = t.tag, d = x === void 0 ? H.tag : x, h = t.bold, a = h === void 0 ? H.bold : h, o = t.fixedPadding, i = o === void 0 ? H.fixedPadding : o, y = k(t, Oe), f = $("mdc-typography", "lmnt mdc-typography--caption", i && "typography--fixed-padding", a && "mdc-typography--caption-bold", n && "mdc-theme--".concat(B(n)), r), b = C();
444
+ T(l, function() {
445
+ return b.current;
446
+ }, []);
447
+ var v = d;
448
+ return /* @__PURE__ */ c.createElement(v, m({
449
+ ref: b,
450
+ className: f
451
+ }, y), u);
427
452
  });
428
- h.displayName = "TypoDisplay";
429
- h.propTypes = K;
430
- h.defaultProps = M;
431
- const N = /* @__PURE__ */ u((c, l) => {
432
- const {
433
- className: g,
434
- children: n,
435
- themeColor: d,
436
- level: o,
437
- tag: r,
438
- ...a
439
- } = c;
440
- I(() => $("TypoHeadline", "This component is being replaced with TypoDisplay and will be removed in a future version. Please use TypoDisplay instead."), []);
441
- const t = k("mdc-typography", `lmnt mdc-typography--headline${o}`, d && `mdc-theme--${O(d)}`, g), p = x();
442
- b(l, () => p.current, []);
443
- const y = r;
444
- return /* @__PURE__ */ i.createElement(y, s({
445
- ref: p,
446
- className: t
447
- }, a), n);
453
+ z.displayName = "TypoCaption";
454
+ z.propTypes = ce;
455
+ var Ce = ["className", "children", "themeColor", "level", "tag", "fixedPadding"], S = he, N = /* @__PURE__ */ O(function(t, l) {
456
+ var g = t.className, r = g === void 0 ? S.className : g, s = t.children, u = s === void 0 ? S.children : s, p = t.themeColor, n = p === void 0 ? S.themeColor : p, x = t.level, d = x === void 0 ? S.level : x, h = t.tag, a = h === void 0 ? S.tag : h, o = t.fixedPadding, i = o === void 0 ? S.fixedPadding : o, y = k(t, Ce), f = C();
457
+ T(l, function() {
458
+ return f.current;
459
+ }, []);
460
+ var b = a, v = $("mdc-typography", "lmnt mdc-typography--headline".concat(d), i && "typography--fixed-padding", n && "mdc-theme--".concat(B(n)), i && "typography--fixed-padding", r);
461
+ return /* @__PURE__ */ c.createElement(b, m({
462
+ ref: f,
463
+ className: v
464
+ }, y), u);
448
465
  });
449
- N.displayName = "TypoHeadline";
450
- N.propTypes = Q;
451
- N.defaultProps = V;
452
- const E = /* @__PURE__ */ u((c, l) => {
453
- const {
454
- className: g,
455
- children: n,
456
- themeColor: d,
457
- tag: o,
458
- ...r
459
- } = c, a = k("mdc-typography lmnt-theme-link", d && `mdc-theme--${O(d)}`, g), t = x();
460
- b(l, () => t.current, []);
461
- const p = o;
462
- return /* @__PURE__ */ i.createElement(p, s({
463
- ref: t,
464
- className: a
465
- }, r), n);
466
+ N.displayName = "TypoDisplay";
467
+ N.propTypes = se;
468
+ var Te = ["className", "children", "themeColor", "fixedPadding", "level", "tag"], _ = xe, q = /* @__PURE__ */ O(function(t, l) {
469
+ var g = t.className, r = g === void 0 ? _.className : g, s = t.children, u = s === void 0 ? _.children : s, p = t.themeColor, n = p === void 0 ? _.themeColor : p, x = t.fixedPadding, d = x === void 0 ? _.fixedPadding : x, h = t.level, a = h === void 0 ? _.level : h, o = t.tag, i = o === void 0 ? _.tag : o, y = k(t, Te);
470
+ M(function() {
471
+ return Q("TypoHeadline", "This component is being replaced with TypoDisplay and will be removed in a future version. Please use TypoDisplay instead.");
472
+ }, []);
473
+ var f = $("mdc-typography", "lmnt mdc-typography--headline".concat(a), d && "typography--fixed-padding", n && "mdc-theme--".concat(B(n)), r), b = C();
474
+ T(l, function() {
475
+ return b.current;
476
+ }, []);
477
+ var v = i;
478
+ return /* @__PURE__ */ c.createElement(v, m({
479
+ ref: b,
480
+ className: f
481
+ }, y), u);
466
482
  });
467
- E.displayName = "TypoLink";
468
- E.propTypes = W;
469
- E.defaultProps = Y;
470
- const B = /* @__PURE__ */ u((c, l) => {
471
- const {
472
- className: g,
473
- children: n,
474
- themeColor: d,
475
- tag: o,
476
- ...r
477
- } = c, a = k("mdc-typography", "lmnt mdc-typography--overline", d && `mdc-theme--${O(d)}`, g), t = x();
478
- b(l, () => t.current, []);
479
- const p = o;
480
- return /* @__PURE__ */ i.createElement(p, s({
481
- ref: t,
482
- className: a
483
- }, r), n);
483
+ q.displayName = "TypoHeadline";
484
+ q.propTypes = pe;
485
+ var Ne = ["className", "children", "themeColor", "fixedPadding", "tag"], w = ye, J = /* @__PURE__ */ O(function(t, l) {
486
+ var g = t.className, r = g === void 0 ? w.className : g, s = t.children, u = s === void 0 ? w.children : s, p = t.themeColor, n = p === void 0 ? w.themeColor : p, x = t.fixedPadding, d = x === void 0 ? w.fixedPadding : x, h = t.tag, a = h === void 0 ? w.tag : h, o = k(t, Ne), i = $("mdc-typography lmnt-theme-link", d && "typography--fixed-padding", n && "mdc-theme--".concat(B(n)), r), y = C();
487
+ T(l, function() {
488
+ return y.current;
489
+ }, []);
490
+ var f = a;
491
+ return /* @__PURE__ */ c.createElement(f, m({
492
+ ref: y,
493
+ className: i
494
+ }, o), u);
484
495
  });
485
- B.displayName = "TypoOverline";
486
- B.propTypes = ee;
487
- B.defaultProps = te;
488
- const C = /* @__PURE__ */ u((c, l) => {
489
- const {
490
- className: g,
491
- children: n,
492
- themeColor: d,
493
- level: o,
494
- tag: r,
495
- bold: a,
496
- ...t
497
- } = c, p = k("mdc-typography", `lmnt mdc-typography--subtitle${o || ""}`, a && `mdc-typography--subtitle${o}-bold`, d && `mdc-theme--${O(d)}`, g), y = x();
498
- b(l, () => y.current, []);
499
- const T = r;
500
- return /* @__PURE__ */ i.createElement(T, s({
496
+ J.displayName = "TypoLink";
497
+ J.propTypes = me;
498
+ var $e = ["className", "children", "themeColor", "fixedPadding", "tag"], A = fe, U = /* @__PURE__ */ O(function(t, l) {
499
+ var g = t.className, r = g === void 0 ? A.className : g, s = t.children, u = s === void 0 ? A.children : s, p = t.themeColor, n = p === void 0 ? A.themeColor : p, x = t.fixedPadding, d = x === void 0 ? A.fixedPadding : x, h = t.tag, a = h === void 0 ? A.tag : h, o = k(t, $e), i = $("mdc-typography", "lmnt mdc-typography--overline", d && "typography--fixed-padding", n && "mdc-theme--".concat(B(n)), r), y = C();
500
+ T(l, function() {
501
+ return y.current;
502
+ }, []);
503
+ var f = a;
504
+ return /* @__PURE__ */ c.createElement(f, m({
501
505
  ref: y,
502
- className: p
503
- }, t), n);
506
+ className: i
507
+ }, o), u);
508
+ });
509
+ U.displayName = "TypoOverline";
510
+ U.propTypes = ue;
511
+ var Be = ["className", "children", "themeColor", "fixedPadding", "level", "tag", "bold"], E = ve, I = /* @__PURE__ */ O(function(t, l) {
512
+ var g = t.className, r = g === void 0 ? E.className : g, s = t.children, u = s === void 0 ? E.children : s, p = t.themeColor, n = p === void 0 ? E.themeColor : p, x = t.fixedPadding, d = x === void 0 ? E.fixedPadding : x, h = t.level, a = h === void 0 ? E.level : h, o = t.tag, i = o === void 0 ? E.tag : o, y = t.bold, f = y === void 0 ? E.bold : y, b = k(t, Be), v = $("mdc-typography", "lmnt mdc-typography--subtitle".concat(a || ""), d && "typography--fixed-padding", f && "mdc-typography--subtitle".concat(a || "", "-bold"), n && "mdc-theme--".concat(B(n)), r), j = C();
513
+ T(l, function() {
514
+ return j.current;
515
+ }, []);
516
+ var F = i;
517
+ return /* @__PURE__ */ c.createElement(F, m({
518
+ ref: j,
519
+ className: v
520
+ }, b), u);
504
521
  });
505
- C.displayName = "TypoSubtitle";
506
- C.propTypes = ne;
507
- C.defaultProps = oe;
508
- const D = /* @__PURE__ */ u((c, l) => {
509
- const {
510
- bold: g,
511
- children: n,
512
- type: d,
513
- themeColor: o,
514
- tag: r,
515
- ...a
516
- } = c, t = x();
517
- switch (b(l, () => t.current, []), d) {
522
+ I.displayName = "TypoSubtitle";
523
+ I.propTypes = be;
524
+ var Le = ["bold", "children", "type", "themeColor", "fixedPadding", "tag"], Z = ae, K = /* @__PURE__ */ O(function(t, l) {
525
+ t.bold;
526
+ var g = t.children, r = g === void 0 ? Z.children : g, s = t.type, u = s === void 0 ? Z.type : s, p = t.themeColor, n = p === void 0 ? Z.themeColor : p, x = t.fixedPadding, d = x === void 0 ? Z.fixedPadding : x, h = t.tag, a = h === void 0 ? Z.tag : h, o = k(t, Le), i = C();
527
+ switch (T(l, function() {
528
+ return i.current;
529
+ }, []), u) {
518
530
  case "body1":
519
- return /* @__PURE__ */ i.createElement(f, s({
531
+ return /* @__PURE__ */ c.createElement(D, m({
520
532
  level: 1,
521
- tag: r,
522
- ref: t,
523
- themeColor: o
524
- }, a), n);
533
+ tag: a,
534
+ ref: i,
535
+ themeColor: n
536
+ }, o), r);
525
537
  case "body1-bold":
526
- return /* @__PURE__ */ i.createElement(f, s({
538
+ return /* @__PURE__ */ c.createElement(D, m({
527
539
  bold: !0,
528
540
  level: 1,
529
- tag: r,
530
- ref: t,
531
- themeColor: o
532
- }, a), n);
541
+ tag: a,
542
+ ref: i,
543
+ fixedPadding: d,
544
+ themeColor: n
545
+ }, o), r);
533
546
  case "body2-bold":
534
- return /* @__PURE__ */ i.createElement(f, s({
547
+ return /* @__PURE__ */ c.createElement(D, m({
535
548
  bold: !0,
536
549
  level: 2,
537
- tag: r,
538
- ref: t,
539
- themeColor: o
540
- }, a), n);
550
+ tag: a,
551
+ ref: i,
552
+ fixedPadding: d,
553
+ themeColor: n
554
+ }, o), r);
541
555
  case "body2":
542
- return /* @__PURE__ */ i.createElement(f, s({
556
+ return /* @__PURE__ */ c.createElement(D, m({
543
557
  level: 2,
544
- tag: r,
545
- ref: t,
546
- themeColor: o
547
- }, a), n);
558
+ tag: a,
559
+ ref: i,
560
+ fixedPadding: d,
561
+ themeColor: n
562
+ }, o), r);
548
563
  case "button":
549
- return /* @__PURE__ */ i.createElement(v, s({
550
- tag: r,
551
- ref: t,
552
- themeColor: o
553
- }, a), n);
564
+ return /* @__PURE__ */ c.createElement(G, m({
565
+ tag: a,
566
+ ref: i,
567
+ fixedPadding: d,
568
+ themeColor: n
569
+ }, o), r);
554
570
  case "caption":
555
- return /* @__PURE__ */ i.createElement(P, s({
556
- tag: r,
557
- ref: t,
558
- themeColor: o
559
- }, a), n);
571
+ return /* @__PURE__ */ c.createElement(z, m({
572
+ tag: a,
573
+ ref: i,
574
+ fixedPadding: d,
575
+ themeColor: n
576
+ }, o), r);
560
577
  case "caption-bold":
561
- return /* @__PURE__ */ i.createElement(P, s({
578
+ return /* @__PURE__ */ c.createElement(z, m({
562
579
  bold: !0,
563
- tag: r,
564
- ref: t,
565
- themeColor: o
566
- }, a), n);
580
+ tag: a,
581
+ ref: i,
582
+ fixedPadding: d,
583
+ themeColor: n
584
+ }, o), r);
567
585
  case "display1":
568
586
  case "headline1":
569
- return /* @__PURE__ */ i.createElement(h, s({
587
+ return /* @__PURE__ */ c.createElement(N, m({
570
588
  level: 1,
571
- tag: r,
572
- ref: t,
573
- themeColor: o
574
- }, a), n);
589
+ tag: a,
590
+ ref: i,
591
+ fixedPadding: d,
592
+ themeColor: n
593
+ }, o), r);
575
594
  case "display2":
576
595
  case "headline2":
577
- return /* @__PURE__ */ i.createElement(h, s({
596
+ return /* @__PURE__ */ c.createElement(N, m({
578
597
  level: 2,
579
- tag: r,
580
- ref: t,
581
- themeColor: o
582
- }, a), n);
598
+ tag: a,
599
+ ref: i,
600
+ fixedPadding: d,
601
+ themeColor: n
602
+ }, o), r);
583
603
  case "display3":
584
604
  case "headline3":
585
- return /* @__PURE__ */ i.createElement(h, s({
605
+ return /* @__PURE__ */ c.createElement(N, m({
586
606
  level: 3,
587
- tag: r,
588
- ref: t,
589
- themeColor: o
590
- }, a), n);
607
+ tag: a,
608
+ ref: i,
609
+ fixedPadding: d,
610
+ themeColor: n
611
+ }, o), r);
591
612
  case "display4":
592
613
  case "headline4":
593
- return /* @__PURE__ */ i.createElement(h, s({
614
+ return /* @__PURE__ */ c.createElement(N, m({
594
615
  level: 4,
595
- tag: r,
596
- ref: t,
597
- themeColor: o
598
- }, a), n);
616
+ tag: a,
617
+ ref: i,
618
+ fixedPadding: d,
619
+ themeColor: n
620
+ }, o), r);
599
621
  case "display5":
600
622
  case "headline5":
601
- return /* @__PURE__ */ i.createElement(h, s({
623
+ return /* @__PURE__ */ c.createElement(N, m({
602
624
  level: 5,
603
- tag: r,
604
- ref: t,
605
- themeColor: o
606
- }, a), n);
625
+ tag: a,
626
+ ref: i,
627
+ fixedPadding: d,
628
+ themeColor: n
629
+ }, o), r);
607
630
  case "display6":
608
631
  case "headline6":
609
- return /* @__PURE__ */ i.createElement(h, s({
632
+ return /* @__PURE__ */ c.createElement(N, m({
610
633
  level: 6,
611
- tag: r,
612
- ref: t,
613
- themeColor: o
614
- }, a), n);
634
+ tag: a,
635
+ ref: i,
636
+ fixedPadding: d,
637
+ themeColor: n
638
+ }, o), r);
615
639
  case "overline":
616
- return /* @__PURE__ */ i.createElement(B, s({
617
- tag: r,
618
- ref: t,
619
- themeColor: o
620
- }, a), n);
640
+ return /* @__PURE__ */ c.createElement(U, m({
641
+ tag: a,
642
+ ref: i,
643
+ fixedPadding: d,
644
+ themeColor: n
645
+ }, o), r);
621
646
  case "subtitle1":
622
- return /* @__PURE__ */ i.createElement(C, s({
623
- tag: r,
624
- ref: t,
625
- themeColor: o
626
- }, a, {
647
+ return /* @__PURE__ */ c.createElement(I, m({
648
+ tag: a,
649
+ ref: i,
650
+ fixedPadding: d,
651
+ themeColor: n
652
+ }, o, {
627
653
  level: 1
628
- }), n);
654
+ }), r);
629
655
  case "subtitle1-bold":
630
- return /* @__PURE__ */ i.createElement(C, s({
656
+ return /* @__PURE__ */ c.createElement(I, m({
631
657
  bold: !0,
632
- tag: r,
633
- ref: t,
634
- themeColor: o
635
- }, a, {
658
+ tag: a,
659
+ ref: i,
660
+ fixedPadding: d,
661
+ themeColor: n
662
+ }, o, {
636
663
  level: 1
637
- }), n);
664
+ }), r);
638
665
  case "subtitle2-bold":
639
- return /* @__PURE__ */ i.createElement(C, s({
666
+ return /* @__PURE__ */ c.createElement(I, m({
640
667
  bold: !0,
641
- tag: r,
642
- ref: t,
643
- themeColor: o
644
- }, a, {
668
+ tag: a,
669
+ ref: i,
670
+ fixedPadding: d,
671
+ themeColor: n
672
+ }, o, {
645
673
  level: 2
646
- }), n);
674
+ }), r);
647
675
  case "subtitle2":
648
- return /* @__PURE__ */ i.createElement(C, s({
676
+ return /* @__PURE__ */ c.createElement(I, m({
649
677
  level: 2,
650
- tag: r,
651
- ref: t,
652
- themeColor: o
653
- }, a), n);
678
+ tag: a,
679
+ ref: i,
680
+ fixedPadding: d,
681
+ themeColor: n
682
+ }, o), r);
654
683
  default:
655
- return /* @__PURE__ */ i.createElement(f, s({
656
- tag: r,
657
- ref: t,
658
- themeColor: o
659
- }, a, {
684
+ return /* @__PURE__ */ c.createElement(D, m({
685
+ tag: a,
686
+ ref: i,
687
+ fixedPadding: d,
688
+ themeColor: n
689
+ }, o, {
660
690
  level: 1
661
- }), n);
691
+ }), r);
662
692
  }
663
693
  });
664
- D.displayName = "Typography";
665
- D.propTypes = z;
666
- D.defaultProps = F;
694
+ K.displayName = "Typography";
695
+ K.propTypes = oe;
667
696
  export {
668
- f as T,
669
- P as a,
670
- h as b,
671
- v as c,
672
- C as d,
673
- D as e
697
+ D as T,
698
+ z as a,
699
+ N as b,
700
+ G as c,
701
+ I as d,
702
+ K as e
674
703
  };