blocks-dusted 0.1.0

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.
Files changed (102) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +68 -0
  3. package/bin/index.js +8 -0
  4. package/package.json +40 -0
  5. package/src/cli.js +79 -0
  6. package/src/commands/add.js +327 -0
  7. package/src/commands/doctor.js +21 -0
  8. package/src/commands/list.js +18 -0
  9. package/src/installers/checkRequirements.js +101 -0
  10. package/src/installers/copyTemplateFiles.js +79 -0
  11. package/src/installers/installDependencies.js +69 -0
  12. package/src/installers/patchPayloadBlocksArray.js +122 -0
  13. package/src/installers/patchRenderBlocks.js +110 -0
  14. package/src/installers/runGenerators.js +3 -0
  15. package/src/installers/writeInstalledBlockReadme.js +117 -0
  16. package/src/registry/listTemplates.js +17 -0
  17. package/src/registry/loadTemplateManifest.js +20 -0
  18. package/src/registry/validateTemplateManifest.js +69 -0
  19. package/src/utils/logger.js +8 -0
  20. package/src/utils/packageManager.js +42 -0
  21. package/src/utils/paths.js +7 -0
  22. package/src/utils/project.js +122 -0
  23. package/src/utils/strings.js +7 -0
  24. package/templates/blocks/DD-BookCall/Component.tsx +573 -0
  25. package/templates/blocks/DD-BookCall/config.ts +239 -0
  26. package/templates/blocks/DD-BookCall/manifest.json +112 -0
  27. package/templates/blocks/DD-CardTemplate01/Component.tsx +144 -0
  28. package/templates/blocks/DD-CardTemplate01/config.ts +106 -0
  29. package/templates/blocks/DD-CardTemplate01/manifest.json +84 -0
  30. package/templates/blocks/DD-Carousel-A/Component.tsx +266 -0
  31. package/templates/blocks/DD-Carousel-A/config.ts +163 -0
  32. package/templates/blocks/DD-Carousel-A/manifest.json +86 -0
  33. package/templates/blocks/DD-Carousel-B/Component.tsx +432 -0
  34. package/templates/blocks/DD-Carousel-B/config.ts +176 -0
  35. package/templates/blocks/DD-Carousel-B/manifest.json +86 -0
  36. package/templates/blocks/DD-ComparisonTable/Component.tsx +272 -0
  37. package/templates/blocks/DD-ComparisonTable/config.ts +105 -0
  38. package/templates/blocks/DD-ComparisonTable/manifest.json +78 -0
  39. package/templates/blocks/DD-Contact/Component.tsx +439 -0
  40. package/templates/blocks/DD-Contact/config.ts +217 -0
  41. package/templates/blocks/DD-Contact/manifest.json +107 -0
  42. package/templates/blocks/DD-FeatCat/Component.tsx +361 -0
  43. package/templates/blocks/DD-FeatCat/config.ts +204 -0
  44. package/templates/blocks/DD-FeatCat/manifest.json +87 -0
  45. package/templates/blocks/DD-FeatStrip/Component.tsx +615 -0
  46. package/templates/blocks/DD-FeatStrip/config.ts +134 -0
  47. package/templates/blocks/DD-FeatStrip/manifest.json +82 -0
  48. package/templates/blocks/DD-Hero/Component.tsx +317 -0
  49. package/templates/blocks/DD-Hero/config.ts +267 -0
  50. package/templates/blocks/DD-Hero/manifest.json +92 -0
  51. package/templates/blocks/DD-HorizontalScroll/Component.tsx +995 -0
  52. package/templates/blocks/DD-HorizontalScroll/config.ts +231 -0
  53. package/templates/blocks/DD-HorizontalScroll/manifest.json +85 -0
  54. package/templates/blocks/DD-MasonaryMedia/Component.tsx +571 -0
  55. package/templates/blocks/DD-MasonaryMedia/config.ts +390 -0
  56. package/templates/blocks/DD-MasonaryMedia/manifest.json +101 -0
  57. package/templates/blocks/DD-MasonaryMedia/vendor.d.ts +2 -0
  58. package/templates/blocks/DD-Pricing/Component.tsx +380 -0
  59. package/templates/blocks/DD-Pricing/config.ts +215 -0
  60. package/templates/blocks/DD-Pricing/manifest.json +78 -0
  61. package/templates/blocks/DD-Process/Component.tsx +155 -0
  62. package/templates/blocks/DD-Process/config.ts +150 -0
  63. package/templates/blocks/DD-Process/manifest.json +82 -0
  64. package/templates/blocks/DD-Section/Component.tsx +327 -0
  65. package/templates/blocks/DD-Section/config.ts +214 -0
  66. package/templates/blocks/DD-Section/manifest.json +85 -0
  67. package/templates/blocks/DD-Services/Component.tsx +188 -0
  68. package/templates/blocks/DD-Services/config.ts +149 -0
  69. package/templates/blocks/DD-Services/manifest.json +95 -0
  70. package/templates/blocks/DD-ShowcaseGrid/Component.tsx +317 -0
  71. package/templates/blocks/DD-ShowcaseGrid/config.ts +197 -0
  72. package/templates/blocks/DD-ShowcaseGrid/manifest.json +80 -0
  73. package/templates/blocks/DD-Slider-A/Component.tsx +252 -0
  74. package/templates/blocks/DD-Slider-A/config.ts +118 -0
  75. package/templates/blocks/DD-Slider-A/manifest.json +86 -0
  76. package/templates/blocks/DD-StackCards/Component.tsx +496 -0
  77. package/templates/blocks/DD-StackCards/config.ts +399 -0
  78. package/templates/blocks/DD-StackCards/manifest.json +87 -0
  79. package/templates/blocks/DD-Team/Component.tsx +265 -0
  80. package/templates/blocks/DD-Team/config.ts +173 -0
  81. package/templates/blocks/DD-Team/manifest.json +82 -0
  82. package/templates/blocks/DD-TechStack/Component.tsx +189 -0
  83. package/templates/blocks/DD-TechStack/config.ts +153 -0
  84. package/templates/blocks/DD-TechStack/manifest.json +118 -0
  85. package/templates/blocks/DD-Testimonials/Component.tsx +147 -0
  86. package/templates/blocks/DD-Testimonials/config.ts +120 -0
  87. package/templates/blocks/DD-Testimonials/manifest.json +87 -0
  88. package/templates/blocks/DD-Work/Component.tsx +328 -0
  89. package/templates/blocks/DD-Work/config.ts +165 -0
  90. package/templates/blocks/DD-Work/manifest.json +87 -0
  91. package/templates/blocks/DD-Work-B/Component.tsx +320 -0
  92. package/templates/blocks/DD-Work-B/config.ts +165 -0
  93. package/templates/blocks/DD-Work-B/manifest.json +75 -0
  94. package/templates/shared/components/ui/anims/fade.tsx +83 -0
  95. package/templates/shared/components/ui/button.tsx +233 -0
  96. package/templates/shared/components/ui/input.tsx +41 -0
  97. package/templates/shared/fields/lucide-icon-picker/Cell.tsx +24 -0
  98. package/templates/shared/fields/lucide-icon-picker/README.md +160 -0
  99. package/templates/shared/fields/lucide-icon-picker/field.ts +40 -0
  100. package/templates/shared/fields/lucide-icon-picker/index.tsx +203 -0
  101. package/templates/shared/utilities/canUseDOM.ts +1 -0
  102. package/templates/shared/utilities/getURL.ts +31 -0
@@ -0,0 +1,265 @@
1
+ "use client";
2
+
3
+ import React from "react";
4
+ import Image from "next/image";
5
+ import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa";
6
+ import { motion, type Variants } from "framer-motion";
7
+ export type DDTeamProps = Record<string, any>;
8
+ type Media = { url?: string | null };
9
+ type SkillItem = { skill?: string | null };
10
+ type MemberItem = {
11
+ id?: string | null;
12
+ name?: string | null;
13
+ role?: string | null;
14
+ bio?: string | null;
15
+ photo?: Media | string | null;
16
+ fallbackPhotoUrl?: string | null;
17
+ skills?: SkillItem[] | null;
18
+ twitterUrl?: string | null;
19
+ githubUrl?: string | null;
20
+ linkedinUrl?: string | null;
21
+ };
22
+ type ClientItem = { name?: string | null };
23
+
24
+ function isLocalImageSrc(src?: string | null): src is string {
25
+ return typeof src === "string" && src.startsWith("/api/media/file/");
26
+ }
27
+
28
+ function TeamPhotoPlaceholder({ name }: { name: string }) {
29
+ const initials = name
30
+ .split(" ")
31
+ .map((part) => part[0])
32
+ .join("")
33
+ .slice(0, 2)
34
+ .toUpperCase();
35
+
36
+ return (
37
+ <div className="w-full h-64 overflow-hidden relative bg-[#12151f]">
38
+ <svg
39
+ aria-hidden="true"
40
+ className="absolute inset-0 h-full w-full"
41
+ viewBox="0 0 600 520"
42
+ preserveAspectRatio="none"
43
+ >
44
+ <defs>
45
+ <linearGradient id="dd-team-placeholder" x1="0" y1="0" x2="1" y2="1">
46
+ <stop offset="0%" stopColor="#111827" />
47
+ <stop offset="50%" stopColor="#251644" />
48
+ <stop offset="100%" stopColor="#09090b" />
49
+ </linearGradient>
50
+ <pattern
51
+ id="dd-team-grid"
52
+ width="56"
53
+ height="56"
54
+ patternUnits="userSpaceOnUse"
55
+ >
56
+ <path
57
+ d="M 56 0 L 0 0 0 56"
58
+ fill="none"
59
+ stroke="#ffffff"
60
+ strokeOpacity="0.07"
61
+ />
62
+ </pattern>
63
+ </defs>
64
+ <rect width="600" height="520" fill="url(#dd-team-placeholder)" />
65
+ <rect width="600" height="520" fill="url(#dd-team-grid)" />
66
+ <circle cx="300" cy="210" r="92" fill="#ffffff" fillOpacity="0.1" />
67
+ <path
68
+ d="M 150 485 C 180 350 420 350 450 485 Z"
69
+ fill="#ffffff"
70
+ fillOpacity="0.1"
71
+ />
72
+ </svg>
73
+ <div className="absolute inset-0 flex items-center justify-center text-4xl font-semibold text-stone-200/80">
74
+ {initials || "DD"}
75
+ </div>
76
+ </div>
77
+ );
78
+ }
79
+
80
+ const containerVariants: Variants = {
81
+ hidden: {},
82
+ show: { transition: { staggerChildren: 0.1, delayChildren: 0.05 } },
83
+ };
84
+
85
+ const cardVariants: Variants = {
86
+ hidden: { opacity: 0, y: 28 },
87
+ show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: "easeOut" } },
88
+ };
89
+
90
+ export const DDTeam: React.FC<DDTeamProps> = ({
91
+ eyebrow,
92
+ headlineMain,
93
+ headlineAccent,
94
+ description,
95
+ members,
96
+ showClients,
97
+ clientsLabel,
98
+ clients,
99
+ sectionId,
100
+ customCSS,
101
+ }) => {
102
+ const memberItems = (members ?? []) as MemberItem[];
103
+ const clientItems = (clients ?? []) as ClientItem[];
104
+
105
+ return (
106
+ <>
107
+ {customCSS && <style dangerouslySetInnerHTML={{ __html: customCSS }} />}
108
+
109
+ <div id={sectionId ?? "team"} className="py-24">
110
+ <div className="max-w-6xl lg:max-w-7xl mx-auto px-4 md:px-6">
111
+ {/* Header */}
112
+ <div className="text-center max-w-2xl mx-auto mb-16">
113
+ {eyebrow && (
114
+ <p className="text-[11.5px] font-semibold text-stone-400 tracking-widest uppercase mb-3 top-caption">
115
+ {eyebrow}
116
+ </p>
117
+ )}
118
+ <h2 className="text-3d text-4xl md:text-5xl font-bold text-stone-900 dark:text-stone-50 leading-tight mb-5">
119
+ {headlineMain}
120
+ <br />
121
+ <span className="text-stone-400">{headlineAccent}</span>
122
+ </h2>
123
+ {description && (
124
+ <p className="text-stone-700 dark:text-stone-300 text-base leading-relaxed">
125
+ {description}
126
+ </p>
127
+ )}
128
+ </div>
129
+
130
+ {/* Team Cards */}
131
+ {memberItems.length > 0 && (
132
+ <motion.div
133
+ className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-20"
134
+ variants={containerVariants}
135
+ initial="hidden"
136
+ whileInView="show"
137
+ viewport={{ once: false, amount: 0.15 }}
138
+ >
139
+ {memberItems.map((member, i) => {
140
+ const memberName = member.name ?? "";
141
+ const photoUrl =
142
+ typeof member.photo === "object" && member.photo?.url
143
+ ? member.photo.url
144
+ : (member.fallbackPhotoUrl ?? null);
145
+ const safePhotoUrl = isLocalImageSrc(photoUrl)
146
+ ? photoUrl
147
+ : null;
148
+
149
+ return (
150
+ <motion.div
151
+ key={member.id ?? i}
152
+ className="rounded-2xl bg-stone-100/50 dark:bg-stone-800/50 border border-stone-200 dark:border-stone-700 overflow-hidden group hover:shadow-2xl transition-all duration-300"
153
+ variants={cardVariants}
154
+ >
155
+ {/* Photo */}
156
+ {safePhotoUrl ? (
157
+ <div className="w-full h-64 overflow-hidden relative">
158
+ <Image
159
+ src={safePhotoUrl}
160
+ alt={memberName}
161
+ fill
162
+ sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
163
+ className="object-cover object-top group-hover:scale-105 transition-transform duration-500 studio-card-image"
164
+ />
165
+ </div>
166
+ ) : (
167
+ <TeamPhotoPlaceholder name={memberName} />
168
+ )}
169
+
170
+ {/* Info */}
171
+ <div className="p-6">
172
+ <h3 className="text-base font-semibold text-stone-900 dark:text-stone-50 mb-0.5">
173
+ {memberName}
174
+ </h3>
175
+ <p className="text-xs text-stone-700 dark:text-stone-400 mb-6">
176
+ {member.role}
177
+ </p>
178
+ {member.bio && (
179
+ <p className="text-sm text-stone-700 dark:text-stone-300 leading-relaxed mb-4">
180
+ {member.bio}
181
+ </p>
182
+ )}
183
+
184
+ {/* Skills */}
185
+ {member.skills && member.skills.length > 0 && (
186
+ <div className="flex flex-wrap gap-1.5 mb-4">
187
+ {member.skills.map((s, si) => (
188
+ <span
189
+ key={si}
190
+ className="text-[11.5px] mt-4 px-2.5 py-0.5 rounded-full bg-stone-50 dark:bg-stone-700 text-stone-700 dark:text-stone-300 border border-stone-200 dark:border-stone-600"
191
+ >
192
+ {s.skill}
193
+ </span>
194
+ ))}
195
+ </div>
196
+ )}
197
+
198
+ {/* Social */}
199
+ <div className="relative flex items-center justify-end gap-2">
200
+ {member.twitterUrl && (
201
+ <a
202
+ href={member.twitterUrl}
203
+ rel="nofollow noreferrer"
204
+ target="_blank"
205
+ aria-label={`Follow ${memberName} on Twitter`}
206
+ className="w-7 h-7 flex items-center justify-center rounded-lg dark:bg-stone-700 text-stone-500 dark:text-stone-400 hover:text-stone-50 hover:bg-stone-600 transition-all duration-150 border border-stone-200 dark:border-stone-600"
207
+ >
208
+ <FaTwitter size={12} />
209
+ </a>
210
+ )}
211
+ {member.githubUrl && (
212
+ <a
213
+ href={member.githubUrl}
214
+ rel="nofollow noreferrer"
215
+ target="_blank"
216
+ aria-label={`View ${memberName}'s GitHub profile`}
217
+ className="w-7 h-7 flex items-center justify-center rounded-lg dark:bg-stone-700 text-stone-500 dark:text-stone-400 hover:text-stone-50 hover:bg-stone-600 transition-all duration-150 border border-stone-200 dark:border-stone-600"
218
+ >
219
+ <FaGithub size={12} />
220
+ </a>
221
+ )}
222
+ {member.linkedinUrl && (
223
+ <a
224
+ href={member.linkedinUrl}
225
+ rel="nofollow noreferrer"
226
+ target="_blank"
227
+ aria-label={`Connect with ${memberName} on LinkedIn`}
228
+ className="w-7 h-7 flex items-center justify-center rounded-lg dark:bg-stone-700 text-stone-500 dark:text-stone-400 hover:text-stone-50 hover:bg-stone-600 transition-all duration-150 border border-stone-200 dark:border-stone-600"
229
+ >
230
+ <FaLinkedin size={12} />
231
+ </a>
232
+ )}
233
+ </div>
234
+ </div>
235
+ </motion.div>
236
+ );
237
+ })}
238
+ </motion.div>
239
+ )}
240
+
241
+ {/* Clients */}
242
+ {showClients && clientItems.length > 0 && (
243
+ <div className="border-t border-stone-200 dark:border-stone-700 pt-12">
244
+ {clientsLabel && (
245
+ <p className="text-xs font-semibold text-stone-400 tracking-widest uppercase text-center mb-8">
246
+ {clientsLabel}
247
+ </p>
248
+ )}
249
+ <div className="flex flex-wrap items-center justify-center gap-x-10 gap-y-0">
250
+ {clientItems.map((c, i) => (
251
+ <span
252
+ key={i}
253
+ className="-mt-4 text-4xl font-semibold text-stone-500 hover:text-stone-300 transition-colors cursor-default"
254
+ >
255
+ {c.name}
256
+ </span>
257
+ ))}
258
+ </div>
259
+ </div>
260
+ )}
261
+ </div>
262
+ </div>
263
+ </>
264
+ );
265
+ };
@@ -0,0 +1,173 @@
1
+ import type { Block } from 'payload'
2
+
3
+ export const DDTeam: Block = {
4
+ slug: 'DD-Team',
5
+ interfaceName: 'DDTeam',
6
+ labels: {
7
+ singular: 'Studio Team',
8
+ plural: 'Studio Team Sections'
9
+ },
10
+ fields: [
11
+ {
12
+ type: 'tabs',
13
+ tabs: [
14
+ {
15
+ label: 'Header',
16
+ fields: [
17
+ {
18
+ name: 'eyebrow',
19
+ type: 'text',
20
+ label: 'Eyebrow Label',
21
+ defaultValue: 'The Team'
22
+ },
23
+ {
24
+ name: 'headlineMain',
25
+ type: 'text',
26
+ label: 'Headline (Main)',
27
+ required: true,
28
+ defaultValue: 'Small team,'
29
+ },
30
+ {
31
+ name: 'headlineAccent',
32
+ type: 'text',
33
+ label: 'Headline (Accent)',
34
+ required: true,
35
+ defaultValue: 'big output'
36
+ },
37
+ {
38
+ name: 'description',
39
+ type: 'textarea',
40
+ label: 'Description',
41
+ defaultValue:
42
+ "We're a tight-knit team of three. No account managers, no junior handoffs — you work directly with the people building your product."
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ label: 'Members',
48
+ fields: [
49
+ {
50
+ name: 'members',
51
+ type: 'array',
52
+ label: 'Team Members',
53
+ fields: [
54
+ {
55
+ name: 'name',
56
+ type: 'text',
57
+ label: 'Name',
58
+ required: true
59
+ },
60
+ {
61
+ name: 'role',
62
+ type: 'text',
63
+ label: 'Role / Title',
64
+ required: true
65
+ },
66
+ {
67
+ name: 'bio',
68
+ type: 'textarea',
69
+ label: 'Short Bio'
70
+ },
71
+ {
72
+ name: 'photo',
73
+ type: 'upload',
74
+ label: 'Photo',
75
+ relationTo: 'media'
76
+ },
77
+ {
78
+ name: 'fallbackPhotoUrl',
79
+ type: 'text',
80
+ label: 'Fallback Photo URL',
81
+ admin: {
82
+ description: 'Used if no media upload is provided'
83
+ }
84
+ },
85
+ {
86
+ name: 'skills',
87
+ type: 'array',
88
+ label: 'Skills / Tags',
89
+ fields: [
90
+ {
91
+ name: 'skill',
92
+ type: 'text',
93
+ label: 'Skill',
94
+ required: true
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ name: 'twitterUrl',
100
+ type: 'text',
101
+ label: 'Twitter / X URL'
102
+ },
103
+ {
104
+ name: 'githubUrl',
105
+ type: 'text',
106
+ label: 'GitHub URL'
107
+ },
108
+ {
109
+ name: 'linkedinUrl',
110
+ type: 'text',
111
+ label: 'LinkedIn URL'
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ label: 'Clients',
119
+ fields: [
120
+ {
121
+ name: 'showClients',
122
+ type: 'checkbox',
123
+ label: 'Show Clients Section',
124
+ defaultValue: true
125
+ },
126
+ {
127
+ name: 'clientsLabel',
128
+ type: 'text',
129
+ label: 'Clients Label',
130
+ defaultValue: 'Trusted by teams at',
131
+ admin: {
132
+ condition: (_, s) => s?.showClients
133
+ }
134
+ },
135
+ {
136
+ name: 'clients',
137
+ type: 'array',
138
+ label: 'Client Names',
139
+ admin: {
140
+ condition: (_, s) => s?.showClients
141
+ },
142
+ fields: [
143
+ {
144
+ name: 'name',
145
+ type: 'text',
146
+ label: 'Client Name',
147
+ required: true
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ label: 'Settings',
155
+ fields: [
156
+ {
157
+ name: 'sectionId',
158
+ type: 'text',
159
+ label: 'Section ID',
160
+ defaultValue: 'team'
161
+ },
162
+ {
163
+ name: 'customCSS',
164
+ type: 'code',
165
+ label: 'Custom CSS',
166
+ admin: { language: 'css' }
167
+ }
168
+ ]
169
+ }
170
+ ]
171
+ }
172
+ ]
173
+ }
@@ -0,0 +1,82 @@
1
+ {
2
+ "type": "block",
3
+ "name": "DD-Team",
4
+ "label": "Studio Team Block",
5
+ "sourceName": "StudioTeamBlock",
6
+ "portableName": "DD-Team",
7
+ "slug": "DD-Team",
8
+ "version": "0.0.1",
9
+ "source": {
10
+ "repo": "Hadizainal/DesignsDustedv3",
11
+ "originalPath": "src/blocks/StudioTeamBlock",
12
+ "originalSlug": "studioTeamBlock",
13
+ "originalConfigExport": "StudioTeamBlock",
14
+ "originalComponentExport": "StudioTeamBlock",
15
+ "originalInterfaceName": "StudioTeamBlock"
16
+ },
17
+ "files": [
18
+ {
19
+ "from": "Component.tsx",
20
+ "to": "src/blocks/DD-Team/Component.tsx"
21
+ },
22
+ {
23
+ "from": "config.ts",
24
+ "to": "src/blocks/DD-Team/config.ts"
25
+ }
26
+ ],
27
+ "dependencies": [
28
+ {
29
+ "name": "framer-motion"
30
+ },
31
+ {
32
+ "name": "react-icons"
33
+ }
34
+ ],
35
+ "sharedFiles": [],
36
+ "requiredProjectFiles": [],
37
+ "optionalProjectFiles": [],
38
+ "collectionRegistration": {
39
+ "enabled": true,
40
+ "collections": [
41
+ "Pages",
42
+ "Posts"
43
+ ]
44
+ },
45
+ "renderBlocksRegistration": {
46
+ "enabled": true
47
+ },
48
+ "renderBlocksBehavior": {
49
+ "wrapperless": false
50
+ },
51
+ "pageRouteIntegration": {
52
+ "required": false,
53
+ "manualSteps": []
54
+ },
55
+ "manual": [
56
+ "Register DDTeam in Pages/Posts blocks arrays if automatic registration was skipped.",
57
+ "Register DD-Team in RenderBlocks if automatic registration was skipped.",
58
+ "Run payload generate:types after schema changes.",
59
+ "Run payload generate:importmap if admin/component imports changed."
60
+ ],
61
+ "manualSteps": [
62
+ "Register DDTeam in Pages/Posts blocks arrays if automatic registration was skipped.",
63
+ "Register DD-Team in RenderBlocks if automatic registration was skipped.",
64
+ "Run payload generate:types after schema changes.",
65
+ "Run payload generate:importmap if admin/component imports changed."
66
+ ],
67
+ "patchTargets": {
68
+ "blockConfigRegistration": {
69
+ "description": "Installer can add import { DDTeam } from '@/blocks/DD-Team/config' and add DDTeam to clear Pages/Posts blocks arrays."
70
+ },
71
+ "renderBlocksRegistration": {
72
+ "description": "Installer can register DD-Team in src/blocks/**/RenderBlocks.tsx when the blockComponents map is clear."
73
+ }
74
+ },
75
+ "notes": [
76
+ "Converted from DesignsDustedv3 StudioTeamBlock.",
77
+ "Generated Payload type imports are replaced with portable fallback types when needed.",
78
+ "Installer must not overwrite existing target files."
79
+ ],
80
+ "exportName": "DDTeam",
81
+ "interfaceName": "DDTeam"
82
+ }