@animus-ui/core 0.1.0-next.21 → 0.1.0-next.23

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/CLAUDE.md +2 -5
  2. package/package.json +1 -1
package/CLAUDE.md CHANGED
@@ -29,11 +29,8 @@ This order defines cascade priority. Later stages override earlier. The chain ma
29
29
  ## Responsive Syntax
30
30
 
31
31
  ```tsx
32
- // Array: [default, xs, sm, md, lg, xl]
33
- p={[8, 12, , 16]}
34
-
35
- // Object: named breakpoints
32
+ // Object: named breakpoints (keys come from createTheme breakpoints config)
36
33
  p={{ _: 8, sm: 16 }}
37
34
  ```
38
35
 
39
- Both generate equivalent `@media` queries. Available in `.styles()`, `.variant()`, `.states()`, and component props.
36
+ The `_` key is the default (no media query). Named keys generate `@media` queries. Available in `.styles()`, `.variant()`, `.states()`, and component props. Breakpoint keys are user-defined via `createTheme({ breakpoints: {...} })` — types contract to exactly the configured keys.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@animus-ui/core",
3
3
  "description": "Constraint based CSS in JS Foundations",
4
- "version": "0.1.0-next.21",
4
+ "version": "0.1.0-next.23",
5
5
  "keywords": [
6
6
  "emotion",
7
7
  "css",