@atme-lab/ui-kit 0.1.20 → 0.1.22

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 (314) hide show
  1. package/dist/components/content/ArticlePreview/components/ArticlePreviewContent/ArticlePreviewContent.d.ts +2 -1
  2. package/dist/components/content/DecorativeFrame/utils/patternGenerator.d.ts +2 -0
  3. package/dist/index.cjs10.js +1 -1
  4. package/dist/index.cjs11.js +1 -1
  5. package/dist/index.cjs12.js +1 -1
  6. package/dist/index.cjs13.js +1 -1
  7. package/dist/index.cjs14.js +1 -1
  8. package/dist/index.cjs15.js +1 -1
  9. package/dist/index.cjs16.js +1 -1
  10. package/dist/index.cjs17.js +1 -1
  11. package/dist/index.cjs18.js +1 -1
  12. package/dist/index.cjs19.js +1 -1
  13. package/dist/index.cjs20.js +1 -1
  14. package/dist/index.cjs21.js +1 -1
  15. package/dist/index.cjs22.js +1 -1
  16. package/dist/index.cjs23.js +1 -1
  17. package/dist/index.cjs24.js +1 -1
  18. package/dist/index.cjs25.js +1 -1
  19. package/dist/index.cjs25.js.map +1 -1
  20. package/dist/index.cjs26.js +1 -1
  21. package/dist/index.cjs27.js +1 -1
  22. package/dist/index.cjs28.js +1 -1
  23. package/dist/index.cjs28.js.map +1 -1
  24. package/dist/index.cjs29.js +1 -1
  25. package/dist/index.cjs30.js +1 -1
  26. package/dist/index.cjs36.js +1 -1
  27. package/dist/index.cjs38.js +1 -1
  28. package/dist/index.cjs38.js.map +1 -1
  29. package/dist/index.cjs385.js +1 -1
  30. package/dist/index.cjs388.js +1 -1
  31. package/dist/index.cjs389.js +1 -1
  32. package/dist/index.cjs39.js +1 -1
  33. package/dist/index.cjs390.js +1 -1
  34. package/dist/index.cjs391.js +1 -1
  35. package/dist/index.cjs40.js +9 -1
  36. package/dist/index.cjs40.js.map +1 -1
  37. package/dist/index.cjs41.js +22 -1
  38. package/dist/index.cjs41.js.map +1 -1
  39. package/dist/index.cjs411.js +6 -1
  40. package/dist/index.cjs411.js.map +1 -1
  41. package/dist/index.cjs412.js +6 -1
  42. package/dist/index.cjs412.js.map +1 -1
  43. package/dist/index.cjs413.js +2 -2
  44. package/dist/index.cjs413.js.map +1 -1
  45. package/dist/index.cjs414.js +2 -2
  46. package/dist/index.cjs414.js.map +1 -1
  47. package/dist/index.cjs415.js +1 -6
  48. package/dist/index.cjs415.js.map +1 -1
  49. package/dist/index.cjs416.js +1 -6
  50. package/dist/index.cjs416.js.map +1 -1
  51. package/dist/index.cjs42.js +1 -9
  52. package/dist/index.cjs42.js.map +1 -1
  53. package/dist/index.cjs420.js +1 -1
  54. package/dist/index.cjs421.js +1 -1
  55. package/dist/index.cjs422.js +1 -1
  56. package/dist/index.cjs423.js +1 -1
  57. package/dist/index.cjs424.js +1 -1
  58. package/dist/index.cjs425.js +1 -1
  59. package/dist/index.cjs426.js +1 -1
  60. package/dist/index.cjs428.js +1 -1
  61. package/dist/index.cjs43.js +1 -22
  62. package/dist/index.cjs43.js.map +1 -1
  63. package/dist/index.cjs430.js +1 -1
  64. package/dist/index.cjs433.js +1 -1
  65. package/dist/index.cjs434.js +1 -6
  66. package/dist/index.cjs434.js.map +1 -1
  67. package/dist/index.cjs435.js +1 -6
  68. package/dist/index.cjs435.js.map +1 -1
  69. package/dist/index.cjs436.js +1 -6
  70. package/dist/index.cjs436.js.map +1 -1
  71. package/dist/index.cjs437.js +1 -6
  72. package/dist/index.cjs437.js.map +1 -1
  73. package/dist/index.cjs438.js +1 -1
  74. package/dist/index.cjs438.js.map +1 -1
  75. package/dist/index.cjs439.js +1 -1
  76. package/dist/index.cjs439.js.map +1 -1
  77. package/dist/index.cjs44.js +1 -1
  78. package/dist/index.cjs440.js +1 -1
  79. package/dist/index.cjs440.js.map +1 -1
  80. package/dist/index.cjs441.js +1 -1
  81. package/dist/index.cjs441.js.map +1 -1
  82. package/dist/index.cjs442.js +1 -1
  83. package/dist/index.cjs442.js.map +1 -1
  84. package/dist/index.cjs443.js +1 -1
  85. package/dist/index.cjs443.js.map +1 -1
  86. package/dist/index.cjs444.js +1 -1
  87. package/dist/index.cjs444.js.map +1 -1
  88. package/dist/index.cjs445.js +1 -1
  89. package/dist/index.cjs445.js.map +1 -1
  90. package/dist/index.cjs446.js +1 -1
  91. package/dist/index.cjs446.js.map +1 -1
  92. package/dist/index.cjs447.js +1 -1
  93. package/dist/index.cjs447.js.map +1 -1
  94. package/dist/index.cjs448.js +1 -1
  95. package/dist/index.cjs448.js.map +1 -1
  96. package/dist/index.cjs449.js +6 -1
  97. package/dist/index.cjs449.js.map +1 -1
  98. package/dist/index.cjs45.js +1 -1
  99. package/dist/index.cjs450.js +6 -1
  100. package/dist/index.cjs450.js.map +1 -1
  101. package/dist/index.cjs451.js +6 -1
  102. package/dist/index.cjs451.js.map +1 -1
  103. package/dist/index.cjs452.js +6 -1
  104. package/dist/index.cjs452.js.map +1 -1
  105. package/dist/index.cjs46.js +1 -1
  106. package/dist/index.cjs46.js.map +1 -1
  107. package/dist/index.cjs47.js +1 -1
  108. package/dist/index.cjs48.js +1 -1
  109. package/dist/index.cjs48.js.map +1 -1
  110. package/dist/index.cjs49.js +1 -1
  111. package/dist/index.cjs50.js +1 -1
  112. package/dist/index.cjs51.js +1 -1
  113. package/dist/index.cjs51.js.map +1 -1
  114. package/dist/index.cjs52.js +1 -1
  115. package/dist/index.cjs52.js.map +1 -1
  116. package/dist/index.cjs53.js +1 -1
  117. package/dist/index.cjs53.js.map +1 -1
  118. package/dist/index.cjs54.js +1 -1
  119. package/dist/index.cjs54.js.map +1 -1
  120. package/dist/index.cjs55.js +1 -1
  121. package/dist/index.cjs56.js +1 -1
  122. package/dist/index.cjs57.js +1 -1
  123. package/dist/index.cjs58.js +1 -1
  124. package/dist/index.cjs59.js +1 -1
  125. package/dist/index.cjs59.js.map +1 -1
  126. package/dist/index.cjs60.js +1 -1
  127. package/dist/index.cjs60.js.map +1 -1
  128. package/dist/index.cjs61.js +1 -1
  129. package/dist/index.cjs62.js +1 -1
  130. package/dist/index.cjs62.js.map +1 -1
  131. package/dist/index.cjs63.js +1 -1
  132. package/dist/index.cjs63.js.map +1 -1
  133. package/dist/index.cjs64.js +1 -1
  134. package/dist/index.cjs64.js.map +1 -1
  135. package/dist/index.cjs65.js +1 -1
  136. package/dist/index.cjs65.js.map +1 -1
  137. package/dist/index.cjs66.js +1 -1
  138. package/dist/index.cjs66.js.map +1 -1
  139. package/dist/index.cjs67.js +1 -1
  140. package/dist/index.cjs68.js +1 -1
  141. package/dist/index.cjs68.js.map +1 -1
  142. package/dist/index.cjs69.js +1 -1
  143. package/dist/index.cjs70.js +1 -1
  144. package/dist/index.cjs71.js +1 -1
  145. package/dist/index.cjs71.js.map +1 -1
  146. package/dist/index.cjs72.js +1 -1
  147. package/dist/index.cjs73.js +1 -1
  148. package/dist/index.cjs9.js +1 -1
  149. package/dist/index.esm10.js +3 -3
  150. package/dist/index.esm11.js +2 -2
  151. package/dist/index.esm12.js +4 -4
  152. package/dist/index.esm13.js +2 -2
  153. package/dist/index.esm14.js +2 -2
  154. package/dist/index.esm15.js +2 -2
  155. package/dist/index.esm16.js +2 -2
  156. package/dist/index.esm17.js +2 -2
  157. package/dist/index.esm18.js +2 -2
  158. package/dist/index.esm19.js +2 -2
  159. package/dist/index.esm20.js +2 -2
  160. package/dist/index.esm21.js +3 -3
  161. package/dist/index.esm22.js +3 -3
  162. package/dist/index.esm23.js +2 -2
  163. package/dist/index.esm24.js +3 -3
  164. package/dist/index.esm25.js +26 -26
  165. package/dist/index.esm25.js.map +1 -1
  166. package/dist/index.esm26.js +2 -2
  167. package/dist/index.esm27.js +2 -2
  168. package/dist/index.esm28.js +49 -29
  169. package/dist/index.esm28.js.map +1 -1
  170. package/dist/index.esm29.js +2 -2
  171. package/dist/index.esm30.js +4 -4
  172. package/dist/index.esm36.js +1 -1
  173. package/dist/index.esm38.js +8 -5
  174. package/dist/index.esm38.js.map +1 -1
  175. package/dist/index.esm385.js +2 -2
  176. package/dist/index.esm388.js +45 -45
  177. package/dist/index.esm389.js +1 -1
  178. package/dist/index.esm39.js +2 -41
  179. package/dist/index.esm39.js.map +1 -1
  180. package/dist/index.esm390.js +1 -1
  181. package/dist/index.esm391.js +30 -22
  182. package/dist/index.esm391.js.map +1 -1
  183. package/dist/index.esm40.js +25 -7
  184. package/dist/index.esm40.js.map +1 -1
  185. package/dist/index.esm41.js +602 -2
  186. package/dist/index.esm41.js.map +1 -1
  187. package/dist/index.esm411.js +9 -5
  188. package/dist/index.esm411.js.map +1 -1
  189. package/dist/index.esm412.js +18 -5
  190. package/dist/index.esm412.js.map +1 -1
  191. package/dist/index.esm413.js +9 -3
  192. package/dist/index.esm413.js.map +1 -1
  193. package/dist/index.esm414.js +6 -7
  194. package/dist/index.esm414.js.map +1 -1
  195. package/dist/index.esm415.js +5 -15
  196. package/dist/index.esm415.js.map +1 -1
  197. package/dist/index.esm416.js +5 -17
  198. package/dist/index.esm416.js.map +1 -1
  199. package/dist/index.esm42.js +5 -26
  200. package/dist/index.esm42.js.map +1 -1
  201. package/dist/index.esm420.js +1 -1
  202. package/dist/index.esm421.js +2 -2
  203. package/dist/index.esm422.js +3 -3
  204. package/dist/index.esm423.js +3 -3
  205. package/dist/index.esm424.js +1 -1
  206. package/dist/index.esm425.js +2 -2
  207. package/dist/index.esm426.js +1 -1
  208. package/dist/index.esm428.js +1 -1
  209. package/dist/index.esm43.js +29 -602
  210. package/dist/index.esm43.js.map +1 -1
  211. package/dist/index.esm430.js +7 -7
  212. package/dist/index.esm433.js +1 -1
  213. package/dist/index.esm434.js +19 -21
  214. package/dist/index.esm434.js.map +1 -1
  215. package/dist/index.esm435.js +17 -9
  216. package/dist/index.esm435.js.map +1 -1
  217. package/dist/index.esm436.js +12 -38
  218. package/dist/index.esm436.js.map +1 -1
  219. package/dist/index.esm437.js +5 -18
  220. package/dist/index.esm437.js.map +1 -1
  221. package/dist/index.esm438.js +3 -18
  222. package/dist/index.esm438.js.map +1 -1
  223. package/dist/index.esm439.js +29 -15
  224. package/dist/index.esm439.js.map +1 -1
  225. package/dist/index.esm44.js +5 -42
  226. package/dist/index.esm44.js.map +1 -1
  227. package/dist/index.esm440.js +33 -11
  228. package/dist/index.esm440.js.map +1 -1
  229. package/dist/index.esm441.js +25 -4
  230. package/dist/index.esm441.js.map +1 -1
  231. package/dist/index.esm442.js +3 -3
  232. package/dist/index.esm442.js.map +1 -1
  233. package/dist/index.esm443.js +5 -30
  234. package/dist/index.esm443.js.map +1 -1
  235. package/dist/index.esm444.js +9 -33
  236. package/dist/index.esm444.js.map +1 -1
  237. package/dist/index.esm445.js +6 -25
  238. package/dist/index.esm445.js.map +1 -1
  239. package/dist/index.esm446.js +3 -3
  240. package/dist/index.esm446.js.map +1 -1
  241. package/dist/index.esm447.js +84 -5
  242. package/dist/index.esm447.js.map +1 -1
  243. package/dist/index.esm448.js +37 -9
  244. package/dist/index.esm448.js.map +1 -1
  245. package/dist/index.esm449.js +21 -7
  246. package/dist/index.esm449.js.map +1 -1
  247. package/dist/index.esm45.js +10 -28
  248. package/dist/index.esm45.js.map +1 -1
  249. package/dist/index.esm450.js +9 -4
  250. package/dist/index.esm450.js.map +1 -1
  251. package/dist/index.esm451.js +38 -85
  252. package/dist/index.esm451.js.map +1 -1
  253. package/dist/index.esm452.js +18 -38
  254. package/dist/index.esm452.js.map +1 -1
  255. package/dist/index.esm46.js +30 -65
  256. package/dist/index.esm46.js.map +1 -1
  257. package/dist/index.esm47.js +64 -10
  258. package/dist/index.esm47.js.map +1 -1
  259. package/dist/index.esm48.js +41 -30
  260. package/dist/index.esm48.js.map +1 -1
  261. package/dist/index.esm49.js +36 -39
  262. package/dist/index.esm49.js.map +1 -1
  263. package/dist/index.esm50.js +4 -16
  264. package/dist/index.esm50.js.map +1 -1
  265. package/dist/index.esm51.js +7 -16
  266. package/dist/index.esm51.js.map +1 -1
  267. package/dist/index.esm52.js +9 -5
  268. package/dist/index.esm52.js.map +1 -1
  269. package/dist/index.esm53.js +7 -14
  270. package/dist/index.esm53.js.map +1 -1
  271. package/dist/index.esm54.js +40 -87
  272. package/dist/index.esm54.js.map +1 -1
  273. package/dist/index.esm55.js +47 -33
  274. package/dist/index.esm55.js.map +1 -1
  275. package/dist/index.esm56.js +10 -40
  276. package/dist/index.esm56.js.map +1 -1
  277. package/dist/index.esm57.js +8 -36
  278. package/dist/index.esm57.js.map +1 -1
  279. package/dist/index.esm58.js +58 -6
  280. package/dist/index.esm58.js.map +1 -1
  281. package/dist/index.esm59.js +16 -9
  282. package/dist/index.esm59.js.map +1 -1
  283. package/dist/index.esm60.js +97 -7
  284. package/dist/index.esm60.js.map +1 -1
  285. package/dist/index.esm61.js +40 -8
  286. package/dist/index.esm61.js.map +1 -1
  287. package/dist/index.esm62.js +88 -9
  288. package/dist/index.esm62.js.map +1 -1
  289. package/dist/index.esm63.js +35 -85
  290. package/dist/index.esm63.js.map +1 -1
  291. package/dist/index.esm64.js +127 -35
  292. package/dist/index.esm64.js.map +1 -1
  293. package/dist/index.esm65.js +9 -120
  294. package/dist/index.esm65.js.map +1 -1
  295. package/dist/index.esm66.js +28 -47
  296. package/dist/index.esm66.js.map +1 -1
  297. package/dist/index.esm67.js +16 -10
  298. package/dist/index.esm67.js.map +1 -1
  299. package/dist/index.esm68.js +16 -6
  300. package/dist/index.esm68.js.map +1 -1
  301. package/dist/index.esm69.js +32 -40
  302. package/dist/index.esm69.js.map +1 -1
  303. package/dist/index.esm70.js +15 -8
  304. package/dist/index.esm70.js.map +1 -1
  305. package/dist/index.esm71.js +43 -28
  306. package/dist/index.esm71.js.map +1 -1
  307. package/dist/index.esm72.js +8 -58
  308. package/dist/index.esm72.js.map +1 -1
  309. package/dist/index.esm73.js +40 -15
  310. package/dist/index.esm73.js.map +1 -1
  311. package/dist/index.esm9.js +2 -2
  312. package/dist/styles.css +1 -1
  313. package/dist/ui-kit.css +1 -1
  314. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=[[[0,0],[1,0],[0,1]],[[0,0],[1,0],[1,1]],[[0,0],[0,1],[1,1]],[[0,1],[1,0],[1,1]]],B=9301,w=49297,p=233280,F=4,_=1,b=8,k=.12,X=.3,E={circle:.2,dot:.35,triangle:.5,diamond:.62,cross:.75},j=.3,z=.3,V=450,Y=320,v=300,Z=.8,g=.17,q=2,J=5,K=.75;function M(t,o,a){return Math.floor(a()*(o-t+1))+t}function Q(t){return()=>(t=(t*B+w)%p,t/p)}function $(t,o,a,I,i,c="right",e=2){return H(t,o,a,I,i,c,e)}function H(t,o,a,I,i,c,e){if(t<=0||o<=0)return[];const u=Math.max(F,a),T=Math.max(_,Math.floor(o/u)),s=Math.min(b,Math.max(_,e));let r=1;for(;r<T&&o/(r+1)>=u;)r++;let n=o/r;n>t&&(n=t,r=Math.max(_,Math.floor(o/n)));const C=t/s,L=o/s;if(n=Math.min(n,C,L),n<=0)return[];r=Math.max(_,Math.floor(o/n));const S=Math.max(_,Math.floor(t/n)),y=()=>i()>k,x=l=>M(Math.max(_,Math.floor(l*X)),l,i),N=c==="right"||c==="left",O=N?r:S,h=N?S:r,A=c==="right"||c==="bottom",R=[];for(let l=0;l<O;l++){if(!y())continue;const m=x(h),P=A?h-m:0,D=A?h:m;for(let f=P;f<D;f++){const G=N?f:l,U=N?l:f;tt(R,G*n,U*n,n,n,I,i)}}return R}function W(t){const o=t();if(o<E.circle)return{shapeType:"circle"};if(o<E.dot)return{shapeType:"dot",dotScale:j+t()*z};if(o<E.triangle)return{shapeType:"triangle",triangleIndex:M(0,d.length-1,t)};if(o<E.diamond)return{shapeType:"diamond"};if(o<E.cross)return{shapeType:"cross"};const a=M(q,J,t);return{shapeType:"stripes",stripeDirection:t()>.35?1:0,stripeCount:a,stripeMask:Array.from({length:a},()=>t()>1-K)}}function tt(t,o,a,I,i,c,e){const u=M(0,c-1,e);let T=M(0,c-1,e);for(;T===u;)T=M(0,c-1,e);const s=W(e);t.push({x:o,y:a,width:I,height:i,bgColorIndex:u,shapeColorIndex:T,shapeType:s.shapeType,triangleIndex:s.triangleIndex,stripeDirection:s.stripeDirection,stripeCount:s.stripeCount,stripeMask:s.stripeMask,animationDelay:Math.floor(e()*V),animationDuration:Y+Math.floor(e()*v),animationScaleFrom:Z+e()*g,dotScale:s.dotScale})}exports.TRIANGLE_TEMPLATES=d;exports.createSeededRandom=Q;exports.generatePattern=$;exports.getRandomInt=M;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_mptdu_1",o="_root--edge-top_mptdu_6",r="_root--edge-bottom_mptdu_10",e="_root--edge-left_mptdu_14",p="_root--edge-right_mptdu_18",_="_content_mptdu_22",i="_strip_mptdu_28",s="_strip--top_mptdu_36",d="_strip--bottom_mptdu_37",g="_strip--left_mptdu_42",m="_strip--right_mptdu_43",u="_stripMirror_mptdu_48",n={root:t,"root--edge-top":"_root--edge-top_mptdu_6",rootEdgeTop:o,"root--edge-bottom":"_root--edge-bottom_mptdu_10",rootEdgeBottom:r,"root--edge-left":"_root--edge-left_mptdu_14",rootEdgeLeft:e,"root--edge-right":"_root--edge-right_mptdu_18",rootEdgeRight:p,content:_,strip:i,"strip--top":"_strip--top_mptdu_36",stripTop:s,"strip--bottom":"_strip--bottom_mptdu_37",stripBottom:d,"strip--left":"_strip--left_mptdu_42",stripLeft:g,"strip--right":"_strip--right_mptdu_43",stripRight:m,stripMirror:u};exports.content=_;exports.default=n;exports.root=t;exports.rootEdgeBottom=r;exports.rootEdgeLeft=e;exports.rootEdgeRight=p;exports.rootEdgeTop=o;exports.strip=i;exports.stripBottom=d;exports.stripLeft=g;exports.stripMirror=u;exports.stripRight=m;exports.stripTop=s;
2
2
  //# sourceMappingURL=index.cjs63.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs63.js","sources":["../src/components/content/DecorativeFrame/utils/patternGenerator.ts"],"sourcesContent":["export type Point2D = [number, number];\n\nexport const TRIANGLE_TEMPLATES: Point2D[][] = [\n [[0, 0], [1, 0], [0, 1]],\n [[0, 0], [1, 0], [1, 1]],\n [[0, 0], [0, 1], [1, 1]],\n [[0, 1], [1, 0], [1, 1]],\n];\n\nexport type ShapeType =\n | 'circle'\n | 'dot'\n | 'triangle'\n | 'diamond'\n | 'cross'\n | 'stripes'\n | null;\n\nexport interface CellConfig {\n x: number;\n y: number;\n width: number;\n height: number;\n bgColorIndex: number;\n shapeColorIndex: number;\n shapeType: ShapeType;\n triangleIndex?: number;\n stripeDirection?: 0 | 1;\n stripeCount?: number;\n stripeMask?: boolean[];\n animationDelay: number;\n animationDuration: number;\n animationScaleFrom?: number;\n dotScale?: number;\n}\n\nconst RNG_MULTIPLIER = 9301;\nconst RNG_INCREMENT = 49297;\nconst RNG_MODULUS = 233280;\n\nconst MIN_BOX_SIZE = 4;\nconst STRIP_LINES_MIN = 1;\nconst STRIP_LINES_MAX = 8;\nconst EMPTY_ROW_CHANCE = 0.12;\nconst FILL_COUNT_MIN_RATIO = 0.3;\n\nconst SHAPE_PROB = { circle: 0.2, dot: 0.35, triangle: 0.5, diamond: 0.62, cross: 0.75 } as const;\nconst DOT_SCALE_MIN = 0.3;\nconst DOT_SCALE_RANGE = 0.3;\nconst ANIM_DELAY_MAX = 450;\nconst ANIM_DURATION_MIN = 320;\nconst ANIM_DURATION_RANGE = 300;\nconst ANIM_SCALE_FROM_MIN = 0.8;\nconst ANIM_SCALE_FROM_RANGE = 0.17;\nconst STRIPE_COUNT_MIN = 2;\nconst STRIPE_COUNT_MAX = 5;\nconst STRIPE_VISIBLE_CHANCE = 0.75;\n\nexport function getRandomInt(min: number, max: number, rng: () => number): number {\n return Math.floor(rng() * (max - min + 1)) + min;\n}\n\nexport function createSeededRandom(seed: number): () => number {\n return () => {\n seed = (seed * RNG_MULTIPLIER + RNG_INCREMENT) % RNG_MODULUS;\n return seed / RNG_MODULUS;\n };\n}\n\nexport type PatternEdge = 'top' | 'right' | 'bottom' | 'left';\n\nexport function generatePattern(\n stripWidth: number,\n stripHeight: number,\n boxSize: number,\n colorCount: number,\n rng: () => number,\n edge: PatternEdge = 'right',\n stripDensity: number = 2\n): CellConfig[] {\n return generateEdgePattern(stripWidth, stripHeight, boxSize, colorCount, rng, edge, stripDensity);\n}\n\nfunction generateEdgePattern(\n stripWidth: number,\n stripHeight: number,\n boxSize: number,\n colorCount: number,\n rng: () => number,\n edge: PatternEdge,\n stripDensity: number\n): CellConfig[] {\n if (stripWidth <= 0 || stripHeight <= 0) return [];\n\n const safeBoxSize = Math.max(MIN_BOX_SIZE, boxSize);\n const maxRows = Math.max(STRIP_LINES_MIN, Math.floor(stripHeight / safeBoxSize));\n const minLines = Math.min(STRIP_LINES_MAX, Math.max(STRIP_LINES_MIN, stripDensity));\n\n let rowCount = 1;\n while (rowCount < maxRows && stripHeight / (rowCount + 1) >= safeBoxSize) {\n rowCount++;\n }\n\n let cellSize = stripHeight / rowCount;\n if (cellSize > stripWidth) {\n cellSize = stripWidth;\n rowCount = Math.max(STRIP_LINES_MIN, Math.floor(stripHeight / cellSize));\n }\n\n const maxCellByWidth = stripWidth / minLines;\n const maxCellByHeight = stripHeight / minLines;\n cellSize = Math.min(cellSize, maxCellByWidth, maxCellByHeight);\n if (cellSize <= 0) return [];\n\n rowCount = Math.max(STRIP_LINES_MIN, Math.floor(stripHeight / cellSize));\n const colCount = Math.max(STRIP_LINES_MIN, Math.floor(stripWidth / cellSize));\n\n const shouldFill = () => rng() > EMPTY_ROW_CHANCE;\n const fillCount = (max: number) =>\n getRandomInt(Math.max(STRIP_LINES_MIN, Math.floor(max * FILL_COUNT_MIN_RATIO)), max, rng);\n\n const isVerticalStrip = edge === 'right' || edge === 'left';\n const primaryCount = isVerticalStrip ? rowCount : colCount;\n const secondaryCount = isVerticalStrip ? colCount : rowCount;\n const isEndEdge = edge === 'right' || edge === 'bottom';\n\n const cells: CellConfig[] = [];\n\n for (let i = 0; i < primaryCount; i++) {\n if (!shouldFill()) continue;\n\n const count = fillCount(secondaryCount);\n const start = isEndEdge ? secondaryCount - count : 0;\n const end = isEndEdge ? secondaryCount : count;\n\n for (let j = start; j < end; j++) {\n const col = isVerticalStrip ? j : i;\n const row = isVerticalStrip ? i : j;\n pushCell(cells, col * cellSize, row * cellSize, cellSize, cellSize, colorCount, rng);\n }\n }\n\n return cells;\n}\n\nfunction pickShapeType(rng: () => number): {\n shapeType: ShapeType;\n triangleIndex?: number;\n stripeDirection?: 0 | 1;\n stripeCount?: number;\n stripeMask?: boolean[];\n dotScale?: number;\n} {\n const roll = rng();\n\n if (roll < SHAPE_PROB.circle) return { shapeType: 'circle' };\n if (roll < SHAPE_PROB.dot) {\n return { shapeType: 'dot', dotScale: DOT_SCALE_MIN + rng() * DOT_SCALE_RANGE };\n }\n if (roll < SHAPE_PROB.triangle) {\n return {\n shapeType: 'triangle',\n triangleIndex: getRandomInt(0, TRIANGLE_TEMPLATES.length - 1, rng),\n };\n }\n if (roll < SHAPE_PROB.diamond) return { shapeType: 'diamond' };\n if (roll < SHAPE_PROB.cross) return { shapeType: 'cross' };\n\n const stripeCount = getRandomInt(STRIPE_COUNT_MIN, STRIPE_COUNT_MAX, rng);\n return {\n shapeType: 'stripes',\n stripeDirection: rng() > 0.35 ? 1 : 0,\n stripeCount,\n stripeMask: Array.from({ length: stripeCount }, () => rng() > 1 - STRIPE_VISIBLE_CHANCE),\n };\n}\n\nfunction pushCell(\n cells: CellConfig[],\n x: number,\n y: number,\n width: number,\n height: number,\n colorCount: number,\n rng: () => number\n): void {\n const bgColorIndex = getRandomInt(0, colorCount - 1, rng);\n let shapeColorIndex = getRandomInt(0, colorCount - 1, rng);\n while (shapeColorIndex === bgColorIndex) {\n shapeColorIndex = getRandomInt(0, colorCount - 1, rng);\n }\n\n const shape = pickShapeType(rng);\n\n cells.push({\n x,\n y,\n width,\n height,\n bgColorIndex,\n shapeColorIndex,\n shapeType: shape.shapeType,\n triangleIndex: shape.triangleIndex,\n stripeDirection: shape.stripeDirection,\n stripeCount: shape.stripeCount,\n stripeMask: shape.stripeMask,\n animationDelay: Math.floor(rng() * ANIM_DELAY_MAX),\n animationDuration: ANIM_DURATION_MIN + Math.floor(rng() * ANIM_DURATION_RANGE),\n animationScaleFrom: ANIM_SCALE_FROM_MIN + rng() * ANIM_SCALE_FROM_RANGE,\n dotScale: shape.dotScale,\n });\n}\n"],"names":["TRIANGLE_TEMPLATES","RNG_MULTIPLIER","RNG_INCREMENT","RNG_MODULUS","MIN_BOX_SIZE","STRIP_LINES_MIN","STRIP_LINES_MAX","EMPTY_ROW_CHANCE","FILL_COUNT_MIN_RATIO","SHAPE_PROB","DOT_SCALE_MIN","DOT_SCALE_RANGE","ANIM_DELAY_MAX","ANIM_DURATION_MIN","ANIM_DURATION_RANGE","ANIM_SCALE_FROM_MIN","ANIM_SCALE_FROM_RANGE","STRIPE_COUNT_MIN","STRIPE_COUNT_MAX","STRIPE_VISIBLE_CHANCE","getRandomInt","min","max","rng","createSeededRandom","seed","generatePattern","stripWidth","stripHeight","boxSize","colorCount","edge","stripDensity","generateEdgePattern","safeBoxSize","maxRows","minLines","rowCount","cellSize","maxCellByWidth","maxCellByHeight","colCount","shouldFill","fillCount","isVerticalStrip","primaryCount","secondaryCount","isEndEdge","cells","i","count","start","end","j","col","row","pushCell","pickShapeType","roll","stripeCount","x","y","width","height","bgColorIndex","shapeColorIndex","shape"],"mappings":"6FAEO,MAAMA,EAAkC,CAC7C,CAAC,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,CAAC,EACvB,CAAC,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,CAAC,EACvB,CAAC,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,CAAC,EACvB,CAAC,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,EAAG,CAAC,CAAC,CACzB,EA6BMC,EAAiB,KACjBC,EAAg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OAAS,EAAGuB,CAAG,CAAA,EAGrE,GAAImC,EAAOjD,EAAW,QAAS,MAAO,CAAE,UAAW,SAAA,EACnD,GAAIiD,EAAOjD,EAAW,MAAO,MAAO,CAAE,UAAW,OAAA,EAEjD,MAAMkD,EAAcvC,EAAaH,EAAkBC,EAAkBK,CAAG,EACxE,MAAO,CACL,UAAW,UACX,gBAAiBA,EAAA,EAAQ,IAAO,EAAI,EACpC,YAAAoC,EACA,WAAY,MAAM,KAAK,CAAE,OAAQA,CAAA,EAAe,IAAMpC,IAAQ,EAAIJ,CAAqB,CAAA,CAE3F,CAEA,SAASqC,GACPR,EACAY,EACAC,EACAC,EACAC,EACAjC,EACAP,EACM,CACN,MAAMyC,EAAe5C,EAAa,EAAGU,EAAa,EAAGP,CAAG,EACxD,IAAI0C,EAAkB7C,EAAa,EAAGU,EAAa,EAAGP,CAAG,EACzD,KAAO0C,IAAoBD,GACzBC,EAAkB7C,EAAa,EAAGU,EAAa,EAAGP,CAAG,EAGvD,MAAM2C,EAAQT,EAAclC,CAAG,EAE/ByB,EAAM,KAAK,CACT,EAAAY,EACA,EAAAC,EACA,MAAAC,EACA,OAAAC,EACA,aAAAC,EACA,gBAAAC,EACA,UAAWC,EAAM,UACjB,cAAeA,EAAM,cACrB,gBAAiBA,EAAM,gBACvB,YAAaA,EAAM,YACnB,WAAYA,EAAM,WAClB,eAAgB,KAAK,MAAM3C,EAAA,EAAQX,CAAc,EACjD,kBAAmBC,EAAoB,KAAK,MAAMU,EAAA,EAAQT,CAAmB,EAC7E,mBAAoBC,EAAsBQ,EAAA,EAAQP,EAClD,SAAUkD,EAAM,QAAA,CACjB,CACH"}
1
+ {"version":3,"file":"index.cjs63.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_di5ju_1",o="_root--edge-top_di5ju_7",r="_root--edge-bottom_di5ju_11",i="_root--edge-left_di5ju_15",e="_root--edge-right_di5ju_19",_="_content_di5ju_23",s="_strip_di5ju_29",d="_strip--top_di5ju_37",p="_strip--bottom_di5ju_38",g="_strip--left_di5ju_43",u="_strip--right_di5ju_44",n="_stripMirror_di5ju_49",j={root:t,"root--edge-top":"_root--edge-top_di5ju_7",rootEdgeTop:o,"root--edge-bottom":"_root--edge-bottom_di5ju_11",rootEdgeBottom:r,"root--edge-left":"_root--edge-left_di5ju_15",rootEdgeLeft:i,"root--edge-right":"_root--edge-right_di5ju_19",rootEdgeRight:e,content:_,strip:s,"strip--top":"_strip--top_di5ju_37",stripTop:d,"strip--bottom":"_strip--bottom_di5ju_38",stripBottom:p,"strip--left":"_strip--left_di5ju_43",stripLeft:g,"strip--right":"_strip--right_di5ju_44",stripRight:u,stripMirror:n};exports.content=_;exports.default=j;exports.root=t;exports.rootEdgeBottom=r;exports.rootEdgeLeft=i;exports.rootEdgeRight=e;exports.rootEdgeTop=o;exports.strip=s;exports.stripBottom=p;exports.stripLeft=g;exports.stripMirror=n;exports.stripRight=u;exports.stripTop=d;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs36.js"),k=require("./index.cjs42.js"),g=require("./index.cjs62.js"),e=require("./index.cjs391.js");function S(l){return`polygon(${l.map(([d,s])=>`${d*100}% ${s*100}%`).join(", ")})`}function j({cell:l,colors:o}){const d=o[l.bgColorIndex]??o[0],s=o[l.shapeColorIndex]??o[1],a=Math.min(l.width,l.height),{x:f,y,width:C,height:E,shapeType:i,triangleIndex:c,stripeDirection:u,stripeCount:r=4,stripeMask:b,animationDelay:v,animationDuration:N,animationScaleFrom:R=.9,dotScale:m=.45,animationType:p,animationPhase:$=0}=l,h=u===1?a:a/(r*2-1),x=u===1?a/(r*2-1):a,P=b??Array(r).fill(!0),T={position:"absolute",left:f,top:y,width:C,height:E,"--cell-delay":`${v}ms`,"--cell-duration":`${N}ms`,"--cell-scale-from":R,"--cell-animation-phase":`${$}ms`};return t.jsxRuntimeExports.jsx("div",{className:e.default.cell,style:T,"aria-hidden":!0,children:t.jsxRuntimeExports.jsxs("div",{className:k(e.default.cellInner,p==="breathe"&&e.default.cellBreathes,p==="pulse"&&e.default.cellPulses,p==="opacity"&&e.default.cellOpacity),children:[t.jsxRuntimeExports.jsx("div",{className:e.default.bg,style:{backgroundColor:d}}),i==="circle"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeCircle,style:{backgroundColor:s}}),i==="dot"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeDot,style:{backgroundColor:s,width:`${m*100}%`,height:`${m*100}%`}}),i==="triangle"&&c!==void 0&&g.TRIANGLE_TEMPLATES[c]&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeTriangle,style:{backgroundColor:s,clipPath:S(g.TRIANGLE_TEMPLATES[c])}}),i==="diamond"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeDiamond,style:{backgroundColor:s}}),i==="cross"&&t.jsxRuntimeExports.jsxs("div",{className:e.default.shapeCross,children:[t.jsxRuntimeExports.jsx("div",{className:e.default.crossBar,style:{backgroundColor:s}}),t.jsxRuntimeExports.jsx("div",{className:e.default.crossBarVertical,style:{backgroundColor:s}})]}),i==="stripes"&&t.jsxRuntimeExports.jsx("div",{className:e.default.stripes,children:Array.from({length:r},(w,n)=>P[n]?t.jsxRuntimeExports.jsx("div",{className:e.default.stripe,style:{backgroundColor:s,...u===1?{top:`${2*n*x/a*100}%`,left:0,width:"100%",height:`${x/a*100}%`}:{left:`${2*n*h/a*100}%`,top:0,width:`${h/a*100}%`,height:"100%"}}},n):null)})]})})}j.displayName="PatternCell";exports.PatternCell=j;
2
2
  //# sourceMappingURL=index.cjs64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs64.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs64.js","sources":["../src/components/content/DecorativeFrame/components/PatternCell/PatternCell.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\nimport type { CellConfig, Point2D } from '../../utils/patternGenerator';\nimport { TRIANGLE_TEMPLATES } from '../../utils/patternGenerator';\nimport styles from './PatternCell.module.pcss';\n\nexport interface PatternCellProps {\n cell: CellConfig;\n colors: string[];\n}\n\nfunction polygonClipPath(template: Point2D[]): string {\n const points = template.map(([px, py]) => `${px * 100}% ${py * 100}%`).join(', ');\n return `polygon(${points})`;\n}\n\nexport function PatternCell({ cell, colors }: PatternCellProps) {\n const bgColor = colors[cell.bgColorIndex] ?? colors[0];\n const shapeColor = colors[cell.shapeColorIndex] ?? colors[1];\n const size = Math.min(cell.width, cell.height);\n const {\n x,\n y,\n width: cellWidth,\n height: cellHeight,\n shapeType,\n triangleIndex,\n stripeDirection,\n stripeCount = 4,\n stripeMask,\n animationDelay,\n animationDuration,\n animationScaleFrom = 0.9,\n dotScale = 0.45,\n animationType,\n animationPhase = 0,\n } = cell;\n\n const stripeWidth =\n stripeDirection === 1 ? size : size / (stripeCount * 2 - 1);\n const stripeHeight =\n stripeDirection === 1 ? size / (stripeCount * 2 - 1) : size;\n const visibleStripes = stripeMask ?? Array(stripeCount).fill(true);\n\n const cellStyle: React.CSSProperties = {\n position: 'absolute',\n left: x,\n top: y,\n width: cellWidth,\n height: cellHeight,\n '--cell-delay': `${animationDelay}ms`,\n '--cell-duration': `${animationDuration}ms`,\n '--cell-scale-from': animationScaleFrom,\n '--cell-animation-phase': `${animationPhase}ms`,\n } as React.CSSProperties;\n\n return (\n <div className={styles.cell} style={cellStyle} aria-hidden>\n <div\n className={cn(\n styles.cellInner,\n animationType === 'breathe' && styles.cellBreathes,\n animationType === 'pulse' && styles.cellPulses,\n animationType === 'opacity' && styles.cellOpacity\n )}\n >\n <div className={styles.bg} style={{ backgroundColor: bgColor }} />\n\n {shapeType === 'circle' && (\n <div\n className={styles.shapeCircle}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'dot' && (\n <div\n className={styles.shapeDot}\n style={{\n backgroundColor: shapeColor,\n width: `${dotScale * 100}%`,\n height: `${dotScale * 100}%`,\n }}\n />\n )}\n\n {shapeType === 'triangle' &&\n triangleIndex !== undefined &&\n TRIANGLE_TEMPLATES[triangleIndex] && (\n <div\n className={styles.shapeTriangle}\n style={{\n backgroundColor: shapeColor,\n clipPath: polygonClipPath(TRIANGLE_TEMPLATES[triangleIndex]!),\n }}\n />\n )}\n\n {shapeType === 'diamond' && (\n <div\n className={styles.shapeDiamond}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'cross' && (\n <div className={styles.shapeCross}>\n <div\n className={styles.crossBar}\n style={{ backgroundColor: shapeColor }}\n />\n <div\n className={styles.crossBarVertical}\n style={{ backgroundColor: shapeColor }}\n />\n </div>\n )}\n\n {shapeType === 'stripes' && (\n <div className={styles.stripes}>\n {Array.from({ length: stripeCount }, (_, i) =>\n visibleStripes[i] ? (\n <div\n key={i}\n className={styles.stripe}\n style={{\n backgroundColor: shapeColor,\n ...(stripeDirection === 1\n ? {\n top: `${((2 * i * stripeHeight) / size) * 100}%`,\n left: 0,\n width: '100%',\n height: `${(stripeHeight / size) * 100}%`,\n }\n : {\n left: `${((2 * i * stripeWidth) / size) * 100}%`,\n top: 0,\n width: `${(stripeWidth / size) * 100}%`,\n height: '100%',\n }),\n }}\n />\n ) : null\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\n\nPatternCell.displayName = 'PatternCell';\n"],"names":["polygonClipPath","template","px","py","PatternCell","cell","colors","bgColor","shapeColor","size","x","cellWidth","cellHeight","shapeType","triangleIndex","stripeDirection","stripeCount","stripeMask","animationDelay","animationDuration","animationScaleFrom","dotScale","animationType","animationPhase","stripeWidth","stripeHeight","visibleStripes","cellStyle","jsx","styles","jsxs","cn","TRIANGLE_TEMPLATES","_","i"],"mappings":"4NAWA,SAASA,EAAgBC,EAA6B,CAEpD,MAAO,WADQA,EAAS,IAAI,CAAC,CAACC,EAAIC,CAAE,IAAM,GAAGD,EA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AQ,GAAG,IAC7C,KAAM,EACN,MAAO,OACP,OAAQ,GAAIgB,EAAehB,EAAQ,GAAG,GAAA,EAExC,CACE,KAAM,GAAK,EAAIyB,EAAIV,EAAef,EAAQ,GAAG,IAC7C,IAAK,EACL,MAAO,GAAIe,EAAcf,EAAQ,GAAG,IACpC,OAAQ,MAAA,CACV,CACJ,EAjBKyB,CAAA,EAmBL,IAAA,CACN,CACF,CAAA,CAAA,CAAA,EAGJ,CAEJ,CAEA9B,EAAY,YAAc"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs36.js"),x=require("./index.cjs63.js"),e=require("./index.cjs391.js");function k(a){return`polygon(${a.map(([d,s])=>`${d*100}% ${s*100}%`).join(", ")})`}function g({cell:a,colors:l}){const d=l[a.bgColorIndex]??l[0],s=l[a.shapeColorIndex]??l[1],i=Math.min(a.width,a.height),{x:j,y,width:f,height:C,shapeType:o,triangleIndex:c,stripeDirection:u,stripeCount:r=4,stripeMask:E,animationDelay:b,animationDuration:v,animationScaleFrom:N=.9,dotScale:p=.45}=a,h=u===1?i:i/(r*2-1),m=u===1?i/(r*2-1):i,R=E??Array(r).fill(!0),$={position:"absolute",left:j,top:y,width:f,height:C,"--cell-delay":`${b}ms`,"--cell-duration":`${v}ms`,"--cell-scale-from":N};return t.jsxRuntimeExports.jsxs("div",{className:e.default.cell,style:$,"aria-hidden":!0,children:[t.jsxRuntimeExports.jsx("div",{className:e.default.bg,style:{backgroundColor:d}}),o==="circle"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeCircle,style:{backgroundColor:s}}),o==="dot"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeDot,style:{backgroundColor:s,width:`${p*100}%`,height:`${p*100}%`}}),o==="triangle"&&c!==void 0&&x.TRIANGLE_TEMPLATES[c]&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeTriangle,style:{backgroundColor:s,clipPath:k(x.TRIANGLE_TEMPLATES[c])}}),o==="diamond"&&t.jsxRuntimeExports.jsx("div",{className:e.default.shapeDiamond,style:{backgroundColor:s}}),o==="cross"&&t.jsxRuntimeExports.jsxs("div",{className:e.default.shapeCross,children:[t.jsxRuntimeExports.jsx("div",{className:e.default.crossBar,style:{backgroundColor:s}}),t.jsxRuntimeExports.jsx("div",{className:e.default.crossBarVertical,style:{backgroundColor:s}})]}),o==="stripes"&&t.jsxRuntimeExports.jsx("div",{className:e.default.stripes,children:Array.from({length:r},(P,n)=>R[n]?t.jsxRuntimeExports.jsx("div",{className:e.default.stripe,style:{backgroundColor:s,...u===1?{top:`${2*n*m/i*100}%`,left:0,width:"100%",height:`${m/i*100}%`}:{left:`${2*n*h/i*100}%`,top:0,width:`${h/i*100}%`,height:"100%"}}},n):null)})]})}g.displayName="PatternCell";exports.PatternCell=g;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_link_10e20_1",n="_linkText_10e20_33",l="_linkIcon_10e20_38",t={link:e,linkText:n,linkIcon:l};exports.default=t;exports.link=e;exports.linkIcon=l;exports.linkText=n;
2
2
  //# sourceMappingURL=index.cjs65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs65.js","sources":["../src/components/content/DecorativeFrame/components/PatternCell/PatternCell.tsx"],"sourcesContent":["import React from 'react';\nimport type { CellConfig, Point2D } from '../../utils/patternGenerator';\nimport { TRIANGLE_TEMPLATES } from '../../utils/patternGenerator';\nimport styles from './PatternCell.module.pcss';\n\nexport interface PatternCellProps {\n cell: CellConfig;\n colors: string[];\n}\n\nfunction polygonClipPath(template: Point2D[]): string {\n const points = template.map(([px, py]) => `${px * 100}% ${py * 100}%`).join(', ');\n return `polygon(${points})`;\n}\n\nexport function PatternCell({ cell, colors }: PatternCellProps) {\n const bgColor = colors[cell.bgColorIndex] ?? colors[0];\n const shapeColor = colors[cell.shapeColorIndex] ?? colors[1];\n const size = Math.min(cell.width, cell.height);\n const {\n x,\n y,\n width: cellWidth,\n height: cellHeight,\n shapeType,\n triangleIndex,\n stripeDirection,\n stripeCount = 4,\n stripeMask,\n animationDelay,\n animationDuration,\n animationScaleFrom = 0.9,\n dotScale = 0.45,\n } = cell;\n\n const stripeWidth =\n stripeDirection === 1 ? size : size / (stripeCount * 2 - 1);\n const stripeHeight =\n stripeDirection === 1 ? size / (stripeCount * 2 - 1) : size;\n const visibleStripes = stripeMask ?? Array(stripeCount).fill(true);\n\n const cellStyle: React.CSSProperties = {\n position: 'absolute',\n left: x,\n top: y,\n width: cellWidth,\n height: cellHeight,\n '--cell-delay': `${animationDelay}ms`,\n '--cell-duration': `${animationDuration}ms`,\n '--cell-scale-from': animationScaleFrom,\n } as React.CSSProperties;\n\n return (\n <div\n className={styles.cell}\n style={cellStyle}\n aria-hidden\n >\n <div className={styles.bg} style={{ backgroundColor: bgColor }} />\n\n {shapeType === 'circle' && (\n <div\n className={styles.shapeCircle}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'dot' && (\n <div\n className={styles.shapeDot}\n style={{\n backgroundColor: shapeColor,\n width: `${dotScale * 100}%`,\n height: `${dotScale * 100}%`,\n }}\n />\n )}\n\n {shapeType === 'triangle' &&\n triangleIndex !== undefined &&\n TRIANGLE_TEMPLATES[triangleIndex] && (\n <div\n className={styles.shapeTriangle}\n style={{\n backgroundColor: shapeColor,\n clipPath: polygonClipPath(TRIANGLE_TEMPLATES[triangleIndex]!),\n }}\n />\n )}\n\n {shapeType === 'diamond' && (\n <div\n className={styles.shapeDiamond}\n style={{ backgroundColor: shapeColor }}\n />\n )}\n\n {shapeType === 'cross' && (\n <div className={styles.shapeCross}>\n <div\n className={styles.crossBar}\n style={{ backgroundColor: shapeColor }}\n />\n <div\n className={styles.crossBarVertical}\n style={{ backgroundColor: shapeColor }}\n />\n </div>\n )}\n\n {shapeType === 'stripes' && (\n <div className={styles.stripes}>\n {Array.from({ length: stripeCount }, (_, i) =>\n visibleStripes[i] ? (\n <div\n key={i}\n className={styles.stripe}\n style={{\n backgroundColor: shapeColor,\n ...(stripeDirection === 1\n ? {\n top: `${((2 * i * stripeHeight) / size) * 100}%`,\n left: 0,\n width: '100%',\n height: `${(stripeHeight / size) * 100}%`,\n }\n : {\n left: `${((2 * i * stripeWidth) / size) * 100}%`,\n top: 0,\n width: `${(stripeWidth / size) * 100}%`,\n height: '100%',\n }),\n }}\n />\n ) : null\n )}\n </div>\n )}\n </div>\n );\n}\n\nPatternCell.displayName = 'PatternCell';\n"],"names":["polygonClipPath","template","px","py","PatternCell","cell","colors","bgColor","shapeColor","size","x","cellWidth","cellHeight","shapeType","triangleIndex","stripeDirection","stripeCount","stripeMask","animationDelay","animationDuration","animationScaleFrom","dotScale","stripeWidth","stripeHeight","visibleStripes","cellStyle","jsxs","styles","jsx","TRIANGLE_TEMPLATES","_","i"],"mappings":"8LAUA,SAASA,EAAgBC,EAA6B,CAEpD,MAAO,WADQA,EAAS,IAAI,CAAC,CAACC,EAAIC,CAAE,IAAM,GAAGD,EAAK,GAAG,KAAKC,EAAK,GAAG,GAAG,EAAE,KAAK,IAAI,CACxD,GAC1B,CAEO,SAASC,EAAY,CAAE,KAAAC,EAAM,OAAAC,GAA4B,CAC9D,MAAMC,EAAUD,EAAOD,EAAK,YAAY,GAAKC,EAAO,CAAC,EAC/CE,EAAaF,EAAOD,EAAK,eAAe,GAAKC,EAAO,CAAC,EACrDG,EAAO,KAAK,IAAIJ,EAAK,MAAOA,EAAK,MAAM,EACvC,CACJ,EAAAK,EACA,EACA,MAAOC,EACP,OAAQC,EACR,UAAAC,EACA,cAAAC,EACA,gBAAAC,EACA,YAAAC,EAAc,EACd,WAAAC,EACA,eAAAC,EACA,kBAAAC,EACA,mBAAAC,EAAqB,GACrB,SAAAC,EAAW,GAAA,EACThB,EAEEiB,EACJP,IAAoB,EAAIN,EAAOA,GAAQO,EAAc,EAAI,GACrDO,EACJR,IAAoB,EAAIN,GAAQO,EAAc,EAAI,GAAKP,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AAA,kBAAAA,IAAC,MAAA,CACC,UAAWD,EAAAA,QAAO,iBAClB,MAAO,CAAE,gBAAiBnB,CAAA,CAAW,CAAA,CACvC,EACF,EAGDK,IAAc,WACbe,EAAAA,kBAAAA,IAAC,OAAI,UAAWD,EAAAA,QAAO,QACpB,SAAA,MAAM,KAAK,CAAE,OAAQX,CAAA,EAAe,CAACc,EAAGC,IACvCP,EAAeO,CAAC,EACdH,EAAAA,kBAAAA,IAAC,MAAA,CAEC,UAAWD,EAAAA,QAAO,OAClB,MAAO,CACL,gBAAiBnB,EACjB,GAAIO,IAAoB,EACtB,CACE,IAAK,GAAK,EAAIgB,EAAIR,EAAgBd,EAAQ,GAAG,IAC7C,KAAM,EACN,MAAO,OACP,OAAQ,GAAIc,EAAed,EAAQ,GAAG,GAAA,EAExC,CACE,KAAM,GAAK,EAAIsB,EAAIT,EAAeb,EAAQ,GAAG,IAC7C,IAAK,EACL,MAAO,GAAIa,EAAcb,EAAQ,GAAG,IACpC,OAAQ,MAAA,CACV,CACJ,EAjBKsB,CAAA,EAmBL,IAAA,CACN,CACF,CAAA,CAAA,CAAA,CAIR,CAEA3B,EAAY,YAAc"}
1
+ {"version":3,"file":"index.cjs65.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs79.js"),a=require("./index.cjs80.js"),e=require("./index.cjs81.js"),n=require("./index.cjs82.js"),i=require("./index.cjs83.js"),r=require("./index.cjs84.js");exports.codeToHtml=t.codeToHtml;exports.createHighlighter=t.createHighlighter;exports.createOnigurumaEngine=a.createOnigurumaEngine;exports.loadWasm=a.loadWasm;exports.addClassToHast=e.addClassToHast;exports.applyColorReplacements=e.applyColorReplacements;exports.createBundledHighlighter=e.createBundledHighlighter;exports.createHighlighterCore=e.createHighlighterCore;exports.createPositionConverter=e.createPositionConverter;exports.createShikiInternal=e.createShikiInternal;exports.createShikiInternalSync=e.createShikiInternalSync;exports.createSingletonShorthands=e.createSingletonShorthands;exports.flatTokenVariants=e.flatTokenVariants;exports.getTokenStyleObject=e.getTokenStyleObject;exports.guessEmbeddedLanguages=e.guessEmbeddedLanguages;exports.hastToHtml=e.hastToHtml;exports.isNoneTheme=e.isNoneTheme;exports.isPlainLang=e.isPlainLang;exports.isSpecialLang=e.isSpecialLang;exports.isSpecialTheme=e.isSpecialTheme;exports.makeSingletonHighlighter=e.makeSingletonHighlighter;exports.normalizeGetter=e.normalizeGetter;exports.normalizeTheme=e.normalizeTheme;exports.resolveColorReplacements=e.resolveColorReplacements;exports.splitLines=e.splitLines;exports.splitToken=e.splitToken;exports.splitTokens=e.splitTokens;exports.stringifyTokenStyle=e.stringifyTokenStyle;exports.toArray=e.toArray;exports.tokenizeAnsiWithTheme=e.tokenizeAnsiWithTheme;exports.tokenizeWithTheme=e.tokenizeWithTheme;exports.tokensToHast=e.tokensToHast;exports.transformerDecorations=e.transformerDecorations;exports.warnDeprecated=e.warnDeprecated;exports.bundledLanguages=n.bundledLanguages;exports.bundledLanguagesAlias=n.bundledLanguagesAlias;exports.bundledLanguagesBase=n.bundledLanguagesBase;exports.bundledLanguagesInfo=n.bundledLanguagesInfo;exports.bundledThemes=i.bundledThemes;exports.bundledThemesInfo=i.bundledThemesInfo;exports.ShikiError=r.ShikiError;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs36.js"),o=require("react"),a=require("./index.cjs42.js"),c=require("./index.cjs415.js"),t=o.forwardRef(({decorative:n=!0,className:r,...s},i)=>e.jsxRuntimeExports.jsxs("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":n,className:a(c.default.root,r),...s,children:[e.jsxRuntimeExports.jsx("g",{"data-chain":"left",children:e.jsxRuntimeExports.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"})}),e.jsxRuntimeExports.jsx("g",{"data-chain":"right",children:e.jsxRuntimeExports.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})})]}));t.displayName="LinkIcon";exports.LinkIcon=t;
2
2
  //# sourceMappingURL=index.cjs66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs66.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs66.js","sources":["../src/components/primitives/Icon/Icons/custom/LinkIcon/LinkIcon.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cn from \"classnames\";\nimport styles from \"./LinkIcon.module.pcss\";\n\nexport interface LinkIconProps extends React.SVGProps<SVGSVGElement> {\n decorative?: boolean;\n}\n\nexport const LinkIcon = forwardRef<SVGSVGElement, LinkIconProps>(\n ({ decorative = true, className, ...props }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden={decorative}\n className={cn(styles.root, className)}\n {...props}\n >\n <g data-chain=\"left\">\n <path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" />\n </g>\n <g data-chain=\"right\">\n <path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" />\n </g>\n </svg>\n )\n);\n\nLinkIcon.displayName = \"LinkIcon\";\n"],"names":["LinkIcon","forwardRef","decorative","className","props","ref","jsxs","cn","styles","jsx"],"mappings":"iNAQaA,EAAWC,EAAAA,WACtB,CAAC,CAAE,WAAAC,EAAa,GAAM,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC3CC,EAAAA,kBAAAA,KAAC,MAAA,CACC,IAAAD,EACA,MAAM,6BACN,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAa,EACb,cAAc,QACd,eAAe,QACf,cAAaH,EACb,UAAWK,EAAGC,UAAO,KAAML,CAAS,EACnC,GAAGC,EAEJ,SAAA,CAAAK,EAAAA,kBAAAA,IAAC,KAAE,aAAW,OACZ,iCAAC,OAAA,CAAK,EAAE,8DAA8D,CAAA,CACxE,EACAA,EAAAA,kBAAAA,IAAC,KAAE,aAAW,QACZ,iCAAC,OAAA,CAAK,EAAE,+DAA+D,CAAA,CACzE,CAAA,CAAA,CAAA,CAGN,EAEAT,EAAS,YAAc"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_root_yhe7w_1",o="_filename_yhe7w_8",r="_code_yhe7w_15",t="_error_yhe7w_50",_={root:e,filename:o,code:r,error:t};exports.code=r;exports.default=_;exports.error=t;exports.filename=o;exports.root=e;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_likeButton_1nv5d_1",e="_heartWrap_1nv5d_49",n="_heart_1nv5d_49",o="_countWrap_1nv5d_112",u="_count_1nv5d_112",_={likeButton:t,"likeButton--disabled":"_likeButton--disabled_1nv5d_19","likeButton--liked":"_likeButton--liked_1nv5d_25","likeButton--pop":"_likeButton--pop_1nv5d_49",heartWrap:e,heart:n,countWrap:o,"countWrap--bump":"_countWrap--bump_1nv5d_119",count:u};exports.count=u;exports.countWrap=o;exports.default=_;exports.heart=n;exports.heartWrap=e;exports.likeButton=t;
2
2
  //# sourceMappingURL=index.cjs67.js.map
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_icon_1se7w_1",o={icon:e,"icon--custom":"_icon--custom_1se7w_9"};exports.default=o;exports.icon=e;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs36.js"),n=require("./index.cjs414.js"),s=({filled:e=!1,decorative:r=!0,...t})=>o.jsxRuntimeExports.jsx(n,{fill:e?"currentColor":"none",stroke:"currentColor","aria-hidden":r,...t});exports.HeartIcon=s;
2
2
  //# sourceMappingURL=index.cjs68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs68.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs68.js","sources":["../src/components/primitives/Icon/Icons/lucide/HeartIcon.tsx"],"sourcesContent":["import React from \"react\";\nimport { Heart, type LucideProps } from \"lucide-react\";\n\nexport interface HeartIconProps extends LucideProps {\n /** Залитое сердечко (лайк поставлен) */\n filled?: boolean;\n decorative?: boolean;\n className?: string;\n}\n\nexport const HeartIcon: React.FC<HeartIconProps> = ({\n filled = false,\n decorative = true,\n ...props\n}) => (\n <Heart\n fill={filled ? \"currentColor\" : \"none\"}\n stroke=\"currentColor\"\n aria-hidden={decorative}\n {...props}\n />\n);\n"],"names":["HeartIcon","filled","decorative","props","jsx","Heart"],"mappings":"gKAUaA,EAAsC,CAAC,CAClD,OAAAC,EAAS,GACT,WAAAC,EAAa,GACb,GAAGC,CACL,IACEC,EAAAA,kBAAAA,IAACC,EAAA,CACC,KAAMJ,EAAS,eAAiB,OAChC,OAAO,eACP,cAAaC,EACZ,GAAGC,CAAA,CACN"}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_island_1pzuz_1",n="_island--size-sm_1pzuz_7",i="_island--size-md_1pzuz_11",l="_island--size-lg_1pzuz_15",e="_island--variant-default_1pzuz_20",s="_island--variant-paper_1pzuz_24",d="_island--variant-accent_1pzuz_28",t="_island--elevation-none_1pzuz_33",_="_island--elevation-sm_1pzuz_37",z="_island--elevation-md_1pzuz_41",o="_island--elevation-lg_1pzuz_45",r="_island--elevation-xl_1pzuz_49",v="_island--bordered_1pzuz_54",u={island:a,"island--size-sm":"_island--size-sm_1pzuz_7",islandSizeSm:n,"island--size-md":"_island--size-md_1pzuz_11",islandSizeMd:i,"island--size-lg":"_island--size-lg_1pzuz_15",islandSizeLg:l,"island--variant-default":"_island--variant-default_1pzuz_20",islandVariantDefault:e,"island--variant-paper":"_island--variant-paper_1pzuz_24",islandVariantPaper:s,"island--variant-accent":"_island--variant-accent_1pzuz_28",islandVariantAccent:d,"island--elevation-none":"_island--elevation-none_1pzuz_33",islandElevationNone:t,"island--elevation-sm":"_island--elevation-sm_1pzuz_37",islandElevationSm:_,"island--elevation-md":"_island--elevation-md_1pzuz_41",islandElevationMd:z,"island--elevation-lg":"_island--elevation-lg_1pzuz_45",islandElevationLg:o,"island--elevation-xl":"_island--elevation-xl_1pzuz_49",islandElevationXl:r,"island--bordered":"_island--bordered_1pzuz_54",islandBordered:v};exports.default=u;exports.island=a;exports.islandBordered=v;exports.islandElevationLg=o;exports.islandElevationMd=z;exports.islandElevationNone=t;exports.islandElevationSm=_;exports.islandElevationXl=r;exports.islandSizeLg=l;exports.islandSizeMd=i;exports.islandSizeSm=n;exports.islandVariantAccent=d;exports.islandVariantDefault=e;exports.islandVariantPaper=s;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="_root_13e6p_1",t="_root--disabled_13e6p_10",c="_input_13e6p_15",n="_control_13e6p_26",l="_control--sm_13e6p_44",e="_control--md_13e6p_49",r="_control--lg_13e6p_54",_="_control--checkbox_13e6p_59",s="_control--radio_13e6p_63",d="_content_13e6p_123",i="_label_13e6p_129",p="_description_13e6p_135",a={root:o,"root--disabled":"_root--disabled_13e6p_10",rootDisabled:t,input:c,control:n,"control--sm":"_control--sm_13e6p_44",controlSm:l,"control--md":"_control--md_13e6p_49",controlMd:e,"control--lg":"_control--lg_13e6p_54",controlLg:r,"control--checkbox":"_control--checkbox_13e6p_59",controlCheckbox:_,"control--radio":"_control--radio_13e6p_63",controlRadio:s,content:d,label:i,description:p};exports.content=d;exports.control=n;exports.controlCheckbox=_;exports.controlLg=r;exports.controlMd=e;exports.controlRadio=s;exports.controlSm=l;exports.default=a;exports.description=p;exports.input=c;exports.label=i;exports.root=o;exports.rootDisabled=t;
2
2
  //# sourceMappingURL=index.cjs69.js.map
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_link_10e20_1",n="_linkText_10e20_33",l="_linkIcon_10e20_38",t={link:e,linkText:n,linkIcon:l};exports.default=t;exports.link=e;exports.linkIcon=l;exports.linkText=n;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_2pxdg_1",e="_title_2pxdg_7",i="_list_2pxdg_13",l="_item_2pxdg_20",_="_link_2pxdg_29",n="_linkText_2pxdg_48",o={root:t,title:e,list:i,item:l,link:_,"link--active":"_link--active_2pxdg_48",linkText:n};exports.default=o;exports.item=l;exports.link=_;exports.linkText=n;exports.list=i;exports.root=t;exports.title=e;
2
2
  //# sourceMappingURL=index.cjs70.js.map
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs36.js"),o=require("react"),a=require("./index.cjs38.js"),c=require("./index.cjs411.js"),t=o.forwardRef(({decorative:n=!0,className:r,...s},i)=>e.jsxRuntimeExports.jsxs("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":n,className:a(c.default.root,r),...s,children:[e.jsxRuntimeExports.jsx("g",{"data-chain":"left",children:e.jsxRuntimeExports.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"})}),e.jsxRuntimeExports.jsx("g",{"data-chain":"right",children:e.jsxRuntimeExports.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})})]}));t.displayName="LinkIcon";exports.LinkIcon=t;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_root_1lfx3_1",t="_root--sm_1lfx3_8",s="_root--md_1lfx3_14",n="_root--lg_1lfx3_20",_="_track_1lfx3_26",o="_segments_1lfx3_34",m="_segment_1lfx3_34",g="_segment--primary_1lfx3_50",r="_segment--secondary_1lfx3_54",l="_segment--success_1lfx3_58",a="_segment--warning_1lfx3_62",c="_segment--active_1lfx3_66",i="_segment--sequential_1lfx3_66",f="_segment-reveal_1lfx3_1",x="_valueLabel_1lfx3_89",u={root:e,"root--sm":"_root--sm_1lfx3_8",rootSm:t,"root--md":"_root--md_1lfx3_14",rootMd:s,"root--lg":"_root--lg_1lfx3_20",rootLg:n,track:_,segments:o,segment:m,"segment--primary":"_segment--primary_1lfx3_50",segmentPrimary:g,"segment--secondary":"_segment--secondary_1lfx3_54",segmentSecondary:r,"segment--success":"_segment--success_1lfx3_58",segmentSuccess:l,"segment--warning":"_segment--warning_1lfx3_62",segmentWarning:a,"segment--active":"_segment--active_1lfx3_66",segmentActive:c,"segment--sequential":"_segment--sequential_1lfx3_66",segmentSequential:i,"segment-reveal":"_segment-reveal_1lfx3_1",segmentReveal:f,valueLabel:x};exports.default=u;exports.root=e;exports.rootLg=n;exports.rootMd=s;exports.rootSm=t;exports.segment=m;exports.segmentActive=c;exports.segmentPrimary=g;exports.segmentReveal=f;exports.segmentSecondary=r;exports.segmentSequential=i;exports.segmentSuccess=l;exports.segmentWarning=a;exports.segments=o;exports.track=_;exports.valueLabel=x;
2
2
  //# sourceMappingURL=index.cjs71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs71.js","sources":["../src/components/primitives/Icon/Icons/custom/LinkIcon/LinkIcon.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cn from \"classnames\";\nimport styles from \"./LinkIcon.module.pcss\";\n\nexport interface LinkIconProps extends React.SVGProps<SVGSVGElement> {\n decorative?: boolean;\n}\n\nexport const LinkIcon = forwardRef<SVGSVGElement, LinkIconProps>(\n ({ decorative = true, className, ...props }, ref) => (\n <svg\n ref={ref}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n aria-hidden={decorative}\n className={cn(styles.root, className)}\n {...props}\n >\n <g data-chain=\"left\">\n <path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\" />\n </g>\n <g data-chain=\"right\">\n <path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\" />\n </g>\n </svg>\n )\n);\n\nLinkIcon.displayName = \"LinkIcon\";\n"],"names":["LinkIcon","forwardRef","decorative","className","props","ref","jsxs","cn","styles","jsx"],"mappings":"iNAQaA,EAAWC,EAAAA,WACtB,CAAC,CAAE,WAAAC,EAAa,GAAM,UAAAC,EAAW,GAAGC,CAAA,EAASC,IAC3CC,EAAAA,kBAAAA,KAAC,MAAA,CACC,IAAAD,EACA,MAAM,6BACN,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAa,EACb,cAAc,QACd,eAAe,QACf,cAAaH,EACb,UAAWK,EAAGC,UAAO,KAAML,CAAS,EACnC,GAAGC,EAEJ,SAAA,CAAAK,EAAAA,kBAAAA,IAAC,KAAE,aAAW,OACZ,iCAAC,OAAA,CAAK,EAAE,8DAA8D,CAAA,CACxE,EACAA,EAAAA,kBAAAA,IAAC,KAAE,aAAW,QACZ,iCAAC,OAAA,CAAK,EAAE,+DAA+D,CAAA,CACzE,CAAA,CAAA,CAAA,CAGN,EAEAT,EAAS,YAAc"}
1
+ {"version":3,"file":"index.cjs71.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_stack_45gcn_1",c="_stack--direction-row_45gcn_6",s="_stack--direction-column_45gcn_10",a="_stack--direction-row-reverse_45gcn_14",n="_stack--direction-column-reverse_45gcn_18",e="_stack--align-start_45gcn_23",r="_stack--align-end_45gcn_27",i="_stack--align-center_45gcn_31",_="_stack--align-stretch_45gcn_35",k="_stack--align-baseline_45gcn_39",o="_stack--justify-start_45gcn_44",g="_stack--justify-end_45gcn_48",l="_stack--justify-center_45gcn_52",u="_stack--justify-between_45gcn_56",y="_stack--justify-around_45gcn_60",w="_stack--justify-evenly_45gcn_64",f="_stack--wrap-nowrap_45gcn_69",p="_stack--wrap-wrap_45gcn_73",d="_stack--wrap-wrap-reverse_45gcn_77",v={stack:t,"stack--direction-row":"_stack--direction-row_45gcn_6",stackDirectionRow:c,"stack--direction-column":"_stack--direction-column_45gcn_10",stackDirectionColumn:s,"stack--direction-row-reverse":"_stack--direction-row-reverse_45gcn_14",stackDirectionRowReverse:a,"stack--direction-column-reverse":"_stack--direction-column-reverse_45gcn_18",stackDirectionColumnReverse:n,"stack--align-start":"_stack--align-start_45gcn_23",stackAlignStart:e,"stack--align-end":"_stack--align-end_45gcn_27",stackAlignEnd:r,"stack--align-center":"_stack--align-center_45gcn_31",stackAlignCenter:i,"stack--align-stretch":"_stack--align-stretch_45gcn_35",stackAlignStretch:_,"stack--align-baseline":"_stack--align-baseline_45gcn_39",stackAlignBaseline:k,"stack--justify-start":"_stack--justify-start_45gcn_44",stackJustifyStart:o,"stack--justify-end":"_stack--justify-end_45gcn_48",stackJustifyEnd:g,"stack--justify-center":"_stack--justify-center_45gcn_52",stackJustifyCenter:l,"stack--justify-between":"_stack--justify-between_45gcn_56",stackJustifyBetween:u,"stack--justify-around":"_stack--justify-around_45gcn_60",stackJustifyAround:y,"stack--justify-evenly":"_stack--justify-evenly_45gcn_64",stackJustifyEvenly:w,"stack--wrap-nowrap":"_stack--wrap-nowrap_45gcn_69",stackWrapNowrap:f,"stack--wrap-wrap":"_stack--wrap-wrap_45gcn_73",stackWrapWrap:p,"stack--wrap-wrap-reverse":"_stack--wrap-wrap-reverse_45gcn_77",stackWrapWrapReverse:d};exports.default=v;exports.stack=t;exports.stackAlignBaseline=k;exports.stackAlignCenter=i;exports.stackAlignEnd=r;exports.stackAlignStart=e;exports.stackAlignStretch=_;exports.stackDirectionColumn=s;exports.stackDirectionColumnReverse=n;exports.stackDirectionRow=c;exports.stackDirectionRowReverse=a;exports.stackJustifyAround=y;exports.stackJustifyBetween=u;exports.stackJustifyCenter=l;exports.stackJustifyEnd=g;exports.stackJustifyEvenly=w;exports.stackJustifyStart=o;exports.stackWrapNowrap=f;exports.stackWrapWrap=p;exports.stackWrapWrapReverse=d;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_labelMenuItem_fjxw4_1",l="_icon_fjxw4_32",t="_label_fjxw4_1",n={labelMenuItem:e,icon:l,label:t};exports.default=n;exports.icon=l;exports.label=t;exports.labelMenuItem=e;
2
2
  //# sourceMappingURL=index.cjs72.js.map
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_2pxdg_1",e="_title_2pxdg_7",i="_list_2pxdg_13",l="_item_2pxdg_20",_="_link_2pxdg_29",n="_linkText_2pxdg_48",o={root:t,title:e,list:i,item:l,link:_,"link--active":"_link--active_2pxdg_48",linkText:n};exports.default=o;exports.item=l;exports.link=_;exports.linkText=n;exports.list=i;exports.root=t;exports.title=e;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_card_13s36_1",r="_card--size-sm_13s36_7",e="_card--size-md_13s36_11",d="_card--size-lg_13s36_15",c="_card--variant-default_13s36_19",t="_card--variant-paper_13s36_23",n="_card--variant-accent_13s36_27",_="_card--elevation-none_13s36_31",i="_card--elevation-sm_13s36_35",o="_card--elevation-md_13s36_39",s="_card--elevation-lg_13s36_43",l="_card--elevation-xl_13s36_47",v="_card--bordered_13s36_51",m={card:a,"card--size-sm":"_card--size-sm_13s36_7",cardSizeSm:r,"card--size-md":"_card--size-md_13s36_11",cardSizeMd:e,"card--size-lg":"_card--size-lg_13s36_15",cardSizeLg:d,"card--variant-default":"_card--variant-default_13s36_19",cardVariantDefault:c,"card--variant-paper":"_card--variant-paper_13s36_23",cardVariantPaper:t,"card--variant-accent":"_card--variant-accent_13s36_27",cardVariantAccent:n,"card--elevation-none":"_card--elevation-none_13s36_31",cardElevationNone:_,"card--elevation-sm":"_card--elevation-sm_13s36_35",cardElevationSm:i,"card--elevation-md":"_card--elevation-md_13s36_39",cardElevationMd:o,"card--elevation-lg":"_card--elevation-lg_13s36_43",cardElevationLg:s,"card--elevation-xl":"_card--elevation-xl_13s36_47",cardElevationXl:l,"card--bordered":"_card--bordered_13s36_51",cardBordered:v};exports.card=a;exports.cardBordered=v;exports.cardElevationLg=s;exports.cardElevationMd=o;exports.cardElevationNone=_;exports.cardElevationSm=i;exports.cardElevationXl=l;exports.cardSizeLg=d;exports.cardSizeMd=e;exports.cardSizeSm=r;exports.cardVariantAccent=n;exports.cardVariantDefault=c;exports.cardVariantPaper=t;exports.default=m;
2
2
  //# sourceMappingURL=index.cjs73.js.map
@@ -1,2 +1,2 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs36.js"),p=require("react"),f=require("./index.cjs38.js"),t=require("./index.cjs46.js"),y=p.forwardRef(({variant:e="body",size:o,color:u,as:r,children:n,className:s,...a},d)=>{const l=p.useMemo(()=>r||(e.startsWith("h")?e:e==="body"?"p":"span"),[r,e]);return c.jsxRuntimeExports.jsx(l,{ref:d,"data-atme-ui":!0,className:f(t.default.typography,t.default[`typography--${e}`],o&&t.default[`typography--${o}`],u&&t.default[`typography--color-${u}`],s),...a,children:n})});y.displayName="Typography";exports.Typography=y;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs36.js"),p=require("react"),f=require("./index.cjs42.js"),t=require("./index.cjs47.js"),y=p.forwardRef(({variant:e="body",size:o,color:u,as:r,children:n,className:s,...a},d)=>{const l=p.useMemo(()=>r||(e.startsWith("h")?e:e==="body"?"p":"span"),[r,e]);return c.jsxRuntimeExports.jsx(l,{ref:d,"data-atme-ui":!0,className:f(t.default.typography,t.default[`typography--${e}`],o&&t.default[`typography--${o}`],u&&t.default[`typography--color-${u}`],s),...a,children:n})});y.displayName="Typography";exports.Typography=y;
2
2
  //# sourceMappingURL=index.cjs9.js.map
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { j as e } from "./index.esm36.js";
3
3
  import { forwardRef as g } from "react";
4
- import d from "./index.esm38.js";
5
- import a from "./index.esm47.js";
6
- import { HashIcon as x } from "./index.esm48.js";
4
+ import d from "./index.esm42.js";
5
+ import a from "./index.esm45.js";
6
+ import { HashIcon as x } from "./index.esm46.js";
7
7
  import { Typography as j } from "./index.esm9.js";
8
8
  const y = g(
9
9
  ({
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as s } from "./index.esm36.js";
3
3
  import N, { forwardRef as g } from "react";
4
- import R from "./index.esm38.js";
5
- import a from "./index.esm39.js";
4
+ import R from "./index.esm42.js";
5
+ import a from "./index.esm48.js";
6
6
  const h = g(function({ as: r, ...t }, e) {
7
7
  return N.createElement(r, { ...t, ref: e });
8
8
  }), y = g(
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { j as d } from "./index.esm36.js";
3
3
  import S, { useState as U, useMemo as k, useCallback as a } from "react";
4
- import l from "./index.esm38.js";
5
- import C from "./index.esm58.js";
6
- import { TagGroupItemView as $ } from "./index.esm59.js";
4
+ import l from "./index.esm42.js";
5
+ import C from "./index.esm51.js";
6
+ import { TagGroupItemView as $ } from "./index.esm52.js";
7
7
  import { Tag as E } from "./index.esm11.js";
8
- import { ChevronUpIcon as o } from "./index.esm60.js";
8
+ import { ChevronUpIcon as o } from "./index.esm53.js";
9
9
  const q = S.forwardRef(
10
10
  ({
11
11
  tags: i,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as a } from "./index.esm36.js";
3
3
  import { forwardRef as d } from "react";
4
- import f from "./index.esm38.js";
5
- import t from "./index.esm49.js";
4
+ import f from "./index.esm42.js";
5
+ import t from "./index.esm54.js";
6
6
  const x = d(
7
7
  ({
8
8
  variant: o = "primary",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as r } from "./index.esm36.js";
3
3
  import { forwardRef as N } from "react";
4
- import p from "./index.esm38.js";
5
- import a from "./index.esm45.js";
4
+ import p from "./index.esm42.js";
5
+ import a from "./index.esm43.js";
6
6
  const v = N(
7
7
  ({
8
8
  size: i = "md",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as o } from "./index.esm36.js";
3
3
  import { forwardRef as N, useRef as b, useEffect as R } from "react";
4
- import i from "./index.esm38.js";
5
- import s from "./index.esm55.js";
4
+ import i from "./index.esm42.js";
5
+ import s from "./index.esm69.js";
6
6
  import { Root as h } from "./index.esm8.js";
7
7
  const d = N(
8
8
  ({
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as e } from "./index.esm36.js";
3
- import h from "./index.esm38.js";
4
- import a from "./index.esm44.js";
3
+ import h from "./index.esm42.js";
4
+ import a from "./index.esm71.js";
5
5
  import { Root as b } from "./index.esm8.js";
6
6
  const $ = (t, o, l) => Math.min(Math.max(t, o), l), P = ({
7
7
  value: t,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as n } from "./index.esm36.js";
3
- import p from "./index.esm38.js";
4
- import r from "./index.esm56.js";
3
+ import p from "./index.esm42.js";
4
+ import r from "./index.esm73.js";
5
5
  import { Root as l } from "./index.esm8.js";
6
6
  const f = ({
7
7
  as: e = "section",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as n } from "./index.esm36.js";
3
3
  import { forwardRef as f } from "react";
4
- import b from "./index.esm38.js";
5
- import a from "./index.esm57.js";
4
+ import b from "./index.esm42.js";
5
+ import a from "./index.esm49.js";
6
6
  function c(r, t) {
7
7
  return t != null && typeof r == "number" && r > t ? `${t}+` : r;
8
8
  }
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as m } from "./index.esm36.js";
3
3
  import { forwardRef as f } from "react";
4
- import u from "./index.esm38.js";
5
- import t from "./index.esm68.js";
4
+ import u from "./index.esm42.js";
5
+ import t from "./index.esm44.js";
6
6
  const h = f(
7
7
  ({
8
8
  color: c = "currentColor",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as e } from "./index.esm36.js";
3
- import i from "./index.esm38.js";
4
- import a from "./index.esm61.js";
3
+ import i from "./index.esm42.js";
4
+ import a from "./index.esm72.js";
5
5
  import { Typography as n } from "./index.esm9.js";
6
6
  const c = ({
7
7
  label: s,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { j as a } from "./index.esm36.js";
3
3
  import { forwardRef as H, useState as m, useCallback as d } from "react";
4
- import h from "./index.esm38.js";
5
- import t from "./index.esm50.js";
6
- import { HeartIcon as I } from "./index.esm51.js";
4
+ import h from "./index.esm42.js";
5
+ import t from "./index.esm67.js";
6
+ import { HeartIcon as I } from "./index.esm68.js";
7
7
  import { Typography as P } from "./index.esm9.js";
8
8
  const R = H(
9
9
  ({
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { j as r } from "./index.esm36.js";
3
3
  import { forwardRef as m } from "react";
4
- import l from "./index.esm38.js";
5
- import s from "./index.esm70.js";
4
+ import l from "./index.esm42.js";
5
+ import s from "./index.esm65.js";
6
6
  import { Root as c } from "./index.esm8.js";
7
- import { LinkIcon as p } from "./index.esm71.js";
7
+ import { LinkIcon as p } from "./index.esm66.js";
8
8
  const d = m(
9
9
  ({ children: i, showIcon: o = !0, className: e, testId: t, ...a }, n) => /* @__PURE__ */ r.jsxs(
10
10
  c,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as o } from "./index.esm36.js";
3
- import l from "./index.esm38.js";
4
- import s from "./index.esm62.js";
3
+ import l from "./index.esm42.js";
4
+ import s from "./index.esm57.js";
5
5
  import { Root as n } from "./index.esm8.js";
6
6
  import { Typography as r } from "./index.esm9.js";
7
7
  const p = ({
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { j as r } from "./index.esm36.js";
3
3
  import { useState as d, useEffect as j } from "react";
4
- import h from "./index.esm38.js";
5
- import t from "./index.esm67.js";
4
+ import h from "./index.esm42.js";
5
+ import t from "./index.esm56.js";
6
6
  import { Root as p } from "./index.esm8.js";
7
7
  import { Typography as u } from "./index.esm9.js";
8
8
  const g = ({
@@ -15,7 +15,7 @@ const g = ({
15
15
  const [l, x] = d(""), [c, m] = d(null);
16
16
  return j(() => {
17
17
  let o = !1;
18
- return m(null), import("./index.esm66.js").then(
18
+ return m(null), import("./index.esm55.js").then(
19
19
  ({ codeToHtml: e }) => e(s, {
20
20
  lang: n,
21
21
  themes: {
@@ -1,46 +1,46 @@
1
1
  "use client";
2
- import { j as k } from "./index.esm36.js";
3
- import { forwardRef as u } from "react";
4
- import d from "./index.esm38.js";
5
- import { getSpacingVar as g } from "./index.esm3.js";
6
- import t from "./index.esm72.js";
7
- const y = u(
2
+ import { j as d } from "./index.esm36.js";
3
+ import { forwardRef as y } from "react";
4
+ import g from "./index.esm42.js";
5
+ import { getSpacingVar as j } from "./index.esm3.js";
6
+ import t from "./index.esm58.js";
7
+ const w = y(
8
8
  ({
9
- direction: s = "row",
10
- align: e = "stretch",
9
+ direction: r = "row",
10
+ align: s = "stretch",
11
11
  justify: o = "start",
12
- wrap: i = "nowrap",
12
+ wrap: e = "nowrap",
13
13
  gap: c = 0,
14
- as: m = "div",
14
+ as: i = "div",
15
15
  children: p,
16
- className: n,
16
+ className: m,
17
17
  testId: a,
18
- ...r
19
- }, f) => {
20
- const l = g(c);
21
- return /* @__PURE__ */ k.jsx(
22
- m,
18
+ ...n
19
+ }, l) => {
20
+ const f = j(c), { style: k, ...u } = n;
21
+ return /* @__PURE__ */ d.jsx(
22
+ i,
23
23
  {
24
- ref: f,
24
+ ref: l,
25
25
  "data-atme-ui": !0,
26
- className: d(
26
+ className: g(
27
27
  t.stack,
28
- t[`stack--direction-${s}`],
29
- t[`stack--align-${e}`],
28
+ t[`stack--direction-${r}`],
29
+ t[`stack--align-${s}`],
30
30
  t[`stack--justify-${o}`],
31
- t[`stack--wrap-${i}`],
32
- n
31
+ t[`stack--wrap-${e}`],
32
+ m
33
33
  ),
34
- style: { gap: l, ...r.style },
34
+ style: { ...k, gap: f },
35
35
  ...a && { "data-testid": a },
36
- ...r,
36
+ ...u,
37
37
  children: p
38
38
  }
39
39
  );
40
40
  }
41
41
  );
42
- y.displayName = "Stack";
42
+ w.displayName = "Stack";
43
43
  export {
44
- y as Stack
44
+ w as Stack
45
45
  };
46
46
  //# sourceMappingURL=index.esm25.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm25.js","sources":["../src/components/layout/Stack/Stack.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cn from \"classnames\";\nimport type { BaseComponentProps } from \"../../types\";\nimport { getSpacingVar } from \"@tokens/utils\";\nimport styles from \"./Stack.module.pcss\";\n\nexport type StackDirection =\n | \"row\"\n | \"column\"\n | \"row-reverse\"\n | \"column-reverse\";\nexport type StackAlign = \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\";\nexport type StackJustify =\n | \"start\"\n | \"end\"\n | \"center\"\n | \"between\"\n | \"around\"\n | \"evenly\";\nexport type StackWrap = \"nowrap\" | \"wrap\" | \"wrap-reverse\";\n\nexport type StackGap = number | string;\n\ntype StackElement =\n | \"div\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"header\"\n | \"footer\"\n | \"aside\"\n | \"nav\";\n\nexport interface StackProps\n extends\n BaseComponentProps,\n Omit<React.HTMLAttributes<HTMLDivElement>, \"ref\"> {\n direction?: StackDirection;\n align?: StackAlign;\n justify?: StackJustify;\n wrap?: StackWrap;\n gap?: StackGap;\n as?: StackElement;\n children: React.ReactNode;\n}\n\nexport const Stack = forwardRef<HTMLDivElement, StackProps>(\n (\n {\n direction = \"row\",\n align = \"stretch\",\n justify = \"start\",\n wrap = \"nowrap\",\n gap = 0,\n as: Component = \"div\",\n children,\n className,\n testId,\n ...props\n },\n ref\n ) => {\n // Вычисляем значение gap через утилиту\n const gapValue = getSpacingVar(gap);\n\n return (\n <Component\n ref={ref}\n data-atme-ui\n className={cn(\n styles.stack,\n styles[`stack--direction-${direction}`],\n styles[`stack--align-${align}`],\n styles[`stack--justify-${justify}`],\n styles[`stack--wrap-${wrap}`],\n className\n )}\n style={{ gap: gapValue, ...props.style }}\n {...(testId && { \"data-testid\": testId })}\n {...props}\n >\n {children}\n </Component>\n );\n }\n);\n\nStack.displayName = \"Stack\";\n"],"names":["Stack","forwardRef","direction","align","justify","wrap","gap","Component","children","className","testId","props","ref","gapValue","getSpacingVar","jsx","cn","styles"],"mappings":";;;;;;AA8CO,MAAMA,IAAQC;AAAA,EACnB,CACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,OAAAC,IAAQ;AAAA,IACR,SAAAC,IAAU;AAAA,IACV,MAAAC,IAAO;AAAA,IACP,KAAAC,IAAM;AAAA,IACN,IAAIC,IAAY;AAAA,IAChB,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AAEH,UAAMC,IAAWC,EAAcR,CAAG;AAElC,WACES,gBAAAA,EAAAA;AAAAA,MAACR;AAAA,MAAA;AAAA,QACC,KAAAK;AAAA,QACA,gBAAY;AAAA,QACZ,WAAWI;AAAA,UACTC,EAAO;AAAA,UACPA,EAAO,oBAAoBf,CAAS,EAAE;AAAA,UACtCe,EAAO,gBAAgBd,CAAK,EAAE;AAAA,UAC9Bc,EAAO,kBAAkBb,CAAO,EAAE;AAAA,UAClCa,EAAO,eAAeZ,CAAI,EAAE;AAAA,UAC5BI;AAAA,QAAA;AAAA,QAEF,OAAO,EAAE,KAAKI,GAAU,GAAGF,EAAM,MAAA;AAAA,QAChC,GAAID,KAAU,EAAE,eAAeA,EAAA;AAAA,QAC/B,GAAGC;AAAA,QAEH,UAAAH;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEAR,EAAM,cAAc;"}
1
+ {"version":3,"file":"index.esm25.js","sources":["../src/components/layout/Stack/Stack.tsx"],"sourcesContent":["import React, { forwardRef } from \"react\";\nimport cn from \"classnames\";\nimport type { BaseComponentProps } from \"../../types\";\nimport { getSpacingVar } from \"@tokens/utils\";\nimport styles from \"./Stack.module.pcss\";\n\nexport type StackDirection =\n | \"row\"\n | \"column\"\n | \"row-reverse\"\n | \"column-reverse\";\nexport type StackAlign = \"start\" | \"end\" | \"center\" | \"stretch\" | \"baseline\";\nexport type StackJustify =\n | \"start\"\n | \"end\"\n | \"center\"\n | \"between\"\n | \"around\"\n | \"evenly\";\nexport type StackWrap = \"nowrap\" | \"wrap\" | \"wrap-reverse\";\n\nexport type StackGap = number | string;\n\ntype StackElement =\n | \"div\"\n | \"section\"\n | \"article\"\n | \"main\"\n | \"header\"\n | \"footer\"\n | \"aside\"\n | \"nav\";\n\nexport interface StackProps\n extends\n BaseComponentProps,\n Omit<React.HTMLAttributes<HTMLDivElement>, \"ref\"> {\n direction?: StackDirection;\n align?: StackAlign;\n justify?: StackJustify;\n wrap?: StackWrap;\n gap?: StackGap;\n as?: StackElement;\n children: React.ReactNode;\n}\n\nexport const Stack = forwardRef<HTMLDivElement, StackProps>(\n (\n {\n direction = \"row\",\n align = \"stretch\",\n justify = \"start\",\n wrap = \"nowrap\",\n gap = 0,\n as: Component = \"div\",\n children,\n className,\n testId,\n ...props\n },\n ref\n ) => {\n const gapValue = getSpacingVar(gap);\n const { style: styleProp, ...restProps } = props;\n\n return (\n <Component\n ref={ref}\n data-atme-ui\n className={cn(\n styles.stack,\n styles[`stack--direction-${direction}`],\n styles[`stack--align-${align}`],\n styles[`stack--justify-${justify}`],\n styles[`stack--wrap-${wrap}`],\n className\n )}\n style={{ ...styleProp, gap: gapValue }}\n {...(testId && { \"data-testid\": testId })}\n {...restProps}\n >\n {children}\n </Component>\n );\n }\n);\n\nStack.displayName = \"Stack\";\n"],"names":["Stack","forwardRef","direction","align","justify","wrap","gap","Component","children","className","testId","props","ref","gapValue","getSpacingVar","styleProp","restProps","jsx","cn","styles"],"mappings":";;;;;;AA8CO,MAAMA,IAAQC;AAAA,EACnB,CACE;AAAA,IACE,WAAAC,IAAY;AAAA,IACZ,OAAAC,IAAQ;AAAA,IACR,SAAAC,IAAU;AAAA,IACV,MAAAC,IAAO;AAAA,IACP,KAAAC,IAAM;AAAA,IACN,IAAIC,IAAY;AAAA,IAChB,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GAELC,MACG;AACH,UAAMC,IAAWC,EAAcR,CAAG,GAC5B,EAAE,OAAOS,GAAW,GAAGC,MAAcL;AAE3C,WACEM,gBAAAA,EAAAA;AAAAA,MAACV;AAAA,MAAA;AAAA,QACC,KAAAK;AAAA,QACA,gBAAY;AAAA,QACZ,WAAWM;AAAA,UACTC,EAAO;AAAA,UACPA,EAAO,oBAAoBjB,CAAS,EAAE;AAAA,UACtCiB,EAAO,gBAAgBhB,CAAK,EAAE;AAAA,UAC9BgB,EAAO,kBAAkBf,CAAO,EAAE;AAAA,UAClCe,EAAO,eAAed,CAAI,EAAE;AAAA,UAC5BI;AAAA,QAAA;AAAA,QAEF,OAAO,EAAE,GAAGM,GAAW,KAAKF,EAAA;AAAA,QAC3B,GAAIH,KAAU,EAAE,eAAeA,EAAA;AAAA,QAC/B,GAAGM;AAAA,QAEH,UAAAR;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;AAEAR,EAAM,cAAc;"}
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { j as m } from "./index.esm36.js";
3
3
  import { forwardRef as y } from "react";
4
- import v from "./index.esm38.js";
4
+ import v from "./index.esm42.js";
5
5
  import { getSpacingVar as n } from "./index.esm3.js";
6
- import b from "./index.esm52.js";
6
+ import b from "./index.esm50.js";
7
7
  const j = y(
8
8
  ({
9
9
  columns: r = 12,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { j as o } from "./index.esm36.js";
3
- import l from "./index.esm38.js";
4
- import a from "./index.esm69.js";
3
+ import l from "./index.esm42.js";
4
+ import a from "./index.esm61.js";
5
5
  const c = ({
6
6
  children: e,
7
7
  className: i,