@ceed/ads 1.2.2 → 1.2.3-next.1

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
 
@@ -2760,7 +2760,7 @@ function Pagination(props) {
2760
2760
  onClick: () => handlePageChange(p)
2761
2761
  },
2762
2762
  p
2763
- )), /* @__PURE__ */ React21.createElement(PaginationButton, { active: true, size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React21.createElement(
2763
+ )), /* @__PURE__ */ React21.createElement(PaginationButton, { active: "true", size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React21.createElement(
2764
2764
  PaginationButton,
2765
2765
  {
2766
2766
  key: p,
@@ -3577,6 +3577,7 @@ function Component(props, apiRef) {
3577
3577
  background: backgroundProps = {}
3578
3578
  } = {},
3579
3579
  stripe,
3580
+ isTotalSelected: ___________,
3580
3581
  ...innerProps
3581
3582
  } = props;
3582
3583
  const tableId = useId();
@@ -4695,6 +4696,7 @@ import { Grid } from "@mui/joy";
4695
4696
 
4696
4697
  // src/components/Markdown/Markdown.tsx
4697
4698
  import React30, { lazy, Suspense, useEffect as useEffect8, useState as useState9 } from "react";
4699
+ import { Skeleton } from "@mui/joy";
4698
4700
  import { Link as Link2 } from "@mui/joy";
4699
4701
  var LazyReactMarkdown = lazy(() => import("react-markdown"));
4700
4702
  var Markdown = (props) => {
@@ -4715,6 +4717,7 @@ var Markdown = (props) => {
4715
4717
  markdownOptions,
4716
4718
  boldFontWeight,
4717
4719
  content,
4720
+ fallback,
4718
4721
  ...innerProps
4719
4722
  } = props;
4720
4723
  if (!rehypeAccent2) {
@@ -4729,35 +4732,41 @@ var Markdown = (props) => {
4729
4732
  level: defaultLevel,
4730
4733
  ...innerProps
4731
4734
  },
4732
- /* @__PURE__ */ React30.createElement(Suspense, { fallback: null }, /* @__PURE__ */ React30.createElement(
4733
- LazyReactMarkdown,
4735
+ /* @__PURE__ */ React30.createElement(
4736
+ Suspense,
4734
4737
  {
4735
- ...markdownOptions,
4736
- children: content,
4737
- rehypePlugins: [[rehypeAccent2, { accentColor }]],
4738
- components: {
4739
- h1: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h1" }, children),
4740
- h2: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h2" }, children),
4741
- h3: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h3" }, children),
4742
- h4: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { color, textColor, level: "h4" }, children),
4743
- p: ({ children, node }) => /* @__PURE__ */ React30.createElement(
4744
- Typography,
4745
- {
4746
- color,
4747
- textColor,
4748
- level: defaultLevel,
4749
- ...node?.properties
4750
- },
4751
- children
4752
- ),
4753
- a: ({ children, href }) => /* @__PURE__ */ React30.createElement(Link2, { href, target: defaultLinkAction }, children),
4754
- hr: () => /* @__PURE__ */ React30.createElement(Divider, null),
4755
- b: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
4756
- strong: ({ children }) => /* @__PURE__ */ React30.createElement(Typography, { fontWeight: boldFontWeight }, children),
4757
- ...markdownOptions?.components
4738
+ fallback: fallback || /* @__PURE__ */ React30.createElement(Skeleton, { level: defaultLevel })
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
+ }
4758
4767
  }
4759
- }
4760
- ))
4768
+ )
4769
+ )
4761
4770
  );
4762
4771
  };
4763
4772
  Markdown.displayName = "Markdown";
@@ -6243,7 +6252,7 @@ export {
6243
6252
  RadioList,
6244
6253
  Select,
6245
6254
  Sheet,
6246
- Skeleton,
6255
+ Skeleton2 as Skeleton,
6247
6256
  Slider,
6248
6257
  Stack,
6249
6258
  Step,