compote-ui 0.49.0 → 0.49.3

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.
@@ -21,11 +21,15 @@
21
21
  defaultExpandedDepth = 1,
22
22
  indentGuide = true,
23
23
  renderValue,
24
+ data,
24
25
  ...rootProps
25
26
  }: Props = $props();
27
+
28
+ const snapshotData = $derived($state.snapshot(data));
26
29
  </script>
27
30
 
28
31
  <JsonTreeView.Root
32
+ data={snapshotData}
29
33
  {defaultExpandedDepth}
30
34
  class={cn(
31
35
  'w-full overflow-auto font-mono text-xs text-ink',
@@ -18,7 +18,6 @@
18
18
  bind:value
19
19
  {defaultValue}
20
20
  {orientation}
21
- lazyMount
22
21
  class="flex data-[orientation='horizontal']:flex-col data-[orientation='vertical']:flex-row"
23
22
  >
24
23
  {@render children?.()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compote-ui",
3
- "version": "0.49.0",
3
+ "version": "0.49.3",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev --open",
@@ -60,11 +60,11 @@
60
60
  "@faker-js/faker": "^10.4.0",
61
61
  "@iconify-json/ph": "^1.2.2",
62
62
  "@sveltejs/adapter-auto": "^7.0.0",
63
- "@sveltejs/kit": "^2.60.1",
63
+ "@sveltejs/kit": "^2.61.1",
64
64
  "@sveltejs/package": "^2.5.7",
65
65
  "@sveltejs/vite-plugin-svelte": "7.1.2",
66
66
  "@tailwindcss/vite": "^4.2.4",
67
- "@tanstack/svelte-virtual": "^3.13.24",
67
+ "@tanstack/svelte-virtual": "^3.13.26",
68
68
  "@tanstack/table-core": "^8.21.3",
69
69
  "@types/node": "^22.19.18",
70
70
  "eslint": "^10.4.0",
@@ -72,17 +72,17 @@
72
72
  "eslint-plugin-svelte": "^3.17.0",
73
73
  "globals": "^17.5.0",
74
74
  "prettier": "^3.8.3",
75
- "prettier-plugin-svelte": "^3.5.2",
75
+ "prettier-plugin-svelte": "^4.0.1",
76
76
  "prettier-plugin-tailwindcss": "^0.8.0",
77
77
  "publint": "^0.3.21",
78
- "svelte": "^5.55.7",
78
+ "svelte": "^5.55.9",
79
79
  "svelte-check": "^4.4.6",
80
80
  "tailwindcss": "^4.2.4",
81
81
  "tw-animate-css": "^1.4.0",
82
82
  "typescript": "^6.0.3",
83
- "typescript-eslint": "^8.59.3",
83
+ "typescript-eslint": "^8.60.0",
84
84
  "unplugin-icons": "^23.0.1",
85
- "vite": "^8.0.12"
85
+ "vite": "^8.0.14"
86
86
  },
87
87
  "keywords": [
88
88
  "svelte"