@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.
Files changed (148) hide show
  1. package/README.md +82 -0
  2. package/dist/all.css +3461 -0
  3. package/dist/assessment.css +1123 -0
  4. package/dist/brands/echelon.css +91 -0
  5. package/dist/brands/example-harbor.css +91 -0
  6. package/dist/brands/index.json +17 -0
  7. package/dist/build-metrics.json +152 -0
  8. package/dist/components.css +2123 -0
  9. package/dist/foundations.css +113 -0
  10. package/dist/patterns/alert.html +8 -0
  11. package/dist/patterns/allocation.html +24 -0
  12. package/dist/patterns/best-worst.html +21 -0
  13. package/dist/patterns/binary-choice.html +15 -0
  14. package/dist/patterns/checkbox.html +13 -0
  15. package/dist/patterns/choice-group.html +27 -0
  16. package/dist/patterns/collection-toolbar.html +22 -0
  17. package/dist/patterns/combobox.html +13 -0
  18. package/dist/patterns/command-palette.html +14 -0
  19. package/dist/patterns/composer.html +19 -0
  20. package/dist/patterns/conflict-review.html +17 -0
  21. package/dist/patterns/conversation.html +23 -0
  22. package/dist/patterns/dashboard-grid.html +5 -0
  23. package/dist/patterns/data-grid.html +30 -0
  24. package/dist/patterns/date-range.html +13 -0
  25. package/dist/patterns/dialog.html +15 -0
  26. package/dist/patterns/diff-viewer.html +22 -0
  27. package/dist/patterns/disclosure.html +6 -0
  28. package/dist/patterns/empty-state.html +6 -0
  29. package/dist/patterns/file-upload.html +19 -0
  30. package/dist/patterns/flyout.html +72 -0
  31. package/dist/patterns/hierarchical-choice.html +25 -0
  32. package/dist/patterns/hierarchical-multi-choice.html +27 -0
  33. package/dist/patterns/image-choice.html +25 -0
  34. package/dist/patterns/master-detail.html +16 -0
  35. package/dist/patterns/matrix-single.html +26 -0
  36. package/dist/patterns/menu.html +8 -0
  37. package/dist/patterns/metric-card.html +6 -0
  38. package/dist/patterns/mobile-action-bar.html +4 -0
  39. package/dist/patterns/multi-choice.html +23 -0
  40. package/dist/patterns/numeric-stepper.html +5 -0
  41. package/dist/patterns/obligation-panel.html +36 -0
  42. package/dist/patterns/operation-status.html +12 -0
  43. package/dist/patterns/ordinal-scale.html +42 -0
  44. package/dist/patterns/pagination.html +12 -0
  45. package/dist/patterns/pairwise-choice.html +21 -0
  46. package/dist/patterns/popover.html +6 -0
  47. package/dist/patterns/preview-surface.html +14 -0
  48. package/dist/patterns/provenance-trail.html +9 -0
  49. package/dist/patterns/question.html +13 -0
  50. package/dist/patterns/range-entry.html +18 -0
  51. package/dist/patterns/ranking.html +32 -0
  52. package/dist/patterns/readiness-checklist.html +12 -0
  53. package/dist/patterns/record-header.html +17 -0
  54. package/dist/patterns/rule-builder.html +37 -0
  55. package/dist/patterns/search.html +8 -0
  56. package/dist/patterns/segmented-control.html +13 -0
  57. package/dist/patterns/select.html +12 -0
  58. package/dist/patterns/semantic-differential.html +23 -0
  59. package/dist/patterns/skeleton.html +7 -0
  60. package/dist/patterns/slider.html +11 -0
  61. package/dist/patterns/special-choice.html +15 -0
  62. package/dist/patterns/status-lozenge.html +6 -0
  63. package/dist/patterns/survey-progress.html +8 -0
  64. package/dist/patterns/switch.html +14 -0
  65. package/dist/patterns/symbol-rating.html +31 -0
  66. package/dist/patterns/tabs.html +11 -0
  67. package/dist/patterns/timeline.html +19 -0
  68. package/dist/patterns/toast.html +10 -0
  69. package/dist/patterns/understanding.html +32 -0
  70. package/dist/patterns/validation-message.html +4 -0
  71. package/dist/patterns/validation-summary.html +10 -0
  72. package/dist/patterns/wizard.html +19 -0
  73. package/dist/patterns/work-queue.html +20 -0
  74. package/dist/skins.css +29 -0
  75. package/dist/tokens.css +99 -0
  76. package/docs/BRANDING.md +148 -0
  77. package/package.json +60 -0
  78. package/patterns/alert.html +8 -0
  79. package/patterns/allocation.html +24 -0
  80. package/patterns/assessment.manifest.md +93 -0
  81. package/patterns/best-worst.html +21 -0
  82. package/patterns/binary-choice.html +15 -0
  83. package/patterns/checkbox.html +13 -0
  84. package/patterns/choice-group.html +27 -0
  85. package/patterns/collection-toolbar.html +22 -0
  86. package/patterns/combobox.html +13 -0
  87. package/patterns/command-palette.html +14 -0
  88. package/patterns/composer.html +19 -0
  89. package/patterns/composer.manifest.md +27 -0
  90. package/patterns/conflict-review.html +17 -0
  91. package/patterns/conversation.html +23 -0
  92. package/patterns/conversation.manifest.md +21 -0
  93. package/patterns/dashboard-grid.html +5 -0
  94. package/patterns/data-grid.html +30 -0
  95. package/patterns/date-range.html +13 -0
  96. package/patterns/dialog.html +15 -0
  97. package/patterns/diff-viewer.html +22 -0
  98. package/patterns/disclosure.html +6 -0
  99. package/patterns/empty-state.html +6 -0
  100. package/patterns/file-upload.html +19 -0
  101. package/patterns/flyout.html +72 -0
  102. package/patterns/flyout.manifest.md +43 -0
  103. package/patterns/hierarchical-choice.html +25 -0
  104. package/patterns/hierarchical-multi-choice.html +27 -0
  105. package/patterns/image-choice.html +25 -0
  106. package/patterns/manifest.md +46 -0
  107. package/patterns/master-detail.html +16 -0
  108. package/patterns/matrix-single.html +26 -0
  109. package/patterns/menu.html +8 -0
  110. package/patterns/metric-card.html +6 -0
  111. package/patterns/mobile-action-bar.html +4 -0
  112. package/patterns/multi-choice.html +23 -0
  113. package/patterns/numeric-stepper.html +5 -0
  114. package/patterns/obligation-panel.html +36 -0
  115. package/patterns/operation-status.html +12 -0
  116. package/patterns/ordinal-scale.html +42 -0
  117. package/patterns/pagination.html +12 -0
  118. package/patterns/pairwise-choice.html +21 -0
  119. package/patterns/popover.html +6 -0
  120. package/patterns/preview-surface.html +14 -0
  121. package/patterns/provenance-trail.html +9 -0
  122. package/patterns/question.html +13 -0
  123. package/patterns/range-entry.html +18 -0
  124. package/patterns/ranking.html +32 -0
  125. package/patterns/readiness-checklist.html +12 -0
  126. package/patterns/record-header.html +17 -0
  127. package/patterns/rule-builder.html +37 -0
  128. package/patterns/search.html +8 -0
  129. package/patterns/segmented-control.html +13 -0
  130. package/patterns/select.html +12 -0
  131. package/patterns/semantic-differential.html +23 -0
  132. package/patterns/skeleton.html +7 -0
  133. package/patterns/slider.html +11 -0
  134. package/patterns/special-choice.html +15 -0
  135. package/patterns/status-lozenge.html +6 -0
  136. package/patterns/survey-progress.html +8 -0
  137. package/patterns/switch.html +14 -0
  138. package/patterns/symbol-rating.html +31 -0
  139. package/patterns/tabs.html +11 -0
  140. package/patterns/timeline.html +19 -0
  141. package/patterns/toast.html +10 -0
  142. package/patterns/understanding.html +32 -0
  143. package/patterns/understanding.manifest.md +26 -0
  144. package/patterns/validation-message.html +4 -0
  145. package/patterns/validation-summary.html +10 -0
  146. package/patterns/wizard.html +19 -0
  147. package/patterns/work-queue.html +20 -0
  148. 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
+ }