ionbase-ui 0.46.0 → 0.48.0
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/dist/components/Pagination.d.ts +50 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination.js +88 -0
- package/dist/components/Pagination.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/figma-descriptions.json +44 -39
- package/dist/figma-map.json +60 -3
- package/dist/meta/Pagination.json +200 -0
- package/dist/meta/components.json +201 -1
- package/dist/meta/contrast.json +881 -2003
- package/dist/meta/index.json +18 -1
- package/dist/meta/pageItems.json +16 -0
- package/dist/meta/patterns/index.json +1 -1
- package/dist/styles/avatar-gradient.css +30 -24
- package/dist/styles/index.css +1 -0
- package/dist/styles/pagination.css +170 -0
- package/llms.txt +2 -2
- package/package.json +1 -1
package/dist/figma-map.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"figmaFile": "gaLbGd0QNb1fUl6BjSpfBA",
|
|
5
|
-
"figmaExported": "2026-09-
|
|
5
|
+
"figmaExported": "2026-09-05",
|
|
6
6
|
"usage": "Given a Figma node id or component name, look it up here for the React component, its import, and how each Figma property maps onto a real prop. Every mapping is verified against both the Figma export and the TypeScript API on each build.",
|
|
7
7
|
"generated": "by scripts/verify-figma-map.mjs — do not edit",
|
|
8
8
|
"byNodeId": {
|
|
@@ -1288,6 +1288,34 @@
|
|
|
1288
1288
|
"prop": "basis"
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
|
+
},
|
|
1292
|
+
"1291:503": {
|
|
1293
|
+
"figmaComponent": "Pagination",
|
|
1294
|
+
"figmaNodeId": "1291:503",
|
|
1295
|
+
"figmaPage": "Pagination",
|
|
1296
|
+
"component": "Pagination",
|
|
1297
|
+
"import": "import { Pagination } from 'ionbase-ui';",
|
|
1298
|
+
"docs": "components/pagination/index.html.md",
|
|
1299
|
+
"props": {
|
|
1300
|
+
"Type": {
|
|
1301
|
+
"prop": "type",
|
|
1302
|
+
"values": {
|
|
1303
|
+
"Numbered": "numbered",
|
|
1304
|
+
"Simple": "simple"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
"Size": {
|
|
1308
|
+
"prop": "size",
|
|
1309
|
+
"values": {
|
|
1310
|
+
"Small": "sm",
|
|
1311
|
+
"Medium": "md",
|
|
1312
|
+
"Large": "lg"
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"Show Page Size#1291:0": {
|
|
1316
|
+
"prop": "showPageSize"
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1291
1319
|
}
|
|
1292
1320
|
},
|
|
1293
1321
|
"byFigmaName": {
|
|
@@ -2573,6 +2601,34 @@
|
|
|
2573
2601
|
"prop": "basis"
|
|
2574
2602
|
}
|
|
2575
2603
|
}
|
|
2604
|
+
},
|
|
2605
|
+
"Pagination": {
|
|
2606
|
+
"figmaComponent": "Pagination",
|
|
2607
|
+
"figmaNodeId": "1291:503",
|
|
2608
|
+
"figmaPage": "Pagination",
|
|
2609
|
+
"component": "Pagination",
|
|
2610
|
+
"import": "import { Pagination } from 'ionbase-ui';",
|
|
2611
|
+
"docs": "components/pagination/index.html.md",
|
|
2612
|
+
"props": {
|
|
2613
|
+
"Type": {
|
|
2614
|
+
"prop": "type",
|
|
2615
|
+
"values": {
|
|
2616
|
+
"Numbered": "numbered",
|
|
2617
|
+
"Simple": "simple"
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
"Size": {
|
|
2621
|
+
"prop": "size",
|
|
2622
|
+
"values": {
|
|
2623
|
+
"Small": "sm",
|
|
2624
|
+
"Medium": "md",
|
|
2625
|
+
"Large": "lg"
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
"Show Page Size#1291:0": {
|
|
2629
|
+
"prop": "showPageSize"
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2576
2632
|
}
|
|
2577
2633
|
},
|
|
2578
2634
|
"unmapped": {
|
|
@@ -2583,7 +2639,8 @@
|
|
|
2583
2639
|
"Line": "An internal part of the Scroll Progress rail, not a component a caller composes.",
|
|
2584
2640
|
"Progress": "As Line — internal to ScrollProgress.",
|
|
2585
2641
|
"Progress Heading": "As Line — internal to ScrollProgress.",
|
|
2586
|
-
".Status Indicator": "The dot Avatar draws in its corners. Avatar owns both instances — Top is Intent=Primary with the check glyph, Bottom is Intent=Success with Show Icon off — and exposes them as `topIndicator` / `bottomIndicator`.\n\nThe leading dot in the name is Figma's own marker for a private component: it is excluded from the published library, so a designer cannot place one on a canvas even if they wanted to. That settles a question this entry used to argue: it is internal by the file's own declaration, not merely by our reading of it. The same call Line, Progress and Progress Heading get for being internal to ScrollProgress — with better evidence.\n\nMap it only if the dot is ever removed."
|
|
2642
|
+
".Status Indicator": "The dot Avatar draws in its corners. Avatar owns both instances — Top is Intent=Primary with the check glyph, Bottom is Intent=Success with Show Icon off — and exposes them as `topIndicator` / `bottomIndicator`.\n\nThe leading dot in the name is Figma's own marker for a private component: it is excluded from the published library, so a designer cannot place one on a canvas even if they wanted to. That settles a question this entry used to argue: it is internal by the file's own declaration, not merely by our reading of it. The same call Line, Progress and Progress Heading get for being internal to ScrollProgress — with better evidence.\n\nMap it only if the dot is ever removed.",
|
|
2643
|
+
"Pagination Item": "The cell inside Pagination — a page number, an arrow or the truncation ellipsis. Figma needs it as its own set to hold the Size x State matrix; a caller never places one, so it is internal to Pagination the way Line and Progress are internal to Scroll Progress."
|
|
2587
2644
|
},
|
|
2588
2645
|
"codeUnmapped": {
|
|
2589
2646
|
"Icon": "Figma has no Icon component; icons are vector assets dropped into slots. Icon is the React wrapper that gives any of them a size rung and an accessible label, so there is nothing on the Figma side to point at.",
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Pagination",
|
|
3
|
+
"source": "src/components/Pagination.tsx",
|
|
4
|
+
"propsType": "PaginationProps",
|
|
5
|
+
"description": "Page navigation for a table or list.\n\nGeometry from the Figma `Pagination` (1291:503) and `Pagination Item`\n(1283:289) components. The Figma item set is not exported — a caller places a\nPagination, never a cell.",
|
|
6
|
+
"import": "import { Pagination } from 'ionbase-ui';",
|
|
7
|
+
"status": "stable",
|
|
8
|
+
"summary": "Page navigation for a table or list. Renders prev/next arrows, a truncated run of page numbers, and an optional rows-per-page Select.",
|
|
9
|
+
"useWhen": [
|
|
10
|
+
"a result set is split into pages and the user needs to move between them",
|
|
11
|
+
"the total number of pages is known — the numbered run needs a last page to anchor to"
|
|
12
|
+
],
|
|
13
|
+
"useInstead": [
|
|
14
|
+
{
|
|
15
|
+
"when": "the total is unknown or unbounded, as with a cursor-based or infinite feed",
|
|
16
|
+
"use": "Button",
|
|
17
|
+
"why": "a numbered pager has to draw a last page; with no total there is nothing to draw, and a bare Load more button is honest about that"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"when": "the user is moving between peer views rather than through one long list",
|
|
21
|
+
"use": "Tabs",
|
|
22
|
+
"why": "pagination implies a sequence with a position; tabs are peers in any order"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"when": "it is navigation between pages of the app rather than pages of data",
|
|
26
|
+
"use": "NavItem"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"variants": {
|
|
30
|
+
"type": {
|
|
31
|
+
"numbered": {
|
|
32
|
+
"use": "the default — prev, the page numbers, next. Use wherever the numbers fit"
|
|
33
|
+
},
|
|
34
|
+
"simple": {
|
|
35
|
+
"use": "prev, \"Page N of M\", next. For drawers, narrow columns and mobile, where a numbered run would wrap or truncate to uselessness"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"size": {
|
|
39
|
+
"sm": {
|
|
40
|
+
"use": "dense tables, and toolbars"
|
|
41
|
+
},
|
|
42
|
+
"md": {
|
|
43
|
+
"use": "the default"
|
|
44
|
+
},
|
|
45
|
+
"lg": {
|
|
46
|
+
"use": "roomy layouts, and touch targets on tablet"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"a11y": {
|
|
51
|
+
"role": "navigation / list",
|
|
52
|
+
"guarantees": [
|
|
53
|
+
"the whole control is a landmark — a `nav` with an accessible name, defaulting to \"Pagination\"",
|
|
54
|
+
"the current page carries `aria-current=\"page\"`, not `aria-pressed`: this is a position in a set, not a toggle",
|
|
55
|
+
"every cell has an explicit label — \"Go to page 4\", \"Go to previous page\" — so a screen reader never announces a bare digit",
|
|
56
|
+
"the ellipsis is `aria-hidden` and not focusable: it marks absent pages, and a tab stop that does nothing when activated is worse than no tab stop",
|
|
57
|
+
"in `simple`, the \"Page N of M\" text is an `aria-live=\"polite\"` region, because the page can change without anything else on screen announcing it",
|
|
58
|
+
"prev and next are genuinely `disabled` at the ends rather than styled to look it",
|
|
59
|
+
"the focus ring shows for keyboard focus only, and hover does not latch on touch"
|
|
60
|
+
],
|
|
61
|
+
"requires": [
|
|
62
|
+
"`aria-label` when more than one Pagination is on a page — two identically named landmarks are two indistinguishable landmarks",
|
|
63
|
+
"`pageSize` when `showPageSize` is set, or the rows-per-page Select renders with nothing selected"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"antiPatterns": [
|
|
67
|
+
{
|
|
68
|
+
"avoid": "passing `pageCount={0}` for an empty result set",
|
|
69
|
+
"instead": "render EmptyState and no pager — the component clamps to a single page, which draws a lone disabled `1` that says a page exists when none does"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"avoid": "raising `siblingCount` to avoid truncation",
|
|
73
|
+
"instead": "switch to `type=\"simple\"`. Widening the run past the container is the problem truncation exists to solve, and it reappears one breakpoint down"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"avoid": "treating `page` as 0-based",
|
|
77
|
+
"instead": "it is 1-based, matching what the numbers say. An off-by-one here is silent — the pager looks right and fetches the wrong rows"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"stylesheet": "src/styles/pagination.css",
|
|
81
|
+
"tokens": [
|
|
82
|
+
"--border-focus",
|
|
83
|
+
"--border-width-thick",
|
|
84
|
+
"--font-family-sans",
|
|
85
|
+
"--font-weight-medium",
|
|
86
|
+
"--font-weight-regular",
|
|
87
|
+
"--icon-size-lg",
|
|
88
|
+
"--icon-size-md",
|
|
89
|
+
"--icon-size-xs",
|
|
90
|
+
"--ion-duration-base",
|
|
91
|
+
"--ion-ease-out",
|
|
92
|
+
"--ion-pagination-box",
|
|
93
|
+
"--ion-pagination-font-size",
|
|
94
|
+
"--ion-pagination-icon",
|
|
95
|
+
"--ion-pagination-line-height",
|
|
96
|
+
"--radius-md",
|
|
97
|
+
"--spacing-16",
|
|
98
|
+
"--spacing-2",
|
|
99
|
+
"--spacing-32",
|
|
100
|
+
"--spacing-4",
|
|
101
|
+
"--spacing-40",
|
|
102
|
+
"--spacing-48",
|
|
103
|
+
"--spacing-6",
|
|
104
|
+
"--spacing-8",
|
|
105
|
+
"--surface-hover",
|
|
106
|
+
"--surface-selected",
|
|
107
|
+
"--surface-selected-hover",
|
|
108
|
+
"--text-default",
|
|
109
|
+
"--text-disabled",
|
|
110
|
+
"--text-secondary",
|
|
111
|
+
"--text-tertiary",
|
|
112
|
+
"--type-body",
|
|
113
|
+
"--type-body-lg",
|
|
114
|
+
"--type-body-lg-line-height",
|
|
115
|
+
"--type-body-line-height",
|
|
116
|
+
"--type-body-sm",
|
|
117
|
+
"--type-body-sm-line-height"
|
|
118
|
+
],
|
|
119
|
+
"props": {
|
|
120
|
+
"page": {
|
|
121
|
+
"type": "number",
|
|
122
|
+
"required": true,
|
|
123
|
+
"origin": "own",
|
|
124
|
+
"description": "The current page, 1-based."
|
|
125
|
+
},
|
|
126
|
+
"pageCount": {
|
|
127
|
+
"type": "number",
|
|
128
|
+
"required": true,
|
|
129
|
+
"origin": "own",
|
|
130
|
+
"description": "Total number of pages. One or more."
|
|
131
|
+
},
|
|
132
|
+
"onPageChange": {
|
|
133
|
+
"type": "((page: number) => void) | undefined",
|
|
134
|
+
"required": false,
|
|
135
|
+
"origin": "own",
|
|
136
|
+
"description": "Called with the requested page. Not called for the current page."
|
|
137
|
+
},
|
|
138
|
+
"type": {
|
|
139
|
+
"type": "PaginationType | undefined",
|
|
140
|
+
"required": false,
|
|
141
|
+
"origin": "own",
|
|
142
|
+
"description": "Matches the Figma `Type` variant.",
|
|
143
|
+
"values": [
|
|
144
|
+
"numbered",
|
|
145
|
+
"simple"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"size": {
|
|
149
|
+
"type": "PaginationSize | undefined",
|
|
150
|
+
"required": false,
|
|
151
|
+
"origin": "own",
|
|
152
|
+
"description": "Matches the Figma `Size` variant.",
|
|
153
|
+
"values": [
|
|
154
|
+
"sm",
|
|
155
|
+
"md",
|
|
156
|
+
"lg"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"siblingCount": {
|
|
160
|
+
"type": "number | undefined",
|
|
161
|
+
"required": false,
|
|
162
|
+
"origin": "own",
|
|
163
|
+
"description": "How many pages to show either side of the current one. The first and last\nare always shown, so the widest run is `siblingCount * 2 + 5`."
|
|
164
|
+
},
|
|
165
|
+
"showPageSize": {
|
|
166
|
+
"type": "boolean | undefined",
|
|
167
|
+
"required": false,
|
|
168
|
+
"origin": "own",
|
|
169
|
+
"description": "Renders the rows-per-page control. Matches the Figma `Show Page Size`."
|
|
170
|
+
},
|
|
171
|
+
"pageSize": {
|
|
172
|
+
"type": "number | undefined",
|
|
173
|
+
"required": false,
|
|
174
|
+
"origin": "own",
|
|
175
|
+
"description": "Current rows-per-page value. Required when `showPageSize`."
|
|
176
|
+
},
|
|
177
|
+
"pageSizeOptions": {
|
|
178
|
+
"type": "number[] | undefined",
|
|
179
|
+
"required": false,
|
|
180
|
+
"origin": "own",
|
|
181
|
+
"description": "Options offered by the rows-per-page control."
|
|
182
|
+
},
|
|
183
|
+
"onPageSizeChange": {
|
|
184
|
+
"type": "((pageSize: number) => void) | undefined",
|
|
185
|
+
"required": false,
|
|
186
|
+
"origin": "own"
|
|
187
|
+
},
|
|
188
|
+
"className": {
|
|
189
|
+
"type": "string | undefined",
|
|
190
|
+
"required": false,
|
|
191
|
+
"origin": "own"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"propCounts": {
|
|
195
|
+
"own": 11,
|
|
196
|
+
"aria": 0,
|
|
197
|
+
"dom": 276,
|
|
198
|
+
"other": 0
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"generated": "by scripts/build-meta.mjs — do not edit; intent lives in meta/*.json",
|
|
5
5
|
"hooks": [
|
|
6
6
|
"useToast"
|
|
@@ -5224,6 +5224,206 @@
|
|
|
5224
5224
|
"other": 0
|
|
5225
5225
|
}
|
|
5226
5226
|
},
|
|
5227
|
+
"Pagination": {
|
|
5228
|
+
"name": "Pagination",
|
|
5229
|
+
"source": "src/components/Pagination.tsx",
|
|
5230
|
+
"propsType": "PaginationProps",
|
|
5231
|
+
"description": "Page navigation for a table or list.\n\nGeometry from the Figma `Pagination` (1291:503) and `Pagination Item`\n(1283:289) components. The Figma item set is not exported — a caller places a\nPagination, never a cell.",
|
|
5232
|
+
"import": "import { Pagination } from 'ionbase-ui';",
|
|
5233
|
+
"status": "stable",
|
|
5234
|
+
"summary": "Page navigation for a table or list. Renders prev/next arrows, a truncated run of page numbers, and an optional rows-per-page Select.",
|
|
5235
|
+
"useWhen": [
|
|
5236
|
+
"a result set is split into pages and the user needs to move between them",
|
|
5237
|
+
"the total number of pages is known — the numbered run needs a last page to anchor to"
|
|
5238
|
+
],
|
|
5239
|
+
"useInstead": [
|
|
5240
|
+
{
|
|
5241
|
+
"when": "the total is unknown or unbounded, as with a cursor-based or infinite feed",
|
|
5242
|
+
"use": "Button",
|
|
5243
|
+
"why": "a numbered pager has to draw a last page; with no total there is nothing to draw, and a bare Load more button is honest about that"
|
|
5244
|
+
},
|
|
5245
|
+
{
|
|
5246
|
+
"when": "the user is moving between peer views rather than through one long list",
|
|
5247
|
+
"use": "Tabs",
|
|
5248
|
+
"why": "pagination implies a sequence with a position; tabs are peers in any order"
|
|
5249
|
+
},
|
|
5250
|
+
{
|
|
5251
|
+
"when": "it is navigation between pages of the app rather than pages of data",
|
|
5252
|
+
"use": "NavItem"
|
|
5253
|
+
}
|
|
5254
|
+
],
|
|
5255
|
+
"variants": {
|
|
5256
|
+
"type": {
|
|
5257
|
+
"numbered": {
|
|
5258
|
+
"use": "the default — prev, the page numbers, next. Use wherever the numbers fit"
|
|
5259
|
+
},
|
|
5260
|
+
"simple": {
|
|
5261
|
+
"use": "prev, \"Page N of M\", next. For drawers, narrow columns and mobile, where a numbered run would wrap or truncate to uselessness"
|
|
5262
|
+
}
|
|
5263
|
+
},
|
|
5264
|
+
"size": {
|
|
5265
|
+
"sm": {
|
|
5266
|
+
"use": "dense tables, and toolbars"
|
|
5267
|
+
},
|
|
5268
|
+
"md": {
|
|
5269
|
+
"use": "the default"
|
|
5270
|
+
},
|
|
5271
|
+
"lg": {
|
|
5272
|
+
"use": "roomy layouts, and touch targets on tablet"
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5276
|
+
"a11y": {
|
|
5277
|
+
"role": "navigation / list",
|
|
5278
|
+
"guarantees": [
|
|
5279
|
+
"the whole control is a landmark — a `nav` with an accessible name, defaulting to \"Pagination\"",
|
|
5280
|
+
"the current page carries `aria-current=\"page\"`, not `aria-pressed`: this is a position in a set, not a toggle",
|
|
5281
|
+
"every cell has an explicit label — \"Go to page 4\", \"Go to previous page\" — so a screen reader never announces a bare digit",
|
|
5282
|
+
"the ellipsis is `aria-hidden` and not focusable: it marks absent pages, and a tab stop that does nothing when activated is worse than no tab stop",
|
|
5283
|
+
"in `simple`, the \"Page N of M\" text is an `aria-live=\"polite\"` region, because the page can change without anything else on screen announcing it",
|
|
5284
|
+
"prev and next are genuinely `disabled` at the ends rather than styled to look it",
|
|
5285
|
+
"the focus ring shows for keyboard focus only, and hover does not latch on touch"
|
|
5286
|
+
],
|
|
5287
|
+
"requires": [
|
|
5288
|
+
"`aria-label` when more than one Pagination is on a page — two identically named landmarks are two indistinguishable landmarks",
|
|
5289
|
+
"`pageSize` when `showPageSize` is set, or the rows-per-page Select renders with nothing selected"
|
|
5290
|
+
]
|
|
5291
|
+
},
|
|
5292
|
+
"antiPatterns": [
|
|
5293
|
+
{
|
|
5294
|
+
"avoid": "passing `pageCount={0}` for an empty result set",
|
|
5295
|
+
"instead": "render EmptyState and no pager — the component clamps to a single page, which draws a lone disabled `1` that says a page exists when none does"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"avoid": "raising `siblingCount` to avoid truncation",
|
|
5299
|
+
"instead": "switch to `type=\"simple\"`. Widening the run past the container is the problem truncation exists to solve, and it reappears one breakpoint down"
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"avoid": "treating `page` as 0-based",
|
|
5303
|
+
"instead": "it is 1-based, matching what the numbers say. An off-by-one here is silent — the pager looks right and fetches the wrong rows"
|
|
5304
|
+
}
|
|
5305
|
+
],
|
|
5306
|
+
"stylesheet": "src/styles/pagination.css",
|
|
5307
|
+
"tokens": [
|
|
5308
|
+
"--border-focus",
|
|
5309
|
+
"--border-width-thick",
|
|
5310
|
+
"--font-family-sans",
|
|
5311
|
+
"--font-weight-medium",
|
|
5312
|
+
"--font-weight-regular",
|
|
5313
|
+
"--icon-size-lg",
|
|
5314
|
+
"--icon-size-md",
|
|
5315
|
+
"--icon-size-xs",
|
|
5316
|
+
"--ion-duration-base",
|
|
5317
|
+
"--ion-ease-out",
|
|
5318
|
+
"--ion-pagination-box",
|
|
5319
|
+
"--ion-pagination-font-size",
|
|
5320
|
+
"--ion-pagination-icon",
|
|
5321
|
+
"--ion-pagination-line-height",
|
|
5322
|
+
"--radius-md",
|
|
5323
|
+
"--spacing-16",
|
|
5324
|
+
"--spacing-2",
|
|
5325
|
+
"--spacing-32",
|
|
5326
|
+
"--spacing-4",
|
|
5327
|
+
"--spacing-40",
|
|
5328
|
+
"--spacing-48",
|
|
5329
|
+
"--spacing-6",
|
|
5330
|
+
"--spacing-8",
|
|
5331
|
+
"--surface-hover",
|
|
5332
|
+
"--surface-selected",
|
|
5333
|
+
"--surface-selected-hover",
|
|
5334
|
+
"--text-default",
|
|
5335
|
+
"--text-disabled",
|
|
5336
|
+
"--text-secondary",
|
|
5337
|
+
"--text-tertiary",
|
|
5338
|
+
"--type-body",
|
|
5339
|
+
"--type-body-lg",
|
|
5340
|
+
"--type-body-lg-line-height",
|
|
5341
|
+
"--type-body-line-height",
|
|
5342
|
+
"--type-body-sm",
|
|
5343
|
+
"--type-body-sm-line-height"
|
|
5344
|
+
],
|
|
5345
|
+
"props": {
|
|
5346
|
+
"page": {
|
|
5347
|
+
"type": "number",
|
|
5348
|
+
"required": true,
|
|
5349
|
+
"origin": "own",
|
|
5350
|
+
"description": "The current page, 1-based."
|
|
5351
|
+
},
|
|
5352
|
+
"pageCount": {
|
|
5353
|
+
"type": "number",
|
|
5354
|
+
"required": true,
|
|
5355
|
+
"origin": "own",
|
|
5356
|
+
"description": "Total number of pages. One or more."
|
|
5357
|
+
},
|
|
5358
|
+
"onPageChange": {
|
|
5359
|
+
"type": "((page: number) => void) | undefined",
|
|
5360
|
+
"required": false,
|
|
5361
|
+
"origin": "own",
|
|
5362
|
+
"description": "Called with the requested page. Not called for the current page."
|
|
5363
|
+
},
|
|
5364
|
+
"type": {
|
|
5365
|
+
"type": "PaginationType | undefined",
|
|
5366
|
+
"required": false,
|
|
5367
|
+
"origin": "own",
|
|
5368
|
+
"description": "Matches the Figma `Type` variant.",
|
|
5369
|
+
"values": [
|
|
5370
|
+
"numbered",
|
|
5371
|
+
"simple"
|
|
5372
|
+
]
|
|
5373
|
+
},
|
|
5374
|
+
"size": {
|
|
5375
|
+
"type": "PaginationSize | undefined",
|
|
5376
|
+
"required": false,
|
|
5377
|
+
"origin": "own",
|
|
5378
|
+
"description": "Matches the Figma `Size` variant.",
|
|
5379
|
+
"values": [
|
|
5380
|
+
"sm",
|
|
5381
|
+
"md",
|
|
5382
|
+
"lg"
|
|
5383
|
+
]
|
|
5384
|
+
},
|
|
5385
|
+
"siblingCount": {
|
|
5386
|
+
"type": "number | undefined",
|
|
5387
|
+
"required": false,
|
|
5388
|
+
"origin": "own",
|
|
5389
|
+
"description": "How many pages to show either side of the current one. The first and last\nare always shown, so the widest run is `siblingCount * 2 + 5`."
|
|
5390
|
+
},
|
|
5391
|
+
"showPageSize": {
|
|
5392
|
+
"type": "boolean | undefined",
|
|
5393
|
+
"required": false,
|
|
5394
|
+
"origin": "own",
|
|
5395
|
+
"description": "Renders the rows-per-page control. Matches the Figma `Show Page Size`."
|
|
5396
|
+
},
|
|
5397
|
+
"pageSize": {
|
|
5398
|
+
"type": "number | undefined",
|
|
5399
|
+
"required": false,
|
|
5400
|
+
"origin": "own",
|
|
5401
|
+
"description": "Current rows-per-page value. Required when `showPageSize`."
|
|
5402
|
+
},
|
|
5403
|
+
"pageSizeOptions": {
|
|
5404
|
+
"type": "number[] | undefined",
|
|
5405
|
+
"required": false,
|
|
5406
|
+
"origin": "own",
|
|
5407
|
+
"description": "Options offered by the rows-per-page control."
|
|
5408
|
+
},
|
|
5409
|
+
"onPageSizeChange": {
|
|
5410
|
+
"type": "((pageSize: number) => void) | undefined",
|
|
5411
|
+
"required": false,
|
|
5412
|
+
"origin": "own"
|
|
5413
|
+
},
|
|
5414
|
+
"className": {
|
|
5415
|
+
"type": "string | undefined",
|
|
5416
|
+
"required": false,
|
|
5417
|
+
"origin": "own"
|
|
5418
|
+
}
|
|
5419
|
+
},
|
|
5420
|
+
"propCounts": {
|
|
5421
|
+
"own": 11,
|
|
5422
|
+
"aria": 0,
|
|
5423
|
+
"dom": 276,
|
|
5424
|
+
"other": 0
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5227
5427
|
"PhoneInput": {
|
|
5228
5428
|
"name": "PhoneInput",
|
|
5229
5429
|
"source": "src/components/PhoneInput.tsx",
|