@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/es/alert/index.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import Alert from "./Alert.mjs";
|
|
2
|
-
import { withInstall } from "../utils/components.mjs";
|
|
2
|
+
import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
|
|
3
|
+
import { props as alertProps } from "./props.mjs";
|
|
3
4
|
withInstall(Alert);
|
|
5
|
+
withPropsDefaultsSetter(Alert, alertProps);
|
|
4
6
|
const _AlertComponent = Alert;
|
|
5
7
|
var stdin_default = Alert;
|
|
6
8
|
export {
|
|
7
9
|
_AlertComponent,
|
|
10
|
+
alertProps,
|
|
8
11
|
stdin_default as default
|
|
9
12
|
};
|
package/es/code/Code.mjs
CHANGED
|
@@ -44,7 +44,7 @@ const __sfc__ = defineComponent({
|
|
|
44
44
|
if (highlighter) {
|
|
45
45
|
watch(
|
|
46
46
|
() => [highlighter.value, props2.code, props2.language, normalizedTheme.value, props2.trim],
|
|
47
|
-
(_0) => __async(this, [_0], function* ([highlighter2, code, lang, theme2, trim]) {
|
|
47
|
+
(_0) => __async(this, [_0], function* ([highlighter2, code, lang = "", theme2 = "", trim]) {
|
|
48
48
|
if (!highlighter2) {
|
|
49
49
|
return;
|
|
50
50
|
}
|
package/es/index.bundle.mjs
CHANGED
|
@@ -277,7 +277,7 @@ import './tooltip/style/index.mjs'
|
|
|
277
277
|
import './uploader/style/index.mjs'
|
|
278
278
|
import './watermark/style/index.mjs'
|
|
279
279
|
|
|
280
|
-
const version = '3.6.
|
|
280
|
+
const version = '3.6.2'
|
|
281
281
|
|
|
282
282
|
function install(app) {
|
|
283
283
|
ActionSheet.install && app.use(ActionSheet)
|
package/es/index.mjs
CHANGED
|
@@ -184,7 +184,7 @@ export * from './tooltip/index.mjs'
|
|
|
184
184
|
export * from './uploader/index.mjs'
|
|
185
185
|
export * from './watermark/index.mjs'
|
|
186
186
|
|
|
187
|
-
const version = '3.6.
|
|
187
|
+
const version = '3.6.2'
|
|
188
188
|
|
|
189
189
|
function install(app) {
|
|
190
190
|
ActionSheet.install && app.use(ActionSheet)
|