@patternfly/quickstarts 6.2.2 → 6.3.0-prerelease.10
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/ConsoleInternal/components/markdown-view.d.ts +2 -2
- package/dist/ConsoleInternal/components/utils/camel-case-wrap.d.ts +1 -1
- package/dist/ConsoleInternal/components/utils/status-box.d.ts +3 -3
- package/dist/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.d.ts +3 -3
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +1 -1
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.d.ts +2 -2
- package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +1 -1
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.d.ts +2 -2
- package/dist/ConsoleShared/src/components/modal/Modal.d.ts +3 -3
- package/dist/ConsoleShared/src/components/popper/Portal.d.ts +3 -3
- package/dist/ConsoleShared/src/components/popper/SimplePopper.d.ts +3 -3
- package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +2 -2
- package/dist/ConsoleShared/src/components/spotlight/Spotlight.d.ts +2 -2
- package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +2 -2
- package/dist/ConsoleShared/src/components/status/GenericStatus.d.ts +4 -4
- package/dist/ConsoleShared/src/components/status/NotStartedIcon.d.ts +1 -2
- package/dist/ConsoleShared/src/components/status/PopoverStatus.d.ts +4 -4
- package/dist/ConsoleShared/src/components/status/Status.d.ts +3 -3
- package/dist/ConsoleShared/src/components/status/StatusIconAndText.d.ts +3 -3
- package/dist/ConsoleShared/src/components/status/icons.d.ts +4 -4
- package/dist/ConsoleShared/src/components/status/statuses.d.ts +4 -4
- package/dist/ConsoleShared/src/components/utils/FallbackImg.d.ts +3 -3
- package/dist/ConsoleShared/src/utils/useCombineRefs.d.ts +2 -2
- package/dist/HelpTopicDrawer.d.ts +3 -3
- package/dist/HelpTopicPanelContent.d.ts +2 -2
- package/dist/QuickStartCatalogPage.d.ts +3 -3
- package/dist/QuickStartCloseModal.d.ts +2 -2
- package/dist/QuickStartContainer.d.ts +2 -2
- package/dist/QuickStartController.d.ts +2 -2
- package/dist/QuickStartDrawer.d.ts +2 -2
- package/dist/QuickStartDrawerContent.d.ts +2 -2
- package/dist/QuickStartMarkdownView.d.ts +2 -2
- package/dist/QuickStartPanelContent.d.ts +2 -2
- package/dist/catalog/Catalog/QuickStartCatalogHeader.d.ts +2 -2
- package/dist/catalog/Catalog/QuickStartCatalogSection.d.ts +2 -2
- package/dist/catalog/Catalog/QuickStartCatalogToolbar.d.ts +2 -2
- package/dist/catalog/QuickStartCatalog.d.ts +2 -2
- package/dist/catalog/QuickStartTile.d.ts +2 -2
- package/dist/catalog/QuickStartTileDescription.d.ts +2 -2
- package/dist/catalog/QuickStartTileFooter.d.ts +2 -2
- package/dist/catalog/QuickStartTileFooterExternal.d.ts +2 -2
- package/dist/catalog/QuickStartTileHeader.d.ts +2 -2
- package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +2 -2
- package/dist/catalog/Toolbar/QuickStartCatalogFilterItems.d.ts +7 -7
- package/dist/controller/QuickStartConclusion.d.ts +2 -2
- package/dist/controller/QuickStartContent.d.ts +2 -2
- package/dist/controller/QuickStartFooter.d.ts +2 -2
- package/dist/controller/QuickStartIntroduction.d.ts +2 -2
- package/dist/controller/QuickStartTaskHeader.d.ts +2 -2
- package/dist/controller/QuickStartTaskHeaderList.d.ts +2 -2
- package/dist/controller/QuickStartTaskReview.d.ts +2 -2
- package/dist/controller/QuickStartTasks.d.ts +2 -2
- package/dist/index.es.js +489 -561
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +500 -574
- package/dist/index.js.map +1 -1
- package/dist/quickstarts-base.css +4 -4
- package/dist/quickstarts-full.es.js +1963 -693
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts.css +4 -4
- package/dist/quickstarts.min.css +1 -1
- package/dist/utils/help-topic-context.d.ts +2 -2
- package/dist/utils/quick-start-context.d.ts +3 -3
- package/package.json +7 -7
- package/src/ConsoleInternal/components/markdown-view.tsx +112 -22
- package/src/ConsoleInternal/components/utils/camel-case-wrap.tsx +3 -3
- package/src/ConsoleInternal/components/utils/status-box.tsx +4 -4
- package/src/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.tsx +8 -15
- package/src/ConsoleShared/src/components/markdown-extensions/__tests__/MarkdownCopyClipboard.spec.tsx +0 -1
- package/src/ConsoleShared/src/components/markdown-extensions/__tests__/accordion-extension.spec.tsx +105 -0
- package/src/ConsoleShared/src/components/markdown-extensions/__tests__/admonition-extension.spec.tsx +121 -0
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +22 -15
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +23 -9
- package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +19 -8
- package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +2 -2
- package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +3 -3
- package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +3 -3
- package/src/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.tsx +5 -5
- package/src/ConsoleShared/src/components/modal/Modal.tsx +3 -3
- package/src/ConsoleShared/src/components/popper/Portal.tsx +5 -5
- package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +15 -15
- package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +5 -5
- package/src/ConsoleShared/src/components/spotlight/Spotlight.tsx +3 -3
- package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +3 -3
- package/src/ConsoleShared/src/components/status/GenericStatus.tsx +5 -5
- package/src/ConsoleShared/src/components/status/NotStartedIcon.tsx +0 -1
- package/src/ConsoleShared/src/components/status/PopoverStatus.tsx +4 -4
- package/src/ConsoleShared/src/components/status/Status.tsx +3 -11
- package/src/ConsoleShared/src/components/status/StatusIconAndText.tsx +6 -6
- package/src/ConsoleShared/src/components/status/icons.tsx +4 -8
- package/src/ConsoleShared/src/components/status/statuses.tsx +4 -5
- package/src/ConsoleShared/src/components/utils/FallbackImg.tsx +4 -4
- package/src/ConsoleShared/src/hooks/scroll.ts +4 -4
- package/src/ConsoleShared/src/hooks/useBoundingClientRect.ts +3 -3
- package/src/ConsoleShared/src/hooks/useForceRender.ts +2 -2
- package/src/ConsoleShared/src/hooks/useResizeObserver.ts +3 -6
- package/src/ConsoleShared/src/hooks/useScrollShadows.ts +4 -4
- package/src/ConsoleShared/src/utils/useCombineRefs.ts +4 -4
- package/src/HelpTopicDrawer.tsx +6 -6
- package/src/HelpTopicPanelContent.tsx +4 -4
- package/src/QuickStartCatalogPage.tsx +9 -9
- package/src/QuickStartCloseModal.tsx +3 -7
- package/src/QuickStartContainer.tsx +4 -4
- package/src/QuickStartController.tsx +11 -11
- package/src/QuickStartDrawer.tsx +6 -6
- package/src/QuickStartDrawerContent.tsx +6 -4
- package/src/QuickStartMarkdownView.tsx +3 -3
- package/src/QuickStartPanelContent.tsx +8 -8
- package/src/catalog/Catalog/QuickStartCatalogHeader.tsx +2 -2
- package/src/catalog/Catalog/QuickStartCatalogSection.tsx +2 -2
- package/src/catalog/Catalog/QuickStartCatalogToolbar.tsx +2 -2
- package/src/catalog/QuickStartCatalog.tsx +3 -3
- package/src/catalog/QuickStartTile.tsx +4 -4
- package/src/catalog/QuickStartTileDescription.tsx +4 -4
- package/src/catalog/QuickStartTileFooter.tsx +6 -6
- package/src/catalog/QuickStartTileFooterExternal.tsx +2 -5
- package/src/catalog/QuickStartTileHeader.tsx +2 -6
- package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +2 -2
- package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +17 -20
- package/src/catalog/__tests__/QuickStartCatalog.spec.tsx +0 -1
- package/src/catalog/__tests__/QuickStartTile.spec.tsx +0 -1
- package/src/catalog/__tests__/QuickStartTileDescription.spec.tsx +1 -2
- package/src/controller/QuickStartConclusion.tsx +3 -3
- package/src/controller/QuickStartContent.tsx +2 -2
- package/src/controller/QuickStartFooter.tsx +10 -11
- package/src/controller/QuickStartIntroduction.tsx +5 -5
- package/src/controller/QuickStartTaskHeader.tsx +5 -5
- package/src/controller/QuickStartTaskHeaderList.tsx +2 -2
- package/src/controller/QuickStartTaskReview.tsx +4 -4
- package/src/controller/QuickStartTasks.tsx +5 -5
- package/src/controller/__tests__/QuickStartConclusion.spec.tsx +3 -3
- package/src/controller/__tests__/QuickStartContent.spec.tsx +2 -2
- package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +2 -2
- package/src/controller/__tests__/QuickStartTaskReview.spec.tsx +2 -2
- package/src/utils/help-topic-context.tsx +7 -10
- package/src/utils/quick-start-context.tsx +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface ShowdownExtension {
|
|
3
3
|
type: string;
|
|
4
4
|
regex?: RegExp;
|
|
@@ -14,5 +14,5 @@ interface SyncMarkdownProps {
|
|
|
14
14
|
inline?: boolean;
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare const SyncMarkdownView:
|
|
17
|
+
export declare const SyncMarkdownView: FC<SyncMarkdownProps>;
|
|
18
18
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
export declare const Box: React.FC<BoxProps>;
|
|
3
|
-
export declare const Loading:
|
|
4
|
-
export declare const LoadingBox:
|
|
3
|
+
export declare const Loading: FC<LoadingProps>;
|
|
4
|
+
export declare const LoadingBox: FC<LoadingBoxProps>;
|
|
5
5
|
export declare const EmptyBox: React.FC<EmptyBoxProps>;
|
|
6
6
|
interface BoxProps {
|
|
7
7
|
children: React.ReactNode;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface CopyClipboardProps {
|
|
3
3
|
element: HTMLElement;
|
|
4
4
|
rootSelector: string;
|
|
5
5
|
docContext: Document;
|
|
6
6
|
}
|
|
7
|
-
export declare const CopyClipboard:
|
|
7
|
+
export declare const CopyClipboard: FC<CopyClipboardProps>;
|
|
8
8
|
interface MarkdownCopyClipboardProps {
|
|
9
9
|
docContext: Document;
|
|
10
10
|
rootSelector: string;
|
|
11
11
|
}
|
|
12
|
-
declare const MarkdownCopyClipboard:
|
|
12
|
+
declare const MarkdownCopyClipboard: FC<MarkdownCopyClipboardProps>;
|
|
13
13
|
export default MarkdownCopyClipboard;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const useAccordionShowdownExtension: () => {
|
|
2
2
|
type: string;
|
|
3
3
|
regex: RegExp;
|
|
4
|
-
replace: (_text: string, accordionContent: string, _command: string, accordionHeading: string) => string;
|
|
4
|
+
replace: (_text: string, accordionContent: string, _command: string, _quotedHeading: string, accordionHeading: string) => string;
|
|
5
5
|
};
|
|
6
6
|
export default useAccordionShowdownExtension;
|
package/dist/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface accordionRenderExtensionProps {
|
|
3
3
|
docContext: Document;
|
|
4
4
|
}
|
|
5
|
-
declare const AccordionRenderExtension:
|
|
5
|
+
declare const AccordionRenderExtension: FC<accordionRenderExtensionProps>;
|
|
6
6
|
export default AccordionRenderExtension;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const useAdmonitionShowdownExtension: () => {
|
|
2
2
|
type: string;
|
|
3
3
|
regex: RegExp;
|
|
4
|
-
replace: (text: string, content: string, admonitionLabel: string, admonitionType: string
|
|
4
|
+
replace: (text: string, content: string, admonitionLabel: string, admonitionType: string) => string;
|
|
5
5
|
};
|
|
6
6
|
export default useAdmonitionShowdownExtension;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface MarkdownHighlightExtensionProps {
|
|
3
3
|
docContext: Document;
|
|
4
4
|
rootSelector: string;
|
|
5
5
|
}
|
|
6
|
-
declare const MarkdownHighlightExtension:
|
|
6
|
+
declare const MarkdownHighlightExtension: FC<MarkdownHighlightExtensionProps>;
|
|
7
7
|
export default MarkdownHighlightExtension;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, Ref } from 'react';
|
|
2
2
|
import { Modal as PfModal, ModalProps as PfModalProps } from '@patternfly/react-core/deprecated';
|
|
3
3
|
type ModalProps = {
|
|
4
4
|
isFullScreen?: boolean;
|
|
5
|
-
ref?:
|
|
5
|
+
ref?: Ref<PfModal>;
|
|
6
6
|
} & PfModalProps;
|
|
7
|
-
declare const Modal:
|
|
7
|
+
declare const Modal: FC<ModalProps>;
|
|
8
8
|
export default Modal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
type GetContainer = Element | null | undefined | (() => Element);
|
|
3
3
|
interface PortalProps {
|
|
4
|
-
children:
|
|
4
|
+
children: ReactNode;
|
|
5
5
|
container?: GetContainer;
|
|
6
6
|
}
|
|
7
|
-
declare const Portal: ({ children, container }: PortalProps) =>
|
|
7
|
+
declare const Portal: ({ children, container }: PortalProps) => import("react").ReactPortal;
|
|
8
8
|
export default Portal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface SimplePopperProps {
|
|
3
|
-
children:
|
|
3
|
+
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const SimplePopper: ({ children }: SimplePopperProps) =>
|
|
5
|
+
declare const SimplePopper: ({ children }: SimplePopperProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default SimplePopper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './spotlight.scss';
|
|
2
|
-
import
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
interface InteractiveSpotlightProps {
|
|
4
4
|
element: Element;
|
|
5
5
|
}
|
|
6
|
-
declare const InteractiveSpotlight:
|
|
6
|
+
declare const InteractiveSpotlight: FC<InteractiveSpotlightProps>;
|
|
7
7
|
export default InteractiveSpotlight;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface SpotlightProps {
|
|
3
3
|
selector: string;
|
|
4
4
|
interactive?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const Spotlight:
|
|
6
|
+
declare const Spotlight: FC<SpotlightProps>;
|
|
7
7
|
export default Spotlight;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './spotlight.scss';
|
|
2
|
-
import
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
interface StaticSpotlightProps {
|
|
4
4
|
element: Element;
|
|
5
5
|
}
|
|
6
|
-
declare const StaticSpotlight:
|
|
6
|
+
declare const StaticSpotlight: FC<StaticSpotlightProps>;
|
|
7
7
|
export default StaticSpotlight;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentType, FC, ReactNode } from 'react';
|
|
2
2
|
import { StatusComponentProps } from './types';
|
|
3
|
-
declare const GenericStatus:
|
|
3
|
+
declare const GenericStatus: FC<GenericStatusProps>;
|
|
4
4
|
type GenericStatusProps = StatusComponentProps & {
|
|
5
|
-
Icon:
|
|
5
|
+
Icon: ComponentType<{
|
|
6
6
|
title?: string;
|
|
7
7
|
}>;
|
|
8
|
-
children?:
|
|
8
|
+
children?: ReactNode;
|
|
9
9
|
popoverTitle?: string;
|
|
10
10
|
noTooltip?: boolean;
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const PopoverStatus:
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
declare const PopoverStatus: FC<PopoverStatusProps>;
|
|
3
3
|
interface PopoverStatusProps {
|
|
4
|
-
children:
|
|
5
|
-
statusBody:
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
statusBody: ReactNode;
|
|
6
6
|
onHide?: (event: MouseEvent | KeyboardEvent) => void;
|
|
7
7
|
onShow?: (event: MouseEvent | KeyboardEvent) => void;
|
|
8
8
|
title?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { StatusComponentProps } from './types';
|
|
3
|
-
export declare const Status:
|
|
4
|
-
export declare const StatusIcon:
|
|
3
|
+
export declare const Status: FC<StatusProps>;
|
|
4
|
+
export declare const StatusIcon: FC<StatusIconProps>;
|
|
5
5
|
interface StatusIconProps {
|
|
6
6
|
status: string;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, ReactElement } from 'react';
|
|
2
2
|
import { StatusComponentProps } from './types';
|
|
3
3
|
type StatusIconAndTextProps = StatusComponentProps & {
|
|
4
|
-
icon?:
|
|
4
|
+
icon?: ReactElement<any>;
|
|
5
5
|
spin?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const StatusIconAndText:
|
|
7
|
+
declare const StatusIconAndText: FC<StatusIconAndTextProps>;
|
|
8
8
|
export default StatusIconAndText;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const GreenCheckCircleIcon:
|
|
3
|
-
export declare const RedExclamationCircleIcon:
|
|
4
|
-
export declare const BlueInfoCircleIcon:
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export declare const GreenCheckCircleIcon: FC<ColoredIconProps>;
|
|
3
|
+
export declare const RedExclamationCircleIcon: FC<ColoredIconProps>;
|
|
4
|
+
export declare const BlueInfoCircleIcon: FC<ColoredIconProps>;
|
|
5
5
|
export interface ColoredIconProps {
|
|
6
6
|
className?: string;
|
|
7
7
|
title?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { StatusComponentProps } from './types';
|
|
3
|
-
export declare const ErrorStatus:
|
|
4
|
-
export declare const InfoStatus:
|
|
5
|
-
export declare const SuccessStatus:
|
|
3
|
+
export declare const ErrorStatus: FC<StatusComponentProps>;
|
|
4
|
+
export declare const InfoStatus: FC<StatusComponentProps>;
|
|
5
|
+
export declare const SuccessStatus: FC<StatusComponentProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
interface FallbackImgProps {
|
|
3
3
|
src: string;
|
|
4
4
|
alt?: string;
|
|
5
5
|
className?: string;
|
|
6
|
-
fallback?:
|
|
6
|
+
fallback?: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare const FallbackImg:
|
|
8
|
+
declare const FallbackImg: FC<FallbackImgProps>;
|
|
9
9
|
export default FallbackImg;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const useCombineRefs: <RefType>(...refs:
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
export declare const useCombineRefs: <RefType>(...refs: Ref<RefType>[]) => (element: RefType) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStartContextValues } from './utils/quick-start-context';
|
|
3
3
|
import { HelpTopic } from './utils/help-topic-types';
|
|
4
4
|
export interface HelpTopicContainerProps extends React.HTMLProps<HTMLDivElement> {
|
|
@@ -24,9 +24,9 @@ export interface HelpTopicContainerProps extends React.HTMLProps<HTMLDivElement>
|
|
|
24
24
|
contextProps?: QuickStartContextValues;
|
|
25
25
|
children?: React.ReactNode;
|
|
26
26
|
}
|
|
27
|
-
export declare const HelpTopicContainer:
|
|
27
|
+
export declare const HelpTopicContainer: FC<HelpTopicContainerProps>;
|
|
28
28
|
export interface HelpTopicDrawerProps extends React.HTMLProps<HTMLDivElement> {
|
|
29
29
|
helpTopics?: HelpTopic[];
|
|
30
30
|
children?: React.ReactNode;
|
|
31
31
|
}
|
|
32
|
-
export declare const HelpTopicDrawer:
|
|
32
|
+
export declare const HelpTopicDrawer: FC<HelpTopicDrawerProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { HelpTopic } from './utils/help-topic-types';
|
|
3
3
|
interface HelpTopicPanelContentProps {
|
|
4
4
|
activeHelpTopic: HelpTopic;
|
|
@@ -6,5 +6,5 @@ interface HelpTopicPanelContentProps {
|
|
|
6
6
|
isResizable?: boolean;
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const HelpTopicPanelContent:
|
|
9
|
+
declare const HelpTopicPanelContent: FC<HelpTopicPanelContentProps>;
|
|
10
10
|
export default HelpTopicPanelContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart } from './utils/quick-start-types';
|
|
3
3
|
export interface QuickStartCatalogPageProps {
|
|
4
4
|
quickStarts?: QuickStart[];
|
|
@@ -10,5 +10,5 @@ export interface QuickStartCatalogPageProps {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const QuickStartCatalogEmptyState: ({ clearFilters }: {
|
|
12
12
|
clearFilters: any;
|
|
13
|
-
}) =>
|
|
14
|
-
export declare const QuickStartCatalogPage:
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const QuickStartCatalogPage: FC<QuickStartCatalogPageProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface QuickStartCloseModalProps {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
onConfirm: () => void;
|
|
5
5
|
onCancel: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare const QuickStartCloseModal:
|
|
7
|
+
declare const QuickStartCloseModal: FC<QuickStartCloseModalProps>;
|
|
8
8
|
export default QuickStartCloseModal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStartContextValues } from './utils/quick-start-context';
|
|
3
3
|
import { QuickStart, AllQuickStartStates } from './utils/quick-start-types';
|
|
4
4
|
export interface QuickStartContainerProps extends React.HTMLProps<HTMLDivElement> {
|
|
@@ -51,5 +51,5 @@ export interface QuickStartContainerProps extends React.HTMLProps<HTMLDivElement
|
|
|
51
51
|
/** Indicates that QuickStart should create and maintain its own drawer. If false, a QuickStartDrawerContent component should be present within the children, replacing the custom Drawer's DrawerContent. */
|
|
52
52
|
isManagedDrawer?: boolean;
|
|
53
53
|
}
|
|
54
|
-
export declare const QuickStartContainer:
|
|
54
|
+
export declare const QuickStartContainer: FC<QuickStartContainerProps>;
|
|
55
55
|
export default QuickStartContainer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart } from './utils/quick-start-types';
|
|
3
3
|
interface QuickStartControllerProps {
|
|
4
4
|
/** The current active quickstart */
|
|
@@ -10,5 +10,5 @@ interface QuickStartControllerProps {
|
|
|
10
10
|
/** Ref for the quickstart content */
|
|
11
11
|
contentRef?: React.Ref<HTMLDivElement>;
|
|
12
12
|
}
|
|
13
|
-
export declare const QuickStartController:
|
|
13
|
+
export declare const QuickStartController: FC<QuickStartControllerProps>;
|
|
14
14
|
export default QuickStartController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart } from './utils/quick-start-types';
|
|
3
3
|
export interface QuickStartDrawerProps extends React.HTMLProps<HTMLDivElement> {
|
|
4
4
|
quickStarts?: QuickStart[];
|
|
@@ -8,5 +8,5 @@ export interface QuickStartDrawerProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
8
8
|
onCloseInProgress?: any;
|
|
9
9
|
onCloseNotInProgress?: any;
|
|
10
10
|
}
|
|
11
|
-
export declare const QuickStartDrawer:
|
|
11
|
+
export declare const QuickStartDrawer: FC<QuickStartDrawerProps>;
|
|
12
12
|
export default QuickStartDrawer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart } from './utils/quick-start-types';
|
|
3
3
|
export interface QuickStartDrawerContentProps extends React.HTMLProps<HTMLDivElement> {
|
|
4
4
|
quickStarts?: QuickStart[];
|
|
@@ -8,5 +8,5 @@ export interface QuickStartDrawerContentProps extends React.HTMLProps<HTMLDivEle
|
|
|
8
8
|
onCloseNotInProgress?: any;
|
|
9
9
|
handleDrawerClose?: (quickStartStatus: string | number) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const QuickStartDrawerContent:
|
|
11
|
+
export declare const QuickStartDrawerContent: FC<QuickStartDrawerContentProps>;
|
|
12
12
|
export default QuickStartDrawerContent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
export declare const removeParagraphWrap: (markdown: string) => string;
|
|
3
3
|
interface QuickStartMarkdownViewProps {
|
|
4
4
|
content: string;
|
|
5
5
|
exactHeight?: boolean;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare const QuickStartMarkdownView:
|
|
8
|
+
declare const QuickStartMarkdownView: FC<QuickStartMarkdownViewProps>;
|
|
9
9
|
export default QuickStartMarkdownView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart } from './utils/quick-start-types';
|
|
3
3
|
import './QuickStartPanelContent.scss';
|
|
4
4
|
type HandleClose = () => void;
|
|
@@ -11,5 +11,5 @@ interface QuickStartPanelContentProps {
|
|
|
11
11
|
showClose?: boolean;
|
|
12
12
|
footerClass?: string;
|
|
13
13
|
}
|
|
14
|
-
declare const QuickStartPanelContent:
|
|
14
|
+
declare const QuickStartPanelContent: FC<QuickStartPanelContentProps>;
|
|
15
15
|
export default QuickStartPanelContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
export interface QuickStartCatalogHeaderProps {
|
|
3
3
|
title: string;
|
|
4
4
|
hint?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const QuickStartCatalogHeader:
|
|
6
|
+
export declare const QuickStartCatalogHeader: FunctionComponent<QuickStartCatalogHeaderProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
export interface QuickStartCatalogSectionProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const QuickStartCatalogSection:
|
|
5
|
+
export declare const QuickStartCatalogSection: FC<QuickStartCatalogSectionProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
export interface QuickStartCatalogToolbarProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const QuickStartCatalogToolbar:
|
|
5
|
+
export declare const QuickStartCatalogToolbar: FC<QuickStartCatalogToolbarProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { QuickStart } from '../utils/quick-start-types';
|
|
3
3
|
interface QuickStartCatalogProps {
|
|
4
4
|
quickStarts: QuickStart[];
|
|
5
5
|
}
|
|
6
|
-
declare const QuickStartCatalog:
|
|
6
|
+
declare const QuickStartCatalog: FunctionComponent<QuickStartCatalogProps>;
|
|
7
7
|
export default QuickStartCatalog;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart, QuickStartStatus } from '../utils/quick-start-types';
|
|
3
3
|
import { ButtonProps } from '@patternfly/react-core';
|
|
4
4
|
import './QuickStartTile.scss';
|
|
@@ -24,5 +24,5 @@ export interface QuickStartTileProps {
|
|
|
24
24
|
/** Action config for button rendered next to title */
|
|
25
25
|
action?: QuickstartAction;
|
|
26
26
|
}
|
|
27
|
-
declare const QuickStartTile:
|
|
27
|
+
declare const QuickStartTile: FC<QuickStartTileProps>;
|
|
28
28
|
export default QuickStartTile;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface QuickStartTileDescriptionProps {
|
|
3
3
|
description: string;
|
|
4
4
|
prerequisites?: string[];
|
|
5
5
|
}
|
|
6
|
-
declare const QuickStartTileDescription:
|
|
6
|
+
declare const QuickStartTileDescription: FC<QuickStartTileDescriptionProps>;
|
|
7
7
|
export default QuickStartTileDescription;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface QuickStartTileFooterProps {
|
|
3
3
|
quickStartId: string;
|
|
4
4
|
status: string;
|
|
5
5
|
totalTasks?: number;
|
|
6
6
|
onClickContinue: (e: React.FormEvent<HTMLInputElement> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const QuickStartTileFooter:
|
|
8
|
+
declare const QuickStartTileFooter: FC<QuickStartTileFooterProps>;
|
|
9
9
|
export default QuickStartTileFooter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStartExternal } from '../utils/quick-start-types';
|
|
3
3
|
interface QuickStartTileFooterProps {
|
|
4
4
|
link: QuickStartExternal;
|
|
5
5
|
quickStartId?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const QuickStartTileFooterExternal:
|
|
7
|
+
declare const QuickStartTileFooterExternal: FC<QuickStartTileFooterProps>;
|
|
8
8
|
export default QuickStartTileFooterExternal;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
interface QuickStartTileHeaderProps {
|
|
3
3
|
name: string;
|
|
4
4
|
quickStartId?: string;
|
|
5
5
|
onSelect: (e: React.FormEvent<HTMLInputElement> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
6
6
|
}
|
|
7
|
-
declare const QuickStartTileHeader:
|
|
7
|
+
declare const QuickStartTileHeader: FC<QuickStartTileHeaderProps>;
|
|
8
8
|
export default QuickStartTileHeader;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { ToolbarProps } from '@patternfly/react-core';
|
|
3
3
|
interface QuickStartCatalogFilterProps extends Omit<ToolbarProps, 'ref'> {
|
|
4
4
|
quickStartsCount: number;
|
|
5
5
|
onSearchInputChange: any;
|
|
6
6
|
onStatusChange: any;
|
|
7
7
|
}
|
|
8
|
-
declare const QuickStartCatalogFilter:
|
|
8
|
+
declare const QuickStartCatalogFilter: FC<QuickStartCatalogFilterProps>;
|
|
9
9
|
export default QuickStartCatalogFilter;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
export declare const QuickStartCatalogFilterSearch: ({ searchInputText, handleTextChange, ...props }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
searchInputText: any;
|
|
5
5
|
handleTextChange: any;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const QuickStartCatalogFilterSelect: ({ isDropdownOpen, setIsDropdownOpen, onRowfilterSelect, selectedFilters, dropdownItems, ...props }: {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
isDropdownOpen: any;
|
|
@@ -11,21 +11,21 @@ export declare const QuickStartCatalogFilterSelect: ({ isDropdownOpen, setIsDrop
|
|
|
11
11
|
onRowfilterSelect: any;
|
|
12
12
|
selectedFilters: any;
|
|
13
13
|
dropdownItems: any;
|
|
14
|
-
}) =>
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export declare const QuickStartCatalogFilterCount: ({ quickStartsCount }: {
|
|
16
16
|
quickStartsCount: any;
|
|
17
|
-
}) =>
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
interface QuickStartCatalogFilterSearchWrapperProps {
|
|
19
19
|
onSearchInputChange: any;
|
|
20
20
|
}
|
|
21
|
-
export declare const QuickStartCatalogFilterSearchWrapper:
|
|
21
|
+
export declare const QuickStartCatalogFilterSearchWrapper: FC<QuickStartCatalogFilterSearchWrapperProps>;
|
|
22
22
|
export declare const equalsIgnoreOrder: (a: any[], b: any[]) => boolean;
|
|
23
23
|
interface QuickStartCatalogFilterStatusWrapperProps {
|
|
24
24
|
onStatusChange: any;
|
|
25
25
|
}
|
|
26
|
-
export declare const QuickStartCatalogFilterStatusWrapper:
|
|
26
|
+
export declare const QuickStartCatalogFilterStatusWrapper: FC<QuickStartCatalogFilterStatusWrapperProps>;
|
|
27
27
|
interface QuickStartCatalogFilterCountWrapperProps {
|
|
28
28
|
quickStartsCount: number;
|
|
29
29
|
}
|
|
30
|
-
export declare const QuickStartCatalogFilterCountWrapper:
|
|
30
|
+
export declare const QuickStartCatalogFilterCountWrapper: FC<QuickStartCatalogFilterCountWrapperProps>;
|
|
31
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStart, QuickStartTask, QuickStartTaskStatus } from '../utils/quick-start-types';
|
|
3
3
|
interface QuickStartConclusionProps {
|
|
4
4
|
tasks: QuickStartTask[];
|
|
@@ -8,5 +8,5 @@ interface QuickStartConclusionProps {
|
|
|
8
8
|
onQuickStartChange: (quickStartid: string) => void;
|
|
9
9
|
onTaskSelect: (selectedTaskNumber: number) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const QuickStartConclusion:
|
|
11
|
+
declare const QuickStartConclusion: FC<QuickStartConclusionProps>;
|
|
12
12
|
export default QuickStartConclusion;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { QuickStart, QuickStartTaskStatus } from '../utils/quick-start-types';
|
|
3
3
|
interface QuickStartContentProps {
|
|
4
4
|
quickStart: QuickStart;
|
|
@@ -10,5 +10,5 @@ interface QuickStartContentProps {
|
|
|
10
10
|
onQuickStartChange?: (quickStartId: string) => void;
|
|
11
11
|
}
|
|
12
12
|
import './QuickStartContent.scss';
|
|
13
|
-
declare const QuickStartContent:
|
|
13
|
+
declare const QuickStartContent: import("react").ForwardRefExoticComponent<QuickStartContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default QuickStartContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStartStatus } from '../utils/quick-start-types';
|
|
3
3
|
import './QuickStartFooter.scss';
|
|
4
4
|
export interface QuickStartFooterProps {
|
|
@@ -10,5 +10,5 @@ export interface QuickStartFooterProps {
|
|
|
10
10
|
quickStartId: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const QuickStartFooter:
|
|
13
|
+
declare const QuickStartFooter: FC<QuickStartFooterProps>;
|
|
14
14
|
export default QuickStartFooter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { QuickStartTask, QuickStartTaskStatus } from '../utils/quick-start-types';
|
|
3
3
|
interface QuickStartIntroductionProps {
|
|
4
4
|
introduction: string;
|
|
@@ -7,5 +7,5 @@ interface QuickStartIntroductionProps {
|
|
|
7
7
|
prerequisites?: string[];
|
|
8
8
|
onTaskSelect: (selectedTaskNumber: number) => void;
|
|
9
9
|
}
|
|
10
|
-
declare const QuickStartIntroduction:
|
|
10
|
+
declare const QuickStartIntroduction: FC<QuickStartIntroductionProps>;
|
|
11
11
|
export default QuickStartIntroduction;
|