se-design 1.0.98-dev.0 → 1.0.98

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 (343) hide show
  1. package/dist/assets/icons/fill-and-sign.svg +1 -1
  2. package/dist/index100.js +2 -2
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +1 -1
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +1 -1
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +1 -1
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +1 -1
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +1 -1
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +1 -1
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +1 -1
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +1 -1
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +1 -1
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index110.js +1 -1
  23. package/dist/index110.js.map +1 -1
  24. package/dist/index111.js +1 -1
  25. package/dist/index111.js.map +1 -1
  26. package/dist/index112.js +1 -1
  27. package/dist/index112.js.map +1 -1
  28. package/dist/index113.js +1 -1
  29. package/dist/index113.js.map +1 -1
  30. package/dist/index114.js +1 -1
  31. package/dist/index114.js.map +1 -1
  32. package/dist/index115.js +1 -1
  33. package/dist/index115.js.map +1 -1
  34. package/dist/index116.js +1 -1
  35. package/dist/index116.js.map +1 -1
  36. package/dist/index117.js +1 -1
  37. package/dist/index117.js.map +1 -1
  38. package/dist/index118.js +1 -1
  39. package/dist/index118.js.map +1 -1
  40. package/dist/index119.js +1 -1
  41. package/dist/index119.js.map +1 -1
  42. package/dist/index12.js +2 -2
  43. package/dist/index120.js +2 -2
  44. package/dist/index120.js.map +1 -1
  45. package/dist/index121.js +2 -2
  46. package/dist/index121.js.map +1 -1
  47. package/dist/index122.js +1 -1
  48. package/dist/index122.js.map +1 -1
  49. package/dist/index123.js +1 -1
  50. package/dist/index123.js.map +1 -1
  51. package/dist/index124.js +1 -1
  52. package/dist/index124.js.map +1 -1
  53. package/dist/index125.js +2 -2
  54. package/dist/index125.js.map +1 -1
  55. package/dist/index126.js +2 -2
  56. package/dist/index126.js.map +1 -1
  57. package/dist/index127.js +1 -1
  58. package/dist/index127.js.map +1 -1
  59. package/dist/index128.js +2 -2
  60. package/dist/index128.js.map +1 -1
  61. package/dist/index129.js +2 -2
  62. package/dist/index129.js.map +1 -1
  63. package/dist/index13.js +2 -2
  64. package/dist/index130.js +1 -1
  65. package/dist/index130.js.map +1 -1
  66. package/dist/index131.js +1 -1
  67. package/dist/index131.js.map +1 -1
  68. package/dist/index132.js +1 -1
  69. package/dist/index132.js.map +1 -1
  70. package/dist/index133.js +2 -2
  71. package/dist/index133.js.map +1 -1
  72. package/dist/index134.js +2 -2
  73. package/dist/index134.js.map +1 -1
  74. package/dist/index135.js +2 -2
  75. package/dist/index135.js.map +1 -1
  76. package/dist/index136.js +1 -1
  77. package/dist/index136.js.map +1 -1
  78. package/dist/index137.js +1 -1
  79. package/dist/index137.js.map +1 -1
  80. package/dist/index138.js +2 -2
  81. package/dist/index138.js.map +1 -1
  82. package/dist/index139.js +1 -1
  83. package/dist/index139.js.map +1 -1
  84. package/dist/index140.js +1 -1
  85. package/dist/index140.js.map +1 -1
  86. package/dist/index141.js +2 -2
  87. package/dist/index141.js.map +1 -1
  88. package/dist/index142.js +2 -2
  89. package/dist/index142.js.map +1 -1
  90. package/dist/index143.js +2 -2
  91. package/dist/index143.js.map +1 -1
  92. package/dist/index144.js +2 -2
  93. package/dist/index144.js.map +1 -1
  94. package/dist/index145.js +1 -1
  95. package/dist/index145.js.map +1 -1
  96. package/dist/index146.js +2 -2
  97. package/dist/index146.js.map +1 -1
  98. package/dist/index147.js +1 -1
  99. package/dist/index147.js.map +1 -1
  100. package/dist/index148.js +1 -1
  101. package/dist/index148.js.map +1 -1
  102. package/dist/index149.js +1 -1
  103. package/dist/index149.js.map +1 -1
  104. package/dist/index150.js +1 -1
  105. package/dist/index150.js.map +1 -1
  106. package/dist/index151.js +2 -2
  107. package/dist/index151.js.map +1 -1
  108. package/dist/index152.js +2 -2
  109. package/dist/index152.js.map +1 -1
  110. package/dist/index153.js +1 -1
  111. package/dist/index153.js.map +1 -1
  112. package/dist/index154.js +1 -1
  113. package/dist/index154.js.map +1 -1
  114. package/dist/index155.js +2 -2
  115. package/dist/index155.js.map +1 -1
  116. package/dist/index156.js +1 -1
  117. package/dist/index156.js.map +1 -1
  118. package/dist/index157.js +1 -1
  119. package/dist/index157.js.map +1 -1
  120. package/dist/index158.js +1 -1
  121. package/dist/index158.js.map +1 -1
  122. package/dist/index159.js +1 -1
  123. package/dist/index159.js.map +1 -1
  124. package/dist/index16.js +1 -1
  125. package/dist/index160.js +1 -1
  126. package/dist/index160.js.map +1 -1
  127. package/dist/index161.js +1 -1
  128. package/dist/index161.js.map +1 -1
  129. package/dist/index162.js +1 -1
  130. package/dist/index162.js.map +1 -1
  131. package/dist/index163.js +2 -2
  132. package/dist/index163.js.map +1 -1
  133. package/dist/index164.js +1 -1
  134. package/dist/index164.js.map +1 -1
  135. package/dist/index165.js +1 -1
  136. package/dist/index165.js.map +1 -1
  137. package/dist/index166.js +2 -2
  138. package/dist/index166.js.map +1 -1
  139. package/dist/index167.js +2 -2
  140. package/dist/index167.js.map +1 -1
  141. package/dist/index168.js +1 -1
  142. package/dist/index168.js.map +1 -1
  143. package/dist/index169.js +2 -2
  144. package/dist/index169.js.map +1 -1
  145. package/dist/index170.js +2 -2
  146. package/dist/index170.js.map +1 -1
  147. package/dist/index171.js +1 -1
  148. package/dist/index171.js.map +1 -1
  149. package/dist/index172.js +1 -1
  150. package/dist/index172.js.map +1 -1
  151. package/dist/index173.js +1 -1
  152. package/dist/index173.js.map +1 -1
  153. package/dist/index174.js +2 -2
  154. package/dist/index174.js.map +1 -1
  155. package/dist/index175.js +2 -2
  156. package/dist/index175.js.map +1 -1
  157. package/dist/index176.js +1 -1
  158. package/dist/index176.js.map +1 -1
  159. package/dist/index177.js +2 -2
  160. package/dist/index177.js.map +1 -1
  161. package/dist/index178.js +2 -2
  162. package/dist/index178.js.map +1 -1
  163. package/dist/index179.js +2 -2
  164. package/dist/index179.js.map +1 -1
  165. package/dist/index180.js +1 -1
  166. package/dist/index180.js.map +1 -1
  167. package/dist/index181.js +1 -1
  168. package/dist/index181.js.map +1 -1
  169. package/dist/index182.js +1 -1
  170. package/dist/index182.js.map +1 -1
  171. package/dist/index183.js +1 -1
  172. package/dist/index183.js.map +1 -1
  173. package/dist/index184.js +1 -1
  174. package/dist/index184.js.map +1 -1
  175. package/dist/index185.js +1 -1
  176. package/dist/index185.js.map +1 -1
  177. package/dist/index186.js +1 -1
  178. package/dist/index186.js.map +1 -1
  179. package/dist/index187.js +2 -2
  180. package/dist/index187.js.map +1 -1
  181. package/dist/index188.js +1 -1
  182. package/dist/index188.js.map +1 -1
  183. package/dist/index189.js +1 -1
  184. package/dist/index189.js.map +1 -1
  185. package/dist/index19.js +1 -1
  186. package/dist/index190.js +1 -1
  187. package/dist/index190.js.map +1 -1
  188. package/dist/index191.js +1 -1
  189. package/dist/index191.js.map +1 -1
  190. package/dist/index192.js +1 -1
  191. package/dist/index192.js.map +1 -1
  192. package/dist/index193.js +1 -1
  193. package/dist/index193.js.map +1 -1
  194. package/dist/index194.js +1 -1
  195. package/dist/index194.js.map +1 -1
  196. package/dist/index195.js +1 -1
  197. package/dist/index195.js.map +1 -1
  198. package/dist/index196.js +1 -1
  199. package/dist/index196.js.map +1 -1
  200. package/dist/index197.js +1 -1
  201. package/dist/index197.js.map +1 -1
  202. package/dist/index198.js +1 -1
  203. package/dist/index198.js.map +1 -1
  204. package/dist/index199.js +1 -1
  205. package/dist/index199.js.map +1 -1
  206. package/dist/index200.js +2 -2
  207. package/dist/index200.js.map +1 -1
  208. package/dist/index201.js +1 -1
  209. package/dist/index201.js.map +1 -1
  210. package/dist/index202.js +1 -1
  211. package/dist/index202.js.map +1 -1
  212. package/dist/index203.js +1 -1
  213. package/dist/index203.js.map +1 -1
  214. package/dist/index204.js +2 -2
  215. package/dist/index204.js.map +1 -1
  216. package/dist/index205.js +1 -1
  217. package/dist/index205.js.map +1 -1
  218. package/dist/index206.js +1 -1
  219. package/dist/index206.js.map +1 -1
  220. package/dist/index207.js +1 -1
  221. package/dist/index207.js.map +1 -1
  222. package/dist/index208.js +2 -2
  223. package/dist/index208.js.map +1 -1
  224. package/dist/index209.js +2 -2
  225. package/dist/index209.js.map +1 -1
  226. package/dist/index210.js +1 -1
  227. package/dist/index210.js.map +1 -1
  228. package/dist/index211.js +1 -1
  229. package/dist/index211.js.map +1 -1
  230. package/dist/index212.js +2 -2
  231. package/dist/index212.js.map +1 -1
  232. package/dist/index213.js +1 -1
  233. package/dist/index213.js.map +1 -1
  234. package/dist/index214.js +1 -1
  235. package/dist/index214.js.map +1 -1
  236. package/dist/index215.js +1 -1
  237. package/dist/index215.js.map +1 -1
  238. package/dist/index216.js +1 -1
  239. package/dist/index216.js.map +1 -1
  240. package/dist/index217.js +2 -2
  241. package/dist/index217.js.map +1 -1
  242. package/dist/index218.js +2 -2
  243. package/dist/index218.js.map +1 -1
  244. package/dist/index219.js +1 -1
  245. package/dist/index219.js.map +1 -1
  246. package/dist/index220.js +2 -2
  247. package/dist/index220.js.map +1 -1
  248. package/dist/index221.js +2 -2
  249. package/dist/index221.js.map +1 -1
  250. package/dist/index222.js +2 -2
  251. package/dist/index222.js.map +1 -1
  252. package/dist/index223.js +2 -149
  253. package/dist/index223.js.map +1 -1
  254. package/dist/index224.js +2 -9
  255. package/dist/index224.js.map +1 -1
  256. package/dist/index225.js +2 -6
  257. package/dist/index225.js.map +1 -1
  258. package/dist/index226.js +2 -43
  259. package/dist/index226.js.map +1 -1
  260. package/dist/index227.js +2 -21
  261. package/dist/index227.js.map +1 -1
  262. package/dist/index228.js +5 -0
  263. package/dist/index228.js.map +1 -0
  264. package/dist/index229.js +5 -0
  265. package/dist/index229.js.map +1 -0
  266. package/dist/index230.js +5 -0
  267. package/dist/index230.js.map +1 -0
  268. package/dist/index231.js +152 -0
  269. package/dist/index231.js.map +1 -0
  270. package/dist/index24.js +1 -1
  271. package/dist/{index244.js → index245.js} +1 -1
  272. package/dist/{index244.js.map → index245.js.map} +1 -1
  273. package/dist/{index253.js → index254.js} +1 -1
  274. package/dist/{index253.js.map → index254.js.map} +1 -1
  275. package/dist/{index256.js → index257.js} +1 -1
  276. package/dist/{index256.js.map → index257.js.map} +1 -1
  277. package/dist/index26.js +1 -1
  278. package/dist/index266.js +169 -3
  279. package/dist/index266.js.map +1 -1
  280. package/dist/index267.js +7 -0
  281. package/dist/index267.js.map +1 -0
  282. package/dist/index29.js +2 -2
  283. package/dist/index30.js +1 -1
  284. package/dist/index31.js +1 -1
  285. package/dist/index34.js +1 -1
  286. package/dist/index36.js +1 -1
  287. package/dist/index37.js +1 -1
  288. package/dist/index38.js +1 -1
  289. package/dist/index39.js +1 -1
  290. package/dist/index40.js +2 -2
  291. package/dist/index41.js +1 -1
  292. package/dist/index43.js +1 -1
  293. package/dist/index44.js +1 -1
  294. package/dist/index45.js +1 -1
  295. package/dist/index47.js +1 -1
  296. package/dist/index52.js +2 -2
  297. package/dist/index55.js +1 -1
  298. package/dist/index57.js +1 -1
  299. package/dist/index58.js +1 -1
  300. package/dist/index59.js +1 -1
  301. package/dist/index6.js +135 -135
  302. package/dist/index63.js +1 -1
  303. package/dist/index67.js +1 -1
  304. package/dist/index69.js +1 -1
  305. package/dist/index7.js +1 -1
  306. package/dist/index71.js +1 -1
  307. package/dist/index85.js +1 -1
  308. package/dist/index87.js +1 -1
  309. package/dist/{index242.js → index88.js} +1 -1
  310. package/dist/index88.js.map +1 -0
  311. package/dist/index89.js +28 -2
  312. package/dist/index89.js.map +1 -1
  313. package/dist/index9.js +1 -1
  314. package/dist/index90.js +19 -2
  315. package/dist/index90.js.map +1 -1
  316. package/dist/index91.js +9 -2
  317. package/dist/index91.js.map +1 -1
  318. package/dist/index92.js +43 -2
  319. package/dist/index92.js.map +1 -1
  320. package/dist/index93.js +6 -2
  321. package/dist/index93.js.map +1 -1
  322. package/dist/index94.js +72 -2
  323. package/dist/index94.js.map +1 -1
  324. package/dist/index95.js +21 -2
  325. package/dist/index95.js.map +1 -1
  326. package/dist/index97.js +2 -2
  327. package/dist/index97.js.map +1 -1
  328. package/dist/index98.js +2 -2
  329. package/dist/index98.js.map +1 -1
  330. package/dist/index99.js +1 -1
  331. package/dist/index99.js.map +1 -1
  332. package/package.json +1 -1
  333. package/dist/index234.js +0 -31
  334. package/dist/index234.js.map +0 -1
  335. package/dist/index235.js +0 -75
  336. package/dist/index235.js.map +0 -1
  337. package/dist/index242.js.map +0 -1
  338. package/dist/index265.js +0 -173
  339. package/dist/index265.js.map +0 -1
  340. package/dist/index268.js +0 -22
  341. package/dist/index268.js.map +0 -1
  342. package/dist/index96.js +0 -5
  343. package/dist/index96.js.map +0 -1
package/dist/index6.js CHANGED
@@ -1,139 +1,139 @@
1
- import L from "./index89.js";
2
- import R from "./index90.js";
3
- import F from "./index91.js";
4
- import B from "./index92.js";
5
- import D from "./index93.js";
6
- import M from "./index94.js";
7
- import q from "./index95.js";
8
- import G from "./index96.js";
9
- import V from "./index97.js";
10
- import z from "./index98.js";
11
- import H from "./index99.js";
12
- import J from "./index100.js";
13
- import K from "./index101.js";
14
- import Q from "./index102.js";
15
- import U from "./index103.js";
16
- import W from "./index104.js";
17
- import X from "./index105.js";
18
- import Y from "./index106.js";
19
- import Z from "./index107.js";
20
- import ss from "./index108.js";
21
- import os from "./index109.js";
22
- import _s from "./index110.js";
23
- import ts from "./index111.js";
24
- import is from "./index112.js";
25
- import rs from "./index113.js";
26
- import es from "./index114.js";
27
- import cs from "./index115.js";
28
- import as from "./index116.js";
29
- import ms from "./index117.js";
30
- import gs from "./index118.js";
31
- import vs from "./index119.js";
32
- import ns from "./index120.js";
33
- import ls from "./index121.js";
34
- import fs from "./index122.js";
35
- import bs from "./index123.js";
36
- import ps from "./index124.js";
37
- import ds from "./index125.js";
38
- import us from "./index126.js";
39
- import hs from "./index127.js";
40
- import ks from "./index128.js";
41
- import xs from "./index129.js";
42
- import As from "./index130.js";
43
- import Is from "./index131.js";
44
- import ys from "./index132.js";
45
- import ws from "./index133.js";
46
- import Ps from "./index134.js";
47
- import Ns from "./index135.js";
48
- import Cs from "./index136.js";
49
- import Os from "./index137.js";
50
- import $s from "./index138.js";
51
- import Es from "./index139.js";
52
- import Ss from "./index140.js";
53
- import Ts from "./index141.js";
54
- import js from "./index142.js";
55
- import Ls from "./index143.js";
56
- import Rs from "./index144.js";
57
- import Fs from "./index145.js";
58
- import Bs from "./index146.js";
59
- import Ds from "./index147.js";
60
- import Ms from "./index148.js";
61
- import qs from "./index149.js";
62
- import Gs from "./index150.js";
63
- import Vs from "./index151.js";
64
- import zs from "./index152.js";
65
- import Hs from "./index153.js";
66
- import Js from "./index154.js";
67
- import Ks from "./index155.js";
68
- import Qs from "./index156.js";
69
- import Us from "./index157.js";
70
- import Ws from "./index158.js";
71
- import Xs from "./index159.js";
72
- import Ys from "./index160.js";
73
- import Zs from "./index161.js";
74
- import so from "./index162.js";
75
- import oo from "./index163.js";
76
- import _o from "./index164.js";
77
- import to from "./index165.js";
78
- import io from "./index166.js";
79
- import ro from "./index167.js";
80
- import eo from "./index168.js";
81
- import co from "./index169.js";
82
- import ao from "./index170.js";
83
- import mo from "./index171.js";
84
- import go from "./index172.js";
85
- import vo from "./index173.js";
86
- import no from "./index174.js";
87
- import lo from "./index175.js";
88
- import fo from "./index176.js";
89
- import bo from "./index177.js";
90
- import po from "./index178.js";
91
- import uo from "./index179.js";
92
- import ho from "./index180.js";
93
- import ko from "./index181.js";
94
- import xo from "./index182.js";
95
- import Ao from "./index183.js";
96
- import Io from "./index184.js";
97
- import yo from "./index185.js";
98
- import wo from "./index186.js";
99
- import Po from "./index187.js";
100
- import No from "./index188.js";
101
- import Co from "./index189.js";
102
- import Oo from "./index190.js";
103
- import $o from "./index191.js";
104
- import Eo from "./index192.js";
105
- import So from "./index193.js";
106
- import To from "./index194.js";
107
- import jo from "./index195.js";
108
- import Lo from "./index196.js";
109
- import Ro from "./index197.js";
110
- import Fo from "./index198.js";
111
- import Bo from "./index199.js";
112
- import Do from "./index200.js";
113
- import Mo from "./index201.js";
114
- import qo from "./index202.js";
115
- import Go from "./index203.js";
116
- import Vo from "./index204.js";
117
- import zo from "./index205.js";
118
- import Ho from "./index206.js";
119
- import Jo from "./index207.js";
120
- import Ko from "./index208.js";
121
- import Qo from "./index209.js";
122
- import Uo from "./index210.js";
123
- import Wo from "./index211.js";
124
- import Xo from "./index212.js";
125
- import Yo from "./index213.js";
126
- import Zo from "./index214.js";
127
- import s_ from "./index215.js";
128
- import o_ from "./index216.js";
129
- import __ from "./index217.js";
130
- import t_ from "./index218.js";
131
- import i_ from "./index219.js";
132
- import r_ from "./index220.js";
133
- import e_ from "./index221.js";
134
- import c_ from "./index222.js";
1
+ import L from "./index97.js";
2
+ import R from "./index98.js";
3
+ import F from "./index99.js";
4
+ import B from "./index100.js";
5
+ import D from "./index101.js";
6
+ import M from "./index102.js";
7
+ import q from "./index103.js";
8
+ import G from "./index104.js";
9
+ import V from "./index105.js";
10
+ import z from "./index106.js";
11
+ import H from "./index107.js";
12
+ import J from "./index108.js";
13
+ import K from "./index109.js";
14
+ import Q from "./index110.js";
15
+ import U from "./index111.js";
16
+ import W from "./index112.js";
17
+ import X from "./index113.js";
18
+ import Y from "./index114.js";
19
+ import Z from "./index115.js";
20
+ import ss from "./index116.js";
21
+ import os from "./index117.js";
22
+ import _s from "./index118.js";
23
+ import ts from "./index119.js";
24
+ import is from "./index120.js";
25
+ import rs from "./index121.js";
26
+ import es from "./index122.js";
27
+ import cs from "./index123.js";
28
+ import as from "./index124.js";
29
+ import ms from "./index125.js";
30
+ import gs from "./index126.js";
31
+ import vs from "./index127.js";
32
+ import ns from "./index128.js";
33
+ import ls from "./index129.js";
34
+ import fs from "./index130.js";
35
+ import bs from "./index131.js";
36
+ import ps from "./index132.js";
37
+ import ds from "./index133.js";
38
+ import us from "./index134.js";
39
+ import hs from "./index135.js";
40
+ import ks from "./index136.js";
41
+ import xs from "./index137.js";
42
+ import As from "./index138.js";
43
+ import Is from "./index139.js";
44
+ import ys from "./index140.js";
45
+ import ws from "./index141.js";
46
+ import Ps from "./index142.js";
47
+ import Ns from "./index143.js";
48
+ import Cs from "./index144.js";
49
+ import Os from "./index145.js";
50
+ import $s from "./index146.js";
51
+ import Es from "./index147.js";
52
+ import Ss from "./index148.js";
53
+ import Ts from "./index149.js";
54
+ import js from "./index150.js";
55
+ import Ls from "./index151.js";
56
+ import Rs from "./index152.js";
57
+ import Fs from "./index153.js";
58
+ import Bs from "./index154.js";
59
+ import Ds from "./index155.js";
60
+ import Ms from "./index156.js";
61
+ import qs from "./index157.js";
62
+ import Gs from "./index158.js";
63
+ import Vs from "./index159.js";
64
+ import zs from "./index160.js";
65
+ import Hs from "./index161.js";
66
+ import Js from "./index162.js";
67
+ import Ks from "./index163.js";
68
+ import Qs from "./index164.js";
69
+ import Us from "./index165.js";
70
+ import Ws from "./index166.js";
71
+ import Xs from "./index167.js";
72
+ import Ys from "./index168.js";
73
+ import Zs from "./index169.js";
74
+ import so from "./index170.js";
75
+ import oo from "./index171.js";
76
+ import _o from "./index172.js";
77
+ import to from "./index173.js";
78
+ import io from "./index174.js";
79
+ import ro from "./index175.js";
80
+ import eo from "./index176.js";
81
+ import co from "./index177.js";
82
+ import ao from "./index178.js";
83
+ import mo from "./index179.js";
84
+ import go from "./index180.js";
85
+ import vo from "./index181.js";
86
+ import no from "./index182.js";
87
+ import lo from "./index183.js";
88
+ import fo from "./index184.js";
89
+ import bo from "./index185.js";
90
+ import po from "./index186.js";
91
+ import uo from "./index187.js";
92
+ import ho from "./index188.js";
93
+ import ko from "./index189.js";
94
+ import xo from "./index190.js";
95
+ import Ao from "./index191.js";
96
+ import Io from "./index192.js";
97
+ import yo from "./index193.js";
98
+ import wo from "./index194.js";
99
+ import Po from "./index195.js";
100
+ import No from "./index196.js";
101
+ import Co from "./index197.js";
102
+ import Oo from "./index198.js";
103
+ import $o from "./index199.js";
104
+ import Eo from "./index200.js";
105
+ import So from "./index201.js";
106
+ import To from "./index202.js";
107
+ import jo from "./index203.js";
108
+ import Lo from "./index204.js";
109
+ import Ro from "./index205.js";
110
+ import Fo from "./index206.js";
111
+ import Bo from "./index207.js";
112
+ import Do from "./index208.js";
113
+ import Mo from "./index209.js";
114
+ import qo from "./index210.js";
115
+ import Go from "./index211.js";
116
+ import Vo from "./index212.js";
117
+ import zo from "./index213.js";
118
+ import Ho from "./index214.js";
119
+ import Jo from "./index215.js";
120
+ import Ko from "./index216.js";
121
+ import Qo from "./index217.js";
122
+ import Uo from "./index218.js";
123
+ import Wo from "./index219.js";
124
+ import Xo from "./index220.js";
125
+ import Yo from "./index221.js";
126
+ import Zo from "./index222.js";
127
+ import s_ from "./index223.js";
128
+ import o_ from "./index224.js";
129
+ import __ from "./index225.js";
130
+ import t_ from "./index226.js";
131
+ import i_ from "./index227.js";
132
+ import r_ from "./index228.js";
133
+ import e_ from "./index229.js";
134
+ import c_ from "./index230.js";
135
135
  import a from "react";
136
- import { ReactSVG as a_ } from "./index223.js";
136
+ import { ReactSVG as a_ } from "./index231.js";
137
137
  import { getA11yNameAttributes as m_ } from "./index87.js";
138
138
  import { useAccessiblePress as g_ } from "./index73.js";
139
139
  import "./index78.js";
package/dist/index63.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import p, { useState as A, useRef as O, useEffect as j } from "react";
2
- import { useStableId as W } from "./index225.js";
2
+ import { useStableId as W } from "./index93.js";
3
3
  /* empty css */
4
4
  const M = ({
5
5
  length: n = 6,
package/dist/index67.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import n, { useState as u, useCallback as y, useEffect as P } from "react";
2
2
  import { Popover as I } from "./index19.js";
3
- import { useStableId as k } from "./index225.js";
3
+ import { useStableId as k } from "./index93.js";
4
4
  /* empty css */
5
5
  function p() {
6
6
  return p = Object.assign ? Object.assign.bind() : function(r) {
package/dist/index69.js CHANGED
@@ -2,7 +2,7 @@ import F, { useState as ot, useRef as X, useEffect as $ } from "react";
2
2
  import { createPortal as nt } from "react-dom";
3
3
  import { Icon as it } from "./index6.js";
4
4
  import { Button as rt } from "./index4.js";
5
- import { debounce as lt } from "./index244.js";
5
+ import { debounce as lt } from "./index245.js";
6
6
  const q = 500, S = 50, U = 150, st = {
7
7
  "top-left": {
8
8
  rotate: "315",
package/dist/index7.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import s, { useState as h, useCallback as i } from "react";
2
2
  import "./index78.js";
3
- import { isElementVisible as p } from "./index224.js";
3
+ import { isElementVisible as p } from "./index91.js";
4
4
  const x = ({
5
5
  skipLinks: n,
6
6
  className: c = ""
package/dist/index71.js CHANGED
@@ -4,7 +4,7 @@ import { Badge as j } from "./index10.js";
4
4
  import { Icon as q } from "./index6.js";
5
5
  import { Link as N } from "./index70.js";
6
6
  import { CustomModal as G } from "./index13.js";
7
- import { useStableId as J } from "./index225.js";
7
+ import { useStableId as J } from "./index93.js";
8
8
  /* empty css */
9
9
  const K = {
10
10
  lg: {
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { useState as m, useEffect as E, useCallback as w } from "react";
2
- import { useScrollActiveIntoView as I } from "./index268.js";
2
+ import { useScrollActiveIntoView as I } from "./index90.js";
3
3
  function A({
4
4
  items: u,
5
5
  isOpen: t,
package/dist/index87.js CHANGED
@@ -1,4 +1,4 @@
1
- import { mergeIds as i } from "./index242.js";
1
+ import { mergeIds as i } from "./index88.js";
2
2
  function n({
3
3
  ariaLabel: t,
4
4
  ariaLabelledBy: o,
@@ -5,4 +5,4 @@ function o(...n) {
5
5
  export {
6
6
  o as mergeIds
7
7
  };
8
- //# sourceMappingURL=index242.js.map
8
+ //# sourceMappingURL=index88.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index88.js","sources":["../src/utils/mergeIds.ts"],"sourcesContent":["/**\n * Merges multiple ID strings into a single space-separated string.\n * Filters out falsy values and deduplicates IDs while preserving order.\n * \n * Useful for ARIA attributes (aria-describedby, aria-labelledby) and class names.\n * \n * @param ids - Array of id strings (or undefined/null)\n * @returns Merged space-separated id string, or undefined if no valid ids\n * \n * @example\n * mergeIds('error-1', undefined, 'helper-1', 'error-1')\n * // Returns: 'error-1 helper-1'\n */\nexport function mergeIds(...ids: (string | undefined | null)[]): string | undefined {\n const uniqueIds = [\n ...new Set(\n ids\n .filter((id): id is string => Boolean(id))\n .flatMap(id => id.trim().split(/\\s+/))\n .filter(Boolean)\n )\n ];\n \n return uniqueIds.length > 0 ? uniqueIds.join(' ') : undefined;\n}\n"],"names":["mergeIds","ids","uniqueIds","Set","filter","id","Boolean","flatMap","trim","split","length","join","undefined"],"mappings":"AAaO,SAASA,KAAYC,GAAwD;AAClF,QAAMC,IAAY,CAChB,GAAG,IAAIC,IACLF,EACGG,OAAO,CAACC,MAAqBC,EAAQD,CAAG,EACxCE,QAAQF,CAAAA,MAAMA,EAAGG,OAAOC,MAAM,KAAK,CAAC,EACpCL,OAAOE,OAAO,CACnB,CAAC;AAGH,SAAOJ,EAAUQ,SAAS,IAAIR,EAAUS,KAAK,GAAG,IAAIC;AACtD;"}
package/dist/index89.js CHANGED
@@ -1,5 +1,31 @@
1
- const L = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='white'/%3e%3cpath%20d='M11.0179%2013.3597L12.27%2010.855L13.5222%2013.3597C13.9204%2014.1563%2014.5662%2014.8021%2015.3627%2015.2004L17.8682%2016.4531L15.3627%2017.7059C14.5662%2018.1041%2013.9204%2018.75%2013.5222%2019.5465L12.27%2022.0513L11.0179%2019.5465C10.6197%2018.75%209.97387%2018.1041%209.17738%2017.7059L6.67188%2016.4531L9.17738%2015.2004C9.97387%2014.8021%2010.6197%2014.1563%2011.0179%2013.3597Z'%20fill='%23415575'/%3e%3cpath%20d='M19.0159%207.18859L19.4685%206.2832L19.9211%207.18859C20.3193%207.98511%2020.9651%208.63098%2021.7616%209.02923L22.6674%209.48215L21.7616%209.93506C20.9651%2010.3333%2020.3193%2010.9792%2019.9211%2011.7757L19.4685%2012.6811L19.0159%2011.7757C18.6177%2010.9792%2017.9719%2010.3333%2017.1754%209.93506L16.2695%209.48215L17.1754%209.02923C17.9719%208.63098%2018.6177%207.98511%2019.0159%207.18859Z'%20fill='%23415575'/%3e%3cpath%20d='M19.0159%2021.3561L19.4685%2020.4507L19.9211%2021.3561C20.3193%2022.1526%2020.9651%2022.7985%2021.7616%2023.1967L22.6674%2023.6496L21.7616%2024.1025C20.9651%2024.5008%2020.3193%2025.1467%2019.9211%2025.9432L19.4685%2026.8486L19.0159%2025.9432C18.6177%2025.1467%2017.9719%2024.5008%2017.1754%2024.1025L16.2695%2023.6496L17.1754%2023.1967C17.9719%2022.7985%2018.6177%2022.1526%2019.0159%2021.3561Z'%20fill='%23415575'/%3e%3c/svg%3e";
1
+ import { useCallback as y, useEffect as d } from "react";
2
+ function p({
3
+ containerRef: E,
4
+ onDismiss: e,
5
+ enabled: t = !0,
6
+ useDocumentListener: u = !1,
7
+ preventDefault: c = !0,
8
+ stopPropagation: n = !0
9
+ }) {
10
+ const f = y((r) => {
11
+ !t || !e || r.key !== "Escape" || (c && r.preventDefault(), n && r.stopPropagation(), e());
12
+ }, [t, e, c, n]);
13
+ return d(() => {
14
+ if (!u || !t || !e) return;
15
+ const r = E?.current, a = (o) => {
16
+ o.key === "Escape" && (r && !r.contains(document.activeElement) || (c && o.preventDefault(), n && o.stopPropagation(), e()));
17
+ };
18
+ return document.addEventListener("keydown", a, {
19
+ capture: !0
20
+ }), () => document.removeEventListener("keydown", a, {
21
+ capture: !0
22
+ });
23
+ }, [u, t, e, E, c, n]), {
24
+ onKeyDown: u ? () => {
25
+ } : f
26
+ };
27
+ }
2
28
  export {
3
- L as default
29
+ p as useDismissOnEscape
4
30
  };
5
31
  //# sourceMappingURL=index89.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index89.js","sources":["../src/assets/icons/ai-off.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='white'/%3e%3cpath%20d='M11.0179%2013.3597L12.27%2010.855L13.5222%2013.3597C13.9204%2014.1563%2014.5662%2014.8021%2015.3627%2015.2004L17.8682%2016.4531L15.3627%2017.7059C14.5662%2018.1041%2013.9204%2018.75%2013.5222%2019.5465L12.27%2022.0513L11.0179%2019.5465C10.6197%2018.75%209.97387%2018.1041%209.17738%2017.7059L6.67188%2016.4531L9.17738%2015.2004C9.97387%2014.8021%2010.6197%2014.1563%2011.0179%2013.3597Z'%20fill='%23415575'/%3e%3cpath%20d='M19.0159%207.18859L19.4685%206.2832L19.9211%207.18859C20.3193%207.98511%2020.9651%208.63098%2021.7616%209.02923L22.6674%209.48215L21.7616%209.93506C20.9651%2010.3333%2020.3193%2010.9792%2019.9211%2011.7757L19.4685%2012.6811L19.0159%2011.7757C18.6177%2010.9792%2017.9719%2010.3333%2017.1754%209.93506L16.2695%209.48215L17.1754%209.02923C17.9719%208.63098%2018.6177%207.98511%2019.0159%207.18859Z'%20fill='%23415575'/%3e%3cpath%20d='M19.0159%2021.3561L19.4685%2020.4507L19.9211%2021.3561C20.3193%2022.1526%2020.9651%2022.7985%2021.7616%2023.1967L22.6674%2023.6496L21.7616%2024.1025C20.9651%2024.5008%2020.3193%2025.1467%2019.9211%2025.9432L19.4685%2026.8486L19.0159%2025.9432C18.6177%2025.1467%2017.9719%2024.5008%2017.1754%2024.1025L16.2695%2023.6496L17.1754%2023.1967C17.9719%2022.7985%2018.6177%2022.1526%2019.0159%2021.3561Z'%20fill='%23415575'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_0"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index89.js","sources":["../src/utils/a11y/useDismissOnEscape.ts"],"sourcesContent":["import { useCallback, useEffect } from 'react';\nimport type { RefObject } from 'react';\n\nexport interface UseDismissOnEscapeOptions<T extends HTMLElement = HTMLElement> {\n /**\n * Container element ref — used for focus-check in document-level mode,\n * and for the returned onKeyDown in React-event mode.\n */\n containerRef?: RefObject<T | null>;\n /**\n * Callback when Escape key is pressed.\n */\n onDismiss?: () => void;\n /**\n * Whether the Escape handler is active.\n * Default: true\n */\n enabled?: boolean;\n /**\n * Use a native document-level capture listener instead of React's event system.\n * Only use this when React events can't reach the container (e.g. portals outside\n * the container's DOM tree). Prefer the default (false) for layered dismiss support.\n * Default: false\n */\n useDocumentListener?: boolean;\n /**\n * Whether to call e.preventDefault() on Escape.\n * Default: true\n */\n preventDefault?: boolean;\n /**\n * Whether to call e.stopPropagation() on Escape.\n * In React-event mode this is the layered-dismiss mechanism — set false only if\n * you want the event to continue bubbling to a parent dismiss handler.\n * Default: true\n */\n stopPropagation?: boolean;\n}\n\nexport interface UseDismissOnEscapeReturn {\n /**\n * Spread on the container element. In document-listener mode this is a no-op object.\n */\n onKeyDown: (e: React.KeyboardEvent) => void;\n}\n\n/**\n * Hook to handle Escape key dismissal.\n *\n * Default mode: returns an onKeyDown handler for the container element.\n * Uses React's synthetic events so child stopPropagation() is respected,\n * enabling layered dismiss (e.g. dropdown closes before sidebar).\n *\n * Document-listener mode (useDocumentListener: true): registers a native\n * capture listener on document. Use only when focus may be in a portal\n * outside the container's DOM tree.\n */\nexport function useDismissOnEscape<T extends HTMLElement = HTMLElement>({\n containerRef,\n onDismiss,\n enabled = true,\n useDocumentListener = false,\n preventDefault = true,\n stopPropagation = true,\n}: UseDismissOnEscapeOptions<T>): UseDismissOnEscapeReturn {\n // React-event mode: return handler to spread on container\n const onKeyDown = useCallback(\n (e: React.KeyboardEvent) => {\n if (!enabled || !onDismiss || e.key !== 'Escape') return;\n preventDefault && e.preventDefault();\n stopPropagation && e.stopPropagation();\n onDismiss();\n },\n [enabled, onDismiss, preventDefault, stopPropagation]\n );\n\n // Document-listener mode: native capture handler\n useEffect(() => {\n if (!useDocumentListener || !enabled || !onDismiss) return;\n\n const container = containerRef?.current;\n\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key !== 'Escape') return;\n // Only fire if focus is within the container (if provided)\n if (container && !container.contains(document.activeElement)) return;\n preventDefault && e.preventDefault();\n stopPropagation && e.stopPropagation();\n onDismiss();\n };\n\n document.addEventListener('keydown', handleEscape, { capture: true });\n return () => document.removeEventListener('keydown', handleEscape, { capture: true });\n }, [useDocumentListener, enabled, onDismiss, containerRef, preventDefault, stopPropagation]);\n\n return { onKeyDown: useDocumentListener ? (() => {}) : onKeyDown };\n}\n"],"names":["useCallback","useEffect","useDismissOnEscape","containerRef","onDismiss","enabled","useDocumentListener","preventDefault","stopPropagation","onKeyDown","e","key","container","current","handleEscape","contains","document","activeElement","addEventListener","capture","removeEventListener"],"mappings":"AAyDO,SAAA,eAAAA,GAAA,aAAAC,SAAA;AAAA,SAASC,EAAwD;AAAA,EACtEC,cAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,SAAAA,IAAU;AAAA,EACVC,qBAAAA,IAAsB;AAAA,EACtBC,gBAAAA,IAAiB;AAAA,EACjBC,iBAAAA,IAAkB;AACU,GAA6B;AAEzD,QAAMC,IAAYT,EAChB,CAACU,MAA2B;AAC1B,IAAI,CAACL,KAAW,CAACD,KAAaM,EAAEC,QAAQ,aACxCJ,KAAkBG,EAAEH,eAAAA,GACpBC,KAAmBE,EAAEF,gBAAAA,GACrBJ,EAAAA;AAAAA,EACF,GACA,CAACC,GAASD,GAAWG,GAAgBC,CAAe,CACtD;AAGAP,SAAAA,EAAU,MAAM;AACd,QAAI,CAACK,KAAuB,CAACD,KAAW,CAACD,EAAW;AAEpD,UAAMQ,IAAYT,GAAcU,SAE1BC,IAAeA,CAACJ,MAAqB;AACzC,MAAIA,EAAEC,QAAQ,aAEVC,KAAa,CAACA,EAAUG,SAASC,SAASC,aAAa,MAC3DV,KAAkBG,EAAEH,eAAAA,GACpBC,KAAmBE,EAAEF,gBAAAA,GACrBJ,EAAAA;AAAAA,IACF;AAEAY,oBAASE,iBAAiB,WAAWJ,GAAc;AAAA,MAAEK,SAAS;AAAA,IAAA,CAAM,GAC7D,MAAMH,SAASI,oBAAoB,WAAWN,GAAc;AAAA,MAAEK,SAAS;AAAA,IAAA,CAAM;AAAA,EACtF,GAAG,CAACb,GAAqBD,GAASD,GAAWD,GAAcI,GAAgBC,CAAe,CAAC,GAEpF;AAAA,IAAEC,WAAWH,IAAuB,MAAM;AAAA,IAAC,IAAKG;AAAAA,EAAAA;AACzD;"}
package/dist/index9.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { useStableId as A } from "./index225.js";
2
+ import { useStableId as A } from "./index93.js";
3
3
  import { getA11yNameAttributes as O } from "./index87.js";
4
4
  import { useAccessiblePress as C } from "./index73.js";
5
5
  import "./index78.js";
package/dist/index90.js CHANGED
@@ -1,5 +1,22 @@
1
- const C = "data:image/svg+xml,%3csvg%20width='67'%20height='67'%20viewBox='0%200%2067%2067'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.166%204.53418C25.8215%201.28372%2033.4025%200.455651%2040.6025%202.19336C45.6308%203.40697%2050.254%205.81881%2054.0977%209.18262L56.2627%2011.0771V5.22852C56.2628%204.50782%2056.8467%203.92384%2057.5674%203.92383C58.288%203.92383%2058.872%204.50784%2058.8721%205.22852V14.8369C58.872%2015.5575%2058.288%2016.1416%2057.5674%2016.1416H47.874C47.1533%2016.1416%2046.5684%2015.5576%2046.5684%2014.8369C46.5684%2014.1161%2047.1533%2013.5322%2047.874%2013.5322H55.0752L52.4951%2011.249C48.9439%208.10762%2044.6571%205.85686%2039.9902%204.73047C33.3806%203.13527%2026.4212%203.89496%2020.3115%206.87891C14.2018%209.86288%209.32423%2014.8845%206.51855%2021.0781C3.71296%2027.2719%203.15512%2034.2508%204.94141%2040.8115C5.1304%2041.5068%204.72038%2042.2236%204.02539%2042.4131C3.32995%2042.6024%202.6123%2042.1923%202.42285%2041.4971C0.47701%2034.3503%201.08442%2026.748%204.14062%2020.001C7.19678%2013.2541%2012.5107%207.78477%2019.166%204.53418Z'%20stroke='black'%20stroke-width='2.61'/%3e%3cpath%20d='M62.2422%2023.8568C62.9375%2023.6675%2063.6544%2024.0777%2063.8438%2024.7728C65.7896%2031.9196%2065.1823%2039.522%2062.126%2046.2689C59.0697%2053.0158%2053.756%2058.4853%2047.1006%2061.7357C40.445%2064.9863%2032.8642%2065.8144%2025.6641%2064.0765C20.6357%2062.8629%2016.0126%2060.4512%2012.1689%2057.0873L10.0049%2055.1927V60.892C10.0048%2061.6124%209.42064%2062.1965%208.7002%2062.1967C7.97953%2062.1967%207.39465%2061.6126%207.39453%2060.892V51.433C7.39459%2050.7123%207.97949%2050.1283%208.7002%2050.1283H18.2441C18.9647%2050.1284%2019.5488%2050.7124%2019.5488%2051.433C19.5488%2052.1537%2018.9648%2052.7376%2018.2441%2052.7377H11.1914L13.7715%2055.0209C17.3228%2058.1623%2021.6095%2060.413%2026.2764%2061.5394C32.886%2063.1347%2039.8453%2062.3748%2045.9551%2059.391C52.0648%2056.407%2056.9434%2051.3855%2059.749%2045.1918C62.5546%2038.998%2063.1125%2032.0191%2061.3262%2025.4584C61.1488%2024.8064%2061.4978%2024.1351%2062.1152%2023.8978L62.2422%2023.8568Z'%20stroke='black'%20stroke-width='2.61'/%3e%3cpath%20d='M32.5%2020.4045C32.6936%2019.8812%2033.4332%2019.881%2033.627%2020.4045C35.7001%2026.0073%2040.1179%2030.425%2045.7207%2032.4983C46.2441%2032.6919%2046.2441%2033.4316%2045.7207%2033.6252C40.1179%2035.6985%2035.7001%2040.1162%2033.627%2045.719C33.4332%2046.2424%2032.6937%2046.2424%2032.5%2045.719C30.4267%2040.1162%2026.0091%2035.6985%2020.4062%2033.6252C19.8829%2033.4316%2019.8829%2032.6919%2020.4062%2032.4983C26.0091%2030.425%2030.4267%2026.0073%2032.5%2020.4045Z'%20stroke='black'%20stroke-width='3.48'/%3e%3c/svg%3e";
1
+ import { useEffect as s } from "react";
2
+ const u = {
3
+ block: "nearest"
4
+ };
5
+ function m({
6
+ containerRef: t,
7
+ activeIndex: o,
8
+ itemSelector: r = '[role="option"]',
9
+ enabled: c = !0,
10
+ scrollOptions: e = u
11
+ }) {
12
+ s(() => {
13
+ if (!c || o < 0 || !t?.current)
14
+ return;
15
+ const n = t.current.querySelectorAll(r)[o];
16
+ n && n.scrollIntoView(e);
17
+ }, [o, t, r, c, e]);
18
+ }
2
19
  export {
3
- C as default
20
+ m as useScrollActiveIntoView
4
21
  };
5
22
  //# sourceMappingURL=index90.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index90.js","sources":["../src/assets/icons/ai-re-run.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='67'%20height='67'%20viewBox='0%200%2067%2067'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.166%204.53418C25.8215%201.28372%2033.4025%200.455651%2040.6025%202.19336C45.6308%203.40697%2050.254%205.81881%2054.0977%209.18262L56.2627%2011.0771V5.22852C56.2628%204.50782%2056.8467%203.92384%2057.5674%203.92383C58.288%203.92383%2058.872%204.50784%2058.8721%205.22852V14.8369C58.872%2015.5575%2058.288%2016.1416%2057.5674%2016.1416H47.874C47.1533%2016.1416%2046.5684%2015.5576%2046.5684%2014.8369C46.5684%2014.1161%2047.1533%2013.5322%2047.874%2013.5322H55.0752L52.4951%2011.249C48.9439%208.10762%2044.6571%205.85686%2039.9902%204.73047C33.3806%203.13527%2026.4212%203.89496%2020.3115%206.87891C14.2018%209.86288%209.32423%2014.8845%206.51855%2021.0781C3.71296%2027.2719%203.15512%2034.2508%204.94141%2040.8115C5.1304%2041.5068%204.72038%2042.2236%204.02539%2042.4131C3.32995%2042.6024%202.6123%2042.1923%202.42285%2041.4971C0.47701%2034.3503%201.08442%2026.748%204.14062%2020.001C7.19678%2013.2541%2012.5107%207.78477%2019.166%204.53418Z'%20stroke='black'%20stroke-width='2.61'/%3e%3cpath%20d='M62.2422%2023.8568C62.9375%2023.6675%2063.6544%2024.0777%2063.8438%2024.7728C65.7896%2031.9196%2065.1823%2039.522%2062.126%2046.2689C59.0697%2053.0158%2053.756%2058.4853%2047.1006%2061.7357C40.445%2064.9863%2032.8642%2065.8144%2025.6641%2064.0765C20.6357%2062.8629%2016.0126%2060.4512%2012.1689%2057.0873L10.0049%2055.1927V60.892C10.0048%2061.6124%209.42064%2062.1965%208.7002%2062.1967C7.97953%2062.1967%207.39465%2061.6126%207.39453%2060.892V51.433C7.39459%2050.7123%207.97949%2050.1283%208.7002%2050.1283H18.2441C18.9647%2050.1284%2019.5488%2050.7124%2019.5488%2051.433C19.5488%2052.1537%2018.9648%2052.7376%2018.2441%2052.7377H11.1914L13.7715%2055.0209C17.3228%2058.1623%2021.6095%2060.413%2026.2764%2061.5394C32.886%2063.1347%2039.8453%2062.3748%2045.9551%2059.391C52.0648%2056.407%2056.9434%2051.3855%2059.749%2045.1918C62.5546%2038.998%2063.1125%2032.0191%2061.3262%2025.4584C61.1488%2024.8064%2061.4978%2024.1351%2062.1152%2023.8978L62.2422%2023.8568Z'%20stroke='black'%20stroke-width='2.61'/%3e%3cpath%20d='M32.5%2020.4045C32.6936%2019.8812%2033.4332%2019.881%2033.627%2020.4045C35.7001%2026.0073%2040.1179%2030.425%2045.7207%2032.4983C46.2441%2032.6919%2046.2441%2033.4316%2045.7207%2033.6252C40.1179%2035.6985%2035.7001%2040.1162%2033.627%2045.719C33.4332%2046.2424%2032.6937%2046.2424%2032.5%2045.719C30.4267%2040.1162%2026.0091%2035.6985%2020.4062%2033.6252C19.8829%2033.4316%2019.8829%2032.6919%2020.4062%2032.4983C26.0091%2030.425%2030.4267%2026.0073%2032.5%2020.4045Z'%20stroke='black'%20stroke-width='3.48'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_1"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index90.js","sources":["../src/utils/a11y/useScrollActiveIntoView.ts"],"sourcesContent":["import { useEffect } from 'react';\nimport type { RefObject } from 'react';\n\nconst DEFAULT_SCROLL_OPTIONS: ScrollIntoViewOptions = { block: 'nearest' };\n\nexport interface UseScrollActiveIntoViewOptions {\n /**\n * Ref to the container element\n */\n containerRef?: RefObject<HTMLElement | null>;\n \n /**\n * Index of the currently active/highlighted item (-1 if none)\n */\n activeIndex: number;\n \n /**\n * CSS selector for item elements\n * Default: '[role=\"option\"]'\n */\n itemSelector?: string;\n \n /**\n * Whether scrolling is enabled\n * Default: true\n */\n enabled?: boolean;\n \n /**\n * ScrollIntoView options\n * Default: { block: 'nearest' }\n */\n scrollOptions?: ScrollIntoViewOptions;\n}\n\n/**\n * Hook to automatically scroll the active item into view.\n * \n * Useful for aria-activedescendant patterns where DOM focus stays\n * on the container (e.g., input field) but we need to visually show\n * which descendant option is logically active.\n * \n * Common use cases:\n * - Combobox dropdown options\n * - Menu items with virtual focus\n * - Grid cells with keyboard navigation\n * - Tree view items\n * - Listbox options\n * \n * @example\n * ```tsx\n * const [highlightedIndex, setHighlightedIndex] = useState(-1);\n * const listboxRef = useRef<HTMLDivElement>(null);\n * \n * useScrollActiveIntoView({\n * containerRef: listboxRef,\n * activeIndex: highlightedIndex,\n * itemSelector: '[role=\"option\"]'\n * });\n * \n * // Now when highlightedIndex changes, the item scrolls into view\n * ```\n * \n * @example Custom scroll behavior\n * ```tsx\n * useScrollActiveIntoView({\n * containerRef: menuRef,\n * activeIndex: activeMenuIndex,\n * itemSelector: '[role=\"menuitem\"]',\n * scrollOptions: { block: 'center', behavior: 'smooth' }\n * });\n * ```\n */\nexport function useScrollActiveIntoView({\n containerRef,\n activeIndex,\n itemSelector = '[role=\"option\"]',\n enabled = true,\n scrollOptions = DEFAULT_SCROLL_OPTIONS\n}: UseScrollActiveIntoViewOptions): void {\n useEffect(() => {\n // Early returns for disabled states\n if (!enabled || activeIndex < 0 || !containerRef?.current) {\n return;\n }\n \n const container = containerRef.current;\n const items = container.querySelectorAll(itemSelector);\n const activeItem = items[activeIndex] as HTMLElement;\n \n if (activeItem) {\n activeItem.scrollIntoView(scrollOptions);\n }\n }, [activeIndex, containerRef, itemSelector, enabled, scrollOptions]);\n}\n"],"names":["useEffect","DEFAULT_SCROLL_OPTIONS","block","useScrollActiveIntoView","containerRef","activeIndex","itemSelector","enabled","scrollOptions","current","activeItem","querySelectorAll","scrollIntoView"],"mappings":"AAGA,SAAA,aAAAA,SAAA;AAAA,MAAMC,IAAgD;AAAA,EAAEC,OAAO;AAAU;AAsElE,SAASC,EAAwB;AAAA,EACtCC,cAAAA;AAAAA,EACAC,aAAAA;AAAAA,EACAC,cAAAA,IAAe;AAAA,EACfC,SAAAA,IAAU;AAAA,EACVC,eAAAA,IAAgBP;AACc,GAAS;AACvCD,EAAAA,EAAU,MAAM;AAEd,QAAI,CAACO,KAAWF,IAAc,KAAK,CAACD,GAAcK;AAChD;AAKF,UAAMC,IAFYN,EAAaK,QACPE,iBAAiBL,CAAY,EAC5BD,CAAW;AAEpC,IAAIK,KACFA,EAAWE,eAAeJ,CAAa;AAAA,EAE3C,GAAG,CAACH,GAAaD,GAAcE,GAAcC,GAASC,CAAa,CAAC;AACtE;"}
package/dist/index91.js CHANGED
@@ -1,5 +1,12 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='21'%20height='20'%20viewBox='0%200%2021%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.8'%3e%3cg%20clip-path='url(%23clip0_11623_94780)'%3e%3cpath%20d='M8.93929%2014.7575C12.1504%2014.7575%2014.7536%2012.1543%2014.7536%208.94319C14.7536%205.73205%2012.1504%203.12891%208.93929%203.12891C5.72814%203.12891%203.125%205.73205%203.125%208.94319C3.125%2012.1543%205.72814%2014.7575%208.93929%2014.7575Z'%20stroke='%23D8E8F6'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.8642%2016.872L13.0469%2013.0547'%20stroke='%23D8E8F6'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4688%201.47559C13.0214%202.58108%2013.918%203.47752%2015.0234%204.03027L15.9619%204.5L15.0234%204.96973C13.918%205.52248%2013.0214%206.41892%2012.4688%207.52441L12%208.46191L11.5313%207.52441C10.9786%206.41892%2010.082%205.52248%208.97656%204.96973L8.03711%204.5L8.97656%204.03027C10.082%203.47752%2010.9786%202.58108%2011.5313%201.47559L12%200.538086L12.4688%201.47559Z'%20fill='white'%20stroke='%233E8BD1'%20stroke-width='1.375'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11623_94780'%3e%3crect%20width='16'%20height='18'%20fill='white'%20transform='translate(2)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ function n(i) {
2
+ if (!i) return !1;
3
+ const t = window.getComputedStyle(i);
4
+ if (t.display === "none" || t.visibility === "hidden")
5
+ return !1;
6
+ const e = i.getBoundingClientRect();
7
+ return e.width > 0 && e.height > 0;
8
+ }
2
9
  export {
3
- e as default
10
+ n as isElementVisible
4
11
  };
5
12
  //# sourceMappingURL=index91.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index91.js","sources":["../src/assets/icons/ai-search.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='21'%20height='20'%20viewBox='0%200%2021%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20opacity='0.8'%3e%3cg%20clip-path='url(%23clip0_11623_94780)'%3e%3cpath%20d='M8.93929%2014.7575C12.1504%2014.7575%2014.7536%2012.1543%2014.7536%208.94319C14.7536%205.73205%2012.1504%203.12891%208.93929%203.12891C5.72814%203.12891%203.125%205.73205%203.125%208.94319C3.125%2012.1543%205.72814%2014.7575%208.93929%2014.7575Z'%20stroke='%23D8E8F6'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.8642%2016.872L13.0469%2013.0547'%20stroke='%23D8E8F6'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4688%201.47559C13.0214%202.58108%2013.918%203.47752%2015.0234%204.03027L15.9619%204.5L15.0234%204.96973C13.918%205.52248%2013.0214%206.41892%2012.4688%207.52441L12%208.46191L11.5313%207.52441C10.9786%206.41892%2010.082%205.52248%208.97656%204.96973L8.03711%204.5L8.97656%204.03027C10.082%203.47752%2010.9786%202.58108%2011.5313%201.47559L12%200.538086L12.4688%201.47559Z'%20fill='white'%20stroke='%233E8BD1'%20stroke-width='1.375'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11623_94780'%3e%3crect%20width='16'%20height='18'%20fill='white'%20transform='translate(2)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_2"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index91.js","sources":["../src/utils/a11y/elementVisibility.ts"],"sourcesContent":["/**\n * Checks if an element is visible in the DOM.\n * \n * An element is considered visible if:\n * - It exists in the DOM\n * - It's not hidden via CSS (display: none, visibility: hidden)\n * - It has actual dimensions (width > 0 and height > 0)\n * \n * @param element - The element to check, or null\n * @returns true if the element is visible, false otherwise\n * \n * @example\n * const element = document.getElementById('my-element');\n * if (isElementVisible(element)) {\n * // Element is visible\n * }\n */\nexport function isElementVisible(element: HTMLElement | null): boolean {\n if (!element) return false;\n\n // Check computed style for display/visibility\n const style = window.getComputedStyle(element);\n if (style.display === 'none' || style.visibility === 'hidden') {\n return false;\n }\n\n // Check if element has dimensions\n const rect = element.getBoundingClientRect();\n return rect.width > 0 && rect.height > 0;\n}\n"],"names":["isElementVisible","element","style","window","getComputedStyle","display","visibility","rect","getBoundingClientRect","width","height"],"mappings":"AAiBO,SAASA,EAAiBC,GAAsC;AACrE,MAAI,CAACA,EAAS,QAAO;AAGrB,QAAMC,IAAQC,OAAOC,iBAAiBH,CAAO;AAC7C,MAAIC,EAAMG,YAAY,UAAUH,EAAMI,eAAe;AACnD,WAAO;AAIT,QAAMC,IAAON,EAAQO,sBAAAA;AACrB,SAAOD,EAAKE,QAAQ,KAAKF,EAAKG,SAAS;AACzC;"}
package/dist/index92.js CHANGED
@@ -1,5 +1,46 @@
1
- const L = "data:image/svg+xml,%3csvg%20width='16'%20height='17'%20viewBox='0%200%2016%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.4958%207.65801L9.58298%205.83203L8.67016%207.65801C8.37987%208.23869%207.90907%208.70953%207.32841%208.99985L5.50189%209.91312L7.32841%2010.8264C7.90907%2011.1167%208.37987%2011.5876%208.67016%2012.1682L9.58298%2013.9942L10.4958%2012.1682C10.7861%2011.5876%2011.2569%2011.1167%2011.8375%2010.8264L13.6641%209.91312L11.8375%208.99986C11.2569%208.70953%2010.7861%208.23869%2010.4958%207.65801Z'%20fill='%23415575'%20stroke='%23415575'/%3e%3cpath%20d='M4.66587%203.16003L4.33592%202.5L4.00597%203.16003C3.71568%203.7407%203.24488%204.21155%202.66423%204.50187L2.00387%204.83205L2.66422%205.16223C3.24487%205.45255%203.71568%205.9234%204.00597%206.50407L4.33592%207.1641L4.66587%206.50407C4.95615%205.9234%205.42696%205.45255%206.00761%205.16223L6.66797%204.83205L6.00761%204.50187C5.42696%204.21155%204.95615%203.7407%204.66587%203.16003Z'%20fill='%23415575'%20stroke='%23415575'/%3e%3c/svg%3e";
1
+ import { useRef as l } from "react";
2
+ import { useFocusTrap as d } from "./index78.js";
3
+ import { useDismissOnEscape as c } from "./index89.js";
4
+ import { getA11yNameAttributes as f } from "./index87.js";
5
+ import { useStableId as p } from "./index93.js";
6
+ function x({
7
+ isOpen: t,
8
+ onDismiss: s,
9
+ ariaLabel: o,
10
+ ariaLabelledBy: i,
11
+ titleIdPrefix: a = "modal-title",
12
+ initialFocus: m = "first",
13
+ portalContainerRefs: n
14
+ }) {
15
+ const e = l(null), r = p(void 0, a);
16
+ d({
17
+ enabled: t,
18
+ containerRef: e,
19
+ restoreFocus: !0,
20
+ initialFocus: m,
21
+ portalContainerRefs: n
22
+ }), c({
23
+ containerRef: e,
24
+ onDismiss: s,
25
+ enabled: t,
26
+ useDocumentListener: !0
27
+ });
28
+ const u = {
29
+ role: "dialog",
30
+ "aria-modal": !0,
31
+ tabIndex: -1,
32
+ ...f({
33
+ ariaLabelledBy: i ?? (o ? void 0 : r),
34
+ ariaLabel: o
35
+ })
36
+ };
37
+ return {
38
+ containerRef: e,
39
+ titleId: r,
40
+ dialogProps: u
41
+ };
42
+ }
2
43
  export {
3
- L as default
44
+ x as useModalA11y
4
45
  };
5
46
  //# sourceMappingURL=index92.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index92.js","sources":["../src/assets/icons/ai-stars.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='17'%20viewBox='0%200%2016%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.4958%207.65801L9.58298%205.83203L8.67016%207.65801C8.37987%208.23869%207.90907%208.70953%207.32841%208.99985L5.50189%209.91312L7.32841%2010.8264C7.90907%2011.1167%208.37987%2011.5876%208.67016%2012.1682L9.58298%2013.9942L10.4958%2012.1682C10.7861%2011.5876%2011.2569%2011.1167%2011.8375%2010.8264L13.6641%209.91312L11.8375%208.99986C11.2569%208.70953%2010.7861%208.23869%2010.4958%207.65801Z'%20fill='%23415575'%20stroke='%23415575'/%3e%3cpath%20d='M4.66587%203.16003L4.33592%202.5L4.00597%203.16003C3.71568%203.7407%203.24488%204.21155%202.66423%204.50187L2.00387%204.83205L2.66422%205.16223C3.24487%205.45255%203.71568%205.9234%204.00597%206.50407L4.33592%207.1641L4.66587%206.50407C4.95615%205.9234%205.42696%205.45255%206.00761%205.16223L6.66797%204.83205L6.00761%204.50187C5.42696%204.21155%204.95615%203.7407%204.66587%203.16003Z'%20fill='%23415575'%20stroke='%23415575'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_3"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index92.js","sources":["../src/utils/a11y/useModalA11y.ts"],"sourcesContent":["import { useRef } from 'react';\nimport type { MutableRefObject, RefObject } from 'react';\nimport { useFocusTrap } from './useFocusTrap';\nimport { useDismissOnEscape } from './useDismissOnEscape';\nimport { getA11yNameAttributes } from './accessibleName';\nimport { useStableId } from 'src/utils/useStableId';\n\nexport interface UseModalA11yOptions {\n /**\n * Whether the modal is open. Controls focus trap and Escape handler activation.\n */\n isOpen: boolean;\n /**\n * Called when Escape is pressed while focus is within the modal.\n * If undefined, Escape dismissal is disabled.\n */\n onDismiss?: () => void;\n /**\n * aria-label for modals without a visible title heading.\n * Only used when `ariaLabelledBy` is not provided.\n */\n ariaLabel?: string;\n /**\n * ID of an existing visible element (e.g. an h2 inside the modal content) that labels\n * the dialog. Preferred over ariaLabel when a visible heading already exists in the content.\n * Only used when `title` is not provided.\n */\n ariaLabelledBy?: string;\n /**\n * Prefix for the auto-generated title element id. Default: 'modal-title'.\n */\n titleIdPrefix?: string;\n /**\n * Initial focus target when the modal opens. Forwarded to useFocusTrap.\n * - 'first': Focus first focusable element (default)\n * - 'container': Focus the dialog container itself\n * - 'none': Skip — browser handles it (e.g. autofocus attribute on inner element)\n * - CSS selector string: Focus matching element\n * - HTMLElement: Focus specific element\n */\n initialFocus?: 'first' | 'container' | 'none' | string | HTMLElement;\n /**\n * Additional container refs for portal content that is logically part of this modal.\n * Passed through to useFocusTrap and useDismissOnEscape so their safety nets\n * allow focus to move into portal-rendered content (e.g., Dropdown with isWithPortal).\n */\n portalContainerRefs?: MutableRefObject<RefObject<HTMLElement | null>[]>;\n}\n\nexport interface UseModalA11yReturn {\n /**\n * Ref to attach to the dialog container element.\n */\n containerRef: React.RefObject<HTMLDivElement | null>;\n /**\n * Stable ID to set on the visible title element: `<h2 id={titleId}>`.\n * Only relevant when `title` is provided.\n */\n titleId: string;\n /**\n * Spread onto the dialog container element.\n * Includes: role=\"dialog\", aria-modal, tabIndex, aria-labelledby or aria-label.\n */\n dialogProps: {\n role: 'dialog';\n 'aria-modal': true;\n tabIndex: number;\n [key: string]: unknown;\n };\n}\n\n/**\n * Bundles all WCAG dialog semantics into a single hook.\n *\n * Handles:\n * - Stable ID for title element (aria-labelledby association)\n * - Focus trap: moves focus into modal on open, wraps Tab, restores focus on close\n * - Escape dismissal: calls onDismiss when Escape is pressed within the modal\n * - dialogProps: role=\"dialog\", aria-modal, tabIndex, aria-labelledby / aria-label\n *\n * @example Modal with a visible title (most common)\n * ```tsx\n * const MyModal = ({ isOpen, onClose }) => {\n * const { containerRef, titleId, dialogProps } = useModalA11y({\n * isOpen,\n * onDismiss: onClose,\n * });\n *\n * return (\n * <div ref={containerRef} {...dialogProps} className=\"modal-content\">\n * <h2 id={titleId}>My Title</h2>\n * ...\n * </div>\n * );\n * };\n * ```\n *\n * @example Modal without a visible title\n * ```tsx\n * const { containerRef, dialogProps } = useModalA11y({\n * isOpen,\n * onDismiss: onClose,\n * ariaLabel: 'Upload document',\n * });\n * ```\n *\n * @example Custom initial focus (specific button) or skip (autofocus)\n * ```tsx\n * useModalA11y({ isOpen, onDismiss, initialFocus: '.my-cta-btn' });\n * useModalA11y({ isOpen, onDismiss, initialFocus: 'none' }); // autofocus on inner element\n * ```\n */\nexport function useModalA11y({\n isOpen,\n onDismiss,\n ariaLabel,\n ariaLabelledBy,\n titleIdPrefix = 'modal-title',\n initialFocus = 'first',\n portalContainerRefs,\n}: UseModalA11yOptions): UseModalA11yReturn {\n const containerRef = useRef<HTMLDivElement>(null);\n const titleId = useStableId(undefined, titleIdPrefix);\n\n useFocusTrap({\n enabled: isOpen,\n containerRef,\n restoreFocus: true,\n initialFocus,\n portalContainerRefs,\n });\n\n useDismissOnEscape({\n containerRef,\n onDismiss,\n enabled: isOpen,\n useDocumentListener: true,\n });\n\n const nameAttrs = getA11yNameAttributes({\n ariaLabelledBy: ariaLabelledBy ?? (ariaLabel ? undefined : titleId),\n ariaLabel: ariaLabel,\n });\n\n const dialogProps = {\n role: 'dialog' as const,\n 'aria-modal': true as const,\n tabIndex: -1,\n ...nameAttrs,\n };\n\n return { containerRef, titleId, dialogProps };\n}\n"],"names":["useRef","useFocusTrap","useDismissOnEscape","getA11yNameAttributes","useStableId","useModalA11y","isOpen","onDismiss","ariaLabel","ariaLabelledBy","titleIdPrefix","initialFocus","portalContainerRefs","containerRef","titleId","undefined","enabled","restoreFocus","useDocumentListener","dialogProps","role","tabIndex","nameAttrs"],"mappings":"AAgHO,SAAA,UAAAA,SAAA;AAAA,SAAA,gBAAAC,SAAA;AAAA,SAAA,sBAAAC,SAAA;AAAA,SAAA,yBAAAC,SAAA;AAAA,SAAA,eAAAC,SAAA;AAAA,SAASC,EAAa;AAAA,EAC3BC,QAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,eAAAA,IAAgB;AAAA,EAChBC,cAAAA,IAAe;AAAA,EACfC,qBAAAA;AACmB,GAAuB;AAC1C,QAAMC,IAAeb,EAAuB,IAAI,GAC1Cc,IAAUV,EAAYW,QAAWL,CAAa;AAEpDT,EAAAA,EAAa;AAAA,IACXe,SAASV;AAAAA,IACTO,cAAAA;AAAAA,IACAI,cAAc;AAAA,IACdN,cAAAA;AAAAA,IACAC,qBAAAA;AAAAA,EAAAA,CACD,GAEDV,EAAmB;AAAA,IACjBW,cAAAA;AAAAA,IACAN,WAAAA;AAAAA,IACAS,SAASV;AAAAA,IACTY,qBAAqB;AAAA,EAAA,CACtB;AAOD,QAAMC,IAAc;AAAA,IAClBC,MAAM;AAAA,IACN,cAAc;AAAA,IACdC,UAAU;AAAA,IACV,GATgBlB,EAAsB;AAAA,MACtCM,gBAAgBA,MAAmBD,IAAYO,SAAYD;AAAAA,MAC3DN,WAAAA;AAAAA,IAAAA,CACD;AAAA,EAMIc;AAGL,SAAO;AAAA,IAAET,cAAAA;AAAAA,IAAcC,SAAAA;AAAAA,IAASK,aAAAA;AAAAA,EAAAA;AAClC;"}
package/dist/index93.js CHANGED
@@ -1,5 +1,9 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3crect%20width='24'%20height='24'%20rx='12'%20fill='url(%23paint0_linear_11822_95435)'/%3e%3cpath%20d='M8.2639%2010.0192L9.20301%208.14062L10.1421%2010.0192C10.4408%2010.6166%2010.9251%2011.101%2011.5225%2011.3997L13.4016%2012.3392L11.5225%2013.2788C10.9251%2013.5775%2010.4408%2014.0619%2010.1421%2014.6593L9.20301%2016.5379L8.2639%2014.6593C7.96526%2014.0619%207.48089%2013.5775%206.88352%2013.2788L5.00439%2012.3392L6.88352%2011.3997C7.48089%2011.101%207.96526%2010.6166%208.2639%2010.0192Z'%20fill='%239335F0'/%3e%3cpath%20d='M14.2629%205.39193L14.6023%204.71289L14.9418%205.39193C15.2404%205.98932%2015.7248%206.47373%2016.3222%206.77241L17.0015%207.1121L16.3222%207.45178C15.7248%207.75047%2015.2404%208.23487%2014.9418%208.83227L14.6023%209.51131L14.2629%208.83227C13.9642%208.23487%2013.4799%207.75047%2012.8825%207.45178L12.2031%207.1121L12.8825%206.77241C13.4799%206.47373%2013.9642%205.98932%2014.2629%205.39193Z'%20fill='%239335F0'/%3e%3cpath%20d='M14.2629%2016.0169L14.6023%2015.3379L14.9418%2016.0169C15.2404%2016.6143%2015.7248%2017.0987%2016.3222%2017.3974L17.0015%2017.7371L16.3222%2018.0768C15.7248%2018.3755%2015.2404%2018.8599%2014.9418%2019.4573L14.6023%2020.1363L14.2629%2019.4573C13.9642%2018.8599%2013.4799%2018.3755%2012.8825%2018.0768L12.2031%2017.7371L12.8825%2017.3974C13.4799%2017.0987%2013.9642%2016.6143%2014.2629%2016.0169Z'%20fill='%239335F0'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11822_95435'%20x1='12'%20y1='3.06538e-07'%20x2='22.2857'%20y2='24'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F2E1FF'/%3e%3cstop%20offset='1'%20stop-color='%23E3BDFE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
1
+ import { useRef as n } from "react";
2
+ function u(e, t = "se-id") {
3
+ const r = n("");
4
+ return r.current || (r.current = `${t}-${crypto.randomUUID()}`), e || r.current;
5
+ }
2
6
  export {
3
- e as default
7
+ u as useStableId
4
8
  };
5
9
  //# sourceMappingURL=index93.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index93.js","sources":["../src/assets/icons/ai.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3crect%20width='24'%20height='24'%20rx='12'%20fill='url(%23paint0_linear_11822_95435)'/%3e%3cpath%20d='M8.2639%2010.0192L9.20301%208.14062L10.1421%2010.0192C10.4408%2010.6166%2010.9251%2011.101%2011.5225%2011.3997L13.4016%2012.3392L11.5225%2013.2788C10.9251%2013.5775%2010.4408%2014.0619%2010.1421%2014.6593L9.20301%2016.5379L8.2639%2014.6593C7.96526%2014.0619%207.48089%2013.5775%206.88352%2013.2788L5.00439%2012.3392L6.88352%2011.3997C7.48089%2011.101%207.96526%2010.6166%208.2639%2010.0192Z'%20fill='%239335F0'/%3e%3cpath%20d='M14.2629%205.39193L14.6023%204.71289L14.9418%205.39193C15.2404%205.98932%2015.7248%206.47373%2016.3222%206.77241L17.0015%207.1121L16.3222%207.45178C15.7248%207.75047%2015.2404%208.23487%2014.9418%208.83227L14.6023%209.51131L14.2629%208.83227C13.9642%208.23487%2013.4799%207.75047%2012.8825%207.45178L12.2031%207.1121L12.8825%206.77241C13.4799%206.47373%2013.9642%205.98932%2014.2629%205.39193Z'%20fill='%239335F0'/%3e%3cpath%20d='M14.2629%2016.0169L14.6023%2015.3379L14.9418%2016.0169C15.2404%2016.6143%2015.7248%2017.0987%2016.3222%2017.3974L17.0015%2017.7371L16.3222%2018.0768C15.7248%2018.3755%2015.2404%2018.8599%2014.9418%2019.4573L14.6023%2020.1363L14.2629%2019.4573C13.9642%2018.8599%2013.4799%2018.3755%2012.8825%2018.0768L12.2031%2017.7371L12.8825%2017.3974C13.4799%2017.0987%2013.9642%2016.6143%2014.2629%2016.0169Z'%20fill='%239335F0'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_11822_95435'%20x1='12'%20y1='3.06538e-07'%20x2='22.2857'%20y2='24'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F2E1FF'/%3e%3cstop%20offset='1'%20stop-color='%23E3BDFE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_4"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index93.js","sources":["../src/utils/useStableId.ts"],"sourcesContent":["import { useRef } from 'react';\n\n/**\n * Generates a stable unique ID for component instances (React 16 compatible).\n * Returns the provided id if given, otherwise generates a stable per-mount id.\n * \n * @param id - Optional explicit id\n * @param prefix - Prefix for auto-generated ids (default: 'se-id')\n * @returns Stable id string\n */\nexport function useStableId(id?: string, prefix: string = 'se-id'): string {\n const autoIdRef = useRef<string>('');\n \n if (!autoIdRef.current) {\n autoIdRef.current = `${prefix}-${crypto.randomUUID()}`;\n }\n \n return id || autoIdRef.current;\n}\n\n\n\n\n\n\n\n"],"names":["useRef","useStableId","id","prefix","autoIdRef","current","crypto","randomUUID"],"mappings":"AAUO,SAAA,UAAAA,SAAA;AAAA,SAASC,EAAYC,GAAaC,IAAiB,SAAiB;AACzE,QAAMC,IAAYJ,EAAe,EAAE;AAEnC,SAAKI,EAAUC,YACbD,EAAUC,UAAU,GAAGF,CAAM,IAAIG,OAAOC,YAAY,KAG/CL,KAAME,EAAUC;AACzB;"}