@smitch/breeze 0.2.2 → 1.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.
Files changed (236) hide show
  1. package/README.md +87 -92
  2. package/lib/@hooks/useWindowWidth.d.ts +2 -0
  3. package/lib/@utils/merge.d.ts +1 -0
  4. package/lib/accordion/Accordion.d.ts +3 -0
  5. package/lib/accordion/atoms/AccordionCard.d.ts +3 -0
  6. package/lib/accordion/atoms/AccordionHead.d.ts +3 -0
  7. package/lib/accordion/atoms/AccordionItem.d.ts +3 -0
  8. package/lib/accordion/atoms/AccordionSection.d.ts +3 -0
  9. package/lib/accordion/atoms/index.d.ts +4 -0
  10. package/lib/accordion/index.d.ts +2 -0
  11. package/lib/accordion/types/index.d.ts +57 -0
  12. package/lib/alert/Alert.d.ts +3 -0
  13. package/lib/alert/index.d.ts +1 -0
  14. package/lib/alert/types/index.d.ts +17 -0
  15. package/lib/autocomplete/Autocomplete.d.ts +3 -0
  16. package/lib/autocomplete/index.d.ts +1 -0
  17. package/lib/autocomplete/types/index.d.ts +16 -0
  18. package/lib/badge/Badge.d.ts +3 -0
  19. package/lib/badge/index.d.ts +1 -0
  20. package/lib/badge/types/index.d.ts +10 -0
  21. package/lib/blockquote/Blockquote.d.ts +3 -0
  22. package/lib/blockquote/index.d.ts +1 -0
  23. package/lib/blockquote/types/index.d.ts +9 -0
  24. package/lib/breadcrumbs/Breadcrumbs.d.ts +3 -0
  25. package/lib/breadcrumbs/index.d.ts +1 -0
  26. package/lib/breadcrumbs/types/index.d.ts +9 -0
  27. package/lib/button/Button.d.ts +5 -0
  28. package/lib/button/index.d.ts +2 -0
  29. package/lib/button/types/index.d.ts +24 -0
  30. package/lib/button/variants/CloseButton.d.ts +3 -0
  31. package/lib/button/variants/index.d.ts +1 -0
  32. package/lib/button/variants/types/index.d.ts +9 -0
  33. package/lib/buttongroup/ButtonGroup.d.ts +3 -0
  34. package/lib/buttongroup/index.d.ts +1 -0
  35. package/lib/buttongroup/types/index.d.ts +11 -0
  36. package/lib/card/Card.d.ts +3 -0
  37. package/lib/card/atoms/CardBody.d.ts +3 -0
  38. package/lib/card/atoms/CardFooter.d.ts +3 -0
  39. package/lib/card/atoms/CardHeader.d.ts +3 -0
  40. package/lib/card/atoms/CardImage.d.ts +3 -0
  41. package/lib/card/index.d.ts +5 -0
  42. package/lib/card/types/index.d.ts +31 -0
  43. package/lib/carousel/Carousel.d.ts +3 -0
  44. package/lib/carousel/index.d.ts +1 -0
  45. package/lib/carousel/types/index.d.ts +28 -0
  46. package/lib/charts/BarChart.d.ts +3 -0
  47. package/lib/charts/BubbleChart.d.ts +3 -0
  48. package/lib/charts/ChartWrap.d.ts +15 -0
  49. package/lib/charts/DoughnutChart.d.ts +3 -0
  50. package/lib/charts/LineChart.d.ts +3 -0
  51. package/lib/charts/MixedChart.d.ts +3 -0
  52. package/lib/charts/PieChart.d.ts +3 -0
  53. package/lib/charts/PolarAreaChart.d.ts +3 -0
  54. package/lib/charts/RadarChart.d.ts +3 -0
  55. package/lib/charts/ScatterChart.d.ts +3 -0
  56. package/lib/charts/index.d.ts +9 -0
  57. package/lib/charts/types/index.d.ts +85 -0
  58. package/lib/checkbox/Checkbox.d.ts +3 -0
  59. package/lib/checkbox/index.d.ts +1 -0
  60. package/lib/checkbox/types/index.d.ts +14 -0
  61. package/lib/clock/Clock.d.ts +3 -0
  62. package/lib/clock/index.d.ts +1 -0
  63. package/lib/clock/types/index.d.ts +13 -0
  64. package/lib/codeblock/Codeblock.d.ts +3 -0
  65. package/lib/codeblock/index.d.ts +1 -0
  66. package/lib/codeblock/types/index.d.ts +6 -0
  67. package/lib/counter/Counter.d.ts +3 -0
  68. package/lib/counter/index.d.ts +1 -0
  69. package/lib/counter/types/index.d.ts +22 -0
  70. package/lib/datatable/DataTable.d.ts +3 -0
  71. package/lib/datatable/index.d.ts +1 -0
  72. package/lib/datatable/types/index.d.ts +10 -0
  73. package/lib/dialog/Dialog.d.ts +3 -0
  74. package/lib/dialog/hooks/useDisableBack.d.ts +1 -0
  75. package/lib/dialog/index.d.ts +1 -0
  76. package/lib/dialog/types/index.d.ts +12 -0
  77. package/lib/drawer/Drawer.d.ts +3 -0
  78. package/lib/drawer/index.d.ts +1 -0
  79. package/lib/drawer/types/index.d.ts +9 -0
  80. package/lib/dropdown/Dropdown.d.ts +3 -0
  81. package/lib/dropdown/index.d.ts +1 -0
  82. package/lib/dropdown/types/index.d.ts +15 -0
  83. package/lib/figure/Figure.d.ts +3 -0
  84. package/lib/figure/index.d.ts +1 -0
  85. package/lib/figure/types/index.d.ts +9 -0
  86. package/lib/fileupload/FileUpload.d.ts +3 -0
  87. package/lib/fileupload/Files.d.ts +3 -0
  88. package/lib/fileupload/index.d.ts +1 -0
  89. package/lib/fileupload/types/index.d.ts +35 -0
  90. package/lib/form/Fieldset.d.ts +3 -0
  91. package/lib/form/Form.d.ts +3 -0
  92. package/lib/form/Legend.d.ts +3 -0
  93. package/lib/form/RegisterForm.d.ts +3 -0
  94. package/lib/form/index.d.ts +4 -0
  95. package/lib/form/types/index.d.ts +83 -0
  96. package/lib/gallery/Gallery.d.ts +3 -0
  97. package/lib/gallery/index.d.ts +1 -0
  98. package/lib/gallery/types/index.d.ts +12 -0
  99. package/lib/heading/Heading.d.ts +3 -0
  100. package/lib/heading/index.d.ts +1 -0
  101. package/lib/heading/types/index.d.ts +9 -0
  102. package/lib/hero/Hero.d.ts +3 -0
  103. package/lib/hero/index.d.ts +1 -0
  104. package/lib/hero/types/index.d.ts +21 -0
  105. package/lib/icon/Icon.d.ts +3 -0
  106. package/lib/icon/index.d.ts +1 -0
  107. package/lib/icon/types/index.d.ts +13 -0
  108. package/lib/index.d.ts +51 -0
  109. package/lib/input/Input.d.ts +5 -0
  110. package/lib/input/index.d.ts +1 -0
  111. package/lib/input/types/index.d.ts +38 -0
  112. package/lib/label/Label.d.ts +3 -0
  113. package/lib/label/index.d.ts +1 -0
  114. package/lib/label/types/index.d.ts +14 -0
  115. package/lib/loading/Loading.d.ts +3 -0
  116. package/lib/loading/index.d.ts +2 -0
  117. package/lib/loading/spinners/Bars.d.ts +4 -0
  118. package/lib/loading/spinners/Clock.d.ts +4 -0
  119. package/lib/loading/spinners/Dots.d.ts +4 -0
  120. package/lib/loading/spinners/Pulse.d.ts +4 -0
  121. package/lib/loading/spinners/Spindots.d.ts +4 -0
  122. package/lib/loading/spinners/Spinner.d.ts +4 -0
  123. package/lib/loading/spinners/Wifi.d.ts +4 -0
  124. package/lib/loading/spinners/index.d.ts +7 -0
  125. package/lib/loading/types/index.d.ts +10 -0
  126. package/lib/map/LazyMap.d.ts +6 -0
  127. package/lib/map/LazyMapCircle.d.ts +3 -0
  128. package/lib/map/LazyMapLine.d.ts +3 -0
  129. package/lib/map/LazyMapMarker.d.ts +5 -0
  130. package/lib/map/LazyMapPolygon.d.ts +3 -0
  131. package/lib/map/LazyMapRectangle.d.ts +3 -0
  132. package/lib/map/Map.d.ts +3 -0
  133. package/lib/map/MapCircle.d.ts +3 -0
  134. package/lib/map/MapLine.d.ts +3 -0
  135. package/lib/map/MapMarker.d.ts +3 -0
  136. package/lib/map/MapPolygon.d.ts +3 -0
  137. package/lib/map/MapRectangle.d.ts +3 -0
  138. package/lib/map/index.d.ts +6 -0
  139. package/lib/map/tileOptions.d.ts +11 -0
  140. package/lib/map/types/index.d.ts +77 -0
  141. package/lib/modal/Modal.d.ts +3 -0
  142. package/lib/modal/hooks/useDisableBack.d.ts +1 -0
  143. package/lib/modal/index.d.ts +1 -0
  144. package/lib/modal/types/index.d.ts +9 -0
  145. package/lib/navbar/NavBar.d.ts +3 -0
  146. package/lib/navbar/NavBrand.d.ts +3 -0
  147. package/lib/navbar/NavLinks.d.ts +3 -0
  148. package/lib/navbar/index.d.ts +1 -0
  149. package/lib/navbar/types/index.d.ts +43 -0
  150. package/lib/pagination/Pagination.d.ts +3 -0
  151. package/lib/pagination/index.d.ts +1 -0
  152. package/lib/pagination/types/index.d.ts +25 -0
  153. package/lib/passwordinput/PasswordInput.d.ts +3 -0
  154. package/lib/passwordinput/index.d.ts +1 -0
  155. package/lib/passwordinput/types/index.d.ts +18 -0
  156. package/lib/pictogram/Pictogram.d.ts +3 -0
  157. package/lib/pictogram/index.d.ts +1 -0
  158. package/lib/pictogram/types/index.d.ts +10 -0
  159. package/lib/placeholder/PlaceHolder.d.ts +3 -0
  160. package/lib/placeholder/index.d.ts +1 -0
  161. package/lib/placeholder/types/index.d.ts +13 -0
  162. package/lib/progress/Progress.d.ts +3 -0
  163. package/lib/progress/index.d.ts +1 -0
  164. package/lib/progress/types/index.d.ts +11 -0
  165. package/lib/radiogroup/RadioGroup.d.ts +3 -0
  166. package/lib/radiogroup/index.d.ts +1 -0
  167. package/lib/radiogroup/types/index.d.ts +18 -0
  168. package/lib/rangeinput/RangeInput.d.ts +3 -0
  169. package/lib/rangeinput/index.d.ts +1 -0
  170. package/lib/rangeinput/types/index.d.ts +28 -0
  171. package/lib/ratings/Ratings.d.ts +3 -0
  172. package/lib/ratings/index.d.ts +1 -0
  173. package/lib/ratings/types/index.d.ts +12 -0
  174. package/lib/searchinput/SearchInput.d.ts +3 -0
  175. package/lib/searchinput/index.d.ts +1 -0
  176. package/lib/searchinput/types/index.d.ts +20 -0
  177. package/lib/select/Select.d.ts +3 -0
  178. package/lib/select/index.d.ts +1 -0
  179. package/lib/select/types/index.d.ts +20 -0
  180. package/lib/sidebar/Sidebar.d.ts +3 -0
  181. package/lib/sidebar/index.d.ts +1 -0
  182. package/lib/sidebar/types/index.d.ts +9 -0
  183. package/lib/socialshare/SocialShare.d.ts +3 -0
  184. package/lib/socialshare/buttons/BlueskyButton.d.ts +3 -0
  185. package/lib/socialshare/buttons/EmailButton.d.ts +3 -0
  186. package/lib/socialshare/buttons/FacebookButton.d.ts +3 -0
  187. package/lib/socialshare/buttons/LinkedinButton.d.ts +3 -0
  188. package/lib/socialshare/buttons/PinterestButton.d.ts +3 -0
  189. package/lib/socialshare/buttons/RedditButton.d.ts +3 -0
  190. package/lib/socialshare/buttons/SlackButton.d.ts +3 -0
  191. package/lib/socialshare/buttons/TelegramButton.d.ts +3 -0
  192. package/lib/socialshare/buttons/WhatsappButton.d.ts +3 -0
  193. package/lib/socialshare/buttons/XButton.d.ts +3 -0
  194. package/lib/socialshare/index.d.ts +11 -0
  195. package/lib/socialshare/types/index.d.ts +25 -0
  196. package/lib/statbar/StatBar.d.ts +3 -0
  197. package/lib/statbar/index.d.ts +1 -0
  198. package/lib/statbar/types/index.d.ts +12 -0
  199. package/lib/switch/Switch.d.ts +3 -0
  200. package/lib/switch/index.d.ts +1 -0
  201. package/lib/switch/types/index.d.ts +21 -0
  202. package/lib/tabs/Tab.d.ts +2 -0
  203. package/lib/tabs/TabBar.d.ts +3 -0
  204. package/lib/tabs/Tabs.d.ts +3 -0
  205. package/lib/tabs/index.d.ts +1 -0
  206. package/lib/tabs/types/index.d.ts +30 -0
  207. package/lib/textarea/TextArea.d.ts +3 -0
  208. package/lib/textarea/index.d.ts +1 -0
  209. package/lib/textarea/types/index.d.ts +16 -0
  210. package/lib/textinput/TextInput.d.ts +3 -0
  211. package/lib/textinput/index.d.ts +1 -0
  212. package/lib/textinput/types/index.d.ts +21 -0
  213. package/lib/ticker/Ticker.d.ts +3 -0
  214. package/lib/ticker/index.d.ts +1 -0
  215. package/lib/ticker/types/index.d.ts +7 -0
  216. package/lib/toast/Toast.d.ts +3 -0
  217. package/lib/toast/index.d.ts +1 -0
  218. package/lib/toast/types/index.d.ts +18 -0
  219. package/lib/twitterembed/TwitterEmbed.d.ts +13 -0
  220. package/lib/twitterembed/index.d.ts +1 -0
  221. package/lib/twitterembed/types/index.d.ts +8 -0
  222. package/lib/videoplayer/Video.d.ts +3 -0
  223. package/lib/videoplayer/VideoControls.d.ts +3 -0
  224. package/lib/videoplayer/VideoPlayer.d.ts +3 -0
  225. package/lib/videoplayer/VideoTracks.d.ts +3 -0
  226. package/lib/videoplayer/controls/CaptionsControl.d.ts +2 -0
  227. package/lib/videoplayer/controls/FullscreenControl.d.ts +2 -0
  228. package/lib/videoplayer/controls/PipControl.d.ts +2 -0
  229. package/lib/videoplayer/controls/SoundControl.d.ts +2 -0
  230. package/lib/videoplayer/controls/index.d.ts +4 -0
  231. package/lib/videoplayer/index.d.ts +2 -0
  232. package/lib/videoplayer/types/index.d.ts +62 -0
  233. package/lib/youtubeembed/YoutubeEmbed.d.ts +3 -0
  234. package/lib/youtubeembed/index.d.ts +1 -0
  235. package/lib/youtubeembed/types/index.d.ts +25 -0
  236. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ export interface DataProps {
2
+ name: string;
3
+ src: string;
4
+ }
5
+ export interface GalleryProps extends React.HTMLAttributes<HTMLDivElement> {
6
+ data: DataProps[];
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ aspect?: "landscape" | "portrait" | "square" | "video" | "circle" | "phone";
10
+ caption?: boolean;
11
+ preloadImages?: boolean;
12
+ }
@@ -0,0 +1,3 @@
1
+ import { HeadingProps } from "./types";
2
+ declare const Heading: ({ level, weight, align, transform, children, className, }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Heading;
@@ -0,0 +1 @@
1
+ export { default as Heading } from './Heading';
@@ -0,0 +1,9 @@
1
+ export interface HeadingProps {
2
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
3
+ weight?: 'light' | 'normal' | 'medium' | 'semibold' | 'bold';
4
+ align?: 'left' | 'center' | 'right';
5
+ transform?: 'normal' | 'capitalize' | 'uppercase' | 'lowercase';
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { HeroProps } from "./types";
2
+ declare const Hero: ({ title, body, align, layout, aspectRatio, titleLevel, titleTransform, titleWeight, theme, bgImage, bgVideo, bgVideoPoster, randomImage, categoryTags, bgBlur, bgGrayscale, children, className, style, }: HeroProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Hero;
@@ -0,0 +1 @@
1
+ export { default as Hero } from './Hero';
@@ -0,0 +1,21 @@
1
+ export interface HeroProps {
2
+ title: string;
3
+ body?: React.ReactNode;
4
+ theme?: "dark" | "light" | "responsive";
5
+ align?: "left" | "center" | "right";
6
+ layout?: "col" | "row";
7
+ aspectRatio?: "auto" | "square" | "landscape" | "video";
8
+ titleLevel?: 1 | 2 | 3 | 4;
9
+ titleWeight?: "light" | "normal" | "medium" | "semibold" | "bold";
10
+ titleTransform?: "normal" | "capitalize" | "uppercase" | "lowercase";
11
+ bgImage?: string;
12
+ bgVideo?: string;
13
+ bgVideoPoster?: string;
14
+ bgBlur?: boolean;
15
+ bgGrayscale?: "none" | "grayscale" | "sepia";
16
+ randomImage?: boolean;
17
+ categoryTags?: string;
18
+ children?: React.ReactNode;
19
+ className?: string;
20
+ style?: React.CSSProperties;
21
+ }
@@ -0,0 +1,3 @@
1
+ import { IconProps } from "./types";
2
+ declare const Icon: ({ iconName, iconId, altText, iconSize, iconColor, iconStyle, flipX, flipY, rotate, className, style, }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Icon;
@@ -0,0 +1 @@
1
+ export { default as Icon } from './Icon';
@@ -0,0 +1,13 @@
1
+ export interface IconProps {
2
+ iconName?: string;
3
+ iconId?: string;
4
+ iconSize?: number;
5
+ iconColor?: string;
6
+ iconStyle?: 'color' | 'fluency';
7
+ flipX?: boolean;
8
+ flipY?: boolean;
9
+ rotate?: 'none' | '45' | '90' | '135' | '180' | '225' | '270' | '315';
10
+ altText?: string;
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,51 @@
1
+ export { Accordion, AccordionItem } from "./accordion";
2
+ export { Alert } from "./alert";
3
+ export { Autocomplete } from "./autocomplete";
4
+ export { Badge } from "./badge";
5
+ export { Blockquote } from "./blockquote";
6
+ export { Breadcrumbs } from "./breadcrumbs";
7
+ export { Button, CloseButton } from "./button";
8
+ export { ButtonGroup } from "./buttongroup";
9
+ export { Card, CardHeader, CardBody, CardImage, CardFooter } from "./card";
10
+ export { Carousel } from "./carousel";
11
+ export { Checkbox } from "./checkbox";
12
+ export { Clock } from "./clock";
13
+ export { Codeblock } from "./codeblock";
14
+ export { Counter } from "./counter";
15
+ export { DataTable } from "./datatable";
16
+ export { Dialog } from "./dialog";
17
+ export { Dropdown } from "./dropdown";
18
+ export { Figure } from "./figure";
19
+ export { FileUpload } from "./fileupload";
20
+ export { Form, Fieldset, RegisterForm } from "./form";
21
+ export { Gallery } from "./gallery";
22
+ export { Heading } from "./heading";
23
+ export { Hero } from "./hero";
24
+ export { Icon } from "./icon";
25
+ export { Input } from "./input";
26
+ export { Label } from "./label";
27
+ export { Loading, Spinner } from "./loading";
28
+ export { Modal } from "./modal";
29
+ export { NavBar } from "./navbar";
30
+ export { Pagination } from "./pagination";
31
+ export { PasswordInput } from "./passwordinput";
32
+ export { Pictogram } from "./pictogram";
33
+ export { PlaceHolder } from "./placeholder";
34
+ export { Progress } from "./progress";
35
+ export { RadioGroup } from "./radiogroup";
36
+ export { RangeInput } from "./rangeinput";
37
+ export { Ratings } from "./ratings";
38
+ export { Tabs } from "./tabs";
39
+ export { SearchInput } from "./searchinput";
40
+ export { Select } from "./select";
41
+ export { Sidebar } from "./sidebar";
42
+ export { SocialShare, FacebookButton, RedditButton, LinkedinButton, PinterestButton, SlackButton, TelegramButton, WhatsAppButton, XButton, BlueskyButton, } from "./socialshare";
43
+ export { StatBar } from "./statbar";
44
+ export { Switch } from "./switch";
45
+ export { TextInput } from "./textinput";
46
+ export { TextArea } from "./textarea";
47
+ export { Toast } from "./toast";
48
+ export { Ticker } from "./ticker";
49
+ export { TwitterEmbed } from "./twitterembed";
50
+ export { VideoPlayer, Video } from "./videoplayer";
51
+ export { YoutubeEmbed } from "./youtubeembed";
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { InputProps } from "./types";
3
+ export type InputRef = HTMLInputElement;
4
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
5
+ export default Input;
@@ -0,0 +1 @@
1
+ export { default as Input } from './Input';
@@ -0,0 +1,38 @@
1
+ export interface InputProps {
2
+ size?: 'sm' | 'md' | 'lg' | 'xl';
3
+ type?: 'text' | 'password' | 'number' | 'email' | 'tel' | 'date' | 'datetime-local' | 'checkbox' | 'radio' | 'file' | 'color' | 'range' | 'search' | 'url' | 'time' | 'month' | 'week';
4
+ autocomplete?: 'off' | 'on' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'email' | 'username email' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'url' | 'tel' | string;
5
+ name?: string;
6
+ id?: string;
7
+ title?: string;
8
+ ariaLabel?: string;
9
+ placeholder?: string;
10
+ list?: string;
11
+ pattern?: string;
12
+ className?: string;
13
+ style?: React.CSSProperties;
14
+ disabled?: boolean;
15
+ hint?: boolean;
16
+ hidden?: boolean;
17
+ required?: boolean;
18
+ readonly?: boolean;
19
+ tabindex?: number;
20
+ min?: string | number;
21
+ max?: string | number;
22
+ maxLength?: number;
23
+ minLength?: number;
24
+ step?: string;
25
+ accept?: string;
26
+ multiple?: boolean;
27
+ value?: number | string;
28
+ checked?: boolean;
29
+ defaultChecked?: boolean;
30
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
31
+ onInput?: React.ChangeEventHandler<HTMLInputElement>;
32
+ onFocus?: React.ChangeEventHandler<HTMLInputElement>;
33
+ onBlur?: React.ChangeEventHandler<HTMLInputElement>;
34
+ autocorrect?: 'on' | 'off';
35
+ spellcheck?: boolean;
36
+ rounded?: 'none' | 'md' | 'lg' | 'full';
37
+ suppressHydrationWarning?: boolean;
38
+ }
@@ -0,0 +1,3 @@
1
+ import { LabelProps } from "./types";
2
+ declare const Label: ({ forId, size, layout, label, isBold, required, type, children, className, style, }: LabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Label;
@@ -0,0 +1 @@
1
+ export { default as Label } from './Label';
@@ -0,0 +1,14 @@
1
+ export interface LabelProps {
2
+ className?: string;
3
+ style?: React.CSSProperties;
4
+ forId?: string;
5
+ layout?: 'col' | 'row' | 'row_reverse';
6
+ size?: 'sm' | 'md' | 'lg' | 'xl';
7
+ label: string | React.ReactNode;
8
+ isBold?: boolean;
9
+ value?: any;
10
+ required?: boolean;
11
+ children: React.ReactNode;
12
+ onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
13
+ type?: 'text' | 'password' | 'number' | 'email' | 'tel' | 'date' | 'checkbox' | 'radio' | 'file' | 'button' | 'color' | 'range' | 'search' | 'url' | 'datetime-local' | 'time' | 'month' | 'week';
14
+ }
@@ -0,0 +1,3 @@
1
+ import { LoadingProps } from "./types";
2
+ declare const Loading: ({ className, caption, spinner, customSpinner, customAnimate, size, loadingColor, layout, }: LoadingProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Loading;
@@ -0,0 +1,2 @@
1
+ export { default as Loading } from './Loading';
2
+ export { default as Spinner } from './spinners/Spinner';
@@ -0,0 +1,4 @@
1
+ declare const Bars: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Bars;
@@ -0,0 +1,4 @@
1
+ declare const Clock: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Clock;
@@ -0,0 +1,4 @@
1
+ declare const Dots: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Dots;
@@ -0,0 +1,4 @@
1
+ declare const Pulse: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Pulse;
@@ -0,0 +1,4 @@
1
+ declare const SpinDots: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default SpinDots;
@@ -0,0 +1,4 @@
1
+ declare const Spinner: ({ width }: {
2
+ width?: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Spinner;
@@ -0,0 +1,4 @@
1
+ declare const Wifi: ({ width }: {
2
+ width: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Wifi;
@@ -0,0 +1,7 @@
1
+ export * from './Bars';
2
+ export * from './Clock';
3
+ export * from './Dots';
4
+ export * from './Pulse';
5
+ export * from './Spindots';
6
+ export * from './Spinner';
7
+ export * from './Wifi';
@@ -0,0 +1,10 @@
1
+ export interface LoadingProps {
2
+ className?: string;
3
+ caption?: string;
4
+ spinner?: string;
5
+ customSpinner?: React.ReactNode;
6
+ customAnimate?: "spin" | "pulse" | "bounce" | "ping";
7
+ size?: "sm" | "md" | "lg" | "xl";
8
+ layout?: "col" | "col_reverse" | "row" | "row_reverse";
9
+ loadingColor?: "current" | "info" | "success" | "warning" | "danger" | "primary" | "secondary";
10
+ }
@@ -0,0 +1,6 @@
1
+ import "leaflet/dist/leaflet.css";
2
+ import "leaflet.fullscreen/Control.FullScreen.css";
3
+ import "leaflet.fullscreen";
4
+ import { MapProps } from "./types";
5
+ declare const LazyMap: ({ center, bounds, zoom, zoomControl, fullscreenControl, fullscreenControlPosition, tilesControl, attributionControl, dragging, scrollWheelZoom, doubleClickZoom, geojson, layerColor, layerFillColor, onDblClick, className, style, tileIndex, customTiles, children, }: MapProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default LazyMap;
@@ -0,0 +1,3 @@
1
+ import { MapCircleProps } from './types';
2
+ declare const MapCircle: ({ position, radius, fill, stroke, fillOpacity, opacity, popupContent, }: MapCircleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapCircle;
@@ -0,0 +1,3 @@
1
+ import { MapLineProps } from './types';
2
+ declare const MapLine: ({ positions, color, weight, dashArray, popupContent, }: MapLineProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapLine;
@@ -0,0 +1,5 @@
1
+ import { Icon } from 'leaflet';
2
+ import { MapMarkerProps, CustomIconProps } from './types';
3
+ declare const LazyMapMarker: ({ position, popupContent, iconName, iconId, iconSize, iconColor, draggable, onDragEnd, }: MapMarkerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default LazyMapMarker;
5
+ export declare const UseCustomIcon: ({ iconName, iconId, size, color }: CustomIconProps) => Icon;
@@ -0,0 +1,3 @@
1
+ import { MapPolygonProps } from './types';
2
+ declare const MapPolygon: ({ positions, fill, stroke, popupContent }: MapPolygonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapPolygon;
@@ -0,0 +1,3 @@
1
+ import { MapRectangleProps } from './types';
2
+ declare const MapRectangle: ({ bounds, color, fillColor, popupContent, }: MapRectangleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapRectangle;
@@ -0,0 +1,3 @@
1
+ import { MapProps } from "./types";
2
+ declare const Map: ({ children, ...rest }: MapProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Map;
@@ -0,0 +1,3 @@
1
+ import { MapCircleProps } from './types';
2
+ declare const MapCircle: ({ ...rest }: MapCircleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapCircle;
@@ -0,0 +1,3 @@
1
+ import { MapLineProps } from './types';
2
+ declare const MapLine: ({ ...rest }: MapLineProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapLine;
@@ -0,0 +1,3 @@
1
+ import { MapMarkerProps } from './types';
2
+ declare const MapMarker: ({ ...rest }: MapMarkerProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapMarker;
@@ -0,0 +1,3 @@
1
+ import { MapPolygonProps } from './types';
2
+ declare const MapPolygon: ({ ...rest }: MapPolygonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapPolygon;
@@ -0,0 +1,3 @@
1
+ import { MapRectangleProps } from './types';
2
+ declare const MapRectangle: ({ ...rest }: MapRectangleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MapRectangle;
@@ -0,0 +1,6 @@
1
+ export { default as Map } from './Map';
2
+ export { default as MapMarker } from './MapMarker';
3
+ export { default as MapCircle } from './MapCircle';
4
+ export { default as MapPolygon } from './MapPolygon';
5
+ export { default as MapLine } from './MapLine';
6
+ export { default as MapRectangle } from './MapRectangle';
@@ -0,0 +1,11 @@
1
+ export declare const tileOptions: ({
2
+ name: string;
3
+ url: string;
4
+ attribution: string;
5
+ subdomains: undefined;
6
+ } | {
7
+ name: string;
8
+ url: string;
9
+ attribution: string;
10
+ subdomains: string[];
11
+ })[];
@@ -0,0 +1,77 @@
1
+ import { LatLngExpression, LatLngBoundsExpression } from "leaflet";
2
+ import { GeoJsonObject } from "geojson";
3
+ interface TileLayerOptions {
4
+ name: string;
5
+ url: string;
6
+ minZoom?: number;
7
+ maxZoom?: number;
8
+ attribution: string;
9
+ subdomains?: string[] | undefined;
10
+ }
11
+ export interface MapProps {
12
+ center?: LatLngExpression;
13
+ bounds?: LatLngBoundsExpression;
14
+ zoom?: number;
15
+ zoomControl?: boolean;
16
+ fullscreenControl?: boolean;
17
+ fullscreenControlPosition?: "topleft" | "topright" | "bottomleft" | "bottomright";
18
+ tilesControl?: boolean;
19
+ tileIndex?: number;
20
+ attributionControl?: boolean;
21
+ customTiles?: TileLayerOptions[];
22
+ dragging?: boolean;
23
+ scrollWheelZoom?: boolean;
24
+ doubleClickZoom?: boolean;
25
+ geojson?: GeoJsonObject;
26
+ layerColor?: string;
27
+ layerFillColor?: string;
28
+ className?: string;
29
+ style?: React.CSSProperties;
30
+ children?: React.ReactNode;
31
+ onDblClick?: (position: LatLngExpression) => void;
32
+ }
33
+ export interface MapMarkerProps {
34
+ position: LatLngExpression;
35
+ popupContent?: string;
36
+ iconName?: string;
37
+ iconId?: string;
38
+ iconSize?: number;
39
+ iconColor?: string;
40
+ draggable?: boolean;
41
+ onDragEnd?: (position: LatLngExpression) => void;
42
+ }
43
+ export interface CustomIconProps {
44
+ iconName?: string;
45
+ iconId?: string;
46
+ size?: number;
47
+ color?: string;
48
+ }
49
+ export interface MapCircleProps {
50
+ position: LatLngExpression;
51
+ radius: number;
52
+ fill?: string;
53
+ stroke?: boolean;
54
+ fillOpacity?: number;
55
+ opacity?: number;
56
+ popupContent?: string;
57
+ }
58
+ export interface MapPolygonProps {
59
+ positions: LatLngExpression[] | LatLngExpression[][];
60
+ fill?: string;
61
+ stroke?: boolean;
62
+ popupContent?: string;
63
+ }
64
+ export interface MapLineProps {
65
+ positions: LatLngExpression[];
66
+ color?: string;
67
+ weight?: number;
68
+ dashArray?: string;
69
+ popupContent?: string;
70
+ }
71
+ export interface MapRectangleProps {
72
+ bounds: LatLngBoundsExpression;
73
+ color?: string;
74
+ fillColor?: string;
75
+ popupContent?: string;
76
+ }
77
+ export {};
@@ -0,0 +1,3 @@
1
+ import { ModalProps } from './types';
2
+ declare const Modal: ({ src, caption, alt, onClick, open, theme, className, }: ModalProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Modal;
@@ -0,0 +1 @@
1
+ export declare const useDisableBack: () => void;
@@ -0,0 +1 @@
1
+ export { default as Modal } from './Modal';
@@ -0,0 +1,9 @@
1
+ export interface ModalProps extends React.HTMLAttributes<HTMLDialogElement> {
2
+ src: string;
3
+ alt: string;
4
+ caption?: string;
5
+ className?: string | undefined;
6
+ onClick?: () => void;
7
+ open: boolean;
8
+ theme?: 'light' | 'dark';
9
+ }
@@ -0,0 +1,3 @@
1
+ import { NavBarProps } from './types';
2
+ declare const NavBar: ({ brand, brandSrc, brandStyles, links, linkStyles, btnBackground, btnColor, btnLayout, btnSize, children, navStyles, onLinkClick, placement, prefetch, }: NavBarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default NavBar;
@@ -0,0 +1,3 @@
1
+ import { NavBrandProps } from './types';
2
+ declare const NavBrand: ({ brand, src, brandStyles, prefetch }: NavBrandProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default NavBrand;
@@ -0,0 +1,3 @@
1
+ import { NavLinkProps } from './types';
2
+ declare const NavLinks: ({ links, linkStyles, btnBackground, btnColor, btnLayout, btnSize, placement, onLinkClick, prefetch, }: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default NavLinks;
@@ -0,0 +1 @@
1
+ export { default as NavBar } from './NavBar';
@@ -0,0 +1,43 @@
1
+ type colors = 'dark' | 'light' | 'info' | 'success' | 'warning' | 'danger' | 'primary' | 'secondary';
2
+ type ButtonColor = colors | 'current';
3
+ type ButtonBackground = colors | 'transparent';
4
+ type ButtonSize = 'sm' | 'md' | 'lg';
5
+ type ButtonLayout = 'rounded' | 'square' | 'circle';
6
+ export interface NavBarProps {
7
+ navStyles?: string;
8
+ brand?: string;
9
+ brandSrc?: string;
10
+ brandStyles?: string;
11
+ links: NavLink[];
12
+ linkStyles?: string;
13
+ btnBackground?: ButtonBackground;
14
+ btnColor?: ButtonColor;
15
+ btnLayout?: ButtonLayout;
16
+ btnSize?: ButtonSize;
17
+ children?: React.ReactNode;
18
+ onLinkClick?: (name: string) => void;
19
+ placement?: 'top' | 'bottom';
20
+ prefetch?: boolean;
21
+ }
22
+ export interface NavLinkProps {
23
+ links: NavLink[];
24
+ linkStyles?: string;
25
+ btnBackground?: ButtonBackground;
26
+ btnColor?: ButtonColor;
27
+ btnLayout?: ButtonLayout;
28
+ btnSize?: ButtonSize;
29
+ onLinkClick?: (name: string) => void;
30
+ placement?: 'top' | 'bottom';
31
+ prefetch?: boolean;
32
+ }
33
+ export interface NavBrandProps {
34
+ brand?: string;
35
+ src?: string;
36
+ brandStyles?: string;
37
+ prefetch?: boolean;
38
+ }
39
+ export interface NavLink {
40
+ name: string;
41
+ href: string;
42
+ }
43
+ export {};
@@ -0,0 +1,3 @@
1
+ import { PaginationProps } from "./types";
2
+ declare const Pagination: ({ page, feedback, feedbackLabel, feedbackSeparator, firstPageLabel, lastPageLabel, prevPageLabel, nextPageLabel, range, results, size, layout, gap, rounded, icons, minimal, btnBackground, btnColor, btnShape, onChange, className, style, }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Pagination;
@@ -0,0 +1 @@
1
+ export { default as Pagination } from './Pagination';
@@ -0,0 +1,25 @@
1
+ export interface PaginationProps {
2
+ size?: "md" | "lg" | "xl";
3
+ page: string;
4
+ range: number;
5
+ results: number;
6
+ feedback?: boolean;
7
+ feedbackLabel?: string;
8
+ feedbackSeparator?: string;
9
+ firstPageLabel?: string;
10
+ lastPageLabel?: string;
11
+ prevPageLabel?: string;
12
+ nextPageLabel?: string;
13
+ vertical?: boolean;
14
+ icons?: boolean;
15
+ minimal?: boolean;
16
+ layout?: "horizontal" | "vertical";
17
+ gap?: "none" | "sm" | "md" | "lg" | "xl";
18
+ rounded?: boolean;
19
+ onChange: (page: string) => void;
20
+ className?: string;
21
+ style?: React.CSSProperties;
22
+ btnShape?: "default" | "rounded" | "square" | "circle";
23
+ btnBackground?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "transparent";
24
+ btnColor?: "dark" | "light" | "info" | "success" | "warning" | "danger" | "primary" | "secondary" | "current";
25
+ }
@@ -0,0 +1,3 @@
1
+ import { PasswordInputProps } from "./types";
2
+ declare const PasswordInput: ({ name, className, label, size, rounded, placeholder, autocomplete, pattern, inputStyles, hint, title, required, layout, onInputChange, }: PasswordInputProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PasswordInput;
@@ -0,0 +1 @@
1
+ export { default as PasswordInput } from './PasswordInput';
@@ -0,0 +1,18 @@
1
+ export interface PasswordInputProps {
2
+ size?: 'sm' | 'md' | 'lg' | 'xl';
3
+ autocomplete?: 'new-password' | 'current-password';
4
+ name?: string;
5
+ title?: string;
6
+ placeholder?: string;
7
+ pattern?: string;
8
+ className?: string;
9
+ disabled?: boolean;
10
+ hint?: boolean;
11
+ required?: boolean;
12
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
13
+ onInputChange?: (input: string) => void;
14
+ rounded?: 'none' | 'md' | 'lg' | 'full';
15
+ layout?: 'col' | 'row';
16
+ label: string;
17
+ inputStyles?: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ import { PictogramProps } from "./types";
2
+ declare const Pictogram: ({ labels, tally, icon, size, caption, captionSide, className, style, }: PictogramProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Pictogram;
@@ -0,0 +1 @@
1
+ export { default as Pictogram } from './Pictogram';
@@ -0,0 +1,10 @@
1
+ export interface PictogramProps {
2
+ labels: string[];
3
+ tally: number[];
4
+ icon?: React.ReactNode;
5
+ caption?: string;
6
+ captionSide?: "top" | "bottom";
7
+ size?: "md" | "lg" | "xl";
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { PlaceHolderProps } from './types';
2
+ declare const PlaceHolder: ({ width, height, background, color, text, format, className, style, }: PlaceHolderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PlaceHolder;
@@ -0,0 +1 @@
1
+ export { default as PlaceHolder } from './PlaceHolder';