bge-ui 1.1.4 → 1.1.5
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 +4 -0
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/src/checkbox/index.vue +4 -2
- package/src/input/index.vue +2 -0
- package/src/tooltip/index.vue +1 -1
package/dist/index.js
CHANGED
|
@@ -5968,6 +5968,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
5968
5968
|
watch(() => props.modelValue, (val) => {
|
|
5969
5969
|
input.value = val;
|
|
5970
5970
|
formItemContext && formItemContext.validate && formItemContext.validate().catch((err) => err);
|
|
5971
|
+
}, {
|
|
5972
|
+
immediate: true
|
|
5971
5973
|
});
|
|
5972
5974
|
function handleChange() {
|
|
5973
5975
|
emit("change", input.value);
|
|
@@ -8636,6 +8638,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
8636
8638
|
}
|
|
8637
8639
|
}
|
|
8638
8640
|
formItemContext && formItemContext.validate && formItemContext.validate().catch((err) => err);
|
|
8641
|
+
}, {
|
|
8642
|
+
immediate: true
|
|
8639
8643
|
});
|
|
8640
8644
|
function getLabeledValue(isChecked) {
|
|
8641
8645
|
if (typeof props.modelValue === "number" || typeof props.modelValue === "string" || typeof props.modelValue === "boolean") {
|
package/dist/style.css
CHANGED
|
@@ -1264,7 +1264,7 @@ to {
|
|
|
1264
1264
|
opacity: 0.15;
|
|
1265
1265
|
}
|
|
1266
1266
|
.bge-checkbox_disabled .bge-checkbox__inner .check {
|
|
1267
|
-
fill: var(--tc-
|
|
1267
|
+
fill: var(--tc-icon-opposite);
|
|
1268
1268
|
}
|
|
1269
1269
|
.bge-checkbox_disabled * {
|
|
1270
1270
|
cursor: no-drop;
|
|
@@ -1313,7 +1313,7 @@ to {
|
|
|
1313
1313
|
fill: var(--tc-theme);
|
|
1314
1314
|
}
|
|
1315
1315
|
.bge-checkbox__inner .check {
|
|
1316
|
-
fill: var(--tc-
|
|
1316
|
+
fill: var(--tc-icon-opposite);
|
|
1317
1317
|
}
|
|
1318
1318
|
.bge-checkbox__inner:hover .border {
|
|
1319
1319
|
fill: var(--tc-theme);
|
package/package.json
CHANGED
package/src/checkbox/index.vue
CHANGED
|
@@ -91,6 +91,8 @@ watch(() => props.modelValue, (val) => {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
formItemContext && formItemContext.validate && formItemContext.validate().catch((err: any) => (err))
|
|
94
|
+
}, {
|
|
95
|
+
immediate: true
|
|
94
96
|
})
|
|
95
97
|
|
|
96
98
|
function getLabeledValue(isChecked: boolean) {
|
|
@@ -162,7 +164,7 @@ function handleChange (e: Event) {
|
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
.check {
|
|
165
|
-
fill: var(--tc-
|
|
167
|
+
fill: var(--tc-icon-opposite)
|
|
166
168
|
}
|
|
167
169
|
}
|
|
168
170
|
|
|
@@ -222,7 +224,7 @@ function handleChange (e: Event) {
|
|
|
222
224
|
}
|
|
223
225
|
|
|
224
226
|
.check {
|
|
225
|
-
fill: var(--tc-
|
|
227
|
+
fill: var(--tc-icon-opposite)
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
|
package/src/input/index.vue
CHANGED
package/src/tooltip/index.vue
CHANGED
|
@@ -29,7 +29,7 @@ import { computed, ref, onMounted, onBeforeMount, nextTick } from 'vue';
|
|
|
29
29
|
import type { PositioningStrategy, Placement, Modifier } from '@popperjs/core'
|
|
30
30
|
import UiDialog from '../dialog/index.vue'
|
|
31
31
|
import UiButton from '../button/index.vue'
|
|
32
|
-
import { usePopper } from './usePopper'
|
|
32
|
+
import { usePopper } from './usePopper'
|
|
33
33
|
const sreenWidth = ref(0)
|
|
34
34
|
const props = defineProps({
|
|
35
35
|
/**
|