@iress-oss/ids-mcp-server 6.0.0-alpha.0 → 6.0.0-alpha.1-canary-20251204014525-3f0dce4

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 (108) hide show
  1. package/dist/searchHandlers.test.js +8 -2
  2. package/dist/toolHandler.test.js +9 -9
  3. package/dist/utils.test.js +6 -2
  4. package/package.json +32 -30
  5. package/generated/docs/components-alert-docs.md +0 -702
  6. package/generated/docs/components-autocomplete-docs.md +0 -1433
  7. package/generated/docs/components-autocomplete-recipes-docs.md +0 -104
  8. package/generated/docs/components-badge-docs.md +0 -531
  9. package/generated/docs/components-button-docs.md +0 -1442
  10. package/generated/docs/components-buttongroup-docs.md +0 -748
  11. package/generated/docs/components-card-docs.md +0 -944
  12. package/generated/docs/components-checkbox-docs.md +0 -694
  13. package/generated/docs/components-checkboxgroup-docs.md +0 -1087
  14. package/generated/docs/components-checkboxgroup-recipes-docs.md +0 -119
  15. package/generated/docs/components-col-docs.md +0 -881
  16. package/generated/docs/components-container-docs.md +0 -123
  17. package/generated/docs/components-divider-docs.md +0 -576
  18. package/generated/docs/components-expander-docs.md +0 -594
  19. package/generated/docs/components-field-docs.md +0 -2007
  20. package/generated/docs/components-filter-docs.md +0 -1322
  21. package/generated/docs/components-hide-docs.md +0 -702
  22. package/generated/docs/components-icon-docs.md +0 -816
  23. package/generated/docs/components-image-docs.md +0 -493
  24. package/generated/docs/components-inline-docs.md +0 -2003
  25. package/generated/docs/components-input-docs.md +0 -867
  26. package/generated/docs/components-input-recipes-docs.md +0 -140
  27. package/generated/docs/components-inputcurrency-docs.md +0 -689
  28. package/generated/docs/components-inputcurrency-recipes-docs.md +0 -115
  29. package/generated/docs/components-introduction-docs.md +0 -450
  30. package/generated/docs/components-label-docs.md +0 -562
  31. package/generated/docs/components-link-docs.md +0 -586
  32. package/generated/docs/components-menu-docs.md +0 -1146
  33. package/generated/docs/components-menu-menuitem-docs.md +0 -739
  34. package/generated/docs/components-modal-docs.md +0 -1346
  35. package/generated/docs/components-panel-docs.md +0 -600
  36. package/generated/docs/components-placeholder-docs.md +0 -446
  37. package/generated/docs/components-popover-docs.md +0 -1529
  38. package/generated/docs/components-popover-recipes-docs.md +0 -211
  39. package/generated/docs/components-progress-docs.md +0 -568
  40. package/generated/docs/components-provider-docs.md +0 -160
  41. package/generated/docs/components-radio-docs.md +0 -563
  42. package/generated/docs/components-radiogroup-docs.md +0 -1153
  43. package/generated/docs/components-readonly-docs.md +0 -535
  44. package/generated/docs/components-richselect-docs.md +0 -5836
  45. package/generated/docs/components-row-docs.md +0 -2354
  46. package/generated/docs/components-select-docs.md +0 -940
  47. package/generated/docs/components-skeleton-docs.md +0 -597
  48. package/generated/docs/components-skeleton-recipes-docs.md +0 -76
  49. package/generated/docs/components-skiplink-docs.md +0 -587
  50. package/generated/docs/components-slideout-docs.md +0 -1036
  51. package/generated/docs/components-slider-docs.md +0 -828
  52. package/generated/docs/components-spinner-docs.md +0 -450
  53. package/generated/docs/components-stack-docs.md +0 -923
  54. package/generated/docs/components-table-ag-grid-docs.md +0 -1444
  55. package/generated/docs/components-table-docs.md +0 -2327
  56. package/generated/docs/components-tabset-docs.md +0 -768
  57. package/generated/docs/components-tabset-tab-docs.md +0 -550
  58. package/generated/docs/components-tag-docs.md +0 -548
  59. package/generated/docs/components-text-docs.md +0 -585
  60. package/generated/docs/components-toaster-docs.md +0 -755
  61. package/generated/docs/components-toggle-docs.md +0 -614
  62. package/generated/docs/components-tooltip-docs.md +0 -747
  63. package/generated/docs/components-validationmessage-docs.md +0 -1161
  64. package/generated/docs/contact-us-docs.md +0 -27
  65. package/generated/docs/extensions-editor-docs.md +0 -1181
  66. package/generated/docs/extensions-editor-recipes-docs.md +0 -89
  67. package/generated/docs/foundations-accessibility-docs.md +0 -40
  68. package/generated/docs/foundations-consistency-docs.md +0 -52
  69. package/generated/docs/foundations-content-docs.md +0 -23
  70. package/generated/docs/foundations-grid-docs.md +0 -74
  71. package/generated/docs/foundations-introduction-docs.md +0 -19
  72. package/generated/docs/foundations-principles-docs.md +0 -70
  73. package/generated/docs/foundations-responsive-breakpoints-docs.md +0 -193
  74. package/generated/docs/foundations-tokens-colour-docs.md +0 -564
  75. package/generated/docs/foundations-tokens-elevation-docs.md +0 -155
  76. package/generated/docs/foundations-tokens-introduction-docs.md +0 -190
  77. package/generated/docs/foundations-tokens-radius-docs.md +0 -71
  78. package/generated/docs/foundations-tokens-spacing-docs.md +0 -89
  79. package/generated/docs/foundations-tokens-typography-docs.md +0 -322
  80. package/generated/docs/foundations-user-experience-docs.md +0 -63
  81. package/generated/docs/foundations-visual-design-docs.md +0 -46
  82. package/generated/docs/foundations-z-index-stacking-docs.md +0 -31
  83. package/generated/docs/frequently-asked-questions-docs.md +0 -53
  84. package/generated/docs/get-started-develop-docs.md +0 -209
  85. package/generated/docs/get-started-using-storybook-docs.md +0 -68
  86. package/generated/docs/guidelines.md +0 -2054
  87. package/generated/docs/introduction-docs.md +0 -87
  88. package/generated/docs/news-version-6-docs.md +0 -93
  89. package/generated/docs/patterns-form-docs.md +0 -3902
  90. package/generated/docs/patterns-form-recipes-docs.md +0 -1370
  91. package/generated/docs/patterns-introduction-docs.md +0 -24
  92. package/generated/docs/patterns-loading-docs.md +0 -4043
  93. package/generated/docs/resources-code-katas-docs.md +0 -29
  94. package/generated/docs/resources-introduction-docs.md +0 -38
  95. package/generated/docs/resources-mcp-server-docs.md +0 -27
  96. package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +0 -437
  97. package/generated/docs/styling-props-colour-docs.md +0 -172
  98. package/generated/docs/styling-props-elevation-docs.md +0 -88
  99. package/generated/docs/styling-props-radius-docs.md +0 -86
  100. package/generated/docs/styling-props-reference-docs.md +0 -160
  101. package/generated/docs/styling-props-screen-readers-docs.md +0 -71
  102. package/generated/docs/styling-props-sizing-docs.md +0 -627
  103. package/generated/docs/styling-props-spacing-docs.md +0 -2282
  104. package/generated/docs/styling-props-typography-docs.md +0 -121
  105. package/generated/docs/themes-available-themes-docs.md +0 -66
  106. package/generated/docs/themes-introduction-docs.md +0 -121
  107. package/generated/docs/versions-docs.md +0 -17
  108. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,63 +0,0 @@
1
- [](#user-experience)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)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)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)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)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)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)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)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.
54
-
55
- On this page
56
-
57
- * [System Feedback](#system-feedback)
58
- * [Language and Mental Models](#language-and-mental-models)
59
- * [Control and Forgiveness](#control-and-forgiveness)
60
- * [Standards and Consistency](#standards-and-consistency)
61
- * [Error Prevention and Recovery](#error-prevention-and-recovery)
62
- * [Recognition Over Recall](#recognition-over-recall)
63
- * [Simplicity and Minimalism](#simplicity-and-minimalism)
@@ -1,46 +0,0 @@
1
- [](#visual-design-standards)Visual Design Standards
2
- ===================================================
3
-
4
- [](#typography)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)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)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)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
40
-
41
- On this page
42
-
43
- * [Typography](#typography)
44
- * [Colour System](#colour-system)
45
- * [Spacing and Layout](#spacing-and-layout)
46
- * [Interactive States](#interactive-states)
@@ -1,31 +0,0 @@
1
- [](#z-index-stacking)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)Reference
7
- -----------------------
8
-
9
- | Name | Usage | Value |
10
- | --- | --- | --- |
11
- | DEFAULT | The default z-index used for most elements. Can be combined with raised and floating elevations. | 0 |
12
- | MODAL | Used for IressModal. Can be combined with floating elevation. | 400 |
13
- | NAVBAR | Used for navbars. Can be combined with overflow elevation. | 100 |
14
- | POPOVER | Used for IressPopover. Can be combined with floating elevation. | 200 |
15
- | SLIDEOUT | Used for IressSlideout. Can be combined with floating elevation. | 300 |
16
- | TOAST | Used for IressToast. Can be combined with floating elevation. | 500 |
17
- | TOOLTIP | Used for IressTooltip. Can be combined with floating elevation. | 600 |
18
-
19
- * * *
20
-
21
- [](#for-developers)For developers
22
- ---------------------------------
23
-
24
- 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.
25
-
26
- 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.
27
-
28
- On this page
29
-
30
- * [Reference](#reference)
31
- * [For developers](#for-developers)
@@ -1,53 +0,0 @@
1
- [](#frequently-asked-questions)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)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)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)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)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)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)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.
45
-
46
- On this page
47
-
48
- * [How long will version 4 be supported?](#how-long-will-version-4-be-supported)
49
- * [Does this mean we need to upgrade now?](#does-this-mean-we-need-to-upgrade-now)
50
- * [What support will there be to help us upgrade?](#what-support-will-there-be-to-help-us-upgrade)
51
- * [What will happen if we do not upgrade by the end of 2024?](#what-will-happen-if-we-do-not-upgrade-by-the-end-of-2024)
52
- * [Will the documentation for version 4 still be available?](#will-the-documentation-for-version-4-still-be-available)
53
- * [Can I contribute to version 4?](#can-i-contribute-to-version-4)
@@ -1,209 +0,0 @@
1
- [](#develop)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)Requirements
7
- -----------------------------
8
-
9
- * [React 17 or later](https://reactjs.org/)
10
- * Access to Iress Artifactory
11
-
12
- [](#set-up-the-component-library)Set up the component library
13
- -------------------------------------------------------------
14
-
15
- 1. Install using the command line:
16
-
17
- \[data-radix-scroll-area-viewport\] {
18
- scrollbar-width: none;
19
- -ms-overflow-style: none;
20
- -webkit-overflow-scrolling: touch;
21
- }
22
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
23
- display: none;
24
- }
25
- :where(\[data-radix-scroll-area-viewport\]) {
26
- display: flex;
27
- flex-direction: column;
28
- align-items: stretch;
29
- }
30
- :where(\[data-radix-scroll-area-content\]) {
31
- flex-grow: 1;
32
- }
33
-
34
- yarn add @iress-oss/ids-components
35
-
36
- Copy
37
-
38
- 2. Import the styles:
39
-
40
- \[data-radix-scroll-area-viewport\] {
41
- scrollbar-width: none;
42
- -ms-overflow-style: none;
43
- -webkit-overflow-scrolling: touch;
44
- }
45
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
46
- display: none;
47
- }
48
- :where(\[data-radix-scroll-area-viewport\]) {
49
- display: flex;
50
- flex-direction: column;
51
- align-items: stretch;
52
- }
53
- :where(\[data-radix-scroll-area-content\]) {
54
- flex-grow: 1;
55
- }
56
-
57
- import '@iress-oss/ids-components/dist/style.css';
58
-
59
- Copy
60
-
61
- 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.
62
-
63
- \[data-radix-scroll-area-viewport\] {
64
- scrollbar-width: none;
65
- -ms-overflow-style: none;
66
- -webkit-overflow-scrolling: touch;
67
- }
68
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
69
- display: none;
70
- }
71
- :where(\[data-radix-scroll-area-viewport\]) {
72
- display: flex;
73
- flex-direction: column;
74
- align-items: stretch;
75
- }
76
- :where(\[data-radix-scroll-area-content\]) {
77
- flex-grow: 1;
78
- }
79
-
80
- import { IressProvider, IressButton } from '@iress-oss/ids-components';
81
-
82
- Copy
83
-
84
- 4. Use the components:
85
-
86
- \[data-radix-scroll-area-viewport\] {
87
- scrollbar-width: none;
88
- -ms-overflow-style: none;
89
- -webkit-overflow-scrolling: touch;
90
- }
91
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
92
- display: none;
93
- }
94
- :where(\[data-radix-scroll-area-viewport\]) {
95
- display: flex;
96
- flex-direction: column;
97
- align-items: stretch;
98
- }
99
- :where(\[data-radix-scroll-area-content\]) {
100
- flex-grow: 1;
101
- }
102
-
103
- const App \= () \=> (
104
- <IressButton onClick\={() \=> success({ children: 'Toast triggered' })}\>
105
- Trigger toast </IressButton\>
106
- );
107
- ReactDOM.createRoot(document.getElementById('root')!).render(
108
- <IressProvider\>
109
- <App />
110
- </IressProvider\>,
111
- );
112
-
113
- Copy
114
-
115
-
116
- * * *
117
-
118
- [](#set-up-the-theme)Set up the theme
119
- -------------------------------------
120
-
121
- The component library comes with the white label theme by default. You can add a theme by importing the theme file and including it in your application.
122
-
123
- Microfrontends
124
- --------------
125
-
126
- If you are building a React App that is intended to be used as a microfrontend, please skip this step. Microfrontends should inherit the parent application's theme, and not define a theme itself, as it may conflict with other microfrontends in the same parent application.
127
-
128
- 1. Install using the command line:
129
-
130
- \[data-radix-scroll-area-viewport\] {
131
- scrollbar-width: none;
132
- -ms-overflow-style: none;
133
- -webkit-overflow-scrolling: touch;
134
- }
135
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
136
- display: none;
137
- }
138
- :where(\[data-radix-scroll-area-viewport\]) {
139
- display: flex;
140
- flex-direction: column;
141
- align-items: stretch;
142
- }
143
- :where(\[data-radix-scroll-area-content\]) {
144
- flex-grow: 1;
145
- }
146
-
147
- yarn add @iress/ids-themes
148
-
149
- Copy
150
-
151
- 2. Import the component:
152
-
153
- \[data-radix-scroll-area-viewport\] {
154
- scrollbar-width: none;
155
- -ms-overflow-style: none;
156
- -webkit-overflow-scrolling: touch;
157
- }
158
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
159
- display: none;
160
- }
161
- :where(\[data-radix-scroll-area-viewport\]) {
162
- display: flex;
163
- flex-direction: column;
164
- align-items: stretch;
165
- }
166
- :where(\[data-radix-scroll-area-content\]) {
167
- flex-grow: 1;
168
- }
169
-
170
- import { IressTheme } from '@iress-oss/ids-components';
171
-
172
- Copy
173
-
174
- 3. Add the component to your application:
175
-
176
- \[data-radix-scroll-area-viewport\] {
177
- scrollbar-width: none;
178
- -ms-overflow-style: none;
179
- -webkit-overflow-scrolling: touch;
180
- }
181
- \[data-radix-scroll-area-viewport\]::-webkit-scrollbar {
182
- display: none;
183
- }
184
- :where(\[data-radix-scroll-area-viewport\]) {
185
- display: flex;
186
- flex-direction: column;
187
- align-items: stretch;
188
- }
189
- :where(\[data-radix-scroll-area-content\]) {
190
- flex-grow: 1;
191
- }
192
-
193
- ReactDOM.createRoot(document.getElementById('root')!).render(
194
- <IressProvider\>
195
- <IressTheme />
196
- <App />
197
- </IressProvider\>,
198
- );
199
-
200
- Copy
201
-
202
-
203
- For alternative ways to import the theme, see the [Themes documentation](./?path=/docs/themes-introduction--docs).
204
-
205
- On this page
206
-
207
- * [Requirements](#requirements)
208
- * [Set up the component library](#set-up-the-component-library)
209
- * [Set up the theme](#set-up-the-theme)
@@ -1,68 +0,0 @@
1
- [](#using-storybook)Using Storybook
2
- ===================================
3
-
4
- The IDS 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)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)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)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
- `Examples` 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 `Examples`, 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
- Storybook is a starting point for your designs. It is the language developers will be using as they convert your designs into live user experiences. However, not everything is covered here. It is good to discuss your designs with developers to understand what is possible and what is not.
38
-
39
- [](#development)Development
40
- ---------------------------
41
-
42
- During development, you can refer to Storybook for code examples and understand the API available to you.
43
-
44
- 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.
45
-
46
- `Docs` covers the API of the component, and also discusses `Examples` in detail. Code examples are shown here as well.
47
-
48
- `Examples` in the sidebar actually allow you to toggle the props in the `Controls` tab to see how combinations look and behave. The `Actions` tab will show you what events are being emitted by the component, and the `Accessibility` tab will show you whether the combination of props is accessible or not in this component. 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.
49
-
50
- 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.
51
-
52
- * * *
53
-
54
- [](#common-issues)Common issues
55
- -------------------------------
56
-
57
- ### [](#i-cant-find-the-controls-actions-or-accessibility-tab)I can't find the `Controls`, `Actions` or `Accessibility` tab
58
-
59
- These tabs are only shown in the `Examples` area of the component. Some tabs are not applicable to some components. If you click on an example 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.
60
-
61
- On this page
62
-
63
- * [First-time users](#first-time-users)
64
- * [Scoping work](#scoping-work)
65
- * [Design](#design)
66
- * [Development](#development)
67
- * [Common issues](#common-issues)
68
- * [I can't find the Controls, Actions or Accessibility tab](#i-cant-find-the-controls-actions-or-accessibility-tab)