@tb-dev/vue 0.3.25 → 0.3.26

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.
@@ -2,6 +2,7 @@ import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
2
  export interface InputTextProps {
3
3
  autocomplete?: InputHTMLAttributes['autocomplete'];
4
4
  autofocus?: InputHTMLAttributes['autofocus'];
5
+ class?: HTMLAttributes['class'];
5
6
  disabled?: InputHTMLAttributes['disabled'];
6
7
  label?: string;
7
8
  labelClass?: HTMLAttributes['class'];
package/dist/index.js CHANGED
@@ -2659,6 +2659,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
2659
2659
  props: /* @__PURE__ */ mergeModels({
2660
2660
  autocomplete: {},
2661
2661
  autofocus: {},
2662
+ class: {},
2662
2663
  disabled: {},
2663
2664
  label: {},
2664
2665
  labelClass: {},
@@ -2677,6 +2678,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
2677
2678
  }),
2678
2679
  emits: ["update:modelValue"],
2679
2680
  setup(__props) {
2681
+ const props = __props;
2680
2682
  const value = useModel(__props, "modelValue");
2681
2683
  return (_ctx, _cache) => {
2682
2684
  return openBlock(), createBlock(unref(_sfc_main$1U), {
@@ -2696,8 +2698,9 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
2696
2698
  required: _ctx.required,
2697
2699
  size: _ctx.size,
2698
2700
  spellcheck: _ctx.spellcheck,
2699
- style: normalizeStyle(_ctx.style)
2700
- }, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "label", "label-class", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck", "style"]);
2701
+ style: normalizeStyle(_ctx.style),
2702
+ class: normalizeClass(props.class)
2703
+ }, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "label", "label-class", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck", "style", "class"]);
2701
2704
  };
2702
2705
  }
2703
2706
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Vue utilities",
5
5
  "license": "MIT",
6
6
  "type": "module",