@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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div class="ef-validation-summary" role="alert" tabindex="-1" aria-labelledby="validation-summary-title">
|
|
2
|
+
<div class="ef-validation-summary__icon" aria-hidden="true">!</div>
|
|
3
|
+
<div>
|
|
4
|
+
<h2 class="ef-validation-summary__title" id="validation-summary-title">There are 2 responses to review</h2>
|
|
5
|
+
<ul class="ef-validation-summary__list">
|
|
6
|
+
<li><a href="#question-security">Question 4 requires a response.</a></li>
|
|
7
|
+
<li><a href="#question-allocation">Question 8 must total 10 points.</a></li>
|
|
8
|
+
</ul>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<section class="ef-wizard" aria-labelledby="wizard-title">
|
|
2
|
+
<header class="ef-wizard__header">
|
|
3
|
+
<div><span class="ef-wizard__position">Step 2 of 4</span><h3 id="wizard-title">Review details</h3></div>
|
|
4
|
+
<progress value="2" max="4" aria-label="Workflow progress">2 of 4</progress>
|
|
5
|
+
</header>
|
|
6
|
+
<ol class="ef-wizard__steps" aria-label="Workflow steps">
|
|
7
|
+
<li data-state="complete"><span>1</span>Details</li>
|
|
8
|
+
<li data-state="current" aria-current="step"><span>2</span>Review</li>
|
|
9
|
+
<li><span>3</span>Validate</li>
|
|
10
|
+
<li><span>4</span>Publish</li>
|
|
11
|
+
</ol>
|
|
12
|
+
<div class="ef-wizard__body">
|
|
13
|
+
<p>Confirm the supplied information before continuing.</p>
|
|
14
|
+
</div>
|
|
15
|
+
<footer class="ef-wizard__actions">
|
|
16
|
+
<button type="button">Back</button>
|
|
17
|
+
<button type="button">Continue</button>
|
|
18
|
+
</footer>
|
|
19
|
+
</section>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<section class="ef-work-queue" aria-labelledby="work-queue-title">
|
|
2
|
+
<header class="ef-work-queue__header">
|
|
3
|
+
<div><span class="ef-component-kicker">Attention</span><h3 id="work-queue-title">Needs your attention</h3></div>
|
|
4
|
+
<span class="ef-status-lozenge">3 items</span>
|
|
5
|
+
</header>
|
|
6
|
+
<ol class="ef-work-queue__list">
|
|
7
|
+
<li class="ef-work-queue__item">
|
|
8
|
+
<div><strong>Invoice INV-1042 is overdue</strong><p>32 days overdue · Customer follow-up is available.</p></div>
|
|
9
|
+
<button type="button">Review</button>
|
|
10
|
+
</li>
|
|
11
|
+
<li class="ef-work-queue__item">
|
|
12
|
+
<div><strong>Write outcome is unknown</strong><p>Reconcile before retrying or assuming failure.</p></div>
|
|
13
|
+
<button type="button">Reconcile</button>
|
|
14
|
+
</li>
|
|
15
|
+
<li class="ef-work-queue__item">
|
|
16
|
+
<div><strong>Publication validation has warnings</strong><p>2 warnings require review before publishing.</p></div>
|
|
17
|
+
<button type="button">Inspect</button>
|
|
18
|
+
</li>
|
|
19
|
+
</ol>
|
|
20
|
+
</section>
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://echelonfoundry.com/schemas/forma-brand-manifest.schema.json",
|
|
4
|
+
"title": "Forma Brand Manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "id", "identity", "themes"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "1.0" },
|
|
10
|
+
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
11
|
+
"identity": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"required": ["name"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": { "type": "string", "minLength": 1 },
|
|
17
|
+
"shortName": { "type": "string", "minLength": 1 },
|
|
18
|
+
"assets": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"properties": {
|
|
22
|
+
"logo": { "type": "string", "minLength": 1 },
|
|
23
|
+
"logoDark": { "type": "string", "minLength": 1 },
|
|
24
|
+
"mark": { "type": "string", "minLength": 1 },
|
|
25
|
+
"favicon": { "type": "string", "minLength": 1 }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"presentation": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"properties": {
|
|
34
|
+
"fontFamily": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"properties": {
|
|
38
|
+
"display": { "$ref": "#/$defs/fontFamily" },
|
|
39
|
+
"sans": { "$ref": "#/$defs/fontFamily" },
|
|
40
|
+
"mono": { "$ref": "#/$defs/fontFamily" }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"radius": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"properties": {
|
|
47
|
+
"small": { "$ref": "#/$defs/dimension" },
|
|
48
|
+
"medium": { "$ref": "#/$defs/dimension" },
|
|
49
|
+
"pill": { "$ref": "#/$defs/dimension" }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"themes": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": ["light", "dark"],
|
|
58
|
+
"properties": {
|
|
59
|
+
"light": { "$ref": "#/$defs/theme" },
|
|
60
|
+
"dark": { "$ref": "#/$defs/theme" }
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"terms": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": { "type": "string", "minLength": 1 }
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"$defs": {
|
|
69
|
+
"hex": { "type": "string", "pattern": "^#[0-9A-Fa-f]{6}$" },
|
|
70
|
+
"dimension": { "type": "string", "pattern": "^(0|[0-9]+(?:\\.[0-9]+)?(?:px|rem|em))$" },
|
|
71
|
+
"fontFamily": {
|
|
72
|
+
"oneOf": [
|
|
73
|
+
{ "type": "string", "minLength": 1 },
|
|
74
|
+
{ "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"theme": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"required": ["color"],
|
|
81
|
+
"properties": {
|
|
82
|
+
"color": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"required": ["text", "surface", "accent", "border", "focus", "control"],
|
|
86
|
+
"properties": {
|
|
87
|
+
"text": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"required": ["primary", "heading", "secondary", "on-secondary-surface", "inverse"],
|
|
91
|
+
"properties": {
|
|
92
|
+
"primary": { "$ref": "#/$defs/hex" },
|
|
93
|
+
"heading": { "$ref": "#/$defs/hex" },
|
|
94
|
+
"secondary": { "$ref": "#/$defs/hex" },
|
|
95
|
+
"on-secondary-surface": { "$ref": "#/$defs/hex" },
|
|
96
|
+
"inverse": { "$ref": "#/$defs/hex" }
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"surface": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"additionalProperties": false,
|
|
102
|
+
"required": ["primary", "secondary", "inverse", "inverse-secondary"],
|
|
103
|
+
"properties": {
|
|
104
|
+
"primary": { "$ref": "#/$defs/hex" },
|
|
105
|
+
"secondary": { "$ref": "#/$defs/hex" },
|
|
106
|
+
"inverse": { "$ref": "#/$defs/hex" },
|
|
107
|
+
"inverse-secondary": { "$ref": "#/$defs/hex" }
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"accent": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"required": ["primary", "secondary"],
|
|
114
|
+
"properties": {
|
|
115
|
+
"primary": { "$ref": "#/$defs/hex" },
|
|
116
|
+
"secondary": { "$ref": "#/$defs/hex" }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"border": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"required": ["subtle", "functional"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"subtle": { "$ref": "#/$defs/hex" },
|
|
125
|
+
"functional": { "$ref": "#/$defs/hex" }
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"focus": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"additionalProperties": false,
|
|
131
|
+
"required": ["ring", "gap"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"ring": { "$ref": "#/$defs/hex" },
|
|
134
|
+
"gap": { "$ref": "#/$defs/hex" }
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"control": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"additionalProperties": false,
|
|
140
|
+
"required": ["track", "thumb", "active"],
|
|
141
|
+
"properties": {
|
|
142
|
+
"track": { "$ref": "#/$defs/hex" },
|
|
143
|
+
"thumb": { "$ref": "#/$defs/hex" },
|
|
144
|
+
"active": { "$ref": "#/$defs/hex" }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|