@echelon-foundry/design-system 0.5.0-main.231.1 → 0.5.0
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/docs/ICONS.md +6 -7
- package/package.json +2 -2
package/docs/ICONS.md
CHANGED
|
@@ -10,7 +10,7 @@ npm run build
|
|
|
10
10
|
npm pack --dry-run
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
The documentation site also publishes a complete categorized, copyable gallery at `/icons
|
|
13
|
+
The documentation site also publishes a complete categorized, copyable gallery at `/icons/`. The normal Forma build generates:
|
|
14
14
|
|
|
15
15
|
- `dist/icons/<name>.svg`: static SVG for `<img>`, CSS or print use
|
|
16
16
|
- `dist/icons/html/<name>.html`: pre-rendered decorative inline SVG with inert `<ef-icon>` authoring tag and `.ef-icon` presentation span
|
|
@@ -41,11 +41,10 @@ Default size is `1.25em`. Set `--ef-icon-size: 1rem` or `2rem` on an icon's pres
|
|
|
41
41
|
## Contribution rules
|
|
42
42
|
|
|
43
43
|
1. Choose a stable lower-kebab-case ID and an appropriate semantic category.
|
|
44
|
-
2.
|
|
45
|
-
3.
|
|
46
|
-
4.
|
|
47
|
-
5.
|
|
48
|
-
6.
|
|
49
|
-
7. Never edit the generated `dist/icons` files, add scripts/filters/external hrefs, or make icons interactive themselves.
|
|
44
|
+
2. Submit new source geometry in the registry (24-unit grid, 1.8-unit strokes, round caps and joins).
|
|
45
|
+
3. Mark original art as `origin: original`. Third-party assets are currently disallowed by the compiler until provenance/source/license extension and review are implemented.
|
|
46
|
+
4. Run `npm run icons:check`, `npm run build`, and `npm run release:check`.
|
|
47
|
+
5. Review at 16, 20, 24, 32 CSS px; light/dark/brand; forced colors; 320px layout; and print.
|
|
48
|
+
6. Never edit the generated `dist/icons` files, add scripts/filters/external hrefs, or make icons interactive themselves.
|
|
50
49
|
|
|
51
50
|
See `requirements/ICON-SYSTEM.md` and `docs/decisions/ADR-2026-10-07-icon-foundation.md`. Additional work items own production catalog integration, comprehensive browser visual/a11y tests, Forma Studio and Folio consumers, and the next icon batch.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@echelon-foundry/design-system",
|
|
3
|
-
"version": "0.5.0
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Zero-runtime HTML and CSS design system for Echelon Foundry applications.",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"test:motion": "node --test tests/motion-audit.test.mjs tests/motion-gate.test.mjs && node tools/motion-audit.mjs --strict",
|
|
65
65
|
"check": "npm run build && npm run icons:check && npm run test:tokens && npm run test:brands && npm run test:runtime && npm run test:motion && npm run test:marketing && npm run test:character-grid && npm run test:figma && npm run test:css && npm run test:package && npm run workflow:test && npm run workflow:build && npm run test:workflow-package && npm run test:browser",
|
|
66
66
|
"site:build": "npm run build && node tools/build-site.mjs",
|
|
67
|
-
"site:test": "node --test tests/site-build.test.mjs tests/catalog-coverage.test.mjs
|
|
67
|
+
"site:test": "node --test tests/site-build.test.mjs tests/catalog-coverage.test.mjs",
|
|
68
68
|
"site:check": "npm run site:build && npm run catalog:check && npm run site:test && npm run site:mobile",
|
|
69
69
|
"site:mobile": "playwright test --config=playwright.site.config.mjs",
|
|
70
70
|
"pack:verify": "npm run build && npm pack --dry-run",
|