@genesislcap/rapid-design-system 14.171.0 → 14.172.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 +454 -454
  2. package/package.json +10 -10
@@ -716,29 +716,6 @@
716
716
  }
717
717
  ]
718
718
  },
719
- {
720
- "kind": "javascript-module",
721
- "path": "src/_config/index.ts",
722
- "declarations": [],
723
- "exports": [
724
- {
725
- "kind": "js",
726
- "name": "*",
727
- "declaration": {
728
- "name": "*",
729
- "package": "./tokens"
730
- }
731
- },
732
- {
733
- "kind": "js",
734
- "name": "*",
735
- "declaration": {
736
- "name": "*",
737
- "package": "./values"
738
- }
739
- }
740
- ]
741
- },
742
719
  {
743
720
  "kind": "javascript-module",
744
721
  "path": "src/accordion/accordion.stories.ts",
@@ -1075,6 +1052,29 @@
1075
1052
  }
1076
1053
  ]
1077
1054
  },
1055
+ {
1056
+ "kind": "javascript-module",
1057
+ "path": "src/_config/index.ts",
1058
+ "declarations": [],
1059
+ "exports": [
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./tokens"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./values"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1078
1078
  {
1079
1079
  "kind": "javascript-module",
1080
1080
  "path": "src/actions-menu/actions-menu.stories.ts",
@@ -25678,7 +25678,7 @@
25678
25678
  },
25679
25679
  {
25680
25680
  "kind": "javascript-module",
25681
- "path": "src/slider-label/index.ts",
25681
+ "path": "src/snackbar/index.ts",
25682
25682
  "declarations": [],
25683
25683
  "exports": [
25684
25684
  {
@@ -25686,7 +25686,7 @@
25686
25686
  "name": "*",
25687
25687
  "declaration": {
25688
25688
  "name": "*",
25689
- "package": "./slider-label"
25689
+ "package": "./snackbar.styles"
25690
25690
  }
25691
25691
  },
25692
25692
  {
@@ -25694,255 +25694,353 @@
25694
25694
  "name": "*",
25695
25695
  "declaration": {
25696
25696
  "name": "*",
25697
- "package": "./slider-label.styles"
25697
+ "package": "./snackbar"
25698
+ }
25699
+ }
25700
+ ]
25701
+ },
25702
+ {
25703
+ "kind": "javascript-module",
25704
+ "path": "src/snackbar/snackbar.stories.ts",
25705
+ "declarations": [
25706
+ {
25707
+ "kind": "variable",
25708
+ "name": "meta",
25709
+ "type": {
25710
+ "text": "Meta"
25711
+ },
25712
+ "default": "{\n title: 'Snackbar',\n component: 'rapid-snackbar',\n}"
25713
+ },
25714
+ {
25715
+ "kind": "variable",
25716
+ "name": "Primary",
25717
+ "type": {
25718
+ "text": "StoryObj"
25719
+ },
25720
+ "default": "{\n args: {\n errorText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n notificationText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n },\n render: ({ errorText, notificationText }) => html`\n <div id=\"rapid-snackbar\" style=\"width: 100%;\">\n <rapid-button @click=\"${() => showError(errorText)}\">Show Rapid Snackbar</rapid-button>\n <rapid-button @click=\"${() => showNotification(notificationText)}\">\n Show Rapid Snackbar - Notification\n </rapid-button>\n </div>\n `,\n}"
25721
+ }
25722
+ ],
25723
+ "exports": [
25724
+ {
25725
+ "kind": "js",
25726
+ "name": "default",
25727
+ "declaration": {
25728
+ "name": "meta",
25729
+ "module": "src/snackbar/snackbar.stories.ts"
25698
25730
  }
25699
25731
  },
25700
25732
  {
25701
25733
  "kind": "js",
25702
- "name": "*",
25734
+ "name": "Primary",
25703
25735
  "declaration": {
25704
- "name": "*",
25705
- "package": "./slider-label.template"
25736
+ "name": "Primary",
25737
+ "module": "src/snackbar/snackbar.stories.ts"
25706
25738
  }
25707
25739
  }
25708
25740
  ]
25709
25741
  },
25710
25742
  {
25711
25743
  "kind": "javascript-module",
25712
- "path": "src/slider-label/slider-label.styles.ts",
25744
+ "path": "src/snackbar/snackbar.styles.ts",
25713
25745
  "declarations": [
25714
25746
  {
25715
- "kind": "function",
25716
- "name": "rapidSliderLabelStyles",
25717
- "return": {
25718
- "type": {
25719
- "text": "ElementStyles"
25720
- }
25721
- },
25722
- "parameters": [
25723
- {
25724
- "name": "context",
25725
- "type": {
25726
- "text": "ElementDefinitionContext"
25727
- }
25728
- },
25729
- {
25730
- "name": "definition",
25731
- "type": {
25732
- "text": "FoundationElementDefinition"
25733
- }
25734
- }
25735
- ]
25747
+ "kind": "variable",
25748
+ "name": "rapidSnackbarStyles",
25749
+ "default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
25736
25750
  }
25737
25751
  ],
25738
25752
  "exports": [
25739
25753
  {
25740
25754
  "kind": "js",
25741
- "name": "rapidSliderLabelStyles",
25755
+ "name": "rapidSnackbarStyles",
25742
25756
  "declaration": {
25743
- "name": "rapidSliderLabelStyles",
25744
- "module": "src/slider-label/slider-label.styles.ts"
25757
+ "name": "rapidSnackbarStyles",
25758
+ "module": "src/snackbar/snackbar.styles.ts"
25745
25759
  }
25746
25760
  }
25747
25761
  ]
25748
25762
  },
25749
25763
  {
25750
25764
  "kind": "javascript-module",
25751
- "path": "src/slider-label/slider-label.template.ts",
25765
+ "path": "src/snackbar/snackbar.template.ts",
25752
25766
  "declarations": [
25753
25767
  {
25754
- "kind": "function",
25755
- "name": "rapidSliderLabelTemplate",
25756
- "return": {
25757
- "type": {
25758
- "text": "ViewTemplate<SliderLabel>"
25759
- }
25760
- },
25761
- "parameters": [
25762
- {
25763
- "name": "context",
25764
- "type": {
25765
- "text": "ElementDefinitionContext"
25766
- }
25767
- },
25768
- {
25769
- "name": "definition",
25770
- "type": {
25771
- "text": "FoundationElementDefinition"
25772
- }
25773
- }
25774
- ]
25768
+ "kind": "variable",
25769
+ "name": "rapidSnackbarTemplate",
25770
+ "default": "html<Snackbar>`\n ${getPrefixedSnackbar('rapid')}\n`"
25775
25771
  }
25776
25772
  ],
25777
25773
  "exports": [
25778
25774
  {
25779
25775
  "kind": "js",
25780
- "name": "rapidSliderLabelTemplate",
25776
+ "name": "rapidSnackbarTemplate",
25781
25777
  "declaration": {
25782
- "name": "rapidSliderLabelTemplate",
25783
- "module": "src/slider-label/slider-label.template.ts"
25778
+ "name": "rapidSnackbarTemplate",
25779
+ "module": "src/snackbar/snackbar.template.ts"
25784
25780
  }
25785
25781
  }
25786
25782
  ]
25787
25783
  },
25788
25784
  {
25789
25785
  "kind": "javascript-module",
25790
- "path": "src/slider-label/slider-label.ts",
25786
+ "path": "src/snackbar/snackbar.ts",
25791
25787
  "declarations": [
25788
+ {
25789
+ "kind": "variable",
25790
+ "name": "rapidSnackbarShadowOptions",
25791
+ "default": "foundationSnackbarShadowOptions"
25792
+ },
25792
25793
  {
25793
25794
  "kind": "class",
25794
25795
  "description": "",
25795
- "name": "SliderLabel",
25796
+ "name": "Snackbar",
25796
25797
  "superclass": {
25797
- "name": "FoundationSliderLabel",
25798
+ "name": "FoundationSnackbar",
25798
25799
  "package": "@genesislcap/foundation-ui"
25799
25800
  },
25800
- "tagName": "%%prefix%%-slider-label",
25801
+ "tagName": "%%prefix%%-snackbar",
25801
25802
  "customElement": true,
25802
25803
  "attributes": [
25803
25804
  {
25804
- "name": "position",
25805
+ "name": "identifier",
25805
25806
  "type": {
25806
25807
  "text": "string"
25807
25808
  },
25808
- "description": "The position of the label relative to the min and max value of the parent @microsoft/fast-foundation#(Slider:class).",
25809
- "fieldName": "position",
25809
+ "fieldName": "identifier",
25810
25810
  "inheritedFrom": {
25811
- "name": "SliderLabel",
25812
- "module": "src/slider-label/slider-label.ts"
25811
+ "name": "Snackbar",
25812
+ "module": "src/snackbar/snackbar.ts"
25813
25813
  }
25814
25814
  },
25815
25815
  {
25816
- "name": "hide-mark",
25816
+ "name": "close-timeout",
25817
+ "type": {
25818
+ "text": "number"
25819
+ },
25820
+ "default": "SNACKBAR_CLOSE_TIMEOUT",
25821
+ "resolveInitializer": {
25822
+ "module": "/src/snackbar/snackbar.config"
25823
+ },
25824
+ "fieldName": "closeTimeout",
25825
+ "inheritedFrom": {
25826
+ "name": "Snackbar",
25827
+ "module": "src/snackbar/snackbar.ts"
25828
+ }
25829
+ },
25830
+ {
25831
+ "name": "auto-close",
25817
25832
  "type": {
25818
25833
  "text": "boolean"
25819
25834
  },
25820
25835
  "default": "false",
25821
- "description": "Hides the tick mark.",
25822
- "fieldName": "hideMark",
25836
+ "fieldName": "autoClose",
25823
25837
  "inheritedFrom": {
25824
- "name": "SliderLabel",
25825
- "module": "src/slider-label/slider-label.ts"
25838
+ "name": "Snackbar",
25839
+ "module": "src/snackbar/snackbar.ts"
25826
25840
  }
25827
25841
  },
25828
25842
  {
25829
- "name": "disabled",
25843
+ "name": "type",
25830
25844
  "type": {
25831
- "text": "boolean"
25845
+ "text": "SnackbarType"
25832
25846
  },
25833
- "description": "The disabled state of the label. This is generally controlled by the parent @microsoft/fast-foundation#(Slider:class).",
25834
- "fieldName": "disabled",
25847
+ "default": "SNACKBAR_TYPE_DEFAULT",
25848
+ "resolveInitializer": {
25849
+ "module": "/src/snackbar/snackbar.config"
25850
+ },
25851
+ "fieldName": "type",
25835
25852
  "inheritedFrom": {
25836
- "name": "SliderLabel",
25837
- "module": "src/slider-label/slider-label.ts"
25853
+ "name": "Snackbar",
25854
+ "module": "src/snackbar/snackbar.ts"
25838
25855
  }
25839
25856
  }
25840
25857
  ],
25841
25858
  "members": [
25842
25859
  {
25843
25860
  "kind": "field",
25844
- "name": "position",
25861
+ "name": "snackbar",
25845
25862
  "type": {
25846
- "text": "string"
25863
+ "text": "HTMLElement"
25847
25864
  },
25848
25865
  "privacy": "public",
25849
- "description": "The position of the label relative to the min and max value of the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
25850
25866
  "inheritedFrom": {
25851
- "name": "SliderLabel",
25852
- "module": "src/slider-label/slider-label.ts"
25867
+ "name": "Snackbar",
25868
+ "module": "src/snackbar/snackbar.ts"
25853
25869
  }
25854
25870
  },
25855
25871
  {
25856
- "kind": "method",
25857
- "name": "positionChanged",
25858
- "privacy": "private",
25859
- "return": {
25860
- "type": {
25861
- "text": "void"
25862
- }
25872
+ "kind": "field",
25873
+ "name": "error",
25874
+ "type": {
25875
+ "text": "ErrorStructure"
25863
25876
  },
25864
25877
  "inheritedFrom": {
25865
- "name": "SliderLabel",
25866
- "module": "src/slider-label/slider-label.ts"
25878
+ "name": "Snackbar",
25879
+ "module": "src/snackbar/snackbar.ts"
25867
25880
  }
25868
25881
  },
25869
25882
  {
25870
25883
  "kind": "field",
25871
- "name": "hideMark",
25884
+ "name": "notification",
25872
25885
  "type": {
25873
- "text": "boolean"
25886
+ "text": "NotificationStructure"
25874
25887
  },
25875
- "privacy": "public",
25876
- "default": "false",
25877
- "description": "Hides the tick mark.",
25878
25888
  "inheritedFrom": {
25879
- "name": "SliderLabel",
25880
- "module": "src/slider-label/slider-label.ts"
25889
+ "name": "Snackbar",
25890
+ "module": "src/snackbar/snackbar.ts"
25881
25891
  }
25882
25892
  },
25883
25893
  {
25884
25894
  "kind": "field",
25885
- "name": "disabled",
25895
+ "name": "deleteAnimation",
25886
25896
  "type": {
25887
- "text": "boolean"
25897
+ "text": "string"
25888
25898
  },
25889
- "privacy": "public",
25890
- "description": "The disabled state of the label. This is generally controlled by the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
25899
+ "default": "''",
25891
25900
  "inheritedFrom": {
25892
- "name": "SliderLabel",
25893
- "module": "src/slider-label/slider-label.ts"
25901
+ "name": "Snackbar",
25902
+ "module": "src/snackbar/snackbar.ts"
25894
25903
  }
25895
25904
  },
25896
25905
  {
25897
25906
  "kind": "field",
25898
- "name": "notifier",
25907
+ "name": "identifier",
25899
25908
  "type": {
25900
- "text": "Notifier"
25909
+ "text": "string"
25910
+ },
25911
+ "inheritedFrom": {
25912
+ "name": "Snackbar",
25913
+ "module": "src/snackbar/snackbar.ts"
25914
+ }
25915
+ },
25916
+ {
25917
+ "kind": "field",
25918
+ "name": "closeTimeout",
25919
+ "type": {
25920
+ "text": "number"
25921
+ },
25922
+ "default": "SNACKBAR_CLOSE_TIMEOUT",
25923
+ "inheritedFrom": {
25924
+ "name": "Snackbar",
25925
+ "module": "src/snackbar/snackbar.ts"
25926
+ }
25927
+ },
25928
+ {
25929
+ "kind": "field",
25930
+ "name": "autoClose",
25931
+ "type": {
25932
+ "text": "boolean"
25933
+ },
25934
+ "default": "false",
25935
+ "inheritedFrom": {
25936
+ "name": "Snackbar",
25937
+ "module": "src/snackbar/snackbar.ts"
25938
+ }
25939
+ },
25940
+ {
25941
+ "kind": "field",
25942
+ "name": "type",
25943
+ "type": {
25944
+ "text": "SnackbarType"
25945
+ },
25946
+ "default": "SNACKBAR_TYPE_DEFAULT",
25947
+ "inheritedFrom": {
25948
+ "name": "Snackbar",
25949
+ "module": "src/snackbar/snackbar.ts"
25950
+ }
25951
+ },
25952
+ {
25953
+ "kind": "field",
25954
+ "name": "timeoutRef",
25955
+ "type": {
25956
+ "text": "ReturnType<typeof setTimeout>"
25901
25957
  },
25902
25958
  "privacy": "private",
25903
25959
  "inheritedFrom": {
25904
- "name": "SliderLabel",
25905
- "module": "src/slider-label/slider-label.ts"
25960
+ "name": "Snackbar",
25961
+ "module": "src/snackbar/snackbar.ts"
25906
25962
  }
25907
25963
  },
25908
25964
  {
25909
- "kind": "method",
25910
- "name": "isSliderConfig",
25965
+ "kind": "field",
25966
+ "name": "dismissEventListener",
25911
25967
  "privacy": "private",
25912
- "return": {
25913
- "type": {
25914
- "text": "node is SliderConfiguration"
25968
+ "inheritedFrom": {
25969
+ "name": "Snackbar",
25970
+ "module": "src/snackbar/snackbar.ts"
25971
+ }
25972
+ },
25973
+ {
25974
+ "kind": "method",
25975
+ "name": "errorChanged",
25976
+ "parameters": [
25977
+ {
25978
+ "name": "oldValue",
25979
+ "type": {
25980
+ "text": "ErrorStructure"
25981
+ }
25982
+ },
25983
+ {
25984
+ "name": "newValue",
25985
+ "type": {
25986
+ "text": "ErrorStructure"
25987
+ }
25915
25988
  }
25916
- },
25989
+ ],
25990
+ "inheritedFrom": {
25991
+ "name": "Snackbar",
25992
+ "module": "src/snackbar/snackbar.ts"
25993
+ }
25994
+ },
25995
+ {
25996
+ "kind": "method",
25997
+ "name": "notificationChanged",
25917
25998
  "parameters": [
25918
25999
  {
25919
- "name": "node",
26000
+ "name": "oldValue",
25920
26001
  "type": {
25921
- "text": "any"
26002
+ "text": "NotificationStructure"
26003
+ }
26004
+ },
26005
+ {
26006
+ "name": "newValue",
26007
+ "type": {
26008
+ "text": "NotificationStructure"
25922
26009
  }
25923
26010
  }
25924
26011
  ],
25925
26012
  "inheritedFrom": {
25926
- "name": "SliderLabel",
25927
- "module": "src/slider-label/slider-label.ts"
26013
+ "name": "Snackbar",
26014
+ "module": "src/snackbar/snackbar.ts"
25928
26015
  }
25929
26016
  },
25930
26017
  {
25931
- "kind": "field",
25932
- "name": "getSliderConfiguration",
25933
- "privacy": "private",
26018
+ "kind": "method",
26019
+ "name": "handleDissmis",
26020
+ "privacy": "public",
26021
+ "parameters": [
26022
+ {
26023
+ "name": "autoDissmis",
26024
+ "default": "false",
26025
+ "type": {
26026
+ "text": "boolean"
26027
+ }
26028
+ }
26029
+ ],
26030
+ "description": "Helper for remove snackbar from display with animation",
25934
26031
  "inheritedFrom": {
25935
- "name": "SliderLabel",
25936
- "module": "src/slider-label/slider-label.ts"
26032
+ "name": "Snackbar",
26033
+ "module": "src/snackbar/snackbar.ts"
25937
26034
  }
25938
26035
  },
25939
26036
  {
25940
- "kind": "field",
25941
- "name": "positionAsStyle",
25942
- "privacy": "private",
26037
+ "kind": "method",
26038
+ "name": "dismiss",
26039
+ "privacy": "public",
26040
+ "description": "Remove the snackbar from display.",
25943
26041
  "inheritedFrom": {
25944
- "name": "SliderLabel",
25945
- "module": "src/slider-label/slider-label.ts"
26042
+ "name": "Snackbar",
26043
+ "module": "src/snackbar/snackbar.ts"
25946
26044
  }
25947
26045
  },
25948
26046
  {
@@ -25954,8 +26052,8 @@
25954
26052
  "privacy": "private",
25955
26053
  "default": "void 0",
25956
26054
  "inheritedFrom": {
25957
- "name": "SliderLabel",
25958
- "module": "src/slider-label/slider-label.ts"
26055
+ "name": "FoundationElement",
26056
+ "module": "src/foundation-element/foundation-element.ts"
25959
26057
  }
25960
26058
  },
25961
26059
  {
@@ -25967,8 +26065,8 @@
25967
26065
  "privacy": "public",
25968
26066
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
25969
26067
  "inheritedFrom": {
25970
- "name": "SliderLabel",
25971
- "module": "src/slider-label/slider-label.ts"
26068
+ "name": "FoundationElement",
26069
+ "module": "src/foundation-element/foundation-element.ts"
25972
26070
  }
25973
26071
  },
25974
26072
  {
@@ -25980,8 +26078,8 @@
25980
26078
  "privacy": "public",
25981
26079
  "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.",
25982
26080
  "inheritedFrom": {
25983
- "name": "SliderLabel",
25984
- "module": "src/slider-label/slider-label.ts"
26081
+ "name": "FoundationElement",
26082
+ "module": "src/foundation-element/foundation-element.ts"
25985
26083
  }
25986
26084
  },
25987
26085
  {
@@ -25994,8 +26092,8 @@
25994
26092
  }
25995
26093
  },
25996
26094
  "inheritedFrom": {
25997
- "name": "SliderLabel",
25998
- "module": "src/slider-label/slider-label.ts"
26095
+ "name": "FoundationElement",
26096
+ "module": "src/foundation-element/foundation-element.ts"
25999
26097
  }
26000
26098
  },
26001
26099
  {
@@ -26007,8 +26105,8 @@
26007
26105
  "privacy": "public",
26008
26106
  "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.",
26009
26107
  "inheritedFrom": {
26010
- "name": "SliderLabel",
26011
- "module": "src/slider-label/slider-label.ts"
26108
+ "name": "FoundationElement",
26109
+ "module": "src/foundation-element/foundation-element.ts"
26012
26110
  }
26013
26111
  },
26014
26112
  {
@@ -26021,8 +26119,8 @@
26021
26119
  }
26022
26120
  },
26023
26121
  "inheritedFrom": {
26024
- "name": "SliderLabel",
26025
- "module": "src/slider-label/slider-label.ts"
26122
+ "name": "FoundationElement",
26123
+ "module": "src/foundation-element/foundation-element.ts"
26026
26124
  }
26027
26125
  },
26028
26126
  {
@@ -26052,39 +26150,60 @@
26052
26150
  ],
26053
26151
  "description": "Defines an element registry function with a set of element definition defaults.",
26054
26152
  "inheritedFrom": {
26055
- "name": "SliderLabel",
26056
- "module": "src/slider-label/slider-label.ts"
26153
+ "name": "FoundationElement",
26154
+ "module": "src/foundation-element/foundation-element.ts"
26155
+ }
26156
+ }
26157
+ ],
26158
+ "events": [
26159
+ {
26160
+ "type": {
26161
+ "text": "CustomEvent"
26162
+ },
26163
+ "inheritedFrom": {
26164
+ "name": "Snackbar",
26165
+ "module": "src/snackbar/snackbar.ts"
26057
26166
  }
26058
26167
  }
26059
26168
  ]
26060
26169
  },
26061
26170
  {
26062
26171
  "kind": "variable",
26063
- "name": "rapidSliderLabel"
26172
+ "name": "rapidSnackbar",
26173
+ "description": "The Rapid Snackbar",
26174
+ "privacy": "public"
26064
26175
  }
26065
26176
  ],
26066
26177
  "exports": [
26067
26178
  {
26068
26179
  "kind": "js",
26069
- "name": "SliderLabel",
26180
+ "name": "rapidSnackbarShadowOptions",
26070
26181
  "declaration": {
26071
- "name": "SliderLabel",
26072
- "module": "src/slider-label/slider-label.ts"
26182
+ "name": "rapidSnackbarShadowOptions",
26183
+ "module": "src/snackbar/snackbar.ts"
26073
26184
  }
26074
26185
  },
26075
26186
  {
26076
26187
  "kind": "js",
26077
- "name": "rapidSliderLabel",
26188
+ "name": "Snackbar",
26078
26189
  "declaration": {
26079
- "name": "rapidSliderLabel",
26080
- "module": "src/slider-label/slider-label.ts"
26190
+ "name": "Snackbar",
26191
+ "module": "src/snackbar/snackbar.ts"
26192
+ }
26193
+ },
26194
+ {
26195
+ "kind": "js",
26196
+ "name": "rapidSnackbar",
26197
+ "declaration": {
26198
+ "name": "rapidSnackbar",
26199
+ "module": "src/snackbar/snackbar.ts"
26081
26200
  }
26082
26201
  }
26083
26202
  ]
26084
26203
  },
26085
26204
  {
26086
26205
  "kind": "javascript-module",
26087
- "path": "src/snackbar/index.ts",
26206
+ "path": "src/slider-label/index.ts",
26088
26207
  "declarations": [],
26089
26208
  "exports": [
26090
26209
  {
@@ -26092,7 +26211,7 @@
26092
26211
  "name": "*",
26093
26212
  "declaration": {
26094
26213
  "name": "*",
26095
- "package": "./snackbar.styles"
26214
+ "package": "./slider-label"
26096
26215
  }
26097
26216
  },
26098
26217
  {
@@ -26100,353 +26219,255 @@
26100
26219
  "name": "*",
26101
26220
  "declaration": {
26102
26221
  "name": "*",
26103
- "package": "./snackbar"
26104
- }
26105
- }
26106
- ]
26107
- },
26108
- {
26109
- "kind": "javascript-module",
26110
- "path": "src/snackbar/snackbar.stories.ts",
26111
- "declarations": [
26112
- {
26113
- "kind": "variable",
26114
- "name": "meta",
26115
- "type": {
26116
- "text": "Meta"
26117
- },
26118
- "default": "{\n title: 'Snackbar',\n component: 'rapid-snackbar',\n}"
26119
- },
26120
- {
26121
- "kind": "variable",
26122
- "name": "Primary",
26123
- "type": {
26124
- "text": "StoryObj"
26125
- },
26126
- "default": "{\n args: {\n errorText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n notificationText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n },\n render: ({ errorText, notificationText }) => html`\n <div id=\"rapid-snackbar\" style=\"width: 100%;\">\n <rapid-button @click=\"${() => showError(errorText)}\">Show Rapid Snackbar</rapid-button>\n <rapid-button @click=\"${() => showNotification(notificationText)}\">\n Show Rapid Snackbar - Notification\n </rapid-button>\n </div>\n `,\n}"
26127
- }
26128
- ],
26129
- "exports": [
26130
- {
26131
- "kind": "js",
26132
- "name": "default",
26133
- "declaration": {
26134
- "name": "meta",
26135
- "module": "src/snackbar/snackbar.stories.ts"
26222
+ "package": "./slider-label.styles"
26136
26223
  }
26137
26224
  },
26138
26225
  {
26139
26226
  "kind": "js",
26140
- "name": "Primary",
26141
- "declaration": {
26142
- "name": "Primary",
26143
- "module": "src/snackbar/snackbar.stories.ts"
26144
- }
26145
- }
26146
- ]
26147
- },
26148
- {
26149
- "kind": "javascript-module",
26150
- "path": "src/snackbar/snackbar.styles.ts",
26151
- "declarations": [
26152
- {
26153
- "kind": "variable",
26154
- "name": "rapidSnackbarStyles",
26155
- "default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
26156
- }
26157
- ],
26158
- "exports": [
26159
- {
26160
- "kind": "js",
26161
- "name": "rapidSnackbarStyles",
26227
+ "name": "*",
26162
26228
  "declaration": {
26163
- "name": "rapidSnackbarStyles",
26164
- "module": "src/snackbar/snackbar.styles.ts"
26229
+ "name": "*",
26230
+ "package": "./slider-label.template"
26165
26231
  }
26166
26232
  }
26167
26233
  ]
26168
26234
  },
26169
26235
  {
26170
26236
  "kind": "javascript-module",
26171
- "path": "src/snackbar/snackbar.template.ts",
26237
+ "path": "src/slider-label/slider-label.styles.ts",
26172
26238
  "declarations": [
26173
26239
  {
26174
- "kind": "variable",
26175
- "name": "rapidSnackbarTemplate",
26176
- "default": "html<Snackbar>`\n ${getPrefixedSnackbar('rapid')}\n`"
26240
+ "kind": "function",
26241
+ "name": "rapidSliderLabelStyles",
26242
+ "return": {
26243
+ "type": {
26244
+ "text": "ElementStyles"
26245
+ }
26246
+ },
26247
+ "parameters": [
26248
+ {
26249
+ "name": "context",
26250
+ "type": {
26251
+ "text": "ElementDefinitionContext"
26252
+ }
26253
+ },
26254
+ {
26255
+ "name": "definition",
26256
+ "type": {
26257
+ "text": "FoundationElementDefinition"
26258
+ }
26259
+ }
26260
+ ]
26177
26261
  }
26178
26262
  ],
26179
26263
  "exports": [
26180
26264
  {
26181
26265
  "kind": "js",
26182
- "name": "rapidSnackbarTemplate",
26266
+ "name": "rapidSliderLabelStyles",
26183
26267
  "declaration": {
26184
- "name": "rapidSnackbarTemplate",
26185
- "module": "src/snackbar/snackbar.template.ts"
26268
+ "name": "rapidSliderLabelStyles",
26269
+ "module": "src/slider-label/slider-label.styles.ts"
26186
26270
  }
26187
26271
  }
26188
26272
  ]
26189
26273
  },
26190
26274
  {
26191
26275
  "kind": "javascript-module",
26192
- "path": "src/snackbar/snackbar.ts",
26276
+ "path": "src/slider-label/slider-label.template.ts",
26193
26277
  "declarations": [
26194
26278
  {
26195
- "kind": "variable",
26196
- "name": "rapidSnackbarShadowOptions",
26197
- "default": "foundationSnackbarShadowOptions"
26198
- },
26199
- {
26200
- "kind": "class",
26201
- "description": "",
26202
- "name": "Snackbar",
26203
- "superclass": {
26204
- "name": "FoundationSnackbar",
26205
- "package": "@genesislcap/foundation-ui"
26279
+ "kind": "function",
26280
+ "name": "rapidSliderLabelTemplate",
26281
+ "return": {
26282
+ "type": {
26283
+ "text": "ViewTemplate<SliderLabel>"
26284
+ }
26206
26285
  },
26207
- "tagName": "%%prefix%%-snackbar",
26208
- "customElement": true,
26209
- "attributes": [
26210
- {
26211
- "name": "identifier",
26212
- "type": {
26213
- "text": "string"
26214
- },
26215
- "fieldName": "identifier",
26216
- "inheritedFrom": {
26217
- "name": "Snackbar",
26218
- "module": "src/snackbar/snackbar.ts"
26219
- }
26220
- },
26221
- {
26222
- "name": "close-timeout",
26223
- "type": {
26224
- "text": "number"
26225
- },
26226
- "default": "SNACKBAR_CLOSE_TIMEOUT",
26227
- "resolveInitializer": {
26228
- "module": "/src/snackbar/snackbar.config"
26229
- },
26230
- "fieldName": "closeTimeout",
26231
- "inheritedFrom": {
26232
- "name": "Snackbar",
26233
- "module": "src/snackbar/snackbar.ts"
26234
- }
26235
- },
26286
+ "parameters": [
26236
26287
  {
26237
- "name": "auto-close",
26288
+ "name": "context",
26238
26289
  "type": {
26239
- "text": "boolean"
26240
- },
26241
- "default": "false",
26242
- "fieldName": "autoClose",
26243
- "inheritedFrom": {
26244
- "name": "Snackbar",
26245
- "module": "src/snackbar/snackbar.ts"
26290
+ "text": "ElementDefinitionContext"
26246
26291
  }
26247
26292
  },
26248
26293
  {
26249
- "name": "type",
26294
+ "name": "definition",
26250
26295
  "type": {
26251
- "text": "SnackbarType"
26252
- },
26253
- "default": "SNACKBAR_TYPE_DEFAULT",
26254
- "resolveInitializer": {
26255
- "module": "/src/snackbar/snackbar.config"
26256
- },
26257
- "fieldName": "type",
26258
- "inheritedFrom": {
26259
- "name": "Snackbar",
26260
- "module": "src/snackbar/snackbar.ts"
26296
+ "text": "FoundationElementDefinition"
26261
26297
  }
26262
26298
  }
26263
- ],
26264
- "members": [
26265
- {
26266
- "kind": "field",
26267
- "name": "snackbar",
26268
- "type": {
26269
- "text": "HTMLElement"
26270
- },
26271
- "privacy": "public",
26272
- "inheritedFrom": {
26273
- "name": "Snackbar",
26274
- "module": "src/snackbar/snackbar.ts"
26275
- }
26276
- },
26299
+ ]
26300
+ }
26301
+ ],
26302
+ "exports": [
26303
+ {
26304
+ "kind": "js",
26305
+ "name": "rapidSliderLabelTemplate",
26306
+ "declaration": {
26307
+ "name": "rapidSliderLabelTemplate",
26308
+ "module": "src/slider-label/slider-label.template.ts"
26309
+ }
26310
+ }
26311
+ ]
26312
+ },
26313
+ {
26314
+ "kind": "javascript-module",
26315
+ "path": "src/slider-label/slider-label.ts",
26316
+ "declarations": [
26317
+ {
26318
+ "kind": "class",
26319
+ "description": "",
26320
+ "name": "SliderLabel",
26321
+ "superclass": {
26322
+ "name": "FoundationSliderLabel",
26323
+ "package": "@genesislcap/foundation-ui"
26324
+ },
26325
+ "tagName": "%%prefix%%-slider-label",
26326
+ "customElement": true,
26327
+ "attributes": [
26277
26328
  {
26278
- "kind": "field",
26279
- "name": "error",
26329
+ "name": "position",
26280
26330
  "type": {
26281
- "text": "ErrorStructure"
26331
+ "text": "string"
26282
26332
  },
26333
+ "description": "The position of the label relative to the min and max value of the parent @microsoft/fast-foundation#(Slider:class).",
26334
+ "fieldName": "position",
26283
26335
  "inheritedFrom": {
26284
- "name": "Snackbar",
26285
- "module": "src/snackbar/snackbar.ts"
26336
+ "name": "SliderLabel",
26337
+ "module": "src/slider-label/slider-label.ts"
26286
26338
  }
26287
26339
  },
26288
26340
  {
26289
- "kind": "field",
26290
- "name": "notification",
26341
+ "name": "hide-mark",
26291
26342
  "type": {
26292
- "text": "NotificationStructure"
26343
+ "text": "boolean"
26293
26344
  },
26345
+ "default": "false",
26346
+ "description": "Hides the tick mark.",
26347
+ "fieldName": "hideMark",
26294
26348
  "inheritedFrom": {
26295
- "name": "Snackbar",
26296
- "module": "src/snackbar/snackbar.ts"
26349
+ "name": "SliderLabel",
26350
+ "module": "src/slider-label/slider-label.ts"
26297
26351
  }
26298
26352
  },
26299
26353
  {
26300
- "kind": "field",
26301
- "name": "deleteAnimation",
26354
+ "name": "disabled",
26302
26355
  "type": {
26303
- "text": "string"
26356
+ "text": "boolean"
26304
26357
  },
26305
- "default": "''",
26358
+ "description": "The disabled state of the label. This is generally controlled by the parent @microsoft/fast-foundation#(Slider:class).",
26359
+ "fieldName": "disabled",
26306
26360
  "inheritedFrom": {
26307
- "name": "Snackbar",
26308
- "module": "src/snackbar/snackbar.ts"
26361
+ "name": "SliderLabel",
26362
+ "module": "src/slider-label/slider-label.ts"
26309
26363
  }
26310
- },
26364
+ }
26365
+ ],
26366
+ "members": [
26311
26367
  {
26312
26368
  "kind": "field",
26313
- "name": "identifier",
26369
+ "name": "position",
26314
26370
  "type": {
26315
26371
  "text": "string"
26316
26372
  },
26373
+ "privacy": "public",
26374
+ "description": "The position of the label relative to the min and max value of the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
26317
26375
  "inheritedFrom": {
26318
- "name": "Snackbar",
26319
- "module": "src/snackbar/snackbar.ts"
26376
+ "name": "SliderLabel",
26377
+ "module": "src/slider-label/slider-label.ts"
26320
26378
  }
26321
26379
  },
26322
26380
  {
26323
- "kind": "field",
26324
- "name": "closeTimeout",
26325
- "type": {
26326
- "text": "number"
26381
+ "kind": "method",
26382
+ "name": "positionChanged",
26383
+ "privacy": "private",
26384
+ "return": {
26385
+ "type": {
26386
+ "text": "void"
26387
+ }
26327
26388
  },
26328
- "default": "SNACKBAR_CLOSE_TIMEOUT",
26329
26389
  "inheritedFrom": {
26330
- "name": "Snackbar",
26331
- "module": "src/snackbar/snackbar.ts"
26390
+ "name": "SliderLabel",
26391
+ "module": "src/slider-label/slider-label.ts"
26332
26392
  }
26333
26393
  },
26334
26394
  {
26335
26395
  "kind": "field",
26336
- "name": "autoClose",
26396
+ "name": "hideMark",
26337
26397
  "type": {
26338
26398
  "text": "boolean"
26339
26399
  },
26400
+ "privacy": "public",
26340
26401
  "default": "false",
26402
+ "description": "Hides the tick mark.",
26341
26403
  "inheritedFrom": {
26342
- "name": "Snackbar",
26343
- "module": "src/snackbar/snackbar.ts"
26404
+ "name": "SliderLabel",
26405
+ "module": "src/slider-label/slider-label.ts"
26344
26406
  }
26345
26407
  },
26346
26408
  {
26347
26409
  "kind": "field",
26348
- "name": "type",
26410
+ "name": "disabled",
26349
26411
  "type": {
26350
- "text": "SnackbarType"
26412
+ "text": "boolean"
26351
26413
  },
26352
- "default": "SNACKBAR_TYPE_DEFAULT",
26414
+ "privacy": "public",
26415
+ "description": "The disabled state of the label. This is generally controlled by the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
26353
26416
  "inheritedFrom": {
26354
- "name": "Snackbar",
26355
- "module": "src/snackbar/snackbar.ts"
26417
+ "name": "SliderLabel",
26418
+ "module": "src/slider-label/slider-label.ts"
26356
26419
  }
26357
26420
  },
26358
26421
  {
26359
26422
  "kind": "field",
26360
- "name": "timeoutRef",
26423
+ "name": "notifier",
26361
26424
  "type": {
26362
- "text": "ReturnType<typeof setTimeout>"
26425
+ "text": "Notifier"
26363
26426
  },
26364
26427
  "privacy": "private",
26365
26428
  "inheritedFrom": {
26366
- "name": "Snackbar",
26367
- "module": "src/snackbar/snackbar.ts"
26368
- }
26369
- },
26370
- {
26371
- "kind": "field",
26372
- "name": "dismissEventListener",
26373
- "privacy": "private",
26374
- "inheritedFrom": {
26375
- "name": "Snackbar",
26376
- "module": "src/snackbar/snackbar.ts"
26429
+ "name": "SliderLabel",
26430
+ "module": "src/slider-label/slider-label.ts"
26377
26431
  }
26378
26432
  },
26379
26433
  {
26380
26434
  "kind": "method",
26381
- "name": "errorChanged",
26382
- "parameters": [
26383
- {
26384
- "name": "oldValue",
26385
- "type": {
26386
- "text": "ErrorStructure"
26387
- }
26388
- },
26389
- {
26390
- "name": "newValue",
26391
- "type": {
26392
- "text": "ErrorStructure"
26393
- }
26435
+ "name": "isSliderConfig",
26436
+ "privacy": "private",
26437
+ "return": {
26438
+ "type": {
26439
+ "text": "node is SliderConfiguration"
26394
26440
  }
26395
- ],
26396
- "inheritedFrom": {
26397
- "name": "Snackbar",
26398
- "module": "src/snackbar/snackbar.ts"
26399
- }
26400
- },
26401
- {
26402
- "kind": "method",
26403
- "name": "notificationChanged",
26441
+ },
26404
26442
  "parameters": [
26405
26443
  {
26406
- "name": "oldValue",
26407
- "type": {
26408
- "text": "NotificationStructure"
26409
- }
26410
- },
26411
- {
26412
- "name": "newValue",
26444
+ "name": "node",
26413
26445
  "type": {
26414
- "text": "NotificationStructure"
26446
+ "text": "any"
26415
26447
  }
26416
26448
  }
26417
26449
  ],
26418
26450
  "inheritedFrom": {
26419
- "name": "Snackbar",
26420
- "module": "src/snackbar/snackbar.ts"
26451
+ "name": "SliderLabel",
26452
+ "module": "src/slider-label/slider-label.ts"
26421
26453
  }
26422
26454
  },
26423
26455
  {
26424
- "kind": "method",
26425
- "name": "handleDissmis",
26426
- "privacy": "public",
26427
- "parameters": [
26428
- {
26429
- "name": "autoDissmis",
26430
- "default": "false",
26431
- "type": {
26432
- "text": "boolean"
26433
- }
26434
- }
26435
- ],
26436
- "description": "Helper for remove snackbar from display with animation",
26456
+ "kind": "field",
26457
+ "name": "getSliderConfiguration",
26458
+ "privacy": "private",
26437
26459
  "inheritedFrom": {
26438
- "name": "Snackbar",
26439
- "module": "src/snackbar/snackbar.ts"
26460
+ "name": "SliderLabel",
26461
+ "module": "src/slider-label/slider-label.ts"
26440
26462
  }
26441
26463
  },
26442
26464
  {
26443
- "kind": "method",
26444
- "name": "dismiss",
26445
- "privacy": "public",
26446
- "description": "Remove the snackbar from display.",
26465
+ "kind": "field",
26466
+ "name": "positionAsStyle",
26467
+ "privacy": "private",
26447
26468
  "inheritedFrom": {
26448
- "name": "Snackbar",
26449
- "module": "src/snackbar/snackbar.ts"
26469
+ "name": "SliderLabel",
26470
+ "module": "src/slider-label/slider-label.ts"
26450
26471
  }
26451
26472
  },
26452
26473
  {
@@ -26458,8 +26479,8 @@
26458
26479
  "privacy": "private",
26459
26480
  "default": "void 0",
26460
26481
  "inheritedFrom": {
26461
- "name": "FoundationElement",
26462
- "module": "src/foundation-element/foundation-element.ts"
26482
+ "name": "SliderLabel",
26483
+ "module": "src/slider-label/slider-label.ts"
26463
26484
  }
26464
26485
  },
26465
26486
  {
@@ -26471,8 +26492,8 @@
26471
26492
  "privacy": "public",
26472
26493
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
26473
26494
  "inheritedFrom": {
26474
- "name": "FoundationElement",
26475
- "module": "src/foundation-element/foundation-element.ts"
26495
+ "name": "SliderLabel",
26496
+ "module": "src/slider-label/slider-label.ts"
26476
26497
  }
26477
26498
  },
26478
26499
  {
@@ -26484,8 +26505,8 @@
26484
26505
  "privacy": "public",
26485
26506
  "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.",
26486
26507
  "inheritedFrom": {
26487
- "name": "FoundationElement",
26488
- "module": "src/foundation-element/foundation-element.ts"
26508
+ "name": "SliderLabel",
26509
+ "module": "src/slider-label/slider-label.ts"
26489
26510
  }
26490
26511
  },
26491
26512
  {
@@ -26498,8 +26519,8 @@
26498
26519
  }
26499
26520
  },
26500
26521
  "inheritedFrom": {
26501
- "name": "FoundationElement",
26502
- "module": "src/foundation-element/foundation-element.ts"
26522
+ "name": "SliderLabel",
26523
+ "module": "src/slider-label/slider-label.ts"
26503
26524
  }
26504
26525
  },
26505
26526
  {
@@ -26511,8 +26532,8 @@
26511
26532
  "privacy": "public",
26512
26533
  "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.",
26513
26534
  "inheritedFrom": {
26514
- "name": "FoundationElement",
26515
- "module": "src/foundation-element/foundation-element.ts"
26535
+ "name": "SliderLabel",
26536
+ "module": "src/slider-label/slider-label.ts"
26516
26537
  }
26517
26538
  },
26518
26539
  {
@@ -26525,8 +26546,8 @@
26525
26546
  }
26526
26547
  },
26527
26548
  "inheritedFrom": {
26528
- "name": "FoundationElement",
26529
- "module": "src/foundation-element/foundation-element.ts"
26549
+ "name": "SliderLabel",
26550
+ "module": "src/slider-label/slider-label.ts"
26530
26551
  }
26531
26552
  },
26532
26553
  {
@@ -26556,53 +26577,32 @@
26556
26577
  ],
26557
26578
  "description": "Defines an element registry function with a set of element definition defaults.",
26558
26579
  "inheritedFrom": {
26559
- "name": "FoundationElement",
26560
- "module": "src/foundation-element/foundation-element.ts"
26561
- }
26562
- }
26563
- ],
26564
- "events": [
26565
- {
26566
- "type": {
26567
- "text": "CustomEvent"
26568
- },
26569
- "inheritedFrom": {
26570
- "name": "Snackbar",
26571
- "module": "src/snackbar/snackbar.ts"
26580
+ "name": "SliderLabel",
26581
+ "module": "src/slider-label/slider-label.ts"
26572
26582
  }
26573
26583
  }
26574
26584
  ]
26575
26585
  },
26576
26586
  {
26577
26587
  "kind": "variable",
26578
- "name": "rapidSnackbar",
26579
- "description": "The Rapid Snackbar",
26580
- "privacy": "public"
26588
+ "name": "rapidSliderLabel"
26581
26589
  }
26582
26590
  ],
26583
26591
  "exports": [
26584
26592
  {
26585
26593
  "kind": "js",
26586
- "name": "rapidSnackbarShadowOptions",
26587
- "declaration": {
26588
- "name": "rapidSnackbarShadowOptions",
26589
- "module": "src/snackbar/snackbar.ts"
26590
- }
26591
- },
26592
- {
26593
- "kind": "js",
26594
- "name": "Snackbar",
26594
+ "name": "SliderLabel",
26595
26595
  "declaration": {
26596
- "name": "Snackbar",
26597
- "module": "src/snackbar/snackbar.ts"
26596
+ "name": "SliderLabel",
26597
+ "module": "src/slider-label/slider-label.ts"
26598
26598
  }
26599
26599
  },
26600
26600
  {
26601
26601
  "kind": "js",
26602
- "name": "rapidSnackbar",
26602
+ "name": "rapidSliderLabel",
26603
26603
  "declaration": {
26604
- "name": "rapidSnackbar",
26605
- "module": "src/snackbar/snackbar.ts"
26604
+ "name": "rapidSliderLabel",
26605
+ "module": "src/slider-label/slider-label.ts"
26606
26606
  }
26607
26607
  }
26608
26608
  ]