@genesislcap/foundation-zero 14.451.5-alpha-ec85af7.0 → 14.452.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31376,7 +31376,7 @@
31376
31376
  },
31377
31377
  {
31378
31378
  "kind": "javascript-module",
31379
- "path": "src/search-bar/index.ts",
31379
+ "path": "src/section-navigator/index.ts",
31380
31380
  "declarations": [],
31381
31381
  "exports": [
31382
31382
  {
@@ -31384,39 +31384,7 @@
31384
31384
  "name": "*",
31385
31385
  "declaration": {
31386
31386
  "name": "*",
31387
- "package": "./search-bar"
31388
- }
31389
- },
31390
- {
31391
- "kind": "js",
31392
- "name": "*",
31393
- "declaration": {
31394
- "name": "*",
31395
- "package": "./search-bar.styles"
31396
- }
31397
- },
31398
- {
31399
- "kind": "js",
31400
- "name": "*",
31401
- "declaration": {
31402
- "name": "*",
31403
- "package": "./search-bar.template"
31404
- }
31405
- },
31406
- {
31407
- "kind": "js",
31408
- "name": "*",
31409
- "declaration": {
31410
- "name": "*",
31411
- "package": "./search-bar-combobox"
31412
- }
31413
- },
31414
- {
31415
- "kind": "js",
31416
- "name": "*",
31417
- "declaration": {
31418
- "name": "*",
31419
- "package": "./search-bar-combobox.styles"
31387
+ "package": "./section-navigator"
31420
31388
  }
31421
31389
  },
31422
31390
  {
@@ -31424,23 +31392,18 @@
31424
31392
  "name": "*",
31425
31393
  "declaration": {
31426
31394
  "name": "*",
31427
- "package": "./search-bar-combobox.template"
31395
+ "package": "./section-navigator.styles"
31428
31396
  }
31429
31397
  }
31430
31398
  ]
31431
31399
  },
31432
31400
  {
31433
31401
  "kind": "javascript-module",
31434
- "path": "src/search-bar/search-bar-combobox.styles.ts",
31402
+ "path": "src/section-navigator/section-navigator.styles.ts",
31435
31403
  "declarations": [
31436
31404
  {
31437
31405
  "kind": "function",
31438
- "name": "zeroSearchBarComboboxStyles",
31439
- "return": {
31440
- "type": {
31441
- "text": "ElementStyles"
31442
- }
31443
- },
31406
+ "name": "zeroSectionNavigatorStyles",
31444
31407
  "parameters": [
31445
31408
  {
31446
31409
  "name": "context",
@@ -31460,697 +31423,710 @@
31460
31423
  "exports": [
31461
31424
  {
31462
31425
  "kind": "js",
31463
- "name": "zeroSearchBarComboboxStyles",
31464
- "declaration": {
31465
- "name": "zeroSearchBarComboboxStyles",
31466
- "module": "src/search-bar/search-bar-combobox.styles.ts"
31467
- }
31468
- }
31469
- ]
31470
- },
31471
- {
31472
- "kind": "javascript-module",
31473
- "path": "src/search-bar/search-bar-combobox.template.ts",
31474
- "declarations": [
31475
- {
31476
- "kind": "function",
31477
- "name": "zeroSearchBarComboboxTemplate",
31478
- "return": {
31479
- "type": {
31480
- "text": "ViewTemplate<SearchBarCombobox>"
31481
- }
31482
- },
31483
- "parameters": [
31484
- {
31485
- "name": "context",
31486
- "type": {
31487
- "text": "ElementDefinitionContext"
31488
- }
31489
- },
31490
- {
31491
- "name": "definition",
31492
- "type": {
31493
- "text": "ComboboxOptions"
31494
- }
31495
- }
31496
- ]
31497
- }
31498
- ],
31499
- "exports": [
31500
- {
31501
- "kind": "js",
31502
- "name": "zeroSearchBarComboboxTemplate",
31426
+ "name": "zeroSectionNavigatorStyles",
31503
31427
  "declaration": {
31504
- "name": "zeroSearchBarComboboxTemplate",
31505
- "module": "src/search-bar/search-bar-combobox.template.ts"
31428
+ "name": "zeroSectionNavigatorStyles",
31429
+ "module": "src/section-navigator/section-navigator.styles.ts"
31506
31430
  }
31507
31431
  }
31508
31432
  ]
31509
31433
  },
31510
31434
  {
31511
31435
  "kind": "javascript-module",
31512
- "path": "src/search-bar/search-bar-combobox.ts",
31436
+ "path": "src/section-navigator/section-navigator.ts",
31513
31437
  "declarations": [
31514
31438
  {
31515
31439
  "kind": "class",
31516
31440
  "description": "",
31517
- "name": "SearchBarCombobox",
31441
+ "name": "SectionNavigator",
31518
31442
  "superclass": {
31519
- "name": "FoundationSearchBarCombobox",
31443
+ "name": "FoundationSectionNavigator",
31520
31444
  "package": "@genesislcap/foundation-ui"
31521
31445
  },
31522
- "tagName": "%%prefix%%-search-bar-combobox",
31446
+ "tagName": "%%prefix%%-section-navigator",
31523
31447
  "customElement": true,
31524
31448
  "attributes": [
31525
31449
  {
31526
- "name": "minlength",
31450
+ "description": "Array of section items to display",
31451
+ "name": "sections",
31452
+ "inheritedFrom": {
31453
+ "name": "SectionNavigator",
31454
+ "module": "src/section-navigator/section-navigator.ts"
31455
+ }
31456
+ },
31457
+ {
31458
+ "name": "scroll-behavior",
31527
31459
  "type": {
31528
- "text": "number"
31460
+ "text": "'view' | 'top'"
31529
31461
  },
31530
- "default": "COMBO_INPUT_MIN_LENGTH",
31462
+ "default": "'top'",
31463
+ "fieldName": "scrollBehavior",
31464
+ "description": "Scroll behavior: 'view' or 'top' (default: 'top')",
31465
+ "inheritedFrom": {
31466
+ "name": "SectionNavigator",
31467
+ "module": "src/section-navigator/section-navigator.ts"
31468
+ }
31469
+ },
31470
+ {
31471
+ "name": "state-tooltips",
31472
+ "type": {
31473
+ "text": "Record<SectionItemStateName, string>"
31474
+ },
31475
+ "default": "DEFAULT_SECTION_STATES_TOOLTIPS",
31531
31476
  "resolveInitializer": {
31532
- "module": "/src/search-bar/search-bar.types"
31477
+ "module": "src/section-navigator/section-navigator.ts"
31533
31478
  },
31534
- "fieldName": "minlength",
31479
+ "fieldName": "stateTooltips",
31480
+ "description": "Custom tooltips for state icons",
31535
31481
  "inheritedFrom": {
31536
- "name": "SearchBarCombobox",
31537
- "module": "src/search-bar/search-bar-combobox.ts"
31482
+ "name": "SectionNavigator",
31483
+ "module": "src/section-navigator/section-navigator.ts"
31538
31484
  }
31539
31485
  },
31540
31486
  {
31541
- "name": "autocomplete",
31487
+ "name": "state-icons",
31542
31488
  "type": {
31543
- "text": "ComboboxAutocomplete | undefined"
31489
+ "text": "Record<SectionItemStateName, SectionItemStateIcon>"
31544
31490
  },
31545
- "description": "The autocomplete attribute.",
31546
- "fieldName": "autocomplete",
31491
+ "default": "DEFAULT_SECTION_STATES_ICONS",
31492
+ "resolveInitializer": {
31493
+ "module": "src/section-navigator/section-navigator.ts"
31494
+ },
31495
+ "fieldName": "stateIcons",
31496
+ "description": "Custom icons for state types",
31547
31497
  "inheritedFrom": {
31548
- "name": "SearchBarCombobox",
31549
- "module": "src/search-bar/search-bar-combobox.ts"
31498
+ "name": "SectionNavigator",
31499
+ "module": "src/section-navigator/section-navigator.ts"
31550
31500
  }
31551
31501
  },
31552
31502
  {
31553
- "name": "open",
31503
+ "name": "disable-auto-scroll-detection",
31554
31504
  "type": {
31555
31505
  "text": "boolean"
31556
31506
  },
31557
31507
  "default": "false",
31558
- "description": "The open attribute.",
31559
- "fieldName": "open",
31508
+ "fieldName": "disableAutoScrollDetection",
31509
+ "description": "Disable automatic active section detection during scrolling (default: false) When enabled, automatically updates active section based on scroll position. User clicks are prioritized - clicked section remains active until scroll ends.",
31560
31510
  "inheritedFrom": {
31561
- "name": "SearchBarCombobox",
31562
- "module": "src/search-bar/search-bar-combobox.ts"
31511
+ "name": "SectionNavigator",
31512
+ "module": "src/section-navigator/section-navigator.ts"
31563
31513
  }
31564
- },
31514
+ }
31515
+ ],
31516
+ "members": [
31565
31517
  {
31566
- "name": "placeholder",
31518
+ "kind": "field",
31519
+ "name": "sections",
31567
31520
  "type": {
31568
- "text": "string"
31521
+ "text": "SectionItem[]"
31569
31522
  },
31570
- "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
31571
- "fieldName": "placeholder",
31523
+ "default": "[]",
31572
31524
  "inheritedFrom": {
31573
- "name": "SearchBarCombobox",
31574
- "module": "src/search-bar/search-bar-combobox.ts"
31525
+ "name": "SectionNavigator",
31526
+ "module": "src/section-navigator/section-navigator.ts"
31575
31527
  }
31576
31528
  },
31577
31529
  {
31578
- "name": "position",
31530
+ "kind": "field",
31531
+ "name": "scrollBehavior",
31579
31532
  "type": {
31580
- "text": "SelectPosition | undefined"
31533
+ "text": "'view' | 'top'"
31581
31534
  },
31582
- "description": "The placement for the listbox when the combobox is open.",
31583
- "fieldName": "positionAttribute",
31535
+ "default": "'top'",
31584
31536
  "inheritedFrom": {
31585
- "name": "SearchBarCombobox",
31586
- "module": "src/search-bar/search-bar-combobox.ts"
31537
+ "name": "SectionNavigator",
31538
+ "module": "src/section-navigator/section-navigator.ts"
31587
31539
  }
31588
31540
  },
31589
31541
  {
31542
+ "kind": "field",
31543
+ "name": "stateTooltips",
31590
31544
  "type": {
31591
- "text": "boolean"
31545
+ "text": "Record<SectionItemStateName, string>"
31592
31546
  },
31593
- "default": "false",
31594
- "fieldName": "disabled",
31595
- "description": "The disabled state of the listbox.",
31547
+ "default": "{\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending',\n disabled: 'Disabled',\n error: 'Error',\n completed: 'Completed',\n}",
31596
31548
  "inheritedFrom": {
31597
- "name": "Combobox",
31598
- "module": "src/combobox/combobox.ts"
31549
+ "name": "SectionNavigator",
31550
+ "module": "src/section-navigator/section-navigator.ts"
31599
31551
  }
31600
31552
  },
31601
31553
  {
31602
- "name": "debounce",
31554
+ "kind": "field",
31555
+ "name": "stateIcons",
31603
31556
  "type": {
31604
- "text": "number"
31605
- },
31606
- "default": "DEBOUNCE_TIME",
31607
- "resolveInitializer": {
31608
- "module": "src/combobox/combobox.ts"
31557
+ "text": "Record<SectionItemStateName, SectionItemStateIcon>"
31609
31558
  },
31610
- "fieldName": "debounce",
31559
+ "default": "{\n active: {\n name: 'circle-dot',\n variant: 'solid',\n },\n inactive: {\n name: 'times-circle',\n variant: 'regular',\n },\n pending: {\n name: 'clock',\n variant: 'solid',\n },\n disabled: {\n name: 'ban',\n variant: 'solid',\n },\n error: {\n name: 'times',\n variant: 'solid',\n },\n completed: {\n name: 'check',\n variant: 'solid',\n },\n}",
31611
31560
  "inheritedFrom": {
31612
- "name": "Combobox",
31613
- "module": "src/combobox/combobox.ts"
31561
+ "name": "SectionNavigator",
31562
+ "module": "src/section-navigator/section-navigator.ts"
31614
31563
  }
31615
31564
  },
31616
31565
  {
31617
- "name": "case-sensitive",
31566
+ "kind": "field",
31567
+ "name": "disableAutoScrollDetection",
31618
31568
  "type": {
31619
31569
  "text": "boolean"
31620
31570
  },
31621
31571
  "default": "false",
31622
- "description": "Controls whether to perform a case-sensitive search in the list of options",
31623
- "fieldName": "caseSensitive",
31624
31572
  "inheritedFrom": {
31625
- "name": "Combobox",
31626
- "module": "src/combobox/combobox.ts"
31573
+ "name": "SectionNavigator",
31574
+ "module": "src/section-navigator/section-navigator.ts"
31627
31575
  }
31628
31576
  },
31629
31577
  {
31630
- "name": "ignore-input-click",
31578
+ "kind": "field",
31579
+ "name": "handleSetStateRef",
31631
31580
  "type": {
31632
- "text": "boolean"
31581
+ "text": "(event: CustomEvent<SetStateEventDetail>) => void | undefined"
31633
31582
  },
31634
- "default": "false",
31635
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
31636
- "fieldName": "ignoreInputClick",
31583
+ "privacy": "private",
31637
31584
  "inheritedFrom": {
31638
- "name": "Combobox",
31639
- "module": "src/combobox/combobox.ts"
31585
+ "name": "SectionNavigator",
31586
+ "module": "src/section-navigator/section-navigator.ts"
31640
31587
  }
31641
31588
  },
31642
31589
  {
31643
- "name": "filter-mode",
31590
+ "kind": "field",
31591
+ "name": "handleSetStatesRef",
31644
31592
  "type": {
31645
- "text": "FilterMode"
31593
+ "text": "(event: CustomEvent<SetStatesEventDetail>) => void | undefined"
31646
31594
  },
31647
- "default": "'startsWith'",
31648
- "description": "Controls whether to filter by contains or startsWith",
31649
- "fieldName": "filterMode",
31595
+ "privacy": "private",
31650
31596
  "inheritedFrom": {
31651
- "name": "Combobox",
31652
- "module": "src/combobox/combobox.ts"
31597
+ "name": "SectionNavigator",
31598
+ "module": "src/section-navigator/section-navigator.ts"
31653
31599
  }
31654
31600
  },
31655
31601
  {
31656
- "name": "scroll-to-selected-when-opening",
31602
+ "kind": "field",
31603
+ "name": "handleClearStateRef",
31657
31604
  "type": {
31658
- "text": "boolean"
31605
+ "text": "(event: CustomEvent<ClearStateEventDetail>) => void | undefined"
31659
31606
  },
31660
- "default": "false",
31661
- "description": "Controls whether the combobox should always scroll to the selected option when the dropdown is opened",
31662
- "fieldName": "scrollToSelectedWhenOpening",
31607
+ "privacy": "private",
31663
31608
  "inheritedFrom": {
31664
- "name": "Combobox",
31665
- "module": "src/combobox/combobox.ts"
31609
+ "name": "SectionNavigator",
31610
+ "module": "src/section-navigator/section-navigator.ts"
31666
31611
  }
31667
31612
  },
31668
31613
  {
31669
- "name": "scroll-when-selection-changes",
31614
+ "kind": "field",
31615
+ "name": "handleClearAllStatesRef",
31670
31616
  "type": {
31671
- "text": "boolean"
31617
+ "text": "(event: CustomEvent<ClearAllStatesEventDetail>) => void | undefined"
31672
31618
  },
31673
- "default": "false",
31674
- "description": "Controls whether the combobox should scroll to the selected option when the selection changes",
31675
- "fieldName": "scrollWhenSelectionChanges",
31619
+ "privacy": "private",
31676
31620
  "inheritedFrom": {
31677
- "name": "Combobox",
31678
- "module": "src/combobox/combobox.ts"
31621
+ "name": "SectionNavigator",
31622
+ "module": "src/section-navigator/section-navigator.ts"
31679
31623
  }
31680
- }
31681
- ],
31682
- "members": [
31624
+ },
31683
31625
  {
31684
31626
  "kind": "field",
31685
- "name": "minlength",
31627
+ "name": "handleGenericStateEventRef",
31686
31628
  "type": {
31687
- "text": "number"
31629
+ "text": "(event: CustomEvent<any>) => void | undefined"
31688
31630
  },
31689
- "default": "COMBO_INPUT_MIN_LENGTH",
31631
+ "privacy": "private",
31690
31632
  "inheritedFrom": {
31691
- "name": "SearchBarCombobox",
31692
- "module": "src/search-bar/search-bar-combobox.ts"
31633
+ "name": "SectionNavigator",
31634
+ "module": "src/section-navigator/section-navigator.ts"
31693
31635
  }
31694
31636
  },
31695
31637
  {
31696
31638
  "kind": "field",
31697
- "name": "previousLength",
31639
+ "name": "userClickedSection",
31698
31640
  "type": {
31699
- "text": "number"
31641
+ "text": "boolean"
31700
31642
  },
31701
31643
  "privacy": "private",
31702
- "default": "-1",
31644
+ "default": "false",
31703
31645
  "inheritedFrom": {
31704
- "name": "SearchBarCombobox",
31705
- "module": "src/search-bar/search-bar-combobox.ts"
31646
+ "name": "SectionNavigator",
31647
+ "module": "src/section-navigator/section-navigator.ts"
31706
31648
  }
31707
31649
  },
31708
31650
  {
31709
31651
  "kind": "field",
31710
- "name": "changeListener",
31652
+ "name": "scrollEndHandler",
31653
+ "type": {
31654
+ "text": "() => void | undefined"
31655
+ },
31711
31656
  "privacy": "private",
31712
31657
  "inheritedFrom": {
31713
- "name": "SearchBarCombobox",
31714
- "module": "src/search-bar/search-bar-combobox.ts"
31658
+ "name": "SectionNavigator",
31659
+ "module": "src/section-navigator/section-navigator.ts"
31715
31660
  }
31716
31661
  },
31717
31662
  {
31718
- "kind": "method",
31719
- "name": "clickHandler",
31720
- "privacy": "public",
31721
- "return": {
31722
- "type": {
31723
- "text": "boolean | void"
31724
- }
31663
+ "kind": "field",
31664
+ "name": "isUserScrolling",
31665
+ "type": {
31666
+ "text": "boolean"
31725
31667
  },
31726
- "parameters": [
31727
- {
31728
- "name": "e",
31729
- "type": {
31730
- "text": "any"
31731
- }
31732
- }
31733
- ],
31668
+ "privacy": "private",
31669
+ "default": "false",
31734
31670
  "inheritedFrom": {
31735
- "name": "Combobox",
31736
- "module": "src/combobox/combobox.ts"
31671
+ "name": "SectionNavigator",
31672
+ "module": "src/section-navigator/section-navigator.ts"
31737
31673
  }
31738
31674
  },
31739
31675
  {
31740
- "kind": "method",
31741
- "name": "keyupHandler",
31742
- "privacy": "public",
31743
- "return": {
31744
- "type": {
31745
- "text": "boolean | void"
31746
- }
31676
+ "kind": "field",
31677
+ "name": "scrollCheckHandler",
31678
+ "type": {
31679
+ "text": "() => void | undefined"
31747
31680
  },
31748
- "parameters": [
31749
- {
31750
- "name": "e",
31751
- "type": {
31752
- "text": "KeyboardEvent"
31753
- }
31754
- }
31755
- ],
31681
+ "privacy": "private",
31756
31682
  "inheritedFrom": {
31757
- "name": "Combobox",
31758
- "module": "src/combobox/combobox.ts"
31683
+ "name": "SectionNavigator",
31684
+ "module": "src/section-navigator/section-navigator.ts"
31759
31685
  }
31760
31686
  },
31761
31687
  {
31762
- "kind": "method",
31763
- "name": "keydownHandler",
31764
- "privacy": "public",
31765
- "return": {
31766
- "type": {
31767
- "text": "boolean | void"
31768
- }
31688
+ "kind": "field",
31689
+ "name": "scrollDebounceTimeout",
31690
+ "type": {
31691
+ "text": "number | undefined"
31769
31692
  },
31770
- "parameters": [
31771
- {
31772
- "name": "e",
31773
- "type": {
31774
- "text": "Event & KeyboardEvent"
31775
- }
31776
- }
31777
- ],
31693
+ "privacy": "private",
31778
31694
  "inheritedFrom": {
31779
- "name": "Combobox",
31780
- "module": "src/combobox/combobox.ts"
31695
+ "name": "SectionNavigator",
31696
+ "module": "src/section-navigator/section-navigator.ts"
31781
31697
  }
31782
31698
  },
31783
31699
  {
31784
- "kind": "method",
31785
- "name": "inputHandler",
31786
- "return": {
31787
- "type": {
31788
- "text": "boolean | void"
31789
- }
31700
+ "kind": "field",
31701
+ "name": "SCROLL_END_TIMEOUT",
31702
+ "type": {
31703
+ "text": "number"
31790
31704
  },
31791
- "parameters": [
31792
- {
31793
- "name": "e",
31794
- "type": {
31795
- "text": "InputEvent"
31796
- }
31797
- }
31798
- ],
31799
- "inheritedFrom": {
31800
- "name": "Combobox",
31801
- "module": "src/combobox/combobox.ts"
31802
- }
31803
- },
31804
- {
31805
- "kind": "method",
31806
- "name": "openChanged",
31705
+ "privacy": "private",
31706
+ "static": true,
31707
+ "readonly": true,
31708
+ "default": "150",
31807
31709
  "inheritedFrom": {
31808
- "name": "Combobox",
31809
- "module": "src/combobox/combobox.ts"
31710
+ "name": "SectionNavigator",
31711
+ "module": "src/section-navigator/section-navigator.ts"
31810
31712
  }
31811
31713
  },
31812
31714
  {
31813
31715
  "kind": "field",
31814
- "name": "autocomplete",
31716
+ "name": "SCROLL_DEBOUNCE_TIMEOUT",
31815
31717
  "type": {
31816
- "text": "ComboboxAutocomplete | undefined"
31718
+ "text": "number"
31817
31719
  },
31818
- "description": "The autocomplete attribute.",
31819
- "privacy": "public",
31720
+ "privacy": "private",
31721
+ "static": true,
31722
+ "readonly": true,
31723
+ "default": "100",
31820
31724
  "inheritedFrom": {
31821
- "name": "SearchBarCombobox",
31822
- "module": "src/search-bar/search-bar-combobox.ts"
31725
+ "name": "SectionNavigator",
31726
+ "module": "src/section-navigator/section-navigator.ts"
31823
31727
  }
31824
31728
  },
31825
31729
  {
31826
- "kind": "field",
31827
- "name": "filteredOptions",
31828
- "type": {
31829
- "text": "ListboxOption[]"
31830
- },
31831
- "privacy": "public",
31832
- "default": "[]",
31833
- "description": "The collection of currently filtered options.",
31730
+ "kind": "method",
31731
+ "name": "sectionsChanged",
31834
31732
  "inheritedFrom": {
31835
- "name": "SearchBarCombobox",
31836
- "module": "src/search-bar/search-bar-combobox.ts"
31733
+ "name": "SectionNavigator",
31734
+ "module": "src/section-navigator/section-navigator.ts"
31837
31735
  }
31838
31736
  },
31839
31737
  {
31840
31738
  "kind": "method",
31841
- "name": "validate",
31842
- "privacy": "public",
31843
- "return": {
31844
- "type": {
31845
- "text": "void"
31846
- }
31847
- },
31848
- "description": "{@inheritDoc (FormAssociated:interface).validate}",
31739
+ "name": "disableAutoScrollDetectionChanged",
31849
31740
  "inheritedFrom": {
31850
- "name": "SearchBarCombobox",
31851
- "module": "src/search-bar/search-bar-combobox.ts"
31741
+ "name": "SectionNavigator",
31742
+ "module": "src/section-navigator/section-navigator.ts"
31852
31743
  }
31853
31744
  },
31854
31745
  {
31855
- "kind": "field",
31856
- "name": "isAutocompleteInline",
31857
- "type": {
31858
- "text": "boolean"
31859
- },
31860
- "privacy": "private",
31746
+ "kind": "method",
31747
+ "name": "scrollBehaviorChanged",
31861
31748
  "inheritedFrom": {
31862
- "name": "SearchBarCombobox",
31863
- "module": "src/search-bar/search-bar-combobox.ts"
31749
+ "name": "SectionNavigator",
31750
+ "module": "src/section-navigator/section-navigator.ts"
31864
31751
  }
31865
31752
  },
31866
31753
  {
31867
31754
  "kind": "field",
31868
- "name": "isAutocompleteList",
31755
+ "name": "sectionItems",
31869
31756
  "type": {
31870
- "text": "boolean"
31757
+ "text": "SectionItem[]"
31871
31758
  },
31872
- "privacy": "private",
31759
+ "default": "[]",
31873
31760
  "inheritedFrom": {
31874
- "name": "SearchBarCombobox",
31875
- "module": "src/search-bar/search-bar-combobox.ts"
31761
+ "name": "SectionNavigator",
31762
+ "module": "src/section-navigator/section-navigator.ts"
31876
31763
  }
31877
31764
  },
31878
31765
  {
31879
31766
  "kind": "field",
31880
- "name": "isAutocompleteBoth",
31767
+ "name": "activeSection",
31881
31768
  "type": {
31882
- "text": "boolean"
31769
+ "text": "string"
31883
31770
  },
31884
- "privacy": "private",
31771
+ "default": "''",
31885
31772
  "inheritedFrom": {
31886
- "name": "SearchBarCombobox",
31887
- "module": "src/search-bar/search-bar-combobox.ts"
31773
+ "name": "SectionNavigator",
31774
+ "module": "src/section-navigator/section-navigator.ts"
31888
31775
  }
31889
31776
  },
31890
31777
  {
31891
31778
  "kind": "field",
31892
- "name": "open",
31779
+ "name": "sectionNavigatorContainer",
31893
31780
  "type": {
31894
- "text": "boolean"
31781
+ "text": "HTMLElement"
31895
31782
  },
31896
- "privacy": "public",
31897
- "default": "false",
31898
- "description": "The open attribute.",
31899
31783
  "inheritedFrom": {
31900
- "name": "SearchBarCombobox",
31901
- "module": "src/search-bar/search-bar-combobox.ts"
31784
+ "name": "SectionNavigator",
31785
+ "module": "src/section-navigator/section-navigator.ts"
31902
31786
  }
31903
31787
  },
31904
31788
  {
31905
31789
  "kind": "field",
31906
- "name": "options",
31790
+ "name": "sectionContent",
31907
31791
  "type": {
31908
- "text": "ListboxOption[]"
31792
+ "text": "HTMLElement"
31909
31793
  },
31910
- "privacy": "public",
31911
- "description": "The list of options.",
31912
31794
  "inheritedFrom": {
31913
- "name": "SearchBarCombobox",
31914
- "module": "src/search-bar/search-bar-combobox.ts"
31795
+ "name": "SectionNavigator",
31796
+ "module": "src/section-navigator/section-navigator.ts"
31915
31797
  }
31916
31798
  },
31917
31799
  {
31918
31800
  "kind": "field",
31919
- "name": "placeholder",
31801
+ "name": "spacerElement",
31920
31802
  "type": {
31921
- "text": "string"
31803
+ "text": "HTMLElement | undefined"
31922
31804
  },
31923
- "privacy": "public",
31924
- "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
31805
+ "privacy": "private",
31925
31806
  "inheritedFrom": {
31926
- "name": "SearchBarCombobox",
31927
- "module": "src/search-bar/search-bar-combobox.ts"
31807
+ "name": "SectionNavigator",
31808
+ "module": "src/section-navigator/section-navigator.ts"
31928
31809
  }
31929
31810
  },
31930
31811
  {
31931
- "kind": "field",
31932
- "name": "positionAttribute",
31933
- "type": {
31934
- "text": "SelectPosition | undefined"
31935
- },
31936
- "privacy": "public",
31937
- "description": "The placement for the listbox when the combobox is open.",
31812
+ "kind": "method",
31813
+ "name": "setSectionItems",
31814
+ "privacy": "private",
31938
31815
  "inheritedFrom": {
31939
- "name": "SearchBarCombobox",
31940
- "module": "src/search-bar/search-bar-combobox.ts"
31816
+ "name": "SectionNavigator",
31817
+ "module": "src/section-navigator/section-navigator.ts"
31941
31818
  }
31942
31819
  },
31943
31820
  {
31944
- "kind": "field",
31945
- "name": "position",
31946
- "type": {
31947
- "text": "SelectPosition | undefined"
31948
- },
31949
- "privacy": "public",
31950
- "description": "The current state of the calculated position of the listbox.",
31821
+ "kind": "method",
31822
+ "name": "setActiveSection",
31823
+ "privacy": "private",
31951
31824
  "inheritedFrom": {
31952
- "name": "SearchBarCombobox",
31953
- "module": "src/search-bar/search-bar-combobox.ts"
31825
+ "name": "SectionNavigator",
31826
+ "module": "src/section-navigator/section-navigator.ts"
31954
31827
  }
31955
31828
  },
31956
31829
  {
31957
31830
  "kind": "method",
31958
- "name": "positionChanged",
31959
- "privacy": "protected",
31960
- "return": {
31961
- "type": {
31962
- "text": "void"
31963
- }
31964
- },
31831
+ "name": "handleSectionClick",
31832
+ "privacy": "public",
31965
31833
  "parameters": [
31966
31834
  {
31967
- "name": "prev",
31968
- "type": {
31969
- "text": "SelectPosition | undefined"
31970
- }
31971
- },
31972
- {
31973
- "name": "next",
31835
+ "name": "sectionName",
31974
31836
  "type": {
31975
- "text": "SelectPosition | undefined"
31837
+ "text": "string"
31976
31838
  }
31977
31839
  }
31978
31840
  ],
31979
31841
  "inheritedFrom": {
31980
- "name": "SearchBarCombobox",
31981
- "module": "src/search-bar/search-bar-combobox.ts"
31842
+ "name": "SectionNavigator",
31843
+ "module": "src/section-navigator/section-navigator.ts"
31982
31844
  }
31983
31845
  },
31984
31846
  {
31985
- "kind": "field",
31986
- "name": "value",
31987
- "privacy": "public",
31988
- "description": "The value property.",
31847
+ "kind": "method",
31848
+ "name": "updateSpacer",
31849
+ "privacy": "private",
31989
31850
  "inheritedFrom": {
31990
- "name": "Combobox",
31991
- "module": "src/combobox/combobox.ts"
31851
+ "name": "SectionNavigator",
31852
+ "module": "src/section-navigator/section-navigator.ts"
31992
31853
  }
31993
31854
  },
31994
31855
  {
31995
31856
  "kind": "method",
31996
- "name": "filterOptions",
31997
- "privacy": "public",
31998
- "return": {
31999
- "type": {
32000
- "text": "void"
31857
+ "name": "scrollToSection",
31858
+ "privacy": "private",
31859
+ "parameters": [
31860
+ {
31861
+ "name": "sectionName",
31862
+ "type": {
31863
+ "text": "string"
31864
+ }
32001
31865
  }
32002
- },
32003
- "description": "Filter available options by text value.",
31866
+ ],
32004
31867
  "inheritedFrom": {
32005
- "name": "Combobox",
32006
- "module": "src/combobox/combobox.ts"
31868
+ "name": "SectionNavigator",
31869
+ "module": "src/section-navigator/section-navigator.ts"
32007
31870
  }
32008
31871
  },
32009
31872
  {
32010
31873
  "kind": "method",
32011
- "name": "setPositioning",
32012
- "privacy": "public",
32013
- "return": {
32014
- "type": {
32015
- "text": "void"
32016
- }
32017
- },
32018
- "description": "Calculate and apply listbox positioning based on available viewport space.",
32019
- "parameters": [
32020
- {
32021
- "description": "direction to force the listbox to display",
32022
- "name": "force"
32023
- }
32024
- ],
31874
+ "name": "updateScrollDetection",
31875
+ "privacy": "private",
32025
31876
  "inheritedFrom": {
32026
- "name": "SearchBarCombobox",
32027
- "module": "src/search-bar/search-bar-combobox.ts"
31877
+ "name": "SectionNavigator",
31878
+ "module": "src/section-navigator/section-navigator.ts"
32028
31879
  }
32029
31880
  },
32030
31881
  {
32031
- "kind": "field",
32032
- "name": "proxy",
31882
+ "kind": "method",
31883
+ "name": "setupScrollDetection",
31884
+ "privacy": "private",
32033
31885
  "inheritedFrom": {
32034
- "name": "SearchBarCombobox",
32035
- "module": "src/search-bar/search-bar-combobox.ts"
31886
+ "name": "SectionNavigator",
31887
+ "module": "src/section-navigator/section-navigator.ts"
32036
31888
  }
32037
31889
  },
32038
31890
  {
32039
- "kind": "field",
32040
- "name": "length",
32041
- "type": {
32042
- "text": "number"
32043
- },
32044
- "privacy": "public",
32045
- "description": "The number of options.",
31891
+ "kind": "method",
31892
+ "name": "updateActiveSectionBasedOnScrollPosition",
31893
+ "privacy": "private",
32046
31894
  "inheritedFrom": {
32047
- "name": "SearchBarCombobox",
32048
- "module": "src/search-bar/search-bar-combobox.ts"
31895
+ "name": "SectionNavigator",
31896
+ "module": "src/section-navigator/section-navigator.ts"
32049
31897
  }
32050
31898
  },
32051
31899
  {
32052
- "kind": "field",
32053
- "name": "typeAheadExpired",
32054
- "privacy": "protected",
31900
+ "kind": "method",
31901
+ "name": "setupScrollEndDetection",
31902
+ "privacy": "private",
32055
31903
  "inheritedFrom": {
32056
- "name": "SearchBarCombobox",
32057
- "module": "src/search-bar/search-bar-combobox.ts"
31904
+ "name": "SectionNavigator",
31905
+ "module": "src/section-navigator/section-navigator.ts"
32058
31906
  }
32059
31907
  },
32060
31908
  {
32061
- "kind": "field",
32062
- "name": "disabled",
32063
- "type": {
32064
- "text": "boolean"
32065
- },
32066
- "privacy": "public",
32067
- "description": "The disabled state of the listbox.",
31909
+ "kind": "method",
31910
+ "name": "cleanupScrollEndDetection",
31911
+ "privacy": "private",
32068
31912
  "inheritedFrom": {
32069
- "name": "SearchBarCombobox",
32070
- "module": "src/search-bar/search-bar-combobox.ts"
31913
+ "name": "SectionNavigator",
31914
+ "module": "src/section-navigator/section-navigator.ts"
32071
31915
  }
32072
31916
  },
32073
31917
  {
32074
- "kind": "field",
32075
- "name": "selectedIndex",
32076
- "type": {
32077
- "text": "number"
32078
- },
32079
- "privacy": "public",
32080
- "default": "-1",
32081
- "description": "The index of the selected option.",
31918
+ "kind": "method",
31919
+ "name": "cleanupScrollDetection",
31920
+ "privacy": "private",
32082
31921
  "inheritedFrom": {
32083
- "name": "SearchBarCombobox",
32084
- "module": "src/search-bar/search-bar-combobox.ts"
31922
+ "name": "SectionNavigator",
31923
+ "module": "src/section-navigator/section-navigator.ts"
32085
31924
  }
32086
31925
  },
32087
31926
  {
32088
- "kind": "field",
32089
- "name": "selectedOptions",
32090
- "type": {
32091
- "text": "ListboxOption[]"
32092
- },
32093
- "privacy": "public",
32094
- "default": "[]",
32095
- "description": "A collection of the selected options.",
31927
+ "kind": "method",
31928
+ "name": "setupStateEventListeners",
31929
+ "privacy": "private",
32096
31930
  "inheritedFrom": {
32097
- "name": "SearchBarCombobox",
32098
- "module": "src/search-bar/search-bar-combobox.ts"
31931
+ "name": "SectionNavigator",
31932
+ "module": "src/section-navigator/section-navigator.ts"
32099
31933
  }
32100
31934
  },
32101
31935
  {
32102
- "kind": "field",
32103
- "name": "slottedOptionFilter",
32104
- "privacy": "public",
32105
- "static": true,
32106
- "description": "A static filter to include only selectable options.",
31936
+ "kind": "method",
31937
+ "name": "updateSectionStates",
31938
+ "privacy": "private",
32107
31939
  "parameters": [
32108
31940
  {
32109
- "description": "element to filter",
32110
- "name": "n"
31941
+ "name": "sectionName",
31942
+ "type": {
31943
+ "text": "string"
31944
+ }
31945
+ },
31946
+ {
31947
+ "name": "newStates",
31948
+ "type": {
31949
+ "text": "SectionItemStateName[]"
31950
+ }
32111
31951
  }
32112
31952
  ],
32113
31953
  "inheritedFrom": {
32114
- "name": "SearchBarCombobox",
32115
- "module": "src/search-bar/search-bar-combobox.ts"
31954
+ "name": "SectionNavigator",
31955
+ "module": "src/section-navigator/section-navigator.ts"
32116
31956
  }
32117
31957
  },
32118
31958
  {
32119
31959
  "kind": "method",
32120
- "name": "selectFirstOption",
32121
- "privacy": "public",
32122
- "return": {
32123
- "type": {
32124
- "text": "void"
31960
+ "name": "addState",
31961
+ "privacy": "private",
31962
+ "parameters": [
31963
+ {
31964
+ "name": "sectionName",
31965
+ "type": {
31966
+ "text": "string"
31967
+ }
31968
+ },
31969
+ {
31970
+ "name": "stateName",
31971
+ "type": {
31972
+ "text": "SectionItemStateName"
31973
+ }
32125
31974
  }
32126
- },
32127
- "description": "Moves focus to the first selectable option.",
31975
+ ],
32128
31976
  "inheritedFrom": {
32129
- "name": "SearchBarCombobox",
32130
- "module": "src/search-bar/search-bar-combobox.ts"
31977
+ "name": "SectionNavigator",
31978
+ "module": "src/section-navigator/section-navigator.ts"
32131
31979
  }
32132
31980
  },
32133
31981
  {
32134
31982
  "kind": "method",
32135
- "name": "setSelectedOptions",
32136
- "privacy": "public",
32137
- "description": "Sets an option as selected and gives it focus.",
32138
- "inheritedFrom": {
32139
- "name": "SearchBarCombobox",
32140
- "module": "src/search-bar/search-bar-combobox.ts"
32141
- }
32142
- },
32143
- {
32144
- "kind": "field",
32145
- "name": "_presentation",
32146
- "type": {
32147
- "text": "ComponentPresentation | null | undefined"
32148
- },
31983
+ "name": "addStates",
32149
31984
  "privacy": "private",
32150
- "default": "void 0",
31985
+ "parameters": [
31986
+ {
31987
+ "name": "sectionName",
31988
+ "type": {
31989
+ "text": "string"
31990
+ }
31991
+ },
31992
+ {
31993
+ "name": "stateNames",
31994
+ "type": {
31995
+ "text": "SectionItemStateName[]"
31996
+ }
31997
+ }
31998
+ ],
32151
31999
  "inheritedFrom": {
32152
- "name": "SearchBarCombobox",
32153
- "module": "src/search-bar/search-bar-combobox.ts"
32000
+ "name": "SectionNavigator",
32001
+ "module": "src/section-navigator/section-navigator.ts"
32002
+ }
32003
+ },
32004
+ {
32005
+ "kind": "method",
32006
+ "name": "clearState",
32007
+ "privacy": "private",
32008
+ "parameters": [
32009
+ {
32010
+ "name": "sectionName",
32011
+ "type": {
32012
+ "text": "string"
32013
+ }
32014
+ },
32015
+ {
32016
+ "name": "stateName",
32017
+ "type": {
32018
+ "text": "SectionItemStateName"
32019
+ }
32020
+ }
32021
+ ],
32022
+ "inheritedFrom": {
32023
+ "name": "SectionNavigator",
32024
+ "module": "src/section-navigator/section-navigator.ts"
32025
+ }
32026
+ },
32027
+ {
32028
+ "kind": "method",
32029
+ "name": "clearAllStates",
32030
+ "privacy": "private",
32031
+ "parameters": [
32032
+ {
32033
+ "name": "sectionName",
32034
+ "type": {
32035
+ "text": "string"
32036
+ }
32037
+ }
32038
+ ],
32039
+ "inheritedFrom": {
32040
+ "name": "SectionNavigator",
32041
+ "module": "src/section-navigator/section-navigator.ts"
32042
+ }
32043
+ },
32044
+ {
32045
+ "kind": "method",
32046
+ "name": "clearAllStatesInAllSections",
32047
+ "privacy": "private",
32048
+ "inheritedFrom": {
32049
+ "name": "SectionNavigator",
32050
+ "module": "src/section-navigator/section-navigator.ts"
32051
+ }
32052
+ },
32053
+ {
32054
+ "kind": "method",
32055
+ "name": "getStateTooltip",
32056
+ "privacy": "public",
32057
+ "return": {
32058
+ "type": {
32059
+ "text": "string"
32060
+ }
32061
+ },
32062
+ "parameters": [
32063
+ {
32064
+ "name": "stateName",
32065
+ "type": {
32066
+ "text": "SectionItemStateName"
32067
+ }
32068
+ }
32069
+ ],
32070
+ "inheritedFrom": {
32071
+ "name": "SectionNavigator",
32072
+ "module": "src/section-navigator/section-navigator.ts"
32073
+ }
32074
+ },
32075
+ {
32076
+ "kind": "method",
32077
+ "name": "getSectionStateClass",
32078
+ "privacy": "public",
32079
+ "return": {
32080
+ "type": {
32081
+ "text": "string"
32082
+ }
32083
+ },
32084
+ "parameters": [
32085
+ {
32086
+ "name": "section",
32087
+ "type": {
32088
+ "text": "SectionItem"
32089
+ }
32090
+ }
32091
+ ],
32092
+ "inheritedFrom": {
32093
+ "name": "SectionNavigator",
32094
+ "module": "src/section-navigator/section-navigator.ts"
32095
+ }
32096
+ },
32097
+ {
32098
+ "kind": "method",
32099
+ "name": "getStateIcon",
32100
+ "privacy": "public",
32101
+ "return": {
32102
+ "type": {
32103
+ "text": "SectionItemStateIcon"
32104
+ }
32105
+ },
32106
+ "parameters": [
32107
+ {
32108
+ "name": "stateName",
32109
+ "type": {
32110
+ "text": "SectionItemStateName"
32111
+ }
32112
+ }
32113
+ ],
32114
+ "inheritedFrom": {
32115
+ "name": "SectionNavigator",
32116
+ "module": "src/section-navigator/section-navigator.ts"
32117
+ }
32118
+ },
32119
+ {
32120
+ "kind": "field",
32121
+ "name": "_presentation",
32122
+ "type": {
32123
+ "text": "ComponentPresentation | null | undefined"
32124
+ },
32125
+ "privacy": "private",
32126
+ "default": "void 0",
32127
+ "inheritedFrom": {
32128
+ "name": "FoundationElement",
32129
+ "module": "src/foundation-element/foundation-element.ts"
32154
32130
  }
32155
32131
  },
32156
32132
  {
@@ -32162,8 +32138,8 @@
32162
32138
  "privacy": "public",
32163
32139
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
32164
32140
  "inheritedFrom": {
32165
- "name": "SearchBarCombobox",
32166
- "module": "src/search-bar/search-bar-combobox.ts"
32141
+ "name": "FoundationElement",
32142
+ "module": "src/foundation-element/foundation-element.ts"
32167
32143
  }
32168
32144
  },
32169
32145
  {
@@ -32175,8 +32151,8 @@
32175
32151
  "privacy": "public",
32176
32152
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
32177
32153
  "inheritedFrom": {
32178
- "name": "SearchBarCombobox",
32179
- "module": "src/search-bar/search-bar-combobox.ts"
32154
+ "name": "FoundationElement",
32155
+ "module": "src/foundation-element/foundation-element.ts"
32180
32156
  }
32181
32157
  },
32182
32158
  {
@@ -32189,8 +32165,8 @@
32189
32165
  }
32190
32166
  },
32191
32167
  "inheritedFrom": {
32192
- "name": "SearchBarCombobox",
32193
- "module": "src/search-bar/search-bar-combobox.ts"
32168
+ "name": "FoundationElement",
32169
+ "module": "src/foundation-element/foundation-element.ts"
32194
32170
  }
32195
32171
  },
32196
32172
  {
@@ -32202,8 +32178,8 @@
32202
32178
  "privacy": "public",
32203
32179
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
32204
32180
  "inheritedFrom": {
32205
- "name": "SearchBarCombobox",
32206
- "module": "src/search-bar/search-bar-combobox.ts"
32181
+ "name": "FoundationElement",
32182
+ "module": "src/foundation-element/foundation-element.ts"
32207
32183
  }
32208
32184
  },
32209
32185
  {
@@ -32216,8 +32192,8 @@
32216
32192
  }
32217
32193
  },
32218
32194
  "inheritedFrom": {
32219
- "name": "SearchBarCombobox",
32220
- "module": "src/search-bar/search-bar-combobox.ts"
32195
+ "name": "FoundationElement",
32196
+ "module": "src/foundation-element/foundation-element.ts"
32221
32197
  }
32222
32198
  },
32223
32199
  {
@@ -32247,730 +32223,834 @@
32247
32223
  ],
32248
32224
  "description": "Defines an element registry function with a set of element definition defaults.",
32249
32225
  "inheritedFrom": {
32250
- "name": "SearchBarCombobox",
32251
- "module": "src/search-bar/search-bar-combobox.ts"
32252
- }
32253
- },
32254
- {
32255
- "kind": "field",
32256
- "name": "_ourValue",
32257
- "type": {
32258
- "text": "string"
32259
- },
32260
- "privacy": "private",
32261
- "inheritedFrom": {
32262
- "name": "Combobox",
32263
- "module": "src/combobox/combobox.ts"
32264
- }
32265
- },
32266
- {
32267
- "kind": "field",
32268
- "name": "#indicator",
32269
- "privacy": "private",
32270
- "type": {
32271
- "text": "Element"
32272
- },
32273
- "inheritedFrom": {
32274
- "name": "Combobox",
32275
- "module": "src/combobox/combobox.ts"
32276
- }
32277
- },
32278
- {
32279
- "kind": "field",
32280
- "name": "#wasOpenOnEnterDown",
32281
- "privacy": "private",
32282
- "type": {
32283
- "text": "boolean"
32284
- },
32285
- "default": "false",
32286
- "inheritedFrom": {
32287
- "name": "Combobox",
32288
- "module": "src/combobox/combobox.ts"
32226
+ "name": "FoundationElement",
32227
+ "module": "src/foundation-element/foundation-element.ts"
32289
32228
  }
32290
- },
32229
+ }
32230
+ ],
32231
+ "events": [
32291
32232
  {
32292
- "kind": "field",
32293
- "name": "needManualChangeEventDispatch",
32294
- "type": {
32295
- "text": "boolean"
32296
- },
32297
- "privacy": "private",
32298
- "default": "false",
32233
+ "description": "Fired when a child state event is re-dispatched with an inferred section name",
32234
+ "name": "section-navigator-set-state",
32299
32235
  "inheritedFrom": {
32300
- "name": "Combobox",
32301
- "module": "src/combobox/combobox.ts"
32236
+ "name": "SectionNavigator",
32237
+ "module": "src/section-navigator/section-navigator.ts"
32302
32238
  }
32303
32239
  },
32304
32240
  {
32305
- "kind": "field",
32306
- "name": "activeDescendant",
32307
- "readonly": true,
32241
+ "description": "Fired when a child state event is re-dispatched with an inferred section name",
32242
+ "name": "section-navigator-set-states",
32308
32243
  "inheritedFrom": {
32309
- "name": "Combobox",
32310
- "module": "src/combobox/combobox.ts"
32244
+ "name": "SectionNavigator",
32245
+ "module": "src/section-navigator/section-navigator.ts"
32311
32246
  }
32312
32247
  },
32313
32248
  {
32314
- "kind": "field",
32315
- "name": "slottedDatasource",
32316
- "type": {
32317
- "text": "HTMLSlotElement"
32318
- },
32249
+ "description": "Fired when a child state event is re-dispatched with an inferred section name",
32250
+ "name": "section-navigator-clear-state",
32319
32251
  "inheritedFrom": {
32320
- "name": "Combobox",
32321
- "module": "src/combobox/combobox.ts"
32252
+ "name": "SectionNavigator",
32253
+ "module": "src/section-navigator/section-navigator.ts"
32322
32254
  }
32323
32255
  },
32324
32256
  {
32325
- "kind": "field",
32326
- "name": "async",
32327
- "type": {
32328
- "text": "boolean"
32329
- },
32330
- "default": "false",
32257
+ "description": "Fired when a child state event is re-dispatched with an inferred section name",
32258
+ "name": "section-navigator-clear-all-states",
32331
32259
  "inheritedFrom": {
32332
- "name": "Combobox",
32333
- "module": "src/combobox/combobox.ts"
32260
+ "name": "SectionNavigator",
32261
+ "module": "src/section-navigator/section-navigator.ts"
32262
+ }
32263
+ }
32264
+ ]
32265
+ },
32266
+ {
32267
+ "kind": "variable",
32268
+ "name": "zeroSectionNavigator"
32269
+ }
32270
+ ],
32271
+ "exports": [
32272
+ {
32273
+ "kind": "js",
32274
+ "name": "SectionNavigator",
32275
+ "declaration": {
32276
+ "name": "SectionNavigator",
32277
+ "module": "src/section-navigator/section-navigator.ts"
32278
+ }
32279
+ },
32280
+ {
32281
+ "kind": "js",
32282
+ "name": "zeroSectionNavigator",
32283
+ "declaration": {
32284
+ "name": "zeroSectionNavigator",
32285
+ "module": "src/section-navigator/section-navigator.ts"
32286
+ }
32287
+ }
32288
+ ]
32289
+ },
32290
+ {
32291
+ "kind": "javascript-module",
32292
+ "path": "src/search-bar/index.ts",
32293
+ "declarations": [],
32294
+ "exports": [
32295
+ {
32296
+ "kind": "js",
32297
+ "name": "*",
32298
+ "declaration": {
32299
+ "name": "*",
32300
+ "package": "./search-bar"
32301
+ }
32302
+ },
32303
+ {
32304
+ "kind": "js",
32305
+ "name": "*",
32306
+ "declaration": {
32307
+ "name": "*",
32308
+ "package": "./search-bar.styles"
32309
+ }
32310
+ },
32311
+ {
32312
+ "kind": "js",
32313
+ "name": "*",
32314
+ "declaration": {
32315
+ "name": "*",
32316
+ "package": "./search-bar.template"
32317
+ }
32318
+ },
32319
+ {
32320
+ "kind": "js",
32321
+ "name": "*",
32322
+ "declaration": {
32323
+ "name": "*",
32324
+ "package": "./search-bar-combobox"
32325
+ }
32326
+ },
32327
+ {
32328
+ "kind": "js",
32329
+ "name": "*",
32330
+ "declaration": {
32331
+ "name": "*",
32332
+ "package": "./search-bar-combobox.styles"
32333
+ }
32334
+ },
32335
+ {
32336
+ "kind": "js",
32337
+ "name": "*",
32338
+ "declaration": {
32339
+ "name": "*",
32340
+ "package": "./search-bar-combobox.template"
32341
+ }
32342
+ }
32343
+ ]
32344
+ },
32345
+ {
32346
+ "kind": "javascript-module",
32347
+ "path": "src/search-bar/search-bar-combobox.styles.ts",
32348
+ "declarations": [
32349
+ {
32350
+ "kind": "function",
32351
+ "name": "zeroSearchBarComboboxStyles",
32352
+ "return": {
32353
+ "type": {
32354
+ "text": "ElementStyles"
32355
+ }
32356
+ },
32357
+ "parameters": [
32358
+ {
32359
+ "name": "context",
32360
+ "type": {
32361
+ "text": "ElementDefinitionContext"
32334
32362
  }
32335
32363
  },
32336
32364
  {
32337
- "kind": "field",
32338
- "name": "debounce",
32365
+ "name": "definition",
32339
32366
  "type": {
32340
- "text": "number"
32341
- },
32342
- "default": "500",
32343
- "inheritedFrom": {
32344
- "name": "Combobox",
32345
- "module": "src/combobox/combobox.ts"
32367
+ "text": "FoundationElementDefinition"
32368
+ }
32369
+ }
32370
+ ]
32371
+ }
32372
+ ],
32373
+ "exports": [
32374
+ {
32375
+ "kind": "js",
32376
+ "name": "zeroSearchBarComboboxStyles",
32377
+ "declaration": {
32378
+ "name": "zeroSearchBarComboboxStyles",
32379
+ "module": "src/search-bar/search-bar-combobox.styles.ts"
32380
+ }
32381
+ }
32382
+ ]
32383
+ },
32384
+ {
32385
+ "kind": "javascript-module",
32386
+ "path": "src/search-bar/search-bar-combobox.template.ts",
32387
+ "declarations": [
32388
+ {
32389
+ "kind": "function",
32390
+ "name": "zeroSearchBarComboboxTemplate",
32391
+ "return": {
32392
+ "type": {
32393
+ "text": "ViewTemplate<SearchBarCombobox>"
32394
+ }
32395
+ },
32396
+ "parameters": [
32397
+ {
32398
+ "name": "context",
32399
+ "type": {
32400
+ "text": "ElementDefinitionContext"
32346
32401
  }
32347
32402
  },
32348
32403
  {
32349
- "kind": "method",
32350
- "name": "debounceChanged",
32351
- "parameters": [
32352
- {
32353
- "name": "oldValue"
32354
- },
32355
- {
32356
- "name": "newValue",
32357
- "type": {
32358
- "text": "number"
32359
- }
32360
- }
32361
- ],
32404
+ "name": "definition",
32405
+ "type": {
32406
+ "text": "ComboboxOptions"
32407
+ }
32408
+ }
32409
+ ]
32410
+ }
32411
+ ],
32412
+ "exports": [
32413
+ {
32414
+ "kind": "js",
32415
+ "name": "zeroSearchBarComboboxTemplate",
32416
+ "declaration": {
32417
+ "name": "zeroSearchBarComboboxTemplate",
32418
+ "module": "src/search-bar/search-bar-combobox.template.ts"
32419
+ }
32420
+ }
32421
+ ]
32422
+ },
32423
+ {
32424
+ "kind": "javascript-module",
32425
+ "path": "src/search-bar/search-bar-combobox.ts",
32426
+ "declarations": [
32427
+ {
32428
+ "kind": "class",
32429
+ "description": "",
32430
+ "name": "SearchBarCombobox",
32431
+ "superclass": {
32432
+ "name": "FoundationSearchBarCombobox",
32433
+ "package": "@genesislcap/foundation-ui"
32434
+ },
32435
+ "tagName": "%%prefix%%-search-bar-combobox",
32436
+ "customElement": true,
32437
+ "attributes": [
32438
+ {
32439
+ "name": "minlength",
32440
+ "type": {
32441
+ "text": "number"
32442
+ },
32443
+ "default": "COMBO_INPUT_MIN_LENGTH",
32444
+ "resolveInitializer": {
32445
+ "module": "/src/search-bar/search-bar.types"
32446
+ },
32447
+ "fieldName": "minlength",
32362
32448
  "inheritedFrom": {
32363
- "name": "Combobox",
32364
- "module": "src/combobox/combobox.ts"
32449
+ "name": "SearchBarCombobox",
32450
+ "module": "src/search-bar/search-bar-combobox.ts"
32365
32451
  }
32366
32452
  },
32367
32453
  {
32368
- "kind": "field",
32369
- "name": "debouncedInputHandler",
32454
+ "name": "autocomplete",
32455
+ "type": {
32456
+ "text": "ComboboxAutocomplete | undefined"
32457
+ },
32458
+ "description": "The autocomplete attribute.",
32459
+ "fieldName": "autocomplete",
32370
32460
  "inheritedFrom": {
32371
- "name": "Combobox",
32372
- "module": "src/combobox/combobox.ts"
32461
+ "name": "SearchBarCombobox",
32462
+ "module": "src/search-bar/search-bar-combobox.ts"
32373
32463
  }
32374
32464
  },
32375
32465
  {
32376
- "kind": "field",
32377
- "name": "caseSensitive",
32466
+ "name": "open",
32378
32467
  "type": {
32379
32468
  "text": "boolean"
32380
32469
  },
32381
- "privacy": "public",
32382
32470
  "default": "false",
32383
- "description": "Controls whether to perform a case-sensitive search in the list of options",
32471
+ "description": "The open attribute.",
32472
+ "fieldName": "open",
32384
32473
  "inheritedFrom": {
32385
- "name": "Combobox",
32386
- "module": "src/combobox/combobox.ts"
32474
+ "name": "SearchBarCombobox",
32475
+ "module": "src/search-bar/search-bar-combobox.ts"
32387
32476
  }
32388
32477
  },
32389
32478
  {
32390
- "kind": "field",
32391
- "name": "ignoreInputClick",
32479
+ "name": "placeholder",
32392
32480
  "type": {
32393
- "text": "boolean"
32481
+ "text": "string"
32394
32482
  },
32395
- "privacy": "public",
32396
- "default": "false",
32397
- "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
32483
+ "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
32484
+ "fieldName": "placeholder",
32398
32485
  "inheritedFrom": {
32399
- "name": "Combobox",
32400
- "module": "src/combobox/combobox.ts"
32486
+ "name": "SearchBarCombobox",
32487
+ "module": "src/search-bar/search-bar-combobox.ts"
32401
32488
  }
32402
32489
  },
32403
32490
  {
32404
- "kind": "field",
32405
- "name": "filterMode",
32491
+ "name": "position",
32406
32492
  "type": {
32407
- "text": "FilterMode"
32493
+ "text": "SelectPosition | undefined"
32408
32494
  },
32409
- "privacy": "public",
32410
- "default": "'startsWith'",
32411
- "description": "Controls whether to filter by contains or startsWith",
32495
+ "description": "The placement for the listbox when the combobox is open.",
32496
+ "fieldName": "positionAttribute",
32412
32497
  "inheritedFrom": {
32413
- "name": "Combobox",
32414
- "module": "src/combobox/combobox.ts"
32498
+ "name": "SearchBarCombobox",
32499
+ "module": "src/search-bar/search-bar-combobox.ts"
32415
32500
  }
32416
32501
  },
32417
32502
  {
32418
- "kind": "field",
32419
- "name": "scrollToSelectedWhenOpening",
32420
32503
  "type": {
32421
32504
  "text": "boolean"
32422
32505
  },
32423
32506
  "default": "false",
32424
- "description": "Controls whether the combobox should always scroll to the selected option when the dropdown is opened",
32507
+ "fieldName": "disabled",
32508
+ "description": "The disabled state of the listbox.",
32425
32509
  "inheritedFrom": {
32426
32510
  "name": "Combobox",
32427
32511
  "module": "src/combobox/combobox.ts"
32428
32512
  }
32429
32513
  },
32430
32514
  {
32431
- "kind": "field",
32432
- "name": "scrollToSelectedWhenOpeningOptions",
32515
+ "name": "debounce",
32433
32516
  "type": {
32434
- "text": "boolean | ScrollIntoViewOptions"
32517
+ "text": "number"
32435
32518
  },
32436
- "default": "{\n behavior: 'auto',\n block: 'nearest',\n }",
32437
- "description": "Options for scrolling to the selected option when the dropdown is opened",
32519
+ "default": "DEBOUNCE_TIME",
32520
+ "resolveInitializer": {
32521
+ "module": "src/combobox/combobox.ts"
32522
+ },
32523
+ "fieldName": "debounce",
32438
32524
  "inheritedFrom": {
32439
32525
  "name": "Combobox",
32440
32526
  "module": "src/combobox/combobox.ts"
32441
32527
  }
32442
32528
  },
32443
32529
  {
32444
- "kind": "field",
32445
- "name": "scrollWhenSelectionChanges",
32530
+ "name": "case-sensitive",
32446
32531
  "type": {
32447
32532
  "text": "boolean"
32448
32533
  },
32449
32534
  "default": "false",
32450
- "description": "Controls whether the combobox should scroll to the selected option when the selection changes",
32535
+ "description": "Controls whether to perform a case-sensitive search in the list of options",
32536
+ "fieldName": "caseSensitive",
32451
32537
  "inheritedFrom": {
32452
32538
  "name": "Combobox",
32453
32539
  "module": "src/combobox/combobox.ts"
32454
32540
  }
32455
32541
  },
32456
32542
  {
32457
- "kind": "field",
32458
- "name": "scrollWhenSelectionChangesOptions",
32543
+ "name": "ignore-input-click",
32459
32544
  "type": {
32460
- "text": "boolean | ScrollIntoViewOptions"
32545
+ "text": "boolean"
32461
32546
  },
32462
- "default": "{\n behavior: 'auto',\n block: 'center',\n }",
32463
- "description": "Options for scrolling to the selected option when the selection changes",
32547
+ "default": "false",
32548
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
32549
+ "fieldName": "ignoreInputClick",
32464
32550
  "inheritedFrom": {
32465
32551
  "name": "Combobox",
32466
32552
  "module": "src/combobox/combobox.ts"
32467
32553
  }
32468
32554
  },
32469
32555
  {
32470
- "kind": "method",
32471
- "name": "slottedOptionsChanged",
32472
- "privacy": "public",
32473
- "return": {
32474
- "type": {
32475
- "text": "void"
32476
- }
32556
+ "name": "filter-mode",
32557
+ "type": {
32558
+ "text": "FilterMode"
32477
32559
  },
32478
- "parameters": [
32479
- {
32480
- "name": "prev",
32481
- "type": {
32482
- "text": "Element[] | undefined"
32483
- }
32484
- },
32485
- {
32486
- "name": "next",
32487
- "type": {
32488
- "text": "Element[]"
32489
- }
32490
- }
32491
- ],
32560
+ "default": "'startsWith'",
32561
+ "description": "Controls whether to filter by contains or startsWith",
32562
+ "fieldName": "filterMode",
32492
32563
  "inheritedFrom": {
32493
32564
  "name": "Combobox",
32494
32565
  "module": "src/combobox/combobox.ts"
32495
32566
  }
32496
32567
  },
32497
32568
  {
32498
- "kind": "field",
32499
- "name": "indicator",
32569
+ "name": "scroll-to-selected-when-opening",
32500
32570
  "type": {
32501
- "text": "Element"
32571
+ "text": "boolean"
32502
32572
  },
32503
- "privacy": "protected",
32504
- "description": "Gets the HTML element for the indicator button",
32505
- "readonly": true,
32573
+ "default": "false",
32574
+ "description": "Controls whether the combobox should always scroll to the selected option when the dropdown is opened",
32575
+ "fieldName": "scrollToSelectedWhenOpening",
32506
32576
  "inheritedFrom": {
32507
32577
  "name": "Combobox",
32508
32578
  "module": "src/combobox/combobox.ts"
32509
32579
  }
32510
32580
  },
32511
32581
  {
32512
- "kind": "method",
32513
- "name": "selectItemByValue",
32514
- "privacy": "protected",
32515
- "parameters": [
32516
- {
32517
- "name": "value",
32518
- "type": {
32519
- "text": "string"
32520
- },
32521
- "description": "The text value of the item to be selected"
32522
- }
32523
- ],
32524
- "description": "Selects an item in the dropdown based on its text value",
32582
+ "name": "scroll-when-selection-changes",
32583
+ "type": {
32584
+ "text": "boolean"
32585
+ },
32586
+ "default": "false",
32587
+ "description": "Controls whether the combobox should scroll to the selected option when the selection changes",
32588
+ "fieldName": "scrollWhenSelectionChanges",
32525
32589
  "inheritedFrom": {
32526
32590
  "name": "Combobox",
32527
32591
  "module": "src/combobox/combobox.ts"
32528
32592
  }
32529
- },
32593
+ }
32594
+ ],
32595
+ "members": [
32530
32596
  {
32531
- "kind": "method",
32532
- "name": "asyncSetFilter",
32597
+ "kind": "field",
32598
+ "name": "minlength",
32599
+ "type": {
32600
+ "text": "number"
32601
+ },
32602
+ "default": "COMBO_INPUT_MIN_LENGTH",
32533
32603
  "inheritedFrom": {
32534
- "name": "Combobox",
32535
- "module": "src/combobox/combobox.ts"
32604
+ "name": "SearchBarCombobox",
32605
+ "module": "src/search-bar/search-bar-combobox.ts"
32536
32606
  }
32537
32607
  },
32538
32608
  {
32539
32609
  "kind": "field",
32540
- "name": "resetCombobox",
32610
+ "name": "previousLength",
32611
+ "type": {
32612
+ "text": "number"
32613
+ },
32614
+ "privacy": "private",
32615
+ "default": "-1",
32541
32616
  "inheritedFrom": {
32542
- "name": "Combobox",
32543
- "module": "src/combobox/combobox.ts"
32617
+ "name": "SearchBarCombobox",
32618
+ "module": "src/search-bar/search-bar-combobox.ts"
32544
32619
  }
32545
32620
  },
32546
32621
  {
32547
- "kind": "method",
32548
- "name": "manuallyDispatchChangeEvent",
32622
+ "kind": "field",
32623
+ "name": "changeListener",
32549
32624
  "privacy": "private",
32550
32625
  "inheritedFrom": {
32551
- "name": "Combobox",
32552
- "module": "src/combobox/combobox.ts"
32553
- }
32554
- }
32555
- ],
32556
- "events": [
32557
- {
32558
- "name": "change",
32559
- "type": {
32560
- "text": "Event"
32561
- },
32562
- "description": "Fires a custom 'change' event when the value updates",
32563
- "inheritedFrom": {
32564
- "name": "Combobox",
32565
- "module": "src/combobox/combobox.ts"
32626
+ "name": "SearchBarCombobox",
32627
+ "module": "src/search-bar/search-bar-combobox.ts"
32566
32628
  }
32567
- }
32568
- ]
32569
- },
32570
- {
32571
- "kind": "variable",
32572
- "name": "zeroSearchBarCombobox",
32573
- "description": "The Zero Search Bar Combobox",
32574
- "privacy": "public"
32575
- }
32576
- ],
32577
- "exports": [
32578
- {
32579
- "kind": "js",
32580
- "name": "SearchBarCombobox",
32581
- "declaration": {
32582
- "name": "SearchBarCombobox",
32583
- "module": "src/search-bar/search-bar-combobox.ts"
32584
- }
32585
- },
32586
- {
32587
- "kind": "js",
32588
- "name": "zeroSearchBarCombobox",
32589
- "declaration": {
32590
- "name": "zeroSearchBarCombobox",
32591
- "module": "src/search-bar/search-bar-combobox.ts"
32592
- }
32593
- }
32594
- ]
32595
- },
32596
- {
32597
- "kind": "javascript-module",
32598
- "path": "src/search-bar/search-bar.styles.ts",
32599
- "declarations": [
32600
- {
32601
- "kind": "variable",
32602
- "name": "zeroSearchBarStyles",
32603
- "default": "css`\n ${foundationSearchBarStyles}\n`"
32604
- }
32605
- ],
32606
- "exports": [
32607
- {
32608
- "kind": "js",
32609
- "name": "zeroSearchBarStyles",
32610
- "declaration": {
32611
- "name": "zeroSearchBarStyles",
32612
- "module": "src/search-bar/search-bar.styles.ts"
32613
- }
32614
- }
32615
- ]
32616
- },
32617
- {
32618
- "kind": "javascript-module",
32619
- "path": "src/search-bar/search-bar.template.ts",
32620
- "declarations": [
32621
- {
32622
- "kind": "variable",
32623
- "name": "zeroSearchBarTemplate",
32624
- "default": "html<SearchBar>`\n ${getPrefixedSearchBar('zero')}\n`"
32625
- }
32626
- ],
32627
- "exports": [
32628
- {
32629
- "kind": "js",
32630
- "name": "zeroSearchBarTemplate",
32631
- "declaration": {
32632
- "name": "zeroSearchBarTemplate",
32633
- "module": "src/search-bar/search-bar.template.ts"
32634
- }
32635
- }
32636
- ]
32637
- },
32638
- {
32639
- "kind": "javascript-module",
32640
- "path": "src/search-bar/search-bar.ts",
32641
- "declarations": [
32642
- {
32643
- "kind": "class",
32644
- "description": "",
32645
- "name": "SearchBar",
32646
- "members": [
32629
+ },
32647
32630
  {
32648
- "kind": "field",
32649
- "name": "appearance",
32650
- "type": {
32651
- "text": "string"
32631
+ "kind": "method",
32632
+ "name": "clickHandler",
32633
+ "privacy": "public",
32634
+ "return": {
32635
+ "type": {
32636
+ "text": "boolean | void"
32637
+ }
32652
32638
  },
32653
- "default": "'neutral-grey'",
32639
+ "parameters": [
32640
+ {
32641
+ "name": "e",
32642
+ "type": {
32643
+ "text": "any"
32644
+ }
32645
+ }
32646
+ ],
32654
32647
  "inheritedFrom": {
32655
- "name": "SearchBar",
32656
- "module": "src/search-bar/search-bar.ts"
32648
+ "name": "Combobox",
32649
+ "module": "src/combobox/combobox.ts"
32657
32650
  }
32658
32651
  },
32659
32652
  {
32660
- "kind": "field",
32661
- "name": "combobox",
32662
- "type": {
32663
- "text": "SearchBarCombobox"
32653
+ "kind": "method",
32654
+ "name": "keyupHandler",
32655
+ "privacy": "public",
32656
+ "return": {
32657
+ "type": {
32658
+ "text": "boolean | void"
32659
+ }
32664
32660
  },
32661
+ "parameters": [
32662
+ {
32663
+ "name": "e",
32664
+ "type": {
32665
+ "text": "KeyboardEvent"
32666
+ }
32667
+ }
32668
+ ],
32669
+ "inheritedFrom": {
32670
+ "name": "Combobox",
32671
+ "module": "src/combobox/combobox.ts"
32672
+ }
32673
+ },
32674
+ {
32675
+ "kind": "method",
32676
+ "name": "keydownHandler",
32665
32677
  "privacy": "public",
32678
+ "return": {
32679
+ "type": {
32680
+ "text": "boolean | void"
32681
+ }
32682
+ },
32683
+ "parameters": [
32684
+ {
32685
+ "name": "e",
32686
+ "type": {
32687
+ "text": "Event & KeyboardEvent"
32688
+ }
32689
+ }
32690
+ ],
32666
32691
  "inheritedFrom": {
32667
- "name": "SearchBar",
32668
- "module": "src/search-bar/search-bar.ts"
32692
+ "name": "Combobox",
32693
+ "module": "src/combobox/combobox.ts"
32669
32694
  }
32670
32695
  },
32671
32696
  {
32672
- "kind": "field",
32673
- "name": "defaultSlottedNodes",
32697
+ "kind": "method",
32698
+ "name": "inputHandler",
32699
+ "return": {
32700
+ "type": {
32701
+ "text": "boolean | void"
32702
+ }
32703
+ },
32704
+ "parameters": [
32705
+ {
32706
+ "name": "e",
32707
+ "type": {
32708
+ "text": "InputEvent"
32709
+ }
32710
+ }
32711
+ ],
32674
32712
  "inheritedFrom": {
32675
- "name": "SearchBar",
32676
- "module": "src/search-bar/search-bar.ts"
32713
+ "name": "Combobox",
32714
+ "module": "src/combobox/combobox.ts"
32715
+ }
32716
+ },
32717
+ {
32718
+ "kind": "method",
32719
+ "name": "openChanged",
32720
+ "inheritedFrom": {
32721
+ "name": "Combobox",
32722
+ "module": "src/combobox/combobox.ts"
32677
32723
  }
32678
32724
  },
32679
32725
  {
32680
32726
  "kind": "field",
32681
- "name": "options",
32727
+ "name": "autocomplete",
32682
32728
  "type": {
32683
- "text": "AvailableOption[]"
32729
+ "text": "ComboboxAutocomplete | undefined"
32684
32730
  },
32731
+ "description": "The autocomplete attribute.",
32732
+ "privacy": "public",
32685
32733
  "inheritedFrom": {
32686
- "name": "SearchBar",
32687
- "module": "src/search-bar/search-bar.ts"
32734
+ "name": "SearchBarCombobox",
32735
+ "module": "src/search-bar/search-bar-combobox.ts"
32688
32736
  }
32689
32737
  },
32690
32738
  {
32691
32739
  "kind": "field",
32692
- "name": "searchTerm",
32740
+ "name": "filteredOptions",
32693
32741
  "type": {
32694
- "text": "string"
32742
+ "text": "ListboxOption[]"
32695
32743
  },
32696
- "default": "''",
32744
+ "privacy": "public",
32745
+ "default": "[]",
32746
+ "description": "The collection of currently filtered options.",
32697
32747
  "inheritedFrom": {
32698
- "name": "SearchBar",
32699
- "module": "src/search-bar/search-bar.ts"
32748
+ "name": "SearchBarCombobox",
32749
+ "module": "src/search-bar/search-bar-combobox.ts"
32700
32750
  }
32701
32751
  },
32702
32752
  {
32703
- "kind": "field",
32704
- "name": "minlength",
32705
- "type": {
32706
- "text": "number"
32753
+ "kind": "method",
32754
+ "name": "validate",
32755
+ "privacy": "public",
32756
+ "return": {
32757
+ "type": {
32758
+ "text": "void"
32759
+ }
32707
32760
  },
32708
- "default": "INPUT_MIN_LENGTH",
32761
+ "description": "{@inheritDoc (FormAssociated:interface).validate}",
32709
32762
  "inheritedFrom": {
32710
- "name": "SearchBar",
32711
- "module": "src/search-bar/search-bar.ts"
32763
+ "name": "SearchBarCombobox",
32764
+ "module": "src/search-bar/search-bar-combobox.ts"
32712
32765
  }
32713
32766
  },
32714
32767
  {
32715
32768
  "kind": "field",
32716
- "name": "position",
32769
+ "name": "isAutocompleteInline",
32717
32770
  "type": {
32718
- "text": "Position"
32771
+ "text": "boolean"
32719
32772
  },
32773
+ "privacy": "private",
32720
32774
  "inheritedFrom": {
32721
- "name": "SearchBar",
32722
- "module": "src/search-bar/search-bar.ts"
32775
+ "name": "SearchBarCombobox",
32776
+ "module": "src/search-bar/search-bar-combobox.ts"
32723
32777
  }
32724
32778
  },
32725
32779
  {
32726
32780
  "kind": "field",
32727
- "name": "placeholder",
32781
+ "name": "isAutocompleteList",
32728
32782
  "type": {
32729
- "text": "string"
32783
+ "text": "boolean"
32730
32784
  },
32731
- "default": "'Start typing to search'",
32785
+ "privacy": "private",
32732
32786
  "inheritedFrom": {
32733
- "name": "SearchBar",
32734
- "module": "src/search-bar/search-bar.ts"
32787
+ "name": "SearchBarCombobox",
32788
+ "module": "src/search-bar/search-bar-combobox.ts"
32735
32789
  }
32736
32790
  },
32737
32791
  {
32738
32792
  "kind": "field",
32739
- "name": "disabled",
32793
+ "name": "isAutocompleteBoth",
32740
32794
  "type": {
32741
32795
  "text": "boolean"
32742
32796
  },
32797
+ "privacy": "private",
32743
32798
  "inheritedFrom": {
32744
- "name": "SearchBar",
32745
- "module": "src/search-bar/search-bar.ts"
32799
+ "name": "SearchBarCombobox",
32800
+ "module": "src/search-bar/search-bar-combobox.ts"
32746
32801
  }
32747
32802
  },
32748
32803
  {
32749
32804
  "kind": "field",
32750
- "name": "clearButton",
32805
+ "name": "open",
32751
32806
  "type": {
32752
32807
  "text": "boolean"
32753
32808
  },
32754
- "default": "true",
32755
- "attribute": "clear-button",
32809
+ "privacy": "public",
32810
+ "default": "false",
32811
+ "description": "The open attribute.",
32756
32812
  "inheritedFrom": {
32757
- "name": "SearchBar",
32758
- "module": "src/search-bar/search-bar.ts"
32813
+ "name": "SearchBarCombobox",
32814
+ "module": "src/search-bar/search-bar-combobox.ts"
32759
32815
  }
32760
32816
  },
32761
32817
  {
32762
32818
  "kind": "field",
32763
- "name": "loading",
32819
+ "name": "options",
32764
32820
  "type": {
32765
- "text": "boolean"
32821
+ "text": "ListboxOption[]"
32766
32822
  },
32823
+ "privacy": "public",
32824
+ "description": "The list of options.",
32767
32825
  "inheritedFrom": {
32768
- "name": "SearchBar",
32769
- "module": "src/search-bar/search-bar.ts"
32826
+ "name": "SearchBarCombobox",
32827
+ "module": "src/search-bar/search-bar-combobox.ts"
32770
32828
  }
32771
32829
  },
32772
32830
  {
32773
32831
  "kind": "field",
32774
- "name": "selectedOptions",
32832
+ "name": "placeholder",
32775
32833
  "type": {
32776
- "text": "SelectedOption[]"
32834
+ "text": "string"
32777
32835
  },
32778
- "default": "[]",
32836
+ "privacy": "public",
32837
+ "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
32779
32838
  "inheritedFrom": {
32780
- "name": "SearchBar",
32781
- "module": "src/search-bar/search-bar.ts"
32839
+ "name": "SearchBarCombobox",
32840
+ "module": "src/search-bar/search-bar-combobox.ts"
32782
32841
  }
32783
32842
  },
32784
32843
  {
32785
32844
  "kind": "field",
32786
- "name": "filteredOptions",
32845
+ "name": "positionAttribute",
32787
32846
  "type": {
32788
- "text": "AvailableOption[]"
32847
+ "text": "SelectPosition | undefined"
32789
32848
  },
32849
+ "privacy": "public",
32850
+ "description": "The placement for the listbox when the combobox is open.",
32790
32851
  "inheritedFrom": {
32791
- "name": "SearchBar",
32792
- "module": "src/search-bar/search-bar.ts"
32852
+ "name": "SearchBarCombobox",
32853
+ "module": "src/search-bar/search-bar-combobox.ts"
32793
32854
  }
32794
32855
  },
32795
32856
  {
32796
32857
  "kind": "field",
32797
- "name": "selectedOptionsDiv",
32858
+ "name": "position",
32798
32859
  "type": {
32799
- "text": "HTMLDivElement"
32860
+ "text": "SelectPosition | undefined"
32800
32861
  },
32801
32862
  "privacy": "public",
32863
+ "description": "The current state of the calculated position of the listbox.",
32802
32864
  "inheritedFrom": {
32803
- "name": "SearchBar",
32804
- "module": "src/search-bar/search-bar.ts"
32865
+ "name": "SearchBarCombobox",
32866
+ "module": "src/search-bar/search-bar-combobox.ts"
32805
32867
  }
32806
32868
  },
32807
32869
  {
32808
32870
  "kind": "method",
32809
- "name": "clear",
32871
+ "name": "positionChanged",
32872
+ "privacy": "protected",
32873
+ "return": {
32874
+ "type": {
32875
+ "text": "void"
32876
+ }
32877
+ },
32878
+ "parameters": [
32879
+ {
32880
+ "name": "prev",
32881
+ "type": {
32882
+ "text": "SelectPosition | undefined"
32883
+ }
32884
+ },
32885
+ {
32886
+ "name": "next",
32887
+ "type": {
32888
+ "text": "SelectPosition | undefined"
32889
+ }
32890
+ }
32891
+ ],
32892
+ "inheritedFrom": {
32893
+ "name": "SearchBarCombobox",
32894
+ "module": "src/search-bar/search-bar-combobox.ts"
32895
+ }
32896
+ },
32897
+ {
32898
+ "kind": "field",
32899
+ "name": "value",
32810
32900
  "privacy": "public",
32811
- "description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array.",
32901
+ "description": "The value property.",
32812
32902
  "inheritedFrom": {
32813
- "name": "SearchBar",
32814
- "module": "src/search-bar/search-bar.ts"
32903
+ "name": "Combobox",
32904
+ "module": "src/combobox/combobox.ts"
32815
32905
  }
32816
32906
  },
32817
32907
  {
32818
32908
  "kind": "method",
32819
- "name": "clearSearch",
32909
+ "name": "filterOptions",
32910
+ "privacy": "public",
32911
+ "return": {
32912
+ "type": {
32913
+ "text": "void"
32914
+ }
32915
+ },
32916
+ "description": "Filter available options by text value.",
32917
+ "inheritedFrom": {
32918
+ "name": "Combobox",
32919
+ "module": "src/combobox/combobox.ts"
32920
+ }
32921
+ },
32922
+ {
32923
+ "kind": "method",
32924
+ "name": "setPositioning",
32820
32925
  "privacy": "public",
32821
32926
  "return": {
32822
32927
  "type": {
32823
32928
  "text": "void"
32824
32929
  }
32825
32930
  },
32826
- "description": "Alias for SearchBar.clear.",
32931
+ "description": "Calculate and apply listbox positioning based on available viewport space.",
32932
+ "parameters": [
32933
+ {
32934
+ "description": "direction to force the listbox to display",
32935
+ "name": "force"
32936
+ }
32937
+ ],
32827
32938
  "inheritedFrom": {
32828
- "name": "SearchBar",
32829
- "module": "src/search-bar/search-bar.ts"
32939
+ "name": "SearchBarCombobox",
32940
+ "module": "src/search-bar/search-bar-combobox.ts"
32830
32941
  }
32831
32942
  },
32832
32943
  {
32833
- "kind": "method",
32834
- "name": "selectedOptionsChanged",
32944
+ "kind": "field",
32945
+ "name": "proxy",
32835
32946
  "inheritedFrom": {
32836
- "name": "SearchBar",
32837
- "module": "src/search-bar/search-bar.ts"
32947
+ "name": "SearchBarCombobox",
32948
+ "module": "src/search-bar/search-bar-combobox.ts"
32838
32949
  }
32839
32950
  },
32840
32951
  {
32841
- "kind": "method",
32842
- "name": "optionsChanged",
32952
+ "kind": "field",
32953
+ "name": "length",
32954
+ "type": {
32955
+ "text": "number"
32956
+ },
32957
+ "privacy": "public",
32958
+ "description": "The number of options.",
32843
32959
  "inheritedFrom": {
32844
- "name": "SearchBar",
32845
- "module": "src/search-bar/search-bar.ts"
32960
+ "name": "SearchBarCombobox",
32961
+ "module": "src/search-bar/search-bar-combobox.ts"
32846
32962
  }
32847
32963
  },
32848
32964
  {
32849
- "kind": "method",
32850
- "name": "applySearchInputLock",
32851
- "privacy": "private",
32965
+ "kind": "field",
32966
+ "name": "typeAheadExpired",
32967
+ "privacy": "protected",
32852
32968
  "inheritedFrom": {
32853
- "name": "SearchBar",
32854
- "module": "src/search-bar/search-bar.ts"
32969
+ "name": "SearchBarCombobox",
32970
+ "module": "src/search-bar/search-bar-combobox.ts"
32855
32971
  }
32856
32972
  },
32857
32973
  {
32858
- "kind": "method",
32859
- "name": "inputdeleted",
32974
+ "kind": "field",
32975
+ "name": "disabled",
32976
+ "type": {
32977
+ "text": "boolean"
32978
+ },
32860
32979
  "privacy": "public",
32980
+ "description": "The disabled state of the listbox.",
32861
32981
  "inheritedFrom": {
32862
- "name": "SearchBar",
32863
- "module": "src/search-bar/search-bar.ts"
32982
+ "name": "SearchBarCombobox",
32983
+ "module": "src/search-bar/search-bar-combobox.ts"
32864
32984
  }
32865
32985
  },
32866
32986
  {
32867
- "kind": "method",
32868
- "name": "changeHandler",
32987
+ "kind": "field",
32988
+ "name": "selectedIndex",
32989
+ "type": {
32990
+ "text": "number"
32991
+ },
32869
32992
  "privacy": "public",
32993
+ "default": "-1",
32994
+ "description": "The index of the selected option.",
32870
32995
  "inheritedFrom": {
32871
- "name": "SearchBar",
32872
- "module": "src/search-bar/search-bar.ts"
32996
+ "name": "SearchBarCombobox",
32997
+ "module": "src/search-bar/search-bar-combobox.ts"
32873
32998
  }
32874
32999
  },
32875
33000
  {
32876
- "kind": "method",
32877
- "name": "pasteHandler",
33001
+ "kind": "field",
33002
+ "name": "selectedOptions",
33003
+ "type": {
33004
+ "text": "ListboxOption[]"
33005
+ },
32878
33006
  "privacy": "public",
32879
- "parameters": [
32880
- {
32881
- "name": "event",
32882
- "type": {
32883
- "text": "ClipboardEvent"
32884
- }
32885
- }
32886
- ],
33007
+ "default": "[]",
33008
+ "description": "A collection of the selected options.",
32887
33009
  "inheritedFrom": {
32888
- "name": "SearchBar",
32889
- "module": "src/search-bar/search-bar.ts"
33010
+ "name": "SearchBarCombobox",
33011
+ "module": "src/search-bar/search-bar-combobox.ts"
32890
33012
  }
32891
33013
  },
32892
33014
  {
32893
- "kind": "method",
32894
- "name": "hasSelectedOption",
33015
+ "kind": "field",
33016
+ "name": "slottedOptionFilter",
32895
33017
  "privacy": "public",
33018
+ "static": true,
33019
+ "description": "A static filter to include only selectable options.",
32896
33020
  "parameters": [
32897
33021
  {
32898
- "name": "term",
32899
- "type": {
32900
- "text": "string"
32901
- }
32902
- },
32903
- {
32904
- "name": "field",
32905
- "type": {
32906
- "text": "string"
32907
- }
33022
+ "description": "element to filter",
33023
+ "name": "n"
32908
33024
  }
32909
33025
  ],
32910
33026
  "inheritedFrom": {
32911
- "name": "SearchBar",
32912
- "module": "src/search-bar/search-bar.ts"
33027
+ "name": "SearchBarCombobox",
33028
+ "module": "src/search-bar/search-bar-combobox.ts"
32913
33029
  }
32914
33030
  },
32915
33031
  {
32916
33032
  "kind": "method",
32917
- "name": "unselectOption",
33033
+ "name": "selectFirstOption",
32918
33034
  "privacy": "public",
32919
- "parameters": [
32920
- {
32921
- "name": "option",
32922
- "type": {
32923
- "text": "any"
32924
- }
33035
+ "return": {
33036
+ "type": {
33037
+ "text": "void"
32925
33038
  }
32926
- ],
33039
+ },
33040
+ "description": "Moves focus to the first selectable option.",
32927
33041
  "inheritedFrom": {
32928
- "name": "SearchBar",
32929
- "module": "src/search-bar/search-bar.ts"
33042
+ "name": "SearchBarCombobox",
33043
+ "module": "src/search-bar/search-bar-combobox.ts"
32930
33044
  }
32931
33045
  },
32932
33046
  {
32933
33047
  "kind": "method",
32934
- "name": "inputHandler",
33048
+ "name": "setSelectedOptions",
32935
33049
  "privacy": "public",
33050
+ "description": "Sets an option as selected and gives it focus.",
32936
33051
  "inheritedFrom": {
32937
- "name": "SearchBar",
32938
- "module": "src/search-bar/search-bar.ts"
32939
- }
32940
- },
32941
- {
32942
- "kind": "method",
32943
- "name": "filterSelectedOptions",
32944
- "privacy": "private",
32945
- "parameters": [
32946
- {
32947
- "name": "term",
32948
- "type": {
32949
- "text": "string"
32950
- }
32951
- }
32952
- ],
32953
- "inheritedFrom": {
32954
- "name": "SearchBar",
32955
- "module": "src/search-bar/search-bar.ts"
32956
- }
32957
- },
32958
- {
32959
- "kind": "field",
32960
- "name": "normalizeDelimiter",
32961
- "privacy": "private",
32962
- "inheritedFrom": {
32963
- "name": "SearchBar",
32964
- "module": "src/search-bar/search-bar.ts"
32965
- }
32966
- },
32967
- {
32968
- "kind": "field",
32969
- "name": "addOrReplaceSelectedText",
32970
- "privacy": "private",
32971
- "inheritedFrom": {
32972
- "name": "SearchBar",
32973
- "module": "src/search-bar/search-bar.ts"
33052
+ "name": "SearchBarCombobox",
33053
+ "module": "src/search-bar/search-bar-combobox.ts"
32974
33054
  }
32975
33055
  },
32976
33056
  {
@@ -32982,8 +33062,8 @@
32982
33062
  "privacy": "private",
32983
33063
  "default": "void 0",
32984
33064
  "inheritedFrom": {
32985
- "name": "FoundationElement",
32986
- "module": "src/foundation-element/foundation-element.ts"
33065
+ "name": "SearchBarCombobox",
33066
+ "module": "src/search-bar/search-bar-combobox.ts"
32987
33067
  }
32988
33068
  },
32989
33069
  {
@@ -32995,8 +33075,8 @@
32995
33075
  "privacy": "public",
32996
33076
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
32997
33077
  "inheritedFrom": {
32998
- "name": "FoundationElement",
32999
- "module": "src/foundation-element/foundation-element.ts"
33078
+ "name": "SearchBarCombobox",
33079
+ "module": "src/search-bar/search-bar-combobox.ts"
33000
33080
  }
33001
33081
  },
33002
33082
  {
@@ -33008,8 +33088,8 @@
33008
33088
  "privacy": "public",
33009
33089
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
33010
33090
  "inheritedFrom": {
33011
- "name": "FoundationElement",
33012
- "module": "src/foundation-element/foundation-element.ts"
33091
+ "name": "SearchBarCombobox",
33092
+ "module": "src/search-bar/search-bar-combobox.ts"
33013
33093
  }
33014
33094
  },
33015
33095
  {
@@ -33022,8 +33102,8 @@
33022
33102
  }
33023
33103
  },
33024
33104
  "inheritedFrom": {
33025
- "name": "FoundationElement",
33026
- "module": "src/foundation-element/foundation-element.ts"
33105
+ "name": "SearchBarCombobox",
33106
+ "module": "src/search-bar/search-bar-combobox.ts"
33027
33107
  }
33028
33108
  },
33029
33109
  {
@@ -33035,8 +33115,8 @@
33035
33115
  "privacy": "public",
33036
33116
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
33037
33117
  "inheritedFrom": {
33038
- "name": "FoundationElement",
33039
- "module": "src/foundation-element/foundation-element.ts"
33118
+ "name": "SearchBarCombobox",
33119
+ "module": "src/search-bar/search-bar-combobox.ts"
33040
33120
  }
33041
33121
  },
33042
33122
  {
@@ -33049,8 +33129,8 @@
33049
33129
  }
33050
33130
  },
33051
33131
  "inheritedFrom": {
33052
- "name": "FoundationElement",
33053
- "module": "src/foundation-element/foundation-element.ts"
33132
+ "name": "SearchBarCombobox",
33133
+ "module": "src/search-bar/search-bar-combobox.ts"
33054
33134
  }
33055
33135
  },
33056
33136
  {
@@ -33080,871 +33160,730 @@
33080
33160
  ],
33081
33161
  "description": "Defines an element registry function with a set of element definition defaults.",
33082
33162
  "inheritedFrom": {
33083
- "name": "FoundationElement",
33084
- "module": "src/foundation-element/foundation-element.ts"
33085
- }
33086
- }
33087
- ],
33088
- "superclass": {
33089
- "name": "FoundationSearchBar",
33090
- "package": "@genesislcap/foundation-ui"
33091
- },
33092
- "tagName": "%%prefix%%-search-bar",
33093
- "customElement": true,
33094
- "attributes": [
33095
- {
33096
- "name": "clear-button",
33097
- "type": {
33098
- "text": "boolean"
33099
- },
33100
- "default": "true",
33101
- "attribute": "clear-button",
33102
- "fieldName": "clearButton",
33103
- "description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically.",
33104
- "inheritedFrom": {
33105
- "name": "SearchBar",
33106
- "module": "src/search-bar/search-bar.ts"
33107
- }
33108
- },
33109
- {
33110
- "name": "appearance",
33111
- "type": {
33112
- "text": "string"
33113
- },
33114
- "default": "'neutral'",
33115
- "fieldName": "appearance",
33116
- "inheritedFrom": {
33117
- "name": "SearchBar",
33118
- "module": "src/search-bar/search-bar.ts"
33119
- }
33120
- },
33121
- {
33122
- "name": "minlength",
33123
- "type": {
33124
- "text": "number"
33125
- },
33126
- "default": "INPUT_MIN_LENGTH",
33127
- "resolveInitializer": {
33128
- "module": "/src/search-bar/search-bar.types"
33129
- },
33130
- "fieldName": "minlength",
33131
- "inheritedFrom": {
33132
- "name": "SearchBar",
33133
- "module": "src/search-bar/search-bar.ts"
33134
- }
33135
- },
33136
- {
33137
- "name": "position",
33138
- "type": {
33139
- "text": "Position"
33140
- },
33141
- "fieldName": "position",
33142
- "inheritedFrom": {
33143
- "name": "SearchBar",
33144
- "module": "src/search-bar/search-bar.ts"
33163
+ "name": "SearchBarCombobox",
33164
+ "module": "src/search-bar/search-bar-combobox.ts"
33145
33165
  }
33146
33166
  },
33147
33167
  {
33148
- "name": "placeholder",
33168
+ "kind": "field",
33169
+ "name": "_ourValue",
33149
33170
  "type": {
33150
33171
  "text": "string"
33151
33172
  },
33152
- "default": "'Start typing to search'",
33153
- "fieldName": "placeholder",
33173
+ "privacy": "private",
33154
33174
  "inheritedFrom": {
33155
- "name": "SearchBar",
33156
- "module": "src/search-bar/search-bar.ts"
33175
+ "name": "Combobox",
33176
+ "module": "src/combobox/combobox.ts"
33157
33177
  }
33158
33178
  },
33159
33179
  {
33160
- "name": "disabled",
33180
+ "kind": "field",
33181
+ "name": "#indicator",
33182
+ "privacy": "private",
33161
33183
  "type": {
33162
- "text": "boolean"
33184
+ "text": "Element"
33163
33185
  },
33164
- "fieldName": "disabled",
33165
- "inheritedFrom": {
33166
- "name": "SearchBar",
33167
- "module": "src/search-bar/search-bar.ts"
33168
- }
33169
- }
33170
- ],
33171
- "events": [
33172
- {
33173
- "description": "Fired when the selected search options change",
33174
- "name": "selectionChange",
33175
33186
  "inheritedFrom": {
33176
- "name": "SearchBar",
33177
- "module": "src/search-bar/search-bar.ts"
33187
+ "name": "Combobox",
33188
+ "module": "src/combobox/combobox.ts"
33178
33189
  }
33179
- }
33180
- ]
33181
- },
33182
- {
33183
- "kind": "variable",
33184
- "name": "zeroSearchBar",
33185
- "description": "The Zero Search Bar",
33186
- "privacy": "public"
33187
- }
33188
- ],
33189
- "exports": [
33190
- {
33191
- "kind": "js",
33192
- "name": "SearchBar",
33193
- "declaration": {
33194
- "name": "SearchBar",
33195
- "module": "src/search-bar/search-bar.ts"
33196
- }
33197
- },
33198
- {
33199
- "kind": "js",
33200
- "name": "zeroSearchBar",
33201
- "declaration": {
33202
- "name": "zeroSearchBar",
33203
- "module": "src/search-bar/search-bar.ts"
33204
- }
33205
- }
33206
- ]
33207
- },
33208
- {
33209
- "kind": "javascript-module",
33210
- "path": "src/section-navigator/index.ts",
33211
- "declarations": [],
33212
- "exports": [
33213
- {
33214
- "kind": "js",
33215
- "name": "*",
33216
- "declaration": {
33217
- "name": "*",
33218
- "package": "./section-navigator"
33219
- }
33220
- },
33221
- {
33222
- "kind": "js",
33223
- "name": "*",
33224
- "declaration": {
33225
- "name": "*",
33226
- "package": "./section-navigator.styles"
33227
- }
33228
- }
33229
- ]
33230
- },
33231
- {
33232
- "kind": "javascript-module",
33233
- "path": "src/section-navigator/section-navigator.styles.ts",
33234
- "declarations": [
33235
- {
33236
- "kind": "function",
33237
- "name": "zeroSectionNavigatorStyles",
33238
- "parameters": [
33190
+ },
33239
33191
  {
33240
- "name": "context",
33192
+ "kind": "field",
33193
+ "name": "#wasOpenOnEnterDown",
33194
+ "privacy": "private",
33241
33195
  "type": {
33242
- "text": "ElementDefinitionContext"
33196
+ "text": "boolean"
33197
+ },
33198
+ "default": "false",
33199
+ "inheritedFrom": {
33200
+ "name": "Combobox",
33201
+ "module": "src/combobox/combobox.ts"
33243
33202
  }
33244
33203
  },
33245
33204
  {
33246
- "name": "definition",
33205
+ "kind": "field",
33206
+ "name": "needManualChangeEventDispatch",
33247
33207
  "type": {
33248
- "text": "FoundationElementDefinition"
33208
+ "text": "boolean"
33209
+ },
33210
+ "privacy": "private",
33211
+ "default": "false",
33212
+ "inheritedFrom": {
33213
+ "name": "Combobox",
33214
+ "module": "src/combobox/combobox.ts"
33249
33215
  }
33250
- }
33251
- ]
33252
- }
33253
- ],
33254
- "exports": [
33255
- {
33256
- "kind": "js",
33257
- "name": "zeroSectionNavigatorStyles",
33258
- "declaration": {
33259
- "name": "zeroSectionNavigatorStyles",
33260
- "module": "src/section-navigator/section-navigator.styles.ts"
33261
- }
33262
- }
33263
- ]
33264
- },
33265
- {
33266
- "kind": "javascript-module",
33267
- "path": "src/section-navigator/section-navigator.ts",
33268
- "declarations": [
33269
- {
33270
- "kind": "class",
33271
- "description": "",
33272
- "name": "SectionNavigator",
33273
- "superclass": {
33274
- "name": "FoundationSectionNavigator",
33275
- "package": "@genesislcap/foundation-ui"
33276
- },
33277
- "tagName": "%%prefix%%-section-navigator",
33278
- "customElement": true,
33279
- "attributes": [
33216
+ },
33280
33217
  {
33281
- "description": "Array of section items to display",
33282
- "name": "sections",
33218
+ "kind": "field",
33219
+ "name": "activeDescendant",
33220
+ "readonly": true,
33283
33221
  "inheritedFrom": {
33284
- "name": "SectionNavigator",
33285
- "module": "src/section-navigator/section-navigator.ts"
33222
+ "name": "Combobox",
33223
+ "module": "src/combobox/combobox.ts"
33286
33224
  }
33287
33225
  },
33288
33226
  {
33289
- "name": "scroll-behavior",
33227
+ "kind": "field",
33228
+ "name": "slottedDatasource",
33290
33229
  "type": {
33291
- "text": "'view' | 'top'"
33230
+ "text": "HTMLSlotElement"
33292
33231
  },
33293
- "default": "'top'",
33294
- "fieldName": "scrollBehavior",
33295
- "description": "Scroll behavior: 'view' or 'top' (default: 'top')",
33296
33232
  "inheritedFrom": {
33297
- "name": "SectionNavigator",
33298
- "module": "src/section-navigator/section-navigator.ts"
33233
+ "name": "Combobox",
33234
+ "module": "src/combobox/combobox.ts"
33299
33235
  }
33300
33236
  },
33301
33237
  {
33302
- "name": "state-tooltips",
33238
+ "kind": "field",
33239
+ "name": "async",
33303
33240
  "type": {
33304
- "text": "Record<SectionItemStateName, string>"
33305
- },
33306
- "default": "DEFAULT_SECTION_STATES_TOOLTIPS",
33307
- "resolveInitializer": {
33308
- "module": "src/section-navigator/section-navigator.ts"
33241
+ "text": "boolean"
33309
33242
  },
33310
- "fieldName": "stateTooltips",
33311
- "description": "Custom tooltips for state icons",
33243
+ "default": "false",
33312
33244
  "inheritedFrom": {
33313
- "name": "SectionNavigator",
33314
- "module": "src/section-navigator/section-navigator.ts"
33245
+ "name": "Combobox",
33246
+ "module": "src/combobox/combobox.ts"
33315
33247
  }
33316
33248
  },
33317
33249
  {
33318
- "name": "state-icons",
33250
+ "kind": "field",
33251
+ "name": "debounce",
33319
33252
  "type": {
33320
- "text": "Record<SectionItemStateName, SectionItemStateIcon>"
33321
- },
33322
- "default": "DEFAULT_SECTION_STATES_ICONS",
33323
- "resolveInitializer": {
33324
- "module": "src/section-navigator/section-navigator.ts"
33253
+ "text": "number"
33325
33254
  },
33326
- "fieldName": "stateIcons",
33327
- "description": "Custom icons for state types",
33255
+ "default": "500",
33328
33256
  "inheritedFrom": {
33329
- "name": "SectionNavigator",
33330
- "module": "src/section-navigator/section-navigator.ts"
33257
+ "name": "Combobox",
33258
+ "module": "src/combobox/combobox.ts"
33331
33259
  }
33332
33260
  },
33333
33261
  {
33334
- "name": "disable-auto-scroll-detection",
33335
- "type": {
33336
- "text": "boolean"
33337
- },
33338
- "default": "false",
33339
- "fieldName": "disableAutoScrollDetection",
33340
- "description": "Disable automatic active section detection during scrolling (default: false) When enabled, automatically updates active section based on scroll position. User clicks are prioritized - clicked section remains active until scroll ends.",
33262
+ "kind": "method",
33263
+ "name": "debounceChanged",
33264
+ "parameters": [
33265
+ {
33266
+ "name": "oldValue"
33267
+ },
33268
+ {
33269
+ "name": "newValue",
33270
+ "type": {
33271
+ "text": "number"
33272
+ }
33273
+ }
33274
+ ],
33341
33275
  "inheritedFrom": {
33342
- "name": "SectionNavigator",
33343
- "module": "src/section-navigator/section-navigator.ts"
33276
+ "name": "Combobox",
33277
+ "module": "src/combobox/combobox.ts"
33344
33278
  }
33345
- }
33346
- ],
33347
- "members": [
33279
+ },
33348
33280
  {
33349
33281
  "kind": "field",
33350
- "name": "sections",
33351
- "type": {
33352
- "text": "SectionItem[]"
33353
- },
33354
- "default": "[]",
33282
+ "name": "debouncedInputHandler",
33355
33283
  "inheritedFrom": {
33356
- "name": "SectionNavigator",
33357
- "module": "src/section-navigator/section-navigator.ts"
33284
+ "name": "Combobox",
33285
+ "module": "src/combobox/combobox.ts"
33358
33286
  }
33359
33287
  },
33360
33288
  {
33361
33289
  "kind": "field",
33362
- "name": "scrollBehavior",
33290
+ "name": "caseSensitive",
33363
33291
  "type": {
33364
- "text": "'view' | 'top'"
33292
+ "text": "boolean"
33365
33293
  },
33366
- "default": "'top'",
33294
+ "privacy": "public",
33295
+ "default": "false",
33296
+ "description": "Controls whether to perform a case-sensitive search in the list of options",
33367
33297
  "inheritedFrom": {
33368
- "name": "SectionNavigator",
33369
- "module": "src/section-navigator/section-navigator.ts"
33298
+ "name": "Combobox",
33299
+ "module": "src/combobox/combobox.ts"
33370
33300
  }
33371
33301
  },
33372
33302
  {
33373
33303
  "kind": "field",
33374
- "name": "stateTooltips",
33304
+ "name": "ignoreInputClick",
33375
33305
  "type": {
33376
- "text": "Record<SectionItemStateName, string>"
33306
+ "text": "boolean"
33377
33307
  },
33378
- "default": "{\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending',\n disabled: 'Disabled',\n error: 'Error',\n completed: 'Completed',\n}",
33308
+ "privacy": "public",
33309
+ "default": "false",
33310
+ "description": "Controls whether to suppress opening the dropdown when the input field is clicked",
33379
33311
  "inheritedFrom": {
33380
- "name": "SectionNavigator",
33381
- "module": "src/section-navigator/section-navigator.ts"
33312
+ "name": "Combobox",
33313
+ "module": "src/combobox/combobox.ts"
33382
33314
  }
33383
33315
  },
33384
33316
  {
33385
33317
  "kind": "field",
33386
- "name": "stateIcons",
33318
+ "name": "filterMode",
33387
33319
  "type": {
33388
- "text": "Record<SectionItemStateName, SectionItemStateIcon>"
33320
+ "text": "FilterMode"
33389
33321
  },
33390
- "default": "{\n active: {\n name: 'circle-dot',\n variant: 'solid',\n },\n inactive: {\n name: 'times-circle',\n variant: 'regular',\n },\n pending: {\n name: 'clock',\n variant: 'solid',\n },\n disabled: {\n name: 'ban',\n variant: 'solid',\n },\n error: {\n name: 'times',\n variant: 'solid',\n },\n completed: {\n name: 'check',\n variant: 'solid',\n },\n}",
33322
+ "privacy": "public",
33323
+ "default": "'startsWith'",
33324
+ "description": "Controls whether to filter by contains or startsWith",
33391
33325
  "inheritedFrom": {
33392
- "name": "SectionNavigator",
33393
- "module": "src/section-navigator/section-navigator.ts"
33326
+ "name": "Combobox",
33327
+ "module": "src/combobox/combobox.ts"
33394
33328
  }
33395
33329
  },
33396
33330
  {
33397
33331
  "kind": "field",
33398
- "name": "disableAutoScrollDetection",
33332
+ "name": "scrollToSelectedWhenOpening",
33399
33333
  "type": {
33400
33334
  "text": "boolean"
33401
33335
  },
33402
33336
  "default": "false",
33337
+ "description": "Controls whether the combobox should always scroll to the selected option when the dropdown is opened",
33403
33338
  "inheritedFrom": {
33404
- "name": "SectionNavigator",
33405
- "module": "src/section-navigator/section-navigator.ts"
33339
+ "name": "Combobox",
33340
+ "module": "src/combobox/combobox.ts"
33406
33341
  }
33407
33342
  },
33408
33343
  {
33409
33344
  "kind": "field",
33410
- "name": "handleSetStateRef",
33345
+ "name": "scrollToSelectedWhenOpeningOptions",
33411
33346
  "type": {
33412
- "text": "(event: CustomEvent<SetStateEventDetail>) => void | undefined"
33347
+ "text": "boolean | ScrollIntoViewOptions"
33413
33348
  },
33414
- "privacy": "private",
33349
+ "default": "{\n behavior: 'auto',\n block: 'nearest',\n }",
33350
+ "description": "Options for scrolling to the selected option when the dropdown is opened",
33415
33351
  "inheritedFrom": {
33416
- "name": "SectionNavigator",
33417
- "module": "src/section-navigator/section-navigator.ts"
33352
+ "name": "Combobox",
33353
+ "module": "src/combobox/combobox.ts"
33418
33354
  }
33419
33355
  },
33420
33356
  {
33421
33357
  "kind": "field",
33422
- "name": "handleSetStatesRef",
33358
+ "name": "scrollWhenSelectionChanges",
33423
33359
  "type": {
33424
- "text": "(event: CustomEvent<SetStatesEventDetail>) => void | undefined"
33360
+ "text": "boolean"
33425
33361
  },
33426
- "privacy": "private",
33362
+ "default": "false",
33363
+ "description": "Controls whether the combobox should scroll to the selected option when the selection changes",
33427
33364
  "inheritedFrom": {
33428
- "name": "SectionNavigator",
33429
- "module": "src/section-navigator/section-navigator.ts"
33365
+ "name": "Combobox",
33366
+ "module": "src/combobox/combobox.ts"
33430
33367
  }
33431
33368
  },
33432
33369
  {
33433
33370
  "kind": "field",
33434
- "name": "handleClearStateRef",
33371
+ "name": "scrollWhenSelectionChangesOptions",
33435
33372
  "type": {
33436
- "text": "(event: CustomEvent<ClearStateEventDetail>) => void | undefined"
33373
+ "text": "boolean | ScrollIntoViewOptions"
33437
33374
  },
33438
- "privacy": "private",
33375
+ "default": "{\n behavior: 'auto',\n block: 'center',\n }",
33376
+ "description": "Options for scrolling to the selected option when the selection changes",
33439
33377
  "inheritedFrom": {
33440
- "name": "SectionNavigator",
33441
- "module": "src/section-navigator/section-navigator.ts"
33378
+ "name": "Combobox",
33379
+ "module": "src/combobox/combobox.ts"
33442
33380
  }
33443
33381
  },
33444
33382
  {
33445
- "kind": "field",
33446
- "name": "handleClearAllStatesRef",
33447
- "type": {
33448
- "text": "(event: CustomEvent<ClearAllStatesEventDetail>) => void | undefined"
33383
+ "kind": "method",
33384
+ "name": "slottedOptionsChanged",
33385
+ "privacy": "public",
33386
+ "return": {
33387
+ "type": {
33388
+ "text": "void"
33389
+ }
33449
33390
  },
33450
- "privacy": "private",
33391
+ "parameters": [
33392
+ {
33393
+ "name": "prev",
33394
+ "type": {
33395
+ "text": "Element[] | undefined"
33396
+ }
33397
+ },
33398
+ {
33399
+ "name": "next",
33400
+ "type": {
33401
+ "text": "Element[]"
33402
+ }
33403
+ }
33404
+ ],
33451
33405
  "inheritedFrom": {
33452
- "name": "SectionNavigator",
33453
- "module": "src/section-navigator/section-navigator.ts"
33406
+ "name": "Combobox",
33407
+ "module": "src/combobox/combobox.ts"
33454
33408
  }
33455
33409
  },
33456
33410
  {
33457
33411
  "kind": "field",
33458
- "name": "handleGenericStateEventRef",
33412
+ "name": "indicator",
33459
33413
  "type": {
33460
- "text": "(event: CustomEvent<any>) => void | undefined"
33414
+ "text": "Element"
33461
33415
  },
33462
- "privacy": "private",
33416
+ "privacy": "protected",
33417
+ "description": "Gets the HTML element for the indicator button",
33418
+ "readonly": true,
33463
33419
  "inheritedFrom": {
33464
- "name": "SectionNavigator",
33465
- "module": "src/section-navigator/section-navigator.ts"
33420
+ "name": "Combobox",
33421
+ "module": "src/combobox/combobox.ts"
33466
33422
  }
33467
33423
  },
33468
33424
  {
33469
- "kind": "field",
33470
- "name": "userClickedSection",
33471
- "type": {
33472
- "text": "boolean"
33473
- },
33474
- "privacy": "private",
33475
- "default": "false",
33425
+ "kind": "method",
33426
+ "name": "selectItemByValue",
33427
+ "privacy": "protected",
33428
+ "parameters": [
33429
+ {
33430
+ "name": "value",
33431
+ "type": {
33432
+ "text": "string"
33433
+ },
33434
+ "description": "The text value of the item to be selected"
33435
+ }
33436
+ ],
33437
+ "description": "Selects an item in the dropdown based on its text value",
33476
33438
  "inheritedFrom": {
33477
- "name": "SectionNavigator",
33478
- "module": "src/section-navigator/section-navigator.ts"
33439
+ "name": "Combobox",
33440
+ "module": "src/combobox/combobox.ts"
33479
33441
  }
33480
33442
  },
33481
33443
  {
33482
- "kind": "field",
33483
- "name": "scrollEndHandler",
33484
- "type": {
33485
- "text": "() => void | undefined"
33486
- },
33487
- "privacy": "private",
33444
+ "kind": "method",
33445
+ "name": "asyncSetFilter",
33488
33446
  "inheritedFrom": {
33489
- "name": "SectionNavigator",
33490
- "module": "src/section-navigator/section-navigator.ts"
33447
+ "name": "Combobox",
33448
+ "module": "src/combobox/combobox.ts"
33491
33449
  }
33492
33450
  },
33493
33451
  {
33494
33452
  "kind": "field",
33495
- "name": "isUserScrolling",
33496
- "type": {
33497
- "text": "boolean"
33498
- },
33499
- "privacy": "private",
33500
- "default": "false",
33453
+ "name": "resetCombobox",
33501
33454
  "inheritedFrom": {
33502
- "name": "SectionNavigator",
33503
- "module": "src/section-navigator/section-navigator.ts"
33455
+ "name": "Combobox",
33456
+ "module": "src/combobox/combobox.ts"
33504
33457
  }
33505
33458
  },
33506
33459
  {
33507
- "kind": "field",
33508
- "name": "scrollCheckHandler",
33509
- "type": {
33510
- "text": "() => void | undefined"
33511
- },
33460
+ "kind": "method",
33461
+ "name": "manuallyDispatchChangeEvent",
33512
33462
  "privacy": "private",
33513
33463
  "inheritedFrom": {
33514
- "name": "SectionNavigator",
33515
- "module": "src/section-navigator/section-navigator.ts"
33464
+ "name": "Combobox",
33465
+ "module": "src/combobox/combobox.ts"
33516
33466
  }
33517
- },
33467
+ }
33468
+ ],
33469
+ "events": [
33518
33470
  {
33519
- "kind": "field",
33520
- "name": "scrollDebounceTimeout",
33471
+ "name": "change",
33521
33472
  "type": {
33522
- "text": "number | undefined"
33473
+ "text": "Event"
33523
33474
  },
33524
- "privacy": "private",
33475
+ "description": "Fires a custom 'change' event when the value updates",
33525
33476
  "inheritedFrom": {
33526
- "name": "SectionNavigator",
33527
- "module": "src/section-navigator/section-navigator.ts"
33477
+ "name": "Combobox",
33478
+ "module": "src/combobox/combobox.ts"
33528
33479
  }
33529
- },
33480
+ }
33481
+ ]
33482
+ },
33483
+ {
33484
+ "kind": "variable",
33485
+ "name": "zeroSearchBarCombobox",
33486
+ "description": "The Zero Search Bar Combobox",
33487
+ "privacy": "public"
33488
+ }
33489
+ ],
33490
+ "exports": [
33491
+ {
33492
+ "kind": "js",
33493
+ "name": "SearchBarCombobox",
33494
+ "declaration": {
33495
+ "name": "SearchBarCombobox",
33496
+ "module": "src/search-bar/search-bar-combobox.ts"
33497
+ }
33498
+ },
33499
+ {
33500
+ "kind": "js",
33501
+ "name": "zeroSearchBarCombobox",
33502
+ "declaration": {
33503
+ "name": "zeroSearchBarCombobox",
33504
+ "module": "src/search-bar/search-bar-combobox.ts"
33505
+ }
33506
+ }
33507
+ ]
33508
+ },
33509
+ {
33510
+ "kind": "javascript-module",
33511
+ "path": "src/search-bar/search-bar.styles.ts",
33512
+ "declarations": [
33513
+ {
33514
+ "kind": "variable",
33515
+ "name": "zeroSearchBarStyles",
33516
+ "default": "css`\n ${foundationSearchBarStyles}\n`"
33517
+ }
33518
+ ],
33519
+ "exports": [
33520
+ {
33521
+ "kind": "js",
33522
+ "name": "zeroSearchBarStyles",
33523
+ "declaration": {
33524
+ "name": "zeroSearchBarStyles",
33525
+ "module": "src/search-bar/search-bar.styles.ts"
33526
+ }
33527
+ }
33528
+ ]
33529
+ },
33530
+ {
33531
+ "kind": "javascript-module",
33532
+ "path": "src/search-bar/search-bar.template.ts",
33533
+ "declarations": [
33534
+ {
33535
+ "kind": "variable",
33536
+ "name": "zeroSearchBarTemplate",
33537
+ "default": "html<SearchBar>`\n ${getPrefixedSearchBar('zero')}\n`"
33538
+ }
33539
+ ],
33540
+ "exports": [
33541
+ {
33542
+ "kind": "js",
33543
+ "name": "zeroSearchBarTemplate",
33544
+ "declaration": {
33545
+ "name": "zeroSearchBarTemplate",
33546
+ "module": "src/search-bar/search-bar.template.ts"
33547
+ }
33548
+ }
33549
+ ]
33550
+ },
33551
+ {
33552
+ "kind": "javascript-module",
33553
+ "path": "src/search-bar/search-bar.ts",
33554
+ "declarations": [
33555
+ {
33556
+ "kind": "class",
33557
+ "description": "",
33558
+ "name": "SearchBar",
33559
+ "members": [
33530
33560
  {
33531
33561
  "kind": "field",
33532
- "name": "SCROLL_END_TIMEOUT",
33562
+ "name": "appearance",
33533
33563
  "type": {
33534
- "text": "number"
33564
+ "text": "string"
33535
33565
  },
33536
- "privacy": "private",
33537
- "static": true,
33538
- "readonly": true,
33539
- "default": "150",
33566
+ "default": "'neutral-grey'",
33540
33567
  "inheritedFrom": {
33541
- "name": "SectionNavigator",
33542
- "module": "src/section-navigator/section-navigator.ts"
33568
+ "name": "SearchBar",
33569
+ "module": "src/search-bar/search-bar.ts"
33543
33570
  }
33544
33571
  },
33545
33572
  {
33546
33573
  "kind": "field",
33547
- "name": "SCROLL_DEBOUNCE_TIMEOUT",
33574
+ "name": "combobox",
33548
33575
  "type": {
33549
- "text": "number"
33576
+ "text": "SearchBarCombobox"
33550
33577
  },
33551
- "privacy": "private",
33552
- "static": true,
33553
- "readonly": true,
33554
- "default": "100",
33555
- "inheritedFrom": {
33556
- "name": "SectionNavigator",
33557
- "module": "src/section-navigator/section-navigator.ts"
33558
- }
33559
- },
33560
- {
33561
- "kind": "method",
33562
- "name": "sectionsChanged",
33563
- "inheritedFrom": {
33564
- "name": "SectionNavigator",
33565
- "module": "src/section-navigator/section-navigator.ts"
33566
- }
33567
- },
33568
- {
33569
- "kind": "method",
33570
- "name": "disableAutoScrollDetectionChanged",
33578
+ "privacy": "public",
33571
33579
  "inheritedFrom": {
33572
- "name": "SectionNavigator",
33573
- "module": "src/section-navigator/section-navigator.ts"
33580
+ "name": "SearchBar",
33581
+ "module": "src/search-bar/search-bar.ts"
33574
33582
  }
33575
33583
  },
33576
33584
  {
33577
- "kind": "method",
33578
- "name": "scrollBehaviorChanged",
33585
+ "kind": "field",
33586
+ "name": "defaultSlottedNodes",
33579
33587
  "inheritedFrom": {
33580
- "name": "SectionNavigator",
33581
- "module": "src/section-navigator/section-navigator.ts"
33588
+ "name": "SearchBar",
33589
+ "module": "src/search-bar/search-bar.ts"
33582
33590
  }
33583
33591
  },
33584
33592
  {
33585
33593
  "kind": "field",
33586
- "name": "sectionItems",
33594
+ "name": "options",
33587
33595
  "type": {
33588
- "text": "SectionItem[]"
33596
+ "text": "AvailableOption[]"
33589
33597
  },
33590
- "default": "[]",
33591
33598
  "inheritedFrom": {
33592
- "name": "SectionNavigator",
33593
- "module": "src/section-navigator/section-navigator.ts"
33599
+ "name": "SearchBar",
33600
+ "module": "src/search-bar/search-bar.ts"
33594
33601
  }
33595
33602
  },
33596
33603
  {
33597
33604
  "kind": "field",
33598
- "name": "activeSection",
33605
+ "name": "searchTerm",
33599
33606
  "type": {
33600
33607
  "text": "string"
33601
33608
  },
33602
33609
  "default": "''",
33603
33610
  "inheritedFrom": {
33604
- "name": "SectionNavigator",
33605
- "module": "src/section-navigator/section-navigator.ts"
33611
+ "name": "SearchBar",
33612
+ "module": "src/search-bar/search-bar.ts"
33606
33613
  }
33607
33614
  },
33608
33615
  {
33609
33616
  "kind": "field",
33610
- "name": "sectionNavigatorContainer",
33617
+ "name": "minlength",
33611
33618
  "type": {
33612
- "text": "HTMLElement"
33619
+ "text": "number"
33613
33620
  },
33621
+ "default": "INPUT_MIN_LENGTH",
33614
33622
  "inheritedFrom": {
33615
- "name": "SectionNavigator",
33616
- "module": "src/section-navigator/section-navigator.ts"
33623
+ "name": "SearchBar",
33624
+ "module": "src/search-bar/search-bar.ts"
33617
33625
  }
33618
33626
  },
33619
33627
  {
33620
33628
  "kind": "field",
33621
- "name": "sectionContent",
33629
+ "name": "position",
33622
33630
  "type": {
33623
- "text": "HTMLElement"
33631
+ "text": "Position"
33624
33632
  },
33625
33633
  "inheritedFrom": {
33626
- "name": "SectionNavigator",
33627
- "module": "src/section-navigator/section-navigator.ts"
33634
+ "name": "SearchBar",
33635
+ "module": "src/search-bar/search-bar.ts"
33628
33636
  }
33629
33637
  },
33630
33638
  {
33631
33639
  "kind": "field",
33632
- "name": "spacerElement",
33640
+ "name": "placeholder",
33633
33641
  "type": {
33634
- "text": "HTMLElement | undefined"
33642
+ "text": "string"
33635
33643
  },
33636
- "privacy": "private",
33637
- "inheritedFrom": {
33638
- "name": "SectionNavigator",
33639
- "module": "src/section-navigator/section-navigator.ts"
33640
- }
33641
- },
33642
- {
33643
- "kind": "method",
33644
- "name": "setSectionItems",
33645
- "privacy": "private",
33644
+ "default": "'Start typing to search'",
33646
33645
  "inheritedFrom": {
33647
- "name": "SectionNavigator",
33648
- "module": "src/section-navigator/section-navigator.ts"
33646
+ "name": "SearchBar",
33647
+ "module": "src/search-bar/search-bar.ts"
33649
33648
  }
33650
33649
  },
33651
33650
  {
33652
- "kind": "method",
33653
- "name": "setActiveSection",
33654
- "privacy": "private",
33651
+ "kind": "field",
33652
+ "name": "disabled",
33653
+ "type": {
33654
+ "text": "boolean"
33655
+ },
33655
33656
  "inheritedFrom": {
33656
- "name": "SectionNavigator",
33657
- "module": "src/section-navigator/section-navigator.ts"
33657
+ "name": "SearchBar",
33658
+ "module": "src/search-bar/search-bar.ts"
33658
33659
  }
33659
33660
  },
33660
33661
  {
33661
- "kind": "method",
33662
- "name": "handleSectionClick",
33663
- "privacy": "public",
33664
- "parameters": [
33665
- {
33666
- "name": "sectionName",
33667
- "type": {
33668
- "text": "string"
33669
- }
33670
- }
33671
- ],
33662
+ "kind": "field",
33663
+ "name": "clearButton",
33664
+ "type": {
33665
+ "text": "boolean"
33666
+ },
33667
+ "default": "true",
33668
+ "attribute": "clear-button",
33672
33669
  "inheritedFrom": {
33673
- "name": "SectionNavigator",
33674
- "module": "src/section-navigator/section-navigator.ts"
33670
+ "name": "SearchBar",
33671
+ "module": "src/search-bar/search-bar.ts"
33675
33672
  }
33676
33673
  },
33677
33674
  {
33678
- "kind": "method",
33679
- "name": "updateSpacer",
33680
- "privacy": "private",
33675
+ "kind": "field",
33676
+ "name": "loading",
33677
+ "type": {
33678
+ "text": "boolean"
33679
+ },
33681
33680
  "inheritedFrom": {
33682
- "name": "SectionNavigator",
33683
- "module": "src/section-navigator/section-navigator.ts"
33681
+ "name": "SearchBar",
33682
+ "module": "src/search-bar/search-bar.ts"
33684
33683
  }
33685
33684
  },
33686
33685
  {
33687
- "kind": "method",
33688
- "name": "scrollToSection",
33689
- "privacy": "private",
33690
- "parameters": [
33691
- {
33692
- "name": "sectionName",
33693
- "type": {
33694
- "text": "string"
33695
- }
33696
- }
33697
- ],
33686
+ "kind": "field",
33687
+ "name": "selectedOptions",
33688
+ "type": {
33689
+ "text": "SelectedOption[]"
33690
+ },
33691
+ "default": "[]",
33698
33692
  "inheritedFrom": {
33699
- "name": "SectionNavigator",
33700
- "module": "src/section-navigator/section-navigator.ts"
33693
+ "name": "SearchBar",
33694
+ "module": "src/search-bar/search-bar.ts"
33701
33695
  }
33702
33696
  },
33703
33697
  {
33704
- "kind": "method",
33705
- "name": "updateScrollDetection",
33706
- "privacy": "private",
33698
+ "kind": "field",
33699
+ "name": "filteredOptions",
33700
+ "type": {
33701
+ "text": "AvailableOption[]"
33702
+ },
33707
33703
  "inheritedFrom": {
33708
- "name": "SectionNavigator",
33709
- "module": "src/section-navigator/section-navigator.ts"
33704
+ "name": "SearchBar",
33705
+ "module": "src/search-bar/search-bar.ts"
33710
33706
  }
33711
33707
  },
33712
33708
  {
33713
- "kind": "method",
33714
- "name": "setupScrollDetection",
33715
- "privacy": "private",
33709
+ "kind": "field",
33710
+ "name": "selectedOptionsDiv",
33711
+ "type": {
33712
+ "text": "HTMLDivElement"
33713
+ },
33714
+ "privacy": "public",
33716
33715
  "inheritedFrom": {
33717
- "name": "SectionNavigator",
33718
- "module": "src/section-navigator/section-navigator.ts"
33716
+ "name": "SearchBar",
33717
+ "module": "src/search-bar/search-bar.ts"
33719
33718
  }
33720
33719
  },
33721
33720
  {
33722
33721
  "kind": "method",
33723
- "name": "updateActiveSectionBasedOnScrollPosition",
33724
- "privacy": "private",
33722
+ "name": "clear",
33723
+ "privacy": "public",
33724
+ "description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array.",
33725
33725
  "inheritedFrom": {
33726
- "name": "SectionNavigator",
33727
- "module": "src/section-navigator/section-navigator.ts"
33726
+ "name": "SearchBar",
33727
+ "module": "src/search-bar/search-bar.ts"
33728
33728
  }
33729
33729
  },
33730
33730
  {
33731
33731
  "kind": "method",
33732
- "name": "setupScrollEndDetection",
33733
- "privacy": "private",
33732
+ "name": "clearSearch",
33733
+ "privacy": "public",
33734
+ "return": {
33735
+ "type": {
33736
+ "text": "void"
33737
+ }
33738
+ },
33739
+ "description": "Alias for SearchBar.clear.",
33734
33740
  "inheritedFrom": {
33735
- "name": "SectionNavigator",
33736
- "module": "src/section-navigator/section-navigator.ts"
33741
+ "name": "SearchBar",
33742
+ "module": "src/search-bar/search-bar.ts"
33737
33743
  }
33738
33744
  },
33739
33745
  {
33740
33746
  "kind": "method",
33741
- "name": "cleanupScrollEndDetection",
33742
- "privacy": "private",
33747
+ "name": "selectedOptionsChanged",
33743
33748
  "inheritedFrom": {
33744
- "name": "SectionNavigator",
33745
- "module": "src/section-navigator/section-navigator.ts"
33749
+ "name": "SearchBar",
33750
+ "module": "src/search-bar/search-bar.ts"
33746
33751
  }
33747
33752
  },
33748
33753
  {
33749
33754
  "kind": "method",
33750
- "name": "cleanupScrollDetection",
33751
- "privacy": "private",
33755
+ "name": "optionsChanged",
33752
33756
  "inheritedFrom": {
33753
- "name": "SectionNavigator",
33754
- "module": "src/section-navigator/section-navigator.ts"
33757
+ "name": "SearchBar",
33758
+ "module": "src/search-bar/search-bar.ts"
33755
33759
  }
33756
33760
  },
33757
33761
  {
33758
33762
  "kind": "method",
33759
- "name": "setupStateEventListeners",
33763
+ "name": "applySearchInputLock",
33760
33764
  "privacy": "private",
33761
33765
  "inheritedFrom": {
33762
- "name": "SectionNavigator",
33763
- "module": "src/section-navigator/section-navigator.ts"
33764
- }
33765
- },
33766
- {
33767
- "kind": "method",
33768
- "name": "updateSectionStates",
33769
- "privacy": "private",
33770
- "parameters": [
33771
- {
33772
- "name": "sectionName",
33773
- "type": {
33774
- "text": "string"
33775
- }
33776
- },
33777
- {
33778
- "name": "newStates",
33779
- "type": {
33780
- "text": "SectionItemStateName[]"
33781
- }
33782
- }
33783
- ],
33766
+ "name": "SearchBar",
33767
+ "module": "src/search-bar/search-bar.ts"
33768
+ }
33769
+ },
33770
+ {
33771
+ "kind": "method",
33772
+ "name": "inputdeleted",
33773
+ "privacy": "public",
33784
33774
  "inheritedFrom": {
33785
- "name": "SectionNavigator",
33786
- "module": "src/section-navigator/section-navigator.ts"
33775
+ "name": "SearchBar",
33776
+ "module": "src/search-bar/search-bar.ts"
33787
33777
  }
33788
33778
  },
33789
33779
  {
33790
33780
  "kind": "method",
33791
- "name": "addState",
33792
- "privacy": "private",
33793
- "parameters": [
33794
- {
33795
- "name": "sectionName",
33796
- "type": {
33797
- "text": "string"
33798
- }
33799
- },
33800
- {
33801
- "name": "stateName",
33802
- "type": {
33803
- "text": "SectionItemStateName"
33804
- }
33805
- }
33806
- ],
33781
+ "name": "changeHandler",
33782
+ "privacy": "public",
33807
33783
  "inheritedFrom": {
33808
- "name": "SectionNavigator",
33809
- "module": "src/section-navigator/section-navigator.ts"
33784
+ "name": "SearchBar",
33785
+ "module": "src/search-bar/search-bar.ts"
33810
33786
  }
33811
33787
  },
33812
33788
  {
33813
33789
  "kind": "method",
33814
- "name": "addStates",
33815
- "privacy": "private",
33790
+ "name": "pasteHandler",
33791
+ "privacy": "public",
33816
33792
  "parameters": [
33817
33793
  {
33818
- "name": "sectionName",
33819
- "type": {
33820
- "text": "string"
33821
- }
33822
- },
33823
- {
33824
- "name": "stateNames",
33794
+ "name": "event",
33825
33795
  "type": {
33826
- "text": "SectionItemStateName[]"
33796
+ "text": "ClipboardEvent"
33827
33797
  }
33828
33798
  }
33829
33799
  ],
33830
33800
  "inheritedFrom": {
33831
- "name": "SectionNavigator",
33832
- "module": "src/section-navigator/section-navigator.ts"
33801
+ "name": "SearchBar",
33802
+ "module": "src/search-bar/search-bar.ts"
33833
33803
  }
33834
33804
  },
33835
33805
  {
33836
33806
  "kind": "method",
33837
- "name": "clearState",
33838
- "privacy": "private",
33807
+ "name": "hasSelectedOption",
33808
+ "privacy": "public",
33839
33809
  "parameters": [
33840
33810
  {
33841
- "name": "sectionName",
33811
+ "name": "term",
33842
33812
  "type": {
33843
33813
  "text": "string"
33844
33814
  }
33845
33815
  },
33846
33816
  {
33847
- "name": "stateName",
33817
+ "name": "field",
33848
33818
  "type": {
33849
- "text": "SectionItemStateName"
33819
+ "text": "string"
33850
33820
  }
33851
33821
  }
33852
33822
  ],
33853
33823
  "inheritedFrom": {
33854
- "name": "SectionNavigator",
33855
- "module": "src/section-navigator/section-navigator.ts"
33824
+ "name": "SearchBar",
33825
+ "module": "src/search-bar/search-bar.ts"
33856
33826
  }
33857
33827
  },
33858
33828
  {
33859
33829
  "kind": "method",
33860
- "name": "clearAllStates",
33861
- "privacy": "private",
33830
+ "name": "unselectOption",
33831
+ "privacy": "public",
33862
33832
  "parameters": [
33863
33833
  {
33864
- "name": "sectionName",
33834
+ "name": "option",
33865
33835
  "type": {
33866
- "text": "string"
33836
+ "text": "any"
33867
33837
  }
33868
33838
  }
33869
33839
  ],
33870
33840
  "inheritedFrom": {
33871
- "name": "SectionNavigator",
33872
- "module": "src/section-navigator/section-navigator.ts"
33841
+ "name": "SearchBar",
33842
+ "module": "src/search-bar/search-bar.ts"
33873
33843
  }
33874
33844
  },
33875
33845
  {
33876
33846
  "kind": "method",
33877
- "name": "clearAllStatesInAllSections",
33878
- "privacy": "private",
33847
+ "name": "inputHandler",
33848
+ "privacy": "public",
33879
33849
  "inheritedFrom": {
33880
- "name": "SectionNavigator",
33881
- "module": "src/section-navigator/section-navigator.ts"
33850
+ "name": "SearchBar",
33851
+ "module": "src/search-bar/search-bar.ts"
33882
33852
  }
33883
33853
  },
33884
33854
  {
33885
33855
  "kind": "method",
33886
- "name": "getStateTooltip",
33887
- "privacy": "public",
33888
- "return": {
33889
- "type": {
33890
- "text": "string"
33891
- }
33892
- },
33856
+ "name": "filterSelectedOptions",
33857
+ "privacy": "private",
33893
33858
  "parameters": [
33894
33859
  {
33895
- "name": "stateName",
33860
+ "name": "term",
33896
33861
  "type": {
33897
- "text": "SectionItemStateName"
33862
+ "text": "string"
33898
33863
  }
33899
33864
  }
33900
33865
  ],
33901
33866
  "inheritedFrom": {
33902
- "name": "SectionNavigator",
33903
- "module": "src/section-navigator/section-navigator.ts"
33867
+ "name": "SearchBar",
33868
+ "module": "src/search-bar/search-bar.ts"
33904
33869
  }
33905
33870
  },
33906
33871
  {
33907
- "kind": "method",
33908
- "name": "getSectionStateClass",
33909
- "privacy": "public",
33910
- "return": {
33911
- "type": {
33912
- "text": "string"
33913
- }
33914
- },
33915
- "parameters": [
33916
- {
33917
- "name": "section",
33918
- "type": {
33919
- "text": "SectionItem"
33920
- }
33921
- }
33922
- ],
33872
+ "kind": "field",
33873
+ "name": "normalizeDelimiter",
33874
+ "privacy": "private",
33923
33875
  "inheritedFrom": {
33924
- "name": "SectionNavigator",
33925
- "module": "src/section-navigator/section-navigator.ts"
33876
+ "name": "SearchBar",
33877
+ "module": "src/search-bar/search-bar.ts"
33926
33878
  }
33927
33879
  },
33928
33880
  {
33929
- "kind": "method",
33930
- "name": "getStateIcon",
33931
- "privacy": "public",
33932
- "return": {
33933
- "type": {
33934
- "text": "SectionItemStateIcon"
33935
- }
33936
- },
33937
- "parameters": [
33938
- {
33939
- "name": "stateName",
33940
- "type": {
33941
- "text": "SectionItemStateName"
33942
- }
33943
- }
33944
- ],
33881
+ "kind": "field",
33882
+ "name": "addOrReplaceSelectedText",
33883
+ "privacy": "private",
33945
33884
  "inheritedFrom": {
33946
- "name": "SectionNavigator",
33947
- "module": "src/section-navigator/section-navigator.ts"
33885
+ "name": "SearchBar",
33886
+ "module": "src/search-bar/search-bar.ts"
33948
33887
  }
33949
33888
  },
33950
33889
  {
@@ -34059,61 +33998,122 @@
34059
33998
  }
34060
33999
  }
34061
34000
  ],
34062
- "events": [
34001
+ "superclass": {
34002
+ "name": "FoundationSearchBar",
34003
+ "package": "@genesislcap/foundation-ui"
34004
+ },
34005
+ "tagName": "%%prefix%%-search-bar",
34006
+ "customElement": true,
34007
+ "attributes": [
34063
34008
  {
34064
- "description": "Fired when a child state event is re-dispatched with an inferred section name",
34065
- "name": "section-navigator-set-state",
34009
+ "name": "clear-button",
34010
+ "type": {
34011
+ "text": "boolean"
34012
+ },
34013
+ "default": "true",
34014
+ "attribute": "clear-button",
34015
+ "fieldName": "clearButton",
34016
+ "description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically.",
34066
34017
  "inheritedFrom": {
34067
- "name": "SectionNavigator",
34068
- "module": "src/section-navigator/section-navigator.ts"
34018
+ "name": "SearchBar",
34019
+ "module": "src/search-bar/search-bar.ts"
34069
34020
  }
34070
34021
  },
34071
34022
  {
34072
- "description": "Fired when a child state event is re-dispatched with an inferred section name",
34073
- "name": "section-navigator-set-states",
34023
+ "name": "appearance",
34024
+ "type": {
34025
+ "text": "string"
34026
+ },
34027
+ "default": "'neutral'",
34028
+ "fieldName": "appearance",
34074
34029
  "inheritedFrom": {
34075
- "name": "SectionNavigator",
34076
- "module": "src/section-navigator/section-navigator.ts"
34030
+ "name": "SearchBar",
34031
+ "module": "src/search-bar/search-bar.ts"
34077
34032
  }
34078
34033
  },
34079
34034
  {
34080
- "description": "Fired when a child state event is re-dispatched with an inferred section name",
34081
- "name": "section-navigator-clear-state",
34035
+ "name": "minlength",
34036
+ "type": {
34037
+ "text": "number"
34038
+ },
34039
+ "default": "INPUT_MIN_LENGTH",
34040
+ "resolveInitializer": {
34041
+ "module": "/src/search-bar/search-bar.types"
34042
+ },
34043
+ "fieldName": "minlength",
34082
34044
  "inheritedFrom": {
34083
- "name": "SectionNavigator",
34084
- "module": "src/section-navigator/section-navigator.ts"
34045
+ "name": "SearchBar",
34046
+ "module": "src/search-bar/search-bar.ts"
34085
34047
  }
34086
34048
  },
34087
34049
  {
34088
- "description": "Fired when a child state event is re-dispatched with an inferred section name",
34089
- "name": "section-navigator-clear-all-states",
34050
+ "name": "position",
34051
+ "type": {
34052
+ "text": "Position"
34053
+ },
34054
+ "fieldName": "position",
34090
34055
  "inheritedFrom": {
34091
- "name": "SectionNavigator",
34092
- "module": "src/section-navigator/section-navigator.ts"
34056
+ "name": "SearchBar",
34057
+ "module": "src/search-bar/search-bar.ts"
34058
+ }
34059
+ },
34060
+ {
34061
+ "name": "placeholder",
34062
+ "type": {
34063
+ "text": "string"
34064
+ },
34065
+ "default": "'Start typing to search'",
34066
+ "fieldName": "placeholder",
34067
+ "inheritedFrom": {
34068
+ "name": "SearchBar",
34069
+ "module": "src/search-bar/search-bar.ts"
34070
+ }
34071
+ },
34072
+ {
34073
+ "name": "disabled",
34074
+ "type": {
34075
+ "text": "boolean"
34076
+ },
34077
+ "fieldName": "disabled",
34078
+ "inheritedFrom": {
34079
+ "name": "SearchBar",
34080
+ "module": "src/search-bar/search-bar.ts"
34081
+ }
34082
+ }
34083
+ ],
34084
+ "events": [
34085
+ {
34086
+ "description": "Fired when the selected search options change",
34087
+ "name": "selectionChange",
34088
+ "inheritedFrom": {
34089
+ "name": "SearchBar",
34090
+ "module": "src/search-bar/search-bar.ts"
34093
34091
  }
34094
34092
  }
34095
34093
  ]
34096
34094
  },
34097
34095
  {
34098
34096
  "kind": "variable",
34099
- "name": "zeroSectionNavigator"
34097
+ "name": "zeroSearchBar",
34098
+ "description": "The Zero Search Bar",
34099
+ "privacy": "public"
34100
34100
  }
34101
34101
  ],
34102
34102
  "exports": [
34103
34103
  {
34104
34104
  "kind": "js",
34105
- "name": "SectionNavigator",
34105
+ "name": "SearchBar",
34106
34106
  "declaration": {
34107
- "name": "SectionNavigator",
34108
- "module": "src/section-navigator/section-navigator.ts"
34107
+ "name": "SearchBar",
34108
+ "module": "src/search-bar/search-bar.ts"
34109
34109
  }
34110
34110
  },
34111
34111
  {
34112
34112
  "kind": "js",
34113
- "name": "zeroSectionNavigator",
34113
+ "name": "zeroSearchBar",
34114
34114
  "declaration": {
34115
- "name": "zeroSectionNavigator",
34116
- "module": "src/section-navigator/section-navigator.ts"
34115
+ "name": "zeroSearchBar",
34116
+ "module": "src/search-bar/search-bar.ts"
34117
34117
  }
34118
34118
  }
34119
34119
  ]