se-design 1.0.90-dev.0 → 1.0.90

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 (462) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/AnchoredOverlay/index.d.ts +41 -0
  3. package/dist/components/index.d.ts +2 -0
  4. package/dist/index.js +132 -130
  5. package/dist/index.js.map +1 -1
  6. package/dist/index100.js +1 -1
  7. package/dist/index100.js.map +1 -1
  8. package/dist/index101.js +1 -1
  9. package/dist/index101.js.map +1 -1
  10. package/dist/index102.js +1 -1
  11. package/dist/index102.js.map +1 -1
  12. package/dist/index103.js +1 -1
  13. package/dist/index103.js.map +1 -1
  14. package/dist/index104.js +1 -1
  15. package/dist/index104.js.map +1 -1
  16. package/dist/index105.js +1 -1
  17. package/dist/index105.js.map +1 -1
  18. package/dist/index106.js +1 -1
  19. package/dist/index106.js.map +1 -1
  20. package/dist/index107.js +1 -1
  21. package/dist/index107.js.map +1 -1
  22. package/dist/index108.js +1 -1
  23. package/dist/index108.js.map +1 -1
  24. package/dist/index109.js +1 -1
  25. package/dist/index109.js.map +1 -1
  26. package/dist/index11.js +1 -1
  27. package/dist/index110.js +1 -1
  28. package/dist/index110.js.map +1 -1
  29. package/dist/index111.js +1 -1
  30. package/dist/index111.js.map +1 -1
  31. package/dist/index112.js +1 -1
  32. package/dist/index112.js.map +1 -1
  33. package/dist/index113.js +1 -1
  34. package/dist/index113.js.map +1 -1
  35. package/dist/index114.js +2 -2
  36. package/dist/index114.js.map +1 -1
  37. package/dist/index115.js +1 -1
  38. package/dist/index115.js.map +1 -1
  39. package/dist/index116.js +2 -2
  40. package/dist/index116.js.map +1 -1
  41. package/dist/index117.js +1 -1
  42. package/dist/index117.js.map +1 -1
  43. package/dist/index118.js +1 -1
  44. package/dist/index118.js.map +1 -1
  45. package/dist/index119.js +2 -2
  46. package/dist/index119.js.map +1 -1
  47. package/dist/index12.js +3 -3
  48. package/dist/index120.js +1 -1
  49. package/dist/index120.js.map +1 -1
  50. package/dist/index121.js +2 -2
  51. package/dist/index121.js.map +1 -1
  52. package/dist/index122.js +1 -1
  53. package/dist/index122.js.map +1 -1
  54. package/dist/index123.js +1 -1
  55. package/dist/index123.js.map +1 -1
  56. package/dist/index124.js +1 -1
  57. package/dist/index124.js.map +1 -1
  58. package/dist/index125.js +1 -1
  59. package/dist/index125.js.map +1 -1
  60. package/dist/index126.js +2 -2
  61. package/dist/index126.js.map +1 -1
  62. package/dist/index127.js +1 -1
  63. package/dist/index127.js.map +1 -1
  64. package/dist/index128.js +2 -2
  65. package/dist/index128.js.map +1 -1
  66. package/dist/index129.js +2 -2
  67. package/dist/index129.js.map +1 -1
  68. package/dist/index13.js +3 -3
  69. package/dist/index130.js +1 -1
  70. package/dist/index130.js.map +1 -1
  71. package/dist/index131.js +2 -2
  72. package/dist/index131.js.map +1 -1
  73. package/dist/index132.js +2 -2
  74. package/dist/index132.js.map +1 -1
  75. package/dist/index133.js +1 -1
  76. package/dist/index133.js.map +1 -1
  77. package/dist/index134.js +1 -1
  78. package/dist/index134.js.map +1 -1
  79. package/dist/index135.js +1 -1
  80. package/dist/index135.js.map +1 -1
  81. package/dist/index136.js +2 -2
  82. package/dist/index136.js.map +1 -1
  83. package/dist/index137.js +2 -2
  84. package/dist/index137.js.map +1 -1
  85. package/dist/index138.js +2 -2
  86. package/dist/index138.js.map +1 -1
  87. package/dist/index139.js +1 -1
  88. package/dist/index139.js.map +1 -1
  89. package/dist/index140.js +1 -1
  90. package/dist/index140.js.map +1 -1
  91. package/dist/index141.js +1 -1
  92. package/dist/index141.js.map +1 -1
  93. package/dist/index142.js +1 -1
  94. package/dist/index142.js.map +1 -1
  95. package/dist/index143.js +1 -1
  96. package/dist/index143.js.map +1 -1
  97. package/dist/index144.js +1 -1
  98. package/dist/index144.js.map +1 -1
  99. package/dist/index145.js +1 -1
  100. package/dist/index145.js.map +1 -1
  101. package/dist/index146.js +1 -1
  102. package/dist/index146.js.map +1 -1
  103. package/dist/index147.js +2 -2
  104. package/dist/index147.js.map +1 -1
  105. package/dist/index148.js +2 -2
  106. package/dist/index148.js.map +1 -1
  107. package/dist/index149.js +1 -1
  108. package/dist/index149.js.map +1 -1
  109. package/dist/index150.js +1 -1
  110. package/dist/index150.js.map +1 -1
  111. package/dist/index151.js +1 -1
  112. package/dist/index151.js.map +1 -1
  113. package/dist/index152.js +1 -1
  114. package/dist/index152.js.map +1 -1
  115. package/dist/index153.js +1 -1
  116. package/dist/index153.js.map +1 -1
  117. package/dist/index154.js +1 -1
  118. package/dist/index154.js.map +1 -1
  119. package/dist/index155.js +1 -1
  120. package/dist/index155.js.map +1 -1
  121. package/dist/index156.js +2 -2
  122. package/dist/index156.js.map +1 -1
  123. package/dist/index157.js +1 -1
  124. package/dist/index157.js.map +1 -1
  125. package/dist/index158.js +2 -2
  126. package/dist/index158.js.map +1 -1
  127. package/dist/index159.js +2 -2
  128. package/dist/index159.js.map +1 -1
  129. package/dist/index16.js +3 -3
  130. package/dist/index160.js +2 -2
  131. package/dist/index160.js.map +1 -1
  132. package/dist/index161.js +2 -2
  133. package/dist/index161.js.map +1 -1
  134. package/dist/index162.js +1 -1
  135. package/dist/index162.js.map +1 -1
  136. package/dist/index163.js +1 -1
  137. package/dist/index163.js.map +1 -1
  138. package/dist/index164.js +1 -1
  139. package/dist/index164.js.map +1 -1
  140. package/dist/index165.js +1 -1
  141. package/dist/index165.js.map +1 -1
  142. package/dist/index166.js +1 -1
  143. package/dist/index166.js.map +1 -1
  144. package/dist/index167.js +1 -1
  145. package/dist/index167.js.map +1 -1
  146. package/dist/index168.js +1 -1
  147. package/dist/index168.js.map +1 -1
  148. package/dist/index169.js +1 -1
  149. package/dist/index169.js.map +1 -1
  150. package/dist/index170.js +1 -1
  151. package/dist/index170.js.map +1 -1
  152. package/dist/index171.js +1 -1
  153. package/dist/index171.js.map +1 -1
  154. package/dist/index172.js +1 -1
  155. package/dist/index172.js.map +1 -1
  156. package/dist/index173.js +1 -1
  157. package/dist/index173.js.map +1 -1
  158. package/dist/index174.js +1 -1
  159. package/dist/index174.js.map +1 -1
  160. package/dist/index175.js +1 -1
  161. package/dist/index175.js.map +1 -1
  162. package/dist/index176.js +1 -1
  163. package/dist/index176.js.map +1 -1
  164. package/dist/index177.js +1 -1
  165. package/dist/index177.js.map +1 -1
  166. package/dist/index178.js +1 -1
  167. package/dist/index178.js.map +1 -1
  168. package/dist/index179.js +1 -1
  169. package/dist/index179.js.map +1 -1
  170. package/dist/index18.js +3 -3
  171. package/dist/index180.js +1 -1
  172. package/dist/index180.js.map +1 -1
  173. package/dist/index181.js +1 -1
  174. package/dist/index181.js.map +1 -1
  175. package/dist/index182.js +1 -1
  176. package/dist/index182.js.map +1 -1
  177. package/dist/index183.js +1 -1
  178. package/dist/index183.js.map +1 -1
  179. package/dist/index184.js +1 -1
  180. package/dist/index184.js.map +1 -1
  181. package/dist/index185.js +1 -1
  182. package/dist/index185.js.map +1 -1
  183. package/dist/index186.js +2 -2
  184. package/dist/index186.js.map +1 -1
  185. package/dist/index187.js +2 -2
  186. package/dist/index187.js.map +1 -1
  187. package/dist/index188.js +1 -1
  188. package/dist/index188.js.map +1 -1
  189. package/dist/index189.js +1 -1
  190. package/dist/index189.js.map +1 -1
  191. package/dist/index19.js +5 -5
  192. package/dist/index190.js +2 -2
  193. package/dist/index190.js.map +1 -1
  194. package/dist/index191.js +2 -2
  195. package/dist/index191.js.map +1 -1
  196. package/dist/index192.js +1 -1
  197. package/dist/index192.js.map +1 -1
  198. package/dist/index193.js +1 -1
  199. package/dist/index193.js.map +1 -1
  200. package/dist/index194.js +1 -1
  201. package/dist/index194.js.map +1 -1
  202. package/dist/index195.js +1 -1
  203. package/dist/index195.js.map +1 -1
  204. package/dist/index196.js +1 -1
  205. package/dist/index196.js.map +1 -1
  206. package/dist/index197.js +1 -1
  207. package/dist/index197.js.map +1 -1
  208. package/dist/index198.js +1 -1
  209. package/dist/index198.js.map +1 -1
  210. package/dist/index199.js +1 -1
  211. package/dist/index199.js.map +1 -1
  212. package/dist/index20.js +96 -18
  213. package/dist/index20.js.map +1 -1
  214. package/dist/index200.js +1 -1
  215. package/dist/index200.js.map +1 -1
  216. package/dist/index201.js +2 -2
  217. package/dist/index201.js.map +1 -1
  218. package/dist/index202.js +2 -2
  219. package/dist/index202.js.map +1 -1
  220. package/dist/index203.js +2 -2
  221. package/dist/index203.js.map +1 -1
  222. package/dist/index204.js +2 -149
  223. package/dist/index204.js.map +1 -1
  224. package/dist/index205.js +149 -9
  225. package/dist/index205.js.map +1 -1
  226. package/dist/index206.js +8 -5
  227. package/dist/index206.js.map +1 -1
  228. package/dist/index207.js +5 -42
  229. package/dist/index207.js.map +1 -1
  230. package/dist/index208.js +40 -18
  231. package/dist/index208.js.map +1 -1
  232. package/dist/index209.js +24 -0
  233. package/dist/index209.js.map +1 -0
  234. package/dist/index21.js +17 -32
  235. package/dist/index21.js.map +1 -1
  236. package/dist/index216.js +24 -68
  237. package/dist/index216.js.map +1 -1
  238. package/dist/index217.js +75 -0
  239. package/dist/index217.js.map +1 -0
  240. package/dist/index22.js +33 -66
  241. package/dist/index22.js.map +1 -1
  242. package/dist/{index223.js → index224.js} +1 -1
  243. package/dist/{index223.js.map → index224.js.map} +1 -1
  244. package/dist/{index225.js → index226.js} +1 -1
  245. package/dist/{index225.js.map → index226.js.map} +1 -1
  246. package/dist/index23.js +62 -83
  247. package/dist/index23.js.map +1 -1
  248. package/dist/{index233.js → index234.js} +1 -1
  249. package/dist/{index233.js.map → index234.js.map} +1 -1
  250. package/dist/{index236.js → index237.js} +1 -1
  251. package/dist/{index236.js.map → index237.js.map} +1 -1
  252. package/dist/index24.js +85 -21
  253. package/dist/index24.js.map +1 -1
  254. package/dist/index246.js +169 -3
  255. package/dist/index246.js.map +1 -1
  256. package/dist/index247.js +7 -0
  257. package/dist/index247.js.map +1 -0
  258. package/dist/index249.js +18 -9
  259. package/dist/index249.js.map +1 -1
  260. package/dist/index25.js +19 -401
  261. package/dist/index25.js.map +1 -1
  262. package/dist/index250.js +9 -9
  263. package/dist/index250.js.map +1 -1
  264. package/dist/index251.js +9 -4
  265. package/dist/index251.js.map +1 -1
  266. package/dist/index252.js +5 -170
  267. package/dist/index252.js.map +1 -1
  268. package/dist/index253.js +170 -11
  269. package/dist/index253.js.map +1 -1
  270. package/dist/index254.js +11 -6
  271. package/dist/index254.js.map +1 -1
  272. package/dist/index255.js +5 -5
  273. package/dist/index255.js.map +1 -1
  274. package/dist/index256.js +5 -37
  275. package/dist/index256.js.map +1 -1
  276. package/dist/index257.js +38 -2
  277. package/dist/index257.js.map +1 -1
  278. package/dist/index258.js +2 -8
  279. package/dist/index258.js.map +1 -1
  280. package/dist/index259.js +7 -326
  281. package/dist/index259.js.map +1 -1
  282. package/dist/index26.js +400 -44
  283. package/dist/index26.js.map +1 -1
  284. package/dist/index260.js +324 -47
  285. package/dist/index260.js.map +1 -1
  286. package/dist/index261.js +50 -2
  287. package/dist/index261.js.map +1 -1
  288. package/dist/index262.js +2 -76
  289. package/dist/index262.js.map +1 -1
  290. package/dist/index263.js +65 -82
  291. package/dist/index263.js.map +1 -1
  292. package/dist/index264.js +89 -48
  293. package/dist/index264.js.map +1 -1
  294. package/dist/index265.js +51 -7
  295. package/dist/index265.js.map +1 -1
  296. package/dist/index266.js +7 -4
  297. package/dist/index266.js.map +1 -1
  298. package/dist/index267.js +4 -51
  299. package/dist/index267.js.map +1 -1
  300. package/dist/index268.js +52 -2
  301. package/dist/index268.js.map +1 -1
  302. package/dist/index269.js +2 -2
  303. package/dist/index27.js +48 -23
  304. package/dist/index27.js.map +1 -1
  305. package/dist/index270.js +5 -0
  306. package/dist/index270.js.map +1 -0
  307. package/dist/index28.js +21 -108
  308. package/dist/index28.js.map +1 -1
  309. package/dist/index29.js +107 -147
  310. package/dist/index29.js.map +1 -1
  311. package/dist/index3.js +3 -3
  312. package/dist/index30.js +146 -132
  313. package/dist/index30.js.map +1 -1
  314. package/dist/index31.js +136 -76
  315. package/dist/index31.js.map +1 -1
  316. package/dist/index32.js +73 -94
  317. package/dist/index32.js.map +1 -1
  318. package/dist/index33.js +95 -73
  319. package/dist/index33.js.map +1 -1
  320. package/dist/index34.js +72 -38
  321. package/dist/index34.js.map +1 -1
  322. package/dist/index35.js +40 -72
  323. package/dist/index35.js.map +1 -1
  324. package/dist/index36.js +68 -94
  325. package/dist/index36.js.map +1 -1
  326. package/dist/index37.js +98 -77
  327. package/dist/index37.js.map +1 -1
  328. package/dist/index38.js +75 -311
  329. package/dist/index38.js.map +1 -1
  330. package/dist/index39.js +313 -75
  331. package/dist/index39.js.map +1 -1
  332. package/dist/index4.js +4 -4
  333. package/dist/index40.js +72 -79
  334. package/dist/index40.js.map +1 -1
  335. package/dist/index41.js +82 -32
  336. package/dist/index41.js.map +1 -1
  337. package/dist/index42.js +26 -43
  338. package/dist/index42.js.map +1 -1
  339. package/dist/index43.js +48 -109
  340. package/dist/index43.js.map +1 -1
  341. package/dist/index44.js +104 -50
  342. package/dist/index44.js.map +1 -1
  343. package/dist/index45.js +53 -142
  344. package/dist/index45.js.map +1 -1
  345. package/dist/index46.js +137 -188
  346. package/dist/index46.js.map +1 -1
  347. package/dist/index47.js +195 -35
  348. package/dist/index47.js.map +1 -1
  349. package/dist/index48.js +34 -32
  350. package/dist/index48.js.map +1 -1
  351. package/dist/index49.js +34 -147
  352. package/dist/index49.js.map +1 -1
  353. package/dist/index50.js +130 -67
  354. package/dist/index50.js.map +1 -1
  355. package/dist/index51.js +78 -453
  356. package/dist/index51.js.map +1 -1
  357. package/dist/index52.js +459 -96
  358. package/dist/index52.js.map +1 -1
  359. package/dist/index53.js +98 -43
  360. package/dist/index53.js.map +1 -1
  361. package/dist/index54.js +40 -35
  362. package/dist/index54.js.map +1 -1
  363. package/dist/index55.js +33 -87
  364. package/dist/index55.js.map +1 -1
  365. package/dist/index56.js +88 -159
  366. package/dist/index56.js.map +1 -1
  367. package/dist/index57.js +157 -143
  368. package/dist/index57.js.map +1 -1
  369. package/dist/index58.js +149 -33
  370. package/dist/index58.js.map +1 -1
  371. package/dist/index59.js +33 -86
  372. package/dist/index59.js.map +1 -1
  373. package/dist/index6.js +125 -125
  374. package/dist/index60.js +80 -113
  375. package/dist/index60.js.map +1 -1
  376. package/dist/index61.js +114 -73
  377. package/dist/index61.js.map +1 -1
  378. package/dist/index62.js +73 -147
  379. package/dist/index62.js.map +1 -1
  380. package/dist/index63.js +146 -312
  381. package/dist/index63.js.map +1 -1
  382. package/dist/index64.js +317 -46
  383. package/dist/index64.js.map +1 -1
  384. package/dist/index65.js +45 -142
  385. package/dist/index65.js.map +1 -1
  386. package/dist/index66.js +144 -12
  387. package/dist/index66.js.map +1 -1
  388. package/dist/index67.js +10 -53
  389. package/dist/index67.js.map +1 -1
  390. package/dist/index68.js +52 -110
  391. package/dist/index68.js.map +1 -1
  392. package/dist/index69.js +111 -17
  393. package/dist/index69.js.map +1 -1
  394. package/dist/index7.js +2 -2
  395. package/dist/index70.js +17 -64
  396. package/dist/index70.js.map +1 -1
  397. package/dist/index71.js +64 -25
  398. package/dist/index71.js.map +1 -1
  399. package/dist/index72.js +24 -105
  400. package/dist/index72.js.map +1 -1
  401. package/dist/index73.js +104 -58
  402. package/dist/index73.js.map +1 -1
  403. package/dist/index74.js +60 -19
  404. package/dist/index74.js.map +1 -1
  405. package/dist/index75.js +18 -168
  406. package/dist/index75.js.map +1 -1
  407. package/dist/index76.js +171 -18
  408. package/dist/index76.js.map +1 -1
  409. package/dist/index77.js +17 -10
  410. package/dist/index77.js.map +1 -1
  411. package/dist/index78.js +11 -5
  412. package/dist/index78.js.map +1 -1
  413. package/dist/index79.js +5 -62
  414. package/dist/index79.js.map +1 -1
  415. package/dist/index80.js +58 -23
  416. package/dist/index80.js.map +1 -1
  417. package/dist/index81.js +25 -9
  418. package/dist/index81.js.map +1 -1
  419. package/dist/index82.js +14 -0
  420. package/dist/index82.js.map +1 -0
  421. package/dist/index84.js +2 -2
  422. package/dist/index84.js.map +1 -1
  423. package/dist/index85.js +2 -2
  424. package/dist/index85.js.map +1 -1
  425. package/dist/index86.js +2 -2
  426. package/dist/index86.js.map +1 -1
  427. package/dist/index87.js +2 -2
  428. package/dist/index87.js.map +1 -1
  429. package/dist/index88.js +1 -1
  430. package/dist/index88.js.map +1 -1
  431. package/dist/index89.js +1 -1
  432. package/dist/index89.js.map +1 -1
  433. package/dist/index9.js +4 -4
  434. package/dist/index90.js +1 -1
  435. package/dist/index90.js.map +1 -1
  436. package/dist/index91.js +1 -1
  437. package/dist/index91.js.map +1 -1
  438. package/dist/index92.js +1 -1
  439. package/dist/index92.js.map +1 -1
  440. package/dist/index93.js +1 -1
  441. package/dist/index93.js.map +1 -1
  442. package/dist/index94.js +1 -1
  443. package/dist/index94.js.map +1 -1
  444. package/dist/index95.js +1 -1
  445. package/dist/index95.js.map +1 -1
  446. package/dist/index96.js +1 -1
  447. package/dist/index96.js.map +1 -1
  448. package/dist/index97.js +1 -1
  449. package/dist/index97.js.map +1 -1
  450. package/dist/index98.js +1 -1
  451. package/dist/index98.js.map +1 -1
  452. package/dist/index99.js +1 -1
  453. package/dist/index99.js.map +1 -1
  454. package/package.json +1 -1
  455. package/dist/index215.js +0 -31
  456. package/dist/index215.js.map +0 -1
  457. package/dist/index245.js +0 -173
  458. package/dist/index245.js.map +0 -1
  459. package/dist/index248.js +0 -22
  460. package/dist/index248.js.map +0 -1
  461. package/dist/index83.js +0 -5
  462. package/dist/index83.js.map +0 -1
package/dist/index6.js CHANGED
@@ -1,129 +1,129 @@
1
- import L from "./index83.js";
2
- import R from "./index84.js";
3
- import F from "./index85.js";
4
- import B from "./index86.js";
5
- import D from "./index87.js";
6
- import M from "./index88.js";
7
- import q from "./index89.js";
8
- import G from "./index90.js";
9
- import V from "./index91.js";
10
- import H from "./index92.js";
11
- import J from "./index93.js";
12
- import K from "./index94.js";
13
- import Q from "./index95.js";
14
- import U from "./index96.js";
15
- import W from "./index97.js";
16
- import X from "./index98.js";
17
- import Y from "./index99.js";
18
- import Z from "./index100.js";
19
- import z from "./index101.js";
20
- import ss from "./index102.js";
21
- import os from "./index103.js";
22
- import _s from "./index104.js";
23
- import ts from "./index105.js";
24
- import is from "./index106.js";
25
- import rs from "./index107.js";
26
- import es from "./index108.js";
27
- import cs from "./index109.js";
28
- import as from "./index110.js";
29
- import ms from "./index111.js";
30
- import gs from "./index112.js";
31
- import vs from "./index113.js";
32
- import ns from "./index114.js";
33
- import ls from "./index115.js";
34
- import fs from "./index116.js";
35
- import bs from "./index117.js";
36
- import ps from "./index118.js";
37
- import ds from "./index119.js";
38
- import us from "./index120.js";
39
- import hs from "./index121.js";
40
- import ks from "./index122.js";
41
- import xs from "./index123.js";
42
- import As from "./index124.js";
43
- import Is from "./index125.js";
44
- import ws from "./index126.js";
45
- import ys from "./index127.js";
46
- import Ps from "./index128.js";
47
- import Ns from "./index129.js";
48
- import Cs from "./index130.js";
49
- import Os from "./index131.js";
50
- import $s from "./index132.js";
51
- import Es from "./index133.js";
52
- import Ss from "./index134.js";
53
- import Ts from "./index135.js";
54
- import js from "./index136.js";
55
- import Ls from "./index137.js";
56
- import Rs from "./index138.js";
57
- import Fs from "./index139.js";
58
- import Bs from "./index140.js";
59
- import Ds from "./index141.js";
60
- import Ms from "./index142.js";
61
- import qs from "./index143.js";
62
- import Gs from "./index144.js";
63
- import Vs from "./index145.js";
64
- import Hs from "./index146.js";
65
- import Js from "./index147.js";
66
- import Ks from "./index148.js";
67
- import Qs from "./index149.js";
68
- import Us from "./index150.js";
69
- import Ws from "./index151.js";
70
- import Xs from "./index152.js";
71
- import Ys from "./index153.js";
72
- import Zs from "./index154.js";
73
- import zs from "./index155.js";
74
- import so from "./index156.js";
75
- import oo from "./index157.js";
76
- import _o from "./index158.js";
77
- import to from "./index159.js";
78
- import io from "./index160.js";
79
- import ro from "./index161.js";
80
- import eo from "./index162.js";
81
- import co from "./index163.js";
82
- import ao from "./index164.js";
83
- import mo from "./index165.js";
84
- import go from "./index166.js";
85
- import vo from "./index167.js";
86
- import no from "./index168.js";
87
- import lo from "./index169.js";
88
- import fo from "./index170.js";
89
- import bo from "./index171.js";
90
- import po from "./index172.js";
91
- import uo from "./index173.js";
92
- import ho from "./index174.js";
93
- import ko from "./index175.js";
94
- import xo from "./index176.js";
95
- import Ao from "./index177.js";
96
- import Io from "./index178.js";
97
- import wo from "./index179.js";
98
- import yo from "./index180.js";
99
- import Po from "./index181.js";
100
- import No from "./index182.js";
101
- import Co from "./index183.js";
102
- import Oo from "./index184.js";
103
- import $o from "./index185.js";
104
- import Eo from "./index186.js";
105
- import So from "./index187.js";
106
- import To from "./index188.js";
107
- import jo from "./index189.js";
108
- import Lo from "./index190.js";
109
- import Ro from "./index191.js";
110
- import Fo from "./index192.js";
111
- import Bo from "./index193.js";
112
- import Do from "./index194.js";
113
- import Mo from "./index195.js";
114
- import qo from "./index196.js";
115
- import Go from "./index197.js";
116
- import Vo from "./index198.js";
117
- import Ho from "./index199.js";
118
- import Jo from "./index200.js";
119
- import Ko from "./index201.js";
120
- import Qo from "./index202.js";
121
- import Uo from "./index203.js";
1
+ import L from "./index84.js";
2
+ import R from "./index85.js";
3
+ import F from "./index86.js";
4
+ import B from "./index87.js";
5
+ import D from "./index88.js";
6
+ import M from "./index89.js";
7
+ import q from "./index90.js";
8
+ import G from "./index91.js";
9
+ import V from "./index92.js";
10
+ import H from "./index93.js";
11
+ import J from "./index94.js";
12
+ import K from "./index95.js";
13
+ import Q from "./index96.js";
14
+ import U from "./index97.js";
15
+ import W from "./index98.js";
16
+ import X from "./index99.js";
17
+ import Y from "./index100.js";
18
+ import Z from "./index101.js";
19
+ import z from "./index102.js";
20
+ import ss from "./index103.js";
21
+ import os from "./index104.js";
22
+ import _s from "./index105.js";
23
+ import ts from "./index106.js";
24
+ import is from "./index107.js";
25
+ import rs from "./index108.js";
26
+ import es from "./index109.js";
27
+ import cs from "./index110.js";
28
+ import as from "./index111.js";
29
+ import ms from "./index112.js";
30
+ import gs from "./index113.js";
31
+ import vs from "./index114.js";
32
+ import ns from "./index115.js";
33
+ import ls from "./index116.js";
34
+ import fs from "./index117.js";
35
+ import bs from "./index118.js";
36
+ import ps from "./index119.js";
37
+ import ds from "./index120.js";
38
+ import us from "./index121.js";
39
+ import hs from "./index122.js";
40
+ import ks from "./index123.js";
41
+ import xs from "./index124.js";
42
+ import As from "./index125.js";
43
+ import Is from "./index126.js";
44
+ import ws from "./index127.js";
45
+ import ys from "./index128.js";
46
+ import Ps from "./index129.js";
47
+ import Ns from "./index130.js";
48
+ import Cs from "./index131.js";
49
+ import Os from "./index132.js";
50
+ import $s from "./index133.js";
51
+ import Es from "./index134.js";
52
+ import Ss from "./index135.js";
53
+ import Ts from "./index136.js";
54
+ import js from "./index137.js";
55
+ import Ls from "./index138.js";
56
+ import Rs from "./index139.js";
57
+ import Fs from "./index140.js";
58
+ import Bs from "./index141.js";
59
+ import Ds from "./index142.js";
60
+ import Ms from "./index143.js";
61
+ import qs from "./index144.js";
62
+ import Gs from "./index145.js";
63
+ import Vs from "./index146.js";
64
+ import Hs from "./index147.js";
65
+ import Js from "./index148.js";
66
+ import Ks from "./index149.js";
67
+ import Qs from "./index150.js";
68
+ import Us from "./index151.js";
69
+ import Ws from "./index152.js";
70
+ import Xs from "./index153.js";
71
+ import Ys from "./index154.js";
72
+ import Zs from "./index155.js";
73
+ import zs from "./index156.js";
74
+ import so from "./index157.js";
75
+ import oo from "./index158.js";
76
+ import _o from "./index159.js";
77
+ import to from "./index160.js";
78
+ import io from "./index161.js";
79
+ import ro from "./index162.js";
80
+ import eo from "./index163.js";
81
+ import co from "./index164.js";
82
+ import ao from "./index165.js";
83
+ import mo from "./index166.js";
84
+ import go from "./index167.js";
85
+ import vo from "./index168.js";
86
+ import no from "./index169.js";
87
+ import lo from "./index170.js";
88
+ import fo from "./index171.js";
89
+ import bo from "./index172.js";
90
+ import po from "./index173.js";
91
+ import uo from "./index174.js";
92
+ import ho from "./index175.js";
93
+ import ko from "./index176.js";
94
+ import xo from "./index177.js";
95
+ import Ao from "./index178.js";
96
+ import Io from "./index179.js";
97
+ import wo from "./index180.js";
98
+ import yo from "./index181.js";
99
+ import Po from "./index182.js";
100
+ import No from "./index183.js";
101
+ import Co from "./index184.js";
102
+ import Oo from "./index185.js";
103
+ import $o from "./index186.js";
104
+ import Eo from "./index187.js";
105
+ import So from "./index188.js";
106
+ import To from "./index189.js";
107
+ import jo from "./index190.js";
108
+ import Lo from "./index191.js";
109
+ import Ro from "./index192.js";
110
+ import Fo from "./index193.js";
111
+ import Bo from "./index194.js";
112
+ import Do from "./index195.js";
113
+ import Mo from "./index196.js";
114
+ import qo from "./index197.js";
115
+ import Go from "./index198.js";
116
+ import Vo from "./index199.js";
117
+ import Ho from "./index200.js";
118
+ import Jo from "./index201.js";
119
+ import Ko from "./index202.js";
120
+ import Qo from "./index203.js";
121
+ import Uo from "./index204.js";
122
122
  import a from "react";
123
- import { ReactSVG as Wo } from "./index204.js";
124
- import { getA11yNameAttributes as Xo } from "./index81.js";
125
- import { useAccessiblePress as Yo } from "./index67.js";
126
- import "./index72.js";
123
+ import { ReactSVG as Wo } from "./index205.js";
124
+ import { getA11yNameAttributes as Xo } from "./index82.js";
125
+ import { useAccessiblePress as Yo } from "./index68.js";
126
+ import "./index73.js";
127
127
  function m() {
128
128
  return m = Object.assign ? Object.assign.bind() : function(s) {
129
129
  for (var t = 1; t < arguments.length; t++) {
package/dist/index60.js CHANGED
@@ -1,122 +1,89 @@
1
- import e, { useState as p, useRef as g, useEffect as I } from "react";
2
- import { Button as x } from "./index4.js";
3
- const n = 40, f = 7, y = 3, T = Array.from({
4
- length: 12
5
- }, (r, o) => String(o + 1).padStart(2, "0")), w = Array.from({
6
- length: 60
7
- }, (r, o) => String(o).padStart(2, "0")), M = ["AM", "PM"], h = ({
8
- items: r,
9
- selectedIndex: o,
10
- onSelect: d,
11
- automationId: u = ""
1
+ import e, { useRef as S, useState as f } from "react";
2
+ import { CustomModal as T } from "./index13.js";
3
+ import { Icon as v } from "./index6.js";
4
+ /* empty css */
5
+ const C = ({
6
+ children: c = null,
7
+ title: n = "",
8
+ onClose: s = () => {
9
+ },
10
+ showCloseIcon: l = !1,
11
+ showBackButton: a = !1,
12
+ onBack: m = () => {
13
+ },
14
+ className: i = "",
15
+ automationId: r = "",
16
+ minHeight: u = "auto"
12
17
  }) => {
13
- const l = g(null), s = g(null);
14
- I(() => {
15
- l.current && l.current.scrollTo({
16
- top: o * n,
17
- behavior: "smooth"
18
- });
19
- }, [o]);
20
- const a = () => {
21
- l.current && (s.current && clearTimeout(s.current), s.current = setTimeout(() => {
22
- const t = l.current;
23
- if (!t) return;
24
- const c = Math.round(t.scrollTop / n), m = Math.max(0, Math.min(r.length - 1, c));
25
- t.scrollTo({
26
- top: m * n,
27
- behavior: "smooth"
28
- }), m !== o && d(m);
29
- }, 100));
30
- }, i = (t) => {
31
- d(t), l.current?.scrollTo({
32
- top: t * n,
33
- behavior: "smooth"
34
- });
18
+ const t = S(null), [g, p] = f(0), [E, h] = f(0), [b, Y] = f(!1), k = (o) => {
19
+ p(o.touches[0].clientY), h(o.touches[0].clientY), Y(!0);
20
+ }, N = (o) => {
21
+ if (!b) return;
22
+ const d = o.touches[0].clientY, x = d - g;
23
+ x > 0 && (h(d), t.current && (t.current.style.transform = `translateY(${x}px)`));
24
+ }, y = () => {
25
+ if (!b) return;
26
+ E - g > 60 ? s() : t.current && (t.current.style.transform = "translateY(0)"), Y(!1), p(0), h(0);
35
27
  };
36
28
  return /* @__PURE__ */ e.createElement("div", {
37
- className: "w-14"
38
- }, /* @__PURE__ */ e.createElement("div", {
39
- ref: l,
40
- className: "overflow-y-auto [&::-webkit-scrollbar]:hidden",
41
- onScroll: a,
29
+ ref: t,
30
+ className: `se-design-bottom-sheet relative h-max max-h-[98vh] rounded-t-2xl flex flex-col pt-5 ${i}`,
31
+ onClick: (o) => o.stopPropagation(),
32
+ onTouchStart: k,
33
+ onTouchMove: N,
34
+ onTouchEnd: y,
35
+ "data-automation-id": r,
42
36
  style: {
43
- height: f * n,
44
- paddingTop: y * n,
45
- paddingBottom: y * n,
46
- scrollSnapType: "y mandatory",
47
- scrollbarWidth: "none"
37
+ minHeight: u
48
38
  }
49
- }, r.map((t, c) => /* @__PURE__ */ e.createElement("div", {
50
- key: t,
51
- className: `flex items-center justify-center cursor-pointer select-none transition-colors h-10 ${c === o ? "text-[var(--color-blue-500)] font-semibold" : "text-[var(--color-gray-700)] hover:text-[var(--color-blue-500)]"}`,
52
- onClick: () => i(c),
53
- style: {
54
- scrollSnapAlign: "center"
55
- },
56
- "data-automation-id": `${u}-item-${c}`
57
- }, t))));
58
- }, $ = ({
59
- initialHour: r = 12,
60
- initialMinute: o = 0,
61
- onApply: d,
62
- ctaLabel: u = "Apply",
63
- onClose: l,
64
- className: s = "",
65
- automationId: a = "timepicker"
66
- }) => {
67
- const [i, t] = p(() => r === 0 ? 11 : r > 12 ? r - 12 - 1 : r - 1), [c, m] = p(Math.max(0, Math.min(59, o ?? 0))), [v, E] = p(
68
- () => r >= 12 ? 1 : 0
69
- // 0-11 = AM, 12-23 = PM
70
- ), b = () => {
71
- const S = v === 1 ? i + 12 : i;
72
- d?.({
73
- hour: S + 1,
74
- minute: c
75
- }), l?.();
76
- };
77
- return /* @__PURE__ */ e.createElement("div", {
78
- className: `se-design-timepicker-container w-full min-w-[216px] bg-[var(--color-white)] rounded-xl shadow-md border border-[var(--color-gray-400)] overflow-hidden ${s}`
79
- }, /* @__PURE__ */ e.createElement("div", {
80
- className: "se-design-timepicker-content w-full relative p-4"
81
- }, /* @__PURE__ */ e.createElement("div", {
82
- className: "absolute left-4 right-4 top-1/2 -translate-y-1/2 h-10 bg-[var(--color-blue-50)] rounded-lg pointer-events-none z-0"
83
- }), /* @__PURE__ */ e.createElement("div", {
84
- className: "flex justify-between gap-2 relative z-10"
85
- }, /* @__PURE__ */ e.createElement(h, {
86
- items: T,
87
- selectedIndex: i,
88
- onSelect: t,
89
- automationId: `${a}-hours`
39
+ }, (n || a) && /* @__PURE__ */ e.createElement("div", {
40
+ className: "se-design-bottom-sheet-header flex items-center justify-left gap-3 mr-6 px-4"
41
+ }, a && /* @__PURE__ */ e.createElement(v, {
42
+ name: "back",
43
+ stroke: "var(--color-gray-700)",
44
+ onClick: m,
45
+ className: "se-design-bottom-sheet-back-icon cursor-pointer",
46
+ automationId: `${r}-back-icon`
47
+ }), n && /* @__PURE__ */ e.createElement("div", {
48
+ className: "se-design-bottom-sheet-title text-lg font-semibold"
49
+ }, n)), l && /* @__PURE__ */ e.createElement(v, {
50
+ name: "close",
51
+ onClick: s,
52
+ className: "se-design-bottom-sheet-close-icon absolute top-6 right-4 cursor-pointer z-10",
53
+ automationId: `${r}-close-icon`
90
54
  }), /* @__PURE__ */ e.createElement("div", {
91
- className: "w-px bg-[var(--color-gray-200)]",
92
- style: {
93
- height: f * n
94
- }
95
- }), /* @__PURE__ */ e.createElement(h, {
96
- items: w,
97
- selectedIndex: c,
98
- onSelect: m,
99
- automationId: `${a}-minutes`
100
- }), /* @__PURE__ */ e.createElement("div", {
101
- className: "w-px bg-[var(--color-gray-200)]",
102
- style: {
103
- height: f * n
104
- }
105
- }), /* @__PURE__ */ e.createElement(h, {
106
- items: M,
107
- selectedIndex: v,
108
- onSelect: E,
109
- automationId: `${a}-periods`
110
- }))), /* @__PURE__ */ e.createElement("div", {
111
- className: "se-design-timepicker-footer flex justify-end p-3 border-t border-[var(--color-gray-200)]"
112
- }, /* @__PURE__ */ e.createElement(x, {
113
- label: u,
114
- type: "primary",
115
- onClick: b,
116
- automationId: `${a}-apply-button`
117
- })));
118
- };
55
+ className: "se-design-bottom-sheet-content px-4 pb-5 flex-1 min-h-0 overflow-y-auto"
56
+ }, c));
57
+ }, I = ({
58
+ isOpen: c = !1,
59
+ title: n = "",
60
+ onClose: s = () => {
61
+ },
62
+ children: l = null,
63
+ showCloseIcon: a = !0,
64
+ showBackButton: m = !1,
65
+ onBack: i = () => {
66
+ },
67
+ className: r = "",
68
+ automationId: u = "bottomsheet",
69
+ minHeight: t = ""
70
+ }) => /* @__PURE__ */ e.createElement(T, {
71
+ isOpen: c,
72
+ onClose: s,
73
+ onModalClick: s,
74
+ className: "custom-bottom-sheet",
75
+ renderModalContent: () => /* @__PURE__ */ e.createElement(C, {
76
+ title: n,
77
+ onClose: s,
78
+ showCloseIcon: a,
79
+ showBackButton: m,
80
+ onBack: i,
81
+ className: r,
82
+ automationId: u,
83
+ minHeight: t
84
+ }, l)
85
+ });
119
86
  export {
120
- $ as TimePicker
87
+ I as BottomSheet
121
88
  };
122
89
  //# sourceMappingURL=index60.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index60.js","sources":["../src/components/TimePicker/index.tsx"],"sourcesContent":["import React, { useState, useRef, useEffect } from 'react';\nimport { Button } from '../Button';\n\nexport interface TimePickerProps {\n initialHour?: number;\n initialMinute?: number;\n onApply?: (time: { hour: number; minute: number }) => void;\n ctaLabel?: string;\n onClose?: () => void;\n className?: string;\n automationId?: string;\n}\n\nconst ITEM_HEIGHT = 40;\nconst VISIBLE_ITEMS = 7;\nconst BUFFER_ITEMS = 3;\n\nconst HOURS = Array.from({ length: 12 }, (_, i) => String(i + 1).padStart(2, '0'));\nconst MINUTES = Array.from({ length: 60 }, (_, i) => String(i).padStart(2, '0'));\nconst PERIODS: ('AM' | 'PM')[] = ['AM', 'PM'];\n\ninterface ScrollColumnProps {\n items: readonly string[];\n selectedIndex: number;\n onSelect: (index: number) => void;\n automationId?: string;\n}\n\nconst ScrollColumn: React.FC<ScrollColumnProps> = ({ items, selectedIndex, onSelect, automationId = '' }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const scrollTimeout = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n useEffect(() => {\n if (containerRef.current) {\n containerRef.current.scrollTo({ top: selectedIndex * ITEM_HEIGHT, behavior: 'smooth' });\n }\n }, [selectedIndex]);\n\n const handleScroll = () => {\n if (!containerRef.current) return;\n\n if (scrollTimeout.current) clearTimeout(scrollTimeout.current);\n\n scrollTimeout.current = setTimeout(() => {\n const container = containerRef.current;\n if (!container) return;\n\n const newIndex = Math.round(container.scrollTop / ITEM_HEIGHT);\n const clampedIndex = Math.max(0, Math.min(items.length - 1, newIndex));\n\n container.scrollTo({ top: clampedIndex * ITEM_HEIGHT, behavior: 'smooth' });\n\n if (clampedIndex !== selectedIndex) onSelect(clampedIndex);\n }, 100);\n };\n\n const handleItemClick = (index: number) => {\n onSelect(index);\n containerRef.current?.scrollTo({ top: index * ITEM_HEIGHT, behavior: 'smooth' });\n };\n\n return (\n <div className=\"w-14\">\n <div\n ref={containerRef}\n className=\"overflow-y-auto [&::-webkit-scrollbar]:hidden\"\n onScroll={handleScroll}\n style={{\n height: VISIBLE_ITEMS * ITEM_HEIGHT,\n paddingTop: BUFFER_ITEMS * ITEM_HEIGHT,\n paddingBottom: BUFFER_ITEMS * ITEM_HEIGHT,\n scrollSnapType: 'y mandatory',\n scrollbarWidth: 'none'\n }}\n >\n {items.map((item, index) => (\n <div\n key={item}\n className={`flex items-center justify-center cursor-pointer select-none transition-colors h-10 ${\n index === selectedIndex\n ? 'text-[var(--color-blue-500)] font-semibold'\n : 'text-[var(--color-gray-700)] hover:text-[var(--color-blue-500)]'\n }`}\n onClick={() => handleItemClick(index)}\n style={{ scrollSnapAlign: 'center' }}\n data-automation-id={`${automationId}-item-${index}`}\n >\n {item}\n </div>\n ))}\n </div>\n </div>\n );\n};\n\nexport const TimePicker: React.FC<TimePickerProps> = ({\n initialHour = 12,\n initialMinute = 0,\n onApply,\n ctaLabel = 'Apply',\n onClose,\n className = '',\n automationId = 'timepicker'\n}) => {\n const [selectedHourIndex, setSelectedHourIndex] = useState(() => {\n if (initialHour === 0) return 11; // 0 = 12 AM\n if (initialHour > 12) return initialHour - 12 - 1; // 13-23 → 1-11 (PM hours)\n return initialHour - 1; // 1-12 → 0-11\n });\n const [selectedMinuteIndex, setSelectedMinuteIndex] = useState(Math.max(0, Math.min(59, initialMinute ?? 0)));\n const [selectedPeriodIndex, setSelectedPeriodIndex] = useState(\n () => (initialHour >= 12 ? 1 : 0) // 0-11 = AM, 12-23 = PM\n );\n\n const handleApply = () => {\n const hourIn24Format = selectedPeriodIndex === 1 ? selectedHourIndex + 12 : selectedHourIndex;\n onApply?.({\n hour: hourIn24Format + 1,\n minute: selectedMinuteIndex\n });\n onClose?.();\n };\n\n return (\n <div\n className={`se-design-timepicker-container w-full min-w-[216px] bg-[var(--color-white)] rounded-xl shadow-md border border-[var(--color-gray-400)] overflow-hidden ${className}`}\n >\n <div className=\"se-design-timepicker-content w-full relative p-4\">\n <div className=\"absolute left-4 right-4 top-1/2 -translate-y-1/2 h-10 bg-[var(--color-blue-50)] rounded-lg pointer-events-none z-0\" />\n <div className=\"flex justify-between gap-2 relative z-10\">\n <ScrollColumn\n items={HOURS}\n selectedIndex={selectedHourIndex}\n onSelect={setSelectedHourIndex}\n automationId={`${automationId}-hours`}\n />\n <div className=\"w-px bg-[var(--color-gray-200)]\" style={{ height: VISIBLE_ITEMS * ITEM_HEIGHT }} />\n <ScrollColumn\n items={MINUTES}\n selectedIndex={selectedMinuteIndex}\n onSelect={setSelectedMinuteIndex}\n automationId={`${automationId}-minutes`}\n />\n <div className=\"w-px bg-[var(--color-gray-200)]\" style={{ height: VISIBLE_ITEMS * ITEM_HEIGHT }} />\n <ScrollColumn\n items={PERIODS}\n selectedIndex={selectedPeriodIndex}\n onSelect={setSelectedPeriodIndex}\n automationId={`${automationId}-periods`}\n />\n </div>\n </div>\n <div className=\"se-design-timepicker-footer flex justify-end p-3 border-t border-[var(--color-gray-200)]\">\n <Button label={ctaLabel} type=\"primary\" onClick={handleApply} automationId={`${automationId}-apply-button`} />\n </div>\n </div>\n );\n};\n"],"names":["ITEM_HEIGHT","VISIBLE_ITEMS","BUFFER_ITEMS","HOURS","Array","from","length","_","i","String","padStart","MINUTES","PERIODS","ScrollColumn","items","selectedIndex","onSelect","automationId","containerRef","useRef","scrollTimeout","useEffect","current","scrollTo","top","behavior","handleScroll","clearTimeout","setTimeout","container","newIndex","Math","round","scrollTop","clampedIndex","max","min","handleItemClick","index","React","createElement","className","ref","onScroll","style","height","paddingTop","paddingBottom","scrollSnapType","scrollbarWidth","map","item","key","onClick","scrollSnapAlign","TimePicker","initialHour","initialMinute","onApply","ctaLabel","onClose","selectedHourIndex","setSelectedHourIndex","useState","selectedMinuteIndex","setSelectedMinuteIndex","selectedPeriodIndex","setSelectedPeriodIndex","handleApply","hourIn24Format","hour","minute","Button","label","type"],"mappings":";;AAaA,MAAMA,IAAc,IACdC,IAAgB,GAChBC,IAAe,GAEfC,IAAQC,MAAMC,KAAK;AAAA,EAAEC,QAAQ;AAAG,GAAG,CAACC,GAAGC,MAAMC,OAAOD,IAAI,CAAC,EAAEE,SAAS,GAAG,GAAG,CAAC,GAC3EC,IAAUP,MAAMC,KAAK;AAAA,EAAEC,QAAQ;AAAG,GAAG,CAACC,GAAGC,MAAMC,OAAOD,CAAC,EAAEE,SAAS,GAAG,GAAG,CAAC,GACzEE,IAA2B,CAAC,MAAM,IAAI,GAStCC,IAA4CA,CAAC;AAAA,EAAEC,OAAAA;AAAAA,EAAOC,eAAAA;AAAAA,EAAeC,UAAAA;AAAAA,EAAUC,cAAAA,IAAe;AAAG,MAAM;AAC3G,QAAMC,IAAeC,EAAuB,IAAI,GAC1CC,IAAgBD,EAA6C,IAAI;AAEvEE,EAAAA,EAAU,MAAM;AACd,IAAIH,EAAaI,WACfJ,EAAaI,QAAQC,SAAS;AAAA,MAAEC,KAAKT,IAAgBf;AAAAA,MAAayB,UAAU;AAAA,IAAA,CAAU;AAAA,EAE1F,GAAG,CAACV,CAAa,CAAC;AAElB,QAAMW,IAAeA,MAAM;AACzB,IAAKR,EAAaI,YAEdF,EAAcE,WAASK,aAAaP,EAAcE,OAAO,GAE7DF,EAAcE,UAAUM,WAAW,MAAM;AACvC,YAAMC,IAAYX,EAAaI;AAC/B,UAAI,CAACO,EAAW;AAEhB,YAAMC,IAAWC,KAAKC,MAAMH,EAAUI,YAAYjC,CAAW,GAC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AA,IACPI,eAAeiD;AAAAA,IACfhD,UAAUiD;AAAAA,IACVhD,cAAc,GAAGA,CAAY;AAAA,EAAA,CAC9B,GACDsB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,IAAkCG,OAAO;AAAA,MAAEC,QAAQ5C,IAAgBD;AAAAA,IAAAA;AAAAA,EAAY,CAAI,GAClGuC,gBAAAA,EAAAC,cAAC3B,GAAY;AAAA,IACXC,OAAOF;AAAAA,IACPG,eAAemD;AAAAA,IACflD,UAAUmD;AAAAA,IACVlD,cAAc,GAAGA,CAAY;AAAA,EAAA,CAC9B,CACE,CACF,GACLsB,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,EAAA,GACbF,gBAAAA,EAAAC,cAACgC,GAAM;AAAA,IAACC,OAAOd;AAAAA,IAAUe,MAAK;AAAA,IAAUrB,SAASe;AAAAA,IAAanD,cAAc,GAAGA,CAAY;AAAA,EAAA,CAAkB,CAC1G,CACF;AAET;"}
1
+ {"version":3,"file":"index60.js","sources":["../src/components/BottomSheet/index.tsx"],"sourcesContent":["import React, { FC, useState, useRef } from 'react';\nimport { CustomModal } from '../CustomModal';\nimport { Icon } from '../Icon';\n\nimport './style.scss';\n\nexport interface BottomSheetProps {\n isOpen: boolean;\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\ninterface BottomSheetContentProps {\n title?: string;\n onClose: () => void;\n showCloseIcon?: boolean;\n showBackButton?: boolean;\n onBack?: () => void;\n children: React.ReactNode;\n className?: string;\n automationId?: string;\n minHeight?: string;\n}\n\nconst BottomSheetContent: FC<BottomSheetContentProps> = ({\n children = null,\n title = '',\n onClose = () => {},\n showCloseIcon = false,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = '',\n minHeight = 'auto'\n}) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const [startY, setStartY] = useState<number>(0);\n const [currentY, setCurrentY] = useState<number>(0);\n const [isDragging, setIsDragging] = useState<boolean>(false);\n\n const handleTouchStart = (e: React.TouchEvent) => {\n setStartY(e.touches[0].clientY);\n setCurrentY(e.touches[0].clientY);\n setIsDragging(true);\n };\n\n const handleTouchMove = (e: React.TouchEvent) => {\n if (!isDragging) return;\n\n const touchY = e.touches[0].clientY;\n const deltaY = touchY - startY;\n\n // Only allow dragging down\n if (deltaY > 0) {\n setCurrentY(touchY);\n if (contentRef.current) {\n contentRef.current.style.transform = `translateY(${deltaY}px)`;\n }\n }\n };\n\n const handleTouchEnd = () => {\n if (!isDragging) return;\n\n const deltaY = currentY - startY;\n const threshold = 60; // pixels to swipe down to trigger close\n\n if (deltaY > threshold) {\n // Trigger close\n onClose();\n } else {\n // Reset position\n if (contentRef.current) {\n contentRef.current.style.transform = 'translateY(0)';\n }\n }\n\n setIsDragging(false);\n setStartY(0);\n setCurrentY(0);\n };\n\n return (\n <div\n ref={contentRef}\n className={`se-design-bottom-sheet relative h-max max-h-[98vh] rounded-t-2xl flex flex-col pt-5 ${className}`}\n onClick={(e) => e.stopPropagation()}\n onTouchStart={handleTouchStart}\n onTouchMove={handleTouchMove}\n onTouchEnd={handleTouchEnd}\n data-automation-id={automationId}\n style={{ minHeight }}\n >\n {(title || showBackButton) && (\n <div className=\"se-design-bottom-sheet-header flex items-center justify-left gap-3 mr-6 px-4\">\n {showBackButton && (\n <Icon\n name=\"back\"\n stroke=\"var(--color-gray-700)\"\n onClick={onBack}\n className=\"se-design-bottom-sheet-back-icon cursor-pointer\"\n automationId={`${automationId}-back-icon`}\n />\n )}\n {title && <div className=\"se-design-bottom-sheet-title text-lg font-semibold\">{title}</div>}\n </div>\n )}\n {showCloseIcon && (\n <Icon\n name=\"close\"\n onClick={onClose}\n className=\"se-design-bottom-sheet-close-icon absolute top-6 right-4 cursor-pointer z-10\"\n automationId={`${automationId}-close-icon`}\n />\n )}\n <div className=\"se-design-bottom-sheet-content px-4 pb-5 flex-1 min-h-0 overflow-y-auto\">{children}</div>\n </div>\n );\n};\n\nexport const BottomSheet: FC<BottomSheetProps> = ({\n isOpen = false,\n title = '',\n onClose = () => {},\n children = null,\n showCloseIcon = true,\n showBackButton = false,\n onBack = () => {},\n className = '',\n automationId = 'bottomsheet',\n minHeight = ''\n}) => {\n return (\n <CustomModal\n isOpen={isOpen}\n onClose={onClose}\n onModalClick={onClose}\n className=\"custom-bottom-sheet\"\n renderModalContent={() => (\n <BottomSheetContent\n title={title}\n onClose={onClose}\n showCloseIcon={showCloseIcon}\n showBackButton={showBackButton}\n onBack={onBack}\n className={className}\n automationId={automationId}\n minHeight={minHeight}\n >\n {children}\n </BottomSheetContent>\n )}\n />\n );\n};\n"],"names":["BottomSheetContent","children","title","onClose","showCloseIcon","showBackButton","onBack","className","automationId","minHeight","contentRef","useRef","startY","setStartY","useState","currentY","setCurrentY","isDragging","setIsDragging","handleTouchStart","e","touches","clientY","handleTouchMove","touchY","deltaY","current","style","transform","handleTouchEnd","React","createElement","ref","onClick","stopPropagation","onTouchStart","onTouchMove","onTouchEnd","Icon","name","stroke","BottomSheet","isOpen","CustomModal","onModalClick","renderModalContent"],"mappings":";;;;AA+BA,MAAMA,IAAkDA,CAAC;AAAA,EACvDC,UAAAA,IAAW;AAAA,EACXC,OAAAA,IAAQ;AAAA,EACRC,SAAAA,IAAUA,MAAM;AAAA,EAAC;AAAA,EACjBC,eAAAA,IAAgB;AAAA,EAChBC,gBAAAA,IAAiB;AAAA,EACjBC,QAAAA,IAASA,MAAM;AAAA,EAAC;AAAA,EAChBC,WAAAA,IAAY;AAAA,EACZC,cAAAA,IAAe;AAAA,EACfC,WAAAA,IAAY;AACd,MAAM;AACJ,QAAMC,IAAaC,EAAuB,IAAI,GACxC,CAACC,GAAQC,CAAS,IAAIC,EAAiB,CAAC,GACxC,CAACC,GAAUC,CAAW,IAAIF,EAAiB,CAAC,GAC5C,CAACG,GAAYC,CAAa,IAAIJ,E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