@ktnpm_devops/react-component 0.18.0 → 0.19.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 (362) hide show
  1. package/dist/data/LiveExplorerTable/LiveExplorerTable.d.ts.map +1 -1
  2. package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts +5 -0
  3. package/dist/data/LiveExplorerTable/LiveExplorerTable.types.d.ts.map +1 -1
  4. package/dist/index10.cjs +1 -1
  5. package/dist/index10.js +1 -1
  6. package/dist/index100.cjs +22 -28
  7. package/dist/index100.cjs.map +1 -1
  8. package/dist/index100.js +22 -28
  9. package/dist/index100.js.map +1 -1
  10. package/dist/index101.cjs +48 -22
  11. package/dist/index101.cjs.map +1 -1
  12. package/dist/index101.js +47 -21
  13. package/dist/index101.js.map +1 -1
  14. package/dist/index102.cjs +16 -34
  15. package/dist/index102.cjs.map +1 -1
  16. package/dist/index102.js +16 -34
  17. package/dist/index102.js.map +1 -1
  18. package/dist/index103.cjs +36 -43
  19. package/dist/index103.cjs.map +1 -1
  20. package/dist/index103.js +35 -42
  21. package/dist/index103.js.map +1 -1
  22. package/dist/index104.cjs +6 -24
  23. package/dist/index104.cjs.map +1 -1
  24. package/dist/index104.js +5 -23
  25. package/dist/index104.js.map +1 -1
  26. package/dist/index105.cjs +21 -39
  27. package/dist/index105.cjs.map +1 -1
  28. package/dist/index105.js +20 -38
  29. package/dist/index105.js.map +1 -1
  30. package/dist/index106.cjs +22 -9
  31. package/dist/index106.cjs.map +1 -1
  32. package/dist/index106.js +21 -8
  33. package/dist/index106.js.map +1 -1
  34. package/dist/index107.cjs +6 -10
  35. package/dist/index107.cjs.map +1 -1
  36. package/dist/index107.js +5 -9
  37. package/dist/index107.js.map +1 -1
  38. package/dist/index108.cjs +19 -20
  39. package/dist/index108.cjs.map +1 -1
  40. package/dist/index108.js +18 -19
  41. package/dist/index108.js.map +1 -1
  42. package/dist/index109.cjs +19 -14
  43. package/dist/index109.cjs.map +1 -1
  44. package/dist/index109.js +18 -13
  45. package/dist/index109.js.map +1 -1
  46. package/dist/index11.cjs +1 -1
  47. package/dist/index11.js +1 -1
  48. package/dist/index110.cjs +33 -10
  49. package/dist/index110.cjs.map +1 -1
  50. package/dist/index110.js +32 -9
  51. package/dist/index110.js.map +1 -1
  52. package/dist/index111.cjs +2 -65
  53. package/dist/index111.cjs.map +1 -1
  54. package/dist/index111.js +3 -66
  55. package/dist/index111.js.map +1 -1
  56. package/dist/index112.cjs +49 -46
  57. package/dist/index112.cjs.map +1 -1
  58. package/dist/index112.js +49 -46
  59. package/dist/index112.js.map +1 -1
  60. package/dist/index113.cjs +22 -21
  61. package/dist/index113.cjs.map +1 -1
  62. package/dist/index113.js +21 -20
  63. package/dist/index113.js.map +1 -1
  64. package/dist/index114.cjs +69 -6
  65. package/dist/index114.cjs.map +1 -1
  66. package/dist/index114.js +68 -5
  67. package/dist/index114.js.map +1 -1
  68. package/dist/index115.cjs +7 -47
  69. package/dist/index115.cjs.map +1 -1
  70. package/dist/index115.js +7 -47
  71. package/dist/index115.js.map +1 -1
  72. package/dist/index116.cjs +40 -18
  73. package/dist/index116.cjs.map +1 -1
  74. package/dist/index116.js +39 -17
  75. package/dist/index116.js.map +1 -1
  76. package/dist/index117.cjs +35 -36
  77. package/dist/index117.cjs.map +1 -1
  78. package/dist/index117.js +34 -35
  79. package/dist/index117.js.map +1 -1
  80. package/dist/index118.cjs +42 -21
  81. package/dist/index118.cjs.map +1 -1
  82. package/dist/index118.js +42 -21
  83. package/dist/index118.js.map +1 -1
  84. package/dist/index119.cjs +22 -67
  85. package/dist/index119.cjs.map +1 -1
  86. package/dist/index119.js +23 -68
  87. package/dist/index119.js.map +1 -1
  88. package/dist/index12.cjs +1 -1
  89. package/dist/index12.js +1 -1
  90. package/dist/index120.cjs +38 -6
  91. package/dist/index120.cjs.map +1 -1
  92. package/dist/index120.js +38 -6
  93. package/dist/index120.js.map +1 -1
  94. package/dist/index121.cjs +9 -40
  95. package/dist/index121.cjs.map +1 -1
  96. package/dist/index121.js +8 -39
  97. package/dist/index121.js.map +1 -1
  98. package/dist/index122.cjs +10 -42
  99. package/dist/index122.cjs.map +1 -1
  100. package/dist/index122.js +9 -41
  101. package/dist/index122.js.map +1 -1
  102. package/dist/index123.cjs +20 -7
  103. package/dist/index123.cjs.map +1 -1
  104. package/dist/index123.js +19 -6
  105. package/dist/index123.js.map +1 -1
  106. package/dist/index124.cjs +14 -58
  107. package/dist/index124.cjs.map +1 -1
  108. package/dist/index124.js +13 -57
  109. package/dist/index124.js.map +1 -1
  110. package/dist/index125.cjs +10 -57
  111. package/dist/index125.cjs.map +1 -1
  112. package/dist/index125.js +9 -56
  113. package/dist/index125.js.map +1 -1
  114. package/dist/index126.cjs +69 -39
  115. package/dist/index126.cjs.map +1 -1
  116. package/dist/index126.js +68 -38
  117. package/dist/index126.js.map +1 -1
  118. package/dist/index127.cjs +24 -92
  119. package/dist/index127.cjs.map +1 -1
  120. package/dist/index127.js +23 -91
  121. package/dist/index127.js.map +1 -1
  122. package/dist/index128.cjs +22 -34
  123. package/dist/index128.cjs.map +1 -1
  124. package/dist/index128.js +22 -34
  125. package/dist/index128.js.map +1 -1
  126. package/dist/index13.cjs +1 -1
  127. package/dist/index13.js +1 -1
  128. package/dist/index14.cjs +1 -1
  129. package/dist/index14.js +1 -1
  130. package/dist/index15.cjs +1 -1
  131. package/dist/index15.js +1 -1
  132. package/dist/index16.cjs +1 -1
  133. package/dist/index16.js +1 -1
  134. package/dist/index17.cjs +1 -1
  135. package/dist/index17.js +1 -1
  136. package/dist/index18.cjs +1 -1
  137. package/dist/index18.js +1 -1
  138. package/dist/index19.cjs +1 -1
  139. package/dist/index19.js +1 -1
  140. package/dist/index20.cjs +1 -1
  141. package/dist/index20.js +1 -1
  142. package/dist/index21.cjs +1 -1
  143. package/dist/index21.js +1 -1
  144. package/dist/index22.cjs +1 -1
  145. package/dist/index22.js +1 -1
  146. package/dist/index23.cjs +1 -1
  147. package/dist/index23.js +1 -1
  148. package/dist/index24.cjs +1 -1
  149. package/dist/index24.js +1 -1
  150. package/dist/index25.cjs +1 -1
  151. package/dist/index25.js +1 -1
  152. package/dist/index26.cjs +1 -1
  153. package/dist/index26.js +1 -1
  154. package/dist/index27.cjs +1 -1
  155. package/dist/index27.js +1 -1
  156. package/dist/index28.cjs +1 -1
  157. package/dist/index28.js +1 -1
  158. package/dist/index29.cjs +1 -1
  159. package/dist/index29.js +1 -1
  160. package/dist/index30.cjs +10 -10
  161. package/dist/index30.js +10 -10
  162. package/dist/index31.cjs +4 -4
  163. package/dist/index31.js +4 -4
  164. package/dist/index32.cjs +3 -3
  165. package/dist/index32.js +3 -3
  166. package/dist/index33.cjs +1 -1
  167. package/dist/index33.js +1 -1
  168. package/dist/index34.cjs +2 -1
  169. package/dist/index34.cjs.map +1 -1
  170. package/dist/index34.js +2 -1
  171. package/dist/index34.js.map +1 -1
  172. package/dist/index35.cjs +1 -1
  173. package/dist/index35.js +1 -1
  174. package/dist/index36.cjs +2 -2
  175. package/dist/index36.js +2 -2
  176. package/dist/index37.cjs +1 -1
  177. package/dist/index37.js +1 -1
  178. package/dist/index38.cjs +1 -1
  179. package/dist/index38.js +1 -1
  180. package/dist/index39.cjs +1 -1
  181. package/dist/index39.js +1 -1
  182. package/dist/index40.cjs +1 -1
  183. package/dist/index40.js +1 -1
  184. package/dist/index41.cjs +1 -1
  185. package/dist/index41.js +1 -1
  186. package/dist/index43.cjs +1 -1
  187. package/dist/index43.js +1 -1
  188. package/dist/index44.cjs +1 -1
  189. package/dist/index44.js +1 -1
  190. package/dist/index45.cjs +3 -3
  191. package/dist/index45.js +3 -3
  192. package/dist/index46.cjs +1 -1
  193. package/dist/index46.js +1 -1
  194. package/dist/index47.cjs +1 -1
  195. package/dist/index47.js +1 -1
  196. package/dist/index48.cjs +1 -1
  197. package/dist/index48.js +1 -1
  198. package/dist/index49.cjs +1 -1
  199. package/dist/index49.js +1 -1
  200. package/dist/index50.cjs +1 -1
  201. package/dist/index50.js +1 -1
  202. package/dist/index51.cjs +1 -1
  203. package/dist/index51.js +1 -1
  204. package/dist/index52.cjs +2 -2
  205. package/dist/index52.js +2 -2
  206. package/dist/index53.cjs +1 -1
  207. package/dist/index53.js +1 -1
  208. package/dist/index54.cjs +1 -1
  209. package/dist/index54.js +1 -1
  210. package/dist/index55.cjs +2 -2
  211. package/dist/index55.js +2 -2
  212. package/dist/index56.cjs +1 -1
  213. package/dist/index56.js +1 -1
  214. package/dist/index57.cjs +1 -1
  215. package/dist/index57.js +1 -1
  216. package/dist/index58.cjs +1 -1
  217. package/dist/index58.js +1 -1
  218. package/dist/index60.cjs +64 -19
  219. package/dist/index60.cjs.map +1 -1
  220. package/dist/index60.js +64 -19
  221. package/dist/index60.js.map +1 -1
  222. package/dist/index61.cjs +12 -15
  223. package/dist/index61.cjs.map +1 -1
  224. package/dist/index61.js +12 -15
  225. package/dist/index61.js.map +1 -1
  226. package/dist/index63.cjs +34 -22
  227. package/dist/index63.cjs.map +1 -1
  228. package/dist/index63.js +34 -22
  229. package/dist/index63.js.map +1 -1
  230. package/dist/index64.cjs +16 -13
  231. package/dist/index64.cjs.map +1 -1
  232. package/dist/index64.js +16 -13
  233. package/dist/index64.js.map +1 -1
  234. package/dist/index65.cjs +11 -2
  235. package/dist/index65.cjs.map +1 -1
  236. package/dist/index65.js +11 -2
  237. package/dist/index65.js.map +1 -1
  238. package/dist/index66.cjs +14 -8
  239. package/dist/index66.cjs.map +1 -1
  240. package/dist/index66.js +15 -9
  241. package/dist/index66.js.map +1 -1
  242. package/dist/index67.cjs +19 -22
  243. package/dist/index67.cjs.map +1 -1
  244. package/dist/index67.js +20 -23
  245. package/dist/index67.js.map +1 -1
  246. package/dist/index68.cjs +36 -6
  247. package/dist/index68.cjs.map +1 -1
  248. package/dist/index68.js +36 -6
  249. package/dist/index68.js.map +1 -1
  250. package/dist/index69.cjs +36 -12
  251. package/dist/index69.cjs.map +1 -1
  252. package/dist/index69.js +36 -12
  253. package/dist/index69.js.map +1 -1
  254. package/dist/index70.cjs +49 -16
  255. package/dist/index70.cjs.map +1 -1
  256. package/dist/index70.js +50 -17
  257. package/dist/index70.js.map +1 -1
  258. package/dist/index71.cjs +17 -17
  259. package/dist/index71.js +18 -18
  260. package/dist/index72.cjs +2 -20
  261. package/dist/index72.cjs.map +1 -1
  262. package/dist/index72.js +3 -21
  263. package/dist/index72.js.map +1 -1
  264. package/dist/index73.cjs +5 -11
  265. package/dist/index73.cjs.map +1 -1
  266. package/dist/index73.js +6 -12
  267. package/dist/index73.js.map +1 -1
  268. package/dist/index74.cjs +17 -2
  269. package/dist/index74.cjs.map +1 -1
  270. package/dist/index74.js +17 -2
  271. package/dist/index74.js.map +1 -1
  272. package/dist/index75.cjs +10 -19
  273. package/dist/index75.cjs.map +1 -1
  274. package/dist/index75.js +11 -20
  275. package/dist/index75.js.map +1 -1
  276. package/dist/index77.cjs +42 -24
  277. package/dist/index77.cjs.map +1 -1
  278. package/dist/index77.js +43 -25
  279. package/dist/index77.js.map +1 -1
  280. package/dist/index78.cjs +6 -17
  281. package/dist/index78.cjs.map +1 -1
  282. package/dist/index78.js +5 -16
  283. package/dist/index78.js.map +1 -1
  284. package/dist/index79.cjs +17 -6
  285. package/dist/index79.cjs.map +1 -1
  286. package/dist/index79.js +16 -5
  287. package/dist/index79.js.map +1 -1
  288. package/dist/index80.cjs +1 -1
  289. package/dist/index80.js +1 -1
  290. package/dist/index81.cjs +19 -64
  291. package/dist/index81.cjs.map +1 -1
  292. package/dist/index81.js +20 -65
  293. package/dist/index81.js.map +1 -1
  294. package/dist/index82.cjs +34 -46
  295. package/dist/index82.cjs.map +1 -1
  296. package/dist/index82.js +34 -46
  297. package/dist/index82.js.map +1 -1
  298. package/dist/index84.cjs +54 -30
  299. package/dist/index84.cjs.map +1 -1
  300. package/dist/index84.js +54 -30
  301. package/dist/index84.js.map +1 -1
  302. package/dist/index85.cjs +134 -40
  303. package/dist/index85.cjs.map +1 -1
  304. package/dist/index85.js +133 -39
  305. package/dist/index85.js.map +1 -1
  306. package/dist/index86.cjs +38 -32
  307. package/dist/index86.cjs.map +1 -1
  308. package/dist/index86.js +38 -32
  309. package/dist/index86.js.map +1 -1
  310. package/dist/index87.cjs +79 -13
  311. package/dist/index87.cjs.map +1 -1
  312. package/dist/index87.js +80 -14
  313. package/dist/index87.js.map +1 -1
  314. package/dist/index88.cjs +15 -18
  315. package/dist/index88.cjs.map +1 -1
  316. package/dist/index88.js +15 -18
  317. package/dist/index88.js.map +1 -1
  318. package/dist/index89.cjs +26 -14
  319. package/dist/index89.cjs.map +1 -1
  320. package/dist/index89.js +26 -14
  321. package/dist/index89.js.map +1 -1
  322. package/dist/index90.cjs +17 -8
  323. package/dist/index90.cjs.map +1 -1
  324. package/dist/index90.js +18 -9
  325. package/dist/index90.js.map +1 -1
  326. package/dist/index91.cjs +19 -116
  327. package/dist/index91.cjs.map +1 -1
  328. package/dist/index91.js +18 -115
  329. package/dist/index91.js.map +1 -1
  330. package/dist/index92.cjs +16 -25
  331. package/dist/index92.cjs.map +1 -1
  332. package/dist/index92.js +17 -26
  333. package/dist/index92.js.map +1 -1
  334. package/dist/index93.cjs +16 -34
  335. package/dist/index93.cjs.map +1 -1
  336. package/dist/index93.js +16 -34
  337. package/dist/index93.js.map +1 -1
  338. package/dist/index94.cjs +116 -22
  339. package/dist/index94.cjs.map +1 -1
  340. package/dist/index94.js +115 -21
  341. package/dist/index94.js.map +1 -1
  342. package/dist/index95.cjs +35 -77
  343. package/dist/index95.cjs.map +1 -1
  344. package/dist/index95.js +35 -77
  345. package/dist/index95.js.map +1 -1
  346. package/dist/index96.cjs +39 -9
  347. package/dist/index96.cjs.map +1 -1
  348. package/dist/index96.js +38 -8
  349. package/dist/index96.js.map +1 -1
  350. package/dist/index97.cjs +86 -127
  351. package/dist/index97.cjs.map +1 -1
  352. package/dist/index97.js +87 -128
  353. package/dist/index97.js.map +1 -1
  354. package/dist/index98.cjs +19 -25
  355. package/dist/index98.cjs.map +1 -1
  356. package/dist/index98.js +20 -26
  357. package/dist/index98.js.map +1 -1
  358. package/dist/index99.cjs +4 -19
  359. package/dist/index99.cjs.map +1 -1
  360. package/dist/index99.js +5 -20
  361. package/dist/index99.js.map +1 -1
  362. package/package.json +1 -1
package/dist/index78.js CHANGED
@@ -1,20 +1,9 @@
1
- import { marked as g } from "./index130.js";
2
- import purify from "./index131.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
- }
1
+ const root = "krc-root-pJYpn";
2
+ const styles = {
3
+ root
9
4
  };
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));
16
5
  export {
17
- parseMarkdown,
18
- sanitizeHtml
6
+ styles as default,
7
+ root
19
8
  };
20
9
  //# sourceMappingURL=index78.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index78.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;"}
1
+ {"version":3,"file":"index78.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index79.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-93Nfs";
4
- const styles = {
5
- root
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const marked_esm = require("./index130.cjs");
4
+ const purify_es = require("./index131.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=index79.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index79.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index79.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/index79.js CHANGED
@@ -1,9 +1,20 @@
1
- const root = "krc-root-93Nfs";
2
- const styles = {
3
- root
1
+ import { marked as g } from "./index130.js";
2
+ import purify from "./index131.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=index79.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index79.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index79.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/index80.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-pJYpn";
3
+ const root = "krc-root-93Nfs";
4
4
  const styles = {
5
5
  root
6
6
  };
package/dist/index80.js CHANGED
@@ -1,4 +1,4 @@
1
- const root = "krc-root-pJYpn";
1
+ const root = "krc-root-93Nfs";
2
2
  const styles = {
3
3
  root
4
4
  };
package/dist/index81.cjs CHANGED
@@ -1,72 +1,27 @@
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-xKc1n";
4
+ const item = "krc-item-Omuyb";
5
+ const head = "krc-head-ePoJ-";
6
+ const headContent = "krc-headContent-wymxG";
7
+ const chev = "krc-chev-yPNHx";
8
+ const isOpen = "krc-isOpen-wp7DR";
9
+ const body = "krc-body-pZ1Bk";
25
10
  const styles = {
26
11
  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
12
+ item,
13
+ head,
14
+ headContent,
15
+ chev,
16
+ isOpen,
17
+ body
48
18
  };
49
- exports.alignBaseline = alignBaseline;
50
- exports.alignCenter = alignCenter;
51
- exports.alignEnd = alignEnd;
52
- exports.alignStart = alignStart;
53
- exports.alignStretch = alignStretch;
19
+ exports.body = body;
20
+ exports.chev = chev;
54
21
  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;
22
+ exports.head = head;
23
+ exports.headContent = headContent;
24
+ exports.isOpen = isOpen;
25
+ exports.item = item;
70
26
  exports.root = root;
71
- exports.wrap = wrap;
72
27
  //# sourceMappingURL=index81.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index81.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index81.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index81.js CHANGED
@@ -1,72 +1,27 @@
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-xKc1n";
2
+ const item = "krc-item-Omuyb";
3
+ const head = "krc-head-ePoJ-";
4
+ const headContent = "krc-headContent-wymxG";
5
+ const chev = "krc-chev-yPNHx";
6
+ const isOpen = "krc-isOpen-wp7DR";
7
+ const body = "krc-body-pZ1Bk";
23
8
  const styles = {
24
9
  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
10
+ item,
11
+ head,
12
+ headContent,
13
+ chev,
14
+ isOpen,
15
+ body
46
16
  };
47
17
  export {
48
- alignBaseline,
49
- alignCenter,
50
- alignEnd,
51
- alignStart,
52
- alignStretch,
18
+ body,
19
+ chev,
53
20
  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,
69
- root,
70
- wrap
21
+ head,
22
+ headContent,
23
+ isOpen,
24
+ item,
25
+ root
71
26
  };
72
27
  //# sourceMappingURL=index81.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
package/dist/index82.cjs CHANGED
@@ -1,54 +1,42 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-zHJLB";
4
- const trigger = "krc-trigger-kRS4l";
5
- const isOpen = "krc-isOpen-4fsg7";
6
- const icon = "krc-icon-YS-DJ";
7
- const arrow = "krc-arrow-wiq8b";
8
- const pop = "krc-pop-boLzq";
9
- const head = "krc-head-FDhHr";
10
- const nav = "krc-nav-ZcR0Q";
11
- const title = "krc-title-MqB3H";
12
- const dows = "krc-dows-EshP3";
13
- const grid = "krc-grid-xiUF-";
14
- const day = "krc-day-2W9yq";
15
- const empty = "krc-empty-Mf05c";
16
- const off = "krc-off-tATo-";
17
- const able = "krc-able-bD-du";
18
- const selected = "krc-selected-Q1am3";
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";
19
15
  const styles = {
20
16
  root,
21
- trigger,
22
- isOpen,
23
- icon,
24
- arrow,
25
- pop,
26
- head,
27
- nav,
28
- title,
29
- dows,
30
- grid,
31
- day,
32
- empty,
33
- off,
34
- able,
35
- selected
17
+ chip,
18
+ active,
19
+ summary,
20
+ popover,
21
+ popoverHeader,
22
+ fields,
23
+ field,
24
+ error,
25
+ actions,
26
+ btnGhost,
27
+ btnPrimary
36
28
  };
37
- exports.able = able;
38
- exports.arrow = arrow;
39
- exports.day = day;
29
+ exports.actions = actions;
30
+ exports.active = active;
31
+ exports.btnGhost = btnGhost;
32
+ exports.btnPrimary = btnPrimary;
33
+ exports.chip = chip;
40
34
  exports.default = styles;
41
- exports.dows = dows;
42
- exports.empty = empty;
43
- exports.grid = grid;
44
- exports.head = head;
45
- exports.icon = icon;
46
- exports.isOpen = isOpen;
47
- exports.nav = nav;
48
- exports.off = off;
49
- exports.pop = pop;
35
+ exports.error = error;
36
+ exports.field = field;
37
+ exports.fields = fields;
38
+ exports.popover = popover;
39
+ exports.popoverHeader = popoverHeader;
50
40
  exports.root = root;
51
- exports.selected = selected;
52
- exports.title = title;
53
- exports.trigger = trigger;
41
+ exports.summary = summary;
54
42
  //# sourceMappingURL=index82.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index82.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index82.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index82.js CHANGED
@@ -1,54 +1,42 @@
1
- const root = "krc-root-zHJLB";
2
- const trigger = "krc-trigger-kRS4l";
3
- const isOpen = "krc-isOpen-4fsg7";
4
- const icon = "krc-icon-YS-DJ";
5
- const arrow = "krc-arrow-wiq8b";
6
- const pop = "krc-pop-boLzq";
7
- const head = "krc-head-FDhHr";
8
- const nav = "krc-nav-ZcR0Q";
9
- const title = "krc-title-MqB3H";
10
- const dows = "krc-dows-EshP3";
11
- const grid = "krc-grid-xiUF-";
12
- const day = "krc-day-2W9yq";
13
- const empty = "krc-empty-Mf05c";
14
- const off = "krc-off-tATo-";
15
- const able = "krc-able-bD-du";
16
- const selected = "krc-selected-Q1am3";
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";
17
13
  const styles = {
18
14
  root,
19
- trigger,
20
- isOpen,
21
- icon,
22
- arrow,
23
- pop,
24
- head,
25
- nav,
26
- title,
27
- dows,
28
- grid,
29
- day,
30
- empty,
31
- off,
32
- able,
33
- selected
15
+ chip,
16
+ active,
17
+ summary,
18
+ popover,
19
+ popoverHeader,
20
+ fields,
21
+ field,
22
+ error,
23
+ actions,
24
+ btnGhost,
25
+ btnPrimary
34
26
  };
35
27
  export {
36
- able,
37
- arrow,
38
- day,
28
+ actions,
29
+ active,
30
+ btnGhost,
31
+ btnPrimary,
32
+ chip,
39
33
  styles as default,
40
- dows,
41
- empty,
42
- grid,
43
- head,
44
- icon,
45
- isOpen,
46
- nav,
47
- off,
48
- pop,
34
+ error,
35
+ field,
36
+ fields,
37
+ popover,
38
+ popoverHeader,
49
39
  root,
50
- selected,
51
- title,
52
- trigger
40
+ summary
53
41
  };
54
42
  //# sourceMappingURL=index82.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index82.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index84.cjs CHANGED
@@ -1,36 +1,60 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const overlay = "krc-overlay-WWw5c";
4
- const modal = "krc-modal-ZLlQ4";
5
- const resizable = "krc-resizable-G8TND";
6
- const header = "krc-header-RFEXB";
7
- const title = "krc-title-FhVKX";
8
- const headerActions = "krc-headerActions-Qj5SG";
9
- const close = "krc-close-EQ-3d";
10
- const body = "krc-body-ZLPhV";
11
- const loading = "krc-loading-lxD8d";
12
- const resizeHandle = "krc-resizeHandle-Q0J-B";
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";
13
21
  const styles = {
14
- overlay,
15
- modal,
16
- resizable,
17
- header,
18
- title,
19
- headerActions,
20
- close,
21
- body,
22
- loading,
23
- resizeHandle
22
+ root,
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
24
40
  };
25
- exports.body = body;
26
- exports.close = close;
41
+ exports.active = active;
42
+ exports.chevron = chevron;
43
+ exports.clear = clear;
27
44
  exports.default = styles;
28
- exports.header = header;
29
- exports.headerActions = headerActions;
30
- exports.loading = loading;
31
- exports.modal = modal;
32
- exports.overlay = overlay;
33
- exports.resizable = resizable;
34
- exports.resizeHandle = resizeHandle;
35
- exports.title = title;
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;
53
+ exports.root = root;
54
+ exports.search = search;
55
+ exports.searchContainer = searchContainer;
56
+ exports.selected = selected;
57
+ exports.trigger = trigger;
58
+ exports.triggerContent = triggerContent;
59
+ exports.value = value;
36
60
  //# sourceMappingURL=index84.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index84.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index84.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}