@particle-academy/react-fancy 5.14.0 → 5.15.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/chunk-AY3JABE3.cjs +32 -0
- package/dist/chunk-AY3JABE3.cjs.map +1 -0
- package/dist/chunk-DBJWHDWP.js +31 -0
- package/dist/chunk-DBJWHDWP.js.map +1 -0
- package/dist/chunk-MKFWFZVX.js +30 -0
- package/dist/chunk-MKFWFZVX.js.map +1 -0
- package/dist/chunk-PG3ILQIW.js +30 -0
- package/dist/chunk-PG3ILQIW.js.map +1 -0
- package/dist/chunk-SYXLPCQP.cjs +33 -0
- package/dist/chunk-SYXLPCQP.cjs.map +1 -0
- package/dist/chunk-VQ4M25U3.cjs +32 -0
- package/dist/chunk-VQ4M25U3.cjs.map +1 -0
- package/dist/container.cjs +13 -0
- package/dist/container.cjs.map +1 -0
- package/dist/container.d.cts +21 -0
- package/dist/container.d.ts +21 -0
- package/dist/container.js +4 -0
- package/dist/container.js.map +1 -0
- package/dist/editor.cjs +1 -1
- package/dist/editor.js +1 -1
- package/dist/grid.cjs +13 -0
- package/dist/grid.cjs.map +1 -0
- package/dist/grid.d.cts +30 -0
- package/dist/grid.d.ts +30 -0
- package/dist/grid.js +4 -0
- package/dist/grid.js.map +1 -0
- package/dist/index.cjs +111 -96
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +23 -20
- package/dist/inputs.cjs +25 -25
- package/dist/inputs.js +5 -5
- package/dist/section.cjs +13 -0
- package/dist/section.cjs.map +1 -0
- package/dist/section.d.cts +23 -0
- package/dist/section.d.ts +23 -0
- package/dist/section.js +4 -0
- package/dist/section.js.map +1 -0
- package/package.json +31 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3Z6ALUWP_cjs = require('./chunk-3Z6ALUWP.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var GAP = { sm: "gap-3", md: "gap-6", lg: "gap-10" };
|
|
8
|
+
var Grid = react.forwardRef(
|
|
9
|
+
({ children, cols = 3, gap = "md", responsive = true, className, style, ...props }, ref) => {
|
|
10
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
ref,
|
|
14
|
+
...props,
|
|
15
|
+
"data-react-fancy-grid": "",
|
|
16
|
+
"data-responsive": responsive ? "true" : "false",
|
|
17
|
+
className: chunk3Z6ALUWP_cjs.cn("grid", GAP[gap], className),
|
|
18
|
+
style: {
|
|
19
|
+
...style,
|
|
20
|
+
["--fancy-grid-cols"]: String(cols),
|
|
21
|
+
gridTemplateColumns: responsive ? "repeat(auto-fit, minmax(min(100%, 16rem), 1fr))" : `repeat(${cols}, minmax(0, 1fr))`
|
|
22
|
+
},
|
|
23
|
+
children
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
Grid.displayName = "Grid";
|
|
29
|
+
|
|
30
|
+
exports.Grid = Grid;
|
|
31
|
+
//# sourceMappingURL=chunk-AY3JABE3.cjs.map
|
|
32
|
+
//# sourceMappingURL=chunk-AY3JABE3.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Grid/Grid.tsx"],"names":["forwardRef","jsx","cn"],"mappings":";;;;;;AAIA,IAAM,MAAM,EAAE,EAAA,EAAI,SAAS,EAAA,EAAI,OAAA,EAAS,IAAI,QAAA,EAAS;AAW9C,IAAM,IAAA,GAAOA,gBAAA;AAAA,EAClB,CAAC,EAAE,QAAA,EAAU,IAAA,GAAO,GAAG,GAAA,GAAM,IAAA,EAAM,UAAA,GAAa,IAAA,EAAM,SAAA,EAAW,KAAA,EAAO,GAAG,KAAA,IAAS,GAAA,KAAQ;AAC1F,IAAA,uBACEC,cAAA;AAAA,MAAC,KAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,uBAAA,EAAsB,EAAA;AAAA,QACtB,iBAAA,EAAiB,aAAa,MAAA,GAAS,OAAA;AAAA,QACvC,WAAWC,oBAAA,CAAG,MAAA,EAAQ,GAAA,CAAI,GAAG,GAAG,SAAS,CAAA;AAAA,QACzC,KAAA,EAAO;AAAA,UACL,GAAG,KAAA;AAAA,UACH,CAAC,mBAA6B,GAAG,MAAA,CAAO,IAAI,CAAA;AAAA,UAC5C,mBAAA,EAAqB,UAAA,GACjB,iDAAA,GACA,CAAA,OAAA,EAAU,IAAI,CAAA,iBAAA;AAAA,SACpB;AAAA,QAEC;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,IAAA,CAAK,WAAA,GAAc,MAAA","file":"chunk-AY3JABE3.cjs","sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { GridProps } from \"./Grid.types\";\n\nconst GAP = { sm: \"gap-3\", md: \"gap-6\", lg: \"gap-10\" } as const;\n\n/**\n * The modular grid.\n *\n * Column count goes through a custom property rather than a `grid-cols-N` class\n * because N is a prop: Tailwind cannot generate a class it never sees in source,\n * and every hand-rolled copy in the gallery worked around that differently. The\n * property also gives a design a single place to override the breakpoint\n * behaviour in CSS without fighting a utility.\n */\nexport const Grid = forwardRef<HTMLDivElement, GridProps>(\n ({ children, cols = 3, gap = \"md\", responsive = true, className, style, ...props }, ref) => {\n return (\n <div\n ref={ref}\n {...props}\n data-react-fancy-grid=\"\"\n data-responsive={responsive ? \"true\" : \"false\"}\n className={cn(\"grid\", GAP[gap], className)}\n style={{\n ...style,\n [\"--fancy-grid-cols\" as string]: String(cols),\n gridTemplateColumns: responsive\n ? \"repeat(auto-fit, minmax(min(100%, 16rem), 1fr))\"\n : `repeat(${cols}, minmax(0, 1fr))`,\n }}\n >\n {children}\n </div>\n );\n },\n);\n\nGrid.displayName = \"Grid\";\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { cn } from './chunk-DSUHZO6T.js';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var SIZES = {
|
|
6
|
+
sm: "max-w-3xl",
|
|
7
|
+
md: "max-w-5xl",
|
|
8
|
+
lg: "max-w-7xl",
|
|
9
|
+
full: "max-w-none"
|
|
10
|
+
};
|
|
11
|
+
var Container = forwardRef(
|
|
12
|
+
({ children, size = "md", as: Tag = "div", className, ...props }, ref) => {
|
|
13
|
+
const Component = Tag;
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
Component,
|
|
16
|
+
{
|
|
17
|
+
ref,
|
|
18
|
+
...props,
|
|
19
|
+
"data-react-fancy-container": "",
|
|
20
|
+
"data-size": size,
|
|
21
|
+
className: cn("mx-auto w-full px-4 sm:px-6", SIZES[size], className),
|
|
22
|
+
children
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
Container.displayName = "Container";
|
|
28
|
+
|
|
29
|
+
export { Container };
|
|
30
|
+
//# sourceMappingURL=chunk-DBJWHDWP.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-DBJWHDWP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Container/Container.tsx"],"names":[],"mappings":";;;;AAKA,IAAM,KAAA,GAAQ;AAAA,EACZ,EAAA,EAAI,WAAA;AAAA,EACJ,EAAA,EAAI,WAAA;AAAA,EACJ,EAAA,EAAI,WAAA;AAAA,EACJ,IAAA,EAAM;AACR,CAAA;AASO,IAAM,SAAA,GAAY,UAAA;AAAA,EACvB,CAAC,EAAE,QAAA,EAAU,IAAA,GAAO,IAAA,EAAM,EAAA,EAAI,GAAA,GAAM,KAAA,EAAO,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,KAAQ;AAIxE,IAAA,MAAM,SAAA,GAAY,GAAA;AAElB,IAAA,uBACE,GAAA;AAAA,MAAC,SAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,4BAAA,EAA2B,EAAA;AAAA,QAC3B,WAAA,EAAW,IAAA;AAAA,QACX,WAAW,EAAA,CAAG,6BAAA,EAA+B,KAAA,CAAM,IAAI,GAAG,SAAS,CAAA;AAAA,QAElE;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA","file":"chunk-DBJWHDWP.js","sourcesContent":["import { forwardRef } from \"react\";\nimport type * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { ContainerProps } from \"./Container.types\";\n\nconst SIZES = {\n sm: \"max-w-3xl\",\n md: \"max-w-5xl\",\n lg: \"max-w-7xl\",\n full: \"max-w-none\",\n} as const;\n\n/**\n * The page's horizontal measure — centred, capped, with gutters.\n *\n * Every Swiss-family gallery style hand-rolled this. What they repeated was not\n * `mx-auto` but the DECISION about how wide the page reads, and twenty copies of\n * a decision drift. This owns the decision and leaves the styling replaceable.\n */\nexport const Container = forwardRef<HTMLElement, ContainerProps>(\n ({ children, size = \"md\", as: Tag = \"div\", className, ...props }, ref) => {\n // `as` makes the element dynamic, so the ref type cannot be known\n // statically. Narrowed at the boundary rather than dragging a full\n // polymorphic-component generic into a layout primitive.\n const Component = Tag as \"div\";\n\n return (\n <Component\n ref={ref as React.Ref<HTMLDivElement>}\n {...props}\n data-react-fancy-container=\"\"\n data-size={size}\n className={cn(\"mx-auto w-full px-4 sm:px-6\", SIZES[size], className)}\n >\n {children}\n </Component>\n );\n },\n);\n\nContainer.displayName = \"Container\";\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { cn } from './chunk-DSUHZO6T.js';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var GAP = { sm: "gap-3", md: "gap-6", lg: "gap-10" };
|
|
6
|
+
var Grid = forwardRef(
|
|
7
|
+
({ children, cols = 3, gap = "md", responsive = true, className, style, ...props }, ref) => {
|
|
8
|
+
return /* @__PURE__ */ jsx(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
...props,
|
|
13
|
+
"data-react-fancy-grid": "",
|
|
14
|
+
"data-responsive": responsive ? "true" : "false",
|
|
15
|
+
className: cn("grid", GAP[gap], className),
|
|
16
|
+
style: {
|
|
17
|
+
...style,
|
|
18
|
+
["--fancy-grid-cols"]: String(cols),
|
|
19
|
+
gridTemplateColumns: responsive ? "repeat(auto-fit, minmax(min(100%, 16rem), 1fr))" : `repeat(${cols}, minmax(0, 1fr))`
|
|
20
|
+
},
|
|
21
|
+
children
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
Grid.displayName = "Grid";
|
|
27
|
+
|
|
28
|
+
export { Grid };
|
|
29
|
+
//# sourceMappingURL=chunk-MKFWFZVX.js.map
|
|
30
|
+
//# sourceMappingURL=chunk-MKFWFZVX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Grid/Grid.tsx"],"names":[],"mappings":";;;;AAIA,IAAM,MAAM,EAAE,EAAA,EAAI,SAAS,EAAA,EAAI,OAAA,EAAS,IAAI,QAAA,EAAS;AAW9C,IAAM,IAAA,GAAO,UAAA;AAAA,EAClB,CAAC,EAAE,QAAA,EAAU,IAAA,GAAO,GAAG,GAAA,GAAM,IAAA,EAAM,UAAA,GAAa,IAAA,EAAM,SAAA,EAAW,KAAA,EAAO,GAAG,KAAA,IAAS,GAAA,KAAQ;AAC1F,IAAA,uBACE,GAAA;AAAA,MAAC,KAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,uBAAA,EAAsB,EAAA;AAAA,QACtB,iBAAA,EAAiB,aAAa,MAAA,GAAS,OAAA;AAAA,QACvC,WAAW,EAAA,CAAG,MAAA,EAAQ,GAAA,CAAI,GAAG,GAAG,SAAS,CAAA;AAAA,QACzC,KAAA,EAAO;AAAA,UACL,GAAG,KAAA;AAAA,UACH,CAAC,mBAA6B,GAAG,MAAA,CAAO,IAAI,CAAA;AAAA,UAC5C,mBAAA,EAAqB,UAAA,GACjB,iDAAA,GACA,CAAA,OAAA,EAAU,IAAI,CAAA,iBAAA;AAAA,SACpB;AAAA,QAEC;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,IAAA,CAAK,WAAA,GAAc,MAAA","file":"chunk-MKFWFZVX.js","sourcesContent":["import { forwardRef } from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { GridProps } from \"./Grid.types\";\n\nconst GAP = { sm: \"gap-3\", md: \"gap-6\", lg: \"gap-10\" } as const;\n\n/**\n * The modular grid.\n *\n * Column count goes through a custom property rather than a `grid-cols-N` class\n * because N is a prop: Tailwind cannot generate a class it never sees in source,\n * and every hand-rolled copy in the gallery worked around that differently. The\n * property also gives a design a single place to override the breakpoint\n * behaviour in CSS without fighting a utility.\n */\nexport const Grid = forwardRef<HTMLDivElement, GridProps>(\n ({ children, cols = 3, gap = \"md\", responsive = true, className, style, ...props }, ref) => {\n return (\n <div\n ref={ref}\n {...props}\n data-react-fancy-grid=\"\"\n data-responsive={responsive ? \"true\" : \"false\"}\n className={cn(\"grid\", GAP[gap], className)}\n style={{\n ...style,\n [\"--fancy-grid-cols\" as string]: String(cols),\n gridTemplateColumns: responsive\n ? \"repeat(auto-fit, minmax(min(100%, 16rem), 1fr))\"\n : `repeat(${cols}, minmax(0, 1fr))`,\n }}\n >\n {children}\n </div>\n );\n },\n);\n\nGrid.displayName = \"Grid\";\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { cn } from './chunk-DSUHZO6T.js';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
var SPACE = { sm: "py-8", md: "py-16", lg: "py-24" };
|
|
6
|
+
var Section = forwardRef(
|
|
7
|
+
({ children, space = "md", divider = false, as: Tag = "section", className, ...props }, ref) => {
|
|
8
|
+
const Component = Tag;
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
Component,
|
|
11
|
+
{
|
|
12
|
+
ref,
|
|
13
|
+
...props,
|
|
14
|
+
"data-react-fancy-section": "",
|
|
15
|
+
"data-space": space,
|
|
16
|
+
className: cn(
|
|
17
|
+
SPACE[space],
|
|
18
|
+
divider && "border-t border-zinc-200 dark:border-zinc-800",
|
|
19
|
+
className
|
|
20
|
+
),
|
|
21
|
+
children
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
Section.displayName = "Section";
|
|
27
|
+
|
|
28
|
+
export { Section };
|
|
29
|
+
//# sourceMappingURL=chunk-PG3ILQIW.js.map
|
|
30
|
+
//# sourceMappingURL=chunk-PG3ILQIW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Section/Section.tsx"],"names":[],"mappings":";;;;AAKA,IAAM,QAAQ,EAAE,EAAA,EAAI,QAAQ,EAAA,EAAI,OAAA,EAAS,IAAI,OAAA,EAAQ;AAS9C,IAAM,OAAA,GAAU,UAAA;AAAA,EACrB,CAAC,EAAE,QAAA,EAAU,KAAA,GAAQ,MAAM,OAAA,GAAU,KAAA,EAAO,EAAA,EAAI,GAAA,GAAM,SAAA,EAAW,SAAA,EAAW,GAAG,KAAA,IAAS,GAAA,KAAQ;AAC9F,IAAA,MAAM,SAAA,GAAY,GAAA;AAElB,IAAA,uBACE,GAAA;AAAA,MAAC,SAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,0BAAA,EAAyB,EAAA;AAAA,QACzB,YAAA,EAAY,KAAA;AAAA,QACZ,SAAA,EAAW,EAAA;AAAA,UACT,MAAM,KAAK,CAAA;AAAA,UACX,OAAA,IAAW,+CAAA;AAAA,UACX;AAAA,SACF;AAAA,QAEC;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,OAAA,CAAQ,WAAA,GAAc,SAAA","file":"chunk-PG3ILQIW.js","sourcesContent":["import { forwardRef } from \"react\";\nimport type * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { SectionProps } from \"./Section.types\";\n\nconst SPACE = { sm: \"py-8\", md: \"py-16\", lg: \"py-24\" } as const;\n\n/**\n * Vertical rhythm between page sections, with the optional opening hairline.\n *\n * Pairs with `Eyebrow`, which is what usually sits at the top of one. The rule\n * is a prop rather than a caller-drawn border because half the gallery styles\n * drew it and half forgot, and an inconsistent rule reads as a bug.\n */\nexport const Section = forwardRef<HTMLElement, SectionProps>(\n ({ children, space = \"md\", divider = false, as: Tag = \"section\", className, ...props }, ref) => {\n const Component = Tag as \"section\";\n\n return (\n <Component\n ref={ref as React.Ref<HTMLElement>}\n {...props}\n data-react-fancy-section=\"\"\n data-space={space}\n className={cn(\n SPACE[space],\n divider && \"border-t border-zinc-200 dark:border-zinc-800\",\n className,\n )}\n >\n {children}\n </Component>\n );\n },\n);\n\nSection.displayName = \"Section\";\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3Z6ALUWP_cjs = require('./chunk-3Z6ALUWP.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var SIZES = {
|
|
8
|
+
sm: "max-w-3xl",
|
|
9
|
+
md: "max-w-5xl",
|
|
10
|
+
lg: "max-w-7xl",
|
|
11
|
+
full: "max-w-none"
|
|
12
|
+
};
|
|
13
|
+
var Container = react.forwardRef(
|
|
14
|
+
({ children, size = "md", as: Tag = "div", className, ...props }, ref) => {
|
|
15
|
+
const Component = Tag;
|
|
16
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17
|
+
Component,
|
|
18
|
+
{
|
|
19
|
+
ref,
|
|
20
|
+
...props,
|
|
21
|
+
"data-react-fancy-container": "",
|
|
22
|
+
"data-size": size,
|
|
23
|
+
className: chunk3Z6ALUWP_cjs.cn("mx-auto w-full px-4 sm:px-6", SIZES[size], className),
|
|
24
|
+
children
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
Container.displayName = "Container";
|
|
30
|
+
|
|
31
|
+
exports.Container = Container;
|
|
32
|
+
//# sourceMappingURL=chunk-SYXLPCQP.cjs.map
|
|
33
|
+
//# sourceMappingURL=chunk-SYXLPCQP.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Container/Container.tsx"],"names":["forwardRef","jsx","cn"],"mappings":";;;;;;AAKA,IAAM,KAAA,GAAQ;AAAA,EACZ,EAAA,EAAI,WAAA;AAAA,EACJ,EAAA,EAAI,WAAA;AAAA,EACJ,EAAA,EAAI,WAAA;AAAA,EACJ,IAAA,EAAM;AACR,CAAA;AASO,IAAM,SAAA,GAAYA,gBAAA;AAAA,EACvB,CAAC,EAAE,QAAA,EAAU,IAAA,GAAO,IAAA,EAAM,EAAA,EAAI,GAAA,GAAM,KAAA,EAAO,SAAA,EAAW,GAAG,KAAA,EAAM,EAAG,GAAA,KAAQ;AAIxE,IAAA,MAAM,SAAA,GAAY,GAAA;AAElB,IAAA,uBACEC,cAAA;AAAA,MAAC,SAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,4BAAA,EAA2B,EAAA;AAAA,QAC3B,WAAA,EAAW,IAAA;AAAA,QACX,WAAWC,oBAAA,CAAG,6BAAA,EAA+B,KAAA,CAAM,IAAI,GAAG,SAAS,CAAA;AAAA,QAElE;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,SAAA,CAAU,WAAA,GAAc,WAAA","file":"chunk-SYXLPCQP.cjs","sourcesContent":["import { forwardRef } from \"react\";\nimport type * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { ContainerProps } from \"./Container.types\";\n\nconst SIZES = {\n sm: \"max-w-3xl\",\n md: \"max-w-5xl\",\n lg: \"max-w-7xl\",\n full: \"max-w-none\",\n} as const;\n\n/**\n * The page's horizontal measure — centred, capped, with gutters.\n *\n * Every Swiss-family gallery style hand-rolled this. What they repeated was not\n * `mx-auto` but the DECISION about how wide the page reads, and twenty copies of\n * a decision drift. This owns the decision and leaves the styling replaceable.\n */\nexport const Container = forwardRef<HTMLElement, ContainerProps>(\n ({ children, size = \"md\", as: Tag = \"div\", className, ...props }, ref) => {\n // `as` makes the element dynamic, so the ref type cannot be known\n // statically. Narrowed at the boundary rather than dragging a full\n // polymorphic-component generic into a layout primitive.\n const Component = Tag as \"div\";\n\n return (\n <Component\n ref={ref as React.Ref<HTMLDivElement>}\n {...props}\n data-react-fancy-container=\"\"\n data-size={size}\n className={cn(\"mx-auto w-full px-4 sm:px-6\", SIZES[size], className)}\n >\n {children}\n </Component>\n );\n },\n);\n\nContainer.displayName = \"Container\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3Z6ALUWP_cjs = require('./chunk-3Z6ALUWP.cjs');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
var SPACE = { sm: "py-8", md: "py-16", lg: "py-24" };
|
|
8
|
+
var Section = react.forwardRef(
|
|
9
|
+
({ children, space = "md", divider = false, as: Tag = "section", className, ...props }, ref) => {
|
|
10
|
+
const Component = Tag;
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
+
Component,
|
|
13
|
+
{
|
|
14
|
+
ref,
|
|
15
|
+
...props,
|
|
16
|
+
"data-react-fancy-section": "",
|
|
17
|
+
"data-space": space,
|
|
18
|
+
className: chunk3Z6ALUWP_cjs.cn(
|
|
19
|
+
SPACE[space],
|
|
20
|
+
divider && "border-t border-zinc-200 dark:border-zinc-800",
|
|
21
|
+
className
|
|
22
|
+
),
|
|
23
|
+
children
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
Section.displayName = "Section";
|
|
29
|
+
|
|
30
|
+
exports.Section = Section;
|
|
31
|
+
//# sourceMappingURL=chunk-VQ4M25U3.cjs.map
|
|
32
|
+
//# sourceMappingURL=chunk-VQ4M25U3.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/Section/Section.tsx"],"names":["forwardRef","jsx","cn"],"mappings":";;;;;;AAKA,IAAM,QAAQ,EAAE,EAAA,EAAI,QAAQ,EAAA,EAAI,OAAA,EAAS,IAAI,OAAA,EAAQ;AAS9C,IAAM,OAAA,GAAUA,gBAAA;AAAA,EACrB,CAAC,EAAE,QAAA,EAAU,KAAA,GAAQ,MAAM,OAAA,GAAU,KAAA,EAAO,EAAA,EAAI,GAAA,GAAM,SAAA,EAAW,SAAA,EAAW,GAAG,KAAA,IAAS,GAAA,KAAQ;AAC9F,IAAA,MAAM,SAAA,GAAY,GAAA;AAElB,IAAA,uBACEC,cAAA;AAAA,MAAC,SAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACC,GAAG,KAAA;AAAA,QACJ,0BAAA,EAAyB,EAAA;AAAA,QACzB,YAAA,EAAY,KAAA;AAAA,QACZ,SAAA,EAAWC,oBAAA;AAAA,UACT,MAAM,KAAK,CAAA;AAAA,UACX,OAAA,IAAW,+CAAA;AAAA,UACX;AAAA,SACF;AAAA,QAEC;AAAA;AAAA,KACH;AAAA,EAEJ;AACF;AAEA,OAAA,CAAQ,WAAA,GAAc,SAAA","file":"chunk-VQ4M25U3.cjs","sourcesContent":["import { forwardRef } from \"react\";\nimport type * as React from \"react\";\nimport { cn } from \"../../utils/cn\";\nimport type { SectionProps } from \"./Section.types\";\n\nconst SPACE = { sm: \"py-8\", md: \"py-16\", lg: \"py-24\" } as const;\n\n/**\n * Vertical rhythm between page sections, with the optional opening hairline.\n *\n * Pairs with `Eyebrow`, which is what usually sits at the top of one. The rule\n * is a prop rather than a caller-drawn border because half the gallery styles\n * drew it and half forgot, and an inconsistent rule reads as a bug.\n */\nexport const Section = forwardRef<HTMLElement, SectionProps>(\n ({ children, space = \"md\", divider = false, as: Tag = \"section\", className, ...props }, ref) => {\n const Component = Tag as \"section\";\n\n return (\n <Component\n ref={ref as React.Ref<HTMLElement>}\n {...props}\n data-react-fancy-section=\"\"\n data-space={space}\n className={cn(\n SPACE[space],\n divider && \"border-t border-zinc-200 dark:border-zinc-800\",\n className,\n )}\n >\n {children}\n </Component>\n );\n },\n);\n\nSection.displayName = \"Section\";\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSYXLPCQP_cjs = require('./chunk-SYXLPCQP.cjs');
|
|
4
|
+
require('./chunk-3Z6ALUWP.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Container", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkSYXLPCQP_cjs.Container; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=container.cjs.map
|
|
13
|
+
//# sourceMappingURL=container.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"container.cjs"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ContainerProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Reading measure. `md` (default) suits body text; `full` removes the cap. */
|
|
7
|
+
size?: "sm" | "md" | "lg" | "full";
|
|
8
|
+
/** The element to render. A container is often a `<main>` or `<header>`. */
|
|
9
|
+
as?: ElementType;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The page's horizontal measure — centred, capped, with gutters.
|
|
14
|
+
*
|
|
15
|
+
* Every Swiss-family gallery style hand-rolled this. What they repeated was not
|
|
16
|
+
* `mx-auto` but the DECISION about how wide the page reads, and twenty copies of
|
|
17
|
+
* a decision drift. This owns the decision and leaves the styling replaceable.
|
|
18
|
+
*/
|
|
19
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
20
|
+
|
|
21
|
+
export { Container, type ContainerProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ContainerProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Reading measure. `md` (default) suits body text; `full` removes the cap. */
|
|
7
|
+
size?: "sm" | "md" | "lg" | "full";
|
|
8
|
+
/** The element to render. A container is often a `<main>` or `<header>`. */
|
|
9
|
+
as?: ElementType;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The page's horizontal measure — centred, capped, with gutters.
|
|
14
|
+
*
|
|
15
|
+
* Every Swiss-family gallery style hand-rolled this. What they repeated was not
|
|
16
|
+
* `mx-auto` but the DECISION about how wide the page reads, and twenty copies of
|
|
17
|
+
* a decision drift. This owns the decision and leaves the styling replaceable.
|
|
18
|
+
*/
|
|
19
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
20
|
+
|
|
21
|
+
export { Container, type ContainerProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"container.js"}
|
package/dist/editor.cjs
CHANGED
|
@@ -5,8 +5,8 @@ require('./chunk-G34OBTU3.cjs');
|
|
|
5
5
|
require('./chunk-T6YELZPJ.cjs');
|
|
6
6
|
require('./chunk-RNHIDZLE.cjs');
|
|
7
7
|
require('./chunk-TXTRTTG7.cjs');
|
|
8
|
-
require('./chunk-DJ3YM72H.cjs');
|
|
9
8
|
require('./chunk-3WGRVDQR.cjs');
|
|
9
|
+
require('./chunk-DJ3YM72H.cjs');
|
|
10
10
|
require('./chunk-BFKCVSNK.cjs');
|
|
11
11
|
require('./chunk-J2DI6RMR.cjs');
|
|
12
12
|
require('./chunk-L3V3BYVS.cjs');
|
package/dist/editor.js
CHANGED
|
@@ -3,8 +3,8 @@ import './chunk-RNPFSVFN.js';
|
|
|
3
3
|
import './chunk-CPY7NHXM.js';
|
|
4
4
|
import './chunk-FVV76TRF.js';
|
|
5
5
|
import './chunk-5U2DZ7AV.js';
|
|
6
|
-
import './chunk-ZLCVKYHY.js';
|
|
7
6
|
import './chunk-CHADHN6M.js';
|
|
7
|
+
import './chunk-ZLCVKYHY.js';
|
|
8
8
|
import './chunk-XJXQG34J.js';
|
|
9
9
|
import './chunk-MQ6VGG62.js';
|
|
10
10
|
import './chunk-NRXK42LO.js';
|
package/dist/grid.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkAY3JABE3_cjs = require('./chunk-AY3JABE3.cjs');
|
|
4
|
+
require('./chunk-3Z6ALUWP.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Grid", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkAY3JABE3_cjs.Grid; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=grid.cjs.map
|
|
13
|
+
//# sourceMappingURL=grid.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"grid.cjs"}
|
package/dist/grid.d.cts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Column count at the widest breakpoint. Default `3`. */
|
|
7
|
+
cols?: number;
|
|
8
|
+
/** Gutter. Default `md`. */
|
|
9
|
+
gap?: "sm" | "md" | "lg";
|
|
10
|
+
/**
|
|
11
|
+
* Collapse toward one column on small screens. Default `true`.
|
|
12
|
+
*
|
|
13
|
+
* Off for grids that are genuinely fixed — a 2-up of icons, say — where
|
|
14
|
+
* collapsing looks broken rather than responsive.
|
|
15
|
+
*/
|
|
16
|
+
responsive?: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The modular grid.
|
|
21
|
+
*
|
|
22
|
+
* Column count goes through a custom property rather than a `grid-cols-N` class
|
|
23
|
+
* because N is a prop: Tailwind cannot generate a class it never sees in source,
|
|
24
|
+
* and every hand-rolled copy in the gallery worked around that differently. The
|
|
25
|
+
* property also gives a design a single place to override the breakpoint
|
|
26
|
+
* behaviour in CSS without fighting a utility.
|
|
27
|
+
*/
|
|
28
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
|
|
30
|
+
export { Grid, type GridProps };
|
package/dist/grid.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface GridProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Column count at the widest breakpoint. Default `3`. */
|
|
7
|
+
cols?: number;
|
|
8
|
+
/** Gutter. Default `md`. */
|
|
9
|
+
gap?: "sm" | "md" | "lg";
|
|
10
|
+
/**
|
|
11
|
+
* Collapse toward one column on small screens. Default `true`.
|
|
12
|
+
*
|
|
13
|
+
* Off for grids that are genuinely fixed — a 2-up of icons, say — where
|
|
14
|
+
* collapsing looks broken rather than responsive.
|
|
15
|
+
*/
|
|
16
|
+
responsive?: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* The modular grid.
|
|
21
|
+
*
|
|
22
|
+
* Column count goes through a custom property rather than a `grid-cols-N` class
|
|
23
|
+
* because N is a prop: Tailwind cannot generate a class it never sees in source,
|
|
24
|
+
* and every hand-rolled copy in the gallery worked around that differently. The
|
|
25
|
+
* property also gives a design a single place to override the breakpoint
|
|
26
|
+
* behaviour in CSS without fighting a utility.
|
|
27
|
+
*/
|
|
28
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
|
|
30
|
+
export { Grid, type GridProps };
|
package/dist/grid.js
ADDED
package/dist/grid.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"grid.js"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkPOZZY3D5_cjs = require('./chunk-POZZY3D5.cjs');
|
|
4
|
+
var chunkPRJSEZ5F_cjs = require('./chunk-PRJSEZ5F.cjs');
|
|
5
|
+
var chunkZFVSEO5Z_cjs = require('./chunk-ZFVSEO5Z.cjs');
|
|
3
6
|
var chunkYXC7QHNT_cjs = require('./chunk-YXC7QHNT.cjs');
|
|
4
7
|
require('./chunk-O5IO7TCO.cjs');
|
|
8
|
+
var chunkUH2YXQ2B_cjs = require('./chunk-UH2YXQ2B.cjs');
|
|
9
|
+
require('./chunk-5FV6GMFP.cjs');
|
|
10
|
+
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
11
|
+
var chunk3SQ34IQC_cjs = require('./chunk-3SQ34IQC.cjs');
|
|
12
|
+
var chunk2G3L4BLU_cjs = require('./chunk-2G3L4BLU.cjs');
|
|
5
13
|
var chunk7C7VF4WY_cjs = require('./chunk-7C7VF4WY.cjs');
|
|
6
14
|
var chunkIGU5YXRV_cjs = require('./chunk-IGU5YXRV.cjs');
|
|
7
15
|
var chunkWXADO5TS_cjs = require('./chunk-WXADO5TS.cjs');
|
|
8
16
|
var chunkPZIAL4OP_cjs = require('./chunk-PZIAL4OP.cjs');
|
|
9
17
|
var chunkA22T6DKO_cjs = require('./chunk-A22T6DKO.cjs');
|
|
10
|
-
var chunkUH2YXQ2B_cjs = require('./chunk-UH2YXQ2B.cjs');
|
|
11
|
-
require('./chunk-5FV6GMFP.cjs');
|
|
12
|
-
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
13
18
|
var chunkKICZTIZL_cjs = require('./chunk-KICZTIZL.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
19
|
+
var chunkANEX75DF_cjs = require('./chunk-ANEX75DF.cjs');
|
|
20
|
+
var chunkGIDW3SUE_cjs = require('./chunk-GIDW3SUE.cjs');
|
|
21
|
+
var chunk5LHG7HEY_cjs = require('./chunk-5LHG7HEY.cjs');
|
|
16
22
|
var chunkTVRCOKJQ_cjs = require('./chunk-TVRCOKJQ.cjs');
|
|
17
23
|
var chunkIF3T3ZCB_cjs = require('./chunk-IF3T3ZCB.cjs');
|
|
18
24
|
var chunkAOOBRPTE_cjs = require('./chunk-AOOBRPTE.cjs');
|
|
19
25
|
var chunkVE3EM4K2_cjs = require('./chunk-VE3EM4K2.cjs');
|
|
20
26
|
var chunkLNWO23PU_cjs = require('./chunk-LNWO23PU.cjs');
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var chunkZFVSEO5Z_cjs = require('./chunk-ZFVSEO5Z.cjs');
|
|
27
|
+
var chunkPH3WGR5P_cjs = require('./chunk-PH3WGR5P.cjs');
|
|
28
|
+
var chunk2CYRAKWI_cjs = require('./chunk-2CYRAKWI.cjs');
|
|
24
29
|
var chunkFA3D4GFC_cjs = require('./chunk-FA3D4GFC.cjs');
|
|
25
30
|
var chunkVBZZ4CMM_cjs = require('./chunk-VBZZ4CMM.cjs');
|
|
26
31
|
var chunkIXHZVFHX_cjs = require('./chunk-IXHZVFHX.cjs');
|
|
27
32
|
var chunk2CNSZCVE_cjs = require('./chunk-2CNSZCVE.cjs');
|
|
33
|
+
var chunkVQ4M25U3_cjs = require('./chunk-VQ4M25U3.cjs');
|
|
28
34
|
var chunkRR7BWUVP_cjs = require('./chunk-RR7BWUVP.cjs');
|
|
29
35
|
var chunkXBBEQLMY_cjs = require('./chunk-XBBEQLMY.cjs');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var chunk5LHG7HEY_cjs = require('./chunk-5LHG7HEY.cjs');
|
|
36
|
+
var chunkI6L7OP7G_cjs = require('./chunk-I6L7OP7G.cjs');
|
|
37
|
+
var chunkB3HVWXIQ_cjs = require('./chunk-B3HVWXIQ.cjs');
|
|
33
38
|
var chunkE7PHL3TD_cjs = require('./chunk-E7PHL3TD.cjs');
|
|
34
39
|
var chunkARSQY4P7_cjs = require('./chunk-ARSQY4P7.cjs');
|
|
35
40
|
var chunk47TFRODY_cjs = require('./chunk-47TFRODY.cjs');
|
|
36
41
|
var chunkPBXYU4EV_cjs = require('./chunk-PBXYU4EV.cjs');
|
|
37
|
-
var
|
|
38
|
-
var
|
|
42
|
+
var chunkBPBI3WWQ_cjs = require('./chunk-BPBI3WWQ.cjs');
|
|
43
|
+
var chunkMGZE2QEM_cjs = require('./chunk-MGZE2QEM.cjs');
|
|
39
44
|
var chunkW2Q4OWHX_cjs = require('./chunk-W2Q4OWHX.cjs');
|
|
40
45
|
var chunk5I4PR2KV_cjs = require('./chunk-5I4PR2KV.cjs');
|
|
41
46
|
require('./chunk-7NLKXBZ2.cjs');
|
|
@@ -49,15 +54,14 @@ var chunkJHEM6IGT_cjs = require('./chunk-JHEM6IGT.cjs');
|
|
|
49
54
|
var chunkEERAEPQO_cjs = require('./chunk-EERAEPQO.cjs');
|
|
50
55
|
var chunkKUKYJZIU_cjs = require('./chunk-KUKYJZIU.cjs');
|
|
51
56
|
var chunkTZKZ2LUF_cjs = require('./chunk-TZKZ2LUF.cjs');
|
|
52
|
-
var
|
|
53
|
-
var chunkB3HVWXIQ_cjs = require('./chunk-B3HVWXIQ.cjs');
|
|
57
|
+
var chunk5UOQVGZC_cjs = require('./chunk-5UOQVGZC.cjs');
|
|
54
58
|
var chunk4DQ6HX27_cjs = require('./chunk-4DQ6HX27.cjs');
|
|
59
|
+
var chunkAY3JABE3_cjs = require('./chunk-AY3JABE3.cjs');
|
|
55
60
|
var chunkRA3P63XW_cjs = require('./chunk-RA3P63XW.cjs');
|
|
56
61
|
var chunkAC7M7JDO_cjs = require('./chunk-AC7M7JDO.cjs');
|
|
57
62
|
var chunk6L6LI2RL_cjs = require('./chunk-6L6LI2RL.cjs');
|
|
58
63
|
var chunkVNDOT3NK_cjs = require('./chunk-VNDOT3NK.cjs');
|
|
59
|
-
var
|
|
60
|
-
var chunkMGZE2QEM_cjs = require('./chunk-MGZE2QEM.cjs');
|
|
64
|
+
var chunk5HOQ2PHR_cjs = require('./chunk-5HOQ2PHR.cjs');
|
|
61
65
|
var chunkF6NEPU67_cjs = require('./chunk-F6NEPU67.cjs');
|
|
62
66
|
var chunkORFHF6PT_cjs = require('./chunk-ORFHF6PT.cjs');
|
|
63
67
|
var chunkWT72KW5M_cjs = require('./chunk-WT72KW5M.cjs');
|
|
@@ -67,7 +71,6 @@ var chunkMDUSUJWY_cjs = require('./chunk-MDUSUJWY.cjs');
|
|
|
67
71
|
var chunk6FBFE66M_cjs = require('./chunk-6FBFE66M.cjs');
|
|
68
72
|
var chunkIJ4I55QQ_cjs = require('./chunk-IJ4I55QQ.cjs');
|
|
69
73
|
var chunkHBFVOHQC_cjs = require('./chunk-HBFVOHQC.cjs');
|
|
70
|
-
var chunk5UOQVGZC_cjs = require('./chunk-5UOQVGZC.cjs');
|
|
71
74
|
var chunkAVR5P4GA_cjs = require('./chunk-AVR5P4GA.cjs');
|
|
72
75
|
var chunkT6IXZZBQ_cjs = require('./chunk-T6IXZZBQ.cjs');
|
|
73
76
|
require('./chunk-AIA5UNQ5.cjs');
|
|
@@ -75,11 +78,11 @@ var chunkRNHIDZLE_cjs = require('./chunk-RNHIDZLE.cjs');
|
|
|
75
78
|
var chunkDOSSIU6S_cjs = require('./chunk-DOSSIU6S.cjs');
|
|
76
79
|
var chunkLZL2KD4P_cjs = require('./chunk-LZL2KD4P.cjs');
|
|
77
80
|
var chunkTXTRTTG7_cjs = require('./chunk-TXTRTTG7.cjs');
|
|
81
|
+
var chunk3WGRVDQR_cjs = require('./chunk-3WGRVDQR.cjs');
|
|
78
82
|
var chunkSCPHSBBU_cjs = require('./chunk-SCPHSBBU.cjs');
|
|
83
|
+
var chunkSYXLPCQP_cjs = require('./chunk-SYXLPCQP.cjs');
|
|
79
84
|
require('./chunk-S3TRSECD.cjs');
|
|
80
85
|
var chunkDJ3YM72H_cjs = require('./chunk-DJ3YM72H.cjs');
|
|
81
|
-
var chunk5HOQ2PHR_cjs = require('./chunk-5HOQ2PHR.cjs');
|
|
82
|
-
var chunk3WGRVDQR_cjs = require('./chunk-3WGRVDQR.cjs');
|
|
83
86
|
var chunk2S7WRR5P_cjs = require('./chunk-2S7WRR5P.cjs');
|
|
84
87
|
var chunkDWRMC2FN_cjs = require('./chunk-DWRMC2FN.cjs');
|
|
85
88
|
var chunk6GC5DMOK_cjs = require('./chunk-6GC5DMOK.cjs');
|
|
@@ -107,6 +110,22 @@ var chunk3Z6ALUWP_cjs = require('./chunk-3Z6ALUWP.cjs');
|
|
|
107
110
|
|
|
108
111
|
|
|
109
112
|
|
|
113
|
+
Object.defineProperty(exports, "TimePicker", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkPOZZY3D5_cjs.TimePicker; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "Timeline", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkPRJSEZ5F_cjs.Timeline; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "Toast", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunkZFVSEO5Z_cjs.Toast; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "useToast", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunkZFVSEO5Z_cjs.useToast; }
|
|
128
|
+
});
|
|
110
129
|
Object.defineProperty(exports, "TreeNav", {
|
|
111
130
|
enumerable: true,
|
|
112
131
|
get: function () { return chunkYXC7QHNT_cjs.TreeNav; }
|
|
@@ -115,6 +134,26 @@ Object.defineProperty(exports, "useTreeNav", {
|
|
|
115
134
|
enumerable: true,
|
|
116
135
|
get: function () { return chunkYXC7QHNT_cjs.useTreeNav; }
|
|
117
136
|
});
|
|
137
|
+
Object.defineProperty(exports, "Switch", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkUH2YXQ2B_cjs.Switch; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "Form", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunk6MDZQIMZ_cjs.Form; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "FormProvider", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunk6MDZQIMZ_cjs.FormProvider; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "CheckboxGroup", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return chunk3SQ34IQC_cjs.CheckboxGroup; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return chunk2G3L4BLU_cjs.DatePicker; }
|
|
156
|
+
});
|
|
118
157
|
Object.defineProperty(exports, "Input", {
|
|
119
158
|
enumerable: true,
|
|
120
159
|
get: function () { return chunk7C7VF4WY_cjs.Input; }
|
|
@@ -135,29 +174,25 @@ Object.defineProperty(exports, "Slider", {
|
|
|
135
174
|
enumerable: true,
|
|
136
175
|
get: function () { return chunkA22T6DKO_cjs.Slider; }
|
|
137
176
|
});
|
|
138
|
-
Object.defineProperty(exports, "
|
|
139
|
-
enumerable: true,
|
|
140
|
-
get: function () { return chunkUH2YXQ2B_cjs.Switch; }
|
|
141
|
-
});
|
|
142
|
-
Object.defineProperty(exports, "Form", {
|
|
177
|
+
Object.defineProperty(exports, "Checkbox", {
|
|
143
178
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkKICZTIZL_cjs.Checkbox; }
|
|
145
180
|
});
|
|
146
|
-
Object.defineProperty(exports, "
|
|
181
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
147
182
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkANEX75DF_cjs.Skeleton; }
|
|
149
184
|
});
|
|
150
|
-
Object.defineProperty(exports, "
|
|
185
|
+
Object.defineProperty(exports, "Stat", {
|
|
151
186
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkGIDW3SUE_cjs.Stat; }
|
|
153
188
|
});
|
|
154
|
-
Object.defineProperty(exports, "
|
|
189
|
+
Object.defineProperty(exports, "StatBand", {
|
|
155
190
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkGIDW3SUE_cjs.StatBand; }
|
|
157
192
|
});
|
|
158
|
-
Object.defineProperty(exports, "
|
|
193
|
+
Object.defineProperty(exports, "StatList", {
|
|
159
194
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunk5LHG7HEY_cjs.StatList; }
|
|
161
196
|
});
|
|
162
197
|
Object.defineProperty(exports, "StickyNote", {
|
|
163
198
|
enumerable: true,
|
|
@@ -183,21 +218,13 @@ Object.defineProperty(exports, "TimeGrid", {
|
|
|
183
218
|
enumerable: true,
|
|
184
219
|
get: function () { return chunkLNWO23PU_cjs.TimeGrid; }
|
|
185
220
|
});
|
|
186
|
-
Object.defineProperty(exports, "
|
|
187
|
-
enumerable: true,
|
|
188
|
-
get: function () { return chunkPOZZY3D5_cjs.TimePicker; }
|
|
189
|
-
});
|
|
190
|
-
Object.defineProperty(exports, "Timeline", {
|
|
191
|
-
enumerable: true,
|
|
192
|
-
get: function () { return chunkPRJSEZ5F_cjs.Timeline; }
|
|
193
|
-
});
|
|
194
|
-
Object.defineProperty(exports, "Toast", {
|
|
221
|
+
Object.defineProperty(exports, "Profile", {
|
|
195
222
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkPH3WGR5P_cjs.Profile; }
|
|
197
224
|
});
|
|
198
|
-
Object.defineProperty(exports, "
|
|
225
|
+
Object.defineProperty(exports, "Progress", {
|
|
199
226
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunk2CYRAKWI_cjs.Progress; }
|
|
201
228
|
});
|
|
202
229
|
Object.defineProperty(exports, "PromptInput", {
|
|
203
230
|
enumerable: true,
|
|
@@ -215,6 +242,10 @@ Object.defineProperty(exports, "ReasonTag", {
|
|
|
215
242
|
enumerable: true,
|
|
216
243
|
get: function () { return chunk2CNSZCVE_cjs.ReasonTag; }
|
|
217
244
|
});
|
|
245
|
+
Object.defineProperty(exports, "Section", {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () { return chunkVQ4M25U3_cjs.Section; }
|
|
248
|
+
});
|
|
218
249
|
Object.defineProperty(exports, "Separator", {
|
|
219
250
|
enumerable: true,
|
|
220
251
|
get: function () { return chunkRR7BWUVP_cjs.Separator; }
|
|
@@ -227,21 +258,17 @@ Object.defineProperty(exports, "useSidebar", {
|
|
|
227
258
|
enumerable: true,
|
|
228
259
|
get: function () { return chunkXBBEQLMY_cjs.useSidebar; }
|
|
229
260
|
});
|
|
230
|
-
Object.defineProperty(exports, "
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () { return chunkANEX75DF_cjs.Skeleton; }
|
|
233
|
-
});
|
|
234
|
-
Object.defineProperty(exports, "Stat", {
|
|
261
|
+
Object.defineProperty(exports, "MoodMeter", {
|
|
235
262
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkI6L7OP7G_cjs.MoodMeter; }
|
|
237
264
|
});
|
|
238
|
-
Object.defineProperty(exports, "
|
|
265
|
+
Object.defineProperty(exports, "Navbar", {
|
|
239
266
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkB3HVWXIQ_cjs.Navbar; }
|
|
241
268
|
});
|
|
242
|
-
Object.defineProperty(exports, "
|
|
269
|
+
Object.defineProperty(exports, "useNavbar", {
|
|
243
270
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkB3HVWXIQ_cjs.useNavbar; }
|
|
245
272
|
});
|
|
246
273
|
Object.defineProperty(exports, "OtpInput", {
|
|
247
274
|
enumerable: true,
|
|
@@ -263,13 +290,17 @@ Object.defineProperty(exports, "usePopover", {
|
|
|
263
290
|
enumerable: true,
|
|
264
291
|
get: function () { return chunkPBXYU4EV_cjs.usePopover; }
|
|
265
292
|
});
|
|
266
|
-
Object.defineProperty(exports, "
|
|
293
|
+
Object.defineProperty(exports, "Kanban", {
|
|
267
294
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkBPBI3WWQ_cjs.Kanban; }
|
|
269
296
|
});
|
|
270
|
-
Object.defineProperty(exports, "
|
|
297
|
+
Object.defineProperty(exports, "useKanban", {
|
|
271
298
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkBPBI3WWQ_cjs.useKanban; }
|
|
300
|
+
});
|
|
301
|
+
Object.defineProperty(exports, "Kbd", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function () { return chunkMGZE2QEM_cjs.Kbd; }
|
|
273
304
|
});
|
|
274
305
|
Object.defineProperty(exports, "MagicWand", {
|
|
275
306
|
enumerable: true,
|
|
@@ -331,17 +362,13 @@ Object.defineProperty(exports, "useModal", {
|
|
|
331
362
|
enumerable: true,
|
|
332
363
|
get: function () { return chunkTZKZ2LUF_cjs.useModal; }
|
|
333
364
|
});
|
|
334
|
-
Object.defineProperty(exports, "
|
|
335
|
-
enumerable: true,
|
|
336
|
-
get: function () { return chunkI6L7OP7G_cjs.MoodMeter; }
|
|
337
|
-
});
|
|
338
|
-
Object.defineProperty(exports, "Navbar", {
|
|
365
|
+
Object.defineProperty(exports, "FileBrowser", {
|
|
339
366
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
367
|
+
get: function () { return chunk5UOQVGZC_cjs.FileBrowser; }
|
|
341
368
|
});
|
|
342
|
-
Object.defineProperty(exports, "
|
|
369
|
+
Object.defineProperty(exports, "useFileBrowser", {
|
|
343
370
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
371
|
+
get: function () { return chunk5UOQVGZC_cjs.useFileBrowser; }
|
|
345
372
|
});
|
|
346
373
|
Object.defineProperty(exports, "FileUpload", {
|
|
347
374
|
enumerable: true,
|
|
@@ -351,6 +378,10 @@ Object.defineProperty(exports, "useFileUpload", {
|
|
|
351
378
|
enumerable: true,
|
|
352
379
|
get: function () { return chunk4DQ6HX27_cjs.useFileUpload; }
|
|
353
380
|
});
|
|
381
|
+
Object.defineProperty(exports, "Grid", {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () { return chunkAY3JABE3_cjs.Grid; }
|
|
384
|
+
});
|
|
354
385
|
Object.defineProperty(exports, "Heading", {
|
|
355
386
|
enumerable: true,
|
|
356
387
|
get: function () { return chunkRA3P63XW_cjs.Heading; }
|
|
@@ -383,17 +414,13 @@ Object.defineProperty(exports, "textareaAdapter", {
|
|
|
383
414
|
enumerable: true,
|
|
384
415
|
get: function () { return chunkVNDOT3NK_cjs.textareaAdapter; }
|
|
385
416
|
});
|
|
386
|
-
Object.defineProperty(exports, "
|
|
387
|
-
enumerable: true,
|
|
388
|
-
get: function () { return chunkBPBI3WWQ_cjs.Kanban; }
|
|
389
|
-
});
|
|
390
|
-
Object.defineProperty(exports, "useKanban", {
|
|
417
|
+
Object.defineProperty(exports, "ContextMenu", {
|
|
391
418
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
419
|
+
get: function () { return chunk5HOQ2PHR_cjs.ContextMenu; }
|
|
393
420
|
});
|
|
394
|
-
Object.defineProperty(exports, "
|
|
421
|
+
Object.defineProperty(exports, "useContextMenu", {
|
|
395
422
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
423
|
+
get: function () { return chunk5HOQ2PHR_cjs.useContextMenu; }
|
|
397
424
|
});
|
|
398
425
|
Object.defineProperty(exports, "Drawer", {
|
|
399
426
|
enumerable: true,
|
|
@@ -447,14 +474,6 @@ Object.defineProperty(exports, "FauxClient", {
|
|
|
447
474
|
enumerable: true,
|
|
448
475
|
get: function () { return chunkHBFVOHQC_cjs.FauxClient; }
|
|
449
476
|
});
|
|
450
|
-
Object.defineProperty(exports, "FileBrowser", {
|
|
451
|
-
enumerable: true,
|
|
452
|
-
get: function () { return chunk5UOQVGZC_cjs.FileBrowser; }
|
|
453
|
-
});
|
|
454
|
-
Object.defineProperty(exports, "useFileBrowser", {
|
|
455
|
-
enumerable: true,
|
|
456
|
-
get: function () { return chunk5UOQVGZC_cjs.useFileBrowser; }
|
|
457
|
-
});
|
|
458
477
|
Object.defineProperty(exports, "Chart", {
|
|
459
478
|
enumerable: true,
|
|
460
479
|
get: function () { return chunkAVR5P4GA_cjs.Chart; }
|
|
@@ -483,10 +502,18 @@ Object.defineProperty(exports, "useFocusTrap", {
|
|
|
483
502
|
enumerable: true,
|
|
484
503
|
get: function () { return chunkTXTRTTG7_cjs.useFocusTrap; }
|
|
485
504
|
});
|
|
505
|
+
Object.defineProperty(exports, "useAnimation", {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
get: function () { return chunk3WGRVDQR_cjs.useAnimation; }
|
|
508
|
+
});
|
|
486
509
|
Object.defineProperty(exports, "Composer", {
|
|
487
510
|
enumerable: true,
|
|
488
511
|
get: function () { return chunkSCPHSBBU_cjs.Composer; }
|
|
489
512
|
});
|
|
513
|
+
Object.defineProperty(exports, "Container", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function () { return chunkSYXLPCQP_cjs.Container; }
|
|
516
|
+
});
|
|
490
517
|
Object.defineProperty(exports, "ContentRenderer", {
|
|
491
518
|
enumerable: true,
|
|
492
519
|
get: function () { return chunkDJ3YM72H_cjs.ContentRenderer; }
|
|
@@ -499,18 +526,6 @@ Object.defineProperty(exports, "registerExtensions", {
|
|
|
499
526
|
enumerable: true,
|
|
500
527
|
get: function () { return chunkDJ3YM72H_cjs.registerExtensions; }
|
|
501
528
|
});
|
|
502
|
-
Object.defineProperty(exports, "ContextMenu", {
|
|
503
|
-
enumerable: true,
|
|
504
|
-
get: function () { return chunk5HOQ2PHR_cjs.ContextMenu; }
|
|
505
|
-
});
|
|
506
|
-
Object.defineProperty(exports, "useContextMenu", {
|
|
507
|
-
enumerable: true,
|
|
508
|
-
get: function () { return chunk5HOQ2PHR_cjs.useContextMenu; }
|
|
509
|
-
});
|
|
510
|
-
Object.defineProperty(exports, "useAnimation", {
|
|
511
|
-
enumerable: true,
|
|
512
|
-
get: function () { return chunk3WGRVDQR_cjs.useAnimation; }
|
|
513
|
-
});
|
|
514
529
|
Object.defineProperty(exports, "Badge", {
|
|
515
530
|
enumerable: true,
|
|
516
531
|
get: function () { return chunk2S7WRR5P_cjs.Badge; }
|
package/dist/index.d.cts
CHANGED
|
@@ -29,6 +29,9 @@ export { Skeleton, SkeletonProps } from './skeleton.cjs';
|
|
|
29
29
|
export { Progress, ProgressProps } from './progress.cjs';
|
|
30
30
|
export { Brand, BrandMark, BrandMarkProps, BrandProps } from './brand.cjs';
|
|
31
31
|
export { Eyebrow, EyebrowProps } from './eyebrow.cjs';
|
|
32
|
+
export { Container, ContainerProps } from './container.cjs';
|
|
33
|
+
export { Section, SectionProps } from './section.cjs';
|
|
34
|
+
export { Grid, GridProps } from './grid.cjs';
|
|
32
35
|
export { StatList, StatListItem, StatListProps } from './stat-list.cjs';
|
|
33
36
|
export { Kbd, KbdProps } from './kbd.cjs';
|
|
34
37
|
export { IndexList, IndexListItem, IndexListProps } from './index-list.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,9 @@ export { Skeleton, SkeletonProps } from './skeleton.js';
|
|
|
29
29
|
export { Progress, ProgressProps } from './progress.js';
|
|
30
30
|
export { Brand, BrandMark, BrandMarkProps, BrandProps } from './brand.js';
|
|
31
31
|
export { Eyebrow, EyebrowProps } from './eyebrow.js';
|
|
32
|
+
export { Container, ContainerProps } from './container.js';
|
|
33
|
+
export { Section, SectionProps } from './section.js';
|
|
34
|
+
export { Grid, GridProps } from './grid.js';
|
|
32
35
|
export { StatList, StatListItem, StatListProps } from './stat-list.js';
|
|
33
36
|
export { Kbd, KbdProps } from './kbd.js';
|
|
34
37
|
export { IndexList, IndexListItem, IndexListProps } from './index-list.js';
|
package/dist/index.js
CHANGED
|
@@ -1,39 +1,44 @@
|
|
|
1
|
+
export { TimePicker } from './chunk-SKI33QNW.js';
|
|
2
|
+
export { Timeline } from './chunk-ZWOEKDNI.js';
|
|
3
|
+
export { Toast, useToast } from './chunk-MZIU27UY.js';
|
|
1
4
|
export { TreeNav, useTreeNav } from './chunk-7XDKIZQE.js';
|
|
2
5
|
import './chunk-VXHFR5MV.js';
|
|
6
|
+
export { Switch } from './chunk-C4Z4S3CX.js';
|
|
7
|
+
import './chunk-ORCXPDDG.js';
|
|
8
|
+
export { Form, FormProvider } from './chunk-PQWQ5K6J.js';
|
|
9
|
+
export { CheckboxGroup } from './chunk-IE4CM2SN.js';
|
|
10
|
+
export { DatePicker } from './chunk-MILTPAF6.js';
|
|
3
11
|
export { Input } from './chunk-C5AZNBVB.js';
|
|
4
12
|
export { MultiSwitch } from './chunk-ZT36VWIA.js';
|
|
5
13
|
export { RadioGroup } from './chunk-JYKZKSZJ.js';
|
|
6
14
|
export { Select } from './chunk-ECZ66DKF.js';
|
|
7
15
|
export { Slider } from './chunk-X36ZGYTF.js';
|
|
8
|
-
export { Switch } from './chunk-C4Z4S3CX.js';
|
|
9
|
-
import './chunk-ORCXPDDG.js';
|
|
10
|
-
export { Form, FormProvider } from './chunk-PQWQ5K6J.js';
|
|
11
16
|
export { Checkbox } from './chunk-CS4GQXYY.js';
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
17
|
+
export { Skeleton } from './chunk-AGDW5ENV.js';
|
|
18
|
+
export { Stat, StatBand } from './chunk-ESKVRRVA.js';
|
|
19
|
+
export { StatList } from './chunk-3F66SAE7.js';
|
|
14
20
|
export { StickyNote } from './chunk-HAOYXGGJ.js';
|
|
15
21
|
export { Table } from './chunk-GKPCXPCD.js';
|
|
16
22
|
export { Tabs, useTabs } from './chunk-5OC6DUYT.js';
|
|
17
23
|
export { Text } from './chunk-UWVVEB2N.js';
|
|
18
24
|
export { TimeGrid } from './chunk-YHXE274U.js';
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export { Toast, useToast } from './chunk-MZIU27UY.js';
|
|
25
|
+
export { Profile } from './chunk-5QL7XT3N.js';
|
|
26
|
+
export { Progress } from './chunk-M24NCWBU.js';
|
|
22
27
|
export { PromptInput } from './chunk-K2DZEYBF.js';
|
|
23
28
|
export { Tooltip } from './chunk-E4LFD44D.js';
|
|
24
29
|
export { PullQuote } from './chunk-YCZN4FWI.js';
|
|
25
30
|
export { ReasonTag } from './chunk-GZIUE4DE.js';
|
|
31
|
+
export { Section } from './chunk-PG3ILQIW.js';
|
|
26
32
|
export { Separator } from './chunk-QFFC2DKK.js';
|
|
27
33
|
export { Sidebar, useSidebar } from './chunk-N7WQ53US.js';
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export { StatList } from './chunk-3F66SAE7.js';
|
|
34
|
+
export { MoodMeter } from './chunk-32AJIHBZ.js';
|
|
35
|
+
export { Navbar, useNavbar } from './chunk-D4WM23Y4.js';
|
|
31
36
|
export { OtpInput } from './chunk-UCYAHLGM.js';
|
|
32
37
|
export { Pagination } from './chunk-YT6N44Z3.js';
|
|
33
38
|
export { Pillbox } from './chunk-6H6OYLMJ.js';
|
|
34
39
|
export { Popover, usePopover } from './chunk-JCOBDDHF.js';
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
40
|
+
export { Kanban, useKanban } from './chunk-YT42J4VQ.js';
|
|
41
|
+
export { Kbd } from './chunk-PYRMH34E.js';
|
|
37
42
|
export { MagicWand } from './chunk-7AFEKDUS.js';
|
|
38
43
|
export { Textarea } from './chunk-4UA45GB4.js';
|
|
39
44
|
import './chunk-D7NAXQ2N.js';
|
|
@@ -47,15 +52,14 @@ export { PdfViewer } from './chunk-DZD2RJVD.js';
|
|
|
47
52
|
export { Menu, useMenu } from './chunk-IGYIMS6J.js';
|
|
48
53
|
export { MobileMenu, useMobileMenu } from './chunk-F6SCZCJE.js';
|
|
49
54
|
export { Modal, useModal } from './chunk-MYF2PDTU.js';
|
|
50
|
-
export {
|
|
51
|
-
export { Navbar, useNavbar } from './chunk-D4WM23Y4.js';
|
|
55
|
+
export { FileBrowser, useFileBrowser } from './chunk-BYIY6BH2.js';
|
|
52
56
|
export { FileUpload, useFileUpload } from './chunk-ZNTEM7F2.js';
|
|
57
|
+
export { Grid } from './chunk-MKFWFZVX.js';
|
|
53
58
|
export { Heading } from './chunk-FCAV5IFW.js';
|
|
54
59
|
export { ImageViewer } from './chunk-A3CNYKT3.js';
|
|
55
60
|
export { IndexList } from './chunk-CFBK5RIZ.js';
|
|
56
61
|
export { InputTag, contentEditableAdapter, controlledAdapter, inputAdapter, textareaAdapter } from './chunk-G2W7B3OG.js';
|
|
57
|
-
export {
|
|
58
|
-
export { Kbd } from './chunk-PYRMH34E.js';
|
|
62
|
+
export { ContextMenu, useContextMenu } from './chunk-NLJGNPNN.js';
|
|
59
63
|
export { Drawer, useDrawer } from './chunk-PRDWJ4AR.js';
|
|
60
64
|
export { Dropdown, useDropdown } from './chunk-JIYP73OJ.js';
|
|
61
65
|
export { Editor, useEditor } from './chunk-RID7CYGD.js';
|
|
@@ -65,7 +69,6 @@ export { Emoji } from './chunk-O4MKOSU2.js';
|
|
|
65
69
|
export { EmojiSelect } from './chunk-GKGL7F36.js';
|
|
66
70
|
export { Eyebrow } from './chunk-LPQVXTKV.js';
|
|
67
71
|
export { FauxClient } from './chunk-DV4IMAQW.js';
|
|
68
|
-
export { FileBrowser, useFileBrowser } from './chunk-BYIY6BH2.js';
|
|
69
72
|
export { Chart } from './chunk-PVWPZYTR.js';
|
|
70
73
|
export { ChatDrawer } from './chunk-BEGDL2CD.js';
|
|
71
74
|
import './chunk-TJ66S5K6.js';
|
|
@@ -73,11 +76,11 @@ export { CodeView } from './chunk-FVV76TRF.js';
|
|
|
73
76
|
export { ColorPicker } from './chunk-O432BDEO.js';
|
|
74
77
|
export { Command, useCommand } from './chunk-DTPGJNOI.js';
|
|
75
78
|
export { useFocusTrap } from './chunk-5U2DZ7AV.js';
|
|
79
|
+
export { useAnimation } from './chunk-CHADHN6M.js';
|
|
76
80
|
export { Composer } from './chunk-R55HE5C5.js';
|
|
81
|
+
export { Container } from './chunk-DBJWHDWP.js';
|
|
77
82
|
import './chunk-AUTW5O4W.js';
|
|
78
83
|
export { ContentRenderer, registerExtension, registerExtensions } from './chunk-ZLCVKYHY.js';
|
|
79
|
-
export { ContextMenu, useContextMenu } from './chunk-NLJGNPNN.js';
|
|
80
|
-
export { useAnimation } from './chunk-CHADHN6M.js';
|
|
81
84
|
export { Badge } from './chunk-NPKE2IX6.js';
|
|
82
85
|
export { Brand, BrandMark } from './chunk-XMBOZ73D.js';
|
|
83
86
|
export { Breadcrumbs } from './chunk-RES2GOQQ.js';
|
package/dist/inputs.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-O5IO7TCO.cjs');
|
|
4
|
+
var chunkUH2YXQ2B_cjs = require('./chunk-UH2YXQ2B.cjs');
|
|
5
|
+
require('./chunk-5FV6GMFP.cjs');
|
|
6
|
+
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
7
|
+
var chunk3SQ34IQC_cjs = require('./chunk-3SQ34IQC.cjs');
|
|
8
|
+
var chunk2G3L4BLU_cjs = require('./chunk-2G3L4BLU.cjs');
|
|
4
9
|
var chunk7C7VF4WY_cjs = require('./chunk-7C7VF4WY.cjs');
|
|
5
10
|
var chunkIGU5YXRV_cjs = require('./chunk-IGU5YXRV.cjs');
|
|
6
11
|
var chunkWXADO5TS_cjs = require('./chunk-WXADO5TS.cjs');
|
|
7
12
|
var chunkPZIAL4OP_cjs = require('./chunk-PZIAL4OP.cjs');
|
|
8
13
|
var chunkA22T6DKO_cjs = require('./chunk-A22T6DKO.cjs');
|
|
9
|
-
var chunkUH2YXQ2B_cjs = require('./chunk-UH2YXQ2B.cjs');
|
|
10
|
-
require('./chunk-5FV6GMFP.cjs');
|
|
11
|
-
var chunk6MDZQIMZ_cjs = require('./chunk-6MDZQIMZ.cjs');
|
|
12
14
|
var chunkKICZTIZL_cjs = require('./chunk-KICZTIZL.cjs');
|
|
13
|
-
var chunk3SQ34IQC_cjs = require('./chunk-3SQ34IQC.cjs');
|
|
14
|
-
var chunk2G3L4BLU_cjs = require('./chunk-2G3L4BLU.cjs');
|
|
15
15
|
var chunk5I4PR2KV_cjs = require('./chunk-5I4PR2KV.cjs');
|
|
16
16
|
require('./chunk-7NLKXBZ2.cjs');
|
|
17
17
|
var chunk6BW5BQMN_cjs = require('./chunk-6BW5BQMN.cjs');
|
|
@@ -28,6 +28,26 @@ require('./chunk-3Z6ALUWP.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
Object.defineProperty(exports, "Switch", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkUH2YXQ2B_cjs.Switch; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "Form", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunk6MDZQIMZ_cjs.Form; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "FormProvider", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunk6MDZQIMZ_cjs.FormProvider; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "CheckboxGroup", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunk3SQ34IQC_cjs.CheckboxGroup; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunk2G3L4BLU_cjs.DatePicker; }
|
|
50
|
+
});
|
|
31
51
|
Object.defineProperty(exports, "Input", {
|
|
32
52
|
enumerable: true,
|
|
33
53
|
get: function () { return chunk7C7VF4WY_cjs.Input; }
|
|
@@ -48,30 +68,10 @@ Object.defineProperty(exports, "Slider", {
|
|
|
48
68
|
enumerable: true,
|
|
49
69
|
get: function () { return chunkA22T6DKO_cjs.Slider; }
|
|
50
70
|
});
|
|
51
|
-
Object.defineProperty(exports, "Switch", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () { return chunkUH2YXQ2B_cjs.Switch; }
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "Form", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () { return chunk6MDZQIMZ_cjs.Form; }
|
|
58
|
-
});
|
|
59
|
-
Object.defineProperty(exports, "FormProvider", {
|
|
60
|
-
enumerable: true,
|
|
61
|
-
get: function () { return chunk6MDZQIMZ_cjs.FormProvider; }
|
|
62
|
-
});
|
|
63
71
|
Object.defineProperty(exports, "Checkbox", {
|
|
64
72
|
enumerable: true,
|
|
65
73
|
get: function () { return chunkKICZTIZL_cjs.Checkbox; }
|
|
66
74
|
});
|
|
67
|
-
Object.defineProperty(exports, "CheckboxGroup", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () { return chunk3SQ34IQC_cjs.CheckboxGroup; }
|
|
70
|
-
});
|
|
71
|
-
Object.defineProperty(exports, "DatePicker", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
get: function () { return chunk2G3L4BLU_cjs.DatePicker; }
|
|
74
|
-
});
|
|
75
75
|
Object.defineProperty(exports, "Textarea", {
|
|
76
76
|
enumerable: true,
|
|
77
77
|
get: function () { return chunk5I4PR2KV_cjs.Textarea; }
|
package/dist/inputs.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './chunk-VXHFR5MV.js';
|
|
2
|
+
export { Switch } from './chunk-C4Z4S3CX.js';
|
|
3
|
+
import './chunk-ORCXPDDG.js';
|
|
4
|
+
export { Form, FormProvider } from './chunk-PQWQ5K6J.js';
|
|
5
|
+
export { CheckboxGroup } from './chunk-IE4CM2SN.js';
|
|
6
|
+
export { DatePicker } from './chunk-MILTPAF6.js';
|
|
2
7
|
export { Input } from './chunk-C5AZNBVB.js';
|
|
3
8
|
export { MultiSwitch } from './chunk-ZT36VWIA.js';
|
|
4
9
|
export { RadioGroup } from './chunk-JYKZKSZJ.js';
|
|
5
10
|
export { Select } from './chunk-ECZ66DKF.js';
|
|
6
11
|
export { Slider } from './chunk-X36ZGYTF.js';
|
|
7
|
-
export { Switch } from './chunk-C4Z4S3CX.js';
|
|
8
|
-
import './chunk-ORCXPDDG.js';
|
|
9
|
-
export { Form, FormProvider } from './chunk-PQWQ5K6J.js';
|
|
10
12
|
export { Checkbox } from './chunk-CS4GQXYY.js';
|
|
11
|
-
export { CheckboxGroup } from './chunk-IE4CM2SN.js';
|
|
12
|
-
export { DatePicker } from './chunk-MILTPAF6.js';
|
|
13
13
|
export { Textarea } from './chunk-4UA45GB4.js';
|
|
14
14
|
import './chunk-D7NAXQ2N.js';
|
|
15
15
|
export { DisplayValue } from './chunk-K7JGOQJG.js';
|
package/dist/section.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVQ4M25U3_cjs = require('./chunk-VQ4M25U3.cjs');
|
|
4
|
+
require('./chunk-3Z6ALUWP.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "Section", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkVQ4M25U3_cjs.Section; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=section.cjs.map
|
|
13
|
+
//# sourceMappingURL=section.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"section.cjs"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Vertical rhythm between sections. Default `md`. */
|
|
7
|
+
space?: "sm" | "md" | "lg";
|
|
8
|
+
/** Draw the hairline rule that opens the section. */
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
/** The element to render. Defaults to `section`. */
|
|
11
|
+
as?: ElementType;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Vertical rhythm between page sections, with the optional opening hairline.
|
|
16
|
+
*
|
|
17
|
+
* Pairs with `Eyebrow`, which is what usually sits at the top of one. The rule
|
|
18
|
+
* is a prop rather than a caller-drawn border because half the gallery styles
|
|
19
|
+
* drew it and half forgot, and an inconsistent rule reads as a bug.
|
|
20
|
+
*/
|
|
21
|
+
declare const Section: react.ForwardRefExoticComponent<SectionProps & react.RefAttributes<HTMLElement>>;
|
|
22
|
+
|
|
23
|
+
export { Section, type SectionProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
interface SectionProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Vertical rhythm between sections. Default `md`. */
|
|
7
|
+
space?: "sm" | "md" | "lg";
|
|
8
|
+
/** Draw the hairline rule that opens the section. */
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
/** The element to render. Defaults to `section`. */
|
|
11
|
+
as?: ElementType;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Vertical rhythm between page sections, with the optional opening hairline.
|
|
16
|
+
*
|
|
17
|
+
* Pairs with `Eyebrow`, which is what usually sits at the top of one. The rule
|
|
18
|
+
* is a prop rather than a caller-drawn border because half the gallery styles
|
|
19
|
+
* drew it and half forgot, and an inconsistent rule reads as a bug.
|
|
20
|
+
*/
|
|
21
|
+
declare const Section: react.ForwardRefExoticComponent<SectionProps & react.RefAttributes<HTMLElement>>;
|
|
22
|
+
|
|
23
|
+
export { Section, type SectionProps };
|
package/dist/section.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"section.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-academy/react-fancy",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"description": "React UI component library for Human+ UX \u2014 controlled, agent-bridgeable primitives",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -233,6 +233,16 @@
|
|
|
233
233
|
"default": "./dist/composer.cjs"
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
|
+
"./container": {
|
|
237
|
+
"import": {
|
|
238
|
+
"types": "./dist/container.d.ts",
|
|
239
|
+
"default": "./dist/container.js"
|
|
240
|
+
},
|
|
241
|
+
"require": {
|
|
242
|
+
"types": "./dist/container.d.cts",
|
|
243
|
+
"default": "./dist/container.cjs"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
236
246
|
"./content-renderer": {
|
|
237
247
|
"import": {
|
|
238
248
|
"types": "./dist/content-renderer.d.ts",
|
|
@@ -363,6 +373,16 @@
|
|
|
363
373
|
"default": "./dist/file-upload.cjs"
|
|
364
374
|
}
|
|
365
375
|
},
|
|
376
|
+
"./grid": {
|
|
377
|
+
"import": {
|
|
378
|
+
"types": "./dist/grid.d.ts",
|
|
379
|
+
"default": "./dist/grid.js"
|
|
380
|
+
},
|
|
381
|
+
"require": {
|
|
382
|
+
"types": "./dist/grid.d.cts",
|
|
383
|
+
"default": "./dist/grid.cjs"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
366
386
|
"./heading": {
|
|
367
387
|
"import": {
|
|
368
388
|
"types": "./dist/heading.d.ts",
|
|
@@ -683,6 +703,16 @@
|
|
|
683
703
|
"default": "./dist/reason-tag.cjs"
|
|
684
704
|
}
|
|
685
705
|
},
|
|
706
|
+
"./section": {
|
|
707
|
+
"import": {
|
|
708
|
+
"types": "./dist/section.d.ts",
|
|
709
|
+
"default": "./dist/section.js"
|
|
710
|
+
},
|
|
711
|
+
"require": {
|
|
712
|
+
"types": "./dist/section.d.cts",
|
|
713
|
+
"default": "./dist/section.cjs"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
686
716
|
"./select": {
|
|
687
717
|
"import": {
|
|
688
718
|
"types": "./dist/select.d.ts",
|