@nx/web 16.0.0-beta.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/CHANGELOG.md +8 -0
- package/LICENSE +22 -0
- package/README.md +63 -0
- package/babel.d.ts +1 -0
- package/babel.js +7 -0
- package/babel.js.map +1 -0
- package/executors.json +46 -0
- package/generators.json +45 -0
- package/index.d.ts +3 -0
- package/index.js +10 -0
- package/index.js.map +1 -0
- package/migrations.json +90 -0
- package/package.json +47 -0
- package/src/executors/dev-server/compat.d.ts +2 -0
- package/src/executors/dev-server/compat.js +6 -0
- package/src/executors/dev-server/compat.js.map +1 -0
- package/src/executors/dev-server/dev-server.impl.d.ts +7 -0
- package/src/executors/dev-server/dev-server.impl.js +19 -0
- package/src/executors/dev-server/dev-server.impl.js.map +1 -0
- package/src/executors/dev-server/schema.json +81 -0
- package/src/executors/file-server/compat.d.ts +2 -0
- package/src/executors/file-server/compat.js +6 -0
- package/src/executors/file-server/compat.js.map +1 -0
- package/src/executors/file-server/file-server.impl.d.ts +8 -0
- package/src/executors/file-server/file-server.impl.js +181 -0
- package/src/executors/file-server/file-server.impl.js.map +1 -0
- package/src/executors/file-server/schema.d.ts +17 -0
- package/src/executors/file-server/schema.json +84 -0
- package/src/executors/rollup/compat.d.ts +2 -0
- package/src/executors/rollup/compat.js +6 -0
- package/src/executors/rollup/compat.js.map +1 -0
- package/src/executors/rollup/rollup.impl.d.ts +8 -0
- package/src/executors/rollup/rollup.impl.js +19 -0
- package/src/executors/rollup/rollup.impl.js.map +1 -0
- package/src/executors/rollup/schema.d.ts +29 -0
- package/src/executors/rollup/schema.json +153 -0
- package/src/executors/webpack/compat.d.ts +2 -0
- package/src/executors/webpack/compat.js +6 -0
- package/src/executors/webpack/compat.js.map +1 -0
- package/src/executors/webpack/schema.json +374 -0
- package/src/executors/webpack/webpack.impl.d.ts +7 -0
- package/src/executors/webpack/webpack.impl.js +19 -0
- package/src/executors/webpack/webpack.impl.js.map +1 -0
- package/src/generators/application/application.d.ts +5 -0
- package/src/generators/application/application.js +221 -0
- package/src/generators/application/application.js.map +1 -0
- package/src/generators/application/files/app-vite/.babelrc__tmpl__ +5 -0
- package/src/generators/application/files/app-vite/index.html__tmpl__ +16 -0
- package/src/generators/application/files/app-vite/public/favicon.ico +0 -0
- package/src/generators/application/files/app-vite/src/app/app.element.__style__ +416 -0
- package/src/generators/application/files/app-vite/src/app/app.element.spec.ts__tmpl__ +21 -0
- package/src/generators/application/files/app-vite/src/app/app.element.ts__tmpl__ +375 -0
- package/src/generators/application/files/app-vite/src/assets/.gitkeep +0 -0
- package/src/generators/application/files/app-vite/src/main.ts__tmpl__ +1 -0
- package/src/generators/application/files/app-vite/src/styles.__style__ +1 -0
- package/src/generators/application/files/app-vite/tsconfig.app.json +9 -0
- package/src/generators/application/files/app-vite/tsconfig.json__tmpl__ +27 -0
- package/src/generators/application/files/app-webpack/.babelrc__tmpl__ +5 -0
- package/src/generators/application/files/app-webpack/src/app/app.element.__style__ +416 -0
- package/src/generators/application/files/app-webpack/src/app/app.element.spec.ts__tmpl__ +21 -0
- package/src/generators/application/files/app-webpack/src/app/app.element.ts__tmpl__ +375 -0
- package/src/generators/application/files/app-webpack/src/assets/.gitkeep +0 -0
- package/src/generators/application/files/app-webpack/src/environments/environment.prod.ts__tmpl__ +3 -0
- package/src/generators/application/files/app-webpack/src/environments/environment.ts__tmpl__ +6 -0
- package/src/generators/application/files/app-webpack/src/favicon.ico +0 -0
- package/src/generators/application/files/app-webpack/src/index.html +14 -0
- package/src/generators/application/files/app-webpack/src/main.ts__tmpl__ +1 -0
- package/src/generators/application/files/app-webpack/src/styles.__style__ +1 -0
- package/src/generators/application/files/app-webpack/tsconfig.app.json +9 -0
- package/src/generators/application/files/app-webpack/tsconfig.json +10 -0
- package/src/generators/application/files/app-webpack/webpack.config.js__tmpl__ +8 -0
- package/src/generators/application/schema.d.ts +18 -0
- package/src/generators/application/schema.json +107 -0
- package/src/generators/init/init.d.ts +5 -0
- package/src/generators/init/init.js +57 -0
- package/src/generators/init/init.js.map +1 -0
- package/src/generators/init/schema.d.ts +8 -0
- package/src/generators/init/schema.json +45 -0
- package/src/generators/static-serve/schema.json +24 -0
- package/src/generators/static-serve/static-serve-configuration.d.ts +9 -0
- package/src/generators/static-serve/static-serve-configuration.js +72 -0
- package/src/generators/static-serve/static-serve-configuration.js.map +1 -0
- package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.d.ts +2 -0
- package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.js +34 -0
- package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.js.map +1 -0
- package/src/migrations/update-13-0-0/remove-node-sass-13-0-0.d.ts +6 -0
- package/src/migrations/update-13-0-0/remove-node-sass-13-0-0.js +25 -0
- package/src/migrations/update-13-0-0/remove-node-sass-13-0-0.js.map +1 -0
- package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.d.ts +2 -0
- package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.js +33 -0
- package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.js.map +1 -0
- package/src/migrations/update-13-3-0/rename-build-to-webpack.d.ts +2 -0
- package/src/migrations/update-13-3-0/rename-build-to-webpack.js +19 -0
- package/src/migrations/update-13-3-0/rename-build-to-webpack.js.map +1 -0
- package/src/migrations/update-13-3-0/rename-package-to-rollup.d.ts +2 -0
- package/src/migrations/update-13-3-0/rename-package-to-rollup.js +19 -0
- package/src/migrations/update-13-3-0/rename-package-to-rollup.js.map +1 -0
- package/src/migrations/update-13-8-0/add-postcss-config-option.d.ts +2 -0
- package/src/migrations/update-13-8-0/add-postcss-config-option.js +26 -0
- package/src/migrations/update-13-8-0/add-postcss-config-option.js.map +1 -0
- package/src/migrations/update-14-1-7/rollup-format-backwards-compatibility.d.ts +2 -0
- package/src/migrations/update-14-1-7/rollup-format-backwards-compatibility.js +23 -0
- package/src/migrations/update-14-1-7/rollup-format-backwards-compatibility.js.map +1 -0
- package/src/migrations/update-14-7-6/update-webpack-executor.d.ts +2 -0
- package/src/migrations/update-14-7-6/update-webpack-executor.js +27 -0
- package/src/migrations/update-14-7-6/update-webpack-executor.js.map +1 -0
- package/src/migrations/update-15-0-0/add-babel-inputs.d.ts +2 -0
- package/src/migrations/update-15-0-0/add-babel-inputs.js +13 -0
- package/src/migrations/update-15-0-0/add-babel-inputs.js.map +1 -0
- package/src/migrations/update-15-0-0/update-rollup-executor.d.ts +2 -0
- package/src/migrations/update-15-0-0/update-rollup-executor.js +38 -0
- package/src/migrations/update-15-0-0/update-rollup-executor.js.map +1 -0
- package/src/migrations/update-15-5-4/update-babel-preset.d.ts +2 -0
- package/src/migrations/update-15-5-4/update-babel-preset.js +37 -0
- package/src/migrations/update-15-5-4/update-babel-preset.js.map +1 -0
- package/src/migrations/update-15-9-1/add-dropped-dependencies.d.ts +2 -0
- package/src/migrations/update-15-9-1/add-dropped-dependencies.js +40 -0
- package/src/migrations/update-15-9-1/add-dropped-dependencies.js.map +1 -0
- package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.d.ts +2 -0
- package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js +13 -0
- package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js.map +1 -0
- package/src/plugins/webpack-nx-build-coordination-plugin.d.ts +1 -0
- package/src/plugins/webpack-nx-build-coordination-plugin.js +6 -0
- package/src/plugins/webpack-nx-build-coordination-plugin.js.map +1 -0
- package/src/utils/fs.d.ts +1 -0
- package/src/utils/fs.js +5 -0
- package/src/utils/fs.js.map +1 -0
- package/src/utils/normalize.d.ts +1 -0
- package/src/utils/normalize.js +5 -0
- package/src/utils/normalize.js.map +1 -0
- package/src/utils/versions.d.ts +4 -0
- package/src/utils/versions.js +8 -0
- package/src/utils/versions.js.map +1 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Remove template code below
|
|
3
|
+
*/
|
|
4
|
+
html {
|
|
5
|
+
-webkit-text-size-adjust: 100%;
|
|
6
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
|
|
7
|
+
'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
|
|
8
|
+
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
9
|
+
'Noto Color Emoji';
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
tab-size: 4;
|
|
12
|
+
scroll-behavior: smooth;
|
|
13
|
+
}
|
|
14
|
+
body {
|
|
15
|
+
font-family: inherit;
|
|
16
|
+
line-height: inherit;
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
h1,
|
|
20
|
+
h2,
|
|
21
|
+
p,
|
|
22
|
+
pre {
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
*,
|
|
26
|
+
::before,
|
|
27
|
+
::after {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
border-width: 0;
|
|
30
|
+
border-style: solid;
|
|
31
|
+
border-color: currentColor;
|
|
32
|
+
}
|
|
33
|
+
h1,
|
|
34
|
+
h2 {
|
|
35
|
+
font-size: inherit;
|
|
36
|
+
font-weight: inherit;
|
|
37
|
+
}
|
|
38
|
+
a {
|
|
39
|
+
color: inherit;
|
|
40
|
+
text-decoration: inherit;
|
|
41
|
+
}
|
|
42
|
+
pre {
|
|
43
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
44
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
45
|
+
}
|
|
46
|
+
svg {
|
|
47
|
+
display: block;
|
|
48
|
+
vertical-align: middle;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
svg {
|
|
52
|
+
shape-rendering: auto;
|
|
53
|
+
text-rendering: optimizeLegibility;
|
|
54
|
+
}
|
|
55
|
+
pre {
|
|
56
|
+
background-color: rgba(55, 65, 81, 1);
|
|
57
|
+
border-radius: 0.25rem;
|
|
58
|
+
color: rgba(229, 231, 235, 1);
|
|
59
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
60
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
61
|
+
overflow: scroll;
|
|
62
|
+
padding: 0.5rem 0.75rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.shadow {
|
|
66
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
|
|
67
|
+
0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
68
|
+
}
|
|
69
|
+
.rounded {
|
|
70
|
+
border-radius: 1.5rem;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.wrapper {
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
76
|
+
.container {
|
|
77
|
+
margin-left: auto;
|
|
78
|
+
margin-right: auto;
|
|
79
|
+
max-width: 768px;
|
|
80
|
+
padding-bottom: 3rem;
|
|
81
|
+
padding-left: 1rem;
|
|
82
|
+
padding-right: 1rem;
|
|
83
|
+
color: rgba(55, 65, 81, 1);
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
#welcome {
|
|
87
|
+
margin-top: 2.5rem;
|
|
88
|
+
}
|
|
89
|
+
#welcome h1 {
|
|
90
|
+
font-size: 3rem;
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
letter-spacing: -0.025em;
|
|
93
|
+
line-height: 1;
|
|
94
|
+
}
|
|
95
|
+
#welcome span {
|
|
96
|
+
display: block;
|
|
97
|
+
font-size: 1.875rem;
|
|
98
|
+
font-weight: 300;
|
|
99
|
+
line-height: 2.25rem;
|
|
100
|
+
margin-bottom: 0.5rem;
|
|
101
|
+
}
|
|
102
|
+
#hero {
|
|
103
|
+
align-items: center;
|
|
104
|
+
background-color: hsla(214, 62%, 21%, 1);
|
|
105
|
+
border: none;
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
color: rgba(55, 65, 81, 1);
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: 1fr;
|
|
110
|
+
margin-top: 3.5rem;
|
|
111
|
+
}
|
|
112
|
+
#hero .text-container {
|
|
113
|
+
color: rgba(255, 255, 255, 1);
|
|
114
|
+
padding: 3rem 2rem;
|
|
115
|
+
}
|
|
116
|
+
#hero .text-container h2 {
|
|
117
|
+
font-size: 1.5rem;
|
|
118
|
+
line-height: 2rem;
|
|
119
|
+
position: relative;
|
|
120
|
+
}
|
|
121
|
+
#hero .text-container h2 svg {
|
|
122
|
+
color: hsla(162, 47%, 50%, 1);
|
|
123
|
+
height: 2rem;
|
|
124
|
+
left: -0.25rem;
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 0;
|
|
127
|
+
width: 2rem;
|
|
128
|
+
}
|
|
129
|
+
#hero .text-container h2 span {
|
|
130
|
+
margin-left: 2.5rem;
|
|
131
|
+
}
|
|
132
|
+
#hero .text-container a {
|
|
133
|
+
background-color: rgba(255, 255, 255, 1);
|
|
134
|
+
border-radius: 0.75rem;
|
|
135
|
+
color: rgba(55, 65, 81, 1);
|
|
136
|
+
display: inline-block;
|
|
137
|
+
margin-top: 1.5rem;
|
|
138
|
+
padding: 1rem 2rem;
|
|
139
|
+
text-decoration: inherit;
|
|
140
|
+
}
|
|
141
|
+
#hero .logo-container {
|
|
142
|
+
display: none;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
padding-left: 2rem;
|
|
145
|
+
padding-right: 2rem;
|
|
146
|
+
}
|
|
147
|
+
#hero .logo-container svg {
|
|
148
|
+
color: rgba(255, 255, 255, 1);
|
|
149
|
+
width: 66.666667%;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
#middle-content {
|
|
153
|
+
align-items: flex-start;
|
|
154
|
+
display: grid;
|
|
155
|
+
gap: 4rem;
|
|
156
|
+
grid-template-columns: 1fr;
|
|
157
|
+
margin-top: 3.5rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#learning-materials {
|
|
161
|
+
padding: 2.5rem 2rem;
|
|
162
|
+
}
|
|
163
|
+
#learning-materials h2 {
|
|
164
|
+
font-weight: 500;
|
|
165
|
+
font-size: 1.25rem;
|
|
166
|
+
letter-spacing: -0.025em;
|
|
167
|
+
line-height: 1.75rem;
|
|
168
|
+
padding-left: 1rem;
|
|
169
|
+
padding-right: 1rem;
|
|
170
|
+
}
|
|
171
|
+
.list-item-link {
|
|
172
|
+
align-items: center;
|
|
173
|
+
border-radius: 0.75rem;
|
|
174
|
+
display: flex;
|
|
175
|
+
margin-top: 1rem;
|
|
176
|
+
padding: 1rem;
|
|
177
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
178
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
179
|
+
-webkit-backdrop-filter;
|
|
180
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
181
|
+
transition-duration: 150ms;
|
|
182
|
+
width: 100%;
|
|
183
|
+
}
|
|
184
|
+
.list-item-link svg:first-child {
|
|
185
|
+
margin-right: 1rem;
|
|
186
|
+
height: 1.5rem;
|
|
187
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
188
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
189
|
+
-webkit-backdrop-filter;
|
|
190
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
191
|
+
transition-duration: 150ms;
|
|
192
|
+
width: 1.5rem;
|
|
193
|
+
}
|
|
194
|
+
.list-item-link > span {
|
|
195
|
+
flex-grow: 1;
|
|
196
|
+
font-weight: 400;
|
|
197
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
198
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
199
|
+
-webkit-backdrop-filter;
|
|
200
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
201
|
+
transition-duration: 150ms;
|
|
202
|
+
}
|
|
203
|
+
.list-item-link > span > span {
|
|
204
|
+
color: rgba(107, 114, 128, 1);
|
|
205
|
+
display: block;
|
|
206
|
+
flex-grow: 1;
|
|
207
|
+
font-size: 0.75rem;
|
|
208
|
+
font-weight: 300;
|
|
209
|
+
line-height: 1rem;
|
|
210
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
211
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
212
|
+
-webkit-backdrop-filter;
|
|
213
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
214
|
+
transition-duration: 150ms;
|
|
215
|
+
}
|
|
216
|
+
.list-item-link svg:last-child {
|
|
217
|
+
height: 1rem;
|
|
218
|
+
transition-property: all;
|
|
219
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
220
|
+
transition-duration: 150ms;
|
|
221
|
+
width: 1rem;
|
|
222
|
+
}
|
|
223
|
+
.list-item-link:hover {
|
|
224
|
+
color: rgba(255, 255, 255, 1);
|
|
225
|
+
background-color: hsla(162, 47%, 50%, 1);
|
|
226
|
+
}
|
|
227
|
+
.list-item-link:hover > span {
|
|
228
|
+
}
|
|
229
|
+
.list-item-link:hover > span > span {
|
|
230
|
+
color: rgba(243, 244, 246, 1);
|
|
231
|
+
}
|
|
232
|
+
.list-item-link:hover svg:last-child {
|
|
233
|
+
transform: translateX(0.25rem);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
#other-links {
|
|
237
|
+
}
|
|
238
|
+
.button-pill {
|
|
239
|
+
padding: 1.5rem 2rem;
|
|
240
|
+
transition-duration: 300ms;
|
|
241
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
242
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
243
|
+
-webkit-backdrop-filter;
|
|
244
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
245
|
+
align-items: center;
|
|
246
|
+
display: flex;
|
|
247
|
+
}
|
|
248
|
+
.button-pill svg {
|
|
249
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
250
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
251
|
+
-webkit-backdrop-filter;
|
|
252
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
253
|
+
transition-duration: 150ms;
|
|
254
|
+
flex-shrink: 0;
|
|
255
|
+
width: 3rem;
|
|
256
|
+
}
|
|
257
|
+
.button-pill > span {
|
|
258
|
+
letter-spacing: -0.025em;
|
|
259
|
+
font-weight: 400;
|
|
260
|
+
font-size: 1.125rem;
|
|
261
|
+
line-height: 1.75rem;
|
|
262
|
+
padding-left: 1rem;
|
|
263
|
+
padding-right: 1rem;
|
|
264
|
+
}
|
|
265
|
+
.button-pill span span {
|
|
266
|
+
display: block;
|
|
267
|
+
font-size: 0.875rem;
|
|
268
|
+
font-weight: 300;
|
|
269
|
+
line-height: 1.25rem;
|
|
270
|
+
}
|
|
271
|
+
.button-pill:hover svg,
|
|
272
|
+
.button-pill:hover {
|
|
273
|
+
color: rgba(255, 255, 255, 1) !important;
|
|
274
|
+
}
|
|
275
|
+
#nx-console:hover {
|
|
276
|
+
background-color: rgba(0, 122, 204, 1);
|
|
277
|
+
}
|
|
278
|
+
#nx-console svg {
|
|
279
|
+
color: rgba(0, 122, 204, 1);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
#nx-repo:hover {
|
|
283
|
+
background-color: rgba(24, 23, 23, 1);
|
|
284
|
+
}
|
|
285
|
+
#nx-repo svg {
|
|
286
|
+
color: rgba(24, 23, 23, 1);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
#nx-cloud {
|
|
290
|
+
margin-bottom: 2rem;
|
|
291
|
+
margin-top: 2rem;
|
|
292
|
+
padding: 2.5rem 2rem;
|
|
293
|
+
}
|
|
294
|
+
#nx-cloud > div {
|
|
295
|
+
align-items: center;
|
|
296
|
+
display: flex;
|
|
297
|
+
}
|
|
298
|
+
#nx-cloud > div svg {
|
|
299
|
+
border-radius: 0.375rem;
|
|
300
|
+
flex-shrink: 0;
|
|
301
|
+
width: 3rem;
|
|
302
|
+
}
|
|
303
|
+
#nx-cloud > div h2 {
|
|
304
|
+
font-size: 1.125rem;
|
|
305
|
+
font-weight: 400;
|
|
306
|
+
letter-spacing: -0.025em;
|
|
307
|
+
line-height: 1.75rem;
|
|
308
|
+
padding-left: 1rem;
|
|
309
|
+
padding-right: 1rem;
|
|
310
|
+
}
|
|
311
|
+
#nx-cloud > div h2 span {
|
|
312
|
+
display: block;
|
|
313
|
+
font-size: 0.875rem;
|
|
314
|
+
font-weight: 300;
|
|
315
|
+
line-height: 1.25rem;
|
|
316
|
+
}
|
|
317
|
+
#nx-cloud p {
|
|
318
|
+
font-size: 1rem;
|
|
319
|
+
line-height: 1.5rem;
|
|
320
|
+
margin-top: 1rem;
|
|
321
|
+
}
|
|
322
|
+
#nx-cloud pre {
|
|
323
|
+
margin-top: 1rem;
|
|
324
|
+
}
|
|
325
|
+
#nx-cloud a {
|
|
326
|
+
color: rgba(107, 114, 128, 1);
|
|
327
|
+
display: block;
|
|
328
|
+
font-size: 0.875rem;
|
|
329
|
+
line-height: 1.25rem;
|
|
330
|
+
margin-top: 1.5rem;
|
|
331
|
+
text-align: right;
|
|
332
|
+
}
|
|
333
|
+
#nx-cloud a:hover {
|
|
334
|
+
text-decoration: underline;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
#commands {
|
|
338
|
+
padding: 2.5rem 2rem;
|
|
339
|
+
|
|
340
|
+
margin-top: 3.5rem;
|
|
341
|
+
}
|
|
342
|
+
#commands h2 {
|
|
343
|
+
font-size: 1.25rem;
|
|
344
|
+
font-weight: 400;
|
|
345
|
+
letter-spacing: -0.025em;
|
|
346
|
+
line-height: 1.75rem;
|
|
347
|
+
padding-left: 1rem;
|
|
348
|
+
padding-right: 1rem;
|
|
349
|
+
}
|
|
350
|
+
#commands p {
|
|
351
|
+
font-size: 1rem;
|
|
352
|
+
font-weight: 300;
|
|
353
|
+
line-height: 1.5rem;
|
|
354
|
+
margin-top: 1rem;
|
|
355
|
+
padding-left: 1rem;
|
|
356
|
+
padding-right: 1rem;
|
|
357
|
+
}
|
|
358
|
+
details {
|
|
359
|
+
align-items: center;
|
|
360
|
+
display: flex;
|
|
361
|
+
margin-top: 1rem;
|
|
362
|
+
padding-left: 1rem;
|
|
363
|
+
padding-right: 1rem;
|
|
364
|
+
width: 100%;
|
|
365
|
+
}
|
|
366
|
+
details pre > span {
|
|
367
|
+
color: rgba(181, 181, 181, 1);
|
|
368
|
+
}
|
|
369
|
+
summary {
|
|
370
|
+
border-radius: 0.5rem;
|
|
371
|
+
display: flex;
|
|
372
|
+
font-weight: 400;
|
|
373
|
+
padding: 0.5rem;
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
transition-property: background-color, border-color, color, fill, stroke,
|
|
376
|
+
opacity, box-shadow, transform, filter, backdrop-filter,
|
|
377
|
+
-webkit-backdrop-filter;
|
|
378
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
379
|
+
transition-duration: 150ms;
|
|
380
|
+
}
|
|
381
|
+
summary:hover {
|
|
382
|
+
background-color: rgba(243, 244, 246, 1);
|
|
383
|
+
}
|
|
384
|
+
summary svg {
|
|
385
|
+
height: 1.5rem;
|
|
386
|
+
margin-right: 1rem;
|
|
387
|
+
width: 1.5rem;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
#love {
|
|
391
|
+
color: rgba(107, 114, 128, 1);
|
|
392
|
+
font-size: 0.875rem;
|
|
393
|
+
line-height: 1.25rem;
|
|
394
|
+
margin-top: 3.5rem;
|
|
395
|
+
opacity: 0.6;
|
|
396
|
+
text-align: center;
|
|
397
|
+
}
|
|
398
|
+
#love svg {
|
|
399
|
+
color: rgba(252, 165, 165, 1);
|
|
400
|
+
width: 1.25rem;
|
|
401
|
+
height: 1.25rem;
|
|
402
|
+
display: inline;
|
|
403
|
+
margin-top: -0.25rem;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@media screen and (min-width: 768px) {
|
|
407
|
+
#hero {
|
|
408
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
409
|
+
}
|
|
410
|
+
#hero .logo-container {
|
|
411
|
+
display: flex;
|
|
412
|
+
}
|
|
413
|
+
#middle-content {
|
|
414
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
415
|
+
}
|
|
416
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppElement } from './app.element';
|
|
2
|
+
|
|
3
|
+
describe('AppElement', () => {
|
|
4
|
+
let app: AppElement;
|
|
5
|
+
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
app = new AppElement();
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
it('should create successfully', () => {
|
|
11
|
+
expect(app).toBeTruthy();
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
it('should have a greeting', () => {
|
|
15
|
+
app.connectedCallback();
|
|
16
|
+
|
|
17
|
+
expect(app.querySelector('h1').innerHTML).toContain(
|
|
18
|
+
'Welcome <%= projectName %>'
|
|
19
|
+
);
|
|
20
|
+
});
|
|
21
|
+
});
|