@iress-oss/ids-mcp-server 5.20.1 → 5.20.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.
- package/generated/docs/components_components-alert-docs.md +22 -21
- package/generated/docs/components_components-autocomplete-docs.md +48 -104
- package/generated/docs/components_components-autocomplete-recipes-docs.md +9 -2
- package/generated/docs/components_components-badge-docs.md +4 -4
- package/generated/docs/components_components-button-docs.md +24 -24
- package/generated/docs/components_components-buttongroup-docs.md +20 -20
- package/generated/docs/components_components-card-docs.md +70 -56
- package/generated/docs/components_components-card-recipes-docs.md +4 -4
- package/generated/docs/components_components-checkbox-docs.md +7 -21
- package/generated/docs/components_components-checkboxgroup-docs.md +32 -32
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +2 -2
- package/generated/docs/components_components-col-docs.md +10 -10
- package/generated/docs/components_components-combobox-docs.md +58 -90
- package/generated/docs/components_components-container-docs.md +4 -4
- package/generated/docs/components_components-divider-docs.md +3 -3
- package/generated/docs/components_components-expander-docs.md +6 -4
- package/generated/docs/components_components-field-docs.md +18 -18
- package/generated/docs/components_components-filter-docs.md +54 -54
- package/generated/docs/components_components-form-docs.md +95 -60
- package/generated/docs/components_components-form-recipes-docs.md +114 -13
- package/generated/docs/components_components-hide-docs.md +4 -4
- package/generated/docs/components_components-icon-docs.md +13 -13
- package/generated/docs/components_components-inline-docs.md +14 -14
- package/generated/docs/components_components-input-docs.md +10 -10
- package/generated/docs/components_components-input-recipes-docs.md +3 -3
- package/generated/docs/components_components-inputcurrency-docs.md +6 -6
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +5 -2
- package/generated/docs/components_components-label-docs.md +6 -6
- package/generated/docs/components_components-menu-docs.md +40 -40
- package/generated/docs/components_components-menu-menuitem-docs.md +12 -12
- package/generated/docs/components_components-modal-docs.md +29 -13
- package/generated/docs/components_components-navbar-docs.md +42 -42
- package/generated/docs/components_components-navbar-recipes-docs.md +41 -18
- package/generated/docs/components_components-panel-docs.md +19 -19
- package/generated/docs/components_components-placeholder-docs.md +1 -1
- package/generated/docs/components_components-popover-docs.md +32 -30
- package/generated/docs/components_components-popover-recipes-docs.md +15 -8
- package/generated/docs/components_components-progress-docs.md +1 -1
- package/generated/docs/components_components-provider-docs.md +2 -2
- package/generated/docs/components_components-radio-docs.md +5 -5
- package/generated/docs/components_components-radiogroup-docs.md +29 -45
- package/generated/docs/components_components-readonly-docs.md +5 -5
- package/generated/docs/components_components-richselect-docs.md +88 -64
- package/generated/docs/components_components-row-docs.md +12 -12
- package/generated/docs/components_components-select-docs.md +8 -8
- package/generated/docs/components_components-skeleton-docs.md +9 -9
- package/generated/docs/components_components-skeleton-recipes-docs.md +2 -2
- package/generated/docs/components_components-skiplink-docs.md +3 -3
- package/generated/docs/components_components-slideout-docs.md +43 -12
- package/generated/docs/components_components-slider-docs.md +12 -12
- package/generated/docs/components_components-spinner-docs.md +3 -3
- package/generated/docs/components_components-stack-docs.md +14 -14
- package/generated/docs/components_components-table-docs.md +51 -44
- package/generated/docs/components_components-tabset-docs.md +10 -10
- package/generated/docs/components_components-tabset-tab-docs.md +4 -4
- package/generated/docs/components_components-tag-docs.md +8 -10
- package/generated/docs/components_components-text-docs.md +7 -7
- package/generated/docs/components_components-toaster-docs.md +12 -12
- package/generated/docs/components_components-toaster-toast-docs.md +30 -30
- package/generated/docs/components_components-toggle-docs.md +5 -5
- package/generated/docs/components_components-tooltip-docs.md +4 -4
- package/generated/docs/components_components-validationmessage-docs.md +6 -6
- package/generated/docs/components_foundations-colour-030-colours.md +32 -32
- package/generated/docs/components_foundations-typography-docs.md +7 -7
- package/generated/docs/components_introduction-docs.md +1 -1
- package/generated/docs/components_patterns-loading-docs.md +106 -29
- package/generated/docs/components_sandbox-docs.md +4 -0
- package/generated/docs/guidelines.md +39 -39
- package/package.json +20 -20
|
@@ -14,7 +14,7 @@ Use the `IressForm` component when you want to request, validate and process dat
|
|
|
14
14
|
|
|
15
15
|
Sign up
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Hide codedrawOpen in CodeSandbox
|
|
18
18
|
|
|
19
19
|
<ForwardedForm\>
|
|
20
20
|
<IressStack gutter\="md"\>
|
|
@@ -58,14 +58,14 @@ Below are the custom props you can access when using `IressForm`, which includes
|
|
|
58
58
|
| alert |
|
|
59
59
|
\-
|
|
60
60
|
|
|
61
|
-
| \- |
|
|
61
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
62
62
|
| children |
|
|
63
63
|
|
|
64
64
|
object
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
| \- |
|
|
68
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
69
69
|
| form |
|
|
70
70
|
|
|
71
71
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -228,7 +228,7 @@ None selected
|
|
|
228
228
|
|
|
229
229
|
Sign up
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
Hide codedrawOpen in CodeSandbox
|
|
232
232
|
|
|
233
233
|
<ForwardedForm\>
|
|
234
234
|
<IressStack gutter\="md"\>
|
|
@@ -409,14 +409,14 @@ Sign up
|
|
|
409
409
|
| alert |
|
|
410
410
|
\-
|
|
411
411
|
|
|
412
|
-
| \- |
|
|
412
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
413
413
|
| children |
|
|
414
414
|
|
|
415
415
|
object
|
|
416
416
|
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
| \- |
|
|
419
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
420
420
|
| form |
|
|
421
421
|
|
|
422
422
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -499,7 +499,7 @@ A boolean which, if `true`, indicates that the input must have a value before th
|
|
|
499
499
|
|
|
500
500
|
Validate
|
|
501
501
|
|
|
502
|
-
|
|
502
|
+
Hide codedrawOpen in CodeSandbox
|
|
503
503
|
|
|
504
504
|
<ForwardedForm\>
|
|
505
505
|
<IressStack gutter\="lg"\>
|
|
@@ -558,7 +558,7 @@ Enter a maximum length of 5 characters
|
|
|
558
558
|
|
|
559
559
|
Validate
|
|
560
560
|
|
|
561
|
-
|
|
561
|
+
Hide codedrawOpen in CodeSandbox
|
|
562
562
|
|
|
563
563
|
<ForwardedForm\>
|
|
564
564
|
<IressStack gutter\="lg"\>
|
|
@@ -620,7 +620,7 @@ Enter a minimum length of 7 characters
|
|
|
620
620
|
|
|
621
621
|
Validate
|
|
622
622
|
|
|
623
|
-
|
|
623
|
+
Hide codedrawOpen in CodeSandbox
|
|
624
624
|
|
|
625
625
|
<ForwardedForm\>
|
|
626
626
|
<IressStack gutter\="lg"\>
|
|
@@ -681,7 +681,7 @@ Select a maximum of 2
|
|
|
681
681
|
|
|
682
682
|
Validate
|
|
683
683
|
|
|
684
|
-
|
|
684
|
+
Hide codedrawOpen in CodeSandbox
|
|
685
685
|
|
|
686
686
|
<ForwardedForm\>
|
|
687
687
|
<IressStack gutter\="lg"\>
|
|
@@ -742,7 +742,7 @@ Select a minimum of 20
|
|
|
742
742
|
|
|
743
743
|
Validate
|
|
744
744
|
|
|
745
|
-
|
|
745
|
+
Hide codedrawOpen in CodeSandbox
|
|
746
746
|
|
|
747
747
|
<ForwardedForm\>
|
|
748
748
|
<IressStack gutter\="lg"\>
|
|
@@ -803,7 +803,7 @@ Enter a valid email address
|
|
|
803
803
|
|
|
804
804
|
Validate
|
|
805
805
|
|
|
806
|
-
|
|
806
|
+
Hide codedrawOpen in CodeSandbox
|
|
807
807
|
|
|
808
808
|
<ForwardedForm\>
|
|
809
809
|
<IressStack gutter\="lg"\>
|
|
@@ -857,7 +857,7 @@ Enter a date after today
|
|
|
857
857
|
|
|
858
858
|
Validate
|
|
859
859
|
|
|
860
|
-
|
|
860
|
+
Hide codedrawOpen in CodeSandbox
|
|
861
861
|
|
|
862
862
|
<ForwardedForm\>
|
|
863
863
|
<IressStack gutter\="lg"\>
|
|
@@ -867,7 +867,7 @@ Validate
|
|
|
867
867
|
name\="IressInputDate-default"
|
|
868
868
|
render\={(controlledProps) \=> <IressInput {...controlledProps} />}
|
|
869
869
|
rules\={{
|
|
870
|
-
minDate: new Date('
|
|
870
|
+
minDate: new Date('2026-01-06T04:07:40.949Z')
|
|
871
871
|
}}
|
|
872
872
|
/>
|
|
873
873
|
<IressFormField
|
|
@@ -878,7 +878,7 @@ Validate
|
|
|
878
878
|
rules\={{
|
|
879
879
|
minDate: {
|
|
880
880
|
message: 'Please enter a date after today!',
|
|
881
|
-
value: new Date('
|
|
881
|
+
value: new Date('2026-01-06T04:07:40.949Z')
|
|
882
882
|
}
|
|
883
883
|
}}
|
|
884
884
|
/>
|
|
@@ -1061,7 +1061,7 @@ Enter a date before today
|
|
|
1061
1061
|
|
|
1062
1062
|
Validate
|
|
1063
1063
|
|
|
1064
|
-
|
|
1064
|
+
Hide codedrawOpen in CodeSandbox
|
|
1065
1065
|
|
|
1066
1066
|
<ForwardedForm\>
|
|
1067
1067
|
<IressStack gutter\="lg"\>
|
|
@@ -1071,7 +1071,7 @@ Validate
|
|
|
1071
1071
|
name\="IressInputDate-default"
|
|
1072
1072
|
render\={(controlledProps) \=> <IressInput {...controlledProps} />}
|
|
1073
1073
|
rules\={{
|
|
1074
|
-
maxDate: new Date('
|
|
1074
|
+
maxDate: new Date('2026-01-06T04:07:40.949Z')
|
|
1075
1075
|
}}
|
|
1076
1076
|
/>
|
|
1077
1077
|
<IressFormField
|
|
@@ -1082,7 +1082,7 @@ Validate
|
|
|
1082
1082
|
rules\={{
|
|
1083
1083
|
maxDate: {
|
|
1084
1084
|
message: 'Please enter a date before today!',
|
|
1085
|
-
value: new Date('
|
|
1085
|
+
value: new Date('2026-01-06T04:07:40.949Z')
|
|
1086
1086
|
}
|
|
1087
1087
|
}}
|
|
1088
1088
|
/>
|
|
@@ -1265,7 +1265,7 @@ Enter an email address
|
|
|
1265
1265
|
|
|
1266
1266
|
Validate
|
|
1267
1267
|
|
|
1268
|
-
|
|
1268
|
+
Hide codedrawOpen in CodeSandbox
|
|
1269
1269
|
|
|
1270
1270
|
<ForwardedForm\>
|
|
1271
1271
|
<IressStack gutter\="lg"\>
|
|
@@ -1476,7 +1476,7 @@ Writing
|
|
|
1476
1476
|
|
|
1477
1477
|
Validate
|
|
1478
1478
|
|
|
1479
|
-
|
|
1479
|
+
Hide codedrawOpen in CodeSandbox
|
|
1480
1480
|
|
|
1481
1481
|
<ForwardedForm\>
|
|
1482
1482
|
<IressStack gutter\="lg"\>
|
|
@@ -1687,7 +1687,7 @@ When the form passes validation (if not disabled), the `onSubmit` event is emitt
|
|
|
1687
1687
|
|
|
1688
1688
|
Sign up
|
|
1689
1689
|
|
|
1690
|
-
|
|
1690
|
+
Hide codedrawOpen in CodeSandbox
|
|
1691
1691
|
|
|
1692
1692
|
import {
|
|
1693
1693
|
IressTable,
|
|
@@ -1698,7 +1698,7 @@ import {
|
|
|
1698
1698
|
IressInput,
|
|
1699
1699
|
IressStack,
|
|
1700
1700
|
IressButton,
|
|
1701
|
-
} from '
|
|
1701
|
+
} from '@/main';
|
|
1702
1702
|
import { useState } from 'react';
|
|
1703
1703
|
interface FieldValues {
|
|
1704
1704
|
name?: string;
|
|
@@ -1759,7 +1759,7 @@ export const FormSubmission \= () \=> {
|
|
|
1759
1759
|
| alert |
|
|
1760
1760
|
\-
|
|
1761
1761
|
|
|
1762
|
-
| \- |
|
|
1762
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
1763
1763
|
| children |
|
|
1764
1764
|
|
|
1765
1765
|
object
|
|
@@ -1804,7 +1804,7 @@ Luke Skywalker
|
|
|
1804
1804
|
|
|
1805
1805
|
Sign up
|
|
1806
1806
|
|
|
1807
|
-
|
|
1807
|
+
Hide codedrawOpen in CodeSandbox
|
|
1808
1808
|
|
|
1809
1809
|
<IressStack gutter\="md"\>
|
|
1810
1810
|
<IressText element\="h2"\>
|
|
@@ -1850,14 +1850,14 @@ Sign up
|
|
|
1850
1850
|
| alert |
|
|
1851
1851
|
\-
|
|
1852
1852
|
|
|
1853
|
-
| \- |
|
|
1853
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
1854
1854
|
| children |
|
|
1855
1855
|
|
|
1856
1856
|
object
|
|
1857
1857
|
|
|
1858
1858
|
|
|
1859
1859
|
|
|
1860
|
-
| \- |
|
|
1860
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
1861
1861
|
| form |
|
|
1862
1862
|
|
|
1863
1863
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -1900,7 +1900,7 @@ Try hitting submit to see the validation summary
|
|
|
1900
1900
|
|
|
1901
1901
|
Sign up
|
|
1902
1902
|
|
|
1903
|
-
|
|
1903
|
+
Hide codedrawOpen in CodeSandbox
|
|
1904
1904
|
|
|
1905
1905
|
<IressStack gutter\="md"\>
|
|
1906
1906
|
<IressText element\="h2"\>
|
|
@@ -1945,14 +1945,14 @@ Sign up
|
|
|
1945
1945
|
| alert |
|
|
1946
1946
|
\-
|
|
1947
1947
|
|
|
1948
|
-
| \- |
|
|
1948
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
1949
1949
|
| children |
|
|
1950
1950
|
|
|
1951
1951
|
object
|
|
1952
1952
|
|
|
1953
1953
|
|
|
1954
1954
|
|
|
1955
|
-
| \- |
|
|
1955
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
1956
1956
|
| errorSummaryHeading |
|
|
1957
1957
|
|
|
1958
1958
|
string
|
|
@@ -1990,7 +1990,7 @@ Try hitting submit to see the errors only on the fields
|
|
|
1990
1990
|
|
|
1991
1991
|
Sign up
|
|
1992
1992
|
|
|
1993
|
-
|
|
1993
|
+
Hide codedrawOpen in CodeSandbox
|
|
1994
1994
|
|
|
1995
1995
|
<IressStack gutter\="md"\>
|
|
1996
1996
|
<IressText element\="h2"\>
|
|
@@ -2035,14 +2035,14 @@ Sign up
|
|
|
2035
2035
|
| alert |
|
|
2036
2036
|
\-
|
|
2037
2037
|
|
|
2038
|
-
| \- |
|
|
2038
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2039
2039
|
| children |
|
|
2040
2040
|
|
|
2041
2041
|
object
|
|
2042
2042
|
|
|
2043
2043
|
|
|
2044
2044
|
|
|
2045
|
-
| \- |
|
|
2045
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
2046
2046
|
| form |
|
|
2047
2047
|
|
|
2048
2048
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -2079,7 +2079,7 @@ One use case for this prop is to create your own error summary.
|
|
|
2079
2079
|
|
|
2080
2080
|
Sign up
|
|
2081
2081
|
|
|
2082
|
-
|
|
2082
|
+
Hide codedrawOpen in CodeSandbox
|
|
2083
2083
|
|
|
2084
2084
|
import {
|
|
2085
2085
|
IressTable,
|
|
@@ -2090,7 +2090,7 @@ import {
|
|
|
2090
2090
|
IressFormField,
|
|
2091
2091
|
IressInput,
|
|
2092
2092
|
IressButton,
|
|
2093
|
-
} from '
|
|
2093
|
+
} from '@/main';
|
|
2094
2094
|
import { useState } from 'react';
|
|
2095
2095
|
import { type FieldErrors } from 'react-hook-form';
|
|
2096
2096
|
interface FieldValues {
|
|
@@ -2161,7 +2161,7 @@ export const CustomErrorHandlingForm \= () \=> {
|
|
|
2161
2161
|
| alert |
|
|
2162
2162
|
\-
|
|
2163
2163
|
|
|
2164
|
-
| \- |
|
|
2164
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2165
2165
|
| children |
|
|
2166
2166
|
|
|
2167
2167
|
object
|
|
@@ -2208,7 +2208,7 @@ You can set the `defaultValues` prop to pre-fill the form values.
|
|
|
2208
2208
|
|
|
2209
2209
|
Sign up
|
|
2210
2210
|
|
|
2211
|
-
|
|
2211
|
+
Hide codedrawOpen in CodeSandbox
|
|
2212
2212
|
|
|
2213
2213
|
<ForwardedForm
|
|
2214
2214
|
defaultValues\={{
|
|
@@ -2254,14 +2254,14 @@ Sign up
|
|
|
2254
2254
|
| alert |
|
|
2255
2255
|
\-
|
|
2256
2256
|
|
|
2257
|
-
| \- |
|
|
2257
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2258
2258
|
| children |
|
|
2259
2259
|
|
|
2260
2260
|
object
|
|
2261
2261
|
|
|
2262
2262
|
|
|
2263
2263
|
|
|
2264
|
-
| \- |
|
|
2264
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
2265
2265
|
| form |
|
|
2266
2266
|
|
|
2267
2267
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -2300,8 +2300,21 @@ Sign up
|
|
|
2300
2300
|
|
|
2301
2301
|
Last updateClear
|
|
2302
2302
|
|
|
2303
|
-
|
|
2303
|
+
Hide codedrawOpen in CodeSandbox
|
|
2304
2304
|
|
|
2305
|
+
import {
|
|
2306
|
+
type IressFormProps,
|
|
2307
|
+
IressForm,
|
|
2308
|
+
IressModal,
|
|
2309
|
+
IressDivider,
|
|
2310
|
+
IressButton,
|
|
2311
|
+
IressTable,
|
|
2312
|
+
IressInline,
|
|
2313
|
+
IressStack,
|
|
2314
|
+
IressFormField,
|
|
2315
|
+
IressInput,
|
|
2316
|
+
} from '@/main';
|
|
2317
|
+
import { useState } from 'react';
|
|
2305
2318
|
interface FieldValues {
|
|
2306
2319
|
name?: string;
|
|
2307
2320
|
email?: string;
|
|
@@ -2383,14 +2396,14 @@ export const ControlledForm \= (args: IressFormProps<FieldValues\>) \=> {
|
|
|
2383
2396
|
| alert |
|
|
2384
2397
|
\-
|
|
2385
2398
|
|
|
2386
|
-
| \- |
|
|
2399
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2387
2400
|
| children |
|
|
2388
2401
|
|
|
2389
2402
|
object
|
|
2390
2403
|
|
|
2391
2404
|
|
|
2392
2405
|
|
|
2393
|
-
| \- |
|
|
2406
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
2394
2407
|
| form |
|
|
2395
2408
|
|
|
2396
2409
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -2432,7 +2445,7 @@ Sign up
|
|
|
2432
2445
|
|
|
2433
2446
|
Save as draft
|
|
2434
2447
|
|
|
2435
|
-
|
|
2448
|
+
Hide codedrawOpen in CodeSandbox
|
|
2436
2449
|
|
|
2437
2450
|
import {
|
|
2438
2451
|
type FormRef,
|
|
@@ -2445,7 +2458,7 @@ import {
|
|
|
2445
2458
|
IressStack,
|
|
2446
2459
|
IressToasterProvider,
|
|
2447
2460
|
useToaster,
|
|
2448
|
-
} from '
|
|
2461
|
+
} from '@/main';
|
|
2449
2462
|
import { useRef } from 'react';
|
|
2450
2463
|
interface FieldValues {
|
|
2451
2464
|
name?: string;
|
|
@@ -2525,7 +2538,7 @@ export const DisableValidationForm \= () \=> (
|
|
|
2525
2538
|
| alert |
|
|
2526
2539
|
\-
|
|
2527
2540
|
|
|
2528
|
-
| \- |
|
|
2541
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2529
2542
|
| children |
|
|
2530
2543
|
|
|
2531
2544
|
object
|
|
@@ -2576,7 +2589,7 @@ Sign up
|
|
|
2576
2589
|
|
|
2577
2590
|
Reset
|
|
2578
2591
|
|
|
2579
|
-
|
|
2592
|
+
Hide codedrawOpen in CodeSandbox
|
|
2580
2593
|
|
|
2581
2594
|
import {
|
|
2582
2595
|
type IressFormProps,
|
|
@@ -2587,7 +2600,7 @@ import {
|
|
|
2587
2600
|
IressStack,
|
|
2588
2601
|
IressFormField,
|
|
2589
2602
|
IressInput,
|
|
2590
|
-
} from '
|
|
2603
|
+
} from '@/main';
|
|
2591
2604
|
import { useRef } from 'react';
|
|
2592
2605
|
interface FieldValues {
|
|
2593
2606
|
name?: string;
|
|
@@ -2642,7 +2655,7 @@ export const FormReset \= () \=> {
|
|
|
2642
2655
|
| alert |
|
|
2643
2656
|
\-
|
|
2644
2657
|
|
|
2645
|
-
| \- |
|
|
2658
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
2646
2659
|
| children |
|
|
2647
2660
|
|
|
2648
2661
|
object
|
|
@@ -2699,10 +2712,22 @@ Upload
|
|
|
2699
2712
|
|
|
2700
2713
|
Submit
|
|
2701
2714
|
|
|
2702
|
-
|
|
2715
|
+
Hide codedrawOpen in CodeSandbox
|
|
2703
2716
|
|
|
2717
|
+
import {
|
|
2718
|
+
IressButton,
|
|
2719
|
+
IressForm,
|
|
2720
|
+
type IressFormProps,
|
|
2721
|
+
IressInput,
|
|
2722
|
+
IressFormField,
|
|
2723
|
+
IressStack,
|
|
2724
|
+
IressIcon,
|
|
2725
|
+
IressText,
|
|
2726
|
+
IressPanel,
|
|
2727
|
+
IressInline,
|
|
2728
|
+
} from '@/main';
|
|
2704
2729
|
import React, { useState } from 'react';
|
|
2705
|
-
|
|
2730
|
+
import { useDropzone } from 'react-dropzone';
|
|
2706
2731
|
interface TranscriptFormValues {
|
|
2707
2732
|
transcript: TranscriptData | string;
|
|
2708
2733
|
}
|
|
@@ -2999,7 +3024,7 @@ export const CustomFormFieldComponents \= (
|
|
|
2999
3024
|
| alert |
|
|
3000
3025
|
\-
|
|
3001
3026
|
|
|
3002
|
-
| \- |
|
|
3027
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
3003
3028
|
| children |
|
|
3004
3029
|
|
|
3005
3030
|
object
|
|
@@ -3032,7 +3057,7 @@ Sender
|
|
|
3032
3057
|
|
|
3033
3058
|
Recipient
|
|
3034
3059
|
|
|
3035
|
-
|
|
3060
|
+
Hide codedrawOpen in CodeSandbox
|
|
3036
3061
|
|
|
3037
3062
|
import {
|
|
3038
3063
|
IressExpander,
|
|
@@ -3041,7 +3066,7 @@ import {
|
|
|
3041
3066
|
type IressFormProps,
|
|
3042
3067
|
IressInput,
|
|
3043
3068
|
IressStack,
|
|
3044
|
-
} from '
|
|
3069
|
+
} from '@/main';
|
|
3045
3070
|
import { useState } from 'react';
|
|
3046
3071
|
interface FieldValues {
|
|
3047
3072
|
name?: string;
|
|
@@ -3105,7 +3130,7 @@ export const FormExpanders \= () \=> {
|
|
|
3105
3130
|
| alert |
|
|
3106
3131
|
\-
|
|
3107
3132
|
|
|
3108
|
-
| \- |
|
|
3133
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
3109
3134
|
| children |
|
|
3110
3135
|
|
|
3111
3136
|
object
|
|
@@ -3150,7 +3175,7 @@ Email
|
|
|
3150
3175
|
|
|
3151
3176
|
Submit
|
|
3152
3177
|
|
|
3153
|
-
|
|
3178
|
+
Hide codedrawOpen in CodeSandbox
|
|
3154
3179
|
|
|
3155
3180
|
import {
|
|
3156
3181
|
IressButton,
|
|
@@ -3163,7 +3188,7 @@ import {
|
|
|
3163
3188
|
IressInput,
|
|
3164
3189
|
IressStack,
|
|
3165
3190
|
IressText,
|
|
3166
|
-
} from '
|
|
3191
|
+
} from '@/main';
|
|
3167
3192
|
interface FieldValues {
|
|
3168
3193
|
show?: string\[\];
|
|
3169
3194
|
name?: string;
|
|
@@ -3238,14 +3263,14 @@ export const UseWatchForm \= () \=> (
|
|
|
3238
3263
|
| alert |
|
|
3239
3264
|
\-
|
|
3240
3265
|
|
|
3241
|
-
| \- |
|
|
3266
|
+
| \- | alertChoose option...nonebasicAlert |
|
|
3242
3267
|
| children |
|
|
3243
3268
|
|
|
3244
3269
|
object
|
|
3245
3270
|
|
|
3246
3271
|
|
|
3247
3272
|
|
|
3248
|
-
| \- |
|
|
3273
|
+
| \- | childrenChoose option...nonesimplesupportedControlsreadOnly |
|
|
3249
3274
|
| form |
|
|
3250
3275
|
|
|
3251
3276
|
React hook form instance from `useForm`, use if you need more control over the internal state.
|
|
@@ -3281,14 +3306,24 @@ Some use cases:
|
|
|
3281
3306
|
|
|
3282
3307
|
Submit
|
|
3283
3308
|
|
|
3284
|
-
|
|
3309
|
+
Hide codedrawOpen in CodeSandbox
|
|
3285
3310
|
|
|
3311
|
+
import {
|
|
3312
|
+
IressButton,
|
|
3313
|
+
IressFormField,
|
|
3314
|
+
IressHookForm,
|
|
3315
|
+
IressInput,
|
|
3316
|
+
IressPanel,
|
|
3317
|
+
IressStack,
|
|
3318
|
+
} from '@/main';
|
|
3319
|
+
import { useForm } from 'react-hook-form';
|
|
3286
3320
|
interface FieldValues {
|
|
3287
3321
|
firstName: string;
|
|
3288
3322
|
lastName: string;
|
|
3289
3323
|
}
|
|
3290
3324
|
export const HookFormExample \= () \=> {
|
|
3291
3325
|
const form \= useForm<FieldValues\>();
|
|
3326
|
+
// eslint-disable-next-line react-hooks/incompatible-library -- Known limitation: react-hook-form's watch() API cannot be memoized by React Compiler
|
|
3292
3327
|
const firstName \= form.watch('firstName');
|
|
3293
3328
|
const lastName \= form.watch('lastName');
|
|
3294
3329
|
return (
|
|
@@ -3358,7 +3393,7 @@ Level of error summary heading for semantics.
|
|
|
3358
3393
|
|
|
3359
3394
|
HeadingLevel
|
|
3360
3395
|
|
|
3361
|
-
<table class="css-
|
|
3396
|
+
<table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use errorSummaryHeading instead.</td></tr></tbody></table>
|
|
3362
3397
|
|
|
3363
3398
|
| \- | Set object |
|
|
3364
3399
|
| errorSummaryHeadingText |
|
|
@@ -3367,7 +3402,7 @@ Text to be displayed in the title of the error summary.
|
|
|
3367
3402
|
|
|
3368
3403
|
string
|
|
3369
3404
|
|
|
3370
|
-
<table class="css-
|
|
3405
|
+
<table class="css-ymgjf7"><tbody><tr><td colspan="2"><strong>Deprecated</strong>: Use errorSummaryHeading instead.</td></tr></tbody></table>
|
|
3371
3406
|
|
|
3372
3407
|
| \- | Set string |
|
|
3373
3408
|
| form\* |
|