@ceed/ads 1.2.3-next.2 → 1.2.3-next.3

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
@@ -145,7 +145,7 @@ import {
145
145
  StepButton,
146
146
  stepButtonClasses,
147
147
  stepperClasses,
148
- Skeleton,
148
+ Skeleton as Skeleton2,
149
149
  skeletonClasses
150
150
  } from "@mui/joy";
151
151
 
@@ -4696,6 +4696,7 @@ 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";
4699
4700
  import { Link as Link2 } from "@mui/joy";
4700
4701
  var LazyReactMarkdown = lazy(() => import("react-markdown"));
4701
4702
  var Markdown = (props) => {
@@ -4731,35 +4732,41 @@ var Markdown = (props) => {
4731
4732
  level: defaultLevel,
4732
4733
  ...innerProps
4733
4734
  },
4734
- /* @__PURE__ */ React30.createElement(Suspense, { fallback: fallback || null }, /* @__PURE__ */ React30.createElement(
4735
- LazyReactMarkdown,
4735
+ /* @__PURE__ */ React30.createElement(
4736
+ Suspense,
4736
4737
  {
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
4738
+ fallback: fallback || /* @__PURE__ */ React30.createElement(Typography, null, /* @__PURE__ */ React30.createElement(Skeleton, null, content || ""))
4739
+ },
4740
+ /* @__PURE__ */ React30.createElement(
4741
+ LazyReactMarkdown,
4742
+ {
4743
+ ...markdownOptions,
4744
+ children: content,
4745
+ rehypePlugins: [[rehypeAccent2, { accentColor }]],
4746
+ components: {
4747
+ h1: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h1" }, children),
4748
+ h2: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h2" }, children),
4749
+ h3: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h3" }, children),
4750
+ h4: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h4" }, children),
4751
+ p: ({ children, node }) => /* @__PURE__ */ React30.createElement(
4752
+ Typography,
4753
+ {
4754
+ color,
4755
+ textColor,
4756
+ level: defaultLevel,
4757
+ ...node?.properties
4758
+ },
4759
+ children
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
+ }
4760
4767
  }
4761
- }
4762
- ))
4768
+ )
4769
+ )
4763
4770
  );
4764
4771
  };
4765
4772
  Markdown.displayName = "Markdown";
@@ -6245,7 +6252,7 @@ export {
6245
6252
  RadioList,
6246
6253
  Select,
6247
6254
  Sheet,
6248
- Skeleton,
6255
+ Skeleton2 as Skeleton,
6249
6256
  Slider,
6250
6257
  Stack,
6251
6258
  Step,