@sorb/leaf 0.2.1 → 0.4.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/README.md +8 -2
- package/dist/core.js +723 -0
- package/dist/core.js.map +7 -0
- package/dist/core.mjs +701 -0
- package/dist/core.mjs.map +7 -0
- package/dist/index.js +985 -65
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +983 -63
- package/dist/index.mjs.map +4 -4
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# @sorb/leaf
|
|
2
2
|
|
|
3
|
-
React
|
|
4
|
-
tokens
|
|
3
|
+
React SDK for Sorb™, the design-token bridge for your running app — live-preview
|
|
4
|
+
proposed tokens as CSS custom properties. (Leaf: the foliage in your app.)
|
|
5
|
+
|
|
6
|
+
Ships in your app bundle — zero runtime dependencies beyond React.
|
|
5
7
|
|
|
6
8
|
```bash
|
|
7
9
|
npm install @sorb/leaf
|
|
@@ -80,3 +82,7 @@ const { isPreview, previewId, clearPreview } = usePreviewState()
|
|
|
80
82
|
|
|
81
83
|
See the [main README](https://github.com/nhunsaker/sorb#readme) for the
|
|
82
84
|
full workflow.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
**Sorb™** is a trademark of Metatoy LLC.
|