@nasa-terra/components 0.0.6 → 0.0.9
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.OGR23FON.js → chunk.2463X3BU.js} +1 -1
- package/cdn/chunks/{chunk.QPQHBWAF.js → chunk.2AR3YFY6.js} +21 -28
- package/cdn/chunks/{chunk.M5OJ3HWZ.js → chunk.2B3T647S.js} +2 -2
- package/cdn/chunks/chunk.3WUZMCON.js +198 -0
- package/cdn/chunks/{chunk.7KR5SCX3.js → chunk.4X3H4SXF.js} +1 -1
- package/{dist/chunks/chunk.YMQ4KDTV.js → cdn/chunks/chunk.5BNGCWLY.js} +1 -1
- package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
- package/cdn/chunks/chunk.5IYEJYZC.js +21 -0
- package/cdn/chunks/{chunk.CJZBZADJ.js → chunk.5SINCXSM.js} +42 -13
- package/cdn/chunks/{chunk.ULMZXS76.js → chunk.5UDVR4WP.js} +1 -1
- package/{dist/chunks/chunk.RIPCW4LZ.js → cdn/chunks/chunk.7ADLGY5T.js} +1 -1
- package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
- package/cdn/chunks/{chunk.5EMGZZCG.js → chunk.7O6PG7SC.js} +1 -1
- package/cdn/chunks/chunk.7QABLDUG.js +57 -0
- package/cdn/chunks/{chunk.UBUBPE2C.js → chunk.A5ZHUUQE.js} +1 -1
- package/cdn/chunks/{chunk.O5NKXUCH.js → chunk.ABHIFWYD.js} +9 -5
- package/cdn/chunks/{chunk.SNUKWHYN.js → chunk.B35TWPB3.js} +1 -1
- package/cdn/chunks/{chunk.RXU6DWRU.js → chunk.BE55UMQU.js} +5 -4
- package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
- package/cdn/chunks/{chunk.EEFNHKM3.js → chunk.BZAX3KPT.js} +24 -46
- package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
- package/cdn/chunks/chunk.CRDWIXR6.js +25 -0
- package/{dist/chunks/chunk.OFSIGYWI.js → cdn/chunks/chunk.CST5GL5A.js} +1 -1
- package/cdn/chunks/{chunk.EKFTCQIZ.js → chunk.EH7QANZL.js} +5 -5
- package/cdn/chunks/chunk.ETRGUHQA.js +128 -0
- package/{dist/chunks/chunk.HOM4WTOH.js → cdn/chunks/chunk.EVWEXJVX.js} +1 -1
- package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
- package/cdn/chunks/{chunk.42JFVPPT.js → chunk.GCXPHNE2.js} +3 -3
- package/cdn/chunks/{chunk.FWJJZ2ZQ.js → chunk.HPHAKMYE.js} +5 -6
- package/cdn/chunks/{chunk.HUJ7CIC7.js → chunk.KOO6JUIP.js} +1 -1
- package/{dist/chunks/chunk.H32ZL2W2.js → cdn/chunks/chunk.KURQ25QR.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.7NBRSNIF.js → cdn/chunks/chunk.P7Q72NIS.js} +1 -1
- package/cdn/chunks/{chunk.M77HV6VG.js → chunk.PB3BAC36.js} +6 -8
- package/cdn/chunks/{chunk.OP466O5Y.js → chunk.QPAB2A53.js} +1 -1
- package/{dist/chunks/chunk.NZBZKDMB.js → cdn/chunks/chunk.R4AGAL4B.js} +1 -1
- package/cdn/chunks/{chunk.MKZRXFCD.js → chunk.SIGRYKYI.js} +16 -17
- package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
- package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
- package/cdn/chunks/{chunk.WWGF3RBK.js → chunk.TUT6F7WE.js} +413 -115
- package/cdn/chunks/chunk.TZK42POE.js +55 -0
- package/{dist/chunks/chunk.GDRDMRMU.js → cdn/chunks/chunk.UEC2PU53.js} +1 -1
- package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
- package/cdn/chunks/{chunk.VW5NONMW.js → chunk.VMNE6YSR.js} +1 -1
- package/cdn/chunks/{chunk.VVTXWY2S.js → chunk.W6FS5GIY.js} +1 -1
- package/cdn/chunks/chunk.W7ZPVNG5.js +11 -0
- package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
- package/{dist/chunks/chunk.B2MTCB5H.js → cdn/chunks/chunk.WOIMKTUH.js} +1 -1
- package/cdn/chunks/{chunk.ADGXHFTR.js → chunk.WSUKDH6C.js} +1 -1
- package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
- package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
- package/cdn/chunks/chunk.XF7RXUXV.js +11 -0
- package/cdn/chunks/chunk.XTN2KUNR.js +396 -0
- package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
- package/{dist/chunks/chunk.NYAG4XKO.js → cdn/chunks/chunk.YOTNXUDL.js} +1 -1
- package/{dist/chunks/chunk.X2KBQTBL.js → cdn/chunks/chunk.YSRQIHTV.js} +1 -1
- package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
- package/cdn/chunks/chunk.Z3LHAJIV.js +339 -0
- 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 +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- 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 +4 -4
- package/cdn/components/icon/icon.js +5 -5
- 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 +34 -34
- 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 +35 -35
- 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 +16 -16
- 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 +17 -17
- 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 +2285 -1712
- 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 +8 -8
- 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 +5 -5
- package/cdn/react/index.d.ts +5 -3
- package/cdn/react/index.js +72 -56
- 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 +35 -35
- package/cdn/react/variable-combobox/index.js +17 -17
- package/cdn/terra-ui-components.d.ts +2 -0
- package/cdn/terra-ui-components.js +76 -60
- 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 +231 -156
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +252 -189
- package/cdn/web-types.json +559 -437
- package/dist/chunks/chunk.247RXZFH.js +569 -0
- package/{cdn/chunks/chunk.OBKUG36C.js → dist/chunks/chunk.3TJ2JKU3.js} +1 -1
- package/dist/chunks/{chunk.2T4YTX6C.js → chunk.3UYUL4SF.js} +1 -1
- package/dist/chunks/{chunk.M6X67YK2.js → chunk.4QQMSQRA.js} +5 -5
- package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
- package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
- package/dist/chunks/{chunk.ZNMJES4B.js → chunk.6EMZGACJ.js} +26 -49
- package/dist/chunks/chunk.6LKFAV2F.js +55 -0
- package/{cdn/chunks/chunk.CPWV245H.js → dist/chunks/chunk.6XPXG2HQ.js} +1 -1
- package/{cdn/chunks/chunk.EJHNYX5L.js → dist/chunks/chunk.7BDQ3OGI.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.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
- package/{cdn/chunks/chunk.6RSB2MQN.js → dist/chunks/chunk.BB72QYRU.js} +1 -1
- package/dist/chunks/{chunk.QNRAB6NA.js → chunk.C7CKLN54.js} +1 -1
- package/dist/chunks/chunk.CL7IMQRK.js +50 -0
- package/dist/chunks/{chunk.HBQCLZ37.js → chunk.CRKPWBJQ.js} +1 -1
- package/{cdn/chunks/chunk.UFZVPTR4.js → dist/chunks/chunk.CSSXWHIU.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.YCC37YOJ.js → chunk.EP3UVTII.js} +7 -3
- package/dist/chunks/{chunk.USXQP5U6.js → chunk.F7HR6Y7D.js} +10 -11
- package/dist/chunks/chunk.GHDRVO5M.js +125 -0
- package/dist/chunks/{chunk.PSVGC3Y5.js → chunk.GJ5PF473.js} +1 -1
- package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
- package/dist/chunks/chunk.GR7XHOA3.js +52 -0
- package/dist/chunks/{chunk.VYZKQA7M.js → chunk.GZ7EVLUK.js} +42 -13
- package/dist/chunks/{chunk.WHSMHOPB.js → chunk.HMNI5WGJ.js} +8 -10
- package/dist/chunks/chunk.HWAZFJOD.js +120 -0
- package/{cdn/chunks/chunk.M2VXN72F.js → dist/chunks/chunk.I5WKMWQE.js} +1 -1
- package/dist/chunks/{chunk.FHIIPJW6.js → chunk.IO22JTMO.js} +1 -1
- package/dist/chunks/{chunk.6LKH47P2.js → chunk.JTUSKCXM.js} +1 -1
- package/dist/chunks/chunk.JW7QUN3C.js +193 -0
- package/dist/chunks/chunk.KXP54RWR.js +390 -0
- package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
- package/dist/chunks/chunk.LYOSHT4H.js +327 -0
- package/{cdn/chunks/chunk.BPM4DDT2.js → dist/chunks/chunk.NLVXQ4XY.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.FEABKBW6.js → chunk.OEP3CFIS.js} +7 -7
- package/dist/chunks/chunk.OI5D3LE4.js +11 -0
- package/{cdn/chunks/chunk.SEEOXT2D.js → dist/chunks/chunk.QBDPXIJN.js} +1 -1
- package/dist/chunks/chunk.QEMJLGM4.js +58 -0
- package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
- package/dist/chunks/chunk.RJAFAHJE.js +21 -0
- package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
- package/{cdn/chunks/chunk.7FIHTIPY.js → dist/chunks/chunk.ST5FT6V7.js} +1 -1
- package/dist/chunks/{chunk.DYMAZVQ6.js → chunk.TBPEGRZ2.js} +20 -27
- package/dist/chunks/chunk.TRSW2E4E.js +223 -0
- package/dist/chunks/chunk.UPZNWZOP.js +156 -0
- package/{cdn/chunks/chunk.4WBHMR2A.js → dist/chunks/chunk.VA2ZXIYQ.js} +1 -1
- package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
- package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
- package/dist/chunks/{chunk.DLLADX3X.js → chunk.WBSIQEC5.js} +1 -1
- package/dist/chunks/chunk.WJ67GDOF.js +11 -0
- package/dist/chunks/chunk.WR5RPQHG.js +25 -0
- package/{cdn/chunks/chunk.Y26ZLER4.js → dist/chunks/chunk.X4VUM377.js} +1 -1
- package/dist/chunks/{chunk.D7XP7XXA.js → chunk.XIGYW3GW.js} +1 -1
- package/dist/chunks/{chunk.ELWOQ6AA.js → chunk.Y2NINNMK.js} +1 -1
- package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
- package/dist/chunks/{chunk.UPRVNZ37.js → chunk.YOP35UJX.js} +6 -7
- package/dist/chunks/{chunk.5YH3ZJUT.js → chunk.ZCSTHC33.js} +1 -1
- package/dist/chunks/{chunk.PG33VP73.js → chunk.ZMCKUA77.js} +7 -6
- package/dist/chunks/{chunk.H4MAKR24.js → chunk.ZWMQIAGV.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 +2285 -1712
- 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 +5 -3
- package/dist/react/index.js +68 -52
- 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 +73 -57
- 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 +231 -156
- 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 +252 -189
- package/dist/web-types.json +559 -437
- package/package.json +4 -3
- package/cdn/chunks/chunk.747YKR2J.js +0 -96
- package/cdn/chunks/chunk.H2SFUFU3.js +0 -108
- package/cdn/chunks/chunk.L7XOR6JZ.js +0 -83
- package/cdn/chunks/chunk.SBDX4GGT.js +0 -66
- package/cdn/chunks/chunk.UOFDZJYP.js +0 -116
- package/dist/chunks/chunk.2HRRJNXL.js +0 -89
- package/dist/chunks/chunk.AU3AGC4X.js +0 -102
- package/dist/chunks/chunk.GPUFE4ML.js +0 -63
- package/dist/chunks/chunk.IBEKZVOY.js +0 -80
- package/dist/chunks/chunk.TIWTYZP4.js +0 -274
- 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.MDRUDBRH.js → dist/chunks/chunk.7DOMZGX7.js} +3 -3
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loader_styles_default
|
|
3
|
+
} from "./chunk.NYEDLELY.js";
|
|
4
|
+
import {
|
|
5
|
+
e
|
|
6
|
+
} from "./chunk.YVSJQ4KD.js";
|
|
7
|
+
import {
|
|
8
|
+
TerraElement,
|
|
9
|
+
component_styles_default
|
|
10
|
+
} from "./chunk.XTN2KUNR.js";
|
|
11
|
+
import {
|
|
12
|
+
n,
|
|
13
|
+
r
|
|
14
|
+
} from "./chunk.K4EJQG4O.js";
|
|
15
|
+
import {
|
|
16
|
+
T,
|
|
17
|
+
x
|
|
18
|
+
} from "./chunk.PQFHJHNO.js";
|
|
19
|
+
import {
|
|
20
|
+
__decorateClass
|
|
21
|
+
} from "./chunk.6QUGTGJO.js";
|
|
22
|
+
|
|
23
|
+
// src/components/loader/loader.component.ts
|
|
24
|
+
var TerraLoader = class extends TerraElement {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.variant = "large";
|
|
28
|
+
this.percent = "0";
|
|
29
|
+
this.indeterminate = false;
|
|
30
|
+
this._currentPercent = 0;
|
|
31
|
+
}
|
|
32
|
+
formatPercent(percent) {
|
|
33
|
+
if (parseInt(percent) > 100) {
|
|
34
|
+
percent = "100";
|
|
35
|
+
}
|
|
36
|
+
return parseInt(percent) > 0 ? percent + "%" : "";
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
this._currentPercent = parseInt(this.percent);
|
|
40
|
+
return x`
|
|
41
|
+
<div
|
|
42
|
+
class=${e({
|
|
43
|
+
loader: true,
|
|
44
|
+
"loader--small": this.variant === "small",
|
|
45
|
+
"loader--large": this.variant === "large",
|
|
46
|
+
"loader--orbit": this.variant === "orbit"
|
|
47
|
+
})}
|
|
48
|
+
aria-valuenow=${this.formatPercent(this.percent)}
|
|
49
|
+
role="progressbar"
|
|
50
|
+
tabindex="-1"
|
|
51
|
+
>
|
|
52
|
+
${this.variant === "large" || this.variant === "orbit" ? x`
|
|
53
|
+
<div
|
|
54
|
+
class="percent ${this.variant == "orbit" ? "number-14" : "number-11"}"
|
|
55
|
+
>
|
|
56
|
+
${this.formatPercent(this.percent)}
|
|
57
|
+
</div>
|
|
58
|
+
` : T}
|
|
59
|
+
${this.variant === "orbit" ? x`
|
|
60
|
+
<svg viewBox="0 0 160 160">
|
|
61
|
+
<circle class="planet" />
|
|
62
|
+
|
|
63
|
+
<!-- total length of orbit ellipse = 298.2393493652344 -->
|
|
64
|
+
<path
|
|
65
|
+
id="orbit"
|
|
66
|
+
d="M 53.528 96.775 C 73.584 124.975 100.654 140.601 115.393 130.137 C 132.613 117.912 119.246 79.55 105.434 60.525 C 90.233 39.587 60.506 18.543 44.962 30.114 C 29.456 41.657 38.219 75.25 53.528 96.775 Z"
|
|
67
|
+
>
|
|
68
|
+
<animate
|
|
69
|
+
attributeName="stroke-dashoffset"
|
|
70
|
+
begin="-0.25s"
|
|
71
|
+
from="300"
|
|
72
|
+
to="0"
|
|
73
|
+
dur="1.5s"
|
|
74
|
+
repeatCount="indefinite"
|
|
75
|
+
/>
|
|
76
|
+
</path>
|
|
77
|
+
|
|
78
|
+
<circle class="moon">
|
|
79
|
+
<animateMotion
|
|
80
|
+
begin="0s"
|
|
81
|
+
dur="1.5s"
|
|
82
|
+
repeatCount="indefinite"
|
|
83
|
+
>
|
|
84
|
+
<mpath href="#orbit"></mpath>
|
|
85
|
+
</animateMotion>
|
|
86
|
+
</circle>
|
|
87
|
+
|
|
88
|
+
<path
|
|
89
|
+
id="mask"
|
|
90
|
+
class="planet"
|
|
91
|
+
d="M 130.176 80.041 C 130.176 41.552 88.321 17.697 55.544 36.652 C 40.081 45.594 30.865 62.428 30.47 80.094 L 130.176 80.041 Z"
|
|
92
|
+
style="transform-box: fill-box; transform-origin: 49.8347% 100.62%;"
|
|
93
|
+
transform="matrix(-0.350367, -0.936613, 0.936613, -0.350367, -0.148117, -0.20884)"
|
|
94
|
+
/>
|
|
95
|
+
</svg>
|
|
96
|
+
` : T}
|
|
97
|
+
${this.variant === "small" || this.variant === "large" ? x`
|
|
98
|
+
<svg
|
|
99
|
+
viewBox=${this.variant == "small" ? "0 0 30 30" : "0 0 52 52"}
|
|
100
|
+
aria-hidden="true"
|
|
101
|
+
style="--progress: ${this.percent}"
|
|
102
|
+
class="circular-progress ${this.indeterminate ? "indeterminate" : ""}"
|
|
103
|
+
>
|
|
104
|
+
<circle class="bg"></circle>
|
|
105
|
+
<circle class="fg"></circle>
|
|
106
|
+
</svg>
|
|
107
|
+
` : T}
|
|
108
|
+
</div>
|
|
109
|
+
`;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
TerraLoader.styles = [component_styles_default, loader_styles_default];
|
|
113
|
+
__decorateClass([
|
|
114
|
+
n({ reflect: true })
|
|
115
|
+
], TerraLoader.prototype, "variant", 2);
|
|
116
|
+
__decorateClass([
|
|
117
|
+
n({ type: String })
|
|
118
|
+
], TerraLoader.prototype, "percent", 2);
|
|
119
|
+
__decorateClass([
|
|
120
|
+
n({ type: Boolean })
|
|
121
|
+
], TerraLoader.prototype, "indeterminate", 2);
|
|
122
|
+
__decorateClass([
|
|
123
|
+
r()
|
|
124
|
+
], TerraLoader.prototype, "_currentPercent", 2);
|
|
125
|
+
|
|
126
|
+
export {
|
|
127
|
+
TerraLoader
|
|
128
|
+
};
|
|
@@ -8,11 +8,15 @@ var plot_styles_default = i`
|
|
|
8
8
|
display: block;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
:host::part(base) {
|
|
12
|
+
aspect-ratio: 4 / 3;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
/**
|
|
12
16
|
* !Alert! The rest of this stylesheet is auto-generated!
|
|
13
17
|
* Unfortunately Plotly does not work well with Shadow DOM AND they don't supply a CSS file at all for us to import
|
|
14
18
|
* Because of this, a working solution is to copy their CSS over.
|
|
15
|
-
*
|
|
19
|
+
*
|
|
16
20
|
* Given that they use CSS, you can do npx -y sass ./node_modules/plotly.js/src/css/style.scss > plotly.css
|
|
17
21
|
* to generate the CSS, then copy the contents of plotly.css into this file
|
|
18
22
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chip_styles_default
|
|
3
|
+
} from "./chunk.Y4WP4EBM.js";
|
|
1
4
|
import {
|
|
2
5
|
e
|
|
3
6
|
} from "./chunk.YVSJQ4KD.js";
|
|
4
7
|
import {
|
|
5
8
|
TerraElement,
|
|
6
9
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.XTN2KUNR.js";
|
|
8
11
|
import {
|
|
9
12
|
n
|
|
10
13
|
} from "./chunk.K4EJQG4O.js";
|
|
11
|
-
import {
|
|
12
|
-
chip_styles_default
|
|
13
|
-
} from "./chunk.YW2OER7Y.js";
|
|
14
14
|
import {
|
|
15
15
|
x
|
|
16
16
|
} from "./chunk.PQFHJHNO.js";
|
|
@@ -34,7 +34,6 @@ var TerraChip = class extends TerraElement {
|
|
|
34
34
|
render() {
|
|
35
35
|
return x`
|
|
36
36
|
<div
|
|
37
|
-
id="chip"
|
|
38
37
|
class="${e({
|
|
39
38
|
// Sizes
|
|
40
39
|
"chip--small": this.size === "small",
|
|
@@ -69,7 +68,7 @@ var TerraChip = class extends TerraElement {
|
|
|
69
68
|
>
|
|
70
69
|
<path
|
|
71
70
|
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"
|
|
72
|
-
style="
|
|
71
|
+
style="paint-order: fill; fill-rule: nonzero; stroke-width: 0px; transform-origin: 246px 246.036px;"
|
|
73
72
|
transform="matrix(0.707107007504, 0.707107007504, -0.707107007504, 0.707107007504, -9.98393e-7, -0.000026419743)"
|
|
74
73
|
></path>
|
|
75
74
|
</svg>
|
|
@@ -17,19 +17,7 @@ var loader_styles_default = i`
|
|
|
17
17
|
height: var(--size);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/*
|
|
21
|
-
|
|
22
|
-
.loader--dark {
|
|
23
|
-
color: white;
|
|
24
|
-
background-color: black;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.loader--light {
|
|
28
|
-
color: black;
|
|
29
|
-
background-color: white;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Loader sizes */
|
|
20
|
+
/* Loader variations */
|
|
33
21
|
|
|
34
22
|
.loader--large {
|
|
35
23
|
--size: 52px;
|
|
@@ -41,6 +29,30 @@ var loader_styles_default = i`
|
|
|
41
29
|
--stroke-width: 3.5px;
|
|
42
30
|
}
|
|
43
31
|
|
|
32
|
+
.loader--orbit {
|
|
33
|
+
--size: 100px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.planet {
|
|
37
|
+
fill: var(--terra-color-carbon-20);
|
|
38
|
+
cx: 80px;
|
|
39
|
+
cy: 80px;
|
|
40
|
+
r: 50px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.moon {
|
|
44
|
+
fill: var(--terra-color-nasa-blue);
|
|
45
|
+
r: 5.5px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#orbit {
|
|
49
|
+
/* total length of orbit ellipse = 298.2393493652344 */
|
|
50
|
+
stroke: var(--terra-color-nasa-blue);
|
|
51
|
+
stroke-width: 2.5px;
|
|
52
|
+
stroke-dasharray: 250 48;
|
|
53
|
+
fill: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
44
56
|
svg {
|
|
45
57
|
width: var(--size);
|
|
46
58
|
height: var(--size);
|
|
@@ -50,10 +62,8 @@ var loader_styles_default = i`
|
|
|
50
62
|
display: block;
|
|
51
63
|
width: var(--size);
|
|
52
64
|
position: absolute;
|
|
53
|
-
top:
|
|
65
|
+
top: calc((var(--size) / 2) - 10px);
|
|
54
66
|
padding-left: 4px;
|
|
55
|
-
font-family: sans-serif;
|
|
56
|
-
font-size: 11px;
|
|
57
67
|
letter-spacing: 0.1rem;
|
|
58
68
|
text-align: center;
|
|
59
69
|
}
|
|
@@ -81,7 +91,7 @@ var loader_styles_default = i`
|
|
|
81
91
|
}
|
|
82
92
|
|
|
83
93
|
.circular-progress circle.bg {
|
|
84
|
-
stroke:
|
|
94
|
+
stroke: var(--terra-color-carbon-20);
|
|
85
95
|
}
|
|
86
96
|
|
|
87
97
|
.circular-progress circle.fg {
|
|
@@ -89,7 +99,7 @@ var loader_styles_default = i`
|
|
|
89
99
|
transform-origin: var(--half-size) var(--half-size);
|
|
90
100
|
stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
|
|
91
101
|
transition: stroke-dasharray 0.3s linear 0s; /* Defines how --dash value changes to stroke-dasharray are animated */
|
|
92
|
-
stroke:
|
|
102
|
+
stroke: var(--terra-color-nasa-blue);
|
|
93
103
|
}
|
|
94
104
|
|
|
95
105
|
.circular-progress.indeterminate circle.fg {
|
|
@@ -100,6 +110,15 @@ var loader_styles_default = i`
|
|
|
100
110
|
transform-origin: 50% 50%;
|
|
101
111
|
}
|
|
102
112
|
|
|
113
|
+
@keyframes dash {
|
|
114
|
+
from {
|
|
115
|
+
stroke-dashoffset: 300;
|
|
116
|
+
}
|
|
117
|
+
to {
|
|
118
|
+
stroke-dashoffset: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
103
122
|
@keyframes spin {
|
|
104
123
|
from {
|
|
105
124
|
transform: rotate(-90deg);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/components/browse-variables/repositories/giovanni.repository.ts
|
|
2
|
+
var GIOVANNI_CATALOG_URL = "https://windmill-load-balancer-641499207.us-east-1.elb.amazonaws.com/api/r/giovanni/catalog";
|
|
3
|
+
var GiovanniRepository = class {
|
|
4
|
+
async searchVariablesAndFacets(_query, _selectedFacetFields, options) {
|
|
5
|
+
var _a;
|
|
6
|
+
const response = await fetch(GIOVANNI_CATALOG_URL, {
|
|
7
|
+
signal: (_a = options == null ? void 0 : options.signal) != null ? _a : null
|
|
8
|
+
});
|
|
9
|
+
if (!response.ok) {
|
|
10
|
+
console.error(response);
|
|
11
|
+
throw new Error("Failed to fetch catalog");
|
|
12
|
+
}
|
|
13
|
+
const result = await response.json();
|
|
14
|
+
return {
|
|
15
|
+
facetsByCategory: result.facets,
|
|
16
|
+
variables: result.variables
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
GiovanniRepository
|
|
23
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spatial_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5FZY6SGS.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraMap
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.2B3T647S.js";
|
|
7
7
|
import {
|
|
8
8
|
StringifyBoundingBox,
|
|
9
9
|
parseBoundingBox
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.XTN2KUNR.js";
|
|
15
15
|
import {
|
|
16
16
|
e,
|
|
17
17
|
n,
|
|
@@ -111,10 +111,8 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
111
111
|
aria-expanded=${this.isExpanded}
|
|
112
112
|
@blur=${this._blur}
|
|
113
113
|
/>
|
|
114
|
-
<button
|
|
115
|
-
|
|
116
|
-
aria-expanded=${this.isExpanded}
|
|
117
|
-
aria-label="Spatial picker map"
|
|
114
|
+
<terra-button
|
|
115
|
+
shape="square-left"
|
|
118
116
|
class="spatial-picker__input_icon_button"
|
|
119
117
|
@click=${this._click}
|
|
120
118
|
type="button"
|
|
@@ -133,7 +131,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
133
131
|
d="M9 6.75V15m6-6v8.25m.503 3.498 4.875-2.437c.381-.19.622-.58.622-1.006V4.82c0-.836-.88-1.38-1.628-1.006l-3.869 1.934c-.317.159-.69.159-1.006 0L9.503 3.252a1.125 1.125 0 0 0-1.006 0L3.622 5.689C3.24 5.88 3 6.27 3 6.695V19.18c0 .836.88 1.38 1.628 1.006l3.869-1.934c.317-.159.69-.159 1.006 0l4.994 2.497c.317.158.69.158 1.006 0Z"
|
|
134
132
|
/>
|
|
135
133
|
</svg>
|
|
136
|
-
</button>
|
|
134
|
+
</terra-button>
|
|
137
135
|
</div>
|
|
138
136
|
${this.isExpanded ? this.renderMap() : T}
|
|
139
137
|
</div>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Fuse
|
|
3
|
-
} from "./chunk.NTNL4P6D.js";
|
|
4
|
-
import {
|
|
5
|
-
n as n2
|
|
6
|
-
} from "./chunk.2XCNCXGV.js";
|
|
7
1
|
import {
|
|
8
2
|
c
|
|
9
3
|
} from "./chunk.PZRCJWJ4.js";
|
|
10
4
|
import {
|
|
11
5
|
h
|
|
12
6
|
} from "./chunk.QB5SASDL.js";
|
|
7
|
+
import {
|
|
8
|
+
clearSelection,
|
|
9
|
+
walkToOption
|
|
10
|
+
} from "./chunk.LMGJJIIS.js";
|
|
11
|
+
import {
|
|
12
|
+
Fuse
|
|
13
|
+
} from "./chunk.NTNL4P6D.js";
|
|
14
|
+
import {
|
|
15
|
+
n as n2
|
|
16
|
+
} from "./chunk.2XCNCXGV.js";
|
|
13
17
|
import {
|
|
14
18
|
o
|
|
15
19
|
} from "./chunk.QEA4QW6G.js";
|
|
16
20
|
import {
|
|
17
21
|
combobox_styles_default
|
|
18
|
-
} from "./chunk.
|
|
19
|
-
import {
|
|
20
|
-
clearSelection,
|
|
21
|
-
walkToOption
|
|
22
|
-
} from "./chunk.LMGJJIIS.js";
|
|
22
|
+
} from "./chunk.USC76EZL.js";
|
|
23
23
|
import {
|
|
24
24
|
watch
|
|
25
25
|
} from "./chunk.IUDWCWFV.js";
|
|
26
26
|
import {
|
|
27
27
|
TerraElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.XTN2KUNR.js";
|
|
30
30
|
import {
|
|
31
31
|
n,
|
|
32
32
|
r
|
|
@@ -296,9 +296,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
296
296
|
render() {
|
|
297
297
|
var _a;
|
|
298
298
|
return x`<search part="base" title="Search through the list.">
|
|
299
|
-
<label
|
|
300
|
-
for="combobox"
|
|
301
|
-
class=${this.hideLabel ? "sr-only" : "search-input-label"}
|
|
299
|
+
<label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
|
|
302
300
|
>${this.label}</label
|
|
303
301
|
>
|
|
304
302
|
<div class="search-input-group">
|
|
@@ -322,7 +320,8 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
322
320
|
@input=${__privateGet(this, _handleComboboxChange)}
|
|
323
321
|
@keydown=${__privateGet(this, _handleKeydown)}
|
|
324
322
|
/>
|
|
325
|
-
<button
|
|
323
|
+
<terra-button
|
|
324
|
+
shape="square-left"
|
|
326
325
|
aria-controls="listbox"
|
|
327
326
|
aria-expanded=${this.isExpanded}
|
|
328
327
|
aria-label="List of Searchable Items"
|
|
@@ -358,7 +357,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
358
357
|
stroke-width="3"
|
|
359
358
|
></circle>
|
|
360
359
|
</svg>`}
|
|
361
|
-
</button>
|
|
360
|
+
</terra-button>
|
|
362
361
|
|
|
363
362
|
${this.hideHelp ? T : x`<p class="search-help">
|
|
364
363
|
See
|
|
@@ -5,42 +5,18 @@ import {
|
|
|
5
5
|
// src/components/variable-combobox/variable-combobox.styles.ts
|
|
6
6
|
var variable_combobox_styles_default = i`
|
|
7
7
|
:host {
|
|
8
|
-
--color-blue--400: #007acc;
|
|
9
|
-
--color-blue--500: #1c67e3;
|
|
10
|
-
--color-blue--600: #0b3d91;
|
|
11
|
-
|
|
12
|
-
--color-red--400: #f64137;
|
|
13
|
-
--color-red--500: #b60109;
|
|
14
|
-
|
|
15
|
-
--color-neutral--000: #ffffff;
|
|
16
|
-
--color-neutral--100: #f7f7f7;
|
|
17
|
-
--color-neutral--200: #d1d1d1;
|
|
18
|
-
--color-neutral--300: #b9b9bb;
|
|
19
|
-
--color-neutral--400: #959599;
|
|
20
|
-
--color-neutral--500: #767676;
|
|
21
|
-
--color-neutral--600: #58585b;
|
|
22
|
-
--color-neutral--700: #2e2e32;
|
|
23
|
-
--color-neutral--800: #1b1b1b;
|
|
24
|
-
|
|
25
|
-
--font-family--inter: Inter, sans-serif;
|
|
26
|
-
--font-family--public-sans: 'Public Sans', sans-serif;
|
|
27
|
-
--font-family--dm-mono: 'DM Mono', monospace;
|
|
28
|
-
|
|
29
8
|
--label-height: 1.8125rem;
|
|
30
9
|
--help-height: 1.8125rem;
|
|
31
10
|
--host-height: 5.8125rem;
|
|
32
11
|
|
|
33
12
|
block-size: var(--terra-block-size, 2.1875rem);
|
|
34
13
|
box-sizing: border-box;
|
|
35
|
-
color:
|
|
14
|
+
color: #1b1b1b; /* HDS uses this color for body text but does not have a defined color in the HDS palette */
|
|
36
15
|
contain: layout size style;
|
|
37
16
|
contain-intrinsic-size: var(--terra-inline-size, 100%)
|
|
38
17
|
calc(33vh + var(--terra-block-size, 2.1875rem));
|
|
39
18
|
display: block;
|
|
40
|
-
font-family: var(
|
|
41
|
-
--terra-font-family--public-sans,
|
|
42
|
-
var(--font-family--public-sans)
|
|
43
|
-
);
|
|
19
|
+
font-family: var(--terra-font-family--public-sans);
|
|
44
20
|
height: var(--terra-block-size, var(--host-height));
|
|
45
21
|
inline-size: var(--terra-inline-size, 100%);
|
|
46
22
|
position: relative;
|
|
@@ -71,12 +47,6 @@ var variable_combobox_styles_default = i`
|
|
|
71
47
|
box-sizing: inherit;
|
|
72
48
|
}
|
|
73
49
|
|
|
74
|
-
.search-input-label {
|
|
75
|
-
font-family: var(--terra-font-family--inter, var(--font-family--inter));
|
|
76
|
-
font-weight: 600;
|
|
77
|
-
line-height: 1.1875rem;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
50
|
.search-input-group {
|
|
81
51
|
block-size: 100%;
|
|
82
52
|
display: flex;
|
|
@@ -84,16 +54,8 @@ var variable_combobox_styles_default = i`
|
|
|
84
54
|
}
|
|
85
55
|
|
|
86
56
|
.combobox {
|
|
87
|
-
|
|
88
|
-
block-size: var(--terra-block-size, 2.1875rem);
|
|
89
|
-
border-block: 2px solid
|
|
90
|
-
var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
91
|
-
border-inline-end: 0;
|
|
92
|
-
border-inline-start: 2px solid
|
|
93
|
-
var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
94
|
-
color: currentColor;
|
|
57
|
+
block-size: var(--terra-block-size, 2.25rem);
|
|
95
58
|
flex: 1 1 auto;
|
|
96
|
-
font-size: 1rem;
|
|
97
59
|
padding-inline: 0.5rem;
|
|
98
60
|
transition:
|
|
99
61
|
background-color 0.2s ease,
|
|
@@ -101,50 +63,25 @@ var variable_combobox_styles_default = i`
|
|
|
101
63
|
}
|
|
102
64
|
|
|
103
65
|
.combobox::placeholder {
|
|
104
|
-
color: var(--terra-color-
|
|
66
|
+
color: var(--terra-color-carbon-60);
|
|
105
67
|
}
|
|
106
68
|
|
|
107
69
|
.combobox:focus {
|
|
108
|
-
|
|
109
|
-
border-color: var(--terra-color-neutral--400, var(--color-neutral--400));
|
|
70
|
+
border-color: var(--terra-color-carbon-40);
|
|
110
71
|
outline: 0;
|
|
111
72
|
}
|
|
112
73
|
|
|
113
|
-
.combobox:focus + .combobox-button {
|
|
114
|
-
background-color: var(--terra-color-neutral--800, var(--color-neutral--800));
|
|
115
|
-
border-block-color: var(
|
|
116
|
-
--terra-color-neutral--400,
|
|
117
|
-
var(--color-neutral--400)
|
|
118
|
-
);
|
|
119
|
-
border-inline-end-color: var(
|
|
120
|
-
--terra-color-neutral--400,
|
|
121
|
-
var(--color-neutral--400)
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
74
|
.search-input-group:has(.combobox:not(:focus)) + .search-results[open] {
|
|
126
|
-
border-color: var(--terra-color-
|
|
75
|
+
border-color: var(--terra-color-carbon-30);
|
|
127
76
|
}
|
|
128
77
|
|
|
129
78
|
.combobox-button {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
border-block: 2px solid
|
|
134
|
-
var(--terra-color-neutral--500, var(--color-neutral--500));
|
|
135
|
-
border-inline-end: 2px solid
|
|
136
|
-
var(--terra-color-neutral--500, var(--color-neutral--500));
|
|
137
|
-
border-inline-start: 0;
|
|
138
|
-
color: var(--terra-color-neutral--000, var(--color-neutral--000));
|
|
139
|
-
cursor: pointer;
|
|
140
|
-
display: flex;
|
|
141
|
-
flex: 0 0 auto;
|
|
142
|
-
font-size: 1rem;
|
|
143
|
-
justify-content: center;
|
|
79
|
+
position: absolute;
|
|
80
|
+
right: 0;
|
|
81
|
+
z-index: 2;
|
|
144
82
|
margin-block: 0;
|
|
145
83
|
margin-inline: 0;
|
|
146
84
|
outline: 0;
|
|
147
|
-
padding-inline: 0.5rem;
|
|
148
85
|
transition:
|
|
149
86
|
background-color 0.2s ease,
|
|
150
87
|
border-color 0.2s ease;
|
|
@@ -175,12 +112,13 @@ var variable_combobox_styles_default = i`
|
|
|
175
112
|
}
|
|
176
113
|
|
|
177
114
|
.search-help {
|
|
178
|
-
|
|
179
|
-
color: var(--terra-color-neutral--600, var(--color-neutral--600));
|
|
115
|
+
color: var(--terra-color-carbon-60);
|
|
180
116
|
flex: 1 1 100%;
|
|
181
|
-
font-size:
|
|
117
|
+
font-size: var(--terra-font-size-small);
|
|
118
|
+
line-height: var(--terra-line-height-normal);
|
|
182
119
|
margin-block: 0;
|
|
183
120
|
position: absolute;
|
|
121
|
+
bottom: -10px;
|
|
184
122
|
}
|
|
185
123
|
|
|
186
124
|
.external-link {
|
|
@@ -189,7 +127,7 @@ var variable_combobox_styles_default = i`
|
|
|
189
127
|
}
|
|
190
128
|
|
|
191
129
|
.search-results {
|
|
192
|
-
background-color: var(--terra-color-
|
|
130
|
+
background-color: var(--terra-color-spacesuit-white);
|
|
193
131
|
block-size: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
194
132
|
border-block-end: 2px solid transparent;
|
|
195
133
|
border-inline: 2px solid transparent;
|
|
@@ -215,7 +153,7 @@ var variable_combobox_styles_default = i`
|
|
|
215
153
|
}
|
|
216
154
|
|
|
217
155
|
.search-results[open] {
|
|
218
|
-
border-color: var(--terra-color-
|
|
156
|
+
border-color: var(--terra-color-carbon-40);
|
|
219
157
|
content-visibility: auto;
|
|
220
158
|
max-height: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
221
159
|
opacity: 1;
|
|
@@ -223,14 +161,14 @@ var variable_combobox_styles_default = i`
|
|
|
223
161
|
}
|
|
224
162
|
|
|
225
163
|
.search-results .updating {
|
|
226
|
-
font-size:
|
|
164
|
+
font-size: var(--terra-font-size-x-large);
|
|
227
165
|
padding-block: 4rem;
|
|
228
166
|
text-align: center;
|
|
229
167
|
}
|
|
230
168
|
|
|
231
169
|
.search-results .error {
|
|
232
|
-
color: var(--terra-color-
|
|
233
|
-
font-family: var(--terra-font-family--dm-mono
|
|
170
|
+
color: var(--terra-color-nasa-red);
|
|
171
|
+
font-family: var(--terra-font-family--dm-mono);
|
|
234
172
|
padding-block: 2rem;
|
|
235
173
|
}
|
|
236
174
|
|
|
@@ -244,7 +182,7 @@ var variable_combobox_styles_default = i`
|
|
|
244
182
|
}
|
|
245
183
|
|
|
246
184
|
.group-title {
|
|
247
|
-
font-family: var(--terra-font-family--inter
|
|
185
|
+
font-family: var(--terra-font-family--inter);
|
|
248
186
|
font-weight: 700;
|
|
249
187
|
margin-block: 0;
|
|
250
188
|
}
|