ropav 0.1.9 → 0.2.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 +13 -5
- package/dist/base.css +570 -773
- package/dist/calendar.css +1 -1
- package/dist/color-input.css +3 -7
- package/dist/color-picker.css +2 -6
- package/dist/color-swatch.css +2 -6
- package/dist/combobox.css +5 -5
- package/dist/componentColors.js +29 -25
- package/dist/components/alert/types.d.ts +1 -1
- package/dist/components/avatar/types.d.ts +1 -1
- package/dist/components/badge/types.d.ts +1 -1
- package/dist/components/pagination/types.d.ts +1 -1
- package/dist/components/progress/types.d.ts +1 -1
- package/dist/components/segmented-control/types.d.ts +1 -1
- package/dist/components/slider/types.d.ts +1 -1
- package/dist/components/toast/types.d.ts +1 -1
- package/dist/date-picker.css +1 -1
- package/dist/dropdown-menu.css +7 -7
- package/dist/field.css +1 -1
- package/dist/hover-card.css +1 -1
- package/dist/modal.css +1 -1
- package/dist/multi-select.css +5 -5
- package/dist/pagination.css +1 -1
- package/dist/popover.css +2 -2
- package/dist/select.css +5 -5
- package/dist/slider.css +3 -3
- package/dist/tabs.css +3 -3
- package/dist/tags-input.css +1 -1
- package/dist/textarea.css +1 -1
- package/dist/toast.css +1 -1
- package/dist/tooltip.css +1 -1
- package/dist/utils/componentColors.d.ts +2 -4
- package/docs/code-architecture.md +147 -0
- package/docs/public-styles-api.md +8 -6
- package/docs/releasing.md +39 -0
- package/package.json +37 -16
- package/src/styles/_mixins.scss +2 -6
- package/src/styles/_tokens.scss +4 -833
- package/src/styles/generated/showcase.html +274 -0
- package/src/styles/generated/tokens.css +592 -0
- package/src/styles/generated/tokens.md +583 -0
- package/src/styles/generated/tokens.scss +1134 -0
- package/tokens/manifest.json +6164 -0
- package/docs/public-tokens.md +0 -685
- package/src/styles/_variables.scss +0 -243
- package/src/styles/styles-manifest.json +0 -5244
package/README.md
CHANGED
|
@@ -140,14 +140,22 @@ import IconSearch from '~icons/lucide/search';
|
|
|
140
140
|
|
|
141
141
|
Use typed `classNames` and `styles`, documented state attributes, and variables listed in the packaged styles manifest. DOM nesting, internal selectors and undocumented variables are private implementation details.
|
|
142
142
|
|
|
143
|
-
See the [Public Styles API](./docs/public-styles-api.md) and
|
|
143
|
+
See the [Public Styles API](./docs/public-styles-api.md) and the generated token docs shipped in `src/styles/generated/` (`tokens.md`, `showcase.html`). Consumers can declare `reset, ropav.tokens, ropav.components, app` to establish their cascade layer order.
|
|
144
|
+
|
|
145
|
+
Dark mode: set `data-scheme="dark"` on `<html>` (tokens are `light-dark()` values; without the attribute the OS preference applies).
|
|
144
146
|
|
|
145
147
|
For headless floating content and custom overlay markup, see the
|
|
146
148
|
[public floating API](./docs/public-floating-api.md).
|
|
147
149
|
|
|
148
150
|
## Development
|
|
149
151
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
```bash
|
|
153
|
+
pnpm install
|
|
154
|
+
pnpm verify
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
The `verify` script runs lint, formatting, architecture contracts, type checks, unit and storybook
|
|
158
|
+
tests, and the full package verification (`test:package`). Run `pnpm run storybook` to develop
|
|
159
|
+
against the component stories. Contributors should follow the
|
|
160
|
+
[code architecture guide](./docs/code-architecture.md) for module seams, dependency direction, and
|
|
161
|
+
testing conventions; package release is documented in the [release guide](./docs/releasing.md).
|