@nasa-terra/components 0.0.6 → 0.0.7

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 (157) hide show
  1. package/cdn/chunks/{chunk.QPQHBWAF.js → chunk.2BF5ZHP6.js} +6 -6
  2. package/cdn/chunks/{chunk.SNUKWHYN.js → chunk.2MYFC7LM.js} +1 -1
  3. package/cdn/chunks/{chunk.ULMZXS76.js → chunk.4OMMI4NC.js} +1 -1
  4. package/cdn/chunks/{chunk.WWGF3RBK.js → chunk.5EDEDCDT.js} +13 -13
  5. package/cdn/chunks/{chunk.CPWV245H.js → chunk.5M6EGBKK.js} +1 -1
  6. package/cdn/chunks/{chunk.MKZRXFCD.js → chunk.6TG7HJRE.js} +4 -4
  7. package/cdn/chunks/{chunk.FWJJZ2ZQ.js → chunk.6TP5NQZR.js} +4 -4
  8. package/cdn/chunks/{chunk.O5NKXUCH.js → chunk.7R2BPQLY.js} +6 -2
  9. package/cdn/chunks/{chunk.VW5NONMW.js → chunk.7VBMSUOT.js} +1 -1
  10. package/{dist/chunks/chunk.GDRDMRMU.js → cdn/chunks/chunk.AG72D4AT.js} +1 -1
  11. package/cdn/chunks/{chunk.SEEOXT2D.js → chunk.BX66TSQY.js} +1 -1
  12. package/cdn/chunks/{chunk.Y26ZLER4.js → chunk.CDPMV7DB.js} +1 -1
  13. package/cdn/chunks/{chunk.7FIHTIPY.js → chunk.CGUXXQTT.js} +1 -1
  14. package/{dist/chunks/chunk.B2MTCB5H.js → cdn/chunks/chunk.CLFLLHS3.js} +1 -1
  15. package/cdn/chunks/{chunk.OGR23FON.js → chunk.CPNLKTGF.js} +1 -1
  16. package/cdn/chunks/{chunk.VVTXWY2S.js → chunk.DSTVDF3E.js} +1 -1
  17. package/cdn/chunks/{chunk.747YKR2J.js → chunk.FDOXEWGR.js} +1 -1
  18. package/cdn/chunks/{chunk.OP466O5Y.js → chunk.GCC4YOMG.js} +1 -1
  19. package/cdn/chunks/{chunk.RXU6DWRU.js → chunk.GMWFNQ7Q.js} +4 -4
  20. package/{dist/chunks/chunk.DLLADX3X.js → cdn/chunks/chunk.IKYLG6LM.js} +1 -1
  21. package/cdn/chunks/{chunk.7KR5SCX3.js → chunk.L4ODCAGX.js} +1 -1
  22. package/{dist/chunks/chunk.YMQ4KDTV.js → cdn/chunks/chunk.LNNGJCX4.js} +1 -1
  23. package/cdn/chunks/{chunk.EKFTCQIZ.js → chunk.LO2CROCV.js} +1 -1
  24. package/{dist/chunks/chunk.ELWOQ6AA.js → cdn/chunks/chunk.MCDYUBW2.js} +1 -1
  25. package/{dist/chunks/chunk.NZBZKDMB.js → cdn/chunks/chunk.NFSGAK6D.js} +1 -1
  26. package/cdn/chunks/{chunk.CJZBZADJ.js → chunk.P3N5PW3F.js} +4 -4
  27. package/{dist/chunks/chunk.RIPCW4LZ.js → cdn/chunks/chunk.RZV7PTZZ.js} +1 -1
  28. package/{dist/chunks/chunk.D7XP7XXA.js → cdn/chunks/chunk.SVBGCTUY.js} +1 -1
  29. package/cdn/chunks/{chunk.H2SFUFU3.js → chunk.THBBULDA.js} +1 -1
  30. package/cdn/chunks/{chunk.M77HV6VG.js → chunk.UBYAPUL3.js} +5 -5
  31. package/cdn/chunks/{chunk.EEFNHKM3.js → chunk.URIOYHEA.js} +1 -1
  32. package/cdn/chunks/{chunk.M5OJ3HWZ.js → chunk.UUZHIWQZ.js} +7 -7
  33. package/cdn/chunks/{chunk.UBUBPE2C.js → chunk.WY4A6BXW.js} +1 -1
  34. package/{dist/chunks/chunk.NYAG4XKO.js → cdn/chunks/chunk.XAVEBGFY.js} +1 -1
  35. package/{dist/chunks/chunk.7NBRSNIF.js → cdn/chunks/chunk.ZMTQ4YE2.js} +1 -1
  36. package/cdn/components/button/button.component.js +3 -3
  37. package/cdn/components/button/button.js +4 -4
  38. package/cdn/components/chip/chip.component.js +3 -3
  39. package/cdn/components/chip/chip.js +4 -4
  40. package/cdn/components/combobox/combobox.component.js +3 -3
  41. package/cdn/components/combobox/combobox.js +4 -4
  42. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  43. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  44. package/cdn/components/icon/icon.component.js +3 -3
  45. package/cdn/components/icon/icon.js +4 -4
  46. package/cdn/components/loader/loader.component.js +2 -2
  47. package/cdn/components/loader/loader.js +3 -3
  48. package/cdn/components/map/map.component.js +4 -4
  49. package/cdn/components/map/map.js +5 -5
  50. package/cdn/components/plot/plot.component.js +2 -2
  51. package/cdn/components/plot/plot.js +3 -3
  52. package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
  53. package/cdn/components/spatial-picker/spatial-picker.js +7 -7
  54. package/cdn/components/time-series/time-series.component.js +33 -33
  55. package/cdn/components/time-series/time-series.controller.js +1 -1
  56. package/cdn/components/time-series/time-series.js +34 -34
  57. package/cdn/components/variable-combobox/variable-combobox.component.js +13 -13
  58. package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
  59. package/cdn/components/variable-combobox/variable-combobox.js +14 -14
  60. package/cdn/custom-elements.json +850 -850
  61. package/cdn/react/button/index.js +4 -4
  62. package/cdn/react/chip/index.js +4 -4
  63. package/cdn/react/combobox/index.js +4 -4
  64. package/cdn/react/date-range-slider/index.js +4 -4
  65. package/cdn/react/icon/index.js +4 -4
  66. package/cdn/react/index.d.ts +3 -3
  67. package/cdn/react/index.js +56 -56
  68. package/cdn/react/loader/index.js +3 -3
  69. package/cdn/react/map/index.js +5 -5
  70. package/cdn/react/plot/index.js +3 -3
  71. package/cdn/react/spatial-picker/index.js +7 -7
  72. package/cdn/react/time-series/index.js +34 -34
  73. package/cdn/react/variable-combobox/index.js +14 -14
  74. package/cdn/terra-ui-components.js +61 -61
  75. package/cdn/types/vue/index.d.ts +116 -116
  76. package/cdn/utilities/animation.js +3 -3
  77. package/cdn/vscode.html-custom-data.json +112 -112
  78. package/cdn/web-types.json +224 -224
  79. package/{cdn/chunks/chunk.ADGXHFTR.js → dist/chunks/chunk.33I7MBZO.js} +1 -1
  80. package/dist/chunks/{chunk.H32ZL2W2.js → chunk.4EEBFDHS.js} +1 -1
  81. package/dist/chunks/{chunk.YCC37YOJ.js → chunk.52JSYSOV.js} +6 -2
  82. package/{cdn/chunks/chunk.HUJ7CIC7.js → dist/chunks/chunk.6EFMX2ZD.js} +1 -1
  83. package/dist/chunks/{chunk.5YH3ZJUT.js → chunk.7C4FMTCE.js} +1 -1
  84. package/dist/chunks/{chunk.H4MAKR24.js → chunk.7I7C7JJF.js} +1 -1
  85. package/dist/chunks/{chunk.OFSIGYWI.js → chunk.7LODXAV5.js} +1 -1
  86. package/dist/chunks/{chunk.USXQP5U6.js → chunk.C5OZDL3F.js} +4 -4
  87. package/dist/chunks/{chunk.FHIIPJW6.js → chunk.CM3WMTBC.js} +1 -1
  88. package/{cdn/chunks/chunk.EJHNYX5L.js → dist/chunks/chunk.CNBF6GCR.js} +1 -1
  89. package/dist/chunks/{chunk.FEABKBW6.js → chunk.EYUPYDT4.js} +1 -1
  90. package/dist/chunks/{chunk.WHSMHOPB.js → chunk.FFZEV52Q.js} +5 -5
  91. package/dist/chunks/{chunk.PSVGC3Y5.js → chunk.FYST4D4G.js} +1 -1
  92. package/dist/chunks/{chunk.PG33VP73.js → chunk.GBVXVADE.js} +4 -4
  93. package/dist/chunks/{chunk.ZNMJES4B.js → chunk.IEHDLSGA.js} +1 -1
  94. package/{cdn/chunks/chunk.UFZVPTR4.js → dist/chunks/chunk.MMDLLVXS.js} +1 -1
  95. package/{cdn/chunks/chunk.M2VXN72F.js → dist/chunks/chunk.N6PKYR5K.js} +1 -1
  96. package/{cdn/chunks/chunk.4WBHMR2A.js → dist/chunks/chunk.N7ULTEAO.js} +1 -1
  97. package/{cdn/chunks/chunk.BPM4DDT2.js → dist/chunks/chunk.OUOWGBKV.js} +1 -1
  98. package/dist/chunks/{chunk.HOM4WTOH.js → chunk.PFSWFOXD.js} +1 -1
  99. package/dist/chunks/{chunk.2T4YTX6C.js → chunk.QJIYDTLQ.js} +1 -1
  100. package/dist/chunks/{chunk.AU3AGC4X.js → chunk.RFKXBNLY.js} +1 -1
  101. package/dist/chunks/{chunk.VYZKQA7M.js → chunk.RP6DCD5M.js} +4 -4
  102. package/dist/chunks/{chunk.TIWTYZP4.js → chunk.S3WKONT5.js} +11 -11
  103. package/dist/chunks/{chunk.X2KBQTBL.js → chunk.SDJHA4XN.js} +1 -1
  104. package/dist/chunks/{chunk.HBQCLZ37.js → chunk.TNACYALO.js} +1 -1
  105. package/dist/chunks/{chunk.QNRAB6NA.js → chunk.TWKECPWO.js} +1 -1
  106. package/dist/chunks/{chunk.6LKH47P2.js → chunk.UNE3VYFP.js} +1 -1
  107. package/{cdn/chunks/chunk.5EMGZZCG.js → dist/chunks/chunk.VEURJQW5.js} +1 -1
  108. package/dist/chunks/{chunk.UPRVNZ37.js → chunk.WVHQFXLD.js} +4 -4
  109. package/{cdn/chunks/chunk.OBKUG36C.js → dist/chunks/chunk.XB7LBTTU.js} +1 -1
  110. package/dist/chunks/{chunk.M6X67YK2.js → chunk.XIRKMIAU.js} +7 -7
  111. package/dist/chunks/{chunk.2HRRJNXL.js → chunk.XW5YT7AB.js} +1 -1
  112. package/dist/chunks/{chunk.DYMAZVQ6.js → chunk.Y72ZRL5L.js} +3 -3
  113. package/{cdn/chunks/chunk.6RSB2MQN.js → dist/chunks/chunk.YNMQZYQL.js} +1 -1
  114. package/dist/components/button/button.component.js +3 -3
  115. package/dist/components/button/button.js +4 -4
  116. package/dist/components/chip/chip.component.js +2 -2
  117. package/dist/components/chip/chip.js +3 -3
  118. package/dist/components/combobox/combobox.component.js +3 -3
  119. package/dist/components/combobox/combobox.js +4 -4
  120. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  121. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  122. package/dist/components/icon/icon.component.js +2 -2
  123. package/dist/components/icon/icon.js +3 -3
  124. package/dist/components/loader/loader.component.js +2 -2
  125. package/dist/components/loader/loader.js +3 -3
  126. package/dist/components/map/map.component.js +4 -4
  127. package/dist/components/map/map.js +5 -5
  128. package/dist/components/plot/plot.component.js +2 -2
  129. package/dist/components/plot/plot.js +3 -3
  130. package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
  131. package/dist/components/spatial-picker/spatial-picker.js +7 -7
  132. package/dist/components/time-series/time-series.component.js +25 -25
  133. package/dist/components/time-series/time-series.controller.js +1 -1
  134. package/dist/components/time-series/time-series.js +26 -26
  135. package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
  136. package/dist/components/variable-combobox/variable-combobox.js +9 -9
  137. package/dist/custom-elements.json +850 -850
  138. package/dist/react/button/index.js +4 -4
  139. package/dist/react/chip/index.js +3 -3
  140. package/dist/react/combobox/index.js +4 -4
  141. package/dist/react/date-range-slider/index.js +4 -4
  142. package/dist/react/icon/index.js +3 -3
  143. package/dist/react/index.d.ts +3 -3
  144. package/dist/react/index.js +48 -48
  145. package/dist/react/loader/index.js +3 -3
  146. package/dist/react/map/index.js +5 -5
  147. package/dist/react/plot/index.js +3 -3
  148. package/dist/react/spatial-picker/index.js +7 -7
  149. package/dist/react/time-series/index.js +26 -26
  150. package/dist/react/variable-combobox/index.js +9 -9
  151. package/dist/terra-ui-components.js +50 -50
  152. package/dist/types/vue/index.d.ts +116 -116
  153. package/dist/vscode.html-custom-data.json +112 -112
  154. package/dist/web-types.json +224 -224
  155. package/package.json +1 -1
  156. package/cdn/chunks/{chunk.XR56EMXH.js → chunk.LQCRC4E2.js} +8 -8
  157. package/cdn/chunks/{chunk.42JFVPPT.js → chunk.R2AQMZE4.js} +3 -3
@@ -1,17 +1,67 @@
1
1
  import type { DefineComponent } from "vue";
2
2
 
3
- import type { TerraButton } from "../../components/button/button.component.js";
4
- import type { TerraChip } from "../../components/chip/chip.component.js";
5
- import type { TerraDateRangeSlider } from "../../components/date-range-slider/date-range-slider.component.js";
6
3
  import type { TerraCombobox } from "../../components/combobox/combobox.component.js";
7
- import type { TerraLoader } from "../../components/loader/loader.component.js";
4
+ import type { TerraDateRangeSlider } from "../../components/date-range-slider/date-range-slider.component.js";
5
+ import type { TerraChip } from "../../components/chip/chip.component.js";
6
+ import type { TerraButton } from "../../components/button/button.component.js";
8
7
  import type { TerraIcon } from "../../components/icon/icon.component.js";
8
+ import type { TerraLoader } from "../../components/loader/loader.component.js";
9
9
  import type { TerraMap } from "../../components/map/map.component.js";
10
10
  import type { TerraPlot } from "../../components/plot/plot.component.js";
11
11
  import type { TerraSpatialPicker } from "../../components/spatial-picker/spatial-picker.component.js";
12
12
  import type { TerraTimeSeries } from "../../components/time-series/time-series.component.js";
13
13
  import type { TerraVariableCombobox } from "../../components/variable-combobox/variable-combobox.component.js";
14
14
 
15
+ type TerraComboboxProps = {
16
+ /** Label the combobox with this. */
17
+ label?: TerraCombobox["label"];
18
+ /** name the combobox with this. */
19
+ name?: TerraCombobox["name"];
20
+ /** Set a placeholder for the combobox with this.
21
+ Defaults to the label's value. */
22
+ placeholder?: TerraCombobox["placeholder"];
23
+ /** Hide the combobox's help text.
24
+ When hidden, not rendered at all. */
25
+ "hide-help"?: TerraCombobox["hideHelp"];
26
+ /** Hide the combobox's label text.
27
+ When hidden, still presents to screen readers. */
28
+ "hide-label"?: TerraCombobox["hideLabel"];
29
+ /** status of the content */
30
+ status?: TerraCombobox["status"];
31
+ /** content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined */
32
+ content?: TerraCombobox["content"];
33
+ /** */
34
+ isExpanded?: TerraCombobox["isExpanded"];
35
+ /** */
36
+ query?: TerraCombobox["query"];
37
+ /** */
38
+ searchResults?: TerraCombobox["searchResults"];
39
+ };
40
+
41
+ type TerraDateRangeSliderProps = {
42
+ /** */
43
+ "time-scale"?: TerraDateRangeSlider["timeScale"];
44
+ /** */
45
+ "min-date"?: TerraDateRangeSlider["minDate"];
46
+ /** */
47
+ "max-date"?: TerraDateRangeSlider["maxDate"];
48
+ /** The start date for the time series plot. */
49
+ "start-date"?: TerraDateRangeSlider["startDate"];
50
+ /** */
51
+ "end-date"?: TerraDateRangeSlider["endDate"];
52
+ /** */
53
+ disabled?: TerraDateRangeSlider["disabled"];
54
+ /** */
55
+ "has-pips"?: TerraDateRangeSlider["hasPips"];
56
+ /** */
57
+ slider?: TerraDateRangeSlider["slider"];
58
+ };
59
+
60
+ type TerraChipProps = {
61
+ /** */
62
+ size?: TerraChip["size"];
63
+ };
64
+
15
65
  type TerraButtonProps = {
16
66
  /** */
17
67
  title?: TerraButton["title"];
@@ -75,71 +125,6 @@ value of this attribute must be an id of a form in the same document or shadow r
75
125
  validationMessage?: TerraButton["validationMessage"];
76
126
  };
77
127
 
78
- type TerraChipProps = {
79
- /** */
80
- size?: TerraChip["size"];
81
- };
82
-
83
- type TerraDateRangeSliderProps = {
84
- /** */
85
- "time-scale"?: TerraDateRangeSlider["timeScale"];
86
- /** */
87
- "min-date"?: TerraDateRangeSlider["minDate"];
88
- /** */
89
- "max-date"?: TerraDateRangeSlider["maxDate"];
90
- /** The start date for the time series plot. */
91
- "start-date"?: TerraDateRangeSlider["startDate"];
92
- /** */
93
- "end-date"?: TerraDateRangeSlider["endDate"];
94
- /** */
95
- disabled?: TerraDateRangeSlider["disabled"];
96
- /** */
97
- "has-pips"?: TerraDateRangeSlider["hasPips"];
98
- /** */
99
- slider?: TerraDateRangeSlider["slider"];
100
- };
101
-
102
- type TerraComboboxProps = {
103
- /** Label the combobox with this. */
104
- label?: TerraCombobox["label"];
105
- /** name the combobox with this. */
106
- name?: TerraCombobox["name"];
107
- /** Set a placeholder for the combobox with this.
108
- Defaults to the label's value. */
109
- placeholder?: TerraCombobox["placeholder"];
110
- /** Hide the combobox's help text.
111
- When hidden, not rendered at all. */
112
- "hide-help"?: TerraCombobox["hideHelp"];
113
- /** Hide the combobox's label text.
114
- When hidden, still presents to screen readers. */
115
- "hide-label"?: TerraCombobox["hideLabel"];
116
- /** status of the content */
117
- status?: TerraCombobox["status"];
118
- /** content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined */
119
- content?: TerraCombobox["content"];
120
- /** */
121
- isExpanded?: TerraCombobox["isExpanded"];
122
- /** */
123
- query?: TerraCombobox["query"];
124
- /** */
125
- searchResults?: TerraCombobox["searchResults"];
126
- };
127
-
128
- type TerraLoaderProps = {
129
- /** The loader's size */
130
- size?: TerraLoader["size"];
131
- /** The loader's theme, light or dark mode */
132
- theme?: TerraLoader["theme"];
133
- /** The percent complete for the loader to display */
134
- percent?: TerraLoader["percent"];
135
- /** an indeterminate loader has an unknown progress and will show a spinner */
136
- indeterminate?: TerraLoader["indeterminate"];
137
- /** A label used by a screen reader which describes the loader element (e.g., "Loading video of Tropical Storm Nepartak") */
138
- label?: TerraLoader["label"];
139
- /** 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") */
140
- message?: TerraLoader["message"];
141
- };
142
-
143
128
  type TerraIconProps = {
144
129
  /** The name of the icon to draw. Available names depend on the icon library being used. */
145
130
  name?: TerraIcon["name"];
@@ -163,6 +148,21 @@ ignored by assistive devices. */
163
148
  onTerraError?: (e: CustomEvent<never>) => void;
164
149
  };
165
150
 
151
+ type TerraLoaderProps = {
152
+ /** The loader's size */
153
+ size?: TerraLoader["size"];
154
+ /** The loader's theme, light or dark mode */
155
+ theme?: TerraLoader["theme"];
156
+ /** The percent complete for the loader to display */
157
+ percent?: TerraLoader["percent"];
158
+ /** an indeterminate loader has an unknown progress and will show a spinner */
159
+ indeterminate?: TerraLoader["indeterminate"];
160
+ /** A label used by a screen reader which describes the loader element (e.g., "Loading video of Tropical Storm Nepartak") */
161
+ label?: TerraLoader["label"];
162
+ /** 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") */
163
+ message?: TerraLoader["message"];
164
+ };
165
+
166
166
  type TerraMapProps = {
167
167
  /** Minimum zoom level of the map. */
168
168
  "min-zoom"?: TerraMap["minZoom"];
@@ -284,43 +284,22 @@ When hidden, still presents to screen readers. */
284
284
 
285
285
  export type CustomElements = {
286
286
  /**
287
- * Buttons represent actions that are available to the user.
287
+ * Fuzzy-search for combobox with list autocomplete.
288
288
  * ---
289
289
  *
290
290
  *
291
- * ### **Methods:**
292
- * - **click()** - Simulates a click on the button.
293
- * - **focus(options: _FocusOptions_)** - Sets focus on the button.
294
- * - **blur()** - Removes focus from the button.
295
- * - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
296
- * - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
297
- * - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
298
- * - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
299
- *
300
- * ### **Slots:**
301
- * - _default_ - The button's label.
302
- * - **prefix** - A presentational prefix icon or similar element.
303
- * - **suffix** - A presentational suffix icon or similar element.
291
+ * ### **CSS Properties:**
292
+ * - **--host-height** - The height of the host element. _(default: undefined)_
293
+ * - **--help-height** - The height of the search help element. _(default: undefined)_
294
+ * - **--label-height** - The height of the input's label element. _(default: undefined)_
304
295
  *
305
296
  * ### **CSS Parts:**
306
- * - **base** - The component's base wrapper.
307
- * - **prefix** - The container that wraps the prefix.
308
- * - **label** - The button's label.
309
- * - **suffix** - The container that wraps the suffix.
310
- * - **caret** - The button's caret icon, an `<sl-icon>` element.
311
- * - **spinner** - The spinner that shows when the button is in the loading state.
312
- */
313
- "terra-button": DefineComponent<TerraButtonProps>;
314
-
315
- /**
316
- * Used for contacts and tags
317
- * ---
318
- *
319
- *
320
- * ### **Slots:**
321
- * - _default_ - The chip's label.
297
+ * - **base** - A `search` element, the component's base.
298
+ * - **combobox** - An `input` element used for searching.
299
+ * - **button** - A `button` used for toggling the listbox's visibility.
300
+ * - **listbox** - A `ul` that holds the clickable options.
322
301
  */
323
- "terra-chip": DefineComponent<TerraChipProps>;
302
+ "terra-combobox": DefineComponent<TerraComboboxProps>;
324
303
 
325
304
  /**
326
305
  * Short summary of the component's intended use.
@@ -340,35 +319,43 @@ export type CustomElements = {
340
319
  "terra-date-range-slider": DefineComponent<TerraDateRangeSliderProps>;
341
320
 
342
321
  /**
343
- * Fuzzy-search for combobox with list autocomplete.
322
+ * Used for contacts and tags
344
323
  * ---
345
324
  *
346
325
  *
347
- * ### **CSS Properties:**
348
- * - **--host-height** - The height of the host element. _(default: undefined)_
349
- * - **--help-height** - The height of the search help element. _(default: undefined)_
350
- * - **--label-height** - The height of the input's label element. _(default: undefined)_
351
- *
352
- * ### **CSS Parts:**
353
- * - **base** - A `search` element, the component's base.
354
- * - **combobox** - An `input` element used for searching.
355
- * - **button** - A `button` used for toggling the listbox's visibility.
356
- * - **listbox** - A `ul` that holds the clickable options.
326
+ * ### **Slots:**
327
+ * - _default_ - The chip's label.
357
328
  */
358
- "terra-combobox": DefineComponent<TerraComboboxProps>;
329
+ "terra-chip": DefineComponent<TerraChipProps>;
359
330
 
360
331
  /**
361
- * Loaders are used to indicate there is content that is loading.
332
+ * Buttons represent actions that are available to the user.
362
333
  * ---
363
334
  *
364
335
  *
365
- * ### **CSS Properties:**
366
- * - **--example** - An example CSS custom property. _(default: undefined)_
336
+ * ### **Methods:**
337
+ * - **click()** - Simulates a click on the button.
338
+ * - **focus(options: _FocusOptions_)** - Sets focus on the button.
339
+ * - **blur()** - Removes focus from the button.
340
+ * - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.
341
+ * - **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.
342
+ * - **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.
343
+ * - **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.
344
+ *
345
+ * ### **Slots:**
346
+ * - _default_ - The button's label.
347
+ * - **prefix** - A presentational prefix icon or similar element.
348
+ * - **suffix** - A presentational suffix icon or similar element.
367
349
  *
368
350
  * ### **CSS Parts:**
369
351
  * - **base** - The component's base wrapper.
352
+ * - **prefix** - The container that wraps the prefix.
353
+ * - **label** - The button's label.
354
+ * - **suffix** - The container that wraps the suffix.
355
+ * - **caret** - The button's caret icon, an `<sl-icon>` element.
356
+ * - **spinner** - The spinner that shows when the button is in the loading state.
370
357
  */
371
- "terra-loader": DefineComponent<TerraLoaderProps>;
358
+ "terra-button": DefineComponent<TerraButtonProps>;
372
359
 
373
360
  /**
374
361
  * Icons are symbols that can be used to represent various options within an application.
@@ -384,6 +371,19 @@ export type CustomElements = {
384
371
  */
385
372
  "terra-icon": DefineComponent<TerraIconProps>;
386
373
 
374
+ /**
375
+ * Loaders are used to indicate there is content that is loading.
376
+ * ---
377
+ *
378
+ *
379
+ * ### **CSS Properties:**
380
+ * - **--example** - An example CSS custom property. _(default: undefined)_
381
+ *
382
+ * ### **CSS Parts:**
383
+ * - **base** - The component's base wrapper.
384
+ */
385
+ "terra-loader": DefineComponent<TerraLoaderProps>;
386
+
387
387
  /**
388
388
  * A map component for visualizing and selecting coordinates.
389
389
  * ---
@@ -2,6 +2,101 @@
2
2
  "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
3
  "version": 1.1,
4
4
  "tags": [
5
+ {
6
+ "name": "terra-combobox",
7
+ "description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
8
+ "attributes": [
9
+ {
10
+ "name": "label",
11
+ "description": "Label the combobox with this.",
12
+ "values": []
13
+ },
14
+ {
15
+ "name": "name",
16
+ "description": "name the combobox with this.",
17
+ "values": []
18
+ },
19
+ {
20
+ "name": "placeholder",
21
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
22
+ "values": []
23
+ },
24
+ {
25
+ "name": "hide-help",
26
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
27
+ "values": []
28
+ },
29
+ {
30
+ "name": "hide-label",
31
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
32
+ "values": []
33
+ },
34
+ {
35
+ "name": "status",
36
+ "description": "status of the content",
37
+ "values": [
38
+ { "name": "INITIAL" },
39
+ { "name": "PENDING" },
40
+ { "name": "COMPLETE" },
41
+ { "name": "ERROR" }
42
+ ]
43
+ },
44
+ {
45
+ "name": "content",
46
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
47
+ "values": [{ "name": "Content" }]
48
+ }
49
+ ],
50
+ "references": [
51
+ {
52
+ "name": "Documentation",
53
+ "url": "https://disc.gsfc.nasa.gov/components/combobox"
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "name": "terra-date-range-slider",
59
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
60
+ "attributes": [
61
+ { "name": "time-scale", "values": [{ "name": "TimeScale" }] },
62
+ { "name": "min-date", "values": [] },
63
+ { "name": "max-date", "values": [] },
64
+ {
65
+ "name": "start-date",
66
+ "description": "The start date for the time series plot.",
67
+ "values": []
68
+ },
69
+ { "name": "end-date", "values": [] },
70
+ { "name": "disabled", "values": [] },
71
+ { "name": "has-pips", "values": [] }
72
+ ],
73
+ "references": [
74
+ {
75
+ "name": "Documentation",
76
+ "url": "https://disc.gsfc.nasa.gov/components/date-range-slider"
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "name": "terra-chip",
82
+ "description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
83
+ "attributes": [
84
+ {
85
+ "name": "size",
86
+ "values": [
87
+ { "name": "small" },
88
+ { "name": "medium" },
89
+ { "name": "large" }
90
+ ]
91
+ }
92
+ ],
93
+ "references": [
94
+ {
95
+ "name": "Documentation",
96
+ "url": "https://disc.gsfc.nasa.gov/components/chip"
97
+ }
98
+ ]
99
+ },
5
100
  {
6
101
  "name": "terra-button",
7
102
  "description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<sl-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
@@ -154,97 +249,44 @@
154
249
  ]
155
250
  },
156
251
  {
157
- "name": "terra-chip",
158
- "description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
159
- "attributes": [
160
- {
161
- "name": "size",
162
- "values": [
163
- { "name": "small" },
164
- { "name": "medium" },
165
- { "name": "large" }
166
- ]
167
- }
168
- ],
169
- "references": [
170
- {
171
- "name": "Documentation",
172
- "url": "https://disc.gsfc.nasa.gov/components/chip"
173
- }
174
- ]
175
- },
176
- {
177
- "name": "terra-combobox",
178
- "description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
252
+ "name": "terra-icon",
253
+ "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **terra-load** - Emitted when the icon has loaded.\n- **terra-error** - Emitted when the icon fails to load due to an error.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.",
179
254
  "attributes": [
180
- {
181
- "name": "label",
182
- "description": "Label the combobox with this.",
183
- "values": []
184
- },
185
255
  {
186
256
  "name": "name",
187
- "description": "name the combobox with this.",
257
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
188
258
  "values": []
189
259
  },
190
260
  {
191
- "name": "placeholder",
192
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
261
+ "name": "src",
262
+ "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.",
193
263
  "values": []
194
264
  },
195
265
  {
196
- "name": "hide-help",
197
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
266
+ "name": "label",
267
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
198
268
  "values": []
199
269
  },
200
270
  {
201
- "name": "hide-label",
202
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
203
- "values": []
271
+ "name": "library",
272
+ "description": "The name of a registered custom icon library.",
273
+ "values": [{ "name": "default" }, { "name": "heroicons" }]
204
274
  },
205
275
  {
206
- "name": "status",
207
- "description": "status of the content",
208
- "values": [
209
- { "name": "INITIAL" },
210
- { "name": "PENDING" },
211
- { "name": "COMPLETE" },
212
- { "name": "ERROR" }
213
- ]
276
+ "name": "color",
277
+ "description": "The CSS color to assign to the SVG.",
278
+ "values": []
214
279
  },
215
280
  {
216
- "name": "content",
217
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
218
- "values": [{ "name": "Content" }]
219
- }
220
- ],
221
- "references": [
222
- {
223
- "name": "Documentation",
224
- "url": "https://disc.gsfc.nasa.gov/components/combobox"
225
- }
226
- ]
227
- },
228
- {
229
- "name": "terra-date-range-slider",
230
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
231
- "attributes": [
232
- { "name": "time-scale", "values": [{ "name": "TimeScale" }] },
233
- { "name": "min-date", "values": [] },
234
- { "name": "max-date", "values": [] },
235
- {
236
- "name": "start-date",
237
- "description": "The start date for the time series plot.",
281
+ "name": "font-size",
282
+ "description": "The CSS font-size to assign to the SVG.",
238
283
  "values": []
239
- },
240
- { "name": "end-date", "values": [] },
241
- { "name": "disabled", "values": [] },
242
- { "name": "has-pips", "values": [] }
284
+ }
243
285
  ],
244
286
  "references": [
245
287
  {
246
288
  "name": "Documentation",
247
- "url": "https://disc.gsfc.nasa.gov/components/date-range-slider"
289
+ "url": "https://disc.gsfc.nasa.gov/components/icon"
248
290
  }
249
291
  ]
250
292
  },
@@ -290,48 +332,6 @@
290
332
  }
291
333
  ]
292
334
  },
293
- {
294
- "name": "terra-icon",
295
- "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **terra-load** - Emitted when the icon has loaded.\n- **terra-error** - Emitted when the icon fails to load due to an error.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.",
296
- "attributes": [
297
- {
298
- "name": "name",
299
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
300
- "values": []
301
- },
302
- {
303
- "name": "src",
304
- "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.",
305
- "values": []
306
- },
307
- {
308
- "name": "label",
309
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
310
- "values": []
311
- },
312
- {
313
- "name": "library",
314
- "description": "The name of a registered custom icon library.",
315
- "values": [{ "name": "default" }, { "name": "heroicons" }]
316
- },
317
- {
318
- "name": "color",
319
- "description": "The CSS color to assign to the SVG.",
320
- "values": []
321
- },
322
- {
323
- "name": "font-size",
324
- "description": "The CSS font-size to assign to the SVG.",
325
- "values": []
326
- }
327
- ],
328
- "references": [
329
- {
330
- "name": "Documentation",
331
- "url": "https://disc.gsfc.nasa.gov/components/icon"
332
- }
333
- ]
334
- },
335
335
  {
336
336
  "name": "terra-map",
337
337
  "description": "A map component for visualizing and selecting coordinates.\n---\n",