@ceed/ads 1.2.3-next.1 → 1.2.3-next.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 +190 -197
- package/dist/index.js +29 -36
- package/framer/index.js +24 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
StepButton,
|
|
146
146
|
stepButtonClasses,
|
|
147
147
|
stepperClasses,
|
|
148
|
-
Skeleton
|
|
148
|
+
Skeleton,
|
|
149
149
|
skeletonClasses
|
|
150
150
|
} from "@mui/joy";
|
|
151
151
|
|
|
@@ -4696,7 +4696,6 @@ import { Grid } from "@mui/joy";
|
|
|
4696
4696
|
|
|
4697
4697
|
// src/components/Markdown/Markdown.tsx
|
|
4698
4698
|
import React30, { lazy, Suspense, useEffect as useEffect8, useState as useState9 } from "react";
|
|
4699
|
-
import { Skeleton } from "@mui/joy";
|
|
4700
4699
|
import { Link as Link2 } from "@mui/joy";
|
|
4701
4700
|
var LazyReactMarkdown = lazy(() => import("react-markdown"));
|
|
4702
4701
|
var Markdown = (props) => {
|
|
@@ -4732,41 +4731,35 @@ var Markdown = (props) => {
|
|
|
4732
4731
|
level: defaultLevel,
|
|
4733
4732
|
...innerProps
|
|
4734
4733
|
},
|
|
4735
|
-
/* @__PURE__ */ React30.createElement(
|
|
4736
|
-
|
|
4734
|
+
/* @__PURE__ */ React30.createElement(Suspense, { fallback: fallback || null }, /* @__PURE__ */ React30.createElement(
|
|
4735
|
+
LazyReactMarkdown,
|
|
4737
4736
|
{
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
children:
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
a: ({ children, href }) => /* @__PURE__ */ React30.createElement(Link2, { href, target: defaultLinkAction }, children),
|
|
4762
|
-
hr: () => /* @__PURE__ */ React30.createElement(Divider, null),
|
|
4763
|
-
b: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
|
|
4764
|
-
strong: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
|
|
4765
|
-
...markdownOptions?.components
|
|
4766
|
-
}
|
|
4737
|
+
...markdownOptions,
|
|
4738
|
+
children: content,
|
|
4739
|
+
rehypePlugins: [[rehypeAccent2, { accentColor }]],
|
|
4740
|
+
components: {
|
|
4741
|
+
h1: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h1" }, children),
|
|
4742
|
+
h2: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h2" }, children),
|
|
4743
|
+
h3: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h3" }, children),
|
|
4744
|
+
h4: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h4" }, children),
|
|
4745
|
+
p: ({ children, node }) => /* @__PURE__ */ React30.createElement(
|
|
4746
|
+
Typography,
|
|
4747
|
+
{
|
|
4748
|
+
color,
|
|
4749
|
+
textColor,
|
|
4750
|
+
level: defaultLevel,
|
|
4751
|
+
...node?.properties
|
|
4752
|
+
},
|
|
4753
|
+
children
|
|
4754
|
+
),
|
|
4755
|
+
a: ({ children, href }) => /* @__PURE__ */ React30.createElement(Link2, { href, target: defaultLinkAction }, children),
|
|
4756
|
+
hr: () => /* @__PURE__ */ React30.createElement(Divider, null),
|
|
4757
|
+
b: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
|
|
4758
|
+
strong: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
|
|
4759
|
+
...markdownOptions?.components
|
|
4767
4760
|
}
|
|
4768
|
-
|
|
4769
|
-
)
|
|
4761
|
+
}
|
|
4762
|
+
))
|
|
4770
4763
|
);
|
|
4771
4764
|
};
|
|
4772
4765
|
Markdown.displayName = "Markdown";
|
|
@@ -6252,7 +6245,7 @@ export {
|
|
|
6252
6245
|
RadioList,
|
|
6253
6246
|
Select,
|
|
6254
6247
|
Sheet,
|
|
6255
|
-
|
|
6248
|
+
Skeleton,
|
|
6256
6249
|
Slider,
|
|
6257
6250
|
Stack,
|
|
6258
6251
|
Step,
|