@sakaniui/mcp 0.18.2 → 0.18.3

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,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 6,
3
3
  "name": "@sakaniui/react",
4
- "version": "0.18.2",
4
+ "version": "0.18.3",
5
5
  "description": "Machine-readable contract of the SakaniUI React library, generated from its TypeScript source.",
6
6
  "docs": "https://www.sakaniui.com",
7
7
  "guide": "https://www.sakaniui.com/llms-full.txt",
@@ -24,10 +24,10 @@
24
24
  "@sakaniui/react/emoji": "Fluent Emoji (full colour): EmojiName, one module each (1594 emoji, 311 with skin tones)."
25
25
  },
26
26
  "conventions": {
27
- "version": "This manifest describes @sakaniui/react@0.18.2. Each component has `since`, the first release that contained it; a prop added later has its own `since`, and a value added later is listed in the prop's `valuesSince`. If the project has an older version installed, anything newer than that does not exist there.",
27
+ "version": "This manifest describes @sakaniui/react@0.18.3. Each component has `since`, the first release that contained it; a prop added later has its own `since`, and a value added later is listed in the prop's `valuesSince`. If the project has an older version installed, anything newer than that does not exist there.",
28
28
  "acceptsNativeProps": "Components forward native HTML attributes (className, style, aria-*, event handlers) to their root element unless a prop says otherwise; only the props that are specific to SakaniUI are listed here.",
29
29
  "accessibleName": "When `contract.requiresAccessibleName` is true, a required prop (aria-label, aria-labelledby or an alt text) is the only thing that names the control or image. Do not omit it.",
30
- "tokens": "Use only the token names listed under `tokens`. Colour tokens follow the theme (the `.dark` class flips them); do not hard-code colours.",
30
+ "tokens": "Use only the token names listed under `tokens`. Colour tokens follow the theme (the `.dark` class flips them; get_tokens lists the light and the dark value of each token that changes); do not hard-code colours.",
31
31
  "icons": "Icon props take the component itself (IconSettings), not an element (<IconSettings />). Only names in icon-index.json exist; search them (MCP: search_icons) instead of guessing. Emoji are separate (`@sakaniui/react/emoji`, emoji-index.json, MCP: search_emoji) and are rendered as elements, not passed to icon props.",
32
32
  "examples": "Each component has `example`: its imports and the element with every required prop filled in, type-checked against this build. Start from it.",
33
33
  "shapes": "A prop with a `shape` takes an object (collection \"object\") or an array of objects (collection \"array\") with exactly those fields; `required` fields must be present. In a generic shape (`typeParameters: [\"T\"]`) T is the type of your own data: `key: keyof T & string` means the key must be a field of your row type. `recipes` hold patterns the types alone do not teach.",
@@ -470,6 +470,57 @@
470
470
  "--liquid-shadow-clear": "0 3px 8px -4px rgba(16, 15, 12, 0.16), 0 1px 3px rgba(16, 15, 12, 0.08)",
471
471
  "--liquid-glare": "rgba(255, 255, 255, 0.35)"
472
472
  }
473
+ },
474
+ "dark": {
475
+ "--color-bg-canvas": "var(--color-neutral-950)",
476
+ "--color-bg-surface": "var(--color-neutral-900)",
477
+ "--color-bg-subtle": "var(--color-neutral-800)",
478
+ "--color-bg-muted": "var(--color-neutral-700)",
479
+ "--color-bg-inverse": "var(--color-neutral-50)",
480
+ "--color-fg-default": "var(--color-neutral-50)",
481
+ "--color-fg-muted": "var(--color-neutral-400)",
482
+ "--color-fg-subtle": "var(--color-neutral-500)",
483
+ "--color-fg-on-accent": "var(--color-neutral-900)",
484
+ "--color-fg-on-inverse": "var(--color-neutral-900)",
485
+ "--color-border-subtle": "var(--color-neutral-800)",
486
+ "--color-border-default": "var(--color-neutral-700)",
487
+ "--color-border-strong": "var(--color-neutral-600)",
488
+ "--color-border-focus": "var(--color-primary-400)",
489
+ "--color-accent-default": "var(--color-neutral-50)",
490
+ "--color-accent-hover": "var(--color-neutral-200)",
491
+ "--color-accent-active": "var(--color-neutral-300)",
492
+ "--color-accent-subtle": "var(--color-neutral-800)",
493
+ "--color-accent-fg": "var(--color-neutral-900)",
494
+ "--color-brand-hover": "var(--color-primary-400)",
495
+ "--color-brand-subtle": "var(--color-primary-950)",
496
+ "--color-brand-fg": "var(--color-primary-400)",
497
+ "--color-success-fg": "var(--color-success-400)",
498
+ "--color-success-bg": "var(--color-success-950)",
499
+ "--color-success-border": "var(--color-success-800)",
500
+ "--color-warning-fg": "var(--color-warning-400)",
501
+ "--color-warning-bg": "var(--color-warning-950)",
502
+ "--color-warning-border": "var(--color-warning-800)",
503
+ "--color-danger-fg": "var(--color-danger-400)",
504
+ "--color-danger-bg": "var(--color-danger-950)",
505
+ "--color-danger-border": "var(--color-danger-800)",
506
+ "--color-info-fg": "var(--color-info-400)",
507
+ "--color-info-bg": "var(--color-info-950)",
508
+ "--color-info-border": "var(--color-info-800)",
509
+ "--glass-bg": "rgba(20, 20, 20, 0.64)",
510
+ "--glass-bg-overlay": "rgba(20, 20, 20, 0.76)",
511
+ "--glass-bg-chrome": "rgba(20, 20, 20, 0.52)",
512
+ "--glass-bg-subtle": "rgba(255, 255, 255, 0.08)",
513
+ "--glass-bg-subtle-hover": "rgba(255, 255, 255, 0.14)",
514
+ "--glass-border": "rgba(255, 255, 255, 0.1)",
515
+ "--glass-border-strong": "rgba(255, 255, 255, 0.16)",
516
+ "--glass-highlight": "inset 0 1px 0 0 rgba(255, 255, 255, 0.08)",
517
+ "--glass-fg-muted": "var(--color-neutral-300)",
518
+ "--liquid-tint-regular": "rgba(20, 20, 20, 0.66)",
519
+ "--liquid-tint-clear": "rgba(20, 20, 20, 0.3)",
520
+ "--liquid-tint-subtle": "rgba(255, 255, 255, 0.08)",
521
+ "--liquid-glare": "rgba(255, 255, 255, 0.14)",
522
+ "--liquid-overlay-tint": "rgba(20, 20, 20, 0.72)",
523
+ "--liquid-panel-tint": "rgba(20, 20, 20, 0.76)"
473
524
  }
474
525
  },
475
526
  "counts": {
package/data/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@sakaniui/react",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "private": true
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakaniui/mcp",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "SakaniUI MCP server: lets AI editors look up components, props, tokens and icons, and check code, instead of guessing. Read-only, zero dependencies.",
5
5
  "type": "module",
6
6
  "bin": {