@docubook/ui-react 0.1.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/README.md +126 -0
- package/dist/breadcrumbs.cjs +13 -0
- package/dist/breadcrumbs.d.cts +19 -0
- package/dist/breadcrumbs.d.ts +19 -0
- package/dist/breadcrumbs.js +14 -0
- package/dist/chunk-42YUT467.cjs +41 -0
- package/dist/chunk-4DCBYM74.js +42 -0
- package/dist/chunk-54N6HTQV.cjs +49 -0
- package/dist/chunk-7HHY2WDF.cjs +43 -0
- package/dist/chunk-ACEM5N2Y.cjs +123 -0
- package/dist/chunk-BCJ3FW3Y.cjs +66 -0
- package/dist/chunk-EJCGJCVK.cjs +89 -0
- package/dist/chunk-EN2X23AN.cjs +330 -0
- package/dist/chunk-FGJ6EYLA.js +90 -0
- package/dist/chunk-HTNZRBKW.js +67 -0
- package/dist/chunk-I4CZWV3M.js +124 -0
- package/dist/chunk-IBKH77YN.js +50 -0
- package/dist/chunk-KHU72DOY.cjs +25 -0
- package/dist/chunk-LJV3UIMK.cjs +53 -0
- package/dist/chunk-LUO4YXRQ.js +38 -0
- package/dist/chunk-NJKWNMJF.js +44 -0
- package/dist/chunk-OB6B2KN5.js +54 -0
- package/dist/chunk-OKMEBWPL.cjs +133 -0
- package/dist/chunk-PB4SHWMJ.cjs +101 -0
- package/dist/chunk-Q55KNNKE.js +26 -0
- package/dist/chunk-QZH7EIFW.js +134 -0
- package/dist/chunk-VRODU4ZV.cjs +37 -0
- package/dist/chunk-W5G2ZBYA.js +102 -0
- package/dist/chunk-ZMIZV66S.js +331 -0
- package/dist/cn.cjs +6 -0
- package/dist/cn.d.cts +4 -0
- package/dist/cn.d.ts +4 -0
- package/dist/cn.js +7 -0
- package/dist/collapse.cjs +12 -0
- package/dist/collapse.d.cts +31 -0
- package/dist/collapse.d.ts +31 -0
- package/dist/collapse.js +13 -0
- package/dist/drawer.cjs +16 -0
- package/dist/drawer.d.cts +44 -0
- package/dist/drawer.d.ts +44 -0
- package/dist/drawer.js +17 -0
- package/dist/dropdown.cjs +12 -0
- package/dist/dropdown.d.cts +20 -0
- package/dist/dropdown.d.ts +20 -0
- package/dist/dropdown.js +13 -0
- package/dist/index.cjs +96 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +97 -0
- package/dist/input.cjs +9 -0
- package/dist/input.d.cts +17 -0
- package/dist/input.d.ts +17 -0
- package/dist/input.js +10 -0
- package/dist/kbd.cjs +9 -0
- package/dist/kbd.d.cts +27 -0
- package/dist/kbd.d.ts +27 -0
- package/dist/kbd.js +10 -0
- package/dist/modal.cjs +10 -0
- package/dist/modal.d.cts +17 -0
- package/dist/modal.d.ts +17 -0
- package/dist/modal.js +11 -0
- package/dist/navbar.cjs +13 -0
- package/dist/navbar.d.cts +36 -0
- package/dist/navbar.d.ts +36 -0
- package/dist/navbar.js +14 -0
- package/dist/pagination.cjs +20 -0
- package/dist/pagination.d.cts +88 -0
- package/dist/pagination.d.ts +88 -0
- package/dist/pagination.js +21 -0
- package/dist/theme-controller.cjs +8 -0
- package/dist/theme-controller.d.cts +21 -0
- package/dist/theme-controller.d.ts +21 -0
- package/dist/theme-controller.js +9 -0
- package/dist/toggle.cjs +10 -0
- package/dist/toggle.d.cts +36 -0
- package/dist/toggle.d.ts +36 -0
- package/dist/toggle.js +11 -0
- package/dist/types-BZI5Cv8-.d.cts +6 -0
- package/dist/types-BZI5Cv8-.d.ts +6 -0
- package/package.json +200 -0
|
@@ -0,0 +1,20 @@
|
|
|
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 };
|
|
@@ -0,0 +1,20 @@
|
|
|
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.js
ADDED
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk54N6HTQVcjs = require('./chunk-54N6HTQV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkLJV3UIMKcjs = require('./chunk-LJV3UIMK.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkEN2X23ANcjs = require('./chunk-EN2X23AN.cjs');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
var _chunkBCJ3FW3Ycjs = require('./chunk-BCJ3FW3Y.cjs');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
var _chunkACEM5N2Ycjs = require('./chunk-ACEM5N2Y.cjs');
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
var _chunkKHU72DOYcjs = require('./chunk-KHU72DOY.cjs');
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var _chunkOKMEBWPLcjs = require('./chunk-OKMEBWPL.cjs');
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
var _chunkPB4SHWMJcjs = require('./chunk-PB4SHWMJ.cjs');
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkEJCGJCVKcjs = require('./chunk-EJCGJCVK.cjs');
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
var _chunk42YUT467cjs = require('./chunk-42YUT467.cjs');
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var _chunkVRODU4ZVcjs = require('./chunk-VRODU4ZV.cjs');
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
var _chunk7HHY2WDFcjs = require('./chunk-7HHY2WDF.cjs');
|
|
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
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
exports.Accordion = _chunkOKMEBWPLcjs.Accordion; exports.Breadcrumb = _chunkKHU72DOYcjs.Breadcrumb; exports.BreadcrumbItem = _chunkKHU72DOYcjs.BreadcrumbItem; exports.BreadcrumbList = _chunkKHU72DOYcjs.BreadcrumbList; exports.BreadcrumbPage = _chunkKHU72DOYcjs.BreadcrumbPage; exports.Collapse = _chunkOKMEBWPLcjs.Collapse; exports.Drawer = _chunkPB4SHWMJcjs.Drawer; exports.DrawerContent = _chunkPB4SHWMJcjs.DrawerContent; exports.DrawerSidePanel = _chunkPB4SHWMJcjs.DrawerSidePanel; exports.DrawerTrigger = _chunkPB4SHWMJcjs.DrawerTrigger; exports.Dropdown = _chunkEJCGJCVKcjs.Dropdown; exports.DropdownItem = _chunkEJCGJCVKcjs.DropdownItem; exports.DropdownLink = _chunkEJCGJCVKcjs.DropdownLink; exports.FnKey = _chunkVRODU4ZVcjs.FnKey; exports.Input = _chunk42YUT467cjs.Input; exports.InputGroup = _chunk42YUT467cjs.InputGroup; exports.Kbd = _chunkVRODU4ZVcjs.Kbd; exports.Logo = _chunkLJV3UIMKcjs.Logo; exports.Modal = _chunk54N6HTQVcjs.Modal; exports.NavMenu = _chunkLJV3UIMKcjs.NavMenu; exports.NavMenuLink = _chunkLJV3UIMKcjs.NavMenuLink; exports.Navbar = _chunkLJV3UIMKcjs.Navbar; exports.PaginationButtons = _chunkEN2X23ANcjs.PaginationButtons; exports.PaginationDocs = _chunkEN2X23ANcjs.PaginationDocs; exports.PaginationFull = _chunkEN2X23ANcjs.PaginationFull; exports.PaginationInfo = _chunkEN2X23ANcjs.PaginationInfo; exports.PaginationItem = _chunkEN2X23ANcjs.PaginationItem; exports.PaginationRange = _chunkEN2X23ANcjs.PaginationRange; exports.ThemeControllerToggle = _chunkBCJ3FW3Ycjs.ThemeControllerToggle; exports.Toggle = _chunkACEM5N2Ycjs.Toggle; exports.ToggleGroup = _chunkACEM5N2Ycjs.ToggleGroup; exports.cn = _chunk7HHY2WDFcjs.cn; exports.getPaginationRange = _chunkEN2X23ANcjs.getPaginationRange; exports.useDrawerState = _chunkPB4SHWMJcjs.useDrawerState; exports.useModal = _chunk54N6HTQVcjs.useModal;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { cn } from './cn.cjs';
|
|
2
|
+
export { Input, InputColor, InputGroup, InputGroupProps, InputProps, InputSize } from './input.cjs';
|
|
3
|
+
export { FnKey, 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 { PaginationButtons, PaginationButtonsProps, PaginationDocs, PaginationDocsProps, PaginationFull, PaginationFullProps, PaginationInfo, PaginationInfoProps, PaginationItem, PaginationItemProps, PaginationRange, PaginationRangeProps, PaginationSize, PaginationVariant, getPaginationRange } from './pagination.cjs';
|
|
13
|
+
import 'react';
|
|
14
|
+
import './types-BZI5Cv8-.cjs';
|
|
15
|
+
import 'react/jsx-runtime';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { cn } from './cn.js';
|
|
2
|
+
export { Input, InputColor, InputGroup, InputGroupProps, InputProps, InputSize } from './input.js';
|
|
3
|
+
export { FnKey, Kbd, KbdProps, KbdSize } from './kbd.js';
|
|
4
|
+
export { Toggle, ToggleColor, ToggleGroup, ToggleGroupItem, ToggleGroupProps, ToggleProps, ToggleSize } from './toggle.js';
|
|
5
|
+
export { Dropdown, DropdownItem, DropdownItemProps, DropdownLink, DropdownProps } from './dropdown.js';
|
|
6
|
+
export { Modal, ModalProps, useModal } from './modal.js';
|
|
7
|
+
export { Drawer, DrawerContent, DrawerProps, DrawerSidePanel, DrawerSidePanelProps, DrawerTrigger, DrawerTriggerProps, useDrawerState } from './drawer.js';
|
|
8
|
+
export { Accordion, AccordionItem, AccordionProps, Collapse, CollapseProps } from './collapse.js';
|
|
9
|
+
export { ThemeControllerToggle, ThemeControllerToggleProps } from './theme-controller.js';
|
|
10
|
+
export { Logo, LogoProps, NavMenu, NavMenuItem, NavMenuLink, NavMenuProps, Navbar, NavbarProps } from './navbar.js';
|
|
11
|
+
export { Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbList, BreadcrumbPage, BreadcrumbProps } from './breadcrumbs.js';
|
|
12
|
+
export { PaginationButtons, PaginationButtonsProps, PaginationDocs, PaginationDocsProps, PaginationFull, PaginationFullProps, PaginationInfo, PaginationInfoProps, PaginationItem, PaginationItemProps, PaginationRange, PaginationRangeProps, PaginationSize, PaginationVariant, getPaginationRange } from './pagination.js';
|
|
13
|
+
import 'react';
|
|
14
|
+
import './types-BZI5Cv8-.js';
|
|
15
|
+
import 'react/jsx-runtime';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Modal,
|
|
4
|
+
useModal
|
|
5
|
+
} from "./chunk-IBKH77YN.js";
|
|
6
|
+
import {
|
|
7
|
+
Logo,
|
|
8
|
+
NavMenu,
|
|
9
|
+
NavMenuLink,
|
|
10
|
+
Navbar
|
|
11
|
+
} from "./chunk-OB6B2KN5.js";
|
|
12
|
+
import {
|
|
13
|
+
PaginationButtons,
|
|
14
|
+
PaginationDocs,
|
|
15
|
+
PaginationFull,
|
|
16
|
+
PaginationInfo,
|
|
17
|
+
PaginationItem,
|
|
18
|
+
PaginationRange,
|
|
19
|
+
getPaginationRange
|
|
20
|
+
} from "./chunk-ZMIZV66S.js";
|
|
21
|
+
import {
|
|
22
|
+
ThemeControllerToggle
|
|
23
|
+
} from "./chunk-HTNZRBKW.js";
|
|
24
|
+
import {
|
|
25
|
+
Toggle,
|
|
26
|
+
ToggleGroup
|
|
27
|
+
} from "./chunk-I4CZWV3M.js";
|
|
28
|
+
import {
|
|
29
|
+
Breadcrumb,
|
|
30
|
+
BreadcrumbItem,
|
|
31
|
+
BreadcrumbList,
|
|
32
|
+
BreadcrumbPage
|
|
33
|
+
} from "./chunk-Q55KNNKE.js";
|
|
34
|
+
import {
|
|
35
|
+
Accordion,
|
|
36
|
+
Collapse
|
|
37
|
+
} from "./chunk-QZH7EIFW.js";
|
|
38
|
+
import {
|
|
39
|
+
Drawer,
|
|
40
|
+
DrawerContent,
|
|
41
|
+
DrawerSidePanel,
|
|
42
|
+
DrawerTrigger,
|
|
43
|
+
useDrawerState
|
|
44
|
+
} from "./chunk-W5G2ZBYA.js";
|
|
45
|
+
import {
|
|
46
|
+
Dropdown,
|
|
47
|
+
DropdownItem,
|
|
48
|
+
DropdownLink
|
|
49
|
+
} from "./chunk-FGJ6EYLA.js";
|
|
50
|
+
import {
|
|
51
|
+
Input,
|
|
52
|
+
InputGroup
|
|
53
|
+
} from "./chunk-4DCBYM74.js";
|
|
54
|
+
import {
|
|
55
|
+
FnKey,
|
|
56
|
+
Kbd
|
|
57
|
+
} from "./chunk-LUO4YXRQ.js";
|
|
58
|
+
import {
|
|
59
|
+
cn
|
|
60
|
+
} from "./chunk-NJKWNMJF.js";
|
|
61
|
+
export {
|
|
62
|
+
Accordion,
|
|
63
|
+
Breadcrumb,
|
|
64
|
+
BreadcrumbItem,
|
|
65
|
+
BreadcrumbList,
|
|
66
|
+
BreadcrumbPage,
|
|
67
|
+
Collapse,
|
|
68
|
+
Drawer,
|
|
69
|
+
DrawerContent,
|
|
70
|
+
DrawerSidePanel,
|
|
71
|
+
DrawerTrigger,
|
|
72
|
+
Dropdown,
|
|
73
|
+
DropdownItem,
|
|
74
|
+
DropdownLink,
|
|
75
|
+
FnKey,
|
|
76
|
+
Input,
|
|
77
|
+
InputGroup,
|
|
78
|
+
Kbd,
|
|
79
|
+
Logo,
|
|
80
|
+
Modal,
|
|
81
|
+
NavMenu,
|
|
82
|
+
NavMenuLink,
|
|
83
|
+
Navbar,
|
|
84
|
+
PaginationButtons,
|
|
85
|
+
PaginationDocs,
|
|
86
|
+
PaginationFull,
|
|
87
|
+
PaginationInfo,
|
|
88
|
+
PaginationItem,
|
|
89
|
+
PaginationRange,
|
|
90
|
+
ThemeControllerToggle,
|
|
91
|
+
Toggle,
|
|
92
|
+
ToggleGroup,
|
|
93
|
+
cn,
|
|
94
|
+
getPaginationRange,
|
|
95
|
+
useDrawerState,
|
|
96
|
+
useModal
|
|
97
|
+
};
|
package/dist/input.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk42YUT467cjs = require('./chunk-42YUT467.cjs');
|
|
5
|
+
require('./chunk-7HHY2WDF.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.Input = _chunk42YUT467cjs.Input; exports.InputGroup = _chunk42YUT467cjs.InputGroup;
|
package/dist/input.d.cts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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/input.js
ADDED
package/dist/kbd.cjs
ADDED
package/dist/kbd.d.cts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { a as Size } from './types-BZI5Cv8-.cjs';
|
|
4
|
+
|
|
5
|
+
type KbdSize = Size | "xl";
|
|
6
|
+
interface KbdProps extends React.HTMLAttributes<HTMLElement> {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
size?: KbdSize;
|
|
9
|
+
}
|
|
10
|
+
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
11
|
+
|
|
12
|
+
declare const FnKey: {
|
|
13
|
+
Cmd: () => react_jsx_runtime.JSX.Element;
|
|
14
|
+
Option: () => react_jsx_runtime.JSX.Element;
|
|
15
|
+
Ctrl: () => react_jsx_runtime.JSX.Element;
|
|
16
|
+
Shift: () => react_jsx_runtime.JSX.Element;
|
|
17
|
+
Esc: () => react_jsx_runtime.JSX.Element;
|
|
18
|
+
Space: () => react_jsx_runtime.JSX.Element;
|
|
19
|
+
Delete: () => react_jsx_runtime.JSX.Element;
|
|
20
|
+
Tab: () => react_jsx_runtime.JSX.Element;
|
|
21
|
+
Up: () => react_jsx_runtime.JSX.Element;
|
|
22
|
+
Down: () => react_jsx_runtime.JSX.Element;
|
|
23
|
+
Left: () => react_jsx_runtime.JSX.Element;
|
|
24
|
+
Right: () => react_jsx_runtime.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { FnKey, Kbd, type KbdProps, type KbdSize };
|
package/dist/kbd.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { a as Size } from './types-BZI5Cv8-.js';
|
|
4
|
+
|
|
5
|
+
type KbdSize = Size | "xl";
|
|
6
|
+
interface KbdProps extends React.HTMLAttributes<HTMLElement> {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
size?: KbdSize;
|
|
9
|
+
}
|
|
10
|
+
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
11
|
+
|
|
12
|
+
declare const FnKey: {
|
|
13
|
+
Cmd: () => react_jsx_runtime.JSX.Element;
|
|
14
|
+
Option: () => react_jsx_runtime.JSX.Element;
|
|
15
|
+
Ctrl: () => react_jsx_runtime.JSX.Element;
|
|
16
|
+
Shift: () => react_jsx_runtime.JSX.Element;
|
|
17
|
+
Esc: () => react_jsx_runtime.JSX.Element;
|
|
18
|
+
Space: () => react_jsx_runtime.JSX.Element;
|
|
19
|
+
Delete: () => react_jsx_runtime.JSX.Element;
|
|
20
|
+
Tab: () => react_jsx_runtime.JSX.Element;
|
|
21
|
+
Up: () => react_jsx_runtime.JSX.Element;
|
|
22
|
+
Down: () => react_jsx_runtime.JSX.Element;
|
|
23
|
+
Left: () => react_jsx_runtime.JSX.Element;
|
|
24
|
+
Right: () => react_jsx_runtime.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { FnKey, Kbd, type KbdProps, type KbdSize };
|
package/dist/kbd.js
ADDED
package/dist/modal.cjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk54N6HTQVcjs = require('./chunk-54N6HTQV.cjs');
|
|
6
|
+
require('./chunk-7HHY2WDF.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.Modal = _chunk54N6HTQVcjs.Modal; exports.useModal = _chunk54N6HTQVcjs.useModal;
|
package/dist/modal.d.cts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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/modal.js
ADDED
package/dist/navbar.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkLJV3UIMKcjs = require('./chunk-LJV3UIMK.cjs');
|
|
7
|
+
require('./chunk-7HHY2WDF.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.Logo = _chunkLJV3UIMKcjs.Logo; exports.NavMenu = _chunkLJV3UIMKcjs.NavMenu; exports.NavMenuLink = _chunkLJV3UIMKcjs.NavMenuLink; exports.Navbar = _chunkLJV3UIMKcjs.Navbar;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
interface NavbarProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
interface LogoProps {
|
|
11
|
+
src?: string;
|
|
12
|
+
alt?: string;
|
|
13
|
+
text?: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
interface NavMenuItem {
|
|
18
|
+
title: string;
|
|
19
|
+
href: string;
|
|
20
|
+
isExternal?: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface NavMenuProps {
|
|
23
|
+
items: NavMenuItem[];
|
|
24
|
+
activePath?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
declare function Navbar({ id, children, className, style }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare function Logo({ src, alt, text, href, className }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function NavMenu({ items, activePath, className }: NavMenuProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function NavMenuLink({ item, isActive, className, }: {
|
|
31
|
+
item: NavMenuItem;
|
|
32
|
+
isActive?: boolean;
|
|
33
|
+
className?: string;
|
|
34
|
+
}): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
export { Logo, type LogoProps, NavMenu, type NavMenuItem, NavMenuLink, type NavMenuProps, Navbar, type NavbarProps };
|
package/dist/navbar.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
+
|
|
4
|
+
interface NavbarProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
interface LogoProps {
|
|
11
|
+
src?: string;
|
|
12
|
+
alt?: string;
|
|
13
|
+
text?: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
interface NavMenuItem {
|
|
18
|
+
title: string;
|
|
19
|
+
href: string;
|
|
20
|
+
isExternal?: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface NavMenuProps {
|
|
23
|
+
items: NavMenuItem[];
|
|
24
|
+
activePath?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
declare function Navbar({ id, children, className, style }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
declare function Logo({ src, alt, text, href, className }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function NavMenu({ items, activePath, className }: NavMenuProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function NavMenuLink({ item, isActive, className, }: {
|
|
31
|
+
item: NavMenuItem;
|
|
32
|
+
isActive?: boolean;
|
|
33
|
+
className?: string;
|
|
34
|
+
}): react_jsx_runtime.JSX.Element;
|
|
35
|
+
|
|
36
|
+
export { Logo, type LogoProps, NavMenu, type NavMenuItem, NavMenuLink, type NavMenuProps, Navbar, type NavbarProps };
|
package/dist/navbar.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkEN2X23ANcjs = require('./chunk-EN2X23AN.cjs');
|
|
11
|
+
require('./chunk-7HHY2WDF.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.PaginationButtons = _chunkEN2X23ANcjs.PaginationButtons; exports.PaginationDocs = _chunkEN2X23ANcjs.PaginationDocs; exports.PaginationFull = _chunkEN2X23ANcjs.PaginationFull; exports.PaginationInfo = _chunkEN2X23ANcjs.PaginationInfo; exports.PaginationItem = _chunkEN2X23ANcjs.PaginationItem; exports.PaginationRange = _chunkEN2X23ANcjs.PaginationRange; exports.getPaginationRange = _chunkEN2X23ANcjs.getPaginationRange;
|