@patternfly/quickstarts 5.0.0-prerelease.2 → 5.1.0-prerelease.1
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 +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 -8
- package/dist/ConsoleShared/src/components/popper/SimplePopper.d.ts +6 -6
- 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 -12
- package/dist/ConsoleShared/src/components/status/NotStartedIcon.d.ts +3 -3
- package/dist/ConsoleShared/src/components/status/PopoverStatus.d.ts +13 -13
- 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 -9
- 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 -3
- 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 -33
- 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 -8
- package/dist/index.d.ts +16 -16
- package/dist/index.es.js +2286 -2286
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2286 -2286
- package/dist/index.js.map +1 -1
- package/dist/quickstarts-base.css +4 -4
- package/dist/quickstarts-full.es.js +3026 -2393
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts.css +4 -4
- 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 -16
- 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 -60
- package/dist/utils/quick-start-utils.d.ts +10 -10
- package/dist/utils/useLocalStorage.d.ts +1 -1
- package/package.json +12 -13
- package/src/QuickStartController.tsx +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './_markdown-view.scss';
|
|
3
|
-
interface ShowdownExtension {
|
|
4
|
-
type: string;
|
|
5
|
-
regex?: RegExp;
|
|
6
|
-
replace?: (...args: any[]) => string;
|
|
7
|
-
}
|
|
8
|
-
export declare const markdownConvert: (markdown: any, extensions?: ShowdownExtension[]) => any;
|
|
9
|
-
interface SyncMarkdownProps {
|
|
10
|
-
content?: string;
|
|
11
|
-
emptyMsg?: string;
|
|
12
|
-
exactHeight?: boolean;
|
|
13
|
-
extensions?: ShowdownExtension[];
|
|
14
|
-
renderExtension?: (contentDocument: Document, rootSelector: string) => React.ReactNode;
|
|
15
|
-
inline?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const SyncMarkdownView: React.FC<SyncMarkdownProps>;
|
|
19
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './_markdown-view.scss';
|
|
3
|
+
interface ShowdownExtension {
|
|
4
|
+
type: string;
|
|
5
|
+
regex?: RegExp;
|
|
6
|
+
replace?: (...args: any[]) => string;
|
|
7
|
+
}
|
|
8
|
+
export declare const markdownConvert: (markdown: any, extensions?: ShowdownExtension[]) => any;
|
|
9
|
+
interface SyncMarkdownProps {
|
|
10
|
+
content?: string;
|
|
11
|
+
emptyMsg?: string;
|
|
12
|
+
exactHeight?: boolean;
|
|
13
|
+
extensions?: ShowdownExtension[];
|
|
14
|
+
renderExtension?: (contentDocument: Document, rootSelector: string) => React.ReactNode;
|
|
15
|
+
inline?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const SyncMarkdownView: React.FC<SyncMarkdownProps>;
|
|
19
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const CamelCaseWrap: React.FC<CamelCaseWrapProps>;
|
|
3
|
-
export interface CamelCaseWrapProps {
|
|
4
|
-
value: string;
|
|
5
|
-
dataTest?: string;
|
|
6
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const CamelCaseWrap: React.FC<CamelCaseWrapProps>;
|
|
3
|
+
export interface CamelCaseWrapProps {
|
|
4
|
+
value: string;
|
|
5
|
+
dataTest?: string;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './status-box';
|
|
2
|
-
export * from './router';
|
|
3
|
-
export * from './camel-case-wrap';
|
|
1
|
+
export * from './status-box';
|
|
2
|
+
export * from './router';
|
|
3
|
+
export * from './camel-case-wrap';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { History } from 'history';
|
|
2
|
-
|
|
3
|
-
pushPath: History['push'];
|
|
4
|
-
};
|
|
5
|
-
export declare const history: AppHistory;
|
|
6
|
-
export declare const removeQueryArgument: (k: string) => void;
|
|
7
|
-
export declare const setQueryArgument: (k: string, v: string) => void;
|
|
8
|
-
export declare const clearFilterParams: () => void;
|
|
9
|
-
export {};
|
|
1
|
+
import { History } from 'history';
|
|
2
|
+
type AppHistory = History & {
|
|
3
|
+
pushPath: History['push'];
|
|
4
|
+
};
|
|
5
|
+
export declare const history: AppHistory;
|
|
6
|
+
export declare const removeQueryArgument: (k: string) => void;
|
|
7
|
+
export declare const setQueryArgument: (k: string, v: string) => void;
|
|
8
|
+
export declare const clearFilterParams: () => void;
|
|
9
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const Box: React.FC<BoxProps>;
|
|
3
|
-
export declare const Loading: React.FC<LoadingProps>;
|
|
4
|
-
export declare const LoadingBox: React.FC<LoadingBoxProps>;
|
|
5
|
-
export declare const EmptyBox: React.FC<EmptyBoxProps>;
|
|
6
|
-
interface BoxProps {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
interface LoadingProps {
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
interface LoadingBoxProps {
|
|
14
|
-
className?: string;
|
|
15
|
-
message?: string;
|
|
16
|
-
}
|
|
17
|
-
interface EmptyBoxProps {
|
|
18
|
-
label?: string;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Box: React.FC<BoxProps>;
|
|
3
|
+
export declare const Loading: React.FC<LoadingProps>;
|
|
4
|
+
export declare const LoadingBox: React.FC<LoadingBoxProps>;
|
|
5
|
+
export declare const EmptyBox: React.FC<EmptyBoxProps>;
|
|
6
|
+
interface BoxProps {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
interface LoadingProps {
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
interface LoadingBoxProps {
|
|
14
|
+
className?: string;
|
|
15
|
+
message?: string;
|
|
16
|
+
}
|
|
17
|
+
interface EmptyBoxProps {
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export interface AccessReviewResourceAttributes {
|
|
2
|
-
group?: string;
|
|
3
|
-
resource?: string;
|
|
4
|
-
subresource?: string;
|
|
5
|
-
verb?: K8sVerb;
|
|
6
|
-
name?: string;
|
|
7
|
-
namespace?: string;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export interface OwnerReference {
|
|
11
|
-
name: string;
|
|
12
|
-
kind: string;
|
|
13
|
-
uid: string;
|
|
14
|
-
apiVersion: string;
|
|
15
|
-
controller?: boolean;
|
|
16
|
-
blockOwnerDeletion?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface ObjectMetadata {
|
|
19
|
-
name: string;
|
|
20
|
-
annotations?: {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
};
|
|
23
|
-
clusterName?: string;
|
|
24
|
-
creationTimestamp?: string;
|
|
25
|
-
deletionGracePeriodSeconds?: number;
|
|
26
|
-
deletionTimestamp?: string;
|
|
27
|
-
finalizers?: string[];
|
|
28
|
-
generateName?: string;
|
|
29
|
-
generation?: number;
|
|
30
|
-
labels?: {
|
|
31
|
-
[key: string]: string;
|
|
32
|
-
};
|
|
33
|
-
managedFields?: any[];
|
|
34
|
-
namespace?: string;
|
|
35
|
-
ownerReferences?: OwnerReference[];
|
|
36
|
-
resourceVersion?: string;
|
|
37
|
-
uid?: string;
|
|
38
|
-
language?: string;
|
|
39
|
-
country?: string;
|
|
40
|
-
locale?: string;
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
}
|
|
1
|
+
export interface AccessReviewResourceAttributes {
|
|
2
|
+
group?: string;
|
|
3
|
+
resource?: string;
|
|
4
|
+
subresource?: string;
|
|
5
|
+
verb?: K8sVerb;
|
|
6
|
+
name?: string;
|
|
7
|
+
namespace?: string;
|
|
8
|
+
}
|
|
9
|
+
export type K8sVerb = 'create' | 'get' | 'list' | 'update' | 'patch' | 'delete' | 'deletecollection' | 'watch';
|
|
10
|
+
export interface OwnerReference {
|
|
11
|
+
name: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
uid: string;
|
|
14
|
+
apiVersion: string;
|
|
15
|
+
controller?: boolean;
|
|
16
|
+
blockOwnerDeletion?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface ObjectMetadata {
|
|
19
|
+
name: string;
|
|
20
|
+
annotations?: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
clusterName?: string;
|
|
24
|
+
creationTimestamp?: string;
|
|
25
|
+
deletionGracePeriodSeconds?: number;
|
|
26
|
+
deletionTimestamp?: string;
|
|
27
|
+
finalizers?: string[];
|
|
28
|
+
generateName?: string;
|
|
29
|
+
generation?: number;
|
|
30
|
+
labels?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
managedFields?: any[];
|
|
34
|
+
namespace?: string;
|
|
35
|
+
ownerReferences?: OwnerReference[];
|
|
36
|
+
resourceVersion?: string;
|
|
37
|
+
uid?: string;
|
|
38
|
+
language?: string;
|
|
39
|
+
country?: string;
|
|
40
|
+
locale?: string;
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src';
|
|
1
|
+
export * from './src';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './modal';
|
|
2
|
-
export * from './spotlight';
|
|
3
|
-
export * from './markdown-highlight-extension';
|
|
4
|
-
export * from './markdown-extensions';
|
|
5
|
-
export * from './popper';
|
|
6
|
-
export * from './utils';
|
|
7
|
-
export * from './status';
|
|
1
|
+
export * from './modal';
|
|
2
|
+
export * from './spotlight';
|
|
3
|
+
export * from './markdown-highlight-extension';
|
|
4
|
+
export * from './markdown-extensions';
|
|
5
|
+
export * from './popper';
|
|
6
|
+
export * from './utils';
|
|
7
|
+
export * from './status';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface CopyClipboardProps {
|
|
3
|
-
element: HTMLElement;
|
|
4
|
-
rootSelector: string;
|
|
5
|
-
docContext: Document;
|
|
6
|
-
}
|
|
7
|
-
export declare const CopyClipboard: React.FC<CopyClipboardProps>;
|
|
8
|
-
interface MarkdownCopyClipboardProps {
|
|
9
|
-
docContext: Document;
|
|
10
|
-
rootSelector: string;
|
|
11
|
-
}
|
|
12
|
-
declare const MarkdownCopyClipboard: React.FC<MarkdownCopyClipboardProps>;
|
|
13
|
-
export default MarkdownCopyClipboard;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface CopyClipboardProps {
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
rootSelector: string;
|
|
5
|
+
docContext: Document;
|
|
6
|
+
}
|
|
7
|
+
export declare const CopyClipboard: React.FC<CopyClipboardProps>;
|
|
8
|
+
interface MarkdownCopyClipboardProps {
|
|
9
|
+
docContext: Document;
|
|
10
|
+
rootSelector: string;
|
|
11
|
+
}
|
|
12
|
+
declare const MarkdownCopyClipboard: React.FC<MarkdownCopyClipboardProps>;
|
|
13
|
+
export default MarkdownCopyClipboard;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './showdown-extension.scss';
|
|
2
|
-
declare const useAccordionShowdownExtension: () => {
|
|
3
|
-
type: string;
|
|
4
|
-
regex: RegExp;
|
|
5
|
-
replace: (_text: string, accordionContent: string, _command: string, accordionHeading: string) => string;
|
|
6
|
-
};
|
|
7
|
-
export default useAccordionShowdownExtension;
|
|
1
|
+
import './showdown-extension.scss';
|
|
2
|
+
declare const useAccordionShowdownExtension: () => {
|
|
3
|
+
type: string;
|
|
4
|
+
regex: RegExp;
|
|
5
|
+
replace: (_text: string, accordionContent: string, _command: string, accordionHeading: string) => string;
|
|
6
|
+
};
|
|
7
|
+
export default useAccordionShowdownExtension;
|
package/dist/ConsoleShared/src/components/markdown-extensions/accordion-render-extension.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface accordionRenderExtensionProps {
|
|
3
|
-
docContext: Document;
|
|
4
|
-
}
|
|
5
|
-
declare const AccordionRenderExtension: React.FC<accordionRenderExtensionProps>;
|
|
6
|
-
export default AccordionRenderExtension;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface accordionRenderExtensionProps {
|
|
3
|
+
docContext: Document;
|
|
4
|
+
}
|
|
5
|
+
declare const AccordionRenderExtension: React.FC<accordionRenderExtensionProps>;
|
|
6
|
+
export default AccordionRenderExtension;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './showdown-extension.scss';
|
|
2
|
-
declare const useAdmonitionShowdownExtension: () => {
|
|
3
|
-
type: string;
|
|
4
|
-
regex: RegExp;
|
|
5
|
-
replace: (text: string, content: string, admonitionLabel: string, admonitionType: string, groupId: string) => string;
|
|
6
|
-
};
|
|
7
|
-
export default useAdmonitionShowdownExtension;
|
|
1
|
+
import './showdown-extension.scss';
|
|
2
|
+
declare const useAdmonitionShowdownExtension: () => {
|
|
3
|
+
type: string;
|
|
4
|
+
regex: RegExp;
|
|
5
|
+
replace: (text: string, content: string, admonitionLabel: string, admonitionType: string, groupId: string) => string;
|
|
6
|
+
};
|
|
7
|
+
export default useAdmonitionShowdownExtension;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './showdown-extension.scss';
|
|
2
|
-
declare const useCodeShowdownExtension: () => {
|
|
3
|
-
type: string;
|
|
4
|
-
regex: RegExp;
|
|
5
|
-
replace: (text: string, content: string) => string;
|
|
6
|
-
};
|
|
7
|
-
export default useCodeShowdownExtension;
|
|
1
|
+
import './showdown-extension.scss';
|
|
2
|
+
declare const useCodeShowdownExtension: () => {
|
|
3
|
+
type: string;
|
|
4
|
+
regex: RegExp;
|
|
5
|
+
replace: (text: string, content: string) => string;
|
|
6
|
+
};
|
|
7
|
+
export default useCodeShowdownExtension;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const MARKDOWN_COPY_BUTTON_ID = "data-copy-for";
|
|
2
|
-
export declare const MARKDOWN_EXECUTE_BUTTON_ID = "data-execute-for";
|
|
3
|
-
export declare const MARKDOWN_SNIPPET_ID = "data-snippet-id";
|
|
4
|
-
export declare const ACCORDION_MARKDOWN_BUTTON_ID = "accordion-markdown-button-id";
|
|
5
|
-
export declare const ACCORDION_MARKDOWN_CONTENT_ID = "accordion-markdown-content-id";
|
|
1
|
+
export declare const MARKDOWN_COPY_BUTTON_ID = "data-copy-for";
|
|
2
|
+
export declare const MARKDOWN_EXECUTE_BUTTON_ID = "data-execute-for";
|
|
3
|
+
export declare const MARKDOWN_SNIPPET_ID = "data-snippet-id";
|
|
4
|
+
export declare const ACCORDION_MARKDOWN_BUTTON_ID = "accordion-markdown-button-id";
|
|
5
|
+
export declare const ACCORDION_MARKDOWN_CONTENT_ID = "accordion-markdown-content-id";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { default as MarkdownCopyClipboard } from './MarkdownCopyClipboard';
|
|
2
|
-
export { default as useInlineCopyClipboardShowdownExtension } from './inline-clipboard-extension';
|
|
3
|
-
export { default as useMultilineCopyClipboardShowdownExtension } from './multiline-clipboard-extension';
|
|
4
|
-
export { default as useAdmonitionShowdownExtension } from './admonition-extension';
|
|
5
|
-
export { default as useCodeShowdownExtension } from './code-extension';
|
|
6
|
-
export { default as useAccordionShowdownExtension } from './accordion-extension';
|
|
7
|
-
export { default as AccordionRenderExtension } from './accordion-render-extension';
|
|
1
|
+
export { default as MarkdownCopyClipboard } from './MarkdownCopyClipboard';
|
|
2
|
+
export { default as useInlineCopyClipboardShowdownExtension } from './inline-clipboard-extension';
|
|
3
|
+
export { default as useMultilineCopyClipboardShowdownExtension } from './multiline-clipboard-extension';
|
|
4
|
+
export { default as useAdmonitionShowdownExtension } from './admonition-extension';
|
|
5
|
+
export { default as useCodeShowdownExtension } from './code-extension';
|
|
6
|
+
export { default as useAccordionShowdownExtension } from './accordion-extension';
|
|
7
|
+
export { default as AccordionRenderExtension } from './accordion-render-extension';
|
package/dist/ConsoleShared/src/components/markdown-extensions/inline-clipboard-extension.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './showdown-extension.scss';
|
|
2
|
-
declare const useInlineCopyClipboardShowdownExtension: () => {
|
|
3
|
-
type: string;
|
|
4
|
-
regex: RegExp;
|
|
5
|
-
replace: (text: string, group: string, _: string, groupId: number) => string;
|
|
6
|
-
};
|
|
7
|
-
export default useInlineCopyClipboardShowdownExtension;
|
|
1
|
+
import './showdown-extension.scss';
|
|
2
|
+
declare const useInlineCopyClipboardShowdownExtension: () => {
|
|
3
|
+
type: string;
|
|
4
|
+
regex: RegExp;
|
|
5
|
+
replace: (text: string, group: string, _: string, groupId: number) => string;
|
|
6
|
+
};
|
|
7
|
+
export default useInlineCopyClipboardShowdownExtension;
|
package/dist/ConsoleShared/src/components/markdown-extensions/multiline-clipboard-extension.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './showdown-extension.scss';
|
|
2
|
-
declare const useMultilineCopyClipboardShowdownExtension: () => {
|
|
3
|
-
type: string;
|
|
4
|
-
regex: RegExp;
|
|
5
|
-
replace: (text: string, group: string, _1: string, _2: string, groupId: number) => string;
|
|
6
|
-
};
|
|
7
|
-
export default useMultilineCopyClipboardShowdownExtension;
|
|
1
|
+
import './showdown-extension.scss';
|
|
2
|
+
declare const useMultilineCopyClipboardShowdownExtension: () => {
|
|
3
|
+
type: string;
|
|
4
|
+
regex: RegExp;
|
|
5
|
+
replace: (text: string, group: string, _1: string, _2: string, groupId: number) => string;
|
|
6
|
+
};
|
|
7
|
+
export default useMultilineCopyClipboardShowdownExtension;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const removeTemplateWhitespace: (template: string) => string;
|
|
1
|
+
export declare const removeTemplateWhitespace: (template: string) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface MarkdownHighlightExtensionProps {
|
|
3
|
-
docContext: Document;
|
|
4
|
-
rootSelector: string;
|
|
5
|
-
}
|
|
6
|
-
declare const MarkdownHighlightExtension: React.FC<MarkdownHighlightExtensionProps>;
|
|
7
|
-
export default MarkdownHighlightExtension;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface MarkdownHighlightExtensionProps {
|
|
3
|
+
docContext: Document;
|
|
4
|
+
rootSelector: string;
|
|
5
|
+
}
|
|
6
|
+
declare const MarkdownHighlightExtension: React.FC<MarkdownHighlightExtensionProps>;
|
|
7
|
+
export default MarkdownHighlightExtension;
|
package/dist/ConsoleShared/src/components/markdown-highlight-extension/highlight-consts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LINK_LABEL = "[\\d\\w\\s-()$!]+";
|
|
2
|
-
export declare const HIGHLIGHT_ACTIONS: string[];
|
|
3
|
-
export declare const SELECTOR_ID = "[\\w-]+";
|
|
4
|
-
export declare const HIGHLIGHT_REGEXP: RegExp;
|
|
1
|
+
export declare const LINK_LABEL = "[\\d\\w\\s-()$!]+";
|
|
2
|
+
export declare const HIGHLIGHT_ACTIONS: string[];
|
|
3
|
+
export declare const SELECTOR_ID = "[\\w-]+";
|
|
4
|
+
export declare const HIGHLIGHT_REGEXP: RegExp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as MarkdownHighlightExtension } from './MarkdownHighlightExtension';
|
|
1
|
+
export { default as MarkdownHighlightExtension } from './MarkdownHighlightExtension';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './Modal.scss';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Modal as PfModal, ModalProps as PfModalProps } from '@patternfly/react-core';
|
|
4
|
-
|
|
5
|
-
isFullScreen?: boolean;
|
|
6
|
-
ref?: React.LegacyRef<PfModal>;
|
|
7
|
-
} & PfModalProps;
|
|
8
|
-
declare const Modal: React.FC<ModalProps>;
|
|
9
|
-
export default Modal;
|
|
1
|
+
import './Modal.scss';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Modal as PfModal, ModalProps as PfModalProps } from '@patternfly/react-core';
|
|
4
|
+
type ModalProps = {
|
|
5
|
+
isFullScreen?: boolean;
|
|
6
|
+
ref?: React.LegacyRef<PfModal>;
|
|
7
|
+
} & PfModalProps;
|
|
8
|
+
declare const Modal: React.FC<ModalProps>;
|
|
9
|
+
export default Modal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Modal } from './Modal';
|
|
1
|
+
export { default as Modal } from './Modal';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface PortalProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
container?: GetContainer;
|
|
6
|
-
}
|
|
7
|
-
declare const Portal: ({ children, container }: PortalProps) => React.ReactPortal;
|
|
8
|
-
export default Portal;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type GetContainer = Element | null | undefined | (() => Element);
|
|
3
|
+
interface PortalProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
container?: GetContainer;
|
|
6
|
+
}
|
|
7
|
+
declare const Portal: ({ children, container }: PortalProps) => React.ReactPortal;
|
|
8
|
+
export default Portal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface SimplePopperProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare const SimplePopper: ({ children }: SimplePopperProps) => React.JSX.Element;
|
|
6
|
-
export default SimplePopper;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface SimplePopperProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare const SimplePopper: ({ children }: SimplePopperProps) => React.JSX.Element;
|
|
6
|
+
export default SimplePopper;
|
|
@@ -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
|
-
interface InteractiveSpotlightProps {
|
|
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
|
-
interface SpotlightProps {
|
|
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
|
-
interface StaticSpotlightProps {
|
|
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,12 +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
|
-
children?: React.ReactNode;
|
|
9
|
-
popoverTitle?: string;
|
|
10
|
-
noTooltip?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export default GenericStatus;
|
|
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,3 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: (props: any) => React.JSX.Element;
|
|
3
|
-
export default _default;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: (props: any) => React.JSX.Element;
|
|
3
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
+
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
|
-
interface StatusIconProps {
|
|
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;
|