@djangocfg/ui-nextjs 2.1.232 → 2.1.234

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 CHANGED
@@ -1,3 +1,9 @@
1
+ <div align="center">
2
+
3
+ ![@djangocfg/ui-nextjs](https://raw.githubusercontent.com/markolofsen/assets/main/libs/djangocfg/ui-nextjs.webp)
4
+
5
+ </div>
6
+
1
7
  # @djangocfg/ui-nextjs
2
8
 
3
9
  Next.js UI library extending `@djangocfg/ui-core` with 69+ components built on Radix UI + Tailwind CSS v4.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/ui-nextjs",
3
- "version": "2.1.232",
3
+ "version": "2.1.234",
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",
@@ -85,11 +85,11 @@
85
85
  "check": "tsc --noEmit"
86
86
  },
87
87
  "peerDependencies": {
88
- "@djangocfg/api": "^2.1.232",
89
- "@djangocfg/i18n": "^2.1.232",
90
- "@djangocfg/nextjs": "^2.1.232",
91
- "@djangocfg/ui-core": "^2.1.232",
92
- "@djangocfg/ui-tools": "^2.1.232",
88
+ "@djangocfg/api": "^2.1.234",
89
+ "@djangocfg/i18n": "^2.1.234",
90
+ "@djangocfg/nextjs": "^2.1.234",
91
+ "@djangocfg/ui-core": "^2.1.234",
92
+ "@djangocfg/ui-tools": "^2.1.234",
93
93
  "@types/react": "^19.1.0",
94
94
  "@types/react-dom": "^19.1.0",
95
95
  "consola": "^3.4.2",
@@ -112,7 +112,7 @@
112
112
  "react-chartjs-2": "^5.3.0"
113
113
  },
114
114
  "devDependencies": {
115
- "@djangocfg/typescript-config": "^2.1.232",
115
+ "@djangocfg/typescript-config": "^2.1.234",
116
116
  "@radix-ui/react-dropdown-menu": "^2.1.16",
117
117
  "@radix-ui/react-slot": "^1.2.4",
118
118
  "@types/node": "^24.7.2",
@@ -1,5 +1,6 @@
1
1
  "use client"
2
2
 
3
+ import { isDev as isDevelopment } from "@djangocfg/ui-core/lib";
3
4
  import { ArrowRight, Sparkles, Wand2 } from 'lucide-react';
4
5
  import React from 'react';
5
6
 
@@ -115,7 +116,6 @@ export const SuperHero: React.FC<SuperHeroProps> = ({
115
116
  const titleLines = React.useMemo(() => title.split('\n'), [title]);
116
117
 
117
118
  // Show background switcher in development mode or if explicitly enabled
118
- const isDevelopment = process.env.NODE_ENV === 'development';
119
119
  const shouldShowSwitcher = showBackgroundSwitcher || isDevelopment;
120
120
 
121
121
  const cycleBackground = () => {
@@ -27,7 +27,7 @@
27
27
 
28
28
  import { consola } from 'consola';
29
29
 
30
- const isDevelopment = process.env.NODE_ENV === 'development';
30
+ import { isDev as isDevelopment } from '@djangocfg/ui-core/lib';
31
31
 
32
32
  /**
33
33
  * Check if debug mode is enabled via localStorage