@iress-oss/ids-mcp-server 6.0.0-alpha.8 → 6.0.0-alpha.9

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 (55) hide show
  1. package/generated/docs/components_components-alert-docs.md +23 -23
  2. package/generated/docs/components_components-autocomplete-docs.md +30 -86
  3. package/generated/docs/components_components-button-docs.md +18 -18
  4. package/generated/docs/components_components-buttongroup-docs.md +2 -2
  5. package/generated/docs/components_components-card-docs.md +13 -13
  6. package/generated/docs/components_components-checkbox-docs.md +0 -14
  7. package/generated/docs/components_components-checkboxgroup-docs.md +13 -13
  8. package/generated/docs/components_components-col-docs.md +6 -6
  9. package/generated/docs/components_components-expander-docs.md +2 -2
  10. package/generated/docs/components_components-field-docs.md +4 -4
  11. package/generated/docs/components_components-filter-docs.md +35 -35
  12. package/generated/docs/components_components-hide-docs.md +7 -13
  13. package/generated/docs/components_components-icon-docs.md +25 -25
  14. package/generated/docs/components_components-inline-docs.md +7 -7
  15. package/generated/docs/components_components-input-docs.md +9 -9
  16. package/generated/docs/components_components-inputcurrency-docs.md +1 -1
  17. package/generated/docs/components_components-menu-docs.md +38 -38
  18. package/generated/docs/components_components-menu-menuitem-docs.md +2 -2
  19. package/generated/docs/components_components-modal-docs.md +7 -7
  20. package/generated/docs/components_components-panel-docs.md +10 -10
  21. package/generated/docs/components_components-popover-docs.md +63 -35
  22. package/generated/docs/components_components-popover-recipes-docs.md +18 -10
  23. package/generated/docs/components_components-radiogroup-docs.md +7 -23
  24. package/generated/docs/components_components-readonly-docs.md +2 -2
  25. package/generated/docs/components_components-richselect-docs.md +33 -35
  26. package/generated/docs/components_components-row-docs.md +2 -2
  27. package/generated/docs/components_components-select-docs.md +12 -12
  28. package/generated/docs/components_components-skiplink-docs.md +2 -2
  29. package/generated/docs/components_components-slideout-docs.md +19 -19
  30. package/generated/docs/components_components-slider-docs.md +4 -4
  31. package/generated/docs/components_components-stack-docs.md +6 -6
  32. package/generated/docs/components_components-styled-docs.md +477 -0
  33. package/generated/docs/components_components-table-docs.md +35 -35
  34. package/generated/docs/components_components-tabset-docs.md +7 -7
  35. package/generated/docs/components_components-tag-docs.md +3 -3
  36. package/generated/docs/components_components-text-docs.md +4 -0
  37. package/generated/docs/components_components-toggle-docs.md +4 -4
  38. package/generated/docs/components_components-validationmessage-docs.md +6 -6
  39. package/generated/docs/components_foundations-responsive-layout-docs.md +10 -10
  40. package/generated/docs/components_foundations-z-index-stacking-docs.md +3 -3
  41. package/generated/docs/components_introduction-docs.md +1 -1
  42. package/generated/docs/components_patterns-form-docs.md +144 -29
  43. package/generated/docs/components_patterns-form-recipes-docs.md +30 -30
  44. package/generated/docs/components_patterns-loading-docs.md +3 -9
  45. package/generated/docs/components_patterns-shadow-docs.md +2 -2
  46. package/generated/docs/components_sandbox-docs.md +1 -1
  47. package/generated/docs/components_styling-props-colour-docs.md +2 -0
  48. package/generated/docs/components_styling-props-reference-docs.md +6 -9
  49. package/generated/docs/components_styling-props-screen-readers-docs.md +40 -1
  50. package/generated/docs/components_styling-props-scrollable-docs.md +76 -0
  51. package/generated/docs/components_styling-props-sizing-docs.md +1 -1
  52. package/generated/docs/components_styling-props-spacing-docs.md +6 -6
  53. package/generated/docs/guidelines.md +13 -13
  54. package/generated/docs/tokens_sandbox-docs.md +3 -0
  55. package/package.json +8 -8
@@ -58,19 +58,19 @@ object
58
58
 
59
59
 
60
60
 
61
- | \- | Choose option...nonesubmitsave |
61
+ | \- | actionsChoose option...nonesubmitsave |
62
62
  | alert |
63
63
 
64
64
  \-
65
65
 
66
- | \- | Choose option...nonebasicAlert |
66
+ | \- | alertChoose option...nonebasicAlert |
67
67
  | children |
68
68
 
69
69
  array
70
70
 
71
71
 
72
72
 
73
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
73
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
74
74
  | pattern |
75
75
 
76
76
  string
@@ -144,19 +144,19 @@ object
144
144
 
145
145
 
146
146
 
147
- | \- | Choose option...nonesubmitsave |
147
+ | \- | actionsChoose option...nonesubmitsave |
148
148
  | alert |
149
149
 
150
150
  \-
151
151
 
152
- | \- | Choose option...nonebasicAlert |
152
+ | \- | alertChoose option...nonebasicAlert |
153
153
  | children |
154
154
 
155
155
  array
156
156
 
157
157
 
158
158
 
159
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
159
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
160
160
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
161
161
 
162
162
  ### Validation
@@ -204,19 +204,19 @@ object
204
204
 
205
205
 
206
206
 
207
- | \- | Choose option...nonesubmitsave |
207
+ | \- | actionsChoose option...nonesubmitsave |
208
208
  | alert |
209
209
 
210
210
  \-
211
211
 
212
- | \- | Choose option...nonebasicAlert |
212
+ | \- | alertChoose option...nonebasicAlert |
213
213
  | children |
214
214
 
215
215
  array
216
216
 
217
217
 
218
218
 
219
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
219
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
220
220
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
221
221
 
222
222
  ### Syncing state
@@ -420,6 +420,121 @@ string
420
420
  | \- |
421
421
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
422
422
 
423
+ ### Supplementary content
424
+
425
+ The `renderSupplementary` prop allows you to render additional content alongside the field that has access to the field props and state. This is useful for displaying dynamic information such as character counters, password strength meters, or custom help text that responds to user input.
426
+
427
+ The render function receives two arguments:
428
+
429
+ 1. `field`: An object containing the field props (id, name, value, onChange, onBlur, ref)
430
+ 2. `state`: An object containing the field state (fieldState, formState)
431
+
432
+ Common use cases include:
433
+
434
+ * **Character counters**: Display the current character count and maximum allowed
435
+ * **Password strength indicators**: Show password strength based on the current value
436
+ * **Dynamic hints**: Provide contextual help based on the field value
437
+ * **Custom validation feedback**: Display real-time validation feedback separate from error messages
438
+
439
+ [](./iframe.html?id=patterns-form-formfield--render-supplementary)
440
+
441
+ Hide codedrawOpen in CodeSandbox
442
+
443
+ <IressFormField
444
+ hint\="Enter your feedback (max 200 characters)"
445
+ label\="Comment"
446
+ name\="comment"
447
+ render\={() \=> {}}
448
+ renderSupplementary\={() \=> {}}
449
+ rules\={{
450
+ maxLength: {
451
+ message: 'Comment must not exceed 200 characters',
452
+ value: 200
453
+ }
454
+ }}
455
+ />
456
+
457
+ ```
458
+
459
+ #### Props
460
+
461
+ | Name | Description | Default | Control |
462
+ | --- | --- | --- | --- |
463
+ | label |
464
+ string
465
+
466
+
467
+
468
+ | \- | Comment |
469
+ | name\* |
470
+
471
+ Name of the field. It is used to identify the field in the form. It must be unique within the form.
472
+
473
+ FieldPath
474
+
475
+
476
+
477
+ | \- |
478
+
479
+ "comment"
480
+
481
+ |
482
+ | readOnly |
483
+
484
+ Text to be displayed instead of input field.
485
+
486
+ boolean
487
+
488
+
489
+
490
+ | \- | Set boolean |
491
+ | render\* |
492
+
493
+ Render function to provide the control for the field. To ensure the field is correctly registered with the form, the control must be passed as props to the rendered component. (eg. `render={field => <IressInput {...field} />}`)
494
+
495
+ ( field: FormFieldRenderProps<T>, state: FormFieldRenderState<T>, ) => ReactNode
496
+
497
+ | \- | \- |
498
+ | renderSupplementary |
499
+
500
+ Render function to allow you to render supplementary content alongside the field, with access to the field props and state. This can be useful for rendering custom components that need to interact with the form state, such as character counters, password strength meters, or custom validation messages. (eg. `renderSupplementary={{ value } => <CharCount value={value} />}`)
501
+
502
+ ( field: FormFieldRenderProps<T>, state: FormFieldRenderState<T>, ) => ReactNode
503
+
504
+ | \- | \- |
505
+ | rules |
506
+
507
+ Validation rules, including: required, min, max, minLength, maxLength, pattern, validate
508
+
509
+ intersection
510
+
511
+
512
+
513
+ | \- |
514
+
515
+ Edit JSON
516
+
517
+ rules :
518
+
519
+ {
520
+
521
+ * maxLength :
522
+
523
+ {...} 2 keys
524
+
525
+
526
+ }
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+ |
535
+ | Show Field props itemsField props | Show Field props items |
536
+ | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
537
+
423
538
  ### Rules
424
539
 
425
540
  Use the `rules` prop on the `IressFormField` component to add validation rules. These are based on the [rules available in React Hook Forms](https://www.react-hook-form.com/api/useform/register/#options). The following rules are supported.
@@ -993,12 +1108,12 @@ object
993
1108
 
994
1109
 
995
1110
 
996
- | \- | Choose option...nonesubmitsave |
1111
+ | \- | actionsChoose option...nonesubmitsave |
997
1112
  | alert |
998
1113
 
999
1114
  \-
1000
1115
 
1001
- | \- | Choose option...nonebasicAlert |
1116
+ | \- | alertChoose option...nonebasicAlert |
1002
1117
  | children |
1003
1118
 
1004
1119
  array
@@ -1089,19 +1204,19 @@ object
1089
1204
 
1090
1205
 
1091
1206
 
1092
- | \- | Choose option...nonesubmitsave |
1207
+ | \- | actionsChoose option...nonesubmitsave |
1093
1208
  | alert |
1094
1209
 
1095
1210
  \-
1096
1211
 
1097
- | \- | Choose option...nonebasicAlert |
1212
+ | \- | alertChoose option...nonebasicAlert |
1098
1213
  | children |
1099
1214
 
1100
1215
  array
1101
1216
 
1102
1217
 
1103
1218
 
1104
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1219
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1105
1220
  | pattern |
1106
1221
 
1107
1222
  string
@@ -1207,12 +1322,12 @@ object
1207
1322
 
1208
1323
 
1209
1324
 
1210
- | \- | Choose option...nonesubmitsave |
1325
+ | \- | actionsChoose option...nonesubmitsave |
1211
1326
  | alert |
1212
1327
 
1213
1328
  \-
1214
1329
 
1215
- | \- | Choose option...nonebasicAlert |
1330
+ | \- | alertChoose option...nonebasicAlert |
1216
1331
  | children |
1217
1332
 
1218
1333
  array
@@ -1345,19 +1460,19 @@ object
1345
1460
 
1346
1461
 
1347
1462
 
1348
- | \- | Choose option...nonesubmitsave |
1463
+ | \- | actionsChoose option...nonesubmitsave |
1349
1464
  | alert |
1350
1465
 
1351
1466
  \-
1352
1467
 
1353
- | \- | Choose option...nonebasicAlert |
1468
+ | \- | alertChoose option...nonebasicAlert |
1354
1469
  | children |
1355
1470
 
1356
1471
  array
1357
1472
 
1358
1473
 
1359
1474
 
1360
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1475
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1361
1476
  | onSubmit |
1362
1477
 
1363
1478
  \-
@@ -1848,12 +1963,12 @@ object
1848
1963
 
1849
1964
 
1850
1965
 
1851
- | \- | Choose option...nonesubmitsave |
1966
+ | \- | actionsChoose option...nonesubmitsave |
1852
1967
  | alert |
1853
1968
 
1854
1969
  \-
1855
1970
 
1856
- | \- | Choose option...nonebasicAlert |
1971
+ | \- | alertChoose option...nonebasicAlert |
1857
1972
  | children |
1858
1973
 
1859
1974
  array
@@ -1954,12 +2069,12 @@ object
1954
2069
 
1955
2070
 
1956
2071
 
1957
- | \- | Choose option...nonesubmitsave |
2072
+ | \- | actionsChoose option...nonesubmitsave |
1958
2073
  | alert |
1959
2074
 
1960
2075
  \-
1961
2076
 
1962
- | \- | Choose option...nonebasicAlert |
2077
+ | \- | alertChoose option...nonebasicAlert |
1963
2078
  | children |
1964
2079
 
1965
2080
  array
@@ -2030,19 +2145,19 @@ object
2030
2145
 
2031
2146
 
2032
2147
 
2033
- | \- | Choose option...nonesubmitsave |
2148
+ | \- | actionsChoose option...nonesubmitsave |
2034
2149
  | alert |
2035
2150
 
2036
2151
  \-
2037
2152
 
2038
- | \- | Choose option...nonebasicAlert |
2153
+ | \- | alertChoose option...nonebasicAlert |
2039
2154
  | children |
2040
2155
 
2041
2156
  array
2042
2157
 
2043
2158
 
2044
2159
 
2045
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
2160
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
2046
2161
  | pattern |
2047
2162
 
2048
2163
  string
@@ -2342,21 +2457,21 @@ object
2342
2457
 
2343
2458
 
2344
2459
 
2345
- | \- | Choose option...nonesubmitsave |
2460
+ | \- | actionsChoose option...nonesubmitsave |
2346
2461
  | alert |
2347
2462
 
2348
2463
  object
2349
2464
 
2350
2465
 
2351
2466
 
2352
- | \- | Choose option...nonebasicAlert |
2467
+ | \- | alertChoose option...nonebasicAlert |
2353
2468
  | children |
2354
2469
 
2355
2470
  array
2356
2471
 
2357
2472
 
2358
2473
 
2359
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
2474
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
2360
2475
  | heading |
2361
2476
 
2362
2477
  string
@@ -129,19 +129,19 @@ object
129
129
 
130
130
 
131
131
 
132
- | \- | Choose option...nonesubmitsave |
132
+ | \- | actionsChoose option...nonesubmitsave |
133
133
  | alert |
134
134
 
135
135
  \-
136
136
 
137
- | \- | Choose option...nonebasicAlert |
137
+ | \- | alertChoose option...nonebasicAlert |
138
138
  | children |
139
139
 
140
140
  array
141
141
 
142
142
 
143
143
 
144
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
144
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
145
145
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
146
146
 
147
147
  Switching between readonly and edit modes
@@ -327,19 +327,19 @@ object
327
327
 
328
328
 
329
329
 
330
- | \- | Choose option...nonesubmitsave |
330
+ | \- | actionsChoose option...nonesubmitsave |
331
331
  | alert |
332
332
 
333
333
  \-
334
334
 
335
- | \- | Choose option...nonebasicAlert |
335
+ | \- | alertChoose option...nonebasicAlert |
336
336
  | children |
337
337
 
338
338
  array
339
339
 
340
340
 
341
341
 
342
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
342
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
343
343
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
344
344
 
345
345
  Alternative form validation
@@ -445,19 +445,19 @@ object
445
445
 
446
446
 
447
447
 
448
- | \- | Choose option...nonesubmitsave |
448
+ | \- | actionsChoose option...nonesubmitsave |
449
449
  | alert |
450
450
 
451
451
  \-
452
452
 
453
- | \- | Choose option...nonebasicAlert |
453
+ | \- | alertChoose option...nonebasicAlert |
454
454
  | children |
455
455
 
456
456
  array
457
457
 
458
458
 
459
459
 
460
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
460
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
461
461
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
462
462
 
463
463
  Nested forms
@@ -603,19 +603,19 @@ object
603
603
 
604
604
 
605
605
 
606
- | \- | Choose option...nonesubmitsave |
606
+ | \- | actionsChoose option...nonesubmitsave |
607
607
  | alert |
608
608
 
609
609
  \-
610
610
 
611
- | \- | Choose option...nonebasicAlert |
611
+ | \- | alertChoose option...nonebasicAlert |
612
612
  | children |
613
613
 
614
614
  array
615
615
 
616
616
 
617
617
 
618
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
618
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
619
619
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
620
620
 
621
621
  Form Groups
@@ -857,19 +857,19 @@ object
857
857
 
858
858
 
859
859
 
860
- | \- | Choose option...nonesubmitsave |
860
+ | \- | actionsChoose option...nonesubmitsave |
861
861
  | alert |
862
862
 
863
863
  \-
864
864
 
865
- | \- | Choose option...nonebasicAlert |
865
+ | \- | alertChoose option...nonebasicAlert |
866
866
  | children |
867
867
 
868
868
  array
869
869
 
870
870
 
871
871
 
872
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
872
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
873
873
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
874
874
 
875
875
  Forms in expanders (lazy loading)
@@ -958,19 +958,19 @@ object
958
958
 
959
959
 
960
960
 
961
- | \- | Choose option...nonesubmitsave |
961
+ | \- | actionsChoose option...nonesubmitsave |
962
962
  | alert |
963
963
 
964
964
  \-
965
965
 
966
- | \- | Choose option...nonebasicAlert |
966
+ | \- | alertChoose option...nonebasicAlert |
967
967
  | children |
968
968
 
969
969
  array
970
970
 
971
971
 
972
972
 
973
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
973
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
974
974
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
975
975
 
976
976
  Conditional fields (`useWatch`)
@@ -1085,19 +1085,19 @@ object
1085
1085
 
1086
1086
 
1087
1087
 
1088
- | \- | Choose option...nonesubmitsave |
1088
+ | \- | actionsChoose option...nonesubmitsave |
1089
1089
  | alert |
1090
1090
 
1091
1091
  \-
1092
1092
 
1093
- | \- | Choose option...nonebasicAlert |
1093
+ | \- | alertChoose option...nonebasicAlert |
1094
1094
  | children |
1095
1095
 
1096
1096
  array
1097
1097
 
1098
1098
 
1099
1099
 
1100
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1100
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1101
1101
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
1102
1102
 
1103
1103
  Hidden inputs
@@ -1171,19 +1171,19 @@ object
1171
1171
 
1172
1172
 
1173
1173
 
1174
- | \- | Choose option...nonesubmitsave |
1174
+ | \- | actionsChoose option...nonesubmitsave |
1175
1175
  | alert |
1176
1176
 
1177
1177
  \-
1178
1178
 
1179
- | \- | Choose option...nonebasicAlert |
1179
+ | \- | alertChoose option...nonebasicAlert |
1180
1180
  | children |
1181
1181
 
1182
1182
  array
1183
1183
 
1184
1184
 
1185
1185
 
1186
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1186
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1187
1187
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
1188
1188
 
1189
1189
  Validation depend on other fields
@@ -1350,19 +1350,19 @@ object
1350
1350
 
1351
1351
 
1352
1352
 
1353
- | \- | Choose option...nonesubmitsave |
1353
+ | \- | actionsChoose option...nonesubmitsave |
1354
1354
  | alert |
1355
1355
 
1356
1356
  \-
1357
1357
 
1358
- | \- | Choose option...nonebasicAlert |
1358
+ | \- | alertChoose option...nonebasicAlert |
1359
1359
  | children |
1360
1360
 
1361
1361
  array
1362
1362
 
1363
1363
 
1364
1364
 
1365
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1365
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1366
1366
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
1367
1367
 
1368
1368
  Custom form field components
@@ -1711,17 +1711,17 @@ object
1711
1711
 
1712
1712
 
1713
1713
 
1714
- | \- | Choose option...nonesubmitsave |
1714
+ | \- | actionsChoose option...nonesubmitsave |
1715
1715
  | alert |
1716
1716
 
1717
1717
  \-
1718
1718
 
1719
- | \- | Choose option...nonebasicAlert |
1719
+ | \- | alertChoose option...nonebasicAlert |
1720
1720
  | children |
1721
1721
 
1722
1722
  array
1723
1723
 
1724
1724
 
1725
1725
 
1726
- | \- | Choose option...nonesimplesupportedControlsreadOnly |
1726
+ | \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
1727
1727
  | Show React Hook Forms itemsReact Hook Forms | Show React Hook Forms items |
@@ -463,8 +463,6 @@ ReactNode
463
463
 
464
464
  <IressInline />
465
465
 
466
-
467
-
468
466
  | Set object |
469
467
  | pattern |
470
468
 
@@ -613,7 +611,7 @@ Record<number, ReactNode>
613
611
 
614
612
  | { } |
615
613
 
616
- RAW
614
+ Edit JSON
617
615
 
618
616
  messageList :
619
617
 
@@ -668,8 +666,6 @@ This is a render prop that allows you to override the default progress rendering
668
666
 
669
667
  element
670
668
 
671
-
672
-
673
669
  | \- |
674
670
  | timeout |
675
671
 
@@ -956,8 +952,6 @@ ReactNode
956
952
 
957
953
  <IressText />
958
954
 
959
-
960
-
961
955
  | Set object |
962
956
  | estimatedFinishTime |
963
957
 
@@ -989,7 +983,7 @@ Record<number, ReactNode>
989
983
 
990
984
  | \- |
991
985
 
992
- RAW
986
+ Edit JSON
993
987
 
994
988
  messageList :
995
989
 
@@ -1191,7 +1185,7 @@ union
1191
1185
 
1192
1186
  |
1193
1187
 
1194
- bottomtopright
1188
+ positionbottomtopright
1195
1189
 
1196
1190
  |
1197
1191
  | renderButton |
@@ -39,7 +39,7 @@ ReactNode
39
39
 
40
40
  | \- |
41
41
 
42
- RAW
42
+ Edit JSON
43
43
 
44
44
  children :
45
45
 
@@ -135,7 +135,7 @@ ReactNode
135
135
 
136
136
  | \- |
137
137
 
138
- RAW
138
+ Edit JSON
139
139
 
140
140
  children :
141
141
 
@@ -1,4 +1,4 @@
1
1
  Redirecting to CodeSandbox...
2
2
  -----------------------------
3
3
 
4
- [Click here to open CodeSandbox](https://codesandbox.io/api/v1/sandboxes/define?parameters=N4IgZglgNgpgziAXKCA7AJjAHgOgC5xZKgDGA9qnjJUiBALYAOZATngAQBKMAhiR2BZl67AOQte_UQG4AOqgbM2XSXgAiAeQCy7QcLES-eALTphAehJQI1PDPmLWHYOwCSEuHAAKPVDCgANG4e3kIAbhCYLOwAvrpCIqIAAhAhxmSe5pFwxuRMFLZw9gr5ysmp8DkZcFnoOXnMfpQ16BBweObtAJ6wOCSexfLm5uzw1pSmbTwARrDGflgm4zDshvzGEoLwABbmFFBdxthKJg0FzfLkqO3sAIKMjOwAvOwAFACUzwB87MDy7KsYHgAK4sVDsAA87kqPj8UHY0wA5k9ZCAeFA8KivtDPOw1PAIIjwQBlLrtGAiWH-CHmHHeXz-L5yVAxZnybhGTRaPqGKicMhkPCvMwkYH0Ww4RFAgCisHFlAAQl1XOhXuIBXZ3gBCd44CQYGAsV7_SEc_g4Yl4FgQfhaMiYL4mgFQkJecKRQ2O8EAn0Q-6Pcxen2Q2mu91RIMhs14C1Wm14O0OgLyd7MkABOhwBVoHgsLpIMDouAwGIZtCYXDbPD0KDEEBXKg0RAgCFVmuR1u8dCR514CB4WDYkJ4glE9ik8n0Gl9gcwDvmbZdjvTe1dHuQ1phdiRFEgISCrE0zfzlfoNfyGltqBe9OZ7OoXP5xCFqDF0sgRh8ADWPClOAAVnAFB1g2ti0H83qopgjDUJgqAkDYcCoogvxOuwqJrJiSDoSAUA8FQ7Sosm3oAhhqimMIyE4XhBFYcRwaoikaTVLU9TCI0hRUai6KMNsPCoiaMTyDEt5tPej4FkWJYxDEQA).
4
+ [Click here to open CodeSandbox](https://codesandbox.io/api/v1/sandboxes/define?parameters=N4IgZglgNgpgziAXKCA7AJjAHgOgC5xZKgDGA9qnjJUiBALYAOZATngAQBKMAhiR2BZl67AOQte_UQG4AOqgbM2XSXgAiAeQCy7QcLES-eALTphAehJQI1PDPmLWHYOwCSEuHAAKPVDCgANG4e3kIAbhCYLOwAvrpCIqIAAhAhxmSe5pFwxuRMFLZw9gr5ysmp8DkZcFnoOXnMfpQ16BBweObtAJ6wOCSexfLm5uzw1pSmbTwARrDGflgm4zDshvzGEoLwABbmFFBdxthKJg0FzfLkqO3sAIKMjOwAvOwAFACUzwB87MDy7KsYHgAK4sVDsAA87kqPj8UHY0wA5k9ZCAeFA8KivtDPOw1PAIIjwQBlLrtGAiWH-CHmHHeXz-L5yVAxZnybhGTRaPqGKicMhkPCvMwkYH0Ww4RFAgCisHFlAAQl1XOhXuIBXZ3gBCd44CQYGAsV7_SEc_g4Yl4FgQfhaMiYL4mgFQkJecKRQ2O8EAn0Q-6Pcxen2Q2mu91RIMhs14C1Wm14O0OgLyd7MkABOhwBVoHgsLpIMDouAwGIZtCYXDbPD0KDEEBXKg0RAgCFVmuR1u8dCR514CB4WDYkJ4glE9ik8n0Gl9gcwDvmbZdjvTe1dHuQ1phdiRFEgISCrE0zfzlfoNfyGltqBe9OZ7OoXP5xCFqDF0sgRh8ADWPClOAAVnAFB1g2ti0H83qopgjDUJgqAkDYcCoogvxOuwqJrJiSDoSAUA8FQ7Sosm3oAhhqimMIyE4XhBFYcRwaoikaTVLU9TCI0hRUai6KMNsPBEWhZFGMY2wCl-xhgKw9Bcbh-HwFhJoxPIMS3m096PgWRYljEMRAA).
@@ -48,6 +48,8 @@ string
48
48
 
49
49
  | \- |
50
50
 
51
+ color
52
+
51
53
  |
52
54
 
53
55
  `color`
@@ -20,7 +20,7 @@ Styling props reference
20
20
  | [color](/?path=/docs/styling-props-colour--docs#color) | color | [Colour](/?path=/docs/foundations-tokens-colour--docs) | Yes |
21
21
  | [focusable](/?path=/docs/styling-props-elevation--docs#focusable) | border and box-shadow | [Elevation](/?path=/docs/foundations-tokens-elevation--docs) | No |
22
22
  | [layerStyle](/?path=/docs/styling-props-elevation--docs#layerstyle) | border and box-shadow | [Elevation](/?path=/docs/foundations-tokens-elevation--docs) | Yes |
23
- | [maxWidth](/?path=/docs/styling-props-sizing--docs#container-widths) | max-width | N/A | Yes |
23
+ | [maxWidth](/?path=/docs/styling-props-sizing--docs#container-widths) | max-width | N/A | No |
24
24
  | [m](/?path=/docs/styling-props-spacing--docs#margin) | margin | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
25
25
  | [mx](/?path=/docs/styling-props-spacing--docs#margin) | margin-inline | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
26
26
  | [my](/?path=/docs/styling-props-spacing--docs#margin) | margin-block | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
@@ -36,6 +36,7 @@ Styling props reference
36
36
  | [pl](/?path=/docs/styling-props-spacing--docs#padding) | padding-left | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
37
37
  | [pr](/?path=/docs/styling-props-spacing--docs#padding) | padding-right | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
38
38
  | [pt](/?path=/docs/styling-props-spacing--docs#padding) | padding-top | [Spacing](/?path=/docs/foundations-tokens-spacing--docs) | Yes |
39
+ | [scrollable](/?path=/docs/styling-props-scrollable--docs#scrollable) | Multiple properties | N/A | No |
39
40
  | [srOnly](/?path=/docs/styling-props-screen-readers--docs#sronly) | Multiple properties | N/A | Yes |
40
41
  | [stretch](/?path=/docs/styling-props-spacing--docs#stretch) | align-self: stretch and height: 100% | N/A | No |
41
42
  | [textAlign](/?path=/docs/styling-props-typography--docs#textalign) | text-align | N/A | Yes |
@@ -82,18 +83,14 @@ This will also work without JSX, allowing you to apply styling props to any elem
82
83
 
83
84
  ```
84
85
 
85
- `iressStyled`
86
+ `IressStyled`
86
87
  -------------
87
88
 
88
- If you need your own component or a third-party component to accept styling props, you can use the `iressStyled` function to create a styled component that accepts styling props. This is similar to how you would use `styled-components` or `emotion`.
89
+ The `IressStyled` component is a flexible wrapper that gives you direct access to all styling props. Use it when you need custom styling without creating a dedicated component or writing custom CSS.
89
90
 
90
- const MyComponent \= iressStyled('div', {
91
- p: 'xs',
92
- bg: 'colour.primary.surface',
93
- });
94
- <MyComponent\>
91
+ <IressStyled p\="xs" bg\="colour.primary.surface"\>
95
92
  This div has extra small padding and a primary background colour.
96
- </MyComponent\>;
93
+ </IressStyled\>
97
94
 
98
95
  ```
99
96