@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,59 @@
1
+ /**
2
+ * Link Component Types
3
+ *
4
+ * Type definitions for the Orion Link component.
5
+ */
6
+ import type { AnchorHTMLAttributes, ReactNode } from 'react';
7
+ /**
8
+ * Link visual variants
9
+ */
10
+ export type LinkVariant = 'default' | 'subtle' | 'brand';
11
+ /**
12
+ * Link sizes
13
+ */
14
+ export type LinkSize = 'sm' | 'md' | 'lg';
15
+ /**
16
+ * Link component props
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * <Link href="/about">About us</Link>
21
+ * <Link href="/docs" variant="brand" external>Documentation</Link>
22
+ * ```
23
+ */
24
+ export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
25
+ /**
26
+ * Visual variant of the link
27
+ * @default 'default'
28
+ */
29
+ variant?: LinkVariant;
30
+ /**
31
+ * Size of the link
32
+ * @default 'md'
33
+ */
34
+ size?: LinkSize;
35
+ /**
36
+ * Whether the link opens in a new tab
37
+ * Automatically adds rel="noopener noreferrer" for security
38
+ * @default false
39
+ */
40
+ external?: boolean;
41
+ /**
42
+ * Whether to show an underline
43
+ * @default true
44
+ */
45
+ underline?: boolean;
46
+ /**
47
+ * Icon to display before the link text
48
+ */
49
+ icon?: ReactNode;
50
+ /**
51
+ * Icon to display after the link text (e.g., external link icon)
52
+ */
53
+ iconRight?: ReactNode;
54
+ /**
55
+ * Link content
56
+ */
57
+ children?: ReactNode;
58
+ }
59
+ //# sourceMappingURL=Link.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.types.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACxE;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Link Component Export
3
+ */
4
+ export { Link } from './Link';
5
+ export type { LinkProps, LinkVariant, LinkSize } from './Link.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * List Component
3
+ *
4
+ * A flexible list component for displaying items with various layouts.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <List
9
+ * items={[
10
+ * { id: '1', primary: 'Item 1', secondary: 'Description' },
11
+ * { id: '2', primary: 'Item 2', leading: <UserIcon /> },
12
+ * ]}
13
+ * interactive
14
+ * />
15
+ * ```
16
+ */
17
+ import type { ListProps } from './List.types';
18
+ export declare const List: import("react").ForwardRefExoticComponent<ListProps & import("react").RefAttributes<HTMLUListElement>>;
19
+ //# sourceMappingURL=List.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,SAAS,EAA2B,MAAM,cAAc,CAAC;AAgFvE,eAAO,MAAM,IAAI,wGAmEhB,CAAC"}
@@ -0,0 +1,117 @@
1
+ /**
2
+ * List Component Types
3
+ *
4
+ * Type definitions for the Orion List component.
5
+ */
6
+ import type { HTMLAttributes, ReactNode } from 'react';
7
+ /**
8
+ * List size variants
9
+ */
10
+ export type ListSize = 'sm' | 'md' | 'lg';
11
+ /**
12
+ * List variant
13
+ */
14
+ export type ListVariant = 'default' | 'bordered' | 'divided';
15
+ /**
16
+ * List item
17
+ */
18
+ export interface ListItem {
19
+ /**
20
+ * Unique identifier
21
+ */
22
+ id: string;
23
+ /**
24
+ * Primary content (text or element)
25
+ */
26
+ primary: ReactNode;
27
+ /**
28
+ * Secondary content (smaller text below primary)
29
+ */
30
+ secondary?: ReactNode;
31
+ /**
32
+ * Icon or avatar on the left
33
+ */
34
+ leading?: ReactNode;
35
+ /**
36
+ * Content on the right (icon, badge, etc.)
37
+ */
38
+ trailing?: ReactNode;
39
+ /**
40
+ * Whether this item is disabled
41
+ */
42
+ disabled?: boolean;
43
+ /**
44
+ * Whether this item is selected (for selectable lists)
45
+ */
46
+ selected?: boolean;
47
+ /**
48
+ * Click handler for the item
49
+ */
50
+ onClick?: () => void;
51
+ /**
52
+ * Additional class name for the item
53
+ */
54
+ className?: string;
55
+ }
56
+ /**
57
+ * List component props
58
+ *
59
+ * @example
60
+ * ```tsx
61
+ * <List
62
+ * items={[
63
+ * { id: '1', primary: 'Item 1', secondary: 'Description' },
64
+ * { id: '2', primary: 'Item 2', leading: <UserIcon /> },
65
+ * ]}
66
+ * />
67
+ * ```
68
+ */
69
+ export interface ListProps extends Omit<HTMLAttributes<HTMLUListElement>, 'onSelect'> {
70
+ /**
71
+ * List items
72
+ */
73
+ items: ListItem[];
74
+ /**
75
+ * Size variant
76
+ * @default 'md'
77
+ */
78
+ size?: ListSize;
79
+ /**
80
+ * Visual variant
81
+ * @default 'default'
82
+ */
83
+ variant?: ListVariant;
84
+ /**
85
+ * Whether the list items are interactive (hoverable/clickable)
86
+ * @default false
87
+ */
88
+ interactive?: boolean;
89
+ /**
90
+ * Whether items can be selected
91
+ * @default false
92
+ */
93
+ selectable?: boolean;
94
+ /**
95
+ * Callback when an item is selected
96
+ */
97
+ onSelect?: (item: ListItem) => void;
98
+ /**
99
+ * Render custom list item content
100
+ */
101
+ renderItem?: (item: ListItem, index: number) => ReactNode;
102
+ /**
103
+ * Custom empty state when no items
104
+ */
105
+ emptyContent?: ReactNode;
106
+ }
107
+ /**
108
+ * List Item component props (internal)
109
+ */
110
+ export interface ListItemProps {
111
+ item: ListItem;
112
+ size: ListSize;
113
+ interactive: boolean;
114
+ selectable: boolean;
115
+ onClick?: () => void;
116
+ }
117
+ //# sourceMappingURL=List.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.types.d.ts","sourceRoot":"","sources":["../../../src/components/List/List.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC;IACnF;;OAEG;IACH,KAAK,EAAE,QAAQ,EAAE,CAAC;IAElB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAE1D;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * List Component Export
3
+ */
4
+ export { List } from './List';
5
+ export type { ListProps, ListItem, ListSize, ListVariant } from './List.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pagination Component
3
+ *
4
+ * Navigation control for paginated content.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Pagination
9
+ * currentPage={currentPage}
10
+ * totalPages={totalPages}
11
+ * onPageChange={setCurrentPage}
12
+ * />
13
+ * ```
14
+ */
15
+ import type { PaginationProps } from './Pagination.types';
16
+ export declare const Pagination: import("react").ForwardRefExoticComponent<PaginationProps & import("react").RefAttributes<HTMLElement>>;
17
+ //# sourceMappingURL=Pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA0D1D,eAAO,MAAM,UAAU,yGAkJtB,CAAC"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Pagination Component Types
3
+ *
4
+ * Type definitions for the Orion Pagination component.
5
+ */
6
+ import type { HTMLAttributes } from 'react';
7
+ /**
8
+ * Pagination sizes
9
+ */
10
+ export type PaginationSize = 'sm' | 'md' | 'lg';
11
+ /**
12
+ * Pagination component props
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <Pagination
17
+ * currentPage={1}
18
+ * totalPages={10}
19
+ * onPageChange={(page) => setPage(page)}
20
+ * />
21
+ * ```
22
+ */
23
+ export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'onChange'> {
24
+ /**
25
+ * Current active page (1-indexed)
26
+ */
27
+ currentPage: number;
28
+ /**
29
+ * Total number of pages
30
+ */
31
+ totalPages: number;
32
+ /**
33
+ * Callback when page changes
34
+ */
35
+ onPageChange: (page: number) => void;
36
+ /**
37
+ * Number of sibling pages to show on each side of current page
38
+ * @default 1
39
+ */
40
+ siblingCount?: number;
41
+ /**
42
+ * Whether to show first/last page buttons
43
+ * @default true
44
+ */
45
+ showFirstLast?: boolean;
46
+ /**
47
+ * Whether to show previous/next buttons
48
+ * @default true
49
+ */
50
+ showPrevNext?: boolean;
51
+ /**
52
+ * Size variant
53
+ * @default 'md'
54
+ */
55
+ size?: PaginationSize;
56
+ /**
57
+ * Whether the pagination is disabled
58
+ * @default false
59
+ */
60
+ disabled?: boolean;
61
+ }
62
+ //# sourceMappingURL=Pagination.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IACpF;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAErC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Pagination Component Export
3
+ */
4
+ export { Pagination } from './Pagination';
5
+ export type { PaginationProps, PaginationSize } from './Pagination.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Popover Component
3
+ *
4
+ * A floating panel anchored to a trigger element.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Popover
9
+ * trigger={<Button>Click me</Button>}
10
+ * content={<div>Popover content here</div>}
11
+ * placement="bottom-start"
12
+ * />
13
+ * ```
14
+ */
15
+ import type { PopoverProps } from './Popover.types';
16
+ export declare const Popover: import("react").ForwardRefExoticComponent<PopoverProps & import("react").RefAttributes<HTMLDivElement>>;
17
+ //# sourceMappingURL=Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAaH,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AAsFtE,eAAO,MAAM,OAAO,yGA8NnB,CAAC"}
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Popover Component Types
3
+ *
4
+ * Type definitions for the Orion Popover component.
5
+ */
6
+ import type { HTMLAttributes, ReactNode, RefObject } from 'react';
7
+ /**
8
+ * Popover placement options
9
+ */
10
+ export type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
11
+ /**
12
+ * Popover trigger types
13
+ */
14
+ export type PopoverTrigger = 'click' | 'hover' | 'focus' | 'manual';
15
+ /**
16
+ * Popover component props
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * <Popover
21
+ * trigger={<Button>Open</Button>}
22
+ * content={<div>Popover content</div>}
23
+ * />
24
+ * ```
25
+ */
26
+ export interface PopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'content'> {
27
+ /**
28
+ * The trigger element that opens the popover
29
+ */
30
+ trigger: ReactNode;
31
+ /**
32
+ * The content to display in the popover
33
+ */
34
+ content: ReactNode;
35
+ /**
36
+ * Placement of the popover relative to the trigger
37
+ * @default 'bottom'
38
+ */
39
+ placement?: PopoverPlacement;
40
+ /**
41
+ * How to trigger the popover
42
+ * @default 'click'
43
+ */
44
+ triggerType?: PopoverTrigger;
45
+ /**
46
+ * Whether the popover is open (controlled mode)
47
+ */
48
+ open?: boolean;
49
+ /**
50
+ * Default open state (uncontrolled mode)
51
+ * @default false
52
+ */
53
+ defaultOpen?: boolean;
54
+ /**
55
+ * Callback when open state changes
56
+ */
57
+ onOpenChange?: (open: boolean) => void;
58
+ /**
59
+ * Whether to show an arrow pointing to the trigger
60
+ * @default true
61
+ */
62
+ showArrow?: boolean;
63
+ /**
64
+ * Offset from the trigger in pixels
65
+ * @default 8
66
+ */
67
+ offset?: number;
68
+ /**
69
+ * Whether to close when clicking outside
70
+ * @default true
71
+ */
72
+ closeOnClickOutside?: boolean;
73
+ /**
74
+ * Whether to close when pressing Escape
75
+ * @default true
76
+ */
77
+ closeOnEscape?: boolean;
78
+ /**
79
+ * Delay before showing (for hover trigger)
80
+ * @default 0
81
+ */
82
+ openDelay?: number;
83
+ /**
84
+ * Delay before hiding (for hover trigger)
85
+ * @default 150
86
+ */
87
+ closeDelay?: number;
88
+ }
89
+ /**
90
+ * Internal hook return type
91
+ */
92
+ export interface UsePopoverReturn {
93
+ isOpen: boolean;
94
+ setIsOpen: (open: boolean) => void;
95
+ triggerRef: RefObject<HTMLDivElement | null>;
96
+ popoverRef: RefObject<HTMLDivElement | null>;
97
+ triggerProps: Record<string, unknown>;
98
+ popoverProps: Record<string, unknown>;
99
+ }
100
+ //# sourceMappingURL=Popover.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC;IACnF;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Popover Component Export
3
+ */
4
+ export { Popover } from './Popover';
5
+ export type { PopoverProps, PopoverPlacement, PopoverTrigger, } from './Popover.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,cAAc,GACf,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * SearchInput Component
3
+ *
4
+ * An input field optimized for search with icon and clear button.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <SearchInput
9
+ * placeholder="Search..."
10
+ * value={query}
11
+ * onChange={(e) => setQuery(e.target.value)}
12
+ * onClear={() => setQuery('')}
13
+ * />
14
+ * ```
15
+ */
16
+ import type { SearchInputProps } from './SearchInput.types';
17
+ export declare const SearchInput: import("react").ForwardRefExoticComponent<SearchInputProps & import("react").RefAttributes<HTMLInputElement>>;
18
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,eAAO,MAAM,WAAW,+GAgHvB,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * SearchInput Component Types
3
+ *
4
+ * Type definitions for the Orion SearchInput component.
5
+ */
6
+ import type { InputHTMLAttributes, ReactNode } from 'react';
7
+ /**
8
+ * SearchInput size variants
9
+ */
10
+ export type SearchInputSize = 'sm' | 'md' | 'lg';
11
+ /**
12
+ * SearchInput component props
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * <SearchInput
17
+ * placeholder="Search..."
18
+ * value={query}
19
+ * onChange={(e) => setQuery(e.target.value)}
20
+ * onClear={() => setQuery('')}
21
+ * />
22
+ * ```
23
+ */
24
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
25
+ /**
26
+ * Size variant
27
+ * @default 'md'
28
+ */
29
+ size?: SearchInputSize;
30
+ /**
31
+ * Callback when the clear button is clicked
32
+ */
33
+ onClear?: () => void;
34
+ /**
35
+ * Callback when search is triggered (Enter key or search button)
36
+ */
37
+ onSearch?: (value: string) => void;
38
+ /**
39
+ * Whether to show the clear button when there's a value
40
+ * @default true
41
+ */
42
+ showClear?: boolean;
43
+ /**
44
+ * Whether to show a search button
45
+ * @default false
46
+ */
47
+ showSearchButton?: boolean;
48
+ /**
49
+ * Custom search icon
50
+ */
51
+ searchIcon?: ReactNode;
52
+ /**
53
+ * Label for the clear button (accessibility)
54
+ * @default 'Clear search'
55
+ */
56
+ clearLabel?: string;
57
+ /**
58
+ * Label for the search button (accessibility)
59
+ * @default 'Search'
60
+ */
61
+ searchLabel?: string;
62
+ /**
63
+ * Whether the input is in a loading state
64
+ * @default false
65
+ */
66
+ loading?: boolean;
67
+ /**
68
+ * Make the input take full width
69
+ * @default false
70
+ */
71
+ fullWidth?: boolean;
72
+ }
73
+ //# sourceMappingURL=SearchInput.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpG;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * SearchInput Component Export
3
+ */
4
+ export { SearchInput } from './SearchInput';
5
+ export type { SearchInputProps, SearchInputSize } from './SearchInput.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Skeleton Component
3
+ *
4
+ * A loading placeholder that mimics content structure.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Skeleton width={200} height={20} />
9
+ * <Skeleton variant="circular" width={40} height={40} />
10
+ * <Skeleton variant="text" lines={3} />
11
+ * ```
12
+ */
13
+ import type { SkeletonProps } from './Skeleton.types';
14
+ export declare const Skeleton: import("react").ForwardRefExoticComponent<SkeletonProps & import("react").RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,QAAQ,0GA6DpB,CAAC"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Skeleton Component Types
3
+ *
4
+ * Type definitions for the Orion Skeleton component.
5
+ */
6
+ import type { HTMLAttributes } from 'react';
7
+ /**
8
+ * Skeleton shape variants
9
+ */
10
+ export type SkeletonVariant = 'text' | 'circular' | 'rectangular' | 'rounded';
11
+ /**
12
+ * Skeleton animation types
13
+ */
14
+ export type SkeletonAnimation = 'pulse' | 'wave' | 'none';
15
+ /**
16
+ * Skeleton component props
17
+ *
18
+ * @example
19
+ * ```tsx
20
+ * <Skeleton width={200} height={20} />
21
+ * <Skeleton variant="circular" width={40} height={40} />
22
+ * <Skeleton variant="rectangular" width="100%" height={200} />
23
+ * ```
24
+ */
25
+ export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
26
+ /**
27
+ * Shape variant of the skeleton
28
+ * @default 'text'
29
+ */
30
+ variant?: SkeletonVariant;
31
+ /**
32
+ * Animation type
33
+ * @default 'pulse'
34
+ */
35
+ animation?: SkeletonAnimation;
36
+ /**
37
+ * Width of the skeleton
38
+ * Can be a number (pixels) or string (e.g., '100%', '10rem')
39
+ */
40
+ width?: number | string;
41
+ /**
42
+ * Height of the skeleton
43
+ * Can be a number (pixels) or string (e.g., '100%', '2rem')
44
+ */
45
+ height?: number | string;
46
+ /**
47
+ * Number of skeleton lines to render (for text variant)
48
+ * @default 1
49
+ */
50
+ lines?: number;
51
+ /**
52
+ * Border radius override
53
+ */
54
+ borderRadius?: number | string;
55
+ }
56
+ //# sourceMappingURL=Skeleton.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Skeleton.types.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B;;;OAGG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAE9B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC"}