@smitch/breeze 0.2.1 → 0.2.3

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 (235) hide show
  1. package/lib/@hooks/useWindowWidth.d.ts +2 -0
  2. package/lib/@utils/merge.d.ts +1 -0
  3. package/lib/accordion/Accordion.d.ts +3 -0
  4. package/lib/accordion/atoms/AccordionCard.d.ts +3 -0
  5. package/lib/accordion/atoms/AccordionHead.d.ts +3 -0
  6. package/lib/accordion/atoms/AccordionItem.d.ts +3 -0
  7. package/lib/accordion/atoms/AccordionSection.d.ts +3 -0
  8. package/lib/accordion/atoms/index.d.ts +4 -0
  9. package/lib/accordion/index.d.ts +2 -0
  10. package/lib/accordion/types/index.d.ts +57 -0
  11. package/lib/alert/Alert.d.ts +3 -0
  12. package/lib/alert/index.d.ts +1 -0
  13. package/lib/alert/types/index.d.ts +17 -0
  14. package/lib/autocomplete/Autocomplete.d.ts +3 -0
  15. package/lib/autocomplete/index.d.ts +1 -0
  16. package/lib/autocomplete/types/index.d.ts +16 -0
  17. package/lib/badge/Badge.d.ts +3 -0
  18. package/lib/badge/index.d.ts +1 -0
  19. package/lib/badge/types/index.d.ts +10 -0
  20. package/lib/blockquote/Blockquote.d.ts +3 -0
  21. package/lib/blockquote/index.d.ts +1 -0
  22. package/lib/blockquote/types/index.d.ts +9 -0
  23. package/lib/breadcrumbs/Breadcrumbs.d.ts +3 -0
  24. package/lib/breadcrumbs/index.d.ts +1 -0
  25. package/lib/breadcrumbs/types/index.d.ts +9 -0
  26. package/lib/button/Button.d.ts +5 -0
  27. package/lib/button/index.d.ts +2 -0
  28. package/lib/button/types/index.d.ts +24 -0
  29. package/lib/button/variants/CloseButton.d.ts +3 -0
  30. package/lib/button/variants/index.d.ts +1 -0
  31. package/lib/button/variants/types/index.d.ts +9 -0
  32. package/lib/buttongroup/ButtonGroup.d.ts +3 -0
  33. package/lib/buttongroup/index.d.ts +1 -0
  34. package/lib/buttongroup/types/index.d.ts +11 -0
  35. package/lib/card/Card.d.ts +3 -0
  36. package/lib/card/atoms/CardBody.d.ts +3 -0
  37. package/lib/card/atoms/CardFooter.d.ts +3 -0
  38. package/lib/card/atoms/CardHeader.d.ts +3 -0
  39. package/lib/card/atoms/CardImage.d.ts +3 -0
  40. package/lib/card/index.d.ts +5 -0
  41. package/lib/card/types/index.d.ts +31 -0
  42. package/lib/carousel/Carousel.d.ts +3 -0
  43. package/lib/carousel/index.d.ts +1 -0
  44. package/lib/carousel/types/index.d.ts +28 -0
  45. package/lib/charts/BarChart.d.ts +3 -0
  46. package/lib/charts/BubbleChart.d.ts +3 -0
  47. package/lib/charts/ChartWrap.d.ts +15 -0
  48. package/lib/charts/DoughnutChart.d.ts +3 -0
  49. package/lib/charts/LineChart.d.ts +3 -0
  50. package/lib/charts/MixedChart.d.ts +3 -0
  51. package/lib/charts/PieChart.d.ts +3 -0
  52. package/lib/charts/PolarAreaChart.d.ts +3 -0
  53. package/lib/charts/RadarChart.d.ts +3 -0
  54. package/lib/charts/ScatterChart.d.ts +3 -0
  55. package/lib/charts/index.d.ts +9 -0
  56. package/lib/charts/types/index.d.ts +85 -0
  57. package/lib/checkbox/Checkbox.d.ts +3 -0
  58. package/lib/checkbox/index.d.ts +1 -0
  59. package/lib/checkbox/types/index.d.ts +14 -0
  60. package/lib/clock/Clock.d.ts +3 -0
  61. package/lib/clock/index.d.ts +1 -0
  62. package/lib/clock/types/index.d.ts +13 -0
  63. package/lib/codeblock/Codeblock.d.ts +3 -0
  64. package/lib/codeblock/index.d.ts +1 -0
  65. package/lib/codeblock/types/index.d.ts +6 -0
  66. package/lib/counter/Counter.d.ts +3 -0
  67. package/lib/counter/index.d.ts +1 -0
  68. package/lib/counter/types/index.d.ts +22 -0
  69. package/lib/datatable/DataTable.d.ts +3 -0
  70. package/lib/datatable/index.d.ts +1 -0
  71. package/lib/datatable/types/index.d.ts +10 -0
  72. package/lib/dialog/Dialog.d.ts +3 -0
  73. package/lib/dialog/hooks/useDisableBack.d.ts +1 -0
  74. package/lib/dialog/index.d.ts +1 -0
  75. package/lib/dialog/types/index.d.ts +12 -0
  76. package/lib/drawer/Drawer.d.ts +3 -0
  77. package/lib/drawer/index.d.ts +1 -0
  78. package/lib/drawer/types/index.d.ts +9 -0
  79. package/lib/dropdown/Dropdown.d.ts +3 -0
  80. package/lib/dropdown/index.d.ts +1 -0
  81. package/lib/dropdown/types/index.d.ts +15 -0
  82. package/lib/figure/Figure.d.ts +3 -0
  83. package/lib/figure/index.d.ts +1 -0
  84. package/lib/figure/types/index.d.ts +9 -0
  85. package/lib/fileupload/FileUpload.d.ts +3 -0
  86. package/lib/fileupload/Files.d.ts +3 -0
  87. package/lib/fileupload/index.d.ts +1 -0
  88. package/lib/fileupload/types/index.d.ts +35 -0
  89. package/lib/form/Fieldset.d.ts +3 -0
  90. package/lib/form/Form.d.ts +3 -0
  91. package/lib/form/Legend.d.ts +3 -0
  92. package/lib/form/RegisterForm.d.ts +3 -0
  93. package/lib/form/index.d.ts +4 -0
  94. package/lib/form/types/index.d.ts +83 -0
  95. package/lib/gallery/Gallery.d.ts +3 -0
  96. package/lib/gallery/index.d.ts +1 -0
  97. package/lib/gallery/types/index.d.ts +12 -0
  98. package/lib/heading/Heading.d.ts +3 -0
  99. package/lib/heading/index.d.ts +1 -0
  100. package/lib/heading/types/index.d.ts +9 -0
  101. package/lib/hero/Hero.d.ts +3 -0
  102. package/lib/hero/index.d.ts +1 -0
  103. package/lib/hero/types/index.d.ts +21 -0
  104. package/lib/icon/Icon.d.ts +3 -0
  105. package/lib/icon/index.d.ts +1 -0
  106. package/lib/icon/types/index.d.ts +13 -0
  107. package/lib/index.d.ts +51 -0
  108. package/lib/input/Input.d.ts +5 -0
  109. package/lib/input/index.d.ts +1 -0
  110. package/lib/input/types/index.d.ts +38 -0
  111. package/lib/label/Label.d.ts +3 -0
  112. package/lib/label/index.d.ts +1 -0
  113. package/lib/label/types/index.d.ts +14 -0
  114. package/lib/loading/Loading.d.ts +3 -0
  115. package/lib/loading/index.d.ts +2 -0
  116. package/lib/loading/spinners/Bars.d.ts +4 -0
  117. package/lib/loading/spinners/Clock.d.ts +4 -0
  118. package/lib/loading/spinners/Dots.d.ts +4 -0
  119. package/lib/loading/spinners/Pulse.d.ts +4 -0
  120. package/lib/loading/spinners/Spindots.d.ts +4 -0
  121. package/lib/loading/spinners/Spinner.d.ts +4 -0
  122. package/lib/loading/spinners/Wifi.d.ts +4 -0
  123. package/lib/loading/spinners/index.d.ts +7 -0
  124. package/lib/loading/types/index.d.ts +10 -0
  125. package/lib/map/LazyMap.d.ts +6 -0
  126. package/lib/map/LazyMapCircle.d.ts +3 -0
  127. package/lib/map/LazyMapLine.d.ts +3 -0
  128. package/lib/map/LazyMapMarker.d.ts +5 -0
  129. package/lib/map/LazyMapPolygon.d.ts +3 -0
  130. package/lib/map/LazyMapRectangle.d.ts +3 -0
  131. package/lib/map/Map.d.ts +3 -0
  132. package/lib/map/MapCircle.d.ts +3 -0
  133. package/lib/map/MapLine.d.ts +3 -0
  134. package/lib/map/MapMarker.d.ts +3 -0
  135. package/lib/map/MapPolygon.d.ts +3 -0
  136. package/lib/map/MapRectangle.d.ts +3 -0
  137. package/lib/map/index.d.ts +6 -0
  138. package/lib/map/tileOptions.d.ts +11 -0
  139. package/lib/map/types/index.d.ts +77 -0
  140. package/lib/modal/Modal.d.ts +3 -0
  141. package/lib/modal/hooks/useDisableBack.d.ts +1 -0
  142. package/lib/modal/index.d.ts +1 -0
  143. package/lib/modal/types/index.d.ts +9 -0
  144. package/lib/navbar/NavBar.d.ts +3 -0
  145. package/lib/navbar/NavBrand.d.ts +3 -0
  146. package/lib/navbar/NavLinks.d.ts +3 -0
  147. package/lib/navbar/index.d.ts +1 -0
  148. package/lib/navbar/types/index.d.ts +43 -0
  149. package/lib/pagination/Pagination.d.ts +3 -0
  150. package/lib/pagination/index.d.ts +1 -0
  151. package/lib/pagination/types/index.d.ts +25 -0
  152. package/lib/passwordinput/PasswordInput.d.ts +3 -0
  153. package/lib/passwordinput/index.d.ts +1 -0
  154. package/lib/passwordinput/types/index.d.ts +18 -0
  155. package/lib/pictogram/Pictogram.d.ts +3 -0
  156. package/lib/pictogram/index.d.ts +1 -0
  157. package/lib/pictogram/types/index.d.ts +10 -0
  158. package/lib/placeholder/PlaceHolder.d.ts +3 -0
  159. package/lib/placeholder/index.d.ts +1 -0
  160. package/lib/placeholder/types/index.d.ts +13 -0
  161. package/lib/progress/Progress.d.ts +3 -0
  162. package/lib/progress/index.d.ts +1 -0
  163. package/lib/progress/types/index.d.ts +11 -0
  164. package/lib/radiogroup/RadioGroup.d.ts +3 -0
  165. package/lib/radiogroup/index.d.ts +1 -0
  166. package/lib/radiogroup/types/index.d.ts +18 -0
  167. package/lib/rangeinput/RangeInput.d.ts +3 -0
  168. package/lib/rangeinput/index.d.ts +1 -0
  169. package/lib/rangeinput/types/index.d.ts +28 -0
  170. package/lib/ratings/Ratings.d.ts +3 -0
  171. package/lib/ratings/index.d.ts +1 -0
  172. package/lib/ratings/types/index.d.ts +12 -0
  173. package/lib/searchinput/SearchInput.d.ts +3 -0
  174. package/lib/searchinput/index.d.ts +1 -0
  175. package/lib/searchinput/types/index.d.ts +20 -0
  176. package/lib/select/Select.d.ts +3 -0
  177. package/lib/select/index.d.ts +1 -0
  178. package/lib/select/types/index.d.ts +20 -0
  179. package/lib/sidebar/Sidebar.d.ts +3 -0
  180. package/lib/sidebar/index.d.ts +1 -0
  181. package/lib/sidebar/types/index.d.ts +9 -0
  182. package/lib/socialshare/SocialShare.d.ts +3 -0
  183. package/lib/socialshare/buttons/BlueskyButton.d.ts +3 -0
  184. package/lib/socialshare/buttons/EmailButton.d.ts +3 -0
  185. package/lib/socialshare/buttons/FacebookButton.d.ts +3 -0
  186. package/lib/socialshare/buttons/LinkedinButton.d.ts +3 -0
  187. package/lib/socialshare/buttons/PinterestButton.d.ts +3 -0
  188. package/lib/socialshare/buttons/RedditButton.d.ts +3 -0
  189. package/lib/socialshare/buttons/SlackButton.d.ts +3 -0
  190. package/lib/socialshare/buttons/TelegramButton.d.ts +3 -0
  191. package/lib/socialshare/buttons/WhatsappButton.d.ts +3 -0
  192. package/lib/socialshare/buttons/XButton.d.ts +3 -0
  193. package/lib/socialshare/index.d.ts +11 -0
  194. package/lib/socialshare/types/index.d.ts +25 -0
  195. package/lib/statbar/StatBar.d.ts +3 -0
  196. package/lib/statbar/index.d.ts +1 -0
  197. package/lib/statbar/types/index.d.ts +12 -0
  198. package/lib/switch/Switch.d.ts +3 -0
  199. package/lib/switch/index.d.ts +1 -0
  200. package/lib/switch/types/index.d.ts +21 -0
  201. package/lib/tabs/Tab.d.ts +2 -0
  202. package/lib/tabs/TabBar.d.ts +3 -0
  203. package/lib/tabs/Tabs.d.ts +3 -0
  204. package/lib/tabs/index.d.ts +1 -0
  205. package/lib/tabs/types/index.d.ts +30 -0
  206. package/lib/textarea/TextArea.d.ts +3 -0
  207. package/lib/textarea/index.d.ts +1 -0
  208. package/lib/textarea/types/index.d.ts +16 -0
  209. package/lib/textinput/TextInput.d.ts +3 -0
  210. package/lib/textinput/index.d.ts +1 -0
  211. package/lib/textinput/types/index.d.ts +21 -0
  212. package/lib/ticker/Ticker.d.ts +3 -0
  213. package/lib/ticker/index.d.ts +1 -0
  214. package/lib/ticker/types/index.d.ts +7 -0
  215. package/lib/toast/Toast.d.ts +3 -0
  216. package/lib/toast/index.d.ts +1 -0
  217. package/lib/toast/types/index.d.ts +18 -0
  218. package/lib/twitterembed/TwitterEmbed.d.ts +13 -0
  219. package/lib/twitterembed/index.d.ts +1 -0
  220. package/lib/twitterembed/types/index.d.ts +8 -0
  221. package/lib/videoplayer/Video.d.ts +3 -0
  222. package/lib/videoplayer/VideoControls.d.ts +3 -0
  223. package/lib/videoplayer/VideoPlayer.d.ts +3 -0
  224. package/lib/videoplayer/VideoTracks.d.ts +3 -0
  225. package/lib/videoplayer/controls/CaptionsControl.d.ts +2 -0
  226. package/lib/videoplayer/controls/FullscreenControl.d.ts +2 -0
  227. package/lib/videoplayer/controls/PipControl.d.ts +2 -0
  228. package/lib/videoplayer/controls/SoundControl.d.ts +2 -0
  229. package/lib/videoplayer/controls/index.d.ts +4 -0
  230. package/lib/videoplayer/index.d.ts +2 -0
  231. package/lib/videoplayer/types/index.d.ts +62 -0
  232. package/lib/youtubeembed/YoutubeEmbed.d.ts +3 -0
  233. package/lib/youtubeembed/index.d.ts +1 -0
  234. package/lib/youtubeembed/types/index.d.ts +25 -0
  235. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare const useWindowWidth: () => number;
2
+ export default useWindowWidth;
@@ -0,0 +1 @@
1
+ export declare function merge(...objects: Array<Record<string, unknown> | null | undefined>): Record<string, unknown>;
@@ -0,0 +1,3 @@
1
+ import { AccordionProps } from "./types";
2
+ declare const Accordion: ({ className, style, size, data, opened, layout, background, icon, iconPosition, iconColor, children, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Accordion;
@@ -0,0 +1,3 @@
1
+ import { AccordionCardProps } from "../types";
2
+ declare const AccordionCard: ({ src, title, description, link }: AccordionCardProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AccordionCard;
@@ -0,0 +1,3 @@
1
+ import { AccordionHeadProps } from "../types";
2
+ declare const AccordionHead: ({ icon, iconPosition, iconColor, layout, id, open, setopen, title, name, }: AccordionHeadProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AccordionHead;
@@ -0,0 +1,3 @@
1
+ import { AccordionItemProps } from "../types";
2
+ declare const AccordionItem: ({ layoutClasses, id, title, icon, iconPosition, iconColor, layout, background, open, setOpen, className, children, }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AccordionItem;
@@ -0,0 +1,3 @@
1
+ import { AccordionSectionProps } from '../types';
2
+ declare const AccordionSection: ({ children }: AccordionSectionProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default AccordionSection;
@@ -0,0 +1,4 @@
1
+ export { default as AccordionHead } from './AccordionHead';
2
+ export { default as AccordionCard } from './AccordionCard';
3
+ export { default as AccordionItem } from './AccordionItem';
4
+ export { default as AccordionSection } from './AccordionSection';
@@ -0,0 +1,2 @@
1
+ export { default as Accordion } from './Accordion';
2
+ export { AccordionItem, AccordionCard } from './atoms';
@@ -0,0 +1,57 @@
1
+ interface DataProps {
2
+ id: string;
3
+ title?: string;
4
+ name: string;
5
+ description: string;
6
+ body?: string;
7
+ src: string;
8
+ link: string;
9
+ }
10
+ export interface AccordionProps {
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ size?: "sm" | "md" | "lg";
14
+ data?: DataProps[];
15
+ children?: React.ReactNode;
16
+ opened?: string;
17
+ layout?: "default" | "flush" | "spaced";
18
+ background?: "responsive" | "transparent";
19
+ icon?: "symbol" | "arrow";
20
+ iconPosition?: "left" | "right";
21
+ iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
22
+ }
23
+ export interface AccordionHeadProps {
24
+ icon?: "symbol" | "arrow";
25
+ id: string;
26
+ open: string;
27
+ setopen: (id: string) => void;
28
+ title?: string;
29
+ name?: string;
30
+ iconPosition?: "left" | "right";
31
+ iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
32
+ layout?: "default" | "flush" | "spaced";
33
+ }
34
+ export interface AccordionCardProps {
35
+ src?: string;
36
+ title: string;
37
+ description?: string;
38
+ link?: string;
39
+ }
40
+ export interface AccordionSectionProps {
41
+ children: React.ReactNode;
42
+ }
43
+ export interface AccordionItemProps {
44
+ children: React.ReactNode;
45
+ layoutClasses: string;
46
+ id: string;
47
+ title: string;
48
+ icon?: "symbol" | "arrow";
49
+ iconPosition?: "left" | "right";
50
+ iconColor?: "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
51
+ layout?: "default" | "flush" | "spaced";
52
+ background?: "responsive" | "transparent";
53
+ open: string;
54
+ setOpen: (id: string) => void;
55
+ className?: string;
56
+ }
57
+ export {};
@@ -0,0 +1,3 @@
1
+ import { AlertProps } from "./types";
2
+ declare const Alert: ({ className, style, status, layout, title, message, dismissable, onClick, badge, badgeBackground, badgeColor, rounded, }: AlertProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Alert;
@@ -0,0 +1 @@
1
+ export { default as Alert } from './Alert';
@@ -0,0 +1,17 @@
1
+ interface BadgeProps {
2
+ badge?: React.ReactNode;
3
+ badgeBackground?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "transparent";
4
+ badgeColor?: "dark" | "light" | "info" | "success" | "warning" | "danger";
5
+ }
6
+ export interface AlertProps extends BadgeProps {
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ title?: string;
10
+ status?: "info" | "success" | "warning" | "error" | "dark" | "light";
11
+ message: React.ReactNode;
12
+ layout?: "default" | "solid" | "outline";
13
+ onClick?: (e: React.MouseEvent<HTMLElement>) => void;
14
+ dismissable?: boolean;
15
+ rounded?: "none" | "md" | "lg";
16
+ }
17
+ export {};
@@ -0,0 +1,3 @@
1
+ import { AutocompleteProps } from './types';
2
+ declare const Autocomplete: ({ className, size, data, list, required, name, placeholder, onChange, autocomplete, label, layout, rounded, suppressHydrationWarning, }: AutocompleteProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Autocomplete;
@@ -0,0 +1 @@
1
+ export { default as Autocomplete } from './Autocomplete';
@@ -0,0 +1,16 @@
1
+ export interface AutocompleteProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ size?: 'sm' | 'md' | 'lg' | 'xl';
5
+ data: any[];
6
+ list: string;
7
+ name?: string;
8
+ required?: boolean;
9
+ placeholder?: string;
10
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
11
+ autocomplete?: 'on' | 'off' | string;
12
+ label: string;
13
+ layout?: 'col' | 'row';
14
+ rounded?: 'none' | 'md' | 'lg' | 'full';
15
+ suppressHydrationWarning?: boolean;
16
+ }
@@ -0,0 +1,3 @@
1
+ import { BadgeProps } from "./types";
2
+ declare const Badge: ({ className, style, layout, badgeBackground, badgeColor, position, children, size, }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Badge;
@@ -0,0 +1 @@
1
+ export { default as Badge } from './Badge';
@@ -0,0 +1,10 @@
1
+ export interface BadgeProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ children: React.ReactNode;
5
+ layout?: 'square' | 'circle' | 'rounded' | 'pill';
6
+ position?: 'inline' | 'left' | 'right';
7
+ badgeBackground?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'accent' | 'neutral' | 'transparent';
8
+ badgeColor?: 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary' | 'current' | 'accent' | 'neutral';
9
+ size?: 'sm' | 'md' | 'lg' | 'inherit';
10
+ }
@@ -0,0 +1,3 @@
1
+ import { BlockquoteProps } from "./types";
2
+ declare const Blockquote: ({ text, author, footerAlign, size, cite, className, style, }: BlockquoteProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Blockquote;
@@ -0,0 +1 @@
1
+ export { default as Blockquote } from './Blockquote';
@@ -0,0 +1,9 @@
1
+ export interface BlockquoteProps {
2
+ text: string;
3
+ author?: string;
4
+ footerAlign?: "left" | "right";
5
+ cite?: string;
6
+ size?: "sm" | "md" | "lg" | "xl" | "xxl";
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { BreadcrumbsProps } from "./types";
2
+ declare const Breadcrumbs: ({ className, style, size, homeLabel, separator, activeLabel, prefetch, }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Breadcrumbs;
@@ -0,0 +1 @@
1
+ export { default as Breadcrumbs } from './Breadcrumbs';
@@ -0,0 +1,9 @@
1
+ export interface BreadcrumbsProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ size?: "sm" | "md" | "lg";
5
+ homeLabel?: string;
6
+ activeLabel?: string;
7
+ separator?: "slash" | "arrow" | "pipe" | "dot";
8
+ prefetch?: boolean;
9
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from './types';
3
+ export type ButtonRef = HTMLButtonElement;
4
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
5
+ export default Button;
@@ -0,0 +1,2 @@
1
+ export { default as Button } from './Button';
2
+ export * from './variants';
@@ -0,0 +1,24 @@
1
+ export interface ButtonProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ children?: React.ReactNode;
5
+ size?: "sm" | "md" | "lg" | "xl";
6
+ btnBackground?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "transparent";
7
+ btnColor?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
8
+ layout?: "default" | "rounded" | "pill" | "square" | "circle";
9
+ outline?: boolean;
10
+ outlineColor?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current" | "accent";
11
+ id?: string;
12
+ title?: string;
13
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
14
+ onBlur?: (e: React.FocusEvent<HTMLButtonElement>) => void;
15
+ type?: "submit" | "reset" | "button";
16
+ disabled?: boolean;
17
+ tabindex?: number;
18
+ role?: string;
19
+ textcase?: "uppercase" | "lowercase" | "capitalize" | "normal-case";
20
+ isBold?: boolean;
21
+ shadow?: "none" | "sm" | "md" | "lg" | "xl";
22
+ hoverScale?: boolean;
23
+ suppressHydrationWarning?: boolean;
24
+ }
@@ -0,0 +1,3 @@
1
+ import { CloseButtonProps } from './types';
2
+ declare const CloseButton: ({ size, className, onClick, disabled, layout, title, hoverScale, }: CloseButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CloseButton;
@@ -0,0 +1 @@
1
+ export { default as CloseButton } from './CloseButton';
@@ -0,0 +1,9 @@
1
+ export interface CloseButtonProps {
2
+ className?: string;
3
+ layout?: "square" | "circle";
4
+ size?: "sm" | "md" | "lg" | "xl";
5
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
6
+ disabled?: boolean;
7
+ title?: string;
8
+ hoverScale?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { ButtonGroupProps } from './types';
2
+ declare const ButtonGroup: ({ className, label, layout, rounded, children, outline, outlineColor, gap, }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ButtonGroup;
@@ -0,0 +1 @@
1
+ export { default as ButtonGroup } from './ButtonGroup';
@@ -0,0 +1,11 @@
1
+ export interface ButtonGroupProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ children: React.ReactNode;
5
+ label?: string;
6
+ layout?: 'horizontal' | 'vertical';
7
+ rounded?: boolean;
8
+ outline?: 'none' | 'thin' | 'thick';
9
+ outlineColor?: 'none' | 'light' | 'dark' | 'grey';
10
+ gap?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
11
+ }
@@ -0,0 +1,3 @@
1
+ import { CardProps } from './types';
2
+ declare const Card: ({ className, style, shadow, children, layout, rounded, outline, }: CardProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Card;
@@ -0,0 +1,3 @@
1
+ import { CardBodyProps } from '../types';
2
+ declare const CardBody: ({ className, children }: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CardBody;
@@ -0,0 +1,3 @@
1
+ import { CardFooterProps } from '../types';
2
+ declare const CardFooter: ({ className, link, linkLabel, children }: CardFooterProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CardFooter;
@@ -0,0 +1,3 @@
1
+ import { CardHeaderProps } from '../types';
2
+ declare const CardHeader: ({ className, title, titlestyles, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CardHeader;
@@ -0,0 +1,3 @@
1
+ import { CardImageProps } from '../types';
2
+ declare const CardImage: ({ className, title, src, aspect }: CardImageProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CardImage;
@@ -0,0 +1,5 @@
1
+ export { default as Card } from './Card';
2
+ export { default as CardBody } from './atoms/CardBody';
3
+ export { default as CardFooter } from './atoms/CardFooter';
4
+ export { default as CardHeader } from './atoms/CardHeader';
5
+ export { default as CardImage } from './atoms/CardImage';
@@ -0,0 +1,31 @@
1
+ export interface CardProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ layout?: 'col' | 'row' | 'col_reverse';
5
+ children: React.ReactNode;
6
+ shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
7
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
8
+ outline?: boolean;
9
+ }
10
+ export interface CardHeaderProps {
11
+ className?: string;
12
+ title: string;
13
+ titlestyles?: string;
14
+ children?: React.ReactNode;
15
+ }
16
+ export interface CardBodyProps {
17
+ className?: string;
18
+ children: React.ReactNode;
19
+ }
20
+ export interface CardImageProps {
21
+ className?: string;
22
+ title: string;
23
+ src: string;
24
+ aspect?: 'landscape' | 'portrait' | 'square' | 'video';
25
+ }
26
+ export interface CardFooterProps {
27
+ className?: string;
28
+ link?: string;
29
+ linkLabel?: string;
30
+ children?: React.ReactNode;
31
+ }
@@ -0,0 +1,3 @@
1
+ import { CarouselProps } from "./types";
2
+ declare const Carousel: ({ data, caption, autoplay, autoplayDuration, outline, gallery, className, aspect, rounded, buttonsPosition, buttonLayout, buttonIcon, buttonSize, buttonBackground, buttonColor, buttonOutline, preloadImages, children, }: CarouselProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Carousel;
@@ -0,0 +1 @@
1
+ export { default as Carousel } from './Carousel';
@@ -0,0 +1,28 @@
1
+ interface DataProps {
2
+ name: string;
3
+ src: string;
4
+ description: string;
5
+ link: string;
6
+ }
7
+ export interface CarouselProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ data: DataProps[];
9
+ children?: React.ReactNode;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ caption?: boolean;
13
+ autoplay?: boolean;
14
+ autoplayDuration?: number;
15
+ outline?: "none" | "thin" | "medium" | "thick";
16
+ rounded?: "none" | "md" | "lg" | "xl";
17
+ gallery?: boolean;
18
+ aspect?: "landscape" | "portrait" | "square" | "video" | "circle";
19
+ buttonLayout?: "rounded" | "square" | "circle";
20
+ buttonsPosition?: "top" | "middle" | "bottom";
21
+ buttonIcon?: "arrow" | "chevron";
22
+ buttonSize?: "md" | "lg" | "xl";
23
+ buttonBackground?: "dark" | "light" | "transparent";
24
+ buttonColor?: "dark" | "light";
25
+ buttonOutline?: boolean;
26
+ preloadImages?: boolean;
27
+ }
28
+ export {};
@@ -0,0 +1,3 @@
1
+ import { BarChartProps } from './types';
2
+ declare const BarChart: ({ data, options, title, legendposition, aspect, style, className, layout, gridColor, }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BarChart;
@@ -0,0 +1,3 @@
1
+ import { BubbleChartProps } from './types';
2
+ declare const BubbleChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: BubbleChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default BubbleChart;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { ChartDataMap, ChartOptionsMap } from "./types";
3
+ type ChartTypes = keyof ChartDataMap;
4
+ interface ChartWrapProps<T extends ChartTypes> {
5
+ title?: string;
6
+ legendposition?: string;
7
+ data: ChartDataMap[T];
8
+ options?: ChartOptionsMap[T];
9
+ chartType: T;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ aspect?: "landscape" | "portrait" | "square" | "auto";
13
+ }
14
+ declare const ChartWrap: <T extends ChartTypes>({ data, options, title, legendposition, chartType, aspect, className, style, }: ChartWrapProps<T>) => import("react/jsx-runtime").JSX.Element;
15
+ export default ChartWrap;
@@ -0,0 +1,3 @@
1
+ import { DoughnutChartProps } from './types';
2
+ declare const DoughnutChart: ({ data, options, title, legendposition, border, aspect, style, className, }: DoughnutChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default DoughnutChart;
@@ -0,0 +1,3 @@
1
+ import { LineChartProps } from './types';
2
+ declare const LineChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: LineChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LineChart;
@@ -0,0 +1,3 @@
1
+ import { MixedChartProps } from './types';
2
+ declare const MixedChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: MixedChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MixedChart;
@@ -0,0 +1,3 @@
1
+ import { PieChartProps } from './types';
2
+ declare const PieChart: ({ data, options, title, legendposition, border, aspect, style, className, }: PieChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PieChart;
@@ -0,0 +1,3 @@
1
+ import { PolarAreaChartProps } from './types';
2
+ declare const PolarAreaChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: PolarAreaChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PolarAreaChart;
@@ -0,0 +1,3 @@
1
+ import { RadarChartProps } from './types';
2
+ declare const RadarChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: RadarChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default RadarChart;
@@ -0,0 +1,3 @@
1
+ import { ScatterChartProps } from './types';
2
+ declare const ScatterChart: ({ data, options, title, legendposition, gridColor, aspect, style, className, }: ScatterChartProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ScatterChart;
@@ -0,0 +1,9 @@
1
+ export { default as BarChart } from './BarChart';
2
+ export { default as BubbleChart } from './BubbleChart';
3
+ export { default as LineChart } from './LineChart';
4
+ export { default as PieChart } from './PieChart';
5
+ export { default as DoughnutChart } from './DoughnutChart';
6
+ export { default as ScatterChart } from './ScatterChart';
7
+ export { default as RadarChart } from './RadarChart';
8
+ export { default as PolarAreaChart } from './PolarAreaChart';
9
+ export { default as MixedChart } from './MixedChart';
@@ -0,0 +1,85 @@
1
+ import { ChartData, ChartOptions } from 'chart.js';
2
+ interface ChartComponentProps {
3
+ title?: string;
4
+ legendposition?: 'top' | 'bottom' | 'left' | 'right';
5
+ aspect?: 'landscape' | 'portrait' | 'square' | 'auto';
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ }
9
+ export interface LineChartProps extends ChartComponentProps {
10
+ data: ChartData<'line', number[], string>;
11
+ options?: ChartOptions<'line'>;
12
+ gridColor?: string;
13
+ }
14
+ export interface PieChartProps extends ChartComponentProps {
15
+ data: ChartData<'pie', number[], string>;
16
+ options?: ChartOptions<'pie'>;
17
+ border?: boolean;
18
+ }
19
+ export interface DoughnutChartProps extends ChartComponentProps {
20
+ data: ChartData<'doughnut', number[], string>;
21
+ options?: ChartOptions<'doughnut'>;
22
+ border?: boolean;
23
+ }
24
+ export interface BarChartProps extends ChartComponentProps {
25
+ data: ChartData<'bar', number[], string>;
26
+ options?: ChartOptions<'bar'>;
27
+ layout?: 'vertical' | 'horizontal';
28
+ gridColor?: string;
29
+ }
30
+ export interface MixedChartProps extends ChartComponentProps {
31
+ data: ChartData<'bar', number[], string>;
32
+ options?: ChartOptions<'bar'>;
33
+ gridColor?: string;
34
+ }
35
+ export interface RadarChartProps extends ChartComponentProps {
36
+ data: ChartData<'radar', number[], string>;
37
+ options?: ChartOptions<'radar'>;
38
+ gridColor?: string;
39
+ }
40
+ export interface PolarAreaChartProps extends ChartComponentProps {
41
+ data: ChartData<'polarArea', number[], string>;
42
+ options?: ChartOptions<'polarArea'>;
43
+ gridColor?: string;
44
+ }
45
+ export interface BubbleChartProps extends ChartComponentProps {
46
+ data: ChartData<'bubble', {
47
+ x: number;
48
+ y: number;
49
+ r: number;
50
+ }[], string>;
51
+ options?: ChartOptions<'bubble'>;
52
+ gridColor?: string;
53
+ }
54
+ export interface ScatterChartProps extends ChartComponentProps {
55
+ data: ChartData<'scatter', {
56
+ x: number;
57
+ y: number;
58
+ }[], string>;
59
+ options?: ChartOptions<'scatter'>;
60
+ gridColor?: string;
61
+ }
62
+ export type ChartTypes = 'bar' | 'bubble' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'scatter' | 'line' | 'mixed';
63
+ export interface ChartDataMap {
64
+ line: ChartData<'line'>;
65
+ pie: ChartData<'pie'>;
66
+ doughnut: ChartData<'doughnut'>;
67
+ bar: ChartData<'bar'>;
68
+ mixed: ChartData<'bar'>;
69
+ radar: ChartData<'radar'>;
70
+ polarArea: ChartData<'polarArea'>;
71
+ bubble: ChartData<'bubble'>;
72
+ scatter: ChartData<'scatter'>;
73
+ }
74
+ export interface ChartOptionsMap {
75
+ line: ChartOptions<'line'>;
76
+ pie: ChartOptions<'pie'>;
77
+ doughnut: ChartOptions<'doughnut'>;
78
+ bar: ChartOptions<'bar'>;
79
+ mixed: ChartOptions<'bar'>;
80
+ radar: ChartOptions<'radar'>;
81
+ polarArea: ChartOptions<'polarArea'>;
82
+ bubble: ChartOptions<'bubble'>;
83
+ scatter: ChartOptions<'scatter'>;
84
+ }
85
+ export {};
@@ -0,0 +1,3 @@
1
+ import { CheckboxProps } from './types';
2
+ declare const Checkbox: ({ name, className, style, label, size, rounded, required, checked, labelIsBold, hint, onChange, suppressHydrationWarning, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Checkbox;
@@ -0,0 +1 @@
1
+ export { default as Checkbox } from './Checkbox';
@@ -0,0 +1,14 @@
1
+ export interface CheckboxProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ size?: 'md' | 'lg' | 'xl';
5
+ label: string;
6
+ labelIsBold?: boolean;
7
+ required?: boolean;
8
+ checked?: boolean;
9
+ name?: string;
10
+ rounded?: 'none' | 'full';
11
+ hint?: React.ReactNode;
12
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
13
+ suppressHydrationWarning?: boolean;
14
+ }
@@ -0,0 +1,3 @@
1
+ import { ClockProps } from "./types";
2
+ declare const Clock: ({ timezone, size, showSeconds, ticks, theme, layout, showLabel, clockFaceStroke, labelSize, className, }: ClockProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Clock;
@@ -0,0 +1 @@
1
+ export { default as Clock } from './Clock';
@@ -0,0 +1,13 @@
1
+ export type ClockTimezone = "UTC" | "America/New_York" | "America/Chicago" | "America/Denver" | "America/Los_Angeles" | "Europe/London" | "Europe/Paris" | "Europe/Berlin" | "Europe/Moscow" | "Asia/Tokyo" | "Asia/Shanghai" | "Asia/Kolkata" | "Australia/Sydney" | string;
2
+ export type ClockProps = {
3
+ timezone?: ClockTimezone;
4
+ size?: number;
5
+ showSeconds?: boolean;
6
+ theme?: "light" | "dark";
7
+ layout?: "column" | "column-reverse" | "row" | "row-reverse";
8
+ clockFaceStroke?: number;
9
+ ticks?: boolean;
10
+ showLabel?: boolean;
11
+ labelSize?: "sm" | "md" | "lg" | "xl";
12
+ className?: string;
13
+ };
@@ -0,0 +1,3 @@
1
+ import { CodeblockProps } from "./types";
2
+ declare const Codeblock: ({ language, size, children, }: CodeblockProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Codeblock;
@@ -0,0 +1 @@
1
+ export { default as Codeblock } from './Codeblock';
@@ -0,0 +1,6 @@
1
+ export interface CodeblockProps {
2
+ style?: React.CSSProperties;
3
+ children: string;
4
+ language?: string;
5
+ size?: "sm" | "md" | "lg" | "xl" | "xxl";
6
+ }
@@ -0,0 +1,3 @@
1
+ import { CounterProps } from "./types";
2
+ declare const Counter: ({ name, id, className, min, max, value, step, onCountChange, btnShape, btnBackground, btnColor, size, spacing, label, labelIsBold, layout, title, hint, inputStyles, rounded, }: CounterProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Counter;