@nvidia-elements/core 0.0.10 → 0.0.11
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 +12 -0
- package/dist/accordion/accordion.examples.json +11 -11
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert.examples.json +12 -12
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar.examples.json +6 -6
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge.examples.json +12 -12
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb.examples.json +3 -3
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundles/index.js +3 -3
- package/dist/button/button.examples.json +24 -24
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group.examples.json +11 -11
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card.examples.json +10 -10
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message.examples.json +7 -7
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox.examples.json +7 -7
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color.examples.json +4 -4
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox.examples.json +24 -24
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button.examples.json +9 -9
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements.json +13 -71
- package/dist/date/date.examples.json +7 -7
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime.examples.json +4 -4
- 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/dialog.examples.json +21 -21
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider.examples.json +5 -5
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot.examples.json +5 -5
- 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/drawer.examples.json +13 -13
- 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/dropdown.examples.json +14 -14
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.examples.json +4 -4
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone.examples.json +3 -3
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file.examples.json +3 -3
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime.examples.json +9 -9
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-relative-time/format-relative-time.examples.json +7 -7
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/forms/actions.examples.json +3 -3
- package/dist/forms/control/control.examples.json +11 -11
- 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/forms/forms.examples.json +8 -8
- package/dist/forms/validation.examples.json +5 -5
- 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/grid.examples.json +43 -43
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +2 -2
- package/dist/grid/header/header2.js.map +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon.examples.json +8 -8
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button.examples.json +13 -13
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group.examples.json +2 -2
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input.examples.json +8 -8
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/i18n.controller.examples.json +1 -1
- package/dist/internal/controllers/keynav-grid.controller.examples.json +2 -2
- package/dist/internal/controllers/keynav-grid.controller.js +15 -7
- package/dist/internal/controllers/keynav-grid.controller.js.map +1 -1
- package/dist/internal/controllers/keynav-list.controller.examples.json +4 -4
- package/dist/internal/controllers/keynav-list.controller.js +11 -5
- package/dist/internal/controllers/keynav-list.controller.js.map +1 -1
- package/dist/internal/controllers/popover.examples.json +8 -8
- package/dist/internal/controllers/type-button.controller.examples.json +1 -1
- package/dist/internal/controllers/type-popover.controller.examples.json +2 -2
- package/dist/internal/controllers/type-touch.controller.examples.json +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/logo/logo.examples.json +6 -6
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu.examples.json +15 -15
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month.examples.json +4 -4
- package/dist/month/month2.js +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification.examples.json +15 -15
- 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/page.examples.js.map +1 -1
- package/dist/page/page.examples.json +36 -34
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header.examples.json +9 -9
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader.examples.json +2 -2
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination.examples.json +16 -16
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel.examples.json +7 -7
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password.examples.json +3 -3
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input.examples.json +3 -3
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar.examples.json +8 -8
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-ring/progress-ring.examples.json +8 -8
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip.examples.json +7 -7
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse.examples.json +4 -4
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio.examples.json +5 -5
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range.examples.json +9 -9
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle.examples.json +7 -7
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search.examples.json +5 -5
- package/dist/search/search2.js +1 -1
- package/dist/select/select.examples.json +18 -18
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton.examples.json +4 -4
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button.examples.json +3 -3
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline.examples.json +13 -13
- package/dist/sparkline/sparkline.utils.d.ts +26 -5
- package/dist/sparkline/sparkline.utils.js +30 -30
- package/dist/sparkline/sparkline.utils.js.map +1 -1
- package/dist/sparkline/sparkline2.js +21 -6
- package/dist/sparkline/sparkline2.js.map +1 -1
- package/dist/star-rating/star-rating.examples.json +4 -4
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps.examples.json +5 -5
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch.examples.json +7 -7
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +9 -6
- package/dist/tabs/tabs-group2.js.map +1 -1
- package/dist/tabs/tabs.examples.json +14 -14
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag.examples.json +8 -8
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea.examples.json +5 -5
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time.examples.json +4 -4
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast.examples.json +11 -11
- 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/toggletip.examples.json +12 -12
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar.examples.json +8 -8
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip.examples.json +22 -22
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree.examples.json +13 -13
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week.examples.json +5 -5
- package/dist/week/week2.js +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/pagination/pagination.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "pagination",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<nve-pagination value=\"1\" items=\"100\" step=\"10\"></nve-pagination>\n<script type=\"module\">\n const pagination = document.querySelector(\"nve-pagination\");\n pagination.addEventListener(\"change\", (e) => console.log(e.target.value));\n</script>\n",
|
|
9
9
|
"summary": "Basic pagination component with default styling and behavior.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "pagination-skippable",
|
|
16
16
|
"name": "Skippable",
|
|
17
17
|
"template": "<nve-pagination value=\"1\" items=\"100\" step=\"10\" skippable></nve-pagination>\n",
|
|
18
18
|
"summary": "Pagination with skip buttons to navigate to first and last pages quickly.",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"tags": []
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"id": "
|
|
24
|
+
"id": "pagination-disabled",
|
|
25
25
|
"name": "Disabled",
|
|
26
26
|
"template": "<nve-pagination disabled value=\"1\" items=\"100\" step=\"10\" skippable></nve-pagination>\n",
|
|
27
27
|
"summary": "Disabled pagination component that prevents user interaction.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tags": []
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"id": "
|
|
33
|
+
"id": "pagination-flat",
|
|
34
34
|
"name": "Flat",
|
|
35
35
|
"template": "<nve-pagination container=\"flat\" value=\"1\" items=\"100\" step=\"10\" skippable></nve-pagination>\n",
|
|
36
36
|
"summary": "Pagination with flat container styling for a more minimal appearance.",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"tags": []
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"id": "
|
|
42
|
+
"id": "pagination-inline",
|
|
43
43
|
"name": "Inline",
|
|
44
44
|
"template": "<nve-pagination container=\"inline\" value=\"1\" items=\"100\" step=\"10\"></nve-pagination>\n",
|
|
45
45
|
"summary": "Inline pagination layout that fits inline with content.",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tags": []
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"id": "
|
|
51
|
+
"id": "pagination-disable-step",
|
|
52
52
|
"name": "DisableStep",
|
|
53
53
|
"template": "<nve-pagination disable-step container=\"inline\" value=\"1\" items=\"100\" step=\"10\"></nve-pagination>\n",
|
|
54
54
|
"summary": "Inline pagination with disabled step selector to prevent page size changes.",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"tags": []
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"id": "
|
|
60
|
+
"id": "pagination-forms",
|
|
61
61
|
"name": "Forms",
|
|
62
62
|
"template": "<form id=\"pagination-form\" nve-layout=\"column gap:md\">\n <nve-pagination name=\"page\" value=\"1\" items=\"100\" step=\"10\" aria-label=\"pagination controls\"></nve-pagination>\n <nve-button>submit page 10</nve-button>\n <pre></pre>\n</form>\n<script type=\"module\">\n const form = document.querySelector(\"form\");\n const pre = document.querySelector(\"form pre\");\n form.addEventListener(\"change\", updateValues);\n form.addEventListener(\"input\", updateValues);\n form.addEventListener(\"submit\", updateValues);\n form.addEventListener(\"step-change\", updateValues);\n function updateValues(e) {\n e.preventDefault();\n console.log(e);\n pre.innerText = JSON.stringify(\n { ...Object.fromEntries(new FormData(form)), step: form.elements.page.step },\n null,\n 2,\n );\n }\n</script>\n",
|
|
63
63
|
"summary": "Pagination as a form associated component that participates in form submission and emits change, input, and step-change events. Use when page selection needs to integrate with form data collection or server-side form handling.",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"tags": []
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
"id": "
|
|
69
|
+
"id": "pagination-no-items-count",
|
|
70
70
|
"name": "NoItemsCount",
|
|
71
71
|
"template": "<form id=\"pagination-form\" nve-layout=\"column gap:md\">\n <nve-pagination name=\"page\" value=\"1\" step=\"10\" aria-label=\"pagination controls\"></nve-pagination>\n <pre></pre>\n</form>\n<script type=\"module\">\n const form = document.querySelector(\"form\");\n const pre = document.querySelector(\"form pre\");\n form.addEventListener(\"input\", updateValues);\n form.addEventListener(\"step-change\", updateValues);\n function updateValues(e) {\n e.preventDefault();\n pre.innerText = JSON.stringify(\n { ...Object.fromEntries(new FormData(form)), step: form.elements.page.step },\n null,\n 2,\n );\n }\n</script>\n",
|
|
72
72
|
"summary": "Pagination without items count display, useful when total count is unknown.",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"tags": []
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"id": "
|
|
78
|
+
"id": "pagination-large-values",
|
|
79
79
|
"name": "LargeValues",
|
|
80
80
|
"template": "<nve-pagination container=\"inline\" value=\"1\" items=\"10000\" step=\"100\"></nve-pagination>\n",
|
|
81
81
|
"summary": "Pagination handling large datasets with higher step values for efficient navigation.",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"tags": []
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
"id": "
|
|
87
|
+
"id": "pagination-dynamic-items",
|
|
88
88
|
"name": "DynamicItems",
|
|
89
89
|
"template": "<nve-pagination disable-step container=\"inline\" value=\"1\" items=\"100\" step=\"20\"></nve-pagination>\n<script type=\"module\">\n const pagination = document.querySelector(\"nve-pagination\");\n let items = loadItems();\n pagination.addEventListener(\"last-page\", async () => {\n items = [...items, ...loadItems()];\n pagination.items = items.length;\n });\n function loadItems() {\n return new Array(100).fill(\"\");\n }\n</script>\n",
|
|
90
90
|
"summary": "If the upper bound of items is unknown, use the `last-page` event to determine when to load more data and update the pagination with the latest total of items.",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
"id": "
|
|
98
|
+
"id": "pagination-dynamic-step-size",
|
|
99
99
|
"name": "DynamicStepSize",
|
|
100
100
|
"template": "<!-- javascript property binding -->\n<nve-pagination value=\"1\" items=\"10000\" step=\"100\" step-sizes=\"[100, 500, 1000]\"></nve-pagination>\n",
|
|
101
101
|
"summary": "When a custom step exists, the select options dynamically adapt to the step and append to the default option list.",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"tags": []
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
"id": "
|
|
107
|
+
"id": "pagination-suffix-label",
|
|
108
108
|
"name": "SuffixLabel",
|
|
109
109
|
"template": "<nve-pagination value=\"1\" items=\"50000\" step=\"100\">\n <span slot=\"suffix-label\">of 50,000+</span>\n</nve-pagination>\n",
|
|
110
110
|
"summary": "Use the `suffix-label` slot to customize the \"of total\" label when dealing with approximated totals from API responses. This is useful when the API returns a limited count but indicates there are more items available.",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
"id": "
|
|
118
|
+
"id": "pagination-page-list-pattern",
|
|
119
119
|
"name": "PageListPattern",
|
|
120
120
|
"template": "<nve-toolbar container=\"inset\">\n <nve-button disabled container=\"flat\"\n ><nve-icon name=\"chevron\" direction=\"left\" size=\"sm\"></nve-icon> previous</nve-button\n >\n <nve-button container=\"flat\" selected>1</nve-button>\n <nve-button container=\"flat\">2</nve-button>\n <nve-button container=\"flat\">3</nve-button>\n <nve-button container=\"flat\">4</nve-button>\n <nve-button container=\"flat\">next <nve-icon name=\"chevron\" direction=\"right\" size=\"sm\"></nve-icon></nve-button>\n</nve-toolbar>\n",
|
|
121
121
|
"summary": "Custom pagination pattern using toolbar with numbered page buttons and navigation arrows.",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"tags": []
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
"id": "
|
|
127
|
+
"id": "pagination-skip-pattern",
|
|
128
128
|
"name": "SkipPattern",
|
|
129
129
|
"template": "<nve-toolbar container=\"inset\">\n <nve-icon-button\n container=\"flat\"\n icon-name=\"arrow-stop\"\n direction=\"left\"\n aria-label=\"first\"\n disabled\n ></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"chevron\" direction=\"left\" aria-label=\"previous\"></nve-icon-button>\n <nve-button container=\"flat\" selected>1</nve-button>\n <nve-button container=\"flat\">2</nve-button>\n <nve-button container=\"flat\">3</nve-button>\n <nve-button container=\"flat\">4</nve-button>\n <nve-icon-button icon-name=\"chevron\" direction=\"right\" aria-label=\"next\"></nve-icon-button>\n <nve-icon-button icon-name=\"arrow-stop\" direction=\"right\" aria-label=\"last\"></nve-icon-button>\n</nve-toolbar>\n",
|
|
130
130
|
"summary": "Enhanced pagination pattern with first/last page buttons and numbered page navigation.",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"tags": []
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
"id": "
|
|
136
|
+
"id": "pagination-vertical-pattern",
|
|
137
137
|
"name": "VerticalPattern",
|
|
138
138
|
"template": "<nve-toolbar container=\"inset\">\n <label nve-text=\"body muted sm\">1 of 13</label>\n <nve-icon-button\n container=\"flat\"\n size=\"sm\"\n icon-name=\"chevron\"\n direction=\"up\"\n aria-label=\"previous\"\n ></nve-icon-button>\n <nve-icon-button container=\"flat\" size=\"sm\" icon-name=\"chevron\" direction=\"down\" aria-label=\"next\"></nve-icon-button>\n</nve-toolbar>\n",
|
|
139
139
|
"summary": "Vertical pagination pattern with up/down navigation arrows for compact layouts.",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"tags": []
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
"id": "
|
|
145
|
+
"id": "pagination-custom-select-pattern",
|
|
146
146
|
"name": "CustomSelectPattern",
|
|
147
147
|
"template": "<nve-toolbar container=\"inset\">\n <nve-select style=\"--width: 80px\">\n <select aria-label=\"page size\">\n <option value=\"10\">1-10</option>\n </select>\n </nve-select>\n <label nve-text=\"label muted sm\" style=\"width: 40px\">of ~13</label>\n <nve-icon-button\n container=\"flat\"\n icon-name=\"chevron\"\n direction=\"left\"\n aria-label=\"previous\"\n disabled\n ></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"chevron\" direction=\"right\" aria-label=\"next\"></nve-icon-button>\n</nve-toolbar>\n",
|
|
148
148
|
"summary": "Custom pagination with select dropdown for page size and navigation arrows.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/panel/panel.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "panel",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\"></div>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n",
|
|
9
9
|
"summary": "Basic panel layout with header showing session details and metadata in a collapsible side panel.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "panel-left-side-panel",
|
|
16
16
|
"name": "LeftSidePanel",
|
|
17
17
|
"template": "<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n",
|
|
18
18
|
"summary": "Left-positioned collapsible panel for sidebar navigation and content details.",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"id": "
|
|
26
|
+
"id": "panel-right-side-panel",
|
|
27
27
|
"name": "RightSidePanel",
|
|
28
28
|
"template": "<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"right\" style=\"width: 280px; height: 550px\">\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n",
|
|
29
29
|
"summary": "Right-positioned collapsible panel for supplementary content and property inspectors.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"id": "
|
|
37
|
+
"id": "panel-closable-panel",
|
|
38
38
|
"name": "ClosablePanel",
|
|
39
39
|
"template": "<section nve-layout=\"row align:space-between pad:sm full\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand id=\"trigger-closable-false\" expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n <nve-button interaction=\"emphasis\">Toggle Panel</nve-button>\n</section>\n<script type=\"module\">\n const button = document.querySelector(\"nve-button\");\n button.addEventListener(\"click\", () => {\n const panel = document.querySelector(\"nve-panel\");\n panel.expanded = !panel.expanded;\n });\n</script>\n",
|
|
40
40
|
"summary": "Closable panel with external toggle button for programmatic show/hide control.",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
48
|
+
"id": "panel-with-trigger",
|
|
49
49
|
"name": "WithTrigger",
|
|
50
50
|
"template": "<section nve-layout=\"row align:space-between pad:sm full\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded closable side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n <nve-button interaction=\"emphasis\">Toggle Panel</nve-button>\n</section>\n<script type=\"module\">\n const button = document.querySelector(\"nve-button\");\n button.addEventListener(\"click\", () => {\n const panel = document.querySelector(\"nve-panel\");\n panel.expanded = !panel.expanded;\n });\n</script>\n",
|
|
51
51
|
"summary": "Collapsible panel with built-in close button and external toggle for flexible expand/collapse behavior.",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"id": "
|
|
59
|
+
"id": "panel-with-full-header",
|
|
60
60
|
"name": "WithFullHeader",
|
|
61
61
|
"template": "<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 550px\">\n <nve-panel-header>\n <div slot=\"title\">Title</div>\n <div slot=\"subtitle\">Subtitle</div>\n <nve-icon-button container=\"flat\" slot=\"action-icon\" icon-name=\"more-actions\"></nve-icon-button>\n </nve-panel-header>\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n </nve-panel>\n </div>\n</section>\n",
|
|
62
62
|
"summary": "Panel with complete header including title, subtitle, and action icon slots for rich header content.",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
-
"id": "
|
|
70
|
+
"id": "panel-with-footer",
|
|
71
71
|
"name": "WithFooter",
|
|
72
72
|
"template": "<section nve-layout=\"row align:space-between pad:sm\">\n <div nve-theme=\"root\">\n <nve-panel behavior-expand expanded side=\"left\" style=\"width: 280px; height: 600px\">\n <nve-panel-content nve-layout=\"column gap:md\">\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Release</label>\n <p nve-text=\"label semibold sm\">RainbowBridge/08-18-2021AM/A2A</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Date</label>\n <p nve-text=\"label semibold sm\">2021-08-18</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">State</label>\n <nve-badge status=\"finished\">Indexed</nve-badge>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Driver</label>\n <p nve-text=\"label semibold sm\">Kenjiro Ono</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Copilot</label>\n <p nve-text=\"label semibold sm\">Kenichi Yoshii</p>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">GVS</label>\n <a href=\"#\" nve-text=\"link body sm\">http://testbot/testbot/view/content...</a>\n </div>\n <div nve-layout=\"column gap:xs\">\n <label nve-text=\"body sm medium muted\">Session ID</label>\n <a href=\"#\" nve-text=\"link body sm\">Experiment 12345</a>\n </div>\n </nve-panel-content>\n <nve-panel-footer>\n <nve-button interaction=\"destructive\" container=\"flat\">Destructive</nve-button>\n <nve-button>Default</nve-button>\n </nve-panel-footer>\n </nve-panel>\n </div>\n</section>\n",
|
|
73
73
|
"summary": "Panel with footer containing action buttons for form submissions and destructive actions.",
|
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.0.
|
|
24
|
+
version: "0.0.11"
|
|
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.0.
|
|
40
|
+
version: "0.0.11"
|
|
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.0.
|
|
53
|
+
version: "0.0.11"
|
|
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.0.
|
|
72
|
+
version: "0.0.11"
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
static {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/password/password.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "password",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<nve-password>\n <label>label</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message>message</nve-control-message>\n</nve-password>\n",
|
|
9
9
|
"summary": "Basic password input with toggle visibility for secure credential entry and authentication forms.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "password-vertical",
|
|
16
16
|
"name": "Vertical",
|
|
17
17
|
"template": "<div nve-layout=\"column gap:lg full\">\n <nve-password>\n <label>label</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message>message</nve-control-message>\n </nve-password>\n <nve-password>\n <label>disabled</label>\n <input type=\"password\" value=\"123456\" disabled />\n <nve-control-message>message</nve-control-message>\n </nve-password>\n <nve-password>\n <label>success</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message status=\"success\">message</nve-control-message>\n </nve-password>\n <nve-password>\n <label>error</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message status=\"error\">message</nve-control-message>\n </nve-password>\n</div>\n",
|
|
18
18
|
"summary": "Password inputs with vertical layout including validation states for disabled, success, and error.",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"id": "
|
|
26
|
+
"id": "password-horizontal",
|
|
27
27
|
"name": "Horizontal",
|
|
28
28
|
"template": "<div nve-layout=\"column gap:lg full\">\n <nve-password layout=\"horizontal\">\n <label>label</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message>message</nve-control-message>\n </nve-password>\n <nve-password layout=\"horizontal\">\n <label>disabled</label>\n <input type=\"password\" value=\"123456\" disabled />\n <nve-control-message>message</nve-control-message>\n </nve-password>\n <nve-password layout=\"horizontal\">\n <label>success</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message status=\"success\">message</nve-control-message>\n </nve-password>\n <nve-password layout=\"horizontal\">\n <label>error</label>\n <input type=\"password\" value=\"123456\" />\n <nve-control-message status=\"error\">message</nve-control-message>\n </nve-password>\n</div>\n",
|
|
29
29
|
"summary": "Password inputs with horizontal layout showing validation states for inline forms and compact layouts.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/preferences-input/preferences-input.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "preferences-input",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<nve-preferences-input\n name=\"theme\"\n value='{ \"color-scheme\": \"dark\", \"scale\": \"compact\", \"reduced-motion\": \"true\" }'\n></nve-preferences-input>\n",
|
|
9
9
|
"summary": "Preferences input displaying theme settings (color scheme, scale, reduced motion) for user customization.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "preferences-input-forms",
|
|
16
16
|
"name": "Forms",
|
|
17
17
|
"template": "<form id=\"preferences-input-form\" nve-layout=\"row gap:md\">\n <div nve-layout=\"column gap:md\">\n <nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"light\" }'></nve-preferences-input>\n <nve-button>submit</nve-button>\n </div>\n <pre></pre>\n</form>\n<script type=\"module\">\n const form = document.querySelector(\"form\");\n const preferencesInput = document.querySelector(\"nve-preferences-input\");\n const pre = document.querySelector(\"form pre\");\n form.addEventListener(\"change\", renderValues);\n form.addEventListener(\"input\", renderValues);\n form.addEventListener(\"submit\", renderValues);\n pre.innerText = JSON.stringify(preferencesInput.value, null, 2);\n\n function renderValues(e) {\n e.preventDefault();\n console.log(e);\n pre.innerText = JSON.stringify(preferencesInput.value, null, 2);\n }\n</script>\n",
|
|
18
18
|
"summary": "Preferences input integrated with form submission, displaying live JSON value updates.",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"tags": []
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"id": "
|
|
24
|
+
"id": "preferences-input-dropdown",
|
|
25
25
|
"name": "Dropdown",
|
|
26
26
|
"template": "<nve-page-header>\n <nve-logo slot=\"prefix\" size=\"sm\"></nve-logo>\n <h2 slot=\"prefix\" nve-text=\"heading sm\">NVIDIA</h2>\n <nve-icon-button slot=\"suffix\" icon-name=\"gear\" size=\"sm\" popovertarget=\"preferences-input\"></nve-icon-button>\n</nve-page-header>\n<nve-dropdown id=\"preferences-input\" position=\"bottom\" alignment=\"end\">\n <nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"dark\" }'></nve-preferences-input>\n</nve-dropdown>\n",
|
|
27
27
|
"summary": "Preferences input embedded in a dropdown menu triggered from a page header settings button.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/progress-bar/progress-bar.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "progress-bar",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<nve-progress-bar value=\"50\"></nve-progress-bar>\n",
|
|
9
9
|
"summary": "Standard progress bar for representing completion levels from 0% to 100% for task tracking.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "progress-bar-status",
|
|
16
16
|
"name": "Status",
|
|
17
17
|
"template": "<div nve-layout=\"column gap:md pad:lg full\">\n <nve-progress-bar value=\"0\"></nve-progress-bar>\n <nve-progress-bar value=\"10\"></nve-progress-bar>\n <nve-progress-bar status=\"accent\" value=\"25\"></nve-progress-bar>\n <nve-progress-bar status=\"success\" value=\"50\"></nve-progress-bar>\n <nve-progress-bar status=\"warning\" value=\"75\"></nve-progress-bar>\n <nve-progress-bar status=\"danger\" value=\"100\"></nve-progress-bar>\n</div>\n",
|
|
18
18
|
"summary": "Progress bars with different status colors showing completion levels from 0% to 100% for task tracking.",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"id": "
|
|
26
|
+
"id": "progress-bar-max",
|
|
27
27
|
"name": "Max",
|
|
28
28
|
"template": "<div nve-layout=\"column gap:md pad:lg full\">\n <nve-progress-bar status=\"accent\" value=\"25\" max=\"50\"></nve-progress-bar>\n <nve-progress-bar status=\"accent\" value=\"45\" max=\"50\"></nve-progress-bar>\n</div>\n",
|
|
29
29
|
"summary": "Progress bars with custom max values for representing non-percentage based progress like file counts or steps.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"id": "
|
|
37
|
+
"id": "progress-bar-labeled",
|
|
38
38
|
"name": "Labeled",
|
|
39
39
|
"template": "<div nve-layout=\"column gap:xs pad:lg align:horizontal-stretch full\">\n <div nve-layout=\"row align:space-between\">\n <p nve-text=\"label sm\">Upload Status</p>\n <p nve-text=\"label emphasis sm\">80%</p>\n </div>\n <nve-progress-bar status=\"accent\" value=\"80\"></nve-progress-bar>\n</div>\n",
|
|
40
40
|
"summary": "Use a labeled progress bar with percentage display to communicate upload or task status.",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"id": "
|
|
48
|
+
"id": "progress-bar-indeterminate",
|
|
49
49
|
"name": "Indeterminate",
|
|
50
50
|
"template": "<nve-progress-bar></nve-progress-bar>\n",
|
|
51
51
|
"summary": "Indeterminate progress bar for showing activity when completion time is unknown, like loading or processing.",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"tags": []
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"id": "
|
|
57
|
+
"id": "progress-bar-indeterminate-status-colors",
|
|
58
58
|
"name": "IndeterminateStatusColors",
|
|
59
59
|
"template": "<div nve-layout=\"column gap:md full\">\n <nve-progress-bar status=\"accent\"></nve-progress-bar>\n <nve-progress-bar status=\"warning\"></nve-progress-bar>\n <nve-progress-bar status=\"danger\"></nve-progress-bar>\n</div>\n",
|
|
60
60
|
"summary": "Progress bars display as an animated loading indicator when no `value` attribute exists.",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
"id": "
|
|
68
|
+
"id": "progress-bar-indeterminate-custom-color",
|
|
69
69
|
"name": "IndeterminateCustomColor",
|
|
70
70
|
"template": "<nve-progress-bar\n style=\"--accent-color: var(--nve-sys-accent-primary-background); --height: var(--nve-ref-size-150); --opacity: 1\"\n></nve-progress-bar>\n",
|
|
71
71
|
"summary": "Indeterminate progress bar with custom color, height, and opacity for brand-specific styling and visual emphasis.",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"id": "
|
|
79
|
+
"id": "progress-bar-custom-heights",
|
|
80
80
|
"name": "CustomHeights",
|
|
81
81
|
"template": "<div nve-layout=\"column gap:md full\">\n <nve-progress-bar style=\"--height: var(--nve-ref-size-100)\"></nve-progress-bar>\n <nve-progress-bar style=\"--height: var(--nve-ref-size-200)\"></nve-progress-bar>\n <nve-progress-bar style=\"--height: var(--nve-ref-size-300)\"></nve-progress-bar>\n</div>\n",
|
|
82
82
|
"summary": "Progress bars with custom heights for different visual prominence levels and layout requirements.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/progress-ring/progress-ring.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "progress-ring",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\"></nve-progress-ring>\n\n <nve-progress-ring status=\"accent\" value=\"66\"></nve-progress-ring>\n</div>\n",
|
|
9
9
|
"summary": "Circular progress indicators showing indeterminate loading state and determinate completion progress.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "progress-ring-values",
|
|
16
16
|
"name": "Values",
|
|
17
17
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" value=\"0\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" value=\"33\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" value=\"66\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" value=\"100\"></nve-progress-ring>\n</div>\n",
|
|
18
18
|
"summary": "Progress rings displaying completion percentages from indeterminate to 0%, 33%, 66%, and 100%.",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"id": "
|
|
26
|
+
"id": "progress-ring-max",
|
|
27
27
|
"name": "Max",
|
|
28
28
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\" max=\"20\" value=\"5\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" max=\"20\" value=\"10\"></nve-progress-ring>\n\n <nve-progress-ring status=\"accent\" max=\"20\" value=\"15\"></nve-progress-ring>\n</div>\n",
|
|
29
29
|
"summary": "Progress rings with custom max values for proportional progress within a defined scale.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"id": "
|
|
37
|
+
"id": "progress-ring-status",
|
|
38
38
|
"name": "Status",
|
|
39
39
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"warning\" value=\"75\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\" value=\"75\"></nve-progress-ring>\n <nve-progress-ring status=\"warning\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\"></nve-progress-ring>\n</div>\n",
|
|
40
40
|
"summary": "Progress rings with warning and danger status colors for indicating critical or cautionary states.",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"tags": []
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
"id": "
|
|
46
|
+
"id": "progress-ring-with-text",
|
|
47
47
|
"name": "WithText",
|
|
48
48
|
"template": "<div nve-layout=\"row gap:xs align:vertical-center\" nve-text=\"medium\">\n <nve-progress-ring status=\"accent\" size=\"xs\" aria-labelledby=\"processing-label\"></nve-progress-ring>\n <span id=\"processing-label\">Processing...</span>\n</div>\n",
|
|
49
49
|
"summary": "Progress ring paired inline with descriptive text label for communicating loading state.",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tags": []
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"id": "
|
|
55
|
+
"id": "progress-ring-slotted-icon",
|
|
56
56
|
"name": "SlottedIcon",
|
|
57
57
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-progress-ring status=\"accent\">\n <nve-icon name=\"pause\" status=\"accent\"></nve-icon>\n </nve-progress-ring>\n</div>\n",
|
|
58
58
|
"summary": "Progress ring with custom status icon slotted in the center for enhanced visual communication.",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
"id": "
|
|
66
|
+
"id": "progress-ring-sizing",
|
|
67
67
|
"name": "Sizing",
|
|
68
68
|
"template": "<div nve-layout=\"row gap:sm pad:md\">\n <nve-progress-ring status=\"accent\" size=\"xxs\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" size=\"xs\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" size=\"sm\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" size=\"md\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" size=\"lg\"></nve-progress-ring>\n <nve-progress-ring status=\"accent\" size=\"xl\"></nve-progress-ring>\n</div>\n<div nve-layout=\"row gap:sm pad:md\">\n <nve-progress-ring status=\"danger\" size=\"xxs\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\" size=\"xs\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\" size=\"sm\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\" size=\"md\"></nve-progress-ring>\n <nve-progress-ring status=\"danger\" size=\"lg\"></nve-progress-ring>\n</div>\n",
|
|
69
69
|
"summary": "Progress rings in many sizes from extra-extra-small to extra-large for different UI contexts.",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
"id": "
|
|
77
|
+
"id": "progress-ring-with-button",
|
|
78
78
|
"name": "WithButton",
|
|
79
79
|
"template": "<div nve-layout=\"row gap:sm\">\n <nve-button>\n <nve-progress-ring status=\"neutral\" size=\"xxs\"></nve-progress-ring>\n Button\n </nve-button>\n <nve-button interaction=\"emphasis\">\n <nve-progress-ring status=\"neutral\" size=\"xxs\"></nve-progress-ring>\n Button\n </nve-button>\n <nve-button interaction=\"destructive\">\n <nve-progress-ring status=\"neutral\" size=\"xxs\"></nve-progress-ring>\n Button\n </nve-button>\n <nve-button>\n <nve-progress-ring status=\"neutral\" size=\"xxs\" value=\"33\"></nve-progress-ring>\n Button\n </nve-button>\n <nve-button interaction=\"emphasis\">\n <nve-progress-ring status=\"neutral\" size=\"xxs\" value=\"33\"></nve-progress-ring>\n Button\n </nve-button>\n <nve-button interaction=\"destructive\">\n <nve-progress-ring status=\"neutral\" size=\"xxs\" value=\"33\"></nve-progress-ring>\n Button\n </nve-button>\n</div>\n",
|
|
80
80
|
"summary": "Progress rings integrated within buttons to show loading states during actions and operations.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"entrypoint": "@nvidia-elements/core/progressive-filter-chip/progressive-filter-chip.examples.json",
|
|
4
4
|
"items": [
|
|
5
5
|
{
|
|
6
|
-
"id": "
|
|
6
|
+
"id": "progressive-filter-chip",
|
|
7
7
|
"name": "Default",
|
|
8
8
|
"template": "<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option>workload</option>\n <option selected>instance</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option>sort by</option>\n <option selected>filter by</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"filter\">\n <option selected>utilization</option>\n <option>status</option>\n </select>\n </nve-select>\n</nve-progressive-filter-chip>\n",
|
|
9
9
|
"summary": "Basic progressive filter chip with cascading select dropdowns for multi-criteria filtering.",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"tags": []
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
"id": "
|
|
15
|
+
"id": "progressive-filter-chip-layer",
|
|
16
16
|
"name": "Layer",
|
|
17
17
|
"template": "<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option>workload</option>\n <option selected>instance</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option>sort by</option>\n <option selected>filter by</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"filter\">\n <option selected>utilization</option>\n <option>status</option>\n </select>\n </nve-select>\n</nve-progressive-filter-chip>\n",
|
|
18
18
|
"summary": "Progressive filter chip with proper layer stacking within dropdown contexts.",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"tags": []
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"id": "
|
|
24
|
+
"id": "progressive-filter-chip-multiple",
|
|
25
25
|
"name": "Multiple",
|
|
26
26
|
"template": "<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option selected>status</option>\n <option>workload</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option selected>filter by</option>\n <option>sort by</option>\n </select>\n </nve-select>\n <nve-select>\n <select multiple aria-label=\"filter\">\n <option selected>progress</option>\n <option>pending</option>\n <option>success</option>\n <option>failed</option>\n </select>\n </nve-select>\n</nve-progressive-filter-chip>\n",
|
|
27
27
|
"summary": "Progressive filter chip with multi-select dropdown for filtering by many values simultaneously.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tags": []
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"id": "
|
|
33
|
+
"id": "progressive-filter-chip-text-input",
|
|
34
34
|
"name": "TextInput",
|
|
35
35
|
"template": "<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option selected>memory</option>\n <option>CPU</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option selected>greater than</option>\n <option>less than</option>\n <option>equal to</option>\n </select>\n </nve-select>\n <nve-input>\n <input type=\"number\" min=\"0\" max=\"100\" value=\"50\" aria-label=\"filter\" />\n </nve-input>\n</nve-progressive-filter-chip>\n",
|
|
36
36
|
"summary": "Progressive filter chip with numeric text input for threshold-based filtering (greater than, less than).",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"tags": []
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
-
"id": "
|
|
42
|
+
"id": "progressive-filter-chip-date-range",
|
|
43
43
|
"name": "DateRange",
|
|
44
44
|
"template": "<nve-progressive-filter-chip>\n <nve-select>\n <select aria-label=\"date type\">\n <option>recording date</option>\n <option>process date</option>\n </select>\n </nve-select>\n <nve-date>\n <input type=\"date\" value=\"2022-05-11\" aria-label=\"start date\" />\n </nve-date>\n <nve-date>\n <input type=\"date\" value=\"2022-12-07\" aria-label=\"end date\" />\n </nve-date>\n</nve-progressive-filter-chip>\n",
|
|
45
45
|
"summary": "Progressive filter chip with date picker inputs for filtering by date range criteria.",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tags": []
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"id": "
|
|
51
|
+
"id": "progressive-filter-chip-custom",
|
|
52
52
|
"name": "Custom",
|
|
53
53
|
"template": "<nve-progressive-filter-chip closable>\n <nve-select>\n <select aria-label=\"dataset\">\n <option>GPS</option>\n <option selected>Cellular</option>\n </select>\n </nve-select>\n <nve-select>\n <select aria-label=\"condition\">\n <option>contains</option>\n <option>excludes</option>\n </select>\n </nve-select>\n <nve-button style=\"width: 190px\" popovertarget=\"map-dropdown\">37.3706254,-121.9671894</nve-button>\n</nve-progressive-filter-chip>\n<nve-dropdown id=\"map-dropdown\">\n <nve-input>\n <nve-icon-button icon-name=\"map-pin\" readonly></nve-icon-button>\n <input value=\"37.3706254,-121.9671894\" disabled aria-label=\"map coordinates\" />\n </nve-input>\n <img src=\"static/images/test-map-2.webp\" width=\"300px\" alt=\"non-interactive demo map\" />\n</nve-dropdown>\n",
|
|
54
54
|
"summary": "Progressive filter chip with custom button trigger opening a map coordinate picker dropdown.",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"tags": []
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"id": "
|
|
60
|
+
"id": "progressive-filter-chip-validation",
|
|
61
61
|
"name": "Validation",
|
|
62
62
|
"template": "<div nve-layout=\"column gap:lg\">\n <nve-progressive-filter-chip closable>\n <nve-input>\n <input type=\"text\" value=\"validation\" required aria-label=\"validation\" />\n <nve-control-message error=\"valueMissing\">required</nve-control-message>\n </nve-input>\n <nve-input>\n <input type=\"text\" aria-label=\"validation\" />\n </nve-input>\n </nve-progressive-filter-chip>\n <nve-progressive-filter-chip closable>\n <nve-input status=\"error\">\n <input type=\"text\" value=\"manual validation\" formnovalidate aria-label=\"manual validation\" />\n </nve-input>\n <nve-input>\n <input type=\"text\" aria-label=\"validation\" />\n </nve-input>\n </nve-progressive-filter-chip>\n</div>\n",
|
|
63
63
|
"summary": "Progressive filter chip with input validation states showing required field and error styling.",
|