morya-ui 0.3.0 → 0.3.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 +64 -0
- package/dist/Button-dMqRmoYa.js +222 -0
- package/dist/{Card-Dsmnzong.js → Card-B1CB9Trm.js} +3 -5
- package/dist/Empty-C5tndBOm.js +147 -0
- package/dist/Icon-od9Ob-Ay.js +393 -0
- package/dist/Loading-BSsRs6v9.js +420 -0
- package/dist/Pagination-CqpC5EAs.js +166 -0
- package/dist/Select-CKGrSoaC.js +572 -0
- package/dist/Skeleton-DCYdXAH2.js +59 -0
- package/dist/accordion/style.css +20 -71
- package/dist/auto-complete/index.js +118 -120
- package/dist/auto-complete/style.css +24 -88
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/style.css +10 -67
- package/dist/badge/style.css +10 -68
- package/dist/block-ui/style.css +10 -68
- package/dist/breadcrumb/style.css +10 -61
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +72 -78
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +30 -67
- package/dist/carousel/index.js +72 -64
- package/dist/carousel/style.css +36 -82
- package/dist/cascade-select/index.js +1 -1
- package/dist/cascade-select/style.css +24 -81
- package/dist/checkbox/style.css +10 -61
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +10 -67
- package/dist/command-menu/index.js +37 -39
- package/dist/command-menu/style.css +10 -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 +2 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +62 -11
- package/dist/components/Button/types.d.ts +4 -0
- 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/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +26 -15
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
- package/dist/components/DataView/DataView.vue.d.ts +7 -7
- package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
- package/dist/components/DataView/styles.css +0 -20
- 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/Dropdown/Dropdown.vue.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
- package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/styles.css +24 -5
- 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/Icon.vue.d.ts.map +1 -1
- package/dist/components/Icon/icon-categories.d.ts.map +1 -1
- package/dist/components/Icon/icons-types.d.ts +4 -2
- package/dist/components/Icon/icons-types.d.ts.map +1 -1
- package/dist/components/Icon/icons.d.ts +250 -561
- package/dist/components/Icon/icons.d.ts.map +1 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/styles.css +0 -6
- package/dist/components/Knob/styles.css +0 -6
- package/dist/components/Layout/styles.css +5 -14
- 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 +6 -7
- package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
- package/dist/components/Menubar/styles.css +4 -0
- 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 +20 -17
- 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/Scrollbar.vue.d.ts +1 -1
- package/dist/components/Scrollbar/styles.css +0 -8
- package/dist/components/Select/Select.vue.d.ts +10 -8
- 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 +35 -8
- package/dist/components/Select/types.d.ts +11 -1
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/components/Sidebar/styles.css +0 -6
- package/dist/components/Skeleton/styles.css +0 -6
- package/dist/components/Slider/styles.css +9 -0
- package/dist/components/SplitButton/styles.css +5 -0
- package/dist/components/Status/styles.css +0 -7
- package/dist/components/Switch/styles.css +0 -7
- package/dist/components/Table/Table.vue.d.ts +26 -26
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
- 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 +61 -44
- 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/components/TreeSelect/styles.css +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +72 -72
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +75 -124
- package/dist/confirm-popup/index.js +2 -2
- package/dist/confirm-popup/style.css +72 -78
- package/dist/context-menu/index.js +2 -2
- package/dist/context-menu/style.css +10 -75
- package/dist/data-view/index.js +47 -47
- package/dist/data-view/style.css +393 -174
- package/dist/data-view/style.js +1 -1
- package/dist/date-picker/index.js +1 -1
- package/dist/date-picker/style.css +10 -67
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +75 -124
- package/dist/divider/style.css +10 -61
- package/dist/dock/index.js +2 -2
- package/dist/dock/style.css +10 -77
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +12 -118
- package/dist/dropdown/index.js +110 -91
- package/dist/dropdown/style.css +34 -80
- package/dist/empty/index.js +5 -150
- package/dist/empty/style.css +10 -67
- package/dist/fieldset/index.js +1 -1
- package/dist/fieldset/style.css +10 -74
- package/dist/file-upload/index.js +148 -146
- package/dist/file-upload/style.css +10 -67
- package/dist/filterByQuery-Bczaxzih.js +17 -0
- package/dist/flex/style.css +10 -61
- package/dist/float-label/style.css +10 -61
- package/dist/fluid/style.css +10 -61
- package/dist/form/style.css +10 -61
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +10 -83
- package/dist/grid/style.css +10 -61
- package/dist/icon/index.js +93 -39
- package/dist/icon/style.css +10 -67
- package/dist/icon-COrt_N8A.js +18 -0
- package/dist/icon-field/style.css +10 -61
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5400 -5145
- package/dist/inplace/style.css +10 -61
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +10 -67
- package/dist/input-color/style.css +10 -61
- package/dist/input-group/style.css +10 -61
- package/dist/input-number/index.js +1 -1
- package/dist/input-number/style.css +10 -67
- package/dist/input-otp/style.css +10 -61
- package/dist/input-password/index.js +1 -1
- package/dist/input-password/style.css +10 -67
- package/dist/input-tags/index.js +1 -1
- package/dist/input-tags/style.css +10 -67
- package/dist/knob/style.css +10 -67
- package/dist/label/style.css +10 -61
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +15 -89
- package/dist/listbox/index.js +30 -32
- package/dist/listbox/style.css +10 -69
- package/dist/loading/index.js +32 -446
- package/dist/loading/style.css +10 -77
- package/dist/mega-menu/index.js +2 -2
- package/dist/mega-menu/style.css +10 -67
- package/dist/menu/index.js +265 -255
- package/dist/menu/style.css +36 -99
- package/dist/menubar/index.js +6 -3
- package/dist/menubar/style.css +14 -75
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +10 -80
- package/dist/meter-group/style.css +10 -61
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +10 -67
- package/dist/page/index.js +229 -70
- package/dist/page/style.css +1186 -113
- package/dist/page/style.js +3 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +210 -77
- package/dist/pagination/style.js +1 -0
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +10 -74
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +10 -67
- package/dist/popover/style.css +30 -78
- package/dist/progress-bar/style.css +10 -70
- package/dist/progress-spinner/index.js +105 -2
- package/dist/progress-spinner/style.css +10 -68
- package/dist/radio/style.css +10 -61
- package/dist/rating/index.js +1 -1
- package/dist/rating/style.css +10 -67
- 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 +10 -67
- package/dist/scroll-top/index.js +1 -1
- package/dist/scroll-top/style.css +10 -82
- package/dist/scrollbar/style.css +10 -69
- package/dist/select/index.js +2 -478
- package/dist/select/style.css +59 -89
- package/dist/select-button/style.css +10 -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/icon.d.ts.map +1 -1
- package/dist/shared/menu/index.d.ts +2 -0
- package/dist/shared/menu/index.d.ts.map +1 -1
- package/dist/shared/styles/select-overlay.css +14 -6
- package/dist/sidebar/index.js +2 -2
- package/dist/sidebar/style.css +10 -73
- package/dist/skeleton/index.js +2 -59
- package/dist/skeleton/style.css +10 -67
- package/dist/slider/style.css +19 -61
- package/dist/space/style.css +10 -61
- package/dist/speed-dial/index.js +2 -2
- package/dist/speed-dial/style.css +10 -67
- package/dist/split-button/index.js +1 -1
- package/dist/split-button/style.css +77 -78
- package/dist/splitter/style.css +10 -61
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +10 -74
- package/dist/stepper/index.js +1 -1
- package/dist/stepper/style.css +10 -67
- package/dist/styles/base.css +5 -50
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +10 -68
- package/dist/table/index.js +409 -373
- package/dist/table/style.css +457 -215
- package/dist/table/style.js +1 -1
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +10 -75
- package/dist/tag/index.js +1 -1
- package/dist/tag/style.css +10 -67
- package/dist/terminal/style.css +10 -61
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +10 -67
- 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 +1 -1
- package/dist/tiered-menu/style.css +10 -75
- package/dist/timeline/index.js +1 -1
- package/dist/timeline/style.css +10 -75
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +10 -67
- package/dist/toggle-button/index.js +2 -2
- package/dist/toggle-button/style.css +10 -67
- package/dist/toolbar/style.css +10 -61
- package/dist/tooltip/style.css +10 -61
- package/dist/tree/index.js +159 -173
- package/dist/tree/style.css +10 -67
- package/dist/tree-select/index.js +200 -213
- package/dist/tree-select/style.css +25 -82
- package/dist/tree-table/index.js +1 -1
- package/dist/tree-table/style.css +10 -67
- package/dist/treeQuery-CnHkyYOA.js +107 -0
- package/dist/virtual-scroller/style.css +10 -69
- package/package.json +1 -1
- package/dist/Button-B5X_R4Md.js +0 -156
- package/dist/Icon-lcN1rS87.js +0 -610
- package/dist/Pagination-CVrH8Ypi.js +0 -158
- package/dist/ProgressSpinner-BeWVF6Jv.js +0 -105
- package/dist/checkStrategy-CZzuUKDI.js +0 -63
- package/dist/components/Icon/icons-tabler.d.ts +0 -77
- package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
- package/dist/icon-DWXkh-RM.js +0 -27
package/dist/checkbox/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,
|
|
@@ -529,9 +523,13 @@
|
|
|
529
523
|
border-radius: var(--m-radius-md);
|
|
530
524
|
box-shadow: var(--m-shadow-md);
|
|
531
525
|
max-height: var(--m-dropdown-submenu-max-height);
|
|
526
|
+
max-width: calc(100vw - 2 * var(--m-space-4));
|
|
532
527
|
min-width: 10rem;
|
|
533
528
|
overflow: hidden;
|
|
534
529
|
padding: var(--m-space-1);
|
|
530
|
+
/* Same as .m-dropdown__menu: size to content instead of being clamped
|
|
531
|
+
by the space left of the anchor in the viewport. */
|
|
532
|
+
width: max-content;
|
|
535
533
|
}
|
|
536
534
|
|
|
537
535
|
.m-dropdown__submenu--teleported {
|
|
@@ -611,7 +609,7 @@
|
|
|
611
609
|
.m-zoom-enter-from,
|
|
612
610
|
.m-zoom-leave-to {
|
|
613
611
|
opacity: 0;
|
|
614
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
615
613
|
}
|
|
616
614
|
|
|
617
615
|
.m-slide-up-enter-active,
|
|
@@ -656,44 +654,6 @@
|
|
|
656
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
657
655
|
}
|
|
658
656
|
|
|
659
|
-
@media (prefers-reduced-motion: reduce) {
|
|
660
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
661
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
662
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
663
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
676
|
-
transition: none;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
680
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
681
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
682
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
693
|
-
transform: none;
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
|
|
697
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
698
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
699
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1188,17 +1148,6 @@
|
|
|
1188
1148
|
animation: none !important;
|
|
1189
1149
|
}
|
|
1190
1150
|
|
|
1191
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1192
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1193
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1194
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1195
|
-
animation-duration: 0.01ms !important;
|
|
1196
|
-
animation-iteration-count: 1 !important;
|
|
1197
|
-
scroll-behavior: auto !important;
|
|
1198
|
-
transition-duration: 0.01ms !important;
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
1151
|
.m-checkbox__control {
|
|
1203
1152
|
border-radius: var(--m-radius-sm);
|
|
1204
1153
|
}
|
package/dist/chip/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, n as t, t as n } from "../types-DGuu4Eg4.js";
|
|
2
|
-
import { t as r } from "../Icon-
|
|
2
|
+
import { t as r } from "../Icon-od9Ob-Ay.js";
|
|
3
3
|
import { n as i } from "../locale-Bzm2nbEp.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h } from "vue";
|
package/dist/chip/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,
|
|
@@ -529,9 +523,13 @@
|
|
|
529
523
|
border-radius: var(--m-radius-md);
|
|
530
524
|
box-shadow: var(--m-shadow-md);
|
|
531
525
|
max-height: var(--m-dropdown-submenu-max-height);
|
|
526
|
+
max-width: calc(100vw - 2 * var(--m-space-4));
|
|
532
527
|
min-width: 10rem;
|
|
533
528
|
overflow: hidden;
|
|
534
529
|
padding: var(--m-space-1);
|
|
530
|
+
/* Same as .m-dropdown__menu: size to content instead of being clamped
|
|
531
|
+
by the space left of the anchor in the viewport. */
|
|
532
|
+
width: max-content;
|
|
535
533
|
}
|
|
536
534
|
|
|
537
535
|
.m-dropdown__submenu--teleported {
|
|
@@ -611,7 +609,7 @@
|
|
|
611
609
|
.m-zoom-enter-from,
|
|
612
610
|
.m-zoom-leave-to {
|
|
613
611
|
opacity: 0;
|
|
614
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
615
613
|
}
|
|
616
614
|
|
|
617
615
|
.m-slide-up-enter-active,
|
|
@@ -656,44 +654,6 @@
|
|
|
656
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
657
655
|
}
|
|
658
656
|
|
|
659
|
-
@media (prefers-reduced-motion: reduce) {
|
|
660
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
661
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
662
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
663
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
676
|
-
transition: none;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
680
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
681
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
682
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
693
|
-
transform: none;
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
|
|
697
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
698
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
699
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1188,17 +1148,6 @@
|
|
|
1188
1148
|
animation: none !important;
|
|
1189
1149
|
}
|
|
1190
1150
|
|
|
1191
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1192
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1193
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1194
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1195
|
-
animation-duration: 0.01ms !important;
|
|
1196
|
-
animation-iteration-count: 1 !important;
|
|
1197
|
-
scroll-behavior: auto !important;
|
|
1198
|
-
transition-duration: 0.01ms !important;
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
1151
|
.m-icon {
|
|
1203
1152
|
color: currentColor;
|
|
1204
1153
|
display: inline-flex;
|
|
@@ -1243,12 +1192,6 @@
|
|
|
1243
1192
|
}
|
|
1244
1193
|
}
|
|
1245
1194
|
|
|
1246
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1247
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1248
|
-
animation: none;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1253
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1254
1197
|
animation: none;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
2
|
+
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
3
|
import { t as n } from "../useMotionTransition-Bxnnb_9u.js";
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
4
|
+
import { n as ee } from "../overlay-oR-5MDuE.js";
|
|
5
|
+
import { t as r } from "../Scrollbar-DTeJ8P5b.js";
|
|
6
|
+
import { t as te } from "../filterByQuery-Bczaxzih.js";
|
|
7
|
+
import { t as i } from "../icon-COrt_N8A.js";
|
|
7
8
|
import { t as a } from "../useModalOverlay-Beo3CEAt.js";
|
|
8
|
-
import { c as
|
|
9
|
-
import { n as
|
|
9
|
+
import { c as ne } from "../config-CapALqt3.js";
|
|
10
|
+
import { n as o } from "../locale-Bzm2nbEp.js";
|
|
10
11
|
import "./style.js";
|
|
11
|
-
import { Fragment as
|
|
12
|
+
import { Fragment as s, Teleport as c, Transition as re, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as ie, nextTick as g, normalizeClass as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, toRef as ae, unref as S, useAttrs as C, vModelText as w, watch as T, withCtx as E, withDirectives as D, withModifiers as O } from "vue";
|
|
12
13
|
//#region src/components/CommandMenu/CommandMenu.vue?vue&type=script&setup=true&lang.ts
|
|
13
14
|
var k = ["aria-label"], A = ["placeholder", "aria-label"], j = [
|
|
14
15
|
"aria-selected",
|
|
@@ -25,7 +26,7 @@ var k = ["aria-label"], A = ["placeholder", "aria-label"], j = [
|
|
|
25
26
|
}, F = {
|
|
26
27
|
key: 0,
|
|
27
28
|
class: "m-commandmenu__empty"
|
|
28
|
-
}, I = /* @__PURE__ */
|
|
29
|
+
}, I = /* @__PURE__ */ h({
|
|
29
30
|
inheritAttrs: !1,
|
|
30
31
|
__name: "CommandMenu",
|
|
31
32
|
props: {
|
|
@@ -47,33 +48,30 @@ var k = ["aria-label"], A = ["placeholder", "aria-label"], j = [
|
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
50
|
emits: ["update:modelValue"],
|
|
50
|
-
setup(
|
|
51
|
-
let L =
|
|
51
|
+
setup(h, { emit: I }) {
|
|
52
|
+
let L = h, oe = I, R = C(), { rootAttrs: z } = e(R, () => L.pt), B = ne(), { transitionName: V, transitionCss: H } = n({
|
|
52
53
|
role: "tooltip",
|
|
53
54
|
local: () => L.transition,
|
|
54
55
|
componentName: "CommandMenu",
|
|
55
56
|
fallback: "fade"
|
|
56
|
-
}), U =
|
|
57
|
-
let e = G.value.trim().toLowerCase();
|
|
58
|
-
return e ? L.model.filter((t) => t.label.toLowerCase().includes(e)) : L.model;
|
|
59
|
-
});
|
|
57
|
+
}), U = o(), W = l(() => L.placeholder ?? U.value.searchCommands), G = y(""), K = y(null), q = y(null), J = y(0), Y = l(() => ee(L, B.value.appendTo)), X = l(() => te(L.model, G.value));
|
|
60
58
|
function Z() {
|
|
61
|
-
|
|
59
|
+
oe("update:modelValue", !1);
|
|
62
60
|
}
|
|
63
61
|
function Q(e) {
|
|
64
62
|
e.disabled || (e.command?.(), Z());
|
|
65
63
|
}
|
|
66
64
|
function $(e) {
|
|
67
|
-
return
|
|
65
|
+
return i(e.icon);
|
|
68
66
|
}
|
|
69
|
-
function
|
|
67
|
+
function se(e) {
|
|
70
68
|
if (e.key === "ArrowDown" && (e.preventDefault(), J.value = Math.min(X.value.length - 1, J.value + 1)), e.key === "ArrowUp" && (e.preventDefault(), J.value = Math.max(0, J.value - 1)), e.key === "Enter") {
|
|
71
69
|
let t = X.value[J.value];
|
|
72
70
|
t && (e.preventDefault(), Q(t));
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
return a({
|
|
76
|
-
open:
|
|
74
|
+
open: ae(L, "modelValue"),
|
|
77
75
|
container: K,
|
|
78
76
|
blockScroll: !0,
|
|
79
77
|
autoFocus: !1,
|
|
@@ -82,64 +80,64 @@ var k = ["aria-label"], A = ["placeholder", "aria-label"], j = [
|
|
|
82
80
|
G.value = "", J.value = 0;
|
|
83
81
|
}
|
|
84
82
|
}), T(() => L.modelValue, async (e) => {
|
|
85
|
-
e && (await
|
|
83
|
+
e && (await g(), q.value?.focus());
|
|
86
84
|
}), T(X, () => {
|
|
87
85
|
J.value = 0;
|
|
88
|
-
}), (e, n) => (
|
|
86
|
+
}), (e, n) => (v(), u(c, {
|
|
89
87
|
to: Y.value.to,
|
|
90
88
|
disabled: Y.value.disabled
|
|
91
|
-
}, [
|
|
92
|
-
name:
|
|
93
|
-
css:
|
|
89
|
+
}, [m(re, {
|
|
90
|
+
name: S(V),
|
|
91
|
+
css: S(H)
|
|
94
92
|
}, {
|
|
95
|
-
default: E(() => [
|
|
93
|
+
default: E(() => [h.modelValue ? (v(), f("div", ie({ key: 0 }, S(z), {
|
|
96
94
|
class: "m-commandmenu-backdrop",
|
|
97
95
|
onClick: O(Z, ["self"])
|
|
98
|
-
}), [
|
|
96
|
+
}), [p("div", {
|
|
99
97
|
ref_key: "panelRef",
|
|
100
98
|
ref: K,
|
|
101
99
|
class: "m-commandmenu",
|
|
102
100
|
role: "dialog",
|
|
103
101
|
"aria-modal": "true",
|
|
104
|
-
"aria-label":
|
|
102
|
+
"aria-label": S(U).commandPalette,
|
|
105
103
|
tabindex: "-1",
|
|
106
|
-
onKeydown:
|
|
107
|
-
}, [D(
|
|
104
|
+
onKeydown: se
|
|
105
|
+
}, [D(p("input", {
|
|
108
106
|
ref_key: "inputRef",
|
|
109
107
|
ref: q,
|
|
110
108
|
"onUpdate:modelValue": n[0] ||= (e) => G.value = e,
|
|
111
109
|
class: "m-commandmenu__input",
|
|
112
110
|
type: "search",
|
|
113
111
|
placeholder: W.value,
|
|
114
|
-
"aria-label":
|
|
115
|
-
}, null, 8, A), [[w, G.value]]),
|
|
112
|
+
"aria-label": S(U).searchCommands
|
|
113
|
+
}, null, 8, A), [[w, G.value]]), m(r, {
|
|
116
114
|
tag: "ul",
|
|
117
115
|
role: "listbox",
|
|
118
116
|
class: "m-commandmenu__list",
|
|
119
117
|
"fit-content": "",
|
|
120
118
|
"view-class": "m-commandmenu__list-view"
|
|
121
119
|
}, {
|
|
122
|
-
default: E(() => [(
|
|
120
|
+
default: E(() => [(v(!0), f(s, null, b(X.value, (e, n) => (v(), f("li", {
|
|
123
121
|
key: `${e.label}-${n}`,
|
|
124
122
|
role: "presentation"
|
|
125
|
-
}, [
|
|
123
|
+
}, [p("button", {
|
|
126
124
|
type: "button",
|
|
127
|
-
class:
|
|
125
|
+
class: _(["m-commandmenu__item", { "m-commandmenu__item--active": n === J.value }]),
|
|
128
126
|
role: "option",
|
|
129
127
|
"aria-selected": n === J.value,
|
|
130
128
|
disabled: e.disabled,
|
|
131
129
|
onClick: (t) => Q(e),
|
|
132
130
|
onMouseenter: (e) => J.value = n
|
|
133
131
|
}, [
|
|
134
|
-
$(e) ? (
|
|
132
|
+
$(e) ? (v(), f("span", M, [m(t, {
|
|
135
133
|
name: $(e),
|
|
136
134
|
size: "sm"
|
|
137
|
-
}, null, 8, ["name"])])) :
|
|
138
|
-
|
|
139
|
-
e.shortcut ? (
|
|
140
|
-
], 42, j)]))), 128)), X.value.length ?
|
|
135
|
+
}, null, 8, ["name"])])) : d("", !0),
|
|
136
|
+
p("span", N, x(e.label), 1),
|
|
137
|
+
e.shortcut ? (v(), f("span", P, x(e.shortcut), 1)) : d("", !0)
|
|
138
|
+
], 42, j)]))), 128)), X.value.length ? d("", !0) : (v(), f("li", F, x(S(U).noMatch), 1))]),
|
|
141
139
|
_: 1
|
|
142
|
-
})], 40, k)], 16)) :
|
|
140
|
+
})], 40, k)], 16)) : d("", !0)]),
|
|
143
141
|
_: 1
|
|
144
142
|
}, 8, ["name", "css"])], 8, ["to", "disabled"]));
|
|
145
143
|
}
|
|
@@ -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,
|
|
@@ -529,9 +523,13 @@
|
|
|
529
523
|
border-radius: var(--m-radius-md);
|
|
530
524
|
box-shadow: var(--m-shadow-md);
|
|
531
525
|
max-height: var(--m-dropdown-submenu-max-height);
|
|
526
|
+
max-width: calc(100vw - 2 * var(--m-space-4));
|
|
532
527
|
min-width: 10rem;
|
|
533
528
|
overflow: hidden;
|
|
534
529
|
padding: var(--m-space-1);
|
|
530
|
+
/* Same as .m-dropdown__menu: size to content instead of being clamped
|
|
531
|
+
by the space left of the anchor in the viewport. */
|
|
532
|
+
width: max-content;
|
|
535
533
|
}
|
|
536
534
|
|
|
537
535
|
.m-dropdown__submenu--teleported {
|
|
@@ -611,7 +609,7 @@
|
|
|
611
609
|
.m-zoom-enter-from,
|
|
612
610
|
.m-zoom-leave-to {
|
|
613
611
|
opacity: 0;
|
|
614
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
615
613
|
}
|
|
616
614
|
|
|
617
615
|
.m-slide-up-enter-active,
|
|
@@ -656,44 +654,6 @@
|
|
|
656
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
657
655
|
}
|
|
658
656
|
|
|
659
|
-
@media (prefers-reduced-motion: reduce) {
|
|
660
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
661
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
662
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
663
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
676
|
-
transition: none;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
680
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
681
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
682
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
693
|
-
transform: none;
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
|
|
697
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
698
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
699
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1188,17 +1148,6 @@
|
|
|
1188
1148
|
animation: none !important;
|
|
1189
1149
|
}
|
|
1190
1150
|
|
|
1191
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1192
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1193
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1194
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1195
|
-
animation-duration: 0.01ms !important;
|
|
1196
|
-
animation-iteration-count: 1 !important;
|
|
1197
|
-
scroll-behavior: auto !important;
|
|
1198
|
-
transition-duration: 0.01ms !important;
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
1151
|
.m-icon {
|
|
1203
1152
|
color: currentColor;
|
|
1204
1153
|
display: inline-flex;
|
|
@@ -1243,12 +1192,6 @@
|
|
|
1243
1192
|
}
|
|
1244
1193
|
}
|
|
1245
1194
|
|
|
1246
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1247
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1248
|
-
animation: none;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1253
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1254
1197
|
animation: none;
|
|
@@ -1378,14 +1321,6 @@
|
|
|
1378
1321
|
opacity: 0;
|
|
1379
1322
|
}
|
|
1380
1323
|
|
|
1381
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1382
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar__thumb,
|
|
1383
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-enter-active,
|
|
1384
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-leave-active {
|
|
1385
|
-
transition: none;
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
1324
|
:root[data-m-motion='none'] .m-scrollbar__thumb,
|
|
1390
1325
|
:root[data-m-motion='none'] .m-scrollbar-fade-enter-active,
|
|
1391
1326
|
:root[data-m-motion='none'] .m-scrollbar-fade-leave-active,
|
|
@@ -59,13 +59,20 @@
|
|
|
59
59
|
min-height: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.m-accordion-collapse-enter-active
|
|
62
|
+
.m-accordion-collapse-enter-active {
|
|
63
|
+
display: grid;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
transition:
|
|
66
|
+
grid-template-rows var(--m-motion-enter) var(--m-motion-ease),
|
|
67
|
+
opacity var(--m-motion-enter) var(--m-motion-ease);
|
|
68
|
+
}
|
|
69
|
+
|
|
63
70
|
.m-accordion-collapse-leave-active {
|
|
64
71
|
display: grid;
|
|
65
72
|
overflow: hidden;
|
|
66
73
|
transition:
|
|
67
|
-
grid-template-rows var(--m-motion-
|
|
68
|
-
opacity var(--m-motion-
|
|
74
|
+
grid-template-rows var(--m-motion-exit) var(--m-motion-ease),
|
|
75
|
+
opacity var(--m-motion-exit) var(--m-motion-ease);
|
|
69
76
|
}
|
|
70
77
|
|
|
71
78
|
.m-accordion-collapse-enter-active,
|
|
@@ -79,13 +86,6 @@
|
|
|
79
86
|
opacity: 0;
|
|
80
87
|
}
|
|
81
88
|
|
|
82
|
-
@media (prefers-reduced-motion: reduce) {
|
|
83
|
-
html:not([data-m-ignore-reduced-motion]) .m-accordion-collapse-enter-active,
|
|
84
|
-
html:not([data-m-ignore-reduced-motion]) .m-accordion-collapse-leave-active {
|
|
85
|
-
transition: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
89
|
[data-m-motion="reduced"] .m-accordion-collapse-enter-active,
|
|
90
90
|
[data-m-motion="reduced"] .m-accordion-collapse-leave-active,
|
|
91
91
|
[data-m-motion="none"] .m-accordion-collapse-enter-active,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"AutoComplete.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.vue"],"names":[],"mappings":";;AA8VA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AA+iB5F,QAAA,IAAyB,QAAQ;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ;;CAAY,CAAE;AACzF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAU7C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -160,13 +160,6 @@
|
|
|
160
160
|
width: var(--m-autocomplete-spinner-size);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
@media (prefers-reduced-motion: reduce) {
|
|
164
|
-
html:not([data-m-ignore-reduced-motion]) .m-autocomplete__spinner {
|
|
165
|
-
animation: none;
|
|
166
|
-
border-top-color: var(--m-color-text-muted);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
163
|
[data-m-motion="reduced"] .m-autocomplete__spinner {
|
|
171
164
|
animation: none;
|
|
172
165
|
border-top-color: var(--m-color-text-muted);
|
|
@@ -158,13 +158,6 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
@media (prefers-reduced-motion: reduce) {
|
|
162
|
-
html:not([data-m-ignore-reduced-motion]) .m-badge--processing::after {
|
|
163
|
-
animation: none;
|
|
164
|
-
opacity: 0;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
161
|
[data-m-motion="reduced"] .m-badge--processing::after,
|
|
169
162
|
[data-m-motion="none"] .m-badge--processing::after {
|
|
170
163
|
animation: none;
|
|
@@ -33,13 +33,6 @@
|
|
|
33
33
|
opacity: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
@media (prefers-reduced-motion: reduce) {
|
|
37
|
-
html:not([data-m-ignore-reduced-motion]) .m-blockui-enter-active,
|
|
38
|
-
html:not([data-m-ignore-reduced-motion]) .m-blockui-leave-active {
|
|
39
|
-
transition: none;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
36
|
[data-m-motion="reduced"] .m-blockui-enter-active,
|
|
44
37
|
[data-m-motion="reduced"] .m-blockui-leave-active,
|
|
45
38
|
[data-m-motion="none"] .m-blockui-enter-active,
|
|
@@ -35,6 +35,8 @@ declare const __VLS_base: DefineComponent<ButtonProps, {
|
|
|
35
35
|
fluid: boolean;
|
|
36
36
|
badgeSeverity: ButtonBadgeSeverity;
|
|
37
37
|
nativeType: "button" | "submit" | "reset";
|
|
38
|
+
ripple: boolean;
|
|
39
|
+
press: boolean;
|
|
38
40
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
39
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
42
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.vue"],"names":[],"mappings":";AA6OA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAoL1C,iBAAS,KAAK,SAEb;AA2ID,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO;;CAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAQhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|