morya-ui 0.3.1 → 0.3.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.
- package/CHANGELOG.md +62 -0
- package/dist/Button-gBiRj7wz.js +227 -0
- package/dist/{Card-Dsmnzong.js → Card-B1CB9Trm.js} +3 -5
- package/dist/Empty-C5tndBOm.js +147 -0
- package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
- package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
- package/dist/Pagination-Bvv2qvEK.js +166 -0
- package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
- package/dist/Select-CiXd074W.js +572 -0
- package/dist/Skeleton-DCYdXAH2.js +59 -0
- package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
- package/dist/accordion/style.css +16 -71
- package/dist/auto-complete/index.js +120 -122
- package/dist/auto-complete/style.css +6 -82
- package/dist/avatar/style.css +6 -67
- package/dist/badge/style.css +6 -68
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +6 -68
- package/dist/breadcrumb/style.css +6 -61
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +345 -118
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +26 -67
- package/dist/carousel/style.css +6 -73
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +6 -75
- package/dist/checkbox/style.css +6 -61
- package/dist/chip/style.css +6 -67
- package/dist/command-menu/index.js +37 -39
- package/dist/command-menu/style.css +6 -75
- package/dist/components/Accordion/styles.css +10 -10
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +0 -7
- package/dist/components/Badge/styles.css +0 -7
- package/dist/components/BlockUI/styles.css +0 -7
- package/dist/components/Button/Button.vue.d.ts +3 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +339 -51
- package/dist/components/Button/types.d.ts +11 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +2 -2
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/styles.css +20 -6
- package/dist/components/Card/types.d.ts +4 -2
- package/dist/components/Card/types.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +0 -6
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +19 -14
- package/dist/components/Dialog/styles.css +3 -46
- package/dist/components/Dock/styles.css +0 -10
- package/dist/components/Drawer/styles.css +2 -51
- package/dist/components/Fieldset/styles.css +0 -7
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUtils.d.ts +8 -0
- package/dist/components/FileUpload/fileUtils.d.ts.map +1 -0
- package/dist/components/Gallery/styles.css +0 -8
- package/dist/components/Icon/styles.css +0 -6
- package/dist/components/Knob/styles.css +0 -6
- package/dist/components/Layout/styles.css +0 -12
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Loading/styles.css +0 -16
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +4 -11
- package/dist/components/Message/styles.css +0 -13
- package/dist/components/Page/PageContent.vue.d.ts +2 -1
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/PageFilterChips.vue.d.ts +16 -0
- package/dist/components/Page/PageFilterChips.vue.d.ts.map +1 -0
- package/dist/components/Page/PageFilters.vue.d.ts +15 -3
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/PageHeader.vue.d.ts +8 -4
- package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
- package/dist/components/Page/PagePlaceholder.vue.d.ts +6 -2
- package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
- package/dist/components/Page/PageSection.vue.d.ts +8 -2
- package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
- package/dist/components/Page/PageStat.vue.d.ts +8 -3
- package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
- package/dist/components/Page/index.d.ts +2 -1
- package/dist/components/Page/index.d.ts.map +1 -1
- package/dist/components/Page/styles.css +239 -44
- package/dist/components/Page/types.d.ts +40 -0
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +7 -10
- package/dist/components/Pagination/types.d.ts +1 -1
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +0 -7
- package/dist/components/Popover/styles.css +21 -79
- package/dist/components/ProgressBar/styles.css +0 -9
- package/dist/components/ProgressSpinner/styles.css +0 -7
- package/dist/components/ScrollTop/styles.css +0 -7
- package/dist/components/Scrollbar/styles.css +0 -8
- package/dist/components/Select/Select.vue.d.ts +1 -3
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/selectOptions.d.ts +46 -0
- package/dist/components/Select/selectOptions.d.ts.map +1 -0
- package/dist/components/Select/styles.css +5 -7
- package/dist/components/Sidebar/styles.css +0 -6
- package/dist/components/Skeleton/styles.css +0 -6
- package/dist/components/Status/styles.css +0 -7
- package/dist/components/Switch/styles.css +0 -7
- package/dist/components/Table/hooks/useExpandableRow.d.ts.map +1 -1
- package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
- package/dist/components/Table/styles.css +7 -10
- package/dist/components/Table/tableQuery.d.ts +30 -0
- package/dist/components/Table/tableQuery.d.ts.map +1 -0
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/treeQuery.d.ts +31 -0
- package/dist/components/Tree/treeQuery.d.ts.map +1 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +345 -112
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +348 -164
- package/dist/confirm-popup/index.js +5 -5
- package/dist/confirm-popup/style.css +345 -118
- package/dist/context-menu/index.js +105 -96
- package/dist/context-menu/style.css +25 -89
- package/dist/data-view/index.js +2 -2
- package/dist/data-view/style.css +13 -87
- package/dist/date-picker/index.js +3 -3
- package/dist/date-picker/style.css +6 -67
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +348 -164
- package/dist/divider/style.css +6 -61
- package/dist/dock/style.css +6 -77
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +8 -118
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +6 -75
- package/dist/empty/index.js +5 -150
- package/dist/empty/style.css +6 -67
- package/dist/fieldset/style.css +6 -74
- package/dist/file-upload/index.js +147 -145
- package/dist/file-upload/style.css +6 -67
- package/dist/filterByQuery-Bczaxzih.js +17 -0
- package/dist/flex/style.css +6 -61
- package/dist/float-label/style.css +6 -61
- package/dist/fluid/style.css +6 -61
- package/dist/form/style.css +6 -61
- package/dist/gallery/style.css +6 -83
- package/dist/grid/style.css +6 -61
- package/dist/icon/style.css +6 -67
- package/dist/icon-field/style.css +6 -61
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9135 -8796
- package/dist/inplace/style.css +6 -61
- package/dist/input/style.css +6 -67
- package/dist/input-color/style.css +6 -61
- package/dist/input-group/style.css +6 -61
- package/dist/input-number/style.css +6 -67
- package/dist/input-otp/style.css +6 -61
- package/dist/input-password/style.css +6 -67
- package/dist/input-tags/style.css +6 -67
- package/dist/knob/style.css +6 -67
- package/dist/label/style.css +6 -61
- package/dist/layout/style.css +6 -87
- package/dist/listbox/index.js +30 -32
- package/dist/listbox/style.css +6 -69
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +6 -77
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +6 -67
- package/dist/menu/index.js +268 -258
- package/dist/menu/style.css +31 -165
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +6 -75
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +6 -80
- package/dist/meter-group/style.css +6 -61
- package/dist/order-list/style.css +6 -67
- package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
- package/dist/page/index.js +228 -69
- package/dist/page/style.css +1605 -299
- package/dist/page/style.js +3 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +206 -77
- package/dist/pagination/style.js +1 -0
- package/dist/panel/style.css +6 -74
- package/dist/pick-list/style.css +6 -67
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +27 -140
- package/dist/progress-bar/style.css +6 -70
- package/dist/progress-spinner/style.css +6 -68
- package/dist/radio/style.css +6 -61
- package/dist/rating/style.css +6 -67
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +1 -0
- package/dist/result/style.css +6 -67
- package/dist/scroll-top/style.css +6 -82
- package/dist/scrollbar/style.css +6 -69
- package/dist/select/index.js +2 -545
- package/dist/select/style.css +11 -82
- package/dist/select-button/style.css +6 -61
- package/dist/shared/config.d.ts +2 -2
- package/dist/shared/filterByQuery.d.ts +14 -0
- package/dist/shared/filterByQuery.d.ts.map +1 -0
- package/dist/shared/menu/expand.d.ts +38 -0
- package/dist/shared/menu/expand.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +2 -0
- package/dist/shared/menu/index.d.ts.map +1 -1
- package/dist/shared/overlayPlacement.d.ts.map +1 -1
- package/dist/sidebar/style.css +6 -73
- package/dist/skeleton/index.js +2 -59
- package/dist/skeleton/style.css +6 -67
- package/dist/slider/style.css +6 -61
- package/dist/space/style.css +6 -61
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +6 -67
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +345 -118
- package/dist/splitter/style.css +6 -61
- package/dist/status/style.css +6 -74
- package/dist/stepper/style.css +6 -67
- package/dist/styles/base.css +1 -50
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +6 -68
- package/dist/table/index.js +343 -313
- package/dist/table/style.css +20 -111
- package/dist/tabs/style.css +6 -75
- package/dist/tag/style.css +6 -67
- package/dist/terminal/style.css +6 -61
- package/dist/textarea/style.css +6 -67
- package/dist/theme/motionPresets.d.ts.map +1 -1
- package/dist/theme/styles.css +5 -11
- package/dist/theme/useMotion.d.ts +5 -1
- package/dist/theme/useMotion.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/tiered-menu/style.css +6 -75
- package/dist/timeline/style.css +6 -75
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +6 -67
- package/dist/toggle-button/style.css +6 -67
- package/dist/toolbar/style.css +6 -61
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +6 -61
- package/dist/tree/index.js +158 -172
- package/dist/tree/style.css +6 -67
- package/dist/tree-select/index.js +201 -215
- package/dist/tree-select/style.css +6 -75
- package/dist/tree-table/style.css +6 -67
- package/dist/treeQuery-CnHkyYOA.js +107 -0
- package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
- package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
- package/dist/virtual-scroller/style.css +6 -69
- package/package.json +2 -1
- package/dist/Button-smoDleh0.js +0 -156
- package/dist/Pagination-DrXmzcEy.js +0 -158
- package/dist/checkStrategy-CZzuUKDI.js +0 -63
package/dist/listbox/index.js
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../useMenuKeyboard-BedmYE4W.js";
|
|
3
3
|
import { t as n } from "../Scrollbar-DTeJ8P5b.js";
|
|
4
|
-
import { t as r } from "../
|
|
4
|
+
import { t as r } from "../filterByQuery-Bczaxzih.js";
|
|
5
5
|
import { t as i } from "../VirtualScroller-CHoFCmpP.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { t as a } from "../useFieldFeedback-C5qIqYMK.js";
|
|
7
|
+
import { o } from "../config-CapALqt3.js";
|
|
8
|
+
import { n as s } from "../locale-Bzm2nbEp.js";
|
|
8
9
|
import "./style.js";
|
|
9
|
-
import { Fragment as
|
|
10
|
+
import { Fragment as ee, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as te, defineComponent as m, mergeProps as ne, nextTick as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, unref as S, useAttrs as C, vModelText as w, watch as re, withCtx as T, withDirectives as ie } from "vue";
|
|
10
11
|
//#region src/components/Listbox/Listbox.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var
|
|
12
|
+
var ae = [
|
|
12
13
|
"placeholder",
|
|
13
14
|
"disabled",
|
|
14
15
|
"aria-label"
|
|
15
|
-
],
|
|
16
|
+
], oe = [
|
|
16
17
|
"aria-selected",
|
|
17
18
|
"disabled",
|
|
18
19
|
"tabindex",
|
|
19
20
|
"onClick",
|
|
20
21
|
"onFocus"
|
|
21
|
-
],
|
|
22
|
+
], se = [
|
|
22
23
|
"aria-selected",
|
|
23
24
|
"disabled",
|
|
24
25
|
"tabindex",
|
|
25
26
|
"onClick",
|
|
26
27
|
"onFocus"
|
|
27
|
-
],
|
|
28
|
+
], ce = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "m-listbox__empty"
|
|
30
|
-
},
|
|
31
|
+
}, le = {
|
|
31
32
|
key: 3,
|
|
32
33
|
class: "m-listbox__empty"
|
|
33
|
-
},
|
|
34
|
+
}, E = 80, D = /* @__PURE__ */ m({
|
|
34
35
|
inheritAttrs: !1,
|
|
35
36
|
__name: "Listbox",
|
|
36
37
|
props: {
|
|
@@ -62,11 +63,8 @@ var re = [
|
|
|
62
63
|
pt: {}
|
|
63
64
|
},
|
|
64
65
|
emits: ["update:modelValue"],
|
|
65
|
-
setup(
|
|
66
|
-
let O =
|
|
67
|
-
let e = M.value.trim().toLowerCase();
|
|
68
|
-
return e ? O.options.filter((t) => t.label.toLowerCase().includes(e)) : O.options;
|
|
69
|
-
}), z = c(() => O.virtual === !1 ? !1 : O.virtual === !0 || R.value.length >= ce), B = c(() => P.value === "small" ? 28 : P.value === "large" ? 40 : 34), V = c(() => Math.min(280, Math.max(B.value * 5, R.value.length * B.value))), H = c(() => [
|
|
66
|
+
setup(m, { emit: D }) {
|
|
67
|
+
let O = m, k = D, A = C(), { rootAttrs: j } = e(A, () => O.pt), M = v(""), N = s(), P = o("Listbox", () => O.size), { isInvalid: F } = a(O), I = c(() => O.emptyMessage ?? N.value.emptyOptions), L = c(() => O.listStyle), R = c(() => r(O.options, M.value)), z = c(() => O.virtual === !1 ? !1 : O.virtual === !0 || R.value.length >= E), B = c(() => P.value === "small" ? 28 : P.value === "large" ? 40 : 34), V = c(() => Math.min(280, Math.max(B.value * 5, R.value.length * B.value))), H = c(() => [
|
|
70
68
|
"m-listbox",
|
|
71
69
|
`m-listbox--${P.value}`,
|
|
72
70
|
{
|
|
@@ -111,12 +109,12 @@ var re = [
|
|
|
111
109
|
}
|
|
112
110
|
async function Q() {
|
|
113
111
|
let e = X.activeIndex.value;
|
|
114
|
-
e < 0 || (z.value && (J.value?.scrollToIndex(e), await
|
|
112
|
+
e < 0 || (z.value && (J.value?.scrollToIndex(e), await h()), (z.value ? q.value?.querySelector(`[data-index="${e}"] .m-listbox__option`) : Y()?.querySelectorAll(".m-listbox__option")[e])?.focus({ preventScroll: !0 }));
|
|
115
113
|
}
|
|
116
114
|
function $(e) {
|
|
117
115
|
X.onKeydown(e);
|
|
118
116
|
}
|
|
119
|
-
function
|
|
117
|
+
function ue(e) {
|
|
120
118
|
[
|
|
121
119
|
"ArrowUp",
|
|
122
120
|
"ArrowDown",
|
|
@@ -125,26 +123,26 @@ var re = [
|
|
|
125
123
|
"Enter"
|
|
126
124
|
].includes(e.key) && (X.onKeydown(e), Q());
|
|
127
125
|
}
|
|
128
|
-
return
|
|
126
|
+
return re(X.activeIndex, () => {
|
|
129
127
|
Y()?.contains(document.activeElement) && Q();
|
|
130
|
-
}), (e, t) => (_(), d("div",
|
|
131
|
-
|
|
128
|
+
}), (e, t) => (_(), d("div", ne(S(j), { class: H.value }), [
|
|
129
|
+
m.filter ? ie((_(), d("input", {
|
|
132
130
|
key: 0,
|
|
133
131
|
"onUpdate:modelValue": t[0] ||= (e) => M.value = e,
|
|
134
132
|
class: "m-listbox__filter",
|
|
135
133
|
type: "search",
|
|
136
134
|
placeholder: S(N).filterOptions,
|
|
137
|
-
disabled:
|
|
135
|
+
disabled: m.disabled,
|
|
138
136
|
"aria-label": S(N).filterOptions,
|
|
139
|
-
onKeydown:
|
|
140
|
-
}, null, 40,
|
|
137
|
+
onKeydown: ue
|
|
138
|
+
}, null, 40, ae)), [[w, M.value]]) : u("", !0),
|
|
141
139
|
z.value && R.value.length ? (_(), d("div", {
|
|
142
140
|
key: 1,
|
|
143
141
|
ref_key: "virtualHost",
|
|
144
142
|
ref: q,
|
|
145
143
|
class: "m-listbox__virtual-host",
|
|
146
144
|
onKeydown: $
|
|
147
|
-
}, [
|
|
145
|
+
}, [te(i, {
|
|
148
146
|
ref_key: "virtualList",
|
|
149
147
|
ref: J,
|
|
150
148
|
class: "m-listbox__list m-listbox__list--virtual",
|
|
@@ -155,16 +153,16 @@ var re = [
|
|
|
155
153
|
height: V.value,
|
|
156
154
|
buffer: 4
|
|
157
155
|
}, {
|
|
158
|
-
item:
|
|
156
|
+
item: T(({ item: t, index: n }) => [f("button", {
|
|
159
157
|
type: "button",
|
|
160
158
|
class: g(["m-listbox__option", { "m-listbox__option--selected": U(G(t).value) }]),
|
|
161
159
|
role: "option",
|
|
162
160
|
"aria-selected": U(G(t).value),
|
|
163
|
-
disabled:
|
|
161
|
+
disabled: m.disabled || G(t).disabled,
|
|
164
162
|
tabindex: Z(n),
|
|
165
163
|
onClick: (e) => W(G(t)),
|
|
166
164
|
onFocus: (e) => S(X).setActive(n)
|
|
167
|
-
}, [b(e.$slots, "option", { option: G(t) }, () => [p(x(G(t).label), 1)])], 42,
|
|
165
|
+
}, [b(e.$slots, "option", { option: G(t) }, () => [p(x(G(t).label), 1)])], 42, oe)]),
|
|
168
166
|
_: 3
|
|
169
167
|
}, 8, [
|
|
170
168
|
"aria-label",
|
|
@@ -182,10 +180,10 @@ var re = [
|
|
|
182
180
|
"view-class": "m-listbox__list-view",
|
|
183
181
|
"view-style": L.value,
|
|
184
182
|
"aria-label": S(N).selectOption,
|
|
185
|
-
"aria-multiselectable":
|
|
183
|
+
"aria-multiselectable": m.multiple || void 0,
|
|
186
184
|
onKeydown: $
|
|
187
185
|
}, {
|
|
188
|
-
default:
|
|
186
|
+
default: T(() => [(_(!0), d(ee, null, y(R.value, (t, n) => (_(), d("li", {
|
|
189
187
|
key: String(t.value),
|
|
190
188
|
role: "presentation"
|
|
191
189
|
}, [f("button", {
|
|
@@ -193,18 +191,18 @@ var re = [
|
|
|
193
191
|
class: g(["m-listbox__option", { "m-listbox__option--selected": U(t.value) }]),
|
|
194
192
|
role: "option",
|
|
195
193
|
"aria-selected": U(t.value),
|
|
196
|
-
disabled:
|
|
194
|
+
disabled: m.disabled || t.disabled,
|
|
197
195
|
tabindex: Z(n),
|
|
198
196
|
onClick: (e) => W(t),
|
|
199
197
|
onFocus: (e) => S(X).setActive(n)
|
|
200
|
-
}, [b(e.$slots, "option", { option: t }, () => [p(x(t.label), 1)])], 42,
|
|
198
|
+
}, [b(e.$slots, "option", { option: t }, () => [p(x(t.label), 1)])], 42, se)]))), 128)), R.value.length ? u("", !0) : (_(), d("li", ce, x(I.value), 1))]),
|
|
201
199
|
_: 3
|
|
202
200
|
}, 8, [
|
|
203
201
|
"view-style",
|
|
204
202
|
"aria-label",
|
|
205
203
|
"aria-multiselectable"
|
|
206
204
|
])),
|
|
207
|
-
z.value && !R.value.length ? (_(), d("div",
|
|
205
|
+
z.value && !R.value.length ? (_(), d("div", le, x(I.value), 1)) : u("", !0)
|
|
208
206
|
], 16));
|
|
209
207
|
}
|
|
210
208
|
});
|
package/dist/listbox/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
.m-scrollbar {
|
|
1207
1152
|
--m-scrollbar-track-size: 6px;
|
|
1208
1153
|
--m-scrollbar-inset: 0.125rem;
|
|
@@ -1327,14 +1272,6 @@
|
|
|
1327
1272
|
opacity: 0;
|
|
1328
1273
|
}
|
|
1329
1274
|
|
|
1330
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1331
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar__thumb,
|
|
1332
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-enter-active,
|
|
1333
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-leave-active {
|
|
1334
|
-
transition: none;
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
1275
|
:root[data-m-motion='none'] .m-scrollbar__thumb,
|
|
1339
1276
|
:root[data-m-motion='none'] .m-scrollbar-fade-enter-active,
|
|
1340
1277
|
:root[data-m-motion='none'] .m-scrollbar-fade-leave-active,
|
package/dist/loading/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../Loading-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../Loading-qS2Yv_gm.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { onBeforeUnmount as o } from "vue";
|
|
4
4
|
//#region src/components/Loading/directive.ts
|
package/dist/loading/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
/* —— Feedback: Loading —— */
|
|
1207
1152
|
|
|
1208
1153
|
.m-loading {
|
|
@@ -1558,22 +1503,6 @@
|
|
|
1558
1503
|
}
|
|
1559
1504
|
}
|
|
1560
1505
|
|
|
1561
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1562
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-aurora__ring,
|
|
1563
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-aurora__glow,
|
|
1564
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-bounce__ball,
|
|
1565
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-wave__bar,
|
|
1566
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-pulse__ring,
|
|
1567
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-stardust__dot,
|
|
1568
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-circular__svg,
|
|
1569
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-circular__path,
|
|
1570
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-enter-active,
|
|
1571
|
-
html:not([data-m-ignore-reduced-motion]) .m-loading-leave-active {
|
|
1572
|
-
animation: none;
|
|
1573
|
-
transition: none;
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
1506
|
[data-m-motion="reduced"] .m-loading-aurora__ring,
|
|
1578
1507
|
[data-m-motion="reduced"] .m-loading-aurora__glow,
|
|
1579
1508
|
[data-m-motion="reduced"] .m-loading-bounce__ball,
|
package/dist/mega-menu/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as ee } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as te } from "../overlayPlacement-
|
|
6
|
-
import { t as i } from "../useFloatingViewportSync-
|
|
5
|
+
import { t as te } from "../overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as i } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as a } from "../useMenuKeyboard-BedmYE4W.js";
|
|
8
8
|
import { t as ne } from "../icon-COrt_N8A.js";
|
|
9
9
|
import { c as re } from "../config-CapALqt3.js";
|
package/dist/mega-menu/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
.m-icon {
|
|
1207
1152
|
color: currentColor;
|
|
1208
1153
|
display: inline-flex;
|
|
@@ -1247,12 +1192,6 @@
|
|
|
1247
1192
|
}
|
|
1248
1193
|
}
|
|
1249
1194
|
|
|
1250
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1251
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1252
|
-
animation: none;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1257
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1258
1197
|
animation: none;
|