@genesislcap/rapid-design-system 14.158.2 → 14.160.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +684 -662
  2. package/package.json +10 -10
@@ -14655,7 +14655,7 @@
14655
14655
  },
14656
14656
  {
14657
14657
  "kind": "javascript-module",
14658
- "path": "src/icon/icon.stories.ts",
14658
+ "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
14659
14659
  "declarations": [
14660
14660
  {
14661
14661
  "kind": "variable",
@@ -14663,23 +14663,15 @@
14663
14663
  "type": {
14664
14664
  "text": "Meta"
14665
14665
  },
14666
- "default": "{\n title: 'Icon',\n component: 'rapid-icon',\n}"
14667
- },
14668
- {
14669
- "kind": "variable",
14670
- "name": "Default",
14671
- "type": {
14672
- "text": "StoryObj"
14673
- },
14674
- "default": "{\n argTypes: {\n size: {\n control: 'select',\n options: [\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n '1x',\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n ],\n },\n variant: {\n control: 'select',\n options: ['solid', 'regular', 'brand'],\n },\n },\n args: {\n name: 'glasses',\n size: 'lg',\n variant: 'solid',\n },\n render: ({ name, size, variant }) => html`\n <rapid-icon\n style=\"color: white;\"\n name=\"${name}\"\n size=\"${size}\"\n variant=\"${variant}\"\n ></rapid-icon>\n `,\n}"
14666
+ "default": "{\n title: 'Horizontal Scroll',\n component: 'rapid-horizontal-scroll',\n}"
14675
14667
  },
14676
14668
  {
14677
14669
  "kind": "variable",
14678
- "name": "Multiple",
14670
+ "name": "Primary",
14679
14671
  "type": {
14680
14672
  "text": "StoryObj"
14681
14673
  },
14682
- "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <rapid-icon name=\"glasses\" size=\"1x\"></rapid-icon>\n <rapid-icon name=\"amazon\" size=\"2x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"amazon-pay\" size=\"3x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"apple\" size=\"4x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"chrome\" size=\"5x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"ambulance\" size=\"xs\"></rapid-icon>\n <rapid-icon name=\"angry\" size=\"1x\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"angry\" size=\"sm\"></rapid-icon>\n <rapid-icon name=\"address-book\" size=\"lg\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"address-book\" size=\"xl\"></rapid-icon>\n <rapid-icon name=\"bookmark\" size=\"2xl;\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"bookmark\" size=\"2xs\"></rapid-icon>\n </div>\n `,\n}"
14674
+ "default": "{\n render: () => html`\n <rapid-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <rapid-card style=${cardStyle}>\n Card number ${item}\n <rapid-button>A button</rapid-button>\n </rapid-card>\n `,\n )}\n </rapid-horizontal-scroll>\n `,\n}"
14683
14675
  }
14684
14676
  ],
14685
14677
  "exports": [
@@ -14688,37 +14680,68 @@
14688
14680
  "name": "default",
14689
14681
  "declaration": {
14690
14682
  "name": "meta",
14691
- "module": "src/icon/icon.stories.ts"
14683
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
14692
14684
  }
14693
14685
  },
14694
14686
  {
14695
14687
  "kind": "js",
14696
- "name": "Default",
14688
+ "name": "Primary",
14697
14689
  "declaration": {
14698
- "name": "Default",
14699
- "module": "src/icon/icon.stories.ts"
14690
+ "name": "Primary",
14691
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
14700
14692
  }
14701
- },
14693
+ }
14694
+ ]
14695
+ },
14696
+ {
14697
+ "kind": "javascript-module",
14698
+ "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
14699
+ "declarations": [
14700
+ {
14701
+ "kind": "function",
14702
+ "name": "rapidHorizontalScrollStyles",
14703
+ "return": {
14704
+ "type": {
14705
+ "text": "ElementStyles"
14706
+ }
14707
+ },
14708
+ "parameters": [
14709
+ {
14710
+ "name": "context",
14711
+ "type": {
14712
+ "text": "ElementDefinitionContext"
14713
+ }
14714
+ },
14715
+ {
14716
+ "name": "definition",
14717
+ "type": {
14718
+ "text": "FoundationElementDefinition"
14719
+ }
14720
+ }
14721
+ ]
14722
+ }
14723
+ ],
14724
+ "exports": [
14702
14725
  {
14703
14726
  "kind": "js",
14704
- "name": "Multiple",
14727
+ "name": "rapidHorizontalScrollStyles",
14705
14728
  "declaration": {
14706
- "name": "Multiple",
14707
- "module": "src/icon/icon.stories.ts"
14729
+ "name": "rapidHorizontalScrollStyles",
14730
+ "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
14708
14731
  }
14709
14732
  }
14710
14733
  ]
14711
14734
  },
14712
14735
  {
14713
14736
  "kind": "javascript-module",
14714
- "path": "src/icon/icon.styles.ts",
14737
+ "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
14715
14738
  "declarations": [
14716
14739
  {
14717
14740
  "kind": "function",
14718
- "name": "rapidIconStyles",
14741
+ "name": "rapidHorizontalScrollTemplate",
14719
14742
  "return": {
14720
14743
  "type": {
14721
- "text": "ElementStyles"
14744
+ "text": "ViewTemplate<HorizontalScroll>"
14722
14745
  }
14723
14746
  },
14724
14747
  "parameters": [
@@ -14740,361 +14763,602 @@
14740
14763
  "exports": [
14741
14764
  {
14742
14765
  "kind": "js",
14743
- "name": "rapidIconStyles",
14766
+ "name": "rapidHorizontalScrollTemplate",
14744
14767
  "declaration": {
14745
- "name": "rapidIconStyles",
14746
- "module": "src/icon/icon.styles.ts"
14768
+ "name": "rapidHorizontalScrollTemplate",
14769
+ "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
14747
14770
  }
14748
14771
  }
14749
14772
  ]
14750
14773
  },
14751
14774
  {
14752
14775
  "kind": "javascript-module",
14753
- "path": "src/icon/icon.ts",
14776
+ "path": "src/horizontal-scroll/horizontal-scroll.ts",
14754
14777
  "declarations": [
14755
14778
  {
14756
14779
  "kind": "class",
14757
14780
  "description": "",
14758
- "name": "Icon",
14781
+ "name": "HorizontalScroll",
14759
14782
  "superclass": {
14760
- "name": "FoundationIcon",
14783
+ "name": "FoundationHorizontalScroll",
14761
14784
  "package": "@genesislcap/foundation-ui"
14762
14785
  },
14763
- "tagName": "%%prefix%%-icon",
14786
+ "tagName": "%%prefix%%-horizontal-scroll",
14764
14787
  "customElement": true,
14765
14788
  "attributes": [
14766
14789
  {
14767
- "name": "name",
14768
14790
  "type": {
14769
- "text": "IconName"
14791
+ "text": "number"
14770
14792
  },
14771
- "fieldName": "name",
14793
+ "default": "600",
14794
+ "description": "Speed of scroll in pixels per second",
14795
+ "fieldName": "speed",
14772
14796
  "inheritedFrom": {
14773
- "name": "Icon",
14774
- "module": "src/icon/icon.ts"
14797
+ "name": "HorizontalScroll",
14798
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14775
14799
  }
14776
14800
  },
14777
14801
  {
14778
- "name": "size",
14802
+ "name": "duration",
14779
14803
  "type": {
14780
- "text": "FaSize"
14804
+ "text": "string"
14781
14805
  },
14782
- "default": "'sm'",
14783
- "fieldName": "size",
14806
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
14807
+ "fieldName": "duration",
14784
14808
  "inheritedFrom": {
14785
- "name": "Icon",
14786
- "module": "src/icon/icon.ts"
14809
+ "name": "HorizontalScroll",
14810
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14787
14811
  }
14788
14812
  },
14789
14813
  {
14790
- "name": "variant",
14814
+ "name": "easing",
14791
14815
  "type": {
14792
- "text": "IconStyle"
14816
+ "text": "ScrollEasing"
14793
14817
  },
14794
- "default": "'solid'",
14795
- "fieldName": "variant",
14818
+ "default": "\"ease-in-out\"",
14819
+ "description": "Attribute used for easing, defaults to ease-in-out",
14820
+ "fieldName": "easing",
14796
14821
  "inheritedFrom": {
14797
- "name": "Icon",
14798
- "module": "src/icon/icon.ts"
14822
+ "name": "HorizontalScroll",
14823
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14824
+ }
14825
+ },
14826
+ {
14827
+ "name": "flippers-hidden-from-at",
14828
+ "type": {
14829
+ "text": "boolean"
14830
+ },
14831
+ "default": "false",
14832
+ "description": "Attribute to hide flippers from assistive technology",
14833
+ "fieldName": "flippersHiddenFromAT",
14834
+ "inheritedFrom": {
14835
+ "name": "HorizontalScroll",
14836
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14837
+ }
14838
+ },
14839
+ {
14840
+ "name": "view",
14841
+ "type": {
14842
+ "text": "HorizontalScrollView"
14843
+ },
14844
+ "description": "View: default | mobile",
14845
+ "fieldName": "view",
14846
+ "inheritedFrom": {
14847
+ "name": "HorizontalScroll",
14848
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14799
14849
  }
14800
14850
  }
14801
14851
  ],
14802
14852
  "members": [
14803
14853
  {
14804
14854
  "kind": "field",
14805
- "name": "iElement",
14855
+ "name": "scrollContainer",
14806
14856
  "type": {
14807
- "text": "HTMLElement"
14857
+ "text": "HTMLDivElement"
14808
14858
  },
14859
+ "privacy": "public",
14860
+ "description": "Reference to DOM element that scrolls the content",
14809
14861
  "inheritedFrom": {
14810
- "name": "Icon",
14811
- "module": "src/icon/icon.ts"
14862
+ "name": "HorizontalScroll",
14863
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14812
14864
  }
14813
14865
  },
14814
14866
  {
14815
14867
  "kind": "field",
14816
- "name": "name",
14868
+ "name": "content",
14817
14869
  "type": {
14818
- "text": "IconName"
14870
+ "text": "HTMLDivElement"
14819
14871
  },
14872
+ "privacy": "public",
14873
+ "description": "Reference to DOM element that holds the slotted content",
14820
14874
  "inheritedFrom": {
14821
- "name": "Icon",
14822
- "module": "src/icon/icon.ts"
14875
+ "name": "HorizontalScroll",
14876
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14823
14877
  }
14824
14878
  },
14825
14879
  {
14826
- "kind": "method",
14827
- "name": "nameChanged",
14828
- "parameters": [
14829
- {
14830
- "name": "oldValue",
14831
- "type": {
14832
- "text": "string"
14833
- }
14834
- },
14835
- {
14836
- "name": "newValue",
14837
- "type": {
14838
- "text": "string"
14839
- }
14840
- }
14841
- ],
14880
+ "kind": "field",
14881
+ "name": "previousFlipperContainer",
14882
+ "type": {
14883
+ "text": "HTMLDivElement"
14884
+ },
14885
+ "privacy": "public",
14886
+ "description": "Reference to flipper to scroll to previous content",
14842
14887
  "inheritedFrom": {
14843
- "name": "Icon",
14844
- "module": "src/icon/icon.ts"
14888
+ "name": "HorizontalScroll",
14889
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14845
14890
  }
14846
14891
  },
14847
14892
  {
14848
14893
  "kind": "field",
14849
- "name": "size",
14894
+ "name": "nextFlipperContainer",
14850
14895
  "type": {
14851
- "text": "FaSize"
14896
+ "text": "HTMLDivElement"
14852
14897
  },
14853
- "default": "'sm'",
14898
+ "privacy": "public",
14899
+ "description": "Reference to flipper to scroll to the next content",
14854
14900
  "inheritedFrom": {
14855
- "name": "Icon",
14856
- "module": "src/icon/icon.ts"
14901
+ "name": "HorizontalScroll",
14902
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14857
14903
  }
14858
14904
  },
14859
14905
  {
14860
- "kind": "method",
14861
- "name": "sizeChanged",
14862
- "parameters": [
14863
- {
14864
- "name": "oldValue",
14865
- "type": {
14866
- "text": "string"
14867
- }
14868
- },
14869
- {
14870
- "name": "newValue",
14871
- "type": {
14872
- "text": "string"
14873
- }
14874
- }
14875
- ],
14906
+ "kind": "field",
14907
+ "name": "speed",
14908
+ "type": {
14909
+ "text": "number"
14910
+ },
14911
+ "privacy": "public",
14912
+ "default": "600",
14913
+ "description": "Speed of scroll in pixels per second",
14876
14914
  "inheritedFrom": {
14877
- "name": "Icon",
14878
- "module": "src/icon/icon.ts"
14915
+ "name": "HorizontalScroll",
14916
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14879
14917
  }
14880
14918
  },
14881
14919
  {
14882
14920
  "kind": "field",
14883
- "name": "variant",
14921
+ "name": "duration",
14884
14922
  "type": {
14885
- "text": "IconStyle"
14923
+ "text": "string"
14886
14924
  },
14887
- "default": "'solid'",
14925
+ "privacy": "public",
14926
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
14888
14927
  "inheritedFrom": {
14889
- "name": "Icon",
14890
- "module": "src/icon/icon.ts"
14928
+ "name": "HorizontalScroll",
14929
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14891
14930
  }
14892
14931
  },
14893
14932
  {
14894
- "kind": "method",
14895
- "name": "variantChanged",
14896
- "parameters": [
14897
- {
14898
- "name": "oldValue",
14899
- "type": {
14900
- "text": "string"
14901
- }
14902
- },
14903
- {
14904
- "name": "newValue",
14905
- "type": {
14906
- "text": "string"
14907
- }
14908
- }
14909
- ],
14933
+ "kind": "field",
14934
+ "name": "easing",
14935
+ "type": {
14936
+ "text": "ScrollEasing"
14937
+ },
14938
+ "privacy": "public",
14939
+ "default": "\"ease-in-out\"",
14940
+ "description": "Attribute used for easing, defaults to ease-in-out",
14910
14941
  "inheritedFrom": {
14911
- "name": "Icon",
14912
- "module": "src/icon/icon.ts"
14942
+ "name": "HorizontalScroll",
14943
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14913
14944
  }
14914
14945
  },
14915
14946
  {
14916
- "kind": "method",
14917
- "name": "loadIcon",
14947
+ "kind": "field",
14948
+ "name": "flippersHiddenFromAT",
14949
+ "type": {
14950
+ "text": "boolean"
14951
+ },
14918
14952
  "privacy": "public",
14953
+ "default": "false",
14954
+ "description": "Attribute to hide flippers from assistive technology",
14919
14955
  "inheritedFrom": {
14920
- "name": "Icon",
14921
- "module": "src/icon/icon.ts"
14956
+ "name": "HorizontalScroll",
14957
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14922
14958
  }
14923
14959
  },
14924
14960
  {
14925
14961
  "kind": "field",
14926
- "name": "_presentation",
14962
+ "name": "scrollItems",
14927
14963
  "type": {
14928
- "text": "ComponentPresentation | null | undefined"
14964
+ "text": "HTMLElement[]"
14929
14965
  },
14930
- "privacy": "private",
14931
- "default": "void 0",
14966
+ "privacy": "public",
14967
+ "description": "The default slotted items placed in the scrolling container.",
14932
14968
  "inheritedFrom": {
14933
- "name": "FoundationElement",
14934
- "module": "src/foundation-element/foundation-element.ts"
14969
+ "name": "HorizontalScroll",
14970
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14935
14971
  }
14936
14972
  },
14937
14973
  {
14938
14974
  "kind": "field",
14939
- "name": "$presentation",
14975
+ "name": "view",
14940
14976
  "type": {
14941
- "text": "ComponentPresentation | null"
14977
+ "text": "HorizontalScrollView"
14942
14978
  },
14943
14979
  "privacy": "public",
14944
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14980
+ "description": "View: default | mobile",
14945
14981
  "inheritedFrom": {
14946
- "name": "FoundationElement",
14947
- "module": "src/foundation-element/foundation-element.ts"
14982
+ "name": "HorizontalScroll",
14983
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14948
14984
  }
14949
14985
  },
14950
14986
  {
14951
- "kind": "field",
14952
- "name": "template",
14953
- "type": {
14954
- "text": "ElementViewTemplate | void | null"
14955
- },
14987
+ "kind": "method",
14988
+ "name": "scrollItemsChanged",
14956
14989
  "privacy": "public",
14957
- "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.",
14990
+ "parameters": [
14991
+ {
14992
+ "name": "previous",
14993
+ "type": {
14994
+ "text": "HTMLElement[]"
14995
+ },
14996
+ "description": "current scroll items"
14997
+ },
14998
+ {
14999
+ "name": "next",
15000
+ "type": {
15001
+ "text": "HTMLElement[]"
15002
+ },
15003
+ "description": "new updated scroll items"
15004
+ }
15005
+ ],
15006
+ "description": "Updates scroll stops and flippers when scroll items change",
14958
15007
  "inheritedFrom": {
14959
- "name": "FoundationElement",
14960
- "module": "src/foundation-element/foundation-element.ts"
15008
+ "name": "HorizontalScroll",
15009
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14961
15010
  }
14962
15011
  },
14963
15012
  {
14964
15013
  "kind": "method",
14965
- "name": "templateChanged",
14966
- "privacy": "protected",
15014
+ "name": "fixScrollMisalign",
15015
+ "privacy": "private",
15016
+ "parameters": [
15017
+ {
15018
+ "name": "stops",
15019
+ "type": {
15020
+ "text": "number[]"
15021
+ }
15022
+ }
15023
+ ],
15024
+ "inheritedFrom": {
15025
+ "name": "HorizontalScroll",
15026
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15027
+ }
15028
+ },
15029
+ {
15030
+ "kind": "method",
15031
+ "name": "scrollInView",
15032
+ "privacy": "public",
14967
15033
  "return": {
14968
15034
  "type": {
14969
15035
  "text": "void"
14970
15036
  }
14971
15037
  },
15038
+ "parameters": [
15039
+ {
15040
+ "name": "item",
15041
+ "type": {
15042
+ "text": "HTMLElement | number"
15043
+ },
15044
+ "description": "An item index, a scroll item or a child of one of the scroll items"
15045
+ },
15046
+ {
15047
+ "name": "padding",
15048
+ "default": "0",
15049
+ "type": {
15050
+ "text": "number"
15051
+ },
15052
+ "description": "Padding of the viewport where the active item shouldn't be"
15053
+ },
15054
+ {
15055
+ "name": "rightPadding",
15056
+ "optional": true,
15057
+ "type": {
15058
+ "text": "number"
15059
+ },
15060
+ "description": "Optional right padding. Uses the padding if not defined"
15061
+ }
15062
+ ],
15063
+ "description": "Function that can scroll an item into view.",
14972
15064
  "inheritedFrom": {
14973
- "name": "FoundationElement",
14974
- "module": "src/foundation-element/foundation-element.ts"
15065
+ "name": "HorizontalScroll",
15066
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14975
15067
  }
14976
15068
  },
14977
15069
  {
14978
- "kind": "field",
14979
- "name": "styles",
14980
- "type": {
14981
- "text": "ElementStyles | void | null"
14982
- },
15070
+ "kind": "method",
15071
+ "name": "keyupHandler",
14983
15072
  "privacy": "public",
14984
- "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.",
15073
+ "parameters": [
15074
+ {
15075
+ "name": "e",
15076
+ "type": {
15077
+ "text": "Event & KeyboardEvent"
15078
+ },
15079
+ "description": "Keyboard event"
15080
+ }
15081
+ ],
15082
+ "description": "Lets the user arrow left and right through the horizontal scroll",
14985
15083
  "inheritedFrom": {
14986
- "name": "FoundationElement",
14987
- "module": "src/foundation-element/foundation-element.ts"
15084
+ "name": "HorizontalScroll",
15085
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
14988
15086
  }
14989
15087
  },
14990
15088
  {
14991
15089
  "kind": "method",
14992
- "name": "stylesChanged",
14993
- "privacy": "protected",
15090
+ "name": "scrollToPrevious",
15091
+ "privacy": "public",
14994
15092
  "return": {
14995
15093
  "type": {
14996
15094
  "text": "void"
14997
15095
  }
14998
15096
  },
15097
+ "description": "Scrolls items to the left",
14999
15098
  "inheritedFrom": {
15000
- "name": "FoundationElement",
15001
- "module": "src/foundation-element/foundation-element.ts"
15099
+ "name": "HorizontalScroll",
15100
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15002
15101
  }
15003
15102
  },
15004
15103
  {
15005
15104
  "kind": "method",
15006
- "name": "compose",
15105
+ "name": "scrollToNext",
15007
15106
  "privacy": "public",
15008
- "static": true,
15009
15107
  "return": {
15010
15108
  "type": {
15011
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
15109
+ "text": "void"
15110
+ }
15111
+ },
15112
+ "description": "Scrolls items to the right",
15113
+ "inheritedFrom": {
15114
+ "name": "HorizontalScroll",
15115
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15116
+ }
15117
+ },
15118
+ {
15119
+ "kind": "method",
15120
+ "name": "scrollToPosition",
15121
+ "privacy": "public",
15122
+ "return": {
15123
+ "type": {
15124
+ "text": "void"
15012
15125
  }
15013
15126
  },
15014
15127
  "parameters": [
15015
15128
  {
15016
- "name": "this",
15129
+ "name": "newPosition",
15017
15130
  "type": {
15018
- "text": "K"
15019
- }
15131
+ "text": "number"
15132
+ },
15133
+ "description": "position to scroll to"
15020
15134
  },
15021
15135
  {
15022
- "name": "elementDefinition",
15136
+ "name": "position",
15137
+ "default": "this.scrollContainer.scrollLeft",
15023
15138
  "type": {
15024
- "text": "T"
15139
+ "text": "number"
15025
15140
  },
15026
- "description": "The definition of the element to create the registry\nfunction for."
15141
+ "description": "starting position"
15027
15142
  }
15028
15143
  ],
15029
- "description": "Defines an element registry function with a set of element definition defaults.",
15144
+ "description": "Handles scrolling with easing",
15030
15145
  "inheritedFrom": {
15031
- "name": "FoundationElement",
15032
- "module": "src/foundation-element/foundation-element.ts"
15146
+ "name": "HorizontalScroll",
15147
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15033
15148
  }
15034
- }
15035
- ]
15036
- },
15037
- {
15038
- "kind": "variable",
15039
- "name": "defaultIconConfig",
15040
- "default": "foundationIconConfig"
15041
- },
15042
- {
15043
- "kind": "variable",
15044
- "name": "rapidIconShadowOptions",
15045
- "default": "foundationIconShadowOptions"
15046
- },
15047
- {
15048
- "kind": "variable",
15049
- "name": "rapidIcon"
15050
- }
15051
- ],
15052
- "exports": [
15053
- {
15054
- "kind": "js",
15055
- "name": "Icon",
15056
- "declaration": {
15057
- "name": "Icon",
15058
- "module": "src/icon/icon.ts"
15059
- }
15060
- },
15061
- {
15062
- "kind": "js",
15063
- "name": "defaultIconConfig",
15064
- "declaration": {
15065
- "name": "defaultIconConfig",
15066
- "module": "src/icon/icon.ts"
15067
- }
15068
- },
15069
- {
15070
- "kind": "js",
15071
- "name": "rapidIconShadowOptions",
15072
- "declaration": {
15073
- "name": "rapidIconShadowOptions",
15074
- "module": "src/icon/icon.ts"
15075
- }
15076
- },
15077
- {
15078
- "kind": "js",
15079
- "name": "rapidIcon",
15080
- "declaration": {
15081
- "name": "rapidIcon",
15082
- "module": "src/icon/icon.ts"
15083
- }
15084
- }
15085
- ]
15086
- },
15087
- {
15088
- "kind": "javascript-module",
15089
- "path": "src/icon/index.ts",
15090
- "declarations": [],
15149
+ },
15150
+ {
15151
+ "kind": "method",
15152
+ "name": "resized",
15153
+ "privacy": "public",
15154
+ "return": {
15155
+ "type": {
15156
+ "text": "void"
15157
+ }
15158
+ },
15159
+ "description": "Monitors resize event on the horizontal-scroll element",
15160
+ "inheritedFrom": {
15161
+ "name": "HorizontalScroll",
15162
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15163
+ }
15164
+ },
15165
+ {
15166
+ "kind": "method",
15167
+ "name": "scrolled",
15168
+ "privacy": "public",
15169
+ "return": {
15170
+ "type": {
15171
+ "text": "void"
15172
+ }
15173
+ },
15174
+ "description": "Monitors scrolled event on the content container",
15175
+ "inheritedFrom": {
15176
+ "name": "HorizontalScroll",
15177
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15178
+ }
15179
+ },
15180
+ {
15181
+ "kind": "field",
15182
+ "name": "_presentation",
15183
+ "type": {
15184
+ "text": "ComponentPresentation | null | undefined"
15185
+ },
15186
+ "privacy": "private",
15187
+ "default": "void 0",
15188
+ "inheritedFrom": {
15189
+ "name": "HorizontalScroll",
15190
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15191
+ }
15192
+ },
15193
+ {
15194
+ "kind": "field",
15195
+ "name": "$presentation",
15196
+ "type": {
15197
+ "text": "ComponentPresentation | null"
15198
+ },
15199
+ "privacy": "public",
15200
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
15201
+ "inheritedFrom": {
15202
+ "name": "HorizontalScroll",
15203
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15204
+ }
15205
+ },
15206
+ {
15207
+ "kind": "field",
15208
+ "name": "template",
15209
+ "type": {
15210
+ "text": "ElementViewTemplate | void | null"
15211
+ },
15212
+ "privacy": "public",
15213
+ "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.",
15214
+ "inheritedFrom": {
15215
+ "name": "HorizontalScroll",
15216
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15217
+ }
15218
+ },
15219
+ {
15220
+ "kind": "method",
15221
+ "name": "templateChanged",
15222
+ "privacy": "protected",
15223
+ "return": {
15224
+ "type": {
15225
+ "text": "void"
15226
+ }
15227
+ },
15228
+ "inheritedFrom": {
15229
+ "name": "HorizontalScroll",
15230
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15231
+ }
15232
+ },
15233
+ {
15234
+ "kind": "field",
15235
+ "name": "styles",
15236
+ "type": {
15237
+ "text": "ElementStyles | void | null"
15238
+ },
15239
+ "privacy": "public",
15240
+ "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.",
15241
+ "inheritedFrom": {
15242
+ "name": "HorizontalScroll",
15243
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15244
+ }
15245
+ },
15246
+ {
15247
+ "kind": "method",
15248
+ "name": "stylesChanged",
15249
+ "privacy": "protected",
15250
+ "return": {
15251
+ "type": {
15252
+ "text": "void"
15253
+ }
15254
+ },
15255
+ "inheritedFrom": {
15256
+ "name": "HorizontalScroll",
15257
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15258
+ }
15259
+ },
15260
+ {
15261
+ "kind": "method",
15262
+ "name": "compose",
15263
+ "privacy": "public",
15264
+ "static": true,
15265
+ "return": {
15266
+ "type": {
15267
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
15268
+ }
15269
+ },
15270
+ "parameters": [
15271
+ {
15272
+ "name": "this",
15273
+ "type": {
15274
+ "text": "K"
15275
+ }
15276
+ },
15277
+ {
15278
+ "name": "elementDefinition",
15279
+ "type": {
15280
+ "text": "T"
15281
+ },
15282
+ "description": "The definition of the element to create the registry\nfunction for."
15283
+ }
15284
+ ],
15285
+ "description": "Defines an element registry function with a set of element definition defaults.",
15286
+ "inheritedFrom": {
15287
+ "name": "HorizontalScroll",
15288
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15289
+ }
15290
+ }
15291
+ ],
15292
+ "events": [
15293
+ {
15294
+ "description": "Fires a custom 'scrollstart' event when scrolling",
15295
+ "name": "scrollstart",
15296
+ "inheritedFrom": {
15297
+ "name": "HorizontalScroll",
15298
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15299
+ }
15300
+ },
15301
+ {
15302
+ "description": "Fires a custom 'scrollend' event when scrolling stops",
15303
+ "name": "scrollend",
15304
+ "inheritedFrom": {
15305
+ "name": "HorizontalScroll",
15306
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15307
+ }
15308
+ }
15309
+ ]
15310
+ },
15311
+ {
15312
+ "kind": "variable",
15313
+ "name": "defaultHorizontalScrollConfig",
15314
+ "type": {
15315
+ "text": "object"
15316
+ },
15317
+ "default": "{\n nextFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n previousFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n}"
15318
+ },
15319
+ {
15320
+ "kind": "variable",
15321
+ "name": "rapidHorizontalScroll"
15322
+ }
15323
+ ],
15324
+ "exports": [
15325
+ {
15326
+ "kind": "js",
15327
+ "name": "HorizontalScroll",
15328
+ "declaration": {
15329
+ "name": "HorizontalScroll",
15330
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15331
+ }
15332
+ },
15333
+ {
15334
+ "kind": "js",
15335
+ "name": "defaultHorizontalScrollConfig",
15336
+ "declaration": {
15337
+ "name": "defaultHorizontalScrollConfig",
15338
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15339
+ }
15340
+ },
15341
+ {
15342
+ "kind": "js",
15343
+ "name": "rapidHorizontalScroll",
15344
+ "declaration": {
15345
+ "name": "rapidHorizontalScroll",
15346
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15347
+ }
15348
+ }
15349
+ ]
15350
+ },
15351
+ {
15352
+ "kind": "javascript-module",
15353
+ "path": "src/horizontal-scroll/index.ts",
15354
+ "declarations": [],
15091
15355
  "exports": [
15092
15356
  {
15093
15357
  "kind": "js",
15094
15358
  "name": "*",
15095
15359
  "declaration": {
15096
15360
  "name": "*",
15097
- "package": "./icon"
15361
+ "package": "./horizontal-scroll"
15098
15362
  }
15099
15363
  },
15100
15364
  {
@@ -15102,14 +15366,22 @@
15102
15366
  "name": "*",
15103
15367
  "declaration": {
15104
15368
  "name": "*",
15105
- "package": "./icon.styles"
15369
+ "package": "./horizontal-scroll.styles"
15370
+ }
15371
+ },
15372
+ {
15373
+ "kind": "js",
15374
+ "name": "*",
15375
+ "declaration": {
15376
+ "name": "*",
15377
+ "package": "./horizontal-scroll.template"
15106
15378
  }
15107
15379
  }
15108
15380
  ]
15109
15381
  },
15110
15382
  {
15111
15383
  "kind": "javascript-module",
15112
- "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
15384
+ "path": "src/icon/icon.stories.ts",
15113
15385
  "declarations": [
15114
15386
  {
15115
15387
  "kind": "variable",
@@ -15117,15 +15389,23 @@
15117
15389
  "type": {
15118
15390
  "text": "Meta"
15119
15391
  },
15120
- "default": "{\n title: 'Horizontal Scroll',\n component: 'rapid-horizontal-scroll',\n}"
15392
+ "default": "{\n title: 'Icon',\n component: 'rapid-icon',\n}"
15121
15393
  },
15122
15394
  {
15123
15395
  "kind": "variable",
15124
- "name": "Primary",
15396
+ "name": "Default",
15125
15397
  "type": {
15126
15398
  "text": "StoryObj"
15127
15399
  },
15128
- "default": "{\n render: () => html`\n <rapid-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <rapid-card style=${cardStyle}>\n Card number ${item}\n <rapid-button>A button</rapid-button>\n </rapid-card>\n `,\n )}\n </rapid-horizontal-scroll>\n `,\n}"
15400
+ "default": "{\n argTypes: {\n size: {\n control: 'select',\n options: [\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n '1x',\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n ],\n },\n variant: {\n control: 'select',\n options: ['solid', 'regular', 'brand'],\n },\n },\n args: {\n name: 'glasses',\n size: 'lg',\n variant: 'solid',\n },\n render: ({ name, size, variant }) => html`\n <rapid-icon\n style=\"color: white;\"\n name=\"${name}\"\n size=\"${size}\"\n variant=\"${variant}\"\n ></rapid-icon>\n `,\n}"
15401
+ },
15402
+ {
15403
+ "kind": "variable",
15404
+ "name": "Multiple",
15405
+ "type": {
15406
+ "text": "StoryObj"
15407
+ },
15408
+ "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <rapid-icon name=\"glasses\" size=\"1x\"></rapid-icon>\n <rapid-icon name=\"amazon\" size=\"2x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"amazon-pay\" size=\"3x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"apple\" size=\"4x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"chrome\" size=\"5x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"ambulance\" size=\"xs\"></rapid-icon>\n <rapid-icon name=\"angry\" size=\"1x\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"angry\" size=\"sm\"></rapid-icon>\n <rapid-icon name=\"address-book\" size=\"lg\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"address-book\" size=\"xl\"></rapid-icon>\n <rapid-icon name=\"bookmark\" size=\"2xl;\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"bookmark\" size=\"2xs\"></rapid-icon>\n </div>\n `,\n}"
15129
15409
  }
15130
15410
  ],
15131
15411
  "exports": [
@@ -15134,26 +15414,34 @@
15134
15414
  "name": "default",
15135
15415
  "declaration": {
15136
15416
  "name": "meta",
15137
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
15417
+ "module": "src/icon/icon.stories.ts"
15138
15418
  }
15139
15419
  },
15140
15420
  {
15141
15421
  "kind": "js",
15142
- "name": "Primary",
15422
+ "name": "Default",
15143
15423
  "declaration": {
15144
- "name": "Primary",
15145
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
15424
+ "name": "Default",
15425
+ "module": "src/icon/icon.stories.ts"
15426
+ }
15427
+ },
15428
+ {
15429
+ "kind": "js",
15430
+ "name": "Multiple",
15431
+ "declaration": {
15432
+ "name": "Multiple",
15433
+ "module": "src/icon/icon.stories.ts"
15146
15434
  }
15147
15435
  }
15148
15436
  ]
15149
15437
  },
15150
15438
  {
15151
15439
  "kind": "javascript-module",
15152
- "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
15440
+ "path": "src/icon/icon.styles.ts",
15153
15441
  "declarations": [
15154
15442
  {
15155
15443
  "kind": "function",
15156
- "name": "rapidHorizontalScrollStyles",
15444
+ "name": "rapidIconStyles",
15157
15445
  "return": {
15158
15446
  "type": {
15159
15447
  "text": "ElementStyles"
@@ -15178,457 +15466,185 @@
15178
15466
  "exports": [
15179
15467
  {
15180
15468
  "kind": "js",
15181
- "name": "rapidHorizontalScrollStyles",
15469
+ "name": "rapidIconStyles",
15182
15470
  "declaration": {
15183
- "name": "rapidHorizontalScrollStyles",
15184
- "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
15185
- }
15186
- }
15187
- ]
15188
- },
15189
- {
15190
- "kind": "javascript-module",
15191
- "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
15192
- "declarations": [
15193
- {
15194
- "kind": "function",
15195
- "name": "rapidHorizontalScrollTemplate",
15196
- "return": {
15197
- "type": {
15198
- "text": "ViewTemplate<HorizontalScroll>"
15199
- }
15200
- },
15201
- "parameters": [
15202
- {
15203
- "name": "context",
15204
- "type": {
15205
- "text": "ElementDefinitionContext"
15206
- }
15207
- },
15208
- {
15209
- "name": "definition",
15210
- "type": {
15211
- "text": "FoundationElementDefinition"
15212
- }
15213
- }
15214
- ]
15215
- }
15216
- ],
15217
- "exports": [
15218
- {
15219
- "kind": "js",
15220
- "name": "rapidHorizontalScrollTemplate",
15221
- "declaration": {
15222
- "name": "rapidHorizontalScrollTemplate",
15223
- "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
15471
+ "name": "rapidIconStyles",
15472
+ "module": "src/icon/icon.styles.ts"
15224
15473
  }
15225
15474
  }
15226
15475
  ]
15227
15476
  },
15228
15477
  {
15229
15478
  "kind": "javascript-module",
15230
- "path": "src/horizontal-scroll/horizontal-scroll.ts",
15479
+ "path": "src/icon/icon.ts",
15231
15480
  "declarations": [
15232
15481
  {
15233
15482
  "kind": "class",
15234
15483
  "description": "",
15235
- "name": "HorizontalScroll",
15484
+ "name": "Icon",
15236
15485
  "superclass": {
15237
- "name": "FoundationHorizontalScroll",
15486
+ "name": "FoundationIcon",
15238
15487
  "package": "@genesislcap/foundation-ui"
15239
15488
  },
15240
- "tagName": "%%prefix%%-horizontal-scroll",
15489
+ "tagName": "%%prefix%%-icon",
15241
15490
  "customElement": true,
15242
15491
  "attributes": [
15243
15492
  {
15493
+ "name": "name",
15244
15494
  "type": {
15245
- "text": "number"
15246
- },
15247
- "default": "600",
15248
- "description": "Speed of scroll in pixels per second",
15249
- "fieldName": "speed",
15250
- "inheritedFrom": {
15251
- "name": "HorizontalScroll",
15252
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15253
- }
15254
- },
15255
- {
15256
- "name": "duration",
15257
- "type": {
15258
- "text": "string"
15259
- },
15260
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
15261
- "fieldName": "duration",
15262
- "inheritedFrom": {
15263
- "name": "HorizontalScroll",
15264
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15265
- }
15266
- },
15267
- {
15268
- "name": "easing",
15269
- "type": {
15270
- "text": "ScrollEasing"
15495
+ "text": "IconName"
15271
15496
  },
15272
- "default": "\"ease-in-out\"",
15273
- "description": "Attribute used for easing, defaults to ease-in-out",
15274
- "fieldName": "easing",
15497
+ "fieldName": "name",
15275
15498
  "inheritedFrom": {
15276
- "name": "HorizontalScroll",
15277
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15499
+ "name": "Icon",
15500
+ "module": "src/icon/icon.ts"
15278
15501
  }
15279
15502
  },
15280
15503
  {
15281
- "name": "flippers-hidden-from-at",
15504
+ "name": "size",
15282
15505
  "type": {
15283
- "text": "boolean"
15506
+ "text": "FaSize"
15284
15507
  },
15285
- "default": "false",
15286
- "description": "Attribute to hide flippers from assistive technology",
15287
- "fieldName": "flippersHiddenFromAT",
15508
+ "default": "'sm'",
15509
+ "fieldName": "size",
15288
15510
  "inheritedFrom": {
15289
- "name": "HorizontalScroll",
15290
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15511
+ "name": "Icon",
15512
+ "module": "src/icon/icon.ts"
15291
15513
  }
15292
15514
  },
15293
15515
  {
15294
- "name": "view",
15516
+ "name": "variant",
15295
15517
  "type": {
15296
- "text": "HorizontalScrollView"
15518
+ "text": "IconStyle"
15297
15519
  },
15298
- "description": "View: default | mobile",
15299
- "fieldName": "view",
15520
+ "default": "'solid'",
15521
+ "fieldName": "variant",
15300
15522
  "inheritedFrom": {
15301
- "name": "HorizontalScroll",
15302
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15523
+ "name": "Icon",
15524
+ "module": "src/icon/icon.ts"
15303
15525
  }
15304
15526
  }
15305
15527
  ],
15306
15528
  "members": [
15307
15529
  {
15308
15530
  "kind": "field",
15309
- "name": "scrollContainer",
15310
- "type": {
15311
- "text": "HTMLDivElement"
15312
- },
15313
- "privacy": "public",
15314
- "description": "Reference to DOM element that scrolls the content",
15315
- "inheritedFrom": {
15316
- "name": "HorizontalScroll",
15317
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15318
- }
15319
- },
15320
- {
15321
- "kind": "field",
15322
- "name": "content",
15323
- "type": {
15324
- "text": "HTMLDivElement"
15325
- },
15326
- "privacy": "public",
15327
- "description": "Reference to DOM element that holds the slotted content",
15328
- "inheritedFrom": {
15329
- "name": "HorizontalScroll",
15330
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15331
- }
15332
- },
15333
- {
15334
- "kind": "field",
15335
- "name": "previousFlipperContainer",
15336
- "type": {
15337
- "text": "HTMLDivElement"
15338
- },
15339
- "privacy": "public",
15340
- "description": "Reference to flipper to scroll to previous content",
15341
- "inheritedFrom": {
15342
- "name": "HorizontalScroll",
15343
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15344
- }
15345
- },
15346
- {
15347
- "kind": "field",
15348
- "name": "nextFlipperContainer",
15349
- "type": {
15350
- "text": "HTMLDivElement"
15351
- },
15352
- "privacy": "public",
15353
- "description": "Reference to flipper to scroll to the next content",
15354
- "inheritedFrom": {
15355
- "name": "HorizontalScroll",
15356
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15357
- }
15358
- },
15359
- {
15360
- "kind": "field",
15361
- "name": "speed",
15362
- "type": {
15363
- "text": "number"
15364
- },
15365
- "privacy": "public",
15366
- "default": "600",
15367
- "description": "Speed of scroll in pixels per second",
15368
- "inheritedFrom": {
15369
- "name": "HorizontalScroll",
15370
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15371
- }
15372
- },
15373
- {
15374
- "kind": "field",
15375
- "name": "duration",
15376
- "type": {
15377
- "text": "string"
15378
- },
15379
- "privacy": "public",
15380
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
15381
- "inheritedFrom": {
15382
- "name": "HorizontalScroll",
15383
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15384
- }
15385
- },
15386
- {
15387
- "kind": "field",
15388
- "name": "easing",
15389
- "type": {
15390
- "text": "ScrollEasing"
15391
- },
15392
- "privacy": "public",
15393
- "default": "\"ease-in-out\"",
15394
- "description": "Attribute used for easing, defaults to ease-in-out",
15395
- "inheritedFrom": {
15396
- "name": "HorizontalScroll",
15397
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15398
- }
15399
- },
15400
- {
15401
- "kind": "field",
15402
- "name": "flippersHiddenFromAT",
15403
- "type": {
15404
- "text": "boolean"
15405
- },
15406
- "privacy": "public",
15407
- "default": "false",
15408
- "description": "Attribute to hide flippers from assistive technology",
15409
- "inheritedFrom": {
15410
- "name": "HorizontalScroll",
15411
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15412
- }
15413
- },
15414
- {
15415
- "kind": "field",
15416
- "name": "scrollItems",
15417
- "type": {
15418
- "text": "HTMLElement[]"
15419
- },
15420
- "privacy": "public",
15421
- "description": "The default slotted items placed in the scrolling container.",
15422
- "inheritedFrom": {
15423
- "name": "HorizontalScroll",
15424
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15425
- }
15426
- },
15427
- {
15428
- "kind": "field",
15429
- "name": "view",
15531
+ "name": "iElement",
15430
15532
  "type": {
15431
- "text": "HorizontalScrollView"
15533
+ "text": "HTMLElement"
15432
15534
  },
15433
- "privacy": "public",
15434
- "description": "View: default | mobile",
15435
15535
  "inheritedFrom": {
15436
- "name": "HorizontalScroll",
15437
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15438
- }
15439
- },
15440
- {
15441
- "kind": "method",
15442
- "name": "scrollItemsChanged",
15443
- "privacy": "public",
15444
- "parameters": [
15445
- {
15446
- "name": "previous",
15447
- "type": {
15448
- "text": "HTMLElement[]"
15449
- },
15450
- "description": "current scroll items"
15451
- },
15452
- {
15453
- "name": "next",
15454
- "type": {
15455
- "text": "HTMLElement[]"
15456
- },
15457
- "description": "new updated scroll items"
15458
- }
15459
- ],
15460
- "description": "Updates scroll stops and flippers when scroll items change",
15461
- "inheritedFrom": {
15462
- "name": "HorizontalScroll",
15463
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15464
- }
15465
- },
15466
- {
15467
- "kind": "method",
15468
- "name": "fixScrollMisalign",
15469
- "privacy": "private",
15470
- "parameters": [
15471
- {
15472
- "name": "stops",
15473
- "type": {
15474
- "text": "number[]"
15475
- }
15476
- }
15477
- ],
15478
- "inheritedFrom": {
15479
- "name": "HorizontalScroll",
15480
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15536
+ "name": "Icon",
15537
+ "module": "src/icon/icon.ts"
15481
15538
  }
15482
15539
  },
15483
15540
  {
15484
- "kind": "method",
15485
- "name": "scrollInView",
15486
- "privacy": "public",
15487
- "return": {
15488
- "type": {
15489
- "text": "void"
15490
- }
15491
- },
15492
- "parameters": [
15493
- {
15494
- "name": "item",
15495
- "type": {
15496
- "text": "HTMLElement | number"
15497
- },
15498
- "description": "An item index, a scroll item or a child of one of the scroll items"
15499
- },
15500
- {
15501
- "name": "padding",
15502
- "default": "0",
15503
- "type": {
15504
- "text": "number"
15505
- },
15506
- "description": "Padding of the viewport where the active item shouldn't be"
15507
- },
15508
- {
15509
- "name": "rightPadding",
15510
- "optional": true,
15511
- "type": {
15512
- "text": "number"
15513
- },
15514
- "description": "Optional right padding. Uses the padding if not defined"
15515
- }
15516
- ],
15517
- "description": "Function that can scroll an item into view.",
15541
+ "kind": "field",
15542
+ "name": "name",
15543
+ "type": {
15544
+ "text": "IconName"
15545
+ },
15518
15546
  "inheritedFrom": {
15519
- "name": "HorizontalScroll",
15520
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15547
+ "name": "Icon",
15548
+ "module": "src/icon/icon.ts"
15521
15549
  }
15522
15550
  },
15523
15551
  {
15524
15552
  "kind": "method",
15525
- "name": "keyupHandler",
15526
- "privacy": "public",
15553
+ "name": "nameChanged",
15527
15554
  "parameters": [
15528
15555
  {
15529
- "name": "e",
15556
+ "name": "oldValue",
15530
15557
  "type": {
15531
- "text": "Event & KeyboardEvent"
15532
- },
15533
- "description": "Keyboard event"
15558
+ "text": "string"
15559
+ }
15560
+ },
15561
+ {
15562
+ "name": "newValue",
15563
+ "type": {
15564
+ "text": "string"
15565
+ }
15534
15566
  }
15535
15567
  ],
15536
- "description": "Lets the user arrow left and right through the horizontal scroll",
15537
15568
  "inheritedFrom": {
15538
- "name": "HorizontalScroll",
15539
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15569
+ "name": "Icon",
15570
+ "module": "src/icon/icon.ts"
15540
15571
  }
15541
15572
  },
15542
15573
  {
15543
- "kind": "method",
15544
- "name": "scrollToPrevious",
15545
- "privacy": "public",
15546
- "return": {
15547
- "type": {
15548
- "text": "void"
15549
- }
15574
+ "kind": "field",
15575
+ "name": "size",
15576
+ "type": {
15577
+ "text": "FaSize"
15550
15578
  },
15551
- "description": "Scrolls items to the left",
15579
+ "default": "'sm'",
15552
15580
  "inheritedFrom": {
15553
- "name": "HorizontalScroll",
15554
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15581
+ "name": "Icon",
15582
+ "module": "src/icon/icon.ts"
15555
15583
  }
15556
15584
  },
15557
15585
  {
15558
15586
  "kind": "method",
15559
- "name": "scrollToNext",
15560
- "privacy": "public",
15561
- "return": {
15562
- "type": {
15563
- "text": "void"
15587
+ "name": "sizeChanged",
15588
+ "parameters": [
15589
+ {
15590
+ "name": "oldValue",
15591
+ "type": {
15592
+ "text": "string"
15593
+ }
15594
+ },
15595
+ {
15596
+ "name": "newValue",
15597
+ "type": {
15598
+ "text": "string"
15599
+ }
15564
15600
  }
15601
+ ],
15602
+ "inheritedFrom": {
15603
+ "name": "Icon",
15604
+ "module": "src/icon/icon.ts"
15605
+ }
15606
+ },
15607
+ {
15608
+ "kind": "field",
15609
+ "name": "variant",
15610
+ "type": {
15611
+ "text": "IconStyle"
15565
15612
  },
15566
- "description": "Scrolls items to the right",
15613
+ "default": "'solid'",
15567
15614
  "inheritedFrom": {
15568
- "name": "HorizontalScroll",
15569
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15615
+ "name": "Icon",
15616
+ "module": "src/icon/icon.ts"
15570
15617
  }
15571
15618
  },
15572
15619
  {
15573
15620
  "kind": "method",
15574
- "name": "scrollToPosition",
15575
- "privacy": "public",
15576
- "return": {
15577
- "type": {
15578
- "text": "void"
15579
- }
15580
- },
15621
+ "name": "variantChanged",
15581
15622
  "parameters": [
15582
15623
  {
15583
- "name": "newPosition",
15624
+ "name": "oldValue",
15584
15625
  "type": {
15585
- "text": "number"
15586
- },
15587
- "description": "position to scroll to"
15626
+ "text": "string"
15627
+ }
15588
15628
  },
15589
15629
  {
15590
- "name": "position",
15591
- "default": "this.scrollContainer.scrollLeft",
15630
+ "name": "newValue",
15592
15631
  "type": {
15593
- "text": "number"
15594
- },
15595
- "description": "starting position"
15632
+ "text": "string"
15633
+ }
15596
15634
  }
15597
15635
  ],
15598
- "description": "Handles scrolling with easing",
15599
- "inheritedFrom": {
15600
- "name": "HorizontalScroll",
15601
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15602
- }
15603
- },
15604
- {
15605
- "kind": "method",
15606
- "name": "resized",
15607
- "privacy": "public",
15608
- "return": {
15609
- "type": {
15610
- "text": "void"
15611
- }
15612
- },
15613
- "description": "Monitors resize event on the horizontal-scroll element",
15614
15636
  "inheritedFrom": {
15615
- "name": "HorizontalScroll",
15616
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15637
+ "name": "Icon",
15638
+ "module": "src/icon/icon.ts"
15617
15639
  }
15618
15640
  },
15619
15641
  {
15620
15642
  "kind": "method",
15621
- "name": "scrolled",
15643
+ "name": "loadIcon",
15622
15644
  "privacy": "public",
15623
- "return": {
15624
- "type": {
15625
- "text": "void"
15626
- }
15627
- },
15628
- "description": "Monitors scrolled event on the content container",
15629
15645
  "inheritedFrom": {
15630
- "name": "HorizontalScroll",
15631
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15646
+ "name": "Icon",
15647
+ "module": "src/icon/icon.ts"
15632
15648
  }
15633
15649
  },
15634
15650
  {
@@ -15640,8 +15656,8 @@
15640
15656
  "privacy": "private",
15641
15657
  "default": "void 0",
15642
15658
  "inheritedFrom": {
15643
- "name": "HorizontalScroll",
15644
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15659
+ "name": "FoundationElement",
15660
+ "module": "src/foundation-element/foundation-element.ts"
15645
15661
  }
15646
15662
  },
15647
15663
  {
@@ -15653,8 +15669,8 @@
15653
15669
  "privacy": "public",
15654
15670
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
15655
15671
  "inheritedFrom": {
15656
- "name": "HorizontalScroll",
15657
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15672
+ "name": "FoundationElement",
15673
+ "module": "src/foundation-element/foundation-element.ts"
15658
15674
  }
15659
15675
  },
15660
15676
  {
@@ -15666,8 +15682,8 @@
15666
15682
  "privacy": "public",
15667
15683
  "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.",
15668
15684
  "inheritedFrom": {
15669
- "name": "HorizontalScroll",
15670
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15685
+ "name": "FoundationElement",
15686
+ "module": "src/foundation-element/foundation-element.ts"
15671
15687
  }
15672
15688
  },
15673
15689
  {
@@ -15680,8 +15696,8 @@
15680
15696
  }
15681
15697
  },
15682
15698
  "inheritedFrom": {
15683
- "name": "HorizontalScroll",
15684
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15699
+ "name": "FoundationElement",
15700
+ "module": "src/foundation-element/foundation-element.ts"
15685
15701
  }
15686
15702
  },
15687
15703
  {
@@ -15693,8 +15709,8 @@
15693
15709
  "privacy": "public",
15694
15710
  "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.",
15695
15711
  "inheritedFrom": {
15696
- "name": "HorizontalScroll",
15697
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15712
+ "name": "FoundationElement",
15713
+ "module": "src/foundation-element/foundation-element.ts"
15698
15714
  }
15699
15715
  },
15700
15716
  {
@@ -15707,8 +15723,8 @@
15707
15723
  }
15708
15724
  },
15709
15725
  "inheritedFrom": {
15710
- "name": "HorizontalScroll",
15711
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15726
+ "name": "FoundationElement",
15727
+ "module": "src/foundation-element/foundation-element.ts"
15712
15728
  }
15713
15729
  },
15714
15730
  {
@@ -15738,73 +15754,65 @@
15738
15754
  ],
15739
15755
  "description": "Defines an element registry function with a set of element definition defaults.",
15740
15756
  "inheritedFrom": {
15741
- "name": "HorizontalScroll",
15742
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15743
- }
15744
- }
15745
- ],
15746
- "events": [
15747
- {
15748
- "description": "Fires a custom 'scrollstart' event when scrolling",
15749
- "name": "scrollstart",
15750
- "inheritedFrom": {
15751
- "name": "HorizontalScroll",
15752
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15753
- }
15754
- },
15755
- {
15756
- "description": "Fires a custom 'scrollend' event when scrolling stops",
15757
- "name": "scrollend",
15758
- "inheritedFrom": {
15759
- "name": "HorizontalScroll",
15760
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15757
+ "name": "FoundationElement",
15758
+ "module": "src/foundation-element/foundation-element.ts"
15761
15759
  }
15762
15760
  }
15763
15761
  ]
15764
15762
  },
15765
15763
  {
15766
15764
  "kind": "variable",
15767
- "name": "defaultHorizontalScrollConfig",
15768
- "type": {
15769
- "text": "object"
15770
- },
15771
- "default": "{\n nextFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n previousFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n}"
15765
+ "name": "defaultIconConfig",
15766
+ "default": "foundationIconConfig"
15772
15767
  },
15773
15768
  {
15774
15769
  "kind": "variable",
15775
- "name": "rapidHorizontalScroll"
15770
+ "name": "rapidIconShadowOptions",
15771
+ "default": "foundationIconShadowOptions"
15772
+ },
15773
+ {
15774
+ "kind": "variable",
15775
+ "name": "rapidIcon"
15776
15776
  }
15777
15777
  ],
15778
15778
  "exports": [
15779
15779
  {
15780
15780
  "kind": "js",
15781
- "name": "HorizontalScroll",
15781
+ "name": "Icon",
15782
15782
  "declaration": {
15783
- "name": "HorizontalScroll",
15784
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15783
+ "name": "Icon",
15784
+ "module": "src/icon/icon.ts"
15785
15785
  }
15786
15786
  },
15787
15787
  {
15788
15788
  "kind": "js",
15789
- "name": "defaultHorizontalScrollConfig",
15789
+ "name": "defaultIconConfig",
15790
15790
  "declaration": {
15791
- "name": "defaultHorizontalScrollConfig",
15792
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15791
+ "name": "defaultIconConfig",
15792
+ "module": "src/icon/icon.ts"
15793
15793
  }
15794
15794
  },
15795
15795
  {
15796
15796
  "kind": "js",
15797
- "name": "rapidHorizontalScroll",
15797
+ "name": "rapidIconShadowOptions",
15798
15798
  "declaration": {
15799
- "name": "rapidHorizontalScroll",
15800
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15799
+ "name": "rapidIconShadowOptions",
15800
+ "module": "src/icon/icon.ts"
15801
+ }
15802
+ },
15803
+ {
15804
+ "kind": "js",
15805
+ "name": "rapidIcon",
15806
+ "declaration": {
15807
+ "name": "rapidIcon",
15808
+ "module": "src/icon/icon.ts"
15801
15809
  }
15802
15810
  }
15803
15811
  ]
15804
15812
  },
15805
15813
  {
15806
15814
  "kind": "javascript-module",
15807
- "path": "src/horizontal-scroll/index.ts",
15815
+ "path": "src/icon/index.ts",
15808
15816
  "declarations": [],
15809
15817
  "exports": [
15810
15818
  {
@@ -15812,15 +15820,7 @@
15812
15820
  "name": "*",
15813
15821
  "declaration": {
15814
15822
  "name": "*",
15815
- "package": "./horizontal-scroll"
15816
- }
15817
- },
15818
- {
15819
- "kind": "js",
15820
- "name": "*",
15821
- "declaration": {
15822
- "name": "*",
15823
- "package": "./horizontal-scroll.styles"
15823
+ "package": "./icon"
15824
15824
  }
15825
15825
  },
15826
15826
  {
@@ -15828,7 +15828,7 @@
15828
15828
  "name": "*",
15829
15829
  "declaration": {
15830
15830
  "name": "*",
15831
- "package": "./horizontal-scroll.template"
15831
+ "package": "./icon.styles"
15832
15832
  }
15833
15833
  }
15834
15834
  ]
@@ -26921,6 +26921,17 @@
26921
26921
  "tagName": "%%prefix%%-stepper",
26922
26922
  "customElement": true,
26923
26923
  "attributes": [
26924
+ {
26925
+ "name": "hide-submit-button",
26926
+ "type": {
26927
+ "text": "boolean"
26928
+ },
26929
+ "fieldName": "hideSubmitButton",
26930
+ "inheritedFrom": {
26931
+ "name": "Stepper",
26932
+ "module": "src/stepper/stepper.ts"
26933
+ }
26934
+ },
26924
26935
  {
26925
26936
  "name": "orientation",
26926
26937
  "type": {
@@ -26945,6 +26956,17 @@
26945
26956
  }
26946
26957
  ],
26947
26958
  "members": [
26959
+ {
26960
+ "kind": "field",
26961
+ "name": "hideSubmitButton",
26962
+ "type": {
26963
+ "text": "boolean"
26964
+ },
26965
+ "inheritedFrom": {
26966
+ "name": "Stepper",
26967
+ "module": "src/stepper/stepper.ts"
26968
+ }
26969
+ },
26948
26970
  {
26949
26971
  "kind": "field",
26950
26972
  "name": "orientation",