@stoplight/elements-core 8.4.6 → 8.4.7
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 +3 -3
- package/index.js +3 -3
- package/index.mjs +3 -3
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -2966,9 +2966,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2966
2966
|
const isDark = useThemeIsDark();
|
|
2967
2967
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2968
2968
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2969
|
-
React.createElement(Box, {
|
|
2970
|
-
React.createElement(Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)
|
|
2971
|
-
|
|
2969
|
+
React.createElement(Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2970
|
+
React.createElement(Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
2971
|
+
React.createElement(Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
2972
2972
|
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 },
|
|
2973
2973
|
React.createElement(Box, { py: 1, px: 2.5, rounded: "lg", bg: !isDark ? HttpMethodColors[method] : 'canvas-100', color: !isDark ? 'on-primary' : 'body', fontSize: "lg", fontWeight: "semibold", textTransform: "uppercase" }, method),
|
|
2974
2974
|
pathElem));
|
package/index.js
CHANGED
|
@@ -2988,9 +2988,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2988
2988
|
const isDark = mosaic.useThemeIsDark();
|
|
2989
2989
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2990
2990
|
const pathElem = (React__namespace.createElement(mosaic.Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2991
|
-
React__namespace.createElement(mosaic.Box, {
|
|
2992
|
-
React__namespace.createElement(mosaic.Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)
|
|
2993
|
-
|
|
2991
|
+
React__namespace.createElement(mosaic.Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2992
|
+
React__namespace.createElement(mosaic.Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
2993
|
+
React__namespace.createElement(mosaic.Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
2994
2994
|
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 },
|
|
2995
2995
|
React__namespace.createElement(mosaic.Box, { py: 1, px: 2.5, rounded: "lg", bg: !isDark ? HttpMethodColors[method] : 'canvas-100', color: !isDark ? 'on-primary' : 'body', fontSize: "lg", fontWeight: "semibold", textTransform: "uppercase" }, method),
|
|
2996
2996
|
pathElem));
|
package/index.mjs
CHANGED
|
@@ -2966,9 +2966,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2966
2966
|
const isDark = useThemeIsDark();
|
|
2967
2967
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2968
2968
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2969
|
-
React.createElement(Box, {
|
|
2970
|
-
React.createElement(Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)
|
|
2971
|
-
|
|
2969
|
+
React.createElement(Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2970
|
+
React.createElement(Box, { as: "span", dir: "ltr", color: "muted", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl),
|
|
2971
|
+
React.createElement(Box, { as: "span", fontWeight: "semibold", flex: 1 }, path))));
|
|
2972
2972
|
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 },
|
|
2973
2973
|
React.createElement(Box, { py: 1, px: 2.5, rounded: "lg", bg: !isDark ? HttpMethodColors[method] : 'canvas-100', color: !isDark ? 'on-primary' : 'body', fontSize: "lg", fontWeight: "semibold", textTransform: "uppercase" }, method),
|
|
2974
2974
|
pathElem));
|