@gostudent/shared-ui-library-mcp 3.0.0 → 3.1.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "libraryVersion": "3.0.0",
2
+ "libraryVersion": "3.1.0",
3
3
  "components": [
4
4
  {
5
5
  "name": "Avatar",
@@ -924,6 +924,14 @@
924
924
  "name": "children",
925
925
  "description": "Text content displayed next to the icon.",
926
926
  "options": []
927
+ },
928
+ {
929
+ "name": "size",
930
+ "description": "Text size. Accepts a single size or a `[mobile, desktop]` tuple for responsive behaviour, e.g. `size={[\"md\", \"sm\"]}`. Defaults to `[\"md\", \"sm\"]` (md on mobile, sm on desktop). The controls panel only supports a single value — see the **Responsive** story for the tuple API.",
931
+ "options": [
932
+ "sm",
933
+ "md"
934
+ ]
927
935
  }
928
936
  ],
929
937
  "examples": [
@@ -931,6 +939,11 @@
931
939
  "name": "Default",
932
940
  "jsx": "<MetadataItem icon={<EventNoteIcon />} children=\"Mon, 14 Apr 2025\" />",
933
941
  "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-data-display-metadataitem--default"
942
+ },
943
+ {
944
+ "name": "Responsive",
945
+ "jsx": "<MetadataItem mobileSize=\"md\" desktopSize=\"sm\" children=\"Mon, 14 Apr 2025\" />",
946
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-data-display-metadataitem--responsive"
934
947
  }
935
948
  ]
936
949
  },
@@ -1366,7 +1379,7 @@
1366
1379
  },
1367
1380
  {
1368
1381
  "name": "size",
1369
- "description": "`xs` is only meaningful with `shape=\"pill\"` (8/16 SemiBold — a compact pill for dense contexts). Accepts a single size or a `[mobile, desktop]` tuple for responsive behaviour, e.g. `size={[\"md\", \"sm\"]}`. See the **Responsive** story.",
1382
+ "description": "`xs` is only meaningful with `shape=\"pill\"` (8/16 SemiBold — a compact pill for dense contexts). `shape=\"pill\"` defaults to `sm` (not `md`) when `size` is omitted — pill only intends to support `sm`/`xs`. Accepts a single size or a `[mobile, desktop]` tuple for responsive behaviour, e.g. `size={[\"md\", \"sm\"]}`. See the **Responsive** story.",
1370
1383
  "options": [
1371
1384
  "xs",
1372
1385
  "sm",
@@ -1744,7 +1757,7 @@
1744
1757
  },
1745
1758
  {
1746
1759
  "name": "HistoryLessonCard",
1747
- "description": "A single row in a student's lesson history list. Behaviour is driven by `attendanceStatus` and\n`isDocumented`:\n\n| `attendanceStatus` | `isDocumented` | Renders |\n|-------------------------------------|------------------|---------|\n| `present` | `false` | \"Document lesson\" button |\n| `present` | `true` | Expandable tag row (chevron) revealing behaviour + learning content |\n| `absent` / `absent-with-reason` | — | Header, metadata and tags only — no button 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```",
1760
+ "description": "A single row in a student's lesson history list. Behaviour is driven by `attendanceStatus` and\n`isDocumented`:\n\n| `attendanceStatus` | `isDocumented` | Renders |\n|-------------------------------------|------------------|---------|\n| `present` | `false` | \"Pending feedback\" pill + \"Document lesson\" button |\n| `present` | `true` | Expandable tag row (chevron) revealing behaviour + learning content |\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```",
1748
1761
  "storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/compositions-historylessoncard",
1749
1762
  "props": [
1750
1763
  {
@@ -2369,6 +2382,7 @@
2369
2382
  ],
2370
2383
  "icons": {
2371
2384
  "names": [
2385
+ "AgainIcon",
2372
2386
  "ArrowLeftIcon",
2373
2387
  "ArrowRightIcon",
2374
2388
  "BookIcon",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gostudent/shared-ui-library-mcp",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "MCP server for @gostudent/shared-ui-library — exposes components, icons, and tokens to Claude",
5
5
  "type": "module",
6
6
  "bin": {