@nasa-terra/components 0.0.29 → 0.0.30

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 (338) hide show
  1. package/cdn/chunks/{chunk.Q6JDB7UF.js → chunk.2B5MWFZJ.js} +1 -1
  2. package/cdn/chunks/{chunk.KRV3QC6E.js → chunk.2IBDQF7X.js} +1 -1
  3. package/cdn/chunks/{chunk.MOLJLF6T.js → chunk.2KO7WMDA.js} +1 -1
  4. package/cdn/chunks/{chunk.O2FDJRVL.js → chunk.2ZTQTPGQ.js} +1 -1
  5. package/cdn/chunks/chunk.567ZKY6U.js +11 -0
  6. package/cdn/chunks/{chunk.GF7FCO7U.js → chunk.57KITL7R.js} +115 -21
  7. package/{dist/chunks/chunk.QND3EL2M.js → cdn/chunks/chunk.5YPKED3D.js} +1 -1
  8. package/cdn/chunks/{chunk.XZLBSMUJ.js → chunk.63W2KW34.js} +1 -1
  9. package/cdn/chunks/{chunk.HLLY7QKL.js → chunk.6RTRSHJT.js} +4 -4
  10. package/{dist/chunks/chunk.LSCC4BWP.js → cdn/chunks/chunk.7F6COZGY.js} +1 -1
  11. package/cdn/chunks/{chunk.QUCOTU2W.js → chunk.ABJ2K7TM.js} +1 -1
  12. package/cdn/chunks/{chunk.HSHJMWBR.js → chunk.AX2SA27I.js} +1 -1
  13. package/cdn/chunks/{chunk.PLFKPXGA.js → chunk.BJNWBPC2.js} +1 -1
  14. package/cdn/chunks/{chunk.VEENI5ZG.js → chunk.BWPJFRNN.js} +1 -1
  15. package/cdn/chunks/chunk.CEIZPS3F.js +14 -0
  16. package/{dist/chunks/chunk.5VZI3AW6.js → cdn/chunks/chunk.DDGJ6BLG.js} +1 -1
  17. package/cdn/chunks/{chunk.OMGRHNEB.js → chunk.EFOVA2JJ.js} +36 -36
  18. package/cdn/chunks/{chunk.XIE55A7V.js → chunk.EKLIR3WI.js} +1 -1
  19. package/{dist/chunks/chunk.6NV24MHZ.js → cdn/chunks/chunk.F2MIC3AX.js} +1 -1
  20. package/cdn/chunks/{chunk.ZM74J5O7.js → chunk.GDSSJKN2.js} +4 -4
  21. package/cdn/chunks/{chunk.R4PWO4RV.js → chunk.GSG6MPDX.js} +1 -1
  22. package/cdn/chunks/{chunk.HC2QXV76.js → chunk.HFMQVMLF.js} +4 -4
  23. package/cdn/chunks/chunk.HLNHG2BS.js +25 -0
  24. package/cdn/chunks/{chunk.BH3A72JP.js → chunk.HXEZAY6X.js} +2 -2
  25. package/cdn/chunks/{chunk.DSBAUO4Q.js → chunk.I6AG4GNV.js} +1 -1
  26. package/cdn/chunks/{chunk.FAICFDGD.js → chunk.JLUCY2KC.js} +1 -27
  27. package/cdn/chunks/{chunk.MJY6U2Q2.js → chunk.JXGOY6TG.js} +14 -6
  28. package/cdn/chunks/{chunk.CMTARP4Z.js → chunk.KFKV4IIY.js} +8 -8
  29. package/cdn/chunks/{chunk.VO4QBWR6.js → chunk.KJEKFNS4.js} +20 -20
  30. package/cdn/chunks/{chunk.XUJ6GG3I.js → chunk.LCPNNUVW.js} +4 -4
  31. package/cdn/chunks/chunk.LLGXVXUH.js +571 -0
  32. package/cdn/chunks/{chunk.MOQDQMCK.js → chunk.LMBQZGKV.js} +1 -1
  33. package/{dist/chunks/chunk.YQCBR4B6.js → cdn/chunks/chunk.MJAGRW43.js} +1 -1
  34. package/cdn/chunks/{chunk.2NNEVPUU.js → chunk.MMPYQ7JX.js} +1 -1
  35. package/cdn/chunks/{chunk.NXRLD6HP.js → chunk.MU5CIHVF.js} +1 -1
  36. package/cdn/chunks/{chunk.3BDUSUJJ.js → chunk.N3DIGSJT.js} +1 -1
  37. package/{dist/chunks/chunk.4RD7BI5G.js → cdn/chunks/chunk.N4W3LSG4.js} +1 -1
  38. package/cdn/chunks/{chunk.WGDILZM6.js → chunk.NMJ34B6C.js} +3 -3
  39. package/cdn/chunks/{chunk.EK2WNRX7.js → chunk.O7MMFKKX.js} +2 -2
  40. package/cdn/chunks/{chunk.EZSX4R2K.js → chunk.PRXO3ACA.js} +1 -1
  41. package/{dist/chunks/chunk.V73GDG7A.js → cdn/chunks/chunk.PXFI6DWW.js} +1 -1
  42. package/cdn/chunks/{chunk.4JSCLX3L.js → chunk.QALWOJYN.js} +1 -1
  43. package/cdn/chunks/chunk.QKFBOZ3A.js +21 -0
  44. package/cdn/chunks/{chunk.Z2TYLEAP.js → chunk.RE7Y5324.js} +15 -22
  45. package/cdn/chunks/{chunk.SWEK2UAG.js → chunk.RU6G6JLS.js} +34 -4
  46. package/cdn/chunks/chunk.SBI2FAOG.js +11 -0
  47. package/cdn/chunks/{chunk.WD2DJJFP.js → chunk.SCFJOPPV.js} +1 -1
  48. package/cdn/chunks/{chunk.Y742TAGH.js → chunk.SI3J4IDI.js} +1 -1
  49. package/{dist/chunks/chunk.UCLNYZP4.js → cdn/chunks/chunk.SSOHEVCW.js} +1 -1
  50. package/{dist/chunks/chunk.WZRVDBUQ.js → cdn/chunks/chunk.STX2OFFU.js} +1 -1
  51. package/cdn/chunks/{chunk.CGMA5YPP.js → chunk.SULSGF5G.js} +5 -5
  52. package/cdn/chunks/{chunk.CNP3J6CH.js → chunk.T6H2MZZI.js} +59 -19
  53. package/{dist/chunks/chunk.FHPEQ6H6.js → cdn/chunks/chunk.TSLU66AK.js} +1 -1
  54. package/cdn/chunks/{chunk.BJIWBGKZ.js → chunk.TVLFTKMX.js} +100 -39
  55. package/cdn/chunks/{chunk.44NIPIWB.js → chunk.U2IVCX3M.js} +4 -5
  56. package/cdn/chunks/chunk.UXTJ3UQP.js +3812 -0
  57. package/{dist/chunks/chunk.XWVIOQSF.js → cdn/chunks/chunk.VJ4KDMYT.js} +1 -1
  58. package/{dist/chunks/chunk.4KUKUFDS.js → cdn/chunks/chunk.VKEDPAJJ.js} +1 -1
  59. package/cdn/chunks/{chunk.KJJ66WSH.js → chunk.X4S4SQKL.js} +1 -1
  60. package/cdn/chunks/{chunk.WPRM2AN2.js → chunk.XHVCGLFU.js} +1 -1
  61. package/cdn/chunks/{chunk.XRQFG5L5.js → chunk.ZLX4LVIZ.js} +1 -1
  62. package/cdn/chunks/{chunk.H4QA5UXQ.js → chunk.ZP7GOIAS.js} +1 -1
  63. package/cdn/chunks/{chunk.Z4FQAFSZ.js → chunk.ZXJ4IGW5.js} +1 -1
  64. package/cdn/components/browse-variables/browse-variables.component.d.ts +5 -5
  65. package/cdn/components/browse-variables/browse-variables.component.js +22 -22
  66. package/cdn/components/browse-variables/browse-variables.js +23 -23
  67. package/cdn/components/button/button.component.js +3 -3
  68. package/cdn/components/button/button.js +4 -4
  69. package/cdn/components/chip/chip.component.js +2 -2
  70. package/cdn/components/chip/chip.js +3 -3
  71. package/cdn/components/combobox/combobox.component.js +3 -3
  72. package/cdn/components/combobox/combobox.js +4 -4
  73. package/cdn/components/date-picker/date-picker.component.d.ts +39 -0
  74. package/cdn/components/date-picker/date-picker.component.js +12 -0
  75. package/cdn/components/date-picker/date-picker.d.ts +8 -0
  76. package/cdn/components/date-picker/date-picker.js +13 -0
  77. package/cdn/components/{giovanni-search/giovanni-search.styles.js → date-picker/date-picker.styles.js} +3 -3
  78. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  79. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  80. package/cdn/components/dialog/dialog.component.d.ts +1 -3
  81. package/cdn/components/dialog/dialog.component.js +3 -3
  82. package/cdn/components/dialog/dialog.js +4 -4
  83. package/cdn/components/dialog/dialog.styles.js +1 -1
  84. package/cdn/components/icon/icon.component.js +5 -5
  85. package/cdn/components/icon/icon.js +6 -6
  86. package/cdn/components/icon/library.js +2 -2
  87. package/cdn/components/loader/loader.component.js +2 -2
  88. package/cdn/components/loader/loader.js +3 -3
  89. package/cdn/components/login/login.component.js +15 -15
  90. package/cdn/components/login/login.js +16 -16
  91. package/cdn/components/map/map.component.js +3 -3
  92. package/cdn/components/map/map.js +4 -4
  93. package/cdn/components/plot/plot.component.js +3 -3
  94. package/cdn/components/plot/plot.js +4 -4
  95. package/cdn/components/plot/plot.styles.js +1 -1
  96. package/cdn/components/skeleton/skeleton.component.js +4 -4
  97. package/cdn/components/skeleton/skeleton.js +5 -5
  98. package/cdn/components/spatial-picker/spatial-picker.component.js +4 -4
  99. package/cdn/components/spatial-picker/spatial-picker.js +5 -5
  100. package/cdn/components/time-series/time-series.component.d.ts +17 -0
  101. package/cdn/components/time-series/time-series.component.js +30 -30
  102. package/cdn/components/time-series/time-series.controller.js +1 -1
  103. package/cdn/components/time-series/time-series.js +31 -31
  104. package/cdn/components/time-series/time-series.styles.js +1 -1
  105. package/cdn/components/variable-combobox/lib.d.ts +3 -2
  106. package/cdn/components/variable-combobox/lib.js +3 -1
  107. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +15 -1
  108. package/cdn/components/variable-combobox/variable-combobox.component.js +16 -16
  109. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  110. package/cdn/components/variable-combobox/variable-combobox.js +17 -17
  111. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  112. package/cdn/components/variable-combobox/variable-combobox.types.d.ts +2 -0
  113. package/cdn/components/{giovanni-search → variable-keyword-search}/lib.d.ts +1 -1
  114. package/cdn/components/{giovanni-search → variable-keyword-search}/lib.js +1 -1
  115. package/{dist/components/giovanni-search/giovanni-search.component.d.ts → cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts} +3 -3
  116. package/cdn/components/{giovanni-search/giovanni-search.component.js → variable-keyword-search/variable-keyword-search.component.js} +18 -18
  117. package/cdn/components/{giovanni-search/giovanni-search.controller.d.ts → variable-keyword-search/variable-keyword-search.controller.d.ts} +1 -1
  118. package/cdn/components/{giovanni-search/giovanni-search.controller.js → variable-keyword-search/variable-keyword-search.controller.js} +1 -1
  119. package/cdn/components/variable-keyword-search/variable-keyword-search.d.ts +8 -0
  120. package/cdn/components/{giovanni-search/giovanni-search.js → variable-keyword-search/variable-keyword-search.js} +19 -19
  121. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +9 -0
  122. package/cdn/custom-elements.json +1988 -1482
  123. package/cdn/events/events.d.ts +1 -1
  124. package/cdn/events/terra-variable-keyword-search-change.d.ts +6 -0
  125. package/cdn/lib/dataset.d.ts +9 -0
  126. package/cdn/react/browse-variables/index.d.ts +1 -1
  127. package/cdn/react/browse-variables/index.js +23 -23
  128. package/cdn/react/button/index.js +4 -4
  129. package/cdn/react/chip/index.js +3 -3
  130. package/cdn/react/combobox/index.js +4 -4
  131. package/cdn/react/date-picker/index.d.ts +14 -0
  132. package/cdn/react/date-picker/index.js +13 -0
  133. package/cdn/react/date-range-slider/index.js +4 -4
  134. package/cdn/react/dialog/index.js +4 -4
  135. package/cdn/react/icon/index.js +6 -6
  136. package/cdn/react/index.d.ts +7 -6
  137. package/cdn/react/index.js +88 -82
  138. package/cdn/react/loader/index.js +3 -3
  139. package/cdn/react/login/index.js +16 -16
  140. package/cdn/react/map/index.js +4 -4
  141. package/cdn/react/plot/index.js +4 -4
  142. package/cdn/react/skeleton/index.js +5 -5
  143. package/cdn/react/spatial-picker/index.js +5 -5
  144. package/cdn/react/time-series/index.js +31 -31
  145. package/cdn/react/variable-combobox/index.js +17 -17
  146. package/{dist/react/giovanni-search → cdn/react/variable-keyword-search}/index.d.ts +5 -5
  147. package/cdn/react/{giovanni-search → variable-keyword-search}/index.js +19 -19
  148. package/cdn/terra-ui-components.d.ts +5 -4
  149. package/cdn/terra-ui-components.js +81 -75
  150. package/cdn/types/vue/index.d.ts +203 -132
  151. package/cdn/types.d.ts +7 -0
  152. package/cdn/utilities/animation.js +2 -2
  153. package/cdn/utilities/icon-library.js +2 -2
  154. package/cdn/vscode.html-custom-data.json +159 -99
  155. package/cdn/web-types.json +356 -223
  156. package/dist/chunks/{chunk.ICYAVVW4.js → chunk.2QTJHB7F.js} +1 -1
  157. package/dist/chunks/{chunk.IYY536HH.js → chunk.2RGRL45T.js} +1 -1
  158. package/dist/chunks/{chunk.WXWUMSQ6.js → chunk.2WHOFNO7.js} +1 -1
  159. package/dist/chunks/{chunk.W7JRXR2Y.js → chunk.2YRBHDWM.js} +1 -1
  160. package/dist/chunks/{chunk.OIO4HWK3.js → chunk.3IIDXU4S.js} +1 -1
  161. package/dist/chunks/{chunk.JXNFBM4G.js → chunk.3J5TZOPP.js} +17 -17
  162. package/dist/chunks/{chunk.SBA3WOAN.js → chunk.3JQPZWUE.js} +1 -1
  163. package/dist/chunks/{chunk.2OY33DUQ.js → chunk.3K3BQXON.js} +1 -1
  164. package/{cdn/chunks/chunk.4XVD3JO6.js → dist/chunks/chunk.3SSCVJFM.js} +1 -1
  165. package/dist/chunks/{chunk.GHDRVO5M.js → chunk.5EHGVGXV.js} +59 -19
  166. package/dist/chunks/{chunk.RV2KFFXW.js → chunk.5LMWCV76.js} +14 -6
  167. package/dist/chunks/{chunk.CCDDGUFW.js → chunk.67EX34DL.js} +1 -27
  168. package/dist/chunks/{chunk.X2NOCGLF.js → chunk.6P4UBSKH.js} +4 -4
  169. package/dist/chunks/chunk.A3JXDHJG.js +11 -0
  170. package/dist/chunks/{chunk.KJQZP5RO.js → chunk.AUB6SKUI.js} +3 -3
  171. package/dist/chunks/{chunk.AKIZ4D6W.js → chunk.BCU2ZKJ4.js} +1 -1
  172. package/dist/chunks/{chunk.BOJX33N7.js → chunk.BVCKNDN2.js} +1 -1
  173. package/{cdn/chunks/chunk.3T5XKTPL.js → dist/chunks/chunk.BXMFNRIQ.js} +1 -1
  174. package/dist/chunks/{chunk.ZCPWIACO.js → chunk.CY76LRGV.js} +1 -1
  175. package/dist/chunks/chunk.DJICCDFZ.js +130 -0
  176. package/dist/chunks/chunk.DP5CSX6S.js +25 -0
  177. package/dist/chunks/{chunk.EGZMQ7T7.js → chunk.DW23TAF4.js} +1 -1
  178. package/dist/chunks/{chunk.G7L4LFF2.js → chunk.E5OMSMPR.js} +4 -4
  179. package/dist/chunks/{chunk.KLX4FSH3.js → chunk.ED4EXVSJ.js} +1 -1
  180. package/{cdn/chunks/chunk.OHPQWGRL.js → dist/chunks/chunk.F5UDJENT.js} +1 -1
  181. package/dist/chunks/chunk.F7GS6U3O.js +21 -0
  182. package/dist/chunks/{chunk.QJGNTLKC.js → chunk.FAIVIYKA.js} +2 -2
  183. package/{cdn/chunks/chunk.VJY3BVCV.js → dist/chunks/chunk.H6K7DI54.js} +1 -1
  184. package/dist/chunks/{chunk.QK5OWFVO.js → chunk.HJGC45MW.js} +34 -4
  185. package/dist/chunks/{chunk.IXA4S7MC.js → chunk.HRODIECS.js} +1 -1
  186. package/dist/chunks/{chunk.HC2GJY4W.js → chunk.IPMALKFU.js} +1 -1
  187. package/dist/chunks/{chunk.2VI37SGK.js → chunk.JPTE36KF.js} +15 -22
  188. package/dist/chunks/{chunk.TRYPXGEF.js → chunk.KAU6YSSX.js} +5 -5
  189. package/dist/chunks/{chunk.6MWZMGHC.js → chunk.KF6GNNY4.js} +1 -1
  190. package/{cdn/chunks/chunk.JPORUQZG.js → dist/chunks/chunk.KY7CFQ2L.js} +1 -1
  191. package/dist/chunks/{chunk.A5MHK2RE.js → chunk.KZQGAFNS.js} +1 -1
  192. package/dist/chunks/{chunk.ZJX62EXO.js → chunk.LDXAXITL.js} +4 -4
  193. package/dist/chunks/{chunk.GRG5Z2VH.js → chunk.MY3D3SMW.js} +1 -1
  194. package/dist/chunks/{chunk.LVFOF3IN.js → chunk.NE2F3K3V.js} +4 -4
  195. package/{cdn/chunks/chunk.4XCAK3VQ.js → dist/chunks/chunk.NQ2Y66ML.js} +1 -1
  196. package/dist/chunks/{chunk.NW3BG32V.js → chunk.NRFKLACI.js} +98 -37
  197. package/dist/chunks/{chunk.3R7FYOEC.js → chunk.NY3FWCB4.js} +1 -1
  198. package/dist/chunks/{chunk.AZFDLGZH.js → chunk.P4V6NTUB.js} +1 -1
  199. package/dist/chunks/{chunk.LIBBEBVE.js → chunk.PVN5GF75.js} +110 -17
  200. package/{cdn/chunks/chunk.34HTZ3BS.js → dist/chunks/chunk.R7ZFWMFX.js} +1 -1
  201. package/dist/chunks/{chunk.MERZEEOA.js → chunk.RAGOKALJ.js} +1 -1
  202. package/dist/chunks/{chunk.VTKHAV5B.js → chunk.RFLNQ553.js} +35 -35
  203. package/{cdn/chunks/chunk.DELCDBUW.js → dist/chunks/chunk.RO6IKZZJ.js} +1 -1
  204. package/{cdn/chunks/chunk.FQ3DGJP3.js → dist/chunks/chunk.SOQ4CR5P.js} +1 -1
  205. package/dist/chunks/{chunk.JOOAZ4RH.js → chunk.T3YDWJBU.js} +1 -1
  206. package/dist/chunks/{chunk.TGFRBJQ2.js → chunk.TOKOGZDW.js} +2 -2
  207. package/dist/chunks/{chunk.Z3BPGAEC.js → chunk.TOSECFXS.js} +4 -5
  208. package/{cdn/chunks/chunk.3YMOUEX5.js → dist/chunks/chunk.U4VDOWEL.js} +1 -1
  209. package/dist/chunks/{chunk.TPLUT5FB.js → chunk.UUUQALNS.js} +1 -1
  210. package/dist/chunks/chunk.W5W4VEOX.js +11 -0
  211. package/dist/chunks/chunk.WAIWLZ6Z.js +332 -0
  212. package/dist/chunks/{chunk.AFNAKALA.js → chunk.XBGMPAGN.js} +1 -1
  213. package/{cdn/chunks/chunk.UDRESO3S.js → dist/chunks/chunk.XJZRUYAI.js} +1 -1
  214. package/dist/chunks/chunk.XTWS7MM5.js +11 -0
  215. package/dist/chunks/{chunk.6SN6X5JU.js → chunk.YF6EKHHQ.js} +1 -1
  216. package/{cdn/chunks/chunk.7MXUXHLV.js → dist/chunks/chunk.YFE22UAS.js} +1 -1
  217. package/dist/chunks/{chunk.UCFFAP7X.js → chunk.YY2NUPBF.js} +1 -1
  218. package/dist/chunks/{chunk.CXHYT4QV.js → chunk.Z2X4WGGX.js} +1 -1
  219. package/dist/components/browse-variables/browse-variables.component.d.ts +5 -5
  220. package/dist/components/browse-variables/browse-variables.component.js +17 -17
  221. package/dist/components/browse-variables/browse-variables.js +18 -18
  222. package/dist/components/button/button.component.js +3 -3
  223. package/dist/components/button/button.js +4 -4
  224. package/dist/components/chip/chip.component.js +2 -2
  225. package/dist/components/chip/chip.js +3 -3
  226. package/dist/components/combobox/combobox.component.js +3 -3
  227. package/dist/components/combobox/combobox.js +4 -4
  228. package/dist/components/date-picker/date-picker.component.d.ts +39 -0
  229. package/dist/components/date-picker/date-picker.component.js +9 -0
  230. package/dist/components/date-picker/date-picker.d.ts +8 -0
  231. package/dist/components/date-picker/date-picker.js +10 -0
  232. package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
  233. package/dist/components/date-picker/date-picker.styles.js +7 -0
  234. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  235. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  236. package/dist/components/dialog/dialog.component.d.ts +1 -3
  237. package/dist/components/dialog/dialog.component.js +3 -3
  238. package/dist/components/dialog/dialog.js +4 -4
  239. package/dist/components/dialog/dialog.styles.js +1 -1
  240. package/dist/components/icon/icon.component.js +5 -5
  241. package/dist/components/icon/icon.js +6 -6
  242. package/dist/components/icon/library.js +2 -2
  243. package/dist/components/loader/loader.component.js +2 -2
  244. package/dist/components/loader/loader.js +3 -3
  245. package/dist/components/login/login.component.js +12 -12
  246. package/dist/components/login/login.js +13 -13
  247. package/dist/components/map/map.component.js +3 -3
  248. package/dist/components/map/map.js +4 -4
  249. package/dist/components/plot/plot.component.js +3 -3
  250. package/dist/components/plot/plot.js +4 -4
  251. package/dist/components/plot/plot.styles.js +1 -1
  252. package/dist/components/skeleton/skeleton.component.js +2 -2
  253. package/dist/components/skeleton/skeleton.js +3 -3
  254. package/dist/components/spatial-picker/spatial-picker.component.js +4 -4
  255. package/dist/components/spatial-picker/spatial-picker.js +5 -5
  256. package/dist/components/time-series/time-series.component.d.ts +17 -0
  257. package/dist/components/time-series/time-series.component.js +25 -25
  258. package/dist/components/time-series/time-series.controller.js +1 -1
  259. package/dist/components/time-series/time-series.js +26 -26
  260. package/dist/components/time-series/time-series.styles.js +1 -1
  261. package/dist/components/variable-combobox/lib.d.ts +3 -2
  262. package/dist/components/variable-combobox/lib.js +3 -1
  263. package/dist/components/variable-combobox/variable-combobox.component.d.ts +15 -1
  264. package/dist/components/variable-combobox/variable-combobox.component.js +13 -13
  265. package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
  266. package/dist/components/variable-combobox/variable-combobox.js +14 -14
  267. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
  268. package/dist/components/variable-combobox/variable-combobox.types.d.ts +2 -0
  269. package/dist/components/{giovanni-search → variable-keyword-search}/lib.d.ts +1 -1
  270. package/dist/components/{giovanni-search → variable-keyword-search}/lib.js +1 -1
  271. package/{cdn/components/giovanni-search/giovanni-search.component.d.ts → dist/components/variable-keyword-search/variable-keyword-search.component.d.ts} +3 -3
  272. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +23 -0
  273. package/dist/components/{giovanni-search/giovanni-search.controller.d.ts → variable-keyword-search/variable-keyword-search.controller.d.ts} +1 -1
  274. package/dist/components/{giovanni-search/giovanni-search.controller.js → variable-keyword-search/variable-keyword-search.controller.js} +1 -1
  275. package/dist/components/variable-keyword-search/variable-keyword-search.d.ts +8 -0
  276. package/dist/components/variable-keyword-search/variable-keyword-search.js +24 -0
  277. package/dist/components/variable-keyword-search/variable-keyword-search.styles.d.ts +2 -0
  278. package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +7 -0
  279. package/dist/custom-elements.json +1988 -1482
  280. package/dist/events/events.d.ts +1 -1
  281. package/dist/events/terra-variable-keyword-search-change.d.ts +6 -0
  282. package/dist/lib/dataset.d.ts +9 -0
  283. package/dist/react/browse-variables/index.d.ts +1 -1
  284. package/dist/react/browse-variables/index.js +18 -18
  285. package/dist/react/button/index.js +4 -4
  286. package/dist/react/chip/index.js +3 -3
  287. package/dist/react/combobox/index.js +4 -4
  288. package/dist/react/date-picker/index.d.ts +14 -0
  289. package/dist/react/date-picker/index.js +10 -0
  290. package/dist/react/date-range-slider/index.js +4 -4
  291. package/dist/react/dialog/index.js +4 -4
  292. package/dist/react/icon/index.js +6 -6
  293. package/dist/react/index.d.ts +7 -6
  294. package/dist/react/index.js +81 -75
  295. package/dist/react/loader/index.js +3 -3
  296. package/dist/react/login/index.js +13 -13
  297. package/dist/react/map/index.js +4 -4
  298. package/dist/react/plot/index.js +4 -4
  299. package/dist/react/skeleton/index.js +3 -3
  300. package/dist/react/spatial-picker/index.js +5 -5
  301. package/dist/react/time-series/index.js +26 -26
  302. package/dist/react/variable-combobox/index.js +14 -14
  303. package/{cdn/react/giovanni-search → dist/react/variable-keyword-search}/index.d.ts +5 -5
  304. package/dist/react/variable-keyword-search/index.js +24 -0
  305. package/dist/terra-ui-components.d.ts +5 -4
  306. package/dist/terra-ui-components.js +74 -68
  307. package/dist/terra_ui_components-0.0.30-py3-none-any.whl +0 -0
  308. package/dist/{terra_ui_components-0.0.29.tar.gz → terra_ui_components-0.0.30.tar.gz} +0 -0
  309. package/dist/types/vue/index.d.ts +203 -132
  310. package/dist/types.d.ts +7 -0
  311. package/dist/utilities/icon-library.js +2 -2
  312. package/dist/vscode.html-custom-data.json +159 -99
  313. package/dist/web-types.json +356 -223
  314. package/package.json +2 -1
  315. package/cdn/chunks/chunk.GQLH2MRB.js +0 -25
  316. package/cdn/chunks/chunk.LBQPBXCY.js +0 -11
  317. package/cdn/chunks/chunk.U43KGD3Q.js +0 -6136
  318. package/cdn/components/giovanni-search/giovanni-search.d.ts +0 -8
  319. package/cdn/events/terra-giovanni-search-change.d.ts +0 -6
  320. package/dist/chunks/chunk.OAWTBOBI.js +0 -203
  321. package/dist/chunks/chunk.OVSUMCZT.js +0 -11
  322. package/dist/chunks/chunk.TVP7YR6X.js +0 -25
  323. package/dist/components/giovanni-search/giovanni-search.component.js +0 -23
  324. package/dist/components/giovanni-search/giovanni-search.d.ts +0 -8
  325. package/dist/components/giovanni-search/giovanni-search.js +0 -24
  326. package/dist/components/giovanni-search/giovanni-search.styles.js +0 -7
  327. package/dist/events/terra-giovanni-search-change.d.ts +0 -6
  328. package/dist/react/giovanni-search/index.js +0 -24
  329. package/dist/terra_ui_components-0.0.29-py3-none-any.whl +0 -0
  330. package/cdn/chunks/{chunk.MDRUDBRH.js → chunk.7DOMZGX7.js} +3 -3
  331. package/cdn/chunks/{chunk.OBHNA5IZ.js → chunk.WTPVOF7N.js} +5 -5
  332. package/cdn/components/{giovanni-search/giovanni-search.styles.d.ts → date-picker/date-picker.styles.d.ts} +0 -0
  333. package/{dist/components/giovanni-search/giovanni-search.styles.d.ts → cdn/components/variable-keyword-search/variable-keyword-search.styles.d.ts} +0 -0
  334. package/cdn/components/{giovanni-search/giovanni-search.types.d.ts → variable-keyword-search/variable-keyword-search.types.d.ts} +0 -0
  335. package/cdn/components/{giovanni-search/giovanni-search.types.js → variable-keyword-search/variable-keyword-search.types.js} +0 -0
  336. package/dist/chunks/{chunk.MDRUDBRH.js → chunk.7DOMZGX7.js} +3 -3
  337. /package/dist/components/{giovanni-search/giovanni-search.types.d.ts → variable-keyword-search/variable-keyword-search.types.d.ts} +0 -0
  338. /package/dist/components/{giovanni-search/giovanni-search.types.js → variable-keyword-search/variable-keyword-search.types.js} +0 -0
@@ -0,0 +1,21 @@
1
+ import {
2
+ TerraDatePicker
3
+ } from "./chunk.UXTJ3UQP.js";
4
+
5
+ // src/react/date-picker/index.ts
6
+ import * as React from "react";
7
+ import { createComponent } from "@lit/react";
8
+ var tagName = "terra-date-picker";
9
+ TerraDatePicker.define("terra-date-picker");
10
+ var reactWrapper = createComponent({
11
+ tagName,
12
+ elementClass: TerraDatePicker,
13
+ react: React,
14
+ events: {},
15
+ displayName: "TerraDatePicker"
16
+ });
17
+ var date_picker_default = reactWrapper;
18
+
19
+ export {
20
+ date_picker_default
21
+ };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  dialog_styles_default
3
- } from "./chunk.FAICFDGD.js";
3
+ } from "./chunk.JLUCY2KC.js";
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.HSHJMWBR.js";
7
+ } from "./chunk.AX2SA27I.js";
8
8
  import {
9
9
  e,
10
10
  n
@@ -24,36 +24,29 @@ var TerraDialog = class extends TerraElement {
24
24
  constructor() {
25
25
  super(...arguments);
26
26
  __privateAdd(this, _handleBackdropClick);
27
- this.width = "500px";
28
- this.open = false;
27
+ this.width = "fit-content";
29
28
  this.clickOutsideToClose = true;
30
29
  this.showBackdrop = true;
31
30
  }
32
31
  toggle() {
33
- this.open ? this.hide() : this.show();
32
+ this.dialogEl.open ? this.hide("toggle") : this.show();
34
33
  }
35
34
  show() {
36
- this.open = true;
35
+ this.dialogEl.showModal();
37
36
  this.emit("terra-dialog-show");
38
37
  }
39
- hide() {
40
- this.open = false;
38
+ hide(reason) {
39
+ this.dialogEl.close(reason);
41
40
  this.emit("terra-dialog-hide");
42
41
  }
43
42
  render() {
44
43
  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
44
  <dialog
52
- part="dialog"
53
- ?open=${this.open}
45
+ @click=${__privateMethod(this, _handleBackdropClick, handleBackdropClick_fn)}
46
+ aria-modal="true"
54
47
  id=${this.id}
48
+ part="dialog"
55
49
  role="dialog"
56
- aria-modal="true"
57
50
  style="width: ${this.width}"
58
51
  >
59
52
  <slot></slot>
@@ -62,9 +55,12 @@ var TerraDialog = class extends TerraElement {
62
55
  }
63
56
  };
64
57
  _handleBackdropClick = new WeakSet();
65
- handleBackdropClick_fn = function() {
58
+ handleBackdropClick_fn = function(event) {
66
59
  if (this.clickOutsideToClose) {
67
- this.hide();
60
+ const target = event.target;
61
+ if (target.nodeName === "DIALOG") {
62
+ this.hide("backdrop");
63
+ }
68
64
  }
69
65
  };
70
66
  TerraDialog.styles = [component_styles_default, dialog_styles_default];
@@ -77,9 +73,6 @@ __decorateClass([
77
73
  __decorateClass([
78
74
  n({ reflect: true })
79
75
  ], TerraDialog.prototype, "width", 2);
80
- __decorateClass([
81
- n({ type: Boolean, reflect: true })
82
- ], TerraDialog.prototype, "open", 2);
83
76
  __decorateClass([
84
77
  n({ attribute: "click-outside-to-close", type: Boolean, reflect: true })
85
78
  ], TerraDialog.prototype, "clickOutsideToClose", 2);
@@ -53,6 +53,39 @@ var variable_combobox_styles_default = i`
53
53
  flex-wrap: wrap;
54
54
  }
55
55
 
56
+ .tag-container {
57
+ block-size: var(--terra-block-size, 2.25rem);
58
+ position: absolute;
59
+ top: 2.25rem;
60
+ display: flex;
61
+ flex-wrap: wrap;
62
+ align-content: center;
63
+ padding-inline-start: 0.5rem;
64
+ }
65
+
66
+ .tag {
67
+ --terra-button-height-small: 1.25rem;
68
+ --terra-spacing-small: 0.5rem;
69
+ }
70
+
71
+ .tag:hover .tag-icon,
72
+ .tag:active .tag-icon,
73
+ .tag:focus .tag-icon {
74
+ transform: scale(1.125);
75
+ color: var(--terra-color-nasa-red-shade);
76
+ transition:
77
+ transform 0.2s ease-out,
78
+ color 0.2s ease-out;
79
+ }
80
+
81
+ .tag-icon {
82
+ font-size: 1.25em;
83
+ }
84
+
85
+ .tag-icon::part(svg) {
86
+ stroke-width: 2;
87
+ }
88
+
56
89
  .combobox {
57
90
  block-size: var(--terra-block-size, 2.25rem);
58
91
  flex: 1 1 auto;
@@ -60,6 +93,7 @@ var variable_combobox_styles_default = i`
60
93
  transition:
61
94
  background-color 0.2s ease,
62
95
  border-color 0.2s ease;
96
+ max-inline-size: 100%;
63
97
  }
64
98
 
65
99
  .combobox::placeholder {
@@ -177,10 +211,6 @@ var variable_combobox_styles_default = i`
177
211
  padding-block: 1rem 0.5rem;
178
212
  }
179
213
 
180
- .listbox-option-group:has(.clear-button) {
181
- text-align: center;
182
- }
183
-
184
214
  .group-title {
185
215
  font-family: var(--terra-font-family--inter);
186
216
  font-weight: 700;
@@ -0,0 +1,11 @@
1
+ import {
2
+ TerraVariableKeywordSearch
3
+ } from "./chunk.EFOVA2JJ.js";
4
+
5
+ // src/components/variable-keyword-search/variable-keyword-search.ts
6
+ var variable_keyword_search_default = TerraVariableKeywordSearch;
7
+ TerraVariableKeywordSearch.define("terra-variable-keyword-search");
8
+
9
+ export {
10
+ variable_keyword_search_default
11
+ };
@@ -2,7 +2,7 @@ import {
2
2
  x
3
3
  } from "./chunk.PQFHJHNO.js";
4
4
 
5
- // src/components/giovanni-search/lib.ts
5
+ // src/components/variable-keyword-search/lib.ts
6
6
  var whenIdle = "requestIdleCallback" in window ? requestIdleCallback : requestAnimationFrame;
7
7
  function renderSearchResult(listItem) {
8
8
  return x`
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSpatialPicker
3
- } from "./chunk.BH3A72JP.js";
3
+ } from "./chunk.HXEZAY6X.js";
4
4
 
5
5
  // src/react/spatial-picker/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraTimeSeries
3
- } from "./chunk.LIBBEBVE.js";
3
+ } from "./chunk.57KITL7R.js";
4
4
 
5
5
  // src/react/time-series/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraCombobox
3
- } from "./chunk.X2NOCGLF.js";
3
+ } from "./chunk.6RTRSHJT.js";
4
4
 
5
5
  // src/react/combobox/index.ts
6
6
  import * as React from "react";
@@ -1,11 +1,11 @@
1
- import {
2
- icon_styles_default
3
- } from "./chunk.4XR5KYKG.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.4XR5KYKG.js";
9
9
  import {
10
10
  e
11
11
  } from "./chunk.6NYH4BZ2.js";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  TerraElement,
17
17
  component_styles_default
18
- } from "./chunk.HSHJMWBR.js";
18
+ } from "./chunk.AX2SA27I.js";
19
19
  import {
20
20
  n,
21
21
  r
@@ -31,6 +31,9 @@ var time_series_styles_default = i`
31
31
  display: flex;
32
32
  flex-wrap: wrap;
33
33
  justify-content: space-between;
34
+ position: relative;
35
+ z-index: 10;
36
+ padding-bottom: 10px;
34
37
  }
35
38
 
36
39
  .title {
@@ -60,31 +63,34 @@ var time_series_styles_default = i`
60
63
  }
61
64
 
62
65
  menu {
63
- margin: 0;
64
- max-height: 0;
65
- overscroll-behavior: contain;
66
- padding-block: 0.25em;
67
- padding-inline: 0.5em;
68
- transition: max-height 0.1s ease-in;
66
+ all: unset;
67
+ position: absolute;
68
+ top: calc(100%);
69
+ right: 0;
70
+ z-index: 1000;
71
+ background: white;
72
+ border: 1px solid #ccc;
73
+ border-radius: 0.5em;
74
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
75
+ width: max-content;
76
+ min-width: 20ch;
77
+ padding: 1em;
78
+ display: none;
69
79
  }
70
80
 
71
81
  menu[data-expanded='true'] {
72
- margin-block: 0.75em;
73
- max-height: 85dvh;
74
- overflow-y: auto;
82
+ display: block;
75
83
  }
76
84
 
77
85
  menu [role='menuitem'] {
78
- display: flex;
79
- flex-wrap: wrap;
80
- gap: 0em 1em;
86
+ display: block;
81
87
  list-style: none;
82
88
  margin: 0;
83
- padding: 0;
89
+ padding: 0.5em 0;
84
90
  }
85
91
 
86
92
  [role='menuitem'] p {
87
- flex: 1 0 100%;
93
+ margin-block: 0.5em;
88
94
  }
89
95
 
90
96
  menu dt {
@@ -93,6 +99,7 @@ var time_series_styles_default = i`
93
99
 
94
100
  menu dd {
95
101
  font-style: italic;
102
+ text-wrap: balance;
96
103
  }
97
104
 
98
105
  terra-date-range-slider {
@@ -100,26 +107,59 @@ var time_series_styles_default = i`
100
107
  padding-block-start: 2rem;
101
108
  }
102
109
 
103
- /* The current Giovanni API doesn't accept bounding box subsetting. */
104
110
  terra-spatial-picker::part(leaflet-bbox),
105
111
  terra-spatial-picker::part(leaflet-edit) {
106
112
  display: none;
107
113
  }
108
114
 
109
- /* Set the plot title to transparent, which makes it not visible on the page but visible on download. */
110
115
  terra-plot::part(plot-title) {
111
116
  opacity: 0;
117
+ z-index: 0 !important;
112
118
  }
113
119
 
114
120
  dialog {
115
121
  opacity: 1;
116
- transition: opacity 0.3s ease-out 0.4s; /* a short delay, to allow local results to be displayed without a loading icon */
117
- place-self: center;
118
- z-index: var(--terra-z-index-dialog);
122
+ transition: opacity 0.3s ease-out 0.4s;
119
123
 
120
124
  @starting-style {
121
125
  opacity: 0;
122
126
  }
127
+
128
+ place-self: center;
129
+ z-index: var(--terra-z-index-dialog);
130
+ }
131
+
132
+ dialog {
133
+ width: 450px;
134
+ max-width: 90vw;
135
+ padding: 1.5rem;
136
+ border-radius: 8px;
137
+ border: 1px solid var(--terra-color-neutral-200, #e5e7eb);
138
+ box-shadow:
139
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1),
140
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
141
+ background-color: var(--terra-color-neutral-0, #ffffff);
142
+ }
143
+
144
+ dialog h2 {
145
+ margin-top: 0;
146
+ color: var(--terra-color-danger-600, #dc2626);
147
+ font-size: 1.2rem;
148
+ }
149
+
150
+ dialog ul {
151
+ margin-bottom: 1.5rem;
152
+ }
153
+
154
+ dialog li {
155
+ margin-bottom: 0.5rem;
156
+ }
157
+
158
+ .dialog-buttons {
159
+ display: flex;
160
+ justify-content: flex-end;
161
+ gap: 1rem;
162
+ margin-top: 1.5rem;
123
163
  }
124
164
  `;
125
165
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableCombobox
3
- } from "./chunk.NW3BG32V.js";
3
+ } from "./chunk.TVLFTKMX.js";
4
4
 
5
5
  // src/react/variable-combobox/index.ts
6
6
  import * as React from "react";
@@ -1,25 +1,23 @@
1
1
  import {
2
2
  FetchController
3
- } from "./chunk.KRV3QC6E.js";
3
+ } from "./chunk.2IBDQF7X.js";
4
4
  import {
5
+ variable_combobox_styles_default
6
+ } from "./chunk.RU6G6JLS.js";
7
+ import {
8
+ adaptValueToVariableMetadata,
5
9
  clearSelection,
6
10
  groupDocsByCollection,
7
11
  removeEmptyCollections,
8
12
  renderSearchResult,
9
13
  walkToOption
10
- } from "./chunk.MJY6U2Q2.js";
11
- import {
12
- variable_combobox_styles_default
13
- } from "./chunk.SWEK2UAG.js";
14
+ } from "./chunk.JXGOY6TG.js";
14
15
  import {
15
16
  h
16
17
  } from "./chunk.QB5SASDL.js";
17
18
  import {
18
19
  icon_default
19
- } from "./chunk.3T5XKTPL.js";
20
- import {
21
- button_default
22
- } from "./chunk.KJJ66WSH.js";
20
+ } from "./chunk.DDGJ6BLG.js";
23
21
  import {
24
22
  Fuse
25
23
  } from "./chunk.U7L2FN7F.js";
@@ -29,13 +27,16 @@ import {
29
27
  import {
30
28
  n as n2
31
29
  } from "./chunk.2XCNCXGV.js";
30
+ import {
31
+ button_default
32
+ } from "./chunk.X4S4SQKL.js";
32
33
  import {
33
34
  watch
34
35
  } from "./chunk.CBV7M6CJ.js";
35
36
  import {
36
37
  TerraElement,
37
38
  component_styles_default
38
- } from "./chunk.HSHJMWBR.js";
39
+ } from "./chunk.AX2SA27I.js";
39
40
  import {
40
41
  n,
41
42
  r
@@ -49,28 +50,34 @@ import {
49
50
  __decorateClass,
50
51
  __privateAdd,
51
52
  __privateGet,
53
+ __privateMethod,
52
54
  __privateSet,
53
55
  __spreadProps,
54
56
  __spreadValues
55
57
  } from "./chunk.MR27IH5Z.js";
56
58
 
57
59
  // src/components/variable-combobox/variable-combobox.component.ts
58
- var _combobox, _fetchController, _searchableList, _listbox, _searchEngine, _walker, _dispatchChange, _handleButtonClick, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption;
60
+ var _combobox, _fetchController, _searchableList, _listbox, _searchEngine, _walker, _tagContainer, _dispatchChange, _handleButtonClick, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _renderTags, renderTags_fn;
59
61
  var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
60
62
  constructor() {
61
63
  super(...arguments);
64
+ __privateAdd(this, _renderTags);
62
65
  __privateAdd(this, _combobox, null);
63
66
  __privateAdd(this, _fetchController, void 0);
64
67
  __privateAdd(this, _searchableList, []);
65
68
  __privateAdd(this, _listbox, null);
66
69
  __privateAdd(this, _searchEngine, null);
67
70
  __privateAdd(this, _walker, null);
71
+ __privateAdd(this, _tagContainer, null);
68
72
  this.label = "Search for Variables";
69
73
  this.hideHelp = false;
70
74
  this.hideLabel = false;
75
+ this.useTags = false;
71
76
  this.isExpanded = false;
72
77
  this.query = _TerraVariableCombobox.initialQuery;
73
78
  this.searchResults = [];
79
+ this.tags = [];
80
+ this.tagContainerWidth = 0;
74
81
  __privateAdd(this, _dispatchChange, (stringifiedData) => {
75
82
  this.emit("terra-combobox-change", { detail: JSON.parse(stringifiedData) });
76
83
  });
@@ -166,7 +173,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
166
173
  }
167
174
  });
168
175
  __privateAdd(this, _selectOption, (option) => {
169
- const { longName, eventDetail } = option.dataset;
176
+ const { longName, eventDetail, name } = option.dataset;
170
177
  this.query = `${longName}`;
171
178
  __privateGet(this, _dispatchChange).call(this, eventDetail);
172
179
  this.isExpanded = false;
@@ -174,22 +181,32 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
174
181
  __privateGet(this, _combobox),
175
182
  __privateGet(this, _listbox)
176
183
  );
184
+ if (this.useTags) {
185
+ this.tags = [`${name}`];
186
+ __privateGet(this, _combobox).value = _TerraVariableCombobox.initialQuery;
187
+ this.query = _TerraVariableCombobox.initialQuery;
188
+ }
177
189
  });
178
190
  }
179
- async valueChanged() {
180
- var _a;
191
+ async valueChanged(oldValue, newValue) {
192
+ var _a, _b;
193
+ if (oldValue === newValue) {
194
+ return;
195
+ }
181
196
  await __privateGet(this, _fetchController).taskComplete;
182
- const selectedVariable = (_a = __privateGet(this, _fetchController).value) == null ? void 0 : _a.find((variable) => {
183
- const lastUnderscoreIndex = this.value.lastIndexOf("_");
184
- const collection = this.value.substring(0, lastUnderscoreIndex);
185
- const variableName = this.value.substring(lastUnderscoreIndex + 1);
186
- const modifiedCollection = collection.replace(/_v(?=[^_]*$)/, "_");
187
- const fixedValue = `${modifiedCollection}_${variableName}`;
188
- return variable.entryId === fixedValue;
197
+ const compatibleValue = adaptValueToVariableMetadata(this.value);
198
+ const selectedVariable = (_a = __privateGet(this, _fetchController).value) == null ? void 0 : _a.find((metadata) => {
199
+ return compatibleValue === metadata.entryId;
189
200
  });
190
201
  if (selectedVariable) {
191
202
  this.query = selectedVariable.longName;
203
+ this.searchResults = (_b = __privateGet(this, _searchEngine)) == null ? void 0 : _b.search(this.query).map(({ item }) => item);
192
204
  __privateGet(this, _dispatchChange).call(this, selectedVariable.eventDetail);
205
+ if (this.useTags) {
206
+ this.tags = [`${selectedVariable.name}`];
207
+ __privateGet(this, _combobox).value = _TerraVariableCombobox.initialQuery;
208
+ this.query = _TerraVariableCombobox.initialQuery;
209
+ }
193
210
  }
194
211
  }
195
212
  connectedCallback() {
@@ -211,13 +228,28 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
211
228
  this.isExpanded = !this.isExpanded;
212
229
  }
213
230
  render() {
214
- var _a, _b, _c;
215
- const searchHasNoMatches = ((_a = this.searchResults) == null ? void 0 : _a.length) === 0 && ((_b = __privateGet(this, _searchableList)) == null ? void 0 : _b.length) !== 0 && this.query !== _TerraVariableCombobox.initialQuery;
231
+ var _a;
216
232
  return x`<search part="base" title="Search through the list.">
217
233
  <label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
218
234
  >${this.label}</label
219
235
  >
220
236
  <div class="search-input-group">
237
+ ${this.useTags ? x`<div
238
+ ${n2((el) => {
239
+ var _a2;
240
+ if (el) {
241
+ (_a2 = __privateGet(this, _tagContainer)) != null ? _a2 : __privateSet(this, _tagContainer, el);
242
+ this.tagContainerWidth = el.getBoundingClientRect().width;
243
+ }
244
+ })}
245
+ class="tag-container"
246
+ id="tag-container"
247
+ >
248
+ ${o(
249
+ this.tags,
250
+ (value, index) => __privateMethod(this, _renderTags, renderTags_fn).call(this, value, index)
251
+ )}
252
+ </div>` : T}
221
253
  <input
222
254
  ${n2((el) => {
223
255
  var _a2;
@@ -225,6 +257,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
225
257
  (_a2 = __privateGet(this, _combobox)) != null ? _a2 : __privateSet(this, _combobox, el);
226
258
  }
227
259
  })}
260
+ autocomplete="off"
228
261
  aria-autocomplete="list"
229
262
  aria-controls="listbox"
230
263
  aria-haspopup="list"
@@ -234,8 +267,10 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
234
267
  part="combobox"
235
268
  role="combobox"
236
269
  type="text"
237
- .placeholder=${(_c = this.placeholder) != null ? _c : `${this.label}\u2026`}
238
- .value=${this.query}
270
+ style=${this.useTags ? `padding-inline-start: calc(${this.tagContainerWidth}px + 0.25rem);` : T}
271
+ aria-describedby=${this.useTags ? "tag-container" : T}
272
+ placeholder=${this.useTags ? T : (_a = this.placeholder) != null ? _a : `${this.label}\u2026`}
273
+ .value=${this.useTags ? _TerraVariableCombobox.initialQuery : this.query}
239
274
  @input=${__privateGet(this, _handleComboboxChange)}
240
275
  @keydown=${__privateGet(this, _handleKeydown)}
241
276
  />
@@ -309,18 +344,6 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
309
344
  role="listbox"
310
345
  class="search-results"
311
346
  >
312
- ${searchHasNoMatches ? x`<li
313
- class="listbox-option-group"
314
- data-tree-walker="filter_skip"
315
- >
316
- <terra-button
317
- @click=${() => this.query = _TerraVariableCombobox.initialQuery}
318
- class="clear-button"
319
- data-tree-walker="filter_skip"
320
- >
321
- clear search
322
- </terra-button>
323
- </li>` : T}
324
347
  ${__privateGet(this, _fetchController).render({
325
348
  initial: () => x`<li class="updating">Updating List of Variables</li>`,
326
349
  pending: () => x`<li class="updating">Updating List of Variables</li>`,
@@ -367,6 +390,7 @@ _searchableList = new WeakMap();
367
390
  _listbox = new WeakMap();
368
391
  _searchEngine = new WeakMap();
369
392
  _walker = new WeakMap();
393
+ _tagContainer = new WeakMap();
370
394
  _dispatchChange = new WeakMap();
371
395
  _handleButtonClick = new WeakMap();
372
396
  _handleComboboxChange = new WeakMap();
@@ -374,6 +398,34 @@ _handleOptionClick = new WeakMap();
374
398
  _handleKeydown = new WeakMap();
375
399
  _manageListboxVisibility = new WeakMap();
376
400
  _selectOption = new WeakMap();
401
+ _renderTags = new WeakSet();
402
+ renderTags_fn = function(tag, _index) {
403
+ return x`
404
+ <terra-button
405
+ size="small"
406
+ variant="default"
407
+ outline
408
+ class="tag"
409
+ aria-label=${`Clear tag ${tag}`}
410
+ @click=${() => {
411
+ this.tags = [];
412
+ this.clear();
413
+ setTimeout(() => {
414
+ var _a;
415
+ this.tagContainerWidth = (_a = __privateGet(this, _tagContainer)) == null ? void 0 : _a.getBoundingClientRect().width;
416
+ }, 100);
417
+ }}
418
+ >
419
+ ${tag}
420
+ <terra-icon
421
+ class="tag-icon"
422
+ slot="suffix"
423
+ name="outline-x-circle"
424
+ library="heroicons"
425
+ ></terra-icon>
426
+ </terra-button>
427
+ `;
428
+ };
377
429
  _TerraVariableCombobox.dependencies = {
378
430
  "terra-button": button_default,
379
431
  "terra-icon": icon_default
@@ -391,11 +443,14 @@ __decorateClass([
391
443
  n()
392
444
  ], _TerraVariableCombobox.prototype, "placeholder", 2);
393
445
  __decorateClass([
394
- n({ attribute: "hide-help", type: Boolean })
446
+ n({ attribute: "hide-help", type: Boolean, reflect: true })
395
447
  ], _TerraVariableCombobox.prototype, "hideHelp", 2);
396
448
  __decorateClass([
397
- n({ attribute: "hide-label", type: Boolean })
449
+ n({ attribute: "hide-label", type: Boolean, reflect: true })
398
450
  ], _TerraVariableCombobox.prototype, "hideLabel", 2);
451
+ __decorateClass([
452
+ n({ attribute: "use-tags", type: Boolean, reflect: true })
453
+ ], _TerraVariableCombobox.prototype, "useTags", 2);
399
454
  __decorateClass([
400
455
  n()
401
456
  ], _TerraVariableCombobox.prototype, "value", 2);
@@ -411,6 +466,12 @@ __decorateClass([
411
466
  __decorateClass([
412
467
  r()
413
468
  ], _TerraVariableCombobox.prototype, "searchResults", 2);
469
+ __decorateClass([
470
+ r()
471
+ ], _TerraVariableCombobox.prototype, "tags", 2);
472
+ __decorateClass([
473
+ r()
474
+ ], _TerraVariableCombobox.prototype, "tagContainerWidth", 2);
414
475
  __decorateClass([
415
476
  watch("value")
416
477
  ], _TerraVariableCombobox.prototype, "valueChanged", 1);
@@ -7,19 +7,19 @@ import {
7
7
  o,
8
8
  s
9
9
  } from "./chunk.GNSDRDLV.js";
10
- import {
11
- button_styles_default
12
- } from "./chunk.YVG2XG3L.js";
13
10
  import {
14
11
  watch
15
12
  } from "./chunk.CBV7M6CJ.js";
13
+ import {
14
+ button_styles_default
15
+ } from "./chunk.YVG2XG3L.js";
16
16
  import {
17
17
  e
18
18
  } from "./chunk.YVSJQ4KD.js";
19
19
  import {
20
20
  TerraElement,
21
21
  component_styles_default
22
- } from "./chunk.HSHJMWBR.js";
22
+ } from "./chunk.AX2SA27I.js";
23
23
  import {
24
24
  e as e2,
25
25
  n as n2,
@@ -315,7 +315,6 @@ var TerraButton = class extends TerraElement {
315
315
  _handleDialogStateChange = new WeakSet();
316
316
  handleDialogStateChange_fn = function(e3) {
317
317
  if (this.forDialog && this.forDialog === e3.target.id) {
318
- this.expanded = e3.target.open;
319
318
  }
320
319
  };
321
320
  TerraButton.styles = [component_styles_default, button_styles_default];