@djangocfg/ui-nextjs 2.1.103 → 2.1.104
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 +26 -30
- package/src/components/index.ts +2 -0
- package/src/components/ssr-pagination.tsx +2 -1
- package/src/hooks/index.ts +1 -6
- package/src/index.ts +2 -0
- package/src/theme/index.ts +2 -0
- package/dist/animations.cjs +0 -880
- package/dist/animations.cjs.map +0 -1
- package/dist/animations.d.mts +0 -36
- package/dist/animations.d.ts +0 -36
- package/dist/animations.mjs +0 -877
- package/dist/animations.mjs.map +0 -1
- package/dist/blocks.cjs +0 -1609
- package/dist/blocks.cjs.map +0 -1
- package/dist/blocks.d.mts +0 -278
- package/dist/blocks.d.ts +0 -278
- package/dist/blocks.mjs +0 -1589
- package/dist/blocks.mjs.map +0 -1
- package/dist/components.cjs +0 -1946
- package/dist/components.cjs.map +0 -1
- package/dist/components.d.mts +0 -322
- package/dist/components.d.ts +0 -322
- package/dist/components.mjs +0 -1860
- package/dist/components.mjs.map +0 -1
- package/dist/hooks.cjs +0 -530
- package/dist/hooks.cjs.map +0 -1
- package/dist/hooks.d.mts +0 -364
- package/dist/hooks.d.ts +0 -364
- package/dist/hooks.mjs +0 -506
- package/dist/hooks.mjs.map +0 -1
- package/dist/index.cjs +0 -4080
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.mts +0 -1044
- package/dist/index.d.ts +0 -1044
- package/dist/index.mjs +0 -3962
- package/dist/index.mjs.map +0 -1
- package/dist/theme.cjs +0 -189
- package/dist/theme.cjs.map +0 -1
- package/dist/theme.d.mts +0 -60
- package/dist/theme.d.ts +0 -60
- package/dist/theme.mjs +0 -184
- package/dist/theme.mjs.map +0 -1
- package/src/hooks/useCfgRouter.ts +0 -153
- package/src/hooks/useQueryParams.ts +0 -73
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/ui-nextjs",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.104",
|
|
4
4
|
"description": "Next.js UI component library with Radix UI primitives, Tailwind CSS styling, charts, and form components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui-components",
|
|
@@ -30,39 +30,39 @@
|
|
|
30
30
|
"url": "https://github.com/markolofsen/django-cfg/issues"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
|
-
"main": "./
|
|
34
|
-
"module": "./
|
|
35
|
-
"types": "./
|
|
33
|
+
"main": "./src/index.ts",
|
|
34
|
+
"module": "./src/index.ts",
|
|
35
|
+
"types": "./src/index.ts",
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
38
|
-
"types": "./
|
|
39
|
-
"import": "./
|
|
40
|
-
"require": "./
|
|
38
|
+
"types": "./src/index.ts",
|
|
39
|
+
"import": "./src/index.ts",
|
|
40
|
+
"require": "./src/index.ts"
|
|
41
41
|
},
|
|
42
42
|
"./components": {
|
|
43
|
-
"types": "./
|
|
44
|
-
"import": "./
|
|
45
|
-
"require": "./
|
|
43
|
+
"types": "./src/components/index.ts",
|
|
44
|
+
"import": "./src/components/index.ts",
|
|
45
|
+
"require": "./src/components/index.ts"
|
|
46
46
|
},
|
|
47
47
|
"./hooks": {
|
|
48
|
-
"types": "./
|
|
49
|
-
"import": "./
|
|
50
|
-
"require": "./
|
|
48
|
+
"types": "./src/hooks/index.ts",
|
|
49
|
+
"import": "./src/hooks/index.ts",
|
|
50
|
+
"require": "./src/hooks/index.ts"
|
|
51
51
|
},
|
|
52
52
|
"./blocks": {
|
|
53
|
-
"types": "./
|
|
54
|
-
"import": "./
|
|
55
|
-
"require": "./
|
|
53
|
+
"types": "./src/blocks/index.ts",
|
|
54
|
+
"import": "./src/blocks/index.ts",
|
|
55
|
+
"require": "./src/blocks/index.ts"
|
|
56
56
|
},
|
|
57
57
|
"./animations": {
|
|
58
|
-
"types": "./
|
|
59
|
-
"import": "./
|
|
60
|
-
"require": "./
|
|
58
|
+
"types": "./src/animations/index.ts",
|
|
59
|
+
"import": "./src/animations/index.ts",
|
|
60
|
+
"require": "./src/animations/index.ts"
|
|
61
61
|
},
|
|
62
62
|
"./theme": {
|
|
63
|
-
"types": "./
|
|
64
|
-
"import": "./
|
|
65
|
-
"require": "./
|
|
63
|
+
"types": "./src/theme/index.ts",
|
|
64
|
+
"import": "./src/theme/index.ts",
|
|
65
|
+
"require": "./src/theme/index.ts"
|
|
66
66
|
},
|
|
67
67
|
"./types/*": "./src/types/*",
|
|
68
68
|
"./global": "./src/global.d.ts",
|
|
@@ -76,16 +76,13 @@
|
|
|
76
76
|
"LICENSE"
|
|
77
77
|
],
|
|
78
78
|
"scripts": {
|
|
79
|
-
"build": "tsup",
|
|
80
|
-
"clean": "rm -rf dist",
|
|
81
|
-
"dev": "tsup --watch",
|
|
82
79
|
"lint": "eslint .",
|
|
83
80
|
"check": "tsc --noEmit"
|
|
84
81
|
},
|
|
85
82
|
"peerDependencies": {
|
|
86
|
-
"@djangocfg/api": "^2.1.
|
|
87
|
-
"@djangocfg/ui-core": "^2.1.
|
|
88
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
83
|
+
"@djangocfg/api": "^2.1.104",
|
|
84
|
+
"@djangocfg/ui-core": "^2.1.104",
|
|
85
|
+
"@djangocfg/ui-tools": "^2.1.104",
|
|
89
86
|
"@types/react": "^19.1.0",
|
|
90
87
|
"@types/react-dom": "^19.1.0",
|
|
91
88
|
"consola": "^3.4.2",
|
|
@@ -109,14 +106,13 @@
|
|
|
109
106
|
"react-hotkeys-hook": "^5.2.1"
|
|
110
107
|
},
|
|
111
108
|
"devDependencies": {
|
|
112
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
109
|
+
"@djangocfg/typescript-config": "^2.1.104",
|
|
113
110
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
114
111
|
"@radix-ui/react-slot": "^1.2.4",
|
|
115
112
|
"@types/node": "^24.7.2",
|
|
116
113
|
"class-variance-authority": "^0.7.1",
|
|
117
114
|
"eslint": "^9.37.0",
|
|
118
115
|
"tailwindcss-animate": "1.0.7",
|
|
119
|
-
"tsup": "^8.5.0",
|
|
120
116
|
"typescript": "^5.9.3",
|
|
121
117
|
"zustand": "^5.0.9"
|
|
122
118
|
},
|
package/src/components/index.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
// Re-exports base components from @djangocfg/ui-core for convenience
|
|
4
4
|
// ============================================================================
|
|
5
5
|
|
|
6
|
+
'use client';
|
|
7
|
+
|
|
6
8
|
// Re-export all base components from ui-core
|
|
7
9
|
export * from '@djangocfg/ui-core/components';
|
|
8
10
|
|
|
@@ -6,7 +6,8 @@ import React from 'react';
|
|
|
6
6
|
import { useIsMobile } from '@djangocfg/ui-core/hooks';
|
|
7
7
|
import { cn } from '@djangocfg/ui-core/lib';
|
|
8
8
|
|
|
9
|
-
import { useQueryParams } from '
|
|
9
|
+
import { useQueryParams } from '@djangocfg/api/auth';
|
|
10
|
+
|
|
10
11
|
import {
|
|
11
12
|
Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink,
|
|
12
13
|
PaginationNext, PaginationPrevious
|
package/src/hooks/index.ts
CHANGED
|
@@ -3,17 +3,12 @@
|
|
|
3
3
|
// Re-exports base hooks from @djangocfg/ui-core for convenience
|
|
4
4
|
// ============================================================================
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
export * from '@djangocfg/ui-core/hooks';
|
|
6
|
+
'use client';
|
|
8
7
|
|
|
9
8
|
// Theme hook (standalone, no provider required)
|
|
10
9
|
export { useResolvedTheme } from './useResolvedTheme';
|
|
11
10
|
export type { ResolvedTheme } from './useResolvedTheme';
|
|
12
11
|
|
|
13
|
-
// Next.js router hooks
|
|
14
|
-
export { useQueryParams } from './useQueryParams';
|
|
15
|
-
export { useCfgRouter } from './useCfgRouter';
|
|
16
|
-
|
|
17
12
|
// Keyboard shortcuts
|
|
18
13
|
export { useHotkey, useHotkeysContext, HotkeysProvider, isHotkeyPressed } from './useHotkey';
|
|
19
14
|
export type { UseHotkeyOptions, HotkeyCallback, Keys } from './useHotkey';
|
package/src/index.ts
CHANGED