@varlet/ui 3.8.6-alpha.1738773989240 → 3.8.7
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/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/select/select.css +1 -1
- package/es/style.css +1 -1
- package/es/themes/dark/select.mjs +3 -1
- package/es/themes/md3-dark/select.mjs +3 -1
- package/es/themes/md3-light/select.mjs +3 -1
- package/es/varlet.esm.js +10 -4
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +10 -4
- package/package.json +7 -7
- package/types/radioGroup.d.ts +1 -1
- package/types/space.d.ts +1 -1
- package/types/styleVars.d.ts +2 -0
- package/umd/varlet.js +4 -4
package/lib/varlet.cjs.js
CHANGED
|
@@ -27526,7 +27526,9 @@ var stdin_default$2r = {
|
|
|
27526
27526
|
"--select-scroller-padding": "6px 0",
|
|
27527
27527
|
"--select-scroller-max-height": "278px",
|
|
27528
27528
|
"--select-scroller-border-radius": "2px",
|
|
27529
|
-
"--select-
|
|
27529
|
+
"--select-chips-margin": "-5px 0 0 0",
|
|
27530
|
+
"--select-chips-padding": "2px 0",
|
|
27531
|
+
"--select-chip-margin": "5px 5px 0 0",
|
|
27530
27532
|
"--select-arrow-size": "20px",
|
|
27531
27533
|
"--select-standard-menu-margin": `calc(var(--field-decorator-placeholder-size) * 0.75 + 12px) 0 0 0`,
|
|
27532
27534
|
"--select-label-font-size": "16px"
|
|
@@ -28561,7 +28563,9 @@ var stdin_default$1p = {
|
|
|
28561
28563
|
"--select-scroller-border-radius": "4px",
|
|
28562
28564
|
"--select-scroller-padding": "6px 0",
|
|
28563
28565
|
"--select-scroller-max-height": "278px",
|
|
28564
|
-
"--select-
|
|
28566
|
+
"--select-chips-margin": "-5px 0 0 0",
|
|
28567
|
+
"--select-chips-padding": "2px 0",
|
|
28568
|
+
"--select-chip-margin": "5px 5px 0 0",
|
|
28565
28569
|
"--select-arrow-size": "20px",
|
|
28566
28570
|
"--select-standard-menu-margin": `calc(var(--field-decorator-placeholder-size) * 0.75 + 12px) 0 0 0`,
|
|
28567
28571
|
"--select-label-font-size": "16px"
|
|
@@ -29581,7 +29585,9 @@ var stdin_default$n = {
|
|
|
29581
29585
|
"--select-scroller-border-radius": "4px",
|
|
29582
29586
|
"--select-scroller-padding": "6px 0",
|
|
29583
29587
|
"--select-scroller-max-height": "278px",
|
|
29584
|
-
"--select-
|
|
29588
|
+
"--select-chips-margin": "-5px 0 0 0",
|
|
29589
|
+
"--select-chips-padding": "2px 0",
|
|
29590
|
+
"--select-chip-margin": "5px 5px 0 0",
|
|
29585
29591
|
"--select-arrow-size": "20px",
|
|
29586
29592
|
"--select-standard-menu-margin": `calc(var(--field-decorator-placeholder-size) * 0.75 + 12px) 0 0 0`,
|
|
29587
29593
|
"--select-label-font-size": "16px"
|
|
@@ -31718,7 +31724,7 @@ withInstall(stdin_default$1);
|
|
|
31718
31724
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
31719
31725
|
const _WatermarkComponent = stdin_default$1;
|
|
31720
31726
|
var stdin_default = stdin_default$1;
|
|
31721
|
-
const version = "3.8.
|
|
31727
|
+
const version = "3.8.7";
|
|
31722
31728
|
function install(app) {
|
|
31723
31729
|
stdin_default$5X.install && app.use(stdin_default$5X);
|
|
31724
31730
|
stdin_default$5V.install && app.use(stdin_default$5V);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.7",
|
|
4
4
|
"description": "A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Vue3",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@popperjs/core": "^2.11.6",
|
|
45
45
|
"dayjs": "^1.10.4",
|
|
46
46
|
"decimal.js": "^10.2.1",
|
|
47
|
-
"@varlet/icons": "3.8.
|
|
48
|
-
"@varlet/
|
|
49
|
-
"@varlet/
|
|
47
|
+
"@varlet/icons": "3.8.7",
|
|
48
|
+
"@varlet/shared": "3.8.7",
|
|
49
|
+
"@varlet/use": "3.8.7"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^18.7.18",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"vue": "3.4.21",
|
|
63
63
|
"vue-router": "4.2.0",
|
|
64
64
|
"zod": "^3.23.8",
|
|
65
|
-
"@varlet/
|
|
66
|
-
"@varlet/
|
|
67
|
-
"@varlet/
|
|
65
|
+
"@varlet/ui": "3.8.7",
|
|
66
|
+
"@varlet/touch-emulator": "3.8.7",
|
|
67
|
+
"@varlet/cli": "3.8.7"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"vue": "^3.2.0"
|
package/types/radioGroup.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const radioGroupProps: Record<keyof RadioGroupProps, any>
|
|
|
12
12
|
|
|
13
13
|
export type RadioGroupValidateTrigger = 'onChange'
|
|
14
14
|
|
|
15
|
-
export type RadioGroupOptionLabelRender = (option:
|
|
15
|
+
export type RadioGroupOptionLabelRender = (option: RadioGroupOption, checked: boolean) => VNodeChild
|
|
16
16
|
|
|
17
17
|
export interface RadioGroupOption {
|
|
18
18
|
label?: string | VNode | RadioGroupOptionLabelRender
|
package/types/space.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type SpaceSize = SpaceInternalSize | number | string | [number | string,
|
|
|
16
16
|
export interface SpaceProps extends BasicAttributes {
|
|
17
17
|
align?: SpaceAlign
|
|
18
18
|
size?: SpaceSize
|
|
19
|
-
|
|
19
|
+
wrap?: boolean
|
|
20
20
|
direction?: SpaceDirection
|
|
21
21
|
justify?: SpaceJustify
|
|
22
22
|
inline?: boolean
|
package/types/styleVars.d.ts
CHANGED
|
@@ -565,6 +565,8 @@ interface BaseStyleVars {
|
|
|
565
565
|
'--select-scroller-max-height'?: string
|
|
566
566
|
'--select-scroller-border-radius'?: string
|
|
567
567
|
'--select-label-font-size'?: string
|
|
568
|
+
'--select-chips-margin'?: string
|
|
569
|
+
'--select-chips-padding'?: string
|
|
568
570
|
'--select-chip-margin'?: string
|
|
569
571
|
'--select-arrow-size'?: string
|
|
570
572
|
'--select-standard-menu-margin'?: string
|