portal-design-system 0.0.964 → 0.0.965

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/dist/index.js CHANGED
@@ -18922,13 +18922,8 @@ const $o = [
18922
18922
  emits: ["update:modelValue"],
18923
18923
  setup(e) {
18924
18924
  const o = e, t = mt(e, "modelValue"), r = W(() => {
18925
- if (t.value) {
18926
- if (o.range && Array.isArray(t.value) && t.value.length === 2 && t.value.every((s) => s instanceof Date))
18927
- return !0;
18928
- if (!o.range)
18929
- return !!t.value;
18930
- }
18931
- return !1;
18925
+ const s = t.value;
18926
+ return s ? o.range && Array.isArray(s) ? s.length === 2 && s.every((l) => l) : !0 : !1;
18932
18927
  }), n = W(() => {
18933
18928
  let s = "text-sm w-full h-12 flex items-center bg-surface-100 border border-surface-100 hover:border-base-neutral-300 focus:border-primary-red-700 focus:ring-0 outline-none transition-all duration-300 px-3 text-black placeholder:text-base-neutral-300 disabled:bg-input-disabled-bg disabled:hover:border-input-disabled-bg disabled:text-base-neutral-200 disabled:placeholder:text-base-neutral-200!";
18934
18929
  return o.rounded === "full" ? s += " rounded-full" : o.rounded === "lg" ? s += " rounded-lg" : s += " rounded-xl", no(s, o.classList);
@@ -19007,7 +19002,7 @@ const $o = [
19007
19002
  Ee(ma, { errors: e.errors }, null, 8, ["errors"])
19008
19003
  ]));
19009
19004
  }
19010
- }), Dg = /* @__PURE__ */ or(dg, [["__scopeId", "data-v-88fca450"]]);
19005
+ }), Dg = /* @__PURE__ */ or(dg, [["__scopeId", "data-v-62c559a9"]]);
19011
19006
  export {
19012
19007
  fg as Badge,
19013
19008
  Kn as Button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portal-design-system",
3
- "version": "0.0.964",
3
+ "version": "0.0.965",
4
4
  "description": "A type-safe Vue 3 UI library with Tailwind CSS and isolated styles",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",