@becket-ui/mcp 0.6.1 → 0.8.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,6 +1,6 @@
1
1
  {
2
2
  "package": "@becket-ui/react",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "components": [
5
5
  {
6
6
  "name": "Button",
@@ -1270,6 +1270,7 @@
1270
1270
  "exports": [
1271
1271
  "CheckIcon",
1272
1272
  "ChevronDownIcon",
1273
+ "ChevronLeftIcon",
1273
1274
  "ChevronRightIcon",
1274
1275
  "CloseIcon",
1275
1276
  "CopyIcon",
@@ -1292,7 +1293,7 @@
1292
1293
  "summary": null,
1293
1294
  "recipe": null,
1294
1295
  "variants": null,
1295
- "dts": "import { type IconProps } from './Icon.js';\nexport type GlyphProps = Omit<IconProps, 'children'>;\nexport declare const ChevronDownIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const ChevronRightIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CloseIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const MenuIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CheckIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CopyIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const ExternalLinkIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const LinkIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const SearchIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const SunIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const MoonIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const InfoIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const WarningIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\n//# sourceMappingURL=Glyphs.d.ts.map",
1296
+ "dts": "import { type IconProps } from './Icon.js';\nexport type GlyphProps = Omit<IconProps, 'children'>;\nexport declare const ChevronDownIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const ChevronLeftIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const ChevronRightIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CloseIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const MenuIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CheckIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const CopyIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const ExternalLinkIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const LinkIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const SearchIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const SunIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const MoonIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const InfoIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\nexport declare const WarningIcon: import(\"react\").ForwardRefExoticComponent<GlyphProps & import(\"react\").RefAttributes<HTMLSpanElement>>;\n//# sourceMappingURL=Glyphs.d.ts.map",
1296
1297
  "examples": []
1297
1298
  },
1298
1299
  {
@@ -1347,7 +1348,7 @@
1347
1348
  "group": "Typography",
1348
1349
  "storyTitle": "Typography/Prose",
1349
1350
  "client": false,
1350
- "summary": "Styles HTML from Markdown or MDX with Becket tokens. CSS only, no JS.\nWrap embedded components in `data-not-prose` to keep their own styles.",
1351
+ "summary": "Styles HTML from Markdown or MDX with Becket tokens. CSS only, no JS.\nEmbedded Becket components keep their own styles, markup inside them included. Wrap markup\nfrom anywhere else in `data-not-prose` to leave it unstyled.",
1351
1352
  "recipe": "prose",
1352
1353
  "variants": {
1353
1354
  "size": [
@@ -1356,7 +1357,7 @@
1356
1357
  "lg"
1357
1358
  ]
1358
1359
  },
1359
- "dts": "import { type ComponentPropsWithoutRef, type ElementType } from 'react';\ntype ProseSize = 'sm' | 'md' | 'lg';\nexport type ProseProps = ComponentPropsWithoutRef<'div'> & {\n /** Base text size; headings, spacing and code scale with it. */\n size?: ProseSize;\n /** Usually `article` for a blog post. */\n as?: ElementType;\n};\n/**\n * Styles HTML from Markdown or MDX with Becket tokens. CSS only, no JS.\n * Wrap embedded components in `data-not-prose` to keep their own styles.\n */\nexport declare const Prose: import(\"react\").ForwardRefExoticComponent<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"ref\"> & {\n /** Base text size; headings, spacing and code scale with it. */\n size?: ProseSize;\n /** Usually `article` for a blog post. */\n as?: ElementType;\n} & import(\"react\").RefAttributes<HTMLDivElement>>;\nexport {};\n//# sourceMappingURL=Prose.d.ts.map",
1360
+ "dts": "import { type ComponentPropsWithoutRef, type ElementType } from 'react';\ntype ProseSize = 'sm' | 'md' | 'lg';\nexport type ProseProps = ComponentPropsWithoutRef<'div'> & {\n /** Base text size; headings, spacing and code scale with it. */\n size?: ProseSize;\n /** Usually `article` for a blog post. */\n as?: ElementType;\n};\n/**\n * Styles HTML from Markdown or MDX with Becket tokens. CSS only, no JS.\n * Embedded Becket components keep their own styles, markup inside them included. Wrap markup\n * from anywhere else in `data-not-prose` to leave it unstyled.\n */\nexport declare const Prose: import(\"react\").ForwardRefExoticComponent<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"ref\"> & {\n /** Base text size; headings, spacing and code scale with it. */\n size?: ProseSize;\n /** Usually `article` for a blog post. */\n as?: ElementType;\n} & import(\"react\").RefAttributes<HTMLDivElement>>;\nexport {};\n//# sourceMappingURL=Prose.d.ts.map",
1360
1361
  "examples": [
1361
1362
  {
1362
1363
  "name": "Article",
@@ -1368,7 +1369,11 @@
1368
1369
  },
1369
1370
  {
1370
1371
  "name": "WithComponents",
1371
- "code": "export const WithComponents: Story = {\n render: () => (\n <Prose>\n <p>A post can embed Becket components:</p>\n <div data-not-prose>\n <Card visual=\"outline\">\n <CardHeader>\n <CardTitle>Release 0.2.0</CardTitle>\n <Badge visual=\"primary\" size=\"sm\">\n New\n </Badge>\n </CardHeader>\n <CardBody>\n <Text fontSize=\"sm\" color=\"muted\">\n Container, Box and Icon.\n </Text>\n </CardBody>\n </Card>\n </div>\n <p>The text after it is styled by Prose again.</p>\n </Prose>\n ),\n};"
1372
+ "code": "export const WithComponents: Story = {\n render: () => (\n <Prose>\n <p>A post can embed Becket components:</p>\n <Card visual=\"outline\">\n <CardHeader>\n <CardTitle>Release 0.2.0</CardTitle>\n <Badge visual=\"primary\" size=\"sm\">\n New\n </Badge>\n </CardHeader>\n <CardBody>\n <Text fontSize=\"sm\" color=\"muted\">\n Container, Box and Icon.\n </Text>\n <ul>\n <li>This list keeps the card's styles, not the article's.</li>\n </ul>\n </CardBody>\n </Card>\n <p>The text after it is styled by Prose again.</p>\n </Prose>\n ),\n};"
1373
+ },
1374
+ {
1375
+ "name": "NotProse",
1376
+ "code": "export const NotProse: Story = {\n render: () => (\n <Prose>\n <p>A widget from another library sits in the post:</p>\n <div data-not-prose>\n <ul>\n <li>This list is left unstyled by Prose.</li>\n </ul>\n </div>\n <ul>\n <li>This one is an article list.</li>\n </ul>\n </Prose>\n ),\n};"
1372
1377
  }
1373
1378
  ]
1374
1379
  },
@@ -1617,6 +1622,169 @@
1617
1622
  }
1618
1623
  ]
1619
1624
  },
1625
+ {
1626
+ "name": "Pagination",
1627
+ "file": "Pagination",
1628
+ "exports": [
1629
+ "Pagination"
1630
+ ],
1631
+ "hooks": [],
1632
+ "types": [
1633
+ "PaginationProps"
1634
+ ],
1635
+ "group": "Navigation",
1636
+ "storyTitle": "Navigation/Pagination",
1637
+ "client": false,
1638
+ "summary": "Links to the pages of a paged list: previous, first, the pages around the current one, last, and\nnext. Gaps show as an ellipsis. Renders without client JS.",
1639
+ "recipe": "pagination",
1640
+ "variants": {
1641
+ "size": [
1642
+ "sm",
1643
+ "md"
1644
+ ]
1645
+ },
1646
+ "dts": "import { type ComponentPropsWithoutRef, type ElementType } from 'react';\nexport type PaginationProps = Omit<ComponentPropsWithoutRef<'nav'>, 'children'> & {\n /** The current page, counting from 1. Past `pageCount`, Previous goes to the last page. */\n page: number;\n /** Below 1 renders nothing: an empty list has no pages to link. */\n pageCount: number;\n /** The URL of a page. Every page is a plain link, so it works with server routing and no JS. */\n href: (page: number) => string;\n /**\n * Pages shown on each side of the current one, as a whole number (rounded down, at least 0).\n * First and last always show. Default `1`.\n */\n siblings?: number;\n size?: 'sm' | 'md';\n /** Router link component (for example Next's `Link`) to render each link with. Default `a`. */\n linkAs?: ElementType;\n /** Visible and announced text. Defaults are English. */\n labels?: {\n previous?: string;\n next?: string;\n /** Accessible name of a page link; keep the number in it (WCAG 2.5.3). */\n page?: (page: number) => string;\n };\n};\n/**\n * Links to the pages of a paged list: previous, first, the pages around the current one, last, and\n * next. Gaps show as an ellipsis. Renders without client JS.\n */\nexport declare const Pagination: import(\"react\").ForwardRefExoticComponent<Omit<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").HTMLAttributes<HTMLElement>, HTMLElement>, \"ref\">, \"children\"> & {\n /** The current page, counting from 1. Past `pageCount`, Previous goes to the last page. */\n page: number;\n /** Below 1 renders nothing: an empty list has no pages to link. */\n pageCount: number;\n /** The URL of a page. Every page is a plain link, so it works with server routing and no JS. */\n href: (page: number) => string;\n /**\n * Pages shown on each side of the current one, as a whole number (rounded down, at least 0).\n * First and last always show. Default `1`.\n */\n siblings?: number;\n size?: 'sm' | 'md';\n /** Router link component (for example Next's `Link`) to render each link with. Default `a`. */\n linkAs?: ElementType;\n /** Visible and announced text. Defaults are English. */\n labels?: {\n previous?: string;\n next?: string;\n /** Accessible name of a page link; keep the number in it (WCAG 2.5.3). */\n page?: (page: number) => string;\n };\n} & import(\"react\").RefAttributes<HTMLElement>>;\n//# sourceMappingURL=Pagination.d.ts.map",
1647
+ "examples": [
1648
+ {
1649
+ "name": "Default",
1650
+ "code": "export const Default: Story = {};"
1651
+ },
1652
+ {
1653
+ "name": "Middle",
1654
+ "code": "export const Middle: Story = { args: { page: 6 } };"
1655
+ },
1656
+ {
1657
+ "name": "LastPage",
1658
+ "code": "export const LastPage: Story = { args: { page: 12 } };"
1659
+ },
1660
+ {
1661
+ "name": "FewPages",
1662
+ "code": "export const FewPages: Story = { args: { page: 2, pageCount: 5 } };"
1663
+ },
1664
+ {
1665
+ "name": "Siblings",
1666
+ "code": "export const Siblings: Story = { args: { page: 10, pageCount: 20, siblings: 2 } };"
1667
+ },
1668
+ {
1669
+ "name": "Sizes",
1670
+ "code": "export const Sizes: Story = {\n render: (args) => (\n <Stack gap=\"md\">\n {paginationRecipe.variantMap.size.map((size) => (\n <Pagination key={size} {...args} page={4} size={size} aria-label={`Pagination, ${size}`} />\n ))}\n </Stack>\n ),\n};"
1671
+ },
1672
+ {
1673
+ "name": "CustomLabels",
1674
+ "code": "export const CustomLabels: Story = {\n args: {\n page: 3,\n 'aria-label': 'Paginación',\n labels: { previous: 'Anterior', next: 'Siguiente', page: (page) => `Página ${page}` },\n },\n};"
1675
+ },
1676
+ {
1677
+ "name": "WithRouterLink",
1678
+ "code": "export const WithRouterLink: Story = {\n args: {\n page: 3,\n linkAs: forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<'a'>>((props, ref) => (\n <a ref={ref} data-router-link=\"\" {...props} />\n )),\n },\n};"
1679
+ }
1680
+ ]
1681
+ },
1682
+ {
1683
+ "name": "Breadcrumb",
1684
+ "file": "Breadcrumb",
1685
+ "exports": [
1686
+ "Breadcrumb",
1687
+ "BreadcrumbItem"
1688
+ ],
1689
+ "hooks": [],
1690
+ "types": [
1691
+ "BreadcrumbProps",
1692
+ "BreadcrumbItemProps"
1693
+ ],
1694
+ "group": "Navigation",
1695
+ "storyTitle": "Navigation/Breadcrumb",
1696
+ "client": false,
1697
+ "summary": "The trail of pages leading to the current one: a `nav` landmark around an ordered list of\n`BreadcrumbItem`s. Renders without client JS.",
1698
+ "recipe": "breadcrumb",
1699
+ "variants": {
1700
+ "size": [
1701
+ "sm",
1702
+ "md"
1703
+ ],
1704
+ "separator": [
1705
+ "chevron",
1706
+ "slash"
1707
+ ]
1708
+ },
1709
+ "dts": "import { type ComponentPropsWithoutRef, type ElementType } from 'react';\nexport type BreadcrumbProps = ComponentPropsWithoutRef<'nav'> & {\n size?: 'sm' | 'md';\n /** Drawn between items in CSS; screen readers don't read it. Default `chevron`. */\n separator?: 'chevron' | 'slash';\n};\n/**\n * The trail of pages leading to the current one: a `nav` landmark around an ordered list of\n * `BreadcrumbItem`s. Renders without client JS.\n */\nexport declare const Breadcrumb: import(\"react\").ForwardRefExoticComponent<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").HTMLAttributes<HTMLElement>, HTMLElement>, \"ref\"> & {\n size?: 'sm' | 'md';\n /** Drawn between items in CSS; screen readers don't read it. Default `chevron`. */\n separator?: 'chevron' | 'slash';\n} & import(\"react\").RefAttributes<HTMLElement>>;\nexport type BreadcrumbItemProps = ComponentPropsWithoutRef<'a'> & {\n /** The page the user is on: `aria-current=\"page\"`. Without `href`, it renders as plain text. */\n current?: boolean;\n /** Router link component (for example Next's `Link`) for the link. Default `a`. */\n as?: ElementType;\n};\n/** One page in a `Breadcrumb`. The ref goes to the link (or the text of a current page). */\nexport declare const BreadcrumbItem: import(\"react\").ForwardRefExoticComponent<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, \"ref\"> & {\n /** The page the user is on: `aria-current=\"page\"`. Without `href`, it renders as plain text. */\n current?: boolean;\n /** Router link component (for example Next's `Link`) for the link. Default `a`. */\n as?: ElementType;\n} & import(\"react\").RefAttributes<HTMLElement>>;\n//# sourceMappingURL=Breadcrumb.d.ts.map",
1710
+ "examples": [
1711
+ {
1712
+ "name": "Default",
1713
+ "code": "export const Default: Story = {\n render: (args) => (\n <Breadcrumb {...args}>\n <BreadcrumbItem href=\"#home\">Home</BreadcrumbItem>\n <BreadcrumbItem href=\"#blog\">Blog</BreadcrumbItem>\n <BreadcrumbItem current>Writing tokens</BreadcrumbItem>\n </Breadcrumb>\n ),\n};"
1714
+ },
1715
+ {
1716
+ "name": "Sizes",
1717
+ "code": "export const Sizes: Story = {\n render: (args) => (\n <Stack gap=\"md\">\n {breadcrumbRecipe.variantMap.size.map((size) => (\n <Breadcrumb key={size} {...args} size={size} aria-label={`Breadcrumb, ${size}`}>\n <BreadcrumbItem href=\"#home\">Home</BreadcrumbItem>\n <BreadcrumbItem href=\"#docs\">Docs</BreadcrumbItem>\n <BreadcrumbItem current>Theming</BreadcrumbItem>\n </Breadcrumb>\n ))}\n </Stack>\n ),\n};"
1718
+ },
1719
+ {
1720
+ "name": "Separators",
1721
+ "code": "export const Separators: Story = {\n render: (args) => (\n <Stack gap=\"md\">\n {breadcrumbRecipe.variantMap.separator.map((separator) => (\n <Breadcrumb\n key={separator}\n {...args}\n separator={separator}\n aria-label={`Breadcrumb, ${separator}`}\n >\n <BreadcrumbItem href=\"#home\">Home</BreadcrumbItem>\n <BreadcrumbItem href=\"#docs\">Docs</BreadcrumbItem>\n <BreadcrumbItem current>Theming</BreadcrumbItem>\n </Breadcrumb>\n ))}\n </Stack>\n ),\n};"
1722
+ },
1723
+ {
1724
+ "name": "CurrentAsLink",
1725
+ "code": "export const CurrentAsLink: Story = {\n render: (args) => (\n <Breadcrumb {...args}>\n <BreadcrumbItem href=\"#home\">Home</BreadcrumbItem>\n <BreadcrumbItem href=\"#blog/writing-tokens\" current>\n Writing tokens\n </BreadcrumbItem>\n </Breadcrumb>\n ),\n};"
1726
+ },
1727
+ {
1728
+ "name": "LongTrail",
1729
+ "code": "export const LongTrail: Story = {\n render: (args) => (\n // Breadcrumb has no width prop; a size token keeps the trail narrow enough to wrap.\n <Breadcrumb {...args} style={{ maxWidth: 'var(--beckui--sizes-55)' }}>\n {['Home', 'Products', 'Design systems', 'Components', 'Navigation'].map((page) => (\n <BreadcrumbItem key={page} href={`#${page}`}>\n {page}\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem current>Breadcrumb</BreadcrumbItem>\n </Breadcrumb>\n ),\n};"
1730
+ },
1731
+ {
1732
+ "name": "WithRouterLink",
1733
+ "code": "export const WithRouterLink: Story = {\n render: (args) => (\n <Breadcrumb {...args}>\n {['Home', 'Blog'].map((page) => (\n <BreadcrumbItem\n key={page}\n href={`#${page}`}\n as={forwardRef<HTMLAnchorElement, ComponentPropsWithoutRef<'a'>>((props, ref) => (\n <a ref={ref} data-router-link=\"\" {...props} />\n ))}\n >\n {page}\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem current>Writing tokens</BreadcrumbItem>\n </Breadcrumb>\n ),\n};"
1734
+ }
1735
+ ]
1736
+ },
1737
+ {
1738
+ "name": "Steps",
1739
+ "file": "Steps",
1740
+ "exports": [
1741
+ "Steps",
1742
+ "Step"
1743
+ ],
1744
+ "hooks": [],
1745
+ "types": [
1746
+ "StepsProps",
1747
+ "StepProps"
1748
+ ],
1749
+ "group": "Navigation",
1750
+ "storyTitle": "Navigation/Steps",
1751
+ "client": false,
1752
+ "summary": "A display-only list of the steps in a process, and where the user is in it. Each `Step` sets its\nown `status`; nothing here is clickable or keeps state. Renders without client JS.",
1753
+ "recipe": "steps",
1754
+ "variants": {
1755
+ "orientation": [
1756
+ "horizontal",
1757
+ "vertical"
1758
+ ],
1759
+ "size": [
1760
+ "sm",
1761
+ "md"
1762
+ ]
1763
+ },
1764
+ "dts": "import { type ComponentPropsWithoutRef, type ReactNode } from 'react';\nexport type StepsProps = ComponentPropsWithoutRef<'ol'> & {\n /** Default `horizontal`. For narrow screens, pass `vertical`. */\n orientation?: 'horizontal' | 'vertical';\n size?: 'sm' | 'md';\n};\n/**\n * A display-only list of the steps in a process, and where the user is in it. Each `Step` sets its\n * own `status`; nothing here is clickable or keeps state. Renders without client JS.\n */\nexport declare const Steps: import(\"react\").ForwardRefExoticComponent<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, \"ref\"> & {\n /** Default `horizontal`. For narrow screens, pass `vertical`. */\n orientation?: 'horizontal' | 'vertical';\n size?: 'sm' | 'md';\n} & import(\"react\").RefAttributes<HTMLOListElement>>;\nexport type StepProps = Omit<ComponentPropsWithoutRef<'li'>, 'title'> & {\n status: 'complete' | 'current' | 'upcoming';\n title: ReactNode;\n description?: ReactNode;\n /**\n * Read after the title by screen readers. Defaults to \"(completed)\" and \"(not started)\"; the\n * current step has `aria-current=\"step\"` and no text unless you pass one.\n */\n statusLabel?: string;\n};\nexport declare const Step: import(\"react\").ForwardRefExoticComponent<Omit<Omit<import(\"react\").DetailedHTMLProps<import(\"react\").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, \"ref\">, \"title\"> & {\n status: 'complete' | 'current' | 'upcoming';\n title: ReactNode;\n description?: ReactNode;\n /**\n * Read after the title by screen readers. Defaults to \"(completed)\" and \"(not started)\"; the\n * current step has `aria-current=\"step\"` and no text unless you pass one.\n */\n statusLabel?: string;\n} & import(\"react\").RefAttributes<HTMLLIElement>>;\n//# sourceMappingURL=Steps.d.ts.map",
1765
+ "examples": [
1766
+ {
1767
+ "name": "Horizontal",
1768
+ "code": "export const Horizontal: Story = {\n render: (args) => (\n <Steps {...args} aria-label=\"Sign-up progress\">\n <Step status=\"complete\" title=\"Account\" />\n <Step status=\"current\" title=\"Profile\" />\n <Step status=\"upcoming\" title=\"Done\" />\n </Steps>\n ),\n};"
1769
+ },
1770
+ {
1771
+ "name": "Vertical",
1772
+ "code": "export const Vertical: Story = {\n render: (args) => (\n <Steps {...args} orientation=\"vertical\" aria-label=\"Sign-up progress\">\n <Step status=\"complete\" title=\"Account\" />\n <Step status=\"current\" title=\"Profile\" />\n <Step status=\"upcoming\" title=\"Done\" />\n </Steps>\n ),\n};"
1773
+ },
1774
+ {
1775
+ "name": "WithDescriptions",
1776
+ "code": "export const WithDescriptions: Story = {\n render: (args) => (\n <Steps {...args} aria-label=\"Release progress\">\n <Step status=\"complete\" title=\"Build\" description=\"Packages compiled\" />\n <Step status=\"current\" title=\"Review\" description=\"Waiting on two approvals\" />\n <Step status=\"upcoming\" title=\"Publish\" description=\"npm and GitHub Releases\" />\n </Steps>\n ),\n};"
1777
+ },
1778
+ {
1779
+ "name": "AllComplete",
1780
+ "code": "export const AllComplete: Story = {\n render: (args) => (\n <Steps {...args} aria-label=\"Sign-up progress\">\n <Step status=\"complete\" title=\"Account\" />\n <Step status=\"complete\" title=\"Profile\" />\n <Step status=\"complete\" title=\"Done\" />\n </Steps>\n ),\n};"
1781
+ },
1782
+ {
1783
+ "name": "Sizes",
1784
+ "code": "export const Sizes: Story = {\n render: (args) => (\n <Stack gap=\"lg\">\n {stepsRecipe.variantMap.size.map((size) => (\n <Steps key={size} {...args} size={size} aria-label={`Sign-up progress, ${size}`}>\n <Step status=\"complete\" title=\"Account\" />\n <Step status=\"current\" title=\"Profile\" />\n <Step status=\"upcoming\" title=\"Done\" />\n </Steps>\n ))}\n </Stack>\n ),\n};"
1785
+ }
1786
+ ]
1787
+ },
1620
1788
  {
1621
1789
  "name": "SkipLink",
1622
1790
  "file": "SkipLink",
@@ -42,7 +42,7 @@ Raw elements with inline styles are the most common mistake. Use this table:
42
42
  | inline `svg` icon | `Icon` around your SVG, or a built-in glyph (`SearchIcon`, `ChevronDownIcon`, …); add `label` only when it carries meaning |
43
43
  | `a` | `Link` |
44
44
  | `a` styled as a button (call to action) | `Button as="a" href="…"` (anchor props are typed) |
45
- | HTML from Markdown or MDX (blog posts, docs) | `<Prose as="article">`; wrap embedded components in `data-not-prose` |
45
+ | HTML from Markdown or MDX (blog posts, docs) | `<Prose as="article">`; Becket components inside keep their styles, other markup opts out with `data-not-prose` |
46
46
  | `ul` / `ol` with `li` | `List` (`as="ol"` for steps, `marker="none"` for nav) + `ListItem` |
47
47
  | inline `code`, `kbd`, `mark` | `Code`, `Kbd`, `Mark` |
48
48
  | `blockquote` (+ attribution) | `Blockquote cite` + `BlockquoteCaption` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@becket-ui/mcp",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "description": "MCP server that teaches coding agents to build UIs with Becket UI: components, props, examples, tokens and a usage review.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,8 +42,8 @@
42
42
  "zod": "^4.6.7"
43
43
  },
44
44
  "devDependencies": {
45
- "@becket-ui/react": "0.6.1",
46
- "@becket-ui/tokens": "0.6.1",
45
+ "@becket-ui/react": "0.8.0",
46
+ "@becket-ui/tokens": "0.8.0",
47
47
  "@types/node": "^22.18.0",
48
48
  "@types/pngjs": "6.0.5",
49
49
  "tsup": "^8.5.1",