@iress-oss/ids-mcp-server 0.0.1 → 5.14.2
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/LICENSE.txt +201 -0
- package/README.md +29 -159
- package/dist/componentHandlers.js +241 -0
- package/dist/componentHandlers.test.js +380 -0
- package/{build → dist}/config.js +5 -5
- package/dist/index.js +53 -0
- package/{build → dist}/iressHandlers.js +52 -46
- package/dist/iressHandlers.test.js +316 -0
- package/{build → dist}/resourceHandlers.js +23 -22
- package/dist/resourceHandlers.test.js +352 -0
- package/{build → dist}/searchHandlers.js +107 -92
- package/dist/searchHandlers.test.js +524 -0
- package/{build → dist}/toolHandler.js +13 -13
- package/dist/toolHandler.test.js +369 -0
- package/dist/tools.js +165 -0
- package/{build → dist}/utils.js +11 -15
- package/dist/utils.test.js +286 -0
- package/{docs/ids → generated/docs}/components-autocomplete-docs.md +3 -3
- package/{docs/ids → generated/docs}/components-autocomplete-recipes-docs.md +17 -51
- package/{docs/ids → generated/docs}/components-card-recipes-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-checkbox-docs.md +6 -19
- package/{docs/ids → generated/docs}/components-checkboxgroup-docs.md +18 -18
- package/{docs/ids → generated/docs}/components-checkboxgroup-recipes-docs.md +9 -9
- package/{docs/ids → generated/docs}/components-col-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-combobox-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-container-docs.md +8 -42
- package/{docs/ids → generated/docs}/components-filter-docs.md +14 -67
- package/{docs/ids → generated/docs}/components-form-docs.md +341 -335
- package/{docs/ids → generated/docs}/components-form-recipes-docs.md +198 -1
- package/{docs/ids → generated/docs}/components-hide-docs.md +16 -70
- package/{docs/ids → generated/docs}/components-icon-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-input-recipes-docs.md +2 -2
- package/{docs/ids → generated/docs}/components-inputcurrency-recipes-docs.md +6 -40
- package/{docs/ids → generated/docs}/components-modal-docs.md +3 -113
- package/generated/docs/components-popover-docs.md +464 -0
- package/{docs/ids → generated/docs}/components-radiogroup-docs.md +21 -21
- package/{docs/ids → generated/docs}/components-richselect-docs.md +149 -111
- package/{docs/ids → generated/docs}/components-row-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-skeleton-docs.md +3 -3
- package/{docs/ids → generated/docs}/components-skeleton-recipes-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-skiplink-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-slideout-docs.md +3 -113
- package/{docs/ids → generated/docs}/components-table-ag-grid-docs.md +109 -137
- package/{docs/ids → generated/docs}/components-table-docs.md +92 -597
- package/{docs/ids → generated/docs}/components-tabset-docs.md +2 -2
- package/{docs/ids → generated/docs}/components-tag-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-toaster-docs.md +5 -5
- package/{docs/ids → generated/docs}/extensions-editor-docs.md +4 -4
- package/generated/docs/foundations-accessibility-docs.md +62 -0
- package/{docs/ids → generated/docs}/foundations-colours-docs.md +1 -1
- package/generated/docs/foundations-consistency-docs.md +52 -0
- package/generated/docs/foundations-content-docs.md +23 -0
- package/generated/docs/foundations-introduction-docs.md +17 -0
- package/generated/docs/foundations-principles-docs.md +70 -0
- package/{docs/ids → generated/docs}/foundations-typography-docs.md +7 -2
- package/generated/docs/foundations-user-experience-docs.md +63 -0
- package/generated/docs/foundations-visual-design-docs.md +46 -0
- package/{docs/ids → generated/docs}/get-started-develop-docs.md +3 -3
- package/generated/docs/guidelines.md +812 -0
- package/{docs/ids → generated/docs}/introduction-docs.md +4 -4
- package/{docs/ids → generated/docs}/patterns-loading-docs.md +332 -2
- package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +437 -0
- package/generated/docs/themes-available-themes-docs.md +66 -0
- package/generated/docs/themes-tokens-docs.md +1200 -0
- package/generated/docs/versions-docs.md +17 -0
- package/package.json +42 -14
- package/LICENSE +0 -193
- package/build/componentHandlers.js +0 -205
- package/build/index.js +0 -51
- package/build/tools.js +0 -165
- package/docs/api-reference.md +0 -0
- package/docs/best-practices.md +0 -0
- package/docs/configuration.md +0 -0
- package/docs/examples.md +0 -0
- package/docs/guidelines.md +0 -269
- package/docs/ids/components-popover-docs.md +0 -4
- package/docs/ids/resources-migration-guides-from-v4-to-v5-docs.md +0 -639
- package/docs/ids/themes-available-themes-docs.md +0 -74
- package/docs/ids/themes-tokens-docs.md +0 -4580
- package/docs/ids/versions-docs.md +0 -27
- package/docs/tutorials/basic-integration.md +0 -0
- /package/{build → dist}/types.js +0 -0
- /package/{docs/ids → generated/docs}/components-alert-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-badge-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-button-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-button-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-buttongroup-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-card-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-divider-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-expander-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-field-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-inline-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-input-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-inputcurrency-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-label-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-menu-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-menu-menuitem-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-navbar-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-navbar-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-panel-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-placeholder-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-popover-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-progress-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-radio-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-readonly-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-select-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-slider-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-spinner-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-stack-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-tabset-tab-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-text-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-toaster-toast-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-toggle-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-tooltip-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-validationmessage-docs.md +0 -0
- /package/{docs/ids → generated/docs}/contact-us-docs.md +0 -0
- /package/{docs/ids → generated/docs}/extensions-editor-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/frequently-asked-questions-docs.md +0 -0
- /package/{docs/ids → generated/docs}/get-started-using-storybook-docs.md +0 -0
- /package/{docs/ids → generated/docs}/resources-changelog-docs.md +0 -0
- /package/{docs/ids → generated/docs}/resources-code-katas-docs.md +0 -0
- /package/{docs/ids → generated/docs}/themes-introduction-docs.md +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[](#accessibility)Accessibility
|
|
2
|
+
===============================
|
|
3
|
+
|
|
4
|
+
Accessibility is everyone's responsibility. It ensures that all users, regardless of their abilities or disabilities, can access and interact with our components effectively. This document outlines the key practices for building accessible components we follow within IDS.
|
|
5
|
+
|
|
6
|
+
Please note: The default behaviour of our components is to be accessible, but it is the responsibility of the product to ensure that they are used correctly in accessibile context, or any modifications made to them do not compromise accessibility.
|
|
7
|
+
|
|
8
|
+
[](#interaction-patterns)Interaction Patterns
|
|
9
|
+
---------------------------------------------
|
|
10
|
+
|
|
11
|
+
### [](#keyboard-navigation)Keyboard Navigation
|
|
12
|
+
|
|
13
|
+
* Support standard keyboard shortcuts (Tab, Arrow keys, Enter, Space, Escape)
|
|
14
|
+
* Implement proper focus order and visual focus indicators
|
|
15
|
+
* Provide keyboard alternatives for mouse-only interactions
|
|
16
|
+
* Follow established ARIA patterns for complex widgets
|
|
17
|
+
|
|
18
|
+
### [](#touch-interactions)Touch Interactions
|
|
19
|
+
|
|
20
|
+
* Provide adequate touch target sizes (minimum 44px)
|
|
21
|
+
* Implement touch-friendly spacing between interactive elements
|
|
22
|
+
* Support gesture-based interactions where appropriate
|
|
23
|
+
* Ensure consistent behaviour across device types
|
|
24
|
+
|
|
25
|
+
### [](#loading-and-feedback)Loading and Feedback
|
|
26
|
+
|
|
27
|
+
* Use appropriate loading patterns based on context:
|
|
28
|
+
* **Page**: Full page loading states
|
|
29
|
+
* **Component**: Local loading within sections
|
|
30
|
+
* **Button**: Inline loading for form submissions
|
|
31
|
+
* **Validate**: Server-side validation feedback
|
|
32
|
+
* Provide clear success and error feedback
|
|
33
|
+
* Use progressive enhancement for better perceived performance
|
|
34
|
+
|
|
35
|
+
* * *
|
|
36
|
+
|
|
37
|
+
[](#responsive-design)Responsive Design
|
|
38
|
+
---------------------------------------
|
|
39
|
+
|
|
40
|
+
### [](#breakpoint-strategy)Breakpoint Strategy
|
|
41
|
+
|
|
42
|
+
* Implement mobile-first responsive design
|
|
43
|
+
* Use consistent breakpoint values across all components
|
|
44
|
+
* Provide appropriate component variants for different screen sizes
|
|
45
|
+
* Consider content priority and progressive disclosure on smaller screens
|
|
46
|
+
|
|
47
|
+
### [](#adaptive-behaviour)Adaptive Behaviour
|
|
48
|
+
|
|
49
|
+
* Reduce option counts on mobile devices where appropriate
|
|
50
|
+
* Implement responsive navigation patterns
|
|
51
|
+
* Adjust spacing and sizing for different contexts
|
|
52
|
+
* Maintain usability across all supported devices
|
|
53
|
+
|
|
54
|
+
On this page
|
|
55
|
+
|
|
56
|
+
* [Interaction Patterns](#interaction-patterns)
|
|
57
|
+
* [Keyboard Navigation](#keyboard-navigation)
|
|
58
|
+
* [Touch Interactions](#touch-interactions)
|
|
59
|
+
* [Loading and Feedback](#loading-and-feedback)
|
|
60
|
+
* [Responsive Design](#responsive-design)
|
|
61
|
+
* [Breakpoint Strategy](#breakpoint-strategy)
|
|
62
|
+
* [Adaptive Behaviour](#adaptive-behaviour)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Colour is an integral aspect of conveying clear concise data. Our colours are optimized across two backgrounds, meeting or exceeding [WCAG 2.1 Level AA Accessibility Guidelines](https://www.w3.org/TR/WCAG21/#contrast-minimum).
|
|
5
5
|
|
|
6
|
-
The Iress themes are designed to meet WCAG contrast guidelines. We can't guarantee this when consumer branding is applied, so colour combinations should be checked to ensure conformance.
|
|
6
|
+
The Iress themes are designed to meet WCAG contrast guidelines (2.1 AA). We can't guarantee this when consumer branding is applied, so colour combinations should be checked to ensure conformance.
|
|
7
7
|
|
|
8
8
|
[](#backgrounds)Backgrounds
|
|
9
9
|
---------------------------
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[](#using-components-consistently)Using components consistently
|
|
2
|
+
===============================================================
|
|
3
|
+
|
|
4
|
+
[](#buttons)Buttons
|
|
5
|
+
-------------------
|
|
6
|
+
|
|
7
|
+
* **Primary**: Limit to one per view for main call-to-action
|
|
8
|
+
* **Secondary**: Use for secondary actions
|
|
9
|
+
* **Tertiary**: Extra affordance between secondary actions
|
|
10
|
+
* **Link**: Button styled as link (avoid with icon-only content)
|
|
11
|
+
* **Danger**: Destructive actions requiring extra confirmation
|
|
12
|
+
* **Positive/Negative**: Financial transactions (buy/sell)
|
|
13
|
+
|
|
14
|
+
[](#forms)Forms
|
|
15
|
+
---------------
|
|
16
|
+
|
|
17
|
+
* Always use `IressField` wrapper for proper label, hint, and error placement
|
|
18
|
+
* Provide clear validation feedback with appropriate error messages
|
|
19
|
+
* Use consistent input sizing based on expected content length
|
|
20
|
+
* Implement proper form state management and accessibility
|
|
21
|
+
|
|
22
|
+
[](#navigation)Navigation
|
|
23
|
+
-------------------------
|
|
24
|
+
|
|
25
|
+
* Use semantic HTML5 navigation elements
|
|
26
|
+
* Provide skip links for keyboard users
|
|
27
|
+
* Implement proper ARIA labelling for navigation sections
|
|
28
|
+
* Ensure consistent navigation patterns across applications
|
|
29
|
+
|
|
30
|
+
[](#data-display)Data Display
|
|
31
|
+
-----------------------------
|
|
32
|
+
|
|
33
|
+
* Use semantic table structures with proper headers
|
|
34
|
+
* Provide clear visual hierarchy in data presentations
|
|
35
|
+
* Implement consistent sorting and filtering patterns
|
|
36
|
+
* Use appropriate loading states for data-heavy components
|
|
37
|
+
|
|
38
|
+
[](#modals-and-overlays)Modals and Overlays
|
|
39
|
+
-------------------------------------------
|
|
40
|
+
|
|
41
|
+
* Reserve modals for critical tasks requiring full attention
|
|
42
|
+
* Provide multiple dismissal methods (backdrop, escape key, close button)
|
|
43
|
+
* Implement proper focus management and restoration
|
|
44
|
+
* Use slideouts for supplementary tasks where underlying content needs visibility
|
|
45
|
+
|
|
46
|
+
On this page
|
|
47
|
+
|
|
48
|
+
* [Buttons](#buttons)
|
|
49
|
+
* [Forms](#forms)
|
|
50
|
+
* [Navigation](#navigation)
|
|
51
|
+
* [Data Display](#data-display)
|
|
52
|
+
* [Modals and Overlays](#modals-and-overlays)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[](#content)Content
|
|
2
|
+
===================
|
|
3
|
+
|
|
4
|
+
[](#microcopy-guidelines)Microcopy Guidelines
|
|
5
|
+
---------------------------------------------
|
|
6
|
+
|
|
7
|
+
* Use clear, concise language that matches user mental models
|
|
8
|
+
* Provide helpful error messages with actionable guidance
|
|
9
|
+
* Implement consistent tone of voice across all interface text
|
|
10
|
+
* Use progressive disclosure for complex information
|
|
11
|
+
|
|
12
|
+
[](#iconography)Iconography
|
|
13
|
+
---------------------------
|
|
14
|
+
|
|
15
|
+
* Use icons consistently with established meanings
|
|
16
|
+
* Provide screen reader text for meaningful icons
|
|
17
|
+
* Avoid using icons as the sole means of communication
|
|
18
|
+
* Maintain consistent icon sizing and alignment
|
|
19
|
+
|
|
20
|
+
On this page
|
|
21
|
+
|
|
22
|
+
* [Microcopy Guidelines](#microcopy-guidelines)
|
|
23
|
+
* [Iconography](#iconography)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[](#introduction)Introduction
|
|
2
|
+
=============================
|
|
3
|
+
|
|
4
|
+
The IDS and product design team use the foundations to create a consistent user experience across all Iress products. This includes design principles and guidelines that ensure a cohesive look and feel.
|
|
5
|
+
|
|
6
|
+
1. [Principles](./?path=/docs/foundations-principles--docs)
|
|
7
|
+
2. [Accessibility](./?path=/docs/foundations-accessibility--docs)
|
|
8
|
+
3. [Colours](./?path=/docs/foundations-colours--docs)
|
|
9
|
+
4. [Typography](./?path=/docs/foundations-typography--docs)
|
|
10
|
+
5. [Visual Design](./?path=/docs/foundations-visual-design--docs)
|
|
11
|
+
6. [Consistency](./?path=/docs/foundations-consistency--docs)
|
|
12
|
+
7. [Content](./?path=/docs/foundations-content--docs)
|
|
13
|
+
8. [User Experience](./?path=/docs/foundations-user-experience--docs)
|
|
14
|
+
|
|
15
|
+
_This document is a living standard. Revisit and revise regularly to reflect evolving needs, technologies, and user expectations._
|
|
16
|
+
|
|
17
|
+
On this page
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[](#core-design-principles)Core Design Principles
|
|
2
|
+
=================================================
|
|
3
|
+
|
|
4
|
+
[](#consistency)Consistency
|
|
5
|
+
---------------------------
|
|
6
|
+
|
|
7
|
+
* Maintain brand consistency across all applications and experiences
|
|
8
|
+
* Use standardised component naming conventions (all components start with `Iress` prefix)
|
|
9
|
+
* Leverage shared design tokens for spacing, colours, typography, and interactive states
|
|
10
|
+
* Ensure consistent behaviour patterns across similar components
|
|
11
|
+
|
|
12
|
+
[](#accessibility-first)Accessibility First
|
|
13
|
+
-------------------------------------------
|
|
14
|
+
|
|
15
|
+
* Meet or exceed WCAG 2.1 Level AA Accessibility Guidelines
|
|
16
|
+
* Provide proper colour contrast ratios (minimum 4.5:1 for AA, 7:1 for AAA)
|
|
17
|
+
* Implement comprehensive keyboard navigation support
|
|
18
|
+
* Include screen reader compatibility with appropriate ARIA attributes
|
|
19
|
+
* Support focus management and skip navigation patterns
|
|
20
|
+
* Document accessibility considerations and requirements
|
|
21
|
+
|
|
22
|
+
[](#clarity-and-usability)Clarity and Usability
|
|
23
|
+
-----------------------------------------------
|
|
24
|
+
|
|
25
|
+
* Prioritise clear visual hierarchy through typography scales and spacing systems
|
|
26
|
+
* Use progressive disclosure to manage complexity
|
|
27
|
+
* Provide immediate feedback for user actions (loading states, validation, etc.)
|
|
28
|
+
* Design for touch-friendly interfaces with adequate target sizes
|
|
29
|
+
|
|
30
|
+
[](#developer-experience)Developer Experience
|
|
31
|
+
---------------------------------------------
|
|
32
|
+
|
|
33
|
+
* Maintain clean component APIs with predictable prop patterns
|
|
34
|
+
* Provide comprehensive documentation with usage examples
|
|
35
|
+
* Include common patterns and anti-patterns
|
|
36
|
+
* Support both controlled and uncontrolled component patterns
|
|
37
|
+
* Enable efficient testing strategies with semantic roles and accessible queries
|
|
38
|
+
* Maintain up-to-date prop documentation and type definitions
|
|
39
|
+
|
|
40
|
+
[](#quality-assurance)Quality assurance
|
|
41
|
+
---------------------------------------
|
|
42
|
+
|
|
43
|
+
* Test components across supported browsers and devices
|
|
44
|
+
* Validate accessibility compliance with automated and manual testing
|
|
45
|
+
* Ensure proper keyboard navigation functionality
|
|
46
|
+
* Test with assistive technologies (screen readers, voice control)
|
|
47
|
+
|
|
48
|
+
### [](#code-standards)Code Standards
|
|
49
|
+
|
|
50
|
+
* Follow consistent naming conventions for CSS classes and component props
|
|
51
|
+
* Use semantic HTML elements where appropriate
|
|
52
|
+
* Implement proper TypeScript typing for better developer experience
|
|
53
|
+
* Maintain clean separation between presentation and logic
|
|
54
|
+
|
|
55
|
+
### [](#performance-considerations)Performance Considerations
|
|
56
|
+
|
|
57
|
+
* Optimise component rendering and re-rendering
|
|
58
|
+
* Implement appropriate code splitting strategies
|
|
59
|
+
* Use efficient animation and transition patterns
|
|
60
|
+
* Consider bundle size impact of component dependencies
|
|
61
|
+
|
|
62
|
+
On this page
|
|
63
|
+
|
|
64
|
+
* [Consistency](#consistency)
|
|
65
|
+
* [Accessibility First](#accessibility-first)
|
|
66
|
+
* [Clarity and Usability](#clarity-and-usability)
|
|
67
|
+
* [Developer Experience](#developer-experience)
|
|
68
|
+
* [Quality assurance](#quality-assurance)
|
|
69
|
+
* [Code Standards](#code-standards)
|
|
70
|
+
* [Performance Considerations](#performance-considerations)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](#typography)Typography
|
|
2
2
|
=========================
|
|
3
3
|
|
|
4
|
-
Typography is set up as part of the theming. Typography is controlled by the `IressText` component and the `iress-u-text` utility class.
|
|
4
|
+
Typography is set up as part of the theming. Typography is controlled by the `IressText` component and the `iress-u-text` utility class. They implement consistent line heights and font weights.
|
|
5
5
|
|
|
6
6
|
Typography styles are designed to be encapsulated. If you want text to pick up the Iress styling, you'll need to wrap it in an `IressText` component.
|
|
7
7
|
|
|
@@ -38,7 +38,7 @@ Copy
|
|
|
38
38
|
[](#headings)Headings
|
|
39
39
|
---------------------
|
|
40
40
|
|
|
41
|
-
Headings form the structure of a web page. They're designed to stand out visually, drawing a user's eye to distinct sections of the document. They can be set in a variety of sizes
|
|
41
|
+
Headings form the structure of a web page. They're designed to stand out visually, drawing a user's eye to distinct sections of the document. They can be set in a variety of sizes based on systematic font sizing with native heading scales (H1-H6).
|
|
42
42
|
|
|
43
43
|
Hello, we are a company that puts clients first.
|
|
44
44
|
================================================
|
|
@@ -154,6 +154,7 @@ IDS also includes bold, italic and small text variants.
|
|
|
154
154
|
* Bold text should be used to **draw attention** to part of a sentence, or to provide a visual label for readonly text.
|
|
155
155
|
* Italic text should be used to add _emphasis_ to content, or to add stress to part of a sentence.
|
|
156
156
|
* Small text is used for side comments or for text that's secondary to the main content.
|
|
157
|
+
* Muted text is used to de-emphasise content, such as when displaying informative text that is not critical to the user experience.
|
|
157
158
|
|
|
158
159
|
Bold text
|
|
159
160
|
|
|
@@ -161,6 +162,8 @@ Italic text
|
|
|
161
162
|
|
|
162
163
|
Small text
|
|
163
164
|
|
|
165
|
+
Muted text
|
|
166
|
+
|
|
164
167
|
Hide code
|
|
165
168
|
|
|
166
169
|
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
@@ -172,6 +175,8 @@ Hide code
|
|
|
172
175
|
Italic text </IressText\>
|
|
173
176
|
<IressText variant\="small"\>
|
|
174
177
|
Small text </IressText\>
|
|
178
|
+
<IressText mode\="muted"\>
|
|
179
|
+
Muted text </IressText\>
|
|
175
180
|
</IressStack\>
|
|
176
181
|
|
|
177
182
|
Copy
|
|
@@ -0,0 +1,63 @@
|
|
|
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)
|
|
@@ -0,0 +1,46 @@
|
|
|
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)
|
|
@@ -12,9 +12,9 @@ Set up your environment to use the latest version of the Iress Design System (ID
|
|
|
12
12
|
[](#set-up-the-component-library)Set up the component library
|
|
13
13
|
-------------------------------------------------------------
|
|
14
14
|
|
|
15
|
-
1. Install using: `yarn add @iress/ids-components`
|
|
16
|
-
2. Import the styles: `import '@iress/ids-components/dist/style.css'`
|
|
17
|
-
3. Import the components: `import { IressButton, IressText } from '@iress/ids-components'`
|
|
15
|
+
1. Install using: `yarn add @iress-oss/ids-components`
|
|
16
|
+
2. Import the styles: `import '@iress-oss/ids-components/dist/style.css'`
|
|
17
|
+
3. Import the components: `import { IressButton, IressText } from '@iress-oss/ids-components'`
|
|
18
18
|
4. Use the components: `<IressButton>Click me</IressButton>`
|
|
19
19
|
|
|
20
20
|
[](#set-up-the-theme)Set up the theme
|