@nicolassancho/storybook-core 4.0.1 → 4.1.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/README.md +1 -1
- package/dist/components/Atoms/Chip/Chip.js +1 -1
- package/dist/components/Atoms/ChipLink/ChipLink.js +1 -1
- package/dist/components/Atoms/Icon/Icon.d.ts +1 -1
- package/dist/components/Atoms/Icon/Icon.js +1 -1
- package/dist/components/Atoms/Label/Label.d.ts +1 -1
- package/dist/components/Atoms/Label/Label.js +1 -1
- package/dist/components/Atoms/RadioButton/RadioButton.js +1 -1
- package/dist/components/Layouts/Container/Container.d.ts +13 -0
- package/dist/components/Layouts/Container/Container.js +11 -0
- package/dist/components/Molecules/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/components/Molecules/CartIcon/CartIcon.js +2 -2
- package/dist/components/Molecules/ProductCard/ProductCard.d.ts +1 -1
- package/dist/components/Molecules/ProductCard/ProductCard.js +2 -2
- package/dist/components/Molecules/ProductDetails/ProductDetails.js +1 -1
- package/dist/components/Molecules/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/Organisms/Footer/Footer.d.ts +2 -1
- package/dist/components/Organisms/Footer/Footer.js +6 -4
- package/dist/components/Organisms/Header/Header.d.ts +3 -2
- package/dist/components/Organisms/Header/Header.js +6 -4
- package/dist/components/Organisms/ProductGrid/ProductGrid.d.ts +1 -1
- package/dist/components/Organisms/ProductGrid/ProductGrid.js +2 -2
- package/dist/index.d.ts +20 -19
- package/dist/index.js +20 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ documented in Storybook. It is published to npm as `@nicolassancho/storybook-cor
|
|
|
36
36
|
| Atoms | Button, Chip, ChipLink, Icon, Image, Label, RadioButton, SearchInput, Spinner, Text |
|
|
37
37
|
| Molecules | Breadcrumbs, CartIcon, ProductCard, ProductDetails, RadioGroup |
|
|
38
38
|
| Organisms | Footer, Header, ProductGrid |
|
|
39
|
-
| Layouts | Grid
|
|
39
|
+
| Layouts | Container, Grid |
|
|
40
40
|
|
|
41
41
|
The palette and the contrast of each text color are documented under **Foundations / Colors** in
|
|
42
42
|
Storybook.
|
|
@@ -10,7 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { chipStyles } from "./chipStyles";
|
|
13
|
+
import { chipStyles } from "./chipStyles.js";
|
|
14
14
|
/**
|
|
15
15
|
* A pill button for choosing a filter or an option. It works without JavaScript inside a native
|
|
16
16
|
* form: a `type="submit"` chip with a `name` and `value` submits that value. For a filter that
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { chipStyles } from "../Chip/chipStyles";
|
|
2
|
+
import { chipStyles } from "../Chip/chipStyles.js";
|
|
3
3
|
/**
|
|
4
4
|
* A pill link for filters that live in the URL, such as a category. Put the chips in a `<nav>` or
|
|
5
5
|
* a list and mark the current one with `selected`. For a toggle or a form control, use `Chip`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
4
4
|
const radioButtonStyles = tv({
|
|
5
5
|
base: "flex items-center gap-2 cursor-pointer",
|
|
6
6
|
slots: {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface ContainerProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/** Element to render. Defaults to a `div`; pass `main`, `section` and so on for a landmark. */
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Keeps page content at one width, centered, with matching side padding. `Header` and `Footer`
|
|
10
|
+
* use it for their content, so page content wrapped in a `Container` lines up with both. Their
|
|
11
|
+
* background, shadow and borders stay full-width.
|
|
12
|
+
*/
|
|
13
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
const containerStyles = tv({
|
|
4
|
+
base: "mx-auto w-full max-w-6xl px-4 sm:px-6",
|
|
5
|
+
});
|
|
6
|
+
/**
|
|
7
|
+
* Keeps page content at one width, centered, with matching side padding. `Header` and `Footer`
|
|
8
|
+
* use it for their content, so page content wrapped in a `Container` lines up with both. Their
|
|
9
|
+
* background, shadow and borders stay full-width.
|
|
10
|
+
*/
|
|
11
|
+
export const Container = ({ children, as: Component = "div", className, }) => _jsx(Component, { className: containerStyles({ className }), children: children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Icon } from "../../Atoms/Icon/Icon";
|
|
4
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Icon } from "../../Atoms/Icon/Icon.js";
|
|
4
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
5
5
|
const breadcrumbsStyles = tv({
|
|
6
6
|
base: "text-sm text-neutral-600",
|
|
7
7
|
slots: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Icon } from "../../Atoms/Icon/Icon";
|
|
4
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Icon } from "../../Atoms/Icon/Icon.js";
|
|
4
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
5
5
|
const cartIconStyles = tv({
|
|
6
6
|
base: "relative inline-flex items-center",
|
|
7
7
|
variants: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ImageProps } from "../../Atoms/Image/Image";
|
|
2
|
+
import { ImageProps } from "../../Atoms/Image/Image.js";
|
|
3
3
|
export interface ProductCardProps {
|
|
4
4
|
/** Optional unique id, used as the React key when rendered in a list (falls back to `title`). */
|
|
5
5
|
id?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Image } from "../../Atoms/Image/Image";
|
|
4
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Image } from "../../Atoms/Image/Image.js";
|
|
4
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
5
5
|
const productCardStyles = tv({
|
|
6
6
|
base: "relative rounded-lg border border-neutral-200 shadow-xs flex flex-col overflow-hidden",
|
|
7
7
|
slots: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
4
4
|
const detailsStyles = tv({
|
|
5
5
|
base: "flex flex-col gap-1",
|
|
6
6
|
slots: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useId } from "react";
|
|
3
|
-
import { RadioButton } from "../../Atoms/RadioButton/RadioButton";
|
|
4
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
5
|
-
import { Grid } from "../../Layouts/Grid/Grid";
|
|
3
|
+
import { RadioButton } from "../../Atoms/RadioButton/RadioButton.js";
|
|
4
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
5
|
+
import { Grid } from "../../Layouts/Grid/Grid.js";
|
|
6
6
|
export const RadioGroup = ({ label, name, options, value, defaultValue, onChange, columns = 1, gap = "small", className, }) => {
|
|
7
7
|
const generatedName = useId();
|
|
8
8
|
const groupName = name !== null && name !== void 0 ? name : generatedName;
|
|
@@ -36,6 +36,7 @@ export interface FooterProps {
|
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Page footer: a `contentinfo` landmark with an optional brand block, link columns and a legal
|
|
39
|
-
* line.
|
|
39
|
+
* line. The bar is full-width and its content sits in a `Container`, so it lines up with page
|
|
40
|
+
* content wrapped in one. It holds no state, so it renders from a Server Component.
|
|
40
41
|
*/
|
|
41
42
|
export declare const Footer: React.FC<FooterProps>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Text } from "../../Atoms/Text/Text";
|
|
3
|
+
import { Text } from "../../Atoms/Text/Text.js";
|
|
4
|
+
import { Container } from "../../Layouts/Container/Container.js";
|
|
4
5
|
const footerStyles = tv({
|
|
5
6
|
base: "w-full border-t border-neutral-200 bg-surface",
|
|
6
7
|
slots: {
|
|
7
|
-
inner: "flex flex-col gap-8
|
|
8
|
+
inner: "flex flex-col gap-8 py-10",
|
|
8
9
|
top: "flex flex-col gap-8 md:flex-row md:justify-between",
|
|
9
10
|
brand: "md:max-w-xs",
|
|
10
11
|
columns: "flex flex-wrap gap-x-12 gap-y-8",
|
|
@@ -15,10 +16,11 @@ const footerStyles = tv({
|
|
|
15
16
|
});
|
|
16
17
|
/**
|
|
17
18
|
* Page footer: a `contentinfo` landmark with an optional brand block, link columns and a legal
|
|
18
|
-
* line.
|
|
19
|
+
* line. The bar is full-width and its content sits in a `Container`, so it lines up with page
|
|
20
|
+
* content wrapped in one. It holds no state, so it renders from a Server Component.
|
|
19
21
|
*/
|
|
20
22
|
export const Footer = ({ columns = [], brand, legal, LinkComponent = "a", navLabel = "Footer", className, }) => {
|
|
21
23
|
const styles = footerStyles();
|
|
22
24
|
const hasColumns = columns.length > 0;
|
|
23
|
-
return (_jsx("footer", { className: styles.base({ className }), children: _jsxs(
|
|
25
|
+
return (_jsx("footer", { className: styles.base({ className }), children: _jsxs(Container, { className: styles.inner(), children: [(brand || hasColumns) && (_jsxs("div", { className: styles.top(), children: [brand && _jsx("div", { className: styles.brand(), children: brand }), hasColumns && (_jsx("nav", { "aria-label": navLabel, className: styles.columns(), children: columns.map(({ title, links }) => (_jsxs("div", { children: [_jsx(Text, { as: "h2", size: "small", weight: "semibold", color: "darker", children: title }), _jsx("ul", { className: styles.list(), children: links.map(({ label, href }) => (_jsx("li", { children: _jsx(LinkComponent, { href: href, className: styles.link(), children: label }) }, `${label}-${href}`))) })] }, title))) }))] })), legal && _jsx("div", { className: styles.legal(), children: legal })] }) }));
|
|
24
26
|
};
|
|
@@ -39,7 +39,8 @@ export interface HeaderProps {
|
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Page header: a `banner` landmark with a brand, an optional main navigation and a group of
|
|
42
|
-
* actions.
|
|
43
|
-
*
|
|
42
|
+
* actions. The bar is full-width and its content sits in a `Container`, so it lines up with page
|
|
43
|
+
* content wrapped in one. It grows with its content instead of overflowing on a phone, and it
|
|
44
|
+
* holds no state, so it renders from a Server Component.
|
|
44
45
|
*/
|
|
45
46
|
export declare const Header: React.FC<HeaderProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
+
import { Container } from "../../Layouts/Container/Container.js";
|
|
3
4
|
const headerStyles = tv({
|
|
4
5
|
base: "w-full bg-surface shadow-sm",
|
|
5
6
|
slots: {
|
|
6
|
-
inner: "flex min-h-16 flex-wrap items-center gap-x-6 gap-y-2
|
|
7
|
+
inner: "flex min-h-16 flex-wrap items-center gap-x-6 gap-y-2 py-3",
|
|
7
8
|
brand: "order-1",
|
|
8
9
|
actions: "order-2 ml-auto flex items-center gap-2 md:order-3",
|
|
9
10
|
nav: "order-3 w-full md:order-2 md:w-auto md:flex-1",
|
|
@@ -13,10 +14,11 @@ const headerStyles = tv({
|
|
|
13
14
|
});
|
|
14
15
|
/**
|
|
15
16
|
* Page header: a `banner` landmark with a brand, an optional main navigation and a group of
|
|
16
|
-
* actions.
|
|
17
|
-
*
|
|
17
|
+
* actions. The bar is full-width and its content sits in a `Container`, so it lines up with page
|
|
18
|
+
* content wrapped in one. It grows with its content instead of overflowing on a phone, and it
|
|
19
|
+
* holds no state, so it renders from a Server Component.
|
|
18
20
|
*/
|
|
19
21
|
export const Header = ({ brand, actions, navItems = [], navLabel = "Main", LinkComponent = "a", className, }) => {
|
|
20
22
|
const styles = headerStyles();
|
|
21
|
-
return (_jsx("header", { className: styles.base({ className }), children: _jsxs(
|
|
23
|
+
return (_jsx("header", { className: styles.base({ className }), children: _jsxs(Container, { className: styles.inner(), children: [_jsx("div", { className: styles.brand(), children: brand }), actions && _jsx("div", { className: styles.actions(), children: actions }), navItems.length > 0 && (_jsx("nav", { "aria-label": navLabel, className: styles.nav(), children: _jsx("ul", { className: styles.list(), children: navItems.map(({ label, href }) => (_jsx("li", { children: _jsx(LinkComponent, { href: href, className: styles.link(), children: label }) }, `${label}-${href}`))) }) }))] }) }));
|
|
22
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ProductCardProps } from "../../Molecules/ProductCard/ProductCard";
|
|
2
|
+
import { ProductCardProps } from "../../Molecules/ProductCard/ProductCard.js";
|
|
3
3
|
export interface ProductGridProps {
|
|
4
4
|
products: ProductCardProps[];
|
|
5
5
|
columns?: 2 | 3 | 4 | 6;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
|
-
import { Grid } from "../../Layouts/Grid/Grid";
|
|
4
|
-
import { ProductCard } from "../../Molecules/ProductCard/ProductCard";
|
|
3
|
+
import { Grid } from "../../Layouts/Grid/Grid.js";
|
|
4
|
+
import { ProductCard } from "../../Molecules/ProductCard/ProductCard.js";
|
|
5
5
|
const productGridStyles = tv({
|
|
6
6
|
base: "xs:grid-cols-1 sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4",
|
|
7
7
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export * from "./components/Atoms/Button/Button";
|
|
2
|
-
export * from "./components/Atoms/Chip/Chip";
|
|
3
|
-
export * from "./components/Atoms/ChipLink/ChipLink";
|
|
4
|
-
export * from "./components/Atoms/Spinner/Spinner";
|
|
5
|
-
export * from "./components/Atoms/Text/Text";
|
|
6
|
-
export * from "./components/Atoms/Icon/Icon";
|
|
7
|
-
export * from "./components/Atoms/Image/Image";
|
|
8
|
-
export * from "./components/Atoms/Label/Label";
|
|
9
|
-
export * from "./components/Atoms/RadioButton/RadioButton";
|
|
10
|
-
export * from "./components/Atoms/SearchInput/SearchInput";
|
|
11
|
-
export * from "./components/Layouts/
|
|
12
|
-
export * from "./components/
|
|
13
|
-
export * from "./components/Molecules/
|
|
14
|
-
export * from "./components/Molecules/
|
|
15
|
-
export * from "./components/Molecules/
|
|
16
|
-
export * from "./components/Molecules/
|
|
17
|
-
export * from "./components/
|
|
18
|
-
export * from "./components/Organisms/
|
|
19
|
-
export * from "./components/Organisms/
|
|
1
|
+
export * from "./components/Atoms/Button/Button.js";
|
|
2
|
+
export * from "./components/Atoms/Chip/Chip.js";
|
|
3
|
+
export * from "./components/Atoms/ChipLink/ChipLink.js";
|
|
4
|
+
export * from "./components/Atoms/Spinner/Spinner.js";
|
|
5
|
+
export * from "./components/Atoms/Text/Text.js";
|
|
6
|
+
export * from "./components/Atoms/Icon/Icon.js";
|
|
7
|
+
export * from "./components/Atoms/Image/Image.js";
|
|
8
|
+
export * from "./components/Atoms/Label/Label.js";
|
|
9
|
+
export * from "./components/Atoms/RadioButton/RadioButton.js";
|
|
10
|
+
export * from "./components/Atoms/SearchInput/SearchInput.js";
|
|
11
|
+
export * from "./components/Layouts/Container/Container.js";
|
|
12
|
+
export * from "./components/Layouts/Grid/Grid.js";
|
|
13
|
+
export * from "./components/Molecules/Breadcrumbs/Breadcrumbs.js";
|
|
14
|
+
export * from "./components/Molecules/CartIcon/CartIcon.js";
|
|
15
|
+
export * from "./components/Molecules/ProductCard/ProductCard.js";
|
|
16
|
+
export * from "./components/Molecules/ProductDetails/ProductDetails.js";
|
|
17
|
+
export * from "./components/Molecules/RadioGroup/RadioGroup.js";
|
|
18
|
+
export * from "./components/Organisms/Footer/Footer.js";
|
|
19
|
+
export * from "./components/Organisms/Header/Header.js";
|
|
20
|
+
export * from "./components/Organisms/ProductGrid/ProductGrid.js";
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
// Atoms
|
|
2
|
-
export * from "./components/Atoms/Button/Button";
|
|
3
|
-
export * from "./components/Atoms/Chip/Chip";
|
|
4
|
-
export * from "./components/Atoms/ChipLink/ChipLink";
|
|
5
|
-
export * from "./components/Atoms/Spinner/Spinner";
|
|
6
|
-
export * from "./components/Atoms/Text/Text";
|
|
7
|
-
export * from "./components/Atoms/Icon/Icon";
|
|
8
|
-
export * from "./components/Atoms/Image/Image";
|
|
9
|
-
export * from "./components/Atoms/Label/Label";
|
|
10
|
-
export * from "./components/Atoms/RadioButton/RadioButton";
|
|
11
|
-
export * from "./components/Atoms/SearchInput/SearchInput";
|
|
2
|
+
export * from "./components/Atoms/Button/Button.js";
|
|
3
|
+
export * from "./components/Atoms/Chip/Chip.js";
|
|
4
|
+
export * from "./components/Atoms/ChipLink/ChipLink.js";
|
|
5
|
+
export * from "./components/Atoms/Spinner/Spinner.js";
|
|
6
|
+
export * from "./components/Atoms/Text/Text.js";
|
|
7
|
+
export * from "./components/Atoms/Icon/Icon.js";
|
|
8
|
+
export * from "./components/Atoms/Image/Image.js";
|
|
9
|
+
export * from "./components/Atoms/Label/Label.js";
|
|
10
|
+
export * from "./components/Atoms/RadioButton/RadioButton.js";
|
|
11
|
+
export * from "./components/Atoms/SearchInput/SearchInput.js";
|
|
12
12
|
// Layouts
|
|
13
|
-
export * from "./components/Layouts/
|
|
13
|
+
export * from "./components/Layouts/Container/Container.js";
|
|
14
|
+
export * from "./components/Layouts/Grid/Grid.js";
|
|
14
15
|
// Molecules
|
|
15
|
-
export * from "./components/Molecules/Breadcrumbs/Breadcrumbs";
|
|
16
|
-
export * from "./components/Molecules/CartIcon/CartIcon";
|
|
17
|
-
export * from "./components/Molecules/ProductCard/ProductCard";
|
|
18
|
-
export * from "./components/Molecules/ProductDetails/ProductDetails";
|
|
19
|
-
export * from "./components/Molecules/RadioGroup/RadioGroup";
|
|
16
|
+
export * from "./components/Molecules/Breadcrumbs/Breadcrumbs.js";
|
|
17
|
+
export * from "./components/Molecules/CartIcon/CartIcon.js";
|
|
18
|
+
export * from "./components/Molecules/ProductCard/ProductCard.js";
|
|
19
|
+
export * from "./components/Molecules/ProductDetails/ProductDetails.js";
|
|
20
|
+
export * from "./components/Molecules/RadioGroup/RadioGroup.js";
|
|
20
21
|
// Organisms
|
|
21
|
-
export * from "./components/Organisms/Footer/Footer";
|
|
22
|
-
export * from "./components/Organisms/Header/Header";
|
|
23
|
-
export * from "./components/Organisms/ProductGrid/ProductGrid";
|
|
22
|
+
export * from "./components/Organisms/Footer/Footer.js";
|
|
23
|
+
export * from "./components/Organisms/Header/Header.js";
|
|
24
|
+
export * from "./components/Organisms/ProductGrid/ProductGrid.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nicolassancho/storybook-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Accessible React + Tailwind component library built with tailwind-variants and documented in Storybook.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|