@nasa-terra/components 0.0.23 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/cdn/chunks/chunk.4P3HFU2W.js +11 -0
- package/cdn/chunks/{chunk.DGA3BVXS.js → chunk.4Y2XZHOW.js} +107 -1
- package/cdn/chunks/{chunk.V6F6RIGR.js → chunk.5YUWKJCI.js} +4 -4
- package/{dist/chunks/chunk.TC6LKTAX.js → cdn/chunks/chunk.67YIRH3F.js} +1 -1
- package/cdn/chunks/{chunk.SO3ICKNN.js → chunk.6J75BP7M.js} +10 -5
- package/{dist/chunks/chunk.BZ5KSGAC.js → cdn/chunks/chunk.6YL7VVDD.js} +1 -1
- package/cdn/chunks/{chunk.VJ6ZCI4D.js → chunk.7PZBUHYR.js} +4 -4
- package/cdn/chunks/{chunk.BQSATKPB.js → chunk.7TA5PWO7.js} +1 -1
- package/{dist/chunks/chunk.SU4ZAMIR.js → cdn/chunks/chunk.A3E2LIAV.js} +1 -1
- package/cdn/chunks/{chunk.PRFLPVWE.js → chunk.BOGJSWIT.js} +1 -1
- package/cdn/chunks/{chunk.XDHNIWRR.js → chunk.BTRRDJYE.js} +10 -10
- package/cdn/chunks/chunk.C5FGIZP6.js +92 -0
- package/cdn/chunks/{chunk.THKQJO6O.js → chunk.DBZQEOZ6.js} +61 -33
- package/cdn/chunks/{chunk.ZT7HCJ3E.js → chunk.EAQZEXSN.js} +1 -1
- package/cdn/chunks/{chunk.UCNQ6VQW.js → chunk.ESFWCSLU.js} +1 -1
- package/cdn/chunks/chunk.FAICFDGD.js +58 -0
- package/cdn/chunks/{chunk.JVGK2LSP.js → chunk.FPDMMBW3.js} +1 -1
- package/cdn/chunks/{chunk.HHAQDRUF.js → chunk.G6BCFX7H.js} +6 -6
- package/{dist/chunks/chunk.PRHX6FHD.js → cdn/chunks/chunk.GEK7UUOR.js} +1 -1
- package/cdn/chunks/{chunk.ZB2DR3O2.js → chunk.GQ7DLRBI.js} +1 -1
- package/cdn/chunks/{chunk.HB56625V.js → chunk.GT24H4QB.js} +73 -73
- package/cdn/chunks/{chunk.UW6LOJ6N.js → chunk.H7QEWEBY.js} +1 -1
- package/{dist/chunks/chunk.V2QP4H3G.js → cdn/chunks/chunk.HRFPL7LF.js} +1 -1
- package/cdn/chunks/{chunk.ELL36UPQ.js → chunk.HRKAFTTC.js} +1 -1
- package/cdn/chunks/{chunk.FM4MQGJO.js → chunk.IJC2FL2T.js} +1 -1
- package/cdn/chunks/chunk.JK46F3H5.js +25 -0
- package/cdn/chunks/{chunk.3DQE6EC4.js → chunk.JOEFLMNA.js} +1 -1
- package/cdn/chunks/{chunk.6MDNZR4V.js → chunk.K5J4AMTL.js} +1 -1
- package/{dist/chunks/chunk.AIJYX5JT.js → cdn/chunks/chunk.L5JOHXYO.js} +1 -1
- package/{dist/chunks/chunk.L5GVPYVK.js → cdn/chunks/chunk.M23LLNBH.js} +1 -1
- package/cdn/chunks/{chunk.MF2HKAU4.js → chunk.MNJC4JAE.js} +4 -4
- package/cdn/chunks/{chunk.IVKUC625.js → chunk.NLGYM5TP.js} +53 -5
- package/cdn/chunks/{chunk.4WKIEZXE.js → chunk.O573SJZ2.js} +1 -1
- package/cdn/chunks/{chunk.FE4LZIRQ.js → chunk.OCW3MYR2.js} +1 -1
- package/{dist/chunks/chunk.ZCAH5MS4.js → cdn/chunks/chunk.P2F6DDWJ.js} +1 -1
- package/{dist/chunks/chunk.7R56XKQT.js → cdn/chunks/chunk.PEK237NB.js} +1 -1
- package/cdn/chunks/{chunk.WIQDMQ3N.js → chunk.PLNSRGRU.js} +143 -46
- package/cdn/chunks/{chunk.5FZY6SGS.js → chunk.POKHGMEN.js} +8 -0
- package/{dist/chunks/chunk.KZO6I3HY.js → cdn/chunks/chunk.Q5HMW6TJ.js} +1 -1
- package/cdn/chunks/{chunk.4ZX7ORTO.js → chunk.R6TKKO7W.js} +1 -1
- package/{dist/chunks/chunk.VI4RAIBY.js → cdn/chunks/chunk.RFS2YAFQ.js} +1 -1
- package/cdn/chunks/{chunk.R7HPDUVG.js → chunk.TCP35LGY.js} +17 -17
- package/cdn/chunks/{chunk.KIEHEHU5.js → chunk.TLIHKASV.js} +1 -1
- package/{dist/chunks/chunk.S54WBWHC.js → cdn/chunks/chunk.U35LI4FR.js} +1 -1
- package/cdn/chunks/{chunk.7HY4OBYI.js → chunk.V2OTUB7Z.js} +7 -7
- package/{dist/chunks/chunk.J7UBLRCQ.js → cdn/chunks/chunk.V4LDLIEP.js} +1 -1
- package/cdn/chunks/{chunk.YWQI6MPW.js → chunk.V5GY4VGG.js} +1 -1
- package/{dist/chunks/chunk.ST5YV3WI.js → cdn/chunks/chunk.VOHHSPSQ.js} +1 -1
- package/cdn/chunks/{chunk.D7RUNWOI.js → chunk.WGDILZM6.js} +11 -4
- package/{dist/chunks/chunk.2HZ7PJE3.js → cdn/chunks/chunk.XC2AJXDM.js} +1 -1
- package/{dist/chunks/chunk.MSQDEKKY.js → cdn/chunks/chunk.XCU6YMPU.js} +1 -1
- package/cdn/chunks/{chunk.W2LQTJ4D.js → chunk.XG57XCVO.js} +1 -1
- package/cdn/chunks/{chunk.YS6QES3Y.js → chunk.ZUDEKNN6.js} +1 -1
- package/cdn/chunks/{chunk.O7PHF5YQ.js → chunk.ZWMWIUFF.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.d.ts +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +18 -18
- package/cdn/components/browse-variables/browse-variables.js +19 -19
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/button/button.component.d.ts +7 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +5 -5
- package/cdn/components/combobox/combobox.js +6 -6
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.d.ts +32 -0
- package/cdn/components/dialog/dialog.component.js +12 -0
- package/cdn/components/dialog/dialog.d.ts +8 -0
- package/cdn/components/dialog/dialog.js +13 -0
- package/cdn/components/dialog/dialog.styles.d.ts +2 -0
- package/cdn/components/dialog/dialog.styles.js +9 -0
- package/cdn/components/giovanni-search/giovanni-search.component.js +12 -12
- package/cdn/components/giovanni-search/giovanni-search.js +13 -13
- package/cdn/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +5 -5
- package/cdn/components/skeleton/skeleton.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +5 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +26 -26
- 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 +1322 -1089
- package/cdn/events/events.d.ts +4 -0
- package/cdn/events/terra-dialog-hide.d.ts +9 -0
- package/cdn/events/terra-dialog-show.d.ts +9 -0
- package/cdn/events/terra-hide.d.ts +6 -0
- package/cdn/events/terra-show.d.ts +6 -0
- package/cdn/react/browse-variables/index.js +19 -19
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +6 -6
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.d.ts +22 -0
- package/cdn/react/dialog/index.js +13 -0
- package/cdn/react/giovanni-search/index.js +13 -13
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +5 -4
- package/cdn/react/index.js +77 -71
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +6 -6
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.js +27 -27
- package/cdn/react/variable-combobox/index.js +13 -13
- package/cdn/terra-ui-components.d.ts +1 -0
- package/cdn/terra-ui-components.js +74 -68
- package/cdn/types/vue/index.d.ts +114 -73
- package/cdn/utilities/animation.js +3 -3
- package/cdn/vscode.html-custom-data.json +160 -113
- package/cdn/web-types.json +246 -138
- package/dist/chunks/{chunk.ROL3YWUL.js → chunk.2O33NVOZ.js} +1 -1
- package/{cdn/chunks/chunk.OMXNKQ4J.js → dist/chunks/chunk.2RJWA6A5.js} +1 -1
- package/{cdn/chunks/chunk.3P27SYOG.js → dist/chunks/chunk.2X75ZZLQ.js} +1 -1
- package/{cdn/chunks/chunk.5CPVH5F3.js → dist/chunks/chunk.35BNTLUN.js} +1 -1
- package/{cdn/chunks/chunk.WTF7QMVO.js → dist/chunks/chunk.37O2PHBO.js} +1 -1
- package/dist/chunks/{chunk.5GIZ5MAH.js → chunk.3VRBGLE2.js} +1 -1
- package/dist/chunks/{chunk.OHDG3PUV.js → chunk.57W5VBEO.js} +1 -1
- package/dist/chunks/{chunk.GY6V5GTO.js → chunk.5A2NXDXH.js} +4 -4
- package/dist/chunks/{chunk.XFWWZ3NP.js → chunk.5DBTQCSS.js} +1 -1
- package/dist/chunks/{chunk.2JBR7OBQ.js → chunk.6SZJNBMQ.js} +144 -47
- package/dist/chunks/{chunk.ZKCIZ7YJ.js → chunk.A6MFFTZ4.js} +1 -1
- package/dist/chunks/{chunk.IHSQ72OT.js → chunk.AXVUNFLN.js} +1 -1
- package/dist/chunks/{chunk.6OEVAMVW.js → chunk.B2K5RQP6.js} +4 -4
- package/dist/chunks/{chunk.GDI2NWFW.js → chunk.B5HKOLNS.js} +1 -1
- package/dist/chunks/chunk.BB4IASWR.js +87 -0
- package/{cdn/chunks/chunk.JNVVFMOW.js → dist/chunks/chunk.BO5W5LTB.js} +1 -1
- package/{cdn/chunks/chunk.4E62DZYX.js → dist/chunks/chunk.CAMWZJYR.js} +1 -1
- package/dist/chunks/chunk.CCDDGUFW.js +55 -0
- package/dist/chunks/{chunk.DY5URCKM.js → chunk.EIBEZPY7.js} +4 -4
- package/dist/chunks/{chunk.LHX3WEK6.js → chunk.GAC7ING2.js} +4 -4
- package/{cdn/chunks/chunk.DWTK5MYZ.js → dist/chunks/chunk.GMT6YDPY.js} +1 -1
- package/dist/chunks/{chunk.JJ4XNWII.js → chunk.GUAQQMEX.js} +50 -2
- package/dist/chunks/{chunk.SX6YM322.js → chunk.GYUNWNI5.js} +1 -1
- package/{cdn/chunks/chunk.4HNPFNMQ.js → dist/chunks/chunk.H4GWKCFO.js} +1 -1
- package/{cdn/chunks/chunk.TXKXHE4H.js → dist/chunks/chunk.ICEKDMA2.js} +1 -1
- package/dist/chunks/{chunk.SSZJ36DG.js → chunk.IUJHXLVB.js} +1 -1
- package/dist/chunks/{chunk.CHRJKJOY.js → chunk.IZEUBMQD.js} +1 -1
- package/{cdn/chunks/chunk.LKEGZGVG.js → dist/chunks/chunk.J7IVLPJN.js} +1 -1
- package/dist/chunks/{chunk.NPV7GXJO.js → chunk.K3YKIOJT.js} +1 -1
- package/dist/chunks/{chunk.CNUQQWCR.js → chunk.KJQZP5RO.js} +11 -4
- package/{cdn/chunks/chunk.BVXGQDPN.js → dist/chunks/chunk.MDEB64TY.js} +1 -1
- package/{cdn/chunks/chunk.XWB6UNPS.js → dist/chunks/chunk.N6A7YKMO.js} +1 -1
- package/dist/chunks/{chunk.QEMJLGM4.js → chunk.N7J6PIAG.js} +8 -0
- package/dist/chunks/{chunk.P2EJPIEH.js → chunk.P7IYYL6V.js} +1 -1
- package/dist/chunks/{chunk.XHJWVWUC.js → chunk.P7XJGRLR.js} +1 -1
- package/dist/chunks/{chunk.PVDILQEJ.js → chunk.PYOU5GNJ.js} +1 -1
- package/{cdn/chunks/chunk.PUBZHQAC.js → dist/chunks/chunk.Q7ULZ54S.js} +1 -1
- package/dist/chunks/{chunk.FHHHEKTM.js → chunk.RVEGAWIA.js} +1 -1
- package/dist/chunks/{chunk.NXAUDHUK.js → chunk.SEHDRBMF.js} +6 -6
- package/dist/chunks/chunk.SZAFOVHD.js +11 -0
- package/dist/chunks/{chunk.JZA56M32.js → chunk.TEDHW6IL.js} +1 -1
- package/dist/chunks/{chunk.XAVU4VO2.js → chunk.TUDFCBZS.js} +1 -1
- package/dist/chunks/{chunk.EUQYVRUS.js → chunk.UWXRT3ND.js} +1 -1
- package/dist/chunks/{chunk.Z3MFZ3FR.js → chunk.VBXSUGD5.js} +1 -1
- package/dist/chunks/{chunk.DCVIGXWU.js → chunk.VPKY57X5.js} +1 -1
- package/dist/chunks/{chunk.YL2ETAOO.js → chunk.VVDSM7KF.js} +107 -1
- package/{cdn/chunks/chunk.RK3RN2ZT.js → dist/chunks/chunk.WXSIO4M2.js} +1 -1
- package/dist/chunks/chunk.X2Z2VINK.js +25 -0
- package/{cdn/chunks/chunk.MONG7HZ2.js → dist/chunks/chunk.XL3L3MUX.js} +1 -1
- package/dist/chunks/{chunk.PA2TJH5D.js → chunk.XYXKKZTD.js} +10 -5
- package/dist/chunks/{chunk.B5L7SVZ2.js → chunk.YCV4LGKI.js} +57 -30
- package/{cdn/chunks/chunk.XCPT3SXZ.js → dist/chunks/chunk.Z3UHCKI6.js} +1 -1
- package/dist/chunks/{chunk.SUDCEBND.js → chunk.ZQ3NM75L.js} +14 -14
- package/dist/components/browse-variables/browse-variables.component.d.ts +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +15 -15
- package/dist/components/browse-variables/browse-variables.js +16 -16
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.d.ts +7 -0
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- package/dist/components/dialog/dialog.component.d.ts +32 -0
- package/dist/components/dialog/dialog.component.js +9 -0
- package/dist/components/dialog/dialog.d.ts +8 -0
- package/dist/components/dialog/dialog.js +10 -0
- package/dist/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/components/dialog/dialog.styles.js +7 -0
- package/dist/components/giovanni-search/giovanni-search.component.js +8 -8
- package/dist/components/giovanni-search/giovanni-search.js +9 -9
- package/dist/components/giovanni-search/giovanni-search.styles.js +1 -1
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/map.component.js +3 -3
- package/dist/components/map/map.js +4 -4
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +5 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +20 -20
- package/dist/components/time-series/time-series.js +21 -21
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/custom-elements.json +1322 -1089
- package/dist/events/events.d.ts +4 -0
- package/dist/events/terra-dialog-hide.d.ts +9 -0
- package/dist/events/terra-dialog-show.d.ts +9 -0
- package/dist/events/terra-hide.d.ts +6 -0
- package/dist/events/terra-show.d.ts +6 -0
- package/dist/react/browse-variables/index.js +16 -16
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.d.ts +22 -0
- package/dist/react/dialog/index.js +10 -0
- package/dist/react/giovanni-search/index.js +9 -9
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +5 -4
- package/dist/react/index.js +72 -66
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +11 -11
- package/dist/react/map/index.js +4 -4
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.js +21 -21
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/terra-ui-components.d.ts +1 -0
- package/dist/terra-ui-components.js +68 -62
- package/dist/terra_ui_components-0.0.26-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.23.tar.gz → terra_ui_components-0.0.26.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +114 -73
- package/dist/vscode.html-custom-data.json +160 -113
- package/dist/web-types.json +246 -138
- package/package.json +2 -1
- package/dist/terra_ui_components-0.0.23-py3-none-any.whl +0 -0
package/cdn/custom-elements.json
CHANGED
|
@@ -4,952 +4,1215 @@
|
|
|
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": "
|
|
12
|
+
"name": "TerraButton",
|
|
13
|
+
"cssParts": [
|
|
14
|
+
{
|
|
15
|
+
"description": "The component's base wrapper.",
|
|
16
|
+
"name": "base"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"description": "The container that wraps the prefix.",
|
|
20
|
+
"name": "prefix"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"description": "The button's label.",
|
|
24
|
+
"name": "label"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "The container that wraps the suffix.",
|
|
28
|
+
"name": "suffix"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
32
|
+
"name": "caret"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
36
|
+
"name": "spinner"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"slots": [
|
|
40
|
+
{
|
|
41
|
+
"description": "The button's label.",
|
|
42
|
+
"name": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"description": "A presentational prefix icon or similar element.",
|
|
46
|
+
"name": "prefix"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"description": "A presentational suffix icon or similar element.",
|
|
50
|
+
"name": "suffix"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
13
53
|
"members": [
|
|
14
54
|
{
|
|
15
55
|
"kind": "field",
|
|
16
|
-
"name": "
|
|
56
|
+
"name": "formControlController",
|
|
57
|
+
"privacy": "private",
|
|
58
|
+
"readonly": true,
|
|
59
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "hasSlotController",
|
|
64
|
+
"privacy": "private",
|
|
65
|
+
"readonly": true,
|
|
66
|
+
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "field",
|
|
70
|
+
"name": "button",
|
|
17
71
|
"type": {
|
|
18
|
-
"text": "
|
|
72
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "field",
|
|
77
|
+
"name": "hasFocus",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "boolean"
|
|
19
80
|
},
|
|
20
|
-
"
|
|
21
|
-
"default": "
|
|
81
|
+
"privacy": "private",
|
|
82
|
+
"default": "false"
|
|
22
83
|
},
|
|
23
84
|
{
|
|
24
85
|
"kind": "field",
|
|
25
|
-
"name": "
|
|
86
|
+
"name": "invalid",
|
|
26
87
|
"type": {
|
|
27
|
-
"text": "
|
|
88
|
+
"text": "boolean"
|
|
28
89
|
},
|
|
29
|
-
"default": "
|
|
30
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
31
|
-
"attribute": "catalog"
|
|
90
|
+
"default": "false"
|
|
32
91
|
},
|
|
33
92
|
{
|
|
34
93
|
"kind": "field",
|
|
35
|
-
"name": "
|
|
94
|
+
"name": "title",
|
|
36
95
|
"type": {
|
|
37
96
|
"text": "string"
|
|
38
|
-
}
|
|
97
|
+
},
|
|
98
|
+
"default": "''",
|
|
99
|
+
"attribute": "title"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "variant",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
106
|
+
},
|
|
107
|
+
"default": "'primary'",
|
|
108
|
+
"description": "The button's theme variant.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "field",
|
|
114
|
+
"name": "size",
|
|
115
|
+
"type": {
|
|
116
|
+
"text": "'small' | 'medium' | 'large'"
|
|
117
|
+
},
|
|
118
|
+
"default": "'medium'",
|
|
119
|
+
"description": "The button's size.",
|
|
120
|
+
"attribute": "size",
|
|
121
|
+
"reflects": true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "field",
|
|
125
|
+
"name": "caret",
|
|
126
|
+
"type": {
|
|
127
|
+
"text": "boolean"
|
|
128
|
+
},
|
|
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
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "field",
|
|
136
|
+
"name": "shape",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
139
|
+
},
|
|
140
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
141
|
+
"attribute": "shape",
|
|
142
|
+
"reflects": true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "field",
|
|
146
|
+
"name": "disabled",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "boolean"
|
|
149
|
+
},
|
|
150
|
+
"default": "false",
|
|
151
|
+
"description": "Disables the button.",
|
|
152
|
+
"attribute": "disabled",
|
|
153
|
+
"reflects": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "loading",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "boolean"
|
|
160
|
+
},
|
|
161
|
+
"default": "false",
|
|
162
|
+
"description": "Draws the button in a loading state.",
|
|
163
|
+
"attribute": "loading",
|
|
164
|
+
"reflects": true
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"kind": "field",
|
|
168
|
+
"name": "outline",
|
|
169
|
+
"type": {
|
|
170
|
+
"text": "boolean"
|
|
171
|
+
},
|
|
172
|
+
"default": "false",
|
|
173
|
+
"description": "Draws an outlined button.",
|
|
174
|
+
"attribute": "outline",
|
|
175
|
+
"reflects": true
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "field",
|
|
179
|
+
"name": "circle",
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "boolean"
|
|
182
|
+
},
|
|
183
|
+
"default": "false",
|
|
184
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
185
|
+
"attribute": "circle",
|
|
186
|
+
"reflects": true
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "field",
|
|
190
|
+
"name": "type",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
193
|
+
},
|
|
194
|
+
"default": "'button'",
|
|
195
|
+
"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.",
|
|
196
|
+
"attribute": "type"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "name",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "string"
|
|
203
|
+
},
|
|
204
|
+
"default": "''",
|
|
205
|
+
"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.",
|
|
206
|
+
"attribute": "name"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "value",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"default": "''",
|
|
215
|
+
"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.",
|
|
216
|
+
"attribute": "value"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "href",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
},
|
|
224
|
+
"default": "''",
|
|
225
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
226
|
+
"attribute": "href"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "field",
|
|
230
|
+
"name": "target",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
233
|
+
},
|
|
234
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
235
|
+
"attribute": "target"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "field",
|
|
239
|
+
"name": "rel",
|
|
240
|
+
"type": {
|
|
241
|
+
"text": "string"
|
|
242
|
+
},
|
|
243
|
+
"default": "'noreferrer noopener'",
|
|
244
|
+
"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.",
|
|
245
|
+
"attribute": "rel"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "download",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "string | undefined"
|
|
252
|
+
},
|
|
253
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
254
|
+
"attribute": "download"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "form",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string"
|
|
261
|
+
},
|
|
262
|
+
"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.",
|
|
263
|
+
"attribute": "form"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "field",
|
|
267
|
+
"name": "formAction",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string"
|
|
270
|
+
},
|
|
271
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
272
|
+
"attribute": "formaction"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "field",
|
|
276
|
+
"name": "formEnctype",
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
279
|
+
},
|
|
280
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
281
|
+
"attribute": "formenctype"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"kind": "field",
|
|
285
|
+
"name": "formMethod",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "'post' | 'get'"
|
|
288
|
+
},
|
|
289
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
290
|
+
"attribute": "formmethod"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "formNoValidate",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "boolean"
|
|
297
|
+
},
|
|
298
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
299
|
+
"attribute": "formnovalidate"
|
|
39
300
|
},
|
|
40
301
|
{
|
|
41
302
|
"kind": "field",
|
|
42
|
-
"name": "
|
|
303
|
+
"name": "formTarget",
|
|
43
304
|
"type": {
|
|
44
|
-
"text": "
|
|
305
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
45
306
|
},
|
|
46
|
-
"
|
|
307
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
308
|
+
"attribute": "formtarget"
|
|
47
309
|
},
|
|
48
310
|
{
|
|
49
311
|
"kind": "field",
|
|
50
|
-
"name": "
|
|
312
|
+
"name": "forDialog",
|
|
51
313
|
"type": {
|
|
52
|
-
"text": "
|
|
314
|
+
"text": "string | undefined"
|
|
53
315
|
},
|
|
54
|
-
"
|
|
316
|
+
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
317
|
+
"attribute": "for-dialog"
|
|
55
318
|
},
|
|
56
319
|
{
|
|
57
320
|
"kind": "field",
|
|
58
|
-
"name": "
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"name": "reset"
|
|
321
|
+
"name": "expanded",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "boolean"
|
|
324
|
+
},
|
|
325
|
+
"default": "false",
|
|
326
|
+
"description": "if button is used to control another element on the page, such as an accordion or dialog, this state communicates whether the controlled element is expanded"
|
|
65
327
|
},
|
|
66
328
|
{
|
|
67
|
-
"kind": "
|
|
68
|
-
"name": "
|
|
329
|
+
"kind": "field",
|
|
330
|
+
"name": "validity",
|
|
331
|
+
"description": "Gets the validity state object",
|
|
332
|
+
"readonly": true
|
|
69
333
|
},
|
|
70
334
|
{
|
|
71
|
-
"kind": "
|
|
72
|
-
"name": "
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
"name": "event",
|
|
76
|
-
"type": {
|
|
77
|
-
"text": "Event"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
]
|
|
335
|
+
"kind": "field",
|
|
336
|
+
"name": "validationMessage",
|
|
337
|
+
"description": "Gets the validation message",
|
|
338
|
+
"readonly": true
|
|
81
339
|
},
|
|
82
340
|
{
|
|
83
341
|
"kind": "method",
|
|
84
|
-
"name": "
|
|
342
|
+
"name": "#handleDialogStateChange",
|
|
85
343
|
"parameters": [
|
|
86
344
|
{
|
|
87
345
|
"name": "e",
|
|
88
346
|
"type": {
|
|
89
|
-
"text": "
|
|
347
|
+
"text": "TerraDialogShowEvent | TerraDialogHideEvent"
|
|
90
348
|
}
|
|
91
349
|
}
|
|
92
350
|
]
|
|
93
351
|
},
|
|
94
352
|
{
|
|
95
353
|
"kind": "method",
|
|
96
|
-
"name": "
|
|
97
|
-
"
|
|
98
|
-
{
|
|
99
|
-
"name": "facet",
|
|
100
|
-
"type": {
|
|
101
|
-
"text": "string"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "field",
|
|
106
|
-
"type": {
|
|
107
|
-
"text": "string"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "selectOneFieldAtATime",
|
|
112
|
-
"default": "false",
|
|
113
|
-
"type": {
|
|
114
|
-
"text": "boolean"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"kind": "method",
|
|
122
|
-
"name": "#clearFacet",
|
|
123
|
-
"parameters": [
|
|
124
|
-
{
|
|
125
|
-
"name": "facet",
|
|
126
|
-
"type": {
|
|
127
|
-
"text": "string"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
354
|
+
"name": "handleBlur",
|
|
355
|
+
"privacy": "private"
|
|
131
356
|
},
|
|
132
357
|
{
|
|
133
358
|
"kind": "method",
|
|
134
|
-
"name": "
|
|
135
|
-
"
|
|
136
|
-
{
|
|
137
|
-
"name": "facet",
|
|
138
|
-
"type": {
|
|
139
|
-
"text": "string"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"name": "field",
|
|
144
|
-
"type": {
|
|
145
|
-
"text": "string"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
]
|
|
359
|
+
"name": "handleFocus",
|
|
360
|
+
"privacy": "private"
|
|
149
361
|
},
|
|
150
362
|
{
|
|
151
363
|
"kind": "method",
|
|
152
|
-
"name": "
|
|
364
|
+
"name": "handleClick",
|
|
365
|
+
"privacy": "private"
|
|
153
366
|
},
|
|
154
367
|
{
|
|
155
368
|
"kind": "method",
|
|
156
|
-
"name": "
|
|
369
|
+
"name": "handleInvalid",
|
|
370
|
+
"privacy": "private",
|
|
157
371
|
"parameters": [
|
|
158
372
|
{
|
|
159
|
-
"name": "
|
|
160
|
-
"type": {
|
|
161
|
-
"text": "string"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "title",
|
|
166
|
-
"type": {
|
|
167
|
-
"text": "string"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "fields",
|
|
172
|
-
"optional": true,
|
|
173
|
-
"type": {
|
|
174
|
-
"text": "FacetField[]"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "open",
|
|
179
|
-
"optional": true,
|
|
373
|
+
"name": "event",
|
|
180
374
|
"type": {
|
|
181
|
-
"text": "
|
|
375
|
+
"text": "Event"
|
|
182
376
|
}
|
|
183
377
|
}
|
|
184
378
|
]
|
|
185
379
|
},
|
|
186
380
|
{
|
|
187
381
|
"kind": "method",
|
|
188
|
-
"name": "
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"attributes": [
|
|
192
|
-
{
|
|
193
|
-
"name": "catalog",
|
|
194
|
-
"type": {
|
|
195
|
-
"text": "'giovanni'"
|
|
196
|
-
},
|
|
197
|
-
"default": "'giovanni'",
|
|
198
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
199
|
-
"fieldName": "catalog"
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
"superclass": {
|
|
203
|
-
"name": "TerraElement",
|
|
204
|
-
"module": "/src/internal/terra-element.js"
|
|
205
|
-
},
|
|
206
|
-
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
207
|
-
"tagNameWithoutPrefix": "browse-variables",
|
|
208
|
-
"tagName": "terra-browse-variables",
|
|
209
|
-
"customElement": true,
|
|
210
|
-
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @dependency terra-giovanni-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
211
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
212
|
-
"status": "MVP",
|
|
213
|
-
"since": "1.0",
|
|
214
|
-
"dependencies": [
|
|
215
|
-
"terra-giovanni-search",
|
|
216
|
-
"terra-button",
|
|
217
|
-
"terra-skeleton",
|
|
218
|
-
"terra-icon",
|
|
219
|
-
"terra-loader"
|
|
220
|
-
]
|
|
221
|
-
}
|
|
222
|
-
],
|
|
223
|
-
"exports": [
|
|
224
|
-
{
|
|
225
|
-
"kind": "js",
|
|
226
|
-
"name": "default",
|
|
227
|
-
"declaration": {
|
|
228
|
-
"name": "TerraBrowseVariables",
|
|
229
|
-
"module": "components/browse-variables/browse-variables.js"
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"kind": "javascript-module",
|
|
236
|
-
"path": "components/chip/chip.js",
|
|
237
|
-
"declarations": [
|
|
238
|
-
{
|
|
239
|
-
"kind": "class",
|
|
240
|
-
"description": "",
|
|
241
|
-
"name": "TerraChip",
|
|
242
|
-
"slots": [
|
|
243
|
-
{
|
|
244
|
-
"description": "The chip's label.",
|
|
245
|
-
"name": ""
|
|
246
|
-
}
|
|
247
|
-
],
|
|
248
|
-
"members": [
|
|
249
|
-
{
|
|
250
|
-
"kind": "field",
|
|
251
|
-
"name": "size",
|
|
252
|
-
"type": {
|
|
253
|
-
"text": "'small' | 'medium' | 'large'"
|
|
254
|
-
},
|
|
255
|
-
"default": "'medium'",
|
|
256
|
-
"attribute": "size",
|
|
257
|
-
"reflects": true
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"kind": "field",
|
|
261
|
-
"name": "#handleRemoveClick",
|
|
382
|
+
"name": "isButton",
|
|
262
383
|
"privacy": "private"
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
"attributes": [
|
|
266
|
-
{
|
|
267
|
-
"name": "size",
|
|
268
|
-
"type": {
|
|
269
|
-
"text": "'small' | 'medium' | 'large'"
|
|
270
|
-
},
|
|
271
|
-
"default": "'medium'",
|
|
272
|
-
"fieldName": "size"
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
"superclass": {
|
|
276
|
-
"name": "TerraElement",
|
|
277
|
-
"module": "/src/internal/terra-element.js"
|
|
278
|
-
},
|
|
279
|
-
"summary": "Used for contacts and tags",
|
|
280
|
-
"tagNameWithoutPrefix": "chip",
|
|
281
|
-
"tagName": "terra-chip",
|
|
282
|
-
"customElement": true,
|
|
283
|
-
"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 */",
|
|
284
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
285
|
-
"status": "stable",
|
|
286
|
-
"since": "1.0"
|
|
287
|
-
}
|
|
288
|
-
],
|
|
289
|
-
"exports": [
|
|
290
|
-
{
|
|
291
|
-
"kind": "js",
|
|
292
|
-
"name": "default",
|
|
293
|
-
"declaration": {
|
|
294
|
-
"name": "TerraChip",
|
|
295
|
-
"module": "components/chip/chip.js"
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
]
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"kind": "javascript-module",
|
|
302
|
-
"path": "components/button/button.js",
|
|
303
|
-
"declarations": [
|
|
304
|
-
{
|
|
305
|
-
"kind": "class",
|
|
306
|
-
"description": "",
|
|
307
|
-
"name": "TerraButton",
|
|
308
|
-
"cssParts": [
|
|
309
|
-
{
|
|
310
|
-
"description": "The component's base wrapper.",
|
|
311
|
-
"name": "base"
|
|
312
384
|
},
|
|
313
385
|
{
|
|
314
|
-
"
|
|
315
|
-
"name": "
|
|
386
|
+
"kind": "method",
|
|
387
|
+
"name": "isLink",
|
|
388
|
+
"privacy": "private"
|
|
316
389
|
},
|
|
317
390
|
{
|
|
318
|
-
"
|
|
319
|
-
"name": "
|
|
391
|
+
"kind": "method",
|
|
392
|
+
"name": "handleDisabledChange"
|
|
320
393
|
},
|
|
321
394
|
{
|
|
322
|
-
"
|
|
323
|
-
"name": "
|
|
395
|
+
"kind": "method",
|
|
396
|
+
"name": "click",
|
|
397
|
+
"description": "Simulates a click on the button."
|
|
324
398
|
},
|
|
325
399
|
{
|
|
326
|
-
"
|
|
327
|
-
"name": "
|
|
400
|
+
"kind": "method",
|
|
401
|
+
"name": "focus",
|
|
402
|
+
"parameters": [
|
|
403
|
+
{
|
|
404
|
+
"name": "options",
|
|
405
|
+
"optional": true,
|
|
406
|
+
"type": {
|
|
407
|
+
"text": "FocusOptions"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"description": "Sets focus on the button."
|
|
328
412
|
},
|
|
329
413
|
{
|
|
330
|
-
"
|
|
331
|
-
"name": "
|
|
332
|
-
|
|
333
|
-
],
|
|
334
|
-
"slots": [
|
|
335
|
-
{
|
|
336
|
-
"description": "The button's label.",
|
|
337
|
-
"name": ""
|
|
414
|
+
"kind": "method",
|
|
415
|
+
"name": "blur",
|
|
416
|
+
"description": "Removes focus from the button."
|
|
338
417
|
},
|
|
339
418
|
{
|
|
340
|
-
"
|
|
341
|
-
"name": "
|
|
419
|
+
"kind": "method",
|
|
420
|
+
"name": "checkValidity",
|
|
421
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
342
422
|
},
|
|
343
423
|
{
|
|
344
|
-
"
|
|
345
|
-
"name": "
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
"
|
|
352
|
-
"privacy": "private",
|
|
353
|
-
"readonly": true,
|
|
354
|
-
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
424
|
+
"kind": "method",
|
|
425
|
+
"name": "getForm",
|
|
426
|
+
"return": {
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "HTMLFormElement | null"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"description": "Gets the associated form, if one exists."
|
|
355
432
|
},
|
|
356
433
|
{
|
|
357
|
-
"kind": "
|
|
358
|
-
"name": "
|
|
359
|
-
"
|
|
360
|
-
"readonly": true,
|
|
361
|
-
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
434
|
+
"kind": "method",
|
|
435
|
+
"name": "reportValidity",
|
|
436
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
362
437
|
},
|
|
363
438
|
{
|
|
364
|
-
"kind": "
|
|
365
|
-
"name": "
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
439
|
+
"kind": "method",
|
|
440
|
+
"name": "setCustomValidity",
|
|
441
|
+
"parameters": [
|
|
442
|
+
{
|
|
443
|
+
"name": "message",
|
|
444
|
+
"type": {
|
|
445
|
+
"text": "string"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
369
450
|
},
|
|
370
451
|
{
|
|
371
|
-
"kind": "
|
|
372
|
-
"name": "
|
|
373
|
-
"
|
|
374
|
-
"
|
|
452
|
+
"kind": "method",
|
|
453
|
+
"name": "setPageLinkIcon",
|
|
454
|
+
"return": {
|
|
455
|
+
"type": {
|
|
456
|
+
"text": "string"
|
|
457
|
+
}
|
|
375
458
|
},
|
|
376
|
-
"
|
|
377
|
-
|
|
459
|
+
"parameters": [
|
|
460
|
+
{
|
|
461
|
+
"name": "href",
|
|
462
|
+
"type": {
|
|
463
|
+
"text": "string"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
]
|
|
378
467
|
},
|
|
379
468
|
{
|
|
380
|
-
"kind": "
|
|
381
|
-
"name": "
|
|
382
|
-
"
|
|
383
|
-
"
|
|
469
|
+
"kind": "method",
|
|
470
|
+
"name": "setFontSize",
|
|
471
|
+
"return": {
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "string"
|
|
474
|
+
}
|
|
384
475
|
},
|
|
385
|
-
"
|
|
386
|
-
|
|
476
|
+
"parameters": [
|
|
477
|
+
{
|
|
478
|
+
"name": "size",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "string"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"attributes": [
|
|
387
487
|
{
|
|
388
|
-
"kind": "field",
|
|
389
488
|
"name": "title",
|
|
390
489
|
"type": {
|
|
391
490
|
"text": "string"
|
|
392
491
|
},
|
|
393
492
|
"default": "''",
|
|
394
|
-
"
|
|
493
|
+
"fieldName": "title"
|
|
395
494
|
},
|
|
396
495
|
{
|
|
397
|
-
"kind": "field",
|
|
398
496
|
"name": "variant",
|
|
399
497
|
"type": {
|
|
400
498
|
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
401
499
|
},
|
|
402
500
|
"default": "'primary'",
|
|
403
501
|
"description": "The button's theme variant.",
|
|
404
|
-
"
|
|
405
|
-
"reflects": true
|
|
502
|
+
"fieldName": "variant"
|
|
406
503
|
},
|
|
407
504
|
{
|
|
408
|
-
"kind": "field",
|
|
409
505
|
"name": "size",
|
|
410
506
|
"type": {
|
|
411
507
|
"text": "'small' | 'medium' | 'large'"
|
|
412
508
|
},
|
|
413
509
|
"default": "'medium'",
|
|
414
510
|
"description": "The button's size.",
|
|
415
|
-
"
|
|
416
|
-
"reflects": true
|
|
511
|
+
"fieldName": "size"
|
|
417
512
|
},
|
|
418
513
|
{
|
|
419
|
-
"kind": "field",
|
|
420
514
|
"name": "caret",
|
|
421
515
|
"type": {
|
|
422
516
|
"text": "boolean"
|
|
423
517
|
},
|
|
424
518
|
"default": "false",
|
|
425
519
|
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
426
|
-
"
|
|
427
|
-
"reflects": true
|
|
520
|
+
"fieldName": "caret"
|
|
428
521
|
},
|
|
429
522
|
{
|
|
430
|
-
"kind": "field",
|
|
431
523
|
"name": "shape",
|
|
432
524
|
"type": {
|
|
433
525
|
"text": "'square' | 'square-left' | 'square-right'"
|
|
434
526
|
},
|
|
435
527
|
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
436
|
-
"
|
|
437
|
-
"reflects": true
|
|
528
|
+
"fieldName": "shape"
|
|
438
529
|
},
|
|
439
530
|
{
|
|
440
|
-
"kind": "field",
|
|
441
531
|
"name": "disabled",
|
|
442
532
|
"type": {
|
|
443
533
|
"text": "boolean"
|
|
444
534
|
},
|
|
445
535
|
"default": "false",
|
|
446
536
|
"description": "Disables the button.",
|
|
447
|
-
"
|
|
448
|
-
"reflects": true
|
|
537
|
+
"fieldName": "disabled"
|
|
449
538
|
},
|
|
450
539
|
{
|
|
451
|
-
"kind": "field",
|
|
452
540
|
"name": "loading",
|
|
453
541
|
"type": {
|
|
454
542
|
"text": "boolean"
|
|
455
543
|
},
|
|
456
544
|
"default": "false",
|
|
457
545
|
"description": "Draws the button in a loading state.",
|
|
458
|
-
"
|
|
459
|
-
"reflects": true
|
|
546
|
+
"fieldName": "loading"
|
|
460
547
|
},
|
|
461
548
|
{
|
|
462
|
-
"kind": "field",
|
|
463
549
|
"name": "outline",
|
|
464
550
|
"type": {
|
|
465
551
|
"text": "boolean"
|
|
466
552
|
},
|
|
467
553
|
"default": "false",
|
|
468
554
|
"description": "Draws an outlined button.",
|
|
469
|
-
"
|
|
470
|
-
"reflects": true
|
|
555
|
+
"fieldName": "outline"
|
|
471
556
|
},
|
|
472
557
|
{
|
|
473
|
-
"kind": "field",
|
|
474
558
|
"name": "circle",
|
|
475
559
|
"type": {
|
|
476
560
|
"text": "boolean"
|
|
477
561
|
},
|
|
478
562
|
"default": "false",
|
|
479
563
|
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
480
|
-
"
|
|
481
|
-
"reflects": true
|
|
564
|
+
"fieldName": "circle"
|
|
482
565
|
},
|
|
483
566
|
{
|
|
484
|
-
"kind": "field",
|
|
485
567
|
"name": "type",
|
|
486
568
|
"type": {
|
|
487
569
|
"text": "'button' | 'submit' | 'reset'"
|
|
488
570
|
},
|
|
489
571
|
"default": "'button'",
|
|
490
572
|
"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.",
|
|
491
|
-
"
|
|
573
|
+
"fieldName": "type"
|
|
492
574
|
},
|
|
493
575
|
{
|
|
494
|
-
"kind": "field",
|
|
495
576
|
"name": "name",
|
|
496
577
|
"type": {
|
|
497
578
|
"text": "string"
|
|
498
579
|
},
|
|
499
580
|
"default": "''",
|
|
500
581
|
"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.",
|
|
501
|
-
"
|
|
582
|
+
"fieldName": "name"
|
|
502
583
|
},
|
|
503
584
|
{
|
|
504
|
-
"kind": "field",
|
|
505
585
|
"name": "value",
|
|
506
586
|
"type": {
|
|
507
587
|
"text": "string"
|
|
508
588
|
},
|
|
509
589
|
"default": "''",
|
|
510
590
|
"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.",
|
|
511
|
-
"
|
|
591
|
+
"fieldName": "value"
|
|
512
592
|
},
|
|
513
593
|
{
|
|
514
|
-
"kind": "field",
|
|
515
594
|
"name": "href",
|
|
516
595
|
"type": {
|
|
517
596
|
"text": "string"
|
|
518
597
|
},
|
|
519
598
|
"default": "''",
|
|
520
599
|
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
521
|
-
"
|
|
600
|
+
"fieldName": "href"
|
|
522
601
|
},
|
|
523
602
|
{
|
|
524
|
-
"kind": "field",
|
|
525
603
|
"name": "target",
|
|
526
604
|
"type": {
|
|
527
605
|
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
528
606
|
},
|
|
529
607
|
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
530
|
-
"
|
|
608
|
+
"fieldName": "target"
|
|
531
609
|
},
|
|
532
610
|
{
|
|
533
|
-
"kind": "field",
|
|
534
611
|
"name": "rel",
|
|
535
612
|
"type": {
|
|
536
613
|
"text": "string"
|
|
537
614
|
},
|
|
538
615
|
"default": "'noreferrer noopener'",
|
|
539
616
|
"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.",
|
|
540
|
-
"
|
|
617
|
+
"fieldName": "rel"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "download",
|
|
621
|
+
"type": {
|
|
622
|
+
"text": "string | undefined"
|
|
623
|
+
},
|
|
624
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
625
|
+
"fieldName": "download"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"name": "form",
|
|
629
|
+
"type": {
|
|
630
|
+
"text": "string"
|
|
631
|
+
},
|
|
632
|
+
"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.",
|
|
633
|
+
"fieldName": "form"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "formaction",
|
|
637
|
+
"type": {
|
|
638
|
+
"text": "string"
|
|
639
|
+
},
|
|
640
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
641
|
+
"fieldName": "formAction"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "formenctype",
|
|
645
|
+
"type": {
|
|
646
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
647
|
+
},
|
|
648
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
649
|
+
"fieldName": "formEnctype"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "formmethod",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "'post' | 'get'"
|
|
655
|
+
},
|
|
656
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
657
|
+
"fieldName": "formMethod"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "formnovalidate",
|
|
661
|
+
"type": {
|
|
662
|
+
"text": "boolean"
|
|
663
|
+
},
|
|
664
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
665
|
+
"fieldName": "formNoValidate"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "formtarget",
|
|
669
|
+
"type": {
|
|
670
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
671
|
+
},
|
|
672
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
673
|
+
"fieldName": "formTarget"
|
|
541
674
|
},
|
|
675
|
+
{
|
|
676
|
+
"name": "for-dialog",
|
|
677
|
+
"type": {
|
|
678
|
+
"text": "string | undefined"
|
|
679
|
+
},
|
|
680
|
+
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
681
|
+
"fieldName": "forDialog"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"superclass": {
|
|
685
|
+
"name": "TerraElement",
|
|
686
|
+
"module": "/src/internal/terra-element.js"
|
|
687
|
+
},
|
|
688
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
689
|
+
"tagNameWithoutPrefix": "button",
|
|
690
|
+
"tagName": "terra-button",
|
|
691
|
+
"customElement": true,
|
|
692
|
+
"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 */",
|
|
693
|
+
"documentation": "https://shoelace.style/components/button",
|
|
694
|
+
"status": "stable",
|
|
695
|
+
"since": "2.0"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"exports": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "js",
|
|
701
|
+
"name": "default",
|
|
702
|
+
"declaration": {
|
|
703
|
+
"name": "TerraButton",
|
|
704
|
+
"module": "components/button/button.js"
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"kind": "javascript-module",
|
|
711
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
712
|
+
"declarations": [
|
|
713
|
+
{
|
|
714
|
+
"kind": "class",
|
|
715
|
+
"description": "",
|
|
716
|
+
"name": "TerraBrowseVariables",
|
|
717
|
+
"members": [
|
|
542
718
|
{
|
|
543
719
|
"kind": "field",
|
|
544
|
-
"name": "
|
|
720
|
+
"name": "dependencies",
|
|
545
721
|
"type": {
|
|
546
|
-
"text": "
|
|
722
|
+
"text": "object"
|
|
547
723
|
},
|
|
548
|
-
"
|
|
549
|
-
"
|
|
724
|
+
"static": true,
|
|
725
|
+
"default": "{\n 'terra-giovanni-search': TerraGiovanniSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
550
726
|
},
|
|
551
727
|
{
|
|
552
728
|
"kind": "field",
|
|
553
|
-
"name": "
|
|
729
|
+
"name": "catalog",
|
|
554
730
|
"type": {
|
|
555
|
-
"text": "
|
|
731
|
+
"text": "'giovanni'"
|
|
556
732
|
},
|
|
557
|
-
"
|
|
558
|
-
"
|
|
733
|
+
"default": "'giovanni'",
|
|
734
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
735
|
+
"attribute": "catalog"
|
|
559
736
|
},
|
|
560
737
|
{
|
|
561
738
|
"kind": "field",
|
|
562
|
-
"name": "
|
|
739
|
+
"name": "searchQuery",
|
|
563
740
|
"type": {
|
|
564
741
|
"text": "string"
|
|
565
|
-
}
|
|
566
|
-
"description": "Used to override the form owner's `action` attribute.",
|
|
567
|
-
"attribute": "formaction"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"kind": "field",
|
|
571
|
-
"name": "formEnctype",
|
|
572
|
-
"type": {
|
|
573
|
-
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
574
|
-
},
|
|
575
|
-
"description": "Used to override the form owner's `enctype` attribute.",
|
|
576
|
-
"attribute": "formenctype"
|
|
742
|
+
}
|
|
577
743
|
},
|
|
578
744
|
{
|
|
579
745
|
"kind": "field",
|
|
580
|
-
"name": "
|
|
746
|
+
"name": "selectedFacets",
|
|
581
747
|
"type": {
|
|
582
|
-
"text": "
|
|
748
|
+
"text": "SelectedFacets"
|
|
583
749
|
},
|
|
584
|
-
"
|
|
585
|
-
"attribute": "formmethod"
|
|
750
|
+
"default": "{}"
|
|
586
751
|
},
|
|
587
752
|
{
|
|
588
753
|
"kind": "field",
|
|
589
|
-
"name": "
|
|
754
|
+
"name": "showVariablesBrowse",
|
|
590
755
|
"type": {
|
|
591
756
|
"text": "boolean"
|
|
592
757
|
},
|
|
593
|
-
"
|
|
594
|
-
"attribute": "formnovalidate"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"kind": "field",
|
|
598
|
-
"name": "formTarget",
|
|
599
|
-
"type": {
|
|
600
|
-
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
601
|
-
},
|
|
602
|
-
"description": "Used to override the form owner's `target` attribute.",
|
|
603
|
-
"attribute": "formtarget"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"kind": "field",
|
|
607
|
-
"name": "validity",
|
|
608
|
-
"description": "Gets the validity state object",
|
|
609
|
-
"readonly": true
|
|
758
|
+
"default": "false"
|
|
610
759
|
},
|
|
611
760
|
{
|
|
612
761
|
"kind": "field",
|
|
613
|
-
"name": "
|
|
614
|
-
"
|
|
615
|
-
"
|
|
762
|
+
"name": "#controller",
|
|
763
|
+
"privacy": "private",
|
|
764
|
+
"default": "new BrowseVariablesController(this)"
|
|
616
765
|
},
|
|
617
766
|
{
|
|
618
767
|
"kind": "method",
|
|
619
|
-
"name": "
|
|
620
|
-
"privacy": "private"
|
|
768
|
+
"name": "reset"
|
|
621
769
|
},
|
|
622
770
|
{
|
|
623
771
|
"kind": "method",
|
|
624
|
-
"name": "
|
|
625
|
-
"privacy": "private"
|
|
772
|
+
"name": "handleObservationChange"
|
|
626
773
|
},
|
|
627
774
|
{
|
|
628
775
|
"kind": "method",
|
|
629
|
-
"name": "
|
|
630
|
-
"
|
|
776
|
+
"name": "toggleFacetSelect",
|
|
777
|
+
"parameters": [
|
|
778
|
+
{
|
|
779
|
+
"name": "event",
|
|
780
|
+
"type": {
|
|
781
|
+
"text": "Event"
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
]
|
|
631
785
|
},
|
|
632
786
|
{
|
|
633
787
|
"kind": "method",
|
|
634
|
-
"name": "
|
|
635
|
-
"privacy": "private",
|
|
788
|
+
"name": "handleSearch",
|
|
636
789
|
"parameters": [
|
|
637
790
|
{
|
|
638
|
-
"name": "
|
|
791
|
+
"name": "e",
|
|
639
792
|
"type": {
|
|
640
|
-
"text": "
|
|
793
|
+
"text": "TerraGiovanniSearchChangeEvent"
|
|
641
794
|
}
|
|
642
795
|
}
|
|
643
796
|
]
|
|
644
797
|
},
|
|
645
798
|
{
|
|
646
799
|
"kind": "method",
|
|
647
|
-
"name": "
|
|
648
|
-
"
|
|
800
|
+
"name": "#selectFacetField",
|
|
801
|
+
"parameters": [
|
|
802
|
+
{
|
|
803
|
+
"name": "facet",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "string"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "field",
|
|
810
|
+
"type": {
|
|
811
|
+
"text": "string"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"name": "selectOneFieldAtATime",
|
|
816
|
+
"default": "false",
|
|
817
|
+
"type": {
|
|
818
|
+
"text": "boolean"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
649
823
|
},
|
|
650
824
|
{
|
|
651
825
|
"kind": "method",
|
|
652
|
-
"name": "
|
|
653
|
-
"
|
|
826
|
+
"name": "#clearFacet",
|
|
827
|
+
"parameters": [
|
|
828
|
+
{
|
|
829
|
+
"name": "facet",
|
|
830
|
+
"type": {
|
|
831
|
+
"text": "string"
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
]
|
|
654
835
|
},
|
|
655
836
|
{
|
|
656
837
|
"kind": "method",
|
|
657
|
-
"name": "
|
|
838
|
+
"name": "#unselectFacetField",
|
|
839
|
+
"parameters": [
|
|
840
|
+
{
|
|
841
|
+
"name": "facet",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "field",
|
|
848
|
+
"type": {
|
|
849
|
+
"text": "string"
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
]
|
|
658
853
|
},
|
|
659
854
|
{
|
|
660
855
|
"kind": "method",
|
|
661
|
-
"name": "
|
|
662
|
-
"description": "Simulates a click on the button."
|
|
856
|
+
"name": "#renderCategorySelect"
|
|
663
857
|
},
|
|
664
858
|
{
|
|
665
859
|
"kind": "method",
|
|
666
|
-
"name": "
|
|
860
|
+
"name": "#renderFacet",
|
|
667
861
|
"parameters": [
|
|
668
862
|
{
|
|
669
|
-
"name": "
|
|
863
|
+
"name": "facetKey",
|
|
864
|
+
"type": {
|
|
865
|
+
"text": "string"
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"name": "title",
|
|
870
|
+
"type": {
|
|
871
|
+
"text": "string"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "fields",
|
|
670
876
|
"optional": true,
|
|
671
877
|
"type": {
|
|
672
|
-
"text": "
|
|
878
|
+
"text": "FacetField[]"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "open",
|
|
883
|
+
"optional": true,
|
|
884
|
+
"type": {
|
|
885
|
+
"text": "boolean"
|
|
673
886
|
}
|
|
674
887
|
}
|
|
675
|
-
]
|
|
676
|
-
"description": "Sets focus on the button."
|
|
888
|
+
]
|
|
677
889
|
},
|
|
678
890
|
{
|
|
679
891
|
"kind": "method",
|
|
680
|
-
"name": "
|
|
681
|
-
|
|
892
|
+
"name": "#renderVariablesBrowse"
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
"attributes": [
|
|
896
|
+
{
|
|
897
|
+
"name": "catalog",
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "'giovanni'"
|
|
900
|
+
},
|
|
901
|
+
"default": "'giovanni'",
|
|
902
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
903
|
+
"fieldName": "catalog"
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"superclass": {
|
|
907
|
+
"name": "TerraElement",
|
|
908
|
+
"module": "/src/internal/terra-element.js"
|
|
909
|
+
},
|
|
910
|
+
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
911
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
912
|
+
"tagName": "terra-browse-variables",
|
|
913
|
+
"customElement": true,
|
|
914
|
+
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @dependency terra-giovanni-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
915
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
916
|
+
"status": "MVP",
|
|
917
|
+
"since": "1.0",
|
|
918
|
+
"dependencies": [
|
|
919
|
+
"terra-giovanni-search",
|
|
920
|
+
"terra-button",
|
|
921
|
+
"terra-skeleton",
|
|
922
|
+
"terra-icon",
|
|
923
|
+
"terra-loader"
|
|
924
|
+
]
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
"exports": [
|
|
928
|
+
{
|
|
929
|
+
"kind": "js",
|
|
930
|
+
"name": "default",
|
|
931
|
+
"declaration": {
|
|
932
|
+
"name": "TerraBrowseVariables",
|
|
933
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"kind": "javascript-module",
|
|
940
|
+
"path": "components/chip/chip.js",
|
|
941
|
+
"declarations": [
|
|
942
|
+
{
|
|
943
|
+
"kind": "class",
|
|
944
|
+
"description": "",
|
|
945
|
+
"name": "TerraChip",
|
|
946
|
+
"slots": [
|
|
947
|
+
{
|
|
948
|
+
"description": "The chip's label.",
|
|
949
|
+
"name": ""
|
|
950
|
+
}
|
|
951
|
+
],
|
|
952
|
+
"members": [
|
|
953
|
+
{
|
|
954
|
+
"kind": "field",
|
|
955
|
+
"name": "size",
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "'small' | 'medium' | 'large'"
|
|
958
|
+
},
|
|
959
|
+
"default": "'medium'",
|
|
960
|
+
"attribute": "size",
|
|
961
|
+
"reflects": true
|
|
682
962
|
},
|
|
683
963
|
{
|
|
684
|
-
"kind": "
|
|
685
|
-
"name": "
|
|
686
|
-
"
|
|
687
|
-
}
|
|
964
|
+
"kind": "field",
|
|
965
|
+
"name": "#handleRemoveClick",
|
|
966
|
+
"privacy": "private"
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"attributes": [
|
|
688
970
|
{
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
|
|
692
|
-
"type": {
|
|
693
|
-
"text": "HTMLFormElement | null"
|
|
694
|
-
}
|
|
971
|
+
"name": "size",
|
|
972
|
+
"type": {
|
|
973
|
+
"text": "'small' | 'medium' | 'large'"
|
|
695
974
|
},
|
|
696
|
-
"
|
|
697
|
-
|
|
975
|
+
"default": "'medium'",
|
|
976
|
+
"fieldName": "size"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"superclass": {
|
|
980
|
+
"name": "TerraElement",
|
|
981
|
+
"module": "/src/internal/terra-element.js"
|
|
982
|
+
},
|
|
983
|
+
"summary": "Used for contacts and tags",
|
|
984
|
+
"tagNameWithoutPrefix": "chip",
|
|
985
|
+
"tagName": "terra-chip",
|
|
986
|
+
"customElement": true,
|
|
987
|
+
"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 */",
|
|
988
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
989
|
+
"status": "stable",
|
|
990
|
+
"since": "1.0"
|
|
991
|
+
}
|
|
992
|
+
],
|
|
993
|
+
"exports": [
|
|
994
|
+
{
|
|
995
|
+
"kind": "js",
|
|
996
|
+
"name": "default",
|
|
997
|
+
"declaration": {
|
|
998
|
+
"name": "TerraChip",
|
|
999
|
+
"module": "components/chip/chip.js"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
]
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"kind": "javascript-module",
|
|
1006
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1007
|
+
"declarations": [
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "class",
|
|
1010
|
+
"description": "",
|
|
1011
|
+
"name": "TerraDateRangeSlider",
|
|
1012
|
+
"cssProperties": [
|
|
698
1013
|
{
|
|
699
|
-
"
|
|
700
|
-
"name": "
|
|
701
|
-
|
|
702
|
-
|
|
1014
|
+
"description": "An example CSS custom property.",
|
|
1015
|
+
"name": "--example"
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
1018
|
+
"cssParts": [
|
|
703
1019
|
{
|
|
704
|
-
"
|
|
705
|
-
"name": "
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
"type": {
|
|
710
|
-
"text": "string"
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
],
|
|
714
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
715
|
-
},
|
|
1020
|
+
"description": "The component's base wrapper.",
|
|
1021
|
+
"name": "base"
|
|
1022
|
+
}
|
|
1023
|
+
],
|
|
1024
|
+
"slots": [
|
|
716
1025
|
{
|
|
717
|
-
"
|
|
718
|
-
"name": "
|
|
719
|
-
"return": {
|
|
720
|
-
"type": {
|
|
721
|
-
"text": "string"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
"parameters": [
|
|
725
|
-
{
|
|
726
|
-
"name": "href",
|
|
727
|
-
"type": {
|
|
728
|
-
"text": "string"
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
]
|
|
1026
|
+
"description": "The default slot.",
|
|
1027
|
+
"name": ""
|
|
732
1028
|
},
|
|
733
1029
|
{
|
|
734
|
-
"
|
|
735
|
-
"name": "
|
|
736
|
-
"return": {
|
|
737
|
-
"type": {
|
|
738
|
-
"text": "string"
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
"parameters": [
|
|
742
|
-
{
|
|
743
|
-
"name": "size",
|
|
744
|
-
"type": {
|
|
745
|
-
"text": "string"
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
]
|
|
1030
|
+
"description": "An example slot.",
|
|
1031
|
+
"name": "example"
|
|
749
1032
|
}
|
|
750
1033
|
],
|
|
751
|
-
"
|
|
1034
|
+
"members": [
|
|
752
1035
|
{
|
|
753
|
-
"
|
|
1036
|
+
"kind": "field",
|
|
1037
|
+
"name": "slider",
|
|
754
1038
|
"type": {
|
|
755
|
-
"text": "
|
|
756
|
-
}
|
|
757
|
-
"default": "''",
|
|
758
|
-
"fieldName": "title"
|
|
1039
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1040
|
+
}
|
|
759
1041
|
},
|
|
760
1042
|
{
|
|
761
|
-
"
|
|
1043
|
+
"kind": "field",
|
|
1044
|
+
"name": "timeScale",
|
|
762
1045
|
"type": {
|
|
763
|
-
"text": "
|
|
1046
|
+
"text": "TimeScale"
|
|
764
1047
|
},
|
|
765
|
-
"default": "'
|
|
766
|
-
"
|
|
767
|
-
"fieldName": "variant"
|
|
1048
|
+
"default": "'daily'",
|
|
1049
|
+
"attribute": "time-scale"
|
|
768
1050
|
},
|
|
769
1051
|
{
|
|
770
|
-
"
|
|
1052
|
+
"kind": "field",
|
|
1053
|
+
"name": "minDate",
|
|
771
1054
|
"type": {
|
|
772
|
-
"text": "
|
|
1055
|
+
"text": "string"
|
|
773
1056
|
},
|
|
774
|
-
"
|
|
775
|
-
"description": "The button's size.",
|
|
776
|
-
"fieldName": "size"
|
|
1057
|
+
"attribute": "min-date"
|
|
777
1058
|
},
|
|
778
1059
|
{
|
|
779
|
-
"
|
|
1060
|
+
"kind": "field",
|
|
1061
|
+
"name": "maxDate",
|
|
780
1062
|
"type": {
|
|
781
|
-
"text": "
|
|
1063
|
+
"text": "string"
|
|
782
1064
|
},
|
|
783
|
-
"
|
|
784
|
-
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
785
|
-
"fieldName": "caret"
|
|
1065
|
+
"attribute": "max-date"
|
|
786
1066
|
},
|
|
787
1067
|
{
|
|
788
|
-
"
|
|
1068
|
+
"kind": "field",
|
|
1069
|
+
"name": "startDate",
|
|
789
1070
|
"type": {
|
|
790
|
-
"text": "
|
|
1071
|
+
"text": "string"
|
|
791
1072
|
},
|
|
792
|
-
"description": "The
|
|
793
|
-
"
|
|
1073
|
+
"description": "The start date for the time series plot.",
|
|
1074
|
+
"attribute": "start-date"
|
|
794
1075
|
},
|
|
795
1076
|
{
|
|
796
|
-
"
|
|
1077
|
+
"kind": "field",
|
|
1078
|
+
"name": "endDate",
|
|
797
1079
|
"type": {
|
|
798
|
-
"text": "
|
|
1080
|
+
"text": "string"
|
|
799
1081
|
},
|
|
800
|
-
"
|
|
801
|
-
"description": "Disables the button.",
|
|
802
|
-
"fieldName": "disabled"
|
|
1082
|
+
"attribute": "end-date"
|
|
803
1083
|
},
|
|
804
1084
|
{
|
|
805
|
-
"
|
|
1085
|
+
"kind": "field",
|
|
1086
|
+
"name": "disabled",
|
|
806
1087
|
"type": {
|
|
807
1088
|
"text": "boolean"
|
|
808
1089
|
},
|
|
809
1090
|
"default": "false",
|
|
810
|
-
"
|
|
811
|
-
"
|
|
1091
|
+
"attribute": "disabled",
|
|
1092
|
+
"reflects": true
|
|
812
1093
|
},
|
|
813
1094
|
{
|
|
814
|
-
"
|
|
1095
|
+
"kind": "field",
|
|
1096
|
+
"name": "hasPips",
|
|
815
1097
|
"type": {
|
|
816
1098
|
"text": "boolean"
|
|
817
1099
|
},
|
|
818
|
-
"default": "
|
|
819
|
-
"
|
|
820
|
-
"
|
|
1100
|
+
"default": "true",
|
|
1101
|
+
"attribute": "has-pips",
|
|
1102
|
+
"reflects": true
|
|
821
1103
|
},
|
|
822
1104
|
{
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"text": "boolean"
|
|
826
|
-
},
|
|
827
|
-
"default": "false",
|
|
828
|
-
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
829
|
-
"fieldName": "circle"
|
|
1105
|
+
"kind": "method",
|
|
1106
|
+
"name": "updateSlider"
|
|
830
1107
|
},
|
|
831
1108
|
{
|
|
832
|
-
"
|
|
833
|
-
"
|
|
834
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
835
|
-
},
|
|
836
|
-
"default": "'button'",
|
|
837
|
-
"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.",
|
|
838
|
-
"fieldName": "type"
|
|
1109
|
+
"kind": "method",
|
|
1110
|
+
"name": "disabledChanged"
|
|
839
1111
|
},
|
|
840
1112
|
{
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
"text": "string"
|
|
844
|
-
},
|
|
845
|
-
"default": "''",
|
|
846
|
-
"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.",
|
|
847
|
-
"fieldName": "name"
|
|
1113
|
+
"kind": "method",
|
|
1114
|
+
"name": "renderSlider"
|
|
848
1115
|
},
|
|
849
1116
|
{
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"text": "string"
|
|
853
|
-
},
|
|
854
|
-
"default": "''",
|
|
855
|
-
"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.",
|
|
856
|
-
"fieldName": "value"
|
|
1117
|
+
"kind": "method",
|
|
1118
|
+
"name": "renderEmptySlider"
|
|
857
1119
|
},
|
|
858
1120
|
{
|
|
859
|
-
"
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
},
|
|
863
|
-
"default": "''",
|
|
864
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
865
|
-
"fieldName": "href"
|
|
1121
|
+
"kind": "method",
|
|
1122
|
+
"name": "_getStep",
|
|
1123
|
+
"privacy": "private"
|
|
866
1124
|
},
|
|
867
1125
|
{
|
|
868
|
-
"
|
|
869
|
-
"
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
1126
|
+
"kind": "method",
|
|
1127
|
+
"name": "_getSliderFormatter",
|
|
1128
|
+
"privacy": "private",
|
|
1129
|
+
"return": {
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "Formatter"
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
874
1134
|
},
|
|
875
1135
|
{
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
1136
|
+
"kind": "method",
|
|
1137
|
+
"name": "_formatDate",
|
|
1138
|
+
"privacy": "private",
|
|
1139
|
+
"parameters": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "date",
|
|
1142
|
+
"type": {
|
|
1143
|
+
"text": "string | number | Date"
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
1149
|
+
"attributes": [
|
|
884
1150
|
{
|
|
885
|
-
"name": "
|
|
1151
|
+
"name": "time-scale",
|
|
886
1152
|
"type": {
|
|
887
|
-
"text": "
|
|
1153
|
+
"text": "TimeScale"
|
|
888
1154
|
},
|
|
889
|
-
"
|
|
890
|
-
"fieldName": "
|
|
1155
|
+
"default": "'daily'",
|
|
1156
|
+
"fieldName": "timeScale"
|
|
891
1157
|
},
|
|
892
1158
|
{
|
|
893
|
-
"name": "
|
|
1159
|
+
"name": "min-date",
|
|
894
1160
|
"type": {
|
|
895
1161
|
"text": "string"
|
|
896
1162
|
},
|
|
897
|
-
"
|
|
898
|
-
"fieldName": "form"
|
|
1163
|
+
"fieldName": "minDate"
|
|
899
1164
|
},
|
|
900
1165
|
{
|
|
901
|
-
"name": "
|
|
1166
|
+
"name": "max-date",
|
|
902
1167
|
"type": {
|
|
903
1168
|
"text": "string"
|
|
904
1169
|
},
|
|
905
|
-
"
|
|
906
|
-
"fieldName": "formAction"
|
|
1170
|
+
"fieldName": "maxDate"
|
|
907
1171
|
},
|
|
908
1172
|
{
|
|
909
|
-
"name": "
|
|
1173
|
+
"name": "start-date",
|
|
910
1174
|
"type": {
|
|
911
|
-
"text": "
|
|
1175
|
+
"text": "string"
|
|
912
1176
|
},
|
|
913
|
-
"description": "
|
|
914
|
-
"fieldName": "
|
|
1177
|
+
"description": "The start date for the time series plot.",
|
|
1178
|
+
"fieldName": "startDate"
|
|
915
1179
|
},
|
|
916
1180
|
{
|
|
917
|
-
"name": "
|
|
1181
|
+
"name": "end-date",
|
|
918
1182
|
"type": {
|
|
919
|
-
"text": "
|
|
1183
|
+
"text": "string"
|
|
920
1184
|
},
|
|
921
|
-
"
|
|
922
|
-
"fieldName": "formMethod"
|
|
1185
|
+
"fieldName": "endDate"
|
|
923
1186
|
},
|
|
924
1187
|
{
|
|
925
|
-
"name": "
|
|
1188
|
+
"name": "disabled",
|
|
926
1189
|
"type": {
|
|
927
1190
|
"text": "boolean"
|
|
928
1191
|
},
|
|
929
|
-
"
|
|
930
|
-
"fieldName": "
|
|
1192
|
+
"default": "false",
|
|
1193
|
+
"fieldName": "disabled"
|
|
931
1194
|
},
|
|
932
1195
|
{
|
|
933
|
-
"name": "
|
|
1196
|
+
"name": "has-pips",
|
|
934
1197
|
"type": {
|
|
935
|
-
"text": "
|
|
1198
|
+
"text": "boolean"
|
|
936
1199
|
},
|
|
937
|
-
"
|
|
938
|
-
"fieldName": "
|
|
1200
|
+
"default": "true",
|
|
1201
|
+
"fieldName": "hasPips"
|
|
939
1202
|
}
|
|
940
1203
|
],
|
|
941
1204
|
"superclass": {
|
|
942
1205
|
"name": "TerraElement",
|
|
943
1206
|
"module": "/src/internal/terra-element.js"
|
|
944
1207
|
},
|
|
945
|
-
"summary": "
|
|
946
|
-
"tagNameWithoutPrefix": "
|
|
947
|
-
"tagName": "terra-
|
|
1208
|
+
"summary": "Short summary of the component's intended use.",
|
|
1209
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
1210
|
+
"tagName": "terra-date-range-slider",
|
|
948
1211
|
"customElement": true,
|
|
949
|
-
"jsDoc": "/**\n * @summary
|
|
950
|
-
"documentation": "https://
|
|
951
|
-
"status": "
|
|
952
|
-
"since": "
|
|
1212
|
+
"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 */",
|
|
1213
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
1214
|
+
"status": "experimental",
|
|
1215
|
+
"since": "1.0"
|
|
953
1216
|
}
|
|
954
1217
|
],
|
|
955
1218
|
"exports": [
|
|
@@ -957,8 +1220,8 @@
|
|
|
957
1220
|
"kind": "js",
|
|
958
1221
|
"name": "default",
|
|
959
1222
|
"declaration": {
|
|
960
|
-
"name": "
|
|
961
|
-
"module": "components/
|
|
1223
|
+
"name": "TerraDateRangeSlider",
|
|
1224
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
962
1225
|
}
|
|
963
1226
|
}
|
|
964
1227
|
]
|
|
@@ -1220,91 +1483,268 @@
|
|
|
1220
1483
|
"privacy": "private"
|
|
1221
1484
|
},
|
|
1222
1485
|
{
|
|
1223
|
-
"kind": "field",
|
|
1224
|
-
"name": "#manageListboxVisibility",
|
|
1225
|
-
"privacy": "private"
|
|
1486
|
+
"kind": "field",
|
|
1487
|
+
"name": "#manageListboxVisibility",
|
|
1488
|
+
"privacy": "private"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"kind": "field",
|
|
1492
|
+
"name": "#selectOption",
|
|
1493
|
+
"privacy": "private"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"attributes": [
|
|
1497
|
+
{
|
|
1498
|
+
"name": "label",
|
|
1499
|
+
"type": {
|
|
1500
|
+
"text": "string"
|
|
1501
|
+
},
|
|
1502
|
+
"default": "'Search for Items'",
|
|
1503
|
+
"description": "Label the combobox with this.",
|
|
1504
|
+
"fieldName": "label"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "name",
|
|
1508
|
+
"type": {
|
|
1509
|
+
"text": "string"
|
|
1510
|
+
},
|
|
1511
|
+
"default": "'Item'",
|
|
1512
|
+
"description": "name the combobox with this.",
|
|
1513
|
+
"fieldName": "name"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "placeholder",
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "string"
|
|
1519
|
+
},
|
|
1520
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1521
|
+
"fieldName": "placeholder"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "hide-help",
|
|
1525
|
+
"type": {
|
|
1526
|
+
"text": "boolean"
|
|
1527
|
+
},
|
|
1528
|
+
"default": "false",
|
|
1529
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1530
|
+
"fieldName": "hideHelp"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "hide-label",
|
|
1534
|
+
"type": {
|
|
1535
|
+
"text": "boolean"
|
|
1536
|
+
},
|
|
1537
|
+
"default": "false",
|
|
1538
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1539
|
+
"fieldName": "hideLabel"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "status",
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1545
|
+
},
|
|
1546
|
+
"default": "'INITIAL'",
|
|
1547
|
+
"description": "status of the content",
|
|
1548
|
+
"fieldName": "status"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "content",
|
|
1552
|
+
"type": {
|
|
1553
|
+
"text": "Content"
|
|
1554
|
+
},
|
|
1555
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1556
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1557
|
+
"fieldName": "content"
|
|
1558
|
+
}
|
|
1559
|
+
],
|
|
1560
|
+
"superclass": {
|
|
1561
|
+
"name": "TerraElement",
|
|
1562
|
+
"module": "/src/internal/terra-element.js"
|
|
1563
|
+
},
|
|
1564
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1565
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1566
|
+
"tagName": "terra-combobox",
|
|
1567
|
+
"customElement": true,
|
|
1568
|
+
"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 */",
|
|
1569
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1570
|
+
"status": "experimental",
|
|
1571
|
+
"since": "1.0"
|
|
1572
|
+
}
|
|
1573
|
+
],
|
|
1574
|
+
"exports": [
|
|
1575
|
+
{
|
|
1576
|
+
"kind": "js",
|
|
1577
|
+
"name": "default",
|
|
1578
|
+
"declaration": {
|
|
1579
|
+
"name": "TerraCombobox",
|
|
1580
|
+
"module": "components/combobox/combobox.js"
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
]
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "javascript-module",
|
|
1587
|
+
"path": "components/dialog/dialog.js",
|
|
1588
|
+
"declarations": [
|
|
1589
|
+
{
|
|
1590
|
+
"kind": "class",
|
|
1591
|
+
"description": "",
|
|
1592
|
+
"name": "TerraDialog",
|
|
1593
|
+
"slots": [
|
|
1594
|
+
{
|
|
1595
|
+
"description": "The dialog's main content",
|
|
1596
|
+
"name": ""
|
|
1597
|
+
}
|
|
1598
|
+
],
|
|
1599
|
+
"members": [
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "field",
|
|
1602
|
+
"name": "dialogEl",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "HTMLDialogElement"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"kind": "field",
|
|
1609
|
+
"name": "id",
|
|
1610
|
+
"type": {
|
|
1611
|
+
"text": "string"
|
|
1612
|
+
},
|
|
1613
|
+
"description": "the ID to be used for accessibility associations",
|
|
1614
|
+
"attribute": "id"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"kind": "field",
|
|
1618
|
+
"name": "width",
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "string"
|
|
1621
|
+
},
|
|
1622
|
+
"default": "'500px'",
|
|
1623
|
+
"description": "the width of the dialog",
|
|
1624
|
+
"attribute": "width",
|
|
1625
|
+
"reflects": true
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"kind": "field",
|
|
1629
|
+
"name": "open",
|
|
1630
|
+
"type": {
|
|
1631
|
+
"text": "boolean"
|
|
1632
|
+
},
|
|
1633
|
+
"default": "false",
|
|
1634
|
+
"description": "used to set the dialog's open state",
|
|
1635
|
+
"attribute": "open",
|
|
1636
|
+
"reflects": true
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "field",
|
|
1640
|
+
"name": "clickOutsideToClose",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1643
|
+
},
|
|
1644
|
+
"default": "true",
|
|
1645
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
1646
|
+
"attribute": "click-outside-to-close",
|
|
1647
|
+
"reflects": true
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "field",
|
|
1651
|
+
"name": "showBackdrop",
|
|
1652
|
+
"type": {
|
|
1653
|
+
"text": "boolean"
|
|
1654
|
+
},
|
|
1655
|
+
"default": "true",
|
|
1656
|
+
"description": "Show a backdrop behind the dialog",
|
|
1657
|
+
"attribute": "show-backdrop",
|
|
1658
|
+
"reflects": true
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"kind": "method",
|
|
1662
|
+
"name": "toggle"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"kind": "method",
|
|
1666
|
+
"name": "show"
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "method",
|
|
1670
|
+
"name": "hide"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"kind": "method",
|
|
1674
|
+
"name": "#handleBackdropClick"
|
|
1675
|
+
}
|
|
1676
|
+
],
|
|
1677
|
+
"events": [
|
|
1678
|
+
{
|
|
1679
|
+
"description": "Emitted when the dialog opens.",
|
|
1680
|
+
"name": "terra-dialog-show",
|
|
1681
|
+
"reactName": "onTerraDialogShow",
|
|
1682
|
+
"eventName": "TerraDialogShowEvent"
|
|
1226
1683
|
},
|
|
1227
1684
|
{
|
|
1228
|
-
"
|
|
1229
|
-
"name": "
|
|
1230
|
-
"
|
|
1685
|
+
"description": "Emitted when the dialog closes.",
|
|
1686
|
+
"name": "terra-dialog-hide",
|
|
1687
|
+
"reactName": "onTerraDialogHide",
|
|
1688
|
+
"eventName": "TerraDialogHideEvent"
|
|
1231
1689
|
}
|
|
1232
1690
|
],
|
|
1233
1691
|
"attributes": [
|
|
1234
1692
|
{
|
|
1235
|
-
"name": "
|
|
1236
|
-
"type": {
|
|
1237
|
-
"text": "string"
|
|
1238
|
-
},
|
|
1239
|
-
"default": "'Search for Items'",
|
|
1240
|
-
"description": "Label the combobox with this.",
|
|
1241
|
-
"fieldName": "label"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"name": "name",
|
|
1693
|
+
"name": "id",
|
|
1245
1694
|
"type": {
|
|
1246
1695
|
"text": "string"
|
|
1247
1696
|
},
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1250
|
-
"fieldName": "name"
|
|
1697
|
+
"description": "the ID to be used for accessibility associations",
|
|
1698
|
+
"fieldName": "id"
|
|
1251
1699
|
},
|
|
1252
1700
|
{
|
|
1253
|
-
"name": "
|
|
1701
|
+
"name": "width",
|
|
1254
1702
|
"type": {
|
|
1255
1703
|
"text": "string"
|
|
1256
1704
|
},
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
1705
|
+
"default": "'500px'",
|
|
1706
|
+
"description": "the width of the dialog",
|
|
1707
|
+
"fieldName": "width"
|
|
1259
1708
|
},
|
|
1260
1709
|
{
|
|
1261
|
-
"name": "
|
|
1710
|
+
"name": "open",
|
|
1262
1711
|
"type": {
|
|
1263
1712
|
"text": "boolean"
|
|
1264
1713
|
},
|
|
1265
1714
|
"default": "false",
|
|
1266
|
-
"description": "
|
|
1267
|
-
"fieldName": "
|
|
1715
|
+
"description": "used to set the dialog's open state",
|
|
1716
|
+
"fieldName": "open"
|
|
1268
1717
|
},
|
|
1269
1718
|
{
|
|
1270
|
-
"name": "
|
|
1719
|
+
"name": "click-outside-to-close",
|
|
1271
1720
|
"type": {
|
|
1272
1721
|
"text": "boolean"
|
|
1273
1722
|
},
|
|
1274
|
-
"default": "
|
|
1275
|
-
"description": "
|
|
1276
|
-
"fieldName": "
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
"name": "status",
|
|
1280
|
-
"type": {
|
|
1281
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1282
|
-
},
|
|
1283
|
-
"default": "'INITIAL'",
|
|
1284
|
-
"description": "status of the content",
|
|
1285
|
-
"fieldName": "status"
|
|
1723
|
+
"default": "true",
|
|
1724
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
1725
|
+
"fieldName": "clickOutsideToClose"
|
|
1286
1726
|
},
|
|
1287
1727
|
{
|
|
1288
|
-
"name": "
|
|
1728
|
+
"name": "show-backdrop",
|
|
1289
1729
|
"type": {
|
|
1290
|
-
"text": "
|
|
1730
|
+
"text": "boolean"
|
|
1291
1731
|
},
|
|
1292
|
-
"default": "
|
|
1293
|
-
"description": "
|
|
1294
|
-
"fieldName": "
|
|
1732
|
+
"default": "true",
|
|
1733
|
+
"description": "Show a backdrop behind the dialog",
|
|
1734
|
+
"fieldName": "showBackdrop"
|
|
1295
1735
|
}
|
|
1296
1736
|
],
|
|
1297
1737
|
"superclass": {
|
|
1298
1738
|
"name": "TerraElement",
|
|
1299
1739
|
"module": "/src/internal/terra-element.js"
|
|
1300
1740
|
},
|
|
1301
|
-
"summary": "
|
|
1302
|
-
"tagNameWithoutPrefix": "
|
|
1303
|
-
"tagName": "terra-
|
|
1741
|
+
"summary": "Used to create both modal and non-modal dialog boxes.",
|
|
1742
|
+
"tagNameWithoutPrefix": "dialog",
|
|
1743
|
+
"tagName": "terra-dialog",
|
|
1304
1744
|
"customElement": true,
|
|
1305
|
-
"jsDoc": "/**\n * @summary
|
|
1306
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1307
|
-
"status": "
|
|
1745
|
+
"jsDoc": "/**\n * @summary Used to create both modal and non-modal dialog boxes.\n * @documentation https://disc.gsfc.nasa.gov/components/dialog\n * @status stable\n * @since 1.0\n *\n * @slot - The dialog's main content\n *\n * @event terra-dialog-show - Emitted when the dialog opens.\n * @event terra-dialog-hide - Emitted when the dialog closes.\n */",
|
|
1746
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/dialog",
|
|
1747
|
+
"status": "stable",
|
|
1308
1748
|
"since": "1.0"
|
|
1309
1749
|
}
|
|
1310
1750
|
],
|
|
@@ -1313,222 +1753,223 @@
|
|
|
1313
1753
|
"kind": "js",
|
|
1314
1754
|
"name": "default",
|
|
1315
1755
|
"declaration": {
|
|
1316
|
-
"name": "
|
|
1317
|
-
"module": "components/
|
|
1756
|
+
"name": "TerraDialog",
|
|
1757
|
+
"module": "components/dialog/dialog.js"
|
|
1318
1758
|
}
|
|
1319
1759
|
}
|
|
1320
1760
|
]
|
|
1321
1761
|
},
|
|
1322
1762
|
{
|
|
1323
1763
|
"kind": "javascript-module",
|
|
1324
|
-
"path": "components/
|
|
1764
|
+
"path": "components/icon/icon.js",
|
|
1325
1765
|
"declarations": [
|
|
1326
1766
|
{
|
|
1327
1767
|
"kind": "class",
|
|
1328
1768
|
"description": "",
|
|
1329
|
-
"name": "
|
|
1330
|
-
"cssProperties": [
|
|
1331
|
-
{
|
|
1332
|
-
"description": "An example CSS custom property.",
|
|
1333
|
-
"name": "--example"
|
|
1334
|
-
}
|
|
1335
|
-
],
|
|
1769
|
+
"name": "TerraIcon",
|
|
1336
1770
|
"cssParts": [
|
|
1337
1771
|
{
|
|
1338
|
-
"description": "The
|
|
1339
|
-
"name": "
|
|
1340
|
-
}
|
|
1341
|
-
],
|
|
1342
|
-
"slots": [
|
|
1343
|
-
{
|
|
1344
|
-
"description": "The default slot.",
|
|
1345
|
-
"name": ""
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"description": "An example slot.",
|
|
1349
|
-
"name": "example"
|
|
1772
|
+
"description": "The internal SVG element.",
|
|
1773
|
+
"name": "svg"
|
|
1350
1774
|
}
|
|
1351
1775
|
],
|
|
1352
1776
|
"members": [
|
|
1353
1777
|
{
|
|
1354
1778
|
"kind": "field",
|
|
1355
|
-
"name": "
|
|
1779
|
+
"name": "#initialRender",
|
|
1780
|
+
"privacy": "private",
|
|
1356
1781
|
"type": {
|
|
1357
|
-
"text": "
|
|
1358
|
-
}
|
|
1782
|
+
"text": "boolean"
|
|
1783
|
+
},
|
|
1784
|
+
"default": "false"
|
|
1359
1785
|
},
|
|
1360
1786
|
{
|
|
1361
1787
|
"kind": "field",
|
|
1362
|
-
"name": "
|
|
1788
|
+
"name": "svg",
|
|
1363
1789
|
"type": {
|
|
1364
|
-
"text": "
|
|
1790
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
1365
1791
|
},
|
|
1366
|
-
"default": "
|
|
1367
|
-
"attribute": "time-scale"
|
|
1792
|
+
"default": "null"
|
|
1368
1793
|
},
|
|
1369
1794
|
{
|
|
1370
1795
|
"kind": "field",
|
|
1371
|
-
"name": "
|
|
1796
|
+
"name": "name",
|
|
1372
1797
|
"type": {
|
|
1373
|
-
"text": "string"
|
|
1798
|
+
"text": "string | undefined"
|
|
1374
1799
|
},
|
|
1375
|
-
"
|
|
1800
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1801
|
+
"attribute": "name",
|
|
1802
|
+
"reflects": true
|
|
1376
1803
|
},
|
|
1377
1804
|
{
|
|
1378
1805
|
"kind": "field",
|
|
1379
|
-
"name": "
|
|
1806
|
+
"name": "src",
|
|
1380
1807
|
"type": {
|
|
1381
|
-
"text": "string"
|
|
1808
|
+
"text": "string | undefined"
|
|
1382
1809
|
},
|
|
1383
|
-
"
|
|
1810
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
1811
|
+
"attribute": "src"
|
|
1384
1812
|
},
|
|
1385
1813
|
{
|
|
1386
1814
|
"kind": "field",
|
|
1387
|
-
"name": "
|
|
1815
|
+
"name": "label",
|
|
1388
1816
|
"type": {
|
|
1389
1817
|
"text": "string"
|
|
1390
1818
|
},
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1819
|
+
"default": "''",
|
|
1820
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1821
|
+
"attribute": "label"
|
|
1393
1822
|
},
|
|
1394
1823
|
{
|
|
1395
1824
|
"kind": "field",
|
|
1396
|
-
"name": "
|
|
1825
|
+
"name": "library",
|
|
1397
1826
|
"type": {
|
|
1398
|
-
"text": "string"
|
|
1827
|
+
"text": "'default' | 'heroicons' | string"
|
|
1399
1828
|
},
|
|
1400
|
-
"
|
|
1829
|
+
"default": "'default'",
|
|
1830
|
+
"description": "The name of a registered custom icon library.",
|
|
1831
|
+
"attribute": "library",
|
|
1832
|
+
"reflects": true
|
|
1401
1833
|
},
|
|
1402
1834
|
{
|
|
1403
1835
|
"kind": "field",
|
|
1404
|
-
"name": "
|
|
1836
|
+
"name": "color",
|
|
1405
1837
|
"type": {
|
|
1406
|
-
"text": "
|
|
1838
|
+
"text": "string | null"
|
|
1407
1839
|
},
|
|
1408
|
-
"default": "
|
|
1409
|
-
"
|
|
1410
|
-
"
|
|
1840
|
+
"default": "null",
|
|
1841
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1842
|
+
"attribute": "color"
|
|
1411
1843
|
},
|
|
1412
1844
|
{
|
|
1413
1845
|
"kind": "field",
|
|
1414
|
-
"name": "
|
|
1846
|
+
"name": "fontSize",
|
|
1415
1847
|
"type": {
|
|
1416
|
-
"text": "
|
|
1848
|
+
"text": "string | null"
|
|
1417
1849
|
},
|
|
1418
|
-
"default": "
|
|
1419
|
-
"
|
|
1420
|
-
"
|
|
1850
|
+
"default": "null",
|
|
1851
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1852
|
+
"attribute": "font-size"
|
|
1421
1853
|
},
|
|
1422
1854
|
{
|
|
1423
1855
|
"kind": "method",
|
|
1424
|
-
"name": "
|
|
1856
|
+
"name": "#resolveIcon",
|
|
1857
|
+
"return": {
|
|
1858
|
+
"type": {
|
|
1859
|
+
"text": "Promise<SVGResult>"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
"parameters": [
|
|
1863
|
+
{
|
|
1864
|
+
"name": "url",
|
|
1865
|
+
"type": {
|
|
1866
|
+
"text": "string"
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
],
|
|
1870
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1425
1871
|
},
|
|
1426
1872
|
{
|
|
1427
1873
|
"kind": "method",
|
|
1428
|
-
"name": "
|
|
1874
|
+
"name": "#getIconSource",
|
|
1875
|
+
"return": {
|
|
1876
|
+
"type": {
|
|
1877
|
+
"text": "IconSource"
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1429
1880
|
},
|
|
1430
1881
|
{
|
|
1431
1882
|
"kind": "method",
|
|
1432
|
-
"name": "
|
|
1883
|
+
"name": "#styleFromAttributes",
|
|
1884
|
+
"description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
|
|
1433
1885
|
},
|
|
1434
1886
|
{
|
|
1435
1887
|
"kind": "method",
|
|
1436
|
-
"name": "
|
|
1888
|
+
"name": "handleLabelChange"
|
|
1437
1889
|
},
|
|
1438
1890
|
{
|
|
1439
1891
|
"kind": "method",
|
|
1440
|
-
"name": "
|
|
1441
|
-
|
|
1442
|
-
|
|
1892
|
+
"name": "setIcon"
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
"events": [
|
|
1443
1896
|
{
|
|
1444
|
-
"
|
|
1445
|
-
"name": "
|
|
1446
|
-
"
|
|
1447
|
-
"
|
|
1448
|
-
"type": {
|
|
1449
|
-
"text": "Formatter"
|
|
1450
|
-
}
|
|
1451
|
-
}
|
|
1897
|
+
"description": "Emitted when the icon has loaded.",
|
|
1898
|
+
"name": "terra-load",
|
|
1899
|
+
"reactName": "onTerraLoad",
|
|
1900
|
+
"eventName": "TerraLoadEvent"
|
|
1452
1901
|
},
|
|
1453
1902
|
{
|
|
1454
|
-
"
|
|
1455
|
-
"name": "
|
|
1456
|
-
"
|
|
1457
|
-
"
|
|
1458
|
-
{
|
|
1459
|
-
"name": "date",
|
|
1460
|
-
"type": {
|
|
1461
|
-
"text": "string | number | Date"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
]
|
|
1903
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
1904
|
+
"name": "terra-error",
|
|
1905
|
+
"reactName": "onTerraError",
|
|
1906
|
+
"eventName": "TerraErrorEvent"
|
|
1465
1907
|
}
|
|
1466
1908
|
],
|
|
1467
1909
|
"attributes": [
|
|
1468
1910
|
{
|
|
1469
|
-
"name": "
|
|
1470
|
-
"type": {
|
|
1471
|
-
"text": "TimeScale"
|
|
1472
|
-
},
|
|
1473
|
-
"default": "'daily'",
|
|
1474
|
-
"fieldName": "timeScale"
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"name": "min-date",
|
|
1911
|
+
"name": "name",
|
|
1478
1912
|
"type": {
|
|
1479
|
-
"text": "string"
|
|
1913
|
+
"text": "string | undefined"
|
|
1480
1914
|
},
|
|
1481
|
-
"
|
|
1915
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
1916
|
+
"fieldName": "name"
|
|
1482
1917
|
},
|
|
1483
1918
|
{
|
|
1484
|
-
"name": "
|
|
1919
|
+
"name": "src",
|
|
1485
1920
|
"type": {
|
|
1486
|
-
"text": "string"
|
|
1921
|
+
"text": "string | undefined"
|
|
1487
1922
|
},
|
|
1488
|
-
"
|
|
1923
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
1924
|
+
"fieldName": "src"
|
|
1489
1925
|
},
|
|
1490
1926
|
{
|
|
1491
|
-
"name": "
|
|
1927
|
+
"name": "label",
|
|
1492
1928
|
"type": {
|
|
1493
1929
|
"text": "string"
|
|
1494
1930
|
},
|
|
1495
|
-
"
|
|
1496
|
-
"
|
|
1931
|
+
"default": "''",
|
|
1932
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
1933
|
+
"fieldName": "label"
|
|
1497
1934
|
},
|
|
1498
1935
|
{
|
|
1499
|
-
"name": "
|
|
1936
|
+
"name": "library",
|
|
1500
1937
|
"type": {
|
|
1501
|
-
"text": "string"
|
|
1938
|
+
"text": "'default' | 'heroicons' | string"
|
|
1502
1939
|
},
|
|
1503
|
-
"
|
|
1940
|
+
"default": "'default'",
|
|
1941
|
+
"description": "The name of a registered custom icon library.",
|
|
1942
|
+
"fieldName": "library"
|
|
1504
1943
|
},
|
|
1505
1944
|
{
|
|
1506
|
-
"name": "
|
|
1945
|
+
"name": "color",
|
|
1507
1946
|
"type": {
|
|
1508
|
-
"text": "
|
|
1947
|
+
"text": "string | null"
|
|
1509
1948
|
},
|
|
1510
|
-
"default": "
|
|
1511
|
-
"
|
|
1949
|
+
"default": "null",
|
|
1950
|
+
"description": "The CSS color to assign to the SVG.",
|
|
1951
|
+
"fieldName": "color"
|
|
1512
1952
|
},
|
|
1513
1953
|
{
|
|
1514
|
-
"name": "
|
|
1954
|
+
"name": "font-size",
|
|
1515
1955
|
"type": {
|
|
1516
|
-
"text": "
|
|
1956
|
+
"text": "string | null"
|
|
1517
1957
|
},
|
|
1518
|
-
"default": "
|
|
1519
|
-
"
|
|
1958
|
+
"default": "null",
|
|
1959
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
1960
|
+
"fieldName": "fontSize"
|
|
1520
1961
|
}
|
|
1521
1962
|
],
|
|
1522
1963
|
"superclass": {
|
|
1523
1964
|
"name": "TerraElement",
|
|
1524
1965
|
"module": "/src/internal/terra-element.js"
|
|
1525
1966
|
},
|
|
1526
|
-
"summary": "
|
|
1527
|
-
"tagNameWithoutPrefix": "
|
|
1528
|
-
"tagName": "terra-
|
|
1967
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
1968
|
+
"tagNameWithoutPrefix": "icon",
|
|
1969
|
+
"tagName": "terra-icon",
|
|
1529
1970
|
"customElement": true,
|
|
1530
|
-
"jsDoc": "/**\n * @summary
|
|
1531
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1971
|
+
"jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
|
|
1972
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
1532
1973
|
"status": "experimental",
|
|
1533
1974
|
"since": "1.0"
|
|
1534
1975
|
}
|
|
@@ -1538,8 +1979,8 @@
|
|
|
1538
1979
|
"kind": "js",
|
|
1539
1980
|
"name": "default",
|
|
1540
1981
|
"declaration": {
|
|
1541
|
-
"name": "
|
|
1542
|
-
"module": "components/
|
|
1982
|
+
"name": "TerraIcon",
|
|
1983
|
+
"module": "components/icon/icon.js"
|
|
1543
1984
|
}
|
|
1544
1985
|
}
|
|
1545
1986
|
]
|
|
@@ -1756,11 +2197,6 @@
|
|
|
1756
2197
|
"kind": "method",
|
|
1757
2198
|
"name": "toggle"
|
|
1758
2199
|
},
|
|
1759
|
-
{
|
|
1760
|
-
"kind": "field",
|
|
1761
|
-
"name": "#dispatchChange",
|
|
1762
|
-
"privacy": "private"
|
|
1763
|
-
},
|
|
1764
2200
|
{
|
|
1765
2201
|
"kind": "field",
|
|
1766
2202
|
"name": "#handleComboboxChange",
|
|
@@ -1797,6 +2233,10 @@
|
|
|
1797
2233
|
}
|
|
1798
2234
|
}
|
|
1799
2235
|
]
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"kind": "method",
|
|
2239
|
+
"name": "#clearSearch"
|
|
1800
2240
|
}
|
|
1801
2241
|
],
|
|
1802
2242
|
"events": [
|
|
@@ -1959,267 +2399,41 @@
|
|
|
1959
2399
|
{
|
|
1960
2400
|
"name": "variant",
|
|
1961
2401
|
"type": {
|
|
1962
|
-
"text": "'small' | 'large' | 'orbit'"
|
|
1963
|
-
},
|
|
1964
|
-
"default": "'large'",
|
|
1965
|
-
"description": "The loader's variant",
|
|
1966
|
-
"fieldName": "variant"
|
|
1967
|
-
},
|
|
1968
|
-
{
|
|
1969
|
-
"name": "percent",
|
|
1970
|
-
"type": {
|
|
1971
|
-
"text": "string"
|
|
1972
|
-
},
|
|
1973
|
-
"default": "'0'",
|
|
1974
|
-
"description": "The percent complete for the loader to display",
|
|
1975
|
-
"fieldName": "percent"
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
"name": "indeterminate",
|
|
1979
|
-
"type": {
|
|
1980
|
-
"text": "boolean"
|
|
1981
|
-
},
|
|
1982
|
-
"default": "false",
|
|
1983
|
-
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
1984
|
-
"fieldName": "indeterminate"
|
|
1985
|
-
}
|
|
1986
|
-
],
|
|
1987
|
-
"superclass": {
|
|
1988
|
-
"name": "TerraElement",
|
|
1989
|
-
"module": "/src/internal/terra-element.js"
|
|
1990
|
-
},
|
|
1991
|
-
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
1992
|
-
"tagNameWithoutPrefix": "loader",
|
|
1993
|
-
"tagName": "terra-loader",
|
|
1994
|
-
"customElement": true,
|
|
1995
|
-
"jsDoc": "/**\n * @summary Loaders are used to indicate there is content that is loading.\n * @documentation https://disc.gsfc.nasa.gov/components/loader\n * @status experimental\n * @since 1.0\n *\n *\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
1996
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
1997
|
-
"status": "experimental",
|
|
1998
|
-
"since": "1.0"
|
|
1999
|
-
}
|
|
2000
|
-
],
|
|
2001
|
-
"exports": [
|
|
2002
|
-
{
|
|
2003
|
-
"kind": "js",
|
|
2004
|
-
"name": "default",
|
|
2005
|
-
"declaration": {
|
|
2006
|
-
"name": "TerraLoader",
|
|
2007
|
-
"module": "components/loader/loader.js"
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
]
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
"kind": "javascript-module",
|
|
2014
|
-
"path": "components/icon/icon.js",
|
|
2015
|
-
"declarations": [
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "class",
|
|
2018
|
-
"description": "",
|
|
2019
|
-
"name": "TerraIcon",
|
|
2020
|
-
"cssParts": [
|
|
2021
|
-
{
|
|
2022
|
-
"description": "The internal SVG element.",
|
|
2023
|
-
"name": "svg"
|
|
2024
|
-
}
|
|
2025
|
-
],
|
|
2026
|
-
"members": [
|
|
2027
|
-
{
|
|
2028
|
-
"kind": "field",
|
|
2029
|
-
"name": "#initialRender",
|
|
2030
|
-
"privacy": "private",
|
|
2031
|
-
"type": {
|
|
2032
|
-
"text": "boolean"
|
|
2033
|
-
},
|
|
2034
|
-
"default": "false"
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
"kind": "field",
|
|
2038
|
-
"name": "svg",
|
|
2039
|
-
"type": {
|
|
2040
|
-
"text": "SVGElement | HTMLTemplateResult | null"
|
|
2041
|
-
},
|
|
2042
|
-
"default": "null"
|
|
2043
|
-
},
|
|
2044
|
-
{
|
|
2045
|
-
"kind": "field",
|
|
2046
|
-
"name": "name",
|
|
2047
|
-
"type": {
|
|
2048
|
-
"text": "string | undefined"
|
|
2049
|
-
},
|
|
2050
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2051
|
-
"attribute": "name",
|
|
2052
|
-
"reflects": true
|
|
2053
|
-
},
|
|
2054
|
-
{
|
|
2055
|
-
"kind": "field",
|
|
2056
|
-
"name": "src",
|
|
2057
|
-
"type": {
|
|
2058
|
-
"text": "string | undefined"
|
|
2059
|
-
},
|
|
2060
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2061
|
-
"attribute": "src"
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "field",
|
|
2065
|
-
"name": "label",
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "string"
|
|
2068
|
-
},
|
|
2069
|
-
"default": "''",
|
|
2070
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2071
|
-
"attribute": "label"
|
|
2072
|
-
},
|
|
2073
|
-
{
|
|
2074
|
-
"kind": "field",
|
|
2075
|
-
"name": "library",
|
|
2076
|
-
"type": {
|
|
2077
|
-
"text": "'default' | 'heroicons' | string"
|
|
2078
|
-
},
|
|
2079
|
-
"default": "'default'",
|
|
2080
|
-
"description": "The name of a registered custom icon library.",
|
|
2081
|
-
"attribute": "library",
|
|
2082
|
-
"reflects": true
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"kind": "field",
|
|
2086
|
-
"name": "color",
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "string | null"
|
|
2089
|
-
},
|
|
2090
|
-
"default": "null",
|
|
2091
|
-
"description": "The CSS color to assign to the SVG.",
|
|
2092
|
-
"attribute": "color"
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"kind": "field",
|
|
2096
|
-
"name": "fontSize",
|
|
2097
|
-
"type": {
|
|
2098
|
-
"text": "string | null"
|
|
2099
|
-
},
|
|
2100
|
-
"default": "null",
|
|
2101
|
-
"description": "The CSS font-size to assign to the SVG.",
|
|
2102
|
-
"attribute": "font-size"
|
|
2103
|
-
},
|
|
2104
|
-
{
|
|
2105
|
-
"kind": "method",
|
|
2106
|
-
"name": "#resolveIcon",
|
|
2107
|
-
"return": {
|
|
2108
|
-
"type": {
|
|
2109
|
-
"text": "Promise<SVGResult>"
|
|
2110
|
-
}
|
|
2111
|
-
},
|
|
2112
|
-
"parameters": [
|
|
2113
|
-
{
|
|
2114
|
-
"name": "url",
|
|
2115
|
-
"type": {
|
|
2116
|
-
"text": "string"
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
],
|
|
2120
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"kind": "method",
|
|
2124
|
-
"name": "#getIconSource",
|
|
2125
|
-
"return": {
|
|
2126
|
-
"type": {
|
|
2127
|
-
"text": "IconSource"
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "method",
|
|
2133
|
-
"name": "#styleFromAttributes",
|
|
2134
|
-
"description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
|
|
2135
|
-
},
|
|
2136
|
-
{
|
|
2137
|
-
"kind": "method",
|
|
2138
|
-
"name": "handleLabelChange"
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "method",
|
|
2142
|
-
"name": "setIcon"
|
|
2143
|
-
}
|
|
2144
|
-
],
|
|
2145
|
-
"events": [
|
|
2146
|
-
{
|
|
2147
|
-
"description": "Emitted when the icon has loaded.",
|
|
2148
|
-
"name": "terra-load",
|
|
2149
|
-
"reactName": "onTerraLoad",
|
|
2150
|
-
"eventName": "TerraLoadEvent"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"description": "Emitted when the icon fails to load due to an error.",
|
|
2154
|
-
"name": "terra-error",
|
|
2155
|
-
"reactName": "onTerraError",
|
|
2156
|
-
"eventName": "TerraErrorEvent"
|
|
2157
|
-
}
|
|
2158
|
-
],
|
|
2159
|
-
"attributes": [
|
|
2160
|
-
{
|
|
2161
|
-
"name": "name",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string | undefined"
|
|
2164
|
-
},
|
|
2165
|
-
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2166
|
-
"fieldName": "name"
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"name": "src",
|
|
2170
|
-
"type": {
|
|
2171
|
-
"text": "string | undefined"
|
|
2172
|
-
},
|
|
2173
|
-
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2174
|
-
"fieldName": "src"
|
|
2175
|
-
},
|
|
2176
|
-
{
|
|
2177
|
-
"name": "label",
|
|
2178
|
-
"type": {
|
|
2179
|
-
"text": "string"
|
|
2180
|
-
},
|
|
2181
|
-
"default": "''",
|
|
2182
|
-
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2183
|
-
"fieldName": "label"
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "library",
|
|
2187
|
-
"type": {
|
|
2188
|
-
"text": "'default' | 'heroicons' | string"
|
|
2402
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
2189
2403
|
},
|
|
2190
|
-
"default": "'
|
|
2191
|
-
"description": "The
|
|
2192
|
-
"fieldName": "
|
|
2404
|
+
"default": "'large'",
|
|
2405
|
+
"description": "The loader's variant",
|
|
2406
|
+
"fieldName": "variant"
|
|
2193
2407
|
},
|
|
2194
2408
|
{
|
|
2195
|
-
"name": "
|
|
2409
|
+
"name": "percent",
|
|
2196
2410
|
"type": {
|
|
2197
|
-
"text": "string
|
|
2411
|
+
"text": "string"
|
|
2198
2412
|
},
|
|
2199
|
-
"default": "
|
|
2200
|
-
"description": "The
|
|
2201
|
-
"fieldName": "
|
|
2413
|
+
"default": "'0'",
|
|
2414
|
+
"description": "The percent complete for the loader to display",
|
|
2415
|
+
"fieldName": "percent"
|
|
2202
2416
|
},
|
|
2203
2417
|
{
|
|
2204
|
-
"name": "
|
|
2418
|
+
"name": "indeterminate",
|
|
2205
2419
|
"type": {
|
|
2206
|
-
"text": "
|
|
2420
|
+
"text": "boolean"
|
|
2207
2421
|
},
|
|
2208
|
-
"default": "
|
|
2209
|
-
"description": "
|
|
2210
|
-
"fieldName": "
|
|
2422
|
+
"default": "false",
|
|
2423
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
2424
|
+
"fieldName": "indeterminate"
|
|
2211
2425
|
}
|
|
2212
2426
|
],
|
|
2213
2427
|
"superclass": {
|
|
2214
2428
|
"name": "TerraElement",
|
|
2215
2429
|
"module": "/src/internal/terra-element.js"
|
|
2216
2430
|
},
|
|
2217
|
-
"summary": "
|
|
2218
|
-
"tagNameWithoutPrefix": "
|
|
2219
|
-
"tagName": "terra-
|
|
2431
|
+
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
2432
|
+
"tagNameWithoutPrefix": "loader",
|
|
2433
|
+
"tagName": "terra-loader",
|
|
2220
2434
|
"customElement": true,
|
|
2221
|
-
"jsDoc": "/**\n * @summary
|
|
2222
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2435
|
+
"jsDoc": "/**\n * @summary Loaders are used to indicate there is content that is loading.\n * @documentation https://disc.gsfc.nasa.gov/components/loader\n * @status experimental\n * @since 1.0\n *\n *\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
2436
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
2223
2437
|
"status": "experimental",
|
|
2224
2438
|
"since": "1.0"
|
|
2225
2439
|
}
|
|
@@ -2229,8 +2443,8 @@
|
|
|
2229
2443
|
"kind": "js",
|
|
2230
2444
|
"name": "default",
|
|
2231
2445
|
"declaration": {
|
|
2232
|
-
"name": "
|
|
2233
|
-
"module": "components/
|
|
2446
|
+
"name": "TerraLoader",
|
|
2447
|
+
"module": "components/loader/loader.js"
|
|
2234
2448
|
}
|
|
2235
2449
|
}
|
|
2236
2450
|
]
|
|
@@ -2732,107 +2946,6 @@
|
|
|
2732
2946
|
}
|
|
2733
2947
|
]
|
|
2734
2948
|
},
|
|
2735
|
-
{
|
|
2736
|
-
"kind": "javascript-module",
|
|
2737
|
-
"path": "components/skeleton/skeleton.js",
|
|
2738
|
-
"declarations": [
|
|
2739
|
-
{
|
|
2740
|
-
"kind": "class",
|
|
2741
|
-
"description": "",
|
|
2742
|
-
"name": "TerraSkeleton",
|
|
2743
|
-
"members": [
|
|
2744
|
-
{
|
|
2745
|
-
"kind": "field",
|
|
2746
|
-
"name": "dependencies",
|
|
2747
|
-
"type": {
|
|
2748
|
-
"text": "object"
|
|
2749
|
-
},
|
|
2750
|
-
"static": true,
|
|
2751
|
-
"default": "{\n 'sl-skeleton': SlSkeleton,\n }"
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"kind": "field",
|
|
2755
|
-
"name": "rows",
|
|
2756
|
-
"type": {
|
|
2757
|
-
"text": "number"
|
|
2758
|
-
},
|
|
2759
|
-
"default": "1",
|
|
2760
|
-
"attribute": "rows"
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
"kind": "field",
|
|
2764
|
-
"name": "effect",
|
|
2765
|
-
"type": {
|
|
2766
|
-
"text": "'pulse' | 'sheen' | 'none'"
|
|
2767
|
-
},
|
|
2768
|
-
"default": "'pulse'",
|
|
2769
|
-
"attribute": "effect"
|
|
2770
|
-
},
|
|
2771
|
-
{
|
|
2772
|
-
"kind": "field",
|
|
2773
|
-
"name": "variableWidths",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "true",
|
|
2778
|
-
"attribute": "variableWidths",
|
|
2779
|
-
"reflects": true
|
|
2780
|
-
}
|
|
2781
|
-
],
|
|
2782
|
-
"attributes": [
|
|
2783
|
-
{
|
|
2784
|
-
"name": "rows",
|
|
2785
|
-
"type": {
|
|
2786
|
-
"text": "number"
|
|
2787
|
-
},
|
|
2788
|
-
"default": "1",
|
|
2789
|
-
"fieldName": "rows"
|
|
2790
|
-
},
|
|
2791
|
-
{
|
|
2792
|
-
"name": "effect",
|
|
2793
|
-
"type": {
|
|
2794
|
-
"text": "'pulse' | 'sheen' | 'none'"
|
|
2795
|
-
},
|
|
2796
|
-
"default": "'pulse'",
|
|
2797
|
-
"fieldName": "effect"
|
|
2798
|
-
},
|
|
2799
|
-
{
|
|
2800
|
-
"name": "variableWidths",
|
|
2801
|
-
"type": {
|
|
2802
|
-
"text": "boolean"
|
|
2803
|
-
},
|
|
2804
|
-
"default": "true",
|
|
2805
|
-
"fieldName": "variableWidths"
|
|
2806
|
-
}
|
|
2807
|
-
],
|
|
2808
|
-
"superclass": {
|
|
2809
|
-
"name": "TerraElement",
|
|
2810
|
-
"module": "/src/internal/terra-element.js"
|
|
2811
|
-
},
|
|
2812
|
-
"summary": "Skeletons are loading indicators to represent where content will eventually be drawn.",
|
|
2813
|
-
"tagNameWithoutPrefix": "skeleton",
|
|
2814
|
-
"tagName": "terra-skeleton",
|
|
2815
|
-
"customElement": true,
|
|
2816
|
-
"jsDoc": "/**\n * @summary Skeletons are loading indicators to represent where content will eventually be drawn.\n * @documentation https://disc.gsfc.nasa.gov/components/skeleton\n * @status experimental\n * @since 1.0\n *\n * @dependency sl-skeleton\n */",
|
|
2817
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/skeleton",
|
|
2818
|
-
"status": "experimental",
|
|
2819
|
-
"since": "1.0",
|
|
2820
|
-
"dependencies": [
|
|
2821
|
-
"sl-skeleton"
|
|
2822
|
-
]
|
|
2823
|
-
}
|
|
2824
|
-
],
|
|
2825
|
-
"exports": [
|
|
2826
|
-
{
|
|
2827
|
-
"kind": "js",
|
|
2828
|
-
"name": "default",
|
|
2829
|
-
"declaration": {
|
|
2830
|
-
"name": "TerraSkeleton",
|
|
2831
|
-
"module": "components/skeleton/skeleton.js"
|
|
2832
|
-
}
|
|
2833
|
-
}
|
|
2834
|
-
]
|
|
2835
|
-
},
|
|
2836
2949
|
{
|
|
2837
2950
|
"kind": "javascript-module",
|
|
2838
2951
|
"path": "components/spatial-picker/spatial-picker.js",
|
|
@@ -2951,6 +3064,16 @@
|
|
|
2951
3064
|
"attribute": "is-expanded",
|
|
2952
3065
|
"reflects": true
|
|
2953
3066
|
},
|
|
3067
|
+
{
|
|
3068
|
+
"kind": "field",
|
|
3069
|
+
"name": "inline",
|
|
3070
|
+
"type": {
|
|
3071
|
+
"text": "boolean"
|
|
3072
|
+
},
|
|
3073
|
+
"default": "false",
|
|
3074
|
+
"description": "Whether the map should be shown inline, or as part of the normal content flow\nthe default is false, the map is positioned absolute under the input",
|
|
3075
|
+
"attribute": "inline"
|
|
3076
|
+
},
|
|
2954
3077
|
{
|
|
2955
3078
|
"kind": "field",
|
|
2956
3079
|
"name": "mapValue",
|
|
@@ -3098,6 +3221,15 @@
|
|
|
3098
3221
|
},
|
|
3099
3222
|
"default": "false",
|
|
3100
3223
|
"fieldName": "isExpanded"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"name": "inline",
|
|
3227
|
+
"type": {
|
|
3228
|
+
"text": "boolean"
|
|
3229
|
+
},
|
|
3230
|
+
"default": "false",
|
|
3231
|
+
"description": "Whether the map should be shown inline, or as part of the normal content flow\nthe default is false, the map is positioned absolute under the input",
|
|
3232
|
+
"fieldName": "inline"
|
|
3101
3233
|
}
|
|
3102
3234
|
],
|
|
3103
3235
|
"superclass": {
|
|
@@ -3125,6 +3257,107 @@
|
|
|
3125
3257
|
}
|
|
3126
3258
|
]
|
|
3127
3259
|
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "javascript-module",
|
|
3262
|
+
"path": "components/skeleton/skeleton.js",
|
|
3263
|
+
"declarations": [
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "class",
|
|
3266
|
+
"description": "",
|
|
3267
|
+
"name": "TerraSkeleton",
|
|
3268
|
+
"members": [
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "field",
|
|
3271
|
+
"name": "dependencies",
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "object"
|
|
3274
|
+
},
|
|
3275
|
+
"static": true,
|
|
3276
|
+
"default": "{\n 'sl-skeleton': SlSkeleton,\n }"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"kind": "field",
|
|
3280
|
+
"name": "rows",
|
|
3281
|
+
"type": {
|
|
3282
|
+
"text": "number"
|
|
3283
|
+
},
|
|
3284
|
+
"default": "1",
|
|
3285
|
+
"attribute": "rows"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"kind": "field",
|
|
3289
|
+
"name": "effect",
|
|
3290
|
+
"type": {
|
|
3291
|
+
"text": "'pulse' | 'sheen' | 'none'"
|
|
3292
|
+
},
|
|
3293
|
+
"default": "'pulse'",
|
|
3294
|
+
"attribute": "effect"
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "field",
|
|
3298
|
+
"name": "variableWidths",
|
|
3299
|
+
"type": {
|
|
3300
|
+
"text": "boolean"
|
|
3301
|
+
},
|
|
3302
|
+
"default": "true",
|
|
3303
|
+
"attribute": "variableWidths",
|
|
3304
|
+
"reflects": true
|
|
3305
|
+
}
|
|
3306
|
+
],
|
|
3307
|
+
"attributes": [
|
|
3308
|
+
{
|
|
3309
|
+
"name": "rows",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "number"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "1",
|
|
3314
|
+
"fieldName": "rows"
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"name": "effect",
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "'pulse' | 'sheen' | 'none'"
|
|
3320
|
+
},
|
|
3321
|
+
"default": "'pulse'",
|
|
3322
|
+
"fieldName": "effect"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"name": "variableWidths",
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "boolean"
|
|
3328
|
+
},
|
|
3329
|
+
"default": "true",
|
|
3330
|
+
"fieldName": "variableWidths"
|
|
3331
|
+
}
|
|
3332
|
+
],
|
|
3333
|
+
"superclass": {
|
|
3334
|
+
"name": "TerraElement",
|
|
3335
|
+
"module": "/src/internal/terra-element.js"
|
|
3336
|
+
},
|
|
3337
|
+
"summary": "Skeletons are loading indicators to represent where content will eventually be drawn.",
|
|
3338
|
+
"tagNameWithoutPrefix": "skeleton",
|
|
3339
|
+
"tagName": "terra-skeleton",
|
|
3340
|
+
"customElement": true,
|
|
3341
|
+
"jsDoc": "/**\n * @summary Skeletons are loading indicators to represent where content will eventually be drawn.\n * @documentation https://disc.gsfc.nasa.gov/components/skeleton\n * @status experimental\n * @since 1.0\n *\n * @dependency sl-skeleton\n */",
|
|
3342
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/skeleton",
|
|
3343
|
+
"status": "experimental",
|
|
3344
|
+
"since": "1.0",
|
|
3345
|
+
"dependencies": [
|
|
3346
|
+
"sl-skeleton"
|
|
3347
|
+
]
|
|
3348
|
+
}
|
|
3349
|
+
],
|
|
3350
|
+
"exports": [
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "js",
|
|
3353
|
+
"name": "default",
|
|
3354
|
+
"declaration": {
|
|
3355
|
+
"name": "TerraSkeleton",
|
|
3356
|
+
"module": "components/skeleton/skeleton.js"
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
]
|
|
3360
|
+
},
|
|
3128
3361
|
{
|
|
3129
3362
|
"kind": "javascript-module",
|
|
3130
3363
|
"path": "components/time-series/time-series.js",
|
|
@@ -4004,7 +4237,7 @@
|
|
|
4004
4237
|
"package": {
|
|
4005
4238
|
"name": "@nasa-terra/components",
|
|
4006
4239
|
"description": "A collection of NASA Earthdata components",
|
|
4007
|
-
"version": "0.0.
|
|
4240
|
+
"version": "0.0.26",
|
|
4008
4241
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
4009
4242
|
"homepage": "https://github.com/gesdisc/components",
|
|
4010
4243
|
"license": "MIT"
|