@telefonica/mistica 16.36.1 → 16.37.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 (333) hide show
  1. package/css/blau.css +96 -24
  2. package/css/esimflag.css +93 -21
  3. package/css/mistica-common.css +9 -4
  4. package/css/mistica.css +1 -1
  5. package/css/movistar.css +101 -29
  6. package/css/o2-new.css +99 -28
  7. package/css/o2.css +93 -21
  8. package/css/telefonica.css +96 -24
  9. package/css/tu.css +96 -24
  10. package/css/vivo-new.css +96 -24
  11. package/css/vivo.css +96 -24
  12. package/dist/accordion.css-mistica.js +10 -10
  13. package/dist/align.css-mistica.js +1 -1
  14. package/dist/avatar.css-mistica.js +3 -3
  15. package/dist/badge.css-mistica.js +2 -2
  16. package/dist/box.css-mistica.js +13 -13
  17. package/dist/box.js +5 -5
  18. package/dist/boxed.css-mistica.js +25 -25
  19. package/dist/boxed.d.ts +2 -1
  20. package/dist/boxed.js +10 -9
  21. package/dist/button-group.css-mistica.js +4 -4
  22. package/dist/button-group.js +2 -2
  23. package/dist/button-layout.css-mistica.js +18 -18
  24. package/dist/button.css-mistica.js +35 -35
  25. package/dist/callout.css-mistica.js +5 -5
  26. package/dist/card-cover.d.ts +126 -0
  27. package/dist/card-cover.js +185 -0
  28. package/dist/card-data.d.ts +63 -0
  29. package/dist/card-data.js +171 -0
  30. package/dist/card-internal.css-mistica.js +78 -0
  31. package/dist/card-internal.css.d.ts +17 -0
  32. package/dist/card-internal.d.ts +166 -0
  33. package/dist/card-internal.js +1063 -0
  34. package/dist/card-media.d.ts +78 -0
  35. package/dist/card-media.js +163 -0
  36. package/dist/card-naked.d.ts +11 -0
  37. package/dist/card-naked.js +154 -0
  38. package/dist/carousel.css-mistica.js +25 -25
  39. package/dist/checkbox.css-mistica.js +9 -9
  40. package/dist/checkbox.js +2 -2
  41. package/dist/chip.css-mistica.js +15 -15
  42. package/dist/circle.css-mistica.js +1 -1
  43. package/dist/community/advanced-data-card.css-mistica.js +24 -24
  44. package/dist/community/advanced-data-card.d.ts +1 -1
  45. package/dist/community/advanced-data-card.js +7 -7
  46. package/dist/community/blocks.css-mistica.js +3 -3
  47. package/dist/community/example-component.css-mistica.js +1 -1
  48. package/dist/counter.css-mistica.js +9 -9
  49. package/dist/counter.js +8 -8
  50. package/dist/cover-hero-media.js +9 -9
  51. package/dist/cover-hero.css-mistica.js +15 -15
  52. package/dist/credit-card-number-field.css-mistica.js +3 -3
  53. package/dist/date-field.css-mistica.js +1 -1
  54. package/dist/date-time-picker.css-mistica.js +1 -1
  55. package/dist/dialog.css-mistica.js +12 -12
  56. package/dist/dialog.js +14 -14
  57. package/dist/divider.css-mistica.js +2 -2
  58. package/dist/double-field.css-mistica.js +4 -4
  59. package/dist/drawer.css-mistica.js +2 -2
  60. package/dist/empty-state-card.css-mistica.js +1 -1
  61. package/dist/empty-state.css-mistica.js +8 -8
  62. package/dist/fade-in.css-mistica.js +1 -1
  63. package/dist/feedback.css-mistica.js +4 -4
  64. package/dist/fixed-footer-layout.css-mistica.js +10 -10
  65. package/dist/fixed-footer-layout.js +5 -5
  66. package/dist/form.css-mistica.js +1 -1
  67. package/dist/form.js +5 -5
  68. package/dist/grid-layout.css-mistica.js +5 -5
  69. package/dist/grid.css-mistica.js +124 -124
  70. package/dist/header.css-mistica.js +3 -3
  71. package/dist/hero.css-mistica.js +6 -6
  72. package/dist/hooks.d.ts +4 -0
  73. package/dist/hooks.js +94 -83
  74. package/dist/horizontal-scroll.css-mistica.js +3 -3
  75. package/dist/horizontal-scroll.js +2 -2
  76. package/dist/icon-button.css-mistica.js +47 -47
  77. package/dist/icon-button.js +3 -3
  78. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  79. package/dist/icons/icon-error.css-mistica.js +1 -1
  80. package/dist/image.css-mistica.js +5 -5
  81. package/dist/image.d.ts +2 -0
  82. package/dist/image.js +24 -20
  83. package/dist/index.d.ts +18 -3
  84. package/dist/index.js +28 -13
  85. package/dist/inline.css-mistica.js +13 -13
  86. package/dist/list.css-mistica.js +30 -15
  87. package/dist/list.css.d.ts +5 -0
  88. package/dist/list.d.ts +16 -1
  89. package/dist/list.js +158 -99
  90. package/dist/loading-bar.css-mistica.js +1 -1
  91. package/dist/loading-bar.js +2 -2
  92. package/dist/loading-screen.css-mistica.js +10 -10
  93. package/dist/loading-screen.js +3 -3
  94. package/dist/logo.css-mistica.js +6 -6
  95. package/dist/menu.css-mistica.js +14 -14
  96. package/dist/menu.js +7 -7
  97. package/dist/mosaic.css-mistica.js +2 -2
  98. package/dist/navigation-bar.css-mistica.js +32 -32
  99. package/dist/navigation-breadcrumbs.css-mistica.js +3 -3
  100. package/dist/package-version.js +1 -1
  101. package/dist/pin-field.css-mistica.js +9 -9
  102. package/dist/pin-field.js +2 -2
  103. package/dist/popover.css-mistica.js +1 -1
  104. package/dist/progress-bar.css-mistica.js +5 -5
  105. package/dist/progress-bar.js +2 -2
  106. package/dist/radio-button.css-mistica.js +18 -18
  107. package/dist/radio-button.js +5 -5
  108. package/dist/rating.css-mistica.js +4 -4
  109. package/dist/rating.js +8 -8
  110. package/dist/responsive-layout.css-mistica.js +9 -9
  111. package/dist/responsive-layout.js +6 -6
  112. package/dist/screen-reader-only.css-mistica.js +1 -1
  113. package/dist/select.css-mistica.js +18 -18
  114. package/dist/select.js +9 -9
  115. package/dist/sheet-action-row.css-mistica.js +1 -1
  116. package/dist/sheet-common.css-mistica.js +12 -12
  117. package/dist/sheet-info.css-mistica.js +2 -2
  118. package/dist/skeletons.css-mistica.js +6 -6
  119. package/dist/skins/blau.js +50 -14
  120. package/dist/skins/esimflag.js +49 -13
  121. package/dist/skins/movistar.js +54 -18
  122. package/dist/skins/o2-new.js +49 -13
  123. package/dist/skins/o2.js +49 -13
  124. package/dist/skins/skin-contract.css-mistica.js +390 -354
  125. package/dist/skins/skin-contract.css.d.ts +48 -12
  126. package/dist/skins/telefonica.js +50 -14
  127. package/dist/skins/tu.js +50 -14
  128. package/dist/skins/types/colors.d.ts +24 -6
  129. package/dist/skins/vivo-new.js +50 -14
  130. package/dist/skins/vivo.js +50 -14
  131. package/dist/skip-link.css-mistica.js +2 -2
  132. package/dist/slider.css-mistica.js +13 -13
  133. package/dist/slider.js +9 -9
  134. package/dist/snackbar.css-mistica.js +7 -7
  135. package/dist/spinner.css-mistica.js +1 -1
  136. package/dist/stack.css-mistica.js +7 -7
  137. package/dist/stacking-group.css-mistica.js +1 -1
  138. package/dist/stepper.css-mistica.js +8 -8
  139. package/dist/stepper.js +3 -3
  140. package/dist/switch-component.css-mistica.js +37 -37
  141. package/dist/table.css-mistica.js +8 -8
  142. package/dist/table.d.ts +1 -1
  143. package/dist/table.js +8 -8
  144. package/dist/tabs.css-mistica.js +17 -17
  145. package/dist/tag.css-mistica.js +1 -1
  146. package/dist/tag.js +10 -10
  147. package/dist/text-field-base.css-mistica.js +10 -10
  148. package/dist/text-field-base.js +8 -8
  149. package/dist/text-field-components.css-mistica.js +18 -18
  150. package/dist/text-field-components.js +2 -2
  151. package/dist/text-link.css-mistica.js +5 -5
  152. package/dist/text.css-mistica.js +9 -9
  153. package/dist/text.js +7 -7
  154. package/dist/theme-context.css-mistica.js +434 -398
  155. package/dist/theme-context.css.d.ts +48 -12
  156. package/dist/timeline.css-mistica.js +12 -12
  157. package/dist/timer.css-mistica.js +8 -8
  158. package/dist/tooltip.css-mistica.js +7 -7
  159. package/dist/touchable.css-mistica.js +1 -1
  160. package/dist/utils/aspect-ratio-support.css-mistica.js +5 -5
  161. package/dist/utils/aspect-ratio-support.d.ts +5 -0
  162. package/dist/utils/aspect-ratio-support.js +26 -15
  163. package/dist/utils/color.d.ts +11 -0
  164. package/dist/utils/color.js +27 -6
  165. package/dist/utils/headings.d.ts +3 -0
  166. package/dist/video.css-mistica.js +2 -2
  167. package/dist/video.js +2 -2
  168. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -3
  169. package/dist-es/accordion.css-mistica.js +7 -7
  170. package/dist-es/align.css-mistica.js +1 -1
  171. package/dist-es/avatar.css-mistica.js +2 -2
  172. package/dist-es/badge.css-mistica.js +2 -2
  173. package/dist-es/box.css-mistica.js +13 -13
  174. package/dist-es/box.js +9 -9
  175. package/dist-es/boxed.css-mistica.js +24 -24
  176. package/dist-es/boxed.js +20 -19
  177. package/dist-es/button-group.css-mistica.js +2 -2
  178. package/dist-es/button-group.js +4 -4
  179. package/dist-es/button-layout.css-mistica.js +15 -15
  180. package/dist-es/button.css-mistica.js +22 -22
  181. package/dist-es/callout.css-mistica.js +5 -5
  182. package/dist-es/callout.js +5 -5
  183. package/dist-es/card-cover.js +125 -0
  184. package/dist-es/card-data.js +110 -0
  185. package/dist-es/card-internal.css-mistica.js +22 -0
  186. package/dist-es/card-internal.js +992 -0
  187. package/dist-es/card-media.js +105 -0
  188. package/dist-es/card-naked.js +96 -0
  189. package/dist-es/carousel.css-mistica.js +9 -9
  190. package/dist-es/checkbox.css-mistica.js +8 -8
  191. package/dist-es/checkbox.js +6 -6
  192. package/dist-es/chip.css-mistica.js +13 -13
  193. package/dist-es/circle.css-mistica.js +1 -1
  194. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  195. package/dist-es/community/advanced-data-card.js +29 -29
  196. package/dist-es/community/blocks.css-mistica.js +2 -2
  197. package/dist-es/community/example-component.css-mistica.js +1 -1
  198. package/dist-es/counter.css-mistica.js +2 -2
  199. package/dist-es/counter.js +8 -8
  200. package/dist-es/cover-hero-media.js +9 -9
  201. package/dist-es/cover-hero.css-mistica.js +4 -4
  202. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  203. package/dist-es/date-field.css-mistica.js +1 -1
  204. package/dist-es/date-time-picker.css-mistica.js +1 -1
  205. package/dist-es/dialog.css-mistica.js +5 -5
  206. package/dist-es/dialog.js +31 -31
  207. package/dist-es/divider.css-mistica.js +2 -2
  208. package/dist-es/double-field.css-mistica.js +4 -4
  209. package/dist-es/drawer.css-mistica.js +2 -2
  210. package/dist-es/empty-state-card.css-mistica.js +1 -1
  211. package/dist-es/empty-state.css-mistica.js +6 -6
  212. package/dist-es/empty-state.js +7 -7
  213. package/dist-es/fade-in.css-mistica.js +1 -1
  214. package/dist-es/feedback.css-mistica.js +2 -2
  215. package/dist-es/fixed-footer-layout.css-mistica.js +5 -5
  216. package/dist-es/fixed-footer-layout.js +5 -5
  217. package/dist-es/form.css-mistica.js +1 -1
  218. package/dist-es/form.js +5 -5
  219. package/dist-es/grid-layout.css-mistica.js +4 -4
  220. package/dist-es/grid.css-mistica.js +124 -124
  221. package/dist-es/grid.js +2 -2
  222. package/dist-es/header.css-mistica.js +2 -2
  223. package/dist-es/hero.css-mistica.js +3 -3
  224. package/dist-es/hooks.js +86 -78
  225. package/dist-es/horizontal-scroll.css-mistica.js +2 -2
  226. package/dist-es/horizontal-scroll.js +2 -2
  227. package/dist-es/icon-button.css-mistica.js +45 -45
  228. package/dist-es/icon-button.js +3 -3
  229. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  230. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  231. package/dist-es/image.css-mistica.js +4 -4
  232. package/dist-es/image.js +42 -38
  233. package/dist-es/index.js +1887 -1884
  234. package/dist-es/inline.css-mistica.js +11 -11
  235. package/dist-es/list.css-mistica.js +2 -2
  236. package/dist-es/list.js +226 -174
  237. package/dist-es/loading-bar.css-mistica.js +1 -1
  238. package/dist-es/loading-bar.js +6 -6
  239. package/dist-es/loading-screen.css-mistica.js +5 -5
  240. package/dist-es/loading-screen.js +8 -8
  241. package/dist-es/logo.css-mistica.js +6 -6
  242. package/dist-es/menu.css-mistica.js +13 -13
  243. package/dist-es/menu.js +7 -7
  244. package/dist-es/mosaic.css-mistica.js +2 -2
  245. package/dist-es/navigation-bar.css-mistica.js +17 -17
  246. package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
  247. package/dist-es/package-version.js +1 -1
  248. package/dist-es/pin-field.css-mistica.js +2 -2
  249. package/dist-es/pin-field.js +8 -8
  250. package/dist-es/popover.css-mistica.js +1 -1
  251. package/dist-es/progress-bar.css-mistica.js +5 -5
  252. package/dist-es/progress-bar.js +10 -10
  253. package/dist-es/radio-button.css-mistica.js +16 -16
  254. package/dist-es/radio-button.js +5 -5
  255. package/dist-es/rating.css-mistica.js +3 -3
  256. package/dist-es/rating.js +12 -12
  257. package/dist-es/responsive-layout.css-mistica.js +6 -6
  258. package/dist-es/responsive-layout.js +15 -15
  259. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  260. package/dist-es/select.css-mistica.js +17 -17
  261. package/dist-es/select.js +15 -15
  262. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  263. package/dist-es/sheet-common.css-mistica.js +2 -2
  264. package/dist-es/sheet-info.css-mistica.js +2 -2
  265. package/dist-es/skeletons.css-mistica.js +5 -5
  266. package/dist-es/skins/blau.js +50 -14
  267. package/dist-es/skins/esimflag.js +49 -13
  268. package/dist-es/skins/movistar.js +54 -18
  269. package/dist-es/skins/o2-new.js +49 -13
  270. package/dist-es/skins/o2.js +49 -13
  271. package/dist-es/skins/skin-contract.css-mistica.js +390 -354
  272. package/dist-es/skins/telefonica.js +50 -14
  273. package/dist-es/skins/tu.js +52 -16
  274. package/dist-es/skins/vivo-new.js +52 -16
  275. package/dist-es/skins/vivo.js +52 -16
  276. package/dist-es/skip-link.css-mistica.js +2 -2
  277. package/dist-es/slider.css-mistica.js +11 -11
  278. package/dist-es/slider.js +9 -9
  279. package/dist-es/snackbar.css-mistica.js +5 -5
  280. package/dist-es/spinner.css-mistica.js +1 -1
  281. package/dist-es/stack.css-mistica.js +6 -6
  282. package/dist-es/stacking-group.css-mistica.js +1 -1
  283. package/dist-es/stepper.css-mistica.js +3 -3
  284. package/dist-es/stepper.js +3 -3
  285. package/dist-es/style.css +1 -1
  286. package/dist-es/switch-component.css-mistica.js +29 -29
  287. package/dist-es/table.css-mistica.js +8 -8
  288. package/dist-es/table.js +12 -12
  289. package/dist-es/tabs.css-mistica.js +14 -14
  290. package/dist-es/tag.css-mistica.js +1 -1
  291. package/dist-es/tag.js +17 -17
  292. package/dist-es/text-field-base.css-mistica.js +2 -2
  293. package/dist-es/text-field-base.js +16 -16
  294. package/dist-es/text-field-components.css-mistica.js +5 -5
  295. package/dist-es/text-field-components.js +4 -4
  296. package/dist-es/text-link.css-mistica.js +5 -5
  297. package/dist-es/text.css-mistica.js +8 -8
  298. package/dist-es/text.js +6 -6
  299. package/dist-es/theme-context.css-mistica.js +432 -396
  300. package/dist-es/timeline.css-mistica.js +11 -11
  301. package/dist-es/timeline.js +4 -4
  302. package/dist-es/timer.css-mistica.js +7 -7
  303. package/dist-es/tooltip.css-mistica.js +2 -2
  304. package/dist-es/touchable.css-mistica.js +1 -1
  305. package/dist-es/utils/aspect-ratio-support.css-mistica.js +4 -4
  306. package/dist-es/utils/aspect-ratio-support.js +31 -23
  307. package/dist-es/utils/color.js +23 -5
  308. package/dist-es/video.css-mistica.js +2 -2
  309. package/dist-es/video.js +5 -5
  310. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +2 -2
  311. package/package.json +1 -1
  312. package/dist/card.css-mistica.js +0 -106
  313. package/dist/card.css.d.ts +0 -33
  314. package/dist/card.d.ts +0 -299
  315. package/dist/card.js +0 -1694
  316. package/dist/highlighted-card.css-mistica.js +0 -30
  317. package/dist/highlighted-card.css.d.ts +0 -7
  318. package/dist/highlighted-card.css.ts.vanilla.css-mistica.js +0 -11
  319. package/dist/highlighted-card.d.ts +0 -34
  320. package/dist/highlighted-card.js +0 -253
  321. package/dist/maybe-dismissable.css-mistica.js +0 -21
  322. package/dist/maybe-dismissable.css.ts.vanilla.css-mistica.js +0 -11
  323. package/dist/maybe-dismissable.js +0 -108
  324. package/dist-es/card.css-mistica.js +0 -8
  325. package/dist-es/card.js +0 -1599
  326. package/dist-es/highlighted-card.css-mistica.js +0 -7
  327. package/dist-es/highlighted-card.css.ts.vanilla.css-mistica.js +0 -2
  328. package/dist-es/highlighted-card.js +0 -198
  329. package/dist-es/maybe-dismissable.css-mistica.js +0 -4
  330. package/dist-es/maybe-dismissable.css.ts.vanilla.css-mistica.js +0 -2
  331. package/dist-es/maybe-dismissable.js +0 -45
  332. /package/dist/{card.css.ts.vanilla.css-mistica.js → card-internal.css.ts.vanilla.css-mistica.js} +0 -0
  333. /package/dist-es/{card.css.ts.vanilla.css-mistica.js → card-internal.css.ts.vanilla.css-mistica.js} +0 -0
package/dist-es/rating.js CHANGED
@@ -78,7 +78,7 @@ import fo from "./generated/mistica-icons/icon-face-happy-regular.js";
78
78
  import go from "./generated/mistica-icons/icon-face-super-happy-filled.js";
79
79
  import bo from "./generated/mistica-icons/icon-face-super-happy-regular.js";
80
80
  import { useTheme as ho } from "./hooks.js";
81
- import { ratingVeryBadLabel as Ao, ratingBadLabel as Fo, ratingRegularLabel as Ro, ratingGoodLabel as No, ratingVeryGoodLabel as So, ratingQuantitativeLabel as Lo } from "./text-tokens.js";
81
+ import { ratingVeryBadLabel as Ao, ratingBadLabel as Fo, ratingRegularLabel as Ro, ratingGoodLabel as So, ratingVeryGoodLabel as Lo, ratingQuantitativeLabel as No } from "./text-tokens.js";
82
82
  const To = 32, _o = 16, yo = 5, Eo = {
83
83
  ActiveIcon: q,
84
84
  InactiveIcon: D,
@@ -125,23 +125,23 @@ const To = 32, _o = 16, yo = 5, Eo = {
125
125
  R
126
126
  ];
127
127
  }, H = (param)=>{
128
- let { icons: i = V, count: e = yo, icon: I = Eo, size: a = To, type: n = "quantitative", dataAttributes: p, onChangeValue: A, defaultValue: F, value: R, disabled: l, role: N, valueLabels: O, withHalfValue: Q, "aria-label": f, "aria-labelledby": S } = param;
128
+ let { icons: i = V, count: e = yo, icon: I = Eo, size: a = To, type: n = "quantitative", dataAttributes: p, onChangeValue: A, defaultValue: F, value: R, disabled: l, role: S, valueLabels: O, withHalfValue: Q, "aria-label": f, "aria-labelledby": L } = param;
129
129
  const { texts: v, t: u } = ho(), $ = [
130
130
  v.ratingVeryBadLabel || u(Ao),
131
131
  v.ratingBadLabel || u(Fo),
132
132
  v.ratingRegularLabel || u(Ro),
133
- v.ratingGoodLabel || u(No),
134
- v.ratingVeryGoodLabel || u(So)
133
+ v.ratingGoodLabel || u(So),
134
+ v.ratingVeryGoodLabel || u(Lo)
135
135
  ], B = Array.from({
136
136
  length: e
137
- }, (o, t)=>(v.ratingQuantitativeLabel || u(Lo)).replace("1$s", String(t + 1)).replace("2$s", String(e))), m = n === "qualitative" ? i : Array.from({
137
+ }, (o, t)=>(v.ratingQuantitativeLabel || u(No)).replace("1$s", String(t + 1)).replace("2$s", String(e))), m = n === "qualitative" ? i : Array.from({
138
138
  length: e
139
- }, ()=>I), g = O !== null && O !== void 0 ? O : n === "qualitative" && no(m, V) ? $ : B, b = N === "radiogroup", _ = b ? 16 : a <= 16 ? 2 : a <= 24 ? 4 : 8, y = P(), [L, E] = T.useState(void 0), C = eo(), [s, M] = Go({
139
+ }, ()=>I), g = O !== null && O !== void 0 ? O : n === "qualitative" && no(m, V) ? $ : B, b = S === "radiogroup", _ = b ? 16 : a <= 16 ? 2 : a <= 24 ? 4 : 8, y = P(), [N, E] = T.useState(void 0), C = eo(), [s, M] = Go({
140
140
  value: R,
141
141
  defaultValue: F,
142
142
  iconsCount: m.length,
143
143
  onChangeValue: A
144
- }), j = (o)=>L !== void 0 && !l ? n === "qualitative" && o === L || n === "quantitative" && o <= L ? "active" : "inactive" : n === "qualitative" ? o === s ? "active" : "inactive" : b ? o <= s ? "active" : "inactive" : Q ? o - 0.75 <= s && s < o - 0.25 ? "half" : o - 0.25 <= s ? "active" : "inactive" : o - 0.5 < s ? "active" : "inactive", w = (o, t)=>{
144
+ }), j = (o)=>N !== void 0 && !l ? n === "qualitative" && o === N || n === "quantitative" && o <= N ? "active" : "inactive" : n === "qualitative" ? o === s ? "active" : "inactive" : b ? o <= s ? "active" : "inactive" : Q ? o - 0.75 <= s && s < o - 0.25 ? "half" : o - 0.25 <= s ? "active" : "inactive" : o - 0.5 < s ? "active" : "inactive", w = (o, t)=>{
145
145
  const d = y === "inverse" ? c.colors.inverse : m[t].color, h = y === "inverse" ? c.colors.inverse : b ? c.colors.control : m[0].color;
146
146
  switch(j(t + 1)){
147
147
  case "active":
@@ -207,17 +207,17 @@ const To = 32, _o = 16, yo = 5, Eo = {
207
207
  }
208
208
  }, t) : d;
209
209
  };
210
- return N === "img" ? /* @__PURE__ */ r(U, {
210
+ return S === "img" ? /* @__PURE__ */ r(U, {
211
211
  space: _,
212
212
  dataAttributes: p,
213
- role: N,
214
- "aria-label": f !== null && f !== void 0 ? f : S ? void 0 : `${s} de ${e}`,
215
- "aria-labelledby": f ? void 0 : S,
213
+ role: S,
214
+ "aria-label": f !== null && f !== void 0 ? f : L ? void 0 : `${s} de ${e}`,
215
+ "aria-labelledby": f ? void 0 : L,
216
216
  children: m.map(G)
217
217
  }) : /* @__PURE__ */ r(io, {
218
218
  name: "info-rating",
219
219
  "aria-label": f,
220
- "aria-labelledby": f ? void 0 : S,
220
+ "aria-labelledby": f ? void 0 : L,
221
221
  disabled: l,
222
222
  onChange: (o)=>{
223
223
  M(g.findIndex((t)=>t === o) + 1);
@@ -1,8 +1,8 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./responsive-layout.css.ts.vanilla.css-mistica.js";
3
- var v = 16, e = 32, o = {
4
- inverse: "v16_36_1_1y2v1nf4l",
5
- media: "v16_36_1_1y2v1nf8k",
6
- alternative: "v16_36_1_1y2v1nf4q"
7
- }, a = "v16_36_1_17lofg77", n = "v16_36_1_17lofg78", t = "v16_36_1_17lofg7a", i = "v16_36_1_17lofg7g v16_36_1_1y2v1nfjf", f = "v16_36_1_17lofg79", l = "v16_36_1_17lofg73", g = "v16_36_1_17lofg72", s = "v16_36_1_17lofg75", p = "v16_36_1_17lofg74", M = "v16_36_1_17lofg7e", C = "v16_36_1_17lofg76";
8
- export { v as MOBILE_SIDE_MARGIN, e as TABLET_SIDE_MARGIN, o as backgroundVariant, a as desktopContainer, n as forcedMarginDesktopContainer, t as forcedMarginMobileContainer, i as fullWidth, f as mobileContainer, l as resetContainerDesktop, g as resetContainerMobile, s as resetDesktop, p as resetMobile, M as responsiveLayout, C as responsiveLayoutContainer };
3
+ var e = 16, o = 32, _ = {
4
+ inverse: "v16_37_1y2v1nf53",
5
+ media: "v16_37_1y2v1nf9k",
6
+ alternative: "v16_37_1y2v1nf58"
7
+ }, a = "v16_37_17lofg77", n = "v16_37_17lofg78", t = "v16_37_17lofg7a", i = "v16_37_17lofg7g v16_37_1y2v1nfkf", f = "v16_37_17lofg79", l = "v16_37_17lofg73", g = "v16_37_17lofg72", s = "v16_37_17lofg75", p = "v16_37_17lofg74", M = "v16_37_17lofg7e", k = "v16_37_17lofg76";
8
+ export { e as MOBILE_SIDE_MARGIN, o as TABLET_SIDE_MARGIN, _ as backgroundVariant, a as desktopContainer, n as forcedMarginDesktopContainer, t as forcedMarginMobileContainer, i as fullWidth, f as mobileContainer, l as resetContainerDesktop, g as resetContainerMobile, s as resetDesktop, p as resetMobile, M as responsiveLayout, k as responsiveLayoutContainer };
@@ -79,27 +79,27 @@ function _object_without_properties_loose(source, excluded) {
79
79
  return target;
80
80
  }
81
81
  import { jsx as t } from "react/jsx-runtime";
82
- import s from "classnames";
82
+ import o from "classnames";
83
83
  import { getPrefixedDataAttributes as f } from "./utils/dom.js";
84
- import { backgroundVariant as v, desktopContainer as p, forcedMarginDesktopContainer as y, mobileContainer as h, forcedMarginMobileContainer as C, responsiveLayoutContainer as L, fullWidth as b, responsiveLayout as N, resetContainerMobile as R, resetContainerDesktop as V, resetMobile as g, resetDesktop as M } from "./responsive-layout.css-mistica.js";
84
+ import { backgroundVariant as v, desktopContainer as p, forcedMarginDesktopContainer as y, mobileContainer as h, forcedMarginMobileContainer as C, responsiveLayoutContainer as L, fullWidth as b, responsiveLayout as R, resetContainerMobile as V, resetContainerDesktop as g, resetMobile as M, resetDesktop as N } from "./responsive-layout.css-mistica.js";
85
85
  import { useThemeVariant as x, ThemeVariant as D } from "./theme-variant-context.js";
86
86
  const k = (param)=>{
87
- let { children: a, isInverse: e = !1, variant: r, backgroundColor: n, className: d, fullWidth: i, dataAttributes: m, shouldExpandWhenNested: l = !1, innerDivClassName: c } = param;
88
- const u = x(), o = r || e && "inverse" || void 0;
87
+ let { children: a, isInverse: e = !1, variant: r, backgroundColor: s, className: d, fullWidth: i, dataAttributes: m, shouldExpandWhenNested: l = !1, innerDivClassName: c } = param;
88
+ const u = x(), n = r || e && "inverse" || void 0;
89
89
  return /* @__PURE__ */ t(D, {
90
- variant: o !== null && o !== void 0 ? o : u,
90
+ variant: n !== null && n !== void 0 ? n : u,
91
91
  children: /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
92
- className: s(d, o && o !== "default" && v[o], ...i ? [] : [
92
+ className: o(d, n && n !== "default" && v[n], ...i ? [] : [
93
93
  l ? p : y,
94
94
  l === !0 ? h : C,
95
95
  L
96
96
  ]),
97
- style: n ? {
98
- background: n
97
+ style: s ? {
98
+ background: s
99
99
  } : void 0
100
100
  }, f(m)), {
101
101
  children: /* @__PURE__ */ t("div", {
102
- className: s(i ? b : N, c),
102
+ className: o(i ? b : R, c),
103
103
  children: a
104
104
  })
105
105
  }))
@@ -115,14 +115,14 @@ const k = (param)=>{
115
115
  }, q = (param)=>{
116
116
  let { children: a, skipMobile: e = !1, skipDesktop: r = !1 } = param;
117
117
  return /* @__PURE__ */ t("div", {
118
- className: s({
119
- [R]: !e,
120
- [V]: !r
118
+ className: o({
119
+ [V]: !e,
120
+ [g]: !r
121
121
  }),
122
122
  children: /* @__PURE__ */ t("div", {
123
- className: s({
124
- [g]: !e,
125
- [M]: !r
123
+ className: o({
124
+ [M]: !e,
125
+ [N]: !r
126
126
  }),
127
127
  children: a
128
128
  })
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./screen-reader-only.css.ts.vanilla.css-mistica.js";
3
- var n = "v16_36_1_gwdgwo1 v16_36_1_1y2v1nf8l v16_36_1_1y2v1nf9u v16_36_1_1y2v1nfb3 v16_36_1_1y2v1nfcc v16_36_1_1y2v1nfin v16_36_1_1y2v1nflu v16_36_1_1y2v1nfla";
3
+ var n = "v16_37_gwdgwo1 v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfc3 v16_37_1y2v1nfdc v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfma";
4
4
  export { n as screenReaderOnly };
@@ -2,23 +2,23 @@ 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 "./select.css.ts.vanilla.css-mistica.js";
5
- var f = "v16_36_1_1sqpivvo v16_36_1_1y2v1nfin", y = "v16_36_1_1sqpivvp", a = "v16_36_1_1sqpivvr v16_36_1_1y2v1nfbi v16_36_1_1y2v1nfcr v16_36_1_1y2v1nf8u v16_36_1_1y2v1nfa3 v16_36_1_1y2v1nf2c v16_36_1_1y2v1nfis v16_36_1_1y2v1nfj7 v16_36_1_1y2v1nflt", s = "v16_36_1_1y2v1nf4q", r = {
6
- show: "v16_36_1_1sqpivv7",
7
- hide: "v16_36_1_1sqpivv8"
8
- }, t = "v16_36_1_1sqpivv6 v16_36_1_1y2v1nf8l v16_36_1_1y2v1nf9u v16_36_1_1y2v1nfb3 v16_36_1_1y2v1nfcc v16_36_1_1y2v1nfio v16_36_1_1y2v1nflj v16_36_1_1y2v1nf4c", p = {
9
- default: "v16_36_1_1sqpivvd v16_36_1_1sqpivvc v16_36_1_1y2v1nfim v16_36_1_1y2v1nflt",
10
- fullWidth: "v16_36_1_1sqpivve v16_36_1_1sqpivvc v16_36_1_1y2v1nfim v16_36_1_1y2v1nflt"
11
- }, l = {
12
- default: "v16_36_1_1sqpivvl v16_36_1_1sqpivvk v16_36_1_1y2v1nfin v16_36_1_1y2v1nflu v16_36_1_1y2v1nfl7 v16_36_1_1y2v1nf2c",
13
- disabled: "v16_36_1_1sqpivvm v16_36_1_1sqpivvk v16_36_1_1y2v1nfin v16_36_1_1y2v1nflu v16_36_1_1y2v1nfl7 v16_36_1_1y2v1nf2c"
5
+ var i = "v16_37_1sqpivvo v16_37_1y2v1nfjn", y = "v16_37_1sqpivvp", a = "v16_37_1sqpivvr v16_37_1y2v1nfci v16_37_1y2v1nfdr v16_37_1y2v1nf9u v16_37_1y2v1nfb3 v16_37_1y2v1nf2n v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfmt", s = "v16_37_1y2v1nf58", r = {
6
+ show: "v16_37_1sqpivv7",
7
+ hide: "v16_37_1sqpivv8"
8
+ }, t = "v16_37_1sqpivv6 v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfc3 v16_37_1y2v1nfdc v16_37_1y2v1nfjo v16_37_1y2v1nfmj v16_37_1y2v1nf4u", p = {
9
+ default: "v16_37_1sqpivvd v16_37_1sqpivvc v16_37_1y2v1nfjm v16_37_1y2v1nfmt",
10
+ fullWidth: "v16_37_1sqpivve v16_37_1sqpivvc v16_37_1y2v1nfjm v16_37_1y2v1nfmt"
11
+ }, m = {
12
+ default: "v16_37_1sqpivvl v16_37_1sqpivvk v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfm7 v16_37_1y2v1nf2n",
13
+ disabled: "v16_37_1sqpivvm v16_37_1sqpivvk v16_37_1y2v1nfjn v16_37_1y2v1nfmu v16_37_1y2v1nfm7 v16_37_1y2v1nf2n"
14
14
  }, e = {
15
- default: "v16_36_1_1sqpivvh v16_36_1_1sqpivvg v16_36_1_1y2v1nf8l v16_36_1_1y2v1nf9u v16_36_1_1y2v1nfla v16_36_1_1y2v1nflu v16_36_1_1y2v1nf2c v16_36_1_1y2v1nf8k v16_36_1_1y2v1nfjf v16_36_1_1y2v1nflj",
16
- disabled: "v16_36_1_1sqpivvi v16_36_1_1sqpivvg v16_36_1_1y2v1nf8l v16_36_1_1y2v1nf9u v16_36_1_1y2v1nfla v16_36_1_1y2v1nflu v16_36_1_1y2v1nf2c v16_36_1_1y2v1nf8k v16_36_1_1y2v1nfjf v16_36_1_1y2v1nflj"
15
+ default: "v16_37_1sqpivvh v16_37_1sqpivvg v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfma v16_37_1y2v1nfmu v16_37_1y2v1nf2n v16_37_1y2v1nf9k v16_37_1y2v1nfkf v16_37_1y2v1nfmj",
16
+ disabled: "v16_37_1sqpivvi v16_37_1sqpivvg v16_37_1y2v1nf9l v16_37_1y2v1nfau v16_37_1y2v1nfma v16_37_1y2v1nfmu v16_37_1y2v1nf2n v16_37_1y2v1nf9k v16_37_1y2v1nfkf v16_37_1y2v1nfmj"
17
17
  }, q = {
18
- top: "var(--v16_36_1_1sqpivv0)",
19
- left: "var(--v16_36_1_1sqpivv1)",
20
- transformOrigin: "var(--v16_36_1_1sqpivv2)",
21
- minWidth: "var(--v16_36_1_1sqpivv3)",
22
- maxHeight: "var(--v16_36_1_1sqpivv4)"
18
+ top: "var(--v16_37_1sqpivv0)",
19
+ left: "var(--v16_37_1sqpivv1)",
20
+ transformOrigin: "var(--v16_37_1sqpivv2)",
21
+ minWidth: "var(--v16_37_1sqpivv3)",
22
+ maxHeight: "var(--v16_37_1sqpivv4)"
23
23
  };
24
- export { f as arrowDown, y as iconContainer, a as menuItem, s as menuItemSelected, r as optionsAnimationsVariants, t as optionsContainer, p as selectContainerVariants, l as selectTextVariants, e as selectVariants, q as vars };
24
+ export { i as arrowDown, y as iconContainer, a as menuItem, s as menuItemSelected, r as optionsAnimationsVariants, t as optionsContainer, p as selectContainerVariants, m as selectTextVariants, e as selectVariants, q as vars };
package/dist-es/select.js CHANGED
@@ -64,7 +64,7 @@ import je from "./overlay.js";
64
64
  import { isAndroid as Ke, isIos as Ue } from "./utils/platform.js";
65
65
  import { cancelEvent as m } from "./utils/dom.js";
66
66
  import { Text3 as Xe } from "./text.js";
67
- import { selectVariants as Je, arrowDown as Qe, iconContainer as ce, selectContainerVariants as Ye, selectTextVariants as et, vars as b, optionsContainer as tt, optionsAnimationsVariants as ae, menuItem as nt, menuItemSelected as rt } from "./select.css-mistica.js";
67
+ import { selectVariants as Je, arrowDown as Qe, iconContainer as ce, selectContainerVariants as Ye, selectTextVariants as et, vars as N, optionsContainer as tt, optionsAnimationsVariants as ae, menuItem as nt, menuItemSelected as rt } from "./select.css-mistica.js";
68
68
  import { inputWithLabel as le, inputWithoutLabel as ue } from "./text-field-base.css-mistica.js";
69
69
  import { Portal as ot } from "./portal.js";
70
70
  import { pxToRem as st, applyCssVars as it } from "./utils/css.js";
@@ -73,8 +73,8 @@ import { vars as de } from "./skins/skin-contract.css-mistica.js";
73
73
  const at = (param)=>{
74
74
  let { id: fe, label: u, helperText: pe, value: me, defaultValue: he, onChangeValue: C, name: i, fullWidth: M, options: d, optional: P, showOptionalLabel: Se, disabled: ve, error: ge, onBlur: D, autoFocus: z = !1, native: Te, dataAttributes: j } = param;
75
75
  var re;
76
- const h = n.useRef(null), f = n.useRef(null), S = n.useRef(null), v = n.useRef(null), R = n.useRef(/* @__PURE__ */ new Map()), [Ie, we] = n.useState(!0), [g, Ee] = n.useState(he), [H, K] = n.useState(!1), [U, X] = n.useState(!1), [J, O] = n.useState(!1), [a, F] = n.useState({}), [T, W] = n.useState(), G = n.useRef(null), xe = n.useId(), L = fe || xe, { rawValues: Oe, setRawValue: Z, setValue: $, formStatus: ye, formErrors: Q, setFormError: Ne, register: B } = He(), { platformOverrides: Y } = Fe(), be = Te || process.env.NODE_ENV === "test" && !process.env.SSR_TEST || Ke(Y) || Ue(Y), I = ve || ye === "sending", A = ge || !!Q[i], ee = Q[i] || pe, l = me !== null && me !== void 0 ? me : Oe[i], te = (e)=>{
77
- C == null || C(e), Ne({
76
+ const h = n.useRef(null), f = n.useRef(null), S = n.useRef(null), v = n.useRef(null), R = n.useRef(/* @__PURE__ */ new Map()), [Ie, we] = n.useState(!0), [g, Ee] = n.useState(he), [H, K] = n.useState(!1), [U, X] = n.useState(!1), [J, O] = n.useState(!1), [a, F] = n.useState({}), [T, W] = n.useState(), G = n.useRef(null), xe = n.useId(), L = fe || xe, { rawValues: Oe, setRawValue: Z, setValue: $, formStatus: ye, formErrors: Q, setFormError: be, register: B } = He(), { platformOverrides: Y } = Fe(), Ne = Te || process.env.NODE_ENV === "test" && !process.env.SSR_TEST || Ke(Y) || Ue(Y), I = ve || ye === "sending", A = ge || !!Q[i], ee = Q[i] || pe, l = me !== null && me !== void 0 ? me : Oe[i], te = (e)=>{
77
+ C == null || C(e), be({
78
78
  name: i,
79
79
  error: ""
80
80
  }), Z({
@@ -87,9 +87,9 @@ const at = (param)=>{
87
87
  }, w = (e)=>{
88
88
  if (e) {
89
89
  if (S != null && S.current) {
90
- const s = S.current.getBoundingClientRect(), p = s.top, x = s.width, y = s.left, Ce = s.height, N = p + Ce, V = Math.min(d.length, 8) * 48 + 16;
91
- if (N + V + 12 > window.innerHeight) {
92
- const Me = window.innerHeight - N;
90
+ const s = S.current.getBoundingClientRect(), p = s.top, x = s.width, y = s.left, Ce = s.height, b = p + Ce, V = Math.min(d.length, 8) * 48 + 16;
91
+ if (b + V + 12 > window.innerHeight) {
92
+ const Me = window.innerHeight - b;
93
93
  if (p > Me) {
94
94
  const Pe = p - V;
95
95
  F({
@@ -101,14 +101,14 @@ const at = (param)=>{
101
101
  });
102
102
  } else F({
103
103
  minWidth: x,
104
- top: N,
104
+ top: b,
105
105
  left: y,
106
- maxHeight: window.innerHeight - N - 12,
106
+ maxHeight: window.innerHeight - b - 12,
107
107
  transformOrigin: "center top"
108
108
  });
109
109
  } else F({
110
110
  minWidth: x,
111
- top: N,
111
+ top: b,
112
112
  left: y,
113
113
  maxHeight: V,
114
114
  transformOrigin: "center top"
@@ -228,7 +228,7 @@ const at = (param)=>{
228
228
  var _a_transformOrigin;
229
229
  return /* @__PURE__ */ r(ct, {
230
230
  variant: "default",
231
- children: be || Ie ? /* @__PURE__ */ _($e, {
231
+ children: Ne || Ie ? /* @__PURE__ */ _($e, {
232
232
  disabled: I,
233
233
  helperText: /* @__PURE__ */ r(Be, {
234
234
  error: A,
@@ -372,11 +372,11 @@ const at = (param)=>{
372
372
  children: /* @__PURE__ */ r(ot, {
373
373
  children: /* @__PURE__ */ r("ul", {
374
374
  style: it({
375
- [b.top]: a.top ? `${a.top}px` : "",
376
- [b.left]: a.left ? `${a.left}px` : "",
377
- [b.maxHeight]: a.maxHeight ? `${a.maxHeight}px` : "",
378
- [b.minWidth]: a.minWidth ? `${a.minWidth}px` : "",
379
- [b.transformOrigin]: (_a_transformOrigin = a.transformOrigin) !== null && _a_transformOrigin !== void 0 ? _a_transformOrigin : ""
375
+ [N.top]: a.top ? `${a.top}px` : "",
376
+ [N.left]: a.left ? `${a.left}px` : "",
377
+ [N.maxHeight]: a.maxHeight ? `${a.maxHeight}px` : "",
378
+ [N.minWidth]: a.minWidth ? `${a.minWidth}px` : "",
379
+ [N.transformOrigin]: (_a_transformOrigin = a.transformOrigin) !== null && _a_transformOrigin !== void 0 ? _a_transformOrigin : ""
380
380
  }),
381
381
  onPointerDown: m,
382
382
  className: k(tt, U ? ae.show : ae.hide),
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./sheet-action-row.css.ts.vanilla.css-mistica.js";
3
- var n = "v16_36_1_4k81wx1 v16_36_1_1y2v1nf90 v16_36_1_1y2v1nfa9 v16_36_1_1y2v1nfbi v16_36_1_1y2v1nfcr v16_36_1_1y2v1nfis v16_36_1_1y2v1nfl5 v16_36_1_1y2v1nfj7";
3
+ var n = "v16_37_4k81wx1 v16_37_1y2v1nfa0 v16_37_1y2v1nfb9 v16_37_1y2v1nfci v16_37_1y2v1nfdr v16_37_1y2v1nfjs v16_37_1y2v1nfm5 v16_37_1y2v1nfk7";
4
4
  export { n as sheetActionRow };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./sheet-common.css.ts.vanilla.css-mistica.js";
3
- var n = "v16_36_1_pidemf6 v16_36_1_1y2v1nf4b", f = "v16_36_1_pidemf4 v16_36_1_1y2v1nfio v16_36_1_1y2v1nfmf v16_36_1_1y2v1nfmu v16_36_1_1y2v1nfn9", y = "v16_36_1_pidemf9 v16_36_1_1y2v1nf99 v16_36_1_1y2v1nfis v16_36_1_1y2v1nfiy", e = "v16_36_1_pidemfu", i = "v16_36_1_1y2v1nflz v16_36_1_1y2v1nfje v16_36_1_1y2v1nfis v16_36_1_1y2v1nfiy", a = "v16_36_1_pidemfp", r = "v16_36_1_pidemf7", m = "v16_36_1_1y2v1nf5m v16_36_1_1y2v1nfjf v16_36_1_1y2v1nfjw v16_36_1_1y2v1nfld", t = "v16_36_1_pidemfe v16_36_1_1y2v1nfir", o = "v16_36_1_1y2v1nfjo v16_36_1_1y2v1nfjz", d = "v16_36_1_pidemfj v16_36_1_1y2v1nf96 v16_36_1_1y2v1nfaf v16_36_1_1y2v1nfbo v16_36_1_1y2v1nfcx v16_36_1_1y2v1nfin v16_36_1_1y2v1nfm0 v16_36_1_1y2v1nfmu", p = "v16_36_1_pidemfo v16_36_1_1y2v1nfio v16_36_1_1y2v1nf4n v16_36_1_1y2v1nfm0 v16_36_1_1y2v1nfmf v16_36_1_1y2v1nfmu v16_36_1_1y2v1nfn9", l = "v16_36_1_pidemfc v16_36_1_1y2v1nf8u v16_36_1_1y2v1nfa3 v16_36_1_1y2v1nfin v16_36_1_1y2v1nfm0 v16_36_1_1y2v1nfk9 v16_36_1_1y2v1nfjf v16_36_1_1y2v1nfis v16_36_1_1y2v1nfj1", s = "v16_36_1_pidemft v16_36_1_1y2v1nfiq v16_36_1_1y2v1nfn9 v16_36_1_1y2v1nf4b", h = "v16_36_1_pidemfr v16_36_1_1y2v1nfiq v16_36_1_1y2v1nfm0 v16_36_1_1y2v1nf4b", u = 400;
4
- export { n as Sheet, f as SheetContainer, y as SheetContent, e as bodyContent, i as children, a as closingOverlay, r as closingSheet, m as handleBar, t as handleContainer, o as handleTouchable, d as modalCloseButton, p as overlay, l as sheetTopDraggingArea, s as stickyButtons, h as stickyTitle, u as transitionDuration };
3
+ var n = "v16_37_pidemf6 v16_37_1y2v1nf4t", f = "v16_37_pidemf4 v16_37_1y2v1nfjo v16_37_1y2v1nfnf v16_37_1y2v1nfnu v16_37_1y2v1nfo9", y = "v16_37_pidemf9 v16_37_1y2v1nfa9 v16_37_1y2v1nfjs v16_37_1y2v1nfjy", e = "v16_37_pidemfu", a = "v16_37_1y2v1nfmz v16_37_1y2v1nfke v16_37_1y2v1nfjs v16_37_1y2v1nfjy", r = "v16_37_pidemfp", t = "v16_37_pidemf7", o = "v16_37_1y2v1nf6f v16_37_1y2v1nfkf v16_37_1y2v1nfkw v16_37_1y2v1nfmd", i = "v16_37_pidemfe v16_37_1y2v1nfjr", d = "v16_37_1y2v1nfko v16_37_1y2v1nfkz", m = "v16_37_pidemfj v16_37_1y2v1nfa6 v16_37_1y2v1nfbf v16_37_1y2v1nfco v16_37_1y2v1nfdx v16_37_1y2v1nfjn v16_37_1y2v1nfn0 v16_37_1y2v1nfnu", p = "v16_37_pidemfo v16_37_1y2v1nfjo v16_37_1y2v1nf55 v16_37_1y2v1nfn0 v16_37_1y2v1nfnf v16_37_1y2v1nfnu v16_37_1y2v1nfo9", j = "v16_37_pidemfc v16_37_1y2v1nf9u v16_37_1y2v1nfb3 v16_37_1y2v1nfjn v16_37_1y2v1nfn0 v16_37_1y2v1nfl9 v16_37_1y2v1nfkf v16_37_1y2v1nfjs v16_37_1y2v1nfk1", l = "v16_37_pidemft v16_37_1y2v1nfjq v16_37_1y2v1nfo9 v16_37_1y2v1nf4t", s = "v16_37_pidemfr v16_37_1y2v1nfjq v16_37_1y2v1nfn0 v16_37_1y2v1nf4t", h = 400;
4
+ export { n as Sheet, f as SheetContainer, y as SheetContent, e as bodyContent, a as children, r as closingOverlay, t as closingSheet, o as handleBar, i as handleContainer, d as handleTouchable, m as modalCloseButton, p as overlay, j as sheetTopDraggingArea, l as stickyButtons, s as stickyTitle, h as transitionDuration };
@@ -1,3 +1,3 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
- var v = "v16_36_1_1y2v1nfis v16_36_1_1y2v1nfj7 v16_36_1_1y2v1nfk4", n = "v16_36_1_1y2v1nfjw v16_36_1_1y2v1nfis", f = "v16_36_1_1y2v1nf90 v16_36_1_1y2v1nfa9 v16_36_1_1y2v1nfis v16_36_1_1y2v1nfj7 v16_36_1_1y2v1nfl5";
3
- export { v as infoItemIcon, n as infoItemIconContainer, f as itemContainer };
2
+ var _ = "v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfl4", n = "v16_37_1y2v1nfkw v16_37_1y2v1nfjs", f = "v16_37_1y2v1nfa0 v16_37_1y2v1nfb9 v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfm5";
3
+ export { _ as infoItemIcon, n as infoItemIconContainer, f as itemContainer };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./skeletons.css.ts.vanilla.css-mistica.js";
3
- var n = "v16_36_1_zopolw6 v16_36_1_1y2v1nfiu", r = {
4
- default: "v16_36_1_1y2v1nf4o",
5
- inverse: "v16_36_1_1y2v1nf4p"
6
- }, a = "v16_36_1_1y2v1nfja v16_36_1_1y2v1nfjc", o = "v16_36_1_zopolwa v16_36_1_1y2v1nfjb", f = "v16_36_1_1y2v1nfis v16_36_1_1y2v1nfj7 v16_36_1_1y2v1nfj1";
7
- export { n as animation, r as background, a as circle, o as line, f as row };
3
+ var n = "v16_37_zopolw6 v16_37_1y2v1nfju", r = {
4
+ default: "v16_37_1y2v1nf56",
5
+ inverse: "v16_37_1y2v1nf57"
6
+ }, a = "v16_37_1y2v1nfka v16_37_1y2v1nfkc", f = "v16_37_zopolwa v16_37_1y2v1nfkb", o = "v16_37_1y2v1nfjs v16_37_1y2v1nfk7 v16_37_1y2v1nfk1";
7
+ export { n as animation, r as background, a as circle, f as line, o as row };
@@ -75,34 +75,51 @@ const e = {
75
75
  buttonDangerBackground: e.blauRed,
76
76
  buttonDangerBackgroundPressed: e.blauRed70,
77
77
  buttonDangerBackgroundHover: e.blauRed70,
78
- buttonLinkDangerBackgroundPressed: e.blauRed10,
79
78
  buttonLinkDangerBackgroundInverse: e.white,
79
+ buttonLinkDangerBackgroundMedia: e.white,
80
+ buttonLinkDangerBackgroundPressed: e.blauRed10,
80
81
  buttonLinkDangerBackgroundInversePressed: e.blauRed10,
82
+ buttonLinkDangerBackgroundMediaPressed: e.blauRed10,
81
83
  buttonLinkBackgroundPressed: e.blauPurple10,
82
84
  buttonLinkBackgroundInversePressed: r(e.white, 0.15),
85
+ buttonLinkBackgroundMediaPressed: r(e.white, 0.15),
83
86
  buttonPrimaryBackground: e.blauBlueSecondary,
84
87
  buttonPrimaryBackgroundInverse: e.white,
85
- buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
88
+ buttonPrimaryBackgroundMedia: e.white,
86
89
  buttonPrimaryBackgroundHover: e.blauBlueSecondary60,
90
+ buttonPrimaryBackgroundInverseHover: e.blauBluePrimary20,
91
+ buttonPrimaryBackgroundMediaHover: e.blauBluePrimary20,
92
+ buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
87
93
  buttonPrimaryBackgroundInversePressed: e.blauBluePrimary30,
94
+ buttonPrimaryBackgroundMediaPressed: e.blauBluePrimary30,
88
95
  buttonSecondaryBorder: e.blauBlueSecondary,
89
- buttonSecondaryBorderPressed: e.blauBlueSecondary60,
90
96
  buttonSecondaryBorderInverse: e.white,
91
- buttonSecondaryBackgroundHover: e.blauBlueSecondary10,
92
- buttonSecondaryBackgroundPressed: e.blauBlueSecondary10,
97
+ buttonSecondaryBorderMedia: e.white,
98
+ buttonSecondaryBorderPressed: e.blauBlueSecondary60,
93
99
  buttonSecondaryBorderInversePressed: e.white,
100
+ buttonSecondaryBorderMediaPressed: e.white,
101
+ buttonSecondaryBackgroundHover: e.blauBlueSecondary10,
94
102
  buttonSecondaryBackgroundInverseHover: r(e.white, 0.2),
103
+ buttonSecondaryBackgroundMediaHover: r(e.white, 0.2),
104
+ buttonSecondaryBackgroundPressed: e.blauBlueSecondary10,
95
105
  buttonSecondaryBackgroundInversePressed: r(e.white, 0.2),
106
+ buttonSecondaryBackgroundMediaPressed: r(e.white, 0.2),
96
107
  textButtonPrimary: e.white,
97
108
  textButtonPrimaryInverse: e.blauBlueSecondary,
109
+ textButtonPrimaryMedia: e.blauBlueSecondary,
98
110
  textButtonPrimaryInversePressed: e.blauBlueSecondary60,
111
+ textButtonPrimaryMediaPressed: e.blauBlueSecondary60,
99
112
  textButtonSecondary: e.blauBlueSecondary,
100
- textButtonSecondaryPressed: e.blauBlueSecondary60,
101
113
  textButtonSecondaryInverse: e.white,
114
+ textButtonSecondaryMedia: e.white,
115
+ textButtonSecondaryPressed: e.blauBlueSecondary60,
102
116
  textButtonSecondaryInversePressed: e.white,
117
+ textButtonSecondaryMediaPressed: e.white,
103
118
  textLink: e.blauPurple,
104
119
  textLinkInverse: e.white,
120
+ textLinkMedia: e.white,
105
121
  textLinkDanger: e.blauRed,
122
+ textLinkDangerMedia: e.blauRed,
106
123
  textLinkSnackbar: e.blauPurple30,
107
124
  textActivated: e.blauBlueSecondary,
108
125
  textBrand: e.blauBlueSecondary,
@@ -194,7 +211,8 @@ const e = {
194
211
  tagBackgroundSuccessInverse: e.blauGreen10,
195
212
  tagBackgroundWarningInverse: e.blauYellow10,
196
213
  tagBackgroundErrorInverse: e.blauRed10,
197
- cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`
214
+ cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`,
215
+ cardFooterOverlay: r(e.grey6, 0.7)
198
216
  },
199
217
  darkModeColors: {
200
218
  background: e.darkModeBlack,
@@ -229,34 +247,51 @@ const e = {
229
247
  buttonDangerBackground: e.blauRed,
230
248
  buttonDangerBackgroundPressed: e.blauRed70,
231
249
  buttonDangerBackgroundHover: e.blauRed70,
232
- buttonLinkDangerBackgroundPressed: r(e.blauRed, 0.3),
233
250
  buttonLinkDangerBackgroundInverse: r(e.white, 0),
251
+ buttonLinkDangerBackgroundMedia: e.white,
252
+ buttonLinkDangerBackgroundPressed: r(e.blauRed, 0.3),
234
253
  buttonLinkDangerBackgroundInversePressed: r(e.blauPurple, 0.3),
254
+ buttonLinkDangerBackgroundMediaPressed: e.blauRed10,
235
255
  buttonLinkBackgroundPressed: r(e.blauPurple, 0.3),
236
256
  buttonLinkBackgroundInversePressed: r(e.blauPurple, 0.3),
257
+ buttonLinkBackgroundMediaPressed: r(e.white, 0.15),
237
258
  buttonPrimaryBackground: e.blauBlueSecondary,
238
259
  buttonPrimaryBackgroundInverse: e.blauBlueSecondary,
239
- buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
260
+ buttonPrimaryBackgroundMedia: e.white,
240
261
  buttonPrimaryBackgroundHover: e.blauBlueSecondary60,
262
+ buttonPrimaryBackgroundInverseHover: e.blauBlueSecondary60,
263
+ buttonPrimaryBackgroundMediaHover: e.blauBluePrimary20,
264
+ buttonPrimaryBackgroundPressed: e.blauBlueSecondary60,
241
265
  buttonPrimaryBackgroundInversePressed: e.blauBlueSecondary60,
266
+ buttonPrimaryBackgroundMediaPressed: e.blauBluePrimary30,
242
267
  buttonSecondaryBorder: e.white,
243
- buttonSecondaryBorderPressed: e.white,
244
- buttonSecondaryBackgroundHover: r(e.white, 0.15),
245
- buttonSecondaryBackgroundPressed: r(e.white, 0.15),
246
268
  buttonSecondaryBorderInverse: e.white,
269
+ buttonSecondaryBorderMedia: e.white,
270
+ buttonSecondaryBorderPressed: e.white,
247
271
  buttonSecondaryBorderInversePressed: e.white,
272
+ buttonSecondaryBorderMediaPressed: e.white,
273
+ buttonSecondaryBackgroundHover: r(e.white, 0.15),
248
274
  buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
275
+ buttonSecondaryBackgroundMediaHover: r(e.white, 0.2),
276
+ buttonSecondaryBackgroundPressed: r(e.white, 0.15),
249
277
  buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
278
+ buttonSecondaryBackgroundMediaPressed: r(e.white, 0.2),
250
279
  textButtonPrimary: e.grey2,
251
280
  textButtonPrimaryInverse: e.grey2,
281
+ textButtonPrimaryMedia: e.blauBlueSecondary,
252
282
  textButtonPrimaryInversePressed: e.grey2,
283
+ textButtonPrimaryMediaPressed: e.blauBlueSecondary60,
253
284
  textButtonSecondary: e.grey2,
254
- textButtonSecondaryPressed: e.grey2,
255
285
  textButtonSecondaryInverse: e.grey2,
286
+ textButtonSecondaryMedia: e.white,
287
+ textButtonSecondaryPressed: e.grey2,
256
288
  textButtonSecondaryInversePressed: e.grey2,
289
+ textButtonSecondaryMediaPressed: e.white,
257
290
  textLink: e.blauPurple30,
258
291
  textLinkInverse: e.blauPurple30,
292
+ textLinkMedia: e.white,
259
293
  textLinkDanger: e.blauRed40,
294
+ textLinkDangerMedia: e.blauRed,
260
295
  textLinkSnackbar: e.blauPurple30,
261
296
  textActivated: e.blauBluePrimary,
262
297
  textBrand: e.blauBluePrimary,
@@ -348,7 +383,8 @@ const e = {
348
383
  tagBackgroundSuccessInverse: e.darkModeGrey6,
349
384
  tagBackgroundWarningInverse: e.darkModeGrey6,
350
385
  tagBackgroundErrorInverse: e.darkModeGrey6,
351
- cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`
386
+ cardContentOverlay: `linear-gradient(180deg, ${r(e.grey6, 0)} 0%, ${r(e.grey6, 0.4)} 30%, ${r(e.grey6, 0.7)} 100%)`,
387
+ cardFooterOverlay: r(e.grey6, 0.7)
352
388
  },
353
389
  borderRadii: {
354
390
  avatar: "50%",
@@ -77,34 +77,51 @@ const e = {
77
77
  buttonDangerBackground: e.tomato55,
78
78
  buttonDangerBackgroundPressed: e.tomato65,
79
79
  buttonDangerBackgroundHover: e.tomato60,
80
- buttonLinkDangerBackgroundPressed: e.tomato10,
81
80
  buttonLinkDangerBackgroundInverse: e.white,
81
+ buttonLinkDangerBackgroundMedia: e.white,
82
+ buttonLinkDangerBackgroundPressed: e.tomato10,
82
83
  buttonLinkDangerBackgroundInversePressed: e.tomato10,
84
+ buttonLinkDangerBackgroundMediaPressed: e.tomato10,
83
85
  buttonLinkBackgroundPressed: r(e.purple55, 0.08),
84
86
  buttonLinkBackgroundInversePressed: r(e.white, 0.08),
87
+ buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
85
88
  buttonPrimaryBackground: e.blue,
86
89
  buttonPrimaryBackgroundInverse: e.white,
87
- buttonPrimaryBackgroundPressed: e.blue65,
90
+ buttonPrimaryBackgroundMedia: e.white,
88
91
  buttonPrimaryBackgroundHover: e.blue55,
92
+ buttonPrimaryBackgroundInverseHover: e.blue15,
93
+ buttonPrimaryBackgroundMediaHover: e.blue15,
94
+ buttonPrimaryBackgroundPressed: e.blue65,
89
95
  buttonPrimaryBackgroundInversePressed: e.blue15,
96
+ buttonPrimaryBackgroundMediaPressed: e.blue15,
90
97
  buttonSecondaryBorder: e.blue,
91
- buttonSecondaryBorderPressed: e.blue55,
92
- buttonSecondaryBackgroundHover: e.blue10,
93
- buttonSecondaryBackgroundPressed: e.blue15,
94
98
  buttonSecondaryBorderInverse: e.white,
99
+ buttonSecondaryBorderMedia: e.white,
100
+ buttonSecondaryBorderPressed: e.blue55,
95
101
  buttonSecondaryBorderInversePressed: e.white,
102
+ buttonSecondaryBorderMediaPressed: e.white,
103
+ buttonSecondaryBackgroundHover: e.blue10,
96
104
  buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
105
+ buttonSecondaryBackgroundMediaHover: r(e.white, 0.15),
106
+ buttonSecondaryBackgroundPressed: e.blue15,
97
107
  buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
108
+ buttonSecondaryBackgroundMediaPressed: r(e.white, 0.15),
98
109
  textButtonPrimary: e.white,
99
110
  textButtonPrimaryInverse: e.blue,
111
+ textButtonPrimaryMedia: e.blue,
100
112
  textButtonPrimaryInversePressed: e.blue55,
113
+ textButtonPrimaryMediaPressed: e.blue55,
101
114
  textButtonSecondary: e.blue,
102
- textButtonSecondaryPressed: e.blue55,
103
115
  textButtonSecondaryInverse: e.white,
116
+ textButtonSecondaryMedia: e.white,
117
+ textButtonSecondaryPressed: e.blue55,
104
118
  textButtonSecondaryInversePressed: e.white,
119
+ textButtonSecondaryMediaPressed: e.white,
105
120
  textLink: e.purple,
106
121
  textLinkInverse: e.white,
122
+ textLinkMedia: e.white,
107
123
  textLinkDanger: e.tomato55,
124
+ textLinkDangerMedia: e.tomato55,
108
125
  textLinkSnackbar: e.blue30,
109
126
  textActivated: e.blue,
110
127
  textBrand: e.blue,
@@ -198,7 +215,8 @@ const e = {
198
215
  tagBackgroundSuccessInverse: e.grass10,
199
216
  tagBackgroundWarningInverse: e.peach10,
200
217
  tagBackgroundErrorInverse: e.tomato10,
201
- cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`
218
+ cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`,
219
+ cardFooterOverlay: r(e.black, 0.7)
202
220
  },
203
221
  darkModeColors: {
204
222
  background: e.darkModeBlack,
@@ -231,34 +249,51 @@ const e = {
231
249
  buttonDangerBackground: e.tomato,
232
250
  buttonDangerBackgroundPressed: e.tomato55,
233
251
  buttonDangerBackgroundHover: e.tomato55,
234
- buttonLinkDangerBackgroundPressed: r(e.white, 0.08),
235
252
  buttonLinkDangerBackgroundInverse: r(e.white, 0),
253
+ buttonLinkDangerBackgroundMedia: e.white,
254
+ buttonLinkDangerBackgroundPressed: r(e.white, 0.08),
236
255
  buttonLinkDangerBackgroundInversePressed: r(e.white, 0.08),
256
+ buttonLinkDangerBackgroundMediaPressed: e.tomato10,
237
257
  buttonLinkBackgroundPressed: r(e.white, 0.08),
238
258
  buttonLinkBackgroundInversePressed: r(e.white, 0.08),
259
+ buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
239
260
  buttonPrimaryBackground: e.blue,
240
261
  buttonPrimaryBackgroundInverse: e.blue,
241
- buttonPrimaryBackgroundPressed: e.blue55,
262
+ buttonPrimaryBackgroundMedia: e.white,
242
263
  buttonPrimaryBackgroundHover: e.blue55,
264
+ buttonPrimaryBackgroundInverseHover: e.blue55,
265
+ buttonPrimaryBackgroundMediaHover: e.blue15,
266
+ buttonPrimaryBackgroundPressed: e.blue55,
243
267
  buttonPrimaryBackgroundInversePressed: e.blue55,
244
- buttonSecondaryBackgroundPressed: r(e.white, 0.15),
268
+ buttonPrimaryBackgroundMediaPressed: e.blue15,
245
269
  buttonSecondaryBorder: e.white,
246
- buttonSecondaryBorderPressed: e.white,
247
270
  buttonSecondaryBorderInverse: e.white,
271
+ buttonSecondaryBorderMedia: e.white,
272
+ buttonSecondaryBorderPressed: e.white,
248
273
  buttonSecondaryBorderInversePressed: e.white,
274
+ buttonSecondaryBorderMediaPressed: e.white,
249
275
  buttonSecondaryBackgroundHover: r(e.white, 0.15),
250
276
  buttonSecondaryBackgroundInverseHover: r(e.white, 0.15),
277
+ buttonSecondaryBackgroundMediaHover: r(e.white, 0.15),
278
+ buttonSecondaryBackgroundPressed: r(e.white, 0.15),
251
279
  buttonSecondaryBackgroundInversePressed: r(e.white, 0.15),
280
+ buttonSecondaryBackgroundMediaPressed: r(e.white, 0.15),
252
281
  textButtonPrimary: e.white,
253
282
  textButtonPrimaryInverse: e.white,
283
+ textButtonPrimaryMedia: e.blue,
254
284
  textButtonPrimaryInversePressed: e.white,
285
+ textButtonPrimaryMediaPressed: e.blue55,
255
286
  textButtonSecondary: e.grey2,
256
- textButtonSecondaryPressed: e.grey2,
257
287
  textButtonSecondaryInverse: e.grey2,
288
+ textButtonSecondaryMedia: e.white,
289
+ textButtonSecondaryPressed: e.grey2,
258
290
  textButtonSecondaryInversePressed: e.grey2,
291
+ textButtonSecondaryMediaPressed: e.white,
259
292
  textLink: e.purple30,
260
293
  textLinkInverse: e.purple30,
294
+ textLinkMedia: e.white,
261
295
  textLinkDanger: e.chili,
296
+ textLinkDangerMedia: e.tomato55,
262
297
  textLinkSnackbar: e.blue30,
263
298
  textActivated: e.blue30,
264
299
  textBrand: e.blue30,
@@ -352,7 +387,8 @@ const e = {
352
387
  tagBackgroundSuccessInverse: e.darkModeGrey6,
353
388
  tagBackgroundWarningInverse: e.darkModeGrey6,
354
389
  tagBackgroundErrorInverse: e.darkModeGrey6,
355
- cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`
390
+ cardContentOverlay: `linear-gradient(180deg, ${r(e.black, 0)} 0%, ${r(e.black, 0.4)} 30%, ${r(e.black, 0.7)} 100%)`,
391
+ cardFooterOverlay: r(e.black, 0.7)
356
392
  },
357
393
  borderRadii: {
358
394
  avatar: "50%",