se-design 1.0.82 → 1.0.83-dev.2

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 (397) hide show
  1. package/dist/assets/icons/chat.svg +4 -0
  2. package/dist/assets/icons/tag.svg +2 -2
  3. package/dist/assets/style.css +1 -1
  4. package/dist/components/AccessibleDiv/index.d.ts +23 -1
  5. package/dist/components/Dropdown/index.d.ts +2 -0
  6. package/dist/components/DropdownWithInputTags/index.d.ts +3 -0
  7. package/dist/components/Link/index.d.ts +6 -2
  8. package/dist/index.js +62 -54
  9. package/dist/index.js.map +1 -1
  10. package/dist/index100.js +1 -1
  11. package/dist/index100.js.map +1 -1
  12. package/dist/index101.js +1 -1
  13. package/dist/index101.js.map +1 -1
  14. package/dist/index102.js +1 -1
  15. package/dist/index102.js.map +1 -1
  16. package/dist/index103.js +1 -1
  17. package/dist/index103.js.map +1 -1
  18. package/dist/index104.js +1 -1
  19. package/dist/index104.js.map +1 -1
  20. package/dist/index105.js +1 -1
  21. package/dist/index105.js.map +1 -1
  22. package/dist/index106.js +1 -1
  23. package/dist/index106.js.map +1 -1
  24. package/dist/index107.js +1 -1
  25. package/dist/index107.js.map +1 -1
  26. package/dist/index108.js +1 -1
  27. package/dist/index108.js.map +1 -1
  28. package/dist/index109.js +2 -2
  29. package/dist/index109.js.map +1 -1
  30. package/dist/index110.js +2 -2
  31. package/dist/index110.js.map +1 -1
  32. package/dist/index111.js +1 -1
  33. package/dist/index111.js.map +1 -1
  34. package/dist/index112.js +1 -1
  35. package/dist/index112.js.map +1 -1
  36. package/dist/index113.js +2 -2
  37. package/dist/index113.js.map +1 -1
  38. package/dist/index114.js +1 -1
  39. package/dist/index114.js.map +1 -1
  40. package/dist/index115.js +2 -2
  41. package/dist/index115.js.map +1 -1
  42. package/dist/index116.js +1 -1
  43. package/dist/index116.js.map +1 -1
  44. package/dist/index117.js +1 -1
  45. package/dist/index117.js.map +1 -1
  46. package/dist/index118.js +2 -2
  47. package/dist/index118.js.map +1 -1
  48. package/dist/index119.js +2 -2
  49. package/dist/index119.js.map +1 -1
  50. package/dist/index12.js +2 -2
  51. package/dist/index120.js +1 -1
  52. package/dist/index120.js.map +1 -1
  53. package/dist/index121.js +2 -2
  54. package/dist/index121.js.map +1 -1
  55. package/dist/index122.js +2 -2
  56. package/dist/index122.js.map +1 -1
  57. package/dist/index123.js +2 -2
  58. package/dist/index123.js.map +1 -1
  59. package/dist/index124.js +1 -1
  60. package/dist/index124.js.map +1 -1
  61. package/dist/index125.js +2 -2
  62. package/dist/index125.js.map +1 -1
  63. package/dist/index126.js +2 -2
  64. package/dist/index126.js.map +1 -1
  65. package/dist/index127.js +2 -2
  66. package/dist/index127.js.map +1 -1
  67. package/dist/index128.js +1 -1
  68. package/dist/index128.js.map +1 -1
  69. package/dist/index129.js +1 -1
  70. package/dist/index129.js.map +1 -1
  71. package/dist/index13.js +1 -1
  72. package/dist/index130.js +2 -2
  73. package/dist/index130.js.map +1 -1
  74. package/dist/index131.js +2 -2
  75. package/dist/index131.js.map +1 -1
  76. package/dist/index132.js +2 -2
  77. package/dist/index132.js.map +1 -1
  78. package/dist/index133.js +1 -1
  79. package/dist/index133.js.map +1 -1
  80. package/dist/index134.js +1 -1
  81. package/dist/index134.js.map +1 -1
  82. package/dist/index135.js +2 -2
  83. package/dist/index135.js.map +1 -1
  84. package/dist/index136.js +2 -2
  85. package/dist/index136.js.map +1 -1
  86. package/dist/index137.js +1 -1
  87. package/dist/index137.js.map +1 -1
  88. package/dist/index138.js +1 -1
  89. package/dist/index138.js.map +1 -1
  90. package/dist/index139.js +1 -1
  91. package/dist/index139.js.map +1 -1
  92. package/dist/index140.js +1 -1
  93. package/dist/index140.js.map +1 -1
  94. package/dist/index141.js +1 -1
  95. package/dist/index141.js.map +1 -1
  96. package/dist/index142.js +2 -2
  97. package/dist/index142.js.map +1 -1
  98. package/dist/index143.js +1 -1
  99. package/dist/index143.js.map +1 -1
  100. package/dist/index144.js +1 -1
  101. package/dist/index144.js.map +1 -1
  102. package/dist/index145.js +1 -1
  103. package/dist/index145.js.map +1 -1
  104. package/dist/index146.js +2 -2
  105. package/dist/index146.js.map +1 -1
  106. package/dist/index147.js +1 -1
  107. package/dist/index147.js.map +1 -1
  108. package/dist/index148.js +1 -1
  109. package/dist/index148.js.map +1 -1
  110. package/dist/index149.js +1 -1
  111. package/dist/index149.js.map +1 -1
  112. package/dist/index150.js +1 -1
  113. package/dist/index150.js.map +1 -1
  114. package/dist/index151.js +2 -2
  115. package/dist/index151.js.map +1 -1
  116. package/dist/index152.js +2 -2
  117. package/dist/index152.js.map +1 -1
  118. package/dist/index153.js +1 -1
  119. package/dist/index153.js.map +1 -1
  120. package/dist/index154.js +2 -2
  121. package/dist/index154.js.map +1 -1
  122. package/dist/index155.js +1 -1
  123. package/dist/index155.js.map +1 -1
  124. package/dist/index156.js +2 -2
  125. package/dist/index156.js.map +1 -1
  126. package/dist/index157.js +1 -1
  127. package/dist/index157.js.map +1 -1
  128. package/dist/index158.js +2 -2
  129. package/dist/index158.js.map +1 -1
  130. package/dist/index159.js +2 -2
  131. package/dist/index159.js.map +1 -1
  132. package/dist/index16.js +25 -23
  133. package/dist/index16.js.map +1 -1
  134. package/dist/index160.js +1 -1
  135. package/dist/index160.js.map +1 -1
  136. package/dist/index161.js +1 -1
  137. package/dist/index161.js.map +1 -1
  138. package/dist/index162.js +1 -1
  139. package/dist/index162.js.map +1 -1
  140. package/dist/index163.js +1 -1
  141. package/dist/index163.js.map +1 -1
  142. package/dist/index164.js +1 -1
  143. package/dist/index164.js.map +1 -1
  144. package/dist/index165.js +1 -1
  145. package/dist/index165.js.map +1 -1
  146. package/dist/index166.js +1 -1
  147. package/dist/index166.js.map +1 -1
  148. package/dist/index167.js +1 -1
  149. package/dist/index167.js.map +1 -1
  150. package/dist/index168.js +1 -1
  151. package/dist/index168.js.map +1 -1
  152. package/dist/index169.js +1 -1
  153. package/dist/index169.js.map +1 -1
  154. package/dist/index17.js +29 -29
  155. package/dist/index17.js.map +1 -1
  156. package/dist/index170.js +1 -1
  157. package/dist/index170.js.map +1 -1
  158. package/dist/index171.js +1 -1
  159. package/dist/index171.js.map +1 -1
  160. package/dist/index172.js +1 -1
  161. package/dist/index172.js.map +1 -1
  162. package/dist/index173.js +1 -1
  163. package/dist/index173.js.map +1 -1
  164. package/dist/index174.js +1 -1
  165. package/dist/index174.js.map +1 -1
  166. package/dist/index175.js +1 -1
  167. package/dist/index175.js.map +1 -1
  168. package/dist/index176.js +1 -1
  169. package/dist/index176.js.map +1 -1
  170. package/dist/index177.js +1 -1
  171. package/dist/index177.js.map +1 -1
  172. package/dist/index178.js +1 -1
  173. package/dist/index178.js.map +1 -1
  174. package/dist/index179.js +1 -1
  175. package/dist/index179.js.map +1 -1
  176. package/dist/index18.js +85 -63
  177. package/dist/index18.js.map +1 -1
  178. package/dist/index180.js +1 -1
  179. package/dist/index180.js.map +1 -1
  180. package/dist/index181.js +2 -2
  181. package/dist/index181.js.map +1 -1
  182. package/dist/index182.js +1 -1
  183. package/dist/index182.js.map +1 -1
  184. package/dist/index183.js +1 -1
  185. package/dist/index183.js.map +1 -1
  186. package/dist/index184.js +1 -1
  187. package/dist/index184.js.map +1 -1
  188. package/dist/index185.js +2 -2
  189. package/dist/index185.js.map +1 -1
  190. package/dist/index186.js +1 -1
  191. package/dist/index186.js.map +1 -1
  192. package/dist/index187.js +1 -1
  193. package/dist/index187.js.map +1 -1
  194. package/dist/index188.js +1 -1
  195. package/dist/index188.js.map +1 -1
  196. package/dist/index189.js +2 -2
  197. package/dist/index189.js.map +1 -1
  198. package/dist/index19.js +181 -166
  199. package/dist/index19.js.map +1 -1
  200. package/dist/index190.js +1 -1
  201. package/dist/index190.js.map +1 -1
  202. package/dist/index191.js +1 -1
  203. package/dist/index191.js.map +1 -1
  204. package/dist/index192.js +1 -1
  205. package/dist/index192.js.map +1 -1
  206. package/dist/index193.js +1 -1
  207. package/dist/index193.js.map +1 -1
  208. package/dist/index194.js +1 -1
  209. package/dist/index194.js.map +1 -1
  210. package/dist/index195.js +1 -1
  211. package/dist/index195.js.map +1 -1
  212. package/dist/index196.js +2 -2
  213. package/dist/index196.js.map +1 -1
  214. package/dist/index197.js +1 -1
  215. package/dist/index197.js.map +1 -1
  216. package/dist/index198.js +2 -2
  217. package/dist/index198.js.map +1 -1
  218. package/dist/index199.js +2 -149
  219. package/dist/index199.js.map +1 -1
  220. package/dist/index200.js +2 -9
  221. package/dist/index200.js.map +1 -1
  222. package/dist/index201.js +2 -6
  223. package/dist/index201.js.map +1 -1
  224. package/dist/index202.js +2 -5
  225. package/dist/index202.js.map +1 -1
  226. package/dist/index203.js +149 -42
  227. package/dist/index203.js.map +1 -1
  228. package/dist/index204.js +8 -20
  229. package/dist/index204.js.map +1 -1
  230. package/dist/index205.js +9 -0
  231. package/dist/index205.js.map +1 -0
  232. package/dist/index206.js +8 -0
  233. package/dist/index206.js.map +1 -0
  234. package/dist/index207.js +45 -0
  235. package/dist/index207.js.map +1 -0
  236. package/dist/index208.js +24 -0
  237. package/dist/index208.js.map +1 -0
  238. package/dist/{index211.js → index215.js} +1 -1
  239. package/dist/{index211.js.map → index215.js.map} +1 -1
  240. package/dist/{index212.js → index216.js} +13 -9
  241. package/dist/index216.js.map +1 -0
  242. package/dist/{index220.js → index224.js} +1 -1
  243. package/dist/{index220.js.map → index224.js.map} +1 -1
  244. package/dist/index23.js +3 -3
  245. package/dist/{index228.js → index232.js} +1 -1
  246. package/dist/{index228.js.map → index232.js.map} +1 -1
  247. package/dist/{index231.js → index235.js} +1 -1
  248. package/dist/{index231.js.map → index235.js.map} +1 -1
  249. package/dist/index244.js +168 -8
  250. package/dist/index244.js.map +1 -1
  251. package/dist/index245.js +3 -9
  252. package/dist/index245.js.map +1 -1
  253. package/dist/index247.js +18 -169
  254. package/dist/index247.js.map +1 -1
  255. package/dist/index248.js +10 -11
  256. package/dist/index248.js.map +1 -1
  257. package/dist/index249.js +8 -4
  258. package/dist/index249.js.map +1 -1
  259. package/dist/index25.js +175 -161
  260. package/dist/index25.js.map +1 -1
  261. package/dist/index250.js +4 -5
  262. package/dist/index250.js.map +1 -1
  263. package/dist/index251.js +168 -36
  264. package/dist/index251.js.map +1 -1
  265. package/dist/index252.js +11 -2
  266. package/dist/index252.js.map +1 -1
  267. package/dist/index253.js +5 -7
  268. package/dist/index253.js.map +1 -1
  269. package/dist/index254.js +5 -326
  270. package/dist/index254.js.map +1 -1
  271. package/dist/index255.js +36 -48
  272. package/dist/index255.js.map +1 -1
  273. package/dist/index256.js +2 -2
  274. package/dist/index257.js +7 -75
  275. package/dist/index257.js.map +1 -1
  276. package/dist/index258.js +308 -74
  277. package/dist/index258.js.map +1 -1
  278. package/dist/index259.js +45 -47
  279. package/dist/index259.js.map +1 -1
  280. package/dist/index260.js +2 -8
  281. package/dist/index260.js.map +1 -1
  282. package/dist/index261.js +75 -4
  283. package/dist/index261.js.map +1 -1
  284. package/dist/index262.js +89 -48
  285. package/dist/index262.js.map +1 -1
  286. package/dist/index263.js +52 -2
  287. package/dist/index263.js.map +1 -1
  288. package/dist/index264.js +8 -2
  289. package/dist/index264.js.map +1 -1
  290. package/dist/index265.js +8 -0
  291. package/dist/index265.js.map +1 -0
  292. package/dist/index266.js +55 -0
  293. package/dist/index266.js.map +1 -0
  294. package/dist/index267.js +5 -0
  295. package/dist/index267.js.map +1 -0
  296. package/dist/index268.js +5 -0
  297. package/dist/index268.js.map +1 -0
  298. package/dist/index28.js +5 -5
  299. package/dist/index28.js.map +1 -1
  300. package/dist/index29.js +1 -1
  301. package/dist/index3.js +59 -49
  302. package/dist/index3.js.map +1 -1
  303. package/dist/index30.js +1 -1
  304. package/dist/index33.js +1 -1
  305. package/dist/index35.js +1 -1
  306. package/dist/index36.js +2 -2
  307. package/dist/index38.js +209 -194
  308. package/dist/index38.js.map +1 -1
  309. package/dist/index39.js +3 -3
  310. package/dist/index4.js +1 -1
  311. package/dist/index40.js +1 -1
  312. package/dist/index43.js +16 -16
  313. package/dist/index43.js.map +1 -1
  314. package/dist/index45.js +60 -59
  315. package/dist/index45.js.map +1 -1
  316. package/dist/index46.js +3 -3
  317. package/dist/index49.js +1 -1
  318. package/dist/index51.js +1 -1
  319. package/dist/index52.js +2 -2
  320. package/dist/index53.js +1 -1
  321. package/dist/index55.js +2 -2
  322. package/dist/index55.js.map +1 -1
  323. package/dist/index57.js +1 -1
  324. package/dist/index6.js +238 -236
  325. package/dist/index6.js.map +1 -1
  326. package/dist/index61.js +9 -8
  327. package/dist/index61.js.map +1 -1
  328. package/dist/index63.js +1 -1
  329. package/dist/index64.js +35 -34
  330. package/dist/index64.js.map +1 -1
  331. package/dist/index65.js +1 -1
  332. package/dist/index67.js +1 -1
  333. package/dist/index68.js +80 -58
  334. package/dist/index68.js.map +1 -1
  335. package/dist/index7.js +1 -1
  336. package/dist/index70.js +1 -1
  337. package/dist/index75.js +108 -5
  338. package/dist/index75.js.map +1 -1
  339. package/dist/index76.js +18 -54
  340. package/dist/index76.js.map +1 -1
  341. package/dist/index77.js +10 -23
  342. package/dist/index77.js.map +1 -1
  343. package/dist/index78.js +5 -9
  344. package/dist/index78.js.map +1 -1
  345. package/dist/index79.js +62 -0
  346. package/dist/index79.js.map +1 -0
  347. package/dist/index80.js +24 -2
  348. package/dist/index80.js.map +1 -1
  349. package/dist/index81.js +9 -2
  350. package/dist/index81.js.map +1 -1
  351. package/dist/index83.js +1 -1
  352. package/dist/index83.js.map +1 -1
  353. package/dist/index84.js +2 -2
  354. package/dist/index84.js.map +1 -1
  355. package/dist/index85.js +1 -1
  356. package/dist/index85.js.map +1 -1
  357. package/dist/index86.js +2 -2
  358. package/dist/index86.js.map +1 -1
  359. package/dist/index87.js +1 -1
  360. package/dist/index87.js.map +1 -1
  361. package/dist/index88.js +1 -1
  362. package/dist/index88.js.map +1 -1
  363. package/dist/index89.js +1 -1
  364. package/dist/index89.js.map +1 -1
  365. package/dist/index9.js +3 -3
  366. package/dist/index90.js +1 -1
  367. package/dist/index90.js.map +1 -1
  368. package/dist/index91.js +1 -1
  369. package/dist/index91.js.map +1 -1
  370. package/dist/index92.js +1 -1
  371. package/dist/index92.js.map +1 -1
  372. package/dist/index93.js +1 -1
  373. package/dist/index93.js.map +1 -1
  374. package/dist/index94.js +1 -1
  375. package/dist/index94.js.map +1 -1
  376. package/dist/index95.js +1 -1
  377. package/dist/index95.js.map +1 -1
  378. package/dist/index96.js +1 -1
  379. package/dist/index96.js.map +1 -1
  380. package/dist/index97.js +1 -1
  381. package/dist/index97.js.map +1 -1
  382. package/dist/index98.js +1 -1
  383. package/dist/index98.js.map +1 -1
  384. package/dist/index99.js +1 -1
  385. package/dist/index99.js.map +1 -1
  386. package/package.json +1 -1
  387. package/dist/index212.js.map +0 -1
  388. package/dist/index240.js +0 -173
  389. package/dist/index240.js.map +0 -1
  390. package/dist/index241.js +0 -7
  391. package/dist/index241.js.map +0 -1
  392. package/dist/index243.js +0 -22
  393. package/dist/index243.js.map +0 -1
  394. package/dist/index246.js +0 -8
  395. package/dist/index246.js.map +0 -1
  396. package/dist/index82.js +0 -5
  397. package/dist/index82.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index17.js","sources":["../src/components/MenuItem/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Badge } from 'src/components/Badge';\nimport { Icon } from 'components/Icon';\n\nexport type MenuItemProps = {\n /**\n * Stable unique identifier for the menu item.\n * Recommended for roving focus + React keys, especially when the list can be filtered/reordered.\n */\n id?: string;\n type?: 'item' | 'header' | 'separator';\n label?: string;\n tag?: string;\n isDisabled?: boolean;\n isActive?: boolean;\n icon?: string;\n iconPosition?: 'left' | 'right';\n onClick?: (item: MenuItemProps) => void;\n showCheckMarkForSelected?: boolean;\n automationId?: string;\n renderJSX?: (item: MenuItemProps) => React.ReactNode;\n tabIndex?: number;\n onKeyDown?: (e: React.KeyboardEvent) => void;\n onFocus?: () => void;\n ariaLabel?: string;\n};\n\nexport const MenuItem = forwardRef<HTMLDivElement, MenuItemProps>((props, ref) => {\n const {\n label = '',\n icon,\n tag = '',\n iconPosition = 'right',\n onClick,\n isActive = false,\n showCheckMarkForSelected = false,\n isDisabled = false,\n automationId = '',\n renderJSX = null,\n tabIndex,\n onKeyDown: onKeyDownProp,\n onFocus: onFocusProp,\n ariaLabel\n } = props;\n\n const getIconJsx = (icon: string) => {\n return <Icon name={icon} />;\n };\n\n return (\n <div\n ref={ref}\n className={`se-design-menu-item flex items-center justify-between p-2 mx-1 text-[var(--color-gray-900)] hover:bg-[var(--color-blue-100)] focus-visible:bg-[var(--color-blue-100)] [&.se-design-menu-item:focus-visible]:!outline-none rounded-[6px] gap-2\n ${isActive && !showCheckMarkForSelected ? 'bg-[var(--color-blue-100)]' : ''}\n ${isDisabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer'}\n `}\n onClick={isDisabled ? undefined : () => onClick?.({ label, tag, icon, iconPosition })}\n onKeyDown={(e) => {\n // Call parent's keyboard handler first (for roving focus navigation)\n onKeyDownProp?.(e);\n \n // Then handle activation (Enter/Space)\n if (!isDisabled && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onClick?.({ label, tag, icon, iconPosition });\n }\n }}\n role={showCheckMarkForSelected ? 'menuitemradio' : 'menuitem'}\n aria-checked={showCheckMarkForSelected ? isActive : undefined}\n aria-disabled={isDisabled}\n aria-label={ariaLabel || label}\n tabIndex={isDisabled ? -1 : (tabIndex ?? 0)}\n data-automation-id={automationId}\n onFocus={onFocusProp}\n >\n {renderJSX ? (\n renderJSX(props)\n ) : (\n <>\n <div className=\"flex items-center gap-1\">\n {iconPosition === 'left' && icon && getIconJsx(icon)}\n <span className=\"text-[var(--color-gray-900)]\">{label}</span>\n {iconPosition === 'right' && icon && getIconJsx(icon)}\n </div>\n {tag && <Badge label={tag} />}\n {showCheckMarkForSelected && isActive && <Icon name=\"checkmark\" stroke=\"var(--color-blue-500)\" />}\n </>\n )}\n </div>\n );\n});\n\nMenuItem.displayName = 'MenuItem';\n"],"names":["MenuItem","forwardRef","props","ref","label","icon","tag","iconPosition","onClick","isActive","showCheckMarkForSelected","isDisabled","automationId","renderJSX","tabIndex","onKeyDown","onKeyDownProp","onFocus","onFocusProp","ariaLabel","getIconJsx","React","createElement","Icon","name","className","undefined","e","key","preventDefault","role","Fragment","Badge","stroke","displayName"],"mappings":";;;AA2BO,MAAMA,IAAWC,gBAAAA,EAA0C,CAACC,GAAOC,MAAQ;AAChF,QAAM;AAAA,IACJC,OAAAA,IAAQ;AAAA,IACRC,MAAAA;AAAAA,IACAC,KAAAA,IAAM;AAAA,IACNC,cAAAA,IAAe;AAAA,IACfC,SAAAA;AAAAA,IACAC,UAAAA,IAAW;AAAA,IACXC,0BAAAA,IAA2B;AAAA,IAC3BC,YAAAA,IAAa;AAAA,IACbC,cAAAA,IAAe;AAAA,IACfC,WAAAA,IAAY;AAAA,IACZC,UAAAA;AAAAA,IACAC,WAAWC;AAAAA,IACXC,SAASC;AAAAA,IACTC,WAAAA;AAAAA,EAAAA,IACEjB,GAEEkB,IAAaA,CAACf,MACXgB,gBAAAA,EAAAC,cAACC,GAAI;AAAA,IAACC,MAAMnB;AAAAA,EAAAA,CAAO;AAG5B,SACEgB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEnB,KAAAA;AAAAA,IACAsB,WAAW;AAAA,UACPhB,KAAY,CAACC,IAA2B,+BAA+B,EAAE;AAAA,UACzEC,IAAa,kCAAkC,gBAAgB;AAAA;AAAA,IAEnEH,SAASG,IAAae,SAAY,MAAMlB,IAAU;AAAA,MAAEJ,OAAAA;AAAAA,MAAOE,KAAAA;AAAAA,MAAKD,MAAAA;AAAAA,MAAME,cAAAA;AAAAA,IAAAA,CAAc;AAAA,IACpFQ,WAAYY,CAAAA,MAAM;AAEhBX,MAAAA,IAAgBW,CAAC,GAGb,CAAChB,MAAegB,EAAEC,QAAQ,WAAWD,EAAEC,QAAQ,SACjDD,EAAEE,eAAAA,GACFrB,IAAU;AAAA,QAAEJ,OAAAA;AAAAA,QAAOE,KAAAA;AAAAA,QAAKD,MAAAA;AAAAA,QAAME,cAAAA;AAAAA,MAAAA,CAAc;AAAA,IAEhD;AAAA,IACAuB,MAAMpB,IAA2B,kBAAkB;AAAA,IACnD,gBAAcA,IAA2BD,IAAWiB;AAAAA,IACpD,iBAAef;AAAAA,IACf,cAAYQ,KAAaf;AAAAA,IACzBU,UAAUH,IAAa,KAAMG,KAAY;AAAA,IACzC,sBAAoBF;AAAAA,IACpBK,SAASC;AAAAA,EAAAA,GAERL,IACCA,EAAUX,CAAK,IAEfmB,gBAAAA,EAAAC,cAAAD,EAAAU,UAAA,MACEV,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKG,WAAU;AAAA,EAAA,GACZlB,MAAiB,UAAUF,KAAQe,EAAWf,CAAI,GACnDgB,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMG,WAAU;AAAA,EAAA,GAAgCrB,CAAY,GAC3DG,MAAiB,WAAWF,KAAQe,EAAWf,CAAI,CACjD,GACJC,KAAOe,gBAAAA,EAAAC,cAACU,GAAK;AAAA,IAAC5B,OAAOE;AAAAA,EAAAA,CAAM,GAC3BI,KAA4BD,KAAYY,gBAAAA,EAAAC,cAACC,GAAI;AAAA,IAACC,MAAK;AAAA,IAAYS,QAAO;AAAA,EAAA,CAAyB,CAChG,CAED;AAET,CAAC;AAEDjC,EAASkC,cAAc;"}
1
+ {"version":3,"file":"index17.js","sources":["../src/components/MenuItem/index.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Badge } from 'src/components/Badge';\nimport { Icon } from 'components/Icon';\n\nexport type MenuItemProps = {\n /**\n * Stable unique identifier for the menu item.\n * Recommended for roving focus + React keys, especially when the list can be filtered/reordered.\n */\n id?: string;\n type?: 'item' | 'header' | 'separator';\n label?: string;\n tag?: string;\n isDisabled?: boolean;\n isActive?: boolean;\n icon?: string;\n iconPosition?: 'left' | 'right';\n onClick?: (item: MenuItemProps) => void;\n showCheckMarkForSelected?: boolean;\n automationId?: string;\n renderJSX?: (item: MenuItemProps) => React.ReactNode;\n tabIndex?: number;\n onKeyDown?: (e: React.KeyboardEvent) => void;\n onFocus?: () => void;\n ariaLabel?: string;\n};\n\nexport const MenuItem = forwardRef<HTMLDivElement, MenuItemProps>((props, ref) => {\n const {\n label = '',\n icon,\n tag = '',\n iconPosition = 'right',\n onClick,\n isActive = false,\n showCheckMarkForSelected = false,\n isDisabled = false,\n automationId = '',\n renderJSX = null,\n tabIndex,\n onKeyDown: onKeyDownProp,\n onFocus: onFocusProp,\n ariaLabel\n } = props;\n\n const getIconJsx = (icon: string) => {\n return <Icon name={icon} />;\n };\n\n return (\n <div\n ref={ref}\n className={`se-design-menu-item flex items-center justify-between p-2 mx-1 text-[var(--color-gray-900)] hover:bg-[var(--color-gray-100)] focus-visible:bg-[var(--color-gray-100)] focus-outline rounded-[6px] gap-2\n ${isActive && !showCheckMarkForSelected ? 'bg-[var(--color-blue-100)]' : ''}\n ${isDisabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer'}\n `}\n onClick={isDisabled ? undefined : () => onClick?.({ label, tag, icon, iconPosition })}\n onKeyDown={(e) => {\n // Call parent's keyboard handler first (for roving focus navigation)\n onKeyDownProp?.(e);\n \n // Then handle activation (Enter/Space)\n if (!isDisabled && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onClick?.({ label, tag, icon, iconPosition });\n }\n }}\n role={showCheckMarkForSelected ? 'menuitemradio' : 'menuitem'}\n aria-checked={showCheckMarkForSelected ? isActive : undefined}\n aria-disabled={isDisabled}\n aria-label={ariaLabel || label}\n tabIndex={isDisabled ? -1 : (tabIndex ?? 0)}\n data-automation-id={automationId}\n onFocus={onFocusProp}\n >\n {renderJSX ? (\n renderJSX(props)\n ) : (\n <>\n <div className=\"flex items-center gap-1\">\n {iconPosition === 'left' && icon && getIconJsx(icon)}\n <span className=\"text-[var(--color-gray-900)]\">{label}</span>\n {iconPosition === 'right' && icon && getIconJsx(icon)}\n </div>\n {tag && <Badge label={tag} />}\n {showCheckMarkForSelected && isActive && <Icon name=\"checkmark\" stroke=\"var(--color-blue-500)\" />}\n </>\n )}\n </div>\n );\n});\n\nMenuItem.displayName = 'MenuItem';\n"],"names":["MenuItem","forwardRef","props","ref","label","icon","tag","iconPosition","onClick","isActive","showCheckMarkForSelected","isDisabled","automationId","renderJSX","tabIndex","onKeyDown","onKeyDownProp","onFocus","onFocusProp","ariaLabel","getIconJsx","React","createElement","Icon","name","className","undefined","e","key","preventDefault","role","Fragment","Badge","stroke","displayName"],"mappings":";;;AA2BO,MAAMA,IAAWC,gBAAAA,EAA0C,CAACC,GAAOC,MAAQ;AAChF,QAAM;AAAA,IACJC,OAAAA,IAAQ;AAAA,IACRC,MAAAA;AAAAA,IACAC,KAAAA,IAAM;AAAA,IACNC,cAAAA,IAAe;AAAA,IACfC,SAAAA;AAAAA,IACAC,UAAAA,IAAW;AAAA,IACXC,0BAAAA,IAA2B;AAAA,IAC3BC,YAAAA,IAAa;AAAA,IACbC,cAAAA,IAAe;AAAA,IACfC,WAAAA,IAAY;AAAA,IACZC,UAAAA;AAAAA,IACAC,WAAWC;AAAAA,IACXC,SAASC;AAAAA,IACTC,WAAAA;AAAAA,EAAAA,IACEjB,GAEEkB,IAAaA,CAACf,MACXgB,gBAAAA,EAAAC,cAACC,GAAI;AAAA,IAACC,MAAMnB;AAAAA,EAAAA,CAAO;AAG5B,SACEgB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEnB,KAAAA;AAAAA,IACAsB,WAAW;AAAA,UACPhB,KAAY,CAACC,IAA2B,+BAA+B,EAAE;AAAA,UACzEC,IAAa,kCAAkC,gBAAgB;AAAA;AAAA,IAEnEH,SAASG,IAAae,SAAY,MAAMlB,IAAU;AAAA,MAAEJ,OAAAA;AAAAA,MAAOE,KAAAA;AAAAA,MAAKD,MAAAA;AAAAA,MAAME,cAAAA;AAAAA,IAAAA,CAAc;AAAA,IACpFQ,WAAYY,CAAAA,MAAM;AAEhBX,MAAAA,IAAgBW,CAAC,GAGb,CAAChB,MAAegB,EAAEC,QAAQ,WAAWD,EAAEC,QAAQ,SACjDD,EAAEE,eAAAA,GACFrB,IAAU;AAAA,QAAEJ,OAAAA;AAAAA,QAAOE,KAAAA;AAAAA,QAAKD,MAAAA;AAAAA,QAAME,cAAAA;AAAAA,MAAAA,CAAc;AAAA,IAEhD;AAAA,IACAuB,MAAMpB,IAA2B,kBAAkB;AAAA,IACnD,gBAAcA,IAA2BD,IAAWiB;AAAAA,IACpD,iBAAef;AAAAA,IACf,cAAYQ,KAAaf;AAAAA,IACzBU,UAAUH,IAAa,KAAMG,KAAY;AAAA,IACzC,sBAAoBF;AAAAA,IACpBK,SAASC;AAAAA,EAAAA,GAERL,IACCA,EAAUX,CAAK,IAEfmB,gBAAAA,EAAAC,cAAAD,EAAAU,UAAA,MACEV,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKG,WAAU;AAAA,EAAA,GACZlB,MAAiB,UAAUF,KAAQe,EAAWf,CAAI,GACnDgB,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMG,WAAU;AAAA,EAAA,GAAgCrB,CAAY,GAC3DG,MAAiB,WAAWF,KAAQe,EAAWf,CAAI,CACjD,GACJC,KAAOe,gBAAAA,EAAAC,cAACU,GAAK;AAAA,IAAC5B,OAAOE;AAAAA,EAAAA,CAAM,GAC3BI,KAA4BD,KAAYY,gBAAAA,EAAAC,cAACC,GAAI;AAAA,IAACC,MAAK;AAAA,IAAYS,QAAO;AAAA,EAAA,CAAyB,CAChG,CAED;AAET,CAAC;AAEDjC,EAASkC,cAAc;"}
package/dist/index170.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3824_45679)'%3e%3cpath%20d='M16%200C7.17706%200%200%207.17706%200%2016C0%2024.8229%207.17706%2032%2016%2032C24.8229%2032%2032%2024.8217%2032%2016C32%207.17831%2024.8229%200%2016%200ZM16%2029.5213C8.54531%2029.5213%202.47869%2023.4559%202.47869%2016C2.47869%208.54406%208.54531%202.47869%2016%202.47869C23.4547%202.47869%2029.5213%208.54406%2029.5213%2016C29.5213%2023.4559%2023.4559%2029.5213%2016%2029.5213Z'%20fill='%231B2636'/%3e%3cpath%20d='M22.1967%2014.6499H17.2393V9.6925C17.2393%209.00837%2016.6853%208.45312%2016%208.45312C15.3146%208.45312%2014.7606%209.00837%2014.7606%209.6925V14.6499H9.80322C9.11784%2014.6499%208.56384%2015.2051%208.56384%2015.8892C8.56384%2016.5734%209.11784%2017.1286%209.80322%2017.1286H14.7606V22.086C14.7606%2022.7701%2015.3146%2023.3254%2016%2023.3254C16.6853%2023.3254%2017.2393%2022.7701%2017.2393%2022.086V17.1286H22.1967C22.8821%2017.1286%2023.4361%2016.5734%2023.4361%2015.8892C23.4361%2015.2051%2022.8821%2014.6499%2022.1967%2014.6499Z'%20fill='%231B2636'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3824_45679'%3e%3crect%20width='32'%20height='32'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3997%202.8H1.60022M14.3997%206.3H4.80008M14.3997%209.8H7.99995M14.3997%2013.3H4.80008'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index170.js","sources":["../src/assets/icons/rounded-plus.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%3cg%20clip-path='url(%23clip0_3824_45679)'%3e%3cpath%20d='M16%200C7.17706%200%200%207.17706%200%2016C0%2024.8229%207.17706%2032%2016%2032C24.8229%2032%2032%2024.8217%2032%2016C32%207.17831%2024.8229%200%2016%200ZM16%2029.5213C8.54531%2029.5213%202.47869%2023.4559%202.47869%2016C2.47869%208.54406%208.54531%202.47869%2016%202.47869C23.4547%202.47869%2029.5213%208.54406%2029.5213%2016C29.5213%2023.4559%2023.4559%2029.5213%2016%2029.5213Z'%20fill='%231B2636'/%3e%3cpath%20d='M22.1967%2014.6499H17.2393V9.6925C17.2393%209.00837%2016.6853%208.45312%2016%208.45312C15.3146%208.45312%2014.7606%209.00837%2014.7606%209.6925V14.6499H9.80322C9.11784%2014.6499%208.56384%2015.2051%208.56384%2015.8892C8.56384%2016.5734%209.11784%2017.1286%209.80322%2017.1286H14.7606V22.086C14.7606%2022.7701%2015.3146%2023.3254%2016%2023.3254C16.6853%2023.3254%2017.2393%2022.7701%2017.2393%2022.086V17.1286H22.1967C22.8821%2017.1286%2023.4361%2016.5734%2023.4361%2015.8892C23.4361%2015.2051%2022.8821%2014.6499%2022.1967%2014.6499Z'%20fill='%231B2636'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3824_45679'%3e%3crect%20width='32'%20height='32'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_90"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index170.js","sources":["../src/assets/icons/right-align.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3997%202.8H1.60022M14.3997%206.3H4.80008M14.3997%209.8H7.99995M14.3997%2013.3H4.80008'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_87"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index171.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1284_520)'%3e%3cpath%20d='M14.8715%2014.8714L11.0542%2011.0541M6.94283%2012.7571C10.154%2012.7571%2012.7571%2010.154%2012.7571%206.94286C12.7571%203.73171%2010.154%201.12857%206.94283%201.12857C3.73168%201.12857%201.12854%203.73171%201.12854%206.94286C1.12854%2010.154%203.73168%2012.7571%206.94283%2012.7571Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1284_520'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M9.33275%2013.3333L12.6661%2010L9.33275%206.66663'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index171.js","sources":["../src/assets/icons/search.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1284_520)'%3e%3cpath%20d='M14.8715%2014.8714L11.0542%2011.0541M6.94283%2012.7571C10.154%2012.7571%2012.7571%2010.154%2012.7571%206.94286C12.7571%203.73171%2010.154%201.12857%206.94283%201.12857C3.73168%201.12857%201.12854%203.73171%201.12854%206.94286C1.12854%2010.154%203.73168%2012.7571%206.94283%2012.7571Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1284_520'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_91"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index171.js","sources":["../src/assets/icons/rightSide.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%3e%3cpath%20d='M9.33275%2013.3333L12.6661%2010L9.33275%206.66663'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_88"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index172.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='40'%20height='48'%20viewBox='0%200%2040%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4582_136937)'%3e%3cpath%20d='M24.8908%201.77552L2.7605%201.74609C1.95621%201.74609%201.30149%202.3959%201.30149%203.20265L1.25%2042.2574C1.25%2043.0617%201.89981%2043.7164%202.70655%2043.7164L33.8925%2043.7557C34.6968%2043.7557%2035.3515%2043.1059%2035.3515%2042.2991L35.3907%2012.3C35.3907%2011.9125%2035.2387%2011.5423%2034.9641%2011.2701L25.9207%202.20219C25.6485%201.92755%2025.2782%201.77552%2024.8908%201.77307V1.77552Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cg%20clip-path='url(%23clip1_4582_136937)'%3e%3cpath%20d='M27.8908%204.7765L5.7605%204.74707C4.95621%204.74707%204.30149%205.39688%204.30149%206.20362L4.25%2045.2584C4.25%2046.0627%204.89981%2046.7174%205.70655%2046.7174L36.8925%2046.7566C37.6968%2046.7566%2038.3515%2046.1068%2038.3515%2045.3001L38.3907%2015.301C38.3907%2014.9135%2038.2387%2014.5433%2037.9641%2014.2711L28.9207%205.20316C28.6485%204.92853%2028.2782%204.7765%2027.8908%204.77404V4.7765Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20fill='%23F4FAFF'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.5891%2038.1075L27.607%2040.0896L24.9641%2037.4468L23.8071%2038.6038C23.444%2038.9669%2022.8235%2038.795%2022.699%2038.2968L21.2669%2032.5686C21.1459%2032.0847%2021.5842%2031.6464%2022.0681%2031.7674L27.7963%2033.1994C28.2945%2033.324%2028.4664%2033.9445%2028.1033%2034.3076L26.9463%2035.4646L29.5891%2038.1075Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.2857%2029.5179V28.1964C26.2857%2027.4666%2025.6941%2026.875%2024.9643%2026.875H17.6964C16.9666%2026.875%2016.375%2027.4666%2016.375%2028.1964V35.4643C16.375%2036.1941%2016.9666%2036.7857%2017.6964%2036.7857H19.0179'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2022.9111C13.0023%2022.9111%2012.4106%2023.5028%2012.4106%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.375%2022.9111H18.3571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2022.9111C21.7298%2022.9111%2022.3214%2023.5028%2022.3214%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4106%2026.875V28.8571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2032.8214C13.0023%2032.8214%2012.4106%2032.2298%2012.4106%2031.5'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4582_136937'%3e%3crect%20width='39'%20height='47'%20fill='white'%20transform='translate(0.5%200.75)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_4582_136937'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'%20transform='translate(4%204.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.9967%206.98863V4.98851C13.9967%203.88387%2013.1013%202.98839%2011.9966%202.98839H9.49644M9.49644%202.98839L10.9965%201.48854M9.49644%202.98839L10.9965%204.48872M8.99603%205.98806C9.54834%205.98806%209.99609%206.4358%209.99609%206.98812V12.9885C9.99609%2013.5408%209.54834%2013.9885%208.99603%2013.9885H2.99567C2.44335%2013.9885%201.99561%2013.5408%201.99561%2012.9885V6.98812C1.99561%206.4358%202.44335%205.98806%202.99567%205.98806H8.99603Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index172.js","sources":["../src/assets/icons/select-files.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='40'%20height='48'%20viewBox='0%200%2040%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4582_136937)'%3e%3cpath%20d='M24.8908%201.77552L2.7605%201.74609C1.95621%201.74609%201.30149%202.3959%201.30149%203.20265L1.25%2042.2574C1.25%2043.0617%201.89981%2043.7164%202.70655%2043.7164L33.8925%2043.7557C34.6968%2043.7557%2035.3515%2043.1059%2035.3515%2042.2991L35.3907%2012.3C35.3907%2011.9125%2035.2387%2011.5423%2034.9641%2011.2701L25.9207%202.20219C25.6485%201.92755%2025.2782%201.77552%2024.8908%201.77307V1.77552Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cg%20clip-path='url(%23clip1_4582_136937)'%3e%3cpath%20d='M27.8908%204.7765L5.7605%204.74707C4.95621%204.74707%204.30149%205.39688%204.30149%206.20362L4.25%2045.2584C4.25%2046.0627%204.89981%2046.7174%205.70655%2046.7174L36.8925%2046.7566C37.6968%2046.7566%2038.3515%2046.1068%2038.3515%2045.3001L38.3907%2015.301C38.3907%2014.9135%2038.2387%2014.5433%2037.9641%2014.2711L28.9207%205.20316C28.6485%204.92853%2028.2782%204.7765%2027.8908%204.77404V4.7765Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20fill='%23F4FAFF'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.5891%2038.1075L27.607%2040.0896L24.9641%2037.4468L23.8071%2038.6038C23.444%2038.9669%2022.8235%2038.795%2022.699%2038.2968L21.2669%2032.5686C21.1459%2032.0847%2021.5842%2031.6464%2022.0681%2031.7674L27.7963%2033.1994C28.2945%2033.324%2028.4664%2033.9445%2028.1033%2034.3076L26.9463%2035.4646L29.5891%2038.1075Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.2857%2029.5179V28.1964C26.2857%2027.4666%2025.6941%2026.875%2024.9643%2026.875H17.6964C16.9666%2026.875%2016.375%2027.4666%2016.375%2028.1964V35.4643C16.375%2036.1941%2016.9666%2036.7857%2017.6964%2036.7857H19.0179'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2022.9111C13.0023%2022.9111%2012.4106%2023.5028%2012.4106%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.375%2022.9111H18.3571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2022.9111C21.7298%2022.9111%2022.3214%2023.5028%2022.3214%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4106%2026.875V28.8571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2032.8214C13.0023%2032.8214%2012.4106%2032.2298%2012.4106%2031.5'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4582_136937'%3e%3crect%20width='39'%20height='47'%20fill='white'%20transform='translate(0.5%200.75)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_4582_136937'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'%20transform='translate(4%204.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_92"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index172.js","sources":["../src/assets/icons/rotate-left.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.9967%206.98863V4.98851C13.9967%203.88387%2013.1013%202.98839%2011.9966%202.98839H9.49644M9.49644%202.98839L10.9965%201.48854M9.49644%202.98839L10.9965%204.48872M8.99603%205.98806C9.54834%205.98806%209.99609%206.4358%209.99609%206.98812V12.9885C9.99609%2013.5408%209.54834%2013.9885%208.99603%2013.9885H2.99567C2.44335%2013.9885%201.99561%2013.5408%201.99561%2012.9885V6.98812C1.99561%206.4358%202.44335%205.98806%202.99567%205.98806H8.99603Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_89"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index173.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3429%206.21941V4.30033C14.3429%203.7165%2013.8697%203.24319%2013.2858%203.24319H12.1262C11.1661%203.24319%2010.2345%202.91641%209.48467%202.31657L8.00008%201.12891L6.5155%202.31659C5.76571%202.91641%204.83411%203.24319%203.87393%203.24319H2.71437C2.13053%203.24319%201.65723%203.7165%201.65723%204.30033V6.21941C1.65723%2010.0619%204.27234%2013.4112%208.00008%2014.3432C11.7278%2013.4112%2014.3429%2010.0619%2014.3429%206.21941Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.19141%208.00339L6.63569%209.44767C6.78354%209.59552%206.85746%209.66944%206.94271%209.69714C7.01769%209.7215%207.09846%209.7215%207.17344%209.69714C7.25868%209.66944%207.33261%209.59552%207.48045%209.44767L10.7914%206.13672'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.00342%206.98864V4.98851C2.00342%203.88388%202.89887%202.98839%204.00354%202.98839H6.50369M6.50369%202.98839L5.0036%201.48855M6.50369%202.98839L5.0036%204.48873M7.00411%205.98806C6.45179%205.98806%206.00404%206.4358%206.00404%206.98812V12.9885C6.00404%2013.5408%206.45179%2013.9885%207.00411%2013.9885H13.0045C13.5568%2013.9885%2014.0045%2013.5408%2014.0045%2012.9885V6.98812C14.0045%206.4358%2013.5568%205.98806%2013.0045%205.98806H7.00411Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index173.js","sources":["../src/assets/icons/shield-with-tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3429%206.21941V4.30033C14.3429%203.7165%2013.8697%203.24319%2013.2858%203.24319H12.1262C11.1661%203.24319%2010.2345%202.91641%209.48467%202.31657L8.00008%201.12891L6.5155%202.31659C5.76571%202.91641%204.83411%203.24319%203.87393%203.24319H2.71437C2.13053%203.24319%201.65723%203.7165%201.65723%204.30033V6.21941C1.65723%2010.0619%204.27234%2013.4112%208.00008%2014.3432C11.7278%2013.4112%2014.3429%2010.0619%2014.3429%206.21941Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.19141%208.00339L6.63569%209.44767C6.78354%209.59552%206.85746%209.66944%206.94271%209.69714C7.01769%209.7215%207.09846%209.7215%207.17344%209.69714C7.25868%209.66944%207.33261%209.59552%207.48045%209.44767L10.7914%206.13672'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_93"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index173.js","sources":["../src/assets/icons/rotate-right.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.00342%206.98864V4.98851C2.00342%203.88388%202.89887%202.98839%204.00354%202.98839H6.50369M6.50369%202.98839L5.0036%201.48855M6.50369%202.98839L5.0036%204.48873M7.00411%205.98806C6.45179%205.98806%206.00404%206.4358%206.00404%206.98812V12.9885C6.00404%2013.5408%206.45179%2013.9885%207.00411%2013.9885H13.0045C13.5568%2013.9885%2014.0045%2013.5408%2014.0045%2012.9885V6.98812C14.0045%206.4358%2013.5568%205.98806%2013.0045%205.98806H7.00411Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_90"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index174.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.342%206.21916V4.30009C14.342%203.71625%2013.8687%203.24295%2013.2848%203.24295H12.1252C11.1651%203.24295%2010.2335%202.91616%209.4837%202.31633L7.99911%201.12866L6.51452%202.31634C5.76473%202.91616%204.83313%203.24295%203.87295%203.24295H2.71339C2.12955%203.24295%201.65625%203.71625%201.65625%204.30009V6.21916C1.65625%2010.0616%204.27137%2013.411%207.99911%2014.3429C11.7268%2013.411%2014.342%2010.0616%2014.342%206.21916Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3824_45679)'%3e%3cpath%20d='M16%200C7.17706%200%200%207.17706%200%2016C0%2024.8229%207.17706%2032%2016%2032C24.8229%2032%2032%2024.8217%2032%2016C32%207.17831%2024.8229%200%2016%200ZM16%2029.5213C8.54531%2029.5213%202.47869%2023.4559%202.47869%2016C2.47869%208.54406%208.54531%202.47869%2016%202.47869C23.4547%202.47869%2029.5213%208.54406%2029.5213%2016C29.5213%2023.4559%2023.4559%2029.5213%2016%2029.5213Z'%20fill='%231B2636'/%3e%3cpath%20d='M22.1967%2014.6499H17.2393V9.6925C17.2393%209.00837%2016.6853%208.45312%2016%208.45312C15.3146%208.45312%2014.7606%209.00837%2014.7606%209.6925V14.6499H9.80322C9.11784%2014.6499%208.56384%2015.2051%208.56384%2015.8892C8.56384%2016.5734%209.11784%2017.1286%209.80322%2017.1286H14.7606V22.086C14.7606%2022.7701%2015.3146%2023.3254%2016%2023.3254C16.6853%2023.3254%2017.2393%2022.7701%2017.2393%2022.086V17.1286H22.1967C22.8821%2017.1286%2023.4361%2016.5734%2023.4361%2015.8892C23.4361%2015.2051%2022.8821%2014.6499%2022.1967%2014.6499Z'%20fill='%231B2636'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3824_45679'%3e%3crect%20width='32'%20height='32'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index174.js","sources":["../src/assets/icons/shield.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.342%206.21916V4.30009C14.342%203.71625%2013.8687%203.24295%2013.2848%203.24295H12.1252C11.1651%203.24295%2010.2335%202.91616%209.4837%202.31633L7.99911%201.12866L6.51452%202.31634C5.76473%202.91616%204.83313%203.24295%203.87295%203.24295H2.71339C2.12955%203.24295%201.65625%203.71625%201.65625%204.30009V6.21916C1.65625%2010.0616%204.27137%2013.411%207.99911%2014.3429C11.7268%2013.411%2014.342%2010.0616%2014.342%206.21916Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_94"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index174.js","sources":["../src/assets/icons/rounded-plus.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%3cg%20clip-path='url(%23clip0_3824_45679)'%3e%3cpath%20d='M16%200C7.17706%200%200%207.17706%200%2016C0%2024.8229%207.17706%2032%2016%2032C24.8229%2032%2032%2024.8217%2032%2016C32%207.17831%2024.8229%200%2016%200ZM16%2029.5213C8.54531%2029.5213%202.47869%2023.4559%202.47869%2016C2.47869%208.54406%208.54531%202.47869%2016%202.47869C23.4547%202.47869%2029.5213%208.54406%2029.5213%2016C29.5213%2023.4559%2023.4559%2029.5213%2016%2029.5213Z'%20fill='%231B2636'/%3e%3cpath%20d='M22.1967%2014.6499H17.2393V9.6925C17.2393%209.00837%2016.6853%208.45312%2016%208.45312C15.3146%208.45312%2014.7606%209.00837%2014.7606%209.6925V14.6499H9.80322C9.11784%2014.6499%208.56384%2015.2051%208.56384%2015.8892C8.56384%2016.5734%209.11784%2017.1286%209.80322%2017.1286H14.7606V22.086C14.7606%2022.7701%2015.3146%2023.3254%2016%2023.3254C16.6853%2023.3254%2017.2393%2022.7701%2017.2393%2022.086V17.1286H22.1967C22.8821%2017.1286%2023.4361%2016.5734%2023.4361%2015.8892C23.4361%2015.2051%2022.8821%2014.6499%2022.1967%2014.6499Z'%20fill='%231B2636'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3824_45679'%3e%3crect%20width='32'%20height='32'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_91"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index175.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3518%205.72935V4.83739L11.7352%201.69746C11.5092%201.42631%2011.1745%201.26953%2010.8215%201.26953H4.79989C4.44695%201.26953%204.11222%201.42631%203.88626%201.69745L1.26965%204.83739V11.9731C1.26965%2012.2885%201.39495%2012.5911%201.61799%2012.814C1.84102%2013.037%202.14352%2013.1624%202.45894%2013.1624H7.21608'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.26965%204.8374H14.3518'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81067%201.26953V4.83739'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.65894%2015.0107V12.0375C9.65894%2011.7092%209.92517%2011.4429%2010.2536%2011.4429H15.0107C15.3391%2011.4429%2015.6054%2011.7092%2015.6054%2012.0375V15.0107C15.6054%2015.3391%2015.3391%2015.6054%2015.0107%2015.6054H10.2536C9.92517%2015.6054%209.65894%2015.3391%209.65894%2015.0107Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5509%2011.4429V9.95625C10.5509%208.80681%2011.4827%207.875%2012.6322%207.875C13.7816%207.875%2014.7134%208.80681%2014.7134%209.95625V11.4429'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1284_520)'%3e%3cpath%20d='M14.8715%2014.8714L11.0542%2011.0541M6.94283%2012.7571C10.154%2012.7571%2012.7571%2010.154%2012.7571%206.94286C12.7571%203.73171%2010.154%201.12857%206.94283%201.12857C3.73168%201.12857%201.12854%203.73171%201.12854%206.94286C1.12854%2010.154%203.73168%2012.7571%206.94283%2012.7571Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1284_520'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index175.js","sources":["../src/assets/icons/shipment-private.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3518%205.72935V4.83739L11.7352%201.69746C11.5092%201.42631%2011.1745%201.26953%2010.8215%201.26953H4.79989C4.44695%201.26953%204.11222%201.42631%203.88626%201.69745L1.26965%204.83739V11.9731C1.26965%2012.2885%201.39495%2012.5911%201.61799%2012.814C1.84102%2013.037%202.14352%2013.1624%202.45894%2013.1624H7.21608'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.26965%204.8374H14.3518'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81067%201.26953V4.83739'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.65894%2015.0107V12.0375C9.65894%2011.7092%209.92517%2011.4429%2010.2536%2011.4429H15.0107C15.3391%2011.4429%2015.6054%2011.7092%2015.6054%2012.0375V15.0107C15.6054%2015.3391%2015.3391%2015.6054%2015.0107%2015.6054H10.2536C9.92517%2015.6054%209.65894%2015.3391%209.65894%2015.0107Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5509%2011.4429V9.95625C10.5509%208.80681%2011.4827%207.875%2012.6322%207.875C13.7816%207.875%2014.7134%208.80681%2014.7134%209.95625V11.4429'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_95"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index175.js","sources":["../src/assets/icons/search.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1284_520)'%3e%3cpath%20d='M14.8715%2014.8714L11.0542%2011.0541M6.94283%2012.7571C10.154%2012.7571%2012.7571%2010.154%2012.7571%206.94286C12.7571%203.73171%2010.154%201.12857%206.94283%201.12857C3.73168%201.12857%201.12854%203.73171%201.12854%206.94286C1.12854%2010.154%203.73168%2012.7571%206.94283%2012.7571Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1284_520'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_92"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index176.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M8%201.65625V5.55955'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.65723%205.55859H14.3429V13.3652C14.3429%2013.6239%2014.2401%2013.8722%2014.0571%2014.0552C13.8741%2014.2381%2013.6259%2014.341%2013.3671%2014.341H2.63305C2.37424%2014.341%202.12604%2014.2381%201.94304%2014.0552C1.76003%2013.8722%201.65723%2013.6239%201.65723%2013.3652V5.55859Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.22077%202.26063C3.39571%201.89154%203.76761%201.65625%204.17605%201.65625H11.8241C12.2326%201.65625%2012.6045%201.89154%2012.7794%202.26063L14.3429%205.55955H1.65723L3.22077%202.26063Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='40'%20height='48'%20viewBox='0%200%2040%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4582_136937)'%3e%3cpath%20d='M24.8908%201.77552L2.7605%201.74609C1.95621%201.74609%201.30149%202.3959%201.30149%203.20265L1.25%2042.2574C1.25%2043.0617%201.89981%2043.7164%202.70655%2043.7164L33.8925%2043.7557C34.6968%2043.7557%2035.3515%2043.1059%2035.3515%2042.2991L35.3907%2012.3C35.3907%2011.9125%2035.2387%2011.5423%2034.9641%2011.2701L25.9207%202.20219C25.6485%201.92755%2025.2782%201.77552%2024.8908%201.77307V1.77552Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cg%20clip-path='url(%23clip1_4582_136937)'%3e%3cpath%20d='M27.8908%204.7765L5.7605%204.74707C4.95621%204.74707%204.30149%205.39688%204.30149%206.20362L4.25%2045.2584C4.25%2046.0627%204.89981%2046.7174%205.70655%2046.7174L36.8925%2046.7566C37.6968%2046.7566%2038.3515%2046.1068%2038.3515%2045.3001L38.3907%2015.301C38.3907%2014.9135%2038.2387%2014.5433%2037.9641%2014.2711L28.9207%205.20316C28.6485%204.92853%2028.2782%204.7765%2027.8908%204.77404V4.7765Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20fill='%23F4FAFF'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.5891%2038.1075L27.607%2040.0896L24.9641%2037.4468L23.8071%2038.6038C23.444%2038.9669%2022.8235%2038.795%2022.699%2038.2968L21.2669%2032.5686C21.1459%2032.0847%2021.5842%2031.6464%2022.0681%2031.7674L27.7963%2033.1994C28.2945%2033.324%2028.4664%2033.9445%2028.1033%2034.3076L26.9463%2035.4646L29.5891%2038.1075Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.2857%2029.5179V28.1964C26.2857%2027.4666%2025.6941%2026.875%2024.9643%2026.875H17.6964C16.9666%2026.875%2016.375%2027.4666%2016.375%2028.1964V35.4643C16.375%2036.1941%2016.9666%2036.7857%2017.6964%2036.7857H19.0179'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2022.9111C13.0023%2022.9111%2012.4106%2023.5028%2012.4106%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.375%2022.9111H18.3571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2022.9111C21.7298%2022.9111%2022.3214%2023.5028%2022.3214%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4106%2026.875V28.8571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2032.8214C13.0023%2032.8214%2012.4106%2032.2298%2012.4106%2031.5'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4582_136937'%3e%3crect%20width='39'%20height='47'%20fill='white'%20transform='translate(0.5%200.75)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_4582_136937'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'%20transform='translate(4%204.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index176.js","sources":["../src/assets/icons/shipment.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M8%201.65625V5.55955'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.65723%205.55859H14.3429V13.3652C14.3429%2013.6239%2014.2401%2013.8722%2014.0571%2014.0552C13.8741%2014.2381%2013.6259%2014.341%2013.3671%2014.341H2.63305C2.37424%2014.341%202.12604%2014.2381%201.94304%2014.0552C1.76003%2013.8722%201.65723%2013.6239%201.65723%2013.3652V5.55859Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.22077%202.26063C3.39571%201.89154%203.76761%201.65625%204.17605%201.65625H11.8241C12.2326%201.65625%2012.6045%201.89154%2012.7794%202.26063L14.3429%205.55955H1.65723L3.22077%202.26063Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_96"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index176.js","sources":["../src/assets/icons/select-files.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='40'%20height='48'%20viewBox='0%200%2040%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4582_136937)'%3e%3cpath%20d='M24.8908%201.77552L2.7605%201.74609C1.95621%201.74609%201.30149%202.3959%201.30149%203.20265L1.25%2042.2574C1.25%2043.0617%201.89981%2043.7164%202.70655%2043.7164L33.8925%2043.7557C34.6968%2043.7557%2035.3515%2043.1059%2035.3515%2042.2991L35.3907%2012.3C35.3907%2011.9125%2035.2387%2011.5423%2034.9641%2011.2701L25.9207%202.20219C25.6485%201.92755%2025.2782%201.77552%2024.8908%201.77307V1.77552Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cg%20clip-path='url(%23clip1_4582_136937)'%3e%3cpath%20d='M27.8908%204.7765L5.7605%204.74707C4.95621%204.74707%204.30149%205.39688%204.30149%206.20362L4.25%2045.2584C4.25%2046.0627%204.89981%2046.7174%205.70655%2046.7174L36.8925%2046.7566C37.6968%2046.7566%2038.3515%2046.1068%2038.3515%2045.3001L38.3907%2015.301C38.3907%2014.9135%2038.2387%2014.5433%2037.9641%2014.2711L28.9207%205.20316C28.6485%204.92853%2028.2782%204.7765%2027.8908%204.77404V4.7765Z'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='3%203'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20fill='%23F4FAFF'/%3e%3cpath%20d='M27.6036%208.07715L27.5938%2014.8744C27.5938%2015.8626%2028.3931%2016.6644%2029.3789%2016.6644L35.4601%2016.6718'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.5891%2038.1075L27.607%2040.0896L24.9641%2037.4468L23.8071%2038.6038C23.444%2038.9669%2022.8235%2038.795%2022.699%2038.2968L21.2669%2032.5686C21.1459%2032.0847%2021.5842%2031.6464%2022.0681%2031.7674L27.7963%2033.1994C28.2945%2033.324%2028.4664%2033.9445%2028.1033%2034.3076L26.9463%2035.4646L29.5891%2038.1075Z'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M26.2857%2029.5179V28.1964C26.2857%2027.4666%2025.6941%2026.875%2024.9643%2026.875H17.6964C16.9666%2026.875%2016.375%2027.4666%2016.375%2028.1964V35.4643C16.375%2036.1941%2016.9666%2036.7857%2017.6964%2036.7857H19.0179'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2022.9111C13.0023%2022.9111%2012.4106%2023.5028%2012.4106%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.375%2022.9111H18.3571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M21%2022.9111C21.7298%2022.9111%2022.3214%2023.5028%2022.3214%2024.2326'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4106%2026.875V28.8571'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.7321%2032.8214C13.0023%2032.8214%2012.4106%2032.2298%2012.4106%2031.5'%20stroke='%231088E7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4582_136937'%3e%3crect%20width='39'%20height='47'%20fill='white'%20transform='translate(0.5%200.75)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_4582_136937'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'%20transform='translate(4%204.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_93"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index177.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.6406%201.65625V14.342M13.2848%2014.342H2.71339C2.12955%2014.342%201.65625%2013.8687%201.65625%2013.2848V2.71339C1.65625%202.12954%202.12955%201.65625%202.71339%201.65625H13.2848C13.8687%201.65625%2014.342%202.12954%2014.342%202.71339V13.2848C14.342%2013.8687%2013.8687%2014.342%2013.2848%2014.342Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3429%206.21941V4.30033C14.3429%203.7165%2013.8697%203.24319%2013.2858%203.24319H12.1262C11.1661%203.24319%2010.2345%202.91641%209.48467%202.31657L8.00008%201.12891L6.5155%202.31659C5.76571%202.91641%204.83411%203.24319%203.87393%203.24319H2.71437C2.13053%203.24319%201.65723%203.7165%201.65723%204.30033V6.21941C1.65723%2010.0619%204.27234%2013.4112%208.00008%2014.3432C11.7278%2013.4112%2014.3429%2010.0619%2014.3429%206.21941Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.19141%208.00339L6.63569%209.44767C6.78354%209.59552%206.85746%209.66944%206.94271%209.69714C7.01769%209.7215%207.09846%209.7215%207.17344%209.69714C7.25868%209.66944%207.33261%209.59552%207.48045%209.44767L10.7914%206.13672'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index177.js","sources":["../src/assets/icons/sidebar.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.6406%201.65625V14.342M13.2848%2014.342H2.71339C2.12955%2014.342%201.65625%2013.8687%201.65625%2013.2848V2.71339C1.65625%202.12954%202.12955%201.65625%202.71339%201.65625H13.2848C13.8687%201.65625%2014.342%202.12954%2014.342%202.71339V13.2848C14.342%2013.8687%2013.8687%2014.342%2013.2848%2014.342Z'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_97"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index177.js","sources":["../src/assets/icons/shield-with-tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3429%206.21941V4.30033C14.3429%203.7165%2013.8697%203.24319%2013.2858%203.24319H12.1262C11.1661%203.24319%2010.2345%202.91641%209.48467%202.31657L8.00008%201.12891L6.5155%202.31659C5.76571%202.91641%204.83411%203.24319%203.87393%203.24319H2.71437C2.13053%203.24319%201.65723%203.7165%201.65723%204.30033V6.21941C1.65723%2010.0619%204.27234%2013.4112%208.00008%2014.3432C11.7278%2013.4112%2014.3429%2010.0619%2014.3429%206.21941Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.19141%208.00339L6.63569%209.44767C6.78354%209.59552%206.85746%209.66944%206.94271%209.69714C7.01769%209.7215%207.09846%209.7215%207.17344%209.69714C7.25868%209.66944%207.33261%209.59552%207.48045%209.44767L10.7914%206.13672'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_94"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index178.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_7225_19501)'%3e%3cpath%20d='M2.82457%206.4442C2.30671%206.09896%201.271%205.09777%201.271%203.85491C1.271%202.30134%202.30671%201.26562%203.86028%201.26562C5.41385%201.26562%206.96742%202.8192%207.48528%206.4442C8.00314%2010.0692%205.93171%2014.7299%203.34242%2014.7299C0.753139%2014.7299%202.30671%207.99777%208.00314%205.92634C11.4181%204.68453%2011.6281%207.99777%2011.1103%2010.0692C12.146%208.51562%2013.1817%206.96205%2014.7353%207.99777M9.04185%2012.6589H14.7383'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7225_19501'%3e%3crect%20width='16'%20height='16'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.342%206.21916V4.30009C14.342%203.71625%2013.8687%203.24295%2013.2848%203.24295H12.1252C11.1651%203.24295%2010.2335%202.91616%209.4837%202.31633L7.99911%201.12866L6.51452%202.31634C5.76473%202.91616%204.83313%203.24295%203.87295%203.24295H2.71339C2.12955%203.24295%201.65625%203.71625%201.65625%204.30009V6.21916C1.65625%2010.0616%204.27137%2013.411%207.99911%2014.3429C11.7268%2013.411%2014.342%2010.0616%2014.342%206.21916Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index178.js","sources":["../src/assets/icons/signature-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_7225_19501)'%3e%3cpath%20d='M2.82457%206.4442C2.30671%206.09896%201.271%205.09777%201.271%203.85491C1.271%202.30134%202.30671%201.26562%203.86028%201.26562C5.41385%201.26562%206.96742%202.8192%207.48528%206.4442C8.00314%2010.0692%205.93171%2014.7299%203.34242%2014.7299C0.753139%2014.7299%202.30671%207.99777%208.00314%205.92634C11.4181%204.68453%2011.6281%207.99777%2011.1103%2010.0692C12.146%208.51562%2013.1817%206.96205%2014.7353%207.99777M9.04185%2012.6589H14.7383'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7225_19501'%3e%3crect%20width='16'%20height='16'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_98"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index178.js","sources":["../src/assets/icons/shield.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.342%206.21916V4.30009C14.342%203.71625%2013.8687%203.24295%2013.2848%203.24295H12.1252C11.1651%203.24295%2010.2335%202.91616%209.4837%202.31633L7.99911%201.12866L6.51452%202.31634C5.76473%202.91616%204.83313%203.24295%203.87295%203.24295H2.71339C2.12955%203.24295%201.65625%203.71625%201.65625%204.30009V6.21916C1.65625%2010.0616%204.27137%2013.411%207.99911%2014.3429C11.7268%2013.411%2014.342%2010.0616%2014.342%206.21916Z'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_95"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index179.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M11.9108%204.2362L5.57875%2010.5683L2.65625%2011.0554L3.14333%208.13287L9.47542%201.80078L11.9108%204.2362Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.65625%2013.4898H9.15547C9.67221%2013.4898%2010.1678%2013.2845%2010.5332%2012.9191L10.9367%2012.5156L11.3402%2012.9191C11.7056%2013.2845%2012.2011%2013.4898%2012.7178%2013.4898H14.3462'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.47656%2010.4871C9.47656%209.72618%2010.0934%209.10938%2010.8542%209.10938H11.0214C11.7822%209.10938%2012.3991%209.72618%2012.3991%2010.4871C12.3991%2010.8525%2012.2539%2011.2029%2011.9956%2011.4612L10.9378%2012.519L9.88007%2011.4612C9.62171%2011.2029%209.47656%2010.8525%209.47656%2010.4871Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3518%205.72935V4.83739L11.7352%201.69746C11.5092%201.42631%2011.1745%201.26953%2010.8215%201.26953H4.79989C4.44695%201.26953%204.11222%201.42631%203.88626%201.69745L1.26965%204.83739V11.9731C1.26965%2012.2885%201.39495%2012.5911%201.61799%2012.814C1.84102%2013.037%202.14352%2013.1624%202.45894%2013.1624H7.21608'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.26965%204.8374H14.3518'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81067%201.26953V4.83739'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.65894%2015.0107V12.0375C9.65894%2011.7092%209.92517%2011.4429%2010.2536%2011.4429H15.0107C15.3391%2011.4429%2015.6054%2011.7092%2015.6054%2012.0375V15.0107C15.6054%2015.3391%2015.3391%2015.6054%2015.0107%2015.6054H10.2536C9.92517%2015.6054%209.65894%2015.3391%209.65894%2015.0107Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5509%2011.4429V9.95625C10.5509%208.80681%2011.4827%207.875%2012.6322%207.875C13.7816%207.875%2014.7134%208.80681%2014.7134%209.95625V11.4429'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index179.js","sources":["../src/assets/icons/signer.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M11.9108%204.2362L5.57875%2010.5683L2.65625%2011.0554L3.14333%208.13287L9.47542%201.80078L11.9108%204.2362Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.65625%2013.4898H9.15547C9.67221%2013.4898%2010.1678%2013.2845%2010.5332%2012.9191L10.9367%2012.5156L11.3402%2012.9191C11.7056%2013.2845%2012.2011%2013.4898%2012.7178%2013.4898H14.3462'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.47656%2010.4871C9.47656%209.72618%2010.0934%209.10938%2010.8542%209.10938H11.0214C11.7822%209.10938%2012.3991%209.72618%2012.3991%2010.4871C12.3991%2010.8525%2012.2539%2011.2029%2011.9956%2011.4612L10.9378%2012.519L9.88007%2011.4612C9.62171%2011.2029%209.47656%2010.8525%209.47656%2010.4871Z'%20stroke='%231B2636'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_99"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index179.js","sources":["../src/assets/icons/shipment-private.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3518%205.72935V4.83739L11.7352%201.69746C11.5092%201.42631%2011.1745%201.26953%2010.8215%201.26953H4.79989C4.44695%201.26953%204.11222%201.42631%203.88626%201.69745L1.26965%204.83739V11.9731C1.26965%2012.2885%201.39495%2012.5911%201.61799%2012.814C1.84102%2013.037%202.14352%2013.1624%202.45894%2013.1624H7.21608'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.26965%204.8374H14.3518'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81067%201.26953V4.83739'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.65894%2015.0107V12.0375C9.65894%2011.7092%209.92517%2011.4429%2010.2536%2011.4429H15.0107C15.3391%2011.4429%2015.6054%2011.7092%2015.6054%2012.0375V15.0107C15.6054%2015.3391%2015.3391%2015.6054%2015.0107%2015.6054H10.2536C9.92517%2015.6054%209.65894%2015.3391%209.65894%2015.0107Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.5509%2011.4429V9.95625C10.5509%208.80681%2011.4827%207.875%2012.6322%207.875C13.7816%207.875%2014.7134%208.80681%2014.7134%209.95625V11.4429'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_96"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index18.js CHANGED
@@ -1,28 +1,65 @@
1
- import t, { forwardRef as k, useState as C, useMemo as g } from "react";
2
- import { MenuItem as F } from "./index17.js";
3
- import { InputWithIcon as P } from "./index52.js";
4
- import { useRovingFocus as S } from "./index70.js";
1
+ import n, { forwardRef as F, useState as C, useRef as P, useMemo as b } from "react";
2
+ import { MenuItem as O } from "./index17.js";
3
+ import { InputWithIcon as S } from "./index52.js";
4
+ import { useRovingFocus as _ } from "./index70.js";
5
5
  function i() {
6
6
  return i = Object.assign ? Object.assign.bind() : function(a) {
7
7
  for (var o = 1; o < arguments.length; o++) {
8
- var n = arguments[o];
9
- for (var l in n) ({}).hasOwnProperty.call(n, l) && (a[l] = n[l]);
8
+ var r = arguments[o];
9
+ for (var s in r) ({}).hasOwnProperty.call(r, s) && (a[s] = r[s]);
10
10
  }
11
11
  return a;
12
12
  }, i.apply(null, arguments);
13
13
  }
14
- const O = /* @__PURE__ */ k(({
14
+ const j = /* @__PURE__ */ F(({
15
15
  items: a,
16
16
  maxHeight: o,
17
- shouldShowSearch: n = !1,
18
- searchPlaceholder: l = "Search...",
19
- searchBy: v = "label",
20
- searchResultEmptyMessage: b = "No results found",
21
- className: p = ""
22
- }, I) => {
23
- const [d, h] = C(""), x = () => d.trim() ? a.filter((e) => (e[v]?.toString().toLowerCase() || "").includes(d.toLowerCase())) : a, w = () => /* @__PURE__ */ t.createElement("div", {
17
+ shouldShowSearch: r = !1,
18
+ searchPlaceholder: s = "Search...",
19
+ searchBy: h = "label",
20
+ searchResultEmptyMessage: w = "No results found",
21
+ className: m = ""
22
+ }, x) => {
23
+ const [d, D] = C(""), y = P(null), u = d.trim() ? a.filter((e) => (e[h]?.toString().toLowerCase() || "").includes(d.toLowerCase())) : a, E = o ? {
24
+ maxHeight: o,
25
+ overflowY: "auto"
26
+ } : {}, f = b(() => {
27
+ const e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new Set();
28
+ return a.forEach((l, v) => {
29
+ const I = l.id || l.automationId || `menu-item-${v}`;
30
+ let c = I;
31
+ t.has(c) && (c = `${I}-${v}`), t.add(c), e.set(l, c);
32
+ }), e;
33
+ }, [a]), p = b(() => u.filter((e) => e.type !== "header" && e.type !== "separator").map((e) => f.get(e)), [u, f]), {
34
+ getRovingItemProps: K,
35
+ handleKeyDown: R,
36
+ setFocusedId: k,
37
+ focusItem: g,
38
+ getContainerProps: M
39
+ } = _({
40
+ itemIds: p,
41
+ orientation: "vertical",
42
+ loop: !0,
43
+ role: "menu"
44
+ }), N = (e) => {
45
+ if (r && e.key === "Tab" && e.shiftKey) {
46
+ e.preventDefault(), y.current?.focus();
47
+ return;
48
+ }
49
+ R(e);
50
+ }, $ = (e) => {
51
+ if (e.key === "ArrowDown") {
52
+ e.preventDefault();
53
+ const t = p[0];
54
+ t && g(t);
55
+ } else if (e.key === "Tab" && !e.shiftKey) {
56
+ e.preventDefault();
57
+ const t = p[0];
58
+ t && g(t);
59
+ }
60
+ }, L = () => /* @__PURE__ */ n.createElement("div", {
24
61
  className: "w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1"
25
- }, /* @__PURE__ */ t.createElement(P, {
62
+ }, /* @__PURE__ */ n.createElement(S, {
26
63
  leftIcon: {
27
64
  name: "search",
28
65
  position: "left",
@@ -31,8 +68,8 @@ const O = /* @__PURE__ */ k(({
31
68
  }
32
69
  },
33
70
  value: d,
34
- onChange: (e) => h(e),
35
- placeholder: l,
71
+ onChange: (e) => D(e),
72
+ placeholder: s,
36
73
  style: {
37
74
  margin: 0,
38
75
  gap: 0
@@ -42,65 +79,50 @@ const O = /* @__PURE__ */ k(({
42
79
  border: "none",
43
80
  outline: "none"
44
81
  },
45
- automationId: "se-design-menu-list-search"
46
- })), c = x(), E = o ? {
47
- maxHeight: o,
48
- overflowY: "auto"
49
- } : {}, m = g(() => {
50
- const e = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new Set();
51
- return a.forEach((s, f) => {
52
- const y = s.id || s.automationId || `menu-item-${f}`;
53
- let u = y;
54
- r.has(u) && (u = `${y}-${f}`), r.add(u), e.set(s, u);
55
- }), e;
56
- }, [a]), N = g(() => c.filter((e) => e.type !== "header" && e.type !== "separator").map((e) => m.get(e)), [c, m]), {
57
- getRovingItemProps: $,
58
- handleKeyDown: M,
59
- setFocusedId: L,
60
- getContainerProps: R
61
- } = S({
62
- itemIds: N,
63
- orientation: "vertical",
64
- loop: !0,
65
- role: "menu"
66
- });
67
- return /* @__PURE__ */ t.createElement("div", i({
68
- ref: I,
69
- className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${n ? "" : "py-2"}${p ? ` ${p}` : ""}`
70
- }, R({
71
- ariaLabel: "Menu"
72
- })), n && w(), /* @__PURE__ */ t.createElement("div", {
82
+ automationId: "se-design-menu-list-search",
83
+ ariaLabel: s,
84
+ inputRef: y,
85
+ inputProps: {
86
+ onKeyDown: $
87
+ }
88
+ }));
89
+ return /* @__PURE__ */ n.createElement("div", {
90
+ ref: x,
91
+ className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${r ? "" : "py-2"}${m ? ` ${m}` : ""}`
92
+ }, r && L(), /* @__PURE__ */ n.createElement("div", i({
73
93
  style: E,
74
- className: `overflow-y-auto ${n ? "py-2" : ""}`
75
- }, c.length > 0 ? c.map((e) => {
76
- const r = m.get(e);
94
+ className: `overflow-y-auto ${r ? "py-2" : ""}`
95
+ }, M({
96
+ ariaLabel: "Menu"
97
+ })), u.length > 0 ? u.map((e) => {
98
+ const t = f.get(e);
77
99
  if (e.type === "separator")
78
- return /* @__PURE__ */ t.createElement("hr", {
79
- key: r,
100
+ return /* @__PURE__ */ n.createElement("hr", {
101
+ key: t,
80
102
  className: "se-design-menu-separator cursor-default border-[var(--color-gray-200)]"
81
103
  });
82
104
  if (e.type === "header")
83
- return /* @__PURE__ */ t.createElement("div", {
84
- key: r,
105
+ return /* @__PURE__ */ n.createElement("div", {
106
+ key: t,
85
107
  className: "se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]",
86
108
  role: "presentation"
87
109
  }, e.label);
88
- const s = $(r);
89
- return /* @__PURE__ */ t.createElement(F, i({}, e, {
90
- key: r,
91
- ref: s.ref,
92
- tabIndex: s.tabIndex,
93
- onKeyDown: M,
94
- onFocus: () => L(r)
110
+ const l = K(t);
111
+ return /* @__PURE__ */ n.createElement(O, i({}, e, {
112
+ key: t,
113
+ ref: l.ref,
114
+ tabIndex: l.tabIndex,
115
+ onKeyDown: N,
116
+ onFocus: () => k(t)
95
117
  }));
96
- }) : /* @__PURE__ */ t.createElement("div", {
118
+ }) : /* @__PURE__ */ n.createElement("div", {
97
119
  className: "px-3 py-4 text-center text-[var(--color-gray-700)] text-sm",
98
120
  role: "status",
99
121
  "aria-live": "polite"
100
- }, b)));
122
+ }, w)));
101
123
  });
102
- O.displayName = "MenuList";
124
+ j.displayName = "MenuList";
103
125
  export {
104
- O as MenuList
126
+ j as MenuList
105
127
  };
106
128
  //# sourceMappingURL=index18.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index18.js","sources":["../src/components/MenuList/index.tsx"],"sourcesContent":["import React, { forwardRef, useState, useMemo } from 'react';\nimport { MenuItem, MenuItemProps } from 'src/components/MenuItem';\nimport { InputWithIcon } from '../InputWithIcon';\nimport { useRovingFocus } from 'src/utils/a11y/useRovingFocus';\n\nexport type MenuListProps = {\n items: MenuItemProps[];\n maxHeight?: string;\n shouldShowSearch?: boolean;\n searchPlaceholder?: string;\n searchBy?: string;\n searchResultEmptyMessage?: string;\n className?: string;\n};\n\nexport const MenuList = forwardRef<HTMLDivElement, MenuListProps>(({\n items,\n maxHeight,\n shouldShowSearch = false,\n searchPlaceholder = 'Search...',\n searchBy = 'label',\n searchResultEmptyMessage = 'No results found',\n className = ''\n}, ref) => {\n const [searchQuery, setSearchQuery] = useState('');\n\n const getFilteredItems = () => {\n if (!searchQuery.trim()) {\n return items;\n }\n return items.filter((item) => {\n const searchValue = item[searchBy as keyof MenuItemProps]?.toString().toLowerCase() || '';\n return searchValue.includes(searchQuery.toLowerCase());\n });\n };\n\n const renderSearchBar = () => {\n return (\n <div className=\"w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1\">\n <InputWithIcon\n leftIcon={{ name: 'search', position: 'left', style: { color: 'var(--color-gray-500)' } }}\n value={searchQuery}\n onChange={(value) => setSearchQuery(value)}\n placeholder={searchPlaceholder}\n style={{ margin: 0, gap: 0 }}\n inputStyle={{ width: '100%', border: 'none', outline: 'none' }}\n automationId=\"se-design-menu-list-search\"\n />\n </div>\n );\n };\n\n const filteredItems = getFilteredItems();\n const containerStyle = maxHeight\n ? {\n maxHeight,\n overflowY: 'auto' as const\n }\n : {};\n\n \n const itemIdByRef = useMemo(() => {\n const map = new WeakMap<MenuItemProps, string>();\n const seen = new Set<string>();\n\n items.forEach((item, index) => {\n const baseId = item.id || item.automationId || `menu-item-${index}`;\n let uniqueId = baseId;\n\n if (seen.has(uniqueId)) {\n uniqueId = `${baseId}-${index}`;\n }\n\n seen.add(uniqueId);\n map.set(item, uniqueId);\n });\n\n return map;\n }, [items]);\n\n const itemIds = useMemo(() => {\n return filteredItems\n .filter((item) => item.type !== 'header' && item.type !== 'separator')\n .map((item) => itemIdByRef.get(item) as string);\n }, [filteredItems, itemIdByRef]);\n\n // Use roving focus for arrow key navigation\n const { getRovingItemProps, handleKeyDown, setFocusedId, getContainerProps } = useRovingFocus({\n itemIds,\n orientation: 'vertical',\n loop: true,\n role: 'menu'\n });\n\n return (\n <div\n ref={ref}\n className={`se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${\n shouldShowSearch ? '' : 'py-2'\n }${className ? ` ${className}` : ''}`}\n {...getContainerProps({ ariaLabel: 'Menu' })}\n >\n {shouldShowSearch && renderSearchBar()}\n <div style={containerStyle} className={`overflow-y-auto ${shouldShowSearch ? 'py-2' : ''}`}>\n {filteredItems.length > 0 ? (\n filteredItems.map((item) => {\n const stableId = itemIdByRef.get(item) as string;\n\n if (item.type === 'separator') {\n return (\n <hr key={stableId} className=\"se-design-menu-separator cursor-default border-[var(--color-gray-200)]\" />\n );\n }\n\n if (item.type === 'header') {\n return (\n <div\n key={stableId}\n className=\"se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]\"\n role=\"presentation\"\n >\n {item.label}\n </div>\n );\n }\n\n const rovingProps = getRovingItemProps(stableId);\n return (\n <MenuItem\n {...item}\n key={stableId}\n ref={rovingProps.ref}\n tabIndex={rovingProps.tabIndex}\n onKeyDown={handleKeyDown}\n onFocus={() => setFocusedId(stableId)}\n />\n );\n })\n ) : (\n <div className=\"px-3 py-4 text-center text-[var(--color-gray-700)] text-sm\" role=\"status\" aria-live=\"polite\">{searchResultEmptyMessage}</div>\n )}\n </div>\n </div>\n );\n});\n\nMenuList.displayName = 'MenuList';\n"],"names":["MenuList","items","maxHeight","shouldShowSearch","searchPlaceholder","searchBy","searchResultEmptyMessage","className","ref","searchQuery","setSearchQuery","useState","getFilteredItems","trim","filter","item","toString","toLowerCase","includes","renderSearchBar","React","createElement","InputWithIcon","leftIcon","name","position","style","color","value","onChange","placeholder","margin","gap","inputStyle","width","border","outline","automationId","filteredItems","containerStyle","overflowY","itemIdByRef","useMemo","map","WeakMap","seen","Set","forEach","index","baseId","id","uniqueId","has","add","set","itemIds","type","get","getRovingItemProps","handleKeyDown","setFocusedId","getContainerProps","useRovingFocus","orientation","loop","role","_extends","ariaLabel","length","stableId","key","label","rovingProps","MenuItem","tabIndex","onKeyDown","onFocus","displayName"],"mappings":"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"}
1
+ {"version":3,"file":"index18.js","sources":["../src/components/MenuList/index.tsx"],"sourcesContent":["import React, { forwardRef, useState, useMemo, useRef } from 'react';\nimport { MenuItem, MenuItemProps } from 'src/components/MenuItem';\nimport { InputWithIcon } from '../InputWithIcon';\nimport { useRovingFocus } from 'src/utils/a11y/useRovingFocus';\n\nexport type MenuListProps = {\n items: MenuItemProps[];\n maxHeight?: string;\n shouldShowSearch?: boolean;\n searchPlaceholder?: string;\n searchBy?: string;\n searchResultEmptyMessage?: string;\n className?: string;\n};\n\nexport const MenuList = forwardRef<HTMLDivElement, MenuListProps>(({\n items,\n maxHeight,\n shouldShowSearch = false,\n searchPlaceholder = 'Search...',\n searchBy = 'label',\n searchResultEmptyMessage = 'No results found',\n className = ''\n}, ref) => {\n const [searchQuery, setSearchQuery] = useState('');\n const searchInputRef = useRef<HTMLInputElement>(null);\n\n const getFilteredItems = () => {\n if (!searchQuery.trim()) {\n return items;\n }\n return items.filter((item) => {\n const searchValue = item[searchBy as keyof MenuItemProps]?.toString().toLowerCase() || '';\n return searchValue.includes(searchQuery.toLowerCase());\n });\n };\n\n const filteredItems = getFilteredItems();\n const containerStyle = maxHeight\n ? {\n maxHeight,\n overflowY: 'auto' as const\n }\n : {};\n\n const itemIdByRef = useMemo(() => {\n const map = new WeakMap<MenuItemProps, string>();\n const seen = new Set<string>();\n\n items.forEach((item, index) => {\n const baseId = item.id || item.automationId || `menu-item-${index}`;\n let uniqueId = baseId;\n\n if (seen.has(uniqueId)) {\n uniqueId = `${baseId}-${index}`;\n }\n\n seen.add(uniqueId);\n map.set(item, uniqueId);\n });\n\n return map;\n }, [items]);\n\n const itemIds = useMemo(() => {\n return filteredItems\n .filter((item) => item.type !== 'header' && item.type !== 'separator')\n .map((item) => itemIdByRef.get(item) as string);\n }, [filteredItems, itemIdByRef]);\n\n // Use roving focus for arrow key navigation\n const { getRovingItemProps, handleKeyDown: rovingHandleKeyDown, setFocusedId, focusItem, getContainerProps } = useRovingFocus({\n itemIds,\n orientation: 'vertical',\n loop: true,\n role: 'menu'\n });\n\n // Wrap roving keydown: when on a menu item, Shift+Tab goes back to search input\n const handleMenuItemKeyDown = (e: React.KeyboardEvent) => {\n if (shouldShowSearch && e.key === 'Tab' && e.shiftKey) {\n e.preventDefault();\n searchInputRef.current?.focus();\n return;\n }\n rovingHandleKeyDown(e);\n };\n\n // Search input keydown: ArrowDown enters the menu, Tab moves to first menu item\n const handleSearchKeyDown = (e: React.KeyboardEvent) => {\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n const firstId = itemIds[0];\n if (firstId) focusItem(firstId);\n } else if (e.key === 'Tab' && !e.shiftKey) {\n e.preventDefault();\n const firstId = itemIds[0];\n if (firstId) focusItem(firstId);\n }\n };\n\n const renderSearchBar = () => {\n return (\n <div className=\"w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1\">\n <InputWithIcon\n leftIcon={{ name: 'search', position: 'left', style: { color: 'var(--color-gray-500)' } }}\n value={searchQuery}\n onChange={(value: string) => setSearchQuery(value)}\n placeholder={searchPlaceholder}\n style={{ margin: 0, gap: 0 }}\n inputStyle={{ width: '100%', border: 'none', outline: 'none' }}\n automationId=\"se-design-menu-list-search\"\n ariaLabel={searchPlaceholder}\n inputRef={searchInputRef}\n inputProps={{ onKeyDown: handleSearchKeyDown }}\n />\n </div>\n );\n };\n\n return (\n <div\n ref={ref}\n className={`se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${\n shouldShowSearch ? '' : 'py-2'\n }${className ? ` ${className}` : ''}`}\n >\n {shouldShowSearch && renderSearchBar()}\n <div\n style={containerStyle}\n className={`overflow-y-auto ${shouldShowSearch ? 'py-2' : ''}`}\n {...getContainerProps({ ariaLabel: 'Menu' })}\n >\n {filteredItems.length > 0 ? (\n filteredItems.map((item) => {\n const stableId = itemIdByRef.get(item) as string;\n\n if (item.type === 'separator') {\n return (\n <hr key={stableId} className=\"se-design-menu-separator cursor-default border-[var(--color-gray-200)]\" />\n );\n }\n\n if (item.type === 'header') {\n return (\n <div\n key={stableId}\n className=\"se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]\"\n role=\"presentation\"\n >\n {item.label}\n </div>\n );\n }\n\n const rovingProps = getRovingItemProps(stableId);\n return (\n <MenuItem\n {...item}\n key={stableId}\n ref={rovingProps.ref}\n tabIndex={rovingProps.tabIndex}\n onKeyDown={handleMenuItemKeyDown}\n onFocus={() => setFocusedId(stableId)}\n />\n );\n })\n ) : (\n <div className=\"px-3 py-4 text-center text-[var(--color-gray-700)] text-sm\" role=\"status\" aria-live=\"polite\">{searchResultEmptyMessage}</div>\n )}\n </div>\n </div>\n );\n});\n\nMenuList.displayName = 'MenuList';\n"],"names":["MenuList","items","maxHeight","shouldShowSearch","searchPlaceholder","searchBy","searchResultEmptyMessage","className","ref","searchQuery","setSearchQuery","useState","searchInputRef","useRef","filteredItems","trim","filter","item","toString","toLowerCase","includes","containerStyle","overflowY","itemIdByRef","useMemo","map","WeakMap","seen","Set","forEach","index","baseId","id","automationId","uniqueId","has","add","set","itemIds","type","get","getRovingItemProps","handleKeyDown","rovingHandleKeyDown","setFocusedId","focusItem","getContainerProps","useRovingFocus","orientation","loop","role","handleMenuItemKeyDown","e","key","shiftKey","preventDefault","current","focus","handleSearchKeyDown","firstId","renderSearchBar","React","createElement","InputWithIcon","leftIcon","name","position","style","color","value","onChange","placeholder","margin","gap","inputStyle","width","border","outline","ariaLabel","inputRef","inputProps","onKeyDown","_extends","length","stableId","label","rovingProps","MenuItem","tabIndex","onFocus","displayName"],"mappings":"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"}
package/dist/index180.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_72_2399)'%3e%3cpath%20d='M1.37388%206.99414H10.4141'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.44197%202.02539L10.4141%206.99749L5.44197%2011.9696'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.127%2011.9696V2.02539'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_72_2399'%3e%3crect%20width='13.5'%20height='13.5'%20fill='white'%20transform='matrix(-1%200%200%201%2014%200.25)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M8%201.65625V5.55955'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.65723%205.55859H14.3429V13.3652C14.3429%2013.6239%2014.2401%2013.8722%2014.0571%2014.0552C13.8741%2014.2381%2013.6259%2014.341%2013.3671%2014.341H2.63305C2.37424%2014.341%202.12604%2014.2381%201.94304%2014.0552C1.76003%2013.8722%201.65723%2013.6239%201.65723%2013.3652V5.55859Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.22077%202.26063C3.39571%201.89154%203.76761%201.65625%204.17605%201.65625H11.8241C12.2326%201.65625%2012.6045%201.89154%2012.7794%202.26063L14.3429%205.55955H1.65723L3.22077%202.26063Z'%20stroke='%231BBA5F'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };