@opentinyvue/vue-input 3.22.0 → 3.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 = "3.22.0";
197
+ var version = "3.undefined";
198
198
  Input.model = {
199
199
  prop: "modelValue",
200
200
  event: "update:modelValue"
@@ -151,7 +151,7 @@ var _hoisted_7 = {
151
151
  key: 2,
152
152
  "data-tag": "tiny-input-prefix",
153
153
  ref: "prefix",
154
- class: "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"
154
+ class: "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"
155
155
  };
156
156
  var _hoisted_8 = {
157
157
  key: 3,
@@ -160,7 +160,7 @@ var _hoisted_8 = {
160
160
  class: "right-2 transition-all duration-300 ease-in-out pointer-events-none text-xs absolute top-1/2 -translate-y-1/2 text-center text-color-text-placeholder flex items-center z-[1]"
161
161
  };
162
162
  var _hoisted_9 = {
163
- class: "pointer-events-auto text-xs flex justify-start items-center"
163
+ class: "pointer-events-auto text-xs fill-color-icon-placeholder flex justify-start items-center"
164
164
  };
165
165
  var _hoisted_10 = {
166
166
  key: 5,
package/lib/pc.js CHANGED
@@ -251,7 +251,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
251
251
  {
252
252
  key: 0
253
253
  },
254
- [_ctx.slots.prepend ? (openBlock(), createElementBlock(
254
+ [_ctx.slots.prepend && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
255
255
  "div",
256
256
  _hoisted_1,
257
257
  [renderSlot(_ctx.$slots, "prepend")],
@@ -420,13 +420,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
420
420
  }),
421
421
  _: 3
422
422
  /* FORWARDED */
423
- })]), _ctx.slots.append ? (openBlock(), createElementBlock(
423
+ })]), _ctx.slots.append && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
424
424
  "div",
425
425
  _hoisted_15,
426
426
  [renderSlot(_ctx.$slots, "append")],
427
427
  512
428
428
  /* NEED_PATCH */
429
- )) : createCommentVNode("v-if", true), _ctx.slots.panel ? (openBlock(), createElementBlock(
429
+ )) : createCommentVNode("v-if", true), _ctx.slots.panel && !_ctx.state.isDisplayOnly ? (openBlock(), createElementBlock(
430
430
  "div",
431
431
  _hoisted_16,
432
432
  [renderSlot(_ctx.$slots, "panel")],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-input",
3
3
  "type": "module",
4
- "version": "3.22.0",
4
+ "version": "3.22.1",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,