@orion-ds/react 4.2.5 → 4.2.8

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 (356) hide show
  1. package/dist/components/Alert/Alert.d.ts.map +1 -1
  2. package/dist/components/Alert/Alert.module.css +1 -1
  3. package/dist/components/Alert/Alert.stories.d.ts +2 -1
  4. package/dist/components/Alert/Alert.stories.d.ts.map +1 -1
  5. package/dist/components/Alert/Alert.types.d.ts +1 -1
  6. package/dist/components/Alert/Alert.types.d.ts.map +1 -1
  7. package/dist/components/Badge/Badge.module.css +1 -1
  8. package/dist/components/Badge/Badge.stories.d.ts +2 -2
  9. package/dist/components/Badge/Badge.stories.d.ts.map +1 -1
  10. package/dist/components/Badge/Badge.types.d.ts +2 -2
  11. package/dist/components/Badge/Badge.types.d.ts.map +1 -1
  12. package/dist/components/Button/Button.module.css +1 -1
  13. package/dist/components/Card/Card.module.css +1 -1
  14. package/dist/components/Card/Card.stories.d.ts +1 -1
  15. package/dist/components/Card/Card.stories.d.ts.map +1 -1
  16. package/dist/components/Card/Card.types.d.ts +1 -1
  17. package/dist/components/Card/Card.types.d.ts.map +1 -1
  18. package/dist/components/Chip/Chip.module.css +1 -1
  19. package/dist/components/Chip/Chip.stories.d.ts +1 -1
  20. package/dist/components/Chip/Chip.stories.d.ts.map +1 -1
  21. package/dist/components/Chip/Chip.types.d.ts +1 -1
  22. package/dist/components/Chip/Chip.types.d.ts.map +1 -1
  23. package/dist/components/Field/Field.module.css +1 -1
  24. package/dist/components/Field/Field.stories.d.ts +5 -0
  25. package/dist/components/Field/Field.stories.d.ts.map +1 -1
  26. package/dist/components/SearchInput/SearchInput.module.css +1 -1
  27. package/dist/components/Select/Select.module.css +1 -1
  28. package/dist/components/Textarea/Textarea.module.css +1 -1
  29. package/dist/index10.cjs +1 -1
  30. package/dist/index10.mjs +1 -1
  31. package/dist/index100.cjs +1 -1
  32. package/dist/index100.mjs +33 -24
  33. package/dist/index101.cjs +1 -1
  34. package/dist/index101.mjs +23 -43
  35. package/dist/index102.cjs +1 -1
  36. package/dist/index102.mjs +28 -30
  37. package/dist/index103.cjs +1 -1
  38. package/dist/index103.mjs +40 -28
  39. package/dist/index104.cjs +1 -1
  40. package/dist/index104.mjs +53 -16
  41. package/dist/index105.cjs +1 -1
  42. package/dist/index105.mjs +62 -64
  43. package/dist/index106.cjs +1 -1
  44. package/dist/index106.mjs +30 -52
  45. package/dist/index107.cjs +1 -1
  46. package/dist/index107.mjs +20 -42
  47. package/dist/index108.cjs +1 -1
  48. package/dist/index108.mjs +18 -30
  49. package/dist/index109.cjs +1 -1
  50. package/dist/index109.mjs +30 -24
  51. package/dist/index11.cjs +1 -1
  52. package/dist/index11.mjs +1 -1
  53. package/dist/index110.cjs +1 -1
  54. package/dist/index110.mjs +29 -27
  55. package/dist/index111.cjs +1 -1
  56. package/dist/index111.mjs +46 -18
  57. package/dist/index112.cjs +1 -1
  58. package/dist/index112.mjs +52 -14
  59. package/dist/index113.cjs +1 -1
  60. package/dist/index113.mjs +28 -50
  61. package/dist/index114.cjs +1 -1
  62. package/dist/index114.mjs +44 -53
  63. package/dist/index115.cjs +1 -1
  64. package/dist/index115.mjs +12 -62
  65. package/dist/index116.cjs +1 -1
  66. package/dist/index116.mjs +30 -33
  67. package/dist/index117.cjs +1 -1
  68. package/dist/index117.mjs +32 -30
  69. package/dist/index118.cjs +1 -1
  70. package/dist/index118.mjs +33 -18
  71. package/dist/index119.cjs +1 -1
  72. package/dist/index119.mjs +30 -56
  73. package/dist/index12.cjs +1 -1
  74. package/dist/index12.mjs +1 -1
  75. package/dist/index120.cjs +1 -1
  76. package/dist/index120.mjs +35 -38
  77. package/dist/index121.cjs +1 -1
  78. package/dist/index121.mjs +36 -20
  79. package/dist/index122.cjs +1 -1
  80. package/dist/index122.mjs +20 -40
  81. package/dist/index123.cjs +1 -1
  82. package/dist/index123.mjs +14 -76
  83. package/dist/index124.cjs +1 -1
  84. package/dist/index124.mjs +27 -52
  85. package/dist/index125.cjs +1 -1
  86. package/dist/index125.mjs +16 -28
  87. package/dist/index126.cjs +1 -1
  88. package/dist/index126.mjs +37 -66
  89. package/dist/index127.cjs +1 -1
  90. package/dist/index127.mjs +28 -30
  91. package/dist/index128.cjs +1 -1
  92. package/dist/index128.mjs +24 -32
  93. package/dist/index129.cjs +1 -1
  94. package/dist/index129.mjs +28 -45
  95. package/dist/index13.cjs +1 -1
  96. package/dist/index13.mjs +1 -1
  97. package/dist/index130.cjs +1 -1
  98. package/dist/index130.mjs +28 -42
  99. package/dist/index131.cjs +1 -1
  100. package/dist/index131.mjs +28 -28
  101. package/dist/index132.cjs +1 -1
  102. package/dist/index132.mjs +42 -30
  103. package/dist/index133.cjs +1 -1
  104. package/dist/index133.mjs +52 -24
  105. package/dist/index134.cjs +1 -1
  106. package/dist/index134.mjs +36 -12
  107. package/dist/index135.cjs +1 -1
  108. package/dist/index135.mjs +50 -234
  109. package/dist/index136.cjs +1 -1
  110. package/dist/index136.mjs +19 -34
  111. package/dist/index137.cjs +1 -1
  112. package/dist/index137.mjs +153 -42
  113. package/dist/index138.cjs +1 -1
  114. package/dist/index138.mjs +216 -168
  115. package/dist/index139.cjs +1 -1
  116. package/dist/index139.mjs +29 -186
  117. package/dist/index14.cjs +1 -1
  118. package/dist/index14.mjs +1 -1
  119. package/dist/index140.cjs +1 -1
  120. package/dist/index140.mjs +43 -29
  121. package/dist/index141.cjs +1 -1
  122. package/dist/index141.mjs +44 -90
  123. package/dist/index142.cjs +1 -1
  124. package/dist/index142.mjs +17 -53
  125. package/dist/index143.cjs +1 -1
  126. package/dist/index143.mjs +46 -66
  127. package/dist/index144.cjs +1 -1
  128. package/dist/index144.mjs +64 -124
  129. package/dist/index145.cjs +1 -1
  130. package/dist/index145.mjs +30 -108
  131. package/dist/index146.cjs +1 -1
  132. package/dist/index146.mjs +40 -111
  133. package/dist/index147.cjs +1 -1
  134. package/dist/index147.mjs +32 -122
  135. package/dist/index148.cjs +1 -1
  136. package/dist/index148.mjs +56 -214
  137. package/dist/index149.cjs +1 -1
  138. package/dist/index149.mjs +62 -22
  139. package/dist/index15.cjs +1 -1
  140. package/dist/index15.mjs +1 -1
  141. package/dist/index150.cjs +1 -1
  142. package/dist/index150.mjs +42 -36
  143. package/dist/index151.cjs +1 -1
  144. package/dist/index151.mjs +24 -12
  145. package/dist/index152.cjs +1 -1
  146. package/dist/index152.mjs +40 -28
  147. package/dist/index153.cjs +1 -1
  148. package/dist/index153.mjs +20 -46
  149. package/dist/index154.cjs +1 -1
  150. package/dist/index154.mjs +76 -38
  151. package/dist/index155.cjs +1 -1
  152. package/dist/index155.mjs +67 -36
  153. package/dist/index156.cjs +1 -1
  154. package/dist/index156.mjs +65 -18
  155. package/dist/index157.cjs +1 -1
  156. package/dist/index157.mjs +40 -62
  157. package/dist/index158.cjs +1 -1
  158. package/dist/index158.mjs +234 -18
  159. package/dist/index159.cjs +1 -1
  160. package/dist/index159.mjs +34 -68
  161. package/dist/index16.cjs +1 -1
  162. package/dist/index16.mjs +1 -1
  163. package/dist/index160.cjs +1 -1
  164. package/dist/index160.mjs +44 -21
  165. package/dist/index161.cjs +1 -1
  166. package/dist/index161.mjs +170 -106
  167. package/dist/index162.cjs +1 -1
  168. package/dist/index162.mjs +186 -34
  169. package/dist/index163.cjs +1 -1
  170. package/dist/index163.mjs +29 -29
  171. package/dist/index164.cjs +1 -1
  172. package/dist/index164.mjs +90 -18
  173. package/dist/index165.cjs +1 -1
  174. package/dist/index165.mjs +52 -36
  175. package/dist/index166.cjs +1 -1
  176. package/dist/index166.mjs +66 -28
  177. package/dist/index167.cjs +1 -1
  178. package/dist/index167.mjs +124 -46
  179. package/dist/index168.cjs +1 -1
  180. package/dist/index168.mjs +108 -22
  181. package/dist/index169.cjs +1 -1
  182. package/dist/index169.mjs +111 -40
  183. package/dist/index17.cjs +1 -1
  184. package/dist/index17.mjs +1 -1
  185. package/dist/index170.cjs +1 -1
  186. package/dist/index170.mjs +122 -20
  187. package/dist/index171.cjs +1 -1
  188. package/dist/index171.mjs +214 -42
  189. package/dist/index172.cjs +1 -1
  190. package/dist/index172.mjs +106 -64
  191. package/dist/index173.cjs +1 -1
  192. package/dist/index173.mjs +22 -55
  193. package/dist/index174.cjs +1 -1
  194. package/dist/index174.mjs +16 -24
  195. package/dist/index175.cjs +1 -1
  196. package/dist/index175.mjs +64 -44
  197. package/dist/index176.cjs +1 -1
  198. package/dist/index176.mjs +18 -28
  199. package/dist/index177.cjs +1 -1
  200. package/dist/index177.mjs +57 -33
  201. package/dist/index178.cjs +1 -1
  202. package/dist/index178.mjs +12 -32
  203. package/dist/index179.cjs +1 -1
  204. package/dist/index179.mjs +38 -46
  205. package/dist/index18.cjs +1 -1
  206. package/dist/index18.mjs +1 -1
  207. package/dist/index180.cjs +1 -1
  208. package/dist/index180.mjs +26 -57
  209. package/dist/index181.cjs +1 -1
  210. package/dist/index181.mjs +45 -27
  211. package/dist/index182.cjs +1 -1
  212. package/dist/index182.mjs +17 -17
  213. package/dist/index183.cjs +1 -1
  214. package/dist/index183.mjs +17 -17
  215. package/dist/index185.cjs +1 -1
  216. package/dist/index185.mjs +1 -1
  217. package/dist/index19.cjs +1 -1
  218. package/dist/index19.mjs +2 -2
  219. package/dist/index20.cjs +1 -1
  220. package/dist/index20.mjs +14 -14
  221. package/dist/index21.cjs +1 -1
  222. package/dist/index21.mjs +1 -1
  223. package/dist/index22.cjs +1 -1
  224. package/dist/index22.mjs +1 -1
  225. package/dist/index23.cjs +1 -1
  226. package/dist/index23.mjs +1 -1
  227. package/dist/index24.cjs +1 -1
  228. package/dist/index24.mjs +1 -1
  229. package/dist/index25.cjs +1 -1
  230. package/dist/index25.mjs +2 -2
  231. package/dist/index26.cjs +1 -1
  232. package/dist/index26.mjs +1 -1
  233. package/dist/index27.cjs +1 -1
  234. package/dist/index27.mjs +1 -1
  235. package/dist/index28.cjs +1 -1
  236. package/dist/index28.mjs +1 -1
  237. package/dist/index29.cjs +1 -1
  238. package/dist/index29.mjs +1 -1
  239. package/dist/index3.cjs +1 -1
  240. package/dist/index3.mjs +2 -2
  241. package/dist/index30.cjs +1 -1
  242. package/dist/index30.mjs +1 -1
  243. package/dist/index31.cjs +1 -1
  244. package/dist/index31.mjs +1 -1
  245. package/dist/index32.cjs +1 -1
  246. package/dist/index32.mjs +1 -1
  247. package/dist/index33.cjs +1 -1
  248. package/dist/index33.mjs +1 -1
  249. package/dist/index34.cjs +1 -1
  250. package/dist/index34.mjs +1 -1
  251. package/dist/index35.cjs +1 -1
  252. package/dist/index35.mjs +1 -1
  253. package/dist/index36.cjs +1 -1
  254. package/dist/index36.mjs +1 -1
  255. package/dist/index37.cjs +1 -1
  256. package/dist/index37.mjs +1 -1
  257. package/dist/index38.cjs +1 -1
  258. package/dist/index38.mjs +1 -1
  259. package/dist/index39.cjs +1 -1
  260. package/dist/index39.mjs +1 -1
  261. package/dist/index40.cjs +1 -1
  262. package/dist/index40.mjs +1 -1
  263. package/dist/index42.cjs +1 -1
  264. package/dist/index42.mjs +1 -1
  265. package/dist/index43.cjs +1 -1
  266. package/dist/index43.mjs +1 -1
  267. package/dist/index44.cjs +1 -1
  268. package/dist/index44.mjs +1 -1
  269. package/dist/index46.cjs +1 -1
  270. package/dist/index46.mjs +1 -1
  271. package/dist/index47.cjs +1 -1
  272. package/dist/index47.mjs +1 -1
  273. package/dist/index49.cjs +1 -1
  274. package/dist/index49.mjs +1 -1
  275. package/dist/index5.cjs +1 -1
  276. package/dist/index5.mjs +1 -1
  277. package/dist/index50.cjs +1 -1
  278. package/dist/index50.mjs +1 -1
  279. package/dist/index51.cjs +1 -1
  280. package/dist/index51.mjs +1 -1
  281. package/dist/index52.cjs +1 -1
  282. package/dist/index52.mjs +1 -1
  283. package/dist/index53.cjs +1 -1
  284. package/dist/index53.mjs +1 -1
  285. package/dist/index54.cjs +1 -1
  286. package/dist/index54.mjs +1 -1
  287. package/dist/index55.cjs +1 -1
  288. package/dist/index55.mjs +1 -1
  289. package/dist/index56.cjs +1 -1
  290. package/dist/index56.mjs +1 -1
  291. package/dist/index57.cjs +1 -1
  292. package/dist/index57.mjs +1 -1
  293. package/dist/index58.cjs +1 -1
  294. package/dist/index58.mjs +1 -1
  295. package/dist/index59.cjs +1 -1
  296. package/dist/index59.mjs +1 -1
  297. package/dist/index6.cjs +1 -1
  298. package/dist/index6.mjs +1 -1
  299. package/dist/index60.cjs +1 -1
  300. package/dist/index60.mjs +1 -1
  301. package/dist/index61.cjs +1 -1
  302. package/dist/index61.mjs +1 -1
  303. package/dist/index62.cjs +1 -1
  304. package/dist/index62.mjs +1 -1
  305. package/dist/index63.cjs +1 -1
  306. package/dist/index63.mjs +1 -1
  307. package/dist/index64.cjs +1 -1
  308. package/dist/index64.mjs +1 -1
  309. package/dist/index65.cjs +1 -1
  310. package/dist/index65.mjs +1 -1
  311. package/dist/index66.cjs +1 -1
  312. package/dist/index66.mjs +1 -1
  313. package/dist/index67.cjs +1 -1
  314. package/dist/index67.mjs +1 -1
  315. package/dist/index68.cjs +1 -1
  316. package/dist/index68.mjs +1 -1
  317. package/dist/index69.cjs +1 -1
  318. package/dist/index69.mjs +1 -1
  319. package/dist/index7.cjs +1 -1
  320. package/dist/index7.mjs +1 -1
  321. package/dist/index70.cjs +1 -1
  322. package/dist/index70.mjs +1 -1
  323. package/dist/index71.cjs +1 -1
  324. package/dist/index71.mjs +1 -1
  325. package/dist/index72.cjs +1 -1
  326. package/dist/index72.mjs +1 -1
  327. package/dist/index73.cjs +1 -1
  328. package/dist/index73.mjs +1 -1
  329. package/dist/index74.cjs +1 -1
  330. package/dist/index74.mjs +2 -2
  331. package/dist/index76.cjs +1 -1
  332. package/dist/index76.mjs +1 -1
  333. package/dist/index77.cjs +1 -1
  334. package/dist/index77.mjs +1 -1
  335. package/dist/index78.cjs +1 -1
  336. package/dist/index78.mjs +1 -1
  337. package/dist/index79.cjs +1 -1
  338. package/dist/index79.mjs +1 -1
  339. package/dist/index8.cjs +1 -1
  340. package/dist/index8.mjs +31 -30
  341. package/dist/index80.cjs +1 -1
  342. package/dist/index80.mjs +1 -1
  343. package/dist/index81.cjs +1 -1
  344. package/dist/index81.mjs +1 -1
  345. package/dist/index82.cjs +1 -1
  346. package/dist/index82.mjs +2 -2
  347. package/dist/index9.cjs +1 -1
  348. package/dist/index9.mjs +1 -1
  349. package/dist/index97.cjs +1 -1
  350. package/dist/index97.mjs +24 -154
  351. package/dist/index98.cjs +1 -1
  352. package/dist/index98.mjs +46 -218
  353. package/dist/index99.cjs +1 -1
  354. package/dist/index99.mjs +55 -40
  355. package/dist/styles.css +9 -9
  356. package/package.json +1 -1
package/dist/index148.mjs CHANGED
@@ -1,217 +1,59 @@
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 "./index135.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 i = "_quickActions_1iws7_8", o = "_fixed_1iws7_12", n = "_fabTrigger_1iws7_54", t = "_fabTriggerIcon_1iws7_81", _ = "_fabTriggerIconRotate_1iws7_88", c = "_fabActions_1iws7_92", s = "_open_1iws7_103", a = "_fabAction_1iws7_92", e = "_fabActionIcon_1iws7_136", r = "_fabActionLabel_1iws7_144", b = "_bar_1iws7_154", A = "_barAction_1iws7_165", w = "_barActionIcon_1iws7_183", f = "_barActionLabel_1iws7_191", g = "_menuTrigger_1iws7_208", m = "_menu_1iws7_208", u = "_menuSlide_1iws7_1", l = "_menuAction_1iws7_250", p = "_menuActionIcon_1iws7_269", I = "_menuActionLabel_1iws7_278", d = "_actionDisabled_1iws7_301", T = "_shortcut_1iws7_311", L = {
2
+ quickActions: i,
3
+ fixed: o,
4
+ "position-bottom-right": "_position-bottom-right_1iws7_17",
5
+ "position-bottom-left": "_position-bottom-left_1iws7_22",
6
+ "position-bottom-center": "_position-bottom-center_1iws7_27",
7
+ "position-top-right": "_position-top-right_1iws7_33",
8
+ "position-top-left": "_position-top-left_1iws7_38",
9
+ "variant-fab": "_variant-fab_1iws7_47",
10
+ fabTrigger: n,
11
+ fabTriggerIcon: t,
12
+ fabTriggerIconRotate: _,
13
+ fabActions: c,
14
+ open: s,
15
+ fabAction: a,
16
+ fabActionIcon: e,
17
+ fabActionLabel: r,
18
+ "variant-bar": "_variant-bar_1iws7_154",
19
+ bar: b,
20
+ barAction: A,
21
+ barActionIcon: w,
22
+ barActionLabel: f,
23
+ "variant-menu": "_variant-menu_1iws7_201",
24
+ menuTrigger: g,
25
+ menu: m,
26
+ menuSlide: u,
27
+ menuAction: l,
28
+ menuActionIcon: p,
29
+ menuActionLabel: I,
30
+ "action-primary": "_action-primary_1iws7_289",
31
+ "action-danger": "_action-danger_1iws7_293",
32
+ actionDisabled: d,
33
+ shortcut: T
213
34
  };
214
- R.displayName = "ChatSidebar";
215
35
  export {
216
- R as ChatSidebar
36
+ d as actionDisabled,
37
+ b as bar,
38
+ A as barAction,
39
+ w as barActionIcon,
40
+ f as barActionLabel,
41
+ L as default,
42
+ a as fabAction,
43
+ e as fabActionIcon,
44
+ r as fabActionLabel,
45
+ c as fabActions,
46
+ n as fabTrigger,
47
+ t as fabTriggerIcon,
48
+ _ as fabTriggerIconRotate,
49
+ o as fixed,
50
+ m as menu,
51
+ l as menuAction,
52
+ p as menuActionIcon,
53
+ I as menuActionLabel,
54
+ u as menuSlide,
55
+ g as menuTrigger,
56
+ s as open,
57
+ i as quickActions,
58
+ T as shortcut
217
59
  };
package/dist/index149.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_pagination_kj56h_8",s="_list_kj56h_13",i="_button_kj56h_26",_="_pageButton_kj56h_56",e="_active_kj56h_61",n="_ellipsis_kj56h_76",o="_sm_kj56h_89",l="_md_kj56h_103",a="_lg_kj56h_117",c="_disabled_kj56h_139",d={pagination:t,list:s,button:i,pageButton:_,active:e,ellipsis:n,sm:o,md:l,lg:a,disabled:c};exports.active=e;exports.button=i;exports.default=d;exports.disabled=c;exports.ellipsis=n;exports.lg=a;exports.list=s;exports.md=l;exports.pageButton=_;exports.pagination=t;exports.sm=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_navTree_6iya4_12",o="_header_6iya4_29",n="_footer_6iya4_36",t="_treeContent_6iya4_47",i="_section_6iya4_76",s="_sectionHeader_6iya4_81",d="_sectionHeaderNode_6iya4_100",c="_sectionChevron_6iya4_105",_="_sectionChevronOpen_6iya4_117",a="_sectionTitle_6iya4_122",r="_sectionTitleNode_6iya4_136",y="_sectionBody_6iya4_148",l="_sectionActions_6iya4_154",v="_node_6iya4_182",h="_nodeRow_6iya4_187",C="_nodeRowActive_6iya4_208",p="_nodeLabel_6iya4_216",O="_nodeChevron_6iya4_222",T="_nodeChevronOpen_6iya4_238",A="_nodeChevronHidden_6iya4_243",B="_nodeActions_6iya4_277",H="_nodeChildren_6iya4_311",N="_nodeNested_6iya4_321",g="_iconSlot_6iya4_330",w="_slotIcon_6iya4_341",R="_slotChevron_6iya4_352",u="_slotChevronOpen_6iya4_364",b="_sectionBadge_6iya4_403",f="_nodeBadge_6iya4_418",S="_empty_6iya4_435",m={navTree:e,header:o,footer:n,treeContent:t,section:i,sectionHeader:s,sectionHeaderNode:d,sectionChevron:c,sectionChevronOpen:_,sectionTitle:a,sectionTitleNode:r,sectionBody:y,sectionActions:l,node:v,nodeRow:h,nodeRowActive:C,nodeLabel:p,nodeChevron:O,nodeChevronOpen:T,nodeChevronHidden:A,nodeActions:B,nodeChildren:H,nodeNested:N,iconSlot:g,slotIcon:w,slotChevron:R,slotChevronOpen:u,sectionBadge:b,nodeBadge:f,empty:S};exports.default=m;exports.empty=S;exports.footer=n;exports.header=o;exports.iconSlot=g;exports.navTree=e;exports.node=v;exports.nodeActions=B;exports.nodeBadge=f;exports.nodeChevron=O;exports.nodeChevronHidden=A;exports.nodeChevronOpen=T;exports.nodeChildren=H;exports.nodeLabel=p;exports.nodeNested=N;exports.nodeRow=h;exports.nodeRowActive=C;exports.section=i;exports.sectionActions=l;exports.sectionBadge=b;exports.sectionBody=y;exports.sectionChevron=c;exports.sectionChevronOpen=_;exports.sectionHeader=s;exports.sectionHeaderNode=d;exports.sectionTitle=a;exports.sectionTitleNode=r;exports.slotChevron=R;exports.slotChevronOpen=u;exports.slotIcon=w;exports.treeContent=t;
package/dist/index149.mjs CHANGED
@@ -1,25 +1,65 @@
1
- const t = "_pagination_kj56h_8", _ = "_list_kj56h_13", s = "_button_kj56h_26", n = "_pageButton_kj56h_56", i = "_active_kj56h_61", o = "_ellipsis_kj56h_76", a = "_sm_kj56h_89", l = "_md_kj56h_103", e = "_lg_kj56h_117", c = "_disabled_kj56h_139", d = {
2
- pagination: t,
3
- list: _,
4
- button: s,
5
- pageButton: n,
6
- active: i,
7
- ellipsis: o,
8
- sm: a,
9
- md: l,
10
- lg: e,
11
- disabled: c
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
12
32
  };
13
33
  export {
14
- i as active,
15
- s as button,
16
- d as default,
17
- c as disabled,
18
- o as ellipsis,
19
- e as lg,
20
- _ as list,
21
- l as md,
22
- n as pageButton,
23
- t as pagination,
24
- a as sm
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
25
65
  };
package/dist/index15.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),n=require("date-fns"),x=require("lucide-react"),a=require("./index131.cjs"),O=require("./index14.cjs"),R=["Su","Mo","Tu","We","Th","Fr","Sa"];function _(t,r){const c=t.length,d=(r%c+c)%c;return[...t.slice(d),...t.slice(0,d)]}const C=t=>{const{mode:r="single",min:c,max:d,disabled:m,weekStartsOn:h=0,showOutsideDays:j=!0,className:v,...k}=t,{selected:W,onSelect:F,...E}=k,[f,S]=u.useState(()=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"&&t.selected?n.startOfMonth(t.selected):r==="range"&&t.mode==="range"&&t.selected?.from?n.startOfMonth(t.selected.from):n.startOfMonth(new Date)),N=u.useMemo(()=>{const e=n.startOfMonth(f),s=n.endOfMonth(f),l=n.startOfWeek(e,{weekStartsOn:h}),o=n.endOfWeek(s,{weekStartsOn:h});return n.eachDayOfInterval({start:l,end:o})},[f,h]),B=u.useMemo(()=>_(R,h),[h]),g=u.useCallback(e=>c&&n.isBefore(e,z(c))||d&&n.isAfter(e,P(d))?!0:m?Array.isArray(m)?m.some(s=>n.isSameDay(s,e)):m(e):!1,[c,d,m]),y=u.useCallback(e=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"?t.selected?n.isSameDay(t.selected,e):!1:r==="multiple"&&t.mode==="multiple"?t.selected?.some(s=>n.isSameDay(s,e))??!1:!1,[r,t]),M=u.useCallback(e=>{if(r!=="range"||t.mode!=="range"||!t.selected)return null;const{from:s,to:l}=t.selected;return s?l?n.isSameDay(e,s)&&n.isSameDay(e,l)||n.isSameDay(e,s)?"start":n.isSameDay(e,l)?"end":n.isAfter(e,s)&&n.isBefore(e,l)?"middle":null:n.isSameDay(e,s)?"start":null:null},[r,t]),w=u.useCallback(e=>{if(!g(e)){if(r==="single"&&t.mode!=="range"&&t.mode!=="multiple"){const s=t.onSelect;s?.(e)}else if(r==="range"&&t.mode==="range"){const s=t.onSelect,l=t.selected;!l?.from||l.from&&l.to?s?.({from:e,to:void 0}):n.isBefore(e,l.from)?s?.({from:e,to:l.from}):s?.({from:l.from,to:e})}else if(r==="multiple"&&t.mode==="multiple"){const s=t.onSelect,l=t.selected??[],o=l.findIndex(D=>n.isSameDay(D,e));o>=0?s?.(l.filter((D,L)=>L!==o)):s?.([...l,e])}}},[r,t,g]),A=()=>S(e=>n.subMonths(e,1)),I=()=>S(e=>n.addMonths(e,1)),T=e=>{const s=[a.default.day];if(!n.isSameMonth(e,f)&&s.push(a.default.outside),n.isToday(e)&&s.push(a.default.today),g(e)&&s.push(a.default.disabled),r==="range"){const o=M(e);o==="start"&&(s.push(a.default.rangeStart),t.mode==="range"&&t.selected?.from&&t.selected?.to&&n.isSameDay(t.selected.from,t.selected.to)&&s.push(a.default.rangeEnd)),o==="middle"&&s.push(a.default.rangeMiddle),o==="end"&&s.push(a.default.rangeEnd)}else y(e)&&s.push(a.default.selected);return s.join(" ")},q=[a.default.calendar,v].filter(Boolean).join(" "),b=u.useId();return i.jsxs("div",{className:q,...E,children:[i.jsxs("div",{className:a.default.header,children:[i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronLeft,{size:16}),onClick:A,"aria-label":"Previous month"}),i.jsx("span",{id:b,className:a.default.monthLabel,children:n.format(f,"MMMM yyyy")}),i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronRight,{size:16}),onClick:I,"aria-label":"Next month"})]}),i.jsxs("div",{className:a.default.grid,role:"grid","aria-labelledby":b,children:[B.map(e=>i.jsx("div",{className:a.default.weekday,role:"columnheader","aria-label":e,children:e},e)),N.map(e=>!n.isSameMonth(e,f)&&!j?i.jsx("div",{},e.toISOString()):i.jsx("button",{type:"button",className:T(e),onClick:()=>w(e),disabled:g(e),tabIndex:n.isToday(e)?0:-1,"aria-label":n.format(e,"EEEE, MMMM d, yyyy"),"aria-selected":y(e)||M(e)!==null,children:n.format(e,"d")},e.toISOString()))]})]})};C.displayName="Calendar";function z(t){const r=new Date(t);return r.setHours(0,0,0,0),r}function P(t){const r=new Date(t);return r.setHours(23,59,59,999),r}exports.Calendar=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),n=require("date-fns"),x=require("lucide-react"),a=require("./index139.cjs"),O=require("./index14.cjs"),R=["Su","Mo","Tu","We","Th","Fr","Sa"];function _(t,r){const c=t.length,d=(r%c+c)%c;return[...t.slice(d),...t.slice(0,d)]}const C=t=>{const{mode:r="single",min:c,max:d,disabled:m,weekStartsOn:h=0,showOutsideDays:j=!0,className:v,...k}=t,{selected:W,onSelect:F,...E}=k,[f,S]=u.useState(()=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"&&t.selected?n.startOfMonth(t.selected):r==="range"&&t.mode==="range"&&t.selected?.from?n.startOfMonth(t.selected.from):n.startOfMonth(new Date)),N=u.useMemo(()=>{const e=n.startOfMonth(f),s=n.endOfMonth(f),l=n.startOfWeek(e,{weekStartsOn:h}),o=n.endOfWeek(s,{weekStartsOn:h});return n.eachDayOfInterval({start:l,end:o})},[f,h]),B=u.useMemo(()=>_(R,h),[h]),g=u.useCallback(e=>c&&n.isBefore(e,z(c))||d&&n.isAfter(e,P(d))?!0:m?Array.isArray(m)?m.some(s=>n.isSameDay(s,e)):m(e):!1,[c,d,m]),y=u.useCallback(e=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"?t.selected?n.isSameDay(t.selected,e):!1:r==="multiple"&&t.mode==="multiple"?t.selected?.some(s=>n.isSameDay(s,e))??!1:!1,[r,t]),M=u.useCallback(e=>{if(r!=="range"||t.mode!=="range"||!t.selected)return null;const{from:s,to:l}=t.selected;return s?l?n.isSameDay(e,s)&&n.isSameDay(e,l)||n.isSameDay(e,s)?"start":n.isSameDay(e,l)?"end":n.isAfter(e,s)&&n.isBefore(e,l)?"middle":null:n.isSameDay(e,s)?"start":null:null},[r,t]),w=u.useCallback(e=>{if(!g(e)){if(r==="single"&&t.mode!=="range"&&t.mode!=="multiple"){const s=t.onSelect;s?.(e)}else if(r==="range"&&t.mode==="range"){const s=t.onSelect,l=t.selected;!l?.from||l.from&&l.to?s?.({from:e,to:void 0}):n.isBefore(e,l.from)?s?.({from:e,to:l.from}):s?.({from:l.from,to:e})}else if(r==="multiple"&&t.mode==="multiple"){const s=t.onSelect,l=t.selected??[],o=l.findIndex(D=>n.isSameDay(D,e));o>=0?s?.(l.filter((D,L)=>L!==o)):s?.([...l,e])}}},[r,t,g]),A=()=>S(e=>n.subMonths(e,1)),I=()=>S(e=>n.addMonths(e,1)),T=e=>{const s=[a.default.day];if(!n.isSameMonth(e,f)&&s.push(a.default.outside),n.isToday(e)&&s.push(a.default.today),g(e)&&s.push(a.default.disabled),r==="range"){const o=M(e);o==="start"&&(s.push(a.default.rangeStart),t.mode==="range"&&t.selected?.from&&t.selected?.to&&n.isSameDay(t.selected.from,t.selected.to)&&s.push(a.default.rangeEnd)),o==="middle"&&s.push(a.default.rangeMiddle),o==="end"&&s.push(a.default.rangeEnd)}else y(e)&&s.push(a.default.selected);return s.join(" ")},q=[a.default.calendar,v].filter(Boolean).join(" "),b=u.useId();return i.jsxs("div",{className:q,...E,children:[i.jsxs("div",{className:a.default.header,children:[i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronLeft,{size:16}),onClick:A,"aria-label":"Previous month"}),i.jsx("span",{id:b,className:a.default.monthLabel,children:n.format(f,"MMMM yyyy")}),i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronRight,{size:16}),onClick:I,"aria-label":"Next month"})]}),i.jsxs("div",{className:a.default.grid,role:"grid","aria-labelledby":b,children:[B.map(e=>i.jsx("div",{className:a.default.weekday,role:"columnheader","aria-label":e,children:e},e)),N.map(e=>!n.isSameMonth(e,f)&&!j?i.jsx("div",{},e.toISOString()):i.jsx("button",{type:"button",className:T(e),onClick:()=>w(e),disabled:g(e),tabIndex:n.isToday(e)?0:-1,"aria-label":n.format(e,"EEEE, MMMM d, yyyy"),"aria-selected":y(e)||M(e)!==null,children:n.format(e,"d")},e.toISOString()))]})]})};C.displayName="Calendar";function z(t){const r=new Date(t);return r.setHours(0,0,0,0),r}function P(t){const r=new Date(t);return r.setHours(23,59,59,999),r}exports.Calendar=C;
package/dist/index15.mjs CHANGED
@@ -2,7 +2,7 @@ import { jsxs as M, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as K, useMemo as N, useCallback as g, useId as Y } from "react";
3
3
  import { startOfMonth as S, endOfMonth as q, startOfWeek as G, endOfWeek as J, eachDayOfInterval as Q, isBefore as y, isAfter as k, isSameDay as i, format as b, isSameMonth as x, isToday as w, subMonths as U, addMonths as V } from "date-fns";
4
4
  import { ChevronLeft as X, ChevronRight as Z } from "lucide-react";
5
- import o from "./index131.mjs";
5
+ import o from "./index139.mjs";
6
6
  import { Button as I } from "./index14.mjs";
7
7
  const $ = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
8
8
  function p(t, r) {
package/dist/index150.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="_icon_3txcc_9",r="_xs_3txcc_29",s="_sm_3txcc_34",t="_md_3txcc_39",_="_lg_3txcc_44",n="_xl_3txcc_49",e="_current_3txcc_58",o="_primary_3txcc_62",i="_secondary_3txcc_66",a="_tertiary_3txcc_70",x="_brand_3txcc_74",d="_success_3txcc_78",l="_warning_3txcc_82",u="_error_3txcc_86",y="_info_3txcc_90",m="_inverse_3txcc_94",b="_disabled_3txcc_102",g={icon:c,xs:r,sm:s,md:t,lg:_,xl:n,current:e,primary:o,secondary:i,tertiary:a,brand:x,success:d,warning:l,error:u,info:y,inverse:m,disabled:b};exports.brand=x;exports.current=e;exports.default=g;exports.disabled=b;exports.error=u;exports.icon=c;exports.info=y;exports.inverse=m;exports.lg=_;exports.md=t;exports.primary=o;exports.secondary=i;exports.sm=s;exports.success=d;exports.tertiary=a;exports.warning=l;exports.xl=n;exports.xs=r;
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;
package/dist/index150.mjs CHANGED
@@ -1,39 +1,45 @@
1
- const c = "_icon_3txcc_9", _ = "_xs_3txcc_29", t = "_sm_3txcc_34", s = "_md_3txcc_39", n = "_lg_3txcc_44", r = "_xl_3txcc_49", o = "_current_3txcc_58", e = "_primary_3txcc_62", x = "_secondary_3txcc_66", i = "_tertiary_3txcc_70", a = "_brand_3txcc_74", d = "_success_3txcc_78", l = "_warning_3txcc_82", y = "_error_3txcc_86", m = "_info_3txcc_90", u = "_inverse_3txcc_94", b = "_disabled_3txcc_102", g = {
2
- icon: c,
3
- xs: _,
4
- sm: t,
5
- md: s,
6
- lg: n,
7
- xl: r,
8
- current: o,
9
- primary: e,
10
- secondary: x,
11
- tertiary: i,
12
- brand: a,
13
- success: d,
14
- warning: l,
15
- error: y,
16
- info: m,
17
- inverse: u,
18
- disabled: b
1
+ const _ = "_avatar_zbymr_8", x = "_image_zbymr_30", t = "_initials_zbymr_38", n = "_icon_zbymr_48", s = "_xs_zbymr_64", o = "_sm_zbymr_75", i = "_md_zbymr_86", r = "_lg_zbymr_97", a = "_xl_zbymr_108", l = "_xxl_zbymr_119", c = "_profile_zbymr_130", m = "_xxxl_zbymr_141", y = "_xxxxl_zbymr_152", b = "_xxxxxl_zbymr_163", e = "_interactive_zbymr_178", z = "_statusIndicator_zbymr_200", f = "_online_zbymr_212", d = "_offline_zbymr_216", u = "_away_zbymr_220", g = "_busy_zbymr_224", v = {
2
+ avatar: _,
3
+ image: x,
4
+ initials: t,
5
+ icon: n,
6
+ xs: s,
7
+ sm: o,
8
+ md: i,
9
+ lg: r,
10
+ xl: a,
11
+ xxl: l,
12
+ profile: c,
13
+ xxxl: m,
14
+ xxxxl: y,
15
+ xxxxxl: b,
16
+ interactive: e,
17
+ statusIndicator: z,
18
+ online: f,
19
+ offline: d,
20
+ away: u,
21
+ busy: g
19
22
  };
20
23
  export {
21
- a as brand,
22
- o as current,
23
- g as default,
24
- b as disabled,
25
- y as error,
26
- c as icon,
27
- m as info,
28
- u as inverse,
29
- n as lg,
30
- s as md,
31
- e as primary,
32
- x as secondary,
33
- t as sm,
34
- d as success,
35
- i as tertiary,
36
- l as warning,
37
- r as xl,
38
- _ as xs
24
+ _ as avatar,
25
+ u as away,
26
+ g as busy,
27
+ v as default,
28
+ n as icon,
29
+ x as image,
30
+ t as initials,
31
+ e as interactive,
32
+ r as lg,
33
+ i as md,
34
+ d as offline,
35
+ f as online,
36
+ c as profile,
37
+ o as sm,
38
+ z as statusIndicator,
39
+ a as xl,
40
+ s as xs,
41
+ l as xxl,
42
+ m as xxxl,
43
+ y as xxxxl,
44
+ b as xxxxxl
39
45
  };
package/dist/index151.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n="_collapsible_1swsf_3",t="_trigger_1swsf_8",e="_content_1swsf_32",o="_contentOpen_1swsf_38",s="_contentInner_1swsf_42",c={collapsible:n,trigger:t,content:e,contentOpen:o,contentInner:s};exports.collapsible=n;exports.content=e;exports.contentInner=s;exports.contentOpen=o;exports.default=c;exports.trigger=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_banner_1j8yh_5",n="_container_1j8yh_49",e="_content_1j8yh_61",s="_splitLayout_1j8yh_71",o="_splitContent_1j8yh_86",i="_splitImage_1j8yh_90",_="_eyebrow_1j8yh_98",c="_title_1j8yh_116",a="_description_1j8yh_130",l="_actions_1j8yh_143",r="_dismissButton_1j8yh_154",y={banner:t,container:n,content:e,splitLayout:s,splitContent:o,splitImage:i,eyebrow:_,title:c,description:a,actions:l,dismissButton:r};exports.actions=l;exports.banner=t;exports.container=n;exports.content=e;exports.default=y;exports.description=a;exports.dismissButton=r;exports.eyebrow=_;exports.splitContent=o;exports.splitImage=i;exports.splitLayout=s;exports.title=c;
package/dist/index151.mjs CHANGED
@@ -1,15 +1,27 @@
1
- const n = "_collapsible_1swsf_3", t = "_trigger_1swsf_8", e = "_content_1swsf_32", s = "_contentOpen_1swsf_38", o = "_contentInner_1swsf_42", c = {
2
- collapsible: n,
3
- trigger: t,
4
- content: e,
5
- contentOpen: s,
6
- contentInner: o
1
+ const t = "_banner_1j8yh_5", n = "_container_1j8yh_49", s = "_content_1j8yh_61", o = "_splitLayout_1j8yh_71", _ = "_splitContent_1j8yh_86", e = "_splitImage_1j8yh_90", i = "_eyebrow_1j8yh_98", c = "_title_1j8yh_116", y = "_description_1j8yh_130", a = "_actions_1j8yh_143", l = "_dismissButton_1j8yh_154", p = {
2
+ banner: t,
3
+ container: n,
4
+ content: s,
5
+ splitLayout: o,
6
+ splitContent: _,
7
+ splitImage: e,
8
+ eyebrow: i,
9
+ title: c,
10
+ description: y,
11
+ actions: a,
12
+ dismissButton: l
7
13
  };
8
14
  export {
9
- n as collapsible,
10
- e as content,
11
- o as contentInner,
12
- s as contentOpen,
13
- c as default,
14
- t as trigger
15
+ a as actions,
16
+ t as banner,
17
+ n as container,
18
+ s as content,
19
+ p as default,
20
+ y as description,
21
+ l as dismissButton,
22
+ i as eyebrow,
23
+ _ as splitContent,
24
+ e as splitImage,
25
+ o as splitLayout,
26
+ c as title
15
27
  };
package/dist/index152.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s="_breadcrumb_12bqk_8",e="_item_12bqk_20",_="_link_12bqk_26",o="_current_12bqk_49",c="_separator_12bqk_59",n="_chevron_12bqk_69",t="_slash_12bqk_86",r="_icon_12bqk_94",l="_homeIcon_12bqk_112",i="_ellipsis_12bqk_120",b="_sm_12bqk_135",m="_md_12bqk_158",a="_lg_12bqk_175",k={breadcrumb:s,item:e,link:_,current:o,separator:c,chevron:n,slash:t,icon:r,homeIcon:l,ellipsis:i,sm:b,md:m,lg:a};exports.breadcrumb=s;exports.chevron=n;exports.current=o;exports.default=k;exports.ellipsis=i;exports.homeIcon=l;exports.icon=r;exports.item=e;exports.lg=a;exports.link=_;exports.md=m;exports.separator=c;exports.slash=t;exports.sm=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_card_c78ie_8",t="_base_c78ie_27",i="_glass_c78ie_32",a="_elevated_c78ie_39",n="_outlined_c78ie_44",o="_image_c78ie_49",_="_inverse_c78ie_59",c="_header_c78ie_66",r="_body_c78ie_67",s="_footer_c78ie_68",g="_imageOverlay_c78ie_73",d="_gradientBottom_c78ie_83",m="_gradientTop_c78ie_93",l="_gradientCenter_c78ie_103",v="_imageContent_c78ie_116",u="_imageTitle_c78ie_123",b="_imageDescription_c78ie_134",y="_imageMeta_c78ie_145",p="_interactive_c78ie_193",T={card:e,base:t,glass:i,elevated:a,outlined:n,image:o,inverse:_,header:c,body:r,footer:s,imageOverlay:g,gradientBottom:d,gradientTop:m,gradientCenter:l,imageContent:v,imageTitle:u,imageDescription:b,imageMeta:y,interactive:p};exports.base=t;exports.body=r;exports.card=e;exports.default=T;exports.elevated=a;exports.footer=s;exports.glass=i;exports.gradientBottom=d;exports.gradientCenter=l;exports.gradientTop=m;exports.header=c;exports.image=o;exports.imageContent=v;exports.imageDescription=b;exports.imageMeta=y;exports.imageOverlay=g;exports.imageTitle=u;exports.interactive=p;exports.inverse=_;exports.outlined=n;
package/dist/index152.mjs CHANGED
@@ -1,31 +1,43 @@
1
- const _ = "_breadcrumb_12bqk_8", s = "_item_12bqk_20", o = "_link_12bqk_26", c = "_current_12bqk_49", n = "_separator_12bqk_59", t = "_chevron_12bqk_69", e = "_slash_12bqk_86", r = "_icon_12bqk_94", b = "_homeIcon_12bqk_112", l = "_ellipsis_12bqk_120", k = "_sm_12bqk_135", i = "_md_12bqk_158", m = "_lg_12bqk_175", a = {
2
- breadcrumb: _,
3
- item: s,
4
- link: o,
5
- current: c,
6
- separator: n,
7
- chevron: t,
8
- slash: e,
9
- icon: r,
10
- homeIcon: b,
11
- ellipsis: l,
12
- sm: k,
13
- md: i,
14
- lg: m
1
+ const e = "_card_c78ie_8", t = "_base_c78ie_27", i = "_glass_c78ie_32", _ = "_elevated_c78ie_39", a = "_outlined_c78ie_44", n = "_image_c78ie_49", c = "_inverse_c78ie_59", o = "_header_c78ie_66", s = "_body_c78ie_67", r = "_footer_c78ie_68", g = "_imageOverlay_c78ie_73", d = "_gradientBottom_c78ie_83", m = "_gradientTop_c78ie_93", l = "_gradientCenter_c78ie_103", v = "_imageContent_c78ie_116", p = "_imageTitle_c78ie_123", y = "_imageDescription_c78ie_134", b = "_imageMeta_c78ie_145", C = "_interactive_c78ie_193", T = {
2
+ card: e,
3
+ base: t,
4
+ glass: i,
5
+ elevated: _,
6
+ outlined: a,
7
+ image: n,
8
+ inverse: c,
9
+ header: o,
10
+ body: s,
11
+ footer: r,
12
+ imageOverlay: g,
13
+ gradientBottom: d,
14
+ gradientTop: m,
15
+ gradientCenter: l,
16
+ imageContent: v,
17
+ imageTitle: p,
18
+ imageDescription: y,
19
+ imageMeta: b,
20
+ interactive: C
15
21
  };
16
22
  export {
17
- _ as breadcrumb,
18
- t as chevron,
19
- c as current,
20
- a as default,
21
- l as ellipsis,
22
- b as homeIcon,
23
- r as icon,
24
- s as item,
25
- m as lg,
26
- o as link,
27
- i as md,
28
- n as separator,
29
- e as slash,
30
- k as sm
23
+ t as base,
24
+ s as body,
25
+ e as card,
26
+ T as default,
27
+ _ as elevated,
28
+ r as footer,
29
+ i as glass,
30
+ d as gradientBottom,
31
+ l as gradientCenter,
32
+ m as gradientTop,
33
+ o as header,
34
+ n as image,
35
+ v as imageContent,
36
+ y as imageDescription,
37
+ b as imageMeta,
38
+ g as imageOverlay,
39
+ p as imageTitle,
40
+ C as interactive,
41
+ c as inverse,
42
+ a as outlined
31
43
  };