@stoplight/elements-core 9.0.13-alpha-0.1 → 9.0.13-alpha-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/index.esm.js +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1511,6 +1511,7 @@ const ParameterEditor = ({ parameter, value, onChange, isOptional, onChangeOptio
|
|
|
1511
1511
|
const examples = exampleOptions(parameter);
|
|
1512
1512
|
const selectedExample = (_a = examples === null || examples === void 0 ? void 0 : examples.find(e => e.value === value)) !== null && _a !== void 0 ? _a : selectExampleOption;
|
|
1513
1513
|
const parameterDisplayName = `${parameter.name}${parameter.required ? '*' : ''}`;
|
|
1514
|
+
console.log("Inside Parameter Editor in APLHA BRANCH");
|
|
1514
1515
|
const encodedValue = React.useMemo(() => {
|
|
1515
1516
|
if (!value || !parameterValueOptions)
|
|
1516
1517
|
return value || '';
|
package/index.js
CHANGED
|
@@ -1532,6 +1532,7 @@ const ParameterEditor = ({ parameter, value, onChange, isOptional, onChangeOptio
|
|
|
1532
1532
|
const examples = exampleOptions(parameter);
|
|
1533
1533
|
const selectedExample = (_a = examples === null || examples === void 0 ? void 0 : examples.find(e => e.value === value)) !== null && _a !== void 0 ? _a : selectExampleOption;
|
|
1534
1534
|
const parameterDisplayName = `${parameter.name}${parameter.required ? '*' : ''}`;
|
|
1535
|
+
console.log("Inside Parameter Editor in APLHA BRANCH");
|
|
1535
1536
|
const encodedValue = React__namespace.useMemo(() => {
|
|
1536
1537
|
if (!value || !parameterValueOptions)
|
|
1537
1538
|
return value || '';
|
package/index.mjs
CHANGED
|
@@ -1511,6 +1511,7 @@ const ParameterEditor = ({ parameter, value, onChange, isOptional, onChangeOptio
|
|
|
1511
1511
|
const examples = exampleOptions(parameter);
|
|
1512
1512
|
const selectedExample = (_a = examples === null || examples === void 0 ? void 0 : examples.find(e => e.value === value)) !== null && _a !== void 0 ? _a : selectExampleOption;
|
|
1513
1513
|
const parameterDisplayName = `${parameter.name}${parameter.required ? '*' : ''}`;
|
|
1514
|
+
console.log("Inside Parameter Editor in APLHA BRANCH");
|
|
1514
1515
|
const encodedValue = React.useMemo(() => {
|
|
1515
1516
|
if (!value || !parameterValueOptions)
|
|
1516
1517
|
return value || '';
|