@jackbernnie/hiyf 0.1.6 → 0.1.7

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/AGENTS.md CHANGED
@@ -52,10 +52,10 @@ import { Box, Text } from '@jackbernnie/hiyf'
52
52
 
53
53
  `<Text>` renders all text. Pick a `variant` (a role), never a raw size.
54
54
 
55
- `Card` already has its own padding — drop content straight in (`<Card padding="md">…`),
56
- no inner wrapper needed. To make cards fill a row and stretch to equal heights,
57
- put them in `<Box flexDirection="row" gap="l">` and give each `flexGrow={1}` (sizing
58
- is the layout's job; the card's padding is fixed).
55
+ `Card` self-pads and **fills its container width** by default — drop content
56
+ straight in (`<Card padding="md">…`), no wrapper needed. For an even row of cards,
57
+ use `Grid` (`gridTemplateColumns="repeat(4, minmax(0, 1fr))"`) or a flex row of
58
+ `flexGrow={1}` slots — the layout controls across-row sizing; the card fills it.
59
59
 
60
60
  ## Token vocabulary (the entire allowed set)
61
61
 
@@ -12,7 +12,7 @@ function Card({
12
12
  "data-slot": "card",
13
13
  "data-size": size,
14
14
  className: cn(
15
- "group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card px-(--card-spacing) py-(--card-spacing) text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 [--card-spacing:--spacing(6)] has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(4)] *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",
15
+ "group/card flex w-full flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card px-(--card-spacing) py-(--card-spacing) text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 [--card-spacing:--spacing(6)] has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(4)] *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",
16
16
  className
17
17
  ),
18
18
  ...props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackbernnie/hiyf",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "human-in-your-face — a personal, LLM-safe design system. Forked from Polar's Orbit (Apache-2.0).",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",