@redseed/redseed-ui-vue3 2.2.0 → 2.2.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/package.json
CHANGED
|
@@ -64,7 +64,7 @@ const proxyChecked = computed({
|
|
|
64
64
|
@apply ml-2;
|
|
65
65
|
}
|
|
66
66
|
&__check {
|
|
67
|
-
@apply w-6 h-6 shrink-0 relative bg-white;
|
|
67
|
+
@apply w-6 h-6 shrink-0 relative bg-white rounded-md;
|
|
68
68
|
|
|
69
69
|
input[type="checkbox"] {
|
|
70
70
|
@apply appearance-none absolute inset-0 rounded-md transition shadow-sm;
|
|
@@ -20,7 +20,7 @@ const props = defineProps({
|
|
|
20
20
|
},
|
|
21
21
|
})
|
|
22
22
|
|
|
23
|
-
const emit = defineEmits(['update:modelValue']) //vue3 specific v-model pattern
|
|
23
|
+
const emit = defineEmits(['update:modelValue', 'change']) //vue3 specific v-model pattern
|
|
24
24
|
|
|
25
25
|
const formFieldSelect = ref(null)
|
|
26
26
|
|
|
@@ -42,11 +42,13 @@ function onClick() {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
function onChange(event) {
|
|
45
|
+
emit('change', event)
|
|
45
46
|
emit('update:modelValue', event.target.value)
|
|
46
47
|
close()
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
function choose(option) {
|
|
51
|
+
emit('change', option.value)
|
|
50
52
|
emit('update:modelValue', option.value)
|
|
51
53
|
close()
|
|
52
54
|
}
|
|
@@ -165,7 +167,7 @@ function choose(option) {
|
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
select {
|
|
168
|
-
@apply pr-14 truncate;
|
|
170
|
+
@apply pr-14 truncate bg-none;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
&__options {
|