@gostudent/shared-ui-library-mcp 1.30.0 → 1.32.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": "1.30.0",
2
+ "libraryVersion": "1.32.0",
3
3
  "components": [
4
4
  {
5
5
  "name": "Avatar",
@@ -228,6 +228,11 @@
228
228
  "description": "Label for the Today button. Defaults to \"Today\".",
229
229
  "options": []
230
230
  },
231
+ {
232
+ "name": "hasTodayButton",
233
+ "description": "Show the \"Today\" button. When false, the header drops it and splits the prev/next nav to the edges (arrow, month label, arrow) — large arrow icons under `appearance=\"bottomSheet\"`, the same chevrons under `appearance=\"default\"`. Defaults to true.",
234
+ "options": []
235
+ },
231
236
  {
232
237
  "name": "previousMonthLabel",
233
238
  "description": "Accessible label for the previous month nav button. Defaults to \"Previous month\".",
@@ -245,15 +250,15 @@
245
250
  "jsx": "// See \"Default\" story — uses interactive render wrapper",
246
251
  "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-calendar--default"
247
252
  },
253
+ {
254
+ "name": "NoTodayButton",
255
+ "jsx": "// See \"NoTodayButton\" story — uses interactive render wrapper",
256
+ "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-calendar--no-today-button"
257
+ },
248
258
  {
249
259
  "name": "WithMarkedDates",
250
260
  "jsx": "// See \"WithMarkedDates\" story — uses interactive render wrapper",
251
261
  "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-calendar--with-marked-dates"
252
- },
253
- {
254
- "name": "WithBothLegends",
255
- "jsx": "// See \"WithBothLegends\" story — uses interactive render wrapper",
256
- "storyUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/story/components-inputs-calendar--with-both-legends"
257
262
  }
258
263
  ]
259
264
  },
@@ -1344,12 +1349,20 @@
1344
1349
  "compositions": [
1345
1350
  {
1346
1351
  "name": "CalendarSheet",
1347
- "description": "Mobile bottom-sheet calendar. Composes `Drawer position=\"bottom\"` with\n`<Calendar appearance=\"bottomSheet\">` — no calendar internals are re-implemented.\n\nSelecting a date closes the sheet by default (`closeOnSelect`). Dismiss via\nscrim-tap, Escape, or date selection. The grabber handle is visual-only (v1).\n\nPair with `CalendarTrigger` for the month-selector control that opens the sheet.\n\n### Usage\n\n```tsx\nimport { CalendarSheet, CalendarTrigger } from '@gostudent/shared-ui-library';\n\nconst [open, setOpen] = useState(false);\nconst [date, setDate] = useState<Date | null>(null);\n\n<CalendarTrigger\n label={date ? format(date, 'd MMM yyyy') : 'Select date'}\n onOpen={() => setOpen(true)}\n onClear={() => setDate(null)}\n hasSelection={!!date}\n/>\n\n<CalendarSheet\n isOpen={open}\n onClose={() => setOpen(false)}\n value={date}\n onChange={setDate}\n markedDates={bookedDates}\n/>\n```",
1352
+ "description": "Mobile bottom-sheet calendar. Composes `Drawer position=\"bottom\"` with\n`<Calendar appearance=\"bottomSheet\">` — no calendar internals are re-implemented.\n\nSelecting a date closes the sheet by default (`closeOnSelect`). Dismiss via\nscrim-tap, Escape, or date selection. The grabber handle is visual-only (v1).\n\nPair with `CalendarTrigger` for the month-selector control that opens the sheet.\n\nSet `variant=\"inline\"` to render the calendar directly in a layout instead of\nan overlay — useful for desktop two-pane flows where the calendar sits alongside\nother content. `isOpen`/`onClose` are ignored in this mode; see the `Inline` story.\n\n### Usage\n\n```tsx\nimport { CalendarSheet, CalendarTrigger } from '@gostudent/shared-ui-library';\n\nconst [open, setOpen] = useState(false);\nconst [date, setDate] = useState<Date | null>(null);\n\n<CalendarTrigger\n label={date ? format(date, 'd MMM yyyy') : 'Select date'}\n onOpen={() => setOpen(true)}\n onClear={() => setDate(null)}\n hasSelection={!!date}\n/>\n\n<CalendarSheet\n isOpen={open}\n onClose={() => setOpen(false)}\n value={date}\n onChange={setDate}\n markedDates={bookedDates}\n/>\n```",
1348
1353
  "storybookUrl": "https://62835ff8873d45004a627ad4-snugmmtvrg.chromatic.com/?path=/docs/compositions-calendarsheet",
1349
1354
  "props": [
1355
+ {
1356
+ "name": "variant",
1357
+ "description": "'overlay' (default): bottom-sheet via Drawer, requires isOpen/onClose. 'inline': renders the calendar directly in the layout, no Drawer/portal — isOpen/onClose are ignored.",
1358
+ "options": [
1359
+ "overlay",
1360
+ "inline"
1361
+ ]
1362
+ },
1350
1363
  {
1351
1364
  "name": "isOpen",
1352
- "description": "Controls whether the sheet is visible.",
1365
+ "description": "Controls whether the sheet is visible. Ignored when variant is \"inline\".",
1353
1366
  "options": []
1354
1367
  },
1355
1368
  {
@@ -1407,6 +1420,11 @@
1407
1420
  "description": "0 = week starts Sunday, 1 = week starts Monday (default).",
1408
1421
  "options": []
1409
1422
  },
1423
+ {
1424
+ "name": "hasTodayButton",
1425
+ "description": "Show the \"Today\" button. When false, the header reverts to the pre-Today-button edge-arrow layout (arrow, month label, arrow). Default: true.",
1426
+ "options": []
1427
+ },
1410
1428
  {
1411
1429
  "name": "sheetHeight",
1412
1430
  "description": "Override the sheet panel height. Default: 488px (Figma spec).",
@@ -1730,6 +1748,16 @@
1730
1748
  "description": "",
1731
1749
  "options": []
1732
1750
  },
1751
+ {
1752
+ "name": "linkedAccounts",
1753
+ "description": "",
1754
+ "options": []
1755
+ },
1756
+ {
1757
+ "name": "onSwitchAccount",
1758
+ "description": "",
1759
+ "options": []
1760
+ },
1733
1761
  {
1734
1762
  "name": "navItems",
1735
1763
  "description": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gostudent/shared-ui-library-mcp",
3
- "version": "1.30.0",
3
+ "version": "1.32.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": {