morya-ui 0.4.3 → 0.4.4

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.
Files changed (173) hide show
  1. package/CHANGELOG.md +780 -769
  2. package/LICENSE +21 -21
  3. package/README.md +156 -150
  4. package/README.zh-CN.md +156 -150
  5. package/dist/accordion/style.css +1205 -1205
  6. package/dist/affix/style.css +1205 -1205
  7. package/dist/alert/style.css +1205 -1205
  8. package/dist/anchor/style.css +1205 -1205
  9. package/dist/auto-complete/style.css +1749 -1749
  10. package/dist/avatar/style.css +1318 -1318
  11. package/dist/badge/style.css +1371 -1371
  12. package/dist/block-ui/style.css +1205 -1205
  13. package/dist/breadcrumb/style.css +1205 -1205
  14. package/dist/button/style.css +1909 -1909
  15. package/dist/calendar/style.css +1880 -1880
  16. package/dist/card/style.css +1205 -1205
  17. package/dist/carousel/style.css +2208 -2208
  18. package/dist/cascade-select/style.css +1909 -1909
  19. package/dist/checkbox/style.css +1205 -1205
  20. package/dist/chip/style.css +1349 -1349
  21. package/dist/command-menu/style.css +1438 -1438
  22. package/dist/components/AutoComplete/styles.css +209 -209
  23. package/dist/components/Avatar/styles.css +113 -113
  24. package/dist/components/Badge/styles.css +164 -164
  25. package/dist/components/Button/styles.css +698 -698
  26. package/dist/components/Carousel/styles.css +302 -302
  27. package/dist/components/CascadeSelect/styles.css +168 -168
  28. package/dist/components/Chip/styles.css +144 -144
  29. package/dist/components/CommandMenu/styles.css +102 -102
  30. package/dist/components/ConfigProvider/styles.css +6 -6
  31. package/dist/components/ConfirmDialog/styles.css +24 -24
  32. package/dist/components/ConfirmPopup/styles.css +35 -35
  33. package/dist/components/ContextMenu/styles.css +138 -138
  34. package/dist/components/DatePicker/styles.css +453 -453
  35. package/dist/components/Dialog/styles.css +420 -420
  36. package/dist/components/Dock/styles.css +84 -84
  37. package/dist/components/Drawer/styles.css +346 -346
  38. package/dist/components/Dropdown/styles.css +135 -135
  39. package/dist/components/Empty/styles.css +146 -146
  40. package/dist/components/FileUpload/styles.css +359 -359
  41. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  42. package/dist/components/Form/styles.css +125 -125
  43. package/dist/components/Gallery/styles.css +100 -100
  44. package/dist/components/Input/styles.css +392 -392
  45. package/dist/components/InputColor/styles.css +139 -139
  46. package/dist/components/InputNumber/styles.css +262 -262
  47. package/dist/components/InputPassword/styles.css +189 -189
  48. package/dist/components/InputTags/styles.css +121 -121
  49. package/dist/components/Layout/styles.css +433 -433
  50. package/dist/components/List/styles.css +229 -229
  51. package/dist/components/Listbox/styles.css +130 -130
  52. package/dist/components/Loading/styles.css +378 -378
  53. package/dist/components/MegaMenu/styles.css +97 -97
  54. package/dist/components/Menu/styles.css +565 -565
  55. package/dist/components/Menubar/styles.css +144 -144
  56. package/dist/components/Message/styles.css +248 -248
  57. package/dist/components/MeterGroup/styles.css +49 -49
  58. package/dist/components/Page/styles.css +430 -430
  59. package/dist/components/Pagination/styles.css +124 -124
  60. package/dist/components/Popover/styles.css +92 -92
  61. package/dist/components/Result/styles.css +146 -146
  62. package/dist/components/Scrollbar/styles.css +131 -131
  63. package/dist/components/Select/styles.css +222 -222
  64. package/dist/components/SelectButton/styles.css +107 -107
  65. package/dist/components/Sidebar/styles.css +74 -74
  66. package/dist/components/Slider/styles.css +211 -211
  67. package/dist/components/SplitButton/styles.css +216 -216
  68. package/dist/components/Status/styles.css +190 -190
  69. package/dist/components/Stepper/styles.css +152 -152
  70. package/dist/components/Switch/styles.css +129 -129
  71. package/dist/components/Tabs/styles.css +165 -165
  72. package/dist/components/Terminal/styles.css +75 -75
  73. package/dist/components/Textarea/styles.css +146 -146
  74. package/dist/components/TieredMenu/styles.css +125 -125
  75. package/dist/components/Timeline/styles.css +157 -157
  76. package/dist/components/TreeSelect/styles.css +172 -172
  77. package/dist/components/VirtualScroller/styles.css +27 -27
  78. package/dist/config-provider/style.css +2301 -2301
  79. package/dist/confirm-dialog/style.css +2347 -2347
  80. package/dist/confirm-popup/style.css +1938 -1938
  81. package/dist/context-menu/style.css +1474 -1474
  82. package/dist/data-view/style.css +1707 -1707
  83. package/dist/date-picker/style.css +1658 -1658
  84. package/dist/descriptions/style.css +1205 -1205
  85. package/dist/dialog/style.css +2323 -2323
  86. package/dist/divider/style.css +1205 -1205
  87. package/dist/dock/style.css +1289 -1289
  88. package/dist/drawer/style.css +1551 -1551
  89. package/dist/dropdown/style.css +1471 -1471
  90. package/dist/empty/style.css +1351 -1351
  91. package/dist/fieldset/style.css +1205 -1205
  92. package/dist/file-upload/style.css +1564 -1564
  93. package/dist/flex/style.css +1205 -1205
  94. package/dist/float-label/style.css +1205 -1205
  95. package/dist/fluid/style.css +1205 -1205
  96. package/dist/form/style.css +1332 -1332
  97. package/dist/gallery/style.css +1436 -1436
  98. package/dist/grid/style.css +1205 -1205
  99. package/dist/icon/style.css +1205 -1205
  100. package/dist/icon-field/style.css +1597 -1597
  101. package/dist/image/style.css +1205 -1205
  102. package/dist/inplace/style.css +1205 -1205
  103. package/dist/input/style.css +1722 -1722
  104. package/dist/input-color/style.css +1346 -1346
  105. package/dist/input-group/style.css +1205 -1205
  106. package/dist/input-number/style.css +1467 -1467
  107. package/dist/input-otp/style.css +1205 -1205
  108. package/dist/input-password/style.css +1519 -1519
  109. package/dist/input-tags/style.css +1326 -1326
  110. package/dist/knob/style.css +1205 -1205
  111. package/dist/label/style.css +1205 -1205
  112. package/dist/layout/style.css +1769 -1769
  113. package/dist/list/style.css +2087 -2087
  114. package/dist/listbox/style.css +1497 -1497
  115. package/dist/loading/style.css +1585 -1585
  116. package/dist/mega-menu/style.css +1302 -1302
  117. package/dist/mentions/style.css +1330 -1330
  118. package/dist/menu/style.css +2059 -2059
  119. package/dist/menubar/style.css +1480 -1480
  120. package/dist/message/style.css +1453 -1453
  121. package/dist/meter-group/style.css +1256 -1256
  122. package/dist/order-list/style.css +1205 -1205
  123. package/dist/page/style.css +2597 -2597
  124. package/dist/pagination/style.css +1551 -1551
  125. package/dist/panel/style.css +1205 -1205
  126. package/dist/pick-list/style.css +1205 -1205
  127. package/dist/popover/style.css +1299 -1299
  128. package/dist/progress-bar/style.css +1205 -1205
  129. package/dist/progress-spinner/style.css +1205 -1205
  130. package/dist/qr-code/style.css +1903 -1903
  131. package/dist/radio/style.css +1205 -1205
  132. package/dist/rating/style.css +1205 -1205
  133. package/dist/result/style.css +1351 -1351
  134. package/dist/scroll-top/style.css +1336 -1336
  135. package/dist/scrollbar/style.css +1338 -1338
  136. package/dist/segmented/style.css +1205 -1205
  137. package/dist/select/style.css +2115 -2115
  138. package/dist/select-button/style.css +1314 -1314
  139. package/dist/shared/styles/control-affix-icon.css +110 -110
  140. package/dist/shared/styles/control-suffix.css +118 -118
  141. package/dist/shared/styles/select-overlay.css +177 -177
  142. package/dist/sidebar/style.css +1279 -1279
  143. package/dist/skeleton/style.css +1205 -1205
  144. package/dist/slider/style.css +1418 -1418
  145. package/dist/space/style.css +1205 -1205
  146. package/dist/speed-dial/style.css +1205 -1205
  147. package/dist/split-button/style.css +2119 -2119
  148. package/dist/splitter/style.css +1205 -1205
  149. package/dist/statistic/style.css +1205 -1205
  150. package/dist/status/style.css +1395 -1395
  151. package/dist/stepper/style.css +1357 -1357
  152. package/dist/styles/base.css +804 -804
  153. package/dist/switch/style.css +1336 -1336
  154. package/dist/table/style.css +1840 -1840
  155. package/dist/tabs/style.css +1501 -1501
  156. package/dist/tag/style.css +1205 -1205
  157. package/dist/terminal/style.css +1282 -1282
  158. package/dist/textarea/style.css +1476 -1476
  159. package/dist/theme/styles.css +401 -401
  160. package/dist/tiered-menu/style.css +1461 -1461
  161. package/dist/time-picker/style.css +1660 -1660
  162. package/dist/timeline/style.css +1493 -1493
  163. package/dist/toast/style.css +1903 -1903
  164. package/dist/toggle-button/style.css +1205 -1205
  165. package/dist/toolbar/style.css +1205 -1205
  166. package/dist/tooltip/style.css +1205 -1205
  167. package/dist/tour/style.css +1903 -1903
  168. package/dist/tree/style.css +1205 -1205
  169. package/dist/tree-select/style.css +1913 -1913
  170. package/dist/typography/style.css +1351 -1351
  171. package/dist/virtual-scroller/style.css +1366 -1366
  172. package/dist/watermark/style.css +1205 -1205
  173. package/package.json +2 -1
@@ -1,248 +1,248 @@
1
- /* —— Feedback: Message —— */
2
- .m-message-host {
3
- --m-message-host-max-width: 28rem;
4
- display: flex;
5
- flex-direction: column;
6
- gap: var(--m-space-2);
7
- left: 50%;
8
- max-width: min(
9
- var(--m-message-host-max-width),
10
- calc(100vw - 2 * var(--m-space-4))
11
- );
12
- pointer-events: none;
13
- position: fixed;
14
- top: var(--m-space-4);
15
- transform: translateX(-50%);
16
- width: max-content;
17
- z-index: var(--m-z-toast);
18
- }
19
-
20
- .m-message-host--top-left {
21
- left: var(--m-space-4);
22
- transform: none;
23
- }
24
-
25
- .m-message-host--top-right {
26
- left: auto;
27
- right: var(--m-space-4);
28
- transform: none;
29
- }
30
-
31
- .m-message-host--bottom,
32
- .m-message-host--bottom-left,
33
- .m-message-host--bottom-right {
34
- bottom: var(--m-space-4);
35
- flex-direction: column-reverse;
36
- top: auto;
37
- }
38
-
39
- .m-message-host--bottom-left {
40
- left: var(--m-space-4);
41
- transform: none;
42
- }
43
-
44
- .m-message-host--bottom-right {
45
- left: auto;
46
- right: var(--m-space-4);
47
- transform: none;
48
- }
49
-
50
- .m-message {
51
- --m-message-min-width: 16rem;
52
- background: color-mix(
53
- in srgb,
54
- var(--m-color-info) 10%,
55
- var(--m-color-surface)
56
- );
57
- border: var(--m-border-width) solid
58
- color-mix(in srgb, var(--m-color-info) 28%, var(--m-color-border));
59
- border-radius: var(--m-radius-md);
60
- box-shadow: var(--m-shadow-md);
61
- color: var(--m-color-text);
62
- display: flex;
63
- align-items: center;
64
- font-family: var(--m-font-sans);
65
- font-size: var(--m-font-size-md);
66
- gap: var(--m-space-3);
67
- line-height: 1.45;
68
- min-width: var(--m-message-min-width);
69
- padding: var(--m-space-3) var(--m-space-4);
70
- pointer-events: auto;
71
- }
72
-
73
- .m-message__icon {
74
- color: var(--m-color-info);
75
- flex-shrink: 0;
76
- display: flex;
77
- align-items: center;
78
- justify-content: center;
79
- }
80
-
81
- .m-message__content {
82
- flex: 1 1 auto;
83
- min-width: 0;
84
- }
85
-
86
- .m-message__close {
87
- align-items: center;
88
- background: transparent;
89
- border: 0;
90
- border-radius: var(--m-radius-sm);
91
- color: var(--m-color-text-muted);
92
- cursor: pointer;
93
- display: inline-flex;
94
- flex-shrink: 0;
95
- font: inherit;
96
- height: var(--m-control-affix-size);
97
- justify-content: center;
98
- line-height: 1;
99
- padding: 0;
100
- transition:
101
- background-color var(--m-motion-fast) var(--m-motion-ease),
102
- color var(--m-motion-fast) var(--m-motion-ease);
103
- width: var(--m-control-affix-size);
104
- }
105
-
106
- .m-message__close:hover:not(:disabled) {
107
- background: color-mix(in srgb, var(--m-color-primary) 10%, transparent);
108
- color: var(--m-color-text);
109
- }
110
-
111
- .m-message__close:focus-visible {
112
- box-shadow: var(--m-focus-shadow);
113
- outline: none;
114
- }
115
-
116
- .m-message--success {
117
- background: color-mix(
118
- in srgb,
119
- var(--m-color-success) 10%,
120
- var(--m-color-surface)
121
- );
122
- border-color: color-mix(
123
- in srgb,
124
- var(--m-color-success) 28%,
125
- var(--m-color-border)
126
- );
127
- }
128
-
129
- .m-message--success .m-message__icon {
130
- color: var(--m-color-success);
131
- }
132
-
133
- .m-message--info {
134
- background: color-mix(
135
- in srgb,
136
- var(--m-color-info) 10%,
137
- var(--m-color-surface)
138
- );
139
- border-color: color-mix(
140
- in srgb,
141
- var(--m-color-info) 28%,
142
- var(--m-color-border)
143
- );
144
- }
145
-
146
- .m-message--info .m-message__icon {
147
- color: var(--m-color-info);
148
- }
149
-
150
- .m-message--warning {
151
- background: color-mix(
152
- in srgb,
153
- var(--m-color-warning) 10%,
154
- var(--m-color-surface)
155
- );
156
- border-color: color-mix(
157
- in srgb,
158
- var(--m-color-warning) 28%,
159
- var(--m-color-border)
160
- );
161
- }
162
-
163
- .m-message--warning .m-message__icon {
164
- color: var(--m-color-warning);
165
- }
166
-
167
- .m-message--danger {
168
- background: color-mix(
169
- in srgb,
170
- var(--m-color-danger) 10%,
171
- var(--m-color-surface)
172
- );
173
- border-color: color-mix(
174
- in srgb,
175
- var(--m-color-danger) 28%,
176
- var(--m-color-border)
177
- );
178
- }
179
-
180
- .m-message--danger .m-message__icon {
181
- color: var(--m-color-danger);
182
- }
183
-
184
- .m-message--secondary {
185
- background: color-mix(
186
- in srgb,
187
- var(--m-color-text-muted) 10%,
188
- var(--m-color-surface)
189
- );
190
- border-color: color-mix(
191
- in srgb,
192
- var(--m-color-text-muted) 22%,
193
- var(--m-color-border)
194
- );
195
- }
196
-
197
- .m-message--secondary .m-message__icon {
198
- color: var(--m-color-text-muted);
199
- }
200
-
201
- .m-message--contrast {
202
- background: var(--m-color-contrast);
203
- border-color: var(--m-color-contrast);
204
- color: var(--m-color-contrast-fg);
205
- }
206
-
207
- .m-message--contrast .m-message__icon,
208
- .m-message--contrast .m-message__close {
209
- color: var(--m-color-contrast-fg);
210
- }
211
-
212
- .m-message-slide-enter-active {
213
- transition:
214
- opacity var(--m-motion-enter) var(--m-motion-ease),
215
- transform var(--m-motion-enter) var(--m-motion-ease);
216
- }
217
-
218
- .m-message-slide-leave-active {
219
- transition:
220
- opacity var(--m-motion-exit) var(--m-motion-ease),
221
- transform var(--m-motion-exit) var(--m-motion-ease);
222
- }
223
-
224
- .m-message-slide-enter-from,
225
- .m-message-slide-leave-to {
226
- opacity: 0;
227
- transform: translateY(calc(var(--m-motion-distance) * -1));
228
- }
229
-
230
- .m-message-slide-move {
231
- transition: transform var(--m-motion-enter) var(--m-motion-ease);
232
- }
233
-
234
- [data-m-motion="reduced"] .m-message-slide-enter-active,
235
- [data-m-motion="reduced"] .m-message-slide-leave-active,
236
- [data-m-motion="reduced"] .m-message-slide-move,
237
- [data-m-motion="none"] .m-message-slide-enter-active,
238
- [data-m-motion="none"] .m-message-slide-leave-active,
239
- [data-m-motion="none"] .m-message-slide-move {
240
- transition: none;
241
- }
242
-
243
- [data-m-motion="reduced"] .m-message-slide-enter-from,
244
- [data-m-motion="reduced"] .m-message-slide-leave-to,
245
- [data-m-motion="none"] .m-message-slide-enter-from,
246
- [data-m-motion="none"] .m-message-slide-leave-to {
247
- transform: none;
248
- }
1
+ /* —— Feedback: Message —— */
2
+ .m-message-host {
3
+ --m-message-host-max-width: 28rem;
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: var(--m-space-2);
7
+ left: 50%;
8
+ max-width: min(
9
+ var(--m-message-host-max-width),
10
+ calc(100vw - 2 * var(--m-space-4))
11
+ );
12
+ pointer-events: none;
13
+ position: fixed;
14
+ top: var(--m-space-4);
15
+ transform: translateX(-50%);
16
+ width: max-content;
17
+ z-index: var(--m-z-toast);
18
+ }
19
+
20
+ .m-message-host--top-left {
21
+ left: var(--m-space-4);
22
+ transform: none;
23
+ }
24
+
25
+ .m-message-host--top-right {
26
+ left: auto;
27
+ right: var(--m-space-4);
28
+ transform: none;
29
+ }
30
+
31
+ .m-message-host--bottom,
32
+ .m-message-host--bottom-left,
33
+ .m-message-host--bottom-right {
34
+ bottom: var(--m-space-4);
35
+ flex-direction: column-reverse;
36
+ top: auto;
37
+ }
38
+
39
+ .m-message-host--bottom-left {
40
+ left: var(--m-space-4);
41
+ transform: none;
42
+ }
43
+
44
+ .m-message-host--bottom-right {
45
+ left: auto;
46
+ right: var(--m-space-4);
47
+ transform: none;
48
+ }
49
+
50
+ .m-message {
51
+ --m-message-min-width: 16rem;
52
+ background: color-mix(
53
+ in srgb,
54
+ var(--m-color-info) 10%,
55
+ var(--m-color-surface)
56
+ );
57
+ border: var(--m-border-width) solid
58
+ color-mix(in srgb, var(--m-color-info) 28%, var(--m-color-border));
59
+ border-radius: var(--m-radius-md);
60
+ box-shadow: var(--m-shadow-md);
61
+ color: var(--m-color-text);
62
+ display: flex;
63
+ align-items: center;
64
+ font-family: var(--m-font-sans);
65
+ font-size: var(--m-font-size-md);
66
+ gap: var(--m-space-3);
67
+ line-height: 1.45;
68
+ min-width: var(--m-message-min-width);
69
+ padding: var(--m-space-3) var(--m-space-4);
70
+ pointer-events: auto;
71
+ }
72
+
73
+ .m-message__icon {
74
+ color: var(--m-color-info);
75
+ flex-shrink: 0;
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ }
80
+
81
+ .m-message__content {
82
+ flex: 1 1 auto;
83
+ min-width: 0;
84
+ }
85
+
86
+ .m-message__close {
87
+ align-items: center;
88
+ background: transparent;
89
+ border: 0;
90
+ border-radius: var(--m-radius-sm);
91
+ color: var(--m-color-text-muted);
92
+ cursor: pointer;
93
+ display: inline-flex;
94
+ flex-shrink: 0;
95
+ font: inherit;
96
+ height: var(--m-control-affix-size);
97
+ justify-content: center;
98
+ line-height: 1;
99
+ padding: 0;
100
+ transition:
101
+ background-color var(--m-motion-fast) var(--m-motion-ease),
102
+ color var(--m-motion-fast) var(--m-motion-ease);
103
+ width: var(--m-control-affix-size);
104
+ }
105
+
106
+ .m-message__close:hover:not(:disabled) {
107
+ background: color-mix(in srgb, var(--m-color-primary) 10%, transparent);
108
+ color: var(--m-color-text);
109
+ }
110
+
111
+ .m-message__close:focus-visible {
112
+ box-shadow: var(--m-focus-shadow);
113
+ outline: none;
114
+ }
115
+
116
+ .m-message--success {
117
+ background: color-mix(
118
+ in srgb,
119
+ var(--m-color-success) 10%,
120
+ var(--m-color-surface)
121
+ );
122
+ border-color: color-mix(
123
+ in srgb,
124
+ var(--m-color-success) 28%,
125
+ var(--m-color-border)
126
+ );
127
+ }
128
+
129
+ .m-message--success .m-message__icon {
130
+ color: var(--m-color-success);
131
+ }
132
+
133
+ .m-message--info {
134
+ background: color-mix(
135
+ in srgb,
136
+ var(--m-color-info) 10%,
137
+ var(--m-color-surface)
138
+ );
139
+ border-color: color-mix(
140
+ in srgb,
141
+ var(--m-color-info) 28%,
142
+ var(--m-color-border)
143
+ );
144
+ }
145
+
146
+ .m-message--info .m-message__icon {
147
+ color: var(--m-color-info);
148
+ }
149
+
150
+ .m-message--warning {
151
+ background: color-mix(
152
+ in srgb,
153
+ var(--m-color-warning) 10%,
154
+ var(--m-color-surface)
155
+ );
156
+ border-color: color-mix(
157
+ in srgb,
158
+ var(--m-color-warning) 28%,
159
+ var(--m-color-border)
160
+ );
161
+ }
162
+
163
+ .m-message--warning .m-message__icon {
164
+ color: var(--m-color-warning);
165
+ }
166
+
167
+ .m-message--danger {
168
+ background: color-mix(
169
+ in srgb,
170
+ var(--m-color-danger) 10%,
171
+ var(--m-color-surface)
172
+ );
173
+ border-color: color-mix(
174
+ in srgb,
175
+ var(--m-color-danger) 28%,
176
+ var(--m-color-border)
177
+ );
178
+ }
179
+
180
+ .m-message--danger .m-message__icon {
181
+ color: var(--m-color-danger);
182
+ }
183
+
184
+ .m-message--secondary {
185
+ background: color-mix(
186
+ in srgb,
187
+ var(--m-color-text-muted) 10%,
188
+ var(--m-color-surface)
189
+ );
190
+ border-color: color-mix(
191
+ in srgb,
192
+ var(--m-color-text-muted) 22%,
193
+ var(--m-color-border)
194
+ );
195
+ }
196
+
197
+ .m-message--secondary .m-message__icon {
198
+ color: var(--m-color-text-muted);
199
+ }
200
+
201
+ .m-message--contrast {
202
+ background: var(--m-color-contrast);
203
+ border-color: var(--m-color-contrast);
204
+ color: var(--m-color-contrast-fg);
205
+ }
206
+
207
+ .m-message--contrast .m-message__icon,
208
+ .m-message--contrast .m-message__close {
209
+ color: var(--m-color-contrast-fg);
210
+ }
211
+
212
+ .m-message-slide-enter-active {
213
+ transition:
214
+ opacity var(--m-motion-enter) var(--m-motion-ease),
215
+ transform var(--m-motion-enter) var(--m-motion-ease);
216
+ }
217
+
218
+ .m-message-slide-leave-active {
219
+ transition:
220
+ opacity var(--m-motion-exit) var(--m-motion-ease),
221
+ transform var(--m-motion-exit) var(--m-motion-ease);
222
+ }
223
+
224
+ .m-message-slide-enter-from,
225
+ .m-message-slide-leave-to {
226
+ opacity: 0;
227
+ transform: translateY(calc(var(--m-motion-distance) * -1));
228
+ }
229
+
230
+ .m-message-slide-move {
231
+ transition: transform var(--m-motion-enter) var(--m-motion-ease);
232
+ }
233
+
234
+ [data-m-motion="reduced"] .m-message-slide-enter-active,
235
+ [data-m-motion="reduced"] .m-message-slide-leave-active,
236
+ [data-m-motion="reduced"] .m-message-slide-move,
237
+ [data-m-motion="none"] .m-message-slide-enter-active,
238
+ [data-m-motion="none"] .m-message-slide-leave-active,
239
+ [data-m-motion="none"] .m-message-slide-move {
240
+ transition: none;
241
+ }
242
+
243
+ [data-m-motion="reduced"] .m-message-slide-enter-from,
244
+ [data-m-motion="reduced"] .m-message-slide-leave-to,
245
+ [data-m-motion="none"] .m-message-slide-enter-from,
246
+ [data-m-motion="none"] .m-message-slide-leave-to {
247
+ transform: none;
248
+ }
@@ -1,49 +1,49 @@
1
- /* —— Misc: MeterGroup —— */
2
- .m-metergroup {
3
- --m-metergroup-meter-height: var(--m-meter-track-height);
4
- --m-metergroup-swatch-size: var(--m-space-3);
5
- display: flex;
6
- flex-direction: column;
7
- gap: var(--m-space-3);
8
- width: 100%;
9
- }
10
-
11
- .m-metergroup__meter {
12
- background: color-mix(in srgb, var(--m-color-border) 55%, transparent);
13
- border-radius: var(--m-radius-full, 999px);
14
- display: flex;
15
- height: var(--m-metergroup-meter-height);
16
- overflow: hidden;
17
- width: 100%;
18
- }
19
-
20
- .m-metergroup__segment {
21
- background: var(--m-color-primary);
22
- height: 100%;
23
- }
24
-
25
- .m-metergroup__legend {
26
- display: flex;
27
- flex-wrap: wrap;
28
- gap: var(--m-space-3);
29
- list-style: none;
30
- margin: 0;
31
- padding: 0;
32
- }
33
-
34
- .m-metergroup__legend-item {
35
- align-items: center;
36
- display: inline-flex;
37
- font-size: var(--m-font-size-md);
38
- gap: var(--m-space-2);
39
- }
40
-
41
- .m-metergroup__swatch {
42
- border-radius: var(--m-radius-sm);
43
- height: var(--m-metergroup-swatch-size);
44
- width: var(--m-metergroup-swatch-size);
45
- }
46
-
47
- .m-metergroup__value {
48
- color: var(--m-color-text-muted);
49
- }
1
+ /* —— Misc: MeterGroup —— */
2
+ .m-metergroup {
3
+ --m-metergroup-meter-height: var(--m-meter-track-height);
4
+ --m-metergroup-swatch-size: var(--m-space-3);
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: var(--m-space-3);
8
+ width: 100%;
9
+ }
10
+
11
+ .m-metergroup__meter {
12
+ background: color-mix(in srgb, var(--m-color-border) 55%, transparent);
13
+ border-radius: var(--m-radius-full, 999px);
14
+ display: flex;
15
+ height: var(--m-metergroup-meter-height);
16
+ overflow: hidden;
17
+ width: 100%;
18
+ }
19
+
20
+ .m-metergroup__segment {
21
+ background: var(--m-color-primary);
22
+ height: 100%;
23
+ }
24
+
25
+ .m-metergroup__legend {
26
+ display: flex;
27
+ flex-wrap: wrap;
28
+ gap: var(--m-space-3);
29
+ list-style: none;
30
+ margin: 0;
31
+ padding: 0;
32
+ }
33
+
34
+ .m-metergroup__legend-item {
35
+ align-items: center;
36
+ display: inline-flex;
37
+ font-size: var(--m-font-size-md);
38
+ gap: var(--m-space-2);
39
+ }
40
+
41
+ .m-metergroup__swatch {
42
+ border-radius: var(--m-radius-sm);
43
+ height: var(--m-metergroup-swatch-size);
44
+ width: var(--m-metergroup-swatch-size);
45
+ }
46
+
47
+ .m-metergroup__value {
48
+ color: var(--m-color-text-muted);
49
+ }