@xy-planning-network/trees 0.4.0-rc-3 → 0.4.0-rc-4

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.
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  required: true;
28
28
  };
29
29
  modelValue: {
30
- type: import("vue").PropType<string | number>;
30
+ type: import("vue").PropType<string | number | undefined>;
31
31
  required: true;
32
32
  };
33
33
  }, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  }[];
46
46
  help: string;
47
47
  placeholder: string;
48
- modelValue: string | number;
48
+ modelValue: string | number | undefined;
49
49
  design: "standard" | "compressed";
50
50
  } & {}> & {
51
51
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xy-planning-network/trees",
3
- "version": "0.4.0-rc-3",
3
+ "version": "0.4.0-rc-4",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -11,7 +11,7 @@ const props = withDefaults(
11
11
  help?: string
12
12
  placeholder?: string
13
13
  options: { label: string; value: string | number }[]
14
- modelValue: string | number // TODO: spk 4.0-rc test usage of undefined initial model value here.
14
+ modelValue: string | number | undefined
15
15
  }>(),
16
16
  {
17
17
  design: "standard",
@@ -28,7 +28,7 @@ const props = withDefaults(
28
28
  }
29
29
  )
30
30
 
31
- const sidebarOpen = ref<boolean>(true)
31
+ const sidebarOpen = ref<boolean>(false)
32
32
 
33
33
  const isActive = (url: string): boolean => {
34
34
  return props.activeURL === url