morya-ui 0.4.3 → 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 (263) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +6 -0
  3. package/README.zh-CN.md +6 -0
  4. package/dist/{Button-Bjsth0ct.js → Button-fKkfCnYv.js} +1 -1
  5. package/dist/{Checkbox-Bo26OGHP.js → Checkbox-BXC2mLNd.js} +1 -1
  6. package/dist/DatePicker-DcVjiS5d.js +848 -0
  7. package/dist/{Empty-rMhOPi79.js → Empty-By1qe-ew.js} +1 -1
  8. package/dist/{FlyoutSubmenu-C0id6-Sb.js → FlyoutSubmenu-C1n-fr6i.js} +1 -1
  9. package/dist/{Input-CxSTVp9E.js → Input-D2bee2LU.js} +2 -2
  10. package/dist/{Loading-D_qRwfKv.js → Loading-DE9Iaiao.js} +3 -3
  11. package/dist/Pagination-DpNOb0CS.js +178 -0
  12. package/dist/{Popover-D1uZ1N9Z.js → Popover-Bnz7KNZq.js} +2 -2
  13. package/dist/{ProgressSpinner-hmR23xpi.js → ProgressSpinner-vBXGvQ92.js} +1 -1
  14. package/dist/{Radio-CZAyelC_.js → Radio-BbznzRbr.js} +1 -1
  15. package/dist/{Segmented-BpdO7arR.js → Segmented-CMP3nBAP.js} +1 -1
  16. package/dist/{Select-CySmusHs.js → Select-q4X2ff_M.js} +3 -3
  17. package/dist/{Textarea-DskjTCcz.js → Textarea-DsFOAtPd.js} +2 -2
  18. package/dist/{Tooltip-DSfkflHp.js → Tooltip-5zRVTTVs.js} +2 -2
  19. package/dist/accordion/style.css +4 -3
  20. package/dist/affix/style.css +4 -3
  21. package/dist/alert/index.js +2 -2
  22. package/dist/alert/style.css +4 -3
  23. package/dist/anchor/style.css +4 -3
  24. package/dist/auto-complete/index.js +3 -3
  25. package/dist/auto-complete/style.css +4 -3
  26. package/dist/avatar/style.css +4 -3
  27. package/dist/badge/style.css +4 -3
  28. package/dist/block-ui/index.js +1 -1
  29. package/dist/block-ui/style.css +4 -3
  30. package/dist/breadcrumb/index.js +1 -1
  31. package/dist/breadcrumb/style.css +4 -3
  32. package/dist/button/index.js +1 -1
  33. package/dist/button/style.css +4 -3
  34. package/dist/calendar/index.js +3 -3
  35. package/dist/calendar/style.css +246 -45
  36. package/dist/card/style.css +4 -3
  37. package/dist/carousel/index.js +2 -2
  38. package/dist/carousel/style.css +4 -3
  39. package/dist/cascade-select/index.js +3 -3
  40. package/dist/cascade-select/style.css +4 -3
  41. package/dist/checkbox/index.js +1 -1
  42. package/dist/checkbox/style.css +4 -3
  43. package/dist/chip/index.js +1 -1
  44. package/dist/chip/style.css +4 -3
  45. package/dist/command-menu/index.js +3 -3
  46. package/dist/command-menu/style.css +4 -3
  47. package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
  48. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  49. package/dist/components/DatePicker/styles.css +242 -42
  50. package/dist/components/DatePicker/types.d.ts +20 -2
  51. package/dist/components/DatePicker/types.d.ts.map +1 -1
  52. package/dist/components/OrderList/OrderList.vue.d.ts +13 -7
  53. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  54. package/dist/components/OrderList/styles.css +80 -7
  55. package/dist/components/OrderList/types.d.ts +20 -3
  56. package/dist/components/OrderList/types.d.ts.map +1 -1
  57. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  58. package/dist/components/Pagination/styles.css +3 -30
  59. package/dist/components/Table/Table.vue.d.ts +37 -282
  60. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  61. package/dist/components/Table/core/tree.d.ts +4 -0
  62. package/dist/components/Table/core/tree.d.ts.map +1 -1
  63. package/dist/components/Table/core/utils.d.ts +11 -3
  64. package/dist/components/Table/core/utils.d.ts.map +1 -1
  65. package/dist/components/Table/index.d.ts +1 -1
  66. package/dist/components/Table/index.d.ts.map +1 -1
  67. package/dist/components/Table/render/TableColumnSetting.vue.d.ts +25 -0
  68. package/dist/components/Table/render/TableColumnSetting.vue.d.ts.map +1 -0
  69. package/dist/components/Table/render/TableTbody.vue.d.ts +16 -0
  70. package/dist/components/Table/render/TableTbody.vue.d.ts.map +1 -1
  71. package/dist/components/Table/render/TableThead.vue.d.ts +8 -0
  72. package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
  73. package/dist/components/Table/state/internal.d.ts +1 -1
  74. package/dist/components/Table/state/internal.d.ts.map +1 -1
  75. package/dist/components/Table/state/usePageItems.d.ts +1 -3
  76. package/dist/components/Table/state/usePageItems.d.ts.map +1 -1
  77. package/dist/components/Table/state/useVirtualRows.d.ts +20 -2
  78. package/dist/components/Table/state/useVirtualRows.d.ts.map +1 -1
  79. package/dist/components/Table/styles.css +95 -0
  80. package/dist/components/Table/types.d.ts +77 -12
  81. package/dist/components/Table/types.d.ts.map +1 -1
  82. package/dist/{config-BEpyhJi3.js → config-Cd20zAyW.js} +11 -1
  83. package/dist/config-provider/index.js +1 -1
  84. package/dist/config-provider/style.css +4 -3
  85. package/dist/confirm-dialog/index.js +4 -4
  86. package/dist/confirm-dialog/style.css +4 -3
  87. package/dist/confirm-popup/index.js +4 -4
  88. package/dist/confirm-popup/style.css +4 -3
  89. package/dist/context-menu/index.js +3 -3
  90. package/dist/context-menu/style.css +4 -3
  91. package/dist/data-view/index.js +3 -3
  92. package/dist/data-view/style.css +7 -33
  93. package/dist/date-picker/index.js +1 -1
  94. package/dist/date-picker/style.css +378 -45
  95. package/dist/date-picker/style.js +1 -0
  96. package/dist/descriptions/index.js +1 -1
  97. package/dist/descriptions/style.css +4 -3
  98. package/dist/dialog/index.js +4 -4
  99. package/dist/dialog/style.css +4 -3
  100. package/dist/divider/style.css +4 -3
  101. package/dist/dock/style.css +4 -3
  102. package/dist/drawer/index.js +3 -3
  103. package/dist/drawer/style.css +4 -3
  104. package/dist/dropdown/index.js +4 -4
  105. package/dist/dropdown/style.css +4 -3
  106. package/dist/empty/index.js +1 -1
  107. package/dist/empty/style.css +4 -3
  108. package/dist/fieldset/style.css +4 -3
  109. package/dist/file-upload/index.js +1 -1
  110. package/dist/file-upload/style.css +4 -3
  111. package/dist/flex/index.js +1 -1
  112. package/dist/flex/style.css +4 -3
  113. package/dist/float-label/style.css +4 -3
  114. package/dist/fluid/style.css +4 -3
  115. package/dist/form/index.js +1 -1
  116. package/dist/form/style.css +4 -3
  117. package/dist/gallery/index.js +1 -1
  118. package/dist/gallery/style.css +4 -3
  119. package/dist/grid/style.css +4 -3
  120. package/dist/icon/style.css +4 -3
  121. package/dist/icon-field/style.css +4 -3
  122. package/dist/image/index.js +1 -1
  123. package/dist/image/style.css +4 -3
  124. package/dist/index.d.ts +1 -1
  125. package/dist/index.d.ts.map +1 -1
  126. package/dist/index.js +4118 -3439
  127. package/dist/inplace/style.css +4 -3
  128. package/dist/input/index.js +1 -1
  129. package/dist/input/style.css +4 -3
  130. package/dist/input-color/index.js +2 -2
  131. package/dist/input-color/style.css +4 -3
  132. package/dist/input-group/style.css +4 -3
  133. package/dist/input-number/index.js +2 -2
  134. package/dist/input-number/style.css +4 -3
  135. package/dist/input-otp/index.js +2 -2
  136. package/dist/input-otp/style.css +4 -3
  137. package/dist/input-password/index.js +2 -2
  138. package/dist/input-password/style.css +4 -3
  139. package/dist/input-tags/index.js +2 -2
  140. package/dist/input-tags/style.css +4 -3
  141. package/dist/knob/style.css +4 -3
  142. package/dist/label/style.css +4 -3
  143. package/dist/layout/index.js +1 -1
  144. package/dist/layout/style.css +4 -3
  145. package/dist/list/index.js +4 -4
  146. package/dist/list/style.css +7 -33
  147. package/dist/listbox/index.js +2 -2
  148. package/dist/listbox/style.css +4 -3
  149. package/dist/loading/index.js +1 -1
  150. package/dist/loading/style.css +4 -3
  151. package/dist/locale/de-DE.d.ts.map +1 -1
  152. package/dist/locale/en-US.d.ts.map +1 -1
  153. package/dist/locale/es-ES.d.ts.map +1 -1
  154. package/dist/locale/fr-FR.d.ts.map +1 -1
  155. package/dist/locale/ja-JP.d.ts.map +1 -1
  156. package/dist/locale/ko-KR.d.ts.map +1 -1
  157. package/dist/locale/pt-BR.d.ts.map +1 -1
  158. package/dist/locale/ru-RU.d.ts.map +1 -1
  159. package/dist/locale/types.d.ts +18 -0
  160. package/dist/locale/types.d.ts.map +1 -1
  161. package/dist/locale/zh-CN.d.ts.map +1 -1
  162. package/dist/locale/zh-TW.d.ts.map +1 -1
  163. package/dist/{locale-CZddM-tH.js → locale-BcxMPufl.js} +1 -1
  164. package/dist/mega-menu/index.js +3 -3
  165. package/dist/mega-menu/style.css +4 -3
  166. package/dist/mentions/index.js +3 -3
  167. package/dist/mentions/style.css +4 -3
  168. package/dist/menu/index.js +4 -4
  169. package/dist/menu/style.css +4 -3
  170. package/dist/menubar/index.js +3 -3
  171. package/dist/menubar/style.css +4 -3
  172. package/dist/message/index.js +3 -3
  173. package/dist/message/style.css +4 -3
  174. package/dist/meter-group/style.css +4 -3
  175. package/dist/order-list/index.js +191 -101
  176. package/dist/order-list/style.css +84 -10
  177. package/dist/page/index.js +3 -3
  178. package/dist/page/style.css +4 -3
  179. package/dist/pagination/index.js +1 -1
  180. package/dist/pagination/style.css +7 -33
  181. package/dist/panel/index.js +1 -1
  182. package/dist/panel/style.css +4 -3
  183. package/dist/pick-list/index.js +1 -1
  184. package/dist/pick-list/style.css +4 -3
  185. package/dist/popover/index.js +1 -1
  186. package/dist/popover/style.css +4 -3
  187. package/dist/progress-bar/style.css +4 -3
  188. package/dist/progress-spinner/index.js +1 -1
  189. package/dist/progress-spinner/style.css +4 -3
  190. package/dist/qr-code/index.js +3 -3
  191. package/dist/qr-code/style.css +4 -3
  192. package/dist/radio/index.js +1 -1
  193. package/dist/radio/style.css +4 -3
  194. package/dist/rating/index.js +2 -2
  195. package/dist/rating/style.css +4 -3
  196. package/dist/result/index.js +1 -1
  197. package/dist/result/style.css +4 -3
  198. package/dist/scroll-top/index.js +2 -2
  199. package/dist/scroll-top/style.css +4 -3
  200. package/dist/scrollbar/style.css +4 -3
  201. package/dist/segmented/index.js +1 -1
  202. package/dist/segmented/style.css +4 -3
  203. package/dist/select/index.js +1 -1
  204. package/dist/select/style.css +4 -3
  205. package/dist/select-button/index.js +1 -1
  206. package/dist/select-button/style.css +4 -3
  207. package/dist/sidebar/index.js +1 -1
  208. package/dist/sidebar/style.css +4 -3
  209. package/dist/skeleton/style.css +4 -3
  210. package/dist/slider/index.js +2 -2
  211. package/dist/slider/style.css +4 -3
  212. package/dist/space/index.js +1 -1
  213. package/dist/space/style.css +4 -3
  214. package/dist/speed-dial/index.js +3 -3
  215. package/dist/speed-dial/style.css +4 -3
  216. package/dist/split-button/index.js +3 -3
  217. package/dist/split-button/style.css +4 -3
  218. package/dist/splitter/index.js +1 -1
  219. package/dist/splitter/style.css +4 -3
  220. package/dist/statistic/style.css +4 -3
  221. package/dist/status/index.js +1 -1
  222. package/dist/status/style.css +4 -3
  223. package/dist/stepper/style.css +4 -3
  224. package/dist/styles.css +1 -1
  225. package/dist/switch/index.js +1 -1
  226. package/dist/switch/style.css +4 -3
  227. package/dist/table/index.js +975 -714
  228. package/dist/table/style.css +102 -33
  229. package/dist/tabs/index.js +1 -1
  230. package/dist/tabs/style.css +4 -3
  231. package/dist/tag/index.js +2 -2
  232. package/dist/tag/style.css +4 -3
  233. package/dist/terminal/index.js +1 -1
  234. package/dist/terminal/style.css +4 -3
  235. package/dist/textarea/index.js +1 -1
  236. package/dist/textarea/style.css +4 -3
  237. package/dist/theme/styles.css +4 -3
  238. package/dist/tiered-menu/index.js +3 -3
  239. package/dist/tiered-menu/style.css +4 -3
  240. package/dist/time-picker/index.js +5 -1
  241. package/dist/time-picker/style.css +246 -45
  242. package/dist/timeline/style.css +4 -3
  243. package/dist/toast/index.js +3 -3
  244. package/dist/toast/style.css +4 -3
  245. package/dist/toggle-button/index.js +1 -1
  246. package/dist/toggle-button/style.css +4 -3
  247. package/dist/toolbar/style.css +4 -3
  248. package/dist/tooltip/index.js +1 -1
  249. package/dist/tooltip/style.css +4 -3
  250. package/dist/tour/index.js +3 -3
  251. package/dist/tour/style.css +4 -3
  252. package/dist/tree/index.js +2 -2
  253. package/dist/tree/style.css +4 -3
  254. package/dist/tree-select/index.js +4 -4
  255. package/dist/tree-select/style.css +4 -3
  256. package/dist/typography/index.js +2 -2
  257. package/dist/typography/style.css +4 -3
  258. package/dist/{useMotionTransition-DqL_SEML.js → useMotionTransition-DohkfWRB.js} +1 -1
  259. package/dist/virtual-scroller/style.css +4 -3
  260. package/dist/watermark/style.css +4 -3
  261. package/package.json +2 -1
  262. package/dist/DatePicker-CsMGzCqY.js +0 -630
  263. package/dist/Pagination-CnGOpp0m.js +0 -171
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -1205,12 +1206,22 @@
1205
1206
  animation: none !important;
1206
1207
  }
1207
1208
 
1208
- /* --- Form: DatePicker --- */
1209
+ /* --- Form: DatePicker ---
1210
+ * Size-aware tokens follow Ant Design DatePicker sizing:
1211
+ * - small : 24px input, 24px calendar cells, 14px font
1212
+ * - medium : 32px input, 24px calendar cells, 14px font (default)
1213
+ * - large : 40px input, 28px calendar cells, 16px font
1214
+ * Override `--m-datepicker-*` tokens to customize per-size appearance.
1215
+ */
1209
1216
  .m-datepicker,
1210
1217
  .m-datepicker__panel {
1211
- --m-datepicker-calendar-cell-size: var(--m-control-affix-size, 2rem);
1218
+ --m-datepicker-calendar-cell-size: 1.5rem;
1212
1219
  --m-datepicker-day-size: var(--m-datepicker-calendar-cell-size);
1213
1220
  --m-datepicker-grid-gap: 0.125rem;
1221
+ --m-datepicker-control-height: var(--m-control-height-medium);
1222
+ --m-datepicker-font-size: var(--m-control-font-medium);
1223
+ --m-datepicker-padding-x: var(--m-control-padding-x-medium);
1224
+ --m-datepicker-affix-size: var(--m-control-affix-size);
1214
1225
  --m-datepicker-panel-min-width: calc(
1215
1226
  7 * var(--m-datepicker-calendar-cell-size) + 6 *
1216
1227
  var(--m-datepicker-grid-gap) + 2 * var(--m-space-3)
@@ -1218,6 +1229,32 @@
1218
1229
  --m-datepicker-shortcuts-width: 6rem;
1219
1230
  }
1220
1231
 
1232
+ /* Size variants: scale input height, font, padding, calendar cell, affix.
1233
+ * Panel gets its own class (m-datepicker__panel--{size}) because it can be
1234
+ * teleported outside the root element. */
1235
+ .m-datepicker--small,
1236
+ .m-datepicker__panel--small {
1237
+ --m-datepicker-calendar-cell-size: 1.375rem;
1238
+ --m-datepicker-control-height: var(--m-control-height-small);
1239
+ --m-datepicker-font-size: var(--m-control-font-small);
1240
+ --m-datepicker-padding-x: var(--m-control-padding-x-small);
1241
+ --m-datepicker-affix-size: calc(
1242
+ var(--m-control-height-small) - 2 * var(--m-border-width)
1243
+ );
1244
+ }
1245
+
1246
+ .m-datepicker--large,
1247
+ .m-datepicker__panel--large {
1248
+ /* antd large: slightly bigger calendar cells */
1249
+ --m-datepicker-calendar-cell-size: 1.75rem;
1250
+ --m-datepicker-control-height: var(--m-control-height-large);
1251
+ --m-datepicker-font-size: var(--m-control-font-large);
1252
+ --m-datepicker-padding-x: var(--m-control-padding-x-large);
1253
+ --m-datepicker-affix-size: calc(
1254
+ var(--m-control-height-large) - 2 * var(--m-border-width)
1255
+ );
1256
+ }
1257
+
1221
1258
  .m-datepicker {
1222
1259
  display: inline-flex;
1223
1260
  flex-direction: column;
@@ -1259,7 +1296,7 @@
1259
1296
  box-sizing: border-box;
1260
1297
  display: flex;
1261
1298
  max-width: 100%;
1262
- min-height: var(--m-control-height-medium);
1299
+ min-height: var(--m-datepicker-control-height);
1263
1300
  transition:
1264
1301
  border-color var(--m-motion-fast) var(--m-motion-ease),
1265
1302
  box-shadow var(--m-motion-fast) var(--m-motion-ease);
@@ -1275,17 +1312,32 @@
1275
1312
  box-shadow: var(--m-focus-shadow);
1276
1313
  }
1277
1314
 
1278
- .m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input) {
1315
+ .m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input),
1316
+ .m-datepicker--error .m-datepicker__control:has(.m-datepicker__input) {
1279
1317
  border-color: var(--m-color-danger);
1280
1318
  }
1281
1319
 
1320
+ .m-datepicker--warning .m-datepicker__control:has(.m-datepicker__input) {
1321
+ border-color: var(--m-color-warning);
1322
+ }
1323
+
1282
1324
  .m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input):focus-within,
1283
1325
  .m-datepicker--invalid.m-datepicker--open
1326
+ .m-datepicker__control:has(.m-datepicker__input),
1327
+ .m-datepicker--error .m-datepicker__control:has(.m-datepicker__input):focus-within,
1328
+ .m-datepicker--error.m-datepicker--open
1284
1329
  .m-datepicker__control:has(.m-datepicker__input) {
1285
1330
  border-color: var(--m-color-danger);
1286
1331
  box-shadow: var(--m-focus-shadow-danger);
1287
1332
  }
1288
1333
 
1334
+ .m-datepicker--warning .m-datepicker__control:has(.m-datepicker__input):focus-within,
1335
+ .m-datepicker--warning.m-datepicker--open
1336
+ .m-datepicker__control:has(.m-datepicker__input) {
1337
+ border-color: var(--m-color-warning);
1338
+ box-shadow: var(--m-focus-shadow-warning, 0 0 0 3px color-mix(in srgb, var(--m-color-warning) 20%, transparent));
1339
+ }
1340
+
1289
1341
  .m-datepicker__input {
1290
1342
  background: transparent;
1291
1343
  border: 0;
@@ -1295,37 +1347,15 @@
1295
1347
  cursor: pointer;
1296
1348
  flex: 1 1 auto;
1297
1349
  font-family: var(--m-font-sans);
1298
- font-size: var(--m-control-font-medium);
1299
- height: calc(var(--m-control-height-medium) - 2 * var(--m-border-width));
1300
- line-height: calc(var(--m-control-height-medium) - 2 * var(--m-border-width));
1350
+ font-size: var(--m-datepicker-font-size);
1351
+ height: calc(var(--m-datepicker-control-height) - 2 * var(--m-border-width));
1352
+ line-height: calc(var(--m-datepicker-control-height) - 2 * var(--m-border-width));
1301
1353
  min-height: 0;
1302
1354
  min-width: 0;
1303
- padding: 0 var(--m-control-padding-x-medium);
1355
+ padding: 0 var(--m-datepicker-padding-x);
1304
1356
  width: 100%;
1305
1357
  }
1306
1358
 
1307
- .m-datepicker--small .m-datepicker__control:has(.m-datepicker__input) {
1308
- min-height: var(--m-control-height-small);
1309
- }
1310
-
1311
- .m-datepicker--small .m-datepicker__input {
1312
- font-size: var(--m-control-font-small);
1313
- height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
1314
- line-height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
1315
- padding: 0 var(--m-control-padding-x-small);
1316
- }
1317
-
1318
- .m-datepicker--large .m-datepicker__control:has(.m-datepicker__input) {
1319
- min-height: var(--m-control-height-large);
1320
- }
1321
-
1322
- .m-datepicker--large .m-datepicker__input {
1323
- font-size: var(--m-control-font-large);
1324
- height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
1325
- line-height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
1326
- padding: 0 var(--m-control-padding-x-large);
1327
- }
1328
-
1329
1359
  .m-datepicker__input:focus,
1330
1360
  .m-datepicker__input:focus-visible {
1331
1361
  box-shadow: none;
@@ -1351,10 +1381,10 @@
1351
1381
  display: inline-flex;
1352
1382
  flex: 0 0 auto;
1353
1383
  font: inherit;
1354
- height: var(--m-control-affix-size);
1384
+ height: var(--m-datepicker-affix-size);
1355
1385
  justify-content: center;
1356
1386
  padding: 0;
1357
- width: var(--m-control-affix-size);
1387
+ width: var(--m-datepicker-affix-size);
1358
1388
  }
1359
1389
 
1360
1390
  .m-datepicker__clear:hover:not(:disabled) {
@@ -1371,6 +1401,7 @@
1371
1401
  border: var(--m-border-width) solid var(--m-color-border);
1372
1402
  border-radius: var(--m-radius-md);
1373
1403
  box-shadow: var(--m-shadow-md);
1404
+ font-size: var(--m-datepicker-font-size);
1374
1405
  margin-top: var(--m-space-1);
1375
1406
  min-width: max(100%, var(--m-datepicker-panel-min-width));
1376
1407
  padding: var(--m-space-3);
@@ -1400,9 +1431,39 @@
1400
1431
  }
1401
1432
 
1402
1433
  .m-datepicker__month {
1434
+ font-size: var(--m-datepicker-font-size);
1403
1435
  font-weight: 500;
1404
1436
  }
1405
1437
 
1438
+ /* Header label as a clickable switch between days / months / years sub-panels. */
1439
+ button.m-datepicker__month--switch {
1440
+ background: transparent;
1441
+ border: 0;
1442
+ border-radius: var(--m-radius-sm);
1443
+ color: var(--m-color-text);
1444
+ cursor: pointer;
1445
+ font-family: var(--m-font-sans);
1446
+ font-size: inherit;
1447
+ padding: var(--m-space-1) var(--m-space-2);
1448
+ transition:
1449
+ background-color var(--m-motion-fast) var(--m-motion-ease),
1450
+ color var(--m-motion-fast) var(--m-motion-ease);
1451
+ }
1452
+
1453
+ button.m-datepicker__month--switch:hover {
1454
+ background: color-mix(
1455
+ in srgb,
1456
+ var(--m-color-primary) 10%,
1457
+ var(--m-color-surface)
1458
+ );
1459
+ color: var(--m-color-primary);
1460
+ }
1461
+
1462
+ button.m-datepicker__month--switch:focus-visible {
1463
+ box-shadow: var(--m-focus-shadow);
1464
+ outline: none;
1465
+ }
1466
+
1406
1467
  .m-datepicker__nav {
1407
1468
  align-items: center;
1408
1469
  background: transparent;
@@ -1434,31 +1495,46 @@
1434
1495
  .m-datepicker__grid {
1435
1496
  display: grid;
1436
1497
  gap: var(--m-datepicker-grid-gap);
1498
+ /* Cells fill the available panel width (e.g. fluid trigger) while keeping
1499
+ a minimum of the size-aware cell size. */
1437
1500
  grid-template-columns: repeat(
1438
1501
  7,
1439
- var(--m-datepicker-calendar-cell-size, var(--m-control-affix-size, 2rem))
1502
+ minmax(var(--m-datepicker-calendar-cell-size), 1fr)
1440
1503
  );
1441
1504
  place-items: center;
1442
1505
  }
1443
1506
 
1444
1507
  .m-datepicker__weekdays {
1445
1508
  color: var(--m-color-text-muted);
1446
- font-size: var(--m-font-size-xs);
1509
+ font-size: calc(var(--m-datepicker-font-size) - 2px);
1447
1510
  margin-bottom: var(--m-space-1);
1448
1511
  text-align: center;
1449
1512
  }
1450
1513
 
1514
+ .m-datepicker__weekdays > span {
1515
+ /* Match the stretched day cells so headers align with columns. */
1516
+ width: 100%;
1517
+ }
1518
+
1451
1519
  .m-datepicker__day {
1520
+ align-items: center;
1452
1521
  background: transparent;
1453
1522
  border: 0;
1454
1523
  border-radius: var(--m-radius-sm);
1455
1524
  color: var(--m-color-text);
1456
1525
  cursor: pointer;
1526
+ display: inline-flex;
1457
1527
  font-family: var(--m-font-sans);
1528
+ font-size: var(--m-datepicker-font-size);
1458
1529
  height: var(--m-datepicker-day-size);
1530
+ justify-content: center;
1531
+ /* Reset UA button padding so the label centers in the cell. */
1532
+ padding: 0;
1459
1533
  transition: background-color var(--m-motion-fast) var(--m-motion-ease),
1460
1534
  color var(--m-motion-fast) var(--m-motion-ease);
1461
- width: var(--m-datepicker-day-size);
1535
+ /* Stretch to the grid column so fluid panels fill the trigger width;
1536
+ height stays size-aware so cells read as rows, not oversized squares. */
1537
+ width: 100%;
1462
1538
  }
1463
1539
 
1464
1540
  .m-datepicker__day--other {
@@ -1471,6 +1547,13 @@
1471
1547
  color: var(--m-color-on-emphasis);
1472
1548
  }
1473
1549
 
1550
+ /* Today's ring: 1px inner border in primary, suppressed once selected. */
1551
+ .m-datepicker__day--today:not(.m-datepicker__day--selected) {
1552
+ box-shadow: inset 0 0 0 1px var(--m-color-primary);
1553
+ color: var(--m-color-primary);
1554
+ font-weight: 500;
1555
+ }
1556
+
1474
1557
  .m-datepicker__day:hover:not(:disabled):not(.m-datepicker__day--selected) {
1475
1558
  background: color-mix(
1476
1559
  in srgb,
@@ -1501,6 +1584,59 @@
1501
1584
  min-width: var(--m-datepicker-shortcuts-width);
1502
1585
  }
1503
1586
 
1587
+ /* Extra footer (slot): typical "Now / Today / Clear" actions. */
1588
+ .m-datepicker__footer {
1589
+ align-items: center;
1590
+ border-top: var(--m-border-width) solid var(--m-color-border);
1591
+ display: flex;
1592
+ gap: var(--m-space-2);
1593
+ justify-content: flex-end;
1594
+ padding: var(--m-space-2) var(--m-space-3);
1595
+ }
1596
+
1597
+ .m-datepicker__footer-btn {
1598
+ background: transparent;
1599
+ border: var(--m-border-width) solid var(--m-color-border);
1600
+ border-radius: var(--m-radius-control);
1601
+ color: var(--m-color-text);
1602
+ cursor: pointer;
1603
+ font-family: var(--m-font-sans);
1604
+ font-size: var(--m-datepicker-font-size);
1605
+ height: var(--m-control-height-sm, 1.75rem);
1606
+ padding: 0 var(--m-space-3);
1607
+ transition:
1608
+ background-color var(--m-motion-fast) var(--m-motion-ease),
1609
+ border-color var(--m-motion-fast) var(--m-motion-ease),
1610
+ color var(--m-motion-fast) var(--m-motion-ease);
1611
+ }
1612
+
1613
+ .m-datepicker__footer-btn:hover:not(:disabled) {
1614
+ border-color: var(--m-color-primary-hover);
1615
+ color: var(--m-color-primary);
1616
+ }
1617
+
1618
+ .m-datepicker__footer-btn:focus-visible {
1619
+ box-shadow: var(--m-focus-shadow);
1620
+ outline: none;
1621
+ }
1622
+
1623
+ .m-datepicker__footer-btn:disabled {
1624
+ cursor: not-allowed;
1625
+ opacity: 0.6;
1626
+ }
1627
+
1628
+ .m-datepicker__footer-btn--primary {
1629
+ background: var(--m-color-primary);
1630
+ border-color: var(--m-color-primary);
1631
+ color: var(--m-color-on-emphasis);
1632
+ }
1633
+
1634
+ .m-datepicker__footer-btn--primary:hover:not(:disabled) {
1635
+ background: var(--m-color-primary-hover);
1636
+ border-color: var(--m-color-primary-hover);
1637
+ color: var(--m-color-on-emphasis);
1638
+ }
1639
+
1504
1640
  .m-datepicker__shortcut {
1505
1641
  background: transparent;
1506
1642
  border: 0;
@@ -1508,6 +1644,7 @@
1508
1644
  color: var(--m-color-text);
1509
1645
  cursor: pointer;
1510
1646
  font-family: var(--m-font-sans);
1647
+ font-size: var(--m-datepicker-font-size);
1511
1648
  padding: var(--m-space-1) var(--m-space-2);
1512
1649
  text-align: left;
1513
1650
  transition: background-color var(--m-motion-fast) var(--m-motion-ease),
@@ -1528,6 +1665,16 @@
1528
1665
  outline: none;
1529
1666
  }
1530
1667
 
1668
+ .m-datepicker__shortcut--active {
1669
+ background: color-mix(
1670
+ in srgb,
1671
+ var(--m-color-primary) 12%,
1672
+ var(--m-color-surface)
1673
+ );
1674
+ color: var(--m-color-primary);
1675
+ font-weight: 500;
1676
+ }
1677
+
1531
1678
  .m-datepicker__day--in-range {
1532
1679
  background: color-mix(
1533
1680
  in srgb,
@@ -1565,12 +1712,16 @@
1565
1712
  }
1566
1713
 
1567
1714
  .m-datepicker__cell {
1715
+ align-items: center;
1568
1716
  background: transparent;
1569
1717
  border: 0;
1570
1718
  border-radius: var(--m-radius-sm);
1571
1719
  color: var(--m-color-text);
1572
1720
  cursor: pointer;
1721
+ display: inline-flex;
1573
1722
  font-family: var(--m-font-sans);
1723
+ font-size: var(--m-datepicker-font-size);
1724
+ justify-content: center;
1574
1725
  min-height: var(--m-datepicker-day-size);
1575
1726
  padding: var(--m-space-2) var(--m-space-1);
1576
1727
  transition:
@@ -1583,6 +1734,11 @@
1583
1734
  color: var(--m-color-on-emphasis);
1584
1735
  }
1585
1736
 
1737
+ .m-datepicker__cell--other {
1738
+ color: var(--m-color-text-muted);
1739
+ opacity: 0.6;
1740
+ }
1741
+
1586
1742
  .m-datepicker__cell:hover:not(.m-datepicker__cell--selected) {
1587
1743
  background: color-mix(
1588
1744
  in srgb,
@@ -1599,34 +1755,64 @@
1599
1755
  .m-datepicker__time {
1600
1756
  display: flex;
1601
1757
  gap: var(--m-space-1);
1602
- max-height: calc(
1758
+ /* Fixed height so nested MScrollbar can resolve height: 100%. Time lists are
1759
+ always longer than this, so the container is effectively always full. */
1760
+ height: calc(
1603
1761
  6 * var(--m-datepicker-day-size) + 5 * var(--m-datepicker-grid-gap) +
1604
1762
  2.5rem
1605
1763
  );
1606
1764
  min-width: 0;
1607
1765
  }
1608
1766
 
1767
+ /* Each time column: header label on top + scrollable list below. */
1609
1768
  .m-datepicker__time-col {
1610
1769
  display: flex;
1611
1770
  flex-direction: column;
1612
- gap: 0.125rem;
1613
- max-height: 100%;
1771
+ height: 100%;
1614
1772
  min-width: 2.5rem;
1615
- overflow-y: auto;
1773
+ }
1774
+
1775
+ .m-datepicker__time-header {
1776
+ color: var(--m-color-text);
1777
+ flex: 0 0 auto;
1778
+ font-size: var(--m-datepicker-font-size);
1779
+ line-height: 1;
1780
+ padding: var(--m-space-1) 0 var(--m-space-2);
1781
+ text-align: center;
1782
+ }
1783
+
1784
+ /* Scrollable list region below the header. */
1785
+ .m-datepicker__time-scroll {
1786
+ flex: 1 1 auto;
1787
+ min-height: 0;
1788
+ }
1789
+
1790
+ .m-datepicker__time-scroll .m-datepicker__time-col-wrap {
1791
+ height: 100%;
1616
1792
  overscroll-behavior: contain;
1617
1793
  }
1618
1794
 
1795
+ .m-datepicker__time-scroll .m-datepicker__time-col-view {
1796
+ display: flex;
1797
+ flex-direction: column;
1798
+ gap: 0.125rem;
1799
+ min-width: 100%;
1800
+ }
1801
+
1619
1802
  .m-datepicker__time-item {
1803
+ align-items: center;
1620
1804
  background: transparent;
1621
1805
  border: 0;
1622
1806
  border-radius: var(--m-radius-sm);
1623
1807
  color: var(--m-color-text);
1624
1808
  cursor: pointer;
1809
+ display: inline-flex;
1625
1810
  flex: 0 0 auto;
1626
1811
  font-family: var(--m-font-sans);
1812
+ font-size: var(--m-datepicker-font-size);
1627
1813
  font-variant-numeric: tabular-nums;
1628
1814
  height: var(--m-datepicker-day-size);
1629
- line-height: var(--m-datepicker-day-size);
1815
+ justify-content: center;
1630
1816
  padding: 0;
1631
1817
  text-align: center;
1632
1818
  width: 100%;
@@ -1650,11 +1836,26 @@
1650
1836
  outline: none;
1651
1837
  }
1652
1838
 
1653
- /* Time-only panel: stack columns without calendar */
1839
+ /* Time-only panel: stack columns without calendar; use a compact width
1840
+ derived from time columns instead of the wider 7-day calendar grid. */
1841
+ .m-datepicker__panel--time-only {
1842
+ --m-datepicker-panel-min-width: calc(
1843
+ 3 * 4rem + 2 * var(--m-space-1) + 2 * var(--m-space-3)
1844
+ );
1845
+ }
1846
+
1654
1847
  .m-datepicker__panel--time-only .m-datepicker__body {
1655
1848
  flex-direction: row;
1849
+ width: 100%;
1656
1850
  }
1657
1851
 
1658
1852
  .m-datepicker__panel--time-only .m-datepicker__time {
1659
- max-height: 14rem;
1853
+ flex: 1 1 auto;
1854
+ height: 14rem;
1855
+ width: 100%;
1856
+ }
1857
+
1858
+ .m-datepicker__panel--time-only .m-datepicker__time-col {
1859
+ flex: 1 1 0;
1860
+ min-width: 0;
1660
1861
  }
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -1,12 +1,12 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { n as t } from "../overlay-oR-5MDuE.js";
3
- import { t as n } from "../useMotionTransition-DqL_SEML.js";
3
+ import { t as n } from "../useMotionTransition-DohkfWRB.js";
4
4
  import { t as r } from "../Icon-CmHjx7W8.js";
5
5
  import { n as i, r as a } from "../content-h8POj44-.js";
6
6
  import { t as o } from "../Renderable-DHU4Jcfw.js";
7
7
  import { n as s } from "../overlayHost-78CGtMgR.js";
8
- import { l as c } from "../config-BEpyhJi3.js";
9
- import { n as l, t as u } from "../locale-CZddM-tH.js";
8
+ import { l as c } from "../config-Cd20zAyW.js";
9
+ import { n as l, t as u } from "../locale-BcxMPufl.js";
10
10
  import "./style.js";
11
11
  import { Fragment as ee, Teleport as d, TransitionGroup as te, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, h as y, mergeProps as b, normalizeClass as x, onBeforeUnmount as S, onMounted as ne, openBlock as C, reactive as w, renderList as re, unref as T, useAttrs as E, watch as D, withCtx as O } from "vue";
12
12
  //#region src/components/Toast/toastState.ts
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../Icon-CmHjx7W8.js";
2
2
  import { t } from "../icon-H8prbteT.js";
3
- import { o as n } from "../config-BEpyhJi3.js";
3
+ import { o as n } from "../config-Cd20zAyW.js";
4
4
  import "./style.js";
5
5
  import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f } from "vue";
6
6
  //#region src/components/ToggleButton/ToggleButton.vue?vue&type=script&setup=true&lang.ts
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -1,3 +1,3 @@
1
- import { t as e } from "../Tooltip-DSfkflHp.js";
1
+ import { t as e } from "../Tooltip-5zRVTTVs.js";
2
2
  import "./style.js";
3
3
  export { e as MTooltip };
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -2,9 +2,9 @@ import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { n as t } from "../overlay-oR-5MDuE.js";
3
3
  import { t as ee } from "../overlayPlacement-qwEJPVS4.js";
4
4
  import { t as n } from "../Icon-CmHjx7W8.js";
5
- import { t as r } from "../Button-Bjsth0ct.js";
6
- import { l as te } from "../config-BEpyhJi3.js";
7
- import { n as ne } from "../locale-CZddM-tH.js";
5
+ import { t as r } from "../Button-fKkfCnYv.js";
6
+ import { l as te } from "../config-Cd20zAyW.js";
7
+ import { n as ne } from "../locale-BcxMPufl.js";
8
8
  import "./style.js";
9
9
  import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as re, openBlock as _, ref as v, toDisplayString as y, unref as b, useAttrs as x, watch as S, withCtx as C } from "vue";
10
10
  //#region src/components/Tour/Tour.vue?vue&type=script&setup=true&lang.ts
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;
@@ -1,9 +1,9 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
2
  import { a as t, t as n } from "../Icon-CmHjx7W8.js";
3
3
  import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
4
- import { t as i } from "../Checkbox-Bo26OGHP.js";
4
+ import { t as i } from "../Checkbox-BXC2mLNd.js";
5
5
  import { a, c as ee, d as o, f as s, i as c, l, o as u, p as d, r as te, s as ne, t as f } from "../treeQuery-CnHkyYOA.js";
6
- import { n as re } from "../locale-CZddM-tH.js";
6
+ import { n as re } from "../locale-BcxMPufl.js";
7
7
  import "./style.js";
8
8
  import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, defineComponent as b, inject as x, mergeProps as S, nextTick as C, normalizeClass as w, openBlock as T, provide as E, reactive as D, ref as O, renderList as ie, renderSlot as ae, resolveDynamicComponent as oe, toDisplayString as k, unref as A, useAttrs as se, useSlots as ce, watch as j, withModifiers as M } from "vue";
9
9
  //#region src/components/Tree/context.ts
@@ -17,11 +17,12 @@
17
17
  --m-control-height-small: 24px;
18
18
  --m-control-height-medium: 32px;
19
19
  --m-control-height-large: 40px;
20
+ /* Ant Design: small/medium share 14px, large uses 16px */
20
21
  --m-control-font-small: 14px;
21
22
  --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
25
26
  --m-control-padding-x-large: 16px;
26
27
 
27
28
  --m-radius-control: 6px;