adverich-kun-ui 0.1.623 → 0.1.624

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.
@@ -37,7 +37,7 @@ var w = /* @__PURE__ */ e({ default: () => k }), T = { class: "absolute inset-0
37
37
  to: j.to,
38
38
  replace: j.replace
39
39
  } : {
40
- type: "button",
40
+ type: j.type,
41
41
  disabled: j.loading || j.disabled
42
42
  }), R = (e) => {
43
43
  switch (e) {
@@ -42,6 +42,15 @@ var e = {
42
42
  "text"
43
43
  ].includes(e)
44
44
  },
45
+ type: {
46
+ type: String,
47
+ default: "button",
48
+ validator: (e) => [
49
+ "button",
50
+ "submit",
51
+ "reset"
52
+ ].includes(e)
53
+ },
45
54
  disabled: Boolean,
46
55
  loading: Boolean,
47
56
  bgColor: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.623",
3
+ "version": "0.1.624",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",