@nice2dev/ui-security 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/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,20 @@ npm install @nice2dev/ui-security
|
|
|
21
21
|
|
|
22
22
|
Early alpha — zero test coverage. Use in production at your own risk.
|
|
23
23
|
|
|
24
|
+
## Styling
|
|
25
|
+
|
|
26
|
+
This package ships unstyled component logic. Import the shared CSS bundle once at your app entrypoint:
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
import '@nice2dev/ui/style.css';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Optional: opt into the legacy shorthand token aliases (`--bg-*`, `--text-*`, `--border-*`, ...) when migrating from a custom design-token system:
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import '@nice2dev/ui/css/legacy-bg-text-aliases.css';
|
|
36
|
+
```
|
|
37
|
+
|
|
24
38
|
## License
|
|
25
39
|
|
|
26
40
|
MIT © NiceToDev
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice2dev/ui-security",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Nice2Dev Security — Biometric authentication (fingerprint, iris, face), security keypads, PIN entry, pattern lock, liveness detection for React. Frontend-first with optional backend verification.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|