@gostudent/shared-ui-library-mcp 3.5.0 → 3.7.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/library-manifest.json +8 -3
- package/package.json +1 -1
package/library-manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"libraryVersion": "3.
|
|
2
|
+
"libraryVersion": "3.7.0",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "Avatar",
|
|
@@ -569,6 +569,11 @@
|
|
|
569
569
|
"description": "",
|
|
570
570
|
"options": []
|
|
571
571
|
},
|
|
572
|
+
{
|
|
573
|
+
"name": "bodyClassName",
|
|
574
|
+
"description": "",
|
|
575
|
+
"options": []
|
|
576
|
+
},
|
|
572
577
|
{
|
|
573
578
|
"name": "aria-label",
|
|
574
579
|
"description": "",
|
|
@@ -1862,7 +1867,7 @@
|
|
|
1862
1867
|
},
|
|
1863
1868
|
{
|
|
1864
1869
|
"name": "HistoryLessonCard",
|
|
1865
|
-
"description": "A single row in a student's lesson history list. Behaviour is driven by `attendanceStatus` and
|
|
1870
|
+
"description": "A single row in a student's lesson history list. Behaviour is driven by `attendanceStatus`,\n`isDocumented` and `otherTeacher`:\n\n| `attendanceStatus` | `isDocumented` | `otherTeacher` | Renders |\n|-------------------------------------|------------------|-------------------|---------|\n| `present` | `false` | `false` | \"Pending feedback\" pill + \"Document lesson\" button |\n| `present` | `true` | `false` | Expandable tag row (chevron) revealing behaviour + learning content |\n| `present` | `false` | `true` | \"Pending feedback\" pill only — no button, since another tutor owns feedback for this lesson |\n| `present` | `true` | `true` | Expandable tag row (chevron) — reading a colleague's feedback stays available |\n| `absent` / `absent-with-reason` | — | — | Header, metadata and tags only — no button, pill or chevron |\n| omitted | `false`/`true` | — | No attendance badge; otherwise behaves as `present` |\n\n`attendanceStatus` and `location` are both optional. Omit `attendanceStatus` when attendance\nwas never marked — the badge is hidden rather than claiming a state the data does not support.\nOmit `location` when the lesson had no place, e.g. an online lesson.\n\n### Usage\n\n```tsx\nimport { HistoryLessonCard } from '@gostudent/shared-ui-library';\n\n<HistoryLessonCard\n subject=\"Math\"\n date=\"10 Jul 2026\"\n time=\"14:00 - 15:00\"\n modality=\"offline\"\n location=\"Centrostudi Navigli\"\n attendanceStatus=\"present\"\n isDocumented={false}\n onDocumentLesson={() => {}}\n/>\n```",
|
|
1866
1871
|
"storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/compositions-historylessoncard",
|
|
1867
1872
|
"props": [
|
|
1868
1873
|
{
|
|
@@ -1936,7 +1941,7 @@
|
|
|
1936
1941
|
"examples": [
|
|
1937
1942
|
{
|
|
1938
1943
|
"name": "Default",
|
|
1939
|
-
"jsx": "<HistoryLessonCard subject=\"Math\" date=\"10 Jul 2026\" time=\"14:00 - 15:00\" modality=\"offline\" location=\"Centrostudi Navigli\" attendanceStatus=\"present\" confirmedWithFee={true} gradeRecorded={true} otherTeacher={
|
|
1944
|
+
"jsx": "<HistoryLessonCard subject=\"Math\" date=\"10 Jul 2026\" time=\"14:00 - 15:00\" modality=\"offline\" location=\"Centrostudi Navigli\" attendanceStatus=\"present\" confirmedWithFee={true} gradeRecorded={true} otherTeacher={false} isDocumented={false} onDocumentLesson={() => {}} />",
|
|
1940
1945
|
"storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/compositions-historylessoncard--default"
|
|
1941
1946
|
},
|
|
1942
1947
|
{
|