@7onic-ui/react 0.2.5 → 0.2.7
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/README.md +2 -2
- package/dist/index.js +15 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -16
- package/dist/index.mjs.map +1 -1
- package/llms.txt +7 -3
- package/package.json +1 -3
package/llms.txt
CHANGED
|
@@ -1386,10 +1386,12 @@ import { Breadcrumb } from '@7onic-ui/react'
|
|
|
1386
1386
|
```tsx
|
|
1387
1387
|
import { Pagination } from '@7onic-ui/react'
|
|
1388
1388
|
|
|
1389
|
-
{/* Quick mode */}
|
|
1389
|
+
{/* Quick mode — withControls (default: true), withEdges (default: false) */}
|
|
1390
1390
|
<Pagination total={10} defaultValue={1} />
|
|
1391
|
+
<Pagination total={10} defaultValue={1} withEdges />
|
|
1392
|
+
<Pagination total={10} defaultValue={1} withControls={false} />
|
|
1391
1393
|
|
|
1392
|
-
{/* Compound mode */}
|
|
1394
|
+
{/* Compound mode (custom layout) */}
|
|
1393
1395
|
<Pagination total={20} value={page} onChange={setPage}>
|
|
1394
1396
|
<Pagination.Content>
|
|
1395
1397
|
<Pagination.Previous />
|
|
@@ -1410,7 +1412,9 @@ import { Pagination } from '@7onic-ui/react'
|
|
|
1410
1412
|
| variant | `'default' \| 'outline' \| 'ghost'` | `'default'` | Visual style |
|
|
1411
1413
|
| color | `'default' \| 'primary'` | `'default'` | Active page color |
|
|
1412
1414
|
| size | `'xs' \| 'sm' \| 'default' \| 'lg' \| 'xl'` | `'default'` | Button size |
|
|
1413
|
-
| radius | `'
|
|
1415
|
+
| radius | `'sm' \| 'base' \| 'md' \| 'lg' \| 'xl' \| 'full'` | `'md'` | Border radius |
|
|
1416
|
+
| withControls | `boolean` | `true` | Auto-render previous/next buttons |
|
|
1417
|
+
| withEdges | `boolean` | `false` | Auto-render first/last jump buttons |
|
|
1414
1418
|
| loop | `boolean` | `false` | Wrap around |
|
|
1415
1419
|
| disabled | `boolean` | `false` | Disabled state |
|
|
1416
1420
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@7onic-ui/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -48,8 +48,6 @@
|
|
|
48
48
|
"build:7onic": "node scripts/build-7onic-cli.js",
|
|
49
49
|
"generate:registry": "tsx scripts/generate-registry.ts",
|
|
50
50
|
"verify:registry": "tsx scripts/generate-registry.ts && git diff --exit-code cli/src/registry/index.ts",
|
|
51
|
-
"verify:i18n": "tsx scripts/verify-i18n.ts",
|
|
52
|
-
"verify:i18n:html": "tsx scripts/verify-i18n-html.ts",
|
|
53
51
|
"verify:components": "tsx scripts/verify-components.ts",
|
|
54
52
|
"verify:publish": "tsx scripts/verify-publish.ts",
|
|
55
53
|
"smoke": "bash scripts/smoke-test.sh",
|