@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
package/cdn/custom-elements.json
CHANGED
|
@@ -4,638 +4,625 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/button/button.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
13
|
-
"
|
|
14
|
-
{
|
|
15
|
-
"description": "The chip's label.",
|
|
16
|
-
"name": ""
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"members": [
|
|
12
|
+
"name": "TerraButton",
|
|
13
|
+
"cssParts": [
|
|
20
14
|
{
|
|
21
|
-
"
|
|
22
|
-
"name": "
|
|
23
|
-
"type": {
|
|
24
|
-
"text": "'small' | 'medium' | 'large'"
|
|
25
|
-
},
|
|
26
|
-
"default": "'medium'",
|
|
27
|
-
"attribute": "size",
|
|
28
|
-
"reflects": true
|
|
15
|
+
"description": "The component's base wrapper.",
|
|
16
|
+
"name": "base"
|
|
29
17
|
},
|
|
30
18
|
{
|
|
31
|
-
"
|
|
32
|
-
"name": "
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"attributes": [
|
|
19
|
+
"description": "The container that wraps the prefix.",
|
|
20
|
+
"name": "prefix"
|
|
21
|
+
},
|
|
37
22
|
{
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
"default": "'medium'",
|
|
43
|
-
"fieldName": "size"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"superclass": {
|
|
47
|
-
"name": "TerraElement",
|
|
48
|
-
"module": "/src/internal/terra-element.js"
|
|
49
|
-
},
|
|
50
|
-
"summary": "Used for contacts and tags",
|
|
51
|
-
"tagNameWithoutPrefix": "chip",
|
|
52
|
-
"tagName": "terra-chip",
|
|
53
|
-
"customElement": true,
|
|
54
|
-
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
55
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
56
|
-
"status": "stable",
|
|
57
|
-
"since": "1.0"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"exports": [
|
|
61
|
-
{
|
|
62
|
-
"kind": "js",
|
|
63
|
-
"name": "default",
|
|
64
|
-
"declaration": {
|
|
65
|
-
"name": "TerraChip",
|
|
66
|
-
"module": "components/chip/chip.js"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"kind": "javascript-module",
|
|
73
|
-
"path": "components/combobox/combobox.js",
|
|
74
|
-
"declarations": [
|
|
75
|
-
{
|
|
76
|
-
"kind": "class",
|
|
77
|
-
"description": "",
|
|
78
|
-
"name": "TerraCombobox",
|
|
79
|
-
"cssProperties": [
|
|
23
|
+
"description": "The button's label.",
|
|
24
|
+
"name": "label"
|
|
25
|
+
},
|
|
80
26
|
{
|
|
81
|
-
"description": "The
|
|
82
|
-
"name": "
|
|
27
|
+
"description": "The container that wraps the suffix.",
|
|
28
|
+
"name": "suffix"
|
|
83
29
|
},
|
|
84
30
|
{
|
|
85
|
-
"description": "The
|
|
86
|
-
"name": "
|
|
31
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
32
|
+
"name": "caret"
|
|
87
33
|
},
|
|
88
34
|
{
|
|
89
|
-
"description": "The
|
|
90
|
-
"name": "
|
|
35
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
36
|
+
"name": "spinner"
|
|
91
37
|
}
|
|
92
38
|
],
|
|
93
|
-
"
|
|
94
|
-
{
|
|
95
|
-
"description": "A `search` element, the component's base.",
|
|
96
|
-
"name": "base"
|
|
97
|
-
},
|
|
39
|
+
"slots": [
|
|
98
40
|
{
|
|
99
|
-
"description": "
|
|
100
|
-
"name": "
|
|
41
|
+
"description": "The button's label.",
|
|
42
|
+
"name": ""
|
|
101
43
|
},
|
|
102
44
|
{
|
|
103
|
-
"description": "A
|
|
104
|
-
"name": "
|
|
45
|
+
"description": "A presentational prefix icon or similar element.",
|
|
46
|
+
"name": "prefix"
|
|
105
47
|
},
|
|
106
48
|
{
|
|
107
|
-
"description": "A
|
|
108
|
-
"name": "
|
|
49
|
+
"description": "A presentational suffix icon or similar element.",
|
|
50
|
+
"name": "suffix"
|
|
109
51
|
}
|
|
110
52
|
],
|
|
111
53
|
"members": [
|
|
112
54
|
{
|
|
113
55
|
"kind": "field",
|
|
114
|
-
"name": "
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
"static": true,
|
|
119
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
56
|
+
"name": "formControlController",
|
|
57
|
+
"privacy": "private",
|
|
58
|
+
"readonly": true,
|
|
59
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
120
60
|
},
|
|
121
61
|
{
|
|
122
62
|
"kind": "field",
|
|
123
|
-
"name": "
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"static": true,
|
|
128
|
-
"default": "'terra-combobox'"
|
|
63
|
+
"name": "hasSlotController",
|
|
64
|
+
"privacy": "private",
|
|
65
|
+
"readonly": true,
|
|
66
|
+
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
129
67
|
},
|
|
130
68
|
{
|
|
131
69
|
"kind": "field",
|
|
132
|
-
"name": "
|
|
70
|
+
"name": "button",
|
|
133
71
|
"type": {
|
|
134
|
-
"text": "
|
|
135
|
-
}
|
|
136
|
-
"static": true,
|
|
137
|
-
"default": "''"
|
|
72
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
73
|
+
}
|
|
138
74
|
},
|
|
139
75
|
{
|
|
140
76
|
"kind": "field",
|
|
141
|
-
"name": "
|
|
142
|
-
"privacy": "private",
|
|
77
|
+
"name": "hasFocus",
|
|
143
78
|
"type": {
|
|
144
|
-
"text": "
|
|
79
|
+
"text": "boolean"
|
|
145
80
|
},
|
|
146
|
-
"
|
|
81
|
+
"privacy": "private",
|
|
82
|
+
"default": "false"
|
|
147
83
|
},
|
|
148
84
|
{
|
|
149
85
|
"kind": "field",
|
|
150
|
-
"name": "
|
|
151
|
-
"privacy": "private",
|
|
86
|
+
"name": "invalid",
|
|
152
87
|
"type": {
|
|
153
|
-
"text": "
|
|
88
|
+
"text": "boolean"
|
|
154
89
|
},
|
|
155
|
-
"default": "
|
|
90
|
+
"default": "false"
|
|
156
91
|
},
|
|
157
92
|
{
|
|
158
93
|
"kind": "field",
|
|
159
|
-
"name": "
|
|
160
|
-
"privacy": "private",
|
|
94
|
+
"name": "title",
|
|
161
95
|
"type": {
|
|
162
|
-
"text": "
|
|
96
|
+
"text": "string"
|
|
163
97
|
},
|
|
164
|
-
"default": "
|
|
98
|
+
"default": "''",
|
|
99
|
+
"attribute": "title"
|
|
165
100
|
},
|
|
166
101
|
{
|
|
167
102
|
"kind": "field",
|
|
168
|
-
"name": "
|
|
169
|
-
"privacy": "private",
|
|
103
|
+
"name": "variant",
|
|
170
104
|
"type": {
|
|
171
|
-
"text": "
|
|
105
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
|
|
172
106
|
},
|
|
173
|
-
"default": "
|
|
107
|
+
"default": "'default'",
|
|
108
|
+
"description": "The button's theme variant.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
174
111
|
},
|
|
175
112
|
{
|
|
176
113
|
"kind": "field",
|
|
177
|
-
"name": "
|
|
114
|
+
"name": "size",
|
|
178
115
|
"type": {
|
|
179
|
-
"text": "
|
|
116
|
+
"text": "'small' | 'medium' | 'large'"
|
|
180
117
|
},
|
|
181
|
-
"default": "'
|
|
182
|
-
"description": "
|
|
183
|
-
"attribute": "
|
|
118
|
+
"default": "'medium'",
|
|
119
|
+
"description": "The button's size.",
|
|
120
|
+
"attribute": "size",
|
|
121
|
+
"reflects": true
|
|
184
122
|
},
|
|
185
123
|
{
|
|
186
124
|
"kind": "field",
|
|
187
|
-
"name": "
|
|
125
|
+
"name": "caret",
|
|
188
126
|
"type": {
|
|
189
|
-
"text": "
|
|
127
|
+
"text": "boolean"
|
|
190
128
|
},
|
|
191
|
-
"default": "
|
|
192
|
-
"description": "
|
|
193
|
-
"attribute": "
|
|
129
|
+
"default": "false",
|
|
130
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
131
|
+
"attribute": "caret",
|
|
132
|
+
"reflects": true
|
|
194
133
|
},
|
|
195
134
|
{
|
|
196
135
|
"kind": "field",
|
|
197
|
-
"name": "
|
|
136
|
+
"name": "disabled",
|
|
198
137
|
"type": {
|
|
199
|
-
"text": "
|
|
138
|
+
"text": "boolean"
|
|
200
139
|
},
|
|
201
|
-
"
|
|
202
|
-
"
|
|
140
|
+
"default": "false",
|
|
141
|
+
"description": "Disables the button.",
|
|
142
|
+
"attribute": "disabled",
|
|
143
|
+
"reflects": true
|
|
203
144
|
},
|
|
204
145
|
{
|
|
205
146
|
"kind": "field",
|
|
206
|
-
"name": "
|
|
147
|
+
"name": "loading",
|
|
207
148
|
"type": {
|
|
208
149
|
"text": "boolean"
|
|
209
150
|
},
|
|
210
151
|
"default": "false",
|
|
211
|
-
"description": "
|
|
212
|
-
"attribute": "
|
|
152
|
+
"description": "Draws the button in a loading state.",
|
|
153
|
+
"attribute": "loading",
|
|
154
|
+
"reflects": true
|
|
213
155
|
},
|
|
214
156
|
{
|
|
215
157
|
"kind": "field",
|
|
216
|
-
"name": "
|
|
158
|
+
"name": "outline",
|
|
217
159
|
"type": {
|
|
218
160
|
"text": "boolean"
|
|
219
161
|
},
|
|
220
162
|
"default": "false",
|
|
221
|
-
"description": "
|
|
222
|
-
"attribute": "
|
|
163
|
+
"description": "Draws an outlined button.",
|
|
164
|
+
"attribute": "outline",
|
|
165
|
+
"reflects": true
|
|
223
166
|
},
|
|
224
167
|
{
|
|
225
168
|
"kind": "field",
|
|
226
|
-
"name": "
|
|
169
|
+
"name": "pill",
|
|
227
170
|
"type": {
|
|
228
|
-
"text": "
|
|
171
|
+
"text": "boolean"
|
|
229
172
|
},
|
|
230
|
-
"default": "
|
|
231
|
-
"description": "
|
|
232
|
-
"attribute": "
|
|
173
|
+
"default": "false",
|
|
174
|
+
"description": "Draws a pill-style button with rounded edges.",
|
|
175
|
+
"attribute": "pill",
|
|
176
|
+
"reflects": true
|
|
233
177
|
},
|
|
234
178
|
{
|
|
235
179
|
"kind": "field",
|
|
236
|
-
"name": "
|
|
180
|
+
"name": "circle",
|
|
237
181
|
"type": {
|
|
238
|
-
"text": "
|
|
182
|
+
"text": "boolean"
|
|
239
183
|
},
|
|
240
|
-
"default": "
|
|
241
|
-
"description": "
|
|
242
|
-
"attribute": "
|
|
184
|
+
"default": "false",
|
|
185
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<sl-icon>` in the\ndefault slot.",
|
|
186
|
+
"attribute": "circle",
|
|
187
|
+
"reflects": true
|
|
243
188
|
},
|
|
244
189
|
{
|
|
245
190
|
"kind": "field",
|
|
246
|
-
"name": "
|
|
191
|
+
"name": "type",
|
|
247
192
|
"type": {
|
|
248
|
-
"text": "
|
|
193
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
249
194
|
},
|
|
250
|
-
"default": "
|
|
195
|
+
"default": "'button'",
|
|
196
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
197
|
+
"attribute": "type"
|
|
251
198
|
},
|
|
252
199
|
{
|
|
253
200
|
"kind": "field",
|
|
254
|
-
"name": "
|
|
201
|
+
"name": "name",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "string"
|
|
204
|
+
},
|
|
205
|
+
"default": "''",
|
|
206
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
207
|
+
"attribute": "name"
|
|
255
208
|
},
|
|
256
209
|
{
|
|
257
210
|
"kind": "field",
|
|
258
|
-
"name": "
|
|
211
|
+
"name": "value",
|
|
259
212
|
"type": {
|
|
260
|
-
"text": "
|
|
213
|
+
"text": "string"
|
|
261
214
|
},
|
|
262
|
-
"default": "
|
|
215
|
+
"default": "''",
|
|
216
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
217
|
+
"attribute": "value"
|
|
263
218
|
},
|
|
264
219
|
{
|
|
265
|
-
"kind": "
|
|
266
|
-
"name": "
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"name": "newValue",
|
|
276
|
-
"type": {
|
|
277
|
-
"text": "any"
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
]
|
|
220
|
+
"kind": "field",
|
|
221
|
+
"name": "href",
|
|
222
|
+
"type": {
|
|
223
|
+
"text": "string"
|
|
224
|
+
},
|
|
225
|
+
"default": "''",
|
|
226
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
227
|
+
"attribute": "href"
|
|
281
228
|
},
|
|
282
229
|
{
|
|
283
230
|
"kind": "field",
|
|
284
|
-
"name": "
|
|
285
|
-
"
|
|
231
|
+
"name": "target",
|
|
232
|
+
"type": {
|
|
233
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
234
|
+
},
|
|
235
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
236
|
+
"attribute": "target"
|
|
286
237
|
},
|
|
287
238
|
{
|
|
288
239
|
"kind": "field",
|
|
289
|
-
"name": "
|
|
290
|
-
"
|
|
240
|
+
"name": "rel",
|
|
241
|
+
"type": {
|
|
242
|
+
"text": "string"
|
|
243
|
+
},
|
|
244
|
+
"default": "'noreferrer noopener'",
|
|
245
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
246
|
+
"attribute": "rel"
|
|
291
247
|
},
|
|
292
248
|
{
|
|
293
249
|
"kind": "field",
|
|
294
|
-
"name": "
|
|
295
|
-
"
|
|
250
|
+
"name": "download",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "string | undefined"
|
|
253
|
+
},
|
|
254
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
255
|
+
"attribute": "download"
|
|
296
256
|
},
|
|
297
257
|
{
|
|
298
258
|
"kind": "field",
|
|
299
|
-
"name": "
|
|
300
|
-
"
|
|
259
|
+
"name": "form",
|
|
260
|
+
"type": {
|
|
261
|
+
"text": "string"
|
|
262
|
+
},
|
|
263
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
264
|
+
"attribute": "form"
|
|
301
265
|
},
|
|
302
266
|
{
|
|
303
267
|
"kind": "field",
|
|
304
|
-
"name": "
|
|
305
|
-
"
|
|
268
|
+
"name": "formAction",
|
|
269
|
+
"type": {
|
|
270
|
+
"text": "string"
|
|
271
|
+
},
|
|
272
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
273
|
+
"attribute": "formaction"
|
|
306
274
|
},
|
|
307
275
|
{
|
|
308
276
|
"kind": "field",
|
|
309
|
-
"name": "
|
|
310
|
-
"
|
|
277
|
+
"name": "formEnctype",
|
|
278
|
+
"type": {
|
|
279
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
280
|
+
},
|
|
281
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
282
|
+
"attribute": "formenctype"
|
|
311
283
|
},
|
|
312
284
|
{
|
|
313
285
|
"kind": "field",
|
|
314
|
-
"name": "
|
|
315
|
-
"
|
|
286
|
+
"name": "formMethod",
|
|
287
|
+
"type": {
|
|
288
|
+
"text": "'post' | 'get'"
|
|
289
|
+
},
|
|
290
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
291
|
+
"attribute": "formmethod"
|
|
316
292
|
},
|
|
317
293
|
{
|
|
318
294
|
"kind": "field",
|
|
319
|
-
"name": "
|
|
320
|
-
"
|
|
295
|
+
"name": "formNoValidate",
|
|
296
|
+
"type": {
|
|
297
|
+
"text": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
300
|
+
"attribute": "formnovalidate"
|
|
321
301
|
},
|
|
322
302
|
{
|
|
323
303
|
"kind": "field",
|
|
324
|
-
"name": "
|
|
325
|
-
"
|
|
304
|
+
"name": "formTarget",
|
|
305
|
+
"type": {
|
|
306
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
307
|
+
},
|
|
308
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
309
|
+
"attribute": "formtarget"
|
|
326
310
|
},
|
|
327
311
|
{
|
|
328
312
|
"kind": "field",
|
|
329
|
-
"name": "
|
|
330
|
-
"
|
|
313
|
+
"name": "validity",
|
|
314
|
+
"description": "Gets the validity state object",
|
|
315
|
+
"readonly": true
|
|
331
316
|
},
|
|
332
317
|
{
|
|
333
318
|
"kind": "field",
|
|
334
|
-
"name": "
|
|
319
|
+
"name": "validationMessage",
|
|
320
|
+
"description": "Gets the validation message",
|
|
321
|
+
"readonly": true
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"kind": "method",
|
|
325
|
+
"name": "handleBlur",
|
|
335
326
|
"privacy": "private"
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"attributes": [
|
|
327
|
+
},
|
|
339
328
|
{
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
},
|
|
344
|
-
"default": "'Search for Items'",
|
|
345
|
-
"description": "Label the combobox with this.",
|
|
346
|
-
"fieldName": "label"
|
|
329
|
+
"kind": "method",
|
|
330
|
+
"name": "handleFocus",
|
|
331
|
+
"privacy": "private"
|
|
347
332
|
},
|
|
348
333
|
{
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
|
|
352
|
-
},
|
|
353
|
-
"default": "'Item'",
|
|
354
|
-
"description": "name the combobox with this.",
|
|
355
|
-
"fieldName": "name"
|
|
334
|
+
"kind": "method",
|
|
335
|
+
"name": "handleClick",
|
|
336
|
+
"privacy": "private"
|
|
356
337
|
},
|
|
357
338
|
{
|
|
358
|
-
"
|
|
359
|
-
"
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
339
|
+
"kind": "method",
|
|
340
|
+
"name": "handleInvalid",
|
|
341
|
+
"privacy": "private",
|
|
342
|
+
"parameters": [
|
|
343
|
+
{
|
|
344
|
+
"name": "event",
|
|
345
|
+
"type": {
|
|
346
|
+
"text": "Event"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
]
|
|
364
350
|
},
|
|
365
351
|
{
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
},
|
|
370
|
-
"default": "false",
|
|
371
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
372
|
-
"fieldName": "hideHelp"
|
|
352
|
+
"kind": "method",
|
|
353
|
+
"name": "isButton",
|
|
354
|
+
"privacy": "private"
|
|
373
355
|
},
|
|
374
356
|
{
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
},
|
|
379
|
-
"default": "false",
|
|
380
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
381
|
-
"fieldName": "hideLabel"
|
|
357
|
+
"kind": "method",
|
|
358
|
+
"name": "isLink",
|
|
359
|
+
"privacy": "private"
|
|
382
360
|
},
|
|
383
361
|
{
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
387
|
-
},
|
|
388
|
-
"default": "'INITIAL'",
|
|
389
|
-
"description": "status of the content",
|
|
390
|
-
"fieldName": "status"
|
|
362
|
+
"kind": "method",
|
|
363
|
+
"name": "handleDisabledChange"
|
|
391
364
|
},
|
|
392
365
|
{
|
|
393
|
-
"
|
|
394
|
-
"
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
398
|
-
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
399
|
-
"fieldName": "content"
|
|
400
|
-
}
|
|
401
|
-
],
|
|
402
|
-
"superclass": {
|
|
403
|
-
"name": "TerraElement",
|
|
404
|
-
"module": "/src/internal/terra-element.js"
|
|
405
|
-
},
|
|
406
|
-
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
407
|
-
"tagNameWithoutPrefix": "combobox",
|
|
408
|
-
"tagName": "terra-combobox",
|
|
409
|
-
"customElement": true,
|
|
410
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
|
|
411
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
412
|
-
"status": "experimental",
|
|
413
|
-
"since": "1.0"
|
|
414
|
-
}
|
|
415
|
-
],
|
|
416
|
-
"exports": [
|
|
417
|
-
{
|
|
418
|
-
"kind": "js",
|
|
419
|
-
"name": "default",
|
|
420
|
-
"declaration": {
|
|
421
|
-
"name": "TerraCombobox",
|
|
422
|
-
"module": "components/combobox/combobox.js"
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
]
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"kind": "javascript-module",
|
|
429
|
-
"path": "components/date-range-slider/date-range-slider.js",
|
|
430
|
-
"declarations": [
|
|
431
|
-
{
|
|
432
|
-
"kind": "class",
|
|
433
|
-
"description": "",
|
|
434
|
-
"name": "TerraDateRangeSlider",
|
|
435
|
-
"cssProperties": [
|
|
366
|
+
"kind": "method",
|
|
367
|
+
"name": "click",
|
|
368
|
+
"description": "Simulates a click on the button."
|
|
369
|
+
},
|
|
436
370
|
{
|
|
437
|
-
"
|
|
438
|
-
"name": "
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
371
|
+
"kind": "method",
|
|
372
|
+
"name": "focus",
|
|
373
|
+
"parameters": [
|
|
374
|
+
{
|
|
375
|
+
"name": "options",
|
|
376
|
+
"optional": true,
|
|
377
|
+
"type": {
|
|
378
|
+
"text": "FocusOptions"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"description": "Sets focus on the button."
|
|
383
|
+
},
|
|
442
384
|
{
|
|
443
|
-
"
|
|
444
|
-
"name": "
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
"slots": [
|
|
385
|
+
"kind": "method",
|
|
386
|
+
"name": "blur",
|
|
387
|
+
"description": "Removes focus from the button."
|
|
388
|
+
},
|
|
448
389
|
{
|
|
449
|
-
"
|
|
450
|
-
"name": ""
|
|
390
|
+
"kind": "method",
|
|
391
|
+
"name": "checkValidity",
|
|
392
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
451
393
|
},
|
|
452
394
|
{
|
|
453
|
-
"
|
|
454
|
-
"name": "
|
|
395
|
+
"kind": "method",
|
|
396
|
+
"name": "getForm",
|
|
397
|
+
"return": {
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "HTMLFormElement | null"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"description": "Gets the associated form, if one exists."
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "method",
|
|
406
|
+
"name": "reportValidity",
|
|
407
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"kind": "method",
|
|
411
|
+
"name": "setCustomValidity",
|
|
412
|
+
"parameters": [
|
|
413
|
+
{
|
|
414
|
+
"name": "message",
|
|
415
|
+
"type": {
|
|
416
|
+
"text": "string"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
455
421
|
}
|
|
456
422
|
],
|
|
457
|
-
"
|
|
423
|
+
"attributes": [
|
|
458
424
|
{
|
|
459
|
-
"
|
|
460
|
-
"name": "slider",
|
|
425
|
+
"name": "title",
|
|
461
426
|
"type": {
|
|
462
|
-
"text": "
|
|
463
|
-
}
|
|
427
|
+
"text": "string"
|
|
428
|
+
},
|
|
429
|
+
"default": "''",
|
|
430
|
+
"fieldName": "title"
|
|
464
431
|
},
|
|
465
432
|
{
|
|
466
|
-
"
|
|
467
|
-
"name": "timeScale",
|
|
433
|
+
"name": "variant",
|
|
468
434
|
"type": {
|
|
469
|
-
"text": "
|
|
435
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
|
|
470
436
|
},
|
|
471
|
-
"default": "'
|
|
472
|
-
"
|
|
437
|
+
"default": "'default'",
|
|
438
|
+
"description": "The button's theme variant.",
|
|
439
|
+
"fieldName": "variant"
|
|
473
440
|
},
|
|
474
441
|
{
|
|
475
|
-
"
|
|
476
|
-
"name": "minDate",
|
|
442
|
+
"name": "size",
|
|
477
443
|
"type": {
|
|
478
|
-
"text": "
|
|
444
|
+
"text": "'small' | 'medium' | 'large'"
|
|
479
445
|
},
|
|
480
|
-
"
|
|
446
|
+
"default": "'medium'",
|
|
447
|
+
"description": "The button's size.",
|
|
448
|
+
"fieldName": "size"
|
|
481
449
|
},
|
|
482
450
|
{
|
|
483
|
-
"
|
|
484
|
-
"name": "maxDate",
|
|
451
|
+
"name": "caret",
|
|
485
452
|
"type": {
|
|
486
|
-
"text": "
|
|
453
|
+
"text": "boolean"
|
|
487
454
|
},
|
|
488
|
-
"
|
|
455
|
+
"default": "false",
|
|
456
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
457
|
+
"fieldName": "caret"
|
|
489
458
|
},
|
|
490
459
|
{
|
|
491
|
-
"
|
|
492
|
-
"name": "startDate",
|
|
460
|
+
"name": "disabled",
|
|
493
461
|
"type": {
|
|
494
|
-
"text": "
|
|
462
|
+
"text": "boolean"
|
|
495
463
|
},
|
|
496
|
-
"
|
|
497
|
-
"
|
|
464
|
+
"default": "false",
|
|
465
|
+
"description": "Disables the button.",
|
|
466
|
+
"fieldName": "disabled"
|
|
498
467
|
},
|
|
499
468
|
{
|
|
500
|
-
"
|
|
501
|
-
"name": "endDate",
|
|
469
|
+
"name": "loading",
|
|
502
470
|
"type": {
|
|
503
|
-
"text": "
|
|
471
|
+
"text": "boolean"
|
|
504
472
|
},
|
|
505
|
-
"
|
|
473
|
+
"default": "false",
|
|
474
|
+
"description": "Draws the button in a loading state.",
|
|
475
|
+
"fieldName": "loading"
|
|
506
476
|
},
|
|
507
477
|
{
|
|
508
|
-
"
|
|
509
|
-
"name": "disabled",
|
|
478
|
+
"name": "outline",
|
|
510
479
|
"type": {
|
|
511
480
|
"text": "boolean"
|
|
512
481
|
},
|
|
513
482
|
"default": "false",
|
|
514
|
-
"
|
|
515
|
-
"
|
|
483
|
+
"description": "Draws an outlined button.",
|
|
484
|
+
"fieldName": "outline"
|
|
516
485
|
},
|
|
517
486
|
{
|
|
518
|
-
"
|
|
519
|
-
"name": "hasPips",
|
|
487
|
+
"name": "pill",
|
|
520
488
|
"type": {
|
|
521
489
|
"text": "boolean"
|
|
522
490
|
},
|
|
523
|
-
"default": "
|
|
524
|
-
"
|
|
525
|
-
"
|
|
491
|
+
"default": "false",
|
|
492
|
+
"description": "Draws a pill-style button with rounded edges.",
|
|
493
|
+
"fieldName": "pill"
|
|
526
494
|
},
|
|
527
495
|
{
|
|
528
|
-
"
|
|
529
|
-
"
|
|
496
|
+
"name": "circle",
|
|
497
|
+
"type": {
|
|
498
|
+
"text": "boolean"
|
|
499
|
+
},
|
|
500
|
+
"default": "false",
|
|
501
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<sl-icon>` in the\ndefault slot.",
|
|
502
|
+
"fieldName": "circle"
|
|
530
503
|
},
|
|
531
504
|
{
|
|
532
|
-
"
|
|
533
|
-
"
|
|
505
|
+
"name": "type",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
508
|
+
},
|
|
509
|
+
"default": "'button'",
|
|
510
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
511
|
+
"fieldName": "type"
|
|
534
512
|
},
|
|
535
513
|
{
|
|
536
|
-
"
|
|
537
|
-
"
|
|
514
|
+
"name": "name",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "string"
|
|
517
|
+
},
|
|
518
|
+
"default": "''",
|
|
519
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
520
|
+
"fieldName": "name"
|
|
538
521
|
},
|
|
539
522
|
{
|
|
540
|
-
"
|
|
541
|
-
"
|
|
523
|
+
"name": "value",
|
|
524
|
+
"type": {
|
|
525
|
+
"text": "string"
|
|
526
|
+
},
|
|
527
|
+
"default": "''",
|
|
528
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
529
|
+
"fieldName": "value"
|
|
542
530
|
},
|
|
543
531
|
{
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
|
|
532
|
+
"name": "href",
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "string"
|
|
535
|
+
},
|
|
536
|
+
"default": "''",
|
|
537
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
538
|
+
"fieldName": "href"
|
|
547
539
|
},
|
|
548
540
|
{
|
|
549
|
-
"
|
|
550
|
-
"
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
}
|
|
541
|
+
"name": "target",
|
|
542
|
+
"type": {
|
|
543
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
544
|
+
},
|
|
545
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
546
|
+
"fieldName": "target"
|
|
557
547
|
},
|
|
558
548
|
{
|
|
559
|
-
"
|
|
560
|
-
"
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
]
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"attributes": [
|
|
549
|
+
"name": "rel",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "string"
|
|
552
|
+
},
|
|
553
|
+
"default": "'noreferrer noopener'",
|
|
554
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
555
|
+
"fieldName": "rel"
|
|
556
|
+
},
|
|
573
557
|
{
|
|
574
|
-
"name": "
|
|
558
|
+
"name": "download",
|
|
575
559
|
"type": {
|
|
576
|
-
"text": "
|
|
560
|
+
"text": "string | undefined"
|
|
577
561
|
},
|
|
578
|
-
"
|
|
579
|
-
"fieldName": "
|
|
562
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
563
|
+
"fieldName": "download"
|
|
580
564
|
},
|
|
581
565
|
{
|
|
582
|
-
"name": "
|
|
566
|
+
"name": "form",
|
|
583
567
|
"type": {
|
|
584
568
|
"text": "string"
|
|
585
569
|
},
|
|
586
|
-
"
|
|
570
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
571
|
+
"fieldName": "form"
|
|
587
572
|
},
|
|
588
573
|
{
|
|
589
|
-
"name": "
|
|
574
|
+
"name": "formaction",
|
|
590
575
|
"type": {
|
|
591
576
|
"text": "string"
|
|
592
577
|
},
|
|
593
|
-
"
|
|
578
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
579
|
+
"fieldName": "formAction"
|
|
594
580
|
},
|
|
595
581
|
{
|
|
596
|
-
"name": "
|
|
582
|
+
"name": "formenctype",
|
|
597
583
|
"type": {
|
|
598
|
-
"text": "
|
|
584
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
599
585
|
},
|
|
600
|
-
"description": "
|
|
601
|
-
"fieldName": "
|
|
586
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
587
|
+
"fieldName": "formEnctype"
|
|
602
588
|
},
|
|
603
589
|
{
|
|
604
|
-
"name": "
|
|
590
|
+
"name": "formmethod",
|
|
605
591
|
"type": {
|
|
606
|
-
"text": "
|
|
592
|
+
"text": "'post' | 'get'"
|
|
607
593
|
},
|
|
608
|
-
"
|
|
594
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
595
|
+
"fieldName": "formMethod"
|
|
609
596
|
},
|
|
610
597
|
{
|
|
611
|
-
"name": "
|
|
598
|
+
"name": "formnovalidate",
|
|
612
599
|
"type": {
|
|
613
600
|
"text": "boolean"
|
|
614
601
|
},
|
|
615
|
-
"
|
|
616
|
-
"fieldName": "
|
|
602
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
603
|
+
"fieldName": "formNoValidate"
|
|
617
604
|
},
|
|
618
605
|
{
|
|
619
|
-
"name": "
|
|
606
|
+
"name": "formtarget",
|
|
620
607
|
"type": {
|
|
621
|
-
"text": "
|
|
608
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
622
609
|
},
|
|
623
|
-
"
|
|
624
|
-
"fieldName": "
|
|
610
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
611
|
+
"fieldName": "formTarget"
|
|
625
612
|
}
|
|
626
613
|
],
|
|
627
614
|
"superclass": {
|
|
628
615
|
"name": "TerraElement",
|
|
629
616
|
"module": "/src/internal/terra-element.js"
|
|
630
617
|
},
|
|
631
|
-
"summary": "
|
|
632
|
-
"tagNameWithoutPrefix": "
|
|
633
|
-
"tagName": "terra-
|
|
618
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
619
|
+
"tagNameWithoutPrefix": "button",
|
|
620
|
+
"tagName": "terra-button",
|
|
634
621
|
"customElement": true,
|
|
635
|
-
"jsDoc": "/**\n * @summary
|
|
636
|
-
"documentation": "https://
|
|
637
|
-
"status": "
|
|
638
|
-
"since": "
|
|
622
|
+
"jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://shoelace.style/components/button\n * @status stable\n * @since 2.0\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<sl-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
|
|
623
|
+
"documentation": "https://shoelace.style/components/button",
|
|
624
|
+
"status": "stable",
|
|
625
|
+
"since": "2.0"
|
|
639
626
|
}
|
|
640
627
|
],
|
|
641
628
|
"exports": [
|
|
@@ -643,119 +630,27 @@
|
|
|
643
630
|
"kind": "js",
|
|
644
631
|
"name": "default",
|
|
645
632
|
"declaration": {
|
|
646
|
-
"name": "
|
|
647
|
-
"module": "components/
|
|
633
|
+
"name": "TerraButton",
|
|
634
|
+
"module": "components/button/button.js"
|
|
648
635
|
}
|
|
649
636
|
}
|
|
650
637
|
]
|
|
651
638
|
},
|
|
652
639
|
{
|
|
653
640
|
"kind": "javascript-module",
|
|
654
|
-
"path": "components/
|
|
641
|
+
"path": "components/chip/chip.js",
|
|
655
642
|
"declarations": [
|
|
656
643
|
{
|
|
657
644
|
"kind": "class",
|
|
658
645
|
"description": "",
|
|
659
|
-
"name": "
|
|
660
|
-
"cssParts": [
|
|
661
|
-
{
|
|
662
|
-
"description": "The component's base wrapper.",
|
|
663
|
-
"name": "base"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
"description": "The container that wraps the prefix.",
|
|
667
|
-
"name": "prefix"
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"description": "The button's label.",
|
|
671
|
-
"name": "label"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"description": "The container that wraps the suffix.",
|
|
675
|
-
"name": "suffix"
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
679
|
-
"name": "caret"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"description": "The spinner that shows when the button is in the loading state.",
|
|
683
|
-
"name": "spinner"
|
|
684
|
-
}
|
|
685
|
-
],
|
|
646
|
+
"name": "TerraChip",
|
|
686
647
|
"slots": [
|
|
687
648
|
{
|
|
688
|
-
"description": "The
|
|
649
|
+
"description": "The chip's label.",
|
|
689
650
|
"name": ""
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
"description": "A presentational prefix icon or similar element.",
|
|
693
|
-
"name": "prefix"
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"description": "A presentational suffix icon or similar element.",
|
|
697
|
-
"name": "suffix"
|
|
698
651
|
}
|
|
699
652
|
],
|
|
700
653
|
"members": [
|
|
701
|
-
{
|
|
702
|
-
"kind": "field",
|
|
703
|
-
"name": "formControlController",
|
|
704
|
-
"privacy": "private",
|
|
705
|
-
"readonly": true,
|
|
706
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"kind": "field",
|
|
710
|
-
"name": "hasSlotController",
|
|
711
|
-
"privacy": "private",
|
|
712
|
-
"readonly": true,
|
|
713
|
-
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
"kind": "field",
|
|
717
|
-
"name": "button",
|
|
718
|
-
"type": {
|
|
719
|
-
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"kind": "field",
|
|
724
|
-
"name": "hasFocus",
|
|
725
|
-
"type": {
|
|
726
|
-
"text": "boolean"
|
|
727
|
-
},
|
|
728
|
-
"privacy": "private",
|
|
729
|
-
"default": "false"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"kind": "field",
|
|
733
|
-
"name": "invalid",
|
|
734
|
-
"type": {
|
|
735
|
-
"text": "boolean"
|
|
736
|
-
},
|
|
737
|
-
"default": "false"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"kind": "field",
|
|
741
|
-
"name": "title",
|
|
742
|
-
"type": {
|
|
743
|
-
"text": "string"
|
|
744
|
-
},
|
|
745
|
-
"default": "''",
|
|
746
|
-
"attribute": "title"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"kind": "field",
|
|
750
|
-
"name": "variant",
|
|
751
|
-
"type": {
|
|
752
|
-
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'\n | 'text'"
|
|
753
|
-
},
|
|
754
|
-
"default": "'default'",
|
|
755
|
-
"description": "The button's theme variant.",
|
|
756
|
-
"attribute": "variant",
|
|
757
|
-
"reflects": true
|
|
758
|
-
},
|
|
759
654
|
{
|
|
760
655
|
"kind": "field",
|
|
761
656
|
"name": "size",
|
|
@@ -763,513 +658,618 @@
|
|
|
763
658
|
"text": "'small' | 'medium' | 'large'"
|
|
764
659
|
},
|
|
765
660
|
"default": "'medium'",
|
|
766
|
-
"description": "The button's size.",
|
|
767
661
|
"attribute": "size",
|
|
768
662
|
"reflects": true
|
|
769
663
|
},
|
|
770
664
|
{
|
|
771
665
|
"kind": "field",
|
|
772
|
-
"name": "
|
|
666
|
+
"name": "#handleRemoveClick",
|
|
667
|
+
"privacy": "private"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"attributes": [
|
|
671
|
+
{
|
|
672
|
+
"name": "size",
|
|
773
673
|
"type": {
|
|
774
|
-
"text": "
|
|
674
|
+
"text": "'small' | 'medium' | 'large'"
|
|
775
675
|
},
|
|
776
|
-
"default": "
|
|
777
|
-
"
|
|
778
|
-
|
|
779
|
-
|
|
676
|
+
"default": "'medium'",
|
|
677
|
+
"fieldName": "size"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"superclass": {
|
|
681
|
+
"name": "TerraElement",
|
|
682
|
+
"module": "/src/internal/terra-element.js"
|
|
683
|
+
},
|
|
684
|
+
"summary": "Used for contacts and tags",
|
|
685
|
+
"tagNameWithoutPrefix": "chip",
|
|
686
|
+
"tagName": "terra-chip",
|
|
687
|
+
"customElement": true,
|
|
688
|
+
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
689
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
690
|
+
"status": "stable",
|
|
691
|
+
"since": "1.0"
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"exports": [
|
|
695
|
+
{
|
|
696
|
+
"kind": "js",
|
|
697
|
+
"name": "default",
|
|
698
|
+
"declaration": {
|
|
699
|
+
"name": "TerraChip",
|
|
700
|
+
"module": "components/chip/chip.js"
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"kind": "javascript-module",
|
|
707
|
+
"path": "components/combobox/combobox.js",
|
|
708
|
+
"declarations": [
|
|
709
|
+
{
|
|
710
|
+
"kind": "class",
|
|
711
|
+
"description": "",
|
|
712
|
+
"name": "TerraCombobox",
|
|
713
|
+
"cssProperties": [
|
|
714
|
+
{
|
|
715
|
+
"description": "The height of the host element.",
|
|
716
|
+
"name": "--host-height"
|
|
780
717
|
},
|
|
781
718
|
{
|
|
782
|
-
"
|
|
783
|
-
"name": "
|
|
784
|
-
"type": {
|
|
785
|
-
"text": "boolean"
|
|
786
|
-
},
|
|
787
|
-
"default": "false",
|
|
788
|
-
"description": "Disables the button.",
|
|
789
|
-
"attribute": "disabled",
|
|
790
|
-
"reflects": true
|
|
719
|
+
"description": "The height of the search help element.",
|
|
720
|
+
"name": "--help-height"
|
|
791
721
|
},
|
|
792
722
|
{
|
|
793
|
-
"
|
|
794
|
-
"name": "
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
"default": "false",
|
|
799
|
-
"description": "Draws the button in a loading state.",
|
|
800
|
-
"attribute": "loading",
|
|
801
|
-
"reflects": true
|
|
802
|
-
},
|
|
723
|
+
"description": "The height of the input's label element.",
|
|
724
|
+
"name": "--label-height"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"cssParts": [
|
|
803
728
|
{
|
|
804
|
-
"
|
|
805
|
-
"name": "
|
|
806
|
-
"type": {
|
|
807
|
-
"text": "boolean"
|
|
808
|
-
},
|
|
809
|
-
"default": "false",
|
|
810
|
-
"description": "Draws an outlined button.",
|
|
811
|
-
"attribute": "outline",
|
|
812
|
-
"reflects": true
|
|
729
|
+
"description": "A `search` element, the component's base.",
|
|
730
|
+
"name": "base"
|
|
813
731
|
},
|
|
814
732
|
{
|
|
815
|
-
"
|
|
816
|
-
"name": "
|
|
817
|
-
"type": {
|
|
818
|
-
"text": "boolean"
|
|
819
|
-
},
|
|
820
|
-
"default": "false",
|
|
821
|
-
"description": "Draws a pill-style button with rounded edges.",
|
|
822
|
-
"attribute": "pill",
|
|
823
|
-
"reflects": true
|
|
733
|
+
"description": "An `input` element used for searching.",
|
|
734
|
+
"name": "combobox"
|
|
824
735
|
},
|
|
825
736
|
{
|
|
826
|
-
"
|
|
827
|
-
"name": "
|
|
828
|
-
"type": {
|
|
829
|
-
"text": "boolean"
|
|
830
|
-
},
|
|
831
|
-
"default": "false",
|
|
832
|
-
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<sl-icon>` in the\ndefault slot.",
|
|
833
|
-
"attribute": "circle",
|
|
834
|
-
"reflects": true
|
|
737
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
738
|
+
"name": "button"
|
|
835
739
|
},
|
|
740
|
+
{
|
|
741
|
+
"description": "A `ul` that holds the clickable options.",
|
|
742
|
+
"name": "listbox"
|
|
743
|
+
}
|
|
744
|
+
],
|
|
745
|
+
"members": [
|
|
836
746
|
{
|
|
837
747
|
"kind": "field",
|
|
838
|
-
"name": "
|
|
748
|
+
"name": "shadowRootOptions",
|
|
839
749
|
"type": {
|
|
840
|
-
"text": "
|
|
750
|
+
"text": "object"
|
|
841
751
|
},
|
|
842
|
-
"
|
|
843
|
-
"
|
|
844
|
-
"attribute": "type"
|
|
752
|
+
"static": true,
|
|
753
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
845
754
|
},
|
|
846
755
|
{
|
|
847
756
|
"kind": "field",
|
|
848
|
-
"name": "
|
|
757
|
+
"name": "tagName",
|
|
849
758
|
"type": {
|
|
850
759
|
"text": "string"
|
|
851
760
|
},
|
|
852
|
-
"
|
|
853
|
-
"
|
|
854
|
-
"attribute": "name"
|
|
761
|
+
"static": true,
|
|
762
|
+
"default": "'terra-combobox'"
|
|
855
763
|
},
|
|
856
764
|
{
|
|
857
765
|
"kind": "field",
|
|
858
|
-
"name": "
|
|
766
|
+
"name": "initialQuery",
|
|
859
767
|
"type": {
|
|
860
768
|
"text": "string"
|
|
861
769
|
},
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"attribute": "value"
|
|
770
|
+
"static": true,
|
|
771
|
+
"default": "''"
|
|
865
772
|
},
|
|
866
773
|
{
|
|
867
774
|
"kind": "field",
|
|
868
|
-
"name": "
|
|
775
|
+
"name": "#combobox",
|
|
776
|
+
"privacy": "private",
|
|
869
777
|
"type": {
|
|
870
|
-
"text": "
|
|
778
|
+
"text": "HTMLInputElement | null"
|
|
871
779
|
},
|
|
872
|
-
"default": "
|
|
873
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
874
|
-
"attribute": "href"
|
|
780
|
+
"default": "null"
|
|
875
781
|
},
|
|
876
782
|
{
|
|
877
783
|
"kind": "field",
|
|
878
|
-
"name": "
|
|
784
|
+
"name": "#listbox",
|
|
785
|
+
"privacy": "private",
|
|
879
786
|
"type": {
|
|
880
|
-
"text": "
|
|
787
|
+
"text": "HTMLUListElement | null"
|
|
881
788
|
},
|
|
882
|
-
"
|
|
883
|
-
"attribute": "target"
|
|
789
|
+
"default": "null"
|
|
884
790
|
},
|
|
885
791
|
{
|
|
886
792
|
"kind": "field",
|
|
887
|
-
"name": "
|
|
793
|
+
"name": "#searchEngine",
|
|
794
|
+
"privacy": "private",
|
|
888
795
|
"type": {
|
|
889
|
-
"text": "
|
|
796
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
890
797
|
},
|
|
891
|
-
"default": "
|
|
892
|
-
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
893
|
-
"attribute": "rel"
|
|
798
|
+
"default": "null"
|
|
894
799
|
},
|
|
895
800
|
{
|
|
896
801
|
"kind": "field",
|
|
897
|
-
"name": "
|
|
802
|
+
"name": "#walker",
|
|
803
|
+
"privacy": "private",
|
|
898
804
|
"type": {
|
|
899
|
-
"text": "
|
|
805
|
+
"text": "TreeWalker | null"
|
|
900
806
|
},
|
|
901
|
-
"
|
|
902
|
-
"attribute": "download"
|
|
807
|
+
"default": "null"
|
|
903
808
|
},
|
|
904
809
|
{
|
|
905
810
|
"kind": "field",
|
|
906
|
-
"name": "
|
|
811
|
+
"name": "label",
|
|
907
812
|
"type": {
|
|
908
813
|
"text": "string"
|
|
909
814
|
},
|
|
910
|
-
"
|
|
911
|
-
"
|
|
815
|
+
"default": "'Search for Items'",
|
|
816
|
+
"description": "Label the combobox with this.",
|
|
817
|
+
"attribute": "label"
|
|
912
818
|
},
|
|
913
819
|
{
|
|
914
820
|
"kind": "field",
|
|
915
|
-
"name": "
|
|
821
|
+
"name": "name",
|
|
916
822
|
"type": {
|
|
917
823
|
"text": "string"
|
|
918
824
|
},
|
|
919
|
-
"
|
|
920
|
-
"
|
|
825
|
+
"default": "'Item'",
|
|
826
|
+
"description": "name the combobox with this.",
|
|
827
|
+
"attribute": "name"
|
|
921
828
|
},
|
|
922
829
|
{
|
|
923
830
|
"kind": "field",
|
|
924
|
-
"name": "
|
|
831
|
+
"name": "placeholder",
|
|
925
832
|
"type": {
|
|
926
|
-
"text": "
|
|
833
|
+
"text": "string"
|
|
927
834
|
},
|
|
928
|
-
"description": "
|
|
929
|
-
"attribute": "
|
|
835
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
836
|
+
"attribute": "placeholder"
|
|
930
837
|
},
|
|
931
838
|
{
|
|
932
839
|
"kind": "field",
|
|
933
|
-
"name": "
|
|
840
|
+
"name": "hideHelp",
|
|
934
841
|
"type": {
|
|
935
|
-
"text": "
|
|
842
|
+
"text": "boolean"
|
|
936
843
|
},
|
|
937
|
-
"
|
|
938
|
-
"
|
|
844
|
+
"default": "false",
|
|
845
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
846
|
+
"attribute": "hide-help"
|
|
939
847
|
},
|
|
940
848
|
{
|
|
941
849
|
"kind": "field",
|
|
942
|
-
"name": "
|
|
850
|
+
"name": "hideLabel",
|
|
943
851
|
"type": {
|
|
944
852
|
"text": "boolean"
|
|
945
853
|
},
|
|
946
|
-
"
|
|
947
|
-
"
|
|
854
|
+
"default": "false",
|
|
855
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
856
|
+
"attribute": "hide-label"
|
|
948
857
|
},
|
|
949
858
|
{
|
|
950
859
|
"kind": "field",
|
|
951
|
-
"name": "
|
|
860
|
+
"name": "status",
|
|
952
861
|
"type": {
|
|
953
|
-
"text": "
|
|
862
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
954
863
|
},
|
|
955
|
-
"
|
|
956
|
-
"
|
|
864
|
+
"default": "'INITIAL'",
|
|
865
|
+
"description": "status of the content",
|
|
866
|
+
"attribute": "status"
|
|
957
867
|
},
|
|
958
868
|
{
|
|
959
869
|
"kind": "field",
|
|
960
|
-
"name": "
|
|
961
|
-
"
|
|
962
|
-
|
|
870
|
+
"name": "content",
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "Content"
|
|
873
|
+
},
|
|
874
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
875
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
876
|
+
"attribute": "content"
|
|
963
877
|
},
|
|
964
878
|
{
|
|
965
879
|
"kind": "field",
|
|
966
|
-
"name": "
|
|
967
|
-
"
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
"kind": "method",
|
|
972
|
-
"name": "handleBlur",
|
|
973
|
-
"privacy": "private"
|
|
880
|
+
"name": "isExpanded",
|
|
881
|
+
"type": {
|
|
882
|
+
"text": "boolean"
|
|
883
|
+
},
|
|
884
|
+
"default": "false"
|
|
974
885
|
},
|
|
975
886
|
{
|
|
976
|
-
"kind": "
|
|
977
|
-
"name": "
|
|
978
|
-
"privacy": "private"
|
|
887
|
+
"kind": "field",
|
|
888
|
+
"name": "query"
|
|
979
889
|
},
|
|
980
890
|
{
|
|
981
|
-
"kind": "
|
|
982
|
-
"name": "
|
|
983
|
-
"
|
|
891
|
+
"kind": "field",
|
|
892
|
+
"name": "searchResults",
|
|
893
|
+
"type": {
|
|
894
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
895
|
+
},
|
|
896
|
+
"default": "[]"
|
|
984
897
|
},
|
|
985
898
|
{
|
|
986
899
|
"kind": "method",
|
|
987
|
-
"name": "
|
|
988
|
-
"privacy": "private",
|
|
900
|
+
"name": "contentChanged",
|
|
989
901
|
"parameters": [
|
|
990
902
|
{
|
|
991
|
-
"name": "
|
|
903
|
+
"name": "_oldValue",
|
|
992
904
|
"type": {
|
|
993
|
-
"text": "
|
|
905
|
+
"text": "any"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "newValue",
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "any"
|
|
994
912
|
}
|
|
995
913
|
}
|
|
996
914
|
]
|
|
997
915
|
},
|
|
998
916
|
{
|
|
999
|
-
"kind": "
|
|
1000
|
-
"name": "
|
|
917
|
+
"kind": "field",
|
|
918
|
+
"name": "#renderListItem",
|
|
1001
919
|
"privacy": "private"
|
|
1002
920
|
},
|
|
1003
921
|
{
|
|
1004
|
-
"kind": "
|
|
1005
|
-
"name": "
|
|
922
|
+
"kind": "field",
|
|
923
|
+
"name": "#renderGroupListItem",
|
|
1006
924
|
"privacy": "private"
|
|
1007
925
|
},
|
|
1008
926
|
{
|
|
1009
|
-
"kind": "
|
|
1010
|
-
"name": "
|
|
927
|
+
"kind": "field",
|
|
928
|
+
"name": "#renderError",
|
|
929
|
+
"privacy": "private"
|
|
1011
930
|
},
|
|
1012
931
|
{
|
|
1013
|
-
"kind": "
|
|
1014
|
-
"name": "
|
|
1015
|
-
"
|
|
932
|
+
"kind": "field",
|
|
933
|
+
"name": "#renderLoading",
|
|
934
|
+
"privacy": "private"
|
|
1016
935
|
},
|
|
1017
936
|
{
|
|
1018
|
-
"kind": "
|
|
1019
|
-
"name": "
|
|
1020
|
-
"
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
],
|
|
1029
|
-
"description": "Sets focus on the button."
|
|
937
|
+
"kind": "field",
|
|
938
|
+
"name": "#dispatchChange",
|
|
939
|
+
"privacy": "private"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"kind": "field",
|
|
943
|
+
"name": "#handleButtonClick",
|
|
944
|
+
"privacy": "private"
|
|
1030
945
|
},
|
|
1031
946
|
{
|
|
1032
|
-
"kind": "
|
|
1033
|
-
"name": "
|
|
1034
|
-
"
|
|
947
|
+
"kind": "field",
|
|
948
|
+
"name": "#handleComboboxChange",
|
|
949
|
+
"privacy": "private"
|
|
1035
950
|
},
|
|
1036
951
|
{
|
|
1037
|
-
"kind": "
|
|
1038
|
-
"name": "
|
|
1039
|
-
"
|
|
952
|
+
"kind": "field",
|
|
953
|
+
"name": "#handleOptionClick",
|
|
954
|
+
"privacy": "private"
|
|
1040
955
|
},
|
|
1041
956
|
{
|
|
1042
|
-
"kind": "
|
|
1043
|
-
"name": "
|
|
1044
|
-
"
|
|
1045
|
-
"type": {
|
|
1046
|
-
"text": "HTMLFormElement | null"
|
|
1047
|
-
}
|
|
1048
|
-
},
|
|
1049
|
-
"description": "Gets the associated form, if one exists."
|
|
957
|
+
"kind": "field",
|
|
958
|
+
"name": "#handleKeydown",
|
|
959
|
+
"privacy": "private"
|
|
1050
960
|
},
|
|
1051
961
|
{
|
|
1052
|
-
"kind": "
|
|
1053
|
-
"name": "
|
|
1054
|
-
"
|
|
962
|
+
"kind": "field",
|
|
963
|
+
"name": "#manageListboxVisibility",
|
|
964
|
+
"privacy": "private"
|
|
1055
965
|
},
|
|
1056
966
|
{
|
|
1057
|
-
"kind": "
|
|
1058
|
-
"name": "
|
|
1059
|
-
"
|
|
1060
|
-
{
|
|
1061
|
-
"name": "message",
|
|
1062
|
-
"type": {
|
|
1063
|
-
"text": "string"
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
],
|
|
1067
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
967
|
+
"kind": "field",
|
|
968
|
+
"name": "#selectOption",
|
|
969
|
+
"privacy": "private"
|
|
1068
970
|
}
|
|
1069
971
|
],
|
|
1070
972
|
"attributes": [
|
|
1071
973
|
{
|
|
1072
|
-
"name": "
|
|
974
|
+
"name": "label",
|
|
1073
975
|
"type": {
|
|
1074
976
|
"text": "string"
|
|
1075
977
|
},
|
|
1076
|
-
"default": "''",
|
|
1077
|
-
"
|
|
978
|
+
"default": "'Search for Items'",
|
|
979
|
+
"description": "Label the combobox with this.",
|
|
980
|
+
"fieldName": "label"
|
|
1078
981
|
},
|
|
1079
982
|
{
|
|
1080
|
-
"name": "
|
|
983
|
+
"name": "name",
|
|
1081
984
|
"type": {
|
|
1082
|
-
"text": "
|
|
985
|
+
"text": "string"
|
|
1083
986
|
},
|
|
1084
|
-
"default": "'
|
|
1085
|
-
"description": "
|
|
1086
|
-
"fieldName": "
|
|
987
|
+
"default": "'Item'",
|
|
988
|
+
"description": "name the combobox with this.",
|
|
989
|
+
"fieldName": "name"
|
|
1087
990
|
},
|
|
1088
991
|
{
|
|
1089
|
-
"name": "
|
|
992
|
+
"name": "placeholder",
|
|
1090
993
|
"type": {
|
|
1091
|
-
"text": "
|
|
994
|
+
"text": "string"
|
|
1092
995
|
},
|
|
1093
|
-
"
|
|
1094
|
-
"
|
|
1095
|
-
"fieldName": "size"
|
|
996
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
997
|
+
"fieldName": "placeholder"
|
|
1096
998
|
},
|
|
1097
999
|
{
|
|
1098
|
-
"name": "
|
|
1000
|
+
"name": "hide-help",
|
|
1099
1001
|
"type": {
|
|
1100
1002
|
"text": "boolean"
|
|
1101
1003
|
},
|
|
1102
1004
|
"default": "false",
|
|
1103
|
-
"description": "
|
|
1104
|
-
"fieldName": "
|
|
1005
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1006
|
+
"fieldName": "hideHelp"
|
|
1105
1007
|
},
|
|
1106
1008
|
{
|
|
1107
|
-
"name": "
|
|
1009
|
+
"name": "hide-label",
|
|
1108
1010
|
"type": {
|
|
1109
1011
|
"text": "boolean"
|
|
1110
1012
|
},
|
|
1111
1013
|
"default": "false",
|
|
1112
|
-
"description": "
|
|
1113
|
-
"fieldName": "
|
|
1014
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1015
|
+
"fieldName": "hideLabel"
|
|
1114
1016
|
},
|
|
1115
1017
|
{
|
|
1116
|
-
"name": "
|
|
1018
|
+
"name": "status",
|
|
1117
1019
|
"type": {
|
|
1118
|
-
"text": "
|
|
1020
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1119
1021
|
},
|
|
1120
|
-
"default": "
|
|
1121
|
-
"description": "
|
|
1122
|
-
"fieldName": "
|
|
1022
|
+
"default": "'INITIAL'",
|
|
1023
|
+
"description": "status of the content",
|
|
1024
|
+
"fieldName": "status"
|
|
1123
1025
|
},
|
|
1124
1026
|
{
|
|
1125
|
-
"name": "
|
|
1027
|
+
"name": "content",
|
|
1126
1028
|
"type": {
|
|
1127
|
-
"text": "
|
|
1029
|
+
"text": "Content"
|
|
1128
1030
|
},
|
|
1129
|
-
"default": "
|
|
1130
|
-
"description": "
|
|
1131
|
-
"fieldName": "
|
|
1031
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1032
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1033
|
+
"fieldName": "content"
|
|
1034
|
+
}
|
|
1035
|
+
],
|
|
1036
|
+
"superclass": {
|
|
1037
|
+
"name": "TerraElement",
|
|
1038
|
+
"module": "/src/internal/terra-element.js"
|
|
1039
|
+
},
|
|
1040
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1041
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1042
|
+
"tagName": "terra-combobox",
|
|
1043
|
+
"customElement": true,
|
|
1044
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n */",
|
|
1045
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1046
|
+
"status": "experimental",
|
|
1047
|
+
"since": "1.0"
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"exports": [
|
|
1051
|
+
{
|
|
1052
|
+
"kind": "js",
|
|
1053
|
+
"name": "default",
|
|
1054
|
+
"declaration": {
|
|
1055
|
+
"name": "TerraCombobox",
|
|
1056
|
+
"module": "components/combobox/combobox.js"
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"kind": "javascript-module",
|
|
1063
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1064
|
+
"declarations": [
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "class",
|
|
1067
|
+
"description": "",
|
|
1068
|
+
"name": "TerraDateRangeSlider",
|
|
1069
|
+
"cssProperties": [
|
|
1070
|
+
{
|
|
1071
|
+
"description": "An example CSS custom property.",
|
|
1072
|
+
"name": "--example"
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
"cssParts": [
|
|
1076
|
+
{
|
|
1077
|
+
"description": "The component's base wrapper.",
|
|
1078
|
+
"name": "base"
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"slots": [
|
|
1082
|
+
{
|
|
1083
|
+
"description": "The default slot.",
|
|
1084
|
+
"name": ""
|
|
1132
1085
|
},
|
|
1133
1086
|
{
|
|
1134
|
-
"
|
|
1087
|
+
"description": "An example slot.",
|
|
1088
|
+
"name": "example"
|
|
1089
|
+
}
|
|
1090
|
+
],
|
|
1091
|
+
"members": [
|
|
1092
|
+
{
|
|
1093
|
+
"kind": "field",
|
|
1094
|
+
"name": "slider",
|
|
1135
1095
|
"type": {
|
|
1136
|
-
"text": "
|
|
1137
|
-
}
|
|
1138
|
-
"default": "false",
|
|
1139
|
-
"description": "Draws a pill-style button with rounded edges.",
|
|
1140
|
-
"fieldName": "pill"
|
|
1096
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1097
|
+
}
|
|
1141
1098
|
},
|
|
1142
1099
|
{
|
|
1143
|
-
"
|
|
1100
|
+
"kind": "field",
|
|
1101
|
+
"name": "timeScale",
|
|
1144
1102
|
"type": {
|
|
1145
|
-
"text": "
|
|
1103
|
+
"text": "TimeScale"
|
|
1146
1104
|
},
|
|
1147
|
-
"default": "
|
|
1148
|
-
"
|
|
1149
|
-
"fieldName": "circle"
|
|
1105
|
+
"default": "'daily'",
|
|
1106
|
+
"attribute": "time-scale"
|
|
1150
1107
|
},
|
|
1151
1108
|
{
|
|
1152
|
-
"
|
|
1109
|
+
"kind": "field",
|
|
1110
|
+
"name": "minDate",
|
|
1153
1111
|
"type": {
|
|
1154
|
-
"text": "
|
|
1112
|
+
"text": "string"
|
|
1155
1113
|
},
|
|
1156
|
-
"
|
|
1157
|
-
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
1158
|
-
"fieldName": "type"
|
|
1114
|
+
"attribute": "min-date"
|
|
1159
1115
|
},
|
|
1160
1116
|
{
|
|
1161
|
-
"
|
|
1117
|
+
"kind": "field",
|
|
1118
|
+
"name": "maxDate",
|
|
1162
1119
|
"type": {
|
|
1163
1120
|
"text": "string"
|
|
1164
1121
|
},
|
|
1165
|
-
"
|
|
1166
|
-
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
1167
|
-
"fieldName": "name"
|
|
1122
|
+
"attribute": "max-date"
|
|
1168
1123
|
},
|
|
1169
1124
|
{
|
|
1170
|
-
"
|
|
1125
|
+
"kind": "field",
|
|
1126
|
+
"name": "startDate",
|
|
1171
1127
|
"type": {
|
|
1172
1128
|
"text": "string"
|
|
1173
1129
|
},
|
|
1174
|
-
"
|
|
1175
|
-
"
|
|
1176
|
-
"fieldName": "value"
|
|
1130
|
+
"description": "The start date for the time series plot.",
|
|
1131
|
+
"attribute": "start-date"
|
|
1177
1132
|
},
|
|
1178
1133
|
{
|
|
1179
|
-
"
|
|
1134
|
+
"kind": "field",
|
|
1135
|
+
"name": "endDate",
|
|
1180
1136
|
"type": {
|
|
1181
1137
|
"text": "string"
|
|
1182
1138
|
},
|
|
1183
|
-
"
|
|
1184
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1185
|
-
"fieldName": "href"
|
|
1139
|
+
"attribute": "end-date"
|
|
1186
1140
|
},
|
|
1187
1141
|
{
|
|
1188
|
-
"
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "disabled",
|
|
1189
1144
|
"type": {
|
|
1190
|
-
"text": "
|
|
1145
|
+
"text": "boolean"
|
|
1191
1146
|
},
|
|
1192
|
-
"
|
|
1193
|
-
"
|
|
1147
|
+
"default": "false",
|
|
1148
|
+
"attribute": "disabled",
|
|
1149
|
+
"reflects": true
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "field",
|
|
1153
|
+
"name": "hasPips",
|
|
1154
|
+
"type": {
|
|
1155
|
+
"text": "boolean"
|
|
1156
|
+
},
|
|
1157
|
+
"default": "true",
|
|
1158
|
+
"attribute": "has-pips",
|
|
1159
|
+
"reflects": true
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"kind": "method",
|
|
1163
|
+
"name": "updateSlider"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"kind": "method",
|
|
1167
|
+
"name": "disabledChanged"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"kind": "method",
|
|
1171
|
+
"name": "renderSlider"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"kind": "method",
|
|
1175
|
+
"name": "renderEmptySlider"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"kind": "method",
|
|
1179
|
+
"name": "_getStep",
|
|
1180
|
+
"privacy": "private"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "method",
|
|
1184
|
+
"name": "_getSliderFormatter",
|
|
1185
|
+
"privacy": "private",
|
|
1186
|
+
"return": {
|
|
1187
|
+
"type": {
|
|
1188
|
+
"text": "Formatter"
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1194
1191
|
},
|
|
1195
1192
|
{
|
|
1196
|
-
"
|
|
1197
|
-
"
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1193
|
+
"kind": "method",
|
|
1194
|
+
"name": "_formatDate",
|
|
1195
|
+
"privacy": "private",
|
|
1196
|
+
"parameters": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "date",
|
|
1199
|
+
"type": {
|
|
1200
|
+
"text": "string | number | Date"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
}
|
|
1205
|
+
],
|
|
1206
|
+
"attributes": [
|
|
1204
1207
|
{
|
|
1205
|
-
"name": "
|
|
1208
|
+
"name": "time-scale",
|
|
1206
1209
|
"type": {
|
|
1207
|
-
"text": "
|
|
1210
|
+
"text": "TimeScale"
|
|
1208
1211
|
},
|
|
1209
|
-
"
|
|
1210
|
-
"fieldName": "
|
|
1212
|
+
"default": "'daily'",
|
|
1213
|
+
"fieldName": "timeScale"
|
|
1211
1214
|
},
|
|
1212
1215
|
{
|
|
1213
|
-
"name": "
|
|
1216
|
+
"name": "min-date",
|
|
1214
1217
|
"type": {
|
|
1215
1218
|
"text": "string"
|
|
1216
1219
|
},
|
|
1217
|
-
"
|
|
1218
|
-
"fieldName": "form"
|
|
1220
|
+
"fieldName": "minDate"
|
|
1219
1221
|
},
|
|
1220
1222
|
{
|
|
1221
|
-
"name": "
|
|
1223
|
+
"name": "max-date",
|
|
1222
1224
|
"type": {
|
|
1223
1225
|
"text": "string"
|
|
1224
1226
|
},
|
|
1225
|
-
"
|
|
1226
|
-
"fieldName": "formAction"
|
|
1227
|
+
"fieldName": "maxDate"
|
|
1227
1228
|
},
|
|
1228
1229
|
{
|
|
1229
|
-
"name": "
|
|
1230
|
+
"name": "start-date",
|
|
1230
1231
|
"type": {
|
|
1231
|
-
"text": "
|
|
1232
|
+
"text": "string"
|
|
1232
1233
|
},
|
|
1233
|
-
"description": "
|
|
1234
|
-
"fieldName": "
|
|
1234
|
+
"description": "The start date for the time series plot.",
|
|
1235
|
+
"fieldName": "startDate"
|
|
1235
1236
|
},
|
|
1236
1237
|
{
|
|
1237
|
-
"name": "
|
|
1238
|
+
"name": "end-date",
|
|
1238
1239
|
"type": {
|
|
1239
|
-
"text": "
|
|
1240
|
+
"text": "string"
|
|
1240
1241
|
},
|
|
1241
|
-
"
|
|
1242
|
-
"fieldName": "formMethod"
|
|
1242
|
+
"fieldName": "endDate"
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
|
-
"name": "
|
|
1245
|
+
"name": "disabled",
|
|
1246
1246
|
"type": {
|
|
1247
1247
|
"text": "boolean"
|
|
1248
1248
|
},
|
|
1249
|
-
"
|
|
1250
|
-
"fieldName": "
|
|
1249
|
+
"default": "false",
|
|
1250
|
+
"fieldName": "disabled"
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
|
-
"name": "
|
|
1253
|
+
"name": "has-pips",
|
|
1254
1254
|
"type": {
|
|
1255
|
-
"text": "
|
|
1255
|
+
"text": "boolean"
|
|
1256
1256
|
},
|
|
1257
|
-
"
|
|
1258
|
-
"fieldName": "
|
|
1257
|
+
"default": "true",
|
|
1258
|
+
"fieldName": "hasPips"
|
|
1259
1259
|
}
|
|
1260
1260
|
],
|
|
1261
1261
|
"superclass": {
|
|
1262
1262
|
"name": "TerraElement",
|
|
1263
1263
|
"module": "/src/internal/terra-element.js"
|
|
1264
1264
|
},
|
|
1265
|
-
"summary": "
|
|
1266
|
-
"tagNameWithoutPrefix": "
|
|
1267
|
-
"tagName": "terra-
|
|
1265
|
+
"summary": "Short summary of the component's intended use.",
|
|
1266
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
1267
|
+
"tagName": "terra-date-range-slider",
|
|
1268
1268
|
"customElement": true,
|
|
1269
|
-
"jsDoc": "/**\n * @summary
|
|
1270
|
-
"documentation": "https://
|
|
1271
|
-
"status": "
|
|
1272
|
-
"since": "
|
|
1269
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://disc.gsfc.nasa.gov/components/date-range-slider\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
1270
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
1271
|
+
"status": "experimental",
|
|
1272
|
+
"since": "1.0"
|
|
1273
1273
|
}
|
|
1274
1274
|
],
|
|
1275
1275
|
"exports": [
|
|
@@ -1277,8 +1277,8 @@
|
|
|
1277
1277
|
"kind": "js",
|
|
1278
1278
|
"name": "default",
|
|
1279
1279
|
"declaration": {
|
|
1280
|
-
"name": "
|
|
1281
|
-
"module": "components/
|
|
1280
|
+
"name": "TerraDateRangeSlider",
|
|
1281
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
]
|
|
@@ -1786,96 +1786,249 @@
|
|
|
1786
1786
|
},
|
|
1787
1787
|
{
|
|
1788
1788
|
"kind": "field",
|
|
1789
|
-
"name": "_mapController",
|
|
1789
|
+
"name": "_mapController",
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "MapController"
|
|
1792
|
+
},
|
|
1793
|
+
"default": "new MapController(this)"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"kind": "method",
|
|
1797
|
+
"name": "#markDynamicLeafletContent"
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"kind": "method",
|
|
1801
|
+
"name": "selectTemplate"
|
|
1802
|
+
}
|
|
1803
|
+
],
|
|
1804
|
+
"attributes": [
|
|
1805
|
+
{
|
|
1806
|
+
"name": "min-zoom",
|
|
1807
|
+
"type": {
|
|
1808
|
+
"text": "number"
|
|
1809
|
+
},
|
|
1810
|
+
"default": "0",
|
|
1811
|
+
"description": "Minimum zoom level of the map.",
|
|
1812
|
+
"fieldName": "minZoom"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "max-zoom",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "number"
|
|
1818
|
+
},
|
|
1819
|
+
"default": "23",
|
|
1820
|
+
"description": "Maximum zoom level of the map.",
|
|
1821
|
+
"fieldName": "maxZoom"
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"name": "zoom",
|
|
1825
|
+
"type": {
|
|
1826
|
+
"text": "number"
|
|
1827
|
+
},
|
|
1828
|
+
"default": "1",
|
|
1829
|
+
"description": "Initial map zoom level",
|
|
1830
|
+
"fieldName": "zoom"
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"name": "has-navigation",
|
|
1834
|
+
"type": {
|
|
1835
|
+
"text": "boolean"
|
|
1836
|
+
},
|
|
1837
|
+
"default": "false",
|
|
1838
|
+
"description": "has map navigation toolbar",
|
|
1839
|
+
"fieldName": "hasNavigation"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "has-coord-tracker",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "boolean"
|
|
1845
|
+
},
|
|
1846
|
+
"default": "false",
|
|
1847
|
+
"description": "has coordinate tracker",
|
|
1848
|
+
"fieldName": "hasCoordTracker"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "has-shape-selector",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "boolean"
|
|
1854
|
+
},
|
|
1855
|
+
"default": "false",
|
|
1856
|
+
"description": "has shape selector",
|
|
1857
|
+
"fieldName": "hasShapeSelector"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "value",
|
|
1861
|
+
"type": {
|
|
1862
|
+
"text": "any"
|
|
1863
|
+
},
|
|
1864
|
+
"default": "[]",
|
|
1865
|
+
"fieldName": "value"
|
|
1866
|
+
}
|
|
1867
|
+
],
|
|
1868
|
+
"superclass": {
|
|
1869
|
+
"name": "TerraElement",
|
|
1870
|
+
"module": "/src/internal/terra-element.js"
|
|
1871
|
+
},
|
|
1872
|
+
"summary": "A map component for visualizing and selecting coordinates.",
|
|
1873
|
+
"tagNameWithoutPrefix": "map",
|
|
1874
|
+
"tagName": "terra-map",
|
|
1875
|
+
"customElement": true,
|
|
1876
|
+
"jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
|
|
1877
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/map",
|
|
1878
|
+
"status": "mvp",
|
|
1879
|
+
"since": "1.0"
|
|
1880
|
+
}
|
|
1881
|
+
],
|
|
1882
|
+
"exports": [
|
|
1883
|
+
{
|
|
1884
|
+
"kind": "js",
|
|
1885
|
+
"name": "default",
|
|
1886
|
+
"declaration": {
|
|
1887
|
+
"name": "TerraMap",
|
|
1888
|
+
"module": "components/map/map.js"
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
]
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"kind": "javascript-module",
|
|
1895
|
+
"path": "components/plot/plot.js",
|
|
1896
|
+
"declarations": [
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "class",
|
|
1899
|
+
"description": "",
|
|
1900
|
+
"name": "TerraPlot",
|
|
1901
|
+
"cssParts": [
|
|
1902
|
+
{
|
|
1903
|
+
"description": "The component's base wrapper.",
|
|
1904
|
+
"name": "base"
|
|
1905
|
+
}
|
|
1906
|
+
],
|
|
1907
|
+
"members": [
|
|
1908
|
+
{
|
|
1909
|
+
"kind": "field",
|
|
1910
|
+
"name": "plotData",
|
|
1911
|
+
"type": {
|
|
1912
|
+
"text": "Array<Plot>"
|
|
1913
|
+
},
|
|
1914
|
+
"default": "[]"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "field",
|
|
1918
|
+
"name": "base",
|
|
1919
|
+
"type": {
|
|
1920
|
+
"text": "HTMLElement"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"kind": "field",
|
|
1925
|
+
"name": "plotTitle",
|
|
1926
|
+
"type": {
|
|
1927
|
+
"text": "string | undefined"
|
|
1928
|
+
},
|
|
1929
|
+
"attribute": "plotTitle"
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"kind": "field",
|
|
1933
|
+
"name": "layout",
|
|
1934
|
+
"type": {
|
|
1935
|
+
"text": "Partial<Layout> | undefined"
|
|
1936
|
+
},
|
|
1937
|
+
"default": "{}",
|
|
1938
|
+
"attribute": "layout"
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"kind": "field",
|
|
1942
|
+
"name": "config",
|
|
1943
|
+
"type": {
|
|
1944
|
+
"text": "Partial<Config> | undefined"
|
|
1945
|
+
},
|
|
1946
|
+
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
1947
|
+
"attribute": "config"
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
"kind": "field",
|
|
1951
|
+
"name": "data",
|
|
1790
1952
|
"type": {
|
|
1791
|
-
"text": "
|
|
1953
|
+
"text": "Array<Partial<Data>>"
|
|
1792
1954
|
},
|
|
1793
|
-
"default": "
|
|
1955
|
+
"default": "[]",
|
|
1956
|
+
"attribute": "data"
|
|
1794
1957
|
},
|
|
1795
1958
|
{
|
|
1796
1959
|
"kind": "method",
|
|
1797
|
-
"name": "
|
|
1960
|
+
"name": "handleDataChange"
|
|
1798
1961
|
},
|
|
1799
1962
|
{
|
|
1800
1963
|
"kind": "method",
|
|
1801
|
-
"name": "
|
|
1802
|
-
}
|
|
1803
|
-
],
|
|
1804
|
-
"attributes": [
|
|
1805
|
-
{
|
|
1806
|
-
"name": "min-zoom",
|
|
1807
|
-
"type": {
|
|
1808
|
-
"text": "number"
|
|
1809
|
-
},
|
|
1810
|
-
"default": "0",
|
|
1811
|
-
"description": "Minimum zoom level of the map.",
|
|
1812
|
-
"fieldName": "minZoom"
|
|
1964
|
+
"name": "updatePlotWithData"
|
|
1813
1965
|
},
|
|
1814
1966
|
{
|
|
1815
|
-
"
|
|
1816
|
-
"
|
|
1817
|
-
"text": "number"
|
|
1818
|
-
},
|
|
1819
|
-
"default": "23",
|
|
1820
|
-
"description": "Maximum zoom level of the map.",
|
|
1821
|
-
"fieldName": "maxZoom"
|
|
1967
|
+
"kind": "method",
|
|
1968
|
+
"name": "downloadCSV"
|
|
1822
1969
|
},
|
|
1823
1970
|
{
|
|
1824
|
-
"
|
|
1825
|
-
"
|
|
1826
|
-
|
|
1971
|
+
"kind": "method",
|
|
1972
|
+
"name": "convertToCSV",
|
|
1973
|
+
"return": {
|
|
1974
|
+
"type": {
|
|
1975
|
+
"text": "string"
|
|
1976
|
+
}
|
|
1827
1977
|
},
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1978
|
+
"parameters": [
|
|
1979
|
+
{
|
|
1980
|
+
"name": "data",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "any[]"
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
]
|
|
1986
|
+
}
|
|
1987
|
+
],
|
|
1988
|
+
"attributes": [
|
|
1832
1989
|
{
|
|
1833
|
-
"name": "
|
|
1990
|
+
"name": "plotTitle",
|
|
1834
1991
|
"type": {
|
|
1835
|
-
"text": "
|
|
1992
|
+
"text": "string | undefined"
|
|
1836
1993
|
},
|
|
1837
|
-
"
|
|
1838
|
-
"description": "has map navigation toolbar",
|
|
1839
|
-
"fieldName": "hasNavigation"
|
|
1994
|
+
"fieldName": "plotTitle"
|
|
1840
1995
|
},
|
|
1841
1996
|
{
|
|
1842
|
-
"name": "
|
|
1997
|
+
"name": "layout",
|
|
1843
1998
|
"type": {
|
|
1844
|
-
"text": "
|
|
1999
|
+
"text": "Partial<Layout> | undefined"
|
|
1845
2000
|
},
|
|
1846
|
-
"default": "
|
|
1847
|
-
"
|
|
1848
|
-
"fieldName": "hasCoordTracker"
|
|
2001
|
+
"default": "{}",
|
|
2002
|
+
"fieldName": "layout"
|
|
1849
2003
|
},
|
|
1850
2004
|
{
|
|
1851
|
-
"name": "
|
|
2005
|
+
"name": "config",
|
|
1852
2006
|
"type": {
|
|
1853
|
-
"text": "
|
|
2007
|
+
"text": "Partial<Config> | undefined"
|
|
1854
2008
|
},
|
|
1855
|
-
"default": "
|
|
1856
|
-
"
|
|
1857
|
-
"fieldName": "hasShapeSelector"
|
|
2009
|
+
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
2010
|
+
"fieldName": "config"
|
|
1858
2011
|
},
|
|
1859
2012
|
{
|
|
1860
|
-
"name": "
|
|
2013
|
+
"name": "data",
|
|
1861
2014
|
"type": {
|
|
1862
|
-
"text": "
|
|
2015
|
+
"text": "Array<Partial<Data>>"
|
|
1863
2016
|
},
|
|
1864
2017
|
"default": "[]",
|
|
1865
|
-
"fieldName": "
|
|
2018
|
+
"fieldName": "data"
|
|
1866
2019
|
}
|
|
1867
2020
|
],
|
|
1868
2021
|
"superclass": {
|
|
1869
2022
|
"name": "TerraElement",
|
|
1870
2023
|
"module": "/src/internal/terra-element.js"
|
|
1871
2024
|
},
|
|
1872
|
-
"summary": "A
|
|
1873
|
-
"tagNameWithoutPrefix": "
|
|
1874
|
-
"tagName": "terra-
|
|
2025
|
+
"summary": "A web component for interactive graphs using Plotly.js.",
|
|
2026
|
+
"tagNameWithoutPrefix": "plot",
|
|
2027
|
+
"tagName": "terra-plot",
|
|
1875
2028
|
"customElement": true,
|
|
1876
|
-
"jsDoc": "/**\n * @summary A
|
|
1877
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1878
|
-
"status": "
|
|
2029
|
+
"jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
2030
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/plot",
|
|
2031
|
+
"status": "experimental",
|
|
1879
2032
|
"since": "1.0"
|
|
1880
2033
|
}
|
|
1881
2034
|
],
|
|
@@ -1884,8 +2037,8 @@
|
|
|
1884
2037
|
"kind": "js",
|
|
1885
2038
|
"name": "default",
|
|
1886
2039
|
"declaration": {
|
|
1887
|
-
"name": "
|
|
1888
|
-
"module": "components/
|
|
2040
|
+
"name": "TerraPlot",
|
|
2041
|
+
"module": "components/plot/plot.js"
|
|
1889
2042
|
}
|
|
1890
2043
|
}
|
|
1891
2044
|
]
|
|
@@ -2172,159 +2325,6 @@
|
|
|
2172
2325
|
}
|
|
2173
2326
|
]
|
|
2174
2327
|
},
|
|
2175
|
-
{
|
|
2176
|
-
"kind": "javascript-module",
|
|
2177
|
-
"path": "components/plot/plot.js",
|
|
2178
|
-
"declarations": [
|
|
2179
|
-
{
|
|
2180
|
-
"kind": "class",
|
|
2181
|
-
"description": "",
|
|
2182
|
-
"name": "TerraPlot",
|
|
2183
|
-
"cssParts": [
|
|
2184
|
-
{
|
|
2185
|
-
"description": "The component's base wrapper.",
|
|
2186
|
-
"name": "base"
|
|
2187
|
-
}
|
|
2188
|
-
],
|
|
2189
|
-
"members": [
|
|
2190
|
-
{
|
|
2191
|
-
"kind": "field",
|
|
2192
|
-
"name": "plotData",
|
|
2193
|
-
"type": {
|
|
2194
|
-
"text": "Array<Plot>"
|
|
2195
|
-
},
|
|
2196
|
-
"default": "[]"
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
"kind": "field",
|
|
2200
|
-
"name": "base",
|
|
2201
|
-
"type": {
|
|
2202
|
-
"text": "HTMLElement"
|
|
2203
|
-
}
|
|
2204
|
-
},
|
|
2205
|
-
{
|
|
2206
|
-
"kind": "field",
|
|
2207
|
-
"name": "plotTitle",
|
|
2208
|
-
"type": {
|
|
2209
|
-
"text": "string | undefined"
|
|
2210
|
-
},
|
|
2211
|
-
"attribute": "plotTitle"
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"kind": "field",
|
|
2215
|
-
"name": "layout",
|
|
2216
|
-
"type": {
|
|
2217
|
-
"text": "Partial<Layout> | undefined"
|
|
2218
|
-
},
|
|
2219
|
-
"default": "{}",
|
|
2220
|
-
"attribute": "layout"
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
"kind": "field",
|
|
2224
|
-
"name": "config",
|
|
2225
|
-
"type": {
|
|
2226
|
-
"text": "Partial<Config> | undefined"
|
|
2227
|
-
},
|
|
2228
|
-
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
2229
|
-
"attribute": "config"
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
"kind": "field",
|
|
2233
|
-
"name": "data",
|
|
2234
|
-
"type": {
|
|
2235
|
-
"text": "Array<Partial<Data>>"
|
|
2236
|
-
},
|
|
2237
|
-
"default": "[]",
|
|
2238
|
-
"attribute": "data"
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "method",
|
|
2242
|
-
"name": "handleDataChange"
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"kind": "method",
|
|
2246
|
-
"name": "updatePlotWithData"
|
|
2247
|
-
},
|
|
2248
|
-
{
|
|
2249
|
-
"kind": "method",
|
|
2250
|
-
"name": "downloadCSV"
|
|
2251
|
-
},
|
|
2252
|
-
{
|
|
2253
|
-
"kind": "method",
|
|
2254
|
-
"name": "convertToCSV",
|
|
2255
|
-
"return": {
|
|
2256
|
-
"type": {
|
|
2257
|
-
"text": "string"
|
|
2258
|
-
}
|
|
2259
|
-
},
|
|
2260
|
-
"parameters": [
|
|
2261
|
-
{
|
|
2262
|
-
"name": "data",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "any[]"
|
|
2265
|
-
}
|
|
2266
|
-
}
|
|
2267
|
-
]
|
|
2268
|
-
}
|
|
2269
|
-
],
|
|
2270
|
-
"attributes": [
|
|
2271
|
-
{
|
|
2272
|
-
"name": "plotTitle",
|
|
2273
|
-
"type": {
|
|
2274
|
-
"text": "string | undefined"
|
|
2275
|
-
},
|
|
2276
|
-
"fieldName": "plotTitle"
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
"name": "layout",
|
|
2280
|
-
"type": {
|
|
2281
|
-
"text": "Partial<Layout> | undefined"
|
|
2282
|
-
},
|
|
2283
|
-
"default": "{}",
|
|
2284
|
-
"fieldName": "layout"
|
|
2285
|
-
},
|
|
2286
|
-
{
|
|
2287
|
-
"name": "config",
|
|
2288
|
-
"type": {
|
|
2289
|
-
"text": "Partial<Config> | undefined"
|
|
2290
|
-
},
|
|
2291
|
-
"default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
|
|
2292
|
-
"fieldName": "config"
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"name": "data",
|
|
2296
|
-
"type": {
|
|
2297
|
-
"text": "Array<Partial<Data>>"
|
|
2298
|
-
},
|
|
2299
|
-
"default": "[]",
|
|
2300
|
-
"fieldName": "data"
|
|
2301
|
-
}
|
|
2302
|
-
],
|
|
2303
|
-
"superclass": {
|
|
2304
|
-
"name": "TerraElement",
|
|
2305
|
-
"module": "/src/internal/terra-element.js"
|
|
2306
|
-
},
|
|
2307
|
-
"summary": "A web component for interactive graphs using Plotly.js.",
|
|
2308
|
-
"tagNameWithoutPrefix": "plot",
|
|
2309
|
-
"tagName": "terra-plot",
|
|
2310
|
-
"customElement": true,
|
|
2311
|
-
"jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
2312
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/plot",
|
|
2313
|
-
"status": "experimental",
|
|
2314
|
-
"since": "1.0"
|
|
2315
|
-
}
|
|
2316
|
-
],
|
|
2317
|
-
"exports": [
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "js",
|
|
2320
|
-
"name": "default",
|
|
2321
|
-
"declaration": {
|
|
2322
|
-
"name": "TerraPlot",
|
|
2323
|
-
"module": "components/plot/plot.js"
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
]
|
|
2327
|
-
},
|
|
2328
2328
|
{
|
|
2329
2329
|
"kind": "javascript-module",
|
|
2330
2330
|
"path": "components/time-series/time-series.js",
|
|
@@ -3010,7 +3010,7 @@
|
|
|
3010
3010
|
"package": {
|
|
3011
3011
|
"name": "@nasa-terra/components",
|
|
3012
3012
|
"description": "A collection of NASA Earthdata components",
|
|
3013
|
-
"version": "0.0.
|
|
3013
|
+
"version": "0.0.1",
|
|
3014
3014
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
3015
3015
|
"homepage": "https://github.com/gesdisc/components",
|
|
3016
3016
|
"license": "MIT"
|