sprintify-ui 0.0.122 → 0.0.124

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.
@@ -19926,7 +19926,7 @@ const Lm = /* @__PURE__ */ me({
19926
19926
  props: {
19927
19927
  modelValue: {
19928
19928
  default: void 0,
19929
- type: [String, Nm, void 0]
19929
+ type: [String, Nm, null, void 0]
19930
19930
  },
19931
19931
  theme: {
19932
19932
  type: String,
@@ -19983,7 +19983,7 @@ const Lm = /* @__PURE__ */ me({
19983
19983
  theme: e.theme,
19984
19984
  toolbar: e.toolbar,
19985
19985
  placeholder: e.placeholder,
19986
- content: e.modelValue,
19986
+ content: e.modelValue ?? "",
19987
19987
  "read-only": e.disabled,
19988
19988
  enable: e.enable,
19989
19989
  "content-type": "html",
@@ -20298,7 +20298,7 @@ const iy = /* @__PURE__ */ pt(Zm, [["render", ry]]), oy = { class: "inline-flex
20298
20298
  props: {
20299
20299
  modelValue: {
20300
20300
  default: !1,
20301
- type: Boolean
20301
+ type: [Boolean, null, void 0]
20302
20302
  },
20303
20303
  name: {
20304
20304
  default: void 0,
@@ -20336,7 +20336,7 @@ const iy = /* @__PURE__ */ pt(Zm, [["render", ry]]), oy = { class: "inline-flex
20336
20336
  default: pe(() => [
20337
20337
  R("div", oy, [
20338
20338
  he($(nd), {
20339
- "model-value": e.modelValue,
20339
+ "model-value": e.modelValue ?? !1,
20340
20340
  class: ce([
20341
20341
  e.modelValue ? $(i) : "bg-slate-200",
20342
20342
  "relative inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 ",
@@ -5,7 +5,7 @@ import '@vueup/vue-quill/dist/vue-quill.snow.css';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  modelValue: {
7
7
  default: undefined;
8
- type: PropType<string | Delta | undefined>;
8
+ type: PropType<string | Delta | null | undefined>;
9
9
  };
10
10
  theme: {
11
11
  type: PropType<"" | "snow" | "bubble">;
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
42
42
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
43
  modelValue: {
44
44
  default: undefined;
45
- type: PropType<string | Delta | undefined>;
45
+ type: PropType<string | Delta | null | undefined>;
46
46
  };
47
47
  theme: {
48
48
  type: PropType<"" | "snow" | "bubble">;
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
83
83
  name: string;
84
84
  disabled: boolean;
85
85
  placeholder: string;
86
- modelValue: string | Delta | undefined;
86
+ modelValue: string | Delta | null | undefined;
87
87
  hasError: boolean;
88
88
  toolbar: string | Record<string, any> | unknown[] | undefined;
89
89
  theme: "" | "snow" | "bubble";
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  modelValue: {
4
4
  default: boolean;
5
- type: BooleanConstructor;
5
+ type: PropType<boolean | null | undefined>;
6
6
  };
7
7
  name: {
8
8
  default: undefined;
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
28
  modelValue: {
29
29
  default: boolean;
30
- type: BooleanConstructor;
30
+ type: PropType<boolean | null | undefined>;
31
31
  };
32
32
  name: {
33
33
  default: undefined;
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
56
56
  name: string;
57
57
  color: "dark" | "light" | "danger" | "success" | "warning" | "info" | "primary";
58
58
  size: "base" | "xs" | "sm" | "lg" | "xl";
59
- modelValue: boolean;
59
+ modelValue: boolean | null | undefined;
60
60
  hasError: boolean;
61
61
  }>, {
62
62
  default: (_: {}) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -9,7 +9,7 @@
9
9
  :theme="theme"
10
10
  :toolbar="toolbar"
11
11
  :placeholder="placeholder"
12
- :content="modelValue"
12
+ :content="modelValue ?? ''"
13
13
  :read-only="disabled"
14
14
  :enable="enable"
15
15
  content-type="html"
@@ -32,7 +32,9 @@ import '@vueup/vue-quill/dist/vue-quill.snow.css';
32
32
  const props = defineProps({
33
33
  modelValue: {
34
34
  default: undefined,
35
- type: [String, Delta, undefined] as PropType<string | Delta | undefined>,
35
+ type: [String, Delta, null, undefined] as PropType<
36
+ string | Delta | null | undefined
37
+ >,
36
38
  },
37
39
  theme: {
38
40
  type: String as PropType<'' | 'snow' | 'bubble'>,
@@ -2,7 +2,7 @@
2
2
  <SwitchGroup>
3
3
  <div class="inline-flex items-center space-x-3">
4
4
  <Switch
5
- :model-value="modelValue"
5
+ :model-value="modelValue ?? false"
6
6
  :class="[
7
7
  modelValue ? bg : 'bg-slate-200',
8
8
  'relative inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 ',
@@ -39,7 +39,7 @@ import { PropType } from 'vue';
39
39
  const props = defineProps({
40
40
  modelValue: {
41
41
  default: false,
42
- type: Boolean,
42
+ type: [Boolean, null, undefined] as PropType<boolean | null | undefined>,
43
43
  },
44
44
  name: {
45
45
  default: undefined,