@nvidia-elements/core 0.0.2 → 0.0.4
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 +20 -28
- package/NOTICE.md +119 -0
- package/README.md +1 -10
- package/dist/_virtual/{_@oxc-project_runtime@0.115.0 → _@oxc-project_runtime@0.123.0}/helpers/decorate.js +1 -1
- package/dist/accordion/accordion2.js +5 -5
- package/dist/alert/alert-banner2.js +1 -1
- package/dist/alert/alert-group2.js +2 -2
- package/dist/alert/alert.examples.js.map +1 -1
- package/dist/alert/alert.examples.json +1 -1
- package/dist/alert/alert2.js +2 -2
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +2 -2
- package/dist/badge/badge2.js +2 -2
- package/dist/breadcrumb/breadcrumb2.js +2 -2
- package/dist/bundle.d.ts +2 -0
- package/dist/bundles/index.d.ts +214 -35
- package/dist/bundles/index.js +13 -6952
- package/dist/button/button.examples.js.map +1 -1
- package/dist/button/button.examples.json +3 -3
- package/dist/button/button2.js +2 -2
- package/dist/button-group/button-group2.js +2 -2
- package/dist/card/card2.js +5 -5
- package/dist/chat-message/chat-message2.js +2 -2
- package/dist/checkbox/checkbox-group2.js +2 -2
- package/dist/checkbox/checkbox2.js +2 -2
- package/dist/checkbox/define.js +6 -3
- package/dist/checkbox/define.js.map +1 -1
- package/dist/color/color2.js +2 -2
- package/dist/color/define.js +5 -3
- package/dist/color/define.js.map +1 -1
- package/dist/combobox/combobox.d.ts +5 -0
- package/dist/combobox/combobox.examples.js.map +1 -1
- package/dist/combobox/combobox.examples.json +22 -0
- package/dist/combobox/combobox.js +1 -1
- package/dist/combobox/combobox.js.map +1 -1
- package/dist/combobox/combobox2.js +110 -61
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/combobox/define.js +5 -3
- package/dist/combobox/define.js.map +1 -1
- package/dist/copy-button/copy-button2.js +2 -2
- package/dist/custom-elements-jsx.d.ts +125 -63
- package/dist/custom-elements-vue.d.ts +125 -63
- package/dist/custom-elements.json +1626 -806
- package/dist/data.html.json +204 -46
- package/dist/data.snippets.json +9 -0
- package/dist/date/date2.js +2 -2
- package/dist/date/define.js +5 -3
- package/dist/date/define.js.map +1 -1
- package/dist/datetime/datetime2.js +2 -2
- package/dist/datetime/define.js +5 -3
- package/dist/datetime/define.js.map +1 -1
- package/dist/dialog/dialog-footer2.js +2 -2
- package/dist/dialog/dialog-header2.js +2 -2
- package/dist/dialog/dialog2.js +2 -2
- package/dist/divider/divider2.js +2 -2
- package/dist/dot/dot2.js +2 -2
- package/dist/drawer/drawer-content2.js +2 -2
- package/dist/drawer/drawer-footer2.js +2 -2
- package/dist/drawer/drawer-header2.js +2 -2
- package/dist/drawer/drawer2.js +2 -2
- package/dist/dropdown/dropdown-footer2.js +2 -2
- package/dist/dropdown/dropdown-header2.js +2 -2
- package/dist/dropdown/dropdown2.js +2 -2
- package/dist/dropdown-group/dropdown-group.js +2 -2
- package/dist/dropzone/dropzone.examples.js.map +1 -1
- package/dist/dropzone/dropzone.examples.json +3 -1
- package/dist/dropzone/dropzone2.js +2 -2
- package/dist/file/define.js +5 -3
- package/dist/file/define.js.map +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/define.d.ts +6 -0
- package/dist/format-datetime/define.js +7 -0
- package/dist/format-datetime/define.js.map +1 -0
- package/dist/format-datetime/format-datetime.d.ts +74 -0
- package/dist/format-datetime/format-datetime.examples.js +6 -0
- package/dist/format-datetime/format-datetime.examples.js.map +1 -0
- package/dist/format-datetime/format-datetime.examples.json +87 -0
- package/dist/format-datetime/format-datetime.js +6 -0
- package/dist/format-datetime/format-datetime.js.map +1 -0
- package/dist/format-datetime/format-datetime2.js +77 -0
- package/dist/format-datetime/format-datetime2.js.map +1 -0
- package/dist/format-datetime/index.d.ts +1 -0
- package/dist/format-datetime/index.js +2 -0
- package/dist/format-relative-time/define.d.ts +6 -0
- package/dist/format-relative-time/define.js +7 -0
- package/dist/format-relative-time/define.js.map +1 -0
- package/dist/format-relative-time/format-relative-time.d.ts +47 -0
- package/dist/format-relative-time/format-relative-time.examples.js +6 -0
- package/dist/format-relative-time/format-relative-time.examples.js.map +1 -0
- package/dist/format-relative-time/format-relative-time.examples.json +69 -0
- package/dist/format-relative-time/format-relative-time.js +6 -0
- package/dist/format-relative-time/format-relative-time.js.map +1 -0
- package/dist/format-relative-time/format-relative-time2.js +118 -0
- package/dist/format-relative-time/format-relative-time2.js.map +1 -0
- package/dist/format-relative-time/index.d.ts +1 -0
- package/dist/format-relative-time/index.js +2 -0
- package/dist/forms/control/control2.js +2 -2
- package/dist/forms/control-group/control-group2.js +2 -2
- package/dist/forms/control-message/control-message2.js +2 -2
- package/dist/forms/forms.examples.js.map +1 -1
- package/dist/forms/forms.examples.json +4 -2
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column.d.ts +1 -0
- package/dist/grid/column/column2.js +5 -2
- package/dist/grid/column/column2.js.map +1 -1
- package/dist/grid/footer/footer2.js +2 -2
- package/dist/grid/grid.examples.js.map +1 -1
- package/dist/grid/grid.examples.json +1 -1
- package/dist/grid/grid2.js +2 -2
- package/dist/grid/header/header2.js +2 -2
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +2 -2
- package/dist/icon/icon2.js +3 -3
- package/dist/icon-button/icon-button2.js +2 -2
- package/dist/index.js +1 -1
- package/dist/input/define.js +6 -3
- package/dist/input/define.js.map +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +2 -2
- package/dist/internal/base/button.js +1 -1
- package/dist/internal/index.js +40 -40
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/services/i18n.service.d.ts +1 -0
- package/dist/internal/services/i18n.service.js +2 -1
- package/dist/internal/services/i18n.service.js.map +1 -1
- package/dist/internal/utils/dom.d.ts +10 -0
- package/dist/internal/utils/dom.js +57 -51
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/logo/logo2.js +2 -2
- package/dist/menu/menu-item2.js +2 -2
- package/dist/menu/menu.d.ts +3 -0
- package/dist/menu/menu2.js +23 -2
- package/dist/menu/menu2.js.map +1 -1
- package/dist/month/define.js +5 -3
- package/dist/month/define.js.map +1 -1
- package/dist/month/month2.js +2 -2
- package/dist/notification/notification-group2.js +2 -2
- package/dist/notification/notification2.js +2 -2
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +2 -2
- package/dist/page/page-panel/page-panel-header2.js +2 -2
- package/dist/page/page-panel/page-panel2.js +2 -2
- package/dist/page/page.examples.js.map +1 -1
- package/dist/page/page.examples.json +0 -11
- package/dist/page/page2.js +2 -2
- package/dist/page-header/page-header.examples.js.map +1 -1
- package/dist/page-header/page-header.examples.json +2 -2
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader.js +1 -1
- package/dist/page-loader/page-loader.js.map +1 -1
- package/dist/page-loader/page-loader2.js +2 -2
- package/dist/pagination/pagination2.js +2 -2
- package/dist/panel/panel2.js +5 -5
- package/dist/password/define.js +5 -3
- package/dist/password/define.js.map +1 -1
- package/dist/password/password2.js +2 -2
- package/dist/preferences-input/preferences-input2.js +2 -2
- package/dist/progress-bar/progress-bar2.js +2 -2
- package/dist/progress-ring/progress-ring2.js +2 -2
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +2 -2
- package/dist/pulse/pulse2.js +2 -2
- package/dist/radio/define.js +6 -3
- package/dist/radio/define.js.map +1 -1
- package/dist/radio/radio-group2.js +2 -2
- package/dist/radio/radio2.js +2 -2
- package/dist/range/define.js +5 -3
- package/dist/range/define.js.map +1 -1
- package/dist/range/range2.js +2 -2
- package/dist/resize-handle/resize-handle.examples.js.map +1 -1
- package/dist/resize-handle/resize-handle.examples.json +3 -1
- package/dist/resize-handle/resize-handle2.js +2 -2
- package/dist/search/define.js +5 -3
- package/dist/search/define.js.map +1 -1
- package/dist/search/search2.js +2 -2
- package/dist/select/define.js +5 -3
- package/dist/select/define.js.map +1 -1
- package/dist/select/select2.js +2 -2
- package/dist/skeleton/skeleton.examples.js.map +1 -1
- package/dist/skeleton/skeleton.examples.json +3 -1
- package/dist/skeleton/skeleton2.js +2 -2
- package/dist/sort-button/sort-button2.js +2 -2
- package/dist/sparkline/sparkline.examples.js.map +1 -1
- package/dist/sparkline/sparkline.examples.json +3 -1
- package/dist/sparkline/sparkline.utils.js +2 -8
- package/dist/sparkline/sparkline.utils.js.map +1 -1
- package/dist/sparkline/sparkline2.js +2 -2
- package/dist/star-rating/define.js +5 -3
- package/dist/star-rating/define.js.map +1 -1
- package/dist/star-rating/star-rating2.js +2 -2
- package/dist/steps/steps2.js +3 -3
- package/dist/switch/define.js +6 -3
- package/dist/switch/define.js.map +1 -1
- package/dist/switch/switch-group2.js +2 -2
- package/dist/switch/switch2.js +2 -2
- package/dist/tabs/define.d.ts +2 -1
- package/dist/tabs/define.js +2 -1
- package/dist/tabs/define.js.map +1 -1
- package/dist/tabs/index.d.ts +1 -0
- package/dist/tabs/index.js +2 -1
- package/dist/tabs/tabs-group.d.ts +51 -0
- package/dist/tabs/tabs-group.js +6 -0
- package/dist/tabs/tabs-group.js.map +1 -0
- package/dist/tabs/tabs-group2.js +144 -0
- package/dist/tabs/tabs-group2.js.map +1 -0
- package/dist/tabs/tabs.examples.js.map +1 -1
- package/dist/tabs/tabs.examples.json +38 -2
- package/dist/tabs/tabs2.js +3 -3
- package/dist/tag/tag2.js +2 -2
- package/dist/textarea/define.js +5 -3
- package/dist/textarea/define.js.map +1 -1
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/define.js +5 -3
- package/dist/time/define.js.map +1 -1
- package/dist/time/time2.js +2 -2
- package/dist/toast/toast2.js +2 -2
- package/dist/toggletip/toggletip-footer2.js +2 -2
- package/dist/toggletip/toggletip-header2.js +2 -2
- package/dist/toggletip/toggletip2.js +2 -2
- package/dist/toolbar/toolbar2.js +2 -2
- package/dist/tooltip/tooltip2.js +2 -2
- package/dist/tree/tree-node.d.ts +1 -1
- package/dist/tree/tree-node.js +1 -1
- package/dist/tree/tree-node.js.map +1 -1
- package/dist/tree/tree-node2.js +2 -2
- package/dist/tree/tree-node2.js.map +1 -1
- package/dist/tree/tree.examples.js.map +1 -1
- package/dist/tree/tree.examples.json +1 -10
- package/dist/tree/tree2.js +2 -2
- package/dist/week/define.js +5 -3
- package/dist/week/define.js.map +1 -1
- package/dist/week/week2.js +2 -2
- package/package.json +43 -41
- package/dist/app-header/app-header.d.ts +0 -39
- package/dist/app-header/app-header.js +0 -6
- package/dist/app-header/app-header.js.map +0 -1
- package/dist/app-header/app-header2.js +0 -54
- package/dist/app-header/app-header2.js.map +0 -1
- package/dist/app-header/define.d.ts +0 -6
- package/dist/app-header/define.js +0 -7
- package/dist/app-header/define.js.map +0 -1
- package/dist/app-header/index.d.ts +0 -1
- package/dist/app-header/index.js +0 -2
- package/dist/bundles/audit-logs.js +0 -50
- package/dist/bundles/icons.js +0 -285
- package/dist/bundles/index.css +0 -2
- package/dist/bundles/log.service.js +0 -90
- package/dist/bundles/rolldown-runtime.js +0 -11
- package/dist/css/module.layout.css +0 -1
- package/dist/css/module.typography.css +0 -1
- package/dist/index.css +0 -1
- package/dist/json-viewer/define.d.ts +0 -8
- package/dist/json-viewer/define.js +0 -8
- package/dist/json-viewer/define.js.map +0 -1
- package/dist/json-viewer/index.d.ts +0 -2
- package/dist/json-viewer/index.js +0 -3
- package/dist/json-viewer/json-viewer.d.ts +0 -25
- package/dist/json-viewer/json-viewer.js +0 -6
- package/dist/json-viewer/json-viewer.js.map +0 -1
- package/dist/json-viewer/json-viewer2.js +0 -39
- package/dist/json-viewer/json-viewer2.js.map +0 -1
- package/dist/json-viewer/node/node.d.ts +0 -21
- package/dist/json-viewer/node/node.js +0 -6
- package/dist/json-viewer/node/node.js.map +0 -1
- package/dist/json-viewer/node/node2.js +0 -72
- package/dist/json-viewer/node/node2.js.map +0 -1
|
@@ -288,13 +288,6 @@ export type AlertProps = {
|
|
|
288
288
|
onclose?: (e: CustomEvent<never>) => void;
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
-
export type AppHeaderProps = {
|
|
292
|
-
/** @deprecated - not supported on custom element tags */
|
|
293
|
-
"nve-layout"?: string;
|
|
294
|
-
/** @deprecated - not supported on custom element tags */
|
|
295
|
-
"nve-text"?: string;
|
|
296
|
-
};
|
|
297
|
-
|
|
298
291
|
export type AvatarGroupProps = {
|
|
299
292
|
/** @deprecated - not supported on custom element tags */
|
|
300
293
|
"nve-layout"?: string;
|
|
@@ -717,6 +710,8 @@ export type ComboboxProps = {
|
|
|
717
710
|
container?: "flat";
|
|
718
711
|
/** Disable rendering of inline tags for many-item select */
|
|
719
712
|
notags?: boolean;
|
|
713
|
+
/** Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail. */
|
|
714
|
+
"behavior-create"?: boolean;
|
|
720
715
|
/** @deprecated - not supported on custom element tags */
|
|
721
716
|
"nve-layout"?: string;
|
|
722
717
|
/** @deprecated - not supported on custom element tags */
|
|
@@ -745,6 +740,10 @@ export type ComboboxProps = {
|
|
|
745
740
|
- `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. */
|
|
746
741
|
prominence?: "muted";
|
|
747
742
|
|
|
743
|
+
/** Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`. */
|
|
744
|
+
oncreate?: (e: CustomEvent<CustomEvent>) => void;
|
|
745
|
+
/** Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
|
|
746
|
+
onscroll?: (e: CustomEvent<never>) => void;
|
|
748
747
|
/** */
|
|
749
748
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
750
749
|
};
|
|
@@ -1259,6 +1258,64 @@ export type FileProps = {
|
|
|
1259
1258
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
1260
1259
|
};
|
|
1261
1260
|
|
|
1261
|
+
export type FormatDatetimeProps = {
|
|
1262
|
+
/** Optional date string for values supplied by JavaScript or bound data.
|
|
1263
|
+
By default, the component formats the element's text content, which also serves as the SSR fallback.
|
|
1264
|
+
When both are present, this property takes precedence. */
|
|
1265
|
+
date?: string | "default";
|
|
1266
|
+
/** Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. */
|
|
1267
|
+
locale?: string | "default";
|
|
1268
|
+
/** Weekday representation: 'long' | 'short' | 'narrow'. */
|
|
1269
|
+
weekday?: "long" | "short" | "narrow" | "default";
|
|
1270
|
+
/** Year representation: 'numeric' | '2-digit'. */
|
|
1271
|
+
year?: "numeric" | "2-digit" | "default";
|
|
1272
|
+
/** Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'. */
|
|
1273
|
+
month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | "default";
|
|
1274
|
+
/** Day representation: 'numeric' | '2-digit'. */
|
|
1275
|
+
day?: "numeric" | "2-digit" | "default";
|
|
1276
|
+
/** Hour representation: 'numeric' | '2-digit'. */
|
|
1277
|
+
hour?: "numeric" | "2-digit" | "default";
|
|
1278
|
+
/** Minute representation: 'numeric' | '2-digit'. */
|
|
1279
|
+
minute?: "numeric" | "2-digit" | "default";
|
|
1280
|
+
/** Second representation: 'numeric' | '2-digit'. */
|
|
1281
|
+
second?: "numeric" | "2-digit" | "default";
|
|
1282
|
+
/** Preset date formatting style: 'full' | 'long' | 'medium' | 'short'.
|
|
1283
|
+
Preset styles take precedence over granular date and time part options. */
|
|
1284
|
+
"date-style"?: "full" | "long" | "medium" | "short" | "default";
|
|
1285
|
+
/** Preset time formatting style: 'full' | 'long' | 'medium' | 'short'.
|
|
1286
|
+
Preset styles take precedence over granular date and time part options. */
|
|
1287
|
+
"time-style"?: "full" | "long" | "medium" | "short" | "default";
|
|
1288
|
+
/** Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it. */
|
|
1289
|
+
"time-zone-name"?: "long" | "short" | "default";
|
|
1290
|
+
/** IANA time zone identifier (such as 'America/New_York', 'UTC'). */
|
|
1291
|
+
"time-zone"?: string | "default";
|
|
1292
|
+
/** @deprecated - not supported on custom element tags */
|
|
1293
|
+
"nve-layout"?: string;
|
|
1294
|
+
/** @deprecated - not supported on custom element tags */
|
|
1295
|
+
"nve-text"?: string;
|
|
1296
|
+
};
|
|
1297
|
+
|
|
1298
|
+
export type FormatRelativeTimeProps = {
|
|
1299
|
+
/** Optional date string for values supplied by JavaScript or bound data.
|
|
1300
|
+
By default, the component formats the element's text content, which also serves as the SSR fallback.
|
|
1301
|
+
When both are present, this property takes precedence. */
|
|
1302
|
+
date?: string | "default";
|
|
1303
|
+
/** Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. */
|
|
1304
|
+
locale?: string | "default";
|
|
1305
|
+
/** Numeric formatting: 'always' | 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'. */
|
|
1306
|
+
numeric?: "always" | "auto";
|
|
1307
|
+
/** Formatting length: 'long' | 'short' | 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option. */
|
|
1308
|
+
"format-style"?: "long" | "short" | "narrow";
|
|
1309
|
+
/** Time unit: 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year' | 'auto'. Use 'auto' to let the component select the most appropriate unit based on the time difference. */
|
|
1310
|
+
unit?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "auto";
|
|
1311
|
+
/** When present, auto-updates the displayed relative time at appropriate intervals. */
|
|
1312
|
+
sync?: boolean;
|
|
1313
|
+
/** @deprecated - not supported on custom element tags */
|
|
1314
|
+
"nve-layout"?: string;
|
|
1315
|
+
/** @deprecated - not supported on custom element tags */
|
|
1316
|
+
"nve-text"?: string;
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1262
1319
|
export type ControlGroupProps = {
|
|
1263
1320
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
1264
1321
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
@@ -2143,22 +2200,6 @@ export type InputProps = {
|
|
|
2143
2200
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
2144
2201
|
};
|
|
2145
2202
|
|
|
2146
|
-
export type JSONViewerProps = {
|
|
2147
|
-
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2148
|
-
value?: object;
|
|
2149
|
-
/** 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)
|
|
2150
|
-
- `true` The associated content expands and becomes visible to the user.
|
|
2151
|
-
|
|
2152
|
-
- `false` The associated content collapses and hides from the user. */
|
|
2153
|
-
expanded?: boolean;
|
|
2154
|
-
/** */
|
|
2155
|
-
expandedAll?: boolean;
|
|
2156
|
-
/** @deprecated - not supported on custom element tags */
|
|
2157
|
-
"nve-layout"?: string;
|
|
2158
|
-
/** @deprecated - not supported on custom element tags */
|
|
2159
|
-
"nve-text"?: string;
|
|
2160
|
-
};
|
|
2161
|
-
|
|
2162
2203
|
export type LogoProps = {
|
|
2163
2204
|
/** Defines a base color from the theme color palette */
|
|
2164
2205
|
color?:
|
|
@@ -2279,6 +2320,8 @@ export type MenuProps = {
|
|
|
2279
2320
|
"nve-text"?: string;
|
|
2280
2321
|
/** */
|
|
2281
2322
|
items?: MenuItem[];
|
|
2323
|
+
/** Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
|
|
2324
|
+
onscroll?: (e: CustomEvent<never>) => void;
|
|
2282
2325
|
};
|
|
2283
2326
|
|
|
2284
2327
|
export type MonthProps = {
|
|
@@ -3279,6 +3322,18 @@ export type SwitchProps = {
|
|
|
3279
3322
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
3280
3323
|
};
|
|
3281
3324
|
|
|
3325
|
+
export type TabsGroupProps = {
|
|
3326
|
+
/** Determines the alignment of the popover relative to the provided anchor element. */
|
|
3327
|
+
alignment?: "top" | "start" | "end";
|
|
3328
|
+
/** @deprecated - not supported on custom element tags */
|
|
3329
|
+
"nve-layout"?: string;
|
|
3330
|
+
/** @deprecated - not supported on custom element tags */
|
|
3331
|
+
"nve-text"?: string;
|
|
3332
|
+
|
|
3333
|
+
/** Dispatched when the selected tab value changes after an invoker `--toggle` updates selection */
|
|
3334
|
+
onselect?: (e: CustomEvent<CustomEvent>) => void;
|
|
3335
|
+
};
|
|
3336
|
+
|
|
3282
3337
|
export type TabsItemProps = {
|
|
3283
3338
|
/** Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)
|
|
3284
3339
|
- `true` The element holds selection and represents the user's current choice within the group.
|
|
@@ -3978,29 +4033,6 @@ export type CustomElements = {
|
|
|
3978
4033
|
*/
|
|
3979
4034
|
"nve-alert": Partial<AlertProps & BaseProps & BaseEvents>;
|
|
3980
4035
|
|
|
3981
|
-
/**
|
|
3982
|
-
* @deprecated use `nve-page-header` instead
|
|
3983
|
-
*
|
|
3984
|
-
* An element that appears across the top of all pages containing the application name and primary navigation.
|
|
3985
|
-
* ---
|
|
3986
|
-
*
|
|
3987
|
-
*
|
|
3988
|
-
* ### **Slots:**
|
|
3989
|
-
* - _default_ - Use the default slot in `logo` to create an app logo badge within the app header. Include a `<span>` element inside `app-header` to change the default application title.
|
|
3990
|
-
* - **title** - undefined
|
|
3991
|
-
* - **nav-items** - For `button` and `icon-button` elements used for navigation behavior. Use the `active` attribute to show the current page.
|
|
3992
|
-
* - **nav-actions** - For `icon-button` elements. Places them in the supplemental actions section of the app header.
|
|
3993
|
-
*
|
|
3994
|
-
* ### **CSS Properties:**
|
|
3995
|
-
* - **--background** - undefined _(default: undefined)_
|
|
3996
|
-
* - **--padding** - undefined _(default: undefined)_
|
|
3997
|
-
* - **--border-bottom** - undefined _(default: undefined)_
|
|
3998
|
-
* - **--color** - undefined _(default: undefined)_
|
|
3999
|
-
* - **--font-weight** - undefined _(default: undefined)_
|
|
4000
|
-
* - **--text-decoration** - undefined _(default: undefined)_
|
|
4001
|
-
*/
|
|
4002
|
-
"nve-app-header": Partial<AppHeaderProps & BaseProps & BaseEvents>;
|
|
4003
|
-
|
|
4004
4036
|
/**
|
|
4005
4037
|
* An avatar group displays a collection of user avatars in a compact and organized layout, showcasing many participants or contributors in a space-efficient way.
|
|
4006
4038
|
* ---
|
|
@@ -4304,7 +4336,9 @@ export type CustomElements = {
|
|
|
4304
4336
|
*
|
|
4305
4337
|
*
|
|
4306
4338
|
* ### **Events:**
|
|
4307
|
-
* - **
|
|
4339
|
+
* - **create** - Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`.
|
|
4340
|
+
* - **scroll** - Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.
|
|
4341
|
+
* - **reset**
|
|
4308
4342
|
*
|
|
4309
4343
|
* ### **Methods:**
|
|
4310
4344
|
* - **reset()** - Resets control value to initial attribute value and clears any active validation rules.
|
|
@@ -4346,6 +4380,7 @@ export type CustomElements = {
|
|
|
4346
4380
|
* - **menu-item** - The menu item elements
|
|
4347
4381
|
* - **checkbox** - The checkbox element
|
|
4348
4382
|
* - **icon** - The icon element
|
|
4383
|
+
* - **create-option** - The menu item element for creating new options
|
|
4349
4384
|
*/
|
|
4350
4385
|
"nve-combobox": Partial<ComboboxProps & BaseProps & BaseEvents>;
|
|
4351
4386
|
|
|
@@ -4784,6 +4819,28 @@ export type CustomElements = {
|
|
|
4784
4819
|
*/
|
|
4785
4820
|
"nve-file": Partial<FileProps & BaseProps & BaseEvents>;
|
|
4786
4821
|
|
|
4822
|
+
/**
|
|
4823
|
+
* Formats a date/time value as localized text using the Intl.DateTimeFormat API. Renders inside a semantic time element.
|
|
4824
|
+
* Granular options (weekday, year, month, day, hour, minute, second) mirror the Intl.DateTimeFormat API. 'numeric' omits zero-padding, '2-digit' zero-pads.
|
|
4825
|
+
* ---
|
|
4826
|
+
*
|
|
4827
|
+
*
|
|
4828
|
+
* ### **Slots:**
|
|
4829
|
+
* - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
4830
|
+
*/
|
|
4831
|
+
"nve-format-datetime": Partial<FormatDatetimeProps & BaseProps & BaseEvents>;
|
|
4832
|
+
|
|
4833
|
+
/**
|
|
4834
|
+
* Formats a date/time value as localized relative text using the Intl.RelativeTimeFormat API. Renders inside a semantic time element.
|
|
4835
|
+
* Options mirror the Intl.RelativeTimeFormat API. When unit is 'auto', the component selects the best unit based on the time difference.
|
|
4836
|
+
* ---
|
|
4837
|
+
*
|
|
4838
|
+
*
|
|
4839
|
+
* ### **Slots:**
|
|
4840
|
+
* - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
4841
|
+
*/
|
|
4842
|
+
"nve-format-relative-time": Partial<FormatRelativeTimeProps & BaseProps & BaseEvents>;
|
|
4843
|
+
|
|
4787
4844
|
/**
|
|
4788
4845
|
* Groups many related form controls under a shared label and validation context for semantically linked inputs.
|
|
4789
4846
|
* ---
|
|
@@ -5085,21 +5142,6 @@ export type CustomElements = {
|
|
|
5085
5142
|
*/
|
|
5086
5143
|
"nve-input": Partial<InputProps & BaseProps & BaseEvents>;
|
|
5087
5144
|
|
|
5088
|
-
/**
|
|
5089
|
-
* @deprecated use `nve-monaco-input` instead
|
|
5090
|
-
*
|
|
5091
|
-
* The JSON Viewer is a custom element that renders JSON data in a easy to read format. Use it for prototyping and quickly displaying and debugging data. The JSON View is not a substitute for treeview patterns.
|
|
5092
|
-
* ---
|
|
5093
|
-
*
|
|
5094
|
-
*
|
|
5095
|
-
* ### **Slots:**
|
|
5096
|
-
* - _default_ - default slot for json
|
|
5097
|
-
*
|
|
5098
|
-
* ### **CSS Parts:**
|
|
5099
|
-
* - **json-node** - The json node elements
|
|
5100
|
-
*/
|
|
5101
|
-
"nve-json-viewer": Partial<JSONViewerProps & BaseProps & BaseEvents>;
|
|
5102
|
-
|
|
5103
5145
|
/**
|
|
5104
5146
|
* A visual indicator for a brand or application.
|
|
5105
5147
|
* ---
|
|
@@ -5152,6 +5194,9 @@ export type CustomElements = {
|
|
|
5152
5194
|
* ---
|
|
5153
5195
|
*
|
|
5154
5196
|
*
|
|
5197
|
+
* ### **Events:**
|
|
5198
|
+
* - **scroll** - Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.
|
|
5199
|
+
*
|
|
5155
5200
|
* ### **Slots:**
|
|
5156
5201
|
* - _default_ - default slot for `nve-menu-item`
|
|
5157
5202
|
*
|
|
@@ -6015,6 +6060,23 @@ export type CustomElements = {
|
|
|
6015
6060
|
*/
|
|
6016
6061
|
"nve-switch": Partial<SwitchProps & BaseProps & BaseEvents>;
|
|
6017
6062
|
|
|
6063
|
+
/**
|
|
6064
|
+
* Coordinates tabs with matching panel content using Invoker Commands and slot-matched panels.
|
|
6065
|
+
* ---
|
|
6066
|
+
*
|
|
6067
|
+
*
|
|
6068
|
+
* ### **Events:**
|
|
6069
|
+
* - **select** - Dispatched when the selected tab value changes after an invoker `--toggle` updates selection
|
|
6070
|
+
*
|
|
6071
|
+
* ### **Slots:**
|
|
6072
|
+
* - _default_ - Default slot for a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group.
|
|
6073
|
+
* - **value** - Named panel content where the slot name matches a nve-tabs-item value.
|
|
6074
|
+
*
|
|
6075
|
+
* ### **CSS Properties:**
|
|
6076
|
+
* - **--padding** - undefined _(default: undefined)_
|
|
6077
|
+
*/
|
|
6078
|
+
"nve-tabs-group": Partial<TabsGroupProps & BaseProps & BaseEvents>;
|
|
6079
|
+
|
|
6018
6080
|
/**
|
|
6019
6081
|
* Represents an individual tab within a tablist, providing a selectable button for switching between content views.
|
|
6020
6082
|
* ---
|
|
@@ -6329,7 +6391,7 @@ export type CustomElements = {
|
|
|
6329
6391
|
*
|
|
6330
6392
|
* ### **Slots:**
|
|
6331
6393
|
* - _default_ - Use default slot for basic text content or nested <nve-tree-node> elements.
|
|
6332
|
-
* - **content** - Use for extended long form content containing interactive elements or form inputs.
|
|
6394
|
+
* - **content** - Use only for extended long form content containing interactive elements or form inputs.
|
|
6333
6395
|
*
|
|
6334
6396
|
* ### **CSS Properties:**
|
|
6335
6397
|
* - **--color** - undefined _(default: undefined)_
|
|
@@ -215,13 +215,6 @@ type AlertProps = {
|
|
|
215
215
|
onclose?: (e: CustomEvent<never>) => void;
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
type AppHeaderProps = {
|
|
219
|
-
/** @deprecated - not supported on custom element tags */
|
|
220
|
-
"nve-layout"?: string;
|
|
221
|
-
/** @deprecated - not supported on custom element tags */
|
|
222
|
-
"nve-text"?: string;
|
|
223
|
-
};
|
|
224
|
-
|
|
225
218
|
type AvatarGroupProps = {
|
|
226
219
|
/** @deprecated - not supported on custom element tags */
|
|
227
220
|
"nve-layout"?: string;
|
|
@@ -644,6 +637,8 @@ type ComboboxProps = {
|
|
|
644
637
|
container?: "flat";
|
|
645
638
|
/** Disable rendering of inline tags for many-item select */
|
|
646
639
|
notags?: boolean;
|
|
640
|
+
/** Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail. */
|
|
641
|
+
"behavior-create"?: boolean;
|
|
647
642
|
/** @deprecated - not supported on custom element tags */
|
|
648
643
|
"nve-layout"?: string;
|
|
649
644
|
/** @deprecated - not supported on custom element tags */
|
|
@@ -672,6 +667,10 @@ type ComboboxProps = {
|
|
|
672
667
|
- `muted` Reduces visual weight for supporting content that should remain subtle and unobtrusive. */
|
|
673
668
|
prominence?: "muted";
|
|
674
669
|
|
|
670
|
+
/** Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`. */
|
|
671
|
+
oncreate?: (e: CustomEvent<CustomEvent>) => void;
|
|
672
|
+
/** Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
|
|
673
|
+
onscroll?: (e: CustomEvent<never>) => void;
|
|
675
674
|
/** */
|
|
676
675
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
677
676
|
};
|
|
@@ -1186,6 +1185,64 @@ type FileProps = {
|
|
|
1186
1185
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
1187
1186
|
};
|
|
1188
1187
|
|
|
1188
|
+
type FormatDatetimeProps = {
|
|
1189
|
+
/** Optional date string for values supplied by JavaScript or bound data.
|
|
1190
|
+
By default, the component formats the element's text content, which also serves as the SSR fallback.
|
|
1191
|
+
When both are present, this property takes precedence. */
|
|
1192
|
+
date?: string | "default";
|
|
1193
|
+
/** Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. */
|
|
1194
|
+
locale?: string | "default";
|
|
1195
|
+
/** Weekday representation: 'long' | 'short' | 'narrow'. */
|
|
1196
|
+
weekday?: "long" | "short" | "narrow" | "default";
|
|
1197
|
+
/** Year representation: 'numeric' | '2-digit'. */
|
|
1198
|
+
year?: "numeric" | "2-digit" | "default";
|
|
1199
|
+
/** Month representation: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'. */
|
|
1200
|
+
month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | "default";
|
|
1201
|
+
/** Day representation: 'numeric' | '2-digit'. */
|
|
1202
|
+
day?: "numeric" | "2-digit" | "default";
|
|
1203
|
+
/** Hour representation: 'numeric' | '2-digit'. */
|
|
1204
|
+
hour?: "numeric" | "2-digit" | "default";
|
|
1205
|
+
/** Minute representation: 'numeric' | '2-digit'. */
|
|
1206
|
+
minute?: "numeric" | "2-digit" | "default";
|
|
1207
|
+
/** Second representation: 'numeric' | '2-digit'. */
|
|
1208
|
+
second?: "numeric" | "2-digit" | "default";
|
|
1209
|
+
/** Preset date formatting style: 'full' | 'long' | 'medium' | 'short'.
|
|
1210
|
+
Preset styles take precedence over granular date and time part options. */
|
|
1211
|
+
"date-style"?: "full" | "long" | "medium" | "short" | "default";
|
|
1212
|
+
/** Preset time formatting style: 'full' | 'long' | 'medium' | 'short'.
|
|
1213
|
+
Preset styles take precedence over granular date and time part options. */
|
|
1214
|
+
"time-style"?: "full" | "long" | "medium" | "short" | "default";
|
|
1215
|
+
/** Time zone name display: 'long' | 'short'. Use it with granular options only; preset styles ignore it. */
|
|
1216
|
+
"time-zone-name"?: "long" | "short" | "default";
|
|
1217
|
+
/** IANA time zone identifier (such as 'America/New_York', 'UTC'). */
|
|
1218
|
+
"time-zone"?: string | "default";
|
|
1219
|
+
/** @deprecated - not supported on custom element tags */
|
|
1220
|
+
"nve-layout"?: string;
|
|
1221
|
+
/** @deprecated - not supported on custom element tags */
|
|
1222
|
+
"nve-text"?: string;
|
|
1223
|
+
};
|
|
1224
|
+
|
|
1225
|
+
type FormatRelativeTimeProps = {
|
|
1226
|
+
/** Optional date string for values supplied by JavaScript or bound data.
|
|
1227
|
+
By default, the component formats the element's text content, which also serves as the SSR fallback.
|
|
1228
|
+
When both are present, this property takes precedence. */
|
|
1229
|
+
date?: string | "default";
|
|
1230
|
+
/** Language tag (such as en-US, de-DE). Defaults to document.documentElement.lang or browser default. */
|
|
1231
|
+
locale?: string | "default";
|
|
1232
|
+
/** Numeric formatting: 'always' | 'auto'. When 'auto', enables natural language forms such as 'yesterday' instead of '1 day ago'. */
|
|
1233
|
+
numeric?: "always" | "auto";
|
|
1234
|
+
/** Formatting length: 'long' | 'short' | 'narrow'. Controls verbosity (such as '3 days ago' vs '3d ago'). Maps to Intl.RelativeTimeFormat style option. */
|
|
1235
|
+
"format-style"?: "long" | "short" | "narrow";
|
|
1236
|
+
/** Time unit: 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year' | 'auto'. Use 'auto' to let the component select the most appropriate unit based on the time difference. */
|
|
1237
|
+
unit?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | "auto";
|
|
1238
|
+
/** When present, auto-updates the displayed relative time at appropriate intervals. */
|
|
1239
|
+
sync?: boolean;
|
|
1240
|
+
/** @deprecated - not supported on custom element tags */
|
|
1241
|
+
"nve-layout"?: string;
|
|
1242
|
+
/** @deprecated - not supported on custom element tags */
|
|
1243
|
+
"nve-text"?: string;
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1189
1246
|
type ControlGroupProps = {
|
|
1190
1247
|
/** Controls the directional arrangement and spacing behavior of the element's content.
|
|
1191
1248
|
- `vertical` Arranges content in a vertical stack with block-level spacing.
|
|
@@ -2070,22 +2127,6 @@ type InputProps = {
|
|
|
2070
2127
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
2071
2128
|
};
|
|
2072
2129
|
|
|
2073
|
-
type JSONViewerProps = {
|
|
2074
|
-
/** Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#value) */
|
|
2075
|
-
value?: object;
|
|
2076
|
-
/** 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)
|
|
2077
|
-
- `true` The associated content expands and becomes visible to the user.
|
|
2078
|
-
|
|
2079
|
-
- `false` The associated content collapses and hides from the user. */
|
|
2080
|
-
expanded?: boolean;
|
|
2081
|
-
/** */
|
|
2082
|
-
expandedAll?: boolean;
|
|
2083
|
-
/** @deprecated - not supported on custom element tags */
|
|
2084
|
-
"nve-layout"?: string;
|
|
2085
|
-
/** @deprecated - not supported on custom element tags */
|
|
2086
|
-
"nve-text"?: string;
|
|
2087
|
-
};
|
|
2088
|
-
|
|
2089
2130
|
type LogoProps = {
|
|
2090
2131
|
/** Defines a base color from the theme color palette */
|
|
2091
2132
|
color?:
|
|
@@ -2206,6 +2247,8 @@ type MenuProps = {
|
|
|
2206
2247
|
"nve-text"?: string;
|
|
2207
2248
|
/** */
|
|
2208
2249
|
items?: MenuItem[];
|
|
2250
|
+
/** Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`. */
|
|
2251
|
+
onscroll?: (e: CustomEvent<never>) => void;
|
|
2209
2252
|
};
|
|
2210
2253
|
|
|
2211
2254
|
type MonthProps = {
|
|
@@ -3206,6 +3249,18 @@ type SwitchProps = {
|
|
|
3206
3249
|
onreset?: (e: CustomEvent<CustomEvent>) => void;
|
|
3207
3250
|
};
|
|
3208
3251
|
|
|
3252
|
+
type TabsGroupProps = {
|
|
3253
|
+
/** Determines the alignment of the popover relative to the provided anchor element. */
|
|
3254
|
+
alignment?: "top" | "start" | "end";
|
|
3255
|
+
/** @deprecated - not supported on custom element tags */
|
|
3256
|
+
"nve-layout"?: string;
|
|
3257
|
+
/** @deprecated - not supported on custom element tags */
|
|
3258
|
+
"nve-text"?: string;
|
|
3259
|
+
|
|
3260
|
+
/** Dispatched when the selected tab value changes after an invoker `--toggle` updates selection */
|
|
3261
|
+
onselect?: (e: CustomEvent<CustomEvent>) => void;
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3209
3264
|
type TabsItemProps = {
|
|
3210
3265
|
/** Indicates whether an element currently holds selection within a multi-option selection group. [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected)
|
|
3211
3266
|
- `true` The element holds selection and represents the user's current choice within the group.
|
|
@@ -3905,29 +3960,6 @@ export type CustomElements = {
|
|
|
3905
3960
|
*/
|
|
3906
3961
|
"nve-alert": DefineComponent<AlertProps>;
|
|
3907
3962
|
|
|
3908
|
-
/**
|
|
3909
|
-
* @deprecated use `nve-page-header` instead
|
|
3910
|
-
*
|
|
3911
|
-
* An element that appears across the top of all pages containing the application name and primary navigation.
|
|
3912
|
-
* ---
|
|
3913
|
-
*
|
|
3914
|
-
*
|
|
3915
|
-
* ### **Slots:**
|
|
3916
|
-
* - _default_ - Use the default slot in `logo` to create an app logo badge within the app header. Include a `<span>` element inside `app-header` to change the default application title.
|
|
3917
|
-
* - **title** - undefined
|
|
3918
|
-
* - **nav-items** - For `button` and `icon-button` elements used for navigation behavior. Use the `active` attribute to show the current page.
|
|
3919
|
-
* - **nav-actions** - For `icon-button` elements. Places them in the supplemental actions section of the app header.
|
|
3920
|
-
*
|
|
3921
|
-
* ### **CSS Properties:**
|
|
3922
|
-
* - **--background** - undefined _(default: undefined)_
|
|
3923
|
-
* - **--padding** - undefined _(default: undefined)_
|
|
3924
|
-
* - **--border-bottom** - undefined _(default: undefined)_
|
|
3925
|
-
* - **--color** - undefined _(default: undefined)_
|
|
3926
|
-
* - **--font-weight** - undefined _(default: undefined)_
|
|
3927
|
-
* - **--text-decoration** - undefined _(default: undefined)_
|
|
3928
|
-
*/
|
|
3929
|
-
"nve-app-header": DefineComponent<AppHeaderProps>;
|
|
3930
|
-
|
|
3931
3963
|
/**
|
|
3932
3964
|
* An avatar group displays a collection of user avatars in a compact and organized layout, showcasing many participants or contributors in a space-efficient way.
|
|
3933
3965
|
* ---
|
|
@@ -4231,7 +4263,9 @@ export type CustomElements = {
|
|
|
4231
4263
|
*
|
|
4232
4264
|
*
|
|
4233
4265
|
* ### **Events:**
|
|
4234
|
-
* - **
|
|
4266
|
+
* - **create** - Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`.
|
|
4267
|
+
* - **scroll** - Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.
|
|
4268
|
+
* - **reset**
|
|
4235
4269
|
*
|
|
4236
4270
|
* ### **Methods:**
|
|
4237
4271
|
* - **reset()** - Resets control value to initial attribute value and clears any active validation rules.
|
|
@@ -4273,6 +4307,7 @@ export type CustomElements = {
|
|
|
4273
4307
|
* - **menu-item** - The menu item elements
|
|
4274
4308
|
* - **checkbox** - The checkbox element
|
|
4275
4309
|
* - **icon** - The icon element
|
|
4310
|
+
* - **create-option** - The menu item element for creating new options
|
|
4276
4311
|
*/
|
|
4277
4312
|
"nve-combobox": DefineComponent<ComboboxProps>;
|
|
4278
4313
|
|
|
@@ -4711,6 +4746,28 @@ export type CustomElements = {
|
|
|
4711
4746
|
*/
|
|
4712
4747
|
"nve-file": DefineComponent<FileProps>;
|
|
4713
4748
|
|
|
4749
|
+
/**
|
|
4750
|
+
* Formats a date/time value as localized text using the Intl.DateTimeFormat API. Renders inside a semantic time element.
|
|
4751
|
+
* Granular options (weekday, year, month, day, hour, minute, second) mirror the Intl.DateTimeFormat API. 'numeric' omits zero-padding, '2-digit' zero-pads.
|
|
4752
|
+
* ---
|
|
4753
|
+
*
|
|
4754
|
+
*
|
|
4755
|
+
* ### **Slots:**
|
|
4756
|
+
* - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
4757
|
+
*/
|
|
4758
|
+
"nve-format-datetime": DefineComponent<FormatDatetimeProps>;
|
|
4759
|
+
|
|
4760
|
+
/**
|
|
4761
|
+
* Formats a date/time value as localized relative text using the Intl.RelativeTimeFormat API. Renders inside a semantic time element.
|
|
4762
|
+
* Options mirror the Intl.RelativeTimeFormat API. When unit is 'auto', the component selects the best unit based on the time difference.
|
|
4763
|
+
* ---
|
|
4764
|
+
*
|
|
4765
|
+
*
|
|
4766
|
+
* ### **Slots:**
|
|
4767
|
+
* - _default_ - Date string to format (such as 2023-07-28T04:20:17.434Z). Serves as fallback before hydration.
|
|
4768
|
+
*/
|
|
4769
|
+
"nve-format-relative-time": DefineComponent<FormatRelativeTimeProps>;
|
|
4770
|
+
|
|
4714
4771
|
/**
|
|
4715
4772
|
* Groups many related form controls under a shared label and validation context for semantically linked inputs.
|
|
4716
4773
|
* ---
|
|
@@ -5012,21 +5069,6 @@ export type CustomElements = {
|
|
|
5012
5069
|
*/
|
|
5013
5070
|
"nve-input": DefineComponent<InputProps>;
|
|
5014
5071
|
|
|
5015
|
-
/**
|
|
5016
|
-
* @deprecated use `nve-monaco-input` instead
|
|
5017
|
-
*
|
|
5018
|
-
* The JSON Viewer is a custom element that renders JSON data in a easy to read format. Use it for prototyping and quickly displaying and debugging data. The JSON View is not a substitute for treeview patterns.
|
|
5019
|
-
* ---
|
|
5020
|
-
*
|
|
5021
|
-
*
|
|
5022
|
-
* ### **Slots:**
|
|
5023
|
-
* - _default_ - default slot for json
|
|
5024
|
-
*
|
|
5025
|
-
* ### **CSS Parts:**
|
|
5026
|
-
* - **json-node** - The json node elements
|
|
5027
|
-
*/
|
|
5028
|
-
"nve-json-viewer": DefineComponent<JSONViewerProps>;
|
|
5029
|
-
|
|
5030
5072
|
/**
|
|
5031
5073
|
* A visual indicator for a brand or application.
|
|
5032
5074
|
* ---
|
|
@@ -5079,6 +5121,9 @@ export type CustomElements = {
|
|
|
5079
5121
|
* ---
|
|
5080
5122
|
*
|
|
5081
5123
|
*
|
|
5124
|
+
* ### **Events:**
|
|
5125
|
+
* - **scroll** - Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.
|
|
5126
|
+
*
|
|
5082
5127
|
* ### **Slots:**
|
|
5083
5128
|
* - _default_ - default slot for `nve-menu-item`
|
|
5084
5129
|
*
|
|
@@ -5942,6 +5987,23 @@ export type CustomElements = {
|
|
|
5942
5987
|
*/
|
|
5943
5988
|
"nve-switch": DefineComponent<SwitchProps>;
|
|
5944
5989
|
|
|
5990
|
+
/**
|
|
5991
|
+
* Coordinates tabs with matching panel content using Invoker Commands and slot-matched panels.
|
|
5992
|
+
* ---
|
|
5993
|
+
*
|
|
5994
|
+
*
|
|
5995
|
+
* ### **Events:**
|
|
5996
|
+
* - **select** - Dispatched when the selected tab value changes after an invoker `--toggle` updates selection
|
|
5997
|
+
*
|
|
5998
|
+
* ### **Slots:**
|
|
5999
|
+
* - _default_ - Default slot for a single nve-tabs element. Do not use behavior-select on nve-tabs when using this group.
|
|
6000
|
+
* - **value** - Named panel content where the slot name matches a nve-tabs-item value.
|
|
6001
|
+
*
|
|
6002
|
+
* ### **CSS Properties:**
|
|
6003
|
+
* - **--padding** - undefined _(default: undefined)_
|
|
6004
|
+
*/
|
|
6005
|
+
"nve-tabs-group": DefineComponent<TabsGroupProps>;
|
|
6006
|
+
|
|
5945
6007
|
/**
|
|
5946
6008
|
* Represents an individual tab within a tablist, providing a selectable button for switching between content views.
|
|
5947
6009
|
* ---
|
|
@@ -6256,7 +6318,7 @@ export type CustomElements = {
|
|
|
6256
6318
|
*
|
|
6257
6319
|
* ### **Slots:**
|
|
6258
6320
|
* - _default_ - Use default slot for basic text content or nested <nve-tree-node> elements.
|
|
6259
|
-
* - **content** - Use for extended long form content containing interactive elements or form inputs.
|
|
6321
|
+
* - **content** - Use only for extended long form content containing interactive elements or form inputs.
|
|
6260
6322
|
*
|
|
6261
6323
|
* ### **CSS Properties:**
|
|
6262
6324
|
* - **--color** - undefined _(default: undefined)_
|