@docubook/ui-react 0.1.3 → 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Wildan Nursahidan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  interface BreadcrumbProps {
@@ -9,11 +9,11 @@ interface BreadcrumbItemProps {
9
9
  children: ReactNode;
10
10
  className?: string;
11
11
  }
12
- declare function Breadcrumb({ children, className }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
13
- declare function BreadcrumbItem({ children, className }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
14
- declare function BreadcrumbPage({ children, className }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
12
+ declare function Breadcrumb({ children, className }: BreadcrumbProps): react.JSX.Element;
13
+ declare function BreadcrumbItem({ children, className }: BreadcrumbItemProps): react.JSX.Element;
14
+ declare function BreadcrumbPage({ children, className }: BreadcrumbItemProps): react.JSX.Element;
15
15
  declare function BreadcrumbList({ children }: {
16
16
  children: React.ReactNode;
17
- }): react_jsx_runtime.JSX.Element;
17
+ }): react.JSX.Element;
18
18
 
19
19
  export { Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbList, BreadcrumbPage, type BreadcrumbProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  interface BreadcrumbProps {
@@ -9,11 +9,11 @@ interface BreadcrumbItemProps {
9
9
  children: ReactNode;
10
10
  className?: string;
11
11
  }
12
- declare function Breadcrumb({ children, className }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
13
- declare function BreadcrumbItem({ children, className }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
14
- declare function BreadcrumbPage({ children, className }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
12
+ declare function Breadcrumb({ children, className }: BreadcrumbProps): react.JSX.Element;
13
+ declare function BreadcrumbItem({ children, className }: BreadcrumbItemProps): react.JSX.Element;
14
+ declare function BreadcrumbPage({ children, className }: BreadcrumbItemProps): react.JSX.Element;
15
15
  declare function BreadcrumbList({ children }: {
16
16
  children: React.ReactNode;
17
- }): react_jsx_runtime.JSX.Element;
17
+ }): react.JSX.Element;
18
18
 
19
19
  export { Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbList, BreadcrumbPage, type BreadcrumbProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  type CollapseVariant = "arrow" | "plus";
@@ -13,7 +13,7 @@ interface CollapseProps {
13
13
  contentClassName?: string;
14
14
  disabled?: boolean;
15
15
  }
16
- declare function Collapse({ title, children, defaultOpen, onOpenChange, variant, className, titleClassName, contentClassName, disabled, }: CollapseProps): react_jsx_runtime.JSX.Element;
16
+ declare function Collapse({ title, children, defaultOpen, onOpenChange, variant, className, titleClassName, contentClassName, disabled, }: CollapseProps): react.JSX.Element;
17
17
  interface AccordionItem {
18
18
  id: string;
19
19
  title: ReactNode;
@@ -26,6 +26,6 @@ interface AccordionProps {
26
26
  className?: string;
27
27
  allowMultiple?: boolean;
28
28
  }
29
- declare function Accordion({ items, defaultOpen, variant, className, allowMultiple, }: AccordionProps): react_jsx_runtime.JSX.Element;
29
+ declare function Accordion({ items, defaultOpen, variant, className, allowMultiple, }: AccordionProps): react.JSX.Element;
30
30
 
31
31
  export { Accordion, type AccordionItem, type AccordionProps, Collapse, type CollapseProps, type CollapseVariant, Collapse as default };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  type CollapseVariant = "arrow" | "plus";
@@ -13,7 +13,7 @@ interface CollapseProps {
13
13
  contentClassName?: string;
14
14
  disabled?: boolean;
15
15
  }
16
- declare function Collapse({ title, children, defaultOpen, onOpenChange, variant, className, titleClassName, contentClassName, disabled, }: CollapseProps): react_jsx_runtime.JSX.Element;
16
+ declare function Collapse({ title, children, defaultOpen, onOpenChange, variant, className, titleClassName, contentClassName, disabled, }: CollapseProps): react.JSX.Element;
17
17
  interface AccordionItem {
18
18
  id: string;
19
19
  title: ReactNode;
@@ -26,6 +26,6 @@ interface AccordionProps {
26
26
  className?: string;
27
27
  allowMultiple?: boolean;
28
28
  }
29
- declare function Accordion({ items, defaultOpen, variant, className, allowMultiple, }: AccordionProps): react_jsx_runtime.JSX.Element;
29
+ declare function Accordion({ items, defaultOpen, variant, className, allowMultiple, }: AccordionProps): react.JSX.Element;
30
30
 
31
31
  export { Accordion, type AccordionItem, type AccordionProps, Collapse, type CollapseProps, type CollapseVariant, Collapse as default };
package/dist/drawer.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { S as Side } from './types-BZI5Cv8-.cjs';
4
4
 
@@ -14,7 +14,7 @@ interface DrawerProps {
14
14
  contentClassName?: string;
15
15
  className?: string;
16
16
  }
17
- declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
17
+ declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react.JSX.Element;
18
18
  declare function useDrawerState(initialState?: boolean): {
19
19
  isOpen: boolean;
20
20
  open: () => void;
@@ -26,7 +26,7 @@ interface DrawerTriggerProps {
26
26
  children: ReactNode;
27
27
  className?: string;
28
28
  }
29
- declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react_jsx_runtime.JSX.Element;
29
+ declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react.JSX.Element;
30
30
  interface DrawerSidePanelProps {
31
31
  id: string;
32
32
  children: ReactNode;
@@ -35,10 +35,10 @@ interface DrawerSidePanelProps {
35
35
  overlayClassName?: string;
36
36
  className?: string;
37
37
  }
38
- declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react_jsx_runtime.JSX.Element;
38
+ declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react.JSX.Element;
39
39
  declare function DrawerContent({ children, className, }: {
40
40
  children: React.ReactNode;
41
41
  className?: string;
42
- }): react_jsx_runtime.JSX.Element;
42
+ }): react.JSX.Element;
43
43
 
44
44
  export { Drawer, DrawerContent, type DrawerProps, DrawerSidePanel, type DrawerSidePanelProps, DrawerTrigger, type DrawerTriggerProps, useDrawerState };
package/dist/drawer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { S as Side } from './types-BZI5Cv8-.js';
4
4
 
@@ -14,7 +14,7 @@ interface DrawerProps {
14
14
  contentClassName?: string;
15
15
  className?: string;
16
16
  }
17
- declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
17
+ declare function Drawer({ id, children, defaultOpen, side, breakpoint, withOverlay, overlayClassName, sideClassName, contentClassName, className, }: DrawerProps): react.JSX.Element;
18
18
  declare function useDrawerState(initialState?: boolean): {
19
19
  isOpen: boolean;
20
20
  open: () => void;
@@ -26,7 +26,7 @@ interface DrawerTriggerProps {
26
26
  children: ReactNode;
27
27
  className?: string;
28
28
  }
29
- declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react_jsx_runtime.JSX.Element;
29
+ declare function DrawerTrigger({ drawerId, children, className }: DrawerTriggerProps): react.JSX.Element;
30
30
  interface DrawerSidePanelProps {
31
31
  id: string;
32
32
  children: ReactNode;
@@ -35,10 +35,10 @@ interface DrawerSidePanelProps {
35
35
  overlayClassName?: string;
36
36
  className?: string;
37
37
  }
38
- declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react_jsx_runtime.JSX.Element;
38
+ declare function DrawerSidePanel({ id, children, side, withOverlay, overlayClassName, className, }: DrawerSidePanelProps): react.JSX.Element;
39
39
  declare function DrawerContent({ children, className, }: {
40
40
  children: React.ReactNode;
41
41
  className?: string;
42
- }): react_jsx_runtime.JSX.Element;
42
+ }): react.JSX.Element;
43
43
 
44
44
  export { Drawer, DrawerContent, type DrawerProps, DrawerSidePanel, type DrawerSidePanelProps, DrawerTrigger, type DrawerTriggerProps, useDrawerState };
package/dist/index.d.cts CHANGED
@@ -13,4 +13,3 @@ export { PaginationDocs, PaginationDocsProps } from './pagination.cjs';
13
13
  import 'clsx';
14
14
  import 'react';
15
15
  import './types-BZI5Cv8-.cjs';
16
- import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -13,4 +13,3 @@ export { PaginationDocs, PaginationDocsProps } from './pagination.js';
13
13
  import 'clsx';
14
14
  import 'react';
15
15
  import './types-BZI5Cv8-.js';
16
- import 'react/jsx-runtime';
package/dist/kbd.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { a as Size } from './types-BZI5Cv8-.cjs';
4
3
 
@@ -27,18 +26,18 @@ interface FnKeyIcons {
27
26
  }
28
27
  declare const FnKey: {
29
28
  configure(icons: FnKeyIcons): void;
30
- Cmd: () => react_jsx_runtime.JSX.Element;
31
- Option: () => react_jsx_runtime.JSX.Element;
32
- Ctrl: () => react_jsx_runtime.JSX.Element;
33
- Shift: () => react_jsx_runtime.JSX.Element;
34
- Esc: () => react_jsx_runtime.JSX.Element;
35
- Space: () => react_jsx_runtime.JSX.Element;
36
- Delete: () => react_jsx_runtime.JSX.Element;
37
- Tab: () => react_jsx_runtime.JSX.Element;
38
- Up: () => react_jsx_runtime.JSX.Element;
39
- Down: () => react_jsx_runtime.JSX.Element;
40
- Left: () => react_jsx_runtime.JSX.Element;
41
- Right: () => react_jsx_runtime.JSX.Element;
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;
42
41
  };
43
42
 
44
43
  export { FnKey, type FnKeyIcons, Kbd, type KbdProps, type KbdSize };
package/dist/kbd.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { a as Size } from './types-BZI5Cv8-.js';
4
3
 
@@ -27,18 +26,18 @@ interface FnKeyIcons {
27
26
  }
28
27
  declare const FnKey: {
29
28
  configure(icons: FnKeyIcons): void;
30
- Cmd: () => react_jsx_runtime.JSX.Element;
31
- Option: () => react_jsx_runtime.JSX.Element;
32
- Ctrl: () => react_jsx_runtime.JSX.Element;
33
- Shift: () => react_jsx_runtime.JSX.Element;
34
- Esc: () => react_jsx_runtime.JSX.Element;
35
- Space: () => react_jsx_runtime.JSX.Element;
36
- Delete: () => react_jsx_runtime.JSX.Element;
37
- Tab: () => react_jsx_runtime.JSX.Element;
38
- Up: () => react_jsx_runtime.JSX.Element;
39
- Down: () => react_jsx_runtime.JSX.Element;
40
- Left: () => react_jsx_runtime.JSX.Element;
41
- Right: () => react_jsx_runtime.JSX.Element;
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;
42
41
  };
43
42
 
44
43
  export { FnKey, type FnKeyIcons, Kbd, type KbdProps, type KbdSize };
package/dist/navbar.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode, CSSProperties } from 'react';
3
3
 
4
4
  interface NavbarProps {
@@ -24,13 +24,13 @@ interface NavMenuProps {
24
24
  activePath?: string;
25
25
  className?: string;
26
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;
27
+ declare function Navbar({ id, children, className, style }: NavbarProps): react.JSX.Element;
28
+ declare function Logo({ src, alt, text, href, className }: LogoProps): react.JSX.Element;
29
+ declare function NavMenu({ items, activePath, className }: NavMenuProps): react.JSX.Element;
30
30
  declare function NavMenuLink({ item, isActive, className, }: {
31
31
  item: NavMenuItem;
32
32
  isActive?: boolean;
33
33
  className?: string;
34
- }): react_jsx_runtime.JSX.Element;
34
+ }): react.JSX.Element;
35
35
 
36
36
  export { Logo, type LogoProps, NavMenu, type NavMenuItem, NavMenuLink, type NavMenuProps, Navbar, type NavbarProps };
package/dist/navbar.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode, CSSProperties } from 'react';
3
3
 
4
4
  interface NavbarProps {
@@ -24,13 +24,13 @@ interface NavMenuProps {
24
24
  activePath?: string;
25
25
  className?: string;
26
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;
27
+ declare function Navbar({ id, children, className, style }: NavbarProps): react.JSX.Element;
28
+ declare function Logo({ src, alt, text, href, className }: LogoProps): react.JSX.Element;
29
+ declare function NavMenu({ items, activePath, className }: NavMenuProps): react.JSX.Element;
30
30
  declare function NavMenuLink({ item, isActive, className, }: {
31
31
  item: NavMenuItem;
32
32
  isActive?: boolean;
33
33
  className?: string;
34
- }): react_jsx_runtime.JSX.Element;
34
+ }): react.JSX.Element;
35
35
 
36
36
  export { Logo, type LogoProps, NavMenu, type NavMenuItem, NavMenuLink, type NavMenuProps, Navbar, type NavbarProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  interface PaginationDocsProps {
@@ -15,6 +15,6 @@ interface PaginationDocsProps {
15
15
  nextIcon?: ReactNode;
16
16
  linkClassName?: string;
17
17
  }
18
- declare function PaginationDocs({ prev, next, className, prevIcon, nextIcon, linkClassName, }: PaginationDocsProps): react_jsx_runtime.JSX.Element;
18
+ declare function PaginationDocs({ prev, next, className, prevIcon, nextIcon, linkClassName, }: PaginationDocsProps): react.JSX.Element;
19
19
 
20
20
  export { PaginationDocs, type PaginationDocsProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
4
  interface PaginationDocsProps {
@@ -15,6 +15,6 @@ interface PaginationDocsProps {
15
15
  nextIcon?: ReactNode;
16
16
  linkClassName?: string;
17
17
  }
18
- declare function PaginationDocs({ prev, next, className, prevIcon, nextIcon, linkClassName, }: PaginationDocsProps): react_jsx_runtime.JSX.Element;
18
+ declare function PaginationDocs({ prev, next, className, prevIcon, nextIcon, linkClassName, }: PaginationDocsProps): react.JSX.Element;
19
19
 
20
20
  export { PaginationDocs, type PaginationDocsProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { a as Size } from './types-BZI5Cv8-.cjs';
4
4
 
@@ -16,6 +16,6 @@ interface ThemeControllerToggleProps {
16
16
  toggle: (checked: boolean) => void;
17
17
  }) => ReactNode;
18
18
  }
19
- declare function ThemeControllerToggle({ defaultTheme, lightTheme, darkTheme, onThemeChange, className, label, size, children, }: ThemeControllerToggleProps): react_jsx_runtime.JSX.Element;
19
+ declare function ThemeControllerToggle({ defaultTheme, lightTheme, darkTheme, onThemeChange, className, label, size, children, }: ThemeControllerToggleProps): react.JSX.Element;
20
20
 
21
21
  export { ThemeControllerToggle, type ThemeControllerToggleProps };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { a as Size } from './types-BZI5Cv8-.js';
4
4
 
@@ -16,6 +16,6 @@ interface ThemeControllerToggleProps {
16
16
  toggle: (checked: boolean) => void;
17
17
  }) => ReactNode;
18
18
  }
19
- declare function ThemeControllerToggle({ defaultTheme, lightTheme, darkTheme, onThemeChange, className, label, size, children, }: ThemeControllerToggleProps): react_jsx_runtime.JSX.Element;
19
+ declare function ThemeControllerToggle({ defaultTheme, lightTheme, darkTheme, onThemeChange, className, label, size, children, }: ThemeControllerToggleProps): react.JSX.Element;
20
20
 
21
21
  export { ThemeControllerToggle, type ThemeControllerToggleProps };
package/dist/toggle.d.cts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { InputHTMLAttributes, ReactNode } from 'react';
4
3
  import { C as Color, a as Size } from './types-BZI5Cv8-.cjs';
@@ -31,6 +30,6 @@ interface ToggleGroupProps {
31
30
  controlled?: boolean;
32
31
  className?: string;
33
32
  }
34
- declare function ToggleGroup({ items, value, defaultValue, onChange, color, size, controlled, className, }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
33
+ declare function ToggleGroup({ items, value, defaultValue, onChange, color, size, controlled, className, }: ToggleGroupProps): react.JSX.Element;
35
34
 
36
35
  export { Toggle, type ToggleColor, ToggleGroup, type ToggleGroupItem, type ToggleGroupProps, type ToggleProps, type ToggleSize };
package/dist/toggle.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { InputHTMLAttributes, ReactNode } from 'react';
4
3
  import { C as Color, a as Size } from './types-BZI5Cv8-.js';
@@ -31,6 +30,6 @@ interface ToggleGroupProps {
31
30
  controlled?: boolean;
32
31
  className?: string;
33
32
  }
34
- declare function ToggleGroup({ items, value, defaultValue, onChange, color, size, controlled, className, }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
33
+ declare function ToggleGroup({ items, value, defaultValue, onChange, color, size, controlled, className, }: ToggleGroupProps): react.JSX.Element;
35
34
 
36
35
  export { Toggle, type ToggleColor, ToggleGroup, type ToggleGroupItem, type ToggleGroupProps, type ToggleProps, type ToggleSize };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docubook/ui-react",
3
- "version": "0.1.3",
3
+ "version": "1.0.0",
4
4
  "description": "React + DaisyUI component library for documentation sites",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -143,16 +143,6 @@
143
143
  "README.md"
144
144
  ],
145
145
  "sideEffects": false,
146
- "scripts": {
147
- "build": "tsup",
148
- "dev": "tsup --watch",
149
- "typecheck": "tsc --noEmit",
150
- "lint": "eslint src --ext .ts,.tsx",
151
- "test": "vitest run",
152
- "test:watch": "vitest",
153
- "clean": "rm -rf dist",
154
- "prepublishOnly": "pnpm run clean && pnpm run build && pnpm run lint && pnpm run typecheck && pnpm run test"
155
- },
156
146
  "peerDependencies": {
157
147
  "daisyui": ">=5.0.0 <6.0.0",
158
148
  "lucide-react": ">=1.0.0",
@@ -173,7 +163,7 @@
173
163
  "react-dom": "^19.2.0",
174
164
  "tsup": "^8.5.0",
175
165
  "typescript": "^5.9.3",
176
- "vitest": "^4.1.6"
166
+ "vitest": "^4.1.8"
177
167
  },
178
168
  "publishConfig": {
179
169
  "access": "public"
@@ -200,5 +190,14 @@
200
190
  "dependencies": {
201
191
  "clsx": "^2.1.1",
202
192
  "tailwind-merge": "^2.6.1"
193
+ },
194
+ "scripts": {
195
+ "build": "tsup",
196
+ "dev": "tsup --watch",
197
+ "typecheck": "tsc --noEmit",
198
+ "lint": "eslint src --ext .ts,.tsx",
199
+ "test": "vitest run",
200
+ "test:watch": "vitest",
201
+ "clean": "rm -rf dist"
203
202
  }
204
- }
203
+ }