@nasa-terra/components 0.0.22 → 0.0.26

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 (259) hide show
  1. package/README.md +3 -1
  2. package/cdn/chunks/chunk.4P3HFU2W.js +11 -0
  3. package/cdn/chunks/{chunk.DGA3BVXS.js → chunk.4Y2XZHOW.js} +107 -1
  4. package/cdn/chunks/{chunk.L6BB7MK3.js → chunk.5YUWKJCI.js} +1 -1
  5. package/{dist/chunks/chunk.4DESQZNM.js → cdn/chunks/chunk.67YIRH3F.js} +1 -1
  6. package/cdn/chunks/{chunk.4ORHYGDJ.js → chunk.6J75BP7M.js} +9 -4
  7. package/cdn/chunks/{chunk.EQCY7O7N.js → chunk.6YL7VVDD.js} +1 -1
  8. package/cdn/chunks/{chunk.LNV3ILYM.js → chunk.7PZBUHYR.js} +4 -4
  9. package/cdn/chunks/{chunk.5N5OY526.js → chunk.7TA5PWO7.js} +1 -1
  10. package/cdn/chunks/{chunk.3RKSRYRX.js → chunk.A3E2LIAV.js} +1 -1
  11. package/cdn/chunks/{chunk.TPEIHI5D.js → chunk.BOGJSWIT.js} +1 -1
  12. package/cdn/chunks/{chunk.OEKWCA2Y.js → chunk.BTRRDJYE.js} +10 -10
  13. package/cdn/chunks/chunk.C5FGIZP6.js +92 -0
  14. package/cdn/chunks/{chunk.FKOY3ZZ5.js → chunk.DBZQEOZ6.js} +62 -34
  15. package/cdn/chunks/{chunk.L6DGDWB3.js → chunk.EAQZEXSN.js} +1 -1
  16. package/cdn/chunks/{chunk.USZP36DV.js → chunk.ESFWCSLU.js} +1 -1
  17. package/cdn/chunks/chunk.FAICFDGD.js +58 -0
  18. package/cdn/chunks/{chunk.3SFJTHCH.js → chunk.FPDMMBW3.js} +1 -1
  19. package/cdn/chunks/{chunk.EO2IAYJU.js → chunk.G6BCFX7H.js} +6 -6
  20. package/{dist/chunks/chunk.DERBQK6T.js → cdn/chunks/chunk.GEK7UUOR.js} +1 -1
  21. package/{dist/chunks/chunk.C2PG6ISW.js → cdn/chunks/chunk.GQ7DLRBI.js} +1 -1
  22. package/cdn/chunks/{chunk.KBE5VCT6.js → chunk.GT24H4QB.js} +69 -69
  23. package/cdn/chunks/{chunk.WHBKIAKJ.js → chunk.H7QEWEBY.js} +1 -1
  24. package/{dist/chunks/chunk.6CV5LRWT.js → cdn/chunks/chunk.HRFPL7LF.js} +1 -1
  25. package/cdn/chunks/{chunk.XQMZE5MO.js → chunk.HRKAFTTC.js} +1 -1
  26. package/cdn/chunks/{chunk.LNDLBACZ.js → chunk.IJC2FL2T.js} +1 -1
  27. package/cdn/chunks/chunk.JK46F3H5.js +25 -0
  28. package/{dist/chunks/chunk.2SL6F4LA.js → cdn/chunks/chunk.JOEFLMNA.js} +1 -1
  29. package/cdn/chunks/{chunk.PXHSBAIF.js → chunk.K5J4AMTL.js} +1 -1
  30. package/cdn/chunks/{chunk.RVSVDCN3.js → chunk.L5JOHXYO.js} +1 -1
  31. package/{dist/chunks/chunk.UYSQLR3U.js → cdn/chunks/chunk.M23LLNBH.js} +1 -1
  32. package/cdn/chunks/{chunk.YYMFMZT3.js → chunk.MNJC4JAE.js} +4 -4
  33. package/cdn/chunks/{chunk.5EHEQAM7.js → chunk.NLGYM5TP.js} +50 -2
  34. package/{dist/chunks/chunk.NMHURT2C.js → cdn/chunks/chunk.O573SJZ2.js} +1 -1
  35. package/cdn/chunks/{chunk.IB5UBLFZ.js → chunk.OCW3MYR2.js} +1 -1
  36. package/cdn/chunks/{chunk.QWJOXAWS.js → chunk.P2F6DDWJ.js} +1 -1
  37. package/{dist/chunks/chunk.6KDMGROE.js → cdn/chunks/chunk.PEK237NB.js} +1 -1
  38. package/cdn/chunks/{chunk.H4Y3AWUH.js → chunk.PLNSRGRU.js} +139 -42
  39. package/cdn/chunks/{chunk.5FZY6SGS.js → chunk.POKHGMEN.js} +8 -0
  40. package/cdn/chunks/{chunk.VGQZMFBB.js → chunk.Q5HMW6TJ.js} +1 -1
  41. package/{dist/chunks/chunk.U6TFTVJY.js → cdn/chunks/chunk.R6TKKO7W.js} +1 -1
  42. package/cdn/chunks/{chunk.XYEDCDNJ.js → chunk.RFS2YAFQ.js} +1 -1
  43. package/cdn/chunks/{chunk.7TNBSUXI.js → chunk.TCP35LGY.js} +14 -14
  44. package/cdn/chunks/{chunk.KNH5FQ7R.js → chunk.TLIHKASV.js} +1 -1
  45. package/{dist/chunks/chunk.GRF7UN4X.js → cdn/chunks/chunk.U35LI4FR.js} +1 -1
  46. package/cdn/chunks/{chunk.5TW7PNNI.js → chunk.V2OTUB7Z.js} +7 -7
  47. package/{dist/chunks/chunk.6NGUCHV6.js → cdn/chunks/chunk.V4LDLIEP.js} +1 -1
  48. package/cdn/chunks/{chunk.BZN62NM6.js → chunk.V5GY4VGG.js} +1 -1
  49. package/cdn/chunks/{chunk.IWI6VWR2.js → chunk.VOHHSPSQ.js} +1 -1
  50. package/cdn/chunks/{chunk.D7RUNWOI.js → chunk.WGDILZM6.js} +11 -4
  51. package/cdn/chunks/{chunk.JKLJ76MZ.js → chunk.XC2AJXDM.js} +1 -1
  52. package/{dist/chunks/chunk.LSKWODII.js → cdn/chunks/chunk.XCU6YMPU.js} +1 -1
  53. package/cdn/chunks/{chunk.B4ITXETB.js → chunk.XG57XCVO.js} +1 -1
  54. package/cdn/chunks/{chunk.TGWEWP5F.js → chunk.ZUDEKNN6.js} +1 -1
  55. package/cdn/chunks/{chunk.XEVKOU4V.js → chunk.ZWMWIUFF.js} +1 -1
  56. package/cdn/components/browse-variables/browse-variables.component.d.ts +4 -4
  57. package/cdn/components/browse-variables/browse-variables.component.js +15 -15
  58. package/cdn/components/browse-variables/browse-variables.js +16 -16
  59. package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
  60. package/cdn/components/button/button.component.d.ts +7 -0
  61. package/cdn/components/button/button.component.js +3 -3
  62. package/cdn/components/button/button.js +4 -4
  63. package/cdn/components/chip/chip.component.js +2 -2
  64. package/cdn/components/chip/chip.js +3 -3
  65. package/cdn/components/combobox/combobox.component.js +5 -5
  66. package/cdn/components/combobox/combobox.js +6 -6
  67. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  68. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  69. package/cdn/components/dialog/dialog.component.d.ts +32 -0
  70. package/cdn/components/dialog/dialog.component.js +12 -0
  71. package/cdn/components/dialog/dialog.d.ts +8 -0
  72. package/cdn/components/dialog/dialog.js +13 -0
  73. package/cdn/components/dialog/dialog.styles.d.ts +2 -0
  74. package/cdn/components/dialog/dialog.styles.js +9 -0
  75. package/cdn/components/giovanni-search/giovanni-search.component.js +10 -10
  76. package/cdn/components/giovanni-search/giovanni-search.js +11 -11
  77. package/cdn/components/giovanni-search/giovanni-search.styles.js +1 -1
  78. package/cdn/components/icon/icon.component.js +2 -2
  79. package/cdn/components/icon/icon.js +3 -3
  80. package/cdn/components/loader/loader.component.js +2 -2
  81. package/cdn/components/loader/loader.js +3 -3
  82. package/cdn/components/login/login.component.js +9 -9
  83. package/cdn/components/login/login.js +10 -10
  84. package/cdn/components/map/map.component.js +3 -3
  85. package/cdn/components/map/map.js +4 -4
  86. package/cdn/components/plot/plot.component.js +2 -2
  87. package/cdn/components/plot/plot.js +3 -3
  88. package/cdn/components/skeleton/skeleton.component.js +4 -4
  89. package/cdn/components/skeleton/skeleton.js +5 -5
  90. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +6 -1
  91. package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
  92. package/cdn/components/spatial-picker/spatial-picker.js +6 -6
  93. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  94. package/cdn/components/time-series/time-series.component.js +21 -21
  95. package/cdn/components/time-series/time-series.js +22 -22
  96. package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
  97. package/cdn/components/variable-combobox/variable-combobox.js +10 -10
  98. package/cdn/custom-elements.json +959 -716
  99. package/cdn/events/events.d.ts +5 -1
  100. package/cdn/events/terra-dialog-hide.d.ts +9 -0
  101. package/cdn/events/terra-dialog-show.d.ts +9 -0
  102. package/cdn/events/terra-hide.d.ts +6 -0
  103. package/cdn/events/terra-map-change.d.ts +2 -2
  104. package/cdn/events/terra-show.d.ts +6 -0
  105. package/cdn/react/browse-variables/index.js +16 -16
  106. package/cdn/react/button/index.js +4 -4
  107. package/cdn/react/chip/index.js +3 -3
  108. package/cdn/react/combobox/index.js +6 -6
  109. package/cdn/react/date-range-slider/index.js +4 -4
  110. package/cdn/react/dialog/index.d.ts +22 -0
  111. package/cdn/react/dialog/index.js +13 -0
  112. package/cdn/react/giovanni-search/index.js +11 -11
  113. package/cdn/react/icon/index.js +3 -3
  114. package/cdn/react/index.d.ts +5 -4
  115. package/cdn/react/index.js +73 -67
  116. package/cdn/react/loader/index.js +3 -3
  117. package/cdn/react/login/index.js +10 -10
  118. package/cdn/react/map/index.js +4 -4
  119. package/cdn/react/plot/index.js +3 -3
  120. package/cdn/react/skeleton/index.js +5 -5
  121. package/cdn/react/spatial-picker/index.js +6 -6
  122. package/cdn/react/time-series/index.js +22 -22
  123. package/cdn/react/variable-combobox/index.js +10 -10
  124. package/cdn/terra-ui-components.d.ts +1 -0
  125. package/cdn/terra-ui-components.js +68 -62
  126. package/cdn/types/vue/index.d.ts +116 -75
  127. package/cdn/utilities/animation.js +2 -2
  128. package/cdn/vscode.html-custom-data.json +154 -102
  129. package/cdn/web-types.json +230 -118
  130. package/dist/chunks/{chunk.TSBHINB7.js → chunk.2O33NVOZ.js} +1 -1
  131. package/{cdn/chunks/chunk.DQDRJ235.js → dist/chunks/chunk.2RJWA6A5.js} +1 -1
  132. package/{cdn/chunks/chunk.DVSIPUDL.js → dist/chunks/chunk.2X75ZZLQ.js} +1 -1
  133. package/dist/chunks/{chunk.N4FTQWAG.js → chunk.35BNTLUN.js} +1 -1
  134. package/{cdn/chunks/chunk.MZT2CCCJ.js → dist/chunks/chunk.37O2PHBO.js} +1 -1
  135. package/dist/chunks/{chunk.I3LVZPMJ.js → chunk.3VRBGLE2.js} +1 -1
  136. package/{cdn/chunks/chunk.CI7ZOZVP.js → dist/chunks/chunk.57W5VBEO.js} +1 -1
  137. package/dist/chunks/{chunk.CVSYR6JA.js → chunk.5A2NXDXH.js} +1 -1
  138. package/dist/chunks/{chunk.7A26N3RH.js → chunk.5DBTQCSS.js} +1 -1
  139. package/dist/chunks/{chunk.BZTK4B4T.js → chunk.6SZJNBMQ.js} +140 -43
  140. package/dist/chunks/{chunk.TRIB3GWK.js → chunk.A6MFFTZ4.js} +1 -1
  141. package/dist/chunks/{chunk.NYMYAGRE.js → chunk.AXVUNFLN.js} +1 -1
  142. package/dist/chunks/{chunk.QUXC4GKQ.js → chunk.B2K5RQP6.js} +4 -4
  143. package/dist/chunks/{chunk.NCLHN7PZ.js → chunk.B5HKOLNS.js} +1 -1
  144. package/dist/chunks/chunk.BB4IASWR.js +87 -0
  145. package/dist/chunks/{chunk.O45JPRG2.js → chunk.BO5W5LTB.js} +1 -1
  146. package/{cdn/chunks/chunk.T3HBQAZN.js → dist/chunks/chunk.CAMWZJYR.js} +1 -1
  147. package/dist/chunks/chunk.CCDDGUFW.js +55 -0
  148. package/dist/chunks/{chunk.RRP4GXUY.js → chunk.EIBEZPY7.js} +4 -4
  149. package/dist/chunks/{chunk.3RKRQHLE.js → chunk.GAC7ING2.js} +4 -4
  150. package/dist/chunks/{chunk.Y32VPWCE.js → chunk.GMT6YDPY.js} +1 -1
  151. package/dist/chunks/{chunk.5QR4MDEA.js → chunk.GUAQQMEX.js} +50 -2
  152. package/dist/chunks/{chunk.TD3FRE3Z.js → chunk.GYUNWNI5.js} +1 -1
  153. package/{cdn/chunks/chunk.HVG2NXDC.js → dist/chunks/chunk.H4GWKCFO.js} +1 -1
  154. package/dist/chunks/{chunk.HBQBLNRH.js → chunk.ICEKDMA2.js} +1 -1
  155. package/dist/chunks/{chunk.UQZLAUN2.js → chunk.IUJHXLVB.js} +1 -1
  156. package/dist/chunks/{chunk.VNCHHO6O.js → chunk.IZEUBMQD.js} +1 -1
  157. package/dist/chunks/{chunk.XKQY7HAE.js → chunk.J7IVLPJN.js} +1 -1
  158. package/dist/chunks/{chunk.I5YHYEZS.js → chunk.K3YKIOJT.js} +1 -1
  159. package/dist/chunks/{chunk.CNUQQWCR.js → chunk.KJQZP5RO.js} +11 -4
  160. package/dist/chunks/{chunk.QAO52BZN.js → chunk.MDEB64TY.js} +1 -1
  161. package/{cdn/chunks/chunk.XDPPVZ6M.js → dist/chunks/chunk.N6A7YKMO.js} +1 -1
  162. package/dist/chunks/{chunk.QEMJLGM4.js → chunk.N7J6PIAG.js} +8 -0
  163. package/dist/chunks/{chunk.MP6XDKPH.js → chunk.P7IYYL6V.js} +1 -1
  164. package/dist/chunks/{chunk.WS5OME5Z.js → chunk.P7XJGRLR.js} +1 -1
  165. package/dist/chunks/{chunk.RUHWAVGE.js → chunk.PYOU5GNJ.js} +1 -1
  166. package/{cdn/chunks/chunk.KKOKMYMG.js → dist/chunks/chunk.Q7ULZ54S.js} +1 -1
  167. package/{cdn/chunks/chunk.XTZIZ32W.js → dist/chunks/chunk.RVEGAWIA.js} +1 -1
  168. package/dist/chunks/{chunk.U5XISCRK.js → chunk.SEHDRBMF.js} +6 -6
  169. package/dist/chunks/chunk.SZAFOVHD.js +11 -0
  170. package/dist/chunks/{chunk.EHC5HRA2.js → chunk.TEDHW6IL.js} +1 -1
  171. package/{cdn/chunks/chunk.DHWVJTDG.js → dist/chunks/chunk.TUDFCBZS.js} +1 -1
  172. package/dist/chunks/{chunk.ZNADJBRC.js → chunk.UWXRT3ND.js} +1 -1
  173. package/{cdn/chunks/chunk.FQNC4JXC.js → dist/chunks/chunk.VBXSUGD5.js} +1 -1
  174. package/dist/chunks/{chunk.KRC2UHMC.js → chunk.VPKY57X5.js} +1 -1
  175. package/dist/chunks/{chunk.YL2ETAOO.js → chunk.VVDSM7KF.js} +107 -1
  176. package/{cdn/chunks/chunk.FTKD3KTH.js → dist/chunks/chunk.WXSIO4M2.js} +1 -1
  177. package/dist/chunks/chunk.X2Z2VINK.js +25 -0
  178. package/dist/chunks/{chunk.EVRLGQVQ.js → chunk.XL3L3MUX.js} +1 -1
  179. package/dist/chunks/{chunk.XFT4IN53.js → chunk.XYXKKZTD.js} +9 -4
  180. package/dist/chunks/{chunk.3RDRMGYO.js → chunk.YCV4LGKI.js} +58 -31
  181. package/dist/chunks/{chunk.HNU6ZMU5.js → chunk.Z3UHCKI6.js} +1 -1
  182. package/dist/chunks/{chunk.EJTMQRLB.js → chunk.ZQ3NM75L.js} +12 -12
  183. package/dist/components/browse-variables/browse-variables.component.d.ts +4 -4
  184. package/dist/components/browse-variables/browse-variables.component.js +12 -12
  185. package/dist/components/browse-variables/browse-variables.js +13 -13
  186. package/dist/components/browse-variables/browse-variables.styles.js +1 -1
  187. package/dist/components/button/button.component.d.ts +7 -0
  188. package/dist/components/button/button.component.js +2 -2
  189. package/dist/components/button/button.js +3 -3
  190. package/dist/components/chip/chip.component.js +2 -2
  191. package/dist/components/chip/chip.js +3 -3
  192. package/dist/components/combobox/combobox.component.js +3 -3
  193. package/dist/components/combobox/combobox.js +4 -4
  194. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  195. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  196. package/dist/components/dialog/dialog.component.d.ts +32 -0
  197. package/dist/components/dialog/dialog.component.js +9 -0
  198. package/dist/components/dialog/dialog.d.ts +8 -0
  199. package/dist/components/dialog/dialog.js +10 -0
  200. package/dist/components/dialog/dialog.styles.d.ts +2 -0
  201. package/dist/components/dialog/dialog.styles.js +7 -0
  202. package/dist/components/giovanni-search/giovanni-search.component.js +8 -8
  203. package/dist/components/giovanni-search/giovanni-search.js +9 -9
  204. package/dist/components/giovanni-search/giovanni-search.styles.js +1 -1
  205. package/dist/components/icon/icon.component.js +2 -2
  206. package/dist/components/icon/icon.js +3 -3
  207. package/dist/components/loader/loader.component.js +2 -2
  208. package/dist/components/loader/loader.js +3 -3
  209. package/dist/components/login/login.component.js +8 -8
  210. package/dist/components/login/login.js +9 -9
  211. package/dist/components/map/map.component.js +2 -2
  212. package/dist/components/map/map.js +3 -3
  213. package/dist/components/plot/plot.component.js +2 -2
  214. package/dist/components/plot/plot.js +3 -3
  215. package/dist/components/skeleton/skeleton.component.js +2 -2
  216. package/dist/components/skeleton/skeleton.js +3 -3
  217. package/dist/components/spatial-picker/spatial-picker.component.d.ts +6 -1
  218. package/dist/components/spatial-picker/spatial-picker.component.js +4 -4
  219. package/dist/components/spatial-picker/spatial-picker.js +5 -5
  220. package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
  221. package/dist/components/time-series/time-series.component.js +17 -17
  222. package/dist/components/time-series/time-series.js +18 -18
  223. package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
  224. package/dist/components/variable-combobox/variable-combobox.js +8 -8
  225. package/dist/custom-elements.json +959 -716
  226. package/dist/events/events.d.ts +5 -1
  227. package/dist/events/terra-dialog-hide.d.ts +9 -0
  228. package/dist/events/terra-dialog-show.d.ts +9 -0
  229. package/dist/events/terra-hide.d.ts +6 -0
  230. package/dist/events/terra-map-change.d.ts +2 -2
  231. package/dist/events/terra-show.d.ts +6 -0
  232. package/dist/react/browse-variables/index.js +13 -13
  233. package/dist/react/button/index.js +3 -3
  234. package/dist/react/chip/index.js +3 -3
  235. package/dist/react/combobox/index.js +4 -4
  236. package/dist/react/date-range-slider/index.js +4 -4
  237. package/dist/react/dialog/index.d.ts +22 -0
  238. package/dist/react/dialog/index.js +10 -0
  239. package/dist/react/giovanni-search/index.js +9 -9
  240. package/dist/react/icon/index.js +3 -3
  241. package/dist/react/index.d.ts +5 -4
  242. package/dist/react/index.js +68 -62
  243. package/dist/react/loader/index.js +3 -3
  244. package/dist/react/login/index.js +9 -9
  245. package/dist/react/map/index.js +3 -3
  246. package/dist/react/plot/index.js +3 -3
  247. package/dist/react/skeleton/index.js +3 -3
  248. package/dist/react/spatial-picker/index.js +5 -5
  249. package/dist/react/time-series/index.js +18 -18
  250. package/dist/react/variable-combobox/index.js +8 -8
  251. package/dist/terra-ui-components.d.ts +1 -0
  252. package/dist/terra-ui-components.js +62 -56
  253. package/dist/terra_ui_components-0.0.26-py3-none-any.whl +0 -0
  254. package/dist/{terra_ui_components-0.0.22.tar.gz → terra_ui_components-0.0.26.tar.gz} +0 -0
  255. package/dist/types/vue/index.d.ts +116 -75
  256. package/dist/vscode.html-custom-data.json +154 -102
  257. package/dist/web-types.json +230 -118
  258. package/package.json +2 -1
  259. package/dist/terra_ui_components-0.0.22-py3-none-any.whl +0 -0
package/README.md CHANGED
@@ -49,7 +49,9 @@ Then run the following:
49
49
  - `uv venv` - create a virtual environment (only have to do this the first time)
50
50
  - `source .venv/bin/activate` - activate it
51
51
  - `uv pip install -e ".[dev]"` - install dependencies (see pyproject.toml)
52
- - `./.venv/bin/jupyter lab` - spins up Jupyter lab and should open the browser for you
52
+ - `npm run start:python` - spins up Jupyter lab and should open the browser for you
53
+
54
+ For an example of how to use the components in a Jupyter Notebook, open the `/notebooks/playground.ipynb` notebook in Jupyter Lab.
53
55
 
54
56
  ### Publishing to NPM and PyPI
55
57
 
@@ -0,0 +1,11 @@
1
+ import {
2
+ TerraDialog
3
+ } from "./chunk.C5FGIZP6.js";
4
+
5
+ // src/components/dialog/dialog.ts
6
+ var dialog_default = TerraDialog;
7
+ TerraDialog.define("terra-dialog");
8
+
9
+ export {
10
+ dialog_default
11
+ };
@@ -82,10 +82,13 @@ var browse_variables_styles_default = i`
82
82
  }
83
83
 
84
84
  .browse-by-category ul {
85
- list-style: none;
86
85
  padding: 0;
87
86
  }
88
87
 
88
+ .browse-by-category ul ::marker {
89
+ font-size: 0; /*Safari removes the semantic meaning / role of the list if we remove the list style. */
90
+ }
91
+
89
92
  .browse-by-category li {
90
93
  border-radius: 4px;
91
94
  cursor: pointer;
@@ -130,6 +133,25 @@ var browse_variables_styles_default = i`
130
133
  grid-area: header;
131
134
  padding: 15px;
132
135
  padding-bottom: 0;
136
+ display: flex;
137
+ justify-content: space-between;
138
+ }
139
+
140
+ .variables-container header menu {
141
+ display: inline-flex;
142
+ padding: 0;
143
+ margin: 0;
144
+ min-width: 24em;
145
+ justify-content: space-evenly;
146
+ }
147
+
148
+ .variables-container header menu ::marker {
149
+ font-size: 0;
150
+ }
151
+
152
+ .list-menu-dropdown sl-button::part(base) {
153
+ border-color: transparent;
154
+ font-weight: 700;
133
155
  }
134
156
 
135
157
  .variables-container aside {
@@ -149,6 +171,90 @@ var browse_variables_styles_default = i`
149
171
  .facet {
150
172
  margin-left: 10px;
151
173
  }
174
+
175
+ .variable-list {
176
+ margin: 0;
177
+ padding: 0;
178
+ }
179
+
180
+ .variable-list-item {
181
+ }
182
+
183
+ .variable-list-item::marker {
184
+ font-size: 0;
185
+ }
186
+
187
+ .variable[open] .details-panel {
188
+ height: max-content;
189
+ }
190
+
191
+ .variable input[type='checkbox'] {
192
+ margin-block: 0.25em;
193
+ margin-inline: 0 0.5em;
194
+ }
195
+
196
+ .variable {
197
+ display: flex;
198
+ justify-content: space-between;
199
+ }
200
+
201
+ .variable label {
202
+ cursor: pointer;
203
+ display: block;
204
+ font-weight: 400;
205
+ }
206
+
207
+ .variable sl-drawer {
208
+ font-style: italic;
209
+ }
210
+
211
+ .variable sl-drawer::part(base) {
212
+ --body-spacing: 0.25em;
213
+ --header-spacing: 0.25em;
214
+ --footer-spacing: 1em 0;
215
+ }
216
+
217
+ .variable sl-drawer::part(header-actions) {
218
+ --header-spacing: 0.25em;
219
+
220
+ align-items: flex-start;
221
+ margin-block-start: 1em;
222
+ margin-inline-end: 0.5em;
223
+ }
224
+
225
+ .variable sl-drawer::part(close-button__base) {
226
+ --sl-focus-ring: var(--terra-focus-ring);
227
+ --sl-focus-ring-offset: var(--terra-focus-ring-offset);
228
+ }
229
+
230
+ .variable sl-drawer::part(panel) {
231
+ background-color: var(--terra-color-nasa-blue-shade);
232
+ border: 0.0625em solid var(--terra-color-carbon-10);
233
+ left: auto;
234
+ right: 0;
235
+ top: 4.25rem;
236
+ }
237
+
238
+ .variable sl-drawer::part(body) {
239
+ padding-block-end: 6em;
240
+ }
241
+
242
+ .variable sl-drawer > * {
243
+ margin-block-start: 0;
244
+ }
245
+
246
+ .variable sl-drawer h4 {
247
+ font-weight: 400;
248
+ }
249
+
250
+ .variable-details-button {
251
+ position: static;
252
+ }
253
+
254
+ .variable-details-button::part(base) {
255
+ border-color: transparent;
256
+ color: var(--spacesuit-white);
257
+ }
152
258
  `;
153
259
 
154
260
  export {
@@ -25,7 +25,7 @@ import {
25
25
  import {
26
26
  TerraElement,
27
27
  component_styles_default
28
- } from "./chunk.USZP36DV.js";
28
+ } from "./chunk.ESFWCSLU.js";
29
29
  import {
30
30
  e,
31
31
  n,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraChip
3
- } from "./chunk.NYMYAGRE.js";
3
+ } from "./chunk.7TA5PWO7.js";
4
4
 
5
5
  // src/react/chip/index.ts
6
6
  import * as React from "react";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  spatial_picker_styles_default
3
- } from "./chunk.5FZY6SGS.js";
3
+ } from "./chunk.POKHGMEN.js";
4
4
  import {
5
5
  TerraMap
6
- } from "./chunk.L6BB7MK3.js";
6
+ } from "./chunk.5YUWKJCI.js";
7
7
  import {
8
8
  StringifyBoundingBox,
9
9
  parseBoundingBox
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  TerraElement,
13
13
  component_styles_default
14
- } from "./chunk.USZP36DV.js";
14
+ } from "./chunk.ESFWCSLU.js";
15
15
  import {
16
16
  e,
17
17
  n,
@@ -39,6 +39,7 @@ var TerraSpatialPicker = class extends TerraElement {
39
39
  this.hideLabel = false;
40
40
  this.label = "Select Region";
41
41
  this.isExpanded = false;
42
+ this.inline = false;
42
43
  }
43
44
  _blur(e2) {
44
45
  const inputValue = e2.target.value;
@@ -80,6 +81,7 @@ var TerraSpatialPicker = class extends TerraElement {
80
81
  }
81
82
  renderMap() {
82
83
  return x`<terra-map
84
+ class="${this.inline ? "inline" : ""}"
83
85
  exportparts="map, leaflet-bbox, leaflet-point, leaflet-edit, leaflet-remove"
84
86
  min-zoom=${this.minZoom}
85
87
  max-zoom=${this.maxZoom}
@@ -170,8 +172,11 @@ __decorateClass([
170
172
  n()
171
173
  ], TerraSpatialPicker.prototype, "label", 2);
172
174
  __decorateClass([
173
- r()
175
+ n({ attribute: "is-expanded", type: Boolean, reflect: true })
174
176
  ], TerraSpatialPicker.prototype, "isExpanded", 2);
177
+ __decorateClass([
178
+ n({ type: Boolean })
179
+ ], TerraSpatialPicker.prototype, "inline", 2);
175
180
  __decorateClass([
176
181
  r()
177
182
  ], TerraSpatialPicker.prototype, "mapValue", 2);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraChip
3
- } from "./chunk.5N5OY526.js";
3
+ } from "./chunk.7TA5PWO7.js";
4
4
 
5
5
  // src/components/chip/chip.ts
6
6
  var chip_default = TerraChip;
@@ -4,19 +4,19 @@ import {
4
4
  import {
5
5
  format
6
6
  } from "./chunk.BPNFS4ED.js";
7
- import {
8
- date_range_slider_styles_default
9
- } from "./chunk.WTMN7OUL.js";
10
7
  import {
11
8
  mergeTooltips
12
9
  } from "./chunk.KW4TJM4C.js";
10
+ import {
11
+ date_range_slider_styles_default
12
+ } from "./chunk.WTMN7OUL.js";
13
13
  import {
14
14
  watch
15
15
  } from "./chunk.CBV7M6CJ.js";
16
16
  import {
17
17
  TerraElement,
18
18
  component_styles_default
19
- } from "./chunk.USZP36DV.js";
19
+ } from "./chunk.ESFWCSLU.js";
20
20
  import {
21
21
  e,
22
22
  n
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.USZP36DV.js";
10
+ } from "./chunk.ESFWCSLU.js";
11
11
  import {
12
12
  n
13
13
  } from "./chunk.QCK7PTWV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraIcon
3
- } from "./chunk.KNH5FQ7R.js";
3
+ } from "./chunk.TLIHKASV.js";
4
4
 
5
5
  // src/react/icon/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraGiovanniSearch
3
- } from "./chunk.FKOY3ZZ5.js";
3
+ } from "./chunk.DBZQEOZ6.js";
4
4
 
5
5
  // src/components/giovanni-search/giovanni-search.ts
6
6
  var giovanni_search_default = TerraGiovanniSearch;
@@ -1,9 +1,9 @@
1
- import {
2
- FetchController
3
- } from "./chunk.KRV3QC6E.js";
4
1
  import {
5
2
  variable_combobox_styles_default
6
3
  } from "./chunk.SWEK2UAG.js";
4
+ import {
5
+ FetchController
6
+ } from "./chunk.KRV3QC6E.js";
7
7
  import {
8
8
  clearSelection,
9
9
  groupDocsByCollection,
@@ -16,26 +16,26 @@ import {
16
16
  } from "./chunk.QB5SASDL.js";
17
17
  import {
18
18
  icon_default
19
- } from "./chunk.MZT2CCCJ.js";
20
- import {
21
- button_default
22
- } from "./chunk.L6DGDWB3.js";
19
+ } from "./chunk.U35LI4FR.js";
23
20
  import {
24
21
  Fuse
25
22
  } from "./chunk.U7L2FN7F.js";
23
+ import {
24
+ n as n2
25
+ } from "./chunk.2XCNCXGV.js";
26
26
  import {
27
27
  o
28
28
  } from "./chunk.QEA4QW6G.js";
29
29
  import {
30
- n as n2
31
- } from "./chunk.2XCNCXGV.js";
30
+ button_default
31
+ } from "./chunk.EAQZEXSN.js";
32
32
  import {
33
33
  watch
34
34
  } from "./chunk.CBV7M6CJ.js";
35
35
  import {
36
36
  TerraElement,
37
37
  component_styles_default
38
- } from "./chunk.USZP36DV.js";
38
+ } from "./chunk.ESFWCSLU.js";
39
39
  import {
40
40
  n,
41
41
  r
@@ -0,0 +1,92 @@
1
+ import {
2
+ dialog_styles_default
3
+ } from "./chunk.FAICFDGD.js";
4
+ import {
5
+ TerraElement,
6
+ component_styles_default
7
+ } from "./chunk.ESFWCSLU.js";
8
+ import {
9
+ e,
10
+ n
11
+ } from "./chunk.QCK7PTWV.js";
12
+ import {
13
+ x
14
+ } from "./chunk.PQFHJHNO.js";
15
+ import {
16
+ __decorateClass,
17
+ __privateAdd,
18
+ __privateMethod
19
+ } from "./chunk.MR27IH5Z.js";
20
+
21
+ // src/components/dialog/dialog.component.ts
22
+ var _handleBackdropClick, handleBackdropClick_fn;
23
+ var TerraDialog = class extends TerraElement {
24
+ constructor() {
25
+ super(...arguments);
26
+ __privateAdd(this, _handleBackdropClick);
27
+ this.width = "500px";
28
+ this.open = false;
29
+ this.clickOutsideToClose = true;
30
+ this.showBackdrop = true;
31
+ }
32
+ toggle() {
33
+ this.open ? this.hide() : this.show();
34
+ }
35
+ show() {
36
+ this.open = true;
37
+ this.emit("terra-dialog-show");
38
+ }
39
+ hide() {
40
+ this.open = false;
41
+ this.emit("terra-dialog-hide");
42
+ }
43
+ render() {
44
+ return x`
45
+ <div
46
+ class="dialog-backdrop ${this.showBackdrop ? "visible" : ""} ${this.open ? "active" : ""} ${this.clickOutsideToClose ? "clickable" : ""}"
47
+ part="backdrop"
48
+ @click=${__privateMethod(this, _handleBackdropClick, handleBackdropClick_fn)}
49
+ ></div>
50
+
51
+ <dialog
52
+ part="dialog"
53
+ ?open=${this.open}
54
+ id=${this.id}
55
+ role="dialog"
56
+ aria-modal="true"
57
+ style="width: ${this.width}"
58
+ >
59
+ <slot></slot>
60
+ </dialog>
61
+ `;
62
+ }
63
+ };
64
+ _handleBackdropClick = new WeakSet();
65
+ handleBackdropClick_fn = function() {
66
+ if (this.clickOutsideToClose) {
67
+ this.hide();
68
+ }
69
+ };
70
+ TerraDialog.styles = [component_styles_default, dialog_styles_default];
71
+ __decorateClass([
72
+ e('[part="dialog"]')
73
+ ], TerraDialog.prototype, "dialogEl", 2);
74
+ __decorateClass([
75
+ n()
76
+ ], TerraDialog.prototype, "id", 2);
77
+ __decorateClass([
78
+ n({ reflect: true })
79
+ ], TerraDialog.prototype, "width", 2);
80
+ __decorateClass([
81
+ n({ type: Boolean, reflect: true })
82
+ ], TerraDialog.prototype, "open", 2);
83
+ __decorateClass([
84
+ n({ attribute: "click-outside-to-close", type: Boolean, reflect: true })
85
+ ], TerraDialog.prototype, "clickOutsideToClose", 2);
86
+ __decorateClass([
87
+ n({ attribute: "show-backdrop", type: Boolean, reflect: true })
88
+ ], TerraDialog.prototype, "showBackdrop", 2);
89
+
90
+ export {
91
+ TerraDialog
92
+ };
@@ -1,41 +1,42 @@
1
1
  import {
2
2
  icon_default
3
- } from "./chunk.MZT2CCCJ.js";
3
+ } from "./chunk.U35LI4FR.js";
4
+ import {
5
+ FetchController
6
+ } from "./chunk.VEENI5ZG.js";
4
7
  import {
5
8
  giovanni_search_styles_default
6
- } from "./chunk.D7RUNWOI.js";
9
+ } from "./chunk.WGDILZM6.js";
7
10
  import {
8
11
  clearSelection,
9
12
  renderSearchResult,
10
13
  walkToOption
11
14
  } from "./chunk.WD2DJJFP.js";
12
- import {
13
- FetchController
14
- } from "./chunk.VEENI5ZG.js";
15
- import {
16
- button_default
17
- } from "./chunk.L6DGDWB3.js";
18
15
  import {
19
16
  Fuse
20
17
  } from "./chunk.U7L2FN7F.js";
18
+ import {
19
+ n as n2
20
+ } from "./chunk.2XCNCXGV.js";
21
21
  import {
22
22
  o
23
23
  } from "./chunk.QEA4QW6G.js";
24
24
  import {
25
- n as n2
26
- } from "./chunk.2XCNCXGV.js";
25
+ button_default
26
+ } from "./chunk.EAQZEXSN.js";
27
27
  import {
28
28
  watch
29
29
  } from "./chunk.CBV7M6CJ.js";
30
30
  import {
31
31
  TerraElement,
32
32
  component_styles_default
33
- } from "./chunk.USZP36DV.js";
33
+ } from "./chunk.ESFWCSLU.js";
34
34
  import {
35
35
  n,
36
36
  r
37
37
  } from "./chunk.QCK7PTWV.js";
38
38
  import {
39
+ T,
39
40
  s,
40
41
  x
41
42
  } from "./chunk.PQFHJHNO.js";
@@ -50,11 +51,12 @@ import {
50
51
  } from "./chunk.MR27IH5Z.js";
51
52
 
52
53
  // src/components/giovanni-search/giovanni-search.component.ts
53
- var _combobox, _fetchController, _listbox, _searchEngine, _walker, _dispatchChange, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn;
54
+ var _combobox, _fetchController, _listbox, _searchEngine, _walker, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn, _clearSearch, clearSearch_fn;
54
55
  var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
55
56
  constructor() {
56
57
  super(...arguments);
57
58
  __privateAdd(this, _handleSearch);
59
+ __privateAdd(this, _clearSearch);
58
60
  __privateAdd(this, _combobox, null);
59
61
  __privateAdd(this, _fetchController, new FetchController(this));
60
62
  __privateAdd(this, _listbox, null);
@@ -70,9 +72,6 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
70
72
  this.isExpanded = false;
71
73
  this.query = _TerraGiovanniSearch.initialQuery;
72
74
  this.searchResults = [];
73
- __privateAdd(this, _dispatchChange, (data) => {
74
- this.emit("terra-giovanni-search-change", { detail: data });
75
- });
76
75
  __privateAdd(this, _handleComboboxChange, (event) => {
77
76
  var _a;
78
77
  const target = event.target;
@@ -162,7 +161,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
162
161
  });
163
162
  __privateAdd(this, _selectOption, (option) => {
164
163
  this.query = option.id;
165
- __privateGet(this, _dispatchChange).call(this, option.id);
164
+ this.emit("terra-giovanni-search-change", { detail: option.id });
166
165
  this.isExpanded = false;
167
166
  clearSelection(
168
167
  __privateGet(this, _combobox),
@@ -197,6 +196,24 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
197
196
  >${this.label}</label
198
197
  >
199
198
  <div class="search-input-group">
199
+ <terra-button
200
+ @click=${() => __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query)}
201
+ aria-label=${this.query ? `Search for ${this.query}.` : "Enter search term to enable search."}
202
+ circle
203
+ class="search-button search-input-button"
204
+ outline
205
+ tabindex="-1"
206
+ type="button"
207
+ >
208
+ <slot name="label">
209
+ <terra-icon
210
+ font-size="1.5em"
211
+ library="heroicons"
212
+ name="outline-magnifying-glass"
213
+ ></terra-icon>
214
+ </slot>
215
+ </terra-button>
216
+
200
217
  <input
201
218
  ${n2((el) => {
202
219
  var _a2;
@@ -219,23 +236,24 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
219
236
  @input=${__privateGet(this, _handleComboboxChange)}
220
237
  @keydown=${__privateGet(this, _handleKeydown)}
221
238
  />
222
- <terra-button
223
- @click=${() => __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query)}
224
- aria-label=${this.query ? `Search for ${this.query}.` : "Enter search term to enable search."}
225
- circle
226
- class="search-button search-input-button"
227
- outline
228
- tabindex="-1"
229
- type="button"
230
- >
231
- <slot name="label">
232
- <terra-icon
233
- font-size="1.5em"
234
- library="heroicons"
235
- name="solid-magnifying-glass"
236
- ></terra-icon>
237
- </slot>
238
- </terra-button>
239
+
240
+ ${this.query.length ? x`<terra-button
241
+ @click=${() => __privateMethod(this, _clearSearch, clearSearch_fn).call(this)}
242
+ aria-label="Clear the searched term and start over."
243
+ circle
244
+ class="clear-button search-input-button"
245
+ outline
246
+ tabindex="-1"
247
+ type="button"
248
+ >
249
+ <slot name="label">
250
+ <terra-icon
251
+ font-size="1.5em"
252
+ library="heroicons"
253
+ name="outline-x-circle"
254
+ ></terra-icon>
255
+ </slot>
256
+ </terra-button>` : T}
239
257
  </div>
240
258
 
241
259
  <ul
@@ -283,7 +301,6 @@ _fetchController = new WeakMap();
283
301
  _listbox = new WeakMap();
284
302
  _searchEngine = new WeakMap();
285
303
  _walker = new WeakMap();
286
- _dispatchChange = new WeakMap();
287
304
  _handleComboboxChange = new WeakMap();
288
305
  _handleOptionClick = new WeakMap();
289
306
  _handleKeydown = new WeakMap();
@@ -295,6 +312,17 @@ handleSearch_fn = function(query) {
295
312
  this.emit("terra-search", { detail: this.query });
296
313
  }
297
314
  };
315
+ _clearSearch = new WeakSet();
316
+ clearSearch_fn = function() {
317
+ var _a;
318
+ this.query = _TerraGiovanniSearch.initialQuery;
319
+ this.emit("terra-search", { detail: this.query });
320
+ clearSelection(
321
+ __privateGet(this, _combobox),
322
+ __privateGet(this, _listbox)
323
+ );
324
+ (_a = __privateGet(this, _combobox)) == null ? void 0 : _a.focus();
325
+ };
298
326
  _TerraGiovanniSearch.dependencies = {
299
327
  "terra-button": button_default,
300
328
  "terra-icon": icon_default
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraButton
3
- } from "./chunk.5EHEQAM7.js";
3
+ } from "./chunk.NLGYM5TP.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = TerraButton;
@@ -366,7 +366,7 @@ var TerraElement = class extends s {
366
366
  };
367
367
  /* eslint-disable */
368
368
  // @ts-expect-error This is auto-injected at build time.
369
- TerraElement.version = "0.0.22";
369
+ TerraElement.version = "0.0.26";
370
370
  TerraElement.dependencies = {};
371
371
  __decorateClass([
372
372
  n()
@@ -0,0 +1,58 @@
1
+ import {
2
+ i
3
+ } from "./chunk.PH7RLQK2.js";
4
+
5
+ // src/components/dialog/dialog.styles.ts
6
+ var dialog_styles_default = i`
7
+ :host {
8
+ --terra-dialog-backdrop-color: rgba(0, 0, 0, 0.5);
9
+ --terra-dialog-z-index: 1000;
10
+
11
+ display: block;
12
+ }
13
+
14
+ .dialog-backdrop {
15
+ pointer-events: none;
16
+ position: fixed;
17
+ top: 0;
18
+ left: -9999;
19
+ right: auto;
20
+ bottom: auto;
21
+ width: 0;
22
+ height: 0;
23
+ z-index: calc(var(--terra-dialog-z-index) - 1);
24
+ /* TODO: fade in the backdrop */
25
+ }
26
+
27
+ .dialog-backdrop.visible {
28
+ background-color: var(--terra-dialog-backdrop-color);
29
+ }
30
+
31
+ .dialog-backdrop.clickable {
32
+ pointer-events: auto;
33
+ }
34
+
35
+ .dialog-backdrop.active {
36
+ top: 0;
37
+ left: 0;
38
+ right: 0;
39
+ bottom: 0;
40
+ width: auto;
41
+ height: auto;
42
+ }
43
+
44
+ dialog[open] {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ padding: 0;
49
+ position: fixed;
50
+ inset: 0px;
51
+ z-index: var(--terra-dialog-z-index);
52
+ max-width: 100%;
53
+ }
54
+ `;
55
+
56
+ export {
57
+ dialog_styles_default
58
+ };
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.USZP36DV.js";
10
+ } from "./chunk.ESFWCSLU.js";
11
11
  import {
12
12
  e,
13
13
  n