@varlet/ui 3.6.0 → 3.6.2
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/alert/index.mjs +4 -1
- package/es/code/Code.mjs +1 -1
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/varlet.esm.js +1573 -1571
- package/highlight/web-types.en-US.json +1 -1
- package/highlight/web-types.zh-CN.json +1 -1
- package/lib/varlet.cjs.js +4 -2
- package/package.json +7 -7
- package/types/highlighterProvider.d.ts +2 -2
- package/types/styleProvider.d.ts +1 -3
- package/umd/varlet.js +7 -7
package/lib/varlet.cjs.js
CHANGED
|
@@ -2718,6 +2718,7 @@ const __sfc__$1p = vue.defineComponent({
|
|
|
2718
2718
|
__sfc__$1p.render = __render__$1m;
|
|
2719
2719
|
var stdin_default$5T = __sfc__$1p;
|
|
2720
2720
|
withInstall(stdin_default$5T);
|
|
2721
|
+
withPropsDefaultsSetter(stdin_default$5T, props$1g);
|
|
2721
2722
|
const _AlertComponent = stdin_default$5T;
|
|
2722
2723
|
var stdin_default$5S = stdin_default$5T;
|
|
2723
2724
|
const props$1f = {
|
|
@@ -9525,7 +9526,7 @@ const __sfc__$10 = vue.defineComponent({
|
|
|
9525
9526
|
if (highlighter) {
|
|
9526
9527
|
vue.watch(
|
|
9527
9528
|
() => [highlighter.value, props2.code, props2.language, normalizedTheme.value, props2.trim],
|
|
9528
|
-
(_0) => __async$d(this, [_0], function* ([highlighter2, code, lang, theme2, trim]) {
|
|
9529
|
+
(_0) => __async$d(this, [_0], function* ([highlighter2, code, lang = "", theme2 = "", trim]) {
|
|
9529
9530
|
if (!highlighter2) {
|
|
9530
9531
|
return;
|
|
9531
9532
|
}
|
|
@@ -29699,7 +29700,7 @@ withInstall(stdin_default$1);
|
|
|
29699
29700
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
29700
29701
|
const _WatermarkComponent = stdin_default$1;
|
|
29701
29702
|
var stdin_default = stdin_default$1;
|
|
29702
|
-
const version = "3.6.
|
|
29703
|
+
const version = "3.6.2";
|
|
29703
29704
|
function install(app) {
|
|
29704
29705
|
stdin_default$5U.install && app.use(stdin_default$5U);
|
|
29705
29706
|
stdin_default$5S.install && app.use(stdin_default$5S);
|
|
@@ -30078,6 +30079,7 @@ exports._UploaderComponent = _UploaderComponent;
|
|
|
30078
30079
|
exports._WatermarkComponent = _WatermarkComponent;
|
|
30079
30080
|
exports.actionSheetProps = props$1h;
|
|
30080
30081
|
exports.add = add$2;
|
|
30082
|
+
exports.alertProps = props$1g;
|
|
30081
30083
|
exports.appBarProps = props$1f;
|
|
30082
30084
|
exports.avatarGroupProps = props$15;
|
|
30083
30085
|
exports.avatarProps = props$16;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.2",
|
|
4
4
|
"description": "A material like components library",
|
|
5
5
|
"main": "lib/varlet.cjs.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@popperjs/core": "^2.11.6",
|
|
49
49
|
"dayjs": "^1.10.4",
|
|
50
50
|
"decimal.js": "^10.2.1",
|
|
51
|
-
"@varlet/icons": "3.6.
|
|
52
|
-
"@varlet/shared": "3.6.
|
|
53
|
-
"@varlet/use": "3.6.
|
|
51
|
+
"@varlet/icons": "3.6.2",
|
|
52
|
+
"@varlet/shared": "3.6.2",
|
|
53
|
+
"@varlet/use": "3.6.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/node": "^18.7.18",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"vue": "3.4.21",
|
|
67
67
|
"vue-router": "4.2.0",
|
|
68
68
|
"zod": "^3.23.8",
|
|
69
|
-
"@varlet/
|
|
70
|
-
"@varlet/
|
|
71
|
-
"@varlet/touch-emulator": "3.6.
|
|
69
|
+
"@varlet/ui": "3.6.2",
|
|
70
|
+
"@varlet/cli": "3.6.2",
|
|
71
|
+
"@varlet/touch-emulator": "3.6.2"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"dev": "varlet-cli dev",
|
|
@@ -3,8 +3,8 @@ import { VarComponent, BasicAttributes, SetPropsDefaults } from './varComponent'
|
|
|
3
3
|
export declare const highlighterProps: Record<keyof HighlighterProviderProps, any>
|
|
4
4
|
|
|
5
5
|
export interface CodeToHtmlOptions {
|
|
6
|
-
lang
|
|
7
|
-
theme
|
|
6
|
+
lang: string
|
|
7
|
+
theme: string
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export interface Highlighter {
|
package/types/styleProvider.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { VarComponent, BasicAttributes, SetPropsDefaults } from './varComponent'
|
|
2
2
|
import { App, VNode } from 'vue'
|
|
3
|
-
import { StyleVars
|
|
3
|
+
import { StyleVars } from './styleVars'
|
|
4
4
|
|
|
5
5
|
export declare const styleProviderProps: Record<keyof StyleProviderProps, any>
|
|
6
6
|
|
|
7
|
-
export type StyleVars = ExtractedStyleVars
|
|
8
|
-
|
|
9
7
|
export interface StyleProviderProps extends BasicAttributes {
|
|
10
8
|
styleVars?: StyleVars
|
|
11
9
|
tag?: string
|