eco-vue-js 0.11.8 → 0.11.9
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.
@@ -185,8 +185,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
185
185
|
useTabActiveListener(autofocusDebounced);
|
186
186
|
}
|
187
187
|
watch(() => props.autofocus, (value) => {
|
188
|
-
if (
|
189
|
-
nextTick(
|
188
|
+
if (value === false || value === void 0) return;
|
189
|
+
nextTick(autofocusDebounced);
|
190
190
|
});
|
191
191
|
onMounted(() => {
|
192
192
|
if (props.autofocus !== false && props.autofocus !== void 0) autofocusDebounced();
|
@@ -254,7 +254,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
254
254
|
name: "field",
|
255
255
|
fn: withCtx(({ id, setFocused, focused }) => [
|
256
256
|
createElementVNode("div", {
|
257
|
-
class: normalizeClass(["relative grid min-h-[--w-input-min-height,var(--w-input-height,2.75rem)] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid", {
|
257
|
+
class: normalizeClass(["relative isolate grid min-h-[--w-input-min-height,var(--w-input-height,2.75rem)] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid", {
|
258
258
|
"focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !unref(isDisabled) && !unref(isReadonly) && !_ctx.unclickable,
|
259
259
|
"cursor-text": !unref(isDisabled),
|
260
260
|
"border-negative dark:border-negative-dark": _ctx.errorMessage,
|
@@ -29,6 +29,8 @@ export default {
|
|
29
29
|
if (importedName.startsWith('W')) {
|
30
30
|
const path = keys.find(item => item.includes(importedName))
|
31
31
|
|
32
|
+
if (!path) return
|
33
|
+
|
32
34
|
const replacementImport = `import ${ importedName } from 'eco-vue-js${ path.substring(1) }'`
|
33
35
|
|
34
36
|
context.report({
|