@vtx-ui/react 0.0.1-beta.15 → 0.0.1-beta.16

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.
Files changed (58) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/types/components/Accordion/AccordionItem.d.ts +11 -0
  6. package/dist/types/components/AdminHeader/AdminHeader.d.ts +36 -5
  7. package/dist/types/components/AdminHeader/index.d.ts +1 -1
  8. package/dist/types/components/Alert/Alert.d.ts +53 -5
  9. package/dist/types/components/Autocomplete/Autocomplete.d.ts +43 -5
  10. package/dist/types/components/Avatar/Avatar.d.ts +2 -5
  11. package/dist/types/components/Badge/Badge.d.ts +32 -5
  12. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +71 -5
  13. package/dist/types/components/Button/Button.d.ts +43 -5
  14. package/dist/types/components/Card/Card.d.ts +64 -5
  15. package/dist/types/components/Checkbox/Checkbox.d.ts +59 -5
  16. package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +54 -5
  17. package/dist/types/components/Chip/Chip.d.ts +33 -5
  18. package/dist/types/components/Container/Container.d.ts +41 -5
  19. package/dist/types/components/DataGrid/DataGrid.d.ts +3 -3
  20. package/dist/types/components/DatePicker/DatePicker.d.ts +35 -5
  21. package/dist/types/components/DatePicker/DateRangePicker.d.ts +39 -5
  22. package/dist/types/components/Divider/Divider.d.ts +73 -5
  23. package/dist/types/components/Flex/Flex.d.ts +27 -5
  24. package/dist/types/components/FormControl/FormControl.d.ts +48 -5
  25. package/dist/types/components/Grid/Grid.d.ts +78 -5
  26. package/dist/types/components/Header/Header.d.ts +34 -5
  27. package/dist/types/components/Input/Input.d.ts +53 -5
  28. package/dist/types/components/Link/Link.d.ts +48 -5
  29. package/dist/types/components/Menu/ActionMenu.d.ts +56 -5
  30. package/dist/types/components/Menu/Menu.d.ts +33 -5
  31. package/dist/types/components/Modal/Modal.d.ts +73 -5
  32. package/dist/types/components/MultiSelect/MultiSelect.d.ts +42 -5
  33. package/dist/types/components/Navbar/Navbar.d.ts +2 -1
  34. package/dist/types/components/Radio/Radio.d.ts +56 -5
  35. package/dist/types/components/RadioGroup/RadioGroup.d.ts +58 -5
  36. package/dist/types/components/RichTextEditor/RichTextEditor.d.ts +3 -1
  37. package/dist/types/components/Select/Select.d.ts +59 -5
  38. package/dist/types/components/SideMenu/SideMenu.d.ts +35 -5
  39. package/dist/types/components/Table/Table.d.ts +59 -5
  40. package/dist/types/components/Tabs/Tabs.d.ts +94 -0
  41. package/dist/types/components/Tabs/index.d.ts +2 -0
  42. package/dist/types/components/Text/Text.d.ts +51 -5
  43. package/dist/types/components/Textarea/Textarea.d.ts +54 -5
  44. package/dist/types/components/Timeline/Timeline.d.ts +3 -1
  45. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -1
  46. package/dist/types/components/Widget/IntelligentGrid.d.ts +4 -2
  47. package/dist/types/components/Widget/Widget.d.ts +3 -1
  48. package/dist/types/index.d.ts +3 -1
  49. package/dist/types/stories/components/SideMenu.stories.d.ts +1 -4
  50. package/dist/types/stories/components/Tabs.stories.d.ts +10 -0
  51. package/dist/types/stories/widgets/DashboardCard.stories.d.ts +0 -46
  52. package/dist/types/stories/widgets/InfoCard.stories.d.ts +1 -1
  53. package/dist/types/stories/widgets/InfoText.stories.d.ts +1 -1
  54. package/dist/types/stories/widgets/OrderConfirmation.stories.d.ts +1 -1
  55. package/dist/types/stories/widgets/ProductCard.stories.d.ts +1 -1
  56. package/dist/types/widgets/DashboardCard/DashboardCard.d.ts +4 -197
  57. package/dist/types/widgets/DashboardCard/index.d.ts +1 -1
  58. package/package.json +1 -1
@@ -1,5 +1,16 @@
1
1
  import React from 'react';
2
2
  import { AccordionItemComponentProps, AccordionItemProps } from './types';
3
+ /**
4
+ * AccordionItem component - A single item within an Accordion.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <AccordionItem id="item1" header="Section 1">Content 1</AccordionItem>
9
+ * ```
10
+ */
11
+ declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemComponentProps & React.RefAttributes<HTMLDivElement>>;
3
12
  declare const _default: React.FC<AccordionItemComponentProps & React.RefAttributes<HTMLDivElement>>;
4
13
  export default _default;
14
+ export { AccordionItem };
15
+ export type { AccordionItemComponentProps, AccordionItemProps };
5
16
  export declare const AccordionItemWrapper: React.FC<AccordionItemProps>;
@@ -170,10 +170,41 @@ export interface AdminHeaderProps {
170
170
  onClick?: () => void;
171
171
  }>;
172
172
  }
173
- declare const AdminHeaderWithParsedClasses: {
174
- (props: AdminHeaderProps & React.RefAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
175
- displayName: string;
176
- };
177
- export { AdminHeaderWithParsedClasses as AdminHeader };
173
+ /**
174
+ * AdminHeader - Professional admin panel header
175
+ *
176
+ * Comprehensive header component for admin dashboards with:
177
+ * - Mobile menu toggle
178
+ * - Search with suggestions
179
+ * - Notifications with badge
180
+ * - Quick actions
181
+ * - User menu with avatar
182
+ * - Fully responsive
183
+ * - Theme support
184
+ *
185
+ * @example
186
+ * ```tsx
187
+ * <AdminHeader
188
+ * logo={<Logo />}
189
+ * title="Admin Dashboard"
190
+ * onToggleSidebar={() => setMobileOpen(true)}
191
+ * showSearch
192
+ * searchValue={search}
193
+ * onSearchChange={setSearch}
194
+ * notifications={notifications}
195
+ * userName="John Doe"
196
+ * userRole="Administrator"
197
+ * userAvatar="/avatar.jpg"
198
+ * userMenuItems={[
199
+ * { label: 'Profile', icon: <UserIcon />, onClick: () => {} },
200
+ * { label: 'Settings', icon: <SettingsIcon />, onClick: () => {} },
201
+ * { divider: true },
202
+ * { label: 'Logout', icon: <LogoutIcon />, variant: 'danger', onClick: () => {} }
203
+ * ]}
204
+ * />
205
+ * ```
206
+ */
207
+ declare const AdminHeader: React.ForwardRefExoticComponent<AdminHeaderProps & React.RefAttributes<HTMLElement>>;
178
208
  declare const _default: React.FC<AdminHeaderProps & React.RefAttributes<HTMLElement>>;
179
209
  export default _default;
210
+ export { AdminHeader };
@@ -1,2 +1,2 @@
1
- export { AdminHeader, default } from './AdminHeader';
1
+ export { default, AdminHeader } from './AdminHeader';
2
2
  export type { AdminHeaderProps, NotificationItem, UserMenuItem, QuickAction, SearchSuggestion, } from './AdminHeader';
@@ -63,10 +63,58 @@ export interface AlertProps {
63
63
  */
64
64
  role?: string;
65
65
  }
66
- declare const AlertWithParsedClasses: {
67
- (props: AlertProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
68
- displayName: string;
69
- };
66
+ /**
67
+ * Alert component - Displays important messages and notifications
68
+ *
69
+ * A flexible alert component supporting multiple variants, styles, and interactive features.
70
+ * Can display simple messages or complex content with titles, actions, and custom icons.
71
+ *
72
+ * @example
73
+ * Simple alert with children
74
+ * ```tsx
75
+ * <Alert variant="success">
76
+ * Your changes have been saved!
77
+ * </Alert>
78
+ * ```
79
+ *
80
+ * @example
81
+ * Alert with title and description
82
+ * ```tsx
83
+ * <Alert
84
+ * variant="error"
85
+ * title="Error occurred"
86
+ * description="Unable to connect to the server."
87
+ * dismissible
88
+ * onClose={() => console.log('closed')}
89
+ * />
90
+ * ```
91
+ *
92
+ * @example
93
+ * Alert with action button
94
+ * ```tsx
95
+ * <Alert
96
+ * variant="warning"
97
+ * title="Update available"
98
+ * style="left-accent"
99
+ * action={<Button size="small">Update Now</Button>}
100
+ * >
101
+ * A new version is available. Update to get the latest features.
102
+ * </Alert>
103
+ * ```
104
+ *
105
+ * @example
106
+ * Alert with custom icon
107
+ * ```tsx
108
+ * <Alert
109
+ * variant="info"
110
+ * icon={<CustomIcon />}
111
+ * title="Custom notification"
112
+ * >
113
+ * This alert uses a custom icon.
114
+ * </Alert>
115
+ * ```
116
+ */
117
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
70
118
  declare const _default: React.FC<AlertProps & React.RefAttributes<HTMLDivElement>>;
71
119
  export default _default;
72
- export { AlertWithParsedClasses as Alert };
120
+ export { Alert };
@@ -164,10 +164,48 @@ export interface AutocompleteProps extends Omit<InputHTMLAttributes<HTMLInputEle
164
164
  */
165
165
  minSearchLength?: number;
166
166
  }
167
- declare const AutocompleteWithParsedClasses: {
168
- (props: AutocompleteProps & React.RefAttributes<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
169
- displayName: string;
170
- };
167
+ /**
168
+ * Autocomplete component - Text input with dropdown suggestions
169
+ *
170
+ * A comprehensive autocomplete component with support for custom option rendering,
171
+ * validation states, loading states, and rich features like icons and descriptions.
172
+ *
173
+ * @example
174
+ * Basic usage
175
+ * ```tsx
176
+ * <Autocomplete
177
+ * label="Search"
178
+ * placeholder="Type to search..."
179
+ * options={searchResults}
180
+ * onSelect={(value, option) => console.log('Selected:', value, option)}
181
+ * onChange={(value) => fetchResults(value)}
182
+ * />
183
+ * ```
184
+ *
185
+ * @example
186
+ * With custom getters
187
+ * ```tsx
188
+ * <Autocomplete
189
+ * options={products}
190
+ * getOptionLabel={(opt) => opt.name}
191
+ * getOptionValue={(opt) => opt.id}
192
+ * getOptionDescription={(opt) => opt.category}
193
+ * onSelect={(value, option) => navigate(`/product/${value}`)}
194
+ * />
195
+ * ```
196
+ *
197
+ * @example
198
+ * With loading state
199
+ * ```tsx
200
+ * <Autocomplete
201
+ * loading={isLoading}
202
+ * loadingMessage="Searching..."
203
+ * options={results}
204
+ * showSearchIcon
205
+ * />
206
+ * ```
207
+ */
208
+ declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<HTMLInputElement>>;
171
209
  declare const _default: React.FC<AutocompleteProps & React.RefAttributes<HTMLInputElement>>;
172
210
  export default _default;
173
- export { AutocompleteWithParsedClasses as Autocomplete };
211
+ export { Autocomplete };
@@ -57,10 +57,7 @@ export interface AvatarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'child
57
57
  statusIndicator?: React.ReactNode;
58
58
  statusPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
59
59
  }
60
- declare const AvatarWithParsedClasses: {
61
- (props: AvatarProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
62
- displayName: string;
63
- };
60
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
64
61
  declare const _default: React.FC<AvatarProps & React.RefAttributes<HTMLDivElement>>;
65
62
  export default _default;
66
- export { AvatarWithParsedClasses as Avatar };
63
+ export { Avatar };
@@ -46,10 +46,37 @@ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
46
46
  */
47
47
  onRemove?: (event: React.MouseEvent<HTMLButtonElement>) => void;
48
48
  }
49
- declare const BadgeWithParsedClasses: {
50
- (props: BadgeProps & React.RefAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
51
- displayName: string;
52
- };
49
+ /**
50
+ * Badge component - Small labels and indicators for status, counts, or categories
51
+ *
52
+ * A versatile badge component that can display status indicators, counts, tags, or any short text
53
+ * with various visual styles and customization options.
54
+ *
55
+ * @example
56
+ * Basic status badges
57
+ * ```tsx
58
+ * <Badge variant="success">Active</Badge>
59
+ * <Badge variant="error" dot>Error</Badge>
60
+ * <Badge variant="primary" pill>NEW</Badge>
61
+ * ```
62
+ *
63
+ * @example
64
+ * With icon and outline
65
+ * ```tsx
66
+ * <Badge variant="info" icon={<InfoIcon />} outline>
67
+ * Information
68
+ * </Badge>
69
+ * ```
70
+ *
71
+ * @example
72
+ * Removable badge
73
+ * ```tsx
74
+ * <Badge variant="primary" onRemove={(e) => handleRemove()}>
75
+ * Tag 1
76
+ * </Badge>
77
+ * ```
78
+ */
79
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
53
80
  declare const _default: React.FC<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
54
81
  export default _default;
55
- export { BadgeWithParsedClasses as Badge };
82
+ export { Badge };
@@ -59,10 +59,76 @@ export interface BreadcrumbProps {
59
59
  */
60
60
  separatorClassName?: string;
61
61
  }
62
- declare const BreadcrumbWithParsedClasses: {
63
- (props: BreadcrumbProps & React.RefAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
62
+ /**
63
+ * Breadcrumb component - Navigation aid showing current location hierarchy
64
+ *
65
+ * A flexible breadcrumb component that works with native anchors, React Router, Next.js,
66
+ * or any custom routing library. Supports icons, custom separators, and collapsing.
67
+ *
68
+ * @example
69
+ * Basic usage
70
+ * ```tsx
71
+ * <Breadcrumb
72
+ * items={[
73
+ * { label: 'Home', href: '/' },
74
+ * { label: 'Products', href: '/products' },
75
+ * { label: 'Electronics', href: '/products/electronics' },
76
+ * { label: 'Laptops', active: true }
77
+ * ]}
78
+ * />
79
+ * ```
80
+ *
81
+ * @example
82
+ * With React Router
83
+ * ```tsx
84
+ * import { Link as RouterLink } from 'react-router-dom'
85
+ *
86
+ * <Breadcrumb
87
+ * linkComponent={RouterLink}
88
+ * items={[
89
+ * { label: 'Home', linkProps: { to: '/' } },
90
+ * { label: 'Dashboard', linkProps: { to: '/dashboard' }, active: true }
91
+ * ]}
92
+ * />
93
+ * ```
94
+ *
95
+ * @example
96
+ * With Next.js
97
+ * ```tsx
98
+ * import NextLink from 'next/link'
99
+ *
100
+ * <Breadcrumb
101
+ * linkComponent={NextLink}
102
+ * items={[
103
+ * { label: 'Home', linkProps: { href: '/' } },
104
+ * { label: 'About', linkProps: { href: '/about' }, active: true }
105
+ * ]}
106
+ * />
107
+ * ```
108
+ *
109
+ * @example
110
+ * With icons and custom separator
111
+ * ```tsx
112
+ * <Breadcrumb
113
+ * separator="›"
114
+ * items={[
115
+ * { label: 'Home', href: '/', icon: <HomeIcon /> },
116
+ * { label: 'Products', href: '/products', icon: <PackageIcon /> },
117
+ * { label: 'Current', active: true }
118
+ * ]}
119
+ * />
120
+ * ```
121
+ *
122
+ * @example
123
+ * With maxItems (collapsing)
124
+ * ```tsx
125
+ * <Breadcrumb
126
+ * maxItems={4}
127
+ * items={longItemsList}
128
+ * />
129
+ * ```
130
+ */
131
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
66
132
  declare const _default: React.FC<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
67
133
  export default _default;
68
- export { BreadcrumbWithParsedClasses as Breadcrumb };
134
+ export { Breadcrumb };
@@ -72,10 +72,48 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
72
72
  darkText?: boolean;
73
73
  children?: React.ReactNode;
74
74
  }
75
- declare const ButtonWithParsedClasses: {
76
- (props: ButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>): import("react/jsx-runtime").JSX.Element;
77
- displayName: string;
78
- };
75
+ /**
76
+ * Button component - Primary interactive element for user actions
77
+ *
78
+ * A comprehensive button component with multiple variants, sizes, loading states,
79
+ * and icon support. Can also render as a link with button styling.
80
+ *
81
+ * @example
82
+ * Basic usage
83
+ * ```tsx
84
+ * <Button variant="primary" size="medium" onClick={() => console.log('clicked')}>
85
+ * Click me
86
+ * </Button>
87
+ * ```
88
+ *
89
+ * @example
90
+ * With icons
91
+ * ```tsx
92
+ * <Button variant="primary" leftIcon={<SaveIcon />}>
93
+ * Save Changes
94
+ * </Button>
95
+ * <Button variant="secondary" rightIcon={<ArrowIcon />}>
96
+ * Next
97
+ * </Button>
98
+ * ```
99
+ *
100
+ * @example
101
+ * Loading state
102
+ * ```tsx
103
+ * <Button loading loadingText="Saving...">
104
+ * Save
105
+ * </Button>
106
+ * ```
107
+ *
108
+ * @example
109
+ * As link
110
+ * ```tsx
111
+ * <Button asLink href="/dashboard" variant="primary">
112
+ * Go to Dashboard
113
+ * </Button>
114
+ * ```
115
+ */
116
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
79
117
  declare const _default: React.FC<ButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
80
118
  export default _default;
81
- export { ButtonWithParsedClasses as Button };
119
+ export { Button };
@@ -54,10 +54,69 @@ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
54
54
  */
55
55
  divider?: boolean;
56
56
  }
57
- declare const CardWithParsedClasses: {
58
- (props: CardProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
59
- displayName: string;
60
- };
57
+ /**
58
+ * Card component - Container for grouping related content
59
+ *
60
+ * A versatile card component with support for variants, padding control,
61
+ * headers, footers, and interactive states.
62
+ *
63
+ * @example
64
+ * Basic card
65
+ * ```tsx
66
+ * <Card>
67
+ * <h3>Card Title</h3>
68
+ * <p>Card content goes here</p>
69
+ * </Card>
70
+ * ```
71
+ *
72
+ * @example
73
+ * Card without padding
74
+ * ```tsx
75
+ * <Card noPadding>
76
+ * <img src="image.jpg" alt="Full bleed image" />
77
+ * </Card>
78
+ * ```
79
+ *
80
+ * @example
81
+ * Card with custom padding
82
+ * ```tsx
83
+ * <Card padding="32px">
84
+ * <p>Card with custom padding</p>
85
+ * </Card>
86
+ * ```
87
+ *
88
+ * @example
89
+ * Card with header and footer
90
+ * ```tsx
91
+ * <Card
92
+ * header={<h3>Card Header</h3>}
93
+ * footer={<button>Action</button>}
94
+ * divider
95
+ * >
96
+ * <p>Card content</p>
97
+ * </Card>
98
+ * ```
99
+ *
100
+ * @example
101
+ * Interactive card
102
+ * ```tsx
103
+ * <Card hoverable clickable onClick={() => console.log('clicked')}>
104
+ * <p>Click me!</p>
105
+ * </Card>
106
+ * ```
107
+ *
108
+ * @example
109
+ * Customize appearance with CSS
110
+ * ```css
111
+ * .vtx-card {
112
+ * --vtx-card-bg: #ffffff;
113
+ * --vtx-card-border-radius: 8px;
114
+ * --vtx-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
115
+ * --vtx-card-padding: 16px;
116
+ * }
117
+ * ```
118
+ */
119
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
61
120
  declare const _default: React.FC<CardProps & React.RefAttributes<HTMLDivElement>>;
62
121
  export default _default;
63
- export { CardWithParsedClasses as Card };
122
+ export { Card };
@@ -51,10 +51,64 @@ export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputE
51
51
  */
52
52
  inputClassName?: string;
53
53
  }
54
- declare const CheckboxWithParsedClasses: {
55
- (props: CheckboxProps & React.RefAttributes<HTMLInputElement>): import("react/jsx-runtime").JSX.Element;
56
- displayName: string;
57
- };
54
+ /**
55
+ * Checkbox component - Allows users to select one or more items from a set
56
+ *
57
+ * The Checkbox component provides a customizable checkbox input with support
58
+ * for labels, error states, indeterminate state, and three sizes.
59
+ *
60
+ * ## CSS Customization
61
+ *
62
+ * You can customize the checkbox appearance using CSS custom properties:
63
+ *
64
+ * ```css
65
+ * :root {
66
+ * --vtx-checkbox-color: #1976d2;
67
+ * --vtx-checkbox-size: 20px;
68
+ * --vtx-checkbox-border-width: 2px;
69
+ * --vtx-checkbox-border-radius: 4px;
70
+ * }
71
+ * ```
72
+ *
73
+ * @example
74
+ * Basic checkbox
75
+ * ```tsx
76
+ * <Checkbox label="Accept terms and conditions" />
77
+ * ```
78
+ *
79
+ * @example
80
+ * Controlled checkbox with size
81
+ * ```tsx
82
+ * const [checked, setChecked] = useState(false);
83
+ * <Checkbox
84
+ * checked={checked}
85
+ * onChange={(e) => setChecked(e.target.checked)}
86
+ * label="Subscribe to newsletter"
87
+ * size="lg"
88
+ * variant="secondary"
89
+ * />
90
+ * ```
91
+ *
92
+ * @example
93
+ * With error state
94
+ * ```tsx
95
+ * <Checkbox
96
+ * label="I agree"
97
+ * error
98
+ * helperText="You must agree to continue"
99
+ * />
100
+ * ```
101
+ *
102
+ * @example
103
+ * Indeterminate state
104
+ * ```tsx
105
+ * <Checkbox
106
+ * label="Select all"
107
+ * indeterminate
108
+ * />
109
+ * ```
110
+ */
111
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
58
112
  declare const _default: React.FC<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
59
113
  export default _default;
60
- export { CheckboxWithParsedClasses as Checkbox };
114
+ export { Checkbox };
@@ -64,10 +64,59 @@ export interface CheckboxGroupProps extends Omit<React.HTMLAttributes<HTMLDivEle
64
64
  */
65
65
  className?: string;
66
66
  }
67
- declare const CheckboxGroupWithParsedClasses: {
68
- (props: CheckboxGroupProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
69
- displayName: string;
70
- };
67
+ /**
68
+ * CheckboxGroup component - Manages a group of related checkboxes
69
+ *
70
+ * The CheckboxGroup component provides a convenient way to manage multiple
71
+ * checkboxes with shared state, labels, and error handling.
72
+ *
73
+ * @example
74
+ * Basic usage
75
+ * ```tsx
76
+ * <CheckboxGroup
77
+ * label="Select your interests"
78
+ * options={[
79
+ * { value: 'sports', label: 'Sports' },
80
+ * { value: 'music', label: 'Music' },
81
+ * { value: 'travel', label: 'Travel' },
82
+ * ]}
83
+ * />
84
+ * ```
85
+ *
86
+ * @example
87
+ * Controlled mode
88
+ * ```tsx
89
+ * const [selected, setSelected] = useState(['sports']);
90
+ * <CheckboxGroup
91
+ * label="Interests"
92
+ * options={options}
93
+ * value={selected}
94
+ * onChange={setSelected}
95
+ * />
96
+ * ```
97
+ *
98
+ * @example
99
+ * Horizontal layout
100
+ * ```tsx
101
+ * <CheckboxGroup
102
+ * label="Preferences"
103
+ * options={options}
104
+ * orientation="horizontal"
105
+ * />
106
+ * ```
107
+ *
108
+ * @example
109
+ * With error state
110
+ * ```tsx
111
+ * <CheckboxGroup
112
+ * label="Required selection"
113
+ * options={options}
114
+ * error
115
+ * helperText="Please select at least one option"
116
+ * />
117
+ * ```
118
+ */
119
+ declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
71
120
  declare const _default: React.FC<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
72
121
  export default _default;
73
- export { CheckboxGroupWithParsedClasses as CheckboxGroup };
122
+ export { CheckboxGroup };
@@ -56,10 +56,38 @@ export interface ChipProps {
56
56
  */
57
57
  'data-testid'?: string;
58
58
  }
59
- declare const ChipWithParsedClasses: {
60
- (props: ChipProps & React.RefAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
61
- displayName: string;
62
- };
59
+ /**
60
+ * Chip component - Compact element for displaying tags, labels, or selections
61
+ *
62
+ * A versatile chip component for representing small pieces of information like tags,
63
+ * filters, selections, or categories with optional delete functionality.
64
+ *
65
+ * @example
66
+ * Basic usage
67
+ * ```tsx
68
+ * <Chip label="React" />
69
+ * ```
70
+ *
71
+ * @example
72
+ * With delete functionality
73
+ * ```tsx
74
+ * <Chip
75
+ * label="JavaScript"
76
+ * onDelete={() => handleRemove('js')}
77
+ * />
78
+ * ```
79
+ *
80
+ * @example
81
+ * With avatar
82
+ * ```tsx
83
+ * <Chip
84
+ * label="John Doe"
85
+ * avatar="https://avatar.url/john.jpg"
86
+ * variant="outlined"
87
+ * />
88
+ * ```
89
+ */
90
+ declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
63
91
  declare const _default: React.FC<ChipProps & React.RefAttributes<HTMLDivElement>>;
64
92
  export default _default;
65
- export { ChipWithParsedClasses as Chip };
93
+ export { Chip };