@becket-ui/react 0.2.0 → 0.4.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.
- package/dist/components/AspectRatio.d.ts +17 -0
- package/dist/components/AspectRatio.d.ts.map +1 -0
- package/dist/components/AspectRatio.js +12 -0
- package/dist/components/AspectRatio.js.map +1 -0
- package/dist/components/Avatar.d.ts +24 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar.js +30 -0
- package/dist/components/Avatar.js.map +1 -0
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Blockquote.d.ts +18 -0
- package/dist/components/Blockquote.d.ts.map +1 -0
- package/dist/components/Blockquote.js +24 -0
- package/dist/components/Blockquote.js.map +1 -0
- package/dist/components/Center.d.ts +12 -0
- package/dist/components/Center.d.ts.map +1 -0
- package/dist/components/Center.js +14 -0
- package/dist/components/Center.js.map +1 -0
- package/dist/components/Code.d.ts +5 -0
- package/dist/components/Code.d.ts.map +1 -0
- package/dist/components/Code.js +12 -0
- package/dist/components/Code.js.map +1 -0
- package/dist/components/Dialog.js +1 -1
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Figure.d.ts +11 -0
- package/dist/components/Figure.d.ts.map +1 -0
- package/dist/components/Figure.js +18 -0
- package/dist/components/Figure.js.map +1 -0
- package/dist/components/Flex.d.ts +2 -2
- package/dist/components/Flex.js +2 -2
- package/dist/components/Glyphs.d.ts +1 -1
- package/dist/components/Glyphs.js +1 -1
- package/dist/components/Grid.d.ts +29 -0
- package/dist/components/Grid.d.ts.map +1 -0
- package/dist/components/Grid.js +57 -0
- package/dist/components/Grid.js.map +1 -0
- package/dist/components/Hide.d.ts +1 -1
- package/dist/components/Hide.js +1 -1
- package/dist/components/Image.d.ts +18 -0
- package/dist/components/Image.d.ts.map +1 -0
- package/dist/components/Image.js +23 -0
- package/dist/components/Image.js.map +1 -0
- package/dist/components/Kbd.d.ts +5 -0
- package/dist/components/Kbd.d.ts.map +1 -0
- package/dist/components/Kbd.js +12 -0
- package/dist/components/Kbd.js.map +1 -0
- package/dist/components/List.d.ts +19 -0
- package/dist/components/List.d.ts.map +1 -0
- package/dist/components/List.js +27 -0
- package/dist/components/List.js.map +1 -0
- package/dist/components/Mark.d.ts +5 -0
- package/dist/components/Mark.d.ts.map +1 -0
- package/dist/components/Mark.js +12 -0
- package/dist/components/Mark.js.map +1 -0
- package/dist/components/Prose.d.ts +20 -0
- package/dist/components/Prose.d.ts.map +1 -0
- package/dist/components/Prose.js +14 -0
- package/dist/components/Prose.js.map +1 -0
- package/dist/components/Radio.js +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/SimpleGrid.d.ts +1 -1
- package/dist/components/SimpleGrid.js +1 -1
- package/dist/components/SkipLink.d.ts +8 -0
- package/dist/components/SkipLink.d.ts.map +1 -0
- package/dist/components/SkipLink.js +14 -0
- package/dist/components/SkipLink.js.map +1 -0
- package/dist/components/Stack.d.ts +2 -2
- package/dist/components/Stack.js +2 -2
- package/dist/components/Tag.d.ts +1 -1
- package/dist/components/Tag.js +1 -1
- package/dist/components/TextField.d.ts +1 -1
- package/dist/components/TextField.js +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/VisuallyHidden.d.ts +9 -0
- package/dist/components/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/VisuallyHidden.js +14 -0
- package/dist/components/VisuallyHidden.js.map +1 -0
- package/dist/helpers/responsive.d.ts +1 -1
- package/dist/helpers/responsive.js.map +1 -1
- package/dist/helpers/storybookControls.d.ts +1 -1
- package/dist/helpers/storybookControls.js +1 -1
- package/dist/helpers/storybookControls.js.map +1 -1
- package/dist/helpers/storybookImages.d.ts +3 -0
- package/dist/helpers/storybookImages.d.ts.map +1 -0
- package/dist/helpers/storybookImages.js +16 -0
- package/dist/helpers/storybookImages.js.map +1 -0
- package/dist/index.d.ts +65 -42
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -31
- package/dist/index.js.map +1 -1
- package/guides/building-with-becket.md +20 -4
- package/package.json +4 -4
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { list as listRecipe } from "@becket-ui/tokens/recipes";
|
|
4
|
+
function mergeClassName(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
const List = forwardRef(
|
|
8
|
+
({ as: Component = "ul", spacing = "sm", marker, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
9
|
+
Component,
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
className: mergeClassName(
|
|
14
|
+
listRecipe({ spacing, marker: marker ?? (Component === "ol" ? "decimal" : "disc") }),
|
|
15
|
+
className
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
List.displayName = "List";
|
|
21
|
+
const ListItem = forwardRef((props, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
|
|
22
|
+
ListItem.displayName = "ListItem";
|
|
23
|
+
export {
|
|
24
|
+
List,
|
|
25
|
+
ListItem
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=List.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/List.tsx"],"sourcesContent":["import { forwardRef, type ComponentPropsWithoutRef } from 'react';\nimport { list as listRecipe } from '@becket-ui/tokens/recipes';\n\ntype ListSpacing = 'xs' | 'sm' | 'md';\ntype ListMarker = 'disc' | 'decimal' | 'none';\n\nexport type ListProps = ComponentPropsWithoutRef<'ul'> & {\n /** `ol` for ordered steps; defaults the marker to decimal. */\n as?: 'ul' | 'ol';\n spacing?: ListSpacing;\n marker?: ListMarker;\n};\n\nfunction mergeClassName(...classes: (string | undefined)[]): string {\n return classes.filter(Boolean).join(' ');\n}\n\nexport const List = forwardRef<HTMLUListElement & HTMLOListElement, ListProps>(\n ({ as: Component = 'ul', spacing = 'sm', marker, className, ...props }, ref) => (\n <Component\n ref={ref}\n {...props}\n className={mergeClassName(\n listRecipe({ spacing, marker: marker ?? (Component === 'ol' ? 'decimal' : 'disc') }),\n className,\n )}\n />\n ),\n);\n\nList.displayName = 'List';\n\nexport type ListItemProps = ComponentPropsWithoutRef<'li'>;\n\nexport const ListItem = forwardRef<HTMLLIElement, ListItemProps>((props, ref) => <li ref={ref} {...props} />);\n\nListItem.displayName = 'ListItem';\n"],"mappings":"AAmBI;AAnBJ,SAAS,kBAAiD;AAC1D,SAAS,QAAQ,kBAAkB;AAYnC,SAAS,kBAAkB,SAAyC;AAClE,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;AAEO,MAAM,OAAO;AAAA,EAClB,CAAC,EAAE,IAAI,YAAY,MAAM,UAAU,MAAM,QAAQ,WAAW,GAAG,MAAM,GAAG,QACtE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACC,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,WAAW,EAAE,SAAS,QAAQ,WAAW,cAAc,OAAO,YAAY,QAAQ,CAAC;AAAA,QACnF;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;AAEA,KAAK,cAAc;AAIZ,MAAM,WAAW,WAAyC,CAAC,OAAO,QAAQ,oBAAC,QAAG,KAAW,GAAG,OAAO,CAAE;AAE5G,SAAS,cAAc;","names":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type MarkProps = ComponentPropsWithoutRef<'mark'>;
|
|
3
|
+
/** Highlighted text. */
|
|
4
|
+
export declare const Mark: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
//# sourceMappingURL=Mark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Mark.d.ts","sourceRoot":"","sources":["../../src/components/Mark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,SAAS,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAMzD,wBAAwB;AACxB,eAAO,MAAM,IAAI,kMAEf,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { mark as markRecipe } from "@becket-ui/tokens/recipes";
|
|
4
|
+
function mergeClassName(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
const Mark = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("mark", { ref, ...props, className: mergeClassName(markRecipe(), className) }));
|
|
8
|
+
Mark.displayName = "Mark";
|
|
9
|
+
export {
|
|
10
|
+
Mark
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Mark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/Mark.tsx"],"sourcesContent":["import { forwardRef, type ComponentPropsWithoutRef } from 'react';\nimport { mark as markRecipe } from '@becket-ui/tokens/recipes';\n\nexport type MarkProps = ComponentPropsWithoutRef<'mark'>;\n\nfunction mergeClassName(...classes: (string | undefined)[]): string {\n return classes.filter(Boolean).join(' ');\n}\n\n/** Highlighted text. */\nexport const Mark = forwardRef<HTMLElement, MarkProps>(({ className, ...props }, ref) => (\n <mark ref={ref} {...props} className={mergeClassName(markRecipe(), className)} />\n));\n\nMark.displayName = 'Mark';\n"],"mappings":"AAWE;AAXF,SAAS,kBAAiD;AAC1D,SAAS,QAAQ,kBAAkB;AAInC,SAAS,kBAAkB,SAAyC;AAClE,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;AAGO,MAAM,OAAO,WAAmC,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QAC/E,oBAAC,UAAK,KAAW,GAAG,OAAO,WAAW,eAAe,WAAW,GAAG,SAAS,GAAG,CAChF;AAED,KAAK,cAAc;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
|
|
2
|
+
type ProseSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type ProseProps = ComponentPropsWithoutRef<'div'> & {
|
|
4
|
+
/** Base text size; headings, spacing and code scale with it. */
|
|
5
|
+
size?: ProseSize;
|
|
6
|
+
/** Usually `article` for a blog post. */
|
|
7
|
+
as?: ElementType;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Styles HTML from Markdown or MDX with Becket tokens. CSS only, no JS.
|
|
11
|
+
* Wrap embedded components in `data-not-prose` to keep their own styles.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Prose: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
/** Base text size; headings, spacing and code scale with it. */
|
|
15
|
+
size?: ProseSize;
|
|
16
|
+
/** Usually `article` for a blog post. */
|
|
17
|
+
as?: ElementType;
|
|
18
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=Prose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prose.d.ts","sourceRoot":"","sources":["../../src/components/Prose.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpF,KAAK,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpC,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IACzD,gEAAgE;IAChE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,yCAAyC;IACzC,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,KAAK;IAdhB,gEAAgE;WACzD,SAAS;IAChB,yCAAyC;SACpC,WAAW;kDAejB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { prose as proseRecipe } from "@becket-ui/tokens/recipes";
|
|
4
|
+
function mergeClassName(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
const Prose = forwardRef(
|
|
8
|
+
({ size = "md", as: Component = "div", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { ref, ...props, className: mergeClassName(proseRecipe({ size }), className) })
|
|
9
|
+
);
|
|
10
|
+
Prose.displayName = "Prose";
|
|
11
|
+
export {
|
|
12
|
+
Prose
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Prose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/Prose.tsx"],"sourcesContent":["import { forwardRef, type ComponentPropsWithoutRef, type ElementType } from 'react';\nimport { prose as proseRecipe } from '@becket-ui/tokens/recipes';\n\ntype ProseSize = 'sm' | 'md' | 'lg';\n\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\nfunction mergeClassName(...classes: (string | undefined)[]): string {\n return classes.filter(Boolean).join(' ');\n}\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 const Prose = forwardRef<HTMLDivElement, ProseProps>(\n ({ size = 'md', as: Component = 'div', className, ...props }, ref) => (\n <Component ref={ref} {...props} className={mergeClassName(proseRecipe({ size }), className)} />\n ),\n);\n\nProse.displayName = 'Prose';\n"],"mappings":"AAsBI;AAtBJ,SAAS,kBAAmE;AAC5E,SAAS,SAAS,mBAAmB;AAWrC,SAAS,kBAAkB,SAAyC;AAClE,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;AAMO,MAAM,QAAQ;AAAA,EACnB,CAAC,EAAE,OAAO,MAAM,IAAI,YAAY,OAAO,WAAW,GAAG,MAAM,GAAG,QAC5D,oBAAC,aAAU,KAAW,GAAG,OAAO,WAAW,eAAe,YAAY,EAAE,KAAK,CAAC,GAAG,SAAS,GAAG;AAEjG;AAEA,MAAM,cAAc;","names":[]}
|
package/dist/components/Radio.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
useMemo
|
|
9
9
|
} from "react";
|
|
10
10
|
import { radio as radioRecipe } from "@becket-ui/tokens/recipes";
|
|
11
|
-
import { useOptionalField } from "./Field";
|
|
11
|
+
import { useOptionalField } from "./Field.js";
|
|
12
12
|
const RadioGroupContext = createContext(null);
|
|
13
13
|
function mergeClassName(...classes) {
|
|
14
14
|
return classes.filter(Boolean).join(" ");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode, type SelectHTMLAttributes } from 'react';
|
|
2
|
-
import { type FieldSize } from './Field';
|
|
2
|
+
import { type FieldSize } from './Field.js';
|
|
3
3
|
export type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> & {
|
|
4
4
|
label?: ReactNode;
|
|
5
5
|
helperText?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
|
|
2
2
|
import { grid } from '@becket-ui/tokens/patterns';
|
|
3
|
-
import { type GapValue, type ResponsiveValue } from '../helpers/responsive';
|
|
3
|
+
import { type GapValue, type ResponsiveValue } from '../helpers/responsive.js';
|
|
4
4
|
type GridOptions = NonNullable<Parameters<typeof grid>[0]>;
|
|
5
5
|
export type SimpleGridProps = ComponentPropsWithoutRef<'div'> & {
|
|
6
6
|
columns?: ResponsiveValue<number> | GridOptions['columns'];
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { css } from "@becket-ui/tokens/css";
|
|
4
4
|
import { grid } from "@becket-ui/tokens/patterns";
|
|
5
|
-
import { normalizeGapValue, normalizeResponsiveValue } from "../helpers/responsive";
|
|
5
|
+
import { normalizeGapValue, normalizeResponsiveValue } from "../helpers/responsive.js";
|
|
6
6
|
function mergeClassName(...classes) {
|
|
7
7
|
return classes.filter(Boolean).join(" ");
|
|
8
8
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export type SkipLinkProps = ComponentPropsWithoutRef<'a'>;
|
|
3
|
+
/**
|
|
4
|
+
* First focusable element on the page: lets keyboard users jump past the
|
|
5
|
+
* navigation. Hidden until focused. Point `href` at the main landmark's id.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SkipLink: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
8
|
+
//# sourceMappingURL=SkipLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../src/components/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;AAM1D;;;GAGG;AACH,eAAO,MAAM,QAAQ,0NAMpB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { skipLink as skipLinkRecipe } from "@becket-ui/tokens/recipes";
|
|
4
|
+
function mergeClassName(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
const SkipLink = forwardRef(
|
|
8
|
+
({ href = "#main", children = "Skip to content", className, ...props }, ref) => /* @__PURE__ */ jsx("a", { ref, href, ...props, className: mergeClassName(skipLinkRecipe(), className), children })
|
|
9
|
+
);
|
|
10
|
+
SkipLink.displayName = "SkipLink";
|
|
11
|
+
export {
|
|
12
|
+
SkipLink
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=SkipLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/SkipLink.tsx"],"sourcesContent":["import { forwardRef, type ComponentPropsWithoutRef } from 'react';\nimport { skipLink as skipLinkRecipe } from '@becket-ui/tokens/recipes';\n\nexport type SkipLinkProps = ComponentPropsWithoutRef<'a'>;\n\nfunction mergeClassName(...classes: (string | undefined)[]): string {\n return classes.filter(Boolean).join(' ');\n}\n\n/**\n * First focusable element on the page: lets keyboard users jump past the\n * navigation. Hidden until focused. Point `href` at the main landmark's id.\n */\nexport const SkipLink = forwardRef<HTMLAnchorElement, SkipLinkProps>(\n ({ href = '#main', children = 'Skip to content', className, ...props }, ref) => (\n <a ref={ref} href={href} {...props} className={mergeClassName(skipLinkRecipe(), className)}>\n {children}\n </a>\n ),\n);\n\nSkipLink.displayName = 'SkipLink';\n"],"mappings":"AAeI;AAfJ,SAAS,kBAAiD;AAC1D,SAAS,YAAY,sBAAsB;AAI3C,SAAS,kBAAkB,SAAyC;AAClE,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;AAMO,MAAM,WAAW;AAAA,EACtB,CAAC,EAAE,OAAO,SAAS,WAAW,mBAAmB,WAAW,GAAG,MAAM,GAAG,QACtE,oBAAC,OAAE,KAAU,MAAa,GAAG,OAAO,WAAW,eAAe,eAAe,GAAG,SAAS,GACtF,UACH;AAEJ;AAEA,SAAS,cAAc;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
|
|
2
2
|
import { stack } from '@becket-ui/tokens/patterns';
|
|
3
|
-
import { type GradientBorderToken } from '../helpers/gradientBorder';
|
|
4
|
-
import { type GapValue, type ResponsiveValue } from '../helpers/responsive';
|
|
3
|
+
import { type GradientBorderToken } from '../helpers/gradientBorder.js';
|
|
4
|
+
import { type GapValue, type ResponsiveValue } from '../helpers/responsive.js';
|
|
5
5
|
type StackOptions = NonNullable<Parameters<typeof stack>[0]>;
|
|
6
6
|
type AlignVariant = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
7
7
|
type JustifyVariant = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
package/dist/components/Stack.js
CHANGED
|
@@ -5,8 +5,8 @@ import { stack } from "@becket-ui/tokens/patterns";
|
|
|
5
5
|
import {
|
|
6
6
|
getGradientBorderClassName,
|
|
7
7
|
isGradientBorderToken
|
|
8
|
-
} from "../helpers/gradientBorder";
|
|
9
|
-
import { normalizeGapValue, normalizeResponsiveValue } from "../helpers/responsive";
|
|
8
|
+
} from "../helpers/gradientBorder.js";
|
|
9
|
+
import { normalizeGapValue, normalizeResponsiveValue } from "../helpers/responsive.js";
|
|
10
10
|
const ALIGN_MAP = {
|
|
11
11
|
start: "start",
|
|
12
12
|
center: "center",
|
package/dist/components/Tag.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
|
|
2
|
-
import { type LabelCustomColors, type LabelVisual } from '../helpers/labelColors';
|
|
2
|
+
import { type LabelCustomColors, type LabelVisual } from '../helpers/labelColors.js';
|
|
3
3
|
type TagSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
type TagBorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
5
5
|
export type TagProps = ComponentPropsWithoutRef<'span'> & {
|
package/dist/components/Tag.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef } from "react";
|
|
|
3
3
|
import { tag } from "@becket-ui/tokens/recipes";
|
|
4
4
|
import {
|
|
5
5
|
resolveLabelColorVars
|
|
6
|
-
} from "../helpers/labelColors";
|
|
6
|
+
} from "../helpers/labelColors.js";
|
|
7
7
|
function mergeClassName(...classes) {
|
|
8
8
|
return classes.filter(Boolean).join(" ");
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type InputHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
-
import { type FieldSize } from './Field';
|
|
2
|
+
import { type FieldSize } from './Field.js';
|
|
3
3
|
export type TextFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & {
|
|
4
4
|
label?: ReactNode;
|
|
5
5
|
helperText?: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode, type TextareaHTMLAttributes } from 'react';
|
|
2
|
-
import { type FieldSize } from './Field';
|
|
2
|
+
import { type FieldSize } from './Field.js';
|
|
3
3
|
export type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> & {
|
|
4
4
|
label?: ReactNode;
|
|
5
5
|
helperText?: ReactNode;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ElementType } from 'react';
|
|
2
|
+
export type VisuallyHiddenProps = ComponentPropsWithoutRef<'span'> & {
|
|
3
|
+
as?: ElementType;
|
|
4
|
+
};
|
|
5
|
+
/** Text for screen readers only, e.g. a label for an icon-only control. */
|
|
6
|
+
export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
7
|
+
as?: ElementType;
|
|
8
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
//# sourceMappingURL=VisuallyHidden.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["../../src/components/VisuallyHidden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpF,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,CAAC,MAAM,CAAC,GAAG;IACnE,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,CAAC;AAMF,2EAA2E;AAC3E,eAAO,MAAM,cAAc;SARpB,WAAW;+CAYjB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { visuallyHidden as visuallyHiddenRecipe } from "@becket-ui/tokens/recipes";
|
|
4
|
+
function mergeClassName(...classes) {
|
|
5
|
+
return classes.filter(Boolean).join(" ");
|
|
6
|
+
}
|
|
7
|
+
const VisuallyHidden = forwardRef(
|
|
8
|
+
({ as: Component = "span", className, ...props }, ref) => /* @__PURE__ */ jsx(Component, { ref, ...props, className: mergeClassName(visuallyHiddenRecipe(), className) })
|
|
9
|
+
);
|
|
10
|
+
VisuallyHidden.displayName = "VisuallyHidden";
|
|
11
|
+
export {
|
|
12
|
+
VisuallyHidden
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=VisuallyHidden.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/VisuallyHidden.tsx"],"sourcesContent":["import { forwardRef, type ComponentPropsWithoutRef, type ElementType } from 'react';\nimport { visuallyHidden as visuallyHiddenRecipe } from '@becket-ui/tokens/recipes';\n\nexport type VisuallyHiddenProps = ComponentPropsWithoutRef<'span'> & {\n as?: ElementType;\n};\n\nfunction mergeClassName(...classes: (string | undefined)[]): string {\n return classes.filter(Boolean).join(' ');\n}\n\n/** Text for screen readers only, e.g. a label for an icon-only control. */\nexport const VisuallyHidden = forwardRef<HTMLElement, VisuallyHiddenProps>(\n ({ as: Component = 'span', className, ...props }, ref) => (\n <Component ref={ref} {...props} className={mergeClassName(visuallyHiddenRecipe(), className)} />\n ),\n);\n\nVisuallyHidden.displayName = 'VisuallyHidden';\n"],"mappings":"AAcI;AAdJ,SAAS,kBAAmE;AAC5E,SAAS,kBAAkB,4BAA4B;AAMvD,SAAS,kBAAkB,SAAyC;AAClE,SAAO,QAAQ,OAAO,OAAO,EAAE,KAAK,GAAG;AACzC;AAGO,MAAM,iBAAiB;AAAA,EAC5B,CAAC,EAAE,IAAI,YAAY,QAAQ,WAAW,GAAG,MAAM,GAAG,QAChD,oBAAC,aAAU,KAAW,GAAG,OAAO,WAAW,eAAe,qBAAqB,GAAG,SAAS,GAAG;AAElG;AAEA,eAAe,cAAc;","names":[]}
|
|
@@ -35,7 +35,7 @@ export declare const SEMANTIC_TO_BREAKPOINT: {
|
|
|
35
35
|
export declare const SPACING_SCALE: readonly [0, 1, 2, 3, 5, 8, 13, 21, 34];
|
|
36
36
|
export type SpacingStep = (typeof SPACING_SCALE)[number];
|
|
37
37
|
/** Semantic aliases preferred in apps. */
|
|
38
|
-
export type SpacingSemantic = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '
|
|
38
|
+
export type SpacingSemantic = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
39
39
|
/**
|
|
40
40
|
* Values that show up in IDE autocomplete for `gap` / spacing props.
|
|
41
41
|
* Numeric literals + string keys + semantic tokens.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/helpers/responsive.ts"],"sourcesContent":["import type { ConditionalValue } from '@becket-ui/tokens/types';\n\n/**\n * Responsive props — Chakra-aligned, mobile-first (min-width).\n *\n * Prefer **object syntax** with a `base`/`mobile` value (Chakra docs + community\n * best practice). Arrays are supported for parity but are harder to read.\n *\n * @see https://chakra-ui.com/docs/styling/responsive-design\n */\n\n/** Token breakpoints (Panda / Chakra keys). */\nexport type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n/**\n * Semantic aliases for layout in consuming apps.\n * Map onto token breakpoints — do not invent separate media queries.\n */\nexport type SemanticBreakpoint = 'mobile' | 'tablet' | 'desktop' | 'largeDesktop';\n\nexport type BreakpointAlias = Breakpoint | SemanticBreakpoint;\n\n/** Breakpoint-only keys for responsive object props (token + semantic). */\nexport type BreakpointMap<T> = Partial<Record<BreakpointAlias, T>>;\n\n/**\n * Chakra-style responsive value: single value, per-breakpoint object, or array\n * (index 0 = base, 1 = sm, 2 = md, …).\n */\nexport type ResponsiveValue<T> = ConditionalValue<T> | BreakpointMap<T>;\n\nexport const BREAKPOINTS = ['base', 'sm', 'md', 'lg', 'xl', '2xl'] as const satisfies readonly Breakpoint[];\n\nexport const SEMANTIC_BREAKPOINTS = [\n 'mobile',\n 'tablet',\n 'desktop',\n 'largeDesktop',\n] as const satisfies readonly SemanticBreakpoint[];\n\n/** Semantic → token breakpoint (Chakra mobile-first scale). */\nexport const SEMANTIC_TO_BREAKPOINT = {\n mobile: 'base',\n tablet: 'md',\n desktop: 'lg',\n largeDesktop: 'xl',\n} as const satisfies Record<SemanticBreakpoint, Breakpoint>;\n\n/** Becket-authored spacing steps (Fibonacci + zero). */\nexport const SPACING_SCALE = [0, 1, 2, 3, 5, 8, 13, 21, 34] as const;\n\nexport type SpacingStep = (typeof SPACING_SCALE)[number];\n\n/** Semantic aliases preferred in apps. */\nexport type SpacingSemantic = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '
|
|
1
|
+
{"version":3,"sources":["../../src/helpers/responsive.ts"],"sourcesContent":["import type { ConditionalValue } from '@becket-ui/tokens/types';\n\n/**\n * Responsive props — Chakra-aligned, mobile-first (min-width).\n *\n * Prefer **object syntax** with a `base`/`mobile` value (Chakra docs + community\n * best practice). Arrays are supported for parity but are harder to read.\n *\n * @see https://chakra-ui.com/docs/styling/responsive-design\n */\n\n/** Token breakpoints (Panda / Chakra keys). */\nexport type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n/**\n * Semantic aliases for layout in consuming apps.\n * Map onto token breakpoints — do not invent separate media queries.\n */\nexport type SemanticBreakpoint = 'mobile' | 'tablet' | 'desktop' | 'largeDesktop';\n\nexport type BreakpointAlias = Breakpoint | SemanticBreakpoint;\n\n/** Breakpoint-only keys for responsive object props (token + semantic). */\nexport type BreakpointMap<T> = Partial<Record<BreakpointAlias, T>>;\n\n/**\n * Chakra-style responsive value: single value, per-breakpoint object, or array\n * (index 0 = base, 1 = sm, 2 = md, …).\n */\nexport type ResponsiveValue<T> = ConditionalValue<T> | BreakpointMap<T>;\n\nexport const BREAKPOINTS = ['base', 'sm', 'md', 'lg', 'xl', '2xl'] as const satisfies readonly Breakpoint[];\n\nexport const SEMANTIC_BREAKPOINTS = [\n 'mobile',\n 'tablet',\n 'desktop',\n 'largeDesktop',\n] as const satisfies readonly SemanticBreakpoint[];\n\n/** Semantic → token breakpoint (Chakra mobile-first scale). */\nexport const SEMANTIC_TO_BREAKPOINT = {\n mobile: 'base',\n tablet: 'md',\n desktop: 'lg',\n largeDesktop: 'xl',\n} as const satisfies Record<SemanticBreakpoint, Breakpoint>;\n\n/** Becket-authored spacing steps (Fibonacci + zero). */\nexport const SPACING_SCALE = [0, 1, 2, 3, 5, 8, 13, 21, 34] as const;\n\nexport type SpacingStep = (typeof SPACING_SCALE)[number];\n\n/** Semantic aliases preferred in apps. */\nexport type SpacingSemantic = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n/**\n * Values that show up in IDE autocomplete for `gap` / spacing props.\n * Numeric literals + string keys + semantic tokens.\n * `(string & {})` / `(number & {})` keep IntelliSense while allowing escapes.\n */\nexport type SpacingScale =\n | SpacingSemantic\n | SpacingStep\n | `${SpacingStep}`\n | (string & {})\n | (number & {});\n\n/** Gap prop: single value or responsive ConditionalValue. */\nexport type GapValue = ResponsiveValue<SpacingScale>;\n\nexport function isSemanticBreakpoint(key: string): key is SemanticBreakpoint {\n return (SEMANTIC_BREAKPOINTS as readonly string[]).includes(key);\n}\n\nexport function isTokenBreakpoint(key: string): key is Breakpoint {\n return (BREAKPOINTS as readonly string[]).includes(key);\n}\n\n/** Resolve `desktop` → `lg`, leave `md` unchanged. */\nexport function resolveBreakpointAlias(key: string): string {\n if (isSemanticBreakpoint(key)) return SEMANTIC_TO_BREAKPOINT[key];\n return key;\n}\n\n/**\n * Expand semantic keys in a responsive object to token breakpoints.\n * Token keys already present win (not overwritten by semantic aliases).\n * Non-objects / arrays pass through.\n */\nexport function normalizeResponsiveValue<T>(value: T): T {\n if (value == null || typeof value !== 'object' || Array.isArray(value)) {\n return value;\n }\n const input = value as Record<string, unknown>;\n const out: Record<string, unknown> = {};\n\n // Pass 1: token keys\n for (const [key, entry] of Object.entries(input)) {\n if (isTokenBreakpoint(key) || key === 'base') {\n out[key] = normalizeResponsiveValue(entry);\n }\n }\n // Pass 2: semantic → token if token slot empty\n for (const [key, entry] of Object.entries(input)) {\n if (!isSemanticBreakpoint(key)) {\n if (!isTokenBreakpoint(key) && key !== 'base') {\n // Unknown keys (e.g. _hover) — keep as-is for Panda\n out[key] = normalizeResponsiveValue(entry);\n }\n continue;\n }\n const token = SEMANTIC_TO_BREAKPOINT[key];\n if (out[token] === undefined) {\n out[token] = normalizeResponsiveValue(entry);\n }\n }\n return out as T;\n}\n\n/**\n * Coerce gap values so `gap={3}` and `gap=\"3\"` both resolve to token key `\"3\"`.\n * Walks responsive objects/arrays. Leaves semantic tokens unchanged.\n * Expands semantic breakpoint keys (`mobile` → `base`, etc.).\n */\nexport function normalizeGapValue<T>(gap: T): T {\n if (typeof gap === 'number' && Number.isFinite(gap)) {\n return String(gap) as T;\n }\n if (Array.isArray(gap)) {\n return gap.map((item) => normalizeGapValue(item)) as T;\n }\n if (gap && typeof gap === 'object') {\n const withBreakpoints = normalizeResponsiveValue(gap) as Record<string, unknown>;\n const out: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(withBreakpoints)) {\n out[key] = normalizeGapValue(value);\n }\n return out as T;\n }\n return gap;\n}\n"],"mappings":"AA+BO,MAAM,cAAc,CAAC,QAAQ,MAAM,MAAM,MAAM,MAAM,KAAK;AAE1D,MAAM,uBAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,yBAAyB;AAAA,EACpC,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,cAAc;AAChB;AAGO,MAAM,gBAAgB,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,IAAI,EAAE;AAsBnD,SAAS,qBAAqB,KAAwC;AAC3E,SAAQ,qBAA2C,SAAS,GAAG;AACjE;AAEO,SAAS,kBAAkB,KAAgC;AAChE,SAAQ,YAAkC,SAAS,GAAG;AACxD;AAGO,SAAS,uBAAuB,KAAqB;AAC1D,MAAI,qBAAqB,GAAG,EAAG,QAAO,uBAAuB,GAAG;AAChE,SAAO;AACT;AAOO,SAAS,yBAA4B,OAAa;AACvD,MAAI,SAAS,QAAQ,OAAO,UAAU,YAAY,MAAM,QAAQ,KAAK,GAAG;AACtE,WAAO;AAAA,EACT;AACA,QAAM,QAAQ;AACd,QAAM,MAA+B,CAAC;AAGtC,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AAChD,QAAI,kBAAkB,GAAG,KAAK,QAAQ,QAAQ;AAC5C,UAAI,GAAG,IAAI,yBAAyB,KAAK;AAAA,IAC3C;AAAA,EACF;AAEA,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,KAAK,GAAG;AAChD,QAAI,CAAC,qBAAqB,GAAG,GAAG;AAC9B,UAAI,CAAC,kBAAkB,GAAG,KAAK,QAAQ,QAAQ;AAE7C,YAAI,GAAG,IAAI,yBAAyB,KAAK;AAAA,MAC3C;AACA;AAAA,IACF;AACA,UAAM,QAAQ,uBAAuB,GAAG;AACxC,QAAI,IAAI,KAAK,MAAM,QAAW;AAC5B,UAAI,KAAK,IAAI,yBAAyB,KAAK;AAAA,IAC7C;AAAA,EACF;AACA,SAAO;AACT;AAOO,SAAS,kBAAqB,KAAW;AAC9C,MAAI,OAAO,QAAQ,YAAY,OAAO,SAAS,GAAG,GAAG;AACnD,WAAO,OAAO,GAAG;AAAA,EACnB;AACA,MAAI,MAAM,QAAQ,GAAG,GAAG;AACtB,WAAO,IAAI,IAAI,CAAC,SAAS,kBAAkB,IAAI,CAAC;AAAA,EAClD;AACA,MAAI,OAAO,OAAO,QAAQ,UAAU;AAClC,UAAM,kBAAkB,yBAAyB,GAAG;AACpD,UAAM,MAA+B,CAAC;AACtC,eAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,eAAe,GAAG;AAC1D,UAAI,GAAG,IAAI,kBAAkB,KAAK;AAAA,IACpC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Shared Storybook knob values. ConditionalValue props infer as object controls — always override. */
|
|
2
|
-
export declare const GAP_OPTIONS: readonly ['xs', 'sm', 'md', 'lg', 'xl', '
|
|
2
|
+
export declare const GAP_OPTIONS: readonly ['xs', 'sm', 'md', 'lg', 'xl', '2xl'];
|
|
3
3
|
export declare const FLEX_DIRECTION_OPTIONS: readonly ['row', 'column', 'row-reverse', 'column-reverse'];
|
|
4
4
|
export declare const STACK_DIRECTION_OPTIONS: readonly ['row', 'column'];
|
|
5
5
|
export declare const ALIGN_OPTIONS: readonly ['start', 'center', 'end', 'stretch', 'baseline'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/helpers/storybookControls.ts"],"sourcesContent":["/** Shared Storybook knob values. ConditionalValue props infer as object controls — always override. */\n\nexport const GAP_OPTIONS = ['xs', 'sm', 'md', 'lg', 'xl', '
|
|
1
|
+
{"version":3,"sources":["../../src/helpers/storybookControls.ts"],"sourcesContent":["/** Shared Storybook knob values. ConditionalValue props infer as object controls — always override. */\n\nexport const GAP_OPTIONS = ['xs', 'sm', 'md', 'lg', 'xl', '2xl'] as const;\n\nexport const FLEX_DIRECTION_OPTIONS = [\n 'row',\n 'column',\n 'row-reverse',\n 'column-reverse',\n] as const;\n\nexport const STACK_DIRECTION_OPTIONS = ['row', 'column'] as const;\n\nexport const ALIGN_OPTIONS = ['start', 'center', 'end', 'stretch', 'baseline'] as const;\n\nexport const JUSTIFY_OPTIONS = ['start', 'center', 'end', 'between', 'around', 'evenly'] as const;\n\nexport const FLEX_WRAP_OPTIONS = ['wrap', 'nowrap', 'wrap-reverse'] as const;\n\nexport const FLEX_BASIS_OPTIONS = ['auto', '0', 'full', '8', '13', '21', '34', '1/2', '1/3'] as const;\n\nexport const GRADIENT_BORDER_OPTIONS = ['primary', 'secondary', 'neutral'] as const;\n\nexport const BREAKPOINT_OPTIONS = [\n 'sm',\n 'md',\n 'lg',\n 'xl',\n '2xl',\n 'mobile',\n 'tablet',\n 'desktop',\n 'largeDesktop',\n] as const;\n\nexport function knobs(include: string[]) {\n return { controls: { include } };\n}\n"],"mappings":"AAEO,MAAM,cAAc,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,KAAK;AAExD,MAAM,yBAAyB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,0BAA0B,CAAC,OAAO,QAAQ;AAEhD,MAAM,gBAAgB,CAAC,SAAS,UAAU,OAAO,WAAW,UAAU;AAEtE,MAAM,kBAAkB,CAAC,SAAS,UAAU,OAAO,WAAW,UAAU,QAAQ;AAEhF,MAAM,oBAAoB,CAAC,QAAQ,UAAU,cAAc;AAE3D,MAAM,qBAAqB,CAAC,QAAQ,KAAK,QAAQ,KAAK,MAAM,MAAM,MAAM,OAAO,KAAK;AAEpF,MAAM,0BAA0B,CAAC,WAAW,aAAa,SAAS;AAElE,MAAM,qBAAqB;AAAA,EAChC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,SAAS,MAAM,SAAmB;AACvC,SAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;AACjC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storybookImages.d.ts","sourceRoot":"","sources":["../../src/helpers/storybookImages.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,QAE5B,CAAC;AAEF,eAAO,MAAM,eAAe,QAI3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const svg = (body, width = 640, height = 360) => `data:image/svg+xml;utf8,${encodeURIComponent(
|
|
2
|
+
`<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}">${body}</svg>`
|
|
3
|
+
)}`;
|
|
4
|
+
const SAMPLE_LANDSCAPE = svg(
|
|
5
|
+
'<defs><linearGradient id="g" x1="0" x2="1" y1="0" y2="1"><stop offset="0" stop-color="#e3a21a"/><stop offset="1" stop-color="#c25a1c"/></linearGradient></defs><rect width="640" height="360" fill="url(#g)"/><circle cx="470" cy="120" r="56" fill="#fff4d6" opacity="0.85"/><path d="M0 300 L180 170 L320 280 L440 200 L640 320 L640 360 L0 360 Z" fill="#3a2d1c" opacity="0.8"/>'
|
|
6
|
+
);
|
|
7
|
+
const SAMPLE_PORTRAIT = svg(
|
|
8
|
+
'<rect width="160" height="160" fill="#8aa05a"/><circle cx="80" cy="64" r="30" fill="#f4ecd8"/><path d="M24 160 C30 112 130 112 136 160 Z" fill="#f4ecd8"/>',
|
|
9
|
+
160,
|
|
10
|
+
160
|
|
11
|
+
);
|
|
12
|
+
export {
|
|
13
|
+
SAMPLE_LANDSCAPE,
|
|
14
|
+
SAMPLE_PORTRAIT
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=storybookImages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/helpers/storybookImages.ts"],"sourcesContent":["/**\n * Story-only sample images as data URIs, so stories render in Storybook and in\n * Claude Design previews without hosting files. Not exported from the package.\n */\nconst svg = (body: string, width = 640, height = 360) =>\n `data:image/svg+xml;utf8,${encodeURIComponent(\n `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"${width}\" height=\"${height}\" viewBox=\"0 0 ${width} ${height}\">${body}</svg>`,\n )}`;\n\nexport const SAMPLE_LANDSCAPE = svg(\n '<defs><linearGradient id=\"g\" x1=\"0\" x2=\"1\" y1=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#e3a21a\"/><stop offset=\"1\" stop-color=\"#c25a1c\"/></linearGradient></defs><rect width=\"640\" height=\"360\" fill=\"url(#g)\"/><circle cx=\"470\" cy=\"120\" r=\"56\" fill=\"#fff4d6\" opacity=\"0.85\"/><path d=\"M0 300 L180 170 L320 280 L440 200 L640 320 L640 360 L0 360 Z\" fill=\"#3a2d1c\" opacity=\"0.8\"/>',\n);\n\nexport const SAMPLE_PORTRAIT = svg(\n '<rect width=\"160\" height=\"160\" fill=\"#8aa05a\"/><circle cx=\"80\" cy=\"64\" r=\"30\" fill=\"#f4ecd8\"/><path d=\"M24 160 C30 112 130 112 136 160 Z\" fill=\"#f4ecd8\"/>',\n 160,\n 160,\n);\n"],"mappings":"AAIA,MAAM,MAAM,CAAC,MAAc,QAAQ,KAAK,SAAS,QAC/C,2BAA2B;AAAA,EACzB,kDAAkD,KAAK,aAAa,MAAM,kBAAkB,KAAK,IAAI,MAAM,KAAK,IAAI;AACtH,CAAC;AAEI,MAAM,mBAAmB;AAAA,EAC9B;AACF;AAEO,MAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AACF;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,43 +1,66 @@
|
|
|
1
|
-
export { Button } from './components/Button';
|
|
2
|
-
export { Heading } from './components/Heading';
|
|
3
|
-
export { Text } from './components/Text';
|
|
4
|
-
export { Flex } from './components/Flex';
|
|
5
|
-
export { Stack, HStack, VStack } from './components/Stack';
|
|
6
|
-
export { Tag } from './components/Tag';
|
|
7
|
-
export { Badge } from './components/Badge';
|
|
8
|
-
export { Switch } from './components/Switch';
|
|
9
|
-
export type { SwitchProps } from './components/Switch';
|
|
10
|
-
export { Field, FieldLabel, FieldHelper, FieldError, FieldControl, FieldSelect, FieldTextarea, useField, } from './components/Field';
|
|
11
|
-
export type { FieldSize, FieldContextValue } from './components/Field';
|
|
12
|
-
export { TextField } from './components/TextField';
|
|
13
|
-
export { Checkbox } from './components/Checkbox';
|
|
14
|
-
export { Radio, RadioGroup } from './components/Radio';
|
|
15
|
-
export type { RadioProps, RadioGroupProps } from './components/Radio';
|
|
16
|
-
export { Select } from './components/Select';
|
|
17
|
-
export { Textarea } from './components/Textarea';
|
|
18
|
-
export { Card, CardHeader, CardBody, CardFooter, CardTitle, CardDescription, } from './components/Card';
|
|
19
|
-
export { SimpleGrid } from './components/SimpleGrid';
|
|
20
|
-
export { Container } from './components/Container';
|
|
21
|
-
export type { ContainerProps } from './components/Container';
|
|
22
|
-
export { Box } from './components/Box';
|
|
23
|
-
export type { BoxProps } from './components/Box';
|
|
24
|
-
export { Hide } from './components/Hide';
|
|
25
|
-
export type { HideProps } from './components/Hide';
|
|
26
|
-
export { Tooltip } from './components/Tooltip';
|
|
27
|
-
export type { TooltipPlacement, TooltipProps } from './components/Tooltip';
|
|
28
|
-
export { Dialog, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogClose, } from './components/Dialog';
|
|
29
|
-
export { Drawer, DrawerHeader, DrawerBody, DrawerFooter, DrawerTitle, DrawerClose, } from './components/Drawer';
|
|
30
|
-
export { Menu, MenuItem } from './components/Menu';
|
|
31
|
-
export { Tabs, TabList, Tab, TabPanel } from './components/Tabs';
|
|
32
|
-
export { Table, TableCaption, TableHeader, TableBody, TableFooter, TableRow, TableColumnHeader, TableCell, Thead, Tbody, Tfoot, Tr, Th, Td, } from './components/Table';
|
|
33
|
-
export { Spinner } from './components/Spinner';
|
|
34
|
-
export { Icon } from './components/Icon';
|
|
35
|
-
export type { IconProps } from './components/Icon';
|
|
36
|
-
export { CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, ExternalLinkIcon, InfoIcon, LinkIcon, MenuIcon, MoonIcon, SearchIcon, SunIcon, WarningIcon, } from './components/Glyphs';
|
|
37
|
-
export type { GlyphProps } from './components/Glyphs';
|
|
38
|
-
export { Link } from './components/Link';
|
|
39
|
-
export {
|
|
40
|
-
export
|
|
41
|
-
export type {
|
|
42
|
-
export {
|
|
1
|
+
export { Button } from './components/Button.js';
|
|
2
|
+
export { Heading } from './components/Heading.js';
|
|
3
|
+
export { Text } from './components/Text.js';
|
|
4
|
+
export { Flex } from './components/Flex.js';
|
|
5
|
+
export { Stack, HStack, VStack } from './components/Stack.js';
|
|
6
|
+
export { Tag } from './components/Tag.js';
|
|
7
|
+
export { Badge } from './components/Badge.js';
|
|
8
|
+
export { Switch } from './components/Switch.js';
|
|
9
|
+
export type { SwitchProps } from './components/Switch.js';
|
|
10
|
+
export { Field, FieldLabel, FieldHelper, FieldError, FieldControl, FieldSelect, FieldTextarea, useField, } from './components/Field.js';
|
|
11
|
+
export type { FieldSize, FieldContextValue } from './components/Field.js';
|
|
12
|
+
export { TextField } from './components/TextField.js';
|
|
13
|
+
export { Checkbox } from './components/Checkbox.js';
|
|
14
|
+
export { Radio, RadioGroup } from './components/Radio.js';
|
|
15
|
+
export type { RadioProps, RadioGroupProps } from './components/Radio.js';
|
|
16
|
+
export { Select } from './components/Select.js';
|
|
17
|
+
export { Textarea } from './components/Textarea.js';
|
|
18
|
+
export { Card, CardHeader, CardBody, CardFooter, CardTitle, CardDescription, } from './components/Card.js';
|
|
19
|
+
export { SimpleGrid } from './components/SimpleGrid.js';
|
|
20
|
+
export { Container } from './components/Container.js';
|
|
21
|
+
export type { ContainerProps } from './components/Container.js';
|
|
22
|
+
export { Box } from './components/Box.js';
|
|
23
|
+
export type { BoxProps } from './components/Box.js';
|
|
24
|
+
export { Hide } from './components/Hide.js';
|
|
25
|
+
export type { HideProps } from './components/Hide.js';
|
|
26
|
+
export { Tooltip } from './components/Tooltip.js';
|
|
27
|
+
export type { TooltipPlacement, TooltipProps } from './components/Tooltip.js';
|
|
28
|
+
export { Dialog, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogClose, } from './components/Dialog.js';
|
|
29
|
+
export { Drawer, DrawerHeader, DrawerBody, DrawerFooter, DrawerTitle, DrawerClose, } from './components/Drawer.js';
|
|
30
|
+
export { Menu, MenuItem } from './components/Menu.js';
|
|
31
|
+
export { Tabs, TabList, Tab, TabPanel } from './components/Tabs.js';
|
|
32
|
+
export { Table, TableCaption, TableHeader, TableBody, TableFooter, TableRow, TableColumnHeader, TableCell, Thead, Tbody, Tfoot, Tr, Th, Td, } from './components/Table.js';
|
|
33
|
+
export { Spinner } from './components/Spinner.js';
|
|
34
|
+
export { Icon } from './components/Icon.js';
|
|
35
|
+
export type { IconProps } from './components/Icon.js';
|
|
36
|
+
export { CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, CopyIcon, ExternalLinkIcon, InfoIcon, LinkIcon, MenuIcon, MoonIcon, SearchIcon, SunIcon, WarningIcon, } from './components/Glyphs.js';
|
|
37
|
+
export type { GlyphProps } from './components/Glyphs.js';
|
|
38
|
+
export { Link } from './components/Link.js';
|
|
39
|
+
export { Prose } from './components/Prose.js';
|
|
40
|
+
export { List, ListItem } from './components/List.js';
|
|
41
|
+
export type { ListProps, ListItemProps } from './components/List.js';
|
|
42
|
+
export { Code } from './components/Code.js';
|
|
43
|
+
export { Kbd } from './components/Kbd.js';
|
|
44
|
+
export { Mark } from './components/Mark.js';
|
|
45
|
+
export { Blockquote, BlockquoteCaption } from './components/Blockquote.js';
|
|
46
|
+
export type { BlockquoteProps, BlockquoteCaptionProps } from './components/Blockquote.js';
|
|
47
|
+
export { Image } from './components/Image.js';
|
|
48
|
+
export type { ImageProps } from './components/Image.js';
|
|
49
|
+
export { Figure } from './components/Figure.js';
|
|
50
|
+
export type { FigureProps } from './components/Figure.js';
|
|
51
|
+
export { Avatar } from './components/Avatar.js';
|
|
52
|
+
export type { AvatarProps } from './components/Avatar.js';
|
|
53
|
+
export { SkipLink } from './components/SkipLink.js';
|
|
54
|
+
export { VisuallyHidden } from './components/VisuallyHidden.js';
|
|
55
|
+
export { Center } from './components/Center.js';
|
|
56
|
+
export type { CenterProps } from './components/Center.js';
|
|
57
|
+
export { Grid, GridItem } from './components/Grid.js';
|
|
58
|
+
export type { GridProps, GridItemProps } from './components/Grid.js';
|
|
59
|
+
export { AspectRatio } from './components/AspectRatio.js';
|
|
60
|
+
export type { AspectRatioProps } from './components/AspectRatio.js';
|
|
61
|
+
export type { ProseProps } from './components/Prose.js';
|
|
62
|
+
export { Separator } from './components/Separator.js';
|
|
63
|
+
export type { LabelCustomColors, LabelVisual } from './helpers/labelColors.js';
|
|
64
|
+
export type { Breakpoint, BreakpointAlias, BreakpointMap, ResponsiveValue, GapValue, SpacingScale, SpacingStep, SpacingSemantic, SemanticBreakpoint, } from './helpers/responsive.js';
|
|
65
|
+
export { BREAKPOINTS, SEMANTIC_BREAKPOINTS, SEMANTIC_TO_BREAKPOINT, SPACING_SCALE, normalizeResponsiveValue, normalizeGapValue, resolveBreakpointAlias, } from './helpers/responsive.js';
|
|
43
66
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EA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