reykit 1.0.218 → 1.0.220

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.
package/dist/index.js CHANGED
@@ -50140,8 +50140,24 @@ function Ck({
50140
50140
  f && m || (typeof i == "string" ? /* @__PURE__ */ x.jsx("span", { className: "whitespace-nowrap", children: i }) : i)
50141
50141
  ] });
50142
50142
  }
50143
- function wk({ children: a }) {
50144
- return /* @__PURE__ */ x.jsx(s6, { remarkPlugins: [u6], children: a });
50143
+ function wk({ ...a }) {
50144
+ return /* @__PURE__ */ x.jsx(
50145
+ s6,
50146
+ {
50147
+ remarkPlugins: [u6],
50148
+ components: {
50149
+ pre: ({ children: i, ...u }) => /* @__PURE__ */ x.jsx(
50150
+ "pre",
50151
+ {
50152
+ ...u,
50153
+ className: "whitespace-pre-wrap [overflow-wrap:anywhere] max-w-full",
50154
+ children: i
50155
+ }
50156
+ )
50157
+ },
50158
+ ...a
50159
+ }
50160
+ );
50145
50161
  }
50146
50162
  function Ok({
50147
50163
  openIcon: a,
@@ -1,4 +1,5 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode, ComponentProps } from 'react';
2
+ import { default as ReactMarkdown } from 'react-markdown';
2
3
  /**
3
4
  * Text component of with icon.
4
5
  *
@@ -15,9 +16,5 @@ export declare function IconText({ icon, text, hideMobileIcon, hideMobileText }:
15
16
  }): import("react/jsx-runtime").JSX.Element;
16
17
  /**
17
18
  * Text component of support Markdown.
18
- *
19
- * @param children - Markdown text.
20
19
  */
21
- export declare function MarkdownText({ children }: {
22
- children: string;
23
- }): import("react/jsx-runtime").JSX.Element;
20
+ export declare function MarkdownText({ ...args }: ComponentProps<typeof ReactMarkdown>): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reykit",
3
- "version": "1.0.218",
3
+ "version": "1.0.220",
4
4
  "description": "Kit method set.",
5
5
  "author": "reyxbo",
6
6
  "keywords": [