@bienui/core 1.0.4 → 1.0.7
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/bien-ui.cjs.js +19 -19
- package/dist/bien-ui.cjs.js.map +1 -1
- package/dist/bien-ui.css +1 -1
- package/dist/bien-ui.esm.js +3216 -3057
- package/dist/bien-ui.esm.js.map +1 -1
- package/dist/components/Display/Logo.d.ts +13 -0
- package/dist/components/Display/index.d.ts +1 -0
- package/dist/components/Interactive/Drawer.d.ts +29 -0
- package/dist/components/Interactive/index.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface LogoProps {
|
|
2
|
+
/** Logo variant - 'icon' uses small icon file, 'horizontal'/'stacked' use full logo with theme support */
|
|
3
|
+
variant?: 'icon' | 'horizontal' | 'stacked';
|
|
4
|
+
/** Size of the logo */
|
|
5
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
/** Theme variant - only affects horizontal/stacked variants (icon variant is theme-neutral) */
|
|
7
|
+
theme?: 'light' | 'dark';
|
|
8
|
+
/** Additional CSS classes */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Alt text for accessibility */
|
|
11
|
+
alt?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Logo: import("react").ForwardRefExoticComponent<LogoProps & import("react").RefAttributes<HTMLImageElement>>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface DrawerProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
title?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
header?: React.ReactNode;
|
|
8
|
+
footer?: React.ReactNode;
|
|
9
|
+
side?: 'left' | 'right' | 'top' | 'bottom';
|
|
10
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
11
|
+
variant?: 'default' | 'elevated' | 'glass-frost' | 'glass-tint';
|
|
12
|
+
gradient?: 'primary' | 'purple' | 'accent' | 'blue' | 'rainbow';
|
|
13
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
closeOnBackdropClick?: boolean;
|
|
15
|
+
closeOnEscape?: boolean;
|
|
16
|
+
showCloseButton?: boolean;
|
|
17
|
+
showBackdrop?: boolean;
|
|
18
|
+
persistent?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
backdropClassName?: string;
|
|
22
|
+
contentClassName?: string;
|
|
23
|
+
headerClassName?: string;
|
|
24
|
+
footerClassName?: string;
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
'aria-labelledby'?: string;
|
|
27
|
+
'aria-describedby'?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const Drawer: import("react").ForwardRefExoticComponent<DrawerProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { Input, Textarea, MarkdownTextarea, Select, MultiSelect, Checkbox, Radio
|
|
|
7
7
|
export { Link, Breadcrumb, Header, Sidenav } from './components/Navigation';
|
|
8
8
|
export { Text, Card, Badge, Avatar, AvatarGroup, ProfileAvatar, Timeline, Meter, CircularMeter, Table, List, ListItem, DescriptionList, DescriptionTerm, DescriptionDetails, ColorSwatch, } from './components/Display';
|
|
9
9
|
export { Loading, EmptyState, Banner, Callout, Modal, Accordion, Tabs, Stepper, } from './components/Feedback';
|
|
10
|
-
export { Button, Tooltip, Menu, MenuItem, MenuDivider, MenuGroup, Hotspot, DraggableList, DraggableListProvider, FileDrop, Panel, } from './components/Interactive';
|
|
10
|
+
export { Button, Tooltip, Menu, MenuItem, MenuDivider, MenuGroup, Hotspot, DraggableList, DraggableListProvider, FileDrop, Panel, Drawer, } from './components/Interactive';
|
|
11
11
|
export { ThinkingText } from './components/Utils';
|
|
12
12
|
export * from './components/Icons';
|
|
13
13
|
export type { Theme, Density, ComponentVariant, ComponentSize } from './types';
|
package/package.json
CHANGED