@opentinyvue/vue-input 2.22.0 → 2.22.1

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/lib/index.js CHANGED
@@ -194,7 +194,7 @@ var Input = defineComponent({
194
194
  });
195
195
  }
196
196
  });
197
- var version = "2.22.0";
197
+ var version = "2.undefined";
198
198
  Input.model = {
199
199
  prop: "modelValue",
200
200
  event: "update:modelValue"
@@ -229,7 +229,7 @@ var render = function render2() {
229
229
  }
230
230
  }) : _vm._e(), (_vm.slots.prefix || _vm.prefixIcon) && !_vm.state.isDisplayOnly ? _c("span", {
231
231
  ref: "prefix",
232
- staticClass: "left-2 transition-all duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center",
232
+ staticClass: "left-2 transition-all fill-color-icon-placeholder duration-300 ease-in-out text-xs sm:text-sm absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center",
233
233
  attrs: {
234
234
  "data-tag": "tiny-input-prefix"
235
235
  }
@@ -243,7 +243,7 @@ var render = function render2() {
243
243
  "data-tag": "tiny-input-suffix"
244
244
  }
245
245
  }, [_c("span", {
246
- staticClass: "pointer-events-auto text-xs flex justify-start items-center"
246
+ staticClass: "pointer-events-auto text-xs fill-color-icon-placeholder flex justify-start items-center"
247
247
  }, [_vm.state.showClear ? _c("icon-close", {
248
248
  class: _vm.m("hidden sm:block text-center transition-all duration-300 ease-in-out text-xs cursor-pointer", _vm.state.inputSizeMf === "medium" ? "leading-8" : _vm.state.inputSizeMf === "mini" ? "leading-6" : "leading-7"),
249
249
  on: {
package/lib/pc.js CHANGED
@@ -130,7 +130,7 @@ var render = function render2() {
130
130
  return _vm.$emit("click", $event);
131
131
  }
132
132
  }
133
- }, "div", _vm.a(_vm.$attrs, ["class"]), false), [_vm.type !== "textarea" ? [_vm.slots.prepend ? _c("div", {
133
+ }, "div", _vm.a(_vm.$attrs, ["class"]), false), [_vm.type !== "textarea" ? [_vm.slots.prepend && !_vm.state.isDisplayOnly ? _c("div", {
134
134
  ref: "prepend",
135
135
  staticClass: "tiny-input-group__prepend"
136
136
  }, [_vm._t("prepend")], 2) : _vm._e(), _c("span", {
@@ -265,10 +265,10 @@ var render = function render2() {
265
265
  }, [_vm._v(" " + _vm._s(_vm.state.showWordLimit ? "/" + _vm.state.upperLimit : _vm.state.textLength) + " ")])])]) : _vm._e()], 2), _vm.state.validateState ? _c("i", {
266
266
  staticClass: "tiny-input__icon",
267
267
  class: ["tiny-input__validateIcon", _vm.validateIcon]
268
- }) : _vm._e()]) : _vm._e()])], 1), _vm.slots.append ? _c("div", {
268
+ }) : _vm._e()]) : _vm._e()])], 1), _vm.slots.append && !_vm.state.isDisplayOnly ? _c("div", {
269
269
  ref: "append",
270
270
  staticClass: "tiny-input-group__append"
271
- }, [_vm._t("append")], 2) : _vm._e(), _vm.slots.panel ? _c("div", {
271
+ }, [_vm._t("append")], 2) : _vm._e(), _vm.slots.panel && !_vm.state.isDisplayOnly ? _c("div", {
272
272
  ref: "panel",
273
273
  staticClass: "tiny-input-group__panel"
274
274
  }, [_vm._t("panel")], 2) : _vm._e()] : _c("span", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-input",
3
3
  "type": "module",
4
- "version": "2.22.0",
4
+ "version": "2.22.1",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,