morya-ui 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +62 -0
- package/dist/Button-gBiRj7wz.js +227 -0
- package/dist/{Card-Dsmnzong.js → Card-B1CB9Trm.js} +3 -5
- package/dist/Empty-C5tndBOm.js +147 -0
- package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
- package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
- package/dist/Pagination-Bvv2qvEK.js +166 -0
- package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
- package/dist/Select-CiXd074W.js +572 -0
- package/dist/Skeleton-DCYdXAH2.js +59 -0
- package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
- package/dist/accordion/style.css +16 -71
- package/dist/auto-complete/index.js +120 -122
- package/dist/auto-complete/style.css +6 -82
- package/dist/avatar/style.css +6 -67
- package/dist/badge/style.css +6 -68
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +6 -68
- package/dist/breadcrumb/style.css +6 -61
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +345 -118
- package/dist/card/index.js +1 -1
- package/dist/card/style.css +26 -67
- package/dist/carousel/style.css +6 -73
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +6 -75
- package/dist/checkbox/style.css +6 -61
- package/dist/chip/style.css +6 -67
- package/dist/command-menu/index.js +37 -39
- package/dist/command-menu/style.css +6 -75
- package/dist/components/Accordion/styles.css +10 -10
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
- package/dist/components/AutoComplete/styles.css +0 -7
- package/dist/components/Badge/styles.css +0 -7
- package/dist/components/BlockUI/styles.css +0 -7
- package/dist/components/Button/Button.vue.d.ts +3 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +339 -51
- package/dist/components/Button/types.d.ts +11 -2
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +2 -2
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/styles.css +20 -6
- package/dist/components/Card/types.d.ts +4 -2
- package/dist/components/Card/types.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +0 -6
- package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
- package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +19 -14
- package/dist/components/Dialog/styles.css +3 -46
- package/dist/components/Dock/styles.css +0 -10
- package/dist/components/Drawer/styles.css +2 -51
- package/dist/components/Fieldset/styles.css +0 -7
- package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUtils.d.ts +8 -0
- package/dist/components/FileUpload/fileUtils.d.ts.map +1 -0
- package/dist/components/Gallery/styles.css +0 -8
- package/dist/components/Icon/styles.css +0 -6
- package/dist/components/Knob/styles.css +0 -6
- package/dist/components/Layout/styles.css +0 -12
- package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/components/Loading/styles.css +0 -16
- package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
- package/dist/components/Menu/styles.css +4 -11
- package/dist/components/Message/styles.css +0 -13
- package/dist/components/Page/PageContent.vue.d.ts +2 -1
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/PageFilterChips.vue.d.ts +16 -0
- package/dist/components/Page/PageFilterChips.vue.d.ts.map +1 -0
- package/dist/components/Page/PageFilters.vue.d.ts +15 -3
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/PageHeader.vue.d.ts +8 -4
- package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
- package/dist/components/Page/PagePlaceholder.vue.d.ts +6 -2
- package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
- package/dist/components/Page/PageSection.vue.d.ts +8 -2
- package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
- package/dist/components/Page/PageStat.vue.d.ts +8 -3
- package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
- package/dist/components/Page/index.d.ts +2 -1
- package/dist/components/Page/index.d.ts.map +1 -1
- package/dist/components/Page/styles.css +239 -44
- package/dist/components/Page/types.d.ts +40 -0
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +7 -10
- package/dist/components/Pagination/types.d.ts +1 -1
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/Panel/styles.css +0 -7
- package/dist/components/Popover/styles.css +21 -79
- package/dist/components/ProgressBar/styles.css +0 -9
- package/dist/components/ProgressSpinner/styles.css +0 -7
- package/dist/components/ScrollTop/styles.css +0 -7
- package/dist/components/Scrollbar/styles.css +0 -8
- package/dist/components/Select/Select.vue.d.ts +1 -3
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/selectOptions.d.ts +46 -0
- package/dist/components/Select/selectOptions.d.ts.map +1 -0
- package/dist/components/Select/styles.css +5 -7
- package/dist/components/Sidebar/styles.css +0 -6
- package/dist/components/Skeleton/styles.css +0 -6
- package/dist/components/Status/styles.css +0 -7
- package/dist/components/Switch/styles.css +0 -7
- package/dist/components/Table/hooks/useExpandableRow.d.ts.map +1 -1
- package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
- package/dist/components/Table/styles.css +7 -10
- package/dist/components/Table/tableQuery.d.ts +30 -0
- package/dist/components/Table/tableQuery.d.ts.map +1 -0
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/Tree/treeQuery.d.ts +31 -0
- package/dist/components/Tree/treeQuery.d.ts.map +1 -0
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +345 -112
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +348 -164
- package/dist/confirm-popup/index.js +5 -5
- package/dist/confirm-popup/style.css +345 -118
- package/dist/context-menu/index.js +105 -96
- package/dist/context-menu/style.css +25 -89
- package/dist/data-view/index.js +2 -2
- package/dist/data-view/style.css +13 -87
- package/dist/date-picker/index.js +3 -3
- package/dist/date-picker/style.css +6 -67
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +348 -164
- package/dist/divider/style.css +6 -61
- package/dist/dock/style.css +6 -77
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +8 -118
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +6 -75
- package/dist/empty/index.js +5 -150
- package/dist/empty/style.css +6 -67
- package/dist/fieldset/style.css +6 -74
- package/dist/file-upload/index.js +147 -145
- package/dist/file-upload/style.css +6 -67
- package/dist/filterByQuery-Bczaxzih.js +17 -0
- package/dist/flex/style.css +6 -61
- package/dist/float-label/style.css +6 -61
- package/dist/fluid/style.css +6 -61
- package/dist/form/style.css +6 -61
- package/dist/gallery/style.css +6 -83
- package/dist/grid/style.css +6 -61
- package/dist/icon/style.css +6 -67
- package/dist/icon-field/style.css +6 -61
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9135 -8796
- package/dist/inplace/style.css +6 -61
- package/dist/input/style.css +6 -67
- package/dist/input-color/style.css +6 -61
- package/dist/input-group/style.css +6 -61
- package/dist/input-number/style.css +6 -67
- package/dist/input-otp/style.css +6 -61
- package/dist/input-password/style.css +6 -67
- package/dist/input-tags/style.css +6 -67
- package/dist/knob/style.css +6 -67
- package/dist/label/style.css +6 -61
- package/dist/layout/style.css +6 -87
- package/dist/listbox/index.js +30 -32
- package/dist/listbox/style.css +6 -69
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +6 -77
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +6 -67
- package/dist/menu/index.js +268 -258
- package/dist/menu/style.css +31 -165
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +6 -75
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +6 -80
- package/dist/meter-group/style.css +6 -61
- package/dist/order-list/style.css +6 -67
- package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
- package/dist/page/index.js +228 -69
- package/dist/page/style.css +1605 -299
- package/dist/page/style.js +3 -0
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +206 -77
- package/dist/pagination/style.js +1 -0
- package/dist/panel/style.css +6 -74
- package/dist/pick-list/style.css +6 -67
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +27 -140
- package/dist/progress-bar/style.css +6 -70
- package/dist/progress-spinner/style.css +6 -68
- package/dist/radio/style.css +6 -61
- package/dist/rating/style.css +6 -67
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +1 -0
- package/dist/result/style.css +6 -67
- package/dist/scroll-top/style.css +6 -82
- package/dist/scrollbar/style.css +6 -69
- package/dist/select/index.js +2 -545
- package/dist/select/style.css +11 -82
- package/dist/select-button/style.css +6 -61
- package/dist/shared/config.d.ts +2 -2
- package/dist/shared/filterByQuery.d.ts +14 -0
- package/dist/shared/filterByQuery.d.ts.map +1 -0
- package/dist/shared/menu/expand.d.ts +38 -0
- package/dist/shared/menu/expand.d.ts.map +1 -0
- package/dist/shared/menu/index.d.ts +2 -0
- package/dist/shared/menu/index.d.ts.map +1 -1
- package/dist/shared/overlayPlacement.d.ts.map +1 -1
- package/dist/sidebar/style.css +6 -73
- package/dist/skeleton/index.js +2 -59
- package/dist/skeleton/style.css +6 -67
- package/dist/slider/style.css +6 -61
- package/dist/space/style.css +6 -61
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +6 -67
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +345 -118
- package/dist/splitter/style.css +6 -61
- package/dist/status/style.css +6 -74
- package/dist/stepper/style.css +6 -67
- package/dist/styles/base.css +1 -50
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +6 -68
- package/dist/table/index.js +343 -313
- package/dist/table/style.css +20 -111
- package/dist/tabs/style.css +6 -75
- package/dist/tag/style.css +6 -67
- package/dist/terminal/style.css +6 -61
- package/dist/textarea/style.css +6 -67
- package/dist/theme/motionPresets.d.ts.map +1 -1
- package/dist/theme/styles.css +5 -11
- package/dist/theme/useMotion.d.ts +5 -1
- package/dist/theme/useMotion.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/tiered-menu/style.css +6 -75
- package/dist/timeline/style.css +6 -75
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +6 -67
- package/dist/toggle-button/style.css +6 -67
- package/dist/toolbar/style.css +6 -61
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +6 -61
- package/dist/tree/index.js +158 -172
- package/dist/tree/style.css +6 -67
- package/dist/tree-select/index.js +201 -215
- package/dist/tree-select/style.css +6 -75
- package/dist/tree-table/style.css +6 -67
- package/dist/treeQuery-CnHkyYOA.js +107 -0
- package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
- package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
- package/dist/virtual-scroller/style.css +6 -69
- package/package.json +2 -1
- package/dist/Button-smoDleh0.js +0 -156
- package/dist/Pagination-DrXmzcEy.js +0 -158
- package/dist/checkStrategy-CZzuUKDI.js +0 -63
package/dist/button/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;
|
|
@@ -1303,21 +1242,28 @@
|
|
|
1303
1242
|
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1304
1243
|
color var(--m-motion-fast) var(--m-motion-ease),
|
|
1305
1244
|
box-shadow var(--m-motion-fast) var(--m-motion-ease),
|
|
1306
|
-
opacity var(--m-motion-fast) var(--m-motion-ease)
|
|
1245
|
+
opacity var(--m-motion-fast) var(--m-motion-ease),
|
|
1246
|
+
transform 160ms var(--m-motion-ease);
|
|
1307
1247
|
vertical-align: middle;
|
|
1308
1248
|
white-space: nowrap;
|
|
1309
1249
|
}
|
|
1310
1250
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1251
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1252
|
+
.m-button:hover:not(:disabled) {
|
|
1253
|
+
background: var(--m-button-hover-bg);
|
|
1254
|
+
border-color: var(--m-button-hover-border);
|
|
1255
|
+
color: var(--m-button-hover-fg);
|
|
1256
|
+
}
|
|
1315
1257
|
}
|
|
1316
1258
|
|
|
1317
1259
|
.m-button:active:not(:disabled) {
|
|
1318
1260
|
background: var(--m-button-active-bg);
|
|
1319
1261
|
}
|
|
1320
1262
|
|
|
1263
|
+
.m-button--press:active:not(:disabled) {
|
|
1264
|
+
transform: scale(0.97);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1321
1267
|
/* Naive-style focus: soft glow, not outline-offset ring */
|
|
1322
1268
|
.m-button:focus {
|
|
1323
1269
|
outline: none;
|
|
@@ -1478,7 +1424,30 @@
|
|
|
1478
1424
|
);
|
|
1479
1425
|
}
|
|
1480
1426
|
|
|
1481
|
-
|
|
1427
|
+
/* Idle matches outlined hover; hover/active deepen the tint. */
|
|
1428
|
+
.m-button--plain {
|
|
1429
|
+
--m-button-bg: color-mix(
|
|
1430
|
+
in srgb,
|
|
1431
|
+
var(--m-button-border) 10%,
|
|
1432
|
+
transparent
|
|
1433
|
+
);
|
|
1434
|
+
--m-button-fg: var(--m-button-border);
|
|
1435
|
+
--m-button-hover-bg: color-mix(
|
|
1436
|
+
in srgb,
|
|
1437
|
+
var(--m-button-border) 16%,
|
|
1438
|
+
transparent
|
|
1439
|
+
);
|
|
1440
|
+
--m-button-hover-fg: var(--m-button-border);
|
|
1441
|
+
--m-button-hover-border: var(--m-button-border);
|
|
1442
|
+
--m-button-active-bg: color-mix(
|
|
1443
|
+
in srgb,
|
|
1444
|
+
var(--m-button-border) 22%,
|
|
1445
|
+
transparent
|
|
1446
|
+
);
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
.m-button--secondary.m-button--outlined,
|
|
1450
|
+
.m-button--secondary.m-button--plain {
|
|
1482
1451
|
--m-button-border: var(--m-color-border);
|
|
1483
1452
|
--m-button-fg: var(--m-color-text);
|
|
1484
1453
|
--m-button-hover-fg: var(--m-color-text);
|
|
@@ -1489,13 +1458,16 @@
|
|
|
1489
1458
|
--m-button-bg: transparent;
|
|
1490
1459
|
--m-button-border: transparent;
|
|
1491
1460
|
--m-button-fg: var(--m-color-primary);
|
|
1461
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1462
|
+
--m-button-hover-border: transparent;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.m-button--text {
|
|
1492
1466
|
--m-button-hover-bg: color-mix(
|
|
1493
1467
|
in srgb,
|
|
1494
1468
|
var(--m-color-primary) 10%,
|
|
1495
1469
|
transparent
|
|
1496
1470
|
);
|
|
1497
|
-
--m-button-hover-fg: var(--m-color-primary);
|
|
1498
|
-
--m-button-hover-border: transparent;
|
|
1499
1471
|
--m-button-active-bg: color-mix(
|
|
1500
1472
|
in srgb,
|
|
1501
1473
|
var(--m-color-primary) 16%,
|
|
@@ -1503,8 +1475,24 @@
|
|
|
1503
1475
|
);
|
|
1504
1476
|
}
|
|
1505
1477
|
|
|
1506
|
-
.m-button--
|
|
1507
|
-
|
|
1478
|
+
.m-button--link {
|
|
1479
|
+
--m-button-bg: transparent;
|
|
1480
|
+
--m-button-hover-bg: transparent;
|
|
1481
|
+
--m-button-active-bg: transparent;
|
|
1482
|
+
height: auto;
|
|
1483
|
+
min-height: 0;
|
|
1484
|
+
padding: 0;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.m-button--link.m-button--link-underline:hover:not(:disabled) {
|
|
1488
|
+
text-decoration: underline;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.m-button--link:not(.m-button--link-underline):hover:not(:disabled) {
|
|
1492
|
+
opacity: 0.8;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
.m-button--secondary.m-button--text {
|
|
1508
1496
|
--m-button-fg: var(--m-color-text-muted);
|
|
1509
1497
|
--m-button-hover-bg: color-mix(
|
|
1510
1498
|
in srgb,
|
|
@@ -1514,8 +1502,12 @@
|
|
|
1514
1502
|
--m-button-hover-fg: var(--m-color-text);
|
|
1515
1503
|
}
|
|
1516
1504
|
|
|
1505
|
+
.m-button--secondary.m-button--link {
|
|
1506
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1507
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1517
1510
|
.m-button--success.m-button--text,
|
|
1518
|
-
.m-button--success.m-button--link,
|
|
1519
1511
|
.m-button--success.m-button--outlined {
|
|
1520
1512
|
--m-button-fg: var(--m-color-success);
|
|
1521
1513
|
--m-button-border: var(--m-color-success);
|
|
@@ -1528,8 +1520,12 @@
|
|
|
1528
1520
|
--m-button-hover-border: var(--m-color-success);
|
|
1529
1521
|
}
|
|
1530
1522
|
|
|
1523
|
+
.m-button--success.m-button--link {
|
|
1524
|
+
--m-button-fg: var(--m-color-success);
|
|
1525
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1531
1528
|
.m-button--info.m-button--text,
|
|
1532
|
-
.m-button--info.m-button--link,
|
|
1533
1529
|
.m-button--info.m-button--outlined {
|
|
1534
1530
|
--m-button-fg: var(--m-color-info);
|
|
1535
1531
|
--m-button-border: var(--m-color-info);
|
|
@@ -1542,8 +1538,12 @@
|
|
|
1542
1538
|
--m-button-hover-border: var(--m-color-info);
|
|
1543
1539
|
}
|
|
1544
1540
|
|
|
1541
|
+
.m-button--info.m-button--link {
|
|
1542
|
+
--m-button-fg: var(--m-color-info);
|
|
1543
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1545
1546
|
.m-button--warn.m-button--text,
|
|
1546
|
-
.m-button--warn.m-button--link,
|
|
1547
1547
|
.m-button--warn.m-button--outlined {
|
|
1548
1548
|
--m-button-fg: var(--m-color-warn);
|
|
1549
1549
|
--m-button-border: var(--m-color-warn);
|
|
@@ -1556,8 +1556,12 @@
|
|
|
1556
1556
|
--m-button-hover-border: var(--m-color-warn);
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
+
.m-button--warn.m-button--link {
|
|
1560
|
+
--m-button-fg: var(--m-color-warn);
|
|
1561
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1559
1564
|
.m-button--help.m-button--text,
|
|
1560
|
-
.m-button--help.m-button--link,
|
|
1561
1565
|
.m-button--help.m-button--outlined {
|
|
1562
1566
|
--m-button-fg: var(--m-color-help);
|
|
1563
1567
|
--m-button-border: var(--m-color-help);
|
|
@@ -1570,8 +1574,12 @@
|
|
|
1570
1574
|
--m-button-hover-border: var(--m-color-help);
|
|
1571
1575
|
}
|
|
1572
1576
|
|
|
1577
|
+
.m-button--help.m-button--link {
|
|
1578
|
+
--m-button-fg: var(--m-color-help);
|
|
1579
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1573
1582
|
.m-button--danger.m-button--text,
|
|
1574
|
-
.m-button--danger.m-button--link,
|
|
1575
1583
|
.m-button--danger.m-button--outlined {
|
|
1576
1584
|
--m-button-fg: var(--m-color-danger);
|
|
1577
1585
|
--m-button-border: var(--m-color-danger);
|
|
@@ -1584,8 +1592,12 @@
|
|
|
1584
1592
|
--m-button-hover-border: var(--m-color-danger);
|
|
1585
1593
|
}
|
|
1586
1594
|
|
|
1595
|
+
.m-button--danger.m-button--link {
|
|
1596
|
+
--m-button-fg: var(--m-color-danger);
|
|
1597
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1587
1600
|
.m-button--contrast.m-button--text,
|
|
1588
|
-
.m-button--contrast.m-button--link,
|
|
1589
1601
|
.m-button--contrast.m-button--outlined {
|
|
1590
1602
|
--m-button-fg: var(--m-color-contrast);
|
|
1591
1603
|
--m-button-border: var(--m-color-contrast);
|
|
@@ -1598,9 +1610,14 @@
|
|
|
1598
1610
|
--m-button-hover-border: var(--m-color-contrast);
|
|
1599
1611
|
}
|
|
1600
1612
|
|
|
1613
|
+
.m-button--contrast.m-button--link {
|
|
1614
|
+
--m-button-fg: var(--m-color-contrast);
|
|
1615
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1601
1618
|
.m-button--plain.m-button--text,
|
|
1602
|
-
.m-button--plain.m-button--outlined
|
|
1603
|
-
|
|
1619
|
+
.m-button--plain.m-button--outlined {
|
|
1620
|
+
--m-button-bg: transparent;
|
|
1604
1621
|
--m-button-fg: var(--m-color-text-muted);
|
|
1605
1622
|
--m-button-border: var(--m-color-border);
|
|
1606
1623
|
--m-button-hover-bg: color-mix(
|
|
@@ -1610,69 +1627,178 @@
|
|
|
1610
1627
|
);
|
|
1611
1628
|
--m-button-hover-fg: var(--m-color-text);
|
|
1612
1629
|
--m-button-hover-border: var(--m-color-border);
|
|
1630
|
+
--m-button-active-bg: color-mix(
|
|
1631
|
+
in srgb,
|
|
1632
|
+
var(--m-color-text-muted) 18%,
|
|
1633
|
+
transparent
|
|
1634
|
+
);
|
|
1613
1635
|
}
|
|
1614
1636
|
|
|
1615
|
-
.m-button--link {
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
padding: 0;
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
.m-button--link:hover:not(:disabled) {
|
|
1622
|
-
text-decoration: underline;
|
|
1637
|
+
.m-button--plain.m-button--link {
|
|
1638
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1639
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1623
1640
|
}
|
|
1624
1641
|
|
|
1625
1642
|
.m-button--ghost {
|
|
1626
|
-
--m-button-bg:
|
|
1627
|
-
|
|
1643
|
+
--m-button-bg: color-mix(
|
|
1644
|
+
in srgb,
|
|
1645
|
+
var(--m-color-primary) 10%,
|
|
1646
|
+
transparent
|
|
1647
|
+
);
|
|
1648
|
+
--m-button-border: transparent;
|
|
1649
|
+
--m-button-fg: var(--m-color-primary);
|
|
1628
1650
|
--m-button-hover-bg: color-mix(
|
|
1629
1651
|
in srgb,
|
|
1630
|
-
var(--m-
|
|
1652
|
+
var(--m-color-primary) 16%,
|
|
1631
1653
|
transparent
|
|
1632
1654
|
);
|
|
1633
|
-
--m-button-hover-fg: var(--m-
|
|
1634
|
-
--m-button-hover-border:
|
|
1655
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1656
|
+
--m-button-hover-border: transparent;
|
|
1635
1657
|
--m-button-active-bg: color-mix(
|
|
1636
1658
|
in srgb,
|
|
1637
|
-
var(--m-
|
|
1659
|
+
var(--m-color-primary) 22%,
|
|
1638
1660
|
transparent
|
|
1639
1661
|
);
|
|
1640
1662
|
}
|
|
1641
1663
|
|
|
1642
1664
|
.m-button--secondary.m-button--ghost {
|
|
1643
|
-
--m-button-
|
|
1665
|
+
--m-button-bg: color-mix(
|
|
1666
|
+
in srgb,
|
|
1667
|
+
var(--m-color-text-muted) 12%,
|
|
1668
|
+
transparent
|
|
1669
|
+
);
|
|
1644
1670
|
--m-button-fg: var(--m-color-text);
|
|
1671
|
+
--m-button-hover-bg: color-mix(
|
|
1672
|
+
in srgb,
|
|
1673
|
+
var(--m-color-text-muted) 18%,
|
|
1674
|
+
transparent
|
|
1675
|
+
);
|
|
1645
1676
|
--m-button-hover-fg: var(--m-color-text);
|
|
1677
|
+
--m-button-active-bg: color-mix(
|
|
1678
|
+
in srgb,
|
|
1679
|
+
var(--m-color-text-muted) 24%,
|
|
1680
|
+
transparent
|
|
1681
|
+
);
|
|
1646
1682
|
}
|
|
1647
1683
|
|
|
1648
1684
|
.m-button--success.m-button--ghost {
|
|
1685
|
+
--m-button-bg: color-mix(
|
|
1686
|
+
in srgb,
|
|
1687
|
+
var(--m-color-success) 10%,
|
|
1688
|
+
transparent
|
|
1689
|
+
);
|
|
1649
1690
|
--m-button-fg: var(--m-color-success);
|
|
1650
|
-
--m-button-
|
|
1691
|
+
--m-button-hover-bg: color-mix(
|
|
1692
|
+
in srgb,
|
|
1693
|
+
var(--m-color-success) 16%,
|
|
1694
|
+
transparent
|
|
1695
|
+
);
|
|
1696
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1697
|
+
--m-button-active-bg: color-mix(
|
|
1698
|
+
in srgb,
|
|
1699
|
+
var(--m-color-success) 22%,
|
|
1700
|
+
transparent
|
|
1701
|
+
);
|
|
1651
1702
|
}
|
|
1652
1703
|
|
|
1653
1704
|
.m-button--info.m-button--ghost {
|
|
1705
|
+
--m-button-bg: color-mix(
|
|
1706
|
+
in srgb,
|
|
1707
|
+
var(--m-color-info) 10%,
|
|
1708
|
+
transparent
|
|
1709
|
+
);
|
|
1654
1710
|
--m-button-fg: var(--m-color-info);
|
|
1655
|
-
--m-button-
|
|
1711
|
+
--m-button-hover-bg: color-mix(
|
|
1712
|
+
in srgb,
|
|
1713
|
+
var(--m-color-info) 16%,
|
|
1714
|
+
transparent
|
|
1715
|
+
);
|
|
1716
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1717
|
+
--m-button-active-bg: color-mix(
|
|
1718
|
+
in srgb,
|
|
1719
|
+
var(--m-color-info) 22%,
|
|
1720
|
+
transparent
|
|
1721
|
+
);
|
|
1656
1722
|
}
|
|
1657
1723
|
|
|
1658
1724
|
.m-button--warn.m-button--ghost {
|
|
1725
|
+
--m-button-bg: color-mix(
|
|
1726
|
+
in srgb,
|
|
1727
|
+
var(--m-color-warn) 10%,
|
|
1728
|
+
transparent
|
|
1729
|
+
);
|
|
1659
1730
|
--m-button-fg: var(--m-color-warn);
|
|
1660
|
-
--m-button-
|
|
1731
|
+
--m-button-hover-bg: color-mix(
|
|
1732
|
+
in srgb,
|
|
1733
|
+
var(--m-color-warn) 16%,
|
|
1734
|
+
transparent
|
|
1735
|
+
);
|
|
1736
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1737
|
+
--m-button-active-bg: color-mix(
|
|
1738
|
+
in srgb,
|
|
1739
|
+
var(--m-color-warn) 22%,
|
|
1740
|
+
transparent
|
|
1741
|
+
);
|
|
1661
1742
|
}
|
|
1662
1743
|
|
|
1663
1744
|
.m-button--help.m-button--ghost {
|
|
1745
|
+
--m-button-bg: color-mix(
|
|
1746
|
+
in srgb,
|
|
1747
|
+
var(--m-color-help) 10%,
|
|
1748
|
+
transparent
|
|
1749
|
+
);
|
|
1664
1750
|
--m-button-fg: var(--m-color-help);
|
|
1665
|
-
--m-button-
|
|
1751
|
+
--m-button-hover-bg: color-mix(
|
|
1752
|
+
in srgb,
|
|
1753
|
+
var(--m-color-help) 16%,
|
|
1754
|
+
transparent
|
|
1755
|
+
);
|
|
1756
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1757
|
+
--m-button-active-bg: color-mix(
|
|
1758
|
+
in srgb,
|
|
1759
|
+
var(--m-color-help) 22%,
|
|
1760
|
+
transparent
|
|
1761
|
+
);
|
|
1666
1762
|
}
|
|
1667
1763
|
|
|
1668
1764
|
.m-button--danger.m-button--ghost {
|
|
1765
|
+
--m-button-bg: color-mix(
|
|
1766
|
+
in srgb,
|
|
1767
|
+
var(--m-color-danger) 10%,
|
|
1768
|
+
transparent
|
|
1769
|
+
);
|
|
1669
1770
|
--m-button-fg: var(--m-color-danger);
|
|
1670
|
-
--m-button-
|
|
1771
|
+
--m-button-hover-bg: color-mix(
|
|
1772
|
+
in srgb,
|
|
1773
|
+
var(--m-color-danger) 16%,
|
|
1774
|
+
transparent
|
|
1775
|
+
);
|
|
1776
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1777
|
+
--m-button-active-bg: color-mix(
|
|
1778
|
+
in srgb,
|
|
1779
|
+
var(--m-color-danger) 22%,
|
|
1780
|
+
transparent
|
|
1781
|
+
);
|
|
1671
1782
|
}
|
|
1672
1783
|
|
|
1673
1784
|
.m-button--contrast.m-button--ghost {
|
|
1785
|
+
--m-button-bg: color-mix(
|
|
1786
|
+
in srgb,
|
|
1787
|
+
var(--m-color-contrast) 10%,
|
|
1788
|
+
transparent
|
|
1789
|
+
);
|
|
1674
1790
|
--m-button-fg: var(--m-color-contrast);
|
|
1675
|
-
--m-button-
|
|
1791
|
+
--m-button-hover-bg: color-mix(
|
|
1792
|
+
in srgb,
|
|
1793
|
+
var(--m-color-contrast) 16%,
|
|
1794
|
+
transparent
|
|
1795
|
+
);
|
|
1796
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1797
|
+
--m-button-active-bg: color-mix(
|
|
1798
|
+
in srgb,
|
|
1799
|
+
var(--m-color-contrast) 22%,
|
|
1800
|
+
transparent
|
|
1801
|
+
);
|
|
1676
1802
|
}
|
|
1677
1803
|
|
|
1678
1804
|
.m-button--quaternary {
|
|
@@ -1711,11 +1837,7 @@
|
|
|
1711
1837
|
);
|
|
1712
1838
|
}
|
|
1713
1839
|
|
|
1714
|
-
.m-button--custom.m-button--outlined
|
|
1715
|
-
.m-button--custom.m-button--ghost,
|
|
1716
|
-
.m-button--custom.m-button--text,
|
|
1717
|
-
.m-button--custom.m-button--quaternary,
|
|
1718
|
-
.m-button--custom.m-button--link {
|
|
1840
|
+
.m-button--custom.m-button--outlined {
|
|
1719
1841
|
--m-button-bg: transparent;
|
|
1720
1842
|
--m-button-fg: var(--m-button-color);
|
|
1721
1843
|
--m-button-border: var(--m-button-color);
|
|
@@ -1728,11 +1850,72 @@
|
|
|
1728
1850
|
--m-button-hover-border: var(--m-button-color);
|
|
1729
1851
|
}
|
|
1730
1852
|
|
|
1853
|
+
.m-button--custom.m-button--ghost {
|
|
1854
|
+
--m-button-bg: color-mix(
|
|
1855
|
+
in srgb,
|
|
1856
|
+
var(--m-button-color) 10%,
|
|
1857
|
+
transparent
|
|
1858
|
+
);
|
|
1859
|
+
--m-button-fg: var(--m-button-color);
|
|
1860
|
+
--m-button-border: transparent;
|
|
1861
|
+
--m-button-hover-bg: color-mix(
|
|
1862
|
+
in srgb,
|
|
1863
|
+
var(--m-button-color) 16%,
|
|
1864
|
+
transparent
|
|
1865
|
+
);
|
|
1866
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1867
|
+
--m-button-hover-border: transparent;
|
|
1868
|
+
--m-button-active-bg: color-mix(
|
|
1869
|
+
in srgb,
|
|
1870
|
+
var(--m-button-color) 22%,
|
|
1871
|
+
transparent
|
|
1872
|
+
);
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1731
1875
|
.m-button--custom.m-button--text,
|
|
1732
|
-
.m-button--custom.m-button--quaternary
|
|
1876
|
+
.m-button--custom.m-button--quaternary {
|
|
1877
|
+
--m-button-bg: transparent;
|
|
1878
|
+
--m-button-fg: var(--m-button-color);
|
|
1879
|
+
--m-button-border: transparent;
|
|
1880
|
+
--m-button-hover-bg: color-mix(
|
|
1881
|
+
in srgb,
|
|
1882
|
+
var(--m-button-color) 12%,
|
|
1883
|
+
transparent
|
|
1884
|
+
);
|
|
1885
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1886
|
+
--m-button-hover-border: transparent;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.m-button--custom.m-button--plain {
|
|
1890
|
+
--m-button-bg: color-mix(
|
|
1891
|
+
in srgb,
|
|
1892
|
+
var(--m-button-color) 10%,
|
|
1893
|
+
transparent
|
|
1894
|
+
);
|
|
1895
|
+
--m-button-fg: var(--m-button-color);
|
|
1896
|
+
--m-button-border: var(--m-button-color);
|
|
1897
|
+
--m-button-hover-bg: color-mix(
|
|
1898
|
+
in srgb,
|
|
1899
|
+
var(--m-button-color) 16%,
|
|
1900
|
+
transparent
|
|
1901
|
+
);
|
|
1902
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1903
|
+
--m-button-hover-border: var(--m-button-color);
|
|
1904
|
+
--m-button-active-bg: color-mix(
|
|
1905
|
+
in srgb,
|
|
1906
|
+
var(--m-button-color) 22%,
|
|
1907
|
+
transparent
|
|
1908
|
+
);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1733
1911
|
.m-button--custom.m-button--link {
|
|
1912
|
+
--m-button-bg: transparent;
|
|
1913
|
+
--m-button-fg: var(--m-button-color);
|
|
1734
1914
|
--m-button-border: transparent;
|
|
1915
|
+
--m-button-hover-bg: transparent;
|
|
1916
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1735
1917
|
--m-button-hover-border: transparent;
|
|
1918
|
+
--m-button-active-bg: transparent;
|
|
1736
1919
|
}
|
|
1737
1920
|
|
|
1738
1921
|
.m-button-group {
|
|
@@ -1839,6 +2022,52 @@
|
|
|
1839
2022
|
justify-content: center;
|
|
1840
2023
|
}
|
|
1841
2024
|
|
|
2025
|
+
.m-button__icon,
|
|
2026
|
+
.m-button__label,
|
|
2027
|
+
.m-button__badge {
|
|
2028
|
+
position: relative;
|
|
2029
|
+
z-index: 1;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
.m-button__ripple {
|
|
2033
|
+
border-radius: inherit;
|
|
2034
|
+
inset: 0;
|
|
2035
|
+
overflow: hidden;
|
|
2036
|
+
pointer-events: none;
|
|
2037
|
+
position: absolute;
|
|
2038
|
+
z-index: 0;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
.m-button__ripple-wave {
|
|
2042
|
+
background: currentColor;
|
|
2043
|
+
border-radius: var(--m-radius-full);
|
|
2044
|
+
opacity: 0;
|
|
2045
|
+
pointer-events: none;
|
|
2046
|
+
position: absolute;
|
|
2047
|
+
transform: scale(0);
|
|
2048
|
+
will-change: transform, opacity;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/* Used only when Web Animations API is unavailable. */
|
|
2052
|
+
.m-button__ripple-wave--fallback {
|
|
2053
|
+
animation: m-button-ripple 560ms var(--m-motion-ease) forwards;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
@keyframes m-button-ripple {
|
|
2057
|
+
0% {
|
|
2058
|
+
opacity: 0.42;
|
|
2059
|
+
transform: scale(0);
|
|
2060
|
+
}
|
|
2061
|
+
55% {
|
|
2062
|
+
opacity: 0.22;
|
|
2063
|
+
transform: scale(0.55);
|
|
2064
|
+
}
|
|
2065
|
+
100% {
|
|
2066
|
+
opacity: 0;
|
|
2067
|
+
transform: scale(1);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
1842
2071
|
.m-button__icon {
|
|
1843
2072
|
flex: 0 0 auto;
|
|
1844
2073
|
width: var(--m-button-icon-size);
|
|
@@ -1922,13 +2151,11 @@
|
|
|
1922
2151
|
}
|
|
1923
2152
|
}
|
|
1924
2153
|
|
|
1925
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1926
|
-
html:not([data-m-ignore-reduced-motion]) .m-button__spinner {
|
|
1927
|
-
animation: none;
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
2154
|
[data-m-motion="reduced"] .m-button__spinner,
|
|
1932
2155
|
[data-m-motion="none"] .m-button__spinner {
|
|
1933
2156
|
animation: none;
|
|
1934
2157
|
}
|
|
2158
|
+
|
|
2159
|
+
[data-m-motion="none"] .m-button__ripple-wave {
|
|
2160
|
+
display: none;
|
|
2161
|
+
}
|
package/dist/card/index.js
CHANGED