@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.es.js
CHANGED
|
@@ -2007,7 +2007,10 @@ const QuickStartPanelContent = (_a) => {
|
|
|
2007
2007
|
const QuickStartDrawerContent = (_a) => {
|
|
2008
2008
|
var { quickStarts = [], appendTo, fullWidth, handleDrawerClose } = _a, props = __rest(_a, ["quickStarts", "appendTo", "fullWidth", "handleDrawerClose"]);
|
|
2009
2009
|
const { activeQuickStartID, allQuickStarts = [], activeQuickStartState, } = useContext(QuickStartContext);
|
|
2010
|
-
const combinedQuickStarts =
|
|
2010
|
+
const combinedQuickStarts = [
|
|
2011
|
+
...allQuickStarts,
|
|
2012
|
+
...quickStarts,
|
|
2013
|
+
].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
|
|
2011
2014
|
const handleClose = () => {
|
|
2012
2015
|
handleDrawerClose && handleDrawerClose(activeQuickStartState === null || activeQuickStartState === void 0 ? void 0 : activeQuickStartState.status);
|
|
2013
2016
|
};
|