@cssints/layout 0.1.0 → 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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -102,7 +102,7 @@ center | baseline | stretch`, `side` is `left | right`. Tokens go where a length
102
102
  - **Conflicts.** A `cn()` that holds a primitive and a property its core sets is a build error at the call, derived from
103
103
  the kernel: `cn(stack(), display("grid"))` is
104
104
  `cssints: layout: kernel stack-core sets display, flex-direction, gap (this style also sets display)`, and `cn(autoGrid(), rowGap("1rem"))` fails as well (a longhand of `gap`). Padding, sizes and
105
- colours do not conflict, nor do the properties the kernel sets on the children (`cn(switcher(), flexGrow(0))` is fine). Conflicts across `cx()` are not seen, as for any plugin.
105
+ colours do not conflict, nor do the properties the kernel sets on the children (`cn(switcher(), flexGrow(0))` is fine). Conflicts with an opaque runtime string in `cn()` are not seen, as for any plugin.
106
106
  - **No leak into nested primitives.** The defaults are set on every primitive, so a `stack()` inside a `stack().gap(8)`
107
107
  has a gap of 1rem, not 2rem.
108
108
  - **The children.** `sidebar()` sizes its first and last child (the first is the sidebar, or the last with
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssints/layout",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Layout primitives for cssints: stack, cluster, sidebar, switcher, cover and autoGrid as chain members",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  "peerDependencies": {
24
- "cssints": "^0.1.0"
24
+ "cssints": "^0.2.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=22"