@ceed/cds 1.2.3-next.2 → 1.2.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
@@ -149,7 +149,7 @@ import {
149
149
  StepButton,
150
150
  stepButtonClasses,
151
151
  stepperClasses,
152
- Skeleton,
152
+ Skeleton as Skeleton2,
153
153
  skeletonClasses
154
154
  } from "@mui/joy";
155
155
 
@@ -2738,7 +2738,7 @@ function Pagination(props) {
2738
2738
  onClick: () => handlePageChange(p)
2739
2739
  },
2740
2740
  p
2741
- )), /* @__PURE__ */ React20.createElement(PaginationButton, { active: "active", size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React20.createElement(
2741
+ )), /* @__PURE__ */ React20.createElement(PaginationButton, { active: true, size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React20.createElement(
2742
2742
  PaginationButton,
2743
2743
  {
2744
2744
  key: p,
@@ -3555,7 +3555,6 @@ function Component(props, apiRef) {
3555
3555
  background: backgroundProps = {}
3556
3556
  } = {},
3557
3557
  stripe,
3558
- isTotalSelected: ___________,
3559
3558
  ...innerProps
3560
3559
  } = props;
3561
3560
  const tableId = useId();
@@ -4260,6 +4259,7 @@ import { Grid } from "@mui/joy";
4260
4259
 
4261
4260
  // src/components/Markdown/Markdown.tsx
4262
4261
  import React29, { lazy, Suspense, useEffect as useEffect7, useState as useState8 } from "react";
4262
+ import { Skeleton } from "@mui/joy";
4263
4263
  import { Link as Link2 } from "@mui/joy";
4264
4264
  var LazyReactMarkdown = lazy(() => import("react-markdown"));
4265
4265
  var Markdown = (props) => {
@@ -4295,35 +4295,41 @@ var Markdown = (props) => {
4295
4295
  level: defaultLevel,
4296
4296
  ...innerProps
4297
4297
  },
4298
- /* @__PURE__ */ React29.createElement(Suspense, { fallback: fallback || null }, /* @__PURE__ */ React29.createElement(
4299
- LazyReactMarkdown,
4298
+ /* @__PURE__ */ React29.createElement(
4299
+ Suspense,
4300
4300
  {
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
4301
+ fallback: fallback || /* @__PURE__ */ React29.createElement(Typography, null, /* @__PURE__ */ React29.createElement(Skeleton, null, content || ""))
4302
+ },
4303
+ /* @__PURE__ */ React29.createElement(
4304
+ LazyReactMarkdown,
4305
+ {
4306
+ ...markdownOptions,
4307
+ children: content,
4308
+ rehypePlugins: [[rehypeAccent2, { accentColor }]],
4309
+ components: {
4310
+ h1: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h1" }, children),
4311
+ h2: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h2" }, children),
4312
+ h3: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h3" }, children),
4313
+ h4: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { color, textColor, level: "h4" }, children),
4314
+ p: ({ children, node }) => /* @__PURE__ */ React29.createElement(
4315
+ Typography,
4316
+ {
4317
+ color,
4318
+ textColor,
4319
+ level: defaultLevel,
4320
+ ...node?.properties
4321
+ },
4322
+ children
4323
+ ),
4324
+ a: ({ children, href }) => /* @__PURE__ */ React29.createElement(Link2, { href, target: defaultLinkAction }, children),
4325
+ hr: () => /* @__PURE__ */ React29.createElement(Divider, null),
4326
+ b: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4327
+ strong: ({ children }) => /* @__PURE__ */ React29.createElement(Typography, { fontWeight: boldFontWeight }, children),
4328
+ ...markdownOptions?.components
4329
+ }
4324
4330
  }
4325
- }
4326
- ))
4331
+ )
4332
+ )
4327
4333
  );
4328
4334
  };
4329
4335
  Markdown.displayName = "Markdown";
@@ -6096,7 +6102,7 @@ export {
6096
6102
  RadioList,
6097
6103
  Select,
6098
6104
  Sheet,
6099
- Skeleton,
6105
+ Skeleton2 as Skeleton,
6100
6106
  Slider,
6101
6107
  Stack,
6102
6108
  Step,