@telefonica/mistica 17.8.0 → 17.10.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 (302) hide show
  1. package/css/blau.css +50 -0
  2. package/css/community/cyber.css +89 -23
  3. package/css/esimflag.css +50 -0
  4. package/css/mistica-common.css +10 -0
  5. package/css/mistica.css +1 -1
  6. package/css/movistar.css +50 -0
  7. package/css/o2.css +51 -0
  8. package/css/telefonica.css +60 -8
  9. package/css/vivo-evolution.css +60 -2
  10. package/css/vivo.css +50 -0
  11. package/dist/accordion.css-mistica.js +8 -8
  12. package/dist/accordion.js +67 -74
  13. package/dist/align.css-mistica.js +1 -1
  14. package/dist/autocomplete.css-mistica.js +4 -4
  15. package/dist/avatar.css-mistica.js +3 -3
  16. package/dist/badge.css-mistica.js +3 -3
  17. package/dist/box.css-mistica.js +13 -13
  18. package/dist/boxed.css-mistica.js +24 -24
  19. package/dist/boxed.d.ts +2 -2
  20. package/dist/boxed.js +27 -27
  21. package/dist/button-group.css-mistica.js +3 -3
  22. package/dist/button-layout.css-mistica.js +15 -15
  23. package/dist/button.css-mistica.js +64 -64
  24. package/dist/callout.css-mistica.js +11 -11
  25. package/dist/card-internal.css-mistica.js +34 -34
  26. package/dist/carousel.css-mistica.js +35 -35
  27. package/dist/checkbox.css-mistica.js +15 -15
  28. package/dist/chip.css-mistica.js +20 -20
  29. package/dist/circle.css-mistica.js +1 -1
  30. package/dist/community/advanced-data-card.css-mistica.js +18 -18
  31. package/dist/community/ai-card.css-mistica.js +13 -13
  32. package/dist/community/blocks.css-mistica.js +3 -3
  33. package/dist/community/cyber/example-component.css-mistica.js +1 -1
  34. package/dist/community/example-component.css-mistica.js +2 -2
  35. package/dist/community/skins/cyber-skin.js +68 -4
  36. package/dist/counter.css-mistica.js +7 -7
  37. package/dist/cover-hero.css-mistica.js +13 -13
  38. package/dist/credit-card-number-field.css-mistica.js +5 -5
  39. package/dist/date-field.css-mistica.js +1 -1
  40. package/dist/date-time-picker.css-mistica.js +1 -1
  41. package/dist/dialog.css-mistica.js +8 -8
  42. package/dist/divider.css-mistica.js +5 -5
  43. package/dist/double-field.css-mistica.js +4 -4
  44. package/dist/drawer.css-mistica.js +10 -10
  45. package/dist/empty-state-card.css-mistica.js +1 -1
  46. package/dist/empty-state.css-mistica.js +12 -12
  47. package/dist/fade-in.css-mistica.js +1 -1
  48. package/dist/fade-out.css-mistica.js +1 -1
  49. package/dist/feedback.css-mistica.js +3 -3
  50. package/dist/feedback.js +123 -123
  51. package/dist/file-upload.css-mistica.js +12 -12
  52. package/dist/fixed-footer-layout.css-mistica.js +5 -5
  53. package/dist/form.css-mistica.js +1 -1
  54. package/dist/grid-layout.css-mistica.js +3 -3
  55. package/dist/grid.css-mistica.js +120 -120
  56. package/dist/header.css-mistica.js +1 -1
  57. package/dist/hero.css-mistica.js +9 -9
  58. package/dist/horizontal-scroll.css-mistica.js +1 -1
  59. package/dist/icon-button.css-mistica.js +58 -58
  60. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  61. package/dist/icons/icon-error.css-mistica.js +1 -1
  62. package/dist/icons/icon-error.js +51 -31
  63. package/dist/icons/icon-info.js +42 -10
  64. package/dist/icons/icon-stepper-success-vivo.d.ts +7 -0
  65. package/dist/icons/icon-stepper-success-vivo.js +78 -0
  66. package/dist/icons/icon-success-vivo-new.d.ts +1 -0
  67. package/dist/icons/icon-success-vivo.d.ts +1 -0
  68. package/dist/icons/icon-success.js +137 -58
  69. package/dist/image.css-mistica.js +6 -6
  70. package/dist/index.d.ts +4 -0
  71. package/dist/index.js +4 -0
  72. package/dist/inline.css-mistica.js +11 -11
  73. package/dist/list.css-mistica.js +49 -37
  74. package/dist/list.css.d.ts +4 -0
  75. package/dist/list.js +167 -160
  76. package/dist/loading-bar.css-mistica.js +1 -1
  77. package/dist/loading-screen.css-mistica.js +9 -9
  78. package/dist/logo.css-mistica.js +5 -5
  79. package/dist/menu.css-mistica.js +12 -12
  80. package/dist/message.css-mistica.js +172 -0
  81. package/dist/message.css.d.ts +40 -0
  82. package/dist/message.d.ts +48 -0
  83. package/dist/message.js +389 -0
  84. package/dist/mosaic.css-mistica.js +1 -1
  85. package/dist/navigation-bar.css-mistica.js +20 -20
  86. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  87. package/dist/navigation-shared.css-mistica.js +18 -18
  88. package/dist/package-version.js +1 -1
  89. package/dist/pagination.css-mistica.js +30 -29
  90. package/dist/pagination.css.d.ts +1 -2
  91. package/dist/pagination.d.ts +0 -16
  92. package/dist/pagination.js +108 -115
  93. package/dist/pin-field.css-mistica.js +8 -8
  94. package/dist/popover.css-mistica.js +1 -1
  95. package/dist/progress-bar.css-mistica.js +7 -7
  96. package/dist/radio-button.css-mistica.js +32 -32
  97. package/dist/rating.css-mistica.js +4 -4
  98. package/dist/responsive-layout.css-mistica.js +6 -6
  99. package/dist/screen-reader-only.css-mistica.js +1 -1
  100. package/dist/select.css-mistica.js +22 -22
  101. package/dist/sheet-action-row.css-mistica.js +2 -2
  102. package/dist/sheet-common.css-mistica.js +9 -9
  103. package/dist/sheet-info.css-mistica.js +3 -3
  104. package/dist/sidenav-bar-layout.css-mistica.js +2 -2
  105. package/dist/sidenav-bar.css-mistica.js +107 -107
  106. package/dist/skeletons.css-mistica.js +10 -10
  107. package/dist/skins/blau.js +52 -0
  108. package/dist/skins/defaults.js +32 -0
  109. package/dist/skins/esimflag.js +52 -0
  110. package/dist/skins/movistar.js +52 -0
  111. package/dist/skins/o2.d.ts +1 -0
  112. package/dist/skins/o2.js +53 -0
  113. package/dist/skins/skin-contract.css-mistica.js +775 -741
  114. package/dist/skins/skin-contract.css.d.ts +34 -0
  115. package/dist/skins/telefonica.js +60 -8
  116. package/dist/skins/types/colors.d.ts +10 -0
  117. package/dist/skins/types/index.d.ts +3 -0
  118. package/dist/skins/vivo-evolution.js +54 -2
  119. package/dist/skins/vivo.js +52 -0
  120. package/dist/skip-link.css-mistica.js +2 -2
  121. package/dist/slider.css-mistica.js +27 -27
  122. package/dist/snackbar.css-mistica.js +17 -17
  123. package/dist/spinner.css-mistica.js +5 -5
  124. package/dist/square.css-mistica.js +1 -1
  125. package/dist/stack.css-mistica.js +5 -5
  126. package/dist/stacking-group.css-mistica.js +2 -2
  127. package/dist/stepper.css-mistica.js +10 -10
  128. package/dist/stepper.js +31 -25
  129. package/dist/switch-component.css-mistica.js +39 -39
  130. package/dist/table.css-mistica.js +9 -9
  131. package/dist/tabs.css-mistica.js +19 -19
  132. package/dist/tag.css-mistica.js +1 -1
  133. package/dist/text-field-base.css-mistica.js +26 -26
  134. package/dist/text-field-components.css-mistica.js +12 -12
  135. package/dist/text-link.css-mistica.js +6 -6
  136. package/dist/text-tokens.d.ts +2 -0
  137. package/dist/text-tokens.js +46 -30
  138. package/dist/text.css-mistica.js +6 -6
  139. package/dist/timeline.css-mistica.js +13 -13
  140. package/dist/timer.css-mistica.js +8 -8
  141. package/dist/tooltip.css-mistica.js +3 -3
  142. package/dist/tooltip.js +88 -88
  143. package/dist/touchable.css-mistica.js +5 -5
  144. package/dist/utils/aspect-ratio-support.css-mistica.js +4 -4
  145. package/dist/video.css-mistica.js +2 -2
  146. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  147. package/dist-es/accordion.css-mistica.js +7 -7
  148. package/dist-es/accordion.js +104 -111
  149. package/dist-es/align.css-mistica.js +1 -1
  150. package/dist-es/autocomplete.css-mistica.js +2 -2
  151. package/dist-es/avatar.css-mistica.js +2 -2
  152. package/dist-es/badge.css-mistica.js +2 -2
  153. package/dist-es/box.css-mistica.js +13 -13
  154. package/dist-es/boxed.css-mistica.js +23 -23
  155. package/dist-es/boxed.js +34 -34
  156. package/dist-es/button-group.css-mistica.js +2 -2
  157. package/dist-es/button-layout.css-mistica.js +15 -15
  158. package/dist-es/button.css-mistica.js +43 -43
  159. package/dist-es/callout.css-mistica.js +11 -11
  160. package/dist-es/card-internal.css-mistica.js +23 -23
  161. package/dist-es/carousel.css-mistica.js +10 -10
  162. package/dist-es/checkbox.css-mistica.js +13 -13
  163. package/dist-es/chip.css-mistica.js +17 -17
  164. package/dist-es/circle.css-mistica.js +1 -1
  165. package/dist-es/community/advanced-data-card.css-mistica.js +9 -9
  166. package/dist-es/community/ai-card.css-mistica.js +4 -4
  167. package/dist-es/community/blocks.css-mistica.js +2 -2
  168. package/dist-es/community/cyber/example-component.css-mistica.js +1 -1
  169. package/dist-es/community/example-component.css-mistica.js +2 -2
  170. package/dist-es/community/skins/cyber-skin.js +68 -4
  171. package/dist-es/counter.css-mistica.js +2 -2
  172. package/dist-es/cover-hero.css-mistica.js +3 -3
  173. package/dist-es/credit-card-number-field.css-mistica.js +4 -4
  174. package/dist-es/date-field.css-mistica.js +1 -1
  175. package/dist-es/date-time-picker.css-mistica.js +1 -1
  176. package/dist-es/dialog.css-mistica.js +5 -5
  177. package/dist-es/divider.css-mistica.js +5 -5
  178. package/dist-es/double-field.css-mistica.js +4 -4
  179. package/dist-es/drawer.css-mistica.js +2 -2
  180. package/dist-es/empty-state-card.css-mistica.js +1 -1
  181. package/dist-es/empty-state.css-mistica.js +7 -7
  182. package/dist-es/fade-in.css-mistica.js +1 -1
  183. package/dist-es/fade-out.css-mistica.js +1 -1
  184. package/dist-es/feedback.css-mistica.js +2 -2
  185. package/dist-es/feedback.js +158 -158
  186. package/dist-es/file-upload.css-mistica.js +8 -8
  187. package/dist-es/fixed-footer-layout.css-mistica.js +3 -3
  188. package/dist-es/form.css-mistica.js +1 -1
  189. package/dist-es/grid-layout.css-mistica.js +3 -3
  190. package/dist-es/grid.css-mistica.js +120 -120
  191. package/dist-es/header.css-mistica.js +1 -1
  192. package/dist-es/hero.css-mistica.js +3 -3
  193. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  194. package/dist-es/icon-button.css-mistica.js +56 -56
  195. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  196. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  197. package/dist-es/icons/icon-error.js +55 -35
  198. package/dist-es/icons/icon-info.js +53 -21
  199. package/dist-es/icons/icon-stepper-success-vivo.js +69 -0
  200. package/dist-es/icons/icon-success.js +112 -74
  201. package/dist-es/image.css-mistica.js +3 -3
  202. package/dist-es/index.js +2355 -2354
  203. package/dist-es/inline.css-mistica.js +11 -11
  204. package/dist-es/list.css-mistica.js +8 -8
  205. package/dist-es/list.js +230 -223
  206. package/dist-es/loading-bar.css-mistica.js +1 -1
  207. package/dist-es/loading-screen.css-mistica.js +5 -5
  208. package/dist-es/logo.css-mistica.js +5 -5
  209. package/dist-es/menu.css-mistica.js +12 -12
  210. package/dist-es/message.css-mistica.js +41 -0
  211. package/dist-es/message.js +334 -0
  212. package/dist-es/mosaic.css-mistica.js +1 -1
  213. package/dist-es/navigation-bar.css-mistica.js +10 -10
  214. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  215. package/dist-es/navigation-shared.css-mistica.js +10 -10
  216. package/dist-es/package-version.js +1 -1
  217. package/dist-es/pagination.css-mistica.js +23 -19
  218. package/dist-es/pagination.js +137 -141
  219. package/dist-es/pin-field.css-mistica.js +2 -2
  220. package/dist-es/popover.css-mistica.js +1 -1
  221. package/dist-es/progress-bar.css-mistica.js +7 -7
  222. package/dist-es/radio-button.css-mistica.js +24 -24
  223. package/dist-es/rating.css-mistica.js +4 -4
  224. package/dist-es/responsive-layout.css-mistica.js +6 -6
  225. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  226. package/dist-es/select.css-mistica.js +18 -18
  227. package/dist-es/sheet-action-row.css-mistica.js +2 -2
  228. package/dist-es/sheet-common.css-mistica.js +2 -2
  229. package/dist-es/sheet-info.css-mistica.js +2 -2
  230. package/dist-es/sidenav-bar-layout.css-mistica.js +2 -2
  231. package/dist-es/sidenav-bar.css-mistica.js +72 -72
  232. package/dist-es/skeletons.css-mistica.js +7 -7
  233. package/dist-es/skins/blau.js +52 -0
  234. package/dist-es/skins/defaults.js +32 -0
  235. package/dist-es/skins/esimflag.js +52 -0
  236. package/dist-es/skins/movistar.js +52 -0
  237. package/dist-es/skins/o2.js +53 -0
  238. package/dist-es/skins/skin-contract.css-mistica.js +775 -741
  239. package/dist-es/skins/telefonica.js +60 -8
  240. package/dist-es/skins/vivo-evolution.js +54 -2
  241. package/dist-es/skins/vivo.js +52 -0
  242. package/dist-es/skip-link.css-mistica.js +2 -2
  243. package/dist-es/slider.css-mistica.js +20 -20
  244. package/dist-es/snackbar.css-mistica.js +5 -5
  245. package/dist-es/spinner.css-mistica.js +2 -2
  246. package/dist-es/square.css-mistica.js +1 -1
  247. package/dist-es/stack.css-mistica.js +5 -5
  248. package/dist-es/stacking-group.css-mistica.js +2 -2
  249. package/dist-es/stepper.css-mistica.js +4 -4
  250. package/dist-es/stepper.js +60 -54
  251. package/dist-es/style.css +1 -1
  252. package/dist-es/switch-component.css-mistica.js +37 -37
  253. package/dist-es/table.css-mistica.js +9 -9
  254. package/dist-es/tabs.css-mistica.js +18 -18
  255. package/dist-es/tag.css-mistica.js +1 -1
  256. package/dist-es/text-field-base.css-mistica.js +17 -17
  257. package/dist-es/text-field-components.css-mistica.js +4 -4
  258. package/dist-es/text-link.css-mistica.js +6 -6
  259. package/dist-es/text-tokens.js +26 -16
  260. package/dist-es/text.css-mistica.js +6 -6
  261. package/dist-es/timeline.css-mistica.js +10 -10
  262. package/dist-es/timer.css-mistica.js +7 -7
  263. package/dist-es/tooltip.css-mistica.js +2 -2
  264. package/dist-es/tooltip.js +109 -109
  265. package/dist-es/touchable.css-mistica.js +2 -2
  266. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  267. package/dist-es/video.css-mistica.js +2 -2
  268. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  269. package/doc/layout.md +30 -0
  270. package/package.json +1 -1
  271. package/src/accordion.tsx +1 -21
  272. package/src/boxed.tsx +6 -2
  273. package/src/community/skins/cyber-skin.tsx +41 -4
  274. package/src/feedback.tsx +36 -29
  275. package/src/icons/icon-error.tsx +17 -1
  276. package/src/icons/icon-info.tsx +22 -1
  277. package/src/icons/icon-stepper-success-vivo.tsx +58 -0
  278. package/src/icons/icon-success-vivo-new.tsx +1 -0
  279. package/src/icons/icon-success-vivo.tsx +1 -0
  280. package/src/icons/icon-success.tsx +56 -37
  281. package/src/index.tsx +4 -0
  282. package/src/list.css.ts +20 -0
  283. package/src/list.tsx +9 -3
  284. package/src/message.css.ts +148 -0
  285. package/src/message.tsx +303 -0
  286. package/src/package-version.tsx +1 -1
  287. package/src/pagination.css.ts +15 -18
  288. package/src/pagination.tsx +100 -102
  289. package/src/skins/blau.tsx +31 -0
  290. package/src/skins/defaults.tsx +11 -0
  291. package/src/skins/esimflag.tsx +31 -0
  292. package/src/skins/movistar.tsx +31 -0
  293. package/src/skins/o2.tsx +32 -0
  294. package/src/skins/skin-contract.css.ts +13 -0
  295. package/src/skins/telefonica.tsx +39 -8
  296. package/src/skins/types/colors.tsx +10 -0
  297. package/src/skins/types/index.tsx +3 -0
  298. package/src/skins/vivo-evolution.tsx +33 -2
  299. package/src/skins/vivo.tsx +31 -0
  300. package/src/stepper.tsx +16 -6
  301. package/src/text-tokens.tsx +14 -0
  302. package/src/tooltip.tsx +5 -2
@@ -80,73 +80,69 @@ function _object_without_properties_loose(source, excluded) {
80
80
  }
81
81
  import { jsx as o, jsxs as g } from "react/jsx-runtime";
82
82
  import * as i from "react";
83
- import { ListContext as N, Content as D } from "./list.js";
84
- import E from "./icons/icon-chevron.js";
85
- import { accordionItem as L, boxed as _, accordionContentPadding as C, rightContentContainer as j, chevronContainer as k, itemContent as q, touchableBackgroundOverBrand as z, touchableBackground as F, panelTransitionClasses as M, panelContainer as U, panel as X } from "./accordion.css-mistica.js";
86
- import G from "./box.js";
87
- import H from "./stack.js";
88
- import { BaseTouchable as J } from "./touchable.js";
89
- import K from "classnames";
90
- import { vars as v } from "./skins/skin-contract.css-mistica.js";
91
- import { getPrefixedDataAttributes as y } from "./utils/dom.js";
92
- import Q from "./divider.js";
93
- import { InternalBoxed as W } from "./boxed.js";
94
- import { useThemeVariant as Y } from "./theme-variant-context.js";
95
- import { CSSTransition as Z } from "react-transition-group";
96
- import { isRunningAcceptanceTest as $ } from "./utils/platform.js";
97
- import ee from "./inline.js";
98
- const B = 400, A = /*#__PURE__*/ i.createContext({
83
+ import { ListContext as B, Content as w } from "./list.js";
84
+ import D from "./icons/icon-chevron.js";
85
+ import { accordionItem as V, boxed as E, accordionContentPadding as b, rightContentContainer as L, chevronContainer as _, itemContent as k, touchableBackgroundOverBrand as j, touchableBackground as q, panelTransitionClasses as z, panelContainer as F, panel as M } from "./accordion.css-mistica.js";
86
+ import U from "./box.js";
87
+ import X from "./stack.js";
88
+ import { BaseTouchable as G } from "./touchable.js";
89
+ import H from "classnames";
90
+ import { vars as I } from "./skins/skin-contract.css-mistica.js";
91
+ import { getPrefixedDataAttributes as R } from "./utils/dom.js";
92
+ import J from "./divider.js";
93
+ import { InternalBoxed as K } from "./boxed.js";
94
+ import { useThemeVariant as Q } from "./theme-variant-context.js";
95
+ import { CSSTransition as W } from "react-transition-group";
96
+ import { isRunningAcceptanceTest as Y } from "./utils/platform.js";
97
+ import Z from "./inline.js";
98
+ const N = 400, A = /*#__PURE__*/ i.createContext({
99
99
  index: [],
100
100
  toggle: ()=>{}
101
- }), te = ()=>i.useContext(A), R = (param)=>{
102
- let { value: r, defaultValue: e, onChange: n, singleOpen: c } = param;
103
- const s = r !== void 0, l = (t)=>t === void 0 ? [] : typeof t == "number" ? [
104
- t
105
- ] : t, [a, p] = i.useState(l(e));
101
+ }), $ = ()=>i.useContext(A), y = (param)=>{
102
+ let { value: t, defaultValue: r, onChange: n, singleOpen: c } = param;
103
+ const s = t !== void 0, l = (e)=>e === void 0 ? [] : typeof e == "number" ? [
104
+ e
105
+ ] : e, [a, v] = i.useState(l(r));
106
106
  i.useEffect(()=>{
107
107
  if (a.length > 1 && c) {
108
- const t = [
108
+ const e = [
109
109
  ...a
110
110
  ];
111
- t.splice(1), p(t);
111
+ e.splice(1), v(e);
112
112
  }
113
113
  }, [
114
114
  c,
115
115
  a
116
116
  ]);
117
- const x = (t, u)=>{
117
+ const x = (e, u)=>{
118
118
  if (!u) return [
119
- t
119
+ e
120
120
  ];
121
- const f = u.indexOf(t);
121
+ const f = u.indexOf(e);
122
122
  let d = [
123
123
  ...u
124
124
  ];
125
125
  return f === -1 ? c ? d = [
126
- t
127
- ] : d.push(t) : d.splice(f, 1), d;
128
- }, m = (t)=>{
129
- if (s || p(x(t, a)), n) {
130
- const u = (s ? l(r) : a).includes(t);
131
- n(t, !u);
126
+ e
127
+ ] : d.push(e) : d.splice(f, 1), d;
128
+ }, m = (e)=>{
129
+ if (s || v(x(e, a)), n) {
130
+ const u = (s ? l(t) : a).includes(e);
131
+ n(e, !u);
132
132
  }
133
133
  };
134
134
  return s ? [
135
- l(r),
135
+ l(t),
136
136
  m
137
137
  ] : [
138
138
  a,
139
139
  m
140
140
  ];
141
- }, oe = (r)=>{
142
- const e = r === null || r === void 0 ? void 0 : r.closest("[data-accordion]");
143
- if (e) return Array.from(e.querySelectorAll("[data-accordion-item]")).filter((n)=>n.closest("[data-accordion]") === e).findIndex((n)=>n === r);
144
- }, re = (r)=>{
145
- if (!/*#__PURE__*/ i.isValidElement(r)) return "";
146
- const e = r.props;
147
- return typeof e.alt == "string" && e.alt.trim() ? e.alt.trim() : typeof e["aria-label"] == "string" && e["aria-label"].trim() ? e["aria-label"].trim() : "";
148
- }, S = /*#__PURE__*/ i.forwardRef((_param, p)=>{
149
- var { content: r, dataAttributes: e, trackingEvent: n, right: c, "aria-label": s, "aria-labelledby": l } = _param, a = _object_without_properties(_param, [
141
+ }, ee = (t)=>{
142
+ const r = t === null || t === void 0 ? void 0 : t.closest("[data-accordion]");
143
+ if (r) return Array.from(r.querySelectorAll("[data-accordion-item]")).filter((n)=>n.closest("[data-accordion]") === r).findIndex((n)=>n === t);
144
+ }, S = /*#__PURE__*/ i.forwardRef((_param, v)=>{
145
+ var { content: t, dataAttributes: r, trackingEvent: n, right: c, "aria-label": s, "aria-labelledby": l } = _param, a = _object_without_properties(_param, [
150
146
  "content",
151
147
  "dataAttributes",
152
148
  "trackingEvent",
@@ -154,57 +150,54 @@ const B = 400, A = /*#__PURE__*/ i.createContext({
154
150
  "aria-label",
155
151
  "aria-labelledby"
156
152
  ]);
157
- const x = i.useRef(null), m = i.useRef(null), { index: t, toggle: u } = te(), f = Y(), d = i.useId(), b = i.useId(), T = re(a.asset), O = s !== null && s !== void 0 ? s : [
158
- a.title,
159
- T
160
- ].filter(Boolean).join(" "), [h, P] = i.useState(), I = h !== void 0 && (t === null || t === void 0 ? void 0 : t.includes(h));
153
+ const x = i.useRef(null), m = i.useRef(null), { index: e, toggle: u } = $(), f = Q(), d = i.useId(), C = i.useId(), [h, T] = i.useState(), p = h !== void 0 && (e === null || e === void 0 ? void 0 : e.includes(h));
161
154
  i.useEffect(()=>{
162
- P(oe(m.current));
155
+ T(ee(m.current));
163
156
  }, []);
164
- const w = {
165
- default: I ? v.colors.chevronIndicator : v.colors.chevronIndicator,
166
- alternative: I ? v.colors.chevronIndicator : v.colors.chevronIndicator,
167
- brand: v.colors.textSecondaryBrand,
168
- media: v.colors.textSecondaryBrand,
169
- negative: v.colors.textSecondaryNegative
157
+ const O = {
158
+ default: p ? I.colors.chevronIndicator : I.colors.chevronIndicator,
159
+ alternative: p ? I.colors.chevronIndicator : I.colors.chevronIndicator,
160
+ brand: I.colors.textSecondaryBrand,
161
+ media: I.colors.textSecondaryBrand,
162
+ negative: I.colors.textSecondaryNegative
170
163
  }[f];
171
164
  return /* @__PURE__ */ g("div", _object_spread_props(_object_spread({
172
165
  ref: m
173
- }, y(_object_spread_props(_object_spread({}, e), {
166
+ }, R(_object_spread_props(_object_spread({}, r), {
174
167
  "accordion-item": !0
175
168
  }))), {
176
169
  children: [
177
- /* @__PURE__ */ o(J, {
178
- ref: p,
179
- className: K(q, f === "brand" || f === "media" || f === "negative" ? z : F),
170
+ /* @__PURE__ */ o(G, {
171
+ ref: v,
172
+ className: H(k, f === "brand" || f === "media" || f === "negative" ? j : q),
180
173
  onPress: ()=>{
181
174
  h !== void 0 && u(h);
182
175
  },
183
176
  trackingEvent: n,
184
- "aria-expanded": I,
185
- "aria-controls": b,
186
- "aria-label": O,
177
+ "aria-expanded": p,
178
+ "aria-controls": C,
179
+ "aria-label": s,
187
180
  "aria-labelledby": l,
188
181
  children: /* @__PURE__ */ o("div", {
189
- className: C,
190
- children: /* @__PURE__ */ o(D, _object_spread_props(_object_spread({
182
+ className: b,
183
+ children: /* @__PURE__ */ o(w, _object_spread_props(_object_spread({
191
184
  labelId: d
192
185
  }, a), {
193
186
  right: (param)=>{
194
- let { centerY: V } = param;
195
- return /* @__PURE__ */ g(ee, {
187
+ let { centerY: P } = param;
188
+ return /* @__PURE__ */ g(Z, {
196
189
  space: 4,
197
- alignItems: V ? "center" : void 0,
198
- className: j,
190
+ alignItems: P ? "center" : void 0,
191
+ className: L,
199
192
  children: [
200
193
  c,
201
194
  /* @__PURE__ */ o("div", {
202
- className: k,
203
- children: /* @__PURE__ */ o(E, {
195
+ className: _,
196
+ children: /* @__PURE__ */ o(D, {
204
197
  size: 20,
205
- transitionDuration: B,
206
- direction: I ? "up" : "down",
207
- color: w
198
+ transitionDuration: N,
199
+ direction: p ? "up" : "down",
200
+ color: O
208
201
  })
209
202
  })
210
203
  ]
@@ -213,102 +206,102 @@ const B = 400, A = /*#__PURE__*/ i.createContext({
213
206
  }))
214
207
  })
215
208
  }),
216
- /* @__PURE__ */ o(Z, {
217
- in: I,
218
- timeout: $() ? 0 : B,
209
+ /* @__PURE__ */ o(W, {
210
+ in: p,
211
+ timeout: Y() ? 0 : N,
219
212
  nodeRef: x,
220
- classNames: M,
213
+ classNames: z,
221
214
  mountOnEnter: !0,
222
215
  unmountOnExit: !0,
223
216
  children: /* @__PURE__ */ o("div", {
224
- className: U,
217
+ className: F,
225
218
  ref: x,
226
219
  children: /* @__PURE__ */ o("div", {
227
- className: X,
220
+ className: M,
228
221
  role: "region",
229
222
  "aria-labelledby": d,
230
- id: b,
223
+ id: C,
231
224
  children: /* @__PURE__ */ o("div", {
232
- className: C,
225
+ className: b,
233
226
  style: {
234
227
  paddingBottom: 16
235
228
  },
236
- children: r
229
+ children: t
237
230
  })
238
231
  })
239
232
  })
240
233
  })
241
234
  ]
242
235
  }));
243
- }), Ae = /*#__PURE__*/ i.forwardRef((_param, c)=>{
244
- var { dataAttributes: r, role: e } = _param, n = _object_without_properties(_param, [
236
+ }), pe = /*#__PURE__*/ i.forwardRef((_param, c)=>{
237
+ var { dataAttributes: t, role: r } = _param, n = _object_without_properties(_param, [
245
238
  "dataAttributes",
246
239
  "role"
247
240
  ]);
248
241
  return /* @__PURE__ */ o("div", {
249
- role: e,
250
- className: L,
242
+ role: r,
243
+ className: V,
251
244
  children: /* @__PURE__ */ o(S, _object_spread_props(_object_spread({}, n), {
252
245
  ref: c,
253
246
  dataAttributes: _object_spread({
254
247
  testid: "AccordionItem"
255
- }, r)
248
+ }, t)
256
249
  }))
257
250
  });
258
- }), be = (param)=>{
259
- let { children: r, dataAttributes: e, index: n, defaultIndex: c, onChange: s, singleOpen: l, role: a, small: p = !1 } = param;
260
- const [x, m] = R({
251
+ }), he = (param)=>{
252
+ let { children: t, dataAttributes: r, index: n, defaultIndex: c, onChange: s, singleOpen: l, role: a, small: v = !1 } = param;
253
+ const [x, m] = y({
261
254
  value: n,
262
255
  defaultValue: c,
263
256
  onChange: s,
264
257
  singleOpen: l
265
- }), t = i.Children.toArray(r).filter(Boolean), u = t.length - 1;
258
+ }), e = i.Children.toArray(t).filter(Boolean), u = e.length - 1;
266
259
  return /* @__PURE__ */ o(A.Provider, {
267
260
  value: {
268
261
  index: x,
269
262
  toggle: m
270
263
  },
271
- children: /* @__PURE__ */ o(N.Provider, {
264
+ children: /* @__PURE__ */ o(B.Provider, {
272
265
  value: {
273
- small: p
266
+ small: v
274
267
  },
275
268
  children: /* @__PURE__ */ o("div", _object_spread_props(_object_spread({
276
269
  role: a
277
- }, y(_object_spread_props(_object_spread({
270
+ }, R(_object_spread_props(_object_spread({
278
271
  testid: "Accordion"
279
- }, e), {
272
+ }, r), {
280
273
  accordion: !0
281
274
  }))), {
282
- children: t.map((f, d)=>/* @__PURE__ */ g(i.Fragment, {
275
+ children: e.map((f, d)=>/* @__PURE__ */ g(i.Fragment, {
283
276
  children: [
284
277
  f,
285
- d < u && /* @__PURE__ */ o(G, {
278
+ d < u && /* @__PURE__ */ o(U, {
286
279
  paddingX: 16,
287
- children: /* @__PURE__ */ o(Q, {})
280
+ children: /* @__PURE__ */ o(J, {})
288
281
  })
289
282
  ]
290
283
  }, d))
291
284
  }))
292
285
  })
293
286
  });
294
- }, Ce = /*#__PURE__*/ i.forwardRef((_param, c)=>{
295
- var { dataAttributes: r, variant: e } = _param, n = _object_without_properties(_param, [
287
+ }, ge = /*#__PURE__*/ i.forwardRef((_param, c)=>{
288
+ var { dataAttributes: t, variant: r } = _param, n = _object_without_properties(_param, [
296
289
  "dataAttributes",
297
290
  "variant"
298
291
  ]);
299
- return /* @__PURE__ */ o(W, {
292
+ return /* @__PURE__ */ o(K, {
300
293
  overflow: "visible",
301
- className: _,
302
- variant: e !== null && e !== void 0 ? e : "default",
294
+ className: E,
295
+ variant: r !== null && r !== void 0 ? r : "default",
303
296
  ref: c,
304
297
  dataAttributes: _object_spread({
305
298
  testid: "BoxedAccordionItem"
306
- }, r),
299
+ }, t),
307
300
  children: /* @__PURE__ */ o(S, _object_spread({}, n))
308
301
  });
309
- }), Be = (param)=>{
310
- let { children: r, dataAttributes: e, index: n, defaultIndex: c, onChange: s, singleOpen: l, role: a, small: p = !1 } = param;
311
- const [x, m] = R({
302
+ }), Ae = (param)=>{
303
+ let { children: t, dataAttributes: r, index: n, defaultIndex: c, onChange: s, singleOpen: l, role: a, small: v = !1 } = param;
304
+ const [x, m] = y({
312
305
  value: n,
313
306
  defaultValue: c,
314
307
  onChange: s,
@@ -319,20 +312,20 @@ const B = 400, A = /*#__PURE__*/ i.createContext({
319
312
  index: x,
320
313
  toggle: m
321
314
  },
322
- children: /* @__PURE__ */ o(N.Provider, {
315
+ children: /* @__PURE__ */ o(B.Provider, {
323
316
  value: {
324
- small: p
317
+ small: v
325
318
  },
326
- children: /* @__PURE__ */ o(H, {
319
+ children: /* @__PURE__ */ o(X, {
327
320
  space: 16,
328
321
  role: a,
329
322
  dataAttributes: _object_spread({
330
323
  testid: "BoxedAccordion",
331
324
  accordion: !0
332
- }, e),
333
- children: r
325
+ }, r),
326
+ children: t
334
327
  })
335
328
  })
336
329
  });
337
330
  };
338
- export { be as Accordion, Ae as AccordionItem, Be as BoxedAccordion, Ce as BoxedAccordionItem };
331
+ export { he as Accordion, pe as AccordionItem, Ae as BoxedAccordion, ge as BoxedAccordionItem };
@@ -1,2 +1,2 @@
1
- /* empty css */ var o = "v17_8_1mfs0fk0";
1
+ /* empty css */ var o = "v17_10_1mfs0fk0";
2
2
  export { o as container };
@@ -1,2 +1,2 @@
1
- /* empty css */ /* empty css */ var n = "v17_8_1rj3nw81 v17_8_1rj3nw80 v17_8_1y2v1nfr8", r = "v17_8_1rj3nw83 v17_8_1rj3nw82 v17_8_1y2v1nfhg v17_8_1y2v1nfip v17_8_1y2v1nfjy v17_8_1y2v1nfl7 v17_8_1y2v1nfr9 v17_8_1y2v1nfu7", y = "v17_8_1rj3nw85 v17_8_1rj3nw84 v17_8_1y2v1nfjy v17_8_1y2v1nfl7 v17_8_1y2v1nfhj v17_8_1y2v1nfis", f = "v17_8_1rj3nw87 v17_8_1rj3nw85 v17_8_1rj3nw84 v17_8_1y2v1nfjy v17_8_1y2v1nfl7 v17_8_1y2v1nfhj v17_8_1y2v1nfis v17_8_1rj3nw86 v17_8_1y2v1nfuh", j = "v17_8_1rj3nw88";
2
- export { n as autocompleteContainer, y as optionBaseItem, f as optionItem, j as optionItemSelected, r as optionsList };
1
+ /* empty css */ /* empty css */ var n = "v17_10_1rj3nw81 v17_10_1rj3nw80 v17_10_1y2v1nfrs", r = "v17_10_1rj3nw83 v17_10_1rj3nw82 v17_10_1y2v1nfi0 v17_10_1y2v1nfj9 v17_10_1y2v1nfki v17_10_1y2v1nflr v17_10_1y2v1nfrt v17_10_1y2v1nfur", f = "v17_10_1rj3nw85 v17_10_1rj3nw84 v17_10_1y2v1nfki v17_10_1y2v1nflr v17_10_1y2v1nfi3 v17_10_1y2v1nfjc", t = "v17_10_1rj3nw87 v17_10_1rj3nw85 v17_10_1rj3nw84 v17_10_1y2v1nfki v17_10_1y2v1nflr v17_10_1y2v1nfi3 v17_10_1y2v1nfjc v17_10_1rj3nw86 v17_10_1y2v1nfv1", y = "v17_10_1rj3nw88";
2
+ export { n as autocompleteContainer, f as optionBaseItem, t as optionItem, y as optionItemSelected, r as optionsList };
@@ -1,2 +1,2 @@
1
- /* empty css */ /* empty css */ var r = "v17_8_f1g4uj0 v17_8_1y2v1nfud v17_8_1y2v1nfre v17_8_1y2v1nfrt v17_8_1y2v1nfrn v17_8_1y2v1nfui", f = "v17_8_f1g4uj1 v17_8_1y2v1nfwc";
2
- export { r as avatar, f as image };
1
+ /* empty css */ /* empty css */ var f = "v17_10_f1g4uj0 v17_10_1y2v1nfux v17_10_1y2v1nfry v17_10_1y2v1nfsd v17_10_1y2v1nfs7 v17_10_1y2v1nfv2", r = "v17_10_f1g4uj1 v17_10_1y2v1nfww";
2
+ export { f as avatar, r as image };
@@ -1,2 +1,2 @@
1
- /* empty css */ /* empty css */ var r = "v17_8_17szrmd0 v17_8_1y2v1nfr8 v17_8_1y2v1nfri", d = "v17_8_17szrmd2 v17_8_17szrmd1 v17_8_1y2v1nfdp", m = "v17_8_17szrmd3", a = "v17_8_17szrmd5 v17_8_17szrmd2 v17_8_17szrmd1 v17_8_1y2v1nfdp v17_8_17szrmd4 v17_8_1y2v1nfre v17_8_1y2v1nfrt v17_8_1y2v1nfrn", e = "v17_8_17szrmd6 v17_8_1y2v1nfr9", n = "v17_8_17szrmd7";
2
- export { d as badge, n as badgeBigNumber, m as badgeBorder, a as badgeNumber, e as badgeWithChildren, r as container };
1
+ /* empty css */ /* empty css */ var r = "v17_10_17szrmd0 v17_10_1y2v1nfrs v17_10_1y2v1nfs2", d = "v17_10_17szrmd2 v17_10_17szrmd1 v17_10_1y2v1nfe9", m = "v17_10_17szrmd3", s = "v17_10_17szrmd5 v17_10_17szrmd2 v17_10_17szrmd1 v17_10_1y2v1nfe9 v17_10_17szrmd4 v17_10_1y2v1nfry v17_10_1y2v1nfsd v17_10_1y2v1nfs7", e = "v17_10_17szrmd6 v17_10_1y2v1nfrt", a = "v17_10_17szrmd7";
2
+ export { d as badge, a as badgeBigNumber, m as badgeBorder, s as badgeNumber, e as badgeWithChildren, r as container };
@@ -1,23 +1,23 @@
1
1
  /* empty css */ var _ = {
2
2
  paddingTop: {
3
- desktop: "var(--v17_8_1xgjmkv0)",
4
- tablet: "var(--v17_8_1xgjmkv1)",
5
- mobile: "var(--v17_8_1xgjmkv2)"
3
+ desktop: "var(--v17_10_1xgjmkv0)",
4
+ tablet: "var(--v17_10_1xgjmkv1)",
5
+ mobile: "var(--v17_10_1xgjmkv2)"
6
6
  },
7
7
  paddingBottom: {
8
- desktop: "var(--v17_8_1xgjmkv3)",
9
- tablet: "var(--v17_8_1xgjmkv4)",
10
- mobile: "var(--v17_8_1xgjmkv5)"
8
+ desktop: "var(--v17_10_1xgjmkv3)",
9
+ tablet: "var(--v17_10_1xgjmkv4)",
10
+ mobile: "var(--v17_10_1xgjmkv5)"
11
11
  },
12
12
  paddingLeft: {
13
- desktop: "var(--v17_8_1xgjmkv6)",
14
- tablet: "var(--v17_8_1xgjmkv7)",
15
- mobile: "var(--v17_8_1xgjmkv8)"
13
+ desktop: "var(--v17_10_1xgjmkv6)",
14
+ tablet: "var(--v17_10_1xgjmkv7)",
15
+ mobile: "var(--v17_10_1xgjmkv8)"
16
16
  },
17
17
  paddingRight: {
18
- desktop: "var(--v17_8_1xgjmkv9)",
19
- tablet: "var(--v17_8_1xgjmkva)",
20
- mobile: "var(--v17_8_1xgjmkvb)"
18
+ desktop: "var(--v17_10_1xgjmkv9)",
19
+ tablet: "var(--v17_10_1xgjmkva)",
20
+ mobile: "var(--v17_10_1xgjmkvb)"
21
21
  }
22
- }, a = "v17_8_1xgjmkvc";
22
+ }, a = "v17_10_1xgjmkvc";
23
23
  export { a as box, _ as vars };
@@ -1,31 +1,31 @@
1
1
  /* empty css */ /* empty css */ var _ = {
2
- width: "var(--v17_8_ihbkeq0)",
3
- height: "var(--v17_8_ihbkeq1)",
4
- minHeight: "var(--v17_8_ihbkeq2)",
5
- maxWidth: "var(--v17_8_ihbkeq3)",
6
- minWidth: "var(--v17_8_ihbkeq4)",
2
+ width: "var(--v17_10_ihbkeq0)",
3
+ height: "var(--v17_10_ihbkeq1)",
4
+ minHeight: "var(--v17_10_ihbkeq2)",
5
+ maxWidth: "var(--v17_10_ihbkeq3)",
6
+ minWidth: "var(--v17_10_ihbkeq4)",
7
7
  mobile: {
8
- width: "var(--v17_8_ihbkeq5)",
9
- height: "var(--v17_8_ihbkeq6)",
10
- minHeight: "var(--v17_8_ihbkeq7)",
11
- maxWidth: "var(--v17_8_ihbkeq8)",
12
- minWidth: "var(--v17_8_ihbkeq9)"
8
+ width: "var(--v17_10_ihbkeq5)",
9
+ height: "var(--v17_10_ihbkeq6)",
10
+ minHeight: "var(--v17_10_ihbkeq7)",
11
+ maxWidth: "var(--v17_10_ihbkeq8)",
12
+ minWidth: "var(--v17_10_ihbkeq9)"
13
13
  },
14
14
  tablet: {
15
- width: "var(--v17_8_ihbkeqa)",
16
- height: "var(--v17_8_ihbkeqb)",
17
- minHeight: "var(--v17_8_ihbkeqc)",
18
- maxWidth: "var(--v17_8_ihbkeqd)",
19
- minWidth: "var(--v17_8_ihbkeqe)"
15
+ width: "var(--v17_10_ihbkeqa)",
16
+ height: "var(--v17_10_ihbkeqb)",
17
+ minHeight: "var(--v17_10_ihbkeqc)",
18
+ maxWidth: "var(--v17_10_ihbkeqd)",
19
+ minWidth: "var(--v17_10_ihbkeqe)"
20
20
  },
21
21
  desktop: {
22
- width: "var(--v17_8_ihbkeqf)",
23
- height: "var(--v17_8_ihbkeqg)",
24
- minHeight: "var(--v17_8_ihbkeqh)",
25
- maxWidth: "var(--v17_8_ihbkeqi)",
26
- minWidth: "var(--v17_8_ihbkeqj)"
22
+ width: "var(--v17_10_ihbkeqf)",
23
+ height: "var(--v17_10_ihbkeqg)",
24
+ minHeight: "var(--v17_10_ihbkeqh)",
25
+ maxWidth: "var(--v17_10_ihbkeqi)",
26
+ minWidth: "var(--v17_10_ihbkeqj)"
27
27
  },
28
- background: "var(--v17_8_ihbkeqk)",
29
- borderRadius: "var(--v17_8_ihbkeql)"
30
- }, h = "v17_8_ihbkeqm", e = "v17_8_ihbkeqn v17_8_1y2v1nfui", r = "v17_8_ihbkeqo v17_8_1y2v1nftv", a = "v17_8_ihbkeqp", b = "v17_8_ihbkeqq v17_8_1y2v1nftw";
28
+ background: "var(--v17_10_ihbkeqk)",
29
+ borderRadius: "var(--v17_10_ihbkeql)"
30
+ }, h = "v17_10_ihbkeqm", e = "v17_10_ihbkeqn v17_10_1y2v1nfv2", r = "v17_10_ihbkeqo v17_10_1y2v1nfuf", a = "v17_10_ihbkeqp", b = "v17_10_ihbkeqq v17_10_1y2v1nfug";
31
31
  export { r as boxBorder, h as boxed, a as desktopOnly, b as noBorder, e as overflowHidden, _ as vars };
package/dist-es/boxed.js CHANGED
@@ -51,56 +51,56 @@ function _object_spread_props(target, source) {
51
51
  }
52
52
  return target;
53
53
  }
54
- import { jsx as l } from "react/jsx-runtime";
55
- import * as f from "react";
54
+ import { jsx as m } from "react/jsx-runtime";
55
+ import * as b from "react";
56
56
  import T from "classnames";
57
- import { normalizeVariant as c, useThemeVariant as z, ThemeVariant as A } from "./theme-variant-context.js";
58
- import { getPrefixedDataAttributes as D } from "./utils/dom.js";
57
+ import { normalizeVariant as f, useThemeVariant as $, ThemeVariant as z } from "./theme-variant-context.js";
58
+ import { getPrefixedDataAttributes as A } from "./utils/dom.js";
59
59
  import { vars as t } from "./skins/skin-contract.css-mistica.js";
60
- import { boxed as H, overflowHidden as P, desktopOnly as S, vars as n, boxBorder as W, noBorder as $ } from "./boxed.css-mistica.js";
60
+ import { boxed as D, overflowHidden as H, desktopOnly as P, vars as n, boxBorder as S, noBorder as W } from "./boxed.css-mistica.js";
61
61
  import { applyCssVars as j } from "./utils/css.js";
62
62
  import { useTheme as I } from "./hooks.js";
63
- const q = (o, r, e)=>o === "default" && (r === "default" || r === "alternative") && e[r], E = (o, r, e)=>q(o, r, e) ? W : $, d = (o)=>typeof o == "number" ? `${o}px` : o !== null && o !== void 0 ? o : "initial", a = (o, r)=>{
63
+ const M = (e, r, o)=>e === "default" && (r === "default" || r === "alternative") && o[r], q = (e, r, o)=>M(e, r, o) ? S : W, s = (e)=>typeof e == "number" ? `${e}px` : e !== null && e !== void 0 ? e : "initial", a = (e, r)=>{
64
64
  if (typeof r == "number" || typeof r == "string" || typeof r > "u") return {
65
- [n[o]]: d(r)
65
+ [n[e]]: s(r)
66
66
  };
67
- const e = {
68
- [n.mobile[o]]: d(r.mobile),
69
- [n.desktop[o]]: d(r.desktop)
67
+ const o = {
68
+ [n.mobile[e]]: s(r.mobile),
69
+ [n.desktop[e]]: s(r.desktop)
70
70
  };
71
- return r.tablet && (e[n.tablet[o]] = d(r.tablet)), e;
72
- }, F = /*#__PURE__*/ f.forwardRef((param, v)=>{
73
- let { children: o, className: r, role: e, dataAttributes: b, "aria-label": p, "aria-labelledby": u, width: g, maxWidth: h, minWidth: B, height: y, minHeight: k, borderRadius: x = t.borderRadii.container, background: m, desktopOnly: C, variant: w, overflow: R, border: V } = param;
74
- const i = c(z()), s = c(w !== null && w !== void 0 ? w : "default"), { componentProperties: O } = I();
75
- return /* @__PURE__ */ l("div", _object_spread_props(_object_spread({
76
- ref: v,
77
- style: _object_spread_props(_object_spread({}, j(_object_spread_props(_object_spread({}, a("width", g), a("maxWidth", h), a("minWidth", B), a("height", y), a("minHeight", k)), {
78
- [n.background]: m !== null && m !== void 0 ? m : ({
71
+ return r.tablet && (o[n.tablet[e]] = s(r.tablet)), o;
72
+ }, E = /*#__PURE__*/ b.forwardRef((param, O)=>{
73
+ let { children: e, className: r, role: o, dataAttributes: p, "aria-label": u, "aria-labelledby": g, width: h, maxWidth: x, minWidth: y, height: B, minHeight: k, borderRadius: d = t.borderRadii.container, background: c, desktopOnly: C, variant: w, overflow: V, border: v } = param;
74
+ const i = f($()), l = f(w !== null && w !== void 0 ? w : "default"), { componentProperties: R } = I();
75
+ return /* @__PURE__ */ m("div", _object_spread_props(_object_spread({
76
+ ref: O,
77
+ style: _object_spread_props(_object_spread({}, j(_object_spread_props(_object_spread({}, a("width", h), a("maxWidth", x), a("minWidth", y), a("height", B), a("minHeight", k)), {
78
+ [n.background]: c !== null && c !== void 0 ? c : ({
79
79
  default: t.colors.backgroundContainer,
80
80
  brand: i === "brand" || i === "negative" || i === "media" ? t.colors.backgroundContainerBrandOverBrand : t.colors.backgroundContainerBrand,
81
81
  negative: t.colors.backgroundContainerNegative,
82
82
  alternative: t.colors.backgroundContainerAlternative,
83
83
  media: t.colors.backgroundContainer
84
- })[s],
85
- [n.borderRadius]: x
84
+ })[l],
85
+ [n.borderRadius]: typeof d == "number" ? `${Math.max(0, d)}px` : d
86
86
  }))), {
87
- background: m,
88
- border: V
87
+ background: c,
88
+ border: v
89
89
  }),
90
- className: T(r, H, E(s, i, O.showBoxedBorder), {
91
- [S]: C,
92
- [P]: R !== "visible"
90
+ className: T(r, D, q(l, i, R.showBoxedBorder), {
91
+ [P]: C,
92
+ [H]: V !== "visible"
93
93
  }),
94
- role: e,
95
- "aria-label": p,
96
- "aria-labelledby": u
97
- }, D(b)), {
98
- children: /* @__PURE__ */ l(A, {
99
- variant: s,
100
- children: o
94
+ role: o,
95
+ "aria-label": u,
96
+ "aria-labelledby": g
97
+ }, A(p)), {
98
+ children: /* @__PURE__ */ m(z, {
99
+ variant: l,
100
+ children: e
101
101
  })
102
102
  }));
103
- }), Y = /*#__PURE__*/ f.forwardRef((o, r)=>/* @__PURE__ */ l(F, _object_spread_props(_object_spread({}, o), {
103
+ }), Y = /*#__PURE__*/ b.forwardRef((e, r)=>/* @__PURE__ */ m(E, _object_spread_props(_object_spread({}, e), {
104
104
  ref: r
105
105
  })));
106
- export { Y as Boxed, F as InternalBoxed, q as shouldShowBoxedBorder };
106
+ export { Y as Boxed, E as InternalBoxed, M as shouldShowBoxedBorder };
@@ -1,2 +1,2 @@
1
- /* empty css */ /* empty css */ /* empty css */ var r = "v17_8_1xdd1h61 v17_8_1xdd1h60 v17_8_1y2v1nfrf v17_8_1y2v1nfrt v17_8_1y2v1nfrj", n = "v17_8_1xdd1h62", t = "v17_8_1xdd1h63", a = "v17_8_1xdd1h64", e = "v17_8_1xdd1h65", h = "v17_8_1xdd1h66", i = "v17_8_1xdd1h67", o = "v17_8_1xdd1h68", x = "v17_8_1xdd1h69";
2
- export { x as buttonChild, i as buttons, o as buttonsWithSmallLink, a as centerInDesktop, n as centerInMobile, t as centerInTablet, e as container, h as containerWithSmallLink, r as inline };
1
+ /* empty css */ /* empty css */ /* empty css */ var n = "v17_10_1xdd1h61 v17_10_1xdd1h60 v17_10_1y2v1nfrz v17_10_1y2v1nfsd v17_10_1y2v1nfs3", r = "v17_10_1xdd1h62", t = "v17_10_1xdd1h63", a = "v17_10_1xdd1h64", e = "v17_10_1xdd1h65", h = "v17_10_1xdd1h66", i = "v17_10_1xdd1h67", o = "v17_10_1xdd1h68", x = "v17_10_1xdd1h69";
2
+ export { x as buttonChild, i as buttons, o as buttonsWithSmallLink, a as centerInDesktop, r as centerInMobile, t as centerInTablet, e as container, h as containerWithSmallLink, n as inline };
@@ -1,17 +1,17 @@
1
- /* empty css */ /* empty css */ /* empty css */ var y = "v17_8_kfxylh1 v17_8_kfxylh0 v17_8_1y2v1nfre v17_8_1y2v1nfrt", l = "v17_8_kfxylh2", h = {
2
- right: "v17_8_kfxylh7 v17_8_kfxylh3 v17_8_1y2v1nfro",
3
- left: "v17_8_kfxylh8 v17_8_kfxylh4 v17_8_1y2v1nfrm",
4
- center: "v17_8_kfxylh9 v17_8_kfxylh5 v17_8_1y2v1nfrn",
5
- "full-width": "v17_8_kfxylha v17_8_kfxylh6 v17_8_1y2v1nfrn"
6
- }, k = "v17_8_kfxylhd v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1", x = {
7
- center: "v17_8_kfxylhh v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1",
8
- left: "v17_8_kfxylhi v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhe",
9
- right: "v17_8_kfxylhj v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhf",
10
- "full-width": "v17_8_kfxylhk v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhg"
1
+ /* empty css */ /* empty css */ /* empty css */ var f = "v17_10_kfxylh1 v17_10_kfxylh0 v17_10_1y2v1nfry v17_10_1y2v1nfsd", l = "v17_10_kfxylh2", h = {
2
+ right: "v17_10_kfxylh7 v17_10_kfxylh3 v17_10_1y2v1nfs8",
3
+ left: "v17_10_kfxylh8 v17_10_kfxylh4 v17_10_1y2v1nfs6",
4
+ center: "v17_10_kfxylh9 v17_10_kfxylh5 v17_10_1y2v1nfs7",
5
+ "full-width": "v17_10_kfxylha v17_10_kfxylh6 v17_10_1y2v1nfs7"
6
+ }, k = "v17_10_kfxylhd v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl", x = {
7
+ center: "v17_10_kfxylhh v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl",
8
+ left: "v17_10_kfxylhi v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhe",
9
+ right: "v17_10_kfxylhj v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhf",
10
+ "full-width": "v17_10_kfxylhk v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhg"
11
11
  }, n = {
12
- center: "v17_8_kfxylho v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1",
13
- left: "v17_8_kfxylhp v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhl",
14
- right: "v17_8_kfxylhq v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhm",
15
- "full-width": "v17_8_kfxylhr v17_8_kfxylhc v17_8_kfxylhb v17_8_1y2v1nfre v17_8_1y2v1nfs1 v17_8_kfxylhn"
12
+ center: "v17_10_kfxylho v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl",
13
+ left: "v17_10_kfxylhp v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhl",
14
+ right: "v17_10_kfxylhq v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhm",
15
+ "full-width": "v17_10_kfxylhr v17_10_kfxylhc v17_10_kfxylhb v17_10_1y2v1nfry v17_10_1y2v1nfsl v17_10_kfxylhn"
16
16
  };
17
- export { h as alignVariant, y as container, l as containerWithTwoButtons, k as link, x as linkInNewLine, n as smallLinkInNewLine };
17
+ export { h as alignVariant, f as container, l as containerWithTwoButtons, k as link, x as linkInNewLine, n as smallLinkInNewLine };