morya-ui 0.4.4 → 0.4.5

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 (322) hide show
  1. package/CHANGELOG.md +811 -775
  2. package/LICENSE +21 -21
  3. package/README.md +156 -156
  4. package/README.zh-CN.md +156 -156
  5. package/dist/{Button-Bjsth0ct.js → Button-fKkfCnYv.js} +1 -1
  6. package/dist/{Checkbox-Bo26OGHP.js → Checkbox-BXC2mLNd.js} +1 -1
  7. package/dist/DatePicker-DcVjiS5d.js +848 -0
  8. package/dist/{Empty-rMhOPi79.js → Empty-By1qe-ew.js} +1 -1
  9. package/dist/{FlyoutSubmenu-C0id6-Sb.js → FlyoutSubmenu-C1n-fr6i.js} +1 -1
  10. package/dist/{Input-CxSTVp9E.js → Input-D2bee2LU.js} +2 -2
  11. package/dist/{Loading-D_qRwfKv.js → Loading-DE9Iaiao.js} +3 -3
  12. package/dist/Pagination-DpNOb0CS.js +178 -0
  13. package/dist/{Popover-D1uZ1N9Z.js → Popover-Bnz7KNZq.js} +2 -2
  14. package/dist/{ProgressSpinner-hmR23xpi.js → ProgressSpinner-vBXGvQ92.js} +1 -1
  15. package/dist/{Radio-CZAyelC_.js → Radio-BbznzRbr.js} +1 -1
  16. package/dist/{Segmented-BpdO7arR.js → Segmented-CMP3nBAP.js} +1 -1
  17. package/dist/{Select-CySmusHs.js → Select-q4X2ff_M.js} +3 -3
  18. package/dist/{Textarea-DskjTCcz.js → Textarea-DsFOAtPd.js} +2 -2
  19. package/dist/{Tooltip-DSfkflHp.js → Tooltip-5zRVTTVs.js} +2 -2
  20. package/dist/accordion/style.css +1206 -1205
  21. package/dist/affix/style.css +1206 -1205
  22. package/dist/alert/index.js +2 -2
  23. package/dist/alert/style.css +1206 -1205
  24. package/dist/anchor/style.css +1206 -1205
  25. package/dist/auto-complete/index.js +3 -3
  26. package/dist/auto-complete/style.css +1750 -1749
  27. package/dist/avatar/style.css +1319 -1318
  28. package/dist/badge/style.css +1372 -1371
  29. package/dist/block-ui/index.js +1 -1
  30. package/dist/block-ui/style.css +1206 -1205
  31. package/dist/breadcrumb/index.js +1 -1
  32. package/dist/breadcrumb/style.css +1206 -1205
  33. package/dist/button/index.js +1 -1
  34. package/dist/button/style.css +1910 -1909
  35. package/dist/calendar/index.js +3 -3
  36. package/dist/calendar/style.css +2081 -1880
  37. package/dist/card/style.css +1206 -1205
  38. package/dist/carousel/index.js +2 -2
  39. package/dist/carousel/style.css +2209 -2208
  40. package/dist/cascade-select/index.js +3 -3
  41. package/dist/cascade-select/style.css +1910 -1909
  42. package/dist/checkbox/index.js +1 -1
  43. package/dist/checkbox/style.css +1206 -1205
  44. package/dist/chip/index.js +1 -1
  45. package/dist/chip/style.css +1350 -1349
  46. package/dist/command-menu/index.js +3 -3
  47. package/dist/command-menu/style.css +1439 -1438
  48. package/dist/components/AutoComplete/styles.css +209 -209
  49. package/dist/components/Avatar/styles.css +113 -113
  50. package/dist/components/Badge/styles.css +164 -164
  51. package/dist/components/Button/styles.css +698 -698
  52. package/dist/components/Carousel/styles.css +302 -302
  53. package/dist/components/CascadeSelect/styles.css +168 -168
  54. package/dist/components/Chip/styles.css +144 -144
  55. package/dist/components/CommandMenu/styles.css +102 -102
  56. package/dist/components/ConfigProvider/styles.css +6 -6
  57. package/dist/components/ConfirmDialog/styles.css +24 -24
  58. package/dist/components/ConfirmPopup/styles.css +35 -35
  59. package/dist/components/ContextMenu/styles.css +138 -138
  60. package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
  61. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  62. package/dist/components/DatePicker/styles.css +653 -453
  63. package/dist/components/DatePicker/types.d.ts +20 -2
  64. package/dist/components/DatePicker/types.d.ts.map +1 -1
  65. package/dist/components/Dialog/styles.css +420 -420
  66. package/dist/components/Dock/styles.css +84 -84
  67. package/dist/components/Drawer/styles.css +346 -346
  68. package/dist/components/Dropdown/styles.css +135 -135
  69. package/dist/components/Empty/styles.css +146 -146
  70. package/dist/components/FileUpload/styles.css +359 -359
  71. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  72. package/dist/components/Form/styles.css +125 -125
  73. package/dist/components/Gallery/styles.css +100 -100
  74. package/dist/components/Input/styles.css +392 -392
  75. package/dist/components/InputColor/styles.css +139 -139
  76. package/dist/components/InputNumber/styles.css +262 -262
  77. package/dist/components/InputPassword/styles.css +189 -189
  78. package/dist/components/InputTags/styles.css +121 -121
  79. package/dist/components/Layout/styles.css +433 -433
  80. package/dist/components/List/styles.css +229 -229
  81. package/dist/components/Listbox/styles.css +130 -130
  82. package/dist/components/Loading/styles.css +378 -378
  83. package/dist/components/MegaMenu/styles.css +97 -97
  84. package/dist/components/Menu/styles.css +565 -565
  85. package/dist/components/Menubar/styles.css +144 -144
  86. package/dist/components/Message/styles.css +248 -248
  87. package/dist/components/MeterGroup/styles.css +49 -49
  88. package/dist/components/OrderList/OrderList.vue.d.ts +13 -7
  89. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  90. package/dist/components/OrderList/styles.css +80 -7
  91. package/dist/components/OrderList/types.d.ts +20 -3
  92. package/dist/components/OrderList/types.d.ts.map +1 -1
  93. package/dist/components/Page/styles.css +430 -430
  94. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  95. package/dist/components/Pagination/styles.css +97 -124
  96. package/dist/components/Popover/styles.css +92 -92
  97. package/dist/components/Result/styles.css +146 -146
  98. package/dist/components/Scrollbar/styles.css +131 -131
  99. package/dist/components/Select/styles.css +222 -222
  100. package/dist/components/SelectButton/styles.css +107 -107
  101. package/dist/components/Sidebar/styles.css +74 -74
  102. package/dist/components/Slider/styles.css +211 -211
  103. package/dist/components/SplitButton/styles.css +216 -216
  104. package/dist/components/Status/styles.css +190 -190
  105. package/dist/components/Stepper/styles.css +152 -152
  106. package/dist/components/Switch/styles.css +129 -129
  107. package/dist/components/Table/Table.vue.d.ts +37 -282
  108. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  109. package/dist/components/Table/core/tree.d.ts +4 -0
  110. package/dist/components/Table/core/tree.d.ts.map +1 -1
  111. package/dist/components/Table/core/utils.d.ts +11 -3
  112. package/dist/components/Table/core/utils.d.ts.map +1 -1
  113. package/dist/components/Table/index.d.ts +1 -1
  114. package/dist/components/Table/index.d.ts.map +1 -1
  115. package/dist/components/Table/render/TableColumnSetting.vue.d.ts +25 -0
  116. package/dist/components/Table/render/TableColumnSetting.vue.d.ts.map +1 -0
  117. package/dist/components/Table/render/TableTbody.vue.d.ts +16 -0
  118. package/dist/components/Table/render/TableTbody.vue.d.ts.map +1 -1
  119. package/dist/components/Table/render/TableThead.vue.d.ts +8 -0
  120. package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
  121. package/dist/components/Table/state/internal.d.ts +1 -1
  122. package/dist/components/Table/state/internal.d.ts.map +1 -1
  123. package/dist/components/Table/state/usePageItems.d.ts +1 -3
  124. package/dist/components/Table/state/usePageItems.d.ts.map +1 -1
  125. package/dist/components/Table/state/useVirtualRows.d.ts +20 -2
  126. package/dist/components/Table/state/useVirtualRows.d.ts.map +1 -1
  127. package/dist/components/Table/styles.css +95 -0
  128. package/dist/components/Table/types.d.ts +77 -12
  129. package/dist/components/Table/types.d.ts.map +1 -1
  130. package/dist/components/Tabs/styles.css +165 -165
  131. package/dist/components/Terminal/styles.css +75 -75
  132. package/dist/components/Textarea/styles.css +146 -146
  133. package/dist/components/TieredMenu/styles.css +125 -125
  134. package/dist/components/Timeline/styles.css +157 -157
  135. package/dist/components/TreeSelect/styles.css +172 -172
  136. package/dist/components/VirtualScroller/styles.css +27 -27
  137. package/dist/{config-BEpyhJi3.js → config-Cd20zAyW.js} +11 -1
  138. package/dist/config-provider/index.js +1 -1
  139. package/dist/config-provider/style.css +2302 -2301
  140. package/dist/confirm-dialog/index.js +4 -4
  141. package/dist/confirm-dialog/style.css +2348 -2347
  142. package/dist/confirm-popup/index.js +4 -4
  143. package/dist/confirm-popup/style.css +1939 -1938
  144. package/dist/context-menu/index.js +3 -3
  145. package/dist/context-menu/style.css +1475 -1474
  146. package/dist/data-view/index.js +3 -3
  147. package/dist/data-view/style.css +1681 -1707
  148. package/dist/date-picker/index.js +1 -1
  149. package/dist/date-picker/style.css +1991 -1658
  150. package/dist/date-picker/style.js +1 -0
  151. package/dist/descriptions/index.js +1 -1
  152. package/dist/descriptions/style.css +1206 -1205
  153. package/dist/dialog/index.js +4 -4
  154. package/dist/dialog/style.css +2324 -2323
  155. package/dist/divider/style.css +1206 -1205
  156. package/dist/dock/style.css +1290 -1289
  157. package/dist/drawer/index.js +3 -3
  158. package/dist/drawer/style.css +1552 -1551
  159. package/dist/dropdown/index.js +4 -4
  160. package/dist/dropdown/style.css +1472 -1471
  161. package/dist/empty/index.js +1 -1
  162. package/dist/empty/style.css +1352 -1351
  163. package/dist/fieldset/style.css +1206 -1205
  164. package/dist/file-upload/index.js +1 -1
  165. package/dist/file-upload/style.css +1565 -1564
  166. package/dist/flex/index.js +1 -1
  167. package/dist/flex/style.css +1206 -1205
  168. package/dist/float-label/style.css +1206 -1205
  169. package/dist/fluid/style.css +1206 -1205
  170. package/dist/form/index.js +1 -1
  171. package/dist/form/style.css +1333 -1332
  172. package/dist/gallery/index.js +1 -1
  173. package/dist/gallery/style.css +1437 -1436
  174. package/dist/grid/style.css +1206 -1205
  175. package/dist/icon/style.css +1206 -1205
  176. package/dist/icon-field/style.css +1598 -1597
  177. package/dist/image/index.js +1 -1
  178. package/dist/image/style.css +1206 -1205
  179. package/dist/index.d.ts +1 -1
  180. package/dist/index.d.ts.map +1 -1
  181. package/dist/index.js +4118 -3439
  182. package/dist/inplace/style.css +1206 -1205
  183. package/dist/input/index.js +1 -1
  184. package/dist/input/style.css +1723 -1722
  185. package/dist/input-color/index.js +2 -2
  186. package/dist/input-color/style.css +1347 -1346
  187. package/dist/input-group/style.css +1206 -1205
  188. package/dist/input-number/index.js +2 -2
  189. package/dist/input-number/style.css +1468 -1467
  190. package/dist/input-otp/index.js +2 -2
  191. package/dist/input-otp/style.css +1206 -1205
  192. package/dist/input-password/index.js +2 -2
  193. package/dist/input-password/style.css +1520 -1519
  194. package/dist/input-tags/index.js +2 -2
  195. package/dist/input-tags/style.css +1327 -1326
  196. package/dist/knob/style.css +1206 -1205
  197. package/dist/label/style.css +1206 -1205
  198. package/dist/layout/index.js +1 -1
  199. package/dist/layout/style.css +1770 -1769
  200. package/dist/list/index.js +4 -4
  201. package/dist/list/style.css +2061 -2087
  202. package/dist/listbox/index.js +2 -2
  203. package/dist/listbox/style.css +1498 -1497
  204. package/dist/loading/index.js +1 -1
  205. package/dist/loading/style.css +1586 -1585
  206. package/dist/locale/de-DE.d.ts.map +1 -1
  207. package/dist/locale/en-US.d.ts.map +1 -1
  208. package/dist/locale/es-ES.d.ts.map +1 -1
  209. package/dist/locale/fr-FR.d.ts.map +1 -1
  210. package/dist/locale/ja-JP.d.ts.map +1 -1
  211. package/dist/locale/ko-KR.d.ts.map +1 -1
  212. package/dist/locale/pt-BR.d.ts.map +1 -1
  213. package/dist/locale/ru-RU.d.ts.map +1 -1
  214. package/dist/locale/types.d.ts +18 -0
  215. package/dist/locale/types.d.ts.map +1 -1
  216. package/dist/locale/zh-CN.d.ts.map +1 -1
  217. package/dist/locale/zh-TW.d.ts.map +1 -1
  218. package/dist/{locale-CZddM-tH.js → locale-BcxMPufl.js} +1 -1
  219. package/dist/mega-menu/index.js +3 -3
  220. package/dist/mega-menu/style.css +1303 -1302
  221. package/dist/mentions/index.js +3 -3
  222. package/dist/mentions/style.css +1331 -1330
  223. package/dist/menu/index.js +4 -4
  224. package/dist/menu/style.css +2060 -2059
  225. package/dist/menubar/index.js +3 -3
  226. package/dist/menubar/style.css +1481 -1480
  227. package/dist/message/index.js +3 -3
  228. package/dist/message/style.css +1454 -1453
  229. package/dist/meter-group/style.css +1257 -1256
  230. package/dist/order-list/index.js +191 -101
  231. package/dist/order-list/style.css +1286 -1212
  232. package/dist/page/index.js +3 -3
  233. package/dist/page/style.css +2601 -2600
  234. package/dist/pagination/index.js +1 -1
  235. package/dist/pagination/style.css +1525 -1551
  236. package/dist/panel/index.js +1 -1
  237. package/dist/panel/style.css +1206 -1205
  238. package/dist/pick-list/index.js +1 -1
  239. package/dist/pick-list/style.css +1206 -1205
  240. package/dist/popover/index.js +1 -1
  241. package/dist/popover/style.css +1300 -1299
  242. package/dist/progress-bar/style.css +1206 -1205
  243. package/dist/progress-spinner/index.js +1 -1
  244. package/dist/progress-spinner/style.css +1206 -1205
  245. package/dist/qr-code/index.js +3 -3
  246. package/dist/qr-code/style.css +1904 -1903
  247. package/dist/radio/index.js +1 -1
  248. package/dist/radio/style.css +1206 -1205
  249. package/dist/rating/index.js +2 -2
  250. package/dist/rating/style.css +1206 -1205
  251. package/dist/result/index.js +1 -1
  252. package/dist/result/style.css +1352 -1351
  253. package/dist/scroll-top/index.js +2 -2
  254. package/dist/scroll-top/style.css +1337 -1336
  255. package/dist/scrollbar/style.css +1339 -1338
  256. package/dist/segmented/index.js +1 -1
  257. package/dist/segmented/style.css +1206 -1205
  258. package/dist/select/index.js +1 -1
  259. package/dist/select/style.css +2116 -2115
  260. package/dist/select-button/index.js +1 -1
  261. package/dist/select-button/style.css +1315 -1314
  262. package/dist/shared/styles/control-affix-icon.css +110 -110
  263. package/dist/shared/styles/control-suffix.css +118 -118
  264. package/dist/shared/styles/select-overlay.css +177 -177
  265. package/dist/sidebar/index.js +1 -1
  266. package/dist/sidebar/style.css +1280 -1279
  267. package/dist/skeleton/style.css +1206 -1205
  268. package/dist/slider/index.js +2 -2
  269. package/dist/slider/style.css +1419 -1418
  270. package/dist/space/index.js +1 -1
  271. package/dist/space/style.css +1206 -1205
  272. package/dist/speed-dial/index.js +3 -3
  273. package/dist/speed-dial/style.css +1206 -1205
  274. package/dist/split-button/index.js +3 -3
  275. package/dist/split-button/style.css +2120 -2119
  276. package/dist/splitter/index.js +1 -1
  277. package/dist/splitter/style.css +1206 -1205
  278. package/dist/statistic/style.css +1206 -1205
  279. package/dist/status/index.js +1 -1
  280. package/dist/status/style.css +1396 -1395
  281. package/dist/stepper/style.css +1358 -1357
  282. package/dist/styles/base.css +804 -804
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +1337 -1336
  286. package/dist/table/index.js +975 -714
  287. package/dist/table/style.css +1908 -1839
  288. package/dist/tabs/index.js +1 -1
  289. package/dist/tabs/style.css +1502 -1501
  290. package/dist/tag/index.js +2 -2
  291. package/dist/tag/style.css +1206 -1205
  292. package/dist/terminal/index.js +1 -1
  293. package/dist/terminal/style.css +1283 -1282
  294. package/dist/textarea/index.js +1 -1
  295. package/dist/textarea/style.css +1477 -1476
  296. package/dist/theme/styles.css +402 -401
  297. package/dist/tiered-menu/index.js +3 -3
  298. package/dist/tiered-menu/style.css +1462 -1461
  299. package/dist/time-picker/index.js +5 -1
  300. package/dist/time-picker/style.css +1861 -1660
  301. package/dist/timeline/style.css +1494 -1493
  302. package/dist/toast/index.js +3 -3
  303. package/dist/toast/style.css +1904 -1903
  304. package/dist/toggle-button/index.js +1 -1
  305. package/dist/toggle-button/style.css +1206 -1205
  306. package/dist/toolbar/style.css +1206 -1205
  307. package/dist/tooltip/index.js +1 -1
  308. package/dist/tooltip/style.css +1206 -1205
  309. package/dist/tour/index.js +3 -3
  310. package/dist/tour/style.css +1904 -1903
  311. package/dist/tree/index.js +2 -2
  312. package/dist/tree/style.css +1206 -1205
  313. package/dist/tree-select/index.js +4 -4
  314. package/dist/tree-select/style.css +1914 -1913
  315. package/dist/typography/index.js +2 -2
  316. package/dist/typography/style.css +1352 -1351
  317. package/dist/{useMotionTransition-DqL_SEML.js → useMotionTransition-DohkfWRB.js} +1 -1
  318. package/dist/virtual-scroller/style.css +1367 -1366
  319. package/dist/watermark/style.css +1206 -1205
  320. package/package.json +1 -1
  321. package/dist/DatePicker-CsMGzCqY.js +0 -630
  322. package/dist/Pagination-CnGOpp0m.js +0 -171
@@ -1,157 +1,157 @@
1
- /* --- Data: Timeline --- */
2
- .m-timeline {
3
- display: flex;
4
- flex-direction: column;
5
- list-style: none;
6
- margin: 0;
7
- padding: 0;
8
- }
9
-
10
- .m-timeline__event {
11
- display: grid;
12
- gap: var(--m-space-3);
13
- grid-template-columns: 1fr auto 1fr;
14
- min-height: var(--m-timeline-event-min-height);
15
- }
16
-
17
- .m-timeline__event--left .m-timeline__content {
18
- grid-column: 3;
19
- }
20
-
21
- .m-timeline__event--left .m-timeline__opposite {
22
- grid-column: 1;
23
- text-align: end;
24
- }
25
-
26
- .m-timeline__event--right .m-timeline__content {
27
- grid-column: 1;
28
- text-align: end;
29
- }
30
-
31
- .m-timeline__event--right .m-timeline__opposite {
32
- grid-column: 3;
33
- }
34
-
35
- .m-timeline__separator {
36
- align-items: center;
37
- display: flex;
38
- flex-direction: column;
39
- grid-column: 2;
40
- grid-row: 1;
41
- }
42
-
43
- .m-timeline__marker {
44
- align-items: center;
45
- background: var(--m-color-surface);
46
- border: var(--m-border-width) solid var(--m-color-primary);
47
- border-radius: 50%;
48
- color: var(--m-color-primary);
49
- display: inline-flex;
50
- font-size: var(--m-font-size-xs);
51
- height: var(--m-timeline-marker-size);
52
- justify-content: center;
53
- width: var(--m-timeline-marker-size);
54
- z-index: 1;
55
- }
56
-
57
- .m-timeline__marker--success {
58
- border-color: var(--m-color-success);
59
- color: var(--m-color-success);
60
- }
61
-
62
- .m-timeline__marker--info {
63
- border-color: var(--m-color-info);
64
- color: var(--m-color-info);
65
- }
66
-
67
- .m-timeline__marker--warning {
68
- border-color: var(--m-color-warning);
69
- color: var(--m-color-warning);
70
- }
71
-
72
- .m-timeline__marker--danger {
73
- border-color: var(--m-color-danger);
74
- color: var(--m-color-danger);
75
- }
76
-
77
- .m-timeline__marker--help {
78
- border-color: var(--m-color-help);
79
- color: var(--m-color-help);
80
- }
81
-
82
- .m-timeline__connector {
83
- background: var(--m-color-border);
84
- flex: 1;
85
- min-height: var(--m-control-height-small);
86
- width: var(--m-border-width);
87
- }
88
-
89
- .m-timeline__event:last-child .m-timeline__connector {
90
- visibility: hidden;
91
- }
92
-
93
- .m-timeline__status {
94
- color: var(--m-color-text-muted);
95
- font-size: var(--m-font-size-sm);
96
- font-weight: 500;
97
- margin-bottom: var(--m-space-1);
98
- }
99
-
100
- .m-timeline__opposite {
101
- color: var(--m-color-text-muted);
102
- font-size: var(--m-font-size-md);
103
- }
104
-
105
- .m-timeline__scroll--horizontal {
106
- width: 100%;
107
- }
108
-
109
- .m-timeline--horizontal {
110
- flex-direction: row;
111
- width: max-content;
112
- }
113
-
114
- .m-timeline--horizontal .m-timeline__event {
115
- flex: 1 0 10rem;
116
- grid-template-columns: 1fr;
117
- grid-template-rows: auto auto auto;
118
- min-height: 0;
119
- }
120
-
121
- .m-timeline--horizontal .m-timeline__separator {
122
- flex-direction: row;
123
- grid-column: 1;
124
- grid-row: 2;
125
- width: 100%;
126
- }
127
-
128
- .m-timeline--horizontal .m-timeline__connector {
129
- height: var(--m-border-width);
130
- min-height: 0;
131
- min-width: var(--m-control-affix-size);
132
- width: auto;
133
- }
134
-
135
- .m-timeline--horizontal .m-timeline__opposite {
136
- grid-column: 1;
137
- grid-row: 1;
138
- text-align: start;
139
- }
140
-
141
- .m-timeline--horizontal .m-timeline__content {
142
- grid-column: 1;
143
- grid-row: 3;
144
- text-align: start;
145
- }
146
-
147
- .m-timeline--horizontal .m-timeline__event--left .m-timeline__content,
148
- .m-timeline--horizontal .m-timeline__event--right .m-timeline__content,
149
- .m-timeline--horizontal .m-timeline__event--left .m-timeline__opposite,
150
- .m-timeline--horizontal .m-timeline__event--right .m-timeline__opposite {
151
- grid-column: 1;
152
- text-align: start;
153
- }
154
-
155
- .m-timeline__event--pending .m-timeline__marker {
156
- border-style: dashed;
157
- }
1
+ /* --- Data: Timeline --- */
2
+ .m-timeline {
3
+ display: flex;
4
+ flex-direction: column;
5
+ list-style: none;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ .m-timeline__event {
11
+ display: grid;
12
+ gap: var(--m-space-3);
13
+ grid-template-columns: 1fr auto 1fr;
14
+ min-height: var(--m-timeline-event-min-height);
15
+ }
16
+
17
+ .m-timeline__event--left .m-timeline__content {
18
+ grid-column: 3;
19
+ }
20
+
21
+ .m-timeline__event--left .m-timeline__opposite {
22
+ grid-column: 1;
23
+ text-align: end;
24
+ }
25
+
26
+ .m-timeline__event--right .m-timeline__content {
27
+ grid-column: 1;
28
+ text-align: end;
29
+ }
30
+
31
+ .m-timeline__event--right .m-timeline__opposite {
32
+ grid-column: 3;
33
+ }
34
+
35
+ .m-timeline__separator {
36
+ align-items: center;
37
+ display: flex;
38
+ flex-direction: column;
39
+ grid-column: 2;
40
+ grid-row: 1;
41
+ }
42
+
43
+ .m-timeline__marker {
44
+ align-items: center;
45
+ background: var(--m-color-surface);
46
+ border: var(--m-border-width) solid var(--m-color-primary);
47
+ border-radius: 50%;
48
+ color: var(--m-color-primary);
49
+ display: inline-flex;
50
+ font-size: var(--m-font-size-xs);
51
+ height: var(--m-timeline-marker-size);
52
+ justify-content: center;
53
+ width: var(--m-timeline-marker-size);
54
+ z-index: 1;
55
+ }
56
+
57
+ .m-timeline__marker--success {
58
+ border-color: var(--m-color-success);
59
+ color: var(--m-color-success);
60
+ }
61
+
62
+ .m-timeline__marker--info {
63
+ border-color: var(--m-color-info);
64
+ color: var(--m-color-info);
65
+ }
66
+
67
+ .m-timeline__marker--warning {
68
+ border-color: var(--m-color-warning);
69
+ color: var(--m-color-warning);
70
+ }
71
+
72
+ .m-timeline__marker--danger {
73
+ border-color: var(--m-color-danger);
74
+ color: var(--m-color-danger);
75
+ }
76
+
77
+ .m-timeline__marker--help {
78
+ border-color: var(--m-color-help);
79
+ color: var(--m-color-help);
80
+ }
81
+
82
+ .m-timeline__connector {
83
+ background: var(--m-color-border);
84
+ flex: 1;
85
+ min-height: var(--m-control-height-small);
86
+ width: var(--m-border-width);
87
+ }
88
+
89
+ .m-timeline__event:last-child .m-timeline__connector {
90
+ visibility: hidden;
91
+ }
92
+
93
+ .m-timeline__status {
94
+ color: var(--m-color-text-muted);
95
+ font-size: var(--m-font-size-sm);
96
+ font-weight: 500;
97
+ margin-bottom: var(--m-space-1);
98
+ }
99
+
100
+ .m-timeline__opposite {
101
+ color: var(--m-color-text-muted);
102
+ font-size: var(--m-font-size-md);
103
+ }
104
+
105
+ .m-timeline__scroll--horizontal {
106
+ width: 100%;
107
+ }
108
+
109
+ .m-timeline--horizontal {
110
+ flex-direction: row;
111
+ width: max-content;
112
+ }
113
+
114
+ .m-timeline--horizontal .m-timeline__event {
115
+ flex: 1 0 10rem;
116
+ grid-template-columns: 1fr;
117
+ grid-template-rows: auto auto auto;
118
+ min-height: 0;
119
+ }
120
+
121
+ .m-timeline--horizontal .m-timeline__separator {
122
+ flex-direction: row;
123
+ grid-column: 1;
124
+ grid-row: 2;
125
+ width: 100%;
126
+ }
127
+
128
+ .m-timeline--horizontal .m-timeline__connector {
129
+ height: var(--m-border-width);
130
+ min-height: 0;
131
+ min-width: var(--m-control-affix-size);
132
+ width: auto;
133
+ }
134
+
135
+ .m-timeline--horizontal .m-timeline__opposite {
136
+ grid-column: 1;
137
+ grid-row: 1;
138
+ text-align: start;
139
+ }
140
+
141
+ .m-timeline--horizontal .m-timeline__content {
142
+ grid-column: 1;
143
+ grid-row: 3;
144
+ text-align: start;
145
+ }
146
+
147
+ .m-timeline--horizontal .m-timeline__event--left .m-timeline__content,
148
+ .m-timeline--horizontal .m-timeline__event--right .m-timeline__content,
149
+ .m-timeline--horizontal .m-timeline__event--left .m-timeline__opposite,
150
+ .m-timeline--horizontal .m-timeline__event--right .m-timeline__opposite {
151
+ grid-column: 1;
152
+ text-align: start;
153
+ }
154
+
155
+ .m-timeline__event--pending .m-timeline__marker {
156
+ border-style: dashed;
157
+ }
@@ -1,172 +1,172 @@
1
- /* —— Form: TreeSelect —— */
2
- .m-treeselect {
3
- --m-treeselect-min-width: 12rem;
4
- --m-treeselect-toggler-size: 1.25rem;
5
- display: inline-block;
6
- max-width: 100%;
7
- position: relative;
8
- }
9
-
10
- .m-treeselect__control {
11
- display: inline-block;
12
- max-width: 100%;
13
- min-width: var(--m-treeselect-min-width);
14
- }
15
-
16
- .m-treeselect__trigger {
17
- align-items: center;
18
- background: var(--m-color-surface);
19
- border: var(--m-border-width) solid var(--m-color-border);
20
- border-radius: var(--m-radius-control);
21
- box-sizing: border-box;
22
- color: var(--m-color-text);
23
- cursor: pointer;
24
- display: inline-flex;
25
- font-family: var(--m-font-sans);
26
- font-size: var(--m-control-font-medium);
27
- gap: var(--m-space-1);
28
- min-height: var(--m-control-height-medium);
29
- padding: 0 var(--m-control-padding-x-medium);
30
- padding-right: var(--m-control-end-padding);
31
- transition:
32
- border-color var(--m-motion-fast) var(--m-motion-ease),
33
- box-shadow var(--m-motion-fast) var(--m-motion-ease),
34
- opacity var(--m-motion-fast) var(--m-motion-ease);
35
- width: 100%;
36
- }
37
-
38
- .m-treeselect--small .m-treeselect__trigger {
39
- font-size: var(--m-control-font-small);
40
- min-height: var(--m-control-height-small);
41
- padding-left: var(--m-control-padding-x-small);
42
- padding-right: var(--m-control-end-padding);
43
- }
44
-
45
- .m-treeselect--large .m-treeselect__trigger {
46
- font-size: var(--m-control-font-large);
47
- min-height: var(--m-control-height-large);
48
- padding-left: var(--m-control-padding-x-large);
49
- padding-right: var(--m-control-end-padding);
50
- }
51
-
52
- .m-treeselect:not(.m-treeselect--disabled):not(.m-treeselect--open)
53
- .m-treeselect__trigger:hover:not(:focus):not(:focus-visible) {
54
- border-color: var(--m-color-primary-hover);
55
- }
56
-
57
- .m-treeselect--open .m-treeselect__trigger,
58
- .m-treeselect__trigger:focus,
59
- .m-treeselect__trigger:focus-visible {
60
- border-color: var(--m-color-primary);
61
- box-shadow: var(--m-focus-shadow);
62
- outline: none;
63
- }
64
-
65
- .m-treeselect--multiple .m-treeselect__trigger {
66
- align-items: center;
67
- height: auto;
68
- padding-top: var(--m-space-1);
69
- padding-bottom: var(--m-space-1);
70
- }
71
-
72
- .m-treeselect__tags {
73
- display: flex;
74
- flex: 1;
75
- flex-wrap: wrap;
76
- gap: var(--m-space-1);
77
- min-width: 0;
78
- }
79
-
80
- .m-treeselect__label--placeholder {
81
- color: var(--m-color-text-muted);
82
- }
83
-
84
- .m-treeselect__label {
85
- flex: 1 1 auto;
86
- min-width: 0;
87
- overflow: hidden;
88
- text-overflow: ellipsis;
89
- white-space: nowrap;
90
- text-align: left;
91
- }
92
-
93
- .m-treeselect--disabled .m-treeselect__trigger {
94
- cursor: not-allowed;
95
- opacity: var(--m-opacity-disabled);
96
- }
97
-
98
- .m-treeselect__panel {
99
- --m-treeselect-panel-max-height: min(18rem, 45vh);
100
- --m-treeselect-list-max-height: var(--m-treeselect-panel-max-height);
101
- display: flex;
102
- flex-direction: column;
103
- left: 0;
104
- max-height: var(--m-treeselect-panel-max-height);
105
- min-width: 100%;
106
- padding: var(--m-space-1);
107
- position: absolute;
108
- top: 100%;
109
- }
110
-
111
- .m-treeselect__panel:has(.m-treeselect__filter) {
112
- --m-treeselect-list-max-height: calc(
113
- var(--m-treeselect-panel-max-height) - var(--m-control-height-small) - var(--m-space-6)
114
- );
115
- }
116
-
117
- .m-treeselect__panel--teleported {
118
- top: auto;
119
- }
120
-
121
- .m-treeselect__tree-scroll {
122
- max-height: var(--m-treeselect-list-max-height);
123
- min-height: 0;
124
- }
125
-
126
- .m-treeselect__tree,
127
- .m-treeselect__node ul {
128
- list-style: none;
129
- margin: 0;
130
- padding: 0;
131
- }
132
-
133
- .m-treeselect__row {
134
- align-items: center;
135
- display: flex;
136
- gap: var(--m-space-1);
137
- }
138
-
139
- .m-treeselect__toggler,
140
- .m-treeselect__toggler-spacer {
141
- background: transparent;
142
- border: 0;
143
- border-radius: var(--m-radius-sm);
144
- color: var(--m-color-text-muted);
145
- cursor: pointer;
146
- flex: 0 0 var(--m-treeselect-toggler-size);
147
- font: inherit;
148
- height: var(--m-treeselect-toggler-size);
149
- padding: 0;
150
- width: var(--m-treeselect-toggler-size);
151
- }
152
-
153
- .m-treeselect__toggler:focus-visible {
154
- box-shadow: var(--m-focus-shadow);
155
- outline: none;
156
- }
157
-
158
- .m-treeselect__toggler-spacer {
159
- cursor: default;
160
- pointer-events: none;
161
- }
162
-
163
- .m-treeselect--invalid .m-treeselect__trigger {
164
- border-color: var(--m-color-danger);
165
- }
166
-
167
- .m-treeselect--invalid .m-treeselect__trigger:focus,
168
- .m-treeselect--invalid .m-treeselect__trigger:focus-visible,
169
- .m-treeselect--invalid.m-treeselect--open .m-treeselect__trigger {
170
- border-color: var(--m-color-danger);
171
- box-shadow: var(--m-focus-shadow-danger);
172
- }
1
+ /* —— Form: TreeSelect —— */
2
+ .m-treeselect {
3
+ --m-treeselect-min-width: 12rem;
4
+ --m-treeselect-toggler-size: 1.25rem;
5
+ display: inline-block;
6
+ max-width: 100%;
7
+ position: relative;
8
+ }
9
+
10
+ .m-treeselect__control {
11
+ display: inline-block;
12
+ max-width: 100%;
13
+ min-width: var(--m-treeselect-min-width);
14
+ }
15
+
16
+ .m-treeselect__trigger {
17
+ align-items: center;
18
+ background: var(--m-color-surface);
19
+ border: var(--m-border-width) solid var(--m-color-border);
20
+ border-radius: var(--m-radius-control);
21
+ box-sizing: border-box;
22
+ color: var(--m-color-text);
23
+ cursor: pointer;
24
+ display: inline-flex;
25
+ font-family: var(--m-font-sans);
26
+ font-size: var(--m-control-font-medium);
27
+ gap: var(--m-space-1);
28
+ min-height: var(--m-control-height-medium);
29
+ padding: 0 var(--m-control-padding-x-medium);
30
+ padding-right: var(--m-control-end-padding);
31
+ transition:
32
+ border-color var(--m-motion-fast) var(--m-motion-ease),
33
+ box-shadow var(--m-motion-fast) var(--m-motion-ease),
34
+ opacity var(--m-motion-fast) var(--m-motion-ease);
35
+ width: 100%;
36
+ }
37
+
38
+ .m-treeselect--small .m-treeselect__trigger {
39
+ font-size: var(--m-control-font-small);
40
+ min-height: var(--m-control-height-small);
41
+ padding-left: var(--m-control-padding-x-small);
42
+ padding-right: var(--m-control-end-padding);
43
+ }
44
+
45
+ .m-treeselect--large .m-treeselect__trigger {
46
+ font-size: var(--m-control-font-large);
47
+ min-height: var(--m-control-height-large);
48
+ padding-left: var(--m-control-padding-x-large);
49
+ padding-right: var(--m-control-end-padding);
50
+ }
51
+
52
+ .m-treeselect:not(.m-treeselect--disabled):not(.m-treeselect--open)
53
+ .m-treeselect__trigger:hover:not(:focus):not(:focus-visible) {
54
+ border-color: var(--m-color-primary-hover);
55
+ }
56
+
57
+ .m-treeselect--open .m-treeselect__trigger,
58
+ .m-treeselect__trigger:focus,
59
+ .m-treeselect__trigger:focus-visible {
60
+ border-color: var(--m-color-primary);
61
+ box-shadow: var(--m-focus-shadow);
62
+ outline: none;
63
+ }
64
+
65
+ .m-treeselect--multiple .m-treeselect__trigger {
66
+ align-items: center;
67
+ height: auto;
68
+ padding-top: var(--m-space-1);
69
+ padding-bottom: var(--m-space-1);
70
+ }
71
+
72
+ .m-treeselect__tags {
73
+ display: flex;
74
+ flex: 1;
75
+ flex-wrap: wrap;
76
+ gap: var(--m-space-1);
77
+ min-width: 0;
78
+ }
79
+
80
+ .m-treeselect__label--placeholder {
81
+ color: var(--m-color-text-muted);
82
+ }
83
+
84
+ .m-treeselect__label {
85
+ flex: 1 1 auto;
86
+ min-width: 0;
87
+ overflow: hidden;
88
+ text-overflow: ellipsis;
89
+ white-space: nowrap;
90
+ text-align: left;
91
+ }
92
+
93
+ .m-treeselect--disabled .m-treeselect__trigger {
94
+ cursor: not-allowed;
95
+ opacity: var(--m-opacity-disabled);
96
+ }
97
+
98
+ .m-treeselect__panel {
99
+ --m-treeselect-panel-max-height: min(18rem, 45vh);
100
+ --m-treeselect-list-max-height: var(--m-treeselect-panel-max-height);
101
+ display: flex;
102
+ flex-direction: column;
103
+ left: 0;
104
+ max-height: var(--m-treeselect-panel-max-height);
105
+ min-width: 100%;
106
+ padding: var(--m-space-1);
107
+ position: absolute;
108
+ top: 100%;
109
+ }
110
+
111
+ .m-treeselect__panel:has(.m-treeselect__filter) {
112
+ --m-treeselect-list-max-height: calc(
113
+ var(--m-treeselect-panel-max-height) - var(--m-control-height-small) - var(--m-space-6)
114
+ );
115
+ }
116
+
117
+ .m-treeselect__panel--teleported {
118
+ top: auto;
119
+ }
120
+
121
+ .m-treeselect__tree-scroll {
122
+ max-height: var(--m-treeselect-list-max-height);
123
+ min-height: 0;
124
+ }
125
+
126
+ .m-treeselect__tree,
127
+ .m-treeselect__node ul {
128
+ list-style: none;
129
+ margin: 0;
130
+ padding: 0;
131
+ }
132
+
133
+ .m-treeselect__row {
134
+ align-items: center;
135
+ display: flex;
136
+ gap: var(--m-space-1);
137
+ }
138
+
139
+ .m-treeselect__toggler,
140
+ .m-treeselect__toggler-spacer {
141
+ background: transparent;
142
+ border: 0;
143
+ border-radius: var(--m-radius-sm);
144
+ color: var(--m-color-text-muted);
145
+ cursor: pointer;
146
+ flex: 0 0 var(--m-treeselect-toggler-size);
147
+ font: inherit;
148
+ height: var(--m-treeselect-toggler-size);
149
+ padding: 0;
150
+ width: var(--m-treeselect-toggler-size);
151
+ }
152
+
153
+ .m-treeselect__toggler:focus-visible {
154
+ box-shadow: var(--m-focus-shadow);
155
+ outline: none;
156
+ }
157
+
158
+ .m-treeselect__toggler-spacer {
159
+ cursor: default;
160
+ pointer-events: none;
161
+ }
162
+
163
+ .m-treeselect--invalid .m-treeselect__trigger {
164
+ border-color: var(--m-color-danger);
165
+ }
166
+
167
+ .m-treeselect--invalid .m-treeselect__trigger:focus,
168
+ .m-treeselect--invalid .m-treeselect__trigger:focus-visible,
169
+ .m-treeselect--invalid.m-treeselect--open .m-treeselect__trigger {
170
+ border-color: var(--m-color-danger);
171
+ box-shadow: var(--m-focus-shadow-danger);
172
+ }