@telefonica/mistica 16.37.5 → 16.38.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 (204) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +6 -6
  3. package/dist/align.css-mistica.js +1 -1
  4. package/dist/avatar.css-mistica.js +2 -2
  5. package/dist/badge.css-mistica.js +1 -1
  6. package/dist/box.css-mistica.js +13 -13
  7. package/dist/boxed.css-mistica.js +25 -25
  8. package/dist/button-group.css-mistica.js +1 -1
  9. package/dist/button-layout.css-mistica.js +13 -13
  10. package/dist/button.css-mistica.js +16 -16
  11. package/dist/callout.css-mistica.js +5 -5
  12. package/dist/card-internal.css-mistica.js +15 -15
  13. package/dist/carousel.css-mistica.js +8 -8
  14. package/dist/carousel.d.ts +3 -1
  15. package/dist/carousel.js +263 -257
  16. package/dist/checkbox.css-mistica.js +7 -7
  17. package/dist/chip.css-mistica.js +12 -12
  18. package/dist/chip.js +10 -9
  19. package/dist/circle.css-mistica.js +1 -1
  20. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  21. package/dist/community/blocks.css-mistica.js +3 -3
  22. package/dist/community/example-component.css-mistica.js +1 -1
  23. package/dist/counter.css-mistica.js +1 -1
  24. package/dist/cover-hero.css-mistica.js +3 -3
  25. package/dist/credit-card-number-field.css-mistica.js +3 -3
  26. package/dist/date-field.css-mistica.js +1 -1
  27. package/dist/date-time-picker.css-mistica.js +1 -1
  28. package/dist/dialog.css-mistica.js +4 -4
  29. package/dist/divider.css-mistica.js +2 -2
  30. package/dist/double-field.css-mistica.js +2 -2
  31. package/dist/drawer.css-mistica.js +1 -1
  32. package/dist/empty-state-card.css-mistica.js +1 -1
  33. package/dist/empty-state.css-mistica.js +7 -7
  34. package/dist/fade-in.css-mistica.js +1 -1
  35. package/dist/feedback.css-mistica.js +1 -1
  36. package/dist/fixed-footer-layout.css-mistica.js +4 -4
  37. package/dist/form.css-mistica.js +1 -1
  38. package/dist/grid-layout.css-mistica.js +5 -5
  39. package/dist/grid.css-mistica.js +124 -124
  40. package/dist/grid.d.ts +3 -0
  41. package/dist/grid.js +33 -29
  42. package/dist/header.css-mistica.js +1 -1
  43. package/dist/hero.css-mistica.js +2 -2
  44. package/dist/horizontal-scroll.css-mistica.js +3 -3
  45. package/dist/icon-button.css-mistica.js +42 -42
  46. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  47. package/dist/icons/icon-error.css-mistica.js +1 -1
  48. package/dist/image.css-mistica.js +3 -3
  49. package/dist/inline.css-mistica.js +13 -13
  50. package/dist/list.css-mistica.js +1 -1
  51. package/dist/loading-bar.css-mistica.js +1 -1
  52. package/dist/loading-screen.css-mistica.js +5 -5
  53. package/dist/logo.css-mistica.js +6 -6
  54. package/dist/menu.css-mistica.js +12 -12
  55. package/dist/mosaic.css-mistica.js +2 -2
  56. package/dist/mosaic.d.ts +8 -2
  57. package/dist/mosaic.js +85 -62
  58. package/dist/navigation-bar.css-mistica.js +16 -16
  59. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  60. package/dist/package-version.js +1 -1
  61. package/dist/pin-field.css-mistica.js +1 -1
  62. package/dist/pin-field.js +21 -21
  63. package/dist/popover.css-mistica.js +1 -1
  64. package/dist/progress-bar.css-mistica.js +5 -5
  65. package/dist/progress-bar.js +4 -4
  66. package/dist/radio-button.css-mistica.js +14 -14
  67. package/dist/rating.css-mistica.js +2 -2
  68. package/dist/rating.js +25 -25
  69. package/dist/responsive-layout.css-mistica.js +8 -8
  70. package/dist/screen-reader-only.css-mistica.js +1 -1
  71. package/dist/select.css-mistica.js +15 -15
  72. package/dist/sheet-action-row.css-mistica.js +1 -1
  73. package/dist/sheet-common.css-mistica.js +1 -1
  74. package/dist/sheet-info.css-mistica.js +2 -2
  75. package/dist/skeletons.css-mistica.js +4 -4
  76. package/dist/skins/skin-contract.css-mistica.js +390 -390
  77. package/dist/skip-link.css-mistica.js +1 -1
  78. package/dist/slider.css-mistica.js +10 -10
  79. package/dist/snackbar.css-mistica.js +4 -4
  80. package/dist/spinner.css-mistica.js +1 -1
  81. package/dist/stack.css-mistica.js +7 -7
  82. package/dist/stacking-group.css-mistica.js +1 -1
  83. package/dist/stepper.css-mistica.js +2 -2
  84. package/dist/switch-component.css-mistica.js +26 -26
  85. package/dist/table.css-mistica.js +8 -8
  86. package/dist/tabs.css-mistica.js +12 -12
  87. package/dist/tag.css-mistica.js +1 -1
  88. package/dist/text-field-base.css-mistica.js +1 -1
  89. package/dist/text-field-base.js +13 -13
  90. package/dist/text-field-components.css-mistica.js +3 -3
  91. package/dist/text-link.css-mistica.js +5 -5
  92. package/dist/text-tokens.d.ts +2 -0
  93. package/dist/text-tokens.js +97 -89
  94. package/dist/text.css-mistica.js +9 -9
  95. package/dist/theme-context-provider.js +40 -40
  96. package/dist/theme-context.css-mistica.js +1 -1
  97. package/dist/theme.d.ts +1 -1
  98. package/dist/timeline.css-mistica.js +10 -10
  99. package/dist/timer.css-mistica.js +6 -6
  100. package/dist/tooltip.css-mistica.js +1 -1
  101. package/dist/touchable.css-mistica.js +1 -1
  102. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  103. package/dist/video.css-mistica.js +2 -2
  104. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -3
  105. package/dist-es/accordion.css-mistica.js +6 -6
  106. package/dist-es/align.css-mistica.js +1 -1
  107. package/dist-es/avatar.css-mistica.js +2 -2
  108. package/dist-es/badge.css-mistica.js +1 -1
  109. package/dist-es/box.css-mistica.js +13 -13
  110. package/dist-es/boxed.css-mistica.js +24 -24
  111. package/dist-es/button-group.css-mistica.js +1 -1
  112. package/dist-es/button-layout.css-mistica.js +13 -13
  113. package/dist-es/button.css-mistica.js +16 -16
  114. package/dist-es/callout.css-mistica.js +5 -5
  115. package/dist-es/card-internal.css-mistica.js +15 -15
  116. package/dist-es/carousel.css-mistica.js +8 -8
  117. package/dist-es/carousel.js +332 -326
  118. package/dist-es/checkbox.css-mistica.js +7 -7
  119. package/dist-es/chip.css-mistica.js +12 -12
  120. package/dist-es/chip.js +10 -9
  121. package/dist-es/circle.css-mistica.js +1 -1
  122. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  123. package/dist-es/community/blocks.css-mistica.js +2 -2
  124. package/dist-es/community/example-component.css-mistica.js +1 -1
  125. package/dist-es/counter.css-mistica.js +1 -1
  126. package/dist-es/cover-hero.css-mistica.js +3 -3
  127. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  128. package/dist-es/date-field.css-mistica.js +1 -1
  129. package/dist-es/date-time-picker.css-mistica.js +1 -1
  130. package/dist-es/dialog.css-mistica.js +4 -4
  131. package/dist-es/divider.css-mistica.js +2 -2
  132. package/dist-es/double-field.css-mistica.js +2 -2
  133. package/dist-es/drawer.css-mistica.js +1 -1
  134. package/dist-es/empty-state-card.css-mistica.js +1 -1
  135. package/dist-es/empty-state.css-mistica.js +6 -6
  136. package/dist-es/fade-in.css-mistica.js +1 -1
  137. package/dist-es/feedback.css-mistica.js +1 -1
  138. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  139. package/dist-es/form.css-mistica.js +1 -1
  140. package/dist-es/grid-layout.css-mistica.js +4 -4
  141. package/dist-es/grid.css-mistica.js +124 -124
  142. package/dist-es/grid.js +40 -36
  143. package/dist-es/header.css-mistica.js +1 -1
  144. package/dist-es/hero.css-mistica.js +2 -2
  145. package/dist-es/horizontal-scroll.css-mistica.js +2 -2
  146. package/dist-es/icon-button.css-mistica.js +42 -42
  147. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  148. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  149. package/dist-es/image.css-mistica.js +3 -3
  150. package/dist-es/inline.css-mistica.js +11 -11
  151. package/dist-es/list.css-mistica.js +1 -1
  152. package/dist-es/loading-bar.css-mistica.js +1 -1
  153. package/dist-es/loading-screen.css-mistica.js +5 -5
  154. package/dist-es/logo.css-mistica.js +6 -6
  155. package/dist-es/menu.css-mistica.js +12 -12
  156. package/dist-es/mosaic.css-mistica.js +2 -2
  157. package/dist-es/mosaic.js +109 -86
  158. package/dist-es/navigation-bar.css-mistica.js +16 -16
  159. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  160. package/dist-es/package-version.js +1 -1
  161. package/dist-es/pin-field.css-mistica.js +1 -1
  162. package/dist-es/pin-field.js +31 -31
  163. package/dist-es/popover.css-mistica.js +1 -1
  164. package/dist-es/progress-bar.css-mistica.js +5 -5
  165. package/dist-es/progress-bar.js +21 -21
  166. package/dist-es/radio-button.css-mistica.js +14 -14
  167. package/dist-es/rating.css-mistica.js +2 -2
  168. package/dist-es/rating.js +33 -33
  169. package/dist-es/responsive-layout.css-mistica.js +6 -6
  170. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  171. package/dist-es/select.css-mistica.js +15 -15
  172. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  173. package/dist-es/sheet-common.css-mistica.js +1 -1
  174. package/dist-es/sheet-info.css-mistica.js +2 -2
  175. package/dist-es/skeletons.css-mistica.js +4 -4
  176. package/dist-es/skins/skin-contract.css-mistica.js +390 -390
  177. package/dist-es/skip-link.css-mistica.js +1 -1
  178. package/dist-es/slider.css-mistica.js +10 -10
  179. package/dist-es/snackbar.css-mistica.js +4 -4
  180. package/dist-es/spinner.css-mistica.js +1 -1
  181. package/dist-es/stack.css-mistica.js +6 -6
  182. package/dist-es/stacking-group.css-mistica.js +1 -1
  183. package/dist-es/stepper.css-mistica.js +2 -2
  184. package/dist-es/style.css +1 -1
  185. package/dist-es/switch-component.css-mistica.js +26 -26
  186. package/dist-es/table.css-mistica.js +8 -8
  187. package/dist-es/tabs.css-mistica.js +12 -12
  188. package/dist-es/tag.css-mistica.js +1 -1
  189. package/dist-es/text-field-base.css-mistica.js +1 -1
  190. package/dist-es/text-field-base.js +17 -17
  191. package/dist-es/text-field-components.css-mistica.js +3 -3
  192. package/dist-es/text-link.css-mistica.js +5 -5
  193. package/dist-es/text-tokens.js +50 -45
  194. package/dist-es/text.css-mistica.js +8 -8
  195. package/dist-es/theme-context-provider.js +46 -46
  196. package/dist-es/theme-context.css-mistica.js +1 -1
  197. package/dist-es/timeline.css-mistica.js +10 -10
  198. package/dist-es/timer.css-mistica.js +6 -6
  199. package/dist-es/tooltip.css-mistica.js +1 -1
  200. package/dist-es/touchable.css-mistica.js +1 -1
  201. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  202. package/dist-es/video.css-mistica.js +2 -2
  203. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +2 -2
  204. package/package.json +1 -1
package/dist-es/mosaic.js CHANGED
@@ -50,143 +50,166 @@ function _object_spread_props(target, source) {
50
50
  }
51
51
  return target;
52
52
  }
53
- import { jsx as r, jsxs as m, Fragment as w } from "react/jsx-runtime";
54
- import { Grid as h, GridItem as e } from "./grid.js";
55
- import { Carousel as q } from "./carousel.js";
56
- import { singleItemRowContainer as f, squareContainer as M, fourItemsContainer as C } from "./mosaic.css-mistica.js";
57
- const s = {
53
+ import { jsx as a, jsxs as b, Fragment as q } from "react/jsx-runtime";
54
+ import { Grid as s, GridItem as e } from "./grid.js";
55
+ import { Carousel as C } from "./carousel.js";
56
+ import { singleItemRowContainer as M, squareContainer as v, fourItemsContainer as S } from "./mosaic.css-mistica.js";
57
+ const p = {
58
58
  mobile: 8,
59
59
  desktop: 16
60
- }, t = (n, o)=>typeof n == "function" ? n({
60
+ }, l = (r, o)=>typeof r == "function" ? r({
61
61
  gridMode: o
62
- }) : n, S = (param)=>{
63
- let { items: n, isEven: o } = param;
64
- return /* @__PURE__ */ r("div", {
65
- className: n.length === 1 ? f : M,
66
- children: /* @__PURE__ */ r(h, {
67
- gap: s,
62
+ }) : r, y = (param)=>{
63
+ let { items: r, isEven: o } = param;
64
+ return /* @__PURE__ */ a("div", {
65
+ className: r.length === 1 ? M : v,
66
+ children: /* @__PURE__ */ a(s, {
67
+ gap: p,
68
68
  rows: 2,
69
69
  columns: 2,
70
70
  height: "100%",
71
- children: n.length === 3 ? /* @__PURE__ */ m(w, {
71
+ children: r.length === 3 ? /* @__PURE__ */ b(q, {
72
72
  children: [
73
- /* @__PURE__ */ r(e, {
73
+ /* @__PURE__ */ a(e, {
74
74
  columnSpan: o ? 2 : void 0,
75
- children: t(n[0], o ? "horizontal" : "square")
75
+ children: l(r[0], o ? "horizontal" : "square")
76
76
  }),
77
- /* @__PURE__ */ r(e, {
78
- children: t(n[1], "square")
77
+ /* @__PURE__ */ a(e, {
78
+ children: l(r[1], "square")
79
79
  }),
80
- /* @__PURE__ */ r(e, {
80
+ /* @__PURE__ */ a(e, {
81
81
  columnSpan: o ? void 0 : 2,
82
- children: t(n[2], o ? "square" : "horizontal")
82
+ children: l(r[2], o ? "square" : "horizontal")
83
83
  })
84
84
  ]
85
- }) : n.map((a, i)=>/* @__PURE__ */ r(e, {
86
- columnSpan: n.length === 4 ? void 0 : 2,
87
- rowSpan: n.length === 1 ? 2 : void 0,
88
- children: t(a, n.length === 4 ? "square" : "horizontal")
89
- }, i))
85
+ }) : r.map((t, n)=>/* @__PURE__ */ a(e, {
86
+ columnSpan: r.length === 4 ? void 0 : 2,
87
+ rowSpan: r.length === 1 ? 2 : void 0,
88
+ children: l(t, r.length === 4 ? "square" : "horizontal")
89
+ }, n))
90
90
  })
91
91
  });
92
92
  }, N = (param)=>{
93
- let { items: n, withBullets: o, withControls: a = !0, free: i, dataAttributes: u } = param;
94
- const c = n.length, l = c < 5 ? Math.min(c, 1) : Math.floor((c + 1) / 3), d = Array.from({
95
- length: l
93
+ let { items: r, withBullets: o, withControls: t = !0, free: n, "aria-label": g, "aria-labelledby": m, dataAttributes: f } = param;
94
+ const d = r.length, u = d < 5 ? Math.min(d, 1) : Math.floor((d + 1) / 3), i = Array.from({
95
+ length: u
96
96
  }, ()=>[]);
97
- return n.forEach((g, p)=>{
98
- const v = Math.min(l - 1, Math.floor(p / 3));
99
- d[v].push(g);
100
- }), /* @__PURE__ */ r(q, {
101
- dataAttributes: _object_spread_props(_object_spread({}, u), {
97
+ return r.forEach((c, h)=>{
98
+ const w = Math.min(u - 1, Math.floor(h / 3));
99
+ i[w].push(c);
100
+ }), /* @__PURE__ */ a(C, {
101
+ "aria-label": g,
102
+ "aria-labelledby": m,
103
+ dataAttributes: _object_spread_props(_object_spread({}, f), {
102
104
  "component-name": "HorizontalMosaic"
103
105
  }),
104
- items: d.map((g, p)=>/* @__PURE__ */ r(h, {
105
- children: /* @__PURE__ */ r(S, {
106
- items: g,
107
- isEven: p % 2 === 0
108
- }, p)
106
+ items: i.map((c, h)=>/* @__PURE__ */ a(s, {
107
+ children: /* @__PURE__ */ a(y, {
108
+ items: c,
109
+ isEven: h % 2 === 0
110
+ }, h)
109
111
  })),
110
112
  withBullets: o,
111
- withControls: a,
112
- free: i
113
+ withControls: t,
114
+ free: n
113
115
  });
114
116
  }, z = (param)=>{
115
- let { items: n } = param;
116
- switch(n.length){
117
+ let { items: r, itemRole: o } = param;
118
+ switch(r.length){
117
119
  case 1:
118
120
  case 2:
119
- return /* @__PURE__ */ r("div", {
120
- className: f,
121
- children: /* @__PURE__ */ r(h, {
122
- gap: s,
121
+ return /* @__PURE__ */ a("div", {
122
+ className: M,
123
+ role: "none",
124
+ children: /* @__PURE__ */ a(s, {
125
+ role: "none",
126
+ gap: p,
123
127
  columns: 2,
124
128
  height: "100%",
125
- children: n.map((o, a)=>/* @__PURE__ */ r(e, {
126
- columnSpan: n.length === 2 ? void 0 : 2,
127
- children: t(o, n.length === 2 ? "square" : "horizontal")
128
- }, a))
129
+ children: r.map((t, n)=>/* @__PURE__ */ a(e, {
130
+ role: o,
131
+ columnSpan: r.length === 2 ? void 0 : 2,
132
+ children: l(t, r.length === 2 ? "square" : "horizontal")
133
+ }, n))
129
134
  })
130
135
  });
131
136
  case 3:
132
- return /* @__PURE__ */ r("div", {
133
- className: M,
134
- children: /* @__PURE__ */ r(h, {
135
- gap: s,
137
+ return /* @__PURE__ */ a("div", {
138
+ className: v,
139
+ role: "none",
140
+ children: /* @__PURE__ */ a(s, {
141
+ role: "none",
142
+ gap: p,
136
143
  columns: 2,
137
144
  flow: "column",
138
145
  height: "100%",
139
- children: n.map((o, a)=>/* @__PURE__ */ r(e, {
140
- rowSpan: a === 0 ? 2 : void 0,
141
- children: t(o, a === 0 ? "vertical" : "square")
142
- }, a))
146
+ children: r.map((t, n)=>/* @__PURE__ */ a(e, {
147
+ role: o,
148
+ rowSpan: n === 0 ? 2 : void 0,
149
+ children: l(t, n === 0 ? "vertical" : "square")
150
+ }, n))
143
151
  })
144
152
  });
145
153
  case 4:
146
154
  default:
147
- return /* @__PURE__ */ r("div", {
148
- className: C,
149
- children: /* @__PURE__ */ m(h, {
150
- gap: s,
155
+ return /* @__PURE__ */ a("div", {
156
+ className: S,
157
+ role: "none",
158
+ children: /* @__PURE__ */ b(s, {
159
+ role: "none",
160
+ gap: p,
151
161
  rows: 3,
152
162
  columns: 2,
153
163
  height: "100%",
154
164
  children: [
155
- /* @__PURE__ */ r(e, {
165
+ /* @__PURE__ */ a(e, {
166
+ role: o,
167
+ order: 0,
156
168
  rowSpan: 2,
157
- children: t(n[0], "vertical")
169
+ children: l(r[0], "vertical")
158
170
  }),
159
- /* @__PURE__ */ r(e, {
160
- children: t(n[1], "square")
171
+ /* @__PURE__ */ a(e, {
172
+ role: o,
173
+ order: 1,
174
+ children: l(r[1], "square")
161
175
  }),
162
- /* @__PURE__ */ r(e, {
163
- rowSpan: 2,
164
- children: t(n[3], "vertical")
176
+ /* @__PURE__ */ a(e, {
177
+ role: o,
178
+ order: 3,
179
+ children: l(r[2], "square")
165
180
  }),
166
- /* @__PURE__ */ r(e, {
167
- children: t(n[2], "square")
181
+ /* @__PURE__ */ a(e, {
182
+ role: o,
183
+ order: 2,
184
+ rowSpan: 2,
185
+ children: l(r[3], "vertical")
168
186
  })
169
187
  ]
170
188
  })
171
189
  });
172
190
  }
173
- }, b = (param)=>{
174
- let { items: n, dataAttributes: o } = param;
175
- const a = n.length, i = Math.ceil(a / 4), u = Array.from({
176
- length: i
191
+ }, V = (param)=>{
192
+ let { items: r, dataAttributes: o, role: t = "list", itemRole: n = "listitem", "aria-label": g, "aria-labelledby": m } = param;
193
+ const f = r.length, d = Math.ceil(f / 4), u = Array.from({
194
+ length: d
177
195
  }, ()=>[]);
178
- return n.forEach((c, l)=>{
179
- const d = Math.floor(l / 4);
180
- u[d].push(c);
181
- }), /* @__PURE__ */ r(h, {
196
+ return r.forEach((i, c)=>{
197
+ const h = Math.floor(c / 4);
198
+ u[h].push(i);
199
+ }), /* @__PURE__ */ a(s, {
200
+ role: t,
182
201
  rows: 1,
183
- gap: s,
184
- dataAttributes: _object_spread_props(_object_spread({}, o), {
185
- "component-name": "VerticalMosaic"
186
- }),
187
- children: u.map((c, l)=>/* @__PURE__ */ r(z, {
188
- items: c
189
- }, l))
202
+ gap: p,
203
+ "aria-label": g,
204
+ "aria-labelledby": m,
205
+ dataAttributes: _object_spread({
206
+ "component-name": "VerticalMosaic",
207
+ testid: "VerticalMosaic"
208
+ }, o),
209
+ children: u.map((i, c)=>/* @__PURE__ */ a(z, {
210
+ items: i,
211
+ itemRole: n
212
+ }, c))
190
213
  });
191
214
  };
192
- export { N as HorizontalMosaic, b as VerticalMosaic };
215
+ export { N as HorizontalMosaic, V as VerticalMosaic };
@@ -1,19 +1,19 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./navigation-bar.css.ts.vanilla.css-mistica.js";
3
- var n = 300, y = 400, e = 184, f = "v16_37_5_1vcy5dz1 v16_37_5_1y2v1nfjm v16_37_5_1y2v1nfko v16_37_5_1y2v1nfl4", r = "v16_37_5_1y2v1nfjo v16_37_5_1y2v1nfnb v16_37_5_1y2v1nfnf v16_37_5_1y2v1nfnu v16_37_5_1y2v1nfo9 v16_37_5_1y2v1nf4t", a = "v16_37_5_1vcy5dz1f", d = "v16_37_5_1y2v1nfkw v16_37_5_1y2v1nfjm", t = "v16_37_5_1vcy5dz1j v16_37_5_1y2v1nfmz v16_37_5_1y2v1nfkf v16_37_5_1y2v1nfkw v16_37_5_1y2v1nfjn v16_37_5_1y2v1nfn0", c = {
4
- enter: "v16_37_5_1vcy5dz16",
5
- enterActive: "v16_37_5_1vcy5dz17",
6
- exit: "v16_37_5_1vcy5dz18",
7
- exitActive: "v16_37_5_1vcy5dz19"
8
- }, o = "v16_37_5_1vcy5dz1z v16_37_5_1y2v1nfac v16_37_5_1y2v1nfbl v16_37_5_1y2v1nfjm", i = "v16_37_5_1vcy5dz1v v16_37_5_1y2v1nf4u v16_37_5_1y2v1nfjn v16_37_5_1y2v1nfnf v16_37_5_1y2v1nfnu", z = "v16_37_5_1vcy5dz21", u = "v16_37_5_1vcy5dz1t v16_37_5_1y2v1nfjo v16_37_5_1y2v1nfnf v16_37_5_1y2v1nfnu", s = "v16_37_5_1vcy5dz20", k = "v16_37_5_1vcy5dzf", p = "v16_37_5_1vcy5dzg", j = "v16_37_5_1vcy5dzn v16_37_5_1y2v1nf9l v16_37_5_1y2v1nfau v16_37_5_1y2v1nfc3 v16_37_5_1y2v1nfdc v16_37_5_1y2v1nfma v16_37_5_1y2v1nf9k", M = "v16_37_5_1vcy5dzl v16_37_5_1y2v1nfjn v16_37_5_1y2v1nfn0 v16_37_5_1y2v1nfo9 v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7", l = "v16_37_5_1vcy5dzi v16_37_5_1y2v1nfjm v16_37_5_1y2v1nfjs", C = "v16_37_5_1y2v1nfjm", m = "v16_37_5_1y2v1nfjn v16_37_5_1y2v1nfnf v16_37_5_1y2v1nfnu", g = "v16_37_5_1vcy5dzx", b = "v16_37_5_1vcy5dz1x v16_37_5_1y2v1nfco v16_37_5_1y2v1nfdx v16_37_5_1y2v1nfac v16_37_5_1y2v1nfbl v16_37_5_1y2v1nf4u v16_37_5_1y2v1nfjo v16_37_5_1y2v1nfmz", S = "v16_37_5_1vcy5dz5 v16_37_5_1vcy5dz3 v16_37_5_1y2v1nfjn", A = "v16_37_5_1vcy5dz4 v16_37_5_1vcy5dz3 v16_37_5_1y2v1nfjn", B = "v16_37_5_1vcy5dz7 v16_37_5_1vcy5dz3 v16_37_5_1y2v1nfjn", N = "v16_37_5_1vcy5dz6 v16_37_5_1vcy5dz3 v16_37_5_1y2v1nfjn", x = "v16_37_5_1vcy5dz1o", I = "v16_37_5_1vcy5dz1e v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk1", O = "v16_37_5_1vcy5dz1c v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfke", T = "v16_37_5_1vcy5dz1q v16_37_5_1y2v1nfkf", E = {
9
- default: "v16_37_5_1vcy5dzc v16_37_5_1vcy5dzb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfkf",
10
- noBorder: "v16_37_5_1vcy5dzd v16_37_5_1vcy5dzb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfkf",
11
- menuOpen: "v16_37_5_1vcy5dze v16_37_5_1vcy5dzb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfkf"
12
- }, R = "v16_37_5_1y2v1nf9l v16_37_5_1y2v1nfau v16_37_5_1y2v1nfc3 v16_37_5_1y2v1nfdc v16_37_5_1y2v1nfma v16_37_5_1y2v1nf9k", U = "v16_37_5_1vcy5dzv v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfkf v16_37_5_1y2v1nfjs", W = "v16_37_5_1vcy5dzz v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfk2", w = "v16_37_5_1vcy5dz11 v16_37_5_1vcy5dzz v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfk2 v16_37_5_1y2v1nfke", D = "v16_37_5_1vcy5dzp v16_37_5_1y2v1nfcc v16_37_5_1y2v1nfdl v16_37_5_1y2v1nflb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfk7 v16_37_5_1y2v1nfma v16_37_5_1y2v1nf9k v16_37_5_1y2v1nfjm", h = {
13
- default: "v16_37_5_1vcy5dzq",
14
- inverse: "v16_37_5_1vcy5dzr"
15
- }, F = "v16_37_5_1y2v1nflb v16_37_5_1vcy5dz12", H = "v16_37_5_1vcy5dz15 v16_37_5_1vcy5dz12", L = {
16
- default: "v16_37_5_1vcy5dzs",
17
- inverse: "v16_37_5_1vcy5dzt"
18
- }, V = "v16_37_5_1vcy5dz9 v16_37_5_1y2v1nfjo v16_37_5_1y2v1nfn0 v16_37_5_1y2v1nfnf v16_37_5_1y2v1nfnu";
3
+ var n = 300, y = 400, e = 184, f = "v16_38_1vcy5dz1 v16_38_1y2v1nfjm v16_38_1y2v1nfko v16_38_1y2v1nfl4", r = "v16_38_1y2v1nfjo v16_38_1y2v1nfnb v16_38_1y2v1nfnf v16_38_1y2v1nfnu v16_38_1y2v1nfo9 v16_38_1y2v1nf4t", a = "v16_38_1vcy5dz1f", d = "v16_38_1y2v1nfkw v16_38_1y2v1nfjm", t = "v16_38_1vcy5dz1j v16_38_1y2v1nfmz v16_38_1y2v1nfkf v16_38_1y2v1nfkw v16_38_1y2v1nfjn v16_38_1y2v1nfn0", c = {
4
+ enter: "v16_38_1vcy5dz16",
5
+ enterActive: "v16_38_1vcy5dz17",
6
+ exit: "v16_38_1vcy5dz18",
7
+ exitActive: "v16_38_1vcy5dz19"
8
+ }, o = "v16_38_1vcy5dz1z v16_38_1y2v1nfac v16_38_1y2v1nfbl v16_38_1y2v1nfjm", i = "v16_38_1vcy5dz1v v16_38_1y2v1nf4u v16_38_1y2v1nfjn v16_38_1y2v1nfnf v16_38_1y2v1nfnu", z = "v16_38_1vcy5dz21", u = "v16_38_1vcy5dz1t v16_38_1y2v1nfjo v16_38_1y2v1nfnf v16_38_1y2v1nfnu", s = "v16_38_1vcy5dz20", k = "v16_38_1vcy5dzf", p = "v16_38_1vcy5dzg", j = "v16_38_1vcy5dzn v16_38_1y2v1nf9l v16_38_1y2v1nfau v16_38_1y2v1nfc3 v16_38_1y2v1nfdc v16_38_1y2v1nfma v16_38_1y2v1nf9k", M = "v16_38_1vcy5dzl v16_38_1y2v1nfjn v16_38_1y2v1nfn0 v16_38_1y2v1nfo9 v16_38_1y2v1nfjs v16_38_1y2v1nfk7", l = "v16_38_1vcy5dzi v16_38_1y2v1nfjm v16_38_1y2v1nfjs", C = "v16_38_1y2v1nfjm", m = "v16_38_1y2v1nfjn v16_38_1y2v1nfnf v16_38_1y2v1nfnu", g = "v16_38_1vcy5dzx", b = "v16_38_1vcy5dz1x v16_38_1y2v1nfco v16_38_1y2v1nfdx v16_38_1y2v1nfac v16_38_1y2v1nfbl v16_38_1y2v1nf4u v16_38_1y2v1nfjo v16_38_1y2v1nfmz", S = "v16_38_1vcy5dz5 v16_38_1vcy5dz3 v16_38_1y2v1nfjn", A = "v16_38_1vcy5dz4 v16_38_1vcy5dz3 v16_38_1y2v1nfjn", B = "v16_38_1vcy5dz7 v16_38_1vcy5dz3 v16_38_1y2v1nfjn", N = "v16_38_1vcy5dz6 v16_38_1vcy5dz3 v16_38_1y2v1nfjn", x = "v16_38_1vcy5dz1o", I = "v16_38_1vcy5dz1e v16_38_1y2v1nfjs v16_38_1y2v1nfk1", O = "v16_38_1vcy5dz1c v16_38_1y2v1nfjs v16_38_1y2v1nfke", T = "v16_38_1vcy5dz1q v16_38_1y2v1nfkf", E = {
9
+ default: "v16_38_1vcy5dzc v16_38_1vcy5dzb v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfkf",
10
+ noBorder: "v16_38_1vcy5dzd v16_38_1vcy5dzb v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfkf",
11
+ menuOpen: "v16_38_1vcy5dze v16_38_1vcy5dzb v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfkf"
12
+ }, R = "v16_38_1y2v1nf9l v16_38_1y2v1nfau v16_38_1y2v1nfc3 v16_38_1y2v1nfdc v16_38_1y2v1nfma v16_38_1y2v1nf9k", U = "v16_38_1vcy5dzv v16_38_1y2v1nfk7 v16_38_1y2v1nfkf v16_38_1y2v1nfjs", W = "v16_38_1vcy5dzz v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfk2", w = "v16_38_1vcy5dz11 v16_38_1vcy5dzz v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfk2 v16_38_1y2v1nfke", D = "v16_38_1vcy5dzp v16_38_1y2v1nfcc v16_38_1y2v1nfdl v16_38_1y2v1nflb v16_38_1y2v1nfjs v16_38_1y2v1nfk7 v16_38_1y2v1nfma v16_38_1y2v1nf9k v16_38_1y2v1nfjm", h = {
13
+ default: "v16_38_1vcy5dzq",
14
+ inverse: "v16_38_1vcy5dzr"
15
+ }, F = "v16_38_1y2v1nflb v16_38_1vcy5dz12", H = "v16_38_1vcy5dz15 v16_38_1vcy5dz12", L = {
16
+ default: "v16_38_1vcy5dzs",
17
+ inverse: "v16_38_1vcy5dzt"
18
+ }, V = "v16_38_1vcy5dz9 v16_38_1y2v1nfjo v16_38_1y2v1nfn0 v16_38_1y2v1nfnf v16_38_1y2v1nfnu";
19
19
  export { n as BURGER_MENU_ANIMATION_DURATION_MS, y as DESKTOP_MENU_ANIMATION_DURATION_MS, e as DESKTOP_SMALL_MENU_WIDTH, f as burgerIconContainer, r as burgerMenu, a as burgerMenuButton, d as burgerMenuContainer, t as burgerMenuContentContainer, c as burgerMenuTransition, o as desktopMenu, i as desktopMenuBackgroundContainer, z as desktopMenuColumnItem, u as desktopMenuContainer, s as desktopMenuContentFadeIn, k as desktopMenuFirstSection, p as desktopMenuLastSection, j as desktopMenuSectionArrow, M as desktopMenuSectionArrowContainer, l as desktopMenuSectionContainer, C as desktopMenuSectionWithArrowWrapper, m as desktopMenuWrapper, g as desktopOnly, b as desktopSmallMenuContainer, S as iconCloseHidden, A as iconCloseOpen, B as iconMenuHidden, N as iconMenuOpen, x as lineHeightFix, I as logoContainer, O as mainNavBarSectionsContainer, T as mainNavigationBarContentWrapper, E as navbarBorderColorVariants, R as navigationBarAction, U as navigationBarContent, W as navigationBarContentRight, w as navigationBarContentRightExpanded, D as section, h as selectedSectionVariantes, F as spacer, H as spacerLarge, L as textWrapperVariants, V as topFixed };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./navigation-breadcrumbs.css.ts.vanilla.css-mistica.js";
3
- var n = "v16_37_5_1fniauj3", r = "v16_37_5_1fniauj2", a = "v16_37_5_1fniauj5 v16_37_5_1y2v1nf9l v16_37_5_1y2v1nfau v16_37_5_1y2v1nfc3 v16_37_5_1y2v1nfdc", f = "v16_37_5_1y2v1nfjv";
3
+ var n = "v16_38_1fniauj3", r = "v16_38_1fniauj2", a = "v16_38_1fniauj5 v16_38_1y2v1nf9l v16_38_1y2v1nfau v16_38_1y2v1nfc3 v16_38_1y2v1nfdc", f = "v16_38_1y2v1nfjv";
4
4
  export { n as current, r as link, a as list, f as listItem };
@@ -1,2 +1,2 @@
1
- const o = "16.37.5";
1
+ const o = "16.38.0";
2
2
  export { o as PACKAGE_VERSION };
@@ -2,5 +2,5 @@ import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./icon-button.css.ts.vanilla.css-mistica.js";
3
3
  import "./text-field-base.css.ts.vanilla.css-mistica.js";
4
4
  import "./pin-field.css.ts.vanilla.css-mistica.js";
5
- var p = "v16_37_5_3pc6ro1", f = "v16_37_5_3pc6ro3 v16_37_5_1y2v1nfmb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfmj v16_37_5_1y2v1nfjm v16_37_5_1y2v1nf4u", o = "v16_37_5_3pc6ro0", y = "v16_37_5_3pc6ro4 v16_37_5_3pc6ro3 v16_37_5_1y2v1nfmb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfmj v16_37_5_1y2v1nfjm v16_37_5_1y2v1nf4u", a = "v16_37_5_3pc6ro6", i = "v16_37_5_3pc6ro9", m = "v16_37_5_1y2v1nf4q", e = "1.000rem", t = "v16_37_5_3pc6ro5 v16_37_5_3pc6ro3 v16_37_5_1y2v1nfmb v16_37_5_1y2v1nfjs v16_37_5_1y2v1nfmj v16_37_5_1y2v1nfjm v16_37_5_1y2v1nf4u";
5
+ var p = "v16_38_3pc6ro1", f = "v16_38_3pc6ro3 v16_38_1y2v1nfmb v16_38_1y2v1nfjs v16_38_1y2v1nfmj v16_38_1y2v1nfjm v16_38_1y2v1nf4u", o = "v16_38_3pc6ro0", y = "v16_38_3pc6ro4 v16_38_3pc6ro3 v16_38_1y2v1nfmb v16_38_1y2v1nfjs v16_38_1y2v1nfmj v16_38_1y2v1nfjm v16_38_1y2v1nf4u", a = "v16_38_3pc6ro6", i = "v16_38_3pc6ro9", m = "v16_38_1y2v1nf4q", e = "1.000rem", t = "v16_38_3pc6ro5 v16_38_3pc6ro3 v16_38_1y2v1nfmb v16_38_1y2v1nfjs v16_38_1y2v1nfmj v16_38_1y2v1nfjm v16_38_1y2v1nf4u";
6
6
  export { p as disabled, f as field, o as fieldContainer, y as focusedField, a as input, i as passwordDot, m as passwordInput, e as pinInputLineHeight, t as readOnlyField };
@@ -54,9 +54,9 @@ function _object_spread_props(target, source) {
54
54
  import { jsxs as H, jsx as c } from "react/jsx-runtime";
55
55
  import N from "classnames";
56
56
  import * as a from "react";
57
- import E from "./inline.js";
58
- import { input as L } from "./text-field-base.css-mistica.js";
59
- import { fieldContainer as j, disabled as B, readOnlyField as O, focusedField as W, field as q, input as z, passwordInput as K, pinInputLineHeight as A, passwordDot as M } from "./pin-field.css-mistica.js";
57
+ import L from "./inline.js";
58
+ import { input as j } from "./text-field-base.css-mistica.js";
59
+ import { fieldContainer as B, disabled as O, readOnlyField as W, focusedField as $, field as q, input as z, passwordInput as K, pinInputLineHeight as S, passwordDot as M } from "./pin-field.css-mistica.js";
60
60
  import { useTheme as _ } from "./hooks.js";
61
61
  import G from "./screen-reader-only.js";
62
62
  import { IntegerInput as J } from "./integer-field.js";
@@ -68,11 +68,11 @@ import { pinFieldInputLabel as x } from "./text-tokens.js";
68
68
  import { vars as ee } from "./skins/skin-contract.css-mistica.js";
69
69
  let R = !1;
70
70
  const te = (param)=>{
71
- let { length: i = 6, hideCode: n = !1, readSms: d, disabled: h, readOnly: g, value: y, defaultValue: b, onChange: f, inputRef: S } = param;
71
+ let { length: i = 6, hideCode: n = !1, readSms: d, disabled: h, readOnly: y, value: F, defaultValue: b, onChange: f, inputRef: C } = param;
72
72
  var _ref;
73
- const { texts: C, t: T } = _(), [k, v] = a.useState((_ref = b == null ? void 0 : b.slice(0, i)) !== null && _ref !== void 0 ? _ref : ""), [F, w] = a.useState(void 0), l = a.useRef(Array.from({
73
+ const { texts: T, t: k } = _(), [A, v] = a.useState((_ref = b == null ? void 0 : b.slice(0, i)) !== null && _ref !== void 0 ? _ref : ""), [w, g] = a.useState(void 0), l = a.useRef(Array.from({
74
74
  length: i
75
- }, ()=>null)).current, u = typeof y < "u", r = u ? y : k, p = a.useCallback((s)=>{
75
+ }, ()=>null)).current, u = typeof F < "u", r = u ? F : A, p = a.useCallback((s)=>{
76
76
  if (s === r) return;
77
77
  u || v(s);
78
78
  const e = l[0];
@@ -117,7 +117,7 @@ const te = (param)=>{
117
117
  i,
118
118
  d
119
119
  ]);
120
- const $ = (s)=>(e)=>{
120
+ const E = (s)=>(e)=>{
121
121
  var V;
122
122
  const t = e.target.value;
123
123
  if (t === "") return;
@@ -133,7 +133,7 @@ const te = (param)=>{
133
133
  p(P);
134
134
  }), I !== s && I <= i - 1 && ((V = l[I]) == null || V.focus()));
135
135
  };
136
- return /* @__PURE__ */ c(E, {
136
+ return /* @__PURE__ */ c(L, {
137
137
  space: 8,
138
138
  wrap: !0,
139
139
  verticalSpace: 16,
@@ -142,38 +142,38 @@ const te = (param)=>{
142
142
  }).map((s, e)=>/* @__PURE__ */ {
143
143
  var _r_e;
144
144
  return H("div", {
145
- className: g ? O : e === F ? W : q,
145
+ className: y ? W : e === w ? $ : q,
146
146
  children: [
147
147
  /* @__PURE__ */ c(J, {
148
- "aria-label": (C.pinFieldInputLabel || T(x)).replace("1$s", String(e + 1)).replace("2$s", String(i)),
148
+ "aria-label": k(T.pinFieldInputLabel || x, e + 1, i),
149
149
  type: n ? "password" : "text",
150
150
  tabIndex: e > r.length ? -1 : void 0,
151
151
  required: !0,
152
152
  onFocus: ()=>{
153
153
  var o;
154
154
  const t = r.length === i ? -1 : r.length;
155
- t >= 0 && t < e ? (o = l[t]) == null || o.focus() : w(e);
155
+ t >= 0 && t < e ? (o = l[t]) == null || o.focus() : g(e);
156
156
  },
157
157
  onBlur: ()=>{
158
- w(void 0);
158
+ g(void 0);
159
159
  },
160
160
  inputRef: (t)=>{
161
- l[e] = t, e === 0 && S(t);
161
+ l[e] = t, e === 0 && C(t);
162
162
  },
163
- className: N(L, z, {
163
+ className: N(j, z, {
164
164
  [K]: n
165
165
  }),
166
166
  style: {
167
- lineHeight: A,
168
- fontSize: A,
169
- height: `calc(${A} * 3 - 2px)`,
167
+ lineHeight: S,
168
+ fontSize: S,
169
+ height: `calc(${S} * 3 - 2px)`,
170
170
  borderRadius: ee.borderRadii.input
171
171
  },
172
172
  disabled: h,
173
- readOnly: g,
173
+ readOnly: y,
174
174
  autoComplete: d ? "one-time-code" : void 0,
175
175
  value: (_r_e = r[e]) !== null && _r_e !== void 0 ? _r_e : "",
176
- onChange: $(e),
176
+ onChange: E(e),
177
177
  onKeyDown: (t)=>{
178
178
  switch(t.key){
179
179
  case "Backspace":
@@ -209,29 +209,29 @@ const te = (param)=>{
209
209
  });
210
210
  }, re = (param)=>{
211
211
  let { length: i = 6, hideCode: n = !1, readSms: d = !n, // by default, don't read sms if the code is hidden (password input type)
212
- disabled: h, readOnly: g, name: y, value: b, defaultValue: f, helperText: S, error: C, onChangeValue: T, onChange: k, "aria-label": v, "aria-labelledby": F, dataAttributes: w } = param;
212
+ disabled: h, readOnly: y, name: F, value: b, defaultValue: f, helperText: C, error: T, onChangeValue: k, onChange: A, "aria-label": v, "aria-labelledby": w, dataAttributes: g } = param;
213
213
  const l = Q({
214
- name: y,
214
+ name: F,
215
215
  label: v !== null && v !== void 0 ? v : "",
216
216
  value: b,
217
217
  defaultValue: f,
218
218
  processValue: (r)=>r,
219
- helperText: S,
219
+ helperText: C,
220
220
  optional: !1,
221
- error: C,
221
+ error: T,
222
222
  disabled: h,
223
- onChangeValue: T,
224
- onChange: k
223
+ onChangeValue: k,
224
+ onChange: A
225
225
  }), u = a.useId();
226
226
  return /* @__PURE__ */ H("div", _object_spread_props(_object_spread({
227
227
  role: "group",
228
- "aria-labelledby": F !== null && F !== void 0 ? F : u,
229
- className: N(j, {
230
- [B]: h
228
+ "aria-labelledby": w !== null && w !== void 0 ? w : u,
229
+ className: N(B, {
230
+ [O]: h
231
231
  })
232
- }, U(w, "PinField")), {
232
+ }, U(g, "PinField")), {
233
233
  children: [
234
- v && !F && /* @__PURE__ */ c(G, {
234
+ v && !w && /* @__PURE__ */ c(G, {
235
235
  children: /* @__PURE__ */ c("div", {
236
236
  id: u,
237
237
  children: v
@@ -246,7 +246,7 @@ const te = (param)=>{
246
246
  defaultValue: l.defaultValue,
247
247
  disabled: l.disabled,
248
248
  onChange: l.onChange,
249
- readOnly: g
249
+ readOnly: y
250
250
  }),
251
251
  /* @__PURE__ */ c(Y, {
252
252
  error: l.error,
@@ -1,3 +1,3 @@
1
1
  import "./popover.css.ts.vanilla.css-mistica.js";
2
- var o = "v16_37_5_12igu660";
2
+ var o = "v16_38_12igu660";
3
3
  export { o as content };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./progress-bar.css.ts.vanilla.css-mistica.js";
3
- var r = "v16_37_5_1y2v1nfkw v16_37_5_1y2v1nfmq", a = {
4
- default: "v16_37_5_j0y7r91 v16_37_5_1y2v1nfmq v16_37_5_1y2v1nfkz",
5
- inverse: "v16_37_5_j0y7r92 v16_37_5_1y2v1nfmq v16_37_5_1y2v1nfkz"
6
- }, n = "v16_37_5_j0y7r97", y = "v16_37_5_j0y7r96", e = "v16_37_5_j0y7r98";
7
- export { r as bar, a as barBackground, n as inverse, y as normal, e as progressBarSteppedContainer };
3
+ var _ = "v16_38_1y2v1nfkw v16_38_1y2v1nfmq", a = {
4
+ default: "v16_38_j0y7r91 v16_38_1y2v1nfmq v16_38_1y2v1nfkz",
5
+ inverse: "v16_38_j0y7r92 v16_38_1y2v1nfmq v16_38_1y2v1nfkz"
6
+ }, n = "v16_38_j0y7r97", y = "v16_38_j0y7r96", e = "v16_38_j0y7r98";
7
+ export { _ as bar, a as barBackground, n as inverse, y as normal, e as progressBarSteppedContainer };
@@ -53,17 +53,17 @@ function _object_spread_props(target, source) {
53
53
  }
54
54
  import { jsx as a } from "react/jsx-runtime";
55
55
  import * as f from "react";
56
- import { useTheme as I } from "./hooks.js";
56
+ import { useTheme as T } from "./hooks.js";
57
57
  import { vars as v } from "./skins/skin-contract.css-mistica.js";
58
- import { barBackground as T, bar as y, inverse as A, normal as C, progressBarSteppedContainer as N } from "./progress-bar.css-mistica.js";
59
- import { getPrefixedDataAttributes as P } from "./utils/dom.js";
58
+ import { barBackground as y, bar as A, inverse as C, normal as P, progressBarSteppedContainer as N } from "./progress-bar.css-mistica.js";
59
+ import { getPrefixedDataAttributes as S } from "./utils/dom.js";
60
60
  import V from "classnames";
61
- import $ from "./inline.js";
62
- import { loading as M, progressBarCompletedLabel as w, progressBarStepLabel as W } from "./text-tokens.js";
61
+ import M from "./inline.js";
62
+ import { loading as w, progressBarCompletedLabel as W, progressBarStepLabel as $ } from "./text-tokens.js";
63
63
  import { useIsInverseVariant as k } from "./theme-variant-context.js";
64
64
  const K = (param)=>{
65
65
  let { progressPercent: r, color: t, "aria-label": g, "aria-labelledby": c, "aria-hidden": o, dataAttributes: m, reverse: s = !1 } = param;
66
- const { texts: d, t: p } = I(), l = k(), e = Math.max(0, Math.min(100, r)), i = o && o !== "false" ? {
66
+ const { texts: d, t: p } = T(), l = k(), e = Math.max(0, Math.min(100, r)), i = o && o !== "false" ? {
67
67
  "aria-hidden": o
68
68
  } : {
69
69
  role: "progressbar",
@@ -71,17 +71,17 @@ const K = (param)=>{
71
71
  "aria-valuemin": 0,
72
72
  "aria-valuemax": 100,
73
73
  "aria-valuetext": (()=>{
74
- const b = d.progressBarCompletedLabel || p(w);
74
+ const b = d.progressBarCompletedLabel || p(W);
75
75
  return `${e.toFixed(1)}% ${b}`;
76
76
  })(),
77
- "aria-label": c ? void 0 : g || d.loading || p(M),
77
+ "aria-label": c ? void 0 : g || d.loading || p(w),
78
78
  "aria-labelledby": c
79
79
  };
80
- return /* @__PURE__ */ a("div", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, P(m, "ProgressBar")), {
81
- className: T[l ? "inverse" : "default"]
80
+ return /* @__PURE__ */ a("div", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, S(m, "ProgressBar")), {
81
+ className: y[l ? "inverse" : "default"]
82
82
  }), i), {
83
83
  children: /* @__PURE__ */ a("div", {
84
- className: V(y, s ? A : C),
84
+ className: V(A, s ? C : P),
85
85
  style: {
86
86
  maxWidth: `${e}%`,
87
87
  backgroundColor: t !== null && t !== void 0 ? t : l ? v.colors.controlActivatedInverse : v.colors.controlActivated
@@ -90,7 +90,7 @@ const K = (param)=>{
90
90
  }));
91
91
  }, O = (param)=>{
92
92
  let { steps: r, currentStep: t = 0, color: g, dataAttributes: c, "aria-label": o, "aria-labelledby": m, "aria-hidden": s } = param;
93
- const { texts: d, t: p } = I(), l = k(), [e, h] = f.useState(Math.ceil(t)), [i, b] = f.useState(!1);
93
+ const { texts: d, t: p } = T(), l = k(), [e, h] = f.useState(Math.ceil(t)), [i, b] = f.useState(!1);
94
94
  f.useEffect(()=>{
95
95
  const n = Math.ceil(t);
96
96
  e !== n && (b(n < e), h(n));
@@ -106,32 +106,32 @@ const K = (param)=>{
106
106
  "aria-valuenow": e,
107
107
  "aria-valuemin": 0,
108
108
  "aria-valuemax": r,
109
- "aria-valuetext": (()=>(d.progressBarStepLabel || p(W)).replace("1$s", String(e)).replace("2$s", String(r)))(),
109
+ "aria-valuetext": (()=>p(d.progressBarStepLabel || $, e, r))(),
110
110
  "aria-label": m ? void 0 : o,
111
111
  "aria-labelledby": m
112
112
  };
113
- return /* @__PURE__ */ a("div", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, P(c, "ProgressBarStepped")), {
113
+ return /* @__PURE__ */ a("div", _object_spread_props(_object_spread(_object_spread_props(_object_spread({}, S(c, "ProgressBarStepped")), {
114
114
  role: "progressbar"
115
115
  }), F), {
116
116
  className: N,
117
- children: /* @__PURE__ */ a($, {
117
+ children: /* @__PURE__ */ a(M, {
118
118
  space: 8,
119
119
  fullWidth: !0,
120
120
  children: Array.from({
121
121
  length: r
122
122
  }, (n, u)=>{
123
- const x = u === e, B = u < e, S = u === e - 1;
123
+ const x = u === e, B = u < e, I = u === e - 1;
124
124
  return /* @__PURE__ */ a("div", {
125
- className: T[l ? "inverse" : "default"],
125
+ className: y[l ? "inverse" : "default"],
126
126
  "aria-hidden": "true",
127
127
  children: (B || x) && /* @__PURE__ */ a("div", {
128
- className: V(y, {
129
- [C]: S && !i,
130
- [A]: x && i
128
+ className: V(A, {
129
+ [P]: I && !i,
130
+ [C]: x && i
131
131
  }),
132
132
  style: {
133
133
  backgroundColor: g !== null && g !== void 0 ? g : l ? v.colors.controlActivatedInverse : v.colors.controlActivated,
134
- maxWidth: B || S && !i ? "100%" : "0"
134
+ maxWidth: B || I && !i ? "100%" : "0"
135
135
  }
136
136
  })
137
137
  }, u);