@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204032753-fe18cab → 6.0.0-alpha.1-canary-20251204040305-3639454
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/generated/docs/components_components-alert-docs.md +1054 -0
- package/generated/docs/components_components-autocomplete-docs.md +3304 -0
- package/generated/docs/components_components-autocomplete-recipes-docs.md +98 -0
- package/generated/docs/components_components-badge-docs.md +312 -0
- package/generated/docs/components_components-button-docs.md +2339 -0
- package/generated/docs/components_components-buttongroup-docs.md +980 -0
- package/generated/docs/components_components-card-docs.md +1970 -0
- package/generated/docs/components_components-checkbox-docs.md +1083 -0
- package/generated/docs/components_components-checkboxgroup-docs.md +1597 -0
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +209 -0
- package/generated/docs/components_components-col-docs.md +755 -0
- package/generated/docs/components_components-container-docs.md +172 -0
- package/generated/docs/components_components-divider-docs.md +235 -0
- package/generated/docs/components_components-expander-docs.md +428 -0
- package/generated/docs/components_components-field-docs.md +3345 -0
- package/generated/docs/components_components-filter-docs.md +4091 -0
- package/generated/docs/components_components-hide-docs.md +450 -0
- package/generated/docs/components_components-icon-docs.md +1017 -0
- package/generated/docs/components_components-image-docs.md +168 -0
- package/generated/docs/components_components-inline-docs.md +1962 -0
- package/generated/docs/components_components-input-docs.md +1388 -0
- package/generated/docs/components_components-input-recipes-docs.md +349 -0
- package/generated/docs/components_components-inputcurrency-docs.md +636 -0
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +208 -0
- package/generated/docs/components_components-introduction-docs.md +448 -0
- package/generated/docs/components_components-label-docs.md +229 -0
- package/generated/docs/components_components-link-docs.md +454 -0
- package/generated/docs/components_components-menu-docs.md +2219 -0
- package/generated/docs/components_components-menu-menuitem-docs.md +1455 -0
- package/generated/docs/components_components-modal-docs.md +2002 -0
- package/generated/docs/components_components-panel-docs.md +342 -0
- package/generated/docs/components_components-placeholder-docs.md +98 -0
- package/generated/docs/components_components-popover-docs.md +1631 -0
- package/generated/docs/components_components-popover-recipes-docs.md +537 -0
- package/generated/docs/components_components-progress-docs.md +128 -0
- package/generated/docs/components_components-provider-docs.md +123 -0
- package/generated/docs/components_components-radio-docs.md +499 -0
- package/generated/docs/components_components-radiogroup-docs.md +1573 -0
- package/generated/docs/components_components-readonly-docs.md +277 -0
- package/generated/docs/components_components-richselect-docs.md +6101 -0
- package/generated/docs/components_components-row-docs.md +2172 -0
- package/generated/docs/components_components-select-docs.md +1110 -0
- package/generated/docs/components_components-skeleton-docs.md +467 -0
- package/generated/docs/components_components-skeleton-recipes-docs.md +110 -0
- package/generated/docs/components_components-skiplink-docs.md +220 -0
- package/generated/docs/components_components-slideout-docs.md +1910 -0
- package/generated/docs/components_components-slider-docs.md +1284 -0
- package/generated/docs/components_components-spinner-docs.md +90 -0
- package/generated/docs/components_components-stack-docs.md +730 -0
- package/generated/docs/components_components-table-docs.md +4038 -0
- package/generated/docs/components_components-tabset-docs.md +955 -0
- package/generated/docs/components_components-tabset-tab-docs.md +342 -0
- package/generated/docs/components_components-tag-docs.md +410 -0
- package/generated/docs/components_components-text-docs.md +593 -0
- package/generated/docs/components_components-toaster-docs.md +451 -0
- package/generated/docs/components_components-toggle-docs.md +513 -0
- package/generated/docs/components_components-tooltip-docs.md +564 -0
- package/generated/docs/components_components-validationmessage-docs.md +608 -0
- package/generated/docs/components_contact-us-docs.md +9 -0
- package/generated/docs/components_foundations-accessibility-docs.md +33 -0
- package/generated/docs/components_foundations-consistency-docs.md +44 -0
- package/generated/docs/components_foundations-content-docs.md +18 -0
- package/generated/docs/components_foundations-introduction-docs.md +17 -0
- package/generated/docs/components_foundations-principles-docs.md +60 -0
- package/generated/docs/components_foundations-responsive-layout-docs.md +2692 -0
- package/generated/docs/components_foundations-user-experience-docs.md +53 -0
- package/generated/docs/components_foundations-visual-design-docs.md +39 -0
- package/generated/docs/components_foundations-z-index-stacking-docs.md +288 -0
- package/generated/docs/components_frequently-asked-questions-docs.md +44 -0
- package/generated/docs/components_get-started-develop-docs.md +47 -0
- package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
- package/generated/docs/components_introduction-docs.md +85 -0
- package/generated/docs/components_patterns-form-docs.md +2469 -0
- package/generated/docs/components_patterns-form-recipes-docs.md +1597 -0
- package/generated/docs/components_patterns-introduction-docs.md +31 -0
- package/generated/docs/components_patterns-loading-docs.md +1908 -0
- package/generated/docs/components_patterns-shadow-docs.md +195 -0
- package/generated/docs/components_resources-code-katas-docs.md +25 -0
- package/generated/docs/components_resources-introduction-docs.md +28 -0
- package/generated/docs/components_resources-mcp-server-docs.md +23 -0
- package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +142 -0
- package/generated/docs/components_styling-props-colour-docs.md +91 -0
- package/generated/docs/components_styling-props-elevation-docs.md +69 -0
- package/generated/docs/components_styling-props-radius-docs.md +63 -0
- package/generated/docs/components_styling-props-reference-docs.md +160 -0
- package/generated/docs/components_styling-props-screen-readers-docs.md +66 -0
- package/generated/docs/components_styling-props-sizing-docs.md +217 -0
- package/generated/docs/components_styling-props-spacing-docs.md +545 -0
- package/generated/docs/components_styling-props-typography-docs.md +66 -0
- package/generated/docs/components_versions-docs.md +14 -0
- package/generated/docs/guidelines.md +3083 -0
- package/generated/docs/introduction-docs.md +37 -0
- package/generated/docs/tokens_colour-docs.md +479 -0
- package/generated/docs/tokens_elevation-docs.md +39 -0
- package/generated/docs/tokens_introduction-docs.md +150 -0
- package/generated/docs/tokens_radius-docs.md +67 -0
- package/generated/docs/tokens_spacing-docs.md +87 -0
- package/generated/docs/tokens_typography-docs.md +305 -0
- package/package.json +2 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
User experience
|
|
2
|
+
===============
|
|
3
|
+
|
|
4
|
+
We use heuristic guidelines to assess the usability and user-centred design quality of all Iress products.
|
|
5
|
+
|
|
6
|
+
System Feedback
|
|
7
|
+
---------------
|
|
8
|
+
|
|
9
|
+
* Always show users where they are, what just happened, and what’s possible next.
|
|
10
|
+
* Provide immediate visual and textual feedback for all actions and states.
|
|
11
|
+
* Ensure feedback is clear, contextual, and proportionate to the importance of the action.
|
|
12
|
+
|
|
13
|
+
Language and Mental Models
|
|
14
|
+
--------------------------
|
|
15
|
+
|
|
16
|
+
* Use user-centred language and avoid technical jargon.
|
|
17
|
+
* Follow cultural and industry conventions for colour, iconography, terminology, and layout.
|
|
18
|
+
* Align interaction patterns with real-world analogues wherever feasible.
|
|
19
|
+
|
|
20
|
+
Control and Forgiveness
|
|
21
|
+
-----------------------
|
|
22
|
+
|
|
23
|
+
* Make actions reversible and provide undo where errors may occur.
|
|
24
|
+
* Let users easily backtrack, edit inputs, or abandon flows.
|
|
25
|
+
* Provide escape hatches from any process without penalty.
|
|
26
|
+
|
|
27
|
+
Standards and Consistency
|
|
28
|
+
-------------------------
|
|
29
|
+
|
|
30
|
+
* Use consistent layout, labelling, iconography, and grammar.
|
|
31
|
+
* Reinforce expectations by placing similar elements in predictable positions.
|
|
32
|
+
* Apply colour, spacing, and visual patterns consistently across all screens.
|
|
33
|
+
|
|
34
|
+
Error Prevention and Recovery
|
|
35
|
+
-----------------------------
|
|
36
|
+
|
|
37
|
+
* Prevent errors by anticipating misuse and validating early.
|
|
38
|
+
* Phrase error messages with clarity, empathy, and constructive suggestions.
|
|
39
|
+
* Where errors occur, explain why and how they can be resolved.
|
|
40
|
+
|
|
41
|
+
Recognition Over Recall
|
|
42
|
+
-----------------------
|
|
43
|
+
|
|
44
|
+
* Display necessary information at the point of decision.
|
|
45
|
+
* Use visual grouping, spacing, and affordance to reveal hierarchy.
|
|
46
|
+
* Prioritise visual clarity over novelty.
|
|
47
|
+
|
|
48
|
+
Simplicity and Minimalism
|
|
49
|
+
-------------------------
|
|
50
|
+
|
|
51
|
+
* Remove unnecessary detail—every word, element, or feature should earn its place.
|
|
52
|
+
* Design for clarity of purpose with visually distinct, semantically meaningful UI components.
|
|
53
|
+
* Use whitespace, clean alignment, and simplified flows to reduce cognitive load.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Visual Design Standards
|
|
2
|
+
=======================
|
|
3
|
+
|
|
4
|
+
Typography
|
|
5
|
+
----------
|
|
6
|
+
|
|
7
|
+
* Use systematic font sizing with heading scales (H1-H6)
|
|
8
|
+
* Implement consistent line heights and font weights
|
|
9
|
+
* Provide text colour hierarchies (primary, muted, success, warning, danger)
|
|
10
|
+
* Support responsive typography scaling
|
|
11
|
+
|
|
12
|
+
Colour System
|
|
13
|
+
-------------
|
|
14
|
+
|
|
15
|
+
* Maintain semantic colour meanings:
|
|
16
|
+
* **Primary**: Main call-to-action colour with high contrast
|
|
17
|
+
* **Success**: Positive outcomes and confirmations
|
|
18
|
+
* **Warning**: Caution and important notices
|
|
19
|
+
* **Danger**: Errors and destructive actions
|
|
20
|
+
* **Info**: Neutral information and guidance
|
|
21
|
+
* **Positive/Negative**: Financial context (buy/sell actions)
|
|
22
|
+
* Ensure all colour combinations meet accessibility contrast requirements
|
|
23
|
+
* Provide consistent hover and active state colours
|
|
24
|
+
|
|
25
|
+
Spacing and Layout
|
|
26
|
+
------------------
|
|
27
|
+
|
|
28
|
+
* Use systematic spacing scale (xs, sm, md, lg, xl)
|
|
29
|
+
* Apply consistent gutter systems for layout components
|
|
30
|
+
* Implement responsive breakpoints for adaptive layouts
|
|
31
|
+
* Maintain proper margin and padding relationships
|
|
32
|
+
|
|
33
|
+
Interactive States
|
|
34
|
+
------------------
|
|
35
|
+
|
|
36
|
+
* Provide clear hover, focus, active, and disabled states
|
|
37
|
+
* Use consistent transition timing and easing
|
|
38
|
+
* Implement proper focus indicators for keyboard navigation
|
|
39
|
+
* Show loading states for asynchronous operations
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
Z-index (stacking)
|
|
2
|
+
==================
|
|
3
|
+
|
|
4
|
+
The z-index determines the stacking order of elements. Elements with a higher z-index always sit in front of elements with a lower z-index. Each index has been mapped to the appropriate elevation(s).
|
|
5
|
+
|
|
6
|
+
Reference
|
|
7
|
+
---------
|
|
8
|
+
|
|
9
|
+
[](./iframe.html?id=foundations-z-index-stacking--reference)
|
|
10
|
+
|
|
11
|
+
| Name | Usage | Value |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| DEFAULT | The default z-index used for most elements. Can be combined with raised and floating elevations. | 0 |
|
|
14
|
+
| MODAL | Used for IressModal. Can be combined with floating elevation. | 400 |
|
|
15
|
+
| NAVBAR | Used for navbars. Can be combined with overflow elevation. | 100 |
|
|
16
|
+
| POPOVER | Used for IressPopover. Can be combined with floating elevation. | 200 |
|
|
17
|
+
| SLIDEOUT | Used for IressSlideout. Can be combined with floating elevation. | 300 |
|
|
18
|
+
| TOAST | Used for IressToast. Can be combined with floating elevation. | 500 |
|
|
19
|
+
| TOOLTIP | Used for IressTooltip. Can be combined with floating elevation. | 600 |
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
<IressTable
|
|
24
|
+
columns\={\[
|
|
25
|
+
{
|
|
26
|
+
key: 'name',
|
|
27
|
+
label: 'Name',
|
|
28
|
+
sort: 'asc',
|
|
29
|
+
width: '1%'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: 'usage',
|
|
33
|
+
label: 'Usage'
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
key: 'value',
|
|
37
|
+
label: 'Value',
|
|
38
|
+
width: '200px'
|
|
39
|
+
}
|
|
40
|
+
\]}
|
|
41
|
+
rows\={\[
|
|
42
|
+
{
|
|
43
|
+
name: 'DEFAULT',
|
|
44
|
+
usage: 'The default z-index used for most elements. Can be combined with raised and floating elevations.',
|
|
45
|
+
value: 0
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'NAVBAR',
|
|
49
|
+
usage: 'Used for navbars. Can be combined with overflow elevation.',
|
|
50
|
+
value: 100
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'POPOVER',
|
|
54
|
+
usage: 'Used for IressPopover. Can be combined with floating elevation.',
|
|
55
|
+
value: 200
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'SLIDEOUT',
|
|
59
|
+
usage: 'Used for IressSlideout. Can be combined with floating elevation.',
|
|
60
|
+
value: 300
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'MODAL',
|
|
64
|
+
usage: 'Used for IressModal. Can be combined with floating elevation.',
|
|
65
|
+
value: 400
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'TOAST',
|
|
69
|
+
usage: 'Used for IressToast. Can be combined with floating elevation.',
|
|
70
|
+
value: 500
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'TOOLTIP',
|
|
74
|
+
usage: 'Used for IressTooltip. Can be combined with floating elevation.',
|
|
75
|
+
value: 600
|
|
76
|
+
}
|
|
77
|
+
\]}
|
|
78
|
+
/>
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
#### Props
|
|
83
|
+
|
|
84
|
+
| Name | Description | Default | Control |
|
|
85
|
+
| --- | --- | --- | --- |
|
|
86
|
+
| alternate |
|
|
87
|
+
If set to true, the table will have alternating row colors. This is useful for improving readability in tables with many rows.
|
|
88
|
+
|
|
89
|
+
boolean
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
|
94
|
+
|
|
95
|
+
false
|
|
96
|
+
|
|
97
|
+
| Set boolean |
|
|
98
|
+
| caption\* |
|
|
99
|
+
|
|
100
|
+
Caption that describes the data in the table, required for accessibility.
|
|
101
|
+
|
|
102
|
+
ReactNode
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
| \- | Set object |
|
|
107
|
+
| children |
|
|
108
|
+
|
|
109
|
+
Multiple table elements can be passed as children. Used to create a static table, or add a `<tfoot />` element to a `rows` based table.
|
|
110
|
+
|
|
111
|
+
ReactNode
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
| \- | Set object |
|
|
116
|
+
| columns |
|
|
117
|
+
|
|
118
|
+
A mapping of columns to be displayed in the table. If not provided, it will be automatically regenerated from the row data.
|
|
119
|
+
|
|
120
|
+
TableColumn<TRow, TVal>\[\]
|
|
121
|
+
|
|
122
|
+
| \- |
|
|
123
|
+
|
|
124
|
+
RAW
|
|
125
|
+
|
|
126
|
+
* columns :
|
|
127
|
+
|
|
128
|
+
\[
|
|
129
|
+
|
|
130
|
+
* 0 :
|
|
131
|
+
|
|
132
|
+
{...} 4 keys
|
|
133
|
+
|
|
134
|
+
* 1 :
|
|
135
|
+
|
|
136
|
+
{...} 2 keys
|
|
137
|
+
|
|
138
|
+
* 2 :
|
|
139
|
+
|
|
140
|
+
{...} 3 keys
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
\]
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
|
149
|
+
| compact |
|
|
150
|
+
|
|
151
|
+
Compact view of the table, used for tables with a lot of data.
|
|
152
|
+
|
|
153
|
+
boolean
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
|
158
|
+
|
|
159
|
+
false
|
|
160
|
+
|
|
161
|
+
| Set boolean |
|
|
162
|
+
| empty |
|
|
163
|
+
|
|
164
|
+
Content to be show when there is no rowData (columns must also be provided).
|
|
165
|
+
|
|
166
|
+
ReactNode
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
| \- | Set object |
|
|
171
|
+
| hiddenCaption |
|
|
172
|
+
|
|
173
|
+
When set to true, the table caption will be visually hidden.
|
|
174
|
+
|
|
175
|
+
boolean
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
| \- | Set boolean |
|
|
180
|
+
| hiddenHeader |
|
|
181
|
+
|
|
182
|
+
When set to true, the table header (`<thead></thead>`) will be not be rendered. Only use with very simple tables.
|
|
183
|
+
|
|
184
|
+
boolean
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
| \- | Set boolean |
|
|
189
|
+
| hover |
|
|
190
|
+
|
|
191
|
+
When set to true, hovering over a row will trigger a UI change.
|
|
192
|
+
|
|
193
|
+
boolean
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
| \- | Set boolean |
|
|
198
|
+
| removeRowBorders |
|
|
199
|
+
|
|
200
|
+
If set to true, the table will not have borders between rows. This is useful for simpler tables where the row borders are not needed.
|
|
201
|
+
|
|
202
|
+
boolean
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
|
207
|
+
|
|
208
|
+
false
|
|
209
|
+
|
|
210
|
+
| Set boolean |
|
|
211
|
+
| rowProps |
|
|
212
|
+
|
|
213
|
+
Add additional props to the row element. Can be a props map or a function that returns an props map. The function is called with the row data.
|
|
214
|
+
|
|
215
|
+
TableRowsProps\['rowProps'\]
|
|
216
|
+
|
|
217
|
+
| \- | Set object |
|
|
218
|
+
| rows |
|
|
219
|
+
|
|
220
|
+
Each object in the array contains the data for a row.
|
|
221
|
+
|
|
222
|
+
TRow\[\]
|
|
223
|
+
|
|
224
|
+
| \[\] |
|
|
225
|
+
|
|
226
|
+
RAW
|
|
227
|
+
|
|
228
|
+
* rows :
|
|
229
|
+
|
|
230
|
+
\[
|
|
231
|
+
|
|
232
|
+
* 0 :
|
|
233
|
+
|
|
234
|
+
{...} 3 keys
|
|
235
|
+
|
|
236
|
+
* 1 :
|
|
237
|
+
|
|
238
|
+
{...} 3 keys
|
|
239
|
+
|
|
240
|
+
* 2 :
|
|
241
|
+
|
|
242
|
+
{...} 3 keys
|
|
243
|
+
|
|
244
|
+
* 3 :
|
|
245
|
+
|
|
246
|
+
{...} 3 keys
|
|
247
|
+
|
|
248
|
+
* 4 :
|
|
249
|
+
|
|
250
|
+
{...} 3 keys
|
|
251
|
+
|
|
252
|
+
* 5 :
|
|
253
|
+
|
|
254
|
+
{...} 3 keys
|
|
255
|
+
|
|
256
|
+
* 6 :
|
|
257
|
+
|
|
258
|
+
{...} 3 keys
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
\]
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
|
267
|
+
| scope |
|
|
268
|
+
|
|
269
|
+
Defaults to 'row' - the first cell in the row is a `<th>`, otherwise it's a `<td>`.
|
|
270
|
+
|
|
271
|
+
union
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
| \- |
|
|
276
|
+
|
|
277
|
+
rowcol
|
|
278
|
+
|
|
279
|
+
|
|
|
280
|
+
|
|
281
|
+
* * *
|
|
282
|
+
|
|
283
|
+
For developers
|
|
284
|
+
--------------
|
|
285
|
+
|
|
286
|
+
If you are using the IDS components, the z-indexes have already been mapped out to their respective components based on the usage above. They are hardcoded into the components, so you don't need to worry about them.
|
|
287
|
+
|
|
288
|
+
The mapping is exported as `Z_INDEX` from the `@iress-oss/ids-components` package, in case you need to reference it in your own code.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Frequently asked questions
|
|
2
|
+
==========================
|
|
3
|
+
|
|
4
|
+
Some of the most frequently asked questions related to IDS are answered here.
|
|
5
|
+
|
|
6
|
+
* * *
|
|
7
|
+
|
|
8
|
+
How long will version 4 be supported?
|
|
9
|
+
-------------------------------------
|
|
10
|
+
|
|
11
|
+
We will continue to support version 4.x until the end of 2024. This means there will be security patches and critical bug fixes, but no new enhancements will be added to version 4.
|
|
12
|
+
|
|
13
|
+
Does this mean we need to upgrade now?
|
|
14
|
+
--------------------------------------
|
|
15
|
+
|
|
16
|
+
No, you do not need to upgrade now. However, we recommend that you start planning your migration to version 5 and use it for new projects. Support for version 4 will continue until the end of 2024.
|
|
17
|
+
|
|
18
|
+
What support will there be to help us upgrade?
|
|
19
|
+
----------------------------------------------
|
|
20
|
+
|
|
21
|
+
If you are moving from version 4 to version 5, a [migration guide](?path=/docs/resources-migration-guides-from-v4-to-v5--docs) is available. This guide will help you understand the changes between the two versions, how to migrate your code, and how to use them side by side while you are migrating.
|
|
22
|
+
|
|
23
|
+
If you plan to migrate soon, we would like to partner with you. Please reach out to the design system team via Iress channels.
|
|
24
|
+
|
|
25
|
+
What will happen if we do not upgrade by the end of 2024?
|
|
26
|
+
---------------------------------------------------------
|
|
27
|
+
|
|
28
|
+
After the end of 2024, we will no longer provide support for version 4. This means that we will not provide any security patches or critical bug fixes, which may leave the rest of your application vulnerable to security threats. There are several ways to handle this:
|
|
29
|
+
|
|
30
|
+
* Upgrade to version 5 before the end of 2024.
|
|
31
|
+
* Create a PR to fix the issue in version 4 and submit it to IDS for review.
|
|
32
|
+
* Update nested dependencies to the secure version using `yarn audit` and `resolutions` in your `package.json`.
|
|
33
|
+
|
|
34
|
+
Will the documentation for version 4 still be available?
|
|
35
|
+
--------------------------------------------------------
|
|
36
|
+
|
|
37
|
+
Yes, we will host the documentation for version 4 indefinitely. The documentation will be available on the [Versions page](?path=/docs/versions--docs).
|
|
38
|
+
|
|
39
|
+
Can I contribute to version 4?
|
|
40
|
+
------------------------------
|
|
41
|
+
|
|
42
|
+
Yes! We will continue to accept pull requests for version 4, but only until the end of 2024. To do so, please use `4.x` as the base branch for your pull request.
|
|
43
|
+
|
|
44
|
+
After this time, we will only accept pull requests regarding critical security patches or critical bug fixes.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Develop
|
|
2
|
+
=======
|
|
3
|
+
|
|
4
|
+
Set up your environment to use the latest version of the Iress Design System (IDS). You can use this library to build React applications that align to IDS, and ensure a consistent and modern look and feel across all Iress products.
|
|
5
|
+
|
|
6
|
+
Requirements
|
|
7
|
+
------------
|
|
8
|
+
|
|
9
|
+
* [React 17 or later](https://reactjs.org/)
|
|
10
|
+
|
|
11
|
+
Set up
|
|
12
|
+
------
|
|
13
|
+
|
|
14
|
+
1. Install using the command line:
|
|
15
|
+
|
|
16
|
+
yarn add @iress-oss/ids-components
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. Import the styles:
|
|
21
|
+
|
|
22
|
+
import '@iress-oss/ids-components/dist/style.css';
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
3. Import the components. The provider is optional, but recommended for most applications. It sets up the design system and provides a consistent container for components like modals, slideouts, and toasts.
|
|
27
|
+
|
|
28
|
+
import { IressProvider, IressButton } from '@iress-oss/ids-components';
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
4. Use the components:
|
|
33
|
+
|
|
34
|
+
const App \= () \=> {
|
|
35
|
+
const { success } \= useToaster();
|
|
36
|
+
return (
|
|
37
|
+
<IressButton onClick\={() \=> success({ children: 'Toast triggered' })}\>
|
|
38
|
+
Trigger toast </IressButton\>
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
42
|
+
<IressProvider\>
|
|
43
|
+
<App />
|
|
44
|
+
</IressProvider\>,
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Using Storybook
|
|
2
|
+
===============
|
|
3
|
+
|
|
4
|
+
The Frontend Enablement team uses Storybook to develop and document our components. Storybook is a development environment for UI components. It allows you to browse a component library, view the different states of each component, and interactively develop and test components. It is most likely what you are looking at right now.
|
|
5
|
+
|
|
6
|
+
Here we have just highlighted a few of our top tips on how you can use Storybook more efficiently. We have separated it by different stages of the product delivery cycle, but you can use these tips at any stage.
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
|
|
10
|
+
First-time users
|
|
11
|
+
----------------
|
|
12
|
+
|
|
13
|
+
When you first come to the IDS Storybook, you may notice the pages look un-styled. This is the default theme of IDS. You can change the theme to the theme you normally use in your product by clicking the \`brush\` icon in the top left, right above this page.
|
|
14
|
+
|
|
15
|
+
You can also change to use the dark theme of Storybook itself by clicking the \`moon\` icon in the top left, right above this page.
|
|
16
|
+
|
|
17
|
+
These settings are saved so the next time you come back to Storybook, it will remember your preferences.
|
|
18
|
+
|
|
19
|
+
Scoping work
|
|
20
|
+
------------
|
|
21
|
+
|
|
22
|
+
If you are scoping work, you can use Storybook to see what components are available to you. You can also see how they are used and what states they can be in. This can help you to understand what is possible and what is not.
|
|
23
|
+
|
|
24
|
+
Every IDS component has a `Docs` page and a`Guidelines` (coming soon) page. The `Docs` page will show you how to use the component and what props it accepts, helping you understand what is available, and how each property behaves to allow you to understand the final user experience of your feature.
|
|
25
|
+
|
|
26
|
+
The `Guidelines` page will show you how to use the component in a way that is consistent with other Iress applications. It covers things like accessibility, usability, and design principles, as well as which scenario to use which component and common pitfalls.
|
|
27
|
+
|
|
28
|
+
Design
|
|
29
|
+
------
|
|
30
|
+
|
|
31
|
+
When designing a new feature, you can use Storybook to see how your designs will look and behave in a real application.
|
|
32
|
+
|
|
33
|
+
`Docs` and `Guidelines` (coming soon) pages will help you understand how to use the components and what is possible, and help you align to any design decisions made previously.
|
|
34
|
+
|
|
35
|
+
`Stories` are a good way to see how variations of a component look and behave. You can see how a component looks in different states, and how it behaves with different props. If there is a variation that is not shown in the `Stories`, you can use the `Controls` tab to change the props of the component to see how it behaves with different values. You can also toggle how each component looks at different breakpoints (screen sizes/devices), how they look to users with certain eyesight conditions, and how they look in different states.
|
|
36
|
+
|
|
37
|
+
Development
|
|
38
|
+
-----------
|
|
39
|
+
|
|
40
|
+
During development, you can refer to Storybook for code examples and understand the API available to you.
|
|
41
|
+
|
|
42
|
+
If you are using Typescript, majority of the API is available in your IDE. However, Storybook provides more than just the API. It provides examples of how to use and combine the properties, as well as which components were designed to work with each other.
|
|
43
|
+
|
|
44
|
+
`Docs` covers the API of the component, and also discusses `Examples (stories)`in detail alongside code examples.
|
|
45
|
+
|
|
46
|
+
If you want to see how a component looks and behaves with different props, you can use the `Controls` tab to change the props of the component to see how it behaves with different values. You can also toggle how each component looks at different breakpoints (screen sizes/devices), how they look to users with certain eyesight conditions, and how they look in different states.
|
|
47
|
+
|
|
48
|
+
IDS is a starting point for your application development. It provides the foundations to make your application look and behave in a consistent way to other Iress products. However, not everything is covered here. It is good to discuss with designers and other developers to understand any constraints or guidelines that are not covered by IDS.
|
|
49
|
+
|
|
50
|
+
Common issues
|
|
51
|
+
-------------
|
|
52
|
+
|
|
53
|
+
### I can't find the `Controls`, `Actions` or `Accessibility` tab
|
|
54
|
+
|
|
55
|
+
These tabs are only shown in the component `Stories`, which can be toggled to display using the bookmark icon on the top right of the screen. If you click on an stories and still cannot see it, you may need to toggle the orientation of the addon. You can do this by tapping the `d` key twice, or using the settings as shown in the video.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Iress Design System
|
|
2
|
+
===================
|
|
3
|
+
|
|
4
|
+
6.0.0-alpha.1
|
|
5
|
+
|
|
6
|
+
The Iress Design System (IDS) serves as a shared visual language, working code, design tools and resources, human interface guidelines, and a community. It supports designers and developers building digital products for both B2B (Financial Advisors, Paraplanners) and B2B2C (client customers) segments.
|
|
7
|
+
|
|
8
|
+
[Start developing](/?path=/docs/get-started-develop--docs)[Read foundations](/?path=/docs/foundations-introduction--docs)
|
|
9
|
+
|
|
10
|
+
* * *
|
|
11
|
+
|
|
12
|
+
Quick links
|
|
13
|
+
-----------
|
|
14
|
+
|
|
15
|
+
[
|
|
16
|
+
|
|
17
|
+
Version 6
|
|
18
|
+
---------
|
|
19
|
+
|
|
20
|
+
Start developing with the latest version of the Iress Design System. Version 6 has had a complete styling overhaul to keep IDS modern.
|
|
21
|
+
|
|
22
|
+
](https://docs.google.com/document/d/17K81rHBZjjF_tsrC8QFrSsmjrC0IJu_bpU4sB2N7PSQ/edit?usp=sharing)
|
|
23
|
+
|
|
24
|
+
[
|
|
25
|
+
|
|
26
|
+
Foundations
|
|
27
|
+
-----------
|
|
28
|
+
|
|
29
|
+
Core design principles, colors, typography, spacing, and visual guidelines that form the foundation of our design system.
|
|
30
|
+
|
|
31
|
+
](/?path=/docs/foundations-introduction--docs)
|
|
32
|
+
|
|
33
|
+
[
|
|
34
|
+
|
|
35
|
+
Components
|
|
36
|
+
----------
|
|
37
|
+
|
|
38
|
+
Pre-built UI components like buttons, forms, tables, and navigation elements ready to use in your applications.
|
|
39
|
+
|
|
40
|
+
](/?path=/docs/components-introduction--docs)
|
|
41
|
+
|
|
42
|
+
[
|
|
43
|
+
|
|
44
|
+
Design Tokens
|
|
45
|
+
-------------
|
|
46
|
+
|
|
47
|
+
Shared design values for colors, spacing, typography, and other visual properties that ensure consistency across products.
|
|
48
|
+
|
|
49
|
+
](/?path=/docs/foundations-tokens-introduction--docs)
|
|
50
|
+
|
|
51
|
+
[
|
|
52
|
+
|
|
53
|
+
Patterns
|
|
54
|
+
--------
|
|
55
|
+
|
|
56
|
+
Common UI patterns and layouts for forms and complex interations.
|
|
57
|
+
|
|
58
|
+
](/?path=/docs/patterns-introduction--docs)
|
|
59
|
+
|
|
60
|
+
[
|
|
61
|
+
|
|
62
|
+
Styling props
|
|
63
|
+
-------------
|
|
64
|
+
|
|
65
|
+
Safely customise any component in the design system using styling props to create engaging UIs.
|
|
66
|
+
|
|
67
|
+
](/?path=/docs/styling-props-reference--docs)
|
|
68
|
+
|
|
69
|
+
[
|
|
70
|
+
|
|
71
|
+
Themes
|
|
72
|
+
------
|
|
73
|
+
|
|
74
|
+
IDS is white-labelled, allowing you to create custom themes tailored to your client's identity.
|
|
75
|
+
|
|
76
|
+
](/?path=/docs/themes-introduction--docs)
|
|
77
|
+
|
|
78
|
+
[
|
|
79
|
+
|
|
80
|
+
Resources
|
|
81
|
+
---------
|
|
82
|
+
|
|
83
|
+
MCP server and other tools to help you make the most of the Iress Design System.
|
|
84
|
+
|
|
85
|
+
](/?path=/docs/resources-introduction--docs)
|