@gostudent/shared-ui-library-mcp 3.6.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 +3 -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",
|
|
@@ -1867,7 +1867,7 @@
|
|
|
1867
1867
|
},
|
|
1868
1868
|
{
|
|
1869
1869
|
"name": "HistoryLessonCard",
|
|
1870
|
-
"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```",
|
|
1871
1871
|
"storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/compositions-historylessoncard",
|
|
1872
1872
|
"props": [
|
|
1873
1873
|
{
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
"examples": [
|
|
1942
1942
|
{
|
|
1943
1943
|
"name": "Default",
|
|
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={
|
|
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={() => {}} />",
|
|
1945
1945
|
"storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/compositions-historylessoncard--default"
|
|
1946
1946
|
},
|
|
1947
1947
|
{
|