@patternfly/quickstarts 2.3.2 → 2.3.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/dist/ConsoleShared/src/components/status/NotStartedIcon.d.ts +0 -1
- package/dist/index.es.js +7 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/patternfly-global.css +890 -419
- package/dist/patternfly-nested.css +12276 -7322
- package/dist/quickstarts-base.css +863 -664
- package/dist/quickstarts-full.es.js +3636 -1919
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts-standalone.css +848 -622
- package/dist/quickstarts-standalone.min.css +2 -2
- package/dist/quickstarts-vendor.css +84 -55
- package/dist/quickstarts.css +946 -719
- package/dist/quickstarts.min.css +1 -1
- package/dist/utils/quick-start-types.d.ts +0 -1
- package/package.json +10 -10
- package/src/ConsoleInternal/components/catalog/_catalog.scss +7 -5
- package/src/QuickStartPanelContent.tsx +7 -1
- package/src/catalog/QuickStartTileHeader.tsx +2 -1
- package/src/styles/legacy-bootstrap/_code.scss +4 -2
- package/src/styles/legacy-bootstrap/_type.scss +8 -6
- package/src/styles/patternfly-nested.scss +9 -9
package/dist/index.es.js
CHANGED
|
@@ -872,7 +872,7 @@ class CatalogTile extends React.Component {
|
|
|
872
872
|
const _a = this.props, { id, className, featured, onClick, href, icon, iconImg, iconAlt, iconClass, badges, title, vendor, description, footer,
|
|
873
873
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
874
874
|
ref, children } = _a, props = __rest(_a, ["id", "className", "featured", "onClick", "href", "icon", "iconImg", "iconAlt", "iconClass", "badges", "title", "vendor", "description", "footer", "ref", "children"]);
|
|
875
|
-
return (React.createElement(Card, Object.assign({ component: href || onClick ? 'a' : 'div', id: id, href: href || '#', className: css('catalog-tile-pf', { featured }, className), onClick: e => this.handleClick(e),
|
|
875
|
+
return (React.createElement(Card, Object.assign({ component: href || onClick ? 'a' : 'div', id: id, href: href || '#', className: css('catalog-tile-pf', { featured }, className), onClick: e => this.handleClick(e), isSelectable: true }, props),
|
|
876
876
|
(badges.length > 0 || iconImg || iconClass || icon) && (React.createElement(CardHeader, null,
|
|
877
877
|
iconImg && React.createElement("img", { className: "catalog-tile-pf-icon", src: iconImg, alt: iconAlt }),
|
|
878
878
|
!iconImg && (iconClass || icon) && React.createElement("span", { className: `catalog-tile-pf-icon ${iconClass}` }, icon),
|
|
@@ -1669,7 +1669,8 @@ const QuickStartTileHeader = ({ status, duration, name, type, quickStartId, }) =
|
|
|
1669
1669
|
[QuickStartStatus.NOT_STARTED]: getResource('Not started'),
|
|
1670
1670
|
};
|
|
1671
1671
|
return (React.createElement("div", { className: "pfext-quick-start-tile-header" },
|
|
1672
|
-
React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
|
|
1672
|
+
React.createElement(Title, { headingLevel: "h3", "data-test": "title", id: quickStartId },
|
|
1673
|
+
React.createElement(QuickStartMarkdownView, { content: name })),
|
|
1673
1674
|
React.createElement("div", { className: "pfext-quick-start-tile-header__status" },
|
|
1674
1675
|
type && (React.createElement(Label, { className: "pfext-quick-start-tile-header--margin", color: type.color }, type.text)),
|
|
1675
1676
|
duration && (React.createElement(Label, { variant: "outline", "data-test": "duration", icon: React.createElement(OutlinedClockIcon, null), className: "pfext-quick-start-tile-header--margin" }, getResource('{{duration, number}} minutes', duration).replace('{{duration, number}}', duration))),
|
|
@@ -2217,8 +2218,10 @@ const QuickStartPanelContent = (_a) => {
|
|
|
2217
2218
|
React.createElement("div", { className: headerClasses },
|
|
2218
2219
|
React.createElement(DrawerHead, null,
|
|
2219
2220
|
React.createElement("div", { className: "pfext-quick-start-panel-content__title", tabIndex: -1, ref: titleRef },
|
|
2220
|
-
React.createElement(Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-global--spacer--md)' } },
|
|
2221
|
-
|
|
2221
|
+
React.createElement(Title, { headingLevel: "h1", size: "xl", className: "pfext-quick-start-panel-content__name", style: { marginRight: 'var(--pf-global--spacer--md)' } },
|
|
2222
|
+
React.createElement("span", { dangerouslySetInnerHTML: {
|
|
2223
|
+
__html: removeParagraphWrap(markdownConvert(quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.displayName)),
|
|
2224
|
+
} }),
|
|
2222
2225
|
' ',
|
|
2223
2226
|
React.createElement("small", { className: "pfext-quick-start-panel-content__duration" }, (quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes) ? getResource('{{type}} • {{duration, number}} minutes', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
|
|
2224
2227
|
.replace('{{duration, number}}', quickStart === null || quickStart === void 0 ? void 0 : quickStart.spec.durationMinutes)
|