@patternfly/quickstarts 5.4.3 → 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 +35 -35
- package/dist/quickstarts-full.es.js +4 -1
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts.css +35 -35
- package/dist/quickstarts.min.css +1 -1
- package/package.json +3 -3
- package/src/QuickStartDrawer.tsx +6 -1
package/dist/index.js
CHANGED
|
@@ -2370,7 +2370,10 @@ const QuickStartContainer = (_a) => {
|
|
|
2370
2370
|
const QuickStartDrawer = (_a) => {
|
|
2371
2371
|
var { quickStarts = [], children, appendTo, fullWidth, onCloseInProgress, onCloseNotInProgress } = _a, props = tslib.__rest(_a, ["quickStarts", "children", "appendTo", "fullWidth", "onCloseInProgress", "onCloseNotInProgress"]);
|
|
2372
2372
|
const { activeQuickStartID, setActiveQuickStart, allQuickStarts = [], activeQuickStartState, allQuickStartStates, setAllQuickStartStates, useLegacyHeaderColors, } = React__namespace.useContext(QuickStartContext);
|
|
2373
|
-
const combinedQuickStarts =
|
|
2373
|
+
const combinedQuickStarts = [
|
|
2374
|
+
...allQuickStarts,
|
|
2375
|
+
...quickStarts,
|
|
2376
|
+
].filter((qs, idx, arr) => arr.findIndex(q => q.metadata.name === qs.metadata.name) === idx);
|
|
2374
2377
|
React__namespace.useEffect(() => {
|
|
2375
2378
|
const params = new URLSearchParams(window.location.search);
|
|
2376
2379
|
// if there is a quick start param, but the quick start is not active, set it
|