@iress-oss/ids-mcp-server 6.0.0-alpha.2 → 6.0.0-alpha.4

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 (80) 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 +4 -3
  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 +139 -96
  62. package/generated/docs/components_patterns-form-recipes-docs.md +160 -30
  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_sandbox-docs.md +4 -0
  66. package/generated/docs/components_styling-props-colour-docs.md +2 -2
  67. package/generated/docs/components_styling-props-elevation-docs.md +2 -2
  68. package/generated/docs/components_styling-props-radius-docs.md +3 -3
  69. package/generated/docs/components_styling-props-reference-docs.md +3 -3
  70. package/generated/docs/components_styling-props-screen-readers-docs.md +2 -2
  71. package/generated/docs/components_styling-props-sizing-docs.md +3 -3
  72. package/generated/docs/components_styling-props-spacing-docs.md +19 -19
  73. package/generated/docs/components_styling-props-typography-docs.md +2 -2
  74. package/generated/docs/guidelines.md +17 -16
  75. package/generated/docs/tokens_colour-docs.md +72 -0
  76. package/generated/docs/tokens_introduction-docs.md +15 -18
  77. package/generated/docs/tokens_sandbox-docs.md +1 -0
  78. package/generated/docs/tokens_spacing-docs.md +10 -40
  79. package/generated/docs/tokens_typography-docs.md +43 -1
  80. package/package.json +4 -4
@@ -29,8 +29,24 @@ Email
29
29
 
30
30
  Submit
31
31
 
32
- ```
33
-
32
+ Hide codedrawOpen in CodeSandbox
33
+
34
+ import {
35
+ IressButton,
36
+ IressCol,
37
+ IressContainer,
38
+ IressDivider,
39
+ IressForm,
40
+ IressFormField,
41
+ IressInput,
42
+ IressModal,
43
+ IressRow,
44
+ IressStack,
45
+ IressTable,
46
+ IressText,
47
+ } from '@/main';
48
+ import { useState } from 'react';
49
+ import { type FieldValues } from 'react-hook-form';
34
50
  export const WithReadonlyDataForm \= () \=> {
35
51
  const \[values, setValues\] \= useState<FieldValues\>({
36
52
  firstName: 'Leia',
@@ -161,8 +177,27 @@ Dependents
161
177
 
162
178
  Edit
163
179
 
164
- ```
165
-
180
+ Hide codedrawOpen in CodeSandbox
181
+
182
+ import {
183
+ IressButton,
184
+ IressCol,
185
+ IressContainer,
186
+ IressForm,
187
+ IressFormField,
188
+ IressIcon,
189
+ IressInline,
190
+ IressInput,
191
+ IressRow,
192
+ IressSelect,
193
+ IressStack,
194
+ IressText,
195
+ IressToasterProvider,
196
+ useToaster,
197
+ } from '@/main';
198
+ import { useState } from 'react';
199
+ import { type FieldValues } from 'react-hook-form';
200
+ import { type FormControlValue } from '@/main';
166
201
  const Form \= () \=> {
167
202
  const dependentOptions \= \[
168
203
  { value: 0, label: '0' },
@@ -324,8 +359,16 @@ Here is an example showcasing a form using the native form constraints API to ac
324
359
 
325
360
  Sign up
326
361
 
327
- ```
362
+ Hide codedrawOpen in CodeSandbox
328
363
 
364
+ import {
365
+ IressInput,
366
+ IressButton,
367
+ IressField,
368
+ IressAlert,
369
+ type InputBaseElement,
370
+ } from '@/main';
371
+ import { useState } from 'react';
329
372
  export const NativeValidationForm \= () \=> {
330
373
  const \[formData, setFormData\] \= useState({
331
374
  name: '',
@@ -444,8 +487,23 @@ Save
444
487
 
445
488
  Submit main formSubmit all forms
446
489
 
447
- ```
448
-
490
+ Hide codedrawOpen in CodeSandbox
491
+
492
+ import {
493
+ IressButton,
494
+ IressDivider,
495
+ IressFieldGroup,
496
+ IressForm,
497
+ IressFormField,
498
+ IressFormValidationSummary,
499
+ IressInline,
500
+ IressInput,
501
+ IressModal,
502
+ IressPanel,
503
+ IressStack,
504
+ IressTable,
505
+ } from '@/main';
506
+ import { useState } from 'react';
449
507
  interface FormData {
450
508
  name: string;
451
509
  }
@@ -598,8 +656,28 @@ Add Dependant
598
656
 
599
657
  Submit All
600
658
 
601
- ```
602
-
659
+ Hide codedrawOpen in CodeSandbox
660
+
661
+ import {
662
+ IressButton,
663
+ IressDivider,
664
+ IressFieldGroup,
665
+ IressFormField,
666
+ IressInline,
667
+ IressInput,
668
+ IressPanel,
669
+ IressStack,
670
+ IressText,
671
+ IressIcon,
672
+ IressCloseButton,
673
+ IressHookForm,
674
+ } from '@/main';
675
+ import {
676
+ useFieldArray,
677
+ useForm,
678
+ type Control,
679
+ type UseFormGetValues,
680
+ } from 'react-hook-form';
603
681
  interface Client {
604
682
  name: string | undefined;
605
683
  salary: number | undefined;
@@ -723,12 +801,12 @@ const DependantSection: React.FC<DependantProps\> \= ({
723
801
  );
724
802
  };
725
803
  export const FormGroups \= () \=> {
726
- const form \= IressHookForm.useForm<FormValues\>({
804
+ const form \= useForm<FormValues\>({
727
805
  defaultValues: defaultValues,
728
806
  mode: 'onBlur',
729
807
  });
730
808
  const { control, getValues } \= form;
731
- const { fields, append, update, remove } \= IressHookForm.useFieldArray({
809
+ const { fields, append, update, remove } \= useFieldArray({
732
810
  name: 'dependants',
733
811
  control,
734
812
  });
@@ -805,8 +883,17 @@ Sender
805
883
 
806
884
  Recipient
807
885
 
808
- ```
809
-
886
+ Hide codedrawOpen in CodeSandbox
887
+
888
+ import {
889
+ IressExpander,
890
+ IressForm,
891
+ IressFormField,
892
+ type IressFormProps,
893
+ IressInput,
894
+ IressStack,
895
+ } from '@/main';
896
+ import { useState } from 'react';
810
897
  interface FieldValues {
811
898
  name?: string;
812
899
  email?: string;
@@ -886,10 +973,10 @@ array
886
973
  | \- | Choose option...nonesimplesupportedControlsreadOnly |
887
974
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
888
975
 
889
- Conditional fields (useWatch)
890
- -----------------------------
976
+ Conditional fields (`useWatch`)
977
+ -------------------------------
891
978
 
892
- When you have fields that are conditionally shown, you can use the `IressForm.useWatch` hook to watch the value of another field and conditionally render the field.
979
+ When you have fields that are conditionally shown, you can use the `useWatch` hook to watch the value of another field and conditionally render the field.
893
980
 
894
981
  **Notes:**
895
982
 
@@ -900,7 +987,7 @@ When you have fields that are conditionally shown, you can use the `IressForm.us
900
987
  Conditional fields using `useWatch`
901
988
  -----------------------------------
902
989
 
903
- This example demonstrates how to use the `IressForm.useWatch()` hook to watch the value of a field and conditionally render other fields based on that value.
990
+ This example demonstrates how to use the `useWatch()` hook to watch the value of a field and conditionally render other fields based on that value.
904
991
 
905
992
  \*RequiredSelect fields to show
906
993
 
@@ -910,8 +997,18 @@ Email
910
997
 
911
998
  Submit
912
999
 
913
- ```
914
-
1000
+ Hide codedrawOpen in CodeSandbox
1001
+
1002
+ import {
1003
+ IressCheckbox,
1004
+ IressCheckboxGroup,
1005
+ IressForm,
1006
+ IressFormField,
1007
+ type IressFormProps,
1008
+ IressInput,
1009
+ IressText,
1010
+ } from '@/main';
1011
+ import { useWatch } from 'react-hook-form';
915
1012
  interface FieldValues {
916
1013
  show?: string\[\];
917
1014
  name?: string;
@@ -920,15 +1017,14 @@ interface FieldValues {
920
1017
  /\*\*
921
1018
  \* Conditional fields need to be rendered in a sub-component, to allow it to use the \`useWatch\` \* hook to watch the value of the field dictating the display of conditional fields. \*/
922
1019
  const FormSectionWithConditionalFields \= () \=> {
923
- const show \= IressForm.useWatch<FieldValues\>({ name: 'show' });
1020
+ const show \= useWatch<FieldValues\>({ name: 'show' });
924
1021
  return (
925
1022
  <IressText\>
926
1023
  <h2\>
927
1024
  Conditional fields using <code\>useWatch</code\>
928
1025
  </h2\>
929
1026
  <p\>
930
- This example demonstrates how to use the{' '}
931
- <code\>IressForm.useWatch()</code\> hook to watch the value of a field and conditionally render other fields based on that value. </p\>
1027
+ This example demonstrates how to use the <code\>useWatch()</code\> hook to watch the value of a field and conditionally render other fields based on that value. </p\>
932
1028
  <IressFormField
933
1029
  name\="show"
934
1030
  label\="Select fields to show"
@@ -1020,10 +1116,18 @@ Visible Input
1020
1116
 
1021
1117
  Submit
1022
1118
 
1023
- ```
1119
+ Hide codedrawOpen in CodeSandbox
1024
1120
 
1121
+ import {
1122
+ IressButton,
1123
+ IressFormField,
1124
+ IressHookForm,
1125
+ IressInput,
1126
+ IressStack,
1127
+ } from '@/main';
1128
+ import { useForm } from 'react-hook-form';
1025
1129
  export const HiddenInputsForm \= () \=> {
1026
- const form \= IressForm.useForm();
1130
+ const form \= useForm();
1027
1131
  const { register } \= form;
1028
1132
  // This is a hidden input field that the user cannot see or interact with.
1029
1133
  // This is the recommended way to handle hidden inputs in Iress forms.
@@ -1108,8 +1212,22 @@ Submit
1108
1212
 
1109
1213
  * * *
1110
1214
 
1111
- ```
1112
-
1215
+ Hide codedrawOpen in CodeSandbox
1216
+
1217
+ import {
1218
+ IressStack,
1219
+ IressRow,
1220
+ IressCol,
1221
+ IressFormField,
1222
+ IressInputCurrency,
1223
+ IressSelect,
1224
+ IressButton,
1225
+ IressText,
1226
+ IressDivider,
1227
+ IressHookForm,
1228
+ } from '@/main';
1229
+ import { useState } from 'react';
1230
+ import { useForm } from 'react-hook-form';
1113
1231
  interface FormData {
1114
1232
  primaryField: string;
1115
1233
  dependentField: string;
@@ -1142,7 +1260,7 @@ const validateBudgetInput \= (
1142
1260
  };
1143
1261
  export const ValidationDependOnOtherFields \= () \=> {
1144
1262
  const \[submitted, setSubmitted\] \= useState<FormData | undefined\>(undefined);
1145
- const form \= IressForm.useForm<FormData\>({
1263
+ const form \= useForm<FormData\>({
1146
1264
  defaultValues: {
1147
1265
  primaryField: '',
1148
1266
  dependentField: '',
@@ -1282,10 +1400,22 @@ Upload
1282
1400
 
1283
1401
  Submit
1284
1402
 
1285
- ```
1286
-
1403
+ Hide codedrawOpen in CodeSandbox
1404
+
1405
+ import {
1406
+ IressButton,
1407
+ IressForm,
1408
+ IressInput,
1409
+ IressFormField,
1410
+ IressStack,
1411
+ IressIcon,
1412
+ IressText,
1413
+ IressPanel,
1414
+ IressInline,
1415
+ type IressInputProps,
1416
+ } from '@/main';
1287
1417
  import React, { useState } from 'react';
1288
-
1418
+ import { useDropzone } from 'react-dropzone';
1289
1419
  interface TranscriptFormValues {
1290
1420
  transcript: TranscriptData | string;
1291
1421
  }
@@ -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\>
@@ -0,0 +1,4 @@
1
+ Redirecting to CodeSandbox...
2
+ -----------------------------
3
+
4
+ [Click here to open CodeSandbox](https://codesandbox.io/api/v1/sandboxes/define?parameters=N4IgZglgNgpgziAXKCA7AJjAHgOgC5xZKgDGA9qnjJUiBALYAOZATngAQBKMAhiR2BZl67AOQte_UQG4AOqgbM2XSXgAiAeQCy7QcLES-eALTphAehJQI1PDPmLWHYOwCSEuHAAKPVDCgANG4e3kIAbhCYLOwAvrpCIqIAAhAhxmSe5pFwxuRMFLZw9gr5ysmp8DkZcFnoOXnMfpQ16BBweObtAJ6wOCSexfLm5uzw1pSmbTwARrDGflgm4zDshvzGEoLwABbmFFBdxthKJg0FzfLkqO3sAIKMjOwAvOwAFACUzwB87MDy7KsYHgAK4sVDsAA87kqPj8UHY0wA5k9ZCAeFA8KivtDPOw1PAIIjwQBlLrtGAiWH-CHmHHeXz-L5yVAxZnybhGTRaPqGKicMhkPCvMwkYH0Ww4RFAgCisHFlAAQl1XOhXuIBXZ3gBCd44CQYGAsV7_SEc_g4Yl4FgQfhaMiYL4mgFQkJecKRQ2O8EAn0Q-6Pcxen2Q2mu91RIMhs14C1Wm14O0OgLyd7MkABOhwBVoHgsLpIMDouAwGIZtCYXDbPD0KDEEBXKg0RAgCFVmuR1u8dCR514CB4WDYkJ4glE9ik8n0Gl9gcwDvmbZdjvTe1dHuQ1phdiRFEgISCrE0zfzlfoNfyGltqBe9OZ7OoXP5xCFqDF0sgRh8ADWPClOAAVnAFB1g2ti0H83qopgjDUJgqAkDYcCoogvxOuwqJrJiSDoSAUA8FQ7Sosm3oAhhqimMIyE4XhBFYcRwaoikaTVLU9TCI0hRUai6KMNsPCoiaMTyDEt5tPej4FkWJYxDEQA).
@@ -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
 
@@ -34,7 +34,7 @@ For variable data entry, you can use percentage widths. These are usually used i
34
34
 
35
35
  Credit card number wide panel
36
36
 
37
- ```
37
+ Hide codedrawOpen in CodeSandbox
38
38
 
39
39
  <IressPanel
40
40
  bg\="alt"
@@ -74,7 +74,7 @@ In some cases however, you may want to restrain the width even further (for exam
74
74
 
75
75
  This container is extra readable cause its maxWidth is set to: `container.md`.
76
76
 
77
- ```
77
+ Hide codedrawOpen in CodeSandbox
78
78
 
79
79
  <IressContainer
80
80
  bg\="alt"
@@ -122,7 +122,7 @@ Iress was founded in **1993** in Melbourne, Australia. The company's initial pro
122
122
 
123
123
  In **2000**, Iress listed on the **Australian Stock Exchange (ASX)** under the ticker **IRE**, signaling its growth beyond market data services.
124
124
 
125
- ```
125
+ Hide codedrawOpen in CodeSandbox
126
126
 
127
127
  <IressContainer
128
128
  bg\="alt"