@atme-lab/ui-kit 0.1.23 → 0.1.24

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 (245) hide show
  1. package/dist/components/primitives/Term/Term.d.ts +1 -2
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs11.js +1 -1
  4. package/dist/index.cjs12.js +1 -1
  5. package/dist/index.cjs13.js +1 -1
  6. package/dist/index.cjs14.js +1 -1
  7. package/dist/index.cjs15.js +1 -1
  8. package/dist/index.cjs16.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs20.js +1 -1
  12. package/dist/index.cjs21.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs24.js +1 -1
  16. package/dist/index.cjs24.js.map +1 -1
  17. package/dist/index.cjs25.js +1 -1
  18. package/dist/index.cjs27.js +1 -1
  19. package/dist/index.cjs28.js +1 -1
  20. package/dist/index.cjs29.js +1 -1
  21. package/dist/index.cjs30.js +1 -1
  22. package/dist/index.cjs31.js +1 -1
  23. package/dist/index.cjs387.js +1 -1
  24. package/dist/index.cjs41.js +1 -1
  25. package/dist/index.cjs413.js +1 -1
  26. package/dist/index.cjs414.js +1 -1
  27. package/dist/index.cjs415.js +1 -1
  28. package/dist/index.cjs416.js +1 -1
  29. package/dist/index.cjs42.js +1 -1
  30. package/dist/index.cjs430.js +1 -1
  31. package/dist/index.cjs432.js +1 -1
  32. package/dist/index.cjs435.js +1 -1
  33. package/dist/index.cjs44.js +1 -1
  34. package/dist/index.cjs445.js +6 -1
  35. package/dist/index.cjs445.js.map +1 -1
  36. package/dist/index.cjs446.js +6 -1
  37. package/dist/index.cjs446.js.map +1 -1
  38. package/dist/index.cjs447.js +6 -1
  39. package/dist/index.cjs447.js.map +1 -1
  40. package/dist/index.cjs448.js +6 -1
  41. package/dist/index.cjs448.js.map +1 -1
  42. package/dist/index.cjs449.js +1 -1
  43. package/dist/index.cjs449.js.map +1 -1
  44. package/dist/index.cjs45.js +1 -1
  45. package/dist/index.cjs450.js +1 -1
  46. package/dist/index.cjs450.js.map +1 -1
  47. package/dist/index.cjs451.js +1 -6
  48. package/dist/index.cjs451.js.map +1 -1
  49. package/dist/index.cjs452.js +1 -6
  50. package/dist/index.cjs452.js.map +1 -1
  51. package/dist/index.cjs453.js +1 -6
  52. package/dist/index.cjs453.js.map +1 -1
  53. package/dist/index.cjs454.js +1 -6
  54. package/dist/index.cjs454.js.map +1 -1
  55. package/dist/index.cjs46.js +1 -1
  56. package/dist/index.cjs46.js.map +1 -1
  57. package/dist/index.cjs47.js +1 -1
  58. package/dist/index.cjs48.js +1 -1
  59. package/dist/index.cjs49.js +1 -1
  60. package/dist/index.cjs50.js +1 -1
  61. package/dist/index.cjs51.js +1 -1
  62. package/dist/index.cjs51.js.map +1 -1
  63. package/dist/index.cjs52.js +1 -1
  64. package/dist/index.cjs53.js +1 -1
  65. package/dist/index.cjs54.js +1 -1
  66. package/dist/index.cjs54.js.map +1 -1
  67. package/dist/index.cjs55.js +1 -1
  68. package/dist/index.cjs56.js +1 -1
  69. package/dist/index.cjs56.js.map +1 -1
  70. package/dist/index.cjs57.js +1 -1
  71. package/dist/index.cjs57.js.map +1 -1
  72. package/dist/index.cjs58.js +1 -1
  73. package/dist/index.cjs59.js +1 -1
  74. package/dist/index.cjs59.js.map +1 -1
  75. package/dist/index.cjs60.js +1 -1
  76. package/dist/index.cjs61.js +1 -1
  77. package/dist/index.cjs61.js.map +1 -1
  78. package/dist/index.cjs62.js +1 -1
  79. package/dist/index.cjs62.js.map +1 -1
  80. package/dist/index.cjs63.js +1 -1
  81. package/dist/index.cjs64.js +1 -1
  82. package/dist/index.cjs64.js.map +1 -1
  83. package/dist/index.cjs65.js +1 -1
  84. package/dist/index.cjs65.js.map +1 -1
  85. package/dist/index.cjs66.js +1 -1
  86. package/dist/index.cjs66.js.map +1 -1
  87. package/dist/index.cjs67.js +1 -1
  88. package/dist/index.cjs67.js.map +1 -1
  89. package/dist/index.cjs69.js +1 -1
  90. package/dist/index.cjs70.js +1 -1
  91. package/dist/index.cjs71.js +1 -1
  92. package/dist/index.cjs72.js +1 -1
  93. package/dist/index.cjs74.js +1 -1
  94. package/dist/index.cjs75.js +1 -1
  95. package/dist/index.cjs76.js +1 -1
  96. package/dist/index.cjs76.js.map +1 -1
  97. package/dist/index.cjs77.js +1 -1
  98. package/dist/index.cjs77.js.map +1 -1
  99. package/dist/index.cjs80.js +1 -1
  100. package/dist/index.cjs80.js.map +1 -1
  101. package/dist/index.cjs81.js +1 -1
  102. package/dist/index.cjs81.js.map +1 -1
  103. package/dist/index.cjs82.js +1 -2
  104. package/dist/index.cjs82.js.map +1 -1
  105. package/dist/index.cjs83.js +2 -1
  106. package/dist/index.cjs83.js.map +1 -1
  107. package/dist/index.cjs84.js +1 -1
  108. package/dist/index.cjs84.js.map +1 -1
  109. package/dist/index.cjs85.js +1 -1
  110. package/dist/index.cjs85.js.map +1 -1
  111. package/dist/index.cjs86.js +1 -1
  112. package/dist/index.cjs86.js.map +1 -1
  113. package/dist/index.cjs9.js +1 -1
  114. package/dist/index.esm10.js +2 -2
  115. package/dist/index.esm11.js +1 -1
  116. package/dist/index.esm12.js +3 -3
  117. package/dist/index.esm13.js +1 -1
  118. package/dist/index.esm14.js +1 -1
  119. package/dist/index.esm15.js +1 -1
  120. package/dist/index.esm16.js +1 -1
  121. package/dist/index.esm18.js +1 -1
  122. package/dist/index.esm19.js +1 -1
  123. package/dist/index.esm20.js +1 -1
  124. package/dist/index.esm21.js +2 -2
  125. package/dist/index.esm22.js +2 -2
  126. package/dist/index.esm23.js +1 -1
  127. package/dist/index.esm24.js +8 -69
  128. package/dist/index.esm24.js.map +1 -1
  129. package/dist/index.esm25.js +2 -2
  130. package/dist/index.esm27.js +1 -1
  131. package/dist/index.esm28.js +1 -1
  132. package/dist/index.esm29.js +2 -2
  133. package/dist/index.esm30.js +1 -1
  134. package/dist/index.esm31.js +3 -3
  135. package/dist/index.esm387.js +1 -1
  136. package/dist/index.esm41.js +1 -1
  137. package/dist/index.esm413.js +1 -1
  138. package/dist/index.esm414.js +1 -1
  139. package/dist/index.esm415.js +1 -1
  140. package/dist/index.esm416.js +1 -1
  141. package/dist/index.esm42.js +1 -1
  142. package/dist/index.esm430.js +1 -1
  143. package/dist/index.esm432.js +6 -6
  144. package/dist/index.esm435.js +1 -1
  145. package/dist/index.esm44.js +32 -40
  146. package/dist/index.esm44.js.map +1 -1
  147. package/dist/index.esm445.js +21 -6
  148. package/dist/index.esm445.js.map +1 -1
  149. package/dist/index.esm446.js +9 -10
  150. package/dist/index.esm446.js.map +1 -1
  151. package/dist/index.esm447.js +38 -7
  152. package/dist/index.esm447.js.map +1 -1
  153. package/dist/index.esm448.js +18 -4
  154. package/dist/index.esm448.js.map +1 -1
  155. package/dist/index.esm449.js +5 -84
  156. package/dist/index.esm449.js.map +1 -1
  157. package/dist/index.esm45.js +11 -47
  158. package/dist/index.esm450.js +9 -37
  159. package/dist/index.esm450.js.map +1 -1
  160. package/dist/index.esm451.js +7 -21
  161. package/dist/index.esm451.js.map +1 -1
  162. package/dist/index.esm452.js +4 -9
  163. package/dist/index.esm452.js.map +1 -1
  164. package/dist/index.esm453.js +85 -38
  165. package/dist/index.esm453.js.map +1 -1
  166. package/dist/index.esm454.js +38 -18
  167. package/dist/index.esm454.js.map +1 -1
  168. package/dist/index.esm46.js +30 -11
  169. package/dist/index.esm46.js.map +1 -1
  170. package/dist/index.esm47.js +27 -40
  171. package/dist/index.esm47.js.map +1 -1
  172. package/dist/index.esm48.js +5 -4
  173. package/dist/index.esm48.js.map +1 -1
  174. package/dist/index.esm49.js +2 -6
  175. package/dist/index.esm49.js.map +1 -1
  176. package/dist/index.esm50.js +2 -9
  177. package/dist/index.esm50.js.map +1 -1
  178. package/dist/index.esm51.js +65 -28
  179. package/dist/index.esm51.js.map +1 -1
  180. package/dist/index.esm52.js +29 -2
  181. package/dist/index.esm52.js.map +1 -1
  182. package/dist/index.esm53.js +9 -2
  183. package/dist/index.esm53.js.map +1 -1
  184. package/dist/index.esm54.js +5 -88
  185. package/dist/index.esm54.js.map +1 -1
  186. package/dist/index.esm55.js +47 -35
  187. package/dist/index.esm55.js.map +1 -1
  188. package/dist/index.esm56.js +11 -127
  189. package/dist/index.esm56.js.map +1 -1
  190. package/dist/index.esm57.js +88 -29
  191. package/dist/index.esm57.js.map +1 -1
  192. package/dist/index.esm58.js +34 -64
  193. package/dist/index.esm58.js.map +1 -1
  194. package/dist/index.esm59.js +127 -41
  195. package/dist/index.esm59.js.map +1 -1
  196. package/dist/index.esm60.js +8 -10
  197. package/dist/index.esm60.js.map +1 -1
  198. package/dist/index.esm61.js +28 -17
  199. package/dist/index.esm61.js.map +1 -1
  200. package/dist/index.esm62.js +41 -16
  201. package/dist/index.esm62.js.map +1 -1
  202. package/dist/index.esm63.js +6 -15
  203. package/dist/index.esm63.js.map +1 -1
  204. package/dist/index.esm64.js +8 -96
  205. package/dist/index.esm64.js.map +1 -1
  206. package/dist/index.esm65.js +7 -7
  207. package/dist/index.esm65.js.map +1 -1
  208. package/dist/index.esm66.js +16 -9
  209. package/dist/index.esm66.js.map +1 -1
  210. package/dist/index.esm67.js +97 -7
  211. package/dist/index.esm67.js.map +1 -1
  212. package/dist/index.esm69.js +42 -39
  213. package/dist/index.esm69.js.map +1 -1
  214. package/dist/index.esm70.js +40 -32
  215. package/dist/index.esm70.js.map +1 -1
  216. package/dist/index.esm71.js +36 -8
  217. package/dist/index.esm71.js.map +1 -1
  218. package/dist/index.esm72.js +39 -32
  219. package/dist/index.esm72.js.map +1 -1
  220. package/dist/index.esm74.js +6 -36
  221. package/dist/index.esm74.js.map +1 -1
  222. package/dist/index.esm75.js +8 -10
  223. package/dist/index.esm75.js.map +1 -1
  224. package/dist/index.esm76.js +17 -30
  225. package/dist/index.esm76.js.map +1 -1
  226. package/dist/index.esm77.js +16 -9
  227. package/dist/index.esm77.js.map +1 -1
  228. package/dist/index.esm80.js +4 -55
  229. package/dist/index.esm80.js.map +1 -1
  230. package/dist/index.esm81.js +55 -257
  231. package/dist/index.esm81.js.map +1 -1
  232. package/dist/index.esm82.js +208 -1637
  233. package/dist/index.esm82.js.map +1 -1
  234. package/dist/index.esm83.js +1685 -1413
  235. package/dist/index.esm83.js.map +1 -1
  236. package/dist/index.esm84.js +1286 -260
  237. package/dist/index.esm84.js.map +1 -1
  238. package/dist/index.esm85.js +387 -5
  239. package/dist/index.esm85.js.map +1 -1
  240. package/dist/index.esm86.js +5 -3
  241. package/dist/index.esm86.js.map +1 -1
  242. package/dist/index.esm9.js +1 -1
  243. package/dist/styles.css +1 -1
  244. package/dist/ui-kit.css +1 -1
  245. package/package.json +1 -1
@@ -1,131 +1,15 @@
1
1
  "use client";
2
- import { j as s } from "./index.esm37.js";
3
- import T from "./index.esm43.js";
4
- import { TRIANGLE_TEMPLATES as y } from "./index.esm54.js";
5
- import e from "./index.esm388.js";
6
- function D(i) {
7
- return `polygon(${i.map(([c, t]) => `${c * 100}% ${t * 100}%`).join(", ")})`;
8
- }
9
- function I({ cell: i, colors: o }) {
10
- const c = o[i.bgColorIndex] ?? o[0], t = o[i.shapeColorIndex] ?? o[1], a = Math.min(i.width, i.height), {
11
- x,
12
- y: C,
13
- width: j,
14
- height: b,
15
- shapeType: l,
16
- triangleIndex: d,
17
- stripeDirection: h,
18
- stripeCount: r = 4,
19
- stripeMask: v,
20
- animationDelay: N,
21
- animationDuration: f,
22
- animationScaleFrom: $ = 0.9,
23
- dotScale: m = 0.45,
24
- animationType: p,
25
- animationPhase: k = 0
26
- } = i, g = h === 1 ? a : a / (r * 2 - 1), u = h === 1 ? a / (r * 2 - 1) : a, P = v ?? Array(r).fill(!0), w = {
27
- position: "absolute",
28
- left: x,
29
- top: C,
30
- width: j,
31
- height: b,
32
- "--cell-delay": `${N}ms`,
33
- "--cell-duration": `${f}ms`,
34
- "--cell-scale-from": $,
35
- "--cell-animation-phase": `${k}ms`
36
- };
37
- return /* @__PURE__ */ s.jsx("div", { className: e.cell, style: w, "aria-hidden": !0, children: /* @__PURE__ */ s.jsxs(
38
- "div",
39
- {
40
- className: T(
41
- e.cellInner,
42
- p === "breathe" && e.cellBreathes,
43
- p === "pulse" && e.cellPulses,
44
- p === "opacity" && e.cellOpacity
45
- ),
46
- children: [
47
- /* @__PURE__ */ s.jsx("div", { className: e.bg, style: { backgroundColor: c } }),
48
- l === "circle" && /* @__PURE__ */ s.jsx(
49
- "div",
50
- {
51
- className: e.shapeCircle,
52
- style: { backgroundColor: t }
53
- }
54
- ),
55
- l === "dot" && /* @__PURE__ */ s.jsx(
56
- "div",
57
- {
58
- className: e.shapeDot,
59
- style: {
60
- backgroundColor: t,
61
- width: `${m * 100}%`,
62
- height: `${m * 100}%`
63
- }
64
- }
65
- ),
66
- l === "triangle" && d !== void 0 && y[d] && /* @__PURE__ */ s.jsx(
67
- "div",
68
- {
69
- className: e.shapeTriangle,
70
- style: {
71
- backgroundColor: t,
72
- clipPath: D(y[d])
73
- }
74
- }
75
- ),
76
- l === "diamond" && /* @__PURE__ */ s.jsx(
77
- "div",
78
- {
79
- className: e.shapeDiamond,
80
- style: { backgroundColor: t }
81
- }
82
- ),
83
- l === "cross" && /* @__PURE__ */ s.jsxs("div", { className: e.shapeCross, children: [
84
- /* @__PURE__ */ s.jsx(
85
- "div",
86
- {
87
- className: e.crossBar,
88
- style: { backgroundColor: t }
89
- }
90
- ),
91
- /* @__PURE__ */ s.jsx(
92
- "div",
93
- {
94
- className: e.crossBarVertical,
95
- style: { backgroundColor: t }
96
- }
97
- )
98
- ] }),
99
- l === "stripes" && /* @__PURE__ */ s.jsx("div", { className: e.stripes, children: Array.from(
100
- { length: r },
101
- (S, n) => P[n] ? /* @__PURE__ */ s.jsx(
102
- "div",
103
- {
104
- className: e.stripe,
105
- style: {
106
- backgroundColor: t,
107
- ...h === 1 ? {
108
- top: `${2 * n * u / a * 100}%`,
109
- left: 0,
110
- width: "100%",
111
- height: `${u / a * 100}%`
112
- } : {
113
- left: `${2 * n * g / a * 100}%`,
114
- top: 0,
115
- width: `${g / a * 100}%`,
116
- height: "100%"
117
- }
118
- }
119
- },
120
- n
121
- ) : null
122
- ) })
123
- ]
124
- }
125
- ) });
126
- }
127
- I.displayName = "PatternCell";
2
+ const e = "_root_yhe7w_1", o = "_filename_yhe7w_8", r = "_code_yhe7w_15", t = "_error_yhe7w_50", _ = {
3
+ root: e,
4
+ filename: o,
5
+ code: r,
6
+ error: t
7
+ };
128
8
  export {
129
- I as PatternCell
9
+ r as code,
10
+ _ as default,
11
+ t as error,
12
+ o as filename,
13
+ e as root
130
14
  };
131
15
  //# sourceMappingURL=index.esm56.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm56.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","y","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":";;;;;AAWA,SAASA,EAAgBC,GAA6B;AAEpD,SAAO,WADQA,EAAS,IAAI,CAAC,CAACC,GAAIC,CAAE,MAAM,GAAGD,IAAK,GAAG,KAAKC,IAAK,GAAG,GAAG,EAAE,KAAK,IAAI,CACxD;AAC1B;AAEO,SAASC,EAAY,EAAE,MAAAC,GAAM,QAAAC,KAA4B;AAC9D,QAAMC,IAAUD,EAAOD,EAAK,YAAY,KAAKC,EAAO,CAAC,GAC/CE,IAAaF,EAAOD,EAAK,eAAe,KAAKC,EAAO,CAAC,GACrDG,IAAO,KAAK,IAAIJ,EAAK,OAAOA,EAAK,MAAM,GACvC;AAAA,IACJ;AAAA,IACA,GAAAK;AAAA,IACA,OAAOC;AAAA,IACP,QAAQC;AAAA,IACR,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC,IAAc;AAAA,IACd,YAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,oBAAAC,IAAqB;AAAA,IACrB,UAAAC,IAAW;AAAA,IACX,eAAAC;AAAA,IACA,gBAAAC,IAAiB;AAAA,EAAA,IACflB,GAEEmB,IACJT,MAAoB,IAAIN,IAAOA,KAAQO,IAAc,IAAI,IACrDS,IACJ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AA,kBAC7C,KAAK;AAAA,kBACL,OAAO,GAAIe,IAAcf,IAAQ,GAAG;AAAA,kBACpC,QAAQ;AAAA,gBAAA;AAAA,cACV;AAAA,YACJ;AAAA,YAjBKyB;AAAA,UAAA,IAmBL;AAAA,QAAA,EACN,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAGJ;AAEJ;AAEA9B,EAAY,cAAc;"}
1
+ {"version":3,"file":"index.esm56.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,33 +1,92 @@
1
1
  "use client";
2
- const r = "_wrapper_1xv65_1", p = "_wrapper--error_1xv65_22", _ = "_wrapper--disabled_1xv65_31", e = "_input_1xv65_37", a = "_iconStart_1xv65_62", w = "_iconEnd_1xv65_63", t = "_wrapper--sm_1xv65_72", n = "_wrapper--md_1xv65_82", o = "_wrapper--lg_1xv65_92", s = "_wrapper--fullWidth_1xv65_102", d = {
3
- wrapper: r,
4
- "wrapper--error": "_wrapper--error_1xv65_22",
5
- wrapperError: p,
6
- "wrapper--disabled": "_wrapper--disabled_1xv65_31",
7
- wrapperDisabled: _,
8
- input: e,
9
- iconStart: a,
10
- iconEnd: w,
11
- "wrapper--sm": "_wrapper--sm_1xv65_72",
12
- wrapperSm: t,
13
- "wrapper--md": "_wrapper--md_1xv65_82",
14
- wrapperMd: n,
15
- "wrapper--lg": "_wrapper--lg_1xv65_92",
16
- wrapperLg: o,
17
- "wrapper--fullWidth": "_wrapper--fullWidth_1xv65_102",
18
- wrapperFullWidth: s
19
- };
2
+ const w = [
3
+ [[0, 0], [1, 0], [0, 1]],
4
+ [[0, 0], [1, 0], [1, 1]],
5
+ [[0, 0], [0, 1], [1, 1]],
6
+ [[0, 1], [1, 0], [1, 1]]
7
+ ], F = 9301, X = 49297, R = 233280, k = 4, M = 1, b = 8, H = 0.12, Y = 0.3, E = { circle: 0.2, dot: 0.35, triangle: 0.5, diamond: 0.62, cross: 0.75 }, z = 0.3, V = 0.3, j = 450, v = 320, Z = 300, q = 0.8, J = 0.17, T = 0.25, d = 0.25, K = 0.25, Q = 7e3, $ = 2, W = 5, g = 0.75;
8
+ function _(t, o, s) {
9
+ return Math.floor(s() * (o - t + 1)) + t;
10
+ }
11
+ function et(t) {
12
+ return () => (t = (t * F + X) % R, t / R);
13
+ }
14
+ function at(t, o, s, I, r, c = "right", e = 2) {
15
+ return tt(t, o, s, I, r, c, e);
16
+ }
17
+ function tt(t, o, s, I, r, c, e) {
18
+ if (t <= 0 || o <= 0) return [];
19
+ const N = Math.max(k, s), A = Math.max(M, Math.floor(o / N)), i = Math.min(b, Math.max(M, e));
20
+ let a = 1;
21
+ for (; a < A && o / (a + 1) >= N; )
22
+ a++;
23
+ let n = o / a;
24
+ n > t && (n = t, a = Math.max(M, Math.floor(o / n)));
25
+ const y = t / i, L = o / i;
26
+ if (n = Math.min(n, y, L), n <= 0) return [];
27
+ a = Math.max(M, Math.floor(o / n));
28
+ const C = Math.max(M, Math.floor(t / n)), x = () => r() > H, P = (l) => _(Math.max(M, Math.floor(l * Y)), l, r), f = c === "right" || c === "left", O = f ? a : C, u = f ? C : a, p = c === "right" || c === "bottom", S = [];
29
+ for (let l = 0; l < O; l++) {
30
+ if (!x()) continue;
31
+ const m = P(u), D = p ? u - m : 0, U = p ? u : m;
32
+ for (let h = D; h < U; h++) {
33
+ const B = f ? h : l, G = f ? l : h;
34
+ nt(S, B * n, G * n, n, n, I, r);
35
+ }
36
+ }
37
+ return S;
38
+ }
39
+ function ot(t) {
40
+ const o = t();
41
+ if (o < E.circle) return { shapeType: "circle" };
42
+ if (o < E.dot)
43
+ return { shapeType: "dot", dotScale: z + t() * V };
44
+ if (o < E.triangle)
45
+ return {
46
+ shapeType: "triangle",
47
+ triangleIndex: _(0, w.length - 1, t)
48
+ };
49
+ if (o < E.diamond) return { shapeType: "diamond" };
50
+ if (o < E.cross) return { shapeType: "cross" };
51
+ const s = _($, W, t);
52
+ return {
53
+ shapeType: "stripes",
54
+ stripeDirection: t() > 0.35 ? 1 : 0,
55
+ stripeCount: s,
56
+ stripeMask: Array.from({ length: s }, () => t() > 1 - g)
57
+ };
58
+ }
59
+ function nt(t, o, s, I, r, c, e) {
60
+ const N = _(0, c - 1, e);
61
+ let A = _(0, c - 1, e);
62
+ for (; A === N; )
63
+ A = _(0, c - 1, e);
64
+ const i = ot(e), a = e();
65
+ let n;
66
+ a < T ? n = "breathe" : a < T + d ? n = "pulse" : a < T + d + K && (n = "opacity"), t.push({
67
+ x: o,
68
+ y: s,
69
+ width: I,
70
+ height: r,
71
+ bgColorIndex: N,
72
+ shapeColorIndex: A,
73
+ shapeType: i.shapeType,
74
+ triangleIndex: i.triangleIndex,
75
+ stripeDirection: i.stripeDirection,
76
+ stripeCount: i.stripeCount,
77
+ stripeMask: i.stripeMask,
78
+ animationDelay: Math.floor(e() * j),
79
+ animationDuration: v + Math.floor(e() * Z),
80
+ animationScaleFrom: q + e() * J,
81
+ dotScale: i.dotScale,
82
+ animationType: n,
83
+ animationPhase: n ? Math.floor(e() * Q) : void 0
84
+ });
85
+ }
20
86
  export {
21
- d as default,
22
- w as iconEnd,
23
- a as iconStart,
24
- e as input,
25
- r as wrapper,
26
- _ as wrapperDisabled,
27
- p as wrapperError,
28
- s as wrapperFullWidth,
29
- o as wrapperLg,
30
- n as wrapperMd,
31
- t as wrapperSm
87
+ w as TRIANGLE_TEMPLATES,
88
+ et as createSeededRandom,
89
+ at as generatePattern,
90
+ _ as getRandomInt
32
91
  };
33
92
  //# sourceMappingURL=index.esm57.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm57.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm57.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 animationType?: 'breathe' | 'pulse' | 'opacity';\n animationPhase?: 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;\n// Animation\nconst ANIM_BREATHE_CHANCE = 0.25;\nconst ANIM_PULSE_CHANCE = 0.25;\nconst ANIM_OPACITY_CHANCE = 0.25;\nconst ANIM_PHASE_MAX = 7000;\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 const roll = rng();\n let animationType: 'breathe' | 'pulse' | 'opacity' | undefined;\n if (roll < ANIM_BREATHE_CHANCE) animationType = 'breathe';\n else if (roll < ANIM_BREATHE_CHANCE + ANIM_PULSE_CHANCE) animationType = 'pulse';\n else if (roll < ANIM_BREATHE_CHANCE + ANIM_PULSE_CHANCE + ANIM_OPACITY_CHANCE) animationType = 'opacity';\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 animationType,\n animationPhase: animationType ? Math.floor(rng() * ANIM_PHASE_MAX) : undefined,\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","ANIM_BREATHE_CHANCE","ANIM_PULSE_CHANCE","ANIM_OPACITY_CHANCE","ANIM_PHASE_MAX","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","animationType"],"mappings":";AAEO,MAAMA,IAAkC;AAAA,EAC7C,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAAA,EACvB,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAAA,EACvB,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAAA,EACvB,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzB,GA+BMC,IAAiB,MACjBC,IAAgB,OAChBC,IAAc,QAEdC,IAAe,GACfC,IAAkB,GAClBC,IAAkB,GAClBC,IAAmB,MACnBC,IAAuB,KAEvBC,IAAa,EAAE,QAAQ,KAAK,KAAK,MAAM,UAAU,KAAK,SAAS,MAAM,OAAO,KAAA,GAC5EC,IAAgB,KAChBC,IAAkB,KAClBC,IAAiB,KACjBC,IAAoB,KACpBC,IAAsB,KACtBC,IAAsB,KACtBC,IAAwB,MAExBC,IAAsB,MACtBC,IAAoB,MACpBC,IAAsB,MACtBC,IAAiB,KACjBC,IAAmB,GACnBC,IAAmB,GACnBC,IAAwB;AAEvB,SAASC,EAAaC,GAAaC,GAAaC,GAA2B;AAChF,SAAO,KAAK,MAAMA,EAAA,KAASD,IAAMD,IAAM,EAAE,IAAIA;AAC/C;AAEO,SAASG,GAAmBC,GAA4B;AAC7D,SAAO,OACLA,KAAQA,IAAO5B,IAAiBC,KAAiBC,GAC1C0B,IAAO1B;AAElB;AAIO,SAAS2B,GACdC,GACAC,GACAC,GACAC,GACAP,GACAQ,IAAoB,SACpBC,IAAuB,GACT;AACd,SAAOC,GAAoBN,GAAYC,GAAaC,GAASC,GAAYP,GAAKQ,GAAMC,CA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kB7C,EAAa,GAAGU,IAAa,GAAGP,CAAG;AAGvD,QAAM2C,IAAQT,GAAclC,CAAG,GAEzBmC,IAAOnC,EAAA;AACb,MAAI4C;AACJ,EAAIT,IAAO7C,IAAqBsD,IAAgB,YACvCT,IAAO7C,IAAsBC,IAAmBqD,IAAgB,UAChET,IAAO7C,IAAsBC,IAAoBC,MAAqBoD,IAAgB,YAE/FnB,EAAM,KAAK;AAAA,IACT,GAAAY;AAAA,IACA,GAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,WAAWC,EAAM;AAAA,IACjB,eAAeA,EAAM;AAAA,IACrB,iBAAiBA,EAAM;AAAA,IACvB,aAAaA,EAAM;AAAA,IACnB,YAAYA,EAAM;AAAA,IAClB,gBAAgB,KAAK,MAAM3C,EAAA,IAAQf,CAAc;AAAA,IACjD,mBAAmBC,IAAoB,KAAK,MAAMc,EAAA,IAAQb,CAAmB;AAAA,IAC7E,oBAAoBC,IAAsBY,EAAA,IAAQX;AAAA,IAClD,UAAUsD,EAAM;AAAA,IAChB,eAAAC;AAAA,IACA,gBAAgBA,IAAgB,KAAK,MAAM5C,EAAA,IAAQP,CAAc,IAAI;AAAA,EAAA,CACtE;AACH;"}
@@ -1,69 +1,39 @@
1
1
  "use client";
2
- const y = "_typography_1c1gg_1", p = "_typography--h1_1c1gg_8", g = "_typography--h2_1c1gg_15", o = "_typography--h3_1c1gg_22", r = "_typography--h4_1c1gg_29", t = "_typography--h5_1c1gg_36", a = "_typography--h6_1c1gg_43", _ = "_typography--body_1c1gg_50", h = "_typography--caption_1c1gg_57", c = "_typography--overline_1c1gg_64", l = "_typography--xs_1c1gg_74", s = "_typography--sm_1c1gg_78", n = "_typography--base_1c1gg_82", e = "_typography--lg_1c1gg_86", i = "_typography--xl_1c1gg_90", d = "_typography--2xl_1c1gg_94", x = "_typography--3xl_1c1gg_98", H = "_typography--4xl_1c1gg_102", b = "_typography--color-primary_1c1gg_107", m = "_typography--color-secondary_1c1gg_111", X = "_typography--color-disabled_1c1gg_115", C = {
3
- typography: y,
4
- "typography--h1": "_typography--h1_1c1gg_8",
5
- typographyH1: p,
6
- "typography--h2": "_typography--h2_1c1gg_15",
7
- typographyH2: g,
8
- "typography--h3": "_typography--h3_1c1gg_22",
9
- typographyH3: o,
10
- "typography--h4": "_typography--h4_1c1gg_29",
11
- typographyH4: r,
12
- "typography--h5": "_typography--h5_1c1gg_36",
13
- typographyH5: t,
14
- "typography--h6": "_typography--h6_1c1gg_43",
15
- typographyH6: a,
16
- "typography--body": "_typography--body_1c1gg_50",
17
- typographyBody: _,
18
- "typography--caption": "_typography--caption_1c1gg_57",
19
- typographyCaption: h,
20
- "typography--overline": "_typography--overline_1c1gg_64",
21
- typographyOverline: c,
22
- "typography--xs": "_typography--xs_1c1gg_74",
23
- typographyXs: l,
24
- "typography--sm": "_typography--sm_1c1gg_78",
25
- typographySm: s,
26
- "typography--base": "_typography--base_1c1gg_82",
27
- typographyBase: n,
28
- "typography--lg": "_typography--lg_1c1gg_86",
29
- typographyLg: e,
30
- "typography--xl": "_typography--xl_1c1gg_90",
31
- typographyXl: i,
32
- "typography--2xl": "_typography--2xl_1c1gg_94",
33
- typography2Xl: d,
34
- "typography--3xl": "_typography--3xl_1c1gg_98",
35
- typography3Xl: x,
36
- "typography--4xl": "_typography--4xl_1c1gg_102",
37
- typography4Xl: H,
38
- "typography--color-primary": "_typography--color-primary_1c1gg_107",
39
- typographyColorPrimary: b,
40
- "typography--color-secondary": "_typography--color-secondary_1c1gg_111",
41
- typographyColorSecondary: m,
42
- "typography--color-disabled": "_typography--color-disabled_1c1gg_115",
43
- typographyColorDisabled: X
2
+ const t = "_root_mptdu_1", o = "_root--edge-top_mptdu_6", r = "_root--edge-bottom_mptdu_10", _ = "_root--edge-left_mptdu_14", p = "_root--edge-right_mptdu_18", e = "_content_mptdu_22", s = "_strip_mptdu_28", d = "_strip--top_mptdu_36", i = "_strip--bottom_mptdu_37", g = "_strip--left_mptdu_42", m = "_strip--right_mptdu_43", u = "_stripMirror_mptdu_48", n = {
3
+ root: t,
4
+ "root--edge-top": "_root--edge-top_mptdu_6",
5
+ rootEdgeTop: o,
6
+ "root--edge-bottom": "_root--edge-bottom_mptdu_10",
7
+ rootEdgeBottom: r,
8
+ "root--edge-left": "_root--edge-left_mptdu_14",
9
+ rootEdgeLeft: _,
10
+ "root--edge-right": "_root--edge-right_mptdu_18",
11
+ rootEdgeRight: p,
12
+ content: e,
13
+ strip: s,
14
+ "strip--top": "_strip--top_mptdu_36",
15
+ stripTop: d,
16
+ "strip--bottom": "_strip--bottom_mptdu_37",
17
+ stripBottom: i,
18
+ "strip--left": "_strip--left_mptdu_42",
19
+ stripLeft: g,
20
+ "strip--right": "_strip--right_mptdu_43",
21
+ stripRight: m,
22
+ stripMirror: u
44
23
  };
45
24
  export {
46
- C as default,
47
- y as typography,
48
- d as typography2Xl,
49
- x as typography3Xl,
50
- H as typography4Xl,
51
- n as typographyBase,
52
- _ as typographyBody,
53
- h as typographyCaption,
54
- X as typographyColorDisabled,
55
- b as typographyColorPrimary,
56
- m as typographyColorSecondary,
57
- p as typographyH1,
58
- g as typographyH2,
59
- o as typographyH3,
60
- r as typographyH4,
61
- t as typographyH5,
62
- a as typographyH6,
63
- e as typographyLg,
64
- c as typographyOverline,
65
- s as typographySm,
66
- i as typographyXl,
67
- l as typographyXs
25
+ e as content,
26
+ n as default,
27
+ t as root,
28
+ r as rootEdgeBottom,
29
+ _ as rootEdgeLeft,
30
+ p as rootEdgeRight,
31
+ o as rootEdgeTop,
32
+ s as strip,
33
+ i as stripBottom,
34
+ g as stripLeft,
35
+ u as stripMirror,
36
+ m as stripRight,
37
+ d as stripTop
68
38
  };
69
39
  //# sourceMappingURL=index.esm58.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm58.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm58.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,45 +1,131 @@
1
1
  "use client";
2
- const a = "_island_1pzuz_1", n = "_island--size-sm_1pzuz_7", i = "_island--size-md_1pzuz_11", l = "_island--size-lg_1pzuz_15", s = "_island--variant-default_1pzuz_20", e = "_island--variant-paper_1pzuz_24", d = "_island--variant-accent_1pzuz_28", _ = "_island--elevation-none_1pzuz_33", t = "_island--elevation-sm_1pzuz_37", z = "_island--elevation-md_1pzuz_41", o = "_island--elevation-lg_1pzuz_45", p = "_island--elevation-xl_1pzuz_49", v = "_island--bordered_1pzuz_54", u = {
3
- island: a,
4
- "island--size-sm": "_island--size-sm_1pzuz_7",
5
- islandSizeSm: n,
6
- "island--size-md": "_island--size-md_1pzuz_11",
7
- islandSizeMd: i,
8
- "island--size-lg": "_island--size-lg_1pzuz_15",
9
- islandSizeLg: l,
10
- "island--variant-default": "_island--variant-default_1pzuz_20",
11
- islandVariantDefault: s,
12
- "island--variant-paper": "_island--variant-paper_1pzuz_24",
13
- islandVariantPaper: e,
14
- "island--variant-accent": "_island--variant-accent_1pzuz_28",
15
- islandVariantAccent: d,
16
- "island--elevation-none": "_island--elevation-none_1pzuz_33",
17
- islandElevationNone: _,
18
- "island--elevation-sm": "_island--elevation-sm_1pzuz_37",
19
- islandElevationSm: t,
20
- "island--elevation-md": "_island--elevation-md_1pzuz_41",
21
- islandElevationMd: z,
22
- "island--elevation-lg": "_island--elevation-lg_1pzuz_45",
23
- islandElevationLg: o,
24
- "island--elevation-xl": "_island--elevation-xl_1pzuz_49",
25
- islandElevationXl: p,
26
- "island--bordered": "_island--bordered_1pzuz_54",
27
- islandBordered: v
28
- };
2
+ import { j as s } from "./index.esm37.js";
3
+ import T from "./index.esm43.js";
4
+ import { TRIANGLE_TEMPLATES as y } from "./index.esm57.js";
5
+ import e from "./index.esm388.js";
6
+ function D(i) {
7
+ return `polygon(${i.map(([c, t]) => `${c * 100}% ${t * 100}%`).join(", ")})`;
8
+ }
9
+ function I({ cell: i, colors: o }) {
10
+ const c = o[i.bgColorIndex] ?? o[0], t = o[i.shapeColorIndex] ?? o[1], a = Math.min(i.width, i.height), {
11
+ x,
12
+ y: C,
13
+ width: j,
14
+ height: b,
15
+ shapeType: l,
16
+ triangleIndex: d,
17
+ stripeDirection: h,
18
+ stripeCount: r = 4,
19
+ stripeMask: v,
20
+ animationDelay: N,
21
+ animationDuration: f,
22
+ animationScaleFrom: $ = 0.9,
23
+ dotScale: m = 0.45,
24
+ animationType: p,
25
+ animationPhase: k = 0
26
+ } = i, g = h === 1 ? a : a / (r * 2 - 1), u = h === 1 ? a / (r * 2 - 1) : a, P = v ?? Array(r).fill(!0), w = {
27
+ position: "absolute",
28
+ left: x,
29
+ top: C,
30
+ width: j,
31
+ height: b,
32
+ "--cell-delay": `${N}ms`,
33
+ "--cell-duration": `${f}ms`,
34
+ "--cell-scale-from": $,
35
+ "--cell-animation-phase": `${k}ms`
36
+ };
37
+ return /* @__PURE__ */ s.jsx("div", { className: e.cell, style: w, "aria-hidden": !0, children: /* @__PURE__ */ s.jsxs(
38
+ "div",
39
+ {
40
+ className: T(
41
+ e.cellInner,
42
+ p === "breathe" && e.cellBreathes,
43
+ p === "pulse" && e.cellPulses,
44
+ p === "opacity" && e.cellOpacity
45
+ ),
46
+ children: [
47
+ /* @__PURE__ */ s.jsx("div", { className: e.bg, style: { backgroundColor: c } }),
48
+ l === "circle" && /* @__PURE__ */ s.jsx(
49
+ "div",
50
+ {
51
+ className: e.shapeCircle,
52
+ style: { backgroundColor: t }
53
+ }
54
+ ),
55
+ l === "dot" && /* @__PURE__ */ s.jsx(
56
+ "div",
57
+ {
58
+ className: e.shapeDot,
59
+ style: {
60
+ backgroundColor: t,
61
+ width: `${m * 100}%`,
62
+ height: `${m * 100}%`
63
+ }
64
+ }
65
+ ),
66
+ l === "triangle" && d !== void 0 && y[d] && /* @__PURE__ */ s.jsx(
67
+ "div",
68
+ {
69
+ className: e.shapeTriangle,
70
+ style: {
71
+ backgroundColor: t,
72
+ clipPath: D(y[d])
73
+ }
74
+ }
75
+ ),
76
+ l === "diamond" && /* @__PURE__ */ s.jsx(
77
+ "div",
78
+ {
79
+ className: e.shapeDiamond,
80
+ style: { backgroundColor: t }
81
+ }
82
+ ),
83
+ l === "cross" && /* @__PURE__ */ s.jsxs("div", { className: e.shapeCross, children: [
84
+ /* @__PURE__ */ s.jsx(
85
+ "div",
86
+ {
87
+ className: e.crossBar,
88
+ style: { backgroundColor: t }
89
+ }
90
+ ),
91
+ /* @__PURE__ */ s.jsx(
92
+ "div",
93
+ {
94
+ className: e.crossBarVertical,
95
+ style: { backgroundColor: t }
96
+ }
97
+ )
98
+ ] }),
99
+ l === "stripes" && /* @__PURE__ */ s.jsx("div", { className: e.stripes, children: Array.from(
100
+ { length: r },
101
+ (S, n) => P[n] ? /* @__PURE__ */ s.jsx(
102
+ "div",
103
+ {
104
+ className: e.stripe,
105
+ style: {
106
+ backgroundColor: t,
107
+ ...h === 1 ? {
108
+ top: `${2 * n * u / a * 100}%`,
109
+ left: 0,
110
+ width: "100%",
111
+ height: `${u / a * 100}%`
112
+ } : {
113
+ left: `${2 * n * g / a * 100}%`,
114
+ top: 0,
115
+ width: `${g / a * 100}%`,
116
+ height: "100%"
117
+ }
118
+ }
119
+ },
120
+ n
121
+ ) : null
122
+ ) })
123
+ ]
124
+ }
125
+ ) });
126
+ }
127
+ I.displayName = "PatternCell";
29
128
  export {
30
- u as default,
31
- a as island,
32
- v as islandBordered,
33
- o as islandElevationLg,
34
- z as islandElevationMd,
35
- _ as islandElevationNone,
36
- t as islandElevationSm,
37
- p as islandElevationXl,
38
- l as islandSizeLg,
39
- i as islandSizeMd,
40
- n as islandSizeSm,
41
- d as islandVariantAccent,
42
- s as islandVariantDefault,
43
- e as islandVariantPaper
129
+ I as PatternCell
44
130
  };
45
131
  //# sourceMappingURL=index.esm59.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm59.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm59.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","y","cellWidth","cellHeight","shapeType","triangleIndex","stripeDirection","stripeCount","stripeMask","animationDelay","animationDuration","animationScaleFrom","dotScale","animationType","animationPhase","st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apper: t,
4
- term: o,
5
- tooltip: e,
6
- tooltipMeasure: p
2
+ const n = "_link_10e20_1", l = "_linkText_10e20_33", e = "_linkIcon_10e20_38", t = {
3
+ link: n,
4
+ linkText: l,
5
+ linkIcon: e
7
6
  };
8
7
  export {
9
- r as default,
10
- o as term,
11
- e as tooltip,
12
- p as tooltipMeasure,
13
- t as wrapper
8
+ t as default,
9
+ n as link,
10
+ e as linkIcon,
11
+ l as linkText
14
12
  };
15
13
  //# sourceMappingURL=index.esm60.js.map