@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
|
@@ -22,7 +22,7 @@ Victoria Sponge
|
|
|
22
22
|
|
|
23
23
|
Carrot Cake
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Hide codedrawOpen in CodeSandbox
|
|
26
26
|
|
|
27
27
|
<IressCheckboxGroup name\="let-them-eat-cake"\>
|
|
28
28
|
<IressCheckbox value\="lemon-drizzle"\>
|
|
@@ -151,7 +151,7 @@ Victoria Sponge
|
|
|
151
151
|
|
|
152
152
|
Carrot Cake
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
Hide codedrawOpen in CodeSandbox
|
|
155
155
|
|
|
156
156
|
<IressCheckboxGroup name\="let-them-eat-cake"\>
|
|
157
157
|
<IressCheckbox value\="lemon-drizzle"\>
|
|
@@ -276,7 +276,7 @@ Victoria Sponge
|
|
|
276
276
|
|
|
277
277
|
Carrot Cake
|
|
278
278
|
|
|
279
|
-
|
|
279
|
+
Hide codedrawOpen in CodeSandbox
|
|
280
280
|
|
|
281
281
|
<IressCheckboxGroup
|
|
282
282
|
defaultValue\={\[
|
|
@@ -425,7 +425,7 @@ Carrot Cake
|
|
|
425
425
|
|
|
426
426
|
Clear
|
|
427
427
|
|
|
428
|
-
|
|
428
|
+
Hide codedrawOpen in CodeSandbox
|
|
429
429
|
|
|
430
430
|
import {
|
|
431
431
|
type FormControlValue,
|
|
@@ -434,7 +434,7 @@ import {
|
|
|
434
434
|
IressCheckboxGroup,
|
|
435
435
|
type IressCheckboxGroupProps,
|
|
436
436
|
IressStack,
|
|
437
|
-
} from '
|
|
437
|
+
} from '@/main';
|
|
438
438
|
import { useState } from 'react';
|
|
439
439
|
export const CheckboxGroupUsingState \= <T \= FormControlValue,\>(
|
|
440
440
|
<T\>,
|
|
@@ -598,7 +598,7 @@ Friend
|
|
|
598
598
|
|
|
599
599
|
Other
|
|
600
600
|
|
|
601
|
-
|
|
601
|
+
Hide codedrawOpen in CodeSandbox
|
|
602
602
|
|
|
603
603
|
<IressText\>
|
|
604
604
|
<h3\>
|
|
@@ -789,7 +789,7 @@ Saving for a holiday
|
|
|
789
789
|
|
|
790
790
|
Reducing my debt
|
|
791
791
|
|
|
792
|
-
|
|
792
|
+
Hide codedrawOpen in CodeSandbox
|
|
793
793
|
|
|
794
794
|
<IressField
|
|
795
795
|
hint\="Select all that apply"
|
|
@@ -1006,7 +1006,7 @@ Reducing my debt
|
|
|
1006
1006
|
|
|
1007
1007
|
Starting a business
|
|
1008
1008
|
|
|
1009
|
-
|
|
1009
|
+
Hide codedrawOpen in CodeSandbox
|
|
1010
1010
|
|
|
1011
1011
|
<IressField
|
|
1012
1012
|
hint\="Select all that apply"
|
|
@@ -1316,7 +1316,7 @@ Lemon drizzle
|
|
|
1316
1316
|
|
|
1317
1317
|
Victoria Sponge
|
|
1318
1318
|
|
|
1319
|
-
|
|
1319
|
+
Hide codedrawOpen in CodeSandbox
|
|
1320
1320
|
|
|
1321
1321
|
<IressCheckboxGroup
|
|
1322
1322
|
defaultValue\={\[
|
|
@@ -1462,7 +1462,7 @@ Victoria Sponge
|
|
|
1462
1462
|
|
|
1463
1463
|
Carrot Cake
|
|
1464
1464
|
|
|
1465
|
-
|
|
1465
|
+
Hide codedrawOpen in CodeSandbox
|
|
1466
1466
|
|
|
1467
1467
|
<IressCheckboxGroup
|
|
1468
1468
|
defaultValue\={\[
|
|
@@ -32,7 +32,7 @@ Select Carrot Cake
|
|
|
32
32
|
|
|
33
33
|
Submit
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Hide codedrawOpen in CodeSandbox
|
|
36
36
|
|
|
37
37
|
import {
|
|
38
38
|
type FormControlValue,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
IressPanel,
|
|
44
44
|
IressStack,
|
|
45
45
|
IressTable,
|
|
46
|
-
} from '
|
|
46
|
+
} from '@/main';
|
|
47
47
|
import { IressCheckboxGroup } from '../CheckboxGroup';
|
|
48
48
|
import { toArray } from '../../../helpers/formatting/toArray';
|
|
49
49
|
interface FieldValues {
|
|
@@ -20,11 +20,11 @@ Column 1
|
|
|
20
20
|
|
|
21
21
|
Column 2
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Hide codedrawOpen in CodeSandbox
|
|
24
24
|
|
|
25
25
|
<IressRow
|
|
26
26
|
ref\={undefined}
|
|
27
|
-
gutter\="spacing.
|
|
27
|
+
gutter\="spacing.4"
|
|
28
28
|
\>
|
|
29
29
|
<IressCol\>
|
|
30
30
|
<IressPlaceholder\>
|
|
@@ -103,13 +103,13 @@ When no column widths are specified the `IressCol` component will render equal w
|
|
|
103
103
|
|
|
104
104
|
3 of 3
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
Hide codedrawOpen in CodeSandbox
|
|
107
107
|
|
|
108
108
|
<IressStack
|
|
109
109
|
ref\={undefined}
|
|
110
|
-
gap\="spacing.
|
|
110
|
+
gap\="spacing.4"
|
|
111
111
|
\>
|
|
112
|
-
<IressRow gutter\="spacing.
|
|
112
|
+
<IressRow gutter\="spacing.4"\>
|
|
113
113
|
<IressCol\>
|
|
114
114
|
<IressPlaceholder\>
|
|
115
115
|
1 of 2 </IressPlaceholder\>
|
|
@@ -119,7 +119,7 @@ When no column widths are specified the `IressCol` component will render equal w
|
|
|
119
119
|
2 of 2 </IressPlaceholder\>
|
|
120
120
|
</IressCol\>
|
|
121
121
|
</IressRow\>
|
|
122
|
-
<IressRow gutter\="spacing.
|
|
122
|
+
<IressRow gutter\="spacing.4"\>
|
|
123
123
|
<IressCol\>
|
|
124
124
|
<IressPlaceholder\>
|
|
125
125
|
1 of 3 </IressPlaceholder\>
|
|
@@ -216,19 +216,19 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
216
216
|
|
|
217
217
|
6
|
|
218
218
|
|
|
219
|
-
|
|
219
|
+
Hide codedrawOpen in CodeSandbox
|
|
220
220
|
|
|
221
221
|
<IressStack
|
|
222
222
|
ref\={undefined}
|
|
223
|
-
gap\="spacing.
|
|
223
|
+
gap\="spacing.4"
|
|
224
224
|
\>
|
|
225
|
-
<IressRow gutter\="spacing.
|
|
225
|
+
<IressRow gutter\="spacing.4"\>
|
|
226
226
|
<IressCol span\="12"\>
|
|
227
227
|
<IressPlaceholder\>
|
|
228
228
|
12 </IressPlaceholder\>
|
|
229
229
|
</IressCol\>
|
|
230
230
|
</IressRow\>
|
|
231
|
-
<IressRow gutter\="spacing.
|
|
231
|
+
<IressRow gutter\="spacing.4"\>
|
|
232
232
|
<IressCol span\="1"\>
|
|
233
233
|
<IressPlaceholder\>
|
|
234
234
|
1 </IressPlaceholder\>
|
|
@@ -238,7 +238,7 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
238
238
|
11 </IressPlaceholder\>
|
|
239
239
|
</IressCol\>
|
|
240
240
|
</IressRow\>
|
|
241
|
-
<IressRow gutter\="spacing.
|
|
241
|
+
<IressRow gutter\="spacing.4"\>
|
|
242
242
|
<IressCol span\="2"\>
|
|
243
243
|
<IressPlaceholder\>
|
|
244
244
|
2 </IressPlaceholder\>
|
|
@@ -248,7 +248,7 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
248
248
|
10 </IressPlaceholder\>
|
|
249
249
|
</IressCol\>
|
|
250
250
|
</IressRow\>
|
|
251
|
-
<IressRow gutter\="spacing.
|
|
251
|
+
<IressRow gutter\="spacing.4"\>
|
|
252
252
|
<IressCol span\="3"\>
|
|
253
253
|
<IressPlaceholder\>
|
|
254
254
|
3 </IressPlaceholder\>
|
|
@@ -258,7 +258,7 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
258
258
|
9 </IressPlaceholder\>
|
|
259
259
|
</IressCol\>
|
|
260
260
|
</IressRow\>
|
|
261
|
-
<IressRow gutter\="spacing.
|
|
261
|
+
<IressRow gutter\="spacing.4"\>
|
|
262
262
|
<IressCol span\="4"\>
|
|
263
263
|
<IressPlaceholder\>
|
|
264
264
|
4 </IressPlaceholder\>
|
|
@@ -268,7 +268,7 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
268
268
|
8 </IressPlaceholder\>
|
|
269
269
|
</IressCol\>
|
|
270
270
|
</IressRow\>
|
|
271
|
-
<IressRow gutter\="spacing.
|
|
271
|
+
<IressRow gutter\="spacing.4"\>
|
|
272
272
|
<IressCol span\="5"\>
|
|
273
273
|
<IressPlaceholder\>
|
|
274
274
|
5 </IressPlaceholder\>
|
|
@@ -278,7 +278,7 @@ If no `span` is provided it will default to `auto` which will make the column ei
|
|
|
278
278
|
7 </IressPlaceholder\>
|
|
279
279
|
</IressCol\>
|
|
280
280
|
</IressRow\>
|
|
281
|
-
<IressRow gutter\="spacing.
|
|
281
|
+
<IressRow gutter\="spacing.4"\>
|
|
282
282
|
<IressCol span\="6"\>
|
|
283
283
|
<IressPlaceholder\>
|
|
284
284
|
6 </IressPlaceholder\>
|
|
@@ -344,17 +344,17 @@ Column 1
|
|
|
344
344
|
Column 2
|
|
345
345
|
{"xs":12,"md":9}
|
|
346
346
|
|
|
347
|
-
|
|
347
|
+
Hide codedrawOpen in CodeSandbox
|
|
348
348
|
|
|
349
349
|
<IressStack
|
|
350
350
|
ref\={undefined}
|
|
351
|
-
gap\="spacing.
|
|
351
|
+
gap\="spacing.4"
|
|
352
352
|
\>
|
|
353
353
|
<IressPanel\>
|
|
354
354
|
Current breakpoint:{' '}
|
|
355
|
-
<
|
|
355
|
+
<Ln />
|
|
356
356
|
. </IressPanel\>
|
|
357
|
-
<IressRow gutter\="spacing.
|
|
357
|
+
<IressRow gutter\="spacing.4"\>
|
|
358
358
|
<IressCol
|
|
359
359
|
span\={{
|
|
360
360
|
md: 3,
|
|
@@ -450,13 +450,13 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
450
450
|
|
|
451
451
|
11
|
|
452
452
|
|
|
453
|
-
|
|
453
|
+
Hide codedrawOpen in CodeSandbox
|
|
454
454
|
|
|
455
455
|
<IressStack
|
|
456
456
|
ref\={undefined}
|
|
457
|
-
gap\="spacing.
|
|
457
|
+
gap\="spacing.4"
|
|
458
458
|
\>
|
|
459
|
-
<IressRow gutter\="spacing.
|
|
459
|
+
<IressRow gutter\="spacing.4"\>
|
|
460
460
|
<IressCol
|
|
461
461
|
offset\="1"
|
|
462
462
|
span\="1"
|
|
@@ -465,7 +465,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
465
465
|
1 </IressPlaceholder\>
|
|
466
466
|
</IressCol\>
|
|
467
467
|
</IressRow\>
|
|
468
|
-
<IressRow gutter\="spacing.
|
|
468
|
+
<IressRow gutter\="spacing.4"\>
|
|
469
469
|
<IressCol
|
|
470
470
|
offset\="2"
|
|
471
471
|
span\="1"
|
|
@@ -474,7 +474,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
474
474
|
2 </IressPlaceholder\>
|
|
475
475
|
</IressCol\>
|
|
476
476
|
</IressRow\>
|
|
477
|
-
<IressRow gutter\="spacing.
|
|
477
|
+
<IressRow gutter\="spacing.4"\>
|
|
478
478
|
<IressCol
|
|
479
479
|
offset\="3"
|
|
480
480
|
span\="1"
|
|
@@ -483,7 +483,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
483
483
|
3 </IressPlaceholder\>
|
|
484
484
|
</IressCol\>
|
|
485
485
|
</IressRow\>
|
|
486
|
-
<IressRow gutter\="spacing.
|
|
486
|
+
<IressRow gutter\="spacing.4"\>
|
|
487
487
|
<IressCol
|
|
488
488
|
offset\="4"
|
|
489
489
|
span\="1"
|
|
@@ -492,7 +492,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
492
492
|
4 </IressPlaceholder\>
|
|
493
493
|
</IressCol\>
|
|
494
494
|
</IressRow\>
|
|
495
|
-
<IressRow gutter\="spacing.
|
|
495
|
+
<IressRow gutter\="spacing.4"\>
|
|
496
496
|
<IressCol
|
|
497
497
|
offset\="5"
|
|
498
498
|
span\="1"
|
|
@@ -501,7 +501,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
501
501
|
5 </IressPlaceholder\>
|
|
502
502
|
</IressCol\>
|
|
503
503
|
</IressRow\>
|
|
504
|
-
<IressRow gutter\="spacing.
|
|
504
|
+
<IressRow gutter\="spacing.4"\>
|
|
505
505
|
<IressCol
|
|
506
506
|
offset\="6"
|
|
507
507
|
span\="1"
|
|
@@ -510,7 +510,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
510
510
|
6 </IressPlaceholder\>
|
|
511
511
|
</IressCol\>
|
|
512
512
|
</IressRow\>
|
|
513
|
-
<IressRow gutter\="spacing.
|
|
513
|
+
<IressRow gutter\="spacing.4"\>
|
|
514
514
|
<IressCol
|
|
515
515
|
offset\="7"
|
|
516
516
|
span\="1"
|
|
@@ -519,7 +519,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
519
519
|
7 </IressPlaceholder\>
|
|
520
520
|
</IressCol\>
|
|
521
521
|
</IressRow\>
|
|
522
|
-
<IressRow gutter\="spacing.
|
|
522
|
+
<IressRow gutter\="spacing.4"\>
|
|
523
523
|
<IressCol
|
|
524
524
|
offset\="8"
|
|
525
525
|
span\="1"
|
|
@@ -528,7 +528,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
528
528
|
8 </IressPlaceholder\>
|
|
529
529
|
</IressCol\>
|
|
530
530
|
</IressRow\>
|
|
531
|
-
<IressRow gutter\="spacing.
|
|
531
|
+
<IressRow gutter\="spacing.4"\>
|
|
532
532
|
<IressCol
|
|
533
533
|
offset\="9"
|
|
534
534
|
span\="1"
|
|
@@ -537,7 +537,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
537
537
|
9 </IressPlaceholder\>
|
|
538
538
|
</IressCol\>
|
|
539
539
|
</IressRow\>
|
|
540
|
-
<IressRow gutter\="spacing.
|
|
540
|
+
<IressRow gutter\="spacing.4"\>
|
|
541
541
|
<IressCol
|
|
542
542
|
offset\="10"
|
|
543
543
|
span\="1"
|
|
@@ -546,7 +546,7 @@ The `offset` prop controls the amount of grid columns to offset.
|
|
|
546
546
|
10 </IressPlaceholder\>
|
|
547
547
|
</IressCol\>
|
|
548
548
|
</IressRow\>
|
|
549
|
-
<IressRow gutter\="spacing.
|
|
549
|
+
<IressRow gutter\="spacing.4"\>
|
|
550
550
|
<IressCol
|
|
551
551
|
offset\="11"
|
|
552
552
|
span\="1"
|
|
@@ -612,17 +612,17 @@ Current breakpoint: **xl** breakpoint (1200px - 1499px).
|
|
|
612
612
|
Column 1
|
|
613
613
|
{"md":5,"lg":2}
|
|
614
614
|
|
|
615
|
-
|
|
615
|
+
Hide codedrawOpen in CodeSandbox
|
|
616
616
|
|
|
617
617
|
<IressStack
|
|
618
618
|
ref\={undefined}
|
|
619
|
-
gap\="spacing.
|
|
619
|
+
gap\="spacing.4"
|
|
620
620
|
\>
|
|
621
621
|
<IressPanel\>
|
|
622
622
|
Current breakpoint:{' '}
|
|
623
|
-
<
|
|
623
|
+
<Ln />
|
|
624
624
|
. </IressPanel\>
|
|
625
|
-
<IressRow gutter\="spacing.
|
|
625
|
+
<IressRow gutter\="spacing.4"\>
|
|
626
626
|
<IressCol
|
|
627
627
|
offset\={{
|
|
628
628
|
lg: 2,
|
|
@@ -691,11 +691,11 @@ End
|
|
|
691
691
|
|
|
692
692
|
Stretch
|
|
693
693
|
|
|
694
|
-
|
|
694
|
+
Hide codedrawOpen in CodeSandbox
|
|
695
695
|
|
|
696
696
|
<IressContainer ref\={undefined}\>
|
|
697
697
|
<IressRow
|
|
698
|
-
gutter\="spacing.
|
|
698
|
+
gutter\="spacing.4"
|
|
699
699
|
layerStyle\="elevation.raised"
|
|
700
700
|
style\={{
|
|
701
701
|
height: '10rem'
|
|
@@ -25,7 +25,7 @@ Your screen size is showing the container for the **xl** breakpoint.
|
|
|
25
25
|
* Screen width range: 1200px - 1499px
|
|
26
26
|
* Max width: 1280px
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Hide codedrawOpen in CodeSandbox
|
|
29
29
|
|
|
30
30
|
<IressContainer\>
|
|
31
31
|
<p\>
|
|
@@ -33,7 +33,7 @@ Your screen size is showing the container for the **xl** breakpoint.
|
|
|
33
33
|
<p\>
|
|
34
34
|
Try resizing the screen to see the difference. </p\>
|
|
35
35
|
<IressPanel\>
|
|
36
|
-
<
|
|
36
|
+
<Ln renderLabel\="container" />
|
|
37
37
|
</IressPanel\>
|
|
38
38
|
</IressContainer\>
|
|
39
39
|
|
|
@@ -79,7 +79,7 @@ Container breakpoints
|
|
|
79
79
|
| xl | 1200px - 1499px | 1280px |
|
|
80
80
|
| xxl | 1500px and above | 1280px |
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
Hide codedrawOpen in CodeSandbox
|
|
83
83
|
|
|
84
84
|
{
|
|
85
85
|
render: () \=> <IressTable caption\="Container breakpoints" rows\={BREAKPOINTS.map(breakpoint \=> ({
|
|
@@ -131,7 +131,7 @@ Your screen size is showing the container for the **xl** breakpoint.
|
|
|
131
131
|
* Screen width range: 1200px - 1499px
|
|
132
132
|
* Max width: 100%
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
Hide codedrawOpen in CodeSandbox
|
|
135
135
|
|
|
136
136
|
<IressContainer fluid\>
|
|
137
137
|
<p\>
|
|
@@ -143,7 +143,7 @@ Your screen size is showing the container for the **xl** breakpoint.
|
|
|
143
143
|
{' '}prop is enabled, the container will span the full width of its containing element. Try resizing the screen to see how the IressContainer is 100% for all screen sizes.
|
|
144
144
|
</p\>
|
|
145
145
|
<IressPanel\>
|
|
146
|
-
<
|
|
146
|
+
<Ln renderLabel\="container-fluid" />
|
|
147
147
|
</IressPanel\>
|
|
148
148
|
</IressContainer\>
|
|
149
149
|
|
|
@@ -18,7 +18,7 @@ This component has been recently updated with new props. The props have been mar
|
|
|
18
18
|
|
|
19
19
|
* * *
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Hide codedrawOpen in CodeSandbox
|
|
22
22
|
|
|
23
23
|
<IressDivider />
|
|
24
24
|
|
|
@@ -53,10 +53,10 @@ Separate
|
|
|
53
53
|
|
|
54
54
|
this
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
Hide codedrawOpen in CodeSandbox
|
|
57
57
|
|
|
58
58
|
<IressInline
|
|
59
|
-
gap\="spacing.
|
|
59
|
+
gap\="spacing.4"
|
|
60
60
|
verticalAlign\="middle"
|
|
61
61
|
\>
|
|
62
62
|
<IressText\>
|
|
@@ -143,9 +143,9 @@ Separate
|
|
|
143
143
|
|
|
144
144
|
this
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
Hide codedrawOpen in CodeSandbox
|
|
147
147
|
|
|
148
|
-
<IressInline gap\="spacing.
|
|
148
|
+
<IressInline gap\="spacing.4"\>
|
|
149
149
|
<IressPanel\>
|
|
150
150
|
<IressText element\="h2"\>
|
|
151
151
|
<code\>
|
|
@@ -20,7 +20,7 @@ Expander activator
|
|
|
20
20
|
|
|
21
21
|
Expander content will go here
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Hide codedrawOpen in CodeSandbox
|
|
24
24
|
|
|
25
25
|
<IressExpander activator\="Expander activator"\>
|
|
26
26
|
Expander content will go here
|
|
@@ -136,7 +136,7 @@ Expander activator
|
|
|
136
136
|
|
|
137
137
|
Expander content will go here
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
Hide codedrawOpen in CodeSandbox
|
|
140
140
|
|
|
141
141
|
<IressStack gap\="lg"\>
|
|
142
142
|
<IressStack gap\="xs"\>
|
|
@@ -235,7 +235,7 @@ Expander activator
|
|
|
235
235
|
|
|
236
236
|
Expander content will go here
|
|
237
237
|
|
|
238
|
-
|
|
238
|
+
Hide codedrawOpen in CodeSandbox
|
|
239
239
|
|
|
240
240
|
<IressExpander
|
|
241
241
|
activator\="Expander activator"
|
|
@@ -336,8 +336,10 @@ Bottom
|
|
|
336
336
|
|
|
337
337
|
Expander content for the bottom activator goes here.
|
|
338
338
|
|
|
339
|
-
|
|
339
|
+
Hide codedrawOpen in CodeSandbox
|
|
340
340
|
|
|
341
|
+
import { IressExpander } from '@/main';
|
|
342
|
+
import { useState } from 'react';
|
|
341
343
|
export const MultipleExpander \= () \=> {
|
|
342
344
|
const \[openActivator, setOpenActivator\] \= useState('');
|
|
343
345
|
const handleChange \= (newOpenActivator: string, open?: boolean) \=> {
|
|
@@ -18,7 +18,7 @@ This component has been recently updated with new props. The props have been mar
|
|
|
18
18
|
|
|
19
19
|
First name
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Hide codedrawOpen in CodeSandbox
|
|
22
22
|
|
|
23
23
|
<IressField label\="First name"\>
|
|
24
24
|
<IressInput
|
|
@@ -155,7 +155,7 @@ The `label` prop is required to describe the field.
|
|
|
155
155
|
|
|
156
156
|
Find your address
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
Hide codedrawOpen in CodeSandbox
|
|
159
159
|
|
|
160
160
|
<IressField label\={<span\><IressIcon name\="home" />{' '}Find your address</span\>}\>
|
|
161
161
|
<IressInput
|
|
@@ -286,7 +286,7 @@ Email address
|
|
|
286
286
|
|
|
287
287
|
For us to be able to contact you in the future
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
Hide codedrawOpen in CodeSandbox
|
|
290
290
|
|
|
291
291
|
<IressField
|
|
292
292
|
hint\="For us to be able to contact you in the future"
|
|
@@ -431,7 +431,7 @@ Error message
|
|
|
431
431
|
* This field is required
|
|
432
432
|
|
|
433
433
|
|
|
434
|
-
|
|
434
|
+
Hide codedrawOpen in CodeSandbox
|
|
435
435
|
|
|
436
436
|
<IressField
|
|
437
437
|
errorMessages\={\[
|
|
@@ -594,7 +594,7 @@ Custom error
|
|
|
594
594
|
* This is a custom error message
|
|
595
595
|
|
|
596
596
|
|
|
597
|
-
|
|
597
|
+
Hide codedrawOpen in CodeSandbox
|
|
598
598
|
|
|
599
599
|
<IressField
|
|
600
600
|
error\={<IressText color\="colour.system.danger.text" element\="small"\>This is a custom error message</IressText\>}
|
|
@@ -760,7 +760,7 @@ This label is hidden
|
|
|
760
760
|
|
|
761
761
|
This hint text is hidden
|
|
762
762
|
|
|
763
|
-
|
|
763
|
+
Hide codedrawOpen in CodeSandbox
|
|
764
764
|
|
|
765
765
|
<IressField
|
|
766
766
|
hiddenLabel
|
|
@@ -909,7 +909,7 @@ This hint text is hidden
|
|
|
909
909
|
* Even fields with hidden labels will show their validation message
|
|
910
910
|
|
|
911
911
|
|
|
912
|
-
|
|
912
|
+
Hide codedrawOpen in CodeSandbox
|
|
913
913
|
|
|
914
914
|
<IressField
|
|
915
915
|
error\={<IressText color\="colour.system.danger.text" element\="small"\>Even fields with hidden labels will show their validation message</IressText\>}
|
|
@@ -1087,7 +1087,7 @@ Fields marked as `required` will have an asterisk prepended to the label.
|
|
|
1087
1087
|
|
|
1088
1088
|
\*RequiredThis field is required
|
|
1089
1089
|
|
|
1090
|
-
|
|
1090
|
+
Hide codedrawOpen in CodeSandbox
|
|
1091
1091
|
|
|
1092
1092
|
<IressField
|
|
1093
1093
|
label\="This field is required"
|
|
@@ -1236,7 +1236,7 @@ This field is readonly
|
|
|
1236
1236
|
|
|
1237
1237
|
Luke Skywalker
|
|
1238
1238
|
|
|
1239
|
-
|
|
1239
|
+
Hide codedrawOpen in CodeSandbox
|
|
1240
1240
|
|
|
1241
1241
|
<IressField
|
|
1242
1242
|
hint\="This field is readonly"
|
|
@@ -1400,9 +1400,9 @@ First name
|
|
|
1400
1400
|
|
|
1401
1401
|
I only show if there is no error
|
|
1402
1402
|
|
|
1403
|
-
|
|
1403
|
+
Hide codedrawOpen in CodeSandbox
|
|
1404
1404
|
|
|
1405
|
-
<IressStack gap\="spacing.
|
|
1405
|
+
<IressStack gap\="spacing.5"\>
|
|
1406
1406
|
<IressToggle
|
|
1407
1407
|
onChange\={(checked) \=> setError(checked ? "This field is required" : void 0)}
|
|
1408
1408
|
\>
|
|
@@ -1555,7 +1555,7 @@ Email address
|
|
|
1555
1555
|
|
|
1556
1556
|
We will not share your email with third parties (Supplementary text)
|
|
1557
1557
|
|
|
1558
|
-
|
|
1558
|
+
Hide codedrawOpen in CodeSandbox
|
|
1559
1559
|
|
|
1560
1560
|
<IressField
|
|
1561
1561
|
hint\="Enter your email address for contact"
|
|
@@ -1706,7 +1706,7 @@ Email address
|
|
|
1706
1706
|
* Please enter a valid email address
|
|
1707
1707
|
|
|
1708
1708
|
|
|
1709
|
-
|
|
1709
|
+
Hide codedrawOpen in CodeSandbox
|
|
1710
1710
|
|
|
1711
1711
|
<IressField
|
|
1712
1712
|
errorMessages\={\[
|
|
@@ -1885,9 +1885,9 @@ labelWidth: auto
|
|
|
1885
1885
|
|
|
1886
1886
|
Default (no labelWidth)
|
|
1887
1887
|
|
|
1888
|
-
|
|
1888
|
+
Hide codedrawOpen in CodeSandbox
|
|
1889
1889
|
|
|
1890
|
-
<IressStack gap\="spacing.
|
|
1890
|
+
<IressStack gap\="spacing.5"\>
|
|
1891
1891
|
<IressField
|
|
1892
1892
|
horizontal
|
|
1893
1893
|
label\="labelWidth: 100px"
|
|
@@ -2102,10 +2102,10 @@ This is always-displayed supplementary text
|
|
|
2102
2102
|
|
|
2103
2103
|
Email Address
|
|
2104
2104
|
|
|
2105
|
-
|
|
2105
|
+
Hide codedrawOpen in CodeSandbox
|
|
2106
2106
|
|
|
2107
|
-
<IressStack gap\="spacing.
|
|
2108
|
-
<IressInline gap\="spacing.
|
|
2107
|
+
<IressStack gap\="spacing.5"\>
|
|
2108
|
+
<IressInline gap\="spacing.4"\>
|
|
2109
2109
|
<IressToggle
|
|
2110
2110
|
onChange\={(checked) \=> setRemoveErrorMargin(checked)}
|
|
2111
2111
|
\>
|
|
@@ -2115,15 +2115,15 @@ Email Address
|
|
|
2115
2115
|
\>
|
|
2116
2116
|
Show error message </IressToggle\>
|
|
2117
2117
|
</IressInline\>
|
|
2118
|
-
<IressRow gutter\="spacing.
|
|
2118
|
+
<IressRow gutter\="spacing.6"\>
|
|
2119
2119
|
<IressCol span\="6"\>
|
|
2120
|
-
<IressStack gap\="spacing.
|
|
2120
|
+
<IressStack gap\="spacing.2"\>
|
|
2121
2121
|
<IressText
|
|
2122
2122
|
element\="h3"
|
|
2123
2123
|
textStyle\="typography.body.lg.strong"
|
|
2124
2124
|
\>
|
|
2125
2125
|
Vertical Label Layout </IressText\>
|
|
2126
|
-
<IressStack gap\="spacing.
|
|
2126
|
+
<IressStack gap\="spacing.0"\>
|
|
2127
2127
|
<IressField
|
|
2128
2128
|
label\="First Name"
|
|
2129
2129
|
\>
|
|
@@ -2162,13 +2162,13 @@ Email Address
|
|
|
2162
2162
|
</IressStack\>
|
|
2163
2163
|
</IressCol\>
|
|
2164
2164
|
<IressCol span\="6"\>
|
|
2165
|
-
<IressStack gap\="spacing.
|
|
2165
|
+
<IressStack gap\="spacing.2"\>
|
|
2166
2166
|
<IressText
|
|
2167
2167
|
element\="h3"
|
|
2168
2168
|
textStyle\="typography.body.lg.strong"
|
|
2169
2169
|
\>
|
|
2170
2170
|
Horizontal Label Layout </IressText\>
|
|
2171
|
-
<IressStack gap\="spacing.
|
|
2171
|
+
<IressStack gap\="spacing.0"\>
|
|
2172
2172
|
<IressField
|
|
2173
2173
|
horizontal
|
|
2174
2174
|
label\="First Name"
|
|
@@ -2346,7 +2346,7 @@ Title
|
|
|
2346
2346
|
|
|
2347
2347
|
\*RequiredLast name
|
|
2348
2348
|
|
|
2349
|
-
|
|
2349
|
+
Hide codedrawOpen in CodeSandbox
|
|
2350
2350
|
|
|
2351
2351
|
<IressFieldGroup label\="Full name"\>
|
|
2352
2352
|
<IressField
|
|
@@ -2528,7 +2528,7 @@ Title
|
|
|
2528
2528
|
|
|
2529
2529
|
\*RequiredLast name
|
|
2530
2530
|
|
|
2531
|
-
|
|
2531
|
+
Hide codedrawOpen in CodeSandbox
|
|
2532
2532
|
|
|
2533
2533
|
<IressFieldGroup
|
|
2534
2534
|
inline
|
|
@@ -2717,7 +2717,7 @@ Submit
|
|
|
2717
2717
|
|
|
2718
2718
|
Settings goes here
|
|
2719
2719
|
|
|
2720
|
-
|
|
2720
|
+
Hide codedrawOpen in CodeSandbox
|
|
2721
2721
|
|
|
2722
2722
|
<form\>
|
|
2723
2723
|
<IressFieldGroup
|
|
@@ -2937,7 +2937,7 @@ Title
|
|
|
2937
2937
|
|
|
2938
2938
|
\*RequiredLast name
|
|
2939
2939
|
|
|
2940
|
-
|
|
2940
|
+
Hide codedrawOpen in CodeSandbox
|
|
2941
2941
|
|
|
2942
2942
|
<IressFieldGroup
|
|
2943
2943
|
join
|
|
@@ -3126,7 +3126,7 @@ Submit
|
|
|
3126
3126
|
|
|
3127
3127
|
Settings goes here
|
|
3128
3128
|
|
|
3129
|
-
|
|
3129
|
+
Hide codedrawOpen in CodeSandbox
|
|
3130
3130
|
|
|
3131
3131
|
<form\>
|
|
3132
3132
|
<IressFieldGroup
|