@godxjp/ui-mcp 16.6.0 → 16.7.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.
package/dist/index.js CHANGED
@@ -1297,8 +1297,8 @@ import { ResponsiveGrid } from "@godxjp/ui/layout";
1297
1297
  },
1298
1298
  {
1299
1299
  name: "tone",
1300
- type: '"default" | "success" | "warning" | "destructive" | "info" | "muted" | "neutral"',
1301
- description: "SEMANTIC colour intent (ToneProp). This is the colour knob \u2014 success/warning/destructive/info/etc. Keep variant for structure, tone for meaning."
1300
+ type: '"default" | "primary" | "success" | "warning" | "destructive" | "info" | "muted" | "neutral"',
1301
+ description: 'SEMANTIC colour intent (BadgeTone = ToneProp + `primary`). This is the colour knob \u2014 success/warning/destructive/info/etc. `primary` is a SOFT brand pill (tinted brand fill + brand text) for the dashboard role-pill pattern; for a SOLID brand fill use `variant="default"`. Keep variant for structure, tone for meaning.'
1302
1302
  },
1303
1303
  {
1304
1304
  name: "shape",
@@ -1974,6 +1974,11 @@ import { Smartphone } from "lucide-react";
1974
1974
  type: "() => void",
1975
1975
  description: "Called after the field is cleared via the inline \u2715 (requires `allowClear`)."
1976
1976
  },
1977
+ {
1978
+ name: "leadingIcon",
1979
+ type: "React.ReactNode",
1980
+ description: "A leading affordance pinned inside the start of the field (e.g. a Mail / Lock / Search glyph) \u2014 purely decorative, rendered before the text. Sized to the control via tokens and offset with `ps-9` automatically; never hand-roll an absolutely-positioned icon over a plain Input."
1981
+ },
1977
1982
  {
1978
1983
  name: "trailingIcon",
1979
1984
  type: "React.ReactNode",
@@ -6515,7 +6520,12 @@ import { fetchInvoice } from "@/api/invoices";
6515
6520
  },
6516
6521
  { name: "name", type: "string", description: "Form field name for native submission." },
6517
6522
  { name: "placeholder", type: "string", description: "Placeholder text." },
6518
- { name: "disabled", type: "boolean", description: "Disables the field + toggle." }
6523
+ { name: "disabled", type: "boolean", description: "Disables the field + toggle." },
6524
+ {
6525
+ name: "leadingIcon",
6526
+ type: "React.ReactNode",
6527
+ description: "Inherited from Input \u2014 a leading glyph (e.g. a Lock icon) pinned inside the start of the field. The built-in show/hide eye stays on the trailing edge, so leading + trailing coexist here."
6528
+ }
6519
6529
  ],
6520
6530
  usage: [
6521
6531
  'DO use for any password / secret field instead of `<Input type="password">` so users get the show/hide affordance.',
@@ -12580,7 +12590,7 @@ function lintJsx(jsx) {
12580
12590
  issues.push(
12581
12591
  "Tailwind heavy shadows are an AI tell \u2014 use ultra-diffuse low-opacity (< 0.05) or tinted shadows (soft.absolute-zero, minimalist)."
12582
12592
  );
12583
- if (/Inter|Roboto|Helvetica|Open\s*Sans/i.test(jsx))
12593
+ if (/\b(?:Inter|Roboto|Helvetica|Open\s+Sans)\b/i.test(jsx))
12584
12594
  issues.push(
12585
12595
  "Banned default fonts (Inter/Roboto/Helvetica/Open Sans). Use Geist/Clash Display/PP Editorial New (soft.absolute-zero, minimalist.negative-constraints)."
12586
12596
  );
@@ -12731,7 +12741,7 @@ ${c.example}
12731
12741
  // package.json
12732
12742
  var package_default = {
12733
12743
  name: "@godxjp/ui-mcp",
12734
- version: "16.6.0",
12744
+ version: "16.7.1",
12735
12745
  description: "Model Context Protocol server for @godxjp/ui \u2014 gives Claude Code / Codex CLI / Cursor / any MCP-aware agent live access to the component catalog, prop vocabulary, design tokens, 45 cardinal rules, copy-paste-ready patterns, 12 design / taste skills synthesised from Leonxlnx/taste-skill, 20+ anti-AI-tell patterns, and a 50-check redesign audit \u2014 token-efficient (list \u2192 drill-down).",
12736
12746
  type: "module",
12737
12747
  main: "./dist/index.js",