@nasa-terra/components 0.0.16 → 0.0.19
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.2TIJ6R6B.js → chunk.255N2VBJ.js} +1 -1
- package/cdn/chunks/{chunk.JIUOSOVY.js → chunk.26M35UMA.js} +1 -1
- package/cdn/chunks/{chunk.7VSR26CA.js → chunk.2MR4S2RG.js} +2 -2
- package/cdn/chunks/{chunk.EHY7VY3A.js → chunk.35UPRHLO.js} +1 -1
- package/cdn/chunks/{chunk.XV5OXFZF.js → chunk.3QDQU6IH.js} +1 -1
- package/cdn/chunks/{chunk.JM34BH4L.js → chunk.3X46EXSH.js} +1 -1
- package/cdn/chunks/{chunk.336JMC6Z.js → chunk.4BM5VFHP.js} +4 -2
- package/cdn/chunks/{chunk.KNJGM7ZC.js → chunk.7NUP2QM3.js} +1 -1
- package/cdn/chunks/{chunk.FKIVBKR4.js → chunk.A7JNBDMV.js} +1 -1
- package/{dist/chunks/chunk.2GTDPFRM.js → cdn/chunks/chunk.CVMKTAN6.js} +1 -1
- package/cdn/chunks/{chunk.RPXN4NU2.js → chunk.D4PVXIX4.js} +1 -1
- package/cdn/chunks/{chunk.VLVUJMLW.js → chunk.D4RFPP4E.js} +14 -14
- package/cdn/chunks/{chunk.IA24KXWX.js → chunk.EFFYILRO.js} +1 -1
- package/{dist/chunks/chunk.CBU7JODA.js → cdn/chunks/chunk.FXBR2CLR.js} +1 -1
- package/cdn/chunks/{chunk.AI62NGNK.js → chunk.GGXVEHRQ.js} +1 -1
- package/cdn/chunks/{chunk.MGN45BTW.js → chunk.GVXNMKZL.js} +1 -1
- package/cdn/chunks/{chunk.LCBLTPNH.js → chunk.H4JY2YI5.js} +1 -1
- package/cdn/chunks/{chunk.3ENNXZ6R.js → chunk.HOJQS4WB.js} +23 -14
- package/cdn/chunks/{chunk.T3R3UWJ7.js → chunk.HYBK26DZ.js} +3 -3
- package/cdn/chunks/{chunk.VXV5USN7.js → chunk.I4SJOUOT.js} +9 -9
- package/cdn/chunks/{chunk.5TCRMMVM.js → chunk.IEKKFDDR.js} +1 -1
- package/cdn/chunks/{chunk.QQ3GAD4X.js → chunk.JF5WE7DB.js} +4 -4
- package/cdn/chunks/{chunk.F6HKKNJR.js → chunk.K3KUUN7M.js} +15 -15
- package/cdn/chunks/{chunk.EIMG4XGS.js → chunk.KGVGJIN6.js} +4 -4
- package/cdn/chunks/{chunk.DY5SMOW7.js → chunk.KRV3QC6E.js} +1 -2
- package/cdn/chunks/{chunk.SDCAKUF2.js → chunk.MU5VF7T7.js} +1 -1
- package/cdn/chunks/{chunk.57LVW27O.js → chunk.N36ACYG7.js} +1 -1
- package/cdn/chunks/{chunk.TG4WI6CA.js → chunk.N6CSKYGG.js} +1 -1
- package/cdn/chunks/{chunk.PETOVVIO.js → chunk.PHMP6QZK.js} +1 -1
- package/cdn/chunks/{chunk.TOG3CR4L.js → chunk.Q7V7IFTI.js} +1 -1
- package/cdn/chunks/{chunk.WVAKAESC.js → chunk.RJCQ5JYU.js} +1 -1
- package/cdn/chunks/{chunk.ODLY7QWO.js → chunk.RPRZYXWX.js} +1 -1
- package/cdn/chunks/{chunk.F3WO26WZ.js → chunk.SAY53MDH.js} +3 -3
- package/{dist/chunks/chunk.KPXFSE3J.js → cdn/chunks/chunk.SBTMIM4P.js} +6 -3
- package/cdn/chunks/{chunk.RYDRC65X.js → chunk.SU7526RC.js} +1 -1
- package/{dist/chunks/chunk.34PQNYPP.js → cdn/chunks/chunk.T6LQIGOC.js} +1 -1
- package/{dist/chunks/chunk.KCYAARKK.js → cdn/chunks/chunk.T6XNILRG.js} +1 -1
- package/cdn/chunks/{chunk.5EGY75T5.js → chunk.UBVSIOSK.js} +4 -4
- package/cdn/chunks/{chunk.77DLQZVO.js → chunk.UQREFLTK.js} +1 -1
- package/cdn/chunks/{chunk.GZ24SYY3.js → chunk.VJ3ZRWAI.js} +2 -6
- package/cdn/chunks/{chunk.TD5OSBG3.js → chunk.VVXXEKVB.js} +1 -1
- package/cdn/chunks/{chunk.PBTOMMNF.js → chunk.VWOCHHDI.js} +7 -7
- package/cdn/chunks/{chunk.G6ADH3AH.js → chunk.WLGNUWUQ.js} +1 -1
- package/cdn/chunks/{chunk.QE6VXD5B.js → chunk.WRRDTOCT.js} +5 -2
- package/cdn/chunks/{chunk.IFWHGZLJ.js → chunk.XPKFSIPV.js} +1 -1
- package/cdn/chunks/{chunk.OB7ATVCO.js → chunk.YGXFM6FJ.js} +1 -1
- package/cdn/chunks/{chunk.CZH6I2IA.js → chunk.ZAYAT2TO.js} +1 -1
- package/cdn/chunks/{chunk.X2ZVRY4H.js → chunk.ZJVBOKXX.js} +1 -1
- package/cdn/chunks/{chunk.NGNH7UG4.js → chunk.ZMHMRAXL.js} +4 -4
- package/cdn/chunks/{chunk.MSS2SPZN.js → chunk.ZSTKVGYN.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +19 -19
- package/cdn/components/browse-variables/browse-variables.js +20 -20
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- 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/giovanni-search/giovanni-search.component.js +13 -13
- package/cdn/components/giovanni-search/giovanni-search.js +14 -14
- 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.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/leaflet-utils.d.ts +1 -1
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.js +5 -5
- package/cdn/components/map/map.controller.js +1 -1
- package/cdn/components/map/map.js +6 -6
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/time-series/time-series.component.d.ts +4 -2
- package/cdn/components/time-series/time-series.component.js +25 -25
- package/cdn/components/time-series/time-series.controller.d.ts +4 -3
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +26 -26
- package/cdn/components/variable-combobox/variable-combobox.component.js +12 -12
- package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.js +13 -13
- package/cdn/custom-elements.json +458 -450
- package/cdn/events/events.d.ts +1 -0
- package/cdn/events/terra-time-series-data-change.d.ts +16 -0
- package/cdn/react/browse-variables/index.js +20 -20
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/giovanni-search/index.js +14 -14
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +2 -2
- package/cdn/react/index.js +64 -64
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +6 -6
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.d.ts +8 -1
- package/cdn/react/time-series/index.js +26 -26
- package/cdn/react/variable-combobox/index.js +13 -13
- package/cdn/terra-ui-components.js +58 -58
- package/cdn/types/vue/index.d.ts +68 -63
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +49 -49
- package/cdn/web-types.json +85 -75
- package/{cdn/chunks/chunk.JBZMCSPD.js → dist/chunks/chunk.267RAJCD.js} +1 -1
- package/dist/chunks/{chunk.DV6U7J5D.js → chunk.2GFNQRFQ.js} +6 -6
- package/dist/chunks/{chunk.2KFIIWTA.js → chunk.2GIVYMVS.js} +1 -1
- package/dist/chunks/{chunk.ECOMXZ5Z.js → chunk.2SW6ZLO3.js} +6 -6
- package/dist/chunks/{chunk.5TCRMMVM.js → chunk.5BLMPQLX.js} +1 -1
- package/{cdn/chunks/chunk.MTNKN7SC.js → dist/chunks/chunk.6BQMITBG.js} +1 -1
- package/dist/chunks/{chunk.BQKL24VU.js → chunk.6W5DHHGH.js} +1 -1
- package/{cdn/chunks/chunk.NZLN7XGH.js → dist/chunks/chunk.6XGCF2AT.js} +1 -1
- package/{cdn/chunks/chunk.WALPLM23.js → dist/chunks/chunk.BLNX7W6U.js} +1 -1
- package/{cdn/chunks/chunk.34PQNYPP.js → dist/chunks/chunk.BQZFEJJM.js} +1 -1
- package/{cdn/chunks/chunk.NXW5W246.js → dist/chunks/chunk.CG2UCM6R.js} +4 -4
- package/{cdn/chunks/chunk.QJJV3URN.js → dist/chunks/chunk.CIHL36QS.js} +1 -1
- package/{cdn/chunks/chunk.NHY4FPXP.js → dist/chunks/chunk.DOHDFFXP.js} +6 -6
- package/{cdn/chunks/chunk.CUBR5ACQ.js → dist/chunks/chunk.DTO6LPWI.js} +1 -1
- package/{cdn/chunks/chunk.TFD7EM3D.js → dist/chunks/chunk.DWTCCF6R.js} +1 -1
- package/dist/chunks/{chunk.DR7BNSRT.js → chunk.E2GNJGZV.js} +1 -1
- package/dist/chunks/{chunk.SL7W466R.js → chunk.EX74UTJ7.js} +1 -1
- package/{cdn/chunks/chunk.UFFAH5CF.js → dist/chunks/chunk.FYQLL4HT.js} +1 -1
- package/{cdn/chunks/chunk.5HSDW7A7.js → dist/chunks/chunk.GAYRUSX6.js} +1 -1
- package/dist/chunks/{chunk.FKSGPKJ4.js → chunk.GGC3H4U4.js} +1 -1
- package/dist/chunks/{chunk.HSXXKVP2.js → chunk.GVOL34BS.js} +1 -1
- package/{cdn/chunks/chunk.TWEJH5NG.js → dist/chunks/chunk.HEWVEHI5.js} +1 -1
- package/dist/chunks/{chunk.FRYGAWGB.js → chunk.I3WITIFZ.js} +1 -1
- package/{cdn/chunks/chunk.WYAUVXJM.js → dist/chunks/chunk.ICVWA4P5.js} +5 -2
- package/{cdn/chunks/chunk.TRSTZLH4.js → dist/chunks/chunk.IKXISAQ2.js} +1 -1
- package/{cdn/chunks/chunk.EUMBRSX6.js → dist/chunks/chunk.ITTYAXUW.js} +1 -1
- package/{cdn/chunks/chunk.AE3PFNQE.js → dist/chunks/chunk.JFDJULBY.js} +1 -1
- package/{cdn/chunks/chunk.Y4T6LEGB.js → dist/chunks/chunk.JQIAVJLL.js} +1 -1
- package/{cdn/chunks/chunk.XSTI34LB.js → dist/chunks/chunk.JRFWKQYN.js} +1 -1
- package/dist/chunks/{chunk.EU6EQVBK.js → chunk.KADMU3E4.js} +3 -3
- package/dist/chunks/{chunk.GPMEZSRZ.js → chunk.KBIE3IOP.js} +1 -1
- package/{cdn/chunks/chunk.SQBTHONX.js → dist/chunks/chunk.LA3ITE3F.js} +3 -3
- package/dist/chunks/{chunk.G3K7U3GY.js → chunk.LHTTKRV2.js} +4 -4
- package/{cdn/chunks/chunk.EAPY6ENL.js → dist/chunks/chunk.LIXRQ4TF.js} +1 -1
- package/{cdn/chunks/chunk.DGKBWVVI.js → dist/chunks/chunk.MVIGRS3J.js} +1 -1
- package/{cdn/chunks/chunk.5LOTY62O.js → dist/chunks/chunk.PHKCL7D5.js} +1 -1
- package/dist/chunks/{chunk.7OAL7XX6.js → chunk.RQNB3PHE.js} +1 -1
- package/dist/chunks/{chunk.6ZBHXUFH.js → chunk.RSVF27RD.js} +1 -1
- package/{cdn/chunks/chunk.KPXFSE3J.js → dist/chunks/chunk.SBTMIM4P.js} +6 -3
- package/dist/chunks/{chunk.U4QKPX6T.js → chunk.SLW4ZVXI.js} +25 -16
- package/dist/chunks/{chunk.I5ZJKFQJ.js → chunk.TFKLXJVS.js} +12 -12
- package/dist/chunks/{chunk.BY7D7WUU.js → chunk.TK54QVRF.js} +4 -4
- package/{cdn/chunks/chunk.2GTDPFRM.js → dist/chunks/chunk.TRICHLNH.js} +1 -1
- package/dist/chunks/{chunk.ZC2AYSV2.js → chunk.UBBSTKSW.js} +4 -2
- package/{cdn/chunks/chunk.UQKHXO3T.js → dist/chunks/chunk.UCFFAP7X.js} +1 -2
- package/dist/chunks/{chunk.RPCYLOW6.js → chunk.UKBQUK7O.js} +1 -1
- package/{cdn/chunks/chunk.NLHKPFJJ.js → dist/chunks/chunk.WFSOHTHG.js} +1 -1
- package/dist/chunks/{chunk.6BHFQXZZ.js → chunk.X232PDAN.js} +1 -1
- package/{cdn/chunks/chunk.EPQIDDJG.js → dist/chunks/chunk.XBXVMXH7.js} +2 -6
- package/dist/chunks/{chunk.45HI7TFT.js → chunk.XVXKFPWS.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +16 -16
- package/dist/components/browse-variables/browse-variables.js +17 -17
- 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-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- package/dist/components/giovanni-search/giovanni-search.component.js +11 -11
- package/dist/components/giovanni-search/giovanni-search.js +12 -12
- 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 +1 -1
- package/dist/components/map/map.component.js +4 -4
- package/dist/components/map/map.controller.js +1 -1
- package/dist/components/map/map.js +5 -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 +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/time-series/time-series.component.d.ts +4 -2
- package/dist/components/time-series/time-series.component.js +21 -21
- package/dist/components/time-series/time-series.controller.d.ts +4 -3
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +22 -22
- package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
- package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +11 -11
- package/dist/custom-elements.json +458 -450
- package/dist/events/events.d.ts +1 -0
- package/dist/events/terra-time-series-data-change.d.ts +16 -0
- package/dist/react/browse-variables/index.js +17 -17
- 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-range-slider/index.js +4 -4
- package/dist/react/giovanni-search/index.js +12 -12
- package/dist/react/icon/index.js +5 -5
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +59 -59
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +12 -12
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.d.ts +8 -1
- package/dist/react/time-series/index.js +22 -22
- package/dist/react/variable-combobox/index.js +11 -11
- package/dist/terra-ui-components.js +53 -53
- package/dist/terra_ui_components-0.0.19-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.16.tar.gz → terra_ui_components-0.0.19.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +68 -63
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +49 -49
- package/dist/web-types.json +85 -75
- package/package.json +3 -4
- package/cdn/chunks/chunk.2DQS7YWJ.js +0 -41
- package/cdn/chunks/chunk.2KFIIWTA.js +0 -53
- package/cdn/chunks/chunk.2TEPJ23V.js +0 -11
- package/cdn/chunks/chunk.2V4XFMTB.js +0 -7
- package/cdn/chunks/chunk.3IXG5IJD.js +0 -21
- package/cdn/chunks/chunk.45HI7TFT.js +0 -11
- package/cdn/chunks/chunk.62YHGVQN.js +0 -335
- package/cdn/chunks/chunk.6PYVTQGY.js +0 -11
- package/cdn/chunks/chunk.7OAL7XX6.js +0 -21
- package/cdn/chunks/chunk.7OKJDEHN.js +0 -139
- package/cdn/chunks/chunk.7VUSSQRI.js +0 -20
- package/cdn/chunks/chunk.7WL3WWGJ.js +0 -293
- package/cdn/chunks/chunk.AAWOHDFX.js +0 -259
- package/cdn/chunks/chunk.ADOXGJHH.js +0 -11
- package/cdn/chunks/chunk.APJOA6RL.js +0 -655
- package/cdn/chunks/chunk.BQKL24VU.js +0 -82
- package/cdn/chunks/chunk.BY7D7WUU.js +0 -180
- package/cdn/chunks/chunk.CBU7JODA.js +0 -11
- package/cdn/chunks/chunk.CNUQQWCR.js +0 -215
- package/cdn/chunks/chunk.DR7BNSRT.js +0 -21
- package/cdn/chunks/chunk.DV6U7J5D.js +0 -264
- package/cdn/chunks/chunk.EGZMQ7T7.js +0 -35
- package/cdn/chunks/chunk.FBOXM56P.js +0 -19
- package/cdn/chunks/chunk.FWXMF6WX.js +0 -327
- package/cdn/chunks/chunk.GHDRVO5M.js +0 -125
- package/cdn/chunks/chunk.GR7XHOA3.js +0 -52
- package/cdn/chunks/chunk.I5ZJKFQJ.js +0 -578
- package/cdn/chunks/chunk.JOOAZ4RH.js +0 -50
- package/cdn/chunks/chunk.KAV5L6Z5.js +0 -318
- package/cdn/chunks/chunk.KZ3ISS6V.js +0 -120
- package/cdn/chunks/chunk.LELNKRPW.js +0 -685
- package/cdn/chunks/chunk.MDRUDBRH.js +0 -43
- package/cdn/chunks/chunk.NX4TE64Y.js +0 -25
- package/cdn/chunks/chunk.OIDMX5LU.js +0 -10
- package/cdn/chunks/chunk.PICX7LPQ.js +0 -194
- package/cdn/chunks/chunk.PL4INVKT.js +0 -24
- package/cdn/chunks/chunk.Q44TP6D4.js +0 -477
- package/cdn/chunks/chunk.QEMJLGM4.js +0 -58
- package/cdn/chunks/chunk.QK5OWFVO.js +0 -238
- package/cdn/chunks/chunk.RPCYLOW6.js +0 -354
- package/cdn/chunks/chunk.RV2KFFXW.js +0 -116
- package/cdn/chunks/chunk.SK7IZCKP.js +0 -37
- package/cdn/chunks/chunk.SR6QXNO3.js +0 -24
- package/cdn/chunks/chunk.TQJATCGZ.js +0 -11
- package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
- package/cdn/chunks/chunk.U4QKPX6T.js +0 -192
- package/cdn/chunks/chunk.UGKIMEZW.js +0 -21
- package/cdn/chunks/chunk.UIYPAVP3.js +0 -104
- package/cdn/chunks/chunk.USCKHG5S.js +0 -25
- package/cdn/chunks/chunk.V7JJFRAE.js +0 -11
- package/cdn/chunks/chunk.W7JRXR2Y.js +0 -293
- package/cdn/chunks/chunk.YL2ETAOO.js +0 -153
- package/cdn/chunks/chunk.Z2ELMSYN.js +0 -63
- package/cdn/chunks/chunk.ZC2AYSV2.js +0 -273
- package/dist/chunks/chunk.2O6HB6W6.js +0 -21
- package/dist/chunks/chunk.3WHG66G3.js +0 -177
- package/dist/chunks/chunk.57LVW27O.js +0 -11
- package/dist/chunks/chunk.5LOTY62O.js +0 -120
- package/dist/chunks/chunk.5O7TTTJD.js +0 -351
- package/dist/chunks/chunk.5UE4SLYC.js +0 -120
- package/dist/chunks/chunk.6CLWIMAP.js +0 -21
- package/dist/chunks/chunk.6GMULXGW.js +0 -21
- package/dist/chunks/chunk.7QKG7IRI.js +0 -379
- package/dist/chunks/chunk.A6JU7GRG.js +0 -25
- package/dist/chunks/chunk.AC6WDIAW.js +0 -11
- package/dist/chunks/chunk.ADOXGJHH.js +0 -11
- package/dist/chunks/chunk.CPXWDTHF.js +0 -214
- package/dist/chunks/chunk.CUBR5ACQ.js +0 -11
- package/dist/chunks/chunk.CZH6I2IA.js +0 -11
- package/dist/chunks/chunk.DIBCM2Y3.js +0 -11
- package/dist/chunks/chunk.EAPY6ENL.js +0 -11
- package/dist/chunks/chunk.EG7EICTO.js +0 -406
- package/dist/chunks/chunk.EHY7VY3A.js +0 -21
- package/dist/chunks/chunk.EPQIDDJG.js +0 -379
- package/dist/chunks/chunk.EZTCV6LQ.js +0 -95
- package/dist/chunks/chunk.FIMCDNWK.js +0 -11
- package/dist/chunks/chunk.FKIVBKR4.js +0 -11
- package/dist/chunks/chunk.FWXMF6WX.js +0 -327
- package/dist/chunks/chunk.FY4LGVGC.js +0 -21
- package/dist/chunks/chunk.G34ZJR6B.js +0 -11
- package/dist/chunks/chunk.GVG7MLLN.js +0 -21
- package/dist/chunks/chunk.I5DIH6L6.js +0 -11
- package/dist/chunks/chunk.IFWHGZLJ.js +0 -21
- package/dist/chunks/chunk.IYEX72BV.js +0 -11
- package/dist/chunks/chunk.J7P5CNNR.js +0 -11
- package/dist/chunks/chunk.JM34BH4L.js +0 -11
- package/dist/chunks/chunk.KQCFGTAH.js +0 -82
- package/dist/chunks/chunk.MDRUDBRH.js +0 -43
- package/dist/chunks/chunk.MHMITM2Q.js +0 -21
- package/dist/chunks/chunk.MTNKN7SC.js +0 -95
- package/dist/chunks/chunk.NHY4FPXP.js +0 -351
- package/dist/chunks/chunk.NQZGHZYS.js +0 -11
- package/dist/chunks/chunk.NXW5W246.js +0 -406
- package/dist/chunks/chunk.NZLN7XGH.js +0 -214
- package/dist/chunks/chunk.OB7ATVCO.js +0 -24
- package/dist/chunks/chunk.ODLY7QWO.js +0 -11
- package/dist/chunks/chunk.PARFAN5E.js +0 -25
- package/dist/chunks/chunk.PCU3BZMH.js +0 -264
- package/dist/chunks/chunk.PETOVVIO.js +0 -21
- package/dist/chunks/chunk.PICX7LPQ.js +0 -194
- package/dist/chunks/chunk.PYDXDZ7R.js +0 -21
- package/dist/chunks/chunk.Q44TP6D4.js +0 -477
- package/dist/chunks/chunk.Q67RNINH.js +0 -180
- package/dist/chunks/chunk.QLUHMJKU.js +0 -53
- package/dist/chunks/chunk.RR45MD47.js +0 -11
- package/dist/chunks/chunk.RYDRC65X.js +0 -11
- package/dist/chunks/chunk.SDCAKUF2.js +0 -11
- package/dist/chunks/chunk.SKHGD7CP.js +0 -578
- package/dist/chunks/chunk.SQBTHONX.js +0 -177
- package/dist/chunks/chunk.SR6QXNO3.js +0 -24
- package/dist/chunks/chunk.SS24NNGJ.js +0 -11
- package/dist/chunks/chunk.TFD7EM3D.js +0 -21
- package/dist/chunks/chunk.TOG3CR4L.js +0 -21
- package/dist/chunks/chunk.U2URIXJW.js +0 -354
- package/dist/chunks/chunk.UJ7TXBCU.js +0 -21
- package/dist/chunks/chunk.UQKHXO3T.js +0 -66
- package/dist/chunks/chunk.V7JJFRAE.js +0 -11
- package/dist/chunks/chunk.VR2UR6LQ.js +0 -11
- package/dist/chunks/chunk.WALPLM23.js +0 -11
- package/dist/chunks/chunk.WVAKAESC.js +0 -21
- package/dist/chunks/chunk.WYAUVXJM.js +0 -21
- package/dist/chunks/chunk.XSTI34LB.js +0 -21
- package/dist/chunks/chunk.XUW42A44.js +0 -21
- package/dist/chunks/chunk.XV5OXFZF.js +0 -21
- package/dist/terra_ui_components-0.0.16-py3-none-any.whl +0 -0
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__decorateClass,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk.TVFCHGU3.js";
|
|
5
|
-
|
|
6
|
-
// src/styles/component.styles.ts
|
|
7
|
-
import { css } from "lit";
|
|
8
|
-
var component_styles_default = css`
|
|
9
|
-
:host {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
opacity: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:defined {
|
|
15
|
-
opacity: unset;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:host *,
|
|
19
|
-
:host *::before,
|
|
20
|
-
:host *::after {
|
|
21
|
-
box-sizing: inherit;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host {
|
|
25
|
-
background-color: var(--background-color);
|
|
26
|
-
color: var(--color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[hidden] {
|
|
30
|
-
display: none !important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Horizon Design System Font Classes */
|
|
34
|
-
|
|
35
|
-
/* Display Fonts */
|
|
36
|
-
|
|
37
|
-
.display-120 {
|
|
38
|
-
font-family: var(--terra-font-family--inter);
|
|
39
|
-
font-size: 7.5rem; /* 120px */
|
|
40
|
-
font-weight: var(--terra-font-weight-bold);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.display-100 {
|
|
44
|
-
font-family: var(--terra-font-family--inter);
|
|
45
|
-
font-size: 6.25rem; /* 100px */
|
|
46
|
-
font-weight: var(--terra-font-weight-bold);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.display-80 {
|
|
50
|
-
font-family: var(--terra-font-family--inter);
|
|
51
|
-
font-size: 5rem; /* 80px */
|
|
52
|
-
font-weight: var(--terra-font-weight-bold);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.display-72 {
|
|
56
|
-
font-family: var(--terra-font-family--inter);
|
|
57
|
-
font-size: 4.5rem; /* 72px */
|
|
58
|
-
font-weight: var(--terra-font-weight-bold);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.display-60 {
|
|
62
|
-
font-family: var(--terra-font-family--inter);
|
|
63
|
-
font-size: 3.75rem; /* 60px */
|
|
64
|
-
font-weight: var(--terra-font-weight-bold);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.display-48 {
|
|
68
|
-
font-family: var(--terra-font-family--inter);
|
|
69
|
-
font-size: 3rem; /* 48px */
|
|
70
|
-
font-weight: var(--terra-font-weight-bold);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.display-41 {
|
|
74
|
-
font-family: var(--terra-font-family--inter);
|
|
75
|
-
font-size: 2.563rem; /* 41px */
|
|
76
|
-
font-weight: var(--terra-font-weight-bold);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Heading Fonts */
|
|
80
|
-
|
|
81
|
-
.heading-36-bold {
|
|
82
|
-
font-family: var(--terra-font-family--inter);
|
|
83
|
-
font-size: 2.25rem; /* 36px */
|
|
84
|
-
font-weight: var(--terra-font-weight-bold);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.heading-36-light {
|
|
88
|
-
font-family: var(--terra-font-family--inter);
|
|
89
|
-
font-size: 2.25rem; /* 36px */
|
|
90
|
-
font-weight: var(--terra-font-weight-light);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.heading-29-bold {
|
|
94
|
-
font-family: var(--terra-font-family--inter);
|
|
95
|
-
font-size: 1.813rem; /* 29px */
|
|
96
|
-
font-weight: var(--terra-font-weight-bold);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.heading-29-light {
|
|
100
|
-
font-family: var(--terra-font-family--inter);
|
|
101
|
-
font-size: 1.813rem; /* 29px */
|
|
102
|
-
font-weight: var(--terra-font-weight-light);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.heading-22-bold {
|
|
106
|
-
font-family: var(--terra-font-family--inter);
|
|
107
|
-
font-size: 1.375rem; /* 22px */
|
|
108
|
-
font-weight: var(--terra-font-weight-bold);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.heading-22-light {
|
|
112
|
-
font-family: var(--terra-font-family--inter);
|
|
113
|
-
font-size: 1.375rem; /*22px */
|
|
114
|
-
font-weight: var(--terra-font-weight-light);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.heading-18-bold {
|
|
118
|
-
font-family: var(--terra-font-family--inter);
|
|
119
|
-
font-size: 1.125rem; /* 18px */
|
|
120
|
-
font-weight: var(--terra-font-weight-bold);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.heading-18-light {
|
|
124
|
-
font-family: var(--terra-font-family--inter);
|
|
125
|
-
font-size: 1.125rem; /* 18px */
|
|
126
|
-
font-weight: var(--terra-font-weight-light);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.heading-16-bold {
|
|
130
|
-
font-family: var(--terra-font-family--inter);
|
|
131
|
-
font-size: 1rem; /* 16px */
|
|
132
|
-
font-weight: var(--terra-font-weight-bold);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.heading-16-light {
|
|
136
|
-
font-family: var(--terra-font-family--inter);
|
|
137
|
-
font-size: 1rem; /* 16px */
|
|
138
|
-
font-weight: var(--terra-font-weight-light);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.heading-14-bold {
|
|
142
|
-
font-family: var(--terra-font-family--inter);
|
|
143
|
-
font-size: 0.875rem; /* 14px */
|
|
144
|
-
font-weight: var(--terra-font-weight-bold);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.heading-14-light {
|
|
148
|
-
font-family: var(--terra-font-family--inter);
|
|
149
|
-
font-size: 0.875rem; /* 14px */
|
|
150
|
-
font-weight: var(--terra-font-weight-light);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.heading-12-bold {
|
|
154
|
-
font-family: var(--terra-font-family--inter);
|
|
155
|
-
font-size: 0.75rem; /* 12px */
|
|
156
|
-
font-weight: var(--terra-font-weight-bold);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.heading-12-light {
|
|
160
|
-
font-family: var(--terra-font-family--inter);
|
|
161
|
-
font-size: 0.75rem; /* 12px */
|
|
162
|
-
font-weight: var(--terra-font-weight-light);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.heading-11-semi-bold {
|
|
166
|
-
font-family: var(--terra-font-family--inter);
|
|
167
|
-
font-size: 0.688rem; /* 11px */
|
|
168
|
-
font-weight: var(--terra-font-weight-semi-bold);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/* Body Fonts */
|
|
172
|
-
|
|
173
|
-
.body-18 {
|
|
174
|
-
font-family: var(--terra-font-family--public-sans);
|
|
175
|
-
font-size: 1.125rem; /* 18px */
|
|
176
|
-
font-weight: var(--terra-font-weight-normal);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.body-16 {
|
|
180
|
-
font-family: var(--terra-font-family--public-sans);
|
|
181
|
-
font-size: 1rem; /* 16px */
|
|
182
|
-
font-weight: var(--terra-font-weight-normal);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.body-14 {
|
|
186
|
-
font-family: var(--terra-font-family--public-sans);
|
|
187
|
-
font-size: 0.875rem; /* 14px */
|
|
188
|
-
font-weight: var(--terra-font-weight-normal);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.body-12 {
|
|
192
|
-
font-family: var(--terra-font-family--public-sans);
|
|
193
|
-
font-size: 0.75rem; /* 12px */
|
|
194
|
-
font-weight: var(--terra-font-weight-normal);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.body-11 {
|
|
198
|
-
font-family: var(--terra-font-family--public-sans);
|
|
199
|
-
font-size: 0.688rem; /* 11px */
|
|
200
|
-
font-weight: var(--terra-font-weight-normal);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/* Number & Label Fonts */
|
|
204
|
-
|
|
205
|
-
.number-240 {
|
|
206
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
207
|
-
font-size: 15rem; /* 240px */
|
|
208
|
-
font-weight: var(--terra-font-weight-light);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.number-120 {
|
|
212
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
213
|
-
font-size: 7.5rem; /* 120px */
|
|
214
|
-
font-weight: var(--terra-font-weight-light);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.number-48 {
|
|
218
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
219
|
-
font-size: 3rem; /* 48px */
|
|
220
|
-
font-weight: var(--terra-font-weight-light);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.number-36 {
|
|
224
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
225
|
-
font-size: 2.25rem; /* 36px */
|
|
226
|
-
font-weight: var(--terra-font-weight-light);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.number-14 {
|
|
230
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
231
|
-
font-size: 0.875rem; /* 14px */
|
|
232
|
-
font-weight: 500;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.number-11 {
|
|
236
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
237
|
-
font-size: 0.688rem; /* 11px */
|
|
238
|
-
font-weight: 500;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.label-14 {
|
|
242
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
243
|
-
font-size: 0.875rem; /* 14px */
|
|
244
|
-
font-weight: var(--terra-font-weight-light);
|
|
245
|
-
text-transform: uppercase;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.label-12 {
|
|
249
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
250
|
-
font-size: 0.75rem; /* 12px */
|
|
251
|
-
font-weight: var(--terra-font-weight-light);
|
|
252
|
-
text-transform: uppercase;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.label-11 {
|
|
256
|
-
font-family: var(--terra-font-family--dm-mono);
|
|
257
|
-
font-size: 0.688rem; /* 11px */
|
|
258
|
-
font-weight: var(--terra-font-weight-light);
|
|
259
|
-
text-transform: uppercase;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/* Forms */
|
|
263
|
-
|
|
264
|
-
/* Input Field */
|
|
265
|
-
|
|
266
|
-
input[type='text'],
|
|
267
|
-
input[type='password'],
|
|
268
|
-
select,
|
|
269
|
-
.input {
|
|
270
|
-
font-family: var(--terra-input-font-family);
|
|
271
|
-
font-size: var(--terra-input-font-size);
|
|
272
|
-
color: var(--terra-input-color);
|
|
273
|
-
font-weight: var(--terra-input-font-weight);
|
|
274
|
-
line-height: var(--terra-input-line-height);
|
|
275
|
-
background-color: var(--terra-input-background-color);
|
|
276
|
-
border: var(--terra-input-border-width) solid var(--terra-input-border-color);
|
|
277
|
-
border-radius: var(--terra-input-border-radius);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
label,
|
|
281
|
-
.input-label {
|
|
282
|
-
font-family: var(--terra-input-label-font-family);
|
|
283
|
-
font-size: var(--terra-input-label-font-size);
|
|
284
|
-
color: var(--terra-input-label-color);
|
|
285
|
-
font-weight: var(--terra-font-weight-semibold);
|
|
286
|
-
line-height: var(--terra-input-label-line-height);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/* Elements */
|
|
290
|
-
|
|
291
|
-
a {
|
|
292
|
-
text-decoration: underline;
|
|
293
|
-
text-decoration-color: #585858;
|
|
294
|
-
text-decoration-style: dashed;
|
|
295
|
-
text-decoration-thickness: 0.05em;
|
|
296
|
-
text-underline-offset: 0.25rem;
|
|
297
|
-
color: var(--terra-color-carbon-60);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/* UTILITY CSS */
|
|
301
|
-
.sr-only {
|
|
302
|
-
block-size: 1px;
|
|
303
|
-
border-width: 0;
|
|
304
|
-
clip: rect(0, 0, 0, 0);
|
|
305
|
-
margin: -1px;
|
|
306
|
-
overflow: hidden;
|
|
307
|
-
padding: 0;
|
|
308
|
-
position: absolute;
|
|
309
|
-
white-space: nowrap;
|
|
310
|
-
width: 1px;
|
|
311
|
-
}
|
|
312
|
-
`;
|
|
313
|
-
|
|
314
|
-
// src/internal/terra-element.ts
|
|
315
|
-
import { LitElement } from "lit";
|
|
316
|
-
import { property } from "lit/decorators.js";
|
|
317
|
-
var TerraElement = class extends LitElement {
|
|
318
|
-
emit(name, options) {
|
|
319
|
-
const event = new CustomEvent(name, __spreadValues({
|
|
320
|
-
bubbles: true,
|
|
321
|
-
cancelable: false,
|
|
322
|
-
composed: true,
|
|
323
|
-
detail: {}
|
|
324
|
-
}, options));
|
|
325
|
-
this.dispatchEvent(event);
|
|
326
|
-
return event;
|
|
327
|
-
}
|
|
328
|
-
/* eslint-enable */
|
|
329
|
-
static define(name, elementConstructor = this, options = {}) {
|
|
330
|
-
const currentlyRegisteredConstructor = customElements.get(name);
|
|
331
|
-
if (!currentlyRegisteredConstructor) {
|
|
332
|
-
customElements.define(
|
|
333
|
-
name,
|
|
334
|
-
class extends elementConstructor {
|
|
335
|
-
},
|
|
336
|
-
options
|
|
337
|
-
);
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
let newVersion = " (unknown version)";
|
|
341
|
-
let existingVersion = newVersion;
|
|
342
|
-
if ("version" in elementConstructor && elementConstructor.version) {
|
|
343
|
-
newVersion = " v" + elementConstructor.version;
|
|
344
|
-
}
|
|
345
|
-
if ("version" in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {
|
|
346
|
-
existingVersion = " v" + currentlyRegisteredConstructor.version;
|
|
347
|
-
}
|
|
348
|
-
if (newVersion && existingVersion && newVersion === existingVersion) {
|
|
349
|
-
return;
|
|
350
|
-
}
|
|
351
|
-
console.warn(
|
|
352
|
-
`Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
|
|
353
|
-
);
|
|
354
|
-
}
|
|
355
|
-
constructor() {
|
|
356
|
-
super();
|
|
357
|
-
Object.entries(
|
|
358
|
-
this.constructor.dependencies
|
|
359
|
-
).forEach(([name, component]) => {
|
|
360
|
-
;
|
|
361
|
-
this.constructor.define(name, component);
|
|
362
|
-
});
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
/* eslint-disable */
|
|
366
|
-
// @ts-expect-error This is auto-injected at build time.
|
|
367
|
-
TerraElement.version = "0.0.16";
|
|
368
|
-
TerraElement.dependencies = {};
|
|
369
|
-
__decorateClass([
|
|
370
|
-
property()
|
|
371
|
-
], TerraElement.prototype, "dir", 2);
|
|
372
|
-
__decorateClass([
|
|
373
|
-
property()
|
|
374
|
-
], TerraElement.prototype, "lang", 2);
|
|
375
|
-
|
|
376
|
-
export {
|
|
377
|
-
component_styles_default,
|
|
378
|
-
TerraElement
|
|
379
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraGiovanniSearch
|
|
3
|
-
} from "./chunk.ECOMXZ5Z.js";
|
|
4
|
-
|
|
5
|
-
// src/react/giovanni-search/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
import "@lit/react";
|
|
9
|
-
var tagName = "terra-giovanni-search";
|
|
10
|
-
TerraGiovanniSearch.define("terra-giovanni-search");
|
|
11
|
-
var reactWrapper = createComponent({
|
|
12
|
-
tagName,
|
|
13
|
-
elementClass: TerraGiovanniSearch,
|
|
14
|
-
react: React,
|
|
15
|
-
events: {
|
|
16
|
-
onTerraGiovanniSearchChange: "terra-giovanni-search-change",
|
|
17
|
-
onTerraSearch: "terra-search"
|
|
18
|
-
},
|
|
19
|
-
displayName: "TerraGiovanniSearch"
|
|
20
|
-
});
|
|
21
|
-
var giovanni_search_default = reactWrapper;
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
giovanni_search_default
|
|
25
|
-
};
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getIconLibrary,
|
|
3
|
-
unwatchIcon,
|
|
4
|
-
watchIcon
|
|
5
|
-
} from "./chunk.MDRUDBRH.js";
|
|
6
|
-
import {
|
|
7
|
-
icon_styles_default
|
|
8
|
-
} from "./chunk.7VUSSQRI.js";
|
|
9
|
-
import {
|
|
10
|
-
watch
|
|
11
|
-
} from "./chunk.SK7IZCKP.js";
|
|
12
|
-
import {
|
|
13
|
-
TerraElement,
|
|
14
|
-
component_styles_default
|
|
15
|
-
} from "./chunk.7QKG7IRI.js";
|
|
16
|
-
import {
|
|
17
|
-
__decorateClass,
|
|
18
|
-
__privateAdd,
|
|
19
|
-
__privateGet,
|
|
20
|
-
__privateMethod,
|
|
21
|
-
__privateSet
|
|
22
|
-
} from "./chunk.TVFCHGU3.js";
|
|
23
|
-
|
|
24
|
-
// src/components/icon/icon.component.ts
|
|
25
|
-
import { property, state } from "lit/decorators.js";
|
|
26
|
-
import { isTemplateResult } from "lit/directive-helpers.js";
|
|
27
|
-
var CACHEABLE_ERROR = Symbol();
|
|
28
|
-
var RETRYABLE_ERROR = Symbol();
|
|
29
|
-
var parser;
|
|
30
|
-
var iconCache = /* @__PURE__ */ new Map();
|
|
31
|
-
var _initialRender, _resolveIcon, resolveIcon_fn, _getIconSource, getIconSource_fn, _styleFromAttributes, styleFromAttributes_fn;
|
|
32
|
-
var TerraIcon = class extends TerraElement {
|
|
33
|
-
constructor() {
|
|
34
|
-
super(...arguments);
|
|
35
|
-
/** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */
|
|
36
|
-
__privateAdd(this, _resolveIcon);
|
|
37
|
-
__privateAdd(this, _getIconSource);
|
|
38
|
-
/**
|
|
39
|
-
* SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.
|
|
40
|
-
* Merge select attributes with existing inline style attribute to forward values to underlying SVG.
|
|
41
|
-
*/
|
|
42
|
-
__privateAdd(this, _styleFromAttributes);
|
|
43
|
-
__privateAdd(this, _initialRender, false);
|
|
44
|
-
this.svg = null;
|
|
45
|
-
this.label = "";
|
|
46
|
-
this.library = "default";
|
|
47
|
-
this.color = null;
|
|
48
|
-
this.fontSize = null;
|
|
49
|
-
}
|
|
50
|
-
connectedCallback() {
|
|
51
|
-
super.connectedCallback();
|
|
52
|
-
watchIcon(this);
|
|
53
|
-
}
|
|
54
|
-
firstUpdated() {
|
|
55
|
-
__privateSet(this, _initialRender, true);
|
|
56
|
-
this.setIcon();
|
|
57
|
-
}
|
|
58
|
-
disconnectedCallback() {
|
|
59
|
-
super.disconnectedCallback();
|
|
60
|
-
unwatchIcon(this);
|
|
61
|
-
}
|
|
62
|
-
handleLabelChange() {
|
|
63
|
-
const hasLabel = typeof this.label === "string" && this.label.length > 0;
|
|
64
|
-
if (hasLabel) {
|
|
65
|
-
this.setAttribute("role", "img");
|
|
66
|
-
this.setAttribute("aria-label", this.label);
|
|
67
|
-
this.removeAttribute("aria-hidden");
|
|
68
|
-
} else {
|
|
69
|
-
this.removeAttribute("role");
|
|
70
|
-
this.removeAttribute("aria-label");
|
|
71
|
-
this.setAttribute("aria-hidden", "true");
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
async setIcon() {
|
|
75
|
-
var _a;
|
|
76
|
-
const { url, fromLibrary } = __privateMethod(this, _getIconSource, getIconSource_fn).call(this);
|
|
77
|
-
const library = fromLibrary ? getIconLibrary(this.library) : void 0;
|
|
78
|
-
if (!url) {
|
|
79
|
-
this.svg = null;
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
let iconResolver = iconCache.get(url);
|
|
83
|
-
if (!iconResolver) {
|
|
84
|
-
iconResolver = __privateMethod(this, _resolveIcon, resolveIcon_fn).call(this, url);
|
|
85
|
-
iconCache.set(url, iconResolver);
|
|
86
|
-
}
|
|
87
|
-
if (!__privateGet(this, _initialRender)) {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const svg = await iconResolver;
|
|
91
|
-
if (svg === RETRYABLE_ERROR) {
|
|
92
|
-
iconCache.delete(url);
|
|
93
|
-
}
|
|
94
|
-
if (url !== __privateMethod(this, _getIconSource, getIconSource_fn).call(this).url) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
if (isTemplateResult(svg)) {
|
|
98
|
-
this.svg = svg;
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
switch (svg) {
|
|
102
|
-
case RETRYABLE_ERROR:
|
|
103
|
-
case CACHEABLE_ERROR:
|
|
104
|
-
this.svg = null;
|
|
105
|
-
this.emit("terra-error");
|
|
106
|
-
break;
|
|
107
|
-
default:
|
|
108
|
-
this.svg = svg.cloneNode(true);
|
|
109
|
-
(_a = library == null ? void 0 : library.mutator) == null ? void 0 : _a.call(library, this.svg);
|
|
110
|
-
this.emit("terra-load");
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
render() {
|
|
114
|
-
__privateMethod(this, _styleFromAttributes, styleFromAttributes_fn).call(this);
|
|
115
|
-
return this.svg;
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
_initialRender = new WeakMap();
|
|
119
|
-
_resolveIcon = new WeakSet();
|
|
120
|
-
resolveIcon_fn = async function(url) {
|
|
121
|
-
var _a;
|
|
122
|
-
let fileData;
|
|
123
|
-
try {
|
|
124
|
-
fileData = await fetch(url, { mode: "cors" });
|
|
125
|
-
if (!fileData.ok) {
|
|
126
|
-
return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;
|
|
127
|
-
}
|
|
128
|
-
} catch (e) {
|
|
129
|
-
return RETRYABLE_ERROR;
|
|
130
|
-
}
|
|
131
|
-
try {
|
|
132
|
-
const div = document.createElement("div");
|
|
133
|
-
div.innerHTML = await fileData.text();
|
|
134
|
-
const svg = div.firstElementChild;
|
|
135
|
-
if (((_a = svg == null ? void 0 : svg.tagName) == null ? void 0 : _a.toLowerCase()) !== "svg") {
|
|
136
|
-
return CACHEABLE_ERROR;
|
|
137
|
-
}
|
|
138
|
-
if (!parser) {
|
|
139
|
-
parser = new DOMParser();
|
|
140
|
-
}
|
|
141
|
-
const doc = parser.parseFromString(svg.outerHTML, "text/html");
|
|
142
|
-
const svgEl = doc.body.querySelector("svg");
|
|
143
|
-
if (!svgEl) {
|
|
144
|
-
return CACHEABLE_ERROR;
|
|
145
|
-
}
|
|
146
|
-
svgEl.part.add("svg");
|
|
147
|
-
return document.adoptNode(svgEl);
|
|
148
|
-
} catch (e) {
|
|
149
|
-
return CACHEABLE_ERROR;
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
_getIconSource = new WeakSet();
|
|
153
|
-
getIconSource_fn = function() {
|
|
154
|
-
const library = getIconLibrary(this.library);
|
|
155
|
-
if (this.name && library) {
|
|
156
|
-
return {
|
|
157
|
-
url: library.resolver(this.name),
|
|
158
|
-
fromLibrary: true
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
return {
|
|
162
|
-
url: this.src,
|
|
163
|
-
fromLibrary: false
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
_styleFromAttributes = new WeakSet();
|
|
167
|
-
styleFromAttributes_fn = function() {
|
|
168
|
-
const svgAttributes = [
|
|
169
|
-
{ attribute: "color", property: this.color },
|
|
170
|
-
{ attribute: "font-size", property: this.fontSize }
|
|
171
|
-
];
|
|
172
|
-
const style = svgAttributes.reduce((accumulator, { attribute, property: property2 }) => {
|
|
173
|
-
if (typeof property2 === "string" && property2.length > 0) {
|
|
174
|
-
accumulator += ` ${attribute}: ${property2};`;
|
|
175
|
-
}
|
|
176
|
-
this.removeAttribute(attribute);
|
|
177
|
-
return accumulator;
|
|
178
|
-
}, `${this.style.cssText}`);
|
|
179
|
-
if (style.length > 0) {
|
|
180
|
-
this.setAttribute("style", style);
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
TerraIcon.styles = [component_styles_default, icon_styles_default];
|
|
184
|
-
__decorateClass([
|
|
185
|
-
state()
|
|
186
|
-
], TerraIcon.prototype, "svg", 2);
|
|
187
|
-
__decorateClass([
|
|
188
|
-
property({ reflect: true })
|
|
189
|
-
], TerraIcon.prototype, "name", 2);
|
|
190
|
-
__decorateClass([
|
|
191
|
-
property()
|
|
192
|
-
], TerraIcon.prototype, "src", 2);
|
|
193
|
-
__decorateClass([
|
|
194
|
-
property()
|
|
195
|
-
], TerraIcon.prototype, "label", 2);
|
|
196
|
-
__decorateClass([
|
|
197
|
-
property({ reflect: true })
|
|
198
|
-
], TerraIcon.prototype, "library", 2);
|
|
199
|
-
__decorateClass([
|
|
200
|
-
property()
|
|
201
|
-
], TerraIcon.prototype, "color", 2);
|
|
202
|
-
__decorateClass([
|
|
203
|
-
property({ attribute: "font-size" })
|
|
204
|
-
], TerraIcon.prototype, "fontSize", 2);
|
|
205
|
-
__decorateClass([
|
|
206
|
-
watch("label")
|
|
207
|
-
], TerraIcon.prototype, "handleLabelChange", 1);
|
|
208
|
-
__decorateClass([
|
|
209
|
-
watch(["name", "src", "library"])
|
|
210
|
-
], TerraIcon.prototype, "setIcon", 1);
|
|
211
|
-
|
|
212
|
-
export {
|
|
213
|
-
TerraIcon
|
|
214
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraGiovanniSearch
|
|
3
|
-
} from "./chunk.FWXMF6WX.js";
|
|
4
|
-
|
|
5
|
-
// src/components/giovanni-search/giovanni-search.ts
|
|
6
|
-
var giovanni_search_default = TerraGiovanniSearch;
|
|
7
|
-
TerraGiovanniSearch.define("terra-giovanni-search");
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
giovanni_search_default
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraBrowseVariables
|
|
3
|
-
} from "./chunk.NHY4FPXP.js";
|
|
4
|
-
|
|
5
|
-
// src/components/browse-variables/browse-variables.ts
|
|
6
|
-
var browse_variables_default = TerraBrowseVariables;
|
|
7
|
-
TerraBrowseVariables.define("terra-browse-variables");
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
browse_variables_default
|
|
11
|
-
};
|