@ceed/cds 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/components/Markdown/Markdown.d.ts +1 -0
- package/dist/index.cjs +203 -194
- package/dist/index.js +39 -30
- package/framer/index.js +23 -23
- package/package.json +3 -2
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:
|
|
2741
|
+
)), /* @__PURE__ */ React20.createElement(PaginationButton, { active: "active", size, "aria-current": "page" }, paginationModel.page), afterPages.map((p) => /* @__PURE__ */ React20.createElement(
|
|
2742
2742
|
PaginationButton,
|
|
2743
2743
|
{
|
|
2744
2744
|
key: p,
|
|
@@ -3555,6 +3555,7 @@ function Component(props, apiRef) {
|
|
|
3555
3555
|
background: backgroundProps = {}
|
|
3556
3556
|
} = {},
|
|
3557
3557
|
stripe,
|
|
3558
|
+
isTotalSelected: ___________,
|
|
3558
3559
|
...innerProps
|
|
3559
3560
|
} = props;
|
|
3560
3561
|
const tableId = useId();
|
|
@@ -4259,6 +4260,7 @@ import { Grid } from "@mui/joy";
|
|
|
4259
4260
|
|
|
4260
4261
|
// src/components/Markdown/Markdown.tsx
|
|
4261
4262
|
import React29, { lazy, Suspense, useEffect as useEffect7, useState as useState8 } from "react";
|
|
4263
|
+
import { Skeleton } from "@mui/joy";
|
|
4262
4264
|
import { Link as Link2 } from "@mui/joy";
|
|
4263
4265
|
var LazyReactMarkdown = lazy(() => import("react-markdown"));
|
|
4264
4266
|
var Markdown = (props) => {
|
|
@@ -4279,6 +4281,7 @@ var Markdown = (props) => {
|
|
|
4279
4281
|
markdownOptions,
|
|
4280
4282
|
boldFontWeight,
|
|
4281
4283
|
content,
|
|
4284
|
+
fallback,
|
|
4282
4285
|
...innerProps
|
|
4283
4286
|
} = props;
|
|
4284
4287
|
if (!rehypeAccent2) {
|
|
@@ -4293,35 +4296,41 @@ var Markdown = (props) => {
|
|
|
4293
4296
|
level: defaultLevel,
|
|
4294
4297
|
...innerProps
|
|
4295
4298
|
},
|
|
4296
|
-
/* @__PURE__ */ React29.createElement(
|
|
4297
|
-
|
|
4299
|
+
/* @__PURE__ */ React29.createElement(
|
|
4300
|
+
Suspense,
|
|
4298
4301
|
{
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
Typography,
|
|
4309
|
-
{
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
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
|
+
}
|
|
4322
4331
|
}
|
|
4323
|
-
|
|
4324
|
-
)
|
|
4332
|
+
)
|
|
4333
|
+
)
|
|
4325
4334
|
);
|
|
4326
4335
|
};
|
|
4327
4336
|
Markdown.displayName = "Markdown";
|
|
@@ -6094,7 +6103,7 @@ export {
|
|
|
6094
6103
|
RadioList,
|
|
6095
6104
|
Select,
|
|
6096
6105
|
Sheet,
|
|
6097
|
-
Skeleton,
|
|
6106
|
+
Skeleton2 as Skeleton,
|
|
6098
6107
|
Slider,
|
|
6099
6108
|
Stack,
|
|
6100
6109
|
Step,
|