Refactor #5841 - Revert deprecated props
parent
8f4fc83945
commit
32a0d4c762
|
@ -110,12 +110,10 @@ export interface AccordionTabProps {
|
||||||
headerClass?: any;
|
headerClass?: any;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLDivElement to the tab header.
|
* Used to pass all properties of the HTMLDivElement to the tab header.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
headerProps?: HTMLAttributes | undefined;
|
headerProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.
|
* Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
headerActionProps?: AnchorHTMLAttributes | undefined;
|
headerActionProps?: AnchorHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -128,7 +126,6 @@ export interface AccordionTabProps {
|
||||||
contentClass?: any;
|
contentClass?: any;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLDivElement to the tab content.
|
* Used to pass all properties of the HTMLDivElement to the tab content.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
contentProps?: HTMLAttributes | undefined;
|
contentProps?: HTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -199,12 +196,6 @@ export interface AccordionTabSlots {
|
||||||
* Index of the tab
|
* Index of the tab
|
||||||
*/
|
*/
|
||||||
index: number;
|
index: number;
|
||||||
/**
|
|
||||||
* Whether the tab is active
|
|
||||||
* @param {number} index - Index of the tab
|
|
||||||
* @deprecated since v3.40.0. Use 'active' property instead.
|
|
||||||
*/
|
|
||||||
isTabActive: (index: number) => void;
|
|
||||||
/**
|
/**
|
||||||
* Whether the tab is active
|
* Whether the tab is active
|
||||||
* @param {number} index - Index of the tab
|
* @param {number} index - Index of the tab
|
||||||
|
|
|
@ -430,7 +430,6 @@ export interface AutoCompleteProps {
|
||||||
overlayClass?: string | object | undefined;
|
overlayClass?: string | object | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dropdown.
|
* Icon to display in the dropdown.
|
||||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
||||||
*/
|
*/
|
||||||
dropdownIcon?: string | undefined;
|
dropdownIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -448,7 +447,6 @@ export interface AutoCompleteProps {
|
||||||
loader?: string | undefined;
|
loader?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in chip remove action.
|
* Icon to display in chip remove action.
|
||||||
* @deprecated since v3.27.0. Use 'removetokenicon' slot.
|
|
||||||
*/
|
*/
|
||||||
removeTokenIcon?: string | undefined;
|
removeTokenIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -84,7 +84,6 @@ export interface AvatarProps {
|
||||||
label?: string | undefined;
|
label?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Defines the icon to display.
|
* Defines the icon to display.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -357,17 +357,14 @@ export interface CascadeSelectProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dropdown.
|
* Icon to display in the dropdown.
|
||||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
||||||
*/
|
*/
|
||||||
dropdownIcon?: string | undefined;
|
dropdownIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in loading state.
|
* Icon to display in loading state.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the option group.
|
* Icon to display in the option group.
|
||||||
* @deprecated since v3.27.0. Use 'optiongroupicon' slot.
|
|
||||||
*/
|
*/
|
||||||
optionGroupIcon?: string | undefined;
|
optionGroupIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -104,7 +104,6 @@ export interface ChipProps {
|
||||||
label?: string;
|
label?: string;
|
||||||
/**
|
/**
|
||||||
* Defines the icon to display.
|
* Defines the icon to display.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string;
|
icon?: string;
|
||||||
/**
|
/**
|
||||||
|
@ -118,7 +117,6 @@ export interface ChipProps {
|
||||||
removable?: boolean;
|
removable?: boolean;
|
||||||
/**
|
/**
|
||||||
* Icon of the remove element.
|
* Icon of the remove element.
|
||||||
* @deprecated since v3.27.0. Use 'removeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
removeIcon?: string;
|
removeIcon?: string;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -503,7 +503,6 @@ export interface ColumnProps {
|
||||||
rowReorder?: boolean | undefined;
|
rowReorder?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the drag handle to reorder rows.
|
* Icon of the drag handle to reorder rows.
|
||||||
* @deprecated since v3.27.0. Use 'rowreordericon' slot.
|
|
||||||
*/
|
*/
|
||||||
rowReorderIcon?: string | undefined;
|
rowReorderIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -69,7 +69,7 @@ export const defaultOptions = {
|
||||||
medium: 'Medium',
|
medium: 'Medium',
|
||||||
strong: 'Strong',
|
strong: 'Strong',
|
||||||
passwordPrompt: 'Enter a password',
|
passwordPrompt: 'Enter a password',
|
||||||
emptyFilterMessage: 'No results found', // @deprecated Use 'emptySearchMessage' option instead.
|
emptyFilterMessage: 'No results found',
|
||||||
searchMessage: '{0} results are available',
|
searchMessage: '{0} results are available',
|
||||||
selectionMessage: '{0} items selected',
|
selectionMessage: '{0} items selected',
|
||||||
emptySelectionMessage: 'No selected item',
|
emptySelectionMessage: 'No selected item',
|
||||||
|
|
|
@ -967,7 +967,6 @@ export interface DataTableProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* The icon to show while indicating data load is in progress.
|
* The icon to show while indicating data load is in progress.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -1091,12 +1090,10 @@ export interface DataTableProps {
|
||||||
expandedRows?: any[] | DataTableExpandedRows | null;
|
expandedRows?: any[] | DataTableExpandedRows | null;
|
||||||
/**
|
/**
|
||||||
* Icon of the row toggler to display the row as expanded.
|
* Icon of the row toggler to display the row as expanded.
|
||||||
* @deprecated since v3.27.0. Use 'rowtogglericon' slot.
|
|
||||||
*/
|
*/
|
||||||
expandedRowIcon?: string | undefined;
|
expandedRowIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the row toggler to display the row as collapsed.
|
* Icon of the row toggler to display the row as collapsed.
|
||||||
* @deprecated since v3.27.0. Use 'rowtogglericon' slot.
|
|
||||||
*/
|
*/
|
||||||
collapsedRowIcon?: string | undefined;
|
collapsedRowIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -565,27 +565,22 @@ export interface DatePickerProps {
|
||||||
iconDisplay?: 'button' | 'input' | undefined;
|
iconDisplay?: 'button' | 'input' | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the datepicker button.
|
* Icon of the datepicker button.
|
||||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to show in the previous button.
|
* Icon to show in the previous button.
|
||||||
* @deprecated since v3.27.0. Use 'previcon' slot.
|
|
||||||
*/
|
*/
|
||||||
prevIcon?: string | undefined;
|
prevIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to show in the next button.
|
* Icon to show in the next button.
|
||||||
* @deprecated since v3.27.0. Use 'nexticon' slot.
|
|
||||||
*/
|
*/
|
||||||
nextIcon?: string | undefined;
|
nextIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to show in each of the increment buttons.
|
* Icon to show in each of the increment buttons.
|
||||||
* @deprecated since v3.27.0. Use 'incrementicon' slot.
|
|
||||||
*/
|
*/
|
||||||
incrementIcon?: string | undefined;
|
incrementIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to show in each of the decrement buttons.
|
* Icon to show in each of the decrement buttons.
|
||||||
* @deprecated since v3.27.0. Use 'decrementicon' slot.
|
|
||||||
*/
|
*/
|
||||||
decrementIcon?: string | undefined;
|
decrementIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -270,17 +270,14 @@ export interface DialogProps {
|
||||||
style?: any;
|
style?: any;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dialog close button.
|
* Icon to display in the dialog close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dialog maximize button when dialog is not maximized.
|
* Icon to display in the dialog maximize button when dialog is not maximized.
|
||||||
* @deprecated since v3.27.0. Use 'maximizeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
maximizeIcon?: string | undefined;
|
maximizeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dialog maximize button when dialog is minimized.
|
* Icon to display in the dialog maximize button when dialog is minimized.
|
||||||
* @deprecated since v3.27.0. Use 'minimizeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
minimizeIcon?: string | undefined;
|
minimizeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -165,7 +165,6 @@ export interface DrawerProps {
|
||||||
closeButtonProps?: object | undefined;
|
closeButtonProps?: object | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the drawer close button.
|
* Icon to display in the drawer close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -147,7 +147,6 @@ export interface FieldsetProps {
|
||||||
collapsed?: boolean | undefined;
|
collapsed?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass the custom value to read for the AnchorHTMLAttributes inside the component.
|
* Used to pass the custom value to read for the AnchorHTMLAttributes inside the component.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
toggleButtonProps?: AnchorHTMLAttributes | undefined;
|
toggleButtonProps?: AnchorHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -423,17 +423,14 @@ export interface FileUploadProps {
|
||||||
showCancelButton?: boolean | undefined;
|
showCancelButton?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the choose button.
|
* Icon of the choose button.
|
||||||
* @deprecated since v3.27.0. Use 'chooseicon' slot.
|
|
||||||
*/
|
*/
|
||||||
chooseIcon?: string | undefined;
|
chooseIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the upload button.
|
* Icon of the upload button.
|
||||||
* @deprecated since v3.27.0. Use 'updateicon' slot.
|
|
||||||
*/
|
*/
|
||||||
uploadIcon?: string | undefined;
|
uploadIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the cancel button.
|
* Icon of the cancel button.
|
||||||
* @deprecated since v3.27.0. Use 'cancelicon' slot.
|
|
||||||
*/
|
*/
|
||||||
cancelIcon?: string | undefined;
|
cancelIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -97,7 +97,6 @@ export interface InlineMessageProps {
|
||||||
severity?: HintedString<'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast'> | undefined;
|
severity?: HintedString<'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast'> | undefined;
|
||||||
/**
|
/**
|
||||||
* Display a custom icon for the message.
|
* Display a custom icon for the message.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -116,7 +116,6 @@ export interface InplaceProps {
|
||||||
disabled?: boolean | undefined;
|
disabled?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the close button.
|
* Icon to display in the close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -192,12 +192,10 @@ export interface InputChipsProps {
|
||||||
inputStyle?: object | undefined;
|
inputStyle?: object | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
* Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
inputProps?: InputHTMLAttributes | undefined;
|
inputProps?: InputHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in chip remove action.
|
* Icon to display in chip remove action.
|
||||||
* @deprecated since v3.27.0. Use 'removetokenicon' slot.
|
|
||||||
*/
|
*/
|
||||||
removeTokenIcon?: string | undefined;
|
removeTokenIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -405,7 +405,6 @@ export interface ListboxProps {
|
||||||
tabindex?: number | string | undefined;
|
tabindex?: number | string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in filter input.
|
* Icon to display in filter input.
|
||||||
* @deprecated since v3.27.0. Use 'filtericon' slot.
|
|
||||||
*/
|
*/
|
||||||
filterIcon?: string | undefined;
|
filterIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -130,7 +130,6 @@ export interface MessageProps {
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the message close button.
|
* Icon to display in the message close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -443,32 +443,26 @@ export interface MultiSelectProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the checkboxes.
|
* Icon to display in the checkboxes.
|
||||||
* @deprecated since v3.27.0. Use 'checkboxicon' slot.
|
|
||||||
*/
|
*/
|
||||||
checkboxIcon?: string | undefined;
|
checkboxIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dropdown close button.
|
* Icon to display in the dropdown close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the dropdown.
|
* Icon to display in the dropdown.
|
||||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
||||||
*/
|
*/
|
||||||
dropdownIcon?: string | undefined;
|
dropdownIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in filter input.
|
* Icon to display in filter input.
|
||||||
* @deprecated since v3.27.0. Use 'filtericon' slot.
|
|
||||||
*/
|
*/
|
||||||
filterIcon?: string | undefined;
|
filterIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in loading state.
|
* Icon to display in loading state.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in chip remove action.
|
* Icon to display in chip remove action.
|
||||||
* @deprecated since v4.0. Use 'chipicon' slot.
|
|
||||||
*/
|
*/
|
||||||
removeTokenIcon?: string | undefined;
|
removeTokenIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -165,12 +165,10 @@ export interface RatingProps {
|
||||||
stars?: number | undefined;
|
stars?: number | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon for the on state.
|
* Icon for the on state.
|
||||||
* @deprecated since v3.27.0. Use 'onicon' slot.
|
|
||||||
*/
|
*/
|
||||||
onIcon?: string | undefined;
|
onIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon for the off state.
|
* Icon for the off state.
|
||||||
* @deprecated since v3.27.0. Use 'officon' slot.
|
|
||||||
*/
|
*/
|
||||||
offIcon?: string | undefined;
|
offIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -121,7 +121,6 @@ export interface ScrollTopProps {
|
||||||
threshold?: number | undefined;
|
threshold?: number | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display.
|
* Icon to display.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -432,22 +432,18 @@ export interface SelectProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in clear button.
|
* Icon to display in clear button.
|
||||||
* @deprecated since v3.27.0. Use 'clearicon' slot.
|
|
||||||
*/
|
*/
|
||||||
clearIcon?: string | undefined;
|
clearIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the select.
|
* Icon to display in the select.
|
||||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
|
||||||
*/
|
*/
|
||||||
dropdownIcon?: string | undefined;
|
dropdownIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in filter input.
|
* Icon to display in filter input.
|
||||||
* @deprecated since v3.27.0. Use 'filtericon' slot.
|
|
||||||
*/
|
*/
|
||||||
filterIcon?: string | undefined;
|
filterIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in loading state.
|
* Icon to display in loading state.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -241,12 +241,10 @@ export interface SpeedDialProps {
|
||||||
maskClass?: string | undefined;
|
maskClass?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Show icon of the button element.
|
* Show icon of the button element.
|
||||||
* @deprecated since v3.27.0. Use 'showicon' slot.
|
|
||||||
*/
|
*/
|
||||||
showIcon?: string | undefined;
|
showIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Hide icon of the button element.
|
* Hide icon of the button element.
|
||||||
* @deprecated since v3.27.0. Use 'hideicon' slot.
|
|
||||||
*/
|
*/
|
||||||
hideIcon?: string | undefined;
|
hideIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -120,7 +120,6 @@ export interface SplitButtonProps {
|
||||||
label?: string | undefined;
|
label?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Name of the icon.
|
* Name of the icon.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
@ -166,7 +165,6 @@ export interface SplitButtonProps {
|
||||||
menuButtonProps?: ButtonHTMLAttributes | undefined;
|
menuButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Name of the menu button icon.
|
* Name of the menu button icon.
|
||||||
* @deprecated since v3.27.0. Use 'menubuttonicon' slot.
|
|
||||||
*/
|
*/
|
||||||
menuButtonIcon?: string | undefined;
|
menuButtonIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -186,22 +186,18 @@ export interface TabViewProps {
|
||||||
selectOnFocus?: boolean | undefined;
|
selectOnFocus?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLButtonElement to the previous button.
|
* Used to pass all properties of the HTMLButtonElement to the previous button.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
prevButtonProps?: ButtonHTMLAttributes | undefined;
|
prevButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLButtonElement to the next button.
|
* Used to pass all properties of the HTMLButtonElement to the next button.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
||||||
*/
|
*/
|
||||||
nextButtonProps?: ButtonHTMLAttributes | undefined;
|
nextButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
* Previous icon of the scrollable tabview.
|
* Previous icon of the scrollable tabview.
|
||||||
* @deprecated since v3.27.0. Use 'previcon' slot.
|
|
||||||
*/
|
*/
|
||||||
prevIcon?: string | undefined;
|
prevIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Next icon of the scrollable tabview.
|
* Next icon of the scrollable tabview.
|
||||||
* @deprecated since v3.27.0. Use 'next' slot.
|
|
||||||
*/
|
*/
|
||||||
nextIcon?: string | undefined;
|
nextIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -90,7 +90,6 @@ export interface TagProps {
|
||||||
rounded?: boolean | undefined;
|
rounded?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon of the tag to display next to the value.
|
* Icon of the tag to display next to the value.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
icon?: string | undefined;
|
icon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -83,11 +83,6 @@ export interface ToastPassThroughOptions {
|
||||||
* Used to pass attributes to the button container's DOM element.
|
* Used to pass attributes to the button container's DOM element.
|
||||||
*/
|
*/
|
||||||
buttonContainer?: ToastPassThroughOptionType;
|
buttonContainer?: ToastPassThroughOptionType;
|
||||||
/**
|
|
||||||
* Used to pass attributes to the button's DOM element.
|
|
||||||
* @deprecated since v3.30.2. Use 'closeButton' option.
|
|
||||||
*/
|
|
||||||
button?: ToastPassThroughOptionType;
|
|
||||||
/**
|
/**
|
||||||
* Used to pass attributes to the button's DOM element.
|
* Used to pass attributes to the button's DOM element.
|
||||||
*/
|
*/
|
||||||
|
@ -209,32 +204,26 @@ export interface ToastProps {
|
||||||
breakpoints?: ToastBreakpointsType;
|
breakpoints?: ToastBreakpointsType;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the toast close button.
|
* Icon to display in the toast close button.
|
||||||
* @deprecated since v3.27.0. Use 'closeicon' slot.
|
|
||||||
*/
|
*/
|
||||||
closeIcon?: string | undefined;
|
closeIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the toast with info severity.
|
* Icon to display in the toast with info severity.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
infoIcon?: string | undefined;
|
infoIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the toast with warn severity.
|
* Icon to display in the toast with warn severity.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
warnIcon?: string | undefined;
|
warnIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the toast with error severity.
|
* Icon to display in the toast with error severity.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
errorIcon?: string | undefined;
|
errorIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display in the toast with success severity.
|
* Icon to display in the toast with success severity.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
successIcon?: string | undefined;
|
successIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Used to pass all properties of the HTMLButtonElement to the close button.
|
* Used to pass all properties of the HTMLButtonElement to the close button.
|
||||||
* @deprecated since v3.26.0. Use 'pt' property.
|
|
||||||
*/
|
*/
|
||||||
closeButtonProps?: ButtonHTMLAttributes | undefined;
|
closeButtonProps?: ButtonHTMLAttributes | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
</template>
|
</template>
|
||||||
<component v-else :is="templates.message" :message="message"></component>
|
<component v-else :is="templates.message" :message="message"></component>
|
||||||
<div v-if="message.closable !== false" v-bind="ptm('buttonContainer')">
|
<div v-if="message.closable !== false" v-bind="ptm('buttonContainer')">
|
||||||
<button v-ripple :class="cx('closeButton')" type="button" :aria-label="closeAriaLabel" @click="onCloseClick" autofocus v-bind="{ ...closeButtonProps, ...ptm('button'), ...ptm('closeButton') }">
|
<button v-ripple :class="cx('closeButton')" type="button" :aria-label="closeAriaLabel" @click="onCloseClick" autofocus v-bind="{ ...closeButtonProps, ...ptm('closeButton') }">
|
||||||
<component :is="templates.closeicon || 'TimesIcon'" :class="[cx('closeIcon'), closeIcon]" v-bind="{ ...ptm('buttonIcon'), ...ptm('closeIcon') }" />
|
<component :is="templates.closeicon || 'TimesIcon'" :class="[cx('closeIcon'), closeIcon]" v-bind="ptm('closeIcon')" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -106,12 +106,10 @@ export interface ToggleButtonProps {
|
||||||
modelValue?: boolean | undefined;
|
modelValue?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon for the on state.
|
* Icon for the on state.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
onIcon?: string | undefined;
|
onIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon for the off state.
|
* Icon for the off state.
|
||||||
* @deprecated since v3.27.0. Use 'icon' slot.
|
|
||||||
*/
|
*/
|
||||||
offIcon?: string | undefined;
|
offIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -264,7 +264,6 @@ export interface TreeProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Icon to display when tree is loading.
|
* Icon to display when tree is loading.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -498,7 +498,6 @@ export interface TreeTableProps {
|
||||||
loading?: boolean | undefined;
|
loading?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* The icon to show while indicating data load is in progress.
|
* The icon to show while indicating data load is in progress.
|
||||||
* @deprecated since v3.27.0. Use 'loadingicon' slot.
|
|
||||||
*/
|
*/
|
||||||
loadingIcon?: string | undefined;
|
loadingIcon?: string | undefined;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -252,10 +252,6 @@
|
||||||
<td>passwordPrompt</td>
|
<td>passwordPrompt</td>
|
||||||
<td>Enter a password</td>
|
<td>Enter a password</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>emptyFilterMessage</td>
|
|
||||||
<td>No results found', // @deprecated Use 'emptySearchMessage' option instea</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>searchMessage</td>
|
<td>searchMessage</td>
|
||||||
<td>{0} results are available</td>
|
<td>{0} results are available</td>
|
||||||
|
|
Loading…
Reference in New Issue