@djangocfg/layouts 1.2.15 → 1.2.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/layouts",
3
- "version": "1.2.15",
3
+ "version": "1.2.17",
4
4
  "description": "Layout system and components for Unrealon applications",
5
5
  "author": {
6
6
  "name": "DjangoCFG",
@@ -53,9 +53,9 @@
53
53
  "check": "tsc --noEmit"
54
54
  },
55
55
  "peerDependencies": {
56
- "@djangocfg/api": "^1.2.15",
57
- "@djangocfg/og-image": "^1.2.15",
58
- "@djangocfg/ui": "^1.2.15",
56
+ "@djangocfg/api": "^1.2.17",
57
+ "@djangocfg/og-image": "^1.2.17",
58
+ "@djangocfg/ui": "^1.2.17",
59
59
  "@hookform/resolvers": "^5.2.0",
60
60
  "consola": "^3.4.2",
61
61
  "lucide-react": "^0.468.0",
@@ -76,7 +76,7 @@
76
76
  "vidstack": "0.6.15"
77
77
  },
78
78
  "devDependencies": {
79
- "@djangocfg/typescript-config": "^1.2.15",
79
+ "@djangocfg/typescript-config": "^1.2.17",
80
80
  "@types/node": "^24.7.2",
81
81
  "@types/react": "19.2.2",
82
82
  "@types/react-dom": "19.2.1",
@@ -16,36 +16,36 @@ export interface PackageInfo {
16
16
  /**
17
17
  * Package versions registry
18
18
  * Auto-synced from package.json files
19
- * Last updated: 2025-10-29T12:44:49.794Z
19
+ * Last updated: 2025-10-30T11:56:30.987Z
20
20
  */
21
21
  const PACKAGE_VERSIONS: PackageInfo[] = [
22
22
  {
23
23
  "name": "@djangocfg/ui",
24
- "version": "1.2.15"
24
+ "version": "1.2.17"
25
25
  },
26
26
  {
27
27
  "name": "@djangocfg/api",
28
- "version": "1.2.15"
28
+ "version": "1.2.17"
29
29
  },
30
30
  {
31
31
  "name": "@djangocfg/layouts",
32
- "version": "1.2.15"
32
+ "version": "1.2.17"
33
33
  },
34
34
  {
35
35
  "name": "@djangocfg/markdown",
36
- "version": "1.2.15"
36
+ "version": "1.2.17"
37
37
  },
38
38
  {
39
39
  "name": "@djangocfg/og-image",
40
- "version": "1.2.15"
40
+ "version": "1.2.17"
41
41
  },
42
42
  {
43
43
  "name": "@djangocfg/eslint-config",
44
- "version": "1.2.15"
44
+ "version": "1.2.17"
45
45
  },
46
46
  {
47
47
  "name": "@djangocfg/typescript-config",
48
- "version": "1.2.15"
48
+ "version": "1.2.17"
49
49
  }
50
50
  ];
51
51
 
@@ -29,6 +29,7 @@ import {
29
29
  PaginationNext,
30
30
  PaginationPrevious,
31
31
  SSRPagination,
32
+ StaticPagination,
32
33
  } from '@djangocfg/ui';
33
34
  import type { ComponentConfig } from './types';
34
35
 
@@ -291,4 +292,32 @@ export const NAVIGATION_COMPONENTS: ComponentConfig[] = [
291
292
  />
292
293
  ),
293
294
  },
295
+ {
296
+ name: 'StaticPagination',
297
+ category: 'navigation',
298
+ description: 'Client-side pagination component for static builds with callback support',
299
+ importPath: `import { StaticPagination } from '@djangocfg/ui';`,
300
+ example: `const [currentPage, setCurrentPage] = useState(1);
301
+
302
+ <StaticPagination
303
+ currentPage={currentPage}
304
+ totalPages={10}
305
+ totalItems={100}
306
+ itemsPerPage={10}
307
+ hasNextPage={currentPage < 10}
308
+ hasPreviousPage={currentPage > 1}
309
+ onPageChange={(page) => setCurrentPage(page)}
310
+ />`,
311
+ preview: (
312
+ <StaticPagination
313
+ currentPage={2}
314
+ totalPages={10}
315
+ totalItems={100}
316
+ itemsPerPage={10}
317
+ hasNextPage={true}
318
+ hasPreviousPage={true}
319
+ onPageChange={(page) => console.log('Page changed to:', page)}
320
+ />
321
+ ),
322
+ },
294
323
  ];