@ceed/cds 1.37.0-next.1 → 1.37.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.browser.js +1 -1
- package/dist/index.browser.js.map +2 -2
- package/dist/index.cjs +10 -2
- package/dist/index.js +10 -2
- package/framer/index.js +1 -1
- package/package.json +2 -3
package/dist/index.cjs
CHANGED
|
@@ -5926,7 +5926,14 @@ var Markdown = (props) => {
|
|
|
5926
5926
|
return /* @__PURE__ */ import_react37.default.createElement(Typography, { component: "div", color, textColor, level: defaultLevel, ...innerProps }, /* @__PURE__ */ import_react37.default.createElement(
|
|
5927
5927
|
import_react37.Suspense,
|
|
5928
5928
|
{
|
|
5929
|
-
fallback:
|
|
5929
|
+
fallback: (
|
|
5930
|
+
// While in the fallback state, prevent browser auto-translation (e.g. Chrome/Google Translate)
|
|
5931
|
+
// from wrapping text nodes in <font> tags. Once the lazy react-markdown chunk arrives, React
|
|
5932
|
+
// swaps the fallback for the real content via insertBefore; if the browser has mutated the DOM
|
|
5933
|
+
// in the meantime, the reference node's parent changes and React throws a DOMException
|
|
5934
|
+
// ("Failed to execute 'insertBefore' on 'Node'"), crashing the subtree. (cf. facebook/react#11538)
|
|
5935
|
+
fallback || /* @__PURE__ */ import_react37.default.createElement(Typography, { translate: "no", className: "notranslate" }, /* @__PURE__ */ import_react37.default.createElement(import_joy48.Skeleton, null, content || ""))
|
|
5936
|
+
)
|
|
5930
5937
|
},
|
|
5931
5938
|
/* @__PURE__ */ import_react37.default.createElement(
|
|
5932
5939
|
LazyReactMarkdown,
|
|
@@ -6983,7 +6990,8 @@ function RadioTileGroup(props) {
|
|
|
6983
6990
|
label: ({ disabled }) => ({
|
|
6984
6991
|
sx: (theme) => ({
|
|
6985
6992
|
...theme.typography[{ sm: "body-sm", md: "body-md", lg: "body-lg" }[size]],
|
|
6986
|
-
color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor
|
|
6993
|
+
color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor,
|
|
6994
|
+
textAlign
|
|
6987
6995
|
})
|
|
6988
6996
|
})
|
|
6989
6997
|
}
|
package/dist/index.js
CHANGED
|
@@ -5820,7 +5820,14 @@ var Markdown = (props) => {
|
|
|
5820
5820
|
return /* @__PURE__ */ React34.createElement(Typography, { component: "div", color, textColor, level: defaultLevel, ...innerProps }, /* @__PURE__ */ React34.createElement(
|
|
5821
5821
|
Suspense,
|
|
5822
5822
|
{
|
|
5823
|
-
fallback:
|
|
5823
|
+
fallback: (
|
|
5824
|
+
// While in the fallback state, prevent browser auto-translation (e.g. Chrome/Google Translate)
|
|
5825
|
+
// from wrapping text nodes in <font> tags. Once the lazy react-markdown chunk arrives, React
|
|
5826
|
+
// swaps the fallback for the real content via insertBefore; if the browser has mutated the DOM
|
|
5827
|
+
// in the meantime, the reference node's parent changes and React throws a DOMException
|
|
5828
|
+
// ("Failed to execute 'insertBefore' on 'Node'"), crashing the subtree. (cf. facebook/react#11538)
|
|
5829
|
+
fallback || /* @__PURE__ */ React34.createElement(Typography, { translate: "no", className: "notranslate" }, /* @__PURE__ */ React34.createElement(Skeleton, null, content || ""))
|
|
5830
|
+
)
|
|
5824
5831
|
},
|
|
5825
5832
|
/* @__PURE__ */ React34.createElement(
|
|
5826
5833
|
LazyReactMarkdown,
|
|
@@ -6890,7 +6897,8 @@ function RadioTileGroup(props) {
|
|
|
6890
6897
|
label: ({ disabled }) => ({
|
|
6891
6898
|
sx: (theme) => ({
|
|
6892
6899
|
...theme.typography[{ sm: "body-sm", md: "body-md", lg: "body-lg" }[size]],
|
|
6893
|
-
color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor
|
|
6900
|
+
color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor,
|
|
6901
|
+
textAlign
|
|
6894
6902
|
})
|
|
6895
6903
|
})
|
|
6896
6904
|
}
|