@nasa-terra/components 0.0.35 → 0.0.36

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.
Files changed (224) hide show
  1. package/cdn/chunks/{chunk.ZRDUZT7B.js → chunk.25SOH5MB.js} +1 -1
  2. package/cdn/chunks/{chunk.U3BD4O5L.js → chunk.3EMGXPUU.js} +5 -5
  3. package/cdn/chunks/{chunk.N36RSWOV.js → chunk.4EKXHZ6O.js} +1 -1
  4. package/{dist/chunks/chunk.GRGYWO3I.js → cdn/chunks/chunk.56DT3OGL.js} +1 -1
  5. package/cdn/chunks/{chunk.R3MQ5SW4.js → chunk.57CJ7RWX.js} +1 -1
  6. package/{dist/chunks/chunk.KEHPCKHG.js → cdn/chunks/chunk.5TCTPBXC.js} +1 -1
  7. package/{dist/chunks/chunk.BKCSBSRK.js → cdn/chunks/chunk.63N3LGXB.js} +1 -1
  8. package/cdn/chunks/{chunk.MYFY5P6P.js → chunk.6EAXUUWN.js} +1 -1
  9. package/cdn/chunks/{chunk.P3OOKTNJ.js → chunk.6K7MR5VI.js} +1 -1
  10. package/cdn/chunks/{chunk.MXQ5JJRV.js → chunk.7OMJAFKX.js} +4 -4
  11. package/cdn/chunks/{chunk.MAWPRFSV.js → chunk.7UXV52FA.js} +1 -1
  12. package/cdn/chunks/{chunk.HGDIOGBE.js → chunk.AATITKJH.js} +1 -1
  13. package/cdn/chunks/{chunk.I5CJ657Z.js → chunk.ACSDA3DR.js} +8 -8
  14. package/{dist/chunks/chunk.QH7BEOA7.js → cdn/chunks/chunk.AWOWJEHO.js} +1 -1
  15. package/cdn/chunks/{chunk.YHKMHUOX.js → chunk.BBDJIPBC.js} +1 -1
  16. package/cdn/chunks/{chunk.TOHQCYHT.js → chunk.DY2H4TBY.js} +1 -1
  17. package/cdn/chunks/{chunk.RECSSJ3N.js → chunk.EWDA4SNI.js} +1 -1
  18. package/cdn/chunks/{chunk.MZHRYVJT.js → chunk.FDDNVE67.js} +13 -13
  19. package/cdn/chunks/{chunk.YIQMORJ3.js → chunk.GB4HBKMK.js} +1 -1
  20. package/cdn/chunks/{chunk.6QXCGDL5.js → chunk.GDDFLGPJ.js} +15 -15
  21. package/cdn/chunks/{chunk.XQZRDZKP.js → chunk.HECWY7UL.js} +1 -1
  22. package/cdn/chunks/{chunk.WCWH4BJI.js → chunk.IZUU4ZJQ.js} +1 -1
  23. package/cdn/chunks/{chunk.2T7S53UG.js → chunk.J7MJBQAC.js} +1 -1
  24. package/cdn/chunks/{chunk.B3W5JOGG.js → chunk.JRXODE4C.js} +1 -1
  25. package/cdn/chunks/{chunk.6WGQXQO3.js → chunk.KKXCQDX5.js} +1 -1
  26. package/cdn/chunks/{chunk.UZ4J2IKN.js → chunk.LMZQF6FD.js} +1 -1
  27. package/cdn/chunks/{chunk.VV6BKP53.js → chunk.LXMPN74Z.js} +1 -1
  28. package/cdn/chunks/{chunk.G6GSS7BD.js → chunk.MHFEGKLP.js} +1 -1
  29. package/cdn/chunks/{chunk.UIA5WMJB.js → chunk.NHMZFISJ.js} +1 -1
  30. package/cdn/chunks/{chunk.MEY233SR.js → chunk.NIF6MWIP.js} +7 -7
  31. package/cdn/chunks/{chunk.DEEX37NK.js → chunk.PUWSAYD6.js} +1 -1
  32. package/{dist/chunks/chunk.N4WAH6HS.js → cdn/chunks/chunk.Q7Y7PBDZ.js} +1 -1
  33. package/{dist/chunks/chunk.UKAMJ6YG.js → cdn/chunks/chunk.QOJD32GS.js} +1 -1
  34. package/cdn/chunks/{chunk.VGZO7MW6.js → chunk.RDI4BBVY.js} +2 -2
  35. package/{dist/chunks/chunk.2JPVKDNI.js → cdn/chunks/chunk.RTRHS35D.js} +1 -1
  36. package/cdn/chunks/{chunk.UKOOS2YT.js → chunk.STLVTLDY.js} +1 -1
  37. package/cdn/chunks/{chunk.OGIII6W5.js → chunk.T4GSAB7Z.js} +1 -1
  38. package/cdn/chunks/{chunk.P6YKNMGQ.js → chunk.U5EEGQEF.js} +1 -1
  39. package/cdn/chunks/{chunk.PF52GPYZ.js → chunk.U6X4Z62R.js} +5 -5
  40. package/cdn/chunks/{chunk.HSFZMWQ2.js → chunk.USW6SINQ.js} +4 -4
  41. package/cdn/chunks/{chunk.JFIE2VYW.js → chunk.VGFVC5X3.js} +1 -1
  42. package/cdn/chunks/{chunk.I5X27HSN.js → chunk.VOCHS4EU.js} +1 -10
  43. package/cdn/chunks/{chunk.WOZNX2FD.js → chunk.VQ7MZ42Q.js} +1 -1
  44. package/{dist/chunks/chunk.JGDT4R76.js → cdn/chunks/chunk.W6PJ3ZT4.js} +1 -1
  45. package/{dist/chunks/chunk.ZB7CNQ23.js → cdn/chunks/chunk.WYNVJF22.js} +1 -1
  46. package/cdn/chunks/{chunk.LEHIMRWG.js → chunk.XD67DXUH.js} +1 -1
  47. package/cdn/chunks/{chunk.SPIDN4TO.js → chunk.Y2KFAP3V.js} +1 -1
  48. package/{dist/chunks/chunk.ABRPRY7V.js → cdn/chunks/chunk.ZBZYMRQK.js} +1 -1
  49. package/cdn/chunks/{chunk.X4JMJ64E.js → chunk.ZIL3UBQT.js} +1 -1
  50. package/cdn/chunks/{chunk.WXHIPI3S.js → chunk.ZM4DIY6E.js} +1 -1
  51. package/cdn/chunks/{chunk.EORN4UZH.js → chunk.ZQYAOSBN.js} +1 -1
  52. package/{dist/chunks/chunk.R5CXCDRU.js → cdn/chunks/chunk.ZY52NEPR.js} +1 -1
  53. package/cdn/components/browse-variables/browse-variables.component.js +15 -15
  54. package/cdn/components/browse-variables/browse-variables.js +16 -16
  55. package/cdn/components/button/button.component.js +4 -4
  56. package/cdn/components/button/button.js +5 -5
  57. package/cdn/components/chip/chip.component.js +2 -2
  58. package/cdn/components/chip/chip.js +3 -3
  59. package/cdn/components/combobox/combobox.component.js +4 -4
  60. package/cdn/components/combobox/combobox.js +5 -5
  61. package/cdn/components/date-picker/date-picker.component.js +2 -2
  62. package/cdn/components/date-picker/date-picker.js +3 -3
  63. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  64. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  65. package/cdn/components/dialog/dialog.component.js +2 -2
  66. package/cdn/components/dialog/dialog.js +3 -3
  67. package/cdn/components/icon/icon.component.js +2 -2
  68. package/cdn/components/icon/icon.js +3 -3
  69. package/cdn/components/loader/loader.component.js +2 -2
  70. package/cdn/components/loader/loader.js +3 -3
  71. package/cdn/components/login/login.component.js +11 -11
  72. package/cdn/components/login/login.js +12 -12
  73. package/cdn/components/map/map.component.js +5 -5
  74. package/cdn/components/map/map.js +6 -6
  75. package/cdn/components/plot/plot.component.js +2 -2
  76. package/cdn/components/plot/plot.js +3 -3
  77. package/cdn/components/skeleton/skeleton.component.js +2 -2
  78. package/cdn/components/skeleton/skeleton.js +3 -3
  79. package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
  80. package/cdn/components/spatial-picker/spatial-picker.js +7 -7
  81. package/cdn/components/time-series/time-series.component.js +19 -19
  82. package/cdn/components/time-series/time-series.js +20 -20
  83. package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
  84. package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
  85. package/cdn/components/variable-combobox/variable-combobox.js +10 -10
  86. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  87. package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
  88. package/cdn/custom-elements.json +1162 -1162
  89. package/cdn/react/browse-variables/index.js +16 -16
  90. package/cdn/react/button/index.js +5 -5
  91. package/cdn/react/chip/index.js +3 -3
  92. package/cdn/react/combobox/index.js +5 -5
  93. package/cdn/react/date-picker/index.js +3 -3
  94. package/cdn/react/date-range-slider/index.js +3 -3
  95. package/cdn/react/dialog/index.js +3 -3
  96. package/cdn/react/icon/index.js +3 -3
  97. package/cdn/react/index.d.ts +3 -3
  98. package/cdn/react/index.js +62 -62
  99. package/cdn/react/loader/index.js +3 -3
  100. package/cdn/react/login/index.js +12 -12
  101. package/cdn/react/map/index.js +6 -6
  102. package/cdn/react/plot/index.js +3 -3
  103. package/cdn/react/skeleton/index.js +3 -3
  104. package/cdn/react/spatial-picker/index.js +7 -7
  105. package/cdn/react/time-series/index.js +20 -20
  106. package/cdn/react/variable-combobox/index.js +10 -10
  107. package/cdn/react/variable-keyword-search/index.js +10 -10
  108. package/cdn/terra-ui-components.js +58 -58
  109. package/cdn/types/vue/index.d.ts +58 -58
  110. package/cdn/vscode.html-custom-data.json +71 -71
  111. package/cdn/web-types.json +120 -120
  112. package/{cdn/chunks/chunk.JKYSTSTB.js → dist/chunks/chunk.2C3N4ZPC.js} +1 -1
  113. package/dist/chunks/{chunk.TBGZ6SR6.js → chunk.2SM6RPF4.js} +1 -1
  114. package/{cdn/chunks/chunk.AFMY23UA.js → dist/chunks/chunk.3OAVIAM5.js} +1 -1
  115. package/dist/chunks/{chunk.22DEJGUC.js → chunk.3WZUJW2Y.js} +1 -1
  116. package/dist/chunks/{chunk.TR6VEKXB.js → chunk.4HSACHGZ.js} +3 -3
  117. package/dist/chunks/{chunk.YUMBA5RI.js → chunk.4MRYHUCM.js} +1 -1
  118. package/dist/chunks/{chunk.6FXIMMLZ.js → chunk.5CR7GPTA.js} +1 -1
  119. package/dist/chunks/{chunk.KRQGHVTW.js → chunk.5TY6DTA5.js} +1 -1
  120. package/dist/chunks/{chunk.CEGOOIAM.js → chunk.5UH7VPJT.js} +1 -1
  121. package/{cdn/chunks/chunk.JRX4VOJJ.js → dist/chunks/chunk.64W3QS6J.js} +1 -1
  122. package/dist/chunks/{chunk.OBMGJL67.js → chunk.6CHLMPSL.js} +1 -1
  123. package/dist/chunks/{chunk.7LZF35XH.js → chunk.AGVLAXOP.js} +1 -1
  124. package/dist/chunks/{chunk.C7N5RNWG.js → chunk.ANGXUHYW.js} +7 -7
  125. package/dist/chunks/{chunk.RTD5GGWK.js → chunk.AVNABWYV.js} +1 -1
  126. package/{cdn/chunks/chunk.MUQHTTMA.js → dist/chunks/chunk.AXSGTRVK.js} +1 -1
  127. package/dist/chunks/{chunk.5QMBR4ZW.js → chunk.BITSW5WU.js} +1 -1
  128. package/dist/chunks/{chunk.243JG5TY.js → chunk.BXNBL5EI.js} +1 -1
  129. package/dist/chunks/{chunk.2H4JLAYP.js → chunk.D5CF3AOE.js} +3 -3
  130. package/dist/chunks/{chunk.OXEDXNPM.js → chunk.DF3GLXL7.js} +1 -1
  131. package/dist/chunks/{chunk.DWF53CZ4.js → chunk.DHB2K3G6.js} +1 -1
  132. package/dist/chunks/{chunk.5YKSLNBL.js → chunk.EHQLGVQS.js} +4 -4
  133. package/dist/chunks/{chunk.LMFF6XE3.js → chunk.F5DWEZ7B.js} +1 -1
  134. package/dist/chunks/{chunk.E5LLW6OT.js → chunk.GYT2U4X3.js} +1 -1
  135. package/dist/chunks/{chunk.JK3YFPIF.js → chunk.HOE2KD7E.js} +1 -1
  136. package/dist/chunks/{chunk.YKSU2G7Y.js → chunk.IQXMUJBI.js} +1 -1
  137. package/{cdn/chunks/chunk.PIOQV3HB.js → dist/chunks/chunk.JKG4WO3X.js} +1 -1
  138. package/dist/chunks/{chunk.5P6YHXRK.js → chunk.JZ2LNV23.js} +1 -1
  139. package/dist/chunks/{chunk.NKCPNBJK.js → chunk.LOEBH2CK.js} +1 -1
  140. package/dist/chunks/{chunk.C6VBWD2O.js → chunk.NRPDLZXO.js} +1 -1
  141. package/dist/chunks/{chunk.WGVDK75N.js → chunk.OFCL33KJ.js} +1 -1
  142. package/{cdn/chunks/chunk.646BYX5R.js → dist/chunks/chunk.PMRHWMON.js} +1 -1
  143. package/dist/chunks/{chunk.XPGSFR2L.js → chunk.PQK2QLBS.js} +4 -4
  144. package/dist/chunks/{chunk.5TWZ2CDE.js → chunk.PU2UKYDE.js} +1 -1
  145. package/dist/chunks/{chunk.4IWZYQHO.js → chunk.PX5ZFEML.js} +1 -1
  146. package/dist/chunks/{chunk.TJS6JDKM.js → chunk.QNFVUNLP.js} +1 -1
  147. package/dist/chunks/{chunk.QOHWQULT.js → chunk.QUDKQHU6.js} +1 -1
  148. package/dist/chunks/{chunk.5FD3GXG3.js → chunk.RB6X7TTA.js} +1 -1
  149. package/dist/chunks/{chunk.OER66MA6.js → chunk.SZI4RRPQ.js} +1 -1
  150. package/dist/chunks/{chunk.XKQ4E6YH.js → chunk.T4N6V7MW.js} +12 -12
  151. package/dist/chunks/{chunk.R3VXLPER.js → chunk.U4QF67N5.js} +1 -1
  152. package/dist/chunks/{chunk.QMI5AJEU.js → chunk.U72MYRHF.js} +4 -4
  153. package/dist/chunks/{chunk.XYAUD6SC.js → chunk.UTXUQRTL.js} +1 -1
  154. package/dist/chunks/{chunk.PZM4NO5J.js → chunk.UUIDNNHE.js} +1 -1
  155. package/dist/chunks/{chunk.XESLSKSJ.js → chunk.V2YJBGZP.js} +10 -10
  156. package/dist/chunks/{chunk.CYVLUOIT.js → chunk.X2N4QC3H.js} +1 -10
  157. package/dist/chunks/{chunk.GPQ4L6Q5.js → chunk.XAG5XZPQ.js} +1 -1
  158. package/{cdn/chunks/chunk.HLTKMA3Q.js → dist/chunks/chunk.XEMQBP5L.js} +1 -1
  159. package/dist/chunks/{chunk.EK7GQS63.js → chunk.Y4K5Y7K2.js} +2 -2
  160. package/{cdn/chunks/chunk.UYV4FZJ4.js → dist/chunks/chunk.YXT35LHP.js} +1 -1
  161. package/{cdn/chunks/chunk.3LQ3HHNA.js → dist/chunks/chunk.YXZYJYBS.js} +1 -1
  162. package/{cdn/chunks/chunk.CKJJYH3C.js → dist/chunks/chunk.ZXXR6LX7.js} +1 -1
  163. package/{cdn/chunks/chunk.3CQGLWNW.js → dist/chunks/chunk.ZZQN4BC7.js} +1 -1
  164. package/dist/components/browse-variables/browse-variables.component.js +12 -12
  165. package/dist/components/browse-variables/browse-variables.js +13 -13
  166. package/dist/components/button/button.component.js +3 -3
  167. package/dist/components/button/button.js +4 -4
  168. package/dist/components/chip/chip.component.js +2 -2
  169. package/dist/components/chip/chip.js +3 -3
  170. package/dist/components/combobox/combobox.component.js +3 -3
  171. package/dist/components/combobox/combobox.js +4 -4
  172. package/dist/components/date-picker/date-picker.component.js +2 -2
  173. package/dist/components/date-picker/date-picker.js +3 -3
  174. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  175. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  176. package/dist/components/dialog/dialog.component.js +2 -2
  177. package/dist/components/dialog/dialog.js +3 -3
  178. package/dist/components/icon/icon.component.js +2 -2
  179. package/dist/components/icon/icon.js +3 -3
  180. package/dist/components/loader/loader.component.js +2 -2
  181. package/dist/components/loader/loader.js +3 -3
  182. package/dist/components/login/login.component.js +9 -9
  183. package/dist/components/login/login.js +10 -10
  184. package/dist/components/map/map.component.js +4 -4
  185. package/dist/components/map/map.js +5 -5
  186. package/dist/components/plot/plot.component.js +2 -2
  187. package/dist/components/plot/plot.js +3 -3
  188. package/dist/components/skeleton/skeleton.component.js +2 -2
  189. package/dist/components/skeleton/skeleton.js +3 -3
  190. package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
  191. package/dist/components/spatial-picker/spatial-picker.js +6 -6
  192. package/dist/components/time-series/time-series.component.js +17 -17
  193. package/dist/components/time-series/time-series.js +18 -18
  194. package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
  195. package/dist/components/variable-combobox/variable-combobox.js +8 -8
  196. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
  197. package/dist/components/variable-keyword-search/variable-keyword-search.js +8 -8
  198. package/dist/custom-elements.json +1162 -1162
  199. package/dist/react/browse-variables/index.js +13 -13
  200. package/dist/react/button/index.js +4 -4
  201. package/dist/react/chip/index.js +3 -3
  202. package/dist/react/combobox/index.js +4 -4
  203. package/dist/react/date-picker/index.js +3 -3
  204. package/dist/react/date-range-slider/index.js +3 -3
  205. package/dist/react/dialog/index.js +3 -3
  206. package/dist/react/icon/index.js +3 -3
  207. package/dist/react/index.d.ts +3 -3
  208. package/dist/react/index.js +59 -59
  209. package/dist/react/loader/index.js +3 -3
  210. package/dist/react/login/index.js +10 -10
  211. package/dist/react/map/index.js +5 -5
  212. package/dist/react/plot/index.js +3 -3
  213. package/dist/react/skeleton/index.js +3 -3
  214. package/dist/react/spatial-picker/index.js +6 -6
  215. package/dist/react/time-series/index.js +18 -18
  216. package/dist/react/variable-combobox/index.js +8 -8
  217. package/dist/react/variable-keyword-search/index.js +8 -8
  218. package/dist/terra-ui-components.js +55 -55
  219. package/dist/{terra_ui_components-0.0.35-py3-none-any.whl → terra_ui_components-0.0.36-py3-none-any.whl} +0 -0
  220. package/dist/{terra_ui_components-0.0.35.tar.gz → terra_ui_components-0.0.36.tar.gz} +0 -0
  221. package/dist/types/vue/index.d.ts +58 -58
  222. package/dist/vscode.html-custom-data.json +71 -71
  223. package/dist/web-types.json +120 -120
  224. package/package.json +1 -1
@@ -4,695 +4,788 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "components/browse-variables/browse-variables.js",
7
+ "path": "components/button/button.js",
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
11
  "description": "",
12
- "name": "TerraBrowseVariables",
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": "dependencies",
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": "object"
72
+ "text": "HTMLButtonElement | HTMLLinkElement"
73
+ }
74
+ },
75
+ {
76
+ "kind": "field",
77
+ "name": "hasFocus",
78
+ "type": {
79
+ "text": "boolean"
19
80
  },
20
- "static": true,
21
- "default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
81
+ "privacy": "private",
82
+ "default": "false"
22
83
  },
23
84
  {
24
85
  "kind": "field",
25
- "name": "catalog",
86
+ "name": "invalid",
26
87
  "type": {
27
- "text": "'giovanni'"
88
+ "text": "boolean"
28
89
  },
29
- "default": "'giovanni'",
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": "searchQuery",
94
+ "name": "title",
36
95
  "type": {
37
96
  "text": "string"
38
- }
97
+ },
98
+ "default": "''",
99
+ "attribute": "title"
39
100
  },
40
101
  {
41
102
  "kind": "field",
42
- "name": "selectedFacets",
103
+ "name": "variant",
43
104
  "type": {
44
- "text": "SelectedFacets"
105
+ "text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
45
106
  },
46
- "default": "{}"
107
+ "default": "'primary'",
108
+ "description": "The button's theme variant.",
109
+ "attribute": "variant",
110
+ "reflects": true
47
111
  },
48
112
  {
49
113
  "kind": "field",
50
- "name": "selectedVariables",
114
+ "name": "size",
51
115
  "type": {
52
- "text": "Variable[]"
116
+ "text": "'small' | 'medium' | 'large'"
53
117
  },
54
- "default": "[]"
118
+ "default": "'medium'",
119
+ "description": "The button's size.",
120
+ "attribute": "size",
121
+ "reflects": true
55
122
  },
56
123
  {
57
124
  "kind": "field",
58
- "name": "showVariablesBrowse",
125
+ "name": "caret",
59
126
  "type": {
60
127
  "text": "boolean"
61
128
  },
62
- "default": "false"
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
63
133
  },
64
134
  {
65
135
  "kind": "field",
66
- "name": "#controller",
67
- "privacy": "private",
68
- "default": "new BrowseVariablesController(this)"
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
69
143
  },
70
144
  {
71
- "kind": "method",
72
- "name": "handleSelectedVariablesChange"
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
73
154
  },
74
155
  {
75
- "kind": "method",
76
- "name": "reset"
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
77
165
  },
78
166
  {
79
- "kind": "method",
80
- "name": "handleObservationChange"
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
81
176
  },
82
177
  {
83
- "kind": "method",
84
- "name": "toggleFacetSelect",
85
- "parameters": [
86
- {
87
- "name": "event",
88
- "type": {
89
- "text": "Event"
90
- }
91
- }
92
- ]
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
93
187
  },
94
188
  {
95
- "kind": "method",
96
- "name": "handleSearch",
97
- "parameters": [
98
- {
99
- "name": "e",
100
- "type": {
101
- "text": "TerraVariableKeywordSearchChangeEvent"
102
- }
103
- }
104
- ]
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"
105
197
  },
106
198
  {
107
- "kind": "method",
108
- "name": "#selectFacetField",
109
- "parameters": [
110
- {
111
- "name": "facet",
112
- "type": {
113
- "text": "string"
114
- }
115
- },
116
- {
117
- "name": "field",
118
- "type": {
119
- "text": "string"
120
- }
121
- },
122
- {
123
- "name": "selectOneFieldAtATime",
124
- "default": "false",
125
- "type": {
126
- "text": "boolean"
127
- }
128
- }
129
- ],
130
- "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"
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"
131
207
  },
132
208
  {
133
- "kind": "method",
134
- "name": "#clearFacet",
135
- "parameters": [
136
- {
137
- "name": "facet",
138
- "type": {
139
- "text": "string"
140
- }
141
- }
142
- ]
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"
143
217
  },
144
218
  {
145
- "kind": "method",
146
- "name": "#unselectFacetField",
147
- "parameters": [
148
- {
149
- "name": "facet",
150
- "type": {
151
- "text": "string"
152
- }
153
- },
154
- {
155
- "name": "field",
156
- "type": {
157
- "text": "string"
158
- }
159
- }
160
- ]
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"
300
+ },
301
+ {
302
+ "kind": "field",
303
+ "name": "formTarget",
304
+ "type": {
305
+ "text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
306
+ },
307
+ "description": "Used to override the form owner's `target` attribute.",
308
+ "attribute": "formtarget"
309
+ },
310
+ {
311
+ "kind": "field",
312
+ "name": "forDialog",
313
+ "type": {
314
+ "text": "string | undefined"
315
+ },
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"
318
+ },
319
+ {
320
+ "kind": "field",
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"
327
+ },
328
+ {
329
+ "kind": "field",
330
+ "name": "validity",
331
+ "description": "Gets the validity state object",
332
+ "readonly": true
333
+ },
334
+ {
335
+ "kind": "field",
336
+ "name": "validationMessage",
337
+ "description": "Gets the validation message",
338
+ "readonly": true
161
339
  },
162
340
  {
163
341
  "kind": "method",
164
- "name": "#handleVariableSelection",
342
+ "name": "#handleDialogStateChange",
165
343
  "parameters": [
166
344
  {
167
- "name": "variable",
345
+ "name": "e",
168
346
  "type": {
169
- "text": "Variable"
347
+ "text": "TerraDialogShowEvent | TerraDialogHideEvent"
170
348
  }
171
- },
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "kind": "method",
354
+ "name": "handleBlur",
355
+ "privacy": "private"
356
+ },
357
+ {
358
+ "kind": "method",
359
+ "name": "handleFocus",
360
+ "privacy": "private"
361
+ },
362
+ {
363
+ "kind": "method",
364
+ "name": "handleClick",
365
+ "privacy": "private"
366
+ },
367
+ {
368
+ "kind": "method",
369
+ "name": "handleInvalid",
370
+ "privacy": "private",
371
+ "parameters": [
172
372
  {
173
- "name": "checked",
373
+ "name": "event",
174
374
  "type": {
175
- "text": "Boolean"
375
+ "text": "Event"
176
376
  }
177
377
  }
178
378
  ]
179
379
  },
180
380
  {
181
381
  "kind": "method",
182
- "name": "#renderCategorySelect"
382
+ "name": "isButton",
383
+ "privacy": "private"
183
384
  },
184
385
  {
185
386
  "kind": "method",
186
- "name": "#renderFacet",
387
+ "name": "isLink",
388
+ "privacy": "private"
389
+ },
390
+ {
391
+ "kind": "method",
392
+ "name": "handleDisabledChange"
393
+ },
394
+ {
395
+ "kind": "method",
396
+ "name": "click",
397
+ "description": "Simulates a click on the button."
398
+ },
399
+ {
400
+ "kind": "method",
401
+ "name": "focus",
187
402
  "parameters": [
188
403
  {
189
- "name": "facetKey",
404
+ "name": "options",
405
+ "optional": true,
190
406
  "type": {
191
- "text": "string"
407
+ "text": "FocusOptions"
192
408
  }
193
- },
409
+ }
410
+ ],
411
+ "description": "Sets focus on the button."
412
+ },
413
+ {
414
+ "kind": "method",
415
+ "name": "blur",
416
+ "description": "Removes focus from the button."
417
+ },
418
+ {
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."
422
+ },
423
+ {
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."
432
+ },
433
+ {
434
+ "kind": "method",
435
+ "name": "reportValidity",
436
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
437
+ },
438
+ {
439
+ "kind": "method",
440
+ "name": "setCustomValidity",
441
+ "parameters": [
194
442
  {
195
- "name": "title",
443
+ "name": "message",
196
444
  "type": {
197
445
  "text": "string"
198
446
  }
199
- },
200
- {
201
- "name": "fields",
202
- "optional": true,
203
- "type": {
204
- "text": "FacetField[]"
205
- }
206
- },
447
+ }
448
+ ],
449
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
450
+ },
451
+ {
452
+ "kind": "method",
453
+ "name": "setPageLinkIcon",
454
+ "return": {
455
+ "type": {
456
+ "text": "string"
457
+ }
458
+ },
459
+ "parameters": [
207
460
  {
208
- "name": "open",
209
- "optional": true,
461
+ "name": "href",
210
462
  "type": {
211
- "text": "boolean"
463
+ "text": "string"
212
464
  }
213
465
  }
214
466
  ]
215
467
  },
216
468
  {
217
469
  "kind": "method",
218
- "name": "#renderVariablesBrowse"
219
- }
220
- ],
221
- "attributes": [
222
- {
223
- "name": "catalog",
224
- "type": {
225
- "text": "'giovanni'"
470
+ "name": "setFontSize",
471
+ "return": {
472
+ "type": {
473
+ "text": "string"
474
+ }
226
475
  },
227
- "default": "'giovanni'",
228
- "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
229
- "fieldName": "catalog"
230
- }
231
- ],
232
- "superclass": {
233
- "name": "TerraElement",
234
- "module": "/src/internal/terra-element.js"
235
- },
236
- "summary": "Browse through the NASA CMR or Giovanni catalogs.",
237
- "tagNameWithoutPrefix": "browse-variables",
238
- "tagName": "terra-browse-variables",
239
- "customElement": true,
240
- "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 * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
241
- "documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
242
- "status": "MVP",
243
- "since": "1.0",
244
- "dependencies": [
245
- "terra-variable-keyword-search",
246
- "terra-button",
247
- "terra-skeleton",
248
- "terra-icon",
249
- "terra-loader"
250
- ]
251
- }
252
- ],
253
- "exports": [
254
- {
255
- "kind": "js",
256
- "name": "default",
257
- "declaration": {
258
- "name": "TerraBrowseVariables",
259
- "module": "components/browse-variables/browse-variables.js"
260
- }
261
- }
262
- ]
263
- },
264
- {
265
- "kind": "javascript-module",
266
- "path": "components/chip/chip.js",
267
- "declarations": [
268
- {
269
- "kind": "class",
270
- "description": "",
271
- "name": "TerraChip",
272
- "slots": [
273
- {
274
- "description": "The chip's label.",
275
- "name": ""
276
- }
277
- ],
278
- "members": [
279
- {
280
- "kind": "field",
281
- "name": "size",
282
- "type": {
283
- "text": "'small' | 'medium' | 'large'"
284
- },
285
- "default": "'medium'",
286
- "attribute": "size",
287
- "reflects": true
288
- },
289
- {
290
- "kind": "field",
291
- "name": "#handleRemoveClick",
292
- "privacy": "private"
476
+ "parameters": [
477
+ {
478
+ "name": "size",
479
+ "type": {
480
+ "text": "string"
481
+ }
482
+ }
483
+ ]
293
484
  }
294
485
  ],
295
486
  "attributes": [
296
487
  {
297
- "name": "size",
298
- "type": {
299
- "text": "'small' | 'medium' | 'large'"
300
- },
301
- "default": "'medium'",
302
- "fieldName": "size"
303
- }
304
- ],
305
- "superclass": {
306
- "name": "TerraElement",
307
- "module": "/src/internal/terra-element.js"
308
- },
309
- "summary": "Used for contacts and tags",
310
- "tagNameWithoutPrefix": "chip",
311
- "tagName": "terra-chip",
312
- "customElement": true,
313
- "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 */",
314
- "documentation": "https://disc.gsfc.nasa.gov/components/chip",
315
- "status": "stable",
316
- "since": "1.0"
317
- }
318
- ],
319
- "exports": [
320
- {
321
- "kind": "js",
322
- "name": "default",
323
- "declaration": {
324
- "name": "TerraChip",
325
- "module": "components/chip/chip.js"
326
- }
327
- }
328
- ]
329
- },
330
- {
331
- "kind": "javascript-module",
332
- "path": "components/button/button.js",
333
- "declarations": [
334
- {
335
- "kind": "class",
336
- "description": "",
337
- "name": "TerraButton",
338
- "cssParts": [
339
- {
340
- "description": "The component's base wrapper.",
341
- "name": "base"
342
- },
343
- {
344
- "description": "The container that wraps the prefix.",
345
- "name": "prefix"
346
- },
347
- {
348
- "description": "The button's label.",
349
- "name": "label"
350
- },
351
- {
352
- "description": "The container that wraps the suffix.",
353
- "name": "suffix"
354
- },
355
- {
356
- "description": "The button's caret icon, an `<sl-icon>` element.",
357
- "name": "caret"
358
- },
359
- {
360
- "description": "The spinner that shows when the button is in the loading state.",
361
- "name": "spinner"
362
- }
363
- ],
364
- "slots": [
365
- {
366
- "description": "The button's label.",
367
- "name": ""
368
- },
369
- {
370
- "description": "A presentational prefix icon or similar element.",
371
- "name": "prefix"
372
- },
373
- {
374
- "description": "A presentational suffix icon or similar element.",
375
- "name": "suffix"
376
- }
377
- ],
378
- "members": [
379
- {
380
- "kind": "field",
381
- "name": "formControlController",
382
- "privacy": "private",
383
- "readonly": true,
384
- "default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
385
- },
386
- {
387
- "kind": "field",
388
- "name": "hasSlotController",
389
- "privacy": "private",
390
- "readonly": true,
391
- "default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
392
- },
393
- {
394
- "kind": "field",
395
- "name": "button",
396
- "type": {
397
- "text": "HTMLButtonElement | HTMLLinkElement"
398
- }
399
- },
400
- {
401
- "kind": "field",
402
- "name": "hasFocus",
403
- "type": {
404
- "text": "boolean"
405
- },
406
- "privacy": "private",
407
- "default": "false"
408
- },
409
- {
410
- "kind": "field",
411
- "name": "invalid",
412
- "type": {
413
- "text": "boolean"
414
- },
415
- "default": "false"
416
- },
417
- {
418
- "kind": "field",
419
488
  "name": "title",
420
489
  "type": {
421
490
  "text": "string"
422
491
  },
423
492
  "default": "''",
424
- "attribute": "title"
493
+ "fieldName": "title"
425
494
  },
426
495
  {
427
- "kind": "field",
428
496
  "name": "variant",
429
497
  "type": {
430
498
  "text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
431
499
  },
432
500
  "default": "'primary'",
433
501
  "description": "The button's theme variant.",
434
- "attribute": "variant",
435
- "reflects": true
502
+ "fieldName": "variant"
436
503
  },
437
504
  {
438
- "kind": "field",
439
505
  "name": "size",
440
506
  "type": {
441
507
  "text": "'small' | 'medium' | 'large'"
442
508
  },
443
509
  "default": "'medium'",
444
510
  "description": "The button's size.",
445
- "attribute": "size",
446
- "reflects": true
511
+ "fieldName": "size"
447
512
  },
448
513
  {
449
- "kind": "field",
450
514
  "name": "caret",
451
515
  "type": {
452
516
  "text": "boolean"
453
517
  },
454
518
  "default": "false",
455
519
  "description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
456
- "attribute": "caret",
457
- "reflects": true
520
+ "fieldName": "caret"
458
521
  },
459
522
  {
460
- "kind": "field",
461
523
  "name": "shape",
462
524
  "type": {
463
525
  "text": "'square' | 'square-left' | 'square-right'"
464
526
  },
465
527
  "description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
466
- "attribute": "shape",
467
- "reflects": true
528
+ "fieldName": "shape"
468
529
  },
469
530
  {
470
- "kind": "field",
471
531
  "name": "disabled",
472
532
  "type": {
473
533
  "text": "boolean"
474
534
  },
475
535
  "default": "false",
476
536
  "description": "Disables the button.",
477
- "attribute": "disabled",
478
- "reflects": true
537
+ "fieldName": "disabled"
479
538
  },
480
539
  {
481
- "kind": "field",
482
540
  "name": "loading",
483
541
  "type": {
484
542
  "text": "boolean"
485
543
  },
486
544
  "default": "false",
487
545
  "description": "Draws the button in a loading state.",
488
- "attribute": "loading",
489
- "reflects": true
546
+ "fieldName": "loading"
490
547
  },
491
548
  {
492
- "kind": "field",
493
549
  "name": "outline",
494
550
  "type": {
495
551
  "text": "boolean"
496
552
  },
497
553
  "default": "false",
498
554
  "description": "Draws an outlined button.",
499
- "attribute": "outline",
500
- "reflects": true
555
+ "fieldName": "outline"
501
556
  },
502
557
  {
503
- "kind": "field",
504
558
  "name": "circle",
505
559
  "type": {
506
560
  "text": "boolean"
507
561
  },
508
562
  "default": "false",
509
563
  "description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
510
- "attribute": "circle",
511
- "reflects": true
564
+ "fieldName": "circle"
512
565
  },
513
566
  {
514
- "kind": "field",
515
567
  "name": "type",
516
568
  "type": {
517
569
  "text": "'button' | 'submit' | 'reset'"
518
570
  },
519
571
  "default": "'button'",
520
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.",
521
- "attribute": "type"
573
+ "fieldName": "type"
522
574
  },
523
575
  {
524
- "kind": "field",
525
576
  "name": "name",
526
577
  "type": {
527
578
  "text": "string"
528
579
  },
529
580
  "default": "''",
530
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.",
531
- "attribute": "name"
582
+ "fieldName": "name"
532
583
  },
533
584
  {
534
- "kind": "field",
535
585
  "name": "value",
536
586
  "type": {
537
587
  "text": "string"
538
588
  },
539
589
  "default": "''",
540
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.",
541
- "attribute": "value"
591
+ "fieldName": "value"
542
592
  },
543
593
  {
544
- "kind": "field",
545
594
  "name": "href",
546
595
  "type": {
547
596
  "text": "string"
548
597
  },
549
598
  "default": "''",
550
599
  "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
551
- "attribute": "href"
600
+ "fieldName": "href"
552
601
  },
553
602
  {
554
- "kind": "field",
555
603
  "name": "target",
556
604
  "type": {
557
605
  "text": "'_blank' | '_parent' | '_self' | '_top'"
558
606
  },
559
607
  "description": "Tells the browser where to open the link. Only used when `href` is present.",
560
- "attribute": "target"
608
+ "fieldName": "target"
561
609
  },
562
610
  {
563
- "kind": "field",
564
611
  "name": "rel",
565
612
  "type": {
566
613
  "text": "string"
567
614
  },
568
615
  "default": "'noreferrer noopener'",
569
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.",
570
- "attribute": "rel"
617
+ "fieldName": "rel"
571
618
  },
572
619
  {
573
- "kind": "field",
574
620
  "name": "download",
575
621
  "type": {
576
622
  "text": "string | undefined"
577
623
  },
578
624
  "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
579
- "attribute": "download"
625
+ "fieldName": "download"
580
626
  },
581
627
  {
582
- "kind": "field",
583
628
  "name": "form",
584
629
  "type": {
585
630
  "text": "string"
586
631
  },
587
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.",
588
- "attribute": "form"
633
+ "fieldName": "form"
589
634
  },
590
635
  {
591
- "kind": "field",
592
- "name": "formAction",
636
+ "name": "formaction",
593
637
  "type": {
594
638
  "text": "string"
595
639
  },
596
640
  "description": "Used to override the form owner's `action` attribute.",
597
- "attribute": "formaction"
641
+ "fieldName": "formAction"
598
642
  },
599
643
  {
600
- "kind": "field",
601
- "name": "formEnctype",
644
+ "name": "formenctype",
602
645
  "type": {
603
646
  "text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
604
647
  },
605
648
  "description": "Used to override the form owner's `enctype` attribute.",
606
- "attribute": "formenctype"
649
+ "fieldName": "formEnctype"
607
650
  },
608
651
  {
609
- "kind": "field",
610
- "name": "formMethod",
652
+ "name": "formmethod",
611
653
  "type": {
612
654
  "text": "'post' | 'get'"
613
655
  },
614
656
  "description": "Used to override the form owner's `method` attribute.",
615
- "attribute": "formmethod"
657
+ "fieldName": "formMethod"
616
658
  },
617
659
  {
618
- "kind": "field",
619
- "name": "formNoValidate",
660
+ "name": "formnovalidate",
620
661
  "type": {
621
662
  "text": "boolean"
622
663
  },
623
664
  "description": "Used to override the form owner's `novalidate` attribute.",
624
- "attribute": "formnovalidate"
665
+ "fieldName": "formNoValidate"
625
666
  },
626
667
  {
627
- "kind": "field",
628
- "name": "formTarget",
668
+ "name": "formtarget",
629
669
  "type": {
630
670
  "text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
631
671
  },
632
672
  "description": "Used to override the form owner's `target` attribute.",
633
- "attribute": "formtarget"
673
+ "fieldName": "formTarget"
634
674
  },
635
675
  {
636
- "kind": "field",
637
- "name": "forDialog",
676
+ "name": "for-dialog",
638
677
  "type": {
639
678
  "text": "string | undefined"
640
679
  },
641
680
  "description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
642
- "attribute": "for-dialog"
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": [
718
+ {
719
+ "kind": "field",
720
+ "name": "dependencies",
721
+ "type": {
722
+ "text": "object"
723
+ },
724
+ "static": true,
725
+ "default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
643
726
  },
644
727
  {
645
728
  "kind": "field",
646
- "name": "expanded",
729
+ "name": "catalog",
647
730
  "type": {
648
- "text": "boolean"
731
+ "text": "'giovanni'"
649
732
  },
650
- "default": "false",
651
- "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"
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"
652
736
  },
653
737
  {
654
738
  "kind": "field",
655
- "name": "validity",
656
- "description": "Gets the validity state object",
657
- "readonly": true
739
+ "name": "searchQuery",
740
+ "type": {
741
+ "text": "string"
742
+ }
658
743
  },
659
744
  {
660
745
  "kind": "field",
661
- "name": "validationMessage",
662
- "description": "Gets the validation message",
663
- "readonly": true
746
+ "name": "selectedFacets",
747
+ "type": {
748
+ "text": "SelectedFacets"
749
+ },
750
+ "default": "{}"
664
751
  },
665
752
  {
666
- "kind": "method",
667
- "name": "#handleDialogStateChange",
668
- "parameters": [
669
- {
670
- "name": "e",
671
- "type": {
672
- "text": "TerraDialogShowEvent | TerraDialogHideEvent"
673
- }
674
- }
675
- ]
753
+ "kind": "field",
754
+ "name": "selectedVariables",
755
+ "type": {
756
+ "text": "Variable[]"
757
+ },
758
+ "default": "[]"
759
+ },
760
+ {
761
+ "kind": "field",
762
+ "name": "showVariablesBrowse",
763
+ "type": {
764
+ "text": "boolean"
765
+ },
766
+ "default": "false"
767
+ },
768
+ {
769
+ "kind": "field",
770
+ "name": "#controller",
771
+ "privacy": "private",
772
+ "default": "new BrowseVariablesController(this)"
676
773
  },
677
774
  {
678
775
  "kind": "method",
679
- "name": "handleBlur",
680
- "privacy": "private"
776
+ "name": "handleSelectedVariablesChange"
681
777
  },
682
778
  {
683
779
  "kind": "method",
684
- "name": "handleFocus",
685
- "privacy": "private"
780
+ "name": "reset"
686
781
  },
687
782
  {
688
783
  "kind": "method",
689
- "name": "handleClick",
690
- "privacy": "private"
784
+ "name": "handleObservationChange"
691
785
  },
692
786
  {
693
787
  "kind": "method",
694
- "name": "handleInvalid",
695
- "privacy": "private",
788
+ "name": "toggleFacetSelect",
696
789
  "parameters": [
697
790
  {
698
791
  "name": "event",
@@ -704,320 +797,227 @@
704
797
  },
705
798
  {
706
799
  "kind": "method",
707
- "name": "isButton",
708
- "privacy": "private"
709
- },
710
- {
711
- "kind": "method",
712
- "name": "isLink",
713
- "privacy": "private"
714
- },
715
- {
716
- "kind": "method",
717
- "name": "handleDisabledChange"
718
- },
719
- {
720
- "kind": "method",
721
- "name": "click",
722
- "description": "Simulates a click on the button."
800
+ "name": "handleSearch",
801
+ "parameters": [
802
+ {
803
+ "name": "e",
804
+ "type": {
805
+ "text": "TerraVariableKeywordSearchChangeEvent"
806
+ }
807
+ }
808
+ ]
723
809
  },
724
810
  {
725
811
  "kind": "method",
726
- "name": "focus",
812
+ "name": "#selectFacetField",
727
813
  "parameters": [
728
814
  {
729
- "name": "options",
730
- "optional": true,
815
+ "name": "facet",
731
816
  "type": {
732
- "text": "FocusOptions"
817
+ "text": "string"
818
+ }
819
+ },
820
+ {
821
+ "name": "field",
822
+ "type": {
823
+ "text": "string"
824
+ }
825
+ },
826
+ {
827
+ "name": "selectOneFieldAtATime",
828
+ "default": "false",
829
+ "type": {
830
+ "text": "boolean"
733
831
  }
734
832
  }
735
833
  ],
736
- "description": "Sets focus on the button."
737
- },
738
- {
739
- "kind": "method",
740
- "name": "blur",
741
- "description": "Removes focus from the button."
742
- },
743
- {
744
- "kind": "method",
745
- "name": "checkValidity",
746
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
834
+ "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"
747
835
  },
748
836
  {
749
837
  "kind": "method",
750
- "name": "getForm",
751
- "return": {
752
- "type": {
753
- "text": "HTMLFormElement | null"
838
+ "name": "#clearFacet",
839
+ "parameters": [
840
+ {
841
+ "name": "facet",
842
+ "type": {
843
+ "text": "string"
844
+ }
754
845
  }
755
- },
756
- "description": "Gets the associated form, if one exists."
757
- },
758
- {
759
- "kind": "method",
760
- "name": "reportValidity",
761
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
846
+ ]
762
847
  },
763
848
  {
764
849
  "kind": "method",
765
- "name": "setCustomValidity",
850
+ "name": "#unselectFacetField",
766
851
  "parameters": [
767
852
  {
768
- "name": "message",
853
+ "name": "facet",
854
+ "type": {
855
+ "text": "string"
856
+ }
857
+ },
858
+ {
859
+ "name": "field",
769
860
  "type": {
770
861
  "text": "string"
771
862
  }
772
863
  }
773
- ],
774
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
864
+ ]
775
865
  },
776
866
  {
777
867
  "kind": "method",
778
- "name": "setPageLinkIcon",
779
- "return": {
780
- "type": {
781
- "text": "string"
782
- }
783
- },
868
+ "name": "#handleVariableSelection",
784
869
  "parameters": [
785
870
  {
786
- "name": "href",
871
+ "name": "variable",
787
872
  "type": {
788
- "text": "string"
873
+ "text": "Variable"
874
+ }
875
+ },
876
+ {
877
+ "name": "checked",
878
+ "type": {
879
+ "text": "Boolean"
789
880
  }
790
881
  }
791
882
  ]
792
883
  },
793
884
  {
794
885
  "kind": "method",
795
- "name": "setFontSize",
796
- "return": {
797
- "type": {
798
- "text": "string"
799
- }
800
- },
886
+ "name": "#renderCategorySelect"
887
+ },
888
+ {
889
+ "kind": "method",
890
+ "name": "#renderFacet",
801
891
  "parameters": [
802
892
  {
803
- "name": "size",
893
+ "name": "facetKey",
804
894
  "type": {
805
895
  "text": "string"
806
896
  }
897
+ },
898
+ {
899
+ "name": "title",
900
+ "type": {
901
+ "text": "string"
902
+ }
903
+ },
904
+ {
905
+ "name": "fields",
906
+ "optional": true,
907
+ "type": {
908
+ "text": "FacetField[]"
909
+ }
910
+ },
911
+ {
912
+ "name": "open",
913
+ "optional": true,
914
+ "type": {
915
+ "text": "boolean"
916
+ }
807
917
  }
808
918
  ]
919
+ },
920
+ {
921
+ "kind": "method",
922
+ "name": "#renderVariablesBrowse"
809
923
  }
810
924
  ],
811
925
  "attributes": [
812
926
  {
813
- "name": "title",
927
+ "name": "catalog",
814
928
  "type": {
815
- "text": "string"
929
+ "text": "'giovanni'"
816
930
  },
817
- "default": "''",
818
- "fieldName": "title"
819
- },
931
+ "default": "'giovanni'",
932
+ "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
933
+ "fieldName": "catalog"
934
+ }
935
+ ],
936
+ "superclass": {
937
+ "name": "TerraElement",
938
+ "module": "/src/internal/terra-element.js"
939
+ },
940
+ "summary": "Browse through the NASA CMR or Giovanni catalogs.",
941
+ "tagNameWithoutPrefix": "browse-variables",
942
+ "tagName": "terra-browse-variables",
943
+ "customElement": true,
944
+ "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 * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
945
+ "documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
946
+ "status": "MVP",
947
+ "since": "1.0",
948
+ "dependencies": [
949
+ "terra-variable-keyword-search",
950
+ "terra-button",
951
+ "terra-skeleton",
952
+ "terra-icon",
953
+ "terra-loader"
954
+ ]
955
+ }
956
+ ],
957
+ "exports": [
958
+ {
959
+ "kind": "js",
960
+ "name": "default",
961
+ "declaration": {
962
+ "name": "TerraBrowseVariables",
963
+ "module": "components/browse-variables/browse-variables.js"
964
+ }
965
+ }
966
+ ]
967
+ },
968
+ {
969
+ "kind": "javascript-module",
970
+ "path": "components/chip/chip.js",
971
+ "declarations": [
972
+ {
973
+ "kind": "class",
974
+ "description": "",
975
+ "name": "TerraChip",
976
+ "slots": [
820
977
  {
821
- "name": "variant",
822
- "type": {
823
- "text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
824
- },
825
- "default": "'primary'",
826
- "description": "The button's theme variant.",
827
- "fieldName": "variant"
828
- },
978
+ "description": "The chip's label.",
979
+ "name": ""
980
+ }
981
+ ],
982
+ "members": [
829
983
  {
984
+ "kind": "field",
830
985
  "name": "size",
831
986
  "type": {
832
987
  "text": "'small' | 'medium' | 'large'"
833
988
  },
834
989
  "default": "'medium'",
835
- "description": "The button's size.",
836
- "fieldName": "size"
837
- },
838
- {
839
- "name": "caret",
840
- "type": {
841
- "text": "boolean"
842
- },
843
- "default": "false",
844
- "description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
845
- "fieldName": "caret"
846
- },
847
- {
848
- "name": "shape",
849
- "type": {
850
- "text": "'square' | 'square-left' | 'square-right'"
851
- },
852
- "description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
853
- "fieldName": "shape"
854
- },
855
- {
856
- "name": "disabled",
857
- "type": {
858
- "text": "boolean"
859
- },
860
- "default": "false",
861
- "description": "Disables the button.",
862
- "fieldName": "disabled"
863
- },
864
- {
865
- "name": "loading",
866
- "type": {
867
- "text": "boolean"
868
- },
869
- "default": "false",
870
- "description": "Draws the button in a loading state.",
871
- "fieldName": "loading"
872
- },
873
- {
874
- "name": "outline",
875
- "type": {
876
- "text": "boolean"
877
- },
878
- "default": "false",
879
- "description": "Draws an outlined button.",
880
- "fieldName": "outline"
881
- },
882
- {
883
- "name": "circle",
884
- "type": {
885
- "text": "boolean"
886
- },
887
- "default": "false",
888
- "description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
889
- "fieldName": "circle"
890
- },
891
- {
892
- "name": "type",
893
- "type": {
894
- "text": "'button' | 'submit' | 'reset'"
895
- },
896
- "default": "'button'",
897
- "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.",
898
- "fieldName": "type"
899
- },
900
- {
901
- "name": "name",
902
- "type": {
903
- "text": "string"
904
- },
905
- "default": "''",
906
- "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.",
907
- "fieldName": "name"
908
- },
909
- {
910
- "name": "value",
911
- "type": {
912
- "text": "string"
913
- },
914
- "default": "''",
915
- "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.",
916
- "fieldName": "value"
917
- },
918
- {
919
- "name": "href",
920
- "type": {
921
- "text": "string"
922
- },
923
- "default": "''",
924
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
925
- "fieldName": "href"
926
- },
927
- {
928
- "name": "target",
929
- "type": {
930
- "text": "'_blank' | '_parent' | '_self' | '_top'"
931
- },
932
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
933
- "fieldName": "target"
934
- },
935
- {
936
- "name": "rel",
937
- "type": {
938
- "text": "string"
939
- },
940
- "default": "'noreferrer noopener'",
941
- "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.",
942
- "fieldName": "rel"
943
- },
944
- {
945
- "name": "download",
946
- "type": {
947
- "text": "string | undefined"
948
- },
949
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
950
- "fieldName": "download"
951
- },
952
- {
953
- "name": "form",
954
- "type": {
955
- "text": "string"
956
- },
957
- "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.",
958
- "fieldName": "form"
959
- },
960
- {
961
- "name": "formaction",
962
- "type": {
963
- "text": "string"
964
- },
965
- "description": "Used to override the form owner's `action` attribute.",
966
- "fieldName": "formAction"
967
- },
968
- {
969
- "name": "formenctype",
970
- "type": {
971
- "text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
972
- },
973
- "description": "Used to override the form owner's `enctype` attribute.",
974
- "fieldName": "formEnctype"
975
- },
976
- {
977
- "name": "formmethod",
978
- "type": {
979
- "text": "'post' | 'get'"
980
- },
981
- "description": "Used to override the form owner's `method` attribute.",
982
- "fieldName": "formMethod"
983
- },
984
- {
985
- "name": "formnovalidate",
986
- "type": {
987
- "text": "boolean"
988
- },
989
- "description": "Used to override the form owner's `novalidate` attribute.",
990
- "fieldName": "formNoValidate"
990
+ "attribute": "size",
991
+ "reflects": true
991
992
  },
992
993
  {
993
- "name": "formtarget",
994
- "type": {
995
- "text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
996
- },
997
- "description": "Used to override the form owner's `target` attribute.",
998
- "fieldName": "formTarget"
999
- },
994
+ "kind": "field",
995
+ "name": "#handleRemoveClick",
996
+ "privacy": "private"
997
+ }
998
+ ],
999
+ "attributes": [
1000
1000
  {
1001
- "name": "for-dialog",
1001
+ "name": "size",
1002
1002
  "type": {
1003
- "text": "string | undefined"
1003
+ "text": "'small' | 'medium' | 'large'"
1004
1004
  },
1005
- "description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
1006
- "fieldName": "forDialog"
1005
+ "default": "'medium'",
1006
+ "fieldName": "size"
1007
1007
  }
1008
1008
  ],
1009
1009
  "superclass": {
1010
1010
  "name": "TerraElement",
1011
1011
  "module": "/src/internal/terra-element.js"
1012
- },
1013
- "summary": "Buttons represent actions that are available to the user.",
1014
- "tagNameWithoutPrefix": "button",
1015
- "tagName": "terra-button",
1012
+ },
1013
+ "summary": "Used for contacts and tags",
1014
+ "tagNameWithoutPrefix": "chip",
1015
+ "tagName": "terra-chip",
1016
1016
  "customElement": true,
1017
- "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 */",
1018
- "documentation": "https://shoelace.style/components/button",
1017
+ "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 */",
1018
+ "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1019
1019
  "status": "stable",
1020
- "since": "2.0"
1020
+ "since": "1.0"
1021
1021
  }
1022
1022
  ],
1023
1023
  "exports": [
@@ -1025,8 +1025,8 @@
1025
1025
  "kind": "js",
1026
1026
  "name": "default",
1027
1027
  "declaration": {
1028
- "name": "TerraButton",
1029
- "module": "components/button/button.js"
1028
+ "name": "TerraChip",
1029
+ "module": "components/chip/chip.js"
1030
1030
  }
1031
1031
  }
1032
1032
  ]
@@ -1304,74 +1304,299 @@
1304
1304
  "type": {
1305
1305
  "text": "string"
1306
1306
  },
1307
- "default": "'Search for Items'",
1308
- "description": "Label the combobox with this.",
1309
- "fieldName": "label"
1307
+ "default": "'Search for Items'",
1308
+ "description": "Label the combobox with this.",
1309
+ "fieldName": "label"
1310
+ },
1311
+ {
1312
+ "name": "name",
1313
+ "type": {
1314
+ "text": "string"
1315
+ },
1316
+ "default": "'Item'",
1317
+ "description": "name the combobox with this.",
1318
+ "fieldName": "name"
1319
+ },
1320
+ {
1321
+ "name": "placeholder",
1322
+ "type": {
1323
+ "text": "string"
1324
+ },
1325
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1326
+ "fieldName": "placeholder"
1327
+ },
1328
+ {
1329
+ "name": "hide-help",
1330
+ "type": {
1331
+ "text": "boolean"
1332
+ },
1333
+ "default": "false",
1334
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1335
+ "fieldName": "hideHelp"
1336
+ },
1337
+ {
1338
+ "name": "hide-label",
1339
+ "type": {
1340
+ "text": "boolean"
1341
+ },
1342
+ "default": "false",
1343
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1344
+ "fieldName": "hideLabel"
1345
+ },
1346
+ {
1347
+ "name": "status",
1348
+ "type": {
1349
+ "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1350
+ },
1351
+ "default": "'INITIAL'",
1352
+ "description": "status of the content",
1353
+ "fieldName": "status"
1354
+ },
1355
+ {
1356
+ "name": "content",
1357
+ "type": {
1358
+ "text": "Content"
1359
+ },
1360
+ "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1361
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1362
+ "fieldName": "content"
1363
+ }
1364
+ ],
1365
+ "superclass": {
1366
+ "name": "TerraElement",
1367
+ "module": "/src/internal/terra-element.js"
1368
+ },
1369
+ "summary": "Fuzzy-search for combobox with list autocomplete.",
1370
+ "tagNameWithoutPrefix": "combobox",
1371
+ "tagName": "terra-combobox",
1372
+ "customElement": true,
1373
+ "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 */",
1374
+ "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1375
+ "status": "experimental",
1376
+ "since": "1.0"
1377
+ }
1378
+ ],
1379
+ "exports": [
1380
+ {
1381
+ "kind": "js",
1382
+ "name": "default",
1383
+ "declaration": {
1384
+ "name": "TerraCombobox",
1385
+ "module": "components/combobox/combobox.js"
1386
+ }
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "kind": "javascript-module",
1392
+ "path": "components/date-range-slider/date-range-slider.js",
1393
+ "declarations": [
1394
+ {
1395
+ "kind": "class",
1396
+ "description": "",
1397
+ "name": "TerraDateRangeSlider",
1398
+ "cssProperties": [
1399
+ {
1400
+ "description": "An example CSS custom property.",
1401
+ "name": "--example"
1402
+ }
1403
+ ],
1404
+ "cssParts": [
1405
+ {
1406
+ "description": "The component's base wrapper.",
1407
+ "name": "base"
1408
+ }
1409
+ ],
1410
+ "slots": [
1411
+ {
1412
+ "description": "The default slot.",
1413
+ "name": ""
1414
+ },
1415
+ {
1416
+ "description": "An example slot.",
1417
+ "name": "example"
1418
+ }
1419
+ ],
1420
+ "members": [
1421
+ {
1422
+ "kind": "field",
1423
+ "name": "slider",
1424
+ "type": {
1425
+ "text": "HTMLElement & { noUiSlider: API }"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "field",
1430
+ "name": "timeScale",
1431
+ "type": {
1432
+ "text": "TimeScale"
1433
+ },
1434
+ "default": "'daily'",
1435
+ "attribute": "time-scale"
1436
+ },
1437
+ {
1438
+ "kind": "field",
1439
+ "name": "minDate",
1440
+ "type": {
1441
+ "text": "string"
1442
+ },
1443
+ "attribute": "min-date"
1444
+ },
1445
+ {
1446
+ "kind": "field",
1447
+ "name": "maxDate",
1448
+ "type": {
1449
+ "text": "string"
1450
+ },
1451
+ "attribute": "max-date"
1452
+ },
1453
+ {
1454
+ "kind": "field",
1455
+ "name": "startDate",
1456
+ "type": {
1457
+ "text": "string"
1458
+ },
1459
+ "description": "The start date for the time series plot.",
1460
+ "attribute": "start-date"
1461
+ },
1462
+ {
1463
+ "kind": "field",
1464
+ "name": "endDate",
1465
+ "type": {
1466
+ "text": "string"
1467
+ },
1468
+ "attribute": "end-date"
1469
+ },
1470
+ {
1471
+ "kind": "field",
1472
+ "name": "disabled",
1473
+ "type": {
1474
+ "text": "boolean"
1475
+ },
1476
+ "default": "false",
1477
+ "attribute": "disabled",
1478
+ "reflects": true
1479
+ },
1480
+ {
1481
+ "kind": "field",
1482
+ "name": "hasPips",
1483
+ "type": {
1484
+ "text": "boolean"
1485
+ },
1486
+ "default": "true",
1487
+ "attribute": "has-pips",
1488
+ "reflects": true
1489
+ },
1490
+ {
1491
+ "kind": "method",
1492
+ "name": "updateSlider"
1493
+ },
1494
+ {
1495
+ "kind": "method",
1496
+ "name": "disabledChanged"
1497
+ },
1498
+ {
1499
+ "kind": "method",
1500
+ "name": "renderSlider"
1501
+ },
1502
+ {
1503
+ "kind": "method",
1504
+ "name": "renderEmptySlider"
1505
+ },
1506
+ {
1507
+ "kind": "method",
1508
+ "name": "_getStep",
1509
+ "privacy": "private"
1510
+ },
1511
+ {
1512
+ "kind": "method",
1513
+ "name": "_getSliderFormatter",
1514
+ "privacy": "private",
1515
+ "return": {
1516
+ "type": {
1517
+ "text": "Formatter"
1518
+ }
1519
+ }
1520
+ },
1521
+ {
1522
+ "kind": "method",
1523
+ "name": "_formatDate",
1524
+ "privacy": "private",
1525
+ "parameters": [
1526
+ {
1527
+ "name": "date",
1528
+ "type": {
1529
+ "text": "string | number | Date"
1530
+ }
1531
+ }
1532
+ ]
1533
+ }
1534
+ ],
1535
+ "attributes": [
1536
+ {
1537
+ "name": "time-scale",
1538
+ "type": {
1539
+ "text": "TimeScale"
1540
+ },
1541
+ "default": "'daily'",
1542
+ "fieldName": "timeScale"
1543
+ },
1544
+ {
1545
+ "name": "min-date",
1546
+ "type": {
1547
+ "text": "string"
1548
+ },
1549
+ "fieldName": "minDate"
1310
1550
  },
1311
1551
  {
1312
- "name": "name",
1552
+ "name": "max-date",
1313
1553
  "type": {
1314
1554
  "text": "string"
1315
1555
  },
1316
- "default": "'Item'",
1317
- "description": "name the combobox with this.",
1318
- "fieldName": "name"
1556
+ "fieldName": "maxDate"
1319
1557
  },
1320
1558
  {
1321
- "name": "placeholder",
1559
+ "name": "start-date",
1322
1560
  "type": {
1323
1561
  "text": "string"
1324
1562
  },
1325
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1326
- "fieldName": "placeholder"
1563
+ "description": "The start date for the time series plot.",
1564
+ "fieldName": "startDate"
1327
1565
  },
1328
1566
  {
1329
- "name": "hide-help",
1567
+ "name": "end-date",
1330
1568
  "type": {
1331
- "text": "boolean"
1569
+ "text": "string"
1332
1570
  },
1333
- "default": "false",
1334
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
1335
- "fieldName": "hideHelp"
1571
+ "fieldName": "endDate"
1336
1572
  },
1337
1573
  {
1338
- "name": "hide-label",
1574
+ "name": "disabled",
1339
1575
  "type": {
1340
1576
  "text": "boolean"
1341
1577
  },
1342
1578
  "default": "false",
1343
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1344
- "fieldName": "hideLabel"
1345
- },
1346
- {
1347
- "name": "status",
1348
- "type": {
1349
- "text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
1350
- },
1351
- "default": "'INITIAL'",
1352
- "description": "status of the content",
1353
- "fieldName": "status"
1579
+ "fieldName": "disabled"
1354
1580
  },
1355
1581
  {
1356
- "name": "content",
1582
+ "name": "has-pips",
1357
1583
  "type": {
1358
- "text": "Content"
1584
+ "text": "boolean"
1359
1585
  },
1360
- "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
1361
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
1362
- "fieldName": "content"
1586
+ "default": "true",
1587
+ "fieldName": "hasPips"
1363
1588
  }
1364
1589
  ],
1365
1590
  "superclass": {
1366
1591
  "name": "TerraElement",
1367
1592
  "module": "/src/internal/terra-element.js"
1368
1593
  },
1369
- "summary": "Fuzzy-search for combobox with list autocomplete.",
1370
- "tagNameWithoutPrefix": "combobox",
1371
- "tagName": "terra-combobox",
1594
+ "summary": "Short summary of the component's intended use.",
1595
+ "tagNameWithoutPrefix": "date-range-slider",
1596
+ "tagName": "terra-date-range-slider",
1372
1597
  "customElement": true,
1373
- "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 */",
1374
- "documentation": "https://disc.gsfc.nasa.gov/components/combobox",
1598
+ "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 */",
1599
+ "documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
1375
1600
  "status": "experimental",
1376
1601
  "since": "1.0"
1377
1602
  }
@@ -1381,8 +1606,8 @@
1381
1606
  "kind": "js",
1382
1607
  "name": "default",
1383
1608
  "declaration": {
1384
- "name": "TerraCombobox",
1385
- "module": "components/combobox/combobox.js"
1609
+ "name": "TerraDateRangeSlider",
1610
+ "module": "components/date-range-slider/date-range-slider.js"
1386
1611
  }
1387
1612
  }
1388
1613
  ]
@@ -1650,340 +1875,115 @@
1650
1875
  "text": "boolean"
1651
1876
  },
1652
1877
  "default": "false",
1653
- "fieldName": "allowInput"
1654
- },
1655
- {
1656
- "name": "alt-format",
1657
- "type": {
1658
- "text": "string"
1659
- },
1660
- "default": "'F j, Y'",
1661
- "fieldName": "altFormat"
1662
- },
1663
- {
1664
- "name": "alt-input",
1665
- "type": {
1666
- "text": "boolean"
1667
- },
1668
- "default": "false",
1669
- "fieldName": "altInput"
1670
- },
1671
- {
1672
- "name": "alt-input-class",
1673
- "type": {
1674
- "text": "string"
1675
- },
1676
- "default": "''",
1677
- "fieldName": "altInputClass"
1678
- },
1679
- {
1680
- "name": "date-format",
1681
- "type": {
1682
- "text": "string"
1683
- },
1684
- "default": "'Y-m-d'",
1685
- "fieldName": "dateFormat"
1686
- },
1687
- {
1688
- "name": "enable-time",
1689
- "type": {
1690
- "text": "boolean"
1691
- },
1692
- "default": "false",
1693
- "fieldName": "enableTime"
1694
- },
1695
- {
1696
- "name": "time-24hr",
1697
- "type": {
1698
- "text": "boolean"
1699
- },
1700
- "default": "false",
1701
- "fieldName": "time24hr"
1702
- },
1703
- {
1704
- "name": "week-numbers",
1705
- "type": {
1706
- "text": "boolean"
1707
- },
1708
- "default": "false",
1709
- "fieldName": "weekNumbers"
1710
- },
1711
- {
1712
- "name": "static",
1713
- "type": {
1714
- "text": "boolean"
1715
- },
1716
- "default": "false",
1717
- "fieldName": "static"
1718
- },
1719
- {
1720
- "name": "position",
1721
- "type": {
1722
- "text": "'auto' | 'above' | 'below'"
1723
- },
1724
- "default": "'auto'",
1725
- "fieldName": "position"
1726
- },
1727
- {
1728
- "name": "show-months",
1729
- "type": {
1730
- "text": "number"
1731
- },
1732
- "default": "1",
1733
- "fieldName": "showMonths"
1734
- },
1735
- {
1736
- "name": "hide-label",
1737
- "type": {
1738
- "text": "boolean"
1739
- },
1740
- "default": "false",
1741
- "fieldName": "hideLabel"
1742
- },
1743
- {
1744
- "name": "label",
1745
- "type": {
1746
- "text": "string"
1747
- },
1748
- "default": "'Select Date'",
1749
- "fieldName": "label"
1750
- }
1751
- ],
1752
- "superclass": {
1753
- "name": "TerraElement",
1754
- "module": "/src/internal/terra-element.js"
1755
- },
1756
- "summary": "A date picker component that supports single date selection or date range selection.",
1757
- "tagNameWithoutPrefix": "date-picker",
1758
- "tagName": "terra-date-picker",
1759
- "customElement": true,
1760
- "jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
1761
- "documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
1762
- "status": "experimental",
1763
- "since": "1.0"
1764
- }
1765
- ],
1766
- "exports": [
1767
- {
1768
- "kind": "js",
1769
- "name": "default",
1770
- "declaration": {
1771
- "name": "TerraDatePicker",
1772
- "module": "components/date-picker/date-picker.js"
1773
- }
1774
- }
1775
- ]
1776
- },
1777
- {
1778
- "kind": "javascript-module",
1779
- "path": "components/date-range-slider/date-range-slider.js",
1780
- "declarations": [
1781
- {
1782
- "kind": "class",
1783
- "description": "",
1784
- "name": "TerraDateRangeSlider",
1785
- "cssProperties": [
1786
- {
1787
- "description": "An example CSS custom property.",
1788
- "name": "--example"
1789
- }
1790
- ],
1791
- "cssParts": [
1792
- {
1793
- "description": "The component's base wrapper.",
1794
- "name": "base"
1795
- }
1796
- ],
1797
- "slots": [
1798
- {
1799
- "description": "The default slot.",
1800
- "name": ""
1801
- },
1802
- {
1803
- "description": "An example slot.",
1804
- "name": "example"
1805
- }
1806
- ],
1807
- "members": [
1808
- {
1809
- "kind": "field",
1810
- "name": "slider",
1811
- "type": {
1812
- "text": "HTMLElement & { noUiSlider: API }"
1813
- }
1814
- },
1815
- {
1816
- "kind": "field",
1817
- "name": "timeScale",
1818
- "type": {
1819
- "text": "TimeScale"
1820
- },
1821
- "default": "'daily'",
1822
- "attribute": "time-scale"
1823
- },
1824
- {
1825
- "kind": "field",
1826
- "name": "minDate",
1827
- "type": {
1828
- "text": "string"
1829
- },
1830
- "attribute": "min-date"
1831
- },
1832
- {
1833
- "kind": "field",
1834
- "name": "maxDate",
1835
- "type": {
1836
- "text": "string"
1837
- },
1838
- "attribute": "max-date"
1839
- },
1840
- {
1841
- "kind": "field",
1842
- "name": "startDate",
1843
- "type": {
1844
- "text": "string"
1845
- },
1846
- "description": "The start date for the time series plot.",
1847
- "attribute": "start-date"
1878
+ "fieldName": "allowInput"
1848
1879
  },
1849
1880
  {
1850
- "kind": "field",
1851
- "name": "endDate",
1881
+ "name": "alt-format",
1852
1882
  "type": {
1853
1883
  "text": "string"
1854
1884
  },
1855
- "attribute": "end-date"
1885
+ "default": "'F j, Y'",
1886
+ "fieldName": "altFormat"
1856
1887
  },
1857
1888
  {
1858
- "kind": "field",
1859
- "name": "disabled",
1889
+ "name": "alt-input",
1860
1890
  "type": {
1861
1891
  "text": "boolean"
1862
1892
  },
1863
1893
  "default": "false",
1864
- "attribute": "disabled",
1865
- "reflects": true
1894
+ "fieldName": "altInput"
1866
1895
  },
1867
1896
  {
1868
- "kind": "field",
1869
- "name": "hasPips",
1897
+ "name": "alt-input-class",
1870
1898
  "type": {
1871
- "text": "boolean"
1899
+ "text": "string"
1872
1900
  },
1873
- "default": "true",
1874
- "attribute": "has-pips",
1875
- "reflects": true
1876
- },
1877
- {
1878
- "kind": "method",
1879
- "name": "updateSlider"
1880
- },
1881
- {
1882
- "kind": "method",
1883
- "name": "disabledChanged"
1884
- },
1885
- {
1886
- "kind": "method",
1887
- "name": "renderSlider"
1888
- },
1889
- {
1890
- "kind": "method",
1891
- "name": "renderEmptySlider"
1901
+ "default": "''",
1902
+ "fieldName": "altInputClass"
1892
1903
  },
1893
1904
  {
1894
- "kind": "method",
1895
- "name": "_getStep",
1896
- "privacy": "private"
1905
+ "name": "date-format",
1906
+ "type": {
1907
+ "text": "string"
1908
+ },
1909
+ "default": "'Y-m-d'",
1910
+ "fieldName": "dateFormat"
1897
1911
  },
1898
1912
  {
1899
- "kind": "method",
1900
- "name": "_getSliderFormatter",
1901
- "privacy": "private",
1902
- "return": {
1903
- "type": {
1904
- "text": "Formatter"
1905
- }
1906
- }
1913
+ "name": "enable-time",
1914
+ "type": {
1915
+ "text": "boolean"
1916
+ },
1917
+ "default": "false",
1918
+ "fieldName": "enableTime"
1907
1919
  },
1908
1920
  {
1909
- "kind": "method",
1910
- "name": "_formatDate",
1911
- "privacy": "private",
1912
- "parameters": [
1913
- {
1914
- "name": "date",
1915
- "type": {
1916
- "text": "string | number | Date"
1917
- }
1918
- }
1919
- ]
1920
- }
1921
- ],
1922
- "attributes": [
1923
- {
1924
- "name": "time-scale",
1921
+ "name": "time-24hr",
1925
1922
  "type": {
1926
- "text": "TimeScale"
1923
+ "text": "boolean"
1927
1924
  },
1928
- "default": "'daily'",
1929
- "fieldName": "timeScale"
1925
+ "default": "false",
1926
+ "fieldName": "time24hr"
1930
1927
  },
1931
1928
  {
1932
- "name": "min-date",
1929
+ "name": "week-numbers",
1933
1930
  "type": {
1934
- "text": "string"
1931
+ "text": "boolean"
1935
1932
  },
1936
- "fieldName": "minDate"
1933
+ "default": "false",
1934
+ "fieldName": "weekNumbers"
1937
1935
  },
1938
1936
  {
1939
- "name": "max-date",
1937
+ "name": "static",
1940
1938
  "type": {
1941
- "text": "string"
1939
+ "text": "boolean"
1942
1940
  },
1943
- "fieldName": "maxDate"
1941
+ "default": "false",
1942
+ "fieldName": "static"
1944
1943
  },
1945
1944
  {
1946
- "name": "start-date",
1945
+ "name": "position",
1947
1946
  "type": {
1948
- "text": "string"
1947
+ "text": "'auto' | 'above' | 'below'"
1949
1948
  },
1950
- "description": "The start date for the time series plot.",
1951
- "fieldName": "startDate"
1949
+ "default": "'auto'",
1950
+ "fieldName": "position"
1952
1951
  },
1953
1952
  {
1954
- "name": "end-date",
1953
+ "name": "show-months",
1955
1954
  "type": {
1956
- "text": "string"
1955
+ "text": "number"
1957
1956
  },
1958
- "fieldName": "endDate"
1957
+ "default": "1",
1958
+ "fieldName": "showMonths"
1959
1959
  },
1960
1960
  {
1961
- "name": "disabled",
1961
+ "name": "hide-label",
1962
1962
  "type": {
1963
1963
  "text": "boolean"
1964
1964
  },
1965
1965
  "default": "false",
1966
- "fieldName": "disabled"
1966
+ "fieldName": "hideLabel"
1967
1967
  },
1968
1968
  {
1969
- "name": "has-pips",
1969
+ "name": "label",
1970
1970
  "type": {
1971
- "text": "boolean"
1971
+ "text": "string"
1972
1972
  },
1973
- "default": "true",
1974
- "fieldName": "hasPips"
1973
+ "default": "'Select Date'",
1974
+ "fieldName": "label"
1975
1975
  }
1976
1976
  ],
1977
1977
  "superclass": {
1978
1978
  "name": "TerraElement",
1979
1979
  "module": "/src/internal/terra-element.js"
1980
1980
  },
1981
- "summary": "Short summary of the component's intended use.",
1982
- "tagNameWithoutPrefix": "date-range-slider",
1983
- "tagName": "terra-date-range-slider",
1981
+ "summary": "A date picker component that supports single date selection or date range selection.",
1982
+ "tagNameWithoutPrefix": "date-picker",
1983
+ "tagName": "terra-date-picker",
1984
1984
  "customElement": true,
1985
- "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 */",
1986
- "documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
1985
+ "jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
1986
+ "documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
1987
1987
  "status": "experimental",
1988
1988
  "since": "1.0"
1989
1989
  }
@@ -1993,8 +1993,8 @@
1993
1993
  "kind": "js",
1994
1994
  "name": "default",
1995
1995
  "declaration": {
1996
- "name": "TerraDateRangeSlider",
1997
- "module": "components/date-range-slider/date-range-slider.js"
1996
+ "name": "TerraDatePicker",
1997
+ "module": "components/date-picker/date-picker.js"
1998
1998
  }
1999
1999
  }
2000
2000
  ]
@@ -2439,219 +2439,79 @@
2439
2439
  },
2440
2440
  "default": "'0'",
2441
2441
  "description": "The percent complete for the loader to display",
2442
- "attribute": "percent"
2443
- },
2444
- {
2445
- "kind": "field",
2446
- "name": "indeterminate",
2447
- "type": {
2448
- "text": "boolean"
2449
- },
2450
- "default": "false",
2451
- "description": "an indeterminate loader has an unknown progress and will show a spinner",
2452
- "attribute": "indeterminate"
2453
- },
2454
- {
2455
- "kind": "field",
2456
- "name": "_currentPercent",
2457
- "type": {
2458
- "text": "number"
2459
- },
2460
- "default": "0"
2461
- },
2462
- {
2463
- "kind": "method",
2464
- "name": "formatPercent",
2465
- "parameters": [
2466
- {
2467
- "name": "percent",
2468
- "type": {
2469
- "text": "string"
2470
- }
2471
- }
2472
- ]
2473
- }
2474
- ],
2475
- "attributes": [
2476
- {
2477
- "name": "variant",
2478
- "type": {
2479
- "text": "'small' | 'large' | 'orbit'"
2480
- },
2481
- "default": "'large'",
2482
- "description": "The loader's variant",
2483
- "fieldName": "variant"
2484
- },
2485
- {
2486
- "name": "percent",
2487
- "type": {
2488
- "text": "string"
2489
- },
2490
- "default": "'0'",
2491
- "description": "The percent complete for the loader to display",
2492
- "fieldName": "percent"
2493
- },
2494
- {
2495
- "name": "indeterminate",
2496
- "type": {
2497
- "text": "boolean"
2498
- },
2499
- "default": "false",
2500
- "description": "an indeterminate loader has an unknown progress and will show a spinner",
2501
- "fieldName": "indeterminate"
2502
- }
2503
- ],
2504
- "superclass": {
2505
- "name": "TerraElement",
2506
- "module": "/src/internal/terra-element.js"
2507
- },
2508
- "summary": "Loaders are used to indicate there is content that is loading.",
2509
- "tagNameWithoutPrefix": "loader",
2510
- "tagName": "terra-loader",
2511
- "customElement": true,
2512
- "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 */",
2513
- "documentation": "https://disc.gsfc.nasa.gov/components/loader",
2514
- "status": "experimental",
2515
- "since": "1.0"
2516
- }
2517
- ],
2518
- "exports": [
2519
- {
2520
- "kind": "js",
2521
- "name": "default",
2522
- "declaration": {
2523
- "name": "TerraLoader",
2524
- "module": "components/loader/loader.js"
2525
- }
2526
- }
2527
- ]
2528
- },
2529
- {
2530
- "kind": "javascript-module",
2531
- "path": "components/login/login.js",
2532
- "declarations": [
2533
- {
2534
- "kind": "class",
2535
- "description": "",
2536
- "name": "TerraLogin",
2537
- "members": [
2538
- {
2539
- "kind": "field",
2540
- "name": "#clientID",
2541
- "privacy": "private"
2542
- },
2543
- {
2544
- "kind": "field",
2545
- "name": "#formRef",
2546
- "privacy": "private"
2547
- },
2548
- {
2549
- "kind": "field",
2550
- "name": "#serverURL",
2551
- "privacy": "private"
2552
- },
2553
- {
2554
- "kind": "field",
2555
- "name": "#loginTask",
2556
- "privacy": "private",
2557
- "default": "new Task(this, {\n task: async ([], { signal }) => {\n const code = await this.#getAccessCode(signal)\n const accessToken = await this.#exchangeCodeForAccessToken(code, signal)\n\n this.emit('terra-login', { detail: accessToken })\n this.#clearForm()\n },\n })"
2442
+ "attribute": "percent"
2558
2443
  },
2559
2444
  {
2560
2445
  "kind": "field",
2561
- "name": "dependencies",
2446
+ "name": "indeterminate",
2562
2447
  "type": {
2563
- "text": "object"
2448
+ "text": "boolean"
2564
2449
  },
2565
- "static": true,
2566
- "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
2450
+ "default": "false",
2451
+ "description": "an indeterminate loader has an unknown progress and will show a spinner",
2452
+ "attribute": "indeterminate"
2567
2453
  },
2568
2454
  {
2569
- "kind": "method",
2570
- "name": "#getAccessCode",
2571
- "return": {
2572
- "type": {
2573
- "text": "Promise<string>"
2574
- }
2455
+ "kind": "field",
2456
+ "name": "_currentPercent",
2457
+ "type": {
2458
+ "text": "number"
2575
2459
  },
2576
- "parameters": [
2577
- {
2578
- "name": "signal",
2579
- "type": {
2580
- "text": "AbortSignal"
2581
- }
2582
- }
2583
- ],
2584
- "description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
2460
+ "default": "0"
2585
2461
  },
2586
2462
  {
2587
2463
  "kind": "method",
2588
- "name": "#exchangeCodeForAccessToken",
2464
+ "name": "formatPercent",
2589
2465
  "parameters": [
2590
2466
  {
2591
- "name": "code",
2467
+ "name": "percent",
2592
2468
  "type": {
2593
2469
  "text": "string"
2594
2470
  }
2595
- },
2596
- {
2597
- "name": "signal",
2598
- "type": {
2599
- "text": "AbortSignal"
2600
- }
2601
2471
  }
2602
- ],
2603
- "description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
2604
- },
2472
+ ]
2473
+ }
2474
+ ],
2475
+ "attributes": [
2605
2476
  {
2606
- "kind": "method",
2607
- "name": "#handleSubmit",
2608
- "parameters": [
2609
- {
2610
- "name": "event",
2611
- "type": {
2612
- "text": "SubmitEvent"
2613
- }
2614
- }
2615
- ],
2616
- "description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
2477
+ "name": "variant",
2478
+ "type": {
2479
+ "text": "'small' | 'large' | 'orbit'"
2480
+ },
2481
+ "default": "'large'",
2482
+ "description": "The loader's variant",
2483
+ "fieldName": "variant"
2617
2484
  },
2618
2485
  {
2619
- "kind": "method",
2620
- "name": "#handleKeypress",
2621
- "parameters": [
2622
- {
2623
- "name": "event",
2624
- "type": {
2625
- "text": "KeyboardEvent"
2626
- }
2627
- }
2628
- ]
2486
+ "name": "percent",
2487
+ "type": {
2488
+ "text": "string"
2489
+ },
2490
+ "default": "'0'",
2491
+ "description": "The percent complete for the loader to display",
2492
+ "fieldName": "percent"
2629
2493
  },
2630
2494
  {
2631
- "kind": "method",
2632
- "name": "#clearForm",
2633
- "description": "Clear the given form of all entries."
2634
- }
2635
- ],
2636
- "events": [
2637
- {
2638
- "description": "Emitted when a bearer token has been received from EDL.",
2639
- "name": "terra-login",
2640
- "reactName": "onTerraLogin",
2641
- "eventName": "TerraLoginEvent"
2495
+ "name": "indeterminate",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false",
2500
+ "description": "an indeterminate loader has an unknown progress and will show a spinner",
2501
+ "fieldName": "indeterminate"
2642
2502
  }
2643
2503
  ],
2644
2504
  "superclass": {
2645
2505
  "name": "TerraElement",
2646
2506
  "module": "/src/internal/terra-element.js"
2647
2507
  },
2648
- "summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
2649
- "tagNameWithoutPrefix": "login",
2650
- "tagName": "terra-login",
2508
+ "summary": "Loaders are used to indicate there is content that is loading.",
2509
+ "tagNameWithoutPrefix": "loader",
2510
+ "tagName": "terra-loader",
2651
2511
  "customElement": true,
2652
- "jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
2653
- "documentation": "https://disc.gsfc.nasa.gov/components/login",
2654
- "status": "stable",
2512
+ "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 */",
2513
+ "documentation": "https://disc.gsfc.nasa.gov/components/loader",
2514
+ "status": "experimental",
2655
2515
  "since": "1.0"
2656
2516
  }
2657
2517
  ],
@@ -2660,8 +2520,8 @@
2660
2520
  "kind": "js",
2661
2521
  "name": "default",
2662
2522
  "declaration": {
2663
- "name": "TerraLogin",
2664
- "module": "components/login/login.js"
2523
+ "name": "TerraLoader",
2524
+ "module": "components/loader/loader.js"
2665
2525
  }
2666
2526
  }
2667
2527
  ]
@@ -2891,6 +2751,146 @@
2891
2751
  }
2892
2752
  ]
2893
2753
  },
2754
+ {
2755
+ "kind": "javascript-module",
2756
+ "path": "components/login/login.js",
2757
+ "declarations": [
2758
+ {
2759
+ "kind": "class",
2760
+ "description": "",
2761
+ "name": "TerraLogin",
2762
+ "members": [
2763
+ {
2764
+ "kind": "field",
2765
+ "name": "#clientID",
2766
+ "privacy": "private"
2767
+ },
2768
+ {
2769
+ "kind": "field",
2770
+ "name": "#formRef",
2771
+ "privacy": "private"
2772
+ },
2773
+ {
2774
+ "kind": "field",
2775
+ "name": "#serverURL",
2776
+ "privacy": "private"
2777
+ },
2778
+ {
2779
+ "kind": "field",
2780
+ "name": "#loginTask",
2781
+ "privacy": "private",
2782
+ "default": "new Task(this, {\n task: async ([], { signal }) => {\n const code = await this.#getAccessCode(signal)\n const accessToken = await this.#exchangeCodeForAccessToken(code, signal)\n\n this.emit('terra-login', { detail: accessToken })\n this.#clearForm()\n },\n })"
2783
+ },
2784
+ {
2785
+ "kind": "field",
2786
+ "name": "dependencies",
2787
+ "type": {
2788
+ "text": "object"
2789
+ },
2790
+ "static": true,
2791
+ "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
2792
+ },
2793
+ {
2794
+ "kind": "method",
2795
+ "name": "#getAccessCode",
2796
+ "return": {
2797
+ "type": {
2798
+ "text": "Promise<string>"
2799
+ }
2800
+ },
2801
+ "parameters": [
2802
+ {
2803
+ "name": "signal",
2804
+ "type": {
2805
+ "text": "AbortSignal"
2806
+ }
2807
+ }
2808
+ ],
2809
+ "description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
2810
+ },
2811
+ {
2812
+ "kind": "method",
2813
+ "name": "#exchangeCodeForAccessToken",
2814
+ "parameters": [
2815
+ {
2816
+ "name": "code",
2817
+ "type": {
2818
+ "text": "string"
2819
+ }
2820
+ },
2821
+ {
2822
+ "name": "signal",
2823
+ "type": {
2824
+ "text": "AbortSignal"
2825
+ }
2826
+ }
2827
+ ],
2828
+ "description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
2829
+ },
2830
+ {
2831
+ "kind": "method",
2832
+ "name": "#handleSubmit",
2833
+ "parameters": [
2834
+ {
2835
+ "name": "event",
2836
+ "type": {
2837
+ "text": "SubmitEvent"
2838
+ }
2839
+ }
2840
+ ],
2841
+ "description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
2842
+ },
2843
+ {
2844
+ "kind": "method",
2845
+ "name": "#handleKeypress",
2846
+ "parameters": [
2847
+ {
2848
+ "name": "event",
2849
+ "type": {
2850
+ "text": "KeyboardEvent"
2851
+ }
2852
+ }
2853
+ ]
2854
+ },
2855
+ {
2856
+ "kind": "method",
2857
+ "name": "#clearForm",
2858
+ "description": "Clear the given form of all entries."
2859
+ }
2860
+ ],
2861
+ "events": [
2862
+ {
2863
+ "description": "Emitted when a bearer token has been received from EDL.",
2864
+ "name": "terra-login",
2865
+ "reactName": "onTerraLogin",
2866
+ "eventName": "TerraLoginEvent"
2867
+ }
2868
+ ],
2869
+ "superclass": {
2870
+ "name": "TerraElement",
2871
+ "module": "/src/internal/terra-element.js"
2872
+ },
2873
+ "summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
2874
+ "tagNameWithoutPrefix": "login",
2875
+ "tagName": "terra-login",
2876
+ "customElement": true,
2877
+ "jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
2878
+ "documentation": "https://disc.gsfc.nasa.gov/components/login",
2879
+ "status": "stable",
2880
+ "since": "1.0"
2881
+ }
2882
+ ],
2883
+ "exports": [
2884
+ {
2885
+ "kind": "js",
2886
+ "name": "default",
2887
+ "declaration": {
2888
+ "name": "TerraLogin",
2889
+ "module": "components/login/login.js"
2890
+ }
2891
+ }
2892
+ ]
2893
+ },
2894
2894
  {
2895
2895
  "kind": "javascript-module",
2896
2896
  "path": "components/plot/plot.js",
@@ -4795,7 +4795,7 @@
4795
4795
  "package": {
4796
4796
  "name": "@nasa-terra/components",
4797
4797
  "description": "A collection of NASA Earthdata components",
4798
- "version": "0.0.35",
4798
+ "version": "0.0.36",
4799
4799
  "author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
4800
4800
  "homepage": "https://github.com/gesdisc/components",
4801
4801
  "license": "MIT"