@lenso/primitives 0.9.0 → 0.9.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/README.md +18 -12
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @lenso/primitives
|
|
2
2
|
|
|
3
|
-
`@lenso/primitives` contains headless, style-free
|
|
3
|
+
`@lenso/primitives` contains headless, style-free product primitives composed
|
|
4
|
+
with UI SDK. Sidebar supplies the composable React shell panel:
|
|
4
5
|
|
|
5
6
|
```bash
|
|
6
7
|
pnpm add @lenso/primitives @ui-sdk/react @ui-sdk/core react
|
|
@@ -26,21 +27,26 @@ The framework-independent `sidebar` definition and controller are exported from
|
|
|
26
27
|
`@lenso/primitives/sidebar/core`; React parts are generated with SDK `createParts`.
|
|
27
28
|
Use `@lenso/ui/sidebar` for styled navigation inside a panel. The registry also includes an editable Sidebar Recipe for Consumers that need structural ownership.
|
|
28
29
|
|
|
30
|
+
Other public entries provide SectionIndex and SwipeActions React parts and core
|
|
31
|
+
definitions (`/section-index`, `/swipe-actions` and their `/core` entries).
|
|
32
|
+
`/model-control`, `/list/core` and `/wheel-picker/core` provide shared domain
|
|
33
|
+
value, editable-list and wheel-picker primitives used by the styled UI families.
|
|
34
|
+
These core entries have no React runtime; they do not add replacement Command,
|
|
35
|
+
DataGrid or ResizeHandle component APIs.
|
|
36
|
+
|
|
29
37
|
Source and browser tests live under `packages/primitives/src/sidebar`. See the repository [component conventions](../../docs/design/component-conventions.md) for the dependency boundary and the [contributing guide](../../CONTRIBUTING.md) for changes and release verification.
|
|
30
38
|
|
|
31
39
|
Unstyled Command parts are available directly from `@ui-sdk/react/command`.
|
|
32
40
|
Use `@lenso/ui/command` for the Lenso presentation.
|
|
33
41
|
|
|
34
|
-
##
|
|
42
|
+
## TypeScript compatibility
|
|
35
43
|
|
|
36
|
-
UI SDK 0.1.0-beta.
|
|
37
|
-
`exactOptionalPropertyTypes: true
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
with `skipLibCheck: false`. Building Lenso with this setting does not repair
|
|
41
|
-
the upstream declarations for consumers that enable exact optional properties.
|
|
44
|
+
With UI SDK 0.1.0-beta.8, these primitives use `strict: true`,
|
|
45
|
+
`exactOptionalPropertyTypes: true` and `skipLibCheck: false`. The installed-consumer
|
|
46
|
+
regression checks the packed declarations and SDK `createParts` calls under the
|
|
47
|
+
same settings. No dependency patch or runtime compatibility layer is included.
|
|
42
48
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
This support is scoped to `@lenso/primitives`, not every UI SDK component or the
|
|
50
|
+
full `@lenso/ui` package. Beta.8 still has exact-optional declaration issues in
|
|
51
|
+
Tooltip and Preferences. See [the compatibility report](../../docs/upstream-ui-sdk-types.md)
|
|
52
|
+
for the remaining limitations and historical investigation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenso/primitives",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Headless product primitives for Lenso UI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"typecheck": "bun check --no-script --noEmit"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@ui-sdk/core": "0.1.0-beta.
|
|
65
|
-
"@ui-sdk/react": "0.1.0-beta.
|
|
64
|
+
"@ui-sdk/core": "0.1.0-beta.8",
|
|
65
|
+
"@ui-sdk/react": "0.1.0-beta.8"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/bun": "1.4.4",
|