@codefast/ui 0.0.10 → 0.0.12
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/alert-dialog.js +4 -4
- package/dist/alert-dialog.mjs +2 -2
- package/dist/blockquote.js +2 -2
- package/dist/blockquote.js.map +1 -1
- package/dist/blockquote.mjs +2 -2
- package/dist/blockquote.mjs.map +1 -1
- package/dist/box.js +2 -2
- package/dist/box.js.map +1 -1
- package/dist/box.mjs +2 -2
- package/dist/box.mjs.map +1 -1
- package/dist/breadcrumb.js +2 -2
- package/dist/breadcrumb.js.map +1 -1
- package/dist/breadcrumb.mjs +2 -2
- package/dist/breadcrumb.mjs.map +1 -1
- package/dist/button.js +3 -3
- package/dist/button.mjs +2 -2
- package/dist/calendar.js +4 -4
- package/dist/calendar.mjs +2 -2
- package/dist/carousel.js +4 -4
- package/dist/carousel.mjs +2 -2
- package/dist/{chunk-XCBBSHAK.mjs → chunk-6J6VPUBP.mjs} +6 -3
- package/dist/chunk-6J6VPUBP.mjs.map +1 -0
- package/dist/{chunk-ORAVN37L.js → chunk-7S4DOWLB.js} +6 -3
- package/dist/chunk-7S4DOWLB.js.map +1 -0
- package/dist/{chunk-NEP3JDVQ.js → chunk-BWCO2ZQQ.js} +11 -15
- package/dist/chunk-BWCO2ZQQ.js.map +1 -0
- package/dist/{chunk-J6COVJTP.js → chunk-MDSPK3M6.js} +4 -10
- package/dist/chunk-MDSPK3M6.js.map +1 -0
- package/dist/{chunk-5UHPKXF4.mjs → chunk-V2254PQL.mjs} +4 -10
- package/dist/chunk-V2254PQL.mjs.map +1 -0
- package/dist/{chunk-XHZUPL2U.mjs → chunk-WFXEFJRB.mjs} +11 -15
- package/dist/chunk-WFXEFJRB.mjs.map +1 -0
- package/dist/code.js +2 -2
- package/dist/code.js.map +1 -1
- package/dist/code.mjs +2 -2
- package/dist/code.mjs.map +1 -1
- package/dist/container.js +2 -2
- package/dist/container.js.map +1 -1
- package/dist/container.mjs +2 -2
- package/dist/container.mjs.map +1 -1
- package/dist/data-table.js +8 -8
- package/dist/data-table.mjs +2 -2
- package/dist/em.js +2 -2
- package/dist/em.js.map +1 -1
- package/dist/em.mjs +2 -2
- package/dist/em.mjs.map +1 -1
- package/dist/heading.js +2 -2
- package/dist/heading.js.map +1 -1
- package/dist/heading.mjs +2 -2
- package/dist/heading.mjs.map +1 -1
- package/dist/kbd.js +2 -2
- package/dist/kbd.js.map +1 -1
- package/dist/kbd.mjs +2 -2
- package/dist/kbd.mjs.map +1 -1
- package/dist/pagination.js +3 -3
- package/dist/pagination.mjs +2 -2
- package/dist/pre.js +2 -2
- package/dist/pre.js.map +1 -1
- package/dist/pre.mjs +2 -2
- package/dist/pre.mjs.map +1 -1
- package/dist/quote.js +2 -2
- package/dist/quote.js.map +1 -1
- package/dist/quote.mjs +2 -2
- package/dist/quote.mjs.map +1 -1
- package/dist/section.js +2 -2
- package/dist/section.js.map +1 -1
- package/dist/section.mjs +2 -2
- package/dist/section.mjs.map +1 -1
- package/dist/spinner.js +2 -2
- package/dist/spinner.mjs +1 -1
- package/dist/strong.js +2 -2
- package/dist/strong.js.map +1 -1
- package/dist/strong.mjs +2 -2
- package/dist/strong.mjs.map +1 -1
- package/dist/text.js +2 -2
- package/dist/text.js.map +1 -1
- package/dist/text.mjs +2 -2
- package/dist/text.mjs.map +1 -1
- package/dist/toggle-group.js +2 -2
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.js +2 -2
- package/dist/toggle.mjs +1 -1
- package/package.json +6 -5
- package/src/blockquote.tsx +2 -2
- package/src/box.tsx +2 -2
- package/src/breadcrumb.tsx +2 -2
- package/src/button.tsx +10 -11
- package/src/code.tsx +2 -2
- package/src/container.tsx +2 -2
- package/src/em.tsx +2 -2
- package/src/heading.tsx +2 -2
- package/src/kbd.tsx +2 -2
- package/src/pre.tsx +2 -2
- package/src/quote.tsx +2 -2
- package/src/section.tsx +2 -2
- package/src/spinner.tsx +3 -7
- package/src/strong.tsx +2 -2
- package/src/text.tsx +2 -2
- package/src/toggle.tsx +4 -1
- package/dist/chunk-5UHPKXF4.mjs.map +0 -1
- package/dist/chunk-J6COVJTP.js.map +0 -1
- package/dist/chunk-NEP3JDVQ.js.map +0 -1
- package/dist/chunk-ORAVN37L.js.map +0 -1
- package/dist/chunk-XCBBSHAK.mjs.map +0 -1
- package/dist/chunk-XHZUPL2U.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Spinner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V2254PQL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
cva
|
|
6
6
|
} from "./chunk-UG3URV2Z.mjs";
|
|
@@ -8,7 +8,9 @@ import {
|
|
|
8
8
|
// src/button.tsx
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { Slot } from "@radix-ui/react-slot";
|
|
11
|
-
import { Fragment
|
|
11
|
+
import { Fragment } from "react";
|
|
12
|
+
import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
14
|
var buttonVariants = cva({
|
|
13
15
|
base: [
|
|
14
16
|
"inline-flex select-none items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors",
|
|
@@ -46,26 +48,20 @@ var buttonVariants = cva({
|
|
|
46
48
|
});
|
|
47
49
|
var Button = React.forwardRef(
|
|
48
50
|
({ children, className, variant, size, loading = false, asChild = false, ...props }, ref) => {
|
|
49
|
-
const
|
|
51
|
+
const Component = asChild ? Slot : "button";
|
|
52
|
+
const ComponentLoading = asChild ? "span" : Fragment;
|
|
50
53
|
const disabled = loading || props.disabled;
|
|
51
54
|
return /* @__PURE__ */ jsx(
|
|
52
|
-
|
|
55
|
+
Component,
|
|
53
56
|
{
|
|
54
57
|
ref,
|
|
55
58
|
type: asChild ? void 0 : "button",
|
|
56
59
|
className: buttonVariants({ variant, size, loading, className }),
|
|
57
60
|
...props,
|
|
58
61
|
disabled,
|
|
59
|
-
children: loading ? /* @__PURE__ */ jsxs(
|
|
60
|
-
/* @__PURE__ */ jsx(
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
"aria-hidden": true,
|
|
64
|
-
className: "invisible contents",
|
|
65
|
-
...{ inert: "" },
|
|
66
|
-
children
|
|
67
|
-
}
|
|
68
|
-
),
|
|
62
|
+
children: loading ? /* @__PURE__ */ jsxs(ComponentLoading, { children: [
|
|
63
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "invisible contents", children }),
|
|
64
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children }),
|
|
69
65
|
/* @__PURE__ */ jsx("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, {}) })
|
|
70
66
|
] }) : children
|
|
71
67
|
}
|
|
@@ -78,4 +74,4 @@ export {
|
|
|
78
74
|
buttonVariants,
|
|
79
75
|
Button
|
|
80
76
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-WFXEFJRB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/button.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { type VariantProps } from \"cva\";\nimport { Fragment } from \"react\";\nimport { VisuallyHidden } from \"@radix-ui/react-visually-hidden\";\nimport { Spinner } from \"./spinner\";\nimport { cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Button\n * -------------------------------------------------------------------------- */\n\nconst buttonVariants = cva({\n base: [\n \"inline-flex select-none items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors\",\n \"disabled:pointer-events-none disabled:opacity-50\",\n \"focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\",\n ],\n variants: {\n variant: {\n default: \"bg-primary text-primary-foreground hover:bg-primary/90 shadow\",\n destructive: \"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n outline: \"border-input bg-background hover:bg-accent hover:text-accent-foreground border shadow-sm\",\n secondary: \"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm\",\n },\n size: {\n default: \"h-10 px-4\",\n xs: \"h-8 px-2\",\n sm: \"h-9 px-3\",\n lg: \"h-11 px-8\",\n icon: \"size-10\",\n \"icon-xs\": \"size-8\",\n \"icon-sm\": \"size-9\",\n \"icon-lg\": \"size-11\",\n },\n loading: {\n true: \"relative\",\n },\n },\n defaultVariants: {\n size: \"default\",\n variant: \"default\",\n loading: false,\n },\n});\n\ntype ButtonVariantsProps = VariantProps<typeof buttonVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Button\n * -------------------------------------------------------------------------- */\n\ntype ButtonElement = HTMLButtonElement;\n\ninterface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, ButtonVariantsProps {\n asChild?: boolean;\n}\n\nconst Button = React.forwardRef<ButtonElement, ButtonProps>(\n ({ children, className, variant, size, loading = false, asChild = false, ...props }, ref) => {\n const Component = asChild ? Slot : \"button\";\n const ComponentLoading = asChild ? \"span\" : Fragment;\n const disabled = loading || props.disabled;\n\n return (\n <Component\n ref={ref}\n type={asChild ? undefined : \"button\"}\n className={buttonVariants({ variant, size, loading, className })}\n {...props}\n disabled={disabled}\n >\n {loading ? (\n <ComponentLoading>\n <span aria-hidden className=\"invisible contents\">\n {children}\n </span>\n <VisuallyHidden>{children}</VisuallyHidden>\n <span className=\"absolute inset-0 flex items-center justify-center\">\n <Spinner />\n </span>\n </ComponentLoading>\n ) : (\n children\n )}\n </Component>\n );\n },\n);\n\nButton.displayName = \"Button\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Button, buttonVariants, type ButtonProps, type ButtonVariantsProps };\n"],"mappings":";;;;;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAErB,SAAS,gBAAgB;AACzB,SAAS,sBAAsB;AAuErB,SACE,KADF;AA/DV,IAAM,iBAAiB,IAAI;AAAA,EACzB,MAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,aAAa;AAAA,MACb,OAAO;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW;AAAA,IACb;AAAA,IACA,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF,CAAC;AAcD,IAAM,SAAe;AAAA,EACnB,CAAC,EAAE,UAAU,WAAW,SAAS,MAAM,UAAU,OAAO,UAAU,OAAO,GAAG,MAAM,GAAG,QAAQ;AAC3F,UAAM,YAAY,UAAU,OAAO;AACnC,UAAM,mBAAmB,UAAU,SAAS;AAC5C,UAAM,WAAW,WAAW,MAAM;AAElC,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,MAAM,UAAU,SAAY;AAAA,QAC5B,WAAW,eAAe,EAAE,SAAS,MAAM,SAAS,UAAU,CAAC;AAAA,QAC9D,GAAG;AAAA,QACJ;AAAA,QAEC,oBACC,qBAAC,oBACC;AAAA,8BAAC,UAAK,eAAW,MAAC,WAAU,sBACzB,UACH;AAAA,UACA,oBAAC,kBAAgB,UAAS;AAAA,UAC1B,oBAAC,UAAK,WAAU,qDACd,8BAAC,WAAQ,GACX;AAAA,WACF,IAEA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;AAEA,OAAO,cAAc;","names":[]}
|
package/dist/code.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Code = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "code";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Code.displayName = "Code";
|
|
10
10
|
|
package/dist/code.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/code.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,OAAa,iBAAmC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACpF,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/code.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,OAAa,iBAAmC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACpF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,KAAK,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Code\n * -------------------------------------------------------------------------- */\n\ntype CodeElement = HTMLElement;\n\ninterface CodeProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Code = React.forwardRef<CodeElement, CodeProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"code\";\n\n return <Component ref={ref} {...props} />;\n});\n\nCode.displayName = \"Code\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Code, type CodeProps };\n"]}
|
package/dist/code.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Code = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "code";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Code.displayName = "Code";
|
|
10
10
|
export {
|
package/dist/code.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/code.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Code\n * -------------------------------------------------------------------------- */\n\ntype CodeElement = HTMLElement;\n\ninterface CodeProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Code = React.forwardRef<CodeElement, CodeProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/code.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Code\n * -------------------------------------------------------------------------- */\n\ntype CodeElement = HTMLElement;\n\ninterface CodeProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Code = React.forwardRef<CodeElement, CodeProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"code\";\n\n return <Component ref={ref} {...props} />;\n});\n\nCode.displayName = \"Code\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Code, type CodeProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,OAAa,iBAAmC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACpF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,KAAK,cAAc;","names":[]}
|
package/dist/container.js
CHANGED
|
@@ -7,8 +7,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
7
7
|
var _reactslot = require('@radix-ui/react-slot');
|
|
8
8
|
var _jsxruntime = require('react/jsx-runtime');
|
|
9
9
|
var Container = React.forwardRef(({ className, asChild, ...props }, ref) => {
|
|
10
|
-
const
|
|
11
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10
|
+
const Component = asChild ? _reactslot.Slot : "div";
|
|
11
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, className: _chunkG3NP7M2Njs.cn.call(void 0, "container", className), ...props });
|
|
12
12
|
});
|
|
13
13
|
Container.displayName = "Container";
|
|
14
14
|
|
package/dist/container.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/container.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,YAAkB,iBAA6C,CAAC,EAAE,WAAW,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9G,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/container.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,YAAkB,iBAA6C,CAAC,EAAE,WAAW,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9G,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAU,WAAW,GAAG,aAAa,SAAS,GAAI,GAAG,OAAO;AAChF,CAAC;AAED,UAAU,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Container\n * -------------------------------------------------------------------------- */\n\ntype ContainerElement = HTMLDivElement;\n\ninterface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n asChild?: boolean;\n}\n\nconst Container = React.forwardRef<ContainerElement, ContainerProps>(({ className, asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"div\";\n\n return <Component ref={ref} className={cn(\"container\", className)} {...props} />;\n});\n\nContainer.displayName = \"Container\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Container, type ContainerProps };\n"]}
|
package/dist/container.mjs
CHANGED
|
@@ -7,8 +7,8 @@ import * as React from "react";
|
|
|
7
7
|
import { Slot } from "@radix-ui/react-slot";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
var Container = React.forwardRef(({ className, asChild, ...props }, ref) => {
|
|
10
|
-
const
|
|
11
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
+
const Component = asChild ? Slot : "div";
|
|
11
|
+
return /* @__PURE__ */ jsx(Component, { ref, className: cn("container", className), ...props });
|
|
12
12
|
});
|
|
13
13
|
Container.displayName = "Container";
|
|
14
14
|
export {
|
package/dist/container.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/container.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Container\n * -------------------------------------------------------------------------- */\n\ntype ContainerElement = HTMLDivElement;\n\ninterface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n asChild?: boolean;\n}\n\nconst Container = React.forwardRef<ContainerElement, ContainerProps>(({ className, asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/container.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Container\n * -------------------------------------------------------------------------- */\n\ntype ContainerElement = HTMLDivElement;\n\ninterface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n asChild?: boolean;\n}\n\nconst Container = React.forwardRef<ContainerElement, ContainerProps>(({ className, asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"div\";\n\n return <Component ref={ref} className={cn(\"container\", className)} {...props} />;\n});\n\nContainer.displayName = \"Container\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Container, type ContainerProps };\n"],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,YAAkB,iBAA6C,CAAC,EAAE,WAAW,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9G,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAU,WAAW,GAAG,aAAa,SAAS,GAAI,GAAG,OAAO;AAChF,CAAC;AAED,UAAU,cAAc;","names":[]}
|
package/dist/data-table.js
CHANGED
|
@@ -17,8 +17,8 @@ var _chunkLNSEYAPJjs = require('./chunk-LNSEYAPJ.js');
|
|
|
17
17
|
var _chunk3ZZ3SRTJjs = require('./chunk-3ZZ3SRTJ.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('./chunk-
|
|
20
|
+
var _chunkBWCO2ZQQjs = require('./chunk-BWCO2ZQQ.js');
|
|
21
|
+
require('./chunk-MDSPK3M6.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkG3NP7M2Njs = require('./chunk-G3NP7M2N.js');
|
|
@@ -39,7 +39,7 @@ var _reacttable = require('@tanstack/react-table'); _createStarExport(_reacttabl
|
|
|
39
39
|
var _jsxruntime = require('react/jsx-runtime');
|
|
40
40
|
function DataTableViewOptions({ table }) {
|
|
41
41
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenu, { children: [
|
|
42
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
42
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBWCO2ZQQjs.Button, { variant: "outline", size: "sm", className: "ml-auto hidden h-8 lg:flex", children: [
|
|
43
43
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reacticons.MixerHorizontalIcon, { className: "mr-2 size-4" }),
|
|
44
44
|
"View"
|
|
45
45
|
] }) }),
|
|
@@ -100,7 +100,7 @@ function DataTablePagination({
|
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-2", children: [
|
|
102
102
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
103
|
-
|
|
103
|
+
_chunkBWCO2ZQQjs.Button,
|
|
104
104
|
{
|
|
105
105
|
variant: "outline",
|
|
106
106
|
size: "icon-xs",
|
|
@@ -116,7 +116,7 @@ function DataTablePagination({
|
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
119
|
-
|
|
119
|
+
_chunkBWCO2ZQQjs.Button,
|
|
120
120
|
{
|
|
121
121
|
variant: "outline",
|
|
122
122
|
size: "icon-xs",
|
|
@@ -131,7 +131,7 @@ function DataTablePagination({
|
|
|
131
131
|
}
|
|
132
132
|
),
|
|
133
133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
134
|
-
|
|
134
|
+
_chunkBWCO2ZQQjs.Button,
|
|
135
135
|
{
|
|
136
136
|
variant: "outline",
|
|
137
137
|
size: "icon-xs",
|
|
@@ -146,7 +146,7 @@ function DataTablePagination({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
149
|
-
|
|
149
|
+
_chunkBWCO2ZQQjs.Button,
|
|
150
150
|
{
|
|
151
151
|
variant: "outline",
|
|
152
152
|
size: "icon-xs",
|
|
@@ -174,7 +174,7 @@ function DataTableColumnHeader({
|
|
|
174
174
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkG3NP7M2Njs.cn.call(void 0, className), children: title });
|
|
175
175
|
}
|
|
176
176
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkG3NP7M2Njs.cn.call(void 0, "flex items-center space-x-2", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenu, { children: [
|
|
177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3ZZ3SRTJjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBWCO2ZQQjs.Button, { variant: "ghost", size: "xs", className: "data-[state=open]:bg-accent -ml-3", children: [
|
|
178
178
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: title }),
|
|
179
179
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: column.getIsSorted() })
|
|
180
180
|
] }) }),
|
package/dist/data-table.mjs
CHANGED
package/dist/em.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Em = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "em";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Em.displayName = "Em";
|
|
10
10
|
|
package/dist/em.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/em.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,KAAW,iBAA+B,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9E,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/em.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,KAAW,iBAA+B,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9E,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,GAAG,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Em\n * -------------------------------------------------------------------------- */\n\ntype EmElement = HTMLElement;\n\ninterface EmProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Em = React.forwardRef<EmElement, EmProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"em\";\n\n return <Component ref={ref} {...props} />;\n});\n\nEm.displayName = \"Em\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Em, type EmProps };\n"]}
|
package/dist/em.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Em = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "em";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Em.displayName = "Em";
|
|
10
10
|
export {
|
package/dist/em.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/em.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Em\n * -------------------------------------------------------------------------- */\n\ntype EmElement = HTMLElement;\n\ninterface EmProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Em = React.forwardRef<EmElement, EmProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/em.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Em\n * -------------------------------------------------------------------------- */\n\ntype EmElement = HTMLElement;\n\ninterface EmProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Em = React.forwardRef<EmElement, EmProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"em\";\n\n return <Component ref={ref} {...props} />;\n});\n\nEm.displayName = \"Em\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Em, type EmProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,KAAW,iBAA+B,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC9E,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,GAAG,cAAc;","names":[]}
|
package/dist/heading.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Heading = React.forwardRef(({ asChild, as: Tag = "h1", ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : Tag;
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Heading.displayName = "Heading";
|
|
10
10
|
|
package/dist/heading.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/heading.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,IAAI,MAAM,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC7G,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/heading.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,IAAI,MAAM,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC7G,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,QAAQ,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Heading\n * -------------------------------------------------------------------------- */\n\ntype HeadingElement = HTMLHeadingElement;\n\ninterface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n asChild?: boolean;\n}\n\nconst Heading = React.forwardRef<HeadingElement, HeadingProps>(({ asChild, as: Tag = \"h1\", ...props }, ref) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={ref} {...props} />;\n});\n\nHeading.displayName = \"Heading\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Heading, type HeadingProps };\n"]}
|
package/dist/heading.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Heading = React.forwardRef(({ asChild, as: Tag = "h1", ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : Tag;
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Heading.displayName = "Heading";
|
|
10
10
|
export {
|
package/dist/heading.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/heading.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Heading\n * -------------------------------------------------------------------------- */\n\ntype HeadingElement = HTMLHeadingElement;\n\ninterface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n asChild?: boolean;\n}\n\nconst Heading = React.forwardRef<HeadingElement, HeadingProps>(({ asChild, as: Tag = \"h1\", ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/heading.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Heading\n * -------------------------------------------------------------------------- */\n\ntype HeadingElement = HTMLHeadingElement;\n\ninterface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n asChild?: boolean;\n}\n\nconst Heading = React.forwardRef<HeadingElement, HeadingProps>(({ asChild, as: Tag = \"h1\", ...props }, ref) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={ref} {...props} />;\n});\n\nHeading.displayName = \"Heading\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Heading, type HeadingProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAgBZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,IAAI,MAAM,MAAM,GAAG,MAAM,GAAG,QAAQ;AAC7G,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,QAAQ,cAAc;","names":[]}
|
package/dist/kbd.js
CHANGED
|
@@ -7,9 +7,9 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
7
7
|
var _reactslot = require('@radix-ui/react-slot');
|
|
8
8
|
var _jsxruntime = require('react/jsx-runtime');
|
|
9
9
|
var Kbd = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
10
|
-
const
|
|
10
|
+
const Component = asChild ? _reactslot.Slot : "kbd";
|
|
11
11
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12
|
-
|
|
12
|
+
Component,
|
|
13
13
|
{
|
|
14
14
|
ref,
|
|
15
15
|
className: _chunkG3NP7M2Njs.cn.call(void 0,
|
package/dist/kbd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/kbd.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAiBjB;AAJJ,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC5F,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/kbd.tsx"],"names":[],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAiBjB;AAJJ,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC5F,QAAM,YAAY,UAAU,OAAO;AAEnC,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAED,IAAI,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\ntype KbdElement = HTMLElement;\n\ninterface KbdProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Kbd = React.forwardRef<KbdElement, KbdProps>(({ asChild, className, ...props }, ref) => {\n const Component = asChild ? Slot : \"kbd\";\n\n return (\n <Component\n ref={ref}\n className={cn(\n \"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n});\n\nKbd.displayName = \"Kbd\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd, type KbdProps };\n"]}
|
package/dist/kbd.mjs
CHANGED
|
@@ -7,9 +7,9 @@ import * as React from "react";
|
|
|
7
7
|
import { Slot } from "@radix-ui/react-slot";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
var Kbd = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
10
|
-
const
|
|
10
|
+
const Component = asChild ? Slot : "kbd";
|
|
11
11
|
return /* @__PURE__ */ jsx(
|
|
12
|
-
|
|
12
|
+
Component,
|
|
13
13
|
{
|
|
14
14
|
ref,
|
|
15
15
|
className: cn(
|
package/dist/kbd.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/kbd.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\ntype KbdElement = HTMLElement;\n\ninterface KbdProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Kbd = React.forwardRef<KbdElement, KbdProps>(({ asChild, className, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/kbd.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\ntype KbdElement = HTMLElement;\n\ninterface KbdProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Kbd = React.forwardRef<KbdElement, KbdProps>(({ asChild, className, ...props }, ref) => {\n const Component = asChild ? Slot : \"kbd\";\n\n return (\n <Component\n ref={ref}\n className={cn(\n \"bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n});\n\nKbd.displayName = \"Kbd\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd, type KbdProps };\n"],"mappings":";;;;;AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAiBjB;AAJJ,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC5F,QAAM,YAAY,UAAU,OAAO;AAEnC,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAED,IAAI,cAAc;","names":[]}
|
package/dist/pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkBWCO2ZQQjs = require('./chunk-BWCO2ZQQ.js');
|
|
4
|
+
require('./chunk-MDSPK3M6.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkG3NP7M2Njs = require('./chunk-G3NP7M2N.js');
|
|
@@ -38,7 +38,7 @@ function PaginationLink({
|
|
|
38
38
|
"a",
|
|
39
39
|
{
|
|
40
40
|
"aria-current": isActive ? "page" : void 0,
|
|
41
|
-
className:
|
|
41
|
+
className: _chunkBWCO2ZQQjs.buttonVariants.call(void 0, {
|
|
42
42
|
variant: isActive ? "outline" : "ghost",
|
|
43
43
|
size,
|
|
44
44
|
className
|
package/dist/pagination.mjs
CHANGED
package/dist/pre.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Pre = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "pre";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Pre.displayName = "Pre";
|
|
10
10
|
|
package/dist/pre.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pre.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACjF,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/pre.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACjF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,IAAI,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"pre\";\n\n return <Component ref={ref} {...props} />;\n});\n\nPre.displayName = \"Pre\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"]}
|
package/dist/pre.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Pre = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "pre";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Pre.displayName = "Pre";
|
|
10
10
|
export {
|
package/dist/pre.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pre.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/pre.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"pre\";\n\n return <Component ref={ref} {...props} />;\n});\n\nPre.displayName = \"Pre\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,MAAY,iBAAiC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACjF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,IAAI,cAAc;","names":[]}
|
package/dist/quote.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Quote = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "q";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Quote.displayName = "Quote";
|
|
10
10
|
|
package/dist/quote.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/quote.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,QAAc,iBAAqC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACvF,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/quote.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,QAAc,iBAAqC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACvF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,MAAM,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"q\";\n\n return <Component ref={ref} {...props} />;\n});\n\nQuote.displayName = \"Quote\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
|
package/dist/quote.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Quote = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "q";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Quote.displayName = "Quote";
|
|
10
10
|
export {
|
package/dist/quote.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/quote.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/quote.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"q\";\n\n return <Component ref={ref} {...props} />;\n});\n\nQuote.displayName = \"Quote\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,QAAc,iBAAqC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AACvF,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,MAAM,cAAc;","names":[]}
|
package/dist/section.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Section = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "section";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Section.displayName = "Section";
|
|
10
10
|
|
package/dist/section.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/section.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC7F,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/section.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC7F,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,QAAQ,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"section\";\n\n return <Component ref={ref} {...props} />;\n});\n\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"]}
|
package/dist/section.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Section = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "section";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Section.displayName = "Section";
|
|
10
10
|
export {
|
package/dist/section.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/section.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/section.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"section\";\n\n return <Component ref={ref} {...props} />;\n});\n\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,UAAgB,iBAAyC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC7F,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,QAAQ,cAAc;","names":[]}
|
package/dist/spinner.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMDSPK3M6js = require('./chunk-MDSPK3M6.js');
|
|
4
4
|
require('./chunk-G3NP7M2N.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.Spinner =
|
|
7
|
+
exports.Spinner = _chunkMDSPK3M6js.Spinner;
|
|
8
8
|
//# sourceMappingURL=spinner.js.map
|
package/dist/spinner.mjs
CHANGED
package/dist/strong.js
CHANGED
|
@@ -3,8 +3,8 @@ var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
|
3
3
|
var _reactslot = require('@radix-ui/react-slot');
|
|
4
4
|
var _jsxruntime = require('react/jsx-runtime');
|
|
5
5
|
var Strong = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6
|
+
const Component = asChild ? _reactslot.Slot : "strong";
|
|
7
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Strong.displayName = "Strong";
|
|
10
10
|
|
package/dist/strong.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/strong.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,SAAe,iBAAuC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC1F,QAAM,
|
|
1
|
+
{"version":3,"sources":["../src/strong.tsx"],"names":[],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,SAAe,iBAAuC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC1F,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,OAAO,cAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"strong\";\n\n return <Component ref={ref} {...props} />;\n});\n\nStrong.displayName = \"Strong\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"]}
|
package/dist/strong.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
var Strong = React.forwardRef(({ asChild, ...props }, ref) => {
|
|
6
|
-
const
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
6
|
+
const Component = asChild ? Slot : "strong";
|
|
7
|
+
return /* @__PURE__ */ jsx(Component, { ref, ...props });
|
|
8
8
|
});
|
|
9
9
|
Strong.displayName = "Strong";
|
|
10
10
|
export {
|
package/dist/strong.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/strong.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, ref) => {\n const
|
|
1
|
+
{"version":3,"sources":["../src/strong.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"strong\";\n\n return <Component ref={ref} {...props} />;\n});\n\nStrong.displayName = \"Strong\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"],"mappings":";AAAA,YAAY,WAAW;AACvB,SAAS,YAAY;AAeZ;AAHT,IAAM,SAAe,iBAAuC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ;AAC1F,QAAM,YAAY,UAAU,OAAO;AAEnC,SAAO,oBAAC,aAAU,KAAW,GAAG,OAAO;AACzC,CAAC;AAED,OAAO,cAAc;","names":[]}
|