@nvidia-elements/core 0.2.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -1
- package/NOTICE.md +4 -4
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0 → _@oxc-project_runtime@0.132.0}/helpers/decorate.js +1 -1
- package/dist/accordion/accordion-header.js +1 -1
- package/dist/accordion/accordion-header.js.map +1 -1
- package/dist/accordion/accordion.d.ts +4 -7
- package/dist/accordion/accordion.examples.js.map +1 -1
- package/dist/accordion/accordion.examples.json +1 -12
- package/dist/accordion/accordion.js +1 -1
- package/dist/accordion/accordion.js.map +1 -1
- package/dist/accordion/accordion2.js +9 -12
- package/dist/accordion/accordion2.js.map +1 -1
- package/dist/alert/alert-group.d.ts +1 -1
- package/dist/alert/alert-group2.js +2 -2
- package/dist/alert/alert.d.ts +1 -1
- package/dist/alert/alert.js +1 -1
- package/dist/alert/alert.js.map +1 -1
- package/dist/alert/alert2.js +2 -2
- package/dist/avatar/avatar-group.d.ts +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar.d.ts +1 -1
- package/dist/avatar/avatar2.js +2 -2
- package/dist/badge/badge.d.ts +3 -3
- package/dist/badge/badge.js +1 -1
- package/dist/badge/badge.js.map +1 -1
- package/dist/badge/badge2.js +4 -5
- package/dist/badge/badge2.js.map +1 -1
- package/dist/breadcrumb/breadcrumb.d.ts +1 -6
- package/dist/breadcrumb/breadcrumb.js +1 -1
- package/dist/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/breadcrumb/breadcrumb2.js +2 -2
- package/dist/breadcrumb/breadcrumb2.js.map +1 -1
- package/dist/bundle.d.ts +14 -0
- package/dist/bundles/index.d.ts +831 -95
- package/dist/bundles/index.js +4 -4
- package/dist/button/button.d.ts +3 -3
- package/dist/button/button.js +1 -1
- package/dist/button/button.js.map +1 -1
- package/dist/button/button2.js +2 -2
- package/dist/button/button2.js.map +1 -1
- package/dist/button-group/button-group.d.ts +1 -1
- package/dist/button-group/button-group2.js +2 -2
- package/dist/card/card-header.js +1 -1
- package/dist/card/card-header.js.map +1 -1
- package/dist/card/card.d.ts +4 -7
- package/dist/card/card2.js +6 -6
- package/dist/card/card2.js.map +1 -1
- package/dist/chat-message/chat-message.d.ts +1 -1
- 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/color/color.d.ts +1 -1
- package/dist/color/color2.js +2 -2
- package/dist/combobox/combobox.d.ts +2 -8
- package/dist/combobox/combobox.examples.js.map +1 -1
- package/dist/combobox/combobox2.js +3 -6
- package/dist/combobox/combobox2.js.map +1 -1
- package/dist/copy-button/copy-button.d.ts +1 -1
- package/dist/copy-button/copy-button2.js +3 -3
- package/dist/copy-button/copy-button2.js.map +1 -1
- package/dist/custom-elements-jsx.d.ts +32 -37
- package/dist/custom-elements-vue.d.ts +32 -37
- package/dist/custom-elements.json +275 -394
- package/dist/data.html.json +75 -28
- package/dist/data.snippets.json +28 -28
- package/dist/date/date.d.ts +1 -1
- package/dist/date/date2.js +2 -2
- package/dist/datetime/datetime.d.ts +1 -1
- package/dist/datetime/datetime2.js +2 -2
- package/dist/dialog/dialog-footer.d.ts +1 -1
- package/dist/dialog/dialog-footer2.js +2 -2
- package/dist/dialog/dialog-header.d.ts +1 -1
- package/dist/dialog/dialog-header2.js +2 -2
- package/dist/dialog/dialog.d.ts +1 -1
- package/dist/dialog/dialog.examples.js.map +1 -1
- package/dist/dialog/dialog2.js +2 -2
- package/dist/divider/divider.d.ts +1 -1
- package/dist/divider/divider2.js +2 -2
- package/dist/dot/dot.d.ts +1 -1
- package/dist/dot/dot2.js +2 -2
- package/dist/drawer/drawer-content.d.ts +1 -1
- package/dist/drawer/drawer-content2.js +2 -2
- package/dist/drawer/drawer-footer.d.ts +1 -1
- package/dist/drawer/drawer-footer2.js +2 -2
- package/dist/drawer/drawer-header.d.ts +1 -1
- package/dist/drawer/drawer-header2.js +2 -2
- package/dist/drawer/drawer.d.ts +1 -1
- package/dist/drawer/drawer2.js +2 -2
- package/dist/dropdown/dropdown-footer.d.ts +1 -1
- package/dist/dropdown/dropdown-footer2.js +2 -2
- package/dist/dropdown/dropdown-header.d.ts +1 -1
- package/dist/dropdown/dropdown-header2.js +2 -2
- package/dist/dropdown/dropdown.d.ts +1 -1
- package/dist/dropdown/dropdown2.js +2 -2
- package/dist/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/dropdown-group/dropdown-group.js +2 -2
- package/dist/dropzone/dropzone.d.ts +1 -1
- package/dist/dropzone/dropzone2.js +2 -2
- package/dist/file/file2.js +1 -1
- package/dist/format-datetime/format-datetime.d.ts +1 -1
- package/dist/format-datetime/format-datetime2.js +2 -2
- package/dist/format-number/format-number.d.ts +1 -1
- package/dist/format-number/format-number2.js +2 -2
- package/dist/format-relative-time/format-relative-time.d.ts +1 -1
- package/dist/format-relative-time/format-relative-time2.js +2 -2
- package/dist/forms/control/control2.js +2 -2
- package/dist/forms/control-group/control-group.d.ts +1 -1
- package/dist/forms/control-group/control-group.js +1 -1
- package/dist/forms/control-group/control-group.js.map +1 -1
- package/dist/forms/control-group/control-group2.js +2 -2
- package/dist/forms/control-message/control-message.d.ts +1 -1
- package/dist/forms/control-message/control-message2.js +2 -2
- package/dist/grid/cell/cell.d.ts +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column.d.ts +1 -1
- package/dist/grid/column/column2.js +2 -2
- package/dist/grid/footer/footer.d.ts +1 -1
- package/dist/grid/footer/footer2.js +2 -2
- package/dist/grid/grid.d.ts +3 -2
- package/dist/grid/grid.examples.js.map +1 -1
- package/dist/grid/grid2.js +35 -27
- package/dist/grid/grid2.js.map +1 -1
- package/dist/grid/header/header.d.ts +1 -1
- package/dist/grid/header/header2.js +2 -2
- package/dist/grid/placeholder/placeholder.d.ts +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row.d.ts +1 -1
- package/dist/grid/row/row2.js +2 -2
- package/dist/icon/icon.d.ts +1 -1
- package/dist/icon/icon2.js +17 -9
- package/dist/icon/icon2.js.map +1 -1
- package/dist/icon/icons.d.ts +0 -2
- package/dist/icon/icons.js.map +1 -1
- package/dist/icon-button/icon-button.d.ts +1 -1
- package/dist/icon-button/icon-button.js +1 -1
- package/dist/icon-button/icon-button.js.map +1 -1
- package/dist/icon-button/icon-button2.js +2 -2
- package/dist/index.js +1 -1
- package/dist/input/input-group.examples.js.map +1 -1
- package/dist/input/input-group.examples.json +11 -0
- package/dist/input/input-group.js +1 -1
- package/dist/input/input-group.js.map +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +2 -2
- package/dist/internal/controllers/state-scroll.controller.d.ts +1 -0
- package/dist/internal/controllers/state-scroll.controller.js +25 -8
- package/dist/internal/controllers/state-scroll.controller.js.map +1 -1
- package/dist/internal/controllers/type-command.controller.d.ts +0 -4
- package/dist/internal/controllers/type-command.controller.js +6 -9
- package/dist/internal/controllers/type-command.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.controller.js +28 -21
- package/dist/internal/controllers/type-native-popover.controller.js.map +1 -1
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/types/index.d.ts +0 -10
- package/dist/internal/types/index.js +0 -3
- package/dist/internal/types/index.js.map +1 -1
- package/dist/logo/logo.d.ts +1 -1
- package/dist/logo/logo2.js +2 -2
- package/dist/menu/menu-item.d.ts +1 -1
- package/dist/menu/menu-item2.js +2 -2
- package/dist/menu/menu.d.ts +1 -1
- package/dist/menu/menu.examples.js.map +1 -1
- package/dist/menu/menu.examples.json +1 -1
- package/dist/menu/menu2.js +2 -2
- package/dist/month/month.d.ts +1 -1
- package/dist/month/month2.js +2 -2
- package/dist/notification/notification-group.d.ts +1 -1
- package/dist/notification/notification-group2.js +2 -2
- package/dist/notification/notification.d.ts +2 -1
- package/dist/notification/notification.examples.js.map +1 -1
- package/dist/notification/notification.examples.json +0 -11
- package/dist/notification/notification2.js +18 -10
- package/dist/notification/notification2.js.map +1 -1
- package/dist/page/page-panel/page-panel-content.d.ts +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer.d.ts +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +2 -2
- package/dist/page/page-panel/page-panel-header.d.ts +1 -1
- package/dist/page/page-panel/page-panel-header2.js +2 -2
- package/dist/page/page-panel/page-panel.d.ts +2 -17
- package/dist/page/page-panel/page-panel.global.js +1 -1
- package/dist/page/page-panel/page-panel.global.js.map +1 -1
- package/dist/page/page-panel/page-panel2.js +16 -39
- package/dist/page/page-panel/page-panel2.js.map +1 -1
- package/dist/page/page.d.ts +1 -1
- package/dist/page/page.examples.js.map +1 -1
- package/dist/page/page.examples.json +0 -32
- package/dist/page/page2.js +2 -2
- package/dist/page-header/page-header.d.ts +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader.d.ts +1 -1
- package/dist/page-loader/page-loader2.js +2 -2
- package/dist/pagination/pagination.d.ts +1 -1
- package/dist/pagination/pagination2.js +2 -2
- package/dist/panel/panel.d.ts +8 -5
- package/dist/panel/panel.examples.js.map +1 -1
- package/dist/panel/panel2.js +5 -5
- package/dist/panel/panel2.js.map +1 -1
- package/dist/password/password.d.ts +1 -1
- package/dist/password/password2.js +2 -2
- package/dist/preferences-input/preferences-input.d.ts +1 -1
- package/dist/preferences-input/preferences-input2.js +2 -2
- package/dist/progress-bar/progress-bar.d.ts +1 -1
- package/dist/progress-bar/progress-bar2.js +2 -2
- package/dist/progress-ring/progress-ring.d.ts +1 -3
- package/dist/progress-ring/progress-ring2.js +9 -14
- package/dist/progress-ring/progress-ring2.js.map +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip.d.ts +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +2 -2
- package/dist/pulse/pulse.d.ts +1 -1
- package/dist/pulse/pulse2.js +2 -2
- package/dist/radio/radio-group2.js +2 -2
- package/dist/radio/radio2.js +2 -2
- package/dist/range/range.d.ts +1 -1
- package/dist/range/range2.js +2 -2
- package/dist/resize-handle/resize-handle.d.ts +1 -1
- package/dist/resize-handle/resize-handle2.js +2 -2
- package/dist/search/search.d.ts +1 -1
- package/dist/search/search2.js +2 -2
- package/dist/select/select.d.ts +2 -2
- package/dist/select/select2.js +2 -2
- package/dist/skeleton/skeleton.d.ts +1 -1
- package/dist/skeleton/skeleton2.js +2 -2
- package/dist/sort-button/sort-button.d.ts +1 -1
- package/dist/sort-button/sort-button2.js +2 -2
- package/dist/sparkline/sparkline.d.ts +1 -1
- package/dist/sparkline/sparkline2.js +2 -2
- package/dist/star-rating/star-rating.d.ts +1 -1
- package/dist/star-rating/star-rating2.js +2 -2
- package/dist/steps/steps.d.ts +2 -2
- package/dist/steps/steps2.js +3 -3
- package/dist/switch/switch-group2.js +2 -2
- package/dist/switch/switch2.js +2 -2
- package/dist/tabs/tabs-group.d.ts +1 -1
- package/dist/tabs/tabs-group2.js +2 -2
- package/dist/tabs/tabs-item.js +1 -1
- package/dist/tabs/tabs-item.js.map +1 -1
- package/dist/tabs/tabs.d.ts +2 -6
- package/dist/tabs/tabs.global.js +1 -1
- package/dist/tabs/tabs.global.js.map +1 -1
- package/dist/tabs/tabs.js +1 -1
- package/dist/tabs/tabs.js.map +1 -1
- package/dist/tabs/tabs2.js +3 -3
- package/dist/tabs/tabs2.js.map +1 -1
- package/dist/tag/tag.d.ts +1 -1
- package/dist/tag/tag2.js +2 -2
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time.d.ts +1 -1
- package/dist/time/time2.js +2 -2
- package/dist/toast/toast.d.ts +3 -4
- package/dist/toast/toast2.js +3 -3
- package/dist/toast/toast2.js.map +1 -1
- package/dist/toggletip/toggletip-footer.d.ts +1 -1
- package/dist/toggletip/toggletip-footer2.js +2 -2
- package/dist/toggletip/toggletip-header.d.ts +1 -1
- package/dist/toggletip/toggletip-header2.js +2 -2
- package/dist/toggletip/toggletip.d.ts +1 -1
- package/dist/toggletip/toggletip.examples.js.map +1 -1
- package/dist/toggletip/toggletip2.js +2 -2
- package/dist/toolbar/toolbar.d.ts +1 -1
- package/dist/toolbar/toolbar2.js +2 -2
- package/dist/tooltip/tooltip.d.ts +1 -1
- package/dist/tooltip/tooltip2.js +2 -2
- package/dist/tree/tree-node.d.ts +1 -1
- package/dist/tree/tree-node2.js +2 -2
- package/dist/tree/tree.d.ts +1 -1
- package/dist/tree/tree2.js +2 -2
- package/dist/week/week.d.ts +1 -1
- package/dist/week/week2.js +2 -2
- package/package.json +15 -15
package/dist/bundles/index.d.ts
CHANGED
|
@@ -398,8 +398,6 @@ export declare const ICON_IMPORTS: {
|
|
|
398
398
|
"zoom-out": IconSVG;
|
|
399
399
|
};
|
|
400
400
|
export type IconName = keyof typeof ICON_IMPORTS;
|
|
401
|
-
/** @deprecated */
|
|
402
|
-
export type IconNames = IconName;
|
|
403
401
|
export declare const ICON_NAMES: IconName[];
|
|
404
402
|
/**
|
|
405
403
|
* @element nve-icon
|
|
@@ -541,10 +539,6 @@ export type PopoverPosition = "center" | "top" | "bottom" | "left" | "right";
|
|
|
541
539
|
* - `winloss` - Renders outcomes as binary or ternary bars to highlight wins, losses, and optional ties.
|
|
542
540
|
*/
|
|
543
541
|
export type SparklineMark = "line" | "area" | "gradient" | "column" | "winloss";
|
|
544
|
-
/** @deprecated Determines the flat container element interaction. */
|
|
545
|
-
export type FlatInteraction = "flat" | "flat-emphasize" | `${"flat"}-${Interaction}`;
|
|
546
|
-
/** @deprecated Determines if an element renders with an inverse contrast. */
|
|
547
|
-
export type Inverse = "inverse";
|
|
548
542
|
/** 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.
|
|
549
543
|
* - `emphasis` Shows the interaction targets emphasis or highlighting primary actions.
|
|
550
544
|
* - `destructive` Shows the interaction targets destructive actions such as deleting or removing.
|
|
@@ -565,6 +559,10 @@ export interface KeynavListConfig {
|
|
|
565
559
|
loop?: boolean;
|
|
566
560
|
dir?: string | null;
|
|
567
561
|
}
|
|
562
|
+
export interface StateScrollConfig {
|
|
563
|
+
target?: HTMLElement;
|
|
564
|
+
scrollOffset?: number;
|
|
565
|
+
}
|
|
568
566
|
export interface NativePopover extends ReactiveElement {
|
|
569
567
|
anchor?: HTMLElement | string;
|
|
570
568
|
closeTimeout?: number;
|
|
@@ -879,11 +877,6 @@ export interface ButtonFormControlMixinInstance {
|
|
|
879
877
|
* @reflect
|
|
880
878
|
*/
|
|
881
879
|
readOnly: boolean;
|
|
882
|
-
/**
|
|
883
|
-
* Use `readOnly`. The `readonly` attribute remains supported.
|
|
884
|
-
* @deprecated Use `readOnly`. The `readonly` attribute remains supported.
|
|
885
|
-
*/
|
|
886
|
-
readonly: boolean;
|
|
887
880
|
/**
|
|
888
881
|
* Like input form, sets a button to submit a form outside its parent form.
|
|
889
882
|
* Returns a reference to the form element if available.
|
|
@@ -975,83 +968,635 @@ export interface ButtonFormControlMixinInstance {
|
|
|
975
968
|
interestForElement: HTMLElement | null;
|
|
976
969
|
_internals: ElementInternals;
|
|
977
970
|
}
|
|
978
|
-
export interface ButtonFormControlHost {
|
|
979
|
-
connectedCallback?(): void;
|
|
980
|
-
disconnectedCallback?(): void;
|
|
981
|
-
attributeChangedCallback?(name: string, oldValue: string | null, newValue: string | null): void;
|
|
982
|
-
requestUpdate?(name?: string, oldValue?: unknown): void;
|
|
983
|
-
updateComplete?: Promise<unknown>;
|
|
971
|
+
export interface ButtonFormControlHost {
|
|
972
|
+
connectedCallback?(): void;
|
|
973
|
+
disconnectedCallback?(): void;
|
|
974
|
+
attributeChangedCallback?(name: string, oldValue: string | null, newValue: string | null): void;
|
|
975
|
+
requestUpdate?(name?: string, oldValue?: unknown): void;
|
|
976
|
+
updateComplete?: Promise<unknown>;
|
|
977
|
+
}
|
|
978
|
+
type Constructor$1 = (new (...args: any[]) => HTMLElement & ButtonFormControlHost) & {
|
|
979
|
+
observedAttributes?: string[];
|
|
980
|
+
};
|
|
981
|
+
export type ButtonFormControlConstructor<TBase extends Constructor$1> = new (...args: ConstructorParameters<TBase>) => InstanceType<TBase> & ButtonFormControlMixinInstance;
|
|
982
|
+
export type ButtonFormControlMixinReturn<TBase extends Constructor$1> = ButtonFormControlConstructor<TBase> & {
|
|
983
|
+
formAssociated: boolean;
|
|
984
|
+
observedAttributes: string[];
|
|
985
|
+
} & Omit<TBase, "prototype">;
|
|
986
|
+
declare const Button_base: ButtonFormControlMixinReturn<typeof LitElement>;
|
|
987
|
+
/**
|
|
988
|
+
* @element nve-button
|
|
989
|
+
* @description A button is a widget that enables users to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
|
|
990
|
+
* @since 0.1.3
|
|
991
|
+
* @entrypoint \@nvidia-elements/core/button
|
|
992
|
+
* @slot - slot for button text content or icon, icon placement depends on whether `icon` appears before or after text content.
|
|
993
|
+
* @cssprop --background
|
|
994
|
+
* @cssprop --color
|
|
995
|
+
* @cssprop --padding
|
|
996
|
+
* @cssprop --border
|
|
997
|
+
* @cssprop --border-radius
|
|
998
|
+
* @cssprop --font-weight
|
|
999
|
+
* @cssprop --font-size
|
|
1000
|
+
* @cssprop --text-decoration
|
|
1001
|
+
* @cssprop --text-align
|
|
1002
|
+
* @cssprop --cursor
|
|
1003
|
+
* @cssprop --gap
|
|
1004
|
+
* @cssprop --height
|
|
1005
|
+
* @cssprop --text-transform
|
|
1006
|
+
* @cssprop --line-height
|
|
1007
|
+
* @cssprop --width
|
|
1008
|
+
* @cssprop --min-width
|
|
1009
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
1010
|
+
*/
|
|
1011
|
+
export declare class Button extends Button_base {
|
|
1012
|
+
static styles: CSSResult[];
|
|
1013
|
+
static readonly metadata: {
|
|
1014
|
+
tag: string;
|
|
1015
|
+
version: string;
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text.
|
|
1019
|
+
*/
|
|
1020
|
+
container?: "flat" | "inline";
|
|
1021
|
+
/**
|
|
1022
|
+
* Determines size of the button.
|
|
1023
|
+
*/
|
|
1024
|
+
size?: Size;
|
|
1025
|
+
/**
|
|
1026
|
+
* The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.
|
|
1027
|
+
*/
|
|
1028
|
+
interaction: Interaction;
|
|
1029
|
+
render(): TemplateResult<1>;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* @element nve-icon-button
|
|
1033
|
+
* @description An icon button is a button that displays only an icon without a visual label.
|
|
1034
|
+
* @since 0.2.1
|
|
1035
|
+
* @entrypoint \@nvidia-elements/core/icon-button
|
|
1036
|
+
* @slot - default slot for custom icons
|
|
1037
|
+
* @cssprop --border-radius
|
|
1038
|
+
* @cssprop --padding
|
|
1039
|
+
* @cssprop --line-height
|
|
1040
|
+
* @cssprop --gap
|
|
1041
|
+
* @cssprop --height
|
|
1042
|
+
* @cssprop --width
|
|
1043
|
+
* @cssprop --font-size
|
|
1044
|
+
* @cssprop --color
|
|
1045
|
+
* @cssprop --background
|
|
1046
|
+
* @csspart icon - The icon element
|
|
1047
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
1048
|
+
*/
|
|
1049
|
+
export declare class IconButton extends Button {
|
|
1050
|
+
/**
|
|
1051
|
+
* Sets the icon name, which determines which icon to display.
|
|
1052
|
+
*/
|
|
1053
|
+
iconName: IconName;
|
|
1054
|
+
/**
|
|
1055
|
+
* Sets the direction of the icon.
|
|
1056
|
+
* Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions)
|
|
1057
|
+
*/
|
|
1058
|
+
direction: "up" | "down" | "left" | "right";
|
|
1059
|
+
/**
|
|
1060
|
+
* Sets size of the icon button.
|
|
1061
|
+
*/
|
|
1062
|
+
size?: Size;
|
|
1063
|
+
static styles: CSSResult[];
|
|
1064
|
+
static readonly metadata: {
|
|
1065
|
+
tag: string;
|
|
1066
|
+
version: string;
|
|
1067
|
+
};
|
|
1068
|
+
static elementDefinitions: {
|
|
1069
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
1070
|
+
};
|
|
1071
|
+
render(): TemplateResult<1>;
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* @element nve-accordion-header
|
|
1075
|
+
* @description Provides the clickable heading region of an accordion that toggles the visibility of associated content.
|
|
1076
|
+
* @since 0.12.0
|
|
1077
|
+
* @entrypoint \@nvidia-elements/core/accordion
|
|
1078
|
+
* @slot - default content slot
|
|
1079
|
+
* @slot prefix - slot for prefix content
|
|
1080
|
+
* @slot suffix - slot for suffix content
|
|
1081
|
+
* @cssprop --cursor
|
|
1082
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
1083
|
+
*/
|
|
1084
|
+
export declare class AccordionHeader extends LitElement {
|
|
1085
|
+
static styles: CSSResult[];
|
|
1086
|
+
static readonly metadata: {
|
|
1087
|
+
tag: string;
|
|
1088
|
+
version: string;
|
|
1089
|
+
};
|
|
1090
|
+
/** @private */
|
|
1091
|
+
_internals: ElementInternals;
|
|
1092
|
+
render(): TemplateResult<1>;
|
|
1093
|
+
slot: string;
|
|
1094
|
+
connectedCallback(): void;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* @element nve-accordion-content
|
|
1098
|
+
* @description Contains the collapsible body content that reveals or hides when the parent accordion expands or collapses.
|
|
1099
|
+
* @since 0.12.0
|
|
1100
|
+
* @entrypoint \@nvidia-elements/core/accordion
|
|
1101
|
+
* @slot - This is a default/unnamed slot for accordion content
|
|
1102
|
+
* @cssprop --padding
|
|
1103
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
1104
|
+
*/
|
|
1105
|
+
export declare class AccordionContent extends LitElement {
|
|
1106
|
+
static styles: CSSResult[];
|
|
1107
|
+
static readonly metadata: {
|
|
1108
|
+
tag: string;
|
|
1109
|
+
version: string;
|
|
1110
|
+
};
|
|
1111
|
+
render(): TemplateResult<1>;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* @element nve-accordion
|
|
1115
|
+
* @description An accordion is a vertical stack of interactive headings used to toggle the display of further information.
|
|
1116
|
+
* @since 0.12.0
|
|
1117
|
+
* @entrypoint \@nvidia-elements/core/accordion
|
|
1118
|
+
* @command --open - use to open the accordion
|
|
1119
|
+
* @command --close - use to close the accordion
|
|
1120
|
+
* @command --toggle - use to toggle the accordion
|
|
1121
|
+
* @slot - This is a default/unnamed slot for accordion content
|
|
1122
|
+
* @slot icon-button - icon elements to display for expand/collapse
|
|
1123
|
+
* @slot header - header element (Use `accordion-header` or custom content)
|
|
1124
|
+
* @slot content - content element (Use `accordion-content` or custom content)
|
|
1125
|
+
* @cssprop --background
|
|
1126
|
+
* @cssprop --color
|
|
1127
|
+
* @cssprop --border-radius
|
|
1128
|
+
* @cssprop --header-padding
|
|
1129
|
+
* @cssprop --cursor
|
|
1130
|
+
* @cssprop --transition
|
|
1131
|
+
* @csspart icon-button - The toggle icon button element
|
|
1132
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
1133
|
+
*/
|
|
1134
|
+
export declare class Accordion extends LitElement implements ContainerElement {
|
|
1135
|
+
#private;
|
|
1136
|
+
static styles: CSSResult[];
|
|
1137
|
+
static readonly metadata: {
|
|
1138
|
+
tag: string;
|
|
1139
|
+
version: string;
|
|
1140
|
+
children: string[];
|
|
1141
|
+
};
|
|
1142
|
+
static elementDefinitions: {
|
|
1143
|
+
[IconButton.metadata.tag]: typeof IconButton;
|
|
1144
|
+
};
|
|
1145
|
+
/** @private */
|
|
1146
|
+
_internals: ElementInternals;
|
|
1147
|
+
/**
|
|
1148
|
+
* Enables updating internal string values for internationalization.
|
|
1149
|
+
*/
|
|
1150
|
+
i18n: Partial<I18nStrings & {
|
|
1151
|
+
__set: boolean;
|
|
1152
|
+
}>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Determines the container styles of component. Flat suits nesting accordions within other containers. Inset suits more complex accordions where content needs distinct separation.
|
|
1155
|
+
*/
|
|
1156
|
+
container?: Extract<Container, "flat" | "inset">;
|
|
1157
|
+
/**
|
|
1158
|
+
* Determines whether the accordion expands to display its contents.
|
|
1159
|
+
*/
|
|
1160
|
+
expanded: boolean;
|
|
1161
|
+
/**
|
|
1162
|
+
* Determines whether the accordion is expandable
|
|
1163
|
+
*/
|
|
1164
|
+
disabled: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless)
|
|
1167
|
+
*/
|
|
1168
|
+
behaviorExpand: boolean;
|
|
1169
|
+
render(): TemplateResult<1>;
|
|
1170
|
+
connectedCallback(): void;
|
|
1171
|
+
firstUpdated(props: PropertyValues<this>): Promise<void>;
|
|
1172
|
+
}
|
|
1173
|
+
/**
|
|
1174
|
+
* @element nve-accordion-group
|
|
1175
|
+
* @description Organizes many accordions into a cohesive group, enabling coordinated expand/collapse behavior such as single-item expansion.
|
|
1176
|
+
* @since 0.12.0
|
|
1177
|
+
* @entrypoint \@nvidia-elements/core/accordion
|
|
1178
|
+
* @cssprop --padding
|
|
1179
|
+
* @slot - This is a default slot for accordions within the group
|
|
1180
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
1181
|
+
*/
|
|
1182
|
+
export declare class AccordionGroup extends LitElement {
|
|
1183
|
+
#private;
|
|
1184
|
+
_internals: ElementInternals;
|
|
1185
|
+
static styles: CSSResult[];
|
|
1186
|
+
/**
|
|
1187
|
+
* Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless)
|
|
1188
|
+
*/
|
|
1189
|
+
behaviorExpand: boolean;
|
|
1190
|
+
/**
|
|
1191
|
+
* Determines whether the accordion should opt-in to stateful expansion of a single accordion at a time
|
|
1192
|
+
*/
|
|
1193
|
+
behaviorExpandSingle: boolean;
|
|
1194
|
+
/** flat (Borderless, container-less accordions), full (default), or inset (Rounded corner, contained accordion) */
|
|
1195
|
+
container?: Extract<Container, "flat" | "inset">;
|
|
1196
|
+
static readonly metadata: {
|
|
1197
|
+
tag: string;
|
|
1198
|
+
version: string;
|
|
1199
|
+
children: string[];
|
|
1200
|
+
};
|
|
1201
|
+
private accordions;
|
|
1202
|
+
render(): TemplateResult<1>;
|
|
1203
|
+
connectedCallback(): void;
|
|
1204
|
+
disconnectedCallback(): void;
|
|
1205
|
+
updated(props: PropertyValues<this>): void;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* @element nve-alert
|
|
1209
|
+
* @description Alert is an element that displays a brief, important message in a way that attracts the user's attention without interrupting the user's task.
|
|
1210
|
+
* @since 0.3.0
|
|
1211
|
+
* @entrypoint \@nvidia-elements/core/alert
|
|
1212
|
+
* @event close - Dispatched when the alert closes within an alert group.
|
|
1213
|
+
* @command --close - Use to set the alert closed/hidden state.
|
|
1214
|
+
* @slot icon - Icon slot renders on the left side of the alert. Icons typically represent the alert's status.
|
|
1215
|
+
* @slot prefix - Prefix slot renders between the icon and the content. Prefixes typically represent the alert's status.
|
|
1216
|
+
* @slot actions - Actions render on the right side of the alert. Actions are typically buttons, but can also be links. Use actions for steps the user can take to resolve the alert.
|
|
1217
|
+
* @slot content - Content for large overflow text.
|
|
1218
|
+
* @slot - Default content placed inside of the alert.
|
|
1219
|
+
* @cssprop --gap
|
|
1220
|
+
* @cssprop --font-size
|
|
1221
|
+
* @cssprop --color
|
|
1222
|
+
* @cssprop --icon-color
|
|
1223
|
+
* @cssprop --icon-size
|
|
1224
|
+
* @cssprop --font-weight
|
|
1225
|
+
* @cssprop --justify-content
|
|
1226
|
+
* @cssprop --align-items
|
|
1227
|
+
* @cssprop --min-height
|
|
1228
|
+
* @cssprop --text-transform
|
|
1229
|
+
* @cssprop --height
|
|
1230
|
+
* @cssprop --width
|
|
1231
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1232
|
+
*/
|
|
1233
|
+
export declare class Alert extends LitElement {
|
|
1234
|
+
#private;
|
|
1235
|
+
static styles: CSSResult[];
|
|
1236
|
+
static readonly metadata: {
|
|
1237
|
+
tag: string;
|
|
1238
|
+
version: string;
|
|
1239
|
+
};
|
|
1240
|
+
static elementDefinitions: {
|
|
1241
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
1242
|
+
[IconButton.metadata.tag]: typeof IconButton;
|
|
1243
|
+
};
|
|
1244
|
+
/** Defines visual treatment to represent a ongoing task or support status. */
|
|
1245
|
+
status?: SupportStatus | TaskStatus | "muted";
|
|
1246
|
+
/** When used in an `alert-group` the `closable` property enables dismissing alerts within the same group. */
|
|
1247
|
+
closable: boolean;
|
|
1248
|
+
/** Enables updating internal string values for internationalization. */
|
|
1249
|
+
i18n: Partial<I18nStrings & {
|
|
1250
|
+
__set: boolean;
|
|
1251
|
+
}>;
|
|
1252
|
+
private prefixItems;
|
|
1253
|
+
private actionItems;
|
|
1254
|
+
/** @private */
|
|
1255
|
+
_internals: ElementInternals;
|
|
1256
|
+
render(): TemplateResult<1>;
|
|
1257
|
+
connectedCallback(): void;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* @element nve-alert-group
|
|
1261
|
+
* @description An alert group is an element that displays a group of related and important messages in a way that attracts the user's attention without interrupting the user's task.
|
|
1262
|
+
* @since 0.3.0
|
|
1263
|
+
* @entrypoint \@nvidia-elements/core/alert
|
|
1264
|
+
* @cssprop --gap
|
|
1265
|
+
* @cssprop --font-size
|
|
1266
|
+
* @cssprop --padding
|
|
1267
|
+
* @cssprop --border
|
|
1268
|
+
* @cssprop --border-radius
|
|
1269
|
+
* @cssprop --color
|
|
1270
|
+
* @cssprop --background
|
|
1271
|
+
* @slot - default slot for nve-alert
|
|
1272
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1273
|
+
*/
|
|
1274
|
+
export declare class AlertGroup extends LitElement {
|
|
1275
|
+
#private;
|
|
1276
|
+
static styles: CSSResult[];
|
|
1277
|
+
static readonly metadata: {
|
|
1278
|
+
tag: string;
|
|
1279
|
+
version: string;
|
|
1280
|
+
children: string[];
|
|
1281
|
+
};
|
|
1282
|
+
/** Defines visual treatment to represent a ongoing task or support status. */
|
|
1283
|
+
status?: SupportStatus;
|
|
1284
|
+
/** Determines the visual prominence or weight, emphasis applies banner style alerts */
|
|
1285
|
+
prominence?: Extract<Prominence, "emphasis">;
|
|
1286
|
+
/** Allows colors not defined by semantic status definitions for non-status instances, such as callouts for tutorials or tips on a documentation site. */
|
|
1287
|
+
color: Color;
|
|
1288
|
+
/** Determines the container bounds of the element */
|
|
1289
|
+
container?: Extract<Container, "full">;
|
|
1290
|
+
/** @private */
|
|
1291
|
+
_internals: ElementInternals;
|
|
1292
|
+
private alerts;
|
|
1293
|
+
render(): TemplateResult<1>;
|
|
1294
|
+
connectedCallback(): void;
|
|
1295
|
+
updated(props: PropertyValues<this>): void;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* @element nve-avatar
|
|
1299
|
+
* @description Avatar represents a user/bot within a UI. Typically with text or image content.
|
|
1300
|
+
* @since 1.20.0
|
|
1301
|
+
* @entrypoint \@nvidia-elements/core/avatar
|
|
1302
|
+
* @slot - default slot for content
|
|
1303
|
+
* @cssprop --background
|
|
1304
|
+
* @cssprop --color
|
|
1305
|
+
* @cssprop --border-radius
|
|
1306
|
+
* @cssprop --height
|
|
1307
|
+
* @cssprop --width
|
|
1308
|
+
* @cssprop --font-size
|
|
1309
|
+
* @cssprop --font-weight
|
|
1310
|
+
* @cssprop --border
|
|
1311
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1312
|
+
*
|
|
1313
|
+
*/
|
|
1314
|
+
export declare class Avatar extends LitElement {
|
|
1315
|
+
static styles: CSSResult[];
|
|
1316
|
+
static readonly metadata: {
|
|
1317
|
+
tag: string;
|
|
1318
|
+
version: string;
|
|
1319
|
+
};
|
|
1320
|
+
/** Sets size of the avatar component. Update size through the `width + height` css props as an alternative. */
|
|
1321
|
+
size?: Size | "xs";
|
|
1322
|
+
/** Sets the color of the avatar component. */
|
|
1323
|
+
color: Color;
|
|
1324
|
+
render(): TemplateResult<1>;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* @element nve-avatar-group
|
|
1328
|
+
* @description 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.
|
|
1329
|
+
* @since 1.20.0
|
|
1330
|
+
* @entrypoint \@nvidia-elements/core/avatar
|
|
1331
|
+
* @slot - default slot for content
|
|
1332
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1333
|
+
*
|
|
1334
|
+
*/
|
|
1335
|
+
export declare class AvatarGroup extends LitElement {
|
|
1336
|
+
static styles: CSSResult[];
|
|
1337
|
+
static readonly metadata: {
|
|
1338
|
+
tag: string;
|
|
1339
|
+
version: string;
|
|
1340
|
+
};
|
|
1341
|
+
/** @private */
|
|
1342
|
+
_internals: ElementInternals;
|
|
1343
|
+
render(): TemplateResult<1>;
|
|
1344
|
+
connectedCallback(): void;
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* @element nve-badge
|
|
1348
|
+
* @description A visual indicator that communicates a status description of an associated component. Status badges use short text, color, built in icons for quick recognition and render near the relevant content.
|
|
1349
|
+
* @since 0.11.0
|
|
1350
|
+
* @entrypoint \@nvidia-elements/core/badge
|
|
1351
|
+
* @slot - default slot for content
|
|
1352
|
+
* @slot prefix-icon - slot for prefix icon
|
|
1353
|
+
* @slot suffix-icon - slot for suffix icon
|
|
1354
|
+
* @cssprop --background
|
|
1355
|
+
* @cssprop --color
|
|
1356
|
+
* @cssprop --gap
|
|
1357
|
+
* @cssprop --font-size
|
|
1358
|
+
* @cssprop --icon-color
|
|
1359
|
+
* @cssprop --padding
|
|
1360
|
+
* @cssprop --border
|
|
1361
|
+
* @cssprop --border-radius
|
|
1362
|
+
* @cssprop --font-weight
|
|
1363
|
+
* @cssprop --text-transform
|
|
1364
|
+
* @cssprop --width
|
|
1365
|
+
* @cssprop --height
|
|
1366
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
|
|
1367
|
+
*/
|
|
1368
|
+
export declare class Badge extends LitElement {
|
|
1369
|
+
#private;
|
|
1370
|
+
/**
|
|
1371
|
+
* Visual treatment to represent a ongoing task, support status.
|
|
1372
|
+
*/
|
|
1373
|
+
status: TaskStatus | SupportStatus;
|
|
1374
|
+
/**
|
|
1375
|
+
* Highlights content to draw attention and convey simple messages.
|
|
1376
|
+
*/
|
|
1377
|
+
color: Color;
|
|
1378
|
+
/**
|
|
1379
|
+
* Determines the container styles of component. Flat suits nesting within other containers.
|
|
1380
|
+
*/
|
|
1381
|
+
container?: "flat";
|
|
1382
|
+
/** Determines the visual prominence or weight */
|
|
1383
|
+
prominence?: Extract<Prominence, "emphasis">;
|
|
1384
|
+
static styles: CSSResult[];
|
|
1385
|
+
static readonly metadata: {
|
|
1386
|
+
tag: string;
|
|
1387
|
+
version: string;
|
|
1388
|
+
};
|
|
1389
|
+
static elementDefinitions: {
|
|
1390
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
1391
|
+
};
|
|
1392
|
+
/** @private */
|
|
1393
|
+
_internals: ElementInternals;
|
|
1394
|
+
/**
|
|
1395
|
+
* Enables updating internal string values for internationalization.
|
|
1396
|
+
*/
|
|
1397
|
+
i18n: Partial<I18nStrings & {
|
|
1398
|
+
__set: boolean;
|
|
1399
|
+
}>;
|
|
1400
|
+
render(): TemplateResult<1>;
|
|
1401
|
+
connectedCallback(): void;
|
|
1402
|
+
updated(props: PropertyValues<this>): void;
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* @element nve-breadcrumb
|
|
1406
|
+
* @description Breadcrumb is a component that can help users establish their location while navigating a website with complex URLs and navigation paths.
|
|
1407
|
+
* @since 0.11.0
|
|
1408
|
+
* @entrypoint \@nvidia-elements/core/breadcrumb
|
|
1409
|
+
* @cssprop --gap
|
|
1410
|
+
* @cssprop --height
|
|
1411
|
+
* @cssprop --font-size
|
|
1412
|
+
* @cssprop --font-weight
|
|
1413
|
+
* @cssprop --color
|
|
1414
|
+
* @cssprop --border-radius
|
|
1415
|
+
* @cssprop --padding
|
|
1416
|
+
* @cssprop --width
|
|
1417
|
+
* @cssprop --icon-width
|
|
1418
|
+
* @cssprop --icon-height
|
|
1419
|
+
* @cssprop --text-decoration
|
|
1420
|
+
* @slot - default slot for `nve-button` and anchor elements
|
|
1421
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/navigation_role
|
|
1422
|
+
*/
|
|
1423
|
+
export declare class Breadcrumb extends LitElement {
|
|
1424
|
+
#private;
|
|
1425
|
+
get keynavListConfig(): KeynavListConfig;
|
|
1426
|
+
/** @private */
|
|
1427
|
+
_internals: ElementInternals;
|
|
1428
|
+
static styles: CSSResult[];
|
|
1429
|
+
static readonly metadata: {
|
|
1430
|
+
tag: string;
|
|
1431
|
+
version: string;
|
|
1432
|
+
};
|
|
1433
|
+
static elementDefinitions: {
|
|
1434
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
1435
|
+
};
|
|
1436
|
+
private breadcrumbItems;
|
|
1437
|
+
render(): TemplateResult<1>;
|
|
1438
|
+
connectedCallback(): void;
|
|
1439
|
+
}
|
|
1440
|
+
/**
|
|
1441
|
+
* @element nve-button-group
|
|
1442
|
+
* @description A button group organizes related buttons and can support either mutually exclusive single or multi selection. Prefer usage within toolbars.
|
|
1443
|
+
* @since 0.16.0
|
|
1444
|
+
* @entrypoint \@nvidia-elements/core/button-group
|
|
1445
|
+
* @slot - default slot for `nve-button` or `nve-icon-button`
|
|
1446
|
+
* @cssprop --background
|
|
1447
|
+
* @cssprop --border-radius
|
|
1448
|
+
* @cssprop --padding
|
|
1449
|
+
* @cssprop --gap
|
|
1450
|
+
* @cssprop --width
|
|
1451
|
+
* @cssprop --height
|
|
1452
|
+
* @cssprop --color
|
|
1453
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/group_role
|
|
1454
|
+
*/
|
|
1455
|
+
export declare class ButtonGroup extends LitElement {
|
|
1456
|
+
#private;
|
|
1457
|
+
/** @private */
|
|
1458
|
+
get keynavListConfig(): KeynavListConfig;
|
|
1459
|
+
/** By default the button group is stateless. Add the `behavior-select` attribute and set to `single` or `multi` to enable stateful selction handling. */
|
|
1460
|
+
behaviorSelect: "single" | "multi";
|
|
1461
|
+
/** Set the style of the button group using the `container` property. Options are the default display when omitting the attribute, `flat` or `rounded`. */
|
|
1462
|
+
container?: "flat" | "rounded";
|
|
1463
|
+
/** Determines the orientation direction of the group. Vertical groups support icon buttons only. */
|
|
1464
|
+
orientation?: "horizontal" | "vertical";
|
|
1465
|
+
/** Use the `interaction` property on `button-group` in combination with `divider` for color-coded split buttons */
|
|
1466
|
+
interaction: Interaction;
|
|
1467
|
+
/** Determines size of button */
|
|
1468
|
+
size?: Size;
|
|
1469
|
+
static styles: CSSResult[];
|
|
1470
|
+
static readonly metadata: {
|
|
1471
|
+
tag: string;
|
|
1472
|
+
version: string;
|
|
1473
|
+
children: string[];
|
|
1474
|
+
};
|
|
1475
|
+
/** @private */
|
|
1476
|
+
_internals: ElementInternals;
|
|
1477
|
+
private dividers;
|
|
1478
|
+
private iconButtons;
|
|
1479
|
+
private buttons;
|
|
1480
|
+
render(): TemplateResult<1>;
|
|
1481
|
+
connectedCallback(): void;
|
|
1482
|
+
disconnectedCallback(): void;
|
|
1483
|
+
updated(props: PropertyValues<this>): void;
|
|
1484
|
+
}
|
|
1485
|
+
/**
|
|
1486
|
+
* @element nve-card
|
|
1487
|
+
* @description A container for content representing a single entity.
|
|
1488
|
+
* @since 0.1.3
|
|
1489
|
+
* @entrypoint \@nvidia-elements/core/card
|
|
1490
|
+
* @slot - use `<nve-card-header>`,`<nve-card-content>`,`<nve-card-footer>` for card content layout
|
|
1491
|
+
* @cssprop --background
|
|
1492
|
+
* @cssprop --color
|
|
1493
|
+
* @cssprop --border-radius
|
|
1494
|
+
* @cssprop --box-shadow
|
|
1495
|
+
* @cssprop --border
|
|
1496
|
+
* @aria https://github.com/w3c/aria-practices/issues
|
|
1497
|
+
*/
|
|
1498
|
+
export declare class Card extends LitElement implements ContainerElement {
|
|
1499
|
+
/** flat (embed into parent container) or full (width of viewport) */
|
|
1500
|
+
container?: "flat" | "full";
|
|
1501
|
+
static styles: CSSResult[];
|
|
1502
|
+
static readonly metadata: {
|
|
1503
|
+
tag: string;
|
|
1504
|
+
version: string;
|
|
1505
|
+
};
|
|
1506
|
+
render(): TemplateResult<1>;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* @element nve-card-header
|
|
1510
|
+
* @description Displays the title and optional actions at the top of a card, establishing the card's identity and purpose.
|
|
1511
|
+
* @since 0.1.3
|
|
1512
|
+
* @entrypoint \@nvidia-elements/core/card
|
|
1513
|
+
* @slot - default slot
|
|
1514
|
+
* @cssprop --padding
|
|
1515
|
+
* @cssprop --border-bottom
|
|
1516
|
+
* @cssprop --line-height
|
|
1517
|
+
* @cssprop --gap
|
|
1518
|
+
* @aria https://github.com/w3c/aria-practices/issues
|
|
1519
|
+
*/
|
|
1520
|
+
export declare class CardHeader extends LitElement {
|
|
1521
|
+
static styles: CSSResult[];
|
|
1522
|
+
static readonly metadata: {
|
|
1523
|
+
tag: string;
|
|
1524
|
+
version: string;
|
|
1525
|
+
parents: string[];
|
|
1526
|
+
};
|
|
1527
|
+
slot: string;
|
|
1528
|
+
render(): TemplateResult<1>;
|
|
1529
|
+
}
|
|
1530
|
+
/**
|
|
1531
|
+
* @element nve-card-content
|
|
1532
|
+
* @description Contains the primary body content of a card, providing a structured region for the main information or media.
|
|
1533
|
+
* @since 0.1.3
|
|
1534
|
+
* @entrypoint \@nvidia-elements/core/card
|
|
1535
|
+
* @slot - This is a default/unnamed slot for card content
|
|
1536
|
+
* @cssprop --padding
|
|
1537
|
+
* @aria https://github.com/w3c/aria-practices/issues
|
|
1538
|
+
*/
|
|
1539
|
+
export declare class CardContent extends LitElement {
|
|
1540
|
+
static styles: CSSResult[];
|
|
1541
|
+
static readonly metadata: {
|
|
1542
|
+
tag: string;
|
|
1543
|
+
version: string;
|
|
1544
|
+
parents: string[];
|
|
1545
|
+
};
|
|
1546
|
+
render(): TemplateResult<1>;
|
|
984
1547
|
}
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1548
|
+
/**
|
|
1549
|
+
* @element nve-card-footer
|
|
1550
|
+
* @description Provides a designated area at the bottom of a card for actions, metadata, or supplementary information.
|
|
1551
|
+
* @since 0.1.3
|
|
1552
|
+
* @entrypoint \@nvidia-elements/core/card
|
|
1553
|
+
* @slot - This is a default/unnamed slot for card footer content
|
|
1554
|
+
* @cssprop --padding
|
|
1555
|
+
* @cssprop --border-top
|
|
1556
|
+
* @aria https://github.com/w3c/aria-practices/issues
|
|
1557
|
+
*/
|
|
1558
|
+
export declare class CardFooter extends LitElement {
|
|
995
1559
|
static styles: CSSResult[];
|
|
996
1560
|
static readonly metadata: {
|
|
997
1561
|
tag: string;
|
|
998
1562
|
version: string;
|
|
1563
|
+
parents: string[];
|
|
999
1564
|
};
|
|
1000
|
-
|
|
1001
|
-
* Determines the container of the button. Flat suits nesting within other containers or more muted style. Inline suits inline content such as text.
|
|
1002
|
-
*/
|
|
1003
|
-
container?: "flat" | "inline";
|
|
1004
|
-
/**
|
|
1005
|
-
* Determines size of the button.
|
|
1006
|
-
*/
|
|
1007
|
-
size?: Size;
|
|
1008
|
-
/**
|
|
1009
|
-
* The Interaction type provides a way to show the intended use case for a button or other interactive element. This can help users quickly understand what each interaction will do and reduce the potential for confusion or errors.
|
|
1010
|
-
*/
|
|
1011
|
-
interaction: Interaction | FlatInteraction | Inverse;
|
|
1565
|
+
slot: string;
|
|
1012
1566
|
render(): TemplateResult<1>;
|
|
1013
1567
|
}
|
|
1014
1568
|
/**
|
|
1015
|
-
* @element nve-
|
|
1016
|
-
* @description
|
|
1017
|
-
* @since
|
|
1018
|
-
* @entrypoint \@nvidia-elements/core/
|
|
1019
|
-
* @slot - default slot for
|
|
1020
|
-
* @
|
|
1569
|
+
* @element nve-chat-message
|
|
1570
|
+
* @description A chat message component displays a text message within a conversation, sent between users or bots
|
|
1571
|
+
* @since 1.25.0
|
|
1572
|
+
* @entrypoint \@nvidia-elements/core/chat-message
|
|
1573
|
+
* @slot - default slot for content
|
|
1574
|
+
* @slot prefix - for avatar/img content
|
|
1575
|
+
* @slot suffix - for avatar/img content
|
|
1576
|
+
* @cssprop --background
|
|
1577
|
+
* @cssprop --color
|
|
1021
1578
|
* @cssprop --padding
|
|
1022
|
-
* @cssprop --line-height
|
|
1023
1579
|
* @cssprop --gap
|
|
1024
|
-
* @cssprop --
|
|
1025
|
-
* @cssprop --width
|
|
1580
|
+
* @cssprop --border-radius
|
|
1026
1581
|
* @cssprop --font-size
|
|
1027
|
-
* @cssprop --
|
|
1028
|
-
* @cssprop --
|
|
1029
|
-
* @
|
|
1030
|
-
|
|
1582
|
+
* @cssprop --line-height
|
|
1583
|
+
* @cssprop --overflow
|
|
1584
|
+
* @cssprop --top-offset - Vertical offset for aligning message with avatar
|
|
1585
|
+
|
|
1586
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/alert/
|
|
1587
|
+
* @stable false
|
|
1031
1588
|
*/
|
|
1032
|
-
export declare class
|
|
1033
|
-
/**
|
|
1034
|
-
* Sets the icon name, which determines which icon to display.
|
|
1035
|
-
*/
|
|
1036
|
-
iconName: IconName;
|
|
1037
|
-
/**
|
|
1038
|
-
* Sets the direction of the icon.
|
|
1039
|
-
* Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions)
|
|
1040
|
-
*/
|
|
1041
|
-
direction: "up" | "down" | "left" | "right";
|
|
1042
|
-
/**
|
|
1043
|
-
* Sets size of the icon button.
|
|
1044
|
-
*/
|
|
1045
|
-
size?: Size;
|
|
1589
|
+
export declare class ChatMessage extends LitElement {
|
|
1046
1590
|
static styles: CSSResult[];
|
|
1047
1591
|
static readonly metadata: {
|
|
1048
1592
|
tag: string;
|
|
1049
1593
|
version: string;
|
|
1050
1594
|
};
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1595
|
+
container: "flat";
|
|
1596
|
+
color: Color;
|
|
1597
|
+
arrowPosition: "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
1054
1598
|
render(): TemplateResult<1>;
|
|
1599
|
+
connectedCallback(): void;
|
|
1055
1600
|
}
|
|
1056
1601
|
/**
|
|
1057
1602
|
* @element nve-control
|
|
@@ -1180,7 +1725,22 @@ export declare class ControlMessage extends LitElement {
|
|
|
1180
1725
|
slot: string;
|
|
1181
1726
|
render(): TemplateResult<1>;
|
|
1182
1727
|
}
|
|
1183
|
-
|
|
1728
|
+
/**
|
|
1729
|
+
* @element nve-checkbox
|
|
1730
|
+
* @description A checkbox is a control that enables users to choose between two distinct mutually exclusive options (checked or unchecked, on or off) through a single click or tap.
|
|
1731
|
+
* @since 0.3.0
|
|
1732
|
+
* @entrypoint \@nvidia-elements/core/checkbox
|
|
1733
|
+
* @cssprop --cursor
|
|
1734
|
+
* @cssprop --width
|
|
1735
|
+
* @cssprop --height
|
|
1736
|
+
* @cssprop --border-width
|
|
1737
|
+
* @cssprop --border-radius
|
|
1738
|
+
* @cssprop --border-color
|
|
1739
|
+
* @cssprop --background
|
|
1740
|
+
* @cssprop --check-color
|
|
1741
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/
|
|
1742
|
+
*/
|
|
1743
|
+
export declare class Checkbox extends Control {
|
|
1184
1744
|
protected nveControl: string;
|
|
1185
1745
|
static styles: CSSResult[];
|
|
1186
1746
|
/** @private - disable for inline control */
|
|
@@ -1193,6 +1753,48 @@ declare class Checkbox extends Control {
|
|
|
1193
1753
|
children: string[];
|
|
1194
1754
|
};
|
|
1195
1755
|
}
|
|
1756
|
+
/**
|
|
1757
|
+
* @element nve-checkbox-group
|
|
1758
|
+
* @description Groups related checkboxes together with a shared label and validation messaging for multi-select form inputs.
|
|
1759
|
+
* @since 0.3.0
|
|
1760
|
+
* @entrypoint \@nvidia-elements/core/checkbox
|
|
1761
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/
|
|
1762
|
+
*/
|
|
1763
|
+
export declare class CheckboxGroup extends ControlGroup {
|
|
1764
|
+
static styles: CSSResult[];
|
|
1765
|
+
static readonly metadata: {
|
|
1766
|
+
tag: string;
|
|
1767
|
+
version: string;
|
|
1768
|
+
children: string[];
|
|
1769
|
+
};
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* @element nve-color
|
|
1773
|
+
* @description A color picker is a control that enables users to choose a color value.
|
|
1774
|
+
* @since 0.3.0
|
|
1775
|
+
* @entrypoint \@nvidia-elements/core/color
|
|
1776
|
+
* @cssprop --cursor
|
|
1777
|
+
* @csspart icon-button - The eye dropper icon button element
|
|
1778
|
+
* @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color
|
|
1779
|
+
*/
|
|
1780
|
+
declare class Color$1 extends Control implements ContainerElement {
|
|
1781
|
+
#private;
|
|
1782
|
+
/**
|
|
1783
|
+
* Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.
|
|
1784
|
+
* Use when embedding within another container such as a toolbar.
|
|
1785
|
+
*/
|
|
1786
|
+
container?: "flat";
|
|
1787
|
+
static styles: CSSResult[];
|
|
1788
|
+
static readonly metadata: {
|
|
1789
|
+
tag: string;
|
|
1790
|
+
version: string;
|
|
1791
|
+
};
|
|
1792
|
+
static elementDefinitions: {
|
|
1793
|
+
[IconButton.metadata.tag]: typeof IconButton;
|
|
1794
|
+
};
|
|
1795
|
+
protected get suffixContent(): TemplateResult<1>;
|
|
1796
|
+
connectedCallback(): void;
|
|
1797
|
+
}
|
|
1196
1798
|
declare const MenuItem_base: ButtonFormControlMixinReturn<typeof LitElement>;
|
|
1197
1799
|
/**
|
|
1198
1800
|
* @element nve-menu-item
|
|
@@ -1435,6 +2037,73 @@ export declare class Tag extends Tag_base {
|
|
|
1435
2037
|
render(): TemplateResult<1>;
|
|
1436
2038
|
constructor();
|
|
1437
2039
|
}
|
|
2040
|
+
/**
|
|
2041
|
+
* @element nve-combobox
|
|
2042
|
+
* @description An editable combobox with autocomplete behavior and selection support.
|
|
2043
|
+
* @since 0.17.0
|
|
2044
|
+
* @entrypoint \@nvidia-elements/core/combobox
|
|
2045
|
+
* @slot - default slot for an input and a datalist/select element
|
|
2046
|
+
* @slot prefix-icon - slot for icon before the input
|
|
2047
|
+
* @slot footer - slot for dropdown footer content
|
|
2048
|
+
* @cssprop --scroll-height
|
|
2049
|
+
* @cssprop --padding
|
|
2050
|
+
* @cssprop --font-size
|
|
2051
|
+
* @cssprop --height
|
|
2052
|
+
* @cssprop --background
|
|
2053
|
+
* @cssprop --color
|
|
2054
|
+
* @cssprop --border-radius
|
|
2055
|
+
* @cssprop --border
|
|
2056
|
+
* @cssprop --cursor
|
|
2057
|
+
* @cssprop --font-weight
|
|
2058
|
+
* @cssprop --width
|
|
2059
|
+
* @cssprop --border-color
|
|
2060
|
+
* @cssprop --max-height
|
|
2061
|
+
* @cssprop --text-transform
|
|
2062
|
+
* @csspart tag - The tag element for selected items
|
|
2063
|
+
* @csspart dropdown - The dropdown popup element
|
|
2064
|
+
* @csspart menu - The menu element
|
|
2065
|
+
* @csspart menu-item - The menu item elements
|
|
2066
|
+
* @csspart checkbox - The checkbox element
|
|
2067
|
+
* @csspart icon - The icon element
|
|
2068
|
+
* @event scroll - Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. `detail: { scrollTop, scrollHeight, clientHeight }`.
|
|
2069
|
+
* @event create - Fires when the user confirms a value that doesn't match any existing option and the `behavior-create` attribute exists. `detail: { value }`.
|
|
2070
|
+
* @csspart create-option - The menu item element for creating new options
|
|
2071
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/
|
|
2072
|
+
*/
|
|
2073
|
+
export declare class Combobox extends Control implements ContainerElement {
|
|
2074
|
+
#private;
|
|
2075
|
+
/**
|
|
2076
|
+
* Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds.
|
|
2077
|
+
* Use when embedding within another container such as a toolbar.
|
|
2078
|
+
*/
|
|
2079
|
+
container: "flat";
|
|
2080
|
+
/** Manage inline tag rendering for many-item select */
|
|
2081
|
+
tagLayout: "hidden" | "wrap";
|
|
2082
|
+
/** Enable creation of new options when the input value doesn't match any existing option. Dispatches a `create` event with `{ value }` detail. */
|
|
2083
|
+
behaviorCreate: boolean;
|
|
2084
|
+
static styles: CSSResult[];
|
|
2085
|
+
static readonly metadata: {
|
|
2086
|
+
tag: string;
|
|
2087
|
+
version: string;
|
|
2088
|
+
};
|
|
2089
|
+
static elementDefinitions: {
|
|
2090
|
+
[Checkbox.metadata.tag]: typeof Checkbox;
|
|
2091
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
2092
|
+
[Dropdown.metadata.tag]: typeof Dropdown;
|
|
2093
|
+
[Menu.metadata.tag]: typeof Menu;
|
|
2094
|
+
[MenuItem.metadata.tag]: typeof MenuItem;
|
|
2095
|
+
[Tag.metadata.tag]: typeof Tag;
|
|
2096
|
+
};
|
|
2097
|
+
protected _associateDatalist: boolean;
|
|
2098
|
+
protected get prefixContent(): TemplateResult<1>;
|
|
2099
|
+
protected get suffixContent(): typeof nothing | TemplateResult<1>;
|
|
2100
|
+
firstUpdated(props: PropertyValues<this>): Promise<void>;
|
|
2101
|
+
connectedCallback(): void;
|
|
2102
|
+
disconnectedCallback(): void;
|
|
2103
|
+
reset(): void;
|
|
2104
|
+
/** Select all options provided */
|
|
2105
|
+
selectAll(): void;
|
|
2106
|
+
}
|
|
1438
2107
|
/**
|
|
1439
2108
|
* @element nve-toast
|
|
1440
2109
|
* @description A contextual popup that displays a status. Toasts are [triggered](https://w3c.github.io/aria/#tooltip) by clicking, focusing, or tapping an element and cannot have interactive elements within them. [MDN Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
@@ -1509,10 +2178,9 @@ export declare class Toast extends LitElement {
|
|
|
1509
2178
|
*/
|
|
1510
2179
|
closeTimeout: number;
|
|
1511
2180
|
/**
|
|
1512
|
-
*
|
|
1513
|
-
* deprecated Use 'prominence="muted"' instead of status="muted"
|
|
2181
|
+
* Visual treatment to represent a support status.
|
|
1514
2182
|
*/
|
|
1515
|
-
status: SupportStatus
|
|
2183
|
+
status: SupportStatus;
|
|
1516
2184
|
/**
|
|
1517
2185
|
* Updates internal string values for internationalization.
|
|
1518
2186
|
*/
|
|
@@ -1599,6 +2267,60 @@ export declare class Tooltip extends LitElement {
|
|
|
1599
2267
|
render(): TemplateResult<1>;
|
|
1600
2268
|
connectedCallback(): void;
|
|
1601
2269
|
}
|
|
2270
|
+
/**
|
|
2271
|
+
* @element nve-copy-button
|
|
2272
|
+
* @description A copy button is a button that easily enables the copy to clipboard pattern.
|
|
2273
|
+
* @since 1.1.4
|
|
2274
|
+
* @entrypoint \@nvidia-elements/core/copy-button
|
|
2275
|
+
* @slot - default
|
|
2276
|
+
* @slot icon - slot for custom icon
|
|
2277
|
+
* @cssprop --color
|
|
2278
|
+
* @cssprop --background
|
|
2279
|
+
* @cssprop --border-radius
|
|
2280
|
+
* @cssprop --padding
|
|
2281
|
+
* @cssprop --height
|
|
2282
|
+
* @cssprop --min-width
|
|
2283
|
+
* @cssprop --font-size
|
|
2284
|
+
* @cssprop --line-height
|
|
2285
|
+
* @csspart icon - The icon element
|
|
2286
|
+
* @csspart toast - The toast notification element
|
|
2287
|
+
* @csspart tooltip - The tooltip element
|
|
2288
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/
|
|
2289
|
+
*
|
|
2290
|
+
*/
|
|
2291
|
+
export declare class CopyButton extends Button {
|
|
2292
|
+
#private;
|
|
2293
|
+
private copied;
|
|
2294
|
+
private showToast;
|
|
2295
|
+
private showTooltip;
|
|
2296
|
+
/**
|
|
2297
|
+
* Enables internal string values to update for internationalization.
|
|
2298
|
+
*/
|
|
2299
|
+
i18n: Partial<I18nStrings & {
|
|
2300
|
+
__set: boolean;
|
|
2301
|
+
}>;
|
|
2302
|
+
/**
|
|
2303
|
+
* Determines if the copy button should auto write to clipboard by the trigger.
|
|
2304
|
+
*/
|
|
2305
|
+
behaviorCopy: boolean;
|
|
2306
|
+
/**
|
|
2307
|
+
* Defines the value that copies to the user clipboard. Use `aria-label` to set the tooltip hint.
|
|
2308
|
+
*/
|
|
2309
|
+
value: string;
|
|
2310
|
+
static styles: CSSResult[];
|
|
2311
|
+
static readonly metadata: {
|
|
2312
|
+
tag: string;
|
|
2313
|
+
version: string;
|
|
2314
|
+
};
|
|
2315
|
+
static elementDefinitions: {
|
|
2316
|
+
[Icon.metadata.tag]: typeof Icon;
|
|
2317
|
+
[Toast.metadata.tag]: typeof Toast;
|
|
2318
|
+
[Tooltip.metadata.tag]: typeof Tooltip;
|
|
2319
|
+
};
|
|
2320
|
+
render(): TemplateResult<1>;
|
|
2321
|
+
connectedCallback(): void;
|
|
2322
|
+
disconnectedCallback(): void;
|
|
2323
|
+
}
|
|
1602
2324
|
/**
|
|
1603
2325
|
* @element nve-date
|
|
1604
2326
|
* @description A date picker is a control that enables users to choose a date value.
|
|
@@ -2014,6 +2736,34 @@ export declare class DrawerHeader extends LitElement {
|
|
|
2014
2736
|
render(): TemplateResult<1>;
|
|
2015
2737
|
connectedCallback(): void;
|
|
2016
2738
|
}
|
|
2739
|
+
/**
|
|
2740
|
+
* @element nve-dropdown-group
|
|
2741
|
+
* @description A Dropdown Group streamlines the management of linked dropdowns and supports nested dropdowns for a more organized and intuitive user experience
|
|
2742
|
+
* @since 1.30.1
|
|
2743
|
+
* @entrypoint \@nvidia-elements/core/dropdown-group
|
|
2744
|
+
* @slot - default slot for dropdown content
|
|
2745
|
+
* @event open - Dispatched when a dropdown in the group opens
|
|
2746
|
+
* @event close - Dispatched when a dropdown in the group closes
|
|
2747
|
+
* @cssprop --nve-dropdown-group-spacing
|
|
2748
|
+
* @cssprop --nve-dropdown-group-transition
|
|
2749
|
+
* @cssprop --arrow-transform - Transform applied to the popover arrow
|
|
2750
|
+
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/menubar/
|
|
2751
|
+
* @stable false
|
|
2752
|
+
*/
|
|
2753
|
+
export declare class DropdownGroup extends LitElement {
|
|
2754
|
+
#private;
|
|
2755
|
+
static styles: CSSResult[];
|
|
2756
|
+
static readonly metadata: {
|
|
2757
|
+
tag: string;
|
|
2758
|
+
version: string;
|
|
2759
|
+
children: string[];
|
|
2760
|
+
};
|
|
2761
|
+
protected dropdowns: Dropdown[];
|
|
2762
|
+
render(): TemplateResult<1>;
|
|
2763
|
+
connectedCallback(): void;
|
|
2764
|
+
disconnectedCallback(): void;
|
|
2765
|
+
close(): void;
|
|
2766
|
+
}
|
|
2017
2767
|
declare function fileTypeValidator(value: unknown, element: unknown): ValidatorResult;
|
|
2018
2768
|
declare const Dropzone_base: FormControlMixinReturn<typeof LitElement, File[]>;
|
|
2019
2769
|
/**
|
|
@@ -2484,6 +3234,7 @@ export declare class Grid extends LitElement implements ContainerElement {
|
|
|
2484
3234
|
rows: (GridRow | GridHeader)[];
|
|
2485
3235
|
cells: (GridColumn | GridCell)[];
|
|
2486
3236
|
};
|
|
3237
|
+
get stateScrollConfig(): StateScrollConfig;
|
|
2487
3238
|
/** @private */
|
|
2488
3239
|
_internals: ElementInternals;
|
|
2489
3240
|
render(): TemplateResult<1>;
|
|
@@ -2762,6 +3513,7 @@ declare class Notification$1 extends LitElement {
|
|
|
2762
3513
|
};
|
|
2763
3514
|
render(): TemplateResult<1>;
|
|
2764
3515
|
connectedCallback(): void;
|
|
3516
|
+
disconnectedCallback(): void;
|
|
2765
3517
|
firstUpdated(props: PropertyValues<this>): Promise<void>;
|
|
2766
3518
|
updated(props: PropertyValues<this>): void;
|
|
2767
3519
|
hidePopover(): void;
|
|
@@ -2865,8 +3617,6 @@ export declare class Page extends LitElement {
|
|
|
2865
3617
|
* @cssprop --max-width
|
|
2866
3618
|
* @cssprop --max-height
|
|
2867
3619
|
* @cssprop --animation-duration - Duration of panel open/close animations
|
|
2868
|
-
|
|
2869
|
-
* @csspart icon-button - The close/collapse icon button element
|
|
2870
3620
|
* @aria https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/region_role
|
|
2871
3621
|
*
|
|
2872
3622
|
*/
|
|
@@ -2876,16 +3626,6 @@ export declare class PagePanel extends LitElement {
|
|
|
2876
3626
|
* Sets the max size of the panel.
|
|
2877
3627
|
*/
|
|
2878
3628
|
size?: Size;
|
|
2879
|
-
/**
|
|
2880
|
-
* Determines if a closable button should render within page panel.
|
|
2881
|
-
* @deprecated use the `actions` slot instead
|
|
2882
|
-
*/
|
|
2883
|
-
closable: boolean;
|
|
2884
|
-
/**
|
|
2885
|
-
* Determines if a expandable button should render within page panel.
|
|
2886
|
-
* @deprecated use the `actions` slot instead
|
|
2887
|
-
*/
|
|
2888
|
-
expandable: boolean;
|
|
2889
3629
|
/**
|
|
2890
3630
|
* Enables updating internal string values for internationalization.
|
|
2891
3631
|
*/
|
|
@@ -2898,9 +3638,7 @@ export declare class PagePanel extends LitElement {
|
|
|
2898
3638
|
version: string;
|
|
2899
3639
|
parents: string[];
|
|
2900
3640
|
};
|
|
2901
|
-
|
|
2902
|
-
[IconButton.metadata.tag]: typeof IconButton;
|
|
2903
|
-
};
|
|
3641
|
+
constructor();
|
|
2904
3642
|
/** @private */
|
|
2905
3643
|
_internals: ElementInternals;
|
|
2906
3644
|
render(): TemplateResult<1>;
|
|
@@ -3003,7 +3741,6 @@ export declare class PageHeader extends LitElement {
|
|
|
3003
3741
|
* @since 0.17.0
|
|
3004
3742
|
* @entrypoint \@nvidia-elements/core/progress-ring
|
|
3005
3743
|
* @slot - Content to display in the ring center. Defaults to a status icon.
|
|
3006
|
-
* @slot status-icon - (deprecated) Use the default slot instead.
|
|
3007
3744
|
* @cssprop --background-color
|
|
3008
3745
|
* @cssprop --ring-color
|
|
3009
3746
|
* @cssprop --ring-background-opacity
|
|
@@ -3039,7 +3776,6 @@ export declare class ProgressRing extends LitElement {
|
|
|
3039
3776
|
i18n: Partial<I18nStrings & {
|
|
3040
3777
|
__set: boolean;
|
|
3041
3778
|
}>;
|
|
3042
|
-
private _deprecatedStatusIconSlot;
|
|
3043
3779
|
render(): TemplateResult<1>;
|
|
3044
3780
|
connectedCallback(): void;
|
|
3045
3781
|
updated(props: PropertyValues<this>): void;
|
|
@@ -3224,7 +3960,7 @@ export declare class Pagination extends Pagination_base {
|
|
|
3224
3960
|
* @cssprop --padding
|
|
3225
3961
|
* @cssprop --border-bottom
|
|
3226
3962
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
3227
|
-
* @deprecated use `nve-page-panel` with `nve-page` instead
|
|
3963
|
+
* @deprecated use `nve-page-panel-header` with `nve-page-panel` instead
|
|
3228
3964
|
*/
|
|
3229
3965
|
export declare class PanelHeader extends LitElement {
|
|
3230
3966
|
static styles: CSSResult[];
|
|
@@ -3243,6 +3979,7 @@ export declare class PanelHeader extends LitElement {
|
|
|
3243
3979
|
* @slot - This is a default/unnamed slot for panel content
|
|
3244
3980
|
* @cssprop --padding
|
|
3245
3981
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
3982
|
+
* @deprecated use `nve-page-panel-content` with `nve-page-panel` instead
|
|
3246
3983
|
*/
|
|
3247
3984
|
export declare class PanelContent extends LitElement {
|
|
3248
3985
|
static styles: CSSResult[];
|
|
@@ -3262,6 +3999,7 @@ export declare class PanelContent extends LitElement {
|
|
|
3262
3999
|
* @cssprop --border-top
|
|
3263
4000
|
* @cssprop --gap
|
|
3264
4001
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
4002
|
+
* @deprecated use `nve-page-panel-footer` with `nve-page-panel` instead
|
|
3265
4003
|
*/
|
|
3266
4004
|
export declare class PanelFooter extends LitElement {
|
|
3267
4005
|
static styles: CSSResult[];
|
|
@@ -3289,6 +4027,7 @@ export declare class PanelFooter extends LitElement {
|
|
|
3289
4027
|
* @cssprop --panel-button-border-radius - Border radius of the panel expand/collapse button
|
|
3290
4028
|
* @csspart icon-button - The expand/collapse icon button element
|
|
3291
4029
|
* @aria https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/
|
|
4030
|
+
* @deprecated use `nve-page-panel` with `nve-page` instead
|
|
3292
4031
|
*/
|
|
3293
4032
|
export declare class Panel extends LitElement {
|
|
3294
4033
|
#private;
|
|
@@ -3994,10 +4733,6 @@ declare const TabsItem_base: ButtonFormControlMixinReturn<typeof LitElement>;
|
|
|
3994
4733
|
* @entrypoint \@nvidia-elements/core/tabs
|
|
3995
4734
|
* @slot - default slot for content
|
|
3996
4735
|
* @cssprop --font-size
|
|
3997
|
-
* @cssprop --border-width
|
|
3998
|
-
* @cssprop --border-height
|
|
3999
|
-
* @cssprop --border-top
|
|
4000
|
-
* @cssprop --border-background
|
|
4001
4736
|
* @cssprop --width
|
|
4002
4737
|
* @cssprop --padding
|
|
4003
4738
|
* @cssprop --font-size
|
|
@@ -4532,6 +5267,7 @@ export declare class Week extends Control implements ContainerElement {
|
|
|
4532
5267
|
}
|
|
4533
5268
|
|
|
4534
5269
|
export {
|
|
5270
|
+
Color$1 as Color,
|
|
4535
5271
|
Date$1 as Date,
|
|
4536
5272
|
File$1 as File,
|
|
4537
5273
|
Notification$1 as Notification,
|