@genesislcap/foundation-ui 14.141.3 → 14.142.1-alpha-a84f41b.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 +498 -498
  2. package/package.json +10 -10
@@ -30641,7 +30641,7 @@
30641
30641
  },
30642
30642
  {
30643
30643
  "kind": "javascript-module",
30644
- "path": "src/select/index.ts",
30644
+ "path": "src/skeleton/index.ts",
30645
30645
  "declarations": [],
30646
30646
  "exports": [
30647
30647
  {
@@ -30649,7 +30649,7 @@
30649
30649
  "name": "*",
30650
30650
  "declaration": {
30651
30651
  "name": "*",
30652
- "package": "./select.template"
30652
+ "package": "./skeleton.template"
30653
30653
  }
30654
30654
  },
30655
30655
  {
@@ -30657,7 +30657,7 @@
30657
30657
  "name": "*",
30658
30658
  "declaration": {
30659
30659
  "name": "*",
30660
- "package": "./select.styles"
30660
+ "package": "./skeleton.styles"
30661
30661
  }
30662
30662
  },
30663
30663
  {
@@ -30665,18 +30665,18 @@
30665
30665
  "name": "*",
30666
30666
  "declaration": {
30667
30667
  "name": "*",
30668
- "package": "./select"
30668
+ "package": "./skeleton"
30669
30669
  }
30670
30670
  }
30671
30671
  ]
30672
30672
  },
30673
30673
  {
30674
30674
  "kind": "javascript-module",
30675
- "path": "src/select/select.styles.ts",
30675
+ "path": "src/skeleton/skeleton.styles.ts",
30676
30676
  "declarations": [
30677
30677
  {
30678
30678
  "kind": "function",
30679
- "name": "foundationSelectStyles",
30679
+ "name": "foundationSkeletonStyles",
30680
30680
  "return": {
30681
30681
  "type": {
30682
30682
  "text": "ElementStyles"
@@ -30701,24 +30701,24 @@
30701
30701
  "exports": [
30702
30702
  {
30703
30703
  "kind": "js",
30704
- "name": "foundationSelectStyles",
30704
+ "name": "foundationSkeletonStyles",
30705
30705
  "declaration": {
30706
- "name": "foundationSelectStyles",
30707
- "module": "src/select/select.styles.ts"
30706
+ "name": "foundationSkeletonStyles",
30707
+ "module": "src/skeleton/skeleton.styles.ts"
30708
30708
  }
30709
30709
  }
30710
30710
  ]
30711
30711
  },
30712
30712
  {
30713
30713
  "kind": "javascript-module",
30714
- "path": "src/select/select.template.ts",
30714
+ "path": "src/skeleton/skeleton.template.ts",
30715
30715
  "declarations": [
30716
30716
  {
30717
30717
  "kind": "function",
30718
- "name": "foundationSelectTemplate",
30718
+ "name": "foundationSkeletonTemplate",
30719
30719
  "return": {
30720
30720
  "type": {
30721
- "text": "ViewTemplate<Select>"
30721
+ "text": "ViewTemplate<Skeleton>"
30722
30722
  }
30723
30723
  },
30724
30724
  "parameters": [
@@ -30740,434 +30740,215 @@
30740
30740
  "exports": [
30741
30741
  {
30742
30742
  "kind": "js",
30743
- "name": "foundationSelectTemplate",
30743
+ "name": "foundationSkeletonTemplate",
30744
30744
  "declaration": {
30745
- "name": "foundationSelectTemplate",
30746
- "module": "src/select/select.template.ts"
30745
+ "name": "foundationSkeletonTemplate",
30746
+ "module": "src/skeleton/skeleton.template.ts"
30747
30747
  }
30748
30748
  }
30749
30749
  ]
30750
30750
  },
30751
30751
  {
30752
30752
  "kind": "javascript-module",
30753
- "path": "src/select/select.ts",
30753
+ "path": "src/skeleton/skeleton.ts",
30754
30754
  "declarations": [
30755
30755
  {
30756
30756
  "kind": "class",
30757
30757
  "description": "",
30758
- "name": "Select",
30758
+ "name": "Skeleton",
30759
30759
  "superclass": {
30760
- "name": "FASTSelect",
30760
+ "name": "FASTSkeleton",
30761
30761
  "package": "@microsoft/fast-components"
30762
30762
  },
30763
- "tagName": "%%prefix%%-select",
30763
+ "tagName": "%%prefix%%-skeleton",
30764
30764
  "customElement": true,
30765
30765
  "attributes": [
30766
30766
  {
30767
- "name": "open",
30767
+ "name": "fill",
30768
30768
  "type": {
30769
- "text": "boolean"
30769
+ "text": "string"
30770
30770
  },
30771
- "default": "false",
30772
- "description": "The open attribute.",
30773
- "fieldName": "open",
30771
+ "description": "Indicates the Skeleton should have a filled style.",
30772
+ "fieldName": "fill",
30774
30773
  "inheritedFrom": {
30775
- "name": "Select",
30776
- "module": "src/select/select.ts"
30774
+ "name": "Skeleton",
30775
+ "module": "src/skeleton/skeleton.ts"
30777
30776
  }
30778
30777
  },
30779
30778
  {
30780
- "name": "position",
30779
+ "name": "shape",
30781
30780
  "type": {
30782
- "text": "SelectPosition | undefined"
30781
+ "text": "SkeletonShape"
30783
30782
  },
30784
- "description": "Reflects the placement for the listbox when the select is open.",
30785
- "fieldName": "positionAttribute",
30783
+ "default": "\"rect\"",
30784
+ "description": "Indicates what the shape of the Skeleton should be.",
30785
+ "fieldName": "shape",
30786
30786
  "inheritedFrom": {
30787
- "name": "Select",
30788
- "module": "src/select/select.ts"
30787
+ "name": "Skeleton",
30788
+ "module": "src/skeleton/skeleton.ts"
30789
+ }
30790
+ },
30791
+ {
30792
+ "name": "pattern",
30793
+ "type": {
30794
+ "text": "string"
30795
+ },
30796
+ "description": "Indicates that the component can accept a pattern URL.",
30797
+ "fieldName": "pattern",
30798
+ "inheritedFrom": {
30799
+ "name": "Skeleton",
30800
+ "module": "src/skeleton/skeleton.ts"
30789
30801
  }
30790
30802
  },
30791
30803
  {
30792
30804
  "type": {
30793
30805
  "text": "boolean"
30794
30806
  },
30795
- "description": "Indicates if the listbox is in multi-selection mode.",
30796
- "fieldName": "multiple",
30807
+ "description": "Indicates that the component has an activated shimmer effect",
30808
+ "fieldName": "shimmer",
30797
30809
  "inheritedFrom": {
30798
- "name": "Select",
30799
- "module": "src/select/select.ts"
30810
+ "name": "Skeleton",
30811
+ "module": "src/skeleton/skeleton.ts"
30800
30812
  }
30801
30813
  }
30802
30814
  ],
30803
30815
  "members": [
30804
30816
  {
30805
30817
  "kind": "field",
30806
- "name": "open",
30818
+ "name": "fill",
30807
30819
  "type": {
30808
- "text": "boolean"
30820
+ "text": "string"
30809
30821
  },
30810
30822
  "privacy": "public",
30811
- "default": "false",
30812
- "description": "The open attribute.",
30823
+ "description": "Indicates the Skeleton should have a filled style.",
30813
30824
  "inheritedFrom": {
30814
- "name": "Select",
30815
- "module": "src/select/select.ts"
30825
+ "name": "Skeleton",
30826
+ "module": "src/skeleton/skeleton.ts"
30816
30827
  }
30817
30828
  },
30818
30829
  {
30819
30830
  "kind": "field",
30820
- "name": "value",
30831
+ "name": "shape",
30832
+ "type": {
30833
+ "text": "SkeletonShape"
30834
+ },
30821
30835
  "privacy": "public",
30822
- "description": "The value property.",
30836
+ "default": "\"rect\"",
30837
+ "description": "Indicates what the shape of the Skeleton should be.",
30823
30838
  "inheritedFrom": {
30824
- "name": "Select",
30825
- "module": "src/select/select.ts"
30839
+ "name": "Skeleton",
30840
+ "module": "src/skeleton/skeleton.ts"
30826
30841
  }
30827
30842
  },
30828
30843
  {
30829
30844
  "kind": "field",
30830
- "name": "positionAttribute",
30845
+ "name": "pattern",
30831
30846
  "type": {
30832
- "text": "SelectPosition | undefined"
30847
+ "text": "string"
30833
30848
  },
30834
30849
  "privacy": "public",
30835
- "description": "Reflects the placement for the listbox when the select is open.",
30850
+ "description": "Indicates that the component can accept a pattern URL.",
30836
30851
  "inheritedFrom": {
30837
- "name": "Select",
30838
- "module": "src/select/select.ts"
30852
+ "name": "Skeleton",
30853
+ "module": "src/skeleton/skeleton.ts"
30839
30854
  }
30840
30855
  },
30841
30856
  {
30842
30857
  "kind": "field",
30843
- "name": "position",
30858
+ "name": "shimmer",
30844
30859
  "type": {
30845
- "text": "SelectPosition | undefined"
30860
+ "text": "boolean"
30846
30861
  },
30847
30862
  "privacy": "public",
30848
- "description": "Holds the current state for the calculated position of the listbox.",
30863
+ "description": "Indicates that the component has an activated shimmer effect",
30849
30864
  "inheritedFrom": {
30850
- "name": "Select",
30851
- "module": "src/select/select.ts"
30865
+ "name": "Skeleton",
30866
+ "module": "src/skeleton/skeleton.ts"
30852
30867
  }
30853
30868
  },
30854
30869
  {
30855
- "kind": "method",
30856
- "name": "positionChanged",
30857
- "privacy": "protected",
30858
- "return": {
30859
- "type": {
30860
- "text": "void"
30861
- }
30870
+ "kind": "field",
30871
+ "name": "_presentation",
30872
+ "type": {
30873
+ "text": "ComponentPresentation | null | undefined"
30862
30874
  },
30863
- "parameters": [
30864
- {
30865
- "name": "prev",
30866
- "type": {
30867
- "text": "SelectPosition | undefined"
30868
- }
30869
- },
30870
- {
30871
- "name": "next",
30872
- "type": {
30873
- "text": "SelectPosition | undefined"
30874
- }
30875
- }
30876
- ],
30875
+ "privacy": "private",
30876
+ "default": "void 0",
30877
30877
  "inheritedFrom": {
30878
- "name": "Select",
30879
- "module": "src/select/select.ts"
30878
+ "name": "FoundationElement",
30879
+ "module": "src/foundation-element/foundation-element.ts"
30880
30880
  }
30881
30881
  },
30882
30882
  {
30883
- "kind": "method",
30884
- "name": "setPositioning",
30885
- "privacy": "public",
30886
- "return": {
30887
- "type": {
30888
- "text": "void"
30889
- }
30883
+ "kind": "field",
30884
+ "name": "$presentation",
30885
+ "type": {
30886
+ "text": "ComponentPresentation | null"
30890
30887
  },
30891
- "description": "Calculate and apply listbox positioning based on available viewport space.",
30888
+ "privacy": "public",
30889
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
30892
30890
  "inheritedFrom": {
30893
- "name": "Select",
30894
- "module": "src/select/select.ts"
30891
+ "name": "FoundationElement",
30892
+ "module": "src/foundation-element/foundation-element.ts"
30895
30893
  }
30896
30894
  },
30897
30895
  {
30898
30896
  "kind": "field",
30899
- "name": "displayValue",
30897
+ "name": "template",
30900
30898
  "type": {
30901
- "text": "string"
30899
+ "text": "ElementViewTemplate | void | null"
30902
30900
  },
30903
30901
  "privacy": "public",
30904
- "description": "The value displayed on the button.",
30902
+ "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.",
30905
30903
  "inheritedFrom": {
30906
- "name": "Select",
30907
- "module": "src/select/select.ts"
30904
+ "name": "FoundationElement",
30905
+ "module": "src/foundation-element/foundation-element.ts"
30908
30906
  }
30909
30907
  },
30910
30908
  {
30911
30909
  "kind": "method",
30912
- "name": "multipleChanged",
30913
- "privacy": "public",
30914
- "parameters": [
30915
- {
30916
- "name": "prev",
30917
- "type": {
30918
- "text": "boolean | undefined"
30919
- },
30920
- "description": "the previous multiple value"
30921
- },
30922
- {
30923
- "name": "next",
30924
- "type": {
30925
- "text": "boolean"
30926
- },
30927
- "description": "the current multiple value"
30910
+ "name": "templateChanged",
30911
+ "privacy": "protected",
30912
+ "return": {
30913
+ "type": {
30914
+ "text": "void"
30928
30915
  }
30929
- ],
30930
- "description": "Sets the multiple property on the proxy element.",
30931
- "inheritedFrom": {
30932
- "name": "Select",
30933
- "module": "src/select/select.ts"
30934
- }
30935
- },
30936
- {
30937
- "kind": "field",
30938
- "name": "proxy",
30916
+ },
30939
30917
  "inheritedFrom": {
30940
- "name": "Select",
30941
- "module": "src/select/select.ts"
30918
+ "name": "FoundationElement",
30919
+ "module": "src/foundation-element/foundation-element.ts"
30942
30920
  }
30943
30921
  },
30944
30922
  {
30945
30923
  "kind": "field",
30946
- "name": "multiple",
30924
+ "name": "styles",
30947
30925
  "type": {
30948
- "text": "boolean"
30926
+ "text": "ElementStyles | void | null"
30949
30927
  },
30950
30928
  "privacy": "public",
30951
- "description": "Indicates if the listbox is in multi-selection mode.",
30929
+ "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.",
30952
30930
  "inheritedFrom": {
30953
- "name": "Select",
30954
- "module": "src/select/select.ts"
30931
+ "name": "FoundationElement",
30932
+ "module": "src/foundation-element/foundation-element.ts"
30955
30933
  }
30956
30934
  },
30957
30935
  {
30958
- "kind": "field",
30959
- "name": "size",
30960
- "type": {
30961
- "text": "number"
30936
+ "kind": "method",
30937
+ "name": "stylesChanged",
30938
+ "privacy": "protected",
30939
+ "return": {
30940
+ "type": {
30941
+ "text": "void"
30942
+ }
30962
30943
  },
30963
- "privacy": "public",
30964
- "description": "The maximum number of options to display.",
30965
30944
  "inheritedFrom": {
30966
- "name": "Select",
30967
- "module": "src/select/select.ts"
30945
+ "name": "FoundationElement",
30946
+ "module": "src/foundation-element/foundation-element.ts"
30968
30947
  }
30969
30948
  },
30970
30949
  {
30971
30950
  "kind": "method",
30972
- "name": "setSelectedOptions",
30973
- "privacy": "public",
30974
- "description": "Sets an option as selected and gives it focus.",
30975
- "inheritedFrom": {
30976
- "name": "Select",
30977
- "module": "src/select/select.ts"
30978
- }
30979
- },
30980
- {
30981
- "kind": "field",
30982
- "name": "length",
30983
- "type": {
30984
- "text": "number"
30985
- },
30986
- "privacy": "public",
30987
- "description": "The number of options.",
30988
- "inheritedFrom": {
30989
- "name": "Select",
30990
- "module": "src/select/select.ts"
30991
- }
30992
- },
30993
- {
30994
- "kind": "field",
30995
- "name": "options",
30996
- "type": {
30997
- "text": "ListboxOption[]"
30998
- },
30999
- "privacy": "public",
31000
- "description": "The list of options.",
31001
- "inheritedFrom": {
31002
- "name": "Select",
31003
- "module": "src/select/select.ts"
31004
- }
31005
- },
31006
- {
31007
- "kind": "field",
31008
- "name": "typeAheadExpired",
31009
- "privacy": "protected",
31010
- "inheritedFrom": {
31011
- "name": "Select",
31012
- "module": "src/select/select.ts"
31013
- }
31014
- },
31015
- {
31016
- "kind": "field",
31017
- "name": "disabled",
31018
- "type": {
31019
- "text": "boolean"
31020
- },
31021
- "privacy": "public",
31022
- "description": "The disabled state of the listbox.",
31023
- "inheritedFrom": {
31024
- "name": "Select",
31025
- "module": "src/select/select.ts"
31026
- }
31027
- },
31028
- {
31029
- "kind": "field",
31030
- "name": "selectedIndex",
31031
- "type": {
31032
- "text": "number"
31033
- },
31034
- "privacy": "public",
31035
- "default": "-1",
31036
- "description": "The index of the selected option.",
31037
- "inheritedFrom": {
31038
- "name": "Select",
31039
- "module": "src/select/select.ts"
31040
- }
31041
- },
31042
- {
31043
- "kind": "field",
31044
- "name": "selectedOptions",
31045
- "type": {
31046
- "text": "ListboxOption[]"
31047
- },
31048
- "privacy": "public",
31049
- "default": "[]",
31050
- "description": "A collection of the selected options.",
31051
- "inheritedFrom": {
31052
- "name": "Select",
31053
- "module": "src/select/select.ts"
31054
- }
31055
- },
31056
- {
31057
- "kind": "field",
31058
- "name": "slottedOptionFilter",
31059
- "privacy": "public",
31060
- "static": true,
31061
- "description": "A static filter to include only selectable options.",
31062
- "parameters": [
31063
- {
31064
- "description": "element to filter",
31065
- "name": "n"
31066
- }
31067
- ],
31068
- "inheritedFrom": {
31069
- "name": "Select",
31070
- "module": "src/select/select.ts"
31071
- }
31072
- },
31073
- {
31074
- "kind": "method",
31075
- "name": "selectFirstOption",
31076
- "privacy": "public",
31077
- "return": {
31078
- "type": {
31079
- "text": "void"
31080
- }
31081
- },
31082
- "description": "Moves focus to the first selectable option.",
31083
- "inheritedFrom": {
31084
- "name": "Select",
31085
- "module": "src/select/select.ts"
31086
- }
31087
- },
31088
- {
31089
- "kind": "field",
31090
- "name": "_presentation",
31091
- "type": {
31092
- "text": "ComponentPresentation | null | undefined"
31093
- },
31094
- "privacy": "private",
31095
- "default": "void 0",
31096
- "inheritedFrom": {
31097
- "name": "Select",
31098
- "module": "src/select/select.ts"
31099
- }
31100
- },
31101
- {
31102
- "kind": "field",
31103
- "name": "$presentation",
31104
- "type": {
31105
- "text": "ComponentPresentation | null"
31106
- },
31107
- "privacy": "public",
31108
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31109
- "inheritedFrom": {
31110
- "name": "Select",
31111
- "module": "src/select/select.ts"
31112
- }
31113
- },
31114
- {
31115
- "kind": "field",
31116
- "name": "template",
31117
- "type": {
31118
- "text": "ElementViewTemplate | void | null"
31119
- },
31120
- "privacy": "public",
31121
- "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.",
31122
- "inheritedFrom": {
31123
- "name": "Select",
31124
- "module": "src/select/select.ts"
31125
- }
31126
- },
31127
- {
31128
- "kind": "method",
31129
- "name": "templateChanged",
31130
- "privacy": "protected",
31131
- "return": {
31132
- "type": {
31133
- "text": "void"
31134
- }
31135
- },
31136
- "inheritedFrom": {
31137
- "name": "Select",
31138
- "module": "src/select/select.ts"
31139
- }
31140
- },
31141
- {
31142
- "kind": "field",
31143
- "name": "styles",
31144
- "type": {
31145
- "text": "ElementStyles | void | null"
31146
- },
31147
- "privacy": "public",
31148
- "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.",
31149
- "inheritedFrom": {
31150
- "name": "Select",
31151
- "module": "src/select/select.ts"
31152
- }
31153
- },
31154
- {
31155
- "kind": "method",
31156
- "name": "stylesChanged",
31157
- "privacy": "protected",
31158
- "return": {
31159
- "type": {
31160
- "text": "void"
31161
- }
31162
- },
31163
- "inheritedFrom": {
31164
- "name": "Select",
31165
- "module": "src/select/select.ts"
31166
- }
31167
- },
31168
- {
31169
- "kind": "method",
31170
- "name": "compose",
30951
+ "name": "compose",
31171
30952
  "privacy": "public",
31172
30953
  "static": true,
31173
30954
  "return": {
@@ -31192,33 +30973,15 @@
31192
30973
  ],
31193
30974
  "description": "Defines an element registry function with a set of element definition defaults.",
31194
30975
  "inheritedFrom": {
31195
- "name": "Select",
31196
- "module": "src/select/select.ts"
31197
- }
31198
- }
31199
- ],
31200
- "events": [
31201
- {
31202
- "description": "Fires a custom 'input' event when the value updates",
31203
- "name": "input",
31204
- "inheritedFrom": {
31205
- "name": "Select",
31206
- "module": "src/select/select.ts"
31207
- }
31208
- },
31209
- {
31210
- "description": "Fires a custom 'change' event when the value updates",
31211
- "name": "change",
31212
- "inheritedFrom": {
31213
- "name": "Select",
31214
- "module": "src/select/select.ts"
30976
+ "name": "FoundationElement",
30977
+ "module": "src/foundation-element/foundation-element.ts"
31215
30978
  }
31216
30979
  }
31217
30980
  ]
31218
30981
  },
31219
30982
  {
31220
30983
  "kind": "variable",
31221
- "name": "foundationSelectShadowOptions",
30984
+ "name": "foundationSkeletonShadowOptions",
31222
30985
  "type": {
31223
30986
  "text": "ShadowRootInit"
31224
30987
  },
@@ -31226,57 +30989,57 @@
31226
30989
  },
31227
30990
  {
31228
30991
  "kind": "variable",
31229
- "name": "defaultSelectConfig",
30992
+ "name": "defaultSkeletonConfig",
31230
30993
  "type": {
31231
30994
  "text": "object"
31232
30995
  },
31233
- "default": "{\n indicator: `\n <svg\n class=\"select-indicator\"\n part=\"select-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
30996
+ "default": "{}"
31234
30997
  },
31235
30998
  {
31236
30999
  "kind": "variable",
31237
- "name": "foundationSelect",
31238
- "description": "The Foundation Select",
31000
+ "name": "foundationSkeleton",
31001
+ "description": "The Foundation Skeleton",
31239
31002
  "privacy": "public"
31240
31003
  }
31241
31004
  ],
31242
31005
  "exports": [
31243
31006
  {
31244
31007
  "kind": "js",
31245
- "name": "Select",
31008
+ "name": "Skeleton",
31246
31009
  "declaration": {
31247
- "name": "Select",
31248
- "module": "src/select/select.ts"
31010
+ "name": "Skeleton",
31011
+ "module": "src/skeleton/skeleton.ts"
31249
31012
  }
31250
31013
  },
31251
31014
  {
31252
31015
  "kind": "js",
31253
- "name": "foundationSelectShadowOptions",
31016
+ "name": "foundationSkeletonShadowOptions",
31254
31017
  "declaration": {
31255
- "name": "foundationSelectShadowOptions",
31256
- "module": "src/select/select.ts"
31018
+ "name": "foundationSkeletonShadowOptions",
31019
+ "module": "src/skeleton/skeleton.ts"
31257
31020
  }
31258
31021
  },
31259
31022
  {
31260
31023
  "kind": "js",
31261
- "name": "defaultSelectConfig",
31024
+ "name": "defaultSkeletonConfig",
31262
31025
  "declaration": {
31263
- "name": "defaultSelectConfig",
31264
- "module": "src/select/select.ts"
31026
+ "name": "defaultSkeletonConfig",
31027
+ "module": "src/skeleton/skeleton.ts"
31265
31028
  }
31266
31029
  },
31267
31030
  {
31268
31031
  "kind": "js",
31269
- "name": "foundationSelect",
31032
+ "name": "foundationSkeleton",
31270
31033
  "declaration": {
31271
- "name": "foundationSelect",
31272
- "module": "src/select/select.ts"
31034
+ "name": "foundationSkeleton",
31035
+ "module": "src/skeleton/skeleton.ts"
31273
31036
  }
31274
31037
  }
31275
31038
  ]
31276
31039
  },
31277
31040
  {
31278
31041
  "kind": "javascript-module",
31279
- "path": "src/skeleton/index.ts",
31042
+ "path": "src/select/index.ts",
31280
31043
  "declarations": [],
31281
31044
  "exports": [
31282
31045
  {
@@ -31284,7 +31047,7 @@
31284
31047
  "name": "*",
31285
31048
  "declaration": {
31286
31049
  "name": "*",
31287
- "package": "./skeleton.template"
31050
+ "package": "./select.template"
31288
31051
  }
31289
31052
  },
31290
31053
  {
@@ -31292,7 +31055,7 @@
31292
31055
  "name": "*",
31293
31056
  "declaration": {
31294
31057
  "name": "*",
31295
- "package": "./skeleton.styles"
31058
+ "package": "./select.styles"
31296
31059
  }
31297
31060
  },
31298
31061
  {
@@ -31300,18 +31063,18 @@
31300
31063
  "name": "*",
31301
31064
  "declaration": {
31302
31065
  "name": "*",
31303
- "package": "./skeleton"
31066
+ "package": "./select"
31304
31067
  }
31305
31068
  }
31306
31069
  ]
31307
31070
  },
31308
31071
  {
31309
31072
  "kind": "javascript-module",
31310
- "path": "src/skeleton/skeleton.styles.ts",
31073
+ "path": "src/select/select.styles.ts",
31311
31074
  "declarations": [
31312
31075
  {
31313
31076
  "kind": "function",
31314
- "name": "foundationSkeletonStyles",
31077
+ "name": "foundationSelectStyles",
31315
31078
  "return": {
31316
31079
  "type": {
31317
31080
  "text": "ElementStyles"
@@ -31336,24 +31099,24 @@
31336
31099
  "exports": [
31337
31100
  {
31338
31101
  "kind": "js",
31339
- "name": "foundationSkeletonStyles",
31102
+ "name": "foundationSelectStyles",
31340
31103
  "declaration": {
31341
- "name": "foundationSkeletonStyles",
31342
- "module": "src/skeleton/skeleton.styles.ts"
31104
+ "name": "foundationSelectStyles",
31105
+ "module": "src/select/select.styles.ts"
31343
31106
  }
31344
31107
  }
31345
31108
  ]
31346
31109
  },
31347
31110
  {
31348
31111
  "kind": "javascript-module",
31349
- "path": "src/skeleton/skeleton.template.ts",
31112
+ "path": "src/select/select.template.ts",
31350
31113
  "declarations": [
31351
31114
  {
31352
31115
  "kind": "function",
31353
- "name": "foundationSkeletonTemplate",
31116
+ "name": "foundationSelectTemplate",
31354
31117
  "return": {
31355
31118
  "type": {
31356
- "text": "ViewTemplate<Skeleton>"
31119
+ "text": "ViewTemplate<Select>"
31357
31120
  }
31358
31121
  },
31359
31122
  "parameters": [
@@ -31364,141 +31127,360 @@
31364
31127
  }
31365
31128
  },
31366
31129
  {
31367
- "name": "definition",
31130
+ "name": "definition",
31131
+ "type": {
31132
+ "text": "FoundationElementDefinition"
31133
+ }
31134
+ }
31135
+ ]
31136
+ }
31137
+ ],
31138
+ "exports": [
31139
+ {
31140
+ "kind": "js",
31141
+ "name": "foundationSelectTemplate",
31142
+ "declaration": {
31143
+ "name": "foundationSelectTemplate",
31144
+ "module": "src/select/select.template.ts"
31145
+ }
31146
+ }
31147
+ ]
31148
+ },
31149
+ {
31150
+ "kind": "javascript-module",
31151
+ "path": "src/select/select.ts",
31152
+ "declarations": [
31153
+ {
31154
+ "kind": "class",
31155
+ "description": "",
31156
+ "name": "Select",
31157
+ "superclass": {
31158
+ "name": "FASTSelect",
31159
+ "package": "@microsoft/fast-components"
31160
+ },
31161
+ "tagName": "%%prefix%%-select",
31162
+ "customElement": true,
31163
+ "attributes": [
31164
+ {
31165
+ "name": "open",
31166
+ "type": {
31167
+ "text": "boolean"
31168
+ },
31169
+ "default": "false",
31170
+ "description": "The open attribute.",
31171
+ "fieldName": "open",
31172
+ "inheritedFrom": {
31173
+ "name": "Select",
31174
+ "module": "src/select/select.ts"
31175
+ }
31176
+ },
31177
+ {
31178
+ "name": "position",
31179
+ "type": {
31180
+ "text": "SelectPosition | undefined"
31181
+ },
31182
+ "description": "Reflects the placement for the listbox when the select is open.",
31183
+ "fieldName": "positionAttribute",
31184
+ "inheritedFrom": {
31185
+ "name": "Select",
31186
+ "module": "src/select/select.ts"
31187
+ }
31188
+ },
31189
+ {
31190
+ "type": {
31191
+ "text": "boolean"
31192
+ },
31193
+ "description": "Indicates if the listbox is in multi-selection mode.",
31194
+ "fieldName": "multiple",
31195
+ "inheritedFrom": {
31196
+ "name": "Select",
31197
+ "module": "src/select/select.ts"
31198
+ }
31199
+ }
31200
+ ],
31201
+ "members": [
31202
+ {
31203
+ "kind": "field",
31204
+ "name": "open",
31205
+ "type": {
31206
+ "text": "boolean"
31207
+ },
31208
+ "privacy": "public",
31209
+ "default": "false",
31210
+ "description": "The open attribute.",
31211
+ "inheritedFrom": {
31212
+ "name": "Select",
31213
+ "module": "src/select/select.ts"
31214
+ }
31215
+ },
31216
+ {
31217
+ "kind": "field",
31218
+ "name": "value",
31219
+ "privacy": "public",
31220
+ "description": "The value property.",
31221
+ "inheritedFrom": {
31222
+ "name": "Select",
31223
+ "module": "src/select/select.ts"
31224
+ }
31225
+ },
31226
+ {
31227
+ "kind": "field",
31228
+ "name": "positionAttribute",
31229
+ "type": {
31230
+ "text": "SelectPosition | undefined"
31231
+ },
31232
+ "privacy": "public",
31233
+ "description": "Reflects the placement for the listbox when the select is open.",
31234
+ "inheritedFrom": {
31235
+ "name": "Select",
31236
+ "module": "src/select/select.ts"
31237
+ }
31238
+ },
31239
+ {
31240
+ "kind": "field",
31241
+ "name": "position",
31242
+ "type": {
31243
+ "text": "SelectPosition | undefined"
31244
+ },
31245
+ "privacy": "public",
31246
+ "description": "Holds the current state for the calculated position of the listbox.",
31247
+ "inheritedFrom": {
31248
+ "name": "Select",
31249
+ "module": "src/select/select.ts"
31250
+ }
31251
+ },
31252
+ {
31253
+ "kind": "method",
31254
+ "name": "positionChanged",
31255
+ "privacy": "protected",
31256
+ "return": {
31257
+ "type": {
31258
+ "text": "void"
31259
+ }
31260
+ },
31261
+ "parameters": [
31262
+ {
31263
+ "name": "prev",
31264
+ "type": {
31265
+ "text": "SelectPosition | undefined"
31266
+ }
31267
+ },
31268
+ {
31269
+ "name": "next",
31270
+ "type": {
31271
+ "text": "SelectPosition | undefined"
31272
+ }
31273
+ }
31274
+ ],
31275
+ "inheritedFrom": {
31276
+ "name": "Select",
31277
+ "module": "src/select/select.ts"
31278
+ }
31279
+ },
31280
+ {
31281
+ "kind": "method",
31282
+ "name": "setPositioning",
31283
+ "privacy": "public",
31284
+ "return": {
31285
+ "type": {
31286
+ "text": "void"
31287
+ }
31288
+ },
31289
+ "description": "Calculate and apply listbox positioning based on available viewport space.",
31290
+ "inheritedFrom": {
31291
+ "name": "Select",
31292
+ "module": "src/select/select.ts"
31293
+ }
31294
+ },
31295
+ {
31296
+ "kind": "field",
31297
+ "name": "displayValue",
31298
+ "type": {
31299
+ "text": "string"
31300
+ },
31301
+ "privacy": "public",
31302
+ "description": "The value displayed on the button.",
31303
+ "inheritedFrom": {
31304
+ "name": "Select",
31305
+ "module": "src/select/select.ts"
31306
+ }
31307
+ },
31308
+ {
31309
+ "kind": "method",
31310
+ "name": "multipleChanged",
31311
+ "privacy": "public",
31312
+ "parameters": [
31313
+ {
31314
+ "name": "prev",
31315
+ "type": {
31316
+ "text": "boolean | undefined"
31317
+ },
31318
+ "description": "the previous multiple value"
31319
+ },
31320
+ {
31321
+ "name": "next",
31322
+ "type": {
31323
+ "text": "boolean"
31324
+ },
31325
+ "description": "the current multiple value"
31326
+ }
31327
+ ],
31328
+ "description": "Sets the multiple property on the proxy element.",
31329
+ "inheritedFrom": {
31330
+ "name": "Select",
31331
+ "module": "src/select/select.ts"
31332
+ }
31333
+ },
31334
+ {
31335
+ "kind": "field",
31336
+ "name": "proxy",
31337
+ "inheritedFrom": {
31338
+ "name": "Select",
31339
+ "module": "src/select/select.ts"
31340
+ }
31341
+ },
31342
+ {
31343
+ "kind": "field",
31344
+ "name": "multiple",
31368
31345
  "type": {
31369
- "text": "FoundationElementDefinition"
31346
+ "text": "boolean"
31347
+ },
31348
+ "privacy": "public",
31349
+ "description": "Indicates if the listbox is in multi-selection mode.",
31350
+ "inheritedFrom": {
31351
+ "name": "Select",
31352
+ "module": "src/select/select.ts"
31370
31353
  }
31371
- }
31372
- ]
31373
- }
31374
- ],
31375
- "exports": [
31376
- {
31377
- "kind": "js",
31378
- "name": "foundationSkeletonTemplate",
31379
- "declaration": {
31380
- "name": "foundationSkeletonTemplate",
31381
- "module": "src/skeleton/skeleton.template.ts"
31382
- }
31383
- }
31384
- ]
31385
- },
31386
- {
31387
- "kind": "javascript-module",
31388
- "path": "src/skeleton/skeleton.ts",
31389
- "declarations": [
31390
- {
31391
- "kind": "class",
31392
- "description": "",
31393
- "name": "Skeleton",
31394
- "superclass": {
31395
- "name": "FASTSkeleton",
31396
- "package": "@microsoft/fast-components"
31397
- },
31398
- "tagName": "%%prefix%%-skeleton",
31399
- "customElement": true,
31400
- "attributes": [
31354
+ },
31401
31355
  {
31402
- "name": "fill",
31356
+ "kind": "field",
31357
+ "name": "size",
31403
31358
  "type": {
31404
- "text": "string"
31359
+ "text": "number"
31405
31360
  },
31406
- "description": "Indicates the Skeleton should have a filled style.",
31407
- "fieldName": "fill",
31361
+ "privacy": "public",
31362
+ "description": "The maximum number of options to display.",
31408
31363
  "inheritedFrom": {
31409
- "name": "Skeleton",
31410
- "module": "src/skeleton/skeleton.ts"
31364
+ "name": "Select",
31365
+ "module": "src/select/select.ts"
31411
31366
  }
31412
31367
  },
31413
31368
  {
31414
- "name": "shape",
31415
- "type": {
31416
- "text": "SkeletonShape"
31417
- },
31418
- "default": "\"rect\"",
31419
- "description": "Indicates what the shape of the Skeleton should be.",
31420
- "fieldName": "shape",
31369
+ "kind": "method",
31370
+ "name": "setSelectedOptions",
31371
+ "privacy": "public",
31372
+ "description": "Sets an option as selected and gives it focus.",
31421
31373
  "inheritedFrom": {
31422
- "name": "Skeleton",
31423
- "module": "src/skeleton/skeleton.ts"
31374
+ "name": "Select",
31375
+ "module": "src/select/select.ts"
31424
31376
  }
31425
31377
  },
31426
31378
  {
31427
- "name": "pattern",
31379
+ "kind": "field",
31380
+ "name": "length",
31428
31381
  "type": {
31429
- "text": "string"
31382
+ "text": "number"
31430
31383
  },
31431
- "description": "Indicates that the component can accept a pattern URL.",
31432
- "fieldName": "pattern",
31384
+ "privacy": "public",
31385
+ "description": "The number of options.",
31433
31386
  "inheritedFrom": {
31434
- "name": "Skeleton",
31435
- "module": "src/skeleton/skeleton.ts"
31387
+ "name": "Select",
31388
+ "module": "src/select/select.ts"
31436
31389
  }
31437
31390
  },
31438
31391
  {
31392
+ "kind": "field",
31393
+ "name": "options",
31439
31394
  "type": {
31440
- "text": "boolean"
31395
+ "text": "ListboxOption[]"
31441
31396
  },
31442
- "description": "Indicates that the component has an activated shimmer effect",
31443
- "fieldName": "shimmer",
31397
+ "privacy": "public",
31398
+ "description": "The list of options.",
31444
31399
  "inheritedFrom": {
31445
- "name": "Skeleton",
31446
- "module": "src/skeleton/skeleton.ts"
31400
+ "name": "Select",
31401
+ "module": "src/select/select.ts"
31447
31402
  }
31448
- }
31449
- ],
31450
- "members": [
31403
+ },
31451
31404
  {
31452
31405
  "kind": "field",
31453
- "name": "fill",
31406
+ "name": "typeAheadExpired",
31407
+ "privacy": "protected",
31408
+ "inheritedFrom": {
31409
+ "name": "Select",
31410
+ "module": "src/select/select.ts"
31411
+ }
31412
+ },
31413
+ {
31414
+ "kind": "field",
31415
+ "name": "disabled",
31454
31416
  "type": {
31455
- "text": "string"
31417
+ "text": "boolean"
31456
31418
  },
31457
31419
  "privacy": "public",
31458
- "description": "Indicates the Skeleton should have a filled style.",
31420
+ "description": "The disabled state of the listbox.",
31459
31421
  "inheritedFrom": {
31460
- "name": "Skeleton",
31461
- "module": "src/skeleton/skeleton.ts"
31422
+ "name": "Select",
31423
+ "module": "src/select/select.ts"
31462
31424
  }
31463
31425
  },
31464
31426
  {
31465
31427
  "kind": "field",
31466
- "name": "shape",
31428
+ "name": "selectedIndex",
31467
31429
  "type": {
31468
- "text": "SkeletonShape"
31430
+ "text": "number"
31469
31431
  },
31470
31432
  "privacy": "public",
31471
- "default": "\"rect\"",
31472
- "description": "Indicates what the shape of the Skeleton should be.",
31433
+ "default": "-1",
31434
+ "description": "The index of the selected option.",
31473
31435
  "inheritedFrom": {
31474
- "name": "Skeleton",
31475
- "module": "src/skeleton/skeleton.ts"
31436
+ "name": "Select",
31437
+ "module": "src/select/select.ts"
31476
31438
  }
31477
31439
  },
31478
31440
  {
31479
31441
  "kind": "field",
31480
- "name": "pattern",
31442
+ "name": "selectedOptions",
31481
31443
  "type": {
31482
- "text": "string"
31444
+ "text": "ListboxOption[]"
31483
31445
  },
31484
31446
  "privacy": "public",
31485
- "description": "Indicates that the component can accept a pattern URL.",
31447
+ "default": "[]",
31448
+ "description": "A collection of the selected options.",
31486
31449
  "inheritedFrom": {
31487
- "name": "Skeleton",
31488
- "module": "src/skeleton/skeleton.ts"
31450
+ "name": "Select",
31451
+ "module": "src/select/select.ts"
31489
31452
  }
31490
31453
  },
31491
31454
  {
31492
31455
  "kind": "field",
31493
- "name": "shimmer",
31494
- "type": {
31495
- "text": "boolean"
31496
- },
31456
+ "name": "slottedOptionFilter",
31497
31457
  "privacy": "public",
31498
- "description": "Indicates that the component has an activated shimmer effect",
31458
+ "static": true,
31459
+ "description": "A static filter to include only selectable options.",
31460
+ "parameters": [
31461
+ {
31462
+ "description": "element to filter",
31463
+ "name": "n"
31464
+ }
31465
+ ],
31499
31466
  "inheritedFrom": {
31500
- "name": "Skeleton",
31501
- "module": "src/skeleton/skeleton.ts"
31467
+ "name": "Select",
31468
+ "module": "src/select/select.ts"
31469
+ }
31470
+ },
31471
+ {
31472
+ "kind": "method",
31473
+ "name": "selectFirstOption",
31474
+ "privacy": "public",
31475
+ "return": {
31476
+ "type": {
31477
+ "text": "void"
31478
+ }
31479
+ },
31480
+ "description": "Moves focus to the first selectable option.",
31481
+ "inheritedFrom": {
31482
+ "name": "Select",
31483
+ "module": "src/select/select.ts"
31502
31484
  }
31503
31485
  },
31504
31486
  {
@@ -31510,8 +31492,8 @@
31510
31492
  "privacy": "private",
31511
31493
  "default": "void 0",
31512
31494
  "inheritedFrom": {
31513
- "name": "FoundationElement",
31514
- "module": "src/foundation-element/foundation-element.ts"
31495
+ "name": "Select",
31496
+ "module": "src/select/select.ts"
31515
31497
  }
31516
31498
  },
31517
31499
  {
@@ -31523,8 +31505,8 @@
31523
31505
  "privacy": "public",
31524
31506
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31525
31507
  "inheritedFrom": {
31526
- "name": "FoundationElement",
31527
- "module": "src/foundation-element/foundation-element.ts"
31508
+ "name": "Select",
31509
+ "module": "src/select/select.ts"
31528
31510
  }
31529
31511
  },
31530
31512
  {
@@ -31536,8 +31518,8 @@
31536
31518
  "privacy": "public",
31537
31519
  "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.",
31538
31520
  "inheritedFrom": {
31539
- "name": "FoundationElement",
31540
- "module": "src/foundation-element/foundation-element.ts"
31521
+ "name": "Select",
31522
+ "module": "src/select/select.ts"
31541
31523
  }
31542
31524
  },
31543
31525
  {
@@ -31550,8 +31532,8 @@
31550
31532
  }
31551
31533
  },
31552
31534
  "inheritedFrom": {
31553
- "name": "FoundationElement",
31554
- "module": "src/foundation-element/foundation-element.ts"
31535
+ "name": "Select",
31536
+ "module": "src/select/select.ts"
31555
31537
  }
31556
31538
  },
31557
31539
  {
@@ -31563,8 +31545,8 @@
31563
31545
  "privacy": "public",
31564
31546
  "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.",
31565
31547
  "inheritedFrom": {
31566
- "name": "FoundationElement",
31567
- "module": "src/foundation-element/foundation-element.ts"
31548
+ "name": "Select",
31549
+ "module": "src/select/select.ts"
31568
31550
  }
31569
31551
  },
31570
31552
  {
@@ -31577,8 +31559,8 @@
31577
31559
  }
31578
31560
  },
31579
31561
  "inheritedFrom": {
31580
- "name": "FoundationElement",
31581
- "module": "src/foundation-element/foundation-element.ts"
31562
+ "name": "Select",
31563
+ "module": "src/select/select.ts"
31582
31564
  }
31583
31565
  },
31584
31566
  {
@@ -31608,15 +31590,33 @@
31608
31590
  ],
31609
31591
  "description": "Defines an element registry function with a set of element definition defaults.",
31610
31592
  "inheritedFrom": {
31611
- "name": "FoundationElement",
31612
- "module": "src/foundation-element/foundation-element.ts"
31593
+ "name": "Select",
31594
+ "module": "src/select/select.ts"
31595
+ }
31596
+ }
31597
+ ],
31598
+ "events": [
31599
+ {
31600
+ "description": "Fires a custom 'input' event when the value updates",
31601
+ "name": "input",
31602
+ "inheritedFrom": {
31603
+ "name": "Select",
31604
+ "module": "src/select/select.ts"
31605
+ }
31606
+ },
31607
+ {
31608
+ "description": "Fires a custom 'change' event when the value updates",
31609
+ "name": "change",
31610
+ "inheritedFrom": {
31611
+ "name": "Select",
31612
+ "module": "src/select/select.ts"
31613
31613
  }
31614
31614
  }
31615
31615
  ]
31616
31616
  },
31617
31617
  {
31618
31618
  "kind": "variable",
31619
- "name": "foundationSkeletonShadowOptions",
31619
+ "name": "foundationSelectShadowOptions",
31620
31620
  "type": {
31621
31621
  "text": "ShadowRootInit"
31622
31622
  },
@@ -31624,50 +31624,50 @@
31624
31624
  },
31625
31625
  {
31626
31626
  "kind": "variable",
31627
- "name": "defaultSkeletonConfig",
31627
+ "name": "defaultSelectConfig",
31628
31628
  "type": {
31629
31629
  "text": "object"
31630
31630
  },
31631
- "default": "{}"
31631
+ "default": "{\n indicator: `\n <svg\n class=\"select-indicator\"\n part=\"select-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
31632
31632
  },
31633
31633
  {
31634
31634
  "kind": "variable",
31635
- "name": "foundationSkeleton",
31636
- "description": "The Foundation Skeleton",
31635
+ "name": "foundationSelect",
31636
+ "description": "The Foundation Select",
31637
31637
  "privacy": "public"
31638
31638
  }
31639
31639
  ],
31640
31640
  "exports": [
31641
31641
  {
31642
31642
  "kind": "js",
31643
- "name": "Skeleton",
31643
+ "name": "Select",
31644
31644
  "declaration": {
31645
- "name": "Skeleton",
31646
- "module": "src/skeleton/skeleton.ts"
31645
+ "name": "Select",
31646
+ "module": "src/select/select.ts"
31647
31647
  }
31648
31648
  },
31649
31649
  {
31650
31650
  "kind": "js",
31651
- "name": "foundationSkeletonShadowOptions",
31651
+ "name": "foundationSelectShadowOptions",
31652
31652
  "declaration": {
31653
- "name": "foundationSkeletonShadowOptions",
31654
- "module": "src/skeleton/skeleton.ts"
31653
+ "name": "foundationSelectShadowOptions",
31654
+ "module": "src/select/select.ts"
31655
31655
  }
31656
31656
  },
31657
31657
  {
31658
31658
  "kind": "js",
31659
- "name": "defaultSkeletonConfig",
31659
+ "name": "defaultSelectConfig",
31660
31660
  "declaration": {
31661
- "name": "defaultSkeletonConfig",
31662
- "module": "src/skeleton/skeleton.ts"
31661
+ "name": "defaultSelectConfig",
31662
+ "module": "src/select/select.ts"
31663
31663
  }
31664
31664
  },
31665
31665
  {
31666
31666
  "kind": "js",
31667
- "name": "foundationSkeleton",
31667
+ "name": "foundationSelect",
31668
31668
  "declaration": {
31669
- "name": "foundationSkeleton",
31670
- "module": "src/skeleton/skeleton.ts"
31669
+ "name": "foundationSelect",
31670
+ "module": "src/select/select.ts"
31671
31671
  }
31672
31672
  }
31673
31673
  ]