@orion-ds/react 4.2.14 → 4.3.1

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 (874) hide show
  1. package/dist/ComponentShowcase.cjs +1 -0
  2. package/dist/ComponentShowcase.mjs +600 -0
  3. package/dist/blocks/index.cjs +1 -0
  4. package/dist/blocks/index.d.ts +9 -0
  5. package/dist/blocks/index.d.ts.map +1 -0
  6. package/dist/blocks/index.mjs +56 -0
  7. package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
  8. package/dist/blocks/sections/ActivityFeed/ActivityFeed.d.ts +5 -0
  9. package/dist/blocks/sections/ActivityFeed/ActivityFeed.d.ts.map +1 -0
  10. package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +97 -0
  11. package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css +1 -0
  12. package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs +1 -0
  13. package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs +47 -0
  14. package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts +34 -0
  15. package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts.map +1 -0
  16. package/dist/blocks/sections/ActivityFeed/index.d.ts +3 -0
  17. package/dist/blocks/sections/ActivityFeed/index.d.ts.map +1 -0
  18. package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
  19. package/dist/blocks/sections/AppDownload/AppDownload.d.ts +8 -0
  20. package/dist/blocks/sections/AppDownload/AppDownload.d.ts.map +1 -0
  21. package/dist/blocks/sections/AppDownload/AppDownload.mjs +159 -0
  22. package/dist/blocks/sections/AppDownload/AppDownload.module.css +1 -0
  23. package/dist/blocks/sections/AppDownload/AppDownload.module.css.cjs +1 -0
  24. package/dist/blocks/sections/AppDownload/AppDownload.module.css.mjs +55 -0
  25. package/dist/blocks/sections/AppDownload/AppDownload.types.d.ts +114 -0
  26. package/dist/blocks/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
  27. package/dist/blocks/sections/AppDownload/index.d.ts +3 -0
  28. package/dist/blocks/sections/AppDownload/index.d.ts.map +1 -0
  29. package/dist/blocks/sections/Blog/Blog.cjs +1 -0
  30. package/dist/blocks/sections/Blog/Blog.d.ts +8 -0
  31. package/dist/blocks/sections/Blog/Blog.d.ts.map +1 -0
  32. package/dist/blocks/sections/Blog/Blog.mjs +141 -0
  33. package/dist/blocks/sections/Blog/Blog.module.css +1 -0
  34. package/dist/blocks/sections/Blog/Blog.module.css.cjs +1 -0
  35. package/dist/blocks/sections/Blog/Blog.module.css.mjs +55 -0
  36. package/dist/blocks/sections/Blog/Blog.types.d.ts +139 -0
  37. package/dist/blocks/sections/Blog/Blog.types.d.ts.map +1 -0
  38. package/dist/blocks/sections/Blog/index.d.ts +3 -0
  39. package/dist/blocks/sections/Blog/index.d.ts.map +1 -0
  40. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
  41. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  42. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  43. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +80 -0
  44. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css +1 -0
  45. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs +1 -0
  46. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs +29 -0
  47. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.types.d.ts +78 -0
  48. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
  49. package/dist/blocks/sections/Breadcrumbs/index.d.ts +3 -0
  50. package/dist/blocks/sections/Breadcrumbs/index.d.ts.map +1 -0
  51. package/dist/blocks/sections/CTA/CTA.cjs +1 -0
  52. package/dist/blocks/sections/CTA/CTA.d.ts +4 -0
  53. package/dist/blocks/sections/CTA/CTA.d.ts.map +1 -0
  54. package/dist/blocks/sections/CTA/CTA.mjs +45 -0
  55. package/dist/blocks/sections/CTA/CTA.module.css +1 -0
  56. package/dist/blocks/sections/CTA/CTA.module.css.cjs +1 -0
  57. package/dist/blocks/sections/CTA/CTA.module.css.mjs +30 -0
  58. package/dist/blocks/sections/CTA/CTA.types.d.ts +74 -0
  59. package/dist/blocks/sections/CTA/CTA.types.d.ts.map +1 -0
  60. package/dist/blocks/sections/CTA/index.d.ts +6 -0
  61. package/dist/blocks/sections/CTA/index.d.ts.map +1 -0
  62. package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
  63. package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts +4 -0
  64. package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts.map +1 -0
  65. package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +165 -0
  66. package/dist/blocks/sections/CarouselSection/CarouselSection.module.css +1 -0
  67. package/dist/blocks/sections/CarouselSection/CarouselSection.module.css.cjs +1 -0
  68. package/dist/blocks/sections/CarouselSection/CarouselSection.module.css.mjs +27 -0
  69. package/dist/blocks/sections/CarouselSection/CarouselSection.types.d.ts +114 -0
  70. package/dist/blocks/sections/CarouselSection/CarouselSection.types.d.ts.map +1 -0
  71. package/dist/blocks/sections/CarouselSection/index.d.ts +11 -0
  72. package/dist/blocks/sections/CarouselSection/index.d.ts.map +1 -0
  73. package/dist/blocks/sections/Chat/Chat.cjs +1 -0
  74. package/dist/blocks/sections/Chat/Chat.d.ts +4 -0
  75. package/dist/blocks/sections/Chat/Chat.d.ts.map +1 -0
  76. package/dist/blocks/sections/Chat/Chat.mjs +129 -0
  77. package/dist/blocks/sections/Chat/Chat.module.css +1 -0
  78. package/dist/blocks/sections/Chat/Chat.module.css.cjs +1 -0
  79. package/dist/blocks/sections/Chat/Chat.module.css.mjs +21 -0
  80. package/dist/blocks/sections/Chat/Chat.types 2.d.ts +8 -0
  81. package/dist/blocks/sections/Chat/Chat.types 2.d.ts.map +1 -0
  82. package/dist/blocks/sections/Chat/Chat.types.d.ts +8 -0
  83. package/dist/blocks/sections/Chat/Chat.types.d.ts.map +1 -0
  84. package/dist/blocks/sections/Chat/index.d.ts +19 -0
  85. package/dist/blocks/sections/Chat/index.d.ts.map +1 -0
  86. package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
  87. package/dist/blocks/sections/Comparison/Comparison.d.ts +8 -0
  88. package/dist/blocks/sections/Comparison/Comparison.d.ts.map +1 -0
  89. package/dist/blocks/sections/Comparison/Comparison.mjs +110 -0
  90. package/dist/blocks/sections/Comparison/Comparison.module.css +1 -0
  91. package/dist/blocks/sections/Comparison/Comparison.module.css.cjs +1 -0
  92. package/dist/blocks/sections/Comparison/Comparison.module.css.mjs +51 -0
  93. package/dist/blocks/sections/Comparison/Comparison.types.d.ts +120 -0
  94. package/dist/blocks/sections/Comparison/Comparison.types.d.ts.map +1 -0
  95. package/dist/blocks/sections/Comparison/index.d.ts +3 -0
  96. package/dist/blocks/sections/Comparison/index.d.ts.map +1 -0
  97. package/dist/blocks/sections/Contact/Contact.cjs +1 -0
  98. package/dist/blocks/sections/Contact/Contact.d.ts +4 -0
  99. package/dist/blocks/sections/Contact/Contact.d.ts.map +1 -0
  100. package/dist/blocks/sections/Contact/Contact.mjs +120 -0
  101. package/dist/blocks/sections/Contact/Contact.module.css +1 -0
  102. package/dist/blocks/sections/Contact/Contact.module.css.cjs +1 -0
  103. package/dist/blocks/sections/Contact/Contact.module.css.mjs +42 -0
  104. package/dist/blocks/sections/Contact/Contact.types.d.ts +133 -0
  105. package/dist/blocks/sections/Contact/Contact.types.d.ts.map +1 -0
  106. package/dist/blocks/sections/Contact/index.d.ts +6 -0
  107. package/dist/blocks/sections/Contact/index.d.ts.map +1 -0
  108. package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
  109. package/dist/blocks/sections/EmptyState/EmptyState.d.ts +4 -0
  110. package/dist/blocks/sections/EmptyState/EmptyState.d.ts.map +1 -0
  111. package/dist/blocks/sections/EmptyState/EmptyState.mjs +40 -0
  112. package/dist/blocks/sections/EmptyState/EmptyState.module.css +1 -0
  113. package/dist/blocks/sections/EmptyState/EmptyState.module.css.cjs +1 -0
  114. package/dist/blocks/sections/EmptyState/EmptyState.module.css.mjs +25 -0
  115. package/dist/blocks/sections/EmptyState/EmptyState.types.d.ts +65 -0
  116. package/dist/blocks/sections/EmptyState/EmptyState.types.d.ts.map +1 -0
  117. package/dist/blocks/sections/EmptyState/index.d.ts +3 -0
  118. package/dist/blocks/sections/EmptyState/index.d.ts.map +1 -0
  119. package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
  120. package/dist/blocks/sections/FAQ/FAQ.d.ts +4 -0
  121. package/dist/blocks/sections/FAQ/FAQ.d.ts.map +1 -0
  122. package/dist/blocks/sections/FAQ/FAQ.mjs +73 -0
  123. package/dist/blocks/sections/FAQ/FAQ.module.css +1 -0
  124. package/dist/blocks/sections/FAQ/FAQ.module.css.cjs +1 -0
  125. package/dist/blocks/sections/FAQ/FAQ.module.css.mjs +36 -0
  126. package/dist/blocks/sections/FAQ/FAQ.types.d.ts +117 -0
  127. package/dist/blocks/sections/FAQ/FAQ.types.d.ts.map +1 -0
  128. package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
  129. package/dist/blocks/sections/FAQ/FAQItemCard.d.ts +7 -0
  130. package/dist/blocks/sections/FAQ/FAQItemCard.d.ts.map +1 -0
  131. package/dist/blocks/sections/FAQ/FAQItemCard.mjs +43 -0
  132. package/dist/blocks/sections/FAQ/index.d.ts +7 -0
  133. package/dist/blocks/sections/FAQ/index.d.ts.map +1 -0
  134. package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
  135. package/dist/blocks/sections/Features/FeatureCard.d.ts +7 -0
  136. package/dist/blocks/sections/Features/FeatureCard.d.ts.map +1 -0
  137. package/dist/blocks/sections/Features/FeatureCard.mjs +27 -0
  138. package/dist/blocks/sections/Features/Features.cjs +1 -0
  139. package/dist/blocks/sections/Features/Features.d.ts +4 -0
  140. package/dist/blocks/sections/Features/Features.d.ts.map +1 -0
  141. package/dist/blocks/sections/Features/Features.mjs +51 -0
  142. package/dist/blocks/sections/Features/Features.module.css +1 -0
  143. package/dist/blocks/sections/Features/Features.module.css.cjs +1 -0
  144. package/dist/blocks/sections/Features/Features.module.css.mjs +36 -0
  145. package/dist/blocks/sections/Features/Features.types.d.ts +100 -0
  146. package/dist/blocks/sections/Features/Features.types.d.ts.map +1 -0
  147. package/dist/blocks/sections/Features/index.d.ts +7 -0
  148. package/dist/blocks/sections/Features/index.d.ts.map +1 -0
  149. package/dist/blocks/sections/Footer/Footer.cjs +1 -0
  150. package/dist/blocks/sections/Footer/Footer.d.ts +4 -0
  151. package/dist/blocks/sections/Footer/Footer.d.ts.map +1 -0
  152. package/dist/blocks/sections/Footer/Footer.mjs +102 -0
  153. package/dist/blocks/sections/Footer/Footer.module.css +1 -0
  154. package/dist/blocks/sections/Footer/Footer.module.css.cjs +1 -0
  155. package/dist/blocks/sections/Footer/Footer.module.css.mjs +50 -0
  156. package/dist/blocks/sections/Footer/Footer.types.d.ts +129 -0
  157. package/dist/blocks/sections/Footer/Footer.types.d.ts.map +1 -0
  158. package/dist/blocks/sections/Footer/index.d.ts +6 -0
  159. package/dist/blocks/sections/Footer/index.d.ts.map +1 -0
  160. package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
  161. package/dist/blocks/sections/Gallery/Gallery.d.ts +8 -0
  162. package/dist/blocks/sections/Gallery/Gallery.d.ts.map +1 -0
  163. package/dist/blocks/sections/Gallery/Gallery.mjs +191 -0
  164. package/dist/blocks/sections/Gallery/Gallery.module.css +1 -0
  165. package/dist/blocks/sections/Gallery/Gallery.module.css.cjs +1 -0
  166. package/dist/blocks/sections/Gallery/Gallery.module.css.mjs +51 -0
  167. package/dist/blocks/sections/Gallery/Gallery.types.d.ts +114 -0
  168. package/dist/blocks/sections/Gallery/Gallery.types.d.ts.map +1 -0
  169. package/dist/blocks/sections/Gallery/index.d.ts +3 -0
  170. package/dist/blocks/sections/Gallery/index.d.ts.map +1 -0
  171. package/dist/blocks/sections/Hero/Hero.cjs +1 -0
  172. package/dist/blocks/sections/Hero/Hero.d.ts +10 -0
  173. package/dist/blocks/sections/Hero/Hero.d.ts.map +1 -0
  174. package/dist/blocks/sections/Hero/Hero.mjs +128 -0
  175. package/dist/blocks/sections/Hero/Hero.module.css +1 -0
  176. package/dist/blocks/sections/Hero/Hero.module.css.cjs +1 -0
  177. package/dist/blocks/sections/Hero/Hero.module.css.mjs +51 -0
  178. package/dist/blocks/sections/Hero/Hero.types.d.ts +167 -0
  179. package/dist/blocks/sections/Hero/Hero.types.d.ts.map +1 -0
  180. package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
  181. package/dist/blocks/sections/Hero/HeroHighlight.d.ts +7 -0
  182. package/dist/blocks/sections/Hero/HeroHighlight.d.ts.map +1 -0
  183. package/dist/blocks/sections/Hero/HeroHighlight.mjs +7 -0
  184. package/dist/blocks/sections/Hero/index.d.ts +7 -0
  185. package/dist/blocks/sections/Hero/index.d.ts.map +1 -0
  186. package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
  187. package/dist/blocks/sections/LogoCloud/LogoCloud.d.ts +4 -0
  188. package/dist/blocks/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
  189. package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +87 -0
  190. package/dist/blocks/sections/LogoCloud/LogoCloud.module.css +1 -0
  191. package/dist/blocks/sections/LogoCloud/LogoCloud.module.css.cjs +1 -0
  192. package/dist/blocks/sections/LogoCloud/LogoCloud.module.css.mjs +41 -0
  193. package/dist/blocks/sections/LogoCloud/LogoCloud.types.d.ts +101 -0
  194. package/dist/blocks/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
  195. package/dist/blocks/sections/LogoCloud/index.d.ts +6 -0
  196. package/dist/blocks/sections/LogoCloud/index.d.ts.map +1 -0
  197. package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
  198. package/dist/blocks/sections/Newsletter/Newsletter.d.ts +4 -0
  199. package/dist/blocks/sections/Newsletter/Newsletter.d.ts.map +1 -0
  200. package/dist/blocks/sections/Newsletter/Newsletter.mjs +97 -0
  201. package/dist/blocks/sections/Newsletter/Newsletter.module.css +1 -0
  202. package/dist/blocks/sections/Newsletter/Newsletter.module.css.cjs +1 -0
  203. package/dist/blocks/sections/Newsletter/Newsletter.module.css.mjs +42 -0
  204. package/dist/blocks/sections/Newsletter/Newsletter.types.d.ts +97 -0
  205. package/dist/blocks/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
  206. package/dist/blocks/sections/Newsletter/index.d.ts +6 -0
  207. package/dist/blocks/sections/Newsletter/index.d.ts.map +1 -0
  208. package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
  209. package/dist/blocks/sections/Pricing/Pricing.d.ts +4 -0
  210. package/dist/blocks/sections/Pricing/Pricing.d.ts.map +1 -0
  211. package/dist/blocks/sections/Pricing/Pricing.mjs +43 -0
  212. package/dist/blocks/sections/Pricing/Pricing.module.css +1 -0
  213. package/dist/blocks/sections/Pricing/Pricing.module.css.cjs +1 -0
  214. package/dist/blocks/sections/Pricing/Pricing.module.css.mjs +54 -0
  215. package/dist/blocks/sections/Pricing/Pricing.types.d.ts +129 -0
  216. package/dist/blocks/sections/Pricing/Pricing.types.d.ts.map +1 -0
  217. package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
  218. package/dist/blocks/sections/Pricing/PricingCard.d.ts +7 -0
  219. package/dist/blocks/sections/Pricing/PricingCard.d.ts.map +1 -0
  220. package/dist/blocks/sections/Pricing/PricingCard.mjs +40 -0
  221. package/dist/blocks/sections/Pricing/index.d.ts +7 -0
  222. package/dist/blocks/sections/Pricing/index.d.ts.map +1 -0
  223. package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
  224. package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts +4 -0
  225. package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -0
  226. package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +90 -0
  227. package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css +1 -0
  228. package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs +1 -0
  229. package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs +55 -0
  230. package/dist/blocks/sections/SettingsLayout/SettingsLayout.types.d.ts +112 -0
  231. package/dist/blocks/sections/SettingsLayout/SettingsLayout.types.d.ts.map +1 -0
  232. package/dist/blocks/sections/SettingsLayout/index.d.ts +3 -0
  233. package/dist/blocks/sections/SettingsLayout/index.d.ts.map +1 -0
  234. package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
  235. package/dist/blocks/sections/SocialProof/SocialProof.d.ts +8 -0
  236. package/dist/blocks/sections/SocialProof/SocialProof.d.ts.map +1 -0
  237. package/dist/blocks/sections/SocialProof/SocialProof.mjs +107 -0
  238. package/dist/blocks/sections/SocialProof/SocialProof.module.css +1 -0
  239. package/dist/blocks/sections/SocialProof/SocialProof.module.css.cjs +1 -0
  240. package/dist/blocks/sections/SocialProof/SocialProof.module.css.mjs +63 -0
  241. package/dist/blocks/sections/SocialProof/SocialProof.types.d.ts +138 -0
  242. package/dist/blocks/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
  243. package/dist/blocks/sections/SocialProof/index.d.ts +3 -0
  244. package/dist/blocks/sections/SocialProof/index.d.ts.map +1 -0
  245. package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
  246. package/dist/blocks/sections/Stats/StatItemCard.d.ts +7 -0
  247. package/dist/blocks/sections/Stats/StatItemCard.d.ts.map +1 -0
  248. package/dist/blocks/sections/Stats/StatItemCard.mjs +40 -0
  249. package/dist/blocks/sections/Stats/Stats.cjs +1 -0
  250. package/dist/blocks/sections/Stats/Stats.d.ts +4 -0
  251. package/dist/blocks/sections/Stats/Stats.d.ts.map +1 -0
  252. package/dist/blocks/sections/Stats/Stats.mjs +59 -0
  253. package/dist/blocks/sections/Stats/Stats.module.css +1 -0
  254. package/dist/blocks/sections/Stats/Stats.module.css.cjs +1 -0
  255. package/dist/blocks/sections/Stats/Stats.module.css.mjs +47 -0
  256. package/dist/blocks/sections/Stats/Stats.types.d.ts +131 -0
  257. package/dist/blocks/sections/Stats/Stats.types.d.ts.map +1 -0
  258. package/dist/blocks/sections/Stats/index.d.ts +7 -0
  259. package/dist/blocks/sections/Stats/index.d.ts.map +1 -0
  260. package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
  261. package/dist/blocks/sections/Stepper/Stepper.d.ts +4 -0
  262. package/dist/blocks/sections/Stepper/Stepper.d.ts.map +1 -0
  263. package/dist/blocks/sections/Stepper/Stepper.mjs +91 -0
  264. package/dist/blocks/sections/Stepper/Stepper.module.css +1 -0
  265. package/dist/blocks/sections/Stepper/Stepper.module.css.cjs +1 -0
  266. package/dist/blocks/sections/Stepper/Stepper.module.css.mjs +53 -0
  267. package/dist/blocks/sections/Stepper/Stepper.types.d.ts +101 -0
  268. package/dist/blocks/sections/Stepper/Stepper.types.d.ts.map +1 -0
  269. package/dist/blocks/sections/Stepper/index.d.ts +3 -0
  270. package/dist/blocks/sections/Stepper/index.d.ts.map +1 -0
  271. package/dist/blocks/sections/Team/Team.cjs +1 -0
  272. package/dist/blocks/sections/Team/Team.d.ts +4 -0
  273. package/dist/blocks/sections/Team/Team.d.ts.map +1 -0
  274. package/dist/blocks/sections/Team/Team.mjs +51 -0
  275. package/dist/blocks/sections/Team/Team.module.css +1 -0
  276. package/dist/blocks/sections/Team/Team.module.css.cjs +1 -0
  277. package/dist/blocks/sections/Team/Team.module.css.mjs +45 -0
  278. package/dist/blocks/sections/Team/Team.types.d.ts +139 -0
  279. package/dist/blocks/sections/Team/Team.types.d.ts.map +1 -0
  280. package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
  281. package/dist/blocks/sections/Team/TeamMemberCard.d.ts +7 -0
  282. package/dist/blocks/sections/Team/TeamMemberCard.d.ts.map +1 -0
  283. package/dist/blocks/sections/Team/TeamMemberCard.mjs +47 -0
  284. package/dist/blocks/sections/Team/index.d.ts +7 -0
  285. package/dist/blocks/sections/Team/index.d.ts.map +1 -0
  286. package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
  287. package/dist/blocks/sections/Testimonials/TestimonialCard.d.ts +7 -0
  288. package/dist/blocks/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
  289. package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +53 -0
  290. package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
  291. package/dist/blocks/sections/Testimonials/Testimonials.d.ts +4 -0
  292. package/dist/blocks/sections/Testimonials/Testimonials.d.ts.map +1 -0
  293. package/dist/blocks/sections/Testimonials/Testimonials.mjs +55 -0
  294. package/dist/blocks/sections/Testimonials/Testimonials.module.css +1 -0
  295. package/dist/blocks/sections/Testimonials/Testimonials.module.css.cjs +1 -0
  296. package/dist/blocks/sections/Testimonials/Testimonials.module.css.mjs +45 -0
  297. package/dist/blocks/sections/Testimonials/Testimonials.types.d.ts +126 -0
  298. package/dist/blocks/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
  299. package/dist/blocks/sections/Testimonials/index.d.ts +7 -0
  300. package/dist/blocks/sections/Testimonials/index.d.ts.map +1 -0
  301. package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
  302. package/dist/blocks/sections/Timeline/Timeline.d.ts +8 -0
  303. package/dist/blocks/sections/Timeline/Timeline.d.ts.map +1 -0
  304. package/dist/blocks/sections/Timeline/Timeline.mjs +84 -0
  305. package/dist/blocks/sections/Timeline/Timeline.module.css +1 -0
  306. package/dist/blocks/sections/Timeline/Timeline.module.css.cjs +1 -0
  307. package/dist/blocks/sections/Timeline/Timeline.module.css.mjs +37 -0
  308. package/dist/blocks/sections/Timeline/Timeline.types.d.ts +104 -0
  309. package/dist/blocks/sections/Timeline/Timeline.types.d.ts.map +1 -0
  310. package/dist/blocks/sections/Timeline/index.d.ts +3 -0
  311. package/dist/blocks/sections/Timeline/index.d.ts.map +1 -0
  312. package/dist/blocks/sections/index.d.ts +53 -0
  313. package/dist/blocks/sections/index.d.ts.map +1 -0
  314. package/dist/blocks/templates/index.d.ts +8 -0
  315. package/dist/blocks/templates/index.d.ts.map +1 -0
  316. package/dist/blocks.css +60 -0
  317. package/dist/components/Accordion/Accordion.cjs +1 -0
  318. package/dist/components/Accordion/Accordion.mjs +94 -0
  319. package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
  320. package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
  321. package/dist/components/AgentCard/AgentCard.cjs +1 -0
  322. package/dist/components/AgentCard/AgentCard.mjs +120 -0
  323. package/dist/components/Alert/Alert.cjs +1 -0
  324. package/dist/components/Alert/Alert.mjs +51 -0
  325. package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
  326. package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
  327. package/dist/components/Avatar/Avatar.cjs +1 -0
  328. package/dist/components/Avatar/Avatar.mjs +58 -0
  329. package/dist/components/Badge/Badge.cjs +1 -0
  330. package/dist/components/Badge/Badge.mjs +20 -0
  331. package/dist/components/Banner/Banner.cjs +1 -0
  332. package/dist/components/Banner/Banner.mjs +107 -0
  333. package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
  334. package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
  335. package/dist/components/Button/Button.cjs +1 -0
  336. package/dist/components/Button/Button.mjs +71 -0
  337. package/dist/components/Calendar/Calendar.cjs +1 -0
  338. package/dist/components/Calendar/Calendar.mjs +135 -0
  339. package/dist/components/Card/Card.cjs +1 -0
  340. package/dist/components/Card/Card.mjs +106 -0
  341. package/dist/components/Carousel/Carousel.cjs +1 -0
  342. package/dist/components/Carousel/Carousel.mjs +178 -0
  343. package/dist/components/Carousel/CarouselCard.cjs +1 -0
  344. package/dist/components/Carousel/CarouselCard.mjs +38 -0
  345. package/dist/components/Chart/Chart.cjs +1 -0
  346. package/dist/components/Chart/Chart.mjs +103 -0
  347. package/dist/components/Chat/Chat.cjs +1 -0
  348. package/dist/components/Chat/Chat.mjs +56 -0
  349. package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
  350. package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
  351. package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
  352. package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
  353. package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
  354. package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
  355. package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
  356. package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
  357. package/dist/components/Chat/components/ChatHeader.cjs +1 -0
  358. package/dist/components/Chat/components/ChatHeader.mjs +36 -0
  359. package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
  360. package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
  361. package/dist/components/Chat/components/ChatInput.cjs +1 -0
  362. package/dist/components/Chat/components/ChatInput.mjs +188 -0
  363. package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
  364. package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
  365. package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
  366. package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
  367. package/dist/components/Chat/components/ChatMessage.cjs +1 -0
  368. package/dist/components/Chat/components/ChatMessage.mjs +173 -0
  369. package/dist/components/Chat/components/ChatMessages.cjs +1 -0
  370. package/dist/components/Chat/components/ChatMessages.mjs +46 -0
  371. package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
  372. package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
  373. package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
  374. package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
  375. package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
  376. package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
  377. package/dist/components/Checkbox/Checkbox.cjs +1 -0
  378. package/dist/components/Checkbox/Checkbox.mjs +84 -0
  379. package/dist/components/Chip/Chip.cjs +1 -0
  380. package/dist/components/Chip/Chip.mjs +86 -0
  381. package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
  382. package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
  383. package/dist/components/Collapsible/Collapsible.cjs +1 -0
  384. package/dist/components/Collapsible/Collapsible.mjs +114 -0
  385. package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
  386. package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
  387. package/dist/components/Combobox/Combobox.cjs +1 -0
  388. package/dist/components/Combobox/Combobox.mjs +271 -0
  389. package/dist/components/Command/Command.cjs +1 -0
  390. package/dist/components/Command/Command.mjs +248 -0
  391. package/dist/components/CommandBar/CommandBar.cjs +1 -0
  392. package/dist/components/CommandBar/CommandBar.mjs +193 -0
  393. package/dist/components/DataTable/DataTable.cjs +1 -0
  394. package/dist/components/DataTable/DataTable.mjs +339 -0
  395. package/dist/components/DatePicker/DatePicker.cjs +1 -0
  396. package/dist/components/DatePicker/DatePicker.mjs +104 -0
  397. package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
  398. package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
  399. package/dist/components/Divider/Divider.cjs +1 -0
  400. package/dist/components/Divider/Divider.mjs +48 -0
  401. package/dist/components/Drawer/Drawer.cjs +1 -0
  402. package/dist/components/Drawer/Drawer.mjs +132 -0
  403. package/dist/components/Dropdown/Dropdown.cjs +1 -0
  404. package/dist/components/Dropdown/Dropdown.mjs +176 -0
  405. package/dist/components/EmptyState/EmptyState.cjs +1 -0
  406. package/dist/components/EmptyState/EmptyState.mjs +30 -0
  407. package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
  408. package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
  409. package/dist/components/Field/Field.cjs +1 -0
  410. package/dist/components/Field/Field.mjs +107 -0
  411. package/dist/components/FileUploader/FileUploader.cjs +1 -0
  412. package/dist/components/FileUploader/FileUploader.mjs +202 -0
  413. package/dist/components/FilterBar/FilterBar.cjs +1 -0
  414. package/dist/components/FilterBar/FilterBar.mjs +164 -0
  415. package/dist/components/FontLoader/FontLoader.cjs +1 -0
  416. package/dist/components/FontLoader/FontLoader.mjs +47 -0
  417. package/dist/components/FormSection/FormSection.cjs +1 -0
  418. package/dist/components/FormSection/FormSection.mjs +84 -0
  419. package/dist/components/Icon/Icon.cjs +1 -0
  420. package/dist/components/Icon/Icon.mjs +54 -0
  421. package/dist/components/IconGallery/IconGallery.cjs +3 -0
  422. package/dist/components/IconGallery/IconGallery.mjs +205 -0
  423. package/dist/components/InputOTP/InputOTP.cjs +1 -0
  424. package/dist/components/InputOTP/InputOTP.mjs +143 -0
  425. package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
  426. package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
  427. package/dist/components/Link/Link.cjs +1 -0
  428. package/dist/components/Link/Link.mjs +82 -0
  429. package/dist/components/List/List.cjs +1 -0
  430. package/dist/components/List/List.mjs +95 -0
  431. package/dist/components/MetricCards/MetricCards.cjs +1 -0
  432. package/dist/components/MetricCards/MetricCards.mjs +125 -0
  433. package/dist/components/Modal/Modal.cjs +1 -0
  434. package/dist/components/Modal/Modal.mjs +72 -0
  435. package/dist/components/NavTree/NavTree.cjs +1 -0
  436. package/dist/components/NavTree/NavTree.mjs +273 -0
  437. package/dist/components/Navbar/Navbar.cjs +1 -0
  438. package/dist/components/Navbar/Navbar.mjs +129 -0
  439. package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
  440. package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
  441. package/dist/components/PageHeader/PageHeader.cjs +1 -0
  442. package/dist/components/PageHeader/PageHeader.mjs +105 -0
  443. package/dist/components/Pagination/Pagination.cjs +1 -0
  444. package/dist/components/Pagination/Pagination.mjs +136 -0
  445. package/dist/components/Popover/Popover.cjs +1 -0
  446. package/dist/components/Popover/Popover.mjs +191 -0
  447. package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
  448. package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
  449. package/dist/components/QuickActions/QuickActions.cjs +1 -0
  450. package/dist/components/QuickActions/QuickActions.mjs +148 -0
  451. package/dist/components/Radio/Radio.cjs +1 -0
  452. package/dist/components/Radio/Radio.mjs +76 -0
  453. package/dist/components/SearchInput/SearchInput.cjs +1 -0
  454. package/dist/components/SearchInput/SearchInput.mjs +87 -0
  455. package/dist/components/Select/Select.cjs +1 -0
  456. package/dist/components/Select/Select.mjs +78 -0
  457. package/dist/components/Sidebar/Sidebar.cjs +1 -0
  458. package/dist/components/Sidebar/Sidebar.mjs +153 -0
  459. package/dist/components/Skeleton/Skeleton.cjs +1 -0
  460. package/dist/components/Skeleton/Skeleton.mjs +54 -0
  461. package/dist/components/Slider/Slider.cjs +1 -0
  462. package/dist/components/Slider/Slider.mjs +109 -0
  463. package/dist/components/Spinner/Spinner.cjs +1 -0
  464. package/dist/components/Spinner/Spinner.mjs +28 -0
  465. package/dist/components/Stepper/Stepper.cjs +1 -0
  466. package/dist/components/Stepper/Stepper.mjs +133 -0
  467. package/dist/components/Switch/Switch.cjs +1 -0
  468. package/dist/components/Switch/Switch.mjs +80 -0
  469. package/dist/components/Table/Table.cjs +1 -0
  470. package/dist/components/Table/Table.mjs +101 -0
  471. package/dist/components/Tabs/Tabs.cjs +1 -0
  472. package/dist/components/Tabs/Tabs.mjs +97 -0
  473. package/dist/components/Textarea/Textarea.cjs +1 -0
  474. package/dist/components/Textarea/Textarea.mjs +118 -0
  475. package/dist/components/ThemeController/ThemeController.cjs +1 -0
  476. package/dist/components/ThemeController/ThemeController.mjs +389 -0
  477. package/dist/components/Toast/Toast.cjs +1 -0
  478. package/dist/components/Toast/Toast.mjs +225 -0
  479. package/dist/components/Toggle/Toggle.cjs +1 -0
  480. package/dist/components/Toggle/Toggle.mjs +48 -0
  481. package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
  482. package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
  483. package/dist/components/Tooltip/Tooltip.cjs +1 -0
  484. package/dist/components/Tooltip/Tooltip.mjs +39 -0
  485. package/dist/components/UserMenu/UserMenu.cjs +1 -0
  486. package/dist/components/UserMenu/UserMenu.mjs +161 -0
  487. package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
  488. package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
  489. package/dist/contexts/ThemeContext.cjs +38 -0
  490. package/dist/contexts/ThemeContext.mjs +98 -0
  491. package/dist/dist/components/Carousel/Carousel.module.css.cjs +1 -0
  492. package/dist/dist/components/Carousel/Carousel.module.css.mjs +60 -0
  493. package/dist/dist/components/Carousel/CarouselCard.cjs +1 -0
  494. package/dist/dist/components/Carousel/CarouselCard.mjs +38 -0
  495. package/dist/examples/LandingPage.example.cjs +1 -0
  496. package/dist/examples/LandingPage.example.mjs +106 -0
  497. package/dist/index.cjs +1 -1
  498. package/dist/index.mjs +95 -95
  499. package/dist/sections/Container/Container.cjs +1 -0
  500. package/dist/sections/Container/Container.mjs +26 -0
  501. package/dist/sections/Section/Section.cjs +1 -0
  502. package/dist/sections/Section/Section.mjs +36 -0
  503. package/dist/templates/index.cjs +1 -0
  504. package/dist/templates/index.d.ts +1 -0
  505. package/dist/templates/index.mjs +1 -0
  506. package/dist/tokens/utils.cjs +1 -0
  507. package/dist/tokens/utils.mjs +33 -0
  508. package/package.json +13 -2
  509. package/dist/index10.cjs +0 -1
  510. package/dist/index10.mjs +0 -58
  511. package/dist/index11.cjs +0 -1
  512. package/dist/index11.mjs +0 -20
  513. package/dist/index12.cjs +0 -1
  514. package/dist/index12.mjs +0 -107
  515. package/dist/index13.cjs +0 -1
  516. package/dist/index13.mjs +0 -84
  517. package/dist/index14.cjs +0 -1
  518. package/dist/index14.mjs +0 -71
  519. package/dist/index15.cjs +0 -1
  520. package/dist/index15.mjs +0 -135
  521. package/dist/index159.cjs +0 -1
  522. package/dist/index159.mjs +0 -36
  523. package/dist/index16.cjs +0 -1
  524. package/dist/index16.mjs +0 -106
  525. package/dist/index160.cjs +0 -1
  526. package/dist/index160.mjs +0 -46
  527. package/dist/index161.cjs +0 -1
  528. package/dist/index161.mjs +0 -173
  529. package/dist/index162.cjs +0 -1
  530. package/dist/index162.mjs +0 -188
  531. package/dist/index163.cjs +0 -1
  532. package/dist/index163.mjs +0 -31
  533. package/dist/index164.cjs +0 -1
  534. package/dist/index164.mjs +0 -93
  535. package/dist/index165.cjs +0 -1
  536. package/dist/index165.mjs +0 -55
  537. package/dist/index166.cjs +0 -1
  538. package/dist/index166.mjs +0 -69
  539. package/dist/index167.cjs +0 -1
  540. package/dist/index167.mjs +0 -127
  541. package/dist/index168.cjs +0 -1
  542. package/dist/index168.mjs +0 -111
  543. package/dist/index169.cjs +0 -1
  544. package/dist/index169.mjs +0 -114
  545. package/dist/index17.cjs +0 -1
  546. package/dist/index17.mjs +0 -178
  547. package/dist/index170.cjs +0 -1
  548. package/dist/index170.mjs +0 -125
  549. package/dist/index171.cjs +0 -1
  550. package/dist/index171.mjs +0 -217
  551. package/dist/index18.cjs +0 -1
  552. package/dist/index18.mjs +0 -38
  553. package/dist/index185.cjs +0 -1
  554. package/dist/index185.mjs +0 -57
  555. package/dist/index19.cjs +0 -1
  556. package/dist/index19.mjs +0 -103
  557. package/dist/index20.cjs +0 -1
  558. package/dist/index20.mjs +0 -56
  559. package/dist/index21.cjs +0 -1
  560. package/dist/index21.mjs +0 -84
  561. package/dist/index22.cjs +0 -1
  562. package/dist/index22.mjs +0 -86
  563. package/dist/index23.cjs +0 -6
  564. package/dist/index23.mjs +0 -255
  565. package/dist/index24.cjs +0 -1
  566. package/dist/index24.mjs +0 -114
  567. package/dist/index25.cjs +0 -1
  568. package/dist/index25.mjs +0 -196
  569. package/dist/index26.cjs +0 -1
  570. package/dist/index26.mjs +0 -271
  571. package/dist/index27.cjs +0 -1
  572. package/dist/index27.mjs +0 -248
  573. package/dist/index28.cjs +0 -1
  574. package/dist/index28.mjs +0 -193
  575. package/dist/index29.cjs +0 -1
  576. package/dist/index29.mjs +0 -26
  577. package/dist/index3.cjs +0 -1
  578. package/dist/index3.mjs +0 -600
  579. package/dist/index30.cjs +0 -1
  580. package/dist/index30.mjs +0 -339
  581. package/dist/index31.cjs +0 -1
  582. package/dist/index31.mjs +0 -104
  583. package/dist/index32.cjs +0 -1
  584. package/dist/index32.mjs +0 -103
  585. package/dist/index33.cjs +0 -1
  586. package/dist/index33.mjs +0 -48
  587. package/dist/index34.cjs +0 -1
  588. package/dist/index34.mjs +0 -132
  589. package/dist/index35.cjs +0 -1
  590. package/dist/index35.mjs +0 -176
  591. package/dist/index36.cjs +0 -1
  592. package/dist/index36.mjs +0 -30
  593. package/dist/index37.cjs +0 -1
  594. package/dist/index37.mjs +0 -43
  595. package/dist/index38.cjs +0 -1
  596. package/dist/index38.mjs +0 -107
  597. package/dist/index39.cjs +0 -1
  598. package/dist/index39.mjs +0 -202
  599. package/dist/index40.cjs +0 -1
  600. package/dist/index40.mjs +0 -164
  601. package/dist/index41.cjs +0 -1
  602. package/dist/index41.mjs +0 -47
  603. package/dist/index42.cjs +0 -1
  604. package/dist/index42.mjs +0 -84
  605. package/dist/index43.cjs +0 -1
  606. package/dist/index43.mjs +0 -54
  607. package/dist/index44.cjs +0 -3
  608. package/dist/index44.mjs +0 -205
  609. package/dist/index46.cjs +0 -1
  610. package/dist/index46.mjs +0 -143
  611. package/dist/index47.cjs +0 -1
  612. package/dist/index47.mjs +0 -190
  613. package/dist/index48.cjs +0 -1
  614. package/dist/index48.mjs +0 -106
  615. package/dist/index49.cjs +0 -1
  616. package/dist/index49.mjs +0 -82
  617. package/dist/index5.cjs +0 -1
  618. package/dist/index5.mjs +0 -94
  619. package/dist/index50.cjs +0 -1
  620. package/dist/index50.mjs +0 -95
  621. package/dist/index51.cjs +0 -1
  622. package/dist/index51.mjs +0 -125
  623. package/dist/index52.cjs +0 -1
  624. package/dist/index52.mjs +0 -72
  625. package/dist/index53.cjs +0 -1
  626. package/dist/index53.mjs +0 -273
  627. package/dist/index54.cjs +0 -1
  628. package/dist/index54.mjs +0 -129
  629. package/dist/index55.cjs +0 -1
  630. package/dist/index55.mjs +0 -172
  631. package/dist/index56.cjs +0 -1
  632. package/dist/index56.mjs +0 -105
  633. package/dist/index57.cjs +0 -1
  634. package/dist/index57.mjs +0 -136
  635. package/dist/index58.cjs +0 -1
  636. package/dist/index58.mjs +0 -191
  637. package/dist/index59.cjs +0 -1
  638. package/dist/index59.mjs +0 -54
  639. package/dist/index6.cjs +0 -1
  640. package/dist/index6.mjs +0 -128
  641. package/dist/index60.cjs +0 -1
  642. package/dist/index60.mjs +0 -148
  643. package/dist/index61.cjs +0 -1
  644. package/dist/index61.mjs +0 -76
  645. package/dist/index62.cjs +0 -1
  646. package/dist/index62.mjs +0 -87
  647. package/dist/index63.cjs +0 -1
  648. package/dist/index63.mjs +0 -36
  649. package/dist/index64.cjs +0 -1
  650. package/dist/index64.mjs +0 -78
  651. package/dist/index65.cjs +0 -1
  652. package/dist/index65.mjs +0 -153
  653. package/dist/index66.cjs +0 -1
  654. package/dist/index66.mjs +0 -54
  655. package/dist/index67.cjs +0 -1
  656. package/dist/index67.mjs +0 -109
  657. package/dist/index68.cjs +0 -1
  658. package/dist/index68.mjs +0 -28
  659. package/dist/index69.cjs +0 -1
  660. package/dist/index69.mjs +0 -133
  661. package/dist/index7.cjs +0 -1
  662. package/dist/index7.mjs +0 -120
  663. package/dist/index70.cjs +0 -1
  664. package/dist/index70.mjs +0 -80
  665. package/dist/index71.cjs +0 -1
  666. package/dist/index71.mjs +0 -101
  667. package/dist/index72.cjs +0 -1
  668. package/dist/index72.mjs +0 -97
  669. package/dist/index73.cjs +0 -1
  670. package/dist/index73.mjs +0 -118
  671. package/dist/index74.cjs +0 -1
  672. package/dist/index74.mjs +0 -389
  673. package/dist/index75.cjs +0 -38
  674. package/dist/index75.mjs +0 -98
  675. package/dist/index76.cjs +0 -1
  676. package/dist/index76.mjs +0 -225
  677. package/dist/index77.cjs +0 -1
  678. package/dist/index77.mjs +0 -48
  679. package/dist/index78.cjs +0 -1
  680. package/dist/index78.mjs +0 -101
  681. package/dist/index79.cjs +0 -1
  682. package/dist/index79.mjs +0 -39
  683. package/dist/index8.cjs +0 -1
  684. package/dist/index8.mjs +0 -51
  685. package/dist/index80.cjs +0 -1
  686. package/dist/index80.mjs +0 -161
  687. package/dist/index81.cjs +0 -1
  688. package/dist/index81.mjs +0 -119
  689. package/dist/index82.cjs +0 -1
  690. package/dist/index82.mjs +0 -33
  691. package/dist/index9.cjs +0 -1
  692. package/dist/index9.mjs +0 -91
  693. /package/dist/{index181.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
  694. /package/dist/{index181.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
  695. /package/dist/{index136.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
  696. /package/dist/{index136.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
  697. /package/dist/{index147.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
  698. /package/dist/{index147.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
  699. /package/dist/{index139.cjs → components/Alert/Alert.module.css.cjs} +0 -0
  700. /package/dist/{index139.mjs → components/Alert/Alert.module.css.mjs} +0 -0
  701. /package/dist/{index111.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
  702. /package/dist/{index111.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
  703. /package/dist/{index106.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
  704. /package/dist/{index106.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
  705. /package/dist/{index179.cjs → components/Badge/Badge.module.css.cjs} +0 -0
  706. /package/dist/{index179.mjs → components/Badge/Badge.module.css.mjs} +0 -0
  707. /package/dist/{index141.cjs → components/Banner/Banner.module.css.cjs} +0 -0
  708. /package/dist/{index141.mjs → components/Banner/Banner.module.css.mjs} +0 -0
  709. /package/dist/{index178.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
  710. /package/dist/{index178.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
  711. /package/dist/{index119.cjs → components/Button/Button.module.css.cjs} +0 -0
  712. /package/dist/{index119.mjs → components/Button/Button.module.css.mjs} +0 -0
  713. /package/dist/{index102.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
  714. /package/dist/{index102.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
  715. /package/dist/{index123.cjs → components/Card/Card.module.css.cjs} +0 -0
  716. /package/dist/{index123.mjs → components/Card/Card.module.css.mjs} +0 -0
  717. /package/dist/{index129.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
  718. /package/dist/{index129.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
  719. /package/dist/{index128.cjs → components/Chart/Chart.module.css.cjs} +0 -0
  720. /package/dist/{index128.mjs → components/Chart/Chart.module.css.mjs} +0 -0
  721. /package/dist/{index127.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
  722. /package/dist/{index127.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
  723. /package/dist/{index158.cjs → components/Chat/Chat.module.css.cjs} +0 -0
  724. /package/dist/{index158.mjs → components/Chat/Chat.module.css.mjs} +0 -0
  725. /package/dist/{index84.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
  726. /package/dist/{index84.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
  727. /package/dist/{index85.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
  728. /package/dist/{index85.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
  729. /package/dist/{index93.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
  730. /package/dist/{index93.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
  731. /package/dist/{index95.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
  732. /package/dist/{index95.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
  733. /package/dist/{index184.cjs → components/Chat/utils.cjs} +0 -0
  734. /package/dist/{index184.mjs → components/Chat/utils.mjs} +0 -0
  735. /package/dist/{index153.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
  736. /package/dist/{index153.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
  737. /package/dist/{index117.cjs → components/Chip/Chip.module.css.cjs} +0 -0
  738. /package/dist/{index117.mjs → components/Chip/Chip.module.css.mjs} +0 -0
  739. /package/dist/{index145.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
  740. /package/dist/{index145.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
  741. /package/dist/{index122.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
  742. /package/dist/{index122.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
  743. /package/dist/{index157.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
  744. /package/dist/{index157.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
  745. /package/dist/{index124.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
  746. /package/dist/{index124.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
  747. /package/dist/{index120.cjs → components/Command/Command.module.css.cjs} +0 -0
  748. /package/dist/{index120.mjs → components/Command/Command.module.css.mjs} +0 -0
  749. /package/dist/{index152.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
  750. /package/dist/{index152.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
  751. /package/dist/{index133.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
  752. /package/dist/{index133.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
  753. /package/dist/{index113.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
  754. /package/dist/{index113.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
  755. /package/dist/{index125.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
  756. /package/dist/{index125.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
  757. /package/dist/{index150.cjs → components/Divider/Divider.module.css.cjs} +0 -0
  758. /package/dist/{index150.mjs → components/Divider/Divider.module.css.mjs} +0 -0
  759. /package/dist/{index146.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
  760. /package/dist/{index146.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
  761. /package/dist/{index131.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
  762. /package/dist/{index131.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
  763. /package/dist/{index140.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
  764. /package/dist/{index140.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
  765. /package/dist/{index116.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
  766. /package/dist/{index116.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
  767. /package/dist/{index149.cjs → components/Field/Field.module.css.cjs} +0 -0
  768. /package/dist/{index149.mjs → components/Field/Field.module.css.mjs} +0 -0
  769. /package/dist/{index137.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
  770. /package/dist/{index137.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
  771. /package/dist/{index132.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
  772. /package/dist/{index132.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
  773. /package/dist/{index155.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
  774. /package/dist/{index155.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
  775. /package/dist/{index110.cjs → components/Icon/Icon.module.css.cjs} +0 -0
  776. /package/dist/{index110.mjs → components/Icon/Icon.module.css.mjs} +0 -0
  777. /package/dist/{index174.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
  778. /package/dist/{index174.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
  779. /package/dist/{index112.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
  780. /package/dist/{index112.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
  781. /package/dist/{index156.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
  782. /package/dist/{index156.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
  783. /package/dist/{index121.cjs → components/Link/Link.module.css.cjs} +0 -0
  784. /package/dist/{index121.mjs → components/Link/Link.module.css.mjs} +0 -0
  785. /package/dist/{index142.cjs → components/List/List.module.css.cjs} +0 -0
  786. /package/dist/{index142.mjs → components/List/List.module.css.mjs} +0 -0
  787. /package/dist/{index172.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
  788. /package/dist/{index172.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
  789. /package/dist/{index138.cjs → components/Modal/Modal.module.css.cjs} +0 -0
  790. /package/dist/{index138.mjs → components/Modal/Modal.module.css.mjs} +0 -0
  791. /package/dist/{index114.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
  792. /package/dist/{index114.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
  793. /package/dist/{index108.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
  794. /package/dist/{index108.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
  795. /package/dist/{index148.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
  796. /package/dist/{index148.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
  797. /package/dist/{index134.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
  798. /package/dist/{index134.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
  799. /package/dist/{index143.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
  800. /package/dist/{index143.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
  801. /package/dist/{index135.cjs → components/Popover/Popover.module.css.cjs} +0 -0
  802. /package/dist/{index135.mjs → components/Popover/Popover.module.css.mjs} +0 -0
  803. /package/dist/{index176.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
  804. /package/dist/{index176.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
  805. /package/dist/{index175.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
  806. /package/dist/{index175.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
  807. /package/dist/{index103.cjs → components/Radio/Radio.module.css.cjs} +0 -0
  808. /package/dist/{index103.mjs → components/Radio/Radio.module.css.mjs} +0 -0
  809. /package/dist/{index105.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
  810. /package/dist/{index105.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
  811. /package/dist/{index173.cjs → components/Select/Select.module.css.cjs} +0 -0
  812. /package/dist/{index173.mjs → components/Select/Select.module.css.mjs} +0 -0
  813. /package/dist/{index151.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
  814. /package/dist/{index151.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
  815. /package/dist/{index130.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
  816. /package/dist/{index130.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
  817. /package/dist/{index99.cjs → components/Slider/Slider.module.css.cjs} +0 -0
  818. /package/dist/{index99.mjs → components/Slider/Slider.module.css.mjs} +0 -0
  819. /package/dist/{index115.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
  820. /package/dist/{index115.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
  821. /package/dist/{index118.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
  822. /package/dist/{index118.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
  823. /package/dist/{index126.cjs → components/Switch/Switch.module.css.cjs} +0 -0
  824. /package/dist/{index126.mjs → components/Switch/Switch.module.css.mjs} +0 -0
  825. /package/dist/{index144.cjs → components/Table/Table.module.css.cjs} +0 -0
  826. /package/dist/{index144.mjs → components/Table/Table.module.css.mjs} +0 -0
  827. /package/dist/{index109.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
  828. /package/dist/{index109.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
  829. /package/dist/{index104.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
  830. /package/dist/{index104.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
  831. /package/dist/{index100.cjs → components/Toast/Toast.module.css.cjs} +0 -0
  832. /package/dist/{index100.mjs → components/Toast/Toast.module.css.mjs} +0 -0
  833. /package/dist/{index101.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
  834. /package/dist/{index101.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
  835. /package/dist/{index180.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
  836. /package/dist/{index180.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
  837. /package/dist/{index107.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
  838. /package/dist/{index107.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
  839. /package/dist/{index154.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
  840. /package/dist/{index154.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
  841. /package/dist/{index177.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
  842. /package/dist/{index177.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
  843. /package/dist/{index86.cjs → hooks/useClickOutside.cjs} +0 -0
  844. /package/dist/{index86.mjs → hooks/useClickOutside.mjs} +0 -0
  845. /package/dist/{index87.cjs → hooks/useCopyToClipboard.cjs} +0 -0
  846. /package/dist/{index87.mjs → hooks/useCopyToClipboard.mjs} +0 -0
  847. /package/dist/{index88.cjs → hooks/useDebounce.cjs} +0 -0
  848. /package/dist/{index88.mjs → hooks/useDebounce.mjs} +0 -0
  849. /package/dist/{index89.cjs → hooks/useDisclosure.cjs} +0 -0
  850. /package/dist/{index89.mjs → hooks/useDisclosure.mjs} +0 -0
  851. /package/dist/{index91.cjs → hooks/useKeyboard.cjs} +0 -0
  852. /package/dist/{index91.mjs → hooks/useKeyboard.mjs} +0 -0
  853. /package/dist/{index92.cjs → hooks/useLocalStorage.cjs} +0 -0
  854. /package/dist/{index92.mjs → hooks/useLocalStorage.mjs} +0 -0
  855. /package/dist/{index90.cjs → hooks/useMediaQuery.cjs} +0 -0
  856. /package/dist/{index90.mjs → hooks/useMediaQuery.mjs} +0 -0
  857. /package/dist/{index94.cjs → hooks/useTheme.cjs} +0 -0
  858. /package/dist/{index94.mjs → hooks/useTheme.mjs} +0 -0
  859. /package/dist/{index182.cjs → sections/Container/Container.module.css.cjs} +0 -0
  860. /package/dist/{index182.mjs → sections/Container/Container.module.css.mjs} +0 -0
  861. /package/dist/{index183.cjs → sections/Section/Section.module.css.cjs} +0 -0
  862. /package/dist/{index183.mjs → sections/Section/Section.module.css.mjs} +0 -0
  863. /package/dist/{index98.cjs → tokens/brands.cjs} +0 -0
  864. /package/dist/{index98.mjs → tokens/brands.mjs} +0 -0
  865. /package/dist/{index83.cjs → tokens/primitives.cjs} +0 -0
  866. /package/dist/{index83.mjs → tokens/primitives.mjs} +0 -0
  867. /package/dist/{index97.cjs → tokens/themes.cjs} +0 -0
  868. /package/dist/{index97.mjs → tokens/themes.mjs} +0 -0
  869. /package/dist/{index4.cjs → utils/fonts.cjs} +0 -0
  870. /package/dist/{index4.mjs → utils/fonts.mjs} +0 -0
  871. /package/dist/{index45.cjs → utils/icons.cjs} +0 -0
  872. /package/dist/{index45.mjs → utils/icons.mjs} +0 -0
  873. /package/dist/{index96.cjs → utils/validation.cjs} +0 -0
  874. /package/dist/{index96.mjs → utils/validation.mjs} +0 -0
package/dist/index75.mjs DELETED
@@ -1,98 +0,0 @@
1
- import { jsxs as y, jsx as g } from "react/jsx-runtime";
2
- import { useRef as a, useEffect as l, useContext as S, createContext as O } from "react";
3
- import { useTheme as P } from "./index94.mjs";
4
- import { getMissingFonts as x, BRAND_FONTS as C, GOOGLE_FONTS_URL as F } from "./index4.mjs";
5
- import { FontLoader as b } from "./index41.mjs";
6
- const f = O(void 0);
7
- function E() {
8
- return typeof window > "u" ? !0 : getComputedStyle(document.documentElement).getPropertyValue("--orion-react-styles-loaded").trim() === "1";
9
- }
10
- function R({
11
- children: o,
12
- defaultTheme: n,
13
- defaultBrand: s,
14
- options: p,
15
- disableFontWarnings: i = !1,
16
- disableAutoFontLoading: h = !1,
17
- disableCSSWarnings: d = !1
18
- }) {
19
- const v = {
20
- ...p,
21
- ...n !== void 0 && { defaultTheme: n },
22
- ...s !== void 0 && { defaultBrand: s }
23
- }, t = P(v), c = a(/* @__PURE__ */ new Set()), m = a(!1);
24
- return l(() => {
25
- if (d || typeof window > "u" || !(process.env.NODE_ENV === "development" || window.location.hostname === "localhost")) return;
26
- const r = setTimeout(() => {
27
- !m.current && !E() && (m.current = !0, console.warn(
28
- `[Orion] Component styles not detected!
29
-
30
- You must import the component CSS file:
31
-
32
- import '@orion-ds/react/styles.css'; // Single import includes all styles
33
-
34
- Add this import in your app entry file. It includes both design tokens and component styles.
35
-
36
- To disable this warning, set disableCSSWarnings={true} on ThemeProvider.`
37
- ));
38
- }, 100);
39
- return () => clearTimeout(r);
40
- }, [d]), l(() => {
41
- if (i || typeof window > "u" || !(process.env.NODE_ENV === "development" || typeof window < "u" && window.location.hostname === "localhost")) return;
42
- const r = setTimeout(() => {
43
- const { brand: e } = t, u = x(e);
44
- if (u.length > 0 && !c.current.has(e)) {
45
- c.current.add(e);
46
- const w = C[e].join(", ");
47
- console.warn(
48
- `[Orion] Missing fonts for "${e}" brand: ${u.join(", ")}
49
-
50
- The "${e}" brand requires these fonts: ${w}
51
-
52
- To fix this, add one of the following to your app:
53
-
54
- Option 1: Use <FontLoader /> component (recommended)
55
- import { FontLoader } from '@orion-ds/react';
56
- <ThemeProvider>
57
- <FontLoader />
58
- <App />
59
- </ThemeProvider>
60
-
61
- Option 2: Add Google Fonts to your HTML <head>
62
- <link rel="preconnect" href="https://fonts.googleapis.com">
63
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
64
- <link href="${F}" rel="stylesheet">
65
-
66
- To disable this warning, set disableFontWarnings={true} on ThemeProvider.`
67
- );
68
- }
69
- }, 1e3);
70
- return () => clearTimeout(r);
71
- }, [t.brand, i, t]), /* @__PURE__ */ y(f.Provider, { value: t, children: [
72
- !h && /* @__PURE__ */ g(b, {}),
73
- o
74
- ] });
75
- }
76
- function _() {
77
- const o = S(f);
78
- if (o === void 0)
79
- throw new Error(
80
- `❌ useTheme() must be used inside <ThemeProvider>
81
-
82
- Solution:
83
- Wrap your app with ThemeProvider:
84
-
85
- export default function App() {
86
- return (
87
- <ThemeProvider>
88
- <YourComponents />
89
- </ThemeProvider>
90
- );
91
- }`
92
- );
93
- return o;
94
- }
95
- export {
96
- R as ThemeProvider,
97
- _ as useThemeContext
98
- };
package/dist/index76.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),L=require("react-dom"),o=require("./index100.cjs");let M=0;const N=()=>`toast-${++M}`,m=r.createContext(null),y=()=>{const e=r.useContext(m);if(!e)throw new Error("useToast must be used within a ToastProvider");return e},B=({toast:e,onDismiss:u})=>{const[l,d]=r.useState(!1),a=r.useRef(null),c=r.useCallback(()=>{d(!0),setTimeout(()=>{u(e.id),e.onDismiss?.()},200)},[e,u]);r.useEffect(()=>{if(e.duration&&e.duration>0)return a.current=setTimeout(c,e.duration),()=>{a.current&&clearTimeout(a.current)}},[e.duration,c]);const i=()=>{a.current&&clearTimeout(a.current)},h=()=>{e.duration&&e.duration>0&&(a.current=setTimeout(c,e.duration))},f=[o.default.toast,o.default[e.variant||"info"],l&&o.default.exiting].filter(Boolean).join(" "),k=()=>{switch(e.variant){case"success":return t.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:t.jsx("path",{d:"M16.667 5L7.5 14.167 3.333 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"error":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 6v5M10 13.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case"warning":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("path",{d:"M8.57 3.216L1.538 15.143a1.667 1.667 0 001.429 2.524h14.066a1.667 1.667 0 001.429-2.524L11.43 3.216a1.667 1.667 0 00-2.858 0z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M10 7.5v3.333M10 14.167h.008",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 9v4.5M10 6.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}};return t.jsxs("div",{className:f,role:"alert","aria-live":"polite",onMouseEnter:i,onMouseLeave:h,children:[t.jsx("span",{className:o.default.icon,"aria-hidden":"true",children:k()}),t.jsxs("div",{className:o.default.content,children:[e.title&&t.jsx("div",{className:o.default.title,children:e.title}),t.jsx("div",{className:o.default.message,children:e.message})]}),e.action&&t.jsx("button",{type:"button",className:o.default.action,onClick:()=>{e.action?.onClick(),c()},children:e.action.label}),e.dismissible!==!1&&t.jsx("button",{type:"button",className:o.default.closeButton,onClick:c,"aria-label":"Dismiss",children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:t.jsx("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},j=({children:e,position:u="bottom-right",maxToasts:l=5,defaultDuration:d=5e3})=>{const[a,c]=r.useState([]),i=r.useCallback(s=>{const n=N(),v={id:n,duration:d,dismissible:!0,variant:"info",...s};return c(T=>{const x=[...T,v];return x.length>l?x.slice(-l):x}),n},[d,l]),h=r.useCallback(s=>{c(n=>n.filter(v=>v.id!==s))},[]),f=r.useCallback(()=>{c([])},[]),k=r.useCallback((s,n)=>i({message:s,variant:"info",...n}),[i]),g=r.useCallback((s,n)=>i({message:s,variant:"success",...n}),[i]),C=r.useCallback((s,n)=>i({message:s,variant:"warning",...n}),[i]),b=r.useCallback((s,n)=>i({message:s,variant:"error",...n}),[i]),p={toast:i,info:k,success:g,warning:C,error:b,dismiss:h,dismissAll:f},w=[o.default.container,o.default[u]].filter(Boolean).join(" ");return t.jsxs(m.Provider,{value:p,children:[e,a.length>0&&L.createPortal(t.jsx("div",{className:w,"aria-label":"Notifications",children:a.map(s=>t.jsx(B,{toast:s,onDismiss:h},s.id))}),document.body)]})};j.displayName="ToastProvider";exports.ToastProvider=j;exports.useToast=y;
package/dist/index76.mjs DELETED
@@ -1,225 +0,0 @@
1
- import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
- import { useState as g, useCallback as a, useContext as N, createContext as j, useRef as B, useEffect as W } from "react";
3
- import { createPortal as y } from "react-dom";
4
- import o from "./index100.mjs";
5
- let E = 0;
6
- const P = () => `toast-${++E}`, w = j(null), $ = () => {
7
- const e = N(w);
8
- if (!e)
9
- throw new Error("useToast must be used within a ToastProvider");
10
- return e;
11
- }, I = ({ toast: e, onDismiss: u }) => {
12
- const [d, h] = g(!1), s = B(null), c = a(() => {
13
- h(!0), setTimeout(() => {
14
- u(e.id), e.onDismiss?.();
15
- }, 200);
16
- }, [e, u]);
17
- W(() => {
18
- if (e.duration && e.duration > 0)
19
- return s.current = setTimeout(c, e.duration), () => {
20
- s.current && clearTimeout(s.current);
21
- };
22
- }, [e.duration, c]);
23
- const i = () => {
24
- s.current && clearTimeout(s.current);
25
- }, m = () => {
26
- e.duration && e.duration > 0 && (s.current = setTimeout(c, e.duration));
27
- }, v = [
28
- o.toast,
29
- o[e.variant || "info"],
30
- d && o.exiting
31
- ].filter(Boolean).join(" "), k = () => {
32
- switch (e.variant) {
33
- case "success":
34
- return /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ t(
35
- "path",
36
- {
37
- d: "M16.667 5L7.5 14.167 3.333 10",
38
- stroke: "currentColor",
39
- strokeWidth: "2",
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round"
42
- }
43
- ) });
44
- case "error":
45
- return /* @__PURE__ */ l("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
46
- /* @__PURE__ */ t(
47
- "circle",
48
- {
49
- cx: "10",
50
- cy: "10",
51
- r: "7.5",
52
- stroke: "currentColor",
53
- strokeWidth: "1.5"
54
- }
55
- ),
56
- /* @__PURE__ */ t(
57
- "path",
58
- {
59
- d: "M10 6v5M10 13.5v.5",
60
- stroke: "currentColor",
61
- strokeWidth: "1.5",
62
- strokeLinecap: "round"
63
- }
64
- )
65
- ] });
66
- case "warning":
67
- return /* @__PURE__ */ l("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
68
- /* @__PURE__ */ t(
69
- "path",
70
- {
71
- d: "M8.57 3.216L1.538 15.143a1.667 1.667 0 001.429 2.524h14.066a1.667 1.667 0 001.429-2.524L11.43 3.216a1.667 1.667 0 00-2.858 0z",
72
- stroke: "currentColor",
73
- strokeWidth: "1.5",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round"
76
- }
77
- ),
78
- /* @__PURE__ */ t(
79
- "path",
80
- {
81
- d: "M10 7.5v3.333M10 14.167h.008",
82
- stroke: "currentColor",
83
- strokeWidth: "1.5",
84
- strokeLinecap: "round",
85
- strokeLinejoin: "round"
86
- }
87
- )
88
- ] });
89
- default:
90
- return /* @__PURE__ */ l("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
91
- /* @__PURE__ */ t(
92
- "circle",
93
- {
94
- cx: "10",
95
- cy: "10",
96
- r: "7.5",
97
- stroke: "currentColor",
98
- strokeWidth: "1.5"
99
- }
100
- ),
101
- /* @__PURE__ */ t(
102
- "path",
103
- {
104
- d: "M10 9v4.5M10 6.5v.5",
105
- stroke: "currentColor",
106
- strokeWidth: "1.5",
107
- strokeLinecap: "round"
108
- }
109
- )
110
- ] });
111
- }
112
- };
113
- return /* @__PURE__ */ l(
114
- "div",
115
- {
116
- className: v,
117
- role: "alert",
118
- "aria-live": "polite",
119
- onMouseEnter: i,
120
- onMouseLeave: m,
121
- children: [
122
- /* @__PURE__ */ t("span", { className: o.icon, "aria-hidden": "true", children: k() }),
123
- /* @__PURE__ */ l("div", { className: o.content, children: [
124
- e.title && /* @__PURE__ */ t("div", { className: o.title, children: e.title }),
125
- /* @__PURE__ */ t("div", { className: o.message, children: e.message })
126
- ] }),
127
- e.action && /* @__PURE__ */ t(
128
- "button",
129
- {
130
- type: "button",
131
- className: o.action,
132
- onClick: () => {
133
- e.action?.onClick(), c();
134
- },
135
- children: e.action.label
136
- }
137
- ),
138
- e.dismissible !== !1 && /* @__PURE__ */ t(
139
- "button",
140
- {
141
- type: "button",
142
- className: o.closeButton,
143
- onClick: c,
144
- "aria-label": "Dismiss",
145
- children: /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ t(
146
- "path",
147
- {
148
- d: "M12 4L4 12M4 4l8 8",
149
- stroke: "currentColor",
150
- strokeWidth: "1.5",
151
- strokeLinecap: "round",
152
- strokeLinejoin: "round"
153
- }
154
- ) })
155
- }
156
- )
157
- ]
158
- }
159
- );
160
- }, D = ({
161
- children: e,
162
- position: u = "bottom-right",
163
- maxToasts: d = 5,
164
- defaultDuration: h = 5e3
165
- }) => {
166
- const [s, c] = g([]), i = a(
167
- (r) => {
168
- const n = P(), f = {
169
- id: n,
170
- duration: h,
171
- dismissible: !0,
172
- variant: "info",
173
- ...r
174
- };
175
- return c((b) => {
176
- const p = [...b, f];
177
- return p.length > d ? p.slice(-d) : p;
178
- }), n;
179
- },
180
- [h, d]
181
- ), m = a((r) => {
182
- c((n) => n.filter((f) => f.id !== r));
183
- }, []), v = a(() => {
184
- c([]);
185
- }, []), k = a(
186
- (r, n) => i({ message: r, variant: "info", ...n }),
187
- [i]
188
- ), C = a(
189
- (r, n) => i({ message: r, variant: "success", ...n }),
190
- [i]
191
- ), L = a(
192
- (r, n) => i({ message: r, variant: "warning", ...n }),
193
- [i]
194
- ), x = a(
195
- (r, n) => i({ message: r, variant: "error", ...n }),
196
- [i]
197
- ), M = {
198
- toast: i,
199
- info: k,
200
- success: C,
201
- warning: L,
202
- error: x,
203
- dismiss: m,
204
- dismissAll: v
205
- }, T = [o.container, o[u]].filter(Boolean).join(" ");
206
- return /* @__PURE__ */ l(w.Provider, { value: M, children: [
207
- e,
208
- s.length > 0 && y(
209
- /* @__PURE__ */ t("div", { className: T, "aria-label": "Notifications", children: s.map((r) => /* @__PURE__ */ t(
210
- I,
211
- {
212
- toast: r,
213
- onDismiss: m
214
- },
215
- r.id
216
- )) }),
217
- document.body
218
- )
219
- ] });
220
- };
221
- D.displayName = "ToastProvider";
222
- export {
223
- D as ToastProvider,
224
- $ as useToast
225
- };
package/dist/index77.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react/jsx-runtime"),l=require("react"),t=require("./index101.cjs"),u=l.forwardRef(({pressed:o,defaultPressed:c=!1,onPressedChange:a,variant:d="default",size:i="md",disabled:f,className:g,children:m,onClick:n,...b},T)=>{const[j,p]=l.useState(c),s=o!==void 0,e=s?o:j,y=l.useCallback(x=>{const r=!e;s||p(r),a?.(r),n?.(x)},[e,s,a,n]),q=[t.default.toggle,t.default[d],t.default[i],e&&t.default.pressed,g].filter(Boolean).join(" ");return N.jsx("button",{ref:T,type:"button",className:q,"aria-pressed":e,disabled:f,onClick:y,...b,children:m})});u.displayName="Toggle";exports.Toggle=u;
package/dist/index77.mjs DELETED
@@ -1,48 +0,0 @@
1
- import { jsx as j } from "react/jsx-runtime";
2
- import { forwardRef as k, useState as C, useCallback as P } from "react";
3
- import s from "./index101.mjs";
4
- const T = k(
5
- ({
6
- pressed: o,
7
- defaultPressed: n = !1,
8
- onPressedChange: l,
9
- variant: i = "default",
10
- size: c = "md",
11
- disabled: d,
12
- className: m,
13
- children: f,
14
- onClick: r,
15
- ...p
16
- }, u) => {
17
- const [g, b] = C(n), t = o !== void 0, e = t ? o : g, x = P(
18
- (N) => {
19
- const a = !e;
20
- t || b(a), l?.(a), r?.(N);
21
- },
22
- [e, t, l, r]
23
- ), y = [
24
- s.toggle,
25
- s[i],
26
- s[c],
27
- e && s.pressed,
28
- m
29
- ].filter(Boolean).join(" ");
30
- return /* @__PURE__ */ j(
31
- "button",
32
- {
33
- ref: u,
34
- type: "button",
35
- className: y,
36
- "aria-pressed": e,
37
- disabled: d,
38
- onClick: x,
39
- ...p,
40
- children: f
41
- }
42
- );
43
- }
44
- );
45
- T.displayName = "Toggle";
46
- export {
47
- T as Toggle
48
- };
package/dist/index78.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react/jsx-runtime"),n=require("react"),a=require("./index180.cjs"),j=n.createContext(null);function q(){const t=n.useContext(j);if(!t)throw new Error("ToggleGroup.Item must be used within a ToggleGroup");return t}const A=n.forwardRef(({value:t,disabled:c,className:y,children:g,...d},f)=>{const{type:I,value:b,onItemToggle:x,variant:h,size:s,disabled:p}=q(),m=b.includes(t),T=c||p,u=[a.default.item,m&&a.default.itemPressed,y].filter(Boolean).join(" ");return G.jsx("button",{ref:f,type:"button",className:u,"aria-pressed":m,disabled:T,onClick:()=>x(t),...d,children:g})});A.displayName="ToggleGroup.Item";const R=n.forwardRef(({type:t,value:c,defaultValue:y,onValueChange:g,variant:d="default",size:f="md",disabled:I=!1,className:b,children:x,...h},s)=>{const p=e=>e===void 0?[]:Array.isArray(e)?e:[e],[m,T]=n.useState(p(y)),u=c!==void 0,i=u?p(c):m,k=n.useRef(null),C=n.useCallback(e=>{let o;i.includes(e)?o=i.filter(r=>r!==e):t==="multiple"?o=[...i,e]:o=[e],u||T(o),g?.(t==="single"?o[0]??"":o)},[i,t,u,g]),v=n.useCallback(e=>{const o=k.current;if(!o)return;const r=Array.from(o.querySelectorAll("button:not(:disabled)")),w=r.indexOf(e.target);if(w===-1)return;let l;e.key==="ArrowRight"||e.key==="ArrowDown"?l=(w+1)%r.length:e.key==="ArrowLeft"||e.key==="ArrowUp"?l=(w-1+r.length)%r.length:e.key==="Home"?l=0:e.key==="End"&&(l=r.length-1),l!==void 0&&(e.preventDefault(),r[l]?.focus())},[]),D=[a.default.group,a.default[d],a.default[f],b].filter(Boolean).join(" "),N={type:t,value:i,onItemToggle:C,variant:d,size:f,disabled:I};return G.jsx(j.Provider,{value:N,children:G.jsx("div",{ref:e=>{k.current=e,typeof s=="function"?s(e):s&&(s.current=e)},role:"group",className:D,onKeyDown:v,...h,children:x})})});R.displayName="ToggleGroup";const P=Object.assign(R,{Item:A});exports.ToggleGroup=P;
package/dist/index78.mjs DELETED
@@ -1,101 +0,0 @@
1
- import { jsx as w } from "react/jsx-runtime";
2
- import { forwardRef as A, useState as _, useRef as z, useCallback as k, createContext as B, useContext as E } from "react";
3
- import u from "./index180.mjs";
4
- const C = B(null);
5
- function K() {
6
- const t = E(C);
7
- if (!t)
8
- throw new Error("ToggleGroup.Item must be used within a ToggleGroup");
9
- return t;
10
- }
11
- const D = A(
12
- ({ value: t, disabled: a, className: p, children: c, ...g }, d) => {
13
- const {
14
- type: I,
15
- value: y,
16
- onItemToggle: x,
17
- variant: h,
18
- size: s,
19
- disabled: f
20
- } = K(), m = y.includes(t), b = a || f, l = [u.item, m && u.itemPressed, p].filter(Boolean).join(" ");
21
- return /* @__PURE__ */ w(
22
- "button",
23
- {
24
- ref: d,
25
- type: "button",
26
- className: l,
27
- "aria-pressed": m,
28
- disabled: b,
29
- onClick: () => x(t),
30
- ...g,
31
- children: c
32
- }
33
- );
34
- }
35
- );
36
- D.displayName = "ToggleGroup.Item";
37
- const N = A(
38
- ({
39
- type: t,
40
- value: a,
41
- defaultValue: p,
42
- onValueChange: c,
43
- variant: g = "default",
44
- size: d = "md",
45
- disabled: I = !1,
46
- className: y,
47
- children: x,
48
- ...h
49
- }, s) => {
50
- const f = (e) => e === void 0 ? [] : Array.isArray(e) ? e : [e], [m, b] = _(
51
- f(p)
52
- ), l = a !== void 0, i = l ? f(a) : m, G = z(null), v = k(
53
- (e) => {
54
- let o;
55
- i.includes(e) ? o = i.filter((r) => r !== e) : t === "multiple" ? o = [...i, e] : o = [e], l || b(o), c?.(t === "single" ? o[0] ?? "" : o);
56
- },
57
- [i, t, l, c]
58
- ), R = k(
59
- (e) => {
60
- const o = G.current;
61
- if (!o) return;
62
- const r = Array.from(
63
- o.querySelectorAll(
64
- "button:not(:disabled)"
65
- )
66
- ), T = r.indexOf(e.target);
67
- if (T === -1) return;
68
- let n;
69
- e.key === "ArrowRight" || e.key === "ArrowDown" ? n = (T + 1) % r.length : e.key === "ArrowLeft" || e.key === "ArrowUp" ? n = (T - 1 + r.length) % r.length : e.key === "Home" ? n = 0 : e.key === "End" && (n = r.length - 1), n !== void 0 && (e.preventDefault(), r[n]?.focus());
70
- },
71
- []
72
- ), j = [u.group, u[g], u[d], y].filter(Boolean).join(" "), P = {
73
- type: t,
74
- value: i,
75
- onItemToggle: v,
76
- variant: g,
77
- size: d,
78
- disabled: I
79
- };
80
- return /* @__PURE__ */ w(C.Provider, { value: P, children: /* @__PURE__ */ w(
81
- "div",
82
- {
83
- ref: (e) => {
84
- G.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
85
- },
86
- role: "group",
87
- className: j,
88
- onKeyDown: R,
89
- ...h,
90
- children: x
91
- }
92
- ) });
93
- }
94
- );
95
- N.displayName = "ToggleGroup";
96
- const H = Object.assign(N, {
97
- Item: D
98
- });
99
- export {
100
- H as ToggleGroup
101
- };
package/dist/index79.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),t=require("react"),o=require("./index107.cjs"),r=({content:u,placement:a="top",delay:c=200,disabled:s=!1,children:l,className:f})=>{const[d,e]=t.useState(!1),n=t.useRef(void 0),m=()=>{s||(n.current=setTimeout(()=>{e(!0)},c))},p=()=>{n.current&&clearTimeout(n.current),e(!1)},v=()=>{s||e(!0)},T=()=>{e(!1)},j=[o.default.tooltip,o.default[a],f].filter(Boolean).join(" "),h=t.isValidElement(l)?t.cloneElement(l,{onMouseEnter:m,onMouseLeave:p,onFocus:v,onBlur:T}):l;return i.jsxs("div",{className:o.default.container,children:[h,d&&!s&&i.jsxs("div",{className:j,role:"tooltip",children:[u,i.jsx("div",{className:o.default.arrow})]})]})};r.displayName="Tooltip";exports.Tooltip=r;
package/dist/index79.mjs DELETED
@@ -1,39 +0,0 @@
1
- import { jsxs as l, jsx as E } from "react/jsx-runtime";
2
- import { useState as M, useRef as N, isValidElement as T, cloneElement as j } from "react";
3
- import o from "./index107.mjs";
4
- const x = ({
5
- content: r,
6
- placement: i = "top",
7
- delay: a = 200,
8
- disabled: t = !1,
9
- children: s,
10
- className: c
11
- }) => {
12
- const [u, e] = M(!1), n = N(void 0), m = () => {
13
- t || (n.current = setTimeout(() => {
14
- e(!0);
15
- }, a));
16
- }, f = () => {
17
- n.current && clearTimeout(n.current), e(!1);
18
- }, p = () => {
19
- t || e(!0);
20
- }, d = () => {
21
- e(!1);
22
- }, v = [o.tooltip, o[i], c].filter(Boolean).join(" "), h = T(s) ? j(s, {
23
- onMouseEnter: m,
24
- onMouseLeave: f,
25
- onFocus: p,
26
- onBlur: d
27
- }) : s;
28
- return /* @__PURE__ */ l("div", { className: o.container, children: [
29
- h,
30
- u && !t && /* @__PURE__ */ l("div", { className: v, role: "tooltip", children: [
31
- r,
32
- /* @__PURE__ */ E("div", { className: o.arrow })
33
- ] })
34
- ] });
35
- };
36
- x.displayName = "Tooltip";
37
- export {
38
- x as Tooltip
39
- };
package/dist/index8.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),l=require("lucide-react"),s=require("./index139.cjs"),b={success:e.jsx(l.CheckCircle,{size:20}),error:e.jsx(l.XCircle,{size:20}),warning:e.jsx(l.AlertTriangle,{size:20}),info:e.jsx(l.Info,{size:20}),inverse:e.jsx(l.Info,{size:20})},u=({variant:t="info",title:a,dismissible:d=!1,onClose:f,icon:i,className:n,children:o,...j})=>{const[m,x]=r.useState(!0),h=()=>{x(!1),f?.()},N=r.useMemo(()=>[s.default.alert,s.default[t],n].filter(Boolean).join(" "),[t,n]),c=r.useMemo(()=>i!==void 0?i:b[t],[i,t]);return m?e.jsxs("div",{className:N,role:"alert",...j,children:[c&&e.jsx("div",{className:s.default.icon,"aria-hidden":"true",children:c}),e.jsxs("div",{className:s.default.content,children:[a&&e.jsx("div",{className:s.default.title,children:a}),o&&e.jsx("div",{className:s.default.message,children:o})]}),d&&e.jsx("button",{type:"button",className:s.default.closeButton,onClick:h,"aria-label":"Close alert",children:e.jsx(l.X,{size:18,"aria-hidden":"true"})})]}):null};u.displayName="Alert";exports.Alert=u;
package/dist/index8.mjs DELETED
@@ -1,51 +0,0 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { useState as z, useMemo as c } from "react";
3
- import { X as b, Info as d, AlertTriangle as v, XCircle as y, CheckCircle as A } from "lucide-react";
4
- import s from "./index139.mjs";
5
- const I = {
6
- success: /* @__PURE__ */ e(A, { size: 20 }),
7
- error: /* @__PURE__ */ e(y, { size: 20 }),
8
- warning: /* @__PURE__ */ e(v, { size: 20 }),
9
- info: /* @__PURE__ */ e(d, { size: 20 }),
10
- inverse: /* @__PURE__ */ e(d, { size: 20 })
11
- }, g = ({
12
- variant: i = "info",
13
- title: r,
14
- dismissible: m = !1,
15
- onClose: u,
16
- icon: l,
17
- className: o,
18
- children: t,
19
- ...f
20
- }) => {
21
- const [h, p] = z(!0), N = () => {
22
- p(!1), u?.();
23
- }, C = c(
24
- () => [s.alert, s[i], o].filter(Boolean).join(" "),
25
- [i, o]
26
- ), n = c(
27
- () => l !== void 0 ? l : I[i],
28
- [l, i]
29
- );
30
- return h ? /* @__PURE__ */ a("div", { className: C, role: "alert", ...f, children: [
31
- n && /* @__PURE__ */ e("div", { className: s.icon, "aria-hidden": "true", children: n }),
32
- /* @__PURE__ */ a("div", { className: s.content, children: [
33
- r && /* @__PURE__ */ e("div", { className: s.title, children: r }),
34
- t && /* @__PURE__ */ e("div", { className: s.message, children: t })
35
- ] }),
36
- m && /* @__PURE__ */ e(
37
- "button",
38
- {
39
- type: "button",
40
- className: s.closeButton,
41
- onClick: N,
42
- "aria-label": "Close alert",
43
- children: /* @__PURE__ */ e(b, { size: 18, "aria-hidden": "true" })
44
- }
45
- )
46
- ] }) : null;
47
- };
48
- g.displayName = "Alert";
49
- export {
50
- g as Alert
51
- };
package/dist/index80.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),S=require("lucide-react"),e=require("./index154.cjs"),L={online:"var(--text-success)",away:"var(--text-warning)",busy:"var(--text-error)",offline:"var(--text-tertiary)"},x=c.forwardRef(({user:n,sections:f,open:o,onOpenChange:v,trigger:m,align:g="end",placement:N="bottom",showHeader:b=!0,compact:h=!1,fullWidth:C=!1,className:w,...y},I)=>{const[k,E]=c.useState(!1),u=c.useRef(null),i=c.useRef(null),l=o!==void 0?o:k,d=t=>{o===void 0&&E(t),v?.(t)};c.useEffect(()=>{const t=r=>{u.current&&!u.current.contains(r.target)&&i.current&&!i.current.contains(r.target)&&d(!1)};if(l)return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[l]),c.useEffect(()=>{const t=r=>{r.key==="Escape"&&l&&(d(!1),i.current?.focus())};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[l]);const R=t=>{t.disabled||(t.onClick?.(),d(!1))},p=t=>t.split(" ").map(r=>r[0]).join("").toUpperCase().slice(0,2),M=[e.default.userMenu,C&&e.default.userMenuFullWidth,w].filter(Boolean).join(" "),B=[e.default.trigger,h&&e.default.triggerCompact].filter(Boolean).join(" "),O=[e.default.dropdown,l&&e.default.dropdownOpen,g==="start"&&e.default.dropdownStart,N==="top"&&e.default.dropdownTop].filter(Boolean).join(" ");return a.jsxs("div",{ref:I,className:M,...y,children:[m?a.jsx("div",{onClick:()=>d(!l),children:m}):a.jsxs("button",{ref:i,type:"button",className:B,onClick:()=>d(!l),"aria-expanded":l,"aria-haspopup":"true",children:[a.jsxs("div",{className:e.default.avatar,children:[n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)}),n.status&&a.jsx("span",{className:e.default.statusIndicator,style:{backgroundColor:L[n.status]}})]}),!h&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:e.default.triggerInfo,children:[a.jsx("span",{className:e.default.triggerName,children:n.name}),n.role&&a.jsx("span",{className:e.default.triggerRole,children:n.role})]}),a.jsx(S.ChevronDown,{size:16,className:`${e.default.chevron} ${l?e.default.chevronOpen:""}`})]})]}),a.jsxs("div",{ref:u,className:O,role:"menu",children:[b&&a.jsxs("div",{className:e.default.header,children:[a.jsx("div",{className:e.default.headerAvatar,children:n.avatar?a.jsx("img",{src:n.avatar,alt:n.name,className:e.default.avatarImage}):a.jsx("span",{className:e.default.avatarInitials,children:n.initials||p(n.name)})}),a.jsxs("div",{className:e.default.headerInfo,children:[a.jsx("span",{className:e.default.headerName,children:n.name}),n.email&&a.jsx("span",{className:e.default.headerEmail,children:n.email})]})]}),f.map((t,r)=>a.jsxs("div",{className:e.default.section,children:[t.label&&a.jsx("div",{className:e.default.sectionLabel,children:t.label}),t.items.map(s=>{const j=[e.default.item,s.danger&&e.default.itemDanger,s.disabled&&e.default.itemDisabled].filter(Boolean).join(" ");return s.href&&!s.disabled?a.jsxs("a",{href:s.href,className:j,role:"menuitem",onClick:()=>d(!1),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id):a.jsxs("button",{type:"button",className:j,role:"menuitem",disabled:s.disabled,onClick:()=>R(s),children:[s.icon&&a.jsx("span",{className:e.default.itemIcon,children:s.icon}),a.jsx("span",{children:s.label}),s.badge!==void 0&&a.jsx("span",{className:e.default.itemBadge,children:s.badge}),s.shortcut&&a.jsx("span",{className:e.default.itemShortcut,children:s.shortcut})]},s.id)}),r<f.length-1&&a.jsx("div",{className:e.default.divider})]},t.id))]})]})});x.displayName="UserMenu";exports.UserMenu=x;