@anoki/fse-ui 1.0.346 → 1.0.347

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 (302) hide show
  1. package/dist/components/ui/InfoModal/InfoModal.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs104.js +1 -1
  8. package/dist/index.cjs105.js +1 -1
  9. package/dist/index.cjs106.js +1 -1
  10. package/dist/index.cjs107.js +1 -1
  11. package/dist/index.cjs108.js +1 -1
  12. package/dist/index.cjs109.js +1 -1
  13. package/dist/index.cjs110.js +1 -1
  14. package/dist/index.cjs111.js +1 -1
  15. package/dist/index.cjs113.js +1 -1
  16. package/dist/index.cjs114.js +1 -1
  17. package/dist/index.cjs115.js +1 -1
  18. package/dist/index.cjs116.js +1 -1
  19. package/dist/index.cjs117.js +1 -1
  20. package/dist/index.cjs118.js +1 -1
  21. package/dist/index.cjs119.js +1 -1
  22. package/dist/index.cjs145.js +1 -1
  23. package/dist/index.cjs145.js.map +1 -1
  24. package/dist/index.cjs146.js +2 -0
  25. package/dist/index.cjs146.js.map +1 -0
  26. package/dist/index.cjs155.js +1 -1
  27. package/dist/index.cjs161.js +1 -1
  28. package/dist/index.cjs164.js +1 -1
  29. package/dist/index.cjs165.js +1 -1
  30. package/dist/index.cjs172.js +1 -1
  31. package/dist/index.cjs181.js +1 -1
  32. package/dist/index.cjs183.js +1 -1
  33. package/dist/index.cjs190.js +1 -1
  34. package/dist/index.cjs191.js +1 -1
  35. package/dist/index.cjs195.js +1 -1
  36. package/dist/index.cjs200.js +1 -1
  37. package/dist/index.cjs202.js +1 -1
  38. package/dist/index.cjs208.js +1 -1
  39. package/dist/index.cjs209.js +1 -1
  40. package/dist/index.cjs210.js +1 -1
  41. package/dist/index.cjs22.js +1 -1
  42. package/dist/index.cjs235.js +1 -1
  43. package/dist/index.cjs236.js +1 -1
  44. package/dist/index.cjs237.js +2 -0
  45. package/dist/index.cjs237.js.map +1 -0
  46. package/dist/index.cjs238.js +1 -1
  47. package/dist/index.cjs238.js.map +1 -1
  48. package/dist/index.cjs240.js +1 -1
  49. package/dist/index.cjs240.js.map +1 -1
  50. package/dist/index.cjs241.js +1 -1
  51. package/dist/index.cjs241.js.map +1 -1
  52. package/dist/index.cjs242.js +1 -1
  53. package/dist/index.cjs242.js.map +1 -1
  54. package/dist/index.cjs243.js +1 -1
  55. package/dist/index.cjs243.js.map +1 -1
  56. package/dist/index.cjs244.js +1 -1
  57. package/dist/index.cjs244.js.map +1 -1
  58. package/dist/index.cjs245.js +1 -1
  59. package/dist/index.cjs245.js.map +1 -1
  60. package/dist/index.cjs246.js +2 -0
  61. package/dist/index.cjs246.js.map +1 -0
  62. package/dist/index.cjs247.js +2 -0
  63. package/dist/index.cjs247.js.map +1 -0
  64. package/dist/index.cjs25.js +1 -1
  65. package/dist/index.cjs250.js +1 -1
  66. package/dist/index.cjs250.js.map +1 -1
  67. package/dist/index.cjs251.js +1 -1
  68. package/dist/index.cjs251.js.map +1 -1
  69. package/dist/index.cjs252.js +1 -1
  70. package/dist/index.cjs252.js.map +1 -1
  71. package/dist/index.cjs253.js +1 -1
  72. package/dist/index.cjs253.js.map +1 -1
  73. package/dist/index.cjs254.js +1 -1
  74. package/dist/index.cjs254.js.map +1 -1
  75. package/dist/index.cjs255.js +1 -1
  76. package/dist/index.cjs255.js.map +1 -1
  77. package/dist/index.cjs256.js +1 -1
  78. package/dist/index.cjs256.js.map +1 -1
  79. package/dist/index.cjs257.js +1 -1
  80. package/dist/index.cjs257.js.map +1 -1
  81. package/dist/index.cjs258.js +1 -1
  82. package/dist/index.cjs258.js.map +1 -1
  83. package/dist/index.cjs259.js +1 -1
  84. package/dist/index.cjs259.js.map +1 -1
  85. package/dist/index.cjs260.js +1 -1
  86. package/dist/index.cjs260.js.map +1 -1
  87. package/dist/index.cjs261.js +1 -1
  88. package/dist/index.cjs261.js.map +1 -1
  89. package/dist/index.cjs262.js +1 -1
  90. package/dist/index.cjs262.js.map +1 -1
  91. package/dist/index.cjs263.js +1 -1
  92. package/dist/index.cjs263.js.map +1 -1
  93. package/dist/index.cjs264.js +1 -1
  94. package/dist/index.cjs264.js.map +1 -1
  95. package/dist/index.cjs265.js +1 -1
  96. package/dist/index.cjs265.js.map +1 -1
  97. package/dist/{index.cjs277.js → index.cjs266.js} +2 -2
  98. package/dist/{index.cjs277.js.map → index.cjs266.js.map} +1 -1
  99. package/dist/{index.cjs278.js → index.cjs267.js} +2 -2
  100. package/dist/{index.cjs278.js.map → index.cjs267.js.map} +1 -1
  101. package/dist/{index.cjs279.js → index.cjs268.js} +2 -2
  102. package/dist/{index.cjs279.js.map → index.cjs268.js.map} +1 -1
  103. package/dist/{index.cjs280.js → index.cjs269.js} +1 -1
  104. package/dist/{index.cjs280.js.map → index.cjs269.js.map} +1 -1
  105. package/dist/index.cjs282.js +2 -0
  106. package/dist/index.cjs282.js.map +1 -0
  107. package/dist/{index.cjs285.js → index.cjs283.js} +2 -2
  108. package/dist/{index.cjs285.js.map → index.cjs283.js.map} +1 -1
  109. package/dist/index.cjs284.js +1 -1
  110. package/dist/index.cjs284.js.map +1 -1
  111. package/dist/index.cjs290.js +1 -1
  112. package/dist/index.cjs291.js +1 -1
  113. package/dist/index.cjs295.js +1 -1
  114. package/dist/index.cjs56.js +1 -1
  115. package/dist/index.cjs6.js +1 -1
  116. package/dist/index.cjs7.js +1 -1
  117. package/dist/index.cjs76.js +1 -1
  118. package/dist/index.cjs77.js +1 -1
  119. package/dist/index.cjs78.js +1 -1
  120. package/dist/index.cjs79.js +1 -1
  121. package/dist/index.cjs8.js +1 -1
  122. package/dist/index.cjs80.js +1 -1
  123. package/dist/index.cjs81.js +1 -1
  124. package/dist/index.cjs82.js +1 -1
  125. package/dist/index.cjs83.js +1 -1
  126. package/dist/index.cjs84.js +1 -1
  127. package/dist/index.cjs85.js +1 -1
  128. package/dist/index.cjs86.js +1 -1
  129. package/dist/index.cjs87.js +1 -1
  130. package/dist/index.cjs88.js +1 -1
  131. package/dist/index.cjs89.js +1 -1
  132. package/dist/index.cjs9.js +1 -1
  133. package/dist/index.cjs90.js +1 -1
  134. package/dist/index.cjs91.js +1 -1
  135. package/dist/index.cjs92.js +1 -1
  136. package/dist/index.cjs93.js +1 -1
  137. package/dist/index.cjs94.js +1 -1
  138. package/dist/index.cjs95.js +1 -1
  139. package/dist/index.cjs96.js +1 -1
  140. package/dist/index.cjs97.js +1 -1
  141. package/dist/index.es10.js +2 -2
  142. package/dist/index.es100.js +1 -1
  143. package/dist/index.es101.js +1 -1
  144. package/dist/index.es102.js +1 -1
  145. package/dist/index.es103.js +1 -1
  146. package/dist/index.es104.js +1 -1
  147. package/dist/index.es105.js +1 -1
  148. package/dist/index.es106.js +1 -1
  149. package/dist/index.es107.js +1 -1
  150. package/dist/index.es108.js +1 -1
  151. package/dist/index.es109.js +1 -1
  152. package/dist/index.es110.js +1 -1
  153. package/dist/index.es111.js +1 -1
  154. package/dist/index.es113.js +1 -1
  155. package/dist/index.es114.js +1 -1
  156. package/dist/index.es115.js +1 -1
  157. package/dist/index.es116.js +1 -1
  158. package/dist/index.es117.js +1 -1
  159. package/dist/index.es118.js +1 -1
  160. package/dist/index.es119.js +1 -1
  161. package/dist/index.es145.js +2 -27
  162. package/dist/index.es145.js.map +1 -1
  163. package/dist/index.es146.js +30 -0
  164. package/dist/index.es146.js.map +1 -0
  165. package/dist/index.es155.js +1 -1
  166. package/dist/index.es161.js +7 -7
  167. package/dist/index.es164.js +1 -1
  168. package/dist/index.es165.js +1 -1
  169. package/dist/index.es172.js +8 -8
  170. package/dist/index.es181.js +1 -1
  171. package/dist/index.es183.js +14 -14
  172. package/dist/index.es190.js +1 -1
  173. package/dist/index.es191.js +1 -1
  174. package/dist/index.es195.js +1 -1
  175. package/dist/index.es200.js +1 -1
  176. package/dist/index.es202.js +1 -1
  177. package/dist/index.es208.js +1 -1
  178. package/dist/index.es209.js +1 -1
  179. package/dist/index.es210.js +7 -7
  180. package/dist/index.es22.js +1 -1
  181. package/dist/index.es235.js +1 -1
  182. package/dist/index.es236.js +1 -1
  183. package/dist/index.es237.js +5 -0
  184. package/dist/index.es237.js.map +1 -0
  185. package/dist/index.es238.js +2 -7
  186. package/dist/index.es238.js.map +1 -1
  187. package/dist/index.es240.js +5 -66
  188. package/dist/index.es240.js.map +1 -1
  189. package/dist/index.es241.js +25 -28
  190. package/dist/index.es241.js.map +1 -1
  191. package/dist/index.es242.js +67 -32
  192. package/dist/index.es242.js.map +1 -1
  193. package/dist/index.es243.js +27 -619
  194. package/dist/index.es243.js.map +1 -1
  195. package/dist/index.es244.js +32 -10
  196. package/dist/index.es244.js.map +1 -1
  197. package/dist/index.es245.js +620 -13
  198. package/dist/index.es245.js.map +1 -1
  199. package/dist/index.es246.js +14 -0
  200. package/dist/index.es246.js.map +1 -0
  201. package/dist/index.es247.js +18 -0
  202. package/dist/index.es247.js.map +1 -0
  203. package/dist/index.es25.js +1 -1
  204. package/dist/index.es250.js +10 -68
  205. package/dist/index.es250.js.map +1 -1
  206. package/dist/index.es251.js +42 -2
  207. package/dist/index.es251.js.map +1 -1
  208. package/dist/index.es252.js +46 -2
  209. package/dist/index.es252.js.map +1 -1
  210. package/dist/index.es253.js +7 -10
  211. package/dist/index.es253.js.map +1 -1
  212. package/dist/index.es254.js +120 -37
  213. package/dist/index.es254.js.map +1 -1
  214. package/dist/index.es255.js +14 -45
  215. package/dist/index.es255.js.map +1 -1
  216. package/dist/index.es256.js +134 -7
  217. package/dist/index.es256.js.map +1 -1
  218. package/dist/index.es257.js +206 -113
  219. package/dist/index.es257.js.map +1 -1
  220. package/dist/index.es258.js +13 -14
  221. package/dist/index.es258.js.map +1 -1
  222. package/dist/index.es259.js +60 -126
  223. package/dist/index.es259.js.map +1 -1
  224. package/dist/index.es260.js +163 -203
  225. package/dist/index.es260.js.map +1 -1
  226. package/dist/index.es261.js +50 -14
  227. package/dist/index.es261.js.map +1 -1
  228. package/dist/index.es262.js +9 -178
  229. package/dist/index.es262.js.map +1 -1
  230. package/dist/index.es263.js +3 -49
  231. package/dist/index.es263.js.map +1 -1
  232. package/dist/index.es264.js +6 -9
  233. package/dist/index.es264.js.map +1 -1
  234. package/dist/index.es265.js +25 -4
  235. package/dist/index.es265.js.map +1 -1
  236. package/dist/{index.es277.js → index.es266.js} +2 -2
  237. package/dist/{index.es277.js.map → index.es266.js.map} +1 -1
  238. package/dist/{index.es278.js → index.es267.js} +3 -3
  239. package/dist/{index.es278.js.map → index.es267.js.map} +1 -1
  240. package/dist/{index.es279.js → index.es268.js} +2 -2
  241. package/dist/{index.es279.js.map → index.es268.js.map} +1 -1
  242. package/dist/{index.es280.js → index.es269.js} +1 -1
  243. package/dist/{index.es280.js.map → index.es269.js.map} +1 -1
  244. package/dist/index.es282.js +28 -0
  245. package/dist/index.es282.js.map +1 -0
  246. package/dist/{index.es285.js → index.es283.js} +2 -2
  247. package/dist/{index.es285.js.map → index.es283.js.map} +1 -1
  248. package/dist/index.es284.js +5 -25
  249. package/dist/index.es284.js.map +1 -1
  250. package/dist/index.es290.js +1 -1
  251. package/dist/index.es291.js +1 -1
  252. package/dist/index.es295.js +1 -1
  253. package/dist/index.es56.js +1 -1
  254. package/dist/index.es6.js +1 -1
  255. package/dist/index.es7.js +1 -1
  256. package/dist/index.es76.js +1 -1
  257. package/dist/index.es77.js +1 -1
  258. package/dist/index.es78.js +1 -1
  259. package/dist/index.es79.js +1 -1
  260. package/dist/index.es8.js +1 -1
  261. package/dist/index.es80.js +1 -1
  262. package/dist/index.es81.js +1 -1
  263. package/dist/index.es82.js +1 -1
  264. package/dist/index.es83.js +1 -1
  265. package/dist/index.es84.js +1 -1
  266. package/dist/index.es85.js +1 -1
  267. package/dist/index.es86.js +1 -1
  268. package/dist/index.es87.js +1 -1
  269. package/dist/index.es88.js +1 -1
  270. package/dist/index.es89.js +1 -1
  271. package/dist/index.es9.js +2 -2
  272. package/dist/index.es90.js +1 -1
  273. package/dist/index.es91.js +1 -1
  274. package/dist/index.es92.js +1 -1
  275. package/dist/index.es93.js +1 -1
  276. package/dist/index.es94.js +1 -1
  277. package/dist/index.es95.js +1 -1
  278. package/dist/index.es96.js +1 -1
  279. package/dist/index.es97.js +1 -1
  280. package/package.json +1 -1
  281. package/dist/index.cjs147.js +0 -2
  282. package/dist/index.cjs147.js.map +0 -1
  283. package/dist/index.cjs239.js +0 -2
  284. package/dist/index.cjs239.js.map +0 -1
  285. package/dist/index.cjs248.js +0 -2
  286. package/dist/index.cjs248.js.map +0 -1
  287. package/dist/index.cjs249.js +0 -2
  288. package/dist/index.cjs249.js.map +0 -1
  289. package/dist/index.cjs286.js +0 -2
  290. package/dist/index.cjs286.js.map +0 -1
  291. package/dist/index.es147.js +0 -5
  292. package/dist/index.es147.js.map +0 -1
  293. package/dist/index.es239.js +0 -30
  294. package/dist/index.es239.js.map +0 -1
  295. package/dist/index.es248.js +0 -9
  296. package/dist/index.es248.js.map +0 -1
  297. package/dist/index.es249.js +0 -28
  298. package/dist/index.es249.js.map +0 -1
  299. package/dist/index.es286.js +0 -8
  300. package/dist/index.es286.js.map +0 -1
  301. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
  302. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css} +0 -0
package/dist/index.es6.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as p } from "./index.es139.js";
2
2
  import { clsx as l } from "./index.es141.js";
3
3
  import { useMemo as u } from "react";
4
- import { createSpacingClasses as x } from "./index.es145.js";
4
+ import { createSpacingClasses as x } from "./index.es146.js";
5
5
  import './components/ui/Container/Container.css';/* empty css */
6
6
  const v = ({
7
7
  as: o,
package/dist/index.es7.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as a } from "./index.es139.js";
2
2
  import { useMemo as i } from "react";
3
3
  import { clsx as m } from "./index.es141.js";
4
- import { createSpacingClasses as c } from "./index.es145.js";
4
+ import { createSpacingClasses as c } from "./index.es146.js";
5
5
  const g = ({
6
6
  as: o,
7
7
  className: r,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as t } from "./index.es141.js";
3
- import { createColorClasses as e } from "./index.es147.js";
3
+ import { createColorClasses as e } from "./index.es145.js";
4
4
  const n = ({
5
5
  width: a = 24,
6
6
  height: r = 24,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as a } from "./index.es141.js";
3
- import { createColorClasses as i } from "./index.es147.js";
3
+ import { createColorClasses as i } from "./index.es145.js";
4
4
  const x = ({
5
5
  width: s = 24,
6
6
  height: o = 24,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as l } from "./index.es141.js";
3
- import { createColorClasses as a } from "./index.es147.js";
3
+ import { createColorClasses as a } from "./index.es145.js";
4
4
  const x = ({
5
5
  width: C = 32,
6
6
  height: s = 32,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as a } from "./index.es141.js";
3
- import { createColorClasses as l } from "./index.es147.js";
3
+ import { createColorClasses as l } from "./index.es145.js";
4
4
  const x = ({
5
5
  width: s = 24,
6
6
  height: o = 24,
package/dist/index.es8.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as g } from "./index.es139.js";
2
2
  import { useMemo as s } from "react";
3
3
  import { clsx as x } from "./index.es141.js";
4
- import { createSpacingClasses as f } from "./index.es145.js";
4
+ import { createSpacingClasses as f } from "./index.es146.js";
5
5
  const v = ({
6
6
  as: e,
7
7
  className: i,
@@ -1,6 +1,6 @@
1
1
  import { j as s } from "./index.es139.js";
2
2
  import { clsx as a } from "./index.es141.js";
3
- import { createColorClasses as i } from "./index.es147.js";
3
+ import { createColorClasses as i } from "./index.es145.js";
4
4
  const p = ({
5
5
  width: r = 24,
6
6
  height: o = 24,
@@ -1,6 +1,6 @@
1
1
  import { j as s } from "./index.es139.js";
2
2
  import { clsx as l } from "./index.es141.js";
3
- import { createColorClasses as a } from "./index.es147.js";
3
+ import { createColorClasses as a } from "./index.es145.js";
4
4
  const p = ({
5
5
  width: o = 114,
6
6
  height: r = 115,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as l } from "./index.es141.js";
3
- import { createColorClasses as c } from "./index.es147.js";
3
+ import { createColorClasses as c } from "./index.es145.js";
4
4
  const m = ({
5
5
  width: s = 121,
6
6
  height: e = 121,
@@ -1,6 +1,6 @@
1
1
  import { j as s } from "./index.es139.js";
2
2
  import { clsx as t } from "./index.es141.js";
3
- import { createColorClasses as e } from "./index.es147.js";
3
+ import { createColorClasses as e } from "./index.es145.js";
4
4
  const f = ({
5
5
  width: m = 100,
6
6
  height: a = 100,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as s } from "./index.es141.js";
3
- import { createColorClasses as q } from "./index.es147.js";
3
+ import { createColorClasses as q } from "./index.es145.js";
4
4
  const e = ({
5
5
  width: l = 315,
6
6
  height: h = 48,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as s } from "./index.es141.js";
3
- import { createColorClasses as r } from "./index.es147.js";
3
+ import { createColorClasses as r } from "./index.es145.js";
4
4
  const a = ({
5
5
  width: v = 141,
6
6
  height: h = 48,
@@ -1,6 +1,6 @@
1
1
  import { j as h } from "./index.es139.js";
2
2
  import { clsx as c } from "./index.es141.js";
3
- import { createColorClasses as r } from "./index.es147.js";
3
+ import { createColorClasses as r } from "./index.es145.js";
4
4
  const v = ({
5
5
  width: l = 44,
6
6
  height: s = 44,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as s } from "./index.es141.js";
3
- import { createColorClasses as q } from "./index.es147.js";
3
+ import { createColorClasses as q } from "./index.es145.js";
4
4
  const V = ({
5
5
  width: l = 292,
6
6
  height: z = 48,
@@ -1,6 +1,6 @@
1
1
  import { j as q } from "./index.es139.js";
2
2
  import { clsx as c } from "./index.es141.js";
3
- import { createColorClasses as M } from "./index.es147.js";
3
+ import { createColorClasses as M } from "./index.es145.js";
4
4
  const r = ({
5
5
  width: h = 222,
6
6
  height: v = 48,
@@ -1,6 +1,6 @@
1
1
  import { j as l } from "./index.es139.js";
2
2
  import { clsx as s } from "./index.es141.js";
3
- import { createColorClasses as f } from "./index.es147.js";
3
+ import { createColorClasses as f } from "./index.es145.js";
4
4
  const n = ({
5
5
  width: e = 75,
6
6
  height: c = 75,
package/dist/index.es9.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as x } from "./index.es139.js";
2
2
  import { useMemo as y } from "react";
3
3
  import { clsx as g } from "./index.es141.js";
4
- import { createSpacingClasses as j } from "./index.es145.js";
5
- import { createColorClasses as u } from "./index.es147.js";
4
+ import { createSpacingClasses as j } from "./index.es146.js";
5
+ import { createColorClasses as u } from "./index.es145.js";
6
6
  import { createTypographyClasses as h } from "./index.es148.js";
7
7
  const E = ({
8
8
  as: o,
@@ -1,6 +1,6 @@
1
1
  import { j as l } from "./index.es139.js";
2
2
  import { clsx as o } from "./index.es141.js";
3
- import { createColorClasses as t } from "./index.es147.js";
3
+ import { createColorClasses as t } from "./index.es145.js";
4
4
  const m = ({
5
5
  width: a = 75,
6
6
  height: s = 75,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as i } from "./index.es141.js";
3
- import { createColorClasses as a } from "./index.es147.js";
3
+ import { createColorClasses as a } from "./index.es145.js";
4
4
  const x = ({
5
5
  width: s = 24,
6
6
  height: o = 24,
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "./index.es139.js";
2
2
  import { clsx as i } from "./index.es141.js";
3
- import { createColorClasses as a } from "./index.es147.js";
3
+ import { createColorClasses as a } from "./index.es145.js";
4
4
  const x = ({
5
5
  width: s = 24,
6
6
  height: o = 24,
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "./index.es139.js";
2
2
  import { clsx as c } from "./index.es141.js";
3
- import { createColorClasses as h } from "./index.es147.js";
3
+ import { createColorClasses as h } from "./index.es145.js";
4
4
  const n = ({
5
5
  width: s = 32,
6
6
  height: o = 32,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as l } from "./index.es141.js";
3
- import { createColorClasses as r } from "./index.es147.js";
3
+ import { createColorClasses as r } from "./index.es145.js";
4
4
  const d = ({
5
5
  width: a = 32,
6
6
  height: h = 32,
@@ -1,6 +1,6 @@
1
1
  import { j as a } from "./index.es139.js";
2
2
  import { clsx as r } from "./index.es141.js";
3
- import { createColorClasses as t } from "./index.es147.js";
3
+ import { createColorClasses as t } from "./index.es145.js";
4
4
  const m = ({
5
5
  width: l = 32,
6
6
  height: c = 32,
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "./index.es139.js";
2
2
  import { clsx as m } from "./index.es141.js";
3
- import { createColorClasses as d } from "./index.es147.js";
3
+ import { createColorClasses as d } from "./index.es145.js";
4
4
  const n = ({
5
5
  width: l = 32,
6
6
  height: h = 32,
@@ -1,6 +1,6 @@
1
1
  import { j as c } from "./index.es139.js";
2
2
  import { clsx as t } from "./index.es141.js";
3
- import { createColorClasses as v } from "./index.es147.js";
3
+ import { createColorClasses as v } from "./index.es145.js";
4
4
  const m = ({
5
5
  width: l = 32,
6
6
  height: e = 32,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.346",
3
+ "version": "1.0.347",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["bg","text","color","border"],o=e=>t.map(r=>e[r]?r==="color"?`text-${e[r]}`:`${r}-${e[r]}`:"").filter(Boolean);exports.createColorClasses=o;
2
- //# sourceMappingURL=index.cjs147.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs147.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\n | \"primary\"\n | \"white\"\n | \"status-success\"\n | \"warning\"\n | \"error\"\n | \"muted\"\n | \"emphasis\"\n | \"slate-20\"\n | \"slate-28\"\n | \"border-divider\"\n | \"transparent\"\n | \"blue-30\"\n | \"disabled\"\n | \"lightblue-a01\"\n | \"lightblue-a02\"\n | \"lightblue-a03\"\n | \"secondary\";\n\nexport type ColorProps = {\n bg?: ColorKeys;\n text?: ColorKeys;\n color?: ColorKeys;\n border?: ColorKeys;\n};\n\nexport type ColorPropsKeys = keyof ColorProps;\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\n\nexport const createColorClasses = <TProps extends ColorProps>(\n props: TProps,\n) => {\n return colorPropsKeys\n .map((key) => {\n if (!props[key]) return \"\";\n\n if (key === \"color\") return `text-${props[key]}`;\n return `${key}-${props[key]}`;\n })\n .filter(Boolean);\n};\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"gFA2BA,MAAMA,EAAmC,CAAC,KAAM,OAAQ,QAAS,QAAQ,EAE5DC,EACXC,GAEOF,EACJ,IAAKG,GACCD,EAAMC,CAAG,EAEVA,IAAQ,QAAgB,QAAQD,EAAMC,CAAG,CAAC,GACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAHH,EAIzB,EACA,OAAO,OAAO"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs239.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs239.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/composeRefs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACb,CAAK,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAS,EAETR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAEhC,CACO,CAEJ,CACH,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
- //# sourceMappingURL=index.cjs248.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs248.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/usePrevious.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs265.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
- //# sourceMappingURL=index.cjs249.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs249.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/useSize.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"kaAGA,SAASA,EAAQC,EAAS,CACxB,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAM,SAAS,MAAM,EAC7CC,OAAAA,EAAAA,gBAAgB,IAAM,CACpB,GAAIJ,EAAS,CACXE,EAAQ,CAAE,MAAOF,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMK,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SAC9B,MACUH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAEnBE,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CACjC,CAAO,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMK,EAAe,UAAUL,CAAO,CACnD,MACME,EAAQ,MAAM,CAEpB,EAAK,CAACF,CAAO,CAAC,EACLC,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("./index.cjs290.js"),r=require("./index.cjs288.js"),t=require("./index.cjs291.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
2
- //# sourceMappingURL=index.cjs286.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs286.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
@@ -1,5 +0,0 @@
1
- const t = ["bg", "text", "color", "border"], e = (o) => t.map((r) => o[r] ? r === "color" ? `text-${o[r]}` : `${r}-${o[r]}` : "").filter(Boolean);
2
- export {
3
- e as createColorClasses
4
- };
5
- //# sourceMappingURL=index.es147.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es147.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\n | \"primary\"\n | \"white\"\n | \"status-success\"\n | \"warning\"\n | \"error\"\n | \"muted\"\n | \"emphasis\"\n | \"slate-20\"\n | \"slate-28\"\n | \"border-divider\"\n | \"transparent\"\n | \"blue-30\"\n | \"disabled\"\n | \"lightblue-a01\"\n | \"lightblue-a02\"\n | \"lightblue-a03\"\n | \"secondary\";\n\nexport type ColorProps = {\n bg?: ColorKeys;\n text?: ColorKeys;\n color?: ColorKeys;\n border?: ColorKeys;\n};\n\nexport type ColorPropsKeys = keyof ColorProps;\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\n\nexport const createColorClasses = <TProps extends ColorProps>(\n props: TProps,\n) => {\n return colorPropsKeys\n .map((key) => {\n if (!props[key]) return \"\";\n\n if (key === \"color\") return `text-${props[key]}`;\n return `${key}-${props[key]}`;\n })\n .filter(Boolean);\n};\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"AA2BA,MAAMA,IAAmC,CAAC,MAAM,QAAQ,SAAS,QAAQ,GAE5DC,IAAqB,CAChCC,MAEOF,EACJ,IAAI,CAACG,MACCD,EAAMC,CAAG,IAEVA,MAAQ,UAAgB,QAAQD,EAAMC,CAAG,CAAC,KACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,KAHH,EAIzB,EACA,OAAO,OAAO;"}
@@ -1,30 +0,0 @@
1
- import * as f from "react";
2
- function l(n, o) {
3
- if (typeof n == "function")
4
- return n(o);
5
- n != null && (n.current = o);
6
- }
7
- function i(...n) {
8
- return (o) => {
9
- let u = !1;
10
- const c = n.map((t) => {
11
- const e = l(t, o);
12
- return !u && typeof e == "function" && (u = !0), e;
13
- });
14
- if (u)
15
- return () => {
16
- for (let t = 0; t < c.length; t++) {
17
- const e = c[t];
18
- typeof e == "function" ? e() : l(n[t], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return f.useCallback(i(...n), n);
25
- }
26
- export {
27
- i as composeRefs,
28
- s as useComposedRefs
29
- };
30
- //# sourceMappingURL=index.es239.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es239.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/composeRefs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -1,9 +0,0 @@
1
- import * as u from "react";
2
- function t(r) {
3
- const e = u.useRef({ value: r, previous: r });
4
- return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
5
- }
6
- export {
7
- t as usePrevious
8
- };
9
- //# sourceMappingURL=index.es248.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es248.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/usePrevious.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
@@ -1,28 +0,0 @@
1
- import * as h from "react";
2
- import { useLayoutEffect as z } from "./index.es265.js";
3
- function c(r) {
4
- const [d, e] = h.useState(void 0);
5
- return z(() => {
6
- if (r) {
7
- e({ width: r.offsetWidth, height: r.offsetHeight });
8
- const f = new ResizeObserver((i) => {
9
- if (!Array.isArray(i) || !i.length)
10
- return;
11
- const b = i[0];
12
- let o, t;
13
- if ("borderBoxSize" in b) {
14
- const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
15
- o = u.inlineSize, t = u.blockSize;
16
- } else
17
- o = r.offsetWidth, t = r.offsetHeight;
18
- e({ width: o, height: t });
19
- });
20
- return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
21
- } else
22
- e(void 0);
23
- }, [r]), d;
24
- }
25
- export {
26
- c as useSize
27
- };
28
- //# sourceMappingURL=index.es249.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es249.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/useSize.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":";;AAGA,SAASA,EAAQC,GAAS;AACxB,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,MAAM;AAC7CC,SAAAA,EAAgB,MAAM;AACpB,QAAIJ,GAAS;AACX,MAAAE,EAAQ,EAAE,OAAOF,EAAQ,aAAa,QAAQA,EAAQ,cAAc;AACpE,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAY;AAIrD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AACX;AAEF,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC5B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QAC9B;AACU,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAEnB,QAAAE,EAAQ,EAAE,OAAAM,GAAO,QAAAC,GAAQ;AAAA,MACjC,CAAO;AACD,aAAAJ,EAAe,QAAQL,GAAS,EAAE,KAAK,aAAY,CAAE,GAC9C,MAAMK,EAAe,UAAUL,CAAO;AAAA,IACnD;AACM,MAAAE,EAAQ,MAAM;AAAA,EAEpB,GAAK,CAACF,CAAO,CAAC,GACLC;AACT;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- import { RemoveScrollSideCar as r } from "./index.es290.js";
2
- import { effectCar as o } from "./index.es288.js";
3
- import { exportSidecar as e } from "./index.es291.js";
4
- const f = e(o, r);
5
- export {
6
- f as default
7
- };
8
- //# sourceMappingURL=index.es286.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es286.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}