@nvidia-elements/core 0.1.3 → 0.2.0
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 +22 -0
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundles/index.js +1 -1
- package/dist/button/button.examples.js.map +1 -1
- package/dist/button/button.examples.json +2 -2
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox.d.ts +7 -1
- package/dist/combobox/combobox.examples.js.map +1 -1
- package/dist/combobox/combobox.examples.json +21 -1
- package/dist/combobox/combobox.js +1 -1
- package/dist/combobox/combobox.js.map +1 -1
- package/dist/combobox/combobox2.js +67 -58
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +5 -1
- package/dist/custom-elements-vue.d.ts +5 -1
- package/dist/custom-elements.json +41 -9
- package/dist/data.html.json +4 -4
- package/dist/data.snippets.json +18 -18
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-number/format-number2.js +1 -1
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/forms/control/control2.js +1 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month2.js +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification2.js +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week2.js +1 -1
- package/package.json +3 -5
- package/postinstall.mjs +0 -113
package/dist/data.snippets.json
CHANGED
|
@@ -8,24 +8,6 @@
|
|
|
8
8
|
"description": "Toolbar with progressive-filter-chip",
|
|
9
9
|
"body": "<div style=\"width: 100%;\">\n <nve-toolbar container=\"flat\" style=\"width: 100%;\">\n <nve-icon-button readonly icon-name=\"filter\" container=\"flat\" slot=\"prefix\"></nve-icon-button>\n <nve-progressive-filter-chip closable>\n <select aria-label=\"dataset\">\n <option selected>${1:status}</option>\n <option>${2:workload}</option>\n </select>\n <select aria-label=\"condition\">\n <option selected>${3:filter by}</option>\n <option>${4:sort by}</option>\n </select>\n <select multiple aria-label=\"filter\">\n <option selected>${5:progress}</option>\n <option>${6:pending}</option>\n <option>${7:success}</option>\n <option>${8:failed}</option>\n </select>\n </nve-progressive-filter-chip>\n <nve-combobox container=\"flat\" style=\"flex-grow: 1; min-width: 150px;\">\n <input type=\"search\" placeholder=\"${9:Add Filter}\">\n <datalist>\n <option value=\"${10:Status}\"></option>\n <option value=\"${11:Priority}\"></option>\n <option value=\"${12:Date}\"></option>\n <option value=\"${13:Session}\"></option>\n <option value=\"${14:Configuration}\"></option>\n <option value=\"${15:Contains}\"></option>\n </datalist>\n </nve-combobox>\n <nve-icon-button container=\"flat\" aria-label=\"clear filters\" icon-name=\"cancel\" slot=\"suffix\"></nve-icon-button>\n <nve-button slot=\"suffix\">${16:Save Filters}</nve-button>\n </nve-toolbar>\n</div>\n"
|
|
10
10
|
},
|
|
11
|
-
"Steps": {
|
|
12
|
-
"srcFile": "steps.snippets.html",
|
|
13
|
-
"prefix": [
|
|
14
|
-
"steps"
|
|
15
|
-
],
|
|
16
|
-
"type": "pattern",
|
|
17
|
-
"description": "Steps enables a multi-step workflow allowing a user to complete a goal in a specific sequence.",
|
|
18
|
-
"body": "<nve-steps behavior-select container=\"${1:condensed}\">\n <nve-steps-item status=\"success\">${2:Step 1}</nve-steps-item>\n <nve-steps-item status=\"danger\">${3:Step 2}</nve-steps-item>\n <nve-steps-item selected>${4:Step 3}</nve-steps-item>\n <nve-steps-item status=\"pending\">${5:Step 4}</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n$0\n"
|
|
19
|
-
},
|
|
20
|
-
"vertical-Steps": {
|
|
21
|
-
"srcFile": "steps.snippets.html",
|
|
22
|
-
"prefix": [
|
|
23
|
-
"vertical-steps"
|
|
24
|
-
],
|
|
25
|
-
"type": "pattern",
|
|
26
|
-
"description": "Steps can be used as the foundation for a side menu by enabling vertical mode.",
|
|
27
|
-
"body": "<nve-steps behavior-select vertical container=\"${1:condensed}\">\n <nve-steps-item status=\"success\">${2:Step 1}</nve-steps-item>\n <nve-steps-item status=\"danger\">${3:Step 2}</nve-steps-item>\n <nve-steps-item selected>${4:Step 3}</nve-steps-item>\n <nve-steps-item status=\"pending\">${5:Step 4}</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n$0\n"
|
|
28
|
-
},
|
|
29
11
|
"Tabs": {
|
|
30
12
|
"srcFile": "tabs.snippets.html",
|
|
31
13
|
"prefix": [
|
|
@@ -62,6 +44,24 @@
|
|
|
62
44
|
"description": "Tabs group with slot-matched panels controlled by tab item commands.",
|
|
63
45
|
"body": "<nve-tabs-group id=\"${1:tab-group}\">\n <nve-tabs>\n <nve-tabs-item selected command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${2:overview}\">${3:Overview}</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${4:details}\">${5:Details}</nve-tabs-item>\n <nve-tabs-item command=\"--toggle\" commandfor=\"${1:tab-group}\" value=\"${6:settings}\">${7:Settings}</nve-tabs-item>\n </nve-tabs>\n <div slot=\"${2:overview}\">${8:Overview content}</div>\n <div slot=\"${4:details}\">${9:Details content}</div>\n <div slot=\"${6:settings}\">${10:Settings content}</div>\n</nve-tabs-group>\n$0\n"
|
|
64
46
|
},
|
|
47
|
+
"Steps": {
|
|
48
|
+
"srcFile": "steps.snippets.html",
|
|
49
|
+
"prefix": [
|
|
50
|
+
"steps"
|
|
51
|
+
],
|
|
52
|
+
"type": "pattern",
|
|
53
|
+
"description": "Steps enables a multi-step workflow allowing a user to complete a goal in a specific sequence.",
|
|
54
|
+
"body": "<nve-steps behavior-select container=\"${1:condensed}\">\n <nve-steps-item status=\"success\">${2:Step 1}</nve-steps-item>\n <nve-steps-item status=\"danger\">${3:Step 2}</nve-steps-item>\n <nve-steps-item selected>${4:Step 3}</nve-steps-item>\n <nve-steps-item status=\"pending\">${5:Step 4}</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n$0\n"
|
|
55
|
+
},
|
|
56
|
+
"vertical-Steps": {
|
|
57
|
+
"srcFile": "steps.snippets.html",
|
|
58
|
+
"prefix": [
|
|
59
|
+
"vertical-steps"
|
|
60
|
+
],
|
|
61
|
+
"type": "pattern",
|
|
62
|
+
"description": "Steps can be used as the foundation for a side menu by enabling vertical mode.",
|
|
63
|
+
"body": "<nve-steps behavior-select vertical container=\"${1:condensed}\">\n <nve-steps-item status=\"success\">${2:Step 1}</nve-steps-item>\n <nve-steps-item status=\"danger\">${3:Step 2}</nve-steps-item>\n <nve-steps-item selected>${4:Step 3}</nve-steps-item>\n <nve-steps-item status=\"pending\">${5:Step 4}</nve-steps-item>\n <nve-steps-item disabled>Disabled</nve-steps-item>\n</nve-steps>\n$0\n"
|
|
64
|
+
},
|
|
65
65
|
"Search": {
|
|
66
66
|
"srcFile": "search.snippets.html",
|
|
67
67
|
"prefix": [
|
package/dist/date/date2.js
CHANGED
package/dist/dialog/dialog2.js
CHANGED
package/dist/divider/divider2.js
CHANGED
package/dist/dot/dot2.js
CHANGED
package/dist/drawer/drawer2.js
CHANGED
package/dist/file/file2.js
CHANGED
package/dist/grid/cell/cell2.js
CHANGED
package/dist/grid/grid2.js
CHANGED
package/dist/grid/row/row2.js
CHANGED
package/dist/icon/icon2.js
CHANGED
|
@@ -16,7 +16,7 @@ var f = class e extends o {
|
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-icon",
|
|
19
|
-
version: "0.
|
|
19
|
+
version: "0.2.0"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
@@ -86,7 +86,7 @@ n([l({
|
|
|
86
86
|
})], f.prototype, "name", void 0), n([d()], f.prototype, "svg", void 0);
|
|
87
87
|
function p(t) {
|
|
88
88
|
if (typeof globalThis.customElements?.get == "function") {
|
|
89
|
-
let n = e(t.metadata.version), r = e("0.
|
|
89
|
+
let n = e(t.metadata.version), r = e("0.2.0");
|
|
90
90
|
n.minor <= r.minor && n.major <= r.major && (t._icons = {
|
|
91
91
|
...t._icons,
|
|
92
92
|
...i
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { getThemeTokens as e } from "./internal/utils/dom.js";
|
|
|
2
2
|
import { I18nService as t } from "./internal/services/i18n.service.js";
|
|
3
3
|
import { statusIcons as n } from "./internal/types/index.js";
|
|
4
4
|
//#region src/index.ts
|
|
5
|
-
var r = "0.
|
|
5
|
+
var r = "0.2.0", i = "@nvidia-elements";
|
|
6
6
|
//#endregion
|
|
7
7
|
export { t as I18nService, i as SCOPE, r as VERSION, e as getThemeTokens, n as statusIcons };
|
|
8
8
|
|
package/dist/input/input2.js
CHANGED
|
@@ -19,7 +19,7 @@ var a = class {
|
|
|
19
19
|
i18nRegistry: {},
|
|
20
20
|
audit: {}
|
|
21
21
|
}
|
|
22
|
-
}, globalThis.NVE_ELEMENTS.state.versions = Array.from(new Set([...globalThis.NVE_ELEMENTS.state.versions, "0.
|
|
22
|
+
}, globalThis.NVE_ELEMENTS.state.versions = Array.from(new Set([...globalThis.NVE_ELEMENTS.state.versions, "0.2.0"])), globalThis.NVE_ELEMENTS.state.scopedRegistry ??= {}, globalThis.NVE_ELEMENTS.state.scopedRegistry["0.2.0"] = i(), globalThis.NVE_ELEMENTS.state.versions.length > 1 && globalThis.NVE_ELEMENTS.state.env !== "production" && console.warn(e(), `\n\n${JSON.stringify(globalThis.NVE_ELEMENTS.state.versions, null, 2)}`);
|
|
23
23
|
}
|
|
24
24
|
get state() {
|
|
25
25
|
return globalThis.NVE_ELEMENTS.state;
|
package/dist/logo/logo2.js
CHANGED
package/dist/menu/menu-item2.js
CHANGED
package/dist/menu/menu2.js
CHANGED
package/dist/month/month2.js
CHANGED
package/dist/page/page2.js
CHANGED
package/dist/panel/panel2.js
CHANGED
|
@@ -21,7 +21,7 @@ var g = class extends f {
|
|
|
21
21
|
static {
|
|
22
22
|
this.metadata = {
|
|
23
23
|
tag: "nve-panel-header",
|
|
24
|
-
version: "0.
|
|
24
|
+
version: "0.2.0"
|
|
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: "0.
|
|
40
|
+
version: "0.2.0"
|
|
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: "0.
|
|
53
|
+
version: "0.2.0"
|
|
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: "0.
|
|
72
|
+
version: "0.2.0"
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
static {
|