vue3-tailwind-components 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -45,6 +45,7 @@ module.exports = {
45
45
  },
46
46
  {
47
47
  pattern: /text-(primary|secondary|warning|success|danger|info)-(\d00)/,
48
+ variants:['file']
48
49
  },
49
50
  {
50
51
  pattern: /placeholder-(\w+)-(\d00)/,
@@ -11869,7 +11869,7 @@ const o4 = {
11869
11869
  },
11870
11870
  methods: {
11871
11871
  closeDialog() {
11872
- this.showing = !1, this.$emit("update:modelValue", !1);
11872
+ this.showing = !1, this.$emit("update:modelValue", !1), this.$emit("closed");
11873
11873
  }
11874
11874
  }
11875
11875
  }, BJ = { key: 0 }, FJ = { class: "fixed inset-0 z-50 flex items-center justify-center sm:p-0 animate-in fade-in zoom-in" }, RJ = { class: "relative" }, DJ = /* @__PURE__ */ J("h1", { class: "font-bold" }, " Modal title", -1), EJ = { class: "flex-1 p-4" }, IJ = /* @__PURE__ */ J("div", { class: "mt-2 text-sm text-primary-400" }, "This is the modals default content. Replace this with content in the body slot of the component. ", -1), UJ = { class: "flex justify-end gap-2" };
@@ -15842,6 +15842,10 @@ const BZ = /* @__PURE__ */ T2(XJ, [["render", aZ]]), eZ = {
15842
15842
  labelPosition: {
15843
15843
  type: String,
15844
15844
  default: "block"
15845
+ },
15846
+ accept: {
15847
+ type: String,
15848
+ default: ""
15845
15849
  }
15846
15850
  },
15847
15851
  data() {
@@ -15892,7 +15896,7 @@ const BZ = /* @__PURE__ */ T2(XJ, [["render", aZ]]), eZ = {
15892
15896
  return "text-" + this.color + "-500";
15893
15897
  }
15894
15898
  }
15895
- }, rZ = ["for"], nZ = { class: "relative" }, iZ = ["name", "id", "placeholder", "type", "disabled"], sZ = {
15899
+ }, rZ = ["for"], nZ = { class: "relative" }, iZ = ["name", "id", "placeholder", "type", "disabled", "accept"], sZ = {
15896
15900
  key: 1,
15897
15901
  class: "m-1 text-sm text-danger-500"
15898
15902
  };
@@ -15922,7 +15926,8 @@ function fZ(r, s, n, t, m, u) {
15922
15926
  placeholder: n.placeholder,
15923
15927
  class: e2([u.inputClass, "w-full border focus:shadow-inner py-1 px-2 rounded outline-none disabled:cursor-not-allowed"]),
15924
15928
  type: n.type,
15925
- disabled: n.disabled
15929
+ disabled: n.disabled,
15930
+ accept: n.accept
15926
15931
  }, null, 42, iZ), [
15927
15932
  [Tp, m.inputVal]
15928
15933
  ]),