@atme-lab/ui-kit 0.1.26 → 0.1.27

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 (266) hide show
  1. package/dist/components/primitives/Callout/Callout.d.ts +1 -0
  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.cjs26.js +1 -1
  19. package/dist/index.cjs27.js +1 -1
  20. package/dist/index.cjs28.js +1 -1
  21. package/dist/index.cjs30.js +1 -1
  22. package/dist/index.cjs31.js +1 -1
  23. package/dist/index.cjs32.js +1 -1
  24. package/dist/index.cjs389.js +1 -1
  25. package/dist/index.cjs394.js +1 -1
  26. package/dist/index.cjs395.js +1 -1
  27. package/dist/index.cjs415.js +6 -1
  28. package/dist/index.cjs415.js.map +1 -1
  29. package/dist/index.cjs416.js +6 -1
  30. package/dist/index.cjs416.js.map +1 -1
  31. package/dist/index.cjs417.js +1 -1
  32. package/dist/index.cjs417.js.map +1 -1
  33. package/dist/index.cjs418.js +1 -1
  34. package/dist/index.cjs418.js.map +1 -1
  35. package/dist/index.cjs419.js +1 -6
  36. package/dist/index.cjs419.js.map +1 -1
  37. package/dist/index.cjs420.js +1 -6
  38. package/dist/index.cjs420.js.map +1 -1
  39. package/dist/index.cjs424.js +1 -1
  40. package/dist/index.cjs425.js +1 -1
  41. package/dist/index.cjs426.js +1 -1
  42. package/dist/index.cjs427.js +1 -1
  43. package/dist/index.cjs428.js +1 -1
  44. package/dist/index.cjs429.js +1 -1
  45. package/dist/index.cjs430.js +1 -1
  46. package/dist/index.cjs432.js +1 -1
  47. package/dist/index.cjs434.js +1 -1
  48. package/dist/index.cjs437.js +1 -1
  49. package/dist/index.cjs442.js +1 -1
  50. package/dist/index.cjs442.js.map +1 -1
  51. package/dist/index.cjs443.js +1 -1
  52. package/dist/index.cjs443.js.map +1 -1
  53. package/dist/index.cjs444.js +1 -1
  54. package/dist/index.cjs444.js.map +1 -1
  55. package/dist/index.cjs445.js +1 -1
  56. package/dist/index.cjs445.js.map +1 -1
  57. package/dist/index.cjs446.js +1 -1
  58. package/dist/index.cjs446.js.map +1 -1
  59. package/dist/index.cjs447.js +1 -1
  60. package/dist/index.cjs447.js.map +1 -1
  61. package/dist/index.cjs448.js +1 -1
  62. package/dist/index.cjs448.js.map +1 -1
  63. package/dist/index.cjs449.js +1 -1
  64. package/dist/index.cjs449.js.map +1 -1
  65. package/dist/index.cjs45.js +1 -1
  66. package/dist/index.cjs450.js +1 -1
  67. package/dist/index.cjs450.js.map +1 -1
  68. package/dist/index.cjs451.js +1 -1
  69. package/dist/index.cjs451.js.map +1 -1
  70. package/dist/index.cjs452.js +1 -1
  71. package/dist/index.cjs452.js.map +1 -1
  72. package/dist/index.cjs453.js +1 -1
  73. package/dist/index.cjs453.js.map +1 -1
  74. package/dist/index.cjs454.js +1 -1
  75. package/dist/index.cjs454.js.map +1 -1
  76. package/dist/index.cjs455.js +1 -1
  77. package/dist/index.cjs455.js.map +1 -1
  78. package/dist/index.cjs456.js +1 -1
  79. package/dist/index.cjs456.js.map +1 -1
  80. package/dist/index.cjs46.js +1 -1
  81. package/dist/index.cjs46.js.map +1 -1
  82. package/dist/index.cjs47.js +1 -1
  83. package/dist/index.cjs47.js.map +1 -1
  84. package/dist/index.cjs48.js +1 -1
  85. package/dist/index.cjs50.js +1 -1
  86. package/dist/index.cjs51.js +1 -1
  87. package/dist/index.cjs51.js.map +1 -1
  88. package/dist/index.cjs52.js +1 -1
  89. package/dist/index.cjs53.js +1 -1
  90. package/dist/index.cjs53.js.map +1 -1
  91. package/dist/index.cjs54.js +1 -1
  92. package/dist/index.cjs54.js.map +1 -1
  93. package/dist/index.cjs55.js +1 -1
  94. package/dist/index.cjs55.js.map +1 -1
  95. package/dist/index.cjs56.js +1 -1
  96. package/dist/index.cjs56.js.map +1 -1
  97. package/dist/index.cjs57.js +1 -1
  98. package/dist/index.cjs58.js +1 -1
  99. package/dist/index.cjs58.js.map +1 -1
  100. package/dist/index.cjs59.js +1 -1
  101. package/dist/index.cjs59.js.map +1 -1
  102. package/dist/index.cjs60.js +1 -1
  103. package/dist/index.cjs61.js +1 -1
  104. package/dist/index.cjs61.js.map +1 -1
  105. package/dist/index.cjs62.js +1 -1
  106. package/dist/index.cjs63.js +1 -1
  107. package/dist/index.cjs64.js +1 -1
  108. package/dist/index.cjs65.js +1 -1
  109. package/dist/index.cjs66.js +1 -1
  110. package/dist/index.cjs67.js +1 -1
  111. package/dist/index.cjs67.js.map +1 -1
  112. package/dist/index.cjs68.js +1 -1
  113. package/dist/index.cjs69.js +1 -1
  114. package/dist/index.cjs69.js.map +1 -1
  115. package/dist/index.cjs70.js +1 -1
  116. package/dist/index.cjs70.js.map +1 -1
  117. package/dist/index.cjs71.js +1 -1
  118. package/dist/index.cjs72.js +1 -1
  119. package/dist/index.cjs73.js +1 -1
  120. package/dist/index.cjs74.js +1 -1
  121. package/dist/index.cjs74.js.map +1 -1
  122. package/dist/index.cjs76.js +1 -1
  123. package/dist/index.cjs77.js +1 -1
  124. package/dist/index.cjs77.js.map +1 -1
  125. package/dist/index.cjs9.js +1 -1
  126. package/dist/index.esm10.js +2 -2
  127. package/dist/index.esm11.js +1 -1
  128. package/dist/index.esm12.js +3 -3
  129. package/dist/index.esm13.js +1 -1
  130. package/dist/index.esm14.js +1 -1
  131. package/dist/index.esm15.js +1 -1
  132. package/dist/index.esm16.js +1 -1
  133. package/dist/index.esm18.js +1 -1
  134. package/dist/index.esm19.js +1 -1
  135. package/dist/index.esm20.js +1 -1
  136. package/dist/index.esm21.js +2 -2
  137. package/dist/index.esm22.js +2 -2
  138. package/dist/index.esm23.js +1 -1
  139. package/dist/index.esm24.js +15 -14
  140. package/dist/index.esm24.js.map +1 -1
  141. package/dist/index.esm25.js +1 -1
  142. package/dist/index.esm26.js +2 -2
  143. package/dist/index.esm27.js +1 -1
  144. package/dist/index.esm28.js +1 -1
  145. package/dist/index.esm30.js +2 -2
  146. package/dist/index.esm31.js +1 -1
  147. package/dist/index.esm32.js +3 -3
  148. package/dist/index.esm389.js +1 -1
  149. package/dist/index.esm394.js +1 -1
  150. package/dist/index.esm395.js +1 -1
  151. package/dist/index.esm415.js +9 -5
  152. package/dist/index.esm415.js.map +1 -1
  153. package/dist/index.esm416.js +18 -5
  154. package/dist/index.esm416.js.map +1 -1
  155. package/dist/index.esm417.js +8 -2
  156. package/dist/index.esm417.js.map +1 -1
  157. package/dist/index.esm418.js +5 -6
  158. package/dist/index.esm418.js.map +1 -1
  159. package/dist/index.esm419.js +5 -15
  160. package/dist/index.esm419.js.map +1 -1
  161. package/dist/index.esm420.js +5 -17
  162. package/dist/index.esm420.js.map +1 -1
  163. package/dist/index.esm424.js +1 -1
  164. package/dist/index.esm425.js +2 -2
  165. package/dist/index.esm426.js +3 -3
  166. package/dist/index.esm427.js +3 -3
  167. package/dist/index.esm428.js +1 -1
  168. package/dist/index.esm429.js +2 -2
  169. package/dist/index.esm430.js +1 -1
  170. package/dist/index.esm432.js +1 -1
  171. package/dist/index.esm434.js +7 -7
  172. package/dist/index.esm437.js +1 -1
  173. package/dist/index.esm442.js +5 -18
  174. package/dist/index.esm442.js.map +1 -1
  175. package/dist/index.esm443.js +9 -16
  176. package/dist/index.esm443.js.map +1 -1
  177. package/dist/index.esm444.js +6 -11
  178. package/dist/index.esm444.js.map +1 -1
  179. package/dist/index.esm445.js +3 -4
  180. package/dist/index.esm445.js.map +1 -1
  181. package/dist/index.esm446.js +84 -3
  182. package/dist/index.esm446.js.map +1 -1
  183. package/dist/index.esm447.js +34 -27
  184. package/dist/index.esm447.js.map +1 -1
  185. package/dist/index.esm448.js +27 -30
  186. package/dist/index.esm448.js.map +1 -1
  187. package/dist/index.esm449.js +13 -20
  188. package/dist/index.esm449.js.map +1 -1
  189. package/dist/index.esm45.js +16 -39
  190. package/dist/index.esm45.js.map +1 -1
  191. package/dist/index.esm450.js +16 -3
  192. package/dist/index.esm450.js.map +1 -1
  193. package/dist/index.esm451.js +11 -5
  194. package/dist/index.esm451.js.map +1 -1
  195. package/dist/index.esm452.js +4 -9
  196. package/dist/index.esm452.js.map +1 -1
  197. package/dist/index.esm453.js +3 -6
  198. package/dist/index.esm453.js.map +1 -1
  199. package/dist/index.esm454.js +33 -3
  200. package/dist/index.esm454.js.map +1 -1
  201. package/dist/index.esm455.js +26 -85
  202. package/dist/index.esm455.js.map +1 -1
  203. package/dist/index.esm456.js +3 -37
  204. package/dist/index.esm456.js.map +1 -1
  205. package/dist/index.esm46.js +16 -17
  206. package/dist/index.esm46.js.map +1 -1
  207. package/dist/index.esm47.js +7 -16
  208. package/dist/index.esm47.js.map +1 -1
  209. package/dist/index.esm48.js +39 -40
  210. package/dist/index.esm48.js.map +1 -1
  211. package/dist/index.esm50.js +8 -32
  212. package/dist/index.esm50.js.map +1 -1
  213. package/dist/index.esm51.js +28 -9
  214. package/dist/index.esm51.js.map +1 -1
  215. package/dist/index.esm52.js +58 -6
  216. package/dist/index.esm52.js.map +1 -1
  217. package/dist/index.esm53.js +41 -9
  218. package/dist/index.esm53.js.map +1 -1
  219. package/dist/index.esm54.js +11 -7
  220. package/dist/index.esm54.js.map +1 -1
  221. package/dist/index.esm55.js +30 -9
  222. package/dist/index.esm55.js.map +1 -1
  223. package/dist/index.esm56.js +37 -28
  224. package/dist/index.esm56.js.map +1 -1
  225. package/dist/index.esm57.js +64 -10
  226. package/dist/index.esm57.js.map +1 -1
  227. package/dist/index.esm58.js +9 -30
  228. package/dist/index.esm58.js.map +1 -1
  229. package/dist/index.esm59.js +88 -9
  230. package/dist/index.esm59.js.map +1 -1
  231. package/dist/index.esm60.js +34 -19
  232. package/dist/index.esm60.js.map +1 -1
  233. package/dist/index.esm61.js +127 -47
  234. package/dist/index.esm61.js.map +1 -1
  235. package/dist/index.esm62.js +28 -10
  236. package/dist/index.esm62.js.map +1 -1
  237. package/dist/index.esm63.js +42 -5
  238. package/dist/index.esm63.js.map +1 -1
  239. package/dist/index.esm64.js +7 -3
  240. package/dist/index.esm64.js.map +1 -1
  241. package/dist/index.esm65.js +47 -65
  242. package/dist/index.esm65.js.map +1 -1
  243. package/dist/index.esm66.js +10 -36
  244. package/dist/index.esm66.js.map +1 -1
  245. package/dist/index.esm67.js +5 -88
  246. package/dist/index.esm67.js.map +1 -1
  247. package/dist/index.esm68.js +6 -34
  248. package/dist/index.esm68.js.map +1 -1
  249. package/dist/index.esm69.js +8 -126
  250. package/dist/index.esm69.js.map +1 -1
  251. package/dist/index.esm70.js +7 -59
  252. package/dist/index.esm70.js.map +1 -1
  253. package/dist/index.esm71.js +27 -40
  254. package/dist/index.esm71.js.map +1 -1
  255. package/dist/index.esm72.js +32 -6
  256. package/dist/index.esm72.js.map +1 -1
  257. package/dist/index.esm73.js +5 -15
  258. package/dist/index.esm73.js.map +1 -1
  259. package/dist/index.esm74.js +20 -109
  260. package/dist/index.esm74.js.map +1 -1
  261. package/dist/index.esm76.js +15 -28
  262. package/dist/index.esm76.js.map +1 -1
  263. package/dist/index.esm77.js +109 -30
  264. package/dist/index.esm77.js.map +1 -1
  265. package/dist/index.esm9.js +1 -1
  266. package/package.json +1 -1
@@ -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/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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AAG;AACxD,MAAI0C,IAAkB7C,EAAa,GAAGU,IAAa,GAAGP,CAAG;AACzD,SAAO0C,MAAoBD;AACzB,IAAAC,IAAkB7C,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,24 +1,39 @@
1
1
  "use client";
2
- const c = "_callout_1vzc5_1", o = "_callout--tone-info_1vzc5_16", n = "_callout--tone-warning_1vzc5_23", t = "_callout--tone-success_1vzc5_30", l = "_icon_1vzc5_37", _ = "_iconSvg_1vzc5_49", e = "_text_1vzc5_55", a = {
3
- callout: c,
4
- "callout--tone-info": "_callout--tone-info_1vzc5_16",
5
- calloutToneInfo: o,
6
- "callout--tone-warning": "_callout--tone-warning_1vzc5_23",
7
- calloutToneWarning: n,
8
- "callout--tone-success": "_callout--tone-success_1vzc5_30",
9
- calloutToneSuccess: t,
10
- icon: l,
11
- iconSvg: _,
12
- text: e
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
13
23
  };
14
24
  export {
15
- c as callout,
16
- o as calloutToneInfo,
17
- t as calloutToneSuccess,
18
- n as calloutToneWarning,
19
- a as default,
20
- l as icon,
21
- _ as iconSvg,
22
- e as text
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
23
38
  };
24
39
  //# sourceMappingURL=index.esm60.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm60.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm60.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,51 +1,131 @@
1
1
  "use client";
2
- import { codeToHtml as n, createHighlighter as a } from "./index.esm83.js";
3
- import { createOnigurumaEngine as o, loadWasm as i } from "./index.esm84.js";
4
- import { addClassToHast as s, applyColorReplacements as g, createBundledHighlighter as m, createHighlighterCore as d, createPositionConverter as h, createShikiInternal as c, createShikiInternalSync as p, createSingletonShorthands as u, flatTokenVariants as T, getTokenStyleObject as k, guessEmbeddedLanguages as f, hastToHtml as S, isNoneTheme as b, isPlainLang as H, isSpecialLang as L, isSpecialTheme as x, makeSingletonHighlighter as y, normalizeGetter as C, normalizeTheme as z, resolveColorReplacements as I, splitLines as A, splitToken as E, splitTokens as W, stringifyTokenStyle as v, toArray as B, tokenizeAnsiWithTheme as D, tokenizeWithTheme as O, tokensToHast as P, transformerDecorations as R, warnDeprecated as j } from "./index.esm85.js";
5
- import { bundledLanguages as G, bundledLanguagesAlias as N, bundledLanguagesBase as V, bundledLanguagesInfo as q } from "./index.esm86.js";
6
- import { bundledThemes as J, bundledThemesInfo as K } from "./index.esm87.js";
7
- import { ShikiError as Q } from "./index.esm88.js";
2
+ import { j as s } from "./index.esm38.js";
3
+ import T from "./index.esm44.js";
4
+ import { TRIANGLE_TEMPLATES as y } from "./index.esm59.js";
5
+ import e from "./index.esm390.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";
8
128
  export {
9
- Q as ShikiError,
10
- s as addClassToHast,
11
- g as applyColorReplacements,
12
- G as bundledLanguages,
13
- N as bundledLanguagesAlias,
14
- V as bundledLanguagesBase,
15
- q as bundledLanguagesInfo,
16
- J as bundledThemes,
17
- K as bundledThemesInfo,
18
- n as codeToHtml,
19
- m as createBundledHighlighter,
20
- a as createHighlighter,
21
- d as createHighlighterCore,
22
- o as createOnigurumaEngine,
23
- h as createPositionConverter,
24
- c as createShikiInternal,
25
- p as createShikiInternalSync,
26
- u as createSingletonShorthands,
27
- T as flatTokenVariants,
28
- k as getTokenStyleObject,
29
- f as guessEmbeddedLanguages,
30
- S as hastToHtml,
31
- b as isNoneTheme,
32
- H as isPlainLang,
33
- L as isSpecialLang,
34
- x as isSpecialTheme,
35
- i as loadWasm,
36
- y as makeSingletonHighlighter,
37
- C as normalizeGetter,
38
- z as normalizeTheme,
39
- I as resolveColorReplacements,
40
- A as splitLines,
41
- E as splitToken,
42
- W as splitTokens,
43
- v as stringifyTokenStyle,
44
- B as toArray,
45
- D as tokenizeAnsiWithTheme,
46
- O as tokenizeWithTheme,
47
- P as tokensToHast,
48
- R as transformerDecorations,
49
- j as warnDeprecated
129
+ I as PatternCell
50
130
  };
51
131
  //# sourceMappingURL=index.esm61.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm61.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index.esm61.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,IACJV,MAAoB,IAAIN,KAAQO,IAAc,IAAI,KAAKP,GACnDiB,IAAiBT,KAAc,MAAMD,CAAW,EAAE,KAAK,EAAI,GAE3DW,IAAiC;AAAA,IACrC,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAKjB;AAAA,IACL,OAAOC;AAAA,IACP,QAAQC;AAAA,IACR,gBAAg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AAEJ;AAEA9B,EAAY,cAAc;"}
@@ -1,15 +1,33 @@
1
1
  "use client";
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
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
7
19
  };
8
20
  export {
9
- r as code,
10
- _ as default,
11
- t as error,
12
- o as filename,
13
- e as root
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
14
32
  };
15
33
  //# sourceMappingURL=index.esm62.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm62.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index.esm62.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
@@ -1,10 +1,47 @@
1
1
  "use client";
2
- const c = "_icon_1se7w_1", o = {
3
- icon: c,
4
- "icon--custom": "_icon--custom_1se7w_9"
2
+ 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", l = "_segment--secondary_1lfx3_54", r = "_segment--success_1lfx3_58", c = "_segment--warning_1lfx3_62", a = "_segment--active_1lfx3_66", f = "_segment--sequential_1lfx3_66", x = "_segment-reveal_1lfx3_1", i = "_valueLabel_1lfx3_89", u = {
3
+ root: e,
4
+ "root--sm": "_root--sm_1lfx3_8",
5
+ rootSm: t,
6
+ "root--md": "_root--md_1lfx3_14",
7
+ rootMd: s,
8
+ "root--lg": "_root--lg_1lfx3_20",
9
+ rootLg: n,
10
+ track: _,
11
+ segments: o,
12
+ segment: m,
13
+ "segment--primary": "_segment--primary_1lfx3_50",
14
+ segmentPrimary: g,
15
+ "segment--secondary": "_segment--secondary_1lfx3_54",
16
+ segmentSecondary: l,
17
+ "segment--success": "_segment--success_1lfx3_58",
18
+ segmentSuccess: r,
19
+ "segment--warning": "_segment--warning_1lfx3_62",
20
+ segmentWarning: c,
21
+ "segment--active": "_segment--active_1lfx3_66",
22
+ segmentActive: a,
23
+ "segment--sequential": "_segment--sequential_1lfx3_66",
24
+ segmentSequential: f,
25
+ "segment-reveal": "_segment-reveal_1lfx3_1",
26
+ segmentReveal: x,
27
+ valueLabel: i
5
28
  };
6
29
  export {
7
- o as default,
8
- c as icon
30
+ u as default,
31
+ e as root,
32
+ n as rootLg,
33
+ s as rootMd,
34
+ t as rootSm,
35
+ m as segment,
36
+ a as segmentActive,
37
+ g as segmentPrimary,
38
+ x as segmentReveal,
39
+ l as segmentSecondary,
40
+ f as segmentSequential,
41
+ r as segmentSuccess,
42
+ c as segmentWarning,
43
+ o as segments,
44
+ _ as track,
45
+ i as valueLabel
9
46
  };
10
47
  //# sourceMappingURL=index.esm63.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm63.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.esm63.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,13 @@
1
1
  "use client";
2
- const s = "_grid_16nbv_1", t = {
3
- grid: s
2
+ const e = "_labelMenuItem_fjxw4_1", l = "_icon_fjxw4_32", n = "_label_fjxw4_1", t = {
3
+ labelMenuItem: e,
4
+ icon: l,
5
+ label: n
4
6
  };
5
7
  export {
6
8
  t as default,
7
- s as grid
9
+ l as icon,
10
+ n as label,
11
+ e as labelMenuItem
8
12
  };
9
13
  //# sourceMappingURL=index.esm64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index.esm64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,69 +1,51 @@
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
44
- };
2
+ import { codeToHtml as n, createHighlighter as a } from "./index.esm83.js";
3
+ import { createOnigurumaEngine as o, loadWasm as i } from "./index.esm84.js";
4
+ import { addClassToHast as s, applyColorReplacements as g, createBundledHighlighter as m, createHighlighterCore as d, createPositionConverter as h, createShikiInternal as c, createShikiInternalSync as p, createSingletonShorthands as u, flatTokenVariants as T, getTokenStyleObject as k, guessEmbeddedLanguages as f, hastToHtml as S, isNoneTheme as b, isPlainLang as H, isSpecialLang as L, isSpecialTheme as x, makeSingletonHighlighter as y, normalizeGetter as C, normalizeTheme as z, resolveColorReplacements as I, splitLines as A, splitToken as E, splitTokens as W, stringifyTokenStyle as v, toArray as B, tokenizeAnsiWithTheme as D, tokenizeWithTheme as O, tokensToHast as P, transformerDecorations as R, warnDeprecated as j } from "./index.esm85.js";
5
+ import { bundledLanguages as G, bundledLanguagesAlias as N, bundledLanguagesBase as V, bundledLanguagesInfo as q } from "./index.esm86.js";
6
+ import { bundledThemes as J, bundledThemesInfo as K } from "./index.esm87.js";
7
+ import { ShikiError as Q } from "./index.esm88.js";
45
8
  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
9
+ Q as ShikiError,
10
+ s as addClassToHast,
11
+ g as applyColorReplacements,
12
+ G as bundledLanguages,
13
+ N as bundledLanguagesAlias,
14
+ V as bundledLanguagesBase,
15
+ q as bundledLanguagesInfo,
16
+ J as bundledThemes,
17
+ K as bundledThemesInfo,
18
+ n as codeToHtml,
19
+ m as createBundledHighlighter,
20
+ a as createHighlighter,
21
+ d as createHighlighterCore,
22
+ o as createOnigurumaEngine,
23
+ h as createPositionConverter,
24
+ c as createShikiInternal,
25
+ p as createShikiInternalSync,
26
+ u as createSingletonShorthands,
27
+ T as flatTokenVariants,
28
+ k as getTokenStyleObject,
29
+ f as guessEmbeddedLanguages,
30
+ S as hastToHtml,
31
+ b as isNoneTheme,
32
+ H as isPlainLang,
33
+ L as isSpecialLang,
34
+ x as isSpecialTheme,
35
+ i as loadWasm,
36
+ y as makeSingletonHighlighter,
37
+ C as normalizeGetter,
38
+ z as normalizeTheme,
39
+ I as resolveColorReplacements,
40
+ A as splitLines,
41
+ E as splitToken,
42
+ W as splitTokens,
43
+ v as stringifyTokenStyle,
44
+ B as toArray,
45
+ D as tokenizeAnsiWithTheme,
46
+ O as tokenizeWithTheme,
47
+ P as tokensToHast,
48
+ R as transformerDecorations,
49
+ j as warnDeprecated
68
50
  };
69
51
  //# sourceMappingURL=index.esm65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,41 +1,15 @@
1
1
  "use client";
2
- const e = "_badge_l5nvw_1", a = "_badgeContent_l5nvw_13", d = "_badge--dot_l5nvw_35", g = "_badge--sm_l5nvw_28", _ = "_badge--md_l5nvw_42", n = "_badge--lg_l5nvw_56", b = "_badge--primary_l5nvw_71", r = "_badge--secondary_l5nvw_76", s = "_badge--success_l5nvw_81", l = "_badge--warning_l5nvw_86", t = "_badge--error_l5nvw_91", o = "_badge--neutral_l5nvw_96", c = {
3
- badge: e,
4
- badgeContent: a,
5
- badgeDot: d,
6
- "badge--sm": "_badge--sm_l5nvw_28",
7
- badgeSm: g,
8
- "badge--dot": "_badge--dot_l5nvw_35",
9
- "badge--md": "_badge--md_l5nvw_42",
10
- badgeMd: _,
11
- "badge--lg": "_badge--lg_l5nvw_56",
12
- badgeLg: n,
13
- "badge--primary": "_badge--primary_l5nvw_71",
14
- badgePrimary: b,
15
- "badge--secondary": "_badge--secondary_l5nvw_76",
16
- badgeSecondary: r,
17
- "badge--success": "_badge--success_l5nvw_81",
18
- badgeSuccess: s,
19
- "badge--warning": "_badge--warning_l5nvw_86",
20
- badgeWarning: l,
21
- "badge--error": "_badge--error_l5nvw_91",
22
- badgeError: t,
23
- "badge--neutral": "_badge--neutral_l5nvw_96",
24
- badgeNeutral: o
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
25
7
  };
26
8
  export {
27
- e as badge,
28
- a as badgeContent,
29
- d as badgeDot,
30
- t as badgeError,
31
- n as badgeLg,
32
- _ as badgeMd,
33
- o as badgeNeutral,
34
- b as badgePrimary,
35
- r as badgeSecondary,
36
- g as badgeSm,
37
- s as badgeSuccess,
38
- l as badgeWarning,
39
- c as default
9
+ r as code,
10
+ _ as default,
11
+ t as error,
12
+ o as filename,
13
+ e as root
40
14
  };
41
15
  //# sourceMappingURL=index.esm66.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm66.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm66.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}