@docubook/ui-react 2.0.0-beta.0 → 2.0.0-beta.2
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/base/breadcrumbs.d.ts +15 -0
- package/dist/{collapse.d.ts → base/collapse.d.ts} +5 -7
- package/dist/base/drawer.d.ts +41 -0
- package/dist/base/dropdown.d.ts +16 -0
- package/dist/base/input.d.ts +14 -0
- package/dist/base/kbd.d.ts +39 -0
- package/dist/base/modal.d.ts +14 -0
- package/dist/base/navbar.d.ts +32 -0
- package/dist/base/pagination.d.ts +17 -0
- package/dist/base/theme-controller.d.ts +17 -0
- package/dist/{toggle.d.ts → base/toggle.d.ts} +6 -8
- package/dist/breadcrumbs.js +28 -13
- package/dist/breadcrumbs.js.map +1 -0
- package/dist/cn.js +10 -6
- package/dist/cn.js.map +1 -0
- package/dist/collapse.js +76 -11
- package/dist/collapse.js.map +1 -0
- package/dist/drawer.js +69 -15
- package/dist/drawer.js.map +1 -0
- package/dist/dropdown.js +52 -11
- package/dist/dropdown.js.map +1 -0
- package/dist/index.d.ts +23 -15
- package/dist/index.js +13 -84
- package/dist/input.js +21 -9
- package/dist/input.js.map +1 -0
- package/dist/kbd.js +74 -8
- package/dist/kbd.js.map +1 -0
- package/dist/modal.js +34 -9
- package/dist/modal.js.map +1 -0
- package/dist/navbar.js +53 -13
- package/dist/navbar.js.map +1 -0
- package/dist/pagination.js +60 -7
- package/dist/pagination.js.map +1 -0
- package/dist/theme-controller.js +50 -7
- package/dist/theme-controller.js.map +1 -0
- package/dist/toggle.js +65 -9
- package/dist/toggle.js.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/types.d.ts +4 -0
- package/package.json +44 -109
- package/dist/breadcrumbs.cjs +0 -13
- package/dist/breadcrumbs.d.cts +0 -19
- package/dist/breadcrumbs.d.ts +0 -19
- package/dist/chunk-2DFF5NEL.cjs +0 -45
- package/dist/chunk-5SA5UPFQ.cjs +0 -66
- package/dist/chunk-5UVG5YY5.js +0 -49
- package/dist/chunk-6B7U7IWT.cjs +0 -53
- package/dist/chunk-BHHZBMD4.cjs +0 -101
- package/dist/chunk-CK4TY6B7.cjs +0 -89
- package/dist/chunk-CNOJNKZ2.js +0 -89
- package/dist/chunk-FQQILPIP.js +0 -133
- package/dist/chunk-GRADTONK.js +0 -45
- package/dist/chunk-HTH2UTCL.cjs +0 -49
- package/dist/chunk-MWJV72OM.cjs +0 -41
- package/dist/chunk-ND7BTYGG.js +0 -123
- package/dist/chunk-OGI5BHGM.js +0 -25
- package/dist/chunk-OO3HHTPV.cjs +0 -123
- package/dist/chunk-OTJGG73E.js +0 -101
- package/dist/chunk-PFRBA5BH.js +0 -66
- package/dist/chunk-QOGH6NKS.js +0 -45
- package/dist/chunk-RDRDPR67.cjs +0 -25
- package/dist/chunk-REZ4W4BZ.cjs +0 -92
- package/dist/chunk-RXFYKKNI.js +0 -53
- package/dist/chunk-SV4L2FGT.cjs +0 -133
- package/dist/chunk-SX6DOGUE.js +0 -41
- package/dist/chunk-TDFVUBGO.cjs +0 -45
- package/dist/chunk-WY6GLRTT.js +0 -92
- package/dist/cn.cjs +0 -6
- package/dist/cn.d.cts +0 -5
- package/dist/cn.d.ts +0 -5
- package/dist/collapse.cjs +0 -12
- package/dist/collapse.d.cts +0 -31
- package/dist/drawer.cjs +0 -16
- package/dist/drawer.d.cts +0 -44
- package/dist/drawer.d.ts +0 -44
- package/dist/dropdown.cjs +0 -12
- package/dist/dropdown.d.cts +0 -20
- package/dist/dropdown.d.ts +0 -20
- package/dist/index.cjs +0 -84
- package/dist/index.d.cts +0 -15
- package/dist/input.cjs +0 -10
- package/dist/input.d.cts +0 -17
- package/dist/input.d.ts +0 -17
- package/dist/kbd.cjs +0 -10
- package/dist/kbd.d.cts +0 -43
- package/dist/kbd.d.ts +0 -43
- package/dist/modal.cjs +0 -10
- package/dist/modal.d.cts +0 -17
- package/dist/modal.d.ts +0 -17
- package/dist/navbar.cjs +0 -13
- package/dist/navbar.d.cts +0 -36
- package/dist/navbar.d.ts +0 -36
- package/dist/pagination.cjs +0 -7
- package/dist/pagination.d.cts +0 -21
- package/dist/pagination.d.ts +0 -21
- package/dist/theme-controller.cjs +0 -8
- package/dist/theme-controller.d.cts +0 -21
- package/dist/theme-controller.d.ts +0 -21
- package/dist/toggle.cjs +0 -10
- package/dist/toggle.d.cts +0 -35
- package/dist/types-BZI5Cv8-.d.cts +0 -6
- package/dist/types-BZI5Cv8-.d.ts +0 -6
package/dist/chunk-WY6GLRTT.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cn
|
|
3
|
-
} from "./chunk-GRADTONK.js";
|
|
4
|
-
|
|
5
|
-
// src/base/pagination.tsx
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
function PaginationDocs({
|
|
8
|
-
prev,
|
|
9
|
-
next,
|
|
10
|
-
className,
|
|
11
|
-
prevIcon,
|
|
12
|
-
nextIcon,
|
|
13
|
-
linkClassName
|
|
14
|
-
}) {
|
|
15
|
-
return /* @__PURE__ */ jsxs(
|
|
16
|
-
"nav",
|
|
17
|
-
{
|
|
18
|
-
id: "pagination",
|
|
19
|
-
"aria-label": "Pagination",
|
|
20
|
-
className: cn("bg-base-200/50 flex w-full gap-1 rounded-2xl p-1", className),
|
|
21
|
-
children: [
|
|
22
|
-
prev && /* @__PURE__ */ jsxs(
|
|
23
|
-
"a",
|
|
24
|
-
{
|
|
25
|
-
href: prev.href,
|
|
26
|
-
rel: "prev",
|
|
27
|
-
"data-component-part": "pagination-prev",
|
|
28
|
-
className: cn(
|
|
29
|
-
"group text-muted-foreground hover:bg-base-200/60 hover:text-base-content flex items-center justify-start gap-1.5 rounded-xl px-3 py-3 text-sm no-underline transition-colors",
|
|
30
|
-
// 30/70 split with next; calc subtracts half the gap so the two
|
|
31
|
-
// cards plus gap-1 fill the pill exactly. No min-w-0: the card
|
|
32
|
-
// floors at its content width, so a narrow screen never crushes
|
|
33
|
-
// the icon/text into the next card.
|
|
34
|
-
next && "w-[calc(30%-2px)]",
|
|
35
|
-
linkClassName
|
|
36
|
-
),
|
|
37
|
-
children: [
|
|
38
|
-
prevIcon && /* @__PURE__ */ jsx("span", { className: "flex shrink-0 items-center", children: prevIcon }),
|
|
39
|
-
/* @__PURE__ */ jsx("span", { "data-component-part": "pagination-label", children: "Previous" })
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
next && /* @__PURE__ */ jsx(
|
|
44
|
-
"a",
|
|
45
|
-
{
|
|
46
|
-
href: next.href,
|
|
47
|
-
rel: "next",
|
|
48
|
-
"data-component-part": "pagination-next",
|
|
49
|
-
className: cn(
|
|
50
|
-
"group min-w-0 rounded-xl no-underline",
|
|
51
|
-
// Next-only (e.g. docs index): full width on mobile, half the
|
|
52
|
-
// container above 640px — pushed right like a forward button.
|
|
53
|
-
// With prev: calc-based 70% (minus half the gap) so the pair
|
|
54
|
-
// always fills the pill without overlapping.
|
|
55
|
-
prev ? "w-[calc(70%-2px)]" : "w-full sm:ml-auto sm:w-1/2",
|
|
56
|
-
linkClassName
|
|
57
|
-
),
|
|
58
|
-
children: /* @__PURE__ */ jsxs("div", { className: "bg-primary/15 hover:bg-primary/20 hover:ring-primary/30 flex h-16 flex-1 items-center justify-end rounded-xl transition-shadow hover:ring-1", children: [
|
|
59
|
-
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col items-end justify-center px-5", children: [
|
|
60
|
-
/* @__PURE__ */ jsx(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
"data-component-part": "pagination-title",
|
|
64
|
-
className: "text-primary w-full truncate text-right text-sm font-semibold",
|
|
65
|
-
children: next.title
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
next.description && /* @__PURE__ */ jsx(
|
|
69
|
-
"span",
|
|
70
|
-
{
|
|
71
|
-
"data-component-part": "pagination-description",
|
|
72
|
-
className: "text-primary/75 hidden w-full max-w-72 truncate text-right text-xs sm:block",
|
|
73
|
-
children: next.description
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
] }),
|
|
77
|
-
/* @__PURE__ */ jsx("div", { className: "bg-primary/20 h-8 w-px" }),
|
|
78
|
-
/* @__PURE__ */ jsxs("div", { className: "text-primary/75 flex items-center gap-1.5 pr-3 pl-5 text-sm", children: [
|
|
79
|
-
/* @__PURE__ */ jsx("span", { "data-component-part": "pagination-label", children: "Next" }),
|
|
80
|
-
nextIcon && /* @__PURE__ */ jsx("span", { className: "flex shrink-0 items-center", children: nextIcon })
|
|
81
|
-
] })
|
|
82
|
-
] })
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
PaginationDocs
|
|
92
|
-
};
|
package/dist/cn.cjs
DELETED
package/dist/cn.d.cts
DELETED
package/dist/cn.d.ts
DELETED
package/dist/collapse.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkSV4L2FGTcjs = require('./chunk-SV4L2FGT.cjs');
|
|
7
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.Accordion = _chunkSV4L2FGTcjs.Accordion; exports.Collapse = _chunkSV4L2FGTcjs.Collapse; exports.default = _chunkSV4L2FGTcjs.collapse_default;
|
package/dist/collapse.d.cts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
type CollapseVariant = "arrow" | "plus";
|
|
5
|
-
interface CollapseProps {
|
|
6
|
-
title: ReactNode;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
onOpenChange?: (open: boolean) => void;
|
|
10
|
-
variant?: CollapseVariant;
|
|
11
|
-
className?: string;
|
|
12
|
-
titleClassName?: string;
|
|
13
|
-
contentClassName?: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare function Collapse({ title, children, defaultOpen, onOpenChange, variant, className, titleClassName, contentClassName, disabled, }: CollapseProps): react.JSX.Element;
|
|
17
|
-
interface AccordionItem {
|
|
18
|
-
id: string;
|
|
19
|
-
title: ReactNode;
|
|
20
|
-
content: ReactNode;
|
|
21
|
-
}
|
|
22
|
-
interface AccordionProps {
|
|
23
|
-
items: AccordionItem[];
|
|
24
|
-
defaultOpen?: string;
|
|
25
|
-
variant?: CollapseVariant;
|
|
26
|
-
className?: string;
|
|
27
|
-
allowMultiple?: boolean;
|
|
28
|
-
}
|
|
29
|
-
declare function Accordion({ items, defaultOpen, variant, className, allowMultiple, }: AccordionProps): react.JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { Accordion, type AccordionItem, type AccordionProps, Collapse, type CollapseProps, type CollapseVariant, Collapse as default };
|
package/dist/drawer.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkBHHZBMD4cjs = require('./chunk-BHHZBMD4.cjs');
|
|
9
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Drawer = _chunkBHHZBMD4cjs.Drawer; exports.DrawerContent = _chunkBHHZBMD4cjs.DrawerContent; exports.DrawerSidePanel = _chunkBHHZBMD4cjs.DrawerSidePanel; exports.DrawerTrigger = _chunkBHHZBMD4cjs.DrawerTrigger; exports.useDrawerState = _chunkBHHZBMD4cjs.useDrawerState;
|
package/dist/drawer.d.cts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { S as Side } from './types-BZI5Cv8-.cjs';
|
|
4
|
-
|
|
5
|
-
interface DrawerProps {
|
|
6
|
-
id: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
side?: Side;
|
|
10
|
-
breakpoint?: string;
|
|
11
|
-
withOverlay?: boolean;
|
|
12
|
-
overlayClassName?: string;
|
|
13
|
-
sideClassName?: string;
|
|
14
|
-
contentClassName?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react.JSX.Element;
|
|
18
|
-
declare function useDrawerState(initialState?: boolean): {
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
toggle: () => void;
|
|
23
|
-
};
|
|
24
|
-
interface DrawerTriggerProps {
|
|
25
|
-
drawerId: string;
|
|
26
|
-
children: ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react.JSX.Element;
|
|
30
|
-
interface DrawerSidePanelProps {
|
|
31
|
-
id: string;
|
|
32
|
-
children: ReactNode;
|
|
33
|
-
side?: Side;
|
|
34
|
-
withOverlay?: boolean;
|
|
35
|
-
overlayClassName?: string;
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
|
-
declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react.JSX.Element;
|
|
39
|
-
declare function DrawerContent({ children, className, }: {
|
|
40
|
-
children: React.ReactNode;
|
|
41
|
-
className?: string;
|
|
42
|
-
}): react.JSX.Element;
|
|
43
|
-
|
|
44
|
-
export { Drawer, DrawerContent, type DrawerProps, DrawerSidePanel, type DrawerSidePanelProps, DrawerTrigger, type DrawerTriggerProps, useDrawerState };
|
package/dist/drawer.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { S as Side } from './types-BZI5Cv8-.js';
|
|
4
|
-
|
|
5
|
-
interface DrawerProps {
|
|
6
|
-
id: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
|
-
side?: Side;
|
|
10
|
-
breakpoint?: string;
|
|
11
|
-
withOverlay?: boolean;
|
|
12
|
-
overlayClassName?: string;
|
|
13
|
-
sideClassName?: string;
|
|
14
|
-
contentClassName?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react.JSX.Element;
|
|
18
|
-
declare function useDrawerState(initialState?: boolean): {
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
open: () => void;
|
|
21
|
-
close: () => void;
|
|
22
|
-
toggle: () => void;
|
|
23
|
-
};
|
|
24
|
-
interface DrawerTriggerProps {
|
|
25
|
-
drawerId: string;
|
|
26
|
-
children: ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react.JSX.Element;
|
|
30
|
-
interface DrawerSidePanelProps {
|
|
31
|
-
id: string;
|
|
32
|
-
children: ReactNode;
|
|
33
|
-
side?: Side;
|
|
34
|
-
withOverlay?: boolean;
|
|
35
|
-
overlayClassName?: string;
|
|
36
|
-
className?: string;
|
|
37
|
-
}
|
|
38
|
-
declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react.JSX.Element;
|
|
39
|
-
declare function DrawerContent({ children, className, }: {
|
|
40
|
-
children: React.ReactNode;
|
|
41
|
-
className?: string;
|
|
42
|
-
}): react.JSX.Element;
|
|
43
|
-
|
|
44
|
-
export { Drawer, DrawerContent, type DrawerProps, DrawerSidePanel, type DrawerSidePanelProps, DrawerTrigger, type DrawerTriggerProps, useDrawerState };
|
package/dist/dropdown.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkCK4TY6B7cjs = require('./chunk-CK4TY6B7.cjs');
|
|
7
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.Dropdown = _chunkCK4TY6B7cjs.Dropdown; exports.DropdownItem = _chunkCK4TY6B7cjs.DropdownItem; exports.DropdownLink = _chunkCK4TY6B7cjs.DropdownLink;
|
package/dist/dropdown.d.cts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
interface DropdownProps extends HTMLAttributes<HTMLDetailsElement> {
|
|
5
|
-
align?: "start" | "end";
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
trigger?: ReactNode;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
menuClassName?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const Dropdown: react.ForwardRefExoticComponent<DropdownProps & react.RefAttributes<HTMLDetailsElement>>;
|
|
12
|
-
interface DropdownItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const DropdownItem: react.ForwardRefExoticComponent<DropdownItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
16
|
-
declare const DropdownLink: react.ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
|
|
17
|
-
href?: string;
|
|
18
|
-
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
-
|
|
20
|
-
export { Dropdown, DropdownItem, type DropdownItemProps, DropdownLink, type DropdownProps };
|
package/dist/dropdown.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
interface DropdownProps extends HTMLAttributes<HTMLDetailsElement> {
|
|
5
|
-
align?: "start" | "end";
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
trigger?: ReactNode;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
menuClassName?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const Dropdown: react.ForwardRefExoticComponent<DropdownProps & react.RefAttributes<HTMLDetailsElement>>;
|
|
12
|
-
interface DropdownItemProps extends HTMLAttributes<HTMLLIElement> {
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const DropdownItem: react.ForwardRefExoticComponent<DropdownItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
16
|
-
declare const DropdownLink: react.ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
|
|
17
|
-
href?: string;
|
|
18
|
-
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
-
|
|
20
|
-
export { Dropdown, DropdownItem, type DropdownItemProps, DropdownLink, type DropdownProps };
|
package/dist/index.cjs
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkHTH2UTCLcjs = require('./chunk-HTH2UTCL.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunk6B7U7IWTcjs = require('./chunk-6B7U7IWT.cjs');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunkREZ4W4BZcjs = require('./chunk-REZ4W4BZ.cjs');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _chunk5SA5UPFQcjs = require('./chunk-5SA5UPFQ.cjs');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var _chunkOO3HHTPVcjs = require('./chunk-OO3HHTPV.cjs');
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var _chunkRDRDPR67cjs = require('./chunk-RDRDPR67.cjs');
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
var _chunkSV4L2FGTcjs = require('./chunk-SV4L2FGT.cjs');
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var _chunkBHHZBMD4cjs = require('./chunk-BHHZBMD4.cjs');
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
var _chunkCK4TY6B7cjs = require('./chunk-CK4TY6B7.cjs');
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
var _chunkMWJV72OMcjs = require('./chunk-MWJV72OM.cjs');
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
var _chunkTDFVUBGOcjs = require('./chunk-TDFVUBGO.cjs');
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
var _chunk2DFF5NELcjs = require('./chunk-2DFF5NEL.cjs');
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
exports.Accordion = _chunkSV4L2FGTcjs.Accordion; exports.Breadcrumb = _chunkRDRDPR67cjs.Breadcrumb; exports.BreadcrumbItem = _chunkRDRDPR67cjs.BreadcrumbItem; exports.BreadcrumbList = _chunkRDRDPR67cjs.BreadcrumbList; exports.BreadcrumbPage = _chunkRDRDPR67cjs.BreadcrumbPage; exports.Collapse = _chunkSV4L2FGTcjs.Collapse; exports.Drawer = _chunkBHHZBMD4cjs.Drawer; exports.DrawerContent = _chunkBHHZBMD4cjs.DrawerContent; exports.DrawerSidePanel = _chunkBHHZBMD4cjs.DrawerSidePanel; exports.DrawerTrigger = _chunkBHHZBMD4cjs.DrawerTrigger; exports.Dropdown = _chunkCK4TY6B7cjs.Dropdown; exports.DropdownItem = _chunkCK4TY6B7cjs.DropdownItem; exports.DropdownLink = _chunkCK4TY6B7cjs.DropdownLink; exports.FnKey = _chunkTDFVUBGOcjs.FnKey; exports.Input = _chunkMWJV72OMcjs.Input; exports.InputGroup = _chunkMWJV72OMcjs.InputGroup; exports.Kbd = _chunkTDFVUBGOcjs.Kbd; exports.Logo = _chunk6B7U7IWTcjs.Logo; exports.Modal = _chunkHTH2UTCLcjs.Modal; exports.NavMenu = _chunk6B7U7IWTcjs.NavMenu; exports.NavMenuLink = _chunk6B7U7IWTcjs.NavMenuLink; exports.Navbar = _chunk6B7U7IWTcjs.Navbar; exports.PaginationDocs = _chunkREZ4W4BZcjs.PaginationDocs; exports.ThemeControllerToggle = _chunk5SA5UPFQcjs.ThemeControllerToggle; exports.Toggle = _chunkOO3HHTPVcjs.Toggle; exports.ToggleGroup = _chunkOO3HHTPVcjs.ToggleGroup; exports.cn = _chunk2DFF5NELcjs.cn; exports.useDrawerState = _chunkBHHZBMD4cjs.useDrawerState; exports.useModal = _chunkHTH2UTCLcjs.useModal;
|
package/dist/index.d.cts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { cn } from './cn.cjs';
|
|
2
|
-
export { Input, InputColor, InputGroup, InputGroupProps, InputProps, InputSize } from './input.cjs';
|
|
3
|
-
export { FnKey, FnKeyIcons, Kbd, KbdProps, KbdSize } from './kbd.cjs';
|
|
4
|
-
export { Toggle, ToggleColor, ToggleGroup, ToggleGroupItem, ToggleGroupProps, ToggleProps, ToggleSize } from './toggle.cjs';
|
|
5
|
-
export { Dropdown, DropdownItem, DropdownItemProps, DropdownLink, DropdownProps } from './dropdown.cjs';
|
|
6
|
-
export { Modal, ModalProps, useModal } from './modal.cjs';
|
|
7
|
-
export { Drawer, DrawerContent, DrawerProps, DrawerSidePanel, DrawerSidePanelProps, DrawerTrigger, DrawerTriggerProps, useDrawerState } from './drawer.cjs';
|
|
8
|
-
export { Accordion, AccordionItem, AccordionProps, Collapse, CollapseProps } from './collapse.cjs';
|
|
9
|
-
export { ThemeControllerToggle, ThemeControllerToggleProps } from './theme-controller.cjs';
|
|
10
|
-
export { Logo, LogoProps, NavMenu, NavMenuItem, NavMenuLink, NavMenuProps, Navbar, NavbarProps } from './navbar.cjs';
|
|
11
|
-
export { Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbList, BreadcrumbPage, BreadcrumbProps } from './breadcrumbs.cjs';
|
|
12
|
-
export { PaginationDocs, PaginationDocsProps } from './pagination.cjs';
|
|
13
|
-
import 'clsx';
|
|
14
|
-
import 'react';
|
|
15
|
-
import './types-BZI5Cv8-.cjs';
|
package/dist/input.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkMWJV72OMcjs = require('./chunk-MWJV72OM.cjs');
|
|
6
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.Input = _chunkMWJV72OMcjs.Input; exports.InputGroup = _chunkMWJV72OMcjs.InputGroup;
|
package/dist/input.d.cts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { C as Color, a as Size } from './types-BZI5Cv8-.cjs';
|
|
3
|
-
|
|
4
|
-
type InputColor = Color;
|
|
5
|
-
type InputSize = Size | "xl";
|
|
6
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
-
color?: InputColor;
|
|
8
|
-
inputSize?: InputSize;
|
|
9
|
-
ghost?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
12
|
-
interface InputGroupProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLLabelElement>>;
|
|
16
|
-
|
|
17
|
-
export { Input, type InputColor, InputGroup, type InputGroupProps, type InputProps, type InputSize };
|
package/dist/input.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { C as Color, a as Size } from './types-BZI5Cv8-.js';
|
|
3
|
-
|
|
4
|
-
type InputColor = Color;
|
|
5
|
-
type InputSize = Size | "xl";
|
|
6
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
7
|
-
color?: InputColor;
|
|
8
|
-
inputSize?: InputSize;
|
|
9
|
-
ghost?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
12
|
-
interface InputGroupProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const InputGroup: react.ForwardRefExoticComponent<InputGroupProps & react.RefAttributes<HTMLLabelElement>>;
|
|
16
|
-
|
|
17
|
-
export { Input, type InputColor, InputGroup, type InputGroupProps, type InputProps, type InputSize };
|
package/dist/kbd.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkTDFVUBGOcjs = require('./chunk-TDFVUBGO.cjs');
|
|
6
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.FnKey = _chunkTDFVUBGOcjs.FnKey; exports.Kbd = _chunkTDFVUBGOcjs.Kbd;
|
package/dist/kbd.d.cts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { a as Size } from './types-BZI5Cv8-.cjs';
|
|
3
|
-
|
|
4
|
-
type KbdSize = Size | "xl";
|
|
5
|
-
interface KbdProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
size?: KbdSize;
|
|
8
|
-
}
|
|
9
|
-
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
10
|
-
|
|
11
|
-
type IconComponent = React.ComponentType<{
|
|
12
|
-
size?: number;
|
|
13
|
-
}>;
|
|
14
|
-
interface FnKeyIcons {
|
|
15
|
-
Command?: IconComponent;
|
|
16
|
-
Option?: IconComponent;
|
|
17
|
-
ArrowBigUp?: IconComponent;
|
|
18
|
-
CircleArrowOutUpLeft?: IconComponent;
|
|
19
|
-
Space?: IconComponent;
|
|
20
|
-
Delete?: IconComponent;
|
|
21
|
-
ArrowRightToLine?: IconComponent;
|
|
22
|
-
ChevronUp?: IconComponent;
|
|
23
|
-
ChevronDown?: IconComponent;
|
|
24
|
-
ChevronLeft?: IconComponent;
|
|
25
|
-
ChevronRight?: IconComponent;
|
|
26
|
-
}
|
|
27
|
-
declare const FnKey: {
|
|
28
|
-
configure(icons: FnKeyIcons): void;
|
|
29
|
-
Cmd: () => react.JSX.Element;
|
|
30
|
-
Option: () => react.JSX.Element;
|
|
31
|
-
Ctrl: () => react.JSX.Element;
|
|
32
|
-
Shift: () => react.JSX.Element;
|
|
33
|
-
Esc: () => react.JSX.Element;
|
|
34
|
-
Space: () => react.JSX.Element;
|
|
35
|
-
Delete: () => react.JSX.Element;
|
|
36
|
-
Tab: () => react.JSX.Element;
|
|
37
|
-
Up: () => react.JSX.Element;
|
|
38
|
-
Down: () => react.JSX.Element;
|
|
39
|
-
Left: () => react.JSX.Element;
|
|
40
|
-
Right: () => react.JSX.Element;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { FnKey, type FnKeyIcons, Kbd, type KbdProps, type KbdSize };
|
package/dist/kbd.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { a as Size } from './types-BZI5Cv8-.js';
|
|
3
|
-
|
|
4
|
-
type KbdSize = Size | "xl";
|
|
5
|
-
interface KbdProps extends React.HTMLAttributes<HTMLElement> {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
size?: KbdSize;
|
|
8
|
-
}
|
|
9
|
-
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
10
|
-
|
|
11
|
-
type IconComponent = React.ComponentType<{
|
|
12
|
-
size?: number;
|
|
13
|
-
}>;
|
|
14
|
-
interface FnKeyIcons {
|
|
15
|
-
Command?: IconComponent;
|
|
16
|
-
Option?: IconComponent;
|
|
17
|
-
ArrowBigUp?: IconComponent;
|
|
18
|
-
CircleArrowOutUpLeft?: IconComponent;
|
|
19
|
-
Space?: IconComponent;
|
|
20
|
-
Delete?: IconComponent;
|
|
21
|
-
ArrowRightToLine?: IconComponent;
|
|
22
|
-
ChevronUp?: IconComponent;
|
|
23
|
-
ChevronDown?: IconComponent;
|
|
24
|
-
ChevronLeft?: IconComponent;
|
|
25
|
-
ChevronRight?: IconComponent;
|
|
26
|
-
}
|
|
27
|
-
declare const FnKey: {
|
|
28
|
-
configure(icons: FnKeyIcons): void;
|
|
29
|
-
Cmd: () => react.JSX.Element;
|
|
30
|
-
Option: () => react.JSX.Element;
|
|
31
|
-
Ctrl: () => react.JSX.Element;
|
|
32
|
-
Shift: () => react.JSX.Element;
|
|
33
|
-
Esc: () => react.JSX.Element;
|
|
34
|
-
Space: () => react.JSX.Element;
|
|
35
|
-
Delete: () => react.JSX.Element;
|
|
36
|
-
Tab: () => react.JSX.Element;
|
|
37
|
-
Up: () => react.JSX.Element;
|
|
38
|
-
Down: () => react.JSX.Element;
|
|
39
|
-
Left: () => react.JSX.Element;
|
|
40
|
-
Right: () => react.JSX.Element;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { FnKey, type FnKeyIcons, Kbd, type KbdProps, type KbdSize };
|
package/dist/modal.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkHTH2UTCLcjs = require('./chunk-HTH2UTCL.cjs');
|
|
6
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.Modal = _chunkHTH2UTCLcjs.Modal; exports.useModal = _chunkHTH2UTCLcjs.useModal;
|
package/dist/modal.d.cts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { P as Placement } from './types-BZI5Cv8-.cjs';
|
|
3
|
-
|
|
4
|
-
interface ModalProps extends React.DialogHTMLAttributes<HTMLDialogElement> {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
closeOnBackdrop?: boolean;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
boxClassName?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDialogElement>>;
|
|
11
|
-
declare function useModal(): {
|
|
12
|
-
ref: react.RefObject<HTMLDialogElement | null>;
|
|
13
|
-
open: () => void;
|
|
14
|
-
close: () => void | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { Modal, type ModalProps, useModal };
|
package/dist/modal.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { P as Placement } from './types-BZI5Cv8-.js';
|
|
3
|
-
|
|
4
|
-
interface ModalProps extends React.DialogHTMLAttributes<HTMLDialogElement> {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
closeOnBackdrop?: boolean;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
boxClassName?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDialogElement>>;
|
|
11
|
-
declare function useModal(): {
|
|
12
|
-
ref: react.RefObject<HTMLDialogElement | null>;
|
|
13
|
-
open: () => void;
|
|
14
|
-
close: () => void | undefined;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { Modal, type ModalProps, useModal };
|
package/dist/navbar.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunk6B7U7IWTcjs = require('./chunk-6B7U7IWT.cjs');
|
|
7
|
-
require('./chunk-2DFF5NEL.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.Logo = _chunk6B7U7IWTcjs.Logo; exports.NavMenu = _chunk6B7U7IWTcjs.NavMenu; exports.NavMenuLink = _chunk6B7U7IWTcjs.NavMenuLink; exports.Navbar = _chunk6B7U7IWTcjs.Navbar;
|