@lapis-notes/ui 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @lapis-notes/ui
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#32](https://github.com/lapismd/lapis-notes/pull/32)
8
+ [`c500f3e`](https://github.com/lapismd/lapis-notes/commit/c500f3e6530fd3b55425f9cab7bb9186f7fdb237)
9
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Install the retained UI's
10
+ clsx, tailwind-merge, Bits UI, and icon dependencies for package consumers.
11
+ Clean applications can import the published UI without relying on development
12
+ dependencies or accidentally hoisted copies.
13
+
14
+ ## 0.1.2
15
+
16
+ ### Patch Changes
17
+
18
+ - [#4](https://github.com/lapismd/lapis-notes/pull/4)
19
+ [`39f886d`](https://github.com/lapismd/lapis-notes/commit/39f886d017a28d916b3f6cac7d08b7723a04f45b)
20
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Use published Bits UI
21
+ 2.19.5 so destroyed text-selection layers stop document pointer listeners
22
+ before reading component-owned reactive state.
23
+
24
+ Retain the existing approved Link Preview selection-probe and listener cleanup
25
+ when refreshing the runtime.
26
+
27
+ - [#4](https://github.com/lapismd/lapis-notes/pull/4)
28
+ [`c1ad3c4`](https://github.com/lapismd/lapis-notes/commit/c1ad3c4acee2eac1ae87c22f66e946d2e0db3bf2)
29
+ Thanks [@stevejuma](https://github.com/stevejuma)! - Require published Design
30
+ Core 0.3.2 for native window-controls spacing, bold settings headings,
31
+ selected-tab indicators and mobile shell teardown. Consume the npm release
32
+ through portable semver ranges and lockfile integrity.
33
+
34
+ ## 0.1.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Define accessible shared search-highlight theme tokens for plugin-owned
39
+ matches.
40
+
3
41
  ## 0.1.0
4
42
 
5
43
  ### Minor Changes
package/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- AGPL-3.0-or-later
1
+ Apache-2.0
2
2
 
3
- This package is licensed under the GNU Affero General Public License v3.0 or later.
4
- See <https://www.gnu.org/licenses/agpl-3.0.en.html>.
3
+ This package is licensed under the Apache License 2.0.
4
+ See <https://www.apache.org/licenses/LICENSE-2.0>.
package/dist/theme.css CHANGED
@@ -21,6 +21,12 @@
21
21
  --text-accent: var(--ring, var(--primary));
22
22
  --text-accent-hover: var(--primary);
23
23
  --text-selection: var(--ui-workspace-selection, color-mix(in srgb, var(--ring) 20%, transparent));
24
+ --ui-search-highlight-foreground: var(--foreground);
25
+ --ui-search-highlight-background: color-mix(
26
+ in srgb,
27
+ #facc15 42%,
28
+ transparent
29
+ );
24
30
 
25
31
  /* Surfaces */
26
32
  --background-primary: var(--background);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@lapis-notes/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Public UI primitives required by Lapis Notes API consumers",
5
- "license": "AGPL-3.0-or-later",
5
+ "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/lapismd/lapis-notes.git",
@@ -65,25 +65,21 @@
65
65
  },
66
66
  "peerDependencies": {
67
67
  "svelte": "^5.0.0",
68
- "@lapismd/design-core": "^0.1.0"
68
+ "@lapismd/design-core": "^0.3.2"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@internationalized/date": "^3.8.2",
72
- "@lucide/svelte": "^0.515.0",
73
72
  "@sveltejs/package": "^2.5.0",
74
73
  "@sveltejs/vite-plugin-svelte": "^5.1.1",
75
74
  "@tailwindcss/vite": "^4.1.12",
76
75
  "@tanstack/table-core": "^8.21.3",
77
76
  "@tsconfig/svelte": "^5.0.5",
78
- "bits-ui": "2.18.1",
79
- "clsx": "^2.1.1",
80
77
  "mode-watcher": "^1.1.0",
81
78
  "paneforge": "^1.0.2",
82
79
  "publint": "^0.3.12",
83
- "svelte": "^5.38.2",
80
+ "svelte": "5.56.10",
84
81
  "svelte-check": "^4.3.1",
85
82
  "svelte-sonner": "^1.0.5",
86
- "tailwind-merge": "^3.3.1",
87
83
  "tailwind-variants": "^1.0.0",
88
84
  "tailwindcss": "^4.1.12",
89
85
  "tw-animate-css": "^1.3.7",
@@ -94,8 +90,12 @@
94
90
  "dependencies": {
95
91
  "@dnd-kit/dom": "^0.4.0",
96
92
  "@dnd-kit/svelte": "^0.4.0",
97
- "@lapismd/design-core": "^0.1.0",
98
- "fuse.js": "^7.3.0"
93
+ "@lapismd/design-core": "^0.3.2",
94
+ "@lucide/svelte": "^0.515.0",
95
+ "bits-ui": "2.19.5",
96
+ "clsx": "^2.1.1",
97
+ "fuse.js": "^7.3.0",
98
+ "tailwind-merge": "^3.3.1"
99
99
  },
100
100
  "scripts": {
101
101
  "build": "pnpm run prepack",