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.
- package/CHANGELOG.md +47 -0
- package/README.md +6 -0
- package/README.zh-CN.md +6 -0
- package/dist/{Button-Bjsth0ct.js → Button-fKkfCnYv.js} +1 -1
- package/dist/{Checkbox-Bo26OGHP.js → Checkbox-BXC2mLNd.js} +1 -1
- package/dist/DatePicker-DcVjiS5d.js +848 -0
- package/dist/{Empty-rMhOPi79.js → Empty-By1qe-ew.js} +1 -1
- package/dist/{FlyoutSubmenu-C0id6-Sb.js → FlyoutSubmenu-C1n-fr6i.js} +1 -1
- package/dist/{Input-CxSTVp9E.js → Input-D2bee2LU.js} +2 -2
- package/dist/{Loading-D_qRwfKv.js → Loading-DE9Iaiao.js} +3 -3
- package/dist/Pagination-DpNOb0CS.js +178 -0
- package/dist/{Popover-D1uZ1N9Z.js → Popover-Bnz7KNZq.js} +2 -2
- package/dist/{ProgressSpinner-hmR23xpi.js → ProgressSpinner-vBXGvQ92.js} +1 -1
- package/dist/{Radio-CZAyelC_.js → Radio-BbznzRbr.js} +1 -1
- package/dist/{Segmented-BpdO7arR.js → Segmented-CMP3nBAP.js} +1 -1
- package/dist/{Select-CySmusHs.js → Select-q4X2ff_M.js} +3 -3
- package/dist/{Textarea-DskjTCcz.js → Textarea-DsFOAtPd.js} +2 -2
- package/dist/{Tooltip-DSfkflHp.js → Tooltip-5zRVTTVs.js} +2 -2
- package/dist/accordion/style.css +4 -3
- package/dist/affix/style.css +4 -3
- package/dist/alert/index.js +2 -2
- package/dist/alert/style.css +4 -3
- package/dist/anchor/style.css +4 -3
- package/dist/auto-complete/index.js +3 -3
- package/dist/auto-complete/style.css +4 -3
- package/dist/avatar/style.css +4 -3
- package/dist/badge/style.css +4 -3
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +4 -3
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +4 -3
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +4 -3
- package/dist/calendar/index.js +3 -3
- package/dist/calendar/style.css +246 -45
- package/dist/card/style.css +4 -3
- package/dist/carousel/index.js +2 -2
- package/dist/carousel/style.css +4 -3
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +4 -3
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +4 -3
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +4 -3
- package/dist/command-menu/index.js +3 -3
- package/dist/command-menu/style.css +4 -3
- package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DatePicker/styles.css +242 -42
- package/dist/components/DatePicker/types.d.ts +20 -2
- package/dist/components/DatePicker/types.d.ts.map +1 -1
- package/dist/components/OrderList/OrderList.vue.d.ts +13 -7
- package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
- package/dist/components/OrderList/styles.css +80 -7
- package/dist/components/OrderList/types.d.ts +20 -3
- package/dist/components/OrderList/types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +3 -30
- package/dist/components/Table/Table.vue.d.ts +37 -282
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/core/tree.d.ts +4 -0
- package/dist/components/Table/core/tree.d.ts.map +1 -1
- package/dist/components/Table/core/utils.d.ts +11 -3
- package/dist/components/Table/core/utils.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/render/TableColumnSetting.vue.d.ts +25 -0
- package/dist/components/Table/render/TableColumnSetting.vue.d.ts.map +1 -0
- package/dist/components/Table/render/TableTbody.vue.d.ts +16 -0
- package/dist/components/Table/render/TableTbody.vue.d.ts.map +1 -1
- package/dist/components/Table/render/TableThead.vue.d.ts +8 -0
- package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
- package/dist/components/Table/state/internal.d.ts +1 -1
- package/dist/components/Table/state/internal.d.ts.map +1 -1
- package/dist/components/Table/state/usePageItems.d.ts +1 -3
- package/dist/components/Table/state/usePageItems.d.ts.map +1 -1
- package/dist/components/Table/state/useVirtualRows.d.ts +20 -2
- package/dist/components/Table/state/useVirtualRows.d.ts.map +1 -1
- package/dist/components/Table/styles.css +95 -0
- package/dist/components/Table/types.d.ts +77 -12
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/{config-BEpyhJi3.js → config-Cd20zAyW.js} +11 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +4 -3
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +4 -3
- package/dist/confirm-popup/index.js +4 -4
- package/dist/confirm-popup/style.css +4 -3
- package/dist/context-menu/index.js +3 -3
- package/dist/context-menu/style.css +4 -3
- package/dist/data-view/index.js +3 -3
- package/dist/data-view/style.css +7 -33
- package/dist/date-picker/index.js +1 -1
- package/dist/date-picker/style.css +378 -45
- package/dist/date-picker/style.js +1 -0
- package/dist/descriptions/index.js +1 -1
- package/dist/descriptions/style.css +4 -3
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/style.css +4 -3
- package/dist/divider/style.css +4 -3
- package/dist/dock/style.css +4 -3
- package/dist/drawer/index.js +3 -3
- package/dist/drawer/style.css +4 -3
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +4 -3
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +4 -3
- package/dist/fieldset/style.css +4 -3
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +4 -3
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +4 -3
- package/dist/float-label/style.css +4 -3
- package/dist/fluid/style.css +4 -3
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +4 -3
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +4 -3
- package/dist/grid/style.css +4 -3
- package/dist/icon/style.css +4 -3
- package/dist/icon-field/style.css +4 -3
- package/dist/image/index.js +1 -1
- package/dist/image/style.css +4 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4118 -3439
- package/dist/inplace/style.css +4 -3
- package/dist/input/index.js +1 -1
- package/dist/input/style.css +4 -3
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +4 -3
- package/dist/input-group/style.css +4 -3
- package/dist/input-number/index.js +2 -2
- package/dist/input-number/style.css +4 -3
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +4 -3
- package/dist/input-password/index.js +2 -2
- package/dist/input-password/style.css +4 -3
- package/dist/input-tags/index.js +2 -2
- package/dist/input-tags/style.css +4 -3
- package/dist/knob/style.css +4 -3
- package/dist/label/style.css +4 -3
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +4 -3
- package/dist/list/index.js +4 -4
- package/dist/list/style.css +7 -33
- package/dist/listbox/index.js +2 -2
- package/dist/listbox/style.css +4 -3
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +4 -3
- package/dist/locale/de-DE.d.ts.map +1 -1
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/es-ES.d.ts.map +1 -1
- package/dist/locale/fr-FR.d.ts.map +1 -1
- package/dist/locale/ja-JP.d.ts.map +1 -1
- package/dist/locale/ko-KR.d.ts.map +1 -1
- package/dist/locale/pt-BR.d.ts.map +1 -1
- package/dist/locale/ru-RU.d.ts.map +1 -1
- package/dist/locale/types.d.ts +18 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/locale/zh-TW.d.ts.map +1 -1
- package/dist/{locale-CZddM-tH.js → locale-BcxMPufl.js} +1 -1
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +4 -3
- package/dist/mentions/index.js +3 -3
- package/dist/mentions/style.css +4 -3
- package/dist/menu/index.js +4 -4
- package/dist/menu/style.css +4 -3
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +4 -3
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +4 -3
- package/dist/meter-group/style.css +4 -3
- package/dist/order-list/index.js +191 -101
- package/dist/order-list/style.css +84 -10
- package/dist/page/index.js +3 -3
- package/dist/page/style.css +4 -3
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +7 -33
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +4 -3
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +4 -3
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +4 -3
- package/dist/progress-bar/style.css +4 -3
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +4 -3
- package/dist/qr-code/index.js +3 -3
- package/dist/qr-code/style.css +4 -3
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +4 -3
- package/dist/rating/index.js +2 -2
- package/dist/rating/style.css +4 -3
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +4 -3
- package/dist/scroll-top/index.js +2 -2
- package/dist/scroll-top/style.css +4 -3
- package/dist/scrollbar/style.css +4 -3
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style.css +4 -3
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +4 -3
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +4 -3
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +4 -3
- package/dist/skeleton/style.css +4 -3
- package/dist/slider/index.js +2 -2
- package/dist/slider/style.css +4 -3
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +4 -3
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +4 -3
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +4 -3
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +4 -3
- package/dist/statistic/style.css +4 -3
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +4 -3
- package/dist/stepper/style.css +4 -3
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +4 -3
- package/dist/table/index.js +975 -714
- package/dist/table/style.css +102 -33
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +4 -3
- package/dist/tag/index.js +2 -2
- package/dist/tag/style.css +4 -3
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +4 -3
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/style.css +4 -3
- package/dist/theme/styles.css +4 -3
- package/dist/tiered-menu/index.js +3 -3
- package/dist/tiered-menu/style.css +4 -3
- package/dist/time-picker/index.js +5 -1
- package/dist/time-picker/style.css +246 -45
- package/dist/timeline/style.css +4 -3
- package/dist/toast/index.js +3 -3
- package/dist/toast/style.css +4 -3
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +4 -3
- package/dist/toolbar/style.css +4 -3
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +4 -3
- package/dist/tour/index.js +3 -3
- package/dist/tour/style.css +4 -3
- package/dist/tree/index.js +2 -2
- package/dist/tree/style.css +4 -3
- package/dist/tree-select/index.js +4 -4
- package/dist/tree-select/style.css +4 -3
- package/dist/typography/index.js +2 -2
- package/dist/typography/style.css +4 -3
- package/dist/{useMotionTransition-DqL_SEML.js → useMotionTransition-DohkfWRB.js} +1 -1
- package/dist/virtual-scroller/style.css +4 -3
- package/dist/watermark/style.css +4 -3
- package/package.json +2 -1
- package/dist/DatePicker-CsMGzCqY.js +0 -630
- 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:
|
|
23
|
-
--m-control-padding-x-small:
|
|
24
|
-
--m-control-padding-x-medium:
|
|
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;
|
|
@@ -1254,12 +1255,154 @@
|
|
|
1254
1255
|
animation: none;
|
|
1255
1256
|
}
|
|
1256
1257
|
|
|
1257
|
-
|
|
1258
|
+
.m-scrollbar {
|
|
1259
|
+
--m-scrollbar-track-size: 6px;
|
|
1260
|
+
--m-scrollbar-inset: 0.125rem;
|
|
1261
|
+
--m-scrollbar-bg: color-mix(
|
|
1262
|
+
in srgb,
|
|
1263
|
+
var(--m-color-text) 28%,
|
|
1264
|
+
transparent
|
|
1265
|
+
);
|
|
1266
|
+
--m-scrollbar-hover-bg: color-mix(
|
|
1267
|
+
in srgb,
|
|
1268
|
+
var(--m-color-text) 45%,
|
|
1269
|
+
transparent
|
|
1270
|
+
);
|
|
1271
|
+
--m-scrollbar-opacity: 0.5;
|
|
1272
|
+
--m-scrollbar-hover-opacity: 0.8;
|
|
1273
|
+
min-height: 0;
|
|
1274
|
+
overflow: hidden;
|
|
1275
|
+
position: relative;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
.m-scrollbar--fill {
|
|
1279
|
+
height: 100%;
|
|
1280
|
+
min-height: 0;
|
|
1281
|
+
min-width: 0;
|
|
1282
|
+
width: 100%;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
.m-scrollbar__wrap {
|
|
1286
|
+
overflow: auto;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.m-scrollbar--fill .m-scrollbar__wrap {
|
|
1290
|
+
height: 100%;
|
|
1291
|
+
min-height: 0;
|
|
1292
|
+
min-width: 0;
|
|
1293
|
+
width: 100%;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
.m-scrollbar--fit-content.m-scrollbar--fill {
|
|
1297
|
+
height: auto;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.m-scrollbar--fit-content.m-scrollbar--fill .m-scrollbar__wrap {
|
|
1301
|
+
height: auto;
|
|
1302
|
+
max-height: inherit;
|
|
1303
|
+
max-width: inherit;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.m-scrollbar__wrap--hidden-default {
|
|
1307
|
+
scrollbar-width: none;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.m-scrollbar__wrap--hidden-default::-webkit-scrollbar {
|
|
1311
|
+
display: none;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
.m-scrollbar__view {
|
|
1315
|
+
box-sizing: border-box;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
.m-scrollbar__bar {
|
|
1319
|
+
border-radius: var(--m-radius-sm);
|
|
1320
|
+
bottom: var(--m-scrollbar-inset);
|
|
1321
|
+
position: absolute;
|
|
1322
|
+
right: var(--m-scrollbar-inset);
|
|
1323
|
+
z-index: 1;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
.m-scrollbar__bar--vertical {
|
|
1327
|
+
top: var(--m-scrollbar-inset);
|
|
1328
|
+
width: var(--m-scrollbar-track-size);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.m-scrollbar__bar--vertical > .m-scrollbar__thumb {
|
|
1332
|
+
width: 100%;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.m-scrollbar__bar--horizontal {
|
|
1336
|
+
height: var(--m-scrollbar-track-size);
|
|
1337
|
+
left: var(--m-scrollbar-inset);
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.m-scrollbar__bar--horizontal > .m-scrollbar__thumb {
|
|
1341
|
+
height: 100%;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
.m-scrollbar__bar:focus-visible {
|
|
1345
|
+
box-shadow: var(--m-focus-shadow);
|
|
1346
|
+
outline: none;
|
|
1347
|
+
outline-offset: 1px;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
.m-scrollbar__thumb {
|
|
1351
|
+
background-color: var(--m-scrollbar-bg);
|
|
1352
|
+
border-radius: inherit;
|
|
1353
|
+
cursor: pointer;
|
|
1354
|
+
display: block;
|
|
1355
|
+
height: 0;
|
|
1356
|
+
opacity: var(--m-scrollbar-opacity);
|
|
1357
|
+
position: relative;
|
|
1358
|
+
transition:
|
|
1359
|
+
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1360
|
+
opacity var(--m-motion-fast) var(--m-motion-ease);
|
|
1361
|
+
width: 0;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
.m-scrollbar__thumb:hover {
|
|
1365
|
+
background-color: var(--m-scrollbar-hover-bg);
|
|
1366
|
+
opacity: var(--m-scrollbar-hover-opacity);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.m-scrollbar-fade-enter-active {
|
|
1370
|
+
transition: opacity var(--m-motion-scrollbar-show) var(--m-motion-ease);
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
.m-scrollbar-fade-leave-active {
|
|
1374
|
+
transition: opacity var(--m-motion-scrollbar-hide) var(--m-motion-ease);
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
.m-scrollbar-fade-enter-from,
|
|
1378
|
+
.m-scrollbar-fade-leave-to {
|
|
1379
|
+
opacity: 0;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
:root[data-m-motion='none'] .m-scrollbar__thumb,
|
|
1383
|
+
:root[data-m-motion='none'] .m-scrollbar-fade-enter-active,
|
|
1384
|
+
:root[data-m-motion='none'] .m-scrollbar-fade-leave-active,
|
|
1385
|
+
:root[data-m-motion='reduced'] .m-scrollbar-fade-enter-active,
|
|
1386
|
+
:root[data-m-motion='reduced'] .m-scrollbar-fade-leave-active {
|
|
1387
|
+
transition: none;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/* --- Form: DatePicker ---
|
|
1391
|
+
* Size-aware tokens follow Ant Design DatePicker sizing:
|
|
1392
|
+
* - small : 24px input, 24px calendar cells, 14px font
|
|
1393
|
+
* - medium : 32px input, 24px calendar cells, 14px font (default)
|
|
1394
|
+
* - large : 40px input, 28px calendar cells, 16px font
|
|
1395
|
+
* Override `--m-datepicker-*` tokens to customize per-size appearance.
|
|
1396
|
+
*/
|
|
1258
1397
|
.m-datepicker,
|
|
1259
1398
|
.m-datepicker__panel {
|
|
1260
|
-
--m-datepicker-calendar-cell-size:
|
|
1399
|
+
--m-datepicker-calendar-cell-size: 1.5rem;
|
|
1261
1400
|
--m-datepicker-day-size: var(--m-datepicker-calendar-cell-size);
|
|
1262
1401
|
--m-datepicker-grid-gap: 0.125rem;
|
|
1402
|
+
--m-datepicker-control-height: var(--m-control-height-medium);
|
|
1403
|
+
--m-datepicker-font-size: var(--m-control-font-medium);
|
|
1404
|
+
--m-datepicker-padding-x: var(--m-control-padding-x-medium);
|
|
1405
|
+
--m-datepicker-affix-size: var(--m-control-affix-size);
|
|
1263
1406
|
--m-datepicker-panel-min-width: calc(
|
|
1264
1407
|
7 * var(--m-datepicker-calendar-cell-size) + 6 *
|
|
1265
1408
|
var(--m-datepicker-grid-gap) + 2 * var(--m-space-3)
|
|
@@ -1267,6 +1410,32 @@
|
|
|
1267
1410
|
--m-datepicker-shortcuts-width: 6rem;
|
|
1268
1411
|
}
|
|
1269
1412
|
|
|
1413
|
+
/* Size variants: scale input height, font, padding, calendar cell, affix.
|
|
1414
|
+
* Panel gets its own class (m-datepicker__panel--{size}) because it can be
|
|
1415
|
+
* teleported outside the root element. */
|
|
1416
|
+
.m-datepicker--small,
|
|
1417
|
+
.m-datepicker__panel--small {
|
|
1418
|
+
--m-datepicker-calendar-cell-size: 1.375rem;
|
|
1419
|
+
--m-datepicker-control-height: var(--m-control-height-small);
|
|
1420
|
+
--m-datepicker-font-size: var(--m-control-font-small);
|
|
1421
|
+
--m-datepicker-padding-x: var(--m-control-padding-x-small);
|
|
1422
|
+
--m-datepicker-affix-size: calc(
|
|
1423
|
+
var(--m-control-height-small) - 2 * var(--m-border-width)
|
|
1424
|
+
);
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.m-datepicker--large,
|
|
1428
|
+
.m-datepicker__panel--large {
|
|
1429
|
+
/* antd large: slightly bigger calendar cells */
|
|
1430
|
+
--m-datepicker-calendar-cell-size: 1.75rem;
|
|
1431
|
+
--m-datepicker-control-height: var(--m-control-height-large);
|
|
1432
|
+
--m-datepicker-font-size: var(--m-control-font-large);
|
|
1433
|
+
--m-datepicker-padding-x: var(--m-control-padding-x-large);
|
|
1434
|
+
--m-datepicker-affix-size: calc(
|
|
1435
|
+
var(--m-control-height-large) - 2 * var(--m-border-width)
|
|
1436
|
+
);
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1270
1439
|
.m-datepicker {
|
|
1271
1440
|
display: inline-flex;
|
|
1272
1441
|
flex-direction: column;
|
|
@@ -1308,7 +1477,7 @@
|
|
|
1308
1477
|
box-sizing: border-box;
|
|
1309
1478
|
display: flex;
|
|
1310
1479
|
max-width: 100%;
|
|
1311
|
-
min-height: var(--m-control-height
|
|
1480
|
+
min-height: var(--m-datepicker-control-height);
|
|
1312
1481
|
transition:
|
|
1313
1482
|
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1314
1483
|
box-shadow var(--m-motion-fast) var(--m-motion-ease);
|
|
@@ -1324,17 +1493,32 @@
|
|
|
1324
1493
|
box-shadow: var(--m-focus-shadow);
|
|
1325
1494
|
}
|
|
1326
1495
|
|
|
1327
|
-
.m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input)
|
|
1496
|
+
.m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input),
|
|
1497
|
+
.m-datepicker--error .m-datepicker__control:has(.m-datepicker__input) {
|
|
1328
1498
|
border-color: var(--m-color-danger);
|
|
1329
1499
|
}
|
|
1330
1500
|
|
|
1501
|
+
.m-datepicker--warning .m-datepicker__control:has(.m-datepicker__input) {
|
|
1502
|
+
border-color: var(--m-color-warning);
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1331
1505
|
.m-datepicker--invalid .m-datepicker__control:has(.m-datepicker__input):focus-within,
|
|
1332
1506
|
.m-datepicker--invalid.m-datepicker--open
|
|
1507
|
+
.m-datepicker__control:has(.m-datepicker__input),
|
|
1508
|
+
.m-datepicker--error .m-datepicker__control:has(.m-datepicker__input):focus-within,
|
|
1509
|
+
.m-datepicker--error.m-datepicker--open
|
|
1333
1510
|
.m-datepicker__control:has(.m-datepicker__input) {
|
|
1334
1511
|
border-color: var(--m-color-danger);
|
|
1335
1512
|
box-shadow: var(--m-focus-shadow-danger);
|
|
1336
1513
|
}
|
|
1337
1514
|
|
|
1515
|
+
.m-datepicker--warning .m-datepicker__control:has(.m-datepicker__input):focus-within,
|
|
1516
|
+
.m-datepicker--warning.m-datepicker--open
|
|
1517
|
+
.m-datepicker__control:has(.m-datepicker__input) {
|
|
1518
|
+
border-color: var(--m-color-warning);
|
|
1519
|
+
box-shadow: var(--m-focus-shadow-warning, 0 0 0 3px color-mix(in srgb, var(--m-color-warning) 20%, transparent));
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1338
1522
|
.m-datepicker__input {
|
|
1339
1523
|
background: transparent;
|
|
1340
1524
|
border: 0;
|
|
@@ -1344,37 +1528,15 @@
|
|
|
1344
1528
|
cursor: pointer;
|
|
1345
1529
|
flex: 1 1 auto;
|
|
1346
1530
|
font-family: var(--m-font-sans);
|
|
1347
|
-
font-size: var(--m-
|
|
1348
|
-
height: calc(var(--m-control-height
|
|
1349
|
-
line-height: calc(var(--m-control-height
|
|
1531
|
+
font-size: var(--m-datepicker-font-size);
|
|
1532
|
+
height: calc(var(--m-datepicker-control-height) - 2 * var(--m-border-width));
|
|
1533
|
+
line-height: calc(var(--m-datepicker-control-height) - 2 * var(--m-border-width));
|
|
1350
1534
|
min-height: 0;
|
|
1351
1535
|
min-width: 0;
|
|
1352
|
-
padding: 0 var(--m-
|
|
1536
|
+
padding: 0 var(--m-datepicker-padding-x);
|
|
1353
1537
|
width: 100%;
|
|
1354
1538
|
}
|
|
1355
1539
|
|
|
1356
|
-
.m-datepicker--small .m-datepicker__control:has(.m-datepicker__input) {
|
|
1357
|
-
min-height: var(--m-control-height-small);
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
.m-datepicker--small .m-datepicker__input {
|
|
1361
|
-
font-size: var(--m-control-font-small);
|
|
1362
|
-
height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
|
|
1363
|
-
line-height: calc(var(--m-control-height-small) - 2 * var(--m-border-width));
|
|
1364
|
-
padding: 0 var(--m-control-padding-x-small);
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
.m-datepicker--large .m-datepicker__control:has(.m-datepicker__input) {
|
|
1368
|
-
min-height: var(--m-control-height-large);
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
.m-datepicker--large .m-datepicker__input {
|
|
1372
|
-
font-size: var(--m-control-font-large);
|
|
1373
|
-
height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
|
|
1374
|
-
line-height: calc(var(--m-control-height-large) - 2 * var(--m-border-width));
|
|
1375
|
-
padding: 0 var(--m-control-padding-x-large);
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
1540
|
.m-datepicker__input:focus,
|
|
1379
1541
|
.m-datepicker__input:focus-visible {
|
|
1380
1542
|
box-shadow: none;
|
|
@@ -1400,10 +1562,10 @@
|
|
|
1400
1562
|
display: inline-flex;
|
|
1401
1563
|
flex: 0 0 auto;
|
|
1402
1564
|
font: inherit;
|
|
1403
|
-
height: var(--m-
|
|
1565
|
+
height: var(--m-datepicker-affix-size);
|
|
1404
1566
|
justify-content: center;
|
|
1405
1567
|
padding: 0;
|
|
1406
|
-
width: var(--m-
|
|
1568
|
+
width: var(--m-datepicker-affix-size);
|
|
1407
1569
|
}
|
|
1408
1570
|
|
|
1409
1571
|
.m-datepicker__clear:hover:not(:disabled) {
|
|
@@ -1420,6 +1582,7 @@
|
|
|
1420
1582
|
border: var(--m-border-width) solid var(--m-color-border);
|
|
1421
1583
|
border-radius: var(--m-radius-md);
|
|
1422
1584
|
box-shadow: var(--m-shadow-md);
|
|
1585
|
+
font-size: var(--m-datepicker-font-size);
|
|
1423
1586
|
margin-top: var(--m-space-1);
|
|
1424
1587
|
min-width: max(100%, var(--m-datepicker-panel-min-width));
|
|
1425
1588
|
padding: var(--m-space-3);
|
|
@@ -1449,9 +1612,39 @@
|
|
|
1449
1612
|
}
|
|
1450
1613
|
|
|
1451
1614
|
.m-datepicker__month {
|
|
1615
|
+
font-size: var(--m-datepicker-font-size);
|
|
1452
1616
|
font-weight: 500;
|
|
1453
1617
|
}
|
|
1454
1618
|
|
|
1619
|
+
/* Header label as a clickable switch between days / months / years sub-panels. */
|
|
1620
|
+
button.m-datepicker__month--switch {
|
|
1621
|
+
background: transparent;
|
|
1622
|
+
border: 0;
|
|
1623
|
+
border-radius: var(--m-radius-sm);
|
|
1624
|
+
color: var(--m-color-text);
|
|
1625
|
+
cursor: pointer;
|
|
1626
|
+
font-family: var(--m-font-sans);
|
|
1627
|
+
font-size: inherit;
|
|
1628
|
+
padding: var(--m-space-1) var(--m-space-2);
|
|
1629
|
+
transition:
|
|
1630
|
+
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1631
|
+
color var(--m-motion-fast) var(--m-motion-ease);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
button.m-datepicker__month--switch:hover {
|
|
1635
|
+
background: color-mix(
|
|
1636
|
+
in srgb,
|
|
1637
|
+
var(--m-color-primary) 10%,
|
|
1638
|
+
var(--m-color-surface)
|
|
1639
|
+
);
|
|
1640
|
+
color: var(--m-color-primary);
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
button.m-datepicker__month--switch:focus-visible {
|
|
1644
|
+
box-shadow: var(--m-focus-shadow);
|
|
1645
|
+
outline: none;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1455
1648
|
.m-datepicker__nav {
|
|
1456
1649
|
align-items: center;
|
|
1457
1650
|
background: transparent;
|
|
@@ -1483,31 +1676,46 @@
|
|
|
1483
1676
|
.m-datepicker__grid {
|
|
1484
1677
|
display: grid;
|
|
1485
1678
|
gap: var(--m-datepicker-grid-gap);
|
|
1679
|
+
/* Cells fill the available panel width (e.g. fluid trigger) while keeping
|
|
1680
|
+
a minimum of the size-aware cell size. */
|
|
1486
1681
|
grid-template-columns: repeat(
|
|
1487
1682
|
7,
|
|
1488
|
-
var(--m-datepicker-calendar-cell-size,
|
|
1683
|
+
minmax(var(--m-datepicker-calendar-cell-size), 1fr)
|
|
1489
1684
|
);
|
|
1490
1685
|
place-items: center;
|
|
1491
1686
|
}
|
|
1492
1687
|
|
|
1493
1688
|
.m-datepicker__weekdays {
|
|
1494
1689
|
color: var(--m-color-text-muted);
|
|
1495
|
-
font-size: var(--m-font-size-
|
|
1690
|
+
font-size: calc(var(--m-datepicker-font-size) - 2px);
|
|
1496
1691
|
margin-bottom: var(--m-space-1);
|
|
1497
1692
|
text-align: center;
|
|
1498
1693
|
}
|
|
1499
1694
|
|
|
1695
|
+
.m-datepicker__weekdays > span {
|
|
1696
|
+
/* Match the stretched day cells so headers align with columns. */
|
|
1697
|
+
width: 100%;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1500
1700
|
.m-datepicker__day {
|
|
1701
|
+
align-items: center;
|
|
1501
1702
|
background: transparent;
|
|
1502
1703
|
border: 0;
|
|
1503
1704
|
border-radius: var(--m-radius-sm);
|
|
1504
1705
|
color: var(--m-color-text);
|
|
1505
1706
|
cursor: pointer;
|
|
1707
|
+
display: inline-flex;
|
|
1506
1708
|
font-family: var(--m-font-sans);
|
|
1709
|
+
font-size: var(--m-datepicker-font-size);
|
|
1507
1710
|
height: var(--m-datepicker-day-size);
|
|
1711
|
+
justify-content: center;
|
|
1712
|
+
/* Reset UA button padding so the label centers in the cell. */
|
|
1713
|
+
padding: 0;
|
|
1508
1714
|
transition: background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1509
1715
|
color var(--m-motion-fast) var(--m-motion-ease);
|
|
1510
|
-
width
|
|
1716
|
+
/* Stretch to the grid column so fluid panels fill the trigger width;
|
|
1717
|
+
height stays size-aware so cells read as rows, not oversized squares. */
|
|
1718
|
+
width: 100%;
|
|
1511
1719
|
}
|
|
1512
1720
|
|
|
1513
1721
|
.m-datepicker__day--other {
|
|
@@ -1520,6 +1728,13 @@
|
|
|
1520
1728
|
color: var(--m-color-on-emphasis);
|
|
1521
1729
|
}
|
|
1522
1730
|
|
|
1731
|
+
/* Today's ring: 1px inner border in primary, suppressed once selected. */
|
|
1732
|
+
.m-datepicker__day--today:not(.m-datepicker__day--selected) {
|
|
1733
|
+
box-shadow: inset 0 0 0 1px var(--m-color-primary);
|
|
1734
|
+
color: var(--m-color-primary);
|
|
1735
|
+
font-weight: 500;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1523
1738
|
.m-datepicker__day:hover:not(:disabled):not(.m-datepicker__day--selected) {
|
|
1524
1739
|
background: color-mix(
|
|
1525
1740
|
in srgb,
|
|
@@ -1550,6 +1765,59 @@
|
|
|
1550
1765
|
min-width: var(--m-datepicker-shortcuts-width);
|
|
1551
1766
|
}
|
|
1552
1767
|
|
|
1768
|
+
/* Extra footer (slot): typical "Now / Today / Clear" actions. */
|
|
1769
|
+
.m-datepicker__footer {
|
|
1770
|
+
align-items: center;
|
|
1771
|
+
border-top: var(--m-border-width) solid var(--m-color-border);
|
|
1772
|
+
display: flex;
|
|
1773
|
+
gap: var(--m-space-2);
|
|
1774
|
+
justify-content: flex-end;
|
|
1775
|
+
padding: var(--m-space-2) var(--m-space-3);
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.m-datepicker__footer-btn {
|
|
1779
|
+
background: transparent;
|
|
1780
|
+
border: var(--m-border-width) solid var(--m-color-border);
|
|
1781
|
+
border-radius: var(--m-radius-control);
|
|
1782
|
+
color: var(--m-color-text);
|
|
1783
|
+
cursor: pointer;
|
|
1784
|
+
font-family: var(--m-font-sans);
|
|
1785
|
+
font-size: var(--m-datepicker-font-size);
|
|
1786
|
+
height: var(--m-control-height-sm, 1.75rem);
|
|
1787
|
+
padding: 0 var(--m-space-3);
|
|
1788
|
+
transition:
|
|
1789
|
+
background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1790
|
+
border-color var(--m-motion-fast) var(--m-motion-ease),
|
|
1791
|
+
color var(--m-motion-fast) var(--m-motion-ease);
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
.m-datepicker__footer-btn:hover:not(:disabled) {
|
|
1795
|
+
border-color: var(--m-color-primary-hover);
|
|
1796
|
+
color: var(--m-color-primary);
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
.m-datepicker__footer-btn:focus-visible {
|
|
1800
|
+
box-shadow: var(--m-focus-shadow);
|
|
1801
|
+
outline: none;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.m-datepicker__footer-btn:disabled {
|
|
1805
|
+
cursor: not-allowed;
|
|
1806
|
+
opacity: 0.6;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
.m-datepicker__footer-btn--primary {
|
|
1810
|
+
background: var(--m-color-primary);
|
|
1811
|
+
border-color: var(--m-color-primary);
|
|
1812
|
+
color: var(--m-color-on-emphasis);
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
.m-datepicker__footer-btn--primary:hover:not(:disabled) {
|
|
1816
|
+
background: var(--m-color-primary-hover);
|
|
1817
|
+
border-color: var(--m-color-primary-hover);
|
|
1818
|
+
color: var(--m-color-on-emphasis);
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1553
1821
|
.m-datepicker__shortcut {
|
|
1554
1822
|
background: transparent;
|
|
1555
1823
|
border: 0;
|
|
@@ -1557,6 +1825,7 @@
|
|
|
1557
1825
|
color: var(--m-color-text);
|
|
1558
1826
|
cursor: pointer;
|
|
1559
1827
|
font-family: var(--m-font-sans);
|
|
1828
|
+
font-size: var(--m-datepicker-font-size);
|
|
1560
1829
|
padding: var(--m-space-1) var(--m-space-2);
|
|
1561
1830
|
text-align: left;
|
|
1562
1831
|
transition: background-color var(--m-motion-fast) var(--m-motion-ease),
|
|
@@ -1577,6 +1846,16 @@
|
|
|
1577
1846
|
outline: none;
|
|
1578
1847
|
}
|
|
1579
1848
|
|
|
1849
|
+
.m-datepicker__shortcut--active {
|
|
1850
|
+
background: color-mix(
|
|
1851
|
+
in srgb,
|
|
1852
|
+
var(--m-color-primary) 12%,
|
|
1853
|
+
var(--m-color-surface)
|
|
1854
|
+
);
|
|
1855
|
+
color: var(--m-color-primary);
|
|
1856
|
+
font-weight: 500;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1580
1859
|
.m-datepicker__day--in-range {
|
|
1581
1860
|
background: color-mix(
|
|
1582
1861
|
in srgb,
|
|
@@ -1614,12 +1893,16 @@
|
|
|
1614
1893
|
}
|
|
1615
1894
|
|
|
1616
1895
|
.m-datepicker__cell {
|
|
1896
|
+
align-items: center;
|
|
1617
1897
|
background: transparent;
|
|
1618
1898
|
border: 0;
|
|
1619
1899
|
border-radius: var(--m-radius-sm);
|
|
1620
1900
|
color: var(--m-color-text);
|
|
1621
1901
|
cursor: pointer;
|
|
1902
|
+
display: inline-flex;
|
|
1622
1903
|
font-family: var(--m-font-sans);
|
|
1904
|
+
font-size: var(--m-datepicker-font-size);
|
|
1905
|
+
justify-content: center;
|
|
1623
1906
|
min-height: var(--m-datepicker-day-size);
|
|
1624
1907
|
padding: var(--m-space-2) var(--m-space-1);
|
|
1625
1908
|
transition:
|
|
@@ -1632,6 +1915,11 @@
|
|
|
1632
1915
|
color: var(--m-color-on-emphasis);
|
|
1633
1916
|
}
|
|
1634
1917
|
|
|
1918
|
+
.m-datepicker__cell--other {
|
|
1919
|
+
color: var(--m-color-text-muted);
|
|
1920
|
+
opacity: 0.6;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1635
1923
|
.m-datepicker__cell:hover:not(.m-datepicker__cell--selected) {
|
|
1636
1924
|
background: color-mix(
|
|
1637
1925
|
in srgb,
|
|
@@ -1648,34 +1936,64 @@
|
|
|
1648
1936
|
.m-datepicker__time {
|
|
1649
1937
|
display: flex;
|
|
1650
1938
|
gap: var(--m-space-1);
|
|
1651
|
-
|
|
1939
|
+
/* Fixed height so nested MScrollbar can resolve height: 100%. Time lists are
|
|
1940
|
+
always longer than this, so the container is effectively always full. */
|
|
1941
|
+
height: calc(
|
|
1652
1942
|
6 * var(--m-datepicker-day-size) + 5 * var(--m-datepicker-grid-gap) +
|
|
1653
1943
|
2.5rem
|
|
1654
1944
|
);
|
|
1655
1945
|
min-width: 0;
|
|
1656
1946
|
}
|
|
1657
1947
|
|
|
1948
|
+
/* Each time column: header label on top + scrollable list below. */
|
|
1658
1949
|
.m-datepicker__time-col {
|
|
1659
1950
|
display: flex;
|
|
1660
1951
|
flex-direction: column;
|
|
1661
|
-
|
|
1662
|
-
max-height: 100%;
|
|
1952
|
+
height: 100%;
|
|
1663
1953
|
min-width: 2.5rem;
|
|
1664
|
-
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
.m-datepicker__time-header {
|
|
1957
|
+
color: var(--m-color-text);
|
|
1958
|
+
flex: 0 0 auto;
|
|
1959
|
+
font-size: var(--m-datepicker-font-size);
|
|
1960
|
+
line-height: 1;
|
|
1961
|
+
padding: var(--m-space-1) 0 var(--m-space-2);
|
|
1962
|
+
text-align: center;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/* Scrollable list region below the header. */
|
|
1966
|
+
.m-datepicker__time-scroll {
|
|
1967
|
+
flex: 1 1 auto;
|
|
1968
|
+
min-height: 0;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
.m-datepicker__time-scroll .m-datepicker__time-col-wrap {
|
|
1972
|
+
height: 100%;
|
|
1665
1973
|
overscroll-behavior: contain;
|
|
1666
1974
|
}
|
|
1667
1975
|
|
|
1976
|
+
.m-datepicker__time-scroll .m-datepicker__time-col-view {
|
|
1977
|
+
display: flex;
|
|
1978
|
+
flex-direction: column;
|
|
1979
|
+
gap: 0.125rem;
|
|
1980
|
+
min-width: 100%;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1668
1983
|
.m-datepicker__time-item {
|
|
1984
|
+
align-items: center;
|
|
1669
1985
|
background: transparent;
|
|
1670
1986
|
border: 0;
|
|
1671
1987
|
border-radius: var(--m-radius-sm);
|
|
1672
1988
|
color: var(--m-color-text);
|
|
1673
1989
|
cursor: pointer;
|
|
1990
|
+
display: inline-flex;
|
|
1674
1991
|
flex: 0 0 auto;
|
|
1675
1992
|
font-family: var(--m-font-sans);
|
|
1993
|
+
font-size: var(--m-datepicker-font-size);
|
|
1676
1994
|
font-variant-numeric: tabular-nums;
|
|
1677
1995
|
height: var(--m-datepicker-day-size);
|
|
1678
|
-
|
|
1996
|
+
justify-content: center;
|
|
1679
1997
|
padding: 0;
|
|
1680
1998
|
text-align: center;
|
|
1681
1999
|
width: 100%;
|
|
@@ -1699,11 +2017,26 @@
|
|
|
1699
2017
|
outline: none;
|
|
1700
2018
|
}
|
|
1701
2019
|
|
|
1702
|
-
/* Time-only panel: stack columns without calendar
|
|
2020
|
+
/* Time-only panel: stack columns without calendar; use a compact width
|
|
2021
|
+
derived from time columns instead of the wider 7-day calendar grid. */
|
|
2022
|
+
.m-datepicker__panel--time-only {
|
|
2023
|
+
--m-datepicker-panel-min-width: calc(
|
|
2024
|
+
3 * 4rem + 2 * var(--m-space-1) + 2 * var(--m-space-3)
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
|
|
1703
2028
|
.m-datepicker__panel--time-only .m-datepicker__body {
|
|
1704
2029
|
flex-direction: row;
|
|
2030
|
+
width: 100%;
|
|
1705
2031
|
}
|
|
1706
2032
|
|
|
1707
2033
|
.m-datepicker__panel--time-only .m-datepicker__time {
|
|
1708
|
-
|
|
2034
|
+
flex: 1 1 auto;
|
|
2035
|
+
height: 14rem;
|
|
2036
|
+
width: 100%;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
.m-datepicker__panel--time-only .m-datepicker__time-col {
|
|
2040
|
+
flex: 1 1 0;
|
|
2041
|
+
min-width: 0;
|
|
1709
2042
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { o as t } from "../config-
|
|
2
|
+
import { o as t } from "../config-Cd20zAyW.js";
|
|
3
3
|
import "./style.js";
|
|
4
4
|
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, inject as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, openBlock as f, provide as p, renderSlot as m, toDisplayString as h, toRef as g, unref as _, useAttrs as v, useSlots as y } from "vue";
|
|
5
5
|
//#region src/components/Descriptions/types.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:
|
|
23
|
-
--m-control-padding-x-small:
|
|
24
|
-
--m-control-padding-x-medium:
|
|
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;
|
package/dist/dialog/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { t as n } from "../useMotionTransition-DohkfWRB.js";
|
|
4
4
|
import { t as r } from "../Icon-CmHjx7W8.js";
|
|
5
|
-
import { t as i } from "../Button-
|
|
5
|
+
import { t as i } from "../Button-fKkfCnYv.js";
|
|
6
6
|
import { t as a } from "../useModalOverlay-Beo3CEAt.js";
|
|
7
7
|
import { t as o } from "../asyncGuard-CPGT_TKu.js";
|
|
8
8
|
import { t as s } from "../lastPointer-CRxcUqdd.js";
|
|
9
9
|
import { t as c } from "../overlayHost-78CGtMgR.js";
|
|
10
|
-
import { l } from "../config-
|
|
11
|
-
import { n as u } from "../locale-
|
|
10
|
+
import { l } from "../config-Cd20zAyW.js";
|
|
11
|
+
import { n as u } from "../locale-BcxMPufl.js";
|
|
12
12
|
import "./style.js";
|
|
13
13
|
import { Teleport as d, Transition as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, mergeProps as x, nextTick as S, normalizeClass as C, normalizeStyle as ee, onBeforeUnmount as w, openBlock as T, reactive as E, ref as D, render as O, renderSlot as k, toDisplayString as te, toRef as A, unref as j, useAttrs as M, useSlots as N, watch as P, withCtx as F, withModifiers as ne } from "vue";
|
|
14
14
|
//#region src/components/Dialog/Dialog.vue?vue&type=script&setup=true&lang.ts
|
package/dist/dialog/style.css
CHANGED
|
@@ -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:
|
|
23
|
-
--m-control-padding-x-small:
|
|
24
|
-
--m-control-padding-x-medium:
|
|
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;
|