@stoplight/elements-core 8.4.2 → 8.4.3
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 +2 -2
- package/styles.min.css +1 -1
package/index.esm.js
CHANGED
|
@@ -2945,9 +2945,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2945
2945
|
const isDark = useThemeIsDark();
|
|
2946
2946
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2947
2947
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2948
|
-
React.createElement(Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2949
|
-
React.createElement(Box, { as: "span",
|
|
2950
|
-
|
|
2948
|
+
React.createElement(Box, { dir: "rtl", color: "muted", textOverflow: "truncate", overflowX: "hidden" },
|
|
2949
|
+
React.createElement(Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)),
|
|
2950
|
+
React.createElement(Box, { fontWeight: "semibold", flex: 1 }, path)));
|
|
2951
2951
|
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 },
|
|
2952
2952
|
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),
|
|
2953
2953
|
pathElem));
|
package/index.js
CHANGED
|
@@ -2967,9 +2967,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2967
2967
|
const isDark = mosaic.useThemeIsDark();
|
|
2968
2968
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2969
2969
|
const pathElem = (React__namespace.createElement(mosaic.Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2970
|
-
React__namespace.createElement(mosaic.Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2971
|
-
React__namespace.createElement(mosaic.Box, { as: "span",
|
|
2972
|
-
|
|
2970
|
+
React__namespace.createElement(mosaic.Box, { dir: "rtl", color: "muted", textOverflow: "truncate", overflowX: "hidden" },
|
|
2971
|
+
React__namespace.createElement(mosaic.Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)),
|
|
2972
|
+
React__namespace.createElement(mosaic.Box, { fontWeight: "semibold", flex: 1 }, path)));
|
|
2973
2973
|
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 },
|
|
2974
2974
|
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),
|
|
2975
2975
|
pathElem));
|
package/index.mjs
CHANGED
|
@@ -2945,9 +2945,9 @@ function MethodPathInner({ method, path, chosenServerUrl }) {
|
|
|
2945
2945
|
const isDark = useThemeIsDark();
|
|
2946
2946
|
const fullUrl = `${chosenServerUrl}${path}`;
|
|
2947
2947
|
const pathElem = (React.createElement(Flex, { overflowX: "hidden", fontSize: "lg", userSelect: "all" },
|
|
2948
|
-
React.createElement(Box, { dir: "rtl", textOverflow: "truncate", overflowX: "hidden" },
|
|
2949
|
-
React.createElement(Box, { as: "span",
|
|
2950
|
-
|
|
2948
|
+
React.createElement(Box, { dir: "rtl", color: "muted", textOverflow: "truncate", overflowX: "hidden" },
|
|
2949
|
+
React.createElement(Box, { as: "span", dir: "ltr", style: { unicodeBidi: 'bidi-override' } }, chosenServerUrl)),
|
|
2950
|
+
React.createElement(Box, { fontWeight: "semibold", flex: 1 }, path)));
|
|
2951
2951
|
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 },
|
|
2952
2952
|
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),
|
|
2953
2953
|
pathElem));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoplight/elements-core",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.3",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"web-components.min.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"tslib": "^2.1.0",
|
|
52
52
|
"urijs": "^1.19.11",
|
|
53
53
|
"util": "^0.12.4",
|
|
54
|
-
"xml-formatter": "^
|
|
54
|
+
"xml-formatter": "^3.6.3"
|
|
55
55
|
},
|
|
56
56
|
"type": "commonjs",
|
|
57
57
|
"exports": {
|