@varlet/ui 2.0.5 → 2.1.0-alpha.1666877950844
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 +1885 -1885
- package/es/index.d.ts +1 -1
- package/es/locale/en-US.d.ts +5 -5
- package/es/locale/zh-CN.d.ts +5 -5
- package/es/select/Select.js +2 -1
- package/es/themes/dark/index.d.ts +5 -5
- package/es/varlet.esm.js +2 -1
- package/highlight/attributes.json +0 -860
- package/highlight/tags.json +31 -277
- package/highlight/web-types.json +1379 -3782
- package/json/area.json +10706 -10706
- package/lib/date-picker/src/day-picker-panel.js +13 -13
- package/lib/date-picker/src/month-picker-panel.js +11 -11
- package/lib/date-picker/src/year-picker-panel.js +3 -3
- package/lib/index.d.ts +1 -1
- package/lib/locale/en-US.d.ts +5 -5
- package/lib/locale/zh-CN.d.ts +5 -5
- package/lib/select/Select.js +2 -1
- package/lib/snackbar/style/index.js +1 -1
- package/lib/themes/dark/index.d.ts +5 -5
- package/package.json +6 -5
- package/types/lazy.d.ts +5 -5
- package/types/ripple.d.ts +5 -5
- package/types/varDirective.d.ts +12 -12
- package/umd/varlet.js +1 -1
package/es/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '..\types'
|
package/es/locale/en-US.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Pack } from '../../types'
|
|
2
|
-
|
|
3
|
-
declare const enUS: Pack
|
|
4
|
-
|
|
5
|
-
export default enUS
|
|
1
|
+
import type { Pack } from '../../types'
|
|
2
|
+
|
|
3
|
+
declare const enUS: Pack
|
|
4
|
+
|
|
5
|
+
export default enUS
|
package/es/locale/zh-CN.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Pack } from '../../types'
|
|
2
|
-
|
|
3
|
-
declare const zhCN: Pack
|
|
4
|
-
|
|
5
|
-
export default zhCN
|
|
1
|
+
import type { Pack } from '../../types'
|
|
2
|
+
|
|
3
|
+
declare const zhCN: Pack
|
|
4
|
+
|
|
5
|
+
export default zhCN
|
package/es/select/Select.js
CHANGED
|
@@ -56,7 +56,7 @@ export function render(_ctx, _cache) {
|
|
|
56
56
|
"var-select-cover": "",
|
|
57
57
|
class: _normalizeClass(_ctx.classes(_ctx.n('menu'))),
|
|
58
58
|
"offset-y": _ctx.offsetY,
|
|
59
|
-
disabled: _ctx.readonly || _ctx.disabled,
|
|
59
|
+
disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled,
|
|
60
60
|
"default-style": false,
|
|
61
61
|
show: _ctx.isFocus,
|
|
62
62
|
"onUpdate:show": _cache[1] || (_cache[1] = $event => _ctx.isFocus = $event),
|
|
@@ -479,6 +479,7 @@ export default defineComponent({
|
|
|
479
479
|
isFocus,
|
|
480
480
|
errorMessage,
|
|
481
481
|
formDisabled: form == null ? void 0 : form.disabled,
|
|
482
|
+
formReadonly: form == null ? void 0 : form.readonly,
|
|
482
483
|
label,
|
|
483
484
|
labels,
|
|
484
485
|
menuEl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StyleVars } from '../../../types'
|
|
2
|
-
|
|
3
|
-
declare const dark: StyleVars
|
|
4
|
-
|
|
5
|
-
export default dark
|
|
1
|
+
import { StyleVars } from '../../../types'
|
|
2
|
+
|
|
3
|
+
declare const dark: StyleVars
|
|
4
|
+
|
|
5
|
+
export default dark
|
package/es/varlet.esm.js
CHANGED
|
@@ -12729,7 +12729,7 @@ function yh(e, n) {
|
|
|
12729
12729
|
"var-select-cover": "",
|
|
12730
12730
|
class: m(e.classes(e.n("menu"))),
|
|
12731
12731
|
"offset-y": e.offsetY,
|
|
12732
|
-
disabled: e.readonly || e.disabled,
|
|
12732
|
+
disabled: e.formReadonly || e.readonly || e.formDisabled || e.disabled,
|
|
12733
12733
|
"default-style": !1,
|
|
12734
12734
|
show: e.isFocus,
|
|
12735
12735
|
"onUpdate:show": n[1] || (n[1] = (o) => e.isFocus = o),
|
|
@@ -13066,6 +13066,7 @@ const _r = ae({
|
|
|
13066
13066
|
isFocus: r,
|
|
13067
13067
|
errorMessage: p,
|
|
13068
13068
|
formDisabled: d == null ? void 0 : d.disabled,
|
|
13069
|
+
formReadonly: d == null ? void 0 : d.readonly,
|
|
13069
13070
|
label: i,
|
|
13070
13071
|
labels: o,
|
|
13071
13072
|
menuEl: C,
|