mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
7f7bf51f56
commit
ef904567cb
3 changed files with 22 additions and 22 deletions
|
@ -2654,7 +2654,7 @@ None.
|
||||||
### Props
|
### Props
|
||||||
|
|
||||||
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
|
||||||
| :-------------------- | :------- | :--------------- | :------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------ |
|
| :-------------------- | :------- | :--------------- | :------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------ |
|
||||||
| pageSize | No | <code>let</code> | Yes | <code>number</code> | <code>10</code> | Specify the number of items to display in a page |
|
| pageSize | No | <code>let</code> | Yes | <code>number</code> | <code>10</code> | Specify the number of items to display in a page |
|
||||||
| page | No | <code>let</code> | Yes | <code>number</code> | <code>1</code> | Specify the current page index |
|
| page | No | <code>let</code> | Yes | <code>number</code> | <code>1</code> | Specify the current page index |
|
||||||
| totalItems | No | <code>let</code> | No | <code>number</code> | <code>0</code> | Specify the total number of items |
|
| totalItems | No | <code>let</code> | No | <code>number</code> | <code>0</code> | Specify the total number of items |
|
||||||
|
@ -2662,8 +2662,8 @@ None.
|
||||||
| forwardText | No | <code>let</code> | No | <code>string</code> | <code>"Next page"</code> | Specify the forward button text |
|
| forwardText | No | <code>let</code> | No | <code>string</code> | <code>"Next page"</code> | Specify the forward button text |
|
||||||
| backwardText | No | <code>let</code> | No | <code>string</code> | <code>"Previous page"</code> | Specify the backward button text |
|
| backwardText | No | <code>let</code> | No | <code>string</code> | <code>"Previous page"</code> | Specify the backward button text |
|
||||||
| itemsPerPageText | No | <code>let</code> | No | <code>string</code> | <code>"Items per page:"</code> | Specify the items per page text |
|
| itemsPerPageText | No | <code>let</code> | No | <code>string</code> | <code>"Items per page:"</code> | Specify the items per page text |
|
||||||
| itemText | No | <code>let</code> | No | <code>(min: number, max: number) => string</code> | <code>(min, max) => \`${min}–${max} items\`</code> | Override the item text |
|
| itemText | No | <code>let</code> | No | <code>(min: number, max: number) => string</code> | <code>(min, max) => \`${min}–${max} item${max === 1 ? "" : "s"}\`</code> | Override the item text |
|
||||||
| itemRangeText | No | <code>let</code> | No | <code>(min: number, max: number, total: number) => string</code> | <code>(min, max, total) => \`${min}–${max} of ${total} items\`</code> | Override the item range text |
|
| itemRangeText | No | <code>let</code> | No | <code>(min: number, max: number, total: number) => string</code> | <code>(min, max, total) => \`${min}–${max} of ${total} item${max === 1 ? "" : "s"}\`</code> | Override the item range text |
|
||||||
| pageInputDisabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the page input |
|
| pageInputDisabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the page input |
|
||||||
| pageSizeInputDisabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the page size input |
|
| pageSizeInputDisabled | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the page size input |
|
||||||
| pageSizes | No | <code>let</code> | No | <code>ReadonlyArray<number></code> | <code>[10]</code> | Specify the available page sizes |
|
| pageSizes | No | <code>let</code> | No | <code>ReadonlyArray<number></code> | <code>[10]</code> | Specify the available page sizes |
|
||||||
|
|
|
@ -8268,7 +8268,7 @@
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
"description": "Override the item text",
|
"description": "Override the item text",
|
||||||
"type": "(min: number, max: number) => string",
|
"type": "(min: number, max: number) => string",
|
||||||
"value": "(min, max) => `${min}–${max} items`",
|
"value": "(min, max) => `${min}–${max} item${max === 1 ? \"\" : \"s\"}`",
|
||||||
"isFunction": true,
|
"isFunction": true,
|
||||||
"isFunctionDeclaration": false,
|
"isFunctionDeclaration": false,
|
||||||
"isRequired": false,
|
"isRequired": false,
|
||||||
|
@ -8280,7 +8280,7 @@
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
"description": "Override the item range text",
|
"description": "Override the item range text",
|
||||||
"type": "(min: number, max: number, total: number) => string",
|
"type": "(min: number, max: number, total: number) => string",
|
||||||
"value": "(min, max, total) => `${min}–${max} of ${total} items`",
|
"value": "(min, max, total) => `${min}–${max} of ${total} item${max === 1 ? \"\" : \"s\"}`",
|
||||||
"isFunction": true,
|
"isFunction": true,
|
||||||
"isFunctionDeclaration": false,
|
"isFunctionDeclaration": false,
|
||||||
"isRequired": false,
|
"isRequired": false,
|
||||||
|
|
4
types/Pagination/Pagination.svelte.d.ts
vendored
4
types/Pagination/Pagination.svelte.d.ts
vendored
|
@ -41,13 +41,13 @@ export interface PaginationProps
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the item text
|
* Override the item text
|
||||||
* @default (min, max) => `${min}–${max} items`
|
* @default (min, max) => `${min}–${max} item${max === 1 ? "" : "s"}`
|
||||||
*/
|
*/
|
||||||
itemText?: (min: number, max: number) => string;
|
itemText?: (min: number, max: number) => string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the item range text
|
* Override the item range text
|
||||||
* @default (min, max, total) => `${min}–${max} of ${total} items`
|
* @default (min, max, total) => `${min}–${max} of ${total} item${max === 1 ? "" : "s"}`
|
||||||
*/
|
*/
|
||||||
itemRangeText?: (min: number, max: number, total: number) => string;
|
itemRangeText?: (min: number, max: number, total: number) => string;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue