cssints 0.30.1 → 0.31.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.
Files changed (2) hide show
  1. package/docs/API.md +4 -3
  2. package/package.json +2 -2
package/docs/API.md CHANGED
@@ -3973,9 +3973,10 @@ const stories = entries(modules); // [{ id: "button--default", item: "button", v
3973
3973
  (`button`) and the story, so an app's hash is a link to a story.
3974
3974
  - **`argTypes`** is the controls model: `{ type: "boolean" }`, `{ type: "select", options }`, `{ type: "text" }`,
3975
3975
  `{ type: "number", min?, max?, step? }`, `{ type: "range", min, max, step? }`. Storybook infers a control from a
3976
- component's props; a Solid component carries none at run time, so a story declares what it wants. **The panel is the
3977
- app's**: the site draws it on the kit's `Field`, `Select`, `Switch` and `Slider`, and a story with no `argTypes` gets no
3978
- panel.
3976
+ component's props; a Solid component carries none at run time, so a story declares what it wants. The meta's are the
3977
+ file's, and a story's own `argTypes` are merged over them per arg (CSF 3's story-level `argTypes`), so a file whose
3978
+ stories have different args gives each its own. **The panel is the app's**: the site draws it on the kit's `Field`,
3979
+ `Select`, `Switch` and `Slider`, and a story with no `argTypes` gets no panel.
3979
3980
  - **`Node`** is a type parameter: `entries<JSX.Element>(modules)` on the web, `entries<NativeNode>(modules)` in
3980
3981
  `cssints-native`, and the package never names a renderer. `solid-js` is a peer (for `createComponent` alone).
3981
3982
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cssints",
3
- "version": "0.30.1",
3
+ "version": "0.31.0",
4
4
  "description": "CSS in TypeScript: typed css.* calls compiled to atomic CSS at build time (a Vite plugin)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "dependencies": {
75
- "@cssints/css-grammar": "^0.30.1",
75
+ "@cssints/css-grammar": "^0.31.0",
76
76
  "culori": "^4.0.2",
77
77
  "effect": "4.0.6",
78
78
  "happy-dom": "^20.14.5",