@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204040305-3639454 → 6.0.0-alpha.3

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 (81) hide show
  1. package/generated/docs/components_components-alert-docs.md +7 -7
  2. package/generated/docs/components_components-autocomplete-docs.md +18 -18
  3. package/generated/docs/components_components-autocomplete-recipes-docs.md +9 -2
  4. package/generated/docs/components_components-badge-docs.md +4 -4
  5. package/generated/docs/components_components-button-docs.md +16 -14
  6. package/generated/docs/components_components-buttongroup-docs.md +9 -9
  7. package/generated/docs/components_components-card-docs.md +32 -17
  8. package/generated/docs/components_components-checkbox-docs.md +7 -7
  9. package/generated/docs/components_components-checkboxgroup-docs.md +10 -10
  10. package/generated/docs/components_components-checkboxgroup-recipes-docs.md +2 -2
  11. package/generated/docs/components_components-col-docs.md +38 -38
  12. package/generated/docs/components_components-container-docs.md +5 -5
  13. package/generated/docs/components_components-divider-docs.md +5 -5
  14. package/generated/docs/components_components-expander-docs.md +6 -4
  15. package/generated/docs/components_components-field-docs.md +28 -28
  16. package/generated/docs/components_components-filter-docs.md +19 -19
  17. package/generated/docs/components_components-hide-docs.md +9 -9
  18. package/generated/docs/components_components-icon-docs.md +9 -9
  19. package/generated/docs/components_components-image-docs.md +2 -2
  20. package/generated/docs/components_components-inline-docs.md +76 -388
  21. package/generated/docs/components_components-input-docs.md +9 -9
  22. package/generated/docs/components_components-input-recipes-docs.md +4 -4
  23. package/generated/docs/components_components-inputcurrency-docs.md +7 -7
  24. package/generated/docs/components_components-inputcurrency-recipes-docs.md +5 -2
  25. package/generated/docs/components_components-label-docs.md +4 -4
  26. package/generated/docs/components_components-link-docs.md +6 -4
  27. package/generated/docs/components_components-menu-docs.md +13 -13
  28. package/generated/docs/components_components-menu-menuitem-docs.md +12 -12
  29. package/generated/docs/components_components-modal-docs.md +32 -13
  30. package/generated/docs/components_components-panel-docs.md +6 -6
  31. package/generated/docs/components_components-placeholder-docs.md +1 -1
  32. package/generated/docs/components_components-popover-docs.md +11 -9
  33. package/generated/docs/components_components-popover-recipes-docs.md +4 -2
  34. package/generated/docs/components_components-progress-docs.md +1 -1
  35. package/generated/docs/components_components-provider-docs.md +2 -2
  36. package/generated/docs/components_components-radio-docs.md +5 -5
  37. package/generated/docs/components_components-radiogroup-docs.md +8 -8
  38. package/generated/docs/components_components-readonly-docs.md +3 -3
  39. package/generated/docs/components_components-richselect-docs.md +69 -28
  40. package/generated/docs/components_components-row-docs.md +60 -492
  41. package/generated/docs/components_components-select-docs.md +8 -8
  42. package/generated/docs/components_components-skeleton-docs.md +9 -9
  43. package/generated/docs/components_components-skeleton-recipes-docs.md +2 -2
  44. package/generated/docs/components_components-skiplink-docs.md +1 -1
  45. package/generated/docs/components_components-slideout-docs.md +34 -13
  46. package/generated/docs/components_components-slider-docs.md +8 -8
  47. package/generated/docs/components_components-spinner-docs.md +3 -3
  48. package/generated/docs/components_components-stack-docs.md +63 -175
  49. package/generated/docs/components_components-table-docs.md +31 -24
  50. package/generated/docs/components_components-tabset-docs.md +10 -10
  51. package/generated/docs/components_components-tabset-tab-docs.md +4 -4
  52. package/generated/docs/components_components-tag-docs.md +14 -5
  53. package/generated/docs/components_components-text-docs.md +21 -9
  54. package/generated/docs/components_components-toaster-docs.md +12 -12
  55. package/generated/docs/components_components-toggle-docs.md +6 -6
  56. package/generated/docs/components_components-tooltip-docs.md +4 -4
  57. package/generated/docs/components_components-validationmessage-docs.md +5 -5
  58. package/generated/docs/components_foundations-responsive-layout-docs.md +16 -15
  59. package/generated/docs/components_foundations-z-index-stacking-docs.md +1 -1
  60. package/generated/docs/components_introduction-docs.md +1 -1
  61. package/generated/docs/components_patterns-form-docs.md +51 -27
  62. package/generated/docs/components_patterns-form-recipes-docs.md +144 -19
  63. package/generated/docs/components_patterns-loading-docs.md +98 -17
  64. package/generated/docs/components_patterns-shadow-docs.md +2 -2
  65. package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +108 -0
  66. package/generated/docs/components_sandbox-docs.md +226 -0
  67. package/generated/docs/components_styling-props-colour-docs.md +2 -2
  68. package/generated/docs/components_styling-props-elevation-docs.md +2 -2
  69. package/generated/docs/components_styling-props-radius-docs.md +3 -3
  70. package/generated/docs/components_styling-props-reference-docs.md +3 -3
  71. package/generated/docs/components_styling-props-screen-readers-docs.md +2 -2
  72. package/generated/docs/components_styling-props-sizing-docs.md +3 -3
  73. package/generated/docs/components_styling-props-spacing-docs.md +19 -19
  74. package/generated/docs/components_styling-props-typography-docs.md +2 -2
  75. package/generated/docs/guidelines.md +17 -16
  76. package/generated/docs/tokens_colour-docs.md +72 -0
  77. package/generated/docs/tokens_introduction-docs.md +15 -18
  78. package/generated/docs/tokens_sandbox-docs.md +1 -0
  79. package/generated/docs/tokens_spacing-docs.md +10 -40
  80. package/generated/docs/tokens_typography-docs.md +43 -1
  81. package/package.json +2 -2
@@ -16,8 +16,21 @@ This component is new, please provide feedback to the Frontend Enablement team i
16
16
 
17
17
  [](./iframe.html?id=patterns-loading--wizard)
18
18
 
19
- Hide codeRefresh
20
-
19
+ Hide codedrawOpen in CodeSandboxRefresh
20
+
21
+ import {
22
+ IressButton,
23
+ IressContainer,
24
+ IressForm,
25
+ IressFormField,
26
+ IressInputCurrency,
27
+ IressLoading,
28
+ IressPanel,
29
+ IressStack,
30
+ IressText,
31
+ } from '@/main';
32
+ import { useDeferredValue, useEffect, useState } from 'react';
33
+ import retirementGraph from './retirement-graph.png';
21
34
  interface PageProps {
22
35
  setPage: (page: number) \=> void;
23
36
  }
@@ -263,8 +276,11 @@ This component is new, please provide feedback to the Frontend Enablement team i
263
276
 
264
277
  Update
265
278
 
266
- Hide codeRefresh
279
+ Hide codedrawOpen in CodeSandboxRefresh
267
280
 
281
+ import { IressButton, IressLoading, IressStack } from '@/main';
282
+ import { useCallback, useEffect, useState } from 'react';
283
+ import retirementGraph from './retirement-graph.png';
268
284
  const API \= {
269
285
  chart: async () \=>
270
286
  new Promise<boolean\>((resolve) \=> {
@@ -426,7 +442,7 @@ This component is new, please provide feedback to the Frontend Enablement team i
426
442
 
427
443
  This is taking longer than expected...
428
444
 
429
- Hide codeRefresh
445
+ Hide codedrawOpen in CodeSandboxRefresh
430
446
 
431
447
  <IressLoading pattern\="default" />
432
448
 
@@ -533,7 +549,7 @@ This component is new, please provide feedback to the Frontend Enablement team i
533
549
  ...
534
550
 
535
551
 
536
- Hide codeRefresh
552
+ Hide codedrawOpen in CodeSandboxRefresh
537
553
 
538
554
  <IressLoading
539
555
  messageList\={{
@@ -713,8 +729,21 @@ In the news
713
729
 
714
730
  Loading...
715
731
 
716
- Hide codeRefresh
717
-
732
+ Hide codedrawOpen in CodeSandboxRefresh
733
+
734
+ import {
735
+ IressCard,
736
+ IressCol,
737
+ IressContainer,
738
+ IressDivider,
739
+ IressInline,
740
+ IressLoading,
741
+ IressRow,
742
+ IressSkeleton,
743
+ IressStack,
744
+ IressText,
745
+ } from '@/main';
746
+ import { type ReactNode, useEffect, useState } from 'react';
718
747
  const API \= {
719
748
  criticalContent: async () \=>
720
749
  new Promise<ReactNode\>((resolve) \=> {
@@ -900,7 +929,7 @@ This component is new, please provide feedback to the Frontend Enablement team i
900
929
 
901
930
  [](./iframe.html?id=patterns-loading-patterns-startup--start-up)
902
931
 
903
- Hide codeRefresh
932
+ Hide codedrawOpen in CodeSandboxRefresh
904
933
 
905
934
  <IressLoading
906
935
  messageList\={{
@@ -1080,7 +1109,7 @@ This is taking longer than expected...
1080
1109
 
1081
1110
  Cancel
1082
1111
 
1083
- Hide codeRefresh
1112
+ Hide codedrawOpen in CodeSandboxRefresh
1084
1113
 
1085
1114
  <IressInline gap\="sm"\>
1086
1115
  <IressLoading
@@ -1202,8 +1231,21 @@ The wizard example can be translated to use `IressLoadingSuspense` as follows (i
1202
1231
 
1203
1232
  [](./iframe.html?id=patterns-loading-suspense--suspense)
1204
1233
 
1205
- Hide codeRefresh
1206
-
1234
+ Hide codedrawOpen in CodeSandboxRefresh
1235
+
1236
+ import {
1237
+ IressButton,
1238
+ IressContainer,
1239
+ IressForm,
1240
+ IressFormField,
1241
+ IressInputCurrency,
1242
+ IressPanel,
1243
+ IressStack,
1244
+ IressText,
1245
+ } from '@/main';
1246
+ import { useDeferredValue, useEffect, useState } from 'react';
1247
+ import retirementGraph from './retirement-graph.png';
1248
+ import { IressLoadingSuspense } from '../LoadingSuspense';
1207
1249
  interface PageProps {
1208
1250
  setPage: (page: number) \=> void;
1209
1251
  }
@@ -1377,8 +1419,21 @@ number
1377
1419
 
1378
1420
  [](./iframe.html?id=patterns-loading-suspense--fast-suspense)
1379
1421
 
1380
- Hide codeRefresh
1381
-
1422
+ Hide codedrawOpen in CodeSandboxRefresh
1423
+
1424
+ import {
1425
+ IressButton,
1426
+ IressContainer,
1427
+ IressForm,
1428
+ IressFormField,
1429
+ IressInputCurrency,
1430
+ IressPanel,
1431
+ IressStack,
1432
+ IressText,
1433
+ } from '@/main';
1434
+ import { useDeferredValue, useEffect, useState } from 'react';
1435
+ import retirementGraph from './retirement-graph.png';
1436
+ import { IressLoadingSuspense } from '../LoadingSuspense';
1382
1437
  interface PageProps {
1383
1438
  setPage: (page: number) \=> void;
1384
1439
  }
@@ -1601,8 +1656,21 @@ Here you can see how a wizard can use the `IressLoading` component at different
1601
1656
 
1602
1657
  [](./iframe.html?id=patterns-loading--wizard)
1603
1658
 
1604
- Hide codeRefresh
1605
-
1659
+ Hide codedrawOpen in CodeSandboxRefresh
1660
+
1661
+ import {
1662
+ IressButton,
1663
+ IressContainer,
1664
+ IressForm,
1665
+ IressFormField,
1666
+ IressInputCurrency,
1667
+ IressLoading,
1668
+ IressPanel,
1669
+ IressStack,
1670
+ IressText,
1671
+ } from '@/main';
1672
+ import { useDeferredValue, useEffect, useState } from 'react';
1673
+ import retirementGraph from './retirement-graph.png';
1606
1674
  interface PageProps {
1607
1675
  setPage: (page: number) \=> void;
1608
1676
  }
@@ -1754,8 +1822,21 @@ export const LoadingWizard \= () \=> {
1754
1822
 
1755
1823
  [](./iframe.html?id=patterns-loading--fast-wizard)
1756
1824
 
1757
- Hide codeRefresh
1758
-
1825
+ Hide codedrawOpen in CodeSandboxRefresh
1826
+
1827
+ import {
1828
+ IressButton,
1829
+ IressContainer,
1830
+ IressForm,
1831
+ IressFormField,
1832
+ IressInputCurrency,
1833
+ IressLoading,
1834
+ IressPanel,
1835
+ IressStack,
1836
+ IressText,
1837
+ } from '@/main';
1838
+ import { useDeferredValue, useEffect, useState } from 'react';
1839
+ import retirementGraph from './retirement-graph.png';
1759
1840
  interface PageProps {
1760
1841
  setPage: (page: number) \=> void;
1761
1842
  }
@@ -16,7 +16,7 @@ This component is new, please provide feedback to the Frontend Enablement team i
16
16
 
17
17
  [](./iframe.html?id=patterns-shadow--shadow)
18
18
 
19
- ```
19
+ Hide codedrawOpen in CodeSandbox
20
20
 
21
21
  <IressShadow\>
22
22
  <IressPanel\>
@@ -113,7 +113,7 @@ It has similar props to the `IressProvider`, however it will apply the styles to
113
113
 
114
114
  [](./iframe.html?id=patterns-shadow--shadow)
115
115
 
116
- ```
116
+ Hide codedrawOpen in CodeSandbox
117
117
 
118
118
  <IressShadow\>
119
119
  <IressPanel\>
@@ -10,8 +10,19 @@ Updating your dependencies
10
10
 
11
11
  Update your dependencies in your `package.json` file to the following:
12
12
 
13
+ "dependencies": {
14
+ "@iress-oss/ids-components": "^5.0.0",
15
+ "@iress/themes": "^5.0.0"
16
+ }
17
+
18
+ ```
19
+
13
20
  or run:
14
21
 
22
+ yarn add @iress-oss/ids-components@^5.0.0 @iress/themes@^5.0.0
23
+
24
+ ```
25
+
15
26
  ### Upgrade React
16
27
 
17
28
  The minimum required version of React is 17. If you are using an older version of React, you will need to update it.
@@ -33,6 +44,10 @@ You can run both packages together, so you can migrate components one by one.
33
44
 
34
45
  IDS v5 no longer injects CSS into the DOM. You will need to import the stylesheet directly into your application.
35
46
 
47
+ import '@iress-oss/ids-components/dist/style.css';
48
+
49
+ ```
50
+
36
51
  Update Jest configuration
37
52
  -------------------------
38
53
 
@@ -40,6 +55,12 @@ If you are using Jest, you will need to update your Jest configuration to add th
40
55
 
41
56
  **Note:** If you are using version 4 and version 5 in parallel, you will need to keep the old IDS packages in your `transformIgnorePatterns` until you have completely migrated over your components.
42
57
 
58
+ "transformIgnorePatterns": \[
59
+ "/node\_modules/(?!@iress-oss/ids-components)"
60
+ \]
61
+
62
+ ```
63
+
43
64
  If you are mocking CSS files for your tests, you'll also need to make sure the new stylesheet is matched by your `moduleNameMapper`:
44
65
 
45
66
  <table class="css-1n5o7vh-diff-container"><tbody><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker"><pre></pre></td><td class="css-vl0irh-content"><pre class="css-o1u8iu-content-text"> "moduleNameMapper": {</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker"><pre></pre></td><td class="css-vl0irh-content"><pre class="css-o1u8iu-content-text"> "^.+\.(scss|less)$": "&lt;rootDir&gt;/test/style-mock.ts",</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker"><pre></pre></td><td class="css-vl0irh-content"><pre class="css-o1u8iu-content-text"> "ids-web-components.css$": "&lt;rootDir&gt;/test/style-mock.ts",</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-rq9a2a-diff-removed"><pre>-</pre></td><td class="css-vl0irh-content css-rq9a2a-diff-removed"><pre class="css-o1u8iu-content-text"> "global.css$": "&lt;rootDir&gt;/test/style-mock.ts"</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-cnnxkz-diff-added"><pre>+</pre></td><td class="css-vl0irh-content css-cnnxkz-diff-added"><pre class="css-o1u8iu-content-text"> "global.css$": "&lt;rootDir&gt;/test/style-mock.ts",</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-cnnxkz-diff-added"><pre>+</pre></td><td class="css-vl0irh-content css-cnnxkz-diff-added"><pre class="css-o1u8iu-content-text"> "@iress-oss/ids-components/(.*).css": "&lt;rootDir&gt;/test/style-mock.ts"</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker"><pre></pre></td><td class="css-vl0irh-content"><pre class="css-o1u8iu-content-text"> },</pre></td></tr></tbody></table>
@@ -87,16 +108,95 @@ These classes have been removed from version 5. If you are targeting components
87
108
 
88
109
  This is the recommended approach. You can use design tokens and custom classes to style the components.
89
110
 
111
+ .custom-radio {
112
+ \--iress-text-color: red;
113
+ align-self: center;
114
+ }
115
+
116
+ ```
117
+
118
+ <IressRadio className\="custom-radio" />
119
+
120
+ ```
121
+
90
122
  #### Option 2: Target the new classes
91
123
 
92
124
  This option is **not recommended** and should be used as a last resort, as the class names can change in future, in which case your stylesheet will no longer have any effect. It is recommended to use design tokens or custom classes instead.
93
125
 
126
+ @use '@iress-oss/ids-components/dist/constants/index.scss' as \*;
127
+ .ids-radio-#{$ids-version} {
128
+ align-self: center;
129
+ }
130
+
131
+ .ids-radio--label-#{$ids-version} {
132
+ color: red;
133
+ }
134
+
135
+ ```
136
+
94
137
  ### Theme tokens
95
138
 
96
139
  There are a few token changes that have changed (though this has been relatively minor). The version 5 themes have been updated to use the new design tokens, however if you are using version 4 in parallel with version 5, you may notice that the version 4 styles can no longer find the removed/changed tokens.
97
140
 
98
141
  To fix this issue, please backfill the tokens in your application until you have finished your migration.
99
142
 
143
+ /\* TODO: Will be removed once we have moved to IDS version 5 \*/
144
+ /\* Change to the name(s) of the themes you want to back fill. \*/
145
+ .iress-theme-light {
146
+ --iress-alert-error-text-color: var(--iress-alert-danger-text-color);
147
+ --iress-alert-error-background-color: var(
148
+ --iress-alert-danger-background-color
149
+ );
150
+ --iress-alert-error-border-color: var(--iress-alert-danger-border-color);
151
+ --iress-alert-error-heading-icon-text-color: var(
152
+ --iress-alert-danger-heading-icon-text-color
153
+ );
154
+
155
+ --iress-button-margin-right: var(--iress-g-spacing-xs);
156
+
157
+ --iress-combobox-option-meta-font-weight: var(
158
+ --iress-a-muted-font-weight,
159
+ var(--iress-g-font-weight, normal)
160
+ );
161
+ --iress-combobox-option-meta-text-color: var(
162
+ --iress-g-muted-text-color,
163
+ var(--iress-default-text-color--light)
164
+ );
165
+
166
+ --iress-filter-option-meta-font-weight: var(
167
+ --iress-a-muted-font-weight,
168
+ var(--iress-g-font-weight, normal)
169
+ );
170
+ --iress-filter-option-meta-text-color: var(
171
+ --iress-g-muted-text-color,
172
+ var(--iress-default-text-color--light)
173
+ );
174
+
175
+ --iress-form-field-margin-bottom: var(
176
+ --iress-a-vertical-spacing-lg,
177
+ var(--iress-g-spacing-lg)
178
+ );
179
+
180
+ --iress-table-cell-buy-text-color: var(
181
+ --iress-table-cell-positive-text-color
182
+ );
183
+ --iress-table-cell-sell-text-color: var(
184
+ --iress-table-cell-negative-text-color
185
+ );
186
+ --iress-table-cell-selected-buy-text-color: var(
187
+ --iress-table-cell-selected-positive-text-color
188
+ );
189
+ --iress-table-cell-selected-sell-text-color: var(
190
+ --iress-table-cell-selected-negative-text-color
191
+ );
192
+
193
+ --iress-validation-message-error-text-color: var(
194
+ --iress-validation-message-danger-text-color
195
+ );
196
+ }
197
+
198
+ ```
199
+
100
200
  AG grid theme
101
201
  -------------
102
202
 
@@ -104,6 +204,10 @@ As of version 5, we only support the lite AG grid theme, which is used in conjun
104
204
 
105
205
  Run the following command to install the AG grid lite theme:
106
206
 
207
+ yarn add @iress/ag-grid-theme@^5.0.0
208
+
209
+ ```
210
+
107
211
  Then you can import the AG Grid theme CSS, import the relevant IDS theme, and hook up the styles by setting a class of ag-theme-alpine ag-theme-iress-lite on your grid wrapper.
108
212
 
109
213
  Diff
@@ -121,6 +225,10 @@ Version 5 and version 4 can be run in parallel, but it is recommended to remove
121
225
 
122
226
  Run the following to remove version 4 and its related packages:
123
227
 
228
+ yarn remove @iress/components @iress/components-react @iress/components-react-custom-elements @iress/ids-react-test-utils
229
+
230
+ ```
231
+
124
232
  ### Remove `global.css`
125
233
 
126
234
  The `global.css` file has been removed, it is now recommended to include the Roboto font directly using Google Fonts.
@@ -0,0 +1,226 @@
1
+ CodeSandbox was updated!
2
+
3
+ Sandbox
4
+
5
+ [Drafts](https://codesandbox.io/dashboard/drafts)
6
+
7
+ /
8
+
9
+ dank-haze-jls882
10
+
11
+ A
12
+
13
+ VS CodeShare
14
+
15
+ Sign In
16
+
17
+ index.html - nodebox - CodeSandbox
18
+
19
+ *
20
+
21
+ *
22
+
23
+ * 1
24
+
25
+ *
26
+
27
+ *
28
+
29
+
30
+ *
31
+
32
+ *
33
+
34
+
35
+ Explorer
36
+ --------
37
+
38
+ *
39
+
40
+
41
+ Drag a view here to display.
42
+
43
+ ### Sandbox Info
44
+
45
+ ### nodebox
46
+
47
+ *
48
+ *
49
+ *
50
+ *
51
+ *
52
+
53
+ index.html
54
+
55
+ index.tsx
56
+
57
+ package.json
58
+
59
+ ### Dependencies
60
+
61
+ react
62
+
63
+ latest
64
+
65
+ [
66
+
67
+ ](https://www.npmjs.com/package/react)
68
+
69
+ react-dom
70
+
71
+ latest
72
+
73
+ [
74
+
75
+ ](https://www.npmjs.com/package/react-dom)
76
+
77
+ @iress-oss/ids-components
78
+
79
+ alpha
80
+
81
+ [
82
+
83
+ ](https://www.npmjs.com/package/@iress-oss/ids-components)
84
+
85
+ ### Outline
86
+
87
+ *
88
+ *
89
+
90
+
91
+ *
92
+
93
+ Show All Commands
94
+
95
+ Ctrl+Shift+P
96
+
97
+ Go to File
98
+
99
+ Ctrl+P
100
+
101
+ Find in Files
102
+
103
+ Ctrl+Shift+F
104
+
105
+ Toggle Full Screen
106
+
107
+ F11
108
+
109
+ Show Settings
110
+
111
+ Ctrl+,
112
+
113
+ index.html
114
+
115
+ *
116
+
117
+ *
118
+ *
119
+ *
120
+
121
+
122
+ index.html
123
+
124
+ html
125
+
126
+ 1
127
+
128
+ 2
129
+
130
+ 3
131
+
132
+ 4
133
+
134
+ 5
135
+
136
+ 6
137
+
138
+ 7
139
+
140
+ 8
141
+
142
+ 9
143
+
144
+ <html\>
145
+
146
+   <head\>
147
+
148
+     <title\>Iress Design System</title\>
149
+
150
+   </head\>
151
+
152
+   <body\>
153
+
154
+     <div id\="root"\></div\>
155
+
156
+   </body\>
157
+
158
+ </html\>
159
+
160
+ Press desired key combination and then press ENTER.
161
+
162
+ *
163
+ *
164
+
165
+ Show All Commands
166
+
167
+ Ctrl+Shift+P
168
+
169
+ Go to File
170
+
171
+ Ctrl+P
172
+
173
+ Find in Files
174
+
175
+ Ctrl+Shift+F
176
+
177
+ Toggle Full Screen
178
+
179
+ F11
180
+
181
+ Show Settings
182
+
183
+ Ctrl+,
184
+
185
+ Preview
186
+
187
+ *
188
+
189
+ *
190
+ *
191
+
192
+
193
+ [
194
+
195
+ ](https://jls882.csb.app/)
196
+
197
+ *
198
+ *
199
+
200
+ Drag a view here to display.
201
+
202
+ *
203
+
204
+ Drag a view here to display.
205
+
206
+ CodeSandbox - Sandbox (Web)
207
+
208
+ 0 0
209
+
210
+ 1
211
+
212
+ Prettier
213
+
214
+ Layout: us
215
+
216
+ html
217
+
218
+ LF
219
+
220
+ UTF-8
221
+
222
+ Spaces: 2
223
+
224
+ Ln 1, Col 1
225
+
226
+ Open preview
@@ -16,7 +16,7 @@ Below is an example of a component using `bg` and `color` to create a featured p
16
16
 
17
17
  This is a featured panel, in case you want to highlight something important or draw attention to a specific piece of content.
18
18
 
19
- ```
19
+ Hide codedrawOpen in CodeSandbox
20
20
 
21
21
  <IressPanel
22
22
  bg\="colour.primary.fill"
@@ -61,7 +61,7 @@ Below is an example of using the `color` prop to highlight text throughout a com
61
61
 
62
62
  Sometimes actions are **successful**, and sometimes they are **dangerous**.
63
63
 
64
- ```
64
+ Hide codedrawOpen in CodeSandbox
65
65
 
66
66
  <IressPanel\>
67
67
  <p\>
@@ -16,7 +16,7 @@ The `layerStyle` prop allows you to draw attention to certain parts of the scree
16
16
 
17
17
  This panel is raised. This is useful for creating a visual hierarchy and drawing attention to important content.
18
18
 
19
- ```
19
+ Hide codedrawOpen in CodeSandbox
20
20
 
21
21
  <IressPanel layerStyle\="elevation.raised"\>
22
22
  This panel is raised. This is useful for creating a visual hierarchy and drawing attention to important content.
@@ -46,7 +46,7 @@ It can be set to `true` to enable focus styles when the element is focused using
46
46
 
47
47
  This element will have focus styles applied when it is focused. This is useful for accessibility and keyboard navigation.
48
48
 
49
- ```
49
+ Hide codedrawOpen in CodeSandbox
50
50
 
51
51
  <IressPanel
52
52
  focusable\="true"
@@ -10,11 +10,11 @@ The `borderRadius` prop allows you to change the border radius of any component.
10
10
 
11
11
  [](./iframe.html?id=styling-props-radius--border-radius)
12
12
 
13
- ```
13
+ Hide codedrawOpen in CodeSandbox
14
14
 
15
15
  <IressInput
16
16
  borderRadius\="radius.system.layout"
17
- p\="spacing.400"
17
+ p\="spacing.4"
18
18
  placeholder\="Search everything"
19
19
  textStyle\="typography.body.lg"
20
20
  />
@@ -40,7 +40,7 @@ In some cases you may need to remove the border-radius to achieve design require
40
40
 
41
41
  No radius here
42
42
 
43
- ```
43
+ Hide codedrawOpen in CodeSandbox
44
44
 
45
45
  <IressPanel
46
46
  bg\="alt"
@@ -42,7 +42,7 @@ Styling props reference
42
42
  | [textStyle](/?path=/docs/styling-props-typography--docs#textStyle) | font | [Typography](/?path=/docs/foundations-tokens-typography--docs) | Yes |
43
43
  | [width](/?path=/docs/styling-props-sizing--docs#inputwidths) | width | N/A | Yes |
44
44
 
45
- ```
45
+ Hide codedrawOpen in CodeSandbox
46
46
 
47
47
  <StylingPropsReferenceTable gap\="md" />
48
48
 
@@ -108,7 +108,7 @@ If you have been using the utility classes from previous versions of IDS (eg. `i
108
108
 
109
109
  <table class="css-1n5o7vh-diff-container"><tbody><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-rq9a2a-diff-removed"><pre>-</pre></td><td class="css-vl0irh-content css-rq9a2a-diff-removed"><pre class="css-o1u8iu-content-text">&lt;IressPanel className="iress-m--sm" /&gt;</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-cnnxkz-diff-added"><pre>+</pre></td><td class="css-vl0irh-content css-cnnxkz-diff-added"><pre class="css-o1u8iu-content-text">&lt;IressPanel m="sm" /&gt;</pre></td></tr></tbody></table>
110
110
 
111
- ```
111
+ Hide codedrawOpen in CodeSandbox
112
112
 
113
113
  {
114
114
  render: () \=> <DiffViewer oldValue\={\`<IressPanel className="iress-m--sm" />\`} newValue\={\`<IressPanel m="sm" />\`} />
@@ -140,7 +140,7 @@ If you have been using the internal component tokens (eg. `--iress-background-co
140
140
 
141
141
  <table class="css-1n5o7vh-diff-container"><tbody><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-rq9a2a-diff-removed"><pre>-</pre></td><td class="css-vl0irh-content css-rq9a2a-diff-removed"><pre class="css-o1u8iu-content-text">&lt;IressPanel style={{ '--iress-background-color': 'var(--iress-g-success-color)' }} /&gt;</pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-cnnxkz-diff-added"><pre>+</pre></td><td class="css-vl0irh-content css-cnnxkz-diff-added"><pre class="css-o1u8iu-content-text">&lt;IressPanel bg="colour.system.success.fill" /&gt;</pre></td></tr></tbody></table>
142
142
 
143
- ```
143
+ Hide codedrawOpen in CodeSandbox
144
144
 
145
145
  {
146
146
  render: () \=> <DiffViewer oldValue\={\`<IressPanel style={{ '--iress-background-color': 'var(--iress-g-success-color)' }} />\`} newValue\={\`<IressPanel bg="colour.system.success.fill" />\`} />
@@ -12,7 +12,7 @@ The `srOnly` prop allows you to set a component to be only visible on screen rea
12
12
 
13
13
  Hello screen readers
14
14
 
15
- Show code
15
+ Show codedrawOpen in CodeSandbox
16
16
 
17
17
  #### Props
18
18
 
@@ -33,7 +33,7 @@ The `srOnly` prop is responsive, allowing you to show content on larger screens
33
33
 
34
34
  This content is visible on large screens and screen readers
35
35
 
36
- Show code
36
+ Show codedrawOpen in CodeSandbox
37
37
 
38
38
  #### Props
39
39