morya-ui 0.4.0 → 0.4.2
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 +70 -2
- package/dist/Button-BaYLh91a.js +326 -0
- package/dist/{Checkbox-BKt8hdhV.js → Checkbox-LxCFF19I.js} +1 -1
- package/dist/{DatePicker-CSoMFEvh.js → DatePicker-DGPNukEW.js} +3 -3
- package/dist/{Empty-iNcc0G-q.js → Empty-2_f_FgyK.js} +1 -1
- package/dist/{FlyoutSubmenu-C1RfFRzH.js → FlyoutSubmenu-Da6AcoM4.js} +1 -1
- package/dist/{Input-DQHYqvNk.js → Input-NspPDc2R.js} +2 -2
- package/dist/{Loading-BPpR-jGa.js → Loading-BK4dQPCS.js} +10 -10
- package/dist/{Pagination-BkPBWEQq.js → Pagination-tdrlaZ3u.js} +2 -2
- package/dist/{Popover-B_2c9NWs.js → Popover-BumMfUpV.js} +2 -2
- package/dist/{ProgressSpinner-B_OJG_0l.js → ProgressSpinner-BQ1tLioO.js} +1 -1
- package/dist/{Radio-Bxd806ys.js → Radio-BCn2OVCF.js} +1 -1
- package/dist/{Segmented-BRMSmXCl.js → Segmented-ppmDmku5.js} +1 -1
- package/dist/{Select-DzfyO0FE.js → Select-CN1tM76U.js} +8 -6
- package/dist/{Textarea-BBvpgIQL.js → Textarea-Ch1KCXEv.js} +2 -2
- package/dist/{Tooltip-BJp-ZMqQ.js → Tooltip-DKsXxU_B.js} +2 -2
- package/dist/accordion/style.css +39 -20
- package/dist/affix/style.css +39 -20
- package/dist/alert/index.js +2 -2
- package/dist/alert/style.css +39 -20
- package/dist/anchor/style.css +39 -20
- package/dist/auto-complete/index.js +3 -3
- package/dist/auto-complete/style.css +42 -21
- package/dist/avatar/style.css +39 -20
- package/dist/badge/index.js +29 -28
- package/dist/badge/style.css +39 -20
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +39 -20
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +39 -20
- package/dist/button/index.js +9 -9
- package/dist/button/style.css +503 -795
- package/dist/button/style.js +1 -0
- package/dist/calendar/index.js +3 -3
- package/dist/calendar/style.css +49 -24
- package/dist/card/style.css +40 -21
- package/dist/carousel/index.js +311 -119
- package/dist/carousel/style.css +987 -117
- package/dist/carousel/style.js +1 -1
- package/dist/cascade-select/index.js +4 -4
- package/dist/cascade-select/style.css +54 -22
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +41 -21
- package/dist/chip/index.js +39 -36
- package/dist/chip/style.css +39 -20
- package/dist/command-menu/index.js +3 -3
- package/dist/command-menu/style.css +39 -20
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Badge/types.d.ts +3 -0
- package/dist/components/Badge/types.d.ts.map +1 -1
- package/dist/components/Button/Button.vue.d.ts +15 -22
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/buttonHelpers.d.ts +25 -0
- package/dist/components/Button/buttonHelpers.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css +463 -781
- package/dist/components/Button/types.d.ts +67 -61
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/styles.css +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +41 -11
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/CarouselItem.vue.d.ts +16 -0
- package/dist/components/Carousel/CarouselItem.vue.d.ts.map +1 -0
- package/dist/components/Carousel/context.d.ts +10 -0
- package/dist/components/Carousel/context.d.ts.map +1 -0
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +250 -49
- package/dist/components/Carousel/types.d.ts +64 -9
- package/dist/components/Carousel/types.d.ts.map +1 -1
- package/dist/components/CascadeSelect/styles.css +12 -1
- package/dist/components/Checkbox/styles.css +2 -1
- package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
- package/dist/components/Chip/types.d.ts +3 -0
- package/dist/components/Chip/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +2 -2
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/useConfirm.d.ts +1 -1
- package/dist/components/ConfirmDialog/useConfirm.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/types.d.ts +3 -3
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +2 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/types.d.ts +3 -3
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Dialog/useModal.d.ts +2 -2
- package/dist/components/Dialog/useModal.d.ts.map +1 -1
- package/dist/components/Divider/Divider.vue.d.ts +1 -1
- package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
- package/dist/components/Divider/types.d.ts +3 -0
- package/dist/components/Divider/types.d.ts.map +1 -1
- package/dist/components/IconField/styles.css +1 -1
- package/dist/components/Input/styles.css +20 -8
- package/dist/components/InputColor/styles.css +10 -0
- package/dist/components/InputNumber/styles.css +2 -1
- package/dist/components/InputOtp/styles.css +8 -0
- package/dist/components/InputPassword/styles.css +1 -1
- package/dist/components/InputTags/styles.css +9 -0
- package/dist/components/Layout/styles.css +1 -1
- package/dist/components/Listbox/styles.css +3 -0
- package/dist/components/Mentions/Mentions.vue.d.ts +1 -1
- package/dist/components/Mentions/styles.css +13 -4
- package/dist/components/Message/styles.css +4 -2
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +3 -2
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/types.d.ts +3 -0
- package/dist/components/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/QRCode/QRCode.vue.d.ts.map +1 -1
- package/dist/components/Radio/styles.css +2 -1
- package/dist/components/Result/styles.css +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/styles.css +8 -3
- package/dist/components/SelectButton/styles.css +2 -0
- package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/types.d.ts +3 -3
- package/dist/components/SplitButton/types.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +4 -4
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/render/TableThead.vue.d.ts +2 -0
- package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
- package/dist/components/Table/state/internal.d.ts +1 -0
- package/dist/components/Table/state/internal.d.ts.map +1 -1
- package/dist/components/Table/styles.css +9 -0
- package/dist/components/Tag/Tag.vue.d.ts +1 -1
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Tag/styles.css +10 -8
- package/dist/components/Tag/types.d.ts +3 -0
- package/dist/components/Tag/types.d.ts.map +1 -1
- package/dist/components/Terminal/styles.css +1 -0
- package/dist/components/Textarea/styles.css +18 -7
- package/dist/components/ToggleButton/styles.css +2 -1
- package/dist/components/Tour/Tour.vue.d.ts.map +1 -1
- package/dist/components/Tree/Tree.vue.d.ts +1 -1
- package/dist/components/TreeSelect/styles.css +12 -1
- package/dist/{config-COgrsSV2.js → config-CB_TiIvg.js} +11 -4
- package/dist/config-provider/index.js +141 -120
- package/dist/config-provider/style.css +514 -801
- package/dist/confirm-dialog/index.js +45 -39
- package/dist/confirm-dialog/style.css +496 -795
- package/dist/confirm-popup/index.js +17 -14
- package/dist/confirm-popup/style.css +496 -795
- package/dist/context-menu/index.js +3 -3
- package/dist/context-menu/style.css +39 -20
- package/dist/data-view/index.js +3 -3
- package/dist/data-view/style.css +42 -22
- package/dist/date-picker/index.js +1 -1
- package/dist/date-picker/style.css +41 -21
- package/dist/descriptions/index.js +1 -1
- package/dist/descriptions/style.css +39 -20
- package/dist/dialog/index.js +68 -55
- package/dist/dialog/style.css +496 -795
- package/dist/divider/index.js +25 -22
- package/dist/divider/style.css +39 -20
- package/dist/dock/style.css +39 -20
- package/dist/drawer/index.js +3 -3
- package/dist/drawer/style.css +39 -20
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +39 -20
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +39 -20
- package/dist/fieldset/style.css +39 -20
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +39 -20
- package/dist/flex/index.js +8 -8
- package/dist/flex/style.css +39 -20
- package/dist/float-label/style.css +39 -20
- package/dist/fluid/style.css +39 -20
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +39 -20
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +39 -20
- package/dist/grid/index.js +5 -5
- package/dist/grid/style.css +39 -20
- package/dist/icon/style.css +39 -20
- package/dist/icon-field/style.css +60 -29
- package/dist/image/index.js +1 -1
- package/dist/image/style.css +39 -20
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6500 -6163
- package/dist/inplace/style.css +39 -20
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +59 -28
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +49 -20
- package/dist/input-group/style.css +39 -20
- package/dist/input-number/index.js +2 -2
- package/dist/input-number/style.css +41 -21
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +47 -20
- package/dist/input-password/index.js +2 -2
- package/dist/input-password/style.css +40 -21
- package/dist/input-tags/index.js +2 -2
- package/dist/input-tags/style.css +48 -20
- package/dist/knob/style.css +39 -20
- package/dist/label/style.css +39 -20
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +40 -21
- package/dist/list/index.js +4 -4
- package/dist/list/style.css +42 -22
- package/dist/listbox/index.js +2 -2
- package/dist/listbox/style.css +42 -20
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +39 -20
- package/dist/locale-CR2PIaxt.js +21 -0
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +39 -20
- package/dist/mentions/index.js +3 -3
- package/dist/mentions/style.css +52 -24
- package/dist/menu/index.js +4 -4
- package/dist/menu/style.css +39 -20
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +39 -20
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +43 -22
- package/dist/meter-group/style.css +39 -20
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +39 -20
- package/dist/page/index.js +4 -7
- package/dist/page/style.css +497 -796
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +50 -25
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +39 -20
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +39 -20
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +39 -20
- package/dist/progress-bar/index.js +38 -35
- package/dist/progress-bar/style.css +39 -20
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +39 -20
- package/dist/qr-code/index.js +3 -3
- package/dist/qr-code/style.css +496 -795
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +41 -21
- package/dist/rating/index.js +2 -2
- package/dist/rating/style.css +39 -20
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +1 -0
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +40 -21
- package/dist/scroll-top/index.js +2 -2
- package/dist/scroll-top/style.css +39 -20
- package/dist/scrollbar/style.css +39 -20
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style.css +39 -20
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +50 -24
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +41 -20
- package/dist/shared/componentDefaults.d.ts +6 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/shared/styles/select-overlay.css +3 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +39 -20
- package/dist/skeleton/style.css +39 -20
- package/dist/slider/index.js +2 -2
- package/dist/slider/style.css +39 -20
- package/dist/space/index.js +8 -8
- package/dist/space/style.css +39 -20
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +39 -20
- package/dist/split-button/index.js +7 -10
- package/dist/split-button/style.css +502 -801
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +39 -20
- package/dist/statistic/style.css +39 -20
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +39 -20
- package/dist/stepper/style.css +39 -20
- package/dist/styles/base.css +19 -7
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +39 -20
- package/dist/table/index.js +1628 -1622
- package/dist/table/style.css +51 -22
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +39 -20
- package/dist/tag/index.js +57 -54
- package/dist/tag/style.css +49 -28
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +40 -20
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +57 -27
- package/dist/theme/color.d.ts +5 -0
- package/dist/theme/color.d.ts.map +1 -1
- package/dist/theme/derive.d.ts.map +1 -1
- package/dist/theme/seed.d.ts +2 -2
- package/dist/theme/styles.css +20 -13
- package/dist/tiered-menu/index.js +3 -3
- package/dist/tiered-menu/style.css +39 -20
- package/dist/time-picker/index.js +1 -1
- package/dist/time-picker/style.css +41 -21
- package/dist/timeline/style.css +39 -20
- package/dist/toast/index.js +3 -3
- package/dist/toast/style.css +496 -795
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +41 -21
- package/dist/toolbar/style.css +39 -20
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +39 -20
- package/dist/tour/index.js +7 -8
- package/dist/tour/style.css +496 -795
- package/dist/tree/index.js +2 -2
- package/dist/tree/style.css +41 -21
- package/dist/tree-select/index.js +4 -4
- package/dist/tree-select/style.css +56 -23
- package/dist/typography/index.js +2 -2
- package/dist/typography/style.css +57 -27
- package/dist/{useMotionTransition-S2rlviyZ.js → useMotionTransition-D8JOR3ih.js} +1 -1
- package/dist/virtual-scroller/style.css +39 -20
- package/dist/watermark/style.css +39 -20
- package/package.json +1 -1
- package/dist/Button-TaJ0LKtP.js +0 -234
- package/dist/locale-Dnk0UIie.js +0 -21
package/dist/tree/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { a as t, t as n } from "../Icon-od9Ob-Ay.js";
|
|
3
3
|
import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
|
|
4
|
-
import { t as i } from "../Checkbox-
|
|
4
|
+
import { t as i } from "../Checkbox-LxCFF19I.js";
|
|
5
5
|
import { a, c as ee, d as o, f as s, i as c, l, o as u, p as d, r as te, s as ne, t as f } from "../treeQuery-CnHkyYOA.js";
|
|
6
|
-
import { n as re } from "../locale-
|
|
6
|
+
import { n as re } from "../locale-CR2PIaxt.js";
|
|
7
7
|
import "./style.js";
|
|
8
8
|
import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, defineComponent as b, inject as x, mergeProps as S, nextTick as C, normalizeClass as w, openBlock as T, provide as E, reactive as D, ref as O, renderList as ie, renderSlot as ae, resolveDynamicComponent as oe, toDisplayString as k, unref as A, useAttrs as se, useSlots as ce, watch as j, withModifiers as M } from "vue";
|
|
9
9
|
//#region src/components/Tree/context.ts
|
package/dist/tree/style.css
CHANGED
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
--m-color-border: #d9d9d9;
|
|
10
10
|
--m-color-split: #f0f0f0;
|
|
11
11
|
--m-color-focus-ring: #1677ff;
|
|
12
|
+
/* Soft translucent control-outline ring (primary bg composited over container) */
|
|
13
|
+
--m-color-control-outline: rgba(5, 145, 255, 0.1);
|
|
14
|
+
--m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
|
|
15
|
+
--m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
|
|
12
16
|
/* Control sizing: medium control height 32px */
|
|
13
17
|
--m-control-height-small: 24px;
|
|
14
18
|
--m-control-height-medium: 32px;
|
|
@@ -22,12 +26,12 @@
|
|
|
22
26
|
|
|
23
27
|
--m-radius-control: 6px;
|
|
24
28
|
--m-border-width: 1px;
|
|
25
|
-
--m-focus-
|
|
26
|
-
|
|
27
|
-
--m-focus-shadow-danger: 0 0 0
|
|
28
|
-
|
|
29
|
-
--m-focus-shadow-warning: 0 0 0
|
|
30
|
-
|
|
29
|
+
--m-focus-outline-width: 2px;
|
|
30
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
31
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
32
|
+
var(--m-color-control-outline-danger);
|
|
33
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
34
|
+
var(--m-color-control-outline-warning);
|
|
31
35
|
--m-color-success: #52c41a;
|
|
32
36
|
--m-color-info: #1677ff;
|
|
33
37
|
--m-color-warning: #faad14;
|
|
@@ -253,7 +257,7 @@
|
|
|
253
257
|
animation-play-state: paused !important;
|
|
254
258
|
}
|
|
255
259
|
|
|
256
|
-
/* Global density: scales spacing + control heights (
|
|
260
|
+
/* Global density: scales spacing + control heights (WD tokens) */
|
|
257
261
|
:root,
|
|
258
262
|
[data-m-density="comfortable"] {
|
|
259
263
|
--m-density-scale: 1;
|
|
@@ -348,12 +352,15 @@
|
|
|
348
352
|
--m-color-border: #424242;
|
|
349
353
|
--m-color-split: #303030;
|
|
350
354
|
--m-color-focus-ring: #3c89e8;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
--m-
|
|
354
|
-
|
|
355
|
-
--m-focus-shadow
|
|
356
|
-
|
|
355
|
+
/* Dark: getAlphaColor(color*Bg, colorBgContainer) */
|
|
356
|
+
--m-color-control-outline: rgba(23, 117, 249, 0.31);
|
|
357
|
+
--m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
|
|
358
|
+
--m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
|
|
359
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
360
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
361
|
+
var(--m-color-control-outline-danger);
|
|
362
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
363
|
+
var(--m-color-control-outline-warning);
|
|
357
364
|
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
358
365
|
--m-color-success: #49aa19;
|
|
359
366
|
--m-color-info: #1668dc;
|
|
@@ -893,8 +900,10 @@
|
|
|
893
900
|
width: 100%;
|
|
894
901
|
}
|
|
895
902
|
|
|
903
|
+
.m-textarea--invalid:focus,
|
|
896
904
|
.m-textarea--invalid:focus-visible,
|
|
897
905
|
.m-select--invalid.m-select--open,
|
|
906
|
+
.m-select--invalid:focus,
|
|
898
907
|
.m-select--invalid:focus-visible {
|
|
899
908
|
border-color: var(--m-color-danger);
|
|
900
909
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1103,20 +1112,28 @@
|
|
|
1103
1112
|
opacity: var(--m-opacity-disabled);
|
|
1104
1113
|
}
|
|
1105
1114
|
|
|
1106
|
-
/* Shared
|
|
1115
|
+
/* Shared hover/focus for remaining form triggers */
|
|
1107
1116
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
1108
|
-
.m-
|
|
1109
|
-
.m-
|
|
1117
|
+
.m-cascadeselect:not(.m-cascadeselect--open)
|
|
1118
|
+
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1119
|
+
.m-treeselect:not(.m-treeselect--open)
|
|
1120
|
+
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1110
1121
|
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1111
|
-
.m-inputtags:hover:not(.m-inputtags--disabled),
|
|
1112
|
-
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked),
|
|
1113
|
-
.m-inplace__display:hover {
|
|
1122
|
+
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1123
|
+
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1124
|
+
.m-inplace__display:hover:not(:focus-visible) {
|
|
1114
1125
|
border-color: var(--m-color-primary-hover);
|
|
1115
1126
|
}
|
|
1116
1127
|
|
|
1128
|
+
.m-inputotp__input:focus,
|
|
1117
1129
|
.m-inputotp__input:focus-visible,
|
|
1130
|
+
.m-cascadeselect--open .m-cascadeselect__trigger,
|
|
1131
|
+
.m-cascadeselect__trigger:focus,
|
|
1118
1132
|
.m-cascadeselect__trigger:focus-visible,
|
|
1133
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
1134
|
+
.m-treeselect__trigger:focus,
|
|
1119
1135
|
.m-treeselect__trigger:focus-visible,
|
|
1136
|
+
.m-inputcolor__text:focus,
|
|
1120
1137
|
.m-inputcolor__text:focus-visible,
|
|
1121
1138
|
.m-inputtags:focus-within,
|
|
1122
1139
|
.m-togglebutton:focus-visible,
|
|
@@ -1125,13 +1142,15 @@
|
|
|
1125
1142
|
.m-splitbutton__trigger:focus-visible,
|
|
1126
1143
|
.m-inplace__display:focus-visible,
|
|
1127
1144
|
.m-pagination__button:focus-visible {
|
|
1128
|
-
border-color: var(--m-color-primary
|
|
1145
|
+
border-color: var(--m-color-primary);
|
|
1129
1146
|
box-shadow: var(--m-focus-shadow);
|
|
1130
1147
|
outline: none;
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1150
|
+
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1133
1151
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1134
1152
|
.m-inputtags--invalid:focus-within,
|
|
1153
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1135
1154
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1136
1155
|
border-color: var(--m-color-danger);
|
|
1137
1156
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1206,7 +1225,8 @@
|
|
|
1206
1225
|
}
|
|
1207
1226
|
|
|
1208
1227
|
.m-checkbox__input:focus-visible + .m-checkbox__control {
|
|
1209
|
-
border-color: var(--m-color-primary
|
|
1228
|
+
border-color: var(--m-color-primary);
|
|
1229
|
+
box-shadow: var(--m-focus-shadow);
|
|
1210
1230
|
}
|
|
1211
1231
|
|
|
1212
1232
|
.m-checkbox--invalid .m-checkbox__input:focus-visible + .m-checkbox__control {
|
|
@@ -4,14 +4,14 @@ import { t as r } from "../overlayPlacement-qwEJPVS4.js";
|
|
|
4
4
|
import { t as i } from "../useFieldFeedback-C5qIqYMK.js";
|
|
5
5
|
import { t as ee } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
6
6
|
import { t as te } from "../useMId-BXFYayPP.js";
|
|
7
|
-
import { t as ne } from "../useMotionTransition-
|
|
7
|
+
import { t as ne } from "../useMotionTransition-D8JOR3ih.js";
|
|
8
8
|
import { t as a } from "../Icon-od9Ob-Ay.js";
|
|
9
9
|
import { t as re } from "../Scrollbar-DTeJ8P5b.js";
|
|
10
10
|
import { t as ie } from "../useMenuKeyboard-BedmYE4W.js";
|
|
11
|
-
import { t as o } from "../Checkbox-
|
|
11
|
+
import { t as o } from "../Checkbox-LxCFF19I.js";
|
|
12
12
|
import { a as ae, c as oe, d as se, f as ce, l as s, n as le, p as ue, u as c } from "../treeQuery-CnHkyYOA.js";
|
|
13
|
-
import {
|
|
14
|
-
import { n as l } from "../locale-
|
|
13
|
+
import { l as de, o as fe } from "../config-CB_TiIvg.js";
|
|
14
|
+
import { n as l } from "../locale-CR2PIaxt.js";
|
|
15
15
|
import "./style.js";
|
|
16
16
|
import { Fragment as u, Teleport as pe, Transition as me, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as he, createVNode as g, defineComponent as _, mergeProps as ge, nextTick as _e, normalizeClass as v, normalizeStyle as ve, onBeforeUnmount as ye, openBlock as y, ref as b, renderList as x, renderSlot as be, resolveDynamicComponent as S, toDisplayString as C, unref as w, useAttrs as xe, useSlots as Se, vModelText as Ce, watch as we, withCtx as T, withDirectives as Te, withModifiers as E } from "vue";
|
|
17
17
|
//#region src/components/TreeSelect/TreeSelectNodeItem.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
--m-color-border: #d9d9d9;
|
|
10
10
|
--m-color-split: #f0f0f0;
|
|
11
11
|
--m-color-focus-ring: #1677ff;
|
|
12
|
+
/* Soft translucent control-outline ring (primary bg composited over container) */
|
|
13
|
+
--m-color-control-outline: rgba(5, 145, 255, 0.1);
|
|
14
|
+
--m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
|
|
15
|
+
--m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
|
|
12
16
|
/* Control sizing: medium control height 32px */
|
|
13
17
|
--m-control-height-small: 24px;
|
|
14
18
|
--m-control-height-medium: 32px;
|
|
@@ -22,12 +26,12 @@
|
|
|
22
26
|
|
|
23
27
|
--m-radius-control: 6px;
|
|
24
28
|
--m-border-width: 1px;
|
|
25
|
-
--m-focus-
|
|
26
|
-
|
|
27
|
-
--m-focus-shadow-danger: 0 0 0
|
|
28
|
-
|
|
29
|
-
--m-focus-shadow-warning: 0 0 0
|
|
30
|
-
|
|
29
|
+
--m-focus-outline-width: 2px;
|
|
30
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
31
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
32
|
+
var(--m-color-control-outline-danger);
|
|
33
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
34
|
+
var(--m-color-control-outline-warning);
|
|
31
35
|
--m-color-success: #52c41a;
|
|
32
36
|
--m-color-info: #1677ff;
|
|
33
37
|
--m-color-warning: #faad14;
|
|
@@ -253,7 +257,7 @@
|
|
|
253
257
|
animation-play-state: paused !important;
|
|
254
258
|
}
|
|
255
259
|
|
|
256
|
-
/* Global density: scales spacing + control heights (
|
|
260
|
+
/* Global density: scales spacing + control heights (WD tokens) */
|
|
257
261
|
:root,
|
|
258
262
|
[data-m-density="comfortable"] {
|
|
259
263
|
--m-density-scale: 1;
|
|
@@ -348,12 +352,15 @@
|
|
|
348
352
|
--m-color-border: #424242;
|
|
349
353
|
--m-color-split: #303030;
|
|
350
354
|
--m-color-focus-ring: #3c89e8;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
--m-
|
|
354
|
-
|
|
355
|
-
--m-focus-shadow
|
|
356
|
-
|
|
355
|
+
/* Dark: getAlphaColor(color*Bg, colorBgContainer) */
|
|
356
|
+
--m-color-control-outline: rgba(23, 117, 249, 0.31);
|
|
357
|
+
--m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
|
|
358
|
+
--m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
|
|
359
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
360
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
361
|
+
var(--m-color-control-outline-danger);
|
|
362
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
363
|
+
var(--m-color-control-outline-warning);
|
|
357
364
|
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
358
365
|
--m-color-success: #49aa19;
|
|
359
366
|
--m-color-info: #1668dc;
|
|
@@ -893,8 +900,10 @@
|
|
|
893
900
|
width: 100%;
|
|
894
901
|
}
|
|
895
902
|
|
|
903
|
+
.m-textarea--invalid:focus,
|
|
896
904
|
.m-textarea--invalid:focus-visible,
|
|
897
905
|
.m-select--invalid.m-select--open,
|
|
906
|
+
.m-select--invalid:focus,
|
|
898
907
|
.m-select--invalid:focus-visible {
|
|
899
908
|
border-color: var(--m-color-danger);
|
|
900
909
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1103,20 +1112,28 @@
|
|
|
1103
1112
|
opacity: var(--m-opacity-disabled);
|
|
1104
1113
|
}
|
|
1105
1114
|
|
|
1106
|
-
/* Shared
|
|
1115
|
+
/* Shared hover/focus for remaining form triggers */
|
|
1107
1116
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
1108
|
-
.m-
|
|
1109
|
-
.m-
|
|
1117
|
+
.m-cascadeselect:not(.m-cascadeselect--open)
|
|
1118
|
+
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1119
|
+
.m-treeselect:not(.m-treeselect--open)
|
|
1120
|
+
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1110
1121
|
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1111
|
-
.m-inputtags:hover:not(.m-inputtags--disabled),
|
|
1112
|
-
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked),
|
|
1113
|
-
.m-inplace__display:hover {
|
|
1122
|
+
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1123
|
+
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1124
|
+
.m-inplace__display:hover:not(:focus-visible) {
|
|
1114
1125
|
border-color: var(--m-color-primary-hover);
|
|
1115
1126
|
}
|
|
1116
1127
|
|
|
1128
|
+
.m-inputotp__input:focus,
|
|
1117
1129
|
.m-inputotp__input:focus-visible,
|
|
1130
|
+
.m-cascadeselect--open .m-cascadeselect__trigger,
|
|
1131
|
+
.m-cascadeselect__trigger:focus,
|
|
1118
1132
|
.m-cascadeselect__trigger:focus-visible,
|
|
1133
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
1134
|
+
.m-treeselect__trigger:focus,
|
|
1119
1135
|
.m-treeselect__trigger:focus-visible,
|
|
1136
|
+
.m-inputcolor__text:focus,
|
|
1120
1137
|
.m-inputcolor__text:focus-visible,
|
|
1121
1138
|
.m-inputtags:focus-within,
|
|
1122
1139
|
.m-togglebutton:focus-visible,
|
|
@@ -1125,13 +1142,15 @@
|
|
|
1125
1142
|
.m-splitbutton__trigger:focus-visible,
|
|
1126
1143
|
.m-inplace__display:focus-visible,
|
|
1127
1144
|
.m-pagination__button:focus-visible {
|
|
1128
|
-
border-color: var(--m-color-primary
|
|
1145
|
+
border-color: var(--m-color-primary);
|
|
1129
1146
|
box-shadow: var(--m-focus-shadow);
|
|
1130
1147
|
outline: none;
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1150
|
+
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1133
1151
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1134
1152
|
.m-inputtags--invalid:focus-within,
|
|
1153
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1135
1154
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1136
1155
|
border-color: var(--m-color-danger);
|
|
1137
1156
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1585,9 +1604,11 @@
|
|
|
1585
1604
|
width: auto;
|
|
1586
1605
|
}
|
|
1587
1606
|
|
|
1607
|
+
.m-select__filter:focus,
|
|
1588
1608
|
.m-select__filter:focus-visible,
|
|
1609
|
+
.m-treeselect__filter:focus,
|
|
1589
1610
|
.m-treeselect__filter:focus-visible {
|
|
1590
|
-
border-color: var(--m-color-primary
|
|
1611
|
+
border-color: var(--m-color-primary);
|
|
1591
1612
|
box-shadow: var(--m-focus-shadow);
|
|
1592
1613
|
outline: none;
|
|
1593
1614
|
}
|
|
@@ -1612,7 +1633,8 @@
|
|
|
1612
1633
|
}
|
|
1613
1634
|
|
|
1614
1635
|
.m-checkbox__input:focus-visible + .m-checkbox__control {
|
|
1615
|
-
border-color: var(--m-color-primary
|
|
1636
|
+
border-color: var(--m-color-primary);
|
|
1637
|
+
box-shadow: var(--m-focus-shadow);
|
|
1616
1638
|
}
|
|
1617
1639
|
|
|
1618
1640
|
.m-checkbox--invalid .m-checkbox__input:focus-visible + .m-checkbox__control {
|
|
@@ -1977,7 +1999,15 @@
|
|
|
1977
1999
|
padding-right: var(--m-control-end-padding);
|
|
1978
2000
|
}
|
|
1979
2001
|
|
|
2002
|
+
.m-treeselect:not(.m-treeselect--disabled):not(.m-treeselect--open)
|
|
2003
|
+
.m-treeselect__trigger:hover:not(:focus):not(:focus-visible) {
|
|
2004
|
+
border-color: var(--m-color-primary-hover);
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
2008
|
+
.m-treeselect__trigger:focus,
|
|
1980
2009
|
.m-treeselect__trigger:focus-visible {
|
|
2010
|
+
border-color: var(--m-color-primary);
|
|
1981
2011
|
box-shadow: var(--m-focus-shadow);
|
|
1982
2012
|
outline: none;
|
|
1983
2013
|
}
|
|
@@ -2084,6 +2114,9 @@
|
|
|
2084
2114
|
border-color: var(--m-color-danger);
|
|
2085
2115
|
}
|
|
2086
2116
|
|
|
2087
|
-
.m-treeselect--invalid .m-treeselect__trigger:focus
|
|
2117
|
+
.m-treeselect--invalid .m-treeselect__trigger:focus,
|
|
2118
|
+
.m-treeselect--invalid .m-treeselect__trigger:focus-visible,
|
|
2119
|
+
.m-treeselect--invalid.m-treeselect--open .m-treeselect__trigger {
|
|
2120
|
+
border-color: var(--m-color-danger);
|
|
2088
2121
|
box-shadow: var(--m-focus-shadow-danger);
|
|
2089
2122
|
}
|
package/dist/typography/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
3
|
import { t as n } from "../vnode-PJWBO7_h.js";
|
|
4
|
-
import { t as r } from "../Textarea-
|
|
5
|
-
import { n as i } from "../locale-
|
|
4
|
+
import { t as r } from "../Textarea-Ch1KCXEv.js";
|
|
5
|
+
import { n as i } from "../locale-CR2PIaxt.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as _, openBlock as v, ref as y, renderSlot as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, useAttrs as w, useSlots as T, watch as E, withCtx as D, withKeys as O, withModifiers as k } from "vue";
|
|
8
8
|
//#region src/components/Typography/decoration.ts
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
--m-color-border: #d9d9d9;
|
|
10
10
|
--m-color-split: #f0f0f0;
|
|
11
11
|
--m-color-focus-ring: #1677ff;
|
|
12
|
+
/* Soft translucent control-outline ring (primary bg composited over container) */
|
|
13
|
+
--m-color-control-outline: rgba(5, 145, 255, 0.1);
|
|
14
|
+
--m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
|
|
15
|
+
--m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
|
|
12
16
|
/* Control sizing: medium control height 32px */
|
|
13
17
|
--m-control-height-small: 24px;
|
|
14
18
|
--m-control-height-medium: 32px;
|
|
@@ -22,12 +26,12 @@
|
|
|
22
26
|
|
|
23
27
|
--m-radius-control: 6px;
|
|
24
28
|
--m-border-width: 1px;
|
|
25
|
-
--m-focus-
|
|
26
|
-
|
|
27
|
-
--m-focus-shadow-danger: 0 0 0
|
|
28
|
-
|
|
29
|
-
--m-focus-shadow-warning: 0 0 0
|
|
30
|
-
|
|
29
|
+
--m-focus-outline-width: 2px;
|
|
30
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
31
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
32
|
+
var(--m-color-control-outline-danger);
|
|
33
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
34
|
+
var(--m-color-control-outline-warning);
|
|
31
35
|
--m-color-success: #52c41a;
|
|
32
36
|
--m-color-info: #1677ff;
|
|
33
37
|
--m-color-warning: #faad14;
|
|
@@ -253,7 +257,7 @@
|
|
|
253
257
|
animation-play-state: paused !important;
|
|
254
258
|
}
|
|
255
259
|
|
|
256
|
-
/* Global density: scales spacing + control heights (
|
|
260
|
+
/* Global density: scales spacing + control heights (WD tokens) */
|
|
257
261
|
:root,
|
|
258
262
|
[data-m-density="comfortable"] {
|
|
259
263
|
--m-density-scale: 1;
|
|
@@ -348,12 +352,15 @@
|
|
|
348
352
|
--m-color-border: #424242;
|
|
349
353
|
--m-color-split: #303030;
|
|
350
354
|
--m-color-focus-ring: #3c89e8;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
--m-
|
|
354
|
-
|
|
355
|
-
--m-focus-shadow
|
|
356
|
-
|
|
355
|
+
/* Dark: getAlphaColor(color*Bg, colorBgContainer) */
|
|
356
|
+
--m-color-control-outline: rgba(23, 117, 249, 0.31);
|
|
357
|
+
--m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
|
|
358
|
+
--m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
|
|
359
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
360
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
361
|
+
var(--m-color-control-outline-danger);
|
|
362
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
363
|
+
var(--m-color-control-outline-warning);
|
|
357
364
|
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
358
365
|
--m-color-success: #49aa19;
|
|
359
366
|
--m-color-info: #1668dc;
|
|
@@ -893,8 +900,10 @@
|
|
|
893
900
|
width: 100%;
|
|
894
901
|
}
|
|
895
902
|
|
|
903
|
+
.m-textarea--invalid:focus,
|
|
896
904
|
.m-textarea--invalid:focus-visible,
|
|
897
905
|
.m-select--invalid.m-select--open,
|
|
906
|
+
.m-select--invalid:focus,
|
|
898
907
|
.m-select--invalid:focus-visible {
|
|
899
908
|
border-color: var(--m-color-danger);
|
|
900
909
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1103,20 +1112,28 @@
|
|
|
1103
1112
|
opacity: var(--m-opacity-disabled);
|
|
1104
1113
|
}
|
|
1105
1114
|
|
|
1106
|
-
/* Shared
|
|
1115
|
+
/* Shared hover/focus for remaining form triggers */
|
|
1107
1116
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
1108
|
-
.m-
|
|
1109
|
-
.m-
|
|
1117
|
+
.m-cascadeselect:not(.m-cascadeselect--open)
|
|
1118
|
+
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1119
|
+
.m-treeselect:not(.m-treeselect--open)
|
|
1120
|
+
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1110
1121
|
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1111
|
-
.m-inputtags:hover:not(.m-inputtags--disabled),
|
|
1112
|
-
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked),
|
|
1113
|
-
.m-inplace__display:hover {
|
|
1122
|
+
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1123
|
+
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1124
|
+
.m-inplace__display:hover:not(:focus-visible) {
|
|
1114
1125
|
border-color: var(--m-color-primary-hover);
|
|
1115
1126
|
}
|
|
1116
1127
|
|
|
1128
|
+
.m-inputotp__input:focus,
|
|
1117
1129
|
.m-inputotp__input:focus-visible,
|
|
1130
|
+
.m-cascadeselect--open .m-cascadeselect__trigger,
|
|
1131
|
+
.m-cascadeselect__trigger:focus,
|
|
1118
1132
|
.m-cascadeselect__trigger:focus-visible,
|
|
1133
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
1134
|
+
.m-treeselect__trigger:focus,
|
|
1119
1135
|
.m-treeselect__trigger:focus-visible,
|
|
1136
|
+
.m-inputcolor__text:focus,
|
|
1120
1137
|
.m-inputcolor__text:focus-visible,
|
|
1121
1138
|
.m-inputtags:focus-within,
|
|
1122
1139
|
.m-togglebutton:focus-visible,
|
|
@@ -1125,13 +1142,15 @@
|
|
|
1125
1142
|
.m-splitbutton__trigger:focus-visible,
|
|
1126
1143
|
.m-inplace__display:focus-visible,
|
|
1127
1144
|
.m-pagination__button:focus-visible {
|
|
1128
|
-
border-color: var(--m-color-primary
|
|
1145
|
+
border-color: var(--m-color-primary);
|
|
1129
1146
|
box-shadow: var(--m-focus-shadow);
|
|
1130
1147
|
outline: none;
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1150
|
+
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1133
1151
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1134
1152
|
.m-inputtags--invalid:focus-within,
|
|
1153
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1135
1154
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1136
1155
|
border-color: var(--m-color-danger);
|
|
1137
1156
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1343,32 +1362,43 @@
|
|
|
1343
1362
|
border-color: var(--m-color-danger);
|
|
1344
1363
|
}
|
|
1345
1364
|
|
|
1365
|
+
.m-textarea--invalid:hover:not(:disabled):not(:focus) {
|
|
1366
|
+
border-color: var(--m-color-danger);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.m-textarea--invalid:focus,
|
|
1346
1370
|
.m-textarea--invalid:focus-visible {
|
|
1347
1371
|
border-color: var(--m-color-danger);
|
|
1348
1372
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1373
|
+
outline: 0;
|
|
1349
1374
|
}
|
|
1350
1375
|
|
|
1351
1376
|
.m-textarea--warning {
|
|
1352
1377
|
border-color: var(--m-color-warning);
|
|
1353
1378
|
}
|
|
1354
1379
|
|
|
1355
|
-
.m-textarea--warning:focus
|
|
1380
|
+
.m-textarea--warning:hover:not(:disabled):not(:focus) {
|
|
1356
1381
|
border-color: var(--m-color-warning);
|
|
1357
|
-
box-shadow: var(--m-focus-shadow-warning);
|
|
1358
1382
|
}
|
|
1359
1383
|
|
|
1360
|
-
.m-textarea:focus
|
|
1361
|
-
|
|
1384
|
+
.m-textarea--warning:focus,
|
|
1385
|
+
.m-textarea--warning:focus-visible {
|
|
1386
|
+
border-color: var(--m-color-warning);
|
|
1387
|
+
box-shadow: var(--m-focus-shadow-warning);
|
|
1388
|
+
outline: 0;
|
|
1362
1389
|
}
|
|
1363
1390
|
|
|
1364
|
-
.m-textarea:hover:not(:disabled):not(:focus)
|
|
1391
|
+
.m-textarea:hover:not(:disabled):not(:focus):not(.m-textarea--invalid):not(
|
|
1392
|
+
.m-textarea--warning
|
|
1393
|
+
) {
|
|
1365
1394
|
border-color: var(--m-color-primary-hover);
|
|
1366
1395
|
}
|
|
1367
1396
|
|
|
1397
|
+
.m-textarea:focus,
|
|
1368
1398
|
.m-textarea:focus-visible {
|
|
1369
|
-
border-color: var(--m-color-primary
|
|
1399
|
+
border-color: var(--m-color-primary);
|
|
1370
1400
|
box-shadow: var(--m-focus-shadow);
|
|
1371
|
-
outline:
|
|
1401
|
+
outline: 0;
|
|
1372
1402
|
}
|
|
1373
1403
|
|
|
1374
1404
|
/* —— Primitive: Typography (Title / Text / Paragraph / Link) —— */
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
--m-color-border: #d9d9d9;
|
|
10
10
|
--m-color-split: #f0f0f0;
|
|
11
11
|
--m-color-focus-ring: #1677ff;
|
|
12
|
+
/* Soft translucent control-outline ring (primary bg composited over container) */
|
|
13
|
+
--m-color-control-outline: rgba(5, 145, 255, 0.1);
|
|
14
|
+
--m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
|
|
15
|
+
--m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
|
|
12
16
|
/* Control sizing: medium control height 32px */
|
|
13
17
|
--m-control-height-small: 24px;
|
|
14
18
|
--m-control-height-medium: 32px;
|
|
@@ -22,12 +26,12 @@
|
|
|
22
26
|
|
|
23
27
|
--m-radius-control: 6px;
|
|
24
28
|
--m-border-width: 1px;
|
|
25
|
-
--m-focus-
|
|
26
|
-
|
|
27
|
-
--m-focus-shadow-danger: 0 0 0
|
|
28
|
-
|
|
29
|
-
--m-focus-shadow-warning: 0 0 0
|
|
30
|
-
|
|
29
|
+
--m-focus-outline-width: 2px;
|
|
30
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
31
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
32
|
+
var(--m-color-control-outline-danger);
|
|
33
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
34
|
+
var(--m-color-control-outline-warning);
|
|
31
35
|
--m-color-success: #52c41a;
|
|
32
36
|
--m-color-info: #1677ff;
|
|
33
37
|
--m-color-warning: #faad14;
|
|
@@ -253,7 +257,7 @@
|
|
|
253
257
|
animation-play-state: paused !important;
|
|
254
258
|
}
|
|
255
259
|
|
|
256
|
-
/* Global density: scales spacing + control heights (
|
|
260
|
+
/* Global density: scales spacing + control heights (WD tokens) */
|
|
257
261
|
:root,
|
|
258
262
|
[data-m-density="comfortable"] {
|
|
259
263
|
--m-density-scale: 1;
|
|
@@ -348,12 +352,15 @@
|
|
|
348
352
|
--m-color-border: #424242;
|
|
349
353
|
--m-color-split: #303030;
|
|
350
354
|
--m-color-focus-ring: #3c89e8;
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
--m-
|
|
354
|
-
|
|
355
|
-
--m-focus-shadow
|
|
356
|
-
|
|
355
|
+
/* Dark: getAlphaColor(color*Bg, colorBgContainer) */
|
|
356
|
+
--m-color-control-outline: rgba(23, 117, 249, 0.31);
|
|
357
|
+
--m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
|
|
358
|
+
--m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
|
|
359
|
+
--m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
|
|
360
|
+
--m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
|
|
361
|
+
var(--m-color-control-outline-danger);
|
|
362
|
+
--m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
|
|
363
|
+
var(--m-color-control-outline-warning);
|
|
357
364
|
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
358
365
|
--m-color-success: #49aa19;
|
|
359
366
|
--m-color-info: #1668dc;
|
|
@@ -893,8 +900,10 @@
|
|
|
893
900
|
width: 100%;
|
|
894
901
|
}
|
|
895
902
|
|
|
903
|
+
.m-textarea--invalid:focus,
|
|
896
904
|
.m-textarea--invalid:focus-visible,
|
|
897
905
|
.m-select--invalid.m-select--open,
|
|
906
|
+
.m-select--invalid:focus,
|
|
898
907
|
.m-select--invalid:focus-visible {
|
|
899
908
|
border-color: var(--m-color-danger);
|
|
900
909
|
box-shadow: var(--m-focus-shadow-danger);
|
|
@@ -1103,20 +1112,28 @@
|
|
|
1103
1112
|
opacity: var(--m-opacity-disabled);
|
|
1104
1113
|
}
|
|
1105
1114
|
|
|
1106
|
-
/* Shared
|
|
1115
|
+
/* Shared hover/focus for remaining form triggers */
|
|
1107
1116
|
.m-inputotp__input:hover:not(:disabled):not(:focus),
|
|
1108
|
-
.m-
|
|
1109
|
-
.m-
|
|
1117
|
+
.m-cascadeselect:not(.m-cascadeselect--open)
|
|
1118
|
+
.m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1119
|
+
.m-treeselect:not(.m-treeselect--open)
|
|
1120
|
+
.m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
|
|
1110
1121
|
.m-inputcolor__text:hover:not(:disabled):not(:focus),
|
|
1111
|
-
.m-inputtags:hover:not(.m-inputtags--disabled),
|
|
1112
|
-
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked),
|
|
1113
|
-
.m-inplace__display:hover {
|
|
1122
|
+
.m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
|
|
1123
|
+
.m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
|
|
1124
|
+
.m-inplace__display:hover:not(:focus-visible) {
|
|
1114
1125
|
border-color: var(--m-color-primary-hover);
|
|
1115
1126
|
}
|
|
1116
1127
|
|
|
1128
|
+
.m-inputotp__input:focus,
|
|
1117
1129
|
.m-inputotp__input:focus-visible,
|
|
1130
|
+
.m-cascadeselect--open .m-cascadeselect__trigger,
|
|
1131
|
+
.m-cascadeselect__trigger:focus,
|
|
1118
1132
|
.m-cascadeselect__trigger:focus-visible,
|
|
1133
|
+
.m-treeselect--open .m-treeselect__trigger,
|
|
1134
|
+
.m-treeselect__trigger:focus,
|
|
1119
1135
|
.m-treeselect__trigger:focus-visible,
|
|
1136
|
+
.m-inputcolor__text:focus,
|
|
1120
1137
|
.m-inputcolor__text:focus-visible,
|
|
1121
1138
|
.m-inputtags:focus-within,
|
|
1122
1139
|
.m-togglebutton:focus-visible,
|
|
@@ -1125,13 +1142,15 @@
|
|
|
1125
1142
|
.m-splitbutton__trigger:focus-visible,
|
|
1126
1143
|
.m-inplace__display:focus-visible,
|
|
1127
1144
|
.m-pagination__button:focus-visible {
|
|
1128
|
-
border-color: var(--m-color-primary
|
|
1145
|
+
border-color: var(--m-color-primary);
|
|
1129
1146
|
box-shadow: var(--m-focus-shadow);
|
|
1130
1147
|
outline: none;
|
|
1131
1148
|
}
|
|
1132
1149
|
|
|
1150
|
+
.m-inputotp--invalid .m-inputotp__input:focus,
|
|
1133
1151
|
.m-inputotp--invalid .m-inputotp__input:focus-visible,
|
|
1134
1152
|
.m-inputtags--invalid:focus-within,
|
|
1153
|
+
.m-inputcolor--invalid .m-inputcolor__text:focus,
|
|
1135
1154
|
.m-inputcolor--invalid .m-inputcolor__text:focus-visible {
|
|
1136
1155
|
border-color: var(--m-color-danger);
|
|
1137
1156
|
box-shadow: var(--m-focus-shadow-danger);
|