@orion-ds/react 4.2.3 → 4.2.5

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 (383) hide show
  1. package/dist/components/Accordion/Accordion.module.css +1 -0
  2. package/dist/components/ActivityFeed/ActivityFeed.module.css +1 -0
  3. package/dist/components/AgentCard/AgentCard.module.css +1 -0
  4. package/dist/components/Alert/Alert.module.css +1 -0
  5. package/dist/components/AlertDialog/AlertDialog.module.css +1 -0
  6. package/dist/components/Avatar/Avatar.module.css +1 -0
  7. package/dist/components/Badge/Badge.module.css +1 -0
  8. package/dist/components/Banner/Banner.module.css +1 -0
  9. package/dist/components/Breadcrumb/Breadcrumb.module.css +1 -0
  10. package/dist/components/Button/Button.module.css +1 -0
  11. package/dist/components/Calendar/Calendar.module.css +1 -0
  12. package/dist/components/Card/Card.module.css +1 -0
  13. package/dist/components/Carousel/Carousel.module.css +1 -0
  14. package/dist/components/Chart/Chart.module.css +1 -0
  15. package/dist/components/Chat/Chat.module.css +1 -0
  16. package/dist/components/Checkbox/Checkbox.module.css +1 -0
  17. package/dist/components/Chip/Chip.module.css +1 -0
  18. package/dist/components/CodeEditor/CodeEditor.module.css +1 -0
  19. package/dist/components/Collapsible/Collapsible.module.css +1 -0
  20. package/dist/components/CollapsibleFolder/CollapsibleFolder.module.css +1 -0
  21. package/dist/components/Combobox/Combobox.module.css +1 -0
  22. package/dist/components/Command/Command.module.css +1 -0
  23. package/dist/components/CommandBar/CommandBar.module.css +1 -0
  24. package/dist/components/DataTable/DataTable.module.css +1 -0
  25. package/dist/components/DatePicker/DatePicker.module.css +1 -0
  26. package/dist/components/DetailPanel/DetailPanel.module.css +1 -0
  27. package/dist/components/Divider/Divider.module.css +1 -0
  28. package/dist/components/Drawer/Drawer.module.css +1 -0
  29. package/dist/components/Dropdown/Dropdown.module.css +1 -0
  30. package/dist/components/EmptyState/EmptyState.module.css +1 -0
  31. package/dist/components/ErrorBoundary/ErrorBoundary.module.css +1 -0
  32. package/dist/components/Field/Field.module.css +1 -0
  33. package/dist/components/FileUploader/FileUploader.module.css +1 -0
  34. package/dist/components/FilterBar/FilterBar.module.css +1 -0
  35. package/dist/components/FormSection/FormSection.module.css +1 -0
  36. package/dist/components/Icon/Icon.module.css +1 -0
  37. package/dist/components/IconGallery/IconGallery.module.css +1 -0
  38. package/dist/components/InputOTP/InputOTP.module.css +1 -0
  39. package/dist/components/KanbanBoard/KanbanBoard.module.css +1 -0
  40. package/dist/components/Link/Link.module.css +1 -0
  41. package/dist/components/List/List.module.css +1 -0
  42. package/dist/components/MetricCards/MetricCards.module.css +1 -0
  43. package/dist/components/Modal/Modal.module.css +1 -0
  44. package/dist/components/NavTree/NavTree.module.css +1 -0
  45. package/dist/components/Navbar/Navbar.module.css +1 -0
  46. package/dist/components/NotificationCenter/NotificationCenter.module.css +1 -0
  47. package/dist/components/PageHeader/PageHeader.module.css +1 -0
  48. package/dist/components/Pagination/Pagination.module.css +1 -0
  49. package/dist/components/Popover/Popover.module.css +1 -0
  50. package/dist/components/ProgressBar/ProgressBar.module.css +1 -0
  51. package/dist/components/QuickActions/QuickActions.module.css +1 -0
  52. package/dist/components/Radio/Radio.module.css +1 -0
  53. package/dist/components/SearchInput/SearchInput.module.css +1 -0
  54. package/dist/components/Select/Select.module.css +1 -0
  55. package/dist/components/Sidebar/Sidebar.module.css +1 -0
  56. package/dist/components/Skeleton/Skeleton.module.css +1 -0
  57. package/dist/components/Slider/Slider.module.css +1 -0
  58. package/dist/components/Spinner/Spinner.module.css +1 -0
  59. package/dist/components/Stepper/Stepper.module.css +1 -0
  60. package/dist/components/Switch/Switch.module.css +1 -0
  61. package/dist/components/Table/Table.module.css +1 -0
  62. package/dist/components/Tabs/Tabs.module.css +1 -0
  63. package/dist/components/Textarea/Textarea.module.css +1 -0
  64. package/dist/components/Toast/Toast.module.css +1 -0
  65. package/dist/components/Toggle/Toggle.module.css +1 -0
  66. package/dist/components/ToggleGroup/ToggleGroup.module.css +1 -0
  67. package/dist/components/Tooltip/Tooltip.module.css +1 -0
  68. package/dist/components/UserMenu/UserMenu.module.css +1 -0
  69. package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.module.css +1 -0
  70. package/dist/index10.cjs +1 -1
  71. package/dist/index10.mjs +1 -1
  72. package/dist/index100.cjs +1 -1
  73. package/dist/index100.mjs +24 -20
  74. package/dist/index101.cjs +1 -1
  75. package/dist/index101.mjs +44 -42
  76. package/dist/index102.cjs +1 -1
  77. package/dist/index102.mjs +30 -62
  78. package/dist/index103.cjs +1 -1
  79. package/dist/index103.mjs +28 -30
  80. package/dist/index104.cjs +1 -1
  81. package/dist/index104.mjs +15 -35
  82. package/dist/index105.cjs +1 -1
  83. package/dist/index105.mjs +64 -30
  84. package/dist/index106.cjs +1 -1
  85. package/dist/index106.mjs +52 -45
  86. package/dist/index107.cjs +1 -1
  87. package/dist/index107.mjs +42 -18
  88. package/dist/index108.cjs +1 -1
  89. package/dist/index108.mjs +28 -28
  90. package/dist/index109.cjs +1 -1
  91. package/dist/index109.mjs +24 -14
  92. package/dist/index11.cjs +1 -1
  93. package/dist/index11.mjs +1 -1
  94. package/dist/index110.cjs +1 -1
  95. package/dist/index110.mjs +28 -46
  96. package/dist/index111.cjs +1 -1
  97. package/dist/index111.mjs +18 -24
  98. package/dist/index112.cjs +1 -1
  99. package/dist/index112.mjs +14 -46
  100. package/dist/index113.cjs +1 -1
  101. package/dist/index113.mjs +50 -42
  102. package/dist/index114.cjs +1 -1
  103. package/dist/index114.mjs +53 -18
  104. package/dist/index115.cjs +1 -1
  105. package/dist/index115.mjs +62 -22
  106. package/dist/index116.cjs +1 -1
  107. package/dist/index116.mjs +32 -32
  108. package/dist/index117.cjs +1 -1
  109. package/dist/index117.mjs +30 -20
  110. package/dist/index118.cjs +1 -1
  111. package/dist/index118.mjs +18 -32
  112. package/dist/index119.cjs +1 -1
  113. package/dist/index119.mjs +56 -52
  114. package/dist/index12.cjs +1 -1
  115. package/dist/index12.mjs +1 -1
  116. package/dist/index120.cjs +1 -1
  117. package/dist/index120.mjs +38 -20
  118. package/dist/index121.cjs +1 -1
  119. package/dist/index121.mjs +20 -18
  120. package/dist/index122.cjs +1 -1
  121. package/dist/index122.mjs +40 -32
  122. package/dist/index123.cjs +1 -1
  123. package/dist/index123.mjs +76 -30
  124. package/dist/index124.cjs +1 -1
  125. package/dist/index124.mjs +52 -24
  126. package/dist/index125.cjs +1 -1
  127. package/dist/index125.mjs +30 -28
  128. package/dist/index126.cjs +1 -1
  129. package/dist/index126.mjs +63 -36
  130. package/dist/index127.cjs +1 -1
  131. package/dist/index127.mjs +30 -38
  132. package/dist/index128.cjs +1 -1
  133. package/dist/index128.mjs +32 -40
  134. package/dist/index129.cjs +1 -1
  135. package/dist/index129.mjs +45 -40
  136. package/dist/index13.cjs +1 -1
  137. package/dist/index13.mjs +1 -1
  138. package/dist/index130.cjs +1 -1
  139. package/dist/index130.mjs +41 -35
  140. package/dist/index131.cjs +1 -1
  141. package/dist/index131.mjs +28 -44
  142. package/dist/index132.cjs +1 -1
  143. package/dist/index132.mjs +30 -16
  144. package/dist/index133.cjs +1 -1
  145. package/dist/index133.mjs +24 -28
  146. package/dist/index134.cjs +1 -1
  147. package/dist/index134.mjs +11 -21
  148. package/dist/index135.cjs +1 -1
  149. package/dist/index135.mjs +234 -28
  150. package/dist/index136.cjs +1 -1
  151. package/dist/index136.mjs +34 -56
  152. package/dist/index137.cjs +1 -1
  153. package/dist/index137.mjs +44 -57
  154. package/dist/index138.cjs +1 -1
  155. package/dist/index138.mjs +170 -33
  156. package/dist/index139.cjs +1 -1
  157. package/dist/index139.mjs +186 -47
  158. package/dist/index14.cjs +1 -1
  159. package/dist/index14.mjs +1 -1
  160. package/dist/index140.cjs +1 -1
  161. package/dist/index140.mjs +28 -36
  162. package/dist/index141.cjs +1 -1
  163. package/dist/index141.mjs +90 -28
  164. package/dist/index142.cjs +1 -1
  165. package/dist/index142.mjs +53 -68
  166. package/dist/index143.cjs +1 -1
  167. package/dist/index143.mjs +66 -52
  168. package/dist/index144.cjs +1 -1
  169. package/dist/index144.mjs +124 -62
  170. package/dist/index145.cjs +1 -1
  171. package/dist/index145.mjs +108 -234
  172. package/dist/index146.cjs +1 -1
  173. package/dist/index146.mjs +111 -33
  174. package/dist/index147.cjs +1 -1
  175. package/dist/index147.mjs +120 -41
  176. package/dist/index148.cjs +1 -1
  177. package/dist/index148.mjs +199 -155
  178. package/dist/index149.cjs +1 -1
  179. package/dist/index149.mjs +23 -186
  180. package/dist/index15.cjs +1 -1
  181. package/dist/index15.mjs +1 -1
  182. package/dist/index150.cjs +1 -1
  183. package/dist/index150.mjs +37 -29
  184. package/dist/index151.cjs +1 -1
  185. package/dist/index151.mjs +12 -90
  186. package/dist/index152.cjs +1 -1
  187. package/dist/index152.mjs +29 -53
  188. package/dist/index153.cjs +1 -1
  189. package/dist/index153.mjs +46 -66
  190. package/dist/index154.cjs +1 -1
  191. package/dist/index154.mjs +38 -124
  192. package/dist/index155.cjs +1 -1
  193. package/dist/index155.mjs +36 -108
  194. package/dist/index156.cjs +1 -1
  195. package/dist/index156.mjs +18 -111
  196. package/dist/index157.cjs +1 -1
  197. package/dist/index157.mjs +62 -122
  198. package/dist/index158.cjs +1 -1
  199. package/dist/index158.mjs +18 -214
  200. package/dist/index159.cjs +1 -1
  201. package/dist/index159.mjs +67 -64
  202. package/dist/index16.cjs +1 -1
  203. package/dist/index16.mjs +1 -1
  204. package/dist/index160.cjs +1 -1
  205. package/dist/index160.mjs +20 -57
  206. package/dist/index161.cjs +1 -1
  207. package/dist/index161.mjs +106 -27
  208. package/dist/index162.cjs +1 -1
  209. package/dist/index162.mjs +33 -28
  210. package/dist/index163.cjs +1 -1
  211. package/dist/index163.mjs +28 -18
  212. package/dist/index164.cjs +1 -1
  213. package/dist/index164.mjs +18 -24
  214. package/dist/index165.cjs +1 -1
  215. package/dist/index165.mjs +37 -51
  216. package/dist/index166.cjs +1 -1
  217. package/dist/index166.mjs +28 -64
  218. package/dist/index167.cjs +1 -1
  219. package/dist/index167.mjs +46 -33
  220. package/dist/index168.cjs +1 -1
  221. package/dist/index168.mjs +22 -30
  222. package/dist/index169.cjs +1 -1
  223. package/dist/index169.mjs +40 -42
  224. package/dist/index17.cjs +1 -1
  225. package/dist/index17.mjs +1 -1
  226. package/dist/index170.cjs +1 -1
  227. package/dist/index170.mjs +20 -12
  228. package/dist/index171.cjs +1 -1
  229. package/dist/index171.mjs +42 -44
  230. package/dist/index172.cjs +1 -1
  231. package/dist/index172.mjs +64 -40
  232. package/dist/index173.cjs +1 -1
  233. package/dist/index173.mjs +55 -28
  234. package/dist/index174.cjs +1 -1
  235. package/dist/index174.mjs +26 -76
  236. package/dist/index175.cjs +1 -1
  237. package/dist/index175.mjs +44 -106
  238. package/dist/index176.cjs +1 -1
  239. package/dist/index176.mjs +28 -26
  240. package/dist/index177.cjs +1 -1
  241. package/dist/index177.mjs +32 -29
  242. package/dist/index178.cjs +1 -1
  243. package/dist/index178.mjs +32 -12
  244. package/dist/index179.cjs +1 -1
  245. package/dist/index179.mjs +44 -16
  246. package/dist/index18.cjs +1 -1
  247. package/dist/index18.mjs +1 -1
  248. package/dist/index180.cjs +1 -1
  249. package/dist/index180.mjs +55 -51
  250. package/dist/index181.cjs +1 -1
  251. package/dist/index181.mjs +27 -65
  252. package/dist/index185.cjs +1 -1
  253. package/dist/index185.mjs +1 -1
  254. package/dist/index19.cjs +1 -1
  255. package/dist/index19.mjs +2 -2
  256. package/dist/index20.cjs +1 -1
  257. package/dist/index20.mjs +14 -14
  258. package/dist/index21.cjs +1 -1
  259. package/dist/index21.mjs +1 -1
  260. package/dist/index22.cjs +1 -1
  261. package/dist/index22.mjs +1 -1
  262. package/dist/index23.cjs +1 -1
  263. package/dist/index23.mjs +1 -1
  264. package/dist/index24.cjs +1 -1
  265. package/dist/index24.mjs +1 -1
  266. package/dist/index25.cjs +1 -1
  267. package/dist/index25.mjs +1 -1
  268. package/dist/index26.cjs +1 -1
  269. package/dist/index26.mjs +1 -1
  270. package/dist/index27.cjs +1 -1
  271. package/dist/index27.mjs +1 -1
  272. package/dist/index28.cjs +1 -1
  273. package/dist/index28.mjs +1 -1
  274. package/dist/index30.cjs +1 -1
  275. package/dist/index30.mjs +1 -1
  276. package/dist/index31.cjs +1 -1
  277. package/dist/index31.mjs +1 -1
  278. package/dist/index32.cjs +1 -1
  279. package/dist/index32.mjs +1 -1
  280. package/dist/index33.cjs +1 -1
  281. package/dist/index33.mjs +1 -1
  282. package/dist/index34.cjs +1 -1
  283. package/dist/index34.mjs +1 -1
  284. package/dist/index35.cjs +1 -1
  285. package/dist/index35.mjs +1 -1
  286. package/dist/index36.cjs +1 -1
  287. package/dist/index36.mjs +1 -1
  288. package/dist/index37.cjs +1 -1
  289. package/dist/index37.mjs +1 -1
  290. package/dist/index38.cjs +1 -1
  291. package/dist/index38.mjs +1 -1
  292. package/dist/index39.cjs +1 -1
  293. package/dist/index39.mjs +1 -1
  294. package/dist/index40.cjs +1 -1
  295. package/dist/index40.mjs +1 -1
  296. package/dist/index42.cjs +1 -1
  297. package/dist/index42.mjs +1 -1
  298. package/dist/index43.cjs +1 -1
  299. package/dist/index43.mjs +1 -1
  300. package/dist/index44.cjs +1 -1
  301. package/dist/index44.mjs +1 -1
  302. package/dist/index46.cjs +1 -1
  303. package/dist/index46.mjs +1 -1
  304. package/dist/index47.cjs +1 -1
  305. package/dist/index47.mjs +1 -1
  306. package/dist/index49.cjs +1 -1
  307. package/dist/index49.mjs +1 -1
  308. package/dist/index5.cjs +1 -1
  309. package/dist/index5.mjs +1 -1
  310. package/dist/index50.cjs +1 -1
  311. package/dist/index50.mjs +1 -1
  312. package/dist/index51.cjs +1 -1
  313. package/dist/index51.mjs +1 -1
  314. package/dist/index52.cjs +1 -1
  315. package/dist/index52.mjs +1 -1
  316. package/dist/index53.cjs +1 -1
  317. package/dist/index53.mjs +1 -1
  318. package/dist/index54.cjs +1 -1
  319. package/dist/index54.mjs +1 -1
  320. package/dist/index55.cjs +1 -1
  321. package/dist/index55.mjs +1 -1
  322. package/dist/index56.cjs +1 -1
  323. package/dist/index56.mjs +1 -1
  324. package/dist/index57.cjs +1 -1
  325. package/dist/index57.mjs +1 -1
  326. package/dist/index58.cjs +1 -1
  327. package/dist/index58.mjs +1 -1
  328. package/dist/index59.cjs +1 -1
  329. package/dist/index59.mjs +1 -1
  330. package/dist/index6.cjs +1 -1
  331. package/dist/index6.mjs +1 -1
  332. package/dist/index60.cjs +1 -1
  333. package/dist/index60.mjs +1 -1
  334. package/dist/index61.cjs +1 -1
  335. package/dist/index61.mjs +1 -1
  336. package/dist/index62.cjs +1 -1
  337. package/dist/index62.mjs +1 -1
  338. package/dist/index64.cjs +1 -1
  339. package/dist/index64.mjs +1 -1
  340. package/dist/index65.cjs +1 -1
  341. package/dist/index65.mjs +1 -1
  342. package/dist/index66.cjs +1 -1
  343. package/dist/index66.mjs +1 -1
  344. package/dist/index67.cjs +1 -1
  345. package/dist/index67.mjs +1 -1
  346. package/dist/index68.cjs +1 -1
  347. package/dist/index68.mjs +1 -1
  348. package/dist/index69.cjs +1 -1
  349. package/dist/index69.mjs +1 -1
  350. package/dist/index7.cjs +1 -1
  351. package/dist/index7.mjs +1 -1
  352. package/dist/index70.cjs +1 -1
  353. package/dist/index70.mjs +1 -1
  354. package/dist/index71.cjs +1 -1
  355. package/dist/index71.mjs +1 -1
  356. package/dist/index72.cjs +1 -1
  357. package/dist/index72.mjs +1 -1
  358. package/dist/index73.cjs +1 -1
  359. package/dist/index73.mjs +1 -1
  360. package/dist/index76.cjs +1 -1
  361. package/dist/index76.mjs +1 -1
  362. package/dist/index77.cjs +1 -1
  363. package/dist/index77.mjs +1 -1
  364. package/dist/index78.cjs +1 -1
  365. package/dist/index78.mjs +1 -1
  366. package/dist/index79.cjs +1 -1
  367. package/dist/index79.mjs +1 -1
  368. package/dist/index8.cjs +1 -1
  369. package/dist/index8.mjs +1 -1
  370. package/dist/index80.cjs +1 -1
  371. package/dist/index80.mjs +1 -1
  372. package/dist/index81.cjs +1 -1
  373. package/dist/index81.mjs +1 -1
  374. package/dist/index9.cjs +1 -1
  375. package/dist/index9.mjs +1 -1
  376. package/dist/index99.cjs +1 -1
  377. package/dist/index99.mjs +40 -28
  378. package/dist/sections/Container/Container.module.css +1 -0
  379. package/dist/sections/Section/Section.module.css +1 -0
  380. package/dist/styles/marker.css +1 -0
  381. package/dist/styles.css +159 -1
  382. package/package.json +1 -1
  383. package/dist/react.css +0 -1
package/dist/index157.mjs CHANGED
@@ -1,125 +1,65 @@
1
- import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
- import { X as u, FileText as P, Code as w, Music as z, Image as y } from "lucide-react";
3
- import { ChatImagePreview as C } from "./index153.mjs";
4
- import { ChatAudioPlayer as N } from "./index154.mjs";
5
- import { ChatCodeBlock as I } from "./index151.mjs";
6
- import { formatFileSize as k } from "./index184.mjs";
7
- import t from "./index145.mjs";
8
- const x = (d) => {
9
- switch (d) {
10
- case "image":
11
- return /* @__PURE__ */ e(y, { size: 18 });
12
- case "audio":
13
- return /* @__PURE__ */ e(z, { size: 18 });
14
- case "code":
15
- return /* @__PURE__ */ e(w, { size: 18 });
16
- default:
17
- return /* @__PURE__ */ e(P, { size: 18 });
18
- }
19
- }, $ = ({
20
- attachment: d,
21
- removable: h = !1,
22
- onRemove: a,
23
- onClick: n,
24
- className: s,
25
- ...c
26
- }) => {
27
- const { type: p, name: i, url: l, content: v, language: b, size: f, duration: m, thumbnail: g } = d;
28
- switch (p) {
29
- case "image":
30
- if (l)
31
- return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
32
- /* @__PURE__ */ e(
33
- C,
34
- {
35
- src: l,
36
- alt: i,
37
- thumbnail: g,
38
- onClick: n
39
- }
40
- ),
41
- h && a && /* @__PURE__ */ e(
42
- "button",
43
- {
44
- className: t.attachmentPreviewRemove,
45
- onClick: (r) => {
46
- r.stopPropagation(), a();
47
- },
48
- "aria-label": `Remove ${i}`,
49
- style: {
50
- position: "absolute",
51
- top: 4,
52
- right: 4,
53
- background: "var(--surface-base)"
54
- },
55
- children: /* @__PURE__ */ e(u, { size: 14 })
56
- }
57
- )
58
- ] });
59
- break;
60
- case "audio":
61
- if (l)
62
- return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
63
- /* @__PURE__ */ e(N, { src: l, duration: m, title: i }),
64
- h && a && /* @__PURE__ */ e(
65
- "button",
66
- {
67
- className: t.attachmentPreviewRemove,
68
- onClick: (r) => {
69
- r.stopPropagation(), a();
70
- },
71
- "aria-label": `Remove ${i}`,
72
- children: /* @__PURE__ */ e(u, { size: 14 })
73
- }
74
- )
75
- ] });
76
- break;
77
- case "code":
78
- if (v)
79
- return /* @__PURE__ */ e(
80
- I,
81
- {
82
- code: v,
83
- language: b,
84
- className: s,
85
- ...c
86
- }
87
- );
88
- break;
89
- }
90
- return /* @__PURE__ */ o(
91
- "div",
92
- {
93
- className: [t.attachmentPreview, s].filter(Boolean).join(" "),
94
- onClick: n,
95
- role: n ? "button" : void 0,
96
- tabIndex: n ? 0 : void 0,
97
- ...c,
98
- children: [
99
- /* @__PURE__ */ e("div", { className: t.attachmentPreviewIcon, children: x(p) }),
100
- /* @__PURE__ */ o("div", { className: t.attachmentPreviewInfo, children: [
101
- /* @__PURE__ */ e("span", { className: t.attachmentPreviewName, children: i }),
102
- f && /* @__PURE__ */ o("span", { className: t.attachmentPreviewMeta, children: [
103
- k(f),
104
- m && ` · ${Math.floor(m / 60)}:${(m % 60).toString().padStart(2, "0")}`
105
- ] })
106
- ] }),
107
- h && a && /* @__PURE__ */ e(
108
- "button",
109
- {
110
- className: t.attachmentPreviewRemove,
111
- onClick: (r) => {
112
- r.stopPropagation(), a();
113
- },
114
- "aria-label": `Remove ${i}`,
115
- children: /* @__PURE__ */ e(u, { size: 14 })
116
- }
117
- )
118
- ]
119
- }
120
- );
1
+ const e = "_navTree_6iya4_12", o = "_header_6iya4_29", n = "_footer_6iya4_36", t = "_treeContent_6iya4_47", _ = "_section_6iya4_76", i = "_sectionHeader_6iya4_81", s = "_sectionHeaderNode_6iya4_100", c = "_sectionChevron_6iya4_105", d = "_sectionChevronOpen_6iya4_117", a = "_sectionTitle_6iya4_122", r = "_sectionTitleNode_6iya4_136", y = "_sectionBody_6iya4_148", h = "_sectionActions_6iya4_154", v = "_node_6iya4_182", C = "_nodeRow_6iya4_187", l = "_nodeRowActive_6iya4_208", p = "_nodeLabel_6iya4_216", A = "_nodeChevron_6iya4_222", B = "_nodeChevronOpen_6iya4_238", H = "_nodeChevronHidden_6iya4_243", N = "_nodeActions_6iya4_277", O = "_nodeChildren_6iya4_311", T = "_nodeNested_6iya4_321", g = "_iconSlot_6iya4_330", w = "_slotIcon_6iya4_341", R = "_slotChevron_6iya4_352", f = "_slotChevronOpen_6iya4_364", b = "_sectionBadge_6iya4_403", m = "_nodeBadge_6iya4_418", I = "_empty_6iya4_435", L = {
2
+ navTree: e,
3
+ header: o,
4
+ footer: n,
5
+ treeContent: t,
6
+ section: _,
7
+ sectionHeader: i,
8
+ sectionHeaderNode: s,
9
+ sectionChevron: c,
10
+ sectionChevronOpen: d,
11
+ sectionTitle: a,
12
+ sectionTitleNode: r,
13
+ sectionBody: y,
14
+ sectionActions: h,
15
+ node: v,
16
+ nodeRow: C,
17
+ nodeRowActive: l,
18
+ nodeLabel: p,
19
+ nodeChevron: A,
20
+ nodeChevronOpen: B,
21
+ nodeChevronHidden: H,
22
+ nodeActions: N,
23
+ nodeChildren: O,
24
+ nodeNested: T,
25
+ iconSlot: g,
26
+ slotIcon: w,
27
+ slotChevron: R,
28
+ slotChevronOpen: f,
29
+ sectionBadge: b,
30
+ nodeBadge: m,
31
+ empty: I
121
32
  };
122
- $.displayName = "ChatAttachment";
123
33
  export {
124
- $ as ChatAttachment
34
+ L as default,
35
+ I as empty,
36
+ n as footer,
37
+ o as header,
38
+ g as iconSlot,
39
+ e as navTree,
40
+ v as node,
41
+ N as nodeActions,
42
+ m as nodeBadge,
43
+ A as nodeChevron,
44
+ H as nodeChevronHidden,
45
+ B as nodeChevronOpen,
46
+ O as nodeChildren,
47
+ p as nodeLabel,
48
+ T as nodeNested,
49
+ C as nodeRow,
50
+ l as nodeRowActive,
51
+ _ as section,
52
+ h as sectionActions,
53
+ b as sectionBadge,
54
+ y as sectionBody,
55
+ c as sectionChevron,
56
+ d as sectionChevronOpen,
57
+ i as sectionHeader,
58
+ s as sectionHeaderNode,
59
+ a as sectionTitle,
60
+ r as sectionTitleNode,
61
+ R as slotChevron,
62
+ f as slotChevronOpen,
63
+ w as slotIcon,
64
+ t as treeContent
125
65
  };
package/dist/index158.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("lucide-react"),t=require("./index145.cjs"),O={today:"Today",yesterday:"Yesterday",previous7:"Previous 7 days",previous30:"Previous 30 days",older:"Older"},y=["today","yesterday","previous7","previous30","older"],C=a=>{const r=new Date,u=(new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime()-new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime())/(1e3*60*60*24);return u<1?"today":u<2?"yesterday":u<7?"previous7":u<30?"previous30":"older"},P=a=>{const r=C(a);return r==="today"?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit"}).format(a):r==="yesterday"?"Yesterday":r==="previous7"?new Intl.DateTimeFormat("en-US",{weekday:"short"}).format(a):new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(a)},z=a=>{const r=new Map;return y.forEach(n=>r.set(n,[])),a.forEach(n=>{const b=C(n.updatedAt);r.get(b)?.push(n)}),r},S=({conversations:a=[],activeConversationId:r,onSelectConversation:n,onNewConversation:b,onDeleteConversation:u,onSearch:x,header:w,footer:N,collapsed:m=!1,onCollapsedChange:f,className:I,...D})=>{const[h,T]=d.useState(""),[p,j]=d.useState(null),o=d.useRef(void 0);d.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);const g=d.useMemo(()=>{if(!h.trim())return a;const s=h.toLowerCase();return a.filter(l=>l.title.toLowerCase().includes(s)||l.preview?.toLowerCase().includes(s))},[a,h]),v=d.useMemo(()=>z(g),[g]),B=d.useCallback(s=>{const l=s.target.value;T(l),x?.(l)},[x]),k=d.useCallback(s=>{n?.(s),m&&f&&f(!0)},[n,m,f]),F=d.useCallback((s,l)=>{s.stopPropagation(),p===l?(u?.(l),j(null),o.current&&clearTimeout(o.current)):(j(l),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{j(null)},3e3))},[p,u]),M=y.some(s=>(v.get(s)?.length??0)>0);return e.jsxs(e.Fragment,{children:[!m&&e.jsx("div",{className:t.default.sidebarOverlay,onClick:()=>f?.(!0),"aria-hidden":"true"}),e.jsxs("aside",{className:[t.default.sidebar,m&&t.default.sidebarCollapsed,!m&&t.default.sidebarOpen,I].filter(Boolean).join(" "),...D,children:[e.jsx("div",{className:t.default.sidebarHeader,children:w||e.jsxs(e.Fragment,{children:[e.jsx("button",{className:[t.default.inputButton,t.default.inputButtonPrimary,t.default.sidebarNewButton].filter(Boolean).join(" "),onClick:b,"aria-label":"New conversation",children:e.jsxs("span",{className:t.default.sidebarNewButtonInner,children:[e.jsx(c.Plus,{size:18}),e.jsx("span",{children:"New Chat"})]})}),e.jsx("button",{className:[t.default.inputButton,t.default.sidebarCloseButton].join(" "),onClick:()=>f?.(!0),"aria-label":"Close sidebar",children:e.jsx(c.X,{size:20})})]})}),e.jsx("div",{className:t.default.sidebarSearch,children:e.jsxs("div",{className:t.default.sidebarSearchWrapper,children:[e.jsx(c.Search,{size:16,className:t.default.sidebarSearchIcon}),e.jsx("input",{type:"search",className:[t.default.sidebarSearchInput,t.default.sidebarSearchInputWithIcon].join(" "),placeholder:"Search conversations...",value:h,onChange:B,"aria-label":"Search conversations"})]})}),e.jsx("div",{className:t.default.sidebarList,role:"list","aria-label":"Conversations",children:M?y.map(s=>{const l=v.get(s)??[];return l.length===0?null:e.jsxs("div",{children:[e.jsx("div",{className:t.default.sidebarGroupHeader,children:O[s]}),l.map(i=>e.jsxs("button",{className:[t.default.sidebarItem,i.id===r&&t.default.sidebarItemActive].filter(Boolean).join(" "),onClick:()=>k(i.id),role:"listitem","aria-selected":i.id===r,"aria-label":`Conversation: ${i.title}`,children:[e.jsx(c.MessageSquare,{size:18,className:t.default.sidebarItemIcon}),e.jsxs("div",{className:t.default.sidebarItemContent,children:[e.jsx("span",{className:t.default.sidebarItemTitle,children:i.title}),i.preview&&e.jsx("span",{className:t.default.sidebarItemPreview,children:i.preview})]}),e.jsx("span",{className:t.default.sidebarItemDate,children:P(i.updatedAt)}),u&&e.jsx("button",{className:t.default.sidebarItemDelete,onClick:q=>F(q,i.id),"aria-label":p===i.id?`Confirm delete ${i.title}`:`Delete ${i.title}`,children:p===i.id?e.jsx("span",{className:t.default.sidebarItemDeleteConfirm,children:"Delete?"}):e.jsx(c.Trash2,{size:16})})]},i.id))]},s)}):e.jsxs("div",{className:t.default.sidebarEmpty,children:[e.jsx(c.MessageSquare,{size:32,className:t.default.sidebarEmptyIcon}),e.jsx("p",{children:h?"No conversations found":"No conversations yet"})]})}),N&&e.jsx("div",{className:t.default.sidebarFooter,children:N})]})]})};S.displayName="ChatSidebar";exports.ChatSidebar=S;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_container_1tqko_8",o="_tooltip_1tqko_21",e="_tooltipFadeIn_1tqko_1",_="_arrow_1tqko_49",n="_top_1tqko_62",r="_bottom_1tqko_78",i="_left_1tqko_94",l="_right_1tqko_110",a={container:t,tooltip:o,tooltipFadeIn:e,arrow:_,top:n,bottom:r,left:i,right:l};exports.arrow=_;exports.bottom=r;exports.container=t;exports.default=a;exports.left=i;exports.right=l;exports.tooltip=o;exports.tooltipFadeIn=e;exports.top=n;
package/dist/index158.mjs CHANGED
@@ -1,217 +1,21 @@
1
- import { jsxs as l, Fragment as C, jsx as r } from "react/jsx-runtime";
2
- import { useState as D, useRef as Y, useEffect as x, useMemo as S, useCallback as y } from "react";
3
- import { Plus as A, X as U, Search as $, MessageSquare as T, Trash2 as q } from "lucide-react";
4
- import e from "./index145.mjs";
5
- const G = {
6
- today: "Today",
7
- yesterday: "Yesterday",
8
- previous7: "Previous 7 days",
9
- previous30: "Previous 30 days",
10
- older: "Older"
11
- }, N = [
12
- "today",
13
- "yesterday",
14
- "previous7",
15
- "previous30",
16
- "older"
17
- ], B = (t) => {
18
- const a = /* @__PURE__ */ new Date(), d = (new Date(
19
- a.getFullYear(),
20
- a.getMonth(),
21
- a.getDate()
22
- ).getTime() - new Date(t.getFullYear(), t.getMonth(), t.getDate()).getTime()) / (1e3 * 60 * 60 * 24);
23
- return d < 1 ? "today" : d < 2 ? "yesterday" : d < 7 ? "previous7" : d < 30 ? "previous30" : "older";
24
- }, H = (t) => {
25
- const a = B(t);
26
- return a === "today" ? new Intl.DateTimeFormat("en-US", {
27
- hour: "numeric",
28
- minute: "2-digit"
29
- }).format(t) : a === "yesterday" ? "Yesterday" : a === "previous7" ? new Intl.DateTimeFormat("en-US", {
30
- weekday: "short"
31
- }).format(t) : new Intl.DateTimeFormat("en-US", {
32
- month: "short",
33
- day: "numeric"
34
- }).format(t);
35
- }, Q = (t) => {
36
- const a = /* @__PURE__ */ new Map();
37
- return N.forEach((o) => a.set(o, [])), t.forEach((o) => {
38
- const f = B(o.updatedAt);
39
- a.get(f)?.push(o);
40
- }), a;
41
- }, R = ({
42
- conversations: t = [],
43
- activeConversationId: a,
44
- onSelectConversation: o,
45
- onNewConversation: f,
46
- onDeleteConversation: d,
47
- onSearch: g,
48
- header: j,
49
- footer: v,
50
- collapsed: u = !1,
51
- onCollapsedChange: m,
52
- className: k,
53
- ...F
54
- }) => {
55
- const [h, z] = D(""), [p, b] = D(null), c = Y(
56
- void 0
57
- );
58
- x(() => () => {
59
- c.current && clearTimeout(c.current);
60
- }, []);
61
- const w = S(() => {
62
- if (!h.trim()) return t;
63
- const s = h.toLowerCase();
64
- return t.filter(
65
- (n) => n.title.toLowerCase().includes(s) || n.preview?.toLowerCase().includes(s)
66
- );
67
- }, [t, h]), I = S(() => Q(w), [w]), O = y(
68
- (s) => {
69
- const n = s.target.value;
70
- z(n), g?.(n);
71
- },
72
- [g]
73
- ), P = y(
74
- (s) => {
75
- o?.(s), u && m && m(!0);
76
- },
77
- [o, u, m]
78
- ), E = y(
79
- (s, n) => {
80
- s.stopPropagation(), p === n ? (d?.(n), b(null), c.current && clearTimeout(c.current)) : (b(n), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
81
- b(null);
82
- }, 3e3));
83
- },
84
- [p, d]
85
- ), L = N.some(
86
- (s) => (I.get(s)?.length ?? 0) > 0
87
- );
88
- return /* @__PURE__ */ l(C, { children: [
89
- !u && /* @__PURE__ */ r(
90
- "div",
91
- {
92
- className: e.sidebarOverlay,
93
- onClick: () => m?.(!0),
94
- "aria-hidden": "true"
95
- }
96
- ),
97
- /* @__PURE__ */ l(
98
- "aside",
99
- {
100
- className: [
101
- e.sidebar,
102
- u && e.sidebarCollapsed,
103
- !u && e.sidebarOpen,
104
- k
105
- ].filter(Boolean).join(" "),
106
- ...F,
107
- children: [
108
- /* @__PURE__ */ r("div", { className: e.sidebarHeader, children: j || /* @__PURE__ */ l(C, { children: [
109
- /* @__PURE__ */ r(
110
- "button",
111
- {
112
- className: [
113
- e.inputButton,
114
- e.inputButtonPrimary,
115
- e.sidebarNewButton
116
- ].filter(Boolean).join(" "),
117
- onClick: f,
118
- "aria-label": "New conversation",
119
- children: /* @__PURE__ */ l("span", { className: e.sidebarNewButtonInner, children: [
120
- /* @__PURE__ */ r(A, { size: 18 }),
121
- /* @__PURE__ */ r("span", { children: "New Chat" })
122
- ] })
123
- }
124
- ),
125
- /* @__PURE__ */ r(
126
- "button",
127
- {
128
- className: [e.inputButton, e.sidebarCloseButton].join(
129
- " "
130
- ),
131
- onClick: () => m?.(!0),
132
- "aria-label": "Close sidebar",
133
- children: /* @__PURE__ */ r(U, { size: 20 })
134
- }
135
- )
136
- ] }) }),
137
- /* @__PURE__ */ r("div", { className: e.sidebarSearch, children: /* @__PURE__ */ l("div", { className: e.sidebarSearchWrapper, children: [
138
- /* @__PURE__ */ r($, { size: 16, className: e.sidebarSearchIcon }),
139
- /* @__PURE__ */ r(
140
- "input",
141
- {
142
- type: "search",
143
- className: [
144
- e.sidebarSearchInput,
145
- e.sidebarSearchInputWithIcon
146
- ].join(" "),
147
- placeholder: "Search conversations...",
148
- value: h,
149
- onChange: O,
150
- "aria-label": "Search conversations"
151
- }
152
- )
153
- ] }) }),
154
- /* @__PURE__ */ r(
155
- "div",
156
- {
157
- className: e.sidebarList,
158
- role: "list",
159
- "aria-label": "Conversations",
160
- children: L ? N.map((s) => {
161
- const n = I.get(s) ?? [];
162
- return n.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
163
- /* @__PURE__ */ r("div", { className: e.sidebarGroupHeader, children: G[s] }),
164
- n.map((i) => /* @__PURE__ */ l(
165
- "button",
166
- {
167
- className: [
168
- e.sidebarItem,
169
- i.id === a && e.sidebarItemActive
170
- ].filter(Boolean).join(" "),
171
- onClick: () => P(i.id),
172
- role: "listitem",
173
- "aria-selected": i.id === a,
174
- "aria-label": `Conversation: ${i.title}`,
175
- children: [
176
- /* @__PURE__ */ r(
177
- T,
178
- {
179
- size: 18,
180
- className: e.sidebarItemIcon
181
- }
182
- ),
183
- /* @__PURE__ */ l("div", { className: e.sidebarItemContent, children: [
184
- /* @__PURE__ */ r("span", { className: e.sidebarItemTitle, children: i.title }),
185
- i.preview && /* @__PURE__ */ r("span", { className: e.sidebarItemPreview, children: i.preview })
186
- ] }),
187
- /* @__PURE__ */ r("span", { className: e.sidebarItemDate, children: H(i.updatedAt) }),
188
- d && /* @__PURE__ */ r(
189
- "button",
190
- {
191
- className: e.sidebarItemDelete,
192
- onClick: (M) => E(M, i.id),
193
- "aria-label": p === i.id ? `Confirm delete ${i.title}` : `Delete ${i.title}`,
194
- children: p === i.id ? /* @__PURE__ */ r("span", { className: e.sidebarItemDeleteConfirm, children: "Delete?" }) : /* @__PURE__ */ r(q, { size: 16 })
195
- }
196
- )
197
- ]
198
- },
199
- i.id
200
- ))
201
- ] }, s);
202
- }) : /* @__PURE__ */ l("div", { className: e.sidebarEmpty, children: [
203
- /* @__PURE__ */ r(T, { size: 32, className: e.sidebarEmptyIcon }),
204
- /* @__PURE__ */ r("p", { children: h ? "No conversations found" : "No conversations yet" })
205
- ] })
206
- }
207
- ),
208
- v && /* @__PURE__ */ r("div", { className: e.sidebarFooter, children: v })
209
- ]
210
- }
211
- )
212
- ] });
1
+ const t = "_container_1tqko_8", o = "_tooltip_1tqko_21", _ = "_tooltipFadeIn_1tqko_1", n = "_arrow_1tqko_49", r = "_top_1tqko_62", c = "_bottom_1tqko_78", e = "_left_1tqko_94", i = "_right_1tqko_110", s = {
2
+ container: t,
3
+ tooltip: o,
4
+ tooltipFadeIn: _,
5
+ arrow: n,
6
+ top: r,
7
+ bottom: c,
8
+ left: e,
9
+ right: i
213
10
  };
214
- R.displayName = "ChatSidebar";
215
11
  export {
216
- R as ChatSidebar
12
+ n as arrow,
13
+ c as bottom,
14
+ t as container,
15
+ s as default,
16
+ e as left,
17
+ i as right,
18
+ o as tooltip,
19
+ _ as tooltipFadeIn,
20
+ r as top
217
21
  };
package/dist/index159.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_fileUploader_elcmy_8",o="_dropzone_elcmy_18",l="_dropzoneDragging_elcmy_40",r="_dropzoneDisabled_elcmy_45",n="_dropzoneError_elcmy_55",t="_input_elcmy_59",i="_dropzoneContent_elcmy_63",c="_dropzoneIcon_elcmy_71",_="_dropzonePlaceholder_elcmy_82",s="_dropzoneHints_elcmy_90",p="_dropzoneHint_elcmy_90",f="_helperText_elcmy_107",a="_helperTextError_elcmy_113",d="_fileList_elcmy_121",m="_fileItem_elcmy_130",z="_fileIcon_elcmy_139",y="_filePreview_elcmy_152",u="_fileInfo_elcmy_158",S="_fileName_elcmy_166",g="_fileSize_elcmy_176",I="_fileStatus_elcmy_182",h="_progressBar_elcmy_188",E="_progressFill_elcmy_196",v="_fileStatusIcon_elcmy_202",P="_spin_elcmy_1",T="_fileStatusSuccess_elcmy_207",x="_fileStatusError_elcmy_211",D="_fileRemove_elcmy_221",H="_minimal_elcmy_246",b="_card_elcmy_258",w="_compact_elcmy_273",B={fileUploader:e,dropzone:o,dropzoneDragging:l,dropzoneDisabled:r,dropzoneError:n,input:t,dropzoneContent:i,dropzoneIcon:c,dropzonePlaceholder:_,dropzoneHints:s,dropzoneHint:p,helperText:f,helperTextError:a,fileList:d,fileItem:m,fileIcon:z,filePreview:y,fileInfo:u,fileName:S,fileSize:g,fileStatus:I,progressBar:h,progressFill:E,fileStatusIcon:v,spin:P,fileStatusSuccess:T,fileStatusError:x,fileRemove:D,minimal:H,card:b,compact:w};exports.card=b;exports.compact=w;exports.default=B;exports.dropzone=o;exports.dropzoneContent=i;exports.dropzoneDisabled=r;exports.dropzoneDragging=l;exports.dropzoneError=n;exports.dropzoneHint=p;exports.dropzoneHints=s;exports.dropzoneIcon=c;exports.dropzonePlaceholder=_;exports.fileIcon=z;exports.fileInfo=u;exports.fileItem=m;exports.fileList=d;exports.fileName=S;exports.filePreview=y;exports.fileRemove=D;exports.fileSize=g;exports.fileStatus=I;exports.fileStatusError=x;exports.fileStatusIcon=v;exports.fileStatusSuccess=T;exports.fileUploader=e;exports.helperText=f;exports.helperTextError=a;exports.input=t;exports.minimal=H;exports.progressBar=h;exports.progressFill=E;exports.spin=P;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_notificationCenter_1i45p_8",t="_header_1i45p_23",i="_headerTitle_1i45p_31",o="_badge_1i45p_41",n="_headerActions_1i45p_52",_="_headerAction_1i45p_52",c="_content_1i45p_76",r="_group_1i45p_80",a="_groupTitle_1i45p_84",s="_item_1i45p_99",m="_itemClickable_1i45p_113",p="_itemRead_1i45p_122",d="_itemLeft_1i45p_126",l="_itemAvatar_1i45p_130",A="_itemIcon_1i45p_137",f="_itemContent_1i45p_171",g="_itemHeader_1i45p_176",u="_itemTitle_1i45p_182",T="_unreadDot_1i45p_189",h="_itemMessage_1i45p_197",C="_itemTime_1i45p_209",b="_itemActions_1i45p_217",y="_itemAction_1i45p_217",v="_empty_1i45p_252",M="_loading_1i45p_271",P="_spinner_1i45p_278",k="_spin_1i45p_278",D="_footer_1i45p_297",H="_footerAction_1i45p_306",I="_footerActionPrimary_1i45p_321",L={notificationCenter:e,header:t,headerTitle:i,badge:o,headerActions:n,headerAction:_,content:c,group:r,groupTitle:a,item:s,itemClickable:m,itemRead:p,itemLeft:d,itemAvatar:l,itemIcon:A,"icon-info":"_icon-info_1i45p_146","icon-success":"_icon-success_1i45p_151","icon-warning":"_icon-warning_1i45p_156","icon-error":"_icon-error_1i45p_161","icon-default":"_icon-default_1i45p_166",itemContent:f,itemHeader:g,itemTitle:u,unreadDot:T,itemMessage:h,itemTime:C,itemActions:b,itemAction:y,empty:v,loading:M,spinner:P,spin:k,footer:D,footerAction:H,footerActionPrimary:I};exports.badge=o;exports.content=c;exports.default=L;exports.empty=v;exports.footer=D;exports.footerAction=H;exports.footerActionPrimary=I;exports.group=r;exports.groupTitle=a;exports.header=t;exports.headerAction=_;exports.headerActions=n;exports.headerTitle=i;exports.item=s;exports.itemAction=y;exports.itemActions=b;exports.itemAvatar=l;exports.itemClickable=m;exports.itemContent=f;exports.itemHeader=g;exports.itemIcon=A;exports.itemLeft=d;exports.itemMessage=h;exports.itemRead=p;exports.itemTime=C;exports.itemTitle=u;exports.loading=M;exports.notificationCenter=e;exports.spin=k;exports.spinner=P;exports.unreadDot=T;
package/dist/index159.mjs CHANGED
@@ -1,67 +1,70 @@
1
- const e = "_fileUploader_elcmy_8", o = "_dropzone_elcmy_18", l = "_dropzoneDragging_elcmy_40", n = "_dropzoneDisabled_elcmy_45", _ = "_dropzoneError_elcmy_55", r = "_input_elcmy_59", c = "_dropzoneContent_elcmy_63", t = "_dropzoneIcon_elcmy_71", s = "_dropzonePlaceholder_elcmy_82", i = "_dropzoneHints_elcmy_90", p = "_dropzoneHint_elcmy_90", m = "_helperText_elcmy_107", f = "_helperTextError_elcmy_113", a = "_fileList_elcmy_121", d = "_fileItem_elcmy_130", y = "_fileIcon_elcmy_139", z = "_filePreview_elcmy_152", u = "_fileInfo_elcmy_158", S = "_fileName_elcmy_166", g = "_fileSize_elcmy_176", I = "_fileStatus_elcmy_182", h = "_progressBar_elcmy_188", E = "_progressFill_elcmy_196", x = "_fileStatusIcon_elcmy_202", v = "_spin_elcmy_1", D = "_fileStatusSuccess_elcmy_207", H = "_fileStatusError_elcmy_211", P = "_fileRemove_elcmy_221", T = "_minimal_elcmy_246", b = "_card_elcmy_258", w = "_compact_elcmy_273", B = {
2
- fileUploader: e,
3
- dropzone: o,
4
- dropzoneDragging: l,
5
- dropzoneDisabled: n,
6
- dropzoneError: _,
7
- input: r,
8
- dropzoneContent: c,
9
- dropzoneIcon: t,
10
- dropzonePlaceholder: s,
11
- dropzoneHints: i,
12
- dropzoneHint: p,
13
- helperText: m,
14
- helperTextError: f,
15
- fileList: a,
16
- fileItem: d,
17
- fileIcon: y,
18
- filePreview: z,
19
- fileInfo: u,
20
- fileName: S,
21
- fileSize: g,
22
- fileStatus: I,
23
- progressBar: h,
24
- progressFill: E,
25
- fileStatusIcon: x,
26
- spin: v,
27
- fileStatusSuccess: D,
28
- fileStatusError: H,
29
- fileRemove: P,
30
- minimal: T,
31
- card: b,
32
- compact: w
1
+ const t = "_notificationCenter_1i45p_8", i = "_header_1i45p_23", e = "_headerTitle_1i45p_31", o = "_badge_1i45p_41", _ = "_headerActions_1i45p_52", n = "_headerAction_1i45p_52", c = "_content_1i45p_76", s = "_group_1i45p_80", r = "_groupTitle_1i45p_84", a = "_item_1i45p_99", p = "_itemClickable_1i45p_113", m = "_itemRead_1i45p_122", d = "_itemLeft_1i45p_126", l = "_itemAvatar_1i45p_130", A = "_itemIcon_1i45p_137", f = "_itemContent_1i45p_171", g = "_itemHeader_1i45p_176", u = "_itemTitle_1i45p_182", h = "_unreadDot_1i45p_189", T = "_itemMessage_1i45p_197", C = "_itemTime_1i45p_209", y = "_itemActions_1i45p_217", b = "_itemAction_1i45p_217", k = "_empty_1i45p_252", v = "_loading_1i45p_271", D = "_spinner_1i45p_278", H = "_spin_1i45p_278", I = "_footer_1i45p_297", L = "_footerAction_1i45p_306", M = "_footerActionPrimary_1i45p_321", P = {
2
+ notificationCenter: t,
3
+ header: i,
4
+ headerTitle: e,
5
+ badge: o,
6
+ headerActions: _,
7
+ headerAction: n,
8
+ content: c,
9
+ group: s,
10
+ groupTitle: r,
11
+ item: a,
12
+ itemClickable: p,
13
+ itemRead: m,
14
+ itemLeft: d,
15
+ itemAvatar: l,
16
+ itemIcon: A,
17
+ "icon-info": "_icon-info_1i45p_146",
18
+ "icon-success": "_icon-success_1i45p_151",
19
+ "icon-warning": "_icon-warning_1i45p_156",
20
+ "icon-error": "_icon-error_1i45p_161",
21
+ "icon-default": "_icon-default_1i45p_166",
22
+ itemContent: f,
23
+ itemHeader: g,
24
+ itemTitle: u,
25
+ unreadDot: h,
26
+ itemMessage: T,
27
+ itemTime: C,
28
+ itemActions: y,
29
+ itemAction: b,
30
+ empty: k,
31
+ loading: v,
32
+ spinner: D,
33
+ spin: H,
34
+ footer: I,
35
+ footerAction: L,
36
+ footerActionPrimary: M
33
37
  };
34
38
  export {
35
- b as card,
36
- w as compact,
37
- B as default,
38
- o as dropzone,
39
- c as dropzoneContent,
40
- n as dropzoneDisabled,
41
- l as dropzoneDragging,
42
- _ as dropzoneError,
43
- p as dropzoneHint,
44
- i as dropzoneHints,
45
- t as dropzoneIcon,
46
- s as dropzonePlaceholder,
47
- y as fileIcon,
48
- u as fileInfo,
49
- d as fileItem,
50
- a as fileList,
51
- S as fileName,
52
- z as filePreview,
53
- P as fileRemove,
54
- g as fileSize,
55
- I as fileStatus,
56
- H as fileStatusError,
57
- x as fileStatusIcon,
58
- D as fileStatusSuccess,
59
- e as fileUploader,
60
- m as helperText,
61
- f as helperTextError,
62
- r as input,
63
- T as minimal,
64
- h as progressBar,
65
- E as progressFill,
66
- v as spin
39
+ o as badge,
40
+ c as content,
41
+ P as default,
42
+ k as empty,
43
+ I as footer,
44
+ L as footerAction,
45
+ M as footerActionPrimary,
46
+ s as group,
47
+ r as groupTitle,
48
+ i as header,
49
+ n as headerAction,
50
+ _ as headerActions,
51
+ e as headerTitle,
52
+ a as item,
53
+ b as itemAction,
54
+ y as itemActions,
55
+ l as itemAvatar,
56
+ p as itemClickable,
57
+ f as itemContent,
58
+ g as itemHeader,
59
+ A as itemIcon,
60
+ d as itemLeft,
61
+ T as itemMessage,
62
+ m as itemRead,
63
+ C as itemTime,
64
+ u as itemTitle,
65
+ v as loading,
66
+ t as notificationCenter,
67
+ H as spin,
68
+ D as spinner,
69
+ h as unreadDot
67
70
  };
package/dist/index16.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./index126.cjs"),x=e=>({top:o.default.gradientTop,center:o.default.gradientCenter,bottom:o.default.gradientBottom})[e]||o.default.gradientBottom,r=({variant:e="base",interactive:a=!1,imageUrl:t,imagePosition:s="bottom",aspectRatio:y="16/9",className:I,children:d,style:l,...i})=>{const m=e==="image",c=[o.default.card,o.default[e],a&&o.default.interactive,I].filter(Boolean).join(" "),B=m?{...l,backgroundImage:t?`url(${t})`:void 0,aspectRatio:y}:l;return m?n.jsx("div",{className:c,style:B,...i,children:n.jsx("div",{className:`${o.default.imageOverlay} ${x(s)}`,children:d})}):n.jsx("div",{className:c,style:l,...i,children:d})},u=({className:e,children:a,...t})=>{const s=[o.default.header,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},f=({className:e,children:a,...t})=>{const s=[o.default.body,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},g=({className:e,children:a,...t})=>{const s=[o.default.footer,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},N=({className:e,children:a,...t})=>{const s=[o.default.imageContent,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},j=({className:e,children:a,...t})=>{const s=[o.default.imageTitle,e].filter(Boolean).join(" ");return n.jsx("h3",{className:s,...t,children:a})},C=({className:e,children:a,...t})=>{const s=[o.default.imageDescription,e].filter(Boolean).join(" ");return n.jsx("p",{className:s,...t,children:a})},p=({className:e,children:a,...t})=>{const s=[o.default.imageMeta,e].filter(Boolean).join(" ");return n.jsx("span",{className:s,...t,children:a})};r.Header=u;r.Body=f;r.Footer=g;r.ImageContent=N;r.ImageTitle=j;r.ImageDescription=C;r.ImageMeta=p;r.displayName="Card";u.displayName="Card.Header";f.displayName="Card.Body";g.displayName="Card.Footer";N.displayName="Card.ImageContent";j.displayName="Card.ImageTitle";C.displayName="Card.ImageDescription";p.displayName="Card.ImageMeta";exports.Card=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./index154.cjs"),x=e=>({top:o.default.gradientTop,center:o.default.gradientCenter,bottom:o.default.gradientBottom})[e]||o.default.gradientBottom,r=({variant:e="base",interactive:a=!1,imageUrl:t,imagePosition:s="bottom",aspectRatio:y="16/9",className:I,children:d,style:l,...i})=>{const m=e==="image",c=[o.default.card,o.default[e],a&&o.default.interactive,I].filter(Boolean).join(" "),B=m?{...l,backgroundImage:t?`url(${t})`:void 0,aspectRatio:y}:l;return m?n.jsx("div",{className:c,style:B,...i,children:n.jsx("div",{className:`${o.default.imageOverlay} ${x(s)}`,children:d})}):n.jsx("div",{className:c,style:l,...i,children:d})},u=({className:e,children:a,...t})=>{const s=[o.default.header,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},f=({className:e,children:a,...t})=>{const s=[o.default.body,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},g=({className:e,children:a,...t})=>{const s=[o.default.footer,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},N=({className:e,children:a,...t})=>{const s=[o.default.imageContent,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},j=({className:e,children:a,...t})=>{const s=[o.default.imageTitle,e].filter(Boolean).join(" ");return n.jsx("h3",{className:s,...t,children:a})},C=({className:e,children:a,...t})=>{const s=[o.default.imageDescription,e].filter(Boolean).join(" ");return n.jsx("p",{className:s,...t,children:a})},p=({className:e,children:a,...t})=>{const s=[o.default.imageMeta,e].filter(Boolean).join(" ");return n.jsx("span",{className:s,...t,children:a})};r.Header=u;r.Body=f;r.Footer=g;r.ImageContent=N;r.ImageTitle=j;r.ImageDescription=C;r.ImageMeta=p;r.displayName="Card";u.displayName="Card.Header";f.displayName="Card.Body";g.displayName="Card.Footer";N.displayName="Card.ImageContent";j.displayName="Card.ImageTitle";C.displayName="Card.ImageDescription";p.displayName="Card.ImageMeta";exports.Card=r;
package/dist/index16.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import o from "./index126.mjs";
2
+ import o from "./index154.mjs";
3
3
  const v = (a) => ({
4
4
  top: o.gradientTop,
5
5
  center: o.gradientCenter,
package/dist/index160.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_carousel_1ch8a_9",t="_track_1ch8a_19",c="_trackEdge_1ch8a_33",_="_trackContainer_1ch8a_42",e="_peek_1ch8a_48",o="_gapSm_1ch8a_54",n="_gapMd_1ch8a_58",r="_gapLg_1ch8a_62",i="_navigation_1ch8a_70",g="_navButton_1ch8a_77",h="_card_1ch8a_107",d="_imageWrapper_1ch8a_138",s="_overlay_1ch8a_153",p="_content_1ch8a_176",l="_eyebrow_1ch8a_187",v="_cardTitle_1ch8a_196",k="_cardDescription_1ch8a_205",u="_action_1ch8a_213",y="_pagination_1ch8a_297",m="_dot_1ch8a_304",A="_dotActive_1ch8a_321",b="_highlightActive_1ch8a_331",M="_cardHighlighted_1ch8a_335",S={carousel:a,track:t,trackEdge:c,trackContainer:_,peek:e,gapSm:o,gapMd:n,gapLg:r,navigation:i,navButton:g,card:h,"aspect-16-9":"_aspect-16-9_1ch8a_118","aspect-4-3":"_aspect-4-3_1ch8a_122","aspect-1-1":"_aspect-1-1_1ch8a_126","aspect-3-4":"_aspect-3-4_1ch8a_130",imageWrapper:d,overlay:s,"overlay-gradient":"_overlay-gradient_1ch8a_159","overlay-dark":"_overlay-dark_1ch8a_168",content:p,eyebrow:l,cardTitle:v,cardDescription:k,action:u,"variant-editorial":"_variant-editorial_1ch8a_221","variant-product":"_variant-product_1ch8a_233","variant-gallery":"_variant-gallery_1ch8a_280",pagination:y,dot:m,dotActive:A,highlightActive:b,cardHighlighted:M};exports.action=u;exports.card=h;exports.cardDescription=k;exports.cardHighlighted=M;exports.cardTitle=v;exports.carousel=a;exports.content=p;exports.default=S;exports.dot=m;exports.dotActive=A;exports.eyebrow=l;exports.gapLg=r;exports.gapMd=n;exports.gapSm=o;exports.highlightActive=b;exports.imageWrapper=d;exports.navButton=g;exports.navigation=i;exports.overlay=s;exports.pagination=y;exports.peek=e;exports.track=t;exports.trackContainer=_;exports.trackEdge=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n="_backdrop_18ya7_9",o="_dialog_18ya7_32",i="_icon_18ya7_70",c="_iconInfo_18ya7_81",t="_iconWarning_18ya7_86",a="_iconDanger_18ya7_91",_="_title_18ya7_100",e="_description_18ya7_109",s="_actions_18ya7_121",r={backdrop:n,dialog:o,icon:i,iconInfo:c,iconWarning:t,iconDanger:a,title:_,description:e,actions:s};exports.actions=s;exports.backdrop=n;exports.default=r;exports.description=e;exports.dialog=o;exports.icon=i;exports.iconDanger=a;exports.iconInfo=c;exports.iconWarning=t;exports.title=_;