vueless 0.0.717 → 0.0.718

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.717",
3
+ "version": "0.0.718",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -96,10 +96,6 @@ const inputValue = computed({
96
96
  set: (value) => emit("update:modelValue", value),
97
97
  });
98
98
 
99
- const applyPasswordClasses = computed(() => {
100
- return Boolean(inputValue.value && !isShownPassword.value && isTypePassword.value);
101
- });
102
-
103
99
  const elementId = props.id || useId();
104
100
 
105
101
  const inputType = computed(() => {
@@ -237,7 +233,7 @@ const mutatedProps = computed(() => ({
237
233
  error: Boolean(props.error),
238
234
  label: Boolean(props.label),
239
235
  /* component state, not a props */
240
- typePassword: applyPasswordClasses.value,
236
+ typePassword: Boolean(inputValue.value && !isShownPassword.value && isTypePassword.value),
241
237
  }));
242
238
 
243
239
  const {