@nasa-terra/components 0.0.0 → 0.0.1
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/{dist/chunks/chunk.SZQ6DLHF.js → cdn/chunks/chunk.27YQ2AOA.js} +6 -6
- package/cdn/chunks/{chunk.BHXZEJO5.js → chunk.2B4YBQ5O.js} +1 -1
- package/cdn/chunks/chunk.2I657ASB.js +85 -0
- package/cdn/chunks/{chunk.R5TLD4JZ.js → chunk.2J6CFV4K.js} +1 -1
- package/{dist/chunks/chunk.SJ6OGWI6.js → cdn/chunks/chunk.2O76GCUZ.js} +1 -1
- package/cdn/chunks/chunk.2V4XFMTB.js +7 -0
- package/{dist/chunks/chunk.2RBWEAYS.js → cdn/chunks/chunk.36AVAQOO.js} +4 -4
- package/cdn/chunks/chunk.3ZGFXEAJ.js +273 -0
- package/cdn/chunks/{chunk.D6XFZNUK.js → chunk.4YOL6PQR.js} +4 -4
- package/{dist/chunks/chunk.6ZHGOB2G.js → cdn/chunks/chunk.77L4US7V.js} +1 -1
- package/cdn/chunks/chunk.7DEY3B3N.js +11 -0
- package/cdn/chunks/chunk.7VUSSQRI.js +20 -0
- package/cdn/chunks/chunk.AAWOHDFX.js +259 -0
- package/cdn/chunks/{chunk.34DQXAAA.js → chunk.AEIZVWLR.js} +1 -1
- package/cdn/chunks/{chunk.CI6OSO6M.js → chunk.BB7N2ZYB.js} +1 -1
- package/cdn/chunks/{chunk.Y4CNYLFC.js → chunk.BINGLTII.js} +1 -1
- package/cdn/chunks/chunk.BLNUBLUS.js +289 -0
- package/cdn/chunks/{chunk.AOKHUEZK.js → chunk.D33ZL7ZQ.js} +1 -1
- package/{dist/chunks/chunk.VIV3TUJX.js → cdn/chunks/chunk.DL3FIOYA.js} +1 -1
- package/cdn/chunks/{chunk.E3743HRF.js → chunk.DQGFAA4K.js} +4 -4
- package/cdn/chunks/{chunk.TA3MUOR6.js → chunk.EFAXKQZX.js} +1 -1
- package/cdn/chunks/chunk.FGILL5W6.js +118 -0
- package/cdn/chunks/chunk.FXIUS5TR.js +21 -0
- package/cdn/chunks/{chunk.P2U3GEIK.js → chunk.FZT3BVW7.js} +1 -1
- package/{dist/chunks/chunk.TCOEMJRS.js → cdn/chunks/chunk.GCKJPPGU.js} +1 -1
- package/cdn/chunks/chunk.I2NEFB34.js +99 -0
- package/cdn/chunks/{chunk.RVZES2AU.js → chunk.I32QCWMN.js} +1 -1
- package/cdn/chunks/chunk.IBEKZVOY.js +80 -0
- package/cdn/chunks/{chunk.42A7HENY.js → chunk.IO4MLLEG.js} +1 -1
- package/cdn/chunks/{chunk.P4XRFEY4.js → chunk.IP3XWLQI.js} +1 -1
- package/{dist/chunks/chunk.R4J62P4T.js → cdn/chunks/chunk.IQITDFID.js} +1 -1
- package/cdn/chunks/chunk.ITX3RB2M.js +11 -0
- package/cdn/chunks/{chunk.OEWCLC7K.js → chunk.J576Q62R.js} +1 -1
- package/cdn/chunks/{chunk.4TENYCNW.js → chunk.JCZW2OWI.js} +1 -1
- package/cdn/chunks/chunk.JFU3ZCDL.js +359 -0
- package/{dist/chunks/chunk.36PTCDA5.js → cdn/chunks/chunk.JOVDYQHE.js} +1 -1
- package/cdn/chunks/{chunk.6RAHIA27.js → chunk.JV6B7CXO.js} +2 -1
- package/cdn/chunks/{chunk.5X6SO6J5.js → chunk.KH54YRZ3.js} +1 -1
- package/cdn/chunks/{chunk.7FISIUEV.js → chunk.KVY2Y3KE.js} +1 -1
- package/cdn/chunks/{chunk.ZMCLEFDE.js → chunk.KXLY6BVH.js} +4 -4
- package/cdn/chunks/chunk.LELNKRPW.js +685 -0
- package/cdn/chunks/{chunk.53SMSSCB.js → chunk.M25XJ2VR.js} +6 -6
- package/cdn/chunks/{chunk.X7ARZIFO.js → chunk.MDM7S6E6.js} +1 -1
- package/cdn/chunks/{chunk.253Y3NFH.js → chunk.MIAPAPCI.js} +1 -1
- package/{dist/chunks/chunk.XJ3P4AO2.js → cdn/chunks/chunk.MKXJDRVT.js} +1 -1
- package/{dist/chunks/chunk.LE36I4N2.js → cdn/chunks/chunk.MOJMTJF6.js} +1 -1
- package/{dist/chunks/chunk.NZYKW5Y7.js → cdn/chunks/chunk.MQ5JNQCQ.js} +1 -1
- package/cdn/chunks/chunk.MWHQHPUM.js +54 -0
- package/{dist/chunks/chunk.WJPV6KQS.js → cdn/chunks/chunk.MXAZ646L.js} +1 -1
- package/cdn/chunks/chunk.N2DS7NLI.js +102 -0
- package/{dist/chunks/chunk.A2U7NITY.js → cdn/chunks/chunk.NU4LRV7F.js} +1 -1
- package/cdn/chunks/chunk.NYBJ252W.js +318 -0
- package/cdn/chunks/chunk.OIDMX5LU.js +10 -0
- package/cdn/chunks/{chunk.M366DOLL.js → chunk.OLCGKQR3.js} +1 -1
- package/{dist/chunks/chunk.WBXETWE4.js → cdn/chunks/chunk.OOUCODFZ.js} +2 -1
- package/cdn/chunks/chunk.OQE2USZJ.js +41 -0
- package/cdn/chunks/chunk.OU4UPMYR.js +330 -0
- package/cdn/chunks/{chunk.6PIZJ2ZO.js → chunk.P7W2ODWK.js} +1 -1
- package/cdn/chunks/chunk.PJXIJK2G.js +102 -0
- package/cdn/chunks/{chunk.AURPVGI4.js → chunk.QQ33BJLG.js} +1 -1
- package/cdn/chunks/{chunk.NUMFOBCB.js → chunk.R3AE5AQ5.js} +4 -4
- package/cdn/chunks/{chunk.T3YOGGMB.js → chunk.RBKBAQOH.js} +5 -5
- package/cdn/chunks/{chunk.JSEQXKIQ.js → chunk.RDOXOIYG.js} +1 -1
- package/{dist/chunks/chunk.YNY2FQKA.js → cdn/chunks/chunk.RVJP24KU.js} +1 -1
- package/cdn/chunks/chunk.RYPAZDXE.js +61 -0
- package/cdn/chunks/chunk.SHS42OAD.js +620 -0
- package/cdn/chunks/{chunk.4CAXR33B.js → chunk.SJADWOCY.js} +1 -1
- package/cdn/chunks/{chunk.AY5ZYXPF.js → chunk.SMRM4VEQ.js} +1 -1
- package/{dist/chunks/chunk.DNBHAHKW.js → cdn/chunks/chunk.SQMSSGQI.js} +1 -1
- package/cdn/chunks/chunk.T322FDKI.js +300 -0
- package/cdn/chunks/{chunk.RRCPVEE3.js → chunk.TV2NZLRC.js} +4 -4
- package/cdn/chunks/{chunk.6JYG4IP3.js → chunk.UE4FYVUH.js} +1 -1
- package/cdn/chunks/{chunk.EPEFC6PC.js → chunk.UJBBUYTN.js} +1 -1
- package/cdn/chunks/{chunk.BSSVF7JN.js → chunk.UQVPFKN3.js} +7 -7
- package/cdn/chunks/chunk.UU46CLE7.js +120 -0
- package/cdn/chunks/{chunk.OFCNXAUR.js → chunk.VEUDIPUW.js} +1 -1
- package/cdn/chunks/chunk.WGFD2LHA.js +83 -0
- package/cdn/chunks/chunk.WNRL2JWN.js +21 -0
- package/{dist/chunks/chunk.J6NGZHLF.js → cdn/chunks/chunk.Y3WAKQQ3.js} +1 -1
- package/cdn/chunks/chunk.YOR2OZZR.js +11 -0
- package/{dist/chunks/chunk.YHSKQAEB.js → cdn/chunks/chunk.ZAHTEXVC.js} +1 -1
- package/cdn/chunks/chunk.ZCNMYQP2.js +113 -0
- package/cdn/chunks/chunk.ZGJAUXFV.js +39 -0
- package/cdn/chunks/chunk.ZK7QVWBI.js +37 -0
- package/{dist/chunks/chunk.BEIVIE7M.js → cdn/chunks/chunk.ZPPR6CPT.js} +1 -1
- package/cdn/chunks/chunk.ZQ5WJYY5.js +21 -0
- package/{dist/chunks/chunk.OZ37OLF4.js → cdn/chunks/chunk.ZVKNJQPF.js} +1 -1
- 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 +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- 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/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.js +26 -26
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +27 -27
- package/cdn/components/variable-combobox/variable-combobox.component.js +12 -12
- package/cdn/components/variable-combobox/variable-combobox.js +13 -13
- package/cdn/custom-elements.json +973 -973
- 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 +3 -3
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +50 -50
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.js +27 -27
- package/cdn/react/variable-combobox/index.js +13 -13
- package/cdn/terra-ui-components.js +54 -54
- package/cdn/types/vue/index.d.ts +98 -98
- package/cdn/utilities/animation.js +3 -3
- package/cdn/vscode.html-custom-data.json +111 -111
- package/cdn/web-types.json +205 -205
- package/dist/chunks/chunk.27YQ2AOA.js +251 -0
- package/dist/chunks/chunk.2O76GCUZ.js +21 -0
- package/dist/chunks/chunk.2WZAYHEX.js +214 -0
- package/dist/chunks/chunk.356SSUTI.js +11 -0
- package/dist/chunks/chunk.36AVAQOO.js +404 -0
- package/dist/chunks/chunk.3D66L46K.js +11 -0
- package/dist/chunks/chunk.3LUNFNDR.js +118 -0
- package/dist/chunks/chunk.4MN2BLJS.js +21 -0
- package/dist/chunks/chunk.5B33QFBB.js +83 -0
- package/dist/chunks/chunk.65A3A43G.js +21 -0
- package/dist/chunks/chunk.BB7N2ZYB.js +21 -0
- package/dist/chunks/chunk.D6FJH7WA.js +21 -0
- package/dist/chunks/chunk.DDPOISEU.js +179 -0
- package/dist/chunks/chunk.EBBV6NVD.js +11 -0
- package/dist/chunks/chunk.EMISRECR.js +214 -0
- package/dist/chunks/chunk.FZT3BVW7.js +21 -0
- package/dist/chunks/chunk.GHCQCYO6.js +179 -0
- package/dist/chunks/chunk.HO5CZIK5.js +11 -0
- package/dist/chunks/chunk.IEU4MULT.js +25 -0
- package/dist/chunks/chunk.IO4MLLEG.js +21 -0
- package/dist/chunks/chunk.IP3XWLQI.js +11 -0
- package/dist/chunks/chunk.J4B6HPXD.js +11 -0
- package/dist/chunks/chunk.J576Q62R.js +11 -0
- package/dist/chunks/chunk.JCZW2OWI.js +11 -0
- package/dist/chunks/chunk.K2HRGRYE.js +11 -0
- package/dist/chunks/chunk.KXNDHJXA.js +404 -0
- package/dist/chunks/chunk.MIAPAPCI.js +21 -0
- package/dist/chunks/chunk.MOJMTJF6.js +24 -0
- package/dist/chunks/chunk.MXAZ646L.js +11 -0
- package/dist/chunks/chunk.NNLAIN52.js +11 -0
- package/dist/chunks/chunk.NO35M7LF.js +21 -0
- package/dist/chunks/chunk.NOEGCTIS.js +194 -0
- package/dist/chunks/chunk.NU4LRV7F.js +21 -0
- package/dist/chunks/chunk.NZIGCRLS.js +11 -0
- package/dist/chunks/chunk.OIGE7CMM.js +11 -0
- package/dist/chunks/chunk.OOUCODFZ.js +179 -0
- package/dist/chunks/chunk.ORZO3BCW.js +102 -0
- package/dist/chunks/chunk.P25SJ6YA.js +478 -0
- package/dist/chunks/chunk.P4QMMCAR.js +24 -0
- package/dist/chunks/chunk.PGNCNTOA.js +21 -0
- package/dist/chunks/chunk.Q7F3GGVA.js +251 -0
- package/dist/chunks/chunk.QSCELHEQ.js +325 -0
- package/dist/chunks/chunk.RDOXOIYG.js +11 -0
- package/dist/chunks/chunk.SBTZE5QZ.js +21 -0
- package/dist/chunks/chunk.SCU5LFS3.js +325 -0
- package/dist/chunks/chunk.SJADWOCY.js +11 -0
- package/dist/chunks/chunk.SMRM4VEQ.js +11 -0
- package/dist/chunks/chunk.T7MOUOBT.js +11 -0
- package/dist/chunks/chunk.UE4FYVUH.js +25 -0
- package/dist/chunks/chunk.UJBBUYTN.js +11 -0
- package/dist/chunks/chunk.WL747XGE.js +194 -0
- package/dist/chunks/chunk.XKDGF53W.js +21 -0
- package/dist/chunks/chunk.XLYZ6HY4.js +179 -0
- package/dist/chunks/chunk.XXV47QL2.js +21 -0
- package/dist/chunks/chunk.Y3WAKQQ3.js +179 -0
- package/dist/chunks/chunk.Y5CHSR6B.js +21 -0
- package/dist/chunks/chunk.YDJ7Z7YW.js +478 -0
- package/dist/chunks/chunk.YDMA4OA3.js +11 -0
- package/dist/chunks/chunk.Z2WXDYZC.js +85 -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 +4 -4
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- 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/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/spatial-picker/spatial-picker.component.js +6 -6
- package/dist/components/spatial-picker/spatial-picker.js +7 -7
- package/dist/components/time-series/time-series.component.js +22 -22
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +23 -23
- 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 +973 -973
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +5 -5
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +47 -47
- package/dist/react/loader/index.js +3 -3
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/spatial-picker/index.js +7 -7
- package/dist/react/time-series/index.js +23 -23
- package/dist/react/variable-combobox/index.js +10 -10
- package/dist/terra-ui-components.js +46 -46
- package/dist/types/vue/index.d.ts +98 -98
- package/dist/vscode.html-custom-data.json +111 -111
- package/dist/web-types.json +205 -205
- package/package.json +1 -1
- package/{dist/chunks/chunk.HKHDBTIC.js → cdn/chunks/chunk.EMISRECR.js} +3 -3
- package/{dist/chunks/chunk.KRXFJQUH.js → cdn/chunks/chunk.GHCQCYO6.js} +3 -3
- package/{dist/chunks/chunk.I7ZPL3IO.js → cdn/chunks/chunk.P25SJ6YA.js} +3 -3
- package/{dist/chunks/chunk.OSC7AN4C.js → cdn/chunks/chunk.SCU5LFS3.js} +3 -3
- package/{dist/chunks/chunk.V3YTQSMP.js → cdn/chunks/chunk.WL747XGE.js} +3 -3
- package/cdn/chunks/{chunk.LQCRC4E2.js → chunk.XR56EMXH.js} +8 -8
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
// src/components/combobox/combobox.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var combobox_styles_default = css`
|
|
4
|
+
:host {
|
|
5
|
+
--color-blue--400: #007acc;
|
|
6
|
+
--color-blue--500: #1c67e3;
|
|
7
|
+
--color-blue--600: #0b3d91;
|
|
8
|
+
|
|
9
|
+
--color-red--400: #f64137;
|
|
10
|
+
--color-red--500: #b60109;
|
|
11
|
+
|
|
12
|
+
--color-neutral--000: #ffffff;
|
|
13
|
+
--color-neutral--100: #f7f7f7;
|
|
14
|
+
--color-neutral--200: #d1d1d1;
|
|
15
|
+
--color-neutral--300: #b9b9bb;
|
|
16
|
+
--color-neutral--400: #959599;
|
|
17
|
+
--color-neutral--500: #767676;
|
|
18
|
+
--color-neutral--600: #58585b;
|
|
19
|
+
--color-neutral--700: #2e2e32;
|
|
20
|
+
--color-neutral--800: #1b1b1b;
|
|
21
|
+
|
|
22
|
+
--font-family--inter: Inter, sans-serif;
|
|
23
|
+
--font-family--public-sans: 'Public Sans', sans-serif;
|
|
24
|
+
--font-family--dm-mono: 'DM Mono', monospace;
|
|
25
|
+
|
|
26
|
+
--label-height: 1.8125rem;
|
|
27
|
+
--help-height: 1.8125rem;
|
|
28
|
+
--host-height: 5.8125rem;
|
|
29
|
+
|
|
30
|
+
block-size: var(--terra-block-size, 2.1875rem);
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
color: var(--terra-color-neutral--700, var(--color-neutral--700));
|
|
33
|
+
contain: layout size style;
|
|
34
|
+
contain-intrinsic-size: var(--terra-inline-size, 100%)
|
|
35
|
+
calc(33vh + var(--terra-block-size, 2.1875rem));
|
|
36
|
+
display: block;
|
|
37
|
+
font-family: var(
|
|
38
|
+
--terra-font-family--public-sans,
|
|
39
|
+
var(--font-family--public-sans)
|
|
40
|
+
);
|
|
41
|
+
height: var(--terra-block-size, var(--host-height));
|
|
42
|
+
inline-size: var(--terra-inline-size, 100%);
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host([hide-help]) {
|
|
47
|
+
height: calc(
|
|
48
|
+
var(--terra-block-size, var(--host-height)) - var(--help-height)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([hide-label]) {
|
|
53
|
+
height: calc(
|
|
54
|
+
var(--terra-block-size, var(--host-height)) - var(--label-height)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host([hide-help][hide-label]) {
|
|
59
|
+
height: calc(
|
|
60
|
+
var(--terra-block-size, var(--host-height)) - var(--help-height) - var(
|
|
61
|
+
--label-height
|
|
62
|
+
)
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
* {
|
|
67
|
+
box-sizing: inherit;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.search-input-label {
|
|
71
|
+
font-family: var(--terra-font-family--inter, var(--font-family--inter));
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
line-height: 1.1875rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.search-input-group {
|
|
77
|
+
block-size: 100%;
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-wrap: wrap;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.combobox {
|
|
83
|
+
background-color: var(--terra-color-neutral--100, var(--color-neutral--100));
|
|
84
|
+
block-size: var(--terra-block-size, 2.1875rem);
|
|
85
|
+
border-block: 2px solid
|
|
86
|
+
var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
87
|
+
border-inline-end: 0;
|
|
88
|
+
border-inline-start: 2px solid
|
|
89
|
+
var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
90
|
+
color: currentColor;
|
|
91
|
+
flex: 1 1 auto;
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
padding-inline: 0.5rem;
|
|
94
|
+
transition:
|
|
95
|
+
background-color 0.2s ease,
|
|
96
|
+
border-color 0.2s ease;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.combobox::placeholder {
|
|
100
|
+
color: var(--terra-color-neutral--600, var(--color-neutral--600));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.combobox:focus {
|
|
104
|
+
background-color: var(--terra-color-neutral--000, var(--color-neutral--000));
|
|
105
|
+
border-color: var(--terra-color-neutral--400, var(--color-neutral--400));
|
|
106
|
+
outline: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.combobox:focus + .combobox-button {
|
|
110
|
+
background-color: var(--terra-color-neutral--800, var(--color-neutral--800));
|
|
111
|
+
border-block-color: var(
|
|
112
|
+
--terra-color-neutral--400,
|
|
113
|
+
var(--color-neutral--400)
|
|
114
|
+
);
|
|
115
|
+
border-inline-end-color: var(
|
|
116
|
+
--terra-color-neutral--400,
|
|
117
|
+
var(--color-neutral--400)
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.search-input-group:has(.combobox:not(:focus)) + .search-results[open] {
|
|
122
|
+
border-color: var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.combobox-button {
|
|
126
|
+
align-items: center;
|
|
127
|
+
background-color: var(--terra-color-neutral--700, var(--color-neutral--700));
|
|
128
|
+
block-size: var(--terra-block-size, 2.1875rem);
|
|
129
|
+
border-block: 2px solid
|
|
130
|
+
var(--terra-color-neutral--700, var(--color-neutral--700));
|
|
131
|
+
border-inline-end: 2px solid
|
|
132
|
+
var(--terra-color-neutral--700, var(--color-neutral--700));
|
|
133
|
+
border-inline-start: 0;
|
|
134
|
+
color: var(--terra-color-neutral--000, var(--color-neutral--000));
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex: 0 0 auto;
|
|
138
|
+
font-size: 1rem;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
margin-block: 0;
|
|
141
|
+
margin-inline: 0;
|
|
142
|
+
outline: 0;
|
|
143
|
+
padding-inline: 0.5rem;
|
|
144
|
+
transition:
|
|
145
|
+
background-color 0.2s ease,
|
|
146
|
+
border-color 0.2s ease;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.combobox-button[aria-expanded='true'] .chevron {
|
|
150
|
+
rotate: -0.5turn;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.button-icon {
|
|
154
|
+
height: 1rem;
|
|
155
|
+
width: 1rem;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.chevron {
|
|
159
|
+
transition: rotate 0.2s ease;
|
|
160
|
+
will-change: rotate;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.spinner {
|
|
164
|
+
transform-origin: center;
|
|
165
|
+
animation: spin 2s linear infinite;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.spinner circle {
|
|
169
|
+
stroke-linecap: round;
|
|
170
|
+
animation: vary-stroke 1.5s ease-in-out infinite;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.search-help {
|
|
174
|
+
bottom: 0;
|
|
175
|
+
color: var(--terra-color-neutral--600, var(--color-neutral--600));
|
|
176
|
+
flex: 1 1 100%;
|
|
177
|
+
font-size: 0.875rem;
|
|
178
|
+
margin-block: 0;
|
|
179
|
+
position: absolute;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.external-link {
|
|
183
|
+
fill: currentColor;
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.search-results {
|
|
188
|
+
background-color: var(--terra-color-neutral--000, var(--color-neutral--000));
|
|
189
|
+
block-size: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
190
|
+
border-block-end: 2px solid transparent;
|
|
191
|
+
border-inline: 2px solid transparent;
|
|
192
|
+
contain: strict;
|
|
193
|
+
contain-intrinsic-size: var(--terra-inline-size, 100%)
|
|
194
|
+
calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
195
|
+
content-visibility: hidden;
|
|
196
|
+
left: 0;
|
|
197
|
+
margin-block: 0;
|
|
198
|
+
margin-inline: 0;
|
|
199
|
+
max-height: 0;
|
|
200
|
+
opacity: 0;
|
|
201
|
+
overflow-y: auto;
|
|
202
|
+
overscroll-behavior: contain;
|
|
203
|
+
padding-block: 0.5rem;
|
|
204
|
+
padding-inline: 0px;
|
|
205
|
+
position: absolute;
|
|
206
|
+
right: 0;
|
|
207
|
+
visibility: hidden;
|
|
208
|
+
transition:
|
|
209
|
+
background-color 0.2s ease,
|
|
210
|
+
border-color 0.2s ease;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.search-results[open] {
|
|
214
|
+
border-color: var(--terra-color-neutral--400, var(--color-neutral--400));
|
|
215
|
+
content-visibility: auto;
|
|
216
|
+
max-height: calc(33vh - var(--terra-block-size, 2.1875rem));
|
|
217
|
+
opacity: 1;
|
|
218
|
+
visibility: visible;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.search-results .updating {
|
|
222
|
+
font-size: 1.5rem;
|
|
223
|
+
padding-block: 4rem;
|
|
224
|
+
text-align: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.search-results .error {
|
|
228
|
+
color: var(--terra-color-red--500, var(--color-red--500));
|
|
229
|
+
font-family: var(--terra-font-family--dm-mono, var(--font-family--dm-mono));
|
|
230
|
+
padding-block: 2rem;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
display: flex;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.listbox-option-group {
|
|
236
|
+
padding-block: 0.5rem 0rem;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.group-title {
|
|
240
|
+
padding-inline: 0.5rem;
|
|
241
|
+
font-family: var(--terra-font-family--inter, var(--font-family--inter));
|
|
242
|
+
color: var(--terra-color-gray-500, var(--color-neutral--500));
|
|
243
|
+
font-weight: 500;
|
|
244
|
+
margin-block: 0;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.listbox-option-group ul {
|
|
248
|
+
padding-left: 0px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.listbox-option {
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
list-style: none;
|
|
254
|
+
position: relative;
|
|
255
|
+
padding-left: 2rem;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.listbox-option:hover,
|
|
259
|
+
.listbox-option[aria-selected='true'] {
|
|
260
|
+
background-color: var(--terra-color-gray-200, var(--color-neutral--200));
|
|
261
|
+
transition: background-color 0.2s ease;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@media (prefers-reduced-motion) {
|
|
265
|
+
.button-icon {
|
|
266
|
+
transition: rotate 0s ease;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.search-results {
|
|
270
|
+
scroll-behavior: auto;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@keyframes spin {
|
|
275
|
+
to {
|
|
276
|
+
transform: rotate(1turn);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@keyframes vary-stroke {
|
|
281
|
+
0% {
|
|
282
|
+
stroke-dasharray: 0 150;
|
|
283
|
+
stroke-dashoffset: 0;
|
|
284
|
+
}
|
|
285
|
+
47.5% {
|
|
286
|
+
stroke-dasharray: 42 150;
|
|
287
|
+
stroke-dashoffset: -16;
|
|
288
|
+
}
|
|
289
|
+
95%,
|
|
290
|
+
100% {
|
|
291
|
+
stroke-dasharray: 42 150;
|
|
292
|
+
stroke-dashoffset: -59;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* General reset for skeleton elements */
|
|
297
|
+
.skeleton,
|
|
298
|
+
.skeleton * {
|
|
299
|
+
margin: 0;
|
|
300
|
+
padding: 0;
|
|
301
|
+
list-style: none;
|
|
302
|
+
box-sizing: border-box;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Styling for the skeleton groups */
|
|
306
|
+
.skeleton.listbox-option-group {
|
|
307
|
+
padding: 0.25rem;
|
|
308
|
+
margin: 0.5rem 0;
|
|
309
|
+
background: var(
|
|
310
|
+
--terra-color-neutral--100,
|
|
311
|
+
var(--color-neutral--100)
|
|
312
|
+
); /* Light background for the group */
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Styling for the title in each group */
|
|
316
|
+
.skeleton-title {
|
|
317
|
+
display: flex;
|
|
318
|
+
height: 1.25rem;
|
|
319
|
+
width: 80%; /* Slightly longer than before */
|
|
320
|
+
background-color: var(--terra-color-neutral--100, var(--color-neutral--100));
|
|
321
|
+
margin-bottom: 10px;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/* Styling for each option inside the group */
|
|
325
|
+
.skeleton .listbox-option {
|
|
326
|
+
height: 1rem;
|
|
327
|
+
width: 60%; /* Shorter width to differentiate from title */
|
|
328
|
+
background-color: var(--terra-color-neutral--200, var(--color-neutral--200));
|
|
329
|
+
margin-top: 5px;
|
|
330
|
+
margin-left: 1.5rem;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* Keyframes for the animation */
|
|
334
|
+
@keyframes pulse {
|
|
335
|
+
0%,
|
|
336
|
+
100% {
|
|
337
|
+
background-color: var(
|
|
338
|
+
--terra-color-neutral--200,
|
|
339
|
+
var(--color-neutral--200)
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
50% {
|
|
343
|
+
background-color: var(
|
|
344
|
+
--terra-color-neutral--100,
|
|
345
|
+
var(--color-neutral--100)
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Applying the animation to simulate loading */
|
|
351
|
+
.skeleton-title,
|
|
352
|
+
.skeleton .listbox-option {
|
|
353
|
+
animation: pulse 2s infinite ease-in-out;
|
|
354
|
+
}
|
|
355
|
+
`;
|
|
356
|
+
|
|
357
|
+
export {
|
|
358
|
+
combobox_styles_default
|
|
359
|
+
};
|
|
@@ -6050,8 +6050,9 @@ loadTimeSeries_fn = async function(signal) {
|
|
|
6050
6050
|
requestStartDate = new Date(existingTerraData.endDate);
|
|
6051
6051
|
}
|
|
6052
6052
|
}
|
|
6053
|
+
const variableGroup = variableEntryId.startsWith("NLDAS_") ? "NLDAS2" : variableEntryId.split("_")[0];
|
|
6053
6054
|
const url = timeSeriesUrlTemplate({
|
|
6054
|
-
variable: `${
|
|
6055
|
+
variable: `${variableGroup}:${this.collection}:${this.variable}`,
|
|
6055
6056
|
// TODO: Cloud Giovanni would use "variableEntryId" directly here, no need to reformat
|
|
6056
6057
|
startDate: format(requestStartDate, "yyyy-MM-dd") + "T00",
|
|
6057
6058
|
endDate: format(requestEndDate, "yyyy-MM-dd") + "T00",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraMap
|
|
3
|
+
} from "./chunk.UQVPFKN3.js";
|
|
1
4
|
import {
|
|
2
5
|
spatial_picker_styles_default
|
|
3
6
|
} from "./chunk.UOFDZJYP.js";
|
|
4
|
-
import {
|
|
5
|
-
TerraMap
|
|
6
|
-
} from "./chunk.BSSVF7JN.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.VEUDIPUW.js";
|
|
15
15
|
import {
|
|
16
16
|
e,
|
|
17
17
|
n,
|