@nvidia-elements/core 2.18.4 → 2.19.1
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 +23 -0
- package/dist/_virtual/_rolldown/runtime.js +17 -0
- package/dist/accordion/accordion2.js +60 -57
- package/dist/accordion/accordion2.js.map +1 -1
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +37 -31
- package/dist/alert/alert2.js.map +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge.d.ts +0 -6
- package/dist/badge/badge2.js +31 -36
- package/dist/badge/badge2.js.map +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundles/index.d.ts +31 -27
- package/dist/bundles/index.js +8 -8
- 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/color.d.ts +2 -0
- package/dist/color/color2.js +7 -4
- package/dist/color/color2.js.map +1 -1
- package/dist/combobox/combobox.d.ts +2 -0
- package/dist/combobox/combobox2.js +14 -6
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/copy-button/copy-button2.js +26 -23
- package/dist/copy-button/copy-button2.js.map +1 -1
- package/dist/custom-elements-jsx.d.ts +6 -4
- package/dist/custom-elements-vue.d.ts +6 -4
- package/dist/custom-elements.json +90 -174
- package/dist/data.html.json +10 -10
- package/dist/data.snippets.json +60 -60
- package/dist/date/date.d.ts +2 -0
- package/dist/date/date2.js +7 -4
- package/dist/date/date2.js.map +1 -1
- package/dist/datetime/datetime.d.ts +2 -0
- package/dist/datetime/datetime2.js +7 -4
- package/dist/datetime/datetime2.js.map +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +27 -27
- package/dist/dialog/dialog2.js.map +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drag-handle/drag-handle2.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 +27 -27
- package/dist/drawer/drawer2.js.map +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +23 -23
- package/dist/dropdown/dropdown2.js.map +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +28 -22
- package/dist/dropzone/dropzone2.js.map +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-bytes/format-bytes2.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/format-truncate/format-truncate2.js +1 -1
- package/dist/forms/control/control.d.ts +3 -0
- package/dist/forms/control/control2.js +34 -31
- package/dist/forms/control/control2.js.map +1 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/gauge/gauge2.js +26 -21
- package/dist/gauge/gauge2.js.map +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/iframe/iframe2.js +1 -1
- package/dist/index.js +5 -6
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/index.d.ts +1 -2
- package/dist/internal/index.js +150 -33
- package/dist/internal/index.js.map +1 -0
- package/dist/internal/types/index.d.ts +1 -1
- package/dist/internal/types/index.js.map +1 -1
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-group2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month.d.ts +2 -0
- package/dist/month/month2.js +7 -4
- package/dist/month/month2.js.map +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification2.js +38 -32
- package/dist/notification/notification2.js.map +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-panel.d.ts +0 -7
- package/dist/page/page-panel/page-panel2.js +18 -20
- package/dist/page/page-panel/page-panel2.js.map +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 +45 -38
- package/dist/pagination/pagination2.js.map +1 -1
- package/dist/panel/panel2.js +43 -38
- package/dist/panel/panel2.js.map +1 -1
- package/dist/password/password.d.ts +2 -0
- package/dist/password/password2.js +10 -4
- package/dist/password/password2.js.map +1 -1
- package/dist/preferences-input/preferences-input2.js +32 -27
- package/dist/preferences-input/preferences-input2.js.map +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-dot/progress-dot2.js +17 -17
- package/dist/progress-dot/progress-dot2.js.map +1 -1
- package/dist/progress-ring/progress-ring2.js +27 -22
- package/dist/progress-ring/progress-ring2.js.map +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +30 -30
- package/dist/progressive-filter-chip/progressive-filter-chip2.js.map +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 +17 -17
- package/dist/resize-handle/resize-handle2.js.map +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +44 -41
- package/dist/select/select2.js.map +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +20 -20
- package/dist/sort-button/sort-button2.js.map +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/tabs-item-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +19 -19
- package/dist/tag/tag2.js.map +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time.d.ts +2 -0
- package/dist/time/time2.js +7 -4
- package/dist/time/time2.js.map +1 -1
- package/dist/toast/toast2.js +35 -29
- package/dist/toast/toast2.js.map +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +25 -25
- package/dist/toggletip/toggletip2.js.map +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node.d.ts +6 -0
- package/dist/tree/tree-node2.js +43 -30
- package/dist/tree/tree-node2.js.map +1 -1
- package/dist/tree/tree.examples.js.map +1 -1
- package/dist/tree/tree.examples.json +9 -0
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week.d.ts +2 -0
- package/dist/week/week2.js +7 -4
- package/dist/week/week2.js.map +1 -1
- package/package.json +4 -4
- package/dist/internal/controllers/i18n.controller.d.ts +0 -19
- package/dist/internal/controllers/i18n.controller.examples.js +0 -6
- package/dist/internal/controllers/i18n.controller.examples.js.map +0 -1
- package/dist/internal/controllers/i18n.controller.examples.json +0 -16
- package/dist/internal/controllers/i18n.controller.js +0 -38
- package/dist/internal/controllers/i18n.controller.js.map +0 -1
- package/dist/internal/services/i18n.service.d.ts +0 -64
- package/dist/internal/services/i18n.service.js +0 -73
- package/dist/internal/services/i18n.service.js.map +0 -1
|
@@ -2107,12 +2107,6 @@
|
|
|
2107
2107
|
"description": "Determines the visual prominence or weight",
|
|
2108
2108
|
"attribute": "prominence",
|
|
2109
2109
|
"reflects": true
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
"kind": "field",
|
|
2113
|
-
"name": "i18n",
|
|
2114
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
2115
|
-
"attribute": "i18n"
|
|
2116
2110
|
}
|
|
2117
2111
|
],
|
|
2118
2112
|
"attributes": [
|
|
@@ -2321,11 +2315,6 @@
|
|
|
2321
2315
|
},
|
|
2322
2316
|
"description": "Determines the visual prominence or weight",
|
|
2323
2317
|
"fieldName": "prominence"
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "i18n",
|
|
2327
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
2328
|
-
"fieldName": "i18n"
|
|
2329
2318
|
}
|
|
2330
2319
|
],
|
|
2331
2320
|
"superclass": {
|
|
@@ -2350,7 +2339,7 @@
|
|
|
2350
2339
|
"since": "0.11.0",
|
|
2351
2340
|
"status": "stable",
|
|
2352
2341
|
"behavior": "content",
|
|
2353
|
-
"markdown": "## nve-badge\n\nA visual indicator that communicates a status description of an associated component. Status badges use short text, color, built in icons for quick recognition and render near the relevant content.\n\n### Example\n\n```html\n<nve-badge>badge</nve-badge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/badge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Short text that communicates the badge status. |\n| prefix-icon | `string` | slot for prefix icon |\n| suffix-icon | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| container | `'flat' \\| undefined` | Determines the container styles of component. Flat suits nesting within other containers. |\n|
|
|
2342
|
+
"markdown": "## nve-badge\n\nA visual indicator that communicates a status description of an associated component. Status badges use short text, color, built in icons for quick recognition and render near the relevant content.\n\n### Example\n\n```html\n<nve-badge>badge</nve-badge>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/badge/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Short text that communicates the badge status. |\n| prefix-icon | `string` | slot for prefix icon |\n| suffix-icon | `string` | slot for suffix icon |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| color | `'red-cardinal' \\| 'gray-slate' \\| 'gray-denim' \\| 'blue-indigo' \\| 'blue-cobalt' \\| 'blue-sky' \\| 'teal-cyan' \\| 'green-mint' \\| 'teal-seafoam' \\| 'green-grass' \\| 'yellow-amber' \\| 'orange-pumpkin' \\| 'red-tomato' \\| 'pink-magenta' \\| 'purple-plum' \\| 'purple-violet' \\| 'purple-lavender' \\| 'pink-rose' \\| 'green-jade' \\| 'lime-pear' \\| 'yellow-nova' \\| 'brand-green'` | Defines a base color from the theme color palette |\n| container | `'flat' \\| undefined` | Determines the container styles of component. Flat suits nesting within other containers. |\n| prominence | `'emphasis' \\| undefined` | Determines the visual prominence or weight |\n| status | `'scheduled' \\| 'queued' \\| 'pending' \\| 'starting' \\| 'running' \\| 'restarting' \\| 'stopping' \\| 'finished' \\| 'failed' \\| 'unknown' \\| 'ignored' \\| 'accent' \\| 'warning' \\| 'success' \\| 'danger'` | Visual treatment to represent a ongoing task, support status. - `accent` Highlights important actions or draws attention to primary interactive elements. - `warning` Indicates cautionary actions that require careful consideration before proceeding. - `success` Represents positive outcomes, confirmations, or constructive actions. - `danger` Signals destructive or irreversible actions that need extra attention and confirmation. - `scheduled` Task has a scheduled future execution at a specific time. - `queued` Task is waiting in line to begin after other tasks complete. - `pending` Task is awaiting approval, user input, or external conditions before proceeding. - `starting` Task is initializing and preparing to begin active execution. - `running` Task is actively executing and making progress. - `restarting` Task restarts after an interruption or reset. - `stopping` Task is gracefully shutting down and completing cleanup operations. - `finished` Task has completed successfully with the expected outcome. - `failed` Task encountered an error and did not complete as intended. - `unknown` Task status remains unknown or unavailable. - `ignored` Task was intentionally skipped or excluded from execution. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --icon-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --text-transform | `string` | [MDN](https://mdn.dev/CSS/text-transform) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
2354
2343
|
}
|
|
2355
2344
|
}
|
|
2356
2345
|
],
|
|
@@ -26422,95 +26411,6 @@
|
|
|
26422
26411
|
}
|
|
26423
26412
|
]
|
|
26424
26413
|
},
|
|
26425
|
-
{
|
|
26426
|
-
"kind": "javascript-module",
|
|
26427
|
-
"path": "/src/internal/controllers/i18n.controller.js",
|
|
26428
|
-
"declarations": [
|
|
26429
|
-
{
|
|
26430
|
-
"kind": "function",
|
|
26431
|
-
"name": "i18n",
|
|
26432
|
-
"return": {
|
|
26433
|
-
"type": {
|
|
26434
|
-
"text": "ClassDecorator"
|
|
26435
|
-
}
|
|
26436
|
-
}
|
|
26437
|
-
},
|
|
26438
|
-
{
|
|
26439
|
-
"kind": "class",
|
|
26440
|
-
"description": "",
|
|
26441
|
-
"name": "I18nController",
|
|
26442
|
-
"members": [
|
|
26443
|
-
{
|
|
26444
|
-
"kind": "field",
|
|
26445
|
-
"name": "i18n",
|
|
26446
|
-
"type": {
|
|
26447
|
-
"text": "Partial<I18nStrings & { __set: boolean }>",
|
|
26448
|
-
"_sourceAliases": [],
|
|
26449
|
-
"values": [
|
|
26450
|
-
{
|
|
26451
|
-
"value": "Partial<I18nStrings & { __set: boolean }>",
|
|
26452
|
-
"description": ""
|
|
26453
|
-
}
|
|
26454
|
-
]
|
|
26455
|
-
},
|
|
26456
|
-
"readonly": true,
|
|
26457
|
-
"description": "Enables updating internal string values for internationalization."
|
|
26458
|
-
},
|
|
26459
|
-
{
|
|
26460
|
-
"kind": "field",
|
|
26461
|
-
"name": "#overrides",
|
|
26462
|
-
"privacy": "private",
|
|
26463
|
-
"type": {
|
|
26464
|
-
"text": "Partial<I18nStrings>",
|
|
26465
|
-
"_sourceAliases": [],
|
|
26466
|
-
"values": [
|
|
26467
|
-
{
|
|
26468
|
-
"value": "Partial<I18nStrings>",
|
|
26469
|
-
"description": ""
|
|
26470
|
-
}
|
|
26471
|
-
]
|
|
26472
|
-
},
|
|
26473
|
-
"default": "{}"
|
|
26474
|
-
},
|
|
26475
|
-
{
|
|
26476
|
-
"kind": "method",
|
|
26477
|
-
"name": "hostConnected"
|
|
26478
|
-
},
|
|
26479
|
-
{
|
|
26480
|
-
"kind": "method",
|
|
26481
|
-
"name": "hostDisconnected"
|
|
26482
|
-
},
|
|
26483
|
-
{
|
|
26484
|
-
"kind": "method",
|
|
26485
|
-
"name": "hostUpdate"
|
|
26486
|
-
},
|
|
26487
|
-
{
|
|
26488
|
-
"kind": "field",
|
|
26489
|
-
"name": "#update",
|
|
26490
|
-
"privacy": "private"
|
|
26491
|
-
}
|
|
26492
|
-
]
|
|
26493
|
-
}
|
|
26494
|
-
],
|
|
26495
|
-
"exports": [
|
|
26496
|
-
{
|
|
26497
|
-
"kind": "js",
|
|
26498
|
-
"name": "i18n",
|
|
26499
|
-
"declaration": {
|
|
26500
|
-
"name": "i18n",
|
|
26501
|
-
"module": "/src/internal/controllers/i18n.controller.js"
|
|
26502
|
-
}
|
|
26503
|
-
},
|
|
26504
|
-
{
|
|
26505
|
-
"kind": "js",
|
|
26506
|
-
"name": "I18nController",
|
|
26507
|
-
"declaration": {
|
|
26508
|
-
"name": "I18nController",
|
|
26509
|
-
"module": "/src/internal/controllers/i18n.controller.js"
|
|
26510
|
-
}
|
|
26511
|
-
}
|
|
26512
|
-
]
|
|
26513
|
-
},
|
|
26514
26414
|
{
|
|
26515
26415
|
"kind": "javascript-module",
|
|
26516
26416
|
"path": "/src/internal/controllers/key-state.controller.js",
|
|
@@ -28279,14 +28179,6 @@
|
|
|
28279
28179
|
"module": "home/runner/work/elements/elements/projects/core/src/internal/controllers/gesture.controller.js"
|
|
28280
28180
|
}
|
|
28281
28181
|
},
|
|
28282
|
-
{
|
|
28283
|
-
"kind": "js",
|
|
28284
|
-
"name": "*",
|
|
28285
|
-
"declaration": {
|
|
28286
|
-
"name": "*",
|
|
28287
|
-
"module": "home/runner/work/elements/elements/projects/core/src/internal/controllers/i18n.controller.js"
|
|
28288
|
-
}
|
|
28289
|
-
},
|
|
28290
28182
|
{
|
|
28291
28183
|
"kind": "js",
|
|
28292
28184
|
"name": "*",
|
|
@@ -28436,7 +28328,7 @@
|
|
|
28436
28328
|
"name": "*",
|
|
28437
28329
|
"declaration": {
|
|
28438
28330
|
"name": "*",
|
|
28439
|
-
"
|
|
28331
|
+
"package": "@nvidia-elements/foundations/internal/i18n"
|
|
28440
28332
|
}
|
|
28441
28333
|
},
|
|
28442
28334
|
{
|
|
@@ -28545,57 +28437,6 @@
|
|
|
28545
28437
|
}
|
|
28546
28438
|
]
|
|
28547
28439
|
},
|
|
28548
|
-
{
|
|
28549
|
-
"kind": "javascript-module",
|
|
28550
|
-
"path": "/src/internal/services/i18n.service.js",
|
|
28551
|
-
"declarations": [
|
|
28552
|
-
{
|
|
28553
|
-
"kind": "class",
|
|
28554
|
-
"description": "",
|
|
28555
|
-
"name": "I18nService_",
|
|
28556
|
-
"members": [
|
|
28557
|
-
{
|
|
28558
|
-
"kind": "field",
|
|
28559
|
-
"name": "i18n",
|
|
28560
|
-
"type": {
|
|
28561
|
-
"text": "Partial<I18nStrings>",
|
|
28562
|
-
"_sourceAliases": [],
|
|
28563
|
-
"values": [
|
|
28564
|
-
{
|
|
28565
|
-
"value": "Partial<I18nStrings>",
|
|
28566
|
-
"description": ""
|
|
28567
|
-
}
|
|
28568
|
-
]
|
|
28569
|
-
},
|
|
28570
|
-
"readonly": true
|
|
28571
|
-
}
|
|
28572
|
-
]
|
|
28573
|
-
},
|
|
28574
|
-
{
|
|
28575
|
-
"kind": "variable",
|
|
28576
|
-
"name": "I18nService",
|
|
28577
|
-
"default": "new I18nService_()"
|
|
28578
|
-
}
|
|
28579
|
-
],
|
|
28580
|
-
"exports": [
|
|
28581
|
-
{
|
|
28582
|
-
"kind": "js",
|
|
28583
|
-
"name": "I18nService_",
|
|
28584
|
-
"declaration": {
|
|
28585
|
-
"name": "I18nService_",
|
|
28586
|
-
"module": "/src/internal/services/i18n.service.js"
|
|
28587
|
-
}
|
|
28588
|
-
},
|
|
28589
|
-
{
|
|
28590
|
-
"kind": "js",
|
|
28591
|
-
"name": "I18nService",
|
|
28592
|
-
"declaration": {
|
|
28593
|
-
"name": "I18nService",
|
|
28594
|
-
"module": "/src/internal/services/i18n.service.js"
|
|
28595
|
-
}
|
|
28596
|
-
}
|
|
28597
|
-
]
|
|
28598
|
-
},
|
|
28599
28440
|
{
|
|
28600
28441
|
"kind": "javascript-module",
|
|
28601
28442
|
"path": "/src/internal/services/log.service.js",
|
|
@@ -34286,12 +34127,6 @@
|
|
|
34286
34127
|
"attribute": "size",
|
|
34287
34128
|
"reflects": true,
|
|
34288
34129
|
"descriptionText": "Controls the visual scale of an element to match its importance and available space."
|
|
34289
|
-
},
|
|
34290
|
-
{
|
|
34291
|
-
"kind": "field",
|
|
34292
|
-
"name": "i18n",
|
|
34293
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
34294
|
-
"attribute": "i18n"
|
|
34295
34130
|
}
|
|
34296
34131
|
],
|
|
34297
34132
|
"events": [
|
|
@@ -34333,11 +34168,6 @@
|
|
|
34333
34168
|
"description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
|
|
34334
34169
|
"fieldName": "size",
|
|
34335
34170
|
"descriptionText": "Controls the visual scale of an element to match its importance and available space."
|
|
34336
|
-
},
|
|
34337
|
-
{
|
|
34338
|
-
"name": "i18n",
|
|
34339
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
34340
|
-
"fieldName": "i18n"
|
|
34341
34171
|
}
|
|
34342
34172
|
],
|
|
34343
34173
|
"superclass": {
|
|
@@ -34362,7 +34192,7 @@
|
|
|
34362
34192
|
"since": "1.15.0",
|
|
34363
34193
|
"status": "stable",
|
|
34364
34194
|
"behavior": "content",
|
|
34365
|
-
"markdown": "## nve-page-panel\n\nChild panel for embedded panels within the page component. Typically used for left/right/bottom page slot positions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-page-panel-content` elements that provide the panel body. |\n| actions | `string` | slot for action / dismiss buttons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n|
|
|
34195
|
+
"markdown": "## nve-page-panel\n\nChild panel for embedded panels within the page component. Typically used for left/right/bottom page slot positions.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/page/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-page-panel-content` elements that provide the panel body. |\n| actions | `string` | slot for action / dismiss buttons |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| size | `'sm' \\| 'md' \\| 'lg' \\| undefined` | Controls the visual scale of an element to match its importance and available space. - `sm` Compact size for dense layouts or secondary elements with less visual prominence. - `md` Standard size that works well in most contexts and provides balanced visibility. - `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched after an invoker command sets `hidden` and closes the panel. |\n| open | `CustomEvent` | Dispatched after an invoker command removes `hidden` and opens the panel. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | Sets `hidden` and dispatches `close`. |\n| --open | `CommandEvent` | Removes `hidden` and dispatches `open`. |\n| --toggle | `CommandEvent` | Toggles `hidden` and dispatches `open` or `close`. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --animation-duration | `string` | Duration of panel open/close animations [MDN](https://mdn.dev/CSS/animation-duration) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --gap | `string` | [MDN](https://mdn.dev/CSS/gap) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --max-height | `string` | [MDN](https://mdn.dev/CSS/max-height) |\n| --max-width | `string` | [MDN](https://mdn.dev/CSS/max-width) |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
34366
34196
|
},
|
|
34367
34197
|
"commands": [
|
|
34368
34198
|
{
|
|
@@ -51682,6 +51512,56 @@
|
|
|
51682
51512
|
}
|
|
51683
51513
|
],
|
|
51684
51514
|
"members": [
|
|
51515
|
+
{
|
|
51516
|
+
"kind": "field",
|
|
51517
|
+
"name": "command",
|
|
51518
|
+
"type": {
|
|
51519
|
+
"text": "string",
|
|
51520
|
+
"_sourceAliases": [],
|
|
51521
|
+
"values": [
|
|
51522
|
+
{
|
|
51523
|
+
"value": "string",
|
|
51524
|
+
"description": ""
|
|
51525
|
+
}
|
|
51526
|
+
]
|
|
51527
|
+
},
|
|
51528
|
+
"default": "''",
|
|
51529
|
+
"description": "Command to invoke on a node title click or Enter on its header.",
|
|
51530
|
+
"attribute": "command"
|
|
51531
|
+
},
|
|
51532
|
+
{
|
|
51533
|
+
"kind": "field",
|
|
51534
|
+
"name": "commandfor",
|
|
51535
|
+
"type": {
|
|
51536
|
+
"text": "string | null",
|
|
51537
|
+
"_sourceAliases": [],
|
|
51538
|
+
"values": [
|
|
51539
|
+
{
|
|
51540
|
+
"value": "string",
|
|
51541
|
+
"description": ""
|
|
51542
|
+
},
|
|
51543
|
+
{
|
|
51544
|
+
"value": "null",
|
|
51545
|
+
"description": ""
|
|
51546
|
+
}
|
|
51547
|
+
]
|
|
51548
|
+
},
|
|
51549
|
+
"default": "null",
|
|
51550
|
+
"description": "ID of the element that receives the command.",
|
|
51551
|
+
"attribute": "commandfor",
|
|
51552
|
+
"reflects": true
|
|
51553
|
+
},
|
|
51554
|
+
{
|
|
51555
|
+
"kind": "field",
|
|
51556
|
+
"name": "commandForElement",
|
|
51557
|
+
"type": {
|
|
51558
|
+
"text": "HTMLElement | null",
|
|
51559
|
+
"_sourceAliases": [],
|
|
51560
|
+
"values": []
|
|
51561
|
+
},
|
|
51562
|
+
"default": "null",
|
|
51563
|
+
"description": "Direct command target, taking precedence over commandfor."
|
|
51564
|
+
},
|
|
51685
51565
|
{
|
|
51686
51566
|
"kind": "field",
|
|
51687
51567
|
"name": "expanded",
|
|
@@ -51838,6 +51718,42 @@
|
|
|
51838
51718
|
}
|
|
51839
51719
|
],
|
|
51840
51720
|
"attributes": [
|
|
51721
|
+
{
|
|
51722
|
+
"name": "command",
|
|
51723
|
+
"type": {
|
|
51724
|
+
"text": "string",
|
|
51725
|
+
"_sourceAliases": [],
|
|
51726
|
+
"values": [
|
|
51727
|
+
{
|
|
51728
|
+
"value": "string",
|
|
51729
|
+
"description": ""
|
|
51730
|
+
}
|
|
51731
|
+
]
|
|
51732
|
+
},
|
|
51733
|
+
"default": "''",
|
|
51734
|
+
"description": "Command to invoke on a node title click or Enter on its header.",
|
|
51735
|
+
"fieldName": "command"
|
|
51736
|
+
},
|
|
51737
|
+
{
|
|
51738
|
+
"name": "commandfor",
|
|
51739
|
+
"type": {
|
|
51740
|
+
"text": "string | null",
|
|
51741
|
+
"_sourceAliases": [],
|
|
51742
|
+
"values": [
|
|
51743
|
+
{
|
|
51744
|
+
"value": "string",
|
|
51745
|
+
"description": ""
|
|
51746
|
+
},
|
|
51747
|
+
{
|
|
51748
|
+
"value": "null",
|
|
51749
|
+
"description": ""
|
|
51750
|
+
}
|
|
51751
|
+
]
|
|
51752
|
+
},
|
|
51753
|
+
"default": "null",
|
|
51754
|
+
"description": "ID of the element that receives the command.",
|
|
51755
|
+
"fieldName": "commandfor"
|
|
51756
|
+
},
|
|
51841
51757
|
{
|
|
51842
51758
|
"name": "expanded",
|
|
51843
51759
|
"type": {
|
|
@@ -51967,7 +51883,7 @@
|
|
|
51967
51883
|
"since": "1.2.0",
|
|
51968
51884
|
"status": "stable",
|
|
51969
51885
|
"behavior": "list",
|
|
51970
|
-
"markdown": "## nve-tree-node\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Use default slot for basic text content or nested <nve-tree-node> elements. |\n| content | `string` | Use only for extended long form content containing interactive elements or form inputs. |\n| prefix | `string` | Use for prefix content before the node title. |\n| suffix | `string` | Use for suffix content after the node title. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| expandable | `boolean` | Determines whether a node can be expandable. Expandable by default if slotted nodes exist. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| highlighted | `boolean` | Determines the highlighted state of the element. Highlighted states serve non-interactive selections where nodes may relate to other selected portions of the UI. |\n| i18n | | Updates internal string values for internationalization. |\n| nodes | `TreeNode[]` | Returns the slotted child tree nodes. |\n| selectable | `'single' \\| 'multi'` | Determines whether a node can be in a selected state. Nodes can be in a single or multi select state. |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the node closes. |\n| open | `CustomEvent` | Dispatched when the node opens. |\n| select | `CustomEvent` | Dispatched when the node selection state changes. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | use to close the node |\n| --deselect | `CommandEvent` | use to deselect the node |\n| --open | `CommandEvent` | use to open the node |\n| --select | `CommandEvent` | use to select the node |\n| --toggle | `CommandEvent` | use to toggle open / closed state of the node |\n| --toggle-select | `CommandEvent` | use to toggle the node selection state |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| close | `close(): unknown` | closes and sets the expanded state automatically if behaviorExpand is true |\n| open | `open(): unknown` | opens and sets the expanded state automatically if behaviorExpand is true |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-wrap | `string` | [MDN](https://mdn.dev/CSS/text-wrap) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
51886
|
+
"markdown": "## nve-tree-node\n\nA tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/tree/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Use default slot for basic text content or nested <nve-tree-node> elements. |\n| content | `string` | Use only for extended long form content containing interactive elements or form inputs. |\n| prefix | `string` | Use for prefix content before the node title. |\n| suffix | `string` | Use for suffix content after the node title. |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| command | `string` | Command to invoke on a node title click or Enter on its header. |\n| commandfor | `string \\| null` | ID of the element that receives the command. |\n| commandForElement | `HTMLElement \\| null` | Direct command target, taking precedence over commandfor. |\n| expandable | `boolean` | Determines whether a node can be expandable. Expandable by default if slotted nodes exist. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| highlighted | `boolean` | Determines the highlighted state of the element. Highlighted states serve non-interactive selections where nodes may relate to other selected portions of the UI. |\n| i18n | | Updates internal string values for internationalization. |\n| nodes | `TreeNode[]` | Returns the slotted child tree nodes. |\n| selectable | `'single' \\| 'multi'` | Determines whether a node can be in a selected state. Nodes can be in a single or multi select state. |\n| selected | `boolean` | Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://mdn.dev/ARIA/Attributes/aria-selected) - `true` The element holds selection and represents the user's current choice within the group. - `false` The element does not hold selection and the user can choose it. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| close | `CustomEvent` | Dispatched when the node closes. |\n| open | `CustomEvent` | Dispatched when the node opens. |\n| select | `CustomEvent` | Dispatched when the node selection state changes. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --close | `CommandEvent` | use to close the node |\n| --deselect | `CommandEvent` | use to deselect the node |\n| --open | `CommandEvent` | use to open the node |\n| --select | `CommandEvent` | use to select the node |\n| --toggle | `CommandEvent` | use to toggle open / closed state of the node |\n| --toggle-select | `CommandEvent` | use to toggle the node selection state |\n\n### Methods\n\n| method | signatures | description |\n| ------ | ---------- | ----------- |\n| close | `close(): unknown` | closes and sets the expanded state automatically if behaviorExpand is true |\n| open | `open(): unknown` | opens and sets the expanded state automatically if behaviorExpand is true |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --text-wrap | `string` | [MDN](https://mdn.dev/CSS/text-wrap) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
51971
51887
|
},
|
|
51972
51888
|
"commands": [
|
|
51973
51889
|
{
|
package/dist/data.html.json
CHANGED
|
@@ -343,11 +343,6 @@
|
|
|
343
343
|
"name": "prominence",
|
|
344
344
|
"description": "Determines the visual prominence or weight",
|
|
345
345
|
"values": [{ "name": "emphasis" }]
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"name": "i18n",
|
|
349
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
350
|
-
"values": []
|
|
351
346
|
}
|
|
352
347
|
],
|
|
353
348
|
"references": [
|
|
@@ -3718,11 +3713,6 @@
|
|
|
3718
3713
|
"name": "size",
|
|
3719
3714
|
"description": "Controls the visual scale of an element to match its importance and available space.\n- `sm` Compact size for dense layouts or secondary elements with less visual prominence.\n\n- `md` Standard size that works well in most contexts and provides balanced visibility.\n\n- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts.",
|
|
3720
3715
|
"values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
|
|
3721
|
-
},
|
|
3722
|
-
{
|
|
3723
|
-
"name": "i18n",
|
|
3724
|
-
"description": "Enables updating internal string values for internationalization.",
|
|
3725
|
-
"values": []
|
|
3726
3716
|
}
|
|
3727
3717
|
],
|
|
3728
3718
|
"references": [
|
|
@@ -5830,6 +5820,16 @@
|
|
|
5830
5820
|
"name": "nve-tree-node",
|
|
5831
5821
|
"description": "A tree view widget presents a hierarchical list. Any item in the hierarchy may have child items, and items that have children can expand or collapse to show or hide the children.\n---\n\n\n### **Events:**\n - **open** - Dispatched when the node opens.\n- **close** - Dispatched when the node closes.\n- **select** - Dispatched when the node selection state changes.\n\n### **Methods:**\n - **open()** - opens and sets the expanded state automatically if behaviorExpand is true\n- **close()** - closes and sets the expanded state automatically if behaviorExpand is true\n\n### **Slots:**\n - _default_ - Use default slot for basic text content or nested <nve-tree-node> elements.\n- **prefix** - Use for prefix content before the node title.\n- **suffix** - Use for suffix content after the node title.\n- **content** - Use only for extended long form content containing interactive elements or form inputs.\n\n### **CSS Properties:**\n - **--color** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color) _(default: undefined)_\n- **--border-radius** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) _(default: undefined)_\n- **--font-size** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-size) _(default: undefined)_\n- **--min-height** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height) _(default: undefined)_\n- **--text-wrap** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap) _(default: undefined)_\n- **--font-weight** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight) _(default: undefined)_\n- **--width** - [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/width) _(default: undefined)_\n\n### **CSS Parts:**\n - **icon-button** - The icon button element\n- **icon** - The icon element\n- **checkbox** - The checkbox element",
|
|
5832
5822
|
"attributes": [
|
|
5823
|
+
{
|
|
5824
|
+
"name": "command",
|
|
5825
|
+
"description": "Command to invoke on a node title click or Enter on its header.",
|
|
5826
|
+
"values": []
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
"name": "commandfor",
|
|
5830
|
+
"description": "ID of the element that receives the command.",
|
|
5831
|
+
"values": []
|
|
5832
|
+
},
|
|
5833
5833
|
{
|
|
5834
5834
|
"name": "expanded",
|
|
5835
5835
|
"description": "Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n- `true` The associated content expands and becomes visible to the user.\n\n- `false` The associated content collapses and hides from the user.",
|
package/dist/data.snippets.json
CHANGED
|
@@ -71,6 +71,24 @@
|
|
|
71
71
|
"description": "Basic inline search",
|
|
72
72
|
"body": "<nve-search>\n <input type=\"search\" aria-label=\"${2:search}\" placeholder=\"${3:search}\">\n</nve-search>\n"
|
|
73
73
|
},
|
|
74
|
+
"Page Header": {
|
|
75
|
+
"srcFile": "page-header.snippets.html",
|
|
76
|
+
"prefix": [
|
|
77
|
+
"page-header"
|
|
78
|
+
],
|
|
79
|
+
"type": "pattern",
|
|
80
|
+
"description": "Basic page-header layout.",
|
|
81
|
+
"body": "<nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\">NV</nve-logo>\n <h2 slot=\"prefix\">${1:NVIDIA}</h2>\n</nve-page-header>\n"
|
|
82
|
+
},
|
|
83
|
+
"Page Header with Links": {
|
|
84
|
+
"srcFile": "page-header.snippets.html",
|
|
85
|
+
"prefix": [
|
|
86
|
+
"page-header-with-links"
|
|
87
|
+
],
|
|
88
|
+
"type": "pattern",
|
|
89
|
+
"description": "Basic page-header layout with links.",
|
|
90
|
+
"body": "<nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\">NV</nve-logo>\n <h2 slot=\"prefix\">${1:NVIDIA}</h2>\n <nve-button selected container=\"flat\"><a href=\"#\">${2:Link 1}</a></nve-button>\n <nve-button container=\"flat\"><a href=\"#\">${3:Link 2}</a></nve-button>\n</nve-page-header>\n"
|
|
91
|
+
},
|
|
74
92
|
"Page": {
|
|
75
93
|
"srcFile": "page.snippets.html",
|
|
76
94
|
"prefix": [
|
|
@@ -116,24 +134,6 @@
|
|
|
116
134
|
"description": "Basic page subheader using toolbar.",
|
|
117
135
|
"body": "<nve-toolbar slot=\"subheader\">\n <h2 nve-text=\"emphasis heading sm\">${1:Subheader}</h2>\n</nve-toolbar>\n"
|
|
118
136
|
},
|
|
119
|
-
"Page Header": {
|
|
120
|
-
"srcFile": "page-header.snippets.html",
|
|
121
|
-
"prefix": [
|
|
122
|
-
"page-header"
|
|
123
|
-
],
|
|
124
|
-
"type": "pattern",
|
|
125
|
-
"description": "Basic page-header layout.",
|
|
126
|
-
"body": "<nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\">NV</nve-logo>\n <h2 slot=\"prefix\">${1:NVIDIA}</h2>\n</nve-page-header>\n"
|
|
127
|
-
},
|
|
128
|
-
"Page Header with Links": {
|
|
129
|
-
"srcFile": "page-header.snippets.html",
|
|
130
|
-
"prefix": [
|
|
131
|
-
"page-header-with-links"
|
|
132
|
-
],
|
|
133
|
-
"type": "pattern",
|
|
134
|
-
"description": "Basic page-header layout with links.",
|
|
135
|
-
"body": "<nve-page-header slot=\"header\">\n <nve-logo slot=\"prefix\" size=\"sm\">NV</nve-logo>\n <h2 slot=\"prefix\">${1:NVIDIA}</h2>\n <nve-button selected container=\"flat\"><a href=\"#\">${2:Link 1}</a></nve-button>\n <nve-button container=\"flat\"><a href=\"#\">${3:Link 2}</a></nve-button>\n</nve-page-header>\n"
|
|
136
|
-
},
|
|
137
137
|
"Input Group": {
|
|
138
138
|
"srcFile": "input.snippets.html",
|
|
139
139
|
"prefix": [
|
|
@@ -188,6 +188,33 @@
|
|
|
188
188
|
"description": "Dialog is a component that appears above main content. A modal dialog is used to display critical information that requires users attention.",
|
|
189
189
|
"body": "<nve-dialog size=\"${6:md}\" closable>\n <nve-dialog-header>\n <h3 nve-text=\"heading semibold\">${1:Title}</h3>\n </nve-dialog-header>\n <p nve-text=\"body\">${2:Content}</p>\n <nve-dialog-footer>\n <nve-button>${3:Cancel}</nve-button>\n <nve-button interaction=\"${4:emphasis}\">${5:OK}</nve-button>\n </nve-dialog-footer>\n</nve-dialog>\n$0\n"
|
|
190
190
|
},
|
|
191
|
+
"Card": {
|
|
192
|
+
"srcFile": "card.snippets.html",
|
|
193
|
+
"prefix": [
|
|
194
|
+
"card"
|
|
195
|
+
],
|
|
196
|
+
"type": "pattern",
|
|
197
|
+
"description": "Basic Card with header and footer",
|
|
198
|
+
"body": "<nve-card>\n <nve-card-header>\n <div>\n <h2>${1:Title}</h2>\n <p>${2:Sub Title}</p>\n </div>\n </nve-card-header>\n <nve-card-content>\n ${3:\n <p>card content</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <nve-button style=\"margin-left: auto\">Action</nve-button>\n </nve-card-footer>\n</nve-card>\n"
|
|
199
|
+
},
|
|
200
|
+
"Media Card": {
|
|
201
|
+
"srcFile": "card.snippets.html",
|
|
202
|
+
"prefix": [
|
|
203
|
+
"media-card"
|
|
204
|
+
],
|
|
205
|
+
"type": "pattern",
|
|
206
|
+
"description": "Basic media Card with card content and card footer",
|
|
207
|
+
"body": "<nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card demo\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${1:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${2:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${3:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n</nve-card>\n"
|
|
208
|
+
},
|
|
209
|
+
"Media Card Grid": {
|
|
210
|
+
"srcFile": "card.snippets.html",
|
|
211
|
+
"prefix": [
|
|
212
|
+
"media-card-grid"
|
|
213
|
+
],
|
|
214
|
+
"type": "pattern",
|
|
215
|
+
"description": "Grid layout with 3 media cards",
|
|
216
|
+
"body": "<section nve-layout=\"grid span-items:4 gap:md\">\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 1\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${1:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${2:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${3:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 2\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${4:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${5:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${6:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n\n <nve-card style=\"height: 100%; width: 100%;\">\n <img alt=\"example visualization for media card 3\" loading=\"lazy\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n <nve-card-content>\n ${7:\n <p>•︎•︎•︎ •︎•︎•︎ •︎•︎•︎</p>\n }\n </nve-card-content>\n <nve-card-footer>\n <div nve-layout=\"grid span-items:6 gap:xs\">\n <nve-button>${8:•︎•︎•︎•︎•︎•︎}</nve-button>\n <nve-button>${9:•︎•︎•︎•︎•︎•︎}</nve-button>\n </div>\n </nve-card-footer>\n </nve-card>\n</section>\n"
|
|
217
|
+
},
|
|
191
218
|
"Button Group": {
|
|
192
219
|
"srcFile": "button-group.snippets.html",
|
|
193
220
|
"prefix": [
|
|
@@ -224,32 +251,32 @@
|
|
|
224
251
|
"description": "Simple vertical button group with three icon buttons.",
|
|
225
252
|
"body": "<nve-button-group orientation=\"vertical\">\n <nve-icon-button icon-name=\"${1:copy}\"></nve-icon-button>\n <nve-icon-button icon-name=\"${2:add-comment}\"></nve-icon-button>\n <nve-icon-button icon-name=\"${3:download}\"></nve-icon-button>\n</nve-button-group>\n"
|
|
226
253
|
},
|
|
227
|
-
"
|
|
228
|
-
"srcFile": "
|
|
254
|
+
"Accordion": {
|
|
255
|
+
"srcFile": "accordion.snippets.html",
|
|
229
256
|
"prefix": [
|
|
230
|
-
"
|
|
257
|
+
"accordion"
|
|
231
258
|
],
|
|
232
259
|
"type": "pattern",
|
|
233
|
-
"description": "Basic
|
|
234
|
-
"body": "<nve-
|
|
260
|
+
"description": "Basic accordion with title and content slot.",
|
|
261
|
+
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div>${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
235
262
|
},
|
|
236
|
-
"
|
|
237
|
-
"srcFile": "
|
|
263
|
+
"Accordion with Actions": {
|
|
264
|
+
"srcFile": "accordion.snippets.html",
|
|
238
265
|
"prefix": [
|
|
239
|
-
"
|
|
266
|
+
"accordion-actions"
|
|
240
267
|
],
|
|
241
268
|
"type": "pattern",
|
|
242
|
-
"description": "
|
|
243
|
-
"body": "<nve-
|
|
269
|
+
"description": "Accordion with action buttons in header.",
|
|
270
|
+
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div>${2:Title}</div>\n\n <nve-icon-button container=\"flat\" icon-name=\"${3:add}\" size=\"sm\" slot=\"suffix\"></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"${4:delete}\" size=\"sm\" slot=\"suffix\"></nve-icon-button>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
244
271
|
},
|
|
245
|
-
"
|
|
246
|
-
"srcFile": "
|
|
272
|
+
"Accorion Group": {
|
|
273
|
+
"srcFile": "accordion.snippets.html",
|
|
247
274
|
"prefix": [
|
|
248
|
-
"
|
|
275
|
+
"accordion-group"
|
|
249
276
|
],
|
|
250
277
|
"type": "pattern",
|
|
251
|
-
"description": "
|
|
252
|
-
"body": "<
|
|
278
|
+
"description": "Accordion group with two accordion children.",
|
|
279
|
+
"body": "<nve-accordion-group behavior-expand-single container=\"${1:flat}\">\n <nve-accordion>\n <nve-accordion-header>\n <div>${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div>${4:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div>${6:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${7:Content} </nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n$0\n"
|
|
253
280
|
},
|
|
254
281
|
"Alert Group": {
|
|
255
282
|
"srcFile": "alert.snippets.html",
|
|
@@ -277,32 +304,5 @@
|
|
|
277
304
|
"type": "pattern",
|
|
278
305
|
"description": "Alert text and preformatted code output.",
|
|
279
306
|
"body": "<nve-alert-group status=\"danger\">\n <nve-alert>\n Session Paused:\n <div slot=\"content\" nve-layout=\"column gap:sm align:stretch\">\n <p nve-text=\"body sm\">Failed to verify drives. <a href=\"#\" nve-text=\"link\">Check Status</a></p>\n <nve-divider style=\"--color: var(--nve-sys-text-muted-color)\"></nve-divider>\n <pre nve-text=\"code sm\" style=\"background: transparent !important; margin: 0;\">10:06:01 AM [verify] update /virtual:/verify/\n10:06:11 AM [build] update /virtual:/build/\n10:06:22 AM [error] update /virtual:/error/ - failed to connect to remote\n </pre>\n </div>\n </nve-alert>\n</nve-alert-group>\n$0\n"
|
|
280
|
-
},
|
|
281
|
-
"Accordion": {
|
|
282
|
-
"srcFile": "accordion.snippets.html",
|
|
283
|
-
"prefix": [
|
|
284
|
-
"accordion"
|
|
285
|
-
],
|
|
286
|
-
"type": "pattern",
|
|
287
|
-
"description": "Basic accordion with title and content slot.",
|
|
288
|
-
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div>${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
289
|
-
},
|
|
290
|
-
"Accordion with Actions": {
|
|
291
|
-
"srcFile": "accordion.snippets.html",
|
|
292
|
-
"prefix": [
|
|
293
|
-
"accordion-actions"
|
|
294
|
-
],
|
|
295
|
-
"type": "pattern",
|
|
296
|
-
"description": "Accordion with action buttons in header.",
|
|
297
|
-
"body": "<nve-accordion behavior-expand container=\"${1:flat}\">\n <nve-accordion-header>\n <div>${2:Title}</div>\n\n <nve-icon-button container=\"flat\" icon-name=\"${3:add}\" size=\"sm\" slot=\"suffix\"></nve-icon-button>\n <nve-icon-button container=\"flat\" icon-name=\"${4:delete}\" size=\"sm\" slot=\"suffix\"></nve-icon-button>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n</nve-accordion>\n$0\n"
|
|
298
|
-
},
|
|
299
|
-
"Accorion Group": {
|
|
300
|
-
"srcFile": "accordion.snippets.html",
|
|
301
|
-
"prefix": [
|
|
302
|
-
"accordion-group"
|
|
303
|
-
],
|
|
304
|
-
"type": "pattern",
|
|
305
|
-
"description": "Accordion group with two accordion children.",
|
|
306
|
-
"body": "<nve-accordion-group behavior-expand-single container=\"${1:flat}\">\n <nve-accordion>\n <nve-accordion-header>\n <div>${2:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${3:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div>${4:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${5:Content} </nve-accordion-content>\n </nve-accordion>\n\n <nve-accordion>\n <nve-accordion-header>\n <div>${6:Title}</div>\n </nve-accordion-header>\n\n <nve-accordion-content> ${7:Content} </nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n$0\n"
|
|
307
307
|
}
|
|
308
308
|
}
|
package/dist/date/date.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ContainerElement } from '@nvidia-elements/core/internal';
|
|
2
2
|
import { Control } from '@nvidia-elements/core/forms';
|
|
3
3
|
import { IconButton } from '@nvidia-elements/core/icon-button';
|
|
4
|
+
import type { I18nDefaults } from '@nvidia-elements/foundations/internal/i18n';
|
|
4
5
|
/**
|
|
5
6
|
* @element nve-date
|
|
6
7
|
* @description A date picker is a control that enables users to choose a date value.
|
|
@@ -24,6 +25,7 @@ import { IconButton } from '@nvidia-elements/core/icon-button';
|
|
|
24
25
|
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date
|
|
25
26
|
*/
|
|
26
27
|
export declare class Date extends Control implements ContainerElement {
|
|
28
|
+
protected get i18nDefaults(): I18nDefaults;
|
|
27
29
|
/**
|
|
28
30
|
* Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.
|
|
29
31
|
* Use when embedding within another container such as a toolbar.
|