@webority/ui-react 0.138.0 → 0.139.1

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.
@@ -2,7 +2,7 @@
2
2
  "format": "webority-guidance/1",
3
3
  "package": {
4
4
  "name": "@webority/ui-react",
5
- "version": "0.138.0"
5
+ "version": "0.139.1"
6
6
  },
7
7
  "components": [
8
8
  {
@@ -499,171 +499,6 @@
499
499
  ]
500
500
  }
501
501
  },
502
- {
503
- "name": "AppAutocomplete",
504
- "usage": {
505
- "when": [
506
- "The user picks one value from a list too long to scroll comfortably (dozens or more).",
507
- "The list lives on the server: pass loadOptions and fetch only the matches the user types toward.",
508
- "Users know the option by name and can type it faster than they can find it in a dropdown."
509
- ],
510
- "whenNot": [
511
- {
512
- "text": "The user must pick several values.",
513
- "instead": "AppMultiSelect"
514
- },
515
- {
516
- "text": "There are only 2 to 5 fixed, exclusive options.",
517
- "instead": "AppRadio"
518
- },
519
- {
520
- "text": "The list is short and closed (6 to 15 options).",
521
- "instead": "AppSelect"
522
- },
523
- {
524
- "text": "It is a free-text search that navigates or filters a page.",
525
- "instead": "AppSearch"
526
- }
527
- ],
528
- "do": [
529
- {
530
- "title": "Autocomplete for long lists only",
531
- "note": "A long list users know by name. Type-to-find lands them on the right row in one or two keystrokes.",
532
- "example": [
533
- {
534
- "component": "AppAutocomplete",
535
- "props": {
536
- "label": "City",
537
- "name": "city",
538
- "options": [
539
- {
540
- "value": "mumbai",
541
- "label": "Mumbai"
542
- },
543
- {
544
- "value": "delhi",
545
- "label": "Delhi"
546
- },
547
- {
548
- "value": "bengaluru",
549
- "label": "Bengaluru"
550
- },
551
- {
552
- "value": "hyderabad",
553
- "label": "Hyderabad"
554
- },
555
- {
556
- "value": "chennai",
557
- "label": "Chennai"
558
- },
559
- {
560
- "value": "kolkata",
561
- "label": "Kolkata"
562
- },
563
- {
564
- "value": "pune",
565
- "label": "Pune"
566
- },
567
- {
568
- "value": "ahmedabad",
569
- "label": "Ahmedabad"
570
- },
571
- {
572
- "value": "jaipur",
573
- "label": "Jaipur"
574
- },
575
- {
576
- "value": "surat",
577
- "label": "Surat"
578
- }
579
- ],
580
- "placeholder": "Type a city…",
581
- "helperText": "Client-side filter over a static list."
582
- }
583
- }
584
- ]
585
- },
586
- {
587
- "title": "Radios for a handful of options",
588
- "note": "For a handful of exclusive options, radios show every choice at once. No typing, no dropdown.",
589
- "example": [
590
- {
591
- "component": "AppRadio",
592
- "props": {
593
- "label": "Small",
594
- "name": "size-good"
595
- }
596
- },
597
- {
598
- "component": "AppRadio",
599
- "props": {
600
- "label": "Medium",
601
- "name": "size-good",
602
- "defaultChecked": true
603
- }
604
- },
605
- {
606
- "component": "AppRadio",
607
- "props": {
608
- "label": "Large",
609
- "name": "size-good"
610
- }
611
- }
612
- ]
613
- }
614
- ],
615
- "dont": [
616
- {
617
- "title": "Autocomplete for long lists only",
618
- "note": "Reserve the remote search for genuinely large or server-side lists, where loadOptions fetches only matches.",
619
- "example": [
620
- {
621
- "component": "AppAutocomplete",
622
- "props": {
623
- "label": "City (remote)",
624
- "name": "city-remote",
625
- "placeholder": "Type to search…",
626
- "minChars": 1,
627
- "helperText": "Debounced search with a loading spinner."
628
- }
629
- }
630
- ]
631
- },
632
- {
633
- "title": "Radios for a handful of options",
634
- "note": "Three fixed options do not need a search box. The field is heavier than the choice.",
635
- "example": [
636
- {
637
- "component": "AppAutocomplete",
638
- "props": {
639
- "label": "Size",
640
- "name": "size-bad",
641
- "options": [
642
- {
643
- "value": "sm",
644
- "label": "Small"
645
- },
646
- {
647
- "value": "md",
648
- "label": "Medium"
649
- },
650
- {
651
- "value": "lg",
652
- "label": "Large"
653
- }
654
- ]
655
- }
656
- }
657
- ]
658
- }
659
- ],
660
- "a11y": [
661
- "A text label is the accessible name of the control, because the label element cannot name the custom element.",
662
- "aria-invalid is set when there is an error, and aria-describedby points at the error message, or at the helper text when there is no error.",
663
- "Required adds the required mark to the label and the required attribute to the control."
664
- ]
665
- }
666
- },
667
502
  {
668
503
  "name": "AppAvatar",
669
504
  "usage": {
@@ -1551,7 +1386,7 @@
1551
1386
  },
1552
1387
  {
1553
1388
  "text": "The user picks many values from a long list.",
1554
- "instead": "AppMultiSelect"
1389
+ "instead": "AppSelect mode=\"multiple\""
1555
1390
  },
1556
1391
  {
1557
1392
  "text": "It is a selectable filter or tag pill.",
@@ -2338,7 +2173,7 @@
2338
2173
  "whenNot": [
2339
2174
  {
2340
2175
  "text": "You are picking a value for a form field.",
2341
- "instead": "AppAutocomplete"
2176
+ "instead": "AppSelect mode=\"search\""
2342
2177
  },
2343
2178
  {
2344
2179
  "text": "You are filtering the list on the current page.",
@@ -2667,7 +2502,7 @@
2667
2502
  "whenNot": [
2668
2503
  {
2669
2504
  "text": "Picking a country.",
2670
- "instead": "AppCountrySelect"
2505
+ "instead": "AppSelect mode=\"country\""
2671
2506
  },
2672
2507
  {
2673
2508
  "text": "A phone number with its country.",
@@ -2682,31 +2517,6 @@
2682
2517
  ]
2683
2518
  }
2684
2519
  },
2685
- {
2686
- "name": "AppCountrySelect",
2687
- "usage": {
2688
- "when": [
2689
- "A form field asking which country: address, billing, nationality, business registration."
2690
- ],
2691
- "whenNot": [
2692
- {
2693
- "text": "A phone number with its country code. AppPhoneNumberInput carries its own country picker.",
2694
- "instead": "AppPhoneNumberInput"
2695
- },
2696
- {
2697
- "text": "A short list of regions or markets that are not countries. Use your own options.",
2698
- "instead": "AppSelect"
2699
- }
2700
- ],
2701
- "do": [],
2702
- "dont": [],
2703
- "a11y": [
2704
- "The visible label is the control's accessible name, unless an aria-label or aria-labelledby is passed, and it is tied to the control through its id.",
2705
- "An error sets aria-invalid on the control and is linked to it with aria-describedby; the helper text is linked the same way when there is no error.",
2706
- "A required field marks the label with the required mark and sets required on the control."
2707
- ]
2708
- }
2709
- },
2710
2520
  {
2711
2521
  "name": "AppDashboardCell",
2712
2522
  "usage": {
@@ -4835,7 +4645,7 @@
4835
4645
  "whenNot": [
4836
4646
  {
4837
4647
  "text": "Choosing people as a field value.",
4838
- "instead": "AppMultiSelect"
4648
+ "instead": "AppSelect mode=\"multiple\""
4839
4649
  },
4840
4650
  {
4841
4651
  "text": "Formatted text with headings and lists.",
@@ -5055,342 +4865,6 @@
5055
4865
  ]
5056
4866
  }
5057
4867
  },
5058
- {
5059
- "name": "AppMultiSelect",
5060
- "usage": {
5061
- "when": [
5062
- "The user can choose more than one value from a single list: skills, tags, categories.",
5063
- "The selection should stay visible as chips without reopening the dropdown.",
5064
- "The option list is long enough that a searchable checklist beats a row of checkboxes."
5065
- ],
5066
- "whenNot": [
5067
- {
5068
- "text": "Only one value can ever apply.",
5069
- "instead": "AppSelect"
5070
- },
5071
- {
5072
- "text": "There are a few independent on/off settings.",
5073
- "instead": "AppCheckbox"
5074
- },
5075
- {
5076
- "text": "The list is remote and the user picks exactly one.",
5077
- "instead": "AppAutocomplete"
5078
- },
5079
- {
5080
- "text": "You only need to display or remove tokens, not pick them.",
5081
- "instead": "AppChip"
5082
- }
5083
- ],
5084
- "do": [
5085
- {
5086
- "title": "Several picks as chips, not checkboxes",
5087
- "note": "Many related values in one compact control; the current picks read back as chips.",
5088
- "example": [
5089
- {
5090
- "component": "AppMultiSelect",
5091
- "props": {
5092
- "label": "Skills",
5093
- "name": "skills",
5094
- "options": [
5095
- {
5096
- "value": "risk-assessment",
5097
- "label": "Risk assessment"
5098
- },
5099
- {
5100
- "value": "lightning-protection",
5101
- "label": "Lightning protection"
5102
- },
5103
- {
5104
- "value": "surge-protection",
5105
- "label": "Surge protection"
5106
- },
5107
- {
5108
- "value": "earthing",
5109
- "label": "Earthing"
5110
- },
5111
- {
5112
- "value": "bonding",
5113
- "label": "Bonding"
5114
- },
5115
- {
5116
- "value": "site-survey",
5117
- "label": "Site survey"
5118
- },
5119
- {
5120
- "value": "iec-62305",
5121
- "label": "IEC 62305"
5122
- },
5123
- {
5124
- "value": "reporting",
5125
- "label": "Reporting"
5126
- }
5127
- ],
5128
- "values": [
5129
- "iec-62305",
5130
- "earthing"
5131
- ],
5132
- "placeholder": "Add skills…",
5133
- "helperText": "2 selected"
5134
- }
5135
- }
5136
- ]
5137
- },
5138
- {
5139
- "title": "Make long lists searchable",
5140
- "note": "A searchable checklist keeps a long list usable: the user filters instead of scrolling.",
5141
- "example": [
5142
- {
5143
- "component": "AppMultiSelect",
5144
- "props": {
5145
- "label": "Tags",
5146
- "name": "tags",
5147
- "options": [
5148
- {
5149
- "value": "risk-assessment",
5150
- "label": "Risk assessment"
5151
- },
5152
- {
5153
- "value": "lightning-protection",
5154
- "label": "Lightning protection"
5155
- },
5156
- {
5157
- "value": "surge-protection",
5158
- "label": "Surge protection"
5159
- },
5160
- {
5161
- "value": "earthing",
5162
- "label": "Earthing"
5163
- },
5164
- {
5165
- "value": "bonding",
5166
- "label": "Bonding"
5167
- },
5168
- {
5169
- "value": "site-survey",
5170
- "label": "Site survey"
5171
- },
5172
- {
5173
- "value": "iec-62305",
5174
- "label": "IEC 62305"
5175
- },
5176
- {
5177
- "value": "reporting",
5178
- "label": "Reporting"
5179
- }
5180
- ],
5181
- "values": [],
5182
- "placeholder": "Select tags…"
5183
- }
5184
- }
5185
- ]
5186
- },
5187
- {
5188
- "title": "Single values use single-select",
5189
- "note": "One value can apply here, so a single-select dropdown says so; a multiselect invites over-picking.",
5190
- "example": [
5191
- {
5192
- "component": "AppSelect",
5193
- "props": {
5194
- "label": "Primary standard",
5195
- "name": "standard",
5196
- "value": "iec-62305",
5197
- "options": [
5198
- {
5199
- "value": "risk-assessment",
5200
- "label": "Risk assessment"
5201
- },
5202
- {
5203
- "value": "lightning-protection",
5204
- "label": "Lightning protection"
5205
- },
5206
- {
5207
- "value": "surge-protection",
5208
- "label": "Surge protection"
5209
- },
5210
- {
5211
- "value": "earthing",
5212
- "label": "Earthing"
5213
- },
5214
- {
5215
- "value": "bonding",
5216
- "label": "Bonding"
5217
- },
5218
- {
5219
- "value": "site-survey",
5220
- "label": "Site survey"
5221
- },
5222
- {
5223
- "value": "iec-62305",
5224
- "label": "IEC 62305"
5225
- },
5226
- {
5227
- "value": "reporting",
5228
- "label": "Reporting"
5229
- }
5230
- ]
5231
- }
5232
- }
5233
- ]
5234
- }
5235
- ],
5236
- "dont": [
5237
- {
5238
- "title": "Several picks as chips, not checkboxes",
5239
- "note": "A wall of checkboxes for the same multi-pick is slower to scan and hides the total selection.",
5240
- "example": [
5241
- {
5242
- "component": "div",
5243
- "props": {
5244
- "className": "d-flex flex-column gap-2"
5245
- },
5246
- "children": [
5247
- {
5248
- "component": "AppCheckbox",
5249
- "props": {
5250
- "label": "Risk assessment",
5251
- "name": "skill-risk-assessment"
5252
- }
5253
- },
5254
- {
5255
- "component": "AppCheckbox",
5256
- "props": {
5257
- "label": "Lightning protection",
5258
- "name": "skill-lightning-protection"
5259
- }
5260
- },
5261
- {
5262
- "component": "AppCheckbox",
5263
- "props": {
5264
- "label": "Surge protection",
5265
- "name": "skill-surge-protection"
5266
- }
5267
- },
5268
- {
5269
- "component": "AppCheckbox",
5270
- "props": {
5271
- "label": "Earthing",
5272
- "name": "skill-earthing"
5273
- }
5274
- },
5275
- {
5276
- "component": "AppCheckbox",
5277
- "props": {
5278
- "label": "Bonding",
5279
- "name": "skill-bonding"
5280
- }
5281
- }
5282
- ]
5283
- }
5284
- ]
5285
- },
5286
- {
5287
- "title": "Make long lists searchable",
5288
- "note": "With search off, the user scrolls the whole list to find one option, so a long list needs a search box.",
5289
- "example": [
5290
- {
5291
- "component": "AppMultiSelect",
5292
- "props": {
5293
- "label": "Tags",
5294
- "name": "tags-unsearchable",
5295
- "searchable": false,
5296
- "values": [],
5297
- "placeholder": "Select tags…",
5298
- "options": [
5299
- {
5300
- "value": "risk-assessment",
5301
- "label": "Risk assessment"
5302
- },
5303
- {
5304
- "value": "lightning-protection",
5305
- "label": "Lightning protection"
5306
- },
5307
- {
5308
- "value": "surge-protection",
5309
- "label": "Surge protection"
5310
- },
5311
- {
5312
- "value": "earthing",
5313
- "label": "Earthing"
5314
- },
5315
- {
5316
- "value": "bonding",
5317
- "label": "Bonding"
5318
- },
5319
- {
5320
- "value": "site-survey",
5321
- "label": "Site survey"
5322
- },
5323
- {
5324
- "value": "iec-62305",
5325
- "label": "IEC 62305"
5326
- },
5327
- {
5328
- "value": "reporting",
5329
- "label": "Reporting"
5330
- }
5331
- ]
5332
- }
5333
- }
5334
- ]
5335
- },
5336
- {
5337
- "title": "Single values use single-select",
5338
- "note": "Only one value can ever apply here: a single-select dropdown says so; a multiselect invites over-picking.",
5339
- "example": [
5340
- {
5341
- "component": "AppMultiSelect",
5342
- "props": {
5343
- "label": "Primary standard",
5344
- "name": "standard-bad",
5345
- "options": [
5346
- {
5347
- "value": "risk-assessment",
5348
- "label": "Risk assessment"
5349
- },
5350
- {
5351
- "value": "lightning-protection",
5352
- "label": "Lightning protection"
5353
- },
5354
- {
5355
- "value": "surge-protection",
5356
- "label": "Surge protection"
5357
- },
5358
- {
5359
- "value": "earthing",
5360
- "label": "Earthing"
5361
- },
5362
- {
5363
- "value": "bonding",
5364
- "label": "Bonding"
5365
- },
5366
- {
5367
- "value": "site-survey",
5368
- "label": "Site survey"
5369
- },
5370
- {
5371
- "value": "iec-62305",
5372
- "label": "IEC 62305"
5373
- },
5374
- {
5375
- "value": "reporting",
5376
- "label": "Reporting"
5377
- }
5378
- ],
5379
- "values": [
5380
- "iec-62305"
5381
- ]
5382
- }
5383
- }
5384
- ]
5385
- }
5386
- ],
5387
- "a11y": [
5388
- "The control takes its accessible name from a text label, is described by its helper text or its error, and is marked invalid while it has an error.",
5389
- "A node label is read as its text: the option, the chip and the chip's remove button are named from it.",
5390
- "Each chosen value is a removable chip, so the selection is readable without opening the menu."
5391
- ]
5392
- }
5393
- },
5394
4868
  {
5395
4869
  "name": "AppNavList",
5396
4870
  "usage": {
@@ -5546,7 +5020,7 @@
5546
5020
  },
5547
5021
  {
5548
5022
  "text": "A flat list of people to pick from.",
5549
- "instead": "AppAutocomplete or AppMultiSelect"
5023
+ "instead": "AppSelect mode=\"search\" or AppSelect mode=\"multiple\""
5550
5024
  }
5551
5025
  ],
5552
5026
  "do": [],
@@ -6236,7 +5710,7 @@
6236
5710
  },
6237
5711
  {
6238
5712
  "text": "The user can pick several values.",
6239
- "instead": "AppMultiSelect"
5713
+ "instead": "AppSelect mode=\"multiple\""
6240
5714
  }
6241
5715
  ],
6242
5716
  "do": [
@@ -6514,11 +5988,11 @@
6514
5988
  "whenNot": [
6515
5989
  {
6516
5990
  "text": "The user is picking from a known list of options.",
6517
- "instead": "AppMultiSelect"
5991
+ "instead": "AppSelect mode=\"multiple\""
6518
5992
  },
6519
5993
  {
6520
5994
  "text": "It is a single repeated value, like a list of tags.",
6521
- "instead": "AppMultiSelect"
5995
+ "instead": "AppSelect mode=\"tag\""
6522
5996
  },
6523
5997
  {
6524
5998
  "text": "The rows are existing records to manage.",
@@ -6855,7 +6329,7 @@
6855
6329
  },
6856
6330
  {
6857
6331
  "text": "The user picks tags or keywords.",
6858
- "instead": "AppTagInput"
6332
+ "instead": "AppSelect mode=\"tag\""
6859
6333
  }
6860
6334
  ],
6861
6335
  "do": [
@@ -7115,7 +6589,7 @@
7115
6589
  },
7116
6590
  {
7117
6591
  "text": "The user types to find one item from a large or remote list.",
7118
- "instead": "AppAutocomplete"
6592
+ "instead": "AppSelect mode=\"search\""
7119
6593
  },
7120
6594
  {
7121
6595
  "text": "The user picks from a fixed, known set of options.",
@@ -7473,10 +6947,12 @@
7473
6947
  "name": "AppSelect",
7474
6948
  "usage": {
7475
6949
  "when": [
7476
- "The user picks one value from a known set of roughly 6 or more options.",
7477
- "The options are a fixed list you can render up front, such as statuses, clients or categories.",
7478
- "You want a compact control that keeps the choices collapsed until opened.",
7479
- "compact for toolbars, sort and filter pickers; a labelled form field omits compact."
6950
+ "The user picks one value from a known set of roughly 6 or more options: single mode, the default.",
6951
+ "The user picks several values from a set: mode multiple, shown as removable chips.",
6952
+ "The options are long or come from a server as the user types: mode search, with options or loadOptions.",
6953
+ "The user types free-text entries such as emails or keywords, optionally with suggestions: mode tag.",
6954
+ "The user picks a country: mode country, which gives the ISO code, the flag and the dial code.",
6955
+ "compact density for toolbars, sort and filter pickers; a labelled form field omits it."
7480
6956
  ],
7481
6957
  "whenNot": [
7482
6958
  {
@@ -7484,12 +6960,8 @@
7484
6960
  "instead": "AppRadio"
7485
6961
  },
7486
6962
  {
7487
- "text": "The user needs to pick several values at once.",
7488
- "instead": "AppMultiSelect"
7489
- },
7490
- {
7491
- "text": "The list is large or loaded from the server as the user types.",
7492
- "instead": "AppAutocomplete"
6963
+ "text": "The user needs to pick a value with no fixed list of options at all.",
6964
+ "instead": "AppInput"
7493
6965
  }
7494
6966
  ],
7495
6967
  "do": [
@@ -8092,7 +7564,7 @@
8092
7564
  },
8093
7565
  {
8094
7566
  "text": "Choosing from options, not ordering them.",
8095
- "instead": "AppMultiSelect"
7567
+ "instead": "AppSelect mode=\"multiple\""
8096
7568
  }
8097
7569
  ],
8098
7570
  "do": [],
@@ -8663,7 +8135,7 @@
8663
8135
  },
8664
8136
  {
8665
8137
  "text": "The user selects several values from a list.",
8666
- "instead": "AppMultiSelect"
8138
+ "instead": "AppSelect mode=\"multiple\""
8667
8139
  }
8668
8140
  ],
8669
8141
  "do": [
@@ -9273,145 +8745,6 @@
9273
8745
  ]
9274
8746
  }
9275
8747
  },
9276
- {
9277
- "name": "AppTagInput",
9278
- "usage": {
9279
- "when": [
9280
- "Tag entry fields (blog keywords, issue labels).",
9281
- "Email / recipient lists the user may paste or type.",
9282
- "Keyword input for search filters or product attributes.",
9283
- "Free-text values with no fixed list to pick from."
9284
- ],
9285
- "whenNot": [
9286
- {
9287
- "text": "Picking one value from a predefined list.",
9288
- "instead": "AppSelect"
9289
- },
9290
- {
9291
- "text": "Picking several values from a predefined list.",
9292
- "instead": "AppMultiSelect"
9293
- },
9294
- {
9295
- "text": "A single value.",
9296
- "instead": "AppInput"
9297
- },
9298
- {
9299
- "text": "You only need to display tokens, not enter them.",
9300
- "instead": "AppChip"
9301
- }
9302
- ],
9303
- "do": [
9304
- {
9305
- "title": "Name the keys in helper text",
9306
- "note": "Helper text that names the commit keys (Enter and comma) tells the user how to add a tag without trial and error.",
9307
- "example": [
9308
- {
9309
- "component": "AppTagInput",
9310
- "props": {
9311
- "label": "Keywords",
9312
- "helperText": "Press Enter or comma to add a tag",
9313
- "values": [
9314
- "react",
9315
- "javascript"
9316
- ]
9317
- }
9318
- }
9319
- ]
9320
- },
9321
- {
9322
- "title": "Free text, not a fixed list",
9323
- "note": "Use AppSelect or AppMultiSelect when the choices are a fixed set.",
9324
- "example": [
9325
- {
9326
- "component": "AppMultiSelect",
9327
- "props": {
9328
- "label": "Categories",
9329
- "name": "categories",
9330
- "options": [
9331
- {
9332
- "value": "css",
9333
- "label": "CSS"
9334
- }
9335
- ]
9336
- }
9337
- }
9338
- ]
9339
- },
9340
- {
9341
- "title": "Placeholder that names paste",
9342
- "note": "A placeholder that mentions paste tells the user they can drop a whole list in at once.",
9343
- "example": [
9344
- {
9345
- "component": "AppTagInput",
9346
- "props": {
9347
- "label": "Recipients",
9348
- "placeholder": "Paste or type email addresses"
9349
- }
9350
- }
9351
- ]
9352
- }
9353
- ],
9354
- "dont": [
9355
- {
9356
- "title": "Name the keys in helper text",
9357
- "note": "No helper text at all: a first-time user may not discover that Enter or comma commits a tag.",
9358
- "example": [
9359
- {
9360
- "component": "AppTagInput",
9361
- "props": {
9362
- "label": "Keywords",
9363
- "values": [
9364
- "react",
9365
- "javascript"
9366
- ]
9367
- }
9368
- }
9369
- ]
9370
- },
9371
- {
9372
- "title": "Free text, not a fixed list",
9373
- "note": "A fixed, known set of options belongs in AppSelect or AppMultiSelect: a tag input invites free text where a picker would be faster and less error-prone.",
9374
- "example": [
9375
- {
9376
- "component": "AppTagInput",
9377
- "props": {
9378
- "label": "Choose from these categories",
9379
- "values": [
9380
- "tag1",
9381
- "tag2",
9382
- "tag3",
9383
- "tag4",
9384
- "tag5",
9385
- "tag6",
9386
- "tag7",
9387
- "tag8"
9388
- ]
9389
- }
9390
- }
9391
- ]
9392
- },
9393
- {
9394
- "title": "Placeholder that names paste",
9395
- "note": "A placeholder that only says what to type hides that a whole pasted list splits into tags.",
9396
- "example": [
9397
- {
9398
- "component": "AppTagInput",
9399
- "props": {
9400
- "label": "Recipients",
9401
- "placeholder": "Add a recipient"
9402
- }
9403
- }
9404
- ]
9405
- }
9406
- ],
9407
- "a11y": [
9408
- "The label is tied to the field with a for and id pair, and a generated id is used when none is given.",
9409
- "An error sets aria-invalid and points aria-describedby at the error text; with no error it points at the helper text.",
9410
- "When there is no ariaLabel, a string label becomes the input's accessible name.",
9411
- "The info tip beside the label is named by helpLabel."
9412
- ]
9413
- }
9414
- },
9415
8748
  {
9416
8749
  "name": "AppTextarea",
9417
8750
  "usage": {
@@ -9799,7 +9132,7 @@
9799
9132
  "whenNot": [
9800
9133
  {
9801
9134
  "text": "A flat list of choices.",
9802
- "instead": "AppSelect, AppMultiSelect or AppRadioGroup"
9135
+ "instead": "AppSelect, AppSelect mode=\"multiple\", or AppRadioGroup"
9803
9136
  },
9804
9137
  {
9805
9138
  "text": "Content that opens and closes in place.",