@usableapp/cardds 0.6.3 → 0.6.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  > For: a project that consumes `@usableapp/cardds` and its AI — what changed between versions, written as before → after, so a screen can be brought up to date without reading the source. Newest first. A consumer never edits cardds; if something here leaves you without a way to do what you did before, report the gap.
4
4
 
5
+ ## 0.6.4 — 2026-09-23
6
+
7
+ - **Fold card: the corner is cut** (Lh 2026-09-23): the triangle under the flap shows what is behind the card, instead of the card's own colour, which read as a second card underneath. Nothing to change in an app.
8
+ - README: the minimum browsers (Safari/iOS 18.3, Chrome 114, Firefox 128 — early 2025) and which phones that means.
9
+ - Gallery only: Settings fold away; the palette is one button that turns through them; on a small screen the settings and the component list are a drawer; the search finds a story by the words in it.
10
+
5
11
  ## 0.6.3 — 2026-09-23
6
12
 
7
13
  - **The picture is not shrunk** (Lh 2026-09-23): the 40% cap from 0.6.2 and its knob `--step-media-share` are gone. The sticky picture is `--base-content-media-h` tall, always. For 230px: `:root { --base-content-media-h: 14.375rem; }`.
package/README.md CHANGED
@@ -74,6 +74,17 @@ import '@usableapp/cardds/dist/cardds.css'; // the CSS, fonts resolve from the
74
74
  ```
75
75
 
76
76
 
77
+ **Browsers** (checked 2026-09-23): works on browsers from **early 2025** on.
78
+
79
+ | Browser | Minimum | Released | Phones |
80
+ |---|---|---|---|
81
+ | Safari / iOS | 18.3 | Jan 2025 | iPhone XS / XR (2018) and newer, updated |
82
+ | Chrome | 114 | May 2023 | most Android phones with Chrome kept up to date |
83
+ | Firefox | 128 | Jul 2024 | — |
84
+
85
+ Older than that: menus and dropdowns don't open. On browsers between the minimum and
86
+ the newest, a menu opens in the middle of the screen instead of under its button.
87
+
77
88
  Working with Claude in another project? The `/cardds` skill
78
89
  (`~/.claude/skills/cardds/`) carries the install and the contract, and points
79
90
  back here. It is deliberately thin — **this repo stays the source of truth**,
package/css/media.css CHANGED
@@ -121,6 +121,12 @@
121
121
  background-repeat: no-repeat;
122
122
  background-position: bottom right;
123
123
  background-size: var(--sp-8) var(--sp-8);
124
+ background-origin: border-box; /* the flap sits on the true corner, not inside the (transparent) border */
125
+ /* the corner is CUT: the triangle under the flap shows what is behind the card. Painted in the card's own colour it
126
+ read as the square corner of a second card underneath (Lh 2026-09-23). The polygon reaches 3rem past the other
127
+ edges so a coloured palette's shadow is not clipped there. */
128
+ clip-path: polygon(-3rem -3rem, calc(100% + 3rem) -3rem, calc(100% + 3rem) calc(100% - var(--sp-8) - 3rem),
129
+ calc(100% - var(--sp-8) - 3rem) calc(100% + 3rem), -3rem calc(100% + 3rem));
124
130
  }
125
131
 
126
132
  /* ---- wave: audio waveform stand-in for voice rows ----
package/dist/cardds.css CHANGED
@@ -2998,6 +2998,12 @@ button { font: inherit; cursor: pointer; }
2998
2998
  background-repeat: no-repeat;
2999
2999
  background-position: bottom right;
3000
3000
  background-size: var(--sp-8) var(--sp-8);
3001
+ background-origin: border-box; /* the flap sits on the true corner, not inside the (transparent) border */
3002
+ /* the corner is CUT: the triangle under the flap shows what is behind the card. Painted in the card's own colour it
3003
+ read as the square corner of a second card underneath (Lh 2026-09-23). The polygon reaches 3rem past the other
3004
+ edges so a coloured palette's shadow is not clipped there. */
3005
+ clip-path: polygon(-3rem -3rem, calc(100% + 3rem) -3rem, calc(100% + 3rem) calc(100% - var(--sp-8) - 3rem),
3006
+ calc(100% - var(--sp-8) - 3rem) calc(100% + 3rem), -3rem calc(100% + 3rem));
3001
3007
  }
3002
3008
 
3003
3009
  /* ---- wave: audio waveform stand-in for voice rows ----
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usableapp/cardds",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "description": "card-first mobile design system, React-first: the components in src/ are thin wrappers over the CSS contract (css/*.css stays the only truth); gallery/ shows every story live (npm run dev), tests/ measures the geometry.",