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