@nasa-terra/components 0.0.1 → 0.0.3

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 (266) hide show
  1. package/cdn/chunks/{chunk.JV6B7CXO.js → chunk.2LF7SMGQ.js} +11 -13
  2. package/cdn/chunks/{chunk.MXAZ646L.js → chunk.3JODJSTO.js} +1 -1
  3. package/cdn/chunks/{chunk.KVY2Y3KE.js → chunk.4D2G6L4V.js} +1 -1
  4. package/cdn/chunks/{chunk.GCKJPPGU.js → chunk.566BRIWX.js} +1 -1
  5. package/cdn/chunks/{chunk.JCZW2OWI.js → chunk.74CNHGFN.js} +1 -1
  6. package/cdn/chunks/{chunk.RBKBAQOH.js → chunk.A3BJQZCH.js} +6 -6
  7. package/cdn/chunks/{chunk.TV2NZLRC.js → chunk.B2HOKF44.js} +4 -4
  8. package/cdn/chunks/{chunk.IQITDFID.js → chunk.E2SRXXI6.js} +1 -1
  9. package/cdn/chunks/{chunk.4YOL6PQR.js → chunk.ELPRRHTE.js} +1 -1
  10. package/cdn/chunks/{chunk.VEUDIPUW.js → chunk.FS5IKMJD.js} +1 -1
  11. package/cdn/chunks/{chunk.MOJMTJF6.js → chunk.GR5QBZMP.js} +1 -1
  12. package/cdn/chunks/{chunk.ITX3RB2M.js → chunk.HCBG34UV.js} +1 -1
  13. package/cdn/chunks/{chunk.U6DUAIIP.js → chunk.IKBILRIY.js} +21 -0
  14. package/{dist/chunks/chunk.NZIGCRLS.js → cdn/chunks/chunk.JCBJR2VJ.js} +1 -1
  15. package/cdn/chunks/{chunk.2B4YBQ5O.js → chunk.JE7ZZRL6.js} +1 -1
  16. package/cdn/chunks/{chunk.A4PYD2BT.js → chunk.JM6ZF7AP.js} +4 -1
  17. package/{dist/chunks/chunk.7DEY3B3N.js → cdn/chunks/chunk.JOSFOMOK.js} +1 -1
  18. package/cdn/chunks/{chunk.NU4LRV7F.js → chunk.JUCL53DU.js} +1 -1
  19. package/cdn/chunks/{chunk.BINGLTII.js → chunk.K6YHM5TZ.js} +7 -3
  20. package/cdn/chunks/{chunk.M25XJ2VR.js → chunk.LBKLXTIO.js} +77 -52
  21. package/cdn/chunks/{chunk.QQ33BJLG.js → chunk.LHW6ZEEG.js} +1 -1
  22. package/{dist/chunks/chunk.IP3XWLQI.js → cdn/chunks/chunk.LIQU3FGS.js} +1 -1
  23. package/cdn/chunks/{chunk.MIAPAPCI.js → chunk.LT6GFPPN.js} +1 -1
  24. package/cdn/chunks/{chunk.FZT3BVW7.js → chunk.M4QB4Z2D.js} +1 -1
  25. package/cdn/chunks/{chunk.R3AE5AQ5.js → chunk.ON2RU4HZ.js} +4 -4
  26. package/cdn/chunks/{chunk.UQVPFKN3.js → chunk.ONGS57TV.js} +7 -7
  27. package/cdn/chunks/{chunk.DQGFAA4K.js → chunk.PDXFKRVY.js} +4 -4
  28. package/cdn/chunks/{chunk.MQ5JNQCQ.js → chunk.PM3G4HWU.js} +1 -1
  29. package/{dist/chunks/chunk.IEU4MULT.js → cdn/chunks/chunk.PS5CJCUL.js} +1 -1
  30. package/cdn/chunks/{chunk.FXIUS5TR.js → chunk.RXDN2NM7.js} +1 -1
  31. package/cdn/chunks/{chunk.2YI7V6QJ.js → chunk.SBDX4GGT.js} +24 -0
  32. package/cdn/chunks/{chunk.ZQ5WJYY5.js → chunk.SNTGQTAS.js} +1 -1
  33. package/cdn/chunks/{chunk.RVJP24KU.js → chunk.U5J3OV4V.js} +1 -1
  34. package/cdn/chunks/{chunk.2O76GCUZ.js → chunk.X56PW5HS.js} +1 -1
  35. package/cdn/chunks/{chunk.J576Q62R.js → chunk.XQOP7YET.js} +1 -1
  36. package/cdn/chunks/{chunk.IO4MLLEG.js → chunk.XZEK52FD.js} +1 -1
  37. package/cdn/chunks/{chunk.KXLY6BVH.js → chunk.ZO75EFUN.js} +4 -4
  38. package/cdn/chunks/{chunk.WNRL2JWN.js → chunk.ZUGL2FNZ.js} +1 -1
  39. package/cdn/components/button/button.component.js +3 -3
  40. package/cdn/components/button/button.js +4 -4
  41. package/cdn/components/chip/chip.component.js +3 -3
  42. package/cdn/components/chip/chip.js +4 -4
  43. package/cdn/components/combobox/combobox.component.js +4 -4
  44. package/cdn/components/combobox/combobox.js +5 -5
  45. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  46. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  47. package/cdn/components/icon/icon.component.js +3 -3
  48. package/cdn/components/icon/icon.js +4 -4
  49. package/cdn/components/loader/loader.component.d.ts +2 -0
  50. package/cdn/components/loader/loader.component.js +3 -3
  51. package/cdn/components/loader/loader.js +4 -4
  52. package/cdn/components/loader/loader.styles.js +1 -1
  53. package/cdn/components/map/map.component.js +4 -4
  54. package/cdn/components/map/map.js +5 -5
  55. package/cdn/components/plot/plot.component.js +2 -2
  56. package/cdn/components/plot/plot.js +3 -3
  57. package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
  58. package/cdn/components/spatial-picker/spatial-picker.js +6 -6
  59. package/cdn/components/time-series/time-series.component.d.ts +4 -0
  60. package/cdn/components/time-series/time-series.component.js +30 -28
  61. package/cdn/components/time-series/time-series.controller.d.ts +1 -0
  62. package/cdn/components/time-series/time-series.controller.js +1 -1
  63. package/cdn/components/time-series/time-series.js +31 -29
  64. package/cdn/components/time-series/time-series.styles.js +1 -1
  65. package/cdn/components/variable-combobox/variable-combobox.component.js +12 -12
  66. package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
  67. package/cdn/components/variable-combobox/variable-combobox.js +13 -13
  68. package/cdn/custom-elements.json +352 -326
  69. package/cdn/react/button/index.js +4 -4
  70. package/cdn/react/chip/index.js +4 -4
  71. package/cdn/react/combobox/index.js +5 -5
  72. package/cdn/react/date-range-slider/index.js +3 -3
  73. package/cdn/react/icon/index.js +4 -4
  74. package/cdn/react/index.d.ts +4 -4
  75. package/cdn/react/index.js +52 -52
  76. package/cdn/react/loader/index.js +4 -4
  77. package/cdn/react/map/index.js +5 -5
  78. package/cdn/react/plot/index.js +3 -3
  79. package/cdn/react/spatial-picker/index.js +6 -6
  80. package/cdn/react/time-series/index.d.ts +2 -0
  81. package/cdn/react/time-series/index.js +31 -29
  82. package/cdn/react/variable-combobox/index.js +13 -13
  83. package/cdn/terra-ui-components.js +55 -55
  84. package/cdn/types/vue/index.d.ts +68 -66
  85. package/cdn/utilities/animation.js +3 -3
  86. package/cdn/vscode.html-custom-data.json +74 -69
  87. package/cdn/web-types.json +152 -142
  88. package/{cdn/chunks/chunk.OOUCODFZ.js → dist/chunks/chunk.2RJXTLAA.js} +11 -13
  89. package/{cdn/chunks/chunk.Y3WAKQQ3.js → dist/chunks/chunk.33FFT37R.js} +2 -2
  90. package/{cdn/chunks/chunk.77L4US7V.js → dist/chunks/chunk.3SRITTYR.js} +1 -1
  91. package/dist/chunks/{chunk.QSCELHEQ.js → chunk.4GCNO2RC.js} +4 -4
  92. package/dist/chunks/{chunk.UE4FYVUH.js → chunk.6DRNHPKF.js} +1 -1
  93. package/{cdn/chunks/chunk.MKXJDRVT.js → dist/chunks/chunk.7DFKM3M3.js} +1 -1
  94. package/{cdn/chunks/chunk.OLCGKQR3.js → dist/chunks/chunk.AJUYULUM.js} +1 -1
  95. package/dist/chunks/{chunk.EFAXKQZX.js → chunk.ALFBRTWT.js} +1 -1
  96. package/dist/chunks/{chunk.Z2WXDYZC.js → chunk.B7L6K56Y.js} +7 -3
  97. package/dist/chunks/{chunk.I2NEFB34.js → chunk.CL62YJ3N.js} +21 -0
  98. package/{cdn/chunks/chunk.BB7N2ZYB.js → dist/chunks/chunk.EDKH7GOS.js} +1 -1
  99. package/{cdn/chunks/chunk.7DEY3B3N.js → dist/chunks/chunk.EPOITANB.js} +1 -1
  100. package/dist/chunks/{chunk.65A3A43G.js → chunk.FLO6VVGK.js} +1 -1
  101. package/{cdn/chunks/chunk.27YQ2AOA.js → dist/chunks/chunk.FOD357NT.js} +35 -12
  102. package/{cdn/chunks/chunk.ZGJAUXFV.js → dist/chunks/chunk.GPUFE4ML.js} +24 -0
  103. package/dist/chunks/{chunk.MWHQHPUM.js → chunk.GWHZAFS3.js} +4 -1
  104. package/{cdn/chunks/chunk.ZAHTEXVC.js → dist/chunks/chunk.HSPKB2MG.js} +1 -1
  105. package/{cdn/chunks/chunk.36AVAQOO.js → dist/chunks/chunk.IOP7DABN.js} +6 -6
  106. package/dist/chunks/{chunk.P25SJ6YA.js → chunk.JL4ZDCDW.js} +4 -4
  107. package/{cdn/chunks/chunk.SMRM4VEQ.js → dist/chunks/chunk.KJIDKCTU.js} +1 -1
  108. package/{cdn/chunks/chunk.P7W2ODWK.js → dist/chunks/chunk.LUYLEISL.js} +1 -1
  109. package/dist/chunks/{chunk.MOJMTJF6.js → chunk.LXE4USTN.js} +1 -1
  110. package/{cdn/chunks/chunk.D33ZL7ZQ.js → dist/chunks/chunk.LZWNT5PB.js} +1 -1
  111. package/{cdn/chunks/chunk.GHCQCYO6.js → dist/chunks/chunk.MMYKMN6B.js} +4 -4
  112. package/dist/chunks/{chunk.RDOXOIYG.js → chunk.MPA4M3E7.js} +1 -1
  113. package/{cdn/chunks/chunk.UJBBUYTN.js → dist/chunks/chunk.MVKAIELO.js} +1 -1
  114. package/dist/chunks/{chunk.PGNCNTOA.js → chunk.NF7CULQM.js} +1 -1
  115. package/{cdn/chunks/chunk.KH54YRZ3.js → dist/chunks/chunk.OIEDIUMT.js} +1 -1
  116. package/dist/chunks/{chunk.3LUNFNDR.js → chunk.PRBM2XXL.js} +1 -1
  117. package/{cdn/chunks/chunk.PJXIJK2G.js → dist/chunks/chunk.PSTXVQB5.js} +1 -1
  118. package/dist/chunks/{chunk.EMISRECR.js → chunk.PU5MKRJ3.js} +1 -1
  119. package/dist/chunks/{chunk.FZT3BVW7.js → chunk.Q2BSVCPH.js} +1 -1
  120. package/{cdn/chunks/chunk.JOVDYQHE.js → dist/chunks/chunk.S2WDTAIJ.js} +1 -1
  121. package/{cdn/chunks/chunk.YOR2OZZR.js → dist/chunks/chunk.S4JQ7QD5.js} +1 -1
  122. package/{cdn/chunks/chunk.ZPPR6CPT.js → dist/chunks/chunk.XLQO6OZU.js} +1 -1
  123. package/{cdn/chunks/chunk.SJADWOCY.js → dist/chunks/chunk.YRZFOIW4.js} +1 -1
  124. package/dist/chunks/{chunk.NOEGCTIS.js → chunk.YUEY7TCJ.js} +7 -7
  125. package/dist/chunks/{chunk.5B33QFBB.js → chunk.ZB6UWPGQ.js} +4 -4
  126. package/dist/components/button/button.component.js +3 -3
  127. package/dist/components/button/button.js +4 -4
  128. package/dist/components/chip/chip.component.js +2 -2
  129. package/dist/components/chip/chip.js +3 -3
  130. package/dist/components/combobox/combobox.component.js +4 -4
  131. package/dist/components/combobox/combobox.js +5 -5
  132. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  133. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  134. package/dist/components/icon/icon.component.js +2 -2
  135. package/dist/components/icon/icon.js +3 -3
  136. package/dist/components/loader/loader.component.d.ts +2 -0
  137. package/dist/components/loader/loader.component.js +3 -3
  138. package/dist/components/loader/loader.js +4 -4
  139. package/dist/components/loader/loader.styles.js +1 -1
  140. package/dist/components/map/map.component.js +4 -4
  141. package/dist/components/map/map.js +5 -5
  142. package/dist/components/plot/plot.component.js +2 -2
  143. package/dist/components/plot/plot.js +3 -3
  144. package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
  145. package/dist/components/spatial-picker/spatial-picker.js +6 -6
  146. package/dist/components/time-series/time-series.component.d.ts +4 -0
  147. package/dist/components/time-series/time-series.component.js +25 -23
  148. package/dist/components/time-series/time-series.controller.d.ts +1 -0
  149. package/dist/components/time-series/time-series.controller.js +1 -1
  150. package/dist/components/time-series/time-series.js +26 -24
  151. package/dist/components/time-series/time-series.styles.js +1 -1
  152. package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
  153. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
  154. package/dist/components/variable-combobox/variable-combobox.js +10 -10
  155. package/dist/custom-elements.json +352 -326
  156. package/dist/react/button/index.js +4 -4
  157. package/dist/react/chip/index.js +3 -3
  158. package/dist/react/combobox/index.js +5 -5
  159. package/dist/react/date-range-slider/index.js +3 -3
  160. package/dist/react/icon/index.js +3 -3
  161. package/dist/react/index.d.ts +4 -4
  162. package/dist/react/index.js +48 -48
  163. package/dist/react/loader/index.js +4 -4
  164. package/dist/react/map/index.js +5 -5
  165. package/dist/react/plot/index.js +3 -3
  166. package/dist/react/spatial-picker/index.js +6 -6
  167. package/dist/react/time-series/index.d.ts +2 -0
  168. package/dist/react/time-series/index.js +26 -24
  169. package/dist/react/variable-combobox/index.js +10 -10
  170. package/dist/terra-ui-components.js +48 -48
  171. package/dist/types/vue/index.d.ts +68 -66
  172. package/dist/vscode.html-custom-data.json +74 -69
  173. package/dist/web-types.json +152 -142
  174. package/package.json +1 -1
  175. package/cdn/chunks/chunk.2I657ASB.js +0 -85
  176. package/cdn/chunks/chunk.2J6CFV4K.js +0 -11
  177. package/cdn/chunks/chunk.2V4XFMTB.js +0 -7
  178. package/cdn/chunks/chunk.3ZGFXEAJ.js +0 -273
  179. package/cdn/chunks/chunk.7VUSSQRI.js +0 -20
  180. package/cdn/chunks/chunk.AAWOHDFX.js +0 -259
  181. package/cdn/chunks/chunk.AEIZVWLR.js +0 -24
  182. package/cdn/chunks/chunk.BLNUBLUS.js +0 -289
  183. package/cdn/chunks/chunk.DL3FIOYA.js +0 -21
  184. package/cdn/chunks/chunk.EFAXKQZX.js +0 -11
  185. package/cdn/chunks/chunk.EMISRECR.js +0 -214
  186. package/cdn/chunks/chunk.FGILL5W6.js +0 -118
  187. package/cdn/chunks/chunk.I2NEFB34.js +0 -99
  188. package/cdn/chunks/chunk.I32QCWMN.js +0 -21
  189. package/cdn/chunks/chunk.IBEKZVOY.js +0 -80
  190. package/cdn/chunks/chunk.IP3XWLQI.js +0 -11
  191. package/cdn/chunks/chunk.JFU3ZCDL.js +0 -359
  192. package/cdn/chunks/chunk.LELNKRPW.js +0 -685
  193. package/cdn/chunks/chunk.MDM7S6E6.js +0 -21
  194. package/cdn/chunks/chunk.MWHQHPUM.js +0 -54
  195. package/cdn/chunks/chunk.N2DS7NLI.js +0 -102
  196. package/cdn/chunks/chunk.NYBJ252W.js +0 -318
  197. package/cdn/chunks/chunk.OIDMX5LU.js +0 -10
  198. package/cdn/chunks/chunk.OQE2USZJ.js +0 -41
  199. package/cdn/chunks/chunk.OU4UPMYR.js +0 -330
  200. package/cdn/chunks/chunk.P25SJ6YA.js +0 -478
  201. package/cdn/chunks/chunk.RDOXOIYG.js +0 -11
  202. package/cdn/chunks/chunk.RYPAZDXE.js +0 -61
  203. package/cdn/chunks/chunk.SCU5LFS3.js +0 -325
  204. package/cdn/chunks/chunk.SHS42OAD.js +0 -620
  205. package/cdn/chunks/chunk.SQMSSGQI.js +0 -11
  206. package/cdn/chunks/chunk.T322FDKI.js +0 -300
  207. package/cdn/chunks/chunk.UE4FYVUH.js +0 -25
  208. package/cdn/chunks/chunk.UU46CLE7.js +0 -120
  209. package/cdn/chunks/chunk.WGFD2LHA.js +0 -83
  210. package/cdn/chunks/chunk.WL747XGE.js +0 -194
  211. package/cdn/chunks/chunk.ZCNMYQP2.js +0 -113
  212. package/cdn/chunks/chunk.ZK7QVWBI.js +0 -37
  213. package/cdn/chunks/chunk.ZVKNJQPF.js +0 -25
  214. package/dist/chunks/chunk.27YQ2AOA.js +0 -251
  215. package/dist/chunks/chunk.2I657ASB.js +0 -85
  216. package/dist/chunks/chunk.2O76GCUZ.js +0 -21
  217. package/dist/chunks/chunk.2WZAYHEX.js +0 -214
  218. package/dist/chunks/chunk.356SSUTI.js +0 -11
  219. package/dist/chunks/chunk.36AVAQOO.js +0 -404
  220. package/dist/chunks/chunk.3D66L46K.js +0 -11
  221. package/dist/chunks/chunk.4MN2BLJS.js +0 -21
  222. package/dist/chunks/chunk.BB7N2ZYB.js +0 -21
  223. package/dist/chunks/chunk.D6FJH7WA.js +0 -21
  224. package/dist/chunks/chunk.DDPOISEU.js +0 -179
  225. package/dist/chunks/chunk.EBBV6NVD.js +0 -11
  226. package/dist/chunks/chunk.FGILL5W6.js +0 -118
  227. package/dist/chunks/chunk.FXIUS5TR.js +0 -21
  228. package/dist/chunks/chunk.GHCQCYO6.js +0 -179
  229. package/dist/chunks/chunk.HO5CZIK5.js +0 -11
  230. package/dist/chunks/chunk.I32QCWMN.js +0 -21
  231. package/dist/chunks/chunk.IO4MLLEG.js +0 -21
  232. package/dist/chunks/chunk.J4B6HPXD.js +0 -11
  233. package/dist/chunks/chunk.J576Q62R.js +0 -11
  234. package/dist/chunks/chunk.JCZW2OWI.js +0 -11
  235. package/dist/chunks/chunk.K2HRGRYE.js +0 -11
  236. package/dist/chunks/chunk.KXNDHJXA.js +0 -404
  237. package/dist/chunks/chunk.MIAPAPCI.js +0 -21
  238. package/dist/chunks/chunk.MXAZ646L.js +0 -11
  239. package/dist/chunks/chunk.NNLAIN52.js +0 -11
  240. package/dist/chunks/chunk.NO35M7LF.js +0 -21
  241. package/dist/chunks/chunk.NU4LRV7F.js +0 -21
  242. package/dist/chunks/chunk.OIGE7CMM.js +0 -11
  243. package/dist/chunks/chunk.OOUCODFZ.js +0 -179
  244. package/dist/chunks/chunk.ORZO3BCW.js +0 -102
  245. package/dist/chunks/chunk.P4QMMCAR.js +0 -24
  246. package/dist/chunks/chunk.PJXIJK2G.js +0 -102
  247. package/dist/chunks/chunk.Q7F3GGVA.js +0 -251
  248. package/dist/chunks/chunk.QQ33BJLG.js +0 -11
  249. package/dist/chunks/chunk.SBTZE5QZ.js +0 -21
  250. package/dist/chunks/chunk.SCU5LFS3.js +0 -325
  251. package/dist/chunks/chunk.SJADWOCY.js +0 -11
  252. package/dist/chunks/chunk.SMRM4VEQ.js +0 -11
  253. package/dist/chunks/chunk.T7MOUOBT.js +0 -11
  254. package/dist/chunks/chunk.UJBBUYTN.js +0 -11
  255. package/dist/chunks/chunk.WGFD2LHA.js +0 -83
  256. package/dist/chunks/chunk.WL747XGE.js +0 -194
  257. package/dist/chunks/chunk.WNRL2JWN.js +0 -21
  258. package/dist/chunks/chunk.XKDGF53W.js +0 -21
  259. package/dist/chunks/chunk.XLYZ6HY4.js +0 -179
  260. package/dist/chunks/chunk.XXV47QL2.js +0 -21
  261. package/dist/chunks/chunk.Y3WAKQQ3.js +0 -179
  262. package/dist/chunks/chunk.Y5CHSR6B.js +0 -21
  263. package/dist/chunks/chunk.YDJ7Z7YW.js +0 -478
  264. package/dist/chunks/chunk.YDMA4OA3.js +0 -11
  265. package/dist/chunks/chunk.ZGJAUXFV.js +0 -39
  266. package/cdn/chunks/{chunk.XR56EMXH.js → chunk.LQCRC4E2.js} +8 -8
@@ -1,300 +0,0 @@
1
- // src/components/variable-combobox/variable-combobox.styles.ts
2
- import { css } from "lit";
3
- var variable_combobox_styles_default = css`
4
- :host {
5
- --color-blue--400: #007acc;
6
- --color-blue--500: #1c67e3;
7
- --color-blue--600: #0b3d91;
8
-
9
- --color-red--400: #f64137;
10
- --color-red--500: #b60109;
11
-
12
- --color-neutral--000: #ffffff;
13
- --color-neutral--100: #f7f7f7;
14
- --color-neutral--200: #d1d1d1;
15
- --color-neutral--300: #b9b9bb;
16
- --color-neutral--400: #959599;
17
- --color-neutral--500: #767676;
18
- --color-neutral--600: #58585b;
19
- --color-neutral--700: #2e2e32;
20
- --color-neutral--800: #1b1b1b;
21
-
22
- --font-family--inter: Inter, sans-serif;
23
- --font-family--public-sans: 'Public Sans', sans-serif;
24
- --font-family--dm-mono: 'DM Mono', monospace;
25
-
26
- --label-height: 1.8125rem;
27
- --help-height: 1.8125rem;
28
- --host-height: 5.8125rem;
29
-
30
- block-size: var(--terra-block-size, 2.1875rem);
31
- box-sizing: border-box;
32
- color: var(--terra-color-neutral--700, var(--color-neutral--700));
33
- contain: layout size style;
34
- contain-intrinsic-size: var(--terra-inline-size, 100%)
35
- calc(33vh + var(--terra-block-size, 2.1875rem));
36
- display: block;
37
- font-family: var(
38
- --terra-font-family--public-sans,
39
- var(--font-family--public-sans)
40
- );
41
- height: var(--terra-block-size, var(--host-height));
42
- inline-size: var(--terra-inline-size, 100%);
43
- position: relative;
44
- z-index: 10;
45
- }
46
-
47
- :host([hide-help]) {
48
- height: calc(
49
- var(--terra-block-size, var(--host-height)) - var(--help-height)
50
- );
51
- }
52
-
53
- :host([hide-label]) {
54
- height: calc(
55
- var(--terra-block-size, var(--host-height)) - var(--label-height)
56
- );
57
- }
58
-
59
- :host([hide-help][hide-label]) {
60
- height: calc(
61
- var(--terra-block-size, var(--host-height)) - var(--help-height) - var(
62
- --label-height
63
- )
64
- );
65
- }
66
-
67
- * {
68
- box-sizing: inherit;
69
- }
70
-
71
- .search-input-label {
72
- font-family: var(--terra-font-family--inter, var(--font-family--inter));
73
- font-weight: 600;
74
- line-height: 1.1875rem;
75
- }
76
-
77
- .search-input-group {
78
- block-size: 100%;
79
- display: flex;
80
- flex-wrap: wrap;
81
- }
82
-
83
- .combobox {
84
- background-color: var(--terra-color-neutral--100, var(--color-neutral--100));
85
- block-size: var(--terra-block-size, 2.1875rem);
86
- border-block: 2px solid
87
- var(--terra-color-neutral--200, var(--color-neutral--200));
88
- border-inline-end: 0;
89
- border-inline-start: 2px solid
90
- var(--terra-color-neutral--200, var(--color-neutral--200));
91
- color: currentColor;
92
- flex: 1 1 auto;
93
- font-size: 1rem;
94
- padding-inline: 0.5rem;
95
- transition:
96
- background-color 0.2s ease,
97
- border-color 0.2s ease;
98
- }
99
-
100
- .combobox::placeholder {
101
- color: var(--terra-color-neutral--600, var(--color-neutral--600));
102
- }
103
-
104
- .combobox:focus {
105
- background-color: var(--terra-color-neutral--000, var(--color-neutral--000));
106
- border-color: var(--terra-color-neutral--400, var(--color-neutral--400));
107
- outline: 0;
108
- }
109
-
110
- .combobox:focus + .combobox-button {
111
- background-color: var(--terra-color-neutral--800, var(--color-neutral--800));
112
- border-block-color: var(
113
- --terra-color-neutral--400,
114
- var(--color-neutral--400)
115
- );
116
- border-inline-end-color: var(
117
- --terra-color-neutral--400,
118
- var(--color-neutral--400)
119
- );
120
- }
121
-
122
- .search-input-group:has(.combobox:not(:focus)) + .search-results[open] {
123
- border-color: var(--terra-color-neutral--200, var(--color-neutral--200));
124
- }
125
-
126
- .combobox-button {
127
- align-items: center;
128
- background-color: var(--terra-color-neutral--700, var(--color-neutral--700));
129
- block-size: var(--terra-block-size, 2.1875rem);
130
- border-block: 2px solid
131
- var(--terra-color-neutral--500, var(--color-neutral--500));
132
- border-inline-end: 2px solid
133
- var(--terra-color-neutral--500, var(--color-neutral--500));
134
- border-inline-start: 0;
135
- color: var(--terra-color-neutral--000, var(--color-neutral--000));
136
- cursor: pointer;
137
- display: flex;
138
- flex: 0 0 auto;
139
- font-size: 1rem;
140
- justify-content: center;
141
- margin-block: 0;
142
- margin-inline: 0;
143
- outline: 0;
144
- padding-inline: 0.5rem;
145
- transition:
146
- background-color 0.2s ease,
147
- border-color 0.2s ease;
148
- }
149
-
150
- .combobox-button[aria-expanded='true'] .chevron {
151
- rotate: -0.5turn;
152
- }
153
-
154
- .button-icon {
155
- height: 1rem;
156
- width: 1rem;
157
- }
158
-
159
- .chevron {
160
- transition: rotate 0.2s ease;
161
- will-change: rotate;
162
- }
163
-
164
- .spinner {
165
- transform-origin: center;
166
- animation: spin 2s linear infinite;
167
- }
168
-
169
- .spinner circle {
170
- stroke-linecap: round;
171
- animation: vary-stroke 1.5s ease-in-out infinite;
172
- }
173
-
174
- .search-help {
175
- bottom: 0;
176
- color: var(--terra-color-neutral--600, var(--color-neutral--600));
177
- flex: 1 1 100%;
178
- font-size: 0.875rem;
179
- margin-block: 0;
180
- position: absolute;
181
- }
182
-
183
- .external-link {
184
- fill: currentColor;
185
- vertical-align: middle;
186
- }
187
-
188
- .search-results {
189
- background-color: var(--terra-color-neutral--000, var(--color-neutral--000));
190
- block-size: calc(33vh - var(--terra-block-size, 2.1875rem));
191
- border-block-end: 2px solid transparent;
192
- border-inline: 2px solid transparent;
193
- contain: strict;
194
- contain-intrinsic-size: var(--terra-inline-size, 100%)
195
- calc(33vh - var(--terra-block-size, 2.1875rem));
196
- content-visibility: hidden;
197
- left: 0;
198
- margin-block: 0;
199
- margin-inline: 0;
200
- max-height: 0;
201
- opacity: 0;
202
- overflow-y: auto;
203
- overscroll-behavior: contain;
204
- padding-block: 0.5rem;
205
- padding-inline: 0.5rem;
206
- position: absolute;
207
- right: 0;
208
- visibility: hidden;
209
- transition:
210
- background-color 0.2s ease,
211
- border-color 0.2s ease;
212
- }
213
-
214
- .search-results[open] {
215
- border-color: var(--terra-color-neutral--400, var(--color-neutral--400));
216
- content-visibility: auto;
217
- max-height: calc(33vh - var(--terra-block-size, 2.1875rem));
218
- opacity: 1;
219
- visibility: visible;
220
- }
221
-
222
- .search-results .updating {
223
- font-size: 1.5rem;
224
- padding-block: 4rem;
225
- text-align: center;
226
- }
227
-
228
- .search-results .error {
229
- color: var(--terra-color-red--500, var(--color-red--500));
230
- font-family: var(--terra-font-family--dm-mono, var(--font-family--dm-mono));
231
- padding-block: 2rem;
232
- }
233
-
234
- .listbox-option-group {
235
- padding-inline: 0.5rem;
236
- padding-block: 1rem 0.5rem;
237
- }
238
-
239
- .listbox-option-group:has(.clear-button) {
240
- text-align: center;
241
- }
242
-
243
- .group-title {
244
- font-family: var(--terra-font-family--inter, var(--font-family--inter));
245
- font-weight: 700;
246
- margin-block: 0;
247
- }
248
-
249
- .listbox-option {
250
- cursor: pointer;
251
- list-style: disc;
252
- position: relative;
253
- }
254
-
255
- .listbox-option:hover::before,
256
- .listbox-option[aria-selected='true']::before {
257
- block-size: 1rem;
258
- content: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='%231c67e3' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='16'%3E%3C/circle%3E%3Cpath fill='%23ffffff' d='M8 16.956h12.604l-3.844 4.106 1.252 1.338L24 16l-5.988-6.4-1.252 1.338 3.844 4.106H8v1.912z' %3E%3C/path%3E%3C/svg%3E%0A");
259
- inline-size: 1rem;
260
- left: -2ch;
261
- position: absolute;
262
- top: 0.0625lh;
263
- }
264
-
265
- @media (prefers-reduced-motion) {
266
- .button-icon {
267
- transition: rotate 0s ease;
268
- }
269
-
270
- .search-results {
271
- scroll-behavior: auto;
272
- }
273
- }
274
-
275
- @keyframes spin {
276
- to {
277
- transform: rotate(1turn);
278
- }
279
- }
280
-
281
- @keyframes vary-stroke {
282
- 0% {
283
- stroke-dasharray: 0 150;
284
- stroke-dashoffset: 0;
285
- }
286
- 47.5% {
287
- stroke-dasharray: 42 150;
288
- stroke-dashoffset: -16;
289
- }
290
- 95%,
291
- 100% {
292
- stroke-dasharray: 42 150;
293
- stroke-dashoffset: -59;
294
- }
295
- }
296
- `;
297
-
298
- export {
299
- variable_combobox_styles_default
300
- };
@@ -1,25 +0,0 @@
1
- import {
2
- TerraIcon
3
- } from "./chunk.EMISRECR.js";
4
-
5
- // src/react/icon/index.ts
6
- import * as React from "react";
7
- import { createComponent } from "@lit/react";
8
- import "@lit/react";
9
- var tagName = "terra-icon";
10
- TerraIcon.define("terra-icon");
11
- var reactWrapper = createComponent({
12
- tagName,
13
- elementClass: TerraIcon,
14
- react: React,
15
- events: {
16
- onTerraLoad: "terra-load",
17
- onTerraError: "terra-error"
18
- },
19
- displayName: "TerraIcon"
20
- });
21
- var icon_default = reactWrapper;
22
-
23
- export {
24
- icon_default
25
- };
@@ -1,120 +0,0 @@
1
- import {
2
- __spreadProps,
3
- __spreadValues
4
- } from "./chunk.RYPAZDXE.js";
5
-
6
- // src/components/variable-combobox/lib.ts
7
- import { html } from "lit";
8
- import { repeat } from "lit/directives/repeat.js";
9
- function renderSearchResult(listItem, index) {
10
- return html`<li class="listbox-option-group" data-tree-walker="filter_skip">
11
- <span class="group-title" data-tree-walker="filter_skip"
12
- >${listItem.collectionEntryId}</span
13
- >
14
- <ul data-tree-walker="filter_skip">
15
- ${repeat(
16
- listItem.variables,
17
- (variable) => `${variable.collectionShortName}_${variable.collectionVersion}--${variable.longName}`,
18
- (variable, subIndex) => {
19
- return html`
20
- <li
21
- id="listbox-option-${index}.${subIndex}"
22
- role="option"
23
- class="listbox-option"
24
- data-long-name=${variable.longName}
25
- data-event-detail=${variable.eventDetail}
26
- >
27
- ${variable.longName} (${variable.units})
28
- </li>
29
- `;
30
- }
31
- )}
32
- </ul>
33
- </li>`;
34
- }
35
- function removeEmptyCollections(docs) {
36
- const nonEmptyCollections = docs.filter((doc) => {
37
- return !!doc.variables.length;
38
- });
39
- return nonEmptyCollections;
40
- }
41
- function groupDocsByCollection(docs) {
42
- const groupedDocs = {};
43
- for (const doc of docs) {
44
- const key = `${doc.collectionShortName}_${doc.collectionVersion}`;
45
- Array.isArray(groupedDocs[key]) ? groupedDocs[key].push(doc) : groupedDocs[key] = [doc];
46
- }
47
- return Object.entries(groupedDocs).map(([collectionEntryId, variables]) => {
48
- return {
49
- collectionEntryId,
50
- variables
51
- };
52
- });
53
- }
54
- function cherryPickDocInfo(docs) {
55
- return docs.map((doc) => {
56
- const renderableData = {
57
- collectionBeginningDateTime: doc["Collection.BeginDateTime"],
58
- collectionEndingDateTime: doc["Collection.EndDateTime"],
59
- collectionLongName: doc["Collection.LongName"],
60
- collectionShortName: doc["Collection.ShortName"],
61
- collectionVersion: doc["Collection.Version"],
62
- name: doc["Variable.Name"],
63
- longName: doc["Variable.LongName"],
64
- standardName: doc["Variable.StandardName"],
65
- units: doc["Variable.Units"],
66
- entryId: `${doc["Collection.ShortName"]}_${doc["Collection.Version"]}_${doc["Variable.Name"]}`
67
- };
68
- const eventDetail = JSON.stringify({
69
- collectionBeginningDateTime: doc["Collection.BeginDateTime"],
70
- collectionEndingDateTime: doc["Collection.EndDateTime"],
71
- collectionShortName: renderableData.collectionShortName,
72
- collectionVersion: renderableData.collectionVersion,
73
- name: renderableData.name,
74
- longName: renderableData.longName,
75
- standardName: renderableData.standardName,
76
- entryId: renderableData.entryId,
77
- units: doc["Variable.Units"]
78
- });
79
- return __spreadProps(__spreadValues({}, renderableData), { eventDetail });
80
- });
81
- }
82
- function clearSelection(combobox, listbox) {
83
- combobox.removeAttribute("aria-activedescendant");
84
- listbox.querySelectorAll("[aria-selected]").forEach((option) => option.removeAttribute("aria-selected"));
85
- }
86
- function walkToOption(walker, combobox, direction = "next") {
87
- const maybeCurrentElement = direction === "next" ? walker.nextNode() : walker.previousNode();
88
- if (maybeCurrentElement === null || maybeCurrentElement === walker.root) {
89
- direction === "next" ? walkToFirst(walker) : walkToLast(walker);
90
- }
91
- combobox.setAttribute(
92
- "aria-activedescendant",
93
- walker.currentNode.id
94
- );
95
- walker.currentNode.setAttribute("aria-selected", "true");
96
- globalThis.setTimeout(() => {
97
- ;
98
- walker.currentNode.scrollIntoView({
99
- behavior: "auto",
100
- block: "nearest"
101
- });
102
- }, 100);
103
- }
104
- function walkToFirst(walker) {
105
- walker.parentNode();
106
- walker.firstChild();
107
- }
108
- function walkToLast(walker) {
109
- walker.parentNode();
110
- walker.lastChild();
111
- }
112
-
113
- export {
114
- renderSearchResult,
115
- removeEmptyCollections,
116
- groupDocsByCollection,
117
- cherryPickDocInfo,
118
- clearSelection,
119
- walkToOption
120
- };
@@ -1,83 +0,0 @@
1
- import {
2
- chip_styles_default
3
- } from "./chunk.N2DS7NLI.js";
4
- import {
5
- TerraElement,
6
- component_styles_default
7
- } from "./chunk.PJXIJK2G.js";
8
- import {
9
- __decorateClass,
10
- __privateAdd,
11
- __privateGet
12
- } from "./chunk.RYPAZDXE.js";
13
-
14
- // src/components/chip/chip.component.ts
15
- import { property } from "lit/decorators.js";
16
- import { html } from "lit";
17
- import { classMap } from "lit/directives/class-map.js";
18
- var _handleRemoveClick;
19
- var TerraChip = class extends TerraElement {
20
- constructor() {
21
- super(...arguments);
22
- this.size = "medium";
23
- __privateAdd(this, _handleRemoveClick, () => {
24
- this.emit("terra-remove");
25
- this.remove();
26
- });
27
- }
28
- render() {
29
- return html`
30
- <div
31
- id="chip"
32
- class="${classMap({
33
- // Sizes
34
- "chip--small": this.size === "small",
35
- "chip--medium": this.size === "medium",
36
- "chip--large": this.size === "large"
37
- })}
38
- chip"
39
- >
40
- <div
41
- class="${classMap({
42
- // Sizes
43
- "chip-content--small": this.size === "small",
44
- "chip-content--medium": this.size === "medium",
45
- "chip-content--large": this.size === "large"
46
- })}
47
- chip-content"
48
- >
49
- <slot part="content" class="tag__content"></slot>
50
- </div>
51
- <button class="chip-close" @click="${__privateGet(this, _handleRemoveClick)}">
52
- <svg
53
- class="${classMap({
54
- // Sizes
55
- "chip-svg--small": this.size === "small",
56
- "chip-svg--medium": this.size === "medium",
57
- "chip-svg--large": this.size === "large"
58
- })}
59
- chip-svg"
60
- focusable="false"
61
- viewBox="0 0 500 500"
62
- aria-hidden="true"
63
- >
64
- <path
65
- d="M 227 56.036 H 265 V 227.037 H 436 V 265.036 H 265 V 436.036 H 227 V 265.036 H 56 V 227.037 H 227 Z"
66
- style="fill: #909090; paint-order: fill; fill-rule: nonzero; stroke-width: 0px; transform-origin: 246px 246.036px;"
67
- transform="matrix(0.707107007504, 0.707107007504, -0.707107007504, 0.707107007504, -9.98393e-7, -0.000026419743)"
68
- ></path>
69
- </svg>
70
- </button>
71
- </div>
72
- `;
73
- }
74
- };
75
- _handleRemoveClick = new WeakMap();
76
- TerraChip.styles = [component_styles_default, chip_styles_default];
77
- __decorateClass([
78
- property({ reflect: true })
79
- ], TerraChip.prototype, "size", 2);
80
-
81
- export {
82
- TerraChip
83
- };