@nasa-terra/components 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.B5J4WQKB.js → chunk.3DQE6EC4.js} +1 -1
- package/{dist/chunks/chunk.YQZGGNNN.js → cdn/chunks/chunk.3P27SYOG.js} +1 -1
- package/cdn/chunks/{chunk.HTUYQQLE.js → chunk.4E62DZYX.js} +1 -1
- package/cdn/chunks/{chunk.G53ULLWP.js → chunk.4HNPFNMQ.js} +1 -1
- package/{dist/chunks/chunk.BVZ6BCSV.js → cdn/chunks/chunk.4WKIEZXE.js} +1 -1
- package/cdn/chunks/{chunk.C5AJVZBT.js → chunk.4ZX7ORTO.js} +1 -1
- package/cdn/chunks/{chunk.ZOJY4R3F.js → chunk.5CPVH5F3.js} +1 -1
- package/cdn/chunks/{chunk.WSD4P6PM.js → chunk.6MDNZR4V.js} +1 -1
- package/cdn/chunks/{chunk.B64EYNSB.js → chunk.7HY4OBYI.js} +1 -1
- package/cdn/chunks/{chunk.DSNMSLRJ.js → chunk.BQSATKPB.js} +1 -1
- package/{dist/chunks/chunk.EX27KGSC.js → cdn/chunks/chunk.BVXGQDPN.js} +1 -1
- package/{dist/chunks/chunk.INKAME44.js → cdn/chunks/chunk.DWTK5MYZ.js} +1 -1
- package/cdn/chunks/{chunk.MH52S2BQ.js → chunk.ELL36UPQ.js} +1 -1
- package/cdn/chunks/{chunk.ZIW2AFPB.js → chunk.FE4LZIRQ.js} +1 -1
- package/cdn/chunks/{chunk.RSE4JMKH.js → chunk.FM4MQGJO.js} +1 -1
- package/cdn/chunks/{chunk.Q36J7UJR.js → chunk.HHAQDRUF.js} +4 -4
- package/cdn/chunks/{chunk.2WVF76TV.js → chunk.IVKUC625.js} +4 -4
- package/cdn/chunks/{chunk.JARTKLWQ.js → chunk.JNVVFMOW.js} +1 -1
- package/cdn/chunks/{chunk.S7JXREVP.js → chunk.JVGK2LSP.js} +1 -1
- package/cdn/chunks/{chunk.CJO3MSLD.js → chunk.KIEHEHU5.js} +1 -1
- package/{dist/chunks/chunk.7OTIFIB6.js → cdn/chunks/chunk.LKEGZGVG.js} +1 -1
- package/cdn/chunks/{chunk.3TJQSPCO.js → chunk.MF2HKAU4.js} +2 -2
- package/cdn/chunks/{chunk.W4YFSSJA.js → chunk.MONG7HZ2.js} +1 -1
- package/cdn/chunks/{chunk.SYDWA6SR.js → chunk.O7PHF5YQ.js} +1 -1
- package/cdn/chunks/{chunk.O3OEEKDD.js → chunk.OMXNKQ4J.js} +1 -1
- package/cdn/chunks/{chunk.2NGENIIQ.js → chunk.PRFLPVWE.js} +1 -1
- package/{dist/chunks/chunk.XZQ5SKKS.js → cdn/chunks/chunk.PUBZHQAC.js} +1 -1
- package/cdn/chunks/{chunk.VMJR3NY3.js → chunk.R7HPDUVG.js} +16 -16
- package/{dist/chunks/chunk.ELIOFNSV.js → cdn/chunks/chunk.RK3RN2ZT.js} +1 -1
- package/cdn/chunks/{chunk.OBA3V3EF.js → chunk.SO3ICKNN.js} +6 -6
- package/cdn/chunks/{chunk.WNIOPBJZ.js → chunk.THKQJO6O.js} +3 -3
- package/{dist/chunks/chunk.RRLNEUAD.js → cdn/chunks/chunk.TXKXHE4H.js} +1 -1
- package/cdn/chunks/{chunk.45YLM2ZQ.js → chunk.UCNQ6VQW.js} +1 -1
- package/cdn/chunks/{chunk.ONU6GP7E.js → chunk.UW6LOJ6N.js} +1 -1
- package/cdn/chunks/{chunk.K7CQFMEB.js → chunk.V6F6RIGR.js} +4 -4
- package/cdn/chunks/{chunk.S54ESGZR.js → chunk.VJ6ZCI4D.js} +1 -1
- package/cdn/chunks/{chunk.A6UC6XNE.js → chunk.W2LQTJ4D.js} +1 -1
- package/cdn/chunks/{chunk.RD6O4PVL.js → chunk.WIQDMQ3N.js} +8 -8
- package/{dist/chunks/chunk.ZU3TXQOD.js → cdn/chunks/chunk.WTF7QMVO.js} +1 -1
- package/{dist/chunks/chunk.56WQYJQO.js → cdn/chunks/chunk.XCPT3SXZ.js} +1 -1
- package/cdn/chunks/{chunk.ZRFNQNO6.js → chunk.XDHNIWRR.js} +6 -6
- package/{dist/chunks/chunk.XG56IFCT.js → cdn/chunks/chunk.XWB6UNPS.js} +1 -1
- package/cdn/chunks/{chunk.HN4H56T6.js → chunk.YS6QES3Y.js} +1 -1
- package/cdn/chunks/{chunk.UGRW6MQC.js → chunk.YWQI6MPW.js} +1 -1
- package/cdn/chunks/{chunk.ZNV27LZ4.js → chunk.ZB2DR3O2.js} +1 -1
- package/cdn/chunks/{chunk.WYPDOKK7.js → chunk.ZT7HCJ3E.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +14 -14
- package/cdn/components/browse-variables/browse-variables.js +15 -15
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/giovanni-search/giovanni-search.component.js +10 -10
- package/cdn/components/giovanni-search/giovanni-search.js +11 -11
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +12 -12
- package/cdn/components/login/login.js +13 -13
- package/cdn/components/map/map.component.js +3 -3
- package/cdn/components/map/map.js +4 -4
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +4 -4
- package/cdn/components/skeleton/skeleton.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +1 -1
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-series/time-series.component.js +21 -21
- package/cdn/components/time-series/time-series.js +22 -22
- package/cdn/components/variable-combobox/variable-combobox.component.js +11 -11
- package/cdn/components/variable-combobox/variable-combobox.js +12 -12
- package/cdn/custom-elements.json +335 -325
- package/cdn/events/events.d.ts +1 -1
- package/cdn/events/terra-map-change.d.ts +2 -2
- package/cdn/react/browse-variables/index.js +15 -15
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/giovanni-search/index.js +11 -11
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +2 -2
- package/cdn/react/index.js +55 -55
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -13
- package/cdn/react/map/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-series/index.js +22 -22
- package/cdn/react/variable-combobox/index.js +12 -12
- package/cdn/terra-ui-components.js +45 -45
- package/cdn/types/vue/index.d.ts +60 -60
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +41 -36
- package/cdn/web-types.json +100 -96
- package/dist/chunks/{chunk.BMCLVDJO.js → chunk.2HZ7PJE3.js} +1 -1
- package/dist/chunks/{chunk.BQ5JMKLP.js → chunk.2JBR7OBQ.js} +8 -8
- package/dist/chunks/{chunk.DMS3NE7R.js → chunk.5GIZ5MAH.js} +1 -1
- package/dist/chunks/{chunk.2IERLI5Y.js → chunk.6OEVAMVW.js} +1 -1
- package/{cdn/chunks/chunk.4ILCBMBZ.js → dist/chunks/chunk.7R56XKQT.js} +1 -1
- package/dist/chunks/{chunk.D7BXOGD4.js → chunk.AIJYX5JT.js} +1 -1
- package/dist/chunks/{chunk.VLCBG5GP.js → chunk.B5L7SVZ2.js} +3 -3
- package/{cdn/chunks/chunk.2YAUIYLZ.js → dist/chunks/chunk.BZ5KSGAC.js} +1 -1
- package/dist/chunks/{chunk.6LWDYMSR.js → chunk.CHRJKJOY.js} +1 -1
- package/dist/chunks/{chunk.TXOGHDVG.js → chunk.DCVIGXWU.js} +1 -1
- package/dist/chunks/{chunk.KPVIUTOB.js → chunk.DY5URCKM.js} +4 -4
- package/dist/chunks/{chunk.3CA5AVMX.js → chunk.EUQYVRUS.js} +1 -1
- package/{cdn/chunks/chunk.U27VGCOC.js → dist/chunks/chunk.FHHHEKTM.js} +1 -1
- package/dist/chunks/{chunk.VPONP33W.js → chunk.GDI2NWFW.js} +1 -1
- package/dist/chunks/{chunk.CQXBSVJZ.js → chunk.GY6V5GTO.js} +4 -4
- package/dist/chunks/{chunk.O333TR3A.js → chunk.IHSQ72OT.js} +1 -1
- package/{cdn/chunks/chunk.K56TNA3F.js → dist/chunks/chunk.J7UBLRCQ.js} +1 -1
- package/dist/chunks/{chunk.QPHVCWXJ.js → chunk.JJ4XNWII.js} +1 -1
- package/dist/chunks/{chunk.43VNOKKP.js → chunk.JZA56M32.js} +1 -1
- package/{cdn/chunks/chunk.C4UGJXIT.js → dist/chunks/chunk.KZO6I3HY.js} +1 -1
- package/dist/chunks/{chunk.NCSV5PNS.js → chunk.L5GVPYVK.js} +1 -1
- package/dist/chunks/{chunk.YYKD5NTK.js → chunk.LHX3WEK6.js} +1 -1
- package/dist/chunks/{chunk.EMPTRD6H.js → chunk.MSQDEKKY.js} +1 -1
- package/dist/chunks/{chunk.V2JRZ2YR.js → chunk.NPV7GXJO.js} +1 -1
- package/dist/chunks/{chunk.RFICNXCR.js → chunk.NXAUDHUK.js} +6 -6
- package/dist/chunks/{chunk.ANZ443PE.js → chunk.OHDG3PUV.js} +1 -1
- package/dist/chunks/{chunk.23ELHQVK.js → chunk.P2EJPIEH.js} +1 -1
- package/dist/chunks/{chunk.CK3BZ3TI.js → chunk.PA2TJH5D.js} +6 -6
- package/{cdn/chunks/chunk.EGD4UHPE.js → dist/chunks/chunk.PRHX6FHD.js} +1 -1
- package/dist/chunks/{chunk.CNXNNS7S.js → chunk.PVDILQEJ.js} +1 -1
- package/dist/chunks/{chunk.WXNK6NCY.js → chunk.ROL3YWUL.js} +1 -1
- package/{cdn/chunks/chunk.OBJ3FUF6.js → dist/chunks/chunk.S54WBWHC.js} +1 -1
- package/dist/chunks/{chunk.JHDGHY6A.js → chunk.SSZJ36DG.js} +1 -1
- package/{cdn/chunks/chunk.A37RXKQ2.js → dist/chunks/chunk.ST5YV3WI.js} +1 -1
- package/{cdn/chunks/chunk.NZ2RRIOD.js → dist/chunks/chunk.SU4ZAMIR.js} +1 -1
- package/dist/chunks/{chunk.FGXREN5P.js → chunk.SUDCEBND.js} +12 -12
- package/dist/chunks/{chunk.SQNWECTV.js → chunk.SX6YM322.js} +1 -1
- package/{cdn/chunks/chunk.ELEKMSGE.js → dist/chunks/chunk.TC6LKTAX.js} +1 -1
- package/dist/chunks/{chunk.BIOKUGO2.js → chunk.V2QP4H3G.js} +1 -1
- package/{cdn/chunks/chunk.FYNKKNEU.js → dist/chunks/chunk.VI4RAIBY.js} +1 -1
- package/dist/chunks/{chunk.E3TUNO76.js → chunk.XAVU4VO2.js} +1 -1
- package/dist/chunks/{chunk.BK73NLIQ.js → chunk.XFWWZ3NP.js} +1 -1
- package/dist/chunks/{chunk.KE6ZAPOV.js → chunk.XHJWVWUC.js} +1 -1
- package/dist/chunks/{chunk.UEEVFO7P.js → chunk.Z3MFZ3FR.js} +1 -1
- package/dist/chunks/{chunk.JES2XRWA.js → chunk.ZCAH5MS4.js} +1 -1
- package/dist/chunks/{chunk.RFKQAYBX.js → chunk.ZKCIZ7YJ.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/giovanni-search/giovanni-search.component.js +7 -7
- package/dist/components/giovanni-search/giovanni-search.js +8 -8
- package/dist/components/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +9 -9
- package/dist/components/login/login.js +10 -10
- package/dist/components/map/map.component.js +3 -3
- package/dist/components/map/map.js +4 -4
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +5 -5
- package/dist/components/spatial-picker/spatial-picker.js +6 -6
- package/dist/components/time-series/time-series.component.js +18 -18
- package/dist/components/time-series/time-series.js +19 -19
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/custom-elements.json +335 -325
- package/dist/events/events.d.ts +1 -1
- package/dist/events/terra-map-change.d.ts +2 -2
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/giovanni-search/index.js +8 -8
- package/dist/react/icon/index.js +4 -4
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +53 -53
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +4 -4
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +6 -6
- package/dist/react/time-series/index.js +19 -19
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/terra-ui-components.js +43 -43
- package/dist/{terra_ui_components-0.0.21-py3-none-any.whl → terra_ui_components-0.0.23-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.21.tar.gz → terra_ui_components-0.0.23.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +60 -60
- package/dist/vscode.html-custom-data.json +41 -36
- package/dist/web-types.json +100 -96
- package/package.json +1 -1
- package/cdn/chunks/{chunk.KBE5VCT6.js → chunk.HB56625V.js} +5 -5
package/cdn/custom-elements.json
CHANGED
|
@@ -1546,54 +1546,118 @@
|
|
|
1546
1546
|
},
|
|
1547
1547
|
{
|
|
1548
1548
|
"kind": "javascript-module",
|
|
1549
|
-
"path": "components/
|
|
1549
|
+
"path": "components/giovanni-search/giovanni-search.js",
|
|
1550
1550
|
"declarations": [
|
|
1551
1551
|
{
|
|
1552
1552
|
"kind": "class",
|
|
1553
1553
|
"description": "",
|
|
1554
|
-
"name": "
|
|
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": "
|
|
1558
|
-
"name": "
|
|
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": "
|
|
1586
|
+
"name": "dependencies",
|
|
1587
|
+
"type": {
|
|
1588
|
+
"text": "object"
|
|
1589
|
+
},
|
|
1590
|
+
"static": true,
|
|
1591
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"kind": "field",
|
|
1595
|
+
"name": "shadowRootOptions",
|
|
1596
|
+
"type": {
|
|
1597
|
+
"text": "object"
|
|
1598
|
+
},
|
|
1599
|
+
"static": true,
|
|
1600
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"kind": "field",
|
|
1604
|
+
"name": "tagName",
|
|
1605
|
+
"type": {
|
|
1606
|
+
"text": "string"
|
|
1607
|
+
},
|
|
1608
|
+
"static": true,
|
|
1609
|
+
"default": "'terra-giovanni-search'"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"kind": "field",
|
|
1613
|
+
"name": "initialQuery",
|
|
1614
|
+
"type": {
|
|
1615
|
+
"text": "string"
|
|
1616
|
+
},
|
|
1617
|
+
"static": true,
|
|
1618
|
+
"default": "''"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "field",
|
|
1622
|
+
"name": "#combobox",
|
|
1565
1623
|
"privacy": "private",
|
|
1566
1624
|
"type": {
|
|
1567
|
-
"text": "
|
|
1625
|
+
"text": "HTMLInputElement | null"
|
|
1568
1626
|
},
|
|
1569
|
-
"default": "
|
|
1627
|
+
"default": "null"
|
|
1570
1628
|
},
|
|
1571
1629
|
{
|
|
1572
1630
|
"kind": "field",
|
|
1573
|
-
"name": "
|
|
1631
|
+
"name": "#fetchController",
|
|
1632
|
+
"privacy": "private",
|
|
1633
|
+
"default": "new FetchController(this)"
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"kind": "field",
|
|
1637
|
+
"name": "#listbox",
|
|
1638
|
+
"privacy": "private",
|
|
1574
1639
|
"type": {
|
|
1575
|
-
"text": "
|
|
1640
|
+
"text": "HTMLUListElement | null"
|
|
1576
1641
|
},
|
|
1577
1642
|
"default": "null"
|
|
1578
1643
|
},
|
|
1579
1644
|
{
|
|
1580
1645
|
"kind": "field",
|
|
1581
|
-
"name": "
|
|
1646
|
+
"name": "#searchEngine",
|
|
1647
|
+
"privacy": "private",
|
|
1582
1648
|
"type": {
|
|
1583
|
-
"text": "
|
|
1649
|
+
"text": "Fuse<ListItem> | null"
|
|
1584
1650
|
},
|
|
1585
|
-
"
|
|
1586
|
-
"attribute": "name",
|
|
1587
|
-
"reflects": true
|
|
1651
|
+
"default": "null"
|
|
1588
1652
|
},
|
|
1589
1653
|
{
|
|
1590
1654
|
"kind": "field",
|
|
1591
|
-
"name": "
|
|
1655
|
+
"name": "#walker",
|
|
1656
|
+
"privacy": "private",
|
|
1592
1657
|
"type": {
|
|
1593
|
-
"text": "
|
|
1658
|
+
"text": "TreeWalker | null"
|
|
1594
1659
|
},
|
|
1595
|
-
"
|
|
1596
|
-
"attribute": "src"
|
|
1660
|
+
"default": "null"
|
|
1597
1661
|
},
|
|
1598
1662
|
{
|
|
1599
1663
|
"kind": "field",
|
|
@@ -1601,161 +1665,209 @@
|
|
|
1601
1665
|
"type": {
|
|
1602
1666
|
"text": "string"
|
|
1603
1667
|
},
|
|
1604
|
-
"default": "''",
|
|
1605
|
-
"description": "
|
|
1668
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1669
|
+
"description": "Label the combobox with this.",
|
|
1606
1670
|
"attribute": "label"
|
|
1607
1671
|
},
|
|
1608
1672
|
{
|
|
1609
1673
|
"kind": "field",
|
|
1610
|
-
"name": "
|
|
1674
|
+
"name": "placeholder",
|
|
1611
1675
|
"type": {
|
|
1612
|
-
"text": "
|
|
1676
|
+
"text": "string"
|
|
1613
1677
|
},
|
|
1614
|
-
"
|
|
1615
|
-
"
|
|
1616
|
-
"attribute": "library",
|
|
1617
|
-
"reflects": true
|
|
1678
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1679
|
+
"attribute": "placeholder"
|
|
1618
1680
|
},
|
|
1619
1681
|
{
|
|
1620
1682
|
"kind": "field",
|
|
1621
|
-
"name": "
|
|
1683
|
+
"name": "hideLabel",
|
|
1622
1684
|
"type": {
|
|
1623
|
-
"text": "
|
|
1685
|
+
"text": "boolean"
|
|
1624
1686
|
},
|
|
1625
|
-
"default": "
|
|
1626
|
-
"description": "
|
|
1627
|
-
"attribute": "
|
|
1687
|
+
"default": "true",
|
|
1688
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1689
|
+
"attribute": "hide-label"
|
|
1628
1690
|
},
|
|
1629
1691
|
{
|
|
1630
1692
|
"kind": "field",
|
|
1631
|
-
"name": "
|
|
1693
|
+
"name": "searchConfig",
|
|
1632
1694
|
"type": {
|
|
1633
|
-
"text": "
|
|
1695
|
+
"text": "object"
|
|
1634
1696
|
},
|
|
1635
|
-
"default": "
|
|
1636
|
-
"description": "
|
|
1637
|
-
"attribute": "
|
|
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"
|
|
1638
1700
|
},
|
|
1639
1701
|
{
|
|
1640
|
-
"kind": "
|
|
1641
|
-
"name": "
|
|
1642
|
-
"
|
|
1643
|
-
"
|
|
1644
|
-
|
|
1645
|
-
|
|
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"
|
|
1646
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",
|
|
1647
1732
|
"parameters": [
|
|
1648
1733
|
{
|
|
1649
|
-
"name": "
|
|
1734
|
+
"name": "_oldValue",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "string"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"name": "newValue",
|
|
1650
1741
|
"type": {
|
|
1651
1742
|
"text": "string"
|
|
1652
1743
|
}
|
|
1653
1744
|
}
|
|
1654
|
-
]
|
|
1655
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
1745
|
+
]
|
|
1656
1746
|
},
|
|
1657
1747
|
{
|
|
1658
1748
|
"kind": "method",
|
|
1659
|
-
"name": "
|
|
1660
|
-
"return": {
|
|
1661
|
-
"type": {
|
|
1662
|
-
"text": "IconSource"
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1749
|
+
"name": "clear"
|
|
1665
1750
|
},
|
|
1666
1751
|
{
|
|
1667
1752
|
"kind": "method",
|
|
1668
|
-
"name": "
|
|
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."
|
|
1753
|
+
"name": "close"
|
|
1670
1754
|
},
|
|
1671
1755
|
{
|
|
1672
1756
|
"kind": "method",
|
|
1673
|
-
"name": "
|
|
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"
|
|
1674
1788
|
},
|
|
1675
1789
|
{
|
|
1676
1790
|
"kind": "method",
|
|
1677
|
-
"name": "
|
|
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
|
|
1683
|
-
"name": "terra-
|
|
1684
|
-
"reactName": "
|
|
1685
|
-
"eventName": "
|
|
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
|
|
1689
|
-
"name": "terra-
|
|
1690
|
-
"reactName": "
|
|
1691
|
-
"eventName": "
|
|
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": "
|
|
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
|
|
1820
|
+
"text": "string"
|
|
1707
1821
|
},
|
|
1708
|
-
"
|
|
1709
|
-
"
|
|
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": "
|
|
1827
|
+
"name": "placeholder",
|
|
1713
1828
|
"type": {
|
|
1714
1829
|
"text": "string"
|
|
1715
1830
|
},
|
|
1716
|
-
"
|
|
1717
|
-
"
|
|
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": "
|
|
1835
|
+
"name": "hide-label",
|
|
1722
1836
|
"type": {
|
|
1723
|
-
"text": "
|
|
1837
|
+
"text": "boolean"
|
|
1724
1838
|
},
|
|
1725
|
-
"default": "
|
|
1726
|
-
"description": "
|
|
1727
|
-
"fieldName": "
|
|
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": "
|
|
1844
|
+
"name": "searchConfig",
|
|
1731
1845
|
"type": {
|
|
1732
|
-
"text": "
|
|
1846
|
+
"text": "object"
|
|
1733
1847
|
},
|
|
1734
|
-
"default": "
|
|
1735
|
-
"description": "
|
|
1736
|
-
"fieldName": "
|
|
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": "
|
|
1853
|
+
"name": "value",
|
|
1740
1854
|
"type": {
|
|
1741
|
-
"text": "string
|
|
1855
|
+
"text": "string"
|
|
1742
1856
|
},
|
|
1743
|
-
"
|
|
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": "
|
|
1753
|
-
"tagNameWithoutPrefix": "
|
|
1754
|
-
"tagName": "terra-
|
|
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
|
|
1757
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1758
|
-
"status": "
|
|
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": "
|
|
1768
|
-
"module": "components/
|
|
1879
|
+
"name": "TerraGiovanniSearch",
|
|
1880
|
+
"module": "components/giovanni-search/giovanni-search.js"
|
|
1769
1881
|
}
|
|
1770
1882
|
}
|
|
1771
1883
|
]
|
|
@@ -1899,328 +2011,216 @@
|
|
|
1899
2011
|
},
|
|
1900
2012
|
{
|
|
1901
2013
|
"kind": "javascript-module",
|
|
1902
|
-
"path": "components/
|
|
2014
|
+
"path": "components/icon/icon.js",
|
|
1903
2015
|
"declarations": [
|
|
1904
2016
|
{
|
|
1905
2017
|
"kind": "class",
|
|
1906
2018
|
"description": "",
|
|
1907
|
-
"name": "
|
|
1908
|
-
"
|
|
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
|
-
],
|
|
1918
|
-
"cssParts": [
|
|
1919
|
-
{
|
|
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"
|
|
1934
|
-
}
|
|
1935
|
-
],
|
|
1936
|
-
"members": [
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "field",
|
|
1939
|
-
"name": "dependencies",
|
|
1940
|
-
"type": {
|
|
1941
|
-
"text": "object"
|
|
1942
|
-
},
|
|
1943
|
-
"static": true,
|
|
1944
|
-
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"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
|
-
},
|
|
2019
|
+
"name": "TerraIcon",
|
|
2020
|
+
"cssParts": [
|
|
1988
2021
|
{
|
|
1989
|
-
"
|
|
1990
|
-
"name": "
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
},
|
|
1995
|
-
"default": "null"
|
|
1996
|
-
},
|
|
2022
|
+
"description": "The internal SVG element.",
|
|
2023
|
+
"name": "svg"
|
|
2024
|
+
}
|
|
2025
|
+
],
|
|
2026
|
+
"members": [
|
|
1997
2027
|
{
|
|
1998
2028
|
"kind": "field",
|
|
1999
|
-
"name": "#
|
|
2029
|
+
"name": "#initialRender",
|
|
2000
2030
|
"privacy": "private",
|
|
2001
2031
|
"type": {
|
|
2002
|
-
"text": "
|
|
2032
|
+
"text": "boolean"
|
|
2003
2033
|
},
|
|
2004
|
-
"default": "
|
|
2034
|
+
"default": "false"
|
|
2005
2035
|
},
|
|
2006
2036
|
{
|
|
2007
2037
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"privacy": "private",
|
|
2038
|
+
"name": "svg",
|
|
2010
2039
|
"type": {
|
|
2011
|
-
"text": "
|
|
2040
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
2012
2041
|
},
|
|
2013
2042
|
"default": "null"
|
|
2014
2043
|
},
|
|
2015
2044
|
{
|
|
2016
2045
|
"kind": "field",
|
|
2017
|
-
"name": "
|
|
2018
|
-
"type": {
|
|
2019
|
-
"text": "string"
|
|
2020
|
-
},
|
|
2021
|
-
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
2022
|
-
"description": "Label the combobox with this.",
|
|
2023
|
-
"attribute": "label"
|
|
2024
|
-
},
|
|
2025
|
-
{
|
|
2026
|
-
"kind": "field",
|
|
2027
|
-
"name": "placeholder",
|
|
2046
|
+
"name": "name",
|
|
2028
2047
|
"type": {
|
|
2029
|
-
"text": "string"
|
|
2048
|
+
"text": "string | undefined"
|
|
2030
2049
|
},
|
|
2031
|
-
"description": "
|
|
2032
|
-
"attribute": "
|
|
2050
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2051
|
+
"attribute": "name",
|
|
2052
|
+
"reflects": true
|
|
2033
2053
|
},
|
|
2034
2054
|
{
|
|
2035
2055
|
"kind": "field",
|
|
2036
|
-
"name": "
|
|
2056
|
+
"name": "src",
|
|
2037
2057
|
"type": {
|
|
2038
|
-
"text": "
|
|
2058
|
+
"text": "string | undefined"
|
|
2039
2059
|
},
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2042
|
-
"attribute": "hide-label"
|
|
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"
|
|
2043
2062
|
},
|
|
2044
2063
|
{
|
|
2045
2064
|
"kind": "field",
|
|
2046
|
-
"name": "
|
|
2065
|
+
"name": "label",
|
|
2047
2066
|
"type": {
|
|
2048
|
-
"text": "
|
|
2067
|
+
"text": "string"
|
|
2049
2068
|
},
|
|
2050
|
-
"default": "
|
|
2051
|
-
"description": "
|
|
2052
|
-
"attribute": "
|
|
2069
|
+
"default": "''",
|
|
2070
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2071
|
+
"attribute": "label"
|
|
2053
2072
|
},
|
|
2054
2073
|
{
|
|
2055
2074
|
"kind": "field",
|
|
2056
|
-
"name": "
|
|
2075
|
+
"name": "library",
|
|
2057
2076
|
"type": {
|
|
2058
|
-
"text": "string"
|
|
2077
|
+
"text": "'default' | 'heroicons' | string"
|
|
2059
2078
|
},
|
|
2060
|
-
"
|
|
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": "
|
|
2086
|
+
"name": "color",
|
|
2065
2087
|
"type": {
|
|
2066
|
-
"text": "
|
|
2088
|
+
"text": "string | null"
|
|
2067
2089
|
},
|
|
2068
|
-
"default": "
|
|
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": "
|
|
2096
|
+
"name": "fontSize",
|
|
2077
2097
|
"type": {
|
|
2078
|
-
"text": "
|
|
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": "
|
|
2106
|
+
"name": "#resolveIcon",
|
|
2107
|
+
"return": {
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "Promise<SVGResult>"
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2085
2112
|
"parameters": [
|
|
2086
2113
|
{
|
|
2087
|
-
"name": "
|
|
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": "
|
|
2124
|
+
"name": "#getIconSource",
|
|
2125
|
+
"return": {
|
|
2126
|
+
"type": {
|
|
2127
|
+
"text": "IconSource"
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2103
2130
|
},
|
|
2104
2131
|
{
|
|
2105
2132
|
"kind": "method",
|
|
2106
|
-
"name": "
|
|
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": "
|
|
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": "
|
|
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
|
|
2158
|
-
"name": "terra-
|
|
2159
|
-
"reactName": "
|
|
2160
|
-
"eventName": "
|
|
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
|
|
2164
|
-
"name": "terra-
|
|
2165
|
-
"reactName": "
|
|
2166
|
-
"eventName": "
|
|
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": "
|
|
2161
|
+
"name": "name",
|
|
2172
2162
|
"type": {
|
|
2173
|
-
"text": "string"
|
|
2163
|
+
"text": "string | undefined"
|
|
2174
2164
|
},
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
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": "
|
|
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
|
-
"
|
|
2185
|
-
"
|
|
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": "
|
|
2186
|
+
"name": "library",
|
|
2189
2187
|
"type": {
|
|
2190
|
-
"text": "
|
|
2188
|
+
"text": "'default' | 'heroicons' | string"
|
|
2191
2189
|
},
|
|
2192
|
-
"default": "
|
|
2193
|
-
"description": "
|
|
2194
|
-
"fieldName": "
|
|
2190
|
+
"default": "'default'",
|
|
2191
|
+
"description": "The name of a registered custom icon library.",
|
|
2192
|
+
"fieldName": "library"
|
|
2195
2193
|
},
|
|
2196
2194
|
{
|
|
2197
|
-
"name": "
|
|
2195
|
+
"name": "color",
|
|
2198
2196
|
"type": {
|
|
2199
|
-
"text": "
|
|
2197
|
+
"text": "string | null"
|
|
2200
2198
|
},
|
|
2201
|
-
"default": "
|
|
2202
|
-
"description": "
|
|
2203
|
-
"fieldName": "
|
|
2199
|
+
"default": "null",
|
|
2200
|
+
"description": "The CSS color to assign to the SVG.",
|
|
2201
|
+
"fieldName": "color"
|
|
2204
2202
|
},
|
|
2205
2203
|
{
|
|
2206
|
-
"name": "
|
|
2204
|
+
"name": "font-size",
|
|
2207
2205
|
"type": {
|
|
2208
|
-
"text": "string"
|
|
2206
|
+
"text": "string | null"
|
|
2209
2207
|
},
|
|
2210
|
-
"
|
|
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": "
|
|
2218
|
-
"tagNameWithoutPrefix": "
|
|
2219
|
-
"tagName": "terra-
|
|
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
|
|
2222
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2223
|
-
"status": "
|
|
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": "
|
|
2233
|
-
"module": "components/
|
|
2232
|
+
"name": "TerraIcon",
|
|
2233
|
+
"module": "components/icon/icon.js"
|
|
2234
2234
|
}
|
|
2235
2235
|
}
|
|
2236
2236
|
]
|
|
@@ -2947,7 +2947,9 @@
|
|
|
2947
2947
|
"type": {
|
|
2948
2948
|
"text": "boolean"
|
|
2949
2949
|
},
|
|
2950
|
-
"default": "false"
|
|
2950
|
+
"default": "false",
|
|
2951
|
+
"attribute": "is-expanded",
|
|
2952
|
+
"reflects": true
|
|
2951
2953
|
},
|
|
2952
2954
|
{
|
|
2953
2955
|
"kind": "field",
|
|
@@ -3088,6 +3090,14 @@
|
|
|
3088
3090
|
"default": "'Select Region'",
|
|
3089
3091
|
"description": "spatial picker label",
|
|
3090
3092
|
"fieldName": "label"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"name": "is-expanded",
|
|
3096
|
+
"type": {
|
|
3097
|
+
"text": "boolean"
|
|
3098
|
+
},
|
|
3099
|
+
"default": "false",
|
|
3100
|
+
"fieldName": "isExpanded"
|
|
3091
3101
|
}
|
|
3092
3102
|
],
|
|
3093
3103
|
"superclass": {
|
|
@@ -3994,7 +4004,7 @@
|
|
|
3994
4004
|
"package": {
|
|
3995
4005
|
"name": "@nasa-terra/components",
|
|
3996
4006
|
"description": "A collection of NASA Earthdata components",
|
|
3997
|
-
"version": "0.0.
|
|
4007
|
+
"version": "0.0.23",
|
|
3998
4008
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
3999
4009
|
"homepage": "https://github.com/gesdisc/components",
|
|
4000
4010
|
"license": "MIT"
|