@usableapp/cardds 0.7.96 → 0.7.97
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 +7 -0
- package/LICENSE +21 -0
- package/README.md +3 -1131
- package/bin/cardds.mjs +1 -1
- package/css/actions.css +2 -2
- package/css/numbers.css +1 -1
- package/css/palette.css +1 -1
- package/css/stack.css +1 -1
- package/css/theme.template.css +2 -2
- package/css/tokens.css +2 -2
- package/dist/actions/Chip.d.ts +1 -1
- package/dist/actions/Dropdown.d.ts +1 -1
- package/dist/cardds.css +7 -7
- 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 +1137 -0
- package/lib/guide.mjs +1 -1
- package/package.json +2 -1
package/lib/guide.mjs
CHANGED
|
@@ -7,7 +7,7 @@ ORDER: find → scaffold or get → write → check. First question: has cardds
|
|
|
7
7
|
TOOLS: find_components · scaffold_screen · get_component · list_components · check_source. No MCP: npx cardds find|scaffold|get|list|check (all take --json).
|
|
8
8
|
What no checker sees:
|
|
9
9
|
1. cardds is a framework you take from outside. Never edit, commit to or release cardds from a consumer project, never node_modules. What cannot be set from outside is a framework gap: STOP and tell the user exactly what you needed.
|
|
10
|
-
2. Adjust from outside only, widest first: theme.css bases → knobs (--<component>-<what>) → props/slots. The theme's values are the user's call; never pick them. cardGrounds() names a card the member cannot see on that theme; inkGrounds() a word or glyph they cannot read (
|
|
10
|
+
2. Adjust from outside only, widest first: theme.css bases → knobs (--<component>-<what>) → props/slots. The theme's values are the user's call; never pick them. cardGrounds() names a card the member cannot see on that theme; inkGrounds() a word or glyph they cannot read (docs/reference.md).
|
|
11
11
|
3. Every component is controlled like an input (state/open/value + its on…, or default…) and none knows another: the app owns the state and wires them.
|
|
12
12
|
4. Import components, never copy their markup or classes: a component is the look AND the behaviour.
|
|
13
13
|
5. Mobile only, big targets; never adapt it to desktop.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.97",
|
|
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.",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"cardds.js",
|
|
64
64
|
"icons.svg",
|
|
65
65
|
"README.md",
|
|
66
|
+
"docs/reference.md",
|
|
66
67
|
"CHANGELOG.md"
|
|
67
68
|
],
|
|
68
69
|
"peerDependencies": {
|