@ktnpm_devops/react-component 0.20.0 → 0.21.0

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 (407) hide show
  1. package/dist/composites/CustomRangePicker/CustomRangePicker.d.ts.map +1 -1
  2. package/dist/composites/DatePickerDropdown/DatePickerDropdown.d.ts.map +1 -1
  3. package/dist/composites/FilterDropdown/FilterDropdown.d.ts.map +1 -1
  4. package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
  5. package/dist/composites/SingleSelectDropdown/SingleSelectDropdown.d.ts.map +1 -1
  6. package/dist/hooks/usePanelPlacement.d.ts +12 -20
  7. package/dist/hooks/usePanelPlacement.d.ts.map +1 -1
  8. package/dist/index10.cjs +1 -1
  9. package/dist/index10.js +1 -1
  10. package/dist/index100.cjs +10 -39
  11. package/dist/index100.cjs.map +1 -1
  12. package/dist/index100.js +9 -38
  13. package/dist/index100.js.map +1 -1
  14. package/dist/index101.cjs +62 -47
  15. package/dist/index101.cjs.map +1 -1
  16. package/dist/index101.js +62 -47
  17. package/dist/index101.js.map +1 -1
  18. package/dist/index102.cjs +18 -35
  19. package/dist/index102.cjs.map +1 -1
  20. package/dist/index102.js +17 -34
  21. package/dist/index102.js.map +1 -1
  22. package/dist/index103.cjs +27 -43
  23. package/dist/index103.cjs.map +1 -1
  24. package/dist/index103.js +26 -42
  25. package/dist/index103.js.map +1 -1
  26. package/dist/index104.cjs +18 -24
  27. package/dist/index104.cjs.map +1 -1
  28. package/dist/index104.js +17 -23
  29. package/dist/index104.js.map +1 -1
  30. package/dist/index105.cjs +18 -39
  31. package/dist/index105.cjs.map +1 -1
  32. package/dist/index105.js +17 -38
  33. package/dist/index105.js.map +1 -1
  34. package/dist/index106.cjs +7 -9
  35. package/dist/index106.cjs.map +1 -1
  36. package/dist/index106.js +6 -8
  37. package/dist/index106.js.map +1 -1
  38. package/dist/index107.cjs +24 -10
  39. package/dist/index107.cjs.map +1 -1
  40. package/dist/index107.js +23 -9
  41. package/dist/index107.js.map +1 -1
  42. package/dist/index108.cjs +22 -20
  43. package/dist/index108.cjs.map +1 -1
  44. package/dist/index108.js +21 -19
  45. package/dist/index108.js.map +1 -1
  46. package/dist/index109.cjs +7 -14
  47. package/dist/index109.cjs.map +1 -1
  48. package/dist/index109.js +6 -13
  49. package/dist/index109.js.map +1 -1
  50. package/dist/index11.cjs +1 -1
  51. package/dist/index11.js +1 -1
  52. package/dist/index110.cjs +24 -10
  53. package/dist/index110.cjs.map +1 -1
  54. package/dist/index110.js +23 -9
  55. package/dist/index110.js.map +1 -1
  56. package/dist/index111.cjs +17 -69
  57. package/dist/index111.cjs.map +1 -1
  58. package/dist/index111.js +16 -68
  59. package/dist/index111.js.map +1 -1
  60. package/dist/index112.cjs +2 -11
  61. package/dist/index112.cjs.map +1 -1
  62. package/dist/index112.js +2 -11
  63. package/dist/index112.js.map +1 -1
  64. package/dist/index113.cjs +10 -28
  65. package/dist/index113.cjs.map +1 -1
  66. package/dist/index113.js +11 -29
  67. package/dist/index113.js.map +1 -1
  68. package/dist/index114.cjs +2 -14
  69. package/dist/index114.cjs.map +1 -1
  70. package/dist/index114.js +2 -14
  71. package/dist/index114.js.map +1 -1
  72. package/dist/index115.cjs +32 -35
  73. package/dist/index115.cjs.map +1 -1
  74. package/dist/index115.js +32 -35
  75. package/dist/index115.js.map +1 -1
  76. package/dist/index116.cjs +16 -34
  77. package/dist/index116.cjs.map +1 -1
  78. package/dist/index116.js +16 -34
  79. package/dist/index116.js.map +1 -1
  80. package/dist/index117.cjs +14 -14
  81. package/dist/index117.js +15 -15
  82. package/dist/index118.cjs +14 -14
  83. package/dist/index118.js +15 -15
  84. package/dist/index119.cjs +13 -52
  85. package/dist/index119.cjs.map +1 -1
  86. package/dist/index119.js +14 -53
  87. package/dist/index119.js.map +1 -1
  88. package/dist/index12.cjs +1 -1
  89. package/dist/index12.js +1 -1
  90. package/dist/index120.cjs +36 -6
  91. package/dist/index120.cjs.map +1 -1
  92. package/dist/index120.js +36 -6
  93. package/dist/index120.js.map +1 -1
  94. package/dist/index121.cjs +49 -19
  95. package/dist/index121.cjs.map +1 -1
  96. package/dist/index121.js +50 -20
  97. package/dist/index121.js.map +1 -1
  98. package/dist/index122.cjs +48 -10
  99. package/dist/index122.cjs.map +1 -1
  100. package/dist/index122.js +47 -9
  101. package/dist/index122.js.map +1 -1
  102. package/dist/index123.cjs +18 -16
  103. package/dist/index123.cjs.map +1 -1
  104. package/dist/index123.js +17 -15
  105. package/dist/index123.js.map +1 -1
  106. package/dist/index124.cjs +32 -2
  107. package/dist/index124.cjs.map +1 -1
  108. package/dist/index124.js +33 -3
  109. package/dist/index124.js.map +1 -1
  110. package/dist/index125.cjs +30 -36
  111. package/dist/index125.cjs.map +1 -1
  112. package/dist/index125.js +30 -36
  113. package/dist/index125.js.map +1 -1
  114. package/dist/index126.cjs +2 -14
  115. package/dist/index126.cjs.map +1 -1
  116. package/dist/index126.js +2 -14
  117. package/dist/index126.js.map +1 -1
  118. package/dist/index127.cjs +46 -22
  119. package/dist/index127.cjs.map +1 -1
  120. package/dist/index127.js +46 -22
  121. package/dist/index127.js.map +1 -1
  122. package/dist/index128.cjs +12 -30
  123. package/dist/index128.cjs.map +1 -1
  124. package/dist/index128.js +12 -30
  125. package/dist/index128.js.map +1 -1
  126. package/dist/index129.cjs +43 -9
  127. package/dist/index129.cjs.map +1 -1
  128. package/dist/index129.js +43 -9
  129. package/dist/index129.js.map +1 -1
  130. package/dist/index13.cjs +1 -1
  131. package/dist/index13.js +1 -1
  132. package/dist/index130.cjs +70 -1158
  133. package/dist/index130.cjs.map +1 -1
  134. package/dist/index130.js +70 -1159
  135. package/dist/index130.js.map +1 -1
  136. package/dist/index131.cjs +1063 -1475
  137. package/dist/index131.cjs.map +1 -1
  138. package/dist/index131.js +1063 -1475
  139. package/dist/index131.js.map +1 -1
  140. package/dist/index132.cjs +1572 -31
  141. package/dist/index132.cjs.map +1 -1
  142. package/dist/index132.js +1572 -30
  143. package/dist/index132.js.map +1 -1
  144. package/dist/index133.cjs +37 -0
  145. package/dist/index133.cjs.map +1 -0
  146. package/dist/index133.js +37 -0
  147. package/dist/index133.js.map +1 -0
  148. package/dist/index14.cjs +1 -1
  149. package/dist/index14.js +1 -1
  150. package/dist/index15.cjs +1 -1
  151. package/dist/index15.js +1 -1
  152. package/dist/index16.cjs +1 -1
  153. package/dist/index16.js +1 -1
  154. package/dist/index17.cjs +1 -1
  155. package/dist/index17.js +1 -1
  156. package/dist/index18.cjs +1 -1
  157. package/dist/index18.js +1 -1
  158. package/dist/index19.cjs +1 -1
  159. package/dist/index19.js +1 -1
  160. package/dist/index20.cjs +1 -1
  161. package/dist/index20.js +1 -1
  162. package/dist/index21.cjs +1 -1
  163. package/dist/index21.js +1 -1
  164. package/dist/index22.cjs +1 -1
  165. package/dist/index22.js +1 -1
  166. package/dist/index23.cjs +1 -1
  167. package/dist/index23.js +1 -1
  168. package/dist/index24.cjs +1 -1
  169. package/dist/index24.js +1 -1
  170. package/dist/index25.cjs +4 -3
  171. package/dist/index25.cjs.map +1 -1
  172. package/dist/index25.js +4 -3
  173. package/dist/index25.js.map +1 -1
  174. package/dist/index26.cjs +1 -1
  175. package/dist/index26.js +1 -1
  176. package/dist/index27.cjs +4 -3
  177. package/dist/index27.cjs.map +1 -1
  178. package/dist/index27.js +4 -3
  179. package/dist/index27.js.map +1 -1
  180. package/dist/index28.cjs +1 -1
  181. package/dist/index28.js +1 -1
  182. package/dist/index29.cjs +4 -3
  183. package/dist/index29.cjs.map +1 -1
  184. package/dist/index29.js +4 -3
  185. package/dist/index29.js.map +1 -1
  186. package/dist/index30.cjs +10 -10
  187. package/dist/index30.js +10 -10
  188. package/dist/index31.cjs +4 -4
  189. package/dist/index31.js +4 -4
  190. package/dist/index32.cjs +3 -3
  191. package/dist/index32.js +3 -3
  192. package/dist/index33.cjs +1 -1
  193. package/dist/index33.js +1 -1
  194. package/dist/index34.cjs +1 -1
  195. package/dist/index34.js +1 -1
  196. package/dist/index35.cjs +1 -1
  197. package/dist/index35.js +1 -1
  198. package/dist/index36.cjs +2 -2
  199. package/dist/index36.js +2 -2
  200. package/dist/index37.cjs +1 -1
  201. package/dist/index37.js +1 -1
  202. package/dist/index38.cjs +4 -3
  203. package/dist/index38.cjs.map +1 -1
  204. package/dist/index38.js +4 -3
  205. package/dist/index38.js.map +1 -1
  206. package/dist/index39.cjs +1 -1
  207. package/dist/index39.js +1 -1
  208. package/dist/index40.cjs +1 -1
  209. package/dist/index40.js +1 -1
  210. package/dist/index41.cjs +1 -1
  211. package/dist/index41.js +1 -1
  212. package/dist/index42.cjs +1 -1
  213. package/dist/index42.js +1 -1
  214. package/dist/index43.cjs +1 -1
  215. package/dist/index43.js +1 -1
  216. package/dist/index44.cjs +1 -1
  217. package/dist/index44.js +1 -1
  218. package/dist/index45.cjs +3 -3
  219. package/dist/index45.js +3 -3
  220. package/dist/index47.cjs +1 -1
  221. package/dist/index47.js +1 -1
  222. package/dist/index48.cjs +1 -1
  223. package/dist/index48.js +1 -1
  224. package/dist/index49.cjs +1 -1
  225. package/dist/index49.js +1 -1
  226. package/dist/index50.cjs +4 -3
  227. package/dist/index50.cjs.map +1 -1
  228. package/dist/index50.js +4 -3
  229. package/dist/index50.js.map +1 -1
  230. package/dist/index51.cjs +1 -1
  231. package/dist/index51.js +1 -1
  232. package/dist/index52.cjs +2 -2
  233. package/dist/index52.js +2 -2
  234. package/dist/index53.cjs +1 -1
  235. package/dist/index53.js +1 -1
  236. package/dist/index54.cjs +1 -1
  237. package/dist/index54.js +1 -1
  238. package/dist/index55.cjs +2 -2
  239. package/dist/index55.js +2 -2
  240. package/dist/index56.cjs +1 -1
  241. package/dist/index56.js +1 -1
  242. package/dist/index57.cjs +1 -1
  243. package/dist/index57.js +1 -1
  244. package/dist/index58.cjs +1 -1
  245. package/dist/index58.js +1 -1
  246. package/dist/index61.cjs +23 -2
  247. package/dist/index61.cjs.map +1 -1
  248. package/dist/index61.js +24 -3
  249. package/dist/index61.js.map +1 -1
  250. package/dist/index63.cjs +16 -19
  251. package/dist/index63.cjs.map +1 -1
  252. package/dist/index63.js +17 -20
  253. package/dist/index63.js.map +1 -1
  254. package/dist/index64.cjs +17 -14
  255. package/dist/index64.cjs.map +1 -1
  256. package/dist/index64.js +17 -14
  257. package/dist/index64.js.map +1 -1
  258. package/dist/index65.cjs +17 -2
  259. package/dist/index65.cjs.map +1 -1
  260. package/dist/index65.js +18 -3
  261. package/dist/index65.js.map +1 -1
  262. package/dist/index66.cjs +19 -22
  263. package/dist/index66.cjs.map +1 -1
  264. package/dist/index66.js +20 -23
  265. package/dist/index66.js.map +1 -1
  266. package/dist/index67.cjs +12 -15
  267. package/dist/index67.cjs.map +1 -1
  268. package/dist/index67.js +12 -15
  269. package/dist/index67.js.map +1 -1
  270. package/dist/index68.cjs +65 -2
  271. package/dist/index68.cjs.map +1 -1
  272. package/dist/index68.js +66 -3
  273. package/dist/index68.js.map +1 -1
  274. package/dist/index69.cjs +2 -14
  275. package/dist/index69.cjs.map +1 -1
  276. package/dist/index69.js +3 -15
  277. package/dist/index69.js.map +1 -1
  278. package/dist/index70.cjs +73 -18
  279. package/dist/index70.cjs.map +1 -1
  280. package/dist/index70.js +72 -17
  281. package/dist/index70.js.map +1 -1
  282. package/dist/index71.cjs +52 -19
  283. package/dist/index71.cjs.map +1 -1
  284. package/dist/index71.js +52 -19
  285. package/dist/index71.js.map +1 -1
  286. package/dist/index72.cjs +77 -14
  287. package/dist/index72.cjs.map +1 -1
  288. package/dist/index72.js +78 -15
  289. package/dist/index72.js.map +1 -1
  290. package/dist/index73.cjs +19 -134
  291. package/dist/index73.cjs.map +1 -1
  292. package/dist/index73.js +18 -133
  293. package/dist/index73.js.map +1 -1
  294. package/dist/index74.cjs +30 -36
  295. package/dist/index74.cjs.map +1 -1
  296. package/dist/index74.js +30 -36
  297. package/dist/index74.js.map +1 -1
  298. package/dist/index75.cjs +29 -20
  299. package/dist/index75.cjs.map +1 -1
  300. package/dist/index75.js +29 -20
  301. package/dist/index75.js.map +1 -1
  302. package/dist/index76.cjs +5 -29
  303. package/dist/index76.cjs.map +1 -1
  304. package/dist/index76.js +6 -30
  305. package/dist/index76.js.map +1 -1
  306. package/dist/index77.cjs +9 -46
  307. package/dist/index77.cjs.map +1 -1
  308. package/dist/index77.js +8 -45
  309. package/dist/index77.js.map +1 -1
  310. package/dist/index78.cjs +26 -77
  311. package/dist/index78.cjs.map +1 -1
  312. package/dist/index78.js +26 -77
  313. package/dist/index78.js.map +1 -1
  314. package/dist/index79.cjs +33 -42
  315. package/dist/index79.cjs.map +1 -1
  316. package/dist/index79.js +33 -42
  317. package/dist/index79.js.map +1 -1
  318. package/dist/index80.cjs +134 -58
  319. package/dist/index80.cjs.map +1 -1
  320. package/dist/index80.js +133 -57
  321. package/dist/index80.js.map +1 -1
  322. package/dist/index81.cjs +36 -30
  323. package/dist/index81.cjs.map +1 -1
  324. package/dist/index81.js +36 -30
  325. package/dist/index81.js.map +1 -1
  326. package/dist/index82.cjs +58 -48
  327. package/dist/index82.cjs.map +1 -1
  328. package/dist/index82.js +57 -47
  329. package/dist/index82.js.map +1 -1
  330. package/dist/index83.cjs +37 -15
  331. package/dist/index83.cjs.map +1 -1
  332. package/dist/index83.js +37 -15
  333. package/dist/index83.js.map +1 -1
  334. package/dist/index84.cjs +92 -36
  335. package/dist/index84.cjs.map +1 -1
  336. package/dist/index84.js +91 -35
  337. package/dist/index84.js.map +1 -1
  338. package/dist/index85.cjs +34 -10
  339. package/dist/index85.cjs.map +1 -1
  340. package/dist/index85.js +34 -10
  341. package/dist/index85.js.map +1 -1
  342. package/dist/index86.cjs +116 -70
  343. package/dist/index86.cjs.map +1 -1
  344. package/dist/index86.js +115 -69
  345. package/dist/index86.js.map +1 -1
  346. package/dist/index87.cjs +42 -17
  347. package/dist/index87.cjs.map +1 -1
  348. package/dist/index87.js +41 -16
  349. package/dist/index87.js.map +1 -1
  350. package/dist/index88.cjs +22 -6
  351. package/dist/index88.cjs.map +1 -1
  352. package/dist/index88.js +21 -5
  353. package/dist/index88.js.map +1 -1
  354. package/dist/index89.cjs +63 -109
  355. package/dist/index89.cjs.map +1 -1
  356. package/dist/index89.js +64 -110
  357. package/dist/index89.js.map +1 -1
  358. package/dist/index90.cjs +7 -42
  359. package/dist/index90.cjs.map +1 -1
  360. package/dist/index90.js +6 -41
  361. package/dist/index90.js.map +1 -1
  362. package/dist/index91.cjs +34 -16
  363. package/dist/index91.cjs.map +1 -1
  364. package/dist/index91.js +34 -16
  365. package/dist/index91.js.map +1 -1
  366. package/dist/index92.cjs +33 -20
  367. package/dist/index92.cjs.map +1 -1
  368. package/dist/index92.js +33 -20
  369. package/dist/index92.js.map +1 -1
  370. package/dist/index93.cjs +36 -62
  371. package/dist/index93.cjs.map +1 -1
  372. package/dist/index93.js +37 -63
  373. package/dist/index93.js.map +1 -1
  374. package/dist/index94.cjs +23 -6
  375. package/dist/index94.cjs.map +1 -1
  376. package/dist/index94.js +23 -6
  377. package/dist/index94.js.map +1 -1
  378. package/dist/index95.cjs +39 -39
  379. package/dist/index95.cjs.map +1 -1
  380. package/dist/index95.js +38 -38
  381. package/dist/index95.js.map +1 -1
  382. package/dist/index96.cjs +9 -22
  383. package/dist/index96.cjs.map +1 -1
  384. package/dist/index96.js +8 -21
  385. package/dist/index96.js.map +1 -1
  386. package/dist/index97.cjs +10 -6
  387. package/dist/index97.cjs.map +1 -1
  388. package/dist/index97.js +9 -5
  389. package/dist/index97.js.map +1 -1
  390. package/dist/index98.cjs +19 -39
  391. package/dist/index98.cjs.map +1 -1
  392. package/dist/index98.js +19 -39
  393. package/dist/index98.js.map +1 -1
  394. package/dist/index99.cjs +12 -91
  395. package/dist/index99.cjs.map +1 -1
  396. package/dist/index99.js +12 -91
  397. package/dist/index99.js.map +1 -1
  398. package/dist/style.css +55 -0
  399. package/dist/utils/clippingRect.d.ts +11 -11
  400. package/dist/utils/clippingRect.d.ts.map +1 -1
  401. package/dist/utils/panelPlacement.d.ts +34 -0
  402. package/dist/utils/panelPlacement.d.ts.map +1 -0
  403. package/dist/utils/panelPlacement.test.d.ts +2 -0
  404. package/dist/utils/panelPlacement.test.d.ts.map +1 -0
  405. package/dist/utils/panelPlacement.types.d.ts +57 -0
  406. package/dist/utils/panelPlacement.types.d.ts.map +1 -0
  407. package/package.json +1 -1
package/dist/index125.cjs CHANGED
@@ -1,42 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const throbber = "krc-throbber-sSMfc";
4
- const spinner = "krc-spinner-vmNIY";
5
- const loadingSpin = "krc-loading-spin-cFeV6";
6
- const titleRow = "krc-titleRow--Go1f";
7
- const titleSpinner = "krc-titleSpinner-BPUs5";
8
- const steps = "krc-steps-zu1EV";
9
- const step = "krc-step-hzz-Q";
10
- const pending = "krc-pending-sxbM4";
11
- const iconSlot = "krc-iconSlot-74ZD2";
12
- const stepSpinner = "krc-stepSpinner-0d1jM";
13
- const checkIcon = "krc-checkIcon-FhWlj";
14
- const nonClosable = "krc-nonClosable-7NB7j";
3
+ const root = "krc-root-oXC0g";
4
+ const trigger = "krc-trigger-2YW6R";
5
+ const triggerContent = "krc-triggerContent-Nfhff";
6
+ const chevron = "krc-chevron-otnpb";
7
+ const chevronOpen = "krc-chevronOpen-UoLND";
8
+ const badge = "krc-badge-dN-p-";
9
+ const pop = "krc-pop-IfyfL";
10
+ const chips = "krc-chips-J7YEf";
11
+ const clear = "krc-clear--yvPZ";
12
+ const input = "krc-input--QI2U";
15
13
  const styles = {
16
- throbber,
17
- spinner,
18
- loadingSpin,
19
- titleRow,
20
- titleSpinner,
21
- steps,
22
- step,
23
- pending,
24
- iconSlot,
25
- stepSpinner,
26
- checkIcon,
27
- nonClosable
14
+ root,
15
+ trigger,
16
+ triggerContent,
17
+ chevron,
18
+ chevronOpen,
19
+ badge,
20
+ pop,
21
+ chips,
22
+ clear,
23
+ input
28
24
  };
29
- exports.checkIcon = checkIcon;
25
+ exports.badge = badge;
26
+ exports.chevron = chevron;
27
+ exports.chevronOpen = chevronOpen;
28
+ exports.chips = chips;
29
+ exports.clear = clear;
30
30
  exports.default = styles;
31
- exports.iconSlot = iconSlot;
32
- exports.loadingSpin = loadingSpin;
33
- exports.nonClosable = nonClosable;
34
- exports.pending = pending;
35
- exports.spinner = spinner;
36
- exports.step = step;
37
- exports.stepSpinner = stepSpinner;
38
- exports.steps = steps;
39
- exports.throbber = throbber;
40
- exports.titleRow = titleRow;
41
- exports.titleSpinner = titleSpinner;
31
+ exports.input = input;
32
+ exports.pop = pop;
33
+ exports.root = root;
34
+ exports.trigger = trigger;
35
+ exports.triggerContent = triggerContent;
42
36
  //# sourceMappingURL=index125.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index125.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index125.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index125.js CHANGED
@@ -1,42 +1,36 @@
1
- const throbber = "krc-throbber-sSMfc";
2
- const spinner = "krc-spinner-vmNIY";
3
- const loadingSpin = "krc-loading-spin-cFeV6";
4
- const titleRow = "krc-titleRow--Go1f";
5
- const titleSpinner = "krc-titleSpinner-BPUs5";
6
- const steps = "krc-steps-zu1EV";
7
- const step = "krc-step-hzz-Q";
8
- const pending = "krc-pending-sxbM4";
9
- const iconSlot = "krc-iconSlot-74ZD2";
10
- const stepSpinner = "krc-stepSpinner-0d1jM";
11
- const checkIcon = "krc-checkIcon-FhWlj";
12
- const nonClosable = "krc-nonClosable-7NB7j";
1
+ const root = "krc-root-oXC0g";
2
+ const trigger = "krc-trigger-2YW6R";
3
+ const triggerContent = "krc-triggerContent-Nfhff";
4
+ const chevron = "krc-chevron-otnpb";
5
+ const chevronOpen = "krc-chevronOpen-UoLND";
6
+ const badge = "krc-badge-dN-p-";
7
+ const pop = "krc-pop-IfyfL";
8
+ const chips = "krc-chips-J7YEf";
9
+ const clear = "krc-clear--yvPZ";
10
+ const input = "krc-input--QI2U";
13
11
  const styles = {
14
- throbber,
15
- spinner,
16
- loadingSpin,
17
- titleRow,
18
- titleSpinner,
19
- steps,
20
- step,
21
- pending,
22
- iconSlot,
23
- stepSpinner,
24
- checkIcon,
25
- nonClosable
12
+ root,
13
+ trigger,
14
+ triggerContent,
15
+ chevron,
16
+ chevronOpen,
17
+ badge,
18
+ pop,
19
+ chips,
20
+ clear,
21
+ input
26
22
  };
27
23
  export {
28
- checkIcon,
24
+ badge,
25
+ chevron,
26
+ chevronOpen,
27
+ chips,
28
+ clear,
29
29
  styles as default,
30
- iconSlot,
31
- loadingSpin,
32
- nonClosable,
33
- pending,
34
- spinner,
35
- step,
36
- stepSpinner,
37
- steps,
38
- throbber,
39
- titleRow,
40
- titleSpinner
30
+ input,
31
+ pop,
32
+ root,
33
+ trigger,
34
+ triggerContent
41
35
  };
42
36
  //# sourceMappingURL=index125.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index125.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index125.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index126.cjs CHANGED
@@ -1,21 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-WL0sD";
4
- const left = "krc-left-9KFDB";
5
- const right = "krc-right-YmUbX";
6
- const divider = "krc-divider-jNOSU";
7
- const dividerHandle = "krc-dividerHandle-SoNqx";
3
+ const root = "krc-root-0ZI82";
8
4
  const styles = {
9
- root,
10
- left,
11
- right,
12
- divider,
13
- dividerHandle
5
+ root
14
6
  };
15
7
  exports.default = styles;
16
- exports.divider = divider;
17
- exports.dividerHandle = dividerHandle;
18
- exports.left = left;
19
- exports.right = right;
20
8
  exports.root = root;
21
9
  //# sourceMappingURL=index126.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index126.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index126.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index126.js CHANGED
@@ -1,21 +1,9 @@
1
- const root = "krc-root-WL0sD";
2
- const left = "krc-left-9KFDB";
3
- const right = "krc-right-YmUbX";
4
- const divider = "krc-divider-jNOSU";
5
- const dividerHandle = "krc-dividerHandle-SoNqx";
1
+ const root = "krc-root-0ZI82";
6
2
  const styles = {
7
- root,
8
- left,
9
- right,
10
- divider,
11
- dividerHandle
3
+ root
12
4
  };
13
5
  export {
14
6
  styles as default,
15
- divider,
16
- dividerHandle,
17
- left,
18
- right,
19
7
  root
20
8
  };
21
9
  //# sourceMappingURL=index126.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index126.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index126.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index127.cjs CHANGED
@@ -1,30 +1,54 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-ZwPiG";
4
- const label = "krc-label-WG17f";
5
- const value = "krc-value-S9SSu";
6
- const red = "krc-red-stqO-";
7
- const amber = "krc-amber-lZgsd";
8
- const sub = "krc-sub-0xfrv";
9
- const isClick = "krc-isClick-CnKvM";
10
- const isActive = "krc-isActive-YLCNL";
3
+ const root = "krc-root-zHJLB";
4
+ const trigger = "krc-trigger-kRS4l";
5
+ const isOpen = "krc-isOpen-4fsg7";
6
+ const icon = "krc-icon-YS-DJ";
7
+ const arrow = "krc-arrow-wiq8b";
8
+ const pop = "krc-pop-boLzq";
9
+ const head = "krc-head-FDhHr";
10
+ const nav = "krc-nav-ZcR0Q";
11
+ const title = "krc-title-MqB3H";
12
+ const dows = "krc-dows-EshP3";
13
+ const grid = "krc-grid-xiUF-";
14
+ const day = "krc-day-2W9yq";
15
+ const empty = "krc-empty-Mf05c";
16
+ const off = "krc-off-tATo-";
17
+ const able = "krc-able-bD-du";
18
+ const selected = "krc-selected-Q1am3";
11
19
  const styles = {
12
20
  root,
13
- label,
14
- value,
15
- red,
16
- amber,
17
- sub,
18
- isClick,
19
- isActive
21
+ trigger,
22
+ isOpen,
23
+ icon,
24
+ arrow,
25
+ pop,
26
+ head,
27
+ nav,
28
+ title,
29
+ dows,
30
+ grid,
31
+ day,
32
+ empty,
33
+ off,
34
+ able,
35
+ selected
20
36
  };
21
- exports.amber = amber;
37
+ exports.able = able;
38
+ exports.arrow = arrow;
39
+ exports.day = day;
22
40
  exports.default = styles;
23
- exports.isActive = isActive;
24
- exports.isClick = isClick;
25
- exports.label = label;
26
- exports.red = red;
41
+ exports.dows = dows;
42
+ exports.empty = empty;
43
+ exports.grid = grid;
44
+ exports.head = head;
45
+ exports.icon = icon;
46
+ exports.isOpen = isOpen;
47
+ exports.nav = nav;
48
+ exports.off = off;
49
+ exports.pop = pop;
27
50
  exports.root = root;
28
- exports.sub = sub;
29
- exports.value = value;
51
+ exports.selected = selected;
52
+ exports.title = title;
53
+ exports.trigger = trigger;
30
54
  //# sourceMappingURL=index127.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index127.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index127.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index127.js CHANGED
@@ -1,30 +1,54 @@
1
- const root = "krc-root-ZwPiG";
2
- const label = "krc-label-WG17f";
3
- const value = "krc-value-S9SSu";
4
- const red = "krc-red-stqO-";
5
- const amber = "krc-amber-lZgsd";
6
- const sub = "krc-sub-0xfrv";
7
- const isClick = "krc-isClick-CnKvM";
8
- const isActive = "krc-isActive-YLCNL";
1
+ const root = "krc-root-zHJLB";
2
+ const trigger = "krc-trigger-kRS4l";
3
+ const isOpen = "krc-isOpen-4fsg7";
4
+ const icon = "krc-icon-YS-DJ";
5
+ const arrow = "krc-arrow-wiq8b";
6
+ const pop = "krc-pop-boLzq";
7
+ const head = "krc-head-FDhHr";
8
+ const nav = "krc-nav-ZcR0Q";
9
+ const title = "krc-title-MqB3H";
10
+ const dows = "krc-dows-EshP3";
11
+ const grid = "krc-grid-xiUF-";
12
+ const day = "krc-day-2W9yq";
13
+ const empty = "krc-empty-Mf05c";
14
+ const off = "krc-off-tATo-";
15
+ const able = "krc-able-bD-du";
16
+ const selected = "krc-selected-Q1am3";
9
17
  const styles = {
10
18
  root,
11
- label,
12
- value,
13
- red,
14
- amber,
15
- sub,
16
- isClick,
17
- isActive
19
+ trigger,
20
+ isOpen,
21
+ icon,
22
+ arrow,
23
+ pop,
24
+ head,
25
+ nav,
26
+ title,
27
+ dows,
28
+ grid,
29
+ day,
30
+ empty,
31
+ off,
32
+ able,
33
+ selected
18
34
  };
19
35
  export {
20
- amber,
36
+ able,
37
+ arrow,
38
+ day,
21
39
  styles as default,
22
- isActive,
23
- isClick,
24
- label,
25
- red,
40
+ dows,
41
+ empty,
42
+ grid,
43
+ head,
44
+ icon,
45
+ isOpen,
46
+ nav,
47
+ off,
48
+ pop,
26
49
  root,
27
- sub,
28
- value
50
+ selected,
51
+ title,
52
+ trigger
29
53
  };
30
54
  //# sourceMappingURL=index127.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index127.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index127.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index128.cjs CHANGED
@@ -1,36 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const overlay = "krc-overlay-WWw5c";
4
- const modal = "krc-modal-ZLlQ4";
5
- const resizable = "krc-resizable-G8TND";
6
- const header = "krc-header-RFEXB";
7
- const title = "krc-title-FhVKX";
8
- const headerActions = "krc-headerActions-Qj5SG";
9
- const close = "krc-close-EQ-3d";
10
- const body = "krc-body-ZLPhV";
11
- const loading = "krc-loading-lxD8d";
12
- const resizeHandle = "krc-resizeHandle-Q0J-B";
3
+ const root = "krc-root-la9-1";
4
+ const logo = "krc-logo-b73UT";
5
+ const card = "krc-card-1ev-q";
6
+ const footer = "krc-footer-E0B15";
13
7
  const styles = {
14
- overlay,
15
- modal,
16
- resizable,
17
- header,
18
- title,
19
- headerActions,
20
- close,
21
- body,
22
- loading,
23
- resizeHandle
8
+ root,
9
+ logo,
10
+ card,
11
+ footer
24
12
  };
25
- exports.body = body;
26
- exports.close = close;
13
+ exports.card = card;
27
14
  exports.default = styles;
28
- exports.header = header;
29
- exports.headerActions = headerActions;
30
- exports.loading = loading;
31
- exports.modal = modal;
32
- exports.overlay = overlay;
33
- exports.resizable = resizable;
34
- exports.resizeHandle = resizeHandle;
35
- exports.title = title;
15
+ exports.footer = footer;
16
+ exports.logo = logo;
17
+ exports.root = root;
36
18
  //# sourceMappingURL=index128.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index128.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index128.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
package/dist/index128.js CHANGED
@@ -1,36 +1,18 @@
1
- const overlay = "krc-overlay-WWw5c";
2
- const modal = "krc-modal-ZLlQ4";
3
- const resizable = "krc-resizable-G8TND";
4
- const header = "krc-header-RFEXB";
5
- const title = "krc-title-FhVKX";
6
- const headerActions = "krc-headerActions-Qj5SG";
7
- const close = "krc-close-EQ-3d";
8
- const body = "krc-body-ZLPhV";
9
- const loading = "krc-loading-lxD8d";
10
- const resizeHandle = "krc-resizeHandle-Q0J-B";
1
+ const root = "krc-root-la9-1";
2
+ const logo = "krc-logo-b73UT";
3
+ const card = "krc-card-1ev-q";
4
+ const footer = "krc-footer-E0B15";
11
5
  const styles = {
12
- overlay,
13
- modal,
14
- resizable,
15
- header,
16
- title,
17
- headerActions,
18
- close,
19
- body,
20
- loading,
21
- resizeHandle
6
+ root,
7
+ logo,
8
+ card,
9
+ footer
22
10
  };
23
11
  export {
24
- body,
25
- close,
12
+ card,
26
13
  styles as default,
27
- header,
28
- headerActions,
29
- loading,
30
- modal,
31
- overlay,
32
- resizable,
33
- resizeHandle,
34
- title
14
+ footer,
15
+ logo,
16
+ root
35
17
  };
36
18
  //# sourceMappingURL=index128.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index128.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index128.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/index129.cjs CHANGED
@@ -1,17 +1,51 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const CLIPPING_OVERFLOW = /* @__PURE__ */ new Set(["hidden", "auto", "scroll", "clip"]);
4
+ const CONTAINING_CONTAIN = /paint|layout|strict|content/;
5
+ const CONTAINING_WILL_CHANGE = /transform|perspective|filter/;
6
+ const isSet = (value) => Boolean(value) && value !== "none";
7
+ function trapsFixed(style) {
8
+ return isSet(style.transform) || isSet(style.perspective) || isSet(style.filter) || isSet(style.backdropFilter) || CONTAINING_CONTAIN.test(style.contain ?? "") || CONTAINING_WILL_CHANGE.test(style.willChange ?? "") || isSet(style.containerType) && style.containerType !== "normal";
9
+ }
10
+ function clipsVertically(style) {
11
+ if (CLIPPING_OVERFLOW.has(style.overflowY)) return true;
12
+ return style.overflowX !== "clip" && CLIPPING_OVERFLOW.has(style.overflowX);
13
+ }
14
+ const intersect = (a, b) => ({
15
+ top: Math.max(a.top, b.top),
16
+ bottom: Math.min(a.bottom, b.bottom)
17
+ });
4
18
  function getClippingRect(element) {
5
- const viewport = { left: 0, right: document.documentElement.clientWidth };
6
- for (let el = element.parentElement; el && el !== document.body; el = el.parentElement) {
7
- if (!CLIPPING_OVERFLOW.has(getComputedStyle(el).overflowX)) continue;
8
- const left = el.getBoundingClientRect().left + el.clientLeft;
9
- return {
10
- left: Math.max(left, viewport.left),
11
- right: Math.min(left + el.clientWidth, viewport.right)
12
- };
19
+ const root = document.documentElement;
20
+ const viewport = { top: 0, bottom: root.clientHeight };
21
+ let horizontal = null;
22
+ const clippers = [];
23
+ let trapped = false;
24
+ for (let el = element.parentElement; el; el = el.parentElement) {
25
+ const style = getComputedStyle(el);
26
+ if (!trapped && trapsFixed(style)) trapped = true;
27
+ if (el === document.body || el === root) continue;
28
+ const clipsX = CLIPPING_OVERFLOW.has(style.overflowX);
29
+ const clipsY = clipsVertically(style);
30
+ if (!clipsX && !clipsY) continue;
31
+ const rect = el.getBoundingClientRect();
32
+ if (clipsX && !horizontal) {
33
+ const left = rect.left + el.clientLeft;
34
+ horizontal = { left, right: left + el.clientWidth };
35
+ }
36
+ if (clipsY) {
37
+ const top = rect.top + el.clientTop;
38
+ clippers.push({ top, bottom: top + el.clientHeight });
39
+ }
13
40
  }
14
- return viewport;
41
+ const viewportWidth = root.clientWidth;
42
+ const outermost = clippers[clippers.length - 1];
43
+ return {
44
+ horizontal: horizontal ? { left: Math.max(horizontal.left, 0), right: Math.min(horizontal.right, viewportWidth) } : { left: 0, right: viewportWidth },
45
+ vertical: clippers.reduce(intersect, viewport),
46
+ viewport,
47
+ escape: trapped || clippers.length < 2 ? null : intersect(outermost, viewport)
48
+ };
15
49
  }
16
50
  exports.getClippingRect = getClippingRect;
17
51
  //# sourceMappingURL=index129.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index129.cjs","sources":["../src/utils/clippingRect.ts"],"sourcesContent":["/** Horizontal extent of a box, in viewport px. */\nexport interface HorizontalRect {\n left: number;\n right: number;\n}\n\nconst CLIPPING_OVERFLOW = new Set(['hidden', 'auto', 'scroll', 'clip']);\n\n/**\n * The horizontal box that clips `element`'s overflow: the inner box (no border, no\n * scrollbar) of its nearest ancestor whose `overflow-x` is not `visible`, intersected\n * with the viewport. The viewport alone when no ancestor clips.\n *\n * The walk stops below `<body>`: overflow set on `<body>` or `<html>` applies to the\n * viewport, which is already the outer limit.\n */\nexport function getClippingRect(element: HTMLElement): HorizontalRect {\n const viewport = { left: 0, right: document.documentElement.clientWidth };\n\n for (let el = element.parentElement; el && el !== document.body; el = el.parentElement) {\n if (!CLIPPING_OVERFLOW.has(getComputedStyle(el).overflowX)) continue;\n const left = el.getBoundingClientRect().left + el.clientLeft;\n return {\n left: Math.max(left, viewport.left),\n right: Math.min(left + el.clientWidth, viewport.right),\n };\n }\n\n return viewport;\n}\n"],"names":[],"mappings":";;AAMA,MAAM,wCAAwB,IAAI,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC;AAU/D,SAAS,gBAAgB,SAAsC;AACpE,QAAM,WAAW,EAAE,MAAM,GAAG,OAAO,SAAS,gBAAgB,YAAA;AAE5D,WAAS,KAAK,QAAQ,eAAe,MAAM,OAAO,SAAS,MAAM,KAAK,GAAG,eAAe;AACtF,QAAI,CAAC,kBAAkB,IAAI,iBAAiB,EAAE,EAAE,SAAS,EAAG;AAC5D,UAAM,OAAO,GAAG,sBAAA,EAAwB,OAAO,GAAG;AAClD,WAAO;AAAA,MACL,MAAM,KAAK,IAAI,MAAM,SAAS,IAAI;AAAA,MAClC,OAAO,KAAK,IAAI,OAAO,GAAG,aAAa,SAAS,KAAK;AAAA,IAAA;AAAA,EAEzD;AAEA,SAAO;AACT;;"}
1
+ {"version":3,"file":"index129.cjs","sources":["../src/utils/clippingRect.ts"],"sourcesContent":["import type { ClippingBox, HorizontalRect, VerticalRect } from './panelPlacement.types';\n\nconst CLIPPING_OVERFLOW = new Set(['hidden', 'auto', 'scroll', 'clip']);\nconst CONTAINING_CONTAIN = /paint|layout|strict|content/;\nconst CONTAINING_WILL_CHANGE = /transform|perspective|filter/;\n\nconst isSet = (value: string | undefined) => Boolean(value) && value !== 'none';\n\n/**\n * Whether `style` makes its element the containing block of `position: fixed`\n * descendants, so they are no longer positioned against the viewport.\n */\nfunction trapsFixed(style: CSSStyleDeclaration): boolean {\n return (\n isSet(style.transform) ||\n isSet(style.perspective) ||\n isSet(style.filter) ||\n isSet(style.backdropFilter) ||\n CONTAINING_CONTAIN.test(style.contain ?? '') ||\n CONTAINING_WILL_CHANGE.test(style.willChange ?? '') ||\n (isSet(style.containerType) && style.containerType !== 'normal')\n );\n}\n\n/**\n * `overflow-y` clips when it is not `visible`, and also when only `overflow-x` is set:\n * CSS computes a `visible` axis to `auto` when the other one is not `visible` (except\n * with `clip`). Browsers report the computed value; this also covers test DOMs that\n * reflect inline styles only.\n */\nfunction clipsVertically(style: CSSStyleDeclaration): boolean {\n if (CLIPPING_OVERFLOW.has(style.overflowY)) return true;\n return style.overflowX !== 'clip' && CLIPPING_OVERFLOW.has(style.overflowX);\n}\n\nconst intersect = (a: VerticalRect, b: VerticalRect): VerticalRect => ({\n top: Math.max(a.top, b.top),\n bottom: Math.min(a.bottom, b.bottom),\n});\n\n/**\n * The boxes that clip `element`'s overflow, measured as inner boxes (no border, no\n * scrollbar) and intersected with the viewport:\n * - horizontally, the nearest ancestor whose `overflow-x` is not `visible`;\n * - vertically, every ancestor whose `overflow-y` is not `visible`;\n * - the escape box, the outermost of those, when there are at least two.\n *\n * The overflow walk stops below `<body>`: overflow set on `<body>` or `<html>` applies\n * to the viewport, which is already the outer limit. The fixed-position trap is checked\n * up to `<html>`.\n */\nexport function getClippingRect(element: HTMLElement): ClippingBox {\n const root = document.documentElement;\n const viewport: VerticalRect = { top: 0, bottom: root.clientHeight };\n let horizontal: HorizontalRect | null = null;\n const clippers: VerticalRect[] = [];\n let trapped = false;\n\n for (let el = element.parentElement; el; el = el.parentElement) {\n const style = getComputedStyle(el);\n if (!trapped && trapsFixed(style)) trapped = true;\n if (el === document.body || el === root) continue;\n\n const clipsX = CLIPPING_OVERFLOW.has(style.overflowX);\n const clipsY = clipsVertically(style);\n if (!clipsX && !clipsY) continue;\n\n const rect = el.getBoundingClientRect();\n if (clipsX && !horizontal) {\n const left = rect.left + el.clientLeft;\n horizontal = { left, right: left + el.clientWidth };\n }\n if (clipsY) {\n const top = rect.top + el.clientTop;\n clippers.push({ top, bottom: top + el.clientHeight });\n }\n }\n\n const viewportWidth = root.clientWidth;\n const outermost = clippers[clippers.length - 1];\n return {\n horizontal: horizontal\n ? { left: Math.max(horizontal.left, 0), right: Math.min(horizontal.right, viewportWidth) }\n : { left: 0, right: viewportWidth },\n vertical: clippers.reduce(intersect, viewport),\n viewport,\n escape: trapped || clippers.length < 2 ? null : intersect(outermost, viewport),\n };\n}\n"],"names":[],"mappings":";;AAEA,MAAM,wCAAwB,IAAI,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC;AACtE,MAAM,qBAAqB;AAC3B,MAAM,yBAAyB;AAE/B,MAAM,QAAQ,CAAC,UAA8B,QAAQ,KAAK,KAAK,UAAU;AAMzE,SAAS,WAAW,OAAqC;AACvD,SACE,MAAM,MAAM,SAAS,KACrB,MAAM,MAAM,WAAW,KACvB,MAAM,MAAM,MAAM,KAClB,MAAM,MAAM,cAAc,KAC1B,mBAAmB,KAAK,MAAM,WAAW,EAAE,KAC3C,uBAAuB,KAAK,MAAM,cAAc,EAAE,KACjD,MAAM,MAAM,aAAa,KAAK,MAAM,kBAAkB;AAE3D;AAQA,SAAS,gBAAgB,OAAqC;AAC5D,MAAI,kBAAkB,IAAI,MAAM,SAAS,EAAG,QAAO;AACnD,SAAO,MAAM,cAAc,UAAU,kBAAkB,IAAI,MAAM,SAAS;AAC5E;AAEA,MAAM,YAAY,CAAC,GAAiB,OAAmC;AAAA,EACrE,KAAK,KAAK,IAAI,EAAE,KAAK,EAAE,GAAG;AAAA,EAC1B,QAAQ,KAAK,IAAI,EAAE,QAAQ,EAAE,MAAM;AACrC;AAaO,SAAS,gBAAgB,SAAmC;AACjE,QAAM,OAAO,SAAS;AACtB,QAAM,WAAyB,EAAE,KAAK,GAAG,QAAQ,KAAK,aAAA;AACtD,MAAI,aAAoC;AACxC,QAAM,WAA2B,CAAA;AACjC,MAAI,UAAU;AAEd,WAAS,KAAK,QAAQ,eAAe,IAAI,KAAK,GAAG,eAAe;AAC9D,UAAM,QAAQ,iBAAiB,EAAE;AACjC,QAAI,CAAC,WAAW,WAAW,KAAK,EAAG,WAAU;AAC7C,QAAI,OAAO,SAAS,QAAQ,OAAO,KAAM;AAEzC,UAAM,SAAS,kBAAkB,IAAI,MAAM,SAAS;AACpD,UAAM,SAAS,gBAAgB,KAAK;AACpC,QAAI,CAAC,UAAU,CAAC,OAAQ;AAExB,UAAM,OAAO,GAAG,sBAAA;AAChB,QAAI,UAAU,CAAC,YAAY;AACzB,YAAM,OAAO,KAAK,OAAO,GAAG;AAC5B,mBAAa,EAAE,MAAM,OAAO,OAAO,GAAG,YAAA;AAAA,IACxC;AACA,QAAI,QAAQ;AACV,YAAM,MAAM,KAAK,MAAM,GAAG;AAC1B,eAAS,KAAK,EAAE,KAAK,QAAQ,MAAM,GAAG,cAAc;AAAA,IACtD;AAAA,EACF;AAEA,QAAM,gBAAgB,KAAK;AAC3B,QAAM,YAAY,SAAS,SAAS,SAAS,CAAC;AAC9C,SAAO;AAAA,IACL,YAAY,aACR,EAAE,MAAM,KAAK,IAAI,WAAW,MAAM,CAAC,GAAG,OAAO,KAAK,IAAI,WAAW,OAAO,aAAa,EAAA,IACrF,EAAE,MAAM,GAAG,OAAO,cAAA;AAAA,IACtB,UAAU,SAAS,OAAO,WAAW,QAAQ;AAAA,IAC7C;AAAA,IACA,QAAQ,WAAW,SAAS,SAAS,IAAI,OAAO,UAAU,WAAW,QAAQ;AAAA,EAAA;AAEjF;;"}
package/dist/index129.js CHANGED
@@ -1,15 +1,49 @@
1
1
  const CLIPPING_OVERFLOW = /* @__PURE__ */ new Set(["hidden", "auto", "scroll", "clip"]);
2
+ const CONTAINING_CONTAIN = /paint|layout|strict|content/;
3
+ const CONTAINING_WILL_CHANGE = /transform|perspective|filter/;
4
+ const isSet = (value) => Boolean(value) && value !== "none";
5
+ function trapsFixed(style) {
6
+ return isSet(style.transform) || isSet(style.perspective) || isSet(style.filter) || isSet(style.backdropFilter) || CONTAINING_CONTAIN.test(style.contain ?? "") || CONTAINING_WILL_CHANGE.test(style.willChange ?? "") || isSet(style.containerType) && style.containerType !== "normal";
7
+ }
8
+ function clipsVertically(style) {
9
+ if (CLIPPING_OVERFLOW.has(style.overflowY)) return true;
10
+ return style.overflowX !== "clip" && CLIPPING_OVERFLOW.has(style.overflowX);
11
+ }
12
+ const intersect = (a, b) => ({
13
+ top: Math.max(a.top, b.top),
14
+ bottom: Math.min(a.bottom, b.bottom)
15
+ });
2
16
  function getClippingRect(element) {
3
- const viewport = { left: 0, right: document.documentElement.clientWidth };
4
- for (let el = element.parentElement; el && el !== document.body; el = el.parentElement) {
5
- if (!CLIPPING_OVERFLOW.has(getComputedStyle(el).overflowX)) continue;
6
- const left = el.getBoundingClientRect().left + el.clientLeft;
7
- return {
8
- left: Math.max(left, viewport.left),
9
- right: Math.min(left + el.clientWidth, viewport.right)
10
- };
17
+ const root = document.documentElement;
18
+ const viewport = { top: 0, bottom: root.clientHeight };
19
+ let horizontal = null;
20
+ const clippers = [];
21
+ let trapped = false;
22
+ for (let el = element.parentElement; el; el = el.parentElement) {
23
+ const style = getComputedStyle(el);
24
+ if (!trapped && trapsFixed(style)) trapped = true;
25
+ if (el === document.body || el === root) continue;
26
+ const clipsX = CLIPPING_OVERFLOW.has(style.overflowX);
27
+ const clipsY = clipsVertically(style);
28
+ if (!clipsX && !clipsY) continue;
29
+ const rect = el.getBoundingClientRect();
30
+ if (clipsX && !horizontal) {
31
+ const left = rect.left + el.clientLeft;
32
+ horizontal = { left, right: left + el.clientWidth };
33
+ }
34
+ if (clipsY) {
35
+ const top = rect.top + el.clientTop;
36
+ clippers.push({ top, bottom: top + el.clientHeight });
37
+ }
11
38
  }
12
- return viewport;
39
+ const viewportWidth = root.clientWidth;
40
+ const outermost = clippers[clippers.length - 1];
41
+ return {
42
+ horizontal: horizontal ? { left: Math.max(horizontal.left, 0), right: Math.min(horizontal.right, viewportWidth) } : { left: 0, right: viewportWidth },
43
+ vertical: clippers.reduce(intersect, viewport),
44
+ viewport,
45
+ escape: trapped || clippers.length < 2 ? null : intersect(outermost, viewport)
46
+ };
13
47
  }
14
48
  export {
15
49
  getClippingRect