@nasa-terra/components 0.0.22 → 0.0.26
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 +3 -1
- package/cdn/chunks/chunk.4P3HFU2W.js +11 -0
- package/cdn/chunks/{chunk.DGA3BVXS.js → chunk.4Y2XZHOW.js} +107 -1
- package/cdn/chunks/{chunk.L6BB7MK3.js → chunk.5YUWKJCI.js} +1 -1
- package/{dist/chunks/chunk.4DESQZNM.js → cdn/chunks/chunk.67YIRH3F.js} +1 -1
- package/cdn/chunks/{chunk.4ORHYGDJ.js → chunk.6J75BP7M.js} +9 -4
- package/cdn/chunks/{chunk.EQCY7O7N.js → chunk.6YL7VVDD.js} +1 -1
- package/cdn/chunks/{chunk.LNV3ILYM.js → chunk.7PZBUHYR.js} +4 -4
- package/cdn/chunks/{chunk.5N5OY526.js → chunk.7TA5PWO7.js} +1 -1
- package/cdn/chunks/{chunk.3RKSRYRX.js → chunk.A3E2LIAV.js} +1 -1
- package/cdn/chunks/{chunk.TPEIHI5D.js → chunk.BOGJSWIT.js} +1 -1
- package/cdn/chunks/{chunk.OEKWCA2Y.js → chunk.BTRRDJYE.js} +10 -10
- package/cdn/chunks/chunk.C5FGIZP6.js +92 -0
- package/cdn/chunks/{chunk.FKOY3ZZ5.js → chunk.DBZQEOZ6.js} +62 -34
- package/cdn/chunks/{chunk.L6DGDWB3.js → chunk.EAQZEXSN.js} +1 -1
- package/cdn/chunks/{chunk.USZP36DV.js → chunk.ESFWCSLU.js} +1 -1
- package/cdn/chunks/chunk.FAICFDGD.js +58 -0
- package/cdn/chunks/{chunk.3SFJTHCH.js → chunk.FPDMMBW3.js} +1 -1
- package/cdn/chunks/{chunk.EO2IAYJU.js → chunk.G6BCFX7H.js} +6 -6
- package/{dist/chunks/chunk.DERBQK6T.js → cdn/chunks/chunk.GEK7UUOR.js} +1 -1
- package/{dist/chunks/chunk.C2PG6ISW.js → cdn/chunks/chunk.GQ7DLRBI.js} +1 -1
- package/cdn/chunks/{chunk.KBE5VCT6.js → chunk.GT24H4QB.js} +69 -69
- package/cdn/chunks/{chunk.WHBKIAKJ.js → chunk.H7QEWEBY.js} +1 -1
- package/{dist/chunks/chunk.6CV5LRWT.js → cdn/chunks/chunk.HRFPL7LF.js} +1 -1
- package/cdn/chunks/{chunk.XQMZE5MO.js → chunk.HRKAFTTC.js} +1 -1
- package/cdn/chunks/{chunk.LNDLBACZ.js → chunk.IJC2FL2T.js} +1 -1
- package/cdn/chunks/chunk.JK46F3H5.js +25 -0
- package/{dist/chunks/chunk.2SL6F4LA.js → cdn/chunks/chunk.JOEFLMNA.js} +1 -1
- package/cdn/chunks/{chunk.PXHSBAIF.js → chunk.K5J4AMTL.js} +1 -1
- package/cdn/chunks/{chunk.RVSVDCN3.js → chunk.L5JOHXYO.js} +1 -1
- package/{dist/chunks/chunk.UYSQLR3U.js → cdn/chunks/chunk.M23LLNBH.js} +1 -1
- package/cdn/chunks/{chunk.YYMFMZT3.js → chunk.MNJC4JAE.js} +4 -4
- package/cdn/chunks/{chunk.5EHEQAM7.js → chunk.NLGYM5TP.js} +50 -2
- package/{dist/chunks/chunk.NMHURT2C.js → cdn/chunks/chunk.O573SJZ2.js} +1 -1
- package/cdn/chunks/{chunk.IB5UBLFZ.js → chunk.OCW3MYR2.js} +1 -1
- package/cdn/chunks/{chunk.QWJOXAWS.js → chunk.P2F6DDWJ.js} +1 -1
- package/{dist/chunks/chunk.6KDMGROE.js → cdn/chunks/chunk.PEK237NB.js} +1 -1
- package/cdn/chunks/{chunk.H4Y3AWUH.js → chunk.PLNSRGRU.js} +139 -42
- package/cdn/chunks/{chunk.5FZY6SGS.js → chunk.POKHGMEN.js} +8 -0
- package/cdn/chunks/{chunk.VGQZMFBB.js → chunk.Q5HMW6TJ.js} +1 -1
- package/{dist/chunks/chunk.U6TFTVJY.js → cdn/chunks/chunk.R6TKKO7W.js} +1 -1
- package/cdn/chunks/{chunk.XYEDCDNJ.js → chunk.RFS2YAFQ.js} +1 -1
- package/cdn/chunks/{chunk.7TNBSUXI.js → chunk.TCP35LGY.js} +14 -14
- package/cdn/chunks/{chunk.KNH5FQ7R.js → chunk.TLIHKASV.js} +1 -1
- package/{dist/chunks/chunk.GRF7UN4X.js → cdn/chunks/chunk.U35LI4FR.js} +1 -1
- package/cdn/chunks/{chunk.5TW7PNNI.js → chunk.V2OTUB7Z.js} +7 -7
- package/{dist/chunks/chunk.6NGUCHV6.js → cdn/chunks/chunk.V4LDLIEP.js} +1 -1
- package/cdn/chunks/{chunk.BZN62NM6.js → chunk.V5GY4VGG.js} +1 -1
- package/cdn/chunks/{chunk.IWI6VWR2.js → chunk.VOHHSPSQ.js} +1 -1
- package/cdn/chunks/{chunk.D7RUNWOI.js → chunk.WGDILZM6.js} +11 -4
- package/cdn/chunks/{chunk.JKLJ76MZ.js → chunk.XC2AJXDM.js} +1 -1
- package/{dist/chunks/chunk.LSKWODII.js → cdn/chunks/chunk.XCU6YMPU.js} +1 -1
- package/cdn/chunks/{chunk.B4ITXETB.js → chunk.XG57XCVO.js} +1 -1
- package/cdn/chunks/{chunk.TGWEWP5F.js → chunk.ZUDEKNN6.js} +1 -1
- package/cdn/chunks/{chunk.XEVKOU4V.js → chunk.ZWMWIUFF.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.d.ts +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +15 -15
- package/cdn/components/browse-variables/browse-variables.js +16 -16
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/button/button.component.d.ts +7 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +5 -5
- package/cdn/components/combobox/combobox.js +6 -6
- 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/dialog/dialog.component.d.ts +32 -0
- package/cdn/components/dialog/dialog.component.js +12 -0
- package/cdn/components/dialog/dialog.d.ts +8 -0
- package/cdn/components/dialog/dialog.js +13 -0
- package/cdn/components/dialog/dialog.styles.d.ts +2 -0
- package/cdn/components/dialog/dialog.styles.js +9 -0
- package/cdn/components/giovanni-search/giovanni-search.component.js +10 -10
- package/cdn/components/giovanni-search/giovanni-search.js +11 -11
- package/cdn/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +9 -9
- package/cdn/components/login/login.js +10 -10
- package/cdn/components/map/map.component.js +3 -3
- package/cdn/components/map/map.js +4 -4
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +4 -4
- package/cdn/components/skeleton/skeleton.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +6 -1
- 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.js +21 -21
- package/cdn/components/time-series/time-series.js +22 -22
- package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.js +10 -10
- package/cdn/custom-elements.json +959 -716
- package/cdn/events/events.d.ts +5 -1
- package/cdn/events/terra-dialog-hide.d.ts +9 -0
- package/cdn/events/terra-dialog-show.d.ts +9 -0
- package/cdn/events/terra-hide.d.ts +6 -0
- package/cdn/events/terra-map-change.d.ts +2 -2
- package/cdn/events/terra-show.d.ts +6 -0
- package/cdn/react/browse-variables/index.js +16 -16
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +6 -6
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.d.ts +22 -0
- package/cdn/react/dialog/index.js +13 -0
- package/cdn/react/giovanni-search/index.js +11 -11
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +5 -4
- package/cdn/react/index.js +73 -67
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-series/index.js +22 -22
- package/cdn/react/variable-combobox/index.js +10 -10
- package/cdn/terra-ui-components.d.ts +1 -0
- package/cdn/terra-ui-components.js +68 -62
- package/cdn/types/vue/index.d.ts +116 -75
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +154 -102
- package/cdn/web-types.json +230 -118
- package/dist/chunks/{chunk.TSBHINB7.js → chunk.2O33NVOZ.js} +1 -1
- package/{cdn/chunks/chunk.DQDRJ235.js → dist/chunks/chunk.2RJWA6A5.js} +1 -1
- package/{cdn/chunks/chunk.DVSIPUDL.js → dist/chunks/chunk.2X75ZZLQ.js} +1 -1
- package/dist/chunks/{chunk.N4FTQWAG.js → chunk.35BNTLUN.js} +1 -1
- package/{cdn/chunks/chunk.MZT2CCCJ.js → dist/chunks/chunk.37O2PHBO.js} +1 -1
- package/dist/chunks/{chunk.I3LVZPMJ.js → chunk.3VRBGLE2.js} +1 -1
- package/{cdn/chunks/chunk.CI7ZOZVP.js → dist/chunks/chunk.57W5VBEO.js} +1 -1
- package/dist/chunks/{chunk.CVSYR6JA.js → chunk.5A2NXDXH.js} +1 -1
- package/dist/chunks/{chunk.7A26N3RH.js → chunk.5DBTQCSS.js} +1 -1
- package/dist/chunks/{chunk.BZTK4B4T.js → chunk.6SZJNBMQ.js} +140 -43
- package/dist/chunks/{chunk.TRIB3GWK.js → chunk.A6MFFTZ4.js} +1 -1
- package/dist/chunks/{chunk.NYMYAGRE.js → chunk.AXVUNFLN.js} +1 -1
- package/dist/chunks/{chunk.QUXC4GKQ.js → chunk.B2K5RQP6.js} +4 -4
- package/dist/chunks/{chunk.NCLHN7PZ.js → chunk.B5HKOLNS.js} +1 -1
- package/dist/chunks/chunk.BB4IASWR.js +87 -0
- package/dist/chunks/{chunk.O45JPRG2.js → chunk.BO5W5LTB.js} +1 -1
- package/{cdn/chunks/chunk.T3HBQAZN.js → dist/chunks/chunk.CAMWZJYR.js} +1 -1
- package/dist/chunks/chunk.CCDDGUFW.js +55 -0
- package/dist/chunks/{chunk.RRP4GXUY.js → chunk.EIBEZPY7.js} +4 -4
- package/dist/chunks/{chunk.3RKRQHLE.js → chunk.GAC7ING2.js} +4 -4
- package/dist/chunks/{chunk.Y32VPWCE.js → chunk.GMT6YDPY.js} +1 -1
- package/dist/chunks/{chunk.5QR4MDEA.js → chunk.GUAQQMEX.js} +50 -2
- package/dist/chunks/{chunk.TD3FRE3Z.js → chunk.GYUNWNI5.js} +1 -1
- package/{cdn/chunks/chunk.HVG2NXDC.js → dist/chunks/chunk.H4GWKCFO.js} +1 -1
- package/dist/chunks/{chunk.HBQBLNRH.js → chunk.ICEKDMA2.js} +1 -1
- package/dist/chunks/{chunk.UQZLAUN2.js → chunk.IUJHXLVB.js} +1 -1
- package/dist/chunks/{chunk.VNCHHO6O.js → chunk.IZEUBMQD.js} +1 -1
- package/dist/chunks/{chunk.XKQY7HAE.js → chunk.J7IVLPJN.js} +1 -1
- package/dist/chunks/{chunk.I5YHYEZS.js → chunk.K3YKIOJT.js} +1 -1
- package/dist/chunks/{chunk.CNUQQWCR.js → chunk.KJQZP5RO.js} +11 -4
- package/dist/chunks/{chunk.QAO52BZN.js → chunk.MDEB64TY.js} +1 -1
- package/{cdn/chunks/chunk.XDPPVZ6M.js → dist/chunks/chunk.N6A7YKMO.js} +1 -1
- package/dist/chunks/{chunk.QEMJLGM4.js → chunk.N7J6PIAG.js} +8 -0
- package/dist/chunks/{chunk.MP6XDKPH.js → chunk.P7IYYL6V.js} +1 -1
- package/dist/chunks/{chunk.WS5OME5Z.js → chunk.P7XJGRLR.js} +1 -1
- package/dist/chunks/{chunk.RUHWAVGE.js → chunk.PYOU5GNJ.js} +1 -1
- package/{cdn/chunks/chunk.KKOKMYMG.js → dist/chunks/chunk.Q7ULZ54S.js} +1 -1
- package/{cdn/chunks/chunk.XTZIZ32W.js → dist/chunks/chunk.RVEGAWIA.js} +1 -1
- package/dist/chunks/{chunk.U5XISCRK.js → chunk.SEHDRBMF.js} +6 -6
- package/dist/chunks/chunk.SZAFOVHD.js +11 -0
- package/dist/chunks/{chunk.EHC5HRA2.js → chunk.TEDHW6IL.js} +1 -1
- package/{cdn/chunks/chunk.DHWVJTDG.js → dist/chunks/chunk.TUDFCBZS.js} +1 -1
- package/dist/chunks/{chunk.ZNADJBRC.js → chunk.UWXRT3ND.js} +1 -1
- package/{cdn/chunks/chunk.FQNC4JXC.js → dist/chunks/chunk.VBXSUGD5.js} +1 -1
- package/dist/chunks/{chunk.KRC2UHMC.js → chunk.VPKY57X5.js} +1 -1
- package/dist/chunks/{chunk.YL2ETAOO.js → chunk.VVDSM7KF.js} +107 -1
- package/{cdn/chunks/chunk.FTKD3KTH.js → dist/chunks/chunk.WXSIO4M2.js} +1 -1
- package/dist/chunks/chunk.X2Z2VINK.js +25 -0
- package/dist/chunks/{chunk.EVRLGQVQ.js → chunk.XL3L3MUX.js} +1 -1
- package/dist/chunks/{chunk.XFT4IN53.js → chunk.XYXKKZTD.js} +9 -4
- package/dist/chunks/{chunk.3RDRMGYO.js → chunk.YCV4LGKI.js} +58 -31
- package/dist/chunks/{chunk.HNU6ZMU5.js → chunk.Z3UHCKI6.js} +1 -1
- package/dist/chunks/{chunk.EJTMQRLB.js → chunk.ZQ3NM75L.js} +12 -12
- package/dist/components/browse-variables/browse-variables.component.d.ts +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.d.ts +7 -0
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- 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/dialog/dialog.component.d.ts +32 -0
- package/dist/components/dialog/dialog.component.js +9 -0
- package/dist/components/dialog/dialog.d.ts +8 -0
- package/dist/components/dialog/dialog.js +10 -0
- package/dist/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/components/dialog/dialog.styles.js +7 -0
- package/dist/components/giovanni-search/giovanni-search.component.js +8 -8
- package/dist/components/giovanni-search/giovanni-search.js +9 -9
- package/dist/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +8 -8
- package/dist/components/login/login.js +9 -9
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- 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.d.ts +6 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +4 -4
- package/dist/components/spatial-picker/spatial-picker.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +17 -17
- package/dist/components/time-series/time-series.js +18 -18
- package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
- package/dist/components/variable-combobox/variable-combobox.js +8 -8
- package/dist/custom-elements.json +959 -716
- package/dist/events/events.d.ts +5 -1
- package/dist/events/terra-dialog-hide.d.ts +9 -0
- package/dist/events/terra-dialog-show.d.ts +9 -0
- package/dist/events/terra-hide.d.ts +6 -0
- package/dist/events/terra-map-change.d.ts +2 -2
- package/dist/events/terra-show.d.ts +6 -0
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- 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/dialog/index.d.ts +22 -0
- package/dist/react/dialog/index.js +10 -0
- package/dist/react/giovanni-search/index.js +9 -9
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +5 -4
- package/dist/react/index.js +68 -62
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +9 -9
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +5 -5
- package/dist/react/time-series/index.js +18 -18
- package/dist/react/variable-combobox/index.js +8 -8
- package/dist/terra-ui-components.d.ts +1 -0
- package/dist/terra-ui-components.js +62 -56
- package/dist/terra_ui_components-0.0.26-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.22.tar.gz → terra_ui_components-0.0.26.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +116 -75
- package/dist/vscode.html-custom-data.json +154 -102
- package/dist/web-types.json +230 -118
- package/package.json +2 -1
- package/dist/terra_ui_components-0.0.22-py3-none-any.whl +0 -0
package/README.md
CHANGED
|
@@ -49,7 +49,9 @@ Then run the following:
|
|
|
49
49
|
- `uv venv` - create a virtual environment (only have to do this the first time)
|
|
50
50
|
- `source .venv/bin/activate` - activate it
|
|
51
51
|
- `uv pip install -e ".[dev]"` - install dependencies (see pyproject.toml)
|
|
52
|
-
-
|
|
52
|
+
- `npm run start:python` - spins up Jupyter lab and should open the browser for you
|
|
53
|
+
|
|
54
|
+
For an example of how to use the components in a Jupyter Notebook, open the `/notebooks/playground.ipynb` notebook in Jupyter Lab.
|
|
53
55
|
|
|
54
56
|
### Publishing to NPM and PyPI
|
|
55
57
|
|
|
@@ -82,10 +82,13 @@ var browse_variables_styles_default = i`
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.browse-by-category ul {
|
|
85
|
-
list-style: none;
|
|
86
85
|
padding: 0;
|
|
87
86
|
}
|
|
88
87
|
|
|
88
|
+
.browse-by-category ul ::marker {
|
|
89
|
+
font-size: 0; /*Safari removes the semantic meaning / role of the list if we remove the list style. */
|
|
90
|
+
}
|
|
91
|
+
|
|
89
92
|
.browse-by-category li {
|
|
90
93
|
border-radius: 4px;
|
|
91
94
|
cursor: pointer;
|
|
@@ -130,6 +133,25 @@ var browse_variables_styles_default = i`
|
|
|
130
133
|
grid-area: header;
|
|
131
134
|
padding: 15px;
|
|
132
135
|
padding-bottom: 0;
|
|
136
|
+
display: flex;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.variables-container header menu {
|
|
141
|
+
display: inline-flex;
|
|
142
|
+
padding: 0;
|
|
143
|
+
margin: 0;
|
|
144
|
+
min-width: 24em;
|
|
145
|
+
justify-content: space-evenly;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.variables-container header menu ::marker {
|
|
149
|
+
font-size: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.list-menu-dropdown sl-button::part(base) {
|
|
153
|
+
border-color: transparent;
|
|
154
|
+
font-weight: 700;
|
|
133
155
|
}
|
|
134
156
|
|
|
135
157
|
.variables-container aside {
|
|
@@ -149,6 +171,90 @@ var browse_variables_styles_default = i`
|
|
|
149
171
|
.facet {
|
|
150
172
|
margin-left: 10px;
|
|
151
173
|
}
|
|
174
|
+
|
|
175
|
+
.variable-list {
|
|
176
|
+
margin: 0;
|
|
177
|
+
padding: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.variable-list-item {
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.variable-list-item::marker {
|
|
184
|
+
font-size: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.variable[open] .details-panel {
|
|
188
|
+
height: max-content;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.variable input[type='checkbox'] {
|
|
192
|
+
margin-block: 0.25em;
|
|
193
|
+
margin-inline: 0 0.5em;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.variable {
|
|
197
|
+
display: flex;
|
|
198
|
+
justify-content: space-between;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.variable label {
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
display: block;
|
|
204
|
+
font-weight: 400;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.variable sl-drawer {
|
|
208
|
+
font-style: italic;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.variable sl-drawer::part(base) {
|
|
212
|
+
--body-spacing: 0.25em;
|
|
213
|
+
--header-spacing: 0.25em;
|
|
214
|
+
--footer-spacing: 1em 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.variable sl-drawer::part(header-actions) {
|
|
218
|
+
--header-spacing: 0.25em;
|
|
219
|
+
|
|
220
|
+
align-items: flex-start;
|
|
221
|
+
margin-block-start: 1em;
|
|
222
|
+
margin-inline-end: 0.5em;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.variable sl-drawer::part(close-button__base) {
|
|
226
|
+
--sl-focus-ring: var(--terra-focus-ring);
|
|
227
|
+
--sl-focus-ring-offset: var(--terra-focus-ring-offset);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.variable sl-drawer::part(panel) {
|
|
231
|
+
background-color: var(--terra-color-nasa-blue-shade);
|
|
232
|
+
border: 0.0625em solid var(--terra-color-carbon-10);
|
|
233
|
+
left: auto;
|
|
234
|
+
right: 0;
|
|
235
|
+
top: 4.25rem;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.variable sl-drawer::part(body) {
|
|
239
|
+
padding-block-end: 6em;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.variable sl-drawer > * {
|
|
243
|
+
margin-block-start: 0;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.variable sl-drawer h4 {
|
|
247
|
+
font-weight: 400;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.variable-details-button {
|
|
251
|
+
position: static;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.variable-details-button::part(base) {
|
|
255
|
+
border-color: transparent;
|
|
256
|
+
color: var(--spacesuit-white);
|
|
257
|
+
}
|
|
152
258
|
`;
|
|
153
259
|
|
|
154
260
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spatial_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.POKHGMEN.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraMap
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.5YUWKJCI.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.ESFWCSLU.js";
|
|
15
15
|
import {
|
|
16
16
|
e,
|
|
17
17
|
n,
|
|
@@ -39,6 +39,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
39
39
|
this.hideLabel = false;
|
|
40
40
|
this.label = "Select Region";
|
|
41
41
|
this.isExpanded = false;
|
|
42
|
+
this.inline = false;
|
|
42
43
|
}
|
|
43
44
|
_blur(e2) {
|
|
44
45
|
const inputValue = e2.target.value;
|
|
@@ -80,6 +81,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
80
81
|
}
|
|
81
82
|
renderMap() {
|
|
82
83
|
return x`<terra-map
|
|
84
|
+
class="${this.inline ? "inline" : ""}"
|
|
83
85
|
exportparts="map, leaflet-bbox, leaflet-point, leaflet-edit, leaflet-remove"
|
|
84
86
|
min-zoom=${this.minZoom}
|
|
85
87
|
max-zoom=${this.maxZoom}
|
|
@@ -170,8 +172,11 @@ __decorateClass([
|
|
|
170
172
|
n()
|
|
171
173
|
], TerraSpatialPicker.prototype, "label", 2);
|
|
172
174
|
__decorateClass([
|
|
173
|
-
|
|
175
|
+
n({ attribute: "is-expanded", type: Boolean, reflect: true })
|
|
174
176
|
], TerraSpatialPicker.prototype, "isExpanded", 2);
|
|
177
|
+
__decorateClass([
|
|
178
|
+
n({ type: Boolean })
|
|
179
|
+
], TerraSpatialPicker.prototype, "inline", 2);
|
|
175
180
|
__decorateClass([
|
|
176
181
|
r()
|
|
177
182
|
], TerraSpatialPicker.prototype, "mapValue", 2);
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
format
|
|
6
6
|
} from "./chunk.BPNFS4ED.js";
|
|
7
|
-
import {
|
|
8
|
-
date_range_slider_styles_default
|
|
9
|
-
} from "./chunk.WTMN7OUL.js";
|
|
10
7
|
import {
|
|
11
8
|
mergeTooltips
|
|
12
9
|
} from "./chunk.KW4TJM4C.js";
|
|
10
|
+
import {
|
|
11
|
+
date_range_slider_styles_default
|
|
12
|
+
} from "./chunk.WTMN7OUL.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.CBV7M6CJ.js";
|
|
16
16
|
import {
|
|
17
17
|
TerraElement,
|
|
18
18
|
component_styles_default
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.ESFWCSLU.js";
|
|
20
20
|
import {
|
|
21
21
|
e,
|
|
22
22
|
n
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FetchController
|
|
3
|
-
} from "./chunk.KRV3QC6E.js";
|
|
4
1
|
import {
|
|
5
2
|
variable_combobox_styles_default
|
|
6
3
|
} from "./chunk.SWEK2UAG.js";
|
|
4
|
+
import {
|
|
5
|
+
FetchController
|
|
6
|
+
} from "./chunk.KRV3QC6E.js";
|
|
7
7
|
import {
|
|
8
8
|
clearSelection,
|
|
9
9
|
groupDocsByCollection,
|
|
@@ -16,26 +16,26 @@ import {
|
|
|
16
16
|
} from "./chunk.QB5SASDL.js";
|
|
17
17
|
import {
|
|
18
18
|
icon_default
|
|
19
|
-
} from "./chunk.
|
|
20
|
-
import {
|
|
21
|
-
button_default
|
|
22
|
-
} from "./chunk.L6DGDWB3.js";
|
|
19
|
+
} from "./chunk.U35LI4FR.js";
|
|
23
20
|
import {
|
|
24
21
|
Fuse
|
|
25
22
|
} from "./chunk.U7L2FN7F.js";
|
|
23
|
+
import {
|
|
24
|
+
n as n2
|
|
25
|
+
} from "./chunk.2XCNCXGV.js";
|
|
26
26
|
import {
|
|
27
27
|
o
|
|
28
28
|
} from "./chunk.QEA4QW6G.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk.
|
|
30
|
+
button_default
|
|
31
|
+
} from "./chunk.EAQZEXSN.js";
|
|
32
32
|
import {
|
|
33
33
|
watch
|
|
34
34
|
} from "./chunk.CBV7M6CJ.js";
|
|
35
35
|
import {
|
|
36
36
|
TerraElement,
|
|
37
37
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.ESFWCSLU.js";
|
|
39
39
|
import {
|
|
40
40
|
n,
|
|
41
41
|
r
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dialog_styles_default
|
|
3
|
+
} from "./chunk.FAICFDGD.js";
|
|
4
|
+
import {
|
|
5
|
+
TerraElement,
|
|
6
|
+
component_styles_default
|
|
7
|
+
} from "./chunk.ESFWCSLU.js";
|
|
8
|
+
import {
|
|
9
|
+
e,
|
|
10
|
+
n
|
|
11
|
+
} from "./chunk.QCK7PTWV.js";
|
|
12
|
+
import {
|
|
13
|
+
x
|
|
14
|
+
} from "./chunk.PQFHJHNO.js";
|
|
15
|
+
import {
|
|
16
|
+
__decorateClass,
|
|
17
|
+
__privateAdd,
|
|
18
|
+
__privateMethod
|
|
19
|
+
} from "./chunk.MR27IH5Z.js";
|
|
20
|
+
|
|
21
|
+
// src/components/dialog/dialog.component.ts
|
|
22
|
+
var _handleBackdropClick, handleBackdropClick_fn;
|
|
23
|
+
var TerraDialog = class extends TerraElement {
|
|
24
|
+
constructor() {
|
|
25
|
+
super(...arguments);
|
|
26
|
+
__privateAdd(this, _handleBackdropClick);
|
|
27
|
+
this.width = "500px";
|
|
28
|
+
this.open = false;
|
|
29
|
+
this.clickOutsideToClose = true;
|
|
30
|
+
this.showBackdrop = true;
|
|
31
|
+
}
|
|
32
|
+
toggle() {
|
|
33
|
+
this.open ? this.hide() : this.show();
|
|
34
|
+
}
|
|
35
|
+
show() {
|
|
36
|
+
this.open = true;
|
|
37
|
+
this.emit("terra-dialog-show");
|
|
38
|
+
}
|
|
39
|
+
hide() {
|
|
40
|
+
this.open = false;
|
|
41
|
+
this.emit("terra-dialog-hide");
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return x`
|
|
45
|
+
<div
|
|
46
|
+
class="dialog-backdrop ${this.showBackdrop ? "visible" : ""} ${this.open ? "active" : ""} ${this.clickOutsideToClose ? "clickable" : ""}"
|
|
47
|
+
part="backdrop"
|
|
48
|
+
@click=${__privateMethod(this, _handleBackdropClick, handleBackdropClick_fn)}
|
|
49
|
+
></div>
|
|
50
|
+
|
|
51
|
+
<dialog
|
|
52
|
+
part="dialog"
|
|
53
|
+
?open=${this.open}
|
|
54
|
+
id=${this.id}
|
|
55
|
+
role="dialog"
|
|
56
|
+
aria-modal="true"
|
|
57
|
+
style="width: ${this.width}"
|
|
58
|
+
>
|
|
59
|
+
<slot></slot>
|
|
60
|
+
</dialog>
|
|
61
|
+
`;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
_handleBackdropClick = new WeakSet();
|
|
65
|
+
handleBackdropClick_fn = function() {
|
|
66
|
+
if (this.clickOutsideToClose) {
|
|
67
|
+
this.hide();
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
TerraDialog.styles = [component_styles_default, dialog_styles_default];
|
|
71
|
+
__decorateClass([
|
|
72
|
+
e('[part="dialog"]')
|
|
73
|
+
], TerraDialog.prototype, "dialogEl", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
n()
|
|
76
|
+
], TerraDialog.prototype, "id", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
n({ reflect: true })
|
|
79
|
+
], TerraDialog.prototype, "width", 2);
|
|
80
|
+
__decorateClass([
|
|
81
|
+
n({ type: Boolean, reflect: true })
|
|
82
|
+
], TerraDialog.prototype, "open", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
n({ attribute: "click-outside-to-close", type: Boolean, reflect: true })
|
|
85
|
+
], TerraDialog.prototype, "clickOutsideToClose", 2);
|
|
86
|
+
__decorateClass([
|
|
87
|
+
n({ attribute: "show-backdrop", type: Boolean, reflect: true })
|
|
88
|
+
], TerraDialog.prototype, "showBackdrop", 2);
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
TerraDialog
|
|
92
|
+
};
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
icon_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.U35LI4FR.js";
|
|
4
|
+
import {
|
|
5
|
+
FetchController
|
|
6
|
+
} from "./chunk.VEENI5ZG.js";
|
|
4
7
|
import {
|
|
5
8
|
giovanni_search_styles_default
|
|
6
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.WGDILZM6.js";
|
|
7
10
|
import {
|
|
8
11
|
clearSelection,
|
|
9
12
|
renderSearchResult,
|
|
10
13
|
walkToOption
|
|
11
14
|
} from "./chunk.WD2DJJFP.js";
|
|
12
|
-
import {
|
|
13
|
-
FetchController
|
|
14
|
-
} from "./chunk.VEENI5ZG.js";
|
|
15
|
-
import {
|
|
16
|
-
button_default
|
|
17
|
-
} from "./chunk.L6DGDWB3.js";
|
|
18
15
|
import {
|
|
19
16
|
Fuse
|
|
20
17
|
} from "./chunk.U7L2FN7F.js";
|
|
18
|
+
import {
|
|
19
|
+
n as n2
|
|
20
|
+
} from "./chunk.2XCNCXGV.js";
|
|
21
21
|
import {
|
|
22
22
|
o
|
|
23
23
|
} from "./chunk.QEA4QW6G.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunk.
|
|
25
|
+
button_default
|
|
26
|
+
} from "./chunk.EAQZEXSN.js";
|
|
27
27
|
import {
|
|
28
28
|
watch
|
|
29
29
|
} from "./chunk.CBV7M6CJ.js";
|
|
30
30
|
import {
|
|
31
31
|
TerraElement,
|
|
32
32
|
component_styles_default
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.ESFWCSLU.js";
|
|
34
34
|
import {
|
|
35
35
|
n,
|
|
36
36
|
r
|
|
37
37
|
} from "./chunk.QCK7PTWV.js";
|
|
38
38
|
import {
|
|
39
|
+
T,
|
|
39
40
|
s,
|
|
40
41
|
x
|
|
41
42
|
} from "./chunk.PQFHJHNO.js";
|
|
@@ -50,11 +51,12 @@ import {
|
|
|
50
51
|
} from "./chunk.MR27IH5Z.js";
|
|
51
52
|
|
|
52
53
|
// src/components/giovanni-search/giovanni-search.component.ts
|
|
53
|
-
var _combobox, _fetchController, _listbox, _searchEngine, _walker,
|
|
54
|
+
var _combobox, _fetchController, _listbox, _searchEngine, _walker, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn, _clearSearch, clearSearch_fn;
|
|
54
55
|
var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
55
56
|
constructor() {
|
|
56
57
|
super(...arguments);
|
|
57
58
|
__privateAdd(this, _handleSearch);
|
|
59
|
+
__privateAdd(this, _clearSearch);
|
|
58
60
|
__privateAdd(this, _combobox, null);
|
|
59
61
|
__privateAdd(this, _fetchController, new FetchController(this));
|
|
60
62
|
__privateAdd(this, _listbox, null);
|
|
@@ -70,9 +72,6 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
70
72
|
this.isExpanded = false;
|
|
71
73
|
this.query = _TerraGiovanniSearch.initialQuery;
|
|
72
74
|
this.searchResults = [];
|
|
73
|
-
__privateAdd(this, _dispatchChange, (data) => {
|
|
74
|
-
this.emit("terra-giovanni-search-change", { detail: data });
|
|
75
|
-
});
|
|
76
75
|
__privateAdd(this, _handleComboboxChange, (event) => {
|
|
77
76
|
var _a;
|
|
78
77
|
const target = event.target;
|
|
@@ -162,7 +161,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
162
161
|
});
|
|
163
162
|
__privateAdd(this, _selectOption, (option) => {
|
|
164
163
|
this.query = option.id;
|
|
165
|
-
|
|
164
|
+
this.emit("terra-giovanni-search-change", { detail: option.id });
|
|
166
165
|
this.isExpanded = false;
|
|
167
166
|
clearSelection(
|
|
168
167
|
__privateGet(this, _combobox),
|
|
@@ -197,6 +196,24 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
197
196
|
>${this.label}</label
|
|
198
197
|
>
|
|
199
198
|
<div class="search-input-group">
|
|
199
|
+
<terra-button
|
|
200
|
+
@click=${() => __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query)}
|
|
201
|
+
aria-label=${this.query ? `Search for ${this.query}.` : "Enter search term to enable search."}
|
|
202
|
+
circle
|
|
203
|
+
class="search-button search-input-button"
|
|
204
|
+
outline
|
|
205
|
+
tabindex="-1"
|
|
206
|
+
type="button"
|
|
207
|
+
>
|
|
208
|
+
<slot name="label">
|
|
209
|
+
<terra-icon
|
|
210
|
+
font-size="1.5em"
|
|
211
|
+
library="heroicons"
|
|
212
|
+
name="outline-magnifying-glass"
|
|
213
|
+
></terra-icon>
|
|
214
|
+
</slot>
|
|
215
|
+
</terra-button>
|
|
216
|
+
|
|
200
217
|
<input
|
|
201
218
|
${n2((el) => {
|
|
202
219
|
var _a2;
|
|
@@ -219,23 +236,24 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
219
236
|
@input=${__privateGet(this, _handleComboboxChange)}
|
|
220
237
|
@keydown=${__privateGet(this, _handleKeydown)}
|
|
221
238
|
/>
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
+
|
|
240
|
+
${this.query.length ? x`<terra-button
|
|
241
|
+
@click=${() => __privateMethod(this, _clearSearch, clearSearch_fn).call(this)}
|
|
242
|
+
aria-label="Clear the searched term and start over."
|
|
243
|
+
circle
|
|
244
|
+
class="clear-button search-input-button"
|
|
245
|
+
outline
|
|
246
|
+
tabindex="-1"
|
|
247
|
+
type="button"
|
|
248
|
+
>
|
|
249
|
+
<slot name="label">
|
|
250
|
+
<terra-icon
|
|
251
|
+
font-size="1.5em"
|
|
252
|
+
library="heroicons"
|
|
253
|
+
name="outline-x-circle"
|
|
254
|
+
></terra-icon>
|
|
255
|
+
</slot>
|
|
256
|
+
</terra-button>` : T}
|
|
239
257
|
</div>
|
|
240
258
|
|
|
241
259
|
<ul
|
|
@@ -283,7 +301,6 @@ _fetchController = new WeakMap();
|
|
|
283
301
|
_listbox = new WeakMap();
|
|
284
302
|
_searchEngine = new WeakMap();
|
|
285
303
|
_walker = new WeakMap();
|
|
286
|
-
_dispatchChange = new WeakMap();
|
|
287
304
|
_handleComboboxChange = new WeakMap();
|
|
288
305
|
_handleOptionClick = new WeakMap();
|
|
289
306
|
_handleKeydown = new WeakMap();
|
|
@@ -295,6 +312,17 @@ handleSearch_fn = function(query) {
|
|
|
295
312
|
this.emit("terra-search", { detail: this.query });
|
|
296
313
|
}
|
|
297
314
|
};
|
|
315
|
+
_clearSearch = new WeakSet();
|
|
316
|
+
clearSearch_fn = function() {
|
|
317
|
+
var _a;
|
|
318
|
+
this.query = _TerraGiovanniSearch.initialQuery;
|
|
319
|
+
this.emit("terra-search", { detail: this.query });
|
|
320
|
+
clearSelection(
|
|
321
|
+
__privateGet(this, _combobox),
|
|
322
|
+
__privateGet(this, _listbox)
|
|
323
|
+
);
|
|
324
|
+
(_a = __privateGet(this, _combobox)) == null ? void 0 : _a.focus();
|
|
325
|
+
};
|
|
298
326
|
_TerraGiovanniSearch.dependencies = {
|
|
299
327
|
"terra-button": button_default,
|
|
300
328
|
"terra-icon": icon_default
|
|
@@ -366,7 +366,7 @@ var TerraElement = class extends s {
|
|
|
366
366
|
};
|
|
367
367
|
/* eslint-disable */
|
|
368
368
|
// @ts-expect-error This is auto-injected at build time.
|
|
369
|
-
TerraElement.version = "0.0.
|
|
369
|
+
TerraElement.version = "0.0.26";
|
|
370
370
|
TerraElement.dependencies = {};
|
|
371
371
|
__decorateClass([
|
|
372
372
|
n()
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import {
|
|
2
|
+
i
|
|
3
|
+
} from "./chunk.PH7RLQK2.js";
|
|
4
|
+
|
|
5
|
+
// src/components/dialog/dialog.styles.ts
|
|
6
|
+
var dialog_styles_default = i`
|
|
7
|
+
:host {
|
|
8
|
+
--terra-dialog-backdrop-color: rgba(0, 0, 0, 0.5);
|
|
9
|
+
--terra-dialog-z-index: 1000;
|
|
10
|
+
|
|
11
|
+
display: block;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.dialog-backdrop {
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: -9999;
|
|
19
|
+
right: auto;
|
|
20
|
+
bottom: auto;
|
|
21
|
+
width: 0;
|
|
22
|
+
height: 0;
|
|
23
|
+
z-index: calc(var(--terra-dialog-z-index) - 1);
|
|
24
|
+
/* TODO: fade in the backdrop */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.dialog-backdrop.visible {
|
|
28
|
+
background-color: var(--terra-dialog-backdrop-color);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.dialog-backdrop.clickable {
|
|
32
|
+
pointer-events: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.dialog-backdrop.active {
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
width: auto;
|
|
41
|
+
height: auto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
dialog[open] {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
padding: 0;
|
|
49
|
+
position: fixed;
|
|
50
|
+
inset: 0px;
|
|
51
|
+
z-index: var(--terra-dialog-z-index);
|
|
52
|
+
max-width: 100%;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
dialog_styles_default
|
|
58
|
+
};
|