@patternfly/quickstarts 2.4.1 → 5.0.0-prerelease.0
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/README.md +32 -23
- package/dist/ConsoleInternal/components/markdown-view.d.ts +19 -19
- package/dist/ConsoleInternal/components/utils/camel-case-wrap.d.ts +6 -6
- package/dist/ConsoleInternal/components/utils/index.d.ts +3 -3
- package/dist/ConsoleInternal/components/utils/router.d.ts +9 -9
- package/dist/ConsoleInternal/components/utils/status-box.d.ts +20 -20
- package/dist/ConsoleInternal/module/k8s/types.d.ts +42 -42
- package/dist/ConsoleShared/index.d.ts +1 -1
- package/dist/ConsoleShared/src/components/index.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.d.ts +13 -13
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-extension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.d.ts +6 -6
- package/dist/ConsoleShared/src/components/markdown-extensions/admonition-extension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/code-extension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/const.d.ts +5 -5
- package/dist/ConsoleShared/src/components/markdown-extensions/index.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-extensions/utils.d.ts +1 -1
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.d.ts +7 -7
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/highlight-consts.d.ts +4 -4
- package/dist/ConsoleShared/src/components/markdown-highlight-extension/index.d.ts +1 -1
- package/dist/ConsoleShared/src/components/modal/Modal.d.ts +9 -9
- package/dist/ConsoleShared/src/components/modal/index.d.ts +1 -1
- package/dist/ConsoleShared/src/components/popper/Portal.d.ts +8 -7
- package/dist/ConsoleShared/src/components/popper/SimplePopper.d.ts +6 -3
- package/dist/ConsoleShared/src/components/popper/index.d.ts +2 -2
- package/dist/ConsoleShared/src/components/spotlight/InteractiveSpotlight.d.ts +7 -7
- package/dist/ConsoleShared/src/components/spotlight/Spotlight.d.ts +7 -7
- package/dist/ConsoleShared/src/components/spotlight/StaticSpotlight.d.ts +7 -7
- package/dist/ConsoleShared/src/components/spotlight/index.d.ts +1 -1
- package/dist/ConsoleShared/src/components/status/GenericStatus.d.ts +12 -11
- package/dist/ConsoleShared/src/components/status/NotStartedIcon.d.ts +3 -2
- package/dist/ConsoleShared/src/components/status/PopoverStatus.d.ts +13 -12
- package/dist/ConsoleShared/src/components/status/Status.d.ts +11 -11
- package/dist/ConsoleShared/src/components/status/StatusIconAndText.d.ts +8 -8
- package/dist/ConsoleShared/src/components/status/icons.d.ts +9 -9
- package/dist/ConsoleShared/src/components/status/index.d.ts +1 -1
- package/dist/ConsoleShared/src/components/status/statuses.d.ts +5 -5
- package/dist/ConsoleShared/src/components/status/types.d.ts +9 -7
- package/dist/ConsoleShared/src/components/utils/FallbackImg.d.ts +9 -9
- package/dist/ConsoleShared/src/components/utils/index.d.ts +1 -1
- package/dist/ConsoleShared/src/constants/index.d.ts +1 -1
- package/dist/ConsoleShared/src/constants/ui.d.ts +1 -1
- package/dist/ConsoleShared/src/hooks/index.d.ts +6 -6
- package/dist/ConsoleShared/src/hooks/scroll.d.ts +8 -8
- package/dist/ConsoleShared/src/hooks/useBoundingClientRect.d.ts +3 -1
- package/dist/ConsoleShared/src/hooks/useEventListener.d.ts +1 -1
- package/dist/ConsoleShared/src/hooks/useForceRender.d.ts +4 -4
- package/dist/ConsoleShared/src/hooks/useResizeObserver.d.ts +1 -1
- package/dist/ConsoleShared/src/hooks/useScrollShadows.d.ts +7 -7
- package/dist/ConsoleShared/src/index.d.ts +4 -4
- package/dist/ConsoleShared/src/utils/index.d.ts +1 -1
- package/dist/ConsoleShared/src/utils/useCombineRefs.d.ts +2 -2
- package/dist/HelpTopicDrawer.d.ts +33 -32
- package/dist/HelpTopicPanelContent.d.ts +11 -11
- package/dist/QuickStartCatalogPage.d.ts +14 -14
- package/dist/QuickStartCloseModal.d.ts +8 -8
- package/dist/QuickStartController.d.ts +10 -10
- package/dist/QuickStartDrawer.d.ts +62 -62
- package/dist/QuickStartMarkdownView.d.ts +9 -9
- package/dist/QuickStartPanelContent.d.ts +15 -15
- package/dist/catalog/Catalog/QuickStartCatalogHeader.d.ts +6 -6
- package/dist/catalog/Catalog/QuickStartCatalogSection.d.ts +5 -5
- package/dist/catalog/Catalog/QuickStartCatalogToolbar.d.ts +5 -5
- package/dist/catalog/Catalog/index.d.ts +3 -3
- package/dist/catalog/QuickStartCatalog.d.ts +8 -8
- package/dist/catalog/QuickStartTile.d.ts +11 -11
- package/dist/catalog/QuickStartTileDescription.d.ts +8 -8
- package/dist/catalog/QuickStartTileFooter.d.ts +8 -8
- package/dist/catalog/QuickStartTileFooterExternal.d.ts +8 -8
- package/dist/catalog/QuickStartTileHeader.d.ts +12 -12
- package/dist/catalog/Toolbar/QuickStartCatalogFilter.d.ts +10 -10
- package/dist/catalog/Toolbar/QuickStartCatalogFilterItems.d.ts +31 -31
- package/dist/catalog/index.d.ts +9 -9
- package/dist/controller/QuickStartConclusion.d.ts +12 -12
- package/dist/controller/QuickStartContent.d.ts +14 -14
- package/dist/controller/QuickStartFooter.d.ts +14 -14
- package/dist/controller/QuickStartIntroduction.d.ts +12 -12
- package/dist/controller/QuickStartTaskHeader.d.ts +15 -15
- package/dist/controller/QuickStartTaskHeaderList.d.ts +10 -10
- package/dist/controller/QuickStartTaskReview.d.ts +10 -10
- package/dist/controller/QuickStartTasks.d.ts +12 -12
- package/dist/data/mocks/json/explore-pipeline-quickstart.d.ts +2 -2
- package/dist/data/mocks/json/explore-serverless-quickstart.d.ts +2 -2
- package/dist/data/mocks/json/monitor-sampleapp-quickstart.d.ts +2 -2
- package/dist/data/mocks/json/tour-icons.d.ts +2 -2
- package/dist/data/quick-start-test-data.d.ts +2 -2
- package/dist/data/test-utils.d.ts +8 -7
- package/dist/index.d.ts +16 -16
- package/dist/index.es.js +2346 -2391
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2346 -2390
- package/dist/index.js.map +1 -1
- package/dist/patternfly-docs/quick-starts/design-guidelines/design-guidelines.md +1 -1
- package/dist/patternfly-docs/quick-starts/examples/Basic.jsx +1 -1
- package/dist/patternfly-docs/quick-starts/examples/HelpTopic.jsx +2 -4
- package/dist/patternfly-global.css +752 -1110
- package/dist/patternfly-nested.css +8784 -9605
- package/dist/quickstarts-base.css +188 -188
- package/dist/quickstarts-full.es.js +19627 -10887
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts-standalone.css +216 -219
- package/dist/quickstarts-standalone.min.css +4 -4
- package/dist/quickstarts-vendor.css +71 -71
- package/dist/quickstarts.css +259 -259
- package/dist/quickstarts.min.css +1 -1
- package/dist/styles/patternfly-global-entry.d.ts +1 -1
- package/dist/styles/patternfly-nested-entry.d.ts +1 -1
- package/dist/styles/quickstarts-standalone-entry.d.ts +1 -1
- package/dist/styles/vendor-entry.d.ts +1 -1
- package/dist/utils/PluralResolver.d.ts +16 -10
- package/dist/utils/asciidoc-procedure-parser.d.ts +12 -12
- package/dist/utils/const.d.ts +6 -6
- package/dist/utils/help-topic-context.d.ts +23 -23
- package/dist/utils/help-topic-types.d.ts +13 -13
- package/dist/utils/quick-start-context.d.ts +81 -81
- package/dist/utils/quick-start-types.d.ts +60 -58
- package/dist/utils/quick-start-utils.d.ts +10 -10
- package/dist/utils/useLocalStorage.d.ts +1 -1
- package/package.json +17 -13
- package/src/ConsoleInternal/components/_icon-and-text.scss +2 -2
- package/src/ConsoleInternal/components/catalog/_catalog.scss +20 -20
- package/src/ConsoleInternal/components/markdown-view.tsx +23 -52
- package/src/ConsoleInternal/components/utils/_status-box.scss +1 -1
- package/src/ConsoleInternal/components/utils/camel-case-wrap.tsx +3 -3
- package/src/ConsoleInternal/components/utils/router.ts +0 -2
- package/src/ConsoleInternal/components/utils/status-box.tsx +8 -46
- package/src/ConsoleInternal/module/k8s/types.ts +6 -6
- package/src/ConsoleShared/src/components/layout/PageLayout.scss +10 -10
- package/src/ConsoleShared/src/components/markdown-extensions/MarkdownCopyClipboard.tsx +13 -11
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-extension.tsx +3 -4
- package/src/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.tsx +7 -7
- package/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx +4 -4
- package/src/ConsoleShared/src/components/markdown-extensions/code-extension.tsx +1 -3
- package/src/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.tsx +5 -5
- package/src/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.tsx +8 -8
- package/src/ConsoleShared/src/components/markdown-extensions/showdown-extension.scss +5 -5
- package/src/ConsoleShared/src/components/markdown-extensions/utils.ts +1 -3
- package/src/ConsoleShared/src/components/markdown-highlight-extension/MarkdownHighlightExtension.tsx +7 -6
- package/src/ConsoleShared/src/components/popper/Portal.tsx +6 -4
- package/src/ConsoleShared/src/components/popper/SimplePopper.tsx +7 -5
- package/src/ConsoleShared/src/components/spotlight/InteractiveSpotlight.tsx +2 -2
- package/src/ConsoleShared/src/components/spotlight/Spotlight.tsx +2 -2
- package/src/ConsoleShared/src/components/spotlight/StaticSpotlight.tsx +3 -3
- package/src/ConsoleShared/src/components/spotlight/spotlight.scss +4 -4
- package/src/ConsoleShared/src/components/status/GenericStatus.tsx +1 -0
- package/src/ConsoleShared/src/components/status/PopoverStatus.tsx +20 -23
- package/src/ConsoleShared/src/components/status/Status.tsx +2 -2
- package/src/ConsoleShared/src/components/status/icons.tsx +17 -55
- package/src/ConsoleShared/src/components/status/statuses.tsx +1 -17
- package/src/ConsoleShared/src/components/status/types.ts +3 -2
- package/src/ConsoleShared/src/components/utils/FallbackImg.tsx +2 -2
- package/src/ConsoleShared/src/hooks/useResizeObserver.ts +5 -6
- package/src/ConsoleShared/src/utils/useCombineRefs.ts +2 -3
- package/src/HelpTopicDrawer.tsx +6 -14
- package/src/HelpTopicPanelContent.tsx +57 -49
- package/src/QuickStartCatalogPage.tsx +19 -14
- package/src/QuickStartCloseModal.tsx +2 -2
- package/src/QuickStartController.tsx +3 -5
- package/src/QuickStartDrawer.scss +1 -1
- package/src/QuickStartDrawer.tsx +2 -2
- package/src/QuickStartMarkdownView.tsx +4 -4
- package/src/QuickStartPanelContent.scss +8 -8
- package/src/QuickStartPanelContent.tsx +8 -9
- 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.scss +1 -1
- package/src/catalog/QuickStartCatalog.tsx +2 -2
- package/src/catalog/QuickStartTile.tsx +20 -15
- package/src/catalog/QuickStartTileDescription.scss +4 -4
- package/src/catalog/QuickStartTileDescription.tsx +2 -2
- package/src/catalog/QuickStartTileFooter.tsx +2 -2
- package/src/catalog/QuickStartTileFooterExternal.tsx +2 -2
- package/src/catalog/QuickStartTileHeader.scss +5 -5
- package/src/catalog/QuickStartTileHeader.tsx +2 -2
- package/src/catalog/Toolbar/QuickStartCatalogFilter.scss +9 -9
- package/src/catalog/Toolbar/QuickStartCatalogFilter.tsx +1 -3
- package/src/catalog/Toolbar/QuickStartCatalogFilterItems.tsx +49 -30
- package/src/controller/QuickStartConclusion.tsx +3 -3
- package/src/controller/QuickStartContent.scss +2 -2
- package/src/controller/QuickStartContent.tsx +2 -2
- package/src/controller/QuickStartFooter.scss +3 -3
- package/src/controller/QuickStartFooter.tsx +6 -10
- package/src/controller/QuickStartIntroduction.scss +7 -7
- package/src/controller/QuickStartIntroduction.tsx +5 -7
- package/src/controller/QuickStartTaskHeader.scss +15 -15
- package/src/controller/QuickStartTaskHeader.tsx +14 -12
- package/src/controller/QuickStartTaskHeaderList.scss +1 -1
- package/src/controller/QuickStartTaskHeaderList.tsx +3 -5
- package/src/controller/QuickStartTaskReview.scss +7 -7
- package/src/controller/QuickStartTaskReview.tsx +2 -2
- package/src/controller/QuickStartTasks.scss +13 -13
- package/src/controller/QuickStartTasks.tsx +2 -2
- package/src/controller/__tests__/QuickStartTaskHeader.spec.tsx +4 -17
- package/src/styles/_base.scss +5 -5
- package/src/styles/_dark-custom-override.scss +28 -28
- package/src/styles/legacy-bootstrap/_variables.scss +7 -7
- package/src/styles/patternfly-global.scss +6 -6
- package/src/styles/patternfly-nested.scss +1 -1
- package/src/utils/PluralResolver.ts +29 -23
- package/src/utils/asciidoc-procedure-parser.ts +2 -4
- package/src/utils/help-topic-context.tsx +3 -5
- package/src/utils/help-topic-types.ts +4 -4
- package/src/utils/quick-start-context.tsx +8 -12
- package/src/utils/quick-start-types.ts +15 -14
- package/src/utils/quick-start-utils.ts +2 -6
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as SimplePopper } from './SimplePopper';
|
|
2
|
-
export { default as Portal } from './Portal';
|
|
1
|
+
export { default as SimplePopper } from './SimplePopper';
|
|
2
|
+
export { default as Portal } from './Portal';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './spotlight.scss';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
element: Element;
|
|
5
|
-
}
|
|
6
|
-
declare const InteractiveSpotlight: React.FC<InteractiveSpotlightProps>;
|
|
7
|
-
export default InteractiveSpotlight;
|
|
1
|
+
import './spotlight.scss';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface InteractiveSpotlightProps {
|
|
4
|
+
element: Element;
|
|
5
|
+
}
|
|
6
|
+
declare const InteractiveSpotlight: React.FC<InteractiveSpotlightProps>;
|
|
7
|
+
export default InteractiveSpotlight;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
selector: string;
|
|
4
|
-
interactive?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const Spotlight: React.FC<SpotlightProps>;
|
|
7
|
-
export default Spotlight;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface SpotlightProps {
|
|
3
|
+
selector: string;
|
|
4
|
+
interactive?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Spotlight: React.FC<SpotlightProps>;
|
|
7
|
+
export default Spotlight;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './spotlight.scss';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
element: Element;
|
|
5
|
-
}
|
|
6
|
-
declare const StaticSpotlight: React.FC<StaticSpotlightProps>;
|
|
7
|
-
export default StaticSpotlight;
|
|
1
|
+
import './spotlight.scss';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface StaticSpotlightProps {
|
|
4
|
+
element: Element;
|
|
5
|
+
}
|
|
6
|
+
declare const StaticSpotlight: React.FC<StaticSpotlightProps>;
|
|
7
|
+
export default StaticSpotlight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Spotlight } from './Spotlight';
|
|
1
|
+
export { default as Spotlight } from './Spotlight';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StatusComponentProps } from './types';
|
|
3
|
-
declare const GenericStatus: React.FC<GenericStatusProps>;
|
|
4
|
-
|
|
5
|
-
Icon: React.ComponentType<{
|
|
6
|
-
title?: string;
|
|
7
|
-
}>;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StatusComponentProps } from './types';
|
|
3
|
+
declare const GenericStatus: React.FC<GenericStatusProps>;
|
|
4
|
+
type GenericStatusProps = StatusComponentProps & {
|
|
5
|
+
Icon: React.ComponentType<{
|
|
6
|
+
title?: string;
|
|
7
|
+
}>;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
popoverTitle?: string;
|
|
10
|
+
noTooltip?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export default GenericStatus;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
|
+
export default _default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const PopoverStatus: React.FC<PopoverStatusProps>;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const PopoverStatus: React.FC<PopoverStatusProps>;
|
|
3
|
+
interface PopoverStatusProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
statusBody: React.ReactNode;
|
|
6
|
+
onHide?: (event: MouseEvent | KeyboardEvent) => void;
|
|
7
|
+
onShow?: (event: MouseEvent | KeyboardEvent) => void;
|
|
8
|
+
title?: string;
|
|
9
|
+
hideHeader?: boolean;
|
|
10
|
+
isVisible?: boolean;
|
|
11
|
+
shouldClose?: (hideFunction: any) => void;
|
|
12
|
+
}
|
|
13
|
+
export default PopoverStatus;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StatusComponentProps } from './types';
|
|
3
|
-
export declare const Status: React.FC<StatusProps>;
|
|
4
|
-
export declare const StatusIcon: React.FC<StatusIconProps>;
|
|
5
|
-
|
|
6
|
-
status: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
status: string;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StatusComponentProps } from './types';
|
|
3
|
+
export declare const Status: React.FC<StatusProps>;
|
|
4
|
+
export declare const StatusIcon: React.FC<StatusIconProps>;
|
|
5
|
+
interface StatusIconProps {
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
type StatusProps = StatusComponentProps & {
|
|
9
|
+
status: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StatusComponentProps } from './types';
|
|
3
|
-
|
|
4
|
-
icon?: React.ReactElement;
|
|
5
|
-
spin?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const StatusIconAndText: React.FC<StatusIconAndTextProps>;
|
|
8
|
-
export default StatusIconAndText;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StatusComponentProps } from './types';
|
|
3
|
+
type StatusIconAndTextProps = StatusComponentProps & {
|
|
4
|
+
icon?: React.ReactElement;
|
|
5
|
+
spin?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const StatusIconAndText: React.FC<StatusIconAndTextProps>;
|
|
8
|
+
export default StatusIconAndText;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const GreenCheckCircleIcon: React.FC<ColoredIconProps>;
|
|
3
|
-
export declare const RedExclamationCircleIcon: React.FC<ColoredIconProps>;
|
|
4
|
-
export declare const BlueInfoCircleIcon: React.FC<ColoredIconProps>;
|
|
5
|
-
export
|
|
6
|
-
className?: string;
|
|
7
|
-
title?: string;
|
|
8
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const GreenCheckCircleIcon: React.FC<ColoredIconProps>;
|
|
3
|
+
export declare const RedExclamationCircleIcon: React.FC<ColoredIconProps>;
|
|
4
|
+
export declare const BlueInfoCircleIcon: React.FC<ColoredIconProps>;
|
|
5
|
+
export interface ColoredIconProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Status';
|
|
1
|
+
export * from './Status';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StatusComponentProps } from './types';
|
|
3
|
-
export declare const ErrorStatus: React.FC<StatusComponentProps>;
|
|
4
|
-
export declare const InfoStatus: React.FC<StatusComponentProps>;
|
|
5
|
-
export declare const SuccessStatus: React.FC<StatusComponentProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StatusComponentProps } from './types';
|
|
3
|
+
export declare const ErrorStatus: React.FC<StatusComponentProps>;
|
|
4
|
+
export declare const InfoStatus: React.FC<StatusComponentProps>;
|
|
5
|
+
export declare const SuccessStatus: React.FC<StatusComponentProps>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface StatusComponentProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
title?: string;
|
|
5
|
+
iconOnly?: boolean;
|
|
6
|
+
noTooltip?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
popoverTitle?: string;
|
|
9
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
src: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
fallback?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const FallbackImg: React.FC<FallbackImgProps>;
|
|
9
|
-
export default FallbackImg;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface FallbackImgProps {
|
|
3
|
+
src: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
fallback?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const FallbackImg: React.FC<FallbackImgProps>;
|
|
9
|
+
export default FallbackImg;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as FallbackImg } from './FallbackImg';
|
|
1
|
+
export { default as FallbackImg } from './FallbackImg';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ui';
|
|
1
|
+
export * from './ui';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DASH = "-";
|
|
1
|
+
export declare const DASH = "-";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './scroll';
|
|
2
|
-
export * from './useResizeObserver';
|
|
3
|
-
export * from './useScrollShadows';
|
|
4
|
-
export * from './useBoundingClientRect';
|
|
5
|
-
export * from './useForceRender';
|
|
6
|
-
export * from './useEventListener';
|
|
1
|
+
export * from './scroll';
|
|
2
|
+
export * from './useResizeObserver';
|
|
3
|
+
export * from './useScrollShadows';
|
|
4
|
+
export * from './useBoundingClientRect';
|
|
5
|
+
export * from './useForceRender';
|
|
6
|
+
export * from './useEventListener';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare enum ScrollDirection {
|
|
2
|
-
scrollingUp = "scrolling-up",
|
|
3
|
-
scrollingDown = "scrolling-down",
|
|
4
|
-
scrolledToBottom = "scrolled-to-bottom",
|
|
5
|
-
scrolledToTop = "scrolled-to-top"
|
|
6
|
-
}
|
|
7
|
-
export declare const getScrollDirection: (prevScrollTop: number, currentScrollTop: number, scrollHeight: number, clientHeight: number) => any;
|
|
8
|
-
export declare const useScrollDirection: () => [ScrollDirection, (event: any) => void];
|
|
1
|
+
export declare enum ScrollDirection {
|
|
2
|
+
scrollingUp = "scrolling-up",
|
|
3
|
+
scrollingDown = "scrolling-down",
|
|
4
|
+
scrolledToBottom = "scrolled-to-bottom",
|
|
5
|
+
scrolledToTop = "scrolled-to-top"
|
|
6
|
+
}
|
|
7
|
+
export declare const getScrollDirection: (prevScrollTop: number, currentScrollTop: number, scrollHeight: number, clientHeight: number) => any;
|
|
8
|
+
export declare const useScrollDirection: () => [ScrollDirection, (event: any) => void];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useEventListener: (target: EventTarget, event:
|
|
1
|
+
export declare const useEventListener: (target: EventTarget, event: keyof WindowEventMap, callback: EventListener) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* React hook that forces component render.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useForceRender: () => VoidFunction;
|
|
1
|
+
/**
|
|
2
|
+
* React hook that forces component render.
|
|
3
|
+
*/
|
|
4
|
+
export declare const useForceRender: () => VoidFunction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useResizeObserver: (callback:
|
|
1
|
+
export declare const useResizeObserver: (callback: ResizeObserverCallback, targetElement?: HTMLElement | null, observerOptions?: ResizeObserverOptions) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum Shadows {
|
|
2
|
-
none = "none",
|
|
3
|
-
both = "both",
|
|
4
|
-
top = "top",
|
|
5
|
-
bottom = "bottom"
|
|
6
|
-
}
|
|
7
|
-
export declare const useScrollShadows: (node: HTMLElement) => Shadows;
|
|
1
|
+
export declare enum Shadows {
|
|
2
|
+
none = "none",
|
|
3
|
+
both = "both",
|
|
4
|
+
top = "top",
|
|
5
|
+
bottom = "bottom"
|
|
6
|
+
}
|
|
7
|
+
export declare const useScrollShadows: (node: HTMLElement) => Shadows;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './hooks';
|
|
3
|
-
export * from './utils';
|
|
4
|
-
export * from './constants';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './hooks';
|
|
3
|
+
export * from './utils';
|
|
4
|
+
export * from './constants';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './useCombineRefs';
|
|
1
|
+
export * from './useCombineRefs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const useCombineRefs: <RefType
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const useCombineRefs: <RefType>(...refs: React.Ref<RefType>[]) => (element: RefType) => void;
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import './QuickStartDrawer.scss';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { QuickStartContextValues } from './utils/quick-start-context';
|
|
4
|
-
import { HelpTopic } from './utils/help-topic-types';
|
|
5
|
-
export interface HelpTopicContainerProps extends React.HTMLProps<HTMLDivElement> {
|
|
6
|
-
/** array of HelpTopics */
|
|
7
|
-
helpTopics: HelpTopic[];
|
|
8
|
-
/** text resources object
|
|
9
|
-
* Add custom strings: https://github.com/patternfly/patternfly-quickstarts/tree/main/packages/module#localization
|
|
10
|
-
*/
|
|
11
|
-
resourceBundle?: any;
|
|
12
|
-
/** language of the current resource bundle */
|
|
13
|
-
language?: string;
|
|
14
|
-
/** if true, will show a loading spinner on the catalog page (default false) */
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Additional markdown extensions and renderers to use
|
|
18
|
-
* Example usage: https://github.com/patternfly/patternfly-quickstarts/tree/main/packages/module#markdown-extensions
|
|
19
|
-
*/
|
|
20
|
-
markdown?: {
|
|
21
|
-
extensions?: any[];
|
|
22
|
-
renderExtension?: (docContext:
|
|
23
|
-
};
|
|
24
|
-
/** additional quick start context props */
|
|
25
|
-
contextProps?: QuickStartContextValues;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import './QuickStartDrawer.scss';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { QuickStartContextValues } from './utils/quick-start-context';
|
|
4
|
+
import { HelpTopic } from './utils/help-topic-types';
|
|
5
|
+
export interface HelpTopicContainerProps extends React.HTMLProps<HTMLDivElement> {
|
|
6
|
+
/** array of HelpTopics */
|
|
7
|
+
helpTopics: HelpTopic[];
|
|
8
|
+
/** text resources object
|
|
9
|
+
* Add custom strings: https://github.com/patternfly/patternfly-quickstarts/tree/main/packages/module#localization
|
|
10
|
+
*/
|
|
11
|
+
resourceBundle?: any;
|
|
12
|
+
/** language of the current resource bundle */
|
|
13
|
+
language?: string;
|
|
14
|
+
/** if true, will show a loading spinner on the catalog page (default false) */
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Additional markdown extensions and renderers to use
|
|
18
|
+
* Example usage: https://github.com/patternfly/patternfly-quickstarts/tree/main/packages/module#markdown-extensions
|
|
19
|
+
*/
|
|
20
|
+
markdown?: {
|
|
21
|
+
extensions?: any[];
|
|
22
|
+
renderExtension?: (docContext: Document, rootSelector: string) => React.ReactNode;
|
|
23
|
+
};
|
|
24
|
+
/** additional quick start context props */
|
|
25
|
+
contextProps?: QuickStartContextValues;
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
export declare const HelpTopicContainer: React.FC<HelpTopicContainerProps>;
|
|
29
|
+
export interface HelpTopicDrawerProps extends React.HTMLProps<HTMLDivElement> {
|
|
30
|
+
helpTopics?: HelpTopic[];
|
|
31
|
+
children?: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare const HelpTopicDrawer: React.FC<HelpTopicDrawerProps>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { HelpTopic } from './utils/help-topic-types';
|
|
3
|
-
import './QuickStartPanelContent.scss';
|
|
4
|
-
|
|
5
|
-
activeHelpTopic: HelpTopic;
|
|
6
|
-
filteredHelpTopics?: HelpTopic[];
|
|
7
|
-
isResizable?: boolean;
|
|
8
|
-
onClose: () => void;
|
|
9
|
-
}
|
|
10
|
-
declare const HelpTopicPanelContent: React.FC<HelpTopicPanelContentProps>;
|
|
11
|
-
export default HelpTopicPanelContent;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HelpTopic } from './utils/help-topic-types';
|
|
3
|
+
import './QuickStartPanelContent.scss';
|
|
4
|
+
interface HelpTopicPanelContentProps {
|
|
5
|
+
activeHelpTopic: HelpTopic;
|
|
6
|
+
filteredHelpTopics?: HelpTopic[];
|
|
7
|
+
isResizable?: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const HelpTopicPanelContent: React.FC<HelpTopicPanelContentProps>;
|
|
11
|
+
export default HelpTopicPanelContent;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { QuickStart } from './utils/quick-start-types';
|
|
3
|
-
export
|
|
4
|
-
quickStarts?: QuickStart[];
|
|
5
|
-
showFilter?: boolean;
|
|
6
|
-
sortFnc?: (q1: QuickStart, q2: QuickStart) => number;
|
|
7
|
-
title?: string;
|
|
8
|
-
hint?: string;
|
|
9
|
-
showTitle?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const QuickStartCatalogEmptyState: ({ clearFilters }: {
|
|
12
|
-
clearFilters: any;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
export declare const QuickStartCatalogPage: React.FC<QuickStartCatalogPageProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { QuickStart } from './utils/quick-start-types';
|
|
3
|
+
export interface QuickStartCatalogPageProps {
|
|
4
|
+
quickStarts?: QuickStart[];
|
|
5
|
+
showFilter?: boolean;
|
|
6
|
+
sortFnc?: (q1: QuickStart, q2: QuickStart) => number;
|
|
7
|
+
title?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
showTitle?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const QuickStartCatalogEmptyState: ({ clearFilters }: {
|
|
12
|
+
clearFilters: any;
|
|
13
|
+
}) => React.JSX.Element;
|
|
14
|
+
export declare const QuickStartCatalogPage: React.FC<QuickStartCatalogPageProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onConfirm: () => void;
|
|
5
|
-
onCancel: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare const QuickStartCloseModal: React.FC<QuickStartCloseModalProps>;
|
|
8
|
-
export default QuickStartCloseModal;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface QuickStartCloseModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onConfirm: () => void;
|
|
5
|
+
onCancel: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const QuickStartCloseModal: React.FC<QuickStartCloseModalProps>;
|
|
8
|
+
export default QuickStartCloseModal;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { QuickStart } from './utils/quick-start-types';
|
|
3
|
-
|
|
4
|
-
quickStart: QuickStart;
|
|
5
|
-
nextQuickStarts?: QuickStart[];
|
|
6
|
-
footerClass: string;
|
|
7
|
-
contentRef: React.Ref<HTMLDivElement>;
|
|
8
|
-
}
|
|
9
|
-
declare const QuickStartController: React.FC<QuickStartControllerProps>;
|
|
10
|
-
export default QuickStartController;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { QuickStart } from './utils/quick-start-types';
|
|
3
|
+
interface QuickStartControllerProps {
|
|
4
|
+
quickStart: QuickStart;
|
|
5
|
+
nextQuickStarts?: QuickStart[];
|
|
6
|
+
footerClass: string;
|
|
7
|
+
contentRef: React.Ref<HTMLDivElement>;
|
|
8
|
+
}
|
|
9
|
+
declare const QuickStartController: React.FC<QuickStartControllerProps>;
|
|
10
|
+
export default QuickStartController;
|