@nvidia-elements/core 2.22.5 → 2.23.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 +15 -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 +357 -1
- package/dist/bundles/index.js +14 -14
- 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 +6 -6
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +189 -0
- package/dist/custom-elements-vue.d.ts +189 -0
- package/dist/custom-elements.json +6561 -339
- package/dist/data.html.json +133 -0
- package/dist/date/date2.js +6 -6
- package/dist/datetime/datetime2.js +6 -6
- 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/forms/utils/layout.d.ts +0 -1
- package/dist/forms/utils/layout.js.map +1 -1
- package/dist/forms/utils/states.d.ts +0 -1
- package/dist/forms/utils/states.js.map +1 -1
- package/dist/gauge/gauge2.js +1 -1
- package/dist/ghost/define.d.ts +6 -0
- package/dist/ghost/define.js +6 -0
- package/dist/ghost/define.js.map +1 -0
- package/dist/ghost/ghost.d.ts +27 -0
- package/dist/ghost/ghost.examples.js +5 -0
- package/dist/ghost/ghost.examples.js.map +1 -0
- package/dist/ghost/ghost.examples.json +37 -0
- package/dist/ghost/ghost.js +5 -0
- package/dist/ghost/ghost.js.map +1 -0
- package/dist/ghost/ghost2.js +28 -0
- package/dist/ghost/ghost2.js.map +1 -0
- package/dist/ghost/index.d.ts +1 -0
- package/dist/ghost/index.js +1 -0
- 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.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/keynav-spatial.controller.d.ts +0 -1
- package/dist/internal/controllers/keynav-spatial.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.utils.d.ts +0 -1
- package/dist/internal/controllers/type-native-popover.utils.js.map +1 -1
- package/dist/internal/index.d.ts +0 -1
- package/dist/internal/index.js +116 -128
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/types/index.d.ts +37 -3
- package/dist/internal/types/index.js.map +1 -1
- package/dist/internal/utils/audit-logs.d.ts +0 -1
- package/dist/internal/utils/audit-logs.js.map +1 -1
- package/dist/internal/utils/dom.d.ts +0 -5
- package/dist/internal/utils/dom.js +30 -46
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/internal/utils/events.d.ts +0 -1
- package/dist/internal/utils/events.js +4 -7
- package/dist/internal/utils/events.js.map +1 -1
- package/dist/internal/utils/keynav.d.ts +0 -1
- package/dist/internal/utils/keynav.js +2 -5
- package/dist/internal/utils/keynav.js.map +1 -1
- package/dist/internal/utils/objects.d.ts +0 -2
- package/dist/internal/utils/objects.js +2 -8
- package/dist/internal/utils/objects.js.map +1 -1
- package/dist/joystick/joystick2.js +5 -5
- 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 +6 -6
- 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 +6 -6
- package/dist/preferences-input/preferences-input2.js +5 -5
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-dot/progress-dot2.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 +5 -5
- package/dist/search/search2.js +6 -6
- 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 +6 -6
- 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 +5 -5
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +6 -6
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week2.js +6 -6
- package/dist/workspace/controllers/workspace-command.controller.d.ts +34 -0
- package/dist/workspace/controllers/workspace-command.controller.js +87 -0
- package/dist/workspace/controllers/workspace-command.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-composition.controller.d.ts +54 -0
- package/dist/workspace/controllers/workspace-composition.controller.js +169 -0
- package/dist/workspace/controllers/workspace-composition.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.d.ts +25 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.js +84 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-measurement.controller.d.ts +19 -0
- package/dist/workspace/controllers/workspace-measurement.controller.js +188 -0
- package/dist/workspace/controllers/workspace-measurement.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.d.ts +40 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.js +385 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-resize.controller.d.ts +43 -0
- package/dist/workspace/controllers/workspace-resize.controller.js +168 -0
- package/dist/workspace/controllers/workspace-resize.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-restoration.controller.d.ts +24 -0
- package/dist/workspace/controllers/workspace-restoration.controller.js +193 -0
- package/dist/workspace/controllers/workspace-restoration.controller.js.map +1 -0
- package/dist/workspace/define.d.ts +10 -0
- package/dist/workspace/define.js +9 -0
- package/dist/workspace/define.js.map +1 -0
- package/dist/workspace/index.d.ts +11 -0
- package/dist/workspace/index.js +6 -0
- package/dist/workspace/panel/panel.d.ts +48 -0
- package/dist/workspace/panel/panel.js +5 -0
- package/dist/workspace/panel/panel.js.map +1 -0
- package/dist/workspace/panel/panel2.js +53 -0
- package/dist/workspace/panel/panel2.js.map +1 -0
- package/dist/workspace/panel-content/panel-content.d.ts +20 -0
- package/dist/workspace/panel-content/panel-content.js +5 -0
- package/dist/workspace/panel-content/panel-content.js.map +1 -0
- package/dist/workspace/panel-content/panel-content2.js +22 -0
- package/dist/workspace/panel-content/panel-content2.js.map +1 -0
- package/dist/workspace/panel-footer/panel-footer.d.ts +24 -0
- package/dist/workspace/panel-footer/panel-footer.js +5 -0
- package/dist/workspace/panel-footer/panel-footer.js.map +1 -0
- package/dist/workspace/panel-footer/panel-footer2.js +28 -0
- package/dist/workspace/panel-footer/panel-footer2.js.map +1 -0
- package/dist/workspace/panel-header/panel-header.d.ts +61 -0
- package/dist/workspace/panel-header/panel-header.js +5 -0
- package/dist/workspace/panel-header/panel-header.js.map +1 -0
- package/dist/workspace/panel-header/panel-header2.js +102 -0
- package/dist/workspace/panel-header/panel-header2.js.map +1 -0
- package/dist/workspace/utils/evaluation.utils.d.ts +83 -0
- package/dist/workspace/utils/evaluation.utils.js +294 -0
- package/dist/workspace/utils/evaluation.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/allocation.utils.d.ts +40 -0
- package/dist/workspace/utils/geometry/allocation.utils.js +73 -0
- package/dist/workspace/utils/geometry/allocation.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/partition.utils.d.ts +10 -0
- package/dist/workspace/utils/geometry/partition.utils.js +40 -0
- package/dist/workspace/utils/geometry/partition.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/sizing.utils.d.ts +35 -0
- package/dist/workspace/utils/geometry/sizing.utils.js +42 -0
- package/dist/workspace/utils/geometry/sizing.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/boundary.utils.d.ts +40 -0
- package/dist/workspace/utils/interaction/boundary.utils.js +91 -0
- package/dist/workspace/utils/interaction/boundary.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/command.utils.d.ts +74 -0
- package/dist/workspace/utils/interaction/command.utils.js +189 -0
- package/dist/workspace/utils/interaction/command.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.d.ts +79 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.js +16 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.d.ts +58 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.js +259 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.d.ts +55 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.js +242 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/resize-input.utils.d.ts +1 -0
- package/dist/workspace/utils/interaction/resize-input.utils.js +17 -0
- package/dist/workspace/utils/interaction/resize-input.utils.js.map +1 -0
- package/dist/workspace/utils/model/layout.utils.d.ts +22 -0
- package/dist/workspace/utils/model/layout.utils.js +41 -0
- package/dist/workspace/utils/model/layout.utils.js.map +1 -0
- package/dist/workspace/utils/model/membership.utils.d.ts +14 -0
- package/dist/workspace/utils/model/membership.utils.js +17 -0
- package/dist/workspace/utils/model/membership.utils.js.map +1 -0
- package/dist/workspace/utils/model/operations.utils.d.ts +31 -0
- package/dist/workspace/utils/model/operations.utils.js +178 -0
- package/dist/workspace/utils/model/operations.utils.js.map +1 -0
- package/dist/workspace/utils/model/projection.utils.d.ts +7 -0
- package/dist/workspace/utils/model/projection.utils.js +87 -0
- package/dist/workspace/utils/model/projection.utils.js.map +1 -0
- package/dist/workspace/utils/model/value.utils.d.ts +5 -0
- package/dist/workspace/utils/model/value.utils.js +68 -0
- package/dist/workspace/utils/model/value.utils.js.map +1 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.d.ts +32 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.js +152 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.js.map +1 -0
- package/dist/workspace/utils/placement/context.utils.d.ts +36 -0
- package/dist/workspace/utils/placement/context.utils.js +135 -0
- package/dist/workspace/utils/placement/context.utils.js.map +1 -0
- package/dist/workspace/utils/placement/group-insertion.utils.d.ts +26 -0
- package/dist/workspace/utils/placement/group-insertion.utils.js +171 -0
- package/dist/workspace/utils/placement/group-insertion.utils.js.map +1 -0
- package/dist/workspace/utils/placement/origin.utils.d.ts +13 -0
- package/dist/workspace/utils/placement/origin.utils.js +49 -0
- package/dist/workspace/utils/placement/origin.utils.js.map +1 -0
- package/dist/workspace/utils/placement/planner.utils.d.ts +22 -0
- package/dist/workspace/utils/placement/planner.utils.js +184 -0
- package/dist/workspace/utils/placement/planner.utils.js.map +1 -0
- package/dist/workspace/utils/placement/preparation.utils.d.ts +28 -0
- package/dist/workspace/utils/placement/preparation.utils.js +140 -0
- package/dist/workspace/utils/placement/preparation.utils.js.map +1 -0
- package/dist/workspace/utils/placement/region.utils.d.ts +15 -0
- package/dist/workspace/utils/placement/region.utils.js +111 -0
- package/dist/workspace/utils/placement/region.utils.js.map +1 -0
- package/dist/workspace/utils/placement/split-sizing.utils.d.ts +18 -0
- package/dist/workspace/utils/placement/split-sizing.utils.js +108 -0
- package/dist/workspace/utils/placement/split-sizing.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/composition.utils.d.ts +17 -0
- package/dist/workspace/utils/presentation/composition.utils.js +95 -0
- package/dist/workspace/utils/presentation/composition.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/groups.utils.d.ts +91 -0
- package/dist/workspace/utils/presentation/groups.utils.js +169 -0
- package/dist/workspace/utils/presentation/groups.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.d.ts +11 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.js +7 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/measurements.utils.d.ts +21 -0
- package/dist/workspace/utils/presentation/measurements.utils.js +28 -0
- package/dist/workspace/utils/presentation/measurements.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/offers.utils.d.ts +43 -0
- package/dist/workspace/utils/presentation/offers.utils.js +137 -0
- package/dist/workspace/utils/presentation/offers.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/preview.utils.d.ts +6 -0
- package/dist/workspace/utils/presentation/preview.utils.js +36 -0
- package/dist/workspace/utils/presentation/preview.utils.js.map +1 -0
- package/dist/workspace/workspace.d.ts +103 -0
- package/dist/workspace/workspace.examples.js +5 -0
- package/dist/workspace/workspace.examples.js.map +1 -0
- package/dist/workspace/workspace.examples.json +133 -0
- package/dist/workspace/workspace.js +5 -0
- package/dist/workspace/workspace.js.map +1 -0
- package/dist/workspace/workspace.types.d.ts +3 -0
- package/dist/workspace/workspace2.js +518 -0
- package/dist/workspace/workspace2.js.map +1 -0
- package/package.json +27 -3
- package/dist/internal/utils/supports.d.ts +0 -3
- package/dist/internal/utils/supports.js +0 -13
- package/dist/internal/utils/supports.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [2.23.1](https://github.com/NVIDIA/elements/compare/@nvidia-elements/core-v2.23.0...@nvidia-elements/core-v2.23.1) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **cli:** drop unused utilities ([71dcf96](https://github.com/NVIDIA/elements/commit/71dcf96ff531cd4ef69db6e55f08fbeecb005015))
|
|
6
|
+
* **core:** drop unused utilities ([9e4b1bc](https://github.com/NVIDIA/elements/commit/9e4b1bc6b942de163d33ed71ae676041dd8fb4e6))
|
|
7
|
+
* **forms:** drop unused utilities ([c538a47](https://github.com/NVIDIA/elements/commit/c538a47e79366919f43fb8f35950c52159f40d6c))
|
|
8
|
+
* **themes:** correct rounding issue ([3c22eef](https://github.com/NVIDIA/elements/commit/3c22eef05362992c8a50ebc82664e6d0a76a4692))
|
|
9
|
+
|
|
10
|
+
## [2.23.0](https://github.com/NVIDIA/elements/compare/@nvidia-elements/core-v2.22.5...@nvidia-elements/core-v2.23.0) (2026-11-07)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **core:** add ghost and workspace ([c2bdec9](https://github.com/NVIDIA/elements/commit/c2bdec9701628add8dc364786023a6019660aee3))
|
|
15
|
+
|
|
1
16
|
## [2.22.5](https://github.com/NVIDIA/elements/compare/@nvidia-elements/core-v2.22.4...@nvidia-elements/core-v2.22.5) (2026-11-06)
|
|
2
17
|
|
|
3
18
|
### Bug Fixes
|
|
@@ -31,7 +31,7 @@ var b = {
|
|
|
31
31
|
static {
|
|
32
32
|
this.metadata = {
|
|
33
33
|
tag: "nve-accordion-header",
|
|
34
|
-
version: "2.
|
|
34
|
+
version: "2.23.1"
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
@@ -49,7 +49,7 @@ var S = class extends h {
|
|
|
49
49
|
static {
|
|
50
50
|
this.metadata = {
|
|
51
51
|
tag: "nve-accordion-content",
|
|
52
|
-
version: "2.
|
|
52
|
+
version: "2.23.1"
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
@@ -65,7 +65,7 @@ var S = class extends h {
|
|
|
65
65
|
static {
|
|
66
66
|
this.metadata = {
|
|
67
67
|
tag: "nve-accordion",
|
|
68
|
-
version: "2.
|
|
68
|
+
version: "2.23.1",
|
|
69
69
|
children: [
|
|
70
70
|
x.metadata.tag,
|
|
71
71
|
S.metadata.tag,
|
|
@@ -123,7 +123,7 @@ var w = class extends h {
|
|
|
123
123
|
static {
|
|
124
124
|
this.metadata = {
|
|
125
125
|
tag: "nve-accordion-group",
|
|
126
|
-
version: "2.
|
|
126
|
+
version: "2.23.1",
|
|
127
127
|
children: [C.metadata.tag]
|
|
128
128
|
};
|
|
129
129
|
}
|
package/dist/alert/alert2.js
CHANGED
package/dist/avatar/avatar2.js
CHANGED
package/dist/badge/badge2.js
CHANGED
package/dist/bundle.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import '@nvidia-elements/core/format-relative-time/define.js';
|
|
|
29
29
|
import '@nvidia-elements/core/format-truncate/define.js';
|
|
30
30
|
import '@nvidia-elements/core/forms/define.js';
|
|
31
31
|
import '@nvidia-elements/core/gauge/define.js';
|
|
32
|
+
import '@nvidia-elements/core/ghost/define.js';
|
|
32
33
|
import '@nvidia-elements/core/grid/define.js';
|
|
33
34
|
import '@nvidia-elements/core/icon/define.js';
|
|
34
35
|
import '@nvidia-elements/core/icon-button/define.js';
|
|
@@ -72,6 +73,7 @@ import '@nvidia-elements/core/toolbar/define.js';
|
|
|
72
73
|
import '@nvidia-elements/core/tooltip/define.js';
|
|
73
74
|
import '@nvidia-elements/core/tree/define.js';
|
|
74
75
|
import '@nvidia-elements/core/week/define.js';
|
|
76
|
+
import '@nvidia-elements/core/workspace/define.js';
|
|
75
77
|
export * from '@nvidia-elements/core/accordion';
|
|
76
78
|
export * from '@nvidia-elements/core/alert';
|
|
77
79
|
export * from '@nvidia-elements/core/avatar';
|
|
@@ -103,6 +105,7 @@ export * from '@nvidia-elements/core/format-relative-time';
|
|
|
103
105
|
export * from '@nvidia-elements/core/format-truncate';
|
|
104
106
|
export * from '@nvidia-elements/core/forms';
|
|
105
107
|
export * from '@nvidia-elements/core/gauge';
|
|
108
|
+
export * from '@nvidia-elements/core/ghost';
|
|
106
109
|
export * from '@nvidia-elements/core/grid';
|
|
107
110
|
export * from '@nvidia-elements/core/icon';
|
|
108
111
|
export * from '@nvidia-elements/core/icon-button';
|
|
@@ -146,3 +149,4 @@ export * from '@nvidia-elements/core/toolbar';
|
|
|
146
149
|
export * from '@nvidia-elements/core/tooltip';
|
|
147
150
|
export * from '@nvidia-elements/core/tree';
|
|
148
151
|
export * from '@nvidia-elements/core/week';
|
|
152
|
+
export * from '@nvidia-elements/core/workspace';
|
package/dist/bundles/index.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export interface I18nStrings {
|
|
|
124
124
|
reducedMotion: string;
|
|
125
125
|
colorScheme: string;
|
|
126
126
|
resize: string;
|
|
127
|
+
move: string;
|
|
127
128
|
or: string;
|
|
128
129
|
files: string;
|
|
129
130
|
dragAndDrop: string;
|
|
@@ -155,11 +156,13 @@ export interface I18nStrings {
|
|
|
155
156
|
joystickReturnedToCenter: string;
|
|
156
157
|
}
|
|
157
158
|
export type I18nDefaults = Readonly<Partial<I18nStrings>>;
|
|
159
|
+
/** @public */
|
|
158
160
|
export type 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";
|
|
159
161
|
/** Controls the visual scale of an element to match its importance and available space.
|
|
160
162
|
* - `sm` - Compact size for dense layouts or secondary elements with less visual prominence.
|
|
161
163
|
* - `md` - Standard size that works well in most contexts and provides balanced visibility.
|
|
162
164
|
* - `lg` - Larger size for emphasizing important elements or improving touch targets in spacious layouts.
|
|
165
|
+
* @public
|
|
163
166
|
*/
|
|
164
167
|
export type Size = "sm" | "md" | "lg";
|
|
165
168
|
/** Controls the visual scale of an element to match its importance and available space.
|
|
@@ -168,11 +171,13 @@ export type Size = "sm" | "md" | "lg";
|
|
|
168
171
|
* - `md` - Standard size that works well in most contexts and provides balanced visibility.
|
|
169
172
|
* - `lg` - Larger size for emphasizing important elements or improving touch targets in spacious layouts.
|
|
170
173
|
* - `xl` - Extra large size for emphasizing elements or sparse layouts.
|
|
174
|
+
* @public
|
|
171
175
|
*/
|
|
172
176
|
export type SizeExpanded = "xs" | "sm" | "md" | "lg" | "xl";
|
|
173
177
|
/** Controls the visual prominence to establish hierarchy and guide user attention.
|
|
174
178
|
* - `emphasis` - Increases visual weight to draw attention and highlight important elements.
|
|
175
179
|
* - `muted` - Reduces visual weight for supporting content that should remain subtle and unobtrusive.
|
|
180
|
+
* @public
|
|
176
181
|
*/
|
|
177
182
|
export type Prominence = "emphasis" | "muted";
|
|
178
183
|
/**
|
|
@@ -181,11 +186,13 @@ export type Prominence = "emphasis" | "muted";
|
|
|
181
186
|
* - `inline` Element container reduces to fit within inline content such as a block of text.
|
|
182
187
|
* - `inset` Element container optimizes for embedding or inset placement inside another containing element.
|
|
183
188
|
* - `full` Element container optimizes for filling its container bounds.
|
|
189
|
+
* @public
|
|
184
190
|
*/
|
|
185
191
|
export type Container = "inline" | "flat" | "inset" | "full";
|
|
186
192
|
/** Controls the visual density of an element to match its context and available space.
|
|
187
193
|
* - `compact` - Reduces visual weight and spacing for dense layouts or secondary elements with less visual prominence.
|
|
188
194
|
* - `default` - Standard size that works well in most contexts and provides balanced visibility.
|
|
195
|
+
* @public
|
|
189
196
|
*/
|
|
190
197
|
export type Density = "compact" | "default";
|
|
191
198
|
/** Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
|
|
@@ -193,12 +200,14 @@ export type Density = "compact" | "default";
|
|
|
193
200
|
* - `warning` - Indicates cautionary actions that require careful consideration before proceeding.
|
|
194
201
|
* - `success` - Represents positive outcomes, confirmations, or constructive actions.
|
|
195
202
|
* - `danger` - Signals destructive or irreversible actions that need extra attention and confirmation.
|
|
203
|
+
* @public
|
|
196
204
|
*/
|
|
197
205
|
export type SupportStatus = "accent" | "warning" | "success" | "danger";
|
|
198
206
|
/** Controls how the chart connects intermediate values between points in a data series.
|
|
199
207
|
* - `linear` - Connects points with straight line segments.
|
|
200
208
|
* - `smooth` - Connects points with smooth bezier curves.
|
|
201
209
|
* - `step` - Connects points with horizontal and vertical step segments.
|
|
210
|
+
* @public
|
|
202
211
|
*/
|
|
203
212
|
export type Interpolation = "linear" | "smooth" | "step";
|
|
204
213
|
/** Communicates the current state of a task or process to keep users informed of progress and outcomes.
|
|
@@ -213,6 +222,7 @@ export type Interpolation = "linear" | "smooth" | "step";
|
|
|
213
222
|
* - `failed` - Task encountered an error and did not complete as intended.
|
|
214
223
|
* - `unknown` - Task status remains unknown or unavailable.
|
|
215
224
|
* - `ignored` - Task was intentionally skipped or excluded from execution.
|
|
225
|
+
* @public
|
|
216
226
|
*/
|
|
217
227
|
export type TaskStatus = "scheduled" | "queued" | "pending" | "starting" | "running" | "restarting" | "stopping" | "finished" | "failed" | "unknown" | "ignored";
|
|
218
228
|
/**
|
|
@@ -220,12 +230,14 @@ export type TaskStatus = "scheduled" | "queued" | "pending" | "starting" | "runn
|
|
|
220
230
|
* - `auto` light dismiss, focus on open, return to trigger
|
|
221
231
|
* - `manual` no light dismiss, no auto focus
|
|
222
232
|
* - `hint` no light dismiss, no auto focus, open/close on hover/focus
|
|
233
|
+
* @public
|
|
223
234
|
*/
|
|
224
235
|
export type PopoverType = "auto" | "manual" | "hint" | "inline";
|
|
225
236
|
/** Controls how the popover aligns along the edge of its anchor element.
|
|
226
237
|
* - `start` - Aligns the popover to the beginning edge of the anchor for left or top alignment.
|
|
227
238
|
* - `end` - Aligns the popover to the ending edge of the anchor for right or bottom alignment.
|
|
228
239
|
* - `center` - Centers the popover along the anchor's edge for balanced positioning.
|
|
240
|
+
* @public
|
|
229
241
|
*/
|
|
230
242
|
export type PopoverAlign = "start" | "end" | "center";
|
|
231
243
|
/** Controls the placement of the popover relative to its anchor element.
|
|
@@ -234,6 +246,7 @@ export type PopoverAlign = "start" | "end" | "center";
|
|
|
234
246
|
* - `bottom` - Positions the popover below the anchor element.
|
|
235
247
|
* - `left` - Positions the popover to the left side of the anchor element.
|
|
236
248
|
* - `right` - Positions the popover to the right side of the anchor element.
|
|
249
|
+
* @public
|
|
237
250
|
*/
|
|
238
251
|
export type PopoverPosition = "center" | "top" | "bottom" | "left" | "right";
|
|
239
252
|
/** Controls how data points are visually encoded in a sparkline chart.
|
|
@@ -242,17 +255,22 @@ export type PopoverPosition = "center" | "top" | "bottom" | "left" | "right";
|
|
|
242
255
|
* - `gradient` - Renders a line with gradient color treatment to communicate value intensity across the series.
|
|
243
256
|
* - `column` - Renders data as vertical columns for easy comparison of discrete values.
|
|
244
257
|
* - `winloss` - Renders outcomes as binary or ternary bars to highlight wins, losses, and optional ties.
|
|
258
|
+
* @public
|
|
245
259
|
*/
|
|
246
260
|
export type SparklineMark = "line" | "area" | "gradient" | "column" | "winloss";
|
|
247
261
|
/** 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.
|
|
248
262
|
* - `emphasis` Shows the interaction targets emphasis or highlighting primary actions.
|
|
249
263
|
* - `destructive` Shows the interaction targets destructive actions such as deleting or removing.
|
|
264
|
+
* @public
|
|
250
265
|
*/
|
|
251
266
|
export type Interaction = "emphasis" | "destructive";
|
|
267
|
+
/** @public */
|
|
252
268
|
export interface ContainerElement {
|
|
253
269
|
container?: Partial<Container>;
|
|
254
270
|
}
|
|
255
|
-
/** An element that renders complex data structures (e.g., arrays, series, matrices) rather than composable UI content and values expressible with primitive attributes.
|
|
271
|
+
/** An element that renders complex data structures (e.g., arrays, series, matrices) rather than composable UI content and values expressible with primitive attributes.
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
256
274
|
export interface DataElement<T extends unknown[] | Record<string, unknown>> {
|
|
257
275
|
data?: T;
|
|
258
276
|
}
|
|
@@ -659,6 +677,9 @@ type Constructor$1 = (new (...args: any[]) => HTMLElement & ButtonFormControlHos
|
|
|
659
677
|
observedAttributes?: string[];
|
|
660
678
|
};
|
|
661
679
|
export type ButtonFormControlConstructor<TBase extends Constructor$1> = new (...args: ConstructorParameters<TBase>) => InstanceType<TBase> & ButtonFormControlMixinInstance;
|
|
680
|
+
/** @public
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
662
683
|
export type ButtonFormControlMixinReturn<TBase extends Constructor$1> = ButtonFormControlConstructor<TBase> & {
|
|
663
684
|
formAssociated: boolean;
|
|
664
685
|
observedAttributes: string[];
|
|
@@ -3403,6 +3424,32 @@ export declare class Gauge extends LitElement {
|
|
|
3403
3424
|
willUpdate(props: PropertyValues<this>): void;
|
|
3404
3425
|
updated(props: PropertyValues<this>): void;
|
|
3405
3426
|
}
|
|
3427
|
+
/**
|
|
3428
|
+
* @element nve-ghost
|
|
3429
|
+
* @description An inert visual preview of content or its prospective placement. Applications control its geometry, movement, and accessible feedback.
|
|
3430
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/ghost/
|
|
3431
|
+
* @since 0.0.0
|
|
3432
|
+
* @stable false
|
|
3433
|
+
* @entrypoint \@nvidia-elements/core/ghost
|
|
3434
|
+
* @slot - Presentation content for the preview.
|
|
3435
|
+
* @cssprop --background
|
|
3436
|
+
* @cssprop --border
|
|
3437
|
+
* @cssprop --border-radius
|
|
3438
|
+
* @cssprop --color
|
|
3439
|
+
* @cssprop --stack-offset-x - Nonnegative horizontal distance between layers. Defaults to 4px.
|
|
3440
|
+
* @cssprop --stack-offset-y - Nonnegative vertical distance between layers. Defaults to 4px.
|
|
3441
|
+
* @cssprop --padding
|
|
3442
|
+
*/
|
|
3443
|
+
export declare class Ghost extends LitElement {
|
|
3444
|
+
static styles: CSSResult[];
|
|
3445
|
+
static readonly metadata: {
|
|
3446
|
+
tag: string;
|
|
3447
|
+
version: string;
|
|
3448
|
+
};
|
|
3449
|
+
/** Number of visual surfaces. Rendering truncates fractions and clamps to one through three; nonfinite values use one. */
|
|
3450
|
+
layers: number;
|
|
3451
|
+
render(): TemplateResult<1>;
|
|
3452
|
+
}
|
|
3406
3453
|
/**
|
|
3407
3454
|
* @element nve-grid-column
|
|
3408
3455
|
* @description Defines a column header within a grid, specifying the column's label, width, and alignment for all cells beneath it.
|
|
@@ -5906,6 +5953,315 @@ export declare class Week extends Control implements ContainerElement {
|
|
|
5906
5953
|
};
|
|
5907
5954
|
protected get suffixContent(): TemplateResult<1>;
|
|
5908
5955
|
}
|
|
5956
|
+
export type WorkspaceNode = WorkspaceGroup | WorkspaceSplit;
|
|
5957
|
+
export interface WorkspaceGroup {
|
|
5958
|
+
type: "group";
|
|
5959
|
+
panels: string[];
|
|
5960
|
+
active: string;
|
|
5961
|
+
}
|
|
5962
|
+
export interface WorkspaceSplit {
|
|
5963
|
+
type: "split";
|
|
5964
|
+
axis: "horizontal" | "vertical";
|
|
5965
|
+
weights: number[];
|
|
5966
|
+
children: WorkspaceNode[];
|
|
5967
|
+
}
|
|
5968
|
+
export interface WorkspaceLayout {
|
|
5969
|
+
version: 1;
|
|
5970
|
+
root: WorkspaceNode | null;
|
|
5971
|
+
closed: string[];
|
|
5972
|
+
}
|
|
5973
|
+
export interface WorkspaceHeaderConfiguration {
|
|
5974
|
+
selected: boolean;
|
|
5975
|
+
offset: number;
|
|
5976
|
+
animate: boolean;
|
|
5977
|
+
tabWidth: number;
|
|
5978
|
+
headerHeight: number;
|
|
5979
|
+
suffixEnd: number;
|
|
5980
|
+
clipLeft: number;
|
|
5981
|
+
clipWidth: number;
|
|
5982
|
+
}
|
|
5983
|
+
/**
|
|
5984
|
+
* @element nve-workspace-panel
|
|
5985
|
+
* @description Stable application content and its workspace chrome.
|
|
5986
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/workspace/
|
|
5987
|
+
* @since 0.0.0
|
|
5988
|
+
* @stable false
|
|
5989
|
+
* @entrypoint \@nvidia-elements/core/workspace
|
|
5990
|
+
* @command --enter-fullscreen - Present this panel's group in native fullscreen.
|
|
5991
|
+
* @command --exit-fullscreen - Exit native fullscreen.
|
|
5992
|
+
* @command --toggle-fullscreen - Toggle native fullscreen for this panel's group.
|
|
5993
|
+
* @command --open - Open and activate the targeted supplied panel. Repeated activation is silent.
|
|
5994
|
+
* @command --close - Close the targeted panel when its workspace is closable.
|
|
5995
|
+
* @command --select - Activate an open supplied panel without reopening a closed panel.
|
|
5996
|
+
* @command --place - Apply the invoker's typed placement request when rearrangeable; membership changes also require groupable.
|
|
5997
|
+
* @slot - Application content.
|
|
5998
|
+
* @slot header - Title and controls.
|
|
5999
|
+
* @slot footer - Status and actions.
|
|
6000
|
+
* @cssprop --background
|
|
6001
|
+
* @cssprop --border
|
|
6002
|
+
* @cssprop --box-shadow
|
|
6003
|
+
*/
|
|
6004
|
+
export declare class WorkspacePanel extends LitElement {
|
|
6005
|
+
static styles: CSSResult[];
|
|
6006
|
+
static readonly metadata: {
|
|
6007
|
+
tag: string;
|
|
6008
|
+
version: string;
|
|
6009
|
+
parents: string[];
|
|
6010
|
+
children: string[];
|
|
6011
|
+
};
|
|
6012
|
+
/** Application minimum total panel width in pixels. */
|
|
6013
|
+
minWidth: number;
|
|
6014
|
+
/** Application minimum total panel height in pixels. */
|
|
6015
|
+
minHeight: number;
|
|
6016
|
+
private selected;
|
|
6017
|
+
private headerHeight;
|
|
6018
|
+
/** @internal */
|
|
6019
|
+
_internals: ElementInternals;
|
|
6020
|
+
connectedCallback(): void;
|
|
6021
|
+
render(): TemplateResult<1>;
|
|
6022
|
+
/** @internal */
|
|
6023
|
+
_present(presented: boolean): void;
|
|
6024
|
+
/** @internal */
|
|
6025
|
+
_configure(configuration: WorkspaceHeaderConfiguration & {
|
|
6026
|
+
scrollLeft: number;
|
|
6027
|
+
}): void;
|
|
6028
|
+
}
|
|
6029
|
+
export type WorkspaceSide = "left" | "right" | "top" | "bottom";
|
|
6030
|
+
/** A placement supplied on the invoker's `placement` property for `--place`.
|
|
6031
|
+
* Source defaults to one panel; `group` carries its entire current group, including closed members.
|
|
6032
|
+
* An arrangement target identifies the enclosing split of the target panel, before source removal.
|
|
6033
|
+
*/
|
|
6034
|
+
export type WorkspacePlacement = {
|
|
6035
|
+
source?: "panel" | "group";
|
|
6036
|
+
} & ({
|
|
6037
|
+
operation: "split";
|
|
6038
|
+
target: string;
|
|
6039
|
+
position: WorkspaceSide;
|
|
6040
|
+
} | {
|
|
6041
|
+
operation: "join";
|
|
6042
|
+
target: string;
|
|
6043
|
+
index?: number;
|
|
6044
|
+
} | {
|
|
6045
|
+
operation: "reorder";
|
|
6046
|
+
target: string;
|
|
6047
|
+
position: "before" | "after";
|
|
6048
|
+
} | {
|
|
6049
|
+
operation: "insert";
|
|
6050
|
+
scope: "arrangement";
|
|
6051
|
+
target: string;
|
|
6052
|
+
position: WorkspaceSide;
|
|
6053
|
+
} | {
|
|
6054
|
+
operation: "insert";
|
|
6055
|
+
scope: "workspace";
|
|
6056
|
+
position: WorkspaceSide;
|
|
6057
|
+
});
|
|
6058
|
+
/** Identifies a supplied panel and optional placement without requiring an invoker element. */
|
|
6059
|
+
export interface WorkspaceCommandContext {
|
|
6060
|
+
value?: string | null;
|
|
6061
|
+
placement?: WorkspacePlacement;
|
|
6062
|
+
}
|
|
6063
|
+
export interface WorkspaceCommandSource extends HTMLElement, WorkspaceCommandContext {
|
|
6064
|
+
disabled?: boolean;
|
|
6065
|
+
readOnly?: boolean;
|
|
6066
|
+
}
|
|
6067
|
+
export interface WorkspaceAnimationOptions {
|
|
6068
|
+
readonly duration?: number;
|
|
6069
|
+
}
|
|
6070
|
+
/**
|
|
6071
|
+
* @element nve-workspace
|
|
6072
|
+
* @description A workspace provides a malleable arrangement of application panels in a restorable layout.
|
|
6073
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/workspace/
|
|
6074
|
+
* @since 0.0.0
|
|
6075
|
+
* @stable false
|
|
6076
|
+
* @entrypoint \@nvidia-elements/core/workspace
|
|
6077
|
+
* @command --enter-fullscreen - Present the invoking panel's group in native fullscreen.
|
|
6078
|
+
* @command --exit-fullscreen - Exit native fullscreen.
|
|
6079
|
+
* @command --toggle-fullscreen - Toggle native fullscreen for the invoking panel's group.
|
|
6080
|
+
* @command --open - Open and activate the targeted supplied panel. Repeated activation is silent.
|
|
6081
|
+
* @command --close - Close the targeted panel when its workspace is closable.
|
|
6082
|
+
* @command --select - Activate an open supplied panel without reopening a closed panel.
|
|
6083
|
+
* @command --place - Apply the invoker's typed placement request when rearrangeable; membership changes also require groupable.
|
|
6084
|
+
* @slot - Workspace panels with durable IDs and application dropdown groups.
|
|
6085
|
+
* @event change - Announces a committed arrangement value after interaction, commands, or reconciliation of newly supplied panels. Read value on the workspace.
|
|
6086
|
+
* @event commandavailabilitychange - Command availability may have changed; query relevant commands again.
|
|
6087
|
+
* @cssprop --gap - Space between groups as one nonnegative CSS length.
|
|
6088
|
+
* @cssprop --border-radius - Corner radius of contained groups.
|
|
6089
|
+
* @cssprop --tab-min-width - Smallest tab width before scrolling.
|
|
6090
|
+
* @cssprop --tab-border - Border between tabs, after the drag handle, and before group controls without an authored suffix.
|
|
6091
|
+
* @cssprop --header-control-size - Size of built-in header buttons and the base drag handle width.
|
|
6092
|
+
* @cssprop --header-control-inset - Horizontal spacing around fullscreen and the drag handle.
|
|
6093
|
+
* @cssprop --close-button-inset - Space after each panel close control.
|
|
6094
|
+
* @cssprop --animation-duration - Duration of coordinated layout and placement transitions.
|
|
6095
|
+
* @cssprop --animation-easing - Easing of coordinated layout and placement transitions.
|
|
6096
|
+
* @cssprop --gutter-background - Idle separator fill.
|
|
6097
|
+
* @cssprop --gutter-hover-background - Separator fill on hover.
|
|
6098
|
+
* @csspart tabs - Tab strips.
|
|
6099
|
+
* @csspart tabs-item - Panel selection controls.
|
|
6100
|
+
* @csspart tab - Alias for panel selection controls.
|
|
6101
|
+
* @csspart tabs-item-group - Tab and accessory layouts.
|
|
6102
|
+
* @csspart icon-button - Built-in header icon controls.
|
|
6103
|
+
* @csspart fullscreen-button - Group fullscreen control.
|
|
6104
|
+
* @csspart close-button - Panel closing controls.
|
|
6105
|
+
* @csspart resize-handle - Separator control.
|
|
6106
|
+
* @csspart ghost - Destination and carried previews.
|
|
6107
|
+
* @csspart destination-ghost - Animated insertion cue.
|
|
6108
|
+
* @csspart carried-ghost - Pointer-following carried panel previews.
|
|
6109
|
+
* @csspart icon - Placement status icons.
|
|
6110
|
+
* @csspart blocked-icon - Unavailable placement indicator.
|
|
6111
|
+
* @csspart drag-handle - Group movement control.
|
|
6112
|
+
*/
|
|
6113
|
+
export declare class Workspace extends LitElement {
|
|
6114
|
+
#private;
|
|
6115
|
+
static styles: CSSResult[];
|
|
6116
|
+
static readonly metadata: {
|
|
6117
|
+
tag: string;
|
|
6118
|
+
version: string;
|
|
6119
|
+
children: string[];
|
|
6120
|
+
};
|
|
6121
|
+
static elementDefinitions: {
|
|
6122
|
+
[DragHandle.metadata.tag]: typeof DragHandle;
|
|
6123
|
+
[Ghost.metadata.tag]: typeof Ghost;
|
|
6124
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
6125
|
+
[IconButton.metadata.tag]: typeof IconButton;
|
|
6126
|
+
[ResizeHandle.metadata.tag]: typeof ResizeHandle;
|
|
6127
|
+
[Tabs.metadata.tag]: typeof Tabs;
|
|
6128
|
+
[TabsItem.metadata.tag]: typeof TabsItem;
|
|
6129
|
+
[TabsItemGroup.metadata.tag]: typeof TabsItemGroup;
|
|
6130
|
+
};
|
|
6131
|
+
/** Overrides localized workspace controls. */
|
|
6132
|
+
i18n: Partial<I18nStrings & {
|
|
6133
|
+
__set: boolean;
|
|
6134
|
+
}>;
|
|
6135
|
+
/** Enables separator resizing. */
|
|
6136
|
+
resizable: boolean;
|
|
6137
|
+
/** Enables moving groups and placement commands. Dragging individual tabs also requires groupable. */
|
|
6138
|
+
rearrangeable: boolean;
|
|
6139
|
+
/** Enables dragging individual tabs, joining panels, and extracting panels when rearrangeable. */
|
|
6140
|
+
groupable: boolean;
|
|
6141
|
+
/** Enables native fullscreen commands and one persistent control per group. Turning this off preserves an accepted session and its exit control. Fullscreen does not change the saved arrangement. */
|
|
6142
|
+
fullscreenable: boolean;
|
|
6143
|
+
/** Radial pointer distance in CSS pixels before a carried source detaches. Captured at gesture press. */
|
|
6144
|
+
detachThreshold: number;
|
|
6145
|
+
/** Enables closing supplied panels. */
|
|
6146
|
+
closable: boolean;
|
|
6147
|
+
/** Selects separator constraint behavior. */
|
|
6148
|
+
resizePolicy: "stop" | "propagate";
|
|
6149
|
+
/** Selects panel content framing. */
|
|
6150
|
+
container?: "inset" | "flat" | "full";
|
|
6151
|
+
/** Versioned JSON arrangement. Assignment restores without emitting change. */
|
|
6152
|
+
get value(): string;
|
|
6153
|
+
set value(value: string);
|
|
6154
|
+
connectedCallback(): void;
|
|
6155
|
+
disconnectedCallback(): void;
|
|
6156
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
6157
|
+
protected updated(): void;
|
|
6158
|
+
/** Restores an arrangement with animated geometry while retaining application content. */
|
|
6159
|
+
animateTo(value: string, options?: WorkspaceAnimationOptions): void;
|
|
6160
|
+
/** Reports whether a command can change the panel identified by `context.value` in the current arrangement. Native fullscreen admission remains subject to browser permission. */
|
|
6161
|
+
isCommandAvailable(command: string, context?: WorkspaceCommandContext): boolean;
|
|
6162
|
+
render(): TemplateResult<1>;
|
|
6163
|
+
}
|
|
6164
|
+
/**
|
|
6165
|
+
* @element nve-workspace-panel-header
|
|
6166
|
+
* @description Supplies a workspace panel title, decoration, and application controls.
|
|
6167
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/workspace/
|
|
6168
|
+
* @since 0.0.0
|
|
6169
|
+
* @stable false
|
|
6170
|
+
* @entrypoint \@nvidia-elements/core/workspace
|
|
6171
|
+
* @slot - Noninteractive panel title.
|
|
6172
|
+
* @slot prefix - Noninteractive title decoration.
|
|
6173
|
+
* @slot suffix - Application controls for the selected panel.
|
|
6174
|
+
* @cssprop --min-height
|
|
6175
|
+
* @cssprop --padding - Padding around the title.
|
|
6176
|
+
* @cssprop --prefix-padding - Padding around title decoration.
|
|
6177
|
+
* @cssprop --prefix-border - Border after title decoration.
|
|
6178
|
+
* @cssprop --suffix-padding - Override the shared inset around header controls.
|
|
6179
|
+
* @cssprop --suffix-border - Border before header controls.
|
|
6180
|
+
* @cssprop --gap
|
|
6181
|
+
* @cssprop --border-bottom
|
|
6182
|
+
*/
|
|
6183
|
+
export declare class WorkspacePanelHeader extends LitElement {
|
|
6184
|
+
#private;
|
|
6185
|
+
static styles: CSSResult[];
|
|
6186
|
+
static readonly metadata: {
|
|
6187
|
+
tag: string;
|
|
6188
|
+
version: string;
|
|
6189
|
+
parents: string[];
|
|
6190
|
+
};
|
|
6191
|
+
/** @private */
|
|
6192
|
+
slot: string;
|
|
6193
|
+
/** @private */
|
|
6194
|
+
_internals: ElementInternals;
|
|
6195
|
+
private configuration;
|
|
6196
|
+
connectedCallback(): void;
|
|
6197
|
+
disconnectedCallback(): void;
|
|
6198
|
+
protected updated(): void;
|
|
6199
|
+
render(): TemplateResult<1>;
|
|
6200
|
+
/** @internal */
|
|
6201
|
+
_getMeasurementTargets(): {
|
|
6202
|
+
label: HTMLElement | null;
|
|
6203
|
+
suffix: HTMLElement | null;
|
|
6204
|
+
};
|
|
6205
|
+
/** @internal */
|
|
6206
|
+
_getTransitionTargets(): {
|
|
6207
|
+
labelViewport: HTMLElement | null;
|
|
6208
|
+
labelTrack: HTMLElement | null;
|
|
6209
|
+
label: HTMLElement | null;
|
|
6210
|
+
suffix: HTMLElement | null;
|
|
6211
|
+
};
|
|
6212
|
+
/** @internal */
|
|
6213
|
+
_hover(hovered: boolean): void;
|
|
6214
|
+
/** @internal */
|
|
6215
|
+
_configure({ scrollLeft, ...configuration }: WorkspaceHeaderConfiguration & {
|
|
6216
|
+
scrollLeft: number;
|
|
6217
|
+
}): void;
|
|
6218
|
+
/** @internal */
|
|
6219
|
+
_scroll(scrollLeft: number): void;
|
|
6220
|
+
/** @internal */
|
|
6221
|
+
_bindScroll(source: HTMLElement | undefined, extent: number): void;
|
|
6222
|
+
}
|
|
6223
|
+
/**
|
|
6224
|
+
* @element nve-workspace-panel-content
|
|
6225
|
+
* @description Provides padding for workspace panel content.
|
|
6226
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/workspace/
|
|
6227
|
+
* @since 0.0.0
|
|
6228
|
+
* @stable false
|
|
6229
|
+
* @entrypoint \@nvidia-elements/core/workspace
|
|
6230
|
+
* @slot - Application content.
|
|
6231
|
+
* @cssprop --padding
|
|
6232
|
+
*/
|
|
6233
|
+
export declare class WorkspacePanelContent extends LitElement {
|
|
6234
|
+
static styles: CSSResult[];
|
|
6235
|
+
static readonly metadata: {
|
|
6236
|
+
tag: string;
|
|
6237
|
+
version: string;
|
|
6238
|
+
parents: string[];
|
|
6239
|
+
};
|
|
6240
|
+
render(): TemplateResult<1>;
|
|
6241
|
+
}
|
|
6242
|
+
/**
|
|
6243
|
+
* @element nve-workspace-panel-footer
|
|
6244
|
+
* @description Provides workspace panel status and actions outside the scrolling body.
|
|
6245
|
+
* @documentation https://nvidia.github.io/elements/docs/elements/workspace/
|
|
6246
|
+
* @since 0.0.0
|
|
6247
|
+
* @stable false
|
|
6248
|
+
* @entrypoint \@nvidia-elements/core/workspace
|
|
6249
|
+
* @slot - Status and actions.
|
|
6250
|
+
* @cssprop --padding
|
|
6251
|
+
* @cssprop --border-top
|
|
6252
|
+
* @cssprop --gap
|
|
6253
|
+
*/
|
|
6254
|
+
export declare class WorkspacePanelFooter extends LitElement {
|
|
6255
|
+
static styles: CSSResult[];
|
|
6256
|
+
static readonly metadata: {
|
|
6257
|
+
tag: string;
|
|
6258
|
+
version: string;
|
|
6259
|
+
parents: string[];
|
|
6260
|
+
};
|
|
6261
|
+
/** @private */
|
|
6262
|
+
slot: string;
|
|
6263
|
+
render(): TemplateResult<1>;
|
|
6264
|
+
}
|
|
5909
6265
|
|
|
5910
6266
|
export {
|
|
5911
6267
|
Color$1 as Color,
|