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.
- package/LICENSE +21 -0
- package/README.md +68 -0
- package/bin/index.js +8 -0
- package/package.json +40 -0
- package/src/cli.js +79 -0
- package/src/commands/add.js +327 -0
- package/src/commands/doctor.js +21 -0
- package/src/commands/list.js +18 -0
- package/src/installers/checkRequirements.js +101 -0
- package/src/installers/copyTemplateFiles.js +79 -0
- package/src/installers/installDependencies.js +69 -0
- package/src/installers/patchPayloadBlocksArray.js +122 -0
- package/src/installers/patchRenderBlocks.js +110 -0
- package/src/installers/runGenerators.js +3 -0
- package/src/installers/writeInstalledBlockReadme.js +117 -0
- package/src/registry/listTemplates.js +17 -0
- package/src/registry/loadTemplateManifest.js +20 -0
- package/src/registry/validateTemplateManifest.js +69 -0
- package/src/utils/logger.js +8 -0
- package/src/utils/packageManager.js +42 -0
- package/src/utils/paths.js +7 -0
- package/src/utils/project.js +122 -0
- package/src/utils/strings.js +7 -0
- package/templates/blocks/DD-BookCall/Component.tsx +573 -0
- package/templates/blocks/DD-BookCall/config.ts +239 -0
- package/templates/blocks/DD-BookCall/manifest.json +112 -0
- package/templates/blocks/DD-CardTemplate01/Component.tsx +144 -0
- package/templates/blocks/DD-CardTemplate01/config.ts +106 -0
- package/templates/blocks/DD-CardTemplate01/manifest.json +84 -0
- package/templates/blocks/DD-Carousel-A/Component.tsx +266 -0
- package/templates/blocks/DD-Carousel-A/config.ts +163 -0
- package/templates/blocks/DD-Carousel-A/manifest.json +86 -0
- package/templates/blocks/DD-Carousel-B/Component.tsx +432 -0
- package/templates/blocks/DD-Carousel-B/config.ts +176 -0
- package/templates/blocks/DD-Carousel-B/manifest.json +86 -0
- package/templates/blocks/DD-ComparisonTable/Component.tsx +272 -0
- package/templates/blocks/DD-ComparisonTable/config.ts +105 -0
- package/templates/blocks/DD-ComparisonTable/manifest.json +78 -0
- package/templates/blocks/DD-Contact/Component.tsx +439 -0
- package/templates/blocks/DD-Contact/config.ts +217 -0
- package/templates/blocks/DD-Contact/manifest.json +107 -0
- package/templates/blocks/DD-FeatCat/Component.tsx +361 -0
- package/templates/blocks/DD-FeatCat/config.ts +204 -0
- package/templates/blocks/DD-FeatCat/manifest.json +87 -0
- package/templates/blocks/DD-FeatStrip/Component.tsx +615 -0
- package/templates/blocks/DD-FeatStrip/config.ts +134 -0
- package/templates/blocks/DD-FeatStrip/manifest.json +82 -0
- package/templates/blocks/DD-Hero/Component.tsx +317 -0
- package/templates/blocks/DD-Hero/config.ts +267 -0
- package/templates/blocks/DD-Hero/manifest.json +92 -0
- package/templates/blocks/DD-HorizontalScroll/Component.tsx +995 -0
- package/templates/blocks/DD-HorizontalScroll/config.ts +231 -0
- package/templates/blocks/DD-HorizontalScroll/manifest.json +85 -0
- package/templates/blocks/DD-MasonaryMedia/Component.tsx +571 -0
- package/templates/blocks/DD-MasonaryMedia/config.ts +390 -0
- package/templates/blocks/DD-MasonaryMedia/manifest.json +101 -0
- package/templates/blocks/DD-MasonaryMedia/vendor.d.ts +2 -0
- package/templates/blocks/DD-Pricing/Component.tsx +380 -0
- package/templates/blocks/DD-Pricing/config.ts +215 -0
- package/templates/blocks/DD-Pricing/manifest.json +78 -0
- package/templates/blocks/DD-Process/Component.tsx +155 -0
- package/templates/blocks/DD-Process/config.ts +150 -0
- package/templates/blocks/DD-Process/manifest.json +82 -0
- package/templates/blocks/DD-Section/Component.tsx +327 -0
- package/templates/blocks/DD-Section/config.ts +214 -0
- package/templates/blocks/DD-Section/manifest.json +85 -0
- package/templates/blocks/DD-Services/Component.tsx +188 -0
- package/templates/blocks/DD-Services/config.ts +149 -0
- package/templates/blocks/DD-Services/manifest.json +95 -0
- package/templates/blocks/DD-ShowcaseGrid/Component.tsx +317 -0
- package/templates/blocks/DD-ShowcaseGrid/config.ts +197 -0
- package/templates/blocks/DD-ShowcaseGrid/manifest.json +80 -0
- package/templates/blocks/DD-Slider-A/Component.tsx +252 -0
- package/templates/blocks/DD-Slider-A/config.ts +118 -0
- package/templates/blocks/DD-Slider-A/manifest.json +86 -0
- package/templates/blocks/DD-StackCards/Component.tsx +496 -0
- package/templates/blocks/DD-StackCards/config.ts +399 -0
- package/templates/blocks/DD-StackCards/manifest.json +87 -0
- package/templates/blocks/DD-Team/Component.tsx +265 -0
- package/templates/blocks/DD-Team/config.ts +173 -0
- package/templates/blocks/DD-Team/manifest.json +82 -0
- package/templates/blocks/DD-TechStack/Component.tsx +189 -0
- package/templates/blocks/DD-TechStack/config.ts +153 -0
- package/templates/blocks/DD-TechStack/manifest.json +118 -0
- package/templates/blocks/DD-Testimonials/Component.tsx +147 -0
- package/templates/blocks/DD-Testimonials/config.ts +120 -0
- package/templates/blocks/DD-Testimonials/manifest.json +87 -0
- package/templates/blocks/DD-Work/Component.tsx +328 -0
- package/templates/blocks/DD-Work/config.ts +165 -0
- package/templates/blocks/DD-Work/manifest.json +87 -0
- package/templates/blocks/DD-Work-B/Component.tsx +320 -0
- package/templates/blocks/DD-Work-B/config.ts +165 -0
- package/templates/blocks/DD-Work-B/manifest.json +75 -0
- package/templates/shared/components/ui/anims/fade.tsx +83 -0
- package/templates/shared/components/ui/button.tsx +233 -0
- package/templates/shared/components/ui/input.tsx +41 -0
- package/templates/shared/fields/lucide-icon-picker/Cell.tsx +24 -0
- package/templates/shared/fields/lucide-icon-picker/README.md +160 -0
- package/templates/shared/fields/lucide-icon-picker/field.ts +40 -0
- package/templates/shared/fields/lucide-icon-picker/index.tsx +203 -0
- package/templates/shared/utilities/canUseDOM.ts +1 -0
- package/templates/shared/utilities/getURL.ts +31 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import * as LucideIcons from "lucide-react";
|
|
4
|
+
import { motion, type Variants } from "framer-motion";
|
|
5
|
+
export type DDProcessProps = Record<string, any>;
|
|
6
|
+
type StepItem = {
|
|
7
|
+
id?: string | null;
|
|
8
|
+
iconName?: string | null;
|
|
9
|
+
title?: string | null;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
duration?: string | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
function DynamicIcon({
|
|
15
|
+
name,
|
|
16
|
+
size = 24,
|
|
17
|
+
...props
|
|
18
|
+
}: { name?: string | null } & Omit<LucideIcons.LucideProps, "name">) {
|
|
19
|
+
if (!name) return null;
|
|
20
|
+
const Icon = (
|
|
21
|
+
LucideIcons as unknown as Record<string, React.FC<LucideIcons.LucideProps>>
|
|
22
|
+
)[name];
|
|
23
|
+
if (!Icon) return null;
|
|
24
|
+
return <Icon size={size} {...props} />;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Enumerate all possible classes so Tailwind doesn't purge them
|
|
28
|
+
const gridColsMap: Record<number, string> = {
|
|
29
|
+
1: "lg:grid-cols-1",
|
|
30
|
+
2: "lg:grid-cols-2",
|
|
31
|
+
3: "lg:grid-cols-3",
|
|
32
|
+
4: "lg:grid-cols-4",
|
|
33
|
+
5: "lg:grid-cols-5",
|
|
34
|
+
6: "lg:grid-cols-6",
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const containerVariants: Variants = {
|
|
38
|
+
hidden: {},
|
|
39
|
+
show: {
|
|
40
|
+
transition: {
|
|
41
|
+
staggerChildren: 0.1,
|
|
42
|
+
delayChildren: 0.05,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const stepVariants: Variants = {
|
|
48
|
+
hidden: { opacity: 0, y: 28 },
|
|
49
|
+
show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: "easeOut" } },
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const DDProcess: React.FC<DDProcessProps> = ({
|
|
53
|
+
eyebrow,
|
|
54
|
+
headlineMain,
|
|
55
|
+
headlineAccent,
|
|
56
|
+
description,
|
|
57
|
+
steps,
|
|
58
|
+
sectionId,
|
|
59
|
+
customCSS,
|
|
60
|
+
}) => {
|
|
61
|
+
const stepItems = (steps ?? []) as StepItem[];
|
|
62
|
+
const colCount = Math.min(stepItems.length || 4, 6);
|
|
63
|
+
const lgCols = gridColsMap[colCount] ?? "lg:grid-cols-4";
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<>
|
|
67
|
+
{customCSS && <style dangerouslySetInnerHTML={{ __html: customCSS }} />}
|
|
68
|
+
|
|
69
|
+
<div id={sectionId ?? "process"} className="py-24">
|
|
70
|
+
<div className="max-w-6xl lg:max-w-7xl mx-auto px-4 md:px-6">
|
|
71
|
+
{/* Header */}
|
|
72
|
+
<div className="text-center max-w-2xl mx-auto mb-16">
|
|
73
|
+
{eyebrow && (
|
|
74
|
+
<p className="text-[11.5px] font-semibold text-stone-400 tracking-widest uppercase mb-3 top-caption">
|
|
75
|
+
{eyebrow}
|
|
76
|
+
</p>
|
|
77
|
+
)}
|
|
78
|
+
<h2 className="text-3d text-4xl md:text-5xl font-bold text-stone-900 dark:text-stone-50 leading-tight mb-5">
|
|
79
|
+
{headlineMain}
|
|
80
|
+
<br />
|
|
81
|
+
<span className="text-stone-400">{headlineAccent}</span>
|
|
82
|
+
</h2>
|
|
83
|
+
{description && (
|
|
84
|
+
<p className="text-stone-700 dark:text-stone-300 text-base leading-relaxed">
|
|
85
|
+
{description}
|
|
86
|
+
</p>
|
|
87
|
+
)}
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
{/* Steps */}
|
|
91
|
+
{stepItems.length > 0 && (
|
|
92
|
+
<div className="relative steps-container mb-4">
|
|
93
|
+
{/* Single connector line spanning icon centres */}
|
|
94
|
+
<div
|
|
95
|
+
className="hidden lg:block absolute top-10 h-px bg-indigo-700 z-0"
|
|
96
|
+
style={{
|
|
97
|
+
left: `calc(100% / ${colCount} / 2)`,
|
|
98
|
+
right: `calc(100% / ${colCount} / 2)`,
|
|
99
|
+
}}
|
|
100
|
+
/>
|
|
101
|
+
|
|
102
|
+
<motion.div
|
|
103
|
+
className={`grid grid-cols-2 sm:grid-cols-2 ${lgCols} gap-8 sm:gap-6 relative z-10`}
|
|
104
|
+
variants={containerVariants}
|
|
105
|
+
initial="hidden"
|
|
106
|
+
whileInView="show"
|
|
107
|
+
viewport={{ once: false, amount: 0.2 }}
|
|
108
|
+
>
|
|
109
|
+
{stepItems.map((step, i) => (
|
|
110
|
+
<motion.div
|
|
111
|
+
key={step.id ?? i}
|
|
112
|
+
className="flex flex-col items-start md:items-center text-left md:text-center justify-start md:justify-center p-4 border-zinc-700/0 border focus:outline-none group bg-lines rounded-md hover:rounded-lg hover:border hover:bg-stone-100 dark:hover:bg-stone-950/90 hover:shadow-2xl hover:border-indigo-500 duration-300 hover:duration-300 transition-all card-bottom-lit"
|
|
113
|
+
variants={stepVariants}
|
|
114
|
+
>
|
|
115
|
+
{/* Circular icon with numbered badge */}
|
|
116
|
+
<div className="w-20 h-20 mx-auto flex items-center justify-center rounded-full bg-stone-200 dark:bg-stone-900 border-2 border-indigo-700 group-hover:border-indigo-500 -border-stone-700 mb-5 relative shrink-0">
|
|
117
|
+
<DynamicIcon
|
|
118
|
+
className="dark:text-indigo-400 text-indigo-700 group-hover:dark:text-lime-400 duration-300 transition-all"
|
|
119
|
+
name={step.iconName}
|
|
120
|
+
size={24}
|
|
121
|
+
/>
|
|
122
|
+
<span className="absolute -top-1 -right-1 w-6 h-6 flex items-center justify-center rounded-full bg-stone-200 dark:bg-stone-900 border border-indigo-700 text-[10px] font-mono text-indigo-700 dark:text-indigo-400">
|
|
123
|
+
{i + 1}
|
|
124
|
+
</span>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
{/* Duration badge */}
|
|
128
|
+
{step.duration && (
|
|
129
|
+
<div className="inline-flex items-center gap-1 bg-7 bg-stone-800 border border-stone-700 rounded-full px-2.5 py-0.5 mb-3 group-hover:bg-indigo-800 group-hover:border-indigo-600 dark:group-hover:border-lime-500">
|
|
130
|
+
<LucideIcons.Clock
|
|
131
|
+
size={10}
|
|
132
|
+
className="text-stone-300"
|
|
133
|
+
/>
|
|
134
|
+
<span className="text-[10px] text-stone-300 font-medium">
|
|
135
|
+
{step.duration}
|
|
136
|
+
</span>
|
|
137
|
+
</div>
|
|
138
|
+
)}
|
|
139
|
+
|
|
140
|
+
<h3 className="text-lg font-semibold text-stone-900 dark:text-stone-50 mb-2">
|
|
141
|
+
{step.title}
|
|
142
|
+
</h3>
|
|
143
|
+
<p className="text-sm text-stone-700 dark:text-stone-300 leading-relaxed pb-8">
|
|
144
|
+
{step.description}
|
|
145
|
+
</p>
|
|
146
|
+
</motion.div>
|
|
147
|
+
))}
|
|
148
|
+
</motion.div>
|
|
149
|
+
</div>
|
|
150
|
+
)}
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
</>
|
|
154
|
+
);
|
|
155
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import type { Block } from 'payload'
|
|
2
|
+
|
|
3
|
+
export const DDProcess: Block = {
|
|
4
|
+
slug: 'DD-Process',
|
|
5
|
+
interfaceName: 'DDProcess',
|
|
6
|
+
labels: {
|
|
7
|
+
singular: 'Studio Process',
|
|
8
|
+
plural: 'Studio Process 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: 'How We Work'
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'headlineMain',
|
|
25
|
+
type: 'text',
|
|
26
|
+
label: 'Headline (Main)',
|
|
27
|
+
defaultValue: 'A process built for',
|
|
28
|
+
required: true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'headlineAccent',
|
|
32
|
+
type: 'text',
|
|
33
|
+
label: 'Headline (Accent)',
|
|
34
|
+
defaultValue: 'real outcomes',
|
|
35
|
+
required: true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'description',
|
|
39
|
+
type: 'textarea',
|
|
40
|
+
label: 'Description',
|
|
41
|
+
defaultValue:
|
|
42
|
+
'We run a tight, transparent process that keeps you informed and involved — without wasting your time.'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: 'Steps',
|
|
48
|
+
fields: [
|
|
49
|
+
{
|
|
50
|
+
name: 'steps',
|
|
51
|
+
type: 'array',
|
|
52
|
+
label: 'Process Steps',
|
|
53
|
+
minRows: 1,
|
|
54
|
+
fields: [
|
|
55
|
+
{
|
|
56
|
+
name: 'iconName',
|
|
57
|
+
type: 'text',
|
|
58
|
+
label: 'Lucide Icon Name',
|
|
59
|
+
required: true,
|
|
60
|
+
admin: {
|
|
61
|
+
description: 'e.g. Search, Pencil, Hammer, Rocket, CheckCircle'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'number',
|
|
66
|
+
type: 'text',
|
|
67
|
+
label: 'Step Number',
|
|
68
|
+
admin: {
|
|
69
|
+
description: 'e.g. 01, 02'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'title',
|
|
74
|
+
type: 'text',
|
|
75
|
+
label: 'Step Title',
|
|
76
|
+
required: true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'description',
|
|
80
|
+
type: 'textarea',
|
|
81
|
+
label: 'Description',
|
|
82
|
+
required: true
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'duration',
|
|
86
|
+
type: 'text',
|
|
87
|
+
label: 'Typical Duration',
|
|
88
|
+
admin: {
|
|
89
|
+
description: 'e.g. 1–2 weeks, 1 day'
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
defaultValue: [
|
|
94
|
+
{
|
|
95
|
+
iconName: 'Search',
|
|
96
|
+
number: '01',
|
|
97
|
+
title: 'Discover',
|
|
98
|
+
description:
|
|
99
|
+
'We start with a deep-dive kickoff — understanding your users, your goals, and the constraints we need to design around.',
|
|
100
|
+
duration: '1–2 days'
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
iconName: 'PenTool',
|
|
104
|
+
number: '02',
|
|
105
|
+
title: 'Design',
|
|
106
|
+
description:
|
|
107
|
+
'Wireframes, flows, and high-fidelity UI. We move fast and keep you in the loop with regular check-ins and async Figma access.',
|
|
108
|
+
duration: '1–2 weeks'
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
iconName: 'Code2',
|
|
112
|
+
number: '03',
|
|
113
|
+
title: 'Build',
|
|
114
|
+
description:
|
|
115
|
+
'Clean, typed, tested code. We ship in short sprints with daily updates and a staging environment from day one.',
|
|
116
|
+
duration: '2–8 weeks'
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
iconName: 'Rocket',
|
|
120
|
+
number: '04',
|
|
121
|
+
title: 'Launch',
|
|
122
|
+
description:
|
|
123
|
+
'We handle deployment, monitoring, and handoff documentation so your team is set up for long-term success.',
|
|
124
|
+
duration: '2–3 days'
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: 'Settings',
|
|
132
|
+
fields: [
|
|
133
|
+
{
|
|
134
|
+
name: 'sectionId',
|
|
135
|
+
type: 'text',
|
|
136
|
+
label: 'Section ID',
|
|
137
|
+
defaultValue: 'process'
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'customCSS',
|
|
141
|
+
type: 'code',
|
|
142
|
+
label: 'Custom CSS',
|
|
143
|
+
admin: { language: 'css' }
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "block",
|
|
3
|
+
"name": "DD-Process",
|
|
4
|
+
"label": "Studio Process Block",
|
|
5
|
+
"sourceName": "StudioProcessBlock",
|
|
6
|
+
"portableName": "DD-Process",
|
|
7
|
+
"slug": "DD-Process",
|
|
8
|
+
"version": "0.0.1",
|
|
9
|
+
"source": {
|
|
10
|
+
"repo": "Hadizainal/DesignsDustedv3",
|
|
11
|
+
"originalPath": "src/blocks/StudioProcessBlock",
|
|
12
|
+
"originalSlug": "studioProcessBlock",
|
|
13
|
+
"originalConfigExport": "StudioProcessBlock",
|
|
14
|
+
"originalComponentExport": "StudioProcessBlock",
|
|
15
|
+
"originalInterfaceName": "StudioProcessBlock"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
{
|
|
19
|
+
"from": "Component.tsx",
|
|
20
|
+
"to": "src/blocks/DD-Process/Component.tsx"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"from": "config.ts",
|
|
24
|
+
"to": "src/blocks/DD-Process/config.ts"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"dependencies": [
|
|
28
|
+
{
|
|
29
|
+
"name": "framer-motion"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "lucide-react"
|
|
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 DDProcess in Pages/Posts blocks arrays if automatic registration was skipped.",
|
|
57
|
+
"Register DD-Process 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 DDProcess in Pages/Posts blocks arrays if automatic registration was skipped.",
|
|
63
|
+
"Register DD-Process 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 { DDProcess } from '@/blocks/DD-Process/config' and add DDProcess to clear Pages/Posts blocks arrays."
|
|
70
|
+
},
|
|
71
|
+
"renderBlocksRegistration": {
|
|
72
|
+
"description": "Installer can register DD-Process in src/blocks/**/RenderBlocks.tsx when the blockComponents map is clear."
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"notes": [
|
|
76
|
+
"Converted from DesignsDustedv3 StudioProcessBlock.",
|
|
77
|
+
"Generated Payload type imports are replaced with portable fallback types when needed.",
|
|
78
|
+
"Installer must not overwrite existing target files."
|
|
79
|
+
],
|
|
80
|
+
"exportName": "DDProcess",
|
|
81
|
+
"interfaceName": "DDProcess"
|
|
82
|
+
}
|