se-design 1.0.72 → 1.0.73-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 (330) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/assets/typographyMixin.scss +8 -0
  3. package/dist/components/BreadCrumbs/index.d.ts +3 -1
  4. package/dist/components/CustomAccordion/index.d.ts +3 -0
  5. package/dist/components/Icon/index.d.ts +7 -7
  6. package/dist/components/NavigationBar/TabButton.d.ts +1 -1
  7. package/dist/components/Pagination/index.d.ts +1 -0
  8. package/dist/components/Popover/index.d.ts +2 -2
  9. package/dist/components/TableLayout/index.d.ts +4 -0
  10. package/dist/components/Tabs/index.d.ts +6 -1
  11. package/dist/index.js +132 -128
  12. package/dist/index.js.map +1 -1
  13. package/dist/index100.js +1 -1
  14. package/dist/index100.js.map +1 -1
  15. package/dist/index101.js +2 -2
  16. package/dist/index101.js.map +1 -1
  17. package/dist/index102.js +1 -1
  18. package/dist/index102.js.map +1 -1
  19. package/dist/index103.js +1 -1
  20. package/dist/index103.js.map +1 -1
  21. package/dist/index104.js +2 -2
  22. package/dist/index104.js.map +1 -1
  23. package/dist/index105.js +1 -1
  24. package/dist/index105.js.map +1 -1
  25. package/dist/index106.js +2 -2
  26. package/dist/index106.js.map +1 -1
  27. package/dist/index107.js +1 -1
  28. package/dist/index107.js.map +1 -1
  29. package/dist/index108.js +1 -1
  30. package/dist/index108.js.map +1 -1
  31. package/dist/index109.js +1 -1
  32. package/dist/index109.js.map +1 -1
  33. package/dist/index110.js +2 -2
  34. package/dist/index110.js.map +1 -1
  35. package/dist/index111.js +1 -1
  36. package/dist/index111.js.map +1 -1
  37. package/dist/index112.js +2 -2
  38. package/dist/index112.js.map +1 -1
  39. package/dist/index113.js +2 -2
  40. package/dist/index113.js.map +1 -1
  41. package/dist/index114.js +1 -1
  42. package/dist/index114.js.map +1 -1
  43. package/dist/index115.js +2 -2
  44. package/dist/index115.js.map +1 -1
  45. package/dist/index116.js +2 -2
  46. package/dist/index116.js.map +1 -1
  47. package/dist/index117.js +1 -1
  48. package/dist/index117.js.map +1 -1
  49. package/dist/index118.js +1 -1
  50. package/dist/index118.js.map +1 -1
  51. package/dist/index119.js +1 -1
  52. package/dist/index119.js.map +1 -1
  53. package/dist/index120.js +2 -2
  54. package/dist/index120.js.map +1 -1
  55. package/dist/index121.js +2 -2
  56. package/dist/index121.js.map +1 -1
  57. package/dist/index122.js +2 -2
  58. package/dist/index122.js.map +1 -1
  59. package/dist/index123.js +1 -1
  60. package/dist/index123.js.map +1 -1
  61. package/dist/index124.js +1 -1
  62. package/dist/index124.js.map +1 -1
  63. package/dist/index125.js +1 -1
  64. package/dist/index125.js.map +1 -1
  65. package/dist/index126.js +1 -1
  66. package/dist/index126.js.map +1 -1
  67. package/dist/index127.js +1 -1
  68. package/dist/index127.js.map +1 -1
  69. package/dist/index128.js +1 -1
  70. package/dist/index128.js.map +1 -1
  71. package/dist/index129.js +1 -1
  72. package/dist/index129.js.map +1 -1
  73. package/dist/index130.js +1 -1
  74. package/dist/index130.js.map +1 -1
  75. package/dist/index131.js +2 -2
  76. package/dist/index131.js.map +1 -1
  77. package/dist/index132.js +2 -2
  78. package/dist/index132.js.map +1 -1
  79. package/dist/index133.js +1 -1
  80. package/dist/index133.js.map +1 -1
  81. package/dist/index134.js +1 -1
  82. package/dist/index134.js.map +1 -1
  83. package/dist/index135.js +1 -1
  84. package/dist/index135.js.map +1 -1
  85. package/dist/index136.js +1 -1
  86. package/dist/index136.js.map +1 -1
  87. package/dist/index137.js +1 -1
  88. package/dist/index137.js.map +1 -1
  89. package/dist/index138.js +1 -1
  90. package/dist/index138.js.map +1 -1
  91. package/dist/index139.js +1 -1
  92. package/dist/index139.js.map +1 -1
  93. package/dist/index140.js +2 -2
  94. package/dist/index140.js.map +1 -1
  95. package/dist/index141.js +1 -1
  96. package/dist/index141.js.map +1 -1
  97. package/dist/index142.js +2 -2
  98. package/dist/index142.js.map +1 -1
  99. package/dist/index143.js +2 -2
  100. package/dist/index143.js.map +1 -1
  101. package/dist/index144.js +2 -2
  102. package/dist/index144.js.map +1 -1
  103. package/dist/index145.js +2 -2
  104. package/dist/index145.js.map +1 -1
  105. package/dist/index146.js +1 -1
  106. package/dist/index146.js.map +1 -1
  107. package/dist/index147.js +1 -1
  108. package/dist/index147.js.map +1 -1
  109. package/dist/index148.js +1 -1
  110. package/dist/index148.js.map +1 -1
  111. package/dist/index149.js +1 -1
  112. package/dist/index149.js.map +1 -1
  113. package/dist/index15.js +2 -2
  114. package/dist/index150.js +1 -1
  115. package/dist/index150.js.map +1 -1
  116. package/dist/index151.js +1 -1
  117. package/dist/index151.js.map +1 -1
  118. package/dist/index152.js +1 -1
  119. package/dist/index152.js.map +1 -1
  120. package/dist/index153.js +1 -1
  121. package/dist/index153.js.map +1 -1
  122. package/dist/index154.js +1 -1
  123. package/dist/index154.js.map +1 -1
  124. package/dist/index155.js +1 -1
  125. package/dist/index155.js.map +1 -1
  126. package/dist/index156.js +1 -1
  127. package/dist/index156.js.map +1 -1
  128. package/dist/index157.js +1 -1
  129. package/dist/index157.js.map +1 -1
  130. package/dist/index158.js +1 -1
  131. package/dist/index158.js.map +1 -1
  132. package/dist/index159.js +1 -1
  133. package/dist/index159.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/index170.js +2 -2
  155. package/dist/index170.js.map +1 -1
  156. package/dist/index171.js +2 -2
  157. package/dist/index171.js.map +1 -1
  158. package/dist/index172.js +1 -1
  159. package/dist/index172.js.map +1 -1
  160. package/dist/index173.js +1 -1
  161. package/dist/index173.js.map +1 -1
  162. package/dist/index174.js +2 -2
  163. package/dist/index174.js.map +1 -1
  164. package/dist/index175.js +2 -2
  165. package/dist/index175.js.map +1 -1
  166. package/dist/index176.js +1 -1
  167. package/dist/index176.js.map +1 -1
  168. package/dist/index177.js +1 -1
  169. package/dist/index177.js.map +1 -1
  170. package/dist/index178.js +1 -1
  171. package/dist/index178.js.map +1 -1
  172. package/dist/index179.js +1 -1
  173. package/dist/index179.js.map +1 -1
  174. package/dist/index18.js +160 -156
  175. package/dist/index18.js.map +1 -1
  176. package/dist/index180.js +1 -1
  177. package/dist/index180.js.map +1 -1
  178. package/dist/index181.js +1 -1
  179. package/dist/index181.js.map +1 -1
  180. package/dist/index182.js +1 -1
  181. package/dist/index182.js.map +1 -1
  182. package/dist/index183.js +1 -1
  183. package/dist/index183.js.map +1 -1
  184. package/dist/index184.js +2 -2
  185. package/dist/index184.js.map +1 -1
  186. package/dist/index185.js +2 -2
  187. package/dist/index185.js.map +1 -1
  188. package/dist/index186.js +2 -2
  189. package/dist/index186.js.map +1 -1
  190. package/dist/index187.js +2 -149
  191. package/dist/index187.js.map +1 -1
  192. package/dist/index188.js +149 -9
  193. package/dist/index188.js.map +1 -1
  194. package/dist/index189.js +8 -5
  195. package/dist/index189.js.map +1 -1
  196. package/dist/index190.js +5 -4
  197. package/dist/index190.js.map +1 -1
  198. package/dist/index191.js +8 -0
  199. package/dist/index191.js.map +1 -0
  200. package/dist/{index193.js → index194.js} +1 -1
  201. package/dist/{index193.js.map → index194.js.map} +1 -1
  202. package/dist/{index195.js → index196.js} +3 -3
  203. package/dist/{index195.js.map → index196.js.map} +1 -1
  204. package/dist/{index197.js → index198.js} +1 -1
  205. package/dist/{index197.js.map → index198.js.map} +1 -1
  206. package/dist/{index205.js → index206.js} +1 -1
  207. package/dist/{index205.js.map → index206.js.map} +1 -1
  208. package/dist/index21.js +34 -30
  209. package/dist/index21.js.map +1 -1
  210. package/dist/{index213.js → index214.js} +1 -1
  211. package/dist/{index213.js.map → index214.js.map} +1 -1
  212. package/dist/index217.js +42 -42
  213. package/dist/index217.js.map +1 -1
  214. package/dist/index22.js +3 -3
  215. package/dist/index228.js +1 -1
  216. package/dist/index229.js +20 -52
  217. package/dist/index229.js.map +1 -1
  218. package/dist/index230.js +52 -20
  219. package/dist/index230.js.map +1 -1
  220. package/dist/index24.js +2 -2
  221. package/dist/index27.js +2 -2
  222. package/dist/index28.js +119 -60
  223. package/dist/index28.js.map +1 -1
  224. package/dist/index29.js +1 -1
  225. package/dist/index3.js +1 -1
  226. package/dist/index30.js +56 -41
  227. package/dist/index30.js.map +1 -1
  228. package/dist/index31.js +11 -10
  229. package/dist/index32.js +59 -44
  230. package/dist/index32.js.map +1 -1
  231. package/dist/index34.js +1 -1
  232. package/dist/index35.js +56 -49
  233. package/dist/index35.js.map +1 -1
  234. package/dist/index37.js +2 -2
  235. package/dist/index38.js +3 -3
  236. package/dist/index39.js +1 -1
  237. package/dist/index40.js +1 -1
  238. package/dist/index40.js.map +1 -1
  239. package/dist/index41.js +8 -7
  240. package/dist/index42.js +7 -6
  241. package/dist/index43.js +18 -18
  242. package/dist/index43.js.map +1 -1
  243. package/dist/index44.js +3 -3
  244. package/dist/index45.js +4 -4
  245. package/dist/index48.js +53 -56
  246. package/dist/index48.js.map +1 -1
  247. package/dist/index49.js +35 -25
  248. package/dist/index49.js.map +1 -1
  249. package/dist/index5.js +294 -307
  250. package/dist/index5.js.map +1 -1
  251. package/dist/index50.js +48 -48
  252. package/dist/index50.js.map +1 -1
  253. package/dist/index51.js +2 -2
  254. package/dist/index54.js +20 -19
  255. package/dist/index54.js.map +1 -1
  256. package/dist/index56.js +1 -1
  257. package/dist/index57.js +13 -9
  258. package/dist/index57.js.map +1 -1
  259. package/dist/index6.js +8 -7
  260. package/dist/index62.js +1 -1
  261. package/dist/index63.js +1 -1
  262. package/dist/index64.js +3 -2
  263. package/dist/index66.js +1 -1
  264. package/dist/index69.js +59 -5
  265. package/dist/index69.js.map +1 -1
  266. package/dist/index70.js +5 -9
  267. package/dist/index70.js.map +1 -1
  268. package/dist/index71.js +12 -0
  269. package/dist/index71.js.map +1 -0
  270. package/dist/index73.js +2 -2
  271. package/dist/index73.js.map +1 -1
  272. package/dist/index74.js +2 -2
  273. package/dist/index74.js.map +1 -1
  274. package/dist/index75.js +2 -2
  275. package/dist/index75.js.map +1 -1
  276. package/dist/index76.js +1 -1
  277. package/dist/index76.js.map +1 -1
  278. package/dist/index77.js +1 -1
  279. package/dist/index77.js.map +1 -1
  280. package/dist/index78.js +1 -1
  281. package/dist/index78.js.map +1 -1
  282. package/dist/index79.js +1 -1
  283. package/dist/index79.js.map +1 -1
  284. package/dist/index8.js +3 -3
  285. package/dist/index80.js +1 -1
  286. package/dist/index80.js.map +1 -1
  287. package/dist/index81.js +1 -1
  288. package/dist/index81.js.map +1 -1
  289. package/dist/index82.js +1 -1
  290. package/dist/index82.js.map +1 -1
  291. package/dist/index83.js +1 -1
  292. package/dist/index83.js.map +1 -1
  293. package/dist/index84.js +1 -1
  294. package/dist/index84.js.map +1 -1
  295. package/dist/index85.js +1 -1
  296. package/dist/index85.js.map +1 -1
  297. package/dist/index86.js +1 -1
  298. package/dist/index86.js.map +1 -1
  299. package/dist/index87.js +1 -1
  300. package/dist/index87.js.map +1 -1
  301. package/dist/index88.js +1 -1
  302. package/dist/index88.js.map +1 -1
  303. package/dist/index89.js +1 -1
  304. package/dist/index89.js.map +1 -1
  305. package/dist/index90.js +1 -1
  306. package/dist/index90.js.map +1 -1
  307. package/dist/index91.js +1 -1
  308. package/dist/index91.js.map +1 -1
  309. package/dist/index92.js +1 -1
  310. package/dist/index92.js.map +1 -1
  311. package/dist/index93.js +1 -1
  312. package/dist/index93.js.map +1 -1
  313. package/dist/index94.js +1 -1
  314. package/dist/index94.js.map +1 -1
  315. package/dist/index95.js +1 -1
  316. package/dist/index95.js.map +1 -1
  317. package/dist/index96.js +1 -1
  318. package/dist/index96.js.map +1 -1
  319. package/dist/index97.js +1 -1
  320. package/dist/index97.js.map +1 -1
  321. package/dist/index98.js +1 -1
  322. package/dist/index98.js.map +1 -1
  323. package/dist/index99.js +2 -2
  324. package/dist/index99.js.map +1 -1
  325. package/package.json +1 -1
  326. package/dist/components/NavigationBar/useTabsA11y.d.ts +0 -36
  327. package/dist/index216.js +0 -35
  328. package/dist/index216.js.map +0 -1
  329. package/dist/index72.js +0 -5
  330. package/dist/index72.js.map +0 -1
package/dist/index178.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_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%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%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%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":"index178.js","sources":["../src/assets/icons/tag.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_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_106"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index178.js","sources":["../src/assets/icons/success-check.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_105"],"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='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='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%3cg%20clip-path='url(%23clip0_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%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":"index179.js","sources":["../src/assets/icons/text-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%3cpath%20d='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_107"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"index179.js","sources":["../src/assets/icons/tag.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_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_106"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index18.js CHANGED
@@ -1,181 +1,185 @@
1
- import B, { forwardRef as ce, useState as A, useRef as G, useEffect as H, useImperativeHandle as ae } from "react";
2
- import le from "react-dom";
3
- import { getA11yNameAttributes as ue } from "./index70.js";
4
- import { useDismissOnFocusOut as fe } from "./index193.js";
5
- function F() {
6
- return F = Object.assign ? Object.assign.bind() : function(g) {
7
- for (var y = 1; y < arguments.length; y++) {
8
- var p = arguments[y];
9
- for (var h in p) ({}).hasOwnProperty.call(p, h) && (g[h] = p[h]);
1
+ import F, { forwardRef as at, useState as A, useRef as J, useEffect as H, useImperativeHandle as lt } from "react";
2
+ import ft from "react-dom";
3
+ import { getA11yNameAttributes as ut } from "./index71.js";
4
+ import { useDismissOnFocusOut as pt } from "./index194.js";
5
+ function O() {
6
+ return O = Object.assign ? Object.assign.bind() : function(y) {
7
+ for (var k = 1; k < arguments.length; k++) {
8
+ var p = arguments[k];
9
+ for (var h in p) ({}).hasOwnProperty.call(p, h) && (y[h] = p[h]);
10
10
  }
11
- return g;
12
- }, F.apply(null, arguments);
11
+ return y;
12
+ }, O.apply(null, arguments);
13
13
  }
14
- const ve = /* @__PURE__ */ ce(({
15
- className: g = "",
16
- automationId: y = "",
14
+ const B = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), wt = /* @__PURE__ */ at(({
15
+ className: y = "",
16
+ automationId: k = "",
17
17
  position: p = "bottom-center",
18
18
  popoverContentAutomationId: h = "",
19
19
  contentWidth: I = "max",
20
- renderPopoverContents: O,
21
- renderPopoverSrcElement: J,
22
- onPopoverToggle: C,
23
- isPopoverOpen: N,
24
- disabled: k = !1,
20
+ renderPopoverContents: N,
21
+ renderPopoverSrcElement: Q,
22
+ onPopoverToggle: K,
23
+ isPopoverOpen: q,
24
+ disabled: P = !1,
25
25
  isWithPortal: d = !1,
26
- ariaLabel: Q,
27
- ariaLabelledBy: W,
28
- sourceRole: j = "button",
29
- popoverContentStyleProperty: K = {
26
+ ariaLabel: W,
27
+ ariaLabelledBy: Y,
28
+ sourceRole: z = "button",
29
+ popoverContentStyleProperty: C = {
30
30
  zIndex: 1e3,
31
31
  borderColor: "var(--color-gray-200)",
32
32
  color: "var(--color-gray-900)",
33
33
  backgroundColor: "var(--color-white)"
34
34
  },
35
- disableClickToggle: D = !1,
36
- noBorder: Y = !1,
35
+ disableClickToggle: b = !1,
36
+ noBorder: Z = !1,
37
37
  disableAutoClose: m = !1,
38
- ...Z
39
- }, ee) => {
40
- const [s, u] = A(!1), [w, z] = A(p), [te, T] = A(!1), l = G(null), a = G(null), oe = ue({
41
- ariaLabel: Q,
42
- ariaLabelledBy: W,
38
+ ...tt
39
+ }, et) => {
40
+ const [s, f] = A(!1), [g, $] = A(p), [ot, j] = A(!1), l = J(null), c = J(null), nt = ut({
41
+ ariaLabel: W,
42
+ ariaLabelledBy: Y,
43
43
  ariaDescribedBy: void 0
44
44
  // Popover doesn't support describedBy yet
45
45
  }), {
46
- onBlurCapture: ne
47
- } = fe({
46
+ onBlurCapture: rt
47
+ } = pt({
48
48
  disabled: !s || m || d,
49
- onFocusOut: () => u(!1),
49
+ onFocusOut: () => f(!1),
50
50
  closeOnEscape: !1
51
- }), [$, P] = A({
51
+ }), [M, E] = A({
52
52
  top: 0,
53
53
  left: 0
54
- }), x = (e = "bottom-center") => {
54
+ }), x = (t = "bottom-center") => {
55
55
  if (!l.current) return {
56
56
  top: 0,
57
57
  left: 0
58
58
  };
59
- let o = e;
60
- const t = l.current.getBoundingClientRect(), r = window.innerWidth, c = window.innerHeight;
61
- let n = 0, i = 0;
59
+ let o = t;
60
+ const e = l.current.getBoundingClientRect(), i = window.innerWidth, a = window.innerHeight;
61
+ let n = 0, r = 0;
62
62
  switch (o) {
63
63
  case "bottom-left":
64
- n = t.bottom, i = t.left;
64
+ n = e.bottom, r = e.left;
65
65
  break;
66
66
  case "bottom-right":
67
- n = t.bottom, i = t.right - t.width * 0.5;
67
+ n = e.bottom, r = e.right - e.width * 0.5;
68
68
  break;
69
69
  case "bottom-center":
70
- n = t.bottom, i = t.left + t.width / 2;
70
+ n = e.bottom, r = e.left + e.width / 2;
71
71
  break;
72
72
  case "top-left":
73
- n = t.top - t.height * 1.9, i = t.left;
73
+ n = e.top - e.height * 1.9, r = e.left;
74
74
  break;
75
75
  case "top-right":
76
- n = t.top - t.height * 1.9, i = t.right - t.width * 0.5;
76
+ n = e.top - e.height * 1.9, r = e.right - e.width * 0.5;
77
77
  break;
78
78
  case "top-center":
79
- n = t.top - t.height * 1.9, i = t.left + t.width / 2;
79
+ n = e.top - e.height * 1.9, r = e.left + e.width / 2;
80
80
  break;
81
81
  default:
82
- n = t.bottom, i = t.left;
82
+ n = e.bottom, r = e.left;
83
83
  break;
84
84
  }
85
- const f = a.current?.getBoundingClientRect(), v = f?.width || 0, b = f?.height || 0;
86
- if ((o === "bottom-center" || o === "top-center") && (i = i - v / 2), i + v > r && (i = Math.max(0, r - v)), i < 0 && (i = 0), n + b > c) {
87
- const E = t.top, se = c - t.bottom;
88
- E >= b || E > se ? (n = t.top - b, n < 0 && (n = 0)) : n = Math.max(0, c - b);
85
+ const u = c.current?.getBoundingClientRect(), w = u?.width || 0, v = u?.height || 0;
86
+ if ((o === "bottom-center" || o === "top-center") && (r = r - w / 2), r + w > i && (r = Math.max(0, i - w)), r < 0 && (r = 0), n + v > a) {
87
+ const D = e.top, ct = a - e.bottom;
88
+ D >= v || D > ct ? (n = e.top - v, n < 0 && (n = 0)) : n = Math.max(0, a - v);
89
89
  }
90
- return n < 0 && (n = t.bottom, n + b > c && (n = Math.max(0, c - b))), {
90
+ return n < 0 && (n = e.bottom, n + v > a && (n = Math.max(0, a - v))), {
91
91
  top: n,
92
- left: i
92
+ left: r
93
93
  };
94
94
  };
95
95
  H(() => {
96
- if (C && C(s), s && !d)
97
- return m || document.body.addEventListener("click", q, !0), re(), () => {
98
- m || document.body.removeEventListener("click", q, !0);
96
+ if (K && K(s), s && !d)
97
+ return m || document.body.addEventListener("click", V, !0), it(), () => {
98
+ m || document.body.removeEventListener("click", V, !0);
99
99
  };
100
100
  if (s && d) {
101
- m ? window.addEventListener("scroll", V) : (document.body.addEventListener("click", S, !0), window.addEventListener("scroll", S)), window.addEventListener("resize", M);
102
- const e = setTimeout(() => {
103
- const t = x(w);
104
- R(), t && P(t);
101
+ m ? window.addEventListener("scroll", U) : (document.body.addEventListener("click", S, !0), window.addEventListener("scroll", S)), window.addEventListener("resize", T);
102
+ const t = setTimeout(() => {
103
+ const e = x(g);
104
+ R(), e && E(e);
105
105
  }, 0), o = setTimeout(() => {
106
- const t = x(w);
107
- t && P(t);
106
+ const e = x(g);
107
+ e && E(e);
108
108
  }, 10);
109
109
  return () => {
110
- m ? window.removeEventListener("scroll", V) : (document.body.removeEventListener("click", S, !0), window.removeEventListener("scroll", S)), window.removeEventListener("resize", M), clearTimeout(e), clearTimeout(o);
110
+ m ? window.removeEventListener("scroll", U) : (document.body.removeEventListener("click", S, !0), window.removeEventListener("scroll", S)), window.removeEventListener("resize", T), clearTimeout(t), clearTimeout(o);
111
111
  };
112
112
  }
113
113
  }, [s, d, m]);
114
114
  const R = () => {
115
115
  if (!l.current) {
116
- T(!1);
116
+ j(!1);
117
117
  return;
118
118
  }
119
- const e = l.current.getBoundingClientRect(), o = window.innerHeight, t = window.innerWidth, r = e.top < o && e.bottom > 0 && e.left < t && e.right > 0;
120
- T(r);
119
+ const t = l.current.getBoundingClientRect(), o = window.innerHeight, e = window.innerWidth, i = t.top < o && t.bottom > 0 && t.left < e && t.right > 0;
120
+ j(i);
121
121
  };
122
122
  H(() => {
123
- u(N ?? !1);
124
- }, [N]), H(() => {
125
- s && a.current && setTimeout(() => {
126
- const e = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), o = a.current?.querySelector(e);
127
- o && document.activeElement === l.current && o.focus();
123
+ f(q ?? !1);
124
+ }, [q]), H(() => {
125
+ s && c.current && setTimeout(() => {
126
+ const t = c.current?.querySelector(B);
127
+ t && document.activeElement === l.current && t.focus();
128
128
  }, 0);
129
129
  }, [s]);
130
- const re = () => {
131
- if (!a.current) return;
132
- const e = a.current.getBoundingClientRect(), o = window.innerHeight;
133
- e?.bottom > o ? z(p.includes("left") ? "top-left" : p.includes("right") ? "top-right" : "top-center") : e?.top < 0 && z(p.includes("left") ? "bottom-left" : p.includes("right") ? "bottom-right" : "bottom-center");
134
- }, q = (e) => {
130
+ const it = () => {
131
+ if (!c.current) return;
132
+ const t = c.current.getBoundingClientRect(), o = window.innerHeight;
133
+ t?.bottom > o ? $(p.includes("left") ? "top-left" : p.includes("right") ? "top-right" : "top-center") : t?.top < 0 && $(p.includes("left") ? "bottom-left" : p.includes("right") ? "bottom-right" : "bottom-center");
134
+ }, V = (t) => {
135
135
  const o = l.current;
136
136
  if (!o) return;
137
- const t = e.target, r = o.contains(t), c = a.current?.contains(t), i = t.closest?.(".se-design-popover-wrapper"), f = i && i !== o, v = a.current?.contains(i);
138
- m || (!r && !c || f && !v) && u(!1);
139
- }, S = (e) => {
140
- const o = l.current, t = a.current;
137
+ const e = t.target, i = o.contains(e), a = c.current?.contains(e), r = e.closest?.(".se-design-popover-wrapper"), u = r && r !== o, w = c.current?.contains(r);
138
+ m || (!i && !a || u && !w) && f(!1);
139
+ }, S = (t) => {
140
+ const o = l.current, e = c.current;
141
141
  if (!o) return;
142
- if (R(), e.type === "scroll" && s) {
143
- const E = x(w);
144
- E && P(E);
142
+ if (R(), t.type === "scroll" && s) {
143
+ const D = x(g);
144
+ D && E(D);
145
145
  }
146
- const r = e.target, c = o.contains(r), n = t?.contains(r), f = r.closest?.(".se-design-popover-wrapper"), v = f && f !== o, b = a.current?.contains(f);
147
- m || (!c && !n || v && !b) && u(!1);
148
- }, M = () => {
146
+ const i = t.target, a = o.contains(i), n = e?.contains(i), u = i.closest?.(".se-design-popover-wrapper"), w = u && u !== o, v = c.current?.contains(u);
147
+ m || (!a && !n || w && !v) && f(!1);
148
+ }, T = () => {
149
149
  if (s && d && l.current) {
150
150
  R();
151
- const e = x(w);
152
- e && P(e);
151
+ const t = x(g);
152
+ t && E(t);
153
153
  }
154
- }, V = () => {
154
+ }, U = () => {
155
155
  if (s && d && l.current) {
156
156
  R();
157
- const e = x(w);
158
- e && P(e);
157
+ const t = x(g);
158
+ t && E(t);
159
159
  }
160
- }, L = () => {
161
- u((e) => !e);
162
- }, U = (e, o) => {
160
+ }, L = (t = !1) => {
161
+ const o = s;
162
+ f((e) => !e), !o && t && setTimeout(() => {
163
+ const e = c.current?.querySelector(B);
164
+ e && e.focus();
165
+ }, 50);
166
+ }, _ = (t, o) => {
163
167
  if (!o) return;
164
- const t = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", "), r = Array.from(o.querySelectorAll(t)).filter((i) => {
165
- const f = window.getComputedStyle(i);
166
- return !i.hasAttribute("disabled") && !i.hasAttribute("aria-disabled") && f.display !== "none" && f.visibility !== "hidden" && (i.tabIndex >= 0 || i.hasAttribute("role"));
168
+ const e = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", "), i = Array.from(o.querySelectorAll(e)).filter((r) => {
169
+ const u = window.getComputedStyle(r);
170
+ return !r.hasAttribute("disabled") && !r.hasAttribute("aria-disabled") && u.display !== "none" && u.visibility !== "hidden" && (r.tabIndex >= 0 || r.hasAttribute("role"));
167
171
  });
168
- if (r.length === 0) return;
169
- const c = r.findIndex((i) => i === document.activeElement);
172
+ if (i.length === 0) return;
173
+ const a = i.findIndex((r) => r === document.activeElement);
170
174
  let n = -1;
171
- e.key === "ArrowDown" ? (e.preventDefault(), e.stopPropagation(), n = c < r.length - 1 ? c + 1 : 0) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopPropagation(), n = c > 0 ? c - 1 : r.length - 1) : e.key === "Home" ? (e.preventDefault(), e.stopPropagation(), n = 0) : e.key === "End" && (e.preventDefault(), e.stopPropagation(), n = r.length - 1), n >= 0 && r[n] ? r[n].focus() : c === -1 && r.length > 0 && r[0].focus();
172
- }, _ = (e) => {
173
- e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), u(!1), l.current?.focus()) : e.key === "Tab" ? (u(!1), e.shiftKey && (e.preventDefault(), l.current?.focus())) : e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "Home" || e.key === "End" ? U(e, a.current) : (e.key === "Enter" || e.key === " ") && e.stopPropagation();
175
+ t.key === "ArrowDown" ? (t.preventDefault(), t.stopPropagation(), n = a < i.length - 1 ? a + 1 : 0) : t.key === "ArrowUp" ? (t.preventDefault(), t.stopPropagation(), n = a > 0 ? a - 1 : i.length - 1) : t.key === "Home" ? (t.preventDefault(), t.stopPropagation(), n = 0) : t.key === "End" && (t.preventDefault(), t.stopPropagation(), n = i.length - 1), n >= 0 && i[n] ? i[n].focus() : a === -1 && i.length > 0 && i[0].focus();
176
+ }, X = (t) => {
177
+ t.key === "Escape" ? (t.preventDefault(), t.stopPropagation(), f(!1), l.current?.focus()) : t.key === "Tab" ? (f(!1), t.shiftKey && (t.preventDefault(), l.current?.focus())) : t.key === "ArrowDown" || t.key === "ArrowUp" || t.key === "Home" || t.key === "End" ? _(t, c.current) : (t.key === "Enter" || t.key === " ") && t.stopPropagation();
174
178
  };
175
- ae(ee, () => ({
179
+ lt(et, () => ({
176
180
  togglePopover: L
177
181
  }), []);
178
- const ie = {
182
+ const st = {
179
183
  "bottom-left": {
180
184
  left: "0",
181
185
  top: "100%"
@@ -202,83 +206,83 @@ const ve = /* @__PURE__ */ ce(({
202
206
  transform: "translateX(-50%)",
203
207
  bottom: "100%"
204
208
  }
205
- }, X = Y ? "" : "shadow-md border rounded-md";
206
- return /* @__PURE__ */ B.createElement("div", F({
207
- className: "se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md" + (g.length > 0 ? ` ${g}` : "") + (s ? " open" : "") + (k ? " opacity-50 cursor-not-allowed pointer-events-none" : ""),
209
+ }, G = Z ? "" : "shadow-md border rounded-md";
210
+ return /* @__PURE__ */ F.createElement("div", O({
211
+ className: "se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md" + (y.length > 0 ? ` ${y}` : "") + (s ? " open" : "") + (P ? " opacity-50 cursor-not-allowed pointer-events-none" : ""),
208
212
  ref: l,
209
- onClick: (e) => {
210
- k || D || (e.stopPropagation(), L());
213
+ onClick: (t) => {
214
+ P || b || (t.stopPropagation(), L());
211
215
  },
212
- onKeyDown: (e) => {
213
- if (!k)
214
- if (e.key === "Enter" || e.key === " ") {
215
- e.preventDefault(), e.stopPropagation();
216
+ onKeyDown: (t) => {
217
+ if (!(P || b))
218
+ if (t.key === "Enter" || t.key === " ") {
219
+ t.preventDefault(), t.stopPropagation();
216
220
  const o = s;
217
221
  L(), o || setTimeout(() => {
218
- const t = a.current;
219
- if (t) {
220
- const r = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), c = t.querySelector(r);
221
- c && c.focus();
222
+ const e = c.current;
223
+ if (e) {
224
+ const i = e.querySelector(B);
225
+ i && i.focus();
222
226
  }
223
227
  }, 0);
224
- } else if (e.key === "Escape" && s)
225
- e.preventDefault(), e.stopPropagation(), u(!1);
226
- else if ((e.key === "ArrowDown" || e.key === "ArrowUp") && s) {
227
- const o = a.current;
228
- o && U(e, o);
229
- } else e.key === "ArrowDown" && !s && (e.preventDefault(), e.stopPropagation(), u(!0), setTimeout(() => {
230
- const o = a.current;
228
+ } else if (t.key === "Escape" && s)
229
+ t.preventDefault(), t.stopPropagation(), f(!1);
230
+ else if ((t.key === "ArrowDown" || t.key === "ArrowUp") && s) {
231
+ const o = c.current;
232
+ o && _(t, o);
233
+ } else t.key === "ArrowDown" && !s && (t.preventDefault(), t.stopPropagation(), f(!0), setTimeout(() => {
234
+ const o = c.current;
231
235
  if (o) {
232
- const t = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), r = o.querySelector(t);
233
- r && r.focus();
236
+ const e = o.querySelector(B);
237
+ e && e.focus();
234
238
  }
235
239
  }, 0));
236
240
  },
237
- onBlurCapture: ne,
238
- onBlur: (e) => {
241
+ onBlurCapture: rt,
242
+ onBlur: (t) => {
239
243
  if (!s || m || !d) return;
240
- const o = e.relatedTarget, t = !!(o && l.current?.contains(o)), r = !!(o && a.current?.contains(o));
241
- !t && !r && u(!1);
244
+ const o = t.relatedTarget, e = !!(o && l.current?.contains(o)), i = !!(o && c.current?.contains(o));
245
+ !e && !i && f(!1);
242
246
  },
243
- role: j,
244
- "aria-expanded": D ? void 0 : s ? "true" : "false",
245
- "aria-haspopup": D ? void 0 : j === "combobox" ? "listbox" : "true",
246
- tabIndex: k || D ? -1 : 0,
247
- "aria-disabled": k ? "true" : "false"
248
- }, oe, {
249
- "data-automation-id": y
250
- }, Z), J({
247
+ role: b ? "none" : z,
248
+ "aria-expanded": b ? void 0 : s ? "true" : "false",
249
+ "aria-haspopup": b ? void 0 : z === "combobox" ? "listbox" : "true",
250
+ tabIndex: P || b ? -1 : 0,
251
+ "aria-disabled": b ? void 0 : P ? "true" : "false"
252
+ }, nt, {
253
+ "data-automation-id": k
254
+ }, tt), Q({
251
255
  displayPopover: s,
252
256
  togglePopover: L
253
- }), s && !d && /* @__PURE__ */ B.createElement("div", {
254
- className: `popover-content absolute ${X} z-[1000] ${I == "full" ? "w-full" : "w-max"}`,
257
+ }), s && !d && /* @__PURE__ */ F.createElement("div", {
258
+ className: `popover-content absolute ${G} z-[1000] ${I == "full" ? "w-full" : "w-max"}`,
255
259
  style: {
256
- ...K,
257
- ...ie[w]
260
+ ...C,
261
+ ...st[g]
258
262
  },
259
- onClick: (e) => e.stopPropagation(),
260
- onKeyDown: _,
261
- ref: a,
263
+ onClick: (t) => t.stopPropagation(),
264
+ onKeyDown: X,
265
+ ref: c,
262
266
  "data-automation-id": h
263
- }, O({
264
- closePopoverCb: () => u(!1)
265
- })), d && s && te && /* @__PURE__ */ le.createPortal(/* @__PURE__ */ B.createElement("div", {
266
- className: `popover-content-with-portal ${X} ${I == "full" ? "w-full" : "w-max"}`,
267
+ }, N({
268
+ closePopoverCb: () => f(!1)
269
+ })), d && s && ot && /* @__PURE__ */ ft.createPortal(/* @__PURE__ */ F.createElement("div", {
270
+ className: `popover-content-with-portal ${G} ${I == "full" ? "w-full" : "w-max"}`,
267
271
  style: {
268
272
  position: "fixed",
269
- top: $.top,
270
- left: $.left,
271
- ...K
273
+ top: M.top,
274
+ left: M.left,
275
+ ...C
272
276
  },
273
- onClick: (e) => e.stopPropagation(),
274
- onKeyDown: _,
275
- ref: a,
277
+ onClick: (t) => t.stopPropagation(),
278
+ onKeyDown: X,
279
+ ref: c,
276
280
  "data-automation-id": h
277
- }, O({
278
- closePopoverCb: () => u(!1)
281
+ }, N({
282
+ closePopoverCb: () => f(!1)
279
283
  })), document.body));
280
284
  });
281
285
  export {
282
- ve as Popover
286
+ wt as Popover
283
287
  };
284
288
  //# sourceMappingURL=index18.js.map