uniskin 1.0.0 → 1.0.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 +10 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
One semantic class vocabulary, swappable Tailwind CSS v4 UI skins.
|
|
4
4
|
|
|
5
|
+
**1.0:** the public surface is stable under semver ([policy](https://github.com/Munawarhussain729/uniskin/blob/main/docs/stability.md), [upgrading from 0.x](https://github.com/Munawarhussain729/uniskin/blob/main/docs/migrating.md)).
|
|
6
|
+
|
|
5
7
|
[Live demo](https://uniskin-css.vercel.app) · [Skin builder](https://uniskin-css.vercel.app/builder/) · [GitHub](https://github.com/Munawarhussain729/uniskin)
|
|
6
8
|
|
|
7
9
|
Write `ui-button ui-primary` once, in plain HTML, React, Vue, PHP or anything
|
|
@@ -40,7 +42,7 @@ npm install @uniskin/daisyui daisyui # optional: daisyUI look
|
|
|
40
42
|
|
|
41
43
|
Then add the `@plugin` line to your Tailwind entry CSS (see above).
|
|
42
44
|
|
|
43
|
-
Requires **tailwindcss 4.3.3 or newer
|
|
45
|
+
Requires **tailwindcss 4.3.3 or newer**, on Node 20 or 22.
|
|
44
46
|
|
|
45
47
|
## Plugin options
|
|
46
48
|
|
|
@@ -63,8 +65,8 @@ Requires **tailwindcss 4.3.3 or newer**.
|
|
|
63
65
|
|
|
64
66
|
| Kind | Classes |
|
|
65
67
|
|------------|---------|
|
|
66
|
-
| Components | `ui-button`, `ui-input`, `ui-textarea`, `ui-select`, `ui-checkbox`, `ui-radio`, `ui-switch`, `ui-field`, `ui-card`, `ui-badge`, `ui-alert`, `ui-modal`, `ui-tabs` |
|
|
67
|
-
| Parts | `ui-field-label`, `ui-field-hint`, `ui-field-error`, `ui-card-header`, `ui-card-body`, `ui-card-footer`, `ui-modal-box`, `ui-tab` |
|
|
68
|
+
| Components | `ui-button`, `ui-input`, `ui-textarea`, `ui-select`, `ui-checkbox`, `ui-radio`, `ui-switch`, `ui-field`, `ui-card`, `ui-badge`, `ui-alert`, `ui-modal`, `ui-tabs`, `ui-table`, `ui-accordion`, `ui-progress`, `ui-tooltip`, `ui-toast`, `ui-dropdown`, `ui-menu`, `ui-avatar`, `ui-skeleton`, `ui-separator`, `ui-breadcrumb`, `ui-pagination`, `ui-slider` |
|
|
69
|
+
| Parts | `ui-field-label`, `ui-field-hint`, `ui-field-error`, `ui-card-header`, `ui-card-body`, `ui-card-footer`, `ui-modal-box`, `ui-tab`, `ui-table-wrap`, `ui-accordion-item`, `ui-accordion-trigger`, `ui-accordion-panel`, `ui-tooltip-anchor`, `ui-toast-region`, `ui-menu-item`, `ui-menu-label`, `ui-menu-separator`, `ui-pagination-item` |
|
|
68
70
|
| Intent | `ui-primary`, `ui-secondary`, `ui-success`, `ui-warning`, `ui-danger` |
|
|
69
71
|
| Style | `ui-outline`, `ui-ghost`, `ui-soft` (solid is the default) |
|
|
70
72
|
| Size | `ui-sm`, `ui-lg` (medium is the default) |
|
|
@@ -110,7 +112,9 @@ export default defineAdapter({
|
|
|
110
112
|
@plugin "uniskin" { adapter: "./my-adapter.ts"; }
|
|
111
113
|
```
|
|
112
114
|
|
|
113
|
-
`npx uniskin new-adapter <name>` scaffolds one
|
|
115
|
+
`npx uniskin new-adapter <name>` scaffolds one, and `checkAdapter` from
|
|
116
|
+
`uniskin/conformance` reports which components and modifiers an adapter still
|
|
117
|
+
leaves to the default skin. See the
|
|
114
118
|
[adapter guide](https://github.com/Munawarhussain729/uniskin/blob/main/docs/writing-adapters.md).
|
|
115
119
|
|
|
116
120
|
## Documentation
|
|
@@ -119,6 +123,8 @@ export default defineAdapter({
|
|
|
119
123
|
- [CLI reference](https://github.com/Munawarhussain729/uniskin/blob/main/docs/cli.md)
|
|
120
124
|
- [Vocabulary reference](https://github.com/Munawarhussain729/uniskin/blob/main/docs/vocabulary.md)
|
|
121
125
|
- [Writing adapters](https://github.com/Munawarhussain729/uniskin/blob/main/docs/writing-adapters.md)
|
|
126
|
+
- [Stability and support policy](https://github.com/Munawarhussain729/uniskin/blob/main/docs/stability.md)
|
|
127
|
+
- [Upgrading to 1.0](https://github.com/Munawarhussain729/uniskin/blob/main/docs/migrating.md)
|
|
122
128
|
- [Changelog](https://github.com/Munawarhussain729/uniskin/blob/main/packages/uniskin/CHANGELOG.md)
|
|
123
129
|
|
|
124
130
|
## License
|