@patternfly/quickstarts 5.4.4 → 5.4.5
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 +53 -53
- package/dist/quickstarts-full.es.js +4 -1
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts.css +53 -53
- package/dist/quickstarts.min.css +1 -1
- package/package.json +1 -1
- package/src/QuickStartDrawer.tsx +6 -1
package/dist/index.es.js
CHANGED
|
@@ -2326,7 +2326,10 @@ const QuickStartContainer = (_a) => {
|
|
|
2326
2326
|
const QuickStartDrawer = (_a) => {
|
|
2327
2327
|
var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = __rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
|
|
2328
2328
|
const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React.useContext(QuickStartContext);
|
|
2329
|
-
const combinedQuickStarts =
|
|
2329
|
+
const combinedQuickStarts = [
|
|
2330
|
+
...allQuickStarts,
|
|
2331
|
+
...quickStarts,
|
|
2332
|
+
].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
|
|
2330
2333
|
React.useEffect(() => {
|
|
2331
2334
|
const params = new URLSearchParams(window.location.search);
|
|
2332
2335
|
// if there is a quick start param, but the quick start is not active, set it
|