@ktnpm_devops/react-component 0.24.0 → 0.26.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 (584) hide show
  1. package/README.md +1 -1
  2. package/dist/composites/DayRangePicker/DayRangePicker.d.ts +4 -0
  3. package/dist/composites/DayRangePicker/DayRangePicker.d.ts.map +1 -0
  4. package/dist/composites/DayRangePicker/DayRangePicker.types.d.ts +42 -0
  5. package/dist/composites/DayRangePicker/DayRangePicker.types.d.ts.map +1 -0
  6. package/dist/composites/DayRangePicker/index.d.ts +3 -0
  7. package/dist/composites/DayRangePicker/index.d.ts.map +1 -0
  8. package/dist/composites/DayRangePicker/rangeDays.d.ts +17 -0
  9. package/dist/composites/DayRangePicker/rangeDays.d.ts.map +1 -0
  10. package/dist/composites/DayRangePicker/rangeDays.test.d.ts +2 -0
  11. package/dist/composites/DayRangePicker/rangeDays.test.d.ts.map +1 -0
  12. package/dist/constants.d.ts +8 -0
  13. package/dist/constants.d.ts.map +1 -1
  14. package/dist/data/DataTableCard/DataTableCard.d.ts +13 -0
  15. package/dist/data/DataTableCard/DataTableCard.d.ts.map +1 -0
  16. package/dist/data/DataTableCard/DataTableCard.types.d.ts +41 -0
  17. package/dist/data/DataTableCard/DataTableCard.types.d.ts.map +1 -0
  18. package/dist/data/DataTableCard/index.d.ts +3 -0
  19. package/dist/data/DataTableCard/index.d.ts.map +1 -0
  20. package/dist/data/LiveExplorerTable/LiveExplorerBody.d.ts +8 -0
  21. package/dist/data/LiveExplorerTable/LiveExplorerBody.d.ts.map +1 -0
  22. package/dist/data/LiveExplorerTable/LiveExplorerDataRow.d.ts +5 -0
  23. package/dist/data/LiveExplorerTable/LiveExplorerDataRow.d.ts.map +1 -0
  24. package/dist/data/LiveExplorerTable/LiveExplorerHeaderCell.d.ts +8 -0
  25. package/dist/data/LiveExplorerTable/LiveExplorerHeaderCell.d.ts.map +1 -0
  26. package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts +2 -2
  27. package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts.map +1 -1
  28. package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts +122 -25
  29. package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts.map +1 -1
  30. package/dist/data/LiveExplorerTable/columnClasses.d.ts +5 -0
  31. package/dist/data/LiveExplorerTable/columnClasses.d.ts.map +1 -0
  32. package/dist/data/LiveExplorerTable/groupRows.d.ts +8 -0
  33. package/dist/data/LiveExplorerTable/groupRows.d.ts.map +1 -0
  34. package/dist/data/LiveExplorerTable/groupRows.test.d.ts +2 -0
  35. package/dist/data/LiveExplorerTable/groupRows.test.d.ts.map +1 -0
  36. package/dist/data/LiveExplorerTable/index.d.ts +1 -1
  37. package/dist/data/LiveExplorerTable/index.d.ts.map +1 -1
  38. package/dist/data/LiveExplorerTable/nextSortState.d.ts +8 -0
  39. package/dist/data/LiveExplorerTable/nextSortState.d.ts.map +1 -0
  40. package/dist/data/LiveExplorerTable/nextSortState.test.d.ts +2 -0
  41. package/dist/data/LiveExplorerTable/nextSortState.test.d.ts.map +1 -0
  42. package/dist/data/LiveExplorerTable/useColumnResize.d.ts +8 -0
  43. package/dist/data/LiveExplorerTable/useColumnResize.d.ts.map +1 -0
  44. package/dist/index.cjs +36 -32
  45. package/dist/index.cjs.map +1 -1
  46. package/dist/index.d.ts +6 -2
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +36 -32
  49. package/dist/index.js.map +1 -1
  50. package/dist/index10.cjs +2 -2
  51. package/dist/index10.js +2 -2
  52. package/dist/index100.cjs +61 -84
  53. package/dist/index100.cjs.map +1 -1
  54. package/dist/index100.js +61 -84
  55. package/dist/index100.js.map +1 -1
  56. package/dist/index101.cjs +6 -39
  57. package/dist/index101.cjs.map +1 -1
  58. package/dist/index101.js +5 -38
  59. package/dist/index101.js.map +1 -1
  60. package/dist/index102.cjs +39 -22
  61. package/dist/index102.cjs.map +1 -1
  62. package/dist/index102.js +38 -21
  63. package/dist/index102.js.map +1 -1
  64. package/dist/index103.cjs +10 -70
  65. package/dist/index103.cjs.map +1 -1
  66. package/dist/index103.js +8 -68
  67. package/dist/index103.js.map +1 -1
  68. package/dist/index104.cjs +115 -6
  69. package/dist/index104.cjs.map +1 -1
  70. package/dist/index104.js +115 -6
  71. package/dist/index104.js.map +1 -1
  72. package/dist/index105.cjs +23 -20
  73. package/dist/index105.cjs.map +1 -1
  74. package/dist/index105.js +23 -20
  75. package/dist/index105.js.map +1 -1
  76. package/dist/index106.cjs +51 -35
  77. package/dist/index106.cjs.map +1 -1
  78. package/dist/index106.js +50 -34
  79. package/dist/index106.js.map +1 -1
  80. package/dist/index107.cjs +33 -43
  81. package/dist/index107.cjs.map +1 -1
  82. package/dist/index107.js +33 -43
  83. package/dist/index107.js.map +1 -1
  84. package/dist/index108.cjs +33 -24
  85. package/dist/index108.cjs.map +1 -1
  86. package/dist/index108.js +32 -23
  87. package/dist/index108.js.map +1 -1
  88. package/dist/index109.cjs +18 -39
  89. package/dist/index109.cjs.map +1 -1
  90. package/dist/index109.js +17 -38
  91. package/dist/index109.js.map +1 -1
  92. package/dist/index11.cjs +2 -2
  93. package/dist/index11.js +2 -2
  94. package/dist/index110.cjs +19 -9
  95. package/dist/index110.cjs.map +1 -1
  96. package/dist/index110.js +18 -8
  97. package/dist/index110.js.map +1 -1
  98. package/dist/index111.cjs +39 -10
  99. package/dist/index111.cjs.map +1 -1
  100. package/dist/index111.js +38 -9
  101. package/dist/index111.js.map +1 -1
  102. package/dist/index112.cjs +85 -20
  103. package/dist/index112.cjs.map +1 -1
  104. package/dist/index112.js +84 -19
  105. package/dist/index112.js.map +1 -1
  106. package/dist/index113.cjs +22 -14
  107. package/dist/index113.cjs.map +1 -1
  108. package/dist/index113.js +21 -13
  109. package/dist/index113.js.map +1 -1
  110. package/dist/index114.cjs +33 -10
  111. package/dist/index114.cjs.map +1 -1
  112. package/dist/index114.js +32 -9
  113. package/dist/index114.js.map +1 -1
  114. package/dist/index115.cjs +2 -65
  115. package/dist/index115.cjs.map +1 -1
  116. package/dist/index115.js +3 -66
  117. package/dist/index115.js.map +1 -1
  118. package/dist/index116.cjs +19 -13
  119. package/dist/index116.cjs.map +1 -1
  120. package/dist/index116.js +20 -14
  121. package/dist/index116.js.map +1 -1
  122. package/dist/index118.cjs +10 -52
  123. package/dist/index118.cjs.map +1 -1
  124. package/dist/index118.js +11 -53
  125. package/dist/index118.js.map +1 -1
  126. package/dist/index119.cjs +5 -35
  127. package/dist/index119.cjs.map +1 -1
  128. package/dist/index119.js +6 -36
  129. package/dist/index119.js.map +1 -1
  130. package/dist/index12.cjs +2 -2
  131. package/dist/index12.js +2 -2
  132. package/dist/index120.cjs +10 -16
  133. package/dist/index120.cjs.map +1 -1
  134. package/dist/index120.js +10 -16
  135. package/dist/index120.js.map +1 -1
  136. package/dist/index121.cjs +22 -134
  137. package/dist/index121.cjs.map +1 -1
  138. package/dist/index121.js +21 -133
  139. package/dist/index121.js.map +1 -1
  140. package/dist/index122.cjs +17 -38
  141. package/dist/index122.cjs.map +1 -1
  142. package/dist/index122.js +18 -39
  143. package/dist/index122.js.map +1 -1
  144. package/dist/index123.cjs +34 -10
  145. package/dist/index123.cjs.map +1 -1
  146. package/dist/index123.js +35 -11
  147. package/dist/index123.js.map +1 -1
  148. package/dist/index124.cjs +36 -39
  149. package/dist/index124.cjs.map +1 -1
  150. package/dist/index124.js +36 -39
  151. package/dist/index124.js.map +1 -1
  152. package/dist/index125.cjs +2 -5
  153. package/dist/index125.cjs.map +1 -1
  154. package/dist/index125.js +2 -5
  155. package/dist/index125.js.map +1 -1
  156. package/dist/index126.cjs +28 -116
  157. package/dist/index126.cjs.map +1 -1
  158. package/dist/index126.js +27 -115
  159. package/dist/index126.js.map +1 -1
  160. package/dist/index127.cjs +64 -37
  161. package/dist/index127.cjs.map +1 -1
  162. package/dist/index127.js +64 -37
  163. package/dist/index127.js.map +1 -1
  164. package/dist/index128.cjs +22 -13
  165. package/dist/index128.cjs.map +1 -1
  166. package/dist/index128.js +23 -14
  167. package/dist/index128.js.map +1 -1
  168. package/dist/index129.cjs +19 -34
  169. package/dist/index129.cjs.map +1 -1
  170. package/dist/index129.js +19 -34
  171. package/dist/index129.js.map +1 -1
  172. package/dist/index13.cjs +2 -2
  173. package/dist/index13.js +2 -2
  174. package/dist/index130.cjs +13 -10
  175. package/dist/index130.cjs.map +1 -1
  176. package/dist/index130.js +14 -11
  177. package/dist/index130.js.map +1 -1
  178. package/dist/index131.cjs +15 -24
  179. package/dist/index131.cjs.map +1 -1
  180. package/dist/index131.js +15 -24
  181. package/dist/index131.js.map +1 -1
  182. package/dist/index132.cjs +15 -30
  183. package/dist/index132.cjs.map +1 -1
  184. package/dist/index132.js +15 -30
  185. package/dist/index132.js.map +1 -1
  186. package/dist/index133.cjs +18 -36
  187. package/dist/index133.cjs.map +1 -1
  188. package/dist/index133.js +18 -36
  189. package/dist/index133.js.map +1 -1
  190. package/dist/index134.cjs +25 -16
  191. package/dist/index134.cjs.map +1 -1
  192. package/dist/index134.js +25 -16
  193. package/dist/index134.js.map +1 -1
  194. package/dist/index135.cjs +69 -47
  195. package/dist/index135.cjs.map +1 -1
  196. package/dist/index135.js +69 -47
  197. package/dist/index135.js.map +1 -1
  198. package/dist/index136.cjs +48 -73
  199. package/dist/index136.cjs.map +1 -1
  200. package/dist/index136.js +48 -73
  201. package/dist/index136.js.map +1 -1
  202. package/dist/index137.cjs +4 -1162
  203. package/dist/index137.cjs.map +1 -1
  204. package/dist/index137.js +4 -1163
  205. package/dist/index137.js.map +1 -1
  206. package/dist/index138.cjs +26 -1574
  207. package/dist/index138.cjs.map +1 -1
  208. package/dist/index138.js +25 -1574
  209. package/dist/index138.js.map +1 -1
  210. package/dist/index139.cjs +87 -34
  211. package/dist/index139.cjs.map +1 -1
  212. package/dist/index139.js +86 -33
  213. package/dist/index139.js.map +1 -1
  214. package/dist/index14.cjs +2 -2
  215. package/dist/index14.js +2 -2
  216. package/dist/index140.cjs +27 -0
  217. package/dist/index140.cjs.map +1 -0
  218. package/dist/index140.js +27 -0
  219. package/dist/index140.js.map +1 -0
  220. package/dist/index141.cjs +50 -0
  221. package/dist/index141.cjs.map +1 -0
  222. package/dist/index141.js +50 -0
  223. package/dist/index141.js.map +1 -0
  224. package/dist/index142.cjs +20 -0
  225. package/dist/index142.cjs.map +1 -0
  226. package/dist/index142.js +20 -0
  227. package/dist/index142.js.map +1 -0
  228. package/dist/index143.cjs +39 -0
  229. package/dist/index143.cjs.map +1 -0
  230. package/dist/index143.js +39 -0
  231. package/dist/index143.js.map +1 -0
  232. package/dist/index144.cjs +51 -0
  233. package/dist/index144.cjs.map +1 -0
  234. package/dist/index144.js +51 -0
  235. package/dist/index144.js.map +1 -0
  236. package/dist/index145.cjs +78 -0
  237. package/dist/index145.cjs.map +1 -0
  238. package/dist/index145.js +78 -0
  239. package/dist/index145.js.map +1 -0
  240. package/dist/index146.cjs +1166 -0
  241. package/dist/index146.cjs.map +1 -0
  242. package/dist/index146.js +1167 -0
  243. package/dist/index146.js.map +1 -0
  244. package/dist/index147.cjs +1578 -0
  245. package/dist/index147.cjs.map +1 -0
  246. package/dist/index147.js +1579 -0
  247. package/dist/index147.js.map +1 -0
  248. package/dist/index148.cjs +37 -0
  249. package/dist/index148.cjs.map +1 -0
  250. package/dist/index148.js +37 -0
  251. package/dist/index148.js.map +1 -0
  252. package/dist/index149.cjs +10 -0
  253. package/dist/index149.cjs.map +1 -0
  254. package/dist/index149.js +10 -0
  255. package/dist/index149.js.map +1 -0
  256. package/dist/index15.cjs +2 -2
  257. package/dist/index15.js +2 -2
  258. package/dist/index150.cjs +15 -0
  259. package/dist/index150.cjs.map +1 -0
  260. package/dist/index150.js +15 -0
  261. package/dist/index150.js.map +1 -0
  262. package/dist/index151.cjs +51 -0
  263. package/dist/index151.cjs.map +1 -0
  264. package/dist/index151.js +51 -0
  265. package/dist/index151.js.map +1 -0
  266. package/dist/index16.cjs +3 -3
  267. package/dist/index16.js +3 -3
  268. package/dist/index17.cjs +2 -2
  269. package/dist/index17.js +2 -2
  270. package/dist/index18.cjs +2 -2
  271. package/dist/index18.js +2 -2
  272. package/dist/index19.cjs +2 -2
  273. package/dist/index19.js +2 -2
  274. package/dist/index20.cjs +2 -2
  275. package/dist/index20.js +2 -2
  276. package/dist/index21.cjs +2 -2
  277. package/dist/index21.js +2 -2
  278. package/dist/index22.cjs +2 -2
  279. package/dist/index22.js +2 -2
  280. package/dist/index23.cjs +3 -3
  281. package/dist/index23.js +3 -3
  282. package/dist/index24.cjs +4 -4
  283. package/dist/index24.js +4 -4
  284. package/dist/index25.cjs +4 -4
  285. package/dist/index25.js +4 -4
  286. package/dist/index26.cjs +4 -4
  287. package/dist/index26.js +4 -4
  288. package/dist/index27.cjs +8 -1
  289. package/dist/index27.cjs.map +1 -1
  290. package/dist/index27.js +8 -1
  291. package/dist/index27.js.map +1 -1
  292. package/dist/index28.cjs +2 -2
  293. package/dist/index28.js +2 -2
  294. package/dist/index29.cjs +58 -158
  295. package/dist/index29.cjs.map +1 -1
  296. package/dist/index29.js +58 -158
  297. package/dist/index29.js.map +1 -1
  298. package/dist/index30.cjs +161 -21
  299. package/dist/index30.cjs.map +1 -1
  300. package/dist/index30.js +162 -22
  301. package/dist/index30.js.map +1 -1
  302. package/dist/index31.cjs +82 -137
  303. package/dist/index31.cjs.map +1 -1
  304. package/dist/index31.js +83 -138
  305. package/dist/index31.js.map +1 -1
  306. package/dist/index32.cjs +21 -154
  307. package/dist/index32.cjs.map +1 -1
  308. package/dist/index32.js +22 -155
  309. package/dist/index32.js.map +1 -1
  310. package/dist/index33.cjs +135 -77
  311. package/dist/index33.cjs.map +1 -1
  312. package/dist/index33.js +136 -78
  313. package/dist/index33.js.map +1 -1
  314. package/dist/index34.cjs +147 -94
  315. package/dist/index34.cjs.map +1 -1
  316. package/dist/index34.js +149 -96
  317. package/dist/index34.js.map +1 -1
  318. package/dist/index35.cjs +86 -7
  319. package/dist/index35.cjs.map +1 -1
  320. package/dist/index35.js +88 -9
  321. package/dist/index35.js.map +1 -1
  322. package/dist/index36.cjs +99 -138
  323. package/dist/index36.cjs.map +1 -1
  324. package/dist/index36.js +101 -140
  325. package/dist/index36.js.map +1 -1
  326. package/dist/index37.cjs +6 -54
  327. package/dist/index37.cjs.map +1 -1
  328. package/dist/index37.js +8 -56
  329. package/dist/index37.js.map +1 -1
  330. package/dist/index38.cjs +109 -19
  331. package/dist/index38.cjs.map +1 -1
  332. package/dist/index38.js +111 -21
  333. package/dist/index38.js.map +1 -1
  334. package/dist/index39.cjs +55 -42
  335. package/dist/index39.cjs.map +1 -1
  336. package/dist/index39.js +55 -42
  337. package/dist/index39.js.map +1 -1
  338. package/dist/index40.cjs +16 -304
  339. package/dist/index40.cjs.map +1 -1
  340. package/dist/index40.js +18 -306
  341. package/dist/index40.js.map +1 -1
  342. package/dist/index41.cjs +43 -34
  343. package/dist/index41.cjs.map +1 -1
  344. package/dist/index41.js +44 -35
  345. package/dist/index41.js.map +1 -1
  346. package/dist/index42.cjs +304 -113
  347. package/dist/index42.cjs.map +1 -1
  348. package/dist/index42.js +306 -115
  349. package/dist/index42.js.map +1 -1
  350. package/dist/index43.cjs +30 -64
  351. package/dist/index43.cjs.map +1 -1
  352. package/dist/index43.js +31 -65
  353. package/dist/index43.js.map +1 -1
  354. package/dist/index44.cjs +113 -74
  355. package/dist/index44.cjs.map +1 -1
  356. package/dist/index44.js +115 -76
  357. package/dist/index44.js.map +1 -1
  358. package/dist/index45.cjs +63 -54
  359. package/dist/index45.cjs.map +1 -1
  360. package/dist/index45.js +64 -55
  361. package/dist/index45.js.map +1 -1
  362. package/dist/index46.cjs +69 -144
  363. package/dist/index46.cjs.map +1 -1
  364. package/dist/index46.js +70 -145
  365. package/dist/index46.js.map +1 -1
  366. package/dist/index47.cjs +57 -96
  367. package/dist/index47.cjs.map +1 -1
  368. package/dist/index47.js +59 -98
  369. package/dist/index47.js.map +1 -1
  370. package/dist/index48.cjs +147 -66
  371. package/dist/index48.cjs.map +1 -1
  372. package/dist/index48.js +149 -68
  373. package/dist/index48.js.map +1 -1
  374. package/dist/index49.cjs +97 -7
  375. package/dist/index49.cjs.map +1 -1
  376. package/dist/index49.js +99 -9
  377. package/dist/index49.js.map +1 -1
  378. package/dist/index50.cjs +72 -17
  379. package/dist/index50.cjs.map +1 -1
  380. package/dist/index50.js +73 -18
  381. package/dist/index50.js.map +1 -1
  382. package/dist/index51.cjs +7 -76
  383. package/dist/index51.cjs.map +1 -1
  384. package/dist/index51.js +9 -78
  385. package/dist/index51.js.map +1 -1
  386. package/dist/index52.cjs +17 -192
  387. package/dist/index52.cjs.map +1 -1
  388. package/dist/index52.js +17 -192
  389. package/dist/index52.js.map +1 -1
  390. package/dist/index53.cjs +72 -59
  391. package/dist/index53.cjs.map +1 -1
  392. package/dist/index53.js +74 -61
  393. package/dist/index53.js.map +1 -1
  394. package/dist/index54.cjs +179 -101
  395. package/dist/index54.cjs.map +1 -1
  396. package/dist/index54.js +180 -102
  397. package/dist/index54.js.map +1 -1
  398. package/dist/index55.cjs +49 -32
  399. package/dist/index55.cjs.map +1 -1
  400. package/dist/index55.js +49 -32
  401. package/dist/index55.js.map +1 -1
  402. package/dist/index56.cjs +114 -6
  403. package/dist/index56.cjs.map +1 -1
  404. package/dist/index56.js +115 -7
  405. package/dist/index56.js.map +1 -1
  406. package/dist/index57.cjs +44 -142
  407. package/dist/index57.cjs.map +1 -1
  408. package/dist/index57.js +45 -143
  409. package/dist/index57.js.map +1 -1
  410. package/dist/index58.cjs +6 -8
  411. package/dist/index58.cjs.map +1 -1
  412. package/dist/index58.js +6 -8
  413. package/dist/index58.js.map +1 -1
  414. package/dist/index59.cjs +143 -15
  415. package/dist/index59.cjs.map +1 -1
  416. package/dist/index59.js +145 -17
  417. package/dist/index59.js.map +1 -1
  418. package/dist/index60.cjs +7 -65
  419. package/dist/index60.cjs.map +1 -1
  420. package/dist/index60.js +9 -67
  421. package/dist/index60.js.map +1 -1
  422. package/dist/index61.cjs +17 -2
  423. package/dist/index61.cjs.map +1 -1
  424. package/dist/index61.js +18 -3
  425. package/dist/index61.js.map +1 -1
  426. package/dist/index62.cjs +66 -9
  427. package/dist/index62.cjs.map +1 -1
  428. package/dist/index62.js +66 -9
  429. package/dist/index62.js.map +1 -1
  430. package/dist/index63.cjs +4 -16
  431. package/dist/index63.cjs.map +1 -1
  432. package/dist/index63.js +3 -15
  433. package/dist/index63.js.map +1 -1
  434. package/dist/index64.cjs +10 -24
  435. package/dist/index64.cjs.map +1 -1
  436. package/dist/index64.js +9 -23
  437. package/dist/index64.js.map +1 -1
  438. package/dist/index65.cjs +15 -18
  439. package/dist/index65.cjs.map +1 -1
  440. package/dist/index65.js +15 -18
  441. package/dist/index65.js.map +1 -1
  442. package/dist/index66.cjs +73 -27
  443. package/dist/index66.cjs.map +1 -1
  444. package/dist/index66.js +72 -26
  445. package/dist/index66.js.map +1 -1
  446. package/dist/index67.cjs +153 -19
  447. package/dist/index67.cjs.map +1 -1
  448. package/dist/index67.js +151 -17
  449. package/dist/index67.js.map +1 -1
  450. package/dist/index68.cjs +11 -144
  451. package/dist/index68.cjs.map +1 -1
  452. package/dist/index68.js +11 -144
  453. package/dist/index68.js.map +1 -1
  454. package/dist/index69.cjs +52 -64
  455. package/dist/index69.cjs.map +1 -1
  456. package/dist/index69.js +52 -64
  457. package/dist/index69.js.map +1 -1
  458. package/dist/index70.cjs +17 -6
  459. package/dist/index70.cjs.map +1 -1
  460. package/dist/index70.js +16 -5
  461. package/dist/index70.js.map +1 -1
  462. package/dist/index71.cjs +2 -20
  463. package/dist/index71.cjs.map +1 -1
  464. package/dist/index71.js +2 -20
  465. package/dist/index71.js.map +1 -1
  466. package/dist/index72.cjs +19 -10
  467. package/dist/index72.cjs.map +1 -1
  468. package/dist/index72.js +19 -10
  469. package/dist/index72.js.map +1 -1
  470. package/dist/index73.cjs +7 -12
  471. package/dist/index73.cjs.map +1 -1
  472. package/dist/index73.js +6 -11
  473. package/dist/index73.js.map +1 -1
  474. package/dist/index74.cjs +21 -24
  475. package/dist/index74.cjs.map +1 -1
  476. package/dist/index74.js +20 -23
  477. package/dist/index74.js.map +1 -1
  478. package/dist/index75.cjs +10 -19
  479. package/dist/index75.cjs.map +1 -1
  480. package/dist/index75.js +10 -19
  481. package/dist/index75.js.map +1 -1
  482. package/dist/index76.cjs +6 -73
  483. package/dist/index76.cjs.map +1 -1
  484. package/dist/index76.js +5 -72
  485. package/dist/index76.js.map +1 -1
  486. package/dist/index77.cjs +10 -28
  487. package/dist/index77.cjs.map +1 -1
  488. package/dist/index77.js +11 -29
  489. package/dist/index77.js.map +1 -1
  490. package/dist/index78.cjs +17 -2
  491. package/dist/index78.cjs.map +1 -1
  492. package/dist/index78.js +18 -3
  493. package/dist/index78.js.map +1 -1
  494. package/dist/index79.cjs +16 -79
  495. package/dist/index79.cjs.map +1 -1
  496. package/dist/index79.js +16 -79
  497. package/dist/index79.js.map +1 -1
  498. package/dist/index80.cjs +15 -45
  499. package/dist/index80.cjs.map +1 -1
  500. package/dist/index80.js +16 -46
  501. package/dist/index80.js.map +1 -1
  502. package/dist/index81.cjs +131 -31
  503. package/dist/index81.cjs.map +1 -1
  504. package/dist/index81.js +131 -31
  505. package/dist/index81.js.map +1 -1
  506. package/dist/index82.cjs +40 -13
  507. package/dist/index82.cjs.map +1 -1
  508. package/dist/index82.js +40 -13
  509. package/dist/index82.js.map +1 -1
  510. package/dist/index83.cjs +28 -16
  511. package/dist/index83.cjs.map +1 -1
  512. package/dist/index83.js +28 -16
  513. package/dist/index83.js.map +1 -1
  514. package/dist/index84.cjs +50 -14
  515. package/dist/index84.cjs.map +1 -1
  516. package/dist/index84.js +50 -14
  517. package/dist/index84.js.map +1 -1
  518. package/dist/index85.cjs +38 -2
  519. package/dist/index85.cjs.map +1 -1
  520. package/dist/index85.js +39 -3
  521. package/dist/index85.js.map +1 -1
  522. package/dist/index86.cjs +39 -6
  523. package/dist/index86.cjs.map +1 -1
  524. package/dist/index86.js +38 -5
  525. package/dist/index86.js.map +1 -1
  526. package/dist/index87.cjs +92 -24
  527. package/dist/index87.cjs.map +1 -1
  528. package/dist/index87.js +91 -23
  529. package/dist/index87.js.map +1 -1
  530. package/dist/index88.cjs +34 -16
  531. package/dist/index88.cjs.map +1 -1
  532. package/dist/index88.js +35 -17
  533. package/dist/index88.js.map +1 -1
  534. package/dist/index89.cjs +35 -9
  535. package/dist/index89.cjs.map +1 -1
  536. package/dist/index89.js +34 -8
  537. package/dist/index89.js.map +1 -1
  538. package/dist/index90.cjs +43 -47
  539. package/dist/index90.cjs.map +1 -1
  540. package/dist/index90.js +43 -47
  541. package/dist/index90.js.map +1 -1
  542. package/dist/index91.cjs +24 -17
  543. package/dist/index91.cjs.map +1 -1
  544. package/dist/index91.js +24 -17
  545. package/dist/index91.js.map +1 -1
  546. package/dist/index92.cjs +39 -36
  547. package/dist/index92.cjs.map +1 -1
  548. package/dist/index92.js +38 -35
  549. package/dist/index92.js.map +1 -1
  550. package/dist/index93.cjs +8 -17
  551. package/dist/index93.cjs.map +1 -1
  552. package/dist/index93.js +8 -17
  553. package/dist/index93.js.map +1 -1
  554. package/dist/index94.cjs +10 -6
  555. package/dist/index94.cjs.map +1 -1
  556. package/dist/index94.js +9 -5
  557. package/dist/index94.js.map +1 -1
  558. package/dist/index95.cjs +20 -55
  559. package/dist/index95.cjs.map +1 -1
  560. package/dist/index95.js +19 -54
  561. package/dist/index95.js.map +1 -1
  562. package/dist/index96.cjs +14 -34
  563. package/dist/index96.cjs.map +1 -1
  564. package/dist/index96.js +13 -33
  565. package/dist/index96.js.map +1 -1
  566. package/dist/index97.cjs +10 -57
  567. package/dist/index97.cjs.map +1 -1
  568. package/dist/index97.js +9 -56
  569. package/dist/index97.js.map +1 -1
  570. package/dist/index98.cjs +64 -16
  571. package/dist/index98.cjs.map +1 -1
  572. package/dist/index98.js +64 -16
  573. package/dist/index98.js.map +1 -1
  574. package/dist/index99.cjs +20 -37
  575. package/dist/index99.cjs.map +1 -1
  576. package/dist/index99.js +20 -37
  577. package/dist/index99.js.map +1 -1
  578. package/dist/labels/ComponentLabels.types.d.ts +14 -0
  579. package/dist/labels/ComponentLabels.types.d.ts.map +1 -1
  580. package/dist/labels/defaults.d.ts.map +1 -1
  581. package/dist/labels/index.d.ts +1 -1
  582. package/dist/labels/index.d.ts.map +1 -1
  583. package/dist/style.css +405 -214
  584. package/package.json +1 -1
package/dist/index68.js CHANGED
@@ -1,147 +1,14 @@
1
- const ICON_SIZE = {
2
- SM: 14,
3
- MD: 16,
4
- LG: 18
5
- };
6
- const SVG_VIEWBOX = "0 0 24 24";
7
- const SVG_STROKE_WIDTH = 2;
8
- const KEYBOARD_STEP = 2;
9
- const VIEWPORT_MARGIN = 32;
10
- const CONTEXT_MENU_MARGIN = 10;
11
- const PANEL_EDGE_MARGIN = 8;
12
- const CHART_MODAL = {
13
- MIN_WIDTH: 960,
14
- MIN_HEIGHT: 480,
15
- MAX_WIDTH: 2400,
16
- MAX_HEIGHT: 1300,
17
- DEFAULT_WIDTH: 1500,
18
- DEFAULT_HEIGHT: 820,
19
- FALLBACK_WIDTH: 1400,
20
- FALLBACK_HEIGHT: 800
21
- };
22
- const MAX_SANKEY_NODES = 150;
23
- const MAX_SERIES = 20;
24
- const MAX_CATEGORIES = 20;
25
- const MAX_SUBCATEGORIES = 10;
26
- const CHART_COLORS = [
27
- "#FF6B5A",
28
- "#5B8DEF",
29
- "#4ECDC4",
30
- "#F7B731",
31
- "#A55EEA",
32
- "#26DE81",
33
- "#FC5C65",
34
- "#45AAF2",
35
- "#FD9644",
36
- "#2BCBBA",
37
- "#D1D8E0",
38
- "#778CA3",
39
- "#EB3B5A",
40
- "#3867D6",
41
- "#20BF6B",
42
- "#F7B731",
43
- "#8854D0",
44
- "#0FB9B1",
45
- "#FA8231",
46
- "#4B6584"
47
- ];
48
- const MIN_COLUMN_WIDTH = 40;
49
- const SIDEBAR = {
50
- WIDTH: 240,
51
- COLLAPSED_WIDTH: 80
52
- };
53
- const COUNTERS_PAGE_SIZE = 100;
54
- const TOAST_DURATION_MS = 3200;
55
- const PAGINATION = {
56
- /** Page numbers shown on each side of the current page. */
57
- SIBLING_COUNT: 1,
58
- /** Page numbers pinned at the first/last boundaries. */
59
- BOUNDARY_COUNT: 1
60
- };
61
- const SCATTER = {
62
- /** Marks drawn before deterministic sampling kicks in. */
63
- MAX_POINTS: 2e3,
64
- MIN_SYMBOL_SIZE: 6,
65
- MAX_SYMBOL_SIZE: 28,
66
- /** Symbol size used when no point carries a weight. */
67
- BASE_SYMBOL_SIZE: 10
68
- };
69
- const GROUPED_BAR = {
70
- /**
71
- * Grid margins. `containLabel` reserves room for the tick labels only, so the
72
- * value-axis name and the legend need their own margin or they get clipped.
73
- */
74
- GRID_MARGIN: {
75
- BASE: 8,
76
- TOP: 16,
77
- RIGHT: 16,
78
- /** Extra left margin for a vertical value-axis name. */
79
- VALUE_NAME_Y: 34,
80
- /** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */
81
- VALUE_NAME_X: 23,
82
- LEGEND: 30
83
- },
84
- /** Distance from the value axis line to its name. */
85
- AXIS_NAME_GAP: { X: 28, Y: 38 },
86
- /** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */
87
- MIN_BAR_HEIGHT: 2,
88
- /** Diameter of the colour dot before each tooltip line. */
89
- TOOLTIP_MARKER_SIZE: 10,
90
- /** Space between the tooltip colour dot and the series name. */
91
- TOOLTIP_MARKER_GAP: 4
92
- };
93
- const RANGE_SLIDER = {
94
- DEFAULT_STEP: 1
95
- };
96
- const GEO_MAP = {
97
- /** Markers drawn before deterministic sampling kicks in. */
98
- MAX_POINTS: 2e3,
99
- MIN_MARKER_RADIUS: 4,
100
- MAX_MARKER_RADIUS: 18,
101
- /** Radius used when no point carries a weight. */
102
- BASE_MARKER_RADIUS: 8,
103
- /** Extra radius on a selected marker, so colour is never the only cue. */
104
- SELECTED_RADIUS_BOOST: 3,
105
- MARKER_STROKE_WIDTH: 1,
106
- SELECTED_STROKE_WIDTH: 3,
107
- MARKER_FILL_OPACITY: 0.7,
108
- /** Fallback view when there is nothing to fit to (roughly central Spain). */
109
- DEFAULT_CENTER: [40.4168, -3.7038],
110
- DEFAULT_ZOOM: 13,
111
- /** `fitBounds` on a single point collapses to max zoom; this caps it. */
112
- SINGLE_POINT_ZOOM: 14,
113
- FIT_BOUNDS_PADDING: [24, 24]
114
- };
115
- const BASEMAP_TILES = {
116
- light: "https://basemaps.cartocdn.com/rastertiles/light_all/{z}/{x}/{y}{r}.png",
117
- dark: "https://basemaps.cartocdn.com/rastertiles/dark_all/{z}/{x}/{y}{r}.png",
118
- attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>'
119
- };
120
- const HEATMAP_GROUPED_HEADER_ROWS = 2;
1
+ import { useContext, useMemo } from "react";
2
+ import { ComponentLabelsContext } from "./index63.js";
3
+ import { assignDefined } from "./index64.js";
4
+ function useComponentLabels(defaults, groups, instance) {
5
+ const context = useContext(ComponentLabelsContext);
6
+ return useMemo(
7
+ () => assignDefined({ ...defaults }, ...groups.map((group) => context[group]), instance),
8
+ [defaults, groups, context, instance]
9
+ );
10
+ }
121
11
  export {
122
- BASEMAP_TILES,
123
- CHART_COLORS,
124
- CHART_MODAL,
125
- CONTEXT_MENU_MARGIN,
126
- COUNTERS_PAGE_SIZE,
127
- GEO_MAP,
128
- GROUPED_BAR,
129
- HEATMAP_GROUPED_HEADER_ROWS,
130
- ICON_SIZE,
131
- KEYBOARD_STEP,
132
- MAX_CATEGORIES,
133
- MAX_SANKEY_NODES,
134
- MAX_SERIES,
135
- MAX_SUBCATEGORIES,
136
- MIN_COLUMN_WIDTH,
137
- PAGINATION,
138
- PANEL_EDGE_MARGIN,
139
- RANGE_SLIDER,
140
- SCATTER,
141
- SIDEBAR,
142
- SVG_STROKE_WIDTH,
143
- SVG_VIEWBOX,
144
- TOAST_DURATION_MS,
145
- VIEWPORT_MARGIN
12
+ useComponentLabels
146
13
  };
147
14
  //# sourceMappingURL=index68.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index68.js","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/** Gap kept between a dropdown panel and the edge of the box that clips it (px — used in JS calculations with DOM APIs). */\nexport const PANEL_EDGE_MARGIN = 8;\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',\n '#5B8DEF',\n '#4ECDC4',\n '#F7B731',\n '#A55EEA',\n '#26DE81',\n '#FC5C65',\n '#45AAF2',\n '#FD9644',\n '#2BCBBA',\n '#D1D8E0',\n '#778CA3',\n '#EB3B5A',\n '#3867D6',\n '#20BF6B',\n '#F7B731',\n '#8854D0',\n '#0FB9B1',\n '#FA8231',\n '#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/** GroupedBarChartCard layout (px — echarts canvas attributes, not CSS). */\nexport const GROUPED_BAR = {\n /**\n * Grid margins. `containLabel` reserves room for the tick labels only, so the\n * value-axis name and the legend need their own margin or they get clipped.\n */\n GRID_MARGIN: {\n BASE: 8,\n TOP: 16,\n RIGHT: 16,\n /** Extra left margin for a vertical value-axis name. */\n VALUE_NAME_Y: 34,\n /** Extra bottom margin for a horizontal value-axis name (`invertAxis`). */\n VALUE_NAME_X: 23,\n LEGEND: 30,\n },\n /** Distance from the value axis line to its name. */\n AXIS_NAME_GAP: { X: 28, Y: 38 },\n /** Raises a real `0` to a visible bar, so it is not mistaken for a gap. */\n MIN_BAR_HEIGHT: 2,\n /** Diameter of the colour dot before each tooltip line. */\n TOOLTIP_MARKER_SIZE: 10,\n /** Space between the tooltip colour dot and the series name. */\n TOOLTIP_MARKER_GAP: 4,\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/**\n * CARTO basemaps: deliberately muted so the markers carry the reading. CARTO\n * requires an API key (`?key=`, see `GeoMapCard.basemapKey`); without one it still\n * answers 200, with \"API KEY REQUIRED\" painted into every tile.\n */\nexport const BASEMAP_TILES = {\n light: 'https://basemaps.cartocdn.com/rastertiles/light_all/{z}/{x}/{y}{r}.png',\n dark: 'https://basemaps.cartocdn.com/rastertiles/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\n/** HeatmapMatrix header rows when column groups are in use (group row + column row). */\nexport const HEATMAP_GROUPED_HEADER_ROWS = 2;\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,oBAAoB;AAG1B,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,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;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,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzB,aAAa;AAAA,IACX,MAAM;AAAA,IACN,KAAK;AAAA,IACL,OAAO;AAAA;AAAA,IAEP,cAAc;AAAA;AAAA,IAEd,cAAc;AAAA,IACd,QAAQ;AAAA,EAAA;AAAA;AAAA,EAGV,eAAe,EAAE,GAAG,IAAI,GAAG,GAAA;AAAA;AAAA,EAE3B,gBAAgB;AAAA;AAAA,EAEhB,qBAAqB;AAAA;AAAA,EAErB,oBAAoB;AACtB;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;AAOO,MAAM,gBAAgB;AAAA,EAC3B,OAAO;AAAA,EACP,MAAM;AAAA,EACN,aACE;AAEJ;AAGO,MAAM,8BAA8B;"}
1
+ {"version":3,"file":"index68.js","sources":["../src/labels/useComponentLabels.ts"],"sourcesContent":["import { useContext, useMemo } from 'react';\nimport type { ComponentLabels } from './ComponentLabels.types';\nimport { ComponentLabelsContext } from './ComponentLabelsContext';\nimport { assignDefined } from './assignDefined';\n\n/**\n * Internal. Resolves a component's texts: its defaults, then each provider group in order,\n * then the instance overrides. Specific props (e.g. `placeholder`) are applied by the caller.\n * `defaults` and `groups` must be module-level constants.\n */\nexport function useComponentLabels<T extends object>(\n defaults: T,\n groups: readonly (keyof ComponentLabels)[],\n instance?: Partial<T>,\n): T {\n const context = useContext(ComponentLabelsContext);\n return useMemo(\n () => assignDefined({ ...defaults }, ...groups.map((group) => context[group]), instance),\n [defaults, groups, context, instance],\n );\n}\n"],"names":[],"mappings":";;;AAUO,SAAS,mBACd,UACA,QACA,UACG;AACH,QAAM,UAAU,WAAW,sBAAsB;AACjD,SAAO;AAAA,IACL,MAAM,cAAc,EAAE,GAAG,YAAY,GAAG,OAAO,IAAI,CAAC,UAAU,QAAQ,KAAK,CAAC,GAAG,QAAQ;AAAA,IACvF,CAAC,UAAU,QAAQ,SAAS,QAAQ;AAAA,EAAA;AAExC;"}
package/dist/index69.cjs CHANGED
@@ -1,72 +1,60 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-HS837";
4
- const gapNone = "krc-gapNone-MmCvp";
5
- const gapXs = "krc-gapXs-Jketq";
6
- const gapSm = "krc-gapSm-BFLhK";
7
- const gapMd = "krc-gapMd--7IRg";
8
- const gapLg = "krc-gapLg-ehuIZ";
9
- const gapXl = "krc-gapXl-kNEyc";
10
- const alignStart = "krc-alignStart-q6fMC";
11
- const alignCenter = "krc-alignCenter-Py2Kt";
12
- const alignEnd = "krc-alignEnd-ialGn";
13
- const alignStretch = "krc-alignStretch-J-rq4";
14
- const alignBaseline = "krc-alignBaseline-Hg-4L";
15
- const justifyStart = "krc-justifyStart-tBqbD";
16
- const justifyCenter = "krc-justifyCenter-6QDaO";
17
- const justifyEnd = "krc-justifyEnd-2tbcB";
18
- const justifyBetween = "krc-justifyBetween-5W1AJ";
19
- const justifyAround = "krc-justifyAround-AMU1m";
20
- const justifyEvenly = "krc-justifyEvenly-Vj3C-";
21
- const wrap = "krc-wrap-Q4txZ";
22
- const nowrap = "krc-nowrap-BUcfT";
23
- const dirRow = "krc-dirRow-NBoPO";
24
- const dirColumn = "krc-dirColumn-gJ7qS";
3
+ const root = "krc-root--s1oD";
4
+ const trigger = "krc-trigger-WMlNa";
5
+ const active = "krc-active-O65lj";
6
+ const triggerContent = "krc-triggerContent-JipmE";
7
+ const chevron = "krc-chevron-J2Zsy";
8
+ const label = "krc-label-lZlV-";
9
+ const value = "krc-value-HsQrC";
10
+ const clear = "krc-clear-bsi5j";
11
+ const panel = "krc-panel--0odx";
12
+ const searchContainer = "krc-searchContainer-WRS-U";
13
+ const search = "krc-search-Dh3pY";
14
+ const list = "krc-list-1RUtr";
15
+ const noResults = "krc-noResults-Hin1U";
16
+ const option = "krc-option-0mFGi";
17
+ const focused = "krc-focused-0-7tE";
18
+ const selected = "krc-selected-1zIqI";
19
+ const optionLabel = "krc-optionLabel-pj-hL";
20
+ const optionCount = "krc-optionCount-rVlCP";
25
21
  const styles = {
26
22
  root,
27
- gapNone,
28
- gapXs,
29
- gapSm,
30
- gapMd,
31
- gapLg,
32
- gapXl,
33
- alignStart,
34
- alignCenter,
35
- alignEnd,
36
- alignStretch,
37
- alignBaseline,
38
- justifyStart,
39
- justifyCenter,
40
- justifyEnd,
41
- justifyBetween,
42
- justifyAround,
43
- justifyEvenly,
44
- wrap,
45
- nowrap,
46
- dirRow,
47
- dirColumn
23
+ trigger,
24
+ active,
25
+ triggerContent,
26
+ chevron,
27
+ label,
28
+ value,
29
+ clear,
30
+ panel,
31
+ searchContainer,
32
+ search,
33
+ list,
34
+ noResults,
35
+ option,
36
+ focused,
37
+ selected,
38
+ optionLabel,
39
+ optionCount
48
40
  };
49
- exports.alignBaseline = alignBaseline;
50
- exports.alignCenter = alignCenter;
51
- exports.alignEnd = alignEnd;
52
- exports.alignStart = alignStart;
53
- exports.alignStretch = alignStretch;
41
+ exports.active = active;
42
+ exports.chevron = chevron;
43
+ exports.clear = clear;
54
44
  exports.default = styles;
55
- exports.dirColumn = dirColumn;
56
- exports.dirRow = dirRow;
57
- exports.gapLg = gapLg;
58
- exports.gapMd = gapMd;
59
- exports.gapNone = gapNone;
60
- exports.gapSm = gapSm;
61
- exports.gapXl = gapXl;
62
- exports.gapXs = gapXs;
63
- exports.justifyAround = justifyAround;
64
- exports.justifyBetween = justifyBetween;
65
- exports.justifyCenter = justifyCenter;
66
- exports.justifyEnd = justifyEnd;
67
- exports.justifyEvenly = justifyEvenly;
68
- exports.justifyStart = justifyStart;
69
- exports.nowrap = nowrap;
45
+ exports.focused = focused;
46
+ exports.label = label;
47
+ exports.list = list;
48
+ exports.noResults = noResults;
49
+ exports.option = option;
50
+ exports.optionCount = optionCount;
51
+ exports.optionLabel = optionLabel;
52
+ exports.panel = panel;
70
53
  exports.root = root;
71
- exports.wrap = wrap;
54
+ exports.search = search;
55
+ exports.searchContainer = searchContainer;
56
+ exports.selected = selected;
57
+ exports.trigger = trigger;
58
+ exports.triggerContent = triggerContent;
59
+ exports.value = value;
72
60
  //# sourceMappingURL=index69.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index69.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index69.js CHANGED
@@ -1,72 +1,60 @@
1
- const root = "krc-root-HS837";
2
- const gapNone = "krc-gapNone-MmCvp";
3
- const gapXs = "krc-gapXs-Jketq";
4
- const gapSm = "krc-gapSm-BFLhK";
5
- const gapMd = "krc-gapMd--7IRg";
6
- const gapLg = "krc-gapLg-ehuIZ";
7
- const gapXl = "krc-gapXl-kNEyc";
8
- const alignStart = "krc-alignStart-q6fMC";
9
- const alignCenter = "krc-alignCenter-Py2Kt";
10
- const alignEnd = "krc-alignEnd-ialGn";
11
- const alignStretch = "krc-alignStretch-J-rq4";
12
- const alignBaseline = "krc-alignBaseline-Hg-4L";
13
- const justifyStart = "krc-justifyStart-tBqbD";
14
- const justifyCenter = "krc-justifyCenter-6QDaO";
15
- const justifyEnd = "krc-justifyEnd-2tbcB";
16
- const justifyBetween = "krc-justifyBetween-5W1AJ";
17
- const justifyAround = "krc-justifyAround-AMU1m";
18
- const justifyEvenly = "krc-justifyEvenly-Vj3C-";
19
- const wrap = "krc-wrap-Q4txZ";
20
- const nowrap = "krc-nowrap-BUcfT";
21
- const dirRow = "krc-dirRow-NBoPO";
22
- const dirColumn = "krc-dirColumn-gJ7qS";
1
+ const root = "krc-root--s1oD";
2
+ const trigger = "krc-trigger-WMlNa";
3
+ const active = "krc-active-O65lj";
4
+ const triggerContent = "krc-triggerContent-JipmE";
5
+ const chevron = "krc-chevron-J2Zsy";
6
+ const label = "krc-label-lZlV-";
7
+ const value = "krc-value-HsQrC";
8
+ const clear = "krc-clear-bsi5j";
9
+ const panel = "krc-panel--0odx";
10
+ const searchContainer = "krc-searchContainer-WRS-U";
11
+ const search = "krc-search-Dh3pY";
12
+ const list = "krc-list-1RUtr";
13
+ const noResults = "krc-noResults-Hin1U";
14
+ const option = "krc-option-0mFGi";
15
+ const focused = "krc-focused-0-7tE";
16
+ const selected = "krc-selected-1zIqI";
17
+ const optionLabel = "krc-optionLabel-pj-hL";
18
+ const optionCount = "krc-optionCount-rVlCP";
23
19
  const styles = {
24
20
  root,
25
- gapNone,
26
- gapXs,
27
- gapSm,
28
- gapMd,
29
- gapLg,
30
- gapXl,
31
- alignStart,
32
- alignCenter,
33
- alignEnd,
34
- alignStretch,
35
- alignBaseline,
36
- justifyStart,
37
- justifyCenter,
38
- justifyEnd,
39
- justifyBetween,
40
- justifyAround,
41
- justifyEvenly,
42
- wrap,
43
- nowrap,
44
- dirRow,
45
- dirColumn
21
+ trigger,
22
+ active,
23
+ triggerContent,
24
+ chevron,
25
+ label,
26
+ value,
27
+ clear,
28
+ panel,
29
+ searchContainer,
30
+ search,
31
+ list,
32
+ noResults,
33
+ option,
34
+ focused,
35
+ selected,
36
+ optionLabel,
37
+ optionCount
46
38
  };
47
39
  export {
48
- alignBaseline,
49
- alignCenter,
50
- alignEnd,
51
- alignStart,
52
- alignStretch,
40
+ active,
41
+ chevron,
42
+ clear,
53
43
  styles as default,
54
- dirColumn,
55
- dirRow,
56
- gapLg,
57
- gapMd,
58
- gapNone,
59
- gapSm,
60
- gapXl,
61
- gapXs,
62
- justifyAround,
63
- justifyBetween,
64
- justifyCenter,
65
- justifyEnd,
66
- justifyEvenly,
67
- justifyStart,
68
- nowrap,
44
+ focused,
45
+ label,
46
+ list,
47
+ noResults,
48
+ option,
49
+ optionCount,
50
+ optionLabel,
51
+ panel,
69
52
  root,
70
- wrap
53
+ search,
54
+ searchContainer,
55
+ selected,
56
+ trigger,
57
+ triggerContent,
58
+ value
71
59
  };
72
60
  //# sourceMappingURL=index69.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index69.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index70.cjs CHANGED
@@ -1,9 +1,20 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-pJYpn";
4
- const styles = {
5
- root
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const marked_esm = require("./index146.cjs");
4
+ const purify_es = require("./index147.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
+ }
6
11
  };
7
- exports.default = styles;
8
- exports.root = root;
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;
9
20
  //# sourceMappingURL=index70.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index70.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index70.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/index70.js CHANGED
@@ -1,9 +1,20 @@
1
- const root = "krc-root-pJYpn";
2
- const styles = {
3
- root
1
+ import { marked as g } from "./index146.js";
2
+ import purify from "./index147.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
+ }
4
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));
5
16
  export {
6
- styles as default,
7
- root
17
+ parseMarkdown,
18
+ sanitizeHtml
8
19
  };
9
20
  //# sourceMappingURL=index70.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index70.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index70.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/index71.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-cQSdQ";
4
- const disabled = "krc-disabled-mXUpZ";
5
- const active = "krc-active-c6Qv6";
6
- const collapsed = "krc-collapsed-zZjr3";
7
- const icon = "krc-icon-dmCQi";
8
- const label = "krc-label-ohVFC";
9
- const badge = "krc-badge-D8UnW";
3
+ const root = "krc-root-93Nfs";
10
4
  const styles = {
11
- root,
12
- disabled,
13
- active,
14
- collapsed,
15
- icon,
16
- label,
17
- badge
5
+ root
18
6
  };
19
- exports.active = active;
20
- exports.badge = badge;
21
- exports.collapsed = collapsed;
22
7
  exports.default = styles;
23
- exports.disabled = disabled;
24
- exports.icon = icon;
25
- exports.label = label;
26
8
  exports.root = root;
27
9
  //# sourceMappingURL=index71.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index71.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index71.js CHANGED
@@ -1,27 +1,9 @@
1
- const root = "krc-root-cQSdQ";
2
- const disabled = "krc-disabled-mXUpZ";
3
- const active = "krc-active-c6Qv6";
4
- const collapsed = "krc-collapsed-zZjr3";
5
- const icon = "krc-icon-dmCQi";
6
- const label = "krc-label-ohVFC";
7
- const badge = "krc-badge-D8UnW";
1
+ const root = "krc-root-93Nfs";
8
2
  const styles = {
9
- root,
10
- disabled,
11
- active,
12
- collapsed,
13
- icon,
14
- label,
15
- badge
3
+ root
16
4
  };
17
5
  export {
18
- active,
19
- badge,
20
- collapsed,
21
6
  styles as default,
22
- disabled,
23
- icon,
24
- label,
25
7
  root
26
8
  };
27
9
  //# sourceMappingURL=index71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index71.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index72.cjs CHANGED
@@ -1,18 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-GPZXT";
4
- const sm = "krc-sm-QGnvH";
5
- const md = "krc-md-rQKlJ";
6
- const lg = "krc-lg-eC2yT";
3
+ const overlay = "krc-overlay-4gFc3";
4
+ const root = "krc-root-eKDda";
5
+ const header = "krc-header-YrzLd";
6
+ const title = "krc-title-9rzEH";
7
+ const closeBtn = "krc-closeBtn-vGJ7P";
8
+ const body = "krc-body-g43Cd";
9
+ const footer = "krc-footer-JRwi5";
7
10
  const styles = {
11
+ overlay,
8
12
  root,
9
- sm,
10
- md,
11
- lg
13
+ header,
14
+ title,
15
+ closeBtn,
16
+ body,
17
+ footer
12
18
  };
19
+ exports.body = body;
20
+ exports.closeBtn = closeBtn;
13
21
  exports.default = styles;
14
- exports.lg = lg;
15
- exports.md = md;
22
+ exports.footer = footer;
23
+ exports.header = header;
24
+ exports.overlay = overlay;
16
25
  exports.root = root;
17
- exports.sm = sm;
26
+ exports.title = title;
18
27
  //# sourceMappingURL=index72.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index72.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}