@nvidia-elements/core 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.132.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/decorate.js +1 -1
- package/dist/accordion/accordion2.js +5 -5
- package/dist/alert/alert-group2.js +2 -2
- package/dist/alert/alert2.js +2 -2
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar.examples.js.map +1 -1
- package/dist/avatar/avatar.examples.json +1 -1
- package/dist/avatar/avatar2.js +2 -2
- package/dist/badge/badge2.js +2 -2
- package/dist/breadcrumb/breadcrumb2.js +2 -2
- package/dist/bundles/index.d.ts +6 -17
- package/dist/bundles/index.js +6 -6
- package/dist/button/button2.js +2 -2
- package/dist/button-group/button-group2.js +2 -2
- package/dist/card/card.examples.js.map +1 -1
- package/dist/card/card.examples.json +1 -1
- package/dist/card/card2.js +5 -5
- package/dist/chat-message/chat-message.d.ts +0 -2
- package/dist/chat-message/chat-message2.js +2 -2
- package/dist/chat-message/chat-message2.js.map +1 -1
- package/dist/checkbox/checkbox-group2.js +2 -2
- package/dist/checkbox/checkbox2.js +2 -2
- package/dist/color/color2.js +2 -2
- package/dist/combobox/combobox2.js +8 -8
- package/dist/copy-button/copy-button2.js +2 -2
- package/dist/custom-elements.json +155 -720
- package/dist/data.html.json +26 -3
- package/dist/data.snippets.json +27 -27
- package/dist/date/date2.js +2 -2
- package/dist/datetime/datetime2.js +2 -2
- package/dist/dialog/dialog-footer2.js +2 -2
- package/dist/dialog/dialog-header2.js +2 -2
- package/dist/dialog/dialog2.js +2 -2
- package/dist/divider/divider2.js +2 -2
- package/dist/dot/dot2.js +2 -2
- package/dist/drawer/drawer-content2.js +2 -2
- package/dist/drawer/drawer-footer2.js +2 -2
- package/dist/drawer/drawer-header2.js +2 -2
- package/dist/drawer/drawer2.js +2 -2
- package/dist/dropdown/dropdown-footer2.js +2 -2
- package/dist/dropdown/dropdown-header2.js +2 -2
- package/dist/dropdown/dropdown2.js +2 -2
- package/dist/dropdown-group/dropdown-group.d.ts +0 -1
- package/dist/dropdown-group/dropdown-group.js +2 -2
- package/dist/dropdown-group/dropdown-group.js.map +1 -1
- package/dist/dropzone/dropzone.d.ts +0 -1
- package/dist/dropzone/dropzone2.js +2 -2
- package/dist/dropzone/dropzone2.js.map +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime.d.ts +1 -0
- package/dist/format-datetime/format-datetime2.js +2 -2
- package/dist/format-datetime/format-datetime2.js.map +1 -1
- package/dist/format-number/format-number.d.ts +1 -0
- package/dist/format-number/format-number2.js +2 -2
- package/dist/format-number/format-number2.js.map +1 -1
- package/dist/format-relative-time/format-relative-time.d.ts +1 -0
- package/dist/format-relative-time/format-relative-time2.js +6 -3
- package/dist/format-relative-time/format-relative-time2.js.map +1 -1
- package/dist/forms/control/control.js +1 -1
- package/dist/forms/control/control.js.map +1 -1
- package/dist/forms/control/control2.js +39 -21
- package/dist/forms/control/control2.js.map +1 -1
- package/dist/forms/control-group/control-group.js +1 -1
- package/dist/forms/control-group/control-group.js.map +1 -1
- package/dist/forms/control-group/control-group2.js +2 -2
- package/dist/forms/control-group/control-group2.js.map +1 -1
- package/dist/forms/control-message/control-message2.js +2 -2
- package/dist/forms/utils/states.d.ts +6 -3
- package/dist/forms/utils/states.js +40 -32
- package/dist/forms/utils/states.js.map +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +2 -2
- package/dist/grid/footer/footer2.js +2 -2
- package/dist/grid/grid2.js +2 -2
- package/dist/grid/header/header2.js +2 -2
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +2 -2
- package/dist/icon/icon2.js +3 -3
- package/dist/icon-button/icon-button2.js +2 -2
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +2 -2
- package/dist/internal/controllers/keynav-grid.controller.js +22 -18
- package/dist/internal/controllers/keynav-grid.controller.js.map +1 -1
- package/dist/internal/controllers/keynav-list.controller.d.ts +1 -0
- package/dist/internal/controllers/keynav-list.controller.js +6 -1
- package/dist/internal/controllers/keynav-list.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.controller.js +70 -40
- package/dist/internal/controllers/type-native-popover.controller.js.map +1 -1
- package/dist/internal/index.d.ts +0 -9
- package/dist/internal/index.js +20 -29
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/services/log.service.js +1 -1
- package/dist/internal/services/log.service.js.map +1 -1
- package/dist/internal/types/index.d.ts +3 -0
- package/dist/internal/types/index.js.map +1 -1
- package/dist/internal/utils/dom.d.ts +1 -1
- package/dist/internal/utils/dom.js +71 -54
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/logo/logo2.js +2 -2
- package/dist/menu/menu-item2.js +2 -2
- package/dist/menu/menu2.js +2 -2
- package/dist/month/month2.js +2 -2
- package/dist/notification/notification-group2.js +2 -2
- package/dist/notification/notification2.js +2 -2
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +2 -2
- package/dist/page/page-panel/page-panel-header2.js +2 -2
- package/dist/page/page-panel/page-panel2.js +2 -2
- package/dist/page/page.examples.js.map +1 -1
- package/dist/page/page.examples.json +1 -1
- package/dist/page/page2.js +2 -2
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +2 -2
- package/dist/pagination/pagination2.js +2 -2
- package/dist/panel/panel2.js +5 -5
- package/dist/password/password2.js +2 -2
- package/dist/preferences-input/preferences-input.js +1 -1
- package/dist/preferences-input/preferences-input.js.map +1 -1
- package/dist/preferences-input/preferences-input2.js +2 -2
- package/dist/progress-bar/progress-bar2.js +2 -2
- package/dist/progress-ring/progress-ring2.js +2 -2
- package/dist/progressive-filter-chip/progressive-filter-chip.examples.js.map +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip.examples.json +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +2 -2
- package/dist/pulse/pulse2.js +2 -2
- package/dist/radio/radio-group2.js +2 -2
- package/dist/radio/radio2.js +2 -2
- package/dist/range/range2.js +2 -2
- package/dist/resize-handle/resize-handle2.js +2 -2
- package/dist/search/search2.js +2 -2
- package/dist/select/select2.js +35 -21
- package/dist/select/select2.js.map +1 -1
- package/dist/skeleton/skeleton2.js +2 -2
- package/dist/sort-button/sort-button2.js +2 -2
- package/dist/sparkline/sparkline.utils.js +4 -2
- package/dist/sparkline/sparkline.utils.js.map +1 -1
- package/dist/sparkline/sparkline2.js +2 -2
- package/dist/star-rating/star-rating2.js +2 -2
- package/dist/steps/steps2.js +3 -3
- package/dist/switch/switch-group2.js +2 -2
- package/dist/switch/switch2.js +2 -2
- package/dist/tabs/tabs-group2.js +2 -2
- package/dist/tabs/tabs.examples.js.map +1 -1
- package/dist/tabs/tabs.examples.json +1 -1
- package/dist/tabs/tabs2.js +3 -3
- package/dist/tag/tag2.js +2 -2
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +2 -2
- package/dist/toast/toast2.js +2 -2
- package/dist/toggletip/toggletip-footer.d.ts +1 -1
- package/dist/toggletip/toggletip-footer2.js +2 -2
- package/dist/toggletip/toggletip-footer2.js.map +1 -1
- package/dist/toggletip/toggletip-header.d.ts +1 -1
- package/dist/toggletip/toggletip-header2.js +2 -2
- package/dist/toggletip/toggletip-header2.js.map +1 -1
- package/dist/toggletip/toggletip2.js +2 -2
- package/dist/toolbar/toolbar2.js +2 -2
- package/dist/tooltip/tooltip2.js +2 -2
- package/dist/tree/tree-node2.js +2 -2
- package/dist/tree/tree2.js +2 -2
- package/dist/week/week2.js +2 -2
- package/package.json +8 -8
- package/dist/internal/controllers/state-active.controller.d.ts +0 -18
- package/dist/internal/controllers/state-active.controller.js +0 -29
- package/dist/internal/controllers/state-active.controller.js.map +0 -1
- package/dist/internal/controllers/state-current.controller.d.ts +0 -18
- package/dist/internal/controllers/state-current.controller.js +0 -28
- package/dist/internal/controllers/state-current.controller.js.map +0 -1
- package/dist/internal/controllers/state-disabled.controller.d.ts +0 -18
- package/dist/internal/controllers/state-disabled.controller.js +0 -20
- package/dist/internal/controllers/state-disabled.controller.js.map +0 -1
- package/dist/internal/controllers/state-pressed.controller.d.ts +0 -18
- package/dist/internal/controllers/state-pressed.controller.js +0 -20
- package/dist/internal/controllers/state-pressed.controller.js.map +0 -1
- package/dist/internal/controllers/type-button.controller.d.ts +0 -18
- package/dist/internal/controllers/type-button.controller.examples.js +0 -6
- package/dist/internal/controllers/type-button.controller.examples.js.map +0 -1
- package/dist/internal/controllers/type-button.controller.examples.json +0 -16
- package/dist/internal/controllers/type-button.controller.js +0 -21
- package/dist/internal/controllers/type-button.controller.js.map +0 -1
- package/dist/internal/controllers/type-command.controller.d.ts +0 -25
- package/dist/internal/controllers/type-command.controller.js +0 -38
- package/dist/internal/controllers/type-command.controller.js.map +0 -1
- package/dist/internal/controllers/type-interest.controller.d.ts +0 -23
- package/dist/internal/controllers/type-interest.controller.js +0 -51
- package/dist/internal/controllers/type-interest.controller.js.map +0 -1
- package/dist/internal/controllers/type-native-popover-trigger.controller.d.ts +0 -16
- package/dist/internal/controllers/type-native-popover-trigger.controller.js +0 -25
- package/dist/internal/controllers/type-native-popover-trigger.controller.js.map +0 -1
- package/dist/internal/controllers/type-submit.controller.d.ts +0 -22
- package/dist/internal/controllers/type-submit.controller.js +0 -49
- package/dist/internal/controllers/type-submit.controller.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
## <small>2.0.3 (2026-07-08)</small>
|
|
2
|
+
|
|
3
|
+
* fix(cli): correct case sensitive identifiers ([6c8cd2b](https://github.com/NVIDIA/elements/commit/6c8cd2b))
|
|
4
|
+
* fix(cli): correct metadata description length limit ([1682f8d](https://github.com/NVIDIA/elements/commit/1682f8d))
|
|
5
|
+
* fix(cli): improve skills validation ([fe42614](https://github.com/NVIDIA/elements/commit/fe42614))
|
|
6
|
+
* fix(cli): version and updater checks ([e6979e0](https://github.com/NVIDIA/elements/commit/e6979e0))
|
|
7
|
+
* fix(core): restore preferences input label capitalization ([45f9dd1](https://github.com/NVIDIA/elements/commit/45f9dd1))
|
|
8
|
+
* fix(docs): iframe example paths ([eddbd96](https://github.com/NVIDIA/elements/commit/eddbd96))
|
|
9
|
+
* fix(internals): add url length validation for url generation ([1bc197e](https://github.com/NVIDIA/elements/commit/1bc197e))
|
|
10
|
+
* chore(ci): add slack release hook ([4a8fd85](https://github.com/NVIDIA/elements/commit/4a8fd85))
|
|
11
|
+
* chore(ci): update installations via mise ([054992e](https://github.com/NVIDIA/elements/commit/054992e))
|
|
12
|
+
* chore(docs): add adoption metrics generation and service ([29e3795](https://github.com/NVIDIA/elements/commit/29e3795))
|
|
13
|
+
* chore(docs): fix base url paths ([f97acb6](https://github.com/NVIDIA/elements/commit/f97acb6))
|
|
14
|
+
* chore(docs): fix url asset paths ([1cda122](https://github.com/NVIDIA/elements/commit/1cda122))
|
|
15
|
+
* chore(docs): improved site metadata and tests ([c58c856](https://github.com/NVIDIA/elements/commit/c58c856))
|
|
16
|
+
* chore(docs): update minification config ([0ff44a6](https://github.com/NVIDIA/elements/commit/0ff44a6))
|
|
17
|
+
* chore(docs): update notice file ([21da17a](https://github.com/NVIDIA/elements/commit/21da17a))
|
|
18
|
+
* chore(release): @nvidia-elements/cli-v2.1.1 [skip ci] ([4a0c00c](https://github.com/NVIDIA/elements/commit/4a0c00c))
|
|
19
|
+
* chore(release): @nvidia-elements/cli-v2.1.2 [skip ci] ([089acec](https://github.com/NVIDIA/elements/commit/089acec))
|
|
20
|
+
* chore(release): @nvidia-elements/cli-v2.1.3 [skip ci] ([a9a0571](https://github.com/NVIDIA/elements/commit/a9a0571))
|
|
21
|
+
* chore(release): @nvidia-elements/cli-v2.1.4 [skip ci] ([5433ff2](https://github.com/NVIDIA/elements/commit/5433ff2))
|
|
22
|
+
* chore(starters): cleanup starter readme and templates ([e2e225c](https://github.com/NVIDIA/elements/commit/e2e225c))
|
|
23
|
+
* feat(starters): add htmx+go and fix go starter ([d2ecd86](https://github.com/NVIDIA/elements/commit/d2ecd86))
|
|
24
|
+
|
|
25
|
+
## <small>2.0.2 (2026-06-23)</small>
|
|
26
|
+
|
|
27
|
+
* fix(core): memory leaks from connected callback states ([f49c0bd](https://github.com/NVIDIA/elements/commit/f49c0bd))
|
|
28
|
+
* fix(forms): improve aria attribute management ([daab45f](https://github.com/NVIDIA/elements/commit/daab45f))
|
|
29
|
+
* fix(styles): use logical direction styles ([2edd48c](https://github.com/NVIDIA/elements/commit/2edd48c))
|
|
30
|
+
* chore(core): remove unused controllers ([59d8349](https://github.com/NVIDIA/elements/commit/59d8349))
|
|
31
|
+
* chore(deps): bump vite from 8.0.14 to 8.0.16 ([dfdea58](https://github.com/NVIDIA/elements/commit/dfdea58))
|
|
32
|
+
* chore(deps): update ([cc12511](https://github.com/NVIDIA/elements/commit/cc12511))
|
|
33
|
+
* chore(docs): cleanup readme ([7f92252](https://github.com/NVIDIA/elements/commit/7f92252))
|
|
34
|
+
* chore(release): @nvidia-elements/cli-v2.0.1 [skip ci] ([b3f6d3b](https://github.com/NVIDIA/elements/commit/b3f6d3b))
|
|
35
|
+
* chore(release): @nvidia-elements/cli-v2.1.0 [skip ci] ([f51dbc3](https://github.com/NVIDIA/elements/commit/f51dbc3))
|
|
36
|
+
* chore(release): @nvidia-elements/code-v2.0.1 [skip ci] ([005d158](https://github.com/NVIDIA/elements/commit/005d158))
|
|
37
|
+
* chore(release): @nvidia-elements/forms-v2.0.1 [skip ci] ([adb732e](https://github.com/NVIDIA/elements/commit/adb732e))
|
|
38
|
+
* chore(release): @nvidia-elements/lint-v2.0.1 [skip ci] ([fcf4355](https://github.com/NVIDIA/elements/commit/fcf4355))
|
|
39
|
+
* chore(release): @nvidia-elements/markdown-v2.0.1 [skip ci] ([931f033](https://github.com/NVIDIA/elements/commit/931f033))
|
|
40
|
+
* chore(release): @nvidia-elements/monaco-v2.0.1 [skip ci] ([fb21243](https://github.com/NVIDIA/elements/commit/fb21243))
|
|
41
|
+
* chore(release): @nvidia-elements/styles-v2.0.1 [skip ci] ([d04d043](https://github.com/NVIDIA/elements/commit/d04d043))
|
|
42
|
+
* chore(release): @nvidia-elements/styles-v2.0.2 [skip ci] ([98a4325](https://github.com/NVIDIA/elements/commit/98a4325))
|
|
43
|
+
* chore(themes): add additional tests for css variable completions ([cbf14f8](https://github.com/NVIDIA/elements/commit/cbf14f8))
|
|
44
|
+
* feat(cli): improve installer script ([0379d0e](https://github.com/NVIDIA/elements/commit/0379d0e))
|
|
45
|
+
|
|
1
46
|
## <small>2.0.1 (2026-06-10)</small>
|
|
2
47
|
|
|
3
48
|
* chore(media): update peer dependency version ([082a5f2](https://github.com/NVIDIA/elements/commit/082a5f2))
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @nvidia-elements/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NVIDIA Design System and UI Agent Harness for AI/ML Factories, Robotics, and Autonomous Vehicles.
|
|
4
4
|
|
|
5
5
|
- [Documentation](https://NVIDIA.github.io/elements/)
|
|
6
6
|
- [Changelog](https://NVIDIA.github.io/elements/docs/changelog/)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
2
2
|
function e(e, t, n, r) {
|
|
3
3
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
4
4
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
@@ -8,7 +8,7 @@ import { TypeExpandableController as o } from "../internal/controllers/type-expa
|
|
|
8
8
|
import { hostAttr as s } from "../internal/decorators/host-attr.js";
|
|
9
9
|
import { scopedRegistry as c } from "../internal/decorators/scoped-registry.js";
|
|
10
10
|
import { useStyles as l } from "../internal/styles/index.js";
|
|
11
|
-
import { __decorate as u } from "../_virtual/_@oxc-project_runtime@0.
|
|
11
|
+
import { __decorate as u } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
12
12
|
import { IconButton as d } from "../icon-button/icon-button2.js";
|
|
13
13
|
import f from "./accordion.js";
|
|
14
14
|
import p from "./accordion-header.js";
|
|
@@ -28,7 +28,7 @@ var b = class extends g {
|
|
|
28
28
|
static {
|
|
29
29
|
this.metadata = {
|
|
30
30
|
tag: "nve-accordion-header",
|
|
31
|
-
version: "2.0.
|
|
31
|
+
version: "2.0.3"
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
@@ -46,7 +46,7 @@ var x = class extends g {
|
|
|
46
46
|
static {
|
|
47
47
|
this.metadata = {
|
|
48
48
|
tag: "nve-accordion-content",
|
|
49
|
-
version: "2.0.
|
|
49
|
+
version: "2.0.3"
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
@@ -62,7 +62,7 @@ var x = class extends g {
|
|
|
62
62
|
static {
|
|
63
63
|
this.metadata = {
|
|
64
64
|
tag: "nve-accordion",
|
|
65
|
-
version: "2.0.
|
|
65
|
+
version: "2.0.3",
|
|
66
66
|
children: [
|
|
67
67
|
b.metadata.tag,
|
|
68
68
|
x.metadata.tag,
|
|
@@ -120,7 +120,7 @@ var C = class extends g {
|
|
|
120
120
|
static {
|
|
121
121
|
this.metadata = {
|
|
122
122
|
tag: "nve-accordion-group",
|
|
123
|
-
version: "2.0.
|
|
123
|
+
version: "2.0.3",
|
|
124
124
|
children: [S.metadata.tag]
|
|
125
125
|
};
|
|
126
126
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
2
|
import { attachInternals as t } from "../internal/utils/a11y.js";
|
|
3
3
|
import { colorStateStyles as n, supportStateStyles as r, useStyles as i } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import { Alert as o } from "./alert2.js";
|
|
6
6
|
import s from "./alert-group.js";
|
|
7
7
|
import { LitElement as c, html as l } from "lit";
|
|
@@ -19,7 +19,7 @@ var f = class extends c {
|
|
|
19
19
|
static {
|
|
20
20
|
this.metadata = {
|
|
21
21
|
tag: "nve-alert-group",
|
|
22
|
-
version: "2.0.
|
|
22
|
+
version: "2.0.3",
|
|
23
23
|
children: [o.metadata.tag]
|
|
24
24
|
};
|
|
25
25
|
}
|
package/dist/alert/alert2.js
CHANGED
|
@@ -5,7 +5,7 @@ import { TypeClosableController as r } from "../internal/controllers/type-closab
|
|
|
5
5
|
import { scopedRegistry as i } from "../internal/decorators/scoped-registry.js";
|
|
6
6
|
import { statusStateStyles as a, supportStateStyles as o, useStyles as s } from "../internal/styles/index.js";
|
|
7
7
|
import { statusIcons as c } from "../internal/types/index.js";
|
|
8
|
-
import { __decorate as l } from "../_virtual/_@oxc-project_runtime@0.
|
|
8
|
+
import { __decorate as l } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
9
9
|
import { Icon as u } from "../icon/icon2.js";
|
|
10
10
|
import { IconButton as d } from "../icon-button/icon-button2.js";
|
|
11
11
|
import f from "./alert.global.js";
|
|
@@ -28,7 +28,7 @@ var v = class extends m {
|
|
|
28
28
|
static {
|
|
29
29
|
this.metadata = {
|
|
30
30
|
tag: "nve-alert",
|
|
31
|
-
version: "2.0.
|
|
31
|
+
version: "2.0.3"
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.examples.js","names":[],"sources":["../../src/avatar/avatar.examples.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport '@nvidia-elements/core/avatar/define.js';\nimport '@nvidia-elements/core/icon/define.js';\n\nexport default {\n title: 'Elements/Avatar',\n component: 'nve-avatar',\n};\n\n/**\n * @summary Basic avatar component with text initials, providing a simple way to represent users when profile images are unavailable.\n */\nexport const Default = {\n render: () => html`\n <nve-avatar>AV</nve-avatar>\n`};\n\n/**\n * @summary Avatar with profile image, offering personalized user representation and visual identity in interfaces.\n */\nexport const Image = {\n render: () => html`\n <nve-avatar>\n <img src=\"static/images/test-image-1.svg\" alt=\"User Avatar\" />\n </nve-avatar>\n`};\n\n/**\n * @summary Avatar with icons for representing system users, bots, or special account types with clear visual indicators.\n */\nexport const Icon = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar>\n <nve-icon name=\"star\"></nve-icon>\n </nve-avatar>\n <nve-avatar>\n <nve-icon name=\"person\"></nve-icon>\n </nve-avatar>\n </div>\n`};\n\n/**\n * @summary Different avatar sizes to accommodate layout contexts from compact lists to prominent user profiles.\n * @tags test-case\n */\nexport const Size = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar size=\"sm\">AV</nve-avatar>\n <nve-avatar>AV</nve-avatar>\n <nve-avatar size=\"lg\">AV</nve-avatar>\n </div>\n`};\n\n/**\n * @summary Avatar group component for displaying many users with overflow indicator, ideal for team displays and collaboration interfaces.\n */\nexport const Group = {\n render: () => html`\n <nve-avatar-group>\n <nve-avatar color=\"red-cardinal\">AV</nve-avatar>\n <nve-avatar color=\"blue-cobalt\">AV</nve-avatar>\n <nve-avatar color=\"green-grass\">AV</nve-avatar>\n <nve-avatar>+3</nve-avatar>\n </nve-avatar-group>\n`};\n\n/**\n * @summary Comprehensive color palette for avatar backgrounds, enabling visual distinction and brand consistency across user representations.\n * @tags test-case\n */\nexport const Color = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar color=\"red-cardinal\">AV</nve-avatar>\n <nve-avatar color=\"gray-slate\">AV</nve-avatar>\n <nve-avatar color=\"gray-denim\">AV</nve-avatar>\n <nve-avatar color=\"blue-indigo\">AV</nve-avatar>\n <nve-avatar color=\"blue-cobalt\">AV</nve-avatar>\n <nve-avatar color=\"blue-sky\">AV</nve-avatar>\n <nve-avatar color=\"teal-cyan\">AV</nve-avatar>\n <nve-avatar color=\"green-mint\">AV</nve-avatar>\n <nve-avatar color=\"teal-seafoam\">AV</nve-avatar>\n <nve-avatar color=\"green-grass\">AV</nve-avatar>\n <nve-avatar color=\"yellow-amber\">AV</nve-avatar>\n <nve-avatar color=\"orange-pumpkin\">AV</nve-avatar>\n <nve-avatar color=\"red-tomato\">AV</nve-avatar>\n <nve-avatar color=\"pink-magenta\">AV</nve-avatar>\n <nve-avatar color=\"purple-plum\">AV</nve-avatar>\n <nve-avatar color=\"purple-violet\">AV</nve-avatar>\n <nve-avatar color=\"purple-lavender\">AV</nve-avatar>\n <nve-avatar color=\"pink-rose\">AV</nve-avatar>\n <nve-avatar color=\"green-jade\">AV</nve-avatar>\n <nve-avatar color=\"lime-pear\">AV</nve-avatar>\n <nve-avatar color=\"yellow-nova\">AV</nve-avatar>\n <nve-avatar color=\"brand-green\">AV</nve-avatar>\n </div>\n `\n}"],"mappings":";AAGA,IAAA,IAAS"}
|
|
1
|
+
{"version":3,"file":"avatar.examples.js","names":[],"sources":["../../src/avatar/avatar.examples.ts"],"sourcesContent":["// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { html } from 'lit';\nimport '@nvidia-elements/core/avatar/define.js';\nimport '@nvidia-elements/core/icon/define.js';\n\nexport default {\n title: 'Elements/Avatar',\n component: 'nve-avatar',\n};\n\n/**\n * @summary Basic avatar component with text initials, providing a simple way to represent users when profile images are unavailable.\n */\nexport const Default = {\n render: () => html`\n <nve-avatar>AV</nve-avatar>\n`};\n\n/**\n * @summary Avatar with profile image, offering personalized user representation and visual identity in interfaces.\n */\nexport const Image = {\n render: () => html`\n <nve-avatar>\n <img src=\"/static/images/test-image-1.svg\" alt=\"User Avatar\" />\n </nve-avatar>\n`};\n\n/**\n * @summary Avatar with icons for representing system users, bots, or special account types with clear visual indicators.\n */\nexport const Icon = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar>\n <nve-icon name=\"star\"></nve-icon>\n </nve-avatar>\n <nve-avatar>\n <nve-icon name=\"person\"></nve-icon>\n </nve-avatar>\n </div>\n`};\n\n/**\n * @summary Different avatar sizes to accommodate layout contexts from compact lists to prominent user profiles.\n * @tags test-case\n */\nexport const Size = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar size=\"sm\">AV</nve-avatar>\n <nve-avatar>AV</nve-avatar>\n <nve-avatar size=\"lg\">AV</nve-avatar>\n </div>\n`};\n\n/**\n * @summary Avatar group component for displaying many users with overflow indicator, ideal for team displays and collaboration interfaces.\n */\nexport const Group = {\n render: () => html`\n <nve-avatar-group>\n <nve-avatar color=\"red-cardinal\">AV</nve-avatar>\n <nve-avatar color=\"blue-cobalt\">AV</nve-avatar>\n <nve-avatar color=\"green-grass\">AV</nve-avatar>\n <nve-avatar>+3</nve-avatar>\n </nve-avatar-group>\n`};\n\n/**\n * @summary Comprehensive color palette for avatar backgrounds, enabling visual distinction and brand consistency across user representations.\n * @tags test-case\n */\nexport const Color = {\n render: () => html`\n <div nve-layout=\"row gap:sm align:wrap\">\n <nve-avatar color=\"red-cardinal\">AV</nve-avatar>\n <nve-avatar color=\"gray-slate\">AV</nve-avatar>\n <nve-avatar color=\"gray-denim\">AV</nve-avatar>\n <nve-avatar color=\"blue-indigo\">AV</nve-avatar>\n <nve-avatar color=\"blue-cobalt\">AV</nve-avatar>\n <nve-avatar color=\"blue-sky\">AV</nve-avatar>\n <nve-avatar color=\"teal-cyan\">AV</nve-avatar>\n <nve-avatar color=\"green-mint\">AV</nve-avatar>\n <nve-avatar color=\"teal-seafoam\">AV</nve-avatar>\n <nve-avatar color=\"green-grass\">AV</nve-avatar>\n <nve-avatar color=\"yellow-amber\">AV</nve-avatar>\n <nve-avatar color=\"orange-pumpkin\">AV</nve-avatar>\n <nve-avatar color=\"red-tomato\">AV</nve-avatar>\n <nve-avatar color=\"pink-magenta\">AV</nve-avatar>\n <nve-avatar color=\"purple-plum\">AV</nve-avatar>\n <nve-avatar color=\"purple-violet\">AV</nve-avatar>\n <nve-avatar color=\"purple-lavender\">AV</nve-avatar>\n <nve-avatar color=\"pink-rose\">AV</nve-avatar>\n <nve-avatar color=\"green-jade\">AV</nve-avatar>\n <nve-avatar color=\"lime-pear\">AV</nve-avatar>\n <nve-avatar color=\"yellow-nova\">AV</nve-avatar>\n <nve-avatar color=\"brand-green\">AV</nve-avatar>\n </div>\n `\n}\n"],"mappings":";AAGA,IAAA,IAAS"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"id": "avatar-image",
|
|
16
16
|
"name": "Image",
|
|
17
|
-
"template": "<nve-avatar>\n <img src=\"static/images/test-image-1.svg\" alt=\"User Avatar\" />\n</nve-avatar>\n",
|
|
17
|
+
"template": "<nve-avatar>\n <img src=\"/static/images/test-image-1.svg\" alt=\"User Avatar\" />\n</nve-avatar>\n",
|
|
18
18
|
"summary": "Avatar with profile image, offering personalized user representation and visual identity in interfaces.",
|
|
19
19
|
"description": "",
|
|
20
20
|
"composition": false,
|
package/dist/avatar/avatar2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { colorStateStyles as e, useStyles as t } from "../internal/styles/index.js";
|
|
2
|
-
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
3
3
|
import r from "./avatar.js";
|
|
4
4
|
import { LitElement as i, html as a } from "lit";
|
|
5
5
|
import { property as o } from "lit/decorators/property.js";
|
|
@@ -11,7 +11,7 @@ var s = class extends i {
|
|
|
11
11
|
static {
|
|
12
12
|
this.metadata = {
|
|
13
13
|
tag: "nve-avatar",
|
|
14
|
-
version: "2.0.
|
|
14
|
+
version: "2.0.3"
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
render() {
|
package/dist/badge/badge2.js
CHANGED
|
@@ -4,7 +4,7 @@ import { typeSSR as n } from "../internal/controllers/type-ssr.controller.js";
|
|
|
4
4
|
import { scopedRegistry as r } from "../internal/decorators/scoped-registry.js";
|
|
5
5
|
import { colorStateStyles as i, statusStateStyles as a, supportStateStyles as o, useStyles as s } from "../internal/styles/index.js";
|
|
6
6
|
import { statusIcons as c } from "../internal/types/index.js";
|
|
7
|
-
import { __decorate as l } from "../_virtual/_@oxc-project_runtime@0.
|
|
7
|
+
import { __decorate as l } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
8
8
|
import { Icon as u } from "../icon/icon2.js";
|
|
9
9
|
import d from "./badge.js";
|
|
10
10
|
import { LitElement as f, html as p, nothing as m } from "lit";
|
|
@@ -25,7 +25,7 @@ var g = class extends f {
|
|
|
25
25
|
static {
|
|
26
26
|
this.metadata = {
|
|
27
27
|
tag: "nve-badge",
|
|
28
|
-
version: "2.0.
|
|
28
|
+
version: "2.0.3"
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
static {
|
|
@@ -5,7 +5,7 @@ import { attachInternals as r } from "../internal/utils/a11y.js";
|
|
|
5
5
|
import { typeSSR as i } from "../internal/controllers/type-ssr.controller.js";
|
|
6
6
|
import { scopedRegistry as a } from "../internal/decorators/scoped-registry.js";
|
|
7
7
|
import { useStyles as o } from "../internal/styles/index.js";
|
|
8
|
-
import { __decorate as s } from "../_virtual/_@oxc-project_runtime@0.
|
|
8
|
+
import { __decorate as s } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
9
9
|
import { Icon as c } from "../icon/icon2.js";
|
|
10
10
|
import l from "./breadcrumb.js";
|
|
11
11
|
import { LitElement as u, html as d, nothing as f } from "lit";
|
|
@@ -24,7 +24,7 @@ var m = class extends u {
|
|
|
24
24
|
static {
|
|
25
25
|
this.metadata = {
|
|
26
26
|
tag: "nve-breadcrumb",
|
|
27
|
-
version: "2.0.
|
|
27
|
+
version: "2.0.3"
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
static {
|
package/dist/bundles/index.d.ts
CHANGED
|
@@ -658,21 +658,11 @@ export interface FormControlInstance extends HTMLElement {
|
|
|
658
658
|
reset(): void;
|
|
659
659
|
setCustomValidity(message: string): void;
|
|
660
660
|
}
|
|
661
|
-
/**
|
|
662
|
-
* @event input - Dispatched when the input value changes
|
|
663
|
-
* @event change - Dispatched when the user commits the value
|
|
664
|
-
*/
|
|
665
|
-
export interface FormControl {
|
|
666
|
-
new (...args: any[]): FormControlInstance;
|
|
667
|
-
formAssociated: boolean;
|
|
668
|
-
metadata: FormControlMetadata;
|
|
669
|
-
localName?: string;
|
|
670
|
-
}
|
|
671
661
|
export interface ValidatorResult {
|
|
672
662
|
validity: Partial<ValidityState>;
|
|
673
663
|
message?: string;
|
|
674
664
|
}
|
|
675
|
-
export type Validator = (value: unknown, element:
|
|
665
|
+
export type Validator = (value: unknown, element: FormControlInstance) => ValidatorResult;
|
|
676
666
|
export type Constructor = (new (...args: any[]) => HTMLElement & {
|
|
677
667
|
connectedCallback?(): void;
|
|
678
668
|
disconnectedCallback?(): void;
|
|
@@ -1582,9 +1572,7 @@ export declare class CardFooter extends LitElement {
|
|
|
1582
1572
|
* @cssprop --line-height
|
|
1583
1573
|
* @cssprop --overflow
|
|
1584
1574
|
* @cssprop --top-offset - Vertical offset for aligning message with avatar
|
|
1585
|
-
|
|
1586
1575
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1587
|
-
* @stable false
|
|
1588
1576
|
*/
|
|
1589
1577
|
export declare class ChatMessage extends LitElement {
|
|
1590
1578
|
static styles: CSSResult[];
|
|
@@ -2748,7 +2736,6 @@ export declare class DrawerHeader extends LitElement {
|
|
|
2748
2736
|
* @cssprop --nve-dropdown-group-transition
|
|
2749
2737
|
* @cssprop --arrow-transform - Transform applied to the popover arrow
|
|
2750
2738
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
2751
|
-
* @stable false
|
|
2752
2739
|
*/
|
|
2753
2740
|
export declare class DropdownGroup extends LitElement {
|
|
2754
2741
|
#private;
|
|
@@ -2783,7 +2770,6 @@ declare const Dropzone_base: FormControlMixinReturn<typeof LitElement, File[]>;
|
|
|
2783
2770
|
* @slot content - default slot for content
|
|
2784
2771
|
* @csspart icon - The upload icon element
|
|
2785
2772
|
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
|
|
2786
|
-
* @stable false
|
|
2787
2773
|
*/
|
|
2788
2774
|
export declare class Dropzone extends Dropzone_base {
|
|
2789
2775
|
#private;
|
|
@@ -2860,6 +2846,7 @@ declare class File$1 extends Control {
|
|
|
2860
2846
|
* @since 0.0.0
|
|
2861
2847
|
* @entrypoint \@nvidia-elements/core/format-datetime
|
|
2862
2848
|
* @slot - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
2849
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
|
|
2863
2850
|
*/
|
|
2864
2851
|
export declare class FormatDatetime extends LitElement {
|
|
2865
2852
|
#private;
|
|
@@ -2940,6 +2927,7 @@ export type SignDisplayOption = "auto" | "never" | "always" | "exceptZero";
|
|
|
2940
2927
|
* @since 0.0.0
|
|
2941
2928
|
* @entrypoint \@nvidia-elements/core/format-number
|
|
2942
2929
|
* @slot - Numeric string to format (such as 1234567 or 1234.56). Serves as fallback before hydration.
|
|
2930
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
|
|
2943
2931
|
*/
|
|
2944
2932
|
export declare class FormatNumber extends LitElement {
|
|
2945
2933
|
#private;
|
|
@@ -3019,6 +3007,7 @@ export declare class FormatNumber extends LitElement {
|
|
|
3019
3007
|
* @since 0.0.0
|
|
3020
3008
|
* @entrypoint \@nvidia-elements/core/format-relative-time
|
|
3021
3009
|
* @slot - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
3010
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
|
|
3022
3011
|
*/
|
|
3023
3012
|
export declare class FormatRelativeTime extends LitElement {
|
|
3024
3013
|
#private;
|
|
@@ -5011,7 +5000,7 @@ export declare class Toggletip extends LitElement {
|
|
|
5011
5000
|
* @cssprop --border-top
|
|
5012
5001
|
* @cssprop --padding
|
|
5013
5002
|
* @cssprop --gap
|
|
5014
|
-
*
|
|
5003
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
|
|
5015
5004
|
*/
|
|
5016
5005
|
export declare class ToggletipFooter extends LitElement {
|
|
5017
5006
|
static styles: CSSResult[];
|
|
@@ -5032,7 +5021,7 @@ export declare class ToggletipFooter extends LitElement {
|
|
|
5032
5021
|
* @cssprop --border-bottom
|
|
5033
5022
|
* @cssprop --padding
|
|
5034
5023
|
* @cssprop --border-radius
|
|
5035
|
-
*
|
|
5024
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/
|
|
5036
5025
|
*/
|
|
5037
5026
|
export declare class ToggletipHeader extends LitElement {
|
|
5038
5027
|
static styles: CSSResult[];
|