@usableapp/cardds 0.7.96 → 0.7.98
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 +18 -1
- package/LICENSE +21 -0
- package/README.md +3 -1131
- package/bin/cardds.mjs +1 -1
- package/css/actions.css +2 -2
- package/css/finish.css +3 -4
- package/css/numbers.css +1 -1
- package/css/palette.css +7 -9
- package/css/stack.css +1 -1
- package/css/theme.template.css +2 -2
- package/css/tokens.css +3 -3
- package/dist/actions/Chip.d.ts +1 -1
- package/dist/actions/Dropdown.d.ts +1 -1
- package/dist/cardds.css +17 -20
- package/dist/cards/cardGrounds.js +1 -1
- package/dist/cards/inkGrounds.d.ts +1 -1
- package/dist/cards/inkGrounds.js +1 -1
- package/dist/catalog.json +1 -1
- package/docs/reference.md +1135 -0
- package/lib/guide.mjs +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
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.
|
|
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. Each release section after 0.7.97 carries one `Components:` line, written by `node scripts/components-changed.mjs <previous tag>`: the components the release changed, or `all` when a file changed that any component can read (a token, the build), or `none`; check only the screens that import those.
|
|
4
|
+
|
|
5
|
+
## 0.7.98 — 2026-10-18
|
|
6
|
+
|
|
7
|
+
Components: all
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **A release names the components it changed.** Before → after: a project taking a new version could not tell which screens it reaches, so it re-ran all of them → each section from this one on carries one `Components:` line (names, `all` when a shared file such as a token changed, or `none`), written by `node scripts/components-changed.mjs <previous tag>`; `npm run release` publishes no version without it. Check only the screens that import what it names.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- **A card has no edge again** (Lh 2026-10-18: "this design never used a card edge"). Before → after: 0.7.96 set `--card-border: var(--on-surface-muted)` under any `data-palette` and kept it under the `lit` and `sticker` finishes, so every card, and every `SheetStack` and `Sheet` sheet (each is a `.card`), drew a 1.5px line → `--card-border` is `transparent` in coloured mode and under every finish, as before 0.7.96; `print` and `ink` draw their own line as the finish; the wireframe keeps its black line. A card stands apart from its ground by its fill: `cardGrounds()` still measures it, and a failing row now names only the fill's tokens (`--card-N-bg` or the ground's) and its shortfall, never an edge. `tests/card-grounds.spec.js` no longer holds every stock palette to 3:1, because the light tones on a light ground do not reach it by fill; which colours carry it is the theme's call. A project that wants the line back sets `--card-border` in its own `theme.css`.
|
|
14
|
+
|
|
15
|
+
## 0.7.97 — 2026-10-18
|
|
16
|
+
|
|
17
|
+
Docs only; no component, prop, class or token changes (Lh 2026-10-18: the README says what cardds is, nothing more).
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- **The README is a few lines on what cardds is.** Before → after: the README held the whole reference (install, markup, the rules of the system, the theme, ink) → it says what cardds is and links on. The reference moves unchanged to **`docs/reference.md`**, shipped in the package beside the README. Every pointer that named a README section (`npx cardds guide`, the MCP instructions, doc comments, the CSS comments) now names `docs/reference.md`; the section names are the same.
|
|
4
21
|
|
|
5
22
|
## 0.7.96 — 2026-10-18
|
|
6
23
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright (c) 2026 everysundays. All rights reserved.
|
|
2
|
+
|
|
3
|
+
cardds is unfinished work. Its source is public so that it can be read,
|
|
4
|
+
not so that it can be used.
|
|
5
|
+
|
|
6
|
+
No licence is granted. You may not use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense or sell this software or any part of it, and you
|
|
8
|
+
may not install the @usableapp/cardds package in a project, without the
|
|
9
|
+
prior written permission of the copyright holder.
|
|
10
|
+
|
|
11
|
+
Viewing the source on GitHub, and forking it on GitHub as the GitHub Terms
|
|
12
|
+
of Service allow, does not grant any right beyond that.
|
|
13
|
+
|
|
14
|
+
The fonts in fonts/ are not covered by this notice. Each keeps its own
|
|
15
|
+
licence, listed in fonts/LICENSES.md.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING
|
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
|