@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
|
@@ -14,9 +14,9 @@ var button_styles_default = css`
|
|
|
14
14
|
justify-content: center;
|
|
15
15
|
width: 100%;
|
|
16
16
|
border-style: solid;
|
|
17
|
-
border-width: var(--terra-
|
|
18
|
-
font-family: var(--terra-
|
|
19
|
-
font-weight: var(--terra-font-weight-
|
|
17
|
+
border-width: var(--terra-button-border-width);
|
|
18
|
+
font-family: var(--terra-font-family--inter);
|
|
19
|
+
font-weight: var(--terra-font-weight-bold);
|
|
20
20
|
text-decoration: none;
|
|
21
21
|
user-select: none;
|
|
22
22
|
-webkit-user-select: none;
|
|
@@ -63,10 +63,13 @@ var button_styles_default = css`
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.button__label {
|
|
66
|
-
|
|
66
|
+
flex: 0 0 auto;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
pointer-events: none;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
|
-
.button__label::slotted(
|
|
72
|
+
.button__label::slotted(terra-icon) {
|
|
70
73
|
vertical-align: -2px;
|
|
71
74
|
}
|
|
72
75
|
|
|
@@ -76,115 +79,97 @@ var button_styles_default = css`
|
|
|
76
79
|
|
|
77
80
|
/* Default */
|
|
78
81
|
.button--standard.button--default {
|
|
79
|
-
background-color: var(--terra-color-
|
|
80
|
-
border-color: var(--terra-color-
|
|
81
|
-
color: var(--terra-color-
|
|
82
|
+
background-color: var(--terra-color-default-gray);
|
|
83
|
+
border-color: var(--terra-color-default-gray);
|
|
84
|
+
color: var(--terra-color-spacesuit-white);
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
.button--standard.button--default:hover:not(.button--disabled) {
|
|
85
|
-
background-color: var(--terra-color-
|
|
86
|
-
border-color: var(--terra-color-
|
|
87
|
-
color: var(--terra-color-
|
|
88
|
+
background-color: var(--terra-color-default-gray-shade);
|
|
89
|
+
border-color: var(--terra-color-default-gray-shade);
|
|
90
|
+
color: var(--terra-color-spacesuit-white);
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
.button--standard.button--default:active:not(.button--disabled) {
|
|
91
|
-
background-color: var(--terra-color-
|
|
92
|
-
border-color: var(--terra-color-
|
|
93
|
-
color: var(--terra-color-
|
|
94
|
+
background-color: var(--terra-color-default-gray-tint);
|
|
95
|
+
border-color: var(--terra-color-default-gray-tint);
|
|
96
|
+
color: var(--terra-color-spacesuit-white);
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
/* Primary */
|
|
97
100
|
.button--standard.button--primary {
|
|
98
|
-
background-color: var(--terra-color-
|
|
99
|
-
border-color: var(--terra-color-
|
|
100
|
-
color: var(--terra-color-
|
|
101
|
+
background-color: var(--terra-color-nasa-blue);
|
|
102
|
+
border-color: var(--terra-color-nasa-blue);
|
|
103
|
+
color: var(--terra-color-spacesuit-white);
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
.button--standard.button--primary:hover:not(.button--disabled) {
|
|
104
|
-
background-color: var(--terra-color-
|
|
105
|
-
border-color: var(--terra-color-
|
|
106
|
-
color: var(--terra-color-
|
|
107
|
+
background-color: var(--terra-color-nasa-blue-shade);
|
|
108
|
+
border-color: var(--terra-color-nasa-blue-shade);
|
|
109
|
+
color: var(--terra-color-spacesuit-white);
|
|
107
110
|
}
|
|
108
111
|
|
|
109
112
|
.button--standard.button--primary:active:not(.button--disabled) {
|
|
110
|
-
background-color: var(--terra-color-
|
|
111
|
-
border-color: var(--terra-color-
|
|
112
|
-
color: var(--terra-color-
|
|
113
|
+
background-color: var(--terra-color-nasa-blue-tint);
|
|
114
|
+
border-color: var(--terra-color-nasa-blue-tint);
|
|
115
|
+
color: var(--terra-color-spacesuit-white);
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
/* Success */
|
|
116
119
|
.button--standard.button--success {
|
|
117
|
-
background-color: var(--terra-color-success-
|
|
118
|
-
border-color: var(--terra-color-success-
|
|
119
|
-
color: var(--terra-color-
|
|
120
|
+
background-color: var(--terra-color-success-green);
|
|
121
|
+
border-color: var(--terra-color-success-green);
|
|
122
|
+
color: var(--terra-color-spacesuit-white);
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
.button--standard.button--success:hover:not(.button--disabled) {
|
|
123
|
-
background-color: var(--terra-color-success-
|
|
124
|
-
border-color: var(--terra-color-success-
|
|
125
|
-
color: var(--terra-color-
|
|
126
|
+
background-color: var(--terra-color-success-green-hover);
|
|
127
|
+
border-color: var(--terra-color-success-green-hover);
|
|
128
|
+
color: var(--terra-color-spacesuit-white);
|
|
126
129
|
}
|
|
127
130
|
|
|
128
131
|
.button--standard.button--success:active:not(.button--disabled) {
|
|
129
|
-
background-color: var(--terra-color-success-
|
|
130
|
-
border-color: var(--terra-color-success-
|
|
131
|
-
color: var(--terra-color-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/* Neutral */
|
|
135
|
-
.button--standard.button--neutral {
|
|
136
|
-
background-color: var(--terra-color-neutral-600);
|
|
137
|
-
border-color: var(--terra-color-neutral-600);
|
|
138
|
-
color: var(--terra-color-neutral-0);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.button--standard.button--neutral:hover:not(.button--disabled) {
|
|
142
|
-
background-color: var(--terra-color-neutral-500);
|
|
143
|
-
border-color: var(--terra-color-neutral-500);
|
|
144
|
-
color: var(--terra-color-neutral-0);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.button--standard.button--neutral:active:not(.button--disabled) {
|
|
148
|
-
background-color: var(--terra-color-neutral-600);
|
|
149
|
-
border-color: var(--terra-color-neutral-600);
|
|
150
|
-
color: var(--terra-color-neutral-0);
|
|
132
|
+
background-color: var(--terra-color-success-green-focus);
|
|
133
|
+
border-color: var(--terra-color-success-green-focus);
|
|
134
|
+
color: var(--terra-color-spacesuit-white);
|
|
151
135
|
}
|
|
152
136
|
|
|
153
137
|
/* Warning */
|
|
154
138
|
.button--standard.button--warning {
|
|
155
|
-
background-color: var(--terra-color-
|
|
156
|
-
border-color: var(--terra-color-
|
|
157
|
-
color: var(--terra-color-
|
|
139
|
+
background-color: var(--terra-color-international-orange);
|
|
140
|
+
border-color: var(--terra-color-international-orange);
|
|
141
|
+
color: var(--terra-color-spacesuit-white);
|
|
158
142
|
}
|
|
143
|
+
|
|
159
144
|
.button--standard.button--warning:hover:not(.button--disabled) {
|
|
160
|
-
background-color: var(--terra-color-
|
|
161
|
-
border-color: var(--terra-color-
|
|
162
|
-
color: var(--terra-color-
|
|
145
|
+
background-color: var(--terra-color-international-orange-shade);
|
|
146
|
+
border-color: var(--terra-color-international-orange-shade);
|
|
147
|
+
color: var(--terra-color-spacesuit-white);
|
|
163
148
|
}
|
|
164
149
|
|
|
165
150
|
.button--standard.button--warning:active:not(.button--disabled) {
|
|
166
|
-
background-color: var(--terra-color-
|
|
167
|
-
border-color: var(--terra-color-
|
|
168
|
-
color: var(--terra-color-
|
|
151
|
+
background-color: var(--terra-color-international-orange-tint);
|
|
152
|
+
border-color: var(--terra-color-international-orange-tint);
|
|
153
|
+
color: var(--terra-color-spacesuit-white);
|
|
169
154
|
}
|
|
170
155
|
|
|
171
156
|
/* Danger */
|
|
172
157
|
.button--standard.button--danger {
|
|
173
|
-
background-color: var(--terra-color-
|
|
174
|
-
border-color: var(--terra-color-
|
|
175
|
-
color: var(--terra-color-
|
|
158
|
+
background-color: var(--terra-color-nasa-red);
|
|
159
|
+
border-color: var(--terra-color-nasa-red);
|
|
160
|
+
color: var(--terra-color-spacesuit-white);
|
|
176
161
|
}
|
|
177
162
|
|
|
178
163
|
.button--standard.button--danger:hover:not(.button--disabled) {
|
|
179
|
-
background-color: var(--terra-color-
|
|
180
|
-
border-color: var(--terra-color-
|
|
181
|
-
color: var(--terra-color-
|
|
164
|
+
background-color: var(--terra-color-nasa-red-shade);
|
|
165
|
+
border-color: var(--terra-color-nasa-red-shade);
|
|
166
|
+
color: var(--terra-color-spacesuit-white);
|
|
182
167
|
}
|
|
183
168
|
|
|
184
169
|
.button--standard.button--danger:active:not(.button--disabled) {
|
|
185
|
-
background-color: var(--terra-color-
|
|
186
|
-
border-color: var(--terra-color-
|
|
187
|
-
color: var(--terra-color-
|
|
170
|
+
background-color: var(--terra-color-nasa-red-tint);
|
|
171
|
+
border-color: var(--terra-color-nasa-red-tint);
|
|
172
|
+
color: var(--terra-color-spacesuit-white);
|
|
188
173
|
}
|
|
189
174
|
|
|
190
175
|
/*
|
|
@@ -193,116 +178,98 @@ var button_styles_default = css`
|
|
|
193
178
|
|
|
194
179
|
.button--outline {
|
|
195
180
|
background: none;
|
|
196
|
-
border: solid 1px;
|
|
197
181
|
}
|
|
198
182
|
|
|
199
|
-
/*
|
|
200
|
-
.button--outline.button--
|
|
201
|
-
border-color: var(--terra-color-
|
|
202
|
-
color: var(--terra-
|
|
183
|
+
/* Primary */
|
|
184
|
+
.button--outline.button--primary {
|
|
185
|
+
border-color: var(--terra-color-nasa-blue);
|
|
186
|
+
color: var(--terra-button-outline-text-color);
|
|
203
187
|
}
|
|
204
188
|
|
|
205
|
-
.button--outline.button--
|
|
189
|
+
.button--outline.button--primary:hover:not(.button--disabled),
|
|
206
190
|
.button--outline.button--default.button--checked:not(.button--disabled) {
|
|
207
|
-
border-color: var(--terra-color-
|
|
208
|
-
background-color: var(--terra-color-
|
|
209
|
-
color: var(--terra-color-
|
|
191
|
+
border-color: var(--terra-color-nasa-blue);
|
|
192
|
+
background-color: var(--terra-color-nasa-blue);
|
|
193
|
+
color: var(--terra-color-spacesuit-white);
|
|
210
194
|
}
|
|
211
195
|
|
|
212
|
-
.button--outline.button--
|
|
213
|
-
border-color: var(--terra-color-
|
|
214
|
-
background-color: var(--terra-color-
|
|
215
|
-
color: var(--terra-color-
|
|
196
|
+
.button--outline.button--primary:active:not(.button--disabled) {
|
|
197
|
+
border-color: var(--terra-color-nasa-blue-tint);
|
|
198
|
+
background-color: var(--terra-color-nasa-blue-tint);
|
|
199
|
+
color: var(--terra-color-spacesuit-white);
|
|
216
200
|
}
|
|
217
201
|
|
|
218
|
-
/*
|
|
219
|
-
.button--outline.button--
|
|
220
|
-
border-color: var(--terra-color-
|
|
221
|
-
color: var(--terra-
|
|
202
|
+
/* Default */
|
|
203
|
+
.button--outline.button--default {
|
|
204
|
+
border-color: var(--terra-color-default-gray);
|
|
205
|
+
color: var(--terra-button-outline-text-color);
|
|
222
206
|
}
|
|
223
207
|
|
|
224
|
-
.button--outline.button--
|
|
225
|
-
.button--outline.button--
|
|
226
|
-
|
|
227
|
-
color: var(--terra-color-
|
|
208
|
+
.button--outline.button--default:hover:not(.button--disabled),
|
|
209
|
+
.button--outline.button--default.button--checked:not(.button--disabled) {
|
|
210
|
+
border-color: var(--terra-color-default-gray);
|
|
211
|
+
background-color: var(--terra-color-default-gray);
|
|
212
|
+
color: var(--terra-color-spacesuit-white);
|
|
228
213
|
}
|
|
229
214
|
|
|
230
|
-
.button--outline.button--
|
|
231
|
-
border-color: var(--terra-color-
|
|
232
|
-
background-color: var(--terra-color-
|
|
233
|
-
color: var(--terra-color-
|
|
215
|
+
.button--outline.button--default:active:not(.button--disabled) {
|
|
216
|
+
border-color: var(--terra-color-default-gray-tint);
|
|
217
|
+
background-color: var(--terra-color-default-gray-tint);
|
|
218
|
+
color: var(--terra-color-spacesuit-white);
|
|
234
219
|
}
|
|
235
220
|
|
|
236
221
|
/* Success */
|
|
237
222
|
.button--outline.button--success {
|
|
238
|
-
border-color: var(--terra-color-success-
|
|
239
|
-
color: var(--terra-
|
|
223
|
+
border-color: var(--terra-color-success-green);
|
|
224
|
+
color: var(--terra-button-outline-text-color);
|
|
240
225
|
}
|
|
241
226
|
|
|
242
227
|
.button--outline.button--success:hover:not(.button--disabled),
|
|
243
228
|
.button--outline.button--success.button--checked:not(.button--disabled) {
|
|
244
|
-
background-color: var(--terra-color-success-
|
|
245
|
-
color: var(--terra-color-
|
|
229
|
+
background-color: var(--terra-color-success-green);
|
|
230
|
+
color: var(--terra-color-spacesuit-white);
|
|
246
231
|
}
|
|
247
232
|
|
|
248
233
|
.button--outline.button--success:active:not(.button--disabled) {
|
|
249
|
-
border-color: var(--terra-color-success-
|
|
250
|
-
background-color: var(--terra-color-success-
|
|
251
|
-
color: var(--terra-color-
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/* Neutral */
|
|
255
|
-
.button--outline.button--neutral {
|
|
256
|
-
border-color: var(--terra-color-neutral-600);
|
|
257
|
-
color: var(--terra-color-neutral-600);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.button--outline.button--neutral:hover:not(.button--disabled),
|
|
261
|
-
.button--outline.button--neutral.button--checked:not(.button--disabled) {
|
|
262
|
-
background-color: var(--terra-color-neutral-600);
|
|
263
|
-
color: var(--terra-color-neutral-0);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.button--outline.button--neutral:active:not(.button--disabled) {
|
|
267
|
-
border-color: var(--terra-color-neutral-700);
|
|
268
|
-
background-color: var(--terra-color-neutral-700);
|
|
269
|
-
color: var(--terra-color-neutral-0);
|
|
234
|
+
border-color: var(--terra-color-success-green-focus);
|
|
235
|
+
background-color: var(--terra-color-success-green-focus);
|
|
236
|
+
color: var(--terra-color-spacesuit-white);
|
|
270
237
|
}
|
|
271
238
|
|
|
272
239
|
/* Warning */
|
|
273
240
|
.button--outline.button--warning {
|
|
274
|
-
border-color: var(--terra-color-
|
|
275
|
-
color: var(--terra-
|
|
241
|
+
border-color: var(--terra-color-international-orange);
|
|
242
|
+
color: var(--terra-button-outline-text-color);
|
|
276
243
|
}
|
|
277
244
|
|
|
278
245
|
.button--outline.button--warning:hover:not(.button--disabled),
|
|
279
246
|
.button--outline.button--warning.button--checked:not(.button--disabled) {
|
|
280
|
-
background-color: var(--terra-color-
|
|
281
|
-
color: var(--terra-color-
|
|
247
|
+
background-color: var(--terra-color-international-orange);
|
|
248
|
+
color: var(--terra-color-spacesuit-white);
|
|
282
249
|
}
|
|
283
250
|
|
|
284
251
|
.button--outline.button--warning:active:not(.button--disabled) {
|
|
285
|
-
border-color: var(--terra-color-
|
|
286
|
-
background-color: var(--terra-color-
|
|
287
|
-
color: var(--terra-color-
|
|
252
|
+
border-color: var(--terra-color-international-orange-tint);
|
|
253
|
+
background-color: var(--terra-color-international-orange-tint);
|
|
254
|
+
color: var(--terra-color-spacesuit-white);
|
|
288
255
|
}
|
|
289
256
|
|
|
290
257
|
/* Danger */
|
|
291
258
|
.button--outline.button--danger {
|
|
292
|
-
border-color: var(--terra-color-
|
|
293
|
-
color: var(--terra-
|
|
259
|
+
border-color: var(--terra-color-nasa-red);
|
|
260
|
+
color: var(--terra-button-outline-text-color);
|
|
294
261
|
}
|
|
295
262
|
|
|
296
263
|
.button--outline.button--danger:hover:not(.button--disabled),
|
|
297
264
|
.button--outline.button--danger.button--checked:not(.button--disabled) {
|
|
298
|
-
background-color: var(--terra-color-
|
|
299
|
-
color: var(--terra-color-
|
|
265
|
+
background-color: var(--terra-color-nasa-red);
|
|
266
|
+
color: var(--terra-color-spacesuit-white);
|
|
300
267
|
}
|
|
301
268
|
|
|
302
269
|
.button--outline.button--danger:active:not(.button--disabled) {
|
|
303
|
-
border-color: var(--terra-color-
|
|
304
|
-
background-color: var(--terra-color-
|
|
305
|
-
color: var(--terra-color-
|
|
270
|
+
border-color: var(--terra-color-nasa-red-tint);
|
|
271
|
+
background-color: var(--terra-color-nasa-red-tint);
|
|
272
|
+
color: var(--terra-color-spacesuit-white);
|
|
306
273
|
}
|
|
307
274
|
|
|
308
275
|
@media (forced-colors: active) {
|
|
@@ -318,25 +285,84 @@ var button_styles_default = css`
|
|
|
318
285
|
.button--text {
|
|
319
286
|
background-color: transparent;
|
|
320
287
|
border-color: transparent;
|
|
321
|
-
color: var(--terra-
|
|
288
|
+
color: var(--terra-button-text-text-color);
|
|
322
289
|
}
|
|
323
290
|
|
|
324
291
|
.button--text:hover:not(.button--disabled) {
|
|
325
292
|
background-color: transparent;
|
|
326
293
|
border-color: transparent;
|
|
327
|
-
color: var(--terra-color-
|
|
294
|
+
color: var(--terra-button-text-text-color-hover);
|
|
328
295
|
}
|
|
329
296
|
|
|
330
297
|
.button--text:focus-visible:not(.button--disabled) {
|
|
331
298
|
background-color: transparent;
|
|
332
299
|
border-color: transparent;
|
|
333
|
-
color: var(--terra-color-
|
|
300
|
+
color: var(--terra-color-nasa-blue);
|
|
334
301
|
}
|
|
335
302
|
|
|
336
303
|
.button--text:active:not(.button--disabled) {
|
|
337
304
|
background-color: transparent;
|
|
338
305
|
border-color: transparent;
|
|
339
|
-
color: var(--terra-color-
|
|
306
|
+
color: var(--terra-color-nasa-blue-tint);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/*
|
|
310
|
+
* Page Link buttons
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
.button--pagelink {
|
|
314
|
+
background-color: transparent;
|
|
315
|
+
border-color: transparent;
|
|
316
|
+
color: var(--terra-button-page-link-text);
|
|
317
|
+
& slot[name='suffix'] span {
|
|
318
|
+
display: flex;
|
|
319
|
+
justify-content: center;
|
|
320
|
+
align-items: center;
|
|
321
|
+
background-color: var(--terra-color-nasa-red);
|
|
322
|
+
color: var(--terra-color-spacesuit-white);
|
|
323
|
+
padding-left: 0;
|
|
324
|
+
padding-right: 0;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.button--pagelink:hover:not(.button--disabled) slot[name='suffix'] span {
|
|
329
|
+
background-color: var(--terra-color-nasa-red-shade);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.button--pagelink.button--small {
|
|
333
|
+
& slot[part='label'] {
|
|
334
|
+
padding-right: 0.3rem;
|
|
335
|
+
font-size: 1rem;
|
|
336
|
+
}
|
|
337
|
+
& slot[name='suffix'] span {
|
|
338
|
+
height: var(--terra-icon-small);
|
|
339
|
+
width: var(--terra-icon-small);
|
|
340
|
+
border-radius: 50%;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.button--pagelink.button--medium {
|
|
345
|
+
& slot[part='label'] {
|
|
346
|
+
padding-right: 0.4rem;
|
|
347
|
+
font-size: 1.4rem;
|
|
348
|
+
}
|
|
349
|
+
& slot[name='suffix'] span {
|
|
350
|
+
height: var(--terra-icon-medium);
|
|
351
|
+
width: var(--terra-icon-medium);
|
|
352
|
+
border-radius: 50%;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.button--pagelink.button--large {
|
|
357
|
+
& slot[part='label'] {
|
|
358
|
+
padding-right: 0.5rem;
|
|
359
|
+
font-size: 1.8rem;
|
|
360
|
+
}
|
|
361
|
+
& slot[name='suffix'] span {
|
|
362
|
+
height: var(--terra-icon-large);
|
|
363
|
+
width: var(--terra-icon-large);
|
|
364
|
+
border-radius: 50%;
|
|
365
|
+
}
|
|
340
366
|
}
|
|
341
367
|
|
|
342
368
|
/*
|
|
@@ -345,50 +371,34 @@ var button_styles_default = css`
|
|
|
345
371
|
|
|
346
372
|
.button--small {
|
|
347
373
|
height: auto;
|
|
348
|
-
min-height: var(--terra-
|
|
374
|
+
min-height: var(--terra-button-height-small);
|
|
349
375
|
font-size: var(--terra-button-font-size-small);
|
|
350
376
|
line-height: calc(
|
|
351
|
-
var(--terra-
|
|
377
|
+
var(--terra-button-height-small) - var(--terra-button-border-width) * 2
|
|
352
378
|
);
|
|
353
379
|
border-radius: var(--terra-input-border-radius-small);
|
|
354
380
|
}
|
|
355
381
|
|
|
356
382
|
.button--medium {
|
|
357
383
|
height: auto;
|
|
358
|
-
min-height: var(--terra-
|
|
384
|
+
min-height: var(--terra-button-height-medium);
|
|
359
385
|
font-size: var(--terra-button-font-size-medium);
|
|
360
386
|
line-height: calc(
|
|
361
|
-
var(--terra-
|
|
387
|
+
var(--terra-button-height-medium) - var(--terra-button-border-width) * 2
|
|
362
388
|
);
|
|
363
389
|
border-radius: var(--terra-input-border-radius-medium);
|
|
364
390
|
}
|
|
365
391
|
|
|
366
392
|
.button--large {
|
|
367
393
|
height: auto;
|
|
368
|
-
min-height: var(--terra-
|
|
394
|
+
min-height: var(--terra-button-height-large);
|
|
369
395
|
font-size: var(--terra-button-font-size-large);
|
|
370
396
|
line-height: calc(
|
|
371
|
-
var(--terra-
|
|
397
|
+
var(--terra-button-height-large) - var(--terra-button-border-width) * 2
|
|
372
398
|
);
|
|
373
399
|
border-radius: var(--terra-input-border-radius-large);
|
|
374
400
|
}
|
|
375
401
|
|
|
376
|
-
/*
|
|
377
|
-
* Pill modifier
|
|
378
|
-
*/
|
|
379
|
-
|
|
380
|
-
.button--pill.button--small {
|
|
381
|
-
border-radius: var(--terra-input-height-small);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.button--pill.button--medium {
|
|
385
|
-
border-radius: var(--terra-input-height-medium);
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.button--pill.button--large {
|
|
389
|
-
border-radius: var(--terra-input-height-large);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
402
|
/*
|
|
393
403
|
* Circle modifier
|
|
394
404
|
*/
|
|
@@ -399,17 +409,20 @@ var button_styles_default = css`
|
|
|
399
409
|
}
|
|
400
410
|
|
|
401
411
|
.button--circle.button--small {
|
|
402
|
-
|
|
412
|
+
height: var(--terra-button-height-small);
|
|
413
|
+
width: var(--terra-button-height-small);
|
|
403
414
|
border-radius: 50%;
|
|
404
415
|
}
|
|
405
416
|
|
|
406
417
|
.button--circle.button--medium {
|
|
407
|
-
|
|
418
|
+
height: var(--terra-button-height-medium);
|
|
419
|
+
width: var(--terra-button-height-medium);
|
|
408
420
|
border-radius: 50%;
|
|
409
421
|
}
|
|
410
422
|
|
|
411
423
|
.button--circle.button--large {
|
|
412
|
-
|
|
424
|
+
height: var(--terra-button-height-medium);
|
|
425
|
+
width: var(--terra-button-height-large);
|
|
413
426
|
border-radius: 50%;
|
|
414
427
|
}
|
|
415
428
|
|
|
@@ -545,6 +558,28 @@ var button_styles_default = css`
|
|
|
545
558
|
padding-inline-end: var(--terra-spacing-small);
|
|
546
559
|
}
|
|
547
560
|
|
|
561
|
+
/* Shape modifier
|
|
562
|
+
|
|
563
|
+
* Button radius overrides used to control the edge shape when button is not in a terra-button-group.
|
|
564
|
+
* Useful for integrating buttons into input form controls such as drop-down lists, search fields.
|
|
565
|
+
*/
|
|
566
|
+
.button--square-right {
|
|
567
|
+
border-start-end-radius: 0;
|
|
568
|
+
border-end-end-radius: 0;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.button--square {
|
|
572
|
+
border-start-start-radius: 0;
|
|
573
|
+
border-start-end-radius: 0;
|
|
574
|
+
border-end-start-radius: 0;
|
|
575
|
+
border-end-end-radius: 0;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.button--square-left {
|
|
579
|
+
border-start-start-radius: 0;
|
|
580
|
+
border-end-start-radius: 0;
|
|
581
|
+
}
|
|
582
|
+
|
|
548
583
|
/*
|
|
549
584
|
* Button groups support a variety of button types (e.g. buttons with tooltips, buttons as dropdown triggers, etc.).
|
|
550
585
|
* This means buttons aren't always direct descendants of the button group, thus we can't target them with the
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__privateAdd,
|
|
3
|
+
__privateGet,
|
|
4
|
+
__privateSet
|
|
5
|
+
} from "./chunk.GKBF7QGR.js";
|
|
6
|
+
|
|
7
|
+
// src/components/giovanni-search/giovanni-search.controller.ts
|
|
8
|
+
import { Task, TaskStatus } from "@lit/task";
|
|
9
|
+
var apiError = new Error(
|
|
10
|
+
"Failed to fetch the data required to make a list of searchable items."
|
|
11
|
+
);
|
|
12
|
+
var _apiTask;
|
|
13
|
+
var FetchController = class {
|
|
14
|
+
constructor(host) {
|
|
15
|
+
__privateAdd(this, _apiTask, void 0);
|
|
16
|
+
__privateSet(this, _apiTask, new Task(host, {
|
|
17
|
+
task: async () => {
|
|
18
|
+
const response = await fetch(
|
|
19
|
+
"https://windmill-load-balancer-641499207.us-east-1.elb.amazonaws.com/api/r/giovanni/aesir-keywords"
|
|
20
|
+
);
|
|
21
|
+
if (!response.ok) {
|
|
22
|
+
throw apiError;
|
|
23
|
+
}
|
|
24
|
+
return await response.json();
|
|
25
|
+
},
|
|
26
|
+
args: () => []
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
get taskComplete() {
|
|
30
|
+
return __privateGet(this, _apiTask).taskComplete;
|
|
31
|
+
}
|
|
32
|
+
get value() {
|
|
33
|
+
return __privateGet(this, _apiTask).value;
|
|
34
|
+
}
|
|
35
|
+
get taskStatus() {
|
|
36
|
+
const readableStatus = Object.entries(TaskStatus).reduce((accumulator, [key, value]) => {
|
|
37
|
+
accumulator[value] = key;
|
|
38
|
+
return accumulator;
|
|
39
|
+
}, {});
|
|
40
|
+
return readableStatus[__privateGet(this, _apiTask).status];
|
|
41
|
+
}
|
|
42
|
+
render(renderFunctions) {
|
|
43
|
+
return __privateGet(this, _apiTask).render(renderFunctions);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
_apiTask = new WeakMap();
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
FetchController
|
|
50
|
+
};
|