@kong/kongponents 9.10.1-pr.2436.ce3e2987a.0 → 9.10.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.
@@ -7205,7 +7205,7 @@ const Ly = {
7205
7205
  ], 2);
7206
7206
  };
7207
7207
  }
7208
- }), Fi = /* @__PURE__ */ Te(o1, [["__scopeId", "data-v-76857289"]]), s1 = ["aria-invalid", "value"], l1 = {
7208
+ }), Fi = /* @__PURE__ */ Te(o1, [["__scopeId", "data-v-76857289"]]), s1 = ["aria-invalid", "type", "value"], l1 = {
7209
7209
  inheritAttrs: !1
7210
7210
  }, u1 = /* @__PURE__ */ ie({
7211
7211
  ...l1,
@@ -7249,13 +7249,18 @@ const Ly = {
7249
7249
  type: Boolean,
7250
7250
  default: !1,
7251
7251
  validator: (e) => (e && console.warn("KInput: `hasError` prop is deprecated. Please use `error` prop instead. See the migration guide for more details: https://kongponents.konghq.com/guide/migrating-to-version-9.html#kinput"), !0)
7252
+ },
7253
+ type: {
7254
+ type: String,
7255
+ required: !1,
7256
+ default: "text"
7252
7257
  }
7253
7258
  },
7254
7259
  emits: ["input", "update:modelValue", "char-limit-exceeded"],
7255
7260
  setup(e, { emit: t }) {
7256
7261
  Pt((B) => ({
7257
- fbc7e6a0: K.value,
7258
- "18c12f4a": Y.value
7262
+ "18911ca5": K.value,
7263
+ "08fe05c6": Y.value
7259
7264
  }));
7260
7265
  const a = e, n = t, r = O(""), i = O(!1), o = O(0), { stripRequiredLabel: l } = Ct(), s = Mt(), u = zt(), c = y(() => (u == null ? void 0 : u.required) !== void 0 && String(u == null ? void 0 : u.required) !== "false"), d = u.id ? String(u.id) : bt(), f = bt(), v = y(() => l(a.label, c.value)), g = y(() => {
7261
7266
  var B;
@@ -7335,9 +7340,11 @@ const Ly = {
7335
7340
  }, [
7336
7341
  j(B.$slots, "before", {}, void 0, !0)
7337
7342
  ], 512)) : q("", !0),
7338
- et(H("input", Ye(S.value, {
7343
+ et(H("input", Ye({
7339
7344
  "aria-invalid": e.error || e.hasError || h.value ? "true" : void 0,
7340
7345
  class: "input",
7346
+ type: e.type
7347
+ }, S.value, {
7341
7348
  value: T(),
7342
7349
  onInput: w
7343
7350
  }), null, 16, s1), [
@@ -7371,7 +7378,7 @@ const Ly = {
7371
7378
  ], 2);
7372
7379
  };
7373
7380
  }
7374
- }), dn = /* @__PURE__ */ Te(u1, [["__scopeId", "data-v-1ff5103c"]]);
7381
+ }), dn = /* @__PURE__ */ Te(u1, [["__scopeId", "data-v-326597d0"]]);
7375
7382
  function Ff(e, t) {
7376
7383
  let a;
7377
7384
  return (...n) => {