@nasa-terra/components 0.0.21 → 0.0.22

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 (200) hide show
  1. package/{dist/chunks/chunk.RRLNEUAD.js → cdn/chunks/chunk.3RKSRYRX.js} +1 -1
  2. package/cdn/chunks/{chunk.S7JXREVP.js → chunk.3SFJTHCH.js} +1 -1
  3. package/cdn/chunks/{chunk.OBA3V3EF.js → chunk.4ORHYGDJ.js} +2 -2
  4. package/cdn/chunks/{chunk.2WVF76TV.js → chunk.5EHEQAM7.js} +1 -1
  5. package/cdn/chunks/{chunk.DSNMSLRJ.js → chunk.5N5OY526.js} +1 -1
  6. package/cdn/chunks/{chunk.B64EYNSB.js → chunk.5TW7PNNI.js} +1 -1
  7. package/cdn/chunks/{chunk.VMJR3NY3.js → chunk.7TNBSUXI.js} +14 -14
  8. package/cdn/chunks/{chunk.A6UC6XNE.js → chunk.B4ITXETB.js} +1 -1
  9. package/cdn/chunks/{chunk.UGRW6MQC.js → chunk.BZN62NM6.js} +1 -1
  10. package/cdn/chunks/{chunk.ZNV27LZ4.js → chunk.CI7ZOZVP.js} +1 -1
  11. package/cdn/chunks/{chunk.C5AJVZBT.js → chunk.DHWVJTDG.js} +1 -1
  12. package/cdn/chunks/{chunk.O3OEEKDD.js → chunk.DQDRJ235.js} +1 -1
  13. package/{dist/chunks/chunk.YQZGGNNN.js → cdn/chunks/chunk.DVSIPUDL.js} +1 -1
  14. package/cdn/chunks/{chunk.Q36J7UJR.js → chunk.EO2IAYJU.js} +4 -4
  15. package/{dist/chunks/chunk.56WQYJQO.js → cdn/chunks/chunk.EQCY7O7N.js} +1 -1
  16. package/cdn/chunks/{chunk.WNIOPBJZ.js → chunk.FKOY3ZZ5.js} +6 -6
  17. package/cdn/chunks/{chunk.B5J4WQKB.js → chunk.FQNC4JXC.js} +1 -1
  18. package/{dist/chunks/chunk.ELIOFNSV.js → cdn/chunks/chunk.FTKD3KTH.js} +1 -1
  19. package/cdn/chunks/{chunk.RD6O4PVL.js → chunk.H4Y3AWUH.js} +8 -8
  20. package/cdn/chunks/{chunk.G53ULLWP.js → chunk.HVG2NXDC.js} +1 -1
  21. package/cdn/chunks/{chunk.ZIW2AFPB.js → chunk.IB5UBLFZ.js} +1 -1
  22. package/{dist/chunks/chunk.INKAME44.js → cdn/chunks/chunk.IWI6VWR2.js} +1 -1
  23. package/cdn/chunks/{chunk.ZOJY4R3F.js → chunk.JKLJ76MZ.js} +1 -1
  24. package/{dist/chunks/chunk.XZQ5SKKS.js → cdn/chunks/chunk.KKOKMYMG.js} +1 -1
  25. package/cdn/chunks/{chunk.CJO3MSLD.js → chunk.KNH5FQ7R.js} +1 -1
  26. package/cdn/chunks/{chunk.K7CQFMEB.js → chunk.L6BB7MK3.js} +1 -1
  27. package/cdn/chunks/{chunk.WYPDOKK7.js → chunk.L6DGDWB3.js} +1 -1
  28. package/cdn/chunks/{chunk.RSE4JMKH.js → chunk.LNDLBACZ.js} +1 -1
  29. package/cdn/chunks/{chunk.S54ESGZR.js → chunk.LNV3ILYM.js} +1 -1
  30. package/{dist/chunks/chunk.ZU3TXQOD.js → cdn/chunks/chunk.MZT2CCCJ.js} +1 -1
  31. package/cdn/chunks/{chunk.ZRFNQNO6.js → chunk.OEKWCA2Y.js} +6 -6
  32. package/cdn/chunks/{chunk.WSD4P6PM.js → chunk.PXHSBAIF.js} +1 -1
  33. package/cdn/chunks/{chunk.W4YFSSJA.js → chunk.QWJOXAWS.js} +1 -1
  34. package/cdn/chunks/{chunk.JARTKLWQ.js → chunk.RVSVDCN3.js} +1 -1
  35. package/cdn/chunks/{chunk.HTUYQQLE.js → chunk.T3HBQAZN.js} +1 -1
  36. package/cdn/chunks/{chunk.HN4H56T6.js → chunk.TGWEWP5F.js} +1 -1
  37. package/cdn/chunks/{chunk.2NGENIIQ.js → chunk.TPEIHI5D.js} +1 -1
  38. package/cdn/chunks/{chunk.45YLM2ZQ.js → chunk.USZP36DV.js} +1 -1
  39. package/{dist/chunks/chunk.EX27KGSC.js → cdn/chunks/chunk.VGQZMFBB.js} +1 -1
  40. package/cdn/chunks/{chunk.ONU6GP7E.js → chunk.WHBKIAKJ.js} +1 -1
  41. package/{dist/chunks/chunk.XG56IFCT.js → cdn/chunks/chunk.XDPPVZ6M.js} +1 -1
  42. package/cdn/chunks/{chunk.SYDWA6SR.js → chunk.XEVKOU4V.js} +1 -1
  43. package/cdn/chunks/{chunk.MH52S2BQ.js → chunk.XQMZE5MO.js} +1 -1
  44. package/{dist/chunks/chunk.BVZ6BCSV.js → cdn/chunks/chunk.XTZIZ32W.js} +1 -1
  45. package/{dist/chunks/chunk.7OTIFIB6.js → cdn/chunks/chunk.XYEDCDNJ.js} +1 -1
  46. package/cdn/chunks/{chunk.3TJQSPCO.js → chunk.YYMFMZT3.js} +1 -1
  47. package/cdn/components/browse-variables/browse-variables.component.js +11 -11
  48. package/cdn/components/browse-variables/browse-variables.js +12 -12
  49. package/cdn/components/button/button.component.js +2 -2
  50. package/cdn/components/button/button.js +3 -3
  51. package/cdn/components/chip/chip.component.js +2 -2
  52. package/cdn/components/chip/chip.js +3 -3
  53. package/cdn/components/combobox/combobox.component.js +2 -2
  54. package/cdn/components/combobox/combobox.js +3 -3
  55. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  56. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  57. package/cdn/components/giovanni-search/giovanni-search.component.js +7 -7
  58. package/cdn/components/giovanni-search/giovanni-search.js +8 -8
  59. package/cdn/components/icon/icon.component.js +2 -2
  60. package/cdn/components/icon/icon.js +3 -3
  61. package/cdn/components/loader/loader.component.js +2 -2
  62. package/cdn/components/loader/loader.js +3 -3
  63. package/cdn/components/login/login.component.js +9 -9
  64. package/cdn/components/login/login.js +10 -10
  65. package/cdn/components/map/map.component.js +2 -2
  66. package/cdn/components/map/map.js +3 -3
  67. package/cdn/components/plot/plot.component.js +2 -2
  68. package/cdn/components/plot/plot.js +3 -3
  69. package/cdn/components/skeleton/skeleton.component.js +2 -2
  70. package/cdn/components/skeleton/skeleton.js +3 -3
  71. package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
  72. package/cdn/components/spatial-picker/spatial-picker.js +4 -4
  73. package/cdn/components/time-series/time-series.component.js +17 -17
  74. package/cdn/components/time-series/time-series.js +18 -18
  75. package/cdn/components/variable-combobox/variable-combobox.component.js +7 -7
  76. package/cdn/components/variable-combobox/variable-combobox.js +8 -8
  77. package/cdn/custom-elements.json +397 -397
  78. package/cdn/react/browse-variables/index.js +12 -12
  79. package/cdn/react/button/index.js +3 -3
  80. package/cdn/react/chip/index.js +3 -3
  81. package/cdn/react/combobox/index.js +3 -3
  82. package/cdn/react/date-range-slider/index.js +3 -3
  83. package/cdn/react/giovanni-search/index.js +8 -8
  84. package/cdn/react/icon/index.js +3 -3
  85. package/cdn/react/index.d.ts +3 -3
  86. package/cdn/react/index.js +50 -50
  87. package/cdn/react/loader/index.js +3 -3
  88. package/cdn/react/login/index.js +10 -10
  89. package/cdn/react/map/index.js +3 -3
  90. package/cdn/react/plot/index.js +3 -3
  91. package/cdn/react/skeleton/index.js +3 -3
  92. package/cdn/react/spatial-picker/index.js +4 -4
  93. package/cdn/react/time-series/index.js +18 -18
  94. package/cdn/react/variable-combobox/index.js +8 -8
  95. package/cdn/terra-ui-components.js +46 -46
  96. package/cdn/types/vue/index.d.ts +43 -43
  97. package/cdn/vscode.html-custom-data.json +55 -55
  98. package/cdn/web-types.json +98 -98
  99. package/dist/chunks/{chunk.UEEVFO7P.js → chunk.2SL6F4LA.js} +1 -1
  100. package/dist/chunks/{chunk.VLCBG5GP.js → chunk.3RDRMGYO.js} +6 -6
  101. package/dist/chunks/{chunk.YYKD5NTK.js → chunk.3RKRQHLE.js} +1 -1
  102. package/{cdn/chunks/chunk.ELEKMSGE.js → dist/chunks/chunk.4DESQZNM.js} +1 -1
  103. package/dist/chunks/{chunk.QPHVCWXJ.js → chunk.5QR4MDEA.js} +1 -1
  104. package/dist/chunks/{chunk.BIOKUGO2.js → chunk.6CV5LRWT.js} +1 -1
  105. package/{cdn/chunks/chunk.4ILCBMBZ.js → dist/chunks/chunk.6KDMGROE.js} +1 -1
  106. package/{cdn/chunks/chunk.K56TNA3F.js → dist/chunks/chunk.6NGUCHV6.js} +1 -1
  107. package/dist/chunks/{chunk.BK73NLIQ.js → chunk.7A26N3RH.js} +1 -1
  108. package/dist/chunks/{chunk.BQ5JMKLP.js → chunk.BZTK4B4T.js} +8 -8
  109. package/dist/chunks/{chunk.ANZ443PE.js → chunk.C2PG6ISW.js} +1 -1
  110. package/dist/chunks/{chunk.CQXBSVJZ.js → chunk.CVSYR6JA.js} +1 -1
  111. package/{cdn/chunks/chunk.EGD4UHPE.js → dist/chunks/chunk.DERBQK6T.js} +1 -1
  112. package/dist/chunks/{chunk.43VNOKKP.js → chunk.EHC5HRA2.js} +1 -1
  113. package/dist/chunks/{chunk.FGXREN5P.js → chunk.EJTMQRLB.js} +13 -13
  114. package/dist/chunks/{chunk.JES2XRWA.js → chunk.EVRLGQVQ.js} +1 -1
  115. package/{cdn/chunks/chunk.OBJ3FUF6.js → dist/chunks/chunk.GRF7UN4X.js} +1 -1
  116. package/{cdn/chunks/chunk.NZ2RRIOD.js → dist/chunks/chunk.HBQBLNRH.js} +1 -1
  117. package/{cdn/chunks/chunk.2YAUIYLZ.js → dist/chunks/chunk.HNU6ZMU5.js} +1 -1
  118. package/dist/chunks/{chunk.DMS3NE7R.js → chunk.I3LVZPMJ.js} +1 -1
  119. package/dist/chunks/{chunk.V2JRZ2YR.js → chunk.I5YHYEZS.js} +1 -1
  120. package/dist/chunks/{chunk.TXOGHDVG.js → chunk.KRC2UHMC.js} +1 -1
  121. package/dist/chunks/{chunk.EMPTRD6H.js → chunk.LSKWODII.js} +1 -1
  122. package/dist/chunks/{chunk.23ELHQVK.js → chunk.MP6XDKPH.js} +1 -1
  123. package/dist/chunks/{chunk.BMCLVDJO.js → chunk.N4FTQWAG.js} +1 -1
  124. package/dist/chunks/{chunk.VPONP33W.js → chunk.NCLHN7PZ.js} +1 -1
  125. package/{cdn/chunks/chunk.U27VGCOC.js → dist/chunks/chunk.NMHURT2C.js} +1 -1
  126. package/dist/chunks/{chunk.O333TR3A.js → chunk.NYMYAGRE.js} +1 -1
  127. package/dist/chunks/{chunk.D7BXOGD4.js → chunk.O45JPRG2.js} +1 -1
  128. package/{cdn/chunks/chunk.C4UGJXIT.js → dist/chunks/chunk.QAO52BZN.js} +1 -1
  129. package/dist/chunks/{chunk.2IERLI5Y.js → chunk.QUXC4GKQ.js} +1 -1
  130. package/dist/chunks/{chunk.KPVIUTOB.js → chunk.RRP4GXUY.js} +4 -4
  131. package/dist/chunks/{chunk.CNXNNS7S.js → chunk.RUHWAVGE.js} +1 -1
  132. package/dist/chunks/{chunk.SQNWECTV.js → chunk.TD3FRE3Z.js} +1 -1
  133. package/dist/chunks/{chunk.RFKQAYBX.js → chunk.TRIB3GWK.js} +1 -1
  134. package/dist/chunks/{chunk.WXNK6NCY.js → chunk.TSBHINB7.js} +1 -1
  135. package/dist/chunks/{chunk.RFICNXCR.js → chunk.U5XISCRK.js} +6 -6
  136. package/dist/chunks/{chunk.E3TUNO76.js → chunk.U6TFTVJY.js} +1 -1
  137. package/dist/chunks/{chunk.JHDGHY6A.js → chunk.UQZLAUN2.js} +1 -1
  138. package/dist/chunks/{chunk.NCSV5PNS.js → chunk.UYSQLR3U.js} +1 -1
  139. package/dist/chunks/{chunk.6LWDYMSR.js → chunk.VNCHHO6O.js} +1 -1
  140. package/dist/chunks/{chunk.KE6ZAPOV.js → chunk.WS5OME5Z.js} +1 -1
  141. package/dist/chunks/{chunk.CK3BZ3TI.js → chunk.XFT4IN53.js} +2 -2
  142. package/{cdn/chunks/chunk.FYNKKNEU.js → dist/chunks/chunk.XKQY7HAE.js} +1 -1
  143. package/{cdn/chunks/chunk.A37RXKQ2.js → dist/chunks/chunk.Y32VPWCE.js} +1 -1
  144. package/dist/chunks/{chunk.3CA5AVMX.js → chunk.ZNADJBRC.js} +1 -1
  145. package/dist/components/browse-variables/browse-variables.component.js +11 -11
  146. package/dist/components/browse-variables/browse-variables.js +12 -12
  147. package/dist/components/button/button.component.js +2 -2
  148. package/dist/components/button/button.js +3 -3
  149. package/dist/components/chip/chip.component.js +2 -2
  150. package/dist/components/chip/chip.js +3 -3
  151. package/dist/components/combobox/combobox.component.js +2 -2
  152. package/dist/components/combobox/combobox.js +3 -3
  153. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  154. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  155. package/dist/components/giovanni-search/giovanni-search.component.js +7 -7
  156. package/dist/components/giovanni-search/giovanni-search.js +8 -8
  157. package/dist/components/icon/icon.component.js +2 -2
  158. package/dist/components/icon/icon.js +3 -3
  159. package/dist/components/loader/loader.component.js +2 -2
  160. package/dist/components/loader/loader.js +3 -3
  161. package/dist/components/login/login.component.js +9 -9
  162. package/dist/components/login/login.js +10 -10
  163. package/dist/components/map/map.component.js +2 -2
  164. package/dist/components/map/map.js +3 -3
  165. package/dist/components/plot/plot.component.js +2 -2
  166. package/dist/components/plot/plot.js +3 -3
  167. package/dist/components/skeleton/skeleton.component.js +2 -2
  168. package/dist/components/skeleton/skeleton.js +3 -3
  169. package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
  170. package/dist/components/spatial-picker/spatial-picker.js +4 -4
  171. package/dist/components/time-series/time-series.component.js +17 -17
  172. package/dist/components/time-series/time-series.js +18 -18
  173. package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
  174. package/dist/components/variable-combobox/variable-combobox.js +8 -8
  175. package/dist/custom-elements.json +397 -397
  176. package/dist/react/browse-variables/index.js +12 -12
  177. package/dist/react/button/index.js +3 -3
  178. package/dist/react/chip/index.js +3 -3
  179. package/dist/react/combobox/index.js +3 -3
  180. package/dist/react/date-range-slider/index.js +3 -3
  181. package/dist/react/giovanni-search/index.js +8 -8
  182. package/dist/react/icon/index.js +3 -3
  183. package/dist/react/index.d.ts +3 -3
  184. package/dist/react/index.js +50 -50
  185. package/dist/react/loader/index.js +3 -3
  186. package/dist/react/login/index.js +10 -10
  187. package/dist/react/map/index.js +3 -3
  188. package/dist/react/plot/index.js +3 -3
  189. package/dist/react/skeleton/index.js +3 -3
  190. package/dist/react/spatial-picker/index.js +4 -4
  191. package/dist/react/time-series/index.js +18 -18
  192. package/dist/react/variable-combobox/index.js +8 -8
  193. package/dist/terra-ui-components.js +46 -46
  194. package/dist/terra_ui_components-0.0.22-py3-none-any.whl +0 -0
  195. package/dist/{terra_ui_components-0.0.21.tar.gz → terra_ui_components-0.0.22.tar.gz} +0 -0
  196. package/dist/types/vue/index.d.ts +43 -43
  197. package/dist/vscode.html-custom-data.json +55 -55
  198. package/dist/web-types.json +98 -98
  199. package/package.json +1 -1
  200. package/dist/terra_ui_components-0.0.21-py3-none-any.whl +0 -0
@@ -231,72 +231,6 @@
231
231
  }
232
232
  ]
233
233
  },
234
- {
235
- "kind": "javascript-module",
236
- "path": "components/chip/chip.js",
237
- "declarations": [
238
- {
239
- "kind": "class",
240
- "description": "",
241
- "name": "TerraChip",
242
- "slots": [
243
- {
244
- "description": "The chip's label.",
245
- "name": ""
246
- }
247
- ],
248
- "members": [
249
- {
250
- "kind": "field",
251
- "name": "size",
252
- "type": {
253
- "text": "'small' | 'medium' | 'large'"
254
- },
255
- "default": "'medium'",
256
- "attribute": "size",
257
- "reflects": true
258
- },
259
- {
260
- "kind": "field",
261
- "name": "#handleRemoveClick",
262
- "privacy": "private"
263
- }
264
- ],
265
- "attributes": [
266
- {
267
- "name": "size",
268
- "type": {
269
- "text": "'small' | 'medium' | 'large'"
270
- },
271
- "default": "'medium'",
272
- "fieldName": "size"
273
- }
274
- ],
275
- "superclass": {
276
- "name": "TerraElement",
277
- "module": "/src/internal/terra-element.js"
278
- },
279
- "summary": "Used for contacts and tags",
280
- "tagNameWithoutPrefix": "chip",
281
- "tagName": "terra-chip",
282
- "customElement": true,
283
- "jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
284
- "documentation": "https://disc.gsfc.nasa.gov/components/chip",
285
- "status": "stable",
286
- "since": "1.0"
287
- }
288
- ],
289
- "exports": [
290
- {
291
- "kind": "js",
292
- "name": "default",
293
- "declaration": {
294
- "name": "TerraChip",
295
- "module": "components/chip/chip.js"
296
- }
297
- }
298
- ]
299
- },
300
234
  {
301
235
  "kind": "javascript-module",
302
236
  "path": "components/button/button.js",
@@ -1319,6 +1253,72 @@
1319
1253
  }
1320
1254
  ]
1321
1255
  },
1256
+ {
1257
+ "kind": "javascript-module",
1258
+ "path": "components/chip/chip.js",
1259
+ "declarations": [
1260
+ {
1261
+ "kind": "class",
1262
+ "description": "",
1263
+ "name": "TerraChip",
1264
+ "slots": [
1265
+ {
1266
+ "description": "The chip's label.",
1267
+ "name": ""
1268
+ }
1269
+ ],
1270
+ "members": [
1271
+ {
1272
+ "kind": "field",
1273
+ "name": "size",
1274
+ "type": {
1275
+ "text": "'small' | 'medium' | 'large'"
1276
+ },
1277
+ "default": "'medium'",
1278
+ "attribute": "size",
1279
+ "reflects": true
1280
+ },
1281
+ {
1282
+ "kind": "field",
1283
+ "name": "#handleRemoveClick",
1284
+ "privacy": "private"
1285
+ }
1286
+ ],
1287
+ "attributes": [
1288
+ {
1289
+ "name": "size",
1290
+ "type": {
1291
+ "text": "'small' | 'medium' | 'large'"
1292
+ },
1293
+ "default": "'medium'",
1294
+ "fieldName": "size"
1295
+ }
1296
+ ],
1297
+ "superclass": {
1298
+ "name": "TerraElement",
1299
+ "module": "/src/internal/terra-element.js"
1300
+ },
1301
+ "summary": "Used for contacts and tags",
1302
+ "tagNameWithoutPrefix": "chip",
1303
+ "tagName": "terra-chip",
1304
+ "customElement": true,
1305
+ "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 */",
1306
+ "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1307
+ "status": "stable",
1308
+ "since": "1.0"
1309
+ }
1310
+ ],
1311
+ "exports": [
1312
+ {
1313
+ "kind": "js",
1314
+ "name": "default",
1315
+ "declaration": {
1316
+ "name": "TerraChip",
1317
+ "module": "components/chip/chip.js"
1318
+ }
1319
+ }
1320
+ ]
1321
+ },
1322
1322
  {
1323
1323
  "kind": "javascript-module",
1324
1324
  "path": "components/date-range-slider/date-range-slider.js",
@@ -1546,216 +1546,328 @@
1546
1546
  },
1547
1547
  {
1548
1548
  "kind": "javascript-module",
1549
- "path": "components/icon/icon.js",
1549
+ "path": "components/giovanni-search/giovanni-search.js",
1550
1550
  "declarations": [
1551
1551
  {
1552
1552
  "kind": "class",
1553
1553
  "description": "",
1554
- "name": "TerraIcon",
1554
+ "name": "TerraGiovanniSearch",
1555
+ "cssProperties": [
1556
+ {
1557
+ "description": "The height of the host element.",
1558
+ "name": "--host-height"
1559
+ },
1560
+ {
1561
+ "description": "The height of the input's label element.",
1562
+ "name": "--label-height"
1563
+ }
1564
+ ],
1555
1565
  "cssParts": [
1556
1566
  {
1557
- "description": "The internal SVG element.",
1558
- "name": "svg"
1567
+ "description": "A `search` element, the component's base.",
1568
+ "name": "base"
1569
+ },
1570
+ {
1571
+ "description": "An `input` element used for searching.",
1572
+ "name": "combobox"
1573
+ },
1574
+ {
1575
+ "description": "A `button` used for toggling the listbox's visibility.",
1576
+ "name": "button"
1577
+ },
1578
+ {
1579
+ "description": "A `ul` that holds the clickable options.",
1580
+ "name": "listbox"
1559
1581
  }
1560
1582
  ],
1561
1583
  "members": [
1562
1584
  {
1563
1585
  "kind": "field",
1564
- "name": "#initialRender",
1565
- "privacy": "private",
1586
+ "name": "dependencies",
1566
1587
  "type": {
1567
- "text": "boolean"
1588
+ "text": "object"
1568
1589
  },
1569
- "default": "false"
1590
+ "static": true,
1591
+ "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
1570
1592
  },
1571
1593
  {
1572
1594
  "kind": "field",
1573
- "name": "svg",
1595
+ "name": "shadowRootOptions",
1574
1596
  "type": {
1575
- "text": "SVGElement | HTMLTemplateResult | null"
1597
+ "text": "object"
1576
1598
  },
1577
- "default": "null"
1599
+ "static": true,
1600
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
1578
1601
  },
1579
1602
  {
1580
1603
  "kind": "field",
1581
- "name": "name",
1604
+ "name": "tagName",
1582
1605
  "type": {
1583
- "text": "string | undefined"
1606
+ "text": "string"
1584
1607
  },
1585
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1586
- "attribute": "name",
1587
- "reflects": true
1608
+ "static": true,
1609
+ "default": "'terra-giovanni-search'"
1588
1610
  },
1589
1611
  {
1590
1612
  "kind": "field",
1591
- "name": "src",
1613
+ "name": "initialQuery",
1592
1614
  "type": {
1593
- "text": "string | undefined"
1615
+ "text": "string"
1594
1616
  },
1595
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
1596
- "attribute": "src"
1617
+ "static": true,
1618
+ "default": "''"
1597
1619
  },
1598
1620
  {
1599
1621
  "kind": "field",
1600
- "name": "label",
1622
+ "name": "#combobox",
1623
+ "privacy": "private",
1601
1624
  "type": {
1602
- "text": "string"
1625
+ "text": "HTMLInputElement | null"
1603
1626
  },
1604
- "default": "''",
1605
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1606
- "attribute": "label"
1627
+ "default": "null"
1607
1628
  },
1608
1629
  {
1609
1630
  "kind": "field",
1610
- "name": "library",
1611
- "type": {
1612
- "text": "'default' | 'heroicons' | string"
1613
- },
1614
- "default": "'default'",
1615
- "description": "The name of a registered custom icon library.",
1616
- "attribute": "library",
1617
- "reflects": true
1631
+ "name": "#fetchController",
1632
+ "privacy": "private",
1633
+ "default": "new FetchController(this)"
1618
1634
  },
1619
1635
  {
1620
1636
  "kind": "field",
1621
- "name": "color",
1637
+ "name": "#listbox",
1638
+ "privacy": "private",
1622
1639
  "type": {
1623
- "text": "string | null"
1640
+ "text": "HTMLUListElement | null"
1624
1641
  },
1625
- "default": "null",
1626
- "description": "The CSS color to assign to the SVG.",
1627
- "attribute": "color"
1642
+ "default": "null"
1628
1643
  },
1629
1644
  {
1630
1645
  "kind": "field",
1631
- "name": "fontSize",
1646
+ "name": "#searchEngine",
1647
+ "privacy": "private",
1632
1648
  "type": {
1633
- "text": "string | null"
1649
+ "text": "Fuse<ListItem> | null"
1634
1650
  },
1635
- "default": "null",
1636
- "description": "The CSS font-size to assign to the SVG.",
1637
- "attribute": "font-size"
1651
+ "default": "null"
1638
1652
  },
1639
1653
  {
1640
- "kind": "method",
1641
- "name": "#resolveIcon",
1642
- "return": {
1643
- "type": {
1644
- "text": "Promise<SVGResult>"
1645
- }
1654
+ "kind": "field",
1655
+ "name": "#walker",
1656
+ "privacy": "private",
1657
+ "type": {
1658
+ "text": "TreeWalker | null"
1646
1659
  },
1647
- "parameters": [
1648
- {
1649
- "name": "url",
1650
- "type": {
1651
- "text": "string"
1652
- }
1653
- }
1654
- ],
1655
- "description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
1660
+ "default": "null"
1656
1661
  },
1657
1662
  {
1658
- "kind": "method",
1659
- "name": "#getIconSource",
1660
- "return": {
1661
- "type": {
1662
- "text": "IconSource"
1663
+ "kind": "field",
1664
+ "name": "label",
1665
+ "type": {
1666
+ "text": "string"
1667
+ },
1668
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
1669
+ "description": "Label the combobox with this.",
1670
+ "attribute": "label"
1671
+ },
1672
+ {
1673
+ "kind": "field",
1674
+ "name": "placeholder",
1675
+ "type": {
1676
+ "text": "string"
1677
+ },
1678
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1679
+ "attribute": "placeholder"
1680
+ },
1681
+ {
1682
+ "kind": "field",
1683
+ "name": "hideLabel",
1684
+ "type": {
1685
+ "text": "boolean"
1686
+ },
1687
+ "default": "true",
1688
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1689
+ "attribute": "hide-label"
1690
+ },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "searchConfig",
1694
+ "type": {
1695
+ "text": "object"
1696
+ },
1697
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
1698
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
1699
+ "attribute": "searchConfig"
1700
+ },
1701
+ {
1702
+ "kind": "field",
1703
+ "name": "value",
1704
+ "type": {
1705
+ "text": "string"
1706
+ },
1707
+ "attribute": "value"
1708
+ },
1709
+ {
1710
+ "kind": "field",
1711
+ "name": "isExpanded",
1712
+ "type": {
1713
+ "text": "boolean"
1714
+ },
1715
+ "default": "false"
1716
+ },
1717
+ {
1718
+ "kind": "field",
1719
+ "name": "query"
1720
+ },
1721
+ {
1722
+ "kind": "field",
1723
+ "name": "searchResults",
1724
+ "type": {
1725
+ "text": "ListItem[]"
1726
+ },
1727
+ "default": "[]"
1728
+ },
1729
+ {
1730
+ "kind": "method",
1731
+ "name": "valueChanged",
1732
+ "parameters": [
1733
+ {
1734
+ "name": "_oldValue",
1735
+ "type": {
1736
+ "text": "string"
1737
+ }
1738
+ },
1739
+ {
1740
+ "name": "newValue",
1741
+ "type": {
1742
+ "text": "string"
1743
+ }
1663
1744
  }
1664
- }
1745
+ ]
1665
1746
  },
1666
1747
  {
1667
1748
  "kind": "method",
1668
- "name": "#styleFromAttributes",
1669
- "description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
1749
+ "name": "clear"
1670
1750
  },
1671
1751
  {
1672
1752
  "kind": "method",
1673
- "name": "handleLabelChange"
1753
+ "name": "close"
1674
1754
  },
1675
1755
  {
1676
1756
  "kind": "method",
1677
- "name": "setIcon"
1757
+ "name": "toggle"
1758
+ },
1759
+ {
1760
+ "kind": "field",
1761
+ "name": "#dispatchChange",
1762
+ "privacy": "private"
1763
+ },
1764
+ {
1765
+ "kind": "field",
1766
+ "name": "#handleComboboxChange",
1767
+ "privacy": "private"
1768
+ },
1769
+ {
1770
+ "kind": "field",
1771
+ "name": "#handleOptionClick",
1772
+ "privacy": "private"
1773
+ },
1774
+ {
1775
+ "kind": "field",
1776
+ "name": "#handleKeydown",
1777
+ "privacy": "private"
1778
+ },
1779
+ {
1780
+ "kind": "field",
1781
+ "name": "#manageListboxVisibility",
1782
+ "privacy": "private"
1783
+ },
1784
+ {
1785
+ "kind": "field",
1786
+ "name": "#selectOption",
1787
+ "privacy": "private"
1788
+ },
1789
+ {
1790
+ "kind": "method",
1791
+ "name": "#handleSearch",
1792
+ "parameters": [
1793
+ {
1794
+ "name": "query",
1795
+ "type": {
1796
+ "text": "string"
1797
+ }
1798
+ }
1799
+ ]
1678
1800
  }
1679
1801
  ],
1680
1802
  "events": [
1681
1803
  {
1682
- "description": "Emitted when the icon has loaded.",
1683
- "name": "terra-load",
1684
- "reactName": "onTerraLoad",
1685
- "eventName": "TerraLoadEvent"
1804
+ "description": "Emitted when an option is selected.",
1805
+ "name": "terra-giovanni-search-change",
1806
+ "reactName": "onTerraGiovanniSearchChange",
1807
+ "eventName": "TerraGiovanniSearchChangeEvent"
1686
1808
  },
1687
1809
  {
1688
- "description": "Emitted when the icon fails to load due to an error.",
1689
- "name": "terra-error",
1690
- "reactName": "onTerraError",
1691
- "eventName": "TerraErrorEvent"
1810
+ "description": "Emitted when the component is triggering a search (like a form triggering submit).",
1811
+ "name": "terra-search",
1812
+ "reactName": "onTerraSearch",
1813
+ "eventName": "TerraSearchEvent"
1692
1814
  }
1693
1815
  ],
1694
1816
  "attributes": [
1695
1817
  {
1696
- "name": "name",
1697
- "type": {
1698
- "text": "string | undefined"
1699
- },
1700
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1701
- "fieldName": "name"
1702
- },
1703
- {
1704
- "name": "src",
1818
+ "name": "label",
1705
1819
  "type": {
1706
- "text": "string | undefined"
1820
+ "text": "string"
1707
1821
  },
1708
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
1709
- "fieldName": "src"
1822
+ "default": "'Enter search terms (e.g., precipitation, AOD)'",
1823
+ "description": "Label the combobox with this.",
1824
+ "fieldName": "label"
1710
1825
  },
1711
1826
  {
1712
- "name": "label",
1827
+ "name": "placeholder",
1713
1828
  "type": {
1714
1829
  "text": "string"
1715
1830
  },
1716
- "default": "''",
1717
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1718
- "fieldName": "label"
1831
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
1832
+ "fieldName": "placeholder"
1719
1833
  },
1720
1834
  {
1721
- "name": "library",
1835
+ "name": "hide-label",
1722
1836
  "type": {
1723
- "text": "'default' | 'heroicons' | string"
1837
+ "text": "boolean"
1724
1838
  },
1725
- "default": "'default'",
1726
- "description": "The name of a registered custom icon library.",
1727
- "fieldName": "library"
1839
+ "default": "true",
1840
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
1841
+ "fieldName": "hideLabel"
1728
1842
  },
1729
1843
  {
1730
- "name": "color",
1844
+ "name": "searchConfig",
1731
1845
  "type": {
1732
- "text": "string | null"
1846
+ "text": "object"
1733
1847
  },
1734
- "default": "null",
1735
- "description": "The CSS color to assign to the SVG.",
1736
- "fieldName": "color"
1848
+ "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
1849
+ "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
1850
+ "fieldName": "searchConfig"
1737
1851
  },
1738
1852
  {
1739
- "name": "font-size",
1853
+ "name": "value",
1740
1854
  "type": {
1741
- "text": "string | null"
1855
+ "text": "string"
1742
1856
  },
1743
- "default": "null",
1744
- "description": "The CSS font-size to assign to the SVG.",
1745
- "fieldName": "fontSize"
1857
+ "fieldName": "value"
1746
1858
  }
1747
1859
  ],
1748
1860
  "superclass": {
1749
1861
  "name": "TerraElement",
1750
1862
  "module": "/src/internal/terra-element.js"
1751
1863
  },
1752
- "summary": "Icons are symbols that can be used to represent various options within an application.",
1753
- "tagNameWithoutPrefix": "icon",
1754
- "tagName": "terra-icon",
1864
+ "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
1865
+ "tagNameWithoutPrefix": "giovanni-search",
1866
+ "tagName": "terra-giovanni-search",
1755
1867
  "customElement": true,
1756
- "jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
1757
- "documentation": "https://disc.gsfc.nasa.gov/components/icon",
1758
- "status": "experimental",
1868
+ "jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\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 --label-height - The height of the input's label element.\n *\n * @event terra-giovanni-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
1869
+ "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
1870
+ "status": "MVP",
1759
1871
  "since": "1.0"
1760
1872
  }
1761
1873
  ],
@@ -1764,8 +1876,8 @@
1764
1876
  "kind": "js",
1765
1877
  "name": "default",
1766
1878
  "declaration": {
1767
- "name": "TerraIcon",
1768
- "module": "components/icon/icon.js"
1879
+ "name": "TerraGiovanniSearch",
1880
+ "module": "components/giovanni-search/giovanni-search.js"
1769
1881
  }
1770
1882
  }
1771
1883
  ]
@@ -1899,118 +2011,54 @@
1899
2011
  },
1900
2012
  {
1901
2013
  "kind": "javascript-module",
1902
- "path": "components/giovanni-search/giovanni-search.js",
2014
+ "path": "components/icon/icon.js",
1903
2015
  "declarations": [
1904
2016
  {
1905
2017
  "kind": "class",
1906
2018
  "description": "",
1907
- "name": "TerraGiovanniSearch",
1908
- "cssProperties": [
1909
- {
1910
- "description": "The height of the host element.",
1911
- "name": "--host-height"
1912
- },
1913
- {
1914
- "description": "The height of the input's label element.",
1915
- "name": "--label-height"
1916
- }
1917
- ],
2019
+ "name": "TerraIcon",
1918
2020
  "cssParts": [
1919
2021
  {
1920
- "description": "A `search` element, the component's base.",
1921
- "name": "base"
1922
- },
1923
- {
1924
- "description": "An `input` element used for searching.",
1925
- "name": "combobox"
1926
- },
1927
- {
1928
- "description": "A `button` used for toggling the listbox's visibility.",
1929
- "name": "button"
1930
- },
1931
- {
1932
- "description": "A `ul` that holds the clickable options.",
1933
- "name": "listbox"
2022
+ "description": "The internal SVG element.",
2023
+ "name": "svg"
1934
2024
  }
1935
2025
  ],
1936
2026
  "members": [
1937
2027
  {
1938
2028
  "kind": "field",
1939
- "name": "dependencies",
2029
+ "name": "#initialRender",
2030
+ "privacy": "private",
1940
2031
  "type": {
1941
- "text": "object"
2032
+ "text": "boolean"
1942
2033
  },
1943
- "static": true,
1944
- "default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
2034
+ "default": "false"
1945
2035
  },
1946
2036
  {
1947
2037
  "kind": "field",
1948
- "name": "shadowRootOptions",
1949
- "type": {
1950
- "text": "object"
1951
- },
1952
- "static": true,
1953
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
1954
- },
1955
- {
1956
- "kind": "field",
1957
- "name": "tagName",
1958
- "type": {
1959
- "text": "string"
1960
- },
1961
- "static": true,
1962
- "default": "'terra-giovanni-search'"
1963
- },
1964
- {
1965
- "kind": "field",
1966
- "name": "initialQuery",
1967
- "type": {
1968
- "text": "string"
1969
- },
1970
- "static": true,
1971
- "default": "''"
1972
- },
1973
- {
1974
- "kind": "field",
1975
- "name": "#combobox",
1976
- "privacy": "private",
1977
- "type": {
1978
- "text": "HTMLInputElement | null"
1979
- },
1980
- "default": "null"
1981
- },
1982
- {
1983
- "kind": "field",
1984
- "name": "#fetchController",
1985
- "privacy": "private",
1986
- "default": "new FetchController(this)"
1987
- },
1988
- {
1989
- "kind": "field",
1990
- "name": "#listbox",
1991
- "privacy": "private",
2038
+ "name": "svg",
1992
2039
  "type": {
1993
- "text": "HTMLUListElement | null"
2040
+ "text": "SVGElement | HTMLTemplateResult | null"
1994
2041
  },
1995
2042
  "default": "null"
1996
2043
  },
1997
2044
  {
1998
2045
  "kind": "field",
1999
- "name": "#searchEngine",
2000
- "privacy": "private",
2046
+ "name": "name",
2001
2047
  "type": {
2002
- "text": "Fuse<ListItem> | null"
2048
+ "text": "string | undefined"
2003
2049
  },
2004
- "default": "null"
2050
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2051
+ "attribute": "name",
2052
+ "reflects": true
2005
2053
  },
2006
2054
  {
2007
2055
  "kind": "field",
2008
- "name": "#walker",
2009
- "privacy": "private",
2056
+ "name": "src",
2010
2057
  "type": {
2011
- "text": "TreeWalker | null"
2058
+ "text": "string | undefined"
2012
2059
  },
2013
- "default": "null"
2060
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2061
+ "attribute": "src"
2014
2062
  },
2015
2063
  {
2016
2064
  "kind": "field",
@@ -2018,209 +2066,161 @@
2018
2066
  "type": {
2019
2067
  "text": "string"
2020
2068
  },
2021
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
2022
- "description": "Label the combobox with this.",
2069
+ "default": "''",
2070
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2023
2071
  "attribute": "label"
2024
2072
  },
2025
2073
  {
2026
2074
  "kind": "field",
2027
- "name": "placeholder",
2028
- "type": {
2029
- "text": "string"
2030
- },
2031
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
2032
- "attribute": "placeholder"
2033
- },
2034
- {
2035
- "kind": "field",
2036
- "name": "hideLabel",
2037
- "type": {
2038
- "text": "boolean"
2039
- },
2040
- "default": "true",
2041
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
2042
- "attribute": "hide-label"
2043
- },
2044
- {
2045
- "kind": "field",
2046
- "name": "searchConfig",
2047
- "type": {
2048
- "text": "object"
2049
- },
2050
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
2051
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
2052
- "attribute": "searchConfig"
2053
- },
2054
- {
2055
- "kind": "field",
2056
- "name": "value",
2075
+ "name": "library",
2057
2076
  "type": {
2058
- "text": "string"
2077
+ "text": "'default' | 'heroicons' | string"
2059
2078
  },
2060
- "attribute": "value"
2079
+ "default": "'default'",
2080
+ "description": "The name of a registered custom icon library.",
2081
+ "attribute": "library",
2082
+ "reflects": true
2061
2083
  },
2062
2084
  {
2063
2085
  "kind": "field",
2064
- "name": "isExpanded",
2086
+ "name": "color",
2065
2087
  "type": {
2066
- "text": "boolean"
2088
+ "text": "string | null"
2067
2089
  },
2068
- "default": "false"
2069
- },
2070
- {
2071
- "kind": "field",
2072
- "name": "query"
2090
+ "default": "null",
2091
+ "description": "The CSS color to assign to the SVG.",
2092
+ "attribute": "color"
2073
2093
  },
2074
2094
  {
2075
2095
  "kind": "field",
2076
- "name": "searchResults",
2096
+ "name": "fontSize",
2077
2097
  "type": {
2078
- "text": "ListItem[]"
2098
+ "text": "string | null"
2079
2099
  },
2080
- "default": "[]"
2100
+ "default": "null",
2101
+ "description": "The CSS font-size to assign to the SVG.",
2102
+ "attribute": "font-size"
2081
2103
  },
2082
2104
  {
2083
2105
  "kind": "method",
2084
- "name": "valueChanged",
2106
+ "name": "#resolveIcon",
2107
+ "return": {
2108
+ "type": {
2109
+ "text": "Promise<SVGResult>"
2110
+ }
2111
+ },
2085
2112
  "parameters": [
2086
2113
  {
2087
- "name": "_oldValue",
2088
- "type": {
2089
- "text": "string"
2090
- }
2091
- },
2092
- {
2093
- "name": "newValue",
2114
+ "name": "url",
2094
2115
  "type": {
2095
2116
  "text": "string"
2096
2117
  }
2097
2118
  }
2098
- ]
2119
+ ],
2120
+ "description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
2099
2121
  },
2100
2122
  {
2101
2123
  "kind": "method",
2102
- "name": "clear"
2124
+ "name": "#getIconSource",
2125
+ "return": {
2126
+ "type": {
2127
+ "text": "IconSource"
2128
+ }
2129
+ }
2103
2130
  },
2104
2131
  {
2105
2132
  "kind": "method",
2106
- "name": "close"
2133
+ "name": "#styleFromAttributes",
2134
+ "description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
2107
2135
  },
2108
2136
  {
2109
2137
  "kind": "method",
2110
- "name": "toggle"
2111
- },
2112
- {
2113
- "kind": "field",
2114
- "name": "#dispatchChange",
2115
- "privacy": "private"
2116
- },
2117
- {
2118
- "kind": "field",
2119
- "name": "#handleComboboxChange",
2120
- "privacy": "private"
2121
- },
2122
- {
2123
- "kind": "field",
2124
- "name": "#handleOptionClick",
2125
- "privacy": "private"
2126
- },
2127
- {
2128
- "kind": "field",
2129
- "name": "#handleKeydown",
2130
- "privacy": "private"
2131
- },
2132
- {
2133
- "kind": "field",
2134
- "name": "#manageListboxVisibility",
2135
- "privacy": "private"
2136
- },
2137
- {
2138
- "kind": "field",
2139
- "name": "#selectOption",
2140
- "privacy": "private"
2138
+ "name": "handleLabelChange"
2141
2139
  },
2142
2140
  {
2143
2141
  "kind": "method",
2144
- "name": "#handleSearch",
2145
- "parameters": [
2146
- {
2147
- "name": "query",
2148
- "type": {
2149
- "text": "string"
2150
- }
2151
- }
2152
- ]
2142
+ "name": "setIcon"
2153
2143
  }
2154
2144
  ],
2155
2145
  "events": [
2156
2146
  {
2157
- "description": "Emitted when an option is selected.",
2158
- "name": "terra-giovanni-search-change",
2159
- "reactName": "onTerraGiovanniSearchChange",
2160
- "eventName": "TerraGiovanniSearchChangeEvent"
2147
+ "description": "Emitted when the icon has loaded.",
2148
+ "name": "terra-load",
2149
+ "reactName": "onTerraLoad",
2150
+ "eventName": "TerraLoadEvent"
2161
2151
  },
2162
2152
  {
2163
- "description": "Emitted when the component is triggering a search (like a form triggering submit).",
2164
- "name": "terra-search",
2165
- "reactName": "onTerraSearch",
2166
- "eventName": "TerraSearchEvent"
2153
+ "description": "Emitted when the icon fails to load due to an error.",
2154
+ "name": "terra-error",
2155
+ "reactName": "onTerraError",
2156
+ "eventName": "TerraErrorEvent"
2167
2157
  }
2168
2158
  ],
2169
2159
  "attributes": [
2170
2160
  {
2171
- "name": "label",
2161
+ "name": "name",
2172
2162
  "type": {
2173
- "text": "string"
2163
+ "text": "string | undefined"
2174
2164
  },
2175
- "default": "'Enter search terms (e.g., precipitation, AOD)'",
2176
- "description": "Label the combobox with this.",
2177
- "fieldName": "label"
2165
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2166
+ "fieldName": "name"
2178
2167
  },
2179
2168
  {
2180
- "name": "placeholder",
2169
+ "name": "src",
2170
+ "type": {
2171
+ "text": "string | undefined"
2172
+ },
2173
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2174
+ "fieldName": "src"
2175
+ },
2176
+ {
2177
+ "name": "label",
2181
2178
  "type": {
2182
2179
  "text": "string"
2183
2180
  },
2184
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
2185
- "fieldName": "placeholder"
2181
+ "default": "''",
2182
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2183
+ "fieldName": "label"
2186
2184
  },
2187
2185
  {
2188
- "name": "hide-label",
2186
+ "name": "library",
2189
2187
  "type": {
2190
- "text": "boolean"
2188
+ "text": "'default' | 'heroicons' | string"
2191
2189
  },
2192
- "default": "true",
2193
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
2194
- "fieldName": "hideLabel"
2190
+ "default": "'default'",
2191
+ "description": "The name of a registered custom icon library.",
2192
+ "fieldName": "library"
2195
2193
  },
2196
2194
  {
2197
- "name": "searchConfig",
2195
+ "name": "color",
2198
2196
  "type": {
2199
- "text": "object"
2197
+ "text": "string | null"
2200
2198
  },
2201
- "default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
2202
- "description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
2203
- "fieldName": "searchConfig"
2199
+ "default": "null",
2200
+ "description": "The CSS color to assign to the SVG.",
2201
+ "fieldName": "color"
2204
2202
  },
2205
2203
  {
2206
- "name": "value",
2204
+ "name": "font-size",
2207
2205
  "type": {
2208
- "text": "string"
2206
+ "text": "string | null"
2209
2207
  },
2210
- "fieldName": "value"
2208
+ "default": "null",
2209
+ "description": "The CSS font-size to assign to the SVG.",
2210
+ "fieldName": "fontSize"
2211
2211
  }
2212
2212
  ],
2213
2213
  "superclass": {
2214
2214
  "name": "TerraElement",
2215
2215
  "module": "/src/internal/terra-element.js"
2216
2216
  },
2217
- "summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
2218
- "tagNameWithoutPrefix": "giovanni-search",
2219
- "tagName": "terra-giovanni-search",
2217
+ "summary": "Icons are symbols that can be used to represent various options within an application.",
2218
+ "tagNameWithoutPrefix": "icon",
2219
+ "tagName": "terra-icon",
2220
2220
  "customElement": true,
2221
- "jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\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 --label-height - The height of the input's label element.\n *\n * @event terra-giovanni-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
2222
- "documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
2223
- "status": "MVP",
2221
+ "jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
2222
+ "documentation": "https://disc.gsfc.nasa.gov/components/icon",
2223
+ "status": "experimental",
2224
2224
  "since": "1.0"
2225
2225
  }
2226
2226
  ],
@@ -2229,8 +2229,8 @@
2229
2229
  "kind": "js",
2230
2230
  "name": "default",
2231
2231
  "declaration": {
2232
- "name": "TerraGiovanniSearch",
2233
- "module": "components/giovanni-search/giovanni-search.js"
2232
+ "name": "TerraIcon",
2233
+ "module": "components/icon/icon.js"
2234
2234
  }
2235
2235
  }
2236
2236
  ]
@@ -3994,7 +3994,7 @@
3994
3994
  "package": {
3995
3995
  "name": "@nasa-terra/components",
3996
3996
  "description": "A collection of NASA Earthdata components",
3997
- "version": "0.0.21",
3997
+ "version": "0.0.22",
3998
3998
  "author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
3999
3999
  "homepage": "https://github.com/gesdisc/components",
4000
4000
  "license": "MIT"