@nasa-terra/components 0.0.23 → 0.0.27
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.UW6LOJ6N.js → chunk.2EP6X7H4.js} +1 -1
- package/{dist/chunks/chunk.MSQDEKKY.js → cdn/chunks/chunk.3BQLBGAB.js} +1 -1
- package/{dist/chunks/chunk.KZO6I3HY.js → cdn/chunks/chunk.3CPIZ7XC.js} +1 -1
- package/cdn/chunks/{chunk.YS6QES3Y.js → chunk.4VMBYUQG.js} +1 -1
- package/cdn/chunks/{chunk.DGA3BVXS.js → chunk.4Y2XZHOW.js} +107 -1
- package/cdn/chunks/{chunk.7HY4OBYI.js → chunk.5A5THIAK.js} +7 -7
- package/cdn/chunks/{chunk.IVKUC625.js → chunk.6B2CMDFX.js} +53 -5
- package/cdn/chunks/{chunk.ZB2DR3O2.js → chunk.6WHJPANS.js} +1 -1
- package/cdn/chunks/chunk.776MMOY4.js +92 -0
- package/{dist/chunks/chunk.VI4RAIBY.js → cdn/chunks/chunk.7EDQMH5E.js} +1 -1
- package/cdn/chunks/{chunk.SO3ICKNN.js → chunk.7I2H4W3E.js} +10 -5
- package/cdn/chunks/{chunk.FM4MQGJO.js → chunk.7INZ24UK.js} +1 -1
- package/cdn/chunks/{chunk.VJ6ZCI4D.js → chunk.AB6RIBJG.js} +4 -4
- package/cdn/chunks/{chunk.JVGK2LSP.js → chunk.APMCUBER.js} +1 -1
- package/cdn/chunks/chunk.AX3WTC6L.js +11 -0
- package/cdn/chunks/{chunk.W2LQTJ4D.js → chunk.B5OXZP3H.js} +1 -1
- package/cdn/chunks/{chunk.MF2HKAU4.js → chunk.C27REBHU.js} +4 -4
- package/{dist/chunks/chunk.BZ5KSGAC.js → cdn/chunks/chunk.CMWYK2C7.js} +1 -1
- package/cdn/chunks/{chunk.THKQJO6O.js → chunk.D757NAOK.js} +61 -33
- package/cdn/chunks/chunk.FAICFDGD.js +58 -0
- package/cdn/chunks/{chunk.HB56625V.js → chunk.GT24H4QB.js} +73 -73
- package/cdn/chunks/{chunk.BQSATKPB.js → chunk.HUE2DUG3.js} +4 -4
- package/{dist/chunks/chunk.ST5YV3WI.js → cdn/chunks/chunk.INMFTJ6I.js} +1 -1
- package/{dist/chunks/chunk.7R56XKQT.js → cdn/chunks/chunk.IY43AGCC.js} +1 -1
- package/cdn/chunks/{chunk.V6F6RIGR.js → chunk.J33E2LPE.js} +7 -7
- package/{dist/chunks/chunk.AIJYX5JT.js → cdn/chunks/chunk.JC5WZPYZ.js} +1 -1
- package/cdn/chunks/{chunk.YWQI6MPW.js → chunk.JFREYY32.js} +1 -1
- package/{dist/chunks/chunk.TC6LKTAX.js → cdn/chunks/chunk.JHK5SN6C.js} +1 -1
- package/cdn/chunks/chunk.JJGEI6AB.js +25 -0
- package/cdn/chunks/{chunk.WIQDMQ3N.js → chunk.KEID4MM2.js} +185 -47
- package/cdn/chunks/{chunk.6MDNZR4V.js → chunk.KGIZUXTM.js} +1 -1
- package/{dist/chunks/chunk.L5GVPYVK.js → cdn/chunks/chunk.LCMO3FGJ.js} +1 -1
- package/cdn/chunks/{chunk.ZT7HCJ3E.js → chunk.N6XSGHUX.js} +1 -1
- package/cdn/chunks/{chunk.R7HPDUVG.js → chunk.NCKLIX6G.js} +17 -17
- package/cdn/chunks/{chunk.HHAQDRUF.js → chunk.NDD5BDEF.js} +6 -6
- package/cdn/chunks/{chunk.FE4LZIRQ.js → chunk.NKYBIYSM.js} +1 -1
- package/{dist/chunks/chunk.SU4ZAMIR.js → cdn/chunks/chunk.O6YRXXE4.js} +1 -1
- package/{dist/chunks/chunk.ZCAH5MS4.js → cdn/chunks/chunk.OJ7IX4PR.js} +1 -1
- package/{dist/chunks/chunk.2HZ7PJE3.js → cdn/chunks/chunk.OMEZ6VK5.js} +1 -1
- package/cdn/chunks/{chunk.XDHNIWRR.js → chunk.OUYLFA5S.js} +10 -10
- package/cdn/chunks/{chunk.UCNQ6VQW.js → chunk.PBHXHHF2.js} +1 -1
- package/cdn/chunks/{chunk.5FZY6SGS.js → chunk.POKHGMEN.js} +8 -0
- package/cdn/chunks/{chunk.ELL36UPQ.js → chunk.S7WMZG4U.js} +1 -1
- package/cdn/chunks/{chunk.PRFLPVWE.js → chunk.SEIYXIZL.js} +1 -1
- package/cdn/chunks/{chunk.4ZX7ORTO.js → chunk.TE362U6I.js} +1 -1
- package/{dist/chunks/chunk.PRHX6FHD.js → cdn/chunks/chunk.WACQQ5X4.js} +1 -1
- package/cdn/chunks/{chunk.D7RUNWOI.js → chunk.WGDILZM6.js} +11 -4
- package/cdn/chunks/{chunk.O7PHF5YQ.js → chunk.XPLGFXEN.js} +1 -1
- package/cdn/chunks/{chunk.KIEHEHU5.js → chunk.XSKGTVPJ.js} +1 -1
- package/cdn/chunks/{chunk.3DQE6EC4.js → chunk.XUJZL33V.js} +1 -1
- package/{dist/chunks/chunk.V2QP4H3G.js → cdn/chunks/chunk.XW7MZINM.js} +1 -1
- package/{dist/chunks/chunk.J7UBLRCQ.js → cdn/chunks/chunk.Y5JSOGVQ.js} +1 -1
- package/{dist/chunks/chunk.S54WBWHC.js → cdn/chunks/chunk.YFEH5TEE.js} +1 -1
- package/cdn/chunks/{chunk.4WKIEZXE.js → chunk.ZVQ7OMO3.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.d.ts +6 -2
- package/cdn/components/browse-variables/browse-variables.component.js +19 -19
- package/cdn/components/browse-variables/browse-variables.js +20 -20
- 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 +3 -3
- package/cdn/components/chip/chip.js +4 -4
- 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/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 +13 -13
- package/cdn/components/giovanni-search/giovanni-search.js +14 -14
- package/cdn/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +14 -14
- package/cdn/components/login/login.js +15 -15
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +5 -5
- package/cdn/components/skeleton/skeleton.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +5 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +30 -30
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +31 -31
- package/cdn/components/variable-combobox/variable-combobox.component.js +13 -13
- package/cdn/components/variable-combobox/variable-combobox.js +14 -14
- package/cdn/custom-elements.json +524 -261
- package/cdn/events/events.d.ts +5 -0
- 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-show.d.ts +6 -0
- package/cdn/events/terra-variables-change.d.ts +11 -0
- package/cdn/react/browse-variables/index.d.ts +2 -0
- package/cdn/react/browse-variables/index.js +20 -20
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +4 -4
- package/cdn/react/combobox/index.js +5 -5
- 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 +14 -14
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +3 -2
- package/cdn/react/index.js +77 -71
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +15 -15
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +6 -6
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.js +31 -31
- package/cdn/react/variable-combobox/index.js +14 -14
- package/cdn/terra-ui-components.d.ts +1 -0
- package/cdn/terra-ui-components.js +77 -71
- package/cdn/types/vue/index.d.ts +82 -39
- package/cdn/utilities/animation.js +3 -3
- package/cdn/vscode.html-custom-data.json +96 -49
- package/cdn/web-types.json +179 -70
- package/{cdn/chunks/chunk.DWTK5MYZ.js → dist/chunks/chunk.22HTTGPQ.js} +1 -1
- package/dist/chunks/{chunk.ZKCIZ7YJ.js → chunk.2O3ITCBM.js} +1 -1
- package/dist/chunks/{chunk.B5L7SVZ2.js → chunk.2ZVMK57C.js} +57 -30
- package/{cdn/chunks/chunk.RK3RN2ZT.js → dist/chunks/chunk.3I3HORAR.js} +1 -1
- package/dist/chunks/{chunk.SUDCEBND.js → chunk.3XCO6S75.js} +12 -12
- package/dist/chunks/{chunk.DY5URCKM.js → chunk.3YX6W2NK.js} +4 -4
- package/dist/chunks/{chunk.XAVU4VO2.js → chunk.43N6PZN2.js} +1 -1
- package/dist/chunks/{chunk.JZA56M32.js → chunk.4LMNXPNS.js} +1 -1
- package/dist/chunks/{chunk.XHJWVWUC.js → chunk.4WSPIZIQ.js} +1 -1
- package/dist/chunks/{chunk.ROL3YWUL.js → chunk.4ZLY6CV7.js} +1 -1
- package/dist/chunks/{chunk.P2EJPIEH.js → chunk.5CXNLKAF.js} +1 -1
- package/dist/chunks/{chunk.5GIZ5MAH.js → chunk.5KKZBUWL.js} +1 -1
- package/dist/chunks/{chunk.GY6V5GTO.js → chunk.5KNEUDVS.js} +7 -7
- package/dist/chunks/{chunk.JJ4XNWII.js → chunk.64A332FD.js} +53 -5
- package/dist/chunks/{chunk.PVDILQEJ.js → chunk.6GHOYU3G.js} +1 -1
- package/{cdn/chunks/chunk.XWB6UNPS.js → dist/chunks/chunk.7NALP5GV.js} +1 -1
- package/dist/chunks/chunk.CCDDGUFW.js +55 -0
- package/{cdn/chunks/chunk.3P27SYOG.js → dist/chunks/chunk.DHHO6YFF.js} +1 -1
- package/dist/chunks/{chunk.FHHHEKTM.js → chunk.ERHC4IBU.js} +1 -1
- package/dist/chunks/{chunk.NXAUDHUK.js → chunk.FNOPJGLZ.js} +6 -6
- package/dist/chunks/{chunk.CHRJKJOY.js → chunk.FNTR5GTH.js} +1 -1
- package/dist/chunks/{chunk.6OEVAMVW.js → chunk.FNXE73F3.js} +4 -4
- package/dist/chunks/{chunk.XFWWZ3NP.js → chunk.GEAQ4VPQ.js} +1 -1
- package/dist/chunks/chunk.IOKX2GJO.js +25 -0
- package/dist/chunks/{chunk.EUQYVRUS.js → chunk.K6PQWRAP.js} +1 -1
- package/dist/chunks/{chunk.IHSQ72OT.js → chunk.KCPC2G7X.js} +4 -4
- package/dist/chunks/{chunk.CNUQQWCR.js → chunk.KJQZP5RO.js} +11 -4
- package/dist/chunks/{chunk.SSZJ36DG.js → chunk.KUWKXAQX.js} +1 -1
- package/{cdn/chunks/chunk.XCPT3SXZ.js → dist/chunks/chunk.LBAO33NE.js} +1 -1
- package/dist/chunks/chunk.LM5MMX3Z.js +87 -0
- package/{cdn/chunks/chunk.JNVVFMOW.js → dist/chunks/chunk.MEBSWJZN.js} +1 -1
- package/dist/chunks/{chunk.LHX3WEK6.js → chunk.MHUFJQTZ.js} +4 -4
- package/dist/chunks/{chunk.QEMJLGM4.js → chunk.N7J6PIAG.js} +8 -0
- package/{cdn/chunks/chunk.5CPVH5F3.js → dist/chunks/chunk.O5EHU5M4.js} +1 -1
- package/dist/chunks/{chunk.Z3MFZ3FR.js → chunk.OBDP5OYY.js} +1 -1
- package/dist/chunks/{chunk.NPV7GXJO.js → chunk.ODUGVTXK.js} +1 -1
- package/{cdn/chunks/chunk.4HNPFNMQ.js → dist/chunks/chunk.OUKIZNHC.js} +1 -1
- package/{cdn/chunks/chunk.4E62DZYX.js → dist/chunks/chunk.P2OX6A76.js} +1 -1
- package/{cdn/chunks/chunk.WTF7QMVO.js → dist/chunks/chunk.P566UFHB.js} +1 -1
- package/{cdn/chunks/chunk.OMXNKQ4J.js → dist/chunks/chunk.PJWJSXZN.js} +1 -1
- package/dist/chunks/{chunk.DCVIGXWU.js → chunk.SGEPIQES.js} +1 -1
- package/dist/chunks/{chunk.PA2TJH5D.js → chunk.SH6DK72R.js} +10 -5
- package/{cdn/chunks/chunk.PUBZHQAC.js → dist/chunks/chunk.UJZ5VGNV.js} +1 -1
- package/dist/chunks/chunk.VROFBIFG.js +11 -0
- package/dist/chunks/{chunk.YL2ETAOO.js → chunk.VVDSM7KF.js} +107 -1
- package/dist/chunks/{chunk.OHDG3PUV.js → chunk.W42K7FUA.js} +1 -1
- package/{cdn/chunks/chunk.MONG7HZ2.js → dist/chunks/chunk.WXF3K6TK.js} +1 -1
- package/{cdn/chunks/chunk.TXKXHE4H.js → dist/chunks/chunk.X6D4UPTK.js} +1 -1
- package/dist/chunks/{chunk.GDI2NWFW.js → chunk.X7MOB3O2.js} +1 -1
- package/dist/chunks/{chunk.SX6YM322.js → chunk.XW743NHY.js} +1 -1
- package/{cdn/chunks/chunk.BVXGQDPN.js → dist/chunks/chunk.ZDUODZCL.js} +1 -1
- package/{cdn/chunks/chunk.LKEGZGVG.js → dist/chunks/chunk.ZLXYKEWM.js} +1 -1
- package/dist/chunks/{chunk.2JBR7OBQ.js → chunk.ZLYRJ7HR.js} +185 -47
- package/dist/components/browse-variables/browse-variables.component.d.ts +6 -2
- package/dist/components/browse-variables/browse-variables.component.js +16 -16
- package/dist/components/browse-variables/browse-variables.js +17 -17
- 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 +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/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 +9 -9
- package/dist/components/giovanni-search/giovanni-search.js +10 -10
- package/dist/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- 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/map.component.js +4 -4
- 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.d.ts +5 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
- package/dist/components/spatial-picker/spatial-picker.js +7 -7
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +23 -23
- package/dist/components/time-series/time-series.js +24 -24
- package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
- package/dist/components/variable-combobox/variable-combobox.js +10 -10
- package/dist/custom-elements.json +524 -261
- package/dist/events/events.d.ts +5 -0
- 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-show.d.ts +6 -0
- package/dist/events/terra-variables-change.d.ts +11 -0
- package/dist/react/browse-variables/index.d.ts +2 -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/dialog/index.d.ts +22 -0
- package/dist/react/dialog/index.js +10 -0
- package/dist/react/giovanni-search/index.js +10 -10
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +70 -64
- 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 +7 -7
- package/dist/react/time-series/index.js +24 -24
- package/dist/react/variable-combobox/index.js +10 -10
- package/dist/terra-ui-components.d.ts +1 -0
- package/dist/terra-ui-components.js +70 -64
- package/dist/terra_ui_components-0.0.27-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.23.tar.gz → terra_ui_components-0.0.27.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +82 -39
- package/dist/vscode.html-custom-data.json +96 -49
- package/dist/web-types.json +179 -70
- package/package.json +2 -1
- package/dist/terra_ui_components-0.0.23-py3-none-any.whl +0 -0
- package/cdn/chunks/{chunk.U43KGD3Q.js → chunk.KUK7T7OL.js} +3 -3
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 {
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
h
|
|
6
6
|
} from "./chunk.QB5SASDL.js";
|
|
7
|
+
import {
|
|
8
|
+
combobox_styles_default
|
|
9
|
+
} from "./chunk.USC76EZL.js";
|
|
7
10
|
import {
|
|
8
11
|
clearSelection,
|
|
9
12
|
walkToOption
|
|
10
13
|
} from "./chunk.LMGJJIIS.js";
|
|
11
|
-
import {
|
|
12
|
-
combobox_styles_default
|
|
13
|
-
} from "./chunk.USC76EZL.js";
|
|
14
14
|
import {
|
|
15
15
|
Fuse
|
|
16
16
|
} from "./chunk.U7L2FN7F.js";
|
|
17
|
-
import {
|
|
18
|
-
o
|
|
19
|
-
} from "./chunk.QEA4QW6G.js";
|
|
20
17
|
import {
|
|
21
18
|
n as n2
|
|
22
19
|
} from "./chunk.2XCNCXGV.js";
|
|
20
|
+
import {
|
|
21
|
+
o
|
|
22
|
+
} from "./chunk.QEA4QW6G.js";
|
|
23
23
|
import {
|
|
24
24
|
watch
|
|
25
25
|
} from "./chunk.CBV7M6CJ.js";
|
|
26
26
|
import {
|
|
27
27
|
TerraElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.PBHXHHF2.js";
|
|
30
30
|
import {
|
|
31
31
|
n,
|
|
32
32
|
r
|
|
@@ -7,26 +7,28 @@ import {
|
|
|
7
7
|
o,
|
|
8
8
|
s
|
|
9
9
|
} from "./chunk.GNSDRDLV.js";
|
|
10
|
-
import {
|
|
11
|
-
button_styles_default
|
|
12
|
-
} from "./chunk.YVG2XG3L.js";
|
|
13
10
|
import {
|
|
14
11
|
watch
|
|
15
12
|
} from "./chunk.CBV7M6CJ.js";
|
|
13
|
+
import {
|
|
14
|
+
button_styles_default
|
|
15
|
+
} from "./chunk.YVG2XG3L.js";
|
|
16
16
|
import {
|
|
17
17
|
e
|
|
18
18
|
} from "./chunk.YVSJQ4KD.js";
|
|
19
19
|
import {
|
|
20
20
|
TerraElement,
|
|
21
21
|
component_styles_default
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.PBHXHHF2.js";
|
|
23
23
|
import {
|
|
24
24
|
e as e2,
|
|
25
25
|
n as n2,
|
|
26
26
|
r
|
|
27
27
|
} from "./chunk.QCK7PTWV.js";
|
|
28
28
|
import {
|
|
29
|
-
__decorateClass
|
|
29
|
+
__decorateClass,
|
|
30
|
+
__privateAdd,
|
|
31
|
+
__privateMethod
|
|
30
32
|
} from "./chunk.MR27IH5Z.js";
|
|
31
33
|
|
|
32
34
|
// src/internal/slot.ts
|
|
@@ -76,9 +78,11 @@ var HasSlotController = class {
|
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
// src/components/button/button.component.ts
|
|
81
|
+
var _handleDialogStateChange, handleDialogStateChange_fn;
|
|
79
82
|
var TerraButton = class extends TerraElement {
|
|
80
83
|
constructor() {
|
|
81
84
|
super(...arguments);
|
|
85
|
+
__privateAdd(this, _handleDialogStateChange);
|
|
82
86
|
this.formControlController = new FormControlController(this, {
|
|
83
87
|
assumeInteractionOn: ["click"]
|
|
84
88
|
});
|
|
@@ -103,6 +107,7 @@ var TerraButton = class extends TerraElement {
|
|
|
103
107
|
this.value = "";
|
|
104
108
|
this.href = "";
|
|
105
109
|
this.rel = "noreferrer noopener";
|
|
110
|
+
this.expanded = false;
|
|
106
111
|
}
|
|
107
112
|
/** Gets the validity state object */
|
|
108
113
|
get validity() {
|
|
@@ -123,6 +128,30 @@ var TerraButton = class extends TerraElement {
|
|
|
123
128
|
this.formControlController.updateValidity();
|
|
124
129
|
}
|
|
125
130
|
}
|
|
131
|
+
connectedCallback() {
|
|
132
|
+
super.connectedCallback();
|
|
133
|
+
if (this.forDialog) {
|
|
134
|
+
document.addEventListener(
|
|
135
|
+
"terra-dialog-show",
|
|
136
|
+
__privateMethod(this, _handleDialogStateChange, handleDialogStateChange_fn).bind(this)
|
|
137
|
+
);
|
|
138
|
+
document.addEventListener(
|
|
139
|
+
"terra-dialog-hide",
|
|
140
|
+
__privateMethod(this, _handleDialogStateChange, handleDialogStateChange_fn).bind(this)
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
disconnectedCallback() {
|
|
145
|
+
super.disconnectedCallback();
|
|
146
|
+
document.removeEventListener(
|
|
147
|
+
"terra-dialog-show",
|
|
148
|
+
__privateMethod(this, _handleDialogStateChange, handleDialogStateChange_fn).bind(this)
|
|
149
|
+
);
|
|
150
|
+
document.removeEventListener(
|
|
151
|
+
"terra-dialog-hide",
|
|
152
|
+
__privateMethod(this, _handleDialogStateChange, handleDialogStateChange_fn).bind(this)
|
|
153
|
+
);
|
|
154
|
+
}
|
|
126
155
|
handleBlur() {
|
|
127
156
|
this.hasFocus = false;
|
|
128
157
|
this.emit("sl-blur");
|
|
@@ -138,6 +167,10 @@ var TerraButton = class extends TerraElement {
|
|
|
138
167
|
if (this.type === "reset") {
|
|
139
168
|
this.formControlController.reset(this);
|
|
140
169
|
}
|
|
170
|
+
if (this.forDialog) {
|
|
171
|
+
const el = document.getElementById(this.forDialog);
|
|
172
|
+
el == null ? void 0 : el.show();
|
|
173
|
+
}
|
|
141
174
|
}
|
|
142
175
|
handleInvalid(event) {
|
|
143
176
|
this.formControlController.setValidity(false);
|
|
@@ -258,6 +291,9 @@ var TerraButton = class extends TerraElement {
|
|
|
258
291
|
@focus=${this.handleFocus}
|
|
259
292
|
@invalid=${this.isButton() ? this.handleInvalid : null}
|
|
260
293
|
@click=${this.handleClick}
|
|
294
|
+
aria-controls=${o(this.forDialog || void 0)}
|
|
295
|
+
?aria-haspopup=${this.forDialog ? "dialog" : void 0}
|
|
296
|
+
aria-expanded=${o(this.forDialog ? this.expanded : void 0)}
|
|
261
297
|
>
|
|
262
298
|
<slot name="prefix" part="prefix" class="button__prefix"></slot>
|
|
263
299
|
<slot part="label" class="button__label"></slot>
|
|
@@ -276,6 +312,12 @@ var TerraButton = class extends TerraElement {
|
|
|
276
312
|
`;
|
|
277
313
|
}
|
|
278
314
|
};
|
|
315
|
+
_handleDialogStateChange = new WeakSet();
|
|
316
|
+
handleDialogStateChange_fn = function(e3) {
|
|
317
|
+
if (this.forDialog && this.forDialog === e3.target.id) {
|
|
318
|
+
this.expanded = e3.target.open;
|
|
319
|
+
}
|
|
320
|
+
};
|
|
279
321
|
TerraButton.styles = [component_styles_default, button_styles_default];
|
|
280
322
|
__decorateClass([
|
|
281
323
|
e2(".button")
|
|
@@ -352,6 +394,12 @@ __decorateClass([
|
|
|
352
394
|
__decorateClass([
|
|
353
395
|
n2({ attribute: "formtarget" })
|
|
354
396
|
], TerraButton.prototype, "formTarget", 2);
|
|
397
|
+
__decorateClass([
|
|
398
|
+
n2({ attribute: "for-dialog" })
|
|
399
|
+
], TerraButton.prototype, "forDialog", 2);
|
|
400
|
+
__decorateClass([
|
|
401
|
+
r()
|
|
402
|
+
], TerraButton.prototype, "expanded", 2);
|
|
355
403
|
__decorateClass([
|
|
356
404
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
357
405
|
], TerraButton.prototype, "handleDisabledChange", 1);
|
|
@@ -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.PBHXHHF2.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,17 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
spatial_picker_styles_default
|
|
3
|
+
} from "./chunk.POKHGMEN.js";
|
|
1
4
|
import {
|
|
2
5
|
TerraMap
|
|
3
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.J33E2LPE.js";
|
|
4
7
|
import {
|
|
5
8
|
StringifyBoundingBox,
|
|
6
9
|
parseBoundingBox
|
|
7
10
|
} from "./chunk.4BM5VFHP.js";
|
|
8
|
-
import {
|
|
9
|
-
spatial_picker_styles_default
|
|
10
|
-
} from "./chunk.5FZY6SGS.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.PBHXHHF2.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}
|
|
@@ -172,6 +174,9 @@ __decorateClass([
|
|
|
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.PBHXHHF2.js";
|
|
20
20
|
import {
|
|
21
21
|
e,
|
|
22
22
|
n
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
skeleton_default
|
|
3
|
+
} from "./chunk.GT24H4QB.js";
|
|
1
4
|
import {
|
|
2
5
|
getRandomIntInclusive
|
|
3
6
|
} from "./chunk.7PAVW6KC.js";
|
|
4
|
-
import {
|
|
5
|
-
skeleton_default
|
|
6
|
-
} from "./chunk.HB56625V.js";
|
|
7
7
|
import {
|
|
8
8
|
skeleton_styles_default
|
|
9
9
|
} from "./chunk.FPSSRS2U.js";
|
|
10
10
|
import {
|
|
11
11
|
TerraElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.PBHXHHF2.js";
|
|
14
14
|
import {
|
|
15
15
|
n
|
|
16
16
|
} from "./chunk.QCK7PTWV.js";
|