@nvidia-elements/core 2.12.0 → 2.12.2

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 (175) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/accordion/accordion.examples.json +1 -1
  3. package/dist/accordion/accordion2.js +4 -4
  4. package/dist/alert/alert-group2.js +1 -1
  5. package/dist/alert/alert.examples.json +6 -6
  6. package/dist/alert/alert2.js +1 -1
  7. package/dist/avatar/avatar-group2.js +1 -1
  8. package/dist/avatar/avatar2.js +1 -1
  9. package/dist/badge/badge2.js +1 -1
  10. package/dist/breadcrumb/breadcrumb2.js +1 -1
  11. package/dist/bundles/index.d.ts +467 -467
  12. package/dist/bundles/index.js +2 -2
  13. package/dist/button/button.examples.json +3 -3
  14. package/dist/button/button2.js +1 -1
  15. package/dist/button-group/button-group2.js +1 -1
  16. package/dist/card/card.examples.json +2 -2
  17. package/dist/card/card2.js +4 -4
  18. package/dist/chat-message/chat-message.examples.json +1 -1
  19. package/dist/chat-message/chat-message2.js +1 -1
  20. package/dist/checkbox/checkbox-group2.js +1 -1
  21. package/dist/checkbox/checkbox.examples.json +5 -5
  22. package/dist/checkbox/checkbox2.js +1 -1
  23. package/dist/color/color.examples.json +2 -2
  24. package/dist/color/color2.js +1 -1
  25. package/dist/combobox/combobox.examples.json +7 -7
  26. package/dist/combobox/combobox2.js +55 -53
  27. package/dist/combobox/combobox2.js.map +1 -1
  28. package/dist/copy-button/copy-button.examples.json +1 -1
  29. package/dist/copy-button/copy-button2.js +1 -1
  30. package/dist/custom-elements.json +28 -14
  31. package/dist/data.snippets.json +18 -18
  32. package/dist/date/date.examples.json +3 -3
  33. package/dist/date/date2.js +1 -1
  34. package/dist/datetime/datetime.examples.json +2 -2
  35. package/dist/datetime/datetime2.js +1 -1
  36. package/dist/dialog/dialog-footer2.js +1 -1
  37. package/dist/dialog/dialog-header2.js +1 -1
  38. package/dist/dialog/dialog.examples.json +7 -7
  39. package/dist/dialog/dialog2.js +1 -1
  40. package/dist/divider/divider2.js +1 -1
  41. package/dist/dot/dot2.js +1 -1
  42. package/dist/drawer/drawer-content2.js +1 -1
  43. package/dist/drawer/drawer-footer2.js +1 -1
  44. package/dist/drawer/drawer-header2.js +1 -1
  45. package/dist/drawer/drawer.examples.json +5 -5
  46. package/dist/drawer/drawer2.js +1 -1
  47. package/dist/dropdown/dropdown-footer2.js +1 -1
  48. package/dist/dropdown/dropdown-header2.js +1 -1
  49. package/dist/dropdown/dropdown.examples.json +3 -3
  50. package/dist/dropdown/dropdown2.js +1 -1
  51. package/dist/dropdown-group/dropdown-group.js +1 -1
  52. package/dist/dropzone/dropzone.examples.json +2 -2
  53. package/dist/dropzone/dropzone2.js +1 -1
  54. package/dist/file/file.examples.json +2 -2
  55. package/dist/file/file2.js +1 -1
  56. package/dist/format-bytes/format-bytes2.js +1 -1
  57. package/dist/format-datetime/format-datetime2.js +1 -1
  58. package/dist/format-number/format-number2.js +1 -1
  59. package/dist/format-relative-time/format-relative-time2.js +1 -1
  60. package/dist/format-truncate/format-truncate2.js +1 -1
  61. package/dist/forms/control/control.examples.json +3 -3
  62. package/dist/forms/control/control2.js +1 -1
  63. package/dist/forms/control-group/control-group2.js +1 -1
  64. package/dist/forms/control-message/control-message2.js +1 -1
  65. package/dist/forms/forms.examples.json +7 -7
  66. package/dist/forms/validation.examples.json +4 -4
  67. package/dist/gauge/gauge.examples.json +2 -2
  68. package/dist/gauge/gauge2.js +1 -1
  69. package/dist/grid/cell/cell2.js +1 -1
  70. package/dist/grid/column/column2.js +1 -1
  71. package/dist/grid/footer/footer2.js +1 -1
  72. package/dist/grid/grid.examples.json +6 -6
  73. package/dist/grid/grid2.js +1 -1
  74. package/dist/grid/header/header2.js +1 -1
  75. package/dist/grid/placeholder/placeholder2.js +1 -1
  76. package/dist/grid/row/row2.js +1 -1
  77. package/dist/icon/icon.examples.json +1 -1
  78. package/dist/icon/icon2.js +2 -2
  79. package/dist/icon/icons.d.ts +2 -1
  80. package/dist/icon/icons.js.map +1 -1
  81. package/dist/icon-button/icon-button2.js +1 -1
  82. package/dist/index.js +1 -1
  83. package/dist/input/input-group.examples.json +3 -3
  84. package/dist/input/input-group2.js +1 -1
  85. package/dist/input/input.examples.json +2 -2
  86. package/dist/input/input2.js +1 -1
  87. package/dist/internal/controllers/gesture.controller.examples.json +1 -1
  88. package/dist/internal/controllers/popover.examples.json +5 -5
  89. package/dist/internal/controllers/type-popover.controller.examples.json +1 -1
  90. package/dist/internal/services/global.service.js +1 -1
  91. package/dist/internal/types/icons.d.ts +1 -0
  92. package/dist/internal/types/index.d.ts +1 -1
  93. package/dist/internal/types/index.js.map +1 -1
  94. package/dist/internal/utils/dom.js +18 -10
  95. package/dist/internal/utils/dom.js.map +1 -1
  96. package/dist/logo/logo2.js +1 -1
  97. package/dist/menu/menu-group2.js +1 -1
  98. package/dist/menu/menu-item2.js +1 -1
  99. package/dist/menu/menu.examples.json +1 -1
  100. package/dist/menu/menu2.js +1 -1
  101. package/dist/month/month.examples.json +2 -2
  102. package/dist/month/month2.js +1 -1
  103. package/dist/notification/notification-group2.js +1 -1
  104. package/dist/notification/notification.examples.json +5 -5
  105. package/dist/notification/notification2.js +1 -1
  106. package/dist/page/page-panel/page-panel-content2.js +1 -1
  107. package/dist/page/page-panel/page-panel-footer2.js +1 -1
  108. package/dist/page/page-panel/page-panel-header2.js +1 -1
  109. package/dist/page/page-panel/page-panel2.js +1 -1
  110. package/dist/page/page.examples.json +25 -25
  111. package/dist/page/page2.js +1 -1
  112. package/dist/page-header/page-header2.js +1 -1
  113. package/dist/page-loader/page-loader.examples.json +1 -1
  114. package/dist/page-loader/page-loader2.js +1 -1
  115. package/dist/pagination/pagination.examples.json +2 -2
  116. package/dist/pagination/pagination2.js +1 -1
  117. package/dist/panel/panel.examples.json +7 -7
  118. package/dist/panel/panel2.js +4 -4
  119. package/dist/password/password.examples.json +2 -2
  120. package/dist/password/password2.js +1 -1
  121. package/dist/preferences-input/preferences-input.examples.json +1 -1
  122. package/dist/preferences-input/preferences-input2.js +1 -1
  123. package/dist/progress-bar/progress-bar2.js +1 -1
  124. package/dist/progress-ring/progress-ring.examples.json +5 -5
  125. package/dist/progress-ring/progress-ring2.js +1 -1
  126. package/dist/progressive-filter-chip/progressive-filter-chip.examples.json +1 -1
  127. package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
  128. package/dist/pulse/pulse2.js +1 -1
  129. package/dist/radio/radio-group2.js +1 -1
  130. package/dist/radio/radio.examples.json +5 -5
  131. package/dist/radio/radio2.js +1 -1
  132. package/dist/range/range.examples.json +2 -2
  133. package/dist/range/range2.js +1 -1
  134. package/dist/resize-handle/resize-handle.examples.json +2 -2
  135. package/dist/resize-handle/resize-handle2.js +1 -1
  136. package/dist/search/search.examples.json +2 -2
  137. package/dist/search/search2.js +1 -1
  138. package/dist/select/select.examples.json +8 -8
  139. package/dist/select/select2.js +1 -1
  140. package/dist/skeleton/skeleton2.js +1 -1
  141. package/dist/sort-button/sort-button2.js +1 -1
  142. package/dist/sparkline/sparkline2.js +1 -1
  143. package/dist/star-rating/star-rating2.js +1 -1
  144. package/dist/steps/steps2.js +2 -2
  145. package/dist/switch/switch-group2.js +1 -1
  146. package/dist/switch/switch.examples.json +5 -5
  147. package/dist/switch/switch2.js +1 -1
  148. package/dist/tabs/tabs-group2.js +1 -1
  149. package/dist/tabs/tabs.examples.json +1 -1
  150. package/dist/tabs/tabs2.js +2 -2
  151. package/dist/tag/tag2.js +1 -1
  152. package/dist/textarea/textarea.examples.json +2 -2
  153. package/dist/textarea/textarea2.js +1 -1
  154. package/dist/time/time.examples.json +2 -2
  155. package/dist/time/time2.js +1 -1
  156. package/dist/toast/toast.examples.json +1 -1
  157. package/dist/toast/toast2.js +1 -1
  158. package/dist/toggletip/toggletip-footer2.js +1 -1
  159. package/dist/toggletip/toggletip-header2.js +1 -1
  160. package/dist/toggletip/toggletip.examples.json +5 -5
  161. package/dist/toggletip/toggletip2.js +1 -1
  162. package/dist/toolbar/toolbar.examples.json +4 -4
  163. package/dist/toolbar/toolbar2.js +1 -1
  164. package/dist/tooltip/tooltip.examples.json +6 -6
  165. package/dist/tooltip/tooltip2.js +1 -1
  166. package/dist/tree/tree-node2.js +1 -1
  167. package/dist/tree/tree.examples.json +2 -2
  168. package/dist/tree/tree2.js +1 -1
  169. package/dist/viewport/viewport-gridlines2.js +1 -1
  170. package/dist/viewport/viewport-minimap2.js +1 -1
  171. package/dist/viewport/viewport.examples.json +9 -9
  172. package/dist/viewport/viewport2.js +1 -1
  173. package/dist/week/week.examples.json +3 -3
  174. package/dist/week/week2.js +1 -1
  175. package/package.json +2 -1
@@ -131,374 +131,7 @@ export interface I18nStrings {
131
131
  unmuteMedia: string;
132
132
  volume: string;
133
133
  }
134
- export interface IconSVG {
135
- svg: () => Promise<string> | string;
136
- }
137
- export declare const ICON_IMPORTS: {
138
- placeholder: IconSVG;
139
- caret: IconSVG;
140
- person: IconSVG;
141
- menu: IconSVG;
142
- cancel: IconSVG;
143
- gear: IconSVG;
144
- chevron: IconSVG;
145
- logout: IconSVG;
146
- copy: IconSVG;
147
- "more-actions": IconSVG;
148
- add: IconSVG;
149
- arrow: IconSVG;
150
- delete: IconSVG;
151
- download: IconSVG;
152
- search: IconSVG;
153
- "split-vertical": IconSVG;
154
- sparkles: IconSVG;
155
- branch: IconSVG;
156
- refresh: IconSVG;
157
- "double-chevron": IconSVG;
158
- "academic-cap": IconSVG;
159
- "add-asset": IconSVG;
160
- "add-comment": IconSVG;
161
- "add-grid": IconSVG;
162
- "add-user": IconSVG;
163
- ancestors: IconSVG;
164
- archive: IconSVG;
165
- "arrow-angle": IconSVG;
166
- "arrow-both": IconSVG;
167
- "arrow-cycle": IconSVG;
168
- "arrow-path-rounded-square": IconSVG;
169
- "arrow-stop": IconSVG;
170
- "at-symbol": IconSVG;
171
- backspace: IconSVG;
172
- "bar-pill-stack": IconSVG;
173
- "bars-3": IconSVG;
174
- "bars-3-bottom-left": IconSVG;
175
- "bars-3-bottom-right": IconSVG;
176
- "bars-3-center-left": IconSVG;
177
- "bars-4": IconSVG;
178
- beaker: IconSVG;
179
- bell: IconSVG;
180
- "bell-slash": IconSVG;
181
- "bell-solid": IconSVG;
182
- bold: IconSVG;
183
- book: IconSVG;
184
- "book-solid": IconSVG;
185
- bookmark: IconSVG;
186
- "bookmark-solid": IconSVG;
187
- "bounding-box": IconSVG;
188
- briefcase: IconSVG;
189
- broadcast: IconSVG;
190
- browser: IconSVG;
191
- bug: IconSVG;
192
- calendar: IconSVG;
193
- camera: IconSVG;
194
- "carets-closed-square": IconSVG;
195
- carousel: IconSVG;
196
- "category-list": IconSVG;
197
- "chart-bar": IconSVG;
198
- "chat-bubble": IconSVG;
199
- "chat-bubble-solid": IconSVG;
200
- "chat-bubbles": IconSVG;
201
- check: IconSVG;
202
- "check-badge": IconSVG;
203
- "check-badge-solid": IconSVG;
204
- checklist: IconSVG;
205
- "checkmark-circle": IconSVG;
206
- "checkmark-circle-solid": IconSVG;
207
- chip: IconSVG;
208
- circle: IconSVG;
209
- "circle-angled-line": IconSVG;
210
- "circle-angled-line-solid": IconSVG;
211
- "circle-dash": IconSVG;
212
- "circle-dot": IconSVG;
213
- "circle-dot-arrows": IconSVG;
214
- "circle-half": IconSVG;
215
- "circle-rule": IconSVG;
216
- "circle-tick": IconSVG;
217
- clipboard: IconSVG;
218
- clock: IconSVG;
219
- "clock-circle-arrow": IconSVG;
220
- cloud: IconSVG;
221
- "cloud-download": IconSVG;
222
- "cloud-upload": IconSVG;
223
- code: IconSVG;
224
- "collapse-all": IconSVG;
225
- "collapse-details": IconSVG;
226
- "color-palette": IconSVG;
227
- columns: IconSVG;
228
- compare: IconSVG;
229
- computer: IconSVG;
230
- "connect-node": IconSVG;
231
- "connected-blocks": IconSVG;
232
- "cross-hairs": IconSVG;
233
- "cursor-rays": IconSVG;
234
- "cursor-ripples": IconSVG;
235
- "data-management": IconSVG;
236
- "delete-node": IconSVG;
237
- "delete-solid": IconSVG;
238
- "doc-checkmark": IconSVG;
239
- "dock-bottom": IconSVG;
240
- "dock-none": IconSVG;
241
- "dock-side": IconSVG;
242
- document: IconSVG;
243
- "document-clipboard": IconSVG;
244
- dot: IconSVG;
245
- "dot-solid": IconSVG;
246
- drag: IconSVG;
247
- dropper: IconSVG;
248
- duplicate: IconSVG;
249
- edit: IconSVG;
250
- ellipses: IconSVG;
251
- envelope: IconSVG;
252
- "exclamation-circle": IconSVG;
253
- "exclamation-circle-solid": IconSVG;
254
- "exclamation-mark": IconSVG;
255
- "exclamation-triangle": IconSVG;
256
- "exclamation-triangle-solid": IconSVG;
257
- "expand-all": IconSVG;
258
- "expand-details": IconSVG;
259
- expression: IconSVG;
260
- eye: IconSVG;
261
- "eye-hidden": IconSVG;
262
- "face-frown": IconSVG;
263
- "face-smile": IconSVG;
264
- "face-smile-solid": IconSVG;
265
- "fast-forward": IconSVG;
266
- "fast-forward-10": IconSVG;
267
- film: IconSVG;
268
- filter: IconSVG;
269
- "filter-solid": IconSVG;
270
- flag: IconSVG;
271
- "flag-solid": IconSVG;
272
- fold: IconSVG;
273
- folder: IconSVG;
274
- fork: IconSVG;
275
- "gear-solid": IconSVG;
276
- globe: IconSVG;
277
- "globe-alt": IconSVG;
278
- group: IconSVG;
279
- "group-boxes": IconSVG;
280
- hand: IconSVG;
281
- hash: IconSVG;
282
- heading: IconSVG;
283
- home: IconSVG;
284
- "home-solid": IconSVG;
285
- "horizontal-rule": IconSVG;
286
- hourglass: IconSVG;
287
- "hourglass-end": IconSVG;
288
- "hourglass-mid": IconSVG;
289
- "hourglass-start": IconSVG;
290
- identification: IconSVG;
291
- image: IconSVG;
292
- inbox: IconSVG;
293
- infinity: IconSVG;
294
- "information-circle": IconSVG;
295
- "information-circle-solid": IconSVG;
296
- inspect: IconSVG;
297
- italic: IconSVG;
298
- key: IconSVG;
299
- keyboard: IconSVG;
300
- "laptop-phone": IconSVG;
301
- layers: IconSVG;
302
- lifebuoy: IconSVG;
303
- lightbulb: IconSVG;
304
- "lightning-bolt": IconSVG;
305
- "lightning-bolt-solid": IconSVG;
306
- link: IconSVG;
307
- "list-ordered": IconSVG;
308
- "list-unordered": IconSVG;
309
- lock: IconSVG;
310
- "lock-solid": IconSVG;
311
- login: IconSVG;
312
- looping: IconSVG;
313
- "looping-off": IconSVG;
314
- map: IconSVG;
315
- "map-drives": IconSVG;
316
- "map-pin": IconSVG;
317
- markdown: IconSVG;
318
- maximize: IconSVG;
319
- megaphone: IconSVG;
320
- merge: IconSVG;
321
- meter: IconSVG;
322
- minimize: IconSVG;
323
- minus: IconSVG;
324
- "minus-circle": IconSVG;
325
- "minus-circle-solid": IconSVG;
326
- moon: IconSVG;
327
- multiselect: IconSVG;
328
- "music-note": IconSVG;
329
- newspaper: IconSVG;
330
- "not-allowed": IconSVG;
331
- numbers: IconSVG;
332
- "office-building": IconSVG;
333
- outline: IconSVG;
334
- "paper-airplane": IconSVG;
335
- "paper-clip": IconSVG;
336
- pause: IconSVG;
337
- "pencil-square": IconSVG;
338
- "person-2": IconSVG;
339
- "person-3": IconSVG;
340
- "person-circle": IconSVG;
341
- "person-solid": IconSVG;
342
- phone: IconSVG;
343
- "picture-in-picture": IconSVG;
344
- "pie-chart": IconSVG;
345
- pin: IconSVG;
346
- "pin-solid": IconSVG;
347
- "pizza-slice": IconSVG;
348
- play: IconSVG;
349
- plug: IconSVG;
350
- "plus-circle": IconSVG;
351
- "plus-circle-solid": IconSVG;
352
- "plus-minus": IconSVG;
353
- pointer: IconSVG;
354
- "pointer-solid": IconSVG;
355
- "priority-high": IconSVG;
356
- "priority-low": IconSVG;
357
- "priority-medium": IconSVG;
358
- projector: IconSVG;
359
- "pull-close": IconSVG;
360
- "pull-draft": IconSVG;
361
- "pull-open": IconSVG;
362
- pulse: IconSVG;
363
- "puzzle-piece": IconSVG;
364
- "question-mark-circle": IconSVG;
365
- "question-mark-circle-solid": IconSVG;
366
- "rectangle-group": IconSVG;
367
- "rectangle-stack-horizontal": IconSVG;
368
- "rectangle-stack-vertical": IconSVG;
369
- redo: IconSVG;
370
- reply: IconSVG;
371
- rewind: IconSVG;
372
- "rewind-10": IconSVG;
373
- rocketship: IconSVG;
374
- running: IconSVG;
375
- scale: IconSVG;
376
- scissors: IconSVG;
377
- sensor: IconSVG;
378
- server: IconSVG;
379
- "server-stack": IconSVG;
380
- shapes: IconSVG;
381
- share: IconSVG;
382
- signal: IconSVG;
383
- "signal-slash": IconSVG;
384
- signpost: IconSVG;
385
- "sort-ascending": IconSVG;
386
- "sort-descending": IconSVG;
387
- soundwave: IconSVG;
388
- "sparkles-solid": IconSVG;
389
- "split-horizontal": IconSVG;
390
- "split-none": IconSVG;
391
- star: IconSVG;
392
- "star-half": IconSVG;
393
- "star-stroke": IconSVG;
394
- start: IconSVG;
395
- "status-offline": IconSVG;
396
- "status-online": IconSVG;
397
- stop: IconSVG;
398
- "stop-sign": IconSVG;
399
- stopwatch: IconSVG;
400
- strikethrough: IconSVG;
401
- sun: IconSVG;
402
- swatch: IconSVG;
403
- switch: IconSVG;
404
- "switch-apps": IconSVG;
405
- table: IconSVG;
406
- tag: IconSVG;
407
- task: IconSVG;
408
- telescope: IconSVG;
409
- template: IconSVG;
410
- terminal: IconSVG;
411
- thumb: IconSVG;
412
- "thumb-solid": IconSVG;
413
- "traffic-cone": IconSVG;
414
- "transparent-box": IconSVG;
415
- "trend-down": IconSVG;
416
- "trend-up": IconSVG;
417
- trophy: IconSVG;
418
- truck: IconSVG;
419
- typography: IconSVG;
420
- undo: IconSVG;
421
- unlock: IconSVG;
422
- "unlock-solid": IconSVG;
423
- upload: IconSVG;
424
- "video-camera": IconSVG;
425
- "view-as-grid": IconSVG;
426
- volume: IconSVG;
427
- "volume-muted": IconSVG;
428
- "volume-solid": IconSVG;
429
- wifi: IconSVG;
430
- wrench: IconSVG;
431
- "wrench-solid": IconSVG;
432
- "x-circle": IconSVG;
433
- "x-circle-solid": IconSVG;
434
- "zoom-in": IconSVG;
435
- "zoom-out": IconSVG;
436
- };
437
134
  export type IconName = "placeholder" | "caret" | "person" | "menu" | "cancel" | "gear" | "chevron" | "logout" | "copy" | "more-actions" | "add" | "arrow" | "delete" | "download" | "search" | "split-vertical" | "sparkles" | "branch" | "refresh" | "double-chevron" | "academic-cap" | "add-asset" | "add-comment" | "add-grid" | "add-user" | "ancestors" | "archive" | "arrow-angle" | "arrow-both" | "arrow-cycle" | "arrow-path-rounded-square" | "arrow-stop" | "at-symbol" | "backspace" | "bar-pill-stack" | "bars-3" | "bars-3-bottom-left" | "bars-3-bottom-right" | "bars-3-center-left" | "bars-4" | "beaker" | "bell" | "bell-slash" | "bold" | "book" | "bookmark" | "bounding-box" | "briefcase" | "broadcast" | "browser" | "bug" | "calendar" | "camera" | "carets-closed-square" | "carousel" | "category-list" | "chart-bar" | "chat-bubble" | "chat-bubbles" | "check" | "check-badge" | "checklist" | "checkmark-circle" | "chip" | "circle" | "circle-angled-line" | "circle-dash" | "circle-dot" | "circle-dot-arrows" | "circle-half" | "circle-rule" | "circle-tick" | "clipboard" | "clock" | "clock-circle-arrow" | "cloud" | "cloud-download" | "cloud-upload" | "code" | "collapse-all" | "collapse-details" | "color-palette" | "columns" | "compare" | "computer" | "connect-node" | "connected-blocks" | "cross-hairs" | "cursor-rays" | "cursor-ripples" | "data-management" | "delete-node" | "doc-checkmark" | "dock-bottom" | "dock-none" | "dock-side" | "document" | "document-clipboard" | "dot" | "drag" | "dropper" | "duplicate" | "edit" | "ellipses" | "envelope" | "exclamation-circle" | "exclamation-mark" | "exclamation-triangle" | "expand-all" | "expand-details" | "expression" | "eye" | "eye-hidden" | "face-frown" | "face-smile" | "fast-forward" | "fast-forward-10" | "film" | "filter" | "flag" | "fold" | "folder" | "fork" | "globe" | "globe-alt" | "group" | "group-boxes" | "hand" | "hash" | "heading" | "home" | "horizontal-rule" | "hourglass" | "hourglass-end" | "hourglass-mid" | "hourglass-start" | "identification" | "image" | "inbox" | "infinity" | "information-circle" | "inspect" | "italic" | "key" | "keyboard" | "laptop-phone" | "layers" | "lifebuoy" | "lightbulb" | "lightning-bolt" | "link" | "list-ordered" | "list-unordered" | "lock" | "login" | "looping" | "looping-off" | "map" | "map-drives" | "map-pin" | "markdown" | "maximize" | "megaphone" | "merge" | "meter" | "minimize" | "minus" | "minus-circle" | "moon" | "multiselect" | "music-note" | "newspaper" | "not-allowed" | "numbers" | "office-building" | "outline" | "paper-airplane" | "paper-clip" | "pause" | "pencil-square" | "person-2" | "person-3" | "person-circle" | "phone" | "picture-in-picture" | "pie-chart" | "pin" | "pizza-slice" | "play" | "plug" | "plus-circle" | "plus-minus" | "pointer" | "priority-high" | "priority-low" | "priority-medium" | "projector" | "pull-close" | "pull-draft" | "pull-open" | "pulse" | "puzzle-piece" | "question-mark-circle" | "rectangle-group" | "rectangle-stack-horizontal" | "rectangle-stack-vertical" | "redo" | "reply" | "rewind" | "rewind-10" | "rocketship" | "running" | "scale" | "scissors" | "sensor" | "server" | "server-stack" | "shapes" | "share" | "signal" | "signal-slash" | "signpost" | "sort-ascending" | "sort-descending" | "soundwave" | "split-horizontal" | "split-none" | "star" | "star-half" | "star-stroke" | "start" | "status-offline" | "status-online" | "stop" | "stop-sign" | "stopwatch" | "strikethrough" | "sun" | "swatch" | "switch" | "switch-apps" | "table" | "tag" | "task" | "telescope" | "template" | "terminal" | "thumb" | "traffic-cone" | "transparent-box" | "trend-down" | "trend-up" | "trophy" | "truck" | "typography" | "undo" | "unlock" | "upload" | "video-camera" | "view-as-grid" | "volume" | "volume-muted" | "wifi" | "wrench" | "x-circle" | "zoom-in" | "zoom-out";
438
- export type IconNameSolid = "bell" | "book" | "bookmark" | "chat-bubble" | "check-badge" | "checkmark-circle" | "circle-angled-line" | "delete" | "dot" | "exclamation-circle" | "exclamation-triangle" | "face-smile" | "filter" | "flag" | "gear" | "home" | "information-circle" | "lightning-bolt" | "lock" | "minus-circle" | "person" | "pin" | "plus-circle" | "pointer" | "question-mark-circle" | "sparkles" | "thumb" | "unlock" | "volume" | "wrench" | "x-circle";
439
- export declare const ICON_NAMES_SOLID: readonly IconNameSolid[];
440
- export declare const ICON_NAMES: IconName[];
441
- /**
442
- * @element nve-icon
443
- * @since 0.1.3
444
- * @entrypoint \@nvidia-elements/core/icon
445
- * @description An icon is a graphic symbol designed to visually show the purpose of an interface element.
446
- * @documentation https://nvidia.github.io/elements/docs/elements/icon/
447
- * @cssprop --color
448
- * @cssprop --width
449
- * @cssprop --height
450
- * @slot - Custom SVG content to override the named icon
451
- * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
452
- */
453
- export declare class Icon extends LitElement {
454
- #private;
455
- /**
456
- * Visual treatment to represent current support status.
457
- */
458
- status?: "warning" | "danger" | "success" | "accent";
459
- /**
460
- * Controls the bounding box size of the icon given a t-shirt style value.
461
- */
462
- size?: Size | "xs" | "xl";
463
- /**
464
- * Sets the direction of the icon. Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions)
465
- */
466
- direction?: "up" | "down" | "left" | "right";
467
- /**
468
- * Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to
469
- * the outline form when that asset is unavailable.
470
- */
471
- appearance?: "outline" | "solid";
472
- /**
473
- * The name of the icon SVG sprite to render.
474
- */
475
- name?: IconName;
476
- private svg;
477
- static styles: CSSResult[];
478
- static readonly metadata: {
479
- tag: string;
480
- version: string;
481
- };
482
- static _icons: {
483
- [key: string]: IconSVG;
484
- };
485
- private static get _iconsRegistry();
486
- private static set _iconsRegistry(value);
487
- private static get registeredIcon();
488
- /** @private */
489
- _internals: ElementInternals;
490
- render(): TemplateResult<1>;
491
- connectedCallback(): void;
492
- disconnectedCallback(): void;
493
- static add(icons: {
494
- [key: string]: IconSVG;
495
- }): Promise<void>;
496
- static alias(aliases: {
497
- [key: string]: IconName | string;
498
- }): void;
499
- updated(props: PropertyValues<this>): Promise<void>;
500
- }
501
- export declare function mergeIcons(RegisteredIcon: typeof Icon): void;
502
135
  export type Color = "red-cardinal" | "gray-slate" | "gray-denim" | "blue-indigo" | "blue-cobalt" | "blue-sky" | "teal-cyan" | "green-mint" | "teal-seafoam" | "green-grass" | "yellow-amber" | "orange-pumpkin" | "red-tomato" | "pink-magenta" | "purple-plum" | "purple-violet" | "purple-lavender" | "pink-rose" | "green-jade" | "lime-pear" | "yellow-nova" | "brand-green";
503
136
  /** Controls the visual scale of an element to match its importance and available space.
504
137
  * - `sm` - Compact size for dense layouts or secondary elements with less visual prominence.
@@ -944,126 +577,493 @@ export interface ButtonFormControlMixinInstance {
944
577
  * @attr type
945
578
  * @reflect
946
579
  */
947
- type: ButtonType;
580
+ type: ButtonType;
581
+ /**
582
+ * Prevents the user from interacting with the button.
583
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-disabled
584
+ * @attr disabled
585
+ * @reflect
586
+ */
587
+ disabled: boolean;
588
+ /**
589
+ * Sets selected state when the button belongs to a multi-choice selection group.
590
+ * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
591
+ * @attr selected
592
+ * @reflect
593
+ */
594
+ selected: boolean;
595
+ /**
596
+ * Sets the current state used to represent the current page or navigation link.
597
+ * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current
598
+ * @attr current
599
+ * @reflect
600
+ */
601
+ current: CurrentState;
602
+ /**
603
+ * Establishes a relationship between a popover and its invoker button.
604
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement
605
+ * @attr popovertarget
606
+ * @reflect
607
+ */
608
+ popoverTargetElement: HTMLElement | null;
609
+ /**
610
+ * The popover target action to perform on the popover target element.
611
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction
612
+ * @attr popovertargetaction
613
+ * @reflect
614
+ */
615
+ popoverTargetAction: PopoverTargetAction;
616
+ /**
617
+ * The element that receives the command.
618
+ * https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
619
+ * @attr commandfor
620
+ * @reflect
621
+ */
622
+ commandForElement: HTMLElement | null;
623
+ /**
624
+ * The command to execute on the element.
625
+ * https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
626
+ * @attr command
627
+ * @reflect
628
+ */
629
+ command: string;
948
630
  /**
949
- * Prevents the user from interacting with the button.
950
- * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-disabled
951
- * @attr disabled
631
+ * The element that receives the interest.
632
+ * https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement
633
+ * @attr interestfor
952
634
  * @reflect
953
635
  */
954
- disabled: boolean;
636
+ interestForElement: HTMLElement | null;
637
+ _internals: ElementInternals;
638
+ }
639
+ export interface ButtonFormControlHost {
640
+ connectedCallback?(): void;
641
+ disconnectedCallback?(): void;
642
+ attributeChangedCallback?(name: string, oldValue: string | null, newValue: string | null): void;
643
+ requestUpdate?(name?: string, oldValue?: unknown): void;
644
+ updateComplete?: Promise<unknown>;
645
+ }
646
+ type Constructor$1 = (new (...args: any[]) => HTMLElement & ButtonFormControlHost) & {
647
+ observedAttributes?: string[];
648
+ };
649
+ export type ButtonFormControlConstructor<TBase extends Constructor$1> = new (...args: ConstructorParameters<TBase>) => InstanceType<TBase> & ButtonFormControlMixinInstance;
650
+ export type ButtonFormControlMixinReturn<TBase extends Constructor$1> = ButtonFormControlConstructor<TBase> & {
651
+ formAssociated: boolean;
652
+ observedAttributes: string[];
653
+ } & Omit<TBase, "prototype">;
654
+ declare const Button_base: ButtonFormControlMixinReturn<typeof LitElement>;
655
+ /**
656
+ * @element nve-button
657
+ * @description A button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
658
+ * @documentation https://nvidia.github.io/elements/docs/elements/button/
659
+ * @since 0.1.3
660
+ * @entrypoint \@nvidia-elements/core/button
661
+ * @slot - slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content.
662
+ * @cssprop --background
663
+ * @cssprop --color
664
+ * @cssprop --padding
665
+ * @cssprop --border
666
+ * @cssprop --border-radius
667
+ * @cssprop --font-weight
668
+ * @cssprop --font-size
669
+ * @cssprop --text-decoration
670
+ * @cssprop --text-align
671
+ * @cssprop --cursor
672
+ * @cssprop --gap
673
+ * @cssprop --height
674
+ * @cssprop --text-transform
675
+ * @cssprop --line-height
676
+ * @cssprop --width
677
+ * @cssprop --min-width
678
+ * @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
679
+ */
680
+ export declare class Button extends Button_base {
681
+ static styles: CSSResult[];
682
+ static readonly metadata: {
683
+ tag: string;
684
+ version: string;
685
+ };
955
686
  /**
956
- * Sets selected state when the button belongs to a multi-choice selection group.
957
- * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
958
- * @attr selected
959
- * @reflect
687
+ * Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text.
960
688
  */
961
- selected: boolean;
689
+ container?: "flat" | "inline";
962
690
  /**
963
- * Sets the current state used to represent the current page or navigation link.
964
- * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current
965
- * @attr current
966
- * @reflect
691
+ * Determines size of the button.
967
692
  */
968
- current: CurrentState;
693
+ size?: Size;
694
+ /**
695
+ * The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.
696
+ */
697
+ interaction: Interaction;
698
+ render(): TemplateResult<1>;
699
+ }
700
+ export interface IconSVG {
701
+ svg: () => Promise<string> | string;
702
+ }
703
+ export declare const ICON_IMPORTS: {
704
+ placeholder: IconSVG;
705
+ caret: IconSVG;
706
+ person: IconSVG;
707
+ menu: IconSVG;
708
+ cancel: IconSVG;
709
+ gear: IconSVG;
710
+ chevron: IconSVG;
711
+ logout: IconSVG;
712
+ copy: IconSVG;
713
+ "more-actions": IconSVG;
714
+ add: IconSVG;
715
+ arrow: IconSVG;
716
+ delete: IconSVG;
717
+ download: IconSVG;
718
+ search: IconSVG;
719
+ "split-vertical": IconSVG;
720
+ sparkles: IconSVG;
721
+ branch: IconSVG;
722
+ refresh: IconSVG;
723
+ "double-chevron": IconSVG;
724
+ "academic-cap": IconSVG;
725
+ "add-asset": IconSVG;
726
+ "add-comment": IconSVG;
727
+ "add-grid": IconSVG;
728
+ "add-user": IconSVG;
729
+ ancestors: IconSVG;
730
+ archive: IconSVG;
731
+ "arrow-angle": IconSVG;
732
+ "arrow-both": IconSVG;
733
+ "arrow-cycle": IconSVG;
734
+ "arrow-path-rounded-square": IconSVG;
735
+ "arrow-stop": IconSVG;
736
+ "at-symbol": IconSVG;
737
+ backspace: IconSVG;
738
+ "bar-pill-stack": IconSVG;
739
+ "bars-3": IconSVG;
740
+ "bars-3-bottom-left": IconSVG;
741
+ "bars-3-bottom-right": IconSVG;
742
+ "bars-3-center-left": IconSVG;
743
+ "bars-4": IconSVG;
744
+ beaker: IconSVG;
745
+ bell: IconSVG;
746
+ "bell-slash": IconSVG;
747
+ "bell-solid": IconSVG;
748
+ bold: IconSVG;
749
+ book: IconSVG;
750
+ "book-solid": IconSVG;
751
+ bookmark: IconSVG;
752
+ "bookmark-solid": IconSVG;
753
+ "bounding-box": IconSVG;
754
+ briefcase: IconSVG;
755
+ broadcast: IconSVG;
756
+ browser: IconSVG;
757
+ bug: IconSVG;
758
+ calendar: IconSVG;
759
+ camera: IconSVG;
760
+ "carets-closed-square": IconSVG;
761
+ carousel: IconSVG;
762
+ "category-list": IconSVG;
763
+ "chart-bar": IconSVG;
764
+ "chat-bubble": IconSVG;
765
+ "chat-bubble-solid": IconSVG;
766
+ "chat-bubbles": IconSVG;
767
+ check: IconSVG;
768
+ "check-badge": IconSVG;
769
+ "check-badge-solid": IconSVG;
770
+ checklist: IconSVG;
771
+ "checkmark-circle": IconSVG;
772
+ "checkmark-circle-solid": IconSVG;
773
+ chip: IconSVG;
774
+ circle: IconSVG;
775
+ "circle-angled-line": IconSVG;
776
+ "circle-angled-line-solid": IconSVG;
777
+ "circle-dash": IconSVG;
778
+ "circle-dot": IconSVG;
779
+ "circle-dot-arrows": IconSVG;
780
+ "circle-half": IconSVG;
781
+ "circle-rule": IconSVG;
782
+ "circle-tick": IconSVG;
783
+ clipboard: IconSVG;
784
+ clock: IconSVG;
785
+ "clock-circle-arrow": IconSVG;
786
+ cloud: IconSVG;
787
+ "cloud-download": IconSVG;
788
+ "cloud-upload": IconSVG;
789
+ code: IconSVG;
790
+ "collapse-all": IconSVG;
791
+ "collapse-details": IconSVG;
792
+ "color-palette": IconSVG;
793
+ columns: IconSVG;
794
+ compare: IconSVG;
795
+ computer: IconSVG;
796
+ "connect-node": IconSVG;
797
+ "connected-blocks": IconSVG;
798
+ "cross-hairs": IconSVG;
799
+ "cursor-rays": IconSVG;
800
+ "cursor-ripples": IconSVG;
801
+ "data-management": IconSVG;
802
+ "delete-node": IconSVG;
803
+ "delete-solid": IconSVG;
804
+ "doc-checkmark": IconSVG;
805
+ "dock-bottom": IconSVG;
806
+ "dock-none": IconSVG;
807
+ "dock-side": IconSVG;
808
+ document: IconSVG;
809
+ "document-clipboard": IconSVG;
810
+ dot: IconSVG;
811
+ "dot-solid": IconSVG;
812
+ drag: IconSVG;
813
+ dropper: IconSVG;
814
+ duplicate: IconSVG;
815
+ edit: IconSVG;
816
+ ellipses: IconSVG;
817
+ envelope: IconSVG;
818
+ "exclamation-circle": IconSVG;
819
+ "exclamation-circle-solid": IconSVG;
820
+ "exclamation-mark": IconSVG;
821
+ "exclamation-triangle": IconSVG;
822
+ "exclamation-triangle-solid": IconSVG;
823
+ "expand-all": IconSVG;
824
+ "expand-details": IconSVG;
825
+ expression: IconSVG;
826
+ eye: IconSVG;
827
+ "eye-hidden": IconSVG;
828
+ "face-frown": IconSVG;
829
+ "face-smile": IconSVG;
830
+ "face-smile-solid": IconSVG;
831
+ "fast-forward": IconSVG;
832
+ "fast-forward-10": IconSVG;
833
+ film: IconSVG;
834
+ filter: IconSVG;
835
+ "filter-solid": IconSVG;
836
+ flag: IconSVG;
837
+ "flag-solid": IconSVG;
838
+ fold: IconSVG;
839
+ folder: IconSVG;
840
+ fork: IconSVG;
841
+ "gear-solid": IconSVG;
842
+ globe: IconSVG;
843
+ "globe-alt": IconSVG;
844
+ group: IconSVG;
845
+ "group-boxes": IconSVG;
846
+ hand: IconSVG;
847
+ hash: IconSVG;
848
+ heading: IconSVG;
849
+ home: IconSVG;
850
+ "home-solid": IconSVG;
851
+ "horizontal-rule": IconSVG;
852
+ hourglass: IconSVG;
853
+ "hourglass-end": IconSVG;
854
+ "hourglass-mid": IconSVG;
855
+ "hourglass-start": IconSVG;
856
+ identification: IconSVG;
857
+ image: IconSVG;
858
+ inbox: IconSVG;
859
+ infinity: IconSVG;
860
+ "information-circle": IconSVG;
861
+ "information-circle-solid": IconSVG;
862
+ inspect: IconSVG;
863
+ italic: IconSVG;
864
+ key: IconSVG;
865
+ keyboard: IconSVG;
866
+ "laptop-phone": IconSVG;
867
+ layers: IconSVG;
868
+ lifebuoy: IconSVG;
869
+ lightbulb: IconSVG;
870
+ "lightning-bolt": IconSVG;
871
+ "lightning-bolt-solid": IconSVG;
872
+ link: IconSVG;
873
+ "list-ordered": IconSVG;
874
+ "list-unordered": IconSVG;
875
+ lock: IconSVG;
876
+ "lock-solid": IconSVG;
877
+ login: IconSVG;
878
+ looping: IconSVG;
879
+ "looping-off": IconSVG;
880
+ map: IconSVG;
881
+ "map-drives": IconSVG;
882
+ "map-pin": IconSVG;
883
+ markdown: IconSVG;
884
+ maximize: IconSVG;
885
+ megaphone: IconSVG;
886
+ merge: IconSVG;
887
+ meter: IconSVG;
888
+ minimize: IconSVG;
889
+ minus: IconSVG;
890
+ "minus-circle": IconSVG;
891
+ "minus-circle-solid": IconSVG;
892
+ moon: IconSVG;
893
+ multiselect: IconSVG;
894
+ "music-note": IconSVG;
895
+ newspaper: IconSVG;
896
+ "not-allowed": IconSVG;
897
+ numbers: IconSVG;
898
+ "office-building": IconSVG;
899
+ outline: IconSVG;
900
+ "paper-airplane": IconSVG;
901
+ "paper-clip": IconSVG;
902
+ pause: IconSVG;
903
+ "pencil-square": IconSVG;
904
+ "person-2": IconSVG;
905
+ "person-3": IconSVG;
906
+ "person-circle": IconSVG;
907
+ "person-solid": IconSVG;
908
+ phone: IconSVG;
909
+ "picture-in-picture": IconSVG;
910
+ "pie-chart": IconSVG;
911
+ pin: IconSVG;
912
+ "pin-solid": IconSVG;
913
+ "pizza-slice": IconSVG;
914
+ play: IconSVG;
915
+ plug: IconSVG;
916
+ "plus-circle": IconSVG;
917
+ "plus-circle-solid": IconSVG;
918
+ "plus-minus": IconSVG;
919
+ pointer: IconSVG;
920
+ "pointer-solid": IconSVG;
921
+ "priority-high": IconSVG;
922
+ "priority-low": IconSVG;
923
+ "priority-medium": IconSVG;
924
+ projector: IconSVG;
925
+ "pull-close": IconSVG;
926
+ "pull-draft": IconSVG;
927
+ "pull-open": IconSVG;
928
+ pulse: IconSVG;
929
+ "puzzle-piece": IconSVG;
930
+ "question-mark-circle": IconSVG;
931
+ "question-mark-circle-solid": IconSVG;
932
+ "rectangle-group": IconSVG;
933
+ "rectangle-stack-horizontal": IconSVG;
934
+ "rectangle-stack-vertical": IconSVG;
935
+ redo: IconSVG;
936
+ reply: IconSVG;
937
+ rewind: IconSVG;
938
+ "rewind-10": IconSVG;
939
+ rocketship: IconSVG;
940
+ running: IconSVG;
941
+ scale: IconSVG;
942
+ scissors: IconSVG;
943
+ sensor: IconSVG;
944
+ server: IconSVG;
945
+ "server-stack": IconSVG;
946
+ shapes: IconSVG;
947
+ share: IconSVG;
948
+ signal: IconSVG;
949
+ "signal-slash": IconSVG;
950
+ signpost: IconSVG;
951
+ "sort-ascending": IconSVG;
952
+ "sort-descending": IconSVG;
953
+ soundwave: IconSVG;
954
+ "sparkles-solid": IconSVG;
955
+ "split-horizontal": IconSVG;
956
+ "split-none": IconSVG;
957
+ star: IconSVG;
958
+ "star-half": IconSVG;
959
+ "star-stroke": IconSVG;
960
+ start: IconSVG;
961
+ "status-offline": IconSVG;
962
+ "status-online": IconSVG;
963
+ stop: IconSVG;
964
+ "stop-sign": IconSVG;
965
+ stopwatch: IconSVG;
966
+ strikethrough: IconSVG;
967
+ sun: IconSVG;
968
+ swatch: IconSVG;
969
+ switch: IconSVG;
970
+ "switch-apps": IconSVG;
971
+ table: IconSVG;
972
+ tag: IconSVG;
973
+ task: IconSVG;
974
+ telescope: IconSVG;
975
+ template: IconSVG;
976
+ terminal: IconSVG;
977
+ thumb: IconSVG;
978
+ "thumb-solid": IconSVG;
979
+ "traffic-cone": IconSVG;
980
+ "transparent-box": IconSVG;
981
+ "trend-down": IconSVG;
982
+ "trend-up": IconSVG;
983
+ trophy: IconSVG;
984
+ truck: IconSVG;
985
+ typography: IconSVG;
986
+ undo: IconSVG;
987
+ unlock: IconSVG;
988
+ "unlock-solid": IconSVG;
989
+ upload: IconSVG;
990
+ "video-camera": IconSVG;
991
+ "view-as-grid": IconSVG;
992
+ volume: IconSVG;
993
+ "volume-muted": IconSVG;
994
+ "volume-solid": IconSVG;
995
+ wifi: IconSVG;
996
+ wrench: IconSVG;
997
+ "wrench-solid": IconSVG;
998
+ "x-circle": IconSVG;
999
+ "x-circle-solid": IconSVG;
1000
+ "zoom-in": IconSVG;
1001
+ "zoom-out": IconSVG;
1002
+ };
1003
+ export type IconNameSolid = "bell" | "book" | "bookmark" | "chat-bubble" | "check-badge" | "checkmark-circle" | "circle-angled-line" | "delete" | "dot" | "exclamation-circle" | "exclamation-triangle" | "face-smile" | "filter" | "flag" | "gear" | "home" | "information-circle" | "lightning-bolt" | "lock" | "minus-circle" | "person" | "pin" | "plus-circle" | "pointer" | "question-mark-circle" | "sparkles" | "thumb" | "unlock" | "volume" | "wrench" | "x-circle";
1004
+ export declare const ICON_NAMES_SOLID: readonly IconNameSolid[];
1005
+ export declare const ICON_NAMES: IconName[];
1006
+ /**
1007
+ * @element nve-icon
1008
+ * @since 0.1.3
1009
+ * @entrypoint \@nvidia-elements/core/icon
1010
+ * @description An icon is a graphic symbol designed to visually show the purpose of an interface element.
1011
+ * @documentation https://nvidia.github.io/elements/docs/elements/icon/
1012
+ * @cssprop --color
1013
+ * @cssprop --width
1014
+ * @cssprop --height
1015
+ * @slot - Custom SVG content to override the named icon
1016
+ * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
1017
+ */
1018
+ export declare class Icon extends LitElement {
1019
+ #private;
969
1020
  /**
970
- * Establishes a relationship between a popover and its invoker button.
971
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement
972
- * @attr popovertarget
973
- * @reflect
1021
+ * Visual treatment to represent current support status.
974
1022
  */
975
- popoverTargetElement: HTMLElement | null;
1023
+ status?: "warning" | "danger" | "success" | "accent";
976
1024
  /**
977
- * The popover target action to perform on the popover target element.
978
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction
979
- * @attr popovertargetaction
980
- * @reflect
1025
+ * Controls the bounding box size of the icon given a t-shirt style value.
981
1026
  */
982
- popoverTargetAction: PopoverTargetAction;
1027
+ size?: Size | "xs" | "xl";
983
1028
  /**
984
- * The element that receives the command.
985
- * https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
986
- * @attr commandfor
987
- * @reflect
1029
+ * Sets the direction of the icon. Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions)
988
1030
  */
989
- commandForElement: HTMLElement | null;
1031
+ direction?: "up" | "down" | "left" | "right";
990
1032
  /**
991
- * The command to execute on the element.
992
- * https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
993
- * @attr command
994
- * @reflect
1033
+ * Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to
1034
+ * the outline form when that asset is unavailable.
995
1035
  */
996
- command: string;
1036
+ appearance?: "outline" | "solid";
997
1037
  /**
998
- * The element that receives the interest.
999
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/interestForElement
1000
- * @attr interestfor
1001
- * @reflect
1038
+ * The name of the icon SVG sprite to render.
1002
1039
  */
1003
- interestForElement: HTMLElement | null;
1004
- _internals: ElementInternals;
1005
- }
1006
- export interface ButtonFormControlHost {
1007
- connectedCallback?(): void;
1008
- disconnectedCallback?(): void;
1009
- attributeChangedCallback?(name: string, oldValue: string | null, newValue: string | null): void;
1010
- requestUpdate?(name?: string, oldValue?: unknown): void;
1011
- updateComplete?: Promise<unknown>;
1012
- }
1013
- type Constructor$1 = (new (...args: any[]) => HTMLElement & ButtonFormControlHost) & {
1014
- observedAttributes?: string[];
1015
- };
1016
- export type ButtonFormControlConstructor<TBase extends Constructor$1> = new (...args: ConstructorParameters<TBase>) => InstanceType<TBase> & ButtonFormControlMixinInstance;
1017
- export type ButtonFormControlMixinReturn<TBase extends Constructor$1> = ButtonFormControlConstructor<TBase> & {
1018
- formAssociated: boolean;
1019
- observedAttributes: string[];
1020
- } & Omit<TBase, "prototype">;
1021
- declare const Button_base: ButtonFormControlMixinReturn<typeof LitElement>;
1022
- /**
1023
- * @element nve-button
1024
- * @description A button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
1025
- * @documentation https://nvidia.github.io/elements/docs/elements/button/
1026
- * @since 0.1.3
1027
- * @entrypoint \@nvidia-elements/core/button
1028
- * @slot - slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content.
1029
- * @cssprop --background
1030
- * @cssprop --color
1031
- * @cssprop --padding
1032
- * @cssprop --border
1033
- * @cssprop --border-radius
1034
- * @cssprop --font-weight
1035
- * @cssprop --font-size
1036
- * @cssprop --text-decoration
1037
- * @cssprop --text-align
1038
- * @cssprop --cursor
1039
- * @cssprop --gap
1040
- * @cssprop --height
1041
- * @cssprop --text-transform
1042
- * @cssprop --line-height
1043
- * @cssprop --width
1044
- * @cssprop --min-width
1045
- * @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
1046
- */
1047
- export declare class Button extends Button_base {
1040
+ name?: IconName;
1041
+ private svg;
1048
1042
  static styles: CSSResult[];
1049
1043
  static readonly metadata: {
1050
1044
  tag: string;
1051
1045
  version: string;
1052
1046
  };
1053
- /**
1054
- * Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text.
1055
- */
1056
- container?: "flat" | "inline";
1057
- /**
1058
- * Determines size of the button.
1059
- */
1060
- size?: Size;
1061
- /**
1062
- * The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.
1063
- */
1064
- interaction: Interaction;
1047
+ static _icons: {
1048
+ [key: string]: IconSVG;
1049
+ };
1050
+ private static get _iconsRegistry();
1051
+ private static set _iconsRegistry(value);
1052
+ private static get registeredIcon();
1053
+ /** @private */
1054
+ _internals: ElementInternals;
1065
1055
  render(): TemplateResult<1>;
1056
+ connectedCallback(): void;
1057
+ disconnectedCallback(): void;
1058
+ static add(icons: {
1059
+ [key: string]: IconSVG;
1060
+ }): Promise<void>;
1061
+ static alias(aliases: {
1062
+ [key: string]: IconName | string;
1063
+ }): void;
1064
+ updated(props: PropertyValues<this>): Promise<void>;
1066
1065
  }
1066
+ export declare function mergeIcons(RegisteredIcon: typeof Icon): void;
1067
1067
  /**
1068
1068
  * @element nve-icon-button
1069
1069
  * @description An icon button is a button that displays only an icon without a visual label.
@@ -2227,7 +2227,7 @@ export declare class Combobox extends Control implements ContainerElement {
2227
2227
  };
2228
2228
  protected _associateDatalist: boolean;
2229
2229
  protected get prefixContent(): TemplateResult<1>;
2230
- protected get suffixContent(): typeof nothing | TemplateResult<1>;
2230
+ protected get suffixContent(): TemplateResult<1> | typeof nothing;
2231
2231
  firstUpdated(props: PropertyValues<this>): Promise<void>;
2232
2232
  connectedCallback(): void;
2233
2233
  disconnectedCallback(): void;
@@ -4192,7 +4192,7 @@ export declare class Select extends Control {
4192
4192
  i18n: Partial<I18nStrings & {
4193
4193
  __set: boolean;
4194
4194
  }>;
4195
- protected get prefixContent(): typeof nothing | TemplateResult<1>;
4195
+ protected get prefixContent(): TemplateResult<1> | typeof nothing;
4196
4196
  protected get suffixContent(): TemplateResult<1>;
4197
4197
  firstUpdated(props: PropertyValues<this>): Promise<void>;
4198
4198
  connectedCallback(): void;
@@ -4728,7 +4728,7 @@ declare class Range$1 extends Control {
4728
4728
  connectedCallback(): void;
4729
4729
  firstUpdated(props: PropertyValues<this>): void;
4730
4730
  updated(props: PropertyValues<this>): void;
4731
- protected get suffixContent(): typeof nothing | TemplateResult<1>;
4731
+ protected get suffixContent(): TemplateResult<1> | typeof nothing;
4732
4732
  }
4733
4733
  declare const ResizeHandle_base: FormControlMixinReturn<typeof LitElement, number>;
4734
4734
  /**
@@ -5854,7 +5854,7 @@ export declare class ViewportGridlines extends LitElement {
5854
5854
  connectedCallback(): void;
5855
5855
  disconnectedCallback(): void;
5856
5856
  protected willUpdate(changed: PropertyValues<this>): void;
5857
- render(): typeof nothing | TemplateResult<1>;
5857
+ render(): TemplateResult<1> | typeof nothing;
5858
5858
  }
5859
5859
  /**
5860
5860
  * @element nve-viewport-minimap