morya-ui 0.3.1 → 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 +32 -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/Pagination-CqpC5EAs.js +166 -0
- package/dist/Select-CKGrSoaC.js +572 -0
- package/dist/Skeleton-DCYdXAH2.js +59 -0
- package/dist/accordion/style.css +16 -71
- package/dist/auto-complete/index.js +117 -119
- package/dist/auto-complete/style.css +6 -82
- package/dist/avatar/style.css +6 -67
- package/dist/badge/style.css +6 -68
- package/dist/block-ui/style.css +6 -68
- package/dist/breadcrumb/style.css +6 -61
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +68 -78
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +26 -67
- package/dist/carousel/style.css +6 -73
- package/dist/cascade-select/style.css +6 -75
- package/dist/checkbox/style.css +6 -61
- package/dist/chip/style.css +6 -67
- package/dist/command-menu/index.js +36 -38
- package/dist/command-menu/style.css +6 -75
- package/dist/components/Accordion/styles.css +10 -10
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +0 -7
- package/dist/components/Badge/styles.css +0 -7
- package/dist/components/BlockUI/styles.css +0 -7
- package/dist/components/Button/Button.vue.d.ts +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/styles.css +0 -6
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
- package/dist/components/Dialog/styles.css +3 -46
- package/dist/components/Dock/styles.css +0 -10
- package/dist/components/Drawer/styles.css +2 -51
- package/dist/components/Fieldset/styles.css +0 -7
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUtils.d.ts +8 -0
- package/dist/components/FileUpload/fileUtils.d.ts.map +1 -0
- package/dist/components/Gallery/styles.css +0 -8
- package/dist/components/Icon/styles.css +0 -6
- package/dist/components/Knob/styles.css +0 -6
- package/dist/components/Layout/styles.css +0 -12
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Loading/styles.css +0 -16
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +0 -7
- 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/styles.css +0 -8
- package/dist/components/Select/Select.vue.d.ts +1 -3
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/selectOptions.d.ts +46 -0
- package/dist/components/Select/selectOptions.d.ts.map +1 -0
- package/dist/components/Select/styles.css +5 -7
- package/dist/components/Sidebar/styles.css +0 -6
- package/dist/components/Skeleton/styles.css +0 -6
- package/dist/components/Status/styles.css +0 -7
- package/dist/components/Switch/styles.css +0 -7
- package/dist/components/Table/hooks/useExpandableRow.d.ts.map +1 -1
- package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
- package/dist/components/Table/styles.css +7 -10
- package/dist/components/Table/tableQuery.d.ts +30 -0
- package/dist/components/Table/tableQuery.d.ts.map +1 -0
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/treeQuery.d.ts +31 -0
- package/dist/components/Tree/treeQuery.d.ts.map +1 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +68 -72
- package/dist/confirm-dialog/index.js +1 -1
- package/dist/confirm-dialog/style.css +71 -124
- package/dist/confirm-popup/index.js +1 -1
- package/dist/confirm-popup/style.css +68 -78
- package/dist/context-menu/style.css +6 -75
- package/dist/data-view/index.js +1 -1
- package/dist/data-view/style.css +13 -87
- package/dist/date-picker/style.css +6 -67
- package/dist/dialog/index.js +1 -1
- package/dist/dialog/style.css +71 -124
- package/dist/divider/style.css +6 -61
- package/dist/dock/style.css +6 -77
- package/dist/drawer/style.css +8 -118
- package/dist/dropdown/style.css +6 -75
- package/dist/empty/index.js +5 -150
- package/dist/empty/style.css +6 -67
- package/dist/fieldset/style.css +6 -74
- package/dist/file-upload/index.js +147 -145
- package/dist/file-upload/style.css +6 -67
- package/dist/filterByQuery-Bczaxzih.js +17 -0
- package/dist/flex/style.css +6 -61
- package/dist/float-label/style.css +6 -61
- package/dist/fluid/style.css +6 -61
- package/dist/form/style.css +6 -61
- package/dist/gallery/style.css +6 -83
- package/dist/grid/style.css +6 -61
- package/dist/icon/style.css +6 -67
- package/dist/icon-field/style.css +6 -61
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9017 -8694
- package/dist/inplace/style.css +6 -61
- package/dist/input/style.css +6 -67
- package/dist/input-color/style.css +6 -61
- package/dist/input-group/style.css +6 -61
- package/dist/input-number/style.css +6 -67
- package/dist/input-otp/style.css +6 -61
- package/dist/input-password/style.css +6 -67
- package/dist/input-tags/style.css +6 -67
- package/dist/knob/style.css +6 -67
- package/dist/label/style.css +6 -61
- package/dist/layout/style.css +6 -87
- package/dist/listbox/index.js +30 -32
- package/dist/listbox/style.css +6 -69
- package/dist/loading/style.css +6 -77
- package/dist/mega-menu/style.css +6 -67
- package/dist/menu/index.js +263 -253
- package/dist/menu/style.css +26 -99
- package/dist/menubar/style.css +6 -75
- package/dist/message/style.css +6 -80
- package/dist/meter-group/style.css +6 -61
- package/dist/order-list/style.css +6 -67
- package/dist/page/index.js +228 -69
- package/dist/page/style.css +1182 -113
- package/dist/page/style.js +3 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +206 -77
- package/dist/pagination/style.js +1 -0
- package/dist/panel/style.css +6 -74
- package/dist/pick-list/style.css +6 -67
- package/dist/popover/style.css +26 -78
- package/dist/progress-bar/style.css +6 -70
- package/dist/progress-spinner/style.css +6 -68
- package/dist/radio/style.css +6 -61
- package/dist/rating/style.css +6 -67
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +1 -0
- package/dist/result/style.css +6 -67
- package/dist/scroll-top/style.css +6 -82
- package/dist/scrollbar/style.css +6 -69
- package/dist/select/index.js +2 -545
- package/dist/select/style.css +11 -82
- package/dist/select-button/style.css +6 -61
- package/dist/shared/config.d.ts +2 -2
- package/dist/shared/filterByQuery.d.ts +14 -0
- package/dist/shared/filterByQuery.d.ts.map +1 -0
- package/dist/shared/menu/expand.d.ts +38 -0
- package/dist/shared/menu/expand.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +2 -0
- package/dist/shared/menu/index.d.ts.map +1 -1
- package/dist/sidebar/style.css +6 -73
- package/dist/skeleton/index.js +2 -59
- package/dist/skeleton/style.css +6 -67
- package/dist/slider/style.css +6 -61
- package/dist/space/style.css +6 -61
- package/dist/speed-dial/style.css +6 -67
- package/dist/split-button/style.css +68 -78
- package/dist/splitter/style.css +6 -61
- package/dist/status/style.css +6 -74
- package/dist/stepper/style.css +6 -67
- package/dist/styles/base.css +1 -50
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +6 -68
- package/dist/table/index.js +341 -311
- package/dist/table/style.css +20 -111
- package/dist/tabs/style.css +6 -75
- package/dist/tag/style.css +6 -67
- package/dist/terminal/style.css +6 -61
- package/dist/textarea/style.css +6 -67
- package/dist/theme/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/style.css +6 -75
- package/dist/timeline/style.css +6 -75
- package/dist/toast/style.css +6 -67
- package/dist/toggle-button/style.css +6 -67
- package/dist/toolbar/style.css +6 -61
- package/dist/tooltip/style.css +6 -61
- package/dist/tree/index.js +158 -172
- package/dist/tree/style.css +6 -67
- package/dist/tree-select/index.js +198 -212
- package/dist/tree-select/style.css +6 -75
- package/dist/tree-table/style.css +6 -67
- package/dist/treeQuery-CnHkyYOA.js +107 -0
- package/dist/virtual-scroller/style.css +6 -69
- package/package.json +1 -1
- package/dist/Button-smoDleh0.js +0 -156
- package/dist/Pagination-DrXmzcEy.js +0 -158
- package/dist/checkStrategy-CZzuUKDI.js +0 -63
package/dist/drawer/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
.m-icon {
|
|
1207
1152
|
color: currentColor;
|
|
1208
1153
|
display: inline-flex;
|
|
@@ -1247,12 +1192,6 @@
|
|
|
1247
1192
|
}
|
|
1248
1193
|
}
|
|
1249
1194
|
|
|
1250
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1251
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1252
|
-
animation: none;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1257
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1258
1197
|
animation: none;
|
|
@@ -1369,7 +1308,7 @@
|
|
|
1369
1308
|
.m-zoom-enter-from .m-drawer,
|
|
1370
1309
|
.m-zoom-leave-to .m-drawer {
|
|
1371
1310
|
opacity: 0;
|
|
1372
|
-
transform: scale(0.
|
|
1311
|
+
transform: scale(0.95);
|
|
1373
1312
|
}
|
|
1374
1313
|
|
|
1375
1314
|
.m-slide-up-enter-from .m-drawer,
|
|
@@ -1499,59 +1438,10 @@
|
|
|
1499
1438
|
.m-drawer__body {
|
|
1500
1439
|
flex: 1;
|
|
1501
1440
|
overflow: auto;
|
|
1441
|
+
overscroll-behavior: contain;
|
|
1502
1442
|
padding: var(--m-space-4);
|
|
1503
1443
|
}
|
|
1504
1444
|
|
|
1505
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1506
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-active,
|
|
1507
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-active,
|
|
1508
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-active .m-drawer,
|
|
1509
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-active .m-drawer,
|
|
1510
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active .m-drawer,
|
|
1511
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active .m-drawer,
|
|
1512
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active .m-drawer,
|
|
1513
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active .m-drawer,
|
|
1514
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active .m-drawer,
|
|
1515
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active .m-drawer,
|
|
1516
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active .m-drawer,
|
|
1517
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active .m-drawer,
|
|
1518
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active .m-drawer,
|
|
1519
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active .m-drawer,
|
|
1520
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active .m-drawer,
|
|
1521
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active .m-drawer,
|
|
1522
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active .m-drawer,
|
|
1523
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active .m-drawer,
|
|
1524
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active .m-drawer,
|
|
1525
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active .m-drawer {
|
|
1526
|
-
transition: none;
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-from .m-drawer--left,
|
|
1530
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-to .m-drawer--left,
|
|
1531
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-from .m-drawer--right,
|
|
1532
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-to .m-drawer--right,
|
|
1533
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-from .m-drawer--top,
|
|
1534
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-to .m-drawer--top,
|
|
1535
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-enter-from .m-drawer--bottom,
|
|
1536
|
-
html:not([data-m-ignore-reduced-motion]) .m-drawer-leave-to .m-drawer--bottom,
|
|
1537
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from .m-drawer,
|
|
1538
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to .m-drawer,
|
|
1539
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from .m-drawer,
|
|
1540
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to .m-drawer,
|
|
1541
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from .m-drawer,
|
|
1542
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to .m-drawer,
|
|
1543
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from .m-drawer,
|
|
1544
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to .m-drawer,
|
|
1545
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from .m-drawer,
|
|
1546
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to .m-drawer,
|
|
1547
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from .m-drawer,
|
|
1548
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to .m-drawer,
|
|
1549
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from .m-drawer,
|
|
1550
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to .m-drawer {
|
|
1551
|
-
transform: none;
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
1445
|
[data-m-motion="reduced"] .m-drawer-enter-active,
|
|
1556
1446
|
[data-m-motion="reduced"] .m-drawer-leave-active,
|
|
1557
1447
|
[data-m-motion="reduced"] .m-drawer-enter-active .m-drawer,
|
package/dist/dropdown/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
.m-icon {
|
|
1207
1152
|
color: currentColor;
|
|
1208
1153
|
display: inline-flex;
|
|
@@ -1247,12 +1192,6 @@
|
|
|
1247
1192
|
}
|
|
1248
1193
|
}
|
|
1249
1194
|
|
|
1250
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1251
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1252
|
-
animation: none;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1257
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1258
1197
|
animation: none;
|
|
@@ -1382,14 +1321,6 @@
|
|
|
1382
1321
|
opacity: 0;
|
|
1383
1322
|
}
|
|
1384
1323
|
|
|
1385
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1386
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar__thumb,
|
|
1387
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-enter-active,
|
|
1388
|
-
html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-leave-active {
|
|
1389
|
-
transition: none;
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
1324
|
:root[data-m-motion='none'] .m-scrollbar__thumb,
|
|
1394
1325
|
:root[data-m-motion='none'] .m-scrollbar-fade-enter-active,
|
|
1395
1326
|
:root[data-m-motion='none'] .m-scrollbar-fade-leave-active,
|
package/dist/empty/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMId-BXFYayPP.js";
|
|
4
|
-
import { n as r } from "../locale-Bzm2nbEp.js";
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../Empty-C5tndBOm.js";
|
|
5
2
|
import "./style.js";
|
|
6
|
-
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useSlots as _, watch as v } from "vue";
|
|
7
3
|
//#region src/components/Empty/illustrations/catalog.ts
|
|
8
|
-
var
|
|
4
|
+
var i = [
|
|
9
5
|
"no-content",
|
|
10
6
|
"no-result",
|
|
11
7
|
"no-message",
|
|
@@ -21,149 +17,8 @@ var y = [
|
|
|
21
17
|
"input-irregular",
|
|
22
18
|
"payment-cycle-long"
|
|
23
19
|
];
|
|
24
|
-
function
|
|
25
|
-
return
|
|
20
|
+
function a(e) {
|
|
21
|
+
return i.includes(e);
|
|
26
22
|
}
|
|
27
23
|
//#endregion
|
|
28
|
-
|
|
29
|
-
var x = {
|
|
30
|
-
"no-content": () => import("../no-content-CwbqVPoN.js"),
|
|
31
|
-
"no-result": () => import("../no-result-pGce34BV.js"),
|
|
32
|
-
"no-message": () => import("../no-message-DnIEpMiO.js"),
|
|
33
|
-
"no-schedule": () => import("../no-schedule-Cl9Frt1Q.js"),
|
|
34
|
-
"no-issue": () => import("../no-issue-DMkU-Pnw.js"),
|
|
35
|
-
"network-error": () => import("../network-error-C6vl5a7S.js"),
|
|
36
|
-
"server-error": () => import("../server-error-D8zGMe5r.js"),
|
|
37
|
-
building: () => import("../building-DYLdXiQg.js"),
|
|
38
|
-
"churn-high": () => import("../churn-high-D1ELpZzW.js"),
|
|
39
|
-
"conversion-low": () => import("../conversion-low-CwZiQc2k.js"),
|
|
40
|
-
"activity-low": () => import("../activity-low-CgK9kHWr.js"),
|
|
41
|
-
"profile-unclear": () => import("../profile-unclear-CGs4PCfw.js"),
|
|
42
|
-
"input-irregular": () => import("../input-irregular-xSLDoNTS.js"),
|
|
43
|
-
"payment-cycle-long": () => import("../payment-cycle-long-Ba9FNStl.js")
|
|
44
|
-
};
|
|
45
|
-
async function S(e) {
|
|
46
|
-
return (await x[e]()).default;
|
|
47
|
-
}
|
|
48
|
-
//#endregion
|
|
49
|
-
//#region src/components/Empty/illustrations/defaultEmptyIcon.ts
|
|
50
|
-
var C = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 28\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 3.95118 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z\" fill=\"currentColor\"/><path d=\"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z\" fill=\"currentColor\"/></svg>", w = [
|
|
51
|
-
"no-content",
|
|
52
|
-
"no-result",
|
|
53
|
-
"no-message",
|
|
54
|
-
"no-schedule",
|
|
55
|
-
"no-issue"
|
|
56
|
-
], T = [
|
|
57
|
-
"network-error",
|
|
58
|
-
"server-error",
|
|
59
|
-
"building"
|
|
60
|
-
], E = /__MID_(\d+)__/g;
|
|
61
|
-
function D(e, t) {
|
|
62
|
-
return e.replace(E, (e, n) => `${t}-${n}`);
|
|
63
|
-
}
|
|
64
|
-
async function O(e, t) {
|
|
65
|
-
return D(await S(e), t);
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/components/Empty/Empty.vue?vue&type=script&setup=true&lang.ts
|
|
69
|
-
var k = {
|
|
70
|
-
key: 0,
|
|
71
|
-
class: "m-empty__illustration",
|
|
72
|
-
"aria-hidden": "true"
|
|
73
|
-
}, A = ["src"], j = ["innerHTML"], M = ["innerHTML"], N = {
|
|
74
|
-
key: 1,
|
|
75
|
-
class: "m-empty__body"
|
|
76
|
-
}, P = {
|
|
77
|
-
key: 0,
|
|
78
|
-
class: "m-empty__title"
|
|
79
|
-
}, F = {
|
|
80
|
-
key: 1,
|
|
81
|
-
class: "m-empty__description"
|
|
82
|
-
}, I = {
|
|
83
|
-
key: 2,
|
|
84
|
-
class: "m-empty__extra"
|
|
85
|
-
}, L = /* @__PURE__ */ l({
|
|
86
|
-
inheritAttrs: !1,
|
|
87
|
-
__name: "Empty",
|
|
88
|
-
props: {
|
|
89
|
-
pt: {},
|
|
90
|
-
title: {},
|
|
91
|
-
description: {},
|
|
92
|
-
showDescription: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !0
|
|
95
|
-
},
|
|
96
|
-
showIcon: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default: !0
|
|
99
|
-
},
|
|
100
|
-
size: {},
|
|
101
|
-
icon: {},
|
|
102
|
-
illustration: {},
|
|
103
|
-
image: {},
|
|
104
|
-
simple: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: !1
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
setup(l) {
|
|
110
|
-
let y = l, b = g(), x = _(), { rootAttrs: S } = e(b, () => y.pt), w = r(), T = n("m-ill"), E = f(), D = 0;
|
|
111
|
-
function L(e) {
|
|
112
|
-
return e === "small" || e === "sm" ? "small" : e === "large" || e === "lg" ? "large" : "medium";
|
|
113
|
-
}
|
|
114
|
-
let R = i(() => L(y.size)), z = i(() => !!(x.image || y.image)), B = i(() => !!x.icon), V = i(() => {
|
|
115
|
-
if (y.showIcon) {
|
|
116
|
-
if (y.illustration) return y.illustration;
|
|
117
|
-
if (!(z.value || B.value) && y.icon === "search") return "no-result";
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
v(V, (e) => {
|
|
121
|
-
let t = ++D;
|
|
122
|
-
if (!e) {
|
|
123
|
-
E.value = void 0;
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
O(e, T).then((e) => {
|
|
127
|
-
t === D && (E.value = e);
|
|
128
|
-
}, () => {
|
|
129
|
-
t === D && (E.value = void 0);
|
|
130
|
-
});
|
|
131
|
-
}, { immediate: !0 });
|
|
132
|
-
let H = i(() => y.showIcon && !!V.value && !!E.value && !z.value && !B.value), U = i(() => y.showIcon && !!y.icon && y.icon !== "search" && !V.value && !z.value && !B.value), W = i(() => y.showIcon && !V.value && !U.value && !z.value && !B.value), G = i(() => y.showIcon && (z.value || B.value || H.value || U.value || W.value)), K = i(() => y.description == null ? w.value.emptyMessage : y.description), q = i(() => x.title ? !0 : y.title != null && y.title !== ""), J = i(() => y.showDescription ? x.default ? !0 : !!K.value : !1), Y = i(() => [
|
|
133
|
-
"m-empty",
|
|
134
|
-
`m-empty--${R.value}`,
|
|
135
|
-
{
|
|
136
|
-
"m-empty--simple": y.simple,
|
|
137
|
-
"m-empty--default-icon": W.value
|
|
138
|
-
}
|
|
139
|
-
]);
|
|
140
|
-
return (e, n) => (d(), s("div", u(h(S), {
|
|
141
|
-
class: Y.value,
|
|
142
|
-
role: "status"
|
|
143
|
-
}), [
|
|
144
|
-
G.value ? (d(), s("div", k, [z.value ? p(e.$slots, "image", {}, () => [l.image ? (d(), s("img", {
|
|
145
|
-
key: 0,
|
|
146
|
-
class: "m-empty__image",
|
|
147
|
-
src: l.image,
|
|
148
|
-
alt: ""
|
|
149
|
-
}, null, 8, A)) : o("", !0)], void 0, 0) : B.value ? p(e.$slots, "icon", {}, void 0, void 0, 1) : H.value && E.value ? (d(), s("div", {
|
|
150
|
-
key: 2,
|
|
151
|
-
class: "m-empty__glyph",
|
|
152
|
-
innerHTML: E.value
|
|
153
|
-
}, null, 8, j)) : U.value && l.icon ? (d(), a(t, {
|
|
154
|
-
key: 3,
|
|
155
|
-
class: "m-empty__icon",
|
|
156
|
-
name: l.icon,
|
|
157
|
-
size: "lg"
|
|
158
|
-
}, null, 8, ["name"])) : W.value ? (d(), s("div", {
|
|
159
|
-
key: 4,
|
|
160
|
-
class: "m-empty__default-icon",
|
|
161
|
-
innerHTML: h(C)
|
|
162
|
-
}, null, 8, M)) : o("", !0)])) : o("", !0),
|
|
163
|
-
q.value || J.value ? (d(), s("div", N, [q.value ? (d(), s("div", P, [p(e.$slots, "title", {}, () => [c(m(l.title), 1)])])) : o("", !0), J.value ? (d(), s("div", F, [p(e.$slots, "default", {}, () => [c(m(K.value), 1)])])) : o("", !0)])) : o("", !0),
|
|
164
|
-
h(x).extra ? (d(), s("div", I, [p(e.$slots, "extra")])) : o("", !0)
|
|
165
|
-
], 16));
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
//#endregion
|
|
169
|
-
export { y as EMPTY_ILLUSTRATION_KEYS, T as EMPTY_OUTCOME_KEYS, w as EMPTY_PRESET_KEYS, L as MEmpty, b as isEmptyIllustration, S as loadEmptyIllustration };
|
|
24
|
+
export { i as EMPTY_ILLUSTRATION_KEYS, t as EMPTY_OUTCOME_KEYS, n as EMPTY_PRESET_KEYS, r as MEmpty, a as isEmptyIllustration, e as loadEmptyIllustration };
|
package/dist/empty/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
--m-font-size-sm: 0.8125rem;
|
|
51
51
|
--m-font-size-md: 0.875rem;
|
|
52
52
|
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
53
57
|
--m-opacity-disabled: 0.55;
|
|
54
58
|
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
55
59
|
--m-z-base: 1000;
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
|
|
193
197
|
/*
|
|
194
198
|
* Global motion policy (complements per-component rules):
|
|
195
|
-
* - `reduced
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
196
200
|
* and layout/transform size animation.
|
|
197
201
|
* - `none`: zero all transition/animation durations.
|
|
198
202
|
*/
|
|
199
|
-
@media (prefers-reduced-motion: reduce) {
|
|
200
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
201
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
202
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
203
|
-
animation-duration: 0.01ms !important;
|
|
204
|
-
animation-iteration-count: 1 !important;
|
|
205
|
-
transition-property: background-color, border-color, color, opacity, box-shadow,
|
|
206
|
-
outline, fill, stroke, stroke-dashoffset !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
203
|
|
|
210
204
|
[data-m-motion="reduced"] *,
|
|
211
205
|
[data-m-motion="reduced"] *::before,
|
|
@@ -615,7 +609,7 @@
|
|
|
615
609
|
.m-zoom-enter-from,
|
|
616
610
|
.m-zoom-leave-to {
|
|
617
611
|
opacity: 0;
|
|
618
|
-
transform: scale(0.
|
|
612
|
+
transform: scale(0.95);
|
|
619
613
|
}
|
|
620
614
|
|
|
621
615
|
.m-slide-up-enter-active,
|
|
@@ -660,44 +654,6 @@
|
|
|
660
654
|
transform: translateX(calc(var(--m-motion-distance) * -1));
|
|
661
655
|
}
|
|
662
656
|
|
|
663
|
-
@media (prefers-reduced-motion: reduce) {
|
|
664
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
|
|
665
|
-
html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
|
|
666
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
|
|
667
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
|
|
668
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
|
|
669
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
|
|
670
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
|
|
671
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
|
|
672
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
|
|
673
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
|
|
674
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
|
|
675
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
|
|
676
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
|
|
677
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
|
|
678
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
|
|
679
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
|
|
680
|
-
transition: none;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
|
|
684
|
-
html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
|
|
685
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
|
|
686
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
|
|
687
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
|
|
688
|
-
html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
|
|
689
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
|
|
690
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
|
|
691
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
|
|
692
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
|
|
693
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
|
|
694
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
|
|
695
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
|
|
696
|
-
html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
|
|
697
|
-
transform: none;
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
657
|
[data-m-motion="reduced"] .m-fade-enter-active,
|
|
702
658
|
[data-m-motion="reduced"] .m-fade-leave-active,
|
|
703
659
|
[data-m-motion="reduced"] .m-scale-fade-enter-active,
|
|
@@ -1192,17 +1148,6 @@
|
|
|
1192
1148
|
animation: none !important;
|
|
1193
1149
|
}
|
|
1194
1150
|
|
|
1195
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1196
|
-
html:not([data-m-ignore-reduced-motion]) *,
|
|
1197
|
-
html:not([data-m-ignore-reduced-motion]) *::before,
|
|
1198
|
-
html:not([data-m-ignore-reduced-motion]) *::after {
|
|
1199
|
-
animation-duration: 0.01ms !important;
|
|
1200
|
-
animation-iteration-count: 1 !important;
|
|
1201
|
-
scroll-behavior: auto !important;
|
|
1202
|
-
transition-duration: 0.01ms !important;
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1151
|
.m-icon {
|
|
1207
1152
|
color: currentColor;
|
|
1208
1153
|
display: inline-flex;
|
|
@@ -1247,12 +1192,6 @@
|
|
|
1247
1192
|
}
|
|
1248
1193
|
}
|
|
1249
1194
|
|
|
1250
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1251
|
-
html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
|
|
1252
|
-
animation: none;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
1195
|
:root[data-m-motion='none'] .m-icon--spin svg,
|
|
1257
1196
|
:root[data-m-motion='reduced'] .m-icon--spin svg {
|
|
1258
1197
|
animation: none;
|