@nasa-terra/components 0.0.37 → 0.0.39

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 (226) hide show
  1. package/cdn/chunks/{chunk.AM7P6POF.js → chunk.2GZQJQXF.js} +1 -1
  2. package/cdn/chunks/{chunk.MJPCAV4X.js → chunk.2LZVZCPJ.js} +1 -1
  3. package/cdn/chunks/{chunk.YFYNQ2LP.js → chunk.2RATR5IL.js} +1 -1
  4. package/cdn/chunks/{chunk.PAVXS37O.js → chunk.2SDNKD6X.js} +5 -5
  5. package/cdn/chunks/{chunk.ERMMWTQT.js → chunk.3DCRPSPX.js} +8 -8
  6. package/cdn/chunks/{chunk.I2UJ5TMQ.js → chunk.3IM4GUH2.js} +4 -4
  7. package/cdn/chunks/{chunk.TI42JYZU.js → chunk.3JQAG6J3.js} +1 -1
  8. package/cdn/chunks/{chunk.TQWTYHB7.js → chunk.3O5I6PID.js} +1 -1
  9. package/{dist/chunks/chunk.XJJTTW2J.js → cdn/chunks/chunk.3UP7AXHO.js} +1 -1
  10. package/cdn/chunks/{chunk.MYEQHX5K.js → chunk.4TSQDMDI.js} +1 -1
  11. package/cdn/chunks/{chunk.6NAZ2AT4.js → chunk.5Z6Y53H2.js} +1 -1
  12. package/cdn/chunks/{chunk.HOHVHNUL.js → chunk.7AMMYMZE.js} +3 -9
  13. package/cdn/chunks/{chunk.54CMT7TH.js → chunk.7DSP3KWT.js} +1 -1
  14. package/{dist/chunks/chunk.BZ6AMRKE.js → cdn/chunks/chunk.7LDD4DIW.js} +1 -1
  15. package/cdn/chunks/{chunk.YD6M27CS.js → chunk.7SW2QD7I.js} +1 -1
  16. package/{dist/chunks/chunk.WH7VUSKH.js → cdn/chunks/chunk.7TMMBXYB.js} +1 -1
  17. package/cdn/chunks/{chunk.C4BEAZ4K.js → chunk.ADZXU5XX.js} +1 -1
  18. package/{dist/chunks/chunk.7IHQE7I3.js → cdn/chunks/chunk.AIM24VAU.js} +1 -1
  19. package/{dist/chunks/chunk.GXZT6PVJ.js → cdn/chunks/chunk.BI23RBMJ.js} +1 -1
  20. package/cdn/chunks/{chunk.KP4G5OAO.js → chunk.DMKUJDMA.js} +1 -1
  21. package/cdn/chunks/{chunk.ZKROGK3Z.js → chunk.DOJNPCGH.js} +1 -1
  22. package/cdn/chunks/{chunk.PVNISGKF.js → chunk.E3SQSF24.js} +1 -1
  23. package/{dist/chunks/chunk.WYLEZ7MP.js → cdn/chunks/chunk.EGMIE5O4.js} +1 -1
  24. package/cdn/chunks/{chunk.NTSMOLV3.js → chunk.EWDSK254.js} +15 -15
  25. package/cdn/chunks/{chunk.WWT6XSWY.js → chunk.GPQSV6F7.js} +1 -1
  26. package/cdn/chunks/{chunk.JCHQKTBO.js → chunk.H4OVAYSY.js} +2 -2
  27. package/cdn/chunks/{chunk.NJDYKGEB.js → chunk.IHZ3XYWT.js} +5 -5
  28. package/cdn/chunks/{chunk.GEEVIKMT.js → chunk.JDNWJYOU.js} +1 -1
  29. package/cdn/chunks/{chunk.MZ3VXY3B.js → chunk.KJSSRAR7.js} +1 -1
  30. package/cdn/chunks/{chunk.RQ75UIOW.js → chunk.L7VWUETU.js} +1 -1
  31. package/cdn/chunks/{chunk.QW5YSRHZ.js → chunk.LRUGF4RQ.js} +11 -11
  32. package/cdn/chunks/{chunk.2R7T4SRA.js → chunk.M74Q3EU2.js} +1 -1
  33. package/{dist/chunks/chunk.YMJI2FT3.js → cdn/chunks/chunk.NTNPYQQM.js} +1 -1
  34. package/{dist/chunks/chunk.64PM7PPT.js → cdn/chunks/chunk.NTXMWEYS.js} +1 -1
  35. package/cdn/chunks/{chunk.S22ENONE.js → chunk.O5D4KDHE.js} +1 -1
  36. package/cdn/chunks/{chunk.UEOLJLW7.js → chunk.OCZX4BWK.js} +1 -1
  37. package/cdn/chunks/{chunk.AS2AH5X6.js → chunk.OQRK4IVN.js} +6 -6
  38. package/{dist/chunks/chunk.FSQAHSSM.js → cdn/chunks/chunk.OTH37YIJ.js} +1 -1
  39. package/cdn/chunks/{chunk.2DTFRWJE.js → chunk.PDK4ZWKT.js} +1 -1
  40. package/cdn/chunks/{chunk.VNV2E3O5.js → chunk.SGNYHWFC.js} +1 -1
  41. package/{dist/chunks/chunk.HVX7VQC7.js → cdn/chunks/chunk.SH3H74PB.js} +1 -1
  42. package/cdn/chunks/{chunk.5J3Q36EQ.js → chunk.SNXJUGOP.js} +4 -4
  43. package/cdn/chunks/{chunk.EUR4TJVS.js → chunk.SUA6BJN7.js} +1 -1
  44. package/{dist/chunks/chunk.SZSDAZZ2.js → cdn/chunks/chunk.SYYZQ2NW.js} +1 -1
  45. package/cdn/chunks/{chunk.CQ6BQKJN.js → chunk.THDNMGNP.js} +1 -1
  46. package/cdn/chunks/{chunk.KYARNKA7.js → chunk.TPDHN3WZ.js} +1 -1
  47. package/cdn/chunks/{chunk.CII3ZHGI.js → chunk.VG3AI2B6.js} +1 -1
  48. package/cdn/chunks/{chunk.WJ267QEV.js → chunk.WO6XLKZ7.js} +1 -1
  49. package/cdn/chunks/{chunk.DLGT5VFA.js → chunk.WUN5QR4Z.js} +1 -1
  50. package/{dist/chunks/chunk.QR64NHE7.js → cdn/chunks/chunk.YHA4JFNQ.js} +1 -1
  51. package/{dist/chunks/chunk.GIVTV57T.js → cdn/chunks/chunk.ZKQPYA43.js} +1 -1
  52. package/cdn/chunks/{chunk.A5S3CXZX.js → chunk.ZSMPJWKR.js} +1 -1
  53. package/cdn/components/browse-variables/browse-variables.component.js +15 -15
  54. package/cdn/components/browse-variables/browse-variables.js +16 -16
  55. package/cdn/components/button/button.component.js +4 -4
  56. package/cdn/components/button/button.js +5 -5
  57. package/cdn/components/chip/chip.component.js +2 -2
  58. package/cdn/components/chip/chip.js +3 -3
  59. package/cdn/components/combobox/combobox.component.js +3 -3
  60. package/cdn/components/combobox/combobox.js +4 -4
  61. package/cdn/components/date-picker/date-picker.component.d.ts +1 -0
  62. package/cdn/components/date-picker/date-picker.component.js +2 -2
  63. package/cdn/components/date-picker/date-picker.js +3 -3
  64. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  65. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  66. package/cdn/components/dialog/dialog.component.js +2 -2
  67. package/cdn/components/dialog/dialog.js +3 -3
  68. package/cdn/components/icon/icon.component.js +2 -2
  69. package/cdn/components/icon/icon.js +3 -3
  70. package/cdn/components/loader/loader.component.js +2 -2
  71. package/cdn/components/loader/loader.js +3 -3
  72. package/cdn/components/login/login.component.js +11 -11
  73. package/cdn/components/login/login.js +12 -12
  74. package/cdn/components/map/map.component.js +2 -2
  75. package/cdn/components/map/map.js +3 -3
  76. package/cdn/components/plot/plot.component.js +2 -2
  77. package/cdn/components/plot/plot.js +3 -3
  78. package/cdn/components/skeleton/skeleton.component.js +2 -2
  79. package/cdn/components/skeleton/skeleton.js +3 -3
  80. package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
  81. package/cdn/components/spatial-picker/spatial-picker.js +4 -4
  82. package/cdn/components/time-series/time-series.component.js +17 -17
  83. package/cdn/components/time-series/time-series.js +18 -18
  84. package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
  85. package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
  86. package/cdn/components/variable-combobox/variable-combobox.js +10 -10
  87. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  88. package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
  89. package/cdn/custom-elements.json +709 -701
  90. package/cdn/react/browse-variables/index.js +16 -16
  91. package/cdn/react/button/index.js +5 -5
  92. package/cdn/react/chip/index.js +3 -3
  93. package/cdn/react/combobox/index.js +4 -4
  94. package/cdn/react/date-picker/index.js +3 -3
  95. package/cdn/react/date-range-slider/index.js +4 -4
  96. package/cdn/react/dialog/index.js +3 -3
  97. package/cdn/react/icon/index.js +3 -3
  98. package/cdn/react/index.d.ts +4 -4
  99. package/cdn/react/index.js +60 -60
  100. package/cdn/react/loader/index.js +3 -3
  101. package/cdn/react/login/index.js +12 -12
  102. package/cdn/react/map/index.js +3 -3
  103. package/cdn/react/plot/index.js +3 -3
  104. package/cdn/react/skeleton/index.js +3 -3
  105. package/cdn/react/spatial-picker/index.js +4 -4
  106. package/cdn/react/time-series/index.js +18 -18
  107. package/cdn/react/variable-combobox/index.js +10 -10
  108. package/cdn/react/variable-keyword-search/index.js +10 -10
  109. package/cdn/terra-ui-components.js +54 -54
  110. package/cdn/types/vue/index.d.ts +99 -97
  111. package/cdn/vscode.html-custom-data.json +81 -81
  112. package/cdn/web-types.json +162 -161
  113. package/dist/chunks/{chunk.GAVG5HP6.js → chunk.23ZVN5EA.js} +1 -1
  114. package/dist/chunks/{chunk.4LFXMKEM.js → chunk.2E2CCWL3.js} +1 -1
  115. package/dist/chunks/{chunk.GDHI546G.js → chunk.2Q4AVXII.js} +1 -1
  116. package/dist/chunks/{chunk.7NGASFIR.js → chunk.3BASQDED.js} +4 -4
  117. package/{cdn/chunks/chunk.JMGGTUC4.js → dist/chunks/chunk.3EVPTH7Q.js} +1 -1
  118. package/dist/chunks/{chunk.NINU5TMJ.js → chunk.3K3DIFS7.js} +1 -1
  119. package/{cdn/chunks/chunk.RURMFGL7.js → dist/chunks/chunk.4GJDVKY4.js} +1 -1
  120. package/dist/chunks/{chunk.D62ZSC6Y.js → chunk.4N5OSH4R.js} +1 -1
  121. package/{cdn/chunks/chunk.75KXULZ4.js → dist/chunks/chunk.6ACDZL3V.js} +1 -1
  122. package/{cdn/chunks/chunk.6JAIDGSZ.js → dist/chunks/chunk.6NHB27JI.js} +1 -1
  123. package/dist/chunks/{chunk.ANGZK3NS.js → chunk.7SXUEIQ4.js} +3 -9
  124. package/dist/chunks/{chunk.RI7KOLNW.js → chunk.A44TYBTC.js} +4 -4
  125. package/dist/chunks/{chunk.JBRFRYKX.js → chunk.A7RVSV3N.js} +1 -1
  126. package/dist/chunks/{chunk.VHVMAWBQ.js → chunk.ADHCIOJW.js} +1 -1
  127. package/dist/chunks/{chunk.L3ZH6E35.js → chunk.AIKIHOED.js} +3 -3
  128. package/{cdn/chunks/chunk.535QAFMG.js → dist/chunks/chunk.BFSWYDIG.js} +1 -1
  129. package/dist/chunks/{chunk.IMUUAEKM.js → chunk.CMLZ7MSY.js} +1 -1
  130. package/dist/chunks/{chunk.73U232KB.js → chunk.D5KQLFSZ.js} +4 -4
  131. package/dist/chunks/{chunk.EFQGLV2P.js → chunk.EAZW525Y.js} +1 -1
  132. package/{cdn/chunks/chunk.UX63QROP.js → dist/chunks/chunk.GIXQAFSH.js} +1 -1
  133. package/dist/chunks/{chunk.X4YG2IGE.js → chunk.GSBU3HCI.js} +1 -1
  134. package/{cdn/chunks/chunk.M4VVGFUP.js → dist/chunks/chunk.INPIIJ3C.js} +1 -1
  135. package/dist/chunks/{chunk.HAE3OLZR.js → chunk.IWD7L5OQ.js} +4 -4
  136. package/dist/chunks/{chunk.NCG6LHDO.js → chunk.JGQOYG67.js} +1 -1
  137. package/dist/chunks/{chunk.5VIO7FDQ.js → chunk.JH6Q23IS.js} +12 -12
  138. package/dist/chunks/{chunk.HNCT22DF.js → chunk.JKLZ2XGQ.js} +3 -3
  139. package/dist/chunks/{chunk.MFETQN6I.js → chunk.K5LP3T3Q.js} +1 -1
  140. package/{cdn/chunks/chunk.BHXUWISZ.js → dist/chunks/chunk.KM6TUVN2.js} +1 -1
  141. package/dist/chunks/{chunk.54D3Y3BS.js → chunk.LHQ64GB7.js} +1 -1
  142. package/dist/chunks/{chunk.JYXXP5EU.js → chunk.M6RTQEUM.js} +1 -1
  143. package/dist/chunks/{chunk.TCRD4E4N.js → chunk.NPEMJVWS.js} +1 -1
  144. package/dist/chunks/{chunk.BTAQW7FZ.js → chunk.NQU63M3Z.js} +1 -1
  145. package/dist/chunks/{chunk.ZC6BJWF4.js → chunk.O7VQAMLS.js} +1 -1
  146. package/dist/chunks/{chunk.MW42IQDC.js → chunk.OIQOQZUT.js} +1 -1
  147. package/dist/chunks/{chunk.PO5WL3ZZ.js → chunk.PIRKHHLY.js} +1 -1
  148. package/dist/chunks/{chunk.DD4CUX5J.js → chunk.QDBP67EO.js} +1 -1
  149. package/{cdn/chunks/chunk.3KYHELRL.js → dist/chunks/chunk.RAH6M7UH.js} +1 -1
  150. package/{cdn/chunks/chunk.3LL3DZ76.js → dist/chunks/chunk.RU67BZOL.js} +1 -1
  151. package/dist/chunks/{chunk.F4DXZCTW.js → chunk.S5TOWD24.js} +2 -2
  152. package/dist/chunks/{chunk.HVRL22VW.js → chunk.S6KPB5VM.js} +1 -1
  153. package/dist/chunks/{chunk.OQZGGABQ.js → chunk.T5IZH6LP.js} +1 -1
  154. package/dist/chunks/{chunk.XAYFDNEB.js → chunk.TNESBPP7.js} +1 -1
  155. package/dist/chunks/{chunk.UZRV6ECG.js → chunk.TZMVKAIX.js} +1 -1
  156. package/dist/chunks/{chunk.MP5N54BF.js → chunk.VXQPT4AX.js} +1 -1
  157. package/dist/chunks/{chunk.XE6C4Z7F.js → chunk.WOM2WVS4.js} +1 -1
  158. package/dist/chunks/{chunk.6VU5JU2G.js → chunk.WW47YJFX.js} +1 -1
  159. package/dist/chunks/{chunk.75NH3JFU.js → chunk.X4I4T3Y6.js} +1 -1
  160. package/{cdn/chunks/chunk.ZSSPPW3K.js → dist/chunks/chunk.XBY4QOFR.js} +1 -1
  161. package/dist/chunks/{chunk.RGV4ZWO3.js → chunk.ZAWCSBDT.js} +8 -8
  162. package/{cdn/chunks/chunk.77CEYPBS.js → dist/chunks/chunk.ZTBBJMWB.js} +1 -1
  163. package/dist/chunks/{chunk.FIPPC6BZ.js → chunk.ZVCVUEA4.js} +1 -1
  164. package/{cdn/chunks/chunk.ZFULM7LI.js → dist/chunks/chunk.ZXMKER76.js} +1 -1
  165. package/dist/components/browse-variables/browse-variables.component.js +12 -12
  166. package/dist/components/browse-variables/browse-variables.js +13 -13
  167. package/dist/components/button/button.component.js +3 -3
  168. package/dist/components/button/button.js +4 -4
  169. package/dist/components/chip/chip.component.js +2 -2
  170. package/dist/components/chip/chip.js +3 -3
  171. package/dist/components/combobox/combobox.component.js +3 -3
  172. package/dist/components/combobox/combobox.js +4 -4
  173. package/dist/components/date-picker/date-picker.component.d.ts +1 -0
  174. package/dist/components/date-picker/date-picker.component.js +2 -2
  175. package/dist/components/date-picker/date-picker.js +3 -3
  176. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  177. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  178. package/dist/components/dialog/dialog.component.js +2 -2
  179. package/dist/components/dialog/dialog.js +3 -3
  180. package/dist/components/icon/icon.component.js +2 -2
  181. package/dist/components/icon/icon.js +3 -3
  182. package/dist/components/loader/loader.component.js +2 -2
  183. package/dist/components/loader/loader.js +3 -3
  184. package/dist/components/login/login.component.js +9 -9
  185. package/dist/components/login/login.js +10 -10
  186. package/dist/components/map/map.component.js +2 -2
  187. package/dist/components/map/map.js +3 -3
  188. package/dist/components/plot/plot.component.js +2 -2
  189. package/dist/components/plot/plot.js +3 -3
  190. package/dist/components/skeleton/skeleton.component.js +2 -2
  191. package/dist/components/skeleton/skeleton.js +3 -3
  192. package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
  193. package/dist/components/spatial-picker/spatial-picker.js +4 -4
  194. package/dist/components/time-series/time-series.component.js +15 -15
  195. package/dist/components/time-series/time-series.js +16 -16
  196. package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
  197. package/dist/components/variable-combobox/variable-combobox.js +8 -8
  198. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
  199. package/dist/components/variable-keyword-search/variable-keyword-search.js +8 -8
  200. package/dist/custom-elements.json +709 -701
  201. package/dist/react/browse-variables/index.js +13 -13
  202. package/dist/react/button/index.js +4 -4
  203. package/dist/react/chip/index.js +3 -3
  204. package/dist/react/combobox/index.js +4 -4
  205. package/dist/react/date-picker/index.js +3 -3
  206. package/dist/react/date-range-slider/index.js +4 -4
  207. package/dist/react/dialog/index.js +3 -3
  208. package/dist/react/icon/index.js +3 -3
  209. package/dist/react/index.d.ts +4 -4
  210. package/dist/react/index.js +57 -57
  211. package/dist/react/loader/index.js +3 -3
  212. package/dist/react/login/index.js +10 -10
  213. package/dist/react/map/index.js +3 -3
  214. package/dist/react/plot/index.js +3 -3
  215. package/dist/react/skeleton/index.js +3 -3
  216. package/dist/react/spatial-picker/index.js +4 -4
  217. package/dist/react/time-series/index.js +16 -16
  218. package/dist/react/variable-combobox/index.js +8 -8
  219. package/dist/react/variable-keyword-search/index.js +8 -8
  220. package/dist/terra-ui-components.js +51 -51
  221. package/dist/{terra_ui_components-0.0.37-py3-none-any.whl → terra_ui_components-0.0.39-py3-none-any.whl} +0 -0
  222. package/dist/{terra_ui_components-0.0.37.tar.gz → terra_ui_components-0.0.39.tar.gz} +0 -0
  223. package/dist/types/vue/index.d.ts +99 -97
  224. package/dist/vscode.html-custom-data.json +81 -81
  225. package/dist/web-types.json +162 -161
  226. package/package.json +1 -1
@@ -2,331 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "components/browse-variables/browse-variables.js",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "",
12
- "name": "TerraBrowseVariables",
13
- "members": [
14
- {
15
- "kind": "field",
16
- "name": "dependencies",
17
- "type": {
18
- "text": "object"
19
- },
20
- "static": true,
21
- "default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
22
- },
23
- {
24
- "kind": "field",
25
- "name": "catalog",
26
- "type": {
27
- "text": "'giovanni'"
28
- },
29
- "default": "'giovanni'",
30
- "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
31
- "attribute": "catalog"
32
- },
33
- {
34
- "kind": "field",
35
- "name": "searchQuery",
36
- "type": {
37
- "text": "string"
38
- }
39
- },
40
- {
41
- "kind": "field",
42
- "name": "selectedFacets",
43
- "type": {
44
- "text": "SelectedFacets"
45
- },
46
- "default": "{}"
47
- },
48
- {
49
- "kind": "field",
50
- "name": "selectedVariables",
51
- "type": {
52
- "text": "Variable[]"
53
- },
54
- "default": "[]"
55
- },
56
- {
57
- "kind": "field",
58
- "name": "showVariablesBrowse",
59
- "type": {
60
- "text": "boolean"
61
- },
62
- "default": "false"
63
- },
64
- {
65
- "kind": "field",
66
- "name": "#controller",
67
- "privacy": "private",
68
- "default": "new BrowseVariablesController(this)"
69
- },
70
- {
71
- "kind": "method",
72
- "name": "handleSelectedVariablesChange"
73
- },
74
- {
75
- "kind": "method",
76
- "name": "reset"
77
- },
78
- {
79
- "kind": "method",
80
- "name": "handleObservationChange"
81
- },
82
- {
83
- "kind": "method",
84
- "name": "toggleFacetSelect",
85
- "parameters": [
86
- {
87
- "name": "event",
88
- "type": {
89
- "text": "Event"
90
- }
91
- }
92
- ]
93
- },
94
- {
95
- "kind": "method",
96
- "name": "handleSearch",
97
- "parameters": [
98
- {
99
- "name": "e",
100
- "type": {
101
- "text": "TerraVariableKeywordSearchChangeEvent"
102
- }
103
- }
104
- ]
105
- },
106
- {
107
- "kind": "method",
108
- "name": "#selectFacetField",
109
- "parameters": [
110
- {
111
- "name": "facet",
112
- "type": {
113
- "text": "string"
114
- }
115
- },
116
- {
117
- "name": "field",
118
- "type": {
119
- "text": "string"
120
- }
121
- },
122
- {
123
- "name": "selectOneFieldAtATime",
124
- "default": "false",
125
- "type": {
126
- "text": "boolean"
127
- }
128
- }
129
- ],
130
- "description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
131
- },
132
- {
133
- "kind": "method",
134
- "name": "#clearFacet",
135
- "parameters": [
136
- {
137
- "name": "facet",
138
- "type": {
139
- "text": "string"
140
- }
141
- }
142
- ]
143
- },
144
- {
145
- "kind": "method",
146
- "name": "#unselectFacetField",
147
- "parameters": [
148
- {
149
- "name": "facet",
150
- "type": {
151
- "text": "string"
152
- }
153
- },
154
- {
155
- "name": "field",
156
- "type": {
157
- "text": "string"
158
- }
159
- }
160
- ]
161
- },
162
- {
163
- "kind": "method",
164
- "name": "#handleVariableSelection",
165
- "parameters": [
166
- {
167
- "name": "variable",
168
- "type": {
169
- "text": "Variable"
170
- }
171
- },
172
- {
173
- "name": "checked",
174
- "type": {
175
- "text": "Boolean"
176
- }
177
- }
178
- ]
179
- },
180
- {
181
- "kind": "method",
182
- "name": "#renderCategorySelect"
183
- },
184
- {
185
- "kind": "method",
186
- "name": "#renderFacet",
187
- "parameters": [
188
- {
189
- "name": "facetKey",
190
- "type": {
191
- "text": "string"
192
- }
193
- },
194
- {
195
- "name": "title",
196
- "type": {
197
- "text": "string"
198
- }
199
- },
200
- {
201
- "name": "fields",
202
- "optional": true,
203
- "type": {
204
- "text": "FacetField[]"
205
- }
206
- },
207
- {
208
- "name": "open",
209
- "optional": true,
210
- "type": {
211
- "text": "boolean"
212
- }
213
- }
214
- ]
215
- },
216
- {
217
- "kind": "method",
218
- "name": "#renderVariablesBrowse"
219
- }
220
- ],
221
- "attributes": [
222
- {
223
- "name": "catalog",
224
- "type": {
225
- "text": "'giovanni'"
226
- },
227
- "default": "'giovanni'",
228
- "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
229
- "fieldName": "catalog"
230
- }
231
- ],
232
- "superclass": {
233
- "name": "TerraElement",
234
- "module": "/src/internal/terra-element.js"
235
- },
236
- "summary": "Browse through the NASA CMR or Giovanni catalogs.",
237
- "tagNameWithoutPrefix": "browse-variables",
238
- "tagName": "terra-browse-variables",
239
- "customElement": true,
240
- "jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
241
- "documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
242
- "status": "MVP",
243
- "since": "1.0",
244
- "dependencies": [
245
- "terra-variable-keyword-search",
246
- "terra-button",
247
- "terra-skeleton",
248
- "terra-icon",
249
- "terra-loader"
250
- ]
251
- }
252
- ],
253
- "exports": [
254
- {
255
- "kind": "js",
256
- "name": "default",
257
- "declaration": {
258
- "name": "TerraBrowseVariables",
259
- "module": "components/browse-variables/browse-variables.js"
260
- }
261
- }
262
- ]
263
- },
264
- {
265
- "kind": "javascript-module",
266
- "path": "components/chip/chip.js",
267
- "declarations": [
268
- {
269
- "kind": "class",
270
- "description": "",
271
- "name": "TerraChip",
272
- "slots": [
273
- {
274
- "description": "The chip's label.",
275
- "name": ""
276
- }
277
- ],
278
- "members": [
279
- {
280
- "kind": "field",
281
- "name": "size",
282
- "type": {
283
- "text": "'small' | 'medium' | 'large'"
284
- },
285
- "default": "'medium'",
286
- "attribute": "size",
287
- "reflects": true
288
- },
289
- {
290
- "kind": "field",
291
- "name": "#handleRemoveClick",
292
- "privacy": "private"
293
- }
294
- ],
295
- "attributes": [
296
- {
297
- "name": "size",
298
- "type": {
299
- "text": "'small' | 'medium' | 'large'"
300
- },
301
- "default": "'medium'",
302
- "fieldName": "size"
303
- }
304
- ],
305
- "superclass": {
306
- "name": "TerraElement",
307
- "module": "/src/internal/terra-element.js"
308
- },
309
- "summary": "Used for contacts and tags",
310
- "tagNameWithoutPrefix": "chip",
311
- "tagName": "terra-chip",
312
- "customElement": true,
313
- "jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
314
- "documentation": "https://disc.gsfc.nasa.gov/components/chip",
315
- "status": "stable",
316
- "since": "1.0"
317
- }
318
- ],
319
- "exports": [
320
- {
321
- "kind": "js",
322
- "name": "default",
323
- "declaration": {
324
- "name": "TerraChip",
325
- "module": "components/chip/chip.js"
326
- }
327
- }
328
- ]
329
- },
330
5
  {
331
6
  "kind": "javascript-module",
332
7
  "path": "components/button/button.js",
@@ -992,32 +667,98 @@
992
667
  {
993
668
  "name": "formtarget",
994
669
  "type": {
995
- "text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
670
+ "text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
671
+ },
672
+ "description": "Used to override the form owner's `target` attribute.",
673
+ "fieldName": "formTarget"
674
+ },
675
+ {
676
+ "name": "for-dialog",
677
+ "type": {
678
+ "text": "string | undefined"
679
+ },
680
+ "description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
681
+ "fieldName": "forDialog"
682
+ }
683
+ ],
684
+ "superclass": {
685
+ "name": "TerraElement",
686
+ "module": "/src/internal/terra-element.js"
687
+ },
688
+ "summary": "Buttons represent actions that are available to the user.",
689
+ "tagNameWithoutPrefix": "button",
690
+ "tagName": "terra-button",
691
+ "customElement": true,
692
+ "jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://shoelace.style/components/button\n * @status stable\n * @since 2.0\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<sl-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
693
+ "documentation": "https://shoelace.style/components/button",
694
+ "status": "stable",
695
+ "since": "2.0"
696
+ }
697
+ ],
698
+ "exports": [
699
+ {
700
+ "kind": "js",
701
+ "name": "default",
702
+ "declaration": {
703
+ "name": "TerraButton",
704
+ "module": "components/button/button.js"
705
+ }
706
+ }
707
+ ]
708
+ },
709
+ {
710
+ "kind": "javascript-module",
711
+ "path": "components/chip/chip.js",
712
+ "declarations": [
713
+ {
714
+ "kind": "class",
715
+ "description": "",
716
+ "name": "TerraChip",
717
+ "slots": [
718
+ {
719
+ "description": "The chip's label.",
720
+ "name": ""
721
+ }
722
+ ],
723
+ "members": [
724
+ {
725
+ "kind": "field",
726
+ "name": "size",
727
+ "type": {
728
+ "text": "'small' | 'medium' | 'large'"
996
729
  },
997
- "description": "Used to override the form owner's `target` attribute.",
998
- "fieldName": "formTarget"
730
+ "default": "'medium'",
731
+ "attribute": "size",
732
+ "reflects": true
999
733
  },
1000
734
  {
1001
- "name": "for-dialog",
735
+ "kind": "field",
736
+ "name": "#handleRemoveClick",
737
+ "privacy": "private"
738
+ }
739
+ ],
740
+ "attributes": [
741
+ {
742
+ "name": "size",
1002
743
  "type": {
1003
- "text": "string | undefined"
744
+ "text": "'small' | 'medium' | 'large'"
1004
745
  },
1005
- "description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
1006
- "fieldName": "forDialog"
746
+ "default": "'medium'",
747
+ "fieldName": "size"
1007
748
  }
1008
749
  ],
1009
750
  "superclass": {
1010
751
  "name": "TerraElement",
1011
752
  "module": "/src/internal/terra-element.js"
1012
753
  },
1013
- "summary": "Buttons represent actions that are available to the user.",
1014
- "tagNameWithoutPrefix": "button",
1015
- "tagName": "terra-button",
754
+ "summary": "Used for contacts and tags",
755
+ "tagNameWithoutPrefix": "chip",
756
+ "tagName": "terra-chip",
1016
757
  "customElement": true,
1017
- "jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://shoelace.style/components/button\n * @status stable\n * @since 2.0\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<sl-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
1018
- "documentation": "https://shoelace.style/components/button",
758
+ "jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
759
+ "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1019
760
  "status": "stable",
1020
- "since": "2.0"
761
+ "since": "1.0"
1021
762
  }
1022
763
  ],
1023
764
  "exports": [
@@ -1025,8 +766,8 @@
1025
766
  "kind": "js",
1026
767
  "name": "default",
1027
768
  "declaration": {
1028
- "name": "TerraButton",
1029
- "module": "components/button/button.js"
769
+ "name": "TerraChip",
770
+ "module": "components/chip/chip.js"
1030
771
  }
1031
772
  }
1032
773
  ]
@@ -1318,62 +1059,321 @@
1318
1059
  "fieldName": "name"
1319
1060
  },
1320
1061
  {
1321
- "name": "placeholder",
1322
- "type": {
1323
- "text": "string"
1324
- },
1325
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1326
- "fieldName": "placeholder"
1062
+ "name": "placeholder",
1063
+ "type": {
1064
+ "text": "string"
1065
+ },
1066
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1067
+ "fieldName": "placeholder"
1068
+ },
1069
+ {
1070
+ "name": "hide-help",
1071
+ "type": {
1072
+ "text": "boolean"
1073
+ },
1074
+ "default": "false",
1075
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1076
+ "fieldName": "hideHelp"
1077
+ },
1078
+ {
1079
+ "name": "hide-label",
1080
+ "type": {
1081
+ "text": "boolean"
1082
+ },
1083
+ "default": "false",
1084
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1085
+ "fieldName": "hideLabel"
1086
+ },
1087
+ {
1088
+ "name": "status",
1089
+ "type": {
1090
+ "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1091
+ },
1092
+ "default": "'INITIAL'",
1093
+ "description": "status of the content",
1094
+ "fieldName": "status"
1095
+ },
1096
+ {
1097
+ "name": "content",
1098
+ "type": {
1099
+ "text": "Content"
1100
+ },
1101
+ "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1102
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1103
+ "fieldName": "content"
1104
+ }
1105
+ ],
1106
+ "superclass": {
1107
+ "name": "TerraElement",
1108
+ "module": "/src/internal/terra-element.js"
1109
+ },
1110
+ "summary": "Fuzzy-search for combobox with list autocomplete.",
1111
+ "tagNameWithoutPrefix": "combobox",
1112
+ "tagName": "terra-combobox",
1113
+ "customElement": true,
1114
+ "jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
1115
+ "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1116
+ "status": "experimental",
1117
+ "since": "1.0"
1118
+ }
1119
+ ],
1120
+ "exports": [
1121
+ {
1122
+ "kind": "js",
1123
+ "name": "default",
1124
+ "declaration": {
1125
+ "name": "TerraCombobox",
1126
+ "module": "components/combobox/combobox.js"
1127
+ }
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ "kind": "javascript-module",
1133
+ "path": "components/browse-variables/browse-variables.js",
1134
+ "declarations": [
1135
+ {
1136
+ "kind": "class",
1137
+ "description": "",
1138
+ "name": "TerraBrowseVariables",
1139
+ "members": [
1140
+ {
1141
+ "kind": "field",
1142
+ "name": "dependencies",
1143
+ "type": {
1144
+ "text": "object"
1145
+ },
1146
+ "static": true,
1147
+ "default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
1148
+ },
1149
+ {
1150
+ "kind": "field",
1151
+ "name": "catalog",
1152
+ "type": {
1153
+ "text": "'giovanni'"
1154
+ },
1155
+ "default": "'giovanni'",
1156
+ "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
1157
+ "attribute": "catalog"
1158
+ },
1159
+ {
1160
+ "kind": "field",
1161
+ "name": "searchQuery",
1162
+ "type": {
1163
+ "text": "string"
1164
+ }
1165
+ },
1166
+ {
1167
+ "kind": "field",
1168
+ "name": "selectedFacets",
1169
+ "type": {
1170
+ "text": "SelectedFacets"
1171
+ },
1172
+ "default": "{}"
1173
+ },
1174
+ {
1175
+ "kind": "field",
1176
+ "name": "selectedVariables",
1177
+ "type": {
1178
+ "text": "Variable[]"
1179
+ },
1180
+ "default": "[]"
1181
+ },
1182
+ {
1183
+ "kind": "field",
1184
+ "name": "showVariablesBrowse",
1185
+ "type": {
1186
+ "text": "boolean"
1187
+ },
1188
+ "default": "false"
1189
+ },
1190
+ {
1191
+ "kind": "field",
1192
+ "name": "#controller",
1193
+ "privacy": "private",
1194
+ "default": "new BrowseVariablesController(this)"
1195
+ },
1196
+ {
1197
+ "kind": "method",
1198
+ "name": "handleSelectedVariablesChange"
1199
+ },
1200
+ {
1201
+ "kind": "method",
1202
+ "name": "reset"
1203
+ },
1204
+ {
1205
+ "kind": "method",
1206
+ "name": "handleObservationChange"
1207
+ },
1208
+ {
1209
+ "kind": "method",
1210
+ "name": "toggleFacetSelect",
1211
+ "parameters": [
1212
+ {
1213
+ "name": "event",
1214
+ "type": {
1215
+ "text": "Event"
1216
+ }
1217
+ }
1218
+ ]
1219
+ },
1220
+ {
1221
+ "kind": "method",
1222
+ "name": "handleSearch",
1223
+ "parameters": [
1224
+ {
1225
+ "name": "e",
1226
+ "type": {
1227
+ "text": "TerraVariableKeywordSearchChangeEvent"
1228
+ }
1229
+ }
1230
+ ]
1231
+ },
1232
+ {
1233
+ "kind": "method",
1234
+ "name": "#selectFacetField",
1235
+ "parameters": [
1236
+ {
1237
+ "name": "facet",
1238
+ "type": {
1239
+ "text": "string"
1240
+ }
1241
+ },
1242
+ {
1243
+ "name": "field",
1244
+ "type": {
1245
+ "text": "string"
1246
+ }
1247
+ },
1248
+ {
1249
+ "name": "selectOneFieldAtATime",
1250
+ "default": "false",
1251
+ "type": {
1252
+ "text": "boolean"
1253
+ }
1254
+ }
1255
+ ],
1256
+ "description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
1257
+ },
1258
+ {
1259
+ "kind": "method",
1260
+ "name": "#clearFacet",
1261
+ "parameters": [
1262
+ {
1263
+ "name": "facet",
1264
+ "type": {
1265
+ "text": "string"
1266
+ }
1267
+ }
1268
+ ]
1269
+ },
1270
+ {
1271
+ "kind": "method",
1272
+ "name": "#unselectFacetField",
1273
+ "parameters": [
1274
+ {
1275
+ "name": "facet",
1276
+ "type": {
1277
+ "text": "string"
1278
+ }
1279
+ },
1280
+ {
1281
+ "name": "field",
1282
+ "type": {
1283
+ "text": "string"
1284
+ }
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "kind": "method",
1290
+ "name": "#handleVariableSelection",
1291
+ "parameters": [
1292
+ {
1293
+ "name": "variable",
1294
+ "type": {
1295
+ "text": "Variable"
1296
+ }
1297
+ },
1298
+ {
1299
+ "name": "checked",
1300
+ "type": {
1301
+ "text": "Boolean"
1302
+ }
1303
+ }
1304
+ ]
1327
1305
  },
1328
1306
  {
1329
- "name": "hide-help",
1330
- "type": {
1331
- "text": "boolean"
1332
- },
1333
- "default": "false",
1334
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1335
- "fieldName": "hideHelp"
1307
+ "kind": "method",
1308
+ "name": "#renderCategorySelect"
1336
1309
  },
1337
1310
  {
1338
- "name": "hide-label",
1339
- "type": {
1340
- "text": "boolean"
1341
- },
1342
- "default": "false",
1343
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1344
- "fieldName": "hideLabel"
1311
+ "kind": "method",
1312
+ "name": "#renderFacet",
1313
+ "parameters": [
1314
+ {
1315
+ "name": "facetKey",
1316
+ "type": {
1317
+ "text": "string"
1318
+ }
1319
+ },
1320
+ {
1321
+ "name": "title",
1322
+ "type": {
1323
+ "text": "string"
1324
+ }
1325
+ },
1326
+ {
1327
+ "name": "fields",
1328
+ "optional": true,
1329
+ "type": {
1330
+ "text": "FacetField[]"
1331
+ }
1332
+ },
1333
+ {
1334
+ "name": "open",
1335
+ "optional": true,
1336
+ "type": {
1337
+ "text": "boolean"
1338
+ }
1339
+ }
1340
+ ]
1345
1341
  },
1346
1342
  {
1347
- "name": "status",
1348
- "type": {
1349
- "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1350
- },
1351
- "default": "'INITIAL'",
1352
- "description": "status of the content",
1353
- "fieldName": "status"
1354
- },
1343
+ "kind": "method",
1344
+ "name": "#renderVariablesBrowse"
1345
+ }
1346
+ ],
1347
+ "attributes": [
1355
1348
  {
1356
- "name": "content",
1349
+ "name": "catalog",
1357
1350
  "type": {
1358
- "text": "Content"
1351
+ "text": "'giovanni'"
1359
1352
  },
1360
- "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1361
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1362
- "fieldName": "content"
1353
+ "default": "'giovanni'",
1354
+ "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
1355
+ "fieldName": "catalog"
1363
1356
  }
1364
1357
  ],
1365
1358
  "superclass": {
1366
1359
  "name": "TerraElement",
1367
1360
  "module": "/src/internal/terra-element.js"
1368
1361
  },
1369
- "summary": "Fuzzy-search for combobox with list autocomplete.",
1370
- "tagNameWithoutPrefix": "combobox",
1371
- "tagName": "terra-combobox",
1362
+ "summary": "Browse through the NASA CMR or Giovanni catalogs.",
1363
+ "tagNameWithoutPrefix": "browse-variables",
1364
+ "tagName": "terra-browse-variables",
1372
1365
  "customElement": true,
1373
- "jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
1374
- "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1375
- "status": "experimental",
1376
- "since": "1.0"
1366
+ "jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
1367
+ "documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
1368
+ "status": "MVP",
1369
+ "since": "1.0",
1370
+ "dependencies": [
1371
+ "terra-variable-keyword-search",
1372
+ "terra-button",
1373
+ "terra-skeleton",
1374
+ "terra-icon",
1375
+ "terra-loader"
1376
+ ]
1377
1377
  }
1378
1378
  ],
1379
1379
  "exports": [
@@ -1381,8 +1381,8 @@
1381
1381
  "kind": "js",
1382
1382
  "name": "default",
1383
1383
  "declaration": {
1384
- "name": "TerraCombobox",
1385
- "module": "components/combobox/combobox.js"
1384
+ "name": "TerraBrowseVariables",
1385
+ "module": "components/browse-variables/browse-variables.js"
1386
1386
  }
1387
1387
  }
1388
1388
  ]
@@ -1412,6 +1412,14 @@
1412
1412
  }
1413
1413
  ],
1414
1414
  "members": [
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "selectedDates",
1418
+ "type": {
1419
+ "text": "Date[]"
1420
+ },
1421
+ "default": "[]"
1422
+ },
1415
1423
  {
1416
1424
  "kind": "field",
1417
1425
  "name": "id",
@@ -2635,23 +2643,155 @@
2635
2643
  ],
2636
2644
  "events": [
2637
2645
  {
2638
- "description": "Emitted when a bearer token has been received from EDL.",
2639
- "name": "terra-login",
2640
- "reactName": "onTerraLogin",
2641
- "eventName": "TerraLoginEvent"
2646
+ "description": "Emitted when a bearer token has been received from EDL.",
2647
+ "name": "terra-login",
2648
+ "reactName": "onTerraLogin",
2649
+ "eventName": "TerraLoginEvent"
2650
+ }
2651
+ ],
2652
+ "superclass": {
2653
+ "name": "TerraElement",
2654
+ "module": "/src/internal/terra-element.js"
2655
+ },
2656
+ "summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
2657
+ "tagNameWithoutPrefix": "login",
2658
+ "tagName": "terra-login",
2659
+ "customElement": true,
2660
+ "jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
2661
+ "documentation": "https://disc.gsfc.nasa.gov/components/login",
2662
+ "status": "stable",
2663
+ "since": "1.0"
2664
+ }
2665
+ ],
2666
+ "exports": [
2667
+ {
2668
+ "kind": "js",
2669
+ "name": "default",
2670
+ "declaration": {
2671
+ "name": "TerraLogin",
2672
+ "module": "components/login/login.js"
2673
+ }
2674
+ }
2675
+ ]
2676
+ },
2677
+ {
2678
+ "kind": "javascript-module",
2679
+ "path": "components/plot/plot.js",
2680
+ "declarations": [
2681
+ {
2682
+ "kind": "class",
2683
+ "description": "",
2684
+ "name": "TerraPlot",
2685
+ "cssParts": [
2686
+ {
2687
+ "description": "The component's base wrapper.",
2688
+ "name": "base"
2689
+ }
2690
+ ],
2691
+ "members": [
2692
+ {
2693
+ "kind": "field",
2694
+ "name": "#resizeObserver",
2695
+ "privacy": "private",
2696
+ "type": {
2697
+ "text": "ResizeObserver"
2698
+ }
2699
+ },
2700
+ {
2701
+ "kind": "field",
2702
+ "name": "base",
2703
+ "type": {
2704
+ "text": "HTMLElement"
2705
+ }
2706
+ },
2707
+ {
2708
+ "kind": "field",
2709
+ "name": "plotTitle",
2710
+ "type": {
2711
+ "text": "string | undefined"
2712
+ },
2713
+ "attribute": "plotTitle"
2714
+ },
2715
+ {
2716
+ "kind": "field",
2717
+ "name": "layout",
2718
+ "type": {
2719
+ "text": "Partial<Layout> | undefined"
2720
+ },
2721
+ "default": "{}",
2722
+ "attribute": "layout"
2723
+ },
2724
+ {
2725
+ "kind": "field",
2726
+ "name": "config",
2727
+ "type": {
2728
+ "text": "Partial<Config> | undefined"
2729
+ },
2730
+ "default": "{}",
2731
+ "attribute": "config"
2732
+ },
2733
+ {
2734
+ "kind": "field",
2735
+ "name": "data",
2736
+ "type": {
2737
+ "text": "Array<Partial<Data>>"
2738
+ },
2739
+ "default": "[]",
2740
+ "attribute": "data"
2741
+ },
2742
+ {
2743
+ "kind": "method",
2744
+ "name": "handleDataChange"
2745
+ },
2746
+ {
2747
+ "kind": "method",
2748
+ "name": "updatePlotWithData"
2749
+ }
2750
+ ],
2751
+ "attributes": [
2752
+ {
2753
+ "name": "plotTitle",
2754
+ "type": {
2755
+ "text": "string | undefined"
2756
+ },
2757
+ "fieldName": "plotTitle"
2758
+ },
2759
+ {
2760
+ "name": "layout",
2761
+ "type": {
2762
+ "text": "Partial<Layout> | undefined"
2763
+ },
2764
+ "default": "{}",
2765
+ "fieldName": "layout"
2766
+ },
2767
+ {
2768
+ "name": "config",
2769
+ "type": {
2770
+ "text": "Partial<Config> | undefined"
2771
+ },
2772
+ "default": "{}",
2773
+ "fieldName": "config"
2774
+ },
2775
+ {
2776
+ "name": "data",
2777
+ "type": {
2778
+ "text": "Array<Partial<Data>>"
2779
+ },
2780
+ "default": "[]",
2781
+ "fieldName": "data"
2642
2782
  }
2643
2783
  ],
2644
2784
  "superclass": {
2645
2785
  "name": "TerraElement",
2646
2786
  "module": "/src/internal/terra-element.js"
2647
2787
  },
2648
- "summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
2649
- "tagNameWithoutPrefix": "login",
2650
- "tagName": "terra-login",
2788
+ "summary": "A web component for interactive graphs using Plotly.js.",
2789
+ "tagNameWithoutPrefix": "plot",
2790
+ "tagName": "terra-plot",
2651
2791
  "customElement": true,
2652
- "jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
2653
- "documentation": "https://disc.gsfc.nasa.gov/components/login",
2654
- "status": "stable",
2792
+ "jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
2793
+ "documentation": "https://disc.gsfc.nasa.gov/components/plot",
2794
+ "status": "experimental",
2655
2795
  "since": "1.0"
2656
2796
  }
2657
2797
  ],
@@ -2660,8 +2800,8 @@
2660
2800
  "kind": "js",
2661
2801
  "name": "default",
2662
2802
  "declaration": {
2663
- "name": "TerraLogin",
2664
- "module": "components/login/login.js"
2803
+ "name": "TerraPlot",
2804
+ "module": "components/plot/plot.js"
2665
2805
  }
2666
2806
  }
2667
2807
  ]
@@ -2891,138 +3031,6 @@
2891
3031
  }
2892
3032
  ]
2893
3033
  },
2894
- {
2895
- "kind": "javascript-module",
2896
- "path": "components/plot/plot.js",
2897
- "declarations": [
2898
- {
2899
- "kind": "class",
2900
- "description": "",
2901
- "name": "TerraPlot",
2902
- "cssParts": [
2903
- {
2904
- "description": "The component's base wrapper.",
2905
- "name": "base"
2906
- }
2907
- ],
2908
- "members": [
2909
- {
2910
- "kind": "field",
2911
- "name": "#resizeObserver",
2912
- "privacy": "private",
2913
- "type": {
2914
- "text": "ResizeObserver"
2915
- }
2916
- },
2917
- {
2918
- "kind": "field",
2919
- "name": "base",
2920
- "type": {
2921
- "text": "HTMLElement"
2922
- }
2923
- },
2924
- {
2925
- "kind": "field",
2926
- "name": "plotTitle",
2927
- "type": {
2928
- "text": "string | undefined"
2929
- },
2930
- "attribute": "plotTitle"
2931
- },
2932
- {
2933
- "kind": "field",
2934
- "name": "layout",
2935
- "type": {
2936
- "text": "Partial<Layout> | undefined"
2937
- },
2938
- "default": "{}",
2939
- "attribute": "layout"
2940
- },
2941
- {
2942
- "kind": "field",
2943
- "name": "config",
2944
- "type": {
2945
- "text": "Partial<Config> | undefined"
2946
- },
2947
- "default": "{}",
2948
- "attribute": "config"
2949
- },
2950
- {
2951
- "kind": "field",
2952
- "name": "data",
2953
- "type": {
2954
- "text": "Array<Partial<Data>>"
2955
- },
2956
- "default": "[]",
2957
- "attribute": "data"
2958
- },
2959
- {
2960
- "kind": "method",
2961
- "name": "handleDataChange"
2962
- },
2963
- {
2964
- "kind": "method",
2965
- "name": "updatePlotWithData"
2966
- }
2967
- ],
2968
- "attributes": [
2969
- {
2970
- "name": "plotTitle",
2971
- "type": {
2972
- "text": "string | undefined"
2973
- },
2974
- "fieldName": "plotTitle"
2975
- },
2976
- {
2977
- "name": "layout",
2978
- "type": {
2979
- "text": "Partial<Layout> | undefined"
2980
- },
2981
- "default": "{}",
2982
- "fieldName": "layout"
2983
- },
2984
- {
2985
- "name": "config",
2986
- "type": {
2987
- "text": "Partial<Config> | undefined"
2988
- },
2989
- "default": "{}",
2990
- "fieldName": "config"
2991
- },
2992
- {
2993
- "name": "data",
2994
- "type": {
2995
- "text": "Array<Partial<Data>>"
2996
- },
2997
- "default": "[]",
2998
- "fieldName": "data"
2999
- }
3000
- ],
3001
- "superclass": {
3002
- "name": "TerraElement",
3003
- "module": "/src/internal/terra-element.js"
3004
- },
3005
- "summary": "A web component for interactive graphs using Plotly.js.",
3006
- "tagNameWithoutPrefix": "plot",
3007
- "tagName": "terra-plot",
3008
- "customElement": true,
3009
- "jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
3010
- "documentation": "https://disc.gsfc.nasa.gov/components/plot",
3011
- "status": "experimental",
3012
- "since": "1.0"
3013
- }
3014
- ],
3015
- "exports": [
3016
- {
3017
- "kind": "js",
3018
- "name": "default",
3019
- "declaration": {
3020
- "name": "TerraPlot",
3021
- "module": "components/plot/plot.js"
3022
- }
3023
- }
3024
- ]
3025
- },
3026
3034
  {
3027
3035
  "kind": "javascript-module",
3028
3036
  "path": "components/skeleton/skeleton.js",
@@ -4031,17 +4039,21 @@
4031
4039
  },
4032
4040
  {
4033
4041
  "kind": "javascript-module",
4034
- "path": "components/variable-keyword-search/variable-keyword-search.js",
4042
+ "path": "components/variable-combobox/variable-combobox.js",
4035
4043
  "declarations": [
4036
4044
  {
4037
4045
  "kind": "class",
4038
4046
  "description": "",
4039
- "name": "TerraVariableKeywordSearch",
4047
+ "name": "TerraVariableCombobox",
4040
4048
  "cssProperties": [
4041
4049
  {
4042
4050
  "description": "The height of the host element.",
4043
4051
  "name": "--host-height"
4044
4052
  },
4053
+ {
4054
+ "description": "The height of the search help element.",
4055
+ "name": "--help-height"
4056
+ },
4045
4057
  {
4046
4058
  "description": "The height of the input's label element.",
4047
4059
  "name": "--label-height"
@@ -4091,7 +4103,7 @@
4091
4103
  "text": "string"
4092
4104
  },
4093
4105
  "static": true,
4094
- "default": "'terra-variable-keyword-search'"
4106
+ "default": "'terra-variable-combobox'"
4095
4107
  },
4096
4108
  {
4097
4109
  "kind": "field",
@@ -4115,7 +4127,18 @@
4115
4127
  "kind": "field",
4116
4128
  "name": "#fetchController",
4117
4129
  "privacy": "private",
4118
- "default": "new FetchController(this)"
4130
+ "type": {
4131
+ "text": "FetchController"
4132
+ }
4133
+ },
4134
+ {
4135
+ "kind": "field",
4136
+ "name": "#searchableList",
4137
+ "privacy": "private",
4138
+ "type": {
4139
+ "text": "ListItem[]"
4140
+ },
4141
+ "default": "[]"
4119
4142
  },
4120
4143
  {
4121
4144
  "kind": "field",
@@ -4144,13 +4167,22 @@
4144
4167
  },
4145
4168
  "default": "null"
4146
4169
  },
4170
+ {
4171
+ "kind": "field",
4172
+ "name": "#tagContainer",
4173
+ "privacy": "private",
4174
+ "type": {
4175
+ "text": "HTMLDivElement | null"
4176
+ },
4177
+ "default": "null"
4178
+ },
4147
4179
  {
4148
4180
  "kind": "field",
4149
4181
  "name": "label",
4150
4182
  "type": {
4151
4183
  "text": "string"
4152
4184
  },
4153
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
4185
+ "default": "'Search for Variables'",
4154
4186
  "description": "Label the combobox with this.",
4155
4187
  "attribute": "label"
4156
4188
  },
@@ -4163,25 +4195,38 @@
4163
4195
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4164
4196
  "attribute": "placeholder"
4165
4197
  },
4198
+ {
4199
+ "kind": "field",
4200
+ "name": "hideHelp",
4201
+ "type": {
4202
+ "text": "boolean"
4203
+ },
4204
+ "default": "false",
4205
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4206
+ "attribute": "hide-help",
4207
+ "reflects": true
4208
+ },
4166
4209
  {
4167
4210
  "kind": "field",
4168
4211
  "name": "hideLabel",
4169
4212
  "type": {
4170
4213
  "text": "boolean"
4171
4214
  },
4172
- "default": "true",
4215
+ "default": "false",
4173
4216
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4174
- "attribute": "hide-label"
4217
+ "attribute": "hide-label",
4218
+ "reflects": true
4175
4219
  },
4176
4220
  {
4177
4221
  "kind": "field",
4178
- "name": "searchConfig",
4222
+ "name": "useTags",
4179
4223
  "type": {
4180
- "text": "object"
4224
+ "text": "boolean"
4181
4225
  },
4182
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4183
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4184
- "attribute": "searchConfig"
4226
+ "default": "false",
4227
+ "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4228
+ "attribute": "use-tags",
4229
+ "reflects": true
4185
4230
  },
4186
4231
  {
4187
4232
  "kind": "field",
@@ -4189,8 +4234,18 @@
4189
4234
  "type": {
4190
4235
  "text": "string"
4191
4236
  },
4237
+ "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4192
4238
  "attribute": "value"
4193
4239
  },
4240
+ {
4241
+ "kind": "field",
4242
+ "name": "bearerToken",
4243
+ "type": {
4244
+ "text": "string"
4245
+ },
4246
+ "description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
4247
+ "attribute": "bearer-token"
4248
+ },
4194
4249
  {
4195
4250
  "kind": "field",
4196
4251
  "name": "isExpanded",
@@ -4211,12 +4266,28 @@
4211
4266
  },
4212
4267
  "default": "[]"
4213
4268
  },
4269
+ {
4270
+ "kind": "field",
4271
+ "name": "tags",
4272
+ "type": {
4273
+ "text": "string[]"
4274
+ },
4275
+ "default": "[]"
4276
+ },
4277
+ {
4278
+ "kind": "field",
4279
+ "name": "tagContainerWidth",
4280
+ "type": {
4281
+ "text": "number"
4282
+ },
4283
+ "default": "0"
4284
+ },
4214
4285
  {
4215
4286
  "kind": "method",
4216
4287
  "name": "valueChanged",
4217
4288
  "parameters": [
4218
4289
  {
4219
- "name": "_oldValue",
4290
+ "name": "oldValue",
4220
4291
  "type": {
4221
4292
  "text": "string"
4222
4293
  }
@@ -4227,7 +4298,8 @@
4227
4298
  "text": "string"
4228
4299
  }
4229
4300
  }
4230
- ]
4301
+ ],
4302
+ "description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
4231
4303
  },
4232
4304
  {
4233
4305
  "kind": "method",
@@ -4241,6 +4313,16 @@
4241
4313
  "kind": "method",
4242
4314
  "name": "toggle"
4243
4315
  },
4316
+ {
4317
+ "kind": "field",
4318
+ "name": "#dispatchChange",
4319
+ "privacy": "private"
4320
+ },
4321
+ {
4322
+ "kind": "field",
4323
+ "name": "#handleButtonClick",
4324
+ "privacy": "private"
4325
+ },
4244
4326
  {
4245
4327
  "kind": "field",
4246
4328
  "name": "#handleComboboxChange",
@@ -4268,33 +4350,29 @@
4268
4350
  },
4269
4351
  {
4270
4352
  "kind": "method",
4271
- "name": "#handleSearch",
4353
+ "name": "#renderTags",
4272
4354
  "parameters": [
4273
4355
  {
4274
- "name": "query",
4356
+ "name": "tag",
4275
4357
  "type": {
4276
4358
  "text": "string"
4277
4359
  }
4360
+ },
4361
+ {
4362
+ "name": "_index",
4363
+ "type": {
4364
+ "text": "number"
4365
+ }
4278
4366
  }
4279
4367
  ]
4280
- },
4281
- {
4282
- "kind": "method",
4283
- "name": "#clearSearch"
4284
4368
  }
4285
4369
  ],
4286
4370
  "events": [
4287
4371
  {
4288
4372
  "description": "Emitted when an option is selected.",
4289
- "name": "terra-variable-keyword-search-change",
4290
- "reactName": "onTerraVariableKeywordSearchChange",
4291
- "eventName": "TerraVariableKeywordSearchChangeEvent"
4292
- },
4293
- {
4294
- "description": "Emitted when the component is triggering a search (like a form triggering submit).",
4295
- "name": "terra-search",
4296
- "reactName": "onTerraSearch",
4297
- "eventName": "TerraSearchEvent"
4373
+ "name": "terra-combobox-change",
4374
+ "reactName": "onTerraComboboxChange",
4375
+ "eventName": "TerraComboboxChangeEvent"
4298
4376
  }
4299
4377
  ],
4300
4378
  "attributes": [
@@ -4303,7 +4381,7 @@
4303
4381
  "type": {
4304
4382
  "text": "string"
4305
4383
  },
4306
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
4384
+ "default": "'Search for Variables'",
4307
4385
  "description": "Label the combobox with this.",
4308
4386
  "fieldName": "label"
4309
4387
  },
@@ -4315,42 +4393,60 @@
4315
4393
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4316
4394
  "fieldName": "placeholder"
4317
4395
  },
4396
+ {
4397
+ "name": "hide-help",
4398
+ "type": {
4399
+ "text": "boolean"
4400
+ },
4401
+ "default": "false",
4402
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4403
+ "fieldName": "hideHelp"
4404
+ },
4318
4405
  {
4319
4406
  "name": "hide-label",
4320
4407
  "type": {
4321
4408
  "text": "boolean"
4322
4409
  },
4323
- "default": "true",
4410
+ "default": "false",
4324
4411
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4325
4412
  "fieldName": "hideLabel"
4326
4413
  },
4327
4414
  {
4328
- "name": "searchConfig",
4415
+ "name": "use-tags",
4329
4416
  "type": {
4330
- "text": "object"
4417
+ "text": "boolean"
4331
4418
  },
4332
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4333
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4334
- "fieldName": "searchConfig"
4419
+ "default": "false",
4420
+ "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4421
+ "fieldName": "useTags"
4335
4422
  },
4336
4423
  {
4337
4424
  "name": "value",
4338
4425
  "type": {
4339
4426
  "text": "string"
4340
4427
  },
4428
+ "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4341
4429
  "fieldName": "value"
4430
+ },
4431
+ {
4432
+ "name": "bearer-token",
4433
+ "type": {
4434
+ "text": "string"
4435
+ },
4436
+ "description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
4437
+ "fieldName": "bearerToken"
4342
4438
  }
4343
4439
  ],
4344
4440
  "superclass": {
4345
4441
  "name": "TerraElement",
4346
4442
  "module": "/src/internal/terra-element.js"
4347
4443
  },
4348
- "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
4349
- "tagNameWithoutPrefix": "variable-keyword-search",
4350
- "tagName": "terra-variable-keyword-search",
4444
+ "summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
4445
+ "tagNameWithoutPrefix": "variable-combobox",
4446
+ "tagName": "terra-variable-combobox",
4351
4447
  "customElement": true,
4352
- "jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-variable-keyword-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
4353
- "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
4448
+ "jsDoc": "/**\n * @summary Fuzzy-search for dataset variables in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/variable-combobox\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-combobox-change - Emitted when an option is selected.\n */",
4449
+ "documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
4354
4450
  "status": "MVP",
4355
4451
  "since": "1.0"
4356
4452
  }
@@ -4360,29 +4456,25 @@
4360
4456
  "kind": "js",
4361
4457
  "name": "default",
4362
4458
  "declaration": {
4363
- "name": "TerraVariableKeywordSearch",
4364
- "module": "components/variable-keyword-search/variable-keyword-search.js"
4459
+ "name": "TerraVariableCombobox",
4460
+ "module": "components/variable-combobox/variable-combobox.js"
4365
4461
  }
4366
4462
  }
4367
4463
  ]
4368
4464
  },
4369
4465
  {
4370
4466
  "kind": "javascript-module",
4371
- "path": "components/variable-combobox/variable-combobox.js",
4467
+ "path": "components/variable-keyword-search/variable-keyword-search.js",
4372
4468
  "declarations": [
4373
4469
  {
4374
4470
  "kind": "class",
4375
4471
  "description": "",
4376
- "name": "TerraVariableCombobox",
4472
+ "name": "TerraVariableKeywordSearch",
4377
4473
  "cssProperties": [
4378
4474
  {
4379
4475
  "description": "The height of the host element.",
4380
4476
  "name": "--host-height"
4381
4477
  },
4382
- {
4383
- "description": "The height of the search help element.",
4384
- "name": "--help-height"
4385
- },
4386
4478
  {
4387
4479
  "description": "The height of the input's label element.",
4388
4480
  "name": "--label-height"
@@ -4432,7 +4524,7 @@
4432
4524
  "text": "string"
4433
4525
  },
4434
4526
  "static": true,
4435
- "default": "'terra-variable-combobox'"
4527
+ "default": "'terra-variable-keyword-search'"
4436
4528
  },
4437
4529
  {
4438
4530
  "kind": "field",
@@ -4456,18 +4548,7 @@
4456
4548
  "kind": "field",
4457
4549
  "name": "#fetchController",
4458
4550
  "privacy": "private",
4459
- "type": {
4460
- "text": "FetchController"
4461
- }
4462
- },
4463
- {
4464
- "kind": "field",
4465
- "name": "#searchableList",
4466
- "privacy": "private",
4467
- "type": {
4468
- "text": "ListItem[]"
4469
- },
4470
- "default": "[]"
4551
+ "default": "new FetchController(this)"
4471
4552
  },
4472
4553
  {
4473
4554
  "kind": "field",
@@ -4496,22 +4577,13 @@
4496
4577
  },
4497
4578
  "default": "null"
4498
4579
  },
4499
- {
4500
- "kind": "field",
4501
- "name": "#tagContainer",
4502
- "privacy": "private",
4503
- "type": {
4504
- "text": "HTMLDivElement | null"
4505
- },
4506
- "default": "null"
4507
- },
4508
4580
  {
4509
4581
  "kind": "field",
4510
4582
  "name": "label",
4511
4583
  "type": {
4512
4584
  "text": "string"
4513
4585
  },
4514
- "default": "'Search for Variables'",
4586
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
4515
4587
  "description": "Label the combobox with this.",
4516
4588
  "attribute": "label"
4517
4589
  },
@@ -4524,38 +4596,25 @@
4524
4596
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4525
4597
  "attribute": "placeholder"
4526
4598
  },
4527
- {
4528
- "kind": "field",
4529
- "name": "hideHelp",
4530
- "type": {
4531
- "text": "boolean"
4532
- },
4533
- "default": "false",
4534
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4535
- "attribute": "hide-help",
4536
- "reflects": true
4537
- },
4538
4599
  {
4539
4600
  "kind": "field",
4540
4601
  "name": "hideLabel",
4541
4602
  "type": {
4542
4603
  "text": "boolean"
4543
4604
  },
4544
- "default": "false",
4605
+ "default": "true",
4545
4606
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4546
- "attribute": "hide-label",
4547
- "reflects": true
4607
+ "attribute": "hide-label"
4548
4608
  },
4549
4609
  {
4550
4610
  "kind": "field",
4551
- "name": "useTags",
4611
+ "name": "searchConfig",
4552
4612
  "type": {
4553
- "text": "boolean"
4613
+ "text": "object"
4554
4614
  },
4555
- "default": "false",
4556
- "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4557
- "attribute": "use-tags",
4558
- "reflects": true
4615
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4616
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4617
+ "attribute": "searchConfig"
4559
4618
  },
4560
4619
  {
4561
4620
  "kind": "field",
@@ -4563,18 +4622,8 @@
4563
4622
  "type": {
4564
4623
  "text": "string"
4565
4624
  },
4566
- "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4567
4625
  "attribute": "value"
4568
4626
  },
4569
- {
4570
- "kind": "field",
4571
- "name": "bearerToken",
4572
- "type": {
4573
- "text": "string"
4574
- },
4575
- "description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
4576
- "attribute": "bearer-token"
4577
- },
4578
4627
  {
4579
4628
  "kind": "field",
4580
4629
  "name": "isExpanded",
@@ -4595,28 +4644,12 @@
4595
4644
  },
4596
4645
  "default": "[]"
4597
4646
  },
4598
- {
4599
- "kind": "field",
4600
- "name": "tags",
4601
- "type": {
4602
- "text": "string[]"
4603
- },
4604
- "default": "[]"
4605
- },
4606
- {
4607
- "kind": "field",
4608
- "name": "tagContainerWidth",
4609
- "type": {
4610
- "text": "number"
4611
- },
4612
- "default": "0"
4613
- },
4614
4647
  {
4615
4648
  "kind": "method",
4616
4649
  "name": "valueChanged",
4617
4650
  "parameters": [
4618
4651
  {
4619
- "name": "oldValue",
4652
+ "name": "_oldValue",
4620
4653
  "type": {
4621
4654
  "text": "string"
4622
4655
  }
@@ -4627,8 +4660,7 @@
4627
4660
  "text": "string"
4628
4661
  }
4629
4662
  }
4630
- ],
4631
- "description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
4663
+ ]
4632
4664
  },
4633
4665
  {
4634
4666
  "kind": "method",
@@ -4642,16 +4674,6 @@
4642
4674
  "kind": "method",
4643
4675
  "name": "toggle"
4644
4676
  },
4645
- {
4646
- "kind": "field",
4647
- "name": "#dispatchChange",
4648
- "privacy": "private"
4649
- },
4650
- {
4651
- "kind": "field",
4652
- "name": "#handleButtonClick",
4653
- "privacy": "private"
4654
- },
4655
4677
  {
4656
4678
  "kind": "field",
4657
4679
  "name": "#handleComboboxChange",
@@ -4679,29 +4701,33 @@
4679
4701
  },
4680
4702
  {
4681
4703
  "kind": "method",
4682
- "name": "#renderTags",
4704
+ "name": "#handleSearch",
4683
4705
  "parameters": [
4684
4706
  {
4685
- "name": "tag",
4707
+ "name": "query",
4686
4708
  "type": {
4687
4709
  "text": "string"
4688
4710
  }
4689
- },
4690
- {
4691
- "name": "_index",
4692
- "type": {
4693
- "text": "number"
4694
- }
4695
4711
  }
4696
4712
  ]
4713
+ },
4714
+ {
4715
+ "kind": "method",
4716
+ "name": "#clearSearch"
4697
4717
  }
4698
4718
  ],
4699
4719
  "events": [
4700
4720
  {
4701
4721
  "description": "Emitted when an option is selected.",
4702
- "name": "terra-combobox-change",
4703
- "reactName": "onTerraComboboxChange",
4704
- "eventName": "TerraComboboxChangeEvent"
4722
+ "name": "terra-variable-keyword-search-change",
4723
+ "reactName": "onTerraVariableKeywordSearchChange",
4724
+ "eventName": "TerraVariableKeywordSearchChangeEvent"
4725
+ },
4726
+ {
4727
+ "description": "Emitted when the component is triggering a search (like a form triggering submit).",
4728
+ "name": "terra-search",
4729
+ "reactName": "onTerraSearch",
4730
+ "eventName": "TerraSearchEvent"
4705
4731
  }
4706
4732
  ],
4707
4733
  "attributes": [
@@ -4710,7 +4736,7 @@
4710
4736
  "type": {
4711
4737
  "text": "string"
4712
4738
  },
4713
- "default": "'Search for Variables'",
4739
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
4714
4740
  "description": "Label the combobox with this.",
4715
4741
  "fieldName": "label"
4716
4742
  },
@@ -4722,60 +4748,42 @@
4722
4748
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4723
4749
  "fieldName": "placeholder"
4724
4750
  },
4725
- {
4726
- "name": "hide-help",
4727
- "type": {
4728
- "text": "boolean"
4729
- },
4730
- "default": "false",
4731
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4732
- "fieldName": "hideHelp"
4733
- },
4734
4751
  {
4735
4752
  "name": "hide-label",
4736
4753
  "type": {
4737
4754
  "text": "boolean"
4738
4755
  },
4739
- "default": "false",
4756
+ "default": "true",
4740
4757
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4741
4758
  "fieldName": "hideLabel"
4742
4759
  },
4743
4760
  {
4744
- "name": "use-tags",
4761
+ "name": "searchConfig",
4745
4762
  "type": {
4746
- "text": "boolean"
4763
+ "text": "object"
4747
4764
  },
4748
- "default": "false",
4749
- "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4750
- "fieldName": "useTags"
4765
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4766
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4767
+ "fieldName": "searchConfig"
4751
4768
  },
4752
4769
  {
4753
4770
  "name": "value",
4754
4771
  "type": {
4755
4772
  "text": "string"
4756
4773
  },
4757
- "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4758
4774
  "fieldName": "value"
4759
- },
4760
- {
4761
- "name": "bearer-token",
4762
- "type": {
4763
- "text": "string"
4764
- },
4765
- "description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
4766
- "fieldName": "bearerToken"
4767
4775
  }
4768
4776
  ],
4769
4777
  "superclass": {
4770
4778
  "name": "TerraElement",
4771
4779
  "module": "/src/internal/terra-element.js"
4772
4780
  },
4773
- "summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
4774
- "tagNameWithoutPrefix": "variable-combobox",
4775
- "tagName": "terra-variable-combobox",
4781
+ "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
4782
+ "tagNameWithoutPrefix": "variable-keyword-search",
4783
+ "tagName": "terra-variable-keyword-search",
4776
4784
  "customElement": true,
4777
- "jsDoc": "/**\n * @summary Fuzzy-search for dataset variables in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/variable-combobox\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-combobox-change - Emitted when an option is selected.\n */",
4778
- "documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
4785
+ "jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-variable-keyword-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
4786
+ "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
4779
4787
  "status": "MVP",
4780
4788
  "since": "1.0"
4781
4789
  }
@@ -4785,8 +4793,8 @@
4785
4793
  "kind": "js",
4786
4794
  "name": "default",
4787
4795
  "declaration": {
4788
- "name": "TerraVariableCombobox",
4789
- "module": "components/variable-combobox/variable-combobox.js"
4796
+ "name": "TerraVariableKeywordSearch",
4797
+ "module": "components/variable-keyword-search/variable-keyword-search.js"
4790
4798
  }
4791
4799
  }
4792
4800
  ]
@@ -4795,7 +4803,7 @@
4795
4803
  "package": {
4796
4804
  "name": "@nasa-terra/components",
4797
4805
  "description": "A collection of NASA Earthdata components",
4798
- "version": "0.0.37",
4806
+ "version": "0.0.39",
4799
4807
  "author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
4800
4808
  "homepage": "https://github.com/gesdisc/components",
4801
4809
  "license": "MIT"