@julseb-lib/react 1.1.1 → 1.1.2

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.cjs CHANGED
@@ -2147,14 +2147,14 @@ var init_Table2 = __esm({
2147
2147
  });
2148
2148
 
2149
2149
  // src/lib/utils/options-markdown.tsx
2150
- var import_jsx_runtime18, markdownComponents, libMarkdownEditorOptions;
2150
+ var import_jsx_runtime18, libMarkdownComponents, libMarkdownEditorOptions;
2151
2151
  var init_options_markdown = __esm({
2152
2152
  "src/lib/utils/options-markdown.tsx"() {
2153
2153
  "use strict";
2154
2154
  init_Text2();
2155
2155
  init_Table2();
2156
2156
  import_jsx_runtime18 = require("react/jsx-runtime");
2157
- markdownComponents = {
2157
+ libMarkdownComponents = {
2158
2158
  h1: (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Text, { tag: "h1", ...props }),
2159
2159
  h2: (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Text, { tag: "h2", ...props }),
2160
2160
  h3: (props) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Text, { tag: "h3", ...props }),
@@ -2585,9 +2585,9 @@ __export(index_exports, {
2585
2585
  getTomorrow: () => import_utils147.getTomorrow,
2586
2586
  getYesterday: () => import_utils147.getYesterday,
2587
2587
  hexToRgb: () => import_utils147.hexToRgb,
2588
+ libMarkdownComponents: () => libMarkdownComponents,
2588
2589
  libMarkdownEditorOptions: () => libMarkdownEditorOptions,
2589
2590
  linkifyText: () => linkifyText,
2590
- markdownComponents: () => markdownComponents,
2591
2591
  passwordRegex: () => import_utils147.passwordRegex,
2592
2592
  rgbToHex: () => import_utils147.rgbToHex,
2593
2593
  scrollToTop: () => scrollToTop,
@@ -70039,7 +70039,7 @@ var MarkdownEditor = ({
70039
70039
  (view === "viewLive" || view === "viewPreview") && /* @__PURE__ */ (0, import_jsx_runtime365.jsx)("div", { className: "p-2 md-editor-markdown", children: /* @__PURE__ */ (0, import_jsx_runtime365.jsx)(
70040
70040
  import_react_markdown.default,
70041
70041
  {
70042
- components: markdownComponents,
70042
+ components: libMarkdownComponents,
70043
70043
  children: value
70044
70044
  }
70045
70045
  ) })
@@ -70059,10 +70059,8 @@ var import_react_markdown2 = __toESM(require("react-markdown"), 1);
70059
70059
  init_utils();
70060
70060
  var import_jsx_runtime366 = require("react/jsx-runtime");
70061
70061
  var MarkdownContainer = ({
70062
- className,
70063
- ref,
70064
70062
  children,
70065
- components = markdownComponents,
70063
+ components = libMarkdownComponents,
70066
70064
  allowElement,
70067
70065
  urlTransform,
70068
70066
  ...rest
@@ -70899,9 +70897,9 @@ var SrOnly = ({ element = "div", ref, children }) => {
70899
70897
  getTomorrow,
70900
70898
  getYesterday,
70901
70899
  hexToRgb,
70900
+ libMarkdownComponents,
70902
70901
  libMarkdownEditorOptions,
70903
70902
  linkifyText,
70904
- markdownComponents,
70905
70903
  passwordRegex,
70906
70904
  rgbToHex,
70907
70905
  scrollToTop,