@emuanalytics/flow-rdf-ui 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/components/alert/alert.component.mjs +10 -10
  2. package/dist/components/animation/animation.component.mjs +2 -2
  3. package/dist/components/autocomplete/autocomplete.component.mjs +18 -16
  4. package/dist/components/avatar/avatar.component.mjs +7 -12
  5. package/dist/components/breadcrumb-item/breadcrumb-item.component.mjs +14 -14
  6. package/dist/components/button/button.component.mjs +3 -3
  7. package/dist/components/button/button.styles.mjs +5 -5
  8. package/dist/components/calendar/calendar.component.mjs +23 -6
  9. package/dist/components/card/card.component.mjs +4 -4
  10. package/dist/components/carousel/carousel.component.mjs +42 -42
  11. package/dist/components/carousel-item/carousel-item.component.mjs +1 -0
  12. package/dist/components/chart/chart.component.mjs +4 -4
  13. package/dist/components/chart/chartjs-plugins/plugin.flow-ui-colors.mjs +1 -1
  14. package/dist/components/checkbox/checkbox.component.mjs +18 -18
  15. package/dist/components/color-mapper/color-mapper.component.mjs +6 -6
  16. package/dist/components/color-picker/color-picker.component.mjs +71 -71
  17. package/dist/components/color-picker/color-picker.styles.mjs +4 -2
  18. package/dist/components/color-stop/color-stop.component.mjs +2 -2
  19. package/dist/components/date-time-picker/date-time-picker.component.mjs +29 -29
  20. package/dist/components/diagram-base-node/diagram-base-node.component.mjs +5 -5
  21. package/dist/components/diagram-minimap/diagram-minimap.component.mjs +6 -6
  22. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.component.mjs +10 -10
  23. package/dist/components/diagram-zoom-controls/diagram-zoom-controls.styles.mjs +3 -1
  24. package/dist/components/dialog/dialog.component.mjs +1 -1
  25. package/dist/components/drawer/drawer.component.mjs +19 -19
  26. package/dist/components/gauge/gauge.component.mjs +4 -2
  27. package/dist/components/icon/library.mjs +7 -4
  28. package/dist/components/input/input.component.mjs +16 -11
  29. package/dist/components/list-item/list-item.component.mjs +17 -17
  30. package/dist/components/map/map.component.mjs +90 -11
  31. package/dist/components/mutation-observer/mutation-observer.component.mjs +4 -6
  32. package/dist/components/panel-header/panel-header.component.mjs +11 -8
  33. package/dist/components/popup/popup.component.mjs +11 -11
  34. package/dist/components/progress-bar/progress-bar.component.mjs +2 -2
  35. package/dist/components/query-builder/converters/javascript-filter-converter.mjs +0 -4
  36. package/dist/components/query-builder/converters/map-layer-filter-converter.mjs +0 -4
  37. package/dist/components/query-builder/query-builder.component.mjs +15 -15
  38. package/dist/components/radio/radio.component.mjs +7 -7
  39. package/dist/components/radio-group/radio-group.component.mjs +1 -1
  40. package/dist/components/resize-observer/resize-observer.component.mjs +1 -1
  41. package/dist/components/scroll-view/scroll-view.styles.mjs +20 -7
  42. package/dist/components/select/select.component.mjs +16 -16
  43. package/dist/components/split-view-toggle-button/split-view-toggle-button.styles.mjs +3 -3
  44. package/dist/components/stepper/stepper.component.mjs +2 -2
  45. package/dist/components/stepper-panel/stepper-panel.component.mjs +3 -3
  46. package/dist/components/switch/switch.component.mjs +6 -8
  47. package/dist/components/tab/tab.component.mjs +17 -17
  48. package/dist/components/tab-group/tab-group.component.mjs +42 -38
  49. package/dist/components/tag/tag.component.mjs +11 -11
  50. package/dist/components/textarea/textarea.component.mjs +10 -4
  51. package/dist/components/tree/tree.component.mjs +4 -2
  52. package/dist/custom-elements.json +1516 -1423
  53. package/dist/diagram/runtime/default-edge-templates.mjs +9 -9
  54. package/dist/index.d.mts +62 -8
  55. package/dist/index.d.ts +62 -8
  56. package/dist/internal/form.mjs +1 -1
  57. package/dist/internal/on-off-converter.mjs +21 -0
  58. package/dist/package.json.mjs +1 -1
  59. package/dist/vscode.html-custom-data.json +182 -180
  60. package/package.json +26 -39
  61. package/themes/dark.css +5 -5
  62. package/themes/dark.styles.js +5 -5
  63. package/themes/light.css +5 -5
  64. package/themes/light.styles.js +5 -5
@@ -285,16 +285,40 @@
285
285
  },
286
286
  {
287
287
  "kind": "javascript-module",
288
- "path": "components/animation/animation.component.js",
288
+ "path": "components/avatar/avatar.component.js",
289
289
  "declarations": [
290
290
  {
291
291
  "kind": "class",
292
292
  "description": "",
293
- "name": "FlowUiAnimation",
293
+ "name": "FlowUiAvatar",
294
+ "cssProperties": [
295
+ {
296
+ "description": "The size of the avatar.",
297
+ "name": "--size"
298
+ }
299
+ ],
300
+ "cssParts": [
301
+ {
302
+ "description": "The component's base wrapper.",
303
+ "name": "base"
304
+ },
305
+ {
306
+ "description": "The container that wraps the avatar's icon.",
307
+ "name": "icon"
308
+ },
309
+ {
310
+ "description": "The container that wraps the avatar's initials.",
311
+ "name": "initials"
312
+ },
313
+ {
314
+ "description": "The avatar image. Only shown when the `image` attribute is set.",
315
+ "name": "image"
316
+ }
317
+ ],
294
318
  "slots": [
295
319
  {
296
- "description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
297
- "name": ""
320
+ "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
321
+ "name": "icon"
298
322
  }
299
323
  ],
300
324
  "members": [
@@ -305,19 +329,20 @@
305
329
  "text": "string"
306
330
  },
307
331
  "static": true,
308
- "default": "'flow-ui-animation'"
332
+ "default": "'flow-ui-avatar'"
309
333
  },
310
334
  {
311
335
  "kind": "field",
312
- "name": "animation",
336
+ "name": "dependencies",
313
337
  "type": {
314
- "text": "Animation | undefined"
338
+ "text": "array"
315
339
  },
316
- "privacy": "private"
340
+ "static": true,
341
+ "default": "[FlowUiIcon]"
317
342
  },
318
343
  {
319
344
  "kind": "field",
320
- "name": "hasStarted",
345
+ "name": "hasError",
321
346
  "type": {
322
347
  "text": "boolean"
323
348
  },
@@ -326,1105 +351,832 @@
326
351
  },
327
352
  {
328
353
  "kind": "field",
329
- "name": "defaultSlot",
354
+ "name": "image",
330
355
  "type": {
331
- "text": "Promise<HTMLSlotElement>"
356
+ "text": "string"
332
357
  },
333
- "privacy": "private"
358
+ "default": "''",
359
+ "description": "The image source to use for the avatar.",
360
+ "attribute": "image"
334
361
  },
335
362
  {
336
363
  "kind": "field",
337
- "name": "name",
364
+ "name": "label",
338
365
  "type": {
339
366
  "text": "string"
340
367
  },
341
- "default": "'none'",
342
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
343
- "attribute": "name"
368
+ "default": "''",
369
+ "description": "A label to use to describe the avatar to assistive devices.",
370
+ "attribute": "label"
344
371
  },
345
372
  {
346
373
  "kind": "field",
347
- "name": "play",
374
+ "name": "initials",
348
375
  "type": {
349
- "text": "boolean"
376
+ "text": "string"
350
377
  },
351
- "default": "false",
352
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
353
- "attribute": "play",
354
- "reflects": true
378
+ "default": "''",
379
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
380
+ "attribute": "initials"
355
381
  },
356
382
  {
357
383
  "kind": "field",
358
- "name": "delay",
384
+ "name": "loading",
359
385
  "type": {
360
- "text": "number"
386
+ "text": "'eager' | 'lazy'"
361
387
  },
362
- "default": "0",
363
- "description": "The number of milliseconds to delay the start of the animation.",
364
- "attribute": "delay"
388
+ "default": "'eager'",
389
+ "description": "Indicates how the browser should load the image.",
390
+ "attribute": "loading"
365
391
  },
366
392
  {
367
393
  "kind": "field",
368
- "name": "direction",
394
+ "name": "shape",
369
395
  "type": {
370
- "text": "PlaybackDirection"
396
+ "text": "'circle' | 'square' | 'rounded'"
371
397
  },
372
- "default": "'normal'",
373
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
374
- "attribute": "direction"
375
- },
398
+ "default": "'circle'",
399
+ "description": "The shape of the avatar.",
400
+ "attribute": "shape",
401
+ "reflects": true
402
+ }
403
+ ],
404
+ "attributes": [
376
405
  {
377
- "kind": "field",
378
- "name": "duration",
406
+ "name": "image",
379
407
  "type": {
380
- "text": "number"
408
+ "text": "string"
381
409
  },
382
- "default": "1000",
383
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
384
- "attribute": "duration"
410
+ "default": "''",
411
+ "description": "The image source to use for the avatar.",
412
+ "fieldName": "image"
385
413
  },
386
414
  {
387
- "kind": "field",
388
- "name": "easing",
415
+ "name": "label",
389
416
  "type": {
390
417
  "text": "string"
391
418
  },
392
- "default": "'linear'",
393
- "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
394
- "attribute": "easing"
419
+ "default": "''",
420
+ "description": "A label to use to describe the avatar to assistive devices.",
421
+ "fieldName": "label"
395
422
  },
396
423
  {
397
- "kind": "field",
398
- "name": "endDelay",
424
+ "name": "initials",
399
425
  "type": {
400
- "text": "number"
426
+ "text": "string"
401
427
  },
402
- "default": "0",
403
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
404
- "attribute": "end-delay"
428
+ "default": "''",
429
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
430
+ "fieldName": "initials"
405
431
  },
406
432
  {
407
- "kind": "field",
408
- "name": "fill",
433
+ "name": "loading",
409
434
  "type": {
410
- "text": "FillMode"
435
+ "text": "'eager' | 'lazy'"
411
436
  },
412
- "default": "'auto'",
413
- "description": "Sets how the animation applies styles to its target before and after its execution.",
414
- "attribute": "fill"
415
- },
416
- {
417
- "kind": "field",
418
- "name": "iterations",
419
- "default": "Infinity",
420
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
421
- "attribute": "iterations"
437
+ "default": "'eager'",
438
+ "description": "Indicates how the browser should load the image.",
439
+ "fieldName": "loading"
422
440
  },
423
441
  {
424
- "kind": "field",
425
- "name": "iterationStart",
442
+ "name": "shape",
426
443
  "type": {
427
- "text": "number"
444
+ "text": "'circle' | 'square' | 'rounded'"
428
445
  },
429
- "default": "0",
430
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
431
- "attribute": "iteration-start"
432
- },
446
+ "default": "'circle'",
447
+ "description": "The shape of the avatar.",
448
+ "fieldName": "shape"
449
+ }
450
+ ],
451
+ "superclass": {
452
+ "name": "FlowRdfElement",
453
+ "module": "/src/internal/flow-ui-rdf-element"
454
+ },
455
+ "tagName": "flow-ui-avatar",
456
+ "summary": "Avatars are used to represent a person or object.",
457
+ "dependencies": [
458
+ "flow-ui-icon"
459
+ ],
460
+ "customElement": true
461
+ }
462
+ ],
463
+ "exports": [
464
+ {
465
+ "kind": "js",
466
+ "name": "default",
467
+ "declaration": {
468
+ "name": "FlowUiAvatar",
469
+ "module": "components/avatar/avatar.component.js"
470
+ }
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "kind": "javascript-module",
476
+ "path": "components/avatar/avatar.js",
477
+ "declarations": [],
478
+ "exports": [
479
+ {
480
+ "kind": "js",
481
+ "name": "default",
482
+ "declaration": {
483
+ "name": "FlowUiAvatar",
484
+ "module": "components/avatar/avatar.js"
485
+ }
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "kind": "javascript-module",
491
+ "path": "components/autocomplete/autocomplete.component.js",
492
+ "declarations": [
493
+ {
494
+ "kind": "class",
495
+ "description": "The autocomplete component does not filter its options itself. Listen for the `flow-ui-input` event, read the text\nthat the user has typed with `getInputText()`, and replace the slotted `<flow-ui-option>` elements with the options\nthat match. The autocomplete's value is the option value of the selected option. Use `displayWith` to show a label\nin the input instead of the option value.",
496
+ "name": "FlowUiAutocomplete",
497
+ "cssParts": [
433
498
  {
434
- "kind": "field",
435
- "name": "keyframes",
436
- "type": {
437
- "text": "Keyframe[] | undefined"
438
- },
439
- "description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
499
+ "description": "The form control that wraps the label, input, and help text.",
500
+ "name": "form-control"
440
501
  },
441
502
  {
442
- "kind": "field",
443
- "name": "playbackRate",
444
- "type": {
445
- "text": "number"
446
- },
447
- "default": "1",
448
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
449
- "attribute": "playback-rate"
503
+ "description": "The label's wrapper.",
504
+ "name": "label"
450
505
  },
451
506
  {
452
- "kind": "field",
453
- "name": "currentTime",
454
- "type": {
455
- "text": "CSSNumberish"
456
- },
457
- "description": "Gets and sets the current animation time."
507
+ "description": "The help text's wrapper.",
508
+ "name": "help-text"
458
509
  },
459
510
  {
460
- "kind": "field",
461
- "name": "handleAnimationFinish",
462
- "privacy": "private"
511
+ "description": "The input's wrapper.",
512
+ "name": "control"
463
513
  },
464
514
  {
465
- "kind": "field",
466
- "name": "handleAnimationCancel",
467
- "privacy": "private"
515
+ "description": "The container that wraps the prefix, suffix, input and clear button.",
516
+ "name": "combobox"
468
517
  },
469
518
  {
470
- "kind": "method",
471
- "name": "handleSlotChange",
472
- "privacy": "private"
519
+ "description": "The container that wraps the prefix.",
520
+ "name": "prefix"
473
521
  },
474
522
  {
475
- "kind": "method",
476
- "name": "createAnimation",
477
- "privacy": "private"
523
+ "description": "The container that wraps the suffix.",
524
+ "name": "suffix"
478
525
  },
479
526
  {
480
- "kind": "method",
481
- "name": "destroyAnimation",
482
- "privacy": "private"
527
+ "description": "The text input, an `<input>` element.",
528
+ "name": "display-input"
483
529
  },
484
530
  {
485
- "kind": "method",
486
- "name": "cancel",
487
- "description": "Clears all keyframe effects caused by this animation and aborts its playback."
531
+ "description": "The listbox container where options are slotted.",
532
+ "name": "listbox"
488
533
  },
489
534
  {
490
- "kind": "method",
491
- "name": "finish",
492
- "description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
535
+ "description": "The clear button.",
536
+ "name": "clear-button"
493
537
  }
494
538
  ],
495
- "events": [
539
+ "slots": [
496
540
  {
497
- "description": "Emitted when the animation is canceled.",
498
- "name": "flow-ui-cancel",
499
- "reactName": "onFlowUiCancel"
541
+ "description": "The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.",
542
+ "name": ""
500
543
  },
501
544
  {
502
- "description": "Emitted when the animation finishes.",
503
- "name": "flow-ui-finish",
504
- "reactName": "onFlowUiFinish"
545
+ "description": "The autocomplete's label. Alternatively, you can use the `label` attribute.",
546
+ "name": "label"
505
547
  },
506
548
  {
507
- "description": "Emitted when the animation starts or restarts.",
508
- "name": "flow-ui-start",
509
- "reactName": "onFlowUiStart"
549
+ "description": "Used to prepend a presentational icon or similar element to the combobox.",
550
+ "name": "prefix"
551
+ },
552
+ {
553
+ "description": "Used to append a presentational icon or similar element to the combobox.",
554
+ "name": "suffix"
555
+ },
556
+ {
557
+ "description": "An icon to use in lieu of the default clear icon.",
558
+ "name": "clear-icon"
559
+ },
560
+ {
561
+ "description": "Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.",
562
+ "name": "help-text"
510
563
  }
511
564
  ],
512
- "attributes": [
565
+ "members": [
513
566
  {
514
- "name": "name",
567
+ "kind": "field",
568
+ "name": "tagName",
515
569
  "type": {
516
570
  "text": "string"
517
571
  },
518
- "default": "'none'",
519
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
520
- "fieldName": "name"
572
+ "static": true,
573
+ "default": "'flow-ui-autocomplete'"
521
574
  },
522
575
  {
523
- "name": "play",
576
+ "kind": "field",
577
+ "name": "dependencies",
578
+ "type": {
579
+ "text": "array"
580
+ },
581
+ "static": true,
582
+ "default": "[FlowUiDivider, FlowIcon, FlowPopup]"
583
+ },
584
+ {
585
+ "kind": "field",
586
+ "name": "hasSlotController",
587
+ "privacy": "private",
588
+ "readonly": true,
589
+ "default": "new HasSlotController(this, 'help-text', 'label')"
590
+ },
591
+ {
592
+ "kind": "field",
593
+ "name": "localize",
594
+ "privacy": "private",
595
+ "readonly": true,
596
+ "default": "new LocalizeController(this)"
597
+ },
598
+ {
599
+ "kind": "field",
600
+ "name": "pendingChangeEvent",
601
+ "type": {
602
+ "text": "boolean"
603
+ },
604
+ "privacy": "private",
605
+ "default": "false"
606
+ },
607
+ {
608
+ "kind": "field",
609
+ "name": "pendingInputEvent",
610
+ "type": {
611
+ "text": "boolean"
612
+ },
613
+ "privacy": "private",
614
+ "default": "false"
615
+ },
616
+ {
617
+ "kind": "field",
618
+ "name": "hasOptions",
619
+ "type": {
620
+ "text": "boolean"
621
+ },
622
+ "privacy": "private",
623
+ "default": "false"
624
+ },
625
+ {
626
+ "kind": "field",
627
+ "name": "formControlController",
628
+ "privacy": "private",
629
+ "readonly": true,
630
+ "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
631
+ },
632
+ {
633
+ "kind": "field",
634
+ "name": "size",
635
+ "type": {
636
+ "text": "'small' | 'medium' | 'large'"
637
+ },
638
+ "default": "'medium'",
639
+ "description": "The autocomplete's size.",
640
+ "attribute": "size",
641
+ "reflects": true
642
+ },
643
+ {
644
+ "kind": "field",
645
+ "name": "filled",
524
646
  "type": {
525
647
  "text": "boolean"
526
648
  },
527
649
  "default": "false",
528
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
529
- "fieldName": "play"
650
+ "description": "Draws a filled autocomplete input.",
651
+ "attribute": "filled",
652
+ "reflects": true
530
653
  },
531
654
  {
532
- "name": "delay",
655
+ "kind": "field",
656
+ "name": "pill",
533
657
  "type": {
534
- "text": "number"
658
+ "text": "boolean"
535
659
  },
536
- "default": "0",
537
- "description": "The number of milliseconds to delay the start of the animation.",
538
- "fieldName": "delay"
660
+ "default": "false",
661
+ "description": "Draws a pill-style autocomplete input with rounded edges.",
662
+ "attribute": "pill",
663
+ "reflects": true
539
664
  },
540
665
  {
541
- "name": "direction",
666
+ "kind": "field",
667
+ "name": "label",
542
668
  "type": {
543
- "text": "PlaybackDirection"
669
+ "text": "string"
544
670
  },
545
- "default": "'normal'",
546
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
547
- "fieldName": "direction"
671
+ "default": "''",
672
+ "description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
673
+ "attribute": "label"
548
674
  },
549
675
  {
550
- "name": "duration",
676
+ "kind": "field",
677
+ "name": "helpText",
551
678
  "type": {
552
- "text": "number"
679
+ "text": "string"
553
680
  },
554
- "default": "1000",
555
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
556
- "fieldName": "duration"
681
+ "default": "''",
682
+ "description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
683
+ "attribute": "help-text"
557
684
  },
558
685
  {
559
- "name": "easing",
686
+ "kind": "field",
687
+ "name": "placeholder",
560
688
  "type": {
561
689
  "text": "string"
562
690
  },
563
- "default": "'linear'",
564
- "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
565
- "fieldName": "easing"
691
+ "default": "''",
692
+ "description": "The autocomplete's placeholder text.",
693
+ "attribute": "placeholder"
566
694
  },
567
695
  {
568
- "name": "end-delay",
696
+ "kind": "field",
697
+ "name": "disabled",
569
698
  "type": {
570
- "text": "number"
699
+ "text": "boolean"
571
700
  },
572
- "default": "0",
573
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
574
- "fieldName": "endDelay"
701
+ "default": "false",
702
+ "description": "Disables the autocomplete.",
703
+ "attribute": "disabled",
704
+ "reflects": true
575
705
  },
576
706
  {
577
- "name": "fill",
707
+ "kind": "field",
708
+ "name": "form",
578
709
  "type": {
579
- "text": "FillMode"
710
+ "text": "string"
580
711
  },
581
- "default": "'auto'",
582
- "description": "Sets how the animation applies styles to its target before and after its execution.",
583
- "fieldName": "fill"
712
+ "description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
713
+ "attribute": "form"
584
714
  },
585
715
  {
586
- "name": "iterations",
587
- "default": "Infinity",
588
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
589
- "resolveInitializer": {
590
- "module": "src/components/animation/animation.component.ts"
716
+ "kind": "field",
717
+ "name": "required",
718
+ "type": {
719
+ "text": "boolean"
591
720
  },
592
- "fieldName": "iterations"
721
+ "default": "false",
722
+ "description": "Makes the autocomplete a required field.",
723
+ "attribute": "required",
724
+ "reflects": true
593
725
  },
594
726
  {
595
- "name": "iteration-start",
727
+ "kind": "field",
728
+ "name": "inline",
596
729
  "type": {
597
- "text": "number"
730
+ "text": "boolean"
598
731
  },
599
- "default": "0",
600
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
601
- "fieldName": "iterationStart"
732
+ "default": "false",
733
+ "description": "Set to `true` to display the autocomplete in the inline form control style.",
734
+ "attribute": "inline",
735
+ "reflects": true
602
736
  },
603
737
  {
604
- "name": "playback-rate",
738
+ "kind": "field",
739
+ "name": "divider",
605
740
  "type": {
606
- "text": "number"
741
+ "text": "boolean"
607
742
  },
608
- "default": "1",
609
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
610
- "fieldName": "playbackRate"
611
- }
612
- ],
613
- "superclass": {
614
- "name": "FlowRdfElement",
615
- "module": "/src/internal/flow-ui-rdf-element"
616
- },
617
- "tagName": "flow-ui-animation",
618
- "summary": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
619
- "customElement": true
620
- }
621
- ],
622
- "exports": [
623
- {
624
- "kind": "js",
625
- "name": "default",
626
- "declaration": {
627
- "name": "FlowUiAnimation",
628
- "module": "components/animation/animation.component.js"
629
- }
630
- }
631
- ]
632
- },
633
- {
634
- "kind": "javascript-module",
635
- "path": "components/animation/animation.js",
636
- "declarations": [],
637
- "exports": [
638
- {
639
- "kind": "js",
640
- "name": "*",
641
- "declaration": {
642
- "name": "*",
643
- "package": "./animation.component"
644
- }
645
- },
646
- {
647
- "kind": "js",
648
- "name": "default",
649
- "declaration": {
650
- "name": "FlowUiAnimation",
651
- "module": "components/animation/animation.js"
652
- }
653
- }
654
- ]
655
- },
656
- {
657
- "kind": "javascript-module",
658
- "path": "components/animation/animations.js",
659
- "declarations": [
660
- {
661
- "kind": "function",
662
- "name": "getAnimationNames",
663
- "description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
664
- },
665
- {
666
- "kind": "function",
667
- "name": "getEasingNames",
668
- "description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
669
- }
670
- ],
671
- "exports": [
672
- {
673
- "kind": "js",
674
- "name": "animations",
675
- "declaration": {
676
- "name": "animations",
677
- "module": "components/animation/animations.js"
678
- }
679
- },
680
- {
681
- "kind": "js",
682
- "name": "getAnimationNames",
683
- "declaration": {
684
- "name": "getAnimationNames",
685
- "module": "components/animation/animations.js"
686
- }
687
- },
688
- {
689
- "kind": "js",
690
- "name": "getEasingNames",
691
- "declaration": {
692
- "name": "getEasingNames",
693
- "module": "components/animation/animations.js"
694
- }
695
- }
696
- ]
697
- },
698
- {
699
- "kind": "javascript-module",
700
- "path": "components/badge/badge.component.js",
701
- "declarations": [
702
- {
703
- "kind": "class",
704
- "description": "",
705
- "name": "FlowUiBadge",
706
- "cssParts": [
743
+ "default": "false",
744
+ "description": "Set to `true` to display a divider below the control.",
745
+ "attribute": "divider",
746
+ "reflects": true
747
+ },
707
748
  {
708
- "description": "The component's base wrapper.",
709
- "name": "base"
710
- }
711
- ],
712
- "slots": [
749
+ "kind": "field",
750
+ "name": "hoist",
751
+ "type": {
752
+ "text": "boolean"
753
+ },
754
+ "default": "false",
755
+ "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
756
+ "attribute": "hoist"
757
+ },
713
758
  {
714
- "description": "The badge's content.",
715
- "name": ""
716
- }
717
- ],
718
- "members": [
759
+ "kind": "field",
760
+ "name": "placement",
761
+ "type": {
762
+ "text": "'top' | 'bottom'"
763
+ },
764
+ "default": "'bottom'",
765
+ "description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
766
+ "attribute": "placement",
767
+ "reflects": true
768
+ },
719
769
  {
720
770
  "kind": "field",
721
- "name": "tagName",
771
+ "name": "value",
722
772
  "type": {
723
773
  "text": "string"
724
774
  },
725
- "static": true,
726
- "default": "'flow-ui-badge'"
775
+ "default": "''",
776
+ "description": "The option value of the selected option.",
777
+ "attribute": "value"
727
778
  },
728
779
  {
729
780
  "kind": "field",
730
- "name": "variant",
781
+ "name": "displayWith",
731
782
  "type": {
732
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
783
+ "text": "((value: string) => string) | ((value: string) => Promise<string>)"
733
784
  },
734
- "default": "'primary'",
735
- "description": "The badge's theme variant.",
736
- "attribute": "variant",
737
- "reflects": true
785
+ "description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
786
+ "attribute": "displayWith"
738
787
  },
739
788
  {
740
789
  "kind": "field",
741
- "name": "size",
790
+ "name": "debounceDelay",
742
791
  "type": {
743
- "text": "'small' | 'medium' | 'large'"
792
+ "text": "number"
744
793
  },
745
- "default": "'medium'",
746
- "description": "The badge size.",
747
- "attribute": "size",
794
+ "default": "0",
795
+ "description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
796
+ "attribute": "debounce-delay",
748
797
  "reflects": true
749
798
  },
750
799
  {
751
800
  "kind": "field",
752
- "name": "pill",
801
+ "name": "clearable",
753
802
  "type": {
754
803
  "text": "boolean"
755
804
  },
756
805
  "default": "false",
757
- "description": "Draws a pill-style badge with rounded edges.",
758
- "attribute": "pill",
806
+ "description": "Set to `true` to show a clear button when the autocomplete has a value.",
807
+ "attribute": "clearable",
759
808
  "reflects": true
760
809
  },
761
810
  {
762
811
  "kind": "field",
763
- "name": "pulse",
812
+ "name": "clearOnFocus",
764
813
  "type": {
765
814
  "text": "boolean"
766
815
  },
767
816
  "default": "false",
768
- "description": "Makes the badge pulsate to draw attention.",
769
- "attribute": "pulse",
817
+ "description": "Set to `true` to clear the value when the autocomplete gains focus.",
818
+ "attribute": "clear-on-focus",
770
819
  "reflects": true
771
- }
772
- ],
773
- "attributes": [
820
+ },
774
821
  {
775
- "name": "variant",
822
+ "kind": "field",
823
+ "name": "inputText",
776
824
  "type": {
777
- "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
825
+ "text": "string"
778
826
  },
779
- "default": "'primary'",
780
- "description": "The badge's theme variant.",
781
- "fieldName": "variant"
827
+ "privacy": "private",
828
+ "default": "''",
829
+ "description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
782
830
  },
783
831
  {
784
- "name": "size",
832
+ "kind": "field",
833
+ "name": "selectedOption",
785
834
  "type": {
786
- "text": "'small' | 'medium' | 'large'"
835
+ "text": "FlowOption | null"
787
836
  },
788
- "default": "'medium'",
789
- "description": "The badge size.",
790
- "fieldName": "size"
837
+ "privacy": "private",
838
+ "default": "null"
791
839
  },
792
840
  {
793
- "name": "pill",
841
+ "kind": "field",
842
+ "name": "currentOption",
794
843
  "type": {
795
- "text": "boolean"
844
+ "text": "FlowOption | null"
796
845
  },
797
- "default": "false",
798
- "description": "Draws a pill-style badge with rounded edges.",
799
- "fieldName": "pill"
846
+ "privacy": "private",
847
+ "default": "null"
800
848
  },
801
849
  {
802
- "name": "pulse",
850
+ "kind": "field",
851
+ "name": "input",
803
852
  "type": {
804
- "text": "boolean"
853
+ "text": "HTMLInputElement"
805
854
  },
806
- "default": "false",
807
- "description": "Makes the badge pulsate to draw attention.",
808
- "fieldName": "pulse"
809
- }
810
- ],
811
- "superclass": {
812
- "name": "FlowRdfElement",
813
- "module": "/src/internal/flow-ui-rdf-element"
814
- },
815
- "tagName": "flow-ui-badge",
816
- "summary": "Badges are used to draw attention and display statuses or counts.",
817
- "customElement": true
818
- }
819
- ],
820
- "exports": [
821
- {
822
- "kind": "js",
823
- "name": "default",
824
- "declaration": {
825
- "name": "FlowUiBadge",
826
- "module": "components/badge/badge.component.js"
827
- }
828
- }
829
- ]
830
- },
831
- {
832
- "kind": "javascript-module",
833
- "path": "components/badge/badge.js",
834
- "declarations": [],
835
- "exports": [
836
- {
837
- "kind": "js",
838
- "name": "default",
839
- "declaration": {
840
- "name": "FlowUiBadge",
841
- "module": "components/badge/badge.js"
842
- }
843
- }
844
- ]
845
- },
846
- {
847
- "kind": "javascript-module",
848
- "path": "components/breadcrumb/breadcrumb.component.js",
849
- "declarations": [
850
- {
851
- "kind": "class",
852
- "description": "",
853
- "name": "FlowUiBreadcrumb",
854
- "cssParts": [
855
- {
856
- "description": "The component's base wrapper.",
857
- "name": "base"
858
- }
859
- ],
860
- "slots": [
861
- {
862
- "description": "One or more breadcrumb items to display.",
863
- "name": ""
855
+ "privacy": "private"
864
856
  },
865
- {
866
- "description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
867
- "name": "separator"
868
- }
869
- ],
870
- "members": [
871
857
  {
872
858
  "kind": "field",
873
- "name": "tagName",
859
+ "name": "popup",
874
860
  "type": {
875
- "text": "string"
861
+ "text": "FlowPopup"
876
862
  },
877
- "static": true,
878
- "default": "'flow-ui-breadcrumb'"
863
+ "privacy": "private"
879
864
  },
880
865
  {
881
866
  "kind": "field",
882
- "name": "dependencies",
867
+ "name": "listbox",
883
868
  "type": {
884
- "text": "array"
869
+ "text": "HTMLElement"
885
870
  },
886
- "static": true,
887
- "default": "[FlowUiIcon]"
871
+ "privacy": "private"
888
872
  },
889
873
  {
890
- "kind": "field",
891
- "name": "localize",
892
- "privacy": "private",
893
- "readonly": true,
894
- "default": "new LocalizeController(this)"
895
- },
896
- {
897
- "kind": "field",
898
- "name": "separatorDir",
899
- "privacy": "private"
900
- },
901
- {
902
- "kind": "field",
903
- "name": "defaultSlot",
904
- "type": {
905
- "text": "HTMLSlotElement"
874
+ "kind": "method",
875
+ "name": "getForm",
876
+ "return": {
877
+ "type": {
878
+ "text": "HTMLFormElement | null"
879
+ }
906
880
  },
907
- "privacy": "private"
881
+ "description": "Gets the associated form, if one exists."
908
882
  },
909
883
  {
910
884
  "kind": "field",
911
- "name": "separatorSlot",
912
- "type": {
913
- "text": "HTMLSlotElement"
914
- },
915
- "privacy": "private"
885
+ "name": "validity",
886
+ "description": "Gets the validity state object.",
887
+ "readonly": true
916
888
  },
917
889
  {
918
890
  "kind": "field",
919
- "name": "label",
920
- "type": {
921
- "text": "string"
922
- },
923
- "default": "''",
924
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
925
- "attribute": "label"
891
+ "name": "validationMessage",
892
+ "description": "Gets the validation message.",
893
+ "readonly": true
926
894
  },
927
895
  {
928
896
  "kind": "method",
929
- "name": "getSeparator",
930
- "privacy": "private"
897
+ "name": "checkValidity",
898
+ "return": {
899
+ "type": {
900
+ "text": "boolean"
901
+ }
902
+ },
903
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
931
904
  },
932
905
  {
933
906
  "kind": "method",
934
- "name": "handleSlotChange",
935
- "privacy": "private"
936
- }
937
- ],
938
- "attributes": [
939
- {
940
- "name": "label",
941
- "type": {
942
- "text": "string"
907
+ "name": "reportValidity",
908
+ "return": {
909
+ "type": {
910
+ "text": "boolean"
911
+ }
943
912
  },
944
- "default": "''",
945
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
946
- "fieldName": "label"
947
- }
948
- ],
949
- "superclass": {
950
- "name": "FlowRdfElement",
951
- "module": "/src/internal/flow-ui-rdf-element"
952
- },
953
- "tagName": "flow-ui-breadcrumb",
954
- "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
955
- "docgroup": "breadcrumb",
956
- "dependencies": [
957
- "flow-ui-icon"
958
- ],
959
- "customElement": true
960
- }
961
- ],
962
- "exports": [
963
- {
964
- "kind": "js",
965
- "name": "default",
966
- "declaration": {
967
- "name": "FlowUiBreadcrumb",
968
- "module": "components/breadcrumb/breadcrumb.component.js"
969
- }
970
- }
971
- ]
972
- },
973
- {
974
- "kind": "javascript-module",
975
- "path": "components/breadcrumb/breadcrumb.js",
976
- "declarations": [],
977
- "exports": [
978
- {
979
- "kind": "js",
980
- "name": "default",
981
- "declaration": {
982
- "name": "FlowUiBreadcrumb",
983
- "module": "components/breadcrumb/breadcrumb.js"
984
- }
985
- }
986
- ]
987
- },
988
- {
989
- "kind": "javascript-module",
990
- "path": "components/base-control/base-control.component.js",
991
- "declarations": [
992
- {
993
- "kind": "class",
994
- "description": "",
995
- "name": "FlowUiBaseControl",
996
- "cssParts": [
997
- {
998
- "description": "The form control that wraps the label, input, and help text.",
999
- "name": "form-control"
1000
- },
1001
- {
1002
- "description": "The label's wrapper.",
1003
- "name": "form-control-label"
1004
- },
1005
- {
1006
- "description": "The input's wrapper.",
1007
- "name": "form-control-input"
913
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
1008
914
  },
1009
915
  {
1010
- "description": "The help text's wrapper.",
1011
- "name": "form-control-help-text"
916
+ "kind": "method",
917
+ "name": "setCustomValidity",
918
+ "parameters": [
919
+ {
920
+ "name": "_",
921
+ "type": {
922
+ "text": "string"
923
+ }
924
+ }
925
+ ],
926
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
1012
927
  },
1013
928
  {
1014
- "description": "The component's base wrapper.",
1015
- "name": "base"
929
+ "kind": "method",
930
+ "name": "handleClearClick",
931
+ "parameters": [
932
+ {
933
+ "name": "event",
934
+ "type": {
935
+ "text": "MouseEvent"
936
+ }
937
+ }
938
+ ]
1016
939
  },
1017
940
  {
1018
- "description": "The internal `<input>` control.",
1019
- "name": "input"
941
+ "kind": "method",
942
+ "name": "focus",
943
+ "description": "Focuses on the control"
1020
944
  },
1021
945
  {
1022
- "description": "The container that wraps the prefix.",
1023
- "name": "prefix"
946
+ "kind": "method",
947
+ "name": "blur",
948
+ "description": "Blurs from the control."
1024
949
  },
1025
950
  {
1026
- "description": "The clear button.",
1027
- "name": "clear-button"
951
+ "kind": "method",
952
+ "name": "show",
953
+ "description": "Shows the listbox."
1028
954
  },
1029
955
  {
1030
- "description": "The password toggle button.",
1031
- "name": "password-toggle-button"
956
+ "kind": "method",
957
+ "name": "hide",
958
+ "description": "Hides the listbox."
1032
959
  },
1033
960
  {
1034
- "description": "The container that wraps the suffix.",
1035
- "name": "suffix"
961
+ "kind": "method",
962
+ "name": "getInputText",
963
+ "description": "Gets the current value of the text input"
1036
964
  }
1037
965
  ],
1038
- "slots": [
966
+ "events": [
1039
967
  {
1040
- "description": "The input's label. Alternatively, you can use the `label` attribute.",
1041
- "name": "label"
968
+ "description": "Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.",
969
+ "name": "flow-ui-input",
970
+ "reactName": "onFlowUiInput"
1042
971
  },
1043
972
  {
1044
- "description": "Used to prepend a presentational icon or similar element to the input.",
1045
- "name": "prefix"
973
+ "description": "Emitted when the autocomplete's value changes.",
974
+ "name": "flow-ui-change",
975
+ "reactName": "onFlowUiChange"
1046
976
  },
1047
977
  {
1048
- "description": "Used to append a presentational icon or similar element to the input.",
1049
- "name": "suffix"
978
+ "description": "Emitted when the autocomplete gains focus.",
979
+ "name": "flow-ui-focus",
980
+ "reactName": "onFlowUiFocus"
1050
981
  },
1051
982
  {
1052
- "description": "An icon to use in lieu of the default clear icon.",
1053
- "name": "clear-icon"
983
+ "description": "Emitted when the autocomplete loses focus.",
984
+ "name": "flow-ui-blur",
985
+ "reactName": "onFlowUiBlur"
1054
986
  },
1055
987
  {
1056
- "description": "An icon to use in lieu of the default show password icon.",
1057
- "name": "show-password-icon"
988
+ "description": "Emitted when the listbox opens.",
989
+ "name": "flow-ui-show",
990
+ "reactName": "onFlowUiShow"
1058
991
  },
1059
992
  {
1060
- "description": "An icon to use in lieu of the default hide password icon.",
1061
- "name": "hide-password-icon"
993
+ "description": "Emitted after the listbox opens and all animations are complete.",
994
+ "name": "flow-ui-after-show",
995
+ "reactName": "onFlowUiAfterShow"
1062
996
  },
1063
997
  {
1064
- "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
1065
- "name": "help-text"
998
+ "description": "Emitted when the listbox closes.",
999
+ "name": "flow-ui-hide",
1000
+ "reactName": "onFlowUiHide"
1001
+ },
1002
+ {
1003
+ "description": "Emitted after the listbox closes and all animations are complete.",
1004
+ "name": "flow-ui-after-hide",
1005
+ "reactName": "onFlowUiAfterHide"
1066
1006
  }
1067
1007
  ],
1068
- "members": [
1008
+ "attributes": [
1069
1009
  {
1070
- "kind": "field",
1071
- "name": "tagName",
1010
+ "name": "size",
1072
1011
  "type": {
1073
- "text": "string"
1012
+ "text": "'small' | 'medium' | 'large'"
1074
1013
  },
1075
- "static": true,
1076
- "default": "'flow-ui-base-control'"
1014
+ "default": "'medium'",
1015
+ "description": "The autocomplete's size.",
1016
+ "fieldName": "size"
1077
1017
  },
1078
1018
  {
1079
- "kind": "field",
1080
- "name": "dependencies",
1019
+ "name": "filled",
1081
1020
  "type": {
1082
- "text": "array"
1021
+ "text": "boolean"
1083
1022
  },
1084
- "static": true,
1085
- "default": "[FlowUiDivider]"
1023
+ "default": "false",
1024
+ "description": "Draws a filled autocomplete input.",
1025
+ "fieldName": "filled"
1086
1026
  },
1087
1027
  {
1088
- "kind": "field",
1089
- "name": "formControlController",
1090
- "privacy": "private",
1091
- "readonly": true,
1092
- "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
1028
+ "name": "pill",
1029
+ "type": {
1030
+ "text": "boolean"
1031
+ },
1032
+ "default": "false",
1033
+ "description": "Draws a pill-style autocomplete input with rounded edges.",
1034
+ "fieldName": "pill"
1093
1035
  },
1094
1036
  {
1095
- "kind": "field",
1096
- "name": "hasSlotController",
1097
- "privacy": "private",
1098
- "readonly": true,
1099
- "default": "new HasSlotController(this, 'help-text', 'label')"
1100
- },
1101
- {
1102
- "kind": "field",
1103
- "name": "hasFocus",
1104
- "type": {
1105
- "text": "boolean"
1106
- },
1107
- "privacy": "private",
1108
- "default": "false"
1109
- },
1110
- {
1111
- "kind": "field",
1112
- "name": "size",
1113
- "type": {
1114
- "text": "'small' | 'medium' | 'large'"
1115
- },
1116
- "default": "'medium'",
1117
- "description": "The input's size.",
1118
- "attribute": "size",
1119
- "reflects": true
1120
- },
1121
- {
1122
- "kind": "field",
1123
- "name": "filled",
1124
- "type": {
1125
- "text": "boolean"
1126
- },
1127
- "default": "false",
1128
- "description": "Draws a filled input.",
1129
- "attribute": "filled",
1130
- "reflects": true
1131
- },
1132
- {
1133
- "kind": "field",
1134
- "name": "pill",
1037
+ "name": "label",
1135
1038
  "type": {
1136
- "text": "boolean"
1039
+ "text": "string"
1137
1040
  },
1138
- "default": "false",
1139
- "description": "Draws a pill-style input with rounded edges.",
1140
- "attribute": "pill",
1141
- "reflects": true
1041
+ "default": "''",
1042
+ "description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
1043
+ "fieldName": "label"
1142
1044
  },
1143
1045
  {
1144
- "kind": "field",
1145
- "name": "label",
1046
+ "name": "help-text",
1146
1047
  "type": {
1147
1048
  "text": "string"
1148
1049
  },
1149
1050
  "default": "''",
1150
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
1151
- "attribute": "label"
1051
+ "description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
1052
+ "fieldName": "helpText"
1152
1053
  },
1153
1054
  {
1154
- "kind": "field",
1155
- "name": "helpText",
1055
+ "name": "placeholder",
1156
1056
  "type": {
1157
1057
  "text": "string"
1158
1058
  },
1159
1059
  "default": "''",
1160
- "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
1161
- "attribute": "help-text"
1060
+ "description": "The autocomplete's placeholder text.",
1061
+ "fieldName": "placeholder"
1162
1062
  },
1163
1063
  {
1164
- "kind": "field",
1165
1064
  "name": "disabled",
1166
1065
  "type": {
1167
1066
  "text": "boolean"
1168
1067
  },
1169
1068
  "default": "false",
1170
- "description": "Disables the input.",
1171
- "attribute": "disabled",
1172
- "reflects": true
1069
+ "description": "Disables the autocomplete.",
1070
+ "fieldName": "disabled"
1173
1071
  },
1174
1072
  {
1175
- "kind": "field",
1176
1073
  "name": "form",
1177
1074
  "type": {
1178
1075
  "text": "string"
1179
1076
  },
1180
- "default": "''",
1181
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1182
- "attribute": "form",
1183
- "reflects": true
1077
+ "description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
1078
+ "fieldName": "form"
1184
1079
  },
1185
1080
  {
1186
- "kind": "field",
1187
1081
  "name": "required",
1188
1082
  "type": {
1189
1083
  "text": "boolean"
1190
1084
  },
1191
1085
  "default": "false",
1192
- "description": "Makes the input a required field.",
1193
- "attribute": "required",
1194
- "reflects": true
1086
+ "description": "Makes the autocomplete a required field.",
1087
+ "fieldName": "required"
1195
1088
  },
1196
1089
  {
1197
- "kind": "field",
1198
1090
  "name": "inline",
1199
1091
  "type": {
1200
1092
  "text": "boolean"
1201
1093
  },
1202
1094
  "default": "false",
1203
- "description": "Display the input in the 'inline' form control style.",
1204
- "attribute": "inline",
1205
- "reflects": true
1095
+ "description": "Set to `true` to display the autocomplete in the inline form control style.",
1096
+ "fieldName": "inline"
1206
1097
  },
1207
1098
  {
1208
- "kind": "field",
1209
1099
  "name": "divider",
1210
1100
  "type": {
1211
1101
  "text": "boolean"
1212
1102
  },
1213
1103
  "default": "false",
1214
- "description": "Indicates that the control should display a divider",
1215
- "attribute": "divider",
1216
- "reflects": true
1217
- },
1218
- {
1219
- "kind": "field",
1220
- "name": "validity",
1221
- "description": "Gets the validity state object",
1222
- "readonly": true
1223
- },
1224
- {
1225
- "kind": "field",
1226
- "name": "validationMessage",
1227
- "description": "Gets the validation message",
1228
- "readonly": true
1229
- },
1230
- {
1231
- "kind": "method",
1232
- "name": "handleBlur",
1233
- "privacy": "private"
1234
- },
1235
- {
1236
- "kind": "method",
1237
- "name": "handleFocus",
1238
- "privacy": "private"
1239
- },
1240
- {
1241
- "kind": "method",
1242
- "name": "focus",
1243
- "parameters": [
1244
- {
1245
- "name": "options",
1246
- "optional": true,
1247
- "type": {
1248
- "text": "FocusOptions"
1249
- }
1250
- }
1251
- ],
1252
- "description": "Sets focus on the input."
1253
- },
1254
- {
1255
- "kind": "method",
1256
- "name": "blur",
1257
- "description": "Removes focus from the input."
1258
- },
1259
- {
1260
- "kind": "method",
1261
- "name": "checkValidity",
1262
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
1263
- },
1264
- {
1265
- "kind": "method",
1266
- "name": "getForm",
1267
- "return": {
1268
- "type": {
1269
- "text": "HTMLFormElement | null"
1270
- }
1271
- },
1272
- "description": "Gets the associated form, if one exists."
1273
- },
1274
- {
1275
- "kind": "method",
1276
- "name": "reportValidity",
1277
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
1278
- },
1279
- {
1280
- "kind": "method",
1281
- "name": "setCustomValidity",
1282
- "parameters": [
1283
- {
1284
- "name": "message",
1285
- "type": {
1286
- "text": "string"
1287
- }
1288
- }
1289
- ],
1290
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
1291
- }
1292
- ],
1293
- "events": [
1294
- {
1295
- "description": "Emitted when the control loses focus.",
1296
- "name": "flow-ui-blur",
1297
- "reactName": "onFlowUiBlur"
1298
- },
1299
- {
1300
- "description": "Emitted when an alteration to the control's value is committed by the user.",
1301
- "name": "flow-ui-change",
1302
- "reactName": "onFlowUiChange"
1303
- },
1304
- {
1305
- "description": "Emitted when the clear button is activated.",
1306
- "name": "flow-ui-clear",
1307
- "reactName": "onFlowUiClear"
1308
- },
1309
- {
1310
- "description": "Emitted when the control gains focus.",
1311
- "name": "flow-ui-focus",
1312
- "reactName": "onFlowUiFocus"
1313
- },
1314
- {
1315
- "description": "Emitted when the control receives input.",
1316
- "name": "flow-ui-input",
1317
- "reactName": "onFlowUiInput"
1318
- },
1319
- {
1320
- "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
1321
- "name": "flow-ui-invalid",
1322
- "reactName": "onFlowUiInvalid"
1323
- }
1324
- ],
1325
- "attributes": [
1326
- {
1327
- "name": "size",
1328
- "type": {
1329
- "text": "'small' | 'medium' | 'large'"
1330
- },
1331
- "default": "'medium'",
1332
- "description": "The input's size.",
1333
- "fieldName": "size"
1104
+ "description": "Set to `true` to display a divider below the control.",
1105
+ "fieldName": "divider"
1334
1106
  },
1335
1107
  {
1336
- "name": "filled",
1108
+ "name": "hoist",
1337
1109
  "type": {
1338
1110
  "text": "boolean"
1339
1111
  },
1340
1112
  "default": "false",
1341
- "description": "Draws a filled input.",
1342
- "fieldName": "filled"
1113
+ "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1114
+ "fieldName": "hoist"
1343
1115
  },
1344
1116
  {
1345
- "name": "pill",
1117
+ "name": "placement",
1346
1118
  "type": {
1347
- "text": "boolean"
1119
+ "text": "'top' | 'bottom'"
1348
1120
  },
1349
- "default": "false",
1350
- "description": "Draws a pill-style input with rounded edges.",
1351
- "fieldName": "pill"
1121
+ "default": "'bottom'",
1122
+ "description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
1123
+ "fieldName": "placement"
1352
1124
  },
1353
1125
  {
1354
- "name": "label",
1126
+ "name": "value",
1355
1127
  "type": {
1356
1128
  "text": "string"
1357
1129
  },
1358
1130
  "default": "''",
1359
- "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
1360
- "fieldName": "label"
1131
+ "description": "The option value of the selected option.",
1132
+ "fieldName": "value"
1361
1133
  },
1362
1134
  {
1363
- "name": "help-text",
1135
+ "name": "displayWith",
1364
1136
  "type": {
1365
- "text": "string"
1137
+ "text": "((value: string) => string) | ((value: string) => Promise<string>)"
1366
1138
  },
1367
- "default": "''",
1368
- "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
1369
- "fieldName": "helpText"
1139
+ "description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
1140
+ "fieldName": "displayWith"
1370
1141
  },
1371
1142
  {
1372
- "name": "disabled",
1143
+ "name": "debounce-delay",
1373
1144
  "type": {
1374
- "text": "boolean"
1145
+ "text": "number"
1375
1146
  },
1376
- "default": "false",
1377
- "description": "Disables the input.",
1378
- "fieldName": "disabled"
1147
+ "default": "0",
1148
+ "description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
1149
+ "fieldName": "debounceDelay"
1379
1150
  },
1380
1151
  {
1381
- "name": "form",
1382
- "type": {
1383
- "text": "string"
1384
- },
1385
- "default": "''",
1386
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1387
- "fieldName": "form"
1388
- },
1389
- {
1390
- "name": "required",
1391
- "type": {
1392
- "text": "boolean"
1393
- },
1394
- "default": "false",
1395
- "description": "Makes the input a required field.",
1396
- "fieldName": "required"
1397
- },
1398
- {
1399
- "name": "inline",
1152
+ "name": "clearable",
1400
1153
  "type": {
1401
1154
  "text": "boolean"
1402
1155
  },
1403
1156
  "default": "false",
1404
- "description": "Display the input in the 'inline' form control style.",
1405
- "fieldName": "inline"
1157
+ "description": "Set to `true` to show a clear button when the autocomplete has a value.",
1158
+ "fieldName": "clearable"
1406
1159
  },
1407
1160
  {
1408
- "name": "divider",
1161
+ "name": "clear-on-focus",
1409
1162
  "type": {
1410
1163
  "text": "boolean"
1411
1164
  },
1412
1165
  "default": "false",
1413
- "description": "Indicates that the control should display a divider",
1414
- "fieldName": "divider"
1166
+ "description": "Set to `true` to clear the value when the autocomplete gains focus.",
1167
+ "fieldName": "clearOnFocus"
1415
1168
  }
1416
1169
  ],
1417
1170
  "superclass": {
1418
1171
  "name": "FlowRdfFormControl",
1419
1172
  "module": "/src/internal/flow-ui-rdf-element"
1420
1173
  },
1421
- "tagName": "flow-ui-base-control",
1422
- "summary": "Inputs collect data from the user.",
1423
- "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
1424
- "status": "stable",
1425
- "since": "2.0",
1174
+ "tagName": "flow-ui-autocomplete",
1175
+ "summary": "Autocompletes allow users to type into a text input and choose a value from a list of suggested [options](./flow-ui-option).",
1426
1176
  "dependencies": [
1427
- "flow-ui-divider"
1177
+ "flow-ui-divider",
1178
+ "flow-ui-icon",
1179
+ "flow-ui-popup"
1428
1180
  ],
1429
1181
  "customElement": true
1430
1182
  }
@@ -1434,15 +1186,15 @@
1434
1186
  "kind": "js",
1435
1187
  "name": "default",
1436
1188
  "declaration": {
1437
- "name": "FlowUiBaseControl",
1438
- "module": "components/base-control/base-control.component.js"
1189
+ "name": "FlowUiAutocomplete",
1190
+ "module": "components/autocomplete/autocomplete.component.js"
1439
1191
  }
1440
1192
  }
1441
1193
  ]
1442
1194
  },
1443
1195
  {
1444
1196
  "kind": "javascript-module",
1445
- "path": "components/base-control/base-control.js",
1197
+ "path": "components/autocomplete/autocomplete.js",
1446
1198
  "declarations": [],
1447
1199
  "exports": [
1448
1200
  {
@@ -1450,55 +1202,31 @@
1450
1202
  "name": "*",
1451
1203
  "declaration": {
1452
1204
  "name": "*",
1453
- "package": "./base-control.component"
1205
+ "package": "./autocomplete.component"
1454
1206
  }
1455
1207
  },
1456
1208
  {
1457
1209
  "kind": "js",
1458
1210
  "name": "default",
1459
1211
  "declaration": {
1460
- "name": "FlowUiBaseControl",
1461
- "module": "components/base-control/base-control.js"
1212
+ "name": "FlowUiAutocomplete",
1213
+ "module": "components/autocomplete/autocomplete.js"
1462
1214
  }
1463
1215
  }
1464
1216
  ]
1465
1217
  },
1466
1218
  {
1467
1219
  "kind": "javascript-module",
1468
- "path": "components/avatar/avatar.component.js",
1220
+ "path": "components/animation/animation.component.js",
1469
1221
  "declarations": [
1470
1222
  {
1471
1223
  "kind": "class",
1472
1224
  "description": "",
1473
- "name": "FlowUiAvatar",
1474
- "cssProperties": [
1475
- {
1476
- "description": "The size of the avatar.",
1477
- "name": "--size"
1478
- }
1479
- ],
1480
- "cssParts": [
1481
- {
1482
- "description": "The component's base wrapper.",
1483
- "name": "base"
1484
- },
1485
- {
1486
- "description": "The container that wraps the avatar's icon.",
1487
- "name": "icon"
1488
- },
1489
- {
1490
- "description": "The container that wraps the avatar's initials.",
1491
- "name": "initials"
1492
- },
1493
- {
1494
- "description": "The avatar image. Only shown when the `image` attribute is set.",
1495
- "name": "image"
1496
- }
1497
- ],
1225
+ "name": "FlowUiAnimation",
1498
1226
  "slots": [
1499
1227
  {
1500
- "description": "The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.",
1501
- "name": "icon"
1228
+ "description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<flow-ui-animation>` elements.",
1229
+ "name": ""
1502
1230
  }
1503
1231
  ],
1504
1232
  "members": [
@@ -1509,20 +1237,19 @@
1509
1237
  "text": "string"
1510
1238
  },
1511
1239
  "static": true,
1512
- "default": "'flow-ui-avatar'"
1240
+ "default": "'flow-ui-animation'"
1513
1241
  },
1514
1242
  {
1515
1243
  "kind": "field",
1516
- "name": "dependencies",
1244
+ "name": "animation",
1517
1245
  "type": {
1518
- "text": "array"
1246
+ "text": "Animation | undefined"
1519
1247
  },
1520
- "static": true,
1521
- "default": "[FlowUiIcon]"
1248
+ "privacy": "private"
1522
1249
  },
1523
1250
  {
1524
1251
  "kind": "field",
1525
- "name": "hasError",
1252
+ "name": "hasStarted",
1526
1253
  "type": {
1527
1254
  "text": "boolean"
1528
1255
  },
@@ -1531,565 +1258,664 @@
1531
1258
  },
1532
1259
  {
1533
1260
  "kind": "field",
1534
- "name": "image",
1261
+ "name": "defaultSlot",
1535
1262
  "type": {
1536
- "text": "string"
1263
+ "text": "Promise<HTMLSlotElement>"
1537
1264
  },
1538
- "default": "''",
1539
- "description": "The image source to use for the avatar.",
1540
- "attribute": "image"
1265
+ "privacy": "private"
1541
1266
  },
1542
1267
  {
1543
1268
  "kind": "field",
1544
- "name": "label",
1269
+ "name": "name",
1545
1270
  "type": {
1546
1271
  "text": "string"
1547
1272
  },
1548
- "default": "''",
1549
- "description": "A label to use to describe the avatar to assistive devices.",
1550
- "attribute": "label"
1273
+ "default": "'none'",
1274
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
1275
+ "attribute": "name"
1551
1276
  },
1552
1277
  {
1553
1278
  "kind": "field",
1554
- "name": "initials",
1279
+ "name": "play",
1555
1280
  "type": {
1556
- "text": "string"
1281
+ "text": "boolean"
1557
1282
  },
1558
- "default": "''",
1559
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
1560
- "attribute": "initials"
1283
+ "default": "false",
1284
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1285
+ "attribute": "play",
1286
+ "reflects": true
1561
1287
  },
1562
1288
  {
1563
1289
  "kind": "field",
1564
- "name": "loading",
1290
+ "name": "delay",
1565
1291
  "type": {
1566
- "text": "'eager' | 'lazy'"
1292
+ "text": "number"
1567
1293
  },
1568
- "default": "'eager'",
1569
- "description": "Indicates how the browser should load the image.",
1570
- "attribute": "loading"
1294
+ "default": "0",
1295
+ "description": "The number of milliseconds to delay the start of the animation.",
1296
+ "attribute": "delay"
1571
1297
  },
1572
1298
  {
1573
1299
  "kind": "field",
1574
- "name": "shape",
1575
- "type": {
1576
- "text": "'circle' | 'square' | 'rounded'"
1577
- },
1578
- "default": "'circle'",
1579
- "description": "The shape of the avatar.",
1580
- "attribute": "shape",
1581
- "reflects": true
1582
- }
1583
- ],
1584
- "attributes": [
1585
- {
1586
- "name": "image",
1300
+ "name": "direction",
1587
1301
  "type": {
1588
- "text": "string"
1302
+ "text": "PlaybackDirection"
1589
1303
  },
1590
- "default": "''",
1591
- "description": "The image source to use for the avatar.",
1592
- "fieldName": "image"
1304
+ "default": "'normal'",
1305
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1306
+ "attribute": "direction"
1593
1307
  },
1594
1308
  {
1595
- "name": "label",
1309
+ "kind": "field",
1310
+ "name": "duration",
1596
1311
  "type": {
1597
- "text": "string"
1312
+ "text": "number"
1598
1313
  },
1599
- "default": "''",
1600
- "description": "A label to use to describe the avatar to assistive devices.",
1601
- "fieldName": "label"
1314
+ "default": "1000",
1315
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
1316
+ "attribute": "duration"
1602
1317
  },
1603
1318
  {
1604
- "name": "initials",
1319
+ "kind": "field",
1320
+ "name": "easing",
1605
1321
  "type": {
1606
1322
  "text": "string"
1607
1323
  },
1608
- "default": "''",
1609
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
1610
- "fieldName": "initials"
1324
+ "default": "'linear'",
1325
+ "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1326
+ "attribute": "easing"
1611
1327
  },
1612
1328
  {
1613
- "name": "loading",
1329
+ "kind": "field",
1330
+ "name": "endDelay",
1614
1331
  "type": {
1615
- "text": "'eager' | 'lazy'"
1332
+ "text": "number"
1616
1333
  },
1617
- "default": "'eager'",
1618
- "description": "Indicates how the browser should load the image.",
1619
- "fieldName": "loading"
1334
+ "default": "0",
1335
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
1336
+ "attribute": "end-delay"
1620
1337
  },
1621
1338
  {
1622
- "name": "shape",
1339
+ "kind": "field",
1340
+ "name": "fill",
1623
1341
  "type": {
1624
- "text": "'circle' | 'square' | 'rounded'"
1342
+ "text": "FillMode"
1625
1343
  },
1626
- "default": "'circle'",
1627
- "description": "The shape of the avatar.",
1628
- "fieldName": "shape"
1629
- }
1630
- ],
1631
- "superclass": {
1632
- "name": "FlowRdfElement",
1633
- "module": "/src/internal/flow-ui-rdf-element"
1634
- },
1635
- "tagName": "flow-ui-avatar",
1636
- "summary": "Avatars are used to represent a person or object.",
1637
- "dependencies": [
1638
- "flow-ui-icon"
1639
- ],
1640
- "customElement": true
1641
- }
1642
- ],
1643
- "exports": [
1644
- {
1645
- "kind": "js",
1646
- "name": "default",
1647
- "declaration": {
1648
- "name": "FlowUiAvatar",
1649
- "module": "components/avatar/avatar.component.js"
1650
- }
1651
- }
1652
- ]
1653
- },
1654
- {
1655
- "kind": "javascript-module",
1656
- "path": "components/avatar/avatar.js",
1657
- "declarations": [],
1658
- "exports": [
1659
- {
1660
- "kind": "js",
1661
- "name": "default",
1662
- "declaration": {
1663
- "name": "FlowUiAvatar",
1664
- "module": "components/avatar/avatar.js"
1665
- }
1666
- }
1667
- ]
1668
- },
1669
- {
1670
- "kind": "javascript-module",
1671
- "path": "components/autocomplete/autocomplete.component.js",
1672
- "declarations": [
1673
- {
1674
- "kind": "class",
1675
- "description": "The autocomplete component does not filter its options itself. Listen for the `flow-ui-input` event, read the text\nthat the user has typed with `getInputText()`, and replace the slotted `<flow-ui-option>` elements with the options\nthat match. The autocomplete's value is the option value of the selected option. Use `displayWith` to show a label\nin the input instead of the option value.",
1676
- "name": "FlowUiAutocomplete",
1677
- "cssParts": [
1678
- {
1679
- "description": "The form control that wraps the label, input, and help text.",
1680
- "name": "form-control"
1344
+ "default": "'auto'",
1345
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
1346
+ "attribute": "fill"
1681
1347
  },
1682
1348
  {
1683
- "description": "The label's wrapper.",
1684
- "name": "label"
1349
+ "kind": "field",
1350
+ "name": "iterations",
1351
+ "default": "Infinity",
1352
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
1353
+ "attribute": "iterations"
1685
1354
  },
1686
1355
  {
1687
- "description": "The help text's wrapper.",
1688
- "name": "help-text"
1689
- },
1690
- {
1691
- "description": "The input's wrapper.",
1692
- "name": "control"
1693
- },
1694
- {
1695
- "description": "The container that wraps the prefix, suffix, input and clear button.",
1696
- "name": "combobox"
1356
+ "kind": "field",
1357
+ "name": "iterationStart",
1358
+ "type": {
1359
+ "text": "number"
1360
+ },
1361
+ "default": "0",
1362
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
1363
+ "attribute": "iteration-start"
1697
1364
  },
1698
1365
  {
1699
- "description": "The container that wraps the prefix.",
1700
- "name": "prefix"
1366
+ "kind": "field",
1367
+ "name": "keyframes",
1368
+ "type": {
1369
+ "text": "Keyframe[] | undefined"
1370
+ },
1371
+ "description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
1701
1372
  },
1702
1373
  {
1703
- "description": "The container that wraps the suffix.",
1704
- "name": "suffix"
1374
+ "kind": "field",
1375
+ "name": "playbackRate",
1376
+ "type": {
1377
+ "text": "number"
1378
+ },
1379
+ "default": "1",
1380
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
1381
+ "attribute": "playback-rate"
1705
1382
  },
1706
1383
  {
1707
- "description": "The text input, an `<input>` element.",
1708
- "name": "display-input"
1384
+ "kind": "field",
1385
+ "name": "currentTime",
1386
+ "type": {
1387
+ "text": "CSSNumberish"
1388
+ },
1389
+ "description": "Gets and sets the current animation time."
1709
1390
  },
1710
1391
  {
1711
- "description": "The listbox container where options are slotted.",
1712
- "name": "listbox"
1392
+ "kind": "field",
1393
+ "name": "handleAnimationFinish",
1394
+ "privacy": "private"
1713
1395
  },
1714
1396
  {
1715
- "description": "The clear button.",
1716
- "name": "clear-button"
1717
- }
1718
- ],
1719
- "slots": [
1720
- {
1721
- "description": "The listbox options. Must be `<flow-ui-option>` elements. You can use `<flow-ui-divider>` to group items visually.",
1722
- "name": ""
1397
+ "kind": "field",
1398
+ "name": "handleAnimationCancel",
1399
+ "privacy": "private"
1723
1400
  },
1724
1401
  {
1725
- "description": "The autocomplete's label. Alternatively, you can use the `label` attribute.",
1726
- "name": "label"
1402
+ "kind": "method",
1403
+ "name": "handleSlotChange",
1404
+ "privacy": "private"
1727
1405
  },
1728
1406
  {
1729
- "description": "Used to prepend a presentational icon or similar element to the combobox.",
1730
- "name": "prefix"
1407
+ "kind": "method",
1408
+ "name": "createAnimation",
1409
+ "privacy": "private"
1731
1410
  },
1732
1411
  {
1733
- "description": "Used to append a presentational icon or similar element to the combobox.",
1734
- "name": "suffix"
1412
+ "kind": "method",
1413
+ "name": "destroyAnimation",
1414
+ "privacy": "private"
1735
1415
  },
1736
1416
  {
1737
- "description": "An icon to use in lieu of the default clear icon.",
1738
- "name": "clear-icon"
1417
+ "kind": "method",
1418
+ "name": "cancel",
1419
+ "description": "Clears all keyframe effects caused by this animation and aborts its playback."
1739
1420
  },
1740
1421
  {
1741
- "description": "Text that describes how to use the autocomplete. Alternatively, you can use the `help-text` attribute.",
1742
- "name": "help-text"
1422
+ "kind": "method",
1423
+ "name": "finish",
1424
+ "description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
1743
1425
  }
1744
1426
  ],
1745
- "members": [
1746
- {
1747
- "kind": "field",
1748
- "name": "tagName",
1749
- "type": {
1750
- "text": "string"
1751
- },
1752
- "static": true,
1753
- "default": "'flow-ui-autocomplete'"
1754
- },
1755
- {
1756
- "kind": "field",
1757
- "name": "dependencies",
1758
- "type": {
1759
- "text": "array"
1760
- },
1761
- "static": true,
1762
- "default": "[FlowUiDivider, FlowIcon, FlowPopup]"
1763
- },
1427
+ "events": [
1764
1428
  {
1765
- "kind": "field",
1766
- "name": "hasSlotController",
1767
- "privacy": "private",
1768
- "readonly": true,
1769
- "default": "new HasSlotController(this, 'help-text', 'label')"
1429
+ "description": "Emitted when the animation is canceled.",
1430
+ "name": "flow-ui-cancel",
1431
+ "reactName": "onFlowUiCancel"
1770
1432
  },
1771
1433
  {
1772
- "kind": "field",
1773
- "name": "localize",
1774
- "privacy": "private",
1775
- "readonly": true,
1776
- "default": "new LocalizeController(this)"
1434
+ "description": "Emitted when the animation finishes.",
1435
+ "name": "flow-ui-finish",
1436
+ "reactName": "onFlowUiFinish"
1777
1437
  },
1778
1438
  {
1779
- "kind": "field",
1780
- "name": "pendingChangeEvent",
1781
- "type": {
1782
- "text": "boolean"
1783
- },
1784
- "privacy": "private",
1785
- "default": "false"
1786
- },
1439
+ "description": "Emitted when the animation starts or restarts.",
1440
+ "name": "flow-ui-start",
1441
+ "reactName": "onFlowUiStart"
1442
+ }
1443
+ ],
1444
+ "attributes": [
1787
1445
  {
1788
- "kind": "field",
1789
- "name": "pendingInputEvent",
1446
+ "name": "name",
1790
1447
  "type": {
1791
- "text": "boolean"
1448
+ "text": "string"
1792
1449
  },
1793
- "privacy": "private",
1794
- "default": "false"
1450
+ "default": "'none'",
1451
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.\nUse `getAnimationNames()` to retrieve a list of available animations.",
1452
+ "fieldName": "name"
1795
1453
  },
1796
1454
  {
1797
- "kind": "field",
1798
- "name": "hasOptions",
1455
+ "name": "play",
1799
1456
  "type": {
1800
1457
  "text": "boolean"
1801
1458
  },
1802
- "privacy": "private",
1803
- "default": "false"
1804
- },
1805
- {
1806
- "kind": "field",
1807
- "name": "formControlController",
1808
- "privacy": "private",
1809
- "readonly": true,
1810
- "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
1459
+ "default": "false",
1460
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1461
+ "fieldName": "play"
1811
1462
  },
1812
1463
  {
1813
- "kind": "field",
1814
- "name": "size",
1464
+ "name": "delay",
1815
1465
  "type": {
1816
- "text": "'small' | 'medium' | 'large'"
1466
+ "text": "number"
1817
1467
  },
1818
- "default": "'medium'",
1819
- "description": "The autocomplete's size.",
1820
- "attribute": "size",
1821
- "reflects": true
1468
+ "default": "0",
1469
+ "description": "The number of milliseconds to delay the start of the animation.",
1470
+ "fieldName": "delay"
1822
1471
  },
1823
1472
  {
1824
- "kind": "field",
1825
- "name": "filled",
1473
+ "name": "direction",
1826
1474
  "type": {
1827
- "text": "boolean"
1475
+ "text": "PlaybackDirection"
1828
1476
  },
1829
- "default": "false",
1830
- "description": "Draws a filled autocomplete input.",
1831
- "attribute": "filled",
1832
- "reflects": true
1477
+ "default": "'normal'",
1478
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1479
+ "fieldName": "direction"
1833
1480
  },
1834
1481
  {
1835
- "kind": "field",
1836
- "name": "pill",
1482
+ "name": "duration",
1837
1483
  "type": {
1838
- "text": "boolean"
1484
+ "text": "number"
1839
1485
  },
1840
- "default": "false",
1841
- "description": "Draws a pill-style autocomplete input with rounded edges.",
1842
- "attribute": "pill",
1843
- "reflects": true
1486
+ "default": "1000",
1487
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
1488
+ "fieldName": "duration"
1844
1489
  },
1845
1490
  {
1846
- "kind": "field",
1847
- "name": "label",
1491
+ "name": "easing",
1848
1492
  "type": {
1849
1493
  "text": "string"
1850
1494
  },
1851
- "default": "''",
1852
- "description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
1853
- "attribute": "label"
1495
+ "default": "'linear'",
1496
+ "description": "The easing function to use for the animation. This can be a Shoelace easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1497
+ "fieldName": "easing"
1854
1498
  },
1855
1499
  {
1856
- "kind": "field",
1857
- "name": "helpText",
1500
+ "name": "end-delay",
1858
1501
  "type": {
1859
- "text": "string"
1502
+ "text": "number"
1860
1503
  },
1861
- "default": "''",
1862
- "description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
1863
- "attribute": "help-text"
1504
+ "default": "0",
1505
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
1506
+ "fieldName": "endDelay"
1864
1507
  },
1865
1508
  {
1866
- "kind": "field",
1867
- "name": "placeholder",
1509
+ "name": "fill",
1868
1510
  "type": {
1869
- "text": "string"
1511
+ "text": "FillMode"
1870
1512
  },
1871
- "default": "''",
1872
- "description": "The autocomplete's placeholder text.",
1873
- "attribute": "placeholder"
1513
+ "default": "'auto'",
1514
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
1515
+ "fieldName": "fill"
1874
1516
  },
1875
1517
  {
1876
- "kind": "field",
1877
- "name": "disabled",
1878
- "type": {
1879
- "text": "boolean"
1518
+ "name": "iterations",
1519
+ "default": "Infinity",
1520
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
1521
+ "resolveInitializer": {
1522
+ "module": "src/components/animation/animation.component.ts"
1880
1523
  },
1881
- "default": "false",
1882
- "description": "Disables the autocomplete.",
1883
- "attribute": "disabled",
1884
- "reflects": true
1524
+ "fieldName": "iterations"
1885
1525
  },
1886
1526
  {
1887
- "kind": "field",
1888
- "name": "form",
1527
+ "name": "iteration-start",
1889
1528
  "type": {
1890
- "text": "string"
1529
+ "text": "number"
1891
1530
  },
1892
- "description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
1893
- "attribute": "form"
1531
+ "default": "0",
1532
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
1533
+ "fieldName": "iterationStart"
1894
1534
  },
1895
1535
  {
1896
- "kind": "field",
1897
- "name": "required",
1536
+ "name": "playback-rate",
1898
1537
  "type": {
1899
- "text": "boolean"
1538
+ "text": "number"
1900
1539
  },
1901
- "default": "false",
1902
- "description": "Makes the autocomplete a required field.",
1903
- "attribute": "required",
1904
- "reflects": true
1540
+ "default": "1",
1541
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
1542
+ "fieldName": "playbackRate"
1543
+ }
1544
+ ],
1545
+ "superclass": {
1546
+ "name": "FlowRdfElement",
1547
+ "module": "/src/internal/flow-ui-rdf-element"
1548
+ },
1549
+ "tagName": "flow-ui-animation",
1550
+ "summary": "Animate elements declaratively with over 100 animation presets. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
1551
+ "customElement": true
1552
+ }
1553
+ ],
1554
+ "exports": [
1555
+ {
1556
+ "kind": "js",
1557
+ "name": "default",
1558
+ "declaration": {
1559
+ "name": "FlowUiAnimation",
1560
+ "module": "components/animation/animation.component.js"
1561
+ }
1562
+ }
1563
+ ]
1564
+ },
1565
+ {
1566
+ "kind": "javascript-module",
1567
+ "path": "components/animation/animation.js",
1568
+ "declarations": [],
1569
+ "exports": [
1570
+ {
1571
+ "kind": "js",
1572
+ "name": "*",
1573
+ "declaration": {
1574
+ "name": "*",
1575
+ "package": "./animation.component"
1576
+ }
1577
+ },
1578
+ {
1579
+ "kind": "js",
1580
+ "name": "default",
1581
+ "declaration": {
1582
+ "name": "FlowUiAnimation",
1583
+ "module": "components/animation/animation.js"
1584
+ }
1585
+ }
1586
+ ]
1587
+ },
1588
+ {
1589
+ "kind": "javascript-module",
1590
+ "path": "components/animation/animations.js",
1591
+ "declarations": [
1592
+ {
1593
+ "kind": "function",
1594
+ "name": "getAnimationNames",
1595
+ "description": "Returns a list of all supported animation names.\n\nSupply the required animation as the `name` property of the\n`<flow-ui-animation>` component."
1596
+ },
1597
+ {
1598
+ "kind": "function",
1599
+ "name": "getEasingNames",
1600
+ "description": "Returns a list of all supported easing method names.\n\nSupply the required easing method as the `easing` property of the\n`<flow-ui-animation>` component."
1601
+ }
1602
+ ],
1603
+ "exports": [
1604
+ {
1605
+ "kind": "js",
1606
+ "name": "animations",
1607
+ "declaration": {
1608
+ "name": "animations",
1609
+ "module": "components/animation/animations.js"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "js",
1614
+ "name": "getAnimationNames",
1615
+ "declaration": {
1616
+ "name": "getAnimationNames",
1617
+ "module": "components/animation/animations.js"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "js",
1622
+ "name": "getEasingNames",
1623
+ "declaration": {
1624
+ "name": "getEasingNames",
1625
+ "module": "components/animation/animations.js"
1626
+ }
1627
+ }
1628
+ ]
1629
+ },
1630
+ {
1631
+ "kind": "javascript-module",
1632
+ "path": "components/base-control/base-control.component.js",
1633
+ "declarations": [
1634
+ {
1635
+ "kind": "class",
1636
+ "description": "",
1637
+ "name": "FlowUiBaseControl",
1638
+ "cssParts": [
1639
+ {
1640
+ "description": "The form control that wraps the label, input, and help text.",
1641
+ "name": "form-control"
1905
1642
  },
1906
1643
  {
1907
- "kind": "field",
1908
- "name": "inline",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "false",
1913
- "description": "Set to `true` to display the autocomplete in the inline form control style.",
1914
- "attribute": "inline",
1915
- "reflects": true
1644
+ "description": "The label's wrapper.",
1645
+ "name": "form-control-label"
1646
+ },
1647
+ {
1648
+ "description": "The input's wrapper.",
1649
+ "name": "form-control-input"
1650
+ },
1651
+ {
1652
+ "description": "The help text's wrapper.",
1653
+ "name": "form-control-help-text"
1654
+ },
1655
+ {
1656
+ "description": "The component's base wrapper.",
1657
+ "name": "base"
1658
+ },
1659
+ {
1660
+ "description": "The internal `<input>` control.",
1661
+ "name": "input"
1662
+ },
1663
+ {
1664
+ "description": "The container that wraps the prefix.",
1665
+ "name": "prefix"
1666
+ },
1667
+ {
1668
+ "description": "The clear button.",
1669
+ "name": "clear-button"
1670
+ },
1671
+ {
1672
+ "description": "The password toggle button.",
1673
+ "name": "password-toggle-button"
1674
+ },
1675
+ {
1676
+ "description": "The container that wraps the suffix.",
1677
+ "name": "suffix"
1678
+ }
1679
+ ],
1680
+ "slots": [
1681
+ {
1682
+ "description": "The input's label. Alternatively, you can use the `label` attribute.",
1683
+ "name": "label"
1684
+ },
1685
+ {
1686
+ "description": "Used to prepend a presentational icon or similar element to the input.",
1687
+ "name": "prefix"
1688
+ },
1689
+ {
1690
+ "description": "Used to append a presentational icon or similar element to the input.",
1691
+ "name": "suffix"
1916
1692
  },
1693
+ {
1694
+ "description": "An icon to use in lieu of the default clear icon.",
1695
+ "name": "clear-icon"
1696
+ },
1697
+ {
1698
+ "description": "An icon to use in lieu of the default show password icon.",
1699
+ "name": "show-password-icon"
1700
+ },
1701
+ {
1702
+ "description": "An icon to use in lieu of the default hide password icon.",
1703
+ "name": "hide-password-icon"
1704
+ },
1705
+ {
1706
+ "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
1707
+ "name": "help-text"
1708
+ }
1709
+ ],
1710
+ "members": [
1917
1711
  {
1918
1712
  "kind": "field",
1919
- "name": "divider",
1713
+ "name": "tagName",
1920
1714
  "type": {
1921
- "text": "boolean"
1715
+ "text": "string"
1922
1716
  },
1923
- "default": "false",
1924
- "description": "Set to `true` to display a divider below the control.",
1925
- "attribute": "divider",
1926
- "reflects": true
1717
+ "static": true,
1718
+ "default": "'flow-ui-base-control'"
1927
1719
  },
1928
1720
  {
1929
1721
  "kind": "field",
1930
- "name": "hoist",
1722
+ "name": "dependencies",
1931
1723
  "type": {
1932
- "text": "boolean"
1724
+ "text": "array"
1933
1725
  },
1934
- "default": "false",
1935
- "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1936
- "attribute": "hoist"
1726
+ "static": true,
1727
+ "default": "[FlowUiDivider]"
1937
1728
  },
1938
1729
  {
1939
1730
  "kind": "field",
1940
- "name": "placement",
1941
- "type": {
1942
- "text": "'top' | 'bottom'"
1943
- },
1944
- "default": "'bottom'",
1945
- "description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
1946
- "attribute": "placement",
1947
- "reflects": true
1731
+ "name": "formControlController",
1732
+ "privacy": "private",
1733
+ "readonly": true,
1734
+ "default": "new FormControlController(this, {\n assumeInteractionOn: ['flow-ui-blur', 'flow-ui-input']\n })"
1948
1735
  },
1949
1736
  {
1950
1737
  "kind": "field",
1951
- "name": "value",
1952
- "type": {
1953
- "text": "string"
1954
- },
1955
- "default": "''",
1956
- "description": "The option value of the selected option.",
1957
- "attribute": "value"
1738
+ "name": "hasSlotController",
1739
+ "privacy": "private",
1740
+ "readonly": true,
1741
+ "default": "new HasSlotController(this, 'help-text', 'label')"
1958
1742
  },
1959
1743
  {
1960
1744
  "kind": "field",
1961
- "name": "displayWith",
1745
+ "name": "hasFocus",
1962
1746
  "type": {
1963
- "text": "((value: string) => string) | ((value: string) => Promise<string>)"
1747
+ "text": "boolean"
1964
1748
  },
1965
- "description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
1966
- "attribute": "displayWith"
1749
+ "privacy": "private",
1750
+ "default": "false"
1967
1751
  },
1968
1752
  {
1969
1753
  "kind": "field",
1970
- "name": "debounceDelay",
1754
+ "name": "size",
1971
1755
  "type": {
1972
- "text": "number"
1756
+ "text": "'small' | 'medium' | 'large'"
1973
1757
  },
1974
- "default": "0",
1975
- "description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
1976
- "attribute": "debounce-delay",
1758
+ "default": "'medium'",
1759
+ "description": "The input's size.",
1760
+ "attribute": "size",
1977
1761
  "reflects": true
1978
1762
  },
1979
1763
  {
1980
1764
  "kind": "field",
1981
- "name": "clearable",
1765
+ "name": "filled",
1982
1766
  "type": {
1983
1767
  "text": "boolean"
1984
1768
  },
1985
1769
  "default": "false",
1986
- "description": "Set to `true` to show a clear button when the autocomplete has a value.",
1987
- "attribute": "clearable",
1770
+ "description": "Draws a filled input.",
1771
+ "attribute": "filled",
1988
1772
  "reflects": true
1989
1773
  },
1990
1774
  {
1991
1775
  "kind": "field",
1992
- "name": "clearOnFocus",
1776
+ "name": "pill",
1993
1777
  "type": {
1994
1778
  "text": "boolean"
1995
1779
  },
1996
1780
  "default": "false",
1997
- "description": "Set to `true` to clear the value when the autocomplete gains focus.",
1998
- "attribute": "clear-on-focus",
1781
+ "description": "Draws a pill-style input with rounded edges.",
1782
+ "attribute": "pill",
1999
1783
  "reflects": true
2000
1784
  },
2001
1785
  {
2002
1786
  "kind": "field",
2003
- "name": "inputText",
1787
+ "name": "label",
2004
1788
  "type": {
2005
1789
  "text": "string"
2006
1790
  },
2007
- "privacy": "private",
2008
1791
  "default": "''",
2009
- "description": "Current value displayed by the control; this can be what the user is typing or the label of the selected option"
1792
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
1793
+ "attribute": "label"
2010
1794
  },
2011
1795
  {
2012
1796
  "kind": "field",
2013
- "name": "selectedOption",
1797
+ "name": "helpText",
2014
1798
  "type": {
2015
- "text": "FlowOption | null"
1799
+ "text": "string"
2016
1800
  },
2017
- "privacy": "private",
2018
- "default": "null"
1801
+ "default": "''",
1802
+ "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
1803
+ "attribute": "help-text"
2019
1804
  },
2020
1805
  {
2021
1806
  "kind": "field",
2022
- "name": "currentOption",
1807
+ "name": "disabled",
2023
1808
  "type": {
2024
- "text": "FlowOption | null"
1809
+ "text": "boolean"
2025
1810
  },
2026
- "privacy": "private",
2027
- "default": "null"
1811
+ "default": "false",
1812
+ "description": "Disables the input.",
1813
+ "attribute": "disabled",
1814
+ "reflects": true
2028
1815
  },
2029
1816
  {
2030
1817
  "kind": "field",
2031
- "name": "input",
1818
+ "name": "form",
2032
1819
  "type": {
2033
- "text": "HTMLInputElement"
1820
+ "text": "string"
2034
1821
  },
2035
- "privacy": "private"
1822
+ "default": "''",
1823
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1824
+ "attribute": "form",
1825
+ "reflects": true
2036
1826
  },
2037
1827
  {
2038
1828
  "kind": "field",
2039
- "name": "popup",
1829
+ "name": "required",
2040
1830
  "type": {
2041
- "text": "FlowPopup"
1831
+ "text": "boolean"
2042
1832
  },
2043
- "privacy": "private"
1833
+ "default": "false",
1834
+ "description": "Makes the input a required field.",
1835
+ "attribute": "required",
1836
+ "reflects": true
2044
1837
  },
2045
1838
  {
2046
1839
  "kind": "field",
2047
- "name": "listbox",
1840
+ "name": "inline",
2048
1841
  "type": {
2049
- "text": "HTMLElement"
1842
+ "text": "boolean"
2050
1843
  },
2051
- "privacy": "private"
1844
+ "default": "false",
1845
+ "description": "Display the input in the 'inline' form control style.",
1846
+ "attribute": "inline",
1847
+ "reflects": true
2052
1848
  },
2053
1849
  {
2054
- "kind": "method",
2055
- "name": "getForm",
2056
- "return": {
2057
- "type": {
2058
- "text": "HTMLFormElement | null"
2059
- }
1850
+ "kind": "field",
1851
+ "name": "divider",
1852
+ "type": {
1853
+ "text": "boolean"
2060
1854
  },
2061
- "description": "Gets the associated form, if one exists."
1855
+ "default": "false",
1856
+ "description": "Indicates that the control should display a divider",
1857
+ "attribute": "divider",
1858
+ "reflects": true
2062
1859
  },
2063
1860
  {
2064
1861
  "kind": "field",
2065
1862
  "name": "validity",
2066
- "description": "Gets the validity state object.",
1863
+ "description": "Gets the validity state object",
2067
1864
  "readonly": true
2068
1865
  },
2069
1866
  {
2070
1867
  "kind": "field",
2071
1868
  "name": "validationMessage",
2072
- "description": "Gets the validation message.",
1869
+ "description": "Gets the validation message",
2073
1870
  "readonly": true
2074
1871
  },
2075
1872
  {
2076
1873
  "kind": "method",
2077
- "name": "checkValidity",
2078
- "return": {
2079
- "type": {
2080
- "text": "boolean"
1874
+ "name": "handleBlur",
1875
+ "privacy": "private"
1876
+ },
1877
+ {
1878
+ "kind": "method",
1879
+ "name": "handleFocus",
1880
+ "privacy": "private"
1881
+ },
1882
+ {
1883
+ "kind": "method",
1884
+ "name": "focus",
1885
+ "parameters": [
1886
+ {
1887
+ "name": "options",
1888
+ "optional": true,
1889
+ "type": {
1890
+ "text": "FocusOptions"
1891
+ }
2081
1892
  }
2082
- },
1893
+ ],
1894
+ "description": "Sets focus on the input."
1895
+ },
1896
+ {
1897
+ "kind": "method",
1898
+ "name": "blur",
1899
+ "description": "Removes focus from the input."
1900
+ },
1901
+ {
1902
+ "kind": "method",
1903
+ "name": "checkValidity",
2083
1904
  "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
2084
1905
  },
2085
1906
  {
2086
1907
  "kind": "method",
2087
- "name": "reportValidity",
1908
+ "name": "getForm",
2088
1909
  "return": {
2089
1910
  "type": {
2090
- "text": "boolean"
1911
+ "text": "HTMLFormElement | null"
2091
1912
  }
2092
1913
  },
1914
+ "description": "Gets the associated form, if one exists."
1915
+ },
1916
+ {
1917
+ "kind": "method",
1918
+ "name": "reportValidity",
2093
1919
  "description": "Checks for validity and shows the browser's validation message if the control is invalid."
2094
1920
  },
2095
1921
  {
@@ -2097,266 +1923,457 @@
2097
1923
  "name": "setCustomValidity",
2098
1924
  "parameters": [
2099
1925
  {
2100
- "name": "_",
1926
+ "name": "message",
2101
1927
  "type": {
2102
1928
  "text": "string"
2103
1929
  }
2104
1930
  }
2105
1931
  ],
2106
1932
  "description": "Sets a custom validation message. Pass an empty string to restore validity."
1933
+ }
1934
+ ],
1935
+ "events": [
1936
+ {
1937
+ "description": "Emitted when the control loses focus.",
1938
+ "name": "flow-ui-blur",
1939
+ "reactName": "onFlowUiBlur"
2107
1940
  },
2108
1941
  {
2109
- "kind": "method",
2110
- "name": "handleClearClick",
2111
- "parameters": [
2112
- {
2113
- "name": "event",
2114
- "type": {
2115
- "text": "MouseEvent"
2116
- }
2117
- }
2118
- ]
1942
+ "description": "Emitted when an alteration to the control's value is committed by the user.",
1943
+ "name": "flow-ui-change",
1944
+ "reactName": "onFlowUiChange"
2119
1945
  },
2120
1946
  {
2121
- "kind": "method",
2122
- "name": "focus",
2123
- "description": "Focuses on the control"
1947
+ "description": "Emitted when the clear button is activated.",
1948
+ "name": "flow-ui-clear",
1949
+ "reactName": "onFlowUiClear"
2124
1950
  },
2125
1951
  {
2126
- "kind": "method",
2127
- "name": "blur",
2128
- "description": "Blurs from the control."
1952
+ "description": "Emitted when the control gains focus.",
1953
+ "name": "flow-ui-focus",
1954
+ "reactName": "onFlowUiFocus"
2129
1955
  },
2130
1956
  {
2131
- "kind": "method",
2132
- "name": "show",
2133
- "description": "Shows the listbox."
1957
+ "description": "Emitted when the control receives input.",
1958
+ "name": "flow-ui-input",
1959
+ "reactName": "onFlowUiInput"
2134
1960
  },
2135
1961
  {
2136
- "kind": "method",
2137
- "name": "hide",
2138
- "description": "Hides the listbox."
1962
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
1963
+ "name": "flow-ui-invalid",
1964
+ "reactName": "onFlowUiInvalid"
1965
+ }
1966
+ ],
1967
+ "attributes": [
1968
+ {
1969
+ "name": "size",
1970
+ "type": {
1971
+ "text": "'small' | 'medium' | 'large'"
1972
+ },
1973
+ "default": "'medium'",
1974
+ "description": "The input's size.",
1975
+ "fieldName": "size"
2139
1976
  },
2140
1977
  {
2141
- "kind": "method",
2142
- "name": "getInputText",
2143
- "description": "Gets the current value of the text input"
1978
+ "name": "filled",
1979
+ "type": {
1980
+ "text": "boolean"
1981
+ },
1982
+ "default": "false",
1983
+ "description": "Draws a filled input.",
1984
+ "fieldName": "filled"
1985
+ },
1986
+ {
1987
+ "name": "pill",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "default": "false",
1992
+ "description": "Draws a pill-style input with rounded edges.",
1993
+ "fieldName": "pill"
1994
+ },
1995
+ {
1996
+ "name": "label",
1997
+ "type": {
1998
+ "text": "string"
1999
+ },
2000
+ "default": "''",
2001
+ "description": "The input's label. If you need to display HTML, use the `label` slot instead.",
2002
+ "fieldName": "label"
2003
+ },
2004
+ {
2005
+ "name": "help-text",
2006
+ "type": {
2007
+ "text": "string"
2008
+ },
2009
+ "default": "''",
2010
+ "description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
2011
+ "fieldName": "helpText"
2012
+ },
2013
+ {
2014
+ "name": "disabled",
2015
+ "type": {
2016
+ "text": "boolean"
2017
+ },
2018
+ "default": "false",
2019
+ "description": "Disables the input.",
2020
+ "fieldName": "disabled"
2021
+ },
2022
+ {
2023
+ "name": "form",
2024
+ "type": {
2025
+ "text": "string"
2026
+ },
2027
+ "default": "''",
2028
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2029
+ "fieldName": "form"
2030
+ },
2031
+ {
2032
+ "name": "required",
2033
+ "type": {
2034
+ "text": "boolean"
2035
+ },
2036
+ "default": "false",
2037
+ "description": "Makes the input a required field.",
2038
+ "fieldName": "required"
2039
+ },
2040
+ {
2041
+ "name": "inline",
2042
+ "type": {
2043
+ "text": "boolean"
2044
+ },
2045
+ "default": "false",
2046
+ "description": "Display the input in the 'inline' form control style.",
2047
+ "fieldName": "inline"
2048
+ },
2049
+ {
2050
+ "name": "divider",
2051
+ "type": {
2052
+ "text": "boolean"
2053
+ },
2054
+ "default": "false",
2055
+ "description": "Indicates that the control should display a divider",
2056
+ "fieldName": "divider"
2144
2057
  }
2145
2058
  ],
2146
- "events": [
2059
+ "superclass": {
2060
+ "name": "FlowRdfFormControl",
2061
+ "module": "/src/internal/flow-ui-rdf-element"
2062
+ },
2063
+ "tagName": "flow-ui-base-control",
2064
+ "summary": "Inputs collect data from the user.",
2065
+ "documentation": "https://developer.emu-analytics.net/docs/flow-ui-rdf/components/input",
2066
+ "status": "stable",
2067
+ "since": "2.0",
2068
+ "dependencies": [
2069
+ "flow-ui-divider"
2070
+ ],
2071
+ "customElement": true
2072
+ }
2073
+ ],
2074
+ "exports": [
2075
+ {
2076
+ "kind": "js",
2077
+ "name": "default",
2078
+ "declaration": {
2079
+ "name": "FlowUiBaseControl",
2080
+ "module": "components/base-control/base-control.component.js"
2081
+ }
2082
+ }
2083
+ ]
2084
+ },
2085
+ {
2086
+ "kind": "javascript-module",
2087
+ "path": "components/base-control/base-control.js",
2088
+ "declarations": [],
2089
+ "exports": [
2090
+ {
2091
+ "kind": "js",
2092
+ "name": "*",
2093
+ "declaration": {
2094
+ "name": "*",
2095
+ "package": "./base-control.component"
2096
+ }
2097
+ },
2098
+ {
2099
+ "kind": "js",
2100
+ "name": "default",
2101
+ "declaration": {
2102
+ "name": "FlowUiBaseControl",
2103
+ "module": "components/base-control/base-control.js"
2104
+ }
2105
+ }
2106
+ ]
2107
+ },
2108
+ {
2109
+ "kind": "javascript-module",
2110
+ "path": "components/breadcrumb-item/breadcrumb-item.component.js",
2111
+ "declarations": [
2112
+ {
2113
+ "kind": "class",
2114
+ "description": "",
2115
+ "name": "FlowUiBreadcrumbItem",
2116
+ "cssParts": [
2147
2117
  {
2148
- "description": "Emitted when the input text changes. When the user types, the event is emitted after the `debounce-delay`. Call `getInputText()` to read the text, for example to update the options.",
2149
- "name": "flow-ui-input",
2150
- "reactName": "onFlowUiInput"
2118
+ "description": "The component's base wrapper.",
2119
+ "name": "base"
2151
2120
  },
2152
2121
  {
2153
- "description": "Emitted when the autocomplete's value changes.",
2154
- "name": "flow-ui-change",
2155
- "reactName": "onFlowUiChange"
2122
+ "description": "The breadcrumb item's label.",
2123
+ "name": "label"
2156
2124
  },
2157
2125
  {
2158
- "description": "Emitted when the autocomplete gains focus.",
2159
- "name": "flow-ui-focus",
2160
- "reactName": "onFlowUiFocus"
2126
+ "description": "The container that wraps the prefix.",
2127
+ "name": "prefix"
2161
2128
  },
2162
2129
  {
2163
- "description": "Emitted when the autocomplete loses focus.",
2164
- "name": "flow-ui-blur",
2165
- "reactName": "onFlowUiBlur"
2130
+ "description": "The container that wraps the suffix.",
2131
+ "name": "suffix"
2166
2132
  },
2167
2133
  {
2168
- "description": "Emitted when the listbox opens.",
2169
- "name": "flow-ui-show",
2170
- "reactName": "onFlowUiShow"
2134
+ "description": "The container that wraps the separator.",
2135
+ "name": "separator"
2136
+ }
2137
+ ],
2138
+ "slots": [
2139
+ {
2140
+ "description": "The breadcrumb item's label.",
2141
+ "name": ""
2171
2142
  },
2172
2143
  {
2173
- "description": "Emitted after the listbox opens and all animations are complete.",
2174
- "name": "flow-ui-after-show",
2175
- "reactName": "onFlowUiAfterShow"
2144
+ "description": "An optional prefix, usually an icon or icon button.",
2145
+ "name": "prefix"
2176
2146
  },
2177
2147
  {
2178
- "description": "Emitted when the listbox closes.",
2179
- "name": "flow-ui-hide",
2180
- "reactName": "onFlowUiHide"
2148
+ "description": "An optional suffix, usually an icon or icon button.",
2149
+ "name": "suffix"
2181
2150
  },
2182
2151
  {
2183
- "description": "Emitted after the listbox closes and all animations are complete.",
2184
- "name": "flow-ui-after-hide",
2185
- "reactName": "onFlowUiAfterHide"
2152
+ "description": "The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.",
2153
+ "name": "separator"
2186
2154
  }
2187
2155
  ],
2188
- "attributes": [
2156
+ "members": [
2189
2157
  {
2190
- "name": "size",
2158
+ "kind": "field",
2159
+ "name": "tagName",
2191
2160
  "type": {
2192
- "text": "'small' | 'medium' | 'large'"
2161
+ "text": "string"
2193
2162
  },
2194
- "default": "'medium'",
2195
- "description": "The autocomplete's size.",
2196
- "fieldName": "size"
2163
+ "static": true,
2164
+ "default": "'flow-ui-breadcrumb-item'"
2197
2165
  },
2198
2166
  {
2199
- "name": "filled",
2200
- "type": {
2201
- "text": "boolean"
2202
- },
2203
- "default": "false",
2204
- "description": "Draws a filled autocomplete input.",
2205
- "fieldName": "filled"
2167
+ "kind": "field",
2168
+ "name": "hasSlotController",
2169
+ "privacy": "private",
2170
+ "readonly": true,
2171
+ "default": "new HasSlotController(this, 'prefix', 'suffix')"
2206
2172
  },
2207
2173
  {
2208
- "name": "pill",
2174
+ "kind": "field",
2175
+ "name": "href",
2209
2176
  "type": {
2210
- "text": "boolean"
2177
+ "text": "string | undefined"
2211
2178
  },
2212
- "default": "false",
2213
- "description": "Draws a pill-style autocomplete input with rounded edges.",
2214
- "fieldName": "pill"
2179
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
2180
+ "attribute": "href"
2215
2181
  },
2216
2182
  {
2217
- "name": "label",
2183
+ "kind": "field",
2184
+ "name": "target",
2218
2185
  "type": {
2219
- "text": "string"
2186
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
2220
2187
  },
2221
- "default": "''",
2222
- "description": "The autocomplete's label. If you need to display HTML, use the `label` slot instead.",
2223
- "fieldName": "label"
2188
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
2189
+ "attribute": "target"
2224
2190
  },
2225
2191
  {
2226
- "name": "help-text",
2192
+ "kind": "field",
2193
+ "name": "rel",
2227
2194
  "type": {
2228
2195
  "text": "string"
2229
2196
  },
2230
- "default": "''",
2231
- "description": "The autocomplete's help text. If you need to display HTML, use the `help-text` slot instead.",
2232
- "fieldName": "helpText"
2233
- },
2197
+ "default": "'noreferrer noopener'",
2198
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
2199
+ "attribute": "rel"
2200
+ }
2201
+ ],
2202
+ "attributes": [
2234
2203
  {
2235
- "name": "placeholder",
2204
+ "name": "href",
2236
2205
  "type": {
2237
- "text": "string"
2206
+ "text": "string | undefined"
2238
2207
  },
2239
- "default": "''",
2240
- "description": "The autocomplete's placeholder text.",
2241
- "fieldName": "placeholder"
2208
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
2209
+ "fieldName": "href"
2242
2210
  },
2243
2211
  {
2244
- "name": "disabled",
2212
+ "name": "target",
2245
2213
  "type": {
2246
- "text": "boolean"
2214
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
2247
2215
  },
2248
- "default": "false",
2249
- "description": "Disables the autocomplete.",
2250
- "fieldName": "disabled"
2216
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
2217
+ "fieldName": "target"
2251
2218
  },
2252
2219
  {
2253
- "name": "form",
2220
+ "name": "rel",
2254
2221
  "type": {
2255
2222
  "text": "string"
2256
2223
  },
2257
- "description": "The \"form owner\" to associate the autocomplete with. If omitted, the closest containing form will be used\ninstead. The value of this attribute must be an id of a form in the same document or shadow root as the\nautocomplete.",
2258
- "fieldName": "form"
2259
- },
2224
+ "default": "'noreferrer noopener'",
2225
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
2226
+ "fieldName": "rel"
2227
+ }
2228
+ ],
2229
+ "superclass": {
2230
+ "name": "FlowRdfElement",
2231
+ "module": "/src/internal/flow-ui-rdf-element"
2232
+ },
2233
+ "tagName": "flow-ui-breadcrumb-item",
2234
+ "summary": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.",
2235
+ "docgroup": "breadcrumb",
2236
+ "customElement": true
2237
+ }
2238
+ ],
2239
+ "exports": [
2240
+ {
2241
+ "kind": "js",
2242
+ "name": "default",
2243
+ "declaration": {
2244
+ "name": "FlowUiBreadcrumbItem",
2245
+ "module": "components/breadcrumb-item/breadcrumb-item.component.js"
2246
+ }
2247
+ }
2248
+ ]
2249
+ },
2250
+ {
2251
+ "kind": "javascript-module",
2252
+ "path": "components/breadcrumb-item/breadcrumb-item.js",
2253
+ "declarations": [],
2254
+ "exports": [
2255
+ {
2256
+ "kind": "js",
2257
+ "name": "default",
2258
+ "declaration": {
2259
+ "name": "FlowUiBreadcrumbItem",
2260
+ "module": "components/breadcrumb-item/breadcrumb-item.js"
2261
+ }
2262
+ }
2263
+ ]
2264
+ },
2265
+ {
2266
+ "kind": "javascript-module",
2267
+ "path": "components/breadcrumb/breadcrumb.component.js",
2268
+ "declarations": [
2269
+ {
2270
+ "kind": "class",
2271
+ "description": "",
2272
+ "name": "FlowUiBreadcrumb",
2273
+ "cssParts": [
2260
2274
  {
2261
- "name": "required",
2262
- "type": {
2263
- "text": "boolean"
2264
- },
2265
- "default": "false",
2266
- "description": "Makes the autocomplete a required field.",
2267
- "fieldName": "required"
2275
+ "description": "The component's base wrapper.",
2276
+ "name": "base"
2277
+ }
2278
+ ],
2279
+ "slots": [
2280
+ {
2281
+ "description": "One or more breadcrumb items to display.",
2282
+ "name": ""
2268
2283
  },
2269
2284
  {
2270
- "name": "inline",
2285
+ "description": "The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.",
2286
+ "name": "separator"
2287
+ }
2288
+ ],
2289
+ "members": [
2290
+ {
2291
+ "kind": "field",
2292
+ "name": "tagName",
2271
2293
  "type": {
2272
- "text": "boolean"
2294
+ "text": "string"
2273
2295
  },
2274
- "default": "false",
2275
- "description": "Set to `true` to display the autocomplete in the inline form control style.",
2276
- "fieldName": "inline"
2296
+ "static": true,
2297
+ "default": "'flow-ui-breadcrumb'"
2277
2298
  },
2278
2299
  {
2279
- "name": "divider",
2300
+ "kind": "field",
2301
+ "name": "dependencies",
2280
2302
  "type": {
2281
- "text": "boolean"
2303
+ "text": "array"
2282
2304
  },
2283
- "default": "false",
2284
- "description": "Set to `true` to display a divider below the control.",
2285
- "fieldName": "divider"
2305
+ "static": true,
2306
+ "default": "[FlowUiIcon]"
2286
2307
  },
2287
2308
  {
2288
- "name": "hoist",
2289
- "type": {
2290
- "text": "boolean"
2291
- },
2292
- "default": "false",
2293
- "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
2294
- "fieldName": "hoist"
2309
+ "kind": "field",
2310
+ "name": "localize",
2311
+ "privacy": "private",
2312
+ "readonly": true,
2313
+ "default": "new LocalizeController(this)"
2295
2314
  },
2296
2315
  {
2297
- "name": "placement",
2298
- "type": {
2299
- "text": "'top' | 'bottom'"
2300
- },
2301
- "default": "'bottom'",
2302
- "description": "The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox\ninside of the viewport.",
2303
- "fieldName": "placement"
2316
+ "kind": "field",
2317
+ "name": "separatorDir",
2318
+ "privacy": "private"
2304
2319
  },
2305
2320
  {
2306
- "name": "value",
2321
+ "kind": "field",
2322
+ "name": "defaultSlot",
2307
2323
  "type": {
2308
- "text": "string"
2324
+ "text": "HTMLSlotElement"
2309
2325
  },
2310
- "default": "''",
2311
- "description": "The option value of the selected option.",
2312
- "fieldName": "value"
2326
+ "privacy": "private"
2313
2327
  },
2314
2328
  {
2315
- "name": "displayWith",
2329
+ "kind": "field",
2330
+ "name": "separatorSlot",
2316
2331
  "type": {
2317
- "text": "((value: string) => string) | ((value: string) => Promise<string>)"
2332
+ "text": "HTMLSlotElement"
2318
2333
  },
2319
- "description": "The function that returns the text to show in the input for a given `value`. It can return a promise. If not set,\nthe input shows the value itself.",
2320
- "fieldName": "displayWith"
2334
+ "privacy": "private"
2321
2335
  },
2322
2336
  {
2323
- "name": "debounce-delay",
2337
+ "kind": "field",
2338
+ "name": "label",
2324
2339
  "type": {
2325
- "text": "number"
2340
+ "text": "string"
2326
2341
  },
2327
- "default": "0",
2328
- "description": "The delay in milliseconds between the user's last keystroke and the `flow-ui-input` event.",
2329
- "fieldName": "debounceDelay"
2342
+ "default": "''",
2343
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
2344
+ "attribute": "label"
2330
2345
  },
2331
2346
  {
2332
- "name": "clearable",
2333
- "type": {
2334
- "text": "boolean"
2335
- },
2336
- "default": "false",
2337
- "description": "Set to `true` to show a clear button when the autocomplete has a value.",
2338
- "fieldName": "clearable"
2347
+ "kind": "method",
2348
+ "name": "getSeparator",
2349
+ "privacy": "private"
2339
2350
  },
2340
2351
  {
2341
- "name": "clear-on-focus",
2352
+ "kind": "method",
2353
+ "name": "handleSlotChange",
2354
+ "privacy": "private"
2355
+ }
2356
+ ],
2357
+ "attributes": [
2358
+ {
2359
+ "name": "label",
2342
2360
  "type": {
2343
- "text": "boolean"
2361
+ "text": "string"
2344
2362
  },
2345
- "default": "false",
2346
- "description": "Set to `true` to clear the value when the autocomplete gains focus.",
2347
- "fieldName": "clearOnFocus"
2363
+ "default": "''",
2364
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
2365
+ "fieldName": "label"
2348
2366
  }
2349
2367
  ],
2350
2368
  "superclass": {
2351
- "name": "FlowRdfFormControl",
2369
+ "name": "FlowRdfElement",
2352
2370
  "module": "/src/internal/flow-ui-rdf-element"
2353
2371
  },
2354
- "tagName": "flow-ui-autocomplete",
2355
- "summary": "Autocompletes allow users to type into a text input and choose a value from a list of suggested [options](./flow-ui-option).",
2372
+ "tagName": "flow-ui-breadcrumb",
2373
+ "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
2374
+ "docgroup": "breadcrumb",
2356
2375
  "dependencies": [
2357
- "flow-ui-divider",
2358
- "flow-ui-icon",
2359
- "flow-ui-popup"
2376
+ "flow-ui-icon"
2360
2377
  ],
2361
2378
  "customElement": true
2362
2379
  }
@@ -2366,81 +2383,45 @@
2366
2383
  "kind": "js",
2367
2384
  "name": "default",
2368
2385
  "declaration": {
2369
- "name": "FlowUiAutocomplete",
2370
- "module": "components/autocomplete/autocomplete.component.js"
2386
+ "name": "FlowUiBreadcrumb",
2387
+ "module": "components/breadcrumb/breadcrumb.component.js"
2371
2388
  }
2372
2389
  }
2373
2390
  ]
2374
2391
  },
2375
2392
  {
2376
2393
  "kind": "javascript-module",
2377
- "path": "components/autocomplete/autocomplete.js",
2394
+ "path": "components/breadcrumb/breadcrumb.js",
2378
2395
  "declarations": [],
2379
2396
  "exports": [
2380
- {
2381
- "kind": "js",
2382
- "name": "*",
2383
- "declaration": {
2384
- "name": "*",
2385
- "package": "./autocomplete.component"
2386
- }
2387
- },
2388
2397
  {
2389
2398
  "kind": "js",
2390
2399
  "name": "default",
2391
2400
  "declaration": {
2392
- "name": "FlowUiAutocomplete",
2393
- "module": "components/autocomplete/autocomplete.js"
2401
+ "name": "FlowUiBreadcrumb",
2402
+ "module": "components/breadcrumb/breadcrumb.js"
2394
2403
  }
2395
2404
  }
2396
2405
  ]
2397
2406
  },
2398
2407
  {
2399
2408
  "kind": "javascript-module",
2400
- "path": "components/breadcrumb-item/breadcrumb-item.component.js",
2409
+ "path": "components/badge/badge.component.js",
2401
2410
  "declarations": [
2402
2411
  {
2403
2412
  "kind": "class",
2404
2413
  "description": "",
2405
- "name": "FlowUiBreadcrumbItem",
2414
+ "name": "FlowUiBadge",
2406
2415
  "cssParts": [
2407
2416
  {
2408
2417
  "description": "The component's base wrapper.",
2409
2418
  "name": "base"
2410
- },
2411
- {
2412
- "description": "The breadcrumb item's label.",
2413
- "name": "label"
2414
- },
2415
- {
2416
- "description": "The container that wraps the prefix.",
2417
- "name": "prefix"
2418
- },
2419
- {
2420
- "description": "The container that wraps the suffix.",
2421
- "name": "suffix"
2422
- },
2423
- {
2424
- "description": "The container that wraps the separator.",
2425
- "name": "separator"
2426
2419
  }
2427
2420
  ],
2428
2421
  "slots": [
2429
2422
  {
2430
- "description": "The breadcrumb item's label.",
2423
+ "description": "The badge's content.",
2431
2424
  "name": ""
2432
- },
2433
- {
2434
- "description": "An optional prefix, usually an icon or icon button.",
2435
- "name": "prefix"
2436
- },
2437
- {
2438
- "description": "An optional suffix, usually an icon or icon button.",
2439
- "name": "suffix"
2440
- },
2441
- {
2442
- "description": "The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.",
2443
- "name": "separator"
2444
2425
  }
2445
2426
  ],
2446
2427
  "members": [
@@ -2451,78 +2432,97 @@
2451
2432
  "text": "string"
2452
2433
  },
2453
2434
  "static": true,
2454
- "default": "'flow-ui-breadcrumb-item'"
2435
+ "default": "'flow-ui-badge'"
2455
2436
  },
2456
2437
  {
2457
2438
  "kind": "field",
2458
- "name": "hasSlotController",
2459
- "privacy": "private",
2460
- "readonly": true,
2461
- "default": "new HasSlotController(this, 'prefix', 'suffix')"
2439
+ "name": "variant",
2440
+ "type": {
2441
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
2442
+ },
2443
+ "default": "'primary'",
2444
+ "description": "The badge's theme variant.",
2445
+ "attribute": "variant",
2446
+ "reflects": true
2462
2447
  },
2463
2448
  {
2464
2449
  "kind": "field",
2465
- "name": "href",
2450
+ "name": "size",
2466
2451
  "type": {
2467
- "text": "string | undefined"
2452
+ "text": "'small' | 'medium' | 'large'"
2468
2453
  },
2469
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
2470
- "attribute": "href"
2454
+ "default": "'medium'",
2455
+ "description": "The badge size.",
2456
+ "attribute": "size",
2457
+ "reflects": true
2471
2458
  },
2472
2459
  {
2473
2460
  "kind": "field",
2474
- "name": "target",
2461
+ "name": "pill",
2475
2462
  "type": {
2476
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
2463
+ "text": "boolean"
2477
2464
  },
2478
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
2479
- "attribute": "target"
2465
+ "default": "false",
2466
+ "description": "Draws a pill-style badge with rounded edges.",
2467
+ "attribute": "pill",
2468
+ "reflects": true
2480
2469
  },
2481
2470
  {
2482
2471
  "kind": "field",
2483
- "name": "rel",
2472
+ "name": "pulse",
2484
2473
  "type": {
2485
- "text": "string"
2474
+ "text": "boolean"
2486
2475
  },
2487
- "default": "'noreferrer noopener'",
2488
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
2489
- "attribute": "rel"
2476
+ "default": "false",
2477
+ "description": "Makes the badge pulsate to draw attention.",
2478
+ "attribute": "pulse",
2479
+ "reflects": true
2490
2480
  }
2491
2481
  ],
2492
2482
  "attributes": [
2493
2483
  {
2494
- "name": "href",
2484
+ "name": "variant",
2495
2485
  "type": {
2496
- "text": "string | undefined"
2486
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger'"
2497
2487
  },
2498
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
2499
- "fieldName": "href"
2488
+ "default": "'primary'",
2489
+ "description": "The badge's theme variant.",
2490
+ "fieldName": "variant"
2500
2491
  },
2501
2492
  {
2502
- "name": "target",
2493
+ "name": "size",
2503
2494
  "type": {
2504
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
2495
+ "text": "'small' | 'medium' | 'large'"
2505
2496
  },
2506
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
2507
- "fieldName": "target"
2497
+ "default": "'medium'",
2498
+ "description": "The badge size.",
2499
+ "fieldName": "size"
2508
2500
  },
2509
2501
  {
2510
- "name": "rel",
2502
+ "name": "pill",
2511
2503
  "type": {
2512
- "text": "string"
2504
+ "text": "boolean"
2513
2505
  },
2514
- "default": "'noreferrer noopener'",
2515
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
2516
- "fieldName": "rel"
2506
+ "default": "false",
2507
+ "description": "Draws a pill-style badge with rounded edges.",
2508
+ "fieldName": "pill"
2509
+ },
2510
+ {
2511
+ "name": "pulse",
2512
+ "type": {
2513
+ "text": "boolean"
2514
+ },
2515
+ "default": "false",
2516
+ "description": "Makes the badge pulsate to draw attention.",
2517
+ "fieldName": "pulse"
2517
2518
  }
2518
2519
  ],
2519
2520
  "superclass": {
2520
2521
  "name": "FlowRdfElement",
2521
2522
  "module": "/src/internal/flow-ui-rdf-element"
2522
2523
  },
2523
- "tagName": "flow-ui-breadcrumb-item",
2524
- "summary": "Breadcrumb Items are used inside [breadcrumbs](./flow-ui-breadcrumb) to represent different links.",
2525
- "docgroup": "breadcrumb",
2524
+ "tagName": "flow-ui-badge",
2525
+ "summary": "Badges are used to draw attention and display statuses or counts.",
2526
2526
  "customElement": true
2527
2527
  }
2528
2528
  ],
@@ -2531,23 +2531,23 @@
2531
2531
  "kind": "js",
2532
2532
  "name": "default",
2533
2533
  "declaration": {
2534
- "name": "FlowUiBreadcrumbItem",
2535
- "module": "components/breadcrumb-item/breadcrumb-item.component.js"
2534
+ "name": "FlowUiBadge",
2535
+ "module": "components/badge/badge.component.js"
2536
2536
  }
2537
2537
  }
2538
2538
  ]
2539
2539
  },
2540
2540
  {
2541
2541
  "kind": "javascript-module",
2542
- "path": "components/breadcrumb-item/breadcrumb-item.js",
2542
+ "path": "components/badge/badge.js",
2543
2543
  "declarations": [],
2544
2544
  "exports": [
2545
2545
  {
2546
2546
  "kind": "js",
2547
2547
  "name": "default",
2548
2548
  "declaration": {
2549
- "name": "FlowUiBreadcrumbItem",
2550
- "module": "components/breadcrumb-item/breadcrumb-item.js"
2549
+ "name": "FlowUiBadge",
2550
+ "module": "components/badge/badge.js"
2551
2551
  }
2552
2552
  }
2553
2553
  ]
@@ -2802,7 +2802,7 @@
2802
2802
  "name": "formControlController",
2803
2803
  "privacy": "private",
2804
2804
  "readonly": true,
2805
- "default": "new FormControlController(this, {\n form: (input) => {\n // Buttons support a form attribute that points to an arbitrary form, so if this attribute is set we need to query\n // the form from the same root using its id\n if (input.hasAttribute('form')) {\n const doc = input.getRootNode() as Document | ShadowRoot;\n const formId = input.getAttribute('form')!;\n return doc.getElementById(formId) as HTMLFormElement;\n }\n\n // Fall back to the closest containing form\n return input.closest('form');\n },\n assumeInteractionOn: ['click']\n })"
2805
+ "default": "new FormControlController(this, {\n form: (input) => {\n // Buttons support a form attribute that points to an arbitrary form, so if this attribute is set we need to query\n // the form from the same root using its id. A button removed from the document (its root is then an element)\n // falls back to its ancestor form, as native buttons do.\n const root = input.getRootNode();\n if (input.hasAttribute('form') && (root instanceof Document || root instanceof ShadowRoot)) {\n const formId = input.getAttribute('form')!;\n return root.getElementById(formId) as HTMLFormElement;\n }\n\n // Fall back to the closest containing form\n return input.closest('form');\n },\n assumeInteractionOn: ['click']\n })"
2806
2806
  },
2807
2807
  {
2808
2808
  "kind": "field",
@@ -2840,7 +2840,7 @@
2840
2840
  "kind": "field",
2841
2841
  "name": "variant",
2842
2842
  "type": {
2843
- "text": "| 'default'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
2843
+ "text": "'default' | 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
2844
2844
  },
2845
2845
  "default": "'default'",
2846
2846
  "description": "The button's theme variant.",
@@ -3207,7 +3207,7 @@
3207
3207
  {
3208
3208
  "name": "variant",
3209
3209
  "type": {
3210
- "text": "| 'default'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
3210
+ "text": "'default' | 'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
3211
3211
  },
3212
3212
  "default": "'default'",
3213
3213
  "description": "The button's theme variant.",
@@ -4162,6 +4162,20 @@
4162
4162
  }
4163
4163
  ]
4164
4164
  },
4165
+ {
4166
+ "kind": "method",
4167
+ "name": "stopHeaderSelectEvent",
4168
+ "privacy": "private",
4169
+ "parameters": [
4170
+ {
4171
+ "name": "ev",
4172
+ "type": {
4173
+ "text": "Event"
4174
+ }
4175
+ }
4176
+ ],
4177
+ "description": "The month and year selects change the month shown, not the value, and open and close inside the calendar, so their\ninput, show and hide events go no further (they would reach a date time picker as its own)."
4178
+ },
4165
4179
  {
4166
4180
  "kind": "method",
4167
4181
  "name": "handleTimeChange",
@@ -17188,7 +17202,7 @@
17188
17202
  "kind": "field",
17189
17203
  "name": "type",
17190
17204
  "type": {
17191
- "text": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'"
17205
+ "text": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'"
17192
17206
  },
17193
17207
  "default": "'text'",
17194
17208
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
@@ -17448,9 +17462,9 @@
17448
17462
  "kind": "field",
17449
17463
  "name": "autocorrect",
17450
17464
  "type": {
17451
- "text": "'off' | 'on'"
17465
+ "text": "boolean"
17452
17466
  },
17453
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
17467
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
17454
17468
  "attribute": "autocorrect"
17455
17469
  },
17456
17470
  {
@@ -17842,7 +17856,7 @@
17842
17856
  {
17843
17857
  "name": "type",
17844
17858
  "type": {
17845
- "text": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'"
17859
+ "text": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'"
17846
17860
  },
17847
17861
  "default": "'text'",
17848
17862
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
@@ -18060,9 +18074,9 @@
18060
18074
  {
18061
18075
  "name": "autocorrect",
18062
18076
  "type": {
18063
- "text": "'off' | 'on'"
18077
+ "text": "boolean"
18064
18078
  },
18065
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
18079
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
18066
18080
  "fieldName": "autocorrect"
18067
18081
  },
18068
18082
  {
@@ -18998,14 +19012,44 @@
18998
19012
  },
18999
19013
  "privacy": "private"
19000
19014
  },
19015
+ {
19016
+ "kind": "field",
19017
+ "name": "_mapContainer",
19018
+ "type": {
19019
+ "text": "HTMLElement | undefined"
19020
+ },
19021
+ "privacy": "private"
19022
+ },
19023
+ {
19024
+ "kind": "field",
19025
+ "name": "_build",
19026
+ "type": {
19027
+ "text": "MapBuild | undefined"
19028
+ },
19029
+ "privacy": "private"
19030
+ },
19031
+ {
19032
+ "kind": "field",
19033
+ "name": "_abandonedBuilds",
19034
+ "privacy": "private",
19035
+ "default": "new Set<MapBuild>()"
19036
+ },
19001
19037
  {
19002
19038
  "kind": "field",
19003
19039
  "name": "_initialized",
19004
19040
  "type": {
19005
19041
  "text": "Promise<FlowCoreMap>"
19006
19042
  },
19043
+ "privacy": "private"
19044
+ },
19045
+ {
19046
+ "kind": "field",
19047
+ "name": "_initializedResolved",
19048
+ "type": {
19049
+ "text": "boolean"
19050
+ },
19007
19051
  "privacy": "private",
19008
- "default": "new Promise<FlowCoreMap>((resolve) => {\n this._resolveInitialized = resolve;\n })"
19052
+ "default": "false"
19009
19053
  },
19010
19054
  {
19011
19055
  "kind": "field",
@@ -19137,6 +19181,16 @@
19137
19181
  "description": "Set fade duration in milliseconds for the label collision fade-in/fade-out animation.",
19138
19182
  "attribute": "fade-duration"
19139
19183
  },
19184
+ {
19185
+ "kind": "field",
19186
+ "name": "keepAlive",
19187
+ "type": {
19188
+ "text": "boolean"
19189
+ },
19190
+ "default": "false",
19191
+ "description": "Set to `true` to keep the map when the element is removed from the document, for example when an Angular route\nreuse strategy stashes the view that holds it, so that it is shown again, without reloading, when the element is\nput back.\n\nThe `FlowCoreMap` is kept with its map data sources, map layers, plugins and camera, and the element emits no\nsecond `flow-ui-map-load` event. A kept map keeps following application state while the element is detached, so\nchanges made meanwhile are drawn when it is put back.\n\nNote that a kept map is only destroyed by `destroy()`: call it when the application discards an element with a\nkept map, or the map and its WebGL context are never freed. The Angular `FlowMap` component does this when it is\ndestroyed.",
19192
+ "attribute": "keep-alive"
19193
+ },
19140
19194
  {
19141
19195
  "kind": "field",
19142
19196
  "name": "map",
@@ -19158,8 +19212,38 @@
19158
19212
  },
19159
19213
  {
19160
19214
  "kind": "method",
19161
- "name": "initializeMap",
19215
+ "name": "destroy",
19216
+ "privacy": "public",
19217
+ "return": {
19218
+ "type": {
19219
+ "text": "void"
19220
+ }
19221
+ },
19222
+ "description": "Destroys the map, which frees its WebGL context and stops it following application state, and removes its\ncontainer from the element. `map` is then `undefined` and `initialized` waits for a new map. A map that is still\nbeing built is destroyed as soon as it exists, with no `flow-ui-map-load` event.\n\nThe element builds a new map when it is next connected to the document, not before. Call this method when the\napplication discards an element with `keep-alive`; without it, the element calls it when it is removed from the\ndocument. Calling it on an element with no map does nothing."
19223
+ },
19224
+ {
19225
+ "kind": "method",
19226
+ "name": "resetInitialized",
19162
19227
  "privacy": "private"
19228
+ },
19229
+ {
19230
+ "kind": "method",
19231
+ "name": "initializeMap",
19232
+ "privacy": "private",
19233
+ "return": {
19234
+ "type": {
19235
+ "text": "Promise<FlowCoreMap | undefined>"
19236
+ }
19237
+ },
19238
+ "parameters": [
19239
+ {
19240
+ "name": "build",
19241
+ "type": {
19242
+ "text": "MapBuild"
19243
+ }
19244
+ }
19245
+ ],
19246
+ "description": "Builds a map in a new container in the map slot. Resolves to `undefined`, with the map destroyed, if `destroy()`\nabandoned the build while the map was being created."
19163
19247
  }
19164
19248
  ],
19165
19249
  "events": [
@@ -19167,7 +19251,7 @@
19167
19251
  "type": {
19168
19252
  "text": "CustomEvent<{ map: FlowCoreMap }>"
19169
19253
  },
19170
- "description": "Dispatched when the map is first initialized and has completed loading. The Flo.w Core map instance can be retrieved from the event `detail` property.",
19254
+ "description": "Emitted when a map that the element builds has been initialized and has completed loading. It is emitted once for each map: again when the element is removed from the document and put back without `keep-alive` (it builds a new map), and not when it is put back with `keep-alive` (it keeps its map). The `FlowCoreMap` instance can be retrieved from the event `detail` property.",
19171
19255
  "name": "flow-ui-map-load",
19172
19256
  "reactName": "onFlowUiMapLoad"
19173
19257
  }
@@ -19259,6 +19343,15 @@
19259
19343
  "default": "300",
19260
19344
  "description": "Set fade duration in milliseconds for the label collision fade-in/fade-out animation.",
19261
19345
  "fieldName": "fadeDuration"
19346
+ },
19347
+ {
19348
+ "name": "keep-alive",
19349
+ "type": {
19350
+ "text": "boolean"
19351
+ },
19352
+ "default": "false",
19353
+ "description": "Set to `true` to keep the map when the element is removed from the document, for example when an Angular route\nreuse strategy stashes the view that holds it, so that it is shown again, without reloading, when the element is\nput back.\n\nThe `FlowCoreMap` is kept with its map data sources, map layers, plugins and camera, and the element emits no\nsecond `flow-ui-map-load` event. A kept map keeps following application state while the element is detached, so\nchanges made meanwhile are drawn when it is put back.\n\nNote that a kept map is only destroyed by `destroy()`: call it when the application discards an element with a\nkept map, or the map and its WebGL context are never freed. The Angular `FlowMap` component does this when it is\ndestroyed.",
19354
+ "fieldName": "keepAlive"
19262
19355
  }
19263
19356
  ],
19264
19357
  "superclass": {
@@ -28659,7 +28752,7 @@
28659
28752
  "kind": "field",
28660
28753
  "name": "variant",
28661
28754
  "type": {
28662
- "text": "| 'primary'\n | 'secondary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
28755
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
28663
28756
  },
28664
28757
  "default": "'neutral'",
28665
28758
  "description": "The tag's theme variant.",
@@ -28715,7 +28808,7 @@
28715
28808
  {
28716
28809
  "name": "variant",
28717
28810
  "type": {
28718
- "text": "| 'primary'\n | 'secondary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
28811
+ "text": "'primary' | 'secondary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
28719
28812
  },
28720
28813
  "default": "'neutral'",
28721
28814
  "description": "The tag's theme variant.",
@@ -29047,9 +29140,9 @@
29047
29140
  "kind": "field",
29048
29141
  "name": "autocorrect",
29049
29142
  "type": {
29050
- "text": "string"
29143
+ "text": "boolean"
29051
29144
  },
29052
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
29145
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
29053
29146
  "attribute": "autocorrect"
29054
29147
  },
29055
29148
  {
@@ -29466,9 +29559,9 @@
29466
29559
  {
29467
29560
  "name": "autocorrect",
29468
29561
  "type": {
29469
- "text": "string"
29562
+ "text": "boolean"
29470
29563
  },
29471
- "description": "Indicates whether the browser's autocorrect feature is on or off.",
29564
+ "description": "Set to `false` to turn off the browser's autocorrect feature, or `true` to turn it on. The `autocorrect` attribute\ntakes `on` or `off`. If not set, the browser's default is used.",
29472
29565
  "fieldName": "autocorrect"
29473
29566
  },
29474
29567
  {
@@ -32752,6 +32845,6 @@
32752
32845
  ],
32753
32846
  "package": {
32754
32847
  "name": "@emuanalytics/flow-rdf-ui",
32755
- "version": "4.3.0"
32848
+ "version": "4.4.0"
32756
32849
  }
32757
32850
  }