@patternfly/quickstarts 5.0.0-prerelease.0 → 5.0.0-prerelease.2
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/patternfly-nested.css +56 -38
- package/dist/quickstarts-base.css +17 -17
- package/dist/quickstarts-full.es.js +2307 -2290
- package/dist/quickstarts-full.es.js.map +1 -1
- package/dist/quickstarts-standalone.css +2 -2
- package/dist/quickstarts-standalone.min.css +2 -2
- package/dist/quickstarts.css +17 -17
- 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 +10 -10
- package/src/styles/_dark-custom-override.scss +1 -1
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AccessReviewResourceAttributes, ObjectMetadata } from '../ConsoleInternal/module/k8s/types';
|
|
3
|
-
export interface QuickStart {
|
|
4
|
-
apiVersion?: string;
|
|
5
|
-
kind?: string;
|
|
6
|
-
metadata: ObjectMetadata;
|
|
7
|
-
spec: QuickStartSpec;
|
|
8
|
-
}
|
|
9
|
-
export interface QuickStartSpec {
|
|
10
|
-
version?: number;
|
|
11
|
-
displayName: string;
|
|
12
|
-
durationMinutes?: number;
|
|
13
|
-
icon: React.ReactNode;
|
|
14
|
-
description: string;
|
|
15
|
-
prerequisites?: string[];
|
|
16
|
-
introduction?: string;
|
|
17
|
-
tasks?: QuickStartTask[];
|
|
18
|
-
conclusion?: string;
|
|
19
|
-
nextQuickStart?: string[];
|
|
20
|
-
accessReviewResources?: AccessReviewResourceAttributes[];
|
|
21
|
-
link?: QuickStartExternal;
|
|
22
|
-
type?: QuickStartType;
|
|
23
|
-
}
|
|
24
|
-
export interface QuickStartTask {
|
|
25
|
-
title?: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
review?: QuickStartTaskReview;
|
|
28
|
-
summary?: QuickStartTaskSummary;
|
|
29
|
-
proc?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface QuickStartTaskReview {
|
|
32
|
-
instructions?: string;
|
|
33
|
-
failedTaskHelp?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface QuickStartTaskSummary {
|
|
36
|
-
success?: string;
|
|
37
|
-
failed?: string;
|
|
38
|
-
}
|
|
39
|
-
export type AllQuickStartStates = Record<string, QuickStartState>;
|
|
40
|
-
export type QuickStartState = Record<string, string | number | QuickStartStatus>;
|
|
41
|
-
export declare enum QuickStartStatus {
|
|
42
|
-
COMPLETE = "Complete",
|
|
43
|
-
IN_PROGRESS = "In Progress",
|
|
44
|
-
NOT_STARTED = "Not started"
|
|
45
|
-
}
|
|
46
|
-
export declare enum QuickStartTaskStatus {
|
|
47
|
-
INIT = "Initial",
|
|
48
|
-
VISITED = "Visited",
|
|
49
|
-
REVIEW = "Review",
|
|
50
|
-
SUCCESS = "Success",
|
|
51
|
-
FAILED = "Failed"
|
|
52
|
-
}
|
|
53
|
-
export interface QuickStartExternal {
|
|
54
|
-
href: string;
|
|
55
|
-
text?: string;
|
|
56
|
-
}
|
|
57
|
-
export interface QuickStartType {
|
|
58
|
-
text: string;
|
|
59
|
-
color?: 'blue' | 'cyan' | 'green' | 'orange' | 'purple' | 'red' | 'grey';
|
|
60
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccessReviewResourceAttributes, ObjectMetadata } from '../ConsoleInternal/module/k8s/types';
|
|
3
|
+
export interface QuickStart {
|
|
4
|
+
apiVersion?: string;
|
|
5
|
+
kind?: string;
|
|
6
|
+
metadata: ObjectMetadata;
|
|
7
|
+
spec: QuickStartSpec;
|
|
8
|
+
}
|
|
9
|
+
export interface QuickStartSpec {
|
|
10
|
+
version?: number;
|
|
11
|
+
displayName: string;
|
|
12
|
+
durationMinutes?: number;
|
|
13
|
+
icon: React.ReactNode;
|
|
14
|
+
description: string;
|
|
15
|
+
prerequisites?: string[];
|
|
16
|
+
introduction?: string;
|
|
17
|
+
tasks?: QuickStartTask[];
|
|
18
|
+
conclusion?: string;
|
|
19
|
+
nextQuickStart?: string[];
|
|
20
|
+
accessReviewResources?: AccessReviewResourceAttributes[];
|
|
21
|
+
link?: QuickStartExternal;
|
|
22
|
+
type?: QuickStartType;
|
|
23
|
+
}
|
|
24
|
+
export interface QuickStartTask {
|
|
25
|
+
title?: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
review?: QuickStartTaskReview;
|
|
28
|
+
summary?: QuickStartTaskSummary;
|
|
29
|
+
proc?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface QuickStartTaskReview {
|
|
32
|
+
instructions?: string;
|
|
33
|
+
failedTaskHelp?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface QuickStartTaskSummary {
|
|
36
|
+
success?: string;
|
|
37
|
+
failed?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare type AllQuickStartStates = Record<string, QuickStartState>;
|
|
40
|
+
export declare type QuickStartState = Record<string, string | number | QuickStartStatus>;
|
|
41
|
+
export declare enum QuickStartStatus {
|
|
42
|
+
COMPLETE = "Complete",
|
|
43
|
+
IN_PROGRESS = "In Progress",
|
|
44
|
+
NOT_STARTED = "Not started"
|
|
45
|
+
}
|
|
46
|
+
export declare enum QuickStartTaskStatus {
|
|
47
|
+
INIT = "Initial",
|
|
48
|
+
VISITED = "Visited",
|
|
49
|
+
REVIEW = "Review",
|
|
50
|
+
SUCCESS = "Success",
|
|
51
|
+
FAILED = "Failed"
|
|
52
|
+
}
|
|
53
|
+
export interface QuickStartExternal {
|
|
54
|
+
href: string;
|
|
55
|
+
text?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface QuickStartType {
|
|
58
|
+
text: string;
|
|
59
|
+
color?: 'blue' | 'cyan' | 'green' | 'orange' | 'purple' | 'red' | 'grey';
|
|
60
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AllQuickStartStates, QuickStart, QuickStartStatus } from './quick-start-types';
|
|
2
|
-
export declare const QUICK_START_NAME = "console.openshift.io/name";
|
|
3
|
-
export declare const getQuickStartByName: (name: string, quickStarts: QuickStart[]) => QuickStart;
|
|
4
|
-
export declare const getQuickStartStatus: (allQuickStartStates: AllQuickStartStates, quickStartID: string) => QuickStartStatus;
|
|
5
|
-
export declare const getTaskStatusKey: (taskNumber: number) => string;
|
|
6
|
-
export declare const getQuickStartStatusCount: (allQuickStartStates: AllQuickStartStates, quickStarts: QuickStart[]) => Record<QuickStartStatus, number>;
|
|
7
|
-
export declare const getDisabledQuickStarts: () => string[];
|
|
8
|
-
export declare const isDisabledQuickStart: (quickstart: QuickStart, disabledQuickStarts: string[]) => boolean;
|
|
9
|
-
export declare const filterQuickStarts: (quickStarts: QuickStart[], filterText: string, statusFilters: string[], allQuickStartStates: AllQuickStartStates) => QuickStart[];
|
|
10
|
-
export declare const camelize: (str: string) => string;
|
|
1
|
+
import { AllQuickStartStates, QuickStart, QuickStartStatus } from './quick-start-types';
|
|
2
|
+
export declare const QUICK_START_NAME = "console.openshift.io/name";
|
|
3
|
+
export declare const getQuickStartByName: (name: string, quickStarts: QuickStart[]) => QuickStart;
|
|
4
|
+
export declare const getQuickStartStatus: (allQuickStartStates: AllQuickStartStates, quickStartID: string) => QuickStartStatus;
|
|
5
|
+
export declare const getTaskStatusKey: (taskNumber: number) => string;
|
|
6
|
+
export declare const getQuickStartStatusCount: (allQuickStartStates: AllQuickStartStates, quickStarts: QuickStart[]) => Record<QuickStartStatus, number>;
|
|
7
|
+
export declare const getDisabledQuickStarts: () => string[];
|
|
8
|
+
export declare const isDisabledQuickStart: (quickstart: QuickStart, disabledQuickStarts: string[]) => boolean;
|
|
9
|
+
export declare const filterQuickStarts: (quickStarts: QuickStart[], filterText: string, statusFilters: string[], allQuickStartStates: AllQuickStartStates) => QuickStart[];
|
|
10
|
+
export declare const camelize: (str: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useLocalStorage: (key: string, initialValue: any) => any[];
|
|
1
|
+
export declare const useLocalStorage: (key: string, initialValue: any) => any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/quickstarts",
|
|
3
|
-
"version": "5.0.0-prerelease.
|
|
3
|
+
"version": "5.0.0-prerelease.2",
|
|
4
4
|
"description": "PatternFly quick starts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -51,20 +51,20 @@
|
|
|
51
51
|
"showdown": ">=1.8.6"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@patternfly/react-catalog-view-extension": "^5.0.0-prerelease.
|
|
54
|
+
"@patternfly/react-catalog-view-extension": "^5.0.0-prerelease.2",
|
|
55
55
|
"dompurify": "^2.2.6",
|
|
56
56
|
"history": "^5.0.0",
|
|
57
57
|
"showdown": "1.8.6"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@patternfly/documentation-framework": "^
|
|
61
|
-
"@patternfly/patternfly": "^5.0.0-prerelease.
|
|
62
|
-
"@patternfly/react-core": "^5.0.0-prerelease.
|
|
63
|
-
"@patternfly/react-icons": "^5.0.0-prerelease.
|
|
64
|
-
"@patternfly/react-styles": "^5.0.0-prerelease.
|
|
65
|
-
"@patternfly/react-tokens": "^5.0.0-prerelease.
|
|
66
|
-
"@patternfly/react-table": "^5.0.0-prerelease.
|
|
67
|
-
"@patternfly/react-code-editor": "^5.0.0-prerelease.
|
|
60
|
+
"@patternfly/documentation-framework": "^5.0.15",
|
|
61
|
+
"@patternfly/patternfly": "^5.0.0-prerelease.16",
|
|
62
|
+
"@patternfly/react-core": "^5.0.0-prerelease.26",
|
|
63
|
+
"@patternfly/react-icons": "^5.0.0-prerelease.9",
|
|
64
|
+
"@patternfly/react-styles": "^5.0.0-prerelease.7",
|
|
65
|
+
"@patternfly/react-tokens": "^5.0.0-prerelease.9",
|
|
66
|
+
"@patternfly/react-table": "^5.0.0-prerelease.26",
|
|
67
|
+
"@patternfly/react-code-editor": "^5.0.0-prerelease.26",
|
|
68
68
|
"react-monaco-editor": "0.51.0",
|
|
69
69
|
"monaco-editor": "0.34.1",
|
|
70
70
|
"@rollup/plugin-commonjs": "^17.0.0",
|