morya-ui 0.4.5 → 0.5.1
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 +41 -2
- package/dist/{Input-D2bee2LU.js → Input-BErawS7K.js} +1 -5
- package/dist/InputNumber-DjbXtTzR.js +245 -0
- package/dist/{Pagination-DpNOb0CS.js → Pagination-B8WYoL2a.js} +1 -1
- package/dist/{Popover-Bnz7KNZq.js → Popover-zQChu00_.js} +6 -1
- package/dist/{Select-q4X2ff_M.js → Select-BaFKBeIh.js} +2 -2
- package/dist/{Textarea-DsFOAtPd.js → Textarea-WCEgpzbq.js} +1 -5
- package/dist/accordion/style.css +6 -15
- package/dist/affix/style.css +6 -15
- package/dist/alert/style.css +6 -15
- package/dist/anchor/style.css +6 -15
- package/dist/auto-complete/style.css +6 -15
- package/dist/avatar/style.css +6 -15
- package/dist/badge/style.css +6 -15
- package/dist/block-ui/style.css +6 -15
- package/dist/breadcrumb/style.css +6 -15
- package/dist/button/style.css +6 -15
- package/dist/calendar/index.js +1 -1
- package/dist/calendar/style.css +6 -15
- package/dist/card/style.css +6 -15
- package/dist/carousel/style.css +6 -15
- package/dist/cascade-select/style.css +6 -15
- package/dist/checkbox/style.css +6 -15
- package/dist/chip/style.css +6 -15
- package/dist/color-picker/index.js +676 -0
- package/dist/{input-color → color-picker}/style.css +1406 -83
- package/dist/color-picker/style.js +8 -0
- package/dist/command-menu/index.js +73 -66
- package/dist/command-menu/style.css +6 -15
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +41 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -0
- package/dist/components/ColorPicker/colorUtils.d.ts +23 -0
- package/dist/components/ColorPicker/colorUtils.d.ts.map +1 -0
- package/dist/components/ColorPicker/gradientUtils.d.ts +9 -0
- package/dist/components/ColorPicker/gradientUtils.d.ts.map +1 -0
- package/dist/components/ColorPicker/index.d.ts +3 -0
- package/dist/components/ColorPicker/index.d.ts.map +1 -0
- package/dist/components/ColorPicker/styles.css +405 -0
- package/dist/components/ColorPicker/types.d.ts +60 -0
- package/dist/components/ColorPicker/types.d.ts.map +1 -0
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +1 -1
- package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +1 -1
- package/dist/components/Input/Input.vue.d.ts +0 -1
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/types.d.ts +0 -2
- package/dist/components/Input/types.d.ts.map +1 -1
- package/dist/components/InputNumber/styles.css +28 -10
- package/dist/components/InputPassword/InputPassword.vue.d.ts +0 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
- package/dist/components/InputPassword/types.d.ts +0 -2
- package/dist/components/InputPassword/types.d.ts.map +1 -1
- package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
- package/dist/components/Mentions/Mentions.vue.d.ts +0 -1
- package/dist/components/Mentions/Mentions.vue.d.ts.map +1 -1
- package/dist/components/Mentions/types.d.ts +0 -2
- package/dist/components/Mentions/types.d.ts.map +1 -1
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +45 -3
- package/dist/components/Menu/types.d.ts +3 -1
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Menubar/Menubar.vue.d.ts +2 -2
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +1 -1
- package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
- package/dist/components/Rating/Rating.vue.d.ts +1 -1
- package/dist/components/Rating/types.d.ts +2 -2
- package/dist/components/Rating/types.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts +3 -3
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.vue.d.ts +0 -1
- package/dist/components/Textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/Textarea/types.d.ts +0 -2
- package/dist/components/Textarea/types.d.ts.map +1 -1
- package/dist/components/TieredMenu/styles.css +2 -2
- package/dist/components/Tooltip/styles.css +15 -2
- package/dist/config-provider/style.css +6 -15
- package/dist/confirm-dialog/style.css +6 -15
- package/dist/confirm-popup/style.css +6 -15
- package/dist/context-menu/index.js +92 -84
- package/dist/context-menu/style.css +7 -16
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +6 -15
- package/dist/date-picker/style.css +6 -15
- package/dist/descriptions/style.css +6 -15
- package/dist/dialog/style.css +6 -15
- package/dist/divider/style.css +6 -15
- package/dist/dock/index.js +21 -18
- package/dist/dock/style.css +6 -15
- package/dist/drawer/style.css +6 -15
- package/dist/dropdown/index.js +103 -95
- package/dist/dropdown/style.css +7 -16
- package/dist/empty/style.css +6 -15
- package/dist/fieldset/style.css +6 -15
- package/dist/file-upload/style.css +6 -15
- package/dist/flex/style.css +6 -15
- package/dist/float-label/style.css +6 -15
- package/dist/fluid/style.css +6 -15
- package/dist/form/style.css +6 -15
- package/dist/gallery/style.css +6 -15
- package/dist/grid/style.css +6 -15
- package/dist/icon/style.css +6 -15
- package/dist/{icon-H8prbteT.js → icon-CUrSaD8r.js} +4 -1
- package/dist/icon-field/style.css +6 -15
- package/dist/image/style.css +6 -15
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4047 -3420
- package/dist/inplace/style.css +6 -15
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +6 -15
- package/dist/input-group/style.css +6 -15
- package/dist/input-number/index.js +2 -245
- package/dist/input-number/style.css +34 -25
- package/dist/input-otp/style.css +6 -15
- package/dist/input-password/index.js +1 -5
- package/dist/input-password/style.css +6 -15
- package/dist/input-tags/style.css +6 -15
- package/dist/knob/style.css +6 -15
- package/dist/label/style.css +6 -15
- package/dist/layout/style.css +6 -15
- package/dist/list/index.js +1 -1
- package/dist/list/style.css +6 -15
- package/dist/listbox/style.css +6 -15
- package/dist/loading/style.css +6 -15
- package/dist/mega-menu/index.js +94 -87
- package/dist/mega-menu/style.css +6 -15
- package/dist/mentions/index.js +35 -39
- package/dist/mentions/style.css +6 -15
- package/dist/menu/index.js +235 -213
- package/dist/menu/style.css +66 -20
- package/dist/menubar/index.js +107 -99
- package/dist/menubar/style.css +7 -16
- package/dist/message/style.css +6 -15
- package/dist/meter-group/style.css +6 -15
- package/dist/order-list/style.css +6 -15
- package/dist/page/style.css +6 -15
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +6 -15
- package/dist/panel/style.css +6 -15
- package/dist/pick-list/style.css +6 -15
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +6 -15
- package/dist/progress-bar/style.css +6 -15
- package/dist/progress-spinner/style.css +6 -15
- package/dist/qr-code/style.css +6 -15
- package/dist/radio/style.css +6 -15
- package/dist/rating/index.js +2 -2
- package/dist/rating/style.css +6 -15
- package/dist/resolver.js +1 -1
- package/dist/result/style.css +6 -15
- package/dist/scroll-top/style.css +6 -15
- package/dist/scrollbar/style.css +6 -15
- package/dist/segmented/style.css +6 -15
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +6 -15
- package/dist/select-button/style.css +6 -15
- package/dist/shared/menu/icon.d.ts +3 -0
- package/dist/shared/menu/icon.d.ts.map +1 -1
- package/dist/shared/menu/index.d.ts +2 -2
- package/dist/shared/menu/index.d.ts.map +1 -1
- package/dist/shared/menu/types.d.ts +3 -1
- package/dist/shared/menu/types.d.ts.map +1 -1
- package/dist/sidebar/index.js +37 -29
- package/dist/sidebar/style.css +6 -15
- package/dist/skeleton/style.css +6 -15
- package/dist/slider/style.css +6 -15
- package/dist/space/style.css +6 -15
- package/dist/speed-dial/index.js +101 -94
- package/dist/speed-dial/style.css +6 -15
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +6 -15
- package/dist/splitter/style.css +6 -15
- package/dist/statistic/style.css +6 -15
- package/dist/status/style.css +6 -15
- package/dist/stepper/style.css +6 -15
- package/dist/styles/base.css +6 -15
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +6 -15
- package/dist/table/index.js +3 -3
- package/dist/table/style.css +6 -15
- package/dist/tabs/style.css +6 -15
- package/dist/tag/style.css +6 -15
- package/dist/terminal/style.css +6 -15
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +6 -15
- package/dist/tiered-menu/style.css +8 -17
- package/dist/time-picker/style.css +6 -15
- package/dist/timeline/style.css +6 -15
- package/dist/toast/style.css +6 -15
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +6 -15
- package/dist/toolbar/style.css +6 -15
- package/dist/tooltip/style.css +21 -17
- package/dist/tour/style.css +6 -15
- package/dist/tree/style.css +6 -15
- package/dist/tree-select/style.css +6 -15
- package/dist/typography/index.js +1 -1
- package/dist/typography/style.css +6 -15
- package/dist/virtual-scroller/style.css +6 -15
- package/dist/watermark/style.css +6 -15
- package/package.json +8 -8
- package/dist/components/InputColor/InputColor.vue.d.ts +0 -24
- package/dist/components/InputColor/InputColor.vue.d.ts.map +0 -1
- package/dist/components/InputColor/index.d.ts +0 -3
- package/dist/components/InputColor/index.d.ts.map +0 -1
- package/dist/components/InputColor/styles.css +0 -139
- package/dist/components/InputColor/types.d.ts +0 -19
- package/dist/components/InputColor/types.d.ts.map +0 -1
- package/dist/input-color/index.js +0 -118
- package/dist/input-color/style.js +0 -3
package/dist/space/style.css
CHANGED
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
|
|
406
406
|
:root {
|
|
407
407
|
/* Shared minimum width for menu-like panels (select/orderlist/picklist) */
|
|
408
|
-
--m-menu-min-width: 12rem;
|
|
408
|
+
--m-overlay-menu-min-width: 12rem;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.m-button,
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
.m-progress-spinner,
|
|
464
464
|
.m-cascadeselect,
|
|
465
465
|
.m-treeselect,
|
|
466
|
-
.m-
|
|
466
|
+
.m-colorpicker,
|
|
467
467
|
.m-inputtags,
|
|
468
468
|
.m-label,
|
|
469
469
|
.m-speeddial,
|
|
@@ -489,8 +489,7 @@
|
|
|
489
489
|
.m-password__input:disabled,
|
|
490
490
|
.m-inputnumber__input:disabled,
|
|
491
491
|
.m-inputotp__input:disabled,
|
|
492
|
-
.m-
|
|
493
|
-
.m-inputcolor__swatch:disabled,
|
|
492
|
+
.m-colorpicker__trigger:disabled,
|
|
494
493
|
.m-inputtags--disabled {
|
|
495
494
|
background-color: var(--m-color-bg-disabled);
|
|
496
495
|
color: var(--m-color-text-disabled);
|
|
@@ -513,8 +512,7 @@
|
|
|
513
512
|
.m-textarea::placeholder,
|
|
514
513
|
.m-password__input::placeholder,
|
|
515
514
|
.m-inputnumber__input::placeholder,
|
|
516
|
-
.m-inputtags__input::placeholder
|
|
517
|
-
.m-inputcolor__text::placeholder {
|
|
515
|
+
.m-inputtags__input::placeholder {
|
|
518
516
|
color: var(--m-color-text-muted);
|
|
519
517
|
opacity: 1;
|
|
520
518
|
}
|
|
@@ -858,9 +856,7 @@
|
|
|
858
856
|
font-family: var(--m-font-sans);
|
|
859
857
|
gap: var(--m-space-2);
|
|
860
858
|
max-width: 100%;
|
|
861
|
-
min-width: var(--m-menu-min-width);
|
|
862
859
|
position: relative;
|
|
863
|
-
width: fit-content;
|
|
864
860
|
}
|
|
865
861
|
|
|
866
862
|
.m-textarea-field--fluid,
|
|
@@ -1051,7 +1047,7 @@
|
|
|
1051
1047
|
flex: 1;
|
|
1052
1048
|
max-height: 16rem;
|
|
1053
1049
|
min-height: 12rem;
|
|
1054
|
-
min-width: var(--m-menu-min-width);
|
|
1050
|
+
min-width: var(--m-overlay-menu-min-width);
|
|
1055
1051
|
}
|
|
1056
1052
|
|
|
1057
1053
|
.m-orderlist__list,
|
|
@@ -1119,7 +1115,6 @@
|
|
|
1119
1115
|
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1120
1116
|
.m-treeselect:not(.m-treeselect--open)
|
|
1121
1117
|
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1122
|
-
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1123
1118
|
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1124
1119
|
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1125
1120
|
.m-inplace__display:hover:not(:focus-visible) {
|
|
@@ -1134,8 +1129,6 @@
|
|
|
1134
1129
|
.m-treeselect--open .m-treeselect__trigger,
|
|
1135
1130
|
.m-treeselect__trigger:focus,
|
|
1136
1131
|
.m-treeselect__trigger:focus-visible,
|
|
1137
|
-
.m-inputcolor__text:focus,
|
|
1138
|
-
.m-inputcolor__text:focus-visible,
|
|
1139
1132
|
.m-inputtags:focus-within,
|
|
1140
1133
|
.m-togglebutton:focus-visible,
|
|
1141
1134
|
.m-selectbutton__button:focus-visible,
|
|
@@ -1150,9 +1143,7 @@
|
|
|
1150
1143
|
|
|
1151
1144
|
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1152
1145
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1153
|
-
.m-inputtags--invalid:focus-within
|
|
1154
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1155
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1146
|
+
.m-inputtags--invalid:focus-within {
|
|
1156
1147
|
border-color: var(--m-color-danger);
|
|
1157
1148
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1158
1149
|
}
|
package/dist/speed-dial/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
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
|
|
4
|
-
import { t as
|
|
3
|
+
import { t as r } from "../overlayPlacement-qwEJPVS4.js";
|
|
4
|
+
import { t as ee } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
5
5
|
import { t as te } from "../useMId-BXFYayPP.js";
|
|
6
6
|
import { t as ne } from "../useMotionTransition-DohkfWRB.js";
|
|
7
7
|
import { t as i } from "../Icon-CmHjx7W8.js";
|
|
8
8
|
import { t as re } from "../useMenuKeyboard-BedmYE4W.js";
|
|
9
|
-
import {
|
|
10
|
-
import { l as
|
|
11
|
-
import { n as
|
|
9
|
+
import { n as a, t as o } from "../icon-CUrSaD8r.js";
|
|
10
|
+
import { l as ie } from "../config-Cd20zAyW.js";
|
|
11
|
+
import { n as ae } from "../locale-BcxMPufl.js";
|
|
12
12
|
import "./style.js";
|
|
13
|
-
import { Fragment as
|
|
13
|
+
import { Fragment as oe, Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as se, nextTick as ce, normalizeClass as le, normalizeStyle as g, onBeforeUnmount as _, openBlock as v, ref as y, renderList as ue, renderSlot as b, resolveDynamicComponent as de, toDisplayString as fe, unref as x, useAttrs as pe, watch as S, withCtx as me } from "vue";
|
|
14
14
|
//#region src/components/SpeedDial/SpeedDial.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
-
var
|
|
15
|
+
var he = ["id"], C = [
|
|
16
16
|
"title",
|
|
17
17
|
"aria-label",
|
|
18
18
|
"disabled",
|
|
19
19
|
"tabindex",
|
|
20
20
|
"onClick"
|
|
21
|
-
],
|
|
21
|
+
], w = {
|
|
22
22
|
key: 0,
|
|
23
23
|
"aria-hidden": "true"
|
|
24
|
-
},
|
|
24
|
+
}, T = { class: "m-speeddial__action-label" }, E = [
|
|
25
25
|
"aria-label",
|
|
26
26
|
"aria-expanded",
|
|
27
27
|
"aria-controls",
|
|
28
28
|
"disabled"
|
|
29
|
-
],
|
|
29
|
+
], D = /* @__PURE__ */ h({
|
|
30
30
|
inheritAttrs: !1,
|
|
31
31
|
__name: "SpeedDial",
|
|
32
32
|
props: {
|
|
@@ -55,157 +55,164 @@ var fe = ["id"], w = [
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
emits: ["update:modelValue", "item-click"],
|
|
58
|
-
setup(
|
|
59
|
-
let
|
|
58
|
+
setup(h, { emit: D }) {
|
|
59
|
+
let O = h, k = D, A = pe(), { rootAttrs: j } = e(A, () => O.pt), M = ie(), { transitionName: N, transitionCss: P } = ne({
|
|
60
60
|
role: "popup",
|
|
61
|
-
local: () =>
|
|
61
|
+
local: () => O.transition,
|
|
62
62
|
componentName: "SpeedDial",
|
|
63
63
|
fallback: "scale-fade"
|
|
64
|
-
}),
|
|
64
|
+
}), F = ae(), I = l(() => O.ariaLabel ?? F.value.speedDial), L = y(null), R = y(null), z = y(null), B = y({}), V = te("m-speeddial-list"), H = l(() => t(O, M.value.appendTo)), U = l(() => n(O, M.value.appendTo)), ge = l(() => [
|
|
65
65
|
"m-speeddial",
|
|
66
|
-
`m-speeddial--${
|
|
67
|
-
`m-speeddial--${
|
|
68
|
-
`m-speeddial--${
|
|
66
|
+
`m-speeddial--${O.direction}`,
|
|
67
|
+
`m-speeddial--${O.shape}`,
|
|
68
|
+
`m-speeddial--${O.type}`,
|
|
69
69
|
{
|
|
70
|
-
"m-speeddial--open":
|
|
71
|
-
"m-speeddial--disabled":
|
|
70
|
+
"m-speeddial--open": O.modelValue,
|
|
71
|
+
"m-speeddial--disabled": O.disabled
|
|
72
72
|
}
|
|
73
73
|
]);
|
|
74
|
-
function
|
|
75
|
-
if (!
|
|
76
|
-
let e =
|
|
77
|
-
|
|
74
|
+
function W() {
|
|
75
|
+
if (!U.value || !R.value) return;
|
|
76
|
+
let e = R.value.getBoundingClientRect(), t = O.direction === "up" ? "top" : O.direction === "down" ? "bottom" : O.direction === "left" ? "left" : "right";
|
|
77
|
+
B.value = r(e, t);
|
|
78
78
|
}
|
|
79
|
-
let
|
|
80
|
-
itemCount: () =>
|
|
81
|
-
isItemDisabled: (e) => !!
|
|
82
|
-
enabled: () =>
|
|
79
|
+
let G = re({
|
|
80
|
+
itemCount: () => O.model.length,
|
|
81
|
+
isItemDisabled: (e) => !!O.model[e]?.disabled,
|
|
82
|
+
enabled: () => O.modelValue
|
|
83
83
|
});
|
|
84
|
-
function
|
|
85
|
-
|
|
84
|
+
function K(e = !1) {
|
|
85
|
+
k("update:modelValue", !1), e && R.value?.focus({ preventScroll: !0 });
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
let e =
|
|
89
|
-
e < 0 ||
|
|
87
|
+
function q() {
|
|
88
|
+
let e = G.activeIndex.value;
|
|
89
|
+
e < 0 || z.value?.querySelectorAll(".m-speeddial__action")[e]?.focus({ preventScroll: !0 });
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
return
|
|
91
|
+
function _e(e) {
|
|
92
|
+
return O.direction === "up" || O.direction === "down" ? e === "ArrowUp" ? O.direction === "up" ? 1 : -1 : e === "ArrowDown" ? O.direction === "up" ? -1 : 1 : null : e === "ArrowLeft" ? O.direction === "left" ? 1 : -1 : e === "ArrowRight" ? O.direction === "left" ? -1 : 1 : null;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
if (!
|
|
94
|
+
function J(e) {
|
|
95
|
+
if (!O.modelValue) return;
|
|
96
96
|
if (e.key === "Escape") {
|
|
97
|
-
e.preventDefault(),
|
|
97
|
+
e.preventDefault(), K(!0);
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
let t =
|
|
100
|
+
let t = _e(e.key);
|
|
101
101
|
if (t !== null) {
|
|
102
|
-
e.preventDefault(),
|
|
102
|
+
e.preventDefault(), G.move(t);
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
105
|
if (e.key === "Home") {
|
|
106
|
-
e.preventDefault(),
|
|
106
|
+
e.preventDefault(), G.moveFirst();
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
if (e.key === "End") {
|
|
110
|
-
e.preventDefault(),
|
|
110
|
+
e.preventDefault(), G.moveLast();
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
113
|
if (e.key === "Enter" || e.key === " ") {
|
|
114
|
-
let t =
|
|
115
|
-
n && !n.disabled && (e.preventDefault(),
|
|
114
|
+
let t = G.activeIndex.value, n = O.model[t];
|
|
115
|
+
n && !n.disabled && (e.preventDefault(), Y(n));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!
|
|
120
|
-
if (!
|
|
121
|
-
e.key.startsWith("Arrow") && (e.preventDefault(),
|
|
118
|
+
function ve(e) {
|
|
119
|
+
if (!O.disabled) {
|
|
120
|
+
if (!O.modelValue) {
|
|
121
|
+
e.key.startsWith("Arrow") && (e.preventDefault(), k("update:modelValue", !0));
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
J(e);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
|
|
127
|
+
function ye() {
|
|
128
|
+
O.disabled || k("update:modelValue", !O.modelValue);
|
|
129
|
+
}
|
|
130
|
+
function Y(e) {
|
|
131
|
+
O.disabled || e.disabled || (e.command?.(), k("item-click", e), K(!0));
|
|
129
132
|
}
|
|
130
133
|
function X(e) {
|
|
131
|
-
|
|
134
|
+
return typeof e.icon == "string" ? o(e.icon) : void 0;
|
|
132
135
|
}
|
|
133
136
|
function Z(e) {
|
|
134
137
|
return a(e.icon);
|
|
135
138
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
139
|
+
function be(e) {
|
|
140
|
+
return !!(X(e) || Z(e));
|
|
141
|
+
}
|
|
142
|
+
function xe() {
|
|
143
|
+
O.modelValue && W();
|
|
138
144
|
}
|
|
139
145
|
function Q(e) {
|
|
140
146
|
let t = e.target;
|
|
141
|
-
|
|
147
|
+
L.value?.contains(t) || z.value?.contains(t) || K();
|
|
142
148
|
}
|
|
143
149
|
function $(e) {
|
|
144
150
|
let t = e.target;
|
|
145
|
-
|
|
151
|
+
L.value?.contains(t) || z.value?.contains(t) || K();
|
|
146
152
|
}
|
|
147
|
-
return
|
|
148
|
-
|
|
149
|
-
}),
|
|
150
|
-
e ? (
|
|
151
|
-
|
|
152
|
-
}), document.addEventListener("click", Q), document.addEventListener("focusin", $)) : (
|
|
153
|
+
return S(G.activeIndex, () => {
|
|
154
|
+
O.modelValue && q();
|
|
155
|
+
}), ee(() => O.modelValue && U.value, xe), S(() => O.modelValue, (e) => {
|
|
156
|
+
e ? (ce(() => {
|
|
157
|
+
W(), G.moveFirst(), q();
|
|
158
|
+
}), document.addEventListener("click", Q), document.addEventListener("focusin", $)) : (G.reset(), document.removeEventListener("click", Q), document.removeEventListener("focusin", $));
|
|
153
159
|
}, { immediate: !0 }), _(() => {
|
|
154
160
|
document.removeEventListener("click", Q), document.removeEventListener("focusin", $);
|
|
155
|
-
}), (e, t) => (v(),
|
|
161
|
+
}), (e, t) => (v(), f("div", se(x(j), {
|
|
156
162
|
ref_key: "root",
|
|
157
|
-
ref:
|
|
158
|
-
class:
|
|
159
|
-
}), [(v(),
|
|
160
|
-
to:
|
|
161
|
-
disabled:
|
|
162
|
-
}, [
|
|
163
|
-
name:
|
|
164
|
-
css:
|
|
163
|
+
ref: L,
|
|
164
|
+
class: ge.value
|
|
165
|
+
}), [(v(), u(s, {
|
|
166
|
+
to: H.value.to,
|
|
167
|
+
disabled: H.value.disabled
|
|
168
|
+
}, [m(c, {
|
|
169
|
+
name: x(N),
|
|
170
|
+
css: x(P)
|
|
165
171
|
}, {
|
|
166
|
-
default:
|
|
172
|
+
default: me(() => [h.modelValue ? (v(), f("ul", {
|
|
167
173
|
key: 0,
|
|
168
|
-
id:
|
|
174
|
+
id: x(V),
|
|
169
175
|
ref_key: "list",
|
|
170
|
-
ref:
|
|
171
|
-
class:
|
|
172
|
-
style:
|
|
176
|
+
ref: z,
|
|
177
|
+
class: le(["m-speeddial__list", { "m-speeddial__list--teleported": U.value }]),
|
|
178
|
+
style: g(U.value ? B.value : void 0),
|
|
173
179
|
role: "menu",
|
|
174
|
-
onKeydown:
|
|
175
|
-
}, [(v(!0),
|
|
180
|
+
onKeydown: J
|
|
181
|
+
}, [(v(!0), f(oe, null, ue(h.model, (t, n) => (v(), f("li", {
|
|
176
182
|
key: `${t.label}-${n}`,
|
|
177
183
|
role: "none"
|
|
178
|
-
}, [
|
|
184
|
+
}, [p("button", {
|
|
179
185
|
type: "button",
|
|
180
186
|
class: "m-speeddial__action",
|
|
181
187
|
role: "menuitem",
|
|
182
188
|
title: t.label,
|
|
183
189
|
"aria-label": t.label,
|
|
184
190
|
disabled: t.disabled,
|
|
185
|
-
tabindex:
|
|
186
|
-
onClick: (e) =>
|
|
187
|
-
}, [
|
|
188
|
-
|
|
191
|
+
tabindex: x(G).tabindexFor(n),
|
|
192
|
+
onClick: (e) => Y(t)
|
|
193
|
+
}, [b(e.$slots, "item", { item: t }, () => [be(t) ? (v(), f("span", w, [X(t) ? (v(), u(i, {
|
|
194
|
+
key: 0,
|
|
195
|
+
name: X(t),
|
|
189
196
|
size: "sm"
|
|
190
|
-
}, null, 8, ["name"])])) :
|
|
197
|
+
}, null, 8, ["name"])) : Z(t) ? (v(), u(de(Z(t)), { key: 1 })) : d("", !0)])) : d("", !0), p("span", T, fe(t.label), 1)])], 8, C)]))), 128))], 46, he)) : d("", !0)]),
|
|
191
198
|
_: 3
|
|
192
|
-
}, 8, ["name", "css"])], 8, ["to", "disabled"])),
|
|
199
|
+
}, 8, ["name", "css"])], 8, ["to", "disabled"])), b(e.$slots, "button", {}, () => [p("button", {
|
|
193
200
|
ref_key: "button",
|
|
194
|
-
ref:
|
|
201
|
+
ref: R,
|
|
195
202
|
type: "button",
|
|
196
203
|
class: "m-speeddial__button",
|
|
197
|
-
"aria-label":
|
|
198
|
-
"aria-expanded":
|
|
199
|
-
"aria-controls":
|
|
204
|
+
"aria-label": I.value,
|
|
205
|
+
"aria-expanded": h.modelValue,
|
|
206
|
+
"aria-controls": h.modelValue ? x(V) : void 0,
|
|
200
207
|
"aria-haspopup": "menu",
|
|
201
|
-
disabled:
|
|
202
|
-
onClick:
|
|
203
|
-
onKeydown:
|
|
204
|
-
}, [
|
|
208
|
+
disabled: h.disabled,
|
|
209
|
+
onClick: ye,
|
|
210
|
+
onKeydown: ve
|
|
211
|
+
}, [b(e.$slots, "icon", {}, () => [m(i, {
|
|
205
212
|
name: "plus",
|
|
206
213
|
size: "sm"
|
|
207
|
-
})])], 40,
|
|
214
|
+
})])], 40, E)])], 16));
|
|
208
215
|
}
|
|
209
216
|
});
|
|
210
217
|
//#endregion
|
|
211
|
-
export {
|
|
218
|
+
export { D as MSpeedDial };
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
|
|
406
406
|
:root {
|
|
407
407
|
/* Shared minimum width for menu-like panels (select/orderlist/picklist) */
|
|
408
|
-
--m-menu-min-width: 12rem;
|
|
408
|
+
--m-overlay-menu-min-width: 12rem;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.m-button,
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
.m-progress-spinner,
|
|
464
464
|
.m-cascadeselect,
|
|
465
465
|
.m-treeselect,
|
|
466
|
-
.m-
|
|
466
|
+
.m-colorpicker,
|
|
467
467
|
.m-inputtags,
|
|
468
468
|
.m-label,
|
|
469
469
|
.m-speeddial,
|
|
@@ -489,8 +489,7 @@
|
|
|
489
489
|
.m-password__input:disabled,
|
|
490
490
|
.m-inputnumber__input:disabled,
|
|
491
491
|
.m-inputotp__input:disabled,
|
|
492
|
-
.m-
|
|
493
|
-
.m-inputcolor__swatch:disabled,
|
|
492
|
+
.m-colorpicker__trigger:disabled,
|
|
494
493
|
.m-inputtags--disabled {
|
|
495
494
|
background-color: var(--m-color-bg-disabled);
|
|
496
495
|
color: var(--m-color-text-disabled);
|
|
@@ -513,8 +512,7 @@
|
|
|
513
512
|
.m-textarea::placeholder,
|
|
514
513
|
.m-password__input::placeholder,
|
|
515
514
|
.m-inputnumber__input::placeholder,
|
|
516
|
-
.m-inputtags__input::placeholder
|
|
517
|
-
.m-inputcolor__text::placeholder {
|
|
515
|
+
.m-inputtags__input::placeholder {
|
|
518
516
|
color: var(--m-color-text-muted);
|
|
519
517
|
opacity: 1;
|
|
520
518
|
}
|
|
@@ -858,9 +856,7 @@
|
|
|
858
856
|
font-family: var(--m-font-sans);
|
|
859
857
|
gap: var(--m-space-2);
|
|
860
858
|
max-width: 100%;
|
|
861
|
-
min-width: var(--m-menu-min-width);
|
|
862
859
|
position: relative;
|
|
863
|
-
width: fit-content;
|
|
864
860
|
}
|
|
865
861
|
|
|
866
862
|
.m-textarea-field--fluid,
|
|
@@ -1051,7 +1047,7 @@
|
|
|
1051
1047
|
flex: 1;
|
|
1052
1048
|
max-height: 16rem;
|
|
1053
1049
|
min-height: 12rem;
|
|
1054
|
-
min-width: var(--m-menu-min-width);
|
|
1050
|
+
min-width: var(--m-overlay-menu-min-width);
|
|
1055
1051
|
}
|
|
1056
1052
|
|
|
1057
1053
|
.m-orderlist__list,
|
|
@@ -1119,7 +1115,6 @@
|
|
|
1119
1115
|
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1120
1116
|
.m-treeselect:not(.m-treeselect--open)
|
|
1121
1117
|
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1122
|
-
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1123
1118
|
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1124
1119
|
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1125
1120
|
.m-inplace__display:hover:not(:focus-visible) {
|
|
@@ -1134,8 +1129,6 @@
|
|
|
1134
1129
|
.m-treeselect--open .m-treeselect__trigger,
|
|
1135
1130
|
.m-treeselect__trigger:focus,
|
|
1136
1131
|
.m-treeselect__trigger:focus-visible,
|
|
1137
|
-
.m-inputcolor__text:focus,
|
|
1138
|
-
.m-inputcolor__text:focus-visible,
|
|
1139
1132
|
.m-inputtags:focus-within,
|
|
1140
1133
|
.m-togglebutton:focus-visible,
|
|
1141
1134
|
.m-selectbutton__button:focus-visible,
|
|
@@ -1150,9 +1143,7 @@
|
|
|
1150
1143
|
|
|
1151
1144
|
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1152
1145
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1153
|
-
.m-inputtags--invalid:focus-within
|
|
1154
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1155
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1146
|
+
.m-inputtags--invalid:focus-within {
|
|
1156
1147
|
border-color: var(--m-color-danger);
|
|
1157
1148
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1158
1149
|
}
|
|
@@ -98,9 +98,9 @@ var _e = ["disabled"], S = {
|
|
|
98
98
|
function xe(e) {
|
|
99
99
|
D.disabled || O("click", e);
|
|
100
100
|
}
|
|
101
|
-
function X() {
|
|
101
|
+
function X(e = !1) {
|
|
102
102
|
F.value = !0, g(() => {
|
|
103
|
-
q(), J.moveFirst(), Y();
|
|
103
|
+
q(), e ? (J.moveFirst(), Y()) : J.reset();
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
function Se() {
|
|
@@ -115,7 +115,7 @@ var _e = ["disabled"], S = {
|
|
|
115
115
|
function Ce(e) {
|
|
116
116
|
if (!D.disabled) {
|
|
117
117
|
if (!F.value) {
|
|
118
|
-
(e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), X());
|
|
118
|
+
(e.key === "ArrowDown" || e.key === "ArrowUp") && (e.preventDefault(), X(!0));
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
J.onKeydown(e);
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
|
|
406
406
|
:root {
|
|
407
407
|
/* Shared minimum width for menu-like panels (select/orderlist/picklist) */
|
|
408
|
-
--m-menu-min-width: 12rem;
|
|
408
|
+
--m-overlay-menu-min-width: 12rem;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.m-button,
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
.m-progress-spinner,
|
|
464
464
|
.m-cascadeselect,
|
|
465
465
|
.m-treeselect,
|
|
466
|
-
.m-
|
|
466
|
+
.m-colorpicker,
|
|
467
467
|
.m-inputtags,
|
|
468
468
|
.m-label,
|
|
469
469
|
.m-speeddial,
|
|
@@ -489,8 +489,7 @@
|
|
|
489
489
|
.m-password__input:disabled,
|
|
490
490
|
.m-inputnumber__input:disabled,
|
|
491
491
|
.m-inputotp__input:disabled,
|
|
492
|
-
.m-
|
|
493
|
-
.m-inputcolor__swatch:disabled,
|
|
492
|
+
.m-colorpicker__trigger:disabled,
|
|
494
493
|
.m-inputtags--disabled {
|
|
495
494
|
background-color: var(--m-color-bg-disabled);
|
|
496
495
|
color: var(--m-color-text-disabled);
|
|
@@ -513,8 +512,7 @@
|
|
|
513
512
|
.m-textarea::placeholder,
|
|
514
513
|
.m-password__input::placeholder,
|
|
515
514
|
.m-inputnumber__input::placeholder,
|
|
516
|
-
.m-inputtags__input::placeholder
|
|
517
|
-
.m-inputcolor__text::placeholder {
|
|
515
|
+
.m-inputtags__input::placeholder {
|
|
518
516
|
color: var(--m-color-text-muted);
|
|
519
517
|
opacity: 1;
|
|
520
518
|
}
|
|
@@ -858,9 +856,7 @@
|
|
|
858
856
|
font-family: var(--m-font-sans);
|
|
859
857
|
gap: var(--m-space-2);
|
|
860
858
|
max-width: 100%;
|
|
861
|
-
min-width: var(--m-menu-min-width);
|
|
862
859
|
position: relative;
|
|
863
|
-
width: fit-content;
|
|
864
860
|
}
|
|
865
861
|
|
|
866
862
|
.m-textarea-field--fluid,
|
|
@@ -1051,7 +1047,7 @@
|
|
|
1051
1047
|
flex: 1;
|
|
1052
1048
|
max-height: 16rem;
|
|
1053
1049
|
min-height: 12rem;
|
|
1054
|
-
min-width: var(--m-menu-min-width);
|
|
1050
|
+
min-width: var(--m-overlay-menu-min-width);
|
|
1055
1051
|
}
|
|
1056
1052
|
|
|
1057
1053
|
.m-orderlist__list,
|
|
@@ -1119,7 +1115,6 @@
|
|
|
1119
1115
|
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1120
1116
|
.m-treeselect:not(.m-treeselect--open)
|
|
1121
1117
|
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1122
|
-
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1123
1118
|
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1124
1119
|
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1125
1120
|
.m-inplace__display:hover:not(:focus-visible) {
|
|
@@ -1134,8 +1129,6 @@
|
|
|
1134
1129
|
.m-treeselect--open .m-treeselect__trigger,
|
|
1135
1130
|
.m-treeselect__trigger:focus,
|
|
1136
1131
|
.m-treeselect__trigger:focus-visible,
|
|
1137
|
-
.m-inputcolor__text:focus,
|
|
1138
|
-
.m-inputcolor__text:focus-visible,
|
|
1139
1132
|
.m-inputtags:focus-within,
|
|
1140
1133
|
.m-togglebutton:focus-visible,
|
|
1141
1134
|
.m-selectbutton__button:focus-visible,
|
|
@@ -1150,9 +1143,7 @@
|
|
|
1150
1143
|
|
|
1151
1144
|
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1152
1145
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1153
|
-
.m-inputtags--invalid:focus-within
|
|
1154
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1155
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1146
|
+
.m-inputtags--invalid:focus-within {
|
|
1156
1147
|
border-color: var(--m-color-danger);
|
|
1157
1148
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1158
1149
|
}
|
package/dist/splitter/style.css
CHANGED
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
|
|
406
406
|
:root {
|
|
407
407
|
/* Shared minimum width for menu-like panels (select/orderlist/picklist) */
|
|
408
|
-
--m-menu-min-width: 12rem;
|
|
408
|
+
--m-overlay-menu-min-width: 12rem;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.m-button,
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
.m-progress-spinner,
|
|
464
464
|
.m-cascadeselect,
|
|
465
465
|
.m-treeselect,
|
|
466
|
-
.m-
|
|
466
|
+
.m-colorpicker,
|
|
467
467
|
.m-inputtags,
|
|
468
468
|
.m-label,
|
|
469
469
|
.m-speeddial,
|
|
@@ -489,8 +489,7 @@
|
|
|
489
489
|
.m-password__input:disabled,
|
|
490
490
|
.m-inputnumber__input:disabled,
|
|
491
491
|
.m-inputotp__input:disabled,
|
|
492
|
-
.m-
|
|
493
|
-
.m-inputcolor__swatch:disabled,
|
|
492
|
+
.m-colorpicker__trigger:disabled,
|
|
494
493
|
.m-inputtags--disabled {
|
|
495
494
|
background-color: var(--m-color-bg-disabled);
|
|
496
495
|
color: var(--m-color-text-disabled);
|
|
@@ -513,8 +512,7 @@
|
|
|
513
512
|
.m-textarea::placeholder,
|
|
514
513
|
.m-password__input::placeholder,
|
|
515
514
|
.m-inputnumber__input::placeholder,
|
|
516
|
-
.m-inputtags__input::placeholder
|
|
517
|
-
.m-inputcolor__text::placeholder {
|
|
515
|
+
.m-inputtags__input::placeholder {
|
|
518
516
|
color: var(--m-color-text-muted);
|
|
519
517
|
opacity: 1;
|
|
520
518
|
}
|
|
@@ -858,9 +856,7 @@
|
|
|
858
856
|
font-family: var(--m-font-sans);
|
|
859
857
|
gap: var(--m-space-2);
|
|
860
858
|
max-width: 100%;
|
|
861
|
-
min-width: var(--m-menu-min-width);
|
|
862
859
|
position: relative;
|
|
863
|
-
width: fit-content;
|
|
864
860
|
}
|
|
865
861
|
|
|
866
862
|
.m-textarea-field--fluid,
|
|
@@ -1051,7 +1047,7 @@
|
|
|
1051
1047
|
flex: 1;
|
|
1052
1048
|
max-height: 16rem;
|
|
1053
1049
|
min-height: 12rem;
|
|
1054
|
-
min-width: var(--m-menu-min-width);
|
|
1050
|
+
min-width: var(--m-overlay-menu-min-width);
|
|
1055
1051
|
}
|
|
1056
1052
|
|
|
1057
1053
|
.m-orderlist__list,
|
|
@@ -1119,7 +1115,6 @@
|
|
|
1119
1115
|
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1120
1116
|
.m-treeselect:not(.m-treeselect--open)
|
|
1121
1117
|
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1122
|
-
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1123
1118
|
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1124
1119
|
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1125
1120
|
.m-inplace__display:hover:not(:focus-visible) {
|
|
@@ -1134,8 +1129,6 @@
|
|
|
1134
1129
|
.m-treeselect--open .m-treeselect__trigger,
|
|
1135
1130
|
.m-treeselect__trigger:focus,
|
|
1136
1131
|
.m-treeselect__trigger:focus-visible,
|
|
1137
|
-
.m-inputcolor__text:focus,
|
|
1138
|
-
.m-inputcolor__text:focus-visible,
|
|
1139
1132
|
.m-inputtags:focus-within,
|
|
1140
1133
|
.m-togglebutton:focus-visible,
|
|
1141
1134
|
.m-selectbutton__button:focus-visible,
|
|
@@ -1150,9 +1143,7 @@
|
|
|
1150
1143
|
|
|
1151
1144
|
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1152
1145
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1153
|
-
.m-inputtags--invalid:focus-within
|
|
1154
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1155
|
-
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1146
|
+
.m-inputtags--invalid:focus-within {
|
|
1156
1147
|
border-color: var(--m-color-danger);
|
|
1157
1148
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1158
1149
|
}
|