@nasa-terra/components 0.0.37 → 0.0.39
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/cdn/chunks/{chunk.AM7P6POF.js → chunk.2GZQJQXF.js} +1 -1
- package/cdn/chunks/{chunk.MJPCAV4X.js → chunk.2LZVZCPJ.js} +1 -1
- package/cdn/chunks/{chunk.YFYNQ2LP.js → chunk.2RATR5IL.js} +1 -1
- package/cdn/chunks/{chunk.PAVXS37O.js → chunk.2SDNKD6X.js} +5 -5
- package/cdn/chunks/{chunk.ERMMWTQT.js → chunk.3DCRPSPX.js} +8 -8
- package/cdn/chunks/{chunk.I2UJ5TMQ.js → chunk.3IM4GUH2.js} +4 -4
- package/cdn/chunks/{chunk.TI42JYZU.js → chunk.3JQAG6J3.js} +1 -1
- package/cdn/chunks/{chunk.TQWTYHB7.js → chunk.3O5I6PID.js} +1 -1
- package/{dist/chunks/chunk.XJJTTW2J.js → cdn/chunks/chunk.3UP7AXHO.js} +1 -1
- package/cdn/chunks/{chunk.MYEQHX5K.js → chunk.4TSQDMDI.js} +1 -1
- package/cdn/chunks/{chunk.6NAZ2AT4.js → chunk.5Z6Y53H2.js} +1 -1
- package/cdn/chunks/{chunk.HOHVHNUL.js → chunk.7AMMYMZE.js} +3 -9
- package/cdn/chunks/{chunk.54CMT7TH.js → chunk.7DSP3KWT.js} +1 -1
- package/{dist/chunks/chunk.BZ6AMRKE.js → cdn/chunks/chunk.7LDD4DIW.js} +1 -1
- package/cdn/chunks/{chunk.YD6M27CS.js → chunk.7SW2QD7I.js} +1 -1
- package/{dist/chunks/chunk.WH7VUSKH.js → cdn/chunks/chunk.7TMMBXYB.js} +1 -1
- package/cdn/chunks/{chunk.C4BEAZ4K.js → chunk.ADZXU5XX.js} +1 -1
- package/{dist/chunks/chunk.7IHQE7I3.js → cdn/chunks/chunk.AIM24VAU.js} +1 -1
- package/{dist/chunks/chunk.GXZT6PVJ.js → cdn/chunks/chunk.BI23RBMJ.js} +1 -1
- package/cdn/chunks/{chunk.KP4G5OAO.js → chunk.DMKUJDMA.js} +1 -1
- package/cdn/chunks/{chunk.ZKROGK3Z.js → chunk.DOJNPCGH.js} +1 -1
- package/cdn/chunks/{chunk.PVNISGKF.js → chunk.E3SQSF24.js} +1 -1
- package/{dist/chunks/chunk.WYLEZ7MP.js → cdn/chunks/chunk.EGMIE5O4.js} +1 -1
- package/cdn/chunks/{chunk.NTSMOLV3.js → chunk.EWDSK254.js} +15 -15
- package/cdn/chunks/{chunk.WWT6XSWY.js → chunk.GPQSV6F7.js} +1 -1
- package/cdn/chunks/{chunk.JCHQKTBO.js → chunk.H4OVAYSY.js} +2 -2
- package/cdn/chunks/{chunk.NJDYKGEB.js → chunk.IHZ3XYWT.js} +5 -5
- package/cdn/chunks/{chunk.GEEVIKMT.js → chunk.JDNWJYOU.js} +1 -1
- package/cdn/chunks/{chunk.MZ3VXY3B.js → chunk.KJSSRAR7.js} +1 -1
- package/cdn/chunks/{chunk.RQ75UIOW.js → chunk.L7VWUETU.js} +1 -1
- package/cdn/chunks/{chunk.QW5YSRHZ.js → chunk.LRUGF4RQ.js} +11 -11
- package/cdn/chunks/{chunk.2R7T4SRA.js → chunk.M74Q3EU2.js} +1 -1
- package/{dist/chunks/chunk.YMJI2FT3.js → cdn/chunks/chunk.NTNPYQQM.js} +1 -1
- package/{dist/chunks/chunk.64PM7PPT.js → cdn/chunks/chunk.NTXMWEYS.js} +1 -1
- package/cdn/chunks/{chunk.S22ENONE.js → chunk.O5D4KDHE.js} +1 -1
- package/cdn/chunks/{chunk.UEOLJLW7.js → chunk.OCZX4BWK.js} +1 -1
- package/cdn/chunks/{chunk.AS2AH5X6.js → chunk.OQRK4IVN.js} +6 -6
- package/{dist/chunks/chunk.FSQAHSSM.js → cdn/chunks/chunk.OTH37YIJ.js} +1 -1
- package/cdn/chunks/{chunk.2DTFRWJE.js → chunk.PDK4ZWKT.js} +1 -1
- package/cdn/chunks/{chunk.VNV2E3O5.js → chunk.SGNYHWFC.js} +1 -1
- package/{dist/chunks/chunk.HVX7VQC7.js → cdn/chunks/chunk.SH3H74PB.js} +1 -1
- package/cdn/chunks/{chunk.5J3Q36EQ.js → chunk.SNXJUGOP.js} +4 -4
- package/cdn/chunks/{chunk.EUR4TJVS.js → chunk.SUA6BJN7.js} +1 -1
- package/{dist/chunks/chunk.SZSDAZZ2.js → cdn/chunks/chunk.SYYZQ2NW.js} +1 -1
- package/cdn/chunks/{chunk.CQ6BQKJN.js → chunk.THDNMGNP.js} +1 -1
- package/cdn/chunks/{chunk.KYARNKA7.js → chunk.TPDHN3WZ.js} +1 -1
- package/cdn/chunks/{chunk.CII3ZHGI.js → chunk.VG3AI2B6.js} +1 -1
- package/cdn/chunks/{chunk.WJ267QEV.js → chunk.WO6XLKZ7.js} +1 -1
- package/cdn/chunks/{chunk.DLGT5VFA.js → chunk.WUN5QR4Z.js} +1 -1
- package/{dist/chunks/chunk.QR64NHE7.js → cdn/chunks/chunk.YHA4JFNQ.js} +1 -1
- package/{dist/chunks/chunk.GIVTV57T.js → cdn/chunks/chunk.ZKQPYA43.js} +1 -1
- package/cdn/chunks/{chunk.A5S3CXZX.js → chunk.ZSMPJWKR.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +15 -15
- package/cdn/components/browse-variables/browse-variables.js +16 -16
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +3 -3
- package/cdn/components/combobox/combobox.js +4 -4
- package/cdn/components/date-picker/date-picker.component.d.ts +1 -0
- package/cdn/components/date-picker/date-picker.component.js +2 -2
- package/cdn/components/date-picker/date-picker.js +3 -3
- 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.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +11 -11
- package/cdn/components/login/login.js +12 -12
- package/cdn/components/map/map.component.js +2 -2
- package/cdn/components/map/map.js +3 -3
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.js +4 -4
- package/cdn/components/time-series/time-series.component.js +17 -17
- package/cdn/components/time-series/time-series.js +18 -18
- package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.js +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
- package/cdn/custom-elements.json +709 -701
- package/cdn/react/browse-variables/index.js +16 -16
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +4 -4
- package/cdn/react/date-picker/index.js +3 -3
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +4 -4
- package/cdn/react/index.js +60 -60
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +12 -12
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +4 -4
- package/cdn/react/time-series/index.js +18 -18
- package/cdn/react/variable-combobox/index.js +10 -10
- package/cdn/react/variable-keyword-search/index.js +10 -10
- package/cdn/terra-ui-components.js +54 -54
- package/cdn/types/vue/index.d.ts +99 -97
- package/cdn/vscode.html-custom-data.json +81 -81
- package/cdn/web-types.json +162 -161
- package/dist/chunks/{chunk.GAVG5HP6.js → chunk.23ZVN5EA.js} +1 -1
- package/dist/chunks/{chunk.4LFXMKEM.js → chunk.2E2CCWL3.js} +1 -1
- package/dist/chunks/{chunk.GDHI546G.js → chunk.2Q4AVXII.js} +1 -1
- package/dist/chunks/{chunk.7NGASFIR.js → chunk.3BASQDED.js} +4 -4
- package/{cdn/chunks/chunk.JMGGTUC4.js → dist/chunks/chunk.3EVPTH7Q.js} +1 -1
- package/dist/chunks/{chunk.NINU5TMJ.js → chunk.3K3DIFS7.js} +1 -1
- package/{cdn/chunks/chunk.RURMFGL7.js → dist/chunks/chunk.4GJDVKY4.js} +1 -1
- package/dist/chunks/{chunk.D62ZSC6Y.js → chunk.4N5OSH4R.js} +1 -1
- package/{cdn/chunks/chunk.75KXULZ4.js → dist/chunks/chunk.6ACDZL3V.js} +1 -1
- package/{cdn/chunks/chunk.6JAIDGSZ.js → dist/chunks/chunk.6NHB27JI.js} +1 -1
- package/dist/chunks/{chunk.ANGZK3NS.js → chunk.7SXUEIQ4.js} +3 -9
- package/dist/chunks/{chunk.RI7KOLNW.js → chunk.A44TYBTC.js} +4 -4
- package/dist/chunks/{chunk.JBRFRYKX.js → chunk.A7RVSV3N.js} +1 -1
- package/dist/chunks/{chunk.VHVMAWBQ.js → chunk.ADHCIOJW.js} +1 -1
- package/dist/chunks/{chunk.L3ZH6E35.js → chunk.AIKIHOED.js} +3 -3
- package/{cdn/chunks/chunk.535QAFMG.js → dist/chunks/chunk.BFSWYDIG.js} +1 -1
- package/dist/chunks/{chunk.IMUUAEKM.js → chunk.CMLZ7MSY.js} +1 -1
- package/dist/chunks/{chunk.73U232KB.js → chunk.D5KQLFSZ.js} +4 -4
- package/dist/chunks/{chunk.EFQGLV2P.js → chunk.EAZW525Y.js} +1 -1
- package/{cdn/chunks/chunk.UX63QROP.js → dist/chunks/chunk.GIXQAFSH.js} +1 -1
- package/dist/chunks/{chunk.X4YG2IGE.js → chunk.GSBU3HCI.js} +1 -1
- package/{cdn/chunks/chunk.M4VVGFUP.js → dist/chunks/chunk.INPIIJ3C.js} +1 -1
- package/dist/chunks/{chunk.HAE3OLZR.js → chunk.IWD7L5OQ.js} +4 -4
- package/dist/chunks/{chunk.NCG6LHDO.js → chunk.JGQOYG67.js} +1 -1
- package/dist/chunks/{chunk.5VIO7FDQ.js → chunk.JH6Q23IS.js} +12 -12
- package/dist/chunks/{chunk.HNCT22DF.js → chunk.JKLZ2XGQ.js} +3 -3
- package/dist/chunks/{chunk.MFETQN6I.js → chunk.K5LP3T3Q.js} +1 -1
- package/{cdn/chunks/chunk.BHXUWISZ.js → dist/chunks/chunk.KM6TUVN2.js} +1 -1
- package/dist/chunks/{chunk.54D3Y3BS.js → chunk.LHQ64GB7.js} +1 -1
- package/dist/chunks/{chunk.JYXXP5EU.js → chunk.M6RTQEUM.js} +1 -1
- package/dist/chunks/{chunk.TCRD4E4N.js → chunk.NPEMJVWS.js} +1 -1
- package/dist/chunks/{chunk.BTAQW7FZ.js → chunk.NQU63M3Z.js} +1 -1
- package/dist/chunks/{chunk.ZC6BJWF4.js → chunk.O7VQAMLS.js} +1 -1
- package/dist/chunks/{chunk.MW42IQDC.js → chunk.OIQOQZUT.js} +1 -1
- package/dist/chunks/{chunk.PO5WL3ZZ.js → chunk.PIRKHHLY.js} +1 -1
- package/dist/chunks/{chunk.DD4CUX5J.js → chunk.QDBP67EO.js} +1 -1
- package/{cdn/chunks/chunk.3KYHELRL.js → dist/chunks/chunk.RAH6M7UH.js} +1 -1
- package/{cdn/chunks/chunk.3LL3DZ76.js → dist/chunks/chunk.RU67BZOL.js} +1 -1
- package/dist/chunks/{chunk.F4DXZCTW.js → chunk.S5TOWD24.js} +2 -2
- package/dist/chunks/{chunk.HVRL22VW.js → chunk.S6KPB5VM.js} +1 -1
- package/dist/chunks/{chunk.OQZGGABQ.js → chunk.T5IZH6LP.js} +1 -1
- package/dist/chunks/{chunk.XAYFDNEB.js → chunk.TNESBPP7.js} +1 -1
- package/dist/chunks/{chunk.UZRV6ECG.js → chunk.TZMVKAIX.js} +1 -1
- package/dist/chunks/{chunk.MP5N54BF.js → chunk.VXQPT4AX.js} +1 -1
- package/dist/chunks/{chunk.XE6C4Z7F.js → chunk.WOM2WVS4.js} +1 -1
- package/dist/chunks/{chunk.6VU5JU2G.js → chunk.WW47YJFX.js} +1 -1
- package/dist/chunks/{chunk.75NH3JFU.js → chunk.X4I4T3Y6.js} +1 -1
- package/{cdn/chunks/chunk.ZSSPPW3K.js → dist/chunks/chunk.XBY4QOFR.js} +1 -1
- package/dist/chunks/{chunk.RGV4ZWO3.js → chunk.ZAWCSBDT.js} +8 -8
- package/{cdn/chunks/chunk.77CEYPBS.js → dist/chunks/chunk.ZTBBJMWB.js} +1 -1
- package/dist/chunks/{chunk.FIPPC6BZ.js → chunk.ZVCVUEA4.js} +1 -1
- package/{cdn/chunks/chunk.ZFULM7LI.js → dist/chunks/chunk.ZXMKER76.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-picker/date-picker.component.d.ts +1 -0
- package/dist/components/date-picker/date-picker.component.js +2 -2
- package/dist/components/date-picker/date-picker.js +3 -3
- 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.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +9 -9
- package/dist/components/login/login.js +10 -10
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-series/time-series.component.js +15 -15
- package/dist/components/time-series/time-series.js +16 -16
- package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
- package/dist/components/variable-combobox/variable-combobox.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/dist/custom-elements.json +709 -701
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-picker/index.js +3 -3
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +57 -57
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-series/index.js +16 -16
- package/dist/react/variable-combobox/index.js +8 -8
- package/dist/react/variable-keyword-search/index.js +8 -8
- package/dist/terra-ui-components.js +51 -51
- package/dist/{terra_ui_components-0.0.37-py3-none-any.whl → terra_ui_components-0.0.39-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.37.tar.gz → terra_ui_components-0.0.39.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +99 -97
- package/dist/vscode.html-custom-data.json +81 -81
- package/dist/web-types.json +162 -161
- package/package.json +1 -1
package/dist/web-types.json
CHANGED
|
@@ -1,60 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@nasa-terra/components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.39",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
|
-
{
|
|
10
|
-
"name": "terra-browse-variables",
|
|
11
|
-
"description": "Browse through the NASA CMR or Giovanni catalogs.\n---\n",
|
|
12
|
-
"doc-url": "",
|
|
13
|
-
"attributes": [
|
|
14
|
-
{
|
|
15
|
-
"name": "catalog",
|
|
16
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
17
|
-
"value": { "type": "'giovanni'", "default": "'giovanni'" }
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"events": [],
|
|
21
|
-
"js": {
|
|
22
|
-
"properties": [
|
|
23
|
-
{
|
|
24
|
-
"name": "catalog",
|
|
25
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
26
|
-
"type": "'giovanni'"
|
|
27
|
-
},
|
|
28
|
-
{ "name": "searchQuery", "type": "string" },
|
|
29
|
-
{ "name": "selectedFacets", "type": "SelectedFacets" },
|
|
30
|
-
{ "name": "selectedVariables", "type": "Variable[]" },
|
|
31
|
-
{ "name": "showVariablesBrowse", "type": "boolean" }
|
|
32
|
-
],
|
|
33
|
-
"events": []
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "terra-chip",
|
|
38
|
-
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
39
|
-
"doc-url": "",
|
|
40
|
-
"attributes": [
|
|
41
|
-
{
|
|
42
|
-
"name": "size",
|
|
43
|
-
"value": {
|
|
44
|
-
"type": "'small' | 'medium' | 'large'",
|
|
45
|
-
"default": "'medium'"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"slots": [{ "name": "", "description": "The chip's label." }],
|
|
50
|
-
"events": [],
|
|
51
|
-
"js": {
|
|
52
|
-
"properties": [
|
|
53
|
-
{ "name": "size", "type": "'small' | 'medium' | 'large'" }
|
|
54
|
-
],
|
|
55
|
-
"events": []
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
9
|
{
|
|
59
10
|
"name": "terra-button",
|
|
60
11
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<sl-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
|
|
@@ -332,6 +283,28 @@
|
|
|
332
283
|
"events": []
|
|
333
284
|
}
|
|
334
285
|
},
|
|
286
|
+
{
|
|
287
|
+
"name": "terra-chip",
|
|
288
|
+
"description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
|
|
289
|
+
"doc-url": "",
|
|
290
|
+
"attributes": [
|
|
291
|
+
{
|
|
292
|
+
"name": "size",
|
|
293
|
+
"value": {
|
|
294
|
+
"type": "'small' | 'medium' | 'large'",
|
|
295
|
+
"default": "'medium'"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"slots": [{ "name": "", "description": "The chip's label." }],
|
|
300
|
+
"events": [],
|
|
301
|
+
"js": {
|
|
302
|
+
"properties": [
|
|
303
|
+
{ "name": "size", "type": "'small' | 'medium' | 'large'" }
|
|
304
|
+
],
|
|
305
|
+
"events": []
|
|
306
|
+
}
|
|
307
|
+
},
|
|
335
308
|
{
|
|
336
309
|
"name": "terra-combobox",
|
|
337
310
|
"description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
@@ -427,6 +400,33 @@
|
|
|
427
400
|
"events": []
|
|
428
401
|
}
|
|
429
402
|
},
|
|
403
|
+
{
|
|
404
|
+
"name": "terra-browse-variables",
|
|
405
|
+
"description": "Browse through the NASA CMR or Giovanni catalogs.\n---\n",
|
|
406
|
+
"doc-url": "",
|
|
407
|
+
"attributes": [
|
|
408
|
+
{
|
|
409
|
+
"name": "catalog",
|
|
410
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
411
|
+
"value": { "type": "'giovanni'", "default": "'giovanni'" }
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"events": [],
|
|
415
|
+
"js": {
|
|
416
|
+
"properties": [
|
|
417
|
+
{
|
|
418
|
+
"name": "catalog",
|
|
419
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
420
|
+
"type": "'giovanni'"
|
|
421
|
+
},
|
|
422
|
+
{ "name": "searchQuery", "type": "string" },
|
|
423
|
+
{ "name": "selectedFacets", "type": "SelectedFacets" },
|
|
424
|
+
{ "name": "selectedVariables", "type": "Variable[]" },
|
|
425
|
+
{ "name": "showVariablesBrowse", "type": "boolean" }
|
|
426
|
+
],
|
|
427
|
+
"events": []
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
430
|
{
|
|
431
431
|
"name": "terra-date-picker",
|
|
432
432
|
"description": "A date picker component that supports single date selection or date range selection.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **input** - The date input element.",
|
|
@@ -501,6 +501,7 @@
|
|
|
501
501
|
"events": [],
|
|
502
502
|
"js": {
|
|
503
503
|
"properties": [
|
|
504
|
+
{ "name": "selectedDates", "type": "Date[]" },
|
|
504
505
|
{ "name": "id", "type": "string" },
|
|
505
506
|
{ "name": "range", "type": "boolean" },
|
|
506
507
|
{ "name": "minDate", "type": "string | undefined" },
|
|
@@ -812,6 +813,43 @@
|
|
|
812
813
|
]
|
|
813
814
|
}
|
|
814
815
|
},
|
|
816
|
+
{
|
|
817
|
+
"name": "terra-plot",
|
|
818
|
+
"description": "A web component for interactive graphs using Plotly.js.\n---\n\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
819
|
+
"doc-url": "",
|
|
820
|
+
"attributes": [
|
|
821
|
+
{ "name": "plotTitle", "value": { "type": "string | undefined" } },
|
|
822
|
+
{
|
|
823
|
+
"name": "layout",
|
|
824
|
+
"value": {
|
|
825
|
+
"type": "Partial<Layout> | undefined",
|
|
826
|
+
"default": "{}"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "config",
|
|
831
|
+
"value": {
|
|
832
|
+
"type": "Partial<Config> | undefined",
|
|
833
|
+
"default": "{}"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "data",
|
|
838
|
+
"value": { "type": "Array<Partial<Data>>", "default": "[]" }
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
"events": [],
|
|
842
|
+
"js": {
|
|
843
|
+
"properties": [
|
|
844
|
+
{ "name": "base", "type": "HTMLElement" },
|
|
845
|
+
{ "name": "plotTitle", "type": "string | undefined" },
|
|
846
|
+
{ "name": "layout", "type": "Partial<Layout> | undefined" },
|
|
847
|
+
{ "name": "config", "type": "Partial<Config> | undefined" },
|
|
848
|
+
{ "name": "data", "type": "Array<Partial<Data>>" }
|
|
849
|
+
],
|
|
850
|
+
"events": []
|
|
851
|
+
}
|
|
852
|
+
},
|
|
815
853
|
{
|
|
816
854
|
"name": "terra-map",
|
|
817
855
|
"description": "A map component for visualizing and selecting coordinates.\n---\n",
|
|
@@ -895,43 +933,6 @@
|
|
|
895
933
|
"events": []
|
|
896
934
|
}
|
|
897
935
|
},
|
|
898
|
-
{
|
|
899
|
-
"name": "terra-plot",
|
|
900
|
-
"description": "A web component for interactive graphs using Plotly.js.\n---\n\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
901
|
-
"doc-url": "",
|
|
902
|
-
"attributes": [
|
|
903
|
-
{ "name": "plotTitle", "value": { "type": "string | undefined" } },
|
|
904
|
-
{
|
|
905
|
-
"name": "layout",
|
|
906
|
-
"value": {
|
|
907
|
-
"type": "Partial<Layout> | undefined",
|
|
908
|
-
"default": "{}"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "config",
|
|
913
|
-
"value": {
|
|
914
|
-
"type": "Partial<Config> | undefined",
|
|
915
|
-
"default": "{}"
|
|
916
|
-
}
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "data",
|
|
920
|
-
"value": { "type": "Array<Partial<Data>>", "default": "[]" }
|
|
921
|
-
}
|
|
922
|
-
],
|
|
923
|
-
"events": [],
|
|
924
|
-
"js": {
|
|
925
|
-
"properties": [
|
|
926
|
-
{ "name": "base", "type": "HTMLElement" },
|
|
927
|
-
{ "name": "plotTitle", "type": "string | undefined" },
|
|
928
|
-
{ "name": "layout", "type": "Partial<Layout> | undefined" },
|
|
929
|
-
{ "name": "config", "type": "Partial<Config> | undefined" },
|
|
930
|
-
{ "name": "data", "type": "Array<Partial<Data>>" }
|
|
931
|
-
],
|
|
932
|
-
"events": []
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
936
|
{
|
|
936
937
|
"name": "terra-skeleton",
|
|
937
938
|
"description": "Skeletons are loading indicators to represent where content will eventually be drawn.\n---\n",
|
|
@@ -1245,46 +1246,50 @@
|
|
|
1245
1246
|
}
|
|
1246
1247
|
},
|
|
1247
1248
|
{
|
|
1248
|
-
"name": "terra-variable-
|
|
1249
|
-
"description": "Fuzzy-search for dataset
|
|
1249
|
+
"name": "terra-variable-combobox",
|
|
1250
|
+
"description": "Fuzzy-search for dataset variables in combobox with list autocomplete.\n---\n\n\n### **Events:**\n - **terra-combobox-change** - Emitted when an option is selected.\n\n### **Methods:**\n - **valueChanged(oldValue: _string_, newValue: _string_)** - This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting.\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
1250
1251
|
"doc-url": "",
|
|
1251
1252
|
"attributes": [
|
|
1252
1253
|
{
|
|
1253
1254
|
"name": "label",
|
|
1254
1255
|
"description": "Label the combobox with this.",
|
|
1255
|
-
"value": {
|
|
1256
|
-
"type": "string",
|
|
1257
|
-
"default": "'Enter search terms (e.g., precipitation, AOD)'"
|
|
1258
|
-
}
|
|
1256
|
+
"value": { "type": "string", "default": "'Search for Variables'" }
|
|
1259
1257
|
},
|
|
1260
1258
|
{
|
|
1261
1259
|
"name": "placeholder",
|
|
1262
1260
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1263
1261
|
"value": { "type": "string" }
|
|
1264
1262
|
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "hide-help",
|
|
1265
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1266
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1267
|
+
},
|
|
1265
1268
|
{
|
|
1266
1269
|
"name": "hide-label",
|
|
1267
1270
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1268
|
-
"value": { "type": "boolean", "default": "
|
|
1271
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1269
1272
|
},
|
|
1270
1273
|
{
|
|
1271
|
-
"name": "
|
|
1272
|
-
"description": "
|
|
1273
|
-
"value": {
|
|
1274
|
-
"type": "object",
|
|
1275
|
-
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }"
|
|
1276
|
-
}
|
|
1274
|
+
"name": "use-tags",
|
|
1275
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
1276
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1277
1277
|
},
|
|
1278
|
-
{
|
|
1278
|
+
{
|
|
1279
|
+
"name": "value",
|
|
1280
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
1281
|
+
"value": { "type": "string" }
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"name": "bearer-token",
|
|
1285
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
1286
|
+
"value": { "type": "string" }
|
|
1287
|
+
}
|
|
1279
1288
|
],
|
|
1280
1289
|
"events": [
|
|
1281
1290
|
{
|
|
1282
|
-
"name": "terra-
|
|
1291
|
+
"name": "terra-combobox-change",
|
|
1283
1292
|
"description": "Emitted when an option is selected."
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"name": "terra-search",
|
|
1287
|
-
"description": "Emitted when the component is triggering a search (like a form triggering submit)."
|
|
1288
1293
|
}
|
|
1289
1294
|
],
|
|
1290
1295
|
"js": {
|
|
@@ -1299,78 +1304,86 @@
|
|
|
1299
1304
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1300
1305
|
"type": "string"
|
|
1301
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "hideHelp",
|
|
1309
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1310
|
+
"type": "boolean"
|
|
1311
|
+
},
|
|
1302
1312
|
{
|
|
1303
1313
|
"name": "hideLabel",
|
|
1304
1314
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1305
1315
|
"type": "boolean"
|
|
1306
1316
|
},
|
|
1307
1317
|
{
|
|
1308
|
-
"name": "
|
|
1309
|
-
"description": "
|
|
1310
|
-
"type": "
|
|
1318
|
+
"name": "useTags",
|
|
1319
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
1320
|
+
"type": "boolean"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"name": "value",
|
|
1324
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
1325
|
+
"type": "string"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "bearerToken",
|
|
1329
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
1330
|
+
"type": "string"
|
|
1311
1331
|
},
|
|
1312
|
-
{ "name": "value", "type": "string" },
|
|
1313
1332
|
{ "name": "isExpanded", "type": "boolean" },
|
|
1314
1333
|
{ "name": "query" },
|
|
1315
|
-
{ "name": "searchResults", "type": "ListItem[]" }
|
|
1334
|
+
{ "name": "searchResults", "type": "ListItem[]" },
|
|
1335
|
+
{ "name": "tags", "type": "string[]" },
|
|
1336
|
+
{ "name": "tagContainerWidth", "type": "number" }
|
|
1316
1337
|
],
|
|
1317
1338
|
"events": [
|
|
1318
1339
|
{
|
|
1319
|
-
"name": "terra-
|
|
1340
|
+
"name": "terra-combobox-change",
|
|
1320
1341
|
"description": "Emitted when an option is selected."
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
"name": "terra-search",
|
|
1324
|
-
"description": "Emitted when the component is triggering a search (like a form triggering submit)."
|
|
1325
1342
|
}
|
|
1326
1343
|
]
|
|
1327
1344
|
}
|
|
1328
1345
|
},
|
|
1329
1346
|
{
|
|
1330
|
-
"name": "terra-variable-
|
|
1331
|
-
"description": "Fuzzy-search for dataset
|
|
1347
|
+
"name": "terra-variable-keyword-search",
|
|
1348
|
+
"description": "Fuzzy-search for dataset keywords in combobox with list autocomplete.\n---\n\n\n### **Events:**\n - **terra-variable-keyword-search-change** - Emitted when an option is selected.\n- **terra-search** - Emitted when the component is triggering a search (like a form triggering submit).\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
|
|
1332
1349
|
"doc-url": "",
|
|
1333
1350
|
"attributes": [
|
|
1334
1351
|
{
|
|
1335
1352
|
"name": "label",
|
|
1336
1353
|
"description": "Label the combobox with this.",
|
|
1337
|
-
"value": {
|
|
1354
|
+
"value": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'"
|
|
1357
|
+
}
|
|
1338
1358
|
},
|
|
1339
1359
|
{
|
|
1340
1360
|
"name": "placeholder",
|
|
1341
1361
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1342
1362
|
"value": { "type": "string" }
|
|
1343
1363
|
},
|
|
1344
|
-
{
|
|
1345
|
-
"name": "hide-help",
|
|
1346
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1347
|
-
"value": { "type": "boolean", "default": "false" }
|
|
1348
|
-
},
|
|
1349
1364
|
{
|
|
1350
1365
|
"name": "hide-label",
|
|
1351
1366
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1352
|
-
"value": { "type": "boolean", "default": "
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"name": "use-tags",
|
|
1356
|
-
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
1357
|
-
"value": { "type": "boolean", "default": "false" }
|
|
1367
|
+
"value": { "type": "boolean", "default": "true" }
|
|
1358
1368
|
},
|
|
1359
1369
|
{
|
|
1360
|
-
"name": "
|
|
1361
|
-
"description": "
|
|
1362
|
-
"value": {
|
|
1370
|
+
"name": "searchConfig",
|
|
1371
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1372
|
+
"value": {
|
|
1373
|
+
"type": "object",
|
|
1374
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }"
|
|
1375
|
+
}
|
|
1363
1376
|
},
|
|
1364
|
-
{
|
|
1365
|
-
"name": "bearer-token",
|
|
1366
|
-
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
1367
|
-
"value": { "type": "string" }
|
|
1368
|
-
}
|
|
1377
|
+
{ "name": "value", "value": { "type": "string" } }
|
|
1369
1378
|
],
|
|
1370
1379
|
"events": [
|
|
1371
1380
|
{
|
|
1372
|
-
"name": "terra-
|
|
1381
|
+
"name": "terra-variable-keyword-search-change",
|
|
1373
1382
|
"description": "Emitted when an option is selected."
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "terra-search",
|
|
1386
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit)."
|
|
1374
1387
|
}
|
|
1375
1388
|
],
|
|
1376
1389
|
"js": {
|
|
@@ -1385,41 +1398,29 @@
|
|
|
1385
1398
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1386
1399
|
"type": "string"
|
|
1387
1400
|
},
|
|
1388
|
-
{
|
|
1389
|
-
"name": "hideHelp",
|
|
1390
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1391
|
-
"type": "boolean"
|
|
1392
|
-
},
|
|
1393
1401
|
{
|
|
1394
1402
|
"name": "hideLabel",
|
|
1395
1403
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1396
1404
|
"type": "boolean"
|
|
1397
1405
|
},
|
|
1398
1406
|
{
|
|
1399
|
-
"name": "
|
|
1400
|
-
"description": "
|
|
1401
|
-
"type": "
|
|
1402
|
-
},
|
|
1403
|
-
{
|
|
1404
|
-
"name": "value",
|
|
1405
|
-
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
1406
|
-
"type": "string"
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
"name": "bearerToken",
|
|
1410
|
-
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
1411
|
-
"type": "string"
|
|
1407
|
+
"name": "searchConfig",
|
|
1408
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1409
|
+
"type": "object"
|
|
1412
1410
|
},
|
|
1411
|
+
{ "name": "value", "type": "string" },
|
|
1413
1412
|
{ "name": "isExpanded", "type": "boolean" },
|
|
1414
1413
|
{ "name": "query" },
|
|
1415
|
-
{ "name": "searchResults", "type": "ListItem[]" }
|
|
1416
|
-
{ "name": "tags", "type": "string[]" },
|
|
1417
|
-
{ "name": "tagContainerWidth", "type": "number" }
|
|
1414
|
+
{ "name": "searchResults", "type": "ListItem[]" }
|
|
1418
1415
|
],
|
|
1419
1416
|
"events": [
|
|
1420
1417
|
{
|
|
1421
|
-
"name": "terra-
|
|
1418
|
+
"name": "terra-variable-keyword-search-change",
|
|
1422
1419
|
"description": "Emitted when an option is selected."
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "terra-search",
|
|
1423
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit)."
|
|
1423
1424
|
}
|
|
1424
1425
|
]
|
|
1425
1426
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nasa-terra/components",
|
|
3
3
|
"description": "A collection of NASA Earthdata components",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.39",
|
|
5
5
|
"homepage": "https://github.com/gesdisc/components",
|
|
6
6
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
7
7
|
"license": "MIT",
|