@ktnpm_devops/react-component 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. package/dist/index.cjs +24 -22
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.ts +4 -2
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +24 -22
  6. package/dist/index.js.map +1 -1
  7. package/dist/index10.cjs +2 -2
  8. package/dist/index10.js +2 -2
  9. package/dist/index100.cjs +39 -21
  10. package/dist/index100.cjs.map +1 -1
  11. package/dist/index100.js +40 -22
  12. package/dist/index100.js.map +1 -1
  13. package/dist/index101.cjs +14 -50
  14. package/dist/index101.cjs.map +1 -1
  15. package/dist/index101.js +14 -50
  16. package/dist/index101.js.map +1 -1
  17. package/dist/index102.cjs +55 -134
  18. package/dist/index102.cjs.map +1 -1
  19. package/dist/index102.js +54 -133
  20. package/dist/index102.js.map +1 -1
  21. package/dist/index103.cjs +13 -40
  22. package/dist/index103.cjs.map +1 -1
  23. package/dist/index103.js +14 -41
  24. package/dist/index103.js.map +1 -1
  25. package/dist/index104.cjs +9 -35
  26. package/dist/index104.cjs.map +1 -1
  27. package/dist/index104.js +8 -34
  28. package/dist/index104.js.map +1 -1
  29. package/dist/index105.cjs +15 -43
  30. package/dist/index105.cjs.map +1 -1
  31. package/dist/index105.js +14 -42
  32. package/dist/index105.js.map +1 -1
  33. package/dist/index106.cjs +33 -24
  34. package/dist/index106.cjs.map +1 -1
  35. package/dist/index106.js +32 -23
  36. package/dist/index106.js.map +1 -1
  37. package/dist/index107.cjs +58 -20
  38. package/dist/index107.cjs.map +1 -1
  39. package/dist/index107.js +57 -19
  40. package/dist/index107.js.map +1 -1
  41. package/dist/index108.cjs +34 -14
  42. package/dist/index108.cjs.map +1 -1
  43. package/dist/index108.js +33 -13
  44. package/dist/index108.js.map +1 -1
  45. package/dist/index109.cjs +19 -55
  46. package/dist/index109.cjs.map +1 -1
  47. package/dist/index109.js +20 -56
  48. package/dist/index109.js.map +1 -1
  49. package/dist/index11.cjs +2 -2
  50. package/dist/index11.js +2 -2
  51. package/dist/index110.cjs +16 -28
  52. package/dist/index110.cjs.map +1 -1
  53. package/dist/index110.js +16 -28
  54. package/dist/index110.js.map +1 -1
  55. package/dist/index111.cjs +10 -10
  56. package/dist/index111.js +11 -11
  57. package/dist/index112.cjs +16 -19
  58. package/dist/index112.cjs.map +1 -1
  59. package/dist/index112.js +17 -20
  60. package/dist/index112.js.map +1 -1
  61. package/dist/index113.cjs +34 -13
  62. package/dist/index113.cjs.map +1 -1
  63. package/dist/index113.js +35 -14
  64. package/dist/index113.js.map +1 -1
  65. package/dist/index114.cjs +118 -0
  66. package/dist/index114.cjs.map +1 -0
  67. package/dist/index114.js +118 -0
  68. package/dist/index114.js.map +1 -0
  69. package/dist/index115.cjs +45 -0
  70. package/dist/index115.cjs.map +1 -0
  71. package/dist/index115.js +45 -0
  72. package/dist/index115.js.map +1 -0
  73. package/dist/index116.cjs +33 -0
  74. package/dist/index116.cjs.map +1 -0
  75. package/dist/index116.js +33 -0
  76. package/dist/index116.js.map +1 -0
  77. package/dist/index117.cjs +1166 -0
  78. package/dist/index117.cjs.map +1 -0
  79. package/dist/index117.js +1167 -0
  80. package/dist/index117.js.map +1 -0
  81. package/dist/index118.cjs +1578 -0
  82. package/dist/index118.cjs.map +1 -0
  83. package/dist/index118.js +1579 -0
  84. package/dist/index118.js.map +1 -0
  85. package/dist/index12.cjs +2 -2
  86. package/dist/index12.js +2 -2
  87. package/dist/index13.cjs +2 -2
  88. package/dist/index13.js +2 -2
  89. package/dist/index14.cjs +2 -2
  90. package/dist/index14.js +2 -2
  91. package/dist/index15.cjs +2 -2
  92. package/dist/index15.js +2 -2
  93. package/dist/index16.cjs +3 -3
  94. package/dist/index16.js +3 -3
  95. package/dist/index17.cjs +2 -2
  96. package/dist/index17.js +2 -2
  97. package/dist/index18.cjs +2 -2
  98. package/dist/index18.js +2 -2
  99. package/dist/index19.cjs +2 -2
  100. package/dist/index19.js +2 -2
  101. package/dist/index20.cjs +2 -2
  102. package/dist/index20.js +2 -2
  103. package/dist/index21.cjs +2 -2
  104. package/dist/index21.js +2 -2
  105. package/dist/index22.cjs +3 -3
  106. package/dist/index22.js +3 -3
  107. package/dist/index23.cjs +3 -3
  108. package/dist/index23.js +3 -3
  109. package/dist/index24.cjs +3 -3
  110. package/dist/index24.js +3 -3
  111. package/dist/index25.cjs +2 -2
  112. package/dist/index25.js +2 -2
  113. package/dist/index26.cjs +2 -2
  114. package/dist/index26.js +2 -2
  115. package/dist/index27.cjs +2 -2
  116. package/dist/index27.js +2 -2
  117. package/dist/index28.cjs +2 -2
  118. package/dist/index28.js +2 -2
  119. package/dist/index29.cjs +3 -3
  120. package/dist/index29.js +3 -3
  121. package/dist/index30.cjs +8 -8
  122. package/dist/index30.js +8 -8
  123. package/dist/index31.cjs +2 -2
  124. package/dist/index31.js +2 -2
  125. package/dist/index32.cjs +2 -2
  126. package/dist/index32.js +2 -2
  127. package/dist/index33.cjs +3 -3
  128. package/dist/index33.js +3 -3
  129. package/dist/index34.cjs +4 -4
  130. package/dist/index34.js +4 -4
  131. package/dist/index35.cjs +20 -38
  132. package/dist/index35.cjs.map +1 -1
  133. package/dist/index35.js +21 -39
  134. package/dist/index35.js.map +1 -1
  135. package/dist/index36.cjs +36 -224
  136. package/dist/index36.cjs.map +1 -1
  137. package/dist/index36.js +37 -225
  138. package/dist/index36.js.map +1 -1
  139. package/dist/index37.cjs +220 -28
  140. package/dist/index37.cjs.map +1 -1
  141. package/dist/index37.js +222 -30
  142. package/dist/index37.js.map +1 -1
  143. package/dist/index38.cjs +30 -106
  144. package/dist/index38.cjs.map +1 -1
  145. package/dist/index38.js +31 -107
  146. package/dist/index38.js.map +1 -1
  147. package/dist/index39.cjs +100 -58
  148. package/dist/index39.cjs.map +1 -1
  149. package/dist/index39.js +101 -59
  150. package/dist/index39.js.map +1 -1
  151. package/dist/index40.cjs +66 -76
  152. package/dist/index40.cjs.map +1 -1
  153. package/dist/index40.js +67 -77
  154. package/dist/index40.js.map +1 -1
  155. package/dist/index41.cjs +76 -57
  156. package/dist/index41.cjs.map +1 -1
  157. package/dist/index41.js +78 -59
  158. package/dist/index41.js.map +1 -1
  159. package/dist/index42.cjs +56 -150
  160. package/dist/index42.cjs.map +1 -1
  161. package/dist/index42.js +58 -152
  162. package/dist/index42.js.map +1 -1
  163. package/dist/index43.cjs +128 -73
  164. package/dist/index43.cjs.map +1 -1
  165. package/dist/index43.js +123 -68
  166. package/dist/index43.js.map +1 -1
  167. package/dist/index44.cjs +94 -68
  168. package/dist/index44.cjs.map +1 -1
  169. package/dist/index44.js +96 -70
  170. package/dist/index44.js.map +1 -1
  171. package/dist/index45.cjs +71 -7
  172. package/dist/index45.cjs.map +1 -1
  173. package/dist/index45.js +72 -8
  174. package/dist/index45.js.map +1 -1
  175. package/dist/index46.cjs +8 -17
  176. package/dist/index46.cjs.map +1 -1
  177. package/dist/index46.js +9 -18
  178. package/dist/index46.js.map +1 -1
  179. package/dist/index47.cjs +15 -75
  180. package/dist/index47.cjs.map +1 -1
  181. package/dist/index47.js +16 -76
  182. package/dist/index47.js.map +1 -1
  183. package/dist/index48.cjs +68 -134
  184. package/dist/index48.cjs.map +1 -1
  185. package/dist/index48.js +70 -136
  186. package/dist/index48.js.map +1 -1
  187. package/dist/index49.cjs +137 -58
  188. package/dist/index49.cjs.map +1 -1
  189. package/dist/index49.js +138 -59
  190. package/dist/index49.js.map +1 -1
  191. package/dist/index50.cjs +61 -102
  192. package/dist/index50.cjs.map +1 -1
  193. package/dist/index50.js +62 -103
  194. package/dist/index50.js.map +1 -1
  195. package/dist/index51.cjs +102 -44
  196. package/dist/index51.cjs.map +1 -1
  197. package/dist/index51.js +103 -45
  198. package/dist/index51.js.map +1 -1
  199. package/dist/index52.cjs +47 -6
  200. package/dist/index52.cjs.map +1 -1
  201. package/dist/index52.js +48 -7
  202. package/dist/index52.js.map +1 -1
  203. package/dist/index53.cjs +6 -147
  204. package/dist/index53.cjs.map +1 -1
  205. package/dist/index53.js +7 -148
  206. package/dist/index53.js.map +1 -1
  207. package/dist/index54.cjs +146 -7
  208. package/dist/index54.cjs.map +1 -1
  209. package/dist/index54.js +148 -9
  210. package/dist/index54.js.map +1 -1
  211. package/dist/index55.cjs +6 -15
  212. package/dist/index55.cjs.map +1 -1
  213. package/dist/index55.js +6 -15
  214. package/dist/index55.js.map +1 -1
  215. package/dist/index56.cjs +15 -64
  216. package/dist/index56.cjs.map +1 -1
  217. package/dist/index56.js +17 -66
  218. package/dist/index56.js.map +1 -1
  219. package/dist/index57.cjs +67 -15
  220. package/dist/index57.cjs.map +1 -1
  221. package/dist/index57.js +66 -14
  222. package/dist/index57.js.map +1 -1
  223. package/dist/index58.cjs +15 -18
  224. package/dist/index58.cjs.map +1 -1
  225. package/dist/index58.js +15 -18
  226. package/dist/index58.js.map +1 -1
  227. package/dist/index59.cjs +19 -116
  228. package/dist/index59.cjs.map +1 -1
  229. package/dist/index59.js +17 -114
  230. package/dist/index59.js.map +1 -1
  231. package/dist/index60.cjs +16 -10
  232. package/dist/index60.cjs.map +1 -1
  233. package/dist/index60.js +17 -11
  234. package/dist/index60.js.map +1 -1
  235. package/dist/index61.cjs +22 -10
  236. package/dist/index61.cjs.map +1 -1
  237. package/dist/index61.js +23 -11
  238. package/dist/index61.js.map +1 -1
  239. package/dist/index62.cjs +22 -13
  240. package/dist/index62.cjs.map +1 -1
  241. package/dist/index62.js +22 -13
  242. package/dist/index62.js.map +1 -1
  243. package/dist/index63.cjs +2 -23
  244. package/dist/index63.cjs.map +1 -1
  245. package/dist/index63.js +3 -24
  246. package/dist/index63.js.map +1 -1
  247. package/dist/index64.cjs +2 -35
  248. package/dist/index64.cjs.map +1 -1
  249. package/dist/index64.js +3 -36
  250. package/dist/index64.js.map +1 -1
  251. package/dist/index65.cjs +17 -2
  252. package/dist/index65.cjs.map +1 -1
  253. package/dist/index65.js +18 -3
  254. package/dist/index65.js.map +1 -1
  255. package/dist/index66.cjs +1 -1
  256. package/dist/index66.js +1 -1
  257. package/dist/index67.cjs +11 -5
  258. package/dist/index67.cjs.map +1 -1
  259. package/dist/index67.js +12 -6
  260. package/dist/index67.js.map +1 -1
  261. package/dist/index68.cjs +2 -20
  262. package/dist/index68.cjs.map +1 -1
  263. package/dist/index68.js +3 -21
  264. package/dist/index68.js.map +1 -1
  265. package/dist/index69.cjs +17 -24
  266. package/dist/index69.cjs.map +1 -1
  267. package/dist/index69.js +16 -23
  268. package/dist/index69.js.map +1 -1
  269. package/dist/index70.cjs +2 -17
  270. package/dist/index70.cjs.map +1 -1
  271. package/dist/index70.js +3 -18
  272. package/dist/index70.js.map +1 -1
  273. package/dist/index71.cjs +116 -19
  274. package/dist/index71.cjs.map +1 -1
  275. package/dist/index71.js +114 -17
  276. package/dist/index71.js.map +1 -1
  277. package/dist/index72.cjs +29 -2
  278. package/dist/index72.cjs.map +1 -1
  279. package/dist/index72.js +30 -3
  280. package/dist/index72.js.map +1 -1
  281. package/dist/index73.cjs +18 -30
  282. package/dist/index73.cjs.map +1 -1
  283. package/dist/index73.js +18 -30
  284. package/dist/index73.js.map +1 -1
  285. package/dist/index74.cjs +21 -36
  286. package/dist/index74.cjs.map +1 -1
  287. package/dist/index74.js +21 -36
  288. package/dist/index74.js.map +1 -1
  289. package/dist/index75.cjs +5 -35
  290. package/dist/index75.cjs.map +1 -1
  291. package/dist/index75.js +6 -36
  292. package/dist/index75.js.map +1 -1
  293. package/dist/index76.cjs +2 -23
  294. package/dist/index76.cjs.map +1 -1
  295. package/dist/index76.js +3 -24
  296. package/dist/index76.js.map +1 -1
  297. package/dist/index77.cjs +65 -2
  298. package/dist/index77.cjs.map +1 -1
  299. package/dist/index77.js +66 -3
  300. package/dist/index77.js.map +1 -1
  301. package/dist/index78.cjs +19 -16
  302. package/dist/index78.cjs.map +1 -1
  303. package/dist/index78.js +20 -17
  304. package/dist/index78.js.map +1 -1
  305. package/dist/index79.cjs +13 -10
  306. package/dist/index79.cjs.map +1 -1
  307. package/dist/index79.js +14 -11
  308. package/dist/index79.js.map +1 -1
  309. package/dist/index80.cjs +19 -64
  310. package/dist/index80.cjs.map +1 -1
  311. package/dist/index80.js +20 -65
  312. package/dist/index80.js.map +1 -1
  313. package/dist/index81.cjs +35 -21
  314. package/dist/index81.cjs.map +1 -1
  315. package/dist/index81.js +34 -20
  316. package/dist/index81.js.map +1 -1
  317. package/dist/index82.cjs +43 -51
  318. package/dist/index82.cjs.map +1 -1
  319. package/dist/index82.js +42 -50
  320. package/dist/index82.js.map +1 -1
  321. package/dist/index83.cjs +24 -57
  322. package/dist/index83.cjs.map +1 -1
  323. package/dist/index83.js +23 -56
  324. package/dist/index83.js.map +1 -1
  325. package/dist/index84.cjs +20 -25
  326. package/dist/index84.cjs.map +1 -1
  327. package/dist/index84.js +19 -24
  328. package/dist/index84.js.map +1 -1
  329. package/dist/index85.cjs +14 -25
  330. package/dist/index85.cjs.map +1 -1
  331. package/dist/index85.js +13 -24
  332. package/dist/index85.js.map +1 -1
  333. package/dist/index86.cjs +51 -75
  334. package/dist/index86.cjs.map +1 -1
  335. package/dist/index86.js +51 -75
  336. package/dist/index86.js.map +1 -1
  337. package/dist/index87.cjs +47 -2
  338. package/dist/index87.cjs.map +1 -1
  339. package/dist/index87.js +48 -3
  340. package/dist/index87.js.map +1 -1
  341. package/dist/index88.cjs +34 -16
  342. package/dist/index88.cjs.map +1 -1
  343. package/dist/index88.js +34 -16
  344. package/dist/index88.js.map +1 -1
  345. package/dist/index89.cjs +69 -18
  346. package/dist/index89.cjs.map +1 -1
  347. package/dist/index89.js +70 -19
  348. package/dist/index89.js.map +1 -1
  349. package/dist/index90.cjs +39 -21
  350. package/dist/index90.cjs.map +1 -1
  351. package/dist/index90.js +38 -20
  352. package/dist/index90.js.map +1 -1
  353. package/dist/index91.cjs +83 -106
  354. package/dist/index91.cjs.map +1 -1
  355. package/dist/index91.js +83 -106
  356. package/dist/index91.js.map +1 -1
  357. package/dist/index92.cjs +19 -22
  358. package/dist/index92.cjs.map +1 -1
  359. package/dist/index92.js +20 -23
  360. package/dist/index92.js.map +1 -1
  361. package/dist/index93.cjs +13 -37
  362. package/dist/index93.cjs.map +1 -1
  363. package/dist/index93.js +14 -38
  364. package/dist/index93.js.map +1 -1
  365. package/dist/index94.cjs +36 -6
  366. package/dist/index94.cjs.map +1 -1
  367. package/dist/index94.js +36 -6
  368. package/dist/index94.js.map +1 -1
  369. package/dist/index95.cjs +15 -18
  370. package/dist/index95.cjs.map +1 -1
  371. package/dist/index95.js +15 -18
  372. package/dist/index95.js.map +1 -1
  373. package/dist/index96.cjs +35 -47
  374. package/dist/index96.cjs.map +1 -1
  375. package/dist/index96.js +35 -47
  376. package/dist/index96.js.map +1 -1
  377. package/dist/index97.cjs +16 -25
  378. package/dist/index97.cjs.map +1 -1
  379. package/dist/index97.js +16 -25
  380. package/dist/index97.js.map +1 -1
  381. package/dist/index98.cjs +129 -35
  382. package/dist/index98.cjs.map +1 -1
  383. package/dist/index98.js +129 -35
  384. package/dist/index98.js.map +1 -1
  385. package/dist/index99.cjs +45 -92
  386. package/dist/index99.cjs.map +1 -1
  387. package/dist/index99.js +44 -91
  388. package/dist/index99.js.map +1 -1
  389. package/dist/primitives/MarkdownContent/MarkdownContent.d.ts +4 -0
  390. package/dist/primitives/MarkdownContent/MarkdownContent.d.ts.map +1 -0
  391. package/dist/primitives/MarkdownContent/MarkdownContent.types.d.ts +5 -0
  392. package/dist/primitives/MarkdownContent/MarkdownContent.types.d.ts.map +1 -0
  393. package/dist/primitives/MarkdownContent/index.d.ts +3 -0
  394. package/dist/primitives/MarkdownContent/index.d.ts.map +1 -0
  395. package/dist/style.css +108 -0
  396. package/dist/utils/markdown.d.ts +3 -0
  397. package/dist/utils/markdown.d.ts.map +1 -0
  398. package/dist/utils/markdown.test.d.ts +2 -0
  399. package/dist/utils/markdown.test.d.ts.map +1 -0
  400. package/package.json +23 -4
package/dist/index64.cjs CHANGED
@@ -1,42 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-7cxYt";
4
- const chip = "krc-chip-tgAQw";
5
- const active = "krc-active-hboGd";
6
- const summary = "krc-summary-E-FXy";
7
- const popover = "krc-popover-IJFWK";
8
- const popoverHeader = "krc-popoverHeader-mdeD8";
9
- const fields = "krc-fields-h5R5w";
10
- const field = "krc-field-u9yvp";
11
- const error = "krc-error-jsFkv";
12
- const actions = "krc-actions-prbFX";
13
- const btnGhost = "krc-btnGhost-x8cbA";
14
- const btnPrimary = "krc-btnPrimary-T0w2q";
3
+ const root = "krc-root-jba0x";
15
4
  const styles = {
16
- root,
17
- chip,
18
- active,
19
- summary,
20
- popover,
21
- popoverHeader,
22
- fields,
23
- field,
24
- error,
25
- actions,
26
- btnGhost,
27
- btnPrimary
5
+ root
28
6
  };
29
- exports.actions = actions;
30
- exports.active = active;
31
- exports.btnGhost = btnGhost;
32
- exports.btnPrimary = btnPrimary;
33
- exports.chip = chip;
34
7
  exports.default = styles;
35
- exports.error = error;
36
- exports.field = field;
37
- exports.fields = fields;
38
- exports.popover = popover;
39
- exports.popoverHeader = popoverHeader;
40
8
  exports.root = root;
41
- exports.summary = summary;
42
9
  //# sourceMappingURL=index64.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index64.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index64.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index64.js CHANGED
@@ -1,42 +1,9 @@
1
- const root = "krc-root-7cxYt";
2
- const chip = "krc-chip-tgAQw";
3
- const active = "krc-active-hboGd";
4
- const summary = "krc-summary-E-FXy";
5
- const popover = "krc-popover-IJFWK";
6
- const popoverHeader = "krc-popoverHeader-mdeD8";
7
- const fields = "krc-fields-h5R5w";
8
- const field = "krc-field-u9yvp";
9
- const error = "krc-error-jsFkv";
10
- const actions = "krc-actions-prbFX";
11
- const btnGhost = "krc-btnGhost-x8cbA";
12
- const btnPrimary = "krc-btnPrimary-T0w2q";
1
+ const root = "krc-root-jba0x";
13
2
  const styles = {
14
- root,
15
- chip,
16
- active,
17
- summary,
18
- popover,
19
- popoverHeader,
20
- fields,
21
- field,
22
- error,
23
- actions,
24
- btnGhost,
25
- btnPrimary
3
+ root
26
4
  };
27
5
  export {
28
- actions,
29
- active,
30
- btnGhost,
31
- btnPrimary,
32
- chip,
33
6
  styles as default,
34
- error,
35
- field,
36
- fields,
37
- popover,
38
- popoverHeader,
39
- root,
40
- summary
7
+ root
41
8
  };
42
9
  //# sourceMappingURL=index64.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index64.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index65.cjs CHANGED
@@ -1,9 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-FVKOX";
3
+ const root = "krc-root-tsCGC";
4
+ const input = "krc-input--stjU";
5
+ const label = "krc-label-KD6pE";
6
+ const disabled = "krc-disabled-ugpPh";
7
+ const sm = "krc-sm-8drDq";
8
+ const md = "krc-md-IG7oy";
4
9
  const styles = {
5
- root
10
+ root,
11
+ input,
12
+ label,
13
+ disabled,
14
+ sm,
15
+ md
6
16
  };
7
17
  exports.default = styles;
18
+ exports.disabled = disabled;
19
+ exports.input = input;
20
+ exports.label = label;
21
+ exports.md = md;
8
22
  exports.root = root;
23
+ exports.sm = sm;
9
24
  //# sourceMappingURL=index65.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index65.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index65.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index65.js CHANGED
@@ -1,9 +1,24 @@
1
- const root = "krc-root-FVKOX";
1
+ const root = "krc-root-tsCGC";
2
+ const input = "krc-input--stjU";
3
+ const label = "krc-label-KD6pE";
4
+ const disabled = "krc-disabled-ugpPh";
5
+ const sm = "krc-sm-8drDq";
6
+ const md = "krc-md-IG7oy";
2
7
  const styles = {
3
- root
8
+ root,
9
+ input,
10
+ label,
11
+ disabled,
12
+ sm,
13
+ md
4
14
  };
5
15
  export {
6
16
  styles as default,
7
- root
17
+ disabled,
18
+ input,
19
+ label,
20
+ md,
21
+ root,
22
+ sm
8
23
  };
9
24
  //# sourceMappingURL=index65.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index65.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/dist/index66.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-bWynN";
3
+ const root = "krc-root-FVKOX";
4
4
  const styles = {
5
5
  root
6
6
  };
package/dist/index66.js CHANGED
@@ -1,4 +1,4 @@
1
- const root = "krc-root-bWynN";
1
+ const root = "krc-root-FVKOX";
2
2
  const styles = {
3
3
  root
4
4
  };
package/dist/index67.cjs CHANGED
@@ -1,12 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const container = "krc-container-cpDoQ";
4
- const root = "krc-root-20TMP";
3
+ const root = "krc-root-GPZXT";
4
+ const sm = "krc-sm-QGnvH";
5
+ const md = "krc-md-rQKlJ";
6
+ const lg = "krc-lg-eC2yT";
5
7
  const styles = {
6
- container,
7
- root
8
+ root,
9
+ sm,
10
+ md,
11
+ lg
8
12
  };
9
- exports.container = container;
10
13
  exports.default = styles;
14
+ exports.lg = lg;
15
+ exports.md = md;
11
16
  exports.root = root;
17
+ exports.sm = sm;
12
18
  //# sourceMappingURL=index67.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index67.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index67.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
package/dist/index67.js CHANGED
@@ -1,12 +1,18 @@
1
- const container = "krc-container-cpDoQ";
2
- const root = "krc-root-20TMP";
1
+ const root = "krc-root-GPZXT";
2
+ const sm = "krc-sm-QGnvH";
3
+ const md = "krc-md-rQKlJ";
4
+ const lg = "krc-lg-eC2yT";
3
5
  const styles = {
4
- container,
5
- root
6
+ root,
7
+ sm,
8
+ md,
9
+ lg
6
10
  };
7
11
  export {
8
- container,
9
12
  styles as default,
10
- root
13
+ lg,
14
+ md,
15
+ root,
16
+ sm
11
17
  };
12
18
  //# sourceMappingURL=index67.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/index68.cjs CHANGED
@@ -1,27 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-vqaJ6";
4
- const pill = "krc-pill-8z557";
5
- const square = "krc-square-g0EM3";
6
- const segment = "krc-segment-5-V31";
7
- const isOn = "krc-isOn-7tAhJ";
8
- const md = "krc-md-pA-Ck";
9
- const sm = "krc-sm-VMB3s";
3
+ const root = "krc-root-pJYpn";
10
4
  const styles = {
11
- root,
12
- pill,
13
- square,
14
- segment,
15
- isOn,
16
- md,
17
- sm
5
+ root
18
6
  };
19
7
  exports.default = styles;
20
- exports.isOn = isOn;
21
- exports.md = md;
22
- exports.pill = pill;
23
8
  exports.root = root;
24
- exports.segment = segment;
25
- exports.sm = sm;
26
- exports.square = square;
27
9
  //# sourceMappingURL=index68.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index68.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index68.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index68.js CHANGED
@@ -1,27 +1,9 @@
1
- const root = "krc-root-vqaJ6";
2
- const pill = "krc-pill-8z557";
3
- const square = "krc-square-g0EM3";
4
- const segment = "krc-segment-5-V31";
5
- const isOn = "krc-isOn-7tAhJ";
6
- const md = "krc-md-pA-Ck";
7
- const sm = "krc-sm-VMB3s";
1
+ const root = "krc-root-pJYpn";
8
2
  const styles = {
9
- root,
10
- pill,
11
- square,
12
- segment,
13
- isOn,
14
- md,
15
- sm
3
+ root
16
4
  };
17
5
  export {
18
6
  styles as default,
19
- isOn,
20
- md,
21
- pill,
22
- root,
23
- segment,
24
- sm,
25
- square
7
+ root
26
8
  };
27
9
  //# sourceMappingURL=index68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index68.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index68.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index69.cjs CHANGED
@@ -1,27 +1,20 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-1fbld";
4
- const rail = "krc-rail-S-V5h";
5
- const fill = "krc-fill-NAEy9";
6
- const tick = "krc-tick-j75qi";
7
- const disabled = "krc-disabled-DgBiL";
8
- const thumb = "krc-thumb-QVYVM";
9
- const valueTooltip = "krc-valueTooltip-Vuimh";
10
- const styles = {
11
- root,
12
- rail,
13
- fill,
14
- tick,
15
- disabled,
16
- thumb,
17
- valueTooltip
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const marked_esm = require("./index117.cjs");
4
+ const purify_es = require("./index118.cjs");
5
+ const renderer = {
6
+ link({ href, tokens }) {
7
+ var _a;
8
+ const text = ((_a = this.parser) == null ? void 0 : _a.parseInline(tokens)) ?? tokens.map((t) => t.raw).join("");
9
+ return `<a href="${href}" target="_blank" rel="noopener noreferrer">${text}</a>`;
10
+ }
18
11
  };
19
- exports.default = styles;
20
- exports.disabled = disabled;
21
- exports.fill = fill;
22
- exports.rail = rail;
23
- exports.root = root;
24
- exports.thumb = thumb;
25
- exports.tick = tick;
26
- exports.valueTooltip = valueTooltip;
12
+ marked_esm.marked.use({ gfm: true, breaks: true, renderer });
13
+ const sanitizeHtml = (html) => purify_es.sanitize(html, {
14
+ USE_PROFILES: { html: true },
15
+ ADD_ATTR: ["target", "rel"]
16
+ });
17
+ const parseMarkdown = (markdown) => sanitizeHtml(marked_esm.marked.parse(markdown));
18
+ exports.parseMarkdown = parseMarkdown;
19
+ exports.sanitizeHtml = sanitizeHtml;
27
20
  //# sourceMappingURL=index69.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index69.cjs","sources":["../src/utils/markdown.ts"],"sourcesContent":["import { marked, type Renderer } from 'marked';\nimport DOMPurify from 'dompurify';\n\n// Use a function (not arrow) so `this` binds to marked's renderer instance,\n// which exposes `parser.parseInline`. The default `text` arg is the raw link\n// label (`**bold** text`) — passing it through unchanged would print the\n// asterisks instead of rendering nested inline markdown. `parseInline(tokens)`\n// recurses into bold / italic / code / etc. inside the link text.\nconst renderer: Partial<Renderer> = {\n link({ href, tokens }) {\n /* `this.parser` is provided at runtime when marked wires the renderer\n into its pipeline; the type definition models it as possibly\n undefined for standalone use. `parseInline(tokens)` falls back to\n the join of token raw strings when the parser is absent. */\n const text = this.parser?.parseInline(tokens) ?? tokens.map((t) => t.raw).join('');\n return `<a href=\"${href}\" target=\"_blank\" rel=\"noopener noreferrer\">${text}</a>`;\n },\n};\n\nmarked.use({ gfm: true, breaks: true, renderer });\n\nexport const sanitizeHtml = (html: string): string =>\n DOMPurify.sanitize(html, {\n USE_PROFILES: { html: true },\n ADD_ATTR: ['target', 'rel'],\n });\n\nexport const parseMarkdown = (markdown: string): string =>\n sanitizeHtml(marked.parse(markdown) as string);\n"],"names":["marked","DOMPurify"],"mappings":";;;;AAQA,MAAM,WAA8B;AAAA,EAClC,KAAK,EAAE,MAAM,UAAU;;AAKrB,UAAM,SAAO,UAAK,WAAL,mBAAa,YAAY,YAAW,OAAO,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;AACjF,WAAO,YAAY,IAAI,+CAA+C,IAAI;AAAA,EAC5E;AACF;AAEAA,WAAAA,OAAO,IAAI,EAAE,KAAK,MAAM,QAAQ,MAAM,UAAU;AAEzC,MAAM,eAAe,CAAC,SAC3BC,UAAU,SAAS,MAAM;AAAA,EACvB,cAAc,EAAE,MAAM,KAAA;AAAA,EACtB,UAAU,CAAC,UAAU,KAAK;AAC5B,CAAC;AAEI,MAAM,gBAAgB,CAAC,aAC5B,aAAaD,WAAAA,OAAO,MAAM,QAAQ,CAAW;;;"}
package/dist/index69.js CHANGED
@@ -1,27 +1,20 @@
1
- const root = "krc-root-1fbld";
2
- const rail = "krc-rail-S-V5h";
3
- const fill = "krc-fill-NAEy9";
4
- const tick = "krc-tick-j75qi";
5
- const disabled = "krc-disabled-DgBiL";
6
- const thumb = "krc-thumb-QVYVM";
7
- const valueTooltip = "krc-valueTooltip-Vuimh";
8
- const styles = {
9
- root,
10
- rail,
11
- fill,
12
- tick,
13
- disabled,
14
- thumb,
15
- valueTooltip
1
+ import { marked as g } from "./index117.js";
2
+ import purify from "./index118.js";
3
+ const renderer = {
4
+ link({ href, tokens }) {
5
+ var _a;
6
+ const text = ((_a = this.parser) == null ? void 0 : _a.parseInline(tokens)) ?? tokens.map((t) => t.raw).join("");
7
+ return `<a href="${href}" target="_blank" rel="noopener noreferrer">${text}</a>`;
8
+ }
16
9
  };
10
+ g.use({ gfm: true, breaks: true, renderer });
11
+ const sanitizeHtml = (html) => purify.sanitize(html, {
12
+ USE_PROFILES: { html: true },
13
+ ADD_ATTR: ["target", "rel"]
14
+ });
15
+ const parseMarkdown = (markdown) => sanitizeHtml(g.parse(markdown));
17
16
  export {
18
- styles as default,
19
- disabled,
20
- fill,
21
- rail,
22
- root,
23
- thumb,
24
- tick,
25
- valueTooltip
17
+ parseMarkdown,
18
+ sanitizeHtml
26
19
  };
27
20
  //# sourceMappingURL=index69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index69.js","sources":["../src/utils/markdown.ts"],"sourcesContent":["import { marked, type Renderer } from 'marked';\nimport DOMPurify from 'dompurify';\n\n// Use a function (not arrow) so `this` binds to marked's renderer instance,\n// which exposes `parser.parseInline`. The default `text` arg is the raw link\n// label (`**bold** text`) — passing it through unchanged would print the\n// asterisks instead of rendering nested inline markdown. `parseInline(tokens)`\n// recurses into bold / italic / code / etc. inside the link text.\nconst renderer: Partial<Renderer> = {\n link({ href, tokens }) {\n /* `this.parser` is provided at runtime when marked wires the renderer\n into its pipeline; the type definition models it as possibly\n undefined for standalone use. `parseInline(tokens)` falls back to\n the join of token raw strings when the parser is absent. */\n const text = this.parser?.parseInline(tokens) ?? tokens.map((t) => t.raw).join('');\n return `<a href=\"${href}\" target=\"_blank\" rel=\"noopener noreferrer\">${text}</a>`;\n },\n};\n\nmarked.use({ gfm: true, breaks: true, renderer });\n\nexport const sanitizeHtml = (html: string): string =>\n DOMPurify.sanitize(html, {\n USE_PROFILES: { html: true },\n ADD_ATTR: ['target', 'rel'],\n });\n\nexport const parseMarkdown = (markdown: string): string =>\n sanitizeHtml(marked.parse(markdown) as string);\n"],"names":["marked","DOMPurify"],"mappings":";;AAQA,MAAM,WAA8B;AAAA,EAClC,KAAK,EAAE,MAAM,UAAU;;AAKrB,UAAM,SAAO,UAAK,WAAL,mBAAa,YAAY,YAAW,OAAO,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE;AACjF,WAAO,YAAY,IAAI,+CAA+C,IAAI;AAAA,EAC5E;AACF;AAEAA,EAAO,IAAI,EAAE,KAAK,MAAM,QAAQ,MAAM,UAAU;AAEzC,MAAM,eAAe,CAAC,SAC3BC,OAAU,SAAS,MAAM;AAAA,EACvB,cAAc,EAAE,MAAM,KAAA;AAAA,EACtB,UAAU,CAAC,UAAU,KAAK;AAC5B,CAAC;AAEI,MAAM,gBAAgB,CAAC,aAC5B,aAAaD,EAAO,MAAM,QAAQ,CAAW;"}
package/dist/index70.cjs CHANGED
@@ -1,24 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-p3Y59";
4
- const plain = "krc-plain-VC-9I";
5
- const icon = "krc-icon-ix2Mi";
6
- const title = "krc-title--QtUj";
7
- const description = "krc-description-Qrtj7";
8
- const action = "krc-action-NBNpI";
3
+ const root = "krc-root-93Nfs";
9
4
  const styles = {
10
- root,
11
- plain,
12
- icon,
13
- title,
14
- description,
15
- action
5
+ root
16
6
  };
17
- exports.action = action;
18
7
  exports.default = styles;
19
- exports.description = description;
20
- exports.icon = icon;
21
- exports.plain = plain;
22
8
  exports.root = root;
23
- exports.title = title;
24
9
  //# sourceMappingURL=index70.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index70.js CHANGED
@@ -1,24 +1,9 @@
1
- const root = "krc-root-p3Y59";
2
- const plain = "krc-plain-VC-9I";
3
- const icon = "krc-icon-ix2Mi";
4
- const title = "krc-title--QtUj";
5
- const description = "krc-description-Qrtj7";
6
- const action = "krc-action-NBNpI";
1
+ const root = "krc-root-93Nfs";
7
2
  const styles = {
8
- root,
9
- plain,
10
- icon,
11
- title,
12
- description,
13
- action
3
+ root
14
4
  };
15
5
  export {
16
- action,
17
6
  styles as default,
18
- description,
19
- icon,
20
- plain,
21
- root,
22
- title
7
+ root
23
8
  };
24
9
  //# sourceMappingURL=index70.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index71.cjs CHANGED
@@ -1,21 +1,118 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-WL0sD";
4
- const left = "krc-left-9KFDB";
5
- const right = "krc-right-YmUbX";
6
- const divider = "krc-divider-jNOSU";
7
- const dividerHandle = "krc-dividerHandle-SoNqx";
8
- const styles = {
9
- root,
10
- left,
11
- right,
12
- divider,
13
- dividerHandle
14
- };
15
- exports.default = styles;
16
- exports.divider = divider;
17
- exports.dividerHandle = dividerHandle;
18
- exports.left = left;
19
- exports.right = right;
20
- exports.root = root;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ICON_SIZE = {
4
+ SM: 14,
5
+ MD: 16,
6
+ LG: 18
7
+ };
8
+ const SVG_VIEWBOX = "0 0 24 24";
9
+ const SVG_STROKE_WIDTH = 2;
10
+ const KEYBOARD_STEP = 2;
11
+ const VIEWPORT_MARGIN = 32;
12
+ const CONTEXT_MENU_MARGIN = 10;
13
+ const CHART_MODAL = {
14
+ MIN_WIDTH: 960,
15
+ MIN_HEIGHT: 480,
16
+ MAX_WIDTH: 2400,
17
+ MAX_HEIGHT: 1300,
18
+ DEFAULT_WIDTH: 1500,
19
+ DEFAULT_HEIGHT: 820,
20
+ FALLBACK_WIDTH: 1400,
21
+ FALLBACK_HEIGHT: 800
22
+ };
23
+ const MAX_SANKEY_NODES = 150;
24
+ const MAX_SERIES = 20;
25
+ const MAX_CATEGORIES = 20;
26
+ const MAX_SUBCATEGORIES = 10;
27
+ const CHART_COLORS = [
28
+ "#FF6B5A",
29
+ "#5B8DEF",
30
+ "#4ECDC4",
31
+ "#F7B731",
32
+ "#A55EEA",
33
+ "#26DE81",
34
+ "#FC5C65",
35
+ "#45AAF2",
36
+ "#FD9644",
37
+ "#2BCBBA",
38
+ "#D1D8E0",
39
+ "#778CA3",
40
+ "#EB3B5A",
41
+ "#3867D6",
42
+ "#20BF6B",
43
+ "#F7B731",
44
+ "#8854D0",
45
+ "#0FB9B1",
46
+ "#FA8231",
47
+ "#4B6584"
48
+ ];
49
+ const MIN_COLUMN_WIDTH = 40;
50
+ const SIDEBAR = {
51
+ WIDTH: 240,
52
+ COLLAPSED_WIDTH: 80
53
+ };
54
+ const COUNTERS_PAGE_SIZE = 100;
55
+ const TOAST_DURATION_MS = 3200;
56
+ const PAGINATION = {
57
+ /** Page numbers shown on each side of the current page. */
58
+ SIBLING_COUNT: 1,
59
+ /** Page numbers pinned at the first/last boundaries. */
60
+ BOUNDARY_COUNT: 1
61
+ };
62
+ const SCATTER = {
63
+ /** Marks drawn before deterministic sampling kicks in. */
64
+ MAX_POINTS: 2e3,
65
+ MIN_SYMBOL_SIZE: 6,
66
+ MAX_SYMBOL_SIZE: 28,
67
+ /** Symbol size used when no point carries a weight. */
68
+ BASE_SYMBOL_SIZE: 10
69
+ };
70
+ const RANGE_SLIDER = {
71
+ DEFAULT_STEP: 1
72
+ };
73
+ const GEO_MAP = {
74
+ /** Markers drawn before deterministic sampling kicks in. */
75
+ MAX_POINTS: 2e3,
76
+ MIN_MARKER_RADIUS: 4,
77
+ MAX_MARKER_RADIUS: 18,
78
+ /** Radius used when no point carries a weight. */
79
+ BASE_MARKER_RADIUS: 8,
80
+ /** Extra radius on a selected marker, so colour is never the only cue. */
81
+ SELECTED_RADIUS_BOOST: 3,
82
+ MARKER_STROKE_WIDTH: 1,
83
+ SELECTED_STROKE_WIDTH: 3,
84
+ MARKER_FILL_OPACITY: 0.7,
85
+ /** Fallback view when there is nothing to fit to (roughly central Spain). */
86
+ DEFAULT_CENTER: [40.4168, -3.7038],
87
+ DEFAULT_ZOOM: 13,
88
+ /** `fitBounds` on a single point collapses to max zoom; this caps it. */
89
+ SINGLE_POINT_ZOOM: 14,
90
+ FIT_BOUNDS_PADDING: [24, 24]
91
+ };
92
+ const BASEMAP_TILES = {
93
+ light: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
94
+ dark: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",
95
+ attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
96
+ };
97
+ exports.BASEMAP_TILES = BASEMAP_TILES;
98
+ exports.CHART_COLORS = CHART_COLORS;
99
+ exports.CHART_MODAL = CHART_MODAL;
100
+ exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
101
+ exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
102
+ exports.GEO_MAP = GEO_MAP;
103
+ exports.ICON_SIZE = ICON_SIZE;
104
+ exports.KEYBOARD_STEP = KEYBOARD_STEP;
105
+ exports.MAX_CATEGORIES = MAX_CATEGORIES;
106
+ exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
107
+ exports.MAX_SERIES = MAX_SERIES;
108
+ exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
109
+ exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
110
+ exports.PAGINATION = PAGINATION;
111
+ exports.RANGE_SLIDER = RANGE_SLIDER;
112
+ exports.SCATTER = SCATTER;
113
+ exports.SIDEBAR = SIDEBAR;
114
+ exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
115
+ exports.SVG_VIEWBOX = SVG_VIEWBOX;
116
+ exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
117
+ exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
21
118
  //# sourceMappingURL=index71.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index71.cjs","sources":["../src/constants.ts"],"sourcesContent":["/**\n * Shared constants for the component library.\n * Centralises magic numbers used across components.\n */\n\n/** SVG icon rendered sizes (px — used as HTML/SVG attributes, not CSS). */\nexport const ICON_SIZE = {\n SM: 14,\n MD: 16,\n LG: 18,\n} as const;\n\n/** Standard SVG viewBox for 24×24 icon grid. */\nexport const SVG_VIEWBOX = '0 0 24 24';\n\n/** Standard SVG stroke width. */\nexport const SVG_STROKE_WIDTH = 2;\n\n/** Keyboard accessibility step (percentage points per arrow press). */\nexport const KEYBOARD_STEP = 2;\n\n/** Viewport safety margin (px — used in JS calculations with DOM APIs). */\nexport const VIEWPORT_MARGIN = 32;\n\n/** ContextMenu viewport margin (px). */\nexport const CONTEXT_MENU_MARGIN = 10;\n\n/** ChartExpandModal dimension constraints (px — used with window.innerWidth). */\nexport const CHART_MODAL = {\n MIN_WIDTH: 960,\n MIN_HEIGHT: 480,\n MAX_WIDTH: 2400,\n MAX_HEIGHT: 1300,\n DEFAULT_WIDTH: 1500,\n DEFAULT_HEIGHT: 820,\n FALLBACK_WIDTH: 1400,\n FALLBACK_HEIGHT: 800,\n} as const;\n\n/** Maximum Sankey nodes before truncation warning. */\nexport const MAX_SANKEY_NODES = 150;\n\n/** Maximum stacked series before \"Other\" aggregation. */\nexport const MAX_SERIES = 20;\n\n/** Maximum categories in stacked bar chart. */\nexport const MAX_CATEGORIES = 20;\n\n/** Maximum subcategories per category. */\nexport const MAX_SUBCATEGORIES = 10;\n\n/** Time range preset durations in milliseconds. */\nexport const TIME_PRESET_MS = {\n '1h': 3_600_000,\n '6h': 21_600_000,\n '24h': 86_400_000,\n '7d': 604_800_000,\n '30d': 2_592_000_000,\n} as const;\n\n/** Default chart color palette. */\nexport const CHART_COLORS = [\n '#FF6B5A', '#5B8DEF', '#4ECDC4', '#F7B731', '#A55EEA',\n '#26DE81', '#FC5C65', '#45AAF2', '#FD9644', '#2BCBBA',\n '#D1D8E0', '#778CA3', '#EB3B5A', '#3867D6', '#20BF6B',\n '#F7B731', '#8854D0', '#0FB9B1', '#FA8231', '#4B6584',\n] as const;\n\n/** Minimum column width for resizable tables (px — used in JS calculations). */\nexport const MIN_COLUMN_WIDTH = 40;\n\n/** Sidebar dimension constants (px — used as inline styles). */\nexport const SIDEBAR = {\n WIDTH: 240,\n COLLAPSED_WIDTH: 80,\n} as const;\n\n/** Counters analysis pagination. */\nexport const COUNTERS_PAGE_SIZE = 100;\n\n/** Default time a toast stays visible before auto-dismiss (ms). */\nexport const TOAST_DURATION_MS = 3200;\n\n/** Pagination page-range defaults. */\nexport const PAGINATION = {\n /** Page numbers shown on each side of the current page. */\n SIBLING_COUNT: 1,\n /** Page numbers pinned at the first/last boundaries. */\n BOUNDARY_COUNT: 1,\n} as const;\n\n/** ScatterChartCard mark cap and symbol radii (px — echarts canvas attributes, not CSS). */\nexport const SCATTER = {\n /** Marks drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_SYMBOL_SIZE: 6,\n MAX_SYMBOL_SIZE: 28,\n /** Symbol size used when no point carries a weight. */\n BASE_SYMBOL_SIZE: 10,\n} as const;\n\n/** RangeSlider defaults. */\nexport const RANGE_SLIDER = {\n DEFAULT_STEP: 1,\n} as const;\n\n/** GeoMapCard marker caps and dimensions (px — Leaflet SVG attributes, not CSS). */\nexport const GEO_MAP = {\n /** Markers drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_MARKER_RADIUS: 4,\n MAX_MARKER_RADIUS: 18,\n /** Radius used when no point carries a weight. */\n BASE_MARKER_RADIUS: 8,\n /** Extra radius on a selected marker, so colour is never the only cue. */\n SELECTED_RADIUS_BOOST: 3,\n MARKER_STROKE_WIDTH: 1,\n SELECTED_STROKE_WIDTH: 3,\n MARKER_FILL_OPACITY: 0.7,\n /** Fallback view when there is nothing to fit to (roughly central Spain). */\n DEFAULT_CENTER: [40.4168, -3.7038],\n DEFAULT_ZOOM: 13,\n /** `fitBounds` on a single point collapses to max zoom; this caps it. */\n SINGLE_POINT_ZOOM: 14,\n FIT_BOUNDS_PADDING: [24, 24],\n} as const;\n\n/** CARTO basemaps: deliberately muted so the markers carry the reading. */\nexport const BASEMAP_TILES = {\n light: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',\n dark: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png',\n attribution:\n '&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors ' +\n '&copy; <a href=\"https://carto.com/attributions\">CARTO</a>',\n} as const;\n"],"names":[],"mappings":";;AAMO,MAAM,YAAY;AAAA,EACvB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAGO,MAAM,cAAc;AAGpB,MAAM,mBAAmB;AAGzB,MAAM,gBAAgB;AAGtB,MAAM,kBAAkB;AAGxB,MAAM,sBAAsB;AAG5B,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;AAGO,MAAM,mBAAmB;AAGzB,MAAM,aAAa;AAGnB,MAAM,iBAAiB;AAGvB,MAAM,oBAAoB;AAY1B,MAAM,eAAe;AAAA,EAC1B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC9C;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;AAG3B,MAAM,oBAAoB;AAG1B,MAAM,aAAa;AAAA;AAAA,EAExB,eAAe;AAAA;AAAA,EAEf,gBAAgB;AAClB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA;AAAA,EAEjB,kBAAkB;AACpB;AAGO,MAAM,eAAe;AAAA,EAC1B,cAAc;AAChB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,mBAAmB;AAAA,EACnB,mBAAmB;AAAA;AAAA,EAEnB,oBAAoB;AAAA;AAAA,EAEpB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,qBAAqB;AAAA;AAAA,EAErB,gBAAgB,CAAC,SAAS,OAAO;AAAA,EACjC,cAAc;AAAA;AAAA,EAEd,mBAAmB;AAAA,EACnB,oBAAoB,CAAC,IAAI,EAAE;AAC7B;AAGO,MAAM,gBAAgB;AAAA,EAC3B,OAAO;AAAA,EACP,MAAM;AAAA,EACN,aACE;AAEJ;;;;;;;;;;;;;;;;;;;;;;"}