diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index f3f75d01..838063f3 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2696,15 +2696,15 @@ None. ### Props -| Prop name | Required | Kind | Reactive | Type | Default value | Description | -| :-------------- | :------- | :--------------- | :------- | ------------------------------------------------------------------------------------------------ | ---------------------------- | ---------------------------------------------------- | -| page | No | let | Yes | number | 1 | Specify the current page index | -| total | No | let | No | number | 10 | Specify the total number of pages | -| shown | No | let | No | number | 10 | Specify the total number of pages to show | -| loop | No | let | No | boolean | false | Set to `true` to loop the navigation | -| forwardText | No | let | No | string | "Next page" | Specify the forward button text | -| backwardText | No | let | No | string | "Previous page" | Specify the backward button text | -| tooltipPosition | No | let | No | "top" | "right" | "bottom" | "left" | "outside" | "inside" | "bottom" | Set the position of the tooltip relative to the icon | +| Prop name | Required | Kind | Reactive | Type | Default value | Description | +| :-------------- | :------- | :--------------- | :------- | ------------------------------------------------------------------------------------------------ | ---------------------------- | ------------------------------------------------------------------- | +| page | No | let | Yes | number | 1 | Specify the current page index | +| total | No | let | No | number | 10 | Specify the total number of pages | +| shown | No | let | No | number | 10 | Specify the total number of pages to show | +| loop | No | let | No | boolean | false | Set to `true` to loop the navigation | +| forwardText | No | let | No | string | "Next page" | Specify the forward button text | +| backwardText | No | let | No | string | "Previous page" | Specify the backward button text | +| tooltipPosition | No | let | No | "top" | "right" | "bottom" | "left" | "outside" | "inside" | "bottom" | Set the position of the tooltip relative to the pagination buttons. | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index fe00fa1a..40c92155 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8524,7 +8524,7 @@ { "name": "tooltipPosition", "kind": "let", - "description": "Set the position of the tooltip relative to the icon", + "description": "Set the position of the tooltip relative to the pagination buttons.", "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"outside\" | \"inside\"", "value": "\"bottom\"", "isFunction": false, diff --git a/types/PaginationNav/PaginationNav.svelte.d.ts b/types/PaginationNav/PaginationNav.svelte.d.ts index 598206db..11b0ac1d 100644 --- a/types/PaginationNav/PaginationNav.svelte.d.ts +++ b/types/PaginationNav/PaginationNav.svelte.d.ts @@ -40,7 +40,7 @@ export interface PaginationNavProps backwardText?: string; /** - * Set the position of the tooltip relative to the icon + * Set the position of the tooltip relative to the pagination buttons. * @default "bottom" */ tooltipPosition?: "top" | "right" | "bottom" | "left" | "outside" | "inside";