@appcorp/shadcn 1.1.74 → 1.1.76

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": "@appcorp/shadcn",
3
- "version": "1.1.74",
3
+ "version": "1.1.76",
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",
@@ -189,9 +189,13 @@ export interface PolicyCategory {
189
189
  description: string;
190
190
  sections: PolicySection[];
191
191
  }
192
+ export interface PolicyPointSub {
193
+ text: string;
194
+ id: string;
195
+ }
192
196
  export interface PolicyPoint {
193
197
  text: string;
194
- sub?: string[];
198
+ sub?: PolicyPointSub[];
195
199
  id: string;
196
200
  }
197
201
  export interface PolicySection {
@@ -236,10 +240,14 @@ export interface UniformSeason {
236
240
  season: "Summer" | "Winter";
237
241
  variants: UniformVariant[];
238
242
  }
243
+ export interface UniformVairantItem {
244
+ id: string;
245
+ text: string;
246
+ }
239
247
  export interface UniformVariant {
240
248
  gender: "Boys" | "Girls";
241
249
  classes: string;
242
- items: string[];
250
+ items: UniformVairantItem[];
243
251
  }
244
252
  export type PoliciesHighlight = {
245
253
  label: string;
@@ -8,6 +8,7 @@ exports.navigationData = {
8
8
  brandFullName: "Lahore Garrison Grammar School",
9
9
  items: [
10
10
  { href: "/", label: "Home", enable: true, order: 1 },
11
+ { href: "/campuses", label: "Campuses", enable: true, order: 2 },
11
12
  { href: "/faqs", label: "FAQs", enable: true, order: 7 },
12
13
  { href: "/policies", label: "Policies", enable: true, order: 8 },
13
14
  { href: "/contact", label: "Contact", enable: true, order: 9 },
@@ -741,42 +742,96 @@ exports.uniformData = [
741
742
  gender: "Boys",
742
743
  classes: "Class I – V",
743
744
  items: [
744
- "White half-sleeves shirt with grey school insignia on pocket",
745
- "Grey tropical shorts / pants",
746
- "Black shoes",
747
- "Grey socks",
745
+ {
746
+ id: "1",
747
+ text: "White half-sleeves shirt with grey school insignia on pocket",
748
+ },
749
+ {
750
+ id: "2",
751
+ text: "Grey tropical shorts / pants",
752
+ },
753
+ {
754
+ id: "3",
755
+ text: "Black shoes",
756
+ },
757
+ {
758
+ id: "4",
759
+ text: "Grey socks",
760
+ },
748
761
  ],
749
762
  },
750
763
  {
751
764
  gender: "Girls",
752
765
  classes: "Class I – V",
753
766
  items: [
754
- "Red half-sleeves frock with red school insignia",
755
- "White tight / shalwar",
756
- "Black shoes",
757
- "White socks",
767
+ {
768
+ id: "1",
769
+ text: "Red half-sleeves frock with red school insignia",
770
+ },
771
+ {
772
+ id: "2",
773
+ text: "White tight / shalwar",
774
+ },
775
+ {
776
+ id: "3",
777
+ text: "Black shoes",
778
+ },
779
+ {
780
+ id: "4",
781
+ text: "White socks",
782
+ },
758
783
  ],
759
784
  },
760
785
  {
761
786
  gender: "Boys",
762
787
  classes: "Class VI onwards",
763
788
  items: [
764
- "White half-sleeves shirt with grey school insignia on pocket",
765
- "Grey tropical pants",
766
- "Grey socks",
767
- "Black shoes (no metal buckle)",
768
- "Black belt with school logo",
789
+ {
790
+ id: "1",
791
+ text: "White half-sleeves shirt with grey school insignia on pocket",
792
+ },
793
+ {
794
+ id: "2",
795
+ text: "Grey tropical pants",
796
+ },
797
+ {
798
+ id: "3",
799
+ text: "Grey socks",
800
+ },
801
+ {
802
+ id: "4",
803
+ text: "Black shoes (no metal buckle)",
804
+ },
805
+ {
806
+ id: "5",
807
+ text: "Black belt with school logo",
808
+ },
769
809
  ],
770
810
  },
771
811
  {
772
812
  gender: "Girls",
773
813
  classes: "Class VI onwards",
774
814
  items: [
775
- "Red full-sleeves kameez with collar and red logo",
776
- "Red sash",
777
- "White socks",
778
- "Black shoes",
779
- "For hijab: red scarf without lace",
815
+ {
816
+ id: "1",
817
+ text: "Red full-sleeves kameez with collar and red logo",
818
+ },
819
+ {
820
+ id: "2",
821
+ text: "Red sash",
822
+ },
823
+ {
824
+ id: "3",
825
+ text: "White socks",
826
+ },
827
+ {
828
+ id: "4",
829
+ text: "Black shoes",
830
+ },
831
+ {
832
+ id: "5",
833
+ text: "For hijab: red scarf without lace",
834
+ },
780
835
  ],
781
836
  },
782
837
  ],
@@ -788,49 +843,124 @@ exports.uniformData = [
788
843
  gender: "Boys",
789
844
  classes: "Class I – V",
790
845
  items: [
791
- "White full-sleeves shirt with grey school insignia",
792
- "Grey steel colour pocket trousers",
793
- "Grey sleeveless sweater",
794
- "Navy blue blazer with badge pocket",
795
- "Grey socks",
796
- "Black shoes without laces (no joggers, boots, or metal buckle)",
846
+ {
847
+ id: "1",
848
+ text: "White full-sleeves shirt with grey school insignia",
849
+ },
850
+ {
851
+ id: "2",
852
+ text: "Grey steel colour pocket trousers",
853
+ },
854
+ {
855
+ id: "3",
856
+ text: "Grey sleeveless sweater",
857
+ },
858
+ {
859
+ id: "4",
860
+ text: "Navy blue blazer with badge pocket",
861
+ },
862
+ {
863
+ id: "5",
864
+ text: "Grey socks",
865
+ },
866
+ {
867
+ id: "6",
868
+ text: "Black shoes without laces (no joggers, boots, or metal buckle)",
869
+ },
797
870
  ],
798
871
  },
799
872
  {
800
873
  gender: "Girls",
801
874
  classes: "Class I – V",
802
875
  items: [
803
- "Red full-sleeves frock with red school insignia",
804
- "White tight / shalwar",
805
- "Navy blue blazer with badge pocket",
806
- "White socks",
807
- "Black shoes",
876
+ {
877
+ id: "1",
878
+ text: "Red full-sleeves frock with red school insignia",
879
+ },
880
+ {
881
+ id: "2",
882
+ text: "White tight / shalwar",
883
+ },
884
+ {
885
+ id: "3",
886
+ text: "Navy blue blazer with badge pocket",
887
+ },
888
+ {
889
+ id: "4",
890
+ text: "White socks",
891
+ },
892
+ {
893
+ id: "5",
894
+ text: "Black shoes",
895
+ },
808
896
  ],
809
897
  },
810
898
  {
811
899
  gender: "Boys",
812
900
  classes: "Class VI onwards",
813
901
  items: [
814
- "White full-sleeves shirt with grey school insignia on pocket",
815
- "Grey pants with pockets",
816
- "Grey sleeveless sweater",
817
- "Navy blue blazer with badge pocket",
818
- "Grey socks",
819
- "Black shoes (without metal buckle)",
820
- "Black belt with school logo",
902
+ {
903
+ id: "1",
904
+ text: "White full-sleeves shirt with grey school insignia on pocket",
905
+ },
906
+ {
907
+ id: "2",
908
+ text: "Grey pants with pockets",
909
+ },
910
+ {
911
+ id: "3",
912
+ text: "Grey sleeveless sweater",
913
+ },
914
+ {
915
+ id: "4",
916
+ text: "Navy blue blazer with badge pocket",
917
+ },
918
+ {
919
+ id: "5",
920
+ text: "Grey socks",
921
+ },
922
+ {
923
+ id: "6",
924
+ text: "Black shoes (without metal buckle)",
925
+ },
926
+ {
927
+ id: "7",
928
+ text: "Black belt with school logo",
929
+ },
821
930
  ],
822
931
  },
823
932
  {
824
933
  gender: "Girls",
825
934
  classes: "Class VI onwards",
826
935
  items: [
827
- "Red full-sleeves kameez with collar and red logo",
828
- "Red sash",
829
- "Red sleeveless sweater",
830
- "Navy blue blazer with badge pocket",
831
- "White socks",
832
- "Black shoes",
833
- "For hijab: red scarf without lace",
936
+ {
937
+ id: "1",
938
+ text: "Red full-sleeves kameez with collar and red logo",
939
+ },
940
+ {
941
+ id: "2",
942
+ text: "Red sash",
943
+ },
944
+ {
945
+ id: "3",
946
+ text: "Red sleeveless sweater",
947
+ },
948
+ {
949
+ id: "4",
950
+ text: "Navy blue blazer with badge pocket",
951
+ },
952
+ {
953
+ id: "5",
954
+ text: "White socks",
955
+ },
956
+ {
957
+ id: "6",
958
+ text: "Black shoes",
959
+ },
960
+ {
961
+ id: "7",
962
+ text: "For hijab: red scarf without lace",
963
+ },
834
964
  ],
835
965
  },
836
966
  ],
@@ -1055,10 +1185,22 @@ exports.policyCategories = [
1055
1185
  id: "exam-withhold-1",
1056
1186
  text: "The school may withhold board exam admission forms or roll number slips on any of the following grounds:",
1057
1187
  sub: [
1058
- "Non-participation or failure in school send-up tests / examinations",
1059
- "Attendance below 80% (Class IX & X may also be withheld per Lahore Board policy)",
1060
- "Non-payment of school dues",
1061
- "Overall poor or unsatisfactory academic performance",
1188
+ {
1189
+ id: "exam-withhold-1a",
1190
+ text: "Non-participation or failure in school send-up tests / examinations",
1191
+ },
1192
+ {
1193
+ id: "exam-withhold-1b",
1194
+ text: "Attendance below 80% (Class IX & X may also be withheld per Lahore Board policy)",
1195
+ },
1196
+ {
1197
+ id: "exam-withhold-1c",
1198
+ text: "Non-payment of school dues",
1199
+ },
1200
+ {
1201
+ id: "exam-withhold-1d",
1202
+ text: "Overall poor or unsatisfactory academic performance",
1203
+ },
1062
1204
  ],
1063
1205
  },
1064
1206
  {
@@ -1199,10 +1341,22 @@ exports.policyCategories = [
1199
1341
  id: "leave-rules-6",
1200
1342
  text: "Fines for unexcused absences:",
1201
1343
  sub: [
1202
- "Class I–VIII: Rs. 10/day up to 6 days",
1203
- "Class IX–X: Rs. 100/day up to 6 days",
1204
- "Absence from tests: up to Rs. 100 per test",
1205
- "Unauthorized absence from Send-Up / Pre-Board Exam: up to Rs. 500 per paper",
1344
+ {
1345
+ id: "leave-rules-6a",
1346
+ text: "Class I–VIII: Rs. 10/day up to 6 days",
1347
+ },
1348
+ {
1349
+ id: "leave-rules-6b",
1350
+ text: "Class IX–X: Rs. 100/day up to 6 days",
1351
+ },
1352
+ {
1353
+ id: "leave-rules-6c",
1354
+ text: "Absence from tests: up to Rs. 100 per test",
1355
+ },
1356
+ {
1357
+ id: "leave-rules-6d",
1358
+ text: "Unauthorized absence from Send-Up / Pre-Board Exam: up to Rs. 500 per paper",
1359
+ },
1206
1360
  ],
1207
1361
  },
1208
1362
  {
@@ -1220,14 +1374,38 @@ exports.policyCategories = [
1220
1374
  id: "discipline-1",
1221
1375
  text: "The following constitute misbehavior or breach of discipline:",
1222
1376
  sub: [
1223
- "Disobedience or impertinence toward any teacher, coordinator, or Principal",
1224
- "Fighting, violent behavior, or abusive language at school or school functions",
1225
- "Cheating in examinations or assessments",
1226
- "Habitual late arrival or unexplained absence",
1227
- "Disrupting the learning environment or causing distress to others",
1228
- "Possession or use of a mobile phone with camera or any objectionable material",
1229
- "Bringing dangerous objects or arms inside the school premises",
1230
- "Any other act of willful omission or commission deemed misbehavior by the Management",
1377
+ {
1378
+ id: "discipline-1a",
1379
+ text: "Disobedience or impertinence toward any teacher, coordinator, or Principal",
1380
+ },
1381
+ {
1382
+ id: "discipline-1b",
1383
+ text: "Fighting, violent behavior, or abusive language at school or school functions",
1384
+ },
1385
+ {
1386
+ id: "discipline-1c",
1387
+ text: "Cheating in examinations or assessments",
1388
+ },
1389
+ {
1390
+ id: "discipline-1d",
1391
+ text: "Habitual late arrival or unexplained absence",
1392
+ },
1393
+ {
1394
+ id: "discipline-1e",
1395
+ text: "Disrupting the learning environment or causing distress to others",
1396
+ },
1397
+ {
1398
+ id: "discipline-1f",
1399
+ text: "Possession or use of a mobile phone with camera or any objectionable material",
1400
+ },
1401
+ {
1402
+ id: "discipline-1g",
1403
+ text: "Bringing dangerous objects or arms inside the school premises",
1404
+ },
1405
+ {
1406
+ id: "discipline-1h",
1407
+ text: "Any other act of willful omission or commission deemed misbehavior by the Management",
1408
+ },
1231
1409
  ],
1232
1410
  },
1233
1411
  ],
@@ -1240,11 +1418,26 @@ exports.policyCategories = [
1240
1418
  id: "disciplinary-measures-1",
1241
1419
  text: "Depending on severity, progressive disciplinary action may include:",
1242
1420
  sub: [
1243
- "Counseling and placement under observation (parents informed)",
1244
- "Formal warning with parent signature",
1245
- "Special fine",
1246
- "Temporary ban from school premises",
1247
- "Removal from school",
1421
+ {
1422
+ id: "disciplinary-measures-1a",
1423
+ text: "Counseling and placement under observation (parents informed)",
1424
+ },
1425
+ {
1426
+ id: "disciplinary-measures-1b",
1427
+ text: "Formal warning with parent signature",
1428
+ },
1429
+ {
1430
+ id: "disciplinary-measures-1c",
1431
+ text: "Special fine",
1432
+ },
1433
+ {
1434
+ id: "disciplinary-measures-1d",
1435
+ text: "Temporary ban from school premises",
1436
+ },
1437
+ {
1438
+ id: "disciplinary-measures-1e",
1439
+ text: "Removal from school",
1440
+ },
1248
1441
  ],
1249
1442
  },
1250
1443
  {
@@ -61,9 +61,9 @@ function AccordionItem(_a) {
61
61
  react_1.default.createElement(lucide_react_1.CheckCircle, { className: "mt-0.5 h-4 w-4 shrink-0 ".concat(colorClass) }),
62
62
  react_1.default.createElement("div", null,
63
63
  react_1.default.createElement("p", { className: "text-sm leading-relaxed text-gray-700" }, point.text),
64
- point.sub && (react_1.default.createElement("ul", { className: "mt-2 space-y-1" }, point.sub.map(function (s, j) { return (react_1.default.createElement("li", { key: j, className: "flex items-start gap-2" },
64
+ point.sub && (react_1.default.createElement("ul", { className: "mt-2 space-y-1" }, point.sub.map(function (s) { return (react_1.default.createElement("li", { key: s.id, className: "flex items-start gap-2" },
65
65
  react_1.default.createElement("span", { className: "mt-2 h-1.5 w-1.5 shrink-0 rounded-full ".concat(bulletBg) }),
66
- react_1.default.createElement("span", { className: "text-sm text-gray-600" }, s))); })))))); })))))));
66
+ react_1.default.createElement("span", { className: "text-sm text-gray-600" }, s.text))); })))))); })))))));
67
67
  }
68
68
  function UniformPanel(_a) {
69
69
  var colorClass = _a.colorClass, bgClass = _a.bgClass, borderClass = _a.borderClass, bulletBg = _a.bulletBg, uniformData = _a.uniformData;
@@ -79,9 +79,9 @@ function UniformPanel(_a) {
79
79
  react_1.default.createElement("div", { className: "mb-3 flex items-center gap-2" },
80
80
  react_1.default.createElement("span", { className: "rounded-md px-2 py-0.5 text-xs font-bold ".concat(bgClass, " ").concat(colorClass) }, variant.gender),
81
81
  react_1.default.createElement("span", { className: "text-xs text-gray-500" }, variant.classes)),
82
- react_1.default.createElement("ul", { className: "space-y-1.5" }, variant.items.map(function (item, j) { return (react_1.default.createElement("li", { key: j, className: "flex items-start gap-2" },
82
+ react_1.default.createElement("ul", { className: "space-y-1.5" }, variant.items.map(function (item) { return (react_1.default.createElement("li", { key: item.id, className: "flex items-start gap-2" },
83
83
  react_1.default.createElement("span", { className: "mt-2 h-1.5 w-1.5 shrink-0 rounded-full ".concat(bulletBg) }),
84
- react_1.default.createElement("span", { className: "text-sm leading-relaxed text-gray-600" }, item))); })))); })),
84
+ react_1.default.createElement("span", { className: "text-sm leading-relaxed text-gray-600" }, item.text))); })))); })),
85
85
  react_1.default.createElement("p", { className: "rounded-lg border border-amber-200 bg-amber-50 px-4 py-2.5 text-xs text-amber-700" }, "Uniforms for both campuses are available at each campus canteen. Playgroup children may come in private clothes.")));
86
86
  }
87
87
  var PoliciesSection = function (_a) {