This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathindex.js
124 lines (115 loc) · 3.64 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/*
* Composites imports.
*/
// Composites/ConfigurationWizard imports.
import { decodeHTML, getDirectionalStyle, sendRequest } from "@yoast/helpers";
// Import colors from the style guide.
import { colors } from "@yoast/style-guide";
// Composites/Plugin imports.
import { Collapsible } from "@yoast/components";
import { default as ButtonSection } from "./composites/Plugin/Shared/components/ButtonSection";
import { default as ContentAnalysis } from "./composites/Plugin/ContentAnalysis/components/ContentAnalysis";
import CornerstoneToggle from "./composites/Plugin/CornerstoneContent/components/CornerstoneToggle";
// Composites/LinkSuggestions imports.
import { default as LinkSuggestions } from "./composites/LinkSuggestions/LinkSuggestions";
const getRtlStyle = getDirectionalStyle;
/**
* @deprecated since 5.13.1. Use the `OnboardingWizard` from the `@yoast/configuration-wizard` package instead.
*
* @returns {null} returns nothing.
*/
const OnboardingWizard = () => {
console.warn( "Deprecation Warning: Deprecated since 5.13.1. " +
"Use the `OnboardingWizard` from the `@yoast/configuration-wizard` package instead." );
return null;
};
/**
* @deprecated since 5.13.1. Use the `MessageBox` from the `@yoast/configuration-wizard` package instead.
*
* @returns {null} returns nothing.
*/
const MessageBox = () => {
console.warn( "Deprecation Warning: Deprecated since 5.13.1. " +
"Use the `MessageBox` from the `@yoast/configuration-wizard` package instead." );
return null;
};
/**
* @deprecated since 5.13.1. Use the `LoadingIndicator` from the `@yoast/configuration-wizard` package instead.
*
* @returns {null} returns nothing.
*/
const LoadingIndicator = () => {
console.warn( "Deprecation Warning: Deprecated since 5.13.1. " +
"Use the `LoadingIndicator` from the `@yoast/configuration-wizard` package instead." );
return null;
};
export {
OnboardingWizard,
MessageBox,
LinkSuggestions,
ContentAnalysis,
Collapsible,
ButtonSection,
LoadingIndicator,
CornerstoneToggle,
sendRequest,
decodeHTML,
getRtlStyle,
colors,
};
export * from "./composites/Plugin/DashboardWidget";
export * from "./composites/Plugin/ContentAnalysis";
export
{
FixedWidthContainer,
HelpTextWrapper,
SnippetPreview,
SettingsSnippetEditor,
SnippetEditor,
lengthProgressShape,
} from "@yoast/search-metadata-previews";
export {
ReplacementVariableEditor,
recommendedReplacementVariablesShape,
replacementVariablesShape,
} from "@yoast/replacement-variable-editor";
export { default as utils } from "./utils";
export { localize } from "./utils/i18n";
export { setTranslations } from "./utils/i18n";
export { translate } from "./utils/i18n";
export { default as analysis } from "./composites/Plugin/ContentAnalysis/reducers/contentAnalysisReducer";
export { ArticleList as WordpressFeed } from "@yoast/components";
export { SiteSEOReport as SeoAssessment } from "@yoast/analysis-report";
export { default as KeywordInput } from "./composites/Plugin/Shared/components/KeywordInput";
export { insightsReducer } from "./redux/reducers/insights";
export { setWordsForInsights } from "./redux/actions/insights";
export {
setReadabilityResults,
setSeoResultsForKeyword,
setOverallReadabilityScore,
setOverallSeoScore,
} from "./composites/Plugin/ContentAnalysis/actions/contentAnalysis";
export {
Card,
FullHeightCard,
CardBanner,
CourseDetails as CardDetails,
HelpText,
Icon,
KeywordSuggestions,
WordOccurrenceInsights,
LanguageNotice,
Loader,
ScoreAssessments,
SvgIcon,
SynonymsInput,
UpsellButton,
UpsellLinkButton,
YoastButton,
Modal as YoastModal,
YoastSeoIcon,
Warning as YoastWarning,
StyledSection,
StyledHeading,
StyledSectionBase,
} from "@yoast/components";