@nasa-terra/components 0.0.2 → 0.0.3

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 (181) hide show
  1. package/cdn/chunks/{chunk.5UBB7KZQ.js → chunk.2LF7SMGQ.js} +10 -12
  2. package/cdn/chunks/{chunk.SXUZHG2G.js → chunk.3JODJSTO.js} +1 -1
  3. package/cdn/chunks/{chunk.HMECFSJ3.js → chunk.4D2G6L4V.js} +1 -1
  4. package/cdn/chunks/{chunk.P4LXCHCY.js → chunk.566BRIWX.js} +1 -1
  5. package/{dist/chunks/chunk.356TZEPJ.js → cdn/chunks/chunk.74CNHGFN.js} +1 -1
  6. package/cdn/chunks/{chunk.2WF7EATT.js → chunk.A3BJQZCH.js} +6 -6
  7. package/cdn/chunks/{chunk.II3GR7YQ.js → chunk.B2HOKF44.js} +4 -4
  8. package/cdn/chunks/{chunk.5OVZEQPW.js → chunk.E2SRXXI6.js} +1 -1
  9. package/cdn/chunks/{chunk.2LH52WLN.js → chunk.ELPRRHTE.js} +5 -5
  10. package/cdn/chunks/{chunk.H4SLY4KN.js → chunk.FS5IKMJD.js} +1 -1
  11. package/cdn/chunks/{chunk.S6SLZPVX.js → chunk.GR5QBZMP.js} +1 -1
  12. package/{dist/chunks/chunk.RCELHBSG.js → cdn/chunks/chunk.HCBG34UV.js} +1 -1
  13. package/cdn/chunks/{chunk.U6DUAIIP.js → chunk.IKBILRIY.js} +21 -0
  14. package/cdn/chunks/{chunk.KZIVL4LN.js → chunk.JCBJR2VJ.js} +1 -1
  15. package/cdn/chunks/{chunk.FYB4LVNE.js → chunk.JE7ZZRL6.js} +4 -4
  16. package/cdn/chunks/{chunk.A4PYD2BT.js → chunk.JM6ZF7AP.js} +4 -1
  17. package/{dist/chunks/chunk.34BDCGAS.js → cdn/chunks/chunk.JOSFOMOK.js} +1 -1
  18. package/{dist/chunks/chunk.6HHKJO37.js → cdn/chunks/chunk.JUCL53DU.js} +1 -1
  19. package/cdn/chunks/{chunk.BHVFJEIU.js → chunk.K6YHM5TZ.js} +7 -3
  20. package/cdn/chunks/{chunk.KQ6GR2XZ.js → chunk.LBKLXTIO.js} +77 -52
  21. package/{dist/chunks/chunk.LXV5KI76.js → cdn/chunks/chunk.LHW6ZEEG.js} +1 -1
  22. package/cdn/chunks/{chunk.RS4CISKV.js → chunk.LIQU3FGS.js} +1 -1
  23. package/{dist/chunks/chunk.NA6RDAQK.js → cdn/chunks/chunk.LT6GFPPN.js} +1 -1
  24. package/{dist/chunks/chunk.ZI3RW2HX.js → cdn/chunks/chunk.M4QB4Z2D.js} +1 -1
  25. package/cdn/chunks/{chunk.VHMYUAU5.js → chunk.ON2RU4HZ.js} +4 -4
  26. package/cdn/chunks/{chunk.CSZAFBCJ.js → chunk.ONGS57TV.js} +1 -1
  27. package/cdn/chunks/{chunk.KFYWXDIT.js → chunk.PDXFKRVY.js} +4 -4
  28. package/cdn/chunks/{chunk.ORXIH4AJ.js → chunk.PM3G4HWU.js} +1 -1
  29. package/cdn/chunks/{chunk.4OFE6FHL.js → chunk.PS5CJCUL.js} +1 -1
  30. package/cdn/chunks/{chunk.BLFAG25A.js → chunk.RXDN2NM7.js} +1 -1
  31. package/cdn/chunks/{chunk.2YI7V6QJ.js → chunk.SBDX4GGT.js} +24 -0
  32. package/{dist/chunks/chunk.WCD47X2N.js → cdn/chunks/chunk.SNTGQTAS.js} +1 -1
  33. package/{dist/chunks/chunk.TEY3I3LS.js → cdn/chunks/chunk.U5J3OV4V.js} +1 -1
  34. package/cdn/chunks/{chunk.MOL3RELR.js → chunk.X56PW5HS.js} +1 -1
  35. package/cdn/chunks/{chunk.PUWFHEBP.js → chunk.XQOP7YET.js} +1 -1
  36. package/cdn/chunks/{chunk.SQUNJ4EJ.js → chunk.XZEK52FD.js} +1 -1
  37. package/cdn/chunks/{chunk.PYRUETLC.js → chunk.ZO75EFUN.js} +2 -2
  38. package/{dist/chunks/chunk.6G6MC7ET.js → cdn/chunks/chunk.ZUGL2FNZ.js} +1 -1
  39. package/cdn/components/button/button.component.js +3 -3
  40. package/cdn/components/button/button.js +4 -4
  41. package/cdn/components/chip/chip.component.js +3 -3
  42. package/cdn/components/chip/chip.js +4 -4
  43. package/cdn/components/combobox/combobox.component.js +4 -4
  44. package/cdn/components/combobox/combobox.js +5 -5
  45. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  46. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  47. package/cdn/components/icon/icon.component.js +5 -5
  48. package/cdn/components/icon/icon.js +6 -6
  49. package/cdn/components/icon/library.js +2 -2
  50. package/cdn/components/loader/loader.component.d.ts +2 -0
  51. package/cdn/components/loader/loader.component.js +3 -3
  52. package/cdn/components/loader/loader.js +4 -4
  53. package/cdn/components/loader/loader.styles.js +1 -1
  54. package/cdn/components/map/map.component.js +2 -2
  55. package/cdn/components/map/map.js +3 -3
  56. package/cdn/components/plot/plot.component.js +2 -2
  57. package/cdn/components/plot/plot.js +3 -3
  58. package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
  59. package/cdn/components/spatial-picker/spatial-picker.js +4 -4
  60. package/cdn/components/time-series/time-series.component.d.ts +4 -0
  61. package/cdn/components/time-series/time-series.component.js +29 -27
  62. package/cdn/components/time-series/time-series.controller.d.ts +1 -0
  63. package/cdn/components/time-series/time-series.controller.js +1 -1
  64. package/cdn/components/time-series/time-series.js +30 -28
  65. package/cdn/components/time-series/time-series.styles.js +1 -1
  66. package/cdn/components/variable-combobox/variable-combobox.component.js +14 -14
  67. package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
  68. package/cdn/components/variable-combobox/variable-combobox.js +15 -15
  69. package/cdn/custom-elements.json +494 -468
  70. package/cdn/react/button/index.js +4 -4
  71. package/cdn/react/chip/index.js +4 -4
  72. package/cdn/react/combobox/index.js +5 -5
  73. package/cdn/react/date-range-slider/index.js +4 -4
  74. package/cdn/react/icon/index.js +6 -6
  75. package/cdn/react/index.d.ts +3 -3
  76. package/cdn/react/index.js +53 -53
  77. package/cdn/react/loader/index.js +4 -4
  78. package/cdn/react/map/index.js +3 -3
  79. package/cdn/react/plot/index.js +3 -3
  80. package/cdn/react/spatial-picker/index.js +4 -4
  81. package/cdn/react/time-series/index.d.ts +2 -0
  82. package/cdn/react/time-series/index.js +30 -28
  83. package/cdn/react/variable-combobox/index.js +15 -15
  84. package/cdn/terra-ui-components.js +57 -57
  85. package/cdn/types/vue/index.d.ts +68 -66
  86. package/cdn/utilities/animation.js +3 -3
  87. package/cdn/utilities/icon-library.js +2 -2
  88. package/cdn/vscode.html-custom-data.json +83 -78
  89. package/cdn/web-types.json +169 -159
  90. package/dist/chunks/{chunk.DKCU7YEZ.js → chunk.2RJXTLAA.js} +10 -12
  91. package/dist/chunks/{chunk.WHJHZJ6L.js → chunk.33FFT37R.js} +2 -2
  92. package/dist/chunks/{chunk.6HBNUONX.js → chunk.3SRITTYR.js} +1 -1
  93. package/dist/chunks/{chunk.XPQYTQXW.js → chunk.4GCNO2RC.js} +4 -4
  94. package/dist/chunks/{chunk.XK7GWNRK.js → chunk.6DRNHPKF.js} +1 -1
  95. package/dist/chunks/{chunk.ACNC5AZO.js → chunk.7DFKM3M3.js} +1 -1
  96. package/dist/chunks/{chunk.D44WRZDJ.js → chunk.AJUYULUM.js} +1 -1
  97. package/{cdn/chunks/chunk.RDW2UZ5N.js → dist/chunks/chunk.ALFBRTWT.js} +1 -1
  98. package/dist/chunks/{chunk.TFKJWQKC.js → chunk.B7L6K56Y.js} +7 -3
  99. package/dist/chunks/{chunk.I2NEFB34.js → chunk.CL62YJ3N.js} +21 -0
  100. package/dist/chunks/{chunk.HJ4OGF6V.js → chunk.EDKH7GOS.js} +1 -1
  101. package/{cdn/chunks/chunk.KCXQJJZ4.js → dist/chunks/chunk.EPOITANB.js} +1 -1
  102. package/{cdn/chunks/chunk.3NOH36JE.js → dist/chunks/chunk.FLO6VVGK.js} +1 -1
  103. package/dist/chunks/{chunk.4WNMOJSX.js → chunk.FOD357NT.js} +35 -12
  104. package/dist/chunks/{chunk.ZGJAUXFV.js → chunk.GPUFE4ML.js} +24 -0
  105. package/dist/chunks/{chunk.MWHQHPUM.js → chunk.GWHZAFS3.js} +4 -1
  106. package/dist/chunks/{chunk.RHF5LAQQ.js → chunk.HSPKB2MG.js} +1 -1
  107. package/dist/chunks/{chunk.26XMYCND.js → chunk.IOP7DABN.js} +6 -6
  108. package/dist/chunks/{chunk.K3PPW47B.js → chunk.JL4ZDCDW.js} +4 -4
  109. package/dist/chunks/{chunk.EPMXIUY7.js → chunk.KJIDKCTU.js} +1 -1
  110. package/{cdn/chunks/chunk.EH44OY6V.js → dist/chunks/chunk.LUYLEISL.js} +1 -1
  111. package/dist/chunks/{chunk.LMUMRQLT.js → chunk.LXE4USTN.js} +1 -1
  112. package/dist/chunks/{chunk.R32FZJSC.js → chunk.LZWNT5PB.js} +1 -1
  113. package/dist/chunks/{chunk.5LBNOLAY.js → chunk.MMYKMN6B.js} +4 -4
  114. package/dist/chunks/{chunk.KWCEJCNP.js → chunk.MPA4M3E7.js} +1 -1
  115. package/{cdn/chunks/chunk.EGBZ7Z36.js → dist/chunks/chunk.MVKAIELO.js} +1 -1
  116. package/{cdn/chunks/chunk.CO6OXP3P.js → dist/chunks/chunk.NF7CULQM.js} +1 -1
  117. package/dist/chunks/{chunk.37CMTFD4.js → chunk.OIEDIUMT.js} +1 -1
  118. package/dist/chunks/{chunk.UTUM2YTN.js → chunk.PRBM2XXL.js} +1 -1
  119. package/dist/chunks/{chunk.HBEQ6SPT.js → chunk.PSTXVQB5.js} +1 -1
  120. package/dist/chunks/{chunk.37V2INM4.js → chunk.PU5MKRJ3.js} +5 -5
  121. package/{cdn/chunks/chunk.5NSDKQFA.js → dist/chunks/chunk.Q2BSVCPH.js} +1 -1
  122. package/{cdn/chunks/chunk.76UFIPPH.js → dist/chunks/chunk.S2WDTAIJ.js} +1 -1
  123. package/{cdn/chunks/chunk.C3FZSGJM.js → dist/chunks/chunk.S4JQ7QD5.js} +1 -1
  124. package/{cdn/chunks/chunk.7UVCVDMD.js → dist/chunks/chunk.XLQO6OZU.js} +1 -1
  125. package/dist/chunks/{chunk.ZUWKLZ5N.js → chunk.YRZFOIW4.js} +1 -1
  126. package/dist/chunks/{chunk.LAFN7QOI.js → chunk.YUEY7TCJ.js} +1 -1
  127. package/dist/chunks/{chunk.3OTXIELM.js → chunk.ZB6UWPGQ.js} +4 -4
  128. package/dist/components/button/button.component.js +3 -3
  129. package/dist/components/button/button.js +4 -4
  130. package/dist/components/chip/chip.component.js +2 -2
  131. package/dist/components/chip/chip.js +3 -3
  132. package/dist/components/combobox/combobox.component.js +3 -3
  133. package/dist/components/combobox/combobox.js +4 -4
  134. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  135. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  136. package/dist/components/icon/icon.component.js +4 -4
  137. package/dist/components/icon/icon.js +5 -5
  138. package/dist/components/icon/library.js +2 -2
  139. package/dist/components/loader/loader.component.d.ts +2 -0
  140. package/dist/components/loader/loader.component.js +3 -3
  141. package/dist/components/loader/loader.js +4 -4
  142. package/dist/components/loader/loader.styles.js +1 -1
  143. package/dist/components/map/map.component.js +2 -2
  144. package/dist/components/map/map.js +3 -3
  145. package/dist/components/plot/plot.component.js +2 -2
  146. package/dist/components/plot/plot.js +3 -3
  147. package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
  148. package/dist/components/spatial-picker/spatial-picker.js +4 -4
  149. package/dist/components/time-series/time-series.component.d.ts +4 -0
  150. package/dist/components/time-series/time-series.component.js +24 -22
  151. package/dist/components/time-series/time-series.controller.d.ts +1 -0
  152. package/dist/components/time-series/time-series.controller.js +1 -1
  153. package/dist/components/time-series/time-series.js +25 -23
  154. package/dist/components/time-series/time-series.styles.js +1 -1
  155. package/dist/components/variable-combobox/variable-combobox.component.js +11 -11
  156. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
  157. package/dist/components/variable-combobox/variable-combobox.js +12 -12
  158. package/dist/custom-elements.json +494 -468
  159. package/dist/react/button/index.js +4 -4
  160. package/dist/react/chip/index.js +3 -3
  161. package/dist/react/combobox/index.js +4 -4
  162. package/dist/react/date-range-slider/index.js +4 -4
  163. package/dist/react/icon/index.js +5 -5
  164. package/dist/react/index.d.ts +3 -3
  165. package/dist/react/index.js +48 -48
  166. package/dist/react/loader/index.js +4 -4
  167. package/dist/react/map/index.js +3 -3
  168. package/dist/react/plot/index.js +3 -3
  169. package/dist/react/spatial-picker/index.js +4 -4
  170. package/dist/react/time-series/index.d.ts +2 -0
  171. package/dist/react/time-series/index.js +25 -23
  172. package/dist/react/variable-combobox/index.js +12 -12
  173. package/dist/terra-ui-components.js +49 -49
  174. package/dist/types/vue/index.d.ts +68 -66
  175. package/dist/utilities/icon-library.js +2 -2
  176. package/dist/vscode.html-custom-data.json +83 -78
  177. package/dist/web-types.json +169 -159
  178. package/package.json +1 -1
  179. package/cdn/chunks/{chunk.XR56EMXH.js → chunk.LQCRC4E2.js} +8 -8
  180. package/{dist/chunks/chunk.7DOMZGX7.js → cdn/chunks/chunk.MDRUDBRH.js} +3 -3
  181. package/{cdn/chunks/chunk.7DOMZGX7.js → dist/chunks/chunk.MDRUDBRH.js} +3 -3
@@ -636,72 +636,6 @@
636
636
  }
637
637
  ]
638
638
  },
639
- {
640
- "kind": "javascript-module",
641
- "path": "components/chip/chip.js",
642
- "declarations": [
643
- {
644
- "kind": "class",
645
- "description": "",
646
- "name": "TerraChip",
647
- "slots": [
648
- {
649
- "description": "The chip's label.",
650
- "name": ""
651
- }
652
- ],
653
- "members": [
654
- {
655
- "kind": "field",
656
- "name": "size",
657
- "type": {
658
- "text": "'small' | 'medium' | 'large'"
659
- },
660
- "default": "'medium'",
661
- "attribute": "size",
662
- "reflects": true
663
- },
664
- {
665
- "kind": "field",
666
- "name": "#handleRemoveClick",
667
- "privacy": "private"
668
- }
669
- ],
670
- "attributes": [
671
- {
672
- "name": "size",
673
- "type": {
674
- "text": "'small' | 'medium' | 'large'"
675
- },
676
- "default": "'medium'",
677
- "fieldName": "size"
678
- }
679
- ],
680
- "superclass": {
681
- "name": "TerraElement",
682
- "module": "/src/internal/terra-element.js"
683
- },
684
- "summary": "Used for contacts and tags",
685
- "tagNameWithoutPrefix": "chip",
686
- "tagName": "terra-chip",
687
- "customElement": true,
688
- "jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
689
- "documentation": "https://disc.gsfc.nasa.gov/components/chip",
690
- "status": "stable",
691
- "since": "1.0"
692
- }
693
- ],
694
- "exports": [
695
- {
696
- "kind": "js",
697
- "name": "default",
698
- "declaration": {
699
- "name": "TerraChip",
700
- "module": "components/chip/chip.js"
701
- }
702
- }
703
- ]
704
- },
705
639
  {
706
640
  "kind": "javascript-module",
707
641
  "path": "components/combobox/combobox.js",
@@ -1285,54 +1219,65 @@
1285
1219
  },
1286
1220
  {
1287
1221
  "kind": "javascript-module",
1288
- "path": "components/icon/icon.js",
1222
+ "path": "components/loader/loader.js",
1289
1223
  "declarations": [
1290
1224
  {
1291
1225
  "kind": "class",
1292
1226
  "description": "",
1293
- "name": "TerraIcon",
1227
+ "name": "TerraLoader",
1228
+ "cssProperties": [
1229
+ {
1230
+ "description": "An example CSS custom property.",
1231
+ "name": "--example"
1232
+ }
1233
+ ],
1294
1234
  "cssParts": [
1295
1235
  {
1296
- "description": "The internal SVG element.",
1297
- "name": "svg"
1236
+ "description": "The component's base wrapper.",
1237
+ "name": "base"
1298
1238
  }
1299
1239
  ],
1300
1240
  "members": [
1301
1241
  {
1302
1242
  "kind": "field",
1303
- "name": "#initialRender",
1304
- "privacy": "private",
1243
+ "name": "size",
1305
1244
  "type": {
1306
- "text": "boolean"
1245
+ "text": "'small' | 'large'"
1307
1246
  },
1308
- "default": "false"
1247
+ "default": "'large'",
1248
+ "description": "The loader's size",
1249
+ "attribute": "size",
1250
+ "reflects": true
1309
1251
  },
1310
1252
  {
1311
1253
  "kind": "field",
1312
- "name": "svg",
1254
+ "name": "theme",
1313
1255
  "type": {
1314
- "text": "SVGElement | HTMLTemplateResult | null"
1256
+ "text": "'light' | 'dark'"
1315
1257
  },
1316
- "default": "null"
1258
+ "description": "The loader's theme, light or dark mode",
1259
+ "attribute": "theme",
1260
+ "reflects": true
1317
1261
  },
1318
1262
  {
1319
1263
  "kind": "field",
1320
- "name": "name",
1264
+ "name": "percent",
1321
1265
  "type": {
1322
- "text": "string | undefined"
1266
+ "text": "number"
1323
1267
  },
1324
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1325
- "attribute": "name",
1326
- "reflects": true
1268
+ "default": "0",
1269
+ "description": "The percent complete for the loader to display",
1270
+ "attribute": "percent"
1327
1271
  },
1328
1272
  {
1329
1273
  "kind": "field",
1330
- "name": "src",
1274
+ "name": "indeterminate",
1331
1275
  "type": {
1332
- "text": "string | undefined"
1276
+ "text": "boolean"
1333
1277
  },
1334
- "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.",
1335
- "attribute": "src"
1278
+ "default": "false",
1279
+ "description": "an indeterminate loader has an unknown progress and will show a spinner",
1280
+ "attribute": "indeterminate"
1336
1281
  },
1337
1282
  {
1338
1283
  "kind": "field",
@@ -1340,160 +1285,98 @@
1340
1285
  "type": {
1341
1286
  "text": "string"
1342
1287
  },
1343
- "default": "''",
1344
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1288
+ "default": "'Loading request'",
1289
+ "description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
1345
1290
  "attribute": "label"
1346
1291
  },
1347
1292
  {
1348
1293
  "kind": "field",
1349
- "name": "library",
1350
- "type": {
1351
- "text": "'default' | 'heroicons' | string"
1352
- },
1353
- "default": "'default'",
1354
- "description": "The name of a registered custom icon library.",
1355
- "attribute": "library",
1356
- "reflects": true
1357
- },
1358
- {
1359
- "kind": "field",
1360
- "name": "color",
1361
- "type": {
1362
- "text": "string | null"
1363
- },
1364
- "default": "null",
1365
- "description": "The CSS color to assign to the SVG.",
1366
- "attribute": "color"
1367
- },
1368
- {
1369
- "kind": "field",
1370
- "name": "fontSize",
1294
+ "name": "message",
1371
1295
  "type": {
1372
- "text": "string | null"
1296
+ "text": "string"
1373
1297
  },
1374
- "default": "null",
1375
- "description": "The CSS font-size to assign to the SVG.",
1376
- "attribute": "font-size"
1298
+ "default": "''",
1299
+ "description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
1300
+ "attribute": "message"
1377
1301
  },
1378
1302
  {
1379
1303
  "kind": "method",
1380
- "name": "#resolveIcon",
1381
- "return": {
1382
- "type": {
1383
- "text": "Promise<SVGResult>"
1384
- }
1385
- },
1304
+ "name": "formatPercent",
1386
1305
  "parameters": [
1387
1306
  {
1388
- "name": "url",
1307
+ "name": "percent",
1389
1308
  "type": {
1390
- "text": "string"
1309
+ "text": "number"
1391
1310
  }
1392
1311
  }
1393
- ],
1394
- "description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
1395
- },
1396
- {
1397
- "kind": "method",
1398
- "name": "#getIconSource",
1399
- "return": {
1400
- "type": {
1401
- "text": "IconSource"
1402
- }
1403
- }
1404
- },
1405
- {
1406
- "kind": "method",
1407
- "name": "#styleFromAttributes",
1408
- "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."
1409
- },
1410
- {
1411
- "kind": "method",
1412
- "name": "handleLabelChange"
1413
- },
1414
- {
1415
- "kind": "method",
1416
- "name": "setIcon"
1417
- }
1418
- ],
1419
- "events": [
1420
- {
1421
- "description": "Emitted when the icon has loaded.",
1422
- "name": "terra-load",
1423
- "reactName": "onTerraLoad",
1424
- "eventName": "TerraLoadEvent"
1425
- },
1426
- {
1427
- "description": "Emitted when the icon fails to load due to an error.",
1428
- "name": "terra-error",
1429
- "reactName": "onTerraError",
1430
- "eventName": "TerraErrorEvent"
1312
+ ]
1431
1313
  }
1432
1314
  ],
1433
1315
  "attributes": [
1434
1316
  {
1435
- "name": "name",
1317
+ "name": "size",
1436
1318
  "type": {
1437
- "text": "string | undefined"
1319
+ "text": "'small' | 'large'"
1438
1320
  },
1439
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1440
- "fieldName": "name"
1321
+ "default": "'large'",
1322
+ "description": "The loader's size",
1323
+ "fieldName": "size"
1441
1324
  },
1442
1325
  {
1443
- "name": "src",
1326
+ "name": "theme",
1444
1327
  "type": {
1445
- "text": "string | undefined"
1328
+ "text": "'light' | 'dark'"
1446
1329
  },
1447
- "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.",
1448
- "fieldName": "src"
1330
+ "description": "The loader's theme, light or dark mode",
1331
+ "fieldName": "theme"
1449
1332
  },
1450
1333
  {
1451
- "name": "label",
1334
+ "name": "percent",
1452
1335
  "type": {
1453
- "text": "string"
1336
+ "text": "number"
1454
1337
  },
1455
- "default": "''",
1456
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1457
- "fieldName": "label"
1338
+ "default": "0",
1339
+ "description": "The percent complete for the loader to display",
1340
+ "fieldName": "percent"
1458
1341
  },
1459
1342
  {
1460
- "name": "library",
1343
+ "name": "indeterminate",
1461
1344
  "type": {
1462
- "text": "'default' | 'heroicons' | string"
1345
+ "text": "boolean"
1463
1346
  },
1464
- "default": "'default'",
1465
- "description": "The name of a registered custom icon library.",
1466
- "fieldName": "library"
1347
+ "default": "false",
1348
+ "description": "an indeterminate loader has an unknown progress and will show a spinner",
1349
+ "fieldName": "indeterminate"
1467
1350
  },
1468
1351
  {
1469
- "name": "color",
1352
+ "name": "label",
1470
1353
  "type": {
1471
- "text": "string | null"
1354
+ "text": "string"
1472
1355
  },
1473
- "default": "null",
1474
- "description": "The CSS color to assign to the SVG.",
1475
- "fieldName": "color"
1356
+ "default": "'Loading request'",
1357
+ "description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
1358
+ "fieldName": "label"
1476
1359
  },
1477
1360
  {
1478
- "name": "font-size",
1361
+ "name": "message",
1479
1362
  "type": {
1480
- "text": "string | null"
1363
+ "text": "string"
1481
1364
  },
1482
- "default": "null",
1483
- "description": "The CSS font-size to assign to the SVG.",
1484
- "fieldName": "fontSize"
1365
+ "default": "''",
1366
+ "description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
1367
+ "fieldName": "message"
1485
1368
  }
1486
1369
  ],
1487
1370
  "superclass": {
1488
1371
  "name": "TerraElement",
1489
1372
  "module": "/src/internal/terra-element.js"
1490
1373
  },
1491
- "summary": "Icons are symbols that can be used to represent various options within an application.",
1492
- "tagNameWithoutPrefix": "icon",
1493
- "tagName": "terra-icon",
1374
+ "summary": "Loaders are used to indicate there is content that is loading.",
1375
+ "tagNameWithoutPrefix": "loader",
1376
+ "tagName": "terra-loader",
1494
1377
  "customElement": true,
1495
- "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 */",
1496
- "documentation": "https://disc.gsfc.nasa.gov/components/icon",
1378
+ "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 */",
1379
+ "documentation": "https://disc.gsfc.nasa.gov/components/loader",
1497
1380
  "status": "experimental",
1498
1381
  "since": "1.0"
1499
1382
  }
@@ -1503,26 +1386,86 @@
1503
1386
  "kind": "js",
1504
1387
  "name": "default",
1505
1388
  "declaration": {
1506
- "name": "TerraIcon",
1507
- "module": "components/icon/icon.js"
1389
+ "name": "TerraLoader",
1390
+ "module": "components/loader/loader.js"
1508
1391
  }
1509
1392
  }
1510
1393
  ]
1511
1394
  },
1512
1395
  {
1513
1396
  "kind": "javascript-module",
1514
- "path": "components/loader/loader.js",
1397
+ "path": "components/chip/chip.js",
1515
1398
  "declarations": [
1516
1399
  {
1517
1400
  "kind": "class",
1518
1401
  "description": "",
1519
- "name": "TerraLoader",
1520
- "cssProperties": [
1402
+ "name": "TerraChip",
1403
+ "slots": [
1521
1404
  {
1522
- "description": "An example CSS custom property.",
1523
- "name": "--example"
1405
+ "description": "The chip's label.",
1406
+ "name": ""
1407
+ }
1408
+ ],
1409
+ "members": [
1410
+ {
1411
+ "kind": "field",
1412
+ "name": "size",
1413
+ "type": {
1414
+ "text": "'small' | 'medium' | 'large'"
1415
+ },
1416
+ "default": "'medium'",
1417
+ "attribute": "size",
1418
+ "reflects": true
1419
+ },
1420
+ {
1421
+ "kind": "field",
1422
+ "name": "#handleRemoveClick",
1423
+ "privacy": "private"
1524
1424
  }
1525
1425
  ],
1426
+ "attributes": [
1427
+ {
1428
+ "name": "size",
1429
+ "type": {
1430
+ "text": "'small' | 'medium' | 'large'"
1431
+ },
1432
+ "default": "'medium'",
1433
+ "fieldName": "size"
1434
+ }
1435
+ ],
1436
+ "superclass": {
1437
+ "name": "TerraElement",
1438
+ "module": "/src/internal/terra-element.js"
1439
+ },
1440
+ "summary": "Used for contacts and tags",
1441
+ "tagNameWithoutPrefix": "chip",
1442
+ "tagName": "terra-chip",
1443
+ "customElement": true,
1444
+ "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 */",
1445
+ "documentation": "https://disc.gsfc.nasa.gov/components/chip",
1446
+ "status": "stable",
1447
+ "since": "1.0"
1448
+ }
1449
+ ],
1450
+ "exports": [
1451
+ {
1452
+ "kind": "js",
1453
+ "name": "default",
1454
+ "declaration": {
1455
+ "name": "TerraChip",
1456
+ "module": "components/chip/chip.js"
1457
+ }
1458
+ }
1459
+ ]
1460
+ },
1461
+ {
1462
+ "kind": "javascript-module",
1463
+ "path": "components/plot/plot.js",
1464
+ "declarations": [
1465
+ {
1466
+ "kind": "class",
1467
+ "description": "",
1468
+ "name": "TerraPlot",
1526
1469
  "cssParts": [
1527
1470
  {
1528
1471
  "description": "The component's base wrapper.",
@@ -1532,63 +1475,79 @@
1532
1475
  "members": [
1533
1476
  {
1534
1477
  "kind": "field",
1535
- "name": "size",
1478
+ "name": "plotData",
1536
1479
  "type": {
1537
- "text": "'small' | 'large'"
1480
+ "text": "Array<Plot>"
1538
1481
  },
1539
- "default": "'large'",
1540
- "description": "The loader's size",
1541
- "attribute": "size",
1542
- "reflects": true
1482
+ "default": "[]"
1543
1483
  },
1544
1484
  {
1545
1485
  "kind": "field",
1546
- "name": "theme",
1486
+ "name": "base",
1547
1487
  "type": {
1548
- "text": "'light' | 'dark'"
1488
+ "text": "HTMLElement"
1489
+ }
1490
+ },
1491
+ {
1492
+ "kind": "field",
1493
+ "name": "plotTitle",
1494
+ "type": {
1495
+ "text": "string | undefined"
1549
1496
  },
1550
- "description": "The loader's theme, light or dark mode",
1551
- "attribute": "theme",
1552
- "reflects": true
1497
+ "attribute": "plotTitle"
1553
1498
  },
1554
1499
  {
1555
1500
  "kind": "field",
1556
- "name": "percent",
1501
+ "name": "layout",
1557
1502
  "type": {
1558
- "text": "number"
1503
+ "text": "Partial<Layout> | undefined"
1559
1504
  },
1560
- "default": "0",
1561
- "description": "The percent complete for the loader to display",
1562
- "attribute": "percent"
1505
+ "default": "{}",
1506
+ "attribute": "layout"
1563
1507
  },
1564
1508
  {
1565
1509
  "kind": "field",
1566
- "name": "label",
1510
+ "name": "config",
1567
1511
  "type": {
1568
- "text": "string"
1512
+ "text": "Partial<Config> | undefined"
1569
1513
  },
1570
- "default": "'Loading request'",
1571
- "description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
1572
- "attribute": "label"
1514
+ "default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
1515
+ "attribute": "config"
1573
1516
  },
1574
1517
  {
1575
1518
  "kind": "field",
1576
- "name": "message",
1519
+ "name": "data",
1577
1520
  "type": {
1578
- "text": "string"
1521
+ "text": "Array<Partial<Data>>"
1579
1522
  },
1580
- "default": "''",
1581
- "description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
1582
- "attribute": "message"
1523
+ "default": "[]",
1524
+ "attribute": "data"
1583
1525
  },
1584
1526
  {
1585
1527
  "kind": "method",
1586
- "name": "formatPercent",
1528
+ "name": "handleDataChange"
1529
+ },
1530
+ {
1531
+ "kind": "method",
1532
+ "name": "updatePlotWithData"
1533
+ },
1534
+ {
1535
+ "kind": "method",
1536
+ "name": "downloadCSV"
1537
+ },
1538
+ {
1539
+ "kind": "method",
1540
+ "name": "convertToCSV",
1541
+ "return": {
1542
+ "type": {
1543
+ "text": "string"
1544
+ }
1545
+ },
1587
1546
  "parameters": [
1588
1547
  {
1589
- "name": "percent",
1548
+ "name": "data",
1590
1549
  "type": {
1591
- "text": "number"
1550
+ "text": "any[]"
1592
1551
  }
1593
1552
  }
1594
1553
  ]
@@ -1596,60 +1555,47 @@
1596
1555
  ],
1597
1556
  "attributes": [
1598
1557
  {
1599
- "name": "size",
1600
- "type": {
1601
- "text": "'small' | 'large'"
1602
- },
1603
- "default": "'large'",
1604
- "description": "The loader's size",
1605
- "fieldName": "size"
1606
- },
1607
- {
1608
- "name": "theme",
1558
+ "name": "plotTitle",
1609
1559
  "type": {
1610
- "text": "'light' | 'dark'"
1560
+ "text": "string | undefined"
1611
1561
  },
1612
- "description": "The loader's theme, light or dark mode",
1613
- "fieldName": "theme"
1562
+ "fieldName": "plotTitle"
1614
1563
  },
1615
1564
  {
1616
- "name": "percent",
1565
+ "name": "layout",
1617
1566
  "type": {
1618
- "text": "number"
1567
+ "text": "Partial<Layout> | undefined"
1619
1568
  },
1620
- "default": "0",
1621
- "description": "The percent complete for the loader to display",
1622
- "fieldName": "percent"
1569
+ "default": "{}",
1570
+ "fieldName": "layout"
1623
1571
  },
1624
1572
  {
1625
- "name": "label",
1573
+ "name": "config",
1626
1574
  "type": {
1627
- "text": "string"
1575
+ "text": "Partial<Config> | undefined"
1628
1576
  },
1629
- "default": "'Loading request'",
1630
- "description": "A label used by a screen reader which describes the loader element (e.g., \"Loading video of Tropical Storm Nepartak\")",
1631
- "fieldName": "label"
1577
+ "default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
1578
+ "fieldName": "config"
1632
1579
  },
1633
1580
  {
1634
- "name": "message",
1581
+ "name": "data",
1635
1582
  "type": {
1636
- "text": "string"
1583
+ "text": "Array<Partial<Data>>"
1637
1584
  },
1638
- "default": "''",
1639
- "description": "A message used by a screen reader to describe current value of loader element in a more human-understandable way (e.g, \"12% of 45MB\")",
1640
- "fieldName": "message"
1585
+ "default": "[]",
1586
+ "fieldName": "data"
1641
1587
  }
1642
1588
  ],
1643
1589
  "superclass": {
1644
1590
  "name": "TerraElement",
1645
1591
  "module": "/src/internal/terra-element.js"
1646
1592
  },
1647
- "summary": "Loaders are used to indicate there is content that is loading.",
1648
- "tagNameWithoutPrefix": "loader",
1649
- "tagName": "terra-loader",
1593
+ "summary": "A web component for interactive graphs using Plotly.js.",
1594
+ "tagNameWithoutPrefix": "plot",
1595
+ "tagName": "terra-plot",
1650
1596
  "customElement": true,
1651
- "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 */",
1652
- "documentation": "https://disc.gsfc.nasa.gov/components/loader",
1597
+ "jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
1598
+ "documentation": "https://disc.gsfc.nasa.gov/components/plot",
1653
1599
  "status": "experimental",
1654
1600
  "since": "1.0"
1655
1601
  }
@@ -1659,8 +1605,8 @@
1659
1605
  "kind": "js",
1660
1606
  "name": "default",
1661
1607
  "declaration": {
1662
- "name": "TerraLoader",
1663
- "module": "components/loader/loader.js"
1608
+ "name": "TerraPlot",
1609
+ "module": "components/plot/plot.js"
1664
1610
  }
1665
1611
  }
1666
1612
  ]
@@ -1794,88 +1740,314 @@
1794
1740
  },
1795
1741
  {
1796
1742
  "kind": "method",
1797
- "name": "#markDynamicLeafletContent"
1743
+ "name": "#markDynamicLeafletContent"
1744
+ },
1745
+ {
1746
+ "kind": "method",
1747
+ "name": "selectTemplate"
1748
+ }
1749
+ ],
1750
+ "attributes": [
1751
+ {
1752
+ "name": "min-zoom",
1753
+ "type": {
1754
+ "text": "number"
1755
+ },
1756
+ "default": "0",
1757
+ "description": "Minimum zoom level of the map.",
1758
+ "fieldName": "minZoom"
1759
+ },
1760
+ {
1761
+ "name": "max-zoom",
1762
+ "type": {
1763
+ "text": "number"
1764
+ },
1765
+ "default": "23",
1766
+ "description": "Maximum zoom level of the map.",
1767
+ "fieldName": "maxZoom"
1768
+ },
1769
+ {
1770
+ "name": "zoom",
1771
+ "type": {
1772
+ "text": "number"
1773
+ },
1774
+ "default": "1",
1775
+ "description": "Initial map zoom level",
1776
+ "fieldName": "zoom"
1777
+ },
1778
+ {
1779
+ "name": "has-navigation",
1780
+ "type": {
1781
+ "text": "boolean"
1782
+ },
1783
+ "default": "false",
1784
+ "description": "has map navigation toolbar",
1785
+ "fieldName": "hasNavigation"
1786
+ },
1787
+ {
1788
+ "name": "has-coord-tracker",
1789
+ "type": {
1790
+ "text": "boolean"
1791
+ },
1792
+ "default": "false",
1793
+ "description": "has coordinate tracker",
1794
+ "fieldName": "hasCoordTracker"
1795
+ },
1796
+ {
1797
+ "name": "has-shape-selector",
1798
+ "type": {
1799
+ "text": "boolean"
1800
+ },
1801
+ "default": "false",
1802
+ "description": "has shape selector",
1803
+ "fieldName": "hasShapeSelector"
1804
+ },
1805
+ {
1806
+ "name": "value",
1807
+ "type": {
1808
+ "text": "any"
1809
+ },
1810
+ "default": "[]",
1811
+ "fieldName": "value"
1812
+ }
1813
+ ],
1814
+ "superclass": {
1815
+ "name": "TerraElement",
1816
+ "module": "/src/internal/terra-element.js"
1817
+ },
1818
+ "summary": "A map component for visualizing and selecting coordinates.",
1819
+ "tagNameWithoutPrefix": "map",
1820
+ "tagName": "terra-map",
1821
+ "customElement": true,
1822
+ "jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
1823
+ "documentation": "https://disc.gsfc.nasa.gov/components/map",
1824
+ "status": "mvp",
1825
+ "since": "1.0"
1826
+ }
1827
+ ],
1828
+ "exports": [
1829
+ {
1830
+ "kind": "js",
1831
+ "name": "default",
1832
+ "declaration": {
1833
+ "name": "TerraMap",
1834
+ "module": "components/map/map.js"
1835
+ }
1836
+ }
1837
+ ]
1838
+ },
1839
+ {
1840
+ "kind": "javascript-module",
1841
+ "path": "components/icon/icon.js",
1842
+ "declarations": [
1843
+ {
1844
+ "kind": "class",
1845
+ "description": "",
1846
+ "name": "TerraIcon",
1847
+ "cssParts": [
1848
+ {
1849
+ "description": "The internal SVG element.",
1850
+ "name": "svg"
1851
+ }
1852
+ ],
1853
+ "members": [
1854
+ {
1855
+ "kind": "field",
1856
+ "name": "#initialRender",
1857
+ "privacy": "private",
1858
+ "type": {
1859
+ "text": "boolean"
1860
+ },
1861
+ "default": "false"
1862
+ },
1863
+ {
1864
+ "kind": "field",
1865
+ "name": "svg",
1866
+ "type": {
1867
+ "text": "SVGElement | HTMLTemplateResult | null"
1868
+ },
1869
+ "default": "null"
1870
+ },
1871
+ {
1872
+ "kind": "field",
1873
+ "name": "name",
1874
+ "type": {
1875
+ "text": "string | undefined"
1876
+ },
1877
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1878
+ "attribute": "name",
1879
+ "reflects": true
1880
+ },
1881
+ {
1882
+ "kind": "field",
1883
+ "name": "src",
1884
+ "type": {
1885
+ "text": "string | undefined"
1886
+ },
1887
+ "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.",
1888
+ "attribute": "src"
1889
+ },
1890
+ {
1891
+ "kind": "field",
1892
+ "name": "label",
1893
+ "type": {
1894
+ "text": "string"
1895
+ },
1896
+ "default": "''",
1897
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
1898
+ "attribute": "label"
1899
+ },
1900
+ {
1901
+ "kind": "field",
1902
+ "name": "library",
1903
+ "type": {
1904
+ "text": "'default' | 'heroicons' | string"
1905
+ },
1906
+ "default": "'default'",
1907
+ "description": "The name of a registered custom icon library.",
1908
+ "attribute": "library",
1909
+ "reflects": true
1910
+ },
1911
+ {
1912
+ "kind": "field",
1913
+ "name": "color",
1914
+ "type": {
1915
+ "text": "string | null"
1916
+ },
1917
+ "default": "null",
1918
+ "description": "The CSS color to assign to the SVG.",
1919
+ "attribute": "color"
1920
+ },
1921
+ {
1922
+ "kind": "field",
1923
+ "name": "fontSize",
1924
+ "type": {
1925
+ "text": "string | null"
1926
+ },
1927
+ "default": "null",
1928
+ "description": "The CSS font-size to assign to the SVG.",
1929
+ "attribute": "font-size"
1930
+ },
1931
+ {
1932
+ "kind": "method",
1933
+ "name": "#resolveIcon",
1934
+ "return": {
1935
+ "type": {
1936
+ "text": "Promise<SVGResult>"
1937
+ }
1938
+ },
1939
+ "parameters": [
1940
+ {
1941
+ "name": "url",
1942
+ "type": {
1943
+ "text": "string"
1944
+ }
1945
+ }
1946
+ ],
1947
+ "description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
1948
+ },
1949
+ {
1950
+ "kind": "method",
1951
+ "name": "#getIconSource",
1952
+ "return": {
1953
+ "type": {
1954
+ "text": "IconSource"
1955
+ }
1956
+ }
1957
+ },
1958
+ {
1959
+ "kind": "method",
1960
+ "name": "#styleFromAttributes",
1961
+ "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."
1962
+ },
1963
+ {
1964
+ "kind": "method",
1965
+ "name": "handleLabelChange"
1798
1966
  },
1799
1967
  {
1800
1968
  "kind": "method",
1801
- "name": "selectTemplate"
1969
+ "name": "setIcon"
1802
1970
  }
1803
1971
  ],
1804
- "attributes": [
1972
+ "events": [
1805
1973
  {
1806
- "name": "min-zoom",
1807
- "type": {
1808
- "text": "number"
1809
- },
1810
- "default": "0",
1811
- "description": "Minimum zoom level of the map.",
1812
- "fieldName": "minZoom"
1974
+ "description": "Emitted when the icon has loaded.",
1975
+ "name": "terra-load",
1976
+ "reactName": "onTerraLoad",
1977
+ "eventName": "TerraLoadEvent"
1813
1978
  },
1814
1979
  {
1815
- "name": "max-zoom",
1980
+ "description": "Emitted when the icon fails to load due to an error.",
1981
+ "name": "terra-error",
1982
+ "reactName": "onTerraError",
1983
+ "eventName": "TerraErrorEvent"
1984
+ }
1985
+ ],
1986
+ "attributes": [
1987
+ {
1988
+ "name": "name",
1816
1989
  "type": {
1817
- "text": "number"
1990
+ "text": "string | undefined"
1818
1991
  },
1819
- "default": "23",
1820
- "description": "Maximum zoom level of the map.",
1821
- "fieldName": "maxZoom"
1992
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
1993
+ "fieldName": "name"
1822
1994
  },
1823
1995
  {
1824
- "name": "zoom",
1996
+ "name": "src",
1825
1997
  "type": {
1826
- "text": "number"
1998
+ "text": "string | undefined"
1827
1999
  },
1828
- "default": "1",
1829
- "description": "Initial map zoom level",
1830
- "fieldName": "zoom"
2000
+ "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.",
2001
+ "fieldName": "src"
1831
2002
  },
1832
2003
  {
1833
- "name": "has-navigation",
2004
+ "name": "label",
1834
2005
  "type": {
1835
- "text": "boolean"
2006
+ "text": "string"
1836
2007
  },
1837
- "default": "false",
1838
- "description": "has map navigation toolbar",
1839
- "fieldName": "hasNavigation"
2008
+ "default": "''",
2009
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2010
+ "fieldName": "label"
1840
2011
  },
1841
2012
  {
1842
- "name": "has-coord-tracker",
2013
+ "name": "library",
1843
2014
  "type": {
1844
- "text": "boolean"
2015
+ "text": "'default' | 'heroicons' | string"
1845
2016
  },
1846
- "default": "false",
1847
- "description": "has coordinate tracker",
1848
- "fieldName": "hasCoordTracker"
2017
+ "default": "'default'",
2018
+ "description": "The name of a registered custom icon library.",
2019
+ "fieldName": "library"
1849
2020
  },
1850
2021
  {
1851
- "name": "has-shape-selector",
2022
+ "name": "color",
1852
2023
  "type": {
1853
- "text": "boolean"
2024
+ "text": "string | null"
1854
2025
  },
1855
- "default": "false",
1856
- "description": "has shape selector",
1857
- "fieldName": "hasShapeSelector"
2026
+ "default": "null",
2027
+ "description": "The CSS color to assign to the SVG.",
2028
+ "fieldName": "color"
1858
2029
  },
1859
2030
  {
1860
- "name": "value",
2031
+ "name": "font-size",
1861
2032
  "type": {
1862
- "text": "any"
2033
+ "text": "string | null"
1863
2034
  },
1864
- "default": "[]",
1865
- "fieldName": "value"
2035
+ "default": "null",
2036
+ "description": "The CSS font-size to assign to the SVG.",
2037
+ "fieldName": "fontSize"
1866
2038
  }
1867
2039
  ],
1868
2040
  "superclass": {
1869
2041
  "name": "TerraElement",
1870
2042
  "module": "/src/internal/terra-element.js"
1871
2043
  },
1872
- "summary": "A map component for visualizing and selecting coordinates.",
1873
- "tagNameWithoutPrefix": "map",
1874
- "tagName": "terra-map",
2044
+ "summary": "Icons are symbols that can be used to represent various options within an application.",
2045
+ "tagNameWithoutPrefix": "icon",
2046
+ "tagName": "terra-icon",
1875
2047
  "customElement": true,
1876
- "jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
1877
- "documentation": "https://disc.gsfc.nasa.gov/components/map",
1878
- "status": "mvp",
2048
+ "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 */",
2049
+ "documentation": "https://disc.gsfc.nasa.gov/components/icon",
2050
+ "status": "experimental",
1879
2051
  "since": "1.0"
1880
2052
  }
1881
2053
  ],
@@ -1884,8 +2056,8 @@
1884
2056
  "kind": "js",
1885
2057
  "name": "default",
1886
2058
  "declaration": {
1887
- "name": "TerraMap",
1888
- "module": "components/map/map.js"
2059
+ "name": "TerraIcon",
2060
+ "module": "components/icon/icon.js"
1889
2061
  }
1890
2062
  }
1891
2063
  ]
@@ -2172,159 +2344,6 @@
2172
2344
  }
2173
2345
  ]
2174
2346
  },
2175
- {
2176
- "kind": "javascript-module",
2177
- "path": "components/plot/plot.js",
2178
- "declarations": [
2179
- {
2180
- "kind": "class",
2181
- "description": "",
2182
- "name": "TerraPlot",
2183
- "cssParts": [
2184
- {
2185
- "description": "The component's base wrapper.",
2186
- "name": "base"
2187
- }
2188
- ],
2189
- "members": [
2190
- {
2191
- "kind": "field",
2192
- "name": "plotData",
2193
- "type": {
2194
- "text": "Array<Plot>"
2195
- },
2196
- "default": "[]"
2197
- },
2198
- {
2199
- "kind": "field",
2200
- "name": "base",
2201
- "type": {
2202
- "text": "HTMLElement"
2203
- }
2204
- },
2205
- {
2206
- "kind": "field",
2207
- "name": "plotTitle",
2208
- "type": {
2209
- "text": "string | undefined"
2210
- },
2211
- "attribute": "plotTitle"
2212
- },
2213
- {
2214
- "kind": "field",
2215
- "name": "layout",
2216
- "type": {
2217
- "text": "Partial<Layout> | undefined"
2218
- },
2219
- "default": "{}",
2220
- "attribute": "layout"
2221
- },
2222
- {
2223
- "kind": "field",
2224
- "name": "config",
2225
- "type": {
2226
- "text": "Partial<Config> | undefined"
2227
- },
2228
- "default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
2229
- "attribute": "config"
2230
- },
2231
- {
2232
- "kind": "field",
2233
- "name": "data",
2234
- "type": {
2235
- "text": "Array<Partial<Data>>"
2236
- },
2237
- "default": "[]",
2238
- "attribute": "data"
2239
- },
2240
- {
2241
- "kind": "method",
2242
- "name": "handleDataChange"
2243
- },
2244
- {
2245
- "kind": "method",
2246
- "name": "updatePlotWithData"
2247
- },
2248
- {
2249
- "kind": "method",
2250
- "name": "downloadCSV"
2251
- },
2252
- {
2253
- "kind": "method",
2254
- "name": "convertToCSV",
2255
- "return": {
2256
- "type": {
2257
- "text": "string"
2258
- }
2259
- },
2260
- "parameters": [
2261
- {
2262
- "name": "data",
2263
- "type": {
2264
- "text": "any[]"
2265
- }
2266
- }
2267
- ]
2268
- }
2269
- ],
2270
- "attributes": [
2271
- {
2272
- "name": "plotTitle",
2273
- "type": {
2274
- "text": "string | undefined"
2275
- },
2276
- "fieldName": "plotTitle"
2277
- },
2278
- {
2279
- "name": "layout",
2280
- "type": {
2281
- "text": "Partial<Layout> | undefined"
2282
- },
2283
- "default": "{}",
2284
- "fieldName": "layout"
2285
- },
2286
- {
2287
- "name": "config",
2288
- "type": {
2289
- "text": "Partial<Config> | undefined"
2290
- },
2291
- "default": "{\n modeBarButtonsToAdd: [\n {\n name: 'Download Data',\n title: 'Download plot data as a CSV file',\n icon: Icons.disk,\n click: () => {\n this.downloadCSV()\n },\n },\n ],\n }",
2292
- "fieldName": "config"
2293
- },
2294
- {
2295
- "name": "data",
2296
- "type": {
2297
- "text": "Array<Partial<Data>>"
2298
- },
2299
- "default": "[]",
2300
- "fieldName": "data"
2301
- }
2302
- ],
2303
- "superclass": {
2304
- "name": "TerraElement",
2305
- "module": "/src/internal/terra-element.js"
2306
- },
2307
- "summary": "A web component for interactive graphs using Plotly.js.",
2308
- "tagNameWithoutPrefix": "plot",
2309
- "tagName": "terra-plot",
2310
- "customElement": true,
2311
- "jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
2312
- "documentation": "https://disc.gsfc.nasa.gov/components/plot",
2313
- "status": "experimental",
2314
- "since": "1.0"
2315
- }
2316
- ],
2317
- "exports": [
2318
- {
2319
- "kind": "js",
2320
- "name": "default",
2321
- "declaration": {
2322
- "name": "TerraPlot",
2323
- "module": "components/plot/plot.js"
2324
- }
2325
- }
2326
- ]
2327
- },
2328
2347
  {
2329
2348
  "kind": "javascript-module",
2330
2349
  "path": "components/time-series/time-series.js",
@@ -2341,7 +2360,7 @@
2341
2360
  "text": "object"
2342
2361
  },
2343
2362
  "static": true,
2344
- "default": "{\n 'terra-plot': TerraPlot,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n }"
2363
+ "default": "{\n 'terra-plot': TerraPlot,\n 'terra-date-range-slider': TerraDateRangeSlider,\n 'terra-spatial-picker': TerraSpatialPicker,\n 'terra-variable-combobox': TerraVariableCombobox,\n 'terra-loader': TerraLoader,\n }"
2345
2364
  },
2346
2365
  {
2347
2366
  "kind": "field",
@@ -2602,6 +2621,11 @@
2602
2621
  }
2603
2622
  ],
2604
2623
  "description": "anytime the date range slider changes, update the start and end date"
2624
+ },
2625
+ {
2626
+ "kind": "method",
2627
+ "name": "#abortDataLoad",
2628
+ "description": "aborts the underlying data loading task, which cancels the network request"
2605
2629
  }
2606
2630
  ],
2607
2631
  "attributes": [
@@ -2662,12 +2686,14 @@
2662
2686
  "tagNameWithoutPrefix": "time-series",
2663
2687
  "tagName": "terra-time-series",
2664
2688
  "customElement": true,
2665
- "jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n */",
2689
+ "jsDoc": "/**\n * @summary A component for visualizing time series data using the GES DISC Giovanni API.\n * @documentation https://disc.gsfc.nasa.gov/components/time-series\n * @status mvp\n * @since 1.0\n *\n * @dependency terra-plot\n * @dependency terra-date-range-slider\n * @dependency terra-variable-combobox\n */",
2666
2690
  "documentation": "https://disc.gsfc.nasa.gov/components/time-series",
2667
2691
  "status": "mvp",
2668
2692
  "since": "1.0",
2669
2693
  "dependencies": [
2670
- "terra-plot"
2694
+ "terra-plot",
2695
+ "terra-date-range-slider",
2696
+ "terra-variable-combobox"
2671
2697
  ]
2672
2698
  }
2673
2699
  ],
@@ -3010,7 +3036,7 @@
3010
3036
  "package": {
3011
3037
  "name": "@nasa-terra/components",
3012
3038
  "description": "A collection of NASA Earthdata components",
3013
- "version": "0.0.2",
3039
+ "version": "0.0.3",
3014
3040
  "author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
3015
3041
  "homepage": "https://github.com/gesdisc/components",
3016
3042
  "license": "MIT"