@ceed/cds 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.js CHANGED
@@ -149,7 +149,7 @@ import {
149
149
  StepButton,
150
150
  stepButtonClasses,
151
151
  stepperClasses,
152
- Skeleton as Skeleton2,
152
+ Skeleton,
153
153
  skeletonClasses
154
154
  } from "@mui/joy";
155
155
 
@@ -4260,7 +4260,6 @@ import { Grid } from "@mui/joy";
4260
4260
 
4261
4261
  // src/components/Markdown/Markdown.tsx
4262
4262
  import React29, { lazy, Suspense, useEffect as useEffect7, useState as useState8 } from "react";
4263
- import { Skeleton } from "@mui/joy";
4264
4263
  import { Link as Link2 } from "@mui/joy";
4265
4264
  var LazyReactMarkdown = lazy(() => import("react-markdown"));
4266
4265
  var Markdown = (props) => {
@@ -4296,41 +4295,35 @@ var Markdown = (props) => {
4296
4295
  level: defaultLevel,
4297
4296
  ...innerProps
4298
4297
  },
4299
- /* @__PURE__ */ React29.createElement(
4300
- Suspense,
4298
+ /* @__PURE__ */ React29.createElement(Suspense, { fallback: fallback || null }, /* @__PURE__ */ React29.createElement(
4299
+ LazyReactMarkdown,
4301
4300
  {
4302
- fallback: fallback || /* @__PURE__ */ React29.createElement(Skeleton, { level: defaultLevel })
4303
- },
4304
- /* @__PURE__ */ React29.createElement(
4305
- LazyReactMarkdown,
4306
- {
4307
- ...markdownOptions,
4308
- children: content,
4309
- rehypePlugins: [[rehypeAccent2, { accentColor }]],
4310
- components: {
4311
- h1: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h1" }, children),
4312
- h2: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h2" }, children),
4313
- h3: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h3" }, children),
4314
- h4: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h4" }, children),
4315
- p: ({ children, node }) => /* @__PURE__ */ React29.createElement(
4316
- Typography,
4317
- {
4318
- color,
4319
- textColor,
4320
- level: defaultLevel,
4321
- ...node?.properties
4322
- },
4323
- children
4324
- ),
4325
- a: ({ children, href }) => /* @__PURE__ */ React29.createElement(Link2, { href, target: defaultLinkAction }, children),
4326
- hr: () => /* @__PURE__ */ React29.createElement(Divider, null),
4327
- b: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4328
- strong: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4329
- ...markdownOptions?.components
4330
- }
4301
+ ...markdownOptions,
4302
+ children: content,
4303
+ rehypePlugins: [[rehypeAccent2, { accentColor }]],
4304
+ components: {
4305
+ h1: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h1" }, children),
4306
+ h2: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h2" }, children),
4307
+ h3: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h3" }, children),
4308
+ h4: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h4" }, children),
4309
+ p: ({ children, node }) => /* @__PURE__ */ React29.createElement(
4310
+ Typography,
4311
+ {
4312
+ color,
4313
+ textColor,
4314
+ level: defaultLevel,
4315
+ ...node?.properties
4316
+ },
4317
+ children
4318
+ ),
4319
+ a: ({ children, href }) => /* @__PURE__ */ React29.createElement(Link2, { href, target: defaultLinkAction }, children),
4320
+ hr: () => /* @__PURE__ */ React29.createElement(Divider, null),
4321
+ b: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4322
+ strong: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4323
+ ...markdownOptions?.components
4331
4324
  }
4332
- )
4333
- )
4325
+ }
4326
+ ))
4334
4327
  );
4335
4328
  };
4336
4329
  Markdown.displayName = "Markdown";
@@ -6103,7 +6096,7 @@ export {
6103
6096
  RadioList,
6104
6097
  Select,
6105
6098
  Sheet,
6106
- Skeleton2 as Skeleton,
6099
+ Skeleton,
6107
6100
  Slider,
6108
6101
  Stack,
6109
6102
  Step,