@nasa-terra/components 0.0.40 → 0.0.42

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 (324) hide show
  1. package/cdn/chunks/{chunk.SA43RGL2.js → chunk.2CTTMUXP.js} +1 -1
  2. package/cdn/chunks/{chunk.QCK7PTWV.js → chunk.2FFSUM6T.js} +1 -1
  3. package/cdn/chunks/{chunk.SD6M3CDE.js → chunk.2FXAUYYA.js} +1 -1
  4. package/{dist/chunks/chunk.EHQXGUIL.js → cdn/chunks/chunk.34XJ2YRL.js} +1 -1
  5. package/cdn/chunks/chunk.4MAXR3UU.js +104 -0
  6. package/{dist/chunks/chunk.HCIAUFW5.js → cdn/chunks/chunk.5QZWD4FU.js} +1 -1
  7. package/cdn/chunks/{chunk.MR27IH5Z.js → chunk.6JHIJHTB.js} +9 -1
  8. package/cdn/chunks/{chunk.CBV7M6CJ.js → chunk.6MMTW476.js} +1 -1
  9. package/cdn/chunks/{chunk.DWBE36BH.js → chunk.7FWVJMKC.js} +1 -1
  10. package/cdn/chunks/{chunk.Z7YAZ5EU.js → chunk.7X3DAFOG.js} +1 -1
  11. package/cdn/chunks/{chunk.LLGXVXUH.js → chunk.ANZFZPPU.js} +1 -1
  12. package/cdn/chunks/{chunk.CE7EKFM6.js → chunk.AT5FYE4Q.js} +9 -9
  13. package/cdn/chunks/{chunk.GJXX5TSE.js → chunk.BKOLMPIY.js} +2 -2
  14. package/{dist/chunks/chunk.S5E5TLJZ.js → cdn/chunks/chunk.BUT7KX24.js} +1 -1
  15. package/cdn/chunks/{chunk.ZV2BS5ID.js → chunk.CBRTMMKP.js} +7 -7
  16. package/cdn/chunks/{chunk.FXBYPZFG.js → chunk.E3ITP3CP.js} +1 -1
  17. package/cdn/chunks/{chunk.BWPJFRNN.js → chunk.ELAWVWEZ.js} +33 -13
  18. package/{dist/chunks/chunk.H2GZTZSG.js → cdn/chunks/chunk.FBNX5AYN.js} +1 -1
  19. package/{dist/chunks/chunk.ZRHAV2UE.js → cdn/chunks/chunk.FEPSAY5T.js} +1 -1
  20. package/cdn/chunks/{chunk.7UMCACKG.js → chunk.FET2REAS.js} +1 -1
  21. package/{dist/chunks/chunk.J33BMUDH.js → cdn/chunks/chunk.FGHWBPQ7.js} +1 -1
  22. package/cdn/chunks/{chunk.XZ5MBSWL.js → chunk.FP62TI7I.js} +1 -1
  23. package/cdn/chunks/{chunk.QVY2EVVB.js → chunk.GYNEPFEG.js} +3 -3
  24. package/{dist/chunks/chunk.XSOYZVEM.js → cdn/chunks/chunk.HWDI2BHO.js} +1 -1
  25. package/cdn/chunks/{chunk.3XSEBVBX.js → chunk.I44MNS72.js} +11 -11
  26. package/cdn/chunks/{chunk.G6GWAAJQ.js → chunk.ISDS7VRC.js} +7 -7
  27. package/cdn/chunks/{chunk.OXWLSTHY.js → chunk.JETSWMHY.js} +1 -1
  28. package/cdn/chunks/{chunk.N6A4S5YI.js → chunk.JPF7QPZA.js} +1 -1
  29. package/cdn/chunks/{chunk.VMGDCNZ6.js → chunk.JQ2ZRSPI.js} +4 -4
  30. package/{dist/chunks/chunk.MQIAGQXS.js → cdn/chunks/chunk.L63KIY6U.js} +1 -1
  31. package/cdn/chunks/{chunk.EQRD35IH.js → chunk.LLG5WQWA.js} +3 -3
  32. package/cdn/chunks/{chunk.WTPVOF7N.js → chunk.LOCO37M5.js} +2 -2
  33. package/cdn/chunks/{chunk.3O3GJEBJ.js → chunk.LS57LJUC.js} +11 -10
  34. package/cdn/chunks/chunk.M4BZHL67.js +21 -0
  35. package/cdn/chunks/{chunk.M6CYVVLQ.js → chunk.M5AL5OZ6.js} +5 -5
  36. package/cdn/chunks/{chunk.AWLC4U5W.js → chunk.M6BKA6P4.js} +1 -1
  37. package/cdn/chunks/chunk.MERDVJWH.js +15814 -0
  38. package/cdn/chunks/{chunk.DMMKUXEG.js → chunk.MLEE3KVC.js} +1 -1
  39. package/cdn/chunks/{chunk.4BM5VFHP.js → chunk.MUAWDIKB.js} +6 -17
  40. package/{dist/chunks/chunk.RGLEASJA.js → cdn/chunks/chunk.MX22SNRS.js} +1 -1
  41. package/cdn/chunks/{chunk.EC6GICQ5.js → chunk.NR6DJDMD.js} +5 -5
  42. package/{dist/chunks/chunk.FSILQ47R.js → cdn/chunks/chunk.NRWL7454.js} +1 -1
  43. package/{dist/chunks/chunk.75WTRCUN.js → cdn/chunks/chunk.OODF3EN7.js} +1 -1
  44. package/cdn/chunks/{chunk.SUZLO32F.js → chunk.OZMD6UWV.js} +1 -1
  45. package/cdn/chunks/{chunk.BPRRLOHA.js → chunk.QCZTZ2G4.js} +3 -3
  46. package/{dist/chunks/chunk.QEQQECDM.js → cdn/chunks/chunk.QIYZLBZL.js} +1 -1
  47. package/{dist/chunks/chunk.DHSHH44R.js → cdn/chunks/chunk.QMFOPTPG.js} +1 -1
  48. package/cdn/chunks/{chunk.U7L2FN7F.js → chunk.QZV6EAIM.js} +1 -1
  49. package/{dist/chunks/chunk.FUMHGO4K.js → cdn/chunks/chunk.RGSWH76U.js} +1 -1
  50. package/cdn/chunks/{chunk.4DNNJHBI.js → chunk.RWSWLUWX.js} +1 -1
  51. package/cdn/chunks/{chunk.Y3KSWO6F.js → chunk.S65EWDQW.js} +14 -14
  52. package/{dist/chunks/chunk.7ZSDMNY5.js → cdn/chunks/chunk.SMJEL5SP.js} +1 -1
  53. package/cdn/chunks/{chunk.2IBDQF7X.js → chunk.SNULTXLY.js} +3 -3
  54. package/{dist/chunks/chunk.D3IGIATM.js → cdn/chunks/chunk.TNVTVMRS.js} +1 -1
  55. package/cdn/chunks/{chunk.4K74IELA.js → chunk.TS6P5KMM.js} +1 -1
  56. package/cdn/chunks/{chunk.YDH7ETD6.js → chunk.TYD6OMVH.js} +1 -1
  57. package/cdn/chunks/{chunk.JBTSRWMM.js → chunk.U76BSYRS.js} +3 -3
  58. package/{dist/chunks/chunk.V747WCNA.js → cdn/chunks/chunk.VV63KQST.js} +1 -1
  59. package/cdn/chunks/{chunk.5KQNUXNC.js → chunk.WNKY3U3X.js} +3 -3
  60. package/cdn/chunks/{chunk.SREFGYKJ.js → chunk.WQDJNX2I.js} +1 -1
  61. package/cdn/chunks/{chunk.NP7P4Z44.js → chunk.WW7H6ZTG.js} +4 -4
  62. package/cdn/chunks/{chunk.CUBY224G.js → chunk.XB3OTEJA.js} +16 -12
  63. package/cdn/chunks/{chunk.25U3NR72.js → chunk.XG2SIOK7.js} +10 -16
  64. package/cdn/chunks/{chunk.TZG7EZIX.js → chunk.XQ3A36HQ.js} +1 -1
  65. package/cdn/chunks/{chunk.5LUW7D6O.js → chunk.XZGF7NVJ.js} +1 -1
  66. package/{dist/chunks/chunk.55V55APE.js → cdn/chunks/chunk.YV37V6WL.js} +1 -1
  67. package/{dist/chunks/chunk.NDY2MFKP.js → cdn/chunks/chunk.Z7PF6UJR.js} +1 -1
  68. package/cdn/chunks/{chunk.BDG35LJJ.js → chunk.ZQK7G6LH.js} +8 -8
  69. package/cdn/chunks/{chunk.JXGOY6TG.js → chunk.ZU6ADSVN.js} +1 -1
  70. package/cdn/components/browse-variables/browse-variables.component.js +21 -20
  71. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  72. package/cdn/components/browse-variables/browse-variables.js +22 -21
  73. package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
  74. package/cdn/components/browse-variables/repositories/giovanni.repository.js +2 -2
  75. package/cdn/components/button/button.component.js +6 -6
  76. package/cdn/components/button/button.js +7 -7
  77. package/cdn/components/button/button.styles.js +1 -1
  78. package/cdn/components/chip/chip.component.js +4 -4
  79. package/cdn/components/chip/chip.js +5 -5
  80. package/cdn/components/chip/chip.styles.js +1 -1
  81. package/cdn/components/combobox/combobox.component.js +6 -6
  82. package/cdn/components/combobox/combobox.js +7 -7
  83. package/cdn/components/combobox/combobox.styles.js +1 -1
  84. package/cdn/components/combobox/lib.js +1 -1
  85. package/cdn/components/combobox/type.js +1 -1
  86. package/cdn/components/date-picker/date-picker.component.js +4 -4
  87. package/cdn/components/date-picker/date-picker.js +5 -5
  88. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  89. package/cdn/components/date-range-slider/date-range-slider.component.js +6 -6
  90. package/cdn/components/date-range-slider/date-range-slider.js +7 -7
  91. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  92. package/cdn/components/date-range-slider/noui-slider-utilities.js +1 -1
  93. package/cdn/components/dialog/dialog.component.js +4 -4
  94. package/cdn/components/dialog/dialog.js +5 -5
  95. package/cdn/components/dialog/dialog.styles.js +1 -1
  96. package/cdn/components/icon/icon.component.js +7 -7
  97. package/cdn/components/icon/icon.js +8 -8
  98. package/cdn/components/icon/icon.styles.js +1 -1
  99. package/cdn/components/icon/library.default.js +1 -1
  100. package/cdn/components/icon/library.heroicons.js +1 -1
  101. package/cdn/components/icon/library.js +3 -3
  102. package/cdn/components/loader/loader.component.js +4 -4
  103. package/cdn/components/loader/loader.js +5 -5
  104. package/cdn/components/loader/loader.styles.js +1 -1
  105. package/cdn/components/login/login.component.js +14 -14
  106. package/cdn/components/login/login.js +15 -15
  107. package/cdn/components/login/login.styles.js +1 -1
  108. package/cdn/components/map/leaflet-draw.styles.js +1 -1
  109. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  110. package/cdn/components/map/leaflet-utils.js +4 -2
  111. package/cdn/components/map/leaflet.styles.js +1 -1
  112. package/cdn/components/map/map.component.d.ts +2 -1
  113. package/cdn/components/map/map.component.js +9 -7
  114. package/cdn/components/map/map.controller.d.ts +1 -1
  115. package/cdn/components/map/map.controller.js +4 -2
  116. package/cdn/components/map/map.js +10 -8
  117. package/cdn/components/map/map.styles.js +1 -1
  118. package/cdn/components/plot/plot.component.js +5 -5
  119. package/cdn/components/plot/plot.js +6 -6
  120. package/cdn/components/plot/plot.styles.js +1 -1
  121. package/cdn/components/skeleton/skeleton.component.js +5 -5
  122. package/cdn/components/skeleton/skeleton.js +6 -6
  123. package/cdn/components/skeleton/skeleton.styles.js +1 -1
  124. package/cdn/components/spatial-picker/spatial-picker.component.js +10 -8
  125. package/cdn/components/spatial-picker/spatial-picker.js +11 -9
  126. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  127. package/cdn/components/time-series/time-series.component.js +30 -28
  128. package/cdn/components/time-series/time-series.controller.js +2 -2
  129. package/cdn/components/time-series/time-series.js +31 -29
  130. package/cdn/components/time-series/time-series.styles.js +1 -1
  131. package/cdn/components/variable-combobox/lib.js +2 -2
  132. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  133. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  134. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  135. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  136. package/cdn/components/variable-keyword-search/lib.js +1 -1
  137. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +15 -14
  138. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
  139. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -2
  140. package/cdn/components/variable-keyword-search/variable-keyword-search.js +16 -15
  141. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  142. package/cdn/custom-elements.json +1126 -1126
  143. package/cdn/geojson/giovanni-geojson.d.ts +5 -0
  144. package/cdn/geojson/queries.d.ts +2 -0
  145. package/cdn/geojson/types.d.ts +73 -0
  146. package/cdn/lib/graphql-client.d.ts +2 -0
  147. package/cdn/react/browse-variables/index.js +22 -21
  148. package/cdn/react/button/index.js +7 -7
  149. package/cdn/react/chip/index.js +5 -5
  150. package/cdn/react/combobox/index.js +7 -7
  151. package/cdn/react/date-picker/index.js +5 -5
  152. package/cdn/react/date-range-slider/index.js +7 -7
  153. package/cdn/react/dialog/index.js +5 -5
  154. package/cdn/react/icon/index.js +8 -8
  155. package/cdn/react/index.d.ts +2 -2
  156. package/cdn/react/index.js +69 -67
  157. package/cdn/react/loader/index.js +5 -5
  158. package/cdn/react/login/index.js +15 -15
  159. package/cdn/react/map/index.js +10 -8
  160. package/cdn/react/plot/index.js +6 -6
  161. package/cdn/react/skeleton/index.js +6 -6
  162. package/cdn/react/spatial-picker/index.js +11 -9
  163. package/cdn/react/time-series/index.js +31 -29
  164. package/cdn/react/variable-combobox/index.js +16 -16
  165. package/cdn/react/variable-keyword-search/index.js +16 -15
  166. package/cdn/terra-ui-components-autoloader.js +1 -1
  167. package/cdn/terra-ui-components.js +70 -68
  168. package/cdn/types/vue/index.d.ts +57 -57
  169. package/cdn/utilities/animation-registry.js +1 -1
  170. package/cdn/utilities/animation.js +3 -3
  171. package/cdn/utilities/base-path.js +1 -1
  172. package/cdn/utilities/date.js +1 -1
  173. package/cdn/utilities/form.js +3 -3
  174. package/cdn/utilities/icon-library.js +3 -3
  175. package/cdn/utilities/number.js +1 -1
  176. package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  177. package/cdn/variable-catalog/queries.d.ts +1 -0
  178. package/cdn/variable-catalog/types.d.ts +10 -0
  179. package/cdn/vscode.html-custom-data.json +85 -85
  180. package/cdn/web-types.json +109 -109
  181. package/{cdn/chunks/chunk.OZLHUWHZ.js → dist/chunks/chunk.37TB25W5.js} +1 -1
  182. package/dist/chunks/{chunk.UBBSTKSW.js → chunk.4ZCXZZM3.js} +5 -16
  183. package/dist/chunks/{chunk.PZ74PH5L.js → chunk.57H323P7.js} +1 -1
  184. package/dist/chunks/{chunk.YY2NUPBF.js → chunk.5AOSWMDT.js} +1 -1
  185. package/dist/chunks/chunk.5BT4MERK.js +21 -0
  186. package/dist/chunks/{chunk.ROKXES2M.js → chunk.5C3BK3DD.js} +13 -9
  187. package/dist/chunks/{chunk.W3JB6EN2.js → chunk.6BC7KDU7.js} +4 -4
  188. package/dist/chunks/{chunk.E2OGXHG2.js → chunk.6CVD44CG.js} +1 -1
  189. package/dist/chunks/{chunk.57IHZ3U7.js → chunk.6Z52LJYO.js} +1 -1
  190. package/dist/chunks/{chunk.UEEVZ7FV.js → chunk.77WVGP37.js} +1 -1
  191. package/dist/chunks/{chunk.FXXWVDU7.js → chunk.7CW7OYAA.js} +1 -1
  192. package/dist/chunks/{chunk.KCG2W75N.js → chunk.7QFQWJUX.js} +1 -1
  193. package/dist/chunks/{chunk.NGGIBOGM.js → chunk.7V3PWSYC.js} +4 -4
  194. package/dist/chunks/{chunk.VEWSPG7S.js → chunk.7YA6YPDX.js} +1 -1
  195. package/dist/chunks/chunk.ACUTOX6G.js +104 -0
  196. package/dist/chunks/{chunk.4AD5NHEX.js → chunk.AVJCKEOG.js} +1 -1
  197. package/dist/chunks/{chunk.ZTJWLDIP.js → chunk.AVOXIWLL.js} +1 -1
  198. package/dist/chunks/{chunk.HMLHIPUF.js → chunk.BHWE3JOV.js} +3 -3
  199. package/dist/chunks/{chunk.GPXKIUEG.js → chunk.BNFTF3AF.js} +1 -1
  200. package/dist/chunks/{chunk.2M6WN77B.js → chunk.CEE5JWEL.js} +7 -13
  201. package/dist/chunks/{chunk.IRMROGM5.js → chunk.CJXBG2L2.js} +1 -1
  202. package/dist/chunks/{chunk.ZK6BXJM2.js → chunk.D3CNBHKN.js} +1 -1
  203. package/dist/chunks/{chunk.ZY7333SG.js → chunk.DQAA5TRV.js} +1 -1
  204. package/dist/chunks/{chunk.26GCBU6L.js → chunk.DTUQ7OVY.js} +1 -1
  205. package/dist/chunks/{chunk.ZS53CVPI.js → chunk.EUQOUY73.js} +1 -1
  206. package/dist/chunks/{chunk.A2VBIBDB.js → chunk.FUNHBD3Q.js} +1 -1
  207. package/{cdn/chunks/chunk.56MSIBJC.js → dist/chunks/chunk.GSKVFMKR.js} +1 -1
  208. package/{cdn/chunks/chunk.FZ7VVHRU.js → dist/chunks/chunk.H4IGXIVH.js} +1 -1
  209. package/{cdn/chunks/chunk.6VPPNRMC.js → dist/chunks/chunk.H6OKMLB5.js} +1 -1
  210. package/dist/chunks/{chunk.MBEJXOQR.js → chunk.HPH7B5RV.js} +5 -4
  211. package/{cdn/chunks/chunk.5O3N4YQB.js → dist/chunks/chunk.IYIJ4JHT.js} +1 -1
  212. package/{cdn/chunks/chunk.RBUWWPTA.js → dist/chunks/chunk.J4TUNVY6.js} +1 -1
  213. package/dist/chunks/{chunk.T3YDWJBU.js → chunk.JGRZMEMQ.js} +34 -12
  214. package/dist/chunks/{chunk.DIU4FMUD.js → chunk.JOL2QHUX.js} +1 -1
  215. package/dist/chunks/{chunk.WZZS6KZX.js → chunk.K2UQ5J5Y.js} +1 -1
  216. package/dist/chunks/{chunk.P4CJWP6V.js → chunk.KNYS36RI.js} +6 -6
  217. package/dist/chunks/{chunk.MRIC7GU3.js → chunk.KXVLGKFP.js} +1 -1
  218. package/{cdn/chunks/chunk.XSRLMKQS.js → dist/chunks/chunk.LDXJZ2B3.js} +1 -1
  219. package/dist/chunks/{chunk.Z2ELMSYN.js → chunk.M6QZS4UJ.js} +1 -1
  220. package/{cdn/chunks/chunk.CB4NTZIT.js → dist/chunks/chunk.M6R5AG7U.js} +1 -1
  221. package/dist/chunks/{chunk.PYQF2X37.js → chunk.MC6B7NQH.js} +1 -1
  222. package/{cdn/chunks/chunk.SQHR3ZCR.js → dist/chunks/chunk.MIMZJ6IP.js} +1 -1
  223. package/{cdn/chunks/chunk.QORWAVV6.js → dist/chunks/chunk.MQVOSN5I.js} +1 -1
  224. package/{cdn/chunks/chunk.GZUF7R2X.js → dist/chunks/chunk.MZLJ2SW2.js} +1 -1
  225. package/{cdn/chunks/chunk.L5OP3IFK.js → dist/chunks/chunk.NOK72OMX.js} +1 -1
  226. package/{cdn/chunks/chunk.2XYNLO3T.js → dist/chunks/chunk.NS2XBY2W.js} +1 -1
  227. package/dist/chunks/{chunk.6NFTQBAG.js → chunk.P53EA62V.js} +8 -8
  228. package/dist/chunks/{chunk.6OHX7MFV.js → chunk.P7N5DB3S.js} +1 -1
  229. package/{cdn/chunks/chunk.3L732GCE.js → dist/chunks/chunk.PL2E7TDA.js} +1 -1
  230. package/dist/chunks/{chunk.OBSBNTPE.js → chunk.QWGGWP3G.js} +1 -1
  231. package/dist/chunks/{chunk.27RXIW7H.js → chunk.RNKJDMGE.js} +1 -1
  232. package/dist/chunks/{chunk.FNVJAT2N.js → chunk.SDW6HUGX.js} +1 -1
  233. package/{cdn/chunks/chunk.D3IGIATM.js → dist/chunks/chunk.TNVTVMRS.js} +1 -1
  234. package/{cdn/chunks/chunk.7T5YSU5Z.js → dist/chunks/chunk.TPITM5XY.js} +1 -1
  235. package/dist/chunks/{chunk.ORBMIL2S.js → chunk.TQBOEKS6.js} +1 -1
  236. package/{cdn/chunks/chunk.QCAHWIQS.js → dist/chunks/chunk.TRBPFDIW.js} +1 -1
  237. package/dist/chunks/chunk.XWRIA5G5.js +63 -0
  238. package/{cdn/chunks/chunk.BET4SRAZ.js → dist/chunks/chunk.YXL3ZYZS.js} +1 -1
  239. package/dist/chunks/{chunk.Q6ULCJ5A.js → chunk.ZAG3VX64.js} +5 -5
  240. package/{cdn/chunks/chunk.YGW24TS3.js → dist/chunks/chunk.ZUEBNW2J.js} +1 -1
  241. package/dist/components/browse-variables/browse-variables.component.js +15 -14
  242. package/dist/components/browse-variables/browse-variables.controller.js +2 -2
  243. package/dist/components/browse-variables/browse-variables.js +16 -15
  244. package/dist/components/browse-variables/repositories/giovanni.repository.js +1 -1
  245. package/dist/components/button/button.component.js +2 -2
  246. package/dist/components/button/button.js +3 -3
  247. package/dist/components/chip/chip.component.js +2 -2
  248. package/dist/components/chip/chip.js +3 -3
  249. package/dist/components/combobox/combobox.component.js +2 -2
  250. package/dist/components/combobox/combobox.js +3 -3
  251. package/dist/components/date-picker/date-picker.component.js +2 -2
  252. package/dist/components/date-picker/date-picker.js +3 -3
  253. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  254. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  255. package/dist/components/dialog/dialog.component.js +2 -2
  256. package/dist/components/dialog/dialog.js +3 -3
  257. package/dist/components/icon/icon.component.js +4 -4
  258. package/dist/components/icon/icon.js +5 -5
  259. package/dist/components/icon/library.js +2 -2
  260. package/dist/components/loader/loader.component.js +2 -2
  261. package/dist/components/loader/loader.js +3 -3
  262. package/dist/components/login/login.component.js +10 -10
  263. package/dist/components/login/login.js +11 -11
  264. package/dist/components/map/leaflet-utils.d.ts +1 -1
  265. package/dist/components/map/leaflet-utils.js +3 -1
  266. package/dist/components/map/map.component.d.ts +2 -1
  267. package/dist/components/map/map.component.js +6 -4
  268. package/dist/components/map/map.controller.d.ts +1 -1
  269. package/dist/components/map/map.controller.js +3 -1
  270. package/dist/components/map/map.js +7 -5
  271. package/dist/components/plot/plot.component.js +2 -2
  272. package/dist/components/plot/plot.js +3 -3
  273. package/dist/components/skeleton/skeleton.component.js +2 -2
  274. package/dist/components/skeleton/skeleton.js +3 -3
  275. package/dist/components/spatial-picker/spatial-picker.component.js +7 -5
  276. package/dist/components/spatial-picker/spatial-picker.js +8 -6
  277. package/dist/components/time-series/time-series.component.js +21 -19
  278. package/dist/components/time-series/time-series.js +22 -20
  279. package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
  280. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
  281. package/dist/components/variable-combobox/variable-combobox.js +10 -10
  282. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -9
  283. package/dist/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
  284. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +2 -1
  285. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -10
  286. package/dist/custom-elements.json +1126 -1126
  287. package/dist/geojson/giovanni-geojson.d.ts +5 -0
  288. package/dist/geojson/queries.d.ts +2 -0
  289. package/dist/geojson/types.d.ts +73 -0
  290. package/dist/lib/graphql-client.d.ts +2 -0
  291. package/dist/react/browse-variables/index.js +16 -15
  292. package/dist/react/button/index.js +3 -3
  293. package/dist/react/chip/index.js +3 -3
  294. package/dist/react/combobox/index.js +3 -3
  295. package/dist/react/date-picker/index.js +3 -3
  296. package/dist/react/date-range-slider/index.js +4 -4
  297. package/dist/react/dialog/index.js +3 -3
  298. package/dist/react/icon/index.js +5 -5
  299. package/dist/react/index.d.ts +2 -2
  300. package/dist/react/index.js +59 -57
  301. package/dist/react/loader/index.js +3 -3
  302. package/dist/react/login/index.js +11 -11
  303. package/dist/react/map/index.js +7 -5
  304. package/dist/react/plot/index.js +3 -3
  305. package/dist/react/skeleton/index.js +3 -3
  306. package/dist/react/spatial-picker/index.js +8 -6
  307. package/dist/react/time-series/index.js +22 -20
  308. package/dist/react/variable-combobox/index.js +10 -10
  309. package/dist/react/variable-keyword-search/index.js +11 -10
  310. package/dist/terra-ui-components.js +57 -55
  311. package/dist/{terra_ui_components-0.0.40-py3-none-any.whl → terra_ui_components-0.0.42-py3-none-any.whl} +0 -0
  312. package/dist/{terra_ui_components-0.0.40.tar.gz → terra_ui_components-0.0.42.tar.gz} +0 -0
  313. package/dist/types/vue/index.d.ts +57 -57
  314. package/dist/utilities/icon-library.js +2 -2
  315. package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  316. package/dist/variable-catalog/queries.d.ts +1 -0
  317. package/dist/variable-catalog/types.d.ts +10 -0
  318. package/dist/vscode.html-custom-data.json +85 -85
  319. package/dist/web-types.json +109 -109
  320. package/package.json +5 -1
  321. package/cdn/chunks/chunk.SBTMIM4P.js +0 -26
  322. package/dist/chunks/chunk.SBTMIM4P.js +0 -26
  323. package/cdn/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
  324. package/dist/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
@@ -967,412 +967,450 @@
967
967
  },
968
968
  {
969
969
  "kind": "javascript-module",
970
- "path": "components/combobox/combobox.js",
970
+ "path": "components/chip/chip.js",
971
971
  "declarations": [
972
972
  {
973
973
  "kind": "class",
974
974
  "description": "",
975
- "name": "TerraCombobox",
976
- "cssProperties": [
975
+ "name": "TerraChip",
976
+ "slots": [
977
977
  {
978
- "description": "The height of the host element.",
979
- "name": "--host-height"
980
- },
978
+ "description": "The chip's label.",
979
+ "name": ""
980
+ }
981
+ ],
982
+ "members": [
981
983
  {
982
- "description": "The height of the search help element.",
983
- "name": "--help-height"
984
+ "kind": "field",
985
+ "name": "size",
986
+ "type": {
987
+ "text": "'small' | 'medium' | 'large'"
988
+ },
989
+ "default": "'medium'",
990
+ "attribute": "size",
991
+ "reflects": true
984
992
  },
985
993
  {
986
- "description": "The height of the input's label element.",
987
- "name": "--label-height"
994
+ "kind": "field",
995
+ "name": "#handleRemoveClick",
996
+ "privacy": "private"
997
+ }
998
+ ],
999
+ "attributes": [
1000
+ {
1001
+ "name": "size",
1002
+ "type": {
1003
+ "text": "'small' | 'medium' | 'large'"
1004
+ },
1005
+ "default": "'medium'",
1006
+ "fieldName": "size"
988
1007
  }
989
1008
  ],
1009
+ "superclass": {
1010
+ "name": "TerraElement",
1011
+ "module": "/src/internal/terra-element.js"
1012
+ },
1013
+ "summary": "Used for contacts and tags",
1014
+ "tagNameWithoutPrefix": "chip",
1015
+ "tagName": "terra-chip",
1016
+ "customElement": true,
1017
+ "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 */",
1018
+ "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1019
+ "status": "stable",
1020
+ "since": "1.0"
1021
+ }
1022
+ ],
1023
+ "exports": [
1024
+ {
1025
+ "kind": "js",
1026
+ "name": "default",
1027
+ "declaration": {
1028
+ "name": "TerraChip",
1029
+ "module": "components/chip/chip.js"
1030
+ }
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "kind": "javascript-module",
1036
+ "path": "components/date-picker/date-picker.js",
1037
+ "declarations": [
1038
+ {
1039
+ "kind": "class",
1040
+ "description": "",
1041
+ "name": "TerraDatePicker",
990
1042
  "cssParts": [
991
1043
  {
992
- "description": "A `search` element, the component's base.",
1044
+ "description": "The component's base wrapper.",
993
1045
  "name": "base"
994
1046
  },
995
1047
  {
996
- "description": "An `input` element used for searching.",
997
- "name": "combobox"
998
- },
999
- {
1000
- "description": "A `button` used for toggling the listbox's visibility.",
1001
- "name": "button"
1002
- },
1048
+ "description": "The date input element.",
1049
+ "name": "input"
1050
+ }
1051
+ ],
1052
+ "slots": [
1003
1053
  {
1004
- "description": "A `ul` that holds the clickable options.",
1005
- "name": "listbox"
1054
+ "description": "The default slot.",
1055
+ "name": ""
1006
1056
  }
1007
1057
  ],
1008
1058
  "members": [
1009
1059
  {
1010
1060
  "kind": "field",
1011
- "name": "shadowRootOptions",
1061
+ "name": "selectedDates",
1012
1062
  "type": {
1013
- "text": "object"
1014
- },
1015
- "static": true,
1016
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
1063
+ "text": "{\n startDate: string | null\n endDate: string | null\n }"
1064
+ }
1017
1065
  },
1018
1066
  {
1019
1067
  "kind": "field",
1020
- "name": "tagName",
1068
+ "name": "id",
1021
1069
  "type": {
1022
1070
  "text": "string"
1023
1071
  },
1024
- "static": true,
1025
- "default": "'terra-combobox'"
1072
+ "attribute": "id"
1026
1073
  },
1027
1074
  {
1028
1075
  "kind": "field",
1029
- "name": "initialQuery",
1076
+ "name": "range",
1030
1077
  "type": {
1031
- "text": "string"
1078
+ "text": "boolean"
1032
1079
  },
1033
- "static": true,
1034
- "default": "''"
1080
+ "default": "false",
1081
+ "attribute": "range"
1035
1082
  },
1036
1083
  {
1037
1084
  "kind": "field",
1038
- "name": "#combobox",
1039
- "privacy": "private",
1085
+ "name": "minDate",
1040
1086
  "type": {
1041
- "text": "HTMLInputElement | null"
1087
+ "text": "string | undefined"
1042
1088
  },
1043
- "default": "null"
1089
+ "attribute": "min-date"
1044
1090
  },
1045
1091
  {
1046
1092
  "kind": "field",
1047
- "name": "#listbox",
1048
- "privacy": "private",
1093
+ "name": "maxDate",
1049
1094
  "type": {
1050
- "text": "HTMLUListElement | null"
1095
+ "text": "string | undefined"
1051
1096
  },
1052
- "default": "null"
1097
+ "attribute": "max-date"
1053
1098
  },
1054
1099
  {
1055
1100
  "kind": "field",
1056
- "name": "#searchEngine",
1057
- "privacy": "private",
1101
+ "name": "startDate",
1058
1102
  "type": {
1059
- "text": "Fuse<GroupedListItem | ListItem> | null"
1103
+ "text": "string | undefined"
1060
1104
  },
1061
- "default": "null"
1105
+ "attribute": "start-date"
1062
1106
  },
1063
1107
  {
1064
1108
  "kind": "field",
1065
- "name": "#walker",
1066
- "privacy": "private",
1109
+ "name": "endDate",
1067
1110
  "type": {
1068
- "text": "TreeWalker | null"
1111
+ "text": "string | undefined"
1069
1112
  },
1070
- "default": "null"
1113
+ "attribute": "end-date"
1071
1114
  },
1072
1115
  {
1073
1116
  "kind": "field",
1074
- "name": "label",
1117
+ "name": "allowInput",
1118
+ "type": {
1119
+ "text": "boolean"
1120
+ },
1121
+ "default": "false",
1122
+ "attribute": "allow-input"
1123
+ },
1124
+ {
1125
+ "kind": "field",
1126
+ "name": "altFormat",
1075
1127
  "type": {
1076
1128
  "text": "string"
1077
1129
  },
1078
- "default": "'Search for Items'",
1079
- "description": "Label the combobox with this.",
1080
- "attribute": "label"
1130
+ "default": "'F j, Y'",
1131
+ "attribute": "alt-format"
1081
1132
  },
1082
1133
  {
1083
1134
  "kind": "field",
1084
- "name": "name",
1135
+ "name": "altInput",
1136
+ "type": {
1137
+ "text": "boolean"
1138
+ },
1139
+ "default": "false",
1140
+ "attribute": "alt-input"
1141
+ },
1142
+ {
1143
+ "kind": "field",
1144
+ "name": "altInputClass",
1085
1145
  "type": {
1086
1146
  "text": "string"
1087
1147
  },
1088
- "default": "'Item'",
1089
- "description": "name the combobox with this.",
1090
- "attribute": "name"
1148
+ "default": "''",
1149
+ "attribute": "alt-input-class"
1091
1150
  },
1092
1151
  {
1093
1152
  "kind": "field",
1094
- "name": "placeholder",
1153
+ "name": "dateFormat",
1095
1154
  "type": {
1096
1155
  "text": "string"
1097
1156
  },
1098
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1099
- "attribute": "placeholder"
1157
+ "default": "'Y-m-d'",
1158
+ "attribute": "date-format"
1100
1159
  },
1101
1160
  {
1102
1161
  "kind": "field",
1103
- "name": "hideHelp",
1162
+ "name": "enableTime",
1104
1163
  "type": {
1105
1164
  "text": "boolean"
1106
1165
  },
1107
1166
  "default": "false",
1108
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1109
- "attribute": "hide-help"
1167
+ "attribute": "enable-time"
1110
1168
  },
1111
1169
  {
1112
1170
  "kind": "field",
1113
- "name": "hideLabel",
1171
+ "name": "time24hr",
1114
1172
  "type": {
1115
1173
  "text": "boolean"
1116
1174
  },
1117
1175
  "default": "false",
1118
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1119
- "attribute": "hide-label"
1176
+ "attribute": "time-24hr"
1120
1177
  },
1121
1178
  {
1122
1179
  "kind": "field",
1123
- "name": "status",
1180
+ "name": "weekNumbers",
1124
1181
  "type": {
1125
- "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1182
+ "text": "boolean"
1126
1183
  },
1127
- "default": "'INITIAL'",
1128
- "description": "status of the content",
1129
- "attribute": "status"
1184
+ "default": "false",
1185
+ "attribute": "week-numbers"
1130
1186
  },
1131
1187
  {
1132
1188
  "kind": "field",
1133
- "name": "content",
1189
+ "name": "static",
1134
1190
  "type": {
1135
- "text": "Content"
1191
+ "text": "boolean"
1136
1192
  },
1137
- "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1138
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1139
- "attribute": "content"
1193
+ "default": "false",
1194
+ "attribute": "static"
1140
1195
  },
1141
1196
  {
1142
1197
  "kind": "field",
1143
- "name": "isExpanded",
1198
+ "name": "position",
1199
+ "type": {
1200
+ "text": "'auto' | 'above' | 'below'"
1201
+ },
1202
+ "default": "'auto'",
1203
+ "attribute": "position"
1204
+ },
1205
+ {
1206
+ "kind": "field",
1207
+ "name": "showMonths",
1208
+ "type": {
1209
+ "text": "number"
1210
+ },
1211
+ "default": "1",
1212
+ "attribute": "show-months"
1213
+ },
1214
+ {
1215
+ "kind": "field",
1216
+ "name": "hideLabel",
1144
1217
  "type": {
1145
1218
  "text": "boolean"
1146
1219
  },
1147
- "default": "false"
1220
+ "default": "false",
1221
+ "attribute": "hide-label"
1148
1222
  },
1149
1223
  {
1150
1224
  "kind": "field",
1151
- "name": "query"
1225
+ "name": "label",
1226
+ "type": {
1227
+ "text": "string"
1228
+ },
1229
+ "default": "'Select Date'",
1230
+ "attribute": "label"
1152
1231
  },
1153
1232
  {
1154
1233
  "kind": "field",
1155
- "name": "searchResults",
1234
+ "name": "flatpickrElement",
1156
1235
  "type": {
1157
- "text": "GroupedListItem[] | ListItem[]"
1236
+ "text": "any"
1158
1237
  },
1159
- "default": "[]"
1238
+ "privacy": "private"
1160
1239
  },
1161
1240
  {
1162
1241
  "kind": "method",
1163
- "name": "contentChanged",
1242
+ "name": "handleChange",
1243
+ "privacy": "private",
1164
1244
  "parameters": [
1165
1245
  {
1166
- "name": "_oldValue",
1167
- "type": {
1168
- "text": "any"
1169
- }
1170
- },
1171
- {
1172
- "name": "newValue",
1246
+ "name": "selectedDates",
1173
1247
  "type": {
1174
- "text": "any"
1248
+ "text": "Date[]"
1175
1249
  }
1176
1250
  }
1177
1251
  ]
1178
- },
1179
- {
1180
- "kind": "field",
1181
- "name": "#renderListItem",
1182
- "privacy": "private"
1183
- },
1252
+ }
1253
+ ],
1254
+ "attributes": [
1184
1255
  {
1185
- "kind": "field",
1186
- "name": "#renderGroupListItem",
1187
- "privacy": "private"
1256
+ "name": "id",
1257
+ "type": {
1258
+ "text": "string"
1259
+ },
1260
+ "fieldName": "id"
1188
1261
  },
1189
1262
  {
1190
- "kind": "field",
1191
- "name": "#renderError",
1192
- "privacy": "private"
1263
+ "name": "range",
1264
+ "type": {
1265
+ "text": "boolean"
1266
+ },
1267
+ "default": "false",
1268
+ "fieldName": "range"
1193
1269
  },
1194
1270
  {
1195
- "kind": "field",
1196
- "name": "#renderLoading",
1197
- "privacy": "private"
1271
+ "name": "min-date",
1272
+ "type": {
1273
+ "text": "string | undefined"
1274
+ },
1275
+ "fieldName": "minDate"
1198
1276
  },
1199
1277
  {
1200
- "kind": "field",
1201
- "name": "#dispatchChange",
1202
- "privacy": "private"
1278
+ "name": "max-date",
1279
+ "type": {
1280
+ "text": "string | undefined"
1281
+ },
1282
+ "fieldName": "maxDate"
1203
1283
  },
1204
1284
  {
1205
- "kind": "field",
1206
- "name": "#handleButtonClick",
1207
- "privacy": "private"
1285
+ "name": "start-date",
1286
+ "type": {
1287
+ "text": "string | undefined"
1288
+ },
1289
+ "fieldName": "startDate"
1208
1290
  },
1209
1291
  {
1210
- "kind": "field",
1211
- "name": "#handleComboboxChange",
1212
- "privacy": "private"
1292
+ "name": "end-date",
1293
+ "type": {
1294
+ "text": "string | undefined"
1295
+ },
1296
+ "fieldName": "endDate"
1213
1297
  },
1214
1298
  {
1215
- "kind": "field",
1216
- "name": "#handleOptionClick",
1217
- "privacy": "private"
1299
+ "name": "allow-input",
1300
+ "type": {
1301
+ "text": "boolean"
1302
+ },
1303
+ "default": "false",
1304
+ "fieldName": "allowInput"
1218
1305
  },
1219
1306
  {
1220
- "kind": "field",
1221
- "name": "#handleKeydown",
1222
- "privacy": "private"
1307
+ "name": "alt-format",
1308
+ "type": {
1309
+ "text": "string"
1310
+ },
1311
+ "default": "'F j, Y'",
1312
+ "fieldName": "altFormat"
1223
1313
  },
1224
1314
  {
1225
- "kind": "field",
1226
- "name": "#manageListboxVisibility",
1227
- "privacy": "private"
1315
+ "name": "alt-input",
1316
+ "type": {
1317
+ "text": "boolean"
1318
+ },
1319
+ "default": "false",
1320
+ "fieldName": "altInput"
1228
1321
  },
1229
1322
  {
1230
- "kind": "field",
1231
- "name": "#selectOption",
1232
- "privacy": "private"
1233
- }
1234
- ],
1235
- "attributes": [
1236
- {
1237
- "name": "label",
1323
+ "name": "alt-input-class",
1238
1324
  "type": {
1239
1325
  "text": "string"
1240
1326
  },
1241
- "default": "'Search for Items'",
1242
- "description": "Label the combobox with this.",
1243
- "fieldName": "label"
1327
+ "default": "''",
1328
+ "fieldName": "altInputClass"
1244
1329
  },
1245
1330
  {
1246
- "name": "name",
1331
+ "name": "date-format",
1247
1332
  "type": {
1248
1333
  "text": "string"
1249
1334
  },
1250
- "default": "'Item'",
1251
- "description": "name the combobox with this.",
1252
- "fieldName": "name"
1335
+ "default": "'Y-m-d'",
1336
+ "fieldName": "dateFormat"
1253
1337
  },
1254
1338
  {
1255
- "name": "placeholder",
1339
+ "name": "enable-time",
1256
1340
  "type": {
1257
- "text": "string"
1341
+ "text": "boolean"
1258
1342
  },
1259
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1260
- "fieldName": "placeholder"
1343
+ "default": "false",
1344
+ "fieldName": "enableTime"
1261
1345
  },
1262
1346
  {
1263
- "name": "hide-help",
1347
+ "name": "time-24hr",
1264
1348
  "type": {
1265
1349
  "text": "boolean"
1266
1350
  },
1267
1351
  "default": "false",
1268
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1269
- "fieldName": "hideHelp"
1352
+ "fieldName": "time24hr"
1270
1353
  },
1271
1354
  {
1272
- "name": "hide-label",
1355
+ "name": "week-numbers",
1273
1356
  "type": {
1274
1357
  "text": "boolean"
1275
1358
  },
1276
1359
  "default": "false",
1277
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1278
- "fieldName": "hideLabel"
1360
+ "fieldName": "weekNumbers"
1279
1361
  },
1280
1362
  {
1281
- "name": "status",
1363
+ "name": "static",
1282
1364
  "type": {
1283
- "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1365
+ "text": "boolean"
1284
1366
  },
1285
- "default": "'INITIAL'",
1286
- "description": "status of the content",
1287
- "fieldName": "status"
1367
+ "default": "false",
1368
+ "fieldName": "static"
1288
1369
  },
1289
1370
  {
1290
- "name": "content",
1371
+ "name": "position",
1291
1372
  "type": {
1292
- "text": "Content"
1373
+ "text": "'auto' | 'above' | 'below'"
1293
1374
  },
1294
- "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1295
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1296
- "fieldName": "content"
1297
- }
1298
- ],
1299
- "superclass": {
1300
- "name": "TerraElement",
1301
- "module": "/src/internal/terra-element.js"
1302
- },
1303
- "summary": "Fuzzy-search for combobox with list autocomplete.",
1304
- "tagNameWithoutPrefix": "combobox",
1305
- "tagName": "terra-combobox",
1306
- "customElement": true,
1307
- "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 */",
1308
- "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1309
- "status": "experimental",
1310
- "since": "1.0"
1311
- }
1312
- ],
1313
- "exports": [
1314
- {
1315
- "kind": "js",
1316
- "name": "default",
1317
- "declaration": {
1318
- "name": "TerraCombobox",
1319
- "module": "components/combobox/combobox.js"
1320
- }
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "kind": "javascript-module",
1326
- "path": "components/chip/chip.js",
1327
- "declarations": [
1328
- {
1329
- "kind": "class",
1330
- "description": "",
1331
- "name": "TerraChip",
1332
- "slots": [
1333
- {
1334
- "description": "The chip's label.",
1335
- "name": ""
1336
- }
1337
- ],
1338
- "members": [
1375
+ "default": "'auto'",
1376
+ "fieldName": "position"
1377
+ },
1339
1378
  {
1340
- "kind": "field",
1341
- "name": "size",
1379
+ "name": "show-months",
1342
1380
  "type": {
1343
- "text": "'small' | 'medium' | 'large'"
1381
+ "text": "number"
1344
1382
  },
1345
- "default": "'medium'",
1346
- "attribute": "size",
1347
- "reflects": true
1383
+ "default": "1",
1384
+ "fieldName": "showMonths"
1348
1385
  },
1349
1386
  {
1350
- "kind": "field",
1351
- "name": "#handleRemoveClick",
1352
- "privacy": "private"
1353
- }
1354
- ],
1355
- "attributes": [
1387
+ "name": "hide-label",
1388
+ "type": {
1389
+ "text": "boolean"
1390
+ },
1391
+ "default": "false",
1392
+ "fieldName": "hideLabel"
1393
+ },
1356
1394
  {
1357
- "name": "size",
1395
+ "name": "label",
1358
1396
  "type": {
1359
- "text": "'small' | 'medium' | 'large'"
1397
+ "text": "string"
1360
1398
  },
1361
- "default": "'medium'",
1362
- "fieldName": "size"
1399
+ "default": "'Select Date'",
1400
+ "fieldName": "label"
1363
1401
  }
1364
1402
  ],
1365
1403
  "superclass": {
1366
1404
  "name": "TerraElement",
1367
1405
  "module": "/src/internal/terra-element.js"
1368
1406
  },
1369
- "summary": "Used for contacts and tags",
1370
- "tagNameWithoutPrefix": "chip",
1371
- "tagName": "terra-chip",
1407
+ "summary": "A date picker component that supports single date selection or date range selection.",
1408
+ "tagNameWithoutPrefix": "date-picker",
1409
+ "tagName": "terra-date-picker",
1372
1410
  "customElement": true,
1373
- "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 */",
1374
- "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1375
- "status": "stable",
1411
+ "jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
1412
+ "documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
1413
+ "status": "experimental",
1376
1414
  "since": "1.0"
1377
1415
  }
1378
1416
  ],
@@ -1381,391 +1419,353 @@
1381
1419
  "kind": "js",
1382
1420
  "name": "default",
1383
1421
  "declaration": {
1384
- "name": "TerraChip",
1385
- "module": "components/chip/chip.js"
1422
+ "name": "TerraDatePicker",
1423
+ "module": "components/date-picker/date-picker.js"
1386
1424
  }
1387
1425
  }
1388
1426
  ]
1389
1427
  },
1390
1428
  {
1391
1429
  "kind": "javascript-module",
1392
- "path": "components/date-picker/date-picker.js",
1430
+ "path": "components/combobox/combobox.js",
1393
1431
  "declarations": [
1394
1432
  {
1395
1433
  "kind": "class",
1396
1434
  "description": "",
1397
- "name": "TerraDatePicker",
1398
- "cssParts": [
1435
+ "name": "TerraCombobox",
1436
+ "cssProperties": [
1399
1437
  {
1400
- "description": "The component's base wrapper.",
1401
- "name": "base"
1438
+ "description": "The height of the host element.",
1439
+ "name": "--host-height"
1402
1440
  },
1403
1441
  {
1404
- "description": "The date input element.",
1405
- "name": "input"
1406
- }
1407
- ],
1408
- "slots": [
1442
+ "description": "The height of the search help element.",
1443
+ "name": "--help-height"
1444
+ },
1409
1445
  {
1410
- "description": "The default slot.",
1411
- "name": ""
1446
+ "description": "The height of the input's label element.",
1447
+ "name": "--label-height"
1412
1448
  }
1413
1449
  ],
1414
- "members": [
1450
+ "cssParts": [
1415
1451
  {
1416
- "kind": "field",
1417
- "name": "selectedDates",
1418
- "type": {
1419
- "text": "{\n startDate: string | null\n endDate: string | null\n }"
1420
- }
1452
+ "description": "A `search` element, the component's base.",
1453
+ "name": "base"
1421
1454
  },
1422
1455
  {
1423
- "kind": "field",
1424
- "name": "id",
1425
- "type": {
1426
- "text": "string"
1427
- },
1428
- "attribute": "id"
1456
+ "description": "An `input` element used for searching.",
1457
+ "name": "combobox"
1429
1458
  },
1430
1459
  {
1431
- "kind": "field",
1432
- "name": "range",
1433
- "type": {
1434
- "text": "boolean"
1435
- },
1436
- "default": "false",
1437
- "attribute": "range"
1460
+ "description": "A `button` used for toggling the listbox's visibility.",
1461
+ "name": "button"
1438
1462
  },
1439
1463
  {
1440
- "kind": "field",
1441
- "name": "minDate",
1442
- "type": {
1443
- "text": "string | undefined"
1444
- },
1445
- "attribute": "min-date"
1446
- },
1464
+ "description": "A `ul` that holds the clickable options.",
1465
+ "name": "listbox"
1466
+ }
1467
+ ],
1468
+ "members": [
1447
1469
  {
1448
1470
  "kind": "field",
1449
- "name": "maxDate",
1471
+ "name": "shadowRootOptions",
1450
1472
  "type": {
1451
- "text": "string | undefined"
1473
+ "text": "object"
1452
1474
  },
1453
- "attribute": "max-date"
1475
+ "static": true,
1476
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
1454
1477
  },
1455
1478
  {
1456
1479
  "kind": "field",
1457
- "name": "startDate",
1480
+ "name": "tagName",
1458
1481
  "type": {
1459
- "text": "string | undefined"
1482
+ "text": "string"
1460
1483
  },
1461
- "attribute": "start-date"
1484
+ "static": true,
1485
+ "default": "'terra-combobox'"
1462
1486
  },
1463
1487
  {
1464
1488
  "kind": "field",
1465
- "name": "endDate",
1489
+ "name": "initialQuery",
1466
1490
  "type": {
1467
- "text": "string | undefined"
1491
+ "text": "string"
1468
1492
  },
1469
- "attribute": "end-date"
1493
+ "static": true,
1494
+ "default": "''"
1470
1495
  },
1471
1496
  {
1472
1497
  "kind": "field",
1473
- "name": "allowInput",
1498
+ "name": "#combobox",
1499
+ "privacy": "private",
1474
1500
  "type": {
1475
- "text": "boolean"
1501
+ "text": "HTMLInputElement | null"
1476
1502
  },
1477
- "default": "false",
1478
- "attribute": "allow-input"
1503
+ "default": "null"
1479
1504
  },
1480
1505
  {
1481
1506
  "kind": "field",
1482
- "name": "altFormat",
1507
+ "name": "#listbox",
1508
+ "privacy": "private",
1483
1509
  "type": {
1484
- "text": "string"
1510
+ "text": "HTMLUListElement | null"
1485
1511
  },
1486
- "default": "'F j, Y'",
1487
- "attribute": "alt-format"
1512
+ "default": "null"
1488
1513
  },
1489
1514
  {
1490
1515
  "kind": "field",
1491
- "name": "altInput",
1516
+ "name": "#searchEngine",
1517
+ "privacy": "private",
1492
1518
  "type": {
1493
- "text": "boolean"
1519
+ "text": "Fuse<GroupedListItem | ListItem> | null"
1494
1520
  },
1495
- "default": "false",
1496
- "attribute": "alt-input"
1521
+ "default": "null"
1497
1522
  },
1498
1523
  {
1499
1524
  "kind": "field",
1500
- "name": "altInputClass",
1525
+ "name": "#walker",
1526
+ "privacy": "private",
1501
1527
  "type": {
1502
- "text": "string"
1528
+ "text": "TreeWalker | null"
1503
1529
  },
1504
- "default": "''",
1505
- "attribute": "alt-input-class"
1530
+ "default": "null"
1506
1531
  },
1507
1532
  {
1508
1533
  "kind": "field",
1509
- "name": "dateFormat",
1534
+ "name": "label",
1510
1535
  "type": {
1511
1536
  "text": "string"
1512
1537
  },
1513
- "default": "'Y-m-d'",
1514
- "attribute": "date-format"
1538
+ "default": "'Search for Items'",
1539
+ "description": "Label the combobox with this.",
1540
+ "attribute": "label"
1515
1541
  },
1516
1542
  {
1517
1543
  "kind": "field",
1518
- "name": "enableTime",
1544
+ "name": "name",
1519
1545
  "type": {
1520
- "text": "boolean"
1546
+ "text": "string"
1521
1547
  },
1522
- "default": "false",
1523
- "attribute": "enable-time"
1548
+ "default": "'Item'",
1549
+ "description": "name the combobox with this.",
1550
+ "attribute": "name"
1524
1551
  },
1525
1552
  {
1526
1553
  "kind": "field",
1527
- "name": "time24hr",
1554
+ "name": "placeholder",
1528
1555
  "type": {
1529
- "text": "boolean"
1556
+ "text": "string"
1530
1557
  },
1531
- "default": "false",
1532
- "attribute": "time-24hr"
1558
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1559
+ "attribute": "placeholder"
1533
1560
  },
1534
1561
  {
1535
1562
  "kind": "field",
1536
- "name": "weekNumbers",
1563
+ "name": "hideHelp",
1537
1564
  "type": {
1538
1565
  "text": "boolean"
1539
1566
  },
1540
1567
  "default": "false",
1541
- "attribute": "week-numbers"
1568
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1569
+ "attribute": "hide-help"
1542
1570
  },
1543
1571
  {
1544
1572
  "kind": "field",
1545
- "name": "static",
1573
+ "name": "hideLabel",
1546
1574
  "type": {
1547
1575
  "text": "boolean"
1548
1576
  },
1549
1577
  "default": "false",
1550
- "attribute": "static"
1578
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1579
+ "attribute": "hide-label"
1551
1580
  },
1552
1581
  {
1553
1582
  "kind": "field",
1554
- "name": "position",
1583
+ "name": "status",
1555
1584
  "type": {
1556
- "text": "'auto' | 'above' | 'below'"
1585
+ "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1557
1586
  },
1558
- "default": "'auto'",
1559
- "attribute": "position"
1587
+ "default": "'INITIAL'",
1588
+ "description": "status of the content",
1589
+ "attribute": "status"
1560
1590
  },
1561
1591
  {
1562
1592
  "kind": "field",
1563
- "name": "showMonths",
1593
+ "name": "content",
1564
1594
  "type": {
1565
- "text": "number"
1595
+ "text": "Content"
1566
1596
  },
1567
- "default": "1",
1568
- "attribute": "show-months"
1597
+ "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1598
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1599
+ "attribute": "content"
1569
1600
  },
1570
1601
  {
1571
1602
  "kind": "field",
1572
- "name": "hideLabel",
1603
+ "name": "isExpanded",
1573
1604
  "type": {
1574
1605
  "text": "boolean"
1575
1606
  },
1576
- "default": "false",
1577
- "attribute": "hide-label"
1607
+ "default": "false"
1578
1608
  },
1579
1609
  {
1580
1610
  "kind": "field",
1581
- "name": "label",
1582
- "type": {
1583
- "text": "string"
1584
- },
1585
- "default": "'Select Date'",
1586
- "attribute": "label"
1611
+ "name": "query"
1587
1612
  },
1588
1613
  {
1589
1614
  "kind": "field",
1590
- "name": "flatpickrElement",
1615
+ "name": "searchResults",
1591
1616
  "type": {
1592
- "text": "any"
1617
+ "text": "GroupedListItem[] | ListItem[]"
1593
1618
  },
1594
- "privacy": "private"
1619
+ "default": "[]"
1595
1620
  },
1596
1621
  {
1597
1622
  "kind": "method",
1598
- "name": "handleChange",
1599
- "privacy": "private",
1623
+ "name": "contentChanged",
1600
1624
  "parameters": [
1601
1625
  {
1602
- "name": "selectedDates",
1626
+ "name": "_oldValue",
1603
1627
  "type": {
1604
- "text": "Date[]"
1628
+ "text": "any"
1629
+ }
1630
+ },
1631
+ {
1632
+ "name": "newValue",
1633
+ "type": {
1634
+ "text": "any"
1605
1635
  }
1606
1636
  }
1607
1637
  ]
1638
+ },
1639
+ {
1640
+ "kind": "field",
1641
+ "name": "#renderListItem",
1642
+ "privacy": "private"
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "#renderGroupListItem",
1647
+ "privacy": "private"
1648
+ },
1649
+ {
1650
+ "kind": "field",
1651
+ "name": "#renderError",
1652
+ "privacy": "private"
1653
+ },
1654
+ {
1655
+ "kind": "field",
1656
+ "name": "#renderLoading",
1657
+ "privacy": "private"
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "#dispatchChange",
1662
+ "privacy": "private"
1663
+ },
1664
+ {
1665
+ "kind": "field",
1666
+ "name": "#handleButtonClick",
1667
+ "privacy": "private"
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "#handleComboboxChange",
1672
+ "privacy": "private"
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "#handleOptionClick",
1677
+ "privacy": "private"
1678
+ },
1679
+ {
1680
+ "kind": "field",
1681
+ "name": "#handleKeydown",
1682
+ "privacy": "private"
1683
+ },
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "#manageListboxVisibility",
1687
+ "privacy": "private"
1688
+ },
1689
+ {
1690
+ "kind": "field",
1691
+ "name": "#selectOption",
1692
+ "privacy": "private"
1608
1693
  }
1609
1694
  ],
1610
1695
  "attributes": [
1611
1696
  {
1612
- "name": "id",
1697
+ "name": "label",
1613
1698
  "type": {
1614
1699
  "text": "string"
1615
1700
  },
1616
- "fieldName": "id"
1701
+ "default": "'Search for Items'",
1702
+ "description": "Label the combobox with this.",
1703
+ "fieldName": "label"
1617
1704
  },
1618
1705
  {
1619
- "name": "range",
1706
+ "name": "name",
1620
1707
  "type": {
1621
- "text": "boolean"
1708
+ "text": "string"
1622
1709
  },
1623
- "default": "false",
1624
- "fieldName": "range"
1710
+ "default": "'Item'",
1711
+ "description": "name the combobox with this.",
1712
+ "fieldName": "name"
1625
1713
  },
1626
1714
  {
1627
- "name": "min-date",
1715
+ "name": "placeholder",
1628
1716
  "type": {
1629
- "text": "string | undefined"
1717
+ "text": "string"
1630
1718
  },
1631
- "fieldName": "minDate"
1719
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1720
+ "fieldName": "placeholder"
1632
1721
  },
1633
1722
  {
1634
- "name": "max-date",
1723
+ "name": "hide-help",
1635
1724
  "type": {
1636
- "text": "string | undefined"
1725
+ "text": "boolean"
1637
1726
  },
1638
- "fieldName": "maxDate"
1727
+ "default": "false",
1728
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1729
+ "fieldName": "hideHelp"
1639
1730
  },
1640
1731
  {
1641
- "name": "start-date",
1642
- "type": {
1643
- "text": "string | undefined"
1644
- },
1645
- "fieldName": "startDate"
1646
- },
1647
- {
1648
- "name": "end-date",
1649
- "type": {
1650
- "text": "string | undefined"
1651
- },
1652
- "fieldName": "endDate"
1653
- },
1654
- {
1655
- "name": "allow-input",
1656
- "type": {
1657
- "text": "boolean"
1658
- },
1659
- "default": "false",
1660
- "fieldName": "allowInput"
1661
- },
1662
- {
1663
- "name": "alt-format",
1664
- "type": {
1665
- "text": "string"
1666
- },
1667
- "default": "'F j, Y'",
1668
- "fieldName": "altFormat"
1669
- },
1670
- {
1671
- "name": "alt-input",
1672
- "type": {
1673
- "text": "boolean"
1674
- },
1675
- "default": "false",
1676
- "fieldName": "altInput"
1677
- },
1678
- {
1679
- "name": "alt-input-class",
1680
- "type": {
1681
- "text": "string"
1682
- },
1683
- "default": "''",
1684
- "fieldName": "altInputClass"
1685
- },
1686
- {
1687
- "name": "date-format",
1688
- "type": {
1689
- "text": "string"
1690
- },
1691
- "default": "'Y-m-d'",
1692
- "fieldName": "dateFormat"
1693
- },
1694
- {
1695
- "name": "enable-time",
1696
- "type": {
1697
- "text": "boolean"
1698
- },
1699
- "default": "false",
1700
- "fieldName": "enableTime"
1701
- },
1702
- {
1703
- "name": "time-24hr",
1704
- "type": {
1705
- "text": "boolean"
1706
- },
1707
- "default": "false",
1708
- "fieldName": "time24hr"
1709
- },
1710
- {
1711
- "name": "week-numbers",
1712
- "type": {
1713
- "text": "boolean"
1714
- },
1715
- "default": "false",
1716
- "fieldName": "weekNumbers"
1717
- },
1718
- {
1719
- "name": "static",
1732
+ "name": "hide-label",
1720
1733
  "type": {
1721
1734
  "text": "boolean"
1722
1735
  },
1723
1736
  "default": "false",
1724
- "fieldName": "static"
1725
- },
1726
- {
1727
- "name": "position",
1728
- "type": {
1729
- "text": "'auto' | 'above' | 'below'"
1730
- },
1731
- "default": "'auto'",
1732
- "fieldName": "position"
1733
- },
1734
- {
1735
- "name": "show-months",
1736
- "type": {
1737
- "text": "number"
1738
- },
1739
- "default": "1",
1740
- "fieldName": "showMonths"
1737
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1738
+ "fieldName": "hideLabel"
1741
1739
  },
1742
1740
  {
1743
- "name": "hide-label",
1741
+ "name": "status",
1744
1742
  "type": {
1745
- "text": "boolean"
1743
+ "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1746
1744
  },
1747
- "default": "false",
1748
- "fieldName": "hideLabel"
1745
+ "default": "'INITIAL'",
1746
+ "description": "status of the content",
1747
+ "fieldName": "status"
1749
1748
  },
1750
1749
  {
1751
- "name": "label",
1750
+ "name": "content",
1752
1751
  "type": {
1753
- "text": "string"
1752
+ "text": "Content"
1754
1753
  },
1755
- "default": "'Select Date'",
1756
- "fieldName": "label"
1754
+ "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1755
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1756
+ "fieldName": "content"
1757
1757
  }
1758
1758
  ],
1759
1759
  "superclass": {
1760
1760
  "name": "TerraElement",
1761
1761
  "module": "/src/internal/terra-element.js"
1762
1762
  },
1763
- "summary": "A date picker component that supports single date selection or date range selection.",
1764
- "tagNameWithoutPrefix": "date-picker",
1765
- "tagName": "terra-date-picker",
1763
+ "summary": "Fuzzy-search for combobox with list autocomplete.",
1764
+ "tagNameWithoutPrefix": "combobox",
1765
+ "tagName": "terra-combobox",
1766
1766
  "customElement": true,
1767
- "jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
1768
- "documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
1767
+ "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 */",
1768
+ "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1769
1769
  "status": "experimental",
1770
1770
  "since": "1.0"
1771
1771
  }
@@ -1775,8 +1775,8 @@
1775
1775
  "kind": "js",
1776
1776
  "name": "default",
1777
1777
  "declaration": {
1778
- "name": "TerraDatePicker",
1779
- "module": "components/date-picker/date-picker.js"
1778
+ "name": "TerraCombobox",
1779
+ "module": "components/combobox/combobox.js"
1780
1780
  }
1781
1781
  }
1782
1782
  ]
@@ -2788,7 +2788,7 @@
2788
2788
  "kind": "field",
2789
2789
  "name": "shapes",
2790
2790
  "type": {
2791
- "text": "any"
2791
+ "text": "ShapeFilesResponse"
2792
2792
  },
2793
2793
  "description": "List of geojson shapes"
2794
2794
  },
@@ -3449,40 +3449,12 @@
3449
3449
  },
3450
3450
  {
3451
3451
  "kind": "javascript-module",
3452
- "path": "components/variable-keyword-search/variable-keyword-search.js",
3452
+ "path": "components/time-series/time-series.js",
3453
3453
  "declarations": [
3454
3454
  {
3455
3455
  "kind": "class",
3456
3456
  "description": "",
3457
- "name": "TerraVariableKeywordSearch",
3458
- "cssProperties": [
3459
- {
3460
- "description": "The height of the host element.",
3461
- "name": "--host-height"
3462
- },
3463
- {
3464
- "description": "The height of the input's label element.",
3465
- "name": "--label-height"
3466
- }
3467
- ],
3468
- "cssParts": [
3469
- {
3470
- "description": "A `search` element, the component's base.",
3471
- "name": "base"
3472
- },
3473
- {
3474
- "description": "An `input` element used for searching.",
3475
- "name": "combobox"
3476
- },
3477
- {
3478
- "description": "A `button` used for toggling the listbox's visibility.",
3479
- "name": "button"
3480
- },
3481
- {
3482
- "description": "A `ul` that holds the clickable options.",
3483
- "name": "listbox"
3484
- }
3485
- ],
3457
+ "name": "TerraTimeSeries",
3486
3458
  "members": [
3487
3459
  {
3488
3460
  "kind": "field",
@@ -3491,147 +3463,213 @@
3491
3463
  "text": "object"
3492
3464
  },
3493
3465
  "static": true,
3494
- "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
3466
+ "default": "{\n 'terra-plot': TerraPlot,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
3495
3467
  },
3496
3468
  {
3497
3469
  "kind": "field",
3498
- "name": "shadowRootOptions",
3470
+ "name": "#timeSeriesController",
3471
+ "privacy": "private",
3499
3472
  "type": {
3500
- "text": "object"
3501
- },
3502
- "static": true,
3503
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
3473
+ "text": "TimeSeriesController"
3474
+ }
3504
3475
  },
3505
3476
  {
3506
3477
  "kind": "field",
3507
- "name": "tagName",
3478
+ "name": "collection",
3508
3479
  "type": {
3509
- "text": "string"
3480
+ "text": "string | undefined"
3510
3481
  },
3511
- "static": true,
3512
- "default": "'terra-variable-keyword-search'"
3482
+ "description": "a collection entry id (ex: GPM_3IMERGHH_06)",
3483
+ "attribute": "collection",
3484
+ "reflects": true
3513
3485
  },
3514
3486
  {
3515
3487
  "kind": "field",
3516
- "name": "initialQuery",
3488
+ "name": "collectionLongName",
3517
3489
  "type": {
3518
- "text": "string"
3490
+ "text": "string | undefined"
3519
3491
  },
3520
- "static": true,
3521
- "default": "''"
3492
+ "description": "a collection long name (ex: \"NLDAS Primary Forcing Data L4 Hourly 0.125 x 0.125 degree V2.0 (NLDAS_FORA0125_H) at GES DISC\")",
3493
+ "attribute": "collectionLongName",
3494
+ "reflects": true
3522
3495
  },
3523
3496
  {
3524
3497
  "kind": "field",
3525
- "name": "#combobox",
3526
- "privacy": "private",
3498
+ "name": "datasetLandingPage",
3527
3499
  "type": {
3528
- "text": "HTMLInputElement | null"
3500
+ "text": "string | undefined"
3529
3501
  },
3530
- "default": "null"
3531
- },
3532
- {
3533
- "kind": "field",
3534
- "name": "#fetchController",
3535
- "privacy": "private",
3536
- "default": "new FetchController(this)"
3502
+ "description": "the dataset landing page for the collection",
3503
+ "attribute": "datasetLandingPage",
3504
+ "reflects": true
3537
3505
  },
3538
3506
  {
3539
3507
  "kind": "field",
3540
- "name": "#listbox",
3541
- "privacy": "private",
3508
+ "name": "variable",
3542
3509
  "type": {
3543
- "text": "HTMLUListElement | null"
3510
+ "text": "string | undefined"
3544
3511
  },
3545
- "default": "null"
3512
+ "description": "a variable short name to plot (ex: precipitationCal)",
3513
+ "attribute": "variable",
3514
+ "reflects": true
3546
3515
  },
3547
3516
  {
3548
3517
  "kind": "field",
3549
- "name": "#searchEngine",
3550
- "privacy": "private",
3518
+ "name": "variableLandingPage",
3551
3519
  "type": {
3552
- "text": "Fuse<ListItem> | null"
3520
+ "text": "string | undefined"
3553
3521
  },
3554
- "default": "null"
3522
+ "description": "the variable landing page",
3523
+ "attribute": "variableLandingPage",
3524
+ "reflects": true
3555
3525
  },
3556
3526
  {
3557
3527
  "kind": "field",
3558
- "name": "#walker",
3559
- "privacy": "private",
3528
+ "name": "variableLongName",
3560
3529
  "type": {
3561
- "text": "TreeWalker | null"
3530
+ "text": "string | undefined"
3562
3531
  },
3563
- "default": "null"
3532
+ "description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
3533
+ "attribute": "variableLongName",
3534
+ "reflects": true
3564
3535
  },
3565
3536
  {
3566
3537
  "kind": "field",
3567
- "name": "label",
3538
+ "name": "startDate",
3568
3539
  "type": {
3569
- "text": "string"
3540
+ "text": "string | undefined"
3570
3541
  },
3571
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
3572
- "description": "Label the combobox with this.",
3573
- "attribute": "label"
3542
+ "description": "The start date for the time series plot. (ex: 2021-01-01)",
3543
+ "attribute": "start-date",
3544
+ "reflects": true
3574
3545
  },
3575
3546
  {
3576
3547
  "kind": "field",
3577
- "name": "placeholder",
3548
+ "name": "endDate",
3578
3549
  "type": {
3579
- "text": "string"
3550
+ "text": "string | undefined"
3580
3551
  },
3581
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
3582
- "attribute": "placeholder"
3552
+ "description": "The end date for the time series plot. (ex: 2021-01-01)",
3553
+ "attribute": "end-date",
3554
+ "reflects": true
3583
3555
  },
3584
3556
  {
3585
3557
  "kind": "field",
3586
- "name": "hideLabel",
3558
+ "name": "location",
3587
3559
  "type": {
3588
- "text": "boolean"
3560
+ "text": "string | undefined"
3589
3561
  },
3590
- "default": "true",
3591
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
3592
- "attribute": "hide-label"
3562
+ "description": "The point location in \"lat,lon\" format.",
3563
+ "attribute": "location",
3564
+ "reflects": true
3593
3565
  },
3594
3566
  {
3595
3567
  "kind": "field",
3596
- "name": "searchConfig",
3568
+ "name": "units",
3597
3569
  "type": {
3598
- "text": "object"
3570
+ "text": "string | undefined"
3599
3571
  },
3600
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
3601
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
3602
- "attribute": "searchConfig"
3572
+ "description": "Units",
3573
+ "attribute": "units",
3574
+ "reflects": true
3603
3575
  },
3604
3576
  {
3605
3577
  "kind": "field",
3606
- "name": "value",
3578
+ "name": "bearerToken",
3607
3579
  "type": {
3608
3580
  "text": "string"
3609
3581
  },
3610
- "attribute": "value"
3582
+ "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).",
3583
+ "attribute": "bearer-token"
3611
3584
  },
3612
3585
  {
3613
3586
  "kind": "field",
3614
- "name": "isExpanded",
3587
+ "name": "dateRangeSlider",
3588
+ "type": {
3589
+ "text": "TerraDateRangeSlider"
3590
+ }
3591
+ },
3592
+ {
3593
+ "kind": "field",
3594
+ "name": "plot",
3595
+ "type": {
3596
+ "text": "TerraPlot"
3597
+ }
3598
+ },
3599
+ {
3600
+ "kind": "field",
3601
+ "name": "spatialPicker",
3602
+ "type": {
3603
+ "text": "TerraSpatialPicker"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "field",
3608
+ "name": "variableCombobox",
3609
+ "type": {
3610
+ "text": "TerraVariableCombobox"
3611
+ }
3612
+ },
3613
+ {
3614
+ "kind": "field",
3615
+ "name": "menu",
3616
+ "type": {
3617
+ "text": "HTMLMenuElement"
3618
+ }
3619
+ },
3620
+ {
3621
+ "kind": "field",
3622
+ "name": "collectionBeginningDateTime",
3623
+ "type": {
3624
+ "text": "string | undefined"
3625
+ },
3626
+ "description": "holds the start date for the earliest available data for the collection"
3627
+ },
3628
+ {
3629
+ "kind": "field",
3630
+ "name": "collectionEndingDateTime",
3631
+ "type": {
3632
+ "text": "string | undefined"
3633
+ },
3634
+ "description": "holds the end date for the latest available data for the collection"
3635
+ },
3636
+ {
3637
+ "kind": "field",
3638
+ "name": "timeInterval",
3639
+ "type": {
3640
+ "text": "TimeInterval | undefined"
3641
+ },
3642
+ "description": "holds the time interval for the collection"
3643
+ },
3644
+ {
3645
+ "kind": "field",
3646
+ "name": "showDataPointWarning",
3615
3647
  "type": {
3616
3648
  "text": "boolean"
3617
3649
  },
3618
- "default": "false"
3650
+ "default": "false",
3651
+ "description": "if true, we'll show a warning to the user about them requesting a large number of data points"
3619
3652
  },
3620
3653
  {
3621
3654
  "kind": "field",
3622
- "name": "query"
3655
+ "name": "estimatedDataPoints",
3656
+ "type": {
3657
+ "text": "number"
3658
+ },
3659
+ "default": "0",
3660
+ "description": "stores the estimated"
3623
3661
  },
3624
3662
  {
3625
3663
  "kind": "field",
3626
- "name": "searchResults",
3664
+ "name": "activeMenuItem",
3627
3665
  "type": {
3628
- "text": "ListItem[]"
3666
+ "text": "MenuNames"
3629
3667
  },
3630
- "default": "[]"
3668
+ "default": "null"
3631
3669
  },
3632
3670
  {
3633
3671
  "kind": "method",
3634
- "name": "valueChanged",
3672
+ "name": "handleCollectionUpdate",
3635
3673
  "parameters": [
3636
3674
  {
3637
3675
  "name": "_oldValue",
@@ -3649,597 +3687,680 @@
3649
3687
  },
3650
3688
  {
3651
3689
  "kind": "method",
3652
- "name": "clear"
3690
+ "name": "handlevariableUpdate",
3691
+ "parameters": [
3692
+ {
3693
+ "name": "_oldValue",
3694
+ "type": {
3695
+ "text": "string"
3696
+ }
3697
+ },
3698
+ {
3699
+ "name": "newValue",
3700
+ "type": {
3701
+ "text": "string"
3702
+ }
3703
+ }
3704
+ ]
3653
3705
  },
3654
3706
  {
3655
3707
  "kind": "method",
3656
- "name": "close"
3708
+ "name": "handleStartDateUpdate",
3709
+ "parameters": [
3710
+ {
3711
+ "name": "_oldValue",
3712
+ "type": {
3713
+ "text": "string"
3714
+ }
3715
+ },
3716
+ {
3717
+ "name": "newValue",
3718
+ "type": {
3719
+ "text": "string"
3720
+ }
3721
+ }
3722
+ ]
3657
3723
  },
3658
3724
  {
3659
3725
  "kind": "method",
3660
- "name": "toggle"
3726
+ "name": "handleEndDateUpdate",
3727
+ "parameters": [
3728
+ {
3729
+ "name": "_oldValue",
3730
+ "type": {
3731
+ "text": "string"
3732
+ }
3733
+ },
3734
+ {
3735
+ "name": "newValue",
3736
+ "type": {
3737
+ "text": "string"
3738
+ }
3739
+ }
3740
+ ]
3661
3741
  },
3662
3742
  {
3663
- "kind": "field",
3664
- "name": "#handleComboboxChange",
3665
- "privacy": "private"
3743
+ "kind": "method",
3744
+ "name": "handleLocationUpdate",
3745
+ "parameters": [
3746
+ {
3747
+ "name": "_oldValue",
3748
+ "type": {
3749
+ "text": "string"
3750
+ }
3751
+ },
3752
+ {
3753
+ "name": "newValue",
3754
+ "type": {
3755
+ "text": "string"
3756
+ }
3757
+ }
3758
+ ]
3666
3759
  },
3667
3760
  {
3668
- "kind": "field",
3669
- "name": "#handleOptionClick",
3670
- "privacy": "private"
3761
+ "kind": "method",
3762
+ "name": "handleFocus",
3763
+ "parameters": [
3764
+ {
3765
+ "name": "_oldValue",
3766
+ "type": {
3767
+ "text": "MenuNames"
3768
+ }
3769
+ },
3770
+ {
3771
+ "name": "newValue",
3772
+ "type": {
3773
+ "text": "MenuNames"
3774
+ }
3775
+ }
3776
+ ]
3671
3777
  },
3672
3778
  {
3673
- "kind": "field",
3674
- "name": "#handleKeydown",
3675
- "privacy": "private"
3779
+ "kind": "method",
3780
+ "name": "#checkDataPointLimits",
3781
+ "description": "Checks if the current date range will exceed data point limits\neturns true if it's safe to proceed, false if confirmation is needed"
3676
3782
  },
3677
3783
  {
3678
- "kind": "field",
3679
- "name": "#manageListboxVisibility",
3680
- "privacy": "private"
3784
+ "kind": "method",
3785
+ "name": "#confirmDataPointWarning"
3681
3786
  },
3682
3787
  {
3683
- "kind": "field",
3684
- "name": "#selectOption",
3685
- "privacy": "private"
3788
+ "kind": "method",
3789
+ "name": "#cancelDataPointWarning"
3686
3790
  },
3687
3791
  {
3688
3792
  "kind": "method",
3689
- "name": "#handleSearch",
3793
+ "name": "#adaptPropertyToController",
3690
3794
  "parameters": [
3691
3795
  {
3692
- "name": "query",
3796
+ "name": "property",
3693
3797
  "type": {
3694
- "text": "string"
3798
+ "text": "'collection' | 'variable' | 'startDate' | 'endDate' | 'location'"
3799
+ }
3800
+ },
3801
+ {
3802
+ "name": "value",
3803
+ "type": {
3804
+ "text": "any"
3695
3805
  }
3696
3806
  }
3697
3807
  ]
3698
3808
  },
3699
3809
  {
3700
3810
  "kind": "method",
3701
- "name": "#clearSearch"
3702
- }
3703
- ],
3704
- "events": [
3705
- {
3706
- "description": "Emitted when an option is selected.",
3707
- "name": "terra-variable-keyword-search-change",
3708
- "reactName": "onTerraVariableKeywordSearchChange",
3709
- "eventName": "TerraVariableKeywordSearchChangeEvent"
3811
+ "name": "#maybeSliceTimeForStartEnd",
3812
+ "description": "The Collection Beginning DateTime changes when a new collection is selected.\nWe want to auto-select a reasonable slice of time and send a request to the data API, the\nsame as if the user moved the time slider.\nHowever, if the component has the startDate or endDate set externally, don't override that;\nthis is an init-only action."
3710
3813
  },
3711
3814
  {
3712
- "description": "Emitted when the component is triggering a search (like a form triggering submit).",
3713
- "name": "terra-search",
3714
- "reactName": "onTerraSearch",
3715
- "eventName": "TerraSearchEvent"
3716
- }
3717
- ],
3718
- "attributes": [
3719
- {
3720
- "name": "label",
3721
- "type": {
3722
- "text": "string"
3723
- },
3724
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
3725
- "description": "Label the combobox with this.",
3726
- "fieldName": "label"
3815
+ "kind": "method",
3816
+ "name": "#handleVariableChange",
3817
+ "parameters": [
3818
+ {
3819
+ "name": "event",
3820
+ "type": {
3821
+ "text": "TerraComboboxChangeEvent"
3822
+ }
3823
+ }
3824
+ ]
3727
3825
  },
3728
3826
  {
3729
- "name": "placeholder",
3730
- "type": {
3731
- "text": "string"
3732
- },
3733
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
3734
- "fieldName": "placeholder"
3827
+ "kind": "method",
3828
+ "name": "#handleMapChange",
3829
+ "parameters": [
3830
+ {
3831
+ "name": "event",
3832
+ "type": {
3833
+ "text": "CustomEvent"
3834
+ }
3835
+ }
3836
+ ]
3735
3837
  },
3736
3838
  {
3737
- "name": "hide-label",
3738
- "type": {
3739
- "text": "boolean"
3740
- },
3741
- "default": "true",
3742
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
3743
- "fieldName": "hideLabel"
3839
+ "kind": "method",
3840
+ "name": "#handleDateRangeSliderChangeEvent",
3841
+ "parameters": [
3842
+ {
3843
+ "name": "event",
3844
+ "type": {
3845
+ "text": "TerraDateRangeChangeEvent"
3846
+ }
3847
+ }
3848
+ ],
3849
+ "description": "anytime the date range slider changes, update the start and end date"
3744
3850
  },
3745
3851
  {
3746
- "name": "searchConfig",
3747
- "type": {
3748
- "text": "object"
3749
- },
3750
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
3751
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
3752
- "fieldName": "searchConfig"
3852
+ "kind": "method",
3853
+ "name": "#abortDataLoad",
3854
+ "description": "aborts the underlying data loading task, which cancels the network request"
3753
3855
  },
3754
3856
  {
3755
- "name": "value",
3756
- "type": {
3757
- "text": "string"
3758
- },
3759
- "fieldName": "value"
3760
- }
3761
- ],
3762
- "superclass": {
3763
- "name": "TerraElement",
3764
- "module": "/src/internal/terra-element.js"
3765
- },
3766
- "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
3767
- "tagNameWithoutPrefix": "variable-keyword-search",
3768
- "tagName": "terra-variable-keyword-search",
3769
- "customElement": true,
3770
- "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 */",
3771
- "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
3772
- "status": "MVP",
3773
- "since": "1.0"
3774
- }
3775
- ],
3776
- "exports": [
3777
- {
3778
- "kind": "js",
3779
- "name": "default",
3780
- "declaration": {
3781
- "name": "TerraVariableKeywordSearch",
3782
- "module": "components/variable-keyword-search/variable-keyword-search.js"
3783
- }
3784
- }
3785
- ]
3786
- },
3787
- {
3788
- "kind": "javascript-module",
3789
- "path": "components/time-series/time-series.js",
3790
- "declarations": [
3791
- {
3792
- "kind": "class",
3793
- "description": "",
3794
- "name": "TerraTimeSeries",
3795
- "members": [
3857
+ "kind": "method",
3858
+ "name": "#downloadCSV",
3859
+ "parameters": [
3860
+ {
3861
+ "name": "_event",
3862
+ "type": {
3863
+ "text": "Event"
3864
+ }
3865
+ }
3866
+ ],
3867
+ "description": "TODO:\n[x] re-enable downloads here\n[x] get live data from Giovanni\n[x] display required information in information menuitem\n[x] ask about adding help links\n[ ] see what can be simplified from downloadCSV"
3868
+ },
3796
3869
  {
3797
- "kind": "field",
3798
- "name": "dependencies",
3799
- "type": {
3800
- "text": "object"
3870
+ "kind": "method",
3871
+ "name": "#convertToCSV",
3872
+ "return": {
3873
+ "type": {
3874
+ "text": "string"
3875
+ }
3801
3876
  },
3802
- "static": true,
3803
- "default": "{\n 'terra-plot': TerraPlot,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n 'terra-loader': TerraLoader,\n 'terra-icon': TerraIcon,\n 'terra-button': TerraButton,\n }"
3877
+ "parameters": [
3878
+ {
3879
+ "name": "data",
3880
+ "type": {
3881
+ "text": "any[]"
3882
+ }
3883
+ }
3884
+ ]
3804
3885
  },
3805
3886
  {
3806
- "kind": "field",
3807
- "name": "#timeSeriesController",
3808
- "privacy": "private",
3809
- "type": {
3810
- "text": "TimeSeriesController"
3811
- }
3887
+ "kind": "method",
3888
+ "name": "#downloadPNG",
3889
+ "parameters": [
3890
+ {
3891
+ "name": "_event",
3892
+ "type": {
3893
+ "text": "Event"
3894
+ }
3895
+ }
3896
+ ]
3812
3897
  },
3813
3898
  {
3814
- "kind": "field",
3899
+ "kind": "method",
3900
+ "name": "#handleActiveMenuItem",
3901
+ "parameters": [
3902
+ {
3903
+ "name": "event",
3904
+ "type": {
3905
+ "text": "Event"
3906
+ }
3907
+ }
3908
+ ]
3909
+ }
3910
+ ],
3911
+ "events": [
3912
+ {
3913
+ "description": "Emitted whenever time series data has been fetched from Giovanni",
3914
+ "name": "terra-time-series-data-change",
3915
+ "reactName": "onTerraTimeSeriesDataChange",
3916
+ "eventName": "TerraTimeSeriesDataChangeEvent"
3917
+ }
3918
+ ],
3919
+ "attributes": [
3920
+ {
3815
3921
  "name": "collection",
3816
3922
  "type": {
3817
3923
  "text": "string | undefined"
3818
3924
  },
3819
3925
  "description": "a collection entry id (ex: GPM_3IMERGHH_06)",
3820
- "attribute": "collection",
3821
- "reflects": true
3926
+ "fieldName": "collection"
3822
3927
  },
3823
3928
  {
3824
- "kind": "field",
3825
3929
  "name": "collectionLongName",
3826
3930
  "type": {
3827
3931
  "text": "string | undefined"
3828
3932
  },
3829
3933
  "description": "a collection long name (ex: \"NLDAS Primary Forcing Data L4 Hourly 0.125 x 0.125 degree V2.0 (NLDAS_FORA0125_H) at GES DISC\")",
3830
- "attribute": "collectionLongName",
3831
- "reflects": true
3934
+ "fieldName": "collectionLongName"
3832
3935
  },
3833
3936
  {
3834
- "kind": "field",
3835
3937
  "name": "datasetLandingPage",
3836
3938
  "type": {
3837
3939
  "text": "string | undefined"
3838
3940
  },
3839
3941
  "description": "the dataset landing page for the collection",
3840
- "attribute": "datasetLandingPage",
3841
- "reflects": true
3942
+ "fieldName": "datasetLandingPage"
3842
3943
  },
3843
3944
  {
3844
- "kind": "field",
3845
3945
  "name": "variable",
3846
3946
  "type": {
3847
3947
  "text": "string | undefined"
3848
3948
  },
3849
3949
  "description": "a variable short name to plot (ex: precipitationCal)",
3850
- "attribute": "variable",
3851
- "reflects": true
3950
+ "fieldName": "variable"
3852
3951
  },
3853
3952
  {
3854
- "kind": "field",
3855
3953
  "name": "variableLandingPage",
3856
3954
  "type": {
3857
3955
  "text": "string | undefined"
3858
3956
  },
3859
3957
  "description": "the variable landing page",
3860
- "attribute": "variableLandingPage",
3861
- "reflects": true
3958
+ "fieldName": "variableLandingPage"
3862
3959
  },
3863
3960
  {
3864
- "kind": "field",
3865
3961
  "name": "variableLongName",
3866
3962
  "type": {
3867
3963
  "text": "string | undefined"
3868
3964
  },
3869
3965
  "description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
3870
- "attribute": "variableLongName",
3871
- "reflects": true
3966
+ "fieldName": "variableLongName"
3872
3967
  },
3873
3968
  {
3874
- "kind": "field",
3875
- "name": "startDate",
3969
+ "name": "start-date",
3876
3970
  "type": {
3877
3971
  "text": "string | undefined"
3878
3972
  },
3879
3973
  "description": "The start date for the time series plot. (ex: 2021-01-01)",
3880
- "attribute": "start-date",
3881
- "reflects": true
3974
+ "fieldName": "startDate"
3882
3975
  },
3883
3976
  {
3884
- "kind": "field",
3885
- "name": "endDate",
3977
+ "name": "end-date",
3886
3978
  "type": {
3887
3979
  "text": "string | undefined"
3888
3980
  },
3889
3981
  "description": "The end date for the time series plot. (ex: 2021-01-01)",
3890
- "attribute": "end-date",
3891
- "reflects": true
3982
+ "fieldName": "endDate"
3892
3983
  },
3893
3984
  {
3894
- "kind": "field",
3895
3985
  "name": "location",
3896
3986
  "type": {
3897
3987
  "text": "string | undefined"
3898
3988
  },
3899
3989
  "description": "The point location in \"lat,lon\" format.",
3900
- "attribute": "location",
3901
- "reflects": true
3990
+ "fieldName": "location"
3902
3991
  },
3903
3992
  {
3904
- "kind": "field",
3905
3993
  "name": "units",
3906
3994
  "type": {
3907
3995
  "text": "string | undefined"
3908
3996
  },
3909
3997
  "description": "Units",
3910
- "attribute": "units",
3911
- "reflects": true
3998
+ "fieldName": "units"
3912
3999
  },
3913
4000
  {
3914
- "kind": "field",
3915
- "name": "bearerToken",
4001
+ "name": "bearer-token",
3916
4002
  "type": {
3917
4003
  "text": "string"
3918
4004
  },
3919
4005
  "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).",
3920
- "attribute": "bearer-token"
3921
- },
4006
+ "fieldName": "bearerToken"
4007
+ }
4008
+ ],
4009
+ "superclass": {
4010
+ "name": "TerraElement",
4011
+ "module": "/src/internal/terra-element.js"
4012
+ },
4013
+ "summary": "A component for visualizing time series data using the GES DISC Giovanni API.",
4014
+ "tagNameWithoutPrefix": "time-series",
4015
+ "tagName": "terra-time-series",
4016
+ "customElement": true,
4017
+ "jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n * @dependency terra-date-range-slider\n * @dependency terra-variable-combobox\n *\n * @event terra-time-series-data-change - Emitted whenever time series data has been fetched from Giovanni\n */",
4018
+ "documentation": "https://disc.gsfc.nasa.gov/components/time-series",
4019
+ "status": "mvp",
4020
+ "since": "1.0",
4021
+ "dependencies": [
4022
+ "terra-plot",
4023
+ "terra-date-range-slider",
4024
+ "terra-variable-combobox"
4025
+ ]
4026
+ }
4027
+ ],
4028
+ "exports": [
4029
+ {
4030
+ "kind": "js",
4031
+ "name": "default",
4032
+ "declaration": {
4033
+ "name": "TerraTimeSeries",
4034
+ "module": "components/time-series/time-series.js"
4035
+ }
4036
+ }
4037
+ ]
4038
+ },
4039
+ {
4040
+ "kind": "javascript-module",
4041
+ "path": "components/variable-combobox/variable-combobox.js",
4042
+ "declarations": [
4043
+ {
4044
+ "kind": "class",
4045
+ "description": "",
4046
+ "name": "TerraVariableCombobox",
4047
+ "cssProperties": [
3922
4048
  {
3923
- "kind": "field",
3924
- "name": "dateRangeSlider",
3925
- "type": {
3926
- "text": "TerraDateRangeSlider"
3927
- }
4049
+ "description": "The height of the host element.",
4050
+ "name": "--host-height"
3928
4051
  },
3929
4052
  {
3930
- "kind": "field",
3931
- "name": "plot",
3932
- "type": {
3933
- "text": "TerraPlot"
3934
- }
4053
+ "description": "The height of the search help element.",
4054
+ "name": "--help-height"
3935
4055
  },
3936
4056
  {
3937
- "kind": "field",
3938
- "name": "spatialPicker",
4057
+ "description": "The height of the input's label element.",
4058
+ "name": "--label-height"
4059
+ }
4060
+ ],
4061
+ "cssParts": [
4062
+ {
4063
+ "description": "A `search` element, the component's base.",
4064
+ "name": "base"
4065
+ },
4066
+ {
4067
+ "description": "An `input` element used for searching.",
4068
+ "name": "combobox"
4069
+ },
4070
+ {
4071
+ "description": "A `button` used for toggling the listbox's visibility.",
4072
+ "name": "button"
4073
+ },
4074
+ {
4075
+ "description": "A `ul` that holds the clickable options.",
4076
+ "name": "listbox"
4077
+ }
4078
+ ],
4079
+ "members": [
4080
+ {
4081
+ "kind": "field",
4082
+ "name": "dependencies",
3939
4083
  "type": {
3940
- "text": "TerraSpatialPicker"
3941
- }
4084
+ "text": "object"
4085
+ },
4086
+ "static": true,
4087
+ "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
3942
4088
  },
3943
4089
  {
3944
4090
  "kind": "field",
3945
- "name": "variableCombobox",
4091
+ "name": "shadowRootOptions",
3946
4092
  "type": {
3947
- "text": "TerraVariableCombobox"
3948
- }
4093
+ "text": "object"
4094
+ },
4095
+ "static": true,
4096
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
3949
4097
  },
3950
4098
  {
3951
4099
  "kind": "field",
3952
- "name": "menu",
4100
+ "name": "tagName",
3953
4101
  "type": {
3954
- "text": "HTMLMenuElement"
4102
+ "text": "string"
4103
+ },
4104
+ "static": true,
4105
+ "default": "'terra-variable-combobox'"
4106
+ },
4107
+ {
4108
+ "kind": "field",
4109
+ "name": "initialQuery",
4110
+ "type": {
4111
+ "text": "string"
4112
+ },
4113
+ "static": true,
4114
+ "default": "''"
4115
+ },
4116
+ {
4117
+ "kind": "field",
4118
+ "name": "#combobox",
4119
+ "privacy": "private",
4120
+ "type": {
4121
+ "text": "HTMLInputElement | null"
4122
+ },
4123
+ "default": "null"
4124
+ },
4125
+ {
4126
+ "kind": "field",
4127
+ "name": "#fetchController",
4128
+ "privacy": "private",
4129
+ "type": {
4130
+ "text": "FetchController"
3955
4131
  }
3956
4132
  },
3957
4133
  {
3958
4134
  "kind": "field",
3959
- "name": "collectionBeginningDateTime",
4135
+ "name": "#searchableList",
4136
+ "privacy": "private",
3960
4137
  "type": {
3961
- "text": "string | undefined"
4138
+ "text": "ListItem[]"
3962
4139
  },
3963
- "description": "holds the start date for the earliest available data for the collection"
4140
+ "default": "[]"
3964
4141
  },
3965
4142
  {
3966
4143
  "kind": "field",
3967
- "name": "collectionEndingDateTime",
4144
+ "name": "#listbox",
4145
+ "privacy": "private",
3968
4146
  "type": {
3969
- "text": "string | undefined"
4147
+ "text": "HTMLUListElement | null"
3970
4148
  },
3971
- "description": "holds the end date for the latest available data for the collection"
4149
+ "default": "null"
3972
4150
  },
3973
4151
  {
3974
4152
  "kind": "field",
3975
- "name": "timeInterval",
4153
+ "name": "#searchEngine",
4154
+ "privacy": "private",
3976
4155
  "type": {
3977
- "text": "TimeInterval | undefined"
4156
+ "text": "Fuse<ListItem> | null"
3978
4157
  },
3979
- "description": "holds the time interval for the collection"
4158
+ "default": "null"
3980
4159
  },
3981
4160
  {
3982
4161
  "kind": "field",
3983
- "name": "showDataPointWarning",
4162
+ "name": "#walker",
4163
+ "privacy": "private",
4164
+ "type": {
4165
+ "text": "TreeWalker | null"
4166
+ },
4167
+ "default": "null"
4168
+ },
4169
+ {
4170
+ "kind": "field",
4171
+ "name": "#tagContainer",
4172
+ "privacy": "private",
4173
+ "type": {
4174
+ "text": "HTMLDivElement | null"
4175
+ },
4176
+ "default": "null"
4177
+ },
4178
+ {
4179
+ "kind": "field",
4180
+ "name": "label",
4181
+ "type": {
4182
+ "text": "string"
4183
+ },
4184
+ "default": "'Search for Variables'",
4185
+ "description": "Label the combobox with this.",
4186
+ "attribute": "label"
4187
+ },
4188
+ {
4189
+ "kind": "field",
4190
+ "name": "placeholder",
4191
+ "type": {
4192
+ "text": "string"
4193
+ },
4194
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4195
+ "attribute": "placeholder"
4196
+ },
4197
+ {
4198
+ "kind": "field",
4199
+ "name": "hideHelp",
3984
4200
  "type": {
3985
4201
  "text": "boolean"
3986
4202
  },
3987
4203
  "default": "false",
3988
- "description": "if true, we'll show a warning to the user about them requesting a large number of data points"
4204
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4205
+ "attribute": "hide-help",
4206
+ "reflects": true
3989
4207
  },
3990
4208
  {
3991
4209
  "kind": "field",
3992
- "name": "estimatedDataPoints",
4210
+ "name": "hideLabel",
3993
4211
  "type": {
3994
- "text": "number"
4212
+ "text": "boolean"
3995
4213
  },
3996
- "default": "0",
3997
- "description": "stores the estimated"
4214
+ "default": "false",
4215
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4216
+ "attribute": "hide-label",
4217
+ "reflects": true
3998
4218
  },
3999
4219
  {
4000
4220
  "kind": "field",
4001
- "name": "activeMenuItem",
4221
+ "name": "useTags",
4002
4222
  "type": {
4003
- "text": "MenuNames"
4223
+ "text": "boolean"
4004
4224
  },
4005
- "default": "null"
4225
+ "default": "false",
4226
+ "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4227
+ "attribute": "use-tags",
4228
+ "reflects": true
4006
4229
  },
4007
4230
  {
4008
- "kind": "method",
4009
- "name": "handleCollectionUpdate",
4010
- "parameters": [
4011
- {
4012
- "name": "_oldValue",
4013
- "type": {
4014
- "text": "string"
4015
- }
4016
- },
4017
- {
4018
- "name": "newValue",
4019
- "type": {
4020
- "text": "string"
4021
- }
4022
- }
4023
- ]
4231
+ "kind": "field",
4232
+ "name": "value",
4233
+ "type": {
4234
+ "text": "string"
4235
+ },
4236
+ "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4237
+ "attribute": "value"
4024
4238
  },
4025
4239
  {
4026
- "kind": "method",
4027
- "name": "handlevariableUpdate",
4028
- "parameters": [
4029
- {
4030
- "name": "_oldValue",
4031
- "type": {
4032
- "text": "string"
4033
- }
4034
- },
4035
- {
4036
- "name": "newValue",
4037
- "type": {
4038
- "text": "string"
4039
- }
4040
- }
4041
- ]
4240
+ "kind": "field",
4241
+ "name": "bearerToken",
4242
+ "type": {
4243
+ "text": "string"
4244
+ },
4245
+ "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).",
4246
+ "attribute": "bearer-token"
4042
4247
  },
4043
4248
  {
4044
- "kind": "method",
4045
- "name": "handleStartDateUpdate",
4046
- "parameters": [
4047
- {
4048
- "name": "_oldValue",
4049
- "type": {
4050
- "text": "string"
4051
- }
4052
- },
4053
- {
4054
- "name": "newValue",
4055
- "type": {
4056
- "text": "string"
4057
- }
4058
- }
4059
- ]
4249
+ "kind": "field",
4250
+ "name": "isExpanded",
4251
+ "type": {
4252
+ "text": "boolean"
4253
+ },
4254
+ "default": "false"
4060
4255
  },
4061
4256
  {
4062
- "kind": "method",
4063
- "name": "handleEndDateUpdate",
4064
- "parameters": [
4065
- {
4066
- "name": "_oldValue",
4067
- "type": {
4068
- "text": "string"
4069
- }
4070
- },
4071
- {
4072
- "name": "newValue",
4073
- "type": {
4074
- "text": "string"
4075
- }
4076
- }
4077
- ]
4257
+ "kind": "field",
4258
+ "name": "query"
4078
4259
  },
4079
4260
  {
4080
- "kind": "method",
4081
- "name": "handleLocationUpdate",
4082
- "parameters": [
4083
- {
4084
- "name": "_oldValue",
4085
- "type": {
4086
- "text": "string"
4087
- }
4088
- },
4089
- {
4090
- "name": "newValue",
4091
- "type": {
4092
- "text": "string"
4093
- }
4094
- }
4095
- ]
4261
+ "kind": "field",
4262
+ "name": "searchResults",
4263
+ "type": {
4264
+ "text": "ListItem[]"
4265
+ },
4266
+ "default": "[]"
4267
+ },
4268
+ {
4269
+ "kind": "field",
4270
+ "name": "tags",
4271
+ "type": {
4272
+ "text": "string[]"
4273
+ },
4274
+ "default": "[]"
4275
+ },
4276
+ {
4277
+ "kind": "field",
4278
+ "name": "tagContainerWidth",
4279
+ "type": {
4280
+ "text": "number"
4281
+ },
4282
+ "default": "0"
4096
4283
  },
4097
4284
  {
4098
4285
  "kind": "method",
4099
- "name": "handleFocus",
4286
+ "name": "valueChanged",
4100
4287
  "parameters": [
4101
4288
  {
4102
- "name": "_oldValue",
4289
+ "name": "oldValue",
4103
4290
  "type": {
4104
- "text": "MenuNames"
4291
+ "text": "string"
4105
4292
  }
4106
4293
  },
4107
4294
  {
4108
4295
  "name": "newValue",
4109
4296
  "type": {
4110
- "text": "MenuNames"
4297
+ "text": "string"
4111
4298
  }
4112
4299
  }
4113
- ]
4114
- },
4115
- {
4116
- "kind": "method",
4117
- "name": "#checkDataPointLimits",
4118
- "description": "Checks if the current date range will exceed data point limits\neturns true if it's safe to proceed, false if confirmation is needed"
4300
+ ],
4301
+ "description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
4119
4302
  },
4120
4303
  {
4121
4304
  "kind": "method",
4122
- "name": "#confirmDataPointWarning"
4305
+ "name": "clear"
4123
4306
  },
4124
4307
  {
4125
4308
  "kind": "method",
4126
- "name": "#cancelDataPointWarning"
4309
+ "name": "close"
4127
4310
  },
4128
4311
  {
4129
4312
  "kind": "method",
4130
- "name": "#adaptPropertyToController",
4131
- "parameters": [
4132
- {
4133
- "name": "property",
4134
- "type": {
4135
- "text": "'collection' | 'variable' | 'startDate' | 'endDate' | 'location'"
4136
- }
4137
- },
4138
- {
4139
- "name": "value",
4140
- "type": {
4141
- "text": "any"
4142
- }
4143
- }
4144
- ]
4313
+ "name": "toggle"
4145
4314
  },
4146
4315
  {
4147
- "kind": "method",
4148
- "name": "#maybeSliceTimeForStartEnd",
4149
- "description": "The Collection Beginning DateTime changes when a new collection is selected.\nWe want to auto-select a reasonable slice of time and send a request to the data API, the\nsame as if the user moved the time slider.\nHowever, if the component has the startDate or endDate set externally, don't override that;\nthis is an init-only action."
4316
+ "kind": "field",
4317
+ "name": "#dispatchChange",
4318
+ "privacy": "private"
4150
4319
  },
4151
4320
  {
4152
- "kind": "method",
4153
- "name": "#handleVariableChange",
4154
- "parameters": [
4155
- {
4156
- "name": "event",
4157
- "type": {
4158
- "text": "TerraComboboxChangeEvent"
4159
- }
4160
- }
4161
- ]
4321
+ "kind": "field",
4322
+ "name": "#handleButtonClick",
4323
+ "privacy": "private"
4162
4324
  },
4163
4325
  {
4164
- "kind": "method",
4165
- "name": "#handleMapChange",
4166
- "parameters": [
4167
- {
4168
- "name": "event",
4169
- "type": {
4170
- "text": "CustomEvent"
4171
- }
4172
- }
4173
- ]
4326
+ "kind": "field",
4327
+ "name": "#handleComboboxChange",
4328
+ "privacy": "private"
4174
4329
  },
4175
4330
  {
4176
- "kind": "method",
4177
- "name": "#handleDateRangeSliderChangeEvent",
4178
- "parameters": [
4179
- {
4180
- "name": "event",
4181
- "type": {
4182
- "text": "TerraDateRangeChangeEvent"
4183
- }
4184
- }
4185
- ],
4186
- "description": "anytime the date range slider changes, update the start and end date"
4331
+ "kind": "field",
4332
+ "name": "#handleOptionClick",
4333
+ "privacy": "private"
4187
4334
  },
4188
4335
  {
4189
- "kind": "method",
4190
- "name": "#abortDataLoad",
4191
- "description": "aborts the underlying data loading task, which cancels the network request"
4336
+ "kind": "field",
4337
+ "name": "#handleKeydown",
4338
+ "privacy": "private"
4192
4339
  },
4193
4340
  {
4194
- "kind": "method",
4195
- "name": "#downloadCSV",
4196
- "parameters": [
4197
- {
4198
- "name": "_event",
4199
- "type": {
4200
- "text": "Event"
4201
- }
4202
- }
4203
- ],
4204
- "description": "TODO:\n[x] re-enable downloads here\n[x] get live data from Giovanni\n[x] display required information in information menuitem\n[x] ask about adding help links\n[ ] see what can be simplified from downloadCSV"
4341
+ "kind": "field",
4342
+ "name": "#manageListboxVisibility",
4343
+ "privacy": "private"
4205
4344
  },
4206
4345
  {
4207
- "kind": "method",
4208
- "name": "#convertToCSV",
4209
- "return": {
4210
- "type": {
4211
- "text": "string"
4212
- }
4213
- },
4214
- "parameters": [
4215
- {
4216
- "name": "data",
4217
- "type": {
4218
- "text": "any[]"
4219
- }
4220
- }
4221
- ]
4346
+ "kind": "field",
4347
+ "name": "#selectOption",
4348
+ "privacy": "private"
4222
4349
  },
4223
4350
  {
4224
4351
  "kind": "method",
4225
- "name": "#downloadPNG",
4352
+ "name": "#renderTags",
4226
4353
  "parameters": [
4227
4354
  {
4228
- "name": "_event",
4355
+ "name": "tag",
4229
4356
  "type": {
4230
- "text": "Event"
4357
+ "text": "string"
4231
4358
  }
4232
- }
4233
- ]
4234
- },
4235
- {
4236
- "kind": "method",
4237
- "name": "#handleActiveMenuItem",
4238
- "parameters": [
4359
+ },
4239
4360
  {
4240
- "name": "event",
4361
+ "name": "_index",
4241
4362
  "type": {
4242
- "text": "Event"
4363
+ "text": "number"
4243
4364
  }
4244
4365
  }
4245
4366
  ]
@@ -4247,92 +4368,64 @@
4247
4368
  ],
4248
4369
  "events": [
4249
4370
  {
4250
- "description": "Emitted whenever time series data has been fetched from Giovanni",
4251
- "name": "terra-time-series-data-change",
4252
- "reactName": "onTerraTimeSeriesDataChange",
4253
- "eventName": "TerraTimeSeriesDataChangeEvent"
4254
- }
4255
- ],
4256
- "attributes": [
4257
- {
4258
- "name": "collection",
4259
- "type": {
4260
- "text": "string | undefined"
4261
- },
4262
- "description": "a collection entry id (ex: GPM_3IMERGHH_06)",
4263
- "fieldName": "collection"
4264
- },
4265
- {
4266
- "name": "collectionLongName",
4267
- "type": {
4268
- "text": "string | undefined"
4269
- },
4270
- "description": "a collection long name (ex: \"NLDAS Primary Forcing Data L4 Hourly 0.125 x 0.125 degree V2.0 (NLDAS_FORA0125_H) at GES DISC\")",
4271
- "fieldName": "collectionLongName"
4272
- },
4273
- {
4274
- "name": "datasetLandingPage",
4275
- "type": {
4276
- "text": "string | undefined"
4277
- },
4278
- "description": "the dataset landing page for the collection",
4279
- "fieldName": "datasetLandingPage"
4280
- },
4281
- {
4282
- "name": "variable",
4283
- "type": {
4284
- "text": "string | undefined"
4285
- },
4286
- "description": "a variable short name to plot (ex: precipitationCal)",
4287
- "fieldName": "variable"
4288
- },
4371
+ "description": "Emitted when an option is selected.",
4372
+ "name": "terra-combobox-change",
4373
+ "reactName": "onTerraComboboxChange",
4374
+ "eventName": "TerraComboboxChangeEvent"
4375
+ }
4376
+ ],
4377
+ "attributes": [
4289
4378
  {
4290
- "name": "variableLandingPage",
4379
+ "name": "label",
4291
4380
  "type": {
4292
- "text": "string | undefined"
4381
+ "text": "string"
4293
4382
  },
4294
- "description": "the variable landing page",
4295
- "fieldName": "variableLandingPage"
4383
+ "default": "'Search for Variables'",
4384
+ "description": "Label the combobox with this.",
4385
+ "fieldName": "label"
4296
4386
  },
4297
4387
  {
4298
- "name": "variableLongName",
4388
+ "name": "placeholder",
4299
4389
  "type": {
4300
- "text": "string | undefined"
4390
+ "text": "string"
4301
4391
  },
4302
- "description": "a variable long name to plot (e.g., \"Longwave radiation flux downwards (surface)\")",
4303
- "fieldName": "variableLongName"
4392
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4393
+ "fieldName": "placeholder"
4304
4394
  },
4305
4395
  {
4306
- "name": "start-date",
4396
+ "name": "hide-help",
4307
4397
  "type": {
4308
- "text": "string | undefined"
4398
+ "text": "boolean"
4309
4399
  },
4310
- "description": "The start date for the time series plot. (ex: 2021-01-01)",
4311
- "fieldName": "startDate"
4400
+ "default": "false",
4401
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4402
+ "fieldName": "hideHelp"
4312
4403
  },
4313
4404
  {
4314
- "name": "end-date",
4405
+ "name": "hide-label",
4315
4406
  "type": {
4316
- "text": "string | undefined"
4407
+ "text": "boolean"
4317
4408
  },
4318
- "description": "The end date for the time series plot. (ex: 2021-01-01)",
4319
- "fieldName": "endDate"
4409
+ "default": "false",
4410
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4411
+ "fieldName": "hideLabel"
4320
4412
  },
4321
4413
  {
4322
- "name": "location",
4414
+ "name": "use-tags",
4323
4415
  "type": {
4324
- "text": "string | undefined"
4416
+ "text": "boolean"
4325
4417
  },
4326
- "description": "The point location in \"lat,lon\" format.",
4327
- "fieldName": "location"
4418
+ "default": "false",
4419
+ "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4420
+ "fieldName": "useTags"
4328
4421
  },
4329
4422
  {
4330
- "name": "units",
4423
+ "name": "value",
4331
4424
  "type": {
4332
- "text": "string | undefined"
4425
+ "text": "string"
4333
4426
  },
4334
- "description": "Units",
4335
- "fieldName": "units"
4427
+ "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4428
+ "fieldName": "value"
4336
4429
  },
4337
4430
  {
4338
4431
  "name": "bearer-token",
@@ -4347,19 +4440,14 @@
4347
4440
  "name": "TerraElement",
4348
4441
  "module": "/src/internal/terra-element.js"
4349
4442
  },
4350
- "summary": "A component for visualizing time series data using the GES DISC Giovanni API.",
4351
- "tagNameWithoutPrefix": "time-series",
4352
- "tagName": "terra-time-series",
4443
+ "summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
4444
+ "tagNameWithoutPrefix": "variable-combobox",
4445
+ "tagName": "terra-variable-combobox",
4353
4446
  "customElement": true,
4354
- "jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n * @dependency terra-date-range-slider\n * @dependency terra-variable-combobox\n *\n * @event terra-time-series-data-change - Emitted whenever time series data has been fetched from Giovanni\n */",
4355
- "documentation": "https://disc.gsfc.nasa.gov/components/time-series",
4356
- "status": "mvp",
4357
- "since": "1.0",
4358
- "dependencies": [
4359
- "terra-plot",
4360
- "terra-date-range-slider",
4361
- "terra-variable-combobox"
4362
- ]
4447
+ "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 */",
4448
+ "documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
4449
+ "status": "MVP",
4450
+ "since": "1.0"
4363
4451
  }
4364
4452
  ],
4365
4453
  "exports": [
@@ -4367,29 +4455,25 @@
4367
4455
  "kind": "js",
4368
4456
  "name": "default",
4369
4457
  "declaration": {
4370
- "name": "TerraTimeSeries",
4371
- "module": "components/time-series/time-series.js"
4458
+ "name": "TerraVariableCombobox",
4459
+ "module": "components/variable-combobox/variable-combobox.js"
4372
4460
  }
4373
4461
  }
4374
4462
  ]
4375
4463
  },
4376
4464
  {
4377
4465
  "kind": "javascript-module",
4378
- "path": "components/variable-combobox/variable-combobox.js",
4466
+ "path": "components/variable-keyword-search/variable-keyword-search.js",
4379
4467
  "declarations": [
4380
4468
  {
4381
4469
  "kind": "class",
4382
4470
  "description": "",
4383
- "name": "TerraVariableCombobox",
4471
+ "name": "TerraVariableKeywordSearch",
4384
4472
  "cssProperties": [
4385
4473
  {
4386
4474
  "description": "The height of the host element.",
4387
4475
  "name": "--host-height"
4388
4476
  },
4389
- {
4390
- "description": "The height of the search help element.",
4391
- "name": "--help-height"
4392
- },
4393
4477
  {
4394
4478
  "description": "The height of the input's label element.",
4395
4479
  "name": "--label-height"
@@ -4439,7 +4523,7 @@
4439
4523
  "text": "string"
4440
4524
  },
4441
4525
  "static": true,
4442
- "default": "'terra-variable-combobox'"
4526
+ "default": "'terra-variable-keyword-search'"
4443
4527
  },
4444
4528
  {
4445
4529
  "kind": "field",
@@ -4463,18 +4547,7 @@
4463
4547
  "kind": "field",
4464
4548
  "name": "#fetchController",
4465
4549
  "privacy": "private",
4466
- "type": {
4467
- "text": "FetchController"
4468
- }
4469
- },
4470
- {
4471
- "kind": "field",
4472
- "name": "#searchableList",
4473
- "privacy": "private",
4474
- "type": {
4475
- "text": "ListItem[]"
4476
- },
4477
- "default": "[]"
4550
+ "default": "new FetchController(this)"
4478
4551
  },
4479
4552
  {
4480
4553
  "kind": "field",
@@ -4503,22 +4576,13 @@
4503
4576
  },
4504
4577
  "default": "null"
4505
4578
  },
4506
- {
4507
- "kind": "field",
4508
- "name": "#tagContainer",
4509
- "privacy": "private",
4510
- "type": {
4511
- "text": "HTMLDivElement | null"
4512
- },
4513
- "default": "null"
4514
- },
4515
4579
  {
4516
4580
  "kind": "field",
4517
4581
  "name": "label",
4518
4582
  "type": {
4519
4583
  "text": "string"
4520
4584
  },
4521
- "default": "'Search for Variables'",
4585
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
4522
4586
  "description": "Label the combobox with this.",
4523
4587
  "attribute": "label"
4524
4588
  },
@@ -4531,38 +4595,25 @@
4531
4595
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4532
4596
  "attribute": "placeholder"
4533
4597
  },
4534
- {
4535
- "kind": "field",
4536
- "name": "hideHelp",
4537
- "type": {
4538
- "text": "boolean"
4539
- },
4540
- "default": "false",
4541
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4542
- "attribute": "hide-help",
4543
- "reflects": true
4544
- },
4545
4598
  {
4546
4599
  "kind": "field",
4547
4600
  "name": "hideLabel",
4548
4601
  "type": {
4549
4602
  "text": "boolean"
4550
4603
  },
4551
- "default": "false",
4604
+ "default": "true",
4552
4605
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4553
- "attribute": "hide-label",
4554
- "reflects": true
4606
+ "attribute": "hide-label"
4555
4607
  },
4556
4608
  {
4557
4609
  "kind": "field",
4558
- "name": "useTags",
4610
+ "name": "searchConfig",
4559
4611
  "type": {
4560
- "text": "boolean"
4612
+ "text": "object"
4561
4613
  },
4562
- "default": "false",
4563
- "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4564
- "attribute": "use-tags",
4565
- "reflects": true
4614
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4615
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4616
+ "attribute": "searchConfig"
4566
4617
  },
4567
4618
  {
4568
4619
  "kind": "field",
@@ -4570,18 +4621,8 @@
4570
4621
  "type": {
4571
4622
  "text": "string"
4572
4623
  },
4573
- "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4574
4624
  "attribute": "value"
4575
4625
  },
4576
- {
4577
- "kind": "field",
4578
- "name": "bearerToken",
4579
- "type": {
4580
- "text": "string"
4581
- },
4582
- "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).",
4583
- "attribute": "bearer-token"
4584
- },
4585
4626
  {
4586
4627
  "kind": "field",
4587
4628
  "name": "isExpanded",
@@ -4602,28 +4643,12 @@
4602
4643
  },
4603
4644
  "default": "[]"
4604
4645
  },
4605
- {
4606
- "kind": "field",
4607
- "name": "tags",
4608
- "type": {
4609
- "text": "string[]"
4610
- },
4611
- "default": "[]"
4612
- },
4613
- {
4614
- "kind": "field",
4615
- "name": "tagContainerWidth",
4616
- "type": {
4617
- "text": "number"
4618
- },
4619
- "default": "0"
4620
- },
4621
4646
  {
4622
4647
  "kind": "method",
4623
4648
  "name": "valueChanged",
4624
4649
  "parameters": [
4625
4650
  {
4626
- "name": "oldValue",
4651
+ "name": "_oldValue",
4627
4652
  "type": {
4628
4653
  "text": "string"
4629
4654
  }
@@ -4634,8 +4659,7 @@
4634
4659
  "text": "string"
4635
4660
  }
4636
4661
  }
4637
- ],
4638
- "description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
4662
+ ]
4639
4663
  },
4640
4664
  {
4641
4665
  "kind": "method",
@@ -4649,16 +4673,6 @@
4649
4673
  "kind": "method",
4650
4674
  "name": "toggle"
4651
4675
  },
4652
- {
4653
- "kind": "field",
4654
- "name": "#dispatchChange",
4655
- "privacy": "private"
4656
- },
4657
- {
4658
- "kind": "field",
4659
- "name": "#handleButtonClick",
4660
- "privacy": "private"
4661
- },
4662
4676
  {
4663
4677
  "kind": "field",
4664
4678
  "name": "#handleComboboxChange",
@@ -4686,29 +4700,33 @@
4686
4700
  },
4687
4701
  {
4688
4702
  "kind": "method",
4689
- "name": "#renderTags",
4703
+ "name": "#handleSearch",
4690
4704
  "parameters": [
4691
4705
  {
4692
- "name": "tag",
4706
+ "name": "query",
4693
4707
  "type": {
4694
4708
  "text": "string"
4695
4709
  }
4696
- },
4697
- {
4698
- "name": "_index",
4699
- "type": {
4700
- "text": "number"
4701
- }
4702
4710
  }
4703
4711
  ]
4712
+ },
4713
+ {
4714
+ "kind": "method",
4715
+ "name": "#clearSearch"
4704
4716
  }
4705
4717
  ],
4706
4718
  "events": [
4707
4719
  {
4708
4720
  "description": "Emitted when an option is selected.",
4709
- "name": "terra-combobox-change",
4710
- "reactName": "onTerraComboboxChange",
4711
- "eventName": "TerraComboboxChangeEvent"
4721
+ "name": "terra-variable-keyword-search-change",
4722
+ "reactName": "onTerraVariableKeywordSearchChange",
4723
+ "eventName": "TerraVariableKeywordSearchChangeEvent"
4724
+ },
4725
+ {
4726
+ "description": "Emitted when the component is triggering a search (like a form triggering submit).",
4727
+ "name": "terra-search",
4728
+ "reactName": "onTerraSearch",
4729
+ "eventName": "TerraSearchEvent"
4712
4730
  }
4713
4731
  ],
4714
4732
  "attributes": [
@@ -4717,7 +4735,7 @@
4717
4735
  "type": {
4718
4736
  "text": "string"
4719
4737
  },
4720
- "default": "'Search for Variables'",
4738
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
4721
4739
  "description": "Label the combobox with this.",
4722
4740
  "fieldName": "label"
4723
4741
  },
@@ -4729,60 +4747,42 @@
4729
4747
  "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
4730
4748
  "fieldName": "placeholder"
4731
4749
  },
4732
- {
4733
- "name": "hide-help",
4734
- "type": {
4735
- "text": "boolean"
4736
- },
4737
- "default": "false",
4738
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
4739
- "fieldName": "hideHelp"
4740
- },
4741
4750
  {
4742
4751
  "name": "hide-label",
4743
4752
  "type": {
4744
4753
  "text": "boolean"
4745
4754
  },
4746
- "default": "false",
4755
+ "default": "true",
4747
4756
  "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
4748
4757
  "fieldName": "hideLabel"
4749
4758
  },
4750
4759
  {
4751
- "name": "use-tags",
4760
+ "name": "searchConfig",
4752
4761
  "type": {
4753
- "text": "boolean"
4762
+ "text": "object"
4754
4763
  },
4755
- "default": "false",
4756
- "description": "Determines if the variable combobox uses tags or plain text to display the query.",
4757
- "fieldName": "useTags"
4764
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
4765
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
4766
+ "fieldName": "searchConfig"
4758
4767
  },
4759
4768
  {
4760
4769
  "name": "value",
4761
4770
  "type": {
4762
4771
  "text": "string"
4763
4772
  },
4764
- "description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
4765
4773
  "fieldName": "value"
4766
- },
4767
- {
4768
- "name": "bearer-token",
4769
- "type": {
4770
- "text": "string"
4771
- },
4772
- "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).",
4773
- "fieldName": "bearerToken"
4774
4774
  }
4775
4775
  ],
4776
4776
  "superclass": {
4777
4777
  "name": "TerraElement",
4778
4778
  "module": "/src/internal/terra-element.js"
4779
4779
  },
4780
- "summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
4781
- "tagNameWithoutPrefix": "variable-combobox",
4782
- "tagName": "terra-variable-combobox",
4780
+ "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
4781
+ "tagNameWithoutPrefix": "variable-keyword-search",
4782
+ "tagName": "terra-variable-keyword-search",
4783
4783
  "customElement": true,
4784
- "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 */",
4785
- "documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
4784
+ "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 */",
4785
+ "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
4786
4786
  "status": "MVP",
4787
4787
  "since": "1.0"
4788
4788
  }
@@ -4792,8 +4792,8 @@
4792
4792
  "kind": "js",
4793
4793
  "name": "default",
4794
4794
  "declaration": {
4795
- "name": "TerraVariableCombobox",
4796
- "module": "components/variable-combobox/variable-combobox.js"
4795
+ "name": "TerraVariableKeywordSearch",
4796
+ "module": "components/variable-keyword-search/variable-keyword-search.js"
4797
4797
  }
4798
4798
  }
4799
4799
  ]
@@ -4802,7 +4802,7 @@
4802
4802
  "package": {
4803
4803
  "name": "@nasa-terra/components",
4804
4804
  "description": "A collection of NASA Earthdata components",
4805
- "version": "0.0.40",
4805
+ "version": "0.0.42",
4806
4806
  "author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
4807
4807
  "homepage": "https://github.com/gesdisc/components",
4808
4808
  "license": "MIT"