@telefonica/mistica 12.11.0 → 12.12.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/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +2 -2
  3. package/dist/avatar.d.ts +3 -2
  4. package/dist/avatar.js +72 -17
  5. package/dist/avatar.js.flow +2 -1
  6. package/dist/badge.css-mistica.js +4 -4
  7. package/dist/badge.d.ts +2 -0
  8. package/dist/badge.js +49 -8
  9. package/dist/badge.js.flow +2 -0
  10. package/dist/boxed.js +5 -5
  11. package/dist/button-group.css-mistica.js +1 -1
  12. package/dist/button-group.js +7 -7
  13. package/dist/button-layout.css-mistica.js +15 -12
  14. package/dist/button-layout.css.d.ts +1 -0
  15. package/dist/button-layout.css.js.flow +1 -0
  16. package/dist/button-layout.js +10 -10
  17. package/dist/button.css-mistica.js +26 -26
  18. package/dist/button.js +127 -77
  19. package/dist/callout.css-mistica.js +2 -2
  20. package/dist/callout.d.ts +2 -1
  21. package/dist/callout.js +68 -16
  22. package/dist/callout.js.flow +2 -1
  23. package/dist/card.css-mistica.js +5 -5
  24. package/dist/card.js +47 -41
  25. package/dist/carousel.css-mistica.js +16 -19
  26. package/dist/carousel.js +153 -143
  27. package/dist/checkbox.css-mistica.js +6 -6
  28. package/dist/checkbox.js +1 -1
  29. package/dist/chip.css-mistica.js +2 -2
  30. package/dist/chip.d.ts +7 -11
  31. package/dist/chip.js +65 -22
  32. package/dist/chip.js.flow +11 -6
  33. package/dist/circle.css-mistica.js +1 -1
  34. package/dist/credit-card-number-field.css-mistica.js +3 -3
  35. package/dist/cvv-field.css-mistica.js +1 -1
  36. package/dist/date-time-picker.js +2 -2
  37. package/dist/dialog.css-mistica.js +6 -6
  38. package/dist/dialog.d.ts +2 -10
  39. package/dist/dialog.js +1 -0
  40. package/dist/dialog.js.flow +6 -4
  41. package/dist/double-field.css-mistica.js +5 -4
  42. package/dist/empty-state-card.css-mistica.js +1 -1
  43. package/dist/empty-state.css-mistica.js +2 -2
  44. package/dist/empty-state.js +5 -5
  45. package/dist/fade-in.d.ts +2 -0
  46. package/dist/fade-in.js +59 -6
  47. package/dist/fade-in.js.flow +2 -0
  48. package/dist/feedback.css-mistica.js +1 -1
  49. package/dist/feedback.js +130 -115
  50. package/dist/fixed-footer-layout.css-mistica.js +36 -0
  51. package/dist/fixed-footer-layout.css.d.ts +9 -0
  52. package/dist/fixed-footer-layout.css.js.flow +17 -0
  53. package/dist/fixed-footer-layout.css.ts.vanilla.js +11 -0
  54. package/dist/fixed-footer-layout.js +35 -84
  55. package/dist/header.js +99 -129
  56. package/dist/highlighted-card.css-mistica.js +5 -5
  57. package/dist/highlighted-card.d.ts +1 -1
  58. package/dist/highlighted-card.js +20 -15
  59. package/dist/highlighted-card.js.flow +1 -1
  60. package/dist/icon-button.css-mistica.js +13 -0
  61. package/dist/icon-button.css.d.ts +1 -0
  62. package/dist/icon-button.css.js.flow +3 -0
  63. package/dist/icon-button.css.ts.vanilla.js +11 -0
  64. package/dist/icon-button.d.ts +2 -1
  65. package/dist/icon-button.js +51 -28
  66. package/dist/icon-button.js.flow +2 -1
  67. package/dist/icons/icon-error.css-mistica.js +20 -0
  68. package/dist/icons/icon-error.css.d.ts +2 -0
  69. package/dist/icons/icon-error.css.js.flow +4 -0
  70. package/dist/icons/icon-error.css.ts.vanilla.js +11 -0
  71. package/dist/icons/icon-error.js +22 -33
  72. package/dist/icons/icon-info.js +16 -28
  73. package/dist/icons/icon-success-vivo.js +10 -20
  74. package/dist/icons/icon-success.js +28 -44
  75. package/dist/image.css-mistica.js +3 -3
  76. package/dist/index.d.ts +2 -0
  77. package/dist/index.js +8 -0
  78. package/dist/index.js.flow +2 -0
  79. package/dist/list.css-mistica.js +7 -7
  80. package/dist/list.js +112 -71
  81. package/dist/loading-bar.css-mistica.js +6 -6
  82. package/dist/loading-bar.d.ts +2 -0
  83. package/dist/loading-bar.js +60 -6
  84. package/dist/loading-bar.js.flow +5 -1
  85. package/dist/maybe-dismissable.css-mistica.js +24 -0
  86. package/dist/maybe-dismissable.css.d.ts +3 -0
  87. package/dist/maybe-dismissable.css.js.flow +5 -0
  88. package/dist/maybe-dismissable.css.ts.vanilla.js +11 -0
  89. package/dist/maybe-dismissable.js +16 -51
  90. package/dist/media-queries.css-mistica.js +37 -5
  91. package/dist/menu.css-mistica.js +34 -0
  92. package/dist/menu.css.d.ts +11 -0
  93. package/dist/menu.css.js.flow +19 -0
  94. package/dist/menu.css.ts.vanilla.js +11 -0
  95. package/dist/menu.d.ts +2 -0
  96. package/dist/menu.js +53 -99
  97. package/dist/menu.js.flow +2 -0
  98. package/dist/navigation-bar.css-mistica.js +79 -0
  99. package/dist/navigation-bar.css.d.ts +17 -0
  100. package/dist/navigation-bar.css.js.flow +26 -0
  101. package/dist/navigation-bar.css.ts.vanilla.js +11 -0
  102. package/dist/navigation-bar.js +206 -334
  103. package/dist/navigation-breadcrumbs.css-mistica.js +27 -0
  104. package/dist/navigation-breadcrumbs.css.d.ts +5 -0
  105. package/dist/navigation-breadcrumbs.css.js.flow +7 -0
  106. package/dist/navigation-breadcrumbs.css.ts.vanilla.js +11 -0
  107. package/dist/navigation-breadcrumbs.js +20 -38
  108. package/dist/overlay.d.ts +2 -0
  109. package/dist/overlay.js +37 -11
  110. package/dist/overlay.js.flow +2 -0
  111. package/dist/package-version.js +1 -1
  112. package/dist/password-field.css-mistica.js +13 -0
  113. package/dist/password-field.css.d.ts +1 -0
  114. package/dist/password-field.css.js.flow +3 -0
  115. package/dist/password-field.css.ts.vanilla.js +11 -0
  116. package/dist/password-field.js +39 -55
  117. package/dist/popover.css-mistica.js +51 -0
  118. package/dist/popover.css.d.ts +12 -0
  119. package/dist/popover.css.js.flow +14 -0
  120. package/dist/popover.css.ts.vanilla.js +11 -0
  121. package/dist/popover.d.ts +2 -1
  122. package/dist/popover.js +97 -118
  123. package/dist/popover.js.flow +2 -1
  124. package/dist/progress-bar.css-mistica.js +3 -3
  125. package/dist/progress-bar.d.ts +2 -0
  126. package/dist/progress-bar.js +60 -7
  127. package/dist/progress-bar.js.flow +2 -0
  128. package/dist/radio-button.css-mistica.js +39 -0
  129. package/dist/radio-button.css.d.ts +6 -0
  130. package/dist/radio-button.css.js.flow +8 -0
  131. package/dist/radio-button.css.ts.vanilla.js +11 -0
  132. package/dist/radio-button.d.ts +1 -0
  133. package/dist/radio-button.js +81 -125
  134. package/dist/radio-button.js.flow +1 -0
  135. package/dist/responsive-layout.css-mistica.js +7 -4
  136. package/dist/responsive-layout.css.d.ts +1 -0
  137. package/dist/responsive-layout.css.js.flow +1 -0
  138. package/dist/responsive-layout.d.ts +2 -0
  139. package/dist/responsive-layout.js +19 -11
  140. package/dist/responsive-layout.js.flow +2 -0
  141. package/dist/screen-reader-only.css-mistica.js +2 -2
  142. package/dist/select.css-mistica.js +60 -0
  143. package/dist/select.css.d.ts +16 -0
  144. package/dist/select.css.js.flow +30 -0
  145. package/dist/select.css.ts.vanilla.js +11 -0
  146. package/dist/select.js +150 -272
  147. package/dist/skeleton-base.js +13 -32
  148. package/dist/skeletons.css-mistica.js +1 -1
  149. package/dist/skeletons.js +52 -42
  150. package/dist/skins/skin-contract.css.js.flow +1 -0
  151. package/dist/snackbar.css-mistica.js +4 -4
  152. package/dist/snackbar.d.ts +2 -0
  153. package/dist/snackbar.js +70 -23
  154. package/dist/snackbar.js.flow +2 -0
  155. package/dist/spinner.css-mistica.js +2 -2
  156. package/dist/spinner.js +14 -11
  157. package/dist/sprinkles.css-mistica.js +217 -479
  158. package/dist/sprinkles.css.d.ts +0 -25
  159. package/dist/stepper.css-mistica.js +7 -7
  160. package/dist/stepper.d.ts +2 -0
  161. package/dist/stepper.js +52 -11
  162. package/dist/stepper.js.flow +2 -0
  163. package/dist/switch-component.css-mistica.js +54 -0
  164. package/dist/switch-component.css.d.ts +14 -0
  165. package/dist/switch-component.css.js.flow +43 -0
  166. package/dist/switch-component.css.ts.vanilla.js +11 -0
  167. package/dist/switch-component.js +35 -96
  168. package/dist/tabs.css-mistica.js +6 -6
  169. package/dist/tabs.js +16 -15
  170. package/dist/tag.css-mistica.js +2 -2
  171. package/dist/tag.js +5 -5
  172. package/dist/text-field-base.css-mistica.js +63 -0
  173. package/dist/text-field-base.css.d.ts +17 -0
  174. package/dist/text-field-base.css.js.flow +19 -0
  175. package/dist/text-field-base.css.ts.vanilla.js +11 -0
  176. package/dist/text-field-base.js +120 -314
  177. package/dist/text-field-components.css-mistica.js +69 -0
  178. package/dist/text-field-components.css.d.ts +18 -0
  179. package/dist/text-field-components.css.js.flow +20 -0
  180. package/dist/text-field-components.css.ts.vanilla.js +11 -0
  181. package/dist/text-field-components.d.ts +0 -4
  182. package/dist/text-field-components.js +46 -159
  183. package/dist/text-field-components.js.flow +0 -4
  184. package/dist/text-link.css-mistica.js +3 -3
  185. package/dist/text.js +159 -92
  186. package/dist/theme-context-provider.js +1 -1
  187. package/dist/title.js +44 -12
  188. package/dist/tooltip.css-mistica.js +7 -7
  189. package/dist/tooltip.d.ts +2 -0
  190. package/dist/tooltip.js +62 -36
  191. package/dist/tooltip.js.flow +2 -0
  192. package/dist/touchable.css-mistica.js +3 -3
  193. package/dist/touchable.js +10 -10
  194. package/dist/utils/animation.d.ts +0 -6
  195. package/dist/utils/animation.js +18 -55
  196. package/dist/utils/animation.js.flow +0 -8
  197. package/dist/utils/aspect-ratio-support.css-mistica.js +29 -0
  198. package/dist/utils/aspect-ratio-support.css.d.ts +6 -0
  199. package/dist/utils/aspect-ratio-support.css.js.flow +11 -0
  200. package/dist/utils/aspect-ratio-support.css.ts.vanilla.js +11 -0
  201. package/dist/utils/aspect-ratio-support.js +37 -56
  202. package/dist/utils/color.d.ts +1 -1
  203. package/dist/utils/color.js.flow +1 -1
  204. package/dist/utils/dom.d.ts +1 -1
  205. package/dist/utils/dom.js +7 -5
  206. package/dist/utils/dom.js.flow +2 -1
  207. package/dist/video.css-mistica.js +2 -2
  208. package/dist-es/avatar.css-mistica.js +2 -2
  209. package/dist-es/avatar.js +77 -22
  210. package/dist-es/badge.css-mistica.js +2 -2
  211. package/dist-es/badge.js +56 -15
  212. package/dist-es/boxed.js +5 -5
  213. package/dist-es/button-group.css-mistica.js +1 -1
  214. package/dist-es/button-group.js +10 -10
  215. package/dist-es/button-layout.css-mistica.js +7 -7
  216. package/dist-es/button-layout.js +19 -19
  217. package/dist-es/button.css-mistica.js +9 -9
  218. package/dist-es/button.js +152 -102
  219. package/dist-es/callout.css-mistica.js +2 -2
  220. package/dist-es/callout.js +79 -27
  221. package/dist-es/card.css-mistica.js +2 -2
  222. package/dist-es/card.js +78 -72
  223. package/dist-es/carousel.css-mistica.js +2 -2
  224. package/dist-es/carousel.js +191 -181
  225. package/dist-es/checkbox.css-mistica.js +5 -5
  226. package/dist-es/checkbox.js +1 -1
  227. package/dist-es/chip.css-mistica.js +2 -2
  228. package/dist-es/chip.js +79 -36
  229. package/dist-es/circle.css-mistica.js +1 -1
  230. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  231. package/dist-es/cvv-field.css-mistica.js +1 -1
  232. package/dist-es/date-time-picker.js +1 -1
  233. package/dist-es/dialog.css-mistica.js +5 -5
  234. package/dist-es/dialog.js +1 -0
  235. package/dist-es/double-field.css-mistica.js +5 -4
  236. package/dist-es/empty-state-card.css-mistica.js +1 -1
  237. package/dist-es/empty-state.css-mistica.js +2 -2
  238. package/dist-es/empty-state.js +18 -18
  239. package/dist-es/fade-in.js +60 -7
  240. package/dist-es/feedback.css-mistica.js +1 -1
  241. package/dist-es/feedback.js +170 -155
  242. package/dist-es/fixed-footer-layout.css-mistica.js +7 -0
  243. package/dist-es/fixed-footer-layout.css.ts.vanilla.js +2 -0
  244. package/dist-es/fixed-footer-layout.js +47 -96
  245. package/dist-es/header.js +116 -146
  246. package/dist-es/highlighted-card.css-mistica.js +5 -5
  247. package/dist-es/highlighted-card.js +44 -39
  248. package/dist-es/icon-button.css-mistica.js +4 -0
  249. package/dist-es/icon-button.css.ts.vanilla.js +2 -0
  250. package/dist-es/icon-button.js +41 -26
  251. package/dist-es/icons/icon-error.css-mistica.js +3 -0
  252. package/dist-es/icons/icon-error.css.ts.vanilla.js +2 -0
  253. package/dist-es/icons/icon-error.js +46 -57
  254. package/dist-es/icons/icon-info.js +28 -40
  255. package/dist-es/icons/icon-success-vivo.js +18 -28
  256. package/dist-es/icons/icon-success.js +45 -56
  257. package/dist-es/image.css-mistica.js +2 -2
  258. package/dist-es/index.js +1738 -1736
  259. package/dist-es/list.css-mistica.js +2 -2
  260. package/dist-es/list.js +126 -85
  261. package/dist-es/loading-bar.css-mistica.js +2 -2
  262. package/dist-es/loading-bar.js +73 -19
  263. package/dist-es/maybe-dismissable.css-mistica.js +4 -0
  264. package/dist-es/maybe-dismissable.css.ts.vanilla.js +2 -0
  265. package/dist-es/maybe-dismissable.js +24 -59
  266. package/dist-es/media-queries.css-mistica.js +3 -3
  267. package/dist-es/menu.css-mistica.js +11 -0
  268. package/dist-es/menu.css.ts.vanilla.js +2 -0
  269. package/dist-es/menu.js +61 -107
  270. package/dist-es/navigation-bar.css-mistica.js +17 -0
  271. package/dist-es/navigation-bar.css.ts.vanilla.js +2 -0
  272. package/dist-es/navigation-bar.js +253 -381
  273. package/dist-es/navigation-breadcrumbs.css-mistica.js +4 -0
  274. package/dist-es/navigation-breadcrumbs.css.ts.vanilla.js +2 -0
  275. package/dist-es/navigation-breadcrumbs.js +34 -52
  276. package/dist-es/overlay.js +41 -15
  277. package/dist-es/package-version.js +1 -1
  278. package/dist-es/password-field.css-mistica.js +4 -0
  279. package/dist-es/password-field.css.ts.vanilla.js +2 -0
  280. package/dist-es/password-field.js +45 -61
  281. package/dist-es/popover.css-mistica.js +4 -0
  282. package/dist-es/popover.css.ts.vanilla.js +2 -0
  283. package/dist-es/popover.js +121 -141
  284. package/dist-es/progress-bar.css-mistica.js +2 -2
  285. package/dist-es/progress-bar.js +68 -15
  286. package/dist-es/radio-button.css-mistica.js +10 -0
  287. package/dist-es/radio-button.css.ts.vanilla.js +2 -0
  288. package/dist-es/radio-button.js +99 -143
  289. package/dist-es/responsive-layout.css-mistica.js +2 -2
  290. package/dist-es/responsive-layout.js +23 -15
  291. package/dist-es/screen-reader-only.css-mistica.js +2 -2
  292. package/dist-es/select.css-mistica.js +22 -0
  293. package/dist-es/select.css.ts.vanilla.js +2 -0
  294. package/dist-es/select.js +177 -299
  295. package/dist-es/skeleton-base.js +17 -36
  296. package/dist-es/skeletons.css-mistica.js +1 -1
  297. package/dist-es/skeletons.js +66 -56
  298. package/dist-es/snackbar.css-mistica.js +2 -2
  299. package/dist-es/snackbar.js +89 -42
  300. package/dist-es/spinner.css-mistica.js +2 -2
  301. package/dist-es/spinner.js +14 -11
  302. package/dist-es/sprinkles.css-mistica.js +217 -479
  303. package/dist-es/stepper.css-mistica.js +2 -2
  304. package/dist-es/stepper.js +68 -27
  305. package/dist-es/style.css +1 -1
  306. package/dist-es/switch-component.css-mistica.js +22 -0
  307. package/dist-es/switch-component.css.ts.vanilla.js +2 -0
  308. package/dist-es/switch-component.js +51 -112
  309. package/dist-es/tabs.css-mistica.js +6 -6
  310. package/dist-es/tabs.js +24 -23
  311. package/dist-es/tag.css-mistica.js +2 -2
  312. package/dist-es/tag.js +11 -11
  313. package/dist-es/text-field-base.css-mistica.js +4 -0
  314. package/dist-es/text-field-base.css.ts.vanilla.js +2 -0
  315. package/dist-es/text-field-base.js +134 -328
  316. package/dist-es/text-field-components.css-mistica.js +4 -0
  317. package/dist-es/text-field-components.css.ts.vanilla.js +2 -0
  318. package/dist-es/text-field-components.js +56 -157
  319. package/dist-es/text-link.css-mistica.js +3 -3
  320. package/dist-es/text.js +159 -92
  321. package/dist-es/theme-context-provider.js +1 -1
  322. package/dist-es/title.js +50 -18
  323. package/dist-es/tooltip.css-mistica.js +3 -3
  324. package/dist-es/tooltip.js +90 -64
  325. package/dist-es/touchable.css-mistica.js +2 -2
  326. package/dist-es/touchable.js +10 -10
  327. package/dist-es/utils/animation.js +28 -62
  328. package/dist-es/utils/aspect-ratio-support.css-mistica.js +6 -0
  329. package/dist-es/utils/aspect-ratio-support.css.ts.vanilla.js +2 -0
  330. package/dist-es/utils/aspect-ratio-support.js +34 -58
  331. package/dist-es/utils/dom.js +7 -5
  332. package/dist-es/video.css-mistica.js +2 -2
  333. package/package.json +2 -1
package/dist-es/avatar.js CHANGED
@@ -6,6 +6,19 @@ function _arrayLikeToArray(arr, len) {
6
6
  function _arrayWithHoles(arr) {
7
7
  if (Array.isArray(arr)) return arr;
8
8
  }
9
+ function _defineProperty(obj, key, value) {
10
+ if (key in obj) {
11
+ Object.defineProperty(obj, key, {
12
+ value: value,
13
+ enumerable: true,
14
+ configurable: true,
15
+ writable: true
16
+ });
17
+ } else {
18
+ obj[key] = value;
19
+ }
20
+ return obj;
21
+ }
9
22
  function _iterableToArrayLimit(arr, i) {
10
23
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11
24
  if (_i == null) return;
@@ -33,6 +46,45 @@ function _iterableToArrayLimit(arr, i) {
33
46
  function _nonIterableRest() {
34
47
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
48
  }
49
+ function _objectSpread(target) {
50
+ for(var i = 1; i < arguments.length; i++){
51
+ var source = arguments[i] != null ? arguments[i] : {};
52
+ var ownKeys = Object.keys(source);
53
+ if (typeof Object.getOwnPropertySymbols === "function") {
54
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
55
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
56
+ }));
57
+ }
58
+ ownKeys.forEach(function(key) {
59
+ _defineProperty(target, key, source[key]);
60
+ });
61
+ }
62
+ return target;
63
+ }
64
+ function ownKeys(object, enumerableOnly) {
65
+ var keys = Object.keys(object);
66
+ if (Object.getOwnPropertySymbols) {
67
+ var symbols = Object.getOwnPropertySymbols(object);
68
+ if (enumerableOnly) {
69
+ symbols = symbols.filter(function(sym) {
70
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
71
+ });
72
+ }
73
+ keys.push.apply(keys, symbols);
74
+ }
75
+ return keys;
76
+ }
77
+ function _objectSpreadProps(target, source) {
78
+ source = source != null ? source : {};
79
+ if (Object.getOwnPropertyDescriptors) {
80
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
81
+ } else {
82
+ ownKeys(Object(source)).forEach(function(key) {
83
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
84
+ });
85
+ }
86
+ return target;
87
+ }
36
88
  function _objectWithoutProperties(source, excluded) {
37
89
  if (source == null) return {};
38
90
  var target = _objectWithoutPropertiesLoose(source, excluded);
@@ -73,16 +125,17 @@ function _unsupportedIterableToArray(o, minLen) {
73
125
  }
74
126
  import * as g from "react";
75
127
  import E from "./badge.js";
76
- import k from "./generated/mistica-icons/icon-user-account-regular.js";
77
- import { useIsInverseVariant as w } from "./theme-variant-context.js";
78
- import { avatar as y, image as P } from "./avatar.css-mistica.js";
128
+ import P from "./generated/mistica-icons/icon-user-account-regular.js";
129
+ import { useIsInverseVariant as k } from "./theme-variant-context.js";
130
+ import { avatar as w, image as y } from "./avatar.css-mistica.js";
79
131
  import { vars as s } from "./skins/skin-contract.css-mistica.js";
132
+ import { getPrefixedDataAttributes as R } from "./utils/dom.js";
80
133
  import { jsx as n } from "./_virtual/jsx-runtime.js";
81
- var R = function(r, o) {
134
+ var S = function(r, o) {
82
135
  if (!o) return 0;
83
136
  var t = r / 2, e = o === !0 ? 5 : 10;
84
137
  return t * (1 - Math.sin(Math.PI / 4)) - e;
85
- }, S = function(r, o) {
138
+ }, B = function(r, o) {
86
139
  if (!o) return null;
87
140
  var t;
88
141
  return r <= 40 ? t = 14 : r <= 64 ? t = 16 : t = 18, /* @__PURE__ */ n("span", {
@@ -92,51 +145,53 @@ var R = function(r, o) {
92
145
  },
93
146
  children: o
94
147
  });
95
- }, j = function(_param) {
96
- var r = _param.size, o = _param.src, tmp = _param.Icon, t = tmp === void 0 ? k : tmp, e = _param.badge, tmp1 = _param.initials, a = tmp1 === void 0 ? "" : tmp1, c = _param["aria-label"], l = _objectWithoutProperties(_param, [
148
+ }, O = function(_param) {
149
+ var r = _param.size, o = _param.src, tmp = _param.Icon, t = tmp === void 0 ? P : tmp, e = _param.badge, tmp1 = _param.initials, c = tmp1 === void 0 ? "" : tmp1, a = _param["aria-label"], h = _param.dataAttributes, l = _objectWithoutProperties(_param, [
97
150
  "size",
98
151
  "src",
99
152
  "Icon",
100
153
  "badge",
101
154
  "initials",
102
- "aria-label"
155
+ "aria-label",
156
+ "dataAttributes"
103
157
  ]);
104
158
  var d, f;
105
- var i = w(), h = (d = l.backgroundColor) != null ? d : i ? s.colors.brandHigh : s.colors.brandLow, p = (f = l.textColor) != null ? f : i ? s.colors.textPrimaryInverse : s.colors.brand, ref = _slicedToArray(g.useState(!1), 2), v = ref[0], m = ref[1];
159
+ var i = k(), p = (d = l.backgroundColor) != null ? d : i ? s.colors.brandHigh : s.colors.brandLow, v = (f = l.textColor) != null ? f : i ? s.colors.textPrimaryInverse : s.colors.brand, ref = _slicedToArray(g.useState(!1), 2), I = ref[0], m = ref[1];
106
160
  g.useEffect(function() {
107
161
  m(!1);
108
162
  }, [
109
163
  o
110
164
  ]);
111
- var I = a.trim().slice(0, 2), u = R(r, e), x = e === !0 ? void 0 : e || 0, C = !!o && !v, b = r <= 40 ? 16 : 24;
165
+ var x = c.trim().slice(0, 2), u = S(r, e), b = e === !0 ? void 0 : e || 0, C = !!o && !I, A = r <= 40 ? 16 : 24;
112
166
  return /* @__PURE__ */ n(E, {
113
- value: x,
167
+ value: b,
114
168
  top: u,
115
169
  right: u,
116
- children: /* @__PURE__ */ n("div", {
117
- className: y,
170
+ children: /* @__PURE__ */ n("div", _objectSpreadProps(_objectSpread({
171
+ className: w,
118
172
  role: "img",
119
- "aria-label": c != null ? c : a,
173
+ "aria-label": a != null ? a : c,
120
174
  style: {
121
175
  width: r,
122
176
  height: r,
123
- color: p,
124
- background: h
125
- },
177
+ color: v,
178
+ background: p
179
+ }
180
+ }, R(h, "Avatar")), {
126
181
  children: C ? /* @__PURE__ */ n("img", {
127
182
  src: o,
128
- className: P,
183
+ className: y,
129
184
  onError: function() {
130
185
  return m(!0);
131
186
  },
132
187
  role: "none",
133
188
  width: r,
134
189
  height: r
135
- }) : S(r, I) || /* @__PURE__ */ n(t, {
136
- size: b,
190
+ }) : B(r, x) || /* @__PURE__ */ n(t, {
191
+ size: A,
137
192
  color: "currentColor"
138
193
  })
139
- })
194
+ }))
140
195
  });
141
196
  };
142
- export { j as default };
197
+ export { O as default };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.js";
2
2
  import "./badge.css.ts.vanilla.js";
3
- var _ = "_17szrmd2 _1y2v1nf9n _1y2v1nfa2 _1y2v1nf5w", r = "_17szrmd6", f = "_17szrmd4 _17szrmd2 _1y2v1nf9n _1y2v1nfa2 _1y2v1nf5w _1y2v1nf7b _1y2v1nf7q _1y2v1nf7k _1y2v1nf1j", y = "_1y2v1nf77", a = "_1y2v1nf76 _1y2v1nf7f";
4
- export { _ as badge, r as badgeBigNumber, f as badgeNumber, y as badgeWithChildren, a as container };
3
+ var n = "_17szrmd2 _1y2v1nf7a _1y2v1nf7p _1y2v1nf3i", r = "_17szrmd6", y = "_17szrmd4 _17szrmd2 _1y2v1nf7a _1y2v1nf7p _1y2v1nf3i _1y2v1nf4y _1y2v1nf5d _1y2v1nf57 _1y2v1nf1j", f = "_1y2v1nf4u", a = "_1y2v1nf4t _1y2v1nf52";
4
+ export { n as badge, r as badgeBigNumber, y as badgeNumber, f as badgeWithChildren, a as container };
package/dist-es/badge.js CHANGED
@@ -11,38 +11,79 @@ function _defineProperty(obj, key, value) {
11
11
  }
12
12
  return obj;
13
13
  }
14
+ function _objectSpread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _defineProperty(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ function ownKeys(object, enumerableOnly) {
30
+ var keys = Object.keys(object);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var symbols = Object.getOwnPropertySymbols(object);
33
+ if (enumerableOnly) {
34
+ symbols = symbols.filter(function(sym) {
35
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
+ });
37
+ }
38
+ keys.push.apply(keys, symbols);
39
+ }
40
+ return keys;
41
+ }
42
+ function _objectSpreadProps(target, source) {
43
+ source = source != null ? source : {};
44
+ if (Object.getOwnPropertyDescriptors) {
45
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
+ } else {
47
+ ownKeys(Object(source)).forEach(function(key) {
48
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
+ });
50
+ }
51
+ return target;
52
+ }
14
53
  import m from "classnames";
15
- import { container as o, badgeNumber as d, badgeWithChildren as n, badgeBigNumber as b, badge as g } from "./badge.css-mistica.js";
16
- import { jsx as s, Fragment as f, jsxs as N } from "./_virtual/jsx-runtime.js";
17
- var u = function(param) {
18
- var r = param.children, e = param.value, t = param.right, a = param.top;
19
- if (r && e === 0) return /* @__PURE__ */ s(f, {
54
+ import { container as n, badgeNumber as g, badgeWithChildren as o, badgeBigNumber as b, badge as f } from "./badge.css-mistica.js";
55
+ import { getPrefixedDataAttributes as N } from "./utils/dom.js";
56
+ import { jsx as t, Fragment as c, jsxs as p } from "./_virtual/jsx-runtime.js";
57
+ var j = function(param) {
58
+ var r = param.children, e = param.value, s = param.right, a = param.top, d = param.dataAttributes;
59
+ if (r && e === 0) return /* @__PURE__ */ t(c, {
20
60
  children: r
21
61
  });
22
62
  if (e === 0) return null;
23
63
  var i = e && e > 9;
24
64
  var _obj;
25
- return /* @__PURE__ */ N("div", {
26
- className: o,
65
+ return /* @__PURE__ */ p("div", _objectSpreadProps(_objectSpread({
66
+ className: n
67
+ }, N(d, "Badge")), {
27
68
  children: [
28
- e ? /* @__PURE__ */ s("div", {
69
+ e ? /* @__PURE__ */ t("div", {
29
70
  role: "presentation",
30
71
  "aria-hidden": "true",
31
- className: m(d, (_obj = {}, _defineProperty(_obj, n, !!r), _defineProperty(_obj, b, i), _obj)),
72
+ className: m(g, (_obj = {}, _defineProperty(_obj, o, !!r), _defineProperty(_obj, b, i), _obj)),
32
73
  style: {
33
- right: t,
74
+ right: s,
34
75
  top: a
35
76
  },
36
77
  children: i ? "+9" : e
37
- }) : /* @__PURE__ */ s("div", {
78
+ }) : /* @__PURE__ */ t("div", {
38
79
  style: {
39
- right: t,
80
+ right: s,
40
81
  top: a
41
82
  },
42
- className: m(g, _defineProperty({}, n, !!r))
83
+ className: m(f, _defineProperty({}, o, !!r))
43
84
  }),
44
85
  r
45
86
  ]
46
- });
87
+ }));
47
88
  };
48
- export { u as default };
89
+ export { j as default };
package/dist-es/boxed.js CHANGED
@@ -65,7 +65,7 @@ var B = function(o, r) {
65
65
  }) : e({
66
66
  border: "regular"
67
67
  });
68
- }, j = /*#__PURE__*/ b.forwardRef(function(param, l) {
68
+ }, z = /*#__PURE__*/ b.forwardRef(function(param, l) {
69
69
  var o = param.children, tmp = param.isInverse, r = tmp === void 0 ? !1 : tmp, i = param.className, s = param.role, m = param.dataAttributes, n = param["aria-label"], d = param.width, f = param.height;
70
70
  var ref = v(), c = ref.isDarkMode, u = g();
71
71
  return /* @__PURE__ */ a("div", _objectSpreadProps(_objectSpread({
@@ -78,15 +78,15 @@ var B = function(o, r) {
78
78
  className: p(i, B(u, r), e({
79
79
  borderRadius: 8,
80
80
  overflow: "hidden",
81
- backgroundColor: r && !c ? t.colors.backgroundBrand : t.colors.backgroundContainer
81
+ background: r && !c ? t.colors.backgroundBrand : t.colors.backgroundContainer
82
82
  })),
83
- role: s
83
+ role: s,
84
+ "aria-label": n
84
85
  }, k(m)), {
85
- "aria-label": n,
86
86
  children: /* @__PURE__ */ a(x, {
87
87
  isInverse: r,
88
88
  children: o
89
89
  })
90
90
  }));
91
91
  });
92
- export { j as Boxed };
92
+ export { z as Boxed };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.js";
2
2
  import "./button-group.css.ts.vanilla.js";
3
- var r = "_1xdd1h64", t = "_1xdd1h63", v = "_1xdd1h62", _ = "_1xdd1h61 _1y2v1nf7c _1y2v1nf7q _1y2v1nf7g";
3
+ var r = "_1xdd1h64", t = "_1xdd1h63", v = "_1xdd1h62", _ = "_1xdd1h61 _1y2v1nf4z _1y2v1nf5d _1y2v1nf53";
4
4
  export { r as buttonChild, t as buttons, v as container, _ as inline };
@@ -51,17 +51,17 @@ function _objectSpreadProps(target, source) {
51
51
  return target;
52
52
  }
53
53
  import c from "classnames";
54
- import { getPrefixedDataAttributes as r } from "./utils/dom.js";
54
+ import { getPrefixedDataAttributes as h } from "./utils/dom.js";
55
55
  import { inline as a, container as n, buttons as f, buttonChild as l } from "./button-group.css-mistica.js";
56
- import { jsxs as d, jsx as t } from "./_virtual/jsx-runtime.js";
57
- var j = function(param) {
58
- var s = param.primaryButton, e = param.secondaryButton, i = param.link, m = param.dataAttributes;
59
- var o = !!s || !!e || !!i, h = !!s && !!e;
60
- return o ? /* @__PURE__ */ d("div", _objectSpreadProps(_objectSpread({
56
+ import { jsxs as o, jsx as t } from "./_virtual/jsx-runtime.js";
57
+ var x = function(param) {
58
+ var s = param.primaryButton, e = param.secondaryButton, i = param.link, d = param.dataAttributes;
59
+ var m = !!s || !!e || !!i, r = !!s && !!e;
60
+ return m ? /* @__PURE__ */ o("div", _objectSpreadProps(_objectSpread({
61
61
  className: c(a, n)
62
- }, r(m)), {
62
+ }, h(d, "ButtonGroup")), {
63
63
  children: [
64
- (s || e) && /* @__PURE__ */ d("div", {
64
+ (s || e) && /* @__PURE__ */ o("div", {
65
65
  className: c(a, f),
66
66
  children: [
67
67
  s && /* @__PURE__ */ t("div", {
@@ -77,11 +77,11 @@ var j = function(param) {
77
77
  i && /* @__PURE__ */ t("div", {
78
78
  className: l,
79
79
  style: {
80
- width: h ? "100%" : "auto"
80
+ width: r ? "100%" : "auto"
81
81
  },
82
82
  children: i
83
83
  })
84
84
  ]
85
85
  })) : null;
86
86
  };
87
- export { j as default };
87
+ export { x as default };
@@ -1,12 +1,12 @@
1
1
  import "./sprinkles.css.ts.vanilla.js";
2
2
  import "./button.css.ts.vanilla.js";
3
3
  import "./button-layout.css.ts.vanilla.js";
4
- var f = "kfxylhi", i = {
5
- right: "_1y2v1nf7l",
6
- left: "_1y2v1nf7j",
7
- center: "_1y2v1nf7k",
8
- "full-width": "kfxylhh _1y2v1nf7k"
9
- }, a = "kfxylh6 _1y2v1nf7b", t = "kfxylh8 _1y2v1nf7b", v = "kfxylh3 _1y2v1nf7b _1y2v1nf9i", h = "kfxylh4", y = "kfxylh1", k = "kfxylh9", e = {
4
+ var l = "kfxylhi", f = {
5
+ right: "_1y2v1nf58",
6
+ left: "_1y2v1nf56",
7
+ center: "_1y2v1nf57",
8
+ "full-width": "kfxylhh _1y2v1nf57"
9
+ }, i = "kfxylh6 _1y2v1nf4y", t = "kfxylh7", v = "kfxylh8", y = "kfxylh3 _1y2v1nf4y _1y2v1nf75", h = "kfxylh4", e = "kfxylh1", k = "kfxylh9", o = {
10
10
  buttonWidth: "var(--kfxylh0)"
11
11
  };
12
- export { f as alignMoreThanOneChildred, i as alignVariant, a as container, t as fullWidthContainer, v as link, h as linkAlignment, y as margins, k as noButtonWidth, e as vars };
12
+ export { l as alignMoreThanOneChildred, f as alignVariant, i as baseContainer, t as container, v as fullWidthContainer, y as link, h as linkAlignment, e as margins, k as noButtonWidth, o as vars };
@@ -111,14 +111,14 @@ function _unsupportedIterableToArray(o, minLen) {
111
111
  import * as i from "react";
112
112
  import { assignInlineVars as E } from "@vanilla-extract/dynamic";
113
113
  import { useIsomorphicLayoutEffect as W } from "./hooks.js";
114
- import { ButtonSecondary as M, ButtonDanger as x, ButtonPrimary as L } from "./button.js";
114
+ import { ButtonSecondary as L, ButtonDanger as M, ButtonPrimary as x } from "./button.js";
115
115
  import { BUTTON_MIN_WIDTH as B } from "./button.css-mistica.js";
116
116
  import h from "classnames";
117
117
  import C from "lodash/debounce";
118
118
  import { getPrefixedDataAttributes as O } from "./utils/dom.js";
119
- import { alignVariant as N, fullWidthContainer as A, container as R, noButtonWidth as S, alignMoreThanOneChildred as k, vars as D, link as I, linkAlignment as T, margins as F } from "./button-layout.css-mistica.js";
120
- import { jsxs as V, jsx as p } from "./_virtual/jsx-runtime.js";
121
- var _ = function(t) {
119
+ import { baseContainer as N, alignVariant as A, fullWidthContainer as R, container as S, noButtonWidth as k, alignMoreThanOneChildred as D, vars as I, link as T, linkAlignment as F, margins as V } from "./button-layout.css-mistica.js";
120
+ import { jsxs as _, jsx as p } from "./_virtual/jsx-runtime.js";
121
+ var j = function(t) {
122
122
  i.useEffect(function() {
123
123
  var r, u;
124
124
  var e = !1;
@@ -130,7 +130,7 @@ var _ = function(t) {
130
130
  }, [
131
131
  t
132
132
  ]);
133
- }, j = function(t, e) {
133
+ }, q = function(t, e) {
134
134
  i.useEffect(function() {
135
135
  if (t) {
136
136
  var r = new MutationObserver(e);
@@ -147,12 +147,12 @@ var _ = function(t) {
147
147
  e,
148
148
  t
149
149
  ]);
150
- }, v = [
150
+ }, b = [
151
+ L,
151
152
  M,
152
- x,
153
- L
154
- ], X = function(param) {
155
- var t = param.children, tmp = param.align, e = tmp === void 0 ? "full-width" : tmp, r = param.link, tmp1 = param.withMargins, u = tmp1 === void 0 ? !1 : tmp1, b = param.dataAttributes;
153
+ x
154
+ ], Y = function(param) {
155
+ var t = param.children, tmp = param.align, e = tmp === void 0 ? "full-width" : tmp, r = param.link, tmp1 = param.withMargins, u = tmp1 === void 0 ? !1 : tmp1, v = param.dataAttributes;
156
156
  var g = i.Children.count(t), ref = _slicedToArray(i.useState({
157
157
  isMeasuring: !0,
158
158
  buttonWidth: 0
@@ -197,7 +197,7 @@ var _ = function(t) {
197
197
  maxWait: 50
198
198
  });
199
199
  }, []);
200
- j(c.current, n), _(n), i.useEffect(function() {
200
+ q(c.current, n), j(n), i.useEffect(function() {
201
201
  return window.addEventListener("resize", n), window.addEventListener("focus", n), document.addEventListener("visibilitychange", n), function() {
202
202
  window.removeEventListener("resize", n), window.removeEventListener("focus", n), document.removeEventListener("visibilitychange", n);
203
203
  };
@@ -205,16 +205,16 @@ var _ = function(t) {
205
205
  n
206
206
  ]);
207
207
  var y = i.Children.toArray(t).sort(function(s, a) {
208
- var f = v.indexOf(s.type), d = v.indexOf(a.type);
208
+ var f = b.indexOf(s.type), d = b.indexOf(a.type);
209
209
  return f - d;
210
- }), l = /* @__PURE__ */ V("div", _objectSpreadProps(_objectSpread({
210
+ }), l = /* @__PURE__ */ _("div", _objectSpreadProps(_objectSpread({
211
211
  ref: c,
212
- className: h(N[e], o.buttonWidth ? e === "full-width" ? A : R : S, _defineProperty({}, k, g > 1)),
213
- style: E(_defineProperty({}, D.buttonWidth, o.buttonWidth ? "".concat(o.buttonWidth, "px") : "auto"))
214
- }, O(b)), {
212
+ className: h(N, A[e], o.buttonWidth ? e === "full-width" ? R : S : k, _defineProperty({}, D, g > 1)),
213
+ style: E(_defineProperty({}, I.buttonWidth, o.buttonWidth ? "".concat(o.buttonWidth, "px") : "auto"))
214
+ }, O(v, "ButtonLayout")), {
215
215
  children: [
216
216
  r ? /* @__PURE__ */ p("div", {
217
- className: h(I, _defineProperty({}, T, e === "left")),
217
+ className: h(T, _defineProperty({}, F, e === "left")),
218
218
  "data-link": "true",
219
219
  children: r
220
220
  }) : null,
@@ -222,8 +222,8 @@ var _ = function(t) {
222
222
  ]
223
223
  }));
224
224
  return u ? /* @__PURE__ */ p("div", {
225
- className: F,
225
+ className: V,
226
226
  children: l
227
227
  }) : l;
228
228
  };
229
- export { X as default };
229
+ export { Y as default };
@@ -1,12 +1,12 @@
1
1
  import "./sprinkles.css.ts.vanilla.js";
2
2
  import "./button.css.ts.vanilla.js";
3
- var _ = 136, y = 8, f = 24, r = 20, b = 16, a = 20, p = 14.5, i = 10.5, c = "rrbrpnk", e = "rrbrpni _1y2v1nf1u", t = {
4
- primary: "rrbrpno rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1n _1y2v1nf5d",
5
- secondary: "rrbrpnp rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1r _1y2v1nf74",
6
- danger: "rrbrpnq rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1m _1y2v1nf57"
7
- }, I = "rrbrpn0", o = "rrbrpng _1y2v1nf8u _1y2v1nf98 _1y2v1nf7f _1y2v1nf9j _1y2v1nfbc _1y2v1nfb9 _1y2v1nf1t _1y2v1nf74 _1y2v1nfbh", N = "rrbrpn7 _1y2v1nf7c _1y2v1nf77 _1y2v1nfbj _1y2v1nfcp _1y2v1nf7k _1y2v1nf7q", d = "rrbrpn4 _1y2v1nf7d _1y2v1nf9z _1y2v1nfbh", q = "rrbrpn5", L = "rrbrpn9 _1y2v1nf7b _1y2v1nf7q _1y2v1nf7k", l = "_1y2v1nf7b _1y2v1nf7q _1y2v1nf7k", m = {
8
- primary: "rrbrpnl rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1m _1y2v1nf5c",
9
- secondary: "rrbrpnm rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1p _1y2v1nf74",
10
- danger: "rrbrpnn rrbrpn2 _1y2v1nf7y _1y2v1nf8c _1y2v1nf8q _1y2v1nf94 _1y2v1nf7f _1y2v1nf76 _1y2v1nf9j _1y2v1nfbc _1y2v1nfbh _1y2v1nf1m _1y2v1nf57"
3
+ var _ = 136, r = 8, y = 24, f = 20, a = 16, p = 20, t = 14.5, b = 10.5, i = "rrbrpnk", d = "rrbrpni _1y2v1nf1u", e = {
4
+ primary: "rrbrpno rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1n _1y2v1nf2z",
5
+ secondary: "rrbrpnp rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1r _1y2v1nf4s",
6
+ danger: "rrbrpnq rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1m _1y2v1nf2t"
7
+ }, l = "rrbrpn0", z = "rrbrpng _1y2v1nf6h _1y2v1nf6v _1y2v1nf52 _1y2v1nf76 _1y2v1nf8z _1y2v1nf8w _1y2v1nf1t _1y2v1nf4s _1y2v1nf94", I = "rrbrpn7 _1y2v1nf4z _1y2v1nf4u _1y2v1nf96 _1y2v1nfac _1y2v1nf57 _1y2v1nf5d", o = "rrbrpn4 _1y2v1nf50 _1y2v1nf7m _1y2v1nf94", N = "rrbrpn5", s = "rrbrpn9 _1y2v1nf4y _1y2v1nf5d _1y2v1nf57", m = "_1y2v1nf4y _1y2v1nf5d _1y2v1nf57", L = {
8
+ primary: "rrbrpnl rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1m _1y2v1nf2y",
9
+ secondary: "rrbrpnm rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1p _1y2v1nf4s",
10
+ danger: "rrbrpnn rrbrpn2 _1y2v1nf5l _1y2v1nf5z _1y2v1nf6d _1y2v1nf6r _1y2v1nf52 _1y2v1nf4t _1y2v1nf76 _1y2v1nf8z _1y2v1nf94 _1y2v1nf1m _1y2v1nf2t"
11
11
  };
12
- export { _ as BUTTON_MIN_WIDTH, y as ICON_MARGIN_PX, f as ICON_SIZE, r as SMALL_ICON_SIZE, b as SMALL_SPINNER_SIZE, a as SPINNER_SIZE, p as X_PADDING_PX, i as X_SMALL_PADDING_PX, c as alignedLink, e as inverseLink, t as inverseVariants, I as isLoading, o as link, N as loadingContent, d as loadingFiller, q as small, L as textContent, l as textContentLink, m as variants };
12
+ export { _ as BUTTON_MIN_WIDTH, r as ICON_MARGIN_PX, y as ICON_SIZE, f as SMALL_ICON_SIZE, a as SMALL_SPINNER_SIZE, p as SPINNER_SIZE, t as X_PADDING_PX, b as X_SMALL_PADDING_PX, i as alignedLink, d as inverseLink, e as inverseVariants, l as isLoading, z as link, I as loadingContent, o as loadingFiller, N as small, s as textContent, m as textContentLink, L as variants };