morya-ui 0.4.2 → 0.4.3

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 (205) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{Button-BaYLh91a.js → Button-Bjsth0ct.js} +3 -3
  3. package/dist/{Card-B1CB9Trm.js → Card-Ct5vJmoV.js} +1 -1
  4. package/dist/{Checkbox-LxCFF19I.js → Checkbox-Bo26OGHP.js} +1 -1
  5. package/dist/{DatePicker-DGPNukEW.js → DatePicker-CsMGzCqY.js} +4 -4
  6. package/dist/{Empty-2_f_FgyK.js → Empty-rMhOPi79.js} +2 -2
  7. package/dist/{FlyoutSubmenu-Da6AcoM4.js → FlyoutSubmenu-C0id6-Sb.js} +1 -1
  8. package/dist/{Icon-od9Ob-Ay.js → Icon-CmHjx7W8.js} +1 -1
  9. package/dist/{Input-NspPDc2R.js → Input-CxSTVp9E.js} +3 -3
  10. package/dist/{Loading-BK4dQPCS.js → Loading-D_qRwfKv.js} +4 -4
  11. package/dist/{Pagination-tdrlaZ3u.js → Pagination-CnGOpp0m.js} +3 -3
  12. package/dist/{Popover-BumMfUpV.js → Popover-D1uZ1N9Z.js} +2 -2
  13. package/dist/{ProgressSpinner-BQ1tLioO.js → ProgressSpinner-hmR23xpi.js} +2 -2
  14. package/dist/{Radio-BCn2OVCF.js → Radio-CZAyelC_.js} +1 -1
  15. package/dist/{Segmented-ppmDmku5.js → Segmented-BpdO7arR.js} +2 -2
  16. package/dist/{Select-CN1tM76U.js → Select-CySmusHs.js} +4 -4
  17. package/dist/{Textarea-Ch1KCXEv.js → Textarea-DskjTCcz.js} +3 -3
  18. package/dist/{Tooltip-DKsXxU_B.js → Tooltip-DSfkflHp.js} +2 -2
  19. package/dist/alert/index.js +15 -15
  20. package/dist/alert/style.css +1 -1
  21. package/dist/auto-complete/index.js +4 -4
  22. package/dist/avatar/index.js +1 -1
  23. package/dist/badge/index.js +24 -24
  24. package/dist/badge/style.css +0 -1
  25. package/dist/block-ui/index.js +1 -1
  26. package/dist/breadcrumb/index.js +1 -1
  27. package/dist/button/index.js +1 -1
  28. package/dist/calendar/index.js +3 -3
  29. package/dist/card/index.js +1 -1
  30. package/dist/carousel/index.js +2 -2
  31. package/dist/cascade-select/index.js +4 -4
  32. package/dist/checkbox/index.js +1 -1
  33. package/dist/chip/index.js +35 -35
  34. package/dist/chip/style.css +1 -1
  35. package/dist/command-menu/index.js +5 -5
  36. package/dist/components/Alert/Alert.vue.d.ts +2 -2
  37. package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
  38. package/dist/components/Alert/index.d.ts +1 -1
  39. package/dist/components/Alert/index.d.ts.map +1 -1
  40. package/dist/components/Alert/styles.css +1 -1
  41. package/dist/components/Alert/types.d.ts +3 -3
  42. package/dist/components/Alert/types.d.ts.map +1 -1
  43. package/dist/components/Badge/Badge.vue.d.ts +2 -2
  44. package/dist/components/Badge/index.d.ts +1 -1
  45. package/dist/components/Badge/index.d.ts.map +1 -1
  46. package/dist/components/Badge/styles.css +0 -1
  47. package/dist/components/Badge/types.d.ts +3 -4
  48. package/dist/components/Badge/types.d.ts.map +1 -1
  49. package/dist/components/Button/types.d.ts +1 -5
  50. package/dist/components/Button/types.d.ts.map +1 -1
  51. package/dist/components/Chip/index.d.ts +1 -1
  52. package/dist/components/Chip/index.d.ts.map +1 -1
  53. package/dist/components/Chip/styles.css +1 -1
  54. package/dist/components/Chip/types.d.ts +3 -3
  55. package/dist/components/Chip/types.d.ts.map +1 -1
  56. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  57. package/dist/components/ConfirmDialog/types.d.ts +1 -1
  58. package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
  59. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  60. package/dist/components/Dialog/styles.css +2 -3
  61. package/dist/components/Dialog/types.d.ts +1 -2
  62. package/dist/components/Dialog/types.d.ts.map +1 -1
  63. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  64. package/dist/components/Message/index.d.ts +1 -1
  65. package/dist/components/Message/index.d.ts.map +1 -1
  66. package/dist/components/Message/message.d.ts +4 -0
  67. package/dist/components/Message/message.d.ts.map +1 -1
  68. package/dist/components/Message/styles.css +3 -7
  69. package/dist/components/Message/types.d.ts +4 -4
  70. package/dist/components/Message/types.d.ts.map +1 -1
  71. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  72. package/dist/components/Page/PageStat.vue.d.ts +2 -2
  73. package/dist/components/Page/index.d.ts +1 -1
  74. package/dist/components/Page/index.d.ts.map +1 -1
  75. package/dist/components/Page/styles.css +2 -2
  76. package/dist/components/Page/types.d.ts +2 -2
  77. package/dist/components/Page/types.d.ts.map +1 -1
  78. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  79. package/dist/components/ProgressBar/styles.css +1 -1
  80. package/dist/components/ProgressBar/types.d.ts +2 -7
  81. package/dist/components/ProgressBar/types.d.ts.map +1 -1
  82. package/dist/components/Status/Status.vue.d.ts +2 -2
  83. package/dist/components/Status/Status.vue.d.ts.map +1 -1
  84. package/dist/components/Status/index.d.ts +1 -1
  85. package/dist/components/Status/index.d.ts.map +1 -1
  86. package/dist/components/Status/styles.css +0 -1
  87. package/dist/components/Status/types.d.ts +4 -5
  88. package/dist/components/Status/types.d.ts.map +1 -1
  89. package/dist/components/Tag/Tag.vue.d.ts +2 -2
  90. package/dist/components/Tag/index.d.ts +1 -1
  91. package/dist/components/Tag/index.d.ts.map +1 -1
  92. package/dist/components/Tag/styles.css +0 -1
  93. package/dist/components/Tag/types.d.ts +4 -5
  94. package/dist/components/Tag/types.d.ts.map +1 -1
  95. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  96. package/dist/components/Timeline/index.d.ts +1 -1
  97. package/dist/components/Timeline/index.d.ts.map +1 -1
  98. package/dist/components/Timeline/styles.css +2 -4
  99. package/dist/components/Timeline/types.d.ts +3 -3
  100. package/dist/components/Timeline/types.d.ts.map +1 -1
  101. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  102. package/dist/components/Toast/index.d.ts +1 -1
  103. package/dist/components/Toast/index.d.ts.map +1 -1
  104. package/dist/components/Toast/styles.css +1 -3
  105. package/dist/components/Toast/toast.d.ts +4 -0
  106. package/dist/components/Toast/toast.d.ts.map +1 -1
  107. package/dist/components/Toast/types.d.ts +5 -5
  108. package/dist/components/Toast/types.d.ts.map +1 -1
  109. package/dist/components/Toast/useNotification.d.ts +3 -2
  110. package/dist/components/Toast/useNotification.d.ts.map +1 -1
  111. package/dist/{config-CB_TiIvg.js → config-BEpyhJi3.js} +1 -1
  112. package/dist/config-provider/index.js +1 -1
  113. package/dist/confirm-dialog/index.js +54 -57
  114. package/dist/confirm-dialog/style.css +2 -3
  115. package/dist/confirm-popup/index.js +5 -5
  116. package/dist/context-menu/index.js +5 -5
  117. package/dist/data-view/index.js +3 -3
  118. package/dist/date-picker/index.js +1 -1
  119. package/dist/descriptions/index.js +1 -1
  120. package/dist/dialog/index.js +95 -98
  121. package/dist/dialog/style.css +2 -3
  122. package/dist/dock/index.js +2 -2
  123. package/dist/drawer/index.js +4 -4
  124. package/dist/dropdown/index.js +6 -6
  125. package/dist/empty/index.js +1 -1
  126. package/dist/fieldset/index.js +1 -1
  127. package/dist/file-upload/index.js +2 -2
  128. package/dist/flex/index.js +1 -1
  129. package/dist/form/index.js +2 -2
  130. package/dist/gallery/index.js +2 -2
  131. package/dist/icon/index.js +1 -1
  132. package/dist/{icon-COrt_N8A.js → icon-H8prbteT.js} +1 -1
  133. package/dist/image/index.js +2 -2
  134. package/dist/index.d.ts +11 -11
  135. package/dist/index.d.ts.map +1 -1
  136. package/dist/index.js +3013 -3025
  137. package/dist/input/index.js +1 -1
  138. package/dist/input-color/index.js +2 -2
  139. package/dist/input-number/index.js +3 -3
  140. package/dist/input-otp/index.js +2 -2
  141. package/dist/input-password/index.js +4 -4
  142. package/dist/input-tags/index.js +3 -3
  143. package/dist/layout/index.js +2 -2
  144. package/dist/list/index.js +4 -4
  145. package/dist/listbox/index.js +2 -2
  146. package/dist/loading/index.js +1 -1
  147. package/dist/{locale-CR2PIaxt.js → locale-CZddM-tH.js} +1 -1
  148. package/dist/mega-menu/index.js +5 -5
  149. package/dist/mentions/index.js +4 -4
  150. package/dist/menu/index.js +6 -6
  151. package/dist/menubar/index.js +5 -5
  152. package/dist/message/index.js +116 -117
  153. package/dist/message/style.css +3 -7
  154. package/dist/order-list/index.js +2 -2
  155. package/dist/page/index.js +8 -7
  156. package/dist/page/style.css +2 -2
  157. package/dist/pagination/index.js +1 -1
  158. package/dist/panel/index.js +3 -3
  159. package/dist/pick-list/index.js +2 -2
  160. package/dist/popover/index.js +1 -1
  161. package/dist/progress-bar/index.js +33 -34
  162. package/dist/progress-bar/style.css +1 -1
  163. package/dist/progress-spinner/index.js +1 -1
  164. package/dist/qr-code/index.js +4 -4
  165. package/dist/radio/index.js +1 -1
  166. package/dist/rating/index.js +3 -3
  167. package/dist/result/index.js +2 -2
  168. package/dist/scroll-top/index.js +3 -3
  169. package/dist/segmented/index.js +1 -1
  170. package/dist/select/index.js +1 -1
  171. package/dist/select-button/index.js +1 -1
  172. package/dist/shared/types.d.ts +7 -20
  173. package/dist/shared/types.d.ts.map +1 -1
  174. package/dist/sidebar/index.js +3 -3
  175. package/dist/slider/index.js +2 -2
  176. package/dist/space/index.js +1 -1
  177. package/dist/speed-dial/index.js +5 -5
  178. package/dist/split-button/index.js +5 -5
  179. package/dist/splitter/index.js +1 -1
  180. package/dist/status/index.js +30 -31
  181. package/dist/status/style.css +0 -1
  182. package/dist/stepper/index.js +1 -1
  183. package/dist/styles.css +1 -1
  184. package/dist/switch/index.js +1 -1
  185. package/dist/table/index.js +11 -11
  186. package/dist/tabs/index.js +2 -2
  187. package/dist/tag/index.js +52 -52
  188. package/dist/tag/style.css +0 -1
  189. package/dist/terminal/index.js +1 -1
  190. package/dist/textarea/index.js +1 -1
  191. package/dist/tiered-menu/index.js +4 -4
  192. package/dist/time-picker/index.js +1 -1
  193. package/dist/timeline/index.js +67 -72
  194. package/dist/timeline/style.css +2 -4
  195. package/dist/toast/index.js +135 -136
  196. package/dist/toast/style.css +1 -3
  197. package/dist/toggle-button/index.js +3 -3
  198. package/dist/tooltip/index.js +1 -1
  199. package/dist/tour/index.js +4 -4
  200. package/dist/tree/index.js +3 -3
  201. package/dist/tree-select/index.js +5 -5
  202. package/dist/{types-DGuu4Eg4.js → types-DBQfGctj.js} +1 -4
  203. package/dist/typography/index.js +3 -3
  204. package/dist/{useMotionTransition-D8JOR3ih.js → useMotionTransition-DqL_SEML.js} +1 -1
  205. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
3
- import { t as n } from "../Button-BaYLh91a.js";
4
- import { t as r } from "../Card-B1CB9Trm.js";
5
- import { t as i } from "../Empty-2_f_FgyK.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
+ import { t as n } from "../Button-Bjsth0ct.js";
4
+ import { t as r } from "../Card-Ct5vJmoV.js";
5
+ import { t as i } from "../Empty-rMhOPi79.js";
6
6
  import { r as a } from "../responsive-DA5bxylA.js";
7
7
  import { t as o } from "../Skeleton-DCYdXAH2.js";
8
- import { n as s } from "../locale-CR2PIaxt.js";
8
+ import { n as s } from "../locale-CZddM-tH.js";
9
9
  import "./style.js";
10
10
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeProps as y, normalizeClass as b, normalizeProps as x, openBlock as S, renderSlot as C, resolveDynamicComponent as w, toDisplayString as T, unref as E, useAttrs as D, useId as O, useSlots as k, withCtx as A } from "vue";
11
11
  //#endregion
@@ -101,6 +101,7 @@ var j = /* @__PURE__ */ _({
101
101
  icon: T.value,
102
102
  "icon-placement": "end",
103
103
  label: A.value,
104
+ "auto-insert-space": !1,
104
105
  "aria-expanded": t.expanded,
105
106
  "aria-controls": E(m),
106
107
  onClick: M
@@ -265,7 +266,7 @@ var j = /* @__PURE__ */ _({
265
266
  label: {},
266
267
  value: {},
267
268
  trend: {},
268
- trendSeverity: { default: "primary" },
269
+ trendType: { default: "primary" },
269
270
  trendDirection: {},
270
271
  trendLabel: {},
271
272
  icon: {},
@@ -290,7 +291,7 @@ var j = /* @__PURE__ */ _({
290
291
  ...e,
291
292
  shadow: i.shadow
292
293
  } : e;
293
- }), E = l(() => ["m-page-stat__trend", `m-page-stat__trend--${i.trendSeverity}`]), O = l(() => {
294
+ }), E = l(() => ["m-page-stat__trend", `m-page-stat__trend--${i.trendType}`]), O = l(() => {
294
295
  if (i.trendDirection === "up") return "arrow-narrow-up";
295
296
  if (i.trendDirection === "down") return "arrow-narrow-down";
296
297
  }), k = l(() => !!(i.trend || i.trendLabel));
@@ -2598,8 +2598,8 @@
2598
2598
  color: var(--m-color-success);
2599
2599
  }
2600
2600
 
2601
- .m-page-stat__trend--warn {
2602
- color: var(--m-color-warn);
2601
+ .m-page-stat__trend--warning {
2602
+ color: var(--m-color-warning);
2603
2603
  }
2604
2604
 
2605
2605
  .m-page-stat__trend--danger {
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Pagination-tdrlaZ3u.js";
1
+ import { t as e } from "../Pagination-CnGOpp0m.js";
2
2
  import "./style.js";
3
3
  export { e as MPagination };
@@ -1,9 +1,9 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useControllable-elmWaz23.js";
3
3
  import { t as n } from "../useMId-BXFYayPP.js";
4
- import { i as r } from "../types-DGuu4Eg4.js";
5
- import { t as i } from "../Icon-od9Ob-Ay.js";
6
- import { n as a } from "../locale-CR2PIaxt.js";
4
+ import { r } from "../types-DBQfGctj.js";
5
+ import { t as i } from "../Icon-CmHjx7W8.js";
6
+ import { n as a } from "../locale-CZddM-tH.js";
7
7
  import "./style.js";
8
8
  import { Transition as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, useAttrs as y, vShow as b, withCtx as x, withDirectives as S } from "vue";
9
9
  //#region src/components/Panel/Panel.vue?vue&type=script&setup=true&lang.ts
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
3
  import { t as n } from "../ScrollBody-5hUnHj_M.js";
4
- import { n as r } from "../locale-CR2PIaxt.js";
4
+ import { n as r } from "../locale-CZddM-tH.js";
5
5
  import "./style.js";
6
6
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useAttrs as b, withCtx as x, withKeys as S, withModifiers as C } from "vue";
7
7
  //#region src/components/PickList/PickList.vue?vue&type=script&setup=true&lang.ts
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Popover-BumMfUpV.js";
1
+ import { t as e } from "../Popover-D1uZ1N9Z.js";
2
2
  import "./style.js";
3
3
  export { e as MPopover };
@@ -1,24 +1,23 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../types-DGuu4Eg4.js";
3
2
  import "./style.js";
4
- import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeProps as s, normalizeStyle as c, openBlock as l, toDisplayString as u, unref as d, useAttrs as f } from "vue";
3
+ import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeProps as o, normalizeStyle as s, openBlock as c, toDisplayString as l, unref as u, useAttrs as d } from "vue";
5
4
  //#region src/components/ProgressBar/ProgressBar.vue?vue&type=script&setup=true&lang.ts
6
- var p = [
5
+ var f = [
7
6
  "aria-valuemin",
8
7
  "aria-valuemax",
9
8
  "aria-valuenow"
10
- ], m = {
9
+ ], p = {
11
10
  key: 0,
12
11
  class: "m-progressbar__circle",
13
12
  viewBox: "0 0 100 100",
14
13
  "aria-hidden": "true"
15
- }, h = ["stroke-dasharray", "stroke-dashoffset"], g = {
14
+ }, m = ["stroke-dasharray", "stroke-dashoffset"], h = {
16
15
  key: 0,
17
16
  class: "m-progressbar__label"
18
- }, _ = {
17
+ }, g = {
19
18
  key: 2,
20
19
  class: "m-progressbar__circle-label"
21
- }, v = /* @__PURE__ */ o({
20
+ }, _ = /* @__PURE__ */ a({
22
21
  inheritAttrs: !1,
23
22
  __name: "ProgressBar",
24
23
  props: {
@@ -33,52 +32,52 @@ var p = [
33
32
  },
34
33
  pt: {}
35
34
  },
36
- setup(o) {
37
- let v = o, y = f(), { rootAttrs: b } = e(y, () => v.pt), x = n(() => Math.min(100, Math.max(0, v.value))), S = n(() => v.mode === "indeterminate"), C = n(() => v.type === "circle"), w = n(() => v.status === "active" && !S.value && !C.value), T = n(() => {
38
- if (!(!v.status || v.status === "active" || v.status === "normal")) return v.status === "error" || v.status === "exception" ? "danger" : t(v.status);
39
- }), E = n(() => ["m-progressbar", {
40
- "m-progressbar--indeterminate": S.value,
41
- "m-progressbar--circle": C.value,
42
- [`m-progressbar--${T.value}`]: !!T.value,
43
- "m-progressbar--active": w.value,
44
- "m-progressbar--custom": !!v.color
45
- }]), D = n(() => v.color ? { "--m-progressbar-fill": v.color } : void 0), O = n(() => S.value || C.value ? void 0 : { "--m-progressbar-scale": String(x.value / 100) }), k = n(() => {
35
+ setup(a) {
36
+ let _ = a, v = d(), { rootAttrs: y } = e(v, () => _.pt), b = t(() => Math.min(100, Math.max(0, _.value))), x = t(() => _.mode === "indeterminate"), S = t(() => _.type === "circle"), C = t(() => _.status === "active" && !x.value && !S.value), w = t(() => {
37
+ if (!(!_.status || _.status === "active" || _.status === "normal")) return _.status === "exception" ? "danger" : _.status;
38
+ }), T = t(() => ["m-progressbar", {
39
+ "m-progressbar--indeterminate": x.value,
40
+ "m-progressbar--circle": S.value,
41
+ [`m-progressbar--${w.value}`]: !!w.value,
42
+ "m-progressbar--active": C.value,
43
+ "m-progressbar--custom": !!_.color
44
+ }]), E = t(() => _.color ? { "--m-progressbar-fill": _.color } : void 0), D = t(() => x.value || S.value ? void 0 : { "--m-progressbar-scale": String(b.value / 100) }), O = t(() => {
46
45
  let e = 2 * Math.PI * 42;
47
46
  return {
48
47
  circumference: e,
49
- offset: e * (1 - x.value / 100)
48
+ offset: e * (1 - b.value / 100)
50
49
  };
51
- }), A = n(() => `${Math.round(x.value)}%`);
52
- return (e, t) => (l(), i("div", s(d(b), {
53
- class: E.value,
54
- style: D.value,
50
+ }), k = t(() => `${Math.round(b.value)}%`);
51
+ return (e, t) => (c(), r("div", o(u(y), {
52
+ class: T.value,
53
+ style: E.value,
55
54
  role: "progressbar",
56
- "aria-valuemin": S.value ? void 0 : 0,
57
- "aria-valuemax": S.value ? void 0 : 100,
58
- "aria-valuenow": S.value ? void 0 : x.value
59
- }), [C.value ? (l(), i("svg", m, [t[0] ||= a("circle", {
55
+ "aria-valuemin": x.value ? void 0 : 0,
56
+ "aria-valuemax": x.value ? void 0 : 100,
57
+ "aria-valuenow": x.value ? void 0 : b.value
58
+ }), [S.value ? (c(), r("svg", p, [t[0] ||= i("circle", {
60
59
  class: "m-progressbar__circle-track",
61
60
  cx: "50",
62
61
  cy: "50",
63
62
  r: "42",
64
63
  fill: "none"
65
- }, null, -1), a("circle", {
64
+ }, null, -1), i("circle", {
66
65
  class: "m-progressbar__circle-value",
67
66
  cx: "50",
68
67
  cy: "50",
69
68
  r: "42",
70
69
  fill: "none",
71
- "stroke-dasharray": k.value.circumference,
72
- "stroke-dashoffset": S.value ? void 0 : k.value.offset
73
- }, null, 8, h)])) : (l(), i("div", {
70
+ "stroke-dasharray": O.value.circumference,
71
+ "stroke-dashoffset": x.value ? void 0 : O.value.offset
72
+ }, null, 8, m)])) : (c(), r("div", {
74
73
  key: 1,
75
74
  class: "m-progressbar__value",
76
- style: c(O.value)
77
- }, [t[1] ||= a("div", {
75
+ style: s(D.value)
76
+ }, [t[1] ||= i("div", {
78
77
  class: "m-progressbar__fill",
79
78
  "aria-hidden": "true"
80
- }, null, -1), o.showValue && !S.value ? (l(), i("span", g, u(A.value), 1)) : r("", !0)], 4)), C.value && o.showValue && !S.value ? (l(), i("span", _, u(A.value), 1)) : r("", !0)], 16, p));
79
+ }, null, -1), a.showValue && !x.value ? (c(), r("span", h, l(k.value), 1)) : n("", !0)], 4)), S.value && a.showValue && !x.value ? (c(), r("span", g, l(k.value), 1)) : n("", !0)], 16, f));
81
80
  }
82
81
  });
83
82
  //#endregion
84
- export { v as MProgressBar };
83
+ export { _ as MProgressBar };
@@ -1296,7 +1296,7 @@
1296
1296
  --m-progressbar-fill: var(--m-color-info);
1297
1297
  }
1298
1298
 
1299
- .m-progressbar--warn {
1299
+ .m-progressbar--warning {
1300
1300
  --m-progressbar-fill: var(--m-color-warn);
1301
1301
  }
1302
1302
 
@@ -1,3 +1,3 @@
1
- import { t as e } from "../ProgressSpinner-BQ1tLioO.js";
1
+ import { t as e } from "../ProgressSpinner-hmR23xpi.js";
2
2
  import "./style.js";
3
3
  export { e as MProgressSpinner };
@@ -1,9 +1,9 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
3
- import { t as n } from "../Button-BaYLh91a.js";
4
- import { t as r } from "../ProgressSpinner-BQ1tLioO.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
+ import { t as n } from "../Button-Bjsth0ct.js";
4
+ import { t as r } from "../ProgressSpinner-hmR23xpi.js";
5
5
  import { t as i } from "../resolveCssColor-_FEXlI02.js";
6
- import { n as a } from "../locale-CR2PIaxt.js";
6
+ import { n as a } from "../locale-CZddM-tH.js";
7
7
  import "./style.js";
8
8
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeProps as h, onMounted as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, unref as x, useAttrs as S, watch as C, withCtx as w } from "vue";
9
9
  //#region src/components/QRCode/qrcodegen.ts
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useMId-BXFYayPP.js";
3
- import { n, t as r } from "../Radio-BCn2OVCF.js";
3
+ import { n, t as r } from "../Radio-CZAyelC_.js";
4
4
  import "./style.js";
5
5
  import { computed as i, createElementBlock as a, defineComponent as o, mergeProps as s, openBlock as c, provide as l, renderSlot as u, unref as d, useAttrs as f } from "vue";
6
6
  //#region src/components/Radio/RadioGroup.vue?vue&type=script&setup=true&lang.ts
@@ -1,9 +1,9 @@
1
1
  import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useFieldFeedback-C5qIqYMK.js";
3
3
  import { t as n } from "../useMId-BXFYayPP.js";
4
- import { t as r } from "../Icon-od9Ob-Ay.js";
5
- import { o as i } from "../config-CB_TiIvg.js";
6
- import { n as a, t as o } from "../locale-CR2PIaxt.js";
4
+ import { t as r } from "../Icon-CmHjx7W8.js";
5
+ import { o as i } from "../config-BEpyhJi3.js";
6
+ import { n as a, t as o } from "../locale-CZddM-tH.js";
7
7
  import "./style.js";
8
8
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeProps as m, normalizeClass as h, openBlock as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useAttrs as x } from "vue";
9
9
  //#region src/components/Rating/Rating.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
3
- import { n } from "../locale-CR2PIaxt.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
+ import { n } from "../locale-CZddM-tH.js";
4
4
  import "./style.js";
5
5
  import { computed as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeProps as l, openBlock as u, renderSlot as d, toDisplayString as f, unref as p, useAttrs as m, useSlots as h } from "vue";
6
6
  //#region src/components/Result/statusIcons.ts
@@ -1,8 +1,8 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { n as t, t as n } from "../overlay-oR-5MDuE.js";
3
- import { t as r } from "../Icon-od9Ob-Ay.js";
4
- import { l as i } from "../config-CB_TiIvg.js";
5
- import { n as a } from "../locale-CR2PIaxt.js";
3
+ import { t as r } from "../Icon-CmHjx7W8.js";
4
+ import { l as i } from "../config-BEpyhJi3.js";
5
+ import { n as a } from "../locale-CZddM-tH.js";
6
6
  import "./style.js";
7
7
  import { Teleport as o, computed as s, createBlock as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, onBeforeUnmount as m, onMounted as h, openBlock as g, ref as _, renderSlot as v, unref as y, useAttrs as b, watch as x } from "vue";
8
8
  //#region src/components/ScrollTop/ScrollTop.vue?vue&type=script&setup=true&lang.ts
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Segmented-ppmDmku5.js";
1
+ import { t as e } from "../Segmented-BpdO7arR.js";
2
2
  import "./style.js";
3
3
  export { e as MSegmented };
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Select-CN1tM76U.js";
1
+ import { t as e } from "../Select-CySmusHs.js";
2
2
  import "./style.js";
3
3
  export { e as MSelect };
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useMenuKeyboard-BedmYE4W.js";
3
- import { o as n } from "../config-CB_TiIvg.js";
3
+ import { o as n } from "../config-BEpyhJi3.js";
4
4
  import "./style.js";
5
5
  import { Fragment as r, computed as i, createElementBlock as a, defineComponent as o, mergeProps as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, unref as p, useAttrs as m, watch as h } from "vue";
6
6
  //#region src/components/SelectButton/SelectButton.vue?vue&type=script&setup=true&lang.ts
@@ -1,18 +1,12 @@
1
1
  /**
2
- * Semantic severity (omit / primary = default brand).
3
- * Canonical vocabulary: `primary / success / info / warning / danger / help / contrast`;
4
- * `warn` / `error` are accepted as deprecated runtime aliases.
2
+ * Semantic tone for display / feedback components.
3
+ * Canonical vocabulary: `primary / secondary / success / info / warning / danger / help / contrast`.
5
4
  */
6
- export type MSeverity = 'secondary' | 'success' | 'info' | 'warning'
7
- /** @deprecated Use `'warning'` instead. */
8
- | 'warn' | 'help' | 'danger' | 'contrast';
9
- export type MTagSeverity = MSeverity | 'primary';
10
- /** Canonical severities: success/info/warning/danger (+ secondary/contrast). `warn` / `error` are deprecated aliases. */
11
- export type MToastSeverity = 'success' | 'info' | 'warning'
12
- /** @deprecated Use `'warning'` instead. */
13
- | 'warn' | 'danger'
14
- /** @deprecated Use `'danger'` instead. */
15
- | 'error' | 'secondary' | 'contrast';
5
+ export type MToneType = 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'contrast';
6
+ /** Tag / Badge / Chip / Status tone presets (includes brand `primary`). */
7
+ export type MTagType = MToneType | 'primary';
8
+ /** Message / Toast / Timeline tone presets. */
9
+ export type MToastType = 'success' | 'info' | 'warning' | 'danger' | 'secondary' | 'contrast';
16
10
  /** Size tokens; legacy sm/md/lg remain accepted. */
17
11
  export type MSize = 'small' | 'medium' | 'large';
18
12
  export type MSizeInput = MSize | 'sm' | 'md' | 'lg';
@@ -27,11 +21,4 @@ export declare function resolveSizeClass(size?: MSizeInput): 'small' | 'normal'
27
21
  export declare function resolveIconSize(size?: MSizeInput): 'sm' | 'md' | 'lg';
28
22
  /** Map resolved size class to MIcon size tokens. */
29
23
  export declare function resolveIconSizeFromClass(sizeClass: 'small' | 'normal' | 'large'): 'sm' | 'md' | 'lg';
30
- /**
31
- * Normalize severity aliases onto the vocabulary used by component styles.
32
- * Only `warning` → `warn` is centralized here today: Toast/Message/Timeline styles and the
33
- * Message icon map still key on `error`, so `error` → `danger` stays per component
34
- * (see ProgressBar) until Toast/Message/Timeline migrate off the `error` alias.
35
- */
36
- export declare function normalizeSeverity<T extends string>(severity?: T | 'warning'): T | 'warn' | undefined;
37
24
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/shared/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,SAAS,GACT,MAAM,GACN,SAAS;AACX,2CAA2C;GACzC,MAAM,GACN,MAAM,GACN,QAAQ,GACR,UAAU,CAAA;AAEd,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,CAAA;AAEhD,yHAAyH;AACzH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,MAAM,GACN,SAAS;AACX,2CAA2C;GACzC,MAAM,GACN,QAAQ;AACV,0CAA0C;GACxC,OAAO,GACP,WAAW,GACX,UAAU,CAAA;AAEd,oDAAoD;AACpD,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAChD,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEnD,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEjD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE9C,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAIhF;AAED,0DAA0D;AAC1D,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAIrE;AAED,oDAAoD;AACpD,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAIpG;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG,CAAC,GAAG,MAAM,GAAG,SAAS,CAGpG"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/shared/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,SAAS,GACT,MAAM,GACN,SAAS,GACT,MAAM,GACN,QAAQ,GACR,UAAU,CAAA;AAEd,2EAA2E;AAC3E,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AAE5C,+CAA+C;AAC/C,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,MAAM,GACN,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,CAAA;AAEd,oDAAoD;AACpD,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAChD,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEnD,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEjD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE9C,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAIhF;AAED,0DAA0D;AAC1D,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAIrE;AAED,oDAAoD;AACpD,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAIpG"}
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
3
- import { t as n } from "../icon-COrt_N8A.js";
4
- import { n as r } from "../locale-CR2PIaxt.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
+ import { t as n } from "../icon-H8prbteT.js";
4
+ import { n as r } from "../locale-CZddM-tH.js";
5
5
  import "./style.js";
6
6
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, useAttrs as _, useSlots as v } from "vue";
7
7
  //#region src/components/Sidebar/Sidebar.vue?vue&type=script&setup=true&lang.ts
@@ -1,8 +1,8 @@
1
1
  import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../useFieldFeedback-C5qIqYMK.js";
3
3
  import { t as n } from "../useMId-BXFYayPP.js";
4
- import { o as r } from "../config-CB_TiIvg.js";
5
- import { n as i } from "../locale-CR2PIaxt.js";
4
+ import { o as r } from "../config-BEpyhJi3.js";
5
+ import { n as i } from "../locale-CZddM-tH.js";
6
6
  import "./style.js";
7
7
  import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, useAttrs as y } from "vue";
8
8
  //#region src/components/Slider/Slider.vue?vue&type=script&setup=true&lang.ts
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "../vnode-PJWBO7_h.js";
3
3
  import { a as n, n as r, r as i, t as a } from "../gap-D2TKUbEY.js";
4
- import { a as o } from "../config-CB_TiIvg.js";
4
+ import { a as o } from "../config-BEpyhJi3.js";
5
5
  import "./style.js";
6
6
  import { Comment as s, Fragment as c, computed as l, createBlock as u, createElementBlock as d, defineComponent as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderList as _, renderSlot as v, resolveDynamicComponent as y, unref as b, useAttrs as x, useSlots as S } from "vue";
7
7
  //#endregion
@@ -3,12 +3,12 @@ import { n as t, t as n } from "../overlay-oR-5MDuE.js";
3
3
  import { t as ee } from "../overlayPlacement-qwEJPVS4.js";
4
4
  import { t as r } from "../useFloatingViewportSync-wLLKIGUA.js";
5
5
  import { t as te } from "../useMId-BXFYayPP.js";
6
- import { t as ne } from "../useMotionTransition-D8JOR3ih.js";
7
- import { t as i } from "../Icon-od9Ob-Ay.js";
6
+ import { t as ne } from "../useMotionTransition-DqL_SEML.js";
7
+ import { t as i } from "../Icon-CmHjx7W8.js";
8
8
  import { t as re } from "../useMenuKeyboard-BedmYE4W.js";
9
- import { t as a } from "../icon-COrt_N8A.js";
10
- import { l as o } from "../config-CB_TiIvg.js";
11
- import { n as ie } from "../locale-CR2PIaxt.js";
9
+ import { t as a } from "../icon-H8prbteT.js";
10
+ import { l as o } from "../config-BEpyhJi3.js";
11
+ import { n as ie } from "../locale-CZddM-tH.js";
12
12
  import "./style.js";
13
13
  import { Fragment as ae, Teleport as s, Transition as c, computed as l, createBlock as oe, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as se, nextTick as h, normalizeClass as g, normalizeStyle as ce, onBeforeUnmount as _, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as le, unref as S, useAttrs as ue, watch as C, withCtx as de } from "vue";
14
14
  //#region src/components/SpeedDial/SpeedDial.vue?vue&type=script&setup=true&lang.ts
@@ -3,12 +3,12 @@ import { n as t, t as ee } from "../overlay-oR-5MDuE.js";
3
3
  import { t as te } from "../overlayPlacement-qwEJPVS4.js";
4
4
  import { t as ne } from "../useFloatingViewportSync-wLLKIGUA.js";
5
5
  import { t as n } from "../useMId-BXFYayPP.js";
6
- import { t as r } from "../useMotionTransition-D8JOR3ih.js";
7
- import { r as i } from "../types-DGuu4Eg4.js";
8
- import { a, t as o } from "../Icon-od9Ob-Ay.js";
6
+ import { t as r } from "../useMotionTransition-DqL_SEML.js";
7
+ import { n as i } from "../types-DBQfGctj.js";
8
+ import { a, t as o } from "../Icon-CmHjx7W8.js";
9
9
  import { t as re } from "../useMenuKeyboard-BedmYE4W.js";
10
- import { l as ie, o as ae } from "../config-CB_TiIvg.js";
11
- import { n as oe } from "../locale-CR2PIaxt.js";
10
+ import { l as ie, o as ae } from "../config-BEpyhJi3.js";
11
+ import { n as oe } from "../locale-CZddM-tH.js";
12
12
  import "./style.js";
13
13
  import { Fragment as s, Teleport as se, Transition as ce, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeProps as le, nextTick as g, normalizeClass as ue, normalizeStyle as de, onBeforeUnmount as fe, openBlock as _, ref as v, renderList as pe, renderSlot as me, toDisplayString as y, unref as b, useAttrs as he, watch as x, withCtx as ge } from "vue";
14
14
  //#region src/components/SplitButton/SplitButton.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
1
  import { a as e, n as t, t as n } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { n as r } from "../locale-CR2PIaxt.js";
2
+ import { n as r } from "../locale-CZddM-tH.js";
3
3
  import "./style.js";
4
4
  import { Comment as i, Fragment as a, Text as ee, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as te, openBlock as h, ref as g, renderSlot as _, resolveDynamicComponent as v, unref as y, useAttrs as b, useSlots as ne, watch as x } from "vue";
5
5
  //#region src/components/Splitter/size.ts
@@ -1,23 +1,22 @@
1
- import { t as e } from "../types-DGuu4Eg4.js";
2
- import { t } from "../usePauseOffscreen-BIikV_gj.js";
3
- import { t as n } from "../Icon-od9Ob-Ay.js";
4
- import { o as r } from "../config-CB_TiIvg.js";
1
+ import { t as e } from "../usePauseOffscreen-BIikV_gj.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
+ import { o as n } from "../config-BEpyhJi3.js";
5
4
  import "./style.js";
6
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, mergeProps as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, unref as g, useSlots as _ } from "vue";
5
+ import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useSlots as g } from "vue";
7
6
  //#region src/components/Status/Status.vue?vue&type=script&setup=true&lang.ts
8
- var v = {
7
+ var _ = {
9
8
  key: 0,
10
9
  class: "m-status__dot",
11
10
  "aria-hidden": "true"
12
- }, y = {
11
+ }, v = {
13
12
  key: 1,
14
13
  class: "m-status__icon",
15
14
  "aria-hidden": "true"
16
- }, b = { class: "m-status__label" }, x = /* @__PURE__ */ u({
15
+ }, y = { class: "m-status__label" }, b = /* @__PURE__ */ l({
17
16
  __name: "Status",
18
17
  props: {
19
18
  label: {},
20
- severity: { default: "secondary" },
19
+ type: { default: "secondary" },
21
20
  processing: {
22
21
  type: Boolean,
23
22
  default: !1
@@ -31,40 +30,40 @@ var v = {
31
30
  default: !1
32
31
  }
33
32
  },
34
- setup(u) {
35
- let x = u, S = _(), C = p(null), w = r("Status", () => x.size), T = i(() => e(x.severity) ?? "secondary"), E = {
33
+ setup(l) {
34
+ let b = l, x = g(), S = f(null), C = n("Status", () => b.size), w = r(() => b.type ?? "secondary"), T = {
36
35
  success: "check-circle",
37
36
  danger: "x-circle",
38
- warn: "warning",
37
+ warning: "warning",
39
38
  info: "info",
40
39
  primary: "info",
41
40
  help: "info"
42
- }, D = i(() => {
43
- if (x.variant !== "text" && !(x.icon || S.icon)) return E[T.value];
44
- }), O = i(() => x.icon ?? D.value), k = i(() => !!(S.icon || O.value)), A = i(() => x.variant !== "text" && !k.value), { pauseAttrs: j } = t(C, () => x.processing && (A.value || k.value)), M = i(() => [
41
+ }, E = r(() => {
42
+ if (b.variant !== "text" && !(b.icon || x.icon)) return T[w.value];
43
+ }), D = r(() => b.icon ?? E.value), O = r(() => !!(x.icon || D.value)), k = r(() => b.variant !== "text" && !O.value), { pauseAttrs: A } = e(S, () => b.processing && (k.value || O.value)), j = r(() => [
45
44
  "m-status",
46
- `m-status--${T.value}`,
47
45
  `m-status--${w.value}`,
48
- `m-status--${x.variant}`,
46
+ `m-status--${C.value}`,
47
+ `m-status--${b.variant}`,
49
48
  {
50
- "m-status--processing": x.processing && (A.value || k.value),
51
- "m-status--custom": !!x.color,
52
- "m-status--disabled": x.disabled,
53
- "m-status--has-icon": k.value
49
+ "m-status--processing": b.processing && (k.value || O.value),
50
+ "m-status--custom": !!b.color,
51
+ "m-status--disabled": b.disabled,
52
+ "m-status--has-icon": O.value
54
53
  }
55
- ]), N = i(() => x.color ? { "--m-status-color": x.color } : void 0);
56
- return (e, t) => (f(), s("span", d({
54
+ ]), M = r(() => b.color ? { "--m-status-color": b.color } : void 0);
55
+ return (e, n) => (d(), o("span", u({
57
56
  ref_key: "rootRef",
58
- ref: C
59
- }, g(j), {
60
- class: M.value,
61
- style: N.value,
57
+ ref: S
58
+ }, h(A), {
59
+ class: j.value,
60
+ style: M.value,
62
61
  role: "status"
63
- }), [A.value ? (f(), s("span", v)) : k.value ? (f(), s("span", y, [m(e.$slots, "icon", {}, () => [O.value ? (f(), a(n, {
62
+ }), [k.value ? (d(), o("span", _)) : O.value ? (d(), o("span", v, [p(e.$slots, "icon", {}, () => [D.value ? (d(), i(t, {
64
63
  key: 0,
65
- name: O.value
66
- }, null, 8, ["name"])) : o("", !0)])])) : o("", !0), c("span", b, [m(e.$slots, "default", {}, () => [l(h(u.label), 1)])])], 16));
64
+ name: D.value
65
+ }, null, 8, ["name"])) : a("", !0)])])) : a("", !0), s("span", y, [p(e.$slots, "default", {}, () => [c(m(l.label), 1)])])], 16));
67
66
  }
68
67
  });
69
68
  //#endregion
70
- export { x as MStatus };
69
+ export { b as MStatus };
@@ -1334,7 +1334,6 @@
1334
1334
  color: var(--m-color-info);
1335
1335
  }
1336
1336
 
1337
- .m-status--warn,
1338
1337
  .m-status--warning {
1339
1338
  color: var(--m-color-warn);
1340
1339
  }
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-od9Ob-Ay.js";
2
+ import { t } from "../Icon-CmHjx7W8.js";
3
3
  import "./style.js";
4
4
  import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, openBlock as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, useAttrs as _ } from "vue";
5
5
  //#region src/components/Stepper/Stepper.vue?vue&type=script&setup=true&lang.ts