@stoplight/elements-core 9.0.12-beta-0.1 → 9.0.12-beta-0.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/dist/index.esm.js CHANGED
@@ -2858,6 +2858,7 @@ const LazySchemaTreePreviewer = ({ schema, root = schema, title, level = 1, path
2858
2858
  const [showSchemaDropdown, setShowSchemaDropdown] = useState(false);
2859
2859
  const [isHoveringSelector, setIsHoveringSelector] = useState(false);
2860
2860
  const isRoot = level === 1 && (title === undefined || path === '');
2861
+ console.log("In LazySchemaTreePreviewer Beta 0.2:", { schema, path, isRoot });
2861
2862
  useEffect(() => {
2862
2863
  setSelectedSchemaIndex(0);
2863
2864
  }, [schema === null || schema === void 0 ? void 0 : schema.anyOf, schema === null || schema === void 0 ? void 0 : schema.oneOf]);
package/dist/index.js CHANGED
@@ -2879,6 +2879,7 @@ const LazySchemaTreePreviewer = ({ schema, root = schema, title, level = 1, path
2879
2879
  const [showSchemaDropdown, setShowSchemaDropdown] = React.useState(false);
2880
2880
  const [isHoveringSelector, setIsHoveringSelector] = React.useState(false);
2881
2881
  const isRoot = level === 1 && (title === undefined || path === '');
2882
+ console.log("In LazySchemaTreePreviewer Beta 0.2:", { schema, path, isRoot });
2882
2883
  React.useEffect(() => {
2883
2884
  setSelectedSchemaIndex(0);
2884
2885
  }, [schema === null || schema === void 0 ? void 0 : schema.anyOf, schema === null || schema === void 0 ? void 0 : schema.oneOf]);
package/dist/index.mjs CHANGED
@@ -2858,6 +2858,7 @@ const LazySchemaTreePreviewer = ({ schema, root = schema, title, level = 1, path
2858
2858
  const [showSchemaDropdown, setShowSchemaDropdown] = useState(false);
2859
2859
  const [isHoveringSelector, setIsHoveringSelector] = useState(false);
2860
2860
  const isRoot = level === 1 && (title === undefined || path === '');
2861
+ console.log("In LazySchemaTreePreviewer Beta 0.2:", { schema, path, isRoot });
2861
2862
  useEffect(() => {
2862
2863
  setSelectedSchemaIndex(0);
2863
2864
  }, [schema === null || schema === void 0 ? void 0 : schema.anyOf, schema === null || schema === void 0 ? void 0 : schema.oneOf]);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoplight/elements-core",
3
- "version": "9.0.12-beta-0.1",
3
+ "version": "9.0.12-beta-0.2",
4
4
  "main": "./index.js",
5
5
  "sideEffects": [
6
6
  "web-components.min.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoplight/elements-core",
3
- "version": "9.0.12-beta-0.1",
3
+ "version": "9.0.12-beta-0.3",
4
4
  "sideEffects": [
5
5
  "web-components.min.js",
6
6
  "src/web-components/**",
@@ -173,7 +173,7 @@ const LazySchemaTreePreviewer: React.FC<LazySchemaTreePreviewerProps> = ({
173
173
  const [showSchemaDropdown, setShowSchemaDropdown] = useState(false);
174
174
  const [isHoveringSelector, setIsHoveringSelector] = useState(false);
175
175
  const isRoot = level === 1 && (title === undefined || path === '');
176
-
176
+ console.log("In LazySchemaTreePreviewer Beta 0.2:", { schema, path, isRoot });
177
177
  useEffect(() => {
178
178
  setSelectedSchemaIndex(0);
179
179
  }, [schema?.anyOf, schema?.oneOf]);