bge-ui 1.0.7 → 1.0.8
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/dist/index.js +2 -4
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/src/input/index.vue +4 -6
package/dist/index.js
CHANGED
|
@@ -6648,15 +6648,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6648
6648
|
emit("focus");
|
|
6649
6649
|
}
|
|
6650
6650
|
function handleBlur() {
|
|
6651
|
-
|
|
6652
|
-
isFocus.value = false;
|
|
6653
|
-
}
|
|
6651
|
+
isFocus.value = false;
|
|
6654
6652
|
emit("blur");
|
|
6655
6653
|
emit("update:modelValue", input.value);
|
|
6656
6654
|
}
|
|
6657
6655
|
watch(() => props.modelValue, (val) => {
|
|
6658
6656
|
input.value = val;
|
|
6659
|
-
formItemContext.validate && formItemContext.validate().catch((err) => err);
|
|
6657
|
+
formItemContext && formItemContext.validate && formItemContext.validate().catch((err) => err);
|
|
6660
6658
|
});
|
|
6661
6659
|
function handleChange() {
|
|
6662
6660
|
emit("change", input.value);
|
package/dist/style.css
CHANGED
|
@@ -3237,7 +3237,7 @@
|
|
|
3237
3237
|
background: var(--bg-input, rgba(88, 126, 163, 0.08));
|
|
3238
3238
|
}
|
|
3239
3239
|
.bge-input .bge-input__wrapper.focus {
|
|
3240
|
-
border: 1px solid var(--tc-
|
|
3240
|
+
border: 1px solid var(--tc-theme, #292D33);
|
|
3241
3241
|
background: transparent;
|
|
3242
3242
|
}
|
|
3243
3243
|
.bge-input .bge-input__wrapper.textarea {
|
|
@@ -3273,7 +3273,7 @@
|
|
|
3273
3273
|
box-sizing: border-box;
|
|
3274
3274
|
resize: none;
|
|
3275
3275
|
}
|
|
3276
|
-
.bge-input .bge-input__inner
|
|
3276
|
+
.bge-input .bge-input__inner::placeholder {
|
|
3277
3277
|
color: var(--tc-quaternary, #3B4C5C);
|
|
3278
3278
|
font-weight: 500;
|
|
3279
3279
|
}
|
package/package.json
CHANGED
package/src/input/index.vue
CHANGED
|
@@ -73,16 +73,14 @@ function handleFocus() {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
function handleBlur() {
|
|
76
|
-
|
|
77
|
-
isFocus.value = false
|
|
78
|
-
}
|
|
76
|
+
isFocus.value = false
|
|
79
77
|
emit('blur')
|
|
80
78
|
emit('update:modelValue', input.value)
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
watch(() => props.modelValue, (val) => {
|
|
84
82
|
input.value = val
|
|
85
|
-
formItemContext.validate && formItemContext.validate().catch((err: any) => (err))
|
|
83
|
+
formItemContext && formItemContext.validate && formItemContext.validate().catch((err: any) => (err))
|
|
86
84
|
})
|
|
87
85
|
|
|
88
86
|
function handleChange() {
|
|
@@ -137,7 +135,7 @@ function handelClear() {
|
|
|
137
135
|
}
|
|
138
136
|
|
|
139
137
|
&.focus {
|
|
140
|
-
border: 1px solid var(--tc-
|
|
138
|
+
border: 1px solid var(--tc-theme, #292D33);
|
|
141
139
|
background: transparent;
|
|
142
140
|
}
|
|
143
141
|
|
|
@@ -179,7 +177,7 @@ function handelClear() {
|
|
|
179
177
|
box-sizing: border-box;
|
|
180
178
|
resize: none;
|
|
181
179
|
|
|
182
|
-
|
|
180
|
+
&::placeholder {
|
|
183
181
|
color: var(--tc-quaternary, #3B4C5C);
|
|
184
182
|
font-weight: 500;
|
|
185
183
|
}
|