portal-design-system 0.0.962 → 0.0.964

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.d.ts CHANGED
@@ -19,5 +19,4 @@ import { default as Pagination } from './components/Pagination.vue';
19
19
  import { default as RadioGroup } from './components/inputs/RadioGroup.vue';
20
20
  import { default as DialogHeading } from './components/overlays/Heading.vue';
21
21
  import { default as DateInput } from './components/inputs/DateInput.vue';
22
- export type { LoadOptionBaseType, DxCustomColumn, FilterOptionType, FilterOptionListType, SortOptionType, SortOptionListType } from './types';
23
22
  export { Button, Select, Input, DateInput, Error, Iconsax, IconsaxFont, Badge, Dialog, Icon, Text, Tabs, Dropdown, DurationTimeline, Drawer, DialogHeading, Pagination, RadioGroup, useOutsideClick, useWindowScroll, vTooltip };
package/dist/index.js CHANGED
@@ -18913,7 +18913,6 @@ const $o = [
18913
18913
  timezone: { default: void 0 },
18914
18914
  timeConfig: { default: () => ({ enableTimePicker: !1 }) },
18915
18915
  errors: {},
18916
- modelValue: {},
18917
18916
  required: { type: Boolean },
18918
18917
  autoApply: { type: Boolean, default: !0 }
18919
18918
  }, {
@@ -18924,10 +18923,10 @@ const $o = [
18924
18923
  setup(e) {
18925
18924
  const o = e, t = mt(e, "modelValue"), r = W(() => {
18926
18925
  if (t.value) {
18927
- if (o.range && Array.isArray(o.modelValue) && o.modelValue.length === 2 && o.modelValue.every((s) => s instanceof Date))
18926
+ if (o.range && Array.isArray(t.value) && t.value.length === 2 && t.value.every((s) => s instanceof Date))
18928
18927
  return !0;
18929
18928
  if (!o.range)
18930
- return !!o.modelValue;
18929
+ return !!t.value;
18931
18930
  }
18932
18931
  return !1;
18933
18932
  }), n = W(() => {
@@ -18935,10 +18934,10 @@ const $o = [
18935
18934
  return o.rounded === "full" ? s += " rounded-full" : o.rounded === "lg" ? s += " rounded-lg" : s += " rounded-xl", no(s, o.classList);
18936
18935
  }), a = (s) => o.timeConfig.enableTimePicker ? s.toLocaleString("sv") : s.toLocaleDateString("sv"), i = W(() => {
18937
18936
  if (r.value) {
18938
- if (o.range && Array.isArray(o.modelValue) && o.modelValue.length === 2 && o.modelValue[0] && o.modelValue[1])
18939
- return `${a(new Date(o.modelValue[0]))} - ${a(new Date(o.modelValue[1]))}`;
18937
+ if (o.range && Array.isArray(t.value) && t.value.length === 2 && t.value[0] && t.value[1])
18938
+ return `${a(new Date(t.value[0]))} - ${a(new Date(t.value[1]))}`;
18940
18939
  if (!o.range)
18941
- return a(new Date(o.modelValue));
18940
+ return a(new Date(t.value));
18942
18941
  }
18943
18942
  return o.placeholder || "Select date";
18944
18943
  });
@@ -19008,7 +19007,7 @@ const $o = [
19008
19007
  Ee(ma, { errors: e.errors }, null, 8, ["errors"])
19009
19008
  ]));
19010
19009
  }
19011
- }), Dg = /* @__PURE__ */ or(dg, [["__scopeId", "data-v-275b3808"]]);
19010
+ }), Dg = /* @__PURE__ */ or(dg, [["__scopeId", "data-v-88fca450"]]);
19012
19011
  export {
19013
19012
  fg as Badge,
19014
19013
  Kn as Button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portal-design-system",
3
- "version": "0.0.962",
3
+ "version": "0.0.964",
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",