@orion-ds/react 4.2.9 → 4.2.11

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 (325) hide show
  1. package/dist/components/Button/Button.d.ts.map +1 -1
  2. package/dist/components/Button/Button.types.d.ts +12 -0
  3. package/dist/components/Button/Button.types.d.ts.map +1 -1
  4. package/dist/components/FormSection/FormSection.d.ts.map +1 -1
  5. package/dist/components/FormSection/FormSection.types.d.ts +3 -2
  6. package/dist/components/FormSection/FormSection.types.d.ts.map +1 -1
  7. package/dist/index10.cjs +1 -1
  8. package/dist/index10.mjs +1 -1
  9. package/dist/index100.cjs +1 -1
  10. package/dist/index100.mjs +14 -62
  11. package/dist/index101.cjs +1 -1
  12. package/dist/index101.mjs +28 -16
  13. package/dist/index102.cjs +1 -1
  14. package/dist/index102.mjs +27 -30
  15. package/dist/index103.cjs +1 -1
  16. package/dist/index103.mjs +30 -30
  17. package/dist/index104.cjs +1 -1
  18. package/dist/index104.mjs +20 -40
  19. package/dist/index105.cjs +1 -1
  20. package/dist/index105.mjs +46 -36
  21. package/dist/index107.cjs +1 -1
  22. package/dist/index107.mjs +40 -46
  23. package/dist/index108.cjs +1 -1
  24. package/dist/index108.mjs +34 -12
  25. package/dist/index109.cjs +1 -1
  26. package/dist/index109.mjs +64 -28
  27. package/dist/index11.cjs +1 -1
  28. package/dist/index11.mjs +1 -1
  29. package/dist/index110.cjs +1 -1
  30. package/dist/index110.mjs +24 -65
  31. package/dist/index111.cjs +1 -1
  32. package/dist/index111.mjs +52 -24
  33. package/dist/index112.cjs +1 -1
  34. package/dist/index112.mjs +37 -36
  35. package/dist/index113.cjs +1 -1
  36. package/dist/index113.mjs +27 -29
  37. package/dist/index114.cjs +1 -1
  38. package/dist/index114.mjs +44 -32
  39. package/dist/index115.cjs +1 -1
  40. package/dist/index115.mjs +28 -57
  41. package/dist/index116.cjs +1 -1
  42. package/dist/index116.mjs +36 -18
  43. package/dist/index117.cjs +1 -1
  44. package/dist/index117.mjs +28 -12
  45. package/dist/index118.cjs +1 -1
  46. package/dist/index118.mjs +22 -64
  47. package/dist/index119.cjs +1 -1
  48. package/dist/index119.mjs +42 -28
  49. package/dist/index12.cjs +1 -1
  50. package/dist/index12.mjs +1 -1
  51. package/dist/index120.cjs +1 -1
  52. package/dist/index120.mjs +40 -32
  53. package/dist/index121.cjs +1 -1
  54. package/dist/index121.mjs +28 -76
  55. package/dist/index122.cjs +1 -1
  56. package/dist/index122.mjs +52 -33
  57. package/dist/index123.cjs +1 -1
  58. package/dist/index123.mjs +32 -40
  59. package/dist/index124.cjs +1 -1
  60. package/dist/index124.mjs +62 -53
  61. package/dist/index125.cjs +1 -1
  62. package/dist/index125.mjs +35 -42
  63. package/dist/index126.cjs +1 -1
  64. package/dist/index126.mjs +30 -18
  65. package/dist/index127.cjs +1 -1
  66. package/dist/index127.mjs +21 -37
  67. package/dist/index128.cjs +1 -1
  68. package/dist/index128.mjs +44 -26
  69. package/dist/index129.cjs +1 -1
  70. package/dist/index129.mjs +53 -36
  71. package/dist/index13.cjs +1 -1
  72. package/dist/index13.mjs +1 -1
  73. package/dist/index130.cjs +1 -1
  74. package/dist/index130.mjs +64 -18
  75. package/dist/index131.cjs +1 -1
  76. package/dist/index131.mjs +44 -18
  77. package/dist/index132.cjs +1 -1
  78. package/dist/index132.mjs +42 -234
  79. package/dist/index133.cjs +1 -1
  80. package/dist/index133.mjs +29 -34
  81. package/dist/index134.cjs +1 -1
  82. package/dist/index134.mjs +13 -44
  83. package/dist/index135.cjs +1 -1
  84. package/dist/index135.mjs +20 -170
  85. package/dist/index136.cjs +1 -1
  86. package/dist/index136.mjs +25 -186
  87. package/dist/index137.cjs +1 -1
  88. package/dist/index137.mjs +17 -29
  89. package/dist/index138.cjs +1 -1
  90. package/dist/index138.mjs +50 -90
  91. package/dist/index139.cjs +1 -1
  92. package/dist/index139.mjs +41 -53
  93. package/dist/index14.cjs +1 -1
  94. package/dist/index14.mjs +34 -33
  95. package/dist/index140.cjs +1 -1
  96. package/dist/index140.mjs +42 -66
  97. package/dist/index141.cjs +1 -1
  98. package/dist/index141.mjs +18 -124
  99. package/dist/index142.cjs +1 -1
  100. package/dist/index142.mjs +55 -108
  101. package/dist/index143.cjs +1 -1
  102. package/dist/index143.mjs +65 -111
  103. package/dist/index144.cjs +1 -1
  104. package/dist/index144.mjs +33 -122
  105. package/dist/index145.cjs +1 -1
  106. package/dist/index145.mjs +18 -214
  107. package/dist/index146.cjs +1 -1
  108. package/dist/index146.mjs +67 -42
  109. package/dist/index147.cjs +1 -1
  110. package/dist/index147.mjs +56 -27
  111. package/dist/index148.cjs +1 -1
  112. package/dist/index148.mjs +18 -56
  113. package/dist/index149.cjs +1 -1
  114. package/dist/index149.mjs +62 -46
  115. package/dist/index15.cjs +1 -1
  116. package/dist/index15.mjs +1 -1
  117. package/dist/index150.cjs +1 -1
  118. package/dist/index150.mjs +76 -24
  119. package/dist/index151.cjs +1 -1
  120. package/dist/index151.mjs +24 -24
  121. package/dist/index152.cjs +1 -1
  122. package/dist/index152.mjs +32 -20
  123. package/dist/index153.cjs +1 -1
  124. package/dist/index153.mjs +30 -26
  125. package/dist/index154.cjs +1 -1
  126. package/dist/index154.mjs +30 -28
  127. package/dist/index155.cjs +1 -1
  128. package/dist/index155.mjs +106 -40
  129. package/dist/index156.cjs +1 -1
  130. package/dist/index156.mjs +45 -22
  131. package/dist/index157.cjs +1 -1
  132. package/dist/index157.mjs +234 -64
  133. package/dist/index158.cjs +1 -1
  134. package/dist/index158.mjs +34 -13
  135. package/dist/index159.cjs +1 -1
  136. package/dist/index159.mjs +44 -34
  137. package/dist/index16.cjs +1 -1
  138. package/dist/index16.mjs +1 -1
  139. package/dist/index160.cjs +1 -1
  140. package/dist/index160.mjs +170 -20
  141. package/dist/index161.cjs +1 -1
  142. package/dist/index161.mjs +186 -43
  143. package/dist/index162.cjs +1 -1
  144. package/dist/index162.mjs +29 -21
  145. package/dist/index163.cjs +1 -1
  146. package/dist/index163.mjs +90 -28
  147. package/dist/index164.cjs +1 -1
  148. package/dist/index164.mjs +53 -45
  149. package/dist/index165.cjs +1 -1
  150. package/dist/index165.mjs +66 -62
  151. package/dist/index166.cjs +1 -1
  152. package/dist/index166.mjs +124 -28
  153. package/dist/index167.cjs +1 -1
  154. package/dist/index167.mjs +108 -20
  155. package/dist/index168.cjs +1 -1
  156. package/dist/index168.mjs +111 -67
  157. package/dist/index169.cjs +1 -1
  158. package/dist/index169.mjs +122 -30
  159. package/dist/index17.cjs +1 -1
  160. package/dist/index17.mjs +1 -1
  161. package/dist/index170.cjs +1 -1
  162. package/dist/index170.mjs +214 -24
  163. package/dist/index171.cjs +1 -1
  164. package/dist/index171.mjs +33 -44
  165. package/dist/index172.cjs +1 -1
  166. package/dist/index172.mjs +26 -46
  167. package/dist/index173.cjs +1 -1
  168. package/dist/index173.mjs +20 -28
  169. package/dist/index174.cjs +1 -1
  170. package/dist/index174.mjs +46 -106
  171. package/dist/index175.cjs +1 -1
  172. package/dist/index175.mjs +28 -52
  173. package/dist/index176.cjs +1 -1
  174. package/dist/index176.mjs +57 -45
  175. package/dist/index177.cjs +1 -1
  176. package/dist/index177.mjs +24 -38
  177. package/dist/index178.cjs +1 -1
  178. package/dist/index178.mjs +12 -55
  179. package/dist/index179.cjs +1 -1
  180. package/dist/index179.mjs +18 -50
  181. package/dist/index18.cjs +1 -1
  182. package/dist/index18.mjs +1 -1
  183. package/dist/index180.cjs +1 -1
  184. package/dist/index180.mjs +38 -30
  185. package/dist/index181.cjs +1 -1
  186. package/dist/index181.mjs +28 -50
  187. package/dist/index182.cjs +1 -1
  188. package/dist/index182.mjs +17 -17
  189. package/dist/index183.cjs +1 -1
  190. package/dist/index183.mjs +17 -17
  191. package/dist/index185.cjs +1 -1
  192. package/dist/index185.mjs +1 -1
  193. package/dist/index19.cjs +1 -1
  194. package/dist/index19.mjs +2 -2
  195. package/dist/index20.cjs +1 -1
  196. package/dist/index20.mjs +14 -14
  197. package/dist/index21.cjs +1 -1
  198. package/dist/index21.mjs +1 -1
  199. package/dist/index22.cjs +1 -1
  200. package/dist/index22.mjs +1 -1
  201. package/dist/index23.cjs +1 -1
  202. package/dist/index23.mjs +1 -1
  203. package/dist/index24.cjs +1 -1
  204. package/dist/index24.mjs +1 -1
  205. package/dist/index25.cjs +1 -1
  206. package/dist/index25.mjs +1 -1
  207. package/dist/index26.cjs +1 -1
  208. package/dist/index26.mjs +1 -1
  209. package/dist/index27.cjs +1 -1
  210. package/dist/index27.mjs +1 -1
  211. package/dist/index28.cjs +1 -1
  212. package/dist/index28.mjs +1 -1
  213. package/dist/index29.cjs +1 -1
  214. package/dist/index29.mjs +1 -1
  215. package/dist/index30.cjs +1 -1
  216. package/dist/index30.mjs +1 -1
  217. package/dist/index31.cjs +1 -1
  218. package/dist/index31.mjs +1 -1
  219. package/dist/index32.cjs +1 -1
  220. package/dist/index32.mjs +1 -1
  221. package/dist/index33.cjs +1 -1
  222. package/dist/index33.mjs +1 -1
  223. package/dist/index34.cjs +1 -1
  224. package/dist/index34.mjs +1 -1
  225. package/dist/index35.cjs +1 -1
  226. package/dist/index35.mjs +1 -1
  227. package/dist/index36.cjs +1 -1
  228. package/dist/index36.mjs +1 -1
  229. package/dist/index37.cjs +1 -1
  230. package/dist/index37.mjs +1 -1
  231. package/dist/index38.cjs +1 -1
  232. package/dist/index38.mjs +1 -1
  233. package/dist/index39.cjs +1 -1
  234. package/dist/index39.mjs +1 -1
  235. package/dist/index40.cjs +1 -1
  236. package/dist/index40.mjs +1 -1
  237. package/dist/index42.cjs +1 -1
  238. package/dist/index42.mjs +36 -36
  239. package/dist/index43.cjs +1 -1
  240. package/dist/index43.mjs +1 -1
  241. package/dist/index44.cjs +1 -1
  242. package/dist/index44.mjs +1 -1
  243. package/dist/index46.cjs +1 -1
  244. package/dist/index46.mjs +1 -1
  245. package/dist/index47.cjs +1 -1
  246. package/dist/index47.mjs +1 -1
  247. package/dist/index49.cjs +1 -1
  248. package/dist/index49.mjs +1 -1
  249. package/dist/index5.cjs +1 -1
  250. package/dist/index5.mjs +1 -1
  251. package/dist/index50.cjs +1 -1
  252. package/dist/index50.mjs +1 -1
  253. package/dist/index51.cjs +1 -1
  254. package/dist/index51.mjs +1 -1
  255. package/dist/index52.cjs +1 -1
  256. package/dist/index52.mjs +1 -1
  257. package/dist/index53.cjs +1 -1
  258. package/dist/index53.mjs +1 -1
  259. package/dist/index54.cjs +1 -1
  260. package/dist/index54.mjs +1 -1
  261. package/dist/index55.cjs +1 -1
  262. package/dist/index55.mjs +1 -1
  263. package/dist/index56.cjs +1 -1
  264. package/dist/index56.mjs +1 -1
  265. package/dist/index57.cjs +1 -1
  266. package/dist/index57.mjs +1 -1
  267. package/dist/index58.cjs +1 -1
  268. package/dist/index58.mjs +1 -1
  269. package/dist/index59.cjs +1 -1
  270. package/dist/index59.mjs +1 -1
  271. package/dist/index6.cjs +1 -1
  272. package/dist/index6.mjs +1 -1
  273. package/dist/index60.cjs +1 -1
  274. package/dist/index60.mjs +1 -1
  275. package/dist/index61.cjs +1 -1
  276. package/dist/index61.mjs +1 -1
  277. package/dist/index63.cjs +1 -1
  278. package/dist/index63.mjs +1 -1
  279. package/dist/index64.cjs +1 -1
  280. package/dist/index64.mjs +1 -1
  281. package/dist/index65.cjs +1 -1
  282. package/dist/index65.mjs +1 -1
  283. package/dist/index66.cjs +1 -1
  284. package/dist/index66.mjs +1 -1
  285. package/dist/index67.cjs +1 -1
  286. package/dist/index67.mjs +1 -1
  287. package/dist/index68.cjs +1 -1
  288. package/dist/index68.mjs +1 -1
  289. package/dist/index69.cjs +1 -1
  290. package/dist/index69.mjs +1 -1
  291. package/dist/index7.cjs +1 -1
  292. package/dist/index7.mjs +1 -1
  293. package/dist/index70.cjs +1 -1
  294. package/dist/index70.mjs +1 -1
  295. package/dist/index71.cjs +1 -1
  296. package/dist/index71.mjs +1 -1
  297. package/dist/index72.cjs +1 -1
  298. package/dist/index72.mjs +1 -1
  299. package/dist/index73.cjs +1 -1
  300. package/dist/index73.mjs +1 -1
  301. package/dist/index76.cjs +1 -1
  302. package/dist/index76.mjs +1 -1
  303. package/dist/index77.cjs +1 -1
  304. package/dist/index77.mjs +1 -1
  305. package/dist/index78.cjs +1 -1
  306. package/dist/index78.mjs +1 -1
  307. package/dist/index79.cjs +1 -1
  308. package/dist/index79.mjs +1 -1
  309. package/dist/index8.cjs +1 -1
  310. package/dist/index8.mjs +1 -1
  311. package/dist/index80.cjs +1 -1
  312. package/dist/index80.mjs +1 -1
  313. package/dist/index81.cjs +1 -1
  314. package/dist/index81.mjs +1 -1
  315. package/dist/index82.cjs +1 -1
  316. package/dist/index82.mjs +2 -2
  317. package/dist/index9.cjs +1 -1
  318. package/dist/index9.mjs +1 -1
  319. package/dist/index97.cjs +1 -1
  320. package/dist/index97.mjs +30 -154
  321. package/dist/index98.cjs +1 -1
  322. package/dist/index98.mjs +138 -202
  323. package/dist/index99.cjs +1 -1
  324. package/dist/index99.mjs +218 -30
  325. package/package.json +1 -1
package/dist/index143.mjs CHANGED
@@ -1,114 +1,68 @@
1
- import { jsxs as d, jsx as p, Fragment as A } from "react/jsx-runtime";
2
- import { useState as I, useRef as W, useCallback as a } from "react";
3
- import { Upload as $ } from "lucide-react";
4
- import { formatFileSize as g } from "./index184.mjs";
5
- import l from "./index132.mjs";
6
- const P = ({
7
- onFilesSelected: h,
8
- accept: s = ["*/*"],
9
- multiple: m = !0,
10
- maxSize: r = 10 * 1024 * 1024,
11
- // 10MB default
12
- children: D,
13
- className: v,
14
- ...y
15
- }) => {
16
- const [U, f] = I(!1), i = W(null), c = a(
17
- (e) => {
18
- if (!e || e.length === 0) return;
19
- const o = [];
20
- Array.from(e).forEach((t) => {
21
- if (r && t.size > r) {
22
- console.warn(
23
- `File ${t.name} exceeds max size of ${g(r)}`
24
- );
25
- return;
26
- }
27
- const j = s.includes("*/*"), w = s.flatMap((n) => (n.endsWith("/*"), n));
28
- if (!(j || w.some((n) => {
29
- if (n.endsWith("/*")) {
30
- const x = n.split("/")[0];
31
- return t.type.startsWith(`${x}/`);
32
- }
33
- return t.type === n || t.name.endsWith(n);
34
- }))) {
35
- console.warn(`File ${t.name} type not accepted`);
36
- return;
37
- }
38
- o.push(t);
39
- }), o.length > 0 && h?.(o);
40
- },
41
- [s, r, h]
42
- ), C = a((e) => {
43
- e.preventDefault(), e.stopPropagation(), f(!0);
44
- }, []), k = a((e) => {
45
- e.preventDefault(), e.stopPropagation(), f(!1);
46
- }, []), F = a(
47
- (e) => {
48
- e.preventDefault(), e.stopPropagation(), f(!1);
49
- const { files: o } = e.dataTransfer;
50
- c(o);
51
- },
52
- [c]
53
- ), N = a(
54
- (e) => {
55
- c(e.target.files), i.current && (i.current.value = "");
56
- },
57
- [c]
58
- ), u = a(() => {
59
- i.current?.click();
60
- }, []), b = a(
61
- (e) => {
62
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), u());
63
- },
64
- [u]
65
- );
66
- return /* @__PURE__ */ d(
67
- "div",
68
- {
69
- className: [
70
- l.fileUpload,
71
- U && l.fileUploadDragging,
72
- v
73
- ].filter(Boolean).join(" "),
74
- onDragOver: C,
75
- onDragLeave: k,
76
- onDrop: F,
77
- onClick: u,
78
- onKeyDown: b,
79
- role: "button",
80
- tabIndex: 0,
81
- "aria-label": "Upload files",
82
- ...y,
83
- children: [
84
- /* @__PURE__ */ p(
85
- "input",
86
- {
87
- ref: i,
88
- type: "file",
89
- accept: s.join(","),
90
- multiple: m,
91
- onChange: N,
92
- style: { display: "none" },
93
- "aria-hidden": "true"
94
- }
95
- ),
96
- D || /* @__PURE__ */ d(A, { children: [
97
- /* @__PURE__ */ p("div", { className: l.fileUploadIcon, children: /* @__PURE__ */ p($, { size: 32 }) }),
98
- /* @__PURE__ */ d("div", { className: l.fileUploadText, children: [
99
- /* @__PURE__ */ p("strong", { children: "Click to upload" }),
100
- " or drag and drop"
101
- ] }),
102
- /* @__PURE__ */ d("div", { className: l.fileUploadHint, children: [
103
- "Max file size: ",
104
- g(r)
105
- ] })
106
- ] })
107
- ]
108
- }
109
- );
1
+ const t = "_activityFeed_njpju_8", n = "_filters_njpju_18", e = "_list_njpju_30", o = "_empty_njpju_35", _ = "_item_njpju_47", a = "_itemCompact_njpju_58", c = "_iconColumn_njpju_67", s = "_iconWrapper_njpju_74", j = "_connector_njpju_111", i = "_content_njpju_120", p = "_header_njpju_128", r = "_actor_njpju_138", u = "_avatar_njpju_145", m = "_actorName_njpju_153", l = "_title_njpju_164", d = "_time_njpju_170", k = "_description_njpju_178", V = "_metadata_njpju_188", y = "_metadataItem_njpju_194", C = "_metadataKey_njpju_201", f = "_metadataValue_njpju_205", v = "_actions_njpju_209", I = "_compact_njpju_219", h = "_skeleton_njpju_251", D = "_skeletonIcon_njpju_257", F = "_pulse_njpju_1", K = "_skeletonContent_njpju_265", N = "_skeletonTitle_njpju_272", T = "_skeletonDesc_njpju_280", W = {
2
+ activityFeed: t,
3
+ filters: n,
4
+ list: e,
5
+ empty: o,
6
+ item: _,
7
+ itemCompact: a,
8
+ iconColumn: c,
9
+ iconWrapper: s,
10
+ "iconVariant-success": "_iconVariant-success_njpju_86",
11
+ "iconVariant-warning": "_iconVariant-warning_njpju_91",
12
+ "iconVariant-error": "_iconVariant-error_njpju_96",
13
+ "iconVariant-info": "_iconVariant-info_njpju_101",
14
+ "iconVariant-brand": "_iconVariant-brand_njpju_106",
15
+ connector: j,
16
+ content: i,
17
+ header: p,
18
+ actor: r,
19
+ avatar: u,
20
+ actorName: m,
21
+ title: l,
22
+ time: d,
23
+ description: k,
24
+ metadata: V,
25
+ metadataItem: y,
26
+ metadataKey: C,
27
+ metadataValue: f,
28
+ actions: v,
29
+ compact: I,
30
+ skeleton: h,
31
+ skeletonIcon: D,
32
+ pulse: F,
33
+ skeletonContent: K,
34
+ skeletonTitle: N,
35
+ skeletonDesc: T
110
36
  };
111
- P.displayName = "ChatFileUpload";
112
37
  export {
113
- P as ChatFileUpload
38
+ v as actions,
39
+ t as activityFeed,
40
+ r as actor,
41
+ m as actorName,
42
+ u as avatar,
43
+ I as compact,
44
+ j as connector,
45
+ i as content,
46
+ W as default,
47
+ k as description,
48
+ o as empty,
49
+ n as filters,
50
+ p as header,
51
+ c as iconColumn,
52
+ s as iconWrapper,
53
+ _ as item,
54
+ a as itemCompact,
55
+ e as list,
56
+ V as metadata,
57
+ y as metadataItem,
58
+ C as metadataKey,
59
+ f as metadataValue,
60
+ F as pulse,
61
+ h as skeleton,
62
+ K as skeletonContent,
63
+ T as skeletonDesc,
64
+ D as skeletonIcon,
65
+ N as skeletonTitle,
66
+ d as time,
67
+ l as title
114
68
  };
package/dist/index144.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("lucide-react"),p=require("./index140.cjs"),P=require("./index141.cjs"),b=require("./index138.cjs"),C=require("./index184.cjs"),t=require("./index132.cjs"),w=d=>{switch(d){case"image":return e.jsx(a.Image,{size:18});case"audio":return e.jsx(a.Music,{size:18});case"code":return e.jsx(a.Code,{size:18});default:return e.jsx(a.FileText,{size:18})}},v=({attachment:d,removable:h=!1,onRemove:i,onClick:n,className:c,...o})=>{const{type:m,name:s,url:l,content:j,language:f,size:x,duration:u,thumbnail:g}=d;switch(m){case"image":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(p.ChatImagePreview,{src:l,alt:s,thumbnail:g,onClick:n}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,style:{position:"absolute",top:4,right:4,background:"var(--surface-base)"},children:e.jsx(a.X,{size:14})})]});break;case"audio":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(P.ChatAudioPlayer,{src:l,duration:u,title:s}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]});break;case"code":if(j)return e.jsx(b.ChatCodeBlock,{code:j,language:f,className:c,...o});break}return e.jsxs("div",{className:[t.default.attachmentPreview,c].filter(Boolean).join(" "),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,...o,children:[e.jsx("div",{className:t.default.attachmentPreviewIcon,children:w(m)}),e.jsxs("div",{className:t.default.attachmentPreviewInfo,children:[e.jsx("span",{className:t.default.attachmentPreviewName,children:s}),x&&e.jsxs("span",{className:t.default.attachmentPreviewMeta,children:[C.formatFileSize(x),u&&` · ${Math.floor(u/60)}:${(u%60).toString().padStart(2,"0")}`]})]}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]})};v.displayName="ChatAttachment";exports.ChatAttachment=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_accordion_1p40q_9",n="_item_1p40q_24",t="_bordered_1p40q_33",d="_header_1p40q_43",o="_expanded_1p40q_57",c="_contentInner_1p40q_62",_="_separated_1p40q_69",a="_disabled_1p40q_91",r="_icon_1p40q_130",p="_title_1p40q_137",s="_chevron_1p40q_141",i="_chevronExpanded_1p40q_149",l="_content_1p40q_62",q="_animated_1p40q_161",h="_contentExpanded_1p40q_171",x={accordion:e,default:"_default_1p40q_20",item:n,bordered:t,header:d,expanded:o,contentInner:c,separated:_,disabled:a,icon:r,title:p,chevron:s,chevronExpanded:i,content:l,animated:q,contentExpanded:h};exports.accordion=e;exports.animated=q;exports.bordered=t;exports.chevron=s;exports.chevronExpanded=i;exports.content=l;exports.contentExpanded=h;exports.contentInner=c;exports.default=x;exports.disabled=a;exports.expanded=o;exports.header=d;exports.icon=r;exports.item=n;exports.separated=_;exports.title=p;
package/dist/index144.mjs CHANGED
@@ -1,125 +1,36 @@
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 "./index140.mjs";
4
- import { ChatAudioPlayer as N } from "./index141.mjs";
5
- import { ChatCodeBlock as I } from "./index138.mjs";
6
- import { formatFileSize as k } from "./index184.mjs";
7
- import t from "./index132.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 = "_accordion_1p40q_9", n = "_item_1p40q_24", t = "_bordered_1p40q_33", _ = "_header_1p40q_43", d = "_expanded_1p40q_57", o = "_contentInner_1p40q_62", c = "_separated_1p40q_69", a = "_disabled_1p40q_91", p = "_icon_1p40q_130", r = "_title_1p40q_137", s = "_chevron_1p40q_141", i = "_chevronExpanded_1p40q_149", q = "_content_1p40q_62", l = "_animated_1p40q_161", x = "_contentExpanded_1p40q_171", h = {
2
+ accordion: e,
3
+ default: "_default_1p40q_20",
4
+ item: n,
5
+ bordered: t,
6
+ header: _,
7
+ expanded: d,
8
+ contentInner: o,
9
+ separated: c,
10
+ disabled: a,
11
+ icon: p,
12
+ title: r,
13
+ chevron: s,
14
+ chevronExpanded: i,
15
+ content: q,
16
+ animated: l,
17
+ contentExpanded: x
121
18
  };
122
- $.displayName = "ChatAttachment";
123
19
  export {
124
- $ as ChatAttachment
20
+ e as accordion,
21
+ l as animated,
22
+ t as bordered,
23
+ s as chevron,
24
+ i as chevronExpanded,
25
+ q as content,
26
+ x as contentExpanded,
27
+ o as contentInner,
28
+ h as default,
29
+ a as disabled,
30
+ d as expanded,
31
+ _ as header,
32
+ p as icon,
33
+ n as item,
34
+ c as separated,
35
+ r as title
125
36
  };
package/dist/index145.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("./index132.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/index145.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 "./index132.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/index146.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x="_avatar_zbymr_8",_="_image_zbymr_30",t="_initials_zbymr_38",n="_icon_zbymr_48",s="_xs_zbymr_64",i="_sm_zbymr_75",l="_md_zbymr_86",o="_lg_zbymr_97",a="_xl_zbymr_108",r="_xxl_zbymr_119",e="_profile_zbymr_130",c="_xxxl_zbymr_141",m="_xxxxl_zbymr_152",y="_xxxxxl_zbymr_163",b="_interactive_zbymr_178",z="_statusIndicator_zbymr_200",u="_online_zbymr_212",f="_offline_zbymr_216",d="_away_zbymr_220",g="_busy_zbymr_224",v={avatar:x,image:_,initials:t,icon:n,xs:s,sm:i,md:l,lg:o,xl:a,xxl:r,profile:e,xxxl:c,xxxxl:m,xxxxxl:y,interactive:b,statusIndicator:z,online:u,offline:f,away:d,busy:g};exports.avatar=x;exports.away=d;exports.busy=g;exports.default=v;exports.icon=n;exports.image=_;exports.initials=t;exports.interactive=b;exports.lg=o;exports.md=l;exports.offline=f;exports.online=u;exports.profile=e;exports.sm=i;exports.statusIndicator=z;exports.xl=a;exports.xs=s;exports.xxl=r;exports.xxxl=c;exports.xxxxl=m;exports.xxxxxl=y;
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;