@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.
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: (props: any) => JSX.Element;
3
2
  export default _default;
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), isHoverable: true }, props),
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 }, name),
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)' } }, quickStart === null || quickStart === void 0 ? void 0 :
2221
- quickStart.spec.displayName,
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)