@genesislcap/foundation-zero 14.452.1 → 14.454.0

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