@appcorp/shadcn 1.1.74 → 1.1.75

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.75",
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;
@@ -741,42 +741,96 @@ exports.uniformData = [
741
741
  gender: "Boys",
742
742
  classes: "Class I – V",
743
743
  items: [
744
- "White half-sleeves shirt with grey school insignia on pocket",
745
- "Grey tropical shorts / pants",
746
- "Black shoes",
747
- "Grey socks",
744
+ {
745
+ id: "1",
746
+ text: "White half-sleeves shirt with grey school insignia on pocket",
747
+ },
748
+ {
749
+ id: "2",
750
+ text: "Grey tropical shorts / pants",
751
+ },
752
+ {
753
+ id: "3",
754
+ text: "Black shoes",
755
+ },
756
+ {
757
+ id: "4",
758
+ text: "Grey socks",
759
+ },
748
760
  ],
749
761
  },
750
762
  {
751
763
  gender: "Girls",
752
764
  classes: "Class I – V",
753
765
  items: [
754
- "Red half-sleeves frock with red school insignia",
755
- "White tight / shalwar",
756
- "Black shoes",
757
- "White socks",
766
+ {
767
+ id: "1",
768
+ text: "Red half-sleeves frock with red school insignia",
769
+ },
770
+ {
771
+ id: "2",
772
+ text: "White tight / shalwar",
773
+ },
774
+ {
775
+ id: "3",
776
+ text: "Black shoes",
777
+ },
778
+ {
779
+ id: "4",
780
+ text: "White socks",
781
+ },
758
782
  ],
759
783
  },
760
784
  {
761
785
  gender: "Boys",
762
786
  classes: "Class VI onwards",
763
787
  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",
788
+ {
789
+ id: "1",
790
+ text: "White half-sleeves shirt with grey school insignia on pocket",
791
+ },
792
+ {
793
+ id: "2",
794
+ text: "Grey tropical pants",
795
+ },
796
+ {
797
+ id: "3",
798
+ text: "Grey socks",
799
+ },
800
+ {
801
+ id: "4",
802
+ text: "Black shoes (no metal buckle)",
803
+ },
804
+ {
805
+ id: "5",
806
+ text: "Black belt with school logo",
807
+ },
769
808
  ],
770
809
  },
771
810
  {
772
811
  gender: "Girls",
773
812
  classes: "Class VI onwards",
774
813
  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",
814
+ {
815
+ id: "1",
816
+ text: "Red full-sleeves kameez with collar and red logo",
817
+ },
818
+ {
819
+ id: "2",
820
+ text: "Red sash",
821
+ },
822
+ {
823
+ id: "3",
824
+ text: "White socks",
825
+ },
826
+ {
827
+ id: "4",
828
+ text: "Black shoes",
829
+ },
830
+ {
831
+ id: "5",
832
+ text: "For hijab: red scarf without lace",
833
+ },
780
834
  ],
781
835
  },
782
836
  ],
@@ -788,49 +842,124 @@ exports.uniformData = [
788
842
  gender: "Boys",
789
843
  classes: "Class I – V",
790
844
  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)",
845
+ {
846
+ id: "1",
847
+ text: "White full-sleeves shirt with grey school insignia",
848
+ },
849
+ {
850
+ id: "2",
851
+ text: "Grey steel colour pocket trousers",
852
+ },
853
+ {
854
+ id: "3",
855
+ text: "Grey sleeveless sweater",
856
+ },
857
+ {
858
+ id: "4",
859
+ text: "Navy blue blazer with badge pocket",
860
+ },
861
+ {
862
+ id: "5",
863
+ text: "Grey socks",
864
+ },
865
+ {
866
+ id: "6",
867
+ text: "Black shoes without laces (no joggers, boots, or metal buckle)",
868
+ },
797
869
  ],
798
870
  },
799
871
  {
800
872
  gender: "Girls",
801
873
  classes: "Class I – V",
802
874
  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",
875
+ {
876
+ id: "1",
877
+ text: "Red full-sleeves frock with red school insignia",
878
+ },
879
+ {
880
+ id: "2",
881
+ text: "White tight / shalwar",
882
+ },
883
+ {
884
+ id: "3",
885
+ text: "Navy blue blazer with badge pocket",
886
+ },
887
+ {
888
+ id: "4",
889
+ text: "White socks",
890
+ },
891
+ {
892
+ id: "5",
893
+ text: "Black shoes",
894
+ },
808
895
  ],
809
896
  },
810
897
  {
811
898
  gender: "Boys",
812
899
  classes: "Class VI onwards",
813
900
  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",
901
+ {
902
+ id: "1",
903
+ text: "White full-sleeves shirt with grey school insignia on pocket",
904
+ },
905
+ {
906
+ id: "2",
907
+ text: "Grey pants with pockets",
908
+ },
909
+ {
910
+ id: "3",
911
+ text: "Grey sleeveless sweater",
912
+ },
913
+ {
914
+ id: "4",
915
+ text: "Navy blue blazer with badge pocket",
916
+ },
917
+ {
918
+ id: "5",
919
+ text: "Grey socks",
920
+ },
921
+ {
922
+ id: "6",
923
+ text: "Black shoes (without metal buckle)",
924
+ },
925
+ {
926
+ id: "7",
927
+ text: "Black belt with school logo",
928
+ },
821
929
  ],
822
930
  },
823
931
  {
824
932
  gender: "Girls",
825
933
  classes: "Class VI onwards",
826
934
  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",
935
+ {
936
+ id: "1",
937
+ text: "Red full-sleeves kameez with collar and red logo",
938
+ },
939
+ {
940
+ id: "2",
941
+ text: "Red sash",
942
+ },
943
+ {
944
+ id: "3",
945
+ text: "Red sleeveless sweater",
946
+ },
947
+ {
948
+ id: "4",
949
+ text: "Navy blue blazer with badge pocket",
950
+ },
951
+ {
952
+ id: "5",
953
+ text: "White socks",
954
+ },
955
+ {
956
+ id: "6",
957
+ text: "Black shoes",
958
+ },
959
+ {
960
+ id: "7",
961
+ text: "For hijab: red scarf without lace",
962
+ },
834
963
  ],
835
964
  },
836
965
  ],
@@ -1055,10 +1184,22 @@ exports.policyCategories = [
1055
1184
  id: "exam-withhold-1",
1056
1185
  text: "The school may withhold board exam admission forms or roll number slips on any of the following grounds:",
1057
1186
  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",
1187
+ {
1188
+ id: "exam-withhold-1a",
1189
+ text: "Non-participation or failure in school send-up tests / examinations",
1190
+ },
1191
+ {
1192
+ id: "exam-withhold-1b",
1193
+ text: "Attendance below 80% (Class IX & X may also be withheld per Lahore Board policy)",
1194
+ },
1195
+ {
1196
+ id: "exam-withhold-1c",
1197
+ text: "Non-payment of school dues",
1198
+ },
1199
+ {
1200
+ id: "exam-withhold-1d",
1201
+ text: "Overall poor or unsatisfactory academic performance",
1202
+ },
1062
1203
  ],
1063
1204
  },
1064
1205
  {
@@ -1199,10 +1340,22 @@ exports.policyCategories = [
1199
1340
  id: "leave-rules-6",
1200
1341
  text: "Fines for unexcused absences:",
1201
1342
  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",
1343
+ {
1344
+ id: "leave-rules-6a",
1345
+ text: "Class I–VIII: Rs. 10/day up to 6 days",
1346
+ },
1347
+ {
1348
+ id: "leave-rules-6b",
1349
+ text: "Class IX–X: Rs. 100/day up to 6 days",
1350
+ },
1351
+ {
1352
+ id: "leave-rules-6c",
1353
+ text: "Absence from tests: up to Rs. 100 per test",
1354
+ },
1355
+ {
1356
+ id: "leave-rules-6d",
1357
+ text: "Unauthorized absence from Send-Up / Pre-Board Exam: up to Rs. 500 per paper",
1358
+ },
1206
1359
  ],
1207
1360
  },
1208
1361
  {
@@ -1220,14 +1373,38 @@ exports.policyCategories = [
1220
1373
  id: "discipline-1",
1221
1374
  text: "The following constitute misbehavior or breach of discipline:",
1222
1375
  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",
1376
+ {
1377
+ id: "discipline-1a",
1378
+ text: "Disobedience or impertinence toward any teacher, coordinator, or Principal",
1379
+ },
1380
+ {
1381
+ id: "discipline-1b",
1382
+ text: "Fighting, violent behavior, or abusive language at school or school functions",
1383
+ },
1384
+ {
1385
+ id: "discipline-1c",
1386
+ text: "Cheating in examinations or assessments",
1387
+ },
1388
+ {
1389
+ id: "discipline-1d",
1390
+ text: "Habitual late arrival or unexplained absence",
1391
+ },
1392
+ {
1393
+ id: "discipline-1e",
1394
+ text: "Disrupting the learning environment or causing distress to others",
1395
+ },
1396
+ {
1397
+ id: "discipline-1f",
1398
+ text: "Possession or use of a mobile phone with camera or any objectionable material",
1399
+ },
1400
+ {
1401
+ id: "discipline-1g",
1402
+ text: "Bringing dangerous objects or arms inside the school premises",
1403
+ },
1404
+ {
1405
+ id: "discipline-1h",
1406
+ text: "Any other act of willful omission or commission deemed misbehavior by the Management",
1407
+ },
1231
1408
  ],
1232
1409
  },
1233
1410
  ],
@@ -1240,11 +1417,26 @@ exports.policyCategories = [
1240
1417
  id: "disciplinary-measures-1",
1241
1418
  text: "Depending on severity, progressive disciplinary action may include:",
1242
1419
  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",
1420
+ {
1421
+ id: "disciplinary-measures-1a",
1422
+ text: "Counseling and placement under observation (parents informed)",
1423
+ },
1424
+ {
1425
+ id: "disciplinary-measures-1b",
1426
+ text: "Formal warning with parent signature",
1427
+ },
1428
+ {
1429
+ id: "disciplinary-measures-1c",
1430
+ text: "Special fine",
1431
+ },
1432
+ {
1433
+ id: "disciplinary-measures-1d",
1434
+ text: "Temporary ban from school premises",
1435
+ },
1436
+ {
1437
+ id: "disciplinary-measures-1e",
1438
+ text: "Removal from school",
1439
+ },
1248
1440
  ],
1249
1441
  },
1250
1442
  {
@@ -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) {