@iress-oss/ids-mcp-server 6.0.0-alpha.2 → 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.
- package/generated/docs/components_components-alert-docs.md +7 -7
- package/generated/docs/components_components-autocomplete-docs.md +18 -18
- 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 +16 -14
- package/generated/docs/components_components-buttongroup-docs.md +9 -9
- package/generated/docs/components_components-card-docs.md +32 -17
- package/generated/docs/components_components-checkbox-docs.md +7 -7
- package/generated/docs/components_components-checkboxgroup-docs.md +10 -10
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +2 -2
- package/generated/docs/components_components-col-docs.md +38 -38
- package/generated/docs/components_components-container-docs.md +5 -5
- package/generated/docs/components_components-divider-docs.md +5 -5
- package/generated/docs/components_components-expander-docs.md +6 -4
- package/generated/docs/components_components-field-docs.md +28 -28
- package/generated/docs/components_components-filter-docs.md +19 -19
- package/generated/docs/components_components-hide-docs.md +9 -9
- package/generated/docs/components_components-icon-docs.md +9 -9
- package/generated/docs/components_components-image-docs.md +2 -2
- package/generated/docs/components_components-inline-docs.md +76 -388
- package/generated/docs/components_components-input-docs.md +9 -9
- package/generated/docs/components_components-input-recipes-docs.md +4 -4
- package/generated/docs/components_components-inputcurrency-docs.md +7 -7
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +5 -2
- package/generated/docs/components_components-label-docs.md +4 -4
- package/generated/docs/components_components-link-docs.md +6 -4
- package/generated/docs/components_components-menu-docs.md +13 -13
- package/generated/docs/components_components-menu-menuitem-docs.md +12 -12
- package/generated/docs/components_components-modal-docs.md +32 -13
- package/generated/docs/components_components-panel-docs.md +6 -6
- package/generated/docs/components_components-placeholder-docs.md +1 -1
- package/generated/docs/components_components-popover-docs.md +11 -9
- package/generated/docs/components_components-popover-recipes-docs.md +4 -2
- 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 +8 -8
- package/generated/docs/components_components-readonly-docs.md +3 -3
- package/generated/docs/components_components-richselect-docs.md +69 -28
- package/generated/docs/components_components-row-docs.md +60 -492
- 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 +1 -1
- package/generated/docs/components_components-slideout-docs.md +34 -13
- package/generated/docs/components_components-slider-docs.md +8 -8
- package/generated/docs/components_components-spinner-docs.md +3 -3
- package/generated/docs/components_components-stack-docs.md +63 -175
- package/generated/docs/components_components-table-docs.md +31 -24
- 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 +14 -5
- package/generated/docs/components_components-text-docs.md +21 -9
- package/generated/docs/components_components-toaster-docs.md +12 -12
- package/generated/docs/components_components-toggle-docs.md +6 -6
- package/generated/docs/components_components-tooltip-docs.md +4 -4
- package/generated/docs/components_components-validationmessage-docs.md +5 -5
- package/generated/docs/components_foundations-responsive-layout-docs.md +16 -15
- package/generated/docs/components_foundations-z-index-stacking-docs.md +1 -1
- package/generated/docs/components_introduction-docs.md +1 -1
- package/generated/docs/components_patterns-form-docs.md +96 -57
- package/generated/docs/components_patterns-form-recipes-docs.md +144 -19
- package/generated/docs/components_patterns-loading-docs.md +98 -17
- package/generated/docs/components_patterns-shadow-docs.md +2 -2
- package/generated/docs/components_sandbox-docs.md +226 -0
- package/generated/docs/components_styling-props-colour-docs.md +2 -2
- package/generated/docs/components_styling-props-elevation-docs.md +2 -2
- package/generated/docs/components_styling-props-radius-docs.md +3 -3
- package/generated/docs/components_styling-props-reference-docs.md +3 -3
- package/generated/docs/components_styling-props-screen-readers-docs.md +2 -2
- package/generated/docs/components_styling-props-sizing-docs.md +3 -3
- package/generated/docs/components_styling-props-spacing-docs.md +19 -19
- package/generated/docs/components_styling-props-typography-docs.md +2 -2
- package/generated/docs/guidelines.md +17 -16
- package/generated/docs/tokens_colour-docs.md +72 -0
- package/generated/docs/tokens_introduction-docs.md +15 -18
- package/generated/docs/tokens_sandbox-docs.md +1 -0
- package/generated/docs/tokens_spacing-docs.md +10 -40
- package/generated/docs/tokens_typography-docs.md +43 -1
- package/package.json +3 -2
|
@@ -12,7 +12,7 @@ Toggle popover
|
|
|
12
12
|
|
|
13
13
|
A little more information about this area.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Hide codedrawOpen in CodeSandbox
|
|
16
16
|
|
|
17
17
|
<IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
|
|
18
18
|
<IressPanel\>
|
|
@@ -194,7 +194,7 @@ Toggle popover
|
|
|
194
194
|
|
|
195
195
|
A little more information about this area.
|
|
196
196
|
|
|
197
|
-
|
|
197
|
+
Hide codedrawOpen in CodeSandbox
|
|
198
198
|
|
|
199
199
|
<IressPopover activator\={<IressButton\>Toggle popover</IressButton\>}\>
|
|
200
200
|
<IressPanel\>
|
|
@@ -370,14 +370,14 @@ Show popover using state
|
|
|
370
370
|
|
|
371
371
|
A little more information about this area.
|
|
372
372
|
|
|
373
|
-
|
|
373
|
+
Hide codedrawOpen in CodeSandbox
|
|
374
374
|
|
|
375
375
|
import {
|
|
376
376
|
IressButton,
|
|
377
377
|
IressPanel,
|
|
378
378
|
IressPopover,
|
|
379
379
|
type IressPopoverProps,
|
|
380
|
-
} from '
|
|
380
|
+
} from '@/main';
|
|
381
381
|
import { useState } from 'react';
|
|
382
382
|
export const PopoverUsingState \= () \=> {
|
|
383
383
|
const \[show, setShow\] \= useState(false);
|
|
@@ -624,7 +624,7 @@ bottom-end
|
|
|
624
624
|
|
|
625
625
|
Hello!
|
|
626
626
|
|
|
627
|
-
|
|
627
|
+
Hide codedrawOpen in CodeSandbox
|
|
628
628
|
|
|
629
629
|
<div
|
|
630
630
|
style\={{
|
|
@@ -914,7 +914,7 @@ Occasionally, you may have more information to display than the width set by the
|
|
|
914
914
|
|
|
915
915
|
Toggle popover
|
|
916
916
|
|
|
917
|
-
|
|
917
|
+
Hide codedrawOpen in CodeSandbox
|
|
918
918
|
|
|
919
919
|
<IressPopover
|
|
920
920
|
activator\={<IressButton\>Toggle popover</IressButton\>}
|
|
@@ -1139,7 +1139,7 @@ Normal popover
|
|
|
1139
1139
|
|
|
1140
1140
|
Fixed height popover
|
|
1141
1141
|
|
|
1142
|
-
|
|
1142
|
+
Hide codedrawOpen in CodeSandbox
|
|
1143
1143
|
|
|
1144
1144
|
<IressInline gap\="md"\>
|
|
1145
1145
|
<IressPopover
|
|
@@ -1355,8 +1355,10 @@ Toggle
|
|
|
1355
1355
|
|
|
1356
1356
|
This content will be rendered in the parent container
|
|
1357
1357
|
|
|
1358
|
-
|
|
1358
|
+
Hide codedrawOpen in CodeSandbox
|
|
1359
1359
|
|
|
1360
|
+
import { useState } from 'react';
|
|
1361
|
+
import { IressButton, IressPanel, IressPopover } from '@/main';
|
|
1360
1362
|
export const PopoverParentContainer \= () \=> {
|
|
1361
1363
|
const \[parentContainer, setParentContainer\] \= useState<HTMLDivElement | null\>(
|
|
1362
1364
|
null,
|
|
@@ -1551,7 +1553,7 @@ Input popovers work slightly different to normal popovers, where the focus insid
|
|
|
1551
1553
|
|
|
1552
1554
|
[](./iframe.html?id=components-popover-inputpopover--activator)
|
|
1553
1555
|
|
|
1554
|
-
|
|
1556
|
+
Hide codedrawOpen in CodeSandbox
|
|
1555
1557
|
|
|
1556
1558
|
<IressInputPopover
|
|
1557
1559
|
activator\={<IressInput />}
|
|
@@ -46,7 +46,7 @@ role=list
|
|
|
46
46
|
* the `esc` key is pressed
|
|
47
47
|
* the popover panel loses focus
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
Hide codedrawOpen in CodeSandbox
|
|
50
50
|
|
|
51
51
|
<IressStack
|
|
52
52
|
gap\="md"
|
|
@@ -338,8 +338,10 @@ The `usePopoverItem` hook returns an object with the following properties:
|
|
|
338
338
|
|
|
339
339
|
Toggle
|
|
340
340
|
|
|
341
|
-
|
|
341
|
+
Hide codedrawOpen in CodeSandbox
|
|
342
342
|
|
|
343
|
+
import { useState } from 'react';
|
|
344
|
+
import { IressButton, IressPopover, usePopoverItem } from '@/main';
|
|
343
345
|
const CountButton \= () \=> {
|
|
344
346
|
const \[count, setCount\] \= useState(0);
|
|
345
347
|
const { isActiveInPopover, ...popoverItemProps } \= usePopoverItem('Count', {
|
|
@@ -10,7 +10,7 @@ Provider is a component that sets up the Iress Design System for your applicatio
|
|
|
10
10
|
|
|
11
11
|
Show modalShow slideoutShow toast
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Hide codedrawOpen in CodeSandbox
|
|
14
14
|
|
|
15
15
|
import {
|
|
16
16
|
IressButton,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useModal,
|
|
24
24
|
useSlideout,
|
|
25
25
|
useToaster,
|
|
26
|
-
} from '
|
|
26
|
+
} from '@/main';
|
|
27
27
|
const Page \= () \=> {
|
|
28
28
|
const { showModal } \= useModal();
|
|
29
29
|
const { showSlideout } \= useSlideout();
|
|
@@ -18,7 +18,7 @@ This component has been recently updated with new props. The props have been mar
|
|
|
18
18
|
|
|
19
19
|
Radio button
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Hide codedrawOpen in CodeSandbox
|
|
22
22
|
|
|
23
23
|
<IressRadio\>
|
|
24
24
|
Radio button
|
|
@@ -118,7 +118,7 @@ You can set the radio to `checked` by default. This is useful when you want to p
|
|
|
118
118
|
|
|
119
119
|
Checked radio button
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
Hide codedrawOpen in CodeSandbox
|
|
122
122
|
|
|
123
123
|
<IressRadio checked\>
|
|
124
124
|
Checked radio button
|
|
@@ -212,7 +212,7 @@ You can hide the radio button and use a custom UI to display the content. Even t
|
|
|
212
212
|
|
|
213
213
|
Hidden radio button
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
Hide codedrawOpen in CodeSandbox
|
|
216
216
|
|
|
217
217
|
<IressRadio hiddenControl\>
|
|
218
218
|
<IressPanel bg\="transparent"\>
|
|
@@ -305,7 +305,7 @@ It is understandable that this may not be the desired behavior for all use cases
|
|
|
305
305
|
|
|
306
306
|
Radio button
|
|
307
307
|
|
|
308
|
-
|
|
308
|
+
Hide codedrawOpen in CodeSandbox
|
|
309
309
|
|
|
310
310
|
<IressStack gap\="sm"\>
|
|
311
311
|
<IressRadio
|
|
@@ -412,7 +412,7 @@ The `touch` prop adds the button-like border and padding to radio.
|
|
|
412
412
|
|
|
413
413
|
Radio button
|
|
414
414
|
|
|
415
|
-
|
|
415
|
+
Hide codedrawOpen in CodeSandbox
|
|
416
416
|
|
|
417
417
|
<IressRadio touch\>
|
|
418
418
|
Radio button
|
|
@@ -24,7 +24,7 @@ Friend
|
|
|
24
24
|
|
|
25
25
|
Other
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Hide codedrawOpen in CodeSandbox
|
|
28
28
|
|
|
29
29
|
<IressRadioGroup\>
|
|
30
30
|
<IressRadio value\="google"\>
|
|
@@ -170,7 +170,7 @@ Friend
|
|
|
170
170
|
|
|
171
171
|
Other
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
Hide codedrawOpen in CodeSandbox
|
|
174
174
|
|
|
175
175
|
<IressRadioGroup\>
|
|
176
176
|
<IressRadio value\="google"\>
|
|
@@ -312,7 +312,7 @@ Friend
|
|
|
312
312
|
|
|
313
313
|
Other
|
|
314
314
|
|
|
315
|
-
|
|
315
|
+
Hide codedrawOpen in CodeSandbox
|
|
316
316
|
|
|
317
317
|
<IressRadioGroup defaultValue\="newspaper"\>
|
|
318
318
|
<IressRadio value\="google"\>
|
|
@@ -509,7 +509,7 @@ Friend
|
|
|
509
509
|
|
|
510
510
|
Other
|
|
511
511
|
|
|
512
|
-
|
|
512
|
+
Hide codedrawOpen in CodeSandbox
|
|
513
513
|
|
|
514
514
|
<IressStack gap\="md"\>
|
|
515
515
|
<IressText\>
|
|
@@ -771,7 +771,7 @@ Saving for a holiday
|
|
|
771
771
|
|
|
772
772
|
Reducing my debt
|
|
773
773
|
|
|
774
|
-
|
|
774
|
+
Hide codedrawOpen in CodeSandbox
|
|
775
775
|
|
|
776
776
|
<IressField
|
|
777
777
|
hint\="Select one option"
|
|
@@ -988,7 +988,7 @@ Reducing my debt
|
|
|
988
988
|
|
|
989
989
|
Starting a business
|
|
990
990
|
|
|
991
|
-
|
|
991
|
+
Hide codedrawOpen in CodeSandbox
|
|
992
992
|
|
|
993
993
|
<IressField
|
|
994
994
|
hint\="Select one option"
|
|
@@ -1292,7 +1292,7 @@ It is understandable that this may not be the desired behavior for all use cases
|
|
|
1292
1292
|
|
|
1293
1293
|
Newspaper
|
|
1294
1294
|
|
|
1295
|
-
|
|
1295
|
+
Hide codedrawOpen in CodeSandbox
|
|
1296
1296
|
|
|
1297
1297
|
<IressRadioGroup
|
|
1298
1298
|
defaultValue\="newspaper"
|
|
@@ -1439,7 +1439,7 @@ Friend
|
|
|
1439
1439
|
|
|
1440
1440
|
Other
|
|
1441
1441
|
|
|
1442
|
-
|
|
1442
|
+
Hide codedrawOpen in CodeSandbox
|
|
1443
1443
|
|
|
1444
1444
|
<IressRadioGroup
|
|
1445
1445
|
defaultValue\="newspaper"
|
|
@@ -18,7 +18,7 @@ This component has been recently updated with new props. The props have been mar
|
|
|
18
18
|
|
|
19
19
|
AU
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Hide codedrawOpen in CodeSandbox
|
|
22
22
|
|
|
23
23
|
<IressReadonly
|
|
24
24
|
append\=""
|
|
@@ -83,7 +83,7 @@ You can pass in stylised content that represents the value by using the `childre
|
|
|
83
83
|
|
|
84
84
|
Australia
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
Hide codedrawOpen in CodeSandbox
|
|
87
87
|
|
|
88
88
|
<IressReadonly
|
|
89
89
|
append\=""
|
|
@@ -156,7 +156,7 @@ Australia
|
|
|
156
156
|
|
|
157
157
|
Append
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
Hide codedrawOpen in CodeSandbox
|
|
160
160
|
|
|
161
161
|
<IressReadonly
|
|
162
162
|
append\={<IressText color\="colour.neutral.70"\>Append</IressText\>}
|
|
@@ -16,7 +16,7 @@ This component has been recently updated with new props. The props have been mar
|
|
|
16
16
|
|
|
17
17
|
[](./iframe.html?id=components-richselect--single-select)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Hide codedrawOpen in CodeSandbox
|
|
20
20
|
|
|
21
21
|
<IressRichSelect
|
|
22
22
|
container\={document.body}
|
|
@@ -302,7 +302,7 @@ The `options` prop is required for `IressRichSelect`. You can provide an array o
|
|
|
302
302
|
|
|
303
303
|
[](./iframe.html?id=components-richselect--single-select)
|
|
304
304
|
|
|
305
|
-
|
|
305
|
+
Hide codedrawOpen in CodeSandbox
|
|
306
306
|
|
|
307
307
|
<IressRichSelect
|
|
308
308
|
container\={document.body}
|
|
@@ -560,7 +560,7 @@ Adding the `multiSelect` prop will allow the user to select multiple options.
|
|
|
560
560
|
|
|
561
561
|
[](./iframe.html?id=components-richselect--multi-select)
|
|
562
562
|
|
|
563
|
-
|
|
563
|
+
Hide codedrawOpen in CodeSandbox
|
|
564
564
|
|
|
565
565
|
<IressRichSelect
|
|
566
566
|
container\={document.body}
|
|
@@ -831,8 +831,9 @@ Single select
|
|
|
831
831
|
|
|
832
832
|
Multi-select
|
|
833
833
|
|
|
834
|
-
|
|
834
|
+
Hide codedrawOpen in CodeSandbox
|
|
835
835
|
|
|
836
|
+
import { IressCol, IressField, IressRow, IressRichSelect } from '@/main';
|
|
836
837
|
interface StarWarsCharacter {
|
|
837
838
|
name: string;
|
|
838
839
|
gender: string;
|
|
@@ -1063,8 +1064,9 @@ Search requires 3+ characters
|
|
|
1063
1064
|
|
|
1064
1065
|
Type at least 3 characters...
|
|
1065
1066
|
|
|
1066
|
-
|
|
1067
|
+
Hide codedrawOpen in CodeSandbox
|
|
1067
1068
|
|
|
1069
|
+
import { IressCol, IressField, IressRow, IressRichSelect } from '@/main';
|
|
1068
1070
|
interface StarWarsCharacter {
|
|
1069
1071
|
name: string;
|
|
1070
1072
|
gender: string;
|
|
@@ -1293,8 +1295,9 @@ If you are using asynchronous options, you can provide an initial set of options
|
|
|
1293
1295
|
|
|
1294
1296
|
[](./iframe.html?id=components-richselect--initial-options)
|
|
1295
1297
|
|
|
1296
|
-
|
|
1298
|
+
Hide codedrawOpen in CodeSandbox
|
|
1297
1299
|
|
|
1300
|
+
import { IressRichSelect } from '@/main';
|
|
1298
1301
|
export const SelectInitialOptions \= () \=> (
|
|
1299
1302
|
<IressRichSelect
|
|
1300
1303
|
container\={document.body}
|
|
@@ -1515,7 +1518,7 @@ Widths can also be set as a percentage, allowing the select to take up a proport
|
|
|
1515
1518
|
|
|
1516
1519
|
100perc
|
|
1517
1520
|
|
|
1518
|
-
|
|
1521
|
+
Hide codedrawOpen in CodeSandbox
|
|
1519
1522
|
|
|
1520
1523
|
<IressStack gap\="md"\>
|
|
1521
1524
|
<div\>
|
|
@@ -2281,8 +2284,13 @@ As per the example here, you can use this prop to render `IressSelectLabel` as a
|
|
|
2281
2284
|
|
|
2282
2285
|
[](./iframe.html?id=components-richselect--custom-label)
|
|
2283
2286
|
|
|
2284
|
-
|
|
2287
|
+
Hide codedrawOpen in CodeSandbox
|
|
2285
2288
|
|
|
2289
|
+
import {
|
|
2290
|
+
IressRichSelect,
|
|
2291
|
+
type IressRichSelectProps,
|
|
2292
|
+
IressSelectLabel,
|
|
2293
|
+
} from '@/main';
|
|
2286
2294
|
const CustomLabel: IressRichSelectProps<true\>\['renderLabel'\] \= ({ value }) \=> (
|
|
2287
2295
|
<IressSelectLabel role\="combobox" selected\={value} />
|
|
2288
2296
|
);
|
|
@@ -2476,8 +2484,18 @@ It passes `SelectOptionRenderProps` as an argument, which contains the options a
|
|
|
2476
2484
|
|
|
2477
2485
|
[](./iframe.html?id=components-richselect--custom-options)
|
|
2478
2486
|
|
|
2479
|
-
|
|
2480
|
-
|
|
2487
|
+
Hide codedrawOpen in CodeSandbox
|
|
2488
|
+
|
|
2489
|
+
import {
|
|
2490
|
+
type FormattedLabelValueMeta,
|
|
2491
|
+
IressMenuDivider,
|
|
2492
|
+
IressRichSelect,
|
|
2493
|
+
type IressRichSelectProps,
|
|
2494
|
+
IressSelectMenu,
|
|
2495
|
+
IressSelectSearch,
|
|
2496
|
+
IressSelectSearchInput,
|
|
2497
|
+
type LabelValueMeta,
|
|
2498
|
+
} from '@/main';
|
|
2481
2499
|
const CustomOptions: IressRichSelectProps<true\>\['renderOptions'\] \= ({
|
|
2482
2500
|
loading,
|
|
2483
2501
|
query,
|
|
@@ -2729,8 +2747,23 @@ You can use the `renderOptions` prop to add additional functionality to the opti
|
|
|
2729
2747
|
|
|
2730
2748
|
Select an item
|
|
2731
2749
|
|
|
2732
|
-
|
|
2733
|
-
|
|
2750
|
+
Hide codedrawOpen in CodeSandbox
|
|
2751
|
+
|
|
2752
|
+
import {
|
|
2753
|
+
type FormattedLabelValueMeta,
|
|
2754
|
+
type InputRef,
|
|
2755
|
+
IressMenuDivider,
|
|
2756
|
+
IressRichSelect,
|
|
2757
|
+
type IressRichSelectProps,
|
|
2758
|
+
IressSelectBody,
|
|
2759
|
+
IressSelectCreate,
|
|
2760
|
+
IressSelectHeading,
|
|
2761
|
+
IressSelectMenu,
|
|
2762
|
+
IressSelectSearch,
|
|
2763
|
+
IressSelectSearchInput,
|
|
2764
|
+
} from '@/main';
|
|
2765
|
+
import { toArray } from '@helpers/formatting/toArray';
|
|
2766
|
+
import { useId, useRef } from 'react';
|
|
2734
2767
|
const FREQUENTLY\_SELECTED \= \[
|
|
2735
2768
|
{ label: 'Frequently selected 1', value: 'freq-1' },
|
|
2736
2769
|
{ label: 'Frequently selected 2', value: 'freq-2' },
|
|
@@ -3035,7 +3068,7 @@ Use the `header` `footer` prop to add a header/footer to the select panel. They
|
|
|
3035
3068
|
|
|
3036
3069
|
[](./iframe.html?id=components-richselect--header-footer)
|
|
3037
3070
|
|
|
3038
|
-
|
|
3071
|
+
Hide codedrawOpen in CodeSandbox
|
|
3039
3072
|
|
|
3040
3073
|
<IressRichSelect
|
|
3041
3074
|
container\={document.body}
|
|
@@ -3357,7 +3390,7 @@ If you need more control over the read-only state (for example, rendering a styl
|
|
|
3357
3390
|
|
|
3358
3391
|
Option 1, Option 2, Option 3, Option 4, Option 5
|
|
3359
3392
|
|
|
3360
|
-
|
|
3393
|
+
Hide codedrawOpen in CodeSandbox
|
|
3361
3394
|
|
|
3362
3395
|
<IressRichSelect
|
|
3363
3396
|
container\={document.body}
|
|
@@ -3715,8 +3748,16 @@ Multi-select with long text
|
|
|
3715
3748
|
|
|
3716
3749
|
Type anything to start search
|
|
3717
3750
|
|
|
3718
|
-
|
|
3751
|
+
Hide codedrawOpen in CodeSandbox
|
|
3719
3752
|
|
|
3753
|
+
import {
|
|
3754
|
+
IressField,
|
|
3755
|
+
IressRichSelect,
|
|
3756
|
+
IressToggle,
|
|
3757
|
+
IressText,
|
|
3758
|
+
IressStack,
|
|
3759
|
+
} from '@/main';
|
|
3760
|
+
import { useState } from 'react';
|
|
3720
3761
|
interface LongTextItem {
|
|
3721
3762
|
id: string;
|
|
3722
3763
|
title: string;
|
|
@@ -4166,7 +4207,7 @@ Active
|
|
|
4166
4207
|
|
|
4167
4208
|
This will always be fixed to the bottom
|
|
4168
4209
|
|
|
4169
|
-
|
|
4210
|
+
Hide codedrawOpen in CodeSandbox
|
|
4170
4211
|
|
|
4171
4212
|
<IressSelectBody
|
|
4172
4213
|
footer\={<IressPanel\>This will always be fixed to the bottom</IressPanel\>}
|
|
@@ -4339,7 +4380,7 @@ Add custom option
|
|
|
4339
4380
|
|
|
4340
4381
|
WX
|
|
4341
4382
|
|
|
4342
|
-
|
|
4383
|
+
Hide codedrawOpen in CodeSandbox
|
|
4343
4384
|
|
|
4344
4385
|
<IressSelectCreate
|
|
4345
4386
|
heading\="Add custom option"
|
|
@@ -4405,7 +4446,7 @@ Clear all
|
|
|
4405
4446
|
|
|
4406
4447
|
----------------------------------------
|
|
4407
4448
|
|
|
4408
|
-
|
|
4449
|
+
Hide codedrawOpen in CodeSandbox
|
|
4409
4450
|
|
|
4410
4451
|
<IressSelectHeading clearAll\>
|
|
4411
4452
|
<h2\>
|
|
@@ -4486,7 +4527,7 @@ It is used to render the activator of the `IressRichSelect` in single select mod
|
|
|
4486
4527
|
|
|
4487
4528
|
[](./iframe.html?id=components-richselect-subcomponents-label--none-selected)
|
|
4488
4529
|
|
|
4489
|
-
|
|
4530
|
+
Hide codedrawOpen in CodeSandbox
|
|
4490
4531
|
|
|
4491
4532
|
<IressSelectLabel placeholder\="" />
|
|
4492
4533
|
|
|
@@ -4556,7 +4597,7 @@ IressInputProps\['width'\]
|
|
|
4556
4597
|
|
|
4557
4598
|
Option 1
|
|
4558
4599
|
|
|
4559
|
-
|
|
4600
|
+
Hide codedrawOpen in CodeSandbox
|
|
4560
4601
|
|
|
4561
4602
|
<IressSelectLabel
|
|
4562
4603
|
placeholder\=""
|
|
@@ -4659,7 +4700,7 @@ IressInputProps\['width'\]
|
|
|
4659
4700
|
|
|
4660
4701
|
5 selected
|
|
4661
4702
|
|
|
4662
|
-
|
|
4703
|
+
Hide codedrawOpen in CodeSandbox
|
|
4663
4704
|
|
|
4664
4705
|
<IressSelectLabel
|
|
4665
4706
|
placeholder\=""
|
|
@@ -4876,7 +4917,7 @@ Search results
|
|
|
4876
4917
|
|
|
4877
4918
|
Option 1Option 2Option 3Option 4Option 5
|
|
4878
4919
|
|
|
4879
|
-
|
|
4920
|
+
Hide codedrawOpen in CodeSandbox
|
|
4880
4921
|
|
|
4881
4922
|
<IressSelectMenu
|
|
4882
4923
|
fluid
|
|
@@ -5046,7 +5087,7 @@ Search results
|
|
|
5046
5087
|
|
|
5047
5088
|
No results found
|
|
5048
5089
|
|
|
5049
|
-
|
|
5090
|
+
Hide codedrawOpen in CodeSandbox
|
|
5050
5091
|
|
|
5051
5092
|
<IressSelectMenu
|
|
5052
5093
|
fluid
|
|
@@ -5408,7 +5449,7 @@ Active
|
|
|
5408
5449
|
|
|
5409
5450
|
This will always be fixed to the bottom
|
|
5410
5451
|
|
|
5411
|
-
|
|
5452
|
+
Hide codedrawOpen in CodeSandbox
|
|
5412
5453
|
|
|
5413
5454
|
<IressSelectSearch
|
|
5414
5455
|
activator\={<IressSelectSearchInput aria-label\="Search and select items" placeholder\="Search and select"/>}
|
|
@@ -5573,7 +5614,7 @@ It is used to filter the available options of the `IressRichSelect` when an asyn
|
|
|
5573
5614
|
|
|
5574
5615
|
[](./iframe.html?id=components-richselect-subcomponents-searchinput--search-input)
|
|
5575
5616
|
|
|
5576
|
-
|
|
5617
|
+
Hide codedrawOpen in CodeSandbox
|
|
5577
5618
|
|
|
5578
5619
|
<IressSelectSearchInput />
|
|
5579
5620
|
|
|
@@ -5629,7 +5670,7 @@ It is used to render the activator of the `IressRichSelect` if `multiSelect` has
|
|
|
5629
5670
|
|
|
5630
5671
|
Select an item
|
|
5631
5672
|
|
|
5632
|
-
|
|
5673
|
+
Hide codedrawOpen in CodeSandbox
|
|
5633
5674
|
|
|
5634
5675
|
<IressSelectTags placeholder\="Select an item" />
|
|
5635
5676
|
|
|
@@ -5709,7 +5750,7 @@ string
|
|
|
5709
5750
|
|
|
5710
5751
|
Option 1
|
|
5711
5752
|
|
|
5712
|
-
|
|
5753
|
+
Hide codedrawOpen in CodeSandbox
|
|
5713
5754
|
|
|
5714
5755
|
<IressSelectTags
|
|
5715
5756
|
placeholder\="Select an item"
|
|
@@ -5905,7 +5946,7 @@ By default, the maximum number of tags that can be displayed is 5. If more than
|
|
|
5905
5946
|
|
|
5906
5947
|
Expand allDelete all
|
|
5907
5948
|
|
|
5908
|
-
|
|
5949
|
+
Hide codedrawOpen in CodeSandbox
|
|
5909
5950
|
|
|
5910
5951
|
<IressSelectTags
|
|
5911
5952
|
limit\={3}
|