@nice2dev/ui-designers 1.0.12 → 1.0.14
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 +14 -0
- package/dist/index.cjs +288 -286
- package/dist/index.mjs +28866 -24836
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,3 +18,17 @@ npm install @nice2dev/ui-designers @nice2dev/ui @nice2dev/i18n
|
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Requires `@nice2dev/ui` & `@nice2dev/i18n` as peer dependencies.
|
|
21
|
+
|
|
22
|
+
## Styling
|
|
23
|
+
|
|
24
|
+
This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import '@nice2dev/ui/style.css';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
|
|
34
|
+
```
|