morya-ui 0.2.6 → 0.2.7
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.
- package/CHANGELOG.md +22 -0
- package/dist/{Button-lNErA-7h.js → Button--RkQybU-.js} +1 -1
- package/dist/{Checkbox-B758a_iB.js → Checkbox-CL05RRUD.js} +1 -1
- package/dist/{FlyoutSubmenu-kymVjXLs.js → FlyoutSubmenu-B_bkgKag.js} +1 -1
- package/dist/{Pagination-Dm2-MBnC.js → Pagination-BKvR-RUW.js} +1 -1
- package/dist/{Popover-flzjtjqD.js → Popover-Dq_p0vib.js} +1 -1
- package/dist/{ProgressSpinner-BXHLx4Lg.js → ProgressSpinner-DuBpPkna.js} +1 -1
- package/dist/{Radio-Bb21-Vk4.js → Radio-DsaKvbhk.js} +1 -1
- package/dist/{Tooltip-CeGxjP-L.js → Tooltip-CU1xFt_N.js} +1 -1
- package/dist/activity-low-CgK9kHWr.js +4 -0
- package/dist/auto-complete/index.js +2 -2
- package/dist/breadcrumb/index.js +1 -1
- package/dist/building-DYLdXiQg.js +4 -0
- package/dist/button/index.js +1 -1
- package/dist/carousel/index.js +1 -1
- package/dist/cascade-select/index.js +2 -2
- package/dist/checkbox/index.js +1 -1
- package/dist/chip/index.js +1 -1
- package/dist/churn-high-D1ELpZzW.js +4 -0
- package/dist/command-menu/index.js +2 -2
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Empty/Empty.vue.d.ts +5 -6
- package/dist/components/Empty/Empty.vue.d.ts.map +1 -1
- package/dist/components/Empty/illustrations/catalog.d.ts +5 -0
- package/dist/components/Empty/illustrations/catalog.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts +3 -0
- package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/index.d.ts +15 -0
- package/dist/components/Empty/illustrations/index.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/loaders.d.ts +4 -0
- package/dist/components/Empty/illustrations/loaders.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/activity-low.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/activity-low.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/building.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/building.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/churn-high.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/churn-high.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/conversion-low.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/conversion-low.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/input-irregular.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/input-irregular.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/network-error.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/network-error.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-content.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-content.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-issue.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-issue.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-message.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-message.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-result.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-result.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-schedule.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-schedule.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/server-error.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/server-error.d.ts.map +1 -0
- package/dist/components/Empty/index.d.ts +3 -1
- package/dist/components/Empty/index.d.ts.map +1 -1
- package/dist/components/Empty/styles.css +104 -30
- package/dist/components/Empty/types.d.ts +25 -4
- package/dist/components/Empty/types.d.ts.map +1 -1
- package/dist/components/Form/types.d.ts +1 -1
- package/dist/components/Form/types.d.ts.map +1 -1
- package/dist/components/Message/types.d.ts +1 -1
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/Pagination/types.d.ts +4 -4
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Result/Result.vue.d.ts +2 -2
- package/dist/components/Result/Result.vue.d.ts.map +1 -1
- package/dist/components/Result/index.d.ts +1 -1
- package/dist/components/Result/index.d.ts.map +1 -1
- package/dist/components/Result/statusIcons.d.ts +4 -0
- package/dist/components/Result/statusIcons.d.ts.map +1 -0
- package/dist/components/Result/styles.css +89 -23
- package/dist/components/Result/types.d.ts +10 -4
- package/dist/components/Result/types.d.ts.map +1 -1
- package/dist/components/Splitter/types.d.ts +4 -4
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts +7 -3
- package/dist/components/Status/Status.vue.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css +116 -26
- package/dist/components/Status/types.d.ts +16 -2
- package/dist/components/Status/types.d.ts.map +1 -1
- package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
- package/dist/components/Tree/types.d.ts +1 -1
- package/dist/components/Tree/types.d.ts.map +1 -1
- package/dist/{config-Dln2-u_v.js → config-BdK5ccNT.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/confirm-dialog/index.js +3 -3
- package/dist/confirm-popup/index.js +3 -3
- package/dist/context-menu/index.js +2 -2
- package/dist/conversion-low-CwZiQc2k.js +4 -0
- package/dist/data-view/index.js +3 -3
- package/dist/date-picker/index.js +2 -2
- package/dist/dialog/index.js +77 -61
- package/dist/drawer/index.js +2 -2
- package/dist/dropdown/index.js +3 -3
- package/dist/empty/index.js +141 -26
- package/dist/empty/style.css +104 -30
- package/dist/file-upload/index.js +1 -1
- package/dist/flex/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/gallery/index.js +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1357 -1146
- package/dist/input/index.js +2 -2
- package/dist/input-color/index.js +2 -2
- package/dist/input-irregular-xSLDoNTS.js +4 -0
- package/dist/input-number/index.js +2 -2
- package/dist/input-otp/index.js +2 -2
- package/dist/input-password/index.js +2 -2
- package/dist/input-tags/index.js +2 -2
- package/dist/layout/index.js +1 -1
- package/dist/listbox/index.js +2 -2
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-DNYpTg5K.js → locale-B36KH7c3.js} +1 -1
- package/dist/mega-menu/index.js +2 -2
- package/dist/menu/index.js +52 -40
- package/dist/menubar/index.js +2 -2
- package/dist/message/index.js +2 -2
- package/dist/network-error-C6vl5a7S.js +4 -0
- package/dist/no-content-CwbqVPoN.js +4 -0
- package/dist/no-issue-DMkU-Pnw.js +4 -0
- package/dist/no-message-DnIEpMiO.js +4 -0
- package/dist/no-result-pGce34BV.js +4 -0
- package/dist/no-schedule-Cl9Frt1Q.js +4 -0
- package/dist/order-list/index.js +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/payment-cycle-long-Ba9FNStl.js +4 -0
- package/dist/pick-list/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/profile-unclear-CGs4PCfw.js +4 -0
- package/dist/progress-spinner/index.js +1 -1
- package/dist/radio/index.js +1 -1
- package/dist/rating/index.js +2 -2
- package/dist/result/index.js +72 -36
- package/dist/result/style.css +89 -23
- package/dist/scroll-top/index.js +2 -2
- package/dist/select/index.js +2 -2
- package/dist/select-button/index.js +1 -1
- package/dist/server-error-D8zGMe5r.js +4 -0
- package/dist/shared/optionalRouter.d.ts +5 -0
- package/dist/shared/optionalRouter.d.ts.map +1 -1
- package/dist/shared/responsive.d.ts +1 -1
- package/dist/shared/responsive.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/slider/index.js +2 -2
- package/dist/space/index.js +1 -1
- package/dist/speed-dial/index.js +2 -2
- package/dist/split-button/index.js +2 -2
- package/dist/splitter/index.js +1 -1
- package/dist/status/index.js +46 -19
- package/dist/status/style.css +171 -26
- package/dist/status/style.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +7 -7
- package/dist/tabs/index.js +1 -1
- package/dist/tag/index.js +2 -2
- package/dist/terminal/index.js +1 -1
- package/dist/textarea/index.js +2 -2
- package/dist/tiered-menu/index.js +2 -2
- package/dist/toast/index.js +2 -2
- package/dist/toggle-button/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/tree/index.js +9 -4
- package/dist/tree-select/index.js +3 -3
- package/dist/tree-table/index.js +1 -1
- package/package.json +4 -4
package/dist/speed-dial/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { t as i } from "../overlayPlacement-Cd20JTD_.js";
|
|
|
5
5
|
import { t as a } from "../useMenuKeyboard-BedmYE4W.js";
|
|
6
6
|
import { t as o } from "../useMId-BXFYayPP.js";
|
|
7
7
|
import { t as s } from "../icon-xUOyawgJ.js";
|
|
8
|
-
import { c } from "../config-
|
|
9
|
-
import { n as l } from "../locale-
|
|
8
|
+
import { c } from "../config-BdK5ccNT.js";
|
|
9
|
+
import { n as l } from "../locale-B36KH7c3.js";
|
|
10
10
|
import "./style.js";
|
|
11
11
|
import { Fragment as u, Teleport as d, Transition as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, mergeProps as ee, nextTick as te, normalizeClass as ne, normalizeStyle as re, onBeforeUnmount as ie, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useAttrs as E, watch as D, withCtx as ae } from "vue";
|
|
12
12
|
//#region src/components/SpeedDial/SpeedDial.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -5,8 +5,8 @@ import { n as te, t as ne } from "../overlay-oR-5MDuE.js";
|
|
|
5
5
|
import { t as re } from "../overlayPlacement-Cd20JTD_.js";
|
|
6
6
|
import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
|
|
7
7
|
import { t as i } from "../useMId-BXFYayPP.js";
|
|
8
|
-
import { c as a, o } from "../config-
|
|
9
|
-
import { n as s } from "../locale-
|
|
8
|
+
import { c as a, o } from "../config-BdK5ccNT.js";
|
|
9
|
+
import { n as s } from "../locale-B36KH7c3.js";
|
|
10
10
|
import "./style.js";
|
|
11
11
|
import { Fragment as c, Teleport as ie, Transition as ae, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as oe, onBeforeUnmount as se, openBlock as b, ref as x, renderList as ce, renderSlot as le, toDisplayString as S, unref as C, useAttrs as ue, watch as w, withCtx as de } from "vue";
|
|
12
12
|
//#region src/components/SplitButton/SplitButton.vue?vue&type=script&setup=true&lang.ts
|
package/dist/splitter/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
|
-
import { n as t } from "../locale-
|
|
2
|
+
import { n as t } from "../locale-B36KH7c3.js";
|
|
3
3
|
import "./style.js";
|
|
4
4
|
import { Comment as n, Fragment as r, Text as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, onBeforeUnmount as m, openBlock as h, ref as g, renderSlot as _, resolveDynamicComponent as v, unref as y, useAttrs as ee, useSlots as te, watch as b } from "vue";
|
|
5
5
|
//#region src/components/Splitter/size.ts
|
package/dist/status/index.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { t as e } from "../types-DGuu4Eg4.js";
|
|
2
|
-
import {
|
|
2
|
+
import { t } from "../Icon-DfpIfo2L.js";
|
|
3
|
+
import { o as n } from "../config-BdK5ccNT.js";
|
|
3
4
|
import "./style.js";
|
|
4
|
-
import { computed as
|
|
5
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderSlot as p, toDisplayString as m, useSlots as h } from "vue";
|
|
5
6
|
//#region src/components/Status/Status.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var g = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "m-status__dot",
|
|
10
|
+
"aria-hidden": "true"
|
|
11
|
+
}, _ = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "m-status__icon",
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
}, v = { class: "m-status__label" }, y = /* @__PURE__ */ l({
|
|
7
16
|
__name: "Status",
|
|
8
17
|
props: {
|
|
9
18
|
label: {},
|
|
@@ -13,27 +22,45 @@ var f = { class: "m-status__label" }, p = /* @__PURE__ */ o({
|
|
|
13
22
|
default: !1
|
|
14
23
|
},
|
|
15
24
|
size: {},
|
|
16
|
-
color: {}
|
|
25
|
+
color: {},
|
|
26
|
+
variant: { default: "dot" },
|
|
27
|
+
icon: {},
|
|
28
|
+
disabled: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
}
|
|
17
32
|
},
|
|
18
|
-
setup(
|
|
19
|
-
let
|
|
33
|
+
setup(l) {
|
|
34
|
+
let y = l, b = h(), x = n("Status", () => y.size), S = r(() => e(y.severity) ?? "secondary"), C = {
|
|
35
|
+
success: "check-circle",
|
|
36
|
+
danger: "x-circle",
|
|
37
|
+
warn: "warning",
|
|
38
|
+
info: "info",
|
|
39
|
+
primary: "info",
|
|
40
|
+
help: "info"
|
|
41
|
+
}, w = r(() => {
|
|
42
|
+
if (y.variant !== "text" && !(y.icon || b.icon)) return C[S.value];
|
|
43
|
+
}), T = r(() => y.icon ?? w.value), E = r(() => !!(b.icon || T.value)), D = r(() => y.variant !== "text" && !E.value), O = r(() => [
|
|
20
44
|
"m-status",
|
|
21
|
-
`m-status--${
|
|
22
|
-
`m-status--${
|
|
45
|
+
`m-status--${S.value}`,
|
|
46
|
+
`m-status--${x.value}`,
|
|
47
|
+
`m-status--${y.variant}`,
|
|
23
48
|
{
|
|
24
|
-
"m-status--processing":
|
|
25
|
-
"m-status--custom": !!
|
|
49
|
+
"m-status--processing": y.processing && (D.value || E.value),
|
|
50
|
+
"m-status--custom": !!y.color,
|
|
51
|
+
"m-status--disabled": y.disabled,
|
|
52
|
+
"m-status--has-icon": E.value
|
|
26
53
|
}
|
|
27
|
-
]),
|
|
28
|
-
return (e,
|
|
29
|
-
class:
|
|
30
|
-
style:
|
|
54
|
+
]), k = r(() => y.color ? { "--m-status-color": y.color } : void 0);
|
|
55
|
+
return (e, n) => (f(), o("span", {
|
|
56
|
+
class: u(O.value),
|
|
57
|
+
style: d(k.value),
|
|
31
58
|
role: "status"
|
|
32
|
-
}, [
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, null,
|
|
59
|
+
}, [D.value ? (f(), o("span", g)) : E.value ? (f(), o("span", _, [p(e.$slots, "icon", {}, () => [T.value ? (f(), i(t, {
|
|
60
|
+
key: 0,
|
|
61
|
+
name: T.value
|
|
62
|
+
}, null, 8, ["name"])) : a("", !0)])])) : a("", !0), s("span", v, [p(e.$slots, "default", {}, () => [c(m(l.label), 1)])])], 6));
|
|
36
63
|
}
|
|
37
64
|
});
|
|
38
65
|
//#endregion
|
|
39
|
-
export {
|
|
66
|
+
export { y as MStatus };
|
package/dist/status/style.css
CHANGED
|
@@ -989,41 +989,123 @@
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
+
.m-icon {
|
|
993
|
+
color: currentColor;
|
|
994
|
+
display: inline-flex;
|
|
995
|
+
flex-shrink: 0;
|
|
996
|
+
height: 1rem;
|
|
997
|
+
line-height: 0;
|
|
998
|
+
vertical-align: middle;
|
|
999
|
+
width: 1rem;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.m-icon svg {
|
|
1003
|
+
display: block;
|
|
1004
|
+
height: 100%;
|
|
1005
|
+
width: 100%;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.m-icon--sm,
|
|
1009
|
+
.m-icon--small {
|
|
1010
|
+
height: 0.875rem;
|
|
1011
|
+
width: 0.875rem;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.m-icon--md,
|
|
1015
|
+
.m-icon--normal {
|
|
1016
|
+
height: 1rem;
|
|
1017
|
+
width: 1rem;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
.m-icon--lg,
|
|
1021
|
+
.m-icon--large {
|
|
1022
|
+
height: 1.25rem;
|
|
1023
|
+
width: 1.25rem;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.m-icon--spin svg {
|
|
1027
|
+
animation: m-icon-spin var(--m-motion-spin-fast) linear infinite;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
@keyframes m-icon-spin {
|
|
1031
|
+
to {
|
|
1032
|
+
transform: rotate(360deg);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1037
|
+
.m-icon--spin svg {
|
|
1038
|
+
animation: none;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1043
|
+
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1044
|
+
animation: none;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
992
1047
|
.m-status {
|
|
993
1048
|
--m-status-dot-size: 0.5rem;
|
|
1049
|
+
--m-status-icon-size: 0.9375rem;
|
|
1050
|
+
--m-status-soft-bg: color-mix(in srgb, currentColor 12%, transparent);
|
|
994
1051
|
align-items: center;
|
|
995
|
-
color: var(--m-color-text);
|
|
1052
|
+
color: var(--m-color-text-muted);
|
|
996
1053
|
display: inline-flex;
|
|
997
1054
|
font-family: var(--m-font-sans);
|
|
998
|
-
font-size: var(--m-font-size-
|
|
1055
|
+
font-size: var(--m-font-size-md);
|
|
999
1056
|
font-weight: 500;
|
|
1000
|
-
gap:
|
|
1001
|
-
line-height: 1
|
|
1057
|
+
gap: 0.375rem;
|
|
1058
|
+
line-height: 1;
|
|
1002
1059
|
vertical-align: middle;
|
|
1060
|
+
white-space: nowrap;
|
|
1003
1061
|
}
|
|
1004
1062
|
|
|
1005
1063
|
.m-status__dot {
|
|
1006
1064
|
background: currentColor;
|
|
1007
1065
|
border-radius: var(--m-radius-full);
|
|
1066
|
+
box-shadow: 0 0 0 0.1875rem var(--m-status-soft-bg);
|
|
1008
1067
|
flex-shrink: 0;
|
|
1009
1068
|
height: var(--m-status-dot-size);
|
|
1069
|
+
position: relative;
|
|
1010
1070
|
width: var(--m-status-dot-size);
|
|
1011
1071
|
}
|
|
1012
1072
|
|
|
1073
|
+
.m-status__icon {
|
|
1074
|
+
align-items: center;
|
|
1075
|
+
color: inherit;
|
|
1076
|
+
display: inline-flex;
|
|
1077
|
+
flex-shrink: 0;
|
|
1078
|
+
height: var(--m-status-icon-size);
|
|
1079
|
+
justify-content: center;
|
|
1080
|
+
line-height: 0;
|
|
1081
|
+
width: var(--m-status-icon-size);
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.m-status__icon :is(.m-icon, svg) {
|
|
1085
|
+
display: block;
|
|
1086
|
+
flex-shrink: 0;
|
|
1087
|
+
height: 100%;
|
|
1088
|
+
line-height: 0;
|
|
1089
|
+
width: 100%;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1013
1092
|
.m-status__label {
|
|
1093
|
+
line-height: 1.25;
|
|
1014
1094
|
min-width: 0;
|
|
1015
1095
|
}
|
|
1016
1096
|
|
|
1017
1097
|
.m-status--small {
|
|
1018
1098
|
--m-status-dot-size: 0.375rem;
|
|
1099
|
+
--m-status-icon-size: 0.8125rem;
|
|
1019
1100
|
font-size: var(--m-font-size-xs);
|
|
1020
|
-
gap:
|
|
1101
|
+
gap: 0.3125rem;
|
|
1021
1102
|
}
|
|
1022
1103
|
|
|
1023
1104
|
.m-status--large {
|
|
1024
|
-
--m-status-dot-size: 0.
|
|
1025
|
-
|
|
1026
|
-
|
|
1105
|
+
--m-status-dot-size: 0.5625rem;
|
|
1106
|
+
--m-status-icon-size: 1.125rem;
|
|
1107
|
+
font-size: var(--m-font-size-lg);
|
|
1108
|
+
gap: 0.5rem;
|
|
1027
1109
|
}
|
|
1028
1110
|
|
|
1029
1111
|
.m-status--primary {
|
|
@@ -1034,14 +1116,6 @@
|
|
|
1034
1116
|
color: var(--m-color-text-muted);
|
|
1035
1117
|
}
|
|
1036
1118
|
|
|
1037
|
-
.m-status--secondary .m-status__dot {
|
|
1038
|
-
background: color-mix(
|
|
1039
|
-
in srgb,
|
|
1040
|
-
var(--m-color-text-muted) 70%,
|
|
1041
|
-
var(--m-color-surface)
|
|
1042
|
-
);
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
1119
|
.m-status--success {
|
|
1046
1120
|
color: var(--m-color-success);
|
|
1047
1121
|
}
|
|
@@ -1071,27 +1145,98 @@
|
|
|
1071
1145
|
color: var(--m-status-color);
|
|
1072
1146
|
}
|
|
1073
1147
|
|
|
1074
|
-
.m-status--
|
|
1075
|
-
|
|
1148
|
+
.m-status--disabled {
|
|
1149
|
+
color: color-mix(
|
|
1150
|
+
in srgb,
|
|
1151
|
+
var(--m-color-text-muted) 55%,
|
|
1152
|
+
var(--m-color-surface)
|
|
1153
|
+
);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/* Soft badge: stronger fill so status reads as a marker, not plain text */
|
|
1157
|
+
.m-status--tag {
|
|
1158
|
+
--m-status-soft-bg: color-mix(in srgb, currentColor 16%, transparent);
|
|
1159
|
+
background: var(--m-status-soft-bg);
|
|
1160
|
+
border-radius: var(--m-radius-full);
|
|
1161
|
+
font-size: var(--m-font-size-xs);
|
|
1162
|
+
gap: 0.3125rem;
|
|
1163
|
+
height: 1.5rem;
|
|
1164
|
+
padding: 0 0.625rem;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.m-status--tag .m-status__dot {
|
|
1168
|
+
--m-status-dot-size: 0.375rem;
|
|
1169
|
+
box-shadow: none;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.m-status--tag.m-status--has-icon {
|
|
1173
|
+
gap: 0.25rem;
|
|
1174
|
+
padding-inline-start: 0.4375rem;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.m-status--tag.m-status--large {
|
|
1178
|
+
height: 1.75rem;
|
|
1179
|
+
padding: 0 0.8125rem;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
.m-status--tag.m-status--large.m-status--has-icon {
|
|
1183
|
+
padding-inline-start: 0.5rem;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.m-status--tag.m-status--small {
|
|
1187
|
+
height: 1.25rem;
|
|
1188
|
+
padding: 0 0.5rem;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.m-status--tag.m-status--small.m-status--has-icon {
|
|
1192
|
+
padding-inline-start: 0.375rem;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.m-status--processing .m-status__dot::after,
|
|
1196
|
+
.m-status--processing.m-status--has-icon .m-status__icon::after {
|
|
1197
|
+
animation: m-status-pulse var(--m-motion-pulse) cubic-bezier(0, 0, 0.2, 1)
|
|
1198
|
+
infinite;
|
|
1199
|
+
background: currentColor;
|
|
1200
|
+
border-radius: var(--m-radius-full);
|
|
1201
|
+
content: "";
|
|
1202
|
+
inset: 0;
|
|
1203
|
+
opacity: 0.45;
|
|
1204
|
+
position: absolute;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.m-status--processing.m-status--has-icon .m-status__icon {
|
|
1208
|
+
position: relative;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.m-status--processing.m-status--has-icon .m-status__icon::after {
|
|
1212
|
+
inset: -0.125rem;
|
|
1076
1213
|
}
|
|
1077
1214
|
|
|
1078
1215
|
@keyframes m-status-pulse {
|
|
1079
|
-
0
|
|
1080
|
-
|
|
1081
|
-
|
|
1216
|
+
0% {
|
|
1217
|
+
opacity: 0.55;
|
|
1218
|
+
transform: scale(1);
|
|
1082
1219
|
}
|
|
1083
|
-
|
|
1084
|
-
|
|
1220
|
+
100% {
|
|
1221
|
+
opacity: 0;
|
|
1222
|
+
transform: scale(2.8);
|
|
1085
1223
|
}
|
|
1086
1224
|
}
|
|
1087
1225
|
|
|
1088
1226
|
@media (prefers-reduced-motion: reduce) {
|
|
1089
|
-
.m-status--processing .m-status__dot
|
|
1227
|
+
.m-status--processing .m-status__dot::after,
|
|
1228
|
+
.m-status--processing.m-status--has-icon .m-status__icon::after {
|
|
1090
1229
|
animation: none;
|
|
1091
1230
|
}
|
|
1092
1231
|
}
|
|
1093
1232
|
|
|
1094
|
-
:root[data-m-motion=
|
|
1095
|
-
:root[data-m-motion=
|
|
1233
|
+
:root[data-m-motion="none"] .m-status--processing .m-status__dot::after,
|
|
1234
|
+
:root[data-m-motion="reduced"] .m-status--processing .m-status__dot::after,
|
|
1235
|
+
:root[data-m-motion="none"]
|
|
1236
|
+
.m-status--processing.m-status--has-icon
|
|
1237
|
+
.m-status__icon::after,
|
|
1238
|
+
:root[data-m-motion="reduced"]
|
|
1239
|
+
.m-status--processing.m-status--has-icon
|
|
1240
|
+
.m-status__icon::after {
|
|
1096
1241
|
animation: none;
|
|
1097
1242
|
}
|
package/dist/status/style.js
CHANGED