@patternfly/quickstarts 6.3.0-prerelease.5 → 6.3.0
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.es.js +4 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/quickstarts-base.css +4 -4
- package/dist/quickstarts-full.es.js +4 -1
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts.css +4 -4
- package/dist/quickstarts.min.css +1 -1
- package/package.json +1 -1
- package/src/QuickStartDrawerContent.tsx +6 -1
package/dist/index.js
CHANGED
|
@@ -2045,7 +2045,10 @@ const QuickStartPanelContent = (_a) => {
|
|
|
2045
2045
|
const QuickStartDrawerContent = (_a) => {
|
|
2046
2046
|
var { quickStarts = [], appendTo, fullWidth, handleDrawerClose } = _a, props = tslib.__rest(_a, ["quickStarts", "appendTo", "fullWidth", "handleDrawerClose"]);
|
|
2047
2047
|
const { activeQuickStartID, allQuickStarts = [], activeQuickStartState, } = react.useContext(QuickStartContext);
|
|
2048
|
-
const combinedQuickStarts =
|
|
2048
|
+
const combinedQuickStarts = [
|
|
2049
|
+
...allQuickStarts,
|
|
2050
|
+
...quickStarts,
|
|
2051
|
+
].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
|
|
2049
2052
|
const handleClose = () => {
|
|
2050
2053
|
handleDrawerClose && handleDrawerClose(activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.status);
|
|
2051
2054
|
};
|