@supatype/ui 0.9.1 → 0.10.0
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 +15 -11
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
### Breaking Changes
|
|
6
|
-
|
|
7
|
-
* **rich-text:** `RichTextEditor` and `RichTextEditorProps` moved to `@supatype/ui/rich-text`.
|
|
8
|
-
Importing them from `@supatype/ui` fails; change the import to
|
|
9
|
-
`import { RichTextEditor } from "@supatype/ui/rich-text"`. The main entry no longer loads Lexical,
|
|
10
|
-
so an app that never renders the editor no longer needs the Lexical packages, which are now
|
|
11
|
-
optional peer dependencies. The rich text helpers (`emptyRichTextDocument`, `richTextIsEmpty`,
|
|
12
|
-
`stringToRichTextDocument`, `normalizeRichTextDefault`) and the `SerializedEditorState` types stay
|
|
13
|
-
in `@supatype/ui`.
|
|
3
|
+
## 0.9.1 (2026-11-09)
|
|
14
4
|
|
|
15
5
|
### Features
|
|
16
6
|
|
|
@@ -22,6 +12,18 @@
|
|
|
22
12
|
elements, so screen readers get the table, row, column header and cell roles. They hold no data
|
|
23
13
|
logic: map your rows into them.
|
|
24
14
|
|
|
15
|
+
## 0.9.0 (2026-11-04)
|
|
16
|
+
|
|
17
|
+
### Breaking Changes
|
|
18
|
+
|
|
19
|
+
* **rich-text:** `RichTextEditor` and `RichTextEditorProps` moved to `@supatype/ui/rich-text`.
|
|
20
|
+
Importing them from `@supatype/ui` fails; change the import to
|
|
21
|
+
`import { RichTextEditor } from "@supatype/ui/rich-text"`. The main entry no longer loads Lexical,
|
|
22
|
+
so an app that never renders the editor no longer needs the Lexical packages, which are now
|
|
23
|
+
optional peer dependencies. The rich text helpers (`emptyRichTextDocument`, `richTextIsEmpty`,
|
|
24
|
+
`stringToRichTextDocument`, `normalizeRichTextDefault`) and the `SerializedEditorState` types stay
|
|
25
|
+
in `@supatype/ui`.
|
|
26
|
+
|
|
25
27
|
### Bug Fixes
|
|
26
28
|
|
|
27
29
|
* **styles:** `@supatype/ui/styles.css` exists. The package exported it, but no build produced it,
|
|
@@ -50,3 +52,5 @@
|
|
|
50
52
|
* **readme:** a README covering install, the Tailwind setup the components need (v4 `@source`, v3
|
|
51
53
|
`content`, class-based dark mode for `ThemeProvider`), the stylesheet, the exports and the
|
|
52
54
|
rich-text entry.
|
|
55
|
+
|
|
56
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supatype/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Shared React components for Supatype apps, styled with Tailwind, plus a Lexical rich text editor",
|
|
6
6
|
"type": "module",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"clsx": "^2.1.0",
|
|
61
|
-
"@supatype/types": "0.
|
|
61
|
+
"@supatype/types": "0.10.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@lexical/link": "^0.43.0",
|