@aciole/acyon 0.0.2

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 (115) hide show
  1. package/dist/acyon.cjs.js +208 -0
  2. package/dist/acyon.cjs.js.map +1 -0
  3. package/dist/acyon.css +1 -0
  4. package/dist/acyon.es.js +3667 -0
  5. package/dist/acyon.es.js.map +1 -0
  6. package/dist/components/Accordion/Accordion.d.ts +5 -0
  7. package/dist/components/Accordion/types.d.ts +16 -0
  8. package/dist/components/Avatar/Avatar.d.ts +4 -0
  9. package/dist/components/Avatar/types.d.ts +9 -0
  10. package/dist/components/Badge/Badge.d.ts +4 -0
  11. package/dist/components/Badge/types.d.ts +10 -0
  12. package/dist/components/Box/Box.d.ts +6 -0
  13. package/dist/components/Box/types.d.ts +14 -0
  14. package/dist/components/Breadcrumb/Breadcrumb.d.ts +4 -0
  15. package/dist/components/Breadcrumb/types.d.ts +11 -0
  16. package/dist/components/Button/Button.d.ts +4 -0
  17. package/dist/components/Button/types.d.ts +14 -0
  18. package/dist/components/Card/Card.d.ts +7 -0
  19. package/dist/components/Card/types.d.ts +17 -0
  20. package/dist/components/Checkbox/Checkbox.d.ts +4 -0
  21. package/dist/components/Checkbox/types.d.ts +8 -0
  22. package/dist/components/Code/Code.d.ts +4 -0
  23. package/dist/components/Code/types.d.ts +9 -0
  24. package/dist/components/Container/Container.d.ts +4 -0
  25. package/dist/components/Container/types.d.ts +8 -0
  26. package/dist/components/DatePicker/DatePicker.d.ts +4 -0
  27. package/dist/components/DatePicker/types.d.ts +7 -0
  28. package/dist/components/Divider/Divider.d.ts +3 -0
  29. package/dist/components/Divider/types.d.ts +6 -0
  30. package/dist/components/Drawer/Drawer.d.ts +4 -0
  31. package/dist/components/Drawer/types.d.ts +14 -0
  32. package/dist/components/EmptyState/EmptyState.d.ts +4 -0
  33. package/dist/components/EmptyState/types.d.ts +7 -0
  34. package/dist/components/FileUpload/FileUpload.d.ts +4 -0
  35. package/dist/components/FileUpload/types.d.ts +10 -0
  36. package/dist/components/Flex/Flex.d.ts +4 -0
  37. package/dist/components/Flex/types.d.ts +16 -0
  38. package/dist/components/FormField/FormField.d.ts +4 -0
  39. package/dist/components/FormField/types.d.ts +10 -0
  40. package/dist/components/Grid/Grid.d.ts +4 -0
  41. package/dist/components/Grid/types.d.ts +10 -0
  42. package/dist/components/Heading/Heading.d.ts +9 -0
  43. package/dist/components/Heading/types.d.ts +7 -0
  44. package/dist/components/IconButton/IconButton.d.ts +4 -0
  45. package/dist/components/IconButton/types.d.ts +11 -0
  46. package/dist/components/Image/Image.d.ts +4 -0
  47. package/dist/components/Image/types.d.ts +8 -0
  48. package/dist/components/Input/Input.d.ts +4 -0
  49. package/dist/components/Input/types.d.ts +12 -0
  50. package/dist/components/Link/Link.d.ts +7 -0
  51. package/dist/components/Link/types.d.ts +10 -0
  52. package/dist/components/List/List.d.ts +7 -0
  53. package/dist/components/List/types.d.ts +12 -0
  54. package/dist/components/Loader/Loader.d.ts +3 -0
  55. package/dist/components/Loader/types.d.ts +8 -0
  56. package/dist/components/Modal/Modal.d.ts +4 -0
  57. package/dist/components/Modal/types.d.ts +13 -0
  58. package/dist/components/MultiSelect/MultiSelect.d.ts +4 -0
  59. package/dist/components/MultiSelect/types.d.ts +18 -0
  60. package/dist/components/PageHeader/PageHeader.d.ts +4 -0
  61. package/dist/components/PageHeader/types.d.ts +9 -0
  62. package/dist/components/Pagination/Pagination.d.ts +4 -0
  63. package/dist/components/Pagination/types.d.ts +7 -0
  64. package/dist/components/Progress/Progress.d.ts +4 -0
  65. package/dist/components/Progress/types.d.ts +12 -0
  66. package/dist/components/Radio/Radio.d.ts +4 -0
  67. package/dist/components/Radio/types.d.ts +8 -0
  68. package/dist/components/Search/Search.d.ts +4 -0
  69. package/dist/components/Search/types.d.ts +5 -0
  70. package/dist/components/Select/Select.d.ts +4 -0
  71. package/dist/components/Select/types.d.ts +23 -0
  72. package/dist/components/Sidebar/Sidebar.d.ts +14 -0
  73. package/dist/components/Sidebar/types.d.ts +34 -0
  74. package/dist/components/Skeleton/Skeleton.d.ts +4 -0
  75. package/dist/components/Skeleton/types.d.ts +8 -0
  76. package/dist/components/Slider/Slider.d.ts +4 -0
  77. package/dist/components/Slider/types.d.ts +5 -0
  78. package/dist/components/Spacer/Spacer.d.ts +4 -0
  79. package/dist/components/Spacer/types.d.ts +7 -0
  80. package/dist/components/Switch/Switch.d.ts +4 -0
  81. package/dist/components/Switch/types.d.ts +6 -0
  82. package/dist/components/Table/Table.d.ts +9 -0
  83. package/dist/components/Table/types.d.ts +8 -0
  84. package/dist/components/Tabs/Tabs.d.ts +4 -0
  85. package/dist/components/Tabs/types.d.ts +19 -0
  86. package/dist/components/Tag/Tag.d.ts +3 -0
  87. package/dist/components/Tag/types.d.ts +13 -0
  88. package/dist/components/Text/Text.d.ts +4 -0
  89. package/dist/components/Text/types.d.ts +13 -0
  90. package/dist/components/TextArea/TextArea.d.ts +4 -0
  91. package/dist/components/TextArea/types.d.ts +9 -0
  92. package/dist/components/ThemeProvider/ThemeProvider.d.ts +5 -0
  93. package/dist/components/ThemeProvider/types.d.ts +15 -0
  94. package/dist/components/Timeline/Timeline.d.ts +5 -0
  95. package/dist/components/Timeline/types.d.ts +12 -0
  96. package/dist/components/Toast/Toast.d.ts +5 -0
  97. package/dist/components/Toast/types.d.ts +20 -0
  98. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  99. package/dist/components/Tooltip/types.d.ts +8 -0
  100. package/dist/components/TopBar/TopBar.d.ts +4 -0
  101. package/dist/components/TopBar/types.d.ts +17 -0
  102. package/dist/components/index.d.ts +49 -0
  103. package/dist/components/types.d.ts +7 -0
  104. package/dist/hooks/useOverlay.d.ts +9 -0
  105. package/dist/icons/IconBase.d.ts +5 -0
  106. package/dist/icons/generated.d.ts +1269 -0
  107. package/dist/icons/index.d.ts +5 -0
  108. package/dist/icons/types.d.ts +6 -0
  109. package/dist/index.d.ts +4 -0
  110. package/dist/utils/classNames.d.ts +7 -0
  111. package/dist/utils/formater.d.ts +1 -0
  112. package/dist/utils/index.d.ts +4 -0
  113. package/dist/utils/styleTokens.d.ts +14 -0
  114. package/dist/utils/variants.d.ts +25 -0
  115. package/package.json +58 -0
@@ -0,0 +1,23 @@
1
+ import type * as React from 'react';
2
+ export interface SelectOption {
3
+ value: string;
4
+ label: React.ReactNode;
5
+ searchValue?: string;
6
+ disabled?: boolean;
7
+ }
8
+ export type SelectSize = 'sm' | 'md' | 'lg';
9
+ export interface SelectProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
10
+ options: SelectOption[];
11
+ value?: string;
12
+ defaultValue?: string;
13
+ onChange?: (value: string) => void;
14
+ label?: string;
15
+ error?: string;
16
+ supportText?: string;
17
+ size?: SelectSize;
18
+ placeholder?: string;
19
+ full?: boolean;
20
+ disabled?: boolean;
21
+ searchable?: boolean;
22
+ searchPlaceholder?: string;
23
+ }
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarProps } from './types';
3
+ export type { SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemOwnProps, SidebarItemProps, SidebarProps } from './types';
4
+ declare function SidebarRoot({ collapsed: controlledCollapsed, defaultCollapsed, onToggle, className, children, searchThreshold, searchPlaceholder, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
5
+ declare function SidebarHeader({ icon, logo, collapsible, className, children, onClick, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function SidebarItem<TElement extends React.ElementType = 'button'>({ icon, active, as, className, children, searchText, ...props }: SidebarItemProps<TElement>): import("react/jsx-runtime").JSX.Element | null;
7
+ declare function SidebarGroup({ title, leftIcon, defaultOpen, open: controlledOpen, onOpenChange, collapsible, className, children, ...props }: SidebarGroupProps): import("react/jsx-runtime").JSX.Element | null;
8
+ declare function SidebarFooter({ className, children, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare const Sidebar: typeof SidebarRoot & {
10
+ Header: typeof SidebarHeader;
11
+ Item: typeof SidebarItem;
12
+ Group: typeof SidebarGroup;
13
+ Footer: typeof SidebarFooter;
14
+ };
@@ -0,0 +1,34 @@
1
+ import { PolymorphicComponentProps } from '../types';
2
+ import type * as React from 'react';
3
+ export interface SidebarProps extends React.HTMLAttributes<HTMLElement> {
4
+ collapsed?: boolean;
5
+ defaultCollapsed?: boolean;
6
+ onToggle?: (collapsed: boolean) => void;
7
+ searchThreshold?: number;
8
+ searchPlaceholder?: string;
9
+ children?: React.ReactNode;
10
+ }
11
+ export interface SidebarHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
12
+ icon?: React.ReactNode;
13
+ logo?: React.ReactNode;
14
+ collapsible?: boolean;
15
+ }
16
+ export interface SidebarItemOwnProps {
17
+ icon?: React.ReactNode | JSX.Element;
18
+ active?: boolean;
19
+ searchText?: string;
20
+ children?: React.ReactNode;
21
+ }
22
+ export type SidebarItemProps<TElement extends React.ElementType = 'button'> = PolymorphicComponentProps<TElement, SidebarItemOwnProps>;
23
+ export interface SidebarGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
24
+ title: React.ReactNode;
25
+ leftIcon?: React.ReactNode;
26
+ defaultOpen?: boolean;
27
+ open?: boolean;
28
+ onOpenChange?: (open: boolean) => void;
29
+ collapsible?: boolean;
30
+ children?: React.ReactNode;
31
+ }
32
+ export interface SidebarFooterProps extends React.HTMLAttributes<HTMLDivElement> {
33
+ children?: React.ReactNode;
34
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SkeletonProps } from './types';
3
+ export type { SkeletonProps } from './types';
4
+ export declare const Skeleton: React.FC<SkeletonProps>;
@@ -0,0 +1,8 @@
1
+ import type * as React from 'react';
2
+ export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ width?: string | number;
4
+ height?: string | number;
5
+ circle?: boolean;
6
+ radius?: string | number;
7
+ animated?: boolean;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SliderProps } from './types';
3
+ export type { SliderProps } from './types';
4
+ export declare const Slider: React.FC<SliderProps>;
@@ -0,0 +1,5 @@
1
+ import type * as React from 'react';
2
+ export interface SliderProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
3
+ label?: string;
4
+ supportText?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SpacerProps } from './types';
3
+ export type { SpacerAxis, SpacerProps } from './types';
4
+ export declare const Spacer: React.FC<SpacerProps>;
@@ -0,0 +1,7 @@
1
+ import type * as React from 'react';
2
+ export type SpacerAxis = 'horizontal' | 'vertical';
3
+ export interface SpacerProps {
4
+ size?: number | string;
5
+ axis?: SpacerAxis;
6
+ style?: React.CSSProperties;
7
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { SwitchProps } from './types';
3
+ export type { SwitchProps, SwitchSize } from './types';
4
+ export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,6 @@
1
+ import type * as React from 'react';
2
+ export type SwitchSize = 'sm' | 'md';
3
+ export interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
+ label?: string;
5
+ size?: SwitchSize;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { TableProps } from './types';
3
+ export type { TableProps } from './types';
4
+ export declare const Table: React.FC<TableProps>;
5
+ export declare const Thead: React.FC<React.HTMLAttributes<HTMLTableSectionElement>>;
6
+ export declare const Tbody: React.FC<React.HTMLAttributes<HTMLTableSectionElement>>;
7
+ export declare const Tr: React.FC<React.HTMLAttributes<HTMLTableRowElement>>;
8
+ export declare const Th: React.FC<React.ThHTMLAttributes<HTMLTableCellElement>>;
9
+ export declare const Td: React.FC<React.TdHTMLAttributes<HTMLTableCellElement>>;
@@ -0,0 +1,8 @@
1
+ import type * as React from 'react';
2
+ export interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
3
+ striped?: boolean;
4
+ hover?: boolean;
5
+ compact?: boolean;
6
+ stickyHeader?: boolean;
7
+ containerClassName?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TabsProps } from './types';
3
+ export type { TabItem, TabsProps, TabsSize, TabsVariant } from './types';
4
+ export declare const Tabs: React.FC<TabsProps>;
@@ -0,0 +1,19 @@
1
+ import type * as React from 'react';
2
+ export interface TabItem {
3
+ value: string;
4
+ label: React.ReactNode;
5
+ content?: React.ReactNode;
6
+ disabled?: boolean;
7
+ href?: string;
8
+ }
9
+ export type TabsVariant = 'default' | 'pills';
10
+ export type TabsSize = 'sm' | 'md' | 'lg';
11
+ export interface TabsProps {
12
+ tabs: TabItem[];
13
+ defaultValue?: string;
14
+ value?: string;
15
+ onChange?: (value: string) => void;
16
+ className?: string;
17
+ variant?: TabsVariant;
18
+ size?: TabsSize;
19
+ }
@@ -0,0 +1,3 @@
1
+ import { TagProps } from './types';
2
+ export type { TagProps, TagSize, TagVariant } from './types';
3
+ export declare function Tag({ children, variant, size, color, leftIcon, rightIcon, closable, onRemove, className, style, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { ColorValue, TokenSize } from '../../utils/styleTokens';
2
+ import type * as React from 'react';
3
+ export type TagVariant = 'soft' | 'outline';
4
+ export type TagSize = Extract<TokenSize, 'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
5
+ export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
6
+ variant?: TagVariant;
7
+ size?: TagSize;
8
+ color?: ColorValue;
9
+ leftIcon?: React.ReactNode;
10
+ rightIcon?: React.ReactNode;
11
+ closable?: boolean;
12
+ onRemove?: () => void;
13
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TextProps } from './types';
3
+ export type { TextColor, TextOwnProps, TextProps, TextSize, TextWeight } from './types';
4
+ export declare const Text: <TElement extends React.ElementType = "p">({ size, color, weight, as, className, children, style, ...props }: TextProps<TElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { PolymorphicComponentProps } from '../types';
2
+ import { TokenTextColor, TokenWeight, TokenSize } from '../../utils/styleTokens';
3
+ import type * as React from 'react';
4
+ export type TextSize = TokenSize;
5
+ export type TextColor = TokenTextColor;
6
+ export type TextWeight = TokenWeight;
7
+ export interface TextOwnProps {
8
+ size?: TextSize;
9
+ color?: TextColor;
10
+ weight?: TextWeight;
11
+ htmlFor?: string;
12
+ }
13
+ export type TextProps<TElement extends React.ElementType = 'p'> = PolymorphicComponentProps<TElement, TextOwnProps>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TextAreaProps } from './types';
3
+ export type { TextAreaProps, TextAreaResize } from './types';
4
+ export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,9 @@
1
+ import type * as React from 'react';
2
+ export type TextAreaResize = 'none' | 'vertical' | 'horizontal' | 'both';
3
+ export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
4
+ label?: string;
5
+ error?: string;
6
+ supportText?: string;
7
+ full?: boolean;
8
+ resize?: TextAreaResize;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ThemeContextValue, ThemeProviderProps } from './types';
3
+ export type { Theme, ThemeContextValue, ThemeProviderProps } from './types';
4
+ export declare const useTheme: () => ThemeContextValue;
5
+ export declare const ThemeProvider: React.FC<ThemeProviderProps>;
@@ -0,0 +1,15 @@
1
+ import { ToastPosition } from '../Toast/types';
2
+ import type * as React from 'react';
3
+ export type Theme = 'light' | 'dark';
4
+ export interface ThemeContextValue {
5
+ theme: Theme;
6
+ toggleTheme: () => void;
7
+ setTheme: (theme: Theme) => void;
8
+ }
9
+ export interface ThemeProviderProps {
10
+ children: React.ReactNode;
11
+ defaultTheme?: Theme;
12
+ storageKey?: string;
13
+ toastPosition?: ToastPosition;
14
+ toastMaxToasts?: number;
15
+ }
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { TimelineItemProps, TimelineProps } from './types';
3
+ export type { TimelineItemProps, TimelineProps } from './types';
4
+ export declare const TimelineItem: React.FC<TimelineItemProps>;
5
+ export declare const Timeline: React.FC<TimelineProps>;
@@ -0,0 +1,12 @@
1
+ import type * as React from 'react';
2
+ export interface TimelineItemProps {
3
+ title: string;
4
+ description?: React.ReactNode;
5
+ date?: string;
6
+ icon?: React.ReactNode;
7
+ src?: string;
8
+ name?: string;
9
+ }
10
+ export interface TimelineProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ children: React.ReactNode;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { ToastContextValue, ToastProviderProps } from './types';
3
+ export type { ToastColor, ToastContextValue, ToastData, ToastPosition, ToastProviderProps } from './types';
4
+ export declare const ToastProvider: React.FC<ToastProviderProps>;
5
+ export declare function useToast(): ToastContextValue;
@@ -0,0 +1,20 @@
1
+ import { ColorValue } from '../../utils/styleTokens';
2
+ import type * as React from 'react';
3
+ export type ToastPosition = 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
4
+ export type ToastColor = Extract<ColorValue, string>;
5
+ export interface ToastData {
6
+ id: string;
7
+ title: string;
8
+ description?: string;
9
+ color?: ToastColor;
10
+ duration?: number;
11
+ }
12
+ export interface ToastContextValue {
13
+ toast: (data: Omit<ToastData, 'id'>) => void;
14
+ dismiss: (id: string) => void;
15
+ }
16
+ export interface ToastProviderProps {
17
+ children: React.ReactNode;
18
+ position?: ToastPosition;
19
+ maxToasts?: number;
20
+ }
@@ -0,0 +1,3 @@
1
+ import { TooltipProps } from './types';
2
+ export type { TooltipPlacement, TooltipProps } from './types';
3
+ export declare function Tooltip({ content, placement, children, delay }: TooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import type * as React from 'react';
2
+ export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
3
+ export interface TooltipProps {
4
+ content: React.ReactNode;
5
+ placement?: TooltipPlacement;
6
+ children: React.ReactElement;
7
+ delay?: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { TopBarProps } from './types';
3
+ export type { TopBarNavItem, TopBarProps } from './types';
4
+ export declare const TopBar: React.FC<TopBarProps>;
@@ -0,0 +1,17 @@
1
+ import type * as React from 'react';
2
+ export interface TopBarNavItem {
3
+ label?: string;
4
+ active?: boolean;
5
+ onClick?: () => void;
6
+ href?: string;
7
+ to?: string;
8
+ }
9
+ export interface TopBarProps extends React.HTMLAttributes<HTMLElement> {
10
+ logo?: React.ReactNode;
11
+ navItems?: TopBarNavItem[];
12
+ navPosition?: 'center' | 'right';
13
+ extraContent?: React.ReactNode;
14
+ themeToggle?: React.ReactNode | boolean;
15
+ sticky?: boolean;
16
+ contentInside?: boolean;
17
+ }
@@ -0,0 +1,49 @@
1
+ export * from './Button/Button';
2
+ export * from './types';
3
+ export * from './IconButton/IconButton';
4
+ export * from './Input/Input';
5
+ export * from './TextArea/TextArea';
6
+ export * from './Search/Search';
7
+ export * from './DatePicker/DatePicker';
8
+ export * from './Select/Select';
9
+ export * from './MultiSelect/MultiSelect';
10
+ export * from './Checkbox/Checkbox';
11
+ export * from './Radio/Radio';
12
+ export * from './Slider/Slider';
13
+ export * from './FileUpload/FileUpload';
14
+ export * from './Card/Card';
15
+ export * from './Box/Box';
16
+ export * from './Flex/Flex';
17
+ export * from './Grid/Grid';
18
+ export * from './Container/Container';
19
+ export * from './Spacer/Spacer';
20
+ export * from './Divider/Divider';
21
+ export * from './List/List';
22
+ export * from './Accordion/Accordion';
23
+ export * from './Text/Text';
24
+ export * from './Heading/Heading';
25
+ export * from './Code/Code';
26
+ export * from './Link/Link';
27
+ export * from './Badge/Badge';
28
+ export * from './Tag/Tag';
29
+ export * from './Avatar/Avatar';
30
+ export * from './Image/Image';
31
+ export * from './Loader/Loader';
32
+ export * from './Skeleton/Skeleton';
33
+ export * from './Switch/Switch';
34
+ export * from './Pagination/Pagination';
35
+ export * from './EmptyState/EmptyState';
36
+ export * from './Modal/Modal';
37
+ export * from './Drawer/Drawer';
38
+ export * from './Tooltip/Tooltip';
39
+ export * from './Toast/Toast';
40
+ export * from './Table/Table';
41
+ export * from './Sidebar/Sidebar';
42
+ export * from './TopBar/TopBar';
43
+ export * from './PageHeader/PageHeader';
44
+ export * from './Breadcrumb/Breadcrumb';
45
+ export * from './Progress/Progress';
46
+ export * from './Tabs/Tabs';
47
+ export * from './Timeline/Timeline';
48
+ export * from './FormField/FormField';
49
+ export * from './ThemeProvider/ThemeProvider';
@@ -0,0 +1,7 @@
1
+ import type * as React from 'react';
2
+ export type LooseStringUnion<T extends string> = T | (string & object);
3
+ export type PropsOf<TElement extends React.ElementType> = React.ComponentPropsWithoutRef<TElement>;
4
+ export type PolymorphicRef<TElement extends React.ElementType> = React.ComponentPropsWithRef<TElement>['ref'];
5
+ export type PolymorphicComponentProps<TElement extends React.ElementType, TOwnProps = object> = TOwnProps & {
6
+ as?: TElement;
7
+ } & Omit<PropsOf<TElement>, keyof TOwnProps | 'as'>;
@@ -0,0 +1,9 @@
1
+ export interface UseOverlayOptions {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ closeOnEscape?: boolean;
5
+ lockScroll?: boolean;
6
+ }
7
+ export declare function useOverlay({ isOpen, onClose, closeOnEscape, lockScroll }: UseOverlayOptions): {
8
+ overlayRef: import('react').RefObject<HTMLDivElement>;
9
+ };
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, 'name'> {
3
+ size?: number;
4
+ }
5
+ export declare function IconBase({ size, width, height, viewBox, fill, stroke, strokeWidth, strokeLinecap, strokeLinejoin, children, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;