@djangocfg/layouts 1.2.53 → 1.2.55

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.53",
3
+ "version": "1.2.55",
4
4
  "description": "Layout system and components for Unrealon applications",
5
5
  "author": {
6
6
  "name": "DjangoCFG",
@@ -63,9 +63,9 @@
63
63
  "check": "tsc --noEmit"
64
64
  },
65
65
  "peerDependencies": {
66
- "@djangocfg/api": "^1.2.53",
67
- "@djangocfg/og-image": "^1.2.53",
68
- "@djangocfg/ui": "^1.2.53",
66
+ "@djangocfg/api": "^1.2.55",
67
+ "@djangocfg/og-image": "^1.2.55",
68
+ "@djangocfg/ui": "^1.2.55",
69
69
  "@hookform/resolvers": "^5.2.0",
70
70
  "consola": "^3.4.2",
71
71
  "lucide-react": "^0.468.0",
@@ -86,7 +86,7 @@
86
86
  "vidstack": "0.6.15"
87
87
  },
88
88
  "devDependencies": {
89
- "@djangocfg/typescript-config": "^1.2.53",
89
+ "@djangocfg/typescript-config": "^1.2.55",
90
90
  "@types/node": "^24.7.2",
91
91
  "@types/react": "19.2.2",
92
92
  "@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-11-22T06:07:49.048Z
19
+ * Last updated: 2025-11-22T08:28:22.393Z
20
20
  */
21
21
  const PACKAGE_VERSIONS: PackageInfo[] = [
22
22
  {
23
23
  "name": "@djangocfg/ui",
24
- "version": "1.2.53"
24
+ "version": "1.2.55"
25
25
  },
26
26
  {
27
27
  "name": "@djangocfg/api",
28
- "version": "1.2.53"
28
+ "version": "1.2.55"
29
29
  },
30
30
  {
31
31
  "name": "@djangocfg/layouts",
32
- "version": "1.2.53"
32
+ "version": "1.2.55"
33
33
  },
34
34
  {
35
35
  "name": "@djangocfg/markdown",
36
- "version": "1.2.53"
36
+ "version": "1.2.55"
37
37
  },
38
38
  {
39
39
  "name": "@djangocfg/og-image",
40
- "version": "1.2.53"
40
+ "version": "1.2.55"
41
41
  },
42
42
  {
43
43
  "name": "@djangocfg/eslint-config",
44
- "version": "1.2.53"
44
+ "version": "1.2.55"
45
45
  },
46
46
  {
47
47
  "name": "@djangocfg/typescript-config",
48
- "version": "1.2.53"
48
+ "version": "1.2.55"
49
49
  }
50
50
  ];
51
51
 
@@ -26,6 +26,9 @@ export function generateAIContext(
26
26
  let output = `# ${projectName} v${version}\n\n`;
27
27
  output += `${description}\n\n`;
28
28
 
29
+ // Quick Reference Section - ADDED FOR AI
30
+ output += generateQuickReference(components);
31
+
29
32
  // Tailwind Guide Section
30
33
  output += generateTailwindSection(tailwindGuide);
31
34
 
@@ -35,6 +38,28 @@ export function generateAIContext(
35
38
  return output;
36
39
  }
37
40
 
41
+ /**
42
+ * Generate Quick Reference section with all component names
43
+ * This helps AI understand what's available without reading the entire document
44
+ */
45
+ export function generateQuickReference(components: ComponentConfig[]): string {
46
+ let output = `## 📋 Quick Reference - Available Components\n\n`;
47
+
48
+ // Group components by category
49
+ const byCategory = groupByCategory(components);
50
+
51
+ // Generate compact list for each category
52
+ Object.entries(byCategory).forEach(([category, comps]) => {
53
+ const componentNames = comps.map((c) => c.name).join(', ');
54
+ output += `### ${formatCategoryName(category)} (${comps.length})\n`;
55
+ output += `${componentNames}\n\n`;
56
+ });
57
+
58
+ output += `---\n\n`;
59
+
60
+ return output;
61
+ }
62
+
38
63
  /**
39
64
  * Generate Tailwind CSS section
40
65
  */