@webitel/ui-sdk 24.12.80 → 24.12.81
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 +7 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +634 -629
- package/dist/ui-sdk.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/components/wt-datepicker/wt-datepicker.vue +8 -12
package/package.json
CHANGED
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
/>
|
|
39
39
|
</template>
|
|
40
40
|
<template #clear-icon>
|
|
41
|
-
<wt-icon
|
|
42
|
-
|
|
41
|
+
<wt-icon-btn
|
|
42
|
+
v-if="clearable && value"
|
|
43
43
|
:color="disabled ? 'disabled' : 'default'"
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
icon="close"
|
|
45
|
+
@click.stop="emit('input', null)"
|
|
46
46
|
/>
|
|
47
47
|
</template>
|
|
48
48
|
<template #arrow-left>
|
|
@@ -132,6 +132,10 @@ const props = defineProps({
|
|
|
132
132
|
type: Boolean,
|
|
133
133
|
default: false,
|
|
134
134
|
},
|
|
135
|
+
clearable: {
|
|
136
|
+
type: Boolean,
|
|
137
|
+
default: true,
|
|
138
|
+
},
|
|
135
139
|
});
|
|
136
140
|
const emit = defineEmits(['input']);
|
|
137
141
|
|
|
@@ -250,12 +254,4 @@ const requiredLabel = computed(() => {
|
|
|
250
254
|
flex-grow: 1;
|
|
251
255
|
}
|
|
252
256
|
}
|
|
253
|
-
|
|
254
|
-
.wt-datepicker__open-arrow {
|
|
255
|
-
transition: var(--transition);
|
|
256
|
-
|
|
257
|
-
&--opened {
|
|
258
|
-
transform: rotate(180deg);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
257
|
</style>
|