@telefonica/mistica 16.19.0 → 16.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/css/mistica-common.css +692 -8
  2. package/css/mistica.css +1 -1
  3. package/dist/accordion.css-mistica.js +6 -6
  4. package/dist/align.css-mistica.js +1 -1
  5. package/dist/avatar.css-mistica.js +1 -1
  6. package/dist/badge.css-mistica.js +1 -1
  7. package/dist/box.css-mistica.js +13 -13
  8. package/dist/boxed.css-mistica.js +24 -24
  9. package/dist/button-group.css-mistica.js +1 -1
  10. package/dist/button-layout.css-mistica.js +13 -13
  11. package/dist/button.css-mistica.js +16 -16
  12. package/dist/callout.css-mistica.js +5 -5
  13. package/dist/card.css-mistica.js +3 -3
  14. package/dist/card.js +74 -74
  15. package/dist/carousel.css-mistica.js +6 -6
  16. package/dist/checkbox.css-mistica.js +7 -7
  17. package/dist/chip.css-mistica.js +12 -12
  18. package/dist/circle.css-mistica.js +1 -1
  19. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  20. package/dist/community/blocks.css-mistica.js +1 -1
  21. package/dist/community/example-component.css-mistica.js +1 -1
  22. package/dist/counter.css-mistica.js +1 -1
  23. package/dist/cover-hero.css-mistica.js +3 -3
  24. package/dist/credit-card-number-field.css-mistica.js +3 -3
  25. package/dist/date-field.css-mistica.js +1 -1
  26. package/dist/date-time-picker.css-mistica.js +1 -1
  27. package/dist/dialog.css-mistica.js +4 -4
  28. package/dist/divider.css-mistica.js +2 -2
  29. package/dist/double-field.css-mistica.js +2 -2
  30. package/dist/drawer.css-mistica.js +1 -1
  31. package/dist/empty-state-card.css-mistica.js +1 -1
  32. package/dist/empty-state.css-mistica.js +5 -5
  33. package/dist/fade-in.css-mistica.js +1 -1
  34. package/dist/feedback.css-mistica.js +1 -1
  35. package/dist/fixed-footer-layout.css-mistica.js +4 -4
  36. package/dist/form.css-mistica.js +1 -1
  37. package/dist/grid-layout.css-mistica.js +3 -3
  38. package/dist/grid.css-mistica.js +122 -122
  39. package/dist/header.css-mistica.js +1 -1
  40. package/dist/hero.css-mistica.js +2 -2
  41. package/dist/highlighted-card.css-mistica.js +4 -4
  42. package/dist/horizontal-scroll.css-mistica.js +1 -1
  43. package/dist/icon-button.css-mistica.js +42 -42
  44. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  45. package/dist/icons/icon-error.css-mistica.js +1 -1
  46. package/dist/image.css-mistica.js +2 -2
  47. package/dist/inline.css-mistica.js +6 -6
  48. package/dist/list.css-mistica.js +1 -1
  49. package/dist/list.d.ts +1 -0
  50. package/dist/list.js +138 -132
  51. package/dist/loading-bar.css-mistica.js +1 -1
  52. package/dist/loading-screen.css-mistica.js +4 -4
  53. package/dist/logo.css-mistica.js +5 -5
  54. package/dist/maybe-dismissable.css-mistica.js +1 -1
  55. package/dist/menu.css-mistica.js +12 -12
  56. package/dist/mosaic.css-mistica.js +1 -1
  57. package/dist/navigation-bar.css-mistica.js +16 -16
  58. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  59. package/dist/package-version.js +1 -1
  60. package/dist/pin-field.css-mistica.js +1 -1
  61. package/dist/popover.css-mistica.js +1 -1
  62. package/dist/progress-bar.css-mistica.js +4 -4
  63. package/dist/radio-button.css-mistica.js +14 -14
  64. package/dist/rating.css-mistica.js +2 -2
  65. package/dist/responsive-layout.css-mistica.js +4 -4
  66. package/dist/screen-reader-only.css-mistica.js +1 -1
  67. package/dist/select.css-mistica.js +15 -15
  68. package/dist/sheet-action-row.css-mistica.js +1 -1
  69. package/dist/sheet-common.css-mistica.js +1 -1
  70. package/dist/sheet-info.css-mistica.js +1 -1
  71. package/dist/skeletons.css-mistica.js +4 -4
  72. package/dist/skins/skin-contract.css-mistica.js +346 -346
  73. package/dist/slider.css-mistica.js +10 -10
  74. package/dist/snackbar.css-mistica.js +4 -4
  75. package/dist/spinner.css-mistica.js +1 -1
  76. package/dist/stack.css-mistica.js +5 -5
  77. package/dist/stacking-group.css-mistica.js +1 -1
  78. package/dist/stepper.css-mistica.js +2 -2
  79. package/dist/switch-component.css-mistica.js +26 -26
  80. package/dist/table.css-mistica.js +8 -8
  81. package/dist/tabs.css-mistica.js +12 -12
  82. package/dist/tabs.d.ts +3 -2
  83. package/dist/tabs.js +17 -16
  84. package/dist/tag.css-mistica.js +1 -1
  85. package/dist/text-field-base.css-mistica.js +1 -1
  86. package/dist/text-field-components.css-mistica.js +3 -3
  87. package/dist/text-link.css-mistica.js +3 -3
  88. package/dist/text.css-mistica.js +7 -7
  89. package/dist/theme-context.css-mistica.js +386 -386
  90. package/dist/timeline.css-mistica.js +10 -10
  91. package/dist/timer.css-mistica.js +6 -6
  92. package/dist/tooltip.css-mistica.js +1 -1
  93. package/dist/touchable.css-mistica.js +1 -1
  94. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  95. package/dist/video.css-mistica.js +1 -1
  96. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  97. package/dist-es/accordion.css-mistica.js +6 -6
  98. package/dist-es/align.css-mistica.js +1 -1
  99. package/dist-es/avatar.css-mistica.js +1 -1
  100. package/dist-es/badge.css-mistica.js +1 -1
  101. package/dist-es/box.css-mistica.js +13 -13
  102. package/dist-es/boxed.css-mistica.js +23 -23
  103. package/dist-es/button-group.css-mistica.js +1 -1
  104. package/dist-es/button-layout.css-mistica.js +13 -13
  105. package/dist-es/button.css-mistica.js +16 -16
  106. package/dist-es/callout.css-mistica.js +5 -5
  107. package/dist-es/card.css-mistica.js +3 -3
  108. package/dist-es/card.js +74 -74
  109. package/dist-es/carousel.css-mistica.js +6 -6
  110. package/dist-es/checkbox.css-mistica.js +7 -7
  111. package/dist-es/chip.css-mistica.js +12 -12
  112. package/dist-es/circle.css-mistica.js +1 -1
  113. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  114. package/dist-es/community/blocks.css-mistica.js +1 -1
  115. package/dist-es/community/example-component.css-mistica.js +1 -1
  116. package/dist-es/counter.css-mistica.js +1 -1
  117. package/dist-es/cover-hero.css-mistica.js +3 -3
  118. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  119. package/dist-es/date-field.css-mistica.js +1 -1
  120. package/dist-es/date-time-picker.css-mistica.js +1 -1
  121. package/dist-es/dialog.css-mistica.js +4 -4
  122. package/dist-es/divider.css-mistica.js +2 -2
  123. package/dist-es/double-field.css-mistica.js +2 -2
  124. package/dist-es/drawer.css-mistica.js +1 -1
  125. package/dist-es/empty-state-card.css-mistica.js +1 -1
  126. package/dist-es/empty-state.css-mistica.js +5 -5
  127. package/dist-es/fade-in.css-mistica.js +1 -1
  128. package/dist-es/feedback.css-mistica.js +1 -1
  129. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  130. package/dist-es/form.css-mistica.js +1 -1
  131. package/dist-es/grid-layout.css-mistica.js +3 -3
  132. package/dist-es/grid.css-mistica.js +122 -122
  133. package/dist-es/header.css-mistica.js +1 -1
  134. package/dist-es/hero.css-mistica.js +2 -2
  135. package/dist-es/highlighted-card.css-mistica.js +4 -4
  136. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  137. package/dist-es/icon-button.css-mistica.js +42 -42
  138. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  139. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  140. package/dist-es/image.css-mistica.js +2 -2
  141. package/dist-es/inline.css-mistica.js +6 -6
  142. package/dist-es/list.css-mistica.js +1 -1
  143. package/dist-es/list.js +202 -196
  144. package/dist-es/loading-bar.css-mistica.js +1 -1
  145. package/dist-es/loading-screen.css-mistica.js +4 -4
  146. package/dist-es/logo.css-mistica.js +5 -5
  147. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  148. package/dist-es/menu.css-mistica.js +12 -12
  149. package/dist-es/mosaic.css-mistica.js +1 -1
  150. package/dist-es/navigation-bar.css-mistica.js +16 -16
  151. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  152. package/dist-es/package-version.js +1 -1
  153. package/dist-es/pin-field.css-mistica.js +1 -1
  154. package/dist-es/popover.css-mistica.js +1 -1
  155. package/dist-es/progress-bar.css-mistica.js +4 -4
  156. package/dist-es/radio-button.css-mistica.js +14 -14
  157. package/dist-es/rating.css-mistica.js +2 -2
  158. package/dist-es/responsive-layout.css-mistica.js +4 -4
  159. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  160. package/dist-es/select.css-mistica.js +15 -15
  161. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  162. package/dist-es/sheet-common.css-mistica.js +1 -1
  163. package/dist-es/sheet-info.css-mistica.js +1 -1
  164. package/dist-es/skeletons.css-mistica.js +4 -4
  165. package/dist-es/skins/skin-contract.css-mistica.js +346 -346
  166. package/dist-es/slider.css-mistica.js +10 -10
  167. package/dist-es/snackbar.css-mistica.js +4 -4
  168. package/dist-es/spinner.css-mistica.js +1 -1
  169. package/dist-es/stack.css-mistica.js +5 -5
  170. package/dist-es/stacking-group.css-mistica.js +1 -1
  171. package/dist-es/stepper.css-mistica.js +2 -2
  172. package/dist-es/style.css +1 -1
  173. package/dist-es/switch-component.css-mistica.js +26 -26
  174. package/dist-es/table.css-mistica.js +8 -8
  175. package/dist-es/tabs.css-mistica.js +12 -12
  176. package/dist-es/tabs.js +37 -36
  177. package/dist-es/tag.css-mistica.js +1 -1
  178. package/dist-es/text-field-base.css-mistica.js +1 -1
  179. package/dist-es/text-field-components.css-mistica.js +3 -3
  180. package/dist-es/text-link.css-mistica.js +3 -3
  181. package/dist-es/text.css-mistica.js +7 -7
  182. package/dist-es/theme-context.css-mistica.js +386 -386
  183. package/dist-es/timeline.css-mistica.js +10 -10
  184. package/dist-es/timer.css-mistica.js +6 -6
  185. package/dist-es/tooltip.css-mistica.js +1 -1
  186. package/dist-es/touchable.css-mistica.js +1 -1
  187. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  188. package/dist-es/video.css-mistica.js +1 -1
  189. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  190. package/package.json +4 -3
package/dist-es/list.js CHANGED
@@ -78,29 +78,29 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsx as t, jsxs as T } from "react/jsx-runtime";
81
+ import { jsx as t, jsxs as L } from "react/jsx-runtime";
82
82
  import * as m from "react";
83
- import s from "classnames";
83
+ import c from "classnames";
84
84
  import { BaseTouchable as ae } from "./touchable.js";
85
- import { Text3 as ge, Text1 as we, Text2 as G } from "./text.js";
86
- import h from "./box.js";
87
- import C from "./stack.js";
88
- import ye from "./badge.js";
85
+ import { Text3 as we, Text1 as ye, Text2 as z } from "./text.js";
86
+ import s from "./box.js";
87
+ import A from "./stack.js";
88
+ import Re from "./badge.js";
89
89
  import { useIsInverseOrMediaVariant as de } from "./theme-variant-context.js";
90
- import Re from "./icons/icon-chevron.js";
91
- import Be from "./switch-component.js";
92
- import ie, { useRadioContext as Ie } from "./radio-button.js";
93
- import Ce from "./checkbox.js";
94
- import { InternalBoxed as Te } from "./boxed.js";
95
- import Ne from "./divider.js";
90
+ import Be from "./icons/icon-chevron.js";
91
+ import Ie from "./switch-component.js";
92
+ import ie, { useRadioContext as Ce } from "./radio-button.js";
93
+ import Te from "./checkbox.js";
94
+ import { InternalBoxed as Ne } from "./boxed.js";
95
+ import Ae from "./divider.js";
96
96
  import { getPrefixedDataAttributes as X } from "./utils/dom.js";
97
- import { rowContent as J, touchableBackground as K, touchableBackgroundInverse as Q, pointer as re, rowContentPadding as Ae, row as Le, boxed as ke, content as Se, assetContainer as Ve, center as U, disabled as I, asset as Pe, rowBody as Ee, badge as Oe, rightContent as Xe, rightRestrictedWidth as De, detail as Me, detailRight as We, dualActionContainer as je, dualActionLeft as He, dualActionDivider as Fe, dualActionRight as qe } from "./list.css-mistica.js";
98
- import { vars as ze } from "./image.css-mistica.js";
97
+ import { rowContent as G, touchableBackground as J, touchableBackgroundInverse as K, pointer as re, rowContentPadding as Le, row as ke, boxed as Se, content as Ve, assetContainer as Ee, center as Q, disabled as N, asset as Oe, rowBody as Xe, badge as De, rightContent as Me, rightRestrictedWidth as We, detail as je, detailRight as He, dualActionContainer as Fe, dualActionLeft as Pe, dualActionDivider as qe, dualActionRight as ze } from "./list.css-mistica.js";
98
+ import { vars as Ge } from "./image.css-mistica.js";
99
99
  import { vars as d } from "./skins/skin-contract.css-mistica.js";
100
- import { applyCssVars as Ge } from "./utils/css.js";
100
+ import { applyCssVars as Je } from "./utils/css.js";
101
101
  import { IconButton as ne, ToggleIconButton as oe } from "./icon-button.js";
102
- import Je from "./screen-reader-only.js";
103
- const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
102
+ import Ke from "./screen-reader-only.js";
103
+ const Qe = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
104
104
  centerY: a
105
105
  }) : a ? /* @__PURE__ */ t("div", {
106
106
  style: {
@@ -111,49 +111,49 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
111
111
  children: /* @__PURE__ */ t("div", {
112
112
  children: e
113
113
  })
114
- }) : e, Qe = (param)=>{
115
- let { withChevron: e, headline: a, headlineRef: i, extraRef: o, title: l, titleAs: x, titleLinesMax: g, subtitle: v, subtitleLinesMax: D, description: y, descriptionLinesMax: M, detail: u, asset: E, danger: N, badge: A, right: w, rightRef: b, extra: L, labelId: W, disabled: c, control: k } = param;
116
- const S = de(), V = [
114
+ }) : e, Ue = (param)=>{
115
+ let { withChevron: e, headline: a, headlineRef: i, extraRef: o, title: l, titleAs: g, titleLinesMax: w, subtitle: f, subtitleLinesMax: D, description: B, descriptionLinesMax: M, detail: h, asset: O, danger: k, badge: S, right: y, rightRef: u, extra: I, labelId: W, disabled: v, control: x } = param;
116
+ const V = de(), R = [
117
117
  a,
118
118
  l,
119
- v,
120
- y,
121
- L
119
+ f,
120
+ B,
121
+ I
122
122
  ].filter(Boolean).length === 1;
123
- return /* @__PURE__ */ T("div", {
124
- className: Se,
123
+ return /* @__PURE__ */ L("div", {
124
+ className: Ve,
125
125
  id: W,
126
126
  children: [
127
- E && /* @__PURE__ */ t("div", {
128
- className: s(Ve, {
129
- [U]: V,
130
- [I]: c
127
+ O && /* @__PURE__ */ t("div", {
128
+ className: c(Ee, {
129
+ [Q]: R,
130
+ [N]: v
131
131
  }),
132
132
  "aria-hidden": !0,
133
133
  "data-testid": "asset",
134
134
  children: /* @__PURE__ */ t("div", {
135
- className: Pe,
136
- style: Ge({
137
- color: N ? S ? d.colors.textErrorInverse : d.colors.textError : S ? d.colors.textPrimaryInverse : d.colors.textPrimary,
138
- [ze.mediaBorderRadius]: d.borderRadii.mediaSmall
135
+ className: Oe,
136
+ style: Je({
137
+ color: k ? V ? d.colors.textErrorInverse : d.colors.textError : V ? d.colors.textPrimaryInverse : d.colors.textPrimary,
138
+ [Ge.mediaBorderRadius]: d.borderRadii.mediaSmall
139
139
  }),
140
- children: E
140
+ children: O
141
141
  })
142
142
  }),
143
- /* @__PURE__ */ T("div", {
144
- className: s(Ee, {
145
- [I]: c
143
+ /* @__PURE__ */ L("div", {
144
+ className: c(Xe, {
145
+ [N]: v
146
146
  }),
147
147
  style: {
148
- justifyContent: V ? "center" : "flex-start"
148
+ justifyContent: R ? "center" : "flex-start"
149
149
  },
150
150
  children: [
151
- /* @__PURE__ */ t(ge, {
151
+ /* @__PURE__ */ t(we, {
152
152
  regular: !0,
153
- color: N ? d.colors.textError : d.colors.textPrimary,
154
- truncate: g,
153
+ color: k ? d.colors.textError : d.colors.textPrimary,
154
+ truncate: w,
155
155
  hyphens: "auto",
156
- as: x,
156
+ as: g,
157
157
  dataAttributes: {
158
158
  testid: "title"
159
159
  },
@@ -165,7 +165,7 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
165
165
  order: -1,
166
166
  paddingBottom: 4
167
167
  },
168
- children: /* @__PURE__ */ t(we, {
168
+ children: /* @__PURE__ */ t(ye, {
169
169
  regular: !0,
170
170
  color: d.colors.textPrimary,
171
171
  hyphens: "auto",
@@ -175,9 +175,9 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
175
175
  children: a
176
176
  })
177
177
  }),
178
- v && /* @__PURE__ */ t(h, {
178
+ f && /* @__PURE__ */ t(s, {
179
179
  paddingTop: 2,
180
- children: /* @__PURE__ */ t(G, {
180
+ children: /* @__PURE__ */ t(z, {
181
181
  regular: !0,
182
182
  color: d.colors.textPrimary,
183
183
  truncate: D,
@@ -185,12 +185,12 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
185
185
  dataAttributes: {
186
186
  testid: "subtitle"
187
187
  },
188
- children: v
188
+ children: f
189
189
  })
190
190
  }),
191
- y && /* @__PURE__ */ t(h, {
191
+ B && /* @__PURE__ */ t(s, {
192
192
  paddingTop: 2,
193
- children: /* @__PURE__ */ t(G, {
193
+ children: /* @__PURE__ */ t(z, {
194
194
  regular: !0,
195
195
  color: d.colors.textSecondary,
196
196
  truncate: M,
@@ -198,107 +198,107 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
198
198
  dataAttributes: {
199
199
  testid: "description"
200
200
  },
201
- children: y
201
+ children: B
202
202
  })
203
203
  }),
204
- L && /* @__PURE__ */ t(h, {
204
+ I && /* @__PURE__ */ t(s, {
205
205
  ref: o,
206
206
  paddingTop: 2,
207
207
  dataAttributes: {
208
208
  testid: "slot"
209
209
  },
210
- children: L
210
+ children: I
211
211
  })
212
212
  ]
213
213
  }),
214
- A && /* @__PURE__ */ t(h, {
214
+ S && /* @__PURE__ */ t(s, {
215
215
  paddingLeft: 16,
216
216
  children: /* @__PURE__ */ t("div", {
217
- className: s(Oe, {
218
- [I]: c
217
+ className: c(De, {
218
+ [N]: v
219
219
  }),
220
- children: /* @__PURE__ */ t(ye, {
221
- value: A === !0 ? void 0 : A
220
+ children: /* @__PURE__ */ t(Re, {
221
+ value: S === !0 ? void 0 : S
222
222
  })
223
223
  })
224
224
  }),
225
- (u || w || e || k) && /* @__PURE__ */ T("div", {
226
- className: s(Xe, {
227
- [De]: !!u
225
+ (h || y || e || x) && /* @__PURE__ */ L("div", {
226
+ className: c(Me, {
227
+ [We]: !!h
228
228
  }),
229
229
  children: [
230
- u && /* @__PURE__ */ t("div", {
231
- className: s(Me, {
232
- [I]: c
230
+ h && /* @__PURE__ */ t("div", {
231
+ className: c(je, {
232
+ [N]: v
233
233
  }),
234
- children: /* @__PURE__ */ t(G, {
234
+ children: /* @__PURE__ */ t(z, {
235
235
  regular: !0,
236
236
  color: d.colors.textSecondary,
237
237
  hyphens: "auto",
238
238
  dataAttributes: {
239
239
  testid: "detail"
240
240
  },
241
- children: u
241
+ children: h
242
242
  })
243
243
  }),
244
- w && /* @__PURE__ */ t("div", {
245
- className: s({
246
- [We]: !!u,
247
- [I]: c
244
+ y && /* @__PURE__ */ t("div", {
245
+ className: c({
246
+ [He]: !!h,
247
+ [N]: v
248
248
  }),
249
- ref: b,
249
+ ref: u,
250
250
  "data-testid": "endSlot",
251
- children: Ke(w, V)
251
+ children: Qe(y, R)
252
252
  }),
253
253
  e && /* @__PURE__ */ t("div", {
254
254
  style: {
255
- paddingLeft: u || w ? 4 : 0
255
+ paddingLeft: h || y ? 4 : 0
256
256
  },
257
- className: s(U, {
258
- [I]: c
257
+ className: c(Q, {
258
+ [N]: v
259
259
  }),
260
260
  "data-testid": "chevron",
261
- children: /* @__PURE__ */ t(Re, {
262
- color: S ? d.colors.inverse : d.colors.neutralMedium,
261
+ children: /* @__PURE__ */ t(Be, {
262
+ color: V ? d.colors.inverse : d.colors.neutralMedium,
263
263
  direction: "right"
264
264
  })
265
265
  }),
266
- k && /* @__PURE__ */ t("div", {
266
+ x && /* @__PURE__ */ t("div", {
267
267
  style: {
268
- paddingLeft: u || w ? 8 : 0
268
+ paddingLeft: h || y ? 8 : 0
269
269
  },
270
- className: U,
271
- children: k
270
+ className: Q,
271
+ children: x
272
272
  })
273
273
  ]
274
274
  })
275
275
  ]
276
276
  });
277
- }, Ue = (param)=>{
277
+ }, Ye = (param)=>{
278
278
  let { value: e, defaultValue: a, onChange: i } = param;
279
- const o = e !== void 0, [l, x] = m.useState(!!a);
279
+ const o = e !== void 0, [l, g] = m.useState(!!a);
280
280
  return [
281
281
  o ? !!e : l,
282
282
  ()=>{
283
- o || x(!l), i == null || i(o ? !e : !l);
283
+ o || g(!l), i == null || i(o ? !e : !l);
284
284
  }
285
285
  ];
286
- }, Ye = (e)=>[
286
+ }, Ze = (e)=>[
287
287
  "switch",
288
288
  "checkbox",
289
289
  "radioValue",
290
290
  "iconButton"
291
291
  ].some((a)=>e[a] !== void 0), le = /*#__PURE__*/ m.forwardRef((e, a)=>{
292
292
  var ee, te;
293
- const i = m.useId(), o = de(), { asset: l, headline: x, title: g, titleAs: v, titleLinesMax: D, subtitle: y, subtitleLinesMax: M, description: u, descriptionLinesMax: E, detail: N, danger: A, badge: w, role: b, extra: L, withChevron: W, dataAttributes: c, right: k, "aria-label": S, tabIndex: O } = e, [V, ce] = m.useState(""), [se, he] = m.useState(""), [ue, me] = m.useState(""), be = [
294
- g,
295
- V,
296
- y,
297
- u,
298
- se,
299
- N,
300
- ue
301
- ].filter(Boolean).join(" "), R = S !== null && S !== void 0 ? S : e.href || e.to ? be : void 0, fe = Ie(), f = e.disabled || e.radioValue !== void 0 && fe.disabled, j = !f && !o, H = !f && o, Y = Ye(e), P = !!e.onPress || !!e.href || !!e.to, ve = Y ? !1 : W !== null && W !== void 0 ? W : P, Z = {
293
+ const i = m.useId(), o = de(), { asset: l, headline: g, title: w, titleAs: f, titleLinesMax: D, subtitle: B, subtitleLinesMax: M, description: h, descriptionLinesMax: O, detail: k, danger: S, badge: y, role: u, touchableRole: I, extra: W, withChevron: v, dataAttributes: x, right: V, "aria-label": U, tabIndex: R } = e, [ce, se] = m.useState(""), [he, ue] = m.useState(""), [me, be] = m.useState(""), fe = [
294
+ w,
295
+ ce,
296
+ B,
297
+ h,
298
+ he,
299
+ k,
300
+ me
301
+ ].filter(Boolean).join(" "), C = U !== null && U !== void 0 ? U : e.href || e.to ? fe : void 0, ve = Ce(), b = e.disabled || e.radioValue !== void 0 && ve.disabled, j = !b && !o, H = !b && o, Y = Ze(e), E = !!e.onPress || !!e.href || !!e.to, xe = Y ? !1 : v !== null && v !== void 0 ? v : E, Z = {
302
302
  href: e.href,
303
303
  newTab: e.newTab,
304
304
  loadOnTop: e.loadOnTop,
@@ -308,154 +308,158 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
308
308
  onNavigate: e.onNavigate,
309
309
  onPress: e.onPress,
310
310
  trackingEvent: e.trackingEvent
311
- }, [_, $] = Ue(e.switch || e.checkbox || {}), B = (r)=>/* @__PURE__ */ t(Qe, {
311
+ }, [_, $] = Ye(e.switch || e.checkbox || {}), T = (r)=>/* @__PURE__ */ t(Ue, {
312
312
  asset: l,
313
- headline: x,
313
+ headline: g,
314
314
  headlineRef: (n)=>{
315
- n && ce(n.textContent || "");
315
+ n && se(n.textContent || "");
316
316
  },
317
- title: g,
318
- titleAs: v,
319
- subtitle: y,
320
- description: u,
321
- badge: w,
317
+ title: w,
318
+ titleAs: f,
319
+ subtitle: B,
320
+ description: h,
321
+ badge: y,
322
322
  titleLinesMax: D,
323
323
  subtitleLinesMax: M,
324
- descriptionLinesMax: E,
325
- detail: N,
326
- danger: A,
327
- right: k,
324
+ descriptionLinesMax: O,
325
+ detail: k,
326
+ danger: S,
327
+ right: V,
328
328
  rightRef: (n)=>{
329
- n && me(n.innerText || n.textContent || "");
329
+ n && be(n.innerText || n.textContent || "");
330
330
  },
331
331
  control: r == null ? void 0 : r.control,
332
- extra: L,
332
+ role: r == null ? void 0 : r.role,
333
+ extra: W,
333
334
  extraRef: (n)=>{
334
- n && he(n.innerText || n.textContent || "");
335
+ n && ue(n.innerText || n.textContent || "");
335
336
  },
336
337
  labelId: r == null ? void 0 : r.labelId,
337
- disabled: f,
338
- withChevron: ve
338
+ disabled: b,
339
+ withChevron: xe
339
340
  });
340
- if (P && !Y) return /* @__PURE__ */ t(ae, _object_spread_props(_object_spread({
341
+ if (E && !Y) return /* @__PURE__ */ t(ae, _object_spread_props(_object_spread({
341
342
  ref: a,
342
- className: s(J, {
343
- [K]: j,
344
- [Q]: H,
345
- [re]: !f
343
+ className: c(G, {
344
+ [J]: j,
345
+ [K]: H,
346
+ [re]: !b
346
347
  })
347
348
  }, Z), {
348
- role: b,
349
- dataAttributes: c,
350
- disabled: f,
351
- "aria-label": R,
352
- tabIndex: O,
353
- children: /* @__PURE__ */ t(h, {
349
+ role: I,
350
+ dataAttributes: x,
351
+ disabled: b,
352
+ "aria-label": C,
353
+ tabIndex: R,
354
+ children: /* @__PURE__ */ t(s, {
354
355
  paddingX: 16,
355
356
  "aria-hidden": !!e.to || !!e.href || void 0,
356
- children: B()
357
+ children: T({
358
+ role: u
359
+ })
357
360
  })
358
361
  }));
359
- const F = (r)=>/* @__PURE__ */ T("div", _object_spread_props(_object_spread({
360
- className: je,
362
+ const F = (r)=>/* @__PURE__ */ L("div", _object_spread_props(_object_spread({
363
+ className: Fe,
361
364
  ref: a
362
- }, X(c)), {
365
+ }, X(x)), {
363
366
  children: [
364
367
  /* @__PURE__ */ t(ae, _object_spread_props(_object_spread({
365
- disabled: f
368
+ disabled: b
366
369
  }, Z), {
367
- role: b,
368
- className: s(He, {
369
- [K]: j,
370
- [Q]: H
370
+ role: I,
371
+ className: c(Pe, {
372
+ [J]: j,
373
+ [K]: H
371
374
  }),
372
- "aria-label": R,
373
- tabIndex: O,
374
- children: B({
375
- labelId: i
375
+ "aria-label": C,
376
+ tabIndex: R,
377
+ children: T({
378
+ labelId: i,
379
+ role: u
376
380
  })
377
381
  })),
378
382
  /* @__PURE__ */ t("div", {
379
- className: Fe
383
+ className: qe
380
384
  }),
381
385
  r
382
386
  ]
383
- })), q = (r, n)=>/* @__PURE__ */ t("div", _object_spread_props(_object_spread({
384
- className: s(J, {
385
- [K]: j && n,
386
- [Q]: H && n,
387
- [re]: !f && n
387
+ })), P = (r, n)=>/* @__PURE__ */ t("div", _object_spread_props(_object_spread({
388
+ className: c(G, {
389
+ [J]: j && n,
390
+ [K]: H && n,
391
+ [re]: !b && n
388
392
  }),
389
393
  ref: a
390
- }, X(c)), {
394
+ }, X(x)), {
391
395
  children: r
392
396
  }));
393
397
  if (e.switch || e.checkbox) {
394
398
  var _ref, _ref1;
395
- const r = e.switch ? Be : Ce, n = (_ref1 = (_ref = (ee = e.switch) == null ? void 0 : ee.name) !== null && _ref !== void 0 ? _ref : (te = e.checkbox) == null ? void 0 : te.name) !== null && _ref1 !== void 0 ? _ref1 : i;
396
- return P ? F(/* @__PURE__ */ t(r, {
397
- disabled: f,
399
+ const r = e.switch ? Ie : Te, n = (_ref1 = (_ref = (ee = e.switch) == null ? void 0 : ee.name) !== null && _ref !== void 0 ? _ref : (te = e.checkbox) == null ? void 0 : te.name) !== null && _ref1 !== void 0 ? _ref1 : i;
400
+ return E ? F(/* @__PURE__ */ t(r, {
401
+ disabled: b,
398
402
  name: n,
399
403
  checked: _,
400
- "aria-label": R,
404
+ "aria-label": C,
401
405
  "aria-labelledby": i,
402
406
  onChange: $,
403
407
  render: (param)=>{
404
- let { controlElement: z } = param;
408
+ let { controlElement: q } = param;
405
409
  return /* @__PURE__ */ t("div", {
406
- className: qe,
407
- children: z
410
+ className: ze,
411
+ children: q
408
412
  });
409
413
  }
410
- })) : q(/* @__PURE__ */ t(r, {
411
- disabled: f,
414
+ })) : P(/* @__PURE__ */ t(r, {
415
+ disabled: b,
412
416
  name: n,
413
417
  checked: _,
414
- "aria-label": R,
418
+ "aria-label": C,
415
419
  "aria-labelledby": i,
416
420
  onChange: $,
417
421
  render: (param)=>{
418
- let { controlElement: z, labelId: xe } = param;
419
- return /* @__PURE__ */ t(h, {
422
+ let { controlElement: q, labelId: ge } = param;
423
+ return /* @__PURE__ */ t(s, {
420
424
  paddingX: 16,
421
- role: b,
422
- children: B({
423
- labelId: xe,
424
- control: /* @__PURE__ */ t(C, {
425
+ role: u,
426
+ children: T({
427
+ labelId: ge,
428
+ control: /* @__PURE__ */ t(A, {
425
429
  space: "around",
426
- children: z
430
+ children: q
427
431
  })
428
432
  })
429
433
  });
430
434
  }
431
435
  }), !0);
432
436
  }
433
- if (e.radioValue) return P ? F(/* @__PURE__ */ t(ie, {
437
+ if (e.radioValue) return E ? F(/* @__PURE__ */ t(ie, {
434
438
  value: e.radioValue,
435
- "aria-label": R,
439
+ "aria-label": C,
436
440
  "aria-labelledby": i,
437
441
  render: (param)=>{
438
442
  let { controlElement: r } = param;
439
- return /* @__PURE__ */ t(C, {
443
+ return /* @__PURE__ */ t(A, {
440
444
  space: "around",
441
- children: /* @__PURE__ */ t(h, {
445
+ children: /* @__PURE__ */ t(s, {
442
446
  paddingX: 16,
443
447
  children: r
444
448
  })
445
449
  });
446
450
  }
447
- })) : q(/* @__PURE__ */ t(ie, {
451
+ })) : P(/* @__PURE__ */ t(ie, {
448
452
  value: e.radioValue,
449
- "aria-label": R,
453
+ "aria-label": C,
450
454
  "aria-labelledby": i,
451
455
  render: (param)=>{
452
456
  let { controlElement: r } = param;
453
- return /* @__PURE__ */ t(h, {
457
+ return /* @__PURE__ */ t(s, {
454
458
  paddingX: 16,
455
- role: b,
456
- children: B({
459
+ role: u,
460
+ children: T({
457
461
  labelId: i,
458
- control: /* @__PURE__ */ t(C, {
462
+ control: /* @__PURE__ */ t(A, {
459
463
  space: "around",
460
464
  children: r
461
465
  })
@@ -463,9 +467,9 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
463
467
  });
464
468
  }
465
469
  }), !0);
466
- if (e.iconButton) return P ? F(/* @__PURE__ */ t(h, {
470
+ if (e.iconButton) return E ? F(/* @__PURE__ */ t(s, {
467
471
  padding: 16,
468
- children: /* @__PURE__ */ t(C, {
472
+ children: /* @__PURE__ */ t(A, {
469
473
  space: "around",
470
474
  children: e.iconButton.Icon ? /* @__PURE__ */ t(ne, _object_spread_props(_object_spread({}, e.iconButton), {
471
475
  disabled: e.disabled
@@ -473,49 +477,51 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
473
477
  disabled: e.disabled
474
478
  }))
475
479
  })
476
- })) : q(/* @__PURE__ */ t(h, {
480
+ })) : P(/* @__PURE__ */ t(s, {
477
481
  paddingX: 16,
478
- children: B({
482
+ children: T({
479
483
  labelId: i,
480
- control: /* @__PURE__ */ t(C, {
484
+ control: /* @__PURE__ */ t(A, {
481
485
  space: "around",
482
486
  children: e.iconButton.Icon ? /* @__PURE__ */ t(ne, _object_spread_props(_object_spread({}, e.iconButton), {
483
487
  disabled: e.disabled,
484
- role: b
488
+ role: u
485
489
  })) : /* @__PURE__ */ t(oe, _object_spread_props(_object_spread({}, e.iconButton), {
486
490
  disabled: e.disabled,
487
- role: b
491
+ role: u
488
492
  }))
489
493
  })
490
494
  })
491
495
  }));
492
496
  const p = !!e["aria-label"];
493
- return /* @__PURE__ */ T("div", _object_spread_props(_object_spread({
494
- className: s(J, Ae),
495
- role: b
496
- }, X(c)), {
497
+ return /* @__PURE__ */ L("div", _object_spread_props(_object_spread({
498
+ className: c(G, Le),
499
+ role: u
500
+ }, X(x)), {
497
501
  ref: a,
498
- tabIndex: O,
502
+ tabIndex: R,
499
503
  children: [
500
504
  /* @__PURE__ */ t("div", {
501
505
  "aria-hidden": p,
502
- children: B()
506
+ children: T({
507
+ role: u
508
+ })
503
509
  }),
504
- p && /* @__PURE__ */ t(Je, {
510
+ p && /* @__PURE__ */ t(Ke, {
505
511
  children: /* @__PURE__ */ t("span", {
506
512
  children: e["aria-label"]
507
513
  })
508
514
  })
509
515
  ]
510
516
  }));
511
- }), xt = /*#__PURE__*/ m.forwardRef((_param, o)=>{
517
+ }), gt = /*#__PURE__*/ m.forwardRef((_param, o)=>{
512
518
  var { dataAttributes: e, role: a = "listitem" } = _param, i = _object_without_properties(_param, [
513
519
  "dataAttributes",
514
520
  "role"
515
521
  ]);
516
522
  return /* @__PURE__ */ t("div", {
517
523
  role: a,
518
- className: Le,
524
+ className: ke,
519
525
  children: /* @__PURE__ */ t(le, _object_spread_props(_object_spread({}, i), {
520
526
  ref: o,
521
527
  dataAttributes: _object_spread({
@@ -524,30 +530,30 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
524
530
  }, e)
525
531
  }))
526
532
  });
527
- }), gt = (param)=>{
533
+ }), wt = (param)=>{
528
534
  let { children: e, ariaLabelledby: a, role: i = "list", dataAttributes: o } = param;
529
- const l = m.Children.toArray(e).filter(Boolean), x = l.length - 1;
535
+ const l = m.Children.toArray(e).filter(Boolean), g = l.length - 1;
530
536
  return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
531
537
  role: i,
532
538
  "aria-labelledby": a
533
539
  }, X(o, "RowList")), {
534
- children: l.map((g, v)=>/* @__PURE__ */ T(m.Fragment, {
540
+ children: l.map((w, f)=>/* @__PURE__ */ L(m.Fragment, {
535
541
  children: [
536
- g,
537
- v < x && /* @__PURE__ */ t(h, {
542
+ w,
543
+ f < g && /* @__PURE__ */ t(s, {
538
544
  paddingX: 16,
539
- children: /* @__PURE__ */ t(Ne, {})
545
+ children: /* @__PURE__ */ t(Ae, {})
540
546
  })
541
547
  ]
542
- }, v))
548
+ }, f))
543
549
  }));
544
- }, wt = /*#__PURE__*/ m.forwardRef((_param, i)=>{
550
+ }, yt = /*#__PURE__*/ m.forwardRef((_param, i)=>{
545
551
  var { dataAttributes: e } = _param, a = _object_without_properties(_param, [
546
552
  "dataAttributes"
547
553
  ]);
548
- return /* @__PURE__ */ t(Te, {
554
+ return /* @__PURE__ */ t(Ne, {
549
555
  overflow: "visible",
550
- className: ke,
556
+ className: Se,
551
557
  variant: a.isInverse ? "inverse" : "default",
552
558
  ref: i,
553
559
  dataAttributes: _object_spread({
@@ -556,9 +562,9 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
556
562
  }, e),
557
563
  children: /* @__PURE__ */ t(le, _object_spread({}, a))
558
564
  });
559
- }), yt = (param)=>{
565
+ }), Rt = (param)=>{
560
566
  let { children: e, ariaLabelledby: a, role: i = "list", dataAttributes: o } = param;
561
- return /* @__PURE__ */ t(C, {
567
+ return /* @__PURE__ */ t(A, {
562
568
  space: 16,
563
569
  role: i,
564
570
  "aria-labelledby": a,
@@ -569,4 +575,4 @@ const Ke = (e, a)=>typeof e == "function" ? e == null ? void 0 : e({
569
575
  children: e
570
576
  });
571
577
  };
572
- export { wt as BoxedRow, yt as BoxedRowList, Qe as Content, xt as Row, gt as RowList };
578
+ export { yt as BoxedRow, Rt as BoxedRowList, Ue as Content, gt as Row, wt as RowList };