@genesislcap/foundation-zero 14.489.1-alpha-519bcd2.0 → 14.489.1-alpha-3579542.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.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroAiCriteriaSearch,\n zeroAiIndicator,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumb,\n zeroBreadcrumbItem,\n zeroButton,\n zeroCalendar,\n zeroCard,\n zeroCategorizedMultiselect,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDatePicker,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroEnvironmentIndicator,\n zeroErrorBanner,\n zeroErrorBoundary,\n zeroErrorDialog,\n zeroFileReader,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNotificationListener,\n zeroNumberField,\n zeroOptgroup,\n zeroPill,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSchedulerCronBuilder,\n zeroSearchBar,\n zeroSearchBarCombobox,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroScheduler,\n zeroSchedulerTimezone,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroStackingIcons,\n zeroStatusPill,\n zeroStepper,\n zeroStepperTab,\n zeroStepperTabPanel,\n zeroSwitch,\n zeroSystemHealthOverlay,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n zeroSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n zeroAccordion,\n zeroAccordionItem,\n zeroAiCriteriaSearch,\n zeroAiIndicator,\n zeroActionsMenu,\n zeroAnchor,\n zeroAnchoredRegion,\n zeroAvatar,\n zeroBadge,\n zeroBanner,\n zeroBreadcrumb,\n zeroBreadcrumbItem,\n zeroButton,\n zeroCalendar,\n zeroCard,\n zeroCategorizedMultiselect,\n zeroCheckbox,\n zeroCombobox,\n zeroConnectionIndicator,\n zeroDataGrid,\n zeroDatePicker,\n zeroDesignSystemProvider,\n zeroDialog,\n zeroDisclosure,\n zeroDivider,\n zeroDropdownMenu,\n zeroEnvironmentIndicator,\n zeroErrorBanner,\n zeroErrorBoundary,\n zeroErrorDialog,\n zeroFileReader,\n zeroFileUpload,\n zeroFilter,\n zeroFilterBar,\n zeroFlexLayout,\n zeroFlipper,\n zeroFlyout,\n zeroGridLayout,\n zeroGridLayoutItem,\n zeroHorizontalScroll,\n zeroIcon,\n zeroListbox,\n zeroListboxOption,\n zeroMenu,\n zeroMenuItem,\n zeroModal,\n zeroMultiselect,\n zeroNotificationListener,\n zeroNumberField,\n zeroOptgroup,\n zeroProgress,\n zeroProgressRing,\n zeroRadio,\n zeroRadioGroup,\n zeroSchedulerCronBuilder,\n zeroSearchBar,\n zeroSearchBarCombobox,\n zeroSegmentedControl,\n zeroSegmentedItem,\n zeroSelect,\n zeroScheduler,\n zeroSchedulerTimezone,\n zeroSkeleton,\n zeroSlider,\n zeroSliderLabel,\n zeroSnackbar,\n zeroStackingIcons,\n zeroStatusPill,\n zeroStepper,\n zeroStepperTab,\n zeroStepperTabPanel,\n zeroSwitch,\n zeroSystemHealthOverlay,\n zeroTab,\n zeroTabPanel,\n zeroTabs,\n zeroTextArea,\n zeroTextField,\n zeroToast,\n zeroToolbar,\n zeroTooltip,\n zeroTreeItem,\n zeroTreeView,\n zeroUrlInput,\n zeroSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -460,14 +460,6 @@
460
460
  "package": "./overlays"
461
461
  }
462
462
  },
463
- {
464
- "kind": "js",
465
- "name": "*",
466
- "declaration": {
467
- "name": "*",
468
- "package": "./pill"
469
- }
470
- },
471
463
  {
472
464
  "kind": "js",
473
465
  "name": "*",
@@ -21601,11 +21593,11 @@
21601
21593
  },
21602
21594
  {
21603
21595
  "kind": "javascript-module",
21604
- "path": "src/icon/icon.styles.ts",
21596
+ "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
21605
21597
  "declarations": [
21606
21598
  {
21607
21599
  "kind": "function",
21608
- "name": "zeroIconStyles",
21600
+ "name": "zeroHorizontalScrollStyles",
21609
21601
  "return": {
21610
21602
  "type": {
21611
21603
  "text": "ElementStyles"
@@ -21630,293 +21622,457 @@
21630
21622
  "exports": [
21631
21623
  {
21632
21624
  "kind": "js",
21633
- "name": "zeroIconStyles",
21625
+ "name": "zeroHorizontalScrollStyles",
21634
21626
  "declaration": {
21635
- "name": "zeroIconStyles",
21636
- "module": "src/icon/icon.styles.ts"
21627
+ "name": "zeroHorizontalScrollStyles",
21628
+ "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
21637
21629
  }
21638
21630
  }
21639
21631
  ]
21640
21632
  },
21641
21633
  {
21642
21634
  "kind": "javascript-module",
21643
- "path": "src/icon/icon.template.ts",
21635
+ "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
21644
21636
  "declarations": [
21645
21637
  {
21646
- "kind": "variable",
21647
- "name": "zeroIconTemplate",
21648
- "default": "html<Icon>`\n ${getPrefixedIcon('zero')}\n`"
21638
+ "kind": "function",
21639
+ "name": "zeroHorizontalScrollTemplate",
21640
+ "return": {
21641
+ "type": {
21642
+ "text": "ViewTemplate<HorizontalScroll>"
21643
+ }
21644
+ },
21645
+ "parameters": [
21646
+ {
21647
+ "name": "context",
21648
+ "type": {
21649
+ "text": "ElementDefinitionContext"
21650
+ }
21651
+ },
21652
+ {
21653
+ "name": "definition",
21654
+ "type": {
21655
+ "text": "FoundationElementDefinition"
21656
+ }
21657
+ }
21658
+ ]
21649
21659
  }
21650
21660
  ],
21651
21661
  "exports": [
21652
21662
  {
21653
21663
  "kind": "js",
21654
- "name": "zeroIconTemplate",
21664
+ "name": "zeroHorizontalScrollTemplate",
21655
21665
  "declaration": {
21656
- "name": "zeroIconTemplate",
21657
- "module": "src/icon/icon.template.ts"
21666
+ "name": "zeroHorizontalScrollTemplate",
21667
+ "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
21658
21668
  }
21659
21669
  }
21660
21670
  ]
21661
21671
  },
21662
21672
  {
21663
21673
  "kind": "javascript-module",
21664
- "path": "src/icon/icon.ts",
21674
+ "path": "src/horizontal-scroll/horizontal-scroll.ts",
21665
21675
  "declarations": [
21666
21676
  {
21667
21677
  "kind": "class",
21668
21678
  "description": "",
21669
- "name": "Icon",
21679
+ "name": "HorizontalScroll",
21670
21680
  "superclass": {
21671
- "name": "FoundationIcon",
21681
+ "name": "FoundationHorizontalScroll",
21672
21682
  "package": "@genesislcap/foundation-ui"
21673
21683
  },
21674
- "tagName": "%%prefix%%-icon",
21684
+ "tagName": "%%prefix%%-horizontal-scroll",
21675
21685
  "customElement": true,
21676
21686
  "attributes": [
21677
21687
  {
21678
- "name": "tooltip-id",
21679
21688
  "type": {
21680
- "text": "string"
21689
+ "text": "number"
21681
21690
  },
21682
- "fieldName": "tooltipId",
21691
+ "default": "600",
21692
+ "description": "Speed of scroll in pixels per second",
21693
+ "fieldName": "speed",
21683
21694
  "inheritedFrom": {
21684
- "name": "Icon",
21685
- "module": "src/icon/icon.ts"
21695
+ "name": "HorizontalScroll",
21696
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21686
21697
  }
21687
21698
  },
21688
21699
  {
21689
- "name": "tooltip",
21700
+ "name": "duration",
21690
21701
  "type": {
21691
21702
  "text": "string"
21692
21703
  },
21693
- "fieldName": "tooltip",
21704
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
21705
+ "fieldName": "duration",
21694
21706
  "inheritedFrom": {
21695
- "name": "Icon",
21696
- "module": "src/icon/icon.ts"
21707
+ "name": "HorizontalScroll",
21708
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21697
21709
  }
21698
21710
  },
21699
21711
  {
21700
- "name": "error",
21712
+ "name": "easing",
21713
+ "type": {
21714
+ "text": "ScrollEasing"
21715
+ },
21716
+ "default": "\"ease-in-out\"",
21717
+ "description": "Attribute used for easing, defaults to ease-in-out",
21718
+ "fieldName": "easing",
21719
+ "inheritedFrom": {
21720
+ "name": "HorizontalScroll",
21721
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21722
+ }
21723
+ },
21724
+ {
21725
+ "name": "flippers-hidden-from-at",
21701
21726
  "type": {
21702
21727
  "text": "boolean"
21703
21728
  },
21704
21729
  "default": "false",
21705
- "fieldName": "isError",
21730
+ "description": "Attribute to hide flippers from assistive technology",
21731
+ "fieldName": "flippersHiddenFromAT",
21706
21732
  "inheritedFrom": {
21707
- "name": "Icon",
21708
- "module": "src/icon/icon.ts"
21733
+ "name": "HorizontalScroll",
21734
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21709
21735
  }
21710
21736
  },
21711
21737
  {
21712
- "name": "name",
21738
+ "name": "view",
21713
21739
  "type": {
21714
- "text": "IconName"
21740
+ "text": "HorizontalScrollView"
21715
21741
  },
21716
- "fieldName": "name",
21742
+ "description": "View: default | mobile",
21743
+ "fieldName": "view",
21717
21744
  "inheritedFrom": {
21718
- "name": "Icon",
21719
- "module": "src/icon/icon.ts"
21745
+ "name": "HorizontalScroll",
21746
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21720
21747
  }
21721
- },
21748
+ }
21749
+ ],
21750
+ "members": [
21722
21751
  {
21723
- "name": "size",
21752
+ "kind": "field",
21753
+ "name": "scrollContainer",
21724
21754
  "type": {
21725
- "text": "FaSize"
21755
+ "text": "HTMLDivElement"
21726
21756
  },
21727
- "default": "'sm'",
21728
- "fieldName": "size",
21757
+ "privacy": "public",
21758
+ "description": "Reference to DOM element that scrolls the content",
21729
21759
  "inheritedFrom": {
21730
- "name": "Icon",
21731
- "module": "src/icon/icon.ts"
21760
+ "name": "HorizontalScroll",
21761
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21732
21762
  }
21733
21763
  },
21734
21764
  {
21735
- "name": "variant",
21765
+ "kind": "field",
21766
+ "name": "content",
21736
21767
  "type": {
21737
- "text": "IconStyle"
21768
+ "text": "HTMLDivElement"
21738
21769
  },
21739
- "default": "'solid'",
21740
- "fieldName": "variant",
21770
+ "privacy": "public",
21771
+ "description": "Reference to DOM element that holds the slotted content",
21741
21772
  "inheritedFrom": {
21742
- "name": "Icon",
21743
- "module": "src/icon/icon.ts"
21773
+ "name": "HorizontalScroll",
21774
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21744
21775
  }
21745
- }
21746
- ],
21747
- "members": [
21776
+ },
21748
21777
  {
21749
21778
  "kind": "field",
21750
- "name": "iElement",
21779
+ "name": "previousFlipperContainer",
21751
21780
  "type": {
21752
- "text": "HTMLElement"
21781
+ "text": "HTMLDivElement"
21753
21782
  },
21783
+ "privacy": "public",
21784
+ "description": "Reference to flipper to scroll to previous content",
21754
21785
  "inheritedFrom": {
21755
- "name": "Icon",
21756
- "module": "src/icon/icon.ts"
21786
+ "name": "HorizontalScroll",
21787
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21757
21788
  }
21758
21789
  },
21759
21790
  {
21760
21791
  "kind": "field",
21761
- "name": "uuid",
21792
+ "name": "nextFlipperContainer",
21762
21793
  "type": {
21763
- "text": "UUID"
21794
+ "text": "HTMLDivElement"
21764
21795
  },
21796
+ "privacy": "public",
21797
+ "description": "Reference to flipper to scroll to the next content",
21765
21798
  "inheritedFrom": {
21766
- "name": "Icon",
21767
- "module": "src/icon/icon.ts"
21799
+ "name": "HorizontalScroll",
21800
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21768
21801
  }
21769
21802
  },
21770
21803
  {
21771
21804
  "kind": "field",
21772
- "name": "tooltipId",
21805
+ "name": "speed",
21773
21806
  "type": {
21774
- "text": "string"
21807
+ "text": "number"
21775
21808
  },
21809
+ "privacy": "public",
21810
+ "default": "600",
21811
+ "description": "Speed of scroll in pixels per second",
21776
21812
  "inheritedFrom": {
21777
- "name": "Icon",
21778
- "module": "src/icon/icon.ts"
21813
+ "name": "HorizontalScroll",
21814
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21779
21815
  }
21780
21816
  },
21781
21817
  {
21782
21818
  "kind": "field",
21783
- "name": "tooltip",
21819
+ "name": "duration",
21784
21820
  "type": {
21785
21821
  "text": "string"
21786
21822
  },
21823
+ "privacy": "public",
21824
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
21787
21825
  "inheritedFrom": {
21788
- "name": "Icon",
21789
- "module": "src/icon/icon.ts"
21826
+ "name": "HorizontalScroll",
21827
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21790
21828
  }
21791
21829
  },
21792
21830
  {
21793
21831
  "kind": "field",
21794
- "name": "isError",
21832
+ "name": "easing",
21795
21833
  "type": {
21796
- "text": "boolean"
21834
+ "text": "ScrollEasing"
21797
21835
  },
21798
- "default": "false",
21836
+ "privacy": "public",
21837
+ "default": "\"ease-in-out\"",
21838
+ "description": "Attribute used for easing, defaults to ease-in-out",
21799
21839
  "inheritedFrom": {
21800
- "name": "Icon",
21801
- "module": "src/icon/icon.ts"
21840
+ "name": "HorizontalScroll",
21841
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21802
21842
  }
21803
21843
  },
21804
21844
  {
21805
21845
  "kind": "field",
21806
- "name": "name",
21846
+ "name": "flippersHiddenFromAT",
21807
21847
  "type": {
21808
- "text": "IconName"
21848
+ "text": "boolean"
21809
21849
  },
21850
+ "privacy": "public",
21851
+ "default": "false",
21852
+ "description": "Attribute to hide flippers from assistive technology",
21810
21853
  "inheritedFrom": {
21811
- "name": "Icon",
21812
- "module": "src/icon/icon.ts"
21854
+ "name": "HorizontalScroll",
21855
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21813
21856
  }
21814
21857
  },
21815
21858
  {
21816
- "kind": "method",
21817
- "name": "nameChanged",
21818
- "parameters": [
21819
- {
21820
- "name": "oldValue",
21821
- "type": {
21822
- "text": "string"
21823
- }
21824
- },
21825
- {
21826
- "name": "newValue",
21827
- "type": {
21828
- "text": "string"
21829
- }
21830
- }
21831
- ],
21859
+ "kind": "field",
21860
+ "name": "scrollItems",
21861
+ "type": {
21862
+ "text": "HTMLElement[]"
21863
+ },
21864
+ "privacy": "public",
21865
+ "description": "The default slotted items placed in the scrolling container.",
21832
21866
  "inheritedFrom": {
21833
- "name": "Icon",
21834
- "module": "src/icon/icon.ts"
21867
+ "name": "HorizontalScroll",
21868
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21835
21869
  }
21836
21870
  },
21837
21871
  {
21838
21872
  "kind": "field",
21839
- "name": "size",
21873
+ "name": "view",
21840
21874
  "type": {
21841
- "text": "FaSize"
21875
+ "text": "HorizontalScrollView"
21842
21876
  },
21843
- "default": "'sm'",
21877
+ "privacy": "public",
21878
+ "description": "View: default | mobile",
21844
21879
  "inheritedFrom": {
21845
- "name": "Icon",
21846
- "module": "src/icon/icon.ts"
21880
+ "name": "HorizontalScroll",
21881
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21847
21882
  }
21848
21883
  },
21849
21884
  {
21850
21885
  "kind": "method",
21851
- "name": "sizeChanged",
21886
+ "name": "scrollItemsChanged",
21887
+ "privacy": "public",
21852
21888
  "parameters": [
21853
21889
  {
21854
- "name": "oldValue",
21890
+ "name": "previous",
21855
21891
  "type": {
21856
- "text": "string"
21857
- }
21892
+ "text": "HTMLElement[]"
21893
+ },
21894
+ "description": "current scroll items"
21858
21895
  },
21859
21896
  {
21860
- "name": "newValue",
21897
+ "name": "next",
21861
21898
  "type": {
21862
- "text": "string"
21899
+ "text": "HTMLElement[]"
21900
+ },
21901
+ "description": "new updated scroll items"
21902
+ }
21903
+ ],
21904
+ "description": "Updates scroll stops and flippers when scroll items change",
21905
+ "inheritedFrom": {
21906
+ "name": "HorizontalScroll",
21907
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21908
+ }
21909
+ },
21910
+ {
21911
+ "kind": "method",
21912
+ "name": "fixScrollMisalign",
21913
+ "privacy": "private",
21914
+ "parameters": [
21915
+ {
21916
+ "name": "stops",
21917
+ "type": {
21918
+ "text": "number[]"
21863
21919
  }
21864
21920
  }
21865
21921
  ],
21866
21922
  "inheritedFrom": {
21867
- "name": "Icon",
21868
- "module": "src/icon/icon.ts"
21923
+ "name": "HorizontalScroll",
21924
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21869
21925
  }
21870
21926
  },
21871
21927
  {
21872
- "kind": "field",
21873
- "name": "variant",
21874
- "type": {
21875
- "text": "IconStyle"
21928
+ "kind": "method",
21929
+ "name": "scrollInView",
21930
+ "privacy": "public",
21931
+ "return": {
21932
+ "type": {
21933
+ "text": "void"
21934
+ }
21876
21935
  },
21877
- "default": "'solid'",
21936
+ "parameters": [
21937
+ {
21938
+ "name": "item",
21939
+ "type": {
21940
+ "text": "HTMLElement | number"
21941
+ },
21942
+ "description": "An item index, a scroll item or a child of one of the scroll items"
21943
+ },
21944
+ {
21945
+ "name": "padding",
21946
+ "default": "0",
21947
+ "type": {
21948
+ "text": "number"
21949
+ },
21950
+ "description": "Padding of the viewport where the active item shouldn't be"
21951
+ },
21952
+ {
21953
+ "name": "rightPadding",
21954
+ "optional": true,
21955
+ "type": {
21956
+ "text": "number"
21957
+ },
21958
+ "description": "Optional right padding. Uses the padding if not defined"
21959
+ }
21960
+ ],
21961
+ "description": "Function that can scroll an item into view.",
21878
21962
  "inheritedFrom": {
21879
- "name": "Icon",
21880
- "module": "src/icon/icon.ts"
21963
+ "name": "HorizontalScroll",
21964
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21881
21965
  }
21882
21966
  },
21883
21967
  {
21884
21968
  "kind": "method",
21885
- "name": "variantChanged",
21969
+ "name": "keyupHandler",
21970
+ "privacy": "public",
21886
21971
  "parameters": [
21887
21972
  {
21888
- "name": "oldValue",
21973
+ "name": "e",
21889
21974
  "type": {
21890
- "text": "string"
21891
- }
21975
+ "text": "Event & KeyboardEvent"
21976
+ },
21977
+ "description": "Keyboard event"
21978
+ }
21979
+ ],
21980
+ "description": "Lets the user arrow left and right through the horizontal scroll",
21981
+ "inheritedFrom": {
21982
+ "name": "HorizontalScroll",
21983
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21984
+ }
21985
+ },
21986
+ {
21987
+ "kind": "method",
21988
+ "name": "scrollToPrevious",
21989
+ "privacy": "public",
21990
+ "return": {
21991
+ "type": {
21992
+ "text": "void"
21993
+ }
21994
+ },
21995
+ "description": "Scrolls items to the left",
21996
+ "inheritedFrom": {
21997
+ "name": "HorizontalScroll",
21998
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21999
+ }
22000
+ },
22001
+ {
22002
+ "kind": "method",
22003
+ "name": "scrollToNext",
22004
+ "privacy": "public",
22005
+ "return": {
22006
+ "type": {
22007
+ "text": "void"
22008
+ }
22009
+ },
22010
+ "description": "Scrolls items to the right",
22011
+ "inheritedFrom": {
22012
+ "name": "HorizontalScroll",
22013
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22014
+ }
22015
+ },
22016
+ {
22017
+ "kind": "method",
22018
+ "name": "scrollToPosition",
22019
+ "privacy": "public",
22020
+ "return": {
22021
+ "type": {
22022
+ "text": "void"
22023
+ }
22024
+ },
22025
+ "parameters": [
22026
+ {
22027
+ "name": "newPosition",
22028
+ "type": {
22029
+ "text": "number"
22030
+ },
22031
+ "description": "position to scroll to"
21892
22032
  },
21893
22033
  {
21894
- "name": "newValue",
22034
+ "name": "position",
22035
+ "default": "this.scrollContainer.scrollLeft",
21895
22036
  "type": {
21896
- "text": "string"
21897
- }
22037
+ "text": "number"
22038
+ },
22039
+ "description": "starting position"
21898
22040
  }
21899
22041
  ],
22042
+ "description": "Handles scrolling with easing",
21900
22043
  "inheritedFrom": {
21901
- "name": "Icon",
21902
- "module": "src/icon/icon.ts"
22044
+ "name": "HorizontalScroll",
22045
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21903
22046
  }
21904
22047
  },
21905
22048
  {
21906
22049
  "kind": "method",
21907
- "name": "getDefaultTooltipConfig",
22050
+ "name": "resized",
22051
+ "privacy": "public",
22052
+ "return": {
22053
+ "type": {
22054
+ "text": "void"
22055
+ }
22056
+ },
22057
+ "description": "Monitors resize event on the horizontal-scroll element",
21908
22058
  "inheritedFrom": {
21909
- "name": "Icon",
21910
- "module": "src/icon/icon.ts"
22059
+ "name": "HorizontalScroll",
22060
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21911
22061
  }
21912
22062
  },
21913
22063
  {
21914
22064
  "kind": "method",
21915
- "name": "loadIcon",
22065
+ "name": "scrolled",
21916
22066
  "privacy": "public",
22067
+ "return": {
22068
+ "type": {
22069
+ "text": "void"
22070
+ }
22071
+ },
22072
+ "description": "Monitors scrolled event on the content container",
21917
22073
  "inheritedFrom": {
21918
- "name": "Icon",
21919
- "module": "src/icon/icon.ts"
22074
+ "name": "HorizontalScroll",
22075
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21920
22076
  }
21921
22077
  },
21922
22078
  {
@@ -21928,8 +22084,8 @@
21928
22084
  "privacy": "private",
21929
22085
  "default": "void 0",
21930
22086
  "inheritedFrom": {
21931
- "name": "FoundationElement",
21932
- "module": "src/foundation-element/foundation-element.ts"
22087
+ "name": "HorizontalScroll",
22088
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21933
22089
  }
21934
22090
  },
21935
22091
  {
@@ -21941,8 +22097,8 @@
21941
22097
  "privacy": "public",
21942
22098
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
21943
22099
  "inheritedFrom": {
21944
- "name": "FoundationElement",
21945
- "module": "src/foundation-element/foundation-element.ts"
22100
+ "name": "HorizontalScroll",
22101
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21946
22102
  }
21947
22103
  },
21948
22104
  {
@@ -21954,8 +22110,8 @@
21954
22110
  "privacy": "public",
21955
22111
  "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.",
21956
22112
  "inheritedFrom": {
21957
- "name": "FoundationElement",
21958
- "module": "src/foundation-element/foundation-element.ts"
22113
+ "name": "HorizontalScroll",
22114
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21959
22115
  }
21960
22116
  },
21961
22117
  {
@@ -21968,8 +22124,8 @@
21968
22124
  }
21969
22125
  },
21970
22126
  "inheritedFrom": {
21971
- "name": "FoundationElement",
21972
- "module": "src/foundation-element/foundation-element.ts"
22127
+ "name": "HorizontalScroll",
22128
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21973
22129
  }
21974
22130
  },
21975
22131
  {
@@ -21981,8 +22137,8 @@
21981
22137
  "privacy": "public",
21982
22138
  "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.",
21983
22139
  "inheritedFrom": {
21984
- "name": "FoundationElement",
21985
- "module": "src/foundation-element/foundation-element.ts"
22140
+ "name": "HorizontalScroll",
22141
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
21986
22142
  }
21987
22143
  },
21988
22144
  {
@@ -21995,8 +22151,8 @@
21995
22151
  }
21996
22152
  },
21997
22153
  "inheritedFrom": {
21998
- "name": "FoundationElement",
21999
- "module": "src/foundation-element/foundation-element.ts"
22154
+ "name": "HorizontalScroll",
22155
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22000
22156
  }
22001
22157
  },
22002
22158
  {
@@ -22026,65 +22182,73 @@
22026
22182
  ],
22027
22183
  "description": "Defines an element registry function with a set of element definition defaults.",
22028
22184
  "inheritedFrom": {
22029
- "name": "FoundationElement",
22030
- "module": "src/foundation-element/foundation-element.ts"
22185
+ "name": "HorizontalScroll",
22186
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22187
+ }
22188
+ }
22189
+ ],
22190
+ "events": [
22191
+ {
22192
+ "description": "Fires a custom 'scrollstart' event when scrolling",
22193
+ "name": "scrollstart",
22194
+ "inheritedFrom": {
22195
+ "name": "HorizontalScroll",
22196
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22197
+ }
22198
+ },
22199
+ {
22200
+ "description": "Fires a custom 'scrollend' event when scrolling stops",
22201
+ "name": "scrollend",
22202
+ "inheritedFrom": {
22203
+ "name": "HorizontalScroll",
22204
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22031
22205
  }
22032
22206
  }
22033
22207
  ]
22034
22208
  },
22035
22209
  {
22036
22210
  "kind": "variable",
22037
- "name": "defaultIconConfig",
22038
- "default": "foundationIconConfig"
22039
- },
22040
- {
22041
- "kind": "variable",
22042
- "name": "zeroIconShadowOptions",
22043
- "default": "foundationIconShadowOptions"
22211
+ "name": "defaultHorizontalScrollZeroConfig",
22212
+ "type": {
22213
+ "text": "object"
22214
+ },
22215
+ "default": "{\n nextFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n previousFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n}"
22044
22216
  },
22045
22217
  {
22046
22218
  "kind": "variable",
22047
- "name": "zeroIcon"
22219
+ "name": "zeroHorizontalScroll"
22048
22220
  }
22049
22221
  ],
22050
22222
  "exports": [
22051
22223
  {
22052
22224
  "kind": "js",
22053
- "name": "Icon",
22054
- "declaration": {
22055
- "name": "Icon",
22056
- "module": "src/icon/icon.ts"
22057
- }
22058
- },
22059
- {
22060
- "kind": "js",
22061
- "name": "defaultIconConfig",
22225
+ "name": "HorizontalScroll",
22062
22226
  "declaration": {
22063
- "name": "defaultIconConfig",
22064
- "module": "src/icon/icon.ts"
22227
+ "name": "HorizontalScroll",
22228
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22065
22229
  }
22066
22230
  },
22067
22231
  {
22068
22232
  "kind": "js",
22069
- "name": "zeroIconShadowOptions",
22233
+ "name": "defaultHorizontalScrollZeroConfig",
22070
22234
  "declaration": {
22071
- "name": "zeroIconShadowOptions",
22072
- "module": "src/icon/icon.ts"
22235
+ "name": "defaultHorizontalScrollZeroConfig",
22236
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22073
22237
  }
22074
22238
  },
22075
22239
  {
22076
22240
  "kind": "js",
22077
- "name": "zeroIcon",
22241
+ "name": "zeroHorizontalScroll",
22078
22242
  "declaration": {
22079
- "name": "zeroIcon",
22080
- "module": "src/icon/icon.ts"
22243
+ "name": "zeroHorizontalScroll",
22244
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
22081
22245
  }
22082
22246
  }
22083
22247
  ]
22084
22248
  },
22085
22249
  {
22086
22250
  "kind": "javascript-module",
22087
- "path": "src/icon/index.ts",
22251
+ "path": "src/horizontal-scroll/index.ts",
22088
22252
  "declarations": [],
22089
22253
  "exports": [
22090
22254
  {
@@ -22092,7 +22256,7 @@
22092
22256
  "name": "*",
22093
22257
  "declaration": {
22094
22258
  "name": "*",
22095
- "package": "./icon"
22259
+ "package": "./horizontal-scroll"
22096
22260
  }
22097
22261
  },
22098
22262
  {
@@ -22100,18 +22264,26 @@
22100
22264
  "name": "*",
22101
22265
  "declaration": {
22102
22266
  "name": "*",
22103
- "package": "./icon.styles"
22267
+ "package": "./horizontal-scroll.styles"
22268
+ }
22269
+ },
22270
+ {
22271
+ "kind": "js",
22272
+ "name": "*",
22273
+ "declaration": {
22274
+ "name": "*",
22275
+ "package": "./horizontal-scroll.template"
22104
22276
  }
22105
22277
  }
22106
22278
  ]
22107
22279
  },
22108
22280
  {
22109
22281
  "kind": "javascript-module",
22110
- "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
22282
+ "path": "src/icon/icon.styles.ts",
22111
22283
  "declarations": [
22112
22284
  {
22113
22285
  "kind": "function",
22114
- "name": "zeroHorizontalScrollStyles",
22286
+ "name": "zeroIconStyles",
22115
22287
  "return": {
22116
22288
  "type": {
22117
22289
  "text": "ElementStyles"
@@ -22136,457 +22308,293 @@
22136
22308
  "exports": [
22137
22309
  {
22138
22310
  "kind": "js",
22139
- "name": "zeroHorizontalScrollStyles",
22311
+ "name": "zeroIconStyles",
22140
22312
  "declaration": {
22141
- "name": "zeroHorizontalScrollStyles",
22142
- "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
22313
+ "name": "zeroIconStyles",
22314
+ "module": "src/icon/icon.styles.ts"
22143
22315
  }
22144
22316
  }
22145
22317
  ]
22146
22318
  },
22147
22319
  {
22148
22320
  "kind": "javascript-module",
22149
- "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
22321
+ "path": "src/icon/icon.template.ts",
22150
22322
  "declarations": [
22151
22323
  {
22152
- "kind": "function",
22153
- "name": "zeroHorizontalScrollTemplate",
22154
- "return": {
22155
- "type": {
22156
- "text": "ViewTemplate<HorizontalScroll>"
22157
- }
22158
- },
22159
- "parameters": [
22160
- {
22161
- "name": "context",
22162
- "type": {
22163
- "text": "ElementDefinitionContext"
22164
- }
22165
- },
22166
- {
22167
- "name": "definition",
22168
- "type": {
22169
- "text": "FoundationElementDefinition"
22170
- }
22171
- }
22172
- ]
22324
+ "kind": "variable",
22325
+ "name": "zeroIconTemplate",
22326
+ "default": "html<Icon>`\n ${getPrefixedIcon('zero')}\n`"
22173
22327
  }
22174
22328
  ],
22175
22329
  "exports": [
22176
22330
  {
22177
22331
  "kind": "js",
22178
- "name": "zeroHorizontalScrollTemplate",
22332
+ "name": "zeroIconTemplate",
22179
22333
  "declaration": {
22180
- "name": "zeroHorizontalScrollTemplate",
22181
- "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
22334
+ "name": "zeroIconTemplate",
22335
+ "module": "src/icon/icon.template.ts"
22182
22336
  }
22183
22337
  }
22184
22338
  ]
22185
22339
  },
22186
22340
  {
22187
22341
  "kind": "javascript-module",
22188
- "path": "src/horizontal-scroll/horizontal-scroll.ts",
22342
+ "path": "src/icon/icon.ts",
22189
22343
  "declarations": [
22190
22344
  {
22191
22345
  "kind": "class",
22192
22346
  "description": "",
22193
- "name": "HorizontalScroll",
22347
+ "name": "Icon",
22194
22348
  "superclass": {
22195
- "name": "FoundationHorizontalScroll",
22349
+ "name": "FoundationIcon",
22196
22350
  "package": "@genesislcap/foundation-ui"
22197
22351
  },
22198
- "tagName": "%%prefix%%-horizontal-scroll",
22352
+ "tagName": "%%prefix%%-icon",
22199
22353
  "customElement": true,
22200
22354
  "attributes": [
22201
22355
  {
22202
- "type": {
22203
- "text": "number"
22204
- },
22205
- "default": "600",
22206
- "description": "Speed of scroll in pixels per second",
22207
- "fieldName": "speed",
22208
- "inheritedFrom": {
22209
- "name": "HorizontalScroll",
22210
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22211
- }
22212
- },
22213
- {
22214
- "name": "duration",
22356
+ "name": "tooltip-id",
22215
22357
  "type": {
22216
22358
  "text": "string"
22217
22359
  },
22218
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
22219
- "fieldName": "duration",
22360
+ "fieldName": "tooltipId",
22220
22361
  "inheritedFrom": {
22221
- "name": "HorizontalScroll",
22222
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22362
+ "name": "Icon",
22363
+ "module": "src/icon/icon.ts"
22223
22364
  }
22224
22365
  },
22225
22366
  {
22226
- "name": "easing",
22367
+ "name": "tooltip",
22227
22368
  "type": {
22228
- "text": "ScrollEasing"
22369
+ "text": "string"
22229
22370
  },
22230
- "default": "\"ease-in-out\"",
22231
- "description": "Attribute used for easing, defaults to ease-in-out",
22232
- "fieldName": "easing",
22371
+ "fieldName": "tooltip",
22233
22372
  "inheritedFrom": {
22234
- "name": "HorizontalScroll",
22235
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22373
+ "name": "Icon",
22374
+ "module": "src/icon/icon.ts"
22236
22375
  }
22237
22376
  },
22238
22377
  {
22239
- "name": "flippers-hidden-from-at",
22378
+ "name": "error",
22240
22379
  "type": {
22241
22380
  "text": "boolean"
22242
22381
  },
22243
22382
  "default": "false",
22244
- "description": "Attribute to hide flippers from assistive technology",
22245
- "fieldName": "flippersHiddenFromAT",
22383
+ "fieldName": "isError",
22246
22384
  "inheritedFrom": {
22247
- "name": "HorizontalScroll",
22248
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22385
+ "name": "Icon",
22386
+ "module": "src/icon/icon.ts"
22249
22387
  }
22250
22388
  },
22251
22389
  {
22252
- "name": "view",
22253
- "type": {
22254
- "text": "HorizontalScrollView"
22255
- },
22256
- "description": "View: default | mobile",
22257
- "fieldName": "view",
22258
- "inheritedFrom": {
22259
- "name": "HorizontalScroll",
22260
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22261
- }
22262
- }
22263
- ],
22264
- "members": [
22265
- {
22266
- "kind": "field",
22267
- "name": "scrollContainer",
22390
+ "name": "name",
22268
22391
  "type": {
22269
- "text": "HTMLDivElement"
22392
+ "text": "IconName"
22270
22393
  },
22271
- "privacy": "public",
22272
- "description": "Reference to DOM element that scrolls the content",
22394
+ "fieldName": "name",
22273
22395
  "inheritedFrom": {
22274
- "name": "HorizontalScroll",
22275
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22396
+ "name": "Icon",
22397
+ "module": "src/icon/icon.ts"
22276
22398
  }
22277
22399
  },
22278
22400
  {
22279
- "kind": "field",
22280
- "name": "content",
22401
+ "name": "size",
22281
22402
  "type": {
22282
- "text": "HTMLDivElement"
22403
+ "text": "FaSize"
22283
22404
  },
22284
- "privacy": "public",
22285
- "description": "Reference to DOM element that holds the slotted content",
22405
+ "default": "'sm'",
22406
+ "fieldName": "size",
22286
22407
  "inheritedFrom": {
22287
- "name": "HorizontalScroll",
22288
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22408
+ "name": "Icon",
22409
+ "module": "src/icon/icon.ts"
22289
22410
  }
22290
22411
  },
22291
22412
  {
22292
- "kind": "field",
22293
- "name": "previousFlipperContainer",
22413
+ "name": "variant",
22294
22414
  "type": {
22295
- "text": "HTMLDivElement"
22415
+ "text": "IconStyle"
22296
22416
  },
22297
- "privacy": "public",
22298
- "description": "Reference to flipper to scroll to previous content",
22417
+ "default": "'solid'",
22418
+ "fieldName": "variant",
22299
22419
  "inheritedFrom": {
22300
- "name": "HorizontalScroll",
22301
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22420
+ "name": "Icon",
22421
+ "module": "src/icon/icon.ts"
22302
22422
  }
22303
- },
22423
+ }
22424
+ ],
22425
+ "members": [
22304
22426
  {
22305
22427
  "kind": "field",
22306
- "name": "nextFlipperContainer",
22428
+ "name": "iElement",
22307
22429
  "type": {
22308
- "text": "HTMLDivElement"
22430
+ "text": "HTMLElement"
22309
22431
  },
22310
- "privacy": "public",
22311
- "description": "Reference to flipper to scroll to the next content",
22312
22432
  "inheritedFrom": {
22313
- "name": "HorizontalScroll",
22314
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22433
+ "name": "Icon",
22434
+ "module": "src/icon/icon.ts"
22315
22435
  }
22316
22436
  },
22317
22437
  {
22318
22438
  "kind": "field",
22319
- "name": "speed",
22439
+ "name": "uuid",
22320
22440
  "type": {
22321
- "text": "number"
22441
+ "text": "UUID"
22322
22442
  },
22323
- "privacy": "public",
22324
- "default": "600",
22325
- "description": "Speed of scroll in pixels per second",
22326
22443
  "inheritedFrom": {
22327
- "name": "HorizontalScroll",
22328
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22444
+ "name": "Icon",
22445
+ "module": "src/icon/icon.ts"
22329
22446
  }
22330
22447
  },
22331
22448
  {
22332
22449
  "kind": "field",
22333
- "name": "duration",
22450
+ "name": "tooltipId",
22334
22451
  "type": {
22335
22452
  "text": "string"
22336
22453
  },
22337
- "privacy": "public",
22338
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
22339
22454
  "inheritedFrom": {
22340
- "name": "HorizontalScroll",
22341
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22455
+ "name": "Icon",
22456
+ "module": "src/icon/icon.ts"
22342
22457
  }
22343
22458
  },
22344
22459
  {
22345
22460
  "kind": "field",
22346
- "name": "easing",
22461
+ "name": "tooltip",
22347
22462
  "type": {
22348
- "text": "ScrollEasing"
22463
+ "text": "string"
22349
22464
  },
22350
- "privacy": "public",
22351
- "default": "\"ease-in-out\"",
22352
- "description": "Attribute used for easing, defaults to ease-in-out",
22353
22465
  "inheritedFrom": {
22354
- "name": "HorizontalScroll",
22355
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22466
+ "name": "Icon",
22467
+ "module": "src/icon/icon.ts"
22356
22468
  }
22357
22469
  },
22358
22470
  {
22359
22471
  "kind": "field",
22360
- "name": "flippersHiddenFromAT",
22472
+ "name": "isError",
22361
22473
  "type": {
22362
22474
  "text": "boolean"
22363
22475
  },
22364
- "privacy": "public",
22365
22476
  "default": "false",
22366
- "description": "Attribute to hide flippers from assistive technology",
22367
- "inheritedFrom": {
22368
- "name": "HorizontalScroll",
22369
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22370
- }
22371
- },
22372
- {
22373
- "kind": "field",
22374
- "name": "scrollItems",
22375
- "type": {
22376
- "text": "HTMLElement[]"
22377
- },
22378
- "privacy": "public",
22379
- "description": "The default slotted items placed in the scrolling container.",
22380
22477
  "inheritedFrom": {
22381
- "name": "HorizontalScroll",
22382
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22478
+ "name": "Icon",
22479
+ "module": "src/icon/icon.ts"
22383
22480
  }
22384
22481
  },
22385
22482
  {
22386
22483
  "kind": "field",
22387
- "name": "view",
22484
+ "name": "name",
22388
22485
  "type": {
22389
- "text": "HorizontalScrollView"
22486
+ "text": "IconName"
22390
22487
  },
22391
- "privacy": "public",
22392
- "description": "View: default | mobile",
22393
22488
  "inheritedFrom": {
22394
- "name": "HorizontalScroll",
22395
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22489
+ "name": "Icon",
22490
+ "module": "src/icon/icon.ts"
22396
22491
  }
22397
22492
  },
22398
22493
  {
22399
22494
  "kind": "method",
22400
- "name": "scrollItemsChanged",
22401
- "privacy": "public",
22495
+ "name": "nameChanged",
22402
22496
  "parameters": [
22403
22497
  {
22404
- "name": "previous",
22498
+ "name": "oldValue",
22405
22499
  "type": {
22406
- "text": "HTMLElement[]"
22407
- },
22408
- "description": "current scroll items"
22500
+ "text": "string"
22501
+ }
22409
22502
  },
22410
22503
  {
22411
- "name": "next",
22504
+ "name": "newValue",
22412
22505
  "type": {
22413
- "text": "HTMLElement[]"
22414
- },
22415
- "description": "new updated scroll items"
22506
+ "text": "string"
22507
+ }
22416
22508
  }
22417
22509
  ],
22418
- "description": "Updates scroll stops and flippers when scroll items change",
22419
22510
  "inheritedFrom": {
22420
- "name": "HorizontalScroll",
22421
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22511
+ "name": "Icon",
22512
+ "module": "src/icon/icon.ts"
22422
22513
  }
22423
22514
  },
22424
22515
  {
22425
- "kind": "method",
22426
- "name": "fixScrollMisalign",
22427
- "privacy": "private",
22428
- "parameters": [
22429
- {
22430
- "name": "stops",
22431
- "type": {
22432
- "text": "number[]"
22433
- }
22434
- }
22435
- ],
22516
+ "kind": "field",
22517
+ "name": "size",
22518
+ "type": {
22519
+ "text": "FaSize"
22520
+ },
22521
+ "default": "'sm'",
22436
22522
  "inheritedFrom": {
22437
- "name": "HorizontalScroll",
22438
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22523
+ "name": "Icon",
22524
+ "module": "src/icon/icon.ts"
22439
22525
  }
22440
22526
  },
22441
22527
  {
22442
22528
  "kind": "method",
22443
- "name": "scrollInView",
22444
- "privacy": "public",
22445
- "return": {
22446
- "type": {
22447
- "text": "void"
22448
- }
22449
- },
22529
+ "name": "sizeChanged",
22450
22530
  "parameters": [
22451
22531
  {
22452
- "name": "item",
22453
- "type": {
22454
- "text": "HTMLElement | number"
22455
- },
22456
- "description": "An item index, a scroll item or a child of one of the scroll items"
22457
- },
22458
- {
22459
- "name": "padding",
22460
- "default": "0",
22532
+ "name": "oldValue",
22461
22533
  "type": {
22462
- "text": "number"
22463
- },
22464
- "description": "Padding of the viewport where the active item shouldn't be"
22534
+ "text": "string"
22535
+ }
22465
22536
  },
22466
22537
  {
22467
- "name": "rightPadding",
22468
- "optional": true,
22469
- "type": {
22470
- "text": "number"
22471
- },
22472
- "description": "Optional right padding. Uses the padding if not defined"
22473
- }
22474
- ],
22475
- "description": "Function that can scroll an item into view.",
22476
- "inheritedFrom": {
22477
- "name": "HorizontalScroll",
22478
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22479
- }
22480
- },
22481
- {
22482
- "kind": "method",
22483
- "name": "keyupHandler",
22484
- "privacy": "public",
22485
- "parameters": [
22486
- {
22487
- "name": "e",
22538
+ "name": "newValue",
22488
22539
  "type": {
22489
- "text": "Event & KeyboardEvent"
22490
- },
22491
- "description": "Keyboard event"
22540
+ "text": "string"
22541
+ }
22492
22542
  }
22493
22543
  ],
22494
- "description": "Lets the user arrow left and right through the horizontal scroll",
22495
- "inheritedFrom": {
22496
- "name": "HorizontalScroll",
22497
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22498
- }
22499
- },
22500
- {
22501
- "kind": "method",
22502
- "name": "scrollToPrevious",
22503
- "privacy": "public",
22504
- "return": {
22505
- "type": {
22506
- "text": "void"
22507
- }
22508
- },
22509
- "description": "Scrolls items to the left",
22510
22544
  "inheritedFrom": {
22511
- "name": "HorizontalScroll",
22512
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22545
+ "name": "Icon",
22546
+ "module": "src/icon/icon.ts"
22513
22547
  }
22514
22548
  },
22515
22549
  {
22516
- "kind": "method",
22517
- "name": "scrollToNext",
22518
- "privacy": "public",
22519
- "return": {
22520
- "type": {
22521
- "text": "void"
22522
- }
22550
+ "kind": "field",
22551
+ "name": "variant",
22552
+ "type": {
22553
+ "text": "IconStyle"
22523
22554
  },
22524
- "description": "Scrolls items to the right",
22555
+ "default": "'solid'",
22525
22556
  "inheritedFrom": {
22526
- "name": "HorizontalScroll",
22527
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22557
+ "name": "Icon",
22558
+ "module": "src/icon/icon.ts"
22528
22559
  }
22529
22560
  },
22530
22561
  {
22531
22562
  "kind": "method",
22532
- "name": "scrollToPosition",
22533
- "privacy": "public",
22534
- "return": {
22535
- "type": {
22536
- "text": "void"
22537
- }
22538
- },
22563
+ "name": "variantChanged",
22539
22564
  "parameters": [
22540
22565
  {
22541
- "name": "newPosition",
22566
+ "name": "oldValue",
22542
22567
  "type": {
22543
- "text": "number"
22544
- },
22545
- "description": "position to scroll to"
22568
+ "text": "string"
22569
+ }
22546
22570
  },
22547
22571
  {
22548
- "name": "position",
22549
- "default": "this.scrollContainer.scrollLeft",
22572
+ "name": "newValue",
22550
22573
  "type": {
22551
- "text": "number"
22552
- },
22553
- "description": "starting position"
22574
+ "text": "string"
22575
+ }
22554
22576
  }
22555
22577
  ],
22556
- "description": "Handles scrolling with easing",
22557
22578
  "inheritedFrom": {
22558
- "name": "HorizontalScroll",
22559
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22579
+ "name": "Icon",
22580
+ "module": "src/icon/icon.ts"
22560
22581
  }
22561
22582
  },
22562
22583
  {
22563
22584
  "kind": "method",
22564
- "name": "resized",
22565
- "privacy": "public",
22566
- "return": {
22567
- "type": {
22568
- "text": "void"
22569
- }
22570
- },
22571
- "description": "Monitors resize event on the horizontal-scroll element",
22585
+ "name": "getDefaultTooltipConfig",
22572
22586
  "inheritedFrom": {
22573
- "name": "HorizontalScroll",
22574
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22587
+ "name": "Icon",
22588
+ "module": "src/icon/icon.ts"
22575
22589
  }
22576
22590
  },
22577
22591
  {
22578
22592
  "kind": "method",
22579
- "name": "scrolled",
22593
+ "name": "loadIcon",
22580
22594
  "privacy": "public",
22581
- "return": {
22582
- "type": {
22583
- "text": "void"
22584
- }
22585
- },
22586
- "description": "Monitors scrolled event on the content container",
22587
22595
  "inheritedFrom": {
22588
- "name": "HorizontalScroll",
22589
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22596
+ "name": "Icon",
22597
+ "module": "src/icon/icon.ts"
22590
22598
  }
22591
22599
  },
22592
22600
  {
@@ -22598,8 +22606,8 @@
22598
22606
  "privacy": "private",
22599
22607
  "default": "void 0",
22600
22608
  "inheritedFrom": {
22601
- "name": "HorizontalScroll",
22602
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22609
+ "name": "FoundationElement",
22610
+ "module": "src/foundation-element/foundation-element.ts"
22603
22611
  }
22604
22612
  },
22605
22613
  {
@@ -22611,8 +22619,8 @@
22611
22619
  "privacy": "public",
22612
22620
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
22613
22621
  "inheritedFrom": {
22614
- "name": "HorizontalScroll",
22615
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22622
+ "name": "FoundationElement",
22623
+ "module": "src/foundation-element/foundation-element.ts"
22616
22624
  }
22617
22625
  },
22618
22626
  {
@@ -22624,8 +22632,8 @@
22624
22632
  "privacy": "public",
22625
22633
  "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.",
22626
22634
  "inheritedFrom": {
22627
- "name": "HorizontalScroll",
22628
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22635
+ "name": "FoundationElement",
22636
+ "module": "src/foundation-element/foundation-element.ts"
22629
22637
  }
22630
22638
  },
22631
22639
  {
@@ -22638,8 +22646,8 @@
22638
22646
  }
22639
22647
  },
22640
22648
  "inheritedFrom": {
22641
- "name": "HorizontalScroll",
22642
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22649
+ "name": "FoundationElement",
22650
+ "module": "src/foundation-element/foundation-element.ts"
22643
22651
  }
22644
22652
  },
22645
22653
  {
@@ -22651,8 +22659,8 @@
22651
22659
  "privacy": "public",
22652
22660
  "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.",
22653
22661
  "inheritedFrom": {
22654
- "name": "HorizontalScroll",
22655
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22662
+ "name": "FoundationElement",
22663
+ "module": "src/foundation-element/foundation-element.ts"
22656
22664
  }
22657
22665
  },
22658
22666
  {
@@ -22665,8 +22673,8 @@
22665
22673
  }
22666
22674
  },
22667
22675
  "inheritedFrom": {
22668
- "name": "HorizontalScroll",
22669
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22676
+ "name": "FoundationElement",
22677
+ "module": "src/foundation-element/foundation-element.ts"
22670
22678
  }
22671
22679
  },
22672
22680
  {
@@ -22696,73 +22704,65 @@
22696
22704
  ],
22697
22705
  "description": "Defines an element registry function with a set of element definition defaults.",
22698
22706
  "inheritedFrom": {
22699
- "name": "HorizontalScroll",
22700
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22701
- }
22702
- }
22703
- ],
22704
- "events": [
22705
- {
22706
- "description": "Fires a custom 'scrollstart' event when scrolling",
22707
- "name": "scrollstart",
22708
- "inheritedFrom": {
22709
- "name": "HorizontalScroll",
22710
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22711
- }
22712
- },
22713
- {
22714
- "description": "Fires a custom 'scrollend' event when scrolling stops",
22715
- "name": "scrollend",
22716
- "inheritedFrom": {
22717
- "name": "HorizontalScroll",
22718
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22707
+ "name": "FoundationElement",
22708
+ "module": "src/foundation-element/foundation-element.ts"
22719
22709
  }
22720
22710
  }
22721
22711
  ]
22722
22712
  },
22723
22713
  {
22724
22714
  "kind": "variable",
22725
- "name": "defaultHorizontalScrollZeroConfig",
22726
- "type": {
22727
- "text": "object"
22728
- },
22729
- "default": "{\n nextFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n previousFlipper: html`\n <zero-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></zero-flipper>\n `,\n}"
22715
+ "name": "defaultIconConfig",
22716
+ "default": "foundationIconConfig"
22730
22717
  },
22731
22718
  {
22732
22719
  "kind": "variable",
22733
- "name": "zeroHorizontalScroll"
22720
+ "name": "zeroIconShadowOptions",
22721
+ "default": "foundationIconShadowOptions"
22722
+ },
22723
+ {
22724
+ "kind": "variable",
22725
+ "name": "zeroIcon"
22734
22726
  }
22735
22727
  ],
22736
22728
  "exports": [
22737
22729
  {
22738
22730
  "kind": "js",
22739
- "name": "HorizontalScroll",
22731
+ "name": "Icon",
22740
22732
  "declaration": {
22741
- "name": "HorizontalScroll",
22742
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22733
+ "name": "Icon",
22734
+ "module": "src/icon/icon.ts"
22743
22735
  }
22744
22736
  },
22745
22737
  {
22746
22738
  "kind": "js",
22747
- "name": "defaultHorizontalScrollZeroConfig",
22739
+ "name": "defaultIconConfig",
22748
22740
  "declaration": {
22749
- "name": "defaultHorizontalScrollZeroConfig",
22750
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22741
+ "name": "defaultIconConfig",
22742
+ "module": "src/icon/icon.ts"
22751
22743
  }
22752
22744
  },
22753
22745
  {
22754
22746
  "kind": "js",
22755
- "name": "zeroHorizontalScroll",
22747
+ "name": "zeroIconShadowOptions",
22756
22748
  "declaration": {
22757
- "name": "zeroHorizontalScroll",
22758
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
22749
+ "name": "zeroIconShadowOptions",
22750
+ "module": "src/icon/icon.ts"
22751
+ }
22752
+ },
22753
+ {
22754
+ "kind": "js",
22755
+ "name": "zeroIcon",
22756
+ "declaration": {
22757
+ "name": "zeroIcon",
22758
+ "module": "src/icon/icon.ts"
22759
22759
  }
22760
22760
  }
22761
22761
  ]
22762
22762
  },
22763
22763
  {
22764
22764
  "kind": "javascript-module",
22765
- "path": "src/horizontal-scroll/index.ts",
22765
+ "path": "src/icon/index.ts",
22766
22766
  "declarations": [],
22767
22767
  "exports": [
22768
22768
  {
@@ -22770,7 +22770,7 @@
22770
22770
  "name": "*",
22771
22771
  "declaration": {
22772
22772
  "name": "*",
22773
- "package": "./horizontal-scroll"
22773
+ "package": "./icon"
22774
22774
  }
22775
22775
  },
22776
22776
  {
@@ -22778,15 +22778,7 @@
22778
22778
  "name": "*",
22779
22779
  "declaration": {
22780
22780
  "name": "*",
22781
- "package": "./horizontal-scroll.styles"
22782
- }
22783
- },
22784
- {
22785
- "kind": "js",
22786
- "name": "*",
22787
- "declaration": {
22788
- "name": "*",
22789
- "package": "./horizontal-scroll.template"
22781
+ "package": "./icon.styles"
22790
22782
  }
22791
22783
  }
22792
22784
  ]
@@ -28549,621 +28541,168 @@
28549
28541
  "name": "content",
28550
28542
  "type": {
28551
28543
  "text": "Node[]"
28552
- },
28553
- "privacy": "public",
28554
- "description": "The default slotted content.",
28555
- "inheritedFrom": {
28556
- "name": "ListboxOption",
28557
- "module": "src/listbox-option/listbox-option.ts"
28558
- }
28559
- },
28560
- {
28561
- "kind": "field",
28562
- "name": "defaultSelected",
28563
- "type": {
28564
- "text": "boolean"
28565
- },
28566
- "privacy": "public",
28567
- "default": "false",
28568
- "description": "The defaultSelected state of the option.",
28569
- "inheritedFrom": {
28570
- "name": "ListboxOption",
28571
- "module": "src/listbox-option/listbox-option.ts"
28572
- }
28573
- },
28574
- {
28575
- "kind": "method",
28576
- "name": "defaultSelectedChanged",
28577
- "privacy": "protected",
28578
- "return": {
28579
- "type": {
28580
- "text": "void"
28581
- }
28582
- },
28583
- "inheritedFrom": {
28584
- "name": "ListboxOption",
28585
- "module": "src/listbox-option/listbox-option.ts"
28586
- }
28587
- },
28588
- {
28589
- "kind": "field",
28590
- "name": "disabled",
28591
- "type": {
28592
- "text": "boolean"
28593
- },
28594
- "privacy": "public",
28595
- "description": "The disabled state of the option.",
28596
- "inheritedFrom": {
28597
- "name": "ListboxOption",
28598
- "module": "src/listbox-option/listbox-option.ts"
28599
- }
28600
- },
28601
- {
28602
- "kind": "method",
28603
- "name": "disabledChanged",
28604
- "privacy": "protected",
28605
- "return": {
28606
- "type": {
28607
- "text": "void"
28608
- }
28609
- },
28610
- "parameters": [
28611
- {
28612
- "name": "prev",
28613
- "type": {
28614
- "text": "boolean"
28615
- }
28616
- },
28617
- {
28618
- "name": "next",
28619
- "type": {
28620
- "text": "boolean"
28621
- }
28622
- }
28623
- ],
28624
- "inheritedFrom": {
28625
- "name": "ListboxOption",
28626
- "module": "src/listbox-option/listbox-option.ts"
28627
- }
28628
- },
28629
- {
28630
- "kind": "field",
28631
- "name": "selectedAttribute",
28632
- "type": {
28633
- "text": "boolean"
28634
- },
28635
- "privacy": "public",
28636
- "description": "The selected attribute value. This sets the initial selected value.",
28637
- "inheritedFrom": {
28638
- "name": "ListboxOption",
28639
- "module": "src/listbox-option/listbox-option.ts"
28640
- }
28641
- },
28642
- {
28643
- "kind": "method",
28644
- "name": "selectedAttributeChanged",
28645
- "privacy": "protected",
28646
- "return": {
28647
- "type": {
28648
- "text": "void"
28649
- }
28650
- },
28651
- "inheritedFrom": {
28652
- "name": "ListboxOption",
28653
- "module": "src/listbox-option/listbox-option.ts"
28654
- }
28655
- },
28656
- {
28657
- "kind": "field",
28658
- "name": "selected",
28659
- "type": {
28660
- "text": "boolean"
28661
- },
28662
- "privacy": "public",
28663
- "description": "The checked state of the control.",
28664
- "inheritedFrom": {
28665
- "name": "ListboxOption",
28666
- "module": "src/listbox-option/listbox-option.ts"
28667
- }
28668
- },
28669
- {
28670
- "kind": "method",
28671
- "name": "selectedChanged",
28672
- "privacy": "protected",
28673
- "return": {
28674
- "type": {
28675
- "text": "void"
28676
- }
28677
- },
28678
- "inheritedFrom": {
28679
- "name": "ListboxOption",
28680
- "module": "src/listbox-option/listbox-option.ts"
28681
- }
28682
- },
28683
- {
28684
- "kind": "field",
28685
- "name": "dirtyValue",
28686
- "type": {
28687
- "text": "boolean"
28688
- },
28689
- "privacy": "public",
28690
- "default": "false",
28691
- "description": "Track whether the value has been changed from the initial value",
28692
- "inheritedFrom": {
28693
- "name": "ListboxOption",
28694
- "module": "src/listbox-option/listbox-option.ts"
28695
- }
28696
- },
28697
- {
28698
- "kind": "field",
28699
- "name": "initialValue",
28700
- "type": {
28701
- "text": "string"
28702
- },
28703
- "privacy": "protected",
28704
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
28705
- "inheritedFrom": {
28706
- "name": "ListboxOption",
28707
- "module": "src/listbox-option/listbox-option.ts"
28708
- }
28709
- },
28710
- {
28711
- "kind": "method",
28712
- "name": "initialValueChanged",
28713
- "privacy": "public",
28714
- "return": {
28715
- "type": {
28716
- "text": "void"
28717
- }
28718
- },
28719
- "parameters": [
28720
- {
28721
- "name": "previous",
28722
- "type": {
28723
- "text": "string"
28724
- }
28725
- },
28726
- {
28727
- "name": "next",
28728
- "type": {
28729
- "text": "string"
28730
- }
28731
- }
28732
- ],
28733
- "inheritedFrom": {
28734
- "name": "ListboxOption",
28735
- "module": "src/listbox-option/listbox-option.ts"
28736
- }
28737
- },
28738
- {
28739
- "kind": "field",
28740
- "name": "label",
28741
- "privacy": "public",
28742
- "inheritedFrom": {
28743
- "name": "ListboxOption",
28744
- "module": "src/listbox-option/listbox-option.ts"
28745
- }
28746
- },
28747
- {
28748
- "kind": "field",
28749
- "name": "text",
28750
- "type": {
28751
- "text": "string"
28752
- },
28753
- "privacy": "public",
28754
- "inheritedFrom": {
28755
- "name": "ListboxOption",
28756
- "module": "src/listbox-option/listbox-option.ts"
28757
- }
28758
- },
28759
- {
28760
- "kind": "field",
28761
- "name": "value",
28762
- "privacy": "public",
28763
- "type": {
28764
- "text": "string"
28765
- },
28766
- "inheritedFrom": {
28767
- "name": "ListboxOption",
28768
- "module": "src/listbox-option/listbox-option.ts"
28769
- }
28770
- },
28771
- {
28772
- "kind": "field",
28773
- "name": "form",
28774
- "type": {
28775
- "text": "HTMLFormElement | null"
28776
- },
28777
- "privacy": "public",
28778
- "inheritedFrom": {
28779
- "name": "ListboxOption",
28780
- "module": "src/listbox-option/listbox-option.ts"
28781
- }
28782
- },
28783
- {
28784
- "kind": "field",
28785
- "name": "proxy",
28786
- "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
28787
- "inheritedFrom": {
28788
- "name": "ListboxOption",
28789
- "module": "src/listbox-option/listbox-option.ts"
28790
- }
28791
- },
28792
- {
28793
- "kind": "field",
28794
- "name": "_presentation",
28795
- "type": {
28796
- "text": "ComponentPresentation | null | undefined"
28797
- },
28798
- "privacy": "private",
28799
- "default": "void 0",
28800
- "inheritedFrom": {
28801
- "name": "ListboxOption",
28802
- "module": "src/listbox-option/listbox-option.ts"
28803
- }
28804
- },
28805
- {
28806
- "kind": "field",
28807
- "name": "$presentation",
28808
- "type": {
28809
- "text": "ComponentPresentation | null"
28810
- },
28811
- "privacy": "public",
28812
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
28813
- "inheritedFrom": {
28814
- "name": "ListboxOption",
28815
- "module": "src/listbox-option/listbox-option.ts"
28816
- }
28817
- },
28818
- {
28819
- "kind": "field",
28820
- "name": "template",
28821
- "type": {
28822
- "text": "ElementViewTemplate | void | null"
28823
- },
28824
- "privacy": "public",
28825
- "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.",
28826
- "inheritedFrom": {
28827
- "name": "ListboxOption",
28828
- "module": "src/listbox-option/listbox-option.ts"
28829
- }
28830
- },
28831
- {
28832
- "kind": "method",
28833
- "name": "templateChanged",
28834
- "privacy": "protected",
28835
- "return": {
28836
- "type": {
28837
- "text": "void"
28838
- }
28839
- },
28840
- "inheritedFrom": {
28841
- "name": "ListboxOption",
28842
- "module": "src/listbox-option/listbox-option.ts"
28843
- }
28844
- },
28845
- {
28846
- "kind": "field",
28847
- "name": "styles",
28848
- "type": {
28849
- "text": "ElementStyles | void | null"
28850
- },
28851
- "privacy": "public",
28852
- "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.",
28853
- "inheritedFrom": {
28854
- "name": "ListboxOption",
28855
- "module": "src/listbox-option/listbox-option.ts"
28856
- }
28857
- },
28858
- {
28859
- "kind": "method",
28860
- "name": "stylesChanged",
28861
- "privacy": "protected",
28862
- "return": {
28863
- "type": {
28864
- "text": "void"
28865
- }
28866
- },
28867
- "inheritedFrom": {
28868
- "name": "ListboxOption",
28869
- "module": "src/listbox-option/listbox-option.ts"
28870
- }
28871
- },
28872
- {
28873
- "kind": "method",
28874
- "name": "compose",
28875
- "privacy": "public",
28876
- "static": true,
28877
- "return": {
28878
- "type": {
28879
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
28880
- }
28881
- },
28882
- "parameters": [
28883
- {
28884
- "name": "this",
28885
- "type": {
28886
- "text": "K"
28887
- }
28888
- },
28889
- {
28890
- "name": "elementDefinition",
28891
- "type": {
28892
- "text": "T"
28893
- },
28894
- "description": "The definition of the element to create the registry\nfunction for."
28895
- }
28896
- ],
28897
- "description": "Defines an element registry function with a set of element definition defaults.",
28898
- "inheritedFrom": {
28899
- "name": "ListboxOption",
28900
- "module": "src/listbox-option/listbox-option.ts"
28901
- }
28902
- }
28903
- ]
28904
- },
28905
- {
28906
- "kind": "variable",
28907
- "name": "zeroOptgroup"
28908
- }
28909
- ],
28910
- "exports": [
28911
- {
28912
- "kind": "js",
28913
- "name": "Optgroup",
28914
- "declaration": {
28915
- "name": "Optgroup",
28916
- "module": "src/optgroup/optgroup.ts"
28917
- }
28918
- },
28919
- {
28920
- "kind": "js",
28921
- "name": "zeroOptgroup",
28922
- "declaration": {
28923
- "name": "zeroOptgroup",
28924
- "module": "src/optgroup/optgroup.ts"
28925
- }
28926
- }
28927
- ]
28928
- },
28929
- {
28930
- "kind": "javascript-module",
28931
- "path": "src/overlays/index.ts",
28932
- "declarations": [],
28933
- "exports": [
28934
- {
28935
- "kind": "js",
28936
- "name": "*",
28937
- "declaration": {
28938
- "name": "*",
28939
- "package": "./system-health"
28940
- }
28941
- }
28942
- ]
28943
- },
28944
- {
28945
- "kind": "javascript-module",
28946
- "path": "src/pill/index.ts",
28947
- "declarations": [],
28948
- "exports": [
28949
- {
28950
- "kind": "js",
28951
- "name": "*",
28952
- "declaration": {
28953
- "name": "*",
28954
- "package": "./pill"
28955
- }
28956
- },
28957
- {
28958
- "kind": "js",
28959
- "name": "*",
28960
- "declaration": {
28961
- "name": "*",
28962
- "package": "./pill.styles"
28963
- }
28964
- },
28965
- {
28966
- "kind": "js",
28967
- "name": "*",
28968
- "declaration": {
28969
- "name": "*",
28970
- "package": "./pill.template"
28971
- }
28972
- }
28973
- ]
28974
- },
28975
- {
28976
- "kind": "javascript-module",
28977
- "path": "src/pill/pill.styles.ts",
28978
- "declarations": [
28979
- {
28980
- "kind": "variable",
28981
- "name": "zeroPillStyles",
28982
- "type": {
28983
- "text": "ElementStyles"
28984
- },
28985
- "default": "css`\n ${foundationPillStyles}\n :host {\n --pill-fill: ${neutralFillRest};\n --pill-fill-hover: ${neutralFillHover};\n --pill-foreground: ${neutralForegroundRest};\n }\n`"
28986
- }
28987
- ],
28988
- "exports": [
28989
- {
28990
- "kind": "js",
28991
- "name": "zeroPillStyles",
28992
- "declaration": {
28993
- "name": "zeroPillStyles",
28994
- "module": "src/pill/pill.styles.ts"
28995
- }
28996
- }
28997
- ]
28998
- },
28999
- {
29000
- "kind": "javascript-module",
29001
- "path": "src/pill/pill.template.ts",
29002
- "declarations": [
29003
- {
29004
- "kind": "variable",
29005
- "name": "zeroPillTemplate",
29006
- "default": "foundationPillTemplate"
29007
- }
29008
- ],
29009
- "exports": [
29010
- {
29011
- "kind": "js",
29012
- "name": "zeroPillTemplate",
29013
- "declaration": {
29014
- "name": "zeroPillTemplate",
29015
- "module": "src/pill/pill.template.ts"
29016
- }
29017
- }
29018
- ]
29019
- },
29020
- {
29021
- "kind": "javascript-module",
29022
- "path": "src/pill/pill.ts",
29023
- "declarations": [
29024
- {
29025
- "kind": "class",
29026
- "description": "",
29027
- "name": "Pill",
29028
- "superclass": {
29029
- "name": "FoundationPill",
29030
- "package": "@genesislcap/foundation-ui"
29031
- },
29032
- "tagName": "%%prefix%%-pill",
29033
- "customElement": true,
29034
- "attributes": [
29035
- {
29036
- "name": "label",
29037
- "type": {
29038
- "text": "string"
29039
- },
29040
- "attribute": "label",
29041
- "fieldName": "label",
29042
- "description": "the name of the thing this pill represents, e.g. a filter field name",
28544
+ },
28545
+ "privacy": "public",
28546
+ "description": "The default slotted content.",
29043
28547
  "inheritedFrom": {
29044
- "name": "Pill",
29045
- "module": "src/pill/pill.ts"
28548
+ "name": "ListboxOption",
28549
+ "module": "src/listbox-option/listbox-option.ts"
29046
28550
  }
29047
28551
  },
29048
28552
  {
29049
- "name": "value",
28553
+ "kind": "field",
28554
+ "name": "defaultSelected",
29050
28555
  "type": {
29051
- "text": "string"
28556
+ "text": "boolean"
29052
28557
  },
29053
- "attribute": "value",
29054
- "fieldName": "value",
29055
- "description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\"",
28558
+ "privacy": "public",
28559
+ "default": "false",
28560
+ "description": "The defaultSelected state of the option.",
29056
28561
  "inheritedFrom": {
29057
- "name": "Pill",
29058
- "module": "src/pill/pill.ts"
28562
+ "name": "ListboxOption",
28563
+ "module": "src/listbox-option/listbox-option.ts"
29059
28564
  }
29060
28565
  },
29061
28566
  {
29062
- "name": "removable",
29063
- "type": {
29064
- "text": "boolean"
28567
+ "kind": "method",
28568
+ "name": "defaultSelectedChanged",
28569
+ "privacy": "protected",
28570
+ "return": {
28571
+ "type": {
28572
+ "text": "void"
28573
+ }
29065
28574
  },
29066
- "default": "true",
29067
- "fieldName": "removable",
29068
- "description": "whether the \"x\" remove control is shown",
29069
28575
  "inheritedFrom": {
29070
- "name": "Pill",
29071
- "module": "src/pill/pill.ts"
28576
+ "name": "ListboxOption",
28577
+ "module": "src/listbox-option/listbox-option.ts"
29072
28578
  }
29073
28579
  },
29074
28580
  {
28581
+ "kind": "field",
29075
28582
  "name": "disabled",
29076
28583
  "type": {
29077
28584
  "text": "boolean"
29078
28585
  },
29079
- "default": "false",
29080
- "fieldName": "disabled",
29081
- "description": "disables both the pill body and the remove control",
28586
+ "privacy": "public",
28587
+ "description": "The disabled state of the option.",
29082
28588
  "inheritedFrom": {
29083
- "name": "Pill",
29084
- "module": "src/pill/pill.ts"
28589
+ "name": "ListboxOption",
28590
+ "module": "src/listbox-option/listbox-option.ts"
29085
28591
  }
29086
28592
  },
29087
28593
  {
29088
- "type": {
29089
- "text": "boolean"
28594
+ "kind": "method",
28595
+ "name": "disabledChanged",
28596
+ "privacy": "protected",
28597
+ "return": {
28598
+ "type": {
28599
+ "text": "void"
28600
+ }
29090
28601
  },
29091
- "default": "true",
29092
- "attribute": "removable",
29093
- "fieldName": "removable",
28602
+ "parameters": [
28603
+ {
28604
+ "name": "prev",
28605
+ "type": {
28606
+ "text": "boolean"
28607
+ }
28608
+ },
28609
+ {
28610
+ "name": "next",
28611
+ "type": {
28612
+ "text": "boolean"
28613
+ }
28614
+ }
28615
+ ],
29094
28616
  "inheritedFrom": {
29095
- "name": "Pill",
29096
- "module": "src/pill/pill.ts"
28617
+ "name": "ListboxOption",
28618
+ "module": "src/listbox-option/listbox-option.ts"
29097
28619
  }
29098
- }
29099
- ],
29100
- "members": [
28620
+ },
29101
28621
  {
29102
28622
  "kind": "field",
29103
- "name": "label",
28623
+ "name": "selectedAttribute",
29104
28624
  "type": {
29105
- "text": "string"
28625
+ "text": "boolean"
29106
28626
  },
29107
- "attribute": "label",
28627
+ "privacy": "public",
28628
+ "description": "The selected attribute value. This sets the initial selected value.",
29108
28629
  "inheritedFrom": {
29109
- "name": "Pill",
29110
- "module": "src/pill/pill.ts"
28630
+ "name": "ListboxOption",
28631
+ "module": "src/listbox-option/listbox-option.ts"
29111
28632
  }
29112
28633
  },
29113
28634
  {
29114
- "kind": "field",
29115
- "name": "value",
29116
- "type": {
29117
- "text": "string"
28635
+ "kind": "method",
28636
+ "name": "selectedAttributeChanged",
28637
+ "privacy": "protected",
28638
+ "return": {
28639
+ "type": {
28640
+ "text": "void"
28641
+ }
29118
28642
  },
29119
- "attribute": "value",
29120
28643
  "inheritedFrom": {
29121
- "name": "Pill",
29122
- "module": "src/pill/pill.ts"
28644
+ "name": "ListboxOption",
28645
+ "module": "src/listbox-option/listbox-option.ts"
29123
28646
  }
29124
28647
  },
29125
28648
  {
29126
28649
  "kind": "field",
29127
- "name": "removable",
28650
+ "name": "selected",
29128
28651
  "type": {
29129
28652
  "text": "boolean"
29130
28653
  },
29131
- "default": "true",
29132
- "attribute": "removable",
28654
+ "privacy": "public",
28655
+ "description": "The checked state of the control.",
28656
+ "inheritedFrom": {
28657
+ "name": "ListboxOption",
28658
+ "module": "src/listbox-option/listbox-option.ts"
28659
+ }
28660
+ },
28661
+ {
28662
+ "kind": "method",
28663
+ "name": "selectedChanged",
28664
+ "privacy": "protected",
28665
+ "return": {
28666
+ "type": {
28667
+ "text": "void"
28668
+ }
28669
+ },
29133
28670
  "inheritedFrom": {
29134
- "name": "Pill",
29135
- "module": "src/pill/pill.ts"
28671
+ "name": "ListboxOption",
28672
+ "module": "src/listbox-option/listbox-option.ts"
29136
28673
  }
29137
28674
  },
29138
28675
  {
29139
28676
  "kind": "field",
29140
- "name": "disabled",
28677
+ "name": "dirtyValue",
29141
28678
  "type": {
29142
28679
  "text": "boolean"
29143
28680
  },
28681
+ "privacy": "public",
29144
28682
  "default": "false",
29145
- "attribute": "disabled",
28683
+ "description": "Track whether the value has been changed from the initial value",
29146
28684
  "inheritedFrom": {
29147
- "name": "Pill",
29148
- "module": "src/pill/pill.ts"
28685
+ "name": "ListboxOption",
28686
+ "module": "src/listbox-option/listbox-option.ts"
29149
28687
  }
29150
28688
  },
29151
28689
  {
29152
- "kind": "method",
29153
- "name": "handleBodyClick",
29154
- "return": {
29155
- "type": {
29156
- "text": "void"
29157
- }
28690
+ "kind": "field",
28691
+ "name": "initialValue",
28692
+ "type": {
28693
+ "text": "string"
29158
28694
  },
28695
+ "privacy": "protected",
28696
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
29159
28697
  "inheritedFrom": {
29160
- "name": "Pill",
29161
- "module": "src/pill/pill.ts"
28698
+ "name": "ListboxOption",
28699
+ "module": "src/listbox-option/listbox-option.ts"
29162
28700
  }
29163
28701
  },
29164
28702
  {
29165
28703
  "kind": "method",
29166
- "name": "handleRemoveClick",
28704
+ "name": "initialValueChanged",
28705
+ "privacy": "public",
29167
28706
  "return": {
29168
28707
  "type": {
29169
28708
  "text": "void"
@@ -29171,15 +28710,75 @@
29171
28710
  },
29172
28711
  "parameters": [
29173
28712
  {
29174
- "name": "event",
28713
+ "name": "previous",
29175
28714
  "type": {
29176
- "text": "Event"
28715
+ "text": "string"
28716
+ }
28717
+ },
28718
+ {
28719
+ "name": "next",
28720
+ "type": {
28721
+ "text": "string"
29177
28722
  }
29178
28723
  }
29179
28724
  ],
29180
28725
  "inheritedFrom": {
29181
- "name": "Pill",
29182
- "module": "src/pill/pill.ts"
28726
+ "name": "ListboxOption",
28727
+ "module": "src/listbox-option/listbox-option.ts"
28728
+ }
28729
+ },
28730
+ {
28731
+ "kind": "field",
28732
+ "name": "label",
28733
+ "privacy": "public",
28734
+ "inheritedFrom": {
28735
+ "name": "ListboxOption",
28736
+ "module": "src/listbox-option/listbox-option.ts"
28737
+ }
28738
+ },
28739
+ {
28740
+ "kind": "field",
28741
+ "name": "text",
28742
+ "type": {
28743
+ "text": "string"
28744
+ },
28745
+ "privacy": "public",
28746
+ "inheritedFrom": {
28747
+ "name": "ListboxOption",
28748
+ "module": "src/listbox-option/listbox-option.ts"
28749
+ }
28750
+ },
28751
+ {
28752
+ "kind": "field",
28753
+ "name": "value",
28754
+ "privacy": "public",
28755
+ "type": {
28756
+ "text": "string"
28757
+ },
28758
+ "inheritedFrom": {
28759
+ "name": "ListboxOption",
28760
+ "module": "src/listbox-option/listbox-option.ts"
28761
+ }
28762
+ },
28763
+ {
28764
+ "kind": "field",
28765
+ "name": "form",
28766
+ "type": {
28767
+ "text": "HTMLFormElement | null"
28768
+ },
28769
+ "privacy": "public",
28770
+ "inheritedFrom": {
28771
+ "name": "ListboxOption",
28772
+ "module": "src/listbox-option/listbox-option.ts"
28773
+ }
28774
+ },
28775
+ {
28776
+ "kind": "field",
28777
+ "name": "proxy",
28778
+ "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
28779
+ "inheritedFrom": {
28780
+ "name": "ListboxOption",
28781
+ "module": "src/listbox-option/listbox-option.ts"
29183
28782
  }
29184
28783
  },
29185
28784
  {
@@ -29191,8 +28790,8 @@
29191
28790
  "privacy": "private",
29192
28791
  "default": "void 0",
29193
28792
  "inheritedFrom": {
29194
- "name": "FoundationElement",
29195
- "module": "src/foundation-element/foundation-element.ts"
28793
+ "name": "ListboxOption",
28794
+ "module": "src/listbox-option/listbox-option.ts"
29196
28795
  }
29197
28796
  },
29198
28797
  {
@@ -29204,8 +28803,8 @@
29204
28803
  "privacy": "public",
29205
28804
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
29206
28805
  "inheritedFrom": {
29207
- "name": "FoundationElement",
29208
- "module": "src/foundation-element/foundation-element.ts"
28806
+ "name": "ListboxOption",
28807
+ "module": "src/listbox-option/listbox-option.ts"
29209
28808
  }
29210
28809
  },
29211
28810
  {
@@ -29217,8 +28816,8 @@
29217
28816
  "privacy": "public",
29218
28817
  "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.",
29219
28818
  "inheritedFrom": {
29220
- "name": "FoundationElement",
29221
- "module": "src/foundation-element/foundation-element.ts"
28819
+ "name": "ListboxOption",
28820
+ "module": "src/listbox-option/listbox-option.ts"
29222
28821
  }
29223
28822
  },
29224
28823
  {
@@ -29231,8 +28830,8 @@
29231
28830
  }
29232
28831
  },
29233
28832
  "inheritedFrom": {
29234
- "name": "FoundationElement",
29235
- "module": "src/foundation-element/foundation-element.ts"
28833
+ "name": "ListboxOption",
28834
+ "module": "src/listbox-option/listbox-option.ts"
29236
28835
  }
29237
28836
  },
29238
28837
  {
@@ -29244,8 +28843,8 @@
29244
28843
  "privacy": "public",
29245
28844
  "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.",
29246
28845
  "inheritedFrom": {
29247
- "name": "FoundationElement",
29248
- "module": "src/foundation-element/foundation-element.ts"
28846
+ "name": "ListboxOption",
28847
+ "module": "src/listbox-option/listbox-option.ts"
29249
28848
  }
29250
28849
  },
29251
28850
  {
@@ -29258,8 +28857,8 @@
29258
28857
  }
29259
28858
  },
29260
28859
  "inheritedFrom": {
29261
- "name": "FoundationElement",
29262
- "module": "src/foundation-element/foundation-element.ts"
28860
+ "name": "ListboxOption",
28861
+ "module": "src/listbox-option/listbox-option.ts"
29263
28862
  }
29264
28863
  },
29265
28864
  {
@@ -29289,50 +28888,47 @@
29289
28888
  ],
29290
28889
  "description": "Defines an element registry function with a set of element definition defaults.",
29291
28890
  "inheritedFrom": {
29292
- "name": "FoundationElement",
29293
- "module": "src/foundation-element/foundation-element.ts"
29294
- }
29295
- }
29296
- ],
29297
- "events": [
29298
- {
29299
- "description": "Fired when the remove control is activated.",
29300
- "name": "remove",
29301
- "inheritedFrom": {
29302
- "name": "Pill",
29303
- "module": "src/pill/pill.ts"
29304
- }
29305
- },
29306
- {
29307
- "description": "Fired when the pill body (excluding the remove control) is activated.",
29308
- "name": "pill-click",
29309
- "inheritedFrom": {
29310
- "name": "Pill",
29311
- "module": "src/pill/pill.ts"
28891
+ "name": "ListboxOption",
28892
+ "module": "src/listbox-option/listbox-option.ts"
29312
28893
  }
29313
28894
  }
29314
28895
  ]
29315
28896
  },
29316
28897
  {
29317
28898
  "kind": "variable",
29318
- "name": "zeroPill"
28899
+ "name": "zeroOptgroup"
29319
28900
  }
29320
28901
  ],
29321
28902
  "exports": [
29322
28903
  {
29323
28904
  "kind": "js",
29324
- "name": "Pill",
28905
+ "name": "Optgroup",
29325
28906
  "declaration": {
29326
- "name": "Pill",
29327
- "module": "src/pill/pill.ts"
28907
+ "name": "Optgroup",
28908
+ "module": "src/optgroup/optgroup.ts"
29328
28909
  }
29329
28910
  },
29330
28911
  {
29331
28912
  "kind": "js",
29332
- "name": "zeroPill",
28913
+ "name": "zeroOptgroup",
28914
+ "declaration": {
28915
+ "name": "zeroOptgroup",
28916
+ "module": "src/optgroup/optgroup.ts"
28917
+ }
28918
+ }
28919
+ ]
28920
+ },
28921
+ {
28922
+ "kind": "javascript-module",
28923
+ "path": "src/overlays/index.ts",
28924
+ "declarations": [],
28925
+ "exports": [
28926
+ {
28927
+ "kind": "js",
28928
+ "name": "*",
29333
28929
  "declaration": {
29334
- "name": "zeroPill",
29335
- "module": "src/pill/pill.ts"
28930
+ "name": "*",
28931
+ "package": "./system-health"
29336
28932
  }
29337
28933
  }
29338
28934
  ]