@gostudent/shared-ui-library-mcp 3.0.0 → 3.1.1-DT-17070.1

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",
@@ -746,6 +746,95 @@
746
746
  }
747
747
  ]
748
748
  },
749
+ {
750
+ "name": "InputAutocomplete",
751
+ "description": "Text input that filters a list of suggestions as the user types, and lets them pick one.\n\n- Type-to-filter: the dropdown narrows to options whose label contains the typed text\n- Opens on focus, closes on **Escape**, blur outside, or option selection\n- Arrow Up/Down moves the highlighted option, Enter selects it\n- Supports an `error` message/state, same as `InputText`\n- Unlike `InputSelect`, the field stays a free-text input — a typed value that matches no\n option is still accepted, so the consumer can show a custom \"no match\" error",
752
+ "storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/components-inputs-inputautocomplete",
753
+ "props": [
754
+ {
755
+ "name": "options",
756
+ "description": "",
757
+ "options": []
758
+ },
759
+ {
760
+ "name": "value",
761
+ "description": "",
762
+ "options": []
763
+ },
764
+ {
765
+ "name": "onChange",
766
+ "description": "",
767
+ "options": []
768
+ },
769
+ {
770
+ "name": "onSelect",
771
+ "description": "",
772
+ "options": []
773
+ },
774
+ {
775
+ "name": "label",
776
+ "description": "",
777
+ "options": []
778
+ },
779
+ {
780
+ "name": "placeholder",
781
+ "description": "",
782
+ "options": []
783
+ },
784
+ {
785
+ "name": "error",
786
+ "description": "",
787
+ "options": []
788
+ },
789
+ {
790
+ "name": "disabled",
791
+ "description": "",
792
+ "options": []
793
+ },
794
+ {
795
+ "name": "className",
796
+ "description": "",
797
+ "options": []
798
+ },
799
+ {
800
+ "name": "id",
801
+ "description": "",
802
+ "options": []
803
+ },
804
+ {
805
+ "name": "name",
806
+ "description": "",
807
+ "options": []
808
+ },
809
+ {
810
+ "name": "type",
811
+ "description": "",
812
+ "options": []
813
+ },
814
+ {
815
+ "name": "aria-label",
816
+ "description": "",
817
+ "options": []
818
+ }
819
+ ],
820
+ "examples": [
821
+ {
822
+ "name": "Default",
823
+ "jsx": "// See \"Default\" story — uses interactive render wrapper",
824
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--default"
825
+ },
826
+ {
827
+ "name": "WithMatch",
828
+ "jsx": "// See \"WithMatch\" story — uses interactive render wrapper",
829
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--with-match"
830
+ },
831
+ {
832
+ "name": "NoMatchError",
833
+ "jsx": "// See \"NoMatchError\" story — uses interactive render wrapper",
834
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-inputautocomplete--no-match-error"
835
+ }
836
+ ]
837
+ },
749
838
  {
750
839
  "name": "InputSelect",
751
840
  "description": "Single-select input with a dropdown list.\n\n- Trigger styled as an input field (48 px height, 2 px border, 4 px radius)\n- Chevron rotates 180° when open\n- Selected option shows a checkmark and a distinct background\n- Optional left icon slot (e.g. `GlobeIcon` for language pickers)\n- `fullWidth` (default `true`) — set to `false` for an intrinsic-width trigger instead of\n stretching to fill its container\n- Closes on **Escape** or **click outside**\n- Full keyboard + ARIA support: `role=\"listbox\"` / `role=\"option\"` / `aria-selected`",
@@ -924,6 +1013,14 @@
924
1013
  "name": "children",
925
1014
  "description": "Text content displayed next to the icon.",
926
1015
  "options": []
1016
+ },
1017
+ {
1018
+ "name": "size",
1019
+ "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.",
1020
+ "options": [
1021
+ "sm",
1022
+ "md"
1023
+ ]
927
1024
  }
928
1025
  ],
929
1026
  "examples": [
@@ -931,6 +1028,11 @@
931
1028
  "name": "Default",
932
1029
  "jsx": "<MetadataItem icon={<EventNoteIcon />} children=\"Mon, 14 Apr 2025\" />",
933
1030
  "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-data-display-metadataitem--default"
1031
+ },
1032
+ {
1033
+ "name": "Responsive",
1034
+ "jsx": "<MetadataItem mobileSize=\"md\" desktopSize=\"sm\" children=\"Mon, 14 Apr 2025\" />",
1035
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-data-display-metadataitem--responsive"
934
1036
  }
935
1037
  ]
936
1038
  },
@@ -1366,7 +1468,7 @@
1366
1468
  },
1367
1469
  {
1368
1470
  "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.",
1471
+ "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
1472
  "options": [
1371
1473
  "xs",
1372
1474
  "sm",
@@ -1744,7 +1846,7 @@
1744
1846
  },
1745
1847
  {
1746
1848
  "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```",
1849
+ "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
1850
  "storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/compositions-historylessoncard",
1749
1851
  "props": [
1750
1852
  {
@@ -2369,6 +2471,7 @@
2369
2471
  ],
2370
2472
  "icons": {
2371
2473
  "names": [
2474
+ "AgainIcon",
2372
2475
  "ArrowLeftIcon",
2373
2476
  "ArrowRightIcon",
2374
2477
  "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.1-DT-17070.1",
4
4
  "description": "MCP server for @gostudent/shared-ui-library — exposes components, icons, and tokens to Claude",
5
5
  "type": "module",
6
6
  "bin": {