@usableapp/cardds 0.7.116 → 0.7.117
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 +12 -0
- package/bin/cardds.mjs +1 -1
- package/css/palette.css +2 -3
- package/dist/cardds.css +2 -3
- package/dist/catalog.json +1 -1
- package/docs/reference.md +0 -1
- package/package.json +1 -5
package/docs/reference.md
CHANGED
|
@@ -38,7 +38,6 @@ licences (`fonts/LICENSES.md`).
|
|
|
38
38
|
npm install
|
|
39
39
|
npm run dev # the gallery on http://localhost:5174 — every story, searchable
|
|
40
40
|
npm run build # the library: icons → src/type/icons.ts · tsc → dist/ (ESM + .d.ts) · dist/cardds.css (flattened)
|
|
41
|
-
npm test # Playwright: the tokens and the step/sheet/centre geometry on tests/fixtures/, the gallery's stories and behaviours
|
|
42
41
|
```
|
|
43
42
|
|
|
44
43
|
```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usableapp/cardds",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.117",
|
|
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.",
|
|
@@ -11,16 +11,12 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"dev": "vite --config gallery/vite.config.ts",
|
|
13
13
|
"build": "node scripts/build-icons.mjs && tsc -p tsconfig.json && node scripts/flatten-css.mjs && node scripts/build-catalog.mjs",
|
|
14
|
-
"test": "playwright test",
|
|
15
14
|
"validate:inbox": "node scripts/validate-inbox.mjs",
|
|
16
15
|
"release": "node scripts/publish.mjs",
|
|
17
16
|
"release:check": "node scripts/publish.mjs --check",
|
|
18
|
-
"ci": "node scripts/ci.mjs",
|
|
19
17
|
"prepack": "npm run build",
|
|
20
18
|
"knobs": "node scripts/knobs.mjs",
|
|
21
19
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p gallery/tsconfig.json --noEmit",
|
|
22
|
-
"snapshot:write": "CARDDS_SNAPSHOT=write playwright test tests/style-snapshot.spec.js",
|
|
23
|
-
"snapshot:check": "CARDDS_SNAPSHOT=check playwright test tests/style-snapshot.spec.js",
|
|
24
20
|
"dup": "jscpd",
|
|
25
21
|
"check": "node scripts/own-values.mjs && node bin/cardds.mjs check .design-sync/previews gallery/src"
|
|
26
22
|
},
|