@nvidia-elements/core 2.15.5 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundle.d.ts +4 -0
- package/dist/bundles/index.d.ts +63 -0
- package/dist/bundles/index.js +73 -6
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +49 -0
- package/dist/custom-elements-vue.d.ts +49 -0
- package/dist/custom-elements.json +370 -55
- package/dist/data.html.json +42 -0
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/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 +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-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/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/gauge/gauge2.js +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button.d.ts +5 -0
- package/dist/icon-button/icon-button2.js +3 -3
- package/dist/icon-button/icon-button2.js.map +1 -1
- package/dist/iframe/define.d.ts +6 -0
- package/dist/iframe/define.js +7 -0
- package/dist/iframe/define.js.map +1 -0
- package/dist/iframe/iframe.d.ts +28 -0
- package/dist/iframe/iframe.examples.js +6 -0
- package/dist/iframe/iframe.examples.js.map +1 -0
- package/dist/iframe/iframe.examples.json +59 -0
- package/dist/iframe/iframe.js +6 -0
- package/dist/iframe/iframe.js.map +1 -0
- package/dist/iframe/iframe2.js +183 -0
- package/dist/iframe/iframe2.js.map +1 -0
- package/dist/iframe/index.d.ts +1 -0
- package/dist/iframe/index.js +2 -0
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/keynav-grid.controller.js +93 -62
- package/dist/internal/controllers/keynav-grid.controller.js.map +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/utils/events.d.ts +6 -1
- package/dist/internal/utils/events.js +22 -4
- package/dist/internal/utils/events.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/month2.js +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification2.js +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-dot/define.d.ts +6 -0
- package/dist/progress-dot/define.js +7 -0
- package/dist/progress-dot/define.js.map +1 -0
- package/dist/progress-dot/index.d.ts +1 -0
- package/dist/progress-dot/index.js +2 -0
- package/dist/progress-dot/progress-dot.d.ts +33 -0
- package/dist/progress-dot/progress-dot.examples.js +6 -0
- package/dist/progress-dot/progress-dot.examples.js.map +1 -0
- package/dist/progress-dot/progress-dot.examples.json +64 -0
- package/dist/progress-dot/progress-dot.js +6 -0
- package/dist/progress-dot/progress-dot.js.map +1 -0
- package/dist/progress-dot/progress-dot2.js +40 -0
- package/dist/progress-dot/progress-dot2.js.map +1 -0
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header.js +1 -1
- package/dist/toggletip/toggletip-header.js.map +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip.examples.js.map +1 -1
- package/dist/toggletip/toggletip.examples.json +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week2.js +1 -1
- package/package.json +26 -1
package/dist/button/button2.js
CHANGED
package/dist/card/card2.js
CHANGED
|
@@ -16,7 +16,7 @@ var d = class extends c {
|
|
|
16
16
|
static {
|
|
17
17
|
this.metadata = {
|
|
18
18
|
tag: "nve-card",
|
|
19
|
-
version: "2.
|
|
19
|
+
version: "2.17.0"
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
@@ -37,7 +37,7 @@ var f = class extends c {
|
|
|
37
37
|
static {
|
|
38
38
|
this.metadata = {
|
|
39
39
|
tag: "nve-card-header",
|
|
40
|
-
version: "2.
|
|
40
|
+
version: "2.17.0",
|
|
41
41
|
parents: ["nve-card"]
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -53,7 +53,7 @@ var p = class extends c {
|
|
|
53
53
|
static {
|
|
54
54
|
this.metadata = {
|
|
55
55
|
tag: "nve-card-content",
|
|
56
|
-
version: "2.
|
|
56
|
+
version: "2.17.0",
|
|
57
57
|
parents: ["nve-card"]
|
|
58
58
|
};
|
|
59
59
|
}
|
|
@@ -72,7 +72,7 @@ var m = class extends c {
|
|
|
72
72
|
static {
|
|
73
73
|
this.metadata = {
|
|
74
74
|
tag: "nve-card-footer",
|
|
75
|
-
version: "2.
|
|
75
|
+
version: "2.17.0",
|
|
76
76
|
parents: ["nve-card"]
|
|
77
77
|
};
|
|
78
78
|
}
|
package/dist/color/color2.js
CHANGED
|
@@ -2025,6 +2025,9 @@ Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/
|
|
|
2025
2025
|
|
|
2026
2026
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
2027
2027
|
size?: "sm" | "md" | "lg" | undefined;
|
|
2028
|
+
/** Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to
|
|
2029
|
+
the outline form when that asset is unavailable. */
|
|
2030
|
+
appearance?: "outline" | "solid" | undefined;
|
|
2028
2031
|
/** Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. */
|
|
2029
2032
|
container?: "flat" | "inline" | undefined;
|
|
2030
2033
|
/** The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors.
|
|
@@ -2383,6 +2386,11 @@ the outline form when that asset is unavailable. */
|
|
|
2383
2386
|
| undefined;
|
|
2384
2387
|
};
|
|
2385
2388
|
|
|
2389
|
+
export type IframeProps = {
|
|
2390
|
+
/** */
|
|
2391
|
+
"aria-label"?: string;
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2386
2394
|
export type InputGroupProps = {
|
|
2387
2395
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
2388
2396
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
@@ -2996,6 +3004,18 @@ export type ProgressBarProps = {
|
|
|
2996
3004
|
status?: "accent" | "warning" | "success" | "danger";
|
|
2997
3005
|
};
|
|
2998
3006
|
|
|
3007
|
+
export type ProgressDotProps = {
|
|
3008
|
+
/** Controls the visual scale of an element to match its importance and available space.
|
|
3009
|
+
- `sm` Compact size for dense layouts or secondary elements with less visual prominence.
|
|
3010
|
+
|
|
3011
|
+
- `md` Standard size that works well in most contexts and provides balanced visibility.
|
|
3012
|
+
|
|
3013
|
+
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
3014
|
+
size?: "sm" | "md" | "lg";
|
|
3015
|
+
/** Enables updating the default loading label for internationalization. */
|
|
3016
|
+
i18n?: string;
|
|
3017
|
+
};
|
|
3018
|
+
|
|
2999
3019
|
export type ProgressRingProps = {
|
|
3000
3020
|
/** The current `value` of the progress ring. When not set, an indeterminate animation will show. */
|
|
3001
3021
|
value?: number | undefined;
|
|
@@ -5374,6 +5394,22 @@ export type CustomElements = {
|
|
|
5374
5394
|
*/
|
|
5375
5395
|
"nve-icon": Partial<IconProps & BaseProps & BaseEvents>;
|
|
5376
5396
|
|
|
5397
|
+
/**
|
|
5398
|
+
* An iframe component that syncs with the parent document's theme and template content. Use when needing to render dynamically generated or isolated content.
|
|
5399
|
+
* ---
|
|
5400
|
+
*
|
|
5401
|
+
*
|
|
5402
|
+
* ### **Slots:**
|
|
5403
|
+
* - _default_ - A template containing the iframe body content.
|
|
5404
|
+
* - **head** - A template containing content inserted into the iframe head.
|
|
5405
|
+
*
|
|
5406
|
+
* ### **CSS Properties:**
|
|
5407
|
+
* - **--border** - undefined _(default: undefined)_
|
|
5408
|
+
* - **--width** - undefined _(default: undefined)_
|
|
5409
|
+
* - **--height** - undefined _(default: undefined)_
|
|
5410
|
+
*/
|
|
5411
|
+
"nve-iframe": Partial<IframeProps & BaseProps & BaseEvents>;
|
|
5412
|
+
|
|
5377
5413
|
/**
|
|
5378
5414
|
* Visually combines many related input controls into a unified composite field with shared styling.
|
|
5379
5415
|
* ---
|
|
@@ -5958,6 +5994,19 @@ export type CustomElements = {
|
|
|
5958
5994
|
*/
|
|
5959
5995
|
"nve-progress-bar": Partial<ProgressBarProps & BaseProps & BaseEvents>;
|
|
5960
5996
|
|
|
5997
|
+
/**
|
|
5998
|
+
* An inline visual indicator that shows the progress of an ongoing task with an unknown completion percentage.
|
|
5999
|
+
* ---
|
|
6000
|
+
*
|
|
6001
|
+
*
|
|
6002
|
+
* ### **CSS Properties:**
|
|
6003
|
+
* - **--color** - Dot color. Defaults to the inherited text color. _(default: undefined)_
|
|
6004
|
+
* - **--width** - Indicator width. _(default: undefined)_
|
|
6005
|
+
* - **--height** - Indicator height. _(default: undefined)_
|
|
6006
|
+
* - **--animation-duration** - Duration of one animation cycle. Set to 0s for static dots. _(default: undefined)_
|
|
6007
|
+
*/
|
|
6008
|
+
"nve-progress-dot": Partial<ProgressDotProps & BaseProps & BaseEvents>;
|
|
6009
|
+
|
|
5961
6010
|
/**
|
|
5962
6011
|
* The `progress-ring` component shows the status of a pending task. It also serves the basis of the page loading element.
|
|
5963
6012
|
* ---
|
|
@@ -1891,6 +1891,9 @@ Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/
|
|
|
1891
1891
|
|
|
1892
1892
|
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
1893
1893
|
size?: "sm" | "md" | "lg" | undefined;
|
|
1894
|
+
/** Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to
|
|
1895
|
+
the outline form when that asset is unavailable. */
|
|
1896
|
+
appearance?: "outline" | "solid" | undefined;
|
|
1894
1897
|
/** Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text. */
|
|
1895
1898
|
container?: "flat" | "inline" | undefined;
|
|
1896
1899
|
/** The Interaction type provides a way to show the intent of an interactive element. This can help users quickly understand what each interaction does and reduce the potential for confusion or errors.
|
|
@@ -2249,6 +2252,11 @@ the outline form when that asset is unavailable. */
|
|
|
2249
2252
|
| undefined;
|
|
2250
2253
|
};
|
|
2251
2254
|
|
|
2255
|
+
type IframeProps = {
|
|
2256
|
+
/** */
|
|
2257
|
+
"aria-label"?: string;
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2252
2260
|
type InputGroupProps = {
|
|
2253
2261
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
2254
2262
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
@@ -2824,6 +2832,18 @@ type ProgressBarProps = {
|
|
|
2824
2832
|
status?: "accent" | "warning" | "success" | "danger";
|
|
2825
2833
|
};
|
|
2826
2834
|
|
|
2835
|
+
type ProgressDotProps = {
|
|
2836
|
+
/** Controls the visual scale of an element to match its importance and available space.
|
|
2837
|
+
- `sm` Compact size for dense layouts or secondary elements with less visual prominence.
|
|
2838
|
+
|
|
2839
|
+
- `md` Standard size that works well in most contexts and provides balanced visibility.
|
|
2840
|
+
|
|
2841
|
+
- `lg` Larger size for emphasizing important elements or improving touch targets in spacious layouts. */
|
|
2842
|
+
size?: "sm" | "md" | "lg";
|
|
2843
|
+
/** Enables updating the default loading label for internationalization. */
|
|
2844
|
+
i18n?: string;
|
|
2845
|
+
};
|
|
2846
|
+
|
|
2827
2847
|
type ProgressRingProps = {
|
|
2828
2848
|
/** The current `value` of the progress ring. When not set, an indeterminate animation will show. */
|
|
2829
2849
|
value?: number | undefined;
|
|
@@ -5127,6 +5147,22 @@ export type CustomElements = {
|
|
|
5127
5147
|
*/
|
|
5128
5148
|
"nve-icon": DefineComponent<IconProps>;
|
|
5129
5149
|
|
|
5150
|
+
/**
|
|
5151
|
+
* An iframe component that syncs with the parent document's theme and template content. Use when needing to render dynamically generated or isolated content.
|
|
5152
|
+
* ---
|
|
5153
|
+
*
|
|
5154
|
+
*
|
|
5155
|
+
* ### **Slots:**
|
|
5156
|
+
* - _default_ - A template containing the iframe body content.
|
|
5157
|
+
* - **head** - A template containing content inserted into the iframe head.
|
|
5158
|
+
*
|
|
5159
|
+
* ### **CSS Properties:**
|
|
5160
|
+
* - **--border** - undefined _(default: undefined)_
|
|
5161
|
+
* - **--width** - undefined _(default: undefined)_
|
|
5162
|
+
* - **--height** - undefined _(default: undefined)_
|
|
5163
|
+
*/
|
|
5164
|
+
"nve-iframe": DefineComponent<IframeProps>;
|
|
5165
|
+
|
|
5130
5166
|
/**
|
|
5131
5167
|
* Visually combines many related input controls into a unified composite field with shared styling.
|
|
5132
5168
|
* ---
|
|
@@ -5711,6 +5747,19 @@ export type CustomElements = {
|
|
|
5711
5747
|
*/
|
|
5712
5748
|
"nve-progress-bar": DefineComponent<ProgressBarProps>;
|
|
5713
5749
|
|
|
5750
|
+
/**
|
|
5751
|
+
* An inline visual indicator that shows the progress of an ongoing task with an unknown completion percentage.
|
|
5752
|
+
* ---
|
|
5753
|
+
*
|
|
5754
|
+
*
|
|
5755
|
+
* ### **CSS Properties:**
|
|
5756
|
+
* - **--color** - Dot color. Defaults to the inherited text color. _(default: undefined)_
|
|
5757
|
+
* - **--width** - Indicator width. _(default: undefined)_
|
|
5758
|
+
* - **--height** - Indicator height. _(default: undefined)_
|
|
5759
|
+
* - **--animation-duration** - Duration of one animation cycle. Set to 0s for static dots. _(default: undefined)_
|
|
5760
|
+
*/
|
|
5761
|
+
"nve-progress-dot": DefineComponent<ProgressDotProps>;
|
|
5762
|
+
|
|
5714
5763
|
/**
|
|
5715
5764
|
* The `progress-ring` component shows the status of a pending task. It also serves the basis of the page loading element.
|
|
5716
5765
|
* ---
|