@mc-markets/ui 1.0.90 → 1.0.92

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 (68) hide show
  1. package/README.md +243 -40
  2. package/USAGE_GUIDE.md +339 -0
  3. package/dist/404.html +22 -22
  4. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  5. package/dist/index.cjs +1 -1
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.mjs +10 -11
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/resolver.d.ts +26 -0
  10. package/dist/resolver.d.ts.map +1 -0
  11. package/dist/style.css +1 -1
  12. package/package.json +8 -5
  13. package/packages/components/Alert/Alert.vue +139 -139
  14. package/packages/components/Banner/Banner.vue +299 -299
  15. package/packages/components/Breadcrumb/Breadcrumb.vue +113 -113
  16. package/packages/components/Breadcrumb/BreadcrumbSeparator.vue +31 -31
  17. package/packages/components/Button/Button.vue +17 -17
  18. package/packages/components/DatePicker/DatePicker.vue +85 -85
  19. package/packages/components/Dialog/Dialog.vue +61 -61
  20. package/packages/components/Empty/Empty.vue +73 -73
  21. package/packages/components/Form/Form.vue +30 -30
  22. package/packages/components/FormItem/FormItem.vue +19 -19
  23. package/packages/components/Icon/Icon.vue +210 -210
  24. package/packages/components/Input/Input.vue +15 -15
  25. package/packages/components/Message/Message.vue +503 -503
  26. package/packages/components/NotifiMessage/NotifiMessage.vue +293 -293
  27. package/packages/components/Notification/Notification.vue +19 -19
  28. package/packages/components/Option/Option.vue +13 -13
  29. package/packages/components/OptionGroup/OptionGroup.vue +13 -13
  30. package/packages/components/Pagination/Pagination.vue +61 -61
  31. package/packages/components/Radio/Radio.vue +67 -67
  32. package/packages/components/RadioButton/RadioButton.vue +110 -110
  33. package/packages/components/RadioGroup/RadioGroup.vue +155 -155
  34. package/packages/components/Select/Select.vue +22 -22
  35. package/packages/components/Switch/Switch.vue +47 -47
  36. package/packages/components/TabCard/TabCard.vue +107 -107
  37. package/packages/components/TabCard/TabCardItem.vue +105 -105
  38. package/packages/components/Table/Table.vue +17 -17
  39. package/packages/components/Table/TableColumn.vue +20 -20
  40. package/packages/components/Tabs/TabPane.vue +79 -79
  41. package/packages/components/Tabs/Tabs.vue +267 -267
  42. package/packages/components/Tag/Tag.vue +208 -211
  43. package/packages/components/Tooltip/Tooltip.vue +58 -58
  44. package/packages/hooks/useClassName.js +23 -23
  45. package/packages/resolver.js +179 -0
  46. package/packages/styles/README.md +129 -129
  47. package/packages/styles/colorfont/iconfont.css +1 -0
  48. package/packages/styles/components/button.scss +121 -121
  49. package/packages/styles/components/checkbox.scss +18 -18
  50. package/packages/styles/components/dialog.scss +47 -47
  51. package/packages/styles/components/form.scss +18 -18
  52. package/packages/styles/components/input.scss +14 -14
  53. package/packages/styles/components/select.scss +62 -62
  54. package/packages/styles/components/table.scss +37 -37
  55. package/packages/styles/components/tabs.scss +76 -76
  56. package/packages/styles/components/tag.scss +142 -142
  57. package/packages/styles/font/iconfont.scss +363 -363
  58. package/packages/styles/index.scss +94 -94
  59. package/packages/styles/variables/border-mode.css +6 -6
  60. package/packages/styles/variables/color-modes-dark.css +143 -143
  61. package/packages/styles/variables/index.scss +5 -5
  62. package/packages/styles/variables/primitives-style.css +112 -112
  63. package/packages/styles/variables/radius-mode.css +14 -14
  64. package/packages/styles/variables/spacing-mode.css +20 -20
  65. package/packages/styles/variables/typography-desktop.css +40 -40
  66. package/packages/styles/variables/typography-mobile.css +40 -40
  67. package/packages/utils/classNames.js +23 -23
  68. package/packages/utils/styleUtils.js +105 -105
package/dist/index.mjs CHANGED
@@ -121,7 +121,7 @@ const S = (e, t) => {
121
121
  m(l.$slots, "default", {}, void 0, !0)
122
122
  ], 16));
123
123
  }
124
- }), Z = /* @__PURE__ */ S(Ue, [["__scopeId", "data-v-94ce8db4"]]), qe = /* @__PURE__ */ Object.assign({
124
+ }), Z = /* @__PURE__ */ S(Ue, [["__scopeId", "data-v-90f84c9e"]]), qe = /* @__PURE__ */ Object.assign({
125
125
  name: "MButton"
126
126
  }, {
127
127
  __name: "Button",
@@ -138,7 +138,7 @@ const S = (e, t) => {
138
138
  ]), 1040);
139
139
  };
140
140
  }
141
- }), We = /* @__PURE__ */ S(qe, [["__scopeId", "data-v-79a4d7ee"]]), He = /* @__PURE__ */ Object.assign({
141
+ }), We = /* @__PURE__ */ S(qe, [["__scopeId", "data-v-9c99add1"]]), He = /* @__PURE__ */ Object.assign({
142
142
  name: "MInput"
143
143
  }, {
144
144
  __name: "Input",
@@ -454,8 +454,7 @@ const Ye = /* @__PURE__ */ Object.assign({
454
454
  },
455
455
  status: {
456
456
  type: String,
457
- default: "",
458
- validator: (e) => ["", "success", "warning", "danger"].includes(e)
457
+ default: ""
459
458
  }
460
459
  },
461
460
  setup(e) {
@@ -1099,7 +1098,7 @@ const ue = /* @__PURE__ */ S(At, [["render", Ft]]), Dt = /* @__PURE__ */ Object.
1099
1098
  ])
1100
1099
  ], 6)) : C("", !0);
1101
1100
  }
1102
- }), Yt = /* @__PURE__ */ S(Xt, [["__scopeId", "data-v-6543ff81"]]), Kt = {
1101
+ }), Yt = /* @__PURE__ */ S(Xt, [["__scopeId", "data-v-00c80323"]]), Kt = {
1103
1102
  name: "MTabs",
1104
1103
  props: {
1105
1104
  modelValue: {
@@ -1219,7 +1218,7 @@ function os(e, t, n, s, o, a) {
1219
1218
  ])
1220
1219
  ], 2);
1221
1220
  }
1222
- const as = /* @__PURE__ */ S(Kt, [["render", os], ["__scopeId", "data-v-c0a2c4d8"]]), rs = {
1221
+ const as = /* @__PURE__ */ S(Kt, [["render", os], ["__scopeId", "data-v-37dc138d"]]), rs = {
1223
1222
  name: "MTabPane",
1224
1223
  props: {
1225
1224
  label: {
@@ -1266,7 +1265,7 @@ function ls(e, t, n, s, o, a) {
1266
1265
  [$e, s.isActive]
1267
1266
  ]);
1268
1267
  }
1269
- const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-92dbedb7"]]), cs = { class: "m-tab-card-item__text" }, us = /* @__PURE__ */ Object.assign({
1268
+ const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-31f89b3b"]]), cs = { class: "m-tab-card-item__text" }, us = /* @__PURE__ */ Object.assign({
1270
1269
  name: "MTabCardItem"
1271
1270
  }, {
1272
1271
  __name: "TabCardItem",
@@ -1306,7 +1305,7 @@ const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-92dbedb7
1306
1305
  ])
1307
1306
  ], 2));
1308
1307
  }
1309
- }), de = /* @__PURE__ */ S(us, [["__scopeId", "data-v-27e448d5"]]), ds = { class: "m-tab-card__container" }, ms = /* @__PURE__ */ Object.assign({
1308
+ }), de = /* @__PURE__ */ S(us, [["__scopeId", "data-v-aa4c402c"]]), ds = { class: "m-tab-card__container" }, ms = /* @__PURE__ */ Object.assign({
1310
1309
  name: "MTabCard"
1311
1310
  }, {
1312
1311
  __name: "TabCard",
@@ -1356,7 +1355,7 @@ const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-92dbedb7
1356
1355
  ])
1357
1356
  ], 2));
1358
1357
  }
1359
- }), ps = /* @__PURE__ */ S(ms, [["__scopeId", "data-v-da12e61c"]]), fs = {
1358
+ }), ps = /* @__PURE__ */ S(ms, [["__scopeId", "data-v-098ad86f"]]), fs = {
1360
1359
  class: "breadcrumb-separator-icon",
1361
1360
  width: "6",
1362
1361
  height: "10",
@@ -1377,7 +1376,7 @@ const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-92dbedb7
1377
1376
  }, null, -1)
1378
1377
  ])]));
1379
1378
  }
1380
- }), gs = /* @__PURE__ */ S(_s, [["__scopeId", "data-v-d39afcb7"]]), bs = {
1379
+ }), gs = /* @__PURE__ */ S(_s, [["__scopeId", "data-v-dd1ad62c"]]), bs = {
1381
1380
  class: "m-breadcrumb",
1382
1381
  "aria-label": "Breadcrumb"
1383
1382
  }, vs = ["onClick"], hs = /* @__PURE__ */ Object.assign({
@@ -1418,7 +1417,7 @@ const is = /* @__PURE__ */ S(rs, [["render", ls], ["__scopeId", "data-v-92dbedb7
1418
1417
  ], 64))), 128))
1419
1418
  ]));
1420
1419
  }
1421
- }), ys = /* @__PURE__ */ S(hs, [["__scopeId", "data-v-8657c9f7"]]);
1420
+ }), ys = /* @__PURE__ */ S(hs, [["__scopeId", "data-v-bfa840fa"]]);
1422
1421
  function G(e) {
1423
1422
  e && e.classList && e.classList.add("mc-ui-override");
1424
1423
  }