@nasa-terra/components 0.0.41 → 0.0.42
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/cdn/chunks/{chunk.B3QT5XJP.js → chunk.2CTTMUXP.js} +1 -1
- package/cdn/chunks/{chunk.QCK7PTWV.js → chunk.2FFSUM6T.js} +1 -1
- package/{dist/chunks/chunk.6C27KMHX.js → cdn/chunks/chunk.2FXAUYYA.js} +1 -1
- package/{dist/chunks/chunk.YBKNHKHJ.js → cdn/chunks/chunk.34XJ2YRL.js} +1 -1
- package/cdn/chunks/chunk.4MAXR3UU.js +104 -0
- package/{dist/chunks/chunk.SYL6DYI7.js → cdn/chunks/chunk.5QZWD4FU.js} +1 -1
- package/cdn/chunks/{chunk.MR27IH5Z.js → chunk.6JHIJHTB.js} +9 -1
- package/cdn/chunks/{chunk.CBV7M6CJ.js → chunk.6MMTW476.js} +1 -1
- package/cdn/chunks/{chunk.O2YZHY6W.js → chunk.7FWVJMKC.js} +1 -1
- package/cdn/chunks/{chunk.SDAAIGR7.js → chunk.7X3DAFOG.js} +1 -1
- package/cdn/chunks/{chunk.LLGXVXUH.js → chunk.ANZFZPPU.js} +1 -1
- package/cdn/chunks/{chunk.EY6FPKCN.js → chunk.AT5FYE4Q.js} +8 -8
- package/cdn/chunks/{chunk.RIHGXZ32.js → chunk.BKOLMPIY.js} +1 -1
- package/{dist/chunks/chunk.UDJOM6ZC.js → cdn/chunks/chunk.BUT7KX24.js} +1 -1
- package/cdn/chunks/{chunk.BQNMKH4V.js → chunk.CBRTMMKP.js} +4 -4
- package/cdn/chunks/{chunk.XTQRQIRW.js → chunk.E3ITP3CP.js} +1 -1
- package/cdn/chunks/{chunk.D4L6W2EM.js → chunk.ELAWVWEZ.js} +33 -13
- package/{dist/chunks/chunk.5MTMT6EZ.js → cdn/chunks/chunk.FBNX5AYN.js} +1 -1
- package/cdn/chunks/{chunk.YOBG36YH.js → chunk.FEPSAY5T.js} +1 -1
- package/cdn/chunks/{chunk.VYLFEUGH.js → chunk.FET2REAS.js} +1 -1
- package/cdn/chunks/{chunk.FVKOPOS6.js → chunk.FGHWBPQ7.js} +1 -1
- package/cdn/chunks/{chunk.XGQQ4YY6.js → chunk.FP62TI7I.js} +1 -1
- package/cdn/chunks/{chunk.PXUAPIVZ.js → chunk.GYNEPFEG.js} +3 -3
- package/{dist/chunks/chunk.BSTOGNP3.js → cdn/chunks/chunk.HWDI2BHO.js} +1 -1
- package/cdn/chunks/{chunk.SHX63E7I.js → chunk.I44MNS72.js} +9 -9
- package/cdn/chunks/{chunk.FG7MUYYR.js → chunk.ISDS7VRC.js} +8 -8
- package/cdn/chunks/{chunk.GIDA35DI.js → chunk.JETSWMHY.js} +1 -1
- package/cdn/chunks/{chunk.N6A4S5YI.js → chunk.JPF7QPZA.js} +1 -1
- package/cdn/chunks/{chunk.4YFGXJN2.js → chunk.JQ2ZRSPI.js} +4 -4
- package/cdn/chunks/{chunk.PIBX75LE.js → chunk.L63KIY6U.js} +1 -1
- package/cdn/chunks/{chunk.2ITUJEQD.js → chunk.LLG5WQWA.js} +3 -3
- package/cdn/chunks/{chunk.WTPVOF7N.js → chunk.LOCO37M5.js} +2 -2
- package/cdn/chunks/{chunk.4TIVDUMT.js → chunk.LS57LJUC.js} +9 -8
- package/cdn/chunks/chunk.M4BZHL67.js +21 -0
- package/cdn/chunks/{chunk.7ON5L6GX.js → chunk.M5AL5OZ6.js} +8 -8
- package/cdn/chunks/{chunk.PCVOJ7H6.js → chunk.M6BKA6P4.js} +1 -1
- package/cdn/chunks/chunk.MERDVJWH.js +15814 -0
- package/{dist/chunks/chunk.TJ7U47CT.js → cdn/chunks/chunk.MLEE3KVC.js} +1 -1
- package/cdn/chunks/{chunk.LYU4ZOHF.js → chunk.MUAWDIKB.js} +6 -17
- package/{dist/chunks/chunk.UXXVWEEZ.js → cdn/chunks/chunk.MX22SNRS.js} +1 -1
- package/cdn/chunks/{chunk.LMED4VAU.js → chunk.NR6DJDMD.js} +5 -5
- package/{dist/chunks/chunk.4OATNINX.js → cdn/chunks/chunk.NRWL7454.js} +1 -1
- package/cdn/chunks/{chunk.25M2W2FY.js → chunk.OODF3EN7.js} +1 -1
- package/cdn/chunks/{chunk.LQQVL3OK.js → chunk.OZMD6UWV.js} +1 -1
- package/cdn/chunks/{chunk.OYTPVFD4.js → chunk.QCZTZ2G4.js} +3 -3
- package/{dist/chunks/chunk.JQX4IOFS.js → cdn/chunks/chunk.QIYZLBZL.js} +1 -1
- package/{dist/chunks/chunk.V7NXXH5Q.js → cdn/chunks/chunk.QMFOPTPG.js} +1 -1
- package/cdn/chunks/{chunk.U7L2FN7F.js → chunk.QZV6EAIM.js} +1 -1
- package/{dist/chunks/chunk.CQQMWZAG.js → cdn/chunks/chunk.RGSWH76U.js} +1 -1
- package/{dist/chunks/chunk.5V2L23VN.js → cdn/chunks/chunk.RWSWLUWX.js} +1 -1
- package/cdn/chunks/{chunk.IOQ6NGSV.js → chunk.S65EWDQW.js} +17 -17
- package/{dist/chunks/chunk.HC22UMDI.js → cdn/chunks/chunk.SMJEL5SP.js} +1 -1
- package/cdn/chunks/{chunk.F2OI3ZXQ.js → chunk.SNULTXLY.js} +2 -2
- package/{dist/chunks/chunk.VRXNNLUF.js → cdn/chunks/chunk.TS6P5KMM.js} +1 -1
- package/{dist/chunks/chunk.JXIMEJZ6.js → cdn/chunks/chunk.TYD6OMVH.js} +1 -1
- package/cdn/chunks/{chunk.ZJZHZQHZ.js → chunk.U76BSYRS.js} +3 -3
- package/cdn/chunks/{chunk.ED2ABFTH.js → chunk.VV63KQST.js} +1 -1
- package/cdn/chunks/{chunk.WRTGMSXJ.js → chunk.WNKY3U3X.js} +3 -3
- package/cdn/chunks/{chunk.YMMLPLAZ.js → chunk.WQDJNX2I.js} +1 -1
- package/cdn/chunks/{chunk.COEEUQJZ.js → chunk.WW7H6ZTG.js} +4 -4
- package/cdn/chunks/{chunk.FPQPBFGJ.js → chunk.XB3OTEJA.js} +24 -20
- package/cdn/chunks/{chunk.2OYZKB7P.js → chunk.XG2SIOK7.js} +10 -16
- package/cdn/chunks/{chunk.IJECJM4B.js → chunk.XQ3A36HQ.js} +1 -1
- package/cdn/chunks/{chunk.5LUW7D6O.js → chunk.XZGF7NVJ.js} +1 -1
- package/cdn/chunks/{chunk.EXWNYWOI.js → chunk.YV37V6WL.js} +1 -1
- package/{dist/chunks/chunk.A2XPPZNT.js → cdn/chunks/chunk.Z7PF6UJR.js} +1 -1
- package/cdn/chunks/{chunk.XI6PKUWW.js → chunk.ZQK7G6LH.js} +8 -8
- package/cdn/chunks/{chunk.JXGOY6TG.js → chunk.ZU6ADSVN.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +24 -23
- package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
- package/cdn/components/browse-variables/browse-variables.js +25 -24
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/browse-variables/repositories/giovanni.repository.js +1 -1
- package/cdn/components/button/button.component.js +7 -7
- package/cdn/components/button/button.js +8 -8
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/chip/chip.component.js +4 -4
- package/cdn/components/chip/chip.js +5 -5
- package/cdn/components/chip/chip.styles.js +1 -1
- package/cdn/components/combobox/combobox.component.js +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/combobox/lib.js +1 -1
- package/cdn/components/combobox/type.js +1 -1
- package/cdn/components/date-picker/date-picker.component.js +4 -4
- package/cdn/components/date-picker/date-picker.js +5 -5
- package/cdn/components/date-picker/date-picker.styles.js +1 -1
- package/cdn/components/date-range-slider/date-range-slider.component.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.js +6 -6
- package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
- package/cdn/components/date-range-slider/noui-slider-utilities.js +1 -1
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +7 -7
- package/cdn/components/icon/icon.js +8 -8
- package/cdn/components/icon/icon.styles.js +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.heroicons.js +1 -1
- package/cdn/components/icon/library.js +3 -3
- package/cdn/components/loader/loader.component.js +4 -4
- package/cdn/components/loader/loader.js +5 -5
- package/cdn/components/loader/loader.styles.js +1 -1
- package/cdn/components/login/login.component.js +16 -16
- package/cdn/components/login/login.js +17 -17
- package/cdn/components/login/login.styles.js +1 -1
- package/cdn/components/map/leaflet-draw.styles.js +1 -1
- package/cdn/components/map/leaflet-utils.d.ts +1 -1
- package/cdn/components/map/leaflet-utils.js +4 -2
- package/cdn/components/map/leaflet.styles.js +1 -1
- package/cdn/components/map/map.component.d.ts +2 -1
- package/cdn/components/map/map.component.js +9 -7
- package/cdn/components/map/map.controller.d.ts +1 -1
- package/cdn/components/map/map.controller.js +4 -2
- package/cdn/components/map/map.js +10 -8
- package/cdn/components/map/map.styles.js +1 -1
- package/cdn/components/plot/plot.component.js +5 -5
- package/cdn/components/plot/plot.js +6 -6
- package/cdn/components/plot/plot.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +5 -5
- package/cdn/components/skeleton/skeleton.js +6 -6
- package/cdn/components/skeleton/skeleton.styles.js +1 -1
- package/cdn/components/spatial-picker/spatial-picker.component.js +10 -8
- package/cdn/components/spatial-picker/spatial-picker.js +11 -9
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +31 -29
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +32 -30
- package/cdn/components/time-series/time-series.styles.js +1 -1
- package/cdn/components/variable-combobox/lib.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- 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-keyword-search/lib.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +17 -16
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -2
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +18 -17
- package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
- package/cdn/custom-elements.json +432 -432
- package/cdn/geojson/giovanni-geojson.d.ts +5 -0
- package/cdn/geojson/queries.d.ts +2 -0
- package/cdn/geojson/types.d.ts +73 -0
- package/cdn/lib/graphql-client.d.ts +2 -0
- package/cdn/react/browse-variables/index.js +25 -24
- package/cdn/react/button/index.js +8 -8
- package/cdn/react/chip/index.js +5 -5
- package/cdn/react/combobox/index.js +8 -8
- package/cdn/react/date-picker/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +6 -6
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/icon/index.js +8 -8
- package/cdn/react/index.d.ts +1 -1
- package/cdn/react/index.js +77 -75
- package/cdn/react/loader/index.js +5 -5
- package/cdn/react/login/index.js +17 -17
- package/cdn/react/map/index.js +10 -8
- package/cdn/react/plot/index.js +6 -6
- package/cdn/react/skeleton/index.js +6 -6
- package/cdn/react/spatial-picker/index.js +11 -9
- package/cdn/react/time-series/index.js +32 -30
- package/cdn/react/variable-combobox/index.js +18 -18
- package/cdn/react/variable-keyword-search/index.js +18 -17
- package/cdn/terra-ui-components-autoloader.js +1 -1
- package/cdn/terra-ui-components.js +72 -70
- package/cdn/types/vue/index.d.ts +45 -45
- package/cdn/utilities/animation-registry.js +1 -1
- package/cdn/utilities/animation.js +3 -3
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/icon-library.js +3 -3
- package/cdn/utilities/number.js +1 -1
- package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
- package/cdn/variable-catalog/queries.d.ts +1 -0
- package/cdn/variable-catalog/types.d.ts +10 -0
- package/cdn/vscode.html-custom-data.json +52 -52
- package/cdn/web-types.json +97 -97
- package/{cdn/chunks/chunk.DKFGH322.js → dist/chunks/chunk.37TB25W5.js} +1 -1
- package/dist/chunks/{chunk.7JPISDEY.js → chunk.4ZCXZZM3.js} +5 -16
- package/dist/chunks/{chunk.JMG3QFOG.js → chunk.57H323P7.js} +1 -1
- package/dist/chunks/chunk.5BT4MERK.js +21 -0
- package/dist/chunks/{chunk.FFIBXQPT.js → chunk.5C3BK3DD.js} +18 -14
- package/dist/chunks/{chunk.T732F32P.js → chunk.6BC7KDU7.js} +3 -3
- package/dist/chunks/{chunk.ZN6GTQ4Q.js → chunk.6CVD44CG.js} +1 -1
- package/dist/chunks/{chunk.6RGYYQXM.js → chunk.6Z52LJYO.js} +1 -1
- package/dist/chunks/{chunk.JK3NE7V7.js → chunk.77WVGP37.js} +1 -1
- package/{cdn/chunks/chunk.DSPBUNBE.js → dist/chunks/chunk.7CW7OYAA.js} +1 -1
- package/dist/chunks/{chunk.DZAAXOBI.js → chunk.7QFQWJUX.js} +1 -1
- package/dist/chunks/{chunk.M6G3QZKD.js → chunk.7V3PWSYC.js} +1 -1
- package/{cdn/chunks/chunk.735YCMFI.js → dist/chunks/chunk.7YA6YPDX.js} +1 -1
- package/dist/chunks/chunk.ACUTOX6G.js +104 -0
- package/dist/chunks/{chunk.VE46GVRC.js → chunk.AVJCKEOG.js} +1 -1
- package/dist/chunks/{chunk.EZYN4OMM.js → chunk.AVOXIWLL.js} +1 -1
- package/dist/chunks/{chunk.ZG2SPSJQ.js → chunk.BHWE3JOV.js} +3 -3
- package/dist/chunks/{chunk.JW4CEDWX.js → chunk.BNFTF3AF.js} +1 -1
- package/dist/chunks/{chunk.MDG6YMDT.js → chunk.CEE5JWEL.js} +7 -13
- package/{cdn/chunks/chunk.V6RXG64A.js → dist/chunks/chunk.CJXBG2L2.js} +1 -1
- package/dist/chunks/{chunk.TSO5JUC6.js → chunk.D3CNBHKN.js} +1 -1
- package/dist/chunks/{chunk.WUT6GQIO.js → chunk.DQAA5TRV.js} +1 -1
- package/{cdn/chunks/chunk.4PENHXYX.js → dist/chunks/chunk.DTUQ7OVY.js} +1 -1
- package/dist/chunks/{chunk.RZS4OUZG.js → chunk.EUQOUY73.js} +1 -1
- package/dist/chunks/{chunk.5NJX4HGN.js → chunk.FUNHBD3Q.js} +1 -1
- package/{cdn/chunks/chunk.M2YFVC7C.js → dist/chunks/chunk.GSKVFMKR.js} +1 -1
- package/dist/chunks/{chunk.NLIA6VK3.js → chunk.H4IGXIVH.js} +1 -1
- package/{cdn/chunks/chunk.26OW2N3C.js → dist/chunks/chunk.H6OKMLB5.js} +1 -1
- package/dist/chunks/{chunk.7MN4TFVH.js → chunk.HPH7B5RV.js} +5 -4
- package/{cdn/chunks/chunk.HID27GLU.js → dist/chunks/chunk.IYIJ4JHT.js} +1 -1
- package/{cdn/chunks/chunk.2JQ2EBOZ.js → dist/chunks/chunk.J4TUNVY6.js} +1 -1
- package/dist/chunks/{chunk.5SOMR4JY.js → chunk.JGRZMEMQ.js} +34 -12
- package/dist/chunks/{chunk.BLY26RDT.js → chunk.JOL2QHUX.js} +1 -1
- package/dist/chunks/{chunk.VRXZNBLL.js → chunk.K2UQ5J5Y.js} +1 -1
- package/dist/chunks/{chunk.I26TW3QK.js → chunk.KNYS36RI.js} +4 -4
- package/dist/chunks/{chunk.B7VRZAQT.js → chunk.KXVLGKFP.js} +4 -4
- package/{cdn/chunks/chunk.WVSGKSGA.js → dist/chunks/chunk.LDXJZ2B3.js} +1 -1
- package/{cdn/chunks/chunk.XKGPBMSX.js → dist/chunks/chunk.M6R5AG7U.js} +1 -1
- package/dist/chunks/{chunk.TPT5NZ7L.js → chunk.MC6B7NQH.js} +1 -1
- package/{cdn/chunks/chunk.ATUQZ7AH.js → dist/chunks/chunk.MIMZJ6IP.js} +1 -1
- package/{cdn/chunks/chunk.7TLWU32Z.js → dist/chunks/chunk.MQVOSN5I.js} +1 -1
- package/dist/chunks/{chunk.CJY47WKG.js → chunk.MZLJ2SW2.js} +1 -1
- package/dist/chunks/{chunk.HXVWQUMB.js → chunk.NOK72OMX.js} +1 -1
- package/dist/chunks/{chunk.4SFT7GOY.js → chunk.NS2XBY2W.js} +1 -1
- package/dist/chunks/{chunk.VHV2YP53.js → chunk.P53EA62V.js} +8 -8
- package/dist/chunks/{chunk.TOGLI5RU.js → chunk.P7N5DB3S.js} +4 -4
- package/{cdn/chunks/chunk.42O4XPCF.js → dist/chunks/chunk.PL2E7TDA.js} +1 -1
- package/dist/chunks/{chunk.QT5B4IOQ.js → chunk.QWGGWP3G.js} +1 -1
- package/dist/chunks/{chunk.NZCNCEVF.js → chunk.RNKJDMGE.js} +1 -1
- package/dist/chunks/{chunk.F6SZURWK.js → chunk.SDW6HUGX.js} +1 -1
- package/dist/chunks/{chunk.4FHMLZYD.js → chunk.TPITM5XY.js} +1 -1
- package/{cdn/chunks/chunk.KWDNMQ4H.js → dist/chunks/chunk.TQBOEKS6.js} +1 -1
- package/{cdn/chunks/chunk.P6VXFXFN.js → dist/chunks/chunk.TRBPFDIW.js} +1 -1
- package/dist/chunks/chunk.XWRIA5G5.js +63 -0
- package/dist/chunks/{chunk.FLBYXXGM.js → chunk.YXL3ZYZS.js} +1 -1
- package/dist/chunks/{chunk.7CA3HE3L.js → chunk.ZAG3VX64.js} +5 -5
- package/{cdn/chunks/chunk.Y2BLVXGG.js → dist/chunks/chunk.ZUEBNW2J.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +16 -15
- package/dist/components/browse-variables/browse-variables.js +17 -16
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-picker/date-picker.component.js +2 -2
- package/dist/components/date-picker/date-picker.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +11 -11
- package/dist/components/login/login.js +12 -12
- package/dist/components/map/leaflet-utils.d.ts +1 -1
- package/dist/components/map/leaflet-utils.js +3 -1
- package/dist/components/map/map.component.d.ts +2 -1
- package/dist/components/map/map.component.js +6 -4
- package/dist/components/map/map.controller.d.ts +1 -1
- package/dist/components/map/map.controller.js +3 -1
- package/dist/components/map/map.js +7 -5
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +7 -5
- package/dist/components/spatial-picker/spatial-picker.js +8 -6
- package/dist/components/time-series/time-series.component.js +20 -18
- package/dist/components/time-series/time-series.js +21 -19
- package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
- package/dist/components/variable-combobox/variable-combobox.js +10 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +11 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +2 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +12 -11
- package/dist/custom-elements.json +432 -432
- package/dist/geojson/giovanni-geojson.d.ts +5 -0
- package/dist/geojson/queries.d.ts +2 -0
- package/dist/geojson/types.d.ts +73 -0
- package/dist/lib/graphql-client.d.ts +2 -0
- package/dist/react/browse-variables/index.js +17 -16
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-picker/index.js +3 -3
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +5 -5
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +64 -62
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +12 -12
- package/dist/react/map/index.js +7 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +8 -6
- package/dist/react/time-series/index.js +21 -19
- package/dist/react/variable-combobox/index.js +10 -10
- package/dist/react/variable-keyword-search/index.js +12 -11
- package/dist/terra-ui-components.js +58 -56
- package/dist/{terra_ui_components-0.0.41-py3-none-any.whl → terra_ui_components-0.0.42-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.41.tar.gz → terra_ui_components-0.0.42.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +45 -45
- package/dist/utilities/icon-library.js +2 -2
- package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
- package/dist/variable-catalog/queries.d.ts +1 -0
- package/dist/variable-catalog/types.d.ts +10 -0
- package/dist/vscode.html-custom-data.json +52 -52
- package/dist/web-types.json +97 -97
- package/package.json +5 -1
- package/cdn/chunks/chunk.IINRXAQ4.js +0 -26
- package/dist/chunks/chunk.IINRXAQ4.js +0 -26
- package/{dist/chunks/chunk.7DOMZGX7.js → cdn/chunks/chunk.MDRUDBRH.js} +3 -3
- package/{cdn/chunks/chunk.7DOMZGX7.js → dist/chunks/chunk.MDRUDBRH.js} +3 -3
package/cdn/types/vue/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { DefineComponent } from "vue";
|
|
|
2
2
|
|
|
3
3
|
import type { TerraBrowseVariables } from "../../components/browse-variables/browse-variables.component.js";
|
|
4
4
|
import type { TerraButton } from "../../components/button/button.component.js";
|
|
5
|
-
import type { TerraCombobox } from "../../components/combobox/combobox.component.js";
|
|
6
5
|
import type { TerraChip } from "../../components/chip/chip.component.js";
|
|
7
6
|
import type { TerraDatePicker } from "../../components/date-picker/date-picker.component.js";
|
|
7
|
+
import type { TerraCombobox } from "../../components/combobox/combobox.component.js";
|
|
8
8
|
import type { TerraDateRangeSlider } from "../../components/date-range-slider/date-range-slider.component.js";
|
|
9
9
|
import type { TerraDialog } from "../../components/dialog/dialog.component.js";
|
|
10
10
|
import type { TerraIcon } from "../../components/icon/icon.component.js";
|
|
@@ -99,32 +99,6 @@ value of this attribute must be an id of a form in the same document or shadow r
|
|
|
99
99
|
validationMessage?: TerraButton["validationMessage"];
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
type TerraComboboxProps = {
|
|
103
|
-
/** Label the combobox with this. */
|
|
104
|
-
label?: TerraCombobox["label"];
|
|
105
|
-
/** name the combobox with this. */
|
|
106
|
-
name?: TerraCombobox["name"];
|
|
107
|
-
/** Set a placeholder for the combobox with this.
|
|
108
|
-
Defaults to the label's value. */
|
|
109
|
-
placeholder?: TerraCombobox["placeholder"];
|
|
110
|
-
/** Hide the combobox's help text.
|
|
111
|
-
When hidden, not rendered at all. */
|
|
112
|
-
"hide-help"?: TerraCombobox["hideHelp"];
|
|
113
|
-
/** Hide the combobox's label text.
|
|
114
|
-
When hidden, still presents to screen readers. */
|
|
115
|
-
"hide-label"?: TerraCombobox["hideLabel"];
|
|
116
|
-
/** status of the content */
|
|
117
|
-
status?: TerraCombobox["status"];
|
|
118
|
-
/** content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined */
|
|
119
|
-
content?: TerraCombobox["content"];
|
|
120
|
-
/** */
|
|
121
|
-
isExpanded?: TerraCombobox["isExpanded"];
|
|
122
|
-
/** */
|
|
123
|
-
query?: TerraCombobox["query"];
|
|
124
|
-
/** */
|
|
125
|
-
searchResults?: TerraCombobox["searchResults"];
|
|
126
|
-
};
|
|
127
|
-
|
|
128
102
|
type TerraChipProps = {
|
|
129
103
|
/** */
|
|
130
104
|
size?: TerraChip["size"];
|
|
@@ -173,6 +147,32 @@ type TerraDatePickerProps = {
|
|
|
173
147
|
selectedDates?: TerraDatePicker["selectedDates"];
|
|
174
148
|
};
|
|
175
149
|
|
|
150
|
+
type TerraComboboxProps = {
|
|
151
|
+
/** Label the combobox with this. */
|
|
152
|
+
label?: TerraCombobox["label"];
|
|
153
|
+
/** name the combobox with this. */
|
|
154
|
+
name?: TerraCombobox["name"];
|
|
155
|
+
/** Set a placeholder for the combobox with this.
|
|
156
|
+
Defaults to the label's value. */
|
|
157
|
+
placeholder?: TerraCombobox["placeholder"];
|
|
158
|
+
/** Hide the combobox's help text.
|
|
159
|
+
When hidden, not rendered at all. */
|
|
160
|
+
"hide-help"?: TerraCombobox["hideHelp"];
|
|
161
|
+
/** Hide the combobox's label text.
|
|
162
|
+
When hidden, still presents to screen readers. */
|
|
163
|
+
"hide-label"?: TerraCombobox["hideLabel"];
|
|
164
|
+
/** status of the content */
|
|
165
|
+
status?: TerraCombobox["status"];
|
|
166
|
+
/** content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined */
|
|
167
|
+
content?: TerraCombobox["content"];
|
|
168
|
+
/** */
|
|
169
|
+
isExpanded?: TerraCombobox["isExpanded"];
|
|
170
|
+
/** */
|
|
171
|
+
query?: TerraCombobox["query"];
|
|
172
|
+
/** */
|
|
173
|
+
searchResults?: TerraCombobox["searchResults"];
|
|
174
|
+
};
|
|
175
|
+
|
|
176
176
|
type TerraDateRangeSliderProps = {
|
|
177
177
|
/** */
|
|
178
178
|
"time-scale"?: TerraDateRangeSlider["timeScale"];
|
|
@@ -474,24 +474,6 @@ export type CustomElements = {
|
|
|
474
474
|
*/
|
|
475
475
|
"terra-button": DefineComponent<TerraButtonProps>;
|
|
476
476
|
|
|
477
|
-
/**
|
|
478
|
-
* Fuzzy-search for combobox with list autocomplete.
|
|
479
|
-
* ---
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
* ### **CSS Properties:**
|
|
483
|
-
* - **--host-height** - The height of the host element. _(default: undefined)_
|
|
484
|
-
* - **--help-height** - The height of the search help element. _(default: undefined)_
|
|
485
|
-
* - **--label-height** - The height of the input's label element. _(default: undefined)_
|
|
486
|
-
*
|
|
487
|
-
* ### **CSS Parts:**
|
|
488
|
-
* - **base** - A `search` element, the component's base.
|
|
489
|
-
* - **combobox** - An `input` element used for searching.
|
|
490
|
-
* - **button** - A `button` used for toggling the listbox's visibility.
|
|
491
|
-
* - **listbox** - A `ul` that holds the clickable options.
|
|
492
|
-
*/
|
|
493
|
-
"terra-combobox": DefineComponent<TerraComboboxProps>;
|
|
494
|
-
|
|
495
477
|
/**
|
|
496
478
|
* Used for contacts and tags
|
|
497
479
|
* ---
|
|
@@ -516,6 +498,24 @@ export type CustomElements = {
|
|
|
516
498
|
*/
|
|
517
499
|
"terra-date-picker": DefineComponent<TerraDatePickerProps>;
|
|
518
500
|
|
|
501
|
+
/**
|
|
502
|
+
* Fuzzy-search for combobox with list autocomplete.
|
|
503
|
+
* ---
|
|
504
|
+
*
|
|
505
|
+
*
|
|
506
|
+
* ### **CSS Properties:**
|
|
507
|
+
* - **--host-height** - The height of the host element. _(default: undefined)_
|
|
508
|
+
* - **--help-height** - The height of the search help element. _(default: undefined)_
|
|
509
|
+
* - **--label-height** - The height of the input's label element. _(default: undefined)_
|
|
510
|
+
*
|
|
511
|
+
* ### **CSS Parts:**
|
|
512
|
+
* - **base** - A `search` element, the component's base.
|
|
513
|
+
* - **combobox** - An `input` element used for searching.
|
|
514
|
+
* - **button** - A `button` used for toggling the listbox's visibility.
|
|
515
|
+
* - **listbox** - A `ul` that holds the clickable options.
|
|
516
|
+
*/
|
|
517
|
+
"terra-combobox": DefineComponent<TerraComboboxProps>;
|
|
518
|
+
|
|
519
519
|
/**
|
|
520
520
|
* Short summary of the component's intended use.
|
|
521
521
|
* ---
|
|
@@ -2,7 +2,7 @@ import "../chunks/chunk.QL5C2XOW.js";
|
|
|
2
2
|
import {
|
|
3
3
|
getAnimationNames,
|
|
4
4
|
getEasingNames
|
|
5
|
-
} from "../chunks/chunk.
|
|
5
|
+
} from "../chunks/chunk.LOCO37M5.js";
|
|
6
6
|
import "../chunks/chunk.VORUJ5MH.js";
|
|
7
7
|
import "../chunks/chunk.QEA4QW6G.js";
|
|
8
8
|
import "../chunks/chunk.2XCNCXGV.js";
|
|
@@ -10,10 +10,10 @@ import "../chunks/chunk.6NYH4BZ2.js";
|
|
|
10
10
|
import "../chunks/chunk.GNSDRDLV.js";
|
|
11
11
|
import "../chunks/chunk.YVSJQ4KD.js";
|
|
12
12
|
import "../chunks/chunk.UP75L23G.js";
|
|
13
|
-
import "../chunks/chunk.
|
|
13
|
+
import "../chunks/chunk.2FFSUM6T.js";
|
|
14
14
|
import "../chunks/chunk.PQFHJHNO.js";
|
|
15
15
|
import "../chunks/chunk.PH7RLQK2.js";
|
|
16
|
-
import "../chunks/chunk.
|
|
16
|
+
import "../chunks/chunk.6JHIJHTB.js";
|
|
17
17
|
export {
|
|
18
18
|
getAnimationNames,
|
|
19
19
|
getEasingNames
|
package/cdn/utilities/date.js
CHANGED
package/cdn/utilities/form.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFormControls,
|
|
3
3
|
serialize
|
|
4
|
-
} from "../chunks/chunk.
|
|
5
|
-
import "../chunks/chunk.
|
|
6
|
-
import "../chunks/chunk.
|
|
4
|
+
} from "../chunks/chunk.JPF7QPZA.js";
|
|
5
|
+
import "../chunks/chunk.XZGF7NVJ.js";
|
|
6
|
+
import "../chunks/chunk.6JHIJHTB.js";
|
|
7
7
|
export {
|
|
8
8
|
getFormControls,
|
|
9
9
|
serialize
|
|
@@ -2,11 +2,11 @@ import "../chunks/chunk.HAL7R4WT.js";
|
|
|
2
2
|
import {
|
|
3
3
|
registerIconLibrary,
|
|
4
4
|
unregisterIconLibrary
|
|
5
|
-
} from "../chunks/chunk.
|
|
6
|
-
import "../chunks/chunk.UCNEPIMI.js";
|
|
5
|
+
} from "../chunks/chunk.MDRUDBRH.js";
|
|
7
6
|
import "../chunks/chunk.XTCYIPKA.js";
|
|
7
|
+
import "../chunks/chunk.UCNEPIMI.js";
|
|
8
8
|
import "../chunks/chunk.NQKBKXPW.js";
|
|
9
|
-
import "../chunks/chunk.
|
|
9
|
+
import "../chunks/chunk.6JHIJHTB.js";
|
|
10
10
|
export {
|
|
11
11
|
registerIconLibrary,
|
|
12
12
|
unregisterIconLibrary
|
package/cdn/utilities/number.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GET_SEARCH_KEYWORDS: import("@apollo/client").DocumentNode;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface VariableCatalogInterface {
|
|
2
|
+
/**
|
|
3
|
+
* Fetches the list of search keywords
|
|
4
|
+
* @returns Promise containing the list of search keywords
|
|
5
|
+
*/
|
|
6
|
+
getSearchKeywords(): Promise<SearchKeywordsResponse>;
|
|
7
|
+
}
|
|
8
|
+
export type SearchKeywordsResponse = {
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
@@ -179,58 +179,6 @@
|
|
|
179
179
|
}
|
|
180
180
|
]
|
|
181
181
|
},
|
|
182
|
-
{
|
|
183
|
-
"name": "terra-combobox",
|
|
184
|
-
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
185
|
-
"attributes": [
|
|
186
|
-
{
|
|
187
|
-
"name": "label",
|
|
188
|
-
"description": "Label the combobox with this.",
|
|
189
|
-
"values": []
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "name",
|
|
193
|
-
"description": "name the combobox with this.",
|
|
194
|
-
"values": []
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"name": "placeholder",
|
|
198
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
199
|
-
"values": []
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"name": "hide-help",
|
|
203
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
204
|
-
"values": []
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"name": "hide-label",
|
|
208
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
209
|
-
"values": []
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"name": "status",
|
|
213
|
-
"description": "status of the content",
|
|
214
|
-
"values": [
|
|
215
|
-
{ "name": "INITIAL" },
|
|
216
|
-
{ "name": "PENDING" },
|
|
217
|
-
{ "name": "COMPLETE" },
|
|
218
|
-
{ "name": "ERROR" }
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "content",
|
|
223
|
-
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
224
|
-
"values": [{ "name": "Content" }]
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
"references": [
|
|
228
|
-
{
|
|
229
|
-
"name": "Documentation",
|
|
230
|
-
"url": "https://disc.gsfc.nasa.gov/components/combobox"
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
182
|
{
|
|
235
183
|
"name": "terra-chip",
|
|
236
184
|
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
@@ -289,6 +237,58 @@
|
|
|
289
237
|
}
|
|
290
238
|
]
|
|
291
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"name": "terra-combobox",
|
|
242
|
+
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
243
|
+
"attributes": [
|
|
244
|
+
{
|
|
245
|
+
"name": "label",
|
|
246
|
+
"description": "Label the combobox with this.",
|
|
247
|
+
"values": []
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "name",
|
|
251
|
+
"description": "name the combobox with this.",
|
|
252
|
+
"values": []
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "placeholder",
|
|
256
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
257
|
+
"values": []
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "hide-help",
|
|
261
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
262
|
+
"values": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "hide-label",
|
|
266
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
267
|
+
"values": []
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "status",
|
|
271
|
+
"description": "status of the content",
|
|
272
|
+
"values": [
|
|
273
|
+
{ "name": "INITIAL" },
|
|
274
|
+
{ "name": "PENDING" },
|
|
275
|
+
{ "name": "COMPLETE" },
|
|
276
|
+
{ "name": "ERROR" }
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "content",
|
|
281
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
282
|
+
"values": [{ "name": "Content" }]
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"references": [
|
|
286
|
+
{
|
|
287
|
+
"name": "Documentation",
|
|
288
|
+
"url": "https://disc.gsfc.nasa.gov/components/combobox"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
292
|
{
|
|
293
293
|
"name": "terra-date-range-slider",
|
|
294
294
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@nasa-terra/components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.42",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -310,101 +310,6 @@
|
|
|
310
310
|
"events": []
|
|
311
311
|
}
|
|
312
312
|
},
|
|
313
|
-
{
|
|
314
|
-
"name": "terra-combobox",
|
|
315
|
-
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
316
|
-
"doc-url": "",
|
|
317
|
-
"attributes": [
|
|
318
|
-
{
|
|
319
|
-
"name": "label",
|
|
320
|
-
"description": "Label the combobox with this.",
|
|
321
|
-
"value": { "type": "string", "default": "'Search for Items'" }
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "name",
|
|
325
|
-
"description": "name the combobox with this.",
|
|
326
|
-
"value": { "type": "string", "default": "'Item'" }
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"name": "placeholder",
|
|
330
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
331
|
-
"value": { "type": "string" }
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "hide-help",
|
|
335
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
336
|
-
"value": { "type": "boolean", "default": "false" }
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"name": "hide-label",
|
|
340
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
341
|
-
"value": { "type": "boolean", "default": "false" }
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"name": "status",
|
|
345
|
-
"description": "status of the content",
|
|
346
|
-
"value": {
|
|
347
|
-
"type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'",
|
|
348
|
-
"default": "'INITIAL'"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"name": "content",
|
|
353
|
-
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
354
|
-
"value": {
|
|
355
|
-
"type": "Content",
|
|
356
|
-
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }"
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"events": [],
|
|
361
|
-
"js": {
|
|
362
|
-
"properties": [
|
|
363
|
-
{
|
|
364
|
-
"name": "label",
|
|
365
|
-
"description": "Label the combobox with this.",
|
|
366
|
-
"type": "string"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"name": "name",
|
|
370
|
-
"description": "name the combobox with this.",
|
|
371
|
-
"type": "string"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "placeholder",
|
|
375
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
376
|
-
"type": "string"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"name": "hideHelp",
|
|
380
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
381
|
-
"type": "boolean"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"name": "hideLabel",
|
|
385
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
386
|
-
"type": "boolean"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"name": "status",
|
|
390
|
-
"description": "status of the content",
|
|
391
|
-
"type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"name": "content",
|
|
395
|
-
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
396
|
-
"type": "Content"
|
|
397
|
-
},
|
|
398
|
-
{ "name": "isExpanded", "type": "boolean" },
|
|
399
|
-
{ "name": "query" },
|
|
400
|
-
{
|
|
401
|
-
"name": "searchResults",
|
|
402
|
-
"type": "GroupedListItem[] | ListItem[]"
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"events": []
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
313
|
{
|
|
409
314
|
"name": "terra-chip",
|
|
410
315
|
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
@@ -528,6 +433,101 @@
|
|
|
528
433
|
"events": []
|
|
529
434
|
}
|
|
530
435
|
},
|
|
436
|
+
{
|
|
437
|
+
"name": "terra-combobox",
|
|
438
|
+
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
439
|
+
"doc-url": "",
|
|
440
|
+
"attributes": [
|
|
441
|
+
{
|
|
442
|
+
"name": "label",
|
|
443
|
+
"description": "Label the combobox with this.",
|
|
444
|
+
"value": { "type": "string", "default": "'Search for Items'" }
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "name",
|
|
448
|
+
"description": "name the combobox with this.",
|
|
449
|
+
"value": { "type": "string", "default": "'Item'" }
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "placeholder",
|
|
453
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
454
|
+
"value": { "type": "string" }
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "hide-help",
|
|
458
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
459
|
+
"value": { "type": "boolean", "default": "false" }
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "hide-label",
|
|
463
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
464
|
+
"value": { "type": "boolean", "default": "false" }
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "status",
|
|
468
|
+
"description": "status of the content",
|
|
469
|
+
"value": {
|
|
470
|
+
"type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'",
|
|
471
|
+
"default": "'INITIAL'"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "content",
|
|
476
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
477
|
+
"value": {
|
|
478
|
+
"type": "Content",
|
|
479
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"events": [],
|
|
484
|
+
"js": {
|
|
485
|
+
"properties": [
|
|
486
|
+
{
|
|
487
|
+
"name": "label",
|
|
488
|
+
"description": "Label the combobox with this.",
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "name",
|
|
493
|
+
"description": "name the combobox with this.",
|
|
494
|
+
"type": "string"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "placeholder",
|
|
498
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
499
|
+
"type": "string"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "hideHelp",
|
|
503
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
504
|
+
"type": "boolean"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "hideLabel",
|
|
508
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
509
|
+
"type": "boolean"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "status",
|
|
513
|
+
"description": "status of the content",
|
|
514
|
+
"type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "content",
|
|
518
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
519
|
+
"type": "Content"
|
|
520
|
+
},
|
|
521
|
+
{ "name": "isExpanded", "type": "boolean" },
|
|
522
|
+
{ "name": "query" },
|
|
523
|
+
{
|
|
524
|
+
"name": "searchResults",
|
|
525
|
+
"type": "GroupedListItem[] | ListItem[]"
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"events": []
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
531
|
{
|
|
532
532
|
"name": "terra-date-range-slider",
|
|
533
533
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
{
|
|
893
893
|
"name": "shapes",
|
|
894
894
|
"description": "List of geojson shapes",
|
|
895
|
-
"type": "
|
|
895
|
+
"type": "ShapeFilesResponse"
|
|
896
896
|
},
|
|
897
897
|
{ "name": "_mapController", "type": "MapController" }
|
|
898
898
|
],
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GiovanniGeoJsonShapes
|
|
3
|
+
} from "./chunk.ACUTOX6G.js";
|
|
1
4
|
import {
|
|
2
5
|
__spreadValues
|
|
3
6
|
} from "./chunk.TVFCHGU3.js";
|
|
@@ -48,6 +51,7 @@ var Leaflet = class {
|
|
|
48
51
|
this.listeners = [];
|
|
49
52
|
this.isMapReady = false;
|
|
50
53
|
this.handleShapeSelect = this.handleShapeSelect.bind(this);
|
|
54
|
+
this.geoJsonRepository = new GiovanniGeoJsonShapes();
|
|
51
55
|
}
|
|
52
56
|
// map initialization function
|
|
53
57
|
initializeMap(container, options) {
|
|
@@ -212,28 +216,13 @@ var Leaflet = class {
|
|
|
212
216
|
});
|
|
213
217
|
return transformedShapes;
|
|
214
218
|
}
|
|
215
|
-
async fetchSelectedShape(query) {
|
|
216
|
-
const url = new URL(
|
|
217
|
-
"https://lb.gesdisc.eosdis.nasa.gov/windmill/api/r/giovanni/geojson"
|
|
218
|
-
);
|
|
219
|
-
const [key, value] = query.split("=");
|
|
220
|
-
if (key && value) {
|
|
221
|
-
url.searchParams.append(key, value);
|
|
222
|
-
}
|
|
223
|
-
const data = await fetch(url.toString(), {
|
|
224
|
-
method: "GET",
|
|
225
|
-
mode: "cors"
|
|
226
|
-
});
|
|
227
|
-
const shape = await data.json();
|
|
228
|
-
return shape;
|
|
229
|
-
}
|
|
230
219
|
async handleShapeSelect(event) {
|
|
231
220
|
var _a;
|
|
232
221
|
event.preventDefault();
|
|
233
222
|
const selectedShape = event.target.value;
|
|
234
223
|
if (!selectedShape)
|
|
235
224
|
return;
|
|
236
|
-
const shapeGeoJson = await this.
|
|
225
|
+
const shapeGeoJson = await this.geoJsonRepository.getGeoJson(selectedShape);
|
|
237
226
|
if ((_a = this.selectedGeoJson) == null ? void 0 : _a.hasLayer) {
|
|
238
227
|
this.selectedGeoJson.remove();
|
|
239
228
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GiovanniGeoJsonShapes
|
|
3
|
+
} from "./chunk.ACUTOX6G.js";
|
|
4
|
+
|
|
5
|
+
// src/components/map/map.controller.ts
|
|
6
|
+
var MapController = class {
|
|
7
|
+
constructor(host) {
|
|
8
|
+
this.host = host;
|
|
9
|
+
this.geoJsonShapes = new GiovanniGeoJsonShapes();
|
|
10
|
+
this.host.addController(this);
|
|
11
|
+
}
|
|
12
|
+
async hostConnected() {
|
|
13
|
+
if (this.host.hasShapeSelector) {
|
|
14
|
+
this.host.shapes = await this.geoJsonShapes.getShapeFiles();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
MapController
|
|
21
|
+
};
|