@echelon-foundry/design-system 0.2.0-main.15.1
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/README.md +82 -0
- package/dist/all.css +3461 -0
- package/dist/assessment.css +1123 -0
- package/dist/brands/echelon.css +91 -0
- package/dist/brands/example-harbor.css +91 -0
- package/dist/brands/index.json +17 -0
- package/dist/build-metrics.json +152 -0
- package/dist/components.css +2123 -0
- package/dist/foundations.css +113 -0
- package/dist/patterns/alert.html +8 -0
- package/dist/patterns/allocation.html +24 -0
- package/dist/patterns/best-worst.html +21 -0
- package/dist/patterns/binary-choice.html +15 -0
- package/dist/patterns/checkbox.html +13 -0
- package/dist/patterns/choice-group.html +27 -0
- package/dist/patterns/collection-toolbar.html +22 -0
- package/dist/patterns/combobox.html +13 -0
- package/dist/patterns/command-palette.html +14 -0
- package/dist/patterns/composer.html +19 -0
- package/dist/patterns/conflict-review.html +17 -0
- package/dist/patterns/conversation.html +23 -0
- package/dist/patterns/dashboard-grid.html +5 -0
- package/dist/patterns/data-grid.html +30 -0
- package/dist/patterns/date-range.html +13 -0
- package/dist/patterns/dialog.html +15 -0
- package/dist/patterns/diff-viewer.html +22 -0
- package/dist/patterns/disclosure.html +6 -0
- package/dist/patterns/empty-state.html +6 -0
- package/dist/patterns/file-upload.html +19 -0
- package/dist/patterns/flyout.html +72 -0
- package/dist/patterns/hierarchical-choice.html +25 -0
- package/dist/patterns/hierarchical-multi-choice.html +27 -0
- package/dist/patterns/image-choice.html +25 -0
- package/dist/patterns/master-detail.html +16 -0
- package/dist/patterns/matrix-single.html +26 -0
- package/dist/patterns/menu.html +8 -0
- package/dist/patterns/metric-card.html +6 -0
- package/dist/patterns/mobile-action-bar.html +4 -0
- package/dist/patterns/multi-choice.html +23 -0
- package/dist/patterns/numeric-stepper.html +5 -0
- package/dist/patterns/obligation-panel.html +36 -0
- package/dist/patterns/operation-status.html +12 -0
- package/dist/patterns/ordinal-scale.html +42 -0
- package/dist/patterns/pagination.html +12 -0
- package/dist/patterns/pairwise-choice.html +21 -0
- package/dist/patterns/popover.html +6 -0
- package/dist/patterns/preview-surface.html +14 -0
- package/dist/patterns/provenance-trail.html +9 -0
- package/dist/patterns/question.html +13 -0
- package/dist/patterns/range-entry.html +18 -0
- package/dist/patterns/ranking.html +32 -0
- package/dist/patterns/readiness-checklist.html +12 -0
- package/dist/patterns/record-header.html +17 -0
- package/dist/patterns/rule-builder.html +37 -0
- package/dist/patterns/search.html +8 -0
- package/dist/patterns/segmented-control.html +13 -0
- package/dist/patterns/select.html +12 -0
- package/dist/patterns/semantic-differential.html +23 -0
- package/dist/patterns/skeleton.html +7 -0
- package/dist/patterns/slider.html +11 -0
- package/dist/patterns/special-choice.html +15 -0
- package/dist/patterns/status-lozenge.html +6 -0
- package/dist/patterns/survey-progress.html +8 -0
- package/dist/patterns/switch.html +14 -0
- package/dist/patterns/symbol-rating.html +31 -0
- package/dist/patterns/tabs.html +11 -0
- package/dist/patterns/timeline.html +19 -0
- package/dist/patterns/toast.html +10 -0
- package/dist/patterns/understanding.html +32 -0
- package/dist/patterns/validation-message.html +4 -0
- package/dist/patterns/validation-summary.html +10 -0
- package/dist/patterns/wizard.html +19 -0
- package/dist/patterns/work-queue.html +20 -0
- package/dist/skins.css +29 -0
- package/dist/tokens.css +99 -0
- package/docs/BRANDING.md +148 -0
- package/package.json +60 -0
- package/patterns/alert.html +8 -0
- package/patterns/allocation.html +24 -0
- package/patterns/assessment.manifest.md +93 -0
- package/patterns/best-worst.html +21 -0
- package/patterns/binary-choice.html +15 -0
- package/patterns/checkbox.html +13 -0
- package/patterns/choice-group.html +27 -0
- package/patterns/collection-toolbar.html +22 -0
- package/patterns/combobox.html +13 -0
- package/patterns/command-palette.html +14 -0
- package/patterns/composer.html +19 -0
- package/patterns/composer.manifest.md +27 -0
- package/patterns/conflict-review.html +17 -0
- package/patterns/conversation.html +23 -0
- package/patterns/conversation.manifest.md +21 -0
- package/patterns/dashboard-grid.html +5 -0
- package/patterns/data-grid.html +30 -0
- package/patterns/date-range.html +13 -0
- package/patterns/dialog.html +15 -0
- package/patterns/diff-viewer.html +22 -0
- package/patterns/disclosure.html +6 -0
- package/patterns/empty-state.html +6 -0
- package/patterns/file-upload.html +19 -0
- package/patterns/flyout.html +72 -0
- package/patterns/flyout.manifest.md +43 -0
- package/patterns/hierarchical-choice.html +25 -0
- package/patterns/hierarchical-multi-choice.html +27 -0
- package/patterns/image-choice.html +25 -0
- package/patterns/manifest.md +46 -0
- package/patterns/master-detail.html +16 -0
- package/patterns/matrix-single.html +26 -0
- package/patterns/menu.html +8 -0
- package/patterns/metric-card.html +6 -0
- package/patterns/mobile-action-bar.html +4 -0
- package/patterns/multi-choice.html +23 -0
- package/patterns/numeric-stepper.html +5 -0
- package/patterns/obligation-panel.html +36 -0
- package/patterns/operation-status.html +12 -0
- package/patterns/ordinal-scale.html +42 -0
- package/patterns/pagination.html +12 -0
- package/patterns/pairwise-choice.html +21 -0
- package/patterns/popover.html +6 -0
- package/patterns/preview-surface.html +14 -0
- package/patterns/provenance-trail.html +9 -0
- package/patterns/question.html +13 -0
- package/patterns/range-entry.html +18 -0
- package/patterns/ranking.html +32 -0
- package/patterns/readiness-checklist.html +12 -0
- package/patterns/record-header.html +17 -0
- package/patterns/rule-builder.html +37 -0
- package/patterns/search.html +8 -0
- package/patterns/segmented-control.html +13 -0
- package/patterns/select.html +12 -0
- package/patterns/semantic-differential.html +23 -0
- package/patterns/skeleton.html +7 -0
- package/patterns/slider.html +11 -0
- package/patterns/special-choice.html +15 -0
- package/patterns/status-lozenge.html +6 -0
- package/patterns/survey-progress.html +8 -0
- package/patterns/switch.html +14 -0
- package/patterns/symbol-rating.html +31 -0
- package/patterns/tabs.html +11 -0
- package/patterns/timeline.html +19 -0
- package/patterns/toast.html +10 -0
- package/patterns/understanding.html +32 -0
- package/patterns/understanding.manifest.md +26 -0
- package/patterns/validation-message.html +4 -0
- package/patterns/validation-summary.html +10 -0
- package/patterns/wizard.html +19 -0
- package/patterns/work-queue.html +20 -0
- package/schemas/brand-manifest.schema.json +152 -0
package/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Echelon Design System
|
|
2
|
+
|
|
3
|
+
Shared design-system infrastructure for Echelon Foundry applications.
|
|
4
|
+
|
|
5
|
+
This repository is governed by the Echelon engineering capability stack:
|
|
6
|
+
|
|
7
|
+
- State-Directed Engineering / Ordo
|
|
8
|
+
- Repository Operating System (ROS)
|
|
9
|
+
- Visual Engineering
|
|
10
|
+
- Communication Engineering
|
|
11
|
+
|
|
12
|
+
The design system will provide shared visual foundations, reusable browser-native components, application patterns, accessibility contracts, behavioral state models where warranted, and integration points for Echelon applications.
|
|
13
|
+
|
|
14
|
+
Repository requirements and implementation work should be captured through ROS and shaped by Ordo rather than treating the component catalog as the source of domain truth.
|
|
15
|
+
|
|
16
|
+
Current capability baseline:
|
|
17
|
+
|
|
18
|
+
- SDE / Ordo 1.3.0
|
|
19
|
+
- ROS 3.1.4
|
|
20
|
+
- Visual Engineering 1.0.0
|
|
21
|
+
- Communication Engineering 1.0.0
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Forma
|
|
25
|
+
|
|
26
|
+
**Forma** is the product name for this Echelon Foundry design system. The package identifier is `@echelon-foundry/design-system`. Forma 0.1.0 is the first application-consumption baseline.
|
|
27
|
+
|
|
28
|
+
Forma is intentionally zero-runtime. Semantic HTML, CSS, design tokens,
|
|
29
|
+
accessibility contracts, and visual patterns live here. Behavior beyond
|
|
30
|
+
browser-native interaction belongs to the consuming application, normally
|
|
31
|
+
through Limen.
|
|
32
|
+
|
|
33
|
+
Build the component documentation site with:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm run site:check
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The generated GitHub Pages artifact is written to `site-dist/`.
|
|
40
|
+
Agent usage rules are in [docs/AGENT-USAGE.md](docs/AGENT-USAGE.md).
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Public component examples use readable inert `<ef-*>` authoring tags around
|
|
44
|
+
the canonical native HTML:
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<ef-switch class="ef-component-tag">
|
|
48
|
+
<label class="ef-switch">
|
|
49
|
+
<input class="ef-switch__input" type="checkbox" role="switch">
|
|
50
|
+
<span class="ef-switch__track" aria-hidden="true"></span>
|
|
51
|
+
<span class="ef-switch__text">
|
|
52
|
+
<span class="ef-switch__label">Notifications</span>
|
|
53
|
+
</span>
|
|
54
|
+
</label>
|
|
55
|
+
</ef-switch>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The wrapper is not registered with `customElements.define()`; Forma remains
|
|
59
|
+
zero-runtime and the native HTML inside the tag owns semantics and interaction.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## Application consumption
|
|
63
|
+
|
|
64
|
+
Applications must consume a pinned Forma release rather than copying CSS or
|
|
65
|
+
tracking the repository branch. See
|
|
66
|
+
[docs/CONSUMING-FORMA.md](docs/CONSUMING-FORMA.md) for the canonical dependency,
|
|
67
|
+
ownership boundaries, mobile rules, and upgrade procedure.
|
|
68
|
+
|
|
69
|
+
A version tag builds and validates the exact package archive, exercises it in a
|
|
70
|
+
clean consumer, and attaches the tarball to the GitHub release. npm publishing
|
|
71
|
+
may be enabled through Trusted Publishing without changing the application
|
|
72
|
+
contract.
|
|
73
|
+
|
|
74
|
+
## Branding and skins
|
|
75
|
+
|
|
76
|
+
Forma supports versioned, scoped white-label presentation through Brand
|
|
77
|
+
Manifests and zero-runtime skin presets. Brand manifests compile to static CSS
|
|
78
|
+
custom-property scopes; applications retain runtime selection/persistence and
|
|
79
|
+
domain authority.
|
|
80
|
+
|
|
81
|
+
See [docs/BRANDING.md](docs/BRANDING.md) and
|
|
82
|
+
[requirements/WHITE-LABEL-AND-SKINNING.md](requirements/WHITE-LABEL-AND-SKINNING.md).
|