@appcorp/shadcn 1.1.52 → 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 (32) hide show
  1. package/components/ui/resizable.d.ts +1 -1
  2. package/package.json +1 -1
  3. package/templates/data/school-v1.d.ts +254 -83
  4. package/templates/data/school-v1.js +684 -470
  5. package/templates/school-v1/footer.d.ts +3 -2
  6. package/templates/school-v1/footer.js +34 -38
  7. package/templates/school-v1/index.d.ts +17 -1
  8. package/templates/school-v1/index.js +36 -15
  9. package/templates/school-v1/navigation.d.ts +3 -7
  10. package/templates/school-v1/navigation.js +16 -10
  11. package/templates/school-v1/sections/about.d.ts +2 -7
  12. package/templates/school-v1/sections/about.js +17 -37
  13. package/templates/school-v1/sections/admissions.d.ts +3 -7
  14. package/templates/school-v1/sections/admissions.js +31 -20
  15. package/templates/school-v1/sections/contact.d.ts +3 -2
  16. package/templates/school-v1/sections/contact.js +36 -69
  17. package/templates/school-v1/sections/faqs.d.ts +3 -5
  18. package/templates/school-v1/sections/faqs.js +29 -12
  19. package/templates/school-v1/sections/hero.d.ts +3 -12
  20. package/templates/school-v1/sections/hero.js +53 -19
  21. package/templates/school-v1/sections/management.d.ts +3 -5
  22. package/templates/school-v1/sections/management.js +11 -10
  23. package/templates/school-v1/sections/policies.d.ts +7 -6
  24. package/templates/school-v1/sections/policies.js +4 -4
  25. package/templates/school-v1/sections/programs.d.ts +3 -5
  26. package/templates/school-v1/sections/programs.js +24 -10
  27. package/templates/school-v1/sections/testimonials.d.ts +3 -5
  28. package/templates/school-v1/sections/testimonials.js +13 -12
  29. package/templates/school-v1/sections/why-choose-us.d.ts +3 -6
  30. package/templates/school-v1/sections/why-choose-us.js +34 -17
  31. package/templates/school-v1/sections/news-events.d.ts +0 -2
  32. package/templates/school-v1/sections/news-events.js +0 -60
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import * as ResizablePrimitive from "react-resizable-panels";
3
3
  declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
4
- declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement | HTMLButtonElement | HTMLObjectElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLInputElement | HTMLSpanElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
4
+ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement | HTMLButtonElement | HTMLDivElement | HTMLFormElement | HTMLInputElement | HTMLObjectElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLSpanElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
5
5
  className?: string;
6
6
  collapsedSize?: number | undefined;
7
7
  collapsible?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/shadcn",
3
- "version": "1.1.52",
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",
@@ -1,4 +1,88 @@
1
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;
2
86
  export interface AdmissionStep {
3
87
  icon: LucideIcon;
4
88
  step: string;
@@ -6,6 +90,85 @@ export interface AdmissionStep {
6
90
  description: string;
7
91
  color: string;
8
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;
9
172
  export interface FAQ {
10
173
  id: string;
11
174
  question: string;
@@ -13,6 +176,23 @@ export interface FAQ {
13
176
  icon: LucideIcon;
14
177
  category: string;
15
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;
16
196
  export interface HeroSlide {
17
197
  id: string;
18
198
  badge: string;
@@ -32,11 +212,17 @@ export interface HeroSlide {
32
212
  pattern: string;
33
213
  imageUrl: string;
34
214
  }
35
- export interface KeyDate {
36
- date: string;
37
- event: string;
38
- status: "upcoming" | "open" | "closed";
39
- }
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;
40
226
  export interface ManagementMember {
41
227
  avatar: string;
42
228
  bio: string;
@@ -52,46 +238,17 @@ export interface ManagementMember {
52
238
  };
53
239
  title: string;
54
240
  }
55
- export interface Milestone {
56
- year: string;
57
- event: string;
58
- }
59
- export interface NavLink {
60
- href: string;
61
- label: string;
62
- }
63
- export interface NewsArticle {
64
- id: string;
65
- category: string;
66
- categoryColor: string;
67
- date: string;
68
- title: string;
69
- excerpt: string;
70
- href: string;
71
- }
72
- export interface PolicyCategory {
73
- id: string;
74
- label: string;
75
- icon: string;
76
- colorClass: string;
77
- bgClass: string;
78
- borderClass: string;
79
- badgeClass: string;
80
- bulletBg: string;
81
- description: string;
82
- sections: PolicySection[];
83
- }
84
- export interface PolicyPoint {
85
- text: string;
86
- sub?: string[];
87
- }
88
- export interface PolicySection {
89
- id: string;
90
- title: string;
91
- points: PolicyPoint[];
241
+ export interface ManagementData {
242
+ badge?: string;
243
+ heading: string;
244
+ headingHighlight?: string;
245
+ lead: string;
246
+ team: ManagementMember[];
92
247
  }
248
+ export declare const managementTeam: ManagementMember[];
249
+ export declare const managementData: ManagementData;
93
250
  export interface Program {
94
- icon: LucideIcon;
251
+ icon: string;
95
252
  title: string;
96
253
  ages: string;
97
254
  color: string;
@@ -101,6 +258,14 @@ export interface Program {
101
258
  description: string;
102
259
  highlights: string[];
103
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;
104
269
  export interface Testimonial {
105
270
  id: string;
106
271
  quote: string;
@@ -110,60 +275,66 @@ export interface Testimonial {
110
275
  gradientFrom: string;
111
276
  gradientTo: string;
112
277
  }
113
- export interface UniformSeason {
114
- season: "Summer" | "Winter";
115
- variants: UniformVariant[];
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[];
116
302
  }
303
+ export declare const whysUsData: WhyUsData;
117
304
  export interface UniformVariant {
118
305
  gender: "Boys" | "Girls";
119
306
  classes: string;
120
307
  items: string[];
121
308
  }
122
- export interface UpcomingEvent {
123
- date: string;
124
- month: string;
125
- title: string;
126
- time: string;
127
- type: string;
309
+ export interface UniformSeason {
310
+ season: "Summer" | "Winter";
311
+ variants: UniformVariant[];
128
312
  }
129
- export interface WhyUsFeature {
130
- icon: LucideIcon;
313
+ export declare const uniformData: UniformSeason[];
314
+ export interface PolicyPoint {
315
+ text: string;
316
+ sub?: string[];
317
+ }
318
+ export interface PolicySection {
319
+ id: string;
131
320
  title: string;
132
- description: string;
133
- color: string;
321
+ points: PolicyPoint[];
134
322
  }
135
- export declare const admissionSteps: AdmissionStep[];
136
- export declare const documentsRequired: string[];
137
- export declare const faqs: FAQ[];
138
- export declare const heroSlides: HeroSlide[];
139
- export declare const heroStats: {
140
- value: string;
323
+ export interface PolicyCategory {
324
+ id: string;
141
325
  label: string;
142
326
  icon: string;
143
- }[];
144
- export declare const highlightBadges: string[];
145
- export declare const keyDates: KeyDate[];
146
- export declare const managementTeam: ManagementMember[];
147
- export declare const milestones: Milestone[];
148
- export declare const navLinks: NavLink[];
149
- export declare const newsArticles: NewsArticle[];
327
+ colorClass: string;
328
+ bgClass: string;
329
+ borderClass: string;
330
+ badgeClass: string;
331
+ bulletBg: string;
332
+ description: string;
333
+ sections: PolicySection[];
334
+ }
150
335
  export declare const policyCategories: PolicyCategory[];
151
336
  export declare const policyHighlights: {
152
337
  label: string;
153
338
  value: string;
154
339
  note: string;
155
340
  }[];
156
- export declare const programs: Program[];
157
- export declare const testimonials: Testimonial[];
158
- export declare const uniformData: UniformSeason[];
159
- export declare const upcomingEvents: UpcomingEvent[];
160
- export declare const whyUsFeatures: WhyUsFeature[];
161
- export interface AboutHighlight {
162
- icon: React.ElementType;
163
- title: string;
164
- description: string;
165
- color: string;
166
- iconColor: string;
167
- borderColor: string;
168
- }
169
- export declare const aboutHighlights: AboutHighlight[];