@nvidia-elements/core 2.12.2 → 2.13.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 +10 -0
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundles/index.d.ts +9 -1
- package/dist/bundles/index.js +1 -1
- 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 +6 -0
- package/dist/custom-elements-vue.d.ts +6 -0
- package/dist/custom-elements.json +36 -1
- package/dist/data.html.json +5 -0
- package/dist/data.snippets.json +27 -27
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-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-button2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-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-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle2.js +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/viewport/viewport-gridlines2.js +1 -1
- package/dist/viewport/viewport-minimap2.js +1 -1
- package/dist/viewport/viewport.d.ts +5 -0
- package/dist/viewport/viewport2.js +55 -45
- package/dist/viewport/viewport2.js.map +1 -1
- package/dist/week/week2.js +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [2.13.0](https://github.com/NVIDIA/elements/compare/@nvidia-elements/core-v2.12.2...@nvidia-elements/core-v2.13.0) (2026-10-08)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **core:** add configurable viewport zoom stops ([ff741ea](https://github.com/NVIDIA/elements/commit/ff741eac903e2543c0fa3b9fefc8ef28a5e82d90))
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **forms:** form state restore callback types ([8a060db](https://github.com/NVIDIA/elements/commit/8a060db7366b54ec22e8163a36ee18613a0c479c))
|
|
10
|
+
|
|
1
11
|
## [2.12.2](https://github.com/NVIDIA/elements/compare/@nvidia-elements/core-v2.12.1...@nvidia-elements/core-v2.12.2) (2026-10-07)
|
|
2
12
|
|
|
3
13
|
### Bug Fixes
|
|
@@ -28,7 +28,7 @@ var b = class extends g {
|
|
|
28
28
|
static {
|
|
29
29
|
this.metadata = {
|
|
30
30
|
tag: "nve-accordion-header",
|
|
31
|
-
version: "2.
|
|
31
|
+
version: "2.13.0"
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
@@ -46,7 +46,7 @@ var x = class extends g {
|
|
|
46
46
|
static {
|
|
47
47
|
this.metadata = {
|
|
48
48
|
tag: "nve-accordion-content",
|
|
49
|
-
version: "2.
|
|
49
|
+
version: "2.13.0"
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
@@ -62,7 +62,7 @@ var x = class extends g {
|
|
|
62
62
|
static {
|
|
63
63
|
this.metadata = {
|
|
64
64
|
tag: "nve-accordion",
|
|
65
|
-
version: "2.
|
|
65
|
+
version: "2.13.0",
|
|
66
66
|
children: [
|
|
67
67
|
b.metadata.tag,
|
|
68
68
|
x.metadata.tag,
|
|
@@ -120,7 +120,7 @@ var C = class extends g {
|
|
|
120
120
|
static {
|
|
121
121
|
this.metadata = {
|
|
122
122
|
tag: "nve-accordion-group",
|
|
123
|
-
version: "2.
|
|
123
|
+
version: "2.13.0",
|
|
124
124
|
children: [S.metadata.tag]
|
|
125
125
|
};
|
|
126
126
|
}
|
package/dist/alert/alert2.js
CHANGED
package/dist/avatar/avatar2.js
CHANGED
package/dist/badge/badge2.js
CHANGED
package/dist/bundles/index.d.ts
CHANGED
|
@@ -550,6 +550,8 @@ export interface ButtonFormControlMixinInstance {
|
|
|
550
550
|
* @reflect
|
|
551
551
|
*/
|
|
552
552
|
readOnly: boolean;
|
|
553
|
+
/** @deprecated Use readOnly instead. */
|
|
554
|
+
readonly: boolean;
|
|
553
555
|
/**
|
|
554
556
|
* Associates the button with a form. Set the property to a form element or its ID. The HTML attribute accepts only
|
|
555
557
|
* the form ID. Reading the property returns the associated form element or `null`.
|
|
@@ -598,7 +600,8 @@ export interface ButtonFormControlMixinInstance {
|
|
|
598
600
|
* @attr current
|
|
599
601
|
* @reflect
|
|
600
602
|
*/
|
|
601
|
-
current: CurrentState;
|
|
603
|
+
get current(): CurrentState;
|
|
604
|
+
set current(value: CurrentState | null | undefined);
|
|
602
605
|
/**
|
|
603
606
|
* Establishes a relationship between a popover and its invoker button.
|
|
604
607
|
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement
|
|
@@ -5755,6 +5758,11 @@ export declare class Viewport extends LitElement {
|
|
|
5755
5758
|
/** Inclusive upper scale limit. */
|
|
5756
5759
|
get maxScale(): number;
|
|
5757
5760
|
set maxScale(value: number);
|
|
5761
|
+
/**
|
|
5762
|
+
* Scale stops for keyboard and command zoom, clamped to the scale bounds.
|
|
5763
|
+
* Defaults to built-in stops; an empty array uses only the bounds.
|
|
5764
|
+
*/
|
|
5765
|
+
zoomStops?: readonly number[];
|
|
5758
5766
|
/** Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space. */
|
|
5759
5767
|
get behaviorPan(): ViewportPanBehavior;
|
|
5760
5768
|
set behaviorPan(value: ViewportPanBehavior | null | undefined);
|