@appcorp/shadcn 1.1.51 → 1.1.53

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 (30) hide show
  1. package/components/ui/chart.d.ts +1 -1
  2. package/package.json +2 -2
  3. package/templates/data/school-v1.d.ts +340 -0
  4. package/templates/data/school-v1.js +1254 -0
  5. package/templates/school-v1/footer.d.ts +3 -0
  6. package/templates/school-v1/footer.js +70 -0
  7. package/templates/school-v1/index.d.ts +18 -0
  8. package/templates/school-v1/index.js +57 -0
  9. package/templates/school-v1/navigation.d.ts +3 -0
  10. package/templates/school-v1/navigation.js +92 -0
  11. package/templates/school-v1/sections/about.d.ts +3 -0
  12. package/templates/school-v1/sections/about.js +49 -0
  13. package/templates/school-v1/sections/admissions.d.ts +3 -0
  14. package/templates/school-v1/sections/admissions.js +77 -0
  15. package/templates/school-v1/sections/contact.d.ts +3 -0
  16. package/templates/school-v1/sections/contact.js +66 -0
  17. package/templates/school-v1/sections/faqs.d.ts +3 -0
  18. package/templates/school-v1/sections/faqs.js +50 -0
  19. package/templates/school-v1/sections/hero.d.ts +3 -0
  20. package/templates/school-v1/sections/hero.js +132 -0
  21. package/templates/school-v1/sections/management.d.ts +3 -0
  22. package/templates/school-v1/sections/management.js +34 -0
  23. package/templates/school-v1/sections/policies.d.ts +14 -0
  24. package/templates/school-v1/sections/policies.js +126 -0
  25. package/templates/school-v1/sections/programs.d.ts +3 -0
  26. package/templates/school-v1/sections/programs.js +107 -0
  27. package/templates/school-v1/sections/testimonials.d.ts +3 -0
  28. package/templates/school-v1/sections/testimonials.js +46 -0
  29. package/templates/school-v1/sections/why-choose-us.d.ts +3 -0
  30. package/templates/school-v1/sections/why-choose-us.js +57 -0
@@ -47,7 +47,7 @@ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<React.Cl
47
47
  labelClassName?: string;
48
48
  color?: string;
49
49
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
50
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
50
+ declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
51
51
  declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
52
52
  payload?: Array<{
53
53
  value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/shadcn",
3
- "version": "1.1.51",
3
+ "version": "1.1.53",
4
4
  "scripts": {
5
5
  "build:next": "next build",
6
6
  "build:storybook": "mv ../.pnp.cjs ../.pnp.cjs.bak 2>/dev/null || true && storybook build -c .storybook -o .out && mv ../.pnp.cjs.bak ../.pnp.cjs 2>/dev/null || true",
@@ -65,7 +65,7 @@
65
65
  "@radix-ui/react-switch": "^1",
66
66
  "@radix-ui/react-tabs": "^1",
67
67
  "@radix-ui/react-toggle": "^1",
68
- "@react-pakistan/util-functions": "^1.25.18",
68
+ "@react-pakistan/util-functions": "^1.25.39",
69
69
  "@storybook/addon-docs": "^10",
70
70
  "@storybook/addon-onboarding": "^10",
71
71
  "@storybook/nextjs": "^10",
@@ -0,0 +1,340 @@
1
+ import type { LucideIcon } from "lucide-react";
2
+ export type NavLink = {
3
+ href: string;
4
+ label: string;
5
+ enable: boolean;
6
+ order: number;
7
+ };
8
+ export type NavigationData = {
9
+ brand: {
10
+ shortName: string;
11
+ fullName: string;
12
+ };
13
+ navLinks: NavLink[];
14
+ applyNow: {
15
+ label: string;
16
+ href: string;
17
+ };
18
+ };
19
+ export declare const navigationData: NavigationData;
20
+ export type FooterData = {
21
+ brand: {
22
+ shortName: string;
23
+ fullName: string;
24
+ tagline?: string;
25
+ description: string;
26
+ };
27
+ socialLinks: Array<{
28
+ name: "facebook" | "twitter" | "instagram" | "youtube";
29
+ href: string;
30
+ aria?: string;
31
+ enable: boolean;
32
+ order: number;
33
+ }>;
34
+ quickLinks: Array<{
35
+ href: string;
36
+ label: string;
37
+ enable: boolean;
38
+ order: number;
39
+ }>;
40
+ programs: string[];
41
+ contact: {
42
+ address: string;
43
+ phone: {
44
+ label: string;
45
+ href: string;
46
+ };
47
+ email: {
48
+ label: string;
49
+ href: string;
50
+ };
51
+ };
52
+ partners?: Array<{
53
+ label: string;
54
+ href: string;
55
+ }>;
56
+ };
57
+ export declare const footerData: FooterData;
58
+ export type AboutValue = {
59
+ icon: "Star" | "Heart" | "Target" | "Eye";
60
+ title: string;
61
+ description: string;
62
+ color: string;
63
+ iconColor: string;
64
+ borderColor: string;
65
+ };
66
+ export type AboutMilestone = {
67
+ year: string;
68
+ event: string;
69
+ };
70
+ export type AboutStat = {
71
+ value: string;
72
+ label: string;
73
+ color: string;
74
+ };
75
+ export type AboutData = {
76
+ badge?: string;
77
+ heading: string;
78
+ headingHighlight?: string;
79
+ lead: string;
80
+ paragraphs: string[];
81
+ values: AboutValue[];
82
+ stats: AboutStat[];
83
+ milestones: AboutMilestone[];
84
+ };
85
+ export declare const aboutData: AboutData;
86
+ export interface AdmissionStep {
87
+ icon: LucideIcon;
88
+ step: string;
89
+ title: string;
90
+ description: string;
91
+ color: string;
92
+ }
93
+ export type AdmissionStepSerializable = {
94
+ icon: "FileText" | "Calendar" | "ClipboardList" | "CheckCircle";
95
+ step: string;
96
+ title: string;
97
+ description: string;
98
+ color: string;
99
+ };
100
+ export interface KeyDate {
101
+ date: string;
102
+ event: string;
103
+ status: "upcoming" | "open" | "closed";
104
+ }
105
+ export declare const admissionSteps: AdmissionStep[];
106
+ export declare const keyDates: KeyDate[];
107
+ export declare const documentsRequired: string[];
108
+ export type AdmissionsCTA = {
109
+ downloadLabel: string;
110
+ phone: {
111
+ label: string;
112
+ href: string;
113
+ };
114
+ email: {
115
+ label: string;
116
+ href: string;
117
+ };
118
+ };
119
+ export type AdmissionsData = {
120
+ badge?: string;
121
+ heading: string;
122
+ headingHighlight?: string;
123
+ lead: string;
124
+ stepsTitle?: string;
125
+ keyDatesTitle?: string;
126
+ documentsTitle?: string;
127
+ cta: AdmissionsCTA;
128
+ admissionSteps: AdmissionStepSerializable[];
129
+ keyDates: KeyDate[];
130
+ documentsRequired: string[];
131
+ };
132
+ export declare const admissionsData: AdmissionsData;
133
+ export type ContactIcon = "MapPin" | "Phone" | "Mail" | "Clock";
134
+ export type SocialIcon = "Facebook" | "Instagram" | "Twitter";
135
+ export type ContactDetail = {
136
+ icon: ContactIcon;
137
+ label: string;
138
+ value: string;
139
+ href: string | null;
140
+ color: string;
141
+ bg: string;
142
+ };
143
+ export type SocialLink = {
144
+ icon: SocialIcon;
145
+ href: string;
146
+ label: string;
147
+ };
148
+ export type ContactData = {
149
+ badge: string;
150
+ heading: string;
151
+ headingHighlight?: string;
152
+ lead: string;
153
+ contactDetails: ContactDetail[];
154
+ socialLinks: SocialLink[];
155
+ mapEmbedSrc: string;
156
+ mapOpenLink: string;
157
+ cta: {
158
+ title: string;
159
+ lead: string;
160
+ bullets: string[];
161
+ primary: {
162
+ label: string;
163
+ href?: string;
164
+ };
165
+ secondary: {
166
+ label: string;
167
+ href?: string;
168
+ };
169
+ };
170
+ };
171
+ export declare const contactData: ContactData;
172
+ export interface FAQ {
173
+ id: string;
174
+ question: string;
175
+ answer: string;
176
+ icon: LucideIcon;
177
+ category: string;
178
+ }
179
+ export type FAQSerializable = {
180
+ id: string;
181
+ question: string;
182
+ answer: string;
183
+ icon: "HelpCircle" | "Users" | "GraduationCap" | "Calendar" | "BookOpen" | "Heart" | "Shield" | "Star" | "CreditCard" | "Bus";
184
+ category: string;
185
+ };
186
+ export type FAQsData = {
187
+ badge?: string;
188
+ heading?: string;
189
+ headingHighlight?: string;
190
+ lead?: string;
191
+ faqs: FAQSerializable[];
192
+ };
193
+ export declare const faqsList: FAQ[];
194
+ export declare const faqs: FAQSerializable[];
195
+ export declare const faqsData: FAQsData;
196
+ export interface HeroSlide {
197
+ id: string;
198
+ badge: string;
199
+ headline: string;
200
+ subheadline: string;
201
+ description: string;
202
+ primaryCta: {
203
+ label: string;
204
+ href: string;
205
+ };
206
+ secondaryCta: {
207
+ label: string;
208
+ href: string;
209
+ };
210
+ gradient: string;
211
+ accentColor: string;
212
+ pattern: string;
213
+ imageUrl: string;
214
+ }
215
+ export declare const heroSlides: HeroSlide[];
216
+ export declare const heroStats: {
217
+ value: string;
218
+ label: string;
219
+ icon: string;
220
+ }[];
221
+ export type HeroData = {
222
+ slides: HeroSlide[];
223
+ stats: typeof heroStats;
224
+ };
225
+ export declare const heroData: HeroData;
226
+ export interface ManagementMember {
227
+ avatar: string;
228
+ bio: string;
229
+ color: string;
230
+ id: string;
231
+ initials: string;
232
+ name: string;
233
+ qualifications: string;
234
+ socialLinks?: {
235
+ facebook?: string;
236
+ twitter?: string;
237
+ instagram?: string;
238
+ };
239
+ title: string;
240
+ }
241
+ export interface ManagementData {
242
+ badge?: string;
243
+ heading: string;
244
+ headingHighlight?: string;
245
+ lead: string;
246
+ team: ManagementMember[];
247
+ }
248
+ export declare const managementTeam: ManagementMember[];
249
+ export declare const managementData: ManagementData;
250
+ export interface Program {
251
+ icon: string;
252
+ title: string;
253
+ ages: string;
254
+ color: string;
255
+ lightColor: string;
256
+ textColor: string;
257
+ borderColor: string;
258
+ description: string;
259
+ highlights: string[];
260
+ }
261
+ export declare const programs: Program[];
262
+ export interface ProgramsData {
263
+ badge: string;
264
+ title: string;
265
+ lead: string;
266
+ programs: Program[];
267
+ }
268
+ export declare const programsData: ProgramsData;
269
+ export interface Testimonial {
270
+ id: string;
271
+ quote: string;
272
+ name: string;
273
+ role: string;
274
+ initials: string;
275
+ gradientFrom: string;
276
+ gradientTo: string;
277
+ }
278
+ export declare const testimonials: Testimonial[];
279
+ export type TestimonialData = {
280
+ badge: string;
281
+ heading: string;
282
+ headingHighlight?: string;
283
+ lead: string;
284
+ items: Testimonial[];
285
+ };
286
+ export declare const testimonialData: TestimonialData;
287
+ export interface WhyUsFeature {
288
+ icon: string;
289
+ title: string;
290
+ description: string;
291
+ color: string;
292
+ }
293
+ export declare const whyUsFeatures: WhyUsFeature[];
294
+ export declare const highlightBadges: string[];
295
+ export interface WhyUsData {
296
+ badge: string;
297
+ title: string;
298
+ lead: string;
299
+ paragraph: string;
300
+ features: WhyUsFeature[];
301
+ highlights: string[];
302
+ }
303
+ export declare const whysUsData: WhyUsData;
304
+ export interface UniformVariant {
305
+ gender: "Boys" | "Girls";
306
+ classes: string;
307
+ items: string[];
308
+ }
309
+ export interface UniformSeason {
310
+ season: "Summer" | "Winter";
311
+ variants: UniformVariant[];
312
+ }
313
+ export declare const uniformData: UniformSeason[];
314
+ export interface PolicyPoint {
315
+ text: string;
316
+ sub?: string[];
317
+ }
318
+ export interface PolicySection {
319
+ id: string;
320
+ title: string;
321
+ points: PolicyPoint[];
322
+ }
323
+ export interface PolicyCategory {
324
+ id: string;
325
+ label: string;
326
+ icon: string;
327
+ colorClass: string;
328
+ bgClass: string;
329
+ borderClass: string;
330
+ badgeClass: string;
331
+ bulletBg: string;
332
+ description: string;
333
+ sections: PolicySection[];
334
+ }
335
+ export declare const policyCategories: PolicyCategory[];
336
+ export declare const policyHighlights: {
337
+ label: string;
338
+ value: string;
339
+ note: string;
340
+ }[];