@unizap/uniui 1.0.6 → 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.
Files changed (141) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +3 -2
  2. package/dist/components/Accordion/Accordion.types.d.ts +13 -12
  3. package/dist/components/Accordion/index.d.ts +1 -1
  4. package/dist/components/ActionMenu/ActionMenu.d.ts +2 -1
  5. package/dist/components/ActionMenu/ActionMenu.types.d.ts +14 -13
  6. package/dist/components/ActionMenu/index.d.ts +1 -1
  7. package/dist/components/Alert/Alert.d.ts +3 -2
  8. package/dist/components/Alert/Alert.types.d.ts +8 -8
  9. package/dist/components/Alert/index.d.ts +1 -1
  10. package/dist/components/{SearchBar/SearchBar.d.ts → Autocomplete/Autocomplete.d.ts} +4 -3
  11. package/dist/components/{SearchBar/SearchBar.types.d.ts → Autocomplete/Autocomplete.types.d.ts} +24 -24
  12. package/dist/components/Autocomplete/index.d.ts +1 -0
  13. package/dist/components/Avatar/Avatar.d.ts +3 -2
  14. package/dist/components/Avatar/Avatar.types.d.ts +10 -9
  15. package/dist/components/Avatar/index.d.ts +1 -1
  16. package/dist/components/Badge/Badge.d.ts +3 -2
  17. package/dist/components/Badge/Badge.types.d.ts +9 -8
  18. package/dist/components/Badge/index.d.ts +1 -1
  19. package/dist/components/BottomNavigation/BottomNavigation.d.ts +3 -2
  20. package/dist/components/BottomNavigation/BottomNavigation.types.d.ts +14 -14
  21. package/dist/components/BottomNavigation/index.d.ts +1 -1
  22. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -2
  23. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +9 -9
  24. package/dist/components/Breadcrumbs/index.d.ts +1 -1
  25. package/dist/components/Button/Button.d.ts +3 -2
  26. package/dist/components/Button/Button.types.d.ts +17 -16
  27. package/dist/components/Button/index.d.ts +1 -1
  28. package/dist/components/Card/Card.d.ts +3 -2
  29. package/dist/components/Card/Card.types.d.ts +17 -16
  30. package/dist/components/Card/index.d.ts +1 -1
  31. package/dist/components/CardWrapper/CardWrapper.d.ts +8 -7
  32. package/dist/components/CardWrapper/CardWrapper.types.d.ts +1 -1
  33. package/dist/components/CardWrapper/index.d.ts +1 -1
  34. package/dist/components/Carousel/Carousel.d.ts +3 -2
  35. package/dist/components/Carousel/Carousel.types.d.ts +21 -21
  36. package/dist/components/Carousel/index.d.ts +1 -1
  37. package/dist/components/Checkbox/Checkbox.d.ts +3 -2
  38. package/dist/components/Checkbox/Checkbox.types.d.ts +9 -9
  39. package/dist/components/Checkbox/index.d.ts +1 -1
  40. package/dist/components/DashboardStatBoxes/DashboardStatBoxes.d.ts +3 -2
  41. package/dist/components/DashboardStatBoxes/DashboardStatBoxes.types.d.ts +12 -12
  42. package/dist/components/DashboardStatBoxes/index.d.ts +1 -1
  43. package/dist/components/DatePicker/DatePicker.d.ts +3 -2
  44. package/dist/components/DatePicker/DatePicker.types.d.ts +16 -16
  45. package/dist/components/DatePicker/index.d.ts +1 -1
  46. package/dist/components/Dialog/Dialog.d.ts +3 -2
  47. package/dist/components/Dialog/Dialog.types.d.ts +17 -16
  48. package/dist/components/Dialog/index.d.ts +1 -1
  49. package/dist/components/Divider/Divider.d.ts +3 -2
  50. package/dist/components/Divider/Divider.types.d.ts +6 -6
  51. package/dist/components/Divider/index.d.ts +1 -1
  52. package/dist/components/Drawer/Drawer.d.ts +3 -2
  53. package/dist/components/Drawer/Drawer.types.d.ts +12 -11
  54. package/dist/components/Drawer/index.d.ts +1 -1
  55. package/dist/components/Dropdown/Dropdown.d.ts +3 -2
  56. package/dist/components/Dropdown/Dropdown.types.d.ts +11 -11
  57. package/dist/components/Dropdown/index.d.ts +1 -1
  58. package/dist/components/DropzoneUploader/DropzoneUploader.d.ts +3 -2
  59. package/dist/components/DropzoneUploader/DropzoneUploader.types.d.ts +23 -23
  60. package/dist/components/DropzoneUploader/index.d.ts +1 -1
  61. package/dist/components/EmptyState/EmptyState.d.ts +3 -2
  62. package/dist/components/EmptyState/EmptyState.types.d.ts +18 -17
  63. package/dist/components/EmptyState/index.d.ts +1 -1
  64. package/dist/components/IconButton/IconButton.d.ts +3 -2
  65. package/dist/components/IconButton/IconButton.types.d.ts +11 -10
  66. package/dist/components/IconButton/index.d.ts +1 -1
  67. package/dist/components/List/List.d.ts +3 -2
  68. package/dist/components/List/List.types.d.ts +10 -9
  69. package/dist/components/List/ListItem.d.ts +3 -2
  70. package/dist/components/List/index.d.ts +2 -2
  71. package/dist/components/Menu/Menu.d.ts +8 -8
  72. package/dist/components/Menu/Menu.types.d.ts +1 -1
  73. package/dist/components/Menu/index.d.ts +1 -1
  74. package/dist/components/Pagination/Pagination.d.ts +3 -2
  75. package/dist/components/Pagination/Pagination.types.d.ts +8 -8
  76. package/dist/components/Pagination/index.d.ts +1 -1
  77. package/dist/components/PasswordInput/PasswordInput.d.ts +3 -2
  78. package/dist/components/PasswordInput/index.d.ts +1 -1
  79. package/dist/components/Pill/Pill.d.ts +3 -2
  80. package/dist/components/Pill/Pill.type.d.ts +8 -7
  81. package/dist/components/Pill/index.d.ts +1 -1
  82. package/dist/components/ProfileImageShowcase/ProfileShowcase.d.ts +10 -9
  83. package/dist/components/ProfileImageShowcase/ProfileShowcase.type.d.ts +1 -1
  84. package/dist/components/ProfileImageShowcase/index.d.ts +1 -1
  85. package/dist/components/Progress/Progress.d.ts +3 -2
  86. package/dist/components/Progress/Progress.types.d.ts +48 -47
  87. package/dist/components/Progress/index.d.ts +1 -1
  88. package/dist/components/RadioGroup/RadioGroup.d.ts +3 -2
  89. package/dist/components/RadioGroup/RadioGroup.types.d.ts +16 -15
  90. package/dist/components/RadioGroup/index.d.ts +1 -1
  91. package/dist/components/Select/Select.d.ts +3 -2
  92. package/dist/components/Select/Select.types.d.ts +17 -17
  93. package/dist/components/Select/index.d.ts +1 -1
  94. package/dist/components/Sidebar/Sidebar.d.ts +10 -10
  95. package/dist/components/Sidebar/Sidebar.types.d.ts +16 -15
  96. package/dist/components/Sidebar/index.d.ts +1 -1
  97. package/dist/components/Skeleton/Skeleton.d.ts +3 -2
  98. package/dist/components/Skeleton/Skeleton.types.d.ts +28 -28
  99. package/dist/components/Skeleton/index.d.ts +1 -1
  100. package/dist/components/Slider/Slider.d.ts +3 -2
  101. package/dist/components/Slider/Slider.types.d.ts +21 -20
  102. package/dist/components/Slider/index.d.ts +1 -1
  103. package/dist/components/Snackbar/Snackbar.d.ts +3 -2
  104. package/dist/components/Snackbar/Snackbar.types.d.ts +41 -40
  105. package/dist/components/Snackbar/index.d.ts +1 -1
  106. package/dist/components/Stepper/Stepper.d.ts +12 -11
  107. package/dist/components/Stepper/Stepper.type.d.ts +1 -1
  108. package/dist/components/Stepper/index.d.ts +1 -1
  109. package/dist/components/Table/Table.d.ts +5 -4
  110. package/dist/components/Table/Table.types.d.ts +15 -14
  111. package/dist/components/Table/index.d.ts +1 -1
  112. package/dist/components/Tabs/Tabs.d.ts +3 -2
  113. package/dist/components/Tabs/Tabs.types.d.ts +17 -16
  114. package/dist/components/Tabs/index.d.ts +1 -1
  115. package/dist/components/TextArea/TextArea.d.ts +3 -2
  116. package/dist/components/TextArea/TextArea.types.d.ts +7 -7
  117. package/dist/components/TextArea/index.d.ts +1 -1
  118. package/dist/components/TextInput/TextInput.d.ts +3 -2
  119. package/dist/components/TextInput/TextInput.types.d.ts +15 -15
  120. package/dist/components/TextInput/index.d.ts +1 -1
  121. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -2
  122. package/dist/components/ToggleSwitch/ToggleSwitch.types.d.ts +8 -7
  123. package/dist/components/ToggleSwitch/index.d.ts +1 -1
  124. package/dist/components/Tooltip/Tooltip.d.ts +3 -2
  125. package/dist/components/Tooltip/Tooltip.type.d.ts +5 -5
  126. package/dist/components/Tooltip/index.d.ts +1 -1
  127. package/dist/components/Typography/Typography.d.ts +3 -2
  128. package/dist/components/Typography/Typography.types.d.ts +8 -7
  129. package/dist/components/Typography/index.d.ts +1 -1
  130. package/dist/components/index.d.ts +42 -42
  131. package/dist/components/otpInput/OtpInput.d.ts +3 -2
  132. package/dist/components/otpInput/OtpInput.type.d.ts +13 -12
  133. package/dist/components/otpInput/index.d.ts +1 -1
  134. package/dist/index.d.ts +4 -1
  135. package/dist/uniui.css +1 -2209
  136. package/dist/uniui.js +2025 -2092
  137. package/dist/uniui.umd.cjs +74 -71
  138. package/dist/utils/ColorMap.d.ts +29 -156
  139. package/dist/utils/constants.d.ts +1 -1
  140. package/package.json +80 -48
  141. package/dist/components/SearchBar/index.d.ts +0 -1
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { AccordionProps } from './Accordion.types';
3
- declare const Accordion: React.FC<AccordionProps>;
4
- export default Accordion;
3
+
4
+ declare const Accordion: React.FC<AccordionProps>;
5
+ export default Accordion;
@@ -1,13 +1,14 @@
1
1
  import { ReactNode } from 'react';
2
- export interface AccordionProps {
3
- title: ReactNode;
4
- content: ReactNode;
5
- expandIcon?: ReactNode;
6
- collapseIcon?: ReactNode;
7
- isOpen?: boolean;
8
- defaultExpanded?: boolean;
9
- onToggle?: (expanded: boolean) => void;
10
- className?: string;
11
- titleClass?: string;
12
- contentClass?: string;
13
- }
2
+
3
+ export interface AccordionProps {
4
+ title: ReactNode;
5
+ content: ReactNode;
6
+ expandIcon?: ReactNode;
7
+ collapseIcon?: ReactNode;
8
+ isOpen?: boolean;
9
+ defaultExpanded?: boolean;
10
+ onToggle?: (expanded: boolean) => void;
11
+ className?: string;
12
+ titleClass?: string;
13
+ contentClass?: string;
14
+ }
@@ -1 +1 @@
1
- export { default } from './Accordion';
1
+ export { default } from './Accordion';
@@ -1,2 +1,3 @@
1
1
  import { ActionMenuProps } from './ActionMenu.types';
2
- export default function ActionMenu({ items, trigger, className, dropdownItemClass }: ActionMenuProps): import("react/jsx-runtime").JSX.Element;
2
+
3
+ export default function ActionMenu({ items, trigger, className, dropdownItemClass }: ActionMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,15 @@
1
1
  import { ReactNode } from 'react';
2
- export interface ActionMenuItem {
3
- label?: string;
4
- icon?: ReactNode;
5
- itemClass?: string;
6
- disabled?: boolean;
7
- onClick?: () => void;
8
- }
9
- export interface ActionMenuProps {
10
- items: ActionMenuItem[];
11
- trigger: ReactNode;
12
- className?: string;
13
- dropdownItemClass?: string;
14
- }
2
+
3
+ export interface ActionMenuItem {
4
+ label?: string;
5
+ icon?: ReactNode;
6
+ itemClass?: string;
7
+ disabled?: boolean;
8
+ onClick?: () => void;
9
+ }
10
+ export interface ActionMenuProps {
11
+ items: ActionMenuItem[];
12
+ trigger: ReactNode;
13
+ className?: string;
14
+ dropdownItemClass?: string;
15
+ }
@@ -1 +1 @@
1
- export { default } from './ActionMenu';
1
+ export { default } from './ActionMenu';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { AlertProps } from './Alert.types';
3
- declare const Alert: React.FC<AlertProps>;
4
- export default Alert;
3
+
4
+ declare const Alert: React.FC<AlertProps>;
5
+ export default Alert;
@@ -1,8 +1,8 @@
1
- export interface AlertProps {
2
- message: string;
3
- variant?: 'info' | 'success' | 'danger' | 'warning' | 'dark';
4
- onClose?: () => void;
5
- autoClose?: boolean;
6
- autoCloseDuration?: number;
7
- className?: string;
8
- }
1
+ export interface AlertProps {
2
+ message: string;
3
+ variant?: 'info' | 'success' | 'danger' | 'warning' | 'dark';
4
+ onClose?: () => void;
5
+ autoClose?: boolean;
6
+ autoCloseDuration?: number;
7
+ className?: string;
8
+ }
@@ -1 +1 @@
1
- export { default } from './Alert';
1
+ export { default } from './Alert';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { SearchBarProps } from './SearchBar.types';
3
- declare const SearchBar: React.FC<SearchBarProps>;
4
- export default SearchBar;
2
+ import { SearchBarProps } from './Autocomplete.types';
3
+
4
+ declare const SearchBar: React.FC<SearchBarProps>;
5
+ export default SearchBar;
@@ -1,24 +1,24 @@
1
- export interface SearchBarProps {
2
- /** Current search value (controlled) */
3
- value: string;
4
- /** Called on every keystroke */
5
- onChange: (v: string) => void;
6
- /** Optional list shown under the field */
7
- suggestions?: string[];
8
- /** Fired when user picks a suggestion (click or Enter) */
9
- onSelect?: (v: string) => void;
10
- /** Placeholder text */
11
- placeholder?: string;
12
- /** Debounce delay (ms) before firing onChange; 0 = none */
13
- debounce?: number;
14
- /** Width of the component (CSS size) */
15
- width?: string | number;
16
- /** If true, filter suggestions client-side */
17
- filterLocal?: boolean;
18
- /** Custom empty-state text when no suggestions */
19
- emptyLabel?: string;
20
- iconStyle?: string;
21
- inputClass?: string;
22
- className?: string;
23
- startIcon?: React.ReactNode;
24
- }
1
+ export interface SearchBarProps {
2
+ /** Current search value (controlled) */
3
+ value: string;
4
+ /** Called on every keystroke */
5
+ onChange: (v: string) => void;
6
+ /** Optional list shown under the field */
7
+ suggestions?: string[];
8
+ /** Fired when user picks a suggestion (click or Enter) */
9
+ onSelect?: (v: string) => void;
10
+ /** Placeholder text */
11
+ placeholder?: string;
12
+ /** Debounce delay (ms) before firing onChange; 0 = none */
13
+ debounce?: number;
14
+ /** Width of the component (CSS size) */
15
+ width?: string | number;
16
+ /** If true, filter suggestions client-side */
17
+ filterLocal?: boolean;
18
+ /** Custom empty-state text when no suggestions */
19
+ emptyLabel?: string;
20
+ iconStyle?: string;
21
+ inputClass?: string;
22
+ className?: string;
23
+ startIcon?: React.ReactNode;
24
+ }
@@ -0,0 +1 @@
1
+ export { default } from './Autocomplete';
@@ -1,3 +1,4 @@
1
1
  import { AvatarProps } from './Avatar.types';
2
- declare const Avatar: ({ src, alt, size, fallback, className, color, shape, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Avatar;
2
+
3
+ declare const Avatar: ({ src, alt, size, fallback, className, color, shape, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Avatar;
@@ -1,10 +1,11 @@
1
1
  import { CompColor } from '../../utils/ColorMap';
2
- export interface AvatarProps {
3
- src?: string;
4
- alt?: string;
5
- fallback?: React.ReactNode;
6
- size?: 'sm' | 'md' | 'lg' | 'xl';
7
- shape?: 'circle' | 'rounded' | 'square';
8
- color?: CompColor;
9
- className?: string;
10
- }
2
+
3
+ export interface AvatarProps {
4
+ src?: string;
5
+ alt?: string;
6
+ fallback?: React.ReactNode;
7
+ size?: 'sm' | 'md' | 'lg' | 'xl';
8
+ shape?: 'circle' | 'rounded' | 'square';
9
+ color?: CompColor;
10
+ className?: string;
11
+ }
@@ -1 +1 @@
1
- export { default } from './Avatar';
1
+ export { default } from './Avatar';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { BadgeProps } from './Badge.types';
3
- declare const Badge: React.FC<BadgeProps>;
4
- export default Badge;
3
+
4
+ declare const Badge: React.FC<BadgeProps>;
5
+ export default Badge;
@@ -1,9 +1,10 @@
1
1
  import { CompColor } from '../../utils/ColorMap';
2
- export interface BadgeProps {
3
- children: React.ReactNode;
4
- count?: number;
5
- showDot?: boolean;
6
- max?: number;
7
- color?: CompColor;
8
- position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
9
- }
2
+
3
+ export interface BadgeProps {
4
+ children: React.ReactNode;
5
+ count?: number;
6
+ showDot?: boolean;
7
+ max?: number;
8
+ color?: CompColor;
9
+ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
10
+ }
@@ -1 +1 @@
1
- export { default } from './Badge';
1
+ export { default } from './Badge';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { BottomNavigationProps } from './BottomNavigation.types';
3
- declare const BottomNavigation: React.FC<BottomNavigationProps>;
4
- export default BottomNavigation;
3
+
4
+ declare const BottomNavigation: React.FC<BottomNavigationProps>;
5
+ export default BottomNavigation;
@@ -1,14 +1,14 @@
1
- export interface NavItem {
2
- label: string;
3
- icon: React.ReactNode;
4
- path: string;
5
- }
6
- export interface BottomNavigationProps {
7
- variant?: 'floating' | 'static' | 'fixed';
8
- activeTab: string;
9
- navItems: NavItem[];
10
- onTabChange: (label: string) => void;
11
- className?: string;
12
- activeClass?: string;
13
- buttonClass?: string;
14
- }
1
+ export interface NavItem {
2
+ label: string;
3
+ icon: React.ReactNode;
4
+ path: string;
5
+ }
6
+ export interface BottomNavigationProps {
7
+ variant?: 'floating' | 'static' | 'fixed';
8
+ activeTab: string;
9
+ navItems: NavItem[];
10
+ onTabChange: (label: string) => void;
11
+ className?: string;
12
+ activeClass?: string;
13
+ buttonClass?: string;
14
+ }
@@ -1 +1 @@
1
- export { default } from './BottomNavigation';
1
+ export { default } from './BottomNavigation';
@@ -1,3 +1,4 @@
1
1
  import { BreadcrumbsProps } from './Breadcrumbs.types';
2
- declare const Breadcrumbs: ({ items, separator, className }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Breadcrumbs;
2
+
3
+ declare const Breadcrumbs: ({ items, separator, className }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Breadcrumbs;
@@ -1,9 +1,9 @@
1
- export interface BreadcrumbItem {
2
- label: string;
3
- href?: string;
4
- }
5
- export interface BreadcrumbsProps {
6
- items: BreadcrumbItem[];
7
- separator?: string;
8
- className?: string;
9
- }
1
+ export interface BreadcrumbItem {
2
+ label: string;
3
+ href?: string;
4
+ }
5
+ export interface BreadcrumbsProps {
6
+ items: BreadcrumbItem[];
7
+ separator?: string;
8
+ className?: string;
9
+ }
@@ -1 +1 @@
1
- export { default } from './Breadcrumbs';
1
+ export { default } from './Breadcrumbs';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { IButtonProps } from './Button.types';
3
- declare const Button: React.FC<IButtonProps>;
4
- export default Button;
3
+
4
+ declare const Button: React.FC<IButtonProps>;
5
+ export default Button;
@@ -1,18 +1,19 @@
1
1
  import { default as React } from 'react';
2
2
  import { CompColor } from '../../utils/ColorMap';
3
- export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
- title?: string;
5
- variant?: 'filled' | 'outlined' | 'text';
6
- color?: CompColor;
7
- size?: 'small' | 'medium' | 'large';
8
- children?: React.ReactNode;
9
- className?: string;
10
- fullWidth?: boolean;
11
- disabled?: boolean;
12
- roundedFull?: boolean;
13
- icon?: React.ReactNode;
14
- href?: string;
15
- target?: '_blank' | '_self' | '_parent' | '_top';
16
- type?: 'submit' | 'reset' | 'button';
17
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
18
- }
3
+
4
+ export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
+ title?: string;
6
+ variant?: 'filled' | 'outlined' | 'transparent';
7
+ color?: CompColor;
8
+ size?: 'small' | 'medium' | 'large';
9
+ children?: React.ReactNode;
10
+ className?: string;
11
+ fullWidth?: boolean;
12
+ disabled?: boolean;
13
+ roundedFull?: boolean;
14
+ icon?: React.ReactNode;
15
+ href?: string;
16
+ target?: '_blank' | '_self' | '_parent' | '_top';
17
+ type?: 'submit' | 'reset' | 'button';
18
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
19
+ }
@@ -1 +1 @@
1
- export { default } from './Button';
1
+ export { default } from './Button';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { ICardProps } from './Card.types';
3
- declare const Card: React.FC<ICardProps>;
4
- export default Card;
3
+
4
+ declare const Card: React.FC<ICardProps>;
5
+ export default Card;
@@ -1,17 +1,18 @@
1
1
  import { default as React } from 'react';
2
- export interface ICardProps {
3
- title?: string;
4
- subtitle?: string;
5
- space?: 'none' | 'small' | 'medium' | 'large';
6
- shadow?: 'default' | 'small' | 'medium' | 'large';
7
- roundness?: 'small' | 'medium' | 'large';
8
- image?: string;
9
- divider?: boolean;
10
- actionMenu?: React.ReactNode;
11
- children?: React.ReactNode;
12
- className?: string;
13
- hoverable?: boolean;
14
- bordered?: boolean;
15
- onClick?: () => void;
16
- loaderJsx?: boolean;
17
- }
2
+
3
+ export interface ICardProps {
4
+ title?: string;
5
+ subtitle?: string;
6
+ space?: 'none' | 'small' | 'medium' | 'large';
7
+ shadow?: 'default' | 'small' | 'medium' | 'large';
8
+ roundness?: 'small' | 'medium' | 'large';
9
+ image?: string;
10
+ divider?: boolean;
11
+ actionMenu?: React.ReactNode;
12
+ children?: React.ReactNode;
13
+ className?: string;
14
+ hoverable?: boolean;
15
+ bordered?: boolean;
16
+ onClick?: () => void;
17
+ loaderJsx?: boolean;
18
+ }
@@ -1 +1 @@
1
- export { default } from './Card';
1
+ export { default } from './Card';
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
- interface CardWrapperProps {
3
- children?: React.ReactNode;
4
- className?: string;
5
- border?: boolean;
6
- }
7
- declare const CardWrapper: React.FC<CardWrapperProps>;
8
- export default CardWrapper;
2
+
3
+ interface CardWrapperProps {
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ border?: boolean;
7
+ }
8
+ declare const CardWrapper: React.FC<CardWrapperProps>;
9
+ export default CardWrapper;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1 +1 @@
1
- export { default } from './CardWrapper';
1
+ export { default } from './CardWrapper';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { CarouselProps } from './Carousel.types';
3
- declare const Carousel: React.FC<CarouselProps>;
4
- export default Carousel;
3
+
4
+ declare const Carousel: React.FC<CarouselProps>;
5
+ export default Carousel;
@@ -1,21 +1,21 @@
1
- export interface CarouselProps {
2
- children: React.ReactNode[];
3
- width?: string;
4
- height?: string;
5
- showIndicators?: boolean;
6
- showArrows?: boolean;
7
- autoplay?: boolean;
8
- interval?: number;
9
- infiniteLoop?: boolean;
10
- perview?: number;
11
- onClickItem?: (index: number) => void;
12
- showThumbs?: boolean;
13
- pauseOnHover?: boolean;
14
- swipeable?: boolean;
15
- thumbWidth?: number;
16
- gap?: number;
17
- nextIcon?: React.ReactNode;
18
- prevIcon?: React.ReactNode;
19
- className?: string;
20
- orientation?: 'horizontal' | 'vertical';
21
- }
1
+ export interface CarouselProps {
2
+ children: React.ReactNode[];
3
+ width?: string;
4
+ height?: string;
5
+ showIndicators?: boolean;
6
+ showArrows?: boolean;
7
+ autoplay?: boolean;
8
+ interval?: number;
9
+ infiniteLoop?: boolean;
10
+ perview?: number;
11
+ onClickItem?: (index: number) => void;
12
+ showThumbs?: boolean;
13
+ pauseOnHover?: boolean;
14
+ swipeable?: boolean;
15
+ thumbWidth?: number;
16
+ gap?: number;
17
+ nextIcon?: React.ReactNode;
18
+ prevIcon?: React.ReactNode;
19
+ className?: string;
20
+ orientation?: 'horizontal' | 'vertical';
21
+ }
@@ -1 +1 @@
1
- export { default } from './Carousel';
1
+ export { default } from './Carousel';
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { ICheckboxProps } from './Checkbox.types';
3
- declare const Checkbox: React.FC<ICheckboxProps>;
4
- export default Checkbox;
3
+
4
+ declare const Checkbox: React.FC<ICheckboxProps>;
5
+ export default Checkbox;
@@ -1,9 +1,9 @@
1
- export interface ICheckboxProps {
2
- label?: string;
3
- checked?: boolean;
4
- disabled?: boolean;
5
- onChange?: (checked: boolean) => void;
6
- className?: string;
7
- labelClass?: string;
8
- id?: string;
9
- }
1
+ export interface ICheckboxProps {
2
+ label?: string;
3
+ checked?: boolean;
4
+ disabled?: boolean;
5
+ onChange?: (checked: boolean) => void;
6
+ className?: string;
7
+ labelClass?: string;
8
+ id?: string;
9
+ }
@@ -1 +1 @@
1
- export { default } from './Checkbox';
1
+ export { default } from './Checkbox';
@@ -1,3 +1,4 @@
1
1
  import { DashboardStatBoxesProps } from './DashboardStatBoxes.types';
2
- declare const DashboardStatBoxes: ({ stats, className, }: DashboardStatBoxesProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DashboardStatBoxes;
2
+
3
+ declare const DashboardStatBoxes: ({ stats, className, }: DashboardStatBoxesProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default DashboardStatBoxes;
@@ -1,12 +1,12 @@
1
- export type DashboardStatBox = {
2
- icon: React.ReactNode;
3
- name: string;
4
- value: string;
5
- className?: string;
6
- accentColor?: string;
7
- accentBackground?: string;
8
- };
9
- export type DashboardStatBoxesProps = {
10
- stats: DashboardStatBox[];
11
- className?: string;
12
- };
1
+ export type DashboardStatBox = {
2
+ icon: React.ReactNode;
3
+ name: string;
4
+ value: string;
5
+ className?: string;
6
+ accentColor?: string;
7
+ accentBackground?: string;
8
+ };
9
+ export type DashboardStatBoxesProps = {
10
+ stats: DashboardStatBox[];
11
+ className?: string;
12
+ };
@@ -1 +1 @@
1
- export { default } from './DashboardStatBoxes';
1
+ export { default } from './DashboardStatBoxes';
@@ -1,3 +1,4 @@
1
1
  import { DatePickerProps } from './DatePicker.types';
2
- export declare const DatePicker: ({ mode, type, showTime, onlyTime, className, onChange, placeholder, icon, disableBefore, disableAfter, selectedDate, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DatePicker;
2
+
3
+ export declare const DatePicker: ({ mode, type, showTime, onlyTime, className, onChange, placeholder, icon, disableBefore, disableAfter, selectedDate, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default DatePicker;
@@ -1,16 +1,16 @@
1
- export interface DatePickerProps {
2
- mode?: 'single' | 'range';
3
- type?: 'inline' | 'dialog';
4
- showTime?: boolean;
5
- onlyTime?: boolean;
6
- className?: string;
7
- onChange?: (value: number | null | {
8
- startDate: number | null;
9
- endDate: number | null;
10
- }) => void;
11
- placeholder?: string;
12
- icon?: React.ReactNode;
13
- disableBefore?: number;
14
- disableAfter?: number;
15
- selectedDate?: number | null;
16
- }
1
+ export interface DatePickerProps {
2
+ mode?: 'single' | 'range';
3
+ type?: 'inline' | 'dialog';
4
+ showTime?: boolean;
5
+ onlyTime?: boolean;
6
+ className?: string;
7
+ onChange?: (value: number | null | {
8
+ startDate: number | null;
9
+ endDate: number | null;
10
+ }) => void;
11
+ placeholder?: string;
12
+ icon?: React.ReactNode;
13
+ disableBefore?: number;
14
+ disableAfter?: number;
15
+ selectedDate?: number | null;
16
+ }
@@ -1 +1 @@
1
- export { default } from './DatePicker';
1
+ export { default } from './DatePicker';
@@ -1,3 +1,4 @@
1
1
  import { DialogProps, DialogHandle } from './Dialog.types';
2
- declare const Dialog: import('react').ForwardRefExoticComponent<DialogProps & import('react').RefAttributes<DialogHandle>>;
3
- export default Dialog;
2
+
3
+ declare const Dialog: import('react').ForwardRefExoticComponent<DialogProps & import('react').RefAttributes<DialogHandle>>;
4
+ export default Dialog;