@codepom/react 0.1.0 → 2.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/dist/index.d.cts CHANGED
@@ -266,4 +266,76 @@ interface PopoverProps {
266
266
  }
267
267
  declare const Popover: React.FC<PopoverProps>;
268
268
 
269
- export { Alert, type AlertProps, type AlertVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSeparator, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Field, type FieldProps, Input, type InputProps, type InputSize, Label, type LabelProps, Modal, type ModalProps, type ModalSize, type NavLink, Navbar, type NavbarProps, Pagination, type PaginationProps, Popover, type PopoverProps, Select, type SelectProps, Sidebar, type SidebarChildLink, type SidebarLink, type SidebarProps, Skeleton, SkeletonCard, type SkeletonProps, SkeletonText, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipPlacement, type TooltipProps, useToast };
269
+ type MascotVariant = 'full' | 'solid' | 'line';
270
+ type MascotTheme = 'light' | 'dark';
271
+ interface MascotProps {
272
+ variant?: MascotVariant;
273
+ theme?: MascotTheme;
274
+ size?: number;
275
+ className?: string;
276
+ }
277
+ declare const Mascot: ({ variant, theme, size, className }: MascotProps) => React.JSX.Element;
278
+
279
+ type IconName = 'agility' | 'partner' | 'integrity' | 'bone' | 'db' | 'gear-paw' | 'gear' | 'cloud' | 'terminal' | 'chip' | 'plus' | 'chevron-down';
280
+ interface IconProps {
281
+ name: IconName;
282
+ size?: number;
283
+ color?: string;
284
+ className?: string;
285
+ }
286
+ declare const Icon: ({ name, size, color, className }: IconProps) => React.JSX.Element | null;
287
+
288
+ interface PatternProps {
289
+ className?: string;
290
+ }
291
+ declare const Pattern: ({ className }: PatternProps) => React.JSX.Element;
292
+
293
+ interface BrandPrinciplesProps {
294
+ className?: string;
295
+ }
296
+ declare const BrandPrinciples: ({ className }: BrandPrinciplesProps) => React.JSX.Element;
297
+
298
+ interface BusinessCardProps {
299
+ name?: string;
300
+ title?: string;
301
+ email?: string;
302
+ phone?: string;
303
+ website?: string;
304
+ className?: string;
305
+ }
306
+ declare const BusinessCard: ({ name, title, email, phone, website, className, }: BusinessCardProps) => React.JSX.Element;
307
+
308
+ interface CheckboxProps {
309
+ label?: string;
310
+ checked?: boolean;
311
+ defaultChecked?: boolean;
312
+ onChange?: (checked: boolean) => void;
313
+ disabled?: boolean;
314
+ className?: string;
315
+ }
316
+ declare const Checkbox: ({ label, checked, defaultChecked, onChange, disabled, className }: CheckboxProps) => React.JSX.Element;
317
+
318
+ interface RadioProps {
319
+ label?: string;
320
+ value?: string;
321
+ checked?: boolean;
322
+ defaultChecked?: boolean;
323
+ name?: string;
324
+ onChange?: (value: string) => void;
325
+ disabled?: boolean;
326
+ className?: string;
327
+ }
328
+ declare const Radio: ({ label, value, checked, defaultChecked, name, onChange, disabled, className }: RadioProps) => React.JSX.Element;
329
+
330
+ interface ToggleProps {
331
+ label?: string;
332
+ hint?: string;
333
+ checked?: boolean;
334
+ defaultChecked?: boolean;
335
+ onChange?: (checked: boolean) => void;
336
+ disabled?: boolean;
337
+ className?: string;
338
+ }
339
+ declare const Toggle: ({ label, hint, checked, defaultChecked, onChange, disabled, className }: ToggleProps) => React.JSX.Element;
340
+
341
+ export { Alert, type AlertProps, type AlertVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, BrandPrinciples, type BrandPrinciplesProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSeparator, BusinessCard, type BusinessCardProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Checkbox, type CheckboxProps, Field, type FieldProps, Icon, type IconName, type IconProps, Input, type InputProps, type InputSize, Label, type LabelProps, Mascot, type MascotProps, type MascotTheme, type MascotVariant, Modal, type ModalProps, type ModalSize, type NavLink, Navbar, type NavbarProps, Pagination, type PaginationProps, Pattern, type PatternProps, Popover, type PopoverProps, Radio, type RadioProps, Select, type SelectProps, Sidebar, type SidebarChildLink, type SidebarLink, type SidebarProps, Skeleton, SkeletonCard, type SkeletonProps, SkeletonText, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, useToast };
package/dist/index.d.ts CHANGED
@@ -266,4 +266,76 @@ interface PopoverProps {
266
266
  }
267
267
  declare const Popover: React.FC<PopoverProps>;
268
268
 
269
- export { Alert, type AlertProps, type AlertVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSeparator, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Field, type FieldProps, Input, type InputProps, type InputSize, Label, type LabelProps, Modal, type ModalProps, type ModalSize, type NavLink, Navbar, type NavbarProps, Pagination, type PaginationProps, Popover, type PopoverProps, Select, type SelectProps, Sidebar, type SidebarChildLink, type SidebarLink, type SidebarProps, Skeleton, SkeletonCard, type SkeletonProps, SkeletonText, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, type TooltipPlacement, type TooltipProps, useToast };
269
+ type MascotVariant = 'full' | 'solid' | 'line';
270
+ type MascotTheme = 'light' | 'dark';
271
+ interface MascotProps {
272
+ variant?: MascotVariant;
273
+ theme?: MascotTheme;
274
+ size?: number;
275
+ className?: string;
276
+ }
277
+ declare const Mascot: ({ variant, theme, size, className }: MascotProps) => React.JSX.Element;
278
+
279
+ type IconName = 'agility' | 'partner' | 'integrity' | 'bone' | 'db' | 'gear-paw' | 'gear' | 'cloud' | 'terminal' | 'chip' | 'plus' | 'chevron-down';
280
+ interface IconProps {
281
+ name: IconName;
282
+ size?: number;
283
+ color?: string;
284
+ className?: string;
285
+ }
286
+ declare const Icon: ({ name, size, color, className }: IconProps) => React.JSX.Element | null;
287
+
288
+ interface PatternProps {
289
+ className?: string;
290
+ }
291
+ declare const Pattern: ({ className }: PatternProps) => React.JSX.Element;
292
+
293
+ interface BrandPrinciplesProps {
294
+ className?: string;
295
+ }
296
+ declare const BrandPrinciples: ({ className }: BrandPrinciplesProps) => React.JSX.Element;
297
+
298
+ interface BusinessCardProps {
299
+ name?: string;
300
+ title?: string;
301
+ email?: string;
302
+ phone?: string;
303
+ website?: string;
304
+ className?: string;
305
+ }
306
+ declare const BusinessCard: ({ name, title, email, phone, website, className, }: BusinessCardProps) => React.JSX.Element;
307
+
308
+ interface CheckboxProps {
309
+ label?: string;
310
+ checked?: boolean;
311
+ defaultChecked?: boolean;
312
+ onChange?: (checked: boolean) => void;
313
+ disabled?: boolean;
314
+ className?: string;
315
+ }
316
+ declare const Checkbox: ({ label, checked, defaultChecked, onChange, disabled, className }: CheckboxProps) => React.JSX.Element;
317
+
318
+ interface RadioProps {
319
+ label?: string;
320
+ value?: string;
321
+ checked?: boolean;
322
+ defaultChecked?: boolean;
323
+ name?: string;
324
+ onChange?: (value: string) => void;
325
+ disabled?: boolean;
326
+ className?: string;
327
+ }
328
+ declare const Radio: ({ label, value, checked, defaultChecked, name, onChange, disabled, className }: RadioProps) => React.JSX.Element;
329
+
330
+ interface ToggleProps {
331
+ label?: string;
332
+ hint?: string;
333
+ checked?: boolean;
334
+ defaultChecked?: boolean;
335
+ onChange?: (checked: boolean) => void;
336
+ disabled?: boolean;
337
+ className?: string;
338
+ }
339
+ declare const Toggle: ({ label, hint, checked, defaultChecked, onChange, disabled, className }: ToggleProps) => React.JSX.Element;
340
+
341
+ export { Alert, type AlertProps, type AlertVariant, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, BrandPrinciples, type BrandPrinciplesProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSeparator, BusinessCard, type BusinessCardProps, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardBody, type CardBodyProps, type CardElevation, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, Checkbox, type CheckboxProps, Field, type FieldProps, Icon, type IconName, type IconProps, Input, type InputProps, type InputSize, Label, type LabelProps, Mascot, type MascotProps, type MascotTheme, type MascotVariant, Modal, type ModalProps, type ModalSize, type NavLink, Navbar, type NavbarProps, Pagination, type PaginationProps, Pattern, type PatternProps, Popover, type PopoverProps, Radio, type RadioProps, Select, type SelectProps, Sidebar, type SidebarChildLink, type SidebarLink, type SidebarProps, Skeleton, SkeletonCard, type SkeletonProps, SkeletonText, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, type TabsVariant, Textarea, type TextareaProps, type ToastItem, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, useToast };