@nasa-terra/components 0.0.7 → 0.0.10

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 (368) hide show
  1. package/README.md +10 -3
  2. package/cdn/chunks/{chunk.RZV7PTZZ.js → chunk.3IJDKBGJ.js} +1 -1
  3. package/cdn/chunks/{chunk.XAVEBGFY.js → chunk.3W4F6TQ2.js} +1 -1
  4. package/cdn/chunks/{chunk.P3N5PW3F.js → chunk.4AB3LJPJ.js} +42 -13
  5. package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
  6. package/{dist/chunks/chunk.CNBF6GCR.js → cdn/chunks/chunk.5NV6P6GX.js} +1 -1
  7. package/cdn/chunks/{chunk.6TG7HJRE.js → chunk.5VDHK5K4.js} +14 -15
  8. package/cdn/chunks/{chunk.URIOYHEA.js → chunk.765C5WRO.js} +24 -46
  9. package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
  10. package/cdn/chunks/{chunk.L4ODCAGX.js → chunk.7PMR7OPB.js} +1 -1
  11. package/cdn/chunks/chunk.7QABLDUG.js +57 -0
  12. package/{dist/chunks/chunk.4EEBFDHS.js → cdn/chunks/chunk.7UW6DDQF.js} +1 -1
  13. package/cdn/chunks/chunk.AC5MB5SX.js +128 -0
  14. package/cdn/chunks/{chunk.CGUXXQTT.js → chunk.AMMVA664.js} +1 -1
  15. package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
  16. package/cdn/chunks/{chunk.CPNLKTGF.js → chunk.CBQITJPW.js} +1 -1
  17. package/cdn/chunks/{chunk.UBYAPUL3.js → chunk.CCSPQ6IM.js} +8 -10
  18. package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
  19. package/cdn/chunks/chunk.E7365JGL.js +21 -0
  20. package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
  21. package/cdn/chunks/{chunk.GMWFNQ7Q.js → chunk.FCJIZOLN.js} +3 -2
  22. package/cdn/chunks/{chunk.R2AQMZE4.js → chunk.GCXPHNE2.js} +1 -1
  23. package/cdn/chunks/chunk.HSQGU4NR.js +25 -0
  24. package/cdn/chunks/{chunk.LO2CROCV.js → chunk.HZX5FZ7S.js} +5 -5
  25. package/cdn/chunks/{chunk.DSTVDF3E.js → chunk.IOAVHFTX.js} +1 -1
  26. package/{dist/chunks/chunk.TWKECPWO.js → cdn/chunks/chunk.K6SRYMW6.js} +1 -1
  27. package/{dist/chunks/chunk.MMDLLVXS.js → cdn/chunks/chunk.KNCEBCFL.js} +1 -1
  28. package/cdn/chunks/{chunk.SVBGCTUY.js → chunk.L577HM7J.js} +1 -1
  29. package/cdn/chunks/chunk.LVWJBUI5.js +396 -0
  30. package/cdn/chunks/{chunk.UUZHIWQZ.js → chunk.M2O4PUUH.js} +2 -2
  31. package/cdn/chunks/{chunk.5M6EGBKK.js → chunk.MVSG72ZT.js} +1 -1
  32. package/cdn/chunks/{chunk.IKBILRIY.js → chunk.NYEDLELY.js} +37 -18
  33. package/cdn/chunks/chunk.O7AXAEKY.js +23 -0
  34. package/{dist/chunks/chunk.N6PKYR5K.js → cdn/chunks/chunk.ODMCICTE.js} +1 -1
  35. package/cdn/chunks/{chunk.2BF5ZHP6.js → chunk.OEXEZBPR.js} +21 -28
  36. package/cdn/chunks/{chunk.IKYLG6LM.js → chunk.OHLHIF2S.js} +1 -1
  37. package/cdn/chunks/{chunk.WY4A6BXW.js → chunk.OYIXDSOR.js} +1 -1
  38. package/cdn/chunks/{chunk.GCC4YOMG.js → chunk.OZ7XA7RU.js} +1 -1
  39. package/cdn/chunks/chunk.PROUWLVJ.js +11 -0
  40. package/cdn/chunks/chunk.PS4NQOAX.js +198 -0
  41. package/cdn/chunks/chunk.Q4J4A5QN.js +11 -0
  42. package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
  43. package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
  44. package/{dist/chunks/chunk.UNE3VYFP.js → cdn/chunks/chunk.TSJ2SKIK.js} +1 -1
  45. package/cdn/chunks/chunk.TZK42POE.js +55 -0
  46. package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
  47. package/cdn/chunks/chunk.UTSV66LS.js +339 -0
  48. package/cdn/chunks/{chunk.MCDYUBW2.js → chunk.V56TFUPC.js} +1 -1
  49. package/{dist/chunks/chunk.SDJHA4XN.js → cdn/chunks/chunk.VAGPCL2W.js} +1 -1
  50. package/cdn/chunks/{chunk.6TP5NQZR.js → chunk.VV4LJOBN.js} +3 -4
  51. package/cdn/chunks/{chunk.5EDEDCDT.js → chunk.W56IQXUC.js} +410 -112
  52. package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
  53. package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
  54. package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
  55. package/{dist/chunks/chunk.CM3WMTBC.js → cdn/chunks/chunk.XF5FTC6G.js} +1 -1
  56. package/{dist/chunks/chunk.N7ULTEAO.js → cdn/chunks/chunk.XYVCCSE4.js} +1 -1
  57. package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
  58. package/cdn/chunks/{chunk.ZMTQ4YE2.js → chunk.YPSUCRGF.js} +1 -1
  59. package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
  60. package/cdn/components/browse-variables/browse-variables.component.d.ts +28 -0
  61. package/cdn/components/browse-variables/browse-variables.component.js +15 -0
  62. package/cdn/components/browse-variables/browse-variables.controller.d.ts +11 -0
  63. package/cdn/components/browse-variables/browse-variables.controller.js +10 -0
  64. package/cdn/components/browse-variables/browse-variables.d.ts +8 -0
  65. package/cdn/components/browse-variables/browse-variables.js +16 -0
  66. package/cdn/components/browse-variables/browse-variables.styles.d.ts +2 -0
  67. package/cdn/components/browse-variables/browse-variables.styles.js +9 -0
  68. package/cdn/components/browse-variables/browse-variables.types.d.ts +49 -0
  69. package/cdn/components/browse-variables/browse-variables.types.js +0 -0
  70. package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
  71. package/cdn/components/browse-variables/repositories/giovanni.repository.js +7 -0
  72. package/cdn/components/button/button.component.d.ts +6 -4
  73. package/cdn/components/button/button.component.js +4 -4
  74. package/cdn/components/button/button.js +5 -5
  75. package/cdn/components/button/button.styles.js +1 -1
  76. package/cdn/components/chip/chip.component.js +3 -3
  77. package/cdn/components/chip/chip.js +4 -4
  78. package/cdn/components/chip/chip.styles.js +1 -1
  79. package/cdn/components/combobox/combobox.component.js +5 -5
  80. package/cdn/components/combobox/combobox.js +6 -6
  81. package/cdn/components/combobox/combobox.styles.js +1 -1
  82. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  83. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  84. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  85. package/cdn/components/giovanni-search/giovanni-search.component.d.ts +69 -0
  86. package/cdn/components/giovanni-search/giovanni-search.component.js +35 -0
  87. package/cdn/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
  88. package/cdn/components/giovanni-search/giovanni-search.controller.js +9 -0
  89. package/cdn/components/giovanni-search/giovanni-search.d.ts +8 -0
  90. package/cdn/components/giovanni-search/giovanni-search.js +36 -0
  91. package/cdn/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
  92. package/cdn/components/giovanni-search/giovanni-search.styles.js +9 -0
  93. package/cdn/components/giovanni-search/giovanni-search.types.d.ts +4 -0
  94. package/cdn/components/giovanni-search/giovanni-search.types.js +0 -0
  95. package/cdn/components/giovanni-search/lib.d.ts +6 -0
  96. package/cdn/components/giovanni-search/lib.js +15 -0
  97. package/cdn/components/icon/icon.component.js +5 -5
  98. package/cdn/components/icon/icon.js +6 -6
  99. package/cdn/components/icon/library.js +2 -2
  100. package/cdn/components/loader/loader.component.d.ts +5 -10
  101. package/cdn/components/loader/loader.component.js +3 -3
  102. package/cdn/components/loader/loader.js +4 -4
  103. package/cdn/components/loader/loader.styles.js +1 -1
  104. package/cdn/components/map/map.component.js +3 -3
  105. package/cdn/components/map/map.js +4 -4
  106. package/cdn/components/map/map.styles.js +1 -1
  107. package/cdn/components/plot/plot.component.d.ts +3 -12
  108. package/cdn/components/plot/plot.component.js +3 -3
  109. package/cdn/components/plot/plot.js +4 -4
  110. package/cdn/components/plot/plot.styles.js +1 -1
  111. package/cdn/components/plot/plot.types.d.ts +8 -0
  112. package/cdn/components/plot/plot.types.js +0 -0
  113. package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
  114. package/cdn/components/spatial-picker/spatial-picker.js +6 -6
  115. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  116. package/cdn/components/time-series/time-series.component.d.ts +24 -1
  117. package/cdn/components/time-series/time-series.component.js +38 -38
  118. package/cdn/components/time-series/time-series.controller.d.ts +1 -1
  119. package/cdn/components/time-series/time-series.controller.js +2 -2
  120. package/cdn/components/time-series/time-series.js +39 -39
  121. package/cdn/components/time-series/time-series.styles.js +1 -1
  122. package/cdn/components/time-series/time-series.types.d.ts +1 -0
  123. package/cdn/components/variable-combobox/lib.d.ts +1 -1
  124. package/cdn/components/variable-combobox/lib.js +1 -1
  125. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -1
  126. package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
  127. package/cdn/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
  128. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  129. package/cdn/components/variable-combobox/variable-combobox.js +18 -18
  130. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  131. package/cdn/components/variable-combobox/variable-combobox.types.d.ts +18 -0
  132. package/cdn/components/variable-combobox/variable-combobox.types.js +0 -0
  133. package/cdn/custom-elements.json +1346 -773
  134. package/cdn/events/events.d.ts +4 -2
  135. package/cdn/events/terra-combobox-change.d.ts +5 -2
  136. package/cdn/events/terra-giovanni-search-change.d.ts +6 -0
  137. package/cdn/events/terra-search.d.ts +6 -0
  138. package/cdn/react/browse-variables/index.d.ts +11 -0
  139. package/cdn/react/browse-variables/index.js +16 -0
  140. package/cdn/react/button/index.js +5 -5
  141. package/cdn/react/chip/index.js +4 -4
  142. package/cdn/react/combobox/index.js +6 -6
  143. package/cdn/react/date-range-slider/index.js +4 -4
  144. package/cdn/react/giovanni-search/index.d.ts +29 -0
  145. package/cdn/react/giovanni-search/index.js +36 -0
  146. package/cdn/react/icon/index.js +6 -6
  147. package/cdn/react/index.d.ts +4 -2
  148. package/cdn/react/index.js +74 -58
  149. package/cdn/react/loader/index.js +4 -4
  150. package/cdn/react/map/index.js +4 -4
  151. package/cdn/react/plot/index.js +4 -4
  152. package/cdn/react/spatial-picker/index.js +6 -6
  153. package/cdn/react/time-series/index.js +39 -39
  154. package/cdn/react/variable-combobox/index.js +18 -18
  155. package/cdn/terra-ui-components.d.ts +2 -0
  156. package/cdn/terra-ui-components.js +80 -64
  157. package/cdn/themes/horizon-dark.css +33 -0
  158. package/cdn/themes/horizon-dark.styles.d.ts +2 -0
  159. package/cdn/themes/horizon-dark.styles.js +37 -0
  160. package/cdn/themes/horizon.css +114 -333
  161. package/cdn/themes/horizon.styles.js +113 -330
  162. package/cdn/types/vue/index.d.ts +170 -95
  163. package/cdn/utilities/animation.js +2 -2
  164. package/cdn/utilities/icon-library.js +2 -2
  165. package/cdn/vscode.html-custom-data.json +184 -121
  166. package/cdn/web-types.json +345 -223
  167. package/{cdn/chunks/chunk.CDPMV7DB.js → dist/chunks/chunk.2AH2DRFK.js} +1 -1
  168. package/dist/chunks/chunk.3WWANPMA.js +327 -0
  169. package/dist/chunks/{chunk.WVHQFXLD.js → chunk.45IL4VM3.js} +4 -5
  170. package/dist/chunks/{chunk.33I7MBZO.js → chunk.4QQE24PP.js} +1 -1
  171. package/dist/chunks/{chunk.IEHDLSGA.js → chunk.4VZN3W62.js} +26 -49
  172. package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
  173. package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
  174. package/{cdn/chunks/chunk.BX66TSQY.js → dist/chunks/chunk.63K6ZAUR.js} +1 -1
  175. package/dist/chunks/{chunk.FFZEV52Q.js → chunk.6HZV77W5.js} +10 -12
  176. package/dist/chunks/{chunk.6EFMX2ZD.js → chunk.6IQY5DUY.js} +1 -1
  177. package/dist/chunks/chunk.6LKFAV2F.js +55 -0
  178. package/dist/chunks/{chunk.Y72ZRL5L.js → chunk.76XK3OGD.js} +20 -27
  179. package/dist/chunks/{chunk.7LODXAV5.js → chunk.7EIEDJ2L.js} +1 -1
  180. package/dist/chunks/{chunk.CL62YJ3N.js → chunk.7OKJDEHN.js} +37 -18
  181. package/dist/chunks/{chunk.JFU3ZCDL.js → chunk.7WL3WWGJ.js} +26 -92
  182. package/dist/chunks/{chunk.QJIYDTLQ.js → chunk.A2E2GJZC.js} +1 -1
  183. package/{cdn/chunks/chunk.LNNGJCX4.js → dist/chunks/chunk.A3YWS6R6.js} +1 -1
  184. package/dist/chunks/{chunk.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
  185. package/dist/chunks/chunk.BMQ6OBQO.js +11 -0
  186. package/dist/chunks/chunk.CETYO6UP.js +120 -0
  187. package/dist/chunks/chunk.CL7IMQRK.js +50 -0
  188. package/dist/chunks/{chunk.YNMQZYQL.js → chunk.CT5MMA3G.js} +1 -1
  189. package/{cdn/chunks/chunk.2MYFC7LM.js → dist/chunks/chunk.D36ZJXGZ.js} +1 -1
  190. package/dist/chunks/{chunk.XIRKMIAU.js → chunk.DHBVKEBZ.js} +5 -5
  191. package/dist/chunks/{chunk.FYST4D4G.js → chunk.DS3DCGZJ.js} +1 -1
  192. package/dist/chunks/{chunk.3ZGFXEAJ.js → chunk.EDWXEF4C.js} +1 -1
  193. package/dist/chunks/chunk.EGZMQ7T7.js +35 -0
  194. package/dist/chunks/{chunk.52JSYSOV.js → chunk.EP3UVTII.js} +1 -1
  195. package/dist/chunks/chunk.EQN5HVOY.js +193 -0
  196. package/dist/chunks/chunk.FNGOLJO3.js +569 -0
  197. package/dist/chunks/chunk.G6IVJK35.js +25 -0
  198. package/dist/chunks/chunk.GHDRVO5M.js +125 -0
  199. package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
  200. package/dist/chunks/chunk.GR7XHOA3.js +52 -0
  201. package/dist/chunks/{chunk.7I7C7JJF.js → chunk.GUX23M43.js} +1 -1
  202. package/{cdn/chunks/chunk.NFSGAK6D.js → dist/chunks/chunk.IKXIOXNP.js} +1 -1
  203. package/{cdn/chunks/chunk.4OMMI4NC.js → dist/chunks/chunk.J5H3VO4T.js} +1 -1
  204. package/dist/chunks/{chunk.RP6DCD5M.js → chunk.KU2GHEQC.js} +42 -13
  205. package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
  206. package/dist/chunks/{chunk.XB7LBTTU.js → chunk.MBUQ6RGQ.js} +1 -1
  207. package/dist/chunks/{chunk.TNACYALO.js → chunk.NAR6P3PM.js} +1 -1
  208. package/dist/chunks/{chunk.VEURJQW5.js → chunk.NBTXGDYY.js} +1 -1
  209. package/dist/chunks/chunk.NU7T7O37.js +11 -0
  210. package/dist/chunks/{chunk.OUOWGBKV.js → chunk.NYK5LTIB.js} +1 -1
  211. package/dist/chunks/{chunk.UU46CLE7.js → chunk.O2VVO7UI.js} +11 -15
  212. package/dist/chunks/chunk.O7AXAEKY.js +23 -0
  213. package/dist/chunks/{chunk.C5OZDL3F.js → chunk.PBEAZMSE.js} +10 -11
  214. package/dist/chunks/chunk.QEMJLGM4.js +58 -0
  215. package/{cdn/chunks/chunk.7VBMSUOT.js → dist/chunks/chunk.QFDWDOGH.js} +1 -1
  216. package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
  217. package/dist/chunks/{chunk.PFSWFOXD.js → chunk.R2NW6QOY.js} +1 -1
  218. package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
  219. package/dist/chunks/chunk.TRSW2E4E.js +223 -0
  220. package/dist/chunks/{chunk.7C4FMTCE.js → chunk.UPYPNGJF.js} +1 -1
  221. package/dist/chunks/chunk.UPZNWZOP.js +156 -0
  222. package/dist/chunks/chunk.VDU7JJBS.js +390 -0
  223. package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
  224. package/dist/chunks/{chunk.GBVXVADE.js → chunk.VUIXHR4Y.js} +5 -4
  225. package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
  226. package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
  227. package/{cdn/chunks/chunk.AG72D4AT.js → dist/chunks/chunk.YIQPXMOR.js} +1 -1
  228. package/dist/chunks/{chunk.EYUPYDT4.js → chunk.YOWSDNNI.js} +7 -7
  229. package/dist/chunks/chunk.ZKAF7B56.js +21 -0
  230. package/{cdn/chunks/chunk.CLFLLHS3.js → dist/chunks/chunk.ZLX3YIA5.js} +1 -1
  231. package/dist/components/browse-variables/browse-variables.component.d.ts +28 -0
  232. package/dist/components/browse-variables/browse-variables.component.js +11 -0
  233. package/dist/components/browse-variables/browse-variables.controller.d.ts +11 -0
  234. package/dist/components/browse-variables/browse-variables.controller.js +8 -0
  235. package/dist/components/browse-variables/browse-variables.d.ts +8 -0
  236. package/dist/components/browse-variables/browse-variables.js +12 -0
  237. package/dist/components/browse-variables/browse-variables.styles.d.ts +2 -0
  238. package/dist/components/browse-variables/browse-variables.styles.js +7 -0
  239. package/dist/components/browse-variables/browse-variables.types.d.ts +49 -0
  240. package/dist/components/browse-variables/browse-variables.types.js +0 -0
  241. package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
  242. package/dist/components/browse-variables/repositories/giovanni.repository.js +7 -0
  243. package/dist/components/button/button.component.d.ts +6 -4
  244. package/dist/components/button/button.component.js +6 -6
  245. package/dist/components/button/button.js +7 -7
  246. package/dist/components/button/button.styles.js +2 -2
  247. package/dist/components/chip/chip.component.js +4 -4
  248. package/dist/components/chip/chip.js +5 -5
  249. package/dist/components/chip/chip.styles.js +2 -2
  250. package/dist/components/combobox/combobox.component.js +5 -5
  251. package/dist/components/combobox/combobox.js +6 -6
  252. package/dist/components/combobox/combobox.styles.js +2 -2
  253. package/dist/components/combobox/lib.js +1 -1
  254. package/dist/components/combobox/type.js +1 -1
  255. package/dist/components/date-range-slider/date-range-slider.component.js +5 -5
  256. package/dist/components/date-range-slider/date-range-slider.js +6 -6
  257. package/dist/components/date-range-slider/date-range-slider.styles.js +2 -2
  258. package/dist/components/date-range-slider/noui-slider-utilities.js +1 -1
  259. package/dist/components/giovanni-search/giovanni-search.component.d.ts +69 -0
  260. package/dist/components/giovanni-search/giovanni-search.component.js +23 -0
  261. package/dist/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
  262. package/dist/components/giovanni-search/giovanni-search.controller.js +7 -0
  263. package/dist/components/giovanni-search/giovanni-search.d.ts +8 -0
  264. package/dist/components/giovanni-search/giovanni-search.js +24 -0
  265. package/dist/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
  266. package/dist/components/giovanni-search/giovanni-search.styles.js +7 -0
  267. package/dist/components/giovanni-search/giovanni-search.types.d.ts +4 -0
  268. package/dist/components/giovanni-search/giovanni-search.types.js +0 -0
  269. package/dist/components/giovanni-search/lib.d.ts +6 -0
  270. package/dist/components/giovanni-search/lib.js +13 -0
  271. package/dist/components/icon/icon.component.js +6 -6
  272. package/dist/components/icon/icon.js +7 -7
  273. package/dist/components/icon/icon.styles.js +1 -1
  274. package/dist/components/icon/library.default.js +1 -1
  275. package/dist/components/icon/library.heroicons.js +1 -1
  276. package/dist/components/icon/library.js +3 -3
  277. package/dist/components/loader/loader.component.d.ts +5 -10
  278. package/dist/components/loader/loader.component.js +4 -4
  279. package/dist/components/loader/loader.js +5 -5
  280. package/dist/components/loader/loader.styles.js +2 -2
  281. package/dist/components/map/leaflet-draw.styles.js +1 -1
  282. package/dist/components/map/leaflet-utils.js +2 -2
  283. package/dist/components/map/leaflet.styles.js +1 -1
  284. package/dist/components/map/map.component.js +6 -6
  285. package/dist/components/map/map.controller.js +1 -1
  286. package/dist/components/map/map.js +7 -7
  287. package/dist/components/map/map.styles.js +2 -2
  288. package/dist/components/plot/plot.component.d.ts +3 -12
  289. package/dist/components/plot/plot.component.js +5 -5
  290. package/dist/components/plot/plot.js +6 -6
  291. package/dist/components/plot/plot.styles.js +2 -2
  292. package/dist/components/plot/plot.types.d.ts +8 -0
  293. package/dist/components/plot/plot.types.js +0 -0
  294. package/dist/components/spatial-picker/spatial-picker.component.js +8 -8
  295. package/dist/components/spatial-picker/spatial-picker.js +9 -9
  296. package/dist/components/spatial-picker/spatial-picker.styles.js +2 -2
  297. package/dist/components/time-series/time-series.component.d.ts +24 -1
  298. package/dist/components/time-series/time-series.component.js +32 -32
  299. package/dist/components/time-series/time-series.controller.d.ts +1 -1
  300. package/dist/components/time-series/time-series.controller.js +2 -2
  301. package/dist/components/time-series/time-series.js +33 -33
  302. package/dist/components/time-series/time-series.styles.js +2 -2
  303. package/dist/components/time-series/time-series.types.d.ts +1 -0
  304. package/dist/components/variable-combobox/lib.d.ts +1 -1
  305. package/dist/components/variable-combobox/lib.js +2 -2
  306. package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -1
  307. package/dist/components/variable-combobox/variable-combobox.component.js +15 -15
  308. package/dist/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
  309. package/dist/components/variable-combobox/variable-combobox.controller.js +3 -3
  310. package/dist/components/variable-combobox/variable-combobox.js +16 -16
  311. package/dist/components/variable-combobox/variable-combobox.styles.js +2 -2
  312. package/dist/components/variable-combobox/variable-combobox.types.d.ts +18 -0
  313. package/dist/components/variable-combobox/variable-combobox.types.js +0 -0
  314. package/dist/custom-elements.json +1346 -773
  315. package/dist/events/events.d.ts +4 -2
  316. package/dist/events/terra-combobox-change.d.ts +5 -2
  317. package/dist/events/terra-giovanni-search-change.d.ts +6 -0
  318. package/dist/events/terra-search.d.ts +6 -0
  319. package/dist/react/browse-variables/index.d.ts +11 -0
  320. package/dist/react/browse-variables/index.js +12 -0
  321. package/dist/react/button/index.js +7 -7
  322. package/dist/react/chip/index.js +5 -5
  323. package/dist/react/combobox/index.js +6 -6
  324. package/dist/react/date-range-slider/index.js +6 -6
  325. package/dist/react/giovanni-search/index.d.ts +29 -0
  326. package/dist/react/giovanni-search/index.js +24 -0
  327. package/dist/react/icon/index.js +7 -7
  328. package/dist/react/index.d.ts +4 -2
  329. package/dist/react/index.js +70 -54
  330. package/dist/react/loader/index.js +5 -5
  331. package/dist/react/map/index.js +7 -7
  332. package/dist/react/plot/index.js +6 -6
  333. package/dist/react/spatial-picker/index.js +9 -9
  334. package/dist/react/time-series/index.js +33 -33
  335. package/dist/react/variable-combobox/index.js +16 -16
  336. package/dist/terra-ui-components-autoloader.js +1 -1
  337. package/dist/terra-ui-components.d.ts +2 -0
  338. package/dist/terra-ui-components.js +76 -60
  339. package/dist/themes/horizon-dark.css +33 -0
  340. package/dist/themes/horizon-dark.styles.d.ts +2 -0
  341. package/dist/themes/horizon-dark.styles.js +37 -0
  342. package/dist/themes/horizon.css +114 -333
  343. package/dist/themes/horizon.styles.js +113 -330
  344. package/dist/types/vue/index.d.ts +170 -95
  345. package/dist/utilities/animation-registry.js +1 -1
  346. package/dist/utilities/animation.js +1 -1
  347. package/dist/utilities/base-path.js +1 -1
  348. package/dist/utilities/date.js +1 -1
  349. package/dist/utilities/form.js +3 -3
  350. package/dist/utilities/icon-library.js +3 -3
  351. package/dist/vscode.html-custom-data.json +184 -121
  352. package/dist/web-types.json +345 -223
  353. package/package.json +4 -3
  354. package/cdn/chunks/chunk.FDOXEWGR.js +0 -96
  355. package/cdn/chunks/chunk.L7XOR6JZ.js +0 -83
  356. package/cdn/chunks/chunk.SBDX4GGT.js +0 -66
  357. package/cdn/chunks/chunk.THBBULDA.js +0 -108
  358. package/cdn/chunks/chunk.UOFDZJYP.js +0 -116
  359. package/dist/chunks/chunk.GPUFE4ML.js +0 -63
  360. package/dist/chunks/chunk.IBEKZVOY.js +0 -80
  361. package/dist/chunks/chunk.RFKXBNLY.js +0 -102
  362. package/dist/chunks/chunk.S3WKONT5.js +0 -274
  363. package/dist/chunks/chunk.XW5YT7AB.js +0 -89
  364. package/dist/chunks/chunk.ZCNMYQP2.js +0 -113
  365. package/{dist/chunks/chunk.MDRUDBRH.js → cdn/chunks/chunk.7DOMZGX7.js} +3 -3
  366. package/cdn/chunks/{chunk.7R2BPQLY.js → chunk.ABHIFWYD.js} +3 -3
  367. package/cdn/chunks/{chunk.LQCRC4E2.js → chunk.SBAGQQ5L.js} +3 -3
  368. package/{cdn/chunks/chunk.MDRUDBRH.js → dist/chunks/chunk.7DOMZGX7.js} +3 -3
@@ -0,0 +1,390 @@
1
+ import {
2
+ __decorateClass,
3
+ __spreadValues
4
+ } from "./chunk.GKBF7QGR.js";
5
+
6
+ // src/styles/component.styles.ts
7
+ import { css } from "lit";
8
+ var darkModeCSS = "/dist/themes/horizon-dark.css";
9
+ function loadCSSFile(filename, media, onloadCallback) {
10
+ const link = document.createElement("link");
11
+ link.rel = "stylesheet";
12
+ link.type = "text/css";
13
+ link.href = filename;
14
+ if (media) {
15
+ link.media = media;
16
+ }
17
+ if (onloadCallback) {
18
+ link.onload = onloadCallback;
19
+ }
20
+ document.head.appendChild(link);
21
+ }
22
+ loadCSSFile("/dist/themes/horizon.css");
23
+ loadCSSFile(darkModeCSS);
24
+ var component_styles_default = css`
25
+ :host {
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ :host *,
30
+ :host *::before,
31
+ :host *::after {
32
+ box-sizing: inherit;
33
+ }
34
+
35
+ :host {
36
+ background-color: var(--background-color);
37
+ color: var(--color);
38
+ }
39
+
40
+ [hidden] {
41
+ display: none !important;
42
+ }
43
+
44
+ /* Horizon Design System Font Classes */
45
+
46
+ /* Display Fonts */
47
+
48
+ .display-120 {
49
+ font-family: var(--terra-font-family--inter);
50
+ font-size: 7.5rem; /* 120px */
51
+ font-weight: var(--terra-font-weight-bold);
52
+ }
53
+
54
+ .display-100 {
55
+ font-family: var(--terra-font-family--inter);
56
+ font-size: 6.25rem; /* 100px */
57
+ font-weight: var(--terra-font-weight-bold);
58
+ }
59
+
60
+ .display-80 {
61
+ font-family: var(--terra-font-family--inter);
62
+ font-size: 5rem; /* 80px */
63
+ font-weight: var(--terra-font-weight-bold);
64
+ }
65
+
66
+ .display-72 {
67
+ font-family: var(--terra-font-family--inter);
68
+ font-size: 4.5rem; /* 72px */
69
+ font-weight: var(--terra-font-weight-bold);
70
+ }
71
+
72
+ .display-60 {
73
+ font-family: var(--terra-font-family--inter);
74
+ font-size: 3.75rem; /* 60px */
75
+ font-weight: var(--terra-font-weight-bold);
76
+ }
77
+
78
+ .display-48 {
79
+ font-family: var(--terra-font-family--inter);
80
+ font-size: 3rem; /* 48px */
81
+ font-weight: var(--terra-font-weight-bold);
82
+ }
83
+
84
+ .display-41 {
85
+ font-family: var(--terra-font-family--inter);
86
+ font-size: 2.563rem; /* 41px */
87
+ font-weight: var(--terra-font-weight-bold);
88
+ }
89
+
90
+ /* Heading Fonts */
91
+
92
+ .heading-36-bold {
93
+ font-family: var(--terra-font-family--inter);
94
+ font-size: 2.25rem; /* 36px */
95
+ font-weight: var(--terra-font-weight-bold);
96
+ }
97
+
98
+ .heading-36-light {
99
+ font-family: var(--terra-font-family--inter);
100
+ font-size: 2.25rem; /* 36px */
101
+ font-weight: var(--terra-font-weight-light);
102
+ }
103
+
104
+ .heading-29-bold {
105
+ font-family: var(--terra-font-family--inter);
106
+ font-size: 1.813rem; /* 29px */
107
+ font-weight: var(--terra-font-weight-bold);
108
+ }
109
+
110
+ .heading-29-light {
111
+ font-family: var(--terra-font-family--inter);
112
+ font-size: 1.813rem; /* 29px */
113
+ font-weight: var(--terra-font-weight-light);
114
+ }
115
+
116
+ .heading-22-bold {
117
+ font-family: var(--terra-font-family--inter);
118
+ font-size: 1.375rem; /* 22px */
119
+ font-weight: var(--terra-font-weight-bold);
120
+ }
121
+
122
+ .heading-22-light {
123
+ font-family: var(--terra-font-family--inter);
124
+ font-size: 1.375rem; /*22px */
125
+ font-weight: var(--terra-font-weight-light);
126
+ }
127
+
128
+ .heading-18-bold {
129
+ font-family: var(--terra-font-family--inter);
130
+ font-size: 1.125rem; /* 18px */
131
+ font-weight: var(--terra-font-weight-bold);
132
+ }
133
+
134
+ .heading-18-light {
135
+ font-family: var(--terra-font-family--inter);
136
+ font-size: 1.125rem; /* 18px */
137
+ font-weight: var(--terra-font-weight-light);
138
+ }
139
+
140
+ .heading-16-bold {
141
+ font-family: var(--terra-font-family--inter);
142
+ font-size: 1rem; /* 16px */
143
+ font-weight: var(--terra-font-weight-bold);
144
+ }
145
+
146
+ .heading-16-light {
147
+ font-family: var(--terra-font-family--inter);
148
+ font-size: 1rem; /* 16px */
149
+ font-weight: var(--terra-font-weight-light);
150
+ }
151
+
152
+ .heading-14-bold {
153
+ font-family: var(--terra-font-family--inter);
154
+ font-size: 0.875rem; /* 14px */
155
+ font-weight: var(--terra-font-weight-bold);
156
+ }
157
+
158
+ .heading-14-light {
159
+ font-family: var(--terra-font-family--inter);
160
+ font-size: 0.875rem; /* 14px */
161
+ font-weight: var(--terra-font-weight-light);
162
+ }
163
+
164
+ .heading-12-bold {
165
+ font-family: var(--terra-font-family--inter);
166
+ font-size: 0.75rem; /* 12px */
167
+ font-weight: var(--terra-font-weight-bold);
168
+ }
169
+
170
+ .heading-12-light {
171
+ font-family: var(--terra-font-family--inter);
172
+ font-size: 0.75rem; /* 12px */
173
+ font-weight: var(--terra-font-weight-light);
174
+ }
175
+
176
+ .heading-11-semi-bold {
177
+ font-family: var(--terra-font-family--inter);
178
+ font-size: 0.688rem; /* 11px */
179
+ font-weight: var(--terra-font-weight-semi-bold);
180
+ }
181
+
182
+ /* Body Fonts */
183
+
184
+ .body-18 {
185
+ font-family: var(--terra-font-family--public-sans);
186
+ font-size: 1.125rem; /* 18px */
187
+ font-weight: var(--terra-font-weight-normal);
188
+ }
189
+
190
+ .body-16 {
191
+ font-family: var(--terra-font-family--public-sans);
192
+ font-size: 1rem; /* 16px */
193
+ font-weight: var(--terra-font-weight-normal);
194
+ }
195
+
196
+ .body-14 {
197
+ font-family: var(--terra-font-family--public-sans);
198
+ font-size: 0.875rem; /* 14px */
199
+ font-weight: var(--terra-font-weight-normal);
200
+ }
201
+
202
+ .body-12 {
203
+ font-family: var(--terra-font-family--public-sans);
204
+ font-size: 0.75rem; /* 12px */
205
+ font-weight: var(--terra-font-weight-normal);
206
+ }
207
+
208
+ .body-11 {
209
+ font-family: var(--terra-font-family--public-sans);
210
+ font-size: 0.688rem; /* 11px */
211
+ font-weight: var(--terra-font-weight-normal);
212
+ }
213
+
214
+ /* Number & Label Fonts */
215
+
216
+ .number-240 {
217
+ font-family: var(--terra-font-family--dm-mono);
218
+ font-size: 15rem; /* 240px */
219
+ font-weight: var(--terra-font-weight-light);
220
+ }
221
+
222
+ .number-120 {
223
+ font-family: var(--terra-font-family--dm-mono);
224
+ font-size: 7.5rem; /* 120px */
225
+ font-weight: var(--terra-font-weight-light);
226
+ }
227
+
228
+ .number-48 {
229
+ font-family: var(--terra-font-family--dm-mono);
230
+ font-size: 3rem; /* 48px */
231
+ font-weight: var(--terra-font-weight-light);
232
+ }
233
+
234
+ .number-36 {
235
+ font-family: var(--terra-font-family--dm-mono);
236
+ font-size: 2.25rem; /* 36px */
237
+ font-weight: var(--terra-font-weight-light);
238
+ }
239
+
240
+ .number-14 {
241
+ font-family: var(--terra-font-family--dm-mono);
242
+ font-size: 0.875rem; /* 14px */
243
+ font-weight: 500;
244
+ }
245
+
246
+ .number-11 {
247
+ font-family: var(--terra-font-family--dm-mono);
248
+ font-size: 0.688rem; /* 11px */
249
+ font-weight: 500;
250
+ }
251
+
252
+ .label-14 {
253
+ font-family: var(--terra-font-family--dm-mono);
254
+ font-size: 0.875rem; /* 14px */
255
+ font-weight: var(--terra-font-weight-light);
256
+ text-transform: uppercase;
257
+ }
258
+
259
+ .label-12 {
260
+ font-family: var(--terra-font-family--dm-mono);
261
+ font-size: 0.75rem; /* 12px */
262
+ font-weight: var(--terra-font-weight-light);
263
+ text-transform: uppercase;
264
+ }
265
+
266
+ .label-11 {
267
+ font-family: var(--terra-font-family--dm-mono);
268
+ font-size: 0.688rem; /* 11px */
269
+ font-weight: var(--terra-font-weight-light);
270
+ text-transform: uppercase;
271
+ }
272
+
273
+ /* Forms */
274
+
275
+ /* Input Field */
276
+
277
+ input[type='text'],
278
+ input[type='password'],
279
+ select,
280
+ .input {
281
+ font-family: var(--terra-input-font-family);
282
+ font-size: var(--terra-input-font-size);
283
+ color: var(--terra-input-color);
284
+ font-weight: var(--terra-input-font-weight);
285
+ line-height: var(--terra-input-line-height);
286
+ background-color: var(--terra-input-background-color);
287
+ border: var(--terra-input-border-width) solid var(--terra-input-border-color);
288
+ border-radius: var(--terra-input-border-radius);
289
+ }
290
+
291
+ label,
292
+ .input-label {
293
+ font-family: var(--terra-input-label-font-family);
294
+ font-size: var(--terra-input-label-font-size);
295
+ color: var(--terra-input-label-color);
296
+ font-weight: var(--terra-font-weight-semibold);
297
+ line-height: var(--terra-input-label-line-height);
298
+ }
299
+
300
+ /* Elements */
301
+
302
+ a {
303
+ text-decoration: underline;
304
+ text-decoration-color: #585858;
305
+ text-decoration-style: dashed;
306
+ text-decoration-thickness: 0.05em;
307
+ text-underline-offset: 0.25rem;
308
+ color: var(--terra-color-carbon-60);
309
+ }
310
+
311
+ /* UTILITY CSS */
312
+ .sr-only {
313
+ block-size: 1px;
314
+ border-width: 0;
315
+ clip: rect(0, 0, 0, 0);
316
+ margin: -1px;
317
+ overflow: hidden;
318
+ padding: 0;
319
+ position: absolute;
320
+ white-space: nowrap;
321
+ width: 1px;
322
+ }
323
+ `;
324
+
325
+ // src/internal/terra-element.ts
326
+ import { LitElement } from "lit";
327
+ import { property } from "lit/decorators.js";
328
+ var TerraElement = class extends LitElement {
329
+ emit(name, options) {
330
+ const event = new CustomEvent(name, __spreadValues({
331
+ bubbles: true,
332
+ cancelable: false,
333
+ composed: true,
334
+ detail: {}
335
+ }, options));
336
+ this.dispatchEvent(event);
337
+ return event;
338
+ }
339
+ /* eslint-enable */
340
+ static define(name, elementConstructor = this, options = {}) {
341
+ const currentlyRegisteredConstructor = customElements.get(name);
342
+ if (!currentlyRegisteredConstructor) {
343
+ customElements.define(
344
+ name,
345
+ class extends elementConstructor {
346
+ },
347
+ options
348
+ );
349
+ return;
350
+ }
351
+ let newVersion = " (unknown version)";
352
+ let existingVersion = newVersion;
353
+ if ("version" in elementConstructor && elementConstructor.version) {
354
+ newVersion = " v" + elementConstructor.version;
355
+ }
356
+ if ("version" in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {
357
+ existingVersion = " v" + currentlyRegisteredConstructor.version;
358
+ }
359
+ if (newVersion && existingVersion && newVersion === existingVersion) {
360
+ return;
361
+ }
362
+ console.warn(
363
+ `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
364
+ );
365
+ }
366
+ constructor() {
367
+ super();
368
+ Object.entries(
369
+ this.constructor.dependencies
370
+ ).forEach(([name, component]) => {
371
+ ;
372
+ this.constructor.define(name, component);
373
+ });
374
+ }
375
+ };
376
+ /* eslint-disable */
377
+ // @ts-expect-error This is auto-injected at build time.
378
+ TerraElement.version = "0.0.10";
379
+ TerraElement.dependencies = {};
380
+ __decorateClass([
381
+ property()
382
+ ], TerraElement.prototype, "dir", 2);
383
+ __decorateClass([
384
+ property()
385
+ ], TerraElement.prototype, "lang", 2);
386
+
387
+ export {
388
+ component_styles_default,
389
+ TerraElement
390
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __spreadProps,
3
3
  __spreadValues
4
- } from "./chunk.RYPAZDXE.js";
4
+ } from "./chunk.GKBF7QGR.js";
5
5
 
6
6
  // src/internal/form.ts
7
7
  var formCollections = /* @__PURE__ */ new WeakMap();
@@ -3,20 +3,20 @@ import {
3
3
  } from "./chunk.OIDMX5LU.js";
4
4
  import {
5
5
  date_range_slider_styles_default
6
- } from "./chunk.OU4UPMYR.js";
6
+ } from "./chunk.62YHGVQN.js";
7
7
  import {
8
8
  mergeTooltips
9
9
  } from "./chunk.KW4TJM4C.js";
10
10
  import {
11
11
  watch
12
- } from "./chunk.ZK7QVWBI.js";
12
+ } from "./chunk.Y6OL24QM.js";
13
13
  import {
14
14
  TerraElement,
15
15
  component_styles_default
16
- } from "./chunk.RFKXBNLY.js";
16
+ } from "./chunk.VDU7JJBS.js";
17
17
  import {
18
18
  __decorateClass
19
- } from "./chunk.RYPAZDXE.js";
19
+ } from "./chunk.GKBF7QGR.js";
20
20
 
21
21
  // src/components/date-range-slider/date-range-slider.component.ts
22
22
  import { property, query } from "lit/decorators.js";
@@ -72,6 +72,7 @@ var TerraDateRangeSlider = class extends TerraElement {
72
72
  min: minDate.getTime(),
73
73
  max: maxDate.getTime()
74
74
  },
75
+ behaviour: "drag",
75
76
  step: this._getStep(),
76
77
  start: [startDate.getTime(), endDate.getTime()],
77
78
  // defaults to either the given start/end dates or the full date range (min/max date)
@@ -5,11 +5,15 @@ var plot_styles_default = css`
5
5
  display: block;
6
6
  }
7
7
 
8
+ :host::part(base) {
9
+ aspect-ratio: 4 / 3;
10
+ }
11
+
8
12
  /**
9
13
  * !Alert! The rest of this stylesheet is auto-generated!
10
14
  * Unfortunately Plotly does not work well with Shadow DOM AND they don't supply a CSS file at all for us to import
11
15
  * Because of this, a working solution is to copy their CSS over.
12
- *
16
+ *
13
17
  * Given that they use CSS, you can do npx -y sass ./node_modules/plotly.js/src/css/style.scss > plotly.css
14
18
  * to generate the CSS, then copy the contents of plotly.css into this file
15
19
  */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __spreadValues
3
- } from "./chunk.RYPAZDXE.js";
3
+ } from "./chunk.GKBF7QGR.js";
4
4
 
5
5
  // src/internal/watch.ts
6
6
  function watch(propertyName, options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraChip
3
- } from "./chunk.6TP5NQZR.js";
3
+ } from "./chunk.45IL4VM3.js";
4
4
 
5
5
  // src/react/chip/index.ts
6
6
  import * as React from "react";
@@ -1,25 +1,25 @@
1
- import {
2
- icon_styles_default
3
- } from "./chunk.7VUSSQRI.js";
4
1
  import {
5
2
  getIconLibrary,
6
3
  unwatchIcon,
7
4
  watchIcon
8
- } from "./chunk.MDRUDBRH.js";
5
+ } from "./chunk.7DOMZGX7.js";
6
+ import {
7
+ icon_styles_default
8
+ } from "./chunk.7VUSSQRI.js";
9
9
  import {
10
10
  watch
11
- } from "./chunk.ZK7QVWBI.js";
11
+ } from "./chunk.Y6OL24QM.js";
12
12
  import {
13
13
  TerraElement,
14
14
  component_styles_default
15
- } from "./chunk.RFKXBNLY.js";
15
+ } from "./chunk.VDU7JJBS.js";
16
16
  import {
17
17
  __decorateClass,
18
18
  __privateAdd,
19
19
  __privateGet,
20
20
  __privateMethod,
21
21
  __privateSet
22
- } from "./chunk.RYPAZDXE.js";
22
+ } from "./chunk.GKBF7QGR.js";
23
23
 
24
24
  // src/components/icon/icon.component.ts
25
25
  import { property, state } from "lit/decorators.js";
@@ -0,0 +1,21 @@
1
+ import {
2
+ TerraBrowseVariables
3
+ } from "./chunk.EQN5HVOY.js";
4
+
5
+ // src/react/browse-variables/index.ts
6
+ import * as React from "react";
7
+ import { createComponent } from "@lit/react";
8
+ var tagName = "terra-browse-variables";
9
+ TerraBrowseVariables.define("terra-browse-variables");
10
+ var reactWrapper = createComponent({
11
+ tagName,
12
+ elementClass: TerraBrowseVariables,
13
+ react: React,
14
+ events: {},
15
+ displayName: "TerraBrowseVariables"
16
+ });
17
+ var browse_variables_default = reactWrapper;
18
+
19
+ export {
20
+ browse_variables_default
21
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraLoader
3
- } from "./chunk.FDOXEWGR.js";
3
+ } from "./chunk.CETYO6UP.js";
4
4
 
5
5
  // src/react/loader/index.ts
6
6
  import * as React from "react";
@@ -0,0 +1,28 @@
1
+ import TerraElement from '../../internal/terra-element.js';
2
+ import type { CSSResultGroup } from 'lit';
3
+ import type { SelectedFacetField } from './browse-variables.types.js';
4
+ /**
5
+ * @summary Browse through the Giovanni catalog.
6
+ * @documentation https://disc.gsfc.nasa.gov/components/browse-variables
7
+ * @status MVP
8
+ * @since 1.0
9
+ *
10
+ * @csspart base - The component's base wrapper.
11
+ */
12
+ export default class TerraBrowseVariables extends TerraElement {
13
+ #private;
14
+ static styles: CSSResultGroup;
15
+ /**
16
+ * Filters the catalog categories and facets by the given searchQuery
17
+ * If not provided, all categories and facets will be available to browse
18
+ */
19
+ searchQuery: string;
20
+ /**
21
+ * Allows the user to switch the catalog between different providers
22
+ * TODO: add support for CMR catalog and make it the default
23
+ */
24
+ catalog: 'giovanni';
25
+ selectedFacetFields: SelectedFacetField[];
26
+ handleFacetSelect: (event: Event) => void;
27
+ render(): import("lit-html").TemplateResult<1>;
28
+ }
@@ -0,0 +1,11 @@
1
+ import {
2
+ TerraBrowseVariables
3
+ } from "../../chunks/chunk.EQN5HVOY.js";
4
+ import "../../chunks/chunk.6LKFAV2F.js";
5
+ import "../../chunks/chunk.O7AXAEKY.js";
6
+ import "../../chunks/chunk.UPZNWZOP.js";
7
+ import "../../chunks/chunk.VDU7JJBS.js";
8
+ import "../../chunks/chunk.GKBF7QGR.js";
9
+ export {
10
+ TerraBrowseVariables as default
11
+ };
@@ -0,0 +1,11 @@
1
+ import type { StatusRenderer } from '@lit/task';
2
+ import type { ReactiveControllerHost } from 'lit';
3
+ import type { FacetsByCategory, Variable } from './browse-variables.types.js';
4
+ import type TerraBrowseVariables from './browse-variables.component.js';
5
+ export declare class BrowseVariablesController {
6
+ #private;
7
+ facetsByCategory: FacetsByCategory;
8
+ variables: Variable[];
9
+ constructor(host: ReactiveControllerHost & TerraBrowseVariables);
10
+ render(renderFunctions: StatusRenderer<any>): unknown;
11
+ }
@@ -0,0 +1,8 @@
1
+ import {
2
+ BrowseVariablesController
3
+ } from "../../chunks/chunk.6LKFAV2F.js";
4
+ import "../../chunks/chunk.O7AXAEKY.js";
5
+ import "../../chunks/chunk.GKBF7QGR.js";
6
+ export {
7
+ BrowseVariablesController
8
+ };
@@ -0,0 +1,8 @@
1
+ import TerraBrowseVariables from './browse-variables.component.js';
2
+ export * from './browse-variables.component.js';
3
+ export default TerraBrowseVariables;
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'terra-browse-variables': TerraBrowseVariables;
7
+ }
8
+ }
@@ -0,0 +1,12 @@
1
+ import {
2
+ browse_variables_default
3
+ } from "../../chunks/chunk.NU7T7O37.js";
4
+ import "../../chunks/chunk.EQN5HVOY.js";
5
+ import "../../chunks/chunk.6LKFAV2F.js";
6
+ import "../../chunks/chunk.O7AXAEKY.js";
7
+ import "../../chunks/chunk.UPZNWZOP.js";
8
+ import "../../chunks/chunk.VDU7JJBS.js";
9
+ import "../../chunks/chunk.GKBF7QGR.js";
10
+ export {
11
+ browse_variables_default as default
12
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("lit").CSSResult;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import {
2
+ browse_variables_styles_default
3
+ } from "../../chunks/chunk.UPZNWZOP.js";
4
+ import "../../chunks/chunk.GKBF7QGR.js";
5
+ export {
6
+ browse_variables_styles_default as default
7
+ };
@@ -0,0 +1,49 @@
1
+ export interface CatalogRepositoryInterface {
2
+ /**
3
+ * used to retrieve a list of variables and facet categories that can be filtered by
4
+ * a search query and/or a list of selected facet fields
5
+ */
6
+ searchVariablesAndFacets(query?: string, selectedFacetFields?: SelectedFacetField[], options?: SearchOptions): Promise<SearchResponse>;
7
+ }
8
+ export type SearchOptions = {
9
+ signal: AbortSignal;
10
+ };
11
+ export type SearchResponse = {
12
+ facetsByCategory: FacetsByCategory;
13
+ variables: Variable[];
14
+ };
15
+ export type SelectedFacetField = {
16
+ facet: string;
17
+ field: string;
18
+ };
19
+ export type FacetsByCategory = {
20
+ depths: FacetField[];
21
+ disciplines: FacetField[];
22
+ measurements: FacetField[];
23
+ observations: FacetField[];
24
+ platformInstruments: FacetField[];
25
+ portals: FacetField[];
26
+ spatialResolutions: FacetField[];
27
+ specialFeatures: FacetField[];
28
+ temporalResolutions: FacetField[];
29
+ wavelengths: FacetField[];
30
+ };
31
+ export type FacetField = {
32
+ name: string;
33
+ count: number;
34
+ };
35
+ export type Variable = {
36
+ dataProductShortName: string;
37
+ dataProductVersion: string;
38
+ dataFieldShortName: string;
39
+ dataFieldLongName: string;
40
+ dataProductLongName: string;
41
+ dataProductTimeInterval: string;
42
+ dataProductWest: number;
43
+ dataProductSouth: number;
44
+ dataProductEast: number;
45
+ dataProductNorth: number;
46
+ dataProductSpatialResolution: string;
47
+ dataProductBeginDateTime: string;
48
+ dataProductEndDateTime: string;
49
+ };