@lenso/primitives 0.9.0 → 0.9.1
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 +9 -1
- package/package.json +1 -1
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,6 +27,13 @@ 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`.
|