@orion-ds/react 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +18 -0
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  3. package/dist/components/Accordion/Accordion.types.d.ts +92 -0
  4. package/dist/components/Accordion/Accordion.types.d.ts.map +1 -0
  5. package/dist/components/Accordion/index.d.ts +6 -0
  6. package/dist/components/Accordion/index.d.ts.map +1 -0
  7. package/dist/components/Alert/Alert.d.ts +1 -0
  8. package/dist/components/Alert/Alert.d.ts.map +1 -1
  9. package/dist/components/Card/Card.d.ts +5 -1
  10. package/dist/components/Card/Card.d.ts.map +1 -1
  11. package/dist/components/Card/Card.types.d.ts +43 -1
  12. package/dist/components/Card/Card.types.d.ts.map +1 -1
  13. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  14. package/dist/components/Chip/Chip.d.ts +15 -0
  15. package/dist/components/Chip/Chip.d.ts.map +1 -0
  16. package/dist/components/Chip/Chip.types.d.ts +68 -0
  17. package/dist/components/Chip/Chip.types.d.ts.map +1 -0
  18. package/dist/components/Chip/index.d.ts +6 -0
  19. package/dist/components/Chip/index.d.ts.map +1 -0
  20. package/dist/components/Combobox/Combobox.d.ts +21 -0
  21. package/dist/components/Combobox/Combobox.d.ts.map +1 -0
  22. package/dist/components/Combobox/Combobox.types.d.ts +153 -0
  23. package/dist/components/Combobox/Combobox.types.d.ts.map +1 -0
  24. package/dist/components/Combobox/index.d.ts +6 -0
  25. package/dist/components/Combobox/index.d.ts.map +1 -0
  26. package/dist/components/Divider/Divider.d.ts +15 -0
  27. package/dist/components/Divider/Divider.d.ts.map +1 -0
  28. package/dist/components/Divider/Divider.types.d.ts +46 -0
  29. package/dist/components/Divider/Divider.types.d.ts.map +1 -0
  30. package/dist/components/Divider/index.d.ts +6 -0
  31. package/dist/components/Divider/index.d.ts.map +1 -0
  32. package/dist/components/Drawer/Drawer.d.ts +23 -0
  33. package/dist/components/Drawer/Drawer.d.ts.map +1 -0
  34. package/dist/components/Drawer/Drawer.types.d.ts +83 -0
  35. package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
  36. package/dist/components/Drawer/index.d.ts +6 -0
  37. package/dist/components/Drawer/index.d.ts.map +1 -0
  38. package/dist/components/Dropdown/Dropdown.d.ts +19 -0
  39. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
  40. package/dist/components/Dropdown/Dropdown.types.d.ts +119 -0
  41. package/dist/components/Dropdown/Dropdown.types.d.ts.map +1 -0
  42. package/dist/components/Dropdown/index.d.ts +6 -0
  43. package/dist/components/Dropdown/index.d.ts.map +1 -0
  44. package/dist/components/EmptyState/EmptyState.d.ts +18 -0
  45. package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
  46. package/dist/components/EmptyState/EmptyState.types.d.ts +51 -0
  47. package/dist/components/EmptyState/EmptyState.types.d.ts.map +1 -0
  48. package/dist/components/EmptyState/index.d.ts +6 -0
  49. package/dist/components/EmptyState/index.d.ts.map +1 -0
  50. package/dist/components/Icon/Icon.d.ts +37 -0
  51. package/dist/components/Icon/Icon.d.ts.map +1 -0
  52. package/dist/components/Icon/Icon.types.d.ts +102 -0
  53. package/dist/components/Icon/Icon.types.d.ts.map +1 -0
  54. package/dist/components/Icon/index.d.ts +6 -0
  55. package/dist/components/Icon/index.d.ts.map +1 -0
  56. package/dist/components/IconGallery/IconGallery.d.ts +6 -8
  57. package/dist/components/IconGallery/IconGallery.d.ts.map +1 -1
  58. package/dist/components/IconGallery/IconGallery.types.d.ts +39 -0
  59. package/dist/components/IconGallery/IconGallery.types.d.ts.map +1 -0
  60. package/dist/components/IconGallery/index.d.ts +6 -0
  61. package/dist/components/IconGallery/index.d.ts.map +1 -0
  62. package/dist/components/Link/Link.d.ts +15 -0
  63. package/dist/components/Link/Link.d.ts.map +1 -0
  64. package/dist/components/Link/Link.types.d.ts +59 -0
  65. package/dist/components/Link/Link.types.d.ts.map +1 -0
  66. package/dist/components/Link/index.d.ts +6 -0
  67. package/dist/components/Link/index.d.ts.map +1 -0
  68. package/dist/components/List/List.d.ts +19 -0
  69. package/dist/components/List/List.d.ts.map +1 -0
  70. package/dist/components/List/List.types.d.ts +117 -0
  71. package/dist/components/List/List.types.d.ts.map +1 -0
  72. package/dist/components/List/index.d.ts +6 -0
  73. package/dist/components/List/index.d.ts.map +1 -0
  74. package/dist/components/Pagination/Pagination.d.ts +17 -0
  75. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  76. package/dist/components/Pagination/Pagination.types.d.ts +62 -0
  77. package/dist/components/Pagination/Pagination.types.d.ts.map +1 -0
  78. package/dist/components/Pagination/index.d.ts +6 -0
  79. package/dist/components/Pagination/index.d.ts.map +1 -0
  80. package/dist/components/Popover/Popover.d.ts +17 -0
  81. package/dist/components/Popover/Popover.d.ts.map +1 -0
  82. package/dist/components/Popover/Popover.types.d.ts +100 -0
  83. package/dist/components/Popover/Popover.types.d.ts.map +1 -0
  84. package/dist/components/Popover/index.d.ts +6 -0
  85. package/dist/components/Popover/index.d.ts.map +1 -0
  86. package/dist/components/SearchInput/SearchInput.d.ts +18 -0
  87. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
  88. package/dist/components/SearchInput/SearchInput.types.d.ts +73 -0
  89. package/dist/components/SearchInput/SearchInput.types.d.ts.map +1 -0
  90. package/dist/components/SearchInput/index.d.ts +6 -0
  91. package/dist/components/SearchInput/index.d.ts.map +1 -0
  92. package/dist/components/Skeleton/Skeleton.d.ts +15 -0
  93. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
  94. package/dist/components/Skeleton/Skeleton.types.d.ts +56 -0
  95. package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -0
  96. package/dist/components/Skeleton/index.d.ts +6 -0
  97. package/dist/components/Skeleton/index.d.ts.map +1 -0
  98. package/dist/components/Slider/Slider.d.ts +18 -0
  99. package/dist/components/Slider/Slider.d.ts.map +1 -0
  100. package/dist/components/Slider/Slider.types.d.ts +98 -0
  101. package/dist/components/Slider/Slider.types.d.ts.map +1 -0
  102. package/dist/components/Slider/index.d.ts +6 -0
  103. package/dist/components/Slider/index.d.ts.map +1 -0
  104. package/dist/components/Stepper/Stepper.d.ts +20 -0
  105. package/dist/components/Stepper/Stepper.d.ts.map +1 -0
  106. package/dist/components/Stepper/Stepper.types.d.ts +135 -0
  107. package/dist/components/Stepper/Stepper.types.d.ts.map +1 -0
  108. package/dist/components/Stepper/index.d.ts +6 -0
  109. package/dist/components/Stepper/index.d.ts.map +1 -0
  110. package/dist/components/Table/Table.types.d.ts +2 -2
  111. package/dist/components/Table/Table.types.d.ts.map +1 -1
  112. package/dist/components/Toast/Toast.d.ts +33 -0
  113. package/dist/components/Toast/Toast.d.ts.map +1 -0
  114. package/dist/components/Toast/Toast.types.d.ts +126 -0
  115. package/dist/components/Toast/Toast.types.d.ts.map +1 -0
  116. package/dist/components/Toast/index.d.ts +6 -0
  117. package/dist/components/Toast/index.d.ts.map +1 -0
  118. package/dist/components/index.d.ts +48 -0
  119. package/dist/components/index.d.ts.map +1 -0
  120. package/dist/hooks/index.d.ts +14 -0
  121. package/dist/hooks/index.d.ts.map +1 -1
  122. package/dist/hooks/useClickOutside.d.ts +31 -0
  123. package/dist/hooks/useClickOutside.d.ts.map +1 -0
  124. package/dist/hooks/useCopyToClipboard.d.ts +72 -0
  125. package/dist/hooks/useCopyToClipboard.d.ts.map +1 -0
  126. package/dist/hooks/useDebounce.d.ts +58 -0
  127. package/dist/hooks/useDebounce.d.ts.map +1 -0
  128. package/dist/hooks/useDisclosure.d.ts +74 -0
  129. package/dist/hooks/useDisclosure.d.ts.map +1 -0
  130. package/dist/hooks/useKeyboard.d.ts +101 -0
  131. package/dist/hooks/useKeyboard.d.ts.map +1 -0
  132. package/dist/hooks/useLocalStorage.d.ts +48 -0
  133. package/dist/hooks/useLocalStorage.d.ts.map +1 -0
  134. package/dist/hooks/useMediaQuery.d.ts +43 -0
  135. package/dist/hooks/useMediaQuery.d.ts.map +1 -0
  136. package/dist/index.cjs +3 -3
  137. package/dist/index.cjs.map +1 -1
  138. package/dist/index.d.ts +54 -0
  139. package/dist/index.d.ts.map +1 -1
  140. package/dist/index.mjs +16458 -12654
  141. package/dist/index.mjs.map +1 -1
  142. package/dist/react.css +1 -1
  143. package/dist/sections/AppDownload/AppDownload.d.ts +12 -0
  144. package/dist/sections/AppDownload/AppDownload.d.ts.map +1 -0
  145. package/dist/sections/AppDownload/AppDownload.types.d.ts +118 -0
  146. package/dist/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
  147. package/dist/sections/AppDownload/index.d.ts +3 -0
  148. package/dist/sections/AppDownload/index.d.ts.map +1 -0
  149. package/dist/sections/Banner/Banner.d.ts +12 -0
  150. package/dist/sections/Banner/Banner.d.ts.map +1 -0
  151. package/dist/sections/Banner/Banner.types.d.ts +105 -0
  152. package/dist/sections/Banner/Banner.types.d.ts.map +1 -0
  153. package/dist/sections/Banner/index.d.ts +3 -0
  154. package/dist/sections/Banner/index.d.ts.map +1 -0
  155. package/dist/sections/Blog/Blog.d.ts +12 -0
  156. package/dist/sections/Blog/Blog.d.ts.map +1 -0
  157. package/dist/sections/Blog/Blog.types.d.ts +143 -0
  158. package/dist/sections/Blog/Blog.types.d.ts.map +1 -0
  159. package/dist/sections/Blog/index.d.ts +3 -0
  160. package/dist/sections/Blog/index.d.ts.map +1 -0
  161. package/dist/sections/CTA/CTA.d.ts +24 -0
  162. package/dist/sections/CTA/CTA.d.ts.map +1 -0
  163. package/dist/sections/CTA/CTA.types.d.ts +74 -0
  164. package/dist/sections/CTA/CTA.types.d.ts.map +1 -0
  165. package/dist/sections/CTA/index.d.ts +6 -0
  166. package/dist/sections/CTA/index.d.ts.map +1 -0
  167. package/dist/sections/Carousel/Carousel.d.ts +36 -0
  168. package/dist/sections/Carousel/Carousel.d.ts.map +1 -0
  169. package/dist/sections/Carousel/Carousel.types.d.ts +160 -0
  170. package/dist/sections/Carousel/Carousel.types.d.ts.map +1 -0
  171. package/dist/sections/Carousel/CarouselCard.d.ts +12 -0
  172. package/dist/sections/Carousel/CarouselCard.d.ts.map +1 -0
  173. package/dist/sections/Carousel/index.d.ts +7 -0
  174. package/dist/sections/Carousel/index.d.ts.map +1 -0
  175. package/dist/sections/Comparison/Comparison.d.ts +12 -0
  176. package/dist/sections/Comparison/Comparison.d.ts.map +1 -0
  177. package/dist/sections/Comparison/Comparison.types.d.ts +124 -0
  178. package/dist/sections/Comparison/Comparison.types.d.ts.map +1 -0
  179. package/dist/sections/Comparison/index.d.ts +3 -0
  180. package/dist/sections/Comparison/index.d.ts.map +1 -0
  181. package/dist/sections/Contact/Contact.d.ts +29 -0
  182. package/dist/sections/Contact/Contact.d.ts.map +1 -0
  183. package/dist/sections/Contact/Contact.types.d.ts +137 -0
  184. package/dist/sections/Contact/Contact.types.d.ts.map +1 -0
  185. package/dist/sections/Contact/index.d.ts +6 -0
  186. package/dist/sections/Contact/index.d.ts.map +1 -0
  187. package/dist/sections/Container/Container.d.ts +17 -0
  188. package/dist/sections/Container/Container.d.ts.map +1 -0
  189. package/dist/sections/Container/Container.types.d.ts +47 -0
  190. package/dist/sections/Container/Container.types.d.ts.map +1 -0
  191. package/dist/sections/Container/index.d.ts +6 -0
  192. package/dist/sections/Container/index.d.ts.map +1 -0
  193. package/dist/sections/FAQ/FAQ.d.ts +29 -0
  194. package/dist/sections/FAQ/FAQ.d.ts.map +1 -0
  195. package/dist/sections/FAQ/FAQ.types.d.ts +121 -0
  196. package/dist/sections/FAQ/FAQ.types.d.ts.map +1 -0
  197. package/dist/sections/FAQ/FAQItemCard.d.ts +12 -0
  198. package/dist/sections/FAQ/FAQItemCard.d.ts.map +1 -0
  199. package/dist/sections/FAQ/index.d.ts +7 -0
  200. package/dist/sections/FAQ/index.d.ts.map +1 -0
  201. package/dist/sections/Features/FeatureCard.d.ts +11 -0
  202. package/dist/sections/Features/FeatureCard.d.ts.map +1 -0
  203. package/dist/sections/Features/Features.d.ts +24 -0
  204. package/dist/sections/Features/Features.d.ts.map +1 -0
  205. package/dist/sections/Features/Features.types.d.ts +104 -0
  206. package/dist/sections/Features/Features.types.d.ts.map +1 -0
  207. package/dist/sections/Features/index.d.ts +7 -0
  208. package/dist/sections/Features/index.d.ts.map +1 -0
  209. package/dist/sections/Footer/Footer.d.ts +24 -0
  210. package/dist/sections/Footer/Footer.d.ts.map +1 -0
  211. package/dist/sections/Footer/Footer.types.d.ts +133 -0
  212. package/dist/sections/Footer/Footer.types.d.ts.map +1 -0
  213. package/dist/sections/Footer/index.d.ts +6 -0
  214. package/dist/sections/Footer/index.d.ts.map +1 -0
  215. package/dist/sections/Gallery/Gallery.d.ts +12 -0
  216. package/dist/sections/Gallery/Gallery.d.ts.map +1 -0
  217. package/dist/sections/Gallery/Gallery.types.d.ts +118 -0
  218. package/dist/sections/Gallery/Gallery.types.d.ts.map +1 -0
  219. package/dist/sections/Gallery/index.d.ts +3 -0
  220. package/dist/sections/Gallery/index.d.ts.map +1 -0
  221. package/dist/sections/Hero/Hero.d.ts +22 -0
  222. package/dist/sections/Hero/Hero.d.ts.map +1 -0
  223. package/dist/sections/Hero/Hero.types.d.ts +83 -0
  224. package/dist/sections/Hero/Hero.types.d.ts.map +1 -0
  225. package/dist/sections/Hero/index.d.ts +6 -0
  226. package/dist/sections/Hero/index.d.ts.map +1 -0
  227. package/dist/sections/LogoCloud/LogoCloud.d.ts +26 -0
  228. package/dist/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
  229. package/dist/sections/LogoCloud/LogoCloud.types.d.ts +105 -0
  230. package/dist/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
  231. package/dist/sections/LogoCloud/index.d.ts +6 -0
  232. package/dist/sections/LogoCloud/index.d.ts.map +1 -0
  233. package/dist/sections/Newsletter/Newsletter.d.ts +22 -0
  234. package/dist/sections/Newsletter/Newsletter.d.ts.map +1 -0
  235. package/dist/sections/Newsletter/Newsletter.types.d.ts +101 -0
  236. package/dist/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
  237. package/dist/sections/Newsletter/index.d.ts +6 -0
  238. package/dist/sections/Newsletter/index.d.ts.map +1 -0
  239. package/dist/sections/Pricing/Pricing.d.ts +35 -0
  240. package/dist/sections/Pricing/Pricing.d.ts.map +1 -0
  241. package/dist/sections/Pricing/Pricing.types.d.ts +133 -0
  242. package/dist/sections/Pricing/Pricing.types.d.ts.map +1 -0
  243. package/dist/sections/Pricing/PricingCard.d.ts +11 -0
  244. package/dist/sections/Pricing/PricingCard.d.ts.map +1 -0
  245. package/dist/sections/Pricing/index.d.ts +7 -0
  246. package/dist/sections/Pricing/index.d.ts.map +1 -0
  247. package/dist/sections/Section/Section.d.ts +19 -0
  248. package/dist/sections/Section/Section.d.ts.map +1 -0
  249. package/dist/sections/Section/Section.types.d.ts +68 -0
  250. package/dist/sections/Section/Section.types.d.ts.map +1 -0
  251. package/dist/sections/Section/index.d.ts +6 -0
  252. package/dist/sections/Section/index.d.ts.map +1 -0
  253. package/dist/sections/SocialProof/SocialProof.d.ts +12 -0
  254. package/dist/sections/SocialProof/SocialProof.d.ts.map +1 -0
  255. package/dist/sections/SocialProof/SocialProof.types.d.ts +142 -0
  256. package/dist/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
  257. package/dist/sections/SocialProof/index.d.ts +3 -0
  258. package/dist/sections/SocialProof/index.d.ts.map +1 -0
  259. package/dist/sections/Stats/StatItemCard.d.ts +11 -0
  260. package/dist/sections/Stats/StatItemCard.d.ts.map +1 -0
  261. package/dist/sections/Stats/Stats.d.ts +25 -0
  262. package/dist/sections/Stats/Stats.d.ts.map +1 -0
  263. package/dist/sections/Stats/Stats.types.d.ts +125 -0
  264. package/dist/sections/Stats/Stats.types.d.ts.map +1 -0
  265. package/dist/sections/Stats/index.d.ts +7 -0
  266. package/dist/sections/Stats/index.d.ts.map +1 -0
  267. package/dist/sections/Team/Team.d.ts +31 -0
  268. package/dist/sections/Team/Team.d.ts.map +1 -0
  269. package/dist/sections/Team/Team.types.d.ts +135 -0
  270. package/dist/sections/Team/Team.types.d.ts.map +1 -0
  271. package/dist/sections/Team/TeamMemberCard.d.ts +11 -0
  272. package/dist/sections/Team/TeamMemberCard.d.ts.map +1 -0
  273. package/dist/sections/Team/index.d.ts +7 -0
  274. package/dist/sections/Team/index.d.ts.map +1 -0
  275. package/dist/sections/Testimonials/TestimonialCard.d.ts +11 -0
  276. package/dist/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
  277. package/dist/sections/Testimonials/Testimonials.d.ts +31 -0
  278. package/dist/sections/Testimonials/Testimonials.d.ts.map +1 -0
  279. package/dist/sections/Testimonials/Testimonials.types.d.ts +130 -0
  280. package/dist/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
  281. package/dist/sections/Testimonials/index.d.ts +7 -0
  282. package/dist/sections/Testimonials/index.d.ts.map +1 -0
  283. package/dist/sections/Timeline/Timeline.d.ts +12 -0
  284. package/dist/sections/Timeline/Timeline.d.ts.map +1 -0
  285. package/dist/sections/Timeline/Timeline.types.d.ts +102 -0
  286. package/dist/sections/Timeline/Timeline.types.d.ts.map +1 -0
  287. package/dist/sections/Timeline/index.d.ts +3 -0
  288. package/dist/sections/Timeline/index.d.ts.map +1 -0
  289. package/dist/sections/index.d.ts +80 -0
  290. package/dist/sections/index.d.ts.map +1 -0
  291. package/dist/utils/icons.d.ts +47 -46
  292. package/dist/utils/icons.d.ts.map +1 -1
  293. package/package.json +14 -14
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Skeleton Component Export
3
+ */
4
+ export { Skeleton } from './Skeleton';
5
+ export type { SkeletonProps, SkeletonVariant, SkeletonAnimation } from './Skeleton.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Slider Component
3
+ *
4
+ * A range input for selecting numeric values.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Slider
9
+ * value={50}
10
+ * onChange={(value) => setValue(value)}
11
+ * min={0}
12
+ * max={100}
13
+ * />
14
+ * ```
15
+ */
16
+ import type { SliderProps } from './Slider.types';
17
+ export declare const Slider: import("react").ForwardRefExoticComponent<SliderProps & import("react").RefAttributes<HTMLDivElement>>;
18
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,eAAO,MAAM,MAAM,wGA6IlB,CAAC"}
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Slider Component Types
3
+ *
4
+ * Type definitions for the Orion Slider/Range component.
5
+ */
6
+ import type { HTMLAttributes } from 'react';
7
+ /**
8
+ * Slider size variants
9
+ */
10
+ export type SliderSize = 'sm' | 'md' | 'lg';
11
+ /**
12
+ * Slider component props
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <Slider
17
+ * value={50}
18
+ * onChange={(value) => setValue(value)}
19
+ * min={0}
20
+ * max={100}
21
+ * />
22
+ * ```
23
+ */
24
+ export interface SliderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
25
+ /**
26
+ * Current value
27
+ */
28
+ value: number;
29
+ /**
30
+ * Callback when value changes
31
+ */
32
+ onChange: (value: number) => void;
33
+ /**
34
+ * Minimum value
35
+ * @default 0
36
+ */
37
+ min?: number;
38
+ /**
39
+ * Maximum value
40
+ * @default 100
41
+ */
42
+ max?: number;
43
+ /**
44
+ * Step increment
45
+ * @default 1
46
+ */
47
+ step?: number;
48
+ /**
49
+ * Size variant
50
+ * @default 'md'
51
+ */
52
+ size?: SliderSize;
53
+ /**
54
+ * Whether the slider is disabled
55
+ * @default false
56
+ */
57
+ disabled?: boolean;
58
+ /**
59
+ * Show the current value above the thumb
60
+ * @default false
61
+ */
62
+ showValue?: boolean;
63
+ /**
64
+ * Format function for displaying the value
65
+ */
66
+ formatValue?: (value: number) => string;
67
+ /**
68
+ * Show min and max labels
69
+ * @default false
70
+ */
71
+ showLabels?: boolean;
72
+ /**
73
+ * Show tick marks
74
+ * @default false
75
+ */
76
+ showTicks?: boolean;
77
+ /**
78
+ * Custom tick values (if not provided, uses step)
79
+ */
80
+ tickValues?: number[];
81
+ /**
82
+ * Label for the slider (accessibility)
83
+ */
84
+ label?: string;
85
+ /**
86
+ * ID for the slider input
87
+ */
88
+ id?: string;
89
+ /**
90
+ * Callback when dragging starts
91
+ */
92
+ onChangeStart?: () => void;
93
+ /**
94
+ * Callback when dragging ends
95
+ */
96
+ onChangeEnd?: (value: number) => void;
97
+ }
98
+ //# sourceMappingURL=Slider.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.types.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACnF;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAExC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Slider Component Export
3
+ */
4
+ export { Slider } from './Slider';
5
+ export type { SliderProps, SliderSize } from './Slider.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Stepper Component
3
+ *
4
+ * A component to display progress through a multi-step process.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Stepper
9
+ * steps={[
10
+ * { id: '1', title: 'Account', description: 'Create your account' },
11
+ * { id: '2', title: 'Profile', description: 'Set up your profile' },
12
+ * { id: '3', title: 'Complete', description: 'Review and finish' },
13
+ * ]}
14
+ * currentStep={1}
15
+ * />
16
+ * ```
17
+ */
18
+ import type { StepperProps } from './Stepper.types';
19
+ export declare const Stepper: import("react").ForwardRefExoticComponent<StepperProps & import("react").RefAttributes<HTMLDivElement>>;
20
+ //# sourceMappingURL=Stepper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAyB,MAAM,iBAAiB,CAAC;AAsG3E,eAAO,MAAM,OAAO,yGAiFnB,CAAC"}
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Stepper Component Types
3
+ *
4
+ * Type definitions for the Orion Stepper/Wizard component.
5
+ */
6
+ import type { HTMLAttributes, ReactNode } from 'react';
7
+ /**
8
+ * Stepper orientation
9
+ */
10
+ export type StepperOrientation = 'horizontal' | 'vertical';
11
+ /**
12
+ * Stepper size variants
13
+ */
14
+ export type StepperSize = 'sm' | 'md' | 'lg';
15
+ /**
16
+ * Step status
17
+ */
18
+ export type StepStatus = 'complete' | 'current' | 'upcoming' | 'error';
19
+ /**
20
+ * Step item definition
21
+ */
22
+ export interface StepItem {
23
+ /**
24
+ * Unique identifier for the step
25
+ */
26
+ id: string;
27
+ /**
28
+ * Step title/label
29
+ */
30
+ title: string;
31
+ /**
32
+ * Optional description
33
+ */
34
+ description?: string;
35
+ /**
36
+ * Custom icon for the step
37
+ */
38
+ icon?: ReactNode;
39
+ /**
40
+ * Whether this step is optional
41
+ */
42
+ optional?: boolean;
43
+ /**
44
+ * Whether this step has an error
45
+ */
46
+ error?: boolean;
47
+ /**
48
+ * Error message to display
49
+ */
50
+ errorMessage?: string;
51
+ /**
52
+ * Whether this step is disabled
53
+ */
54
+ disabled?: boolean;
55
+ }
56
+ /**
57
+ * Stepper component props
58
+ *
59
+ * @example
60
+ * ```tsx
61
+ * <Stepper
62
+ * steps={[
63
+ * { id: '1', title: 'Account', description: 'Create your account' },
64
+ * { id: '2', title: 'Profile', description: 'Set up your profile' },
65
+ * { id: '3', title: 'Complete', description: 'Review and finish' },
66
+ * ]}
67
+ * currentStep={1}
68
+ * />
69
+ * ```
70
+ */
71
+ export interface StepperProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
72
+ /**
73
+ * Array of step items
74
+ */
75
+ steps: StepItem[];
76
+ /**
77
+ * Current active step index (0-based)
78
+ * @default 0
79
+ */
80
+ currentStep?: number;
81
+ /**
82
+ * Callback when a step is clicked (if clickable)
83
+ */
84
+ onStepClick?: (stepIndex: number, step: StepItem) => void;
85
+ /**
86
+ * Whether steps are clickable
87
+ * @default false
88
+ */
89
+ clickable?: boolean;
90
+ /**
91
+ * Stepper orientation
92
+ * @default 'horizontal'
93
+ */
94
+ orientation?: StepperOrientation;
95
+ /**
96
+ * Size variant
97
+ * @default 'md'
98
+ */
99
+ size?: StepperSize;
100
+ /**
101
+ * Whether to show step numbers
102
+ * @default true
103
+ */
104
+ showNumbers?: boolean;
105
+ /**
106
+ * Whether to show connector lines between steps
107
+ * @default true
108
+ */
109
+ showConnectors?: boolean;
110
+ /**
111
+ * Whether completed steps should be marked with a checkmark
112
+ * @default true
113
+ */
114
+ showCheckmarks?: boolean;
115
+ /**
116
+ * Alternative label position (only for horizontal orientation)
117
+ * @default 'bottom'
118
+ */
119
+ labelPosition?: 'bottom' | 'right';
120
+ }
121
+ /**
122
+ * Step component props (internal)
123
+ */
124
+ export interface StepProps {
125
+ step: StepItem;
126
+ index: number;
127
+ status: StepStatus;
128
+ size: StepperSize;
129
+ showNumber: boolean;
130
+ showCheckmark: boolean;
131
+ clickable: boolean;
132
+ onClick?: () => void;
133
+ labelPosition: 'bottom' | 'right';
134
+ }
135
+ //# sourceMappingURL=Stepper.types.d.ts.map
@@ -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AAW,CAAC,EAAE,kBAAkB,CAAC;IAEjC;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC;CACnC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Stepper Component Export
3
+ */
4
+ export { Stepper } from './Stepper';
5
+ export type { StepperProps, StepItem, StepStatus, StepperOrientation, StepperSize, } from './Stepper.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
@@ -15,7 +15,7 @@ export type SortDirection = 'asc' | 'desc' | null;
15
15
  /**
16
16
  * Column definition
17
17
  */
18
- export interface TableColumn<T = any> {
18
+ export interface TableColumn<T = Record<string, unknown>> {
19
19
  /**
20
20
  * Column unique key (used as accessor for data)
21
21
  */
@@ -76,7 +76,7 @@ export interface TableColumn<T = any> {
76
76
  * />
77
77
  * ```
78
78
  */
79
- export interface TableProps<T = any> {
79
+ export interface TableProps<T = Record<string, unknown>> {
80
80
  /**
81
81
  * Column definitions
82
82
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Table.types.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,GAAG;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;IAElB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IAE/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IAErD;;OAEG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;CACpD;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACjC;;OAEG;IACH,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;I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,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAErE;;OAEG;IACH,SAAS,CAAC,EAAE;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,aAAa,CAAC;KAC1B,CAAC;IAEF;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Toast Component
3
+ *
4
+ * A notification system for showing temporary messages.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * // Wrap your app with ToastProvider
9
+ * <ToastProvider>
10
+ * <App />
11
+ * </ToastProvider>
12
+ *
13
+ * // Use the useToast hook in any component
14
+ * const { toast, success, error } = useToast();
15
+ *
16
+ * toast({ message: 'Hello!' });
17
+ * success('Operation completed');
18
+ * error('Something went wrong');
19
+ * ```
20
+ */
21
+ import type { ToastProviderProps, ToastContextValue } from './Toast.types';
22
+ /**
23
+ * Hook to access toast functions
24
+ */
25
+ export declare const useToast: () => ToastContextValue;
26
+ /**
27
+ * Toast Provider Component
28
+ */
29
+ export declare const ToastProvider: {
30
+ ({ children, position, maxToasts, defaultDuration, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
31
+ displayName: string;
32
+ };
33
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAWH,OAAO,KAAK,EAGV,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,eAAe,CAAC;AAUvB;;GAEG;AACH,eAAO,MAAM,QAAQ,QAAO,iBAM3B,CAAC;AAgIF;;GAEG;AACH,eAAO,MAAM,aAAa;0DAKvB,kBAAkB;;CAyFpB,CAAC"}
@@ -0,0 +1,126 @@
1
+ /**
2
+ * Toast Component Types
3
+ *
4
+ * Type definitions for the Orion Toast notification system.
5
+ */
6
+ import type { ReactNode } from 'react';
7
+ /**
8
+ * Toast variants
9
+ */
10
+ export type ToastVariant = 'info' | 'success' | 'warning' | 'error';
11
+ /**
12
+ * Toast position on screen
13
+ */
14
+ export type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
15
+ /**
16
+ * Individual toast data
17
+ */
18
+ export interface Toast {
19
+ /**
20
+ * Unique identifier for the toast
21
+ */
22
+ id: string;
23
+ /**
24
+ * Toast title (optional)
25
+ */
26
+ title?: string;
27
+ /**
28
+ * Toast message content
29
+ */
30
+ message: ReactNode;
31
+ /**
32
+ * Visual variant of the toast
33
+ * @default 'info'
34
+ */
35
+ variant?: ToastVariant;
36
+ /**
37
+ * Duration in milliseconds before auto-dismiss (0 = no auto-dismiss)
38
+ * @default 5000
39
+ */
40
+ duration?: number;
41
+ /**
42
+ * Whether the toast can be dismissed by the user
43
+ * @default true
44
+ */
45
+ dismissible?: boolean;
46
+ /**
47
+ * Optional action button
48
+ */
49
+ action?: {
50
+ label: string;
51
+ onClick: () => void;
52
+ };
53
+ /**
54
+ * Callback when toast is dismissed
55
+ */
56
+ onDismiss?: () => void;
57
+ }
58
+ /**
59
+ * Toast creation options (without id)
60
+ */
61
+ export type ToastOptions = Omit<Toast, 'id'>;
62
+ /**
63
+ * Toast Provider props
64
+ */
65
+ export interface ToastProviderProps {
66
+ /**
67
+ * Children to wrap
68
+ */
69
+ children: ReactNode;
70
+ /**
71
+ * Default position for toasts
72
+ * @default 'bottom-right'
73
+ */
74
+ position?: ToastPosition;
75
+ /**
76
+ * Maximum number of toasts to show at once
77
+ * @default 5
78
+ */
79
+ maxToasts?: number;
80
+ /**
81
+ * Default duration for toasts
82
+ * @default 5000
83
+ */
84
+ defaultDuration?: number;
85
+ }
86
+ /**
87
+ * Toast context value
88
+ */
89
+ export interface ToastContextValue {
90
+ /**
91
+ * Add a new toast
92
+ */
93
+ toast: (options: ToastOptions) => string;
94
+ /**
95
+ * Add an info toast (shorthand)
96
+ */
97
+ info: (message: string, options?: Partial<ToastOptions>) => string;
98
+ /**
99
+ * Add a success toast (shorthand)
100
+ */
101
+ success: (message: string, options?: Partial<ToastOptions>) => string;
102
+ /**
103
+ * Add a warning toast (shorthand)
104
+ */
105
+ warning: (message: string, options?: Partial<ToastOptions>) => string;
106
+ /**
107
+ * Add an error toast (shorthand)
108
+ */
109
+ error: (message: string, options?: Partial<ToastOptions>) => string;
110
+ /**
111
+ * Dismiss a toast by id
112
+ */
113
+ dismiss: (id: string) => void;
114
+ /**
115
+ * Dismiss all toasts
116
+ */
117
+ dismissAll: () => void;
118
+ }
119
+ /**
120
+ * Single toast item props (internal)
121
+ */
122
+ export interface ToastItemProps {
123
+ toast: Toast;
124
+ onDismiss: (id: string) => void;
125
+ }
126
+ //# sourceMappingURL=Toast.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.types.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,eAAe,GACf,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IAEvB;;;OAG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MAAM,KAAK,IAAI,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Toast Component Export
3
+ */
4
+ export { ToastProvider, useToast } from './Toast';
5
+ export type { Toast, ToastOptions, ToastVariant, ToastPosition, ToastProviderProps, ToastContextValue, } from './Toast.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAClD,YAAY,EACV,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Components Index
3
+ *
4
+ * Internal export file for component imports within the package.
5
+ */
6
+ export { Icon } from './Icon';
7
+ export type { IconProps, IconSize, IconColor } from './Icon';
8
+ export { Button } from './Button';
9
+ export type { ButtonProps, ButtonVariant, ButtonSize } from './Button';
10
+ export { Field } from './Field';
11
+ export type { FieldProps } from './Field';
12
+ export { Select } from './Select';
13
+ export type { SelectProps, SelectOption } from './Select';
14
+ export { Switch } from './Switch';
15
+ export type { SwitchProps, SwitchSize } from './Switch';
16
+ export { Checkbox } from './Checkbox';
17
+ export type { CheckboxProps, CheckboxSize } from './Checkbox';
18
+ export { Radio } from './Radio';
19
+ export type { RadioProps, RadioSize } from './Radio';
20
+ export { Textarea } from './Textarea';
21
+ export type { TextareaProps, TextareaSize, TextareaResize } from './Textarea';
22
+ export { Card } from './Card';
23
+ export type { CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, CardVariant, } from './Card';
24
+ export { Badge } from './Badge';
25
+ export type { BadgeProps, BadgeVariant, BadgeSize } from './Badge';
26
+ export { Alert } from './Alert';
27
+ export type { AlertProps, AlertVariant } from './Alert';
28
+ export { Spinner } from './Spinner';
29
+ export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner';
30
+ export { ProgressBar } from './ProgressBar';
31
+ export type { ProgressBarProps, ProgressBarSize, ProgressBarVariant } from './ProgressBar';
32
+ export { Tooltip } from './Tooltip';
33
+ export type { TooltipProps, TooltipPlacement } from './Tooltip';
34
+ export { Avatar } from './Avatar';
35
+ export type { AvatarProps, AvatarSize } from './Avatar';
36
+ export { Table } from './Table';
37
+ export type { TableProps, TableColumn, TableSize, SortDirection } from './Table';
38
+ export { Tabs } from './Tabs';
39
+ export type { TabsProps, TabItem } from './Tabs';
40
+ export { Breadcrumb } from './Breadcrumb';
41
+ export type { BreadcrumbProps, BreadcrumbItem, BreadcrumbSize, BreadcrumbSeparator, } from './Breadcrumb';
42
+ export { Navbar } from './Navbar';
43
+ export type { NavbarProps, NavbarBrandProps, NavbarNavProps, NavbarLinkProps, NavbarActionsProps, NavbarHeight, NavbarVariant, } from './Navbar';
44
+ export { Modal } from './Modal';
45
+ export type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ModalSize, } from './Modal';
46
+ export { ThemeController } from './ThemeController';
47
+ export type { ThemeControllerProps } from './ThemeController';
48
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAG7D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,E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AM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGjF,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,aAAa,GACd,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,SAAS,GACV,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,6 +1,20 @@
1
1
  /**
2
2
  * Orion React Hooks
3
+ *
4
+ * A collection of utility hooks for building React applications.
3
5
  */
4
6
  export { useTheme } from './useTheme';
5
7
  export type { UseThemeOptions, UseThemeReturn } from './useTheme';
8
+ export { useMediaQuery, useIsMobile, useIsTablet, useIsDesktop, usePrefersDarkMode, usePrefersReducedMotion, } from './useMediaQuery';
9
+ export { useClickOutside, useClickOutsideMultiple } from './useClickOutside';
10
+ export { useDisclosure } from './useDisclosure';
11
+ export type { UseDisclosureOptions, UseDisclosureReturn } from './useDisclosure';
12
+ export { useDebounce, useDebouncedCallback } from './useDebounce';
13
+ export type { UseDebouncedCallbackOptions } from './useDebounce';
14
+ export { useLocalStorage, useSessionStorage } from './useLocalStorage';
15
+ export type { UseLocalStorageOptions } from './useLocalStorage';
16
+ export { useCopyToClipboard, useCopy } from './useCopyToClipboard';
17
+ export type { UseCopyToClipboardOptions, UseCopyToClipboardReturn, } from './useCopyToClipboard';
18
+ export { useKeyboard, useKeyboardShortcuts } from './useKeyboard';
19
+ export type { KeyModifiers, UseKeyboardOptions, KeyboardShortcuts, } from './useKeyboard';
6
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGlE,OAAO,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAG7E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGjF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAGjE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAGhE,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EACV,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAClE,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * useClickOutside Hook
3
+ *
4
+ * Detects clicks outside of a specified element.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * const ref = useRef<HTMLDivElement>(null);
9
+ * useClickOutside(ref, () => setIsOpen(false));
10
+ *
11
+ * return <div ref={ref}>Dropdown content</div>;
12
+ * ```
13
+ */
14
+ import { type RefObject } from 'react';
15
+ /**
16
+ * Hook to detect clicks outside of a referenced element
17
+ *
18
+ * @param ref - React ref to the element to monitor
19
+ * @param handler - Callback function when click outside is detected
20
+ * @param enabled - Whether the hook is active (default: true)
21
+ */
22
+ export declare function useClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T | null>, handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean): void;
23
+ /**
24
+ * Hook to detect clicks outside of multiple elements
25
+ *
26
+ * @param refs - Array of React refs to monitor
27
+ * @param handler - Callback function when click outside all refs is detected
28
+ * @param enabled - Whether the hook is active (default: true)
29
+ */
30
+ export declare function useClickOutsideMultiple<T extends HTMLElement = HTMLElement>(refs: RefObject<T | null>[], handler: (event: MouseEvent | TouchEvent) => void, enabled?: boolean): void;
31
+ //# sourceMappingURL=useClickOutside.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../src/hooks/useClickOutside.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACjE,GAAG,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,EACxB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,EACjD,OAAO,GAAE,OAAc,GACtB,IAAI,CA0BN;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EACzE,IAAI,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,EAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,EACjD,OAAO,GAAE,OAAc,GACtB,IAAI,CA2BN"}