@rozie-ui/pagination-lit 0.0.0-stage → 0.1.9
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 +40 -0
- package/LICENSE +21 -0
- package/README.md +88 -2
- package/custom-elements.json +264 -0
- package/dist/index.cjs +540 -0
- package/dist/index.d.cts +181 -0
- package/dist/index.d.mts +181 -0
- package/dist/index.mjs +535 -0
- package/package.json +73 -3
- package/src/Pagination.ts +472 -0
- package/src/index.ts +4 -0
- package/src/internal/paginationItems.ts +137 -0
- package/src/themes/base.css +74 -0
- package/src/themes/bootstrap.css +46 -0
- package/src/themes/material.css +44 -0
- package/src/themes/shadcn.css +48 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @rozie-ui/pagination-lit
|
|
2
|
+
|
|
3
|
+
## 0.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3c4b293: README fixes: Angular examples use the component's `<rozie-pagination>` selector (the PascalCase tag they showed fails to compile with NG8001); the Svelte theming import is shown as a TypeScript snippet.
|
|
8
|
+
|
|
9
|
+
## 0.1.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 05cb9db: First release of `@rozie-ui/pagination` on React, Vue, Svelte, Angular and Lit. The Solid leaf has been on npm since the 2026-09-26 wave; all six targets of the family now ship at the same version, so one version number means one component revision everywhere.
|
|
14
|
+
|
|
15
|
+
The headless, WAI-ARIA pagination control has a windowed page-item model (page numbers and ellipses with `siblingCount` / `boundaryCount`), a page count from either `totalPages` or `total` + `pageSize`, prev/next bounds, roving keyboard navigation, four scoped slots (`item`, `ellipsis`, `prevControl`, `nextControl`), a two-way `modelValue` (a `ControlValueAccessor` on Angular), a typed `change` event (`{ page }`), `goto` / `next` / `prev` / `first` / `last` handle verbs, and design-system token bridges for shadcn/ui, Material 3 and Bootstrap 5.
|
|
16
|
+
|
|
17
|
+
The Vue leaf ships a `web-types.json` and the Lit leaf a `custom-elements.json`, so JetBrains IDEs and `lit-plugin` complete the props, events and slots.
|
|
18
|
+
|
|
19
|
+
- 05cb9db: Pagination fixes found by the pre-release audit (all six targets):
|
|
20
|
+
- Activating a page from the keyboard (`Enter` on a page button) dropped focus to `<body>` on React, Vue, Svelte, Angular and Lit, because the list key included the item's position and every window shift re-created the button. Page numbers are now keyed by value, so focus stays on the page just chosen.
|
|
21
|
+
- Lit: the arrow keys always jumped to "Previous page", because the focused control was read from the document, which stops at the shadow host. It is read from the pager's own root now.
|
|
22
|
+
- `change` now has a declared payload, `PaginationChangePayload` (`{ page: number }`, exported from the package entry). Before, the Angular output was `unknown` (so `p.page` failed to compile) and Lit had no typed `addEventListener('change')`. A handler written against a different payload shape may now be rejected by the type checker.
|
|
23
|
+
- The four slot contexts and the handle are typed: `item` / `ellipsis` / `prevControl` / `nextControl` receive `page: number`, `selected: boolean`, `disabled: boolean`, `index: number` and `goto: () => void`; `goto(page: number)`, `next()`, `prev()`, `first()` and `last()` are typed on the handle (they were `any`). A call with a wrong argument is now a type error.
|
|
24
|
+
|
|
25
|
+
- 05cb9db: Regenerated with kebab-case attributes for multi-word props: a prop such as `idBase` is now observed as `id-base` (it was the lowercased `idbase`), matching the model props and what a Rozie consumer writes. These packages are new, so the kebab attribute (or the property) is the only form there is.
|
|
26
|
+
- @rozie/runtime-lit@0.10.1
|
|
27
|
+
|
|
28
|
+
## 0.1.2
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [c279a7e]
|
|
33
|
+
- @rozie/runtime-lit@0.2.1
|
|
34
|
+
|
|
35
|
+
## 0.1.1
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [364f4c5]
|
|
40
|
+
- @rozie/runtime-lit@0.2.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 One Learning Community LTD
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,89 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @rozie-ui/pagination-lit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Idiomatic **lit** `Pagination` — a headless, fully-accessible (WAI-ARIA) pagination control (a windowed page-item model with ellipses, sibling/boundary windowing, prev/next bounds, roving keyboard navigation, and a `<nav>` landmark) compiled from one [Rozie](https://github.com/One-Learning-Community/rozie.js) source. It is HEADLESS: expose the page-item model and render each control yourself via the scoped slots, or accept the default token-themed buttons. Every visual value is a CSS custom property, so it re-skins to any design system. This package is generated; do not edit `src/` by hand.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i @rozie-ui/pagination-lit
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Peer dependencies: `lit + @lit-labs/preact-signals + @preact/signals-core`. Install them alongside this package.
|
|
12
|
+
|
|
13
|
+
Also installed: `@rozie/runtime-lit` — Rozie's small, tree-shaken runtime helper package (controllable state, keyboard navigation, event modifiers, and safe interpolation). It arrives as a regular dependency, so npm pulls it for you. Your bundler keeps only the helpers this component actually uses — typically a few hundred bytes to a few KB, minified and gzipped. [What's in it and what it costs](https://github.com/One-Learning-Community/rozie.js/blob/main/docs/guide/output-and-runtime.md).
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import '@rozie-ui/pagination-lit';
|
|
19
|
+
|
|
20
|
+
// <rozie-pagination> is a custom element. Bind `modelValue`/`total`/`pageSize`
|
|
21
|
+
// as properties and listen for `model-value-change` (the two-way page) +
|
|
22
|
+
// `change` (the page-change event).
|
|
23
|
+
const el = document.querySelector('rozie-pagination');
|
|
24
|
+
el.total = 195;
|
|
25
|
+
el.pageSize = 10;
|
|
26
|
+
el.modelValue = 1;
|
|
27
|
+
el.addEventListener('model-value-change', (e) => {
|
|
28
|
+
el.modelValue = e.detail;
|
|
29
|
+
});
|
|
30
|
+
el.addEventListener('change', (e) => {
|
|
31
|
+
console.log('page:', e.detail.page);
|
|
32
|
+
});
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Theming
|
|
36
|
+
|
|
37
|
+
Every visual value is a `--rozie-pagination-*` CSS custom property — override any of them at any ancestor scope. Ready-made design-system bridges ship in the package:
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
import '@rozie-ui/pagination-lit/themes/shadcn.css'; // or material.css, bootstrap.css, base.css
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Props
|
|
44
|
+
|
|
45
|
+
| Name | Type | Default | Two-way (model) | Required | Description |
|
|
46
|
+
| --- | --- | --- | :---: | :---: | --- |
|
|
47
|
+
| `modelValue` | `Number` | `1` | ✓ | | The 1-based current page (two-way model). Clamped into `[1, totalPages]`. Bind it with `r-model:modelValue` / `v-model:modelValue` / `modelValue` + `onModelValueChange`; it is also the Angular ControlValueAccessor control value. |
|
|
48
|
+
| `totalPages` | `Number` | `null` | | | Explicit total page count. When provided (> 0) it takes precedence over `total` + `pageSize`. Use it when the backend already reports the page count. |
|
|
49
|
+
| `total` | `Number` | `null` | | | Total item count. Combined with `pageSize` to derive the page count (`ceil(total / pageSize)`) when `totalPages` is not given. |
|
|
50
|
+
| `pageSize` | `Number` | `null` | | | Items per page. Combined with `total` to derive the page count when `totalPages` is not given. |
|
|
51
|
+
| `siblingCount` | `Number` | `1` | | | Number of page buttons shown on each side of the current page (the sibling window). Larger values show more context around the current page. |
|
|
52
|
+
| `boundaryCount` | `Number` | `1` | | | Number of page buttons always shown at each boundary (the first and last `boundaryCount` pages), regardless of the current page. |
|
|
53
|
+
| `disabled` | `Boolean` | `false` | | | Disable the entire control — every page button and the prev/next controls become non-interactive and are marked `aria-disabled`. |
|
|
54
|
+
| `ariaLabel` | `String` | `"Pagination"` | | | Accessible name for the surrounding `<nav>` landmark (its `aria-label`). Defaults to `"Pagination"`. |
|
|
55
|
+
|
|
56
|
+
## Events
|
|
57
|
+
|
|
58
|
+
| Event | Description |
|
|
59
|
+
| --- | --- |
|
|
60
|
+
| `change` | Fired whenever the current page changes (a page button, prev/next, or a programmatic `goto`/`next`/`prev`/`first`/`last`). Payload `{ page }` — the new clamped 1-based page. Not fired when the target page equals the current page. |
|
|
61
|
+
|
|
62
|
+
## Imperative handle
|
|
63
|
+
|
|
64
|
+
Beyond props, the component exposes imperative methods (declared once in the Rozie source via `$expose`). Grab a handle with the native ref mechanism and call them directly:
|
|
65
|
+
|
|
66
|
+
| Method | Description |
|
|
67
|
+
| --- | --- |
|
|
68
|
+
| `goto` | Go to a specific 1-based page; the argument is clamped into `[1, totalPages]`. Emits `change` unless the target equals the current page. |
|
|
69
|
+
| `next` | Advance to the next page (no-op at the last page). Emits `change` on success. |
|
|
70
|
+
| `prev` | Go back to the previous page (no-op at the first page). Emits `change` on success. |
|
|
71
|
+
| `first` | Jump to the first page (page 1). Emits `change` unless already there. |
|
|
72
|
+
| `last` | Jump to the last page (the effective `totalPages`). Emits `change` unless already there. |
|
|
73
|
+
|
|
74
|
+
```ts
|
|
75
|
+
// The custom element IS the handle — exposed methods are public element methods.
|
|
76
|
+
const el = document.querySelector('rozie-pagination');
|
|
77
|
+
el.goto(5);
|
|
78
|
+
el.next();
|
|
79
|
+
el.first();
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Slots
|
|
83
|
+
|
|
84
|
+
| Slot | Params |
|
|
85
|
+
| --- | --- |
|
|
86
|
+
| prevControl | disabled, goto, page |
|
|
87
|
+
| ellipsis | index |
|
|
88
|
+
| item | page, selected, goto |
|
|
89
|
+
| nextControl | disabled, goto, page |
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "2.1.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "dist/index.mjs",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "Headless, WAI-ARIA accessible pagination control — a windowed page-item model (numbers + ellipses), prev/next bounds, roving keyboard navigation, scoped slots, and a two-way `modelValue` page binding.",
|
|
12
|
+
"name": "Pagination",
|
|
13
|
+
"tagName": "rozie-pagination",
|
|
14
|
+
"customElement": true,
|
|
15
|
+
"superclass": {
|
|
16
|
+
"name": "LitElement",
|
|
17
|
+
"package": "lit"
|
|
18
|
+
},
|
|
19
|
+
"members": [
|
|
20
|
+
{
|
|
21
|
+
"kind": "field",
|
|
22
|
+
"name": "modelValue",
|
|
23
|
+
"description": "The 1-based current page (two-way model). Clamped into `[1, totalPages]`. Bind it with `r-model:modelValue` / `v-model:modelValue` / `modelValue` + `onModelValueChange`; it is also the Angular ControlValueAccessor control value.",
|
|
24
|
+
"type": {
|
|
25
|
+
"text": "number"
|
|
26
|
+
},
|
|
27
|
+
"attribute": "model-value",
|
|
28
|
+
"default": "1"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"kind": "field",
|
|
32
|
+
"name": "totalPages",
|
|
33
|
+
"description": "Explicit total page count. When provided (> 0) it takes precedence over `total` + `pageSize`. Use it when the backend already reports the page count.",
|
|
34
|
+
"type": {
|
|
35
|
+
"text": "number"
|
|
36
|
+
},
|
|
37
|
+
"attribute": "total-pages",
|
|
38
|
+
"default": "null"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"kind": "field",
|
|
42
|
+
"name": "total",
|
|
43
|
+
"description": "Total item count. Combined with `pageSize` to derive the page count (`ceil(total / pageSize)`) when `totalPages` is not given.",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "number"
|
|
46
|
+
},
|
|
47
|
+
"attribute": "total",
|
|
48
|
+
"default": "null"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "pageSize",
|
|
53
|
+
"description": "Items per page. Combined with `total` to derive the page count when `totalPages` is not given.",
|
|
54
|
+
"type": {
|
|
55
|
+
"text": "number"
|
|
56
|
+
},
|
|
57
|
+
"attribute": "page-size",
|
|
58
|
+
"default": "null"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "field",
|
|
62
|
+
"name": "siblingCount",
|
|
63
|
+
"description": "Number of page buttons shown on each side of the current page (the sibling window). Larger values show more context around the current page.",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "number"
|
|
66
|
+
},
|
|
67
|
+
"attribute": "sibling-count",
|
|
68
|
+
"default": "1"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "field",
|
|
72
|
+
"name": "boundaryCount",
|
|
73
|
+
"description": "Number of page buttons always shown at each boundary (the first and last `boundaryCount` pages), regardless of the current page.",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "number"
|
|
76
|
+
},
|
|
77
|
+
"attribute": "boundary-count",
|
|
78
|
+
"default": "1"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "field",
|
|
82
|
+
"name": "disabled",
|
|
83
|
+
"description": "Disable the entire control — every page button and the prev/next controls become non-interactive and are marked `aria-disabled`.",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "boolean"
|
|
86
|
+
},
|
|
87
|
+
"attribute": "disabled",
|
|
88
|
+
"default": "false"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "ariaLabel",
|
|
93
|
+
"description": "Accessible name for the surrounding `<nav>` landmark (its `aria-label`). Defaults to `\"Pagination\"`.",
|
|
94
|
+
"type": {
|
|
95
|
+
"text": "string"
|
|
96
|
+
},
|
|
97
|
+
"attribute": "aria-label",
|
|
98
|
+
"default": "\"Pagination\""
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "method",
|
|
102
|
+
"name": "goto",
|
|
103
|
+
"description": "Go to a specific 1-based page; the argument is clamped into `[1, totalPages]`. Emits `change` unless the target equals the current page."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "method",
|
|
107
|
+
"name": "next",
|
|
108
|
+
"description": "Advance to the next page (no-op at the last page). Emits `change` on success."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "method",
|
|
112
|
+
"name": "prev",
|
|
113
|
+
"description": "Go back to the previous page (no-op at the first page). Emits `change` on success."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "method",
|
|
117
|
+
"name": "first",
|
|
118
|
+
"description": "Jump to the first page (page 1). Emits `change` unless already there."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "method",
|
|
122
|
+
"name": "last",
|
|
123
|
+
"description": "Jump to the last page (the effective `totalPages`). Emits `change` unless already there."
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"attributes": [
|
|
127
|
+
{
|
|
128
|
+
"name": "model-value",
|
|
129
|
+
"description": "The 1-based current page (two-way model). Clamped into `[1, totalPages]`. Bind it with `r-model:modelValue` / `v-model:modelValue` / `modelValue` + `onModelValueChange`; it is also the Angular ControlValueAccessor control value.",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "number"
|
|
132
|
+
},
|
|
133
|
+
"fieldName": "modelValue",
|
|
134
|
+
"default": "1"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "total-pages",
|
|
138
|
+
"description": "Explicit total page count. When provided (> 0) it takes precedence over `total` + `pageSize`. Use it when the backend already reports the page count.",
|
|
139
|
+
"type": {
|
|
140
|
+
"text": "number"
|
|
141
|
+
},
|
|
142
|
+
"fieldName": "totalPages",
|
|
143
|
+
"default": "null"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "total",
|
|
147
|
+
"description": "Total item count. Combined with `pageSize` to derive the page count (`ceil(total / pageSize)`) when `totalPages` is not given.",
|
|
148
|
+
"type": {
|
|
149
|
+
"text": "number"
|
|
150
|
+
},
|
|
151
|
+
"fieldName": "total",
|
|
152
|
+
"default": "null"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "page-size",
|
|
156
|
+
"description": "Items per page. Combined with `total` to derive the page count when `totalPages` is not given.",
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "number"
|
|
159
|
+
},
|
|
160
|
+
"fieldName": "pageSize",
|
|
161
|
+
"default": "null"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "sibling-count",
|
|
165
|
+
"description": "Number of page buttons shown on each side of the current page (the sibling window). Larger values show more context around the current page.",
|
|
166
|
+
"type": {
|
|
167
|
+
"text": "number"
|
|
168
|
+
},
|
|
169
|
+
"fieldName": "siblingCount",
|
|
170
|
+
"default": "1"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "boundary-count",
|
|
174
|
+
"description": "Number of page buttons always shown at each boundary (the first and last `boundaryCount` pages), regardless of the current page.",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "number"
|
|
177
|
+
},
|
|
178
|
+
"fieldName": "boundaryCount",
|
|
179
|
+
"default": "1"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "disabled",
|
|
183
|
+
"description": "Disable the entire control — every page button and the prev/next controls become non-interactive and are marked `aria-disabled`.",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "boolean"
|
|
186
|
+
},
|
|
187
|
+
"fieldName": "disabled",
|
|
188
|
+
"default": "false"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "aria-label",
|
|
192
|
+
"description": "Accessible name for the surrounding `<nav>` landmark (its `aria-label`). Defaults to `\"Pagination\"`.",
|
|
193
|
+
"type": {
|
|
194
|
+
"text": "string"
|
|
195
|
+
},
|
|
196
|
+
"fieldName": "ariaLabel",
|
|
197
|
+
"default": "\"Pagination\""
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"events": [
|
|
201
|
+
{
|
|
202
|
+
"name": "change",
|
|
203
|
+
"type": {
|
|
204
|
+
"text": "CustomEvent"
|
|
205
|
+
},
|
|
206
|
+
"description": "Fired whenever the current page changes (a page button, prev/next, or a programmatic `goto`/`next`/`prev`/`first`/`last`). Payload `{ page }` — the new clamped 1-based page. Not fired when the target page equals the current page."
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "model-value-change",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "CustomEvent"
|
|
212
|
+
},
|
|
213
|
+
"description": "Fired with the updated `modelValue` (`event.detail`) when it changes."
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"slots": [
|
|
217
|
+
{
|
|
218
|
+
"name": "prevControl",
|
|
219
|
+
"description": "Scoped slot — props: disabled, goto, page."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "ellipsis",
|
|
223
|
+
"description": "Scoped slot — props: index."
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "item",
|
|
227
|
+
"description": "Scoped slot — props: page, selected, goto."
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "nextControl",
|
|
231
|
+
"description": "Scoped slot — props: disabled, goto, page."
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"exports": [
|
|
237
|
+
{
|
|
238
|
+
"kind": "js",
|
|
239
|
+
"name": "Pagination",
|
|
240
|
+
"declaration": {
|
|
241
|
+
"name": "Pagination",
|
|
242
|
+
"module": "dist/index.mjs"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"kind": "js",
|
|
247
|
+
"name": "default",
|
|
248
|
+
"declaration": {
|
|
249
|
+
"name": "Pagination",
|
|
250
|
+
"module": "dist/index.mjs"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "custom-element-definition",
|
|
255
|
+
"name": "rozie-pagination",
|
|
256
|
+
"declaration": {
|
|
257
|
+
"name": "Pagination",
|
|
258
|
+
"module": "dist/index.mjs"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
}
|