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
package/dist/calendar/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;
|
|
@@ -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:
|
|
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
|
|
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-
|
|
1299
|
-
height: calc(var(--m-control-height
|
|
1300
|
-
line-height: calc(var(--m-control-height
|
|
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-
|
|
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-
|
|
1384
|
+
height: var(--m-datepicker-affix-size);
|
|
1355
1385
|
justify-content: center;
|
|
1356
1386
|
padding: 0;
|
|
1357
|
-
width: var(--m-
|
|
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,
|
|
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-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
1613
|
-
max-height: 100%;
|
|
1771
|
+
height: 100%;
|
|
1614
1772
|
min-width: 2.5rem;
|
|
1615
|
-
|
|
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
|
-
|
|
1815
|
+
justify-content: center;
|
|
1630
1816
|
padding: 0;
|
|
1631
1817
|
text-align: center;
|
|
1632
1818
|
width: 100%;
|
|
@@ -1650,13 +1836,28 @@
|
|
|
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
|
-
|
|
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
|
}
|
|
1661
1862
|
|
|
1662
1863
|
/* —— Form: Segmented —— */
|
package/dist/card/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;
|
package/dist/carousel/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Button-
|
|
2
|
+
import { t } from "../Button-fKkfCnYv.js";
|
|
3
3
|
import { t as n } from "../vnode-PJWBO7_h.js";
|
|
4
|
-
import { n as r } from "../locale-
|
|
4
|
+
import { n as r } from "../locale-BcxMPufl.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as ee, createElementBlock as s, createElementVNode as te, createVNode as c, defineComponent as l, guardReactiveProps as ne, mergeProps as re, nextTick as u, normalizeClass as d, normalizeProps as f, normalizeStyle as ie, onBeforeUnmount as ae, onMounted as oe, openBlock as p, provide as se, ref as m, renderList as h, renderSlot as g, resolveDynamicComponent as ce, unref as _, useAttrs as le, useSlots as ue, watch as v } from "vue";
|
|
7
7
|
//#region src/components/Carousel/context.ts
|
package/dist/carousel/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;
|
|
@@ -3,12 +3,12 @@ import { n as t, t as n } from "../overlay-oR-5MDuE.js";
|
|
|
3
3
|
import { t as r } from "../overlayPlacement-qwEJPVS4.js";
|
|
4
4
|
import { t as ee } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
5
5
|
import { t as te } from "../useMId-BXFYayPP.js";
|
|
6
|
-
import { t as ne } from "../useMotionTransition-
|
|
6
|
+
import { t as ne } from "../useMotionTransition-DohkfWRB.js";
|
|
7
7
|
import { t as i } from "../Icon-CmHjx7W8.js";
|
|
8
8
|
import { t as re } from "../Scrollbar-DTeJ8P5b.js";
|
|
9
9
|
import { t as ie } from "../useMenuKeyboard-BedmYE4W.js";
|
|
10
|
-
import { i as ae, l as oe, o as se } from "../config-
|
|
11
|
-
import { n as ce } from "../locale-
|
|
10
|
+
import { i as ae, l as oe, o as se } from "../config-Cd20zAyW.js";
|
|
11
|
+
import { n as ce } from "../locale-BcxMPufl.js";
|
|
12
12
|
import "./style.js";
|
|
13
13
|
import { Fragment as a, Teleport as le, Transition as ue, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeStyle as de, onBeforeUnmount as fe, openBlock as g, ref as _, renderList as v, renderSlot as y, toDisplayString as b, unref as x, useAttrs as pe, useSlots as me, watch as S, withCtx as C } from "vue";
|
|
14
14
|
//#region src/components/CascadeSelect/CascadeSelect.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:
|
|
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/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { n as t, t as n } from "../Checkbox-
|
|
2
|
+
import { n as t, t as n } from "../Checkbox-BXC2mLNd.js";
|
|
3
3
|
import "./style.js";
|
|
4
4
|
import { computed as r, createElementBlock as i, defineComponent as a, mergeProps as o, openBlock as s, provide as c, renderSlot as l, unref as u, useAttrs as d } from "vue";
|
|
5
5
|
//#region src/components/Checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
|
package/dist/checkbox/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;
|
package/dist/chip/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { r as t, t as n } from "../types-DBQfGctj.js";
|
|
3
3
|
import { t as r } from "../Icon-CmHjx7W8.js";
|
|
4
|
-
import { n as i } from "../locale-
|
|
4
|
+
import { n as i } from "../locale-BcxMPufl.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g } from "vue";
|
|
7
7
|
//#region src/components/Chip/Chip.vue?vue&type=script&setup=true&lang.ts
|
package/dist/chip/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;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../filterByQuery-Bczaxzih.js";
|
|
3
3
|
import { n as ee } from "../overlay-oR-5MDuE.js";
|
|
4
|
-
import { t as n } from "../useMotionTransition-
|
|
4
|
+
import { t as n } from "../useMotionTransition-DohkfWRB.js";
|
|
5
5
|
import { t as te } from "../Icon-CmHjx7W8.js";
|
|
6
6
|
import { t as ne } from "../Scrollbar-DTeJ8P5b.js";
|
|
7
7
|
import { t as r } from "../icon-H8prbteT.js";
|
|
8
8
|
import { t as i } from "../useModalOverlay-Beo3CEAt.js";
|
|
9
|
-
import { l as a } from "../config-
|
|
10
|
-
import { n as re } from "../locale-
|
|
9
|
+
import { l as a } from "../config-Cd20zAyW.js";
|
|
10
|
+
import { n as re } from "../locale-BcxMPufl.js";
|
|
11
11
|
import "./style.js";
|
|
12
12
|
import { Fragment as o, Teleport as s, Transition as c, computed as l, createBlock as ie, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as h, nextTick as g, normalizeClass as _, openBlock as v, ref as y, renderList as ae, toDisplayString as b, toRef as oe, unref as x, useAttrs as S, vModelText as C, watch as w, withCtx as T, withDirectives as E, withModifiers as D } from "vue";
|
|
13
13
|
//#region src/components/CommandMenu/CommandMenu.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:
|
|
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;
|