se-design 1.0.75 → 1.0.76-dev2

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 (484) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/AccessibleDiv/index.d.ts +24 -0
  3. package/dist/components/Checkbox/index.d.ts +12 -0
  4. package/dist/components/CustomAccordion/index.d.ts +1 -0
  5. package/dist/components/CustomModal/index.d.ts +15 -12
  6. package/dist/components/DatePicker/useDatePickerA11y.d.ts +50 -0
  7. package/dist/components/Dropdown/index.d.ts +15 -0
  8. package/dist/components/DropdownWithInputTags/index.d.ts +1 -0
  9. package/dist/components/Icon/index.d.ts +8 -2
  10. package/dist/components/InputWithIcon/index.d.ts +9 -1
  11. package/dist/components/LabelChip/index.d.ts +1 -0
  12. package/dist/components/Modal/index.d.ts +1 -0
  13. package/dist/components/PhoneInput/index.d.ts +13 -5
  14. package/dist/components/Popover/index.d.ts +2 -0
  15. package/dist/components/SidebarOverlay/index.d.ts +8 -0
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/index.js +144 -133
  18. package/dist/index.js.map +1 -1
  19. package/dist/index10.js +23 -59
  20. package/dist/index10.js.map +1 -1
  21. package/dist/index100.js +1 -1
  22. package/dist/index100.js.map +1 -1
  23. package/dist/index101.js +1 -1
  24. package/dist/index101.js.map +1 -1
  25. package/dist/index102.js +2 -2
  26. package/dist/index102.js.map +1 -1
  27. package/dist/index103.js +2 -2
  28. package/dist/index103.js.map +1 -1
  29. package/dist/index104.js +1 -1
  30. package/dist/index104.js.map +1 -1
  31. package/dist/index105.js +1 -1
  32. package/dist/index105.js.map +1 -1
  33. package/dist/index106.js +1 -1
  34. package/dist/index106.js.map +1 -1
  35. package/dist/index107.js +2 -2
  36. package/dist/index107.js.map +1 -1
  37. package/dist/index108.js +2 -2
  38. package/dist/index108.js.map +1 -1
  39. package/dist/index109.js +2 -2
  40. package/dist/index109.js.map +1 -1
  41. package/dist/index11.js +70 -63
  42. package/dist/index11.js.map +1 -1
  43. package/dist/index110.js +2 -2
  44. package/dist/index110.js.map +1 -1
  45. package/dist/index111.js +1 -1
  46. package/dist/index111.js.map +1 -1
  47. package/dist/index112.js +1 -1
  48. package/dist/index112.js.map +1 -1
  49. package/dist/index113.js +2 -2
  50. package/dist/index113.js.map +1 -1
  51. package/dist/index114.js +2 -2
  52. package/dist/index114.js.map +1 -1
  53. package/dist/index115.js +1 -1
  54. package/dist/index115.js.map +1 -1
  55. package/dist/index116.js +1 -1
  56. package/dist/index116.js.map +1 -1
  57. package/dist/index117.js +1 -1
  58. package/dist/index117.js.map +1 -1
  59. package/dist/index118.js +2 -2
  60. package/dist/index118.js.map +1 -1
  61. package/dist/index119.js +1 -1
  62. package/dist/index119.js.map +1 -1
  63. package/dist/index12.js +68 -33
  64. package/dist/index12.js.map +1 -1
  65. package/dist/index120.js +2 -2
  66. package/dist/index120.js.map +1 -1
  67. package/dist/index121.js +2 -2
  68. package/dist/index121.js.map +1 -1
  69. package/dist/index122.js +2 -2
  70. package/dist/index122.js.map +1 -1
  71. package/dist/index123.js +2 -2
  72. package/dist/index123.js.map +1 -1
  73. package/dist/index124.js +2 -2
  74. package/dist/index124.js.map +1 -1
  75. package/dist/index125.js +2 -2
  76. package/dist/index125.js.map +1 -1
  77. package/dist/index126.js +1 -1
  78. package/dist/index126.js.map +1 -1
  79. package/dist/index127.js +1 -1
  80. package/dist/index127.js.map +1 -1
  81. package/dist/index128.js +1 -1
  82. package/dist/index128.js.map +1 -1
  83. package/dist/index129.js +1 -1
  84. package/dist/index129.js.map +1 -1
  85. package/dist/index13.js +48 -14
  86. package/dist/index13.js.map +1 -1
  87. package/dist/index130.js +2 -2
  88. package/dist/index130.js.map +1 -1
  89. package/dist/index131.js +2 -2
  90. package/dist/index131.js.map +1 -1
  91. package/dist/index132.js +1 -1
  92. package/dist/index132.js.map +1 -1
  93. package/dist/index133.js +1 -1
  94. package/dist/index133.js.map +1 -1
  95. package/dist/index134.js +2 -2
  96. package/dist/index134.js.map +1 -1
  97. package/dist/index135.js +1 -1
  98. package/dist/index135.js.map +1 -1
  99. package/dist/index136.js +1 -1
  100. package/dist/index136.js.map +1 -1
  101. package/dist/index137.js +1 -1
  102. package/dist/index137.js.map +1 -1
  103. package/dist/index138.js +1 -1
  104. package/dist/index138.js.map +1 -1
  105. package/dist/index139.js +1 -1
  106. package/dist/index139.js.map +1 -1
  107. package/dist/index14.js +15 -9
  108. package/dist/index14.js.map +1 -1
  109. package/dist/index140.js +1 -1
  110. package/dist/index140.js.map +1 -1
  111. package/dist/index141.js +2 -2
  112. package/dist/index141.js.map +1 -1
  113. package/dist/index142.js +1 -1
  114. package/dist/index142.js.map +1 -1
  115. package/dist/index143.js +2 -2
  116. package/dist/index143.js.map +1 -1
  117. package/dist/index144.js +2 -2
  118. package/dist/index144.js.map +1 -1
  119. package/dist/index145.js +1 -1
  120. package/dist/index145.js.map +1 -1
  121. package/dist/index146.js +2 -2
  122. package/dist/index146.js.map +1 -1
  123. package/dist/index147.js +2 -2
  124. package/dist/index147.js.map +1 -1
  125. package/dist/index148.js +1 -1
  126. package/dist/index148.js.map +1 -1
  127. package/dist/index149.js +1 -1
  128. package/dist/index149.js.map +1 -1
  129. package/dist/index15.js +10 -218
  130. package/dist/index15.js.map +1 -1
  131. package/dist/index150.js +2 -2
  132. package/dist/index150.js.map +1 -1
  133. package/dist/index151.js +2 -2
  134. package/dist/index151.js.map +1 -1
  135. package/dist/index152.js +1 -1
  136. package/dist/index152.js.map +1 -1
  137. package/dist/index153.js +2 -2
  138. package/dist/index153.js.map +1 -1
  139. package/dist/index154.js +2 -2
  140. package/dist/index154.js.map +1 -1
  141. package/dist/index155.js +1 -1
  142. package/dist/index155.js.map +1 -1
  143. package/dist/index156.js +1 -1
  144. package/dist/index156.js.map +1 -1
  145. package/dist/index157.js +1 -1
  146. package/dist/index157.js.map +1 -1
  147. package/dist/index158.js +1 -1
  148. package/dist/index158.js.map +1 -1
  149. package/dist/index159.js +1 -1
  150. package/dist/index159.js.map +1 -1
  151. package/dist/index16.js +220 -60
  152. package/dist/index16.js.map +1 -1
  153. package/dist/index160.js +1 -1
  154. package/dist/index160.js.map +1 -1
  155. package/dist/index161.js +1 -1
  156. package/dist/index161.js.map +1 -1
  157. package/dist/index162.js +1 -1
  158. package/dist/index162.js.map +1 -1
  159. package/dist/index163.js +1 -1
  160. package/dist/index163.js.map +1 -1
  161. package/dist/index164.js +1 -1
  162. package/dist/index164.js.map +1 -1
  163. package/dist/index165.js +1 -1
  164. package/dist/index165.js.map +1 -1
  165. package/dist/index166.js +1 -1
  166. package/dist/index166.js.map +1 -1
  167. package/dist/index167.js +1 -1
  168. package/dist/index167.js.map +1 -1
  169. package/dist/index168.js +1 -1
  170. package/dist/index168.js.map +1 -1
  171. package/dist/index169.js +1 -1
  172. package/dist/index169.js.map +1 -1
  173. package/dist/index17.js +60 -99
  174. package/dist/index17.js.map +1 -1
  175. package/dist/index170.js +1 -1
  176. package/dist/index170.js.map +1 -1
  177. package/dist/index171.js +1 -1
  178. package/dist/index171.js.map +1 -1
  179. package/dist/index172.js +1 -1
  180. package/dist/index172.js.map +1 -1
  181. package/dist/index173.js +2 -2
  182. package/dist/index173.js.map +1 -1
  183. package/dist/index174.js +1 -1
  184. package/dist/index174.js.map +1 -1
  185. package/dist/index175.js +1 -1
  186. package/dist/index175.js.map +1 -1
  187. package/dist/index176.js +1 -1
  188. package/dist/index176.js.map +1 -1
  189. package/dist/index177.js +2 -2
  190. package/dist/index177.js.map +1 -1
  191. package/dist/index178.js +1 -1
  192. package/dist/index178.js.map +1 -1
  193. package/dist/index179.js +1 -1
  194. package/dist/index179.js.map +1 -1
  195. package/dist/index18.js +95 -282
  196. package/dist/index18.js.map +1 -1
  197. package/dist/index180.js +2 -2
  198. package/dist/index180.js.map +1 -1
  199. package/dist/index181.js +1 -1
  200. package/dist/index181.js.map +1 -1
  201. package/dist/index182.js +1 -1
  202. package/dist/index182.js.map +1 -1
  203. package/dist/index183.js +1 -1
  204. package/dist/index183.js.map +1 -1
  205. package/dist/index184.js +2 -2
  206. package/dist/index184.js.map +1 -1
  207. package/dist/index185.js +1 -1
  208. package/dist/index185.js.map +1 -1
  209. package/dist/index186.js +1 -1
  210. package/dist/index186.js.map +1 -1
  211. package/dist/index187.js +2 -2
  212. package/dist/index187.js.map +1 -1
  213. package/dist/index188.js +1 -1
  214. package/dist/index188.js.map +1 -1
  215. package/dist/index189.js +2 -2
  216. package/dist/index189.js.map +1 -1
  217. package/dist/index19.js +323 -16
  218. package/dist/index19.js.map +1 -1
  219. package/dist/index190.js +2 -149
  220. package/dist/index190.js.map +1 -1
  221. package/dist/index191.js +2 -9
  222. package/dist/index191.js.map +1 -1
  223. package/dist/index192.js +2 -6
  224. package/dist/index192.js.map +1 -1
  225. package/dist/index193.js +2 -5
  226. package/dist/index193.js.map +1 -1
  227. package/dist/index194.js +2 -40
  228. package/dist/index194.js.map +1 -1
  229. package/dist/index195.js +2 -59
  230. package/dist/index195.js.map +1 -1
  231. package/dist/index196.js +2 -23
  232. package/dist/index196.js.map +1 -1
  233. package/dist/index197.js +152 -0
  234. package/dist/index197.js.map +1 -0
  235. package/dist/index198.js +12 -0
  236. package/dist/index198.js.map +1 -0
  237. package/dist/index199.js +5 -23
  238. package/dist/index199.js.map +1 -1
  239. package/dist/index20.js +15 -31
  240. package/dist/index20.js.map +1 -1
  241. package/dist/index200.js +8 -0
  242. package/dist/index200.js.map +1 -0
  243. package/dist/index201.js +36 -80
  244. package/dist/index201.js.map +1 -1
  245. package/dist/index206.js +26 -0
  246. package/dist/index206.js.map +1 -0
  247. package/dist/index207.js +71 -0
  248. package/dist/index207.js.map +1 -0
  249. package/dist/index21.js +33 -61
  250. package/dist/index21.js.map +1 -1
  251. package/dist/{index210.js → index215.js} +1 -1
  252. package/dist/{index210.js.map → index215.js.map} +1 -1
  253. package/dist/index22.js +57 -76
  254. package/dist/index22.js.map +1 -1
  255. package/dist/{index218.js → index223.js} +1 -1
  256. package/dist/{index218.js.map → index223.js.map} +1 -1
  257. package/dist/{index221.js → index226.js} +2 -2
  258. package/dist/{index221.js.map → index226.js.map} +1 -1
  259. package/dist/index23.js +83 -21
  260. package/dist/index23.js.map +1 -1
  261. package/dist/index235.js +171 -8
  262. package/dist/index235.js.map +1 -1
  263. package/dist/index236.js +3 -9
  264. package/dist/index236.js.map +1 -1
  265. package/dist/index238.js +18 -169
  266. package/dist/index238.js.map +1 -1
  267. package/dist/index239.js +10 -11
  268. package/dist/index239.js.map +1 -1
  269. package/dist/index24.js +20 -222
  270. package/dist/index24.js.map +1 -1
  271. package/dist/index240.js +8 -4
  272. package/dist/index240.js.map +1 -1
  273. package/dist/index241.js +4 -5
  274. package/dist/index241.js.map +1 -1
  275. package/dist/index242.js +168 -36
  276. package/dist/index242.js.map +1 -1
  277. package/dist/index243.js +11 -2
  278. package/dist/index243.js.map +1 -1
  279. package/dist/index244.js +5 -7
  280. package/dist/index244.js.map +1 -1
  281. package/dist/index245.js +5 -326
  282. package/dist/index245.js.map +1 -1
  283. package/dist/index246.js +36 -48
  284. package/dist/index246.js.map +1 -1
  285. package/dist/index247.js +2 -2
  286. package/dist/index248.js +7 -75
  287. package/dist/index248.js.map +1 -1
  288. package/dist/index249.js +308 -74
  289. package/dist/index249.js.map +1 -1
  290. package/dist/index25.js +299 -43
  291. package/dist/index25.js.map +1 -1
  292. package/dist/index250.js +45 -47
  293. package/dist/index250.js.map +1 -1
  294. package/dist/index251.js +2 -8
  295. package/dist/index251.js.map +1 -1
  296. package/dist/index252.js +75 -4
  297. package/dist/index252.js.map +1 -1
  298. package/dist/index253.js +89 -48
  299. package/dist/index253.js.map +1 -1
  300. package/dist/index254.js +52 -2
  301. package/dist/index254.js.map +1 -1
  302. package/dist/index255.js +8 -2
  303. package/dist/index255.js.map +1 -1
  304. package/dist/index256.js +8 -0
  305. package/dist/index256.js.map +1 -0
  306. package/dist/index257.js +55 -0
  307. package/dist/index257.js.map +1 -0
  308. package/dist/index258.js +5 -0
  309. package/dist/index258.js.map +1 -0
  310. package/dist/index259.js +5 -0
  311. package/dist/index259.js.map +1 -0
  312. package/dist/index26.js +48 -23
  313. package/dist/index26.js.map +1 -1
  314. package/dist/index27.js +21 -81
  315. package/dist/index27.js.map +1 -1
  316. package/dist/index28.js +101 -138
  317. package/dist/index28.js.map +1 -1
  318. package/dist/index29.js +139 -128
  319. package/dist/index29.js.map +1 -1
  320. package/dist/index3.js +57 -98
  321. package/dist/index3.js.map +1 -1
  322. package/dist/index30.js +133 -69
  323. package/dist/index30.js.map +1 -1
  324. package/dist/index31.js +67 -96
  325. package/dist/index31.js.map +1 -1
  326. package/dist/index32.js +96 -71
  327. package/dist/index32.js.map +1 -1
  328. package/dist/index33.js +70 -38
  329. package/dist/index33.js.map +1 -1
  330. package/dist/index34.js +40 -71
  331. package/dist/index34.js.map +1 -1
  332. package/dist/index35.js +67 -82
  333. package/dist/index35.js.map +1 -1
  334. package/dist/index36.js +99 -54
  335. package/dist/index36.js.map +1 -1
  336. package/dist/index37.js +53 -280
  337. package/dist/index37.js.map +1 -1
  338. package/dist/index38.js +283 -70
  339. package/dist/index38.js.map +1 -1
  340. package/dist/index39.js +69 -80
  341. package/dist/index39.js.map +1 -1
  342. package/dist/index4.js +102 -42
  343. package/dist/index4.js.map +1 -1
  344. package/dist/index40.js +82 -32
  345. package/dist/index40.js.map +1 -1
  346. package/dist/index41.js +26 -44
  347. package/dist/index41.js.map +1 -1
  348. package/dist/index42.js +45 -67
  349. package/dist/index42.js.map +1 -1
  350. package/dist/index43.js +65 -49
  351. package/dist/index43.js.map +1 -1
  352. package/dist/index44.js +53 -139
  353. package/dist/index44.js.map +1 -1
  354. package/dist/index45.js +132 -179
  355. package/dist/index45.js.map +1 -1
  356. package/dist/index46.js +194 -35
  357. package/dist/index46.js.map +1 -1
  358. package/dist/index47.js +34 -29
  359. package/dist/index47.js.map +1 -1
  360. package/dist/index48.js +31 -145
  361. package/dist/index48.js.map +1 -1
  362. package/dist/index49.js +131 -70
  363. package/dist/index49.js.map +1 -1
  364. package/dist/index5.js +40 -315
  365. package/dist/index5.js.map +1 -1
  366. package/dist/index50.js +80 -371
  367. package/dist/index50.js.map +1 -1
  368. package/dist/index51.js +451 -91
  369. package/dist/index51.js.map +1 -1
  370. package/dist/index52.js +98 -38
  371. package/dist/index52.js.map +1 -1
  372. package/dist/index53.js +35 -35
  373. package/dist/index53.js.map +1 -1
  374. package/dist/index54.js +35 -90
  375. package/dist/index54.js.map +1 -1
  376. package/dist/index55.js +89 -159
  377. package/dist/index55.js.map +1 -1
  378. package/dist/index56.js +157 -143
  379. package/dist/index56.js.map +1 -1
  380. package/dist/index57.js +149 -33
  381. package/dist/index57.js.map +1 -1
  382. package/dist/index58.js +33 -86
  383. package/dist/index58.js.map +1 -1
  384. package/dist/index59.js +80 -113
  385. package/dist/index59.js.map +1 -1
  386. package/dist/index6.js +323 -43
  387. package/dist/index6.js.map +1 -1
  388. package/dist/index60.js +114 -62
  389. package/dist/index60.js.map +1 -1
  390. package/dist/index61.js +62 -147
  391. package/dist/index61.js.map +1 -1
  392. package/dist/index62.js +146 -312
  393. package/dist/index62.js.map +1 -1
  394. package/dist/index63.js +317 -44
  395. package/dist/index63.js.map +1 -1
  396. package/dist/index64.js +44 -143
  397. package/dist/index64.js.map +1 -1
  398. package/dist/index65.js +145 -12
  399. package/dist/index65.js.map +1 -1
  400. package/dist/index66.js +10 -44
  401. package/dist/index66.js.map +1 -1
  402. package/dist/index67.js +42 -15
  403. package/dist/index67.js.map +1 -1
  404. package/dist/index68.js +76 -48
  405. package/dist/index68.js.map +1 -1
  406. package/dist/index69.js +18 -58
  407. package/dist/index69.js.map +1 -1
  408. package/dist/index7.js +44 -51
  409. package/dist/index7.js.map +1 -1
  410. package/dist/index70.js +66 -5
  411. package/dist/index70.js.map +1 -1
  412. package/dist/index71.js +25 -7
  413. package/dist/index71.js.map +1 -1
  414. package/dist/index72.js +105 -0
  415. package/dist/index72.js.map +1 -0
  416. package/dist/index73.js +62 -2
  417. package/dist/index73.js.map +1 -1
  418. package/dist/index74.js +21 -2
  419. package/dist/index74.js.map +1 -1
  420. package/dist/index75.js +5 -2
  421. package/dist/index75.js.map +1 -1
  422. package/dist/index76.js +54 -2
  423. package/dist/index76.js.map +1 -1
  424. package/dist/index77.js +24 -2
  425. package/dist/index77.js.map +1 -1
  426. package/dist/index78.js +9 -2
  427. package/dist/index78.js.map +1 -1
  428. package/dist/index8.js +48 -85
  429. package/dist/index8.js.map +1 -1
  430. package/dist/index80.js +2 -2
  431. package/dist/index80.js.map +1 -1
  432. package/dist/index81.js +2 -2
  433. package/dist/index81.js.map +1 -1
  434. package/dist/index82.js +1 -1
  435. package/dist/index82.js.map +1 -1
  436. package/dist/index83.js +2 -2
  437. package/dist/index83.js.map +1 -1
  438. package/dist/index84.js +1 -1
  439. package/dist/index84.js.map +1 -1
  440. package/dist/index85.js +1 -1
  441. package/dist/index85.js.map +1 -1
  442. package/dist/index86.js +1 -1
  443. package/dist/index86.js.map +1 -1
  444. package/dist/index87.js +1 -1
  445. package/dist/index87.js.map +1 -1
  446. package/dist/index88.js +1 -1
  447. package/dist/index88.js.map +1 -1
  448. package/dist/index89.js +1 -1
  449. package/dist/index89.js.map +1 -1
  450. package/dist/index9.js +91 -27
  451. package/dist/index9.js.map +1 -1
  452. package/dist/index90.js +1 -1
  453. package/dist/index90.js.map +1 -1
  454. package/dist/index91.js +1 -1
  455. package/dist/index91.js.map +1 -1
  456. package/dist/index92.js +1 -1
  457. package/dist/index92.js.map +1 -1
  458. package/dist/index93.js +1 -1
  459. package/dist/index93.js.map +1 -1
  460. package/dist/index94.js +1 -1
  461. package/dist/index94.js.map +1 -1
  462. package/dist/index95.js +1 -1
  463. package/dist/index95.js.map +1 -1
  464. package/dist/index96.js +1 -1
  465. package/dist/index96.js.map +1 -1
  466. package/dist/index97.js +1 -1
  467. package/dist/index97.js.map +1 -1
  468. package/dist/index98.js +1 -1
  469. package/dist/index98.js.map +1 -1
  470. package/dist/index99.js +1 -1
  471. package/dist/index99.js.map +1 -1
  472. package/package.json +1 -1
  473. package/dist/index230.js +0 -7
  474. package/dist/index230.js.map +0 -1
  475. package/dist/index232.js +0 -25
  476. package/dist/index232.js.map +0 -1
  477. package/dist/index233.js +0 -57
  478. package/dist/index233.js.map +0 -1
  479. package/dist/index234.js +0 -22
  480. package/dist/index234.js.map +0 -1
  481. package/dist/index237.js +0 -8
  482. package/dist/index237.js.map +0 -1
  483. package/dist/index79.js +0 -5
  484. package/dist/index79.js.map +0 -1
@@ -5,6 +5,7 @@ type DropdownValue = {
5
5
  type DropdownProps = {
6
6
  label?: string;
7
7
  ariaLabel?: string;
8
+ ariaLabelledBy?: string;
8
9
  type: 'select' | 'multi-select';
9
10
  dropDownOptions?: DropdownValue[];
10
11
  defaultText?: string;
@@ -30,8 +31,22 @@ type DropdownProps = {
30
31
  dropDownSelectAutomationId?: string;
31
32
  dropDownContentAutomationId?: string;
32
33
  shouldShowSearch?: boolean;
34
+ showSearchIcon?: boolean;
33
35
  searchPlaceholder?: string;
34
36
  searchResultEmptyMessage?: string;
37
+ /** Controlled selection — when provided, Dropdown won't manage internal selected state */
38
+ selectedValue?: DropdownValue | DropdownValue[];
39
+ /** Controlled open state — when provided, Dropdown won't manage internal open/close */
40
+ isOpen?: boolean;
41
+ /** Callback when open state changes (fires in both controlled and uncontrolled modes) */
42
+ onOpenChange?: (isOpen: boolean) => void;
43
+ /** Custom trigger element — replaces the default bordered div + chevron */
44
+ renderSrcElement?: (props: {
45
+ isOpen: boolean;
46
+ selectedValue: DropdownValue[];
47
+ }) => React.ReactNode;
48
+ /** Render the dropdown panel in a portal (document.body) to escape overflow:hidden containers */
49
+ isWithPortal?: boolean;
35
50
  };
36
51
  export declare const Dropdown: FC<DropdownProps>;
37
52
  export {};
@@ -29,5 +29,6 @@ export interface DropdownWithInputTagsProps {
29
29
  type?: 'select' | 'multi-select' | 'multi-select-without-cta';
30
30
  showInput?: boolean;
31
31
  displayTagBy?: 'label' | 'value';
32
+ isWithPortal?: boolean;
32
33
  }
33
34
  export declare const DropdownWithInputTags: React.ForwardRefExoticComponent<DropdownWithInputTagsProps & React.RefAttributes<DropdownWithInputTagsHandle>>;
@@ -1,7 +1,8 @@
1
- import { default as React, FC } from 'react';
1
+ import { default as React } from 'react';
2
2
  export type RotationTypes = '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';
3
3
  export type IconProps = {
4
4
  name: string;
5
+ id?: string;
5
6
  className?: string;
6
7
  onClick?: (e?: React.MouseEvent<HTMLElement>) => void;
7
8
  /**
@@ -44,5 +45,10 @@ export type IconProps = {
44
45
  * Only applies when `onClick` is provided (interactive icon).
45
46
  */
46
47
  disabled?: boolean;
48
+ /**
49
+ * Native HTML title attribute — renders as a browser tooltip on hover.
50
+ * For mouse users only; does not replace ariaLabel for screen readers.
51
+ */
52
+ htmlTitle?: string;
47
53
  };
48
- export declare const Icon: FC<IconProps>;
54
+ export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
@@ -52,5 +52,13 @@ export interface InputWithIconProps {
52
52
  * Set to "dialog" when this input opens a date picker or other dialog.
53
53
  */
54
54
  ariaHasPopup?: 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
55
+ /**
56
+ * Additional props spread directly onto the inner <input> element.
57
+ */
58
+ inputProps?: Record<string, any>;
59
+ /**
60
+ * Ref forwarded to the inner <input> element.
61
+ */
62
+ inputRef?: React.Ref<HTMLInputElement>;
55
63
  }
56
- export declare function InputWithIcon({ disabled, error, errorMessage, id, inputStyle, label, leftIcon, maxLength, onChange, onClick, onKeyDown, placeholder, readOnly, rightIcon, style, tag, type, value, className, automationId, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaHasPopup }: InputWithIconProps): React.JSX.Element;
64
+ export declare function InputWithIcon({ disabled, error, errorMessage, id, inputStyle, label, leftIcon, maxLength, onChange, onClick, onKeyDown, placeholder, readOnly, rightIcon, style, tag, type, value, className, automationId, ariaLabel, ariaLabelledBy, ariaDescribedBy, ariaHasPopup, inputProps, inputRef }: InputWithIconProps): React.JSX.Element;
@@ -16,6 +16,7 @@ type LabelChipProps = {
16
16
  iconColor?: string;
17
17
  automationId?: string;
18
18
  id?: string;
19
+ ariaPressed?: boolean;
19
20
  };
20
21
  export declare const LabelChip: FC<LabelChipProps>;
21
22
  export {};
@@ -3,6 +3,7 @@ import { ButtonProps } from '../Button';
3
3
  export interface ModalProps {
4
4
  title?: string;
5
5
  ariaLabel?: string;
6
+ ariaLabelledBy?: string;
6
7
  content: string | React.ReactNode;
7
8
  successButtonProps?: ButtonProps;
8
9
  cancelButtonProps?: ButtonProps;
@@ -11,20 +11,28 @@ export interface PhoneInputProps {
11
11
  label?: string;
12
12
  automationId?: string;
13
13
  /**
14
- * Accessible label for the entire phone input group.
14
+ * Accessible label for the entire phone input group (role="group").
15
15
  * Provides context for screen readers (e.g., "Two-step verification phone number for signer 1").
16
- * Takes precedence over label prop for screen readers (visual label remains unchanged).
17
16
  */
18
17
  ariaLabel?: string;
19
18
  /**
20
- * ID(s) of element(s) that label this input (for external labels).
21
- * Highest precedence - use when label is rendered outside the component.
19
+ * ID(s) of element(s) that label the group (highest precedence over ariaLabel).
22
20
  */
23
21
  ariaLabelledBy?: string;
24
22
  /**
25
- * ID(s) of element(s) providing additional description.
23
+ * ID(s) of element(s) providing additional description for the phone number input.
26
24
  */
27
25
  ariaDescribedBy?: string;
26
+ /**
27
+ * Override aria-label for the phone number input specifically.
28
+ * Defaults to the visible label text or 'Phone number'.
29
+ */
30
+ phoneNumberAriaLabel?: string;
31
+ /**
32
+ * Override aria-label for the country code combobox button.
33
+ * Defaults to "Select country code. Current: {name} {dial_code}".
34
+ */
35
+ countryCodeAriaLabel?: string;
28
36
  /**
29
37
  * Whether the input is disabled
30
38
  */
@@ -26,5 +26,7 @@ export interface PopoverProps {
26
26
  popoverContentStyleProperty?: React.CSSProperties;
27
27
  disableClickToggle?: boolean;
28
28
  disableAutoClose?: boolean;
29
+ /** Focus the first focusable element when the popover opens via isPopoverOpen (external state). */
30
+ focusFirstOnOpen?: boolean;
29
31
  }
30
32
  export declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<PopoverHandle>>;
@@ -42,6 +42,14 @@ export interface SidebarOverlayProps {
42
42
  * ID(s) of element(s) that describe this sidebar (additional context).
43
43
  */
44
44
  ariaDescribedBy?: string;
45
+ /**
46
+ * Explicit element to restore focus to when the sidebar closes.
47
+ * Overrides automatic trigger capture from document.activeElement.
48
+ * Use when the opener element is known (e.g. a ref on the toggle button).
49
+ * In complementary mode: seeds the trigger ref directly.
50
+ * In dialog mode: passed through to useFocusTrap.
51
+ */
52
+ returnFocusRef?: React.RefObject<HTMLElement | null>;
45
53
  }
46
54
  export declare const SidebarOverlay: FC<SidebarOverlayProps>;
47
55
  export {};
@@ -1,3 +1,4 @@
1
+ export { AccessibleDiv } from './AccessibleDiv';
1
2
  export { Button } from './Button';
2
3
  export { FilePicker } from './FilePicker';
3
4
  export { Icon } from './Icon';
package/dist/index.js CHANGED
@@ -1,140 +1,151 @@
1
1
  /* empty css */
2
- import { Button as p } from "./index3.js";
3
- import { FilePicker as f } from "./index4.js";
4
- import { Icon as a } from "./index5.js";
5
- import { SkipLinksBar as i } from "./index6.js";
6
- import { SplitButton as d } from "./index7.js";
7
- import { Toggle as g } from "./index8.js";
8
- import { Badge as c } from "./index9.js";
9
- import { LabelChip as T } from "./index10.js";
10
- import { Modal as I } from "./index11.js";
11
- import { CustomModal as h } from "./index12.js";
12
- import { LoadingModal as S } from "./index13.js";
13
- import { Spinner as M } from "./index14.js";
14
- import { Tooltip as A } from "./index15.js";
15
- import { MenuItem as v } from "./index16.js";
16
- import { MenuList as R } from "./index17.js";
17
- import { Popover as y } from "./index18.js";
18
- import { Header as G } from "./index19.js";
19
- import { HamburgerMenu as H } from "./index20.js";
20
- import { TableLayout as N } from "./index21.js";
21
- import { Checkbox as q } from "./index22.js";
22
- import { ColorCodedLabel as E } from "./index23.js";
23
- import { Dropdown as Q } from "./index24.js";
24
- import { KebabMenu as V } from "./index25.js";
25
- import { TableContentLoader as Y } from "./index26.js";
26
- import { SidebarOverlay as _ } from "./index27.js";
27
- import { Tabs as oo } from "./index28.js";
28
- import { Banner as eo } from "./index29.js";
29
- import { Pagination as po } from "./index30.js";
30
- import { Widget as fo } from "./index31.js";
31
- import { Radio as ao } from "./index32.js";
32
- import { RadioGroup as io } from "./index33.js";
33
- import { Accordion as so } from "./index34.js";
34
- import { CustomAccordion as lo } from "./index35.js";
35
- import { InputWithTags as bo } from "./index36.js";
36
- import { DropdownWithInputTags as Bo } from "./index37.js";
37
- import { Input as Po } from "./index38.js";
38
- import { SearchBox as Co } from "./index39.js";
39
- import { ProgressBar as Lo } from "./index40.js";
40
- import { GetStartedWidget as ko } from "./index41.js";
41
- import { MessageBar as Wo } from "./index42.js";
42
- import { ToastBar as wo } from "./index43.js";
43
- import { AutoCompleteInput as Do } from "./index44.js";
44
- import { PhoneInput as Fo } from "./index45.js";
45
- import { CircularProgressBar as Oo } from "./index46.js";
46
- import { Avatar as Ko } from "./index47.js";
47
- import { NavigationBar as jo } from "./index48.js";
48
- import { BreadCrumbs as zo } from "./index49.js";
49
- import { DatePicker as Jo } from "./index50.js";
50
- import { InputWithIcon as Uo } from "./index51.js";
51
- import { DownloadWidget as Xo } from "./index52.js";
52
- import { RadioSwitch as Zo } from "./index53.js";
53
- import { ShimmerLoader as $o } from "./index54.js";
54
- import { Snackbar as rr } from "./index55.js";
55
- import { OTPInput as tr } from "./index56.js";
56
- import { InfoBar as mr } from "./index57.js";
57
- import { BottomSheet as xr } from "./index58.js";
58
- import { TimePicker as nr } from "./index59.js";
59
- import { InfoTooltip as ur } from "./index60.js";
60
- import { OnboardingTour as sr } from "./index61.js";
61
- import { GuidedTour as lr } from "./index62.js";
62
- import { Link as br } from "./index63.js";
63
- import { Paywall as Br } from "./index64.js";
64
- import { getRegionAttributes as Pr } from "./index65.js";
65
- import { useAccessiblePress as Cr } from "./index66.js";
66
- import { useFocusManagement as Lr } from "./index67.js";
67
- import { useRovingFocus as kr } from "./index68.js";
2
+ import { AccessibleDiv as p } from "./index3.js";
3
+ import { Button as x } from "./index4.js";
4
+ import { FilePicker as a } from "./index5.js";
5
+ import { Icon as i } from "./index6.js";
6
+ import { SkipLinksBar as u } from "./index7.js";
7
+ import { SplitButton as c } from "./index8.js";
8
+ import { Toggle as g } from "./index9.js";
9
+ import { Badge as T } from "./index10.js";
10
+ import { LabelChip as I } from "./index11.js";
11
+ import { Modal as h } from "./index12.js";
12
+ import { CustomModal as S } from "./index13.js";
13
+ import { LoadingModal as L } from "./index14.js";
14
+ import { Spinner as k } from "./index15.js";
15
+ import { Tooltip as v } from "./index16.js";
16
+ import { MenuItem as W } from "./index17.js";
17
+ import { MenuList as D } from "./index18.js";
18
+ import { Popover as O } from "./index19.js";
19
+ import { Header as H } from "./index20.js";
20
+ import { HamburgerMenu as K } from "./index21.js";
21
+ import { TableLayout as j } from "./index22.js";
22
+ import { Checkbox as z } from "./index23.js";
23
+ import { ColorCodedLabel as Q } from "./index24.js";
24
+ import { Dropdown as V } from "./index25.js";
25
+ import { KebabMenu as Y } from "./index26.js";
26
+ import { TableContentLoader as _ } from "./index27.js";
27
+ import { SidebarOverlay as oo } from "./index28.js";
28
+ import { Tabs as eo } from "./index29.js";
29
+ import { Banner as po } from "./index30.js";
30
+ import { Pagination as xo } from "./index31.js";
31
+ import { Widget as ao } from "./index32.js";
32
+ import { Radio as io } from "./index33.js";
33
+ import { RadioGroup as uo } from "./index34.js";
34
+ import { Accordion as lo } from "./index35.js";
35
+ import { CustomAccordion as bo } from "./index36.js";
36
+ import { InputWithTags as Bo } from "./index37.js";
37
+ import { DropdownWithInputTags as Po } from "./index38.js";
38
+ import { Input as Co } from "./index39.js";
39
+ import { SearchBox as Ao } from "./index40.js";
40
+ import { ProgressBar as Mo } from "./index41.js";
41
+ import { GetStartedWidget as Fo } from "./index42.js";
42
+ import { MessageBar as Ro } from "./index43.js";
43
+ import { ToastBar as wo } from "./index44.js";
44
+ import { AutoCompleteInput as yo } from "./index45.js";
45
+ import { PhoneInput as Go } from "./index46.js";
46
+ import { CircularProgressBar as Eo } from "./index47.js";
47
+ import { Avatar as No } from "./index48.js";
48
+ import { NavigationBar as qo } from "./index49.js";
49
+ import { BreadCrumbs as Jo } from "./index50.js";
50
+ import { DatePicker as Uo } from "./index51.js";
51
+ import { InputWithIcon as Xo } from "./index52.js";
52
+ import { DownloadWidget as Zo } from "./index53.js";
53
+ import { RadioSwitch as $o } from "./index54.js";
54
+ import { ShimmerLoader as rr } from "./index55.js";
55
+ import { Snackbar as tr } from "./index56.js";
56
+ import { OTPInput as mr } from "./index57.js";
57
+ import { InfoBar as fr } from "./index58.js";
58
+ import { BottomSheet as nr } from "./index59.js";
59
+ import { TimePicker as sr } from "./index60.js";
60
+ import { InfoTooltip as dr } from "./index61.js";
61
+ import { OnboardingTour as lr } from "./index62.js";
62
+ import { GuidedTour as br } from "./index63.js";
63
+ import { Link as Br } from "./index64.js";
64
+ import { Paywall as Pr } from "./index65.js";
65
+ import { getRegionAttributes as Cr } from "./index66.js";
66
+ import { useAccessiblePress as Ar } from "./index67.js";
67
+ import { useCombobox as Mr } from "./index68.js";
68
+ import { useFocusManagement as Fr } from "./index69.js";
69
+ import { useRovingFocus as Rr } from "./index70.js";
68
70
  import "react";
69
- import { getTabId as Wr, getTabPanelProps as vr } from "./index69.js";
71
+ import { getFirstFocusableElement as wr } from "./index71.js";
72
+ import { consumeFocusAnchor as yr, setFocusAnchor as Or } from "./index72.js";
73
+ import { getTabId as Hr, getTabPanelProps as Er } from "./index73.js";
74
+ import { useFocusOnReady as Nr } from "./index74.js";
70
75
  export {
71
- so as Accordion,
72
- Do as AutoCompleteInput,
73
- Ko as Avatar,
74
- c as Badge,
75
- eo as Banner,
76
- xr as BottomSheet,
77
- zo as BreadCrumbs,
78
- p as Button,
79
- q as Checkbox,
80
- Oo as CircularProgressBar,
81
- E as ColorCodedLabel,
82
- lo as CustomAccordion,
83
- h as CustomModal,
84
- Jo as DatePicker,
85
- Xo as DownloadWidget,
86
- Q as Dropdown,
87
- Bo as DropdownWithInputTags,
88
- f as FilePicker,
89
- ko as GetStartedWidget,
90
- lr as GuidedTour,
91
- H as HamburgerMenu,
92
- G as Header,
93
- a as Icon,
94
- mr as InfoBar,
95
- ur as InfoTooltip,
96
- Po as Input,
97
- Uo as InputWithIcon,
98
- bo as InputWithTags,
99
- V as KebabMenu,
100
- T as LabelChip,
101
- br as Link,
102
- S as LoadingModal,
103
- v as MenuItem,
104
- R as MenuList,
105
- Wo as MessageBar,
106
- I as Modal,
107
- jo as NavigationBar,
108
- tr as OTPInput,
109
- sr as OnboardingTour,
110
- po as Pagination,
111
- Br as Paywall,
112
- Fo as PhoneInput,
113
- y as Popover,
114
- Lo as ProgressBar,
115
- ao as Radio,
116
- io as RadioGroup,
117
- Zo as RadioSwitch,
118
- Co as SearchBox,
119
- $o as ShimmerLoader,
120
- _ as SidebarOverlay,
121
- i as SkipLinksBar,
122
- rr as Snackbar,
123
- M as Spinner,
124
- d as SplitButton,
125
- Y as TableContentLoader,
126
- N as TableLayout,
127
- oo as Tabs,
128
- nr as TimePicker,
76
+ p as AccessibleDiv,
77
+ lo as Accordion,
78
+ yo as AutoCompleteInput,
79
+ No as Avatar,
80
+ T as Badge,
81
+ po as Banner,
82
+ nr as BottomSheet,
83
+ Jo as BreadCrumbs,
84
+ x as Button,
85
+ z as Checkbox,
86
+ Eo as CircularProgressBar,
87
+ Q as ColorCodedLabel,
88
+ bo as CustomAccordion,
89
+ S as CustomModal,
90
+ Uo as DatePicker,
91
+ Zo as DownloadWidget,
92
+ V as Dropdown,
93
+ Po as DropdownWithInputTags,
94
+ a as FilePicker,
95
+ Fo as GetStartedWidget,
96
+ br as GuidedTour,
97
+ K as HamburgerMenu,
98
+ H as Header,
99
+ i as Icon,
100
+ fr as InfoBar,
101
+ dr as InfoTooltip,
102
+ Co as Input,
103
+ Xo as InputWithIcon,
104
+ Bo as InputWithTags,
105
+ Y as KebabMenu,
106
+ I as LabelChip,
107
+ Br as Link,
108
+ L as LoadingModal,
109
+ W as MenuItem,
110
+ D as MenuList,
111
+ Ro as MessageBar,
112
+ h as Modal,
113
+ qo as NavigationBar,
114
+ mr as OTPInput,
115
+ lr as OnboardingTour,
116
+ xo as Pagination,
117
+ Pr as Paywall,
118
+ Go as PhoneInput,
119
+ O as Popover,
120
+ Mo as ProgressBar,
121
+ io as Radio,
122
+ uo as RadioGroup,
123
+ $o as RadioSwitch,
124
+ Ao as SearchBox,
125
+ rr as ShimmerLoader,
126
+ oo as SidebarOverlay,
127
+ u as SkipLinksBar,
128
+ tr as Snackbar,
129
+ k as Spinner,
130
+ c as SplitButton,
131
+ _ as TableContentLoader,
132
+ j as TableLayout,
133
+ eo as Tabs,
134
+ sr as TimePicker,
129
135
  wo as ToastBar,
130
136
  g as Toggle,
131
- A as Tooltip,
132
- fo as Widget,
133
- Pr as getRegionAttributes,
134
- Wr as getTabId,
135
- vr as getTabPanelProps,
136
- Cr as useAccessiblePress,
137
- Lr as useFocusManagement,
138
- kr as useRovingFocus
137
+ v as Tooltip,
138
+ ao as Widget,
139
+ yr as consumeFocusAnchor,
140
+ wr as getFirstFocusableElement,
141
+ Cr as getRegionAttributes,
142
+ Hr as getTabId,
143
+ Er as getTabPanelProps,
144
+ Or as setFocusAnchor,
145
+ Ar as useAccessiblePress,
146
+ Mr as useCombobox,
147
+ Fr as useFocusManagement,
148
+ Nr as useFocusOnReady,
149
+ Rr as useRovingFocus
139
150
  };
140
151
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index10.js CHANGED
@@ -1,66 +1,30 @@
1
- import r from "react";
2
- import { Icon as $ } from "./index5.js";
3
- function i() {
4
- return i = Object.assign ? Object.assign.bind() : function(e) {
5
- for (var n = 1; n < arguments.length; n++) {
6
- var o = arguments[n];
7
- for (var t in o) ({}).hasOwnProperty.call(o, t) && (e[t] = o[t]);
8
- }
9
- return e;
10
- }, i.apply(null, arguments);
11
- }
12
- const w = (e) => {
1
+ import c from "react";
2
+ const b = (a) => {
13
3
  const {
14
- label: n,
15
- icon: o,
16
- iconPosition: t = "right",
17
- iconRotation: d = "0",
18
- textTransform: g = "none",
19
- textColor: p = "var(--color-gray-700)",
20
- bgColor: u = "var(--color-blue-300)",
21
- iconColor: l,
22
- fontWeight: f = "",
23
- size: s = "md",
24
- onClick: c,
25
- onIconClick: x,
26
- className: b,
27
- disabled: a,
28
- automationId: C = "",
29
- id: h
30
- } = e, v = {
31
- sm: "px-1 py-0.5",
32
- md: "px-1.5 py-0.5",
33
- lg: "px-1.5 py-0.5"
34
- }, y = {
35
- sm: "text-xs leading-5 font-normal leading-5",
36
- md: "text-sm leading-5 font-normal leading-5",
37
- lg: "text-base leading-5 font-normal leading-5"
38
- }, m = (k) => /* @__PURE__ */ r.createElement($, i({
39
- name: k,
40
- className: "transition-transform duration-200",
41
- rotation: d,
42
- onClick: a ? void 0 : x,
43
- shouldStopPropagation: !0
44
- }, l ? {
45
- fill: l,
46
- stroke: l
47
- } : {}));
48
- return /* @__PURE__ */ r.createElement("div", {
49
- id: h,
50
- className: `se-design-label-chip text-[var(--color-gray-700)] w-fit flex items-center gap-1 text-base font-normal rounded-[6px] leading-4 ${c && !a ? "cursor-pointer" : ""} ${v[s]} ${b} ${a ? "opacity-50 cursor-not-allowed" : ""}`,
4
+ label: e,
5
+ className: o,
6
+ textColor: t = "var(--color-gray-700)",
7
+ bgColor: r = "var(--color-blue-300)",
8
+ textTransform: l = "none",
9
+ fontWeight: n = "",
10
+ automationId: d = "",
11
+ ariaLabel: i,
12
+ id: s
13
+ } = a;
14
+ return /* @__PURE__ */ c.createElement("span", {
15
+ className: `se-design-badge inline-block px-1 text-sm rounded leading-5 ${o}`,
51
16
  style: {
52
- color: p,
53
- backgroundColor: u,
54
- textTransform: g,
55
- fontWeight: f
17
+ color: t,
18
+ backgroundColor: r,
19
+ textTransform: l,
20
+ fontWeight: n
56
21
  },
57
- onClick: a ? void 0 : c,
58
- "data-automation-id": C
59
- }, t === "left" && o && m(o), /* @__PURE__ */ r.createElement("span", {
60
- className: `chip-label inline-block ${y[s]}`
61
- }, n), t === "right" && o && m(o));
22
+ "data-automation-id": d,
23
+ "aria-label": i,
24
+ id: s
25
+ }, e);
62
26
  };
63
27
  export {
64
- w as LabelChip
28
+ b as Badge
65
29
  };
66
30
  //# sourceMappingURL=index10.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index10.js","sources":["../src/components/LabelChip/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { Icon } from 'components/Icon';\n\ntype LabelChipProps = {\n label: string;\n icon?: string;\n iconPosition?: 'left' | 'right';\n iconRotation?: '0' | '90' | '180' | '270';\n textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';\n textColor?: string;\n bgColor?: string;\n fontWeight?: 'bold' | 'normal';\n size?: 'sm' | 'md' | 'lg';\n onClick?: () => void;\n onIconClick?: () => void;\n className?: string;\n disabled?: boolean;\n iconColor?: string;\n automationId?: string;\n id?: string;\n};\n\nexport const LabelChip: FC<LabelChipProps> = (props) => {\n const {\n label,\n icon,\n iconPosition = 'right',\n iconRotation = '0',\n textTransform = 'none',\n textColor = 'var(--color-gray-700)',\n bgColor = 'var(--color-blue-300)',\n iconColor,\n fontWeight = '',\n size = 'md',\n onClick,\n onIconClick,\n className,\n disabled,\n automationId = '',\n id\n } = props;\n\n const sizeClasses = {\n sm: 'px-1 py-0.5',\n md: 'px-1.5 py-0.5',\n lg: 'px-1.5 py-0.5'\n };\n const labelClasses = {\n sm: 'text-xs leading-5 font-normal leading-5',\n md: 'text-sm leading-5 font-normal leading-5',\n lg: 'text-base leading-5 font-normal leading-5'\n };\n\n const getIconJsx = (icon: string) => {\n return (\n <Icon\n name={icon}\n className={`transition-transform duration-200`}\n rotation={iconRotation}\n onClick={disabled ? undefined : onIconClick}\n shouldStopPropagation={true}\n {...(iconColor ? { fill: iconColor, stroke: iconColor } : {})}\n />\n );\n };\n\n return (\n <div\n id={id}\n className={`se-design-label-chip text-[var(--color-gray-700)] w-fit flex items-center gap-1 text-base font-normal rounded-[6px] leading-4 ${onClick && !disabled ? 'cursor-pointer' : ''} ${sizeClasses[size]} ${className} ${disabled ? 'opacity-50 cursor-not-allowed' : ''}`}\n style={{ color: textColor, backgroundColor: bgColor, textTransform, fontWeight }}\n onClick={disabled ? undefined : onClick}\n data-automation-id={automationId}\n >\n {iconPosition === 'left' && icon && getIconJsx(icon)}\n <span className={`chip-label inline-block ${labelClasses[size]}`}>{label}</span>\n {iconPosition === 'right' && icon && getIconJsx(icon)}\n </div>\n );\n};\n"],"names":["LabelChip","props","label","icon","iconPosition","iconRotation","textTransform","textColor","bgColor","iconColor","fontWeight","size","onClick","onIconClick","className","disabled","automationId","id","sizeClasses","sm","md","lg","labelClasses","getIconJsx","React","createElement","Icon","_extends","name","rotation","undefined","shouldStopPropagation","fill","stroke","style","color","backgroundColor"],"mappings":";;;;;;;;;;;AAsBO,MAAMA,IAAiCC,CAAUA,MAAA;AAChD,QAAA;AAAA,IACJC,OAAAA;AAAAA,IACAC,MAAAA;AAAAA,IACAC,cAAAA,IAAe;AAAA,IACfC,cAAAA,IAAe;AAAA,IACfC,eAAAA,IAAgB;AAAA,IAChBC,WAAAA,IAAY;AAAA,IACZC,SAAAA,IAAU;AAAA,IACVC,WAAAA;AAAAA,IACAC,YAAAA,IAAa;AAAA,IACbC,MAAAA,IAAO;AAAA,IACPC,SAAAA;AAAAA,IACAC,aAAAA;AAAAA,IACAC,WAAAA;AAAAA,IACAC,UAAAA;AAAAA,IACAC,cAAAA,IAAe;AAAA,IACfC,IAAAA;AAAAA,EACEhB,IAAAA,GAEEiB,IAAc;AAAA,IAClBC,IAAI;AAAA,IACJC,IAAI;AAAA,IACJC,IAAI;AAAA,EAAA,GAEAC,IAAe;AAAA,IACnBH,IAAI;AAAA,IACJC,IAAI;AAAA,IACJC,IAAI;AAAA,EAAA,GAGAE,IAAaA,CAACpB,MAEhBqB,gBAAAA,EAAAC,cAACC,GAAIC,EAAA;AAAA,IACHC,MAAMzB;AAAAA,IACNW,WAAW;AAAA,IACXe,UAAUxB;AAAAA,IACVO,SAASG,IAAWe,SAAYjB;AAAAA,IAChCkB,uBAAuB;AAAA,KAClBtB,IAAY;AAAA,IAAEuB,MAAMvB;AAAAA,IAAWwB,QAAQxB;AAAAA,EAAAA,IAAc,CAAA,CAAE,CAC7D;AAKHe,SAAAA,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACER,IAAAA;AAAAA,IACAH,WAAW,iIAAiIF,KAAW,CAACG,IAAW,mBAAmB,EAAE,IAAIG,EAAYP,CAAI,CAAC,IAAIG,CAAS,IAAIC,IAAW,kCAAkC,EAAE;AAAA,IAC7QmB,OAAO;AAAA,MAAEC,OAAO5B;AAAAA,MAAW6B,iBAAiB5B;AAAAA,MAASF,eAAAA;AAAAA,MAAeI,YAAAA;AAAAA,IAAW;AAAA,IAC/EE,SAASG,IAAWe,SAAYlB;AAAAA,IAChC,sBAAoBI;AAAAA,EAAAA,GAEnBZ,MAAiB,UAAUD,KAAQoB,EAAWpB,CAAI,GACnDsB,gBAAAA,EAAAA,cAAA,QAAA;AAAA,IAAMX,WAAW,2BAA2BQ,EAAaX,CAAI,CAAC;AAAA,EAAA,GAAKT,CAAY,GAC9EE,MAAiB,WAAWD,KAAQoB,EAAWpB,CAAI,CACjD;AAET;"}
1
+ {"version":3,"file":"index10.js","sources":["../src/components/Badge/index.tsx"],"sourcesContent":["import React, { FC } from 'react';\n\ntype BadgeProps = {\n label: string;\n textColor?: string;\n bgColor?: string;\n className?: string;\n textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';\n fontWeight?: 'bold' | 'normal';\n automationId?: string;\n ariaLabel?: string;\n id?: string;\n};\n\nexport const Badge: FC<BadgeProps> = (props) => {\n const { label, className, textColor = 'var(--color-gray-700)', bgColor = 'var(--color-blue-300)', textTransform = 'none', fontWeight = '', automationId = '', ariaLabel, id } = props;\n return (\n <span className={`se-design-badge inline-block px-1 text-sm rounded leading-5 ${className}`} style={{ color: textColor, backgroundColor: bgColor, textTransform, fontWeight }} data-automation-id={automationId} aria-label={ariaLabel} id={id}>\n {label}\n </span>\n );\n};\n"],"names":["React__default","Badge","props","label","className","textColor","bgColor","textTransform","fontWeight","automationId","ariaLabel","id","React","createElement","style","color","backgroundColor"],"mappings":"AAcO,OAAAA,OAAA;AAAA,MAAMC,IAAyBC,CAAAA,MAAU;AAC9C,QAAM;AAAA,IAAEC,OAAAA;AAAAA,IAAOC,WAAAA;AAAAA,IAAWC,WAAAA,IAAY;AAAA,IAAyBC,SAAAA,IAAU;AAAA,IAAyBC,eAAAA,IAAgB;AAAA,IAAQC,YAAAA,IAAa;AAAA,IAAIC,cAAAA,IAAe;AAAA,IAAIC,WAAAA;AAAAA,IAAWC,IAAAA;AAAAA,EAAAA,IAAOT;AAChL,SACEU,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMT,WAAW,+DAA+DA,CAAS;AAAA,IAAIU,OAAO;AAAA,MAAEC,OAAOV;AAAAA,MAAWW,iBAAiBV;AAAAA,MAASC,eAAAA;AAAAA,MAAeC,YAAAA;AAAAA,IAAAA;AAAAA,IAAc,sBAAoBC;AAAAA,IAAc,cAAYC;AAAAA,IAAWC,IAAAA;AAAAA,EAAAA,GACrOR,CACG;AAEV;"}
package/dist/index100.js CHANGED
@@ -1,4 +1,4 @@
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='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%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='M0%204C0%201.79086%201.79086%200%204%200H12C14.2091%200%2016%201.79086%2016%204V12C16%2014.2091%2014.2091%2016%2012%2016H4C1.79086%2016%200%2014.2091%200%2012V4Z'%20fill='%2300539E'/%3e%3cpath%20d='M11.8082%205.5L6.89749%2010.5L4.66534%208.22727'%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":"index100.js","sources":["../src/assets/icons/close.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='M14.5455%205.45454L5.45456%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.45456%205.45454L14.5455%2014.5455'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_27"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index100.js","sources":["../src/assets/icons/checkbox-hover-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='M0%204C0%201.79086%201.79086%200%204%200H12C14.2091%200%2016%201.79086%2016%204V12C16%2014.2091%2014.2091%2016%2012%2016H4C1.79086%2016%200%2014.2091%200%2012V4Z'%20fill='%2300539E'/%3e%3cpath%20d='M11.8082%205.5L6.89749%2010.5L4.66534%208.22727'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_20"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index101.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%3crect%20x='1'%20y='2.5'%20width='14'%20height='11'%20rx='1.5'%20stroke='%23111111'%20stroke-width='1.2'%20/%3e%3cline%20x1='9.5'%20y1='2.5'%20x2='9.5'%20y2='13.5'%20stroke='%23111111'%20stroke-width='1.2'%20/%3e%3cpath%20d='M11.25%206.75L12.25%209.25L13.25%206.75'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M3%208H7.5'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20/%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='M0%204C0%201.79086%201.79086%200%204%200H12C14.2091%200%2016%201.79086%2016%204V12C16%2014.2091%2014.2091%2016%2012%2016H4C1.79086%2016%200%2014.2091%200%2012V4Z'%20fill='%230C6FC4'/%3e%3cpath%20d='M12%208H4'%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":"index101.js","sources":["../src/assets/icons/combobox-field.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%3crect%20x='1'%20y='2.5'%20width='14'%20height='11'%20rx='1.5'%20stroke='%23111111'%20stroke-width='1.2'%20/%3e%3cline%20x1='9.5'%20y1='2.5'%20x2='9.5'%20y2='13.5'%20stroke='%23111111'%20stroke-width='1.2'%20/%3e%3cpath%20d='M11.25%206.75L12.25%209.25L13.25%206.75'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M3%208H7.5'%20stroke='%23111111'%20stroke-width='1.2'%20stroke-linecap='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_28"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index101.js","sources":["../src/assets/icons/checkbox-minus.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='M0%204C0%201.79086%201.79086%200%204%200H12C14.2091%200%2016%201.79086%2016%204V12C16%2014.2091%2014.2091%2016%2012%2016H4C1.79086%2016%200%2014.2091%200%2012V4Z'%20fill='%230C6FC4'/%3e%3cpath%20d='M12%208H4'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_21"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index102.js CHANGED
@@ -1,5 +1,5 @@
1
- const C = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_13931_83451)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.57332%201.46027C2.4182%201.39602%202.24752%201.37921%202.08284%201.41196C1.91818%201.44472%201.76692%201.52556%201.64819%201.64429C1.52947%201.76301%201.44862%201.91427%201.41586%202.07894C1.38311%202.24361%201.39992%202.41429%201.46417%202.56941C1.52842%202.72453%201.63723%202.85711%201.77683%202.95038C1.91643%203.04366%202.08056%203.09345%202.24846%203.09345H3.09736V2.24455C3.09736%202.07666%203.04756%201.91252%202.95429%201.77293C2.86102%201.63332%202.72843%201.52452%202.57332%201.46027ZM4.16879%203.09345V2.24455C4.16879%201.86474%204.05616%201.49346%203.84515%201.17767C3.63414%200.861879%203.33423%200.615741%202.98333%200.470396C2.63244%200.325051%202.24632%200.287022%201.87382%200.361118C1.50131%200.435214%201.15914%200.618108%200.890574%200.886667C0.622014%201.15524%200.439121%201.49741%200.365024%201.86991C0.290928%202.24242%200.328957%202.62854%200.474302%202.97942C0.619647%203.33032%200.865785%203.63024%201.18157%203.84125C1.49737%204.05225%201.86865%204.16488%202.24846%204.16488H3.09736V7.8407H2.24846C1.86865%207.8407%201.49737%207.95333%201.18157%208.16433C0.865785%208.37534%200.619647%208.67528%200.474302%209.02619C0.328957%209.37702%200.290928%209.76316%200.365024%2010.1357C0.439121%2010.5082%200.622014%2010.8504%200.890574%2011.1189C1.15914%2011.3874%201.50131%2011.5704%201.87382%2011.6445C2.24632%2011.7186%202.63244%2011.6805%202.98333%2011.5352C3.33423%2011.3898%203.63414%2011.1437%203.84515%2010.8279C4.05616%2010.5121%204.16879%2010.1408%204.16879%209.76102V8.9121H7.84461V9.76102C7.84461%2010.1408%207.95724%2010.5121%208.16824%2010.8279C8.37925%2011.1437%208.67918%2011.3898%209.0301%2011.5352C9.38093%2011.6805%209.76707%2011.7186%2010.1396%2011.6445C10.5121%2011.5704%2010.8543%2011.3874%2011.1228%2011.1189C11.3914%2010.8504%2011.5743%2010.5082%2011.6484%2010.1357C11.7225%209.76316%2011.6844%209.37702%2011.5391%209.02619C11.3938%208.67528%2011.1476%208.37534%2010.8318%208.16433C10.516%207.95333%2010.1447%207.8407%209.76493%207.8407H8.91601V4.16488H9.76493C10.1447%204.16488%2010.516%204.05225%2010.8318%203.84125C11.1476%203.63024%2011.3938%203.33032%2011.5391%202.97942C11.6844%202.62854%2011.7225%202.24242%2011.6484%201.86991C11.5743%201.49741%2011.3914%201.15524%2011.1228%200.886667C10.8543%200.618107%2010.5121%200.435214%2010.1396%200.361118C9.76707%200.287022%209.38093%200.325051%209.0301%200.470396C8.67918%200.615741%208.37925%200.861879%208.16824%201.17767C7.95724%201.49346%207.84461%201.86474%207.84461%202.24455V3.09345H4.16879ZM4.16879%204.16488V7.8407H7.84461V4.16488H4.16879ZM8.91601%203.09345H9.76493C9.93284%203.09345%2010.097%203.04366%2010.2365%202.95038C10.3762%202.85711%2010.485%202.72453%2010.5492%202.56941C10.6135%202.41429%2010.6303%202.24361%2010.5976%202.07894C10.5648%201.91426%2010.4839%201.76301%2010.3652%201.64429C10.2465%201.52556%2010.0952%201.44472%209.93052%201.41196C9.76587%201.37921%209.59521%201.39602%209.44007%201.46027C9.28493%201.52452%209.15241%201.63332%209.05907%201.77293C8.96581%201.91253%208.91601%202.07666%208.91601%202.24455V3.09345ZM8.91601%208.9121V9.76102C8.91601%209.92893%208.96581%2010.0931%209.05907%2010.2326C9.15241%2010.3722%209.28493%2010.4811%209.44007%2010.5453C9.59521%2010.6096%209.76587%2010.6264%209.93052%2010.5936C10.0952%2010.5609%2010.2465%2010.48%2010.3652%2010.3613C10.4839%2010.2426%2010.5648%2010.0913%2010.5976%209.92662C10.6303%209.76196%2010.6135%209.5913%2010.5492%209.43616C10.485%209.28102%2010.3762%209.1485%2010.2365%209.05516C10.097%208.9619%209.93284%208.9121%209.76493%208.9121H8.91601ZM3.09736%208.9121H2.24846C2.08056%208.9121%201.91644%208.9619%201.77683%209.05516C1.63723%209.1485%201.52842%209.28102%201.46417%209.43616C1.39992%209.5913%201.38311%209.76196%201.41586%209.92662C1.44862%2010.0913%201.52947%2010.2426%201.64819%2010.3613C1.76692%2010.48%201.91817%2010.5609%202.08284%2010.5936C2.24752%2010.6264%202.4182%2010.6096%202.57332%2010.5453C2.72843%2010.4811%202.86102%2010.3722%202.95429%2010.2326C3.04756%2010.0931%203.09736%209.92893%203.09736%209.76102V8.9121Z'%20fill='currentColor'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_13931_83451'%3e%3crect%20width='12'%20height='12'%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='M0%204C0%201.79086%201.79086%200%204%200H12C14.2091%200%2016%201.79086%2016%204V12C16%2014.2091%2014.2091%2016%2012%2016H4C1.79086%2016%200%2014.2091%200%2012V4Z'%20fill='%230C6FC4'/%3e%3cpath%20d='M11.8082%205.5L6.89749%2010.5L4.66534%208.22727'%20stroke='white'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
- C as default
3
+ e as default
4
4
  };
5
5
  //# sourceMappingURL=index102.js.map