@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.
Files changed (2) hide show
  1. package/docs/ICONS.md +6 -7
  2. 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/` and one page per icon at `/icons/<name>/`. Each icon page shows the construction on the 24-unit grid, the meaning and when to use or avoid it, the reviewed sizes (16, 20, 24, 32 and 48px), the icon in every colour role including the inverse surface, forced-colour and print behaviour, seven copyable configurations (button with text, icon-only button, inline text, custom size, custom colour, meaningful image, decorative image), the package paths, the downloadable SVG, the release version and digest, an accessibility checklist and related icons. Page guidance lives in `catalog/icons.mjs`; geometry always comes from the compiled registry. The normal Forma build generates:
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. Add the icon's guidance (meaning, use for, avoid, example accessible name, related icons) to `catalog/icons.mjs`. The site build fails if any registry icon has no guidance or a related icon does not exist.
45
- 3. Submit new source geometry in the registry (24-unit grid, 1.8-unit strokes, round caps and joins).
46
- 4. Mark original art as `origin: original`. Third-party assets are currently disallowed by the compiler until provenance/source/license extension and review are implemented.
47
- 5. Run `npm run icons:check`, `npm run build`, `npm run site:check` and `npm run release:check`.
48
- 6. Review at 16, 20, 24, 32 CSS px; light/dark/brand; forced colors; 320px layout; and print.
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-main.231.1",
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 tests/icon-docs.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",