@nvidia-elements/core 2.0.0 → 2.0.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.
- package/CHANGELOG.md +38 -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/avatar2.js +2 -2
- package/dist/badge/badge2.js +2 -2
- package/dist/breadcrumb/breadcrumb2.js +2 -2
- package/dist/bundles/index.d.ts +2 -11
- 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/card2.js +5 -5
- package/dist/chat-message/chat-message2.js +2 -2
- 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 +31 -31
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/copy-button/copy-button2.js +2 -2
- package/dist/custom-elements.json +168 -733
- 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.js +2 -2
- package/dist/dropzone/dropzone2.js +2 -2
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime2.js +2 -2
- package/dist/format-number/format-number2.js +2 -2
- 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/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-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-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/select.d.ts +1 -0
- package/dist/select/select.global.js +6 -0
- package/dist/select/select.global.js.map +1 -0
- package/dist/select/select2.js +64 -46
- 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/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-footer2.js +2 -2
- package/dist/toggletip/toggletip-header2.js +2 -2
- 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 +10 -10
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { hostAttr as e } from "../../internal/decorators/host-attr.js";
|
|
2
2
|
import { useStyles as t } from "../../internal/styles/index.js";
|
|
3
|
-
import { __decorate as n } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as n } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import r from "./page-panel-header.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
//#region src/page/page-panel/page-panel-header.ts
|
|
@@ -14,7 +14,7 @@ var o = class extends i {
|
|
|
14
14
|
static {
|
|
15
15
|
this.metadata = {
|
|
16
16
|
tag: "nve-page-panel-header",
|
|
17
|
-
version: "2.0.
|
|
17
|
+
version: "2.0.2"
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
@@ -4,7 +4,7 @@ import { appendRootNodeStyle as n } from "../../internal/utils/dom.js";
|
|
|
4
4
|
import { attachInternals as r } from "../../internal/utils/a11y.js";
|
|
5
5
|
import { TypeExpandableController as i } from "../../internal/controllers/type-expandable.controller.js";
|
|
6
6
|
import { useStyles as a } from "../../internal/styles/index.js";
|
|
7
|
-
import { __decorate as o } from "../../_virtual/_@oxc-project_runtime@0.
|
|
7
|
+
import { __decorate as o } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
8
8
|
import s from "./page-panel.js";
|
|
9
9
|
import c from "./page-panel.global.js";
|
|
10
10
|
import { LitElement as l, html as u } from "lit";
|
|
@@ -18,7 +18,7 @@ var f = class extends l {
|
|
|
18
18
|
static {
|
|
19
19
|
this.metadata = {
|
|
20
20
|
tag: "nve-page-panel",
|
|
21
|
-
version: "2.0.
|
|
21
|
+
version: "2.0.2",
|
|
22
22
|
parents: ["nve-page"]
|
|
23
23
|
};
|
|
24
24
|
}
|
package/dist/page/page2.js
CHANGED
|
@@ -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 { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import i from "./page.js";
|
|
6
6
|
import { LitElement as a, html as o } from "lit";
|
|
7
7
|
import { property as s } from "lit/decorators/property.js";
|
|
@@ -16,7 +16,7 @@ var c = class extends a {
|
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-page",
|
|
19
|
-
version: "2.0.
|
|
19
|
+
version: "2.0.2"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
@@ -2,7 +2,7 @@ import { TypeNativePopoverController as e } from "../internal/controllers/type-n
|
|
|
2
2
|
import { scopedRegistry as t } from "../internal/decorators/scoped-registry.js";
|
|
3
3
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
4
|
import { popoverStyles as r } from "../internal/styles/popover2.js";
|
|
5
|
-
import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.
|
|
5
|
+
import { __decorate as i } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
6
6
|
import { ProgressRing as a } from "../progress-ring/progress-ring2.js";
|
|
7
7
|
import o from "./page-loader.js";
|
|
8
8
|
import { LitElement as s, html as c } from "lit";
|
|
@@ -18,7 +18,7 @@ var u = class extends s {
|
|
|
18
18
|
static {
|
|
19
19
|
this.metadata = {
|
|
20
20
|
tag: "nve-page-loader",
|
|
21
|
-
version: "2.0.
|
|
21
|
+
version: "2.0.2"
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
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 { IconButton as c } from "../icon-button/icon-button2.js";
|
|
10
10
|
import { Select as l } from "../select/select2.js";
|
|
11
11
|
import u from "./pagination.js";
|
|
@@ -21,7 +21,7 @@ var g = class extends h(d) {
|
|
|
21
21
|
static {
|
|
22
22
|
this.metadata = {
|
|
23
23
|
tag: "nve-pagination",
|
|
24
|
-
version: "2.0.
|
|
24
|
+
version: "2.0.2",
|
|
25
25
|
valueSchema: { type: "number" }
|
|
26
26
|
};
|
|
27
27
|
}
|
package/dist/panel/panel2.js
CHANGED
|
@@ -4,7 +4,7 @@ import { stateExpanded as n } from "../internal/controllers/state-expanded.contr
|
|
|
4
4
|
import { TypeExpandableController as r } from "../internal/controllers/type-expandable.controller.js";
|
|
5
5
|
import { scopedRegistry as i } from "../internal/decorators/scoped-registry.js";
|
|
6
6
|
import { useStyles as a } from "../internal/styles/index.js";
|
|
7
|
-
import { __decorate as o } from "../_virtual/_@oxc-project_runtime@0.
|
|
7
|
+
import { __decorate as o } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
8
8
|
import { IconButton as s } from "../icon-button/icon-button2.js";
|
|
9
9
|
import c from "./panel.js";
|
|
10
10
|
import l from "./panel-header.js";
|
|
@@ -21,7 +21,7 @@ var g = class extends f {
|
|
|
21
21
|
static {
|
|
22
22
|
this.metadata = {
|
|
23
23
|
tag: "nve-panel-header",
|
|
24
|
-
version: "2.0.
|
|
24
|
+
version: "2.0.2"
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
@@ -37,7 +37,7 @@ var g = class extends f {
|
|
|
37
37
|
static {
|
|
38
38
|
this.metadata = {
|
|
39
39
|
tag: "nve-panel-content",
|
|
40
|
-
version: "2.0.
|
|
40
|
+
version: "2.0.2"
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
@@ -50,7 +50,7 @@ var g = class extends f {
|
|
|
50
50
|
static {
|
|
51
51
|
this.metadata = {
|
|
52
52
|
tag: "nve-panel-footer",
|
|
53
|
-
version: "2.0.
|
|
53
|
+
version: "2.0.2"
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
@@ -69,7 +69,7 @@ var g = class extends f {
|
|
|
69
69
|
static {
|
|
70
70
|
this.metadata = {
|
|
71
71
|
tag: "nve-panel",
|
|
72
|
-
version: "2.0.
|
|
72
|
+
version: "2.0.2"
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
static {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
|
|
2
2
|
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
-
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import { Control as r } from "../forms/control/control2.js";
|
|
5
5
|
import { IconButton as i } from "../icon-button/icon-button2.js";
|
|
6
6
|
import { inputStyles as a } from "../input/input2.js";
|
|
@@ -23,7 +23,7 @@ var u = class extends r {
|
|
|
23
23
|
static {
|
|
24
24
|
this.metadata = {
|
|
25
25
|
tag: "nve-password",
|
|
26
|
-
version: "2.0.
|
|
26
|
+
version: "2.0.2"
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
static {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nController as e } from "../internal/controllers/i18n.controller.js";
|
|
2
2
|
import { scopedRegistry as t } from "../internal/decorators/scoped-registry.js";
|
|
3
3
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import { Icon as i } from "../icon/icon2.js";
|
|
6
6
|
import { Control as a } from "../forms/control/control2.js";
|
|
7
7
|
import { Switch as o } from "../switch/switch2.js";
|
|
@@ -43,7 +43,7 @@ var x = class extends g(d) {
|
|
|
43
43
|
static {
|
|
44
44
|
this.metadata = {
|
|
45
45
|
tag: "nve-preferences-input",
|
|
46
|
-
version: "2.0.
|
|
46
|
+
version: "2.0.2",
|
|
47
47
|
valueSchema: {
|
|
48
48
|
type: "object",
|
|
49
49
|
properties: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
|
|
2
2
|
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
-
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import r from "./progress-bar.js";
|
|
5
5
|
import { LitElement as i, html as a } from "lit";
|
|
6
6
|
import { property as o } from "lit/decorators/property.js";
|
|
@@ -16,7 +16,7 @@ var c = class extends i {
|
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-progress-bar",
|
|
19
|
-
version: "2.0.
|
|
19
|
+
version: "2.0.2"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
@@ -3,7 +3,7 @@ import { attachInternals as t } from "../internal/utils/a11y.js";
|
|
|
3
3
|
import { scopedRegistry as n } from "../internal/decorators/scoped-registry.js";
|
|
4
4
|
import { useStyles as r } from "../internal/styles/index.js";
|
|
5
5
|
import { statusIcons as i } from "../internal/types/index.js";
|
|
6
|
-
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.
|
|
6
|
+
import { __decorate as a } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
7
7
|
import { Icon as o } from "../icon/icon2.js";
|
|
8
8
|
import s from "./progress-ring.js";
|
|
9
9
|
import { LitElement as c, html as l } from "lit";
|
|
@@ -19,7 +19,7 @@ var d = class extends c {
|
|
|
19
19
|
static {
|
|
20
20
|
this.metadata = {
|
|
21
21
|
tag: "nve-progress-ring",
|
|
22
|
-
version: "2.0.
|
|
22
|
+
version: "2.0.2"
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
@@ -5,7 +5,7 @@ import { TypeClosableController as i } from "../internal/controllers/type-closab
|
|
|
5
5
|
import { typeSSR as a } from "../internal/controllers/type-ssr.controller.js";
|
|
6
6
|
import { scopedRegistry as o } from "../internal/decorators/scoped-registry.js";
|
|
7
7
|
import { useStyles as s } from "../internal/styles/index.js";
|
|
8
|
-
import { __decorate as c } from "../_virtual/_@oxc-project_runtime@0.
|
|
8
|
+
import { __decorate as c } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
9
9
|
import { IconButton as l } from "../icon-button/icon-button2.js";
|
|
10
10
|
import { Input as u } from "../input/input2.js";
|
|
11
11
|
import { Select as d } from "../select/select2.js";
|
|
@@ -23,7 +23,7 @@ var b = class extends h {
|
|
|
23
23
|
static {
|
|
24
24
|
this.metadata = {
|
|
25
25
|
tag: "nve-progressive-filter-chip",
|
|
26
|
-
version: "2.0.
|
|
26
|
+
version: "2.0.2"
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
static {
|
package/dist/pulse/pulse2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { attachInternals as e } from "../internal/utils/a11y.js";
|
|
2
2
|
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
-
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import { Icon as r } from "../icon/icon2.js";
|
|
5
5
|
import i from "./pulse.js";
|
|
6
6
|
import { LitElement as a, html as o } from "lit";
|
|
@@ -13,7 +13,7 @@ var c = class extends a {
|
|
|
13
13
|
static {
|
|
14
14
|
this.metadata = {
|
|
15
15
|
tag: "nve-pulse",
|
|
16
|
-
version: "2.0.
|
|
16
|
+
version: "2.0.2"
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
2
|
import { typeSSR as t } from "../internal/controllers/type-ssr.controller.js";
|
|
3
3
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import { ControlGroup as i } from "../forms/control-group/control-group2.js";
|
|
6
6
|
import a from "./radio-group.js";
|
|
7
7
|
//#region src/radio/radio-group.ts
|
|
@@ -12,7 +12,7 @@ var o = class extends i {
|
|
|
12
12
|
static {
|
|
13
13
|
this.metadata = {
|
|
14
14
|
tag: "nve-radio-group",
|
|
15
|
-
version: "2.0.
|
|
15
|
+
version: "2.0.2",
|
|
16
16
|
children: [
|
|
17
17
|
"label",
|
|
18
18
|
"nve-control-message",
|
package/dist/radio/radio2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { audit as e } from "../internal/controllers/audit.controller.js";
|
|
2
2
|
import { hostAttr as t } from "../internal/decorators/host-attr.js";
|
|
3
3
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import { Control as i } from "../forms/control/control2.js";
|
|
6
6
|
import a from "./radio.js";
|
|
7
7
|
//#region src/radio/radio.ts
|
|
@@ -15,7 +15,7 @@ var o = class extends i {
|
|
|
15
15
|
static {
|
|
16
16
|
this.metadata = {
|
|
17
17
|
tag: "nve-radio",
|
|
18
|
-
version: "2.0.
|
|
18
|
+
version: "2.0.2",
|
|
19
19
|
children: [
|
|
20
20
|
"label",
|
|
21
21
|
"input",
|
package/dist/range/range2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { appendRootNodeStyle as e, getElementUpdate as t } from "../internal/utils/dom.js";
|
|
2
2
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
3
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import { Control as i } from "../forms/control/control2.js";
|
|
5
5
|
import a from "./range.global.js";
|
|
6
6
|
import o from "./range.js";
|
|
@@ -17,7 +17,7 @@ var d = class extends i {
|
|
|
17
17
|
static {
|
|
18
18
|
this.metadata = {
|
|
19
19
|
tag: "nve-range",
|
|
20
|
-
version: "2.0.
|
|
20
|
+
version: "2.0.2"
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
connectedCallback() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I18nController as e } from "../internal/controllers/i18n.controller.js";
|
|
2
2
|
import { typeTouch as t } from "../internal/controllers/type-touch.controller.js";
|
|
3
3
|
import { useStyles as n } from "../internal/styles/index.js";
|
|
4
|
-
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import { __decorate as r } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
5
5
|
import i from "./resize-handle.js";
|
|
6
6
|
import { LitElement as a, html as o } from "lit";
|
|
7
7
|
import { property as s } from "lit/decorators/property.js";
|
|
@@ -18,7 +18,7 @@ var u = class extends c(a) {
|
|
|
18
18
|
static {
|
|
19
19
|
this.metadata = {
|
|
20
20
|
tag: "nve-resize-handle",
|
|
21
|
-
version: "2.0.
|
|
21
|
+
version: "2.0.2",
|
|
22
22
|
valueSchema: { type: "number" }
|
|
23
23
|
};
|
|
24
24
|
}
|
package/dist/search/search2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { scopedRegistry as e } from "../internal/decorators/scoped-registry.js";
|
|
2
2
|
import { useStyles as t } from "../internal/styles/index.js";
|
|
3
|
-
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { __decorate as n } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
4
4
|
import { Control as r } from "../forms/control/control2.js";
|
|
5
5
|
import { IconButton as i } from "../icon-button/icon-button2.js";
|
|
6
6
|
import { inputStyles as a } from "../input/input2.js";
|
|
@@ -22,7 +22,7 @@ var l = class extends r {
|
|
|
22
22
|
static {
|
|
23
23
|
this.metadata = {
|
|
24
24
|
tag: "nve-search",
|
|
25
|
-
version: "2.0.
|
|
25
|
+
version: "2.0.2"
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
static {
|
package/dist/select/select.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare class Select extends Control {
|
|
|
60
60
|
protected get prefixContent(): typeof nothing | import('lit').TemplateResult<1>;
|
|
61
61
|
protected get suffixContent(): import('lit').TemplateResult<1>;
|
|
62
62
|
firstUpdated(props: PropertyValues<this>): Promise<void>;
|
|
63
|
+
connectedCallback(): void;
|
|
63
64
|
disconnectedCallback(): void;
|
|
64
65
|
updated(props: PropertyValues<this>): Promise<void>;
|
|
65
66
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.global.js","names":[],"sources":["../../src/select/select.global.css?inline"],"sourcesContent":["/* SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. */\n/* SPDX-License-Identifier: Apache-2.0 */\n\nnve-select select[multiple] option {\n pointer-events: none !important;\n}\n"],"mappings":""}
|
package/dist/select/select2.js
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { I18nController as e, i18n as t } from "../internal/controllers/i18n.controller.js";
|
|
2
2
|
import { onChildListMutation as n } from "../internal/utils/events.js";
|
|
3
3
|
import { focusElementTimeout as r, onListboxActivate as i } from "../internal/utils/focus.js";
|
|
4
|
-
import {
|
|
5
|
-
import { scopedRegistry as
|
|
6
|
-
import { useStyles as
|
|
7
|
-
import { __decorate as
|
|
8
|
-
import { Icon as
|
|
9
|
-
import { Control as
|
|
10
|
-
import { Tag as
|
|
11
|
-
import { Menu as
|
|
12
|
-
import { MenuItem as
|
|
13
|
-
import { Dropdown as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
4
|
+
import { appendRootNodeStyle as a, getElementUpdate as o } from "../internal/utils/dom.js";
|
|
5
|
+
import { scopedRegistry as s } from "../internal/decorators/scoped-registry.js";
|
|
6
|
+
import { useStyles as c } from "../internal/styles/index.js";
|
|
7
|
+
import { __decorate as l } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/decorate.js";
|
|
8
|
+
import { Icon as u } from "../icon/icon2.js";
|
|
9
|
+
import { Control as d } from "../forms/control/control2.js";
|
|
10
|
+
import { Tag as f } from "../tag/tag2.js";
|
|
11
|
+
import { Menu as p } from "../menu/menu2.js";
|
|
12
|
+
import { MenuItem as m } from "../menu/menu-item2.js";
|
|
13
|
+
import { Dropdown as h } from "../dropdown/dropdown2.js";
|
|
14
|
+
import g from "./select.js";
|
|
15
|
+
import _ from "./select.global.js";
|
|
16
|
+
import { html as v, nothing as y } from "lit";
|
|
17
|
+
import { property as b } from "lit/decorators/property.js";
|
|
18
|
+
import { ifDefined as x } from "lit/directives/if-defined.js";
|
|
18
19
|
//#region src/select/select.ts
|
|
19
|
-
var
|
|
20
|
+
var S = class extends d {
|
|
20
21
|
constructor(...t) {
|
|
21
|
-
super(...t), this.#e = new e(this), this.i18n = this.#e.i18n, this.#l = [], this.#p = /* @__PURE__ */ new
|
|
22
|
+
super(...t), this.#e = new e(this), this.i18n = this.#e.i18n, this.#l = [], this.#p = /* @__PURE__ */ new Map();
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
|
-
this.styles =
|
|
25
|
+
this.styles = c([...d.styles, g]);
|
|
25
26
|
}
|
|
26
27
|
static {
|
|
27
28
|
this.metadata = {
|
|
28
29
|
tag: "nve-select",
|
|
29
|
-
version: "2.0.
|
|
30
|
+
version: "2.0.2"
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
static {
|
|
33
34
|
this.elementDefinitions = {
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[f.metadata.tag]: f,
|
|
35
|
+
[u.metadata.tag]: u,
|
|
36
|
+
[h.metadata.tag]: h,
|
|
37
37
|
[p.metadata.tag]: p,
|
|
38
|
-
[
|
|
38
|
+
[m.metadata.tag]: m,
|
|
39
|
+
[f.metadata.tag]: f
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
#e;
|
|
@@ -46,10 +47,10 @@ var b = class extends u {
|
|
|
46
47
|
return Array.from(this.#t?.options ? this.#t.options : []);
|
|
47
48
|
}
|
|
48
49
|
get #r() {
|
|
49
|
-
return this.shadowRoot.querySelector(
|
|
50
|
+
return this.shadowRoot.querySelector(h.metadata.tag);
|
|
50
51
|
}
|
|
51
52
|
get #i() {
|
|
52
|
-
return this.shadowRoot.querySelectorAll(
|
|
53
|
+
return this.shadowRoot.querySelectorAll(m.metadata.tag);
|
|
53
54
|
}
|
|
54
55
|
get #a() {
|
|
55
56
|
return this.shadowRoot.querySelector("[input]");
|
|
@@ -66,66 +67,83 @@ var b = class extends u {
|
|
|
66
67
|
#l;
|
|
67
68
|
get #u() {
|
|
68
69
|
let e = this.#c, t = e ? e.innerText : `${this.#t.selectedOptions.length} ${this.i18n.selected}`;
|
|
69
|
-
return
|
|
70
|
+
return v`<div class="tags-label ${e ? "placeholder" : ""}" aria-hidden="true">${t}</div>`;
|
|
70
71
|
}
|
|
71
72
|
get prefixContent() {
|
|
72
|
-
return this.#t?.multiple && this.#t?.size === 0 ?
|
|
73
|
+
return this.#t?.multiple && this.#t?.size === 0 ? v`${this.#u}<div class="tags">${this.#n.filter((e) => e.selected && e !== this.#c).map((e) => v`<nve-tag part="tag" readonly="readonly" color="gray-slate" closable .value="${e.value}" @click="${() => this.#x(e, !1)}">${e.textContent}</nve-tag>`)}</div>` : y;
|
|
73
74
|
}
|
|
74
75
|
get #d() {
|
|
75
|
-
return
|
|
76
|
+
return v`<nve-menu part="menu" role="listbox" style="--width:100%;--min-width:fit-content" aria-label="${x(this.i18n.select)}">${this.#n.filter((e) => e !== this.#c).map((e, t) => v`<nve-menu-item part="menu-item" role="option" @click="${() => this.#x(e, !e.selected)}" ?selected="${e.selected}" ?disabled="${e.disabled}" ?hidden="${!!e.hidden}" aria-selected="${e.selected}"><slot name="option-${t + 1}"><nve-icon part="icon" name="check" size="sm" aria-hidden="true"></nve-icon>${e.innerText}</slot></nve-menu-item>`)}</nve-menu>`;
|
|
76
77
|
}
|
|
77
78
|
get suffixContent() {
|
|
78
|
-
return this.#t?.size === 0 ?
|
|
79
|
+
return this.#t?.size === 0 ? v`<nve-icon name="caret" part="caret" direction="down" size="sm" aria-hidden="true"></nve-icon><nve-dropdown part="dropdown" @close="${this.#y}" @open="${this.#v}" hidden .anchor="${this.#a}" position="bottom">${this.#d}</nve-dropdown>` : this.#d;
|
|
79
80
|
}
|
|
80
81
|
async firstUpdated(e) {
|
|
81
|
-
super.firstUpdated(e), await this.updateComplete, this.#
|
|
82
|
+
super.firstUpdated(e), await this.updateComplete, this.#_();
|
|
82
83
|
}
|
|
83
84
|
#f() {
|
|
84
|
-
this.#l.push(
|
|
85
|
+
this.#l.push(o(this.#t, "value", () => this.requestUpdate()), n(this.#t, () => this.requestUpdate(), {
|
|
85
86
|
attributes: !0,
|
|
86
87
|
subtree: !0
|
|
87
|
-
}), n(this.#t, () => this.#
|
|
88
|
+
}), n(this.#t, () => this.#g(), { subtree: !0 }));
|
|
88
89
|
}
|
|
89
90
|
#p;
|
|
90
91
|
#m() {
|
|
91
|
-
this.#
|
|
92
|
-
|
|
92
|
+
this.#h(), this.#b(), this.#f(), this.#g();
|
|
93
|
+
}
|
|
94
|
+
#h() {
|
|
95
|
+
this.#l.forEach((e) => e.disconnect()), this.#l = [], this.#p.clear();
|
|
96
|
+
}
|
|
97
|
+
#g() {
|
|
98
|
+
let e = new Set(this.#n);
|
|
99
|
+
this.#p.forEach((t, n) => {
|
|
100
|
+
e.has(n) || (t.disconnect(), this.#p.delete(n), this.#l = this.#l.filter((e) => e !== t));
|
|
101
|
+
}), this.#n.forEach((e) => {
|
|
102
|
+
if (!this.#p.has(e)) {
|
|
103
|
+
let t = o(e, "selected", () => this.requestUpdate());
|
|
104
|
+
this.#p.set(e, t), this.#l.push(t);
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
connectedCallback() {
|
|
109
|
+
super.connectedCallback(), a(this, _), this.updateComplete.then(() => {
|
|
110
|
+
this.isConnected && this.#m();
|
|
93
111
|
});
|
|
94
112
|
}
|
|
95
113
|
disconnectedCallback() {
|
|
96
|
-
super.disconnectedCallback(), this.#
|
|
114
|
+
super.disconnectedCallback(), this.#h();
|
|
97
115
|
}
|
|
98
116
|
async updated(e) {
|
|
99
|
-
super.updated(e), this.#t?.size && this.#t?.size !== 0
|
|
117
|
+
super.updated(e), this.#t?.size && this.#t?.size !== 0 ? (this._internals.states.add("size"), this.style.setProperty("--size", `${this.#t?.size + .75}`)) : (this._internals.states.delete("size"), this.style.removeProperty("--size")), this.#t?.multiple && this.#t?.size === 0 ? this._internals.states.add("multiple") : this._internals.states.delete("multiple");
|
|
100
118
|
}
|
|
101
|
-
#
|
|
119
|
+
#_() {
|
|
102
120
|
this.#t?.size === 0 && i(this.#t, () => {
|
|
103
121
|
this.requestUpdate(), this.#r.style.setProperty("--min-width", `${this.#a.getBoundingClientRect().width}px`), this.#r.showPopover(), r(this.#i[0]);
|
|
104
122
|
});
|
|
105
123
|
}
|
|
106
|
-
#
|
|
124
|
+
#v() {
|
|
107
125
|
this.#r.hidden = !1, this.#s.direction = "up";
|
|
108
126
|
}
|
|
109
|
-
#
|
|
127
|
+
#y() {
|
|
110
128
|
this.#r.hidden = !0, this.#s.direction = "down";
|
|
111
129
|
}
|
|
112
|
-
#
|
|
113
|
-
let e = new ResizeObserver((e) => this.#
|
|
130
|
+
#b() {
|
|
131
|
+
let e = new ResizeObserver((e) => this.#S(e[0].contentRect.width));
|
|
114
132
|
this.#l.push(e), e.observe(this.#a);
|
|
115
133
|
}
|
|
116
|
-
async #
|
|
117
|
-
(this.#t.multiple || !this.#t.multiple && e.value !== this.#t.value) && (e.selected = t), this.#t.selectedOptions.length < 1 && (this.#t.value = t ? e.value : ""), this.#t.dispatchEvent(new Event("input", { bubbles: !0 })), this.#t.dispatchEvent(new Event("change", { bubbles: !0 })), this.requestUpdate(), !this.#t.multiple && this.#r ? this.#r.hidePopover() : (await this.updateComplete, this.#
|
|
134
|
+
async #x(e, t) {
|
|
135
|
+
(this.#t.multiple || !this.#t.multiple && e.value !== this.#t.value) && (e.selected = t), this.#t.selectedOptions.length < 1 && (this.#t.value = t ? e.value : ""), this.#t.dispatchEvent(new Event("input", { bubbles: !0 })), this.#t.dispatchEvent(new Event("change", { bubbles: !0 })), this.requestUpdate(), !this.#t.multiple && this.#r ? this.#r.hidePopover() : (await this.updateComplete, this.#S(this.#a.getBoundingClientRect().width));
|
|
118
136
|
}
|
|
119
|
-
#
|
|
137
|
+
#S(e) {
|
|
120
138
|
let t = this.#o;
|
|
121
139
|
this.#t?.multiple && t && t.getBoundingClientRect().width > e - 48 ? this._internals.states.add("multiple-overflow") : this._internals.states.delete("multiple-overflow");
|
|
122
140
|
}
|
|
123
141
|
};
|
|
124
|
-
|
|
142
|
+
l([b({
|
|
125
143
|
type: String,
|
|
126
144
|
reflect: !0
|
|
127
|
-
})],
|
|
145
|
+
})], S.prototype, "container", void 0), l([b({ type: Object })], S.prototype, "i18n", void 0), S = l([t(), s()], S);
|
|
128
146
|
//#endregion
|
|
129
|
-
export {
|
|
147
|
+
export { S as Select };
|
|
130
148
|
|
|
131
149
|
//# sourceMappingURL=select2.js.map
|