-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
MDXComponents.js
183 lines (180 loc) · 4.87 KB
/
MDXComponents.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// Import the original mapper
import MDXComponents from "@theme-original/MDXComponents";
import AnatomyOfAnError from "@site/docs/partials/_anatomy-of-an-error.mdx";
import AccessibilityAddon from "@site/docs/partials/_accessibility-addon.mdx";
import Badge from "@site/src/components/badge";
import Btn from "@site/src/components/button";
import ComponentOnlyBadge from "@site/src/components/component-only-badge";
import TestReplayInfo from "@site/docs/partials/_test-replay-info.mdx";
import CypressConfigFileTabs from "@site/src/components/cypress-config-file-tabs";
import CypressInstallCommands from "@site/docs/partials/_cypress-install-commands.mdx";
import CypressOpenCommands from "@site/docs/partials/_cypress-open-commands.mdx";
import CypressRunCommands from "@site/docs/partials/_cypress-run-commands.mdx";
import DefaultSelectorPriority from "@site/docs/partials/_default-selector-priority.mdx";
import DocsImage from "@site/src/components/docs-image";
import DocsVideo from "@site/src/components/docs-video";
import DocumentDomainWorkaround from "@site/docs/partials/_document-domain-workaround.mdx";
import E2EOnlyBadge from "@site/src/components/e2e-only-badge";
import E2EOrCtTabs from "@site/src/components/e2e-or-ct-tabs";
import VueSyntaxTabs from "@site/src/components/vue-syntax-tabs";
import HeaderAssertions from "@site/docs/partials/_header-assertions.mdx";
import HeaderRequirements from "@site/docs/partials/_header-requirements.mdx";
import HeaderTimeouts from "@site/docs/partials/_header-timeouts.mdx";
import HeaderYields from "@site/docs/partials/_header-yields.mdx";
import Icon from "@site/src/components/icon";
import ImportMountFunctions from "@site/docs/partials/_import-mount-functions.mdx";
import IntellisenseCodeCompletion from "@site/docs/partials/_intellisense-code-completion.mdx";
import SupportFileConfiguration from "@site/docs/partials/_support-file-configuration.mdx";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import ThenShouldAndDifference from "@site/docs/partials/_then-should-and-difference.mdx";
import WarningSetupNodeEvents from "@site/docs/partials/_warning-setup-node-events.mdx";
import VideoRecordingSupportedBrowsers from "@site/docs/partials/_video-recording-supported-browsers.mdx"
import LineBreak from "@site/src/components/line-break";
import Logo from "@site/src/components/logo";
import CloudFreePlan from "@site/docs/partials/_cloud_free_plan.mdx";
import CiProviderCloudSteps from "@site/docs/partials/_ci_provider_cloud_steps.mdx";
import UrlAllowList from "@site/docs/partials/_url_allowlist.mdx";
import UICovAddon from "@site/docs/partials/_ui-coverage-addon.mdx";
// Font Awesome
import { library } from '@fortawesome/fontawesome-svg-core'
import { fab } from '@fortawesome/free-brands-svg-icons'
import {
faAngleRight,
faBan,
faBook,
faBug,
faCamera,
faCheck,
faCheckCircle,
faCheckSquare,
faChevronLeft,
faChevronRight,
faCode,
faCog,
faCogs,
faCopy,
faCrosshairs,
faDownload,
faExclamationTriangle,
faExternalLinkAlt,
faFileCode,
faFolderOpen,
faGlobe,
faGraduationCap,
faHeart,
faHistory,
faImage,
faLongArrowAltUp,
faMagic,
faMousePointer,
faPlayCircle,
faPlus,
faQuestionCircle,
faSearch,
faLaptopCode,
faStar,
faSyncAlt,
faTerminal,
faTimes,
faTree,
faVideo,
faMagnifyingGlassChart,
faComputer,
faBugSlash,
faChartLine,
faClock,
faBookOpenReader,
faUserShield,
faCircleHalfStroke,
} from '@fortawesome/free-solid-svg-icons'
library.add(
fab,
faAngleRight,
faBan,
faBook,
faBug,
faCamera,
faCheck,
faCheckCircle,
faCheckSquare,
faChevronLeft,
faChevronRight,
faCode,
faCog,
faCogs,
faCopy,
faCrosshairs,
faDownload,
faExclamationTriangle,
faExternalLinkAlt,
faFileCode,
faFolderOpen,
faGlobe,
faGraduationCap,
faHeart,
faHistory,
faImage,
faLongArrowAltUp,
faMagic,
faMousePointer,
faPlayCircle,
faPlus,
faQuestionCircle,
faSearch,
faLaptopCode,
faStar,
faSyncAlt,
faTerminal,
faTimes,
faTree,
faVideo,
faMagnifyingGlassChart,
faComputer,
faBugSlash,
faChartLine,
faClock,
faBookOpenReader,
faUserShield,
faCircleHalfStroke,
)
export default {
// Re-use the default mapping
...MDXComponents,
AnatomyOfAnError,
AccessibilityAddon,
Badge,
Btn,
ComponentOnlyBadge,
CypressConfigFileTabs,
CypressInstallCommands,
CypressOpenCommands,
CypressRunCommands,
DefaultSelectorPriority,
DocsImage,
DocsVideo,
DocumentDomainWorkaround,
E2EOnlyBadge,
E2EOrCtTabs,
VueSyntaxTabs,
HeaderAssertions,
HeaderRequirements,
HeaderTimeouts,
HeaderYields,
Icon,
ImportMountFunctions,
IntellisenseCodeCompletion,
SupportFileConfiguration,
Tabs,
TabItem,
TestReplayInfo,
ThenShouldAndDifference,
WarningSetupNodeEvents,
VideoRecordingSupportedBrowsers,
Logo,
LineBreak,
CloudFreePlan,
CiProviderCloudSteps,
UrlAllowList,
UICovAddon,
}