Add tooltipPosition to PaginationNav per #1656

This commit is contained in:
Samuel Janda 2023-05-06 13:32:55 +10:00
commit 60c2df4c97
6 changed files with 404 additions and 248 deletions

View file

@ -38,5 +38,8 @@ export default class ListBoxSelection extends SvelteComponentTyped<
/**
* Default translation ids
*/
translationIds: { clearAll: "clearAll"; clearSelection: "clearSelection" };
translationIds: {
clearAll: "clearAll";
clearSelection: "clearSelection";
};
}

View file

@ -38,6 +38,12 @@ export interface PaginationNavProps
* @default "Previous page"
*/
backwardText?: string;
/**
* Set the position of the tooltip relative to the icon
* @default "bottom"
*/
tooltipPosition?: "top" | "right" | "bottom" | "left" | "outside" | "inside";
}
export default class PaginationNav extends SvelteComponentTyped<