@nasa-terra/components 0.0.7 → 0.0.9

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.CPNLKTGF.js → chunk.2463X3BU.js} +1 -1
  3. package/cdn/chunks/{chunk.2BF5ZHP6.js → chunk.2AR3YFY6.js} +22 -29
  4. package/cdn/chunks/{chunk.UUZHIWQZ.js → chunk.2B3T647S.js} +7 -7
  5. package/cdn/chunks/chunk.3WUZMCON.js +198 -0
  6. package/cdn/chunks/{chunk.L4ODCAGX.js → chunk.4X3H4SXF.js} +1 -1
  7. package/{dist/chunks/chunk.CNBF6GCR.js → cdn/chunks/chunk.5BNGCWLY.js} +1 -1
  8. package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
  9. package/cdn/chunks/chunk.5IYEJYZC.js +21 -0
  10. package/cdn/chunks/{chunk.P3N5PW3F.js → chunk.5SINCXSM.js} +41 -12
  11. package/{dist/chunks/chunk.UNE3VYFP.js → cdn/chunks/chunk.5UDVR4WP.js} +1 -1
  12. package/cdn/chunks/{chunk.RZV7PTZZ.js → chunk.7ADLGY5T.js} +1 -1
  13. package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
  14. package/cdn/chunks/{chunk.IKYLG6LM.js → chunk.7O6PG7SC.js} +1 -1
  15. package/cdn/chunks/chunk.7QABLDUG.js +57 -0
  16. package/cdn/chunks/{chunk.WY4A6BXW.js → chunk.A5ZHUUQE.js} +1 -1
  17. package/{dist/chunks/chunk.TWKECPWO.js → cdn/chunks/chunk.B35TWPB3.js} +1 -1
  18. package/cdn/chunks/{chunk.GMWFNQ7Q.js → chunk.BE55UMQU.js} +3 -2
  19. package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
  20. package/cdn/chunks/{chunk.URIOYHEA.js → chunk.BZAX3KPT.js} +24 -46
  21. package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
  22. package/cdn/chunks/chunk.CRDWIXR6.js +25 -0
  23. package/cdn/chunks/{chunk.CGUXXQTT.js → chunk.CST5GL5A.js} +1 -1
  24. package/cdn/chunks/{chunk.LO2CROCV.js → chunk.EH7QANZL.js} +5 -5
  25. package/cdn/chunks/chunk.ETRGUHQA.js +128 -0
  26. package/cdn/chunks/{chunk.5M6EGBKK.js → chunk.EVWEXJVX.js} +1 -1
  27. package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
  28. package/cdn/chunks/{chunk.R2AQMZE4.js → chunk.GCXPHNE2.js} +1 -1
  29. package/cdn/chunks/{chunk.6TP5NQZR.js → chunk.HPHAKMYE.js} +5 -6
  30. package/cdn/chunks/{chunk.SVBGCTUY.js → chunk.KOO6JUIP.js} +1 -1
  31. package/{dist/chunks/chunk.4EEBFDHS.js → cdn/chunks/chunk.KURQ25QR.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/cdn/chunks/{chunk.ZMTQ4YE2.js → chunk.P7Q72NIS.js} +1 -1
  35. package/cdn/chunks/{chunk.UBYAPUL3.js → chunk.PB3BAC36.js} +8 -10
  36. package/cdn/chunks/{chunk.GCC4YOMG.js → chunk.QPAB2A53.js} +1 -1
  37. package/{dist/chunks/chunk.MMDLLVXS.js → cdn/chunks/chunk.R4AGAL4B.js} +1 -1
  38. package/cdn/chunks/{chunk.6TG7HJRE.js → chunk.SIGRYKYI.js} +17 -18
  39. package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
  40. package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
  41. package/cdn/chunks/{chunk.5EDEDCDT.js → chunk.TUT6F7WE.js} +411 -113
  42. package/cdn/chunks/chunk.TZK42POE.js +55 -0
  43. package/{dist/chunks/chunk.N6PKYR5K.js → cdn/chunks/chunk.UEC2PU53.js} +1 -1
  44. package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
  45. package/{dist/chunks/chunk.CM3WMTBC.js → cdn/chunks/chunk.VMNE6YSR.js} +1 -1
  46. package/cdn/chunks/{chunk.DSTVDF3E.js → chunk.W6FS5GIY.js} +1 -1
  47. package/cdn/chunks/chunk.W7ZPVNG5.js +11 -0
  48. package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
  49. package/{dist/chunks/chunk.N7ULTEAO.js → cdn/chunks/chunk.WOIMKTUH.js} +1 -1
  50. package/cdn/chunks/{chunk.MCDYUBW2.js → chunk.WSUKDH6C.js} +1 -1
  51. package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
  52. package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
  53. package/cdn/chunks/chunk.XF7RXUXV.js +11 -0
  54. package/cdn/chunks/chunk.XTN2KUNR.js +396 -0
  55. package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
  56. package/cdn/chunks/{chunk.XAVEBGFY.js → chunk.YOTNXUDL.js} +1 -1
  57. package/{dist/chunks/chunk.SDJHA4XN.js → cdn/chunks/chunk.YSRQIHTV.js} +1 -1
  58. package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
  59. package/cdn/chunks/chunk.Z3LHAJIV.js +339 -0
  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 +3 -3
  74. package/cdn/components/button/button.js +4 -4
  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 +7 -7
  80. package/cdn/components/combobox/combobox.js +8 -8
  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 +4 -4
  105. package/cdn/components/map/map.js +5 -5
  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 +6 -6
  114. package/cdn/components/spatial-picker/spatial-picker.js +7 -7
  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 +37 -37
  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 +38 -38
  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 +19 -19
  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 +20 -20
  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 +2086 -1513
  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 +4 -4
  141. package/cdn/react/chip/index.js +4 -4
  142. package/cdn/react/combobox/index.js +8 -8
  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 +5 -3
  148. package/cdn/react/index.js +77 -61
  149. package/cdn/react/loader/index.js +4 -4
  150. package/cdn/react/map/index.js +5 -5
  151. package/cdn/react/plot/index.js +4 -4
  152. package/cdn/react/spatial-picker/index.js +7 -7
  153. package/cdn/react/time-series/index.js +38 -38
  154. package/cdn/react/variable-combobox/index.js +20 -20
  155. package/cdn/terra-ui-components.d.ts +2 -0
  156. package/cdn/terra-ui-components.js +82 -66
  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 +183 -108
  163. package/cdn/utilities/animation.js +3 -3
  164. package/cdn/utilities/icon-library.js +2 -2
  165. package/cdn/vscode.html-custom-data.json +190 -127
  166. package/cdn/web-types.json +389 -267
  167. package/dist/chunks/chunk.247RXZFH.js +569 -0
  168. package/dist/chunks/{chunk.XB7LBTTU.js → chunk.3TJ2JKU3.js} +1 -1
  169. package/dist/chunks/{chunk.QJIYDTLQ.js → chunk.3UYUL4SF.js} +1 -1
  170. package/dist/chunks/{chunk.XIRKMIAU.js → chunk.4QQMSQRA.js} +10 -10
  171. package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
  172. package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
  173. package/dist/chunks/{chunk.IEHDLSGA.js → chunk.6EMZGACJ.js} +26 -49
  174. package/dist/chunks/chunk.6LKFAV2F.js +55 -0
  175. package/dist/chunks/{chunk.PFSWFOXD.js → chunk.6XPXG2HQ.js} +1 -1
  176. package/{cdn/chunks/chunk.LNNGJCX4.js → dist/chunks/chunk.7BDQ3OGI.js} +1 -1
  177. package/dist/chunks/{chunk.CL62YJ3N.js → chunk.7OKJDEHN.js} +37 -18
  178. package/dist/chunks/{chunk.JFU3ZCDL.js → chunk.7WL3WWGJ.js} +26 -92
  179. package/dist/chunks/{chunk.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
  180. package/dist/chunks/{chunk.YNMQZYQL.js → chunk.BB72QYRU.js} +1 -1
  181. package/{cdn/chunks/chunk.2MYFC7LM.js → dist/chunks/chunk.C7CKLN54.js} +1 -1
  182. package/dist/chunks/chunk.CL7IMQRK.js +50 -0
  183. package/dist/chunks/{chunk.TNACYALO.js → chunk.CRKPWBJQ.js} +1 -1
  184. package/{cdn/chunks/chunk.NFSGAK6D.js → dist/chunks/chunk.CSSXWHIU.js} +1 -1
  185. package/dist/chunks/{chunk.3ZGFXEAJ.js → chunk.EDWXEF4C.js} +1 -1
  186. package/dist/chunks/chunk.EGZMQ7T7.js +35 -0
  187. package/dist/chunks/{chunk.52JSYSOV.js → chunk.EP3UVTII.js} +1 -1
  188. package/dist/chunks/{chunk.C5OZDL3F.js → chunk.F7HR6Y7D.js} +10 -11
  189. package/dist/chunks/chunk.GHDRVO5M.js +125 -0
  190. package/dist/chunks/{chunk.FYST4D4G.js → chunk.GJ5PF473.js} +1 -1
  191. package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
  192. package/dist/chunks/chunk.GR7XHOA3.js +52 -0
  193. package/dist/chunks/{chunk.RP6DCD5M.js → chunk.GZ7EVLUK.js} +44 -15
  194. package/dist/chunks/{chunk.FFZEV52Q.js → chunk.HMNI5WGJ.js} +10 -12
  195. package/dist/chunks/chunk.HWAZFJOD.js +120 -0
  196. package/{cdn/chunks/chunk.AG72D4AT.js → dist/chunks/chunk.I5WKMWQE.js} +1 -1
  197. package/{cdn/chunks/chunk.7VBMSUOT.js → dist/chunks/chunk.IO22JTMO.js} +1 -1
  198. package/{cdn/chunks/chunk.4OMMI4NC.js → dist/chunks/chunk.JTUSKCXM.js} +1 -1
  199. package/dist/chunks/chunk.JW7QUN3C.js +193 -0
  200. package/dist/chunks/chunk.KXP54RWR.js +390 -0
  201. package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
  202. package/dist/chunks/chunk.LYOSHT4H.js +327 -0
  203. package/dist/chunks/{chunk.OUOWGBKV.js → chunk.NLVXQ4XY.js} +1 -1
  204. package/dist/chunks/{chunk.UU46CLE7.js → chunk.O2VVO7UI.js} +11 -15
  205. package/dist/chunks/chunk.O7AXAEKY.js +23 -0
  206. package/dist/chunks/{chunk.EYUPYDT4.js → chunk.OEP3CFIS.js} +7 -7
  207. package/dist/chunks/chunk.OI5D3LE4.js +11 -0
  208. package/{cdn/chunks/chunk.BX66TSQY.js → dist/chunks/chunk.QBDPXIJN.js} +1 -1
  209. package/dist/chunks/chunk.QEMJLGM4.js +58 -0
  210. package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
  211. package/dist/chunks/chunk.RJAFAHJE.js +21 -0
  212. package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
  213. package/dist/chunks/{chunk.7LODXAV5.js → chunk.ST5FT6V7.js} +1 -1
  214. package/dist/chunks/{chunk.Y72ZRL5L.js → chunk.TBPEGRZ2.js} +20 -27
  215. package/dist/chunks/chunk.TRSW2E4E.js +223 -0
  216. package/dist/chunks/chunk.UPZNWZOP.js +156 -0
  217. package/{cdn/chunks/chunk.CLFLLHS3.js → dist/chunks/chunk.VA2ZXIYQ.js} +1 -1
  218. package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
  219. package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
  220. package/dist/chunks/{chunk.VEURJQW5.js → chunk.WBSIQEC5.js} +1 -1
  221. package/dist/chunks/chunk.WJ67GDOF.js +11 -0
  222. package/dist/chunks/chunk.WR5RPQHG.js +25 -0
  223. package/{cdn/chunks/chunk.CDPMV7DB.js → dist/chunks/chunk.X4VUM377.js} +1 -1
  224. package/dist/chunks/{chunk.6EFMX2ZD.js → chunk.XIGYW3GW.js} +1 -1
  225. package/dist/chunks/{chunk.33I7MBZO.js → chunk.Y2NINNMK.js} +1 -1
  226. package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
  227. package/dist/chunks/{chunk.WVHQFXLD.js → chunk.YOP35UJX.js} +4 -5
  228. package/dist/chunks/{chunk.7C4FMTCE.js → chunk.ZCSTHC33.js} +1 -1
  229. package/dist/chunks/{chunk.GBVXVADE.js → chunk.ZMCKUA77.js} +5 -4
  230. package/dist/chunks/{chunk.7I7C7JJF.js → chunk.ZWMQIAGV.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 +7 -7
  285. package/dist/components/map/map.controller.js +1 -1
  286. package/dist/components/map/map.js +8 -8
  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 +9 -9
  295. package/dist/components/spatial-picker/spatial-picker.js +10 -10
  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 +33 -33
  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 +34 -34
  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 +2086 -1513
  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 +5 -3
  329. package/dist/react/index.js +72 -56
  330. package/dist/react/loader/index.js +5 -5
  331. package/dist/react/map/index.js +8 -8
  332. package/dist/react/plot/index.js +6 -6
  333. package/dist/react/spatial-picker/index.js +10 -10
  334. package/dist/react/time-series/index.js +34 -34
  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 +183 -108
  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 +190 -127
  352. package/dist/web-types.json +389 -267
  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.XR56EMXH.js} +8 -8
  368. package/{cdn/chunks/chunk.MDRUDBRH.js → dist/chunks/chunk.7DOMZGX7.js} +3 -3
@@ -0,0 +1,35 @@
1
+ // src/components/giovanni-search/lib.ts
2
+ import { html } from "lit";
3
+ var whenIdle = "requestIdleCallback" in window ? requestIdleCallback : requestAnimationFrame;
4
+ function renderSearchResult(listItem) {
5
+ return html`
6
+ <li id=${listItem.id} role="option" class="listbox-option">${listItem.id}</li>
7
+ `;
8
+ }
9
+ function clearSelection(combobox, listbox) {
10
+ combobox.removeAttribute("aria-activedescendant");
11
+ listbox.querySelectorAll("[aria-selected]").forEach((option) => option.removeAttribute("aria-selected"));
12
+ }
13
+ function walkToOption(walker, combobox, direction = "next") {
14
+ const maybeCurrentElement = direction === "next" ? walker.nextNode() : walker.previousNode();
15
+ if (maybeCurrentElement === null || maybeCurrentElement === walker.root) {
16
+ walker.parentNode();
17
+ direction === "next" ? walker.firstChild() : walker.lastChild();
18
+ }
19
+ const currentNode = walker.currentNode;
20
+ whenIdle(() => {
21
+ currentNode.scrollIntoView({
22
+ behavior: "auto",
23
+ block: "nearest"
24
+ });
25
+ currentNode.setAttribute("aria-selected", "true");
26
+ combobox.setAttribute("aria-activedescendant", currentNode.id);
27
+ });
28
+ }
29
+
30
+ export {
31
+ whenIdle,
32
+ renderSearchResult,
33
+ clearSelection,
34
+ walkToOption
35
+ };
@@ -3,7 +3,7 @@ import {
3
3
  __privateMethod,
4
4
  __spreadProps,
5
5
  __spreadValues
6
- } from "./chunk.RYPAZDXE.js";
6
+ } from "./chunk.GKBF7QGR.js";
7
7
 
8
8
  // src/components/time-series/time-series.controller.ts
9
9
  import { Task, initialState } from "@lit/task";
@@ -2,16 +2,16 @@ import {
2
2
  clearSelection,
3
3
  walkToOption
4
4
  } from "./chunk.LMGJJIIS.js";
5
+ import {
6
+ combobox_styles_default
7
+ } from "./chunk.7WL3WWGJ.js";
5
8
  import {
6
9
  watch
7
- } from "./chunk.ZK7QVWBI.js";
10
+ } from "./chunk.Y6OL24QM.js";
8
11
  import {
9
12
  TerraElement,
10
13
  component_styles_default
11
- } from "./chunk.RFKXBNLY.js";
12
- import {
13
- combobox_styles_default
14
- } from "./chunk.JFU3ZCDL.js";
14
+ } from "./chunk.KXP54RWR.js";
15
15
  import {
16
16
  __decorateClass,
17
17
  __privateAdd,
@@ -19,7 +19,7 @@ import {
19
19
  __privateSet,
20
20
  __spreadProps,
21
21
  __spreadValues
22
- } from "./chunk.RYPAZDXE.js";
22
+ } from "./chunk.GKBF7QGR.js";
23
23
 
24
24
  // src/components/combobox/combobox.component.ts
25
25
  import Fuse from "fuse.js";
@@ -272,9 +272,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
272
272
  render() {
273
273
  var _a;
274
274
  return html`<search part="base" title="Search through the list.">
275
- <label
276
- for="combobox"
277
- class=${this.hideLabel ? "sr-only" : "search-input-label"}
275
+ <label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
278
276
  >${this.label}</label
279
277
  >
280
278
  <div class="search-input-group">
@@ -298,7 +296,8 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
298
296
  @input=${__privateGet(this, _handleComboboxChange)}
299
297
  @keydown=${__privateGet(this, _handleKeydown)}
300
298
  />
301
- <button
299
+ <terra-button
300
+ shape="square-left"
302
301
  aria-controls="listbox"
303
302
  aria-expanded=${this.isExpanded}
304
303
  aria-label="List of Searchable Items"
@@ -334,7 +333,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
334
333
  stroke-width="3"
335
334
  ></circle>
336
335
  </svg>`}
337
- </button>
336
+ </terra-button>
338
337
 
339
338
  ${this.hideHelp ? nothing : html`<p class="search-help">
340
339
  See
@@ -0,0 +1,125 @@
1
+ // src/components/time-series/time-series.styles.ts
2
+ import { css } from "lit";
3
+ var time_series_styles_default = css`
4
+ :host {
5
+ display: grid;
6
+ gap: 1.5rem 0.75rem;
7
+ grid-template-rows: auto;
8
+ grid-template-columns: 1fr 1fr;
9
+ }
10
+
11
+ terra-variable-combobox {
12
+ grid-column: 1 / 2;
13
+ }
14
+
15
+ terra-spatial-picker {
16
+ grid-column: 2 / 3;
17
+ }
18
+
19
+ .plot-container {
20
+ grid-column: 1 / 3;
21
+ }
22
+
23
+ .spacer {
24
+ padding-block: 1.375rem;
25
+ }
26
+
27
+ header {
28
+ display: flex;
29
+ flex-wrap: wrap;
30
+ justify-content: space-between;
31
+ }
32
+
33
+ .title {
34
+ margin: 0;
35
+ font-size: 1.25rem;
36
+ }
37
+
38
+ .toggles {
39
+ display: flex;
40
+ justify-content: space-between;
41
+ gap: 0 1em;
42
+ }
43
+
44
+ .toggle {
45
+ position: relative;
46
+ }
47
+
48
+ .toggle[aria-expanded='true']::after {
49
+ background-color: var(--terra-color-nasa-blue);
50
+ block-size: 0.125em;
51
+ border-radius: 0.25em;
52
+ bottom: -0.5em;
53
+ content: ' ';
54
+ inline-size: 100%;
55
+ left: 0;
56
+ position: absolute;
57
+ }
58
+
59
+ menu {
60
+ margin: 0;
61
+ max-height: 0;
62
+ overscroll-behavior: contain;
63
+ padding-block: 0.25em;
64
+ padding-inline: 0.5em;
65
+ transition: max-height 0.1s ease-in;
66
+ }
67
+
68
+ menu[data-expanded='true'] {
69
+ margin-block: 0.75em;
70
+ max-height: 85dvh;
71
+ overflow-y: auto;
72
+ }
73
+
74
+ menu [role='menuitem'] {
75
+ display: flex;
76
+ flex-wrap: wrap;
77
+ gap: 0em 1em;
78
+ list-style: none;
79
+ margin: 0;
80
+ padding: 0;
81
+ }
82
+
83
+ [role='menuitem'] p {
84
+ flex: 1 0 100%;
85
+ }
86
+
87
+ menu dt {
88
+ font-weight: var(--terra-font-weight-semibold);
89
+ }
90
+
91
+ menu dd {
92
+ font-style: italic;
93
+ }
94
+
95
+ terra-date-range-slider {
96
+ grid-column: 1 / 3;
97
+ padding-block-start: 2rem;
98
+ }
99
+
100
+ /* The current Giovanni API doesn't accept bounding box subsetting. */
101
+ terra-spatial-picker::part(leaflet-bbox),
102
+ terra-spatial-picker::part(leaflet-edit) {
103
+ display: none;
104
+ }
105
+
106
+ /* Set the plot title to transparent, which makes it not visible on the page but visible on download. */
107
+ terra-plot::part(plot-title) {
108
+ opacity: 0;
109
+ }
110
+
111
+ dialog {
112
+ opacity: 1;
113
+ transition: opacity 0.3s ease-out 0.4s; /* a short delay, to allow local results to be displayed without a loading icon */
114
+ place-self: center;
115
+ z-index: var(--terra-z-index-dialog);
116
+
117
+ @starting-style {
118
+ opacity: 0;
119
+ }
120
+ }
121
+ `;
122
+
123
+ export {
124
+ time_series_styles_default
125
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraCombobox
3
- } from "./chunk.C5OZDL3F.js";
3
+ } from "./chunk.F7HR6Y7D.js";
4
4
 
5
5
  // src/react/combobox/index.ts
6
6
  import * as React from "react";
@@ -18,6 +18,18 @@ var __spreadValues = (a, b) => {
18
18
  return a;
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
21
33
  var __decorateClass = (decorators, target, key, kind) => {
22
34
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
23
35
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
@@ -53,6 +65,7 @@ var __privateMethod = (obj, member, method) => {
53
65
  export {
54
66
  __spreadValues,
55
67
  __spreadProps,
68
+ __objRest,
56
69
  __decorateClass,
57
70
  __privateGet,
58
71
  __privateAdd,
@@ -0,0 +1,52 @@
1
+ // src/components/map/map.styles.ts
2
+ import { css } from "lit";
3
+ var map_styles_default = css`
4
+ :host {
5
+ display: block;
6
+ padding: 16px;
7
+ background: var(--terra-map-background-color);
8
+ border: 1px solid var(--terra-map-border-color);
9
+ }
10
+
11
+ .map {
12
+ aspect-ratio: 4 / 3;
13
+ border: solid 1px var(--terra-map-border-color);
14
+ }
15
+
16
+ .leaflet-mouse-position-container {
17
+ color: var(--terra-input-color);
18
+ padding: 5px;
19
+ background-color: var(--terra-input-background-color);
20
+ }
21
+
22
+ .leaflet-mouse-position-text {
23
+ margin: 0;
24
+ font-weight: 700;
25
+ }
26
+
27
+ .form-control {
28
+ display: block;
29
+ width: 100%;
30
+ height: 36px;
31
+ padding: 6px 12px;
32
+ background-image: none;
33
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
34
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
35
+ -webkit-transition:
36
+ border-color ease-in-out 0.15s,
37
+ box-shadow ease-in-out 0.15s;
38
+ transition:
39
+ border-color ease-in-out 0.15s,
40
+ box-shadow ease-in-out 0.15s;
41
+ }
42
+
43
+ .map__select {
44
+ width: 100%;
45
+ box-shadow: none;
46
+ margin-bottom: 1rem;
47
+ }
48
+ `;
49
+
50
+ export {
51
+ map_styles_default
52
+ };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  FormControlController,
3
3
  validValidityState
4
- } from "./chunk.NYBJ252W.js";
5
- import {
6
- button_styles_default
7
- } from "./chunk.SHS42OAD.js";
4
+ } from "./chunk.VN4FDFT7.js";
8
5
  import {
9
6
  watch
10
- } from "./chunk.ZK7QVWBI.js";
7
+ } from "./chunk.Y6OL24QM.js";
8
+ import {
9
+ button_styles_default
10
+ } from "./chunk.APJOA6RL.js";
11
11
  import {
12
12
  TerraElement,
13
13
  component_styles_default
14
- } from "./chunk.RFKXBNLY.js";
14
+ } from "./chunk.KXP54RWR.js";
15
15
  import {
16
16
  __decorateClass
17
- } from "./chunk.RYPAZDXE.js";
17
+ } from "./chunk.GKBF7QGR.js";
18
18
 
19
19
  // src/components/button/button.component.ts
20
20
  import { classMap } from "lit/directives/class-map.js";
@@ -84,13 +84,12 @@ var TerraButton = class extends TerraElement {
84
84
  this.hasFocus = false;
85
85
  this.invalid = false;
86
86
  this.title = "";
87
- this.variant = "default";
87
+ this.variant = "primary";
88
88
  this.size = "medium";
89
89
  this.caret = false;
90
90
  this.disabled = false;
91
91
  this.loading = false;
92
92
  this.outline = false;
93
- this.pill = false;
94
93
  this.circle = false;
95
94
  this.type = "button";
96
95
  this.name = "";
@@ -186,6 +185,24 @@ var TerraButton = class extends TerraElement {
186
185
  this.formControlController.updateValidity();
187
186
  }
188
187
  }
188
+ setPageLinkIcon(href) {
189
+ const parsedUrl = new URL(href);
190
+ const linkDomain = parsedUrl.hostname;
191
+ const hostDomain = globalThis.location.hostname;
192
+ return linkDomain === hostDomain ? "outline-arrow-right" : "outline-arrow-up-right";
193
+ }
194
+ setFontSize(size) {
195
+ switch (size) {
196
+ case "small":
197
+ return ".8rem";
198
+ case "medium":
199
+ return "1.2rem";
200
+ case "large":
201
+ return "1.5rem";
202
+ default:
203
+ return "1.5rem";
204
+ }
205
+ }
189
206
  render() {
190
207
  const isLink = this.isLink();
191
208
  const tag = isLink ? literal`a` : literal`button`;
@@ -197,21 +214,23 @@ var TerraButton = class extends TerraElement {
197
214
  "button--default": this.variant === "default",
198
215
  "button--primary": this.variant === "primary",
199
216
  "button--success": this.variant === "success",
200
- "button--neutral": this.variant === "neutral",
201
217
  "button--warning": this.variant === "warning",
202
218
  "button--danger": this.variant === "danger",
203
219
  "button--text": this.variant === "text",
220
+ "button--pagelink": this.variant === "pagelink",
204
221
  "button--small": this.size === "small",
205
222
  "button--medium": this.size === "medium",
206
223
  "button--large": this.size === "large",
207
224
  "button--caret": this.caret,
225
+ "button--square-left": this.shape === "square-left",
226
+ "button--square": this.shape === "square",
227
+ "button--square-right": this.shape === "square-right",
208
228
  "button--circle": this.circle,
209
229
  "button--disabled": this.disabled,
210
230
  "button--focused": this.hasFocus,
211
231
  "button--loading": this.loading,
212
232
  "button--standard": !this.outline,
213
233
  "button--outline": this.outline,
214
- "button--pill": this.pill,
215
234
  "button--has-label": this.hasSlotController.test("[default]"),
216
235
  "button--has-prefix": this.hasSlotController.test("prefix"),
217
236
  "button--has-suffix": this.hasSlotController.test("suffix")
@@ -235,7 +254,17 @@ var TerraButton = class extends TerraElement {
235
254
  >
236
255
  <slot name="prefix" part="prefix" class="button__prefix"></slot>
237
256
  <slot part="label" class="button__label"></slot>
238
- <slot name="suffix" part="suffix" class="button__suffix"></slot>
257
+ <slot name="suffix" part="suffix" class="button__suffix">
258
+ ${this.variant == "pagelink" ? html`
259
+ <span>
260
+ <terra-icon
261
+ name=${this.setPageLinkIcon(this.href)}
262
+ library="heroicons"
263
+ font-size=${this.setFontSize(this.size)}
264
+ ></terra-icon>
265
+ </span>
266
+ ` : ``}
267
+ </slot>
239
268
  </${tag}>
240
269
  `;
241
270
  }
@@ -262,6 +291,9 @@ __decorateClass([
262
291
  __decorateClass([
263
292
  property({ type: Boolean, reflect: true })
264
293
  ], TerraButton.prototype, "caret", 2);
294
+ __decorateClass([
295
+ property({ reflect: true })
296
+ ], TerraButton.prototype, "shape", 2);
265
297
  __decorateClass([
266
298
  property({ type: Boolean, reflect: true })
267
299
  ], TerraButton.prototype, "disabled", 2);
@@ -271,9 +303,6 @@ __decorateClass([
271
303
  __decorateClass([
272
304
  property({ type: Boolean, reflect: true })
273
305
  ], TerraButton.prototype, "outline", 2);
274
- __decorateClass([
275
- property({ type: Boolean, reflect: true })
276
- ], TerraButton.prototype, "pill", 2);
277
306
  __decorateClass([
278
307
  property({ type: Boolean, reflect: true })
279
308
  ], TerraButton.prototype, "circle", 2);
@@ -1,20 +1,20 @@
1
+ import {
2
+ spatial_picker_styles_default
3
+ } from "./chunk.QEMJLGM4.js";
1
4
  import {
2
5
  TerraMap
3
- } from "./chunk.XIRKMIAU.js";
6
+ } from "./chunk.4QQMSQRA.js";
4
7
  import {
5
8
  StringifyBoundingBox,
6
9
  parseBoundingBox
7
- } from "./chunk.3ZGFXEAJ.js";
8
- import {
9
- spatial_picker_styles_default
10
- } from "./chunk.ZCNMYQP2.js";
10
+ } from "./chunk.EDWXEF4C.js";
11
11
  import {
12
12
  TerraElement,
13
13
  component_styles_default
14
- } from "./chunk.RFKXBNLY.js";
14
+ } from "./chunk.KXP54RWR.js";
15
15
  import {
16
16
  __decorateClass
17
- } from "./chunk.RYPAZDXE.js";
17
+ } from "./chunk.GKBF7QGR.js";
18
18
 
19
19
  // src/components/spatial-picker/spatial-picker.component.ts
20
20
  import { html, nothing } from "lit";
@@ -104,10 +104,8 @@ var TerraSpatialPicker = class extends TerraElement {
104
104
  aria-expanded=${this.isExpanded}
105
105
  @blur=${this._blur}
106
106
  />
107
- <button
108
- aria-controls="map"
109
- aria-expanded=${this.isExpanded}
110
- aria-label="Spatial picker map"
107
+ <terra-button
108
+ shape="square-left"
111
109
  class="spatial-picker__input_icon_button"
112
110
  @click=${this._click}
113
111
  type="button"
@@ -126,7 +124,7 @@ var TerraSpatialPicker = class extends TerraElement {
126
124
  d="M9 6.75V15m6-6v8.25m.503 3.498 4.875-2.437c.381-.19.622-.58.622-1.006V4.82c0-.836-.88-1.38-1.628-1.006l-3.869 1.934c-.317.159-.69.159-1.006 0L9.503 3.252a1.125 1.125 0 0 0-1.006 0L3.622 5.689C3.24 5.88 3 6.27 3 6.695V19.18c0 .836.88 1.38 1.628 1.006l3.869-1.934c.317-.159.69-.159 1.006 0l4.994 2.497c.317.158.69.158 1.006 0Z"
127
125
  />
128
126
  </svg>
129
- </button>
127
+ </terra-button>
130
128
  </div>
131
129
  ${this.isExpanded ? this.renderMap() : nothing}
132
130
  </div>
@@ -0,0 +1,120 @@
1
+ import {
2
+ loader_styles_default
3
+ } from "./chunk.7OKJDEHN.js";
4
+ import {
5
+ TerraElement,
6
+ component_styles_default
7
+ } from "./chunk.KXP54RWR.js";
8
+ import {
9
+ __decorateClass
10
+ } from "./chunk.GKBF7QGR.js";
11
+
12
+ // src/components/loader/loader.component.ts
13
+ import { property, state } from "lit/decorators.js";
14
+ import { html, nothing } from "lit";
15
+ import { classMap } from "lit/directives/class-map.js";
16
+ var TerraLoader = class extends TerraElement {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.variant = "large";
20
+ this.percent = "0";
21
+ this.indeterminate = false;
22
+ this._currentPercent = 0;
23
+ }
24
+ formatPercent(percent) {
25
+ if (parseInt(percent) > 100) {
26
+ percent = "100";
27
+ }
28
+ return parseInt(percent) > 0 ? percent + "%" : "";
29
+ }
30
+ render() {
31
+ this._currentPercent = parseInt(this.percent);
32
+ return html`
33
+ <div
34
+ class=${classMap({
35
+ loader: true,
36
+ "loader--small": this.variant === "small",
37
+ "loader--large": this.variant === "large",
38
+ "loader--orbit": this.variant === "orbit"
39
+ })}
40
+ aria-valuenow=${this.formatPercent(this.percent)}
41
+ role="progressbar"
42
+ tabindex="-1"
43
+ >
44
+ ${this.variant === "large" || this.variant === "orbit" ? html`
45
+ <div
46
+ class="percent ${this.variant == "orbit" ? "number-14" : "number-11"}"
47
+ >
48
+ ${this.formatPercent(this.percent)}
49
+ </div>
50
+ ` : nothing}
51
+ ${this.variant === "orbit" ? html`
52
+ <svg viewBox="0 0 160 160">
53
+ <circle class="planet" />
54
+
55
+ <!-- total length of orbit ellipse = 298.2393493652344 -->
56
+ <path
57
+ id="orbit"
58
+ d="M 53.528 96.775 C 73.584 124.975 100.654 140.601 115.393 130.137 C 132.613 117.912 119.246 79.55 105.434 60.525 C 90.233 39.587 60.506 18.543 44.962 30.114 C 29.456 41.657 38.219 75.25 53.528 96.775 Z"
59
+ >
60
+ <animate
61
+ attributeName="stroke-dashoffset"
62
+ begin="-0.25s"
63
+ from="300"
64
+ to="0"
65
+ dur="1.5s"
66
+ repeatCount="indefinite"
67
+ />
68
+ </path>
69
+
70
+ <circle class="moon">
71
+ <animateMotion
72
+ begin="0s"
73
+ dur="1.5s"
74
+ repeatCount="indefinite"
75
+ >
76
+ <mpath href="#orbit"></mpath>
77
+ </animateMotion>
78
+ </circle>
79
+
80
+ <path
81
+ id="mask"
82
+ class="planet"
83
+ d="M 130.176 80.041 C 130.176 41.552 88.321 17.697 55.544 36.652 C 40.081 45.594 30.865 62.428 30.47 80.094 L 130.176 80.041 Z"
84
+ style="transform-box: fill-box; transform-origin: 49.8347% 100.62%;"
85
+ transform="matrix(-0.350367, -0.936613, 0.936613, -0.350367, -0.148117, -0.20884)"
86
+ />
87
+ </svg>
88
+ ` : nothing}
89
+ ${this.variant === "small" || this.variant === "large" ? html`
90
+ <svg
91
+ viewBox=${this.variant == "small" ? "0 0 30 30" : "0 0 52 52"}
92
+ aria-hidden="true"
93
+ style="--progress: ${this.percent}"
94
+ class="circular-progress ${this.indeterminate ? "indeterminate" : ""}"
95
+ >
96
+ <circle class="bg"></circle>
97
+ <circle class="fg"></circle>
98
+ </svg>
99
+ ` : nothing}
100
+ </div>
101
+ `;
102
+ }
103
+ };
104
+ TerraLoader.styles = [component_styles_default, loader_styles_default];
105
+ __decorateClass([
106
+ property({ reflect: true })
107
+ ], TerraLoader.prototype, "variant", 2);
108
+ __decorateClass([
109
+ property({ type: String })
110
+ ], TerraLoader.prototype, "percent", 2);
111
+ __decorateClass([
112
+ property({ type: Boolean })
113
+ ], TerraLoader.prototype, "indeterminate", 2);
114
+ __decorateClass([
115
+ state()
116
+ ], TerraLoader.prototype, "_currentPercent", 2);
117
+
118
+ export {
119
+ TerraLoader
120
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraChip
3
- } from "./chunk.6TP5NQZR.js";
3
+ } from "./chunk.YOP35UJX.js";
4
4
 
5
5
  // src/react/chip/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableCombobox
3
- } from "./chunk.2BF5ZHP6.js";
3
+ } from "./chunk.TBPEGRZ2.js";
4
4
 
5
5
  // src/components/variable-combobox/variable-combobox.ts
6
6
  var variable_combobox_default = TerraVariableCombobox;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSpatialPicker
3
- } from "./chunk.UBYAPUL3.js";
3
+ } from "./chunk.HMNI5WGJ.js";
4
4
 
5
5
  // src/components/spatial-picker/spatial-picker.ts
6
6
  var spatial_picker_default = TerraSpatialPicker;