@lapis-notes/workspace 0.3.0 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @lapis-notes/workspace
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#60](https://github.com/lapismd/lapis-notes/pull/60)
8
+ [`fb2eff2`](https://github.com/lapismd/lapis-notes/commit/fb2eff2b11b4a623ea2780f5e3e0f92a0530844b)
9
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Expose the explicit
10
+ Notebook Design Core/UI host modules and admit Design Core 0.9 compatibility,
11
+ including File Explorer so the host resolves one shared Core installation.
12
+ This changes generated host admission metadata and dependency compatibility,
13
+ not the API runtime interface; retain the 0.2 API peer cohort. Full host
14
+ qualification remains required before release.
15
+
16
+ Add a public Vite renderer adapter that binds plugin compiler imports to the
17
+ admitted versioned Svelte namespace and resolves those entries through the
18
+ shared host runtime. Expose the required Markdown and CodeMirror host modules
19
+ while keeping private imports and renderer version mismatches rejected.
20
+ - Updated dependencies
21
+ [[`fb2eff2`](https://github.com/lapismd/lapis-notes/commit/fb2eff2b11b4a623ea2780f5e3e0f92a0530844b)]:
22
+ - @lapis-notes/api@0.2.4
23
+ - @lapis-notes/ui@0.1.6
24
+
25
+ ## 0.3.1
26
+
27
+ ### Patch Changes
28
+
29
+ - [#44](https://github.com/lapismd/lapis-notes/pull/44)
30
+ [`f2373ba`](https://github.com/lapismd/lapis-notes/commit/f2373baf79db19267f3422895ce321ef1fa3c78d)
31
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Point package
32
+ documentation to the canonical specification and remove stale package-local
33
+ and pre-consolidation specification links.
34
+
35
+ - [#47](https://github.com/lapismd/lapis-notes/pull/47)
36
+ [`6f315ba`](https://github.com/lapismd/lapis-notes/commit/6f315baef2bd2f0bb4942927d4e19b9e0eb2a15d)
37
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Restore explicit
38
+ disk-version acceptance in the shared retained conflict review, including
39
+ preserving deletion through the captured guarded writer decision.
40
+ - Updated dependencies
41
+ [[`f2373ba`](https://github.com/lapismd/lapis-notes/commit/f2373baf79db19267f3422895ce321ef1fa3c78d)]:
42
+ - @lapis-notes/api@0.2.1
43
+ - @lapis-notes/ui@0.1.5
44
+
3
45
  ## 0.3.0
4
46
 
5
47
  ### Minor Changes
package/README.md CHANGED
@@ -36,5 +36,5 @@ pnpm --filter @lapis-notes/workspace test
36
36
 
37
37
  ## References
38
38
 
39
- - [Package spec](spec.md)
40
- - [Canonical spec](../../spec/src/20-packages/workspace/index.md)
39
+ - [Workspace contract](../../spec/src/workspace-shell.md)
40
+ - [Canonical spec](../../spec/src/workspace-shell.md)
@@ -2,6 +2,7 @@
2
2
  import { MergeEditor } from "@lapismd/design-core/diff";
3
3
  import { Button } from "@lapismd/design-core/shadcn/button";
4
4
  import FileCheckIcon from "@lucide/svelte/icons/file-check";
5
+ import Undo2Icon from "@lucide/svelte/icons/undo-2";
5
6
  import ConflictReviewControls from "./ConflictReviewControls.svelte";
6
7
  import RefreshCwIcon from "@lucide/svelte/icons/refresh-cw";
7
8
  import type {
@@ -76,6 +77,13 @@
76
77
  {/if}
77
78
  </div>
78
79
  <div class="actions">
80
+ <Button
81
+ variant="ghost"
82
+ disabled={disabled || conflict.external === undefined}
83
+ onclick={() => model.recover(conflict.path, "use-external")}
84
+ >
85
+ <Undo2Icon aria-hidden="true" />Use disk version
86
+ </Button>
79
87
  <Button
80
88
  variant="outline"
81
89
  disabled={disabled ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lapis-notes/workspace",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Lapis Notes workspace shell backed by design-core",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@lapis-notes/api": "^0.2.0",
42
- "@lapismd/design-core": "^0.7.0",
41
+ "@lapis-notes/api": "^0.2.4",
42
+ "@lapismd/design-core": "^0.8.0 || ^0.9.0",
43
43
  "@lucide/svelte": "^0.523.0",
44
- "@lapis-notes/ui": "^0.1.4"
44
+ "@lapis-notes/ui": "^0.1.6"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "svelte": "^5.0.0"