@stoplight/elements-core 8.5.0 → 8.5.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/index.esm.js +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3034,7 +3034,7 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
3034
3034
|
const isDark = useThemeIsDark();
|
|
3035
3035
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
3036
3036
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
3037
|
-
React.createElement(Box, { dir: "
|
|
3037
|
+
React.createElement(Box, { dir: "ltr", textOverflow: "truncate", overflowX: "hidden" },
|
|
3038
3038
|
React.createElement(Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
3039
3039
|
React.createElement(Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
3040
3040
|
return (React.createElement(HStack, { spacing: 3, pl: 2.5, pr: 4, py: 2, bg: "canvas-50", rounded: "lg", fontFamily: "mono", display: "inline-flex", maxW: "full", title: fullUrl },
|
package/index.js
CHANGED
|
@@ -3056,7 +3056,7 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
3056
3056
|
const isDark = mosaic.useThemeIsDark();
|
|
3057
3057
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
3058
3058
|
const pathElem = (React__namespace.createElement(mosaic.Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
3059
|
-
React__namespace.createElement(mosaic.Box, { dir: "
|
|
3059
|
+
React__namespace.createElement(mosaic.Box, { dir: "ltr", textOverflow: "truncate", overflowX: "hidden" },
|
|
3060
3060
|
React__namespace.createElement(mosaic.Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
3061
3061
|
React__namespace.createElement(mosaic.Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
3062
3062
|
return (React__namespace.createElement(mosaic.HStack, { spacing: 3, pl: 2.5, pr: 4, py: 2, bg: "canvas-50", rounded: "lg", fontFamily: "mono", display: "inline-flex", maxW: "full", title: fullUrl },
|
package/index.mjs
CHANGED
|
@@ -3034,7 +3034,7 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
3034
3034
|
const isDark = useThemeIsDark();
|
|
3035
3035
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
3036
3036
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
3037
|
-
React.createElement(Box, { dir: "
|
|
3037
|
+
React.createElement(Box, { dir: "ltr", textOverflow: "truncate", overflowX: "hidden" },
|
|
3038
3038
|
React.createElement(Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
3039
3039
|
React.createElement(Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
3040
3040
|
return (React.createElement(HStack, { spacing: 3, pl: 2.5, pr: 4, py: 2, bg: "canvas-50", rounded: "lg", fontFamily: "mono", display: "inline-flex", maxW: "full", title: fullUrl },
|