@powerhousedao/academy 5.0.0-staging.9 → 5.0.1-staging.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/.vscode/settings.json +1 -1
- package/CHANGELOG.md +400 -0
- package/README.md +3 -3
- package/babel.config.js +1 -1
- package/blog/BeyondCommunication-ABlueprintForDevelopment.md +25 -24
- package/blog/TheChallengeOfChange.md +21 -21
- package/docs/academy/01-GetStarted/00-ExploreDemoPackage.mdx +67 -30
- package/docs/academy/01-GetStarted/01-CreateNewPowerhouseProject.md +38 -21
- package/docs/academy/01-GetStarted/02-DefineToDoListDocumentModel.md +24 -19
- package/docs/academy/01-GetStarted/03-ImplementOperationReducers.md +44 -41
- package/docs/academy/01-GetStarted/04-BuildToDoListEditor.md +10 -10
- package/docs/academy/01-GetStarted/05-VetraStudio.md +164 -0
- package/docs/academy/01-GetStarted/06-ReactorMCP.md +58 -0
- package/docs/academy/01-GetStarted/home.mdx +185 -90
- package/docs/academy/01-GetStarted/images/Modules.png +0 -0
- package/docs/academy/01-GetStarted/images/VetraStudioDrive.png +0 -0
- package/docs/academy/01-GetStarted/styles.module.css +5 -5
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/01-Prerequisites.md +46 -18
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/02-StandardDocumentModelWorkflow.md +118 -68
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/03-BuilderTools.md +75 -33
- package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/01-WhatIsADocumentModel.md +30 -21
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/02-SpecifyTheStateSchema.md +41 -37
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/03-SpecifyDocumentOperations.md +29 -25
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/04-UseTheDocumentModelGenerator.md +36 -37
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/05-ImplementDocumentReducers.md +128 -109
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/06-ImplementDocumentModelTests.md +95 -86
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/07-ExampleToDoListRepository.md +7 -9
- package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/01-BuildingDocumentEditors.md +65 -47
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/02-ConfiguringDrives.md +77 -62
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/03-BuildingADriveExplorer.md +360 -349
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/00-DocumentToolbar.mdx +16 -10
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/01-OperationHistory.md +10 -7
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/02-RevisionHistoryTimeline.md +25 -17
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/_category_.json +6 -6
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/01-RenownAuthenticationFlow.md +14 -7
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/02-Authorization.md +0 -1
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/_category_.json +5 -5
- package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/_category_.json +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/01-GraphQLAtPowerhouse.md +45 -33
- package/docs/academy/02-MasteryTrack/04-WorkWithData/02-UsingTheAPI.mdx +61 -18
- package/docs/academy/02-MasteryTrack/04-WorkWithData/03-UsingSubgraphs.md +50 -54
- package/docs/academy/02-MasteryTrack/04-WorkWithData/04-analytics-processor.md +126 -110
- package/docs/academy/02-MasteryTrack/04-WorkWithData/05-RelationalDbProcessor.md +75 -45
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/GraphQL References/QueryingADocumentWithGraphQL.md +23 -21
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/best-practices.md +9 -9
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/index.md +11 -23
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/integration.md +25 -9
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/intro.md +10 -10
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/benchmarks.md +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/index.md +16 -11
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/memory.md +6 -5
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/schema.md +2 -2
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/utilities.md +7 -5
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/maker.md +32 -58
- package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/processors.md +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/07-drive-analytics.md +105 -71
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_01-SetupBuilderEnvironment.md +22 -0
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_02-CreateNewPowerhouseProject.md +9 -8
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_03-GenerateAnAnalyticsProcessor.md +28 -32
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_04-UpdateAnalyticsProcessor.md +25 -26
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_category_.json +1 -1
- package/docs/academy/02-MasteryTrack/04-WorkWithData/_category_.json +7 -7
- package/docs/academy/02-MasteryTrack/05-Launch/01-IntroductionToPackages.md +3 -4
- package/docs/academy/02-MasteryTrack/05-Launch/02-PublishYourProject.md +69 -45
- package/docs/academy/02-MasteryTrack/05-Launch/03-SetupEnvironment.md +70 -40
- package/docs/academy/02-MasteryTrack/05-Launch/04-ConfigureEnvironment.md +1 -0
- package/docs/academy/02-MasteryTrack/05-Launch/_category_.json +7 -7
- package/docs/academy/02-MasteryTrack/_category_.json +6 -6
- package/docs/academy/03-ExampleUsecases/Chatroom/02-CreateNewPowerhouseProject.md +5 -3
- package/docs/academy/03-ExampleUsecases/Chatroom/03-DefineChatroomDocumentModel.md +38 -37
- package/docs/academy/03-ExampleUsecases/Chatroom/04-ImplementOperationReducers.md +45 -41
- package/docs/academy/03-ExampleUsecases/Chatroom/05-ImplementChatroomEditor.md +14 -14
- package/docs/academy/03-ExampleUsecases/Chatroom/06-LaunchALocalReactor.md +6 -6
- package/docs/academy/03-ExampleUsecases/Chatroom/_category_.json +1 -1
- package/docs/academy/04-APIReferences/00-PowerhouseCLI.md +104 -43
- package/docs/academy/04-APIReferences/01-ReactHooks.md +177 -129
- package/docs/academy/04-APIReferences/04-RelationalDatabase.md +121 -113
- package/docs/academy/04-APIReferences/05-PHDocumentMigrationGuide.md +48 -41
- package/docs/academy/04-APIReferences/_category_.json +6 -6
- package/docs/academy/05-Architecture/00-PowerhouseArchitecture.md +1 -2
- package/docs/academy/05-Architecture/01-WorkingWithTheReactor.md +11 -8
- package/docs/academy/05-Architecture/05-DocumentModelTheory/_category_.json +1 -1
- package/docs/academy/05-Architecture/_category_.json +6 -6
- package/docs/academy/06-ComponentLibrary/00-DocumentEngineering.md +25 -23
- package/docs/academy/06-ComponentLibrary/02-CreateCustomScalars.md +105 -93
- package/docs/academy/06-ComponentLibrary/03-IntegrateIntoAReactComponent.md +1 -0
- package/docs/academy/06-ComponentLibrary/_category_.json +7 -7
- package/docs/academy/07-Cookbook.md +268 -35
- package/docs/academy/08-Glossary.md +7 -1
- package/docs/bookofpowerhouse/01-Overview.md +2 -2
- package/docs/bookofpowerhouse/02-GeneralFrameworkAndPhilosophy.md +1 -7
- package/docs/bookofpowerhouse/03-PowerhouseSoftwareArchitecture.md +10 -7
- package/docs/bookofpowerhouse/04-DevelopmentApproaches.md +10 -4
- package/docs/bookofpowerhouse/05-SNOsandANewModelForOSSandPublicGoods.md +23 -30
- package/docs/bookofpowerhouse/06-SNOsInActionAndPlatformEconomies.md +0 -7
- package/docusaurus.config.ts +64 -66
- package/package.json +9 -7
- package/scripts/generate-combined-cli-docs.ts +43 -13
- package/sidebars.ts +2 -0
- package/src/components/HomepageFeatures/index.tsx +171 -78
- package/src/components/HomepageFeatures/styles.module.css +1 -2
- package/src/css/custom.css +89 -89
- package/src/pages/_archive-homepage.tsx +17 -16
- package/src/theme/DocCardList/index.tsx +9 -8
- package/static.json +6 -6
- package/tsconfig.tsbuildinfo +1 -0
package/src/css/custom.css
CHANGED
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
|
|
7
7
|
/* You can override the default Infima variables here. */
|
|
8
8
|
:root {
|
|
9
|
-
--ifm-color-primary: #
|
|
10
|
-
--ifm-color-primary-dark: #
|
|
11
|
-
--ifm-color-primary-darker: #
|
|
12
|
-
--ifm-color-primary-darkest: #
|
|
13
|
-
--ifm-color-primary-light: #
|
|
14
|
-
--ifm-color-primary-lighter: #
|
|
15
|
-
--ifm-color-primary-lightest: #
|
|
9
|
+
--ifm-color-primary: #1a1a1b;
|
|
10
|
+
--ifm-color-primary-dark: #1a1a1b;
|
|
11
|
+
--ifm-color-primary-darker: #1a1a1b;
|
|
12
|
+
--ifm-color-primary-darkest: #1a1a1b;
|
|
13
|
+
--ifm-color-primary-light: #1a1a1b;
|
|
14
|
+
--ifm-color-primary-lighter: #1a1a1b;
|
|
15
|
+
--ifm-color-primary-lightest: #1a1a1b;
|
|
16
16
|
--ifm-code-font-size: 95%;
|
|
17
17
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
|
18
18
|
--toc-color: #555; /* Muted black for inactive items */
|
|
19
|
-
--toc-color-active: #
|
|
19
|
+
--toc-color-active: #1a1a1b; /* Black for active items */
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
|
23
|
-
[data-theme=
|
|
23
|
+
[data-theme="dark"] {
|
|
24
24
|
--ifm-color-primary: #ffffff;
|
|
25
25
|
--ifm-color-primary-dark: #ffffff;
|
|
26
26
|
--ifm-color-primary-darker: #ffffff;
|
|
@@ -34,28 +34,28 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@font-face {
|
|
37
|
-
font-family:
|
|
38
|
-
src: url(
|
|
37
|
+
font-family: "Franie";
|
|
38
|
+
src: url("/fonts/FranieRegular.otf") format("woff2");
|
|
39
39
|
font-weight: normal;
|
|
40
40
|
font-style: normal;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@font-face {
|
|
44
|
-
font-family:
|
|
45
|
-
src: url(
|
|
44
|
+
font-family: "Franie";
|
|
45
|
+
src: url("/fonts/FranieBold.otf") format("woff2");
|
|
46
46
|
font-weight: bold;
|
|
47
47
|
font-style: normal;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.hero__title {
|
|
51
|
-
font-family:
|
|
51
|
+
font-family: "Franie", sans-serif;
|
|
52
52
|
font-weight: bold;
|
|
53
53
|
font-size: 39.75px;
|
|
54
54
|
margin-bottom: 0.1rem; /* Reduce bottom margin */
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.hero__subtitle {
|
|
58
|
-
font-family:
|
|
58
|
+
font-family: "Inter", sans-serif;
|
|
59
59
|
font-weight: normal;
|
|
60
60
|
margin-top: 0.1rem; /* Reduce top margin */
|
|
61
61
|
}
|
|
@@ -67,51 +67,51 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* If you need different colors for light mode, use this */
|
|
70
|
-
html[data-theme=
|
|
71
|
-
html[data-theme=
|
|
70
|
+
html[data-theme="light"] .hero__title,
|
|
71
|
+
html[data-theme="light"] .hero__subtitle {
|
|
72
72
|
color: #ffffff; /* or any other color for light mode */
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* Explicitly set white color for dark mode */
|
|
76
|
-
html[data-theme=
|
|
77
|
-
html[data-theme=
|
|
76
|
+
html[data-theme="dark"] .hero__title,
|
|
77
|
+
html[data-theme="dark"] .hero__subtitle {
|
|
78
78
|
color: #ffffff;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* Dark mode styles */
|
|
82
|
-
html[data-theme=
|
|
83
|
-
--ifm-background-color: #
|
|
84
|
-
--ifm-background-surface-color: #
|
|
82
|
+
html[data-theme="dark"] {
|
|
83
|
+
--ifm-background-color: #1a1a1b;
|
|
84
|
+
--ifm-background-surface-color: #1a1a1b;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* If you want to affect specific elements, you can add more specific rules */
|
|
88
|
-
html[data-theme=
|
|
89
|
-
background-color: #
|
|
88
|
+
html[data-theme="dark"] .main-wrapper {
|
|
89
|
+
background-color: #1a1a1b;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
html[data-theme=
|
|
93
|
-
background-color: #
|
|
92
|
+
html[data-theme="dark"] .navbar {
|
|
93
|
+
background-color: #1a1a1b;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
html[data-theme=
|
|
97
|
-
background-color: #
|
|
96
|
+
html[data-theme="dark"] .footer {
|
|
97
|
+
background-color: #1a1a1b;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
html[data-theme=
|
|
100
|
+
html[data-theme="light"] .footer {
|
|
101
101
|
background-color: #f5f5f5;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
/* Light theme styles for footer */
|
|
105
|
-
html[data-theme=
|
|
105
|
+
html[data-theme="light"] .footer {
|
|
106
106
|
--ifm-footer-color: #000000;
|
|
107
107
|
--ifm-footer-link-color: #000000;
|
|
108
108
|
--ifm-footer-title-color: #000000;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* If you need more specific control: */
|
|
112
|
-
html[data-theme=
|
|
113
|
-
html[data-theme=
|
|
114
|
-
html[data-theme=
|
|
112
|
+
html[data-theme="light"] .footer .footer__link-item,
|
|
113
|
+
html[data-theme="light"] .footer .footer__title,
|
|
114
|
+
html[data-theme="light"] .footer .footer__copyright {
|
|
115
115
|
color: #000000;
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -158,17 +158,17 @@ a {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* Dark mode specific styles for better readability */
|
|
161
|
-
[data-theme=
|
|
162
|
-
[data-theme=
|
|
163
|
-
[data-theme=
|
|
164
|
-
[data-theme=
|
|
161
|
+
[data-theme="dark"] .docs-doc-page .theme-doc-markdown a,
|
|
162
|
+
[data-theme="dark"] .markdown a,
|
|
163
|
+
[data-theme="dark"] details a,
|
|
164
|
+
[data-theme="dark"] .theme-doc-markdown details a {
|
|
165
165
|
color: #66b3ff !important; /* lighter blue for dark mode */
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
[data-theme=
|
|
169
|
-
[data-theme=
|
|
170
|
-
[data-theme=
|
|
171
|
-
[data-theme=
|
|
168
|
+
[data-theme="dark"] .docs-doc-page .theme-doc-markdown a:hover,
|
|
169
|
+
[data-theme="dark"] .markdown a:hover,
|
|
170
|
+
[data-theme="dark"] details a:hover,
|
|
171
|
+
[data-theme="dark"] .theme-doc-markdown details a:hover {
|
|
172
172
|
color: #99ccff !important; /* even lighter blue on hover for dark mode */
|
|
173
173
|
}
|
|
174
174
|
|
|
@@ -224,7 +224,7 @@ article > a,
|
|
|
224
224
|
cursor: pointer;
|
|
225
225
|
transition: all 0.2s ease;
|
|
226
226
|
background-color: white;
|
|
227
|
-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
227
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
228
228
|
height: 100%; /* This ensures equal height */
|
|
229
229
|
display: flex;
|
|
230
230
|
flex-direction: column;
|
|
@@ -237,7 +237,7 @@ article > a,
|
|
|
237
237
|
|
|
238
238
|
.track-card:hover {
|
|
239
239
|
transform: translateY(-2px);
|
|
240
|
-
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
|
240
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.track-title {
|
|
@@ -298,11 +298,11 @@ article > a,
|
|
|
298
298
|
text-decoration: none !important;
|
|
299
299
|
color: inherit !important;
|
|
300
300
|
transform: translateY(-2px);
|
|
301
|
-
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
|
301
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
/* Dark mode adjustments */
|
|
305
|
-
[data-theme=
|
|
305
|
+
[data-theme="dark"] .path-button {
|
|
306
306
|
background-color: #1f1f20;
|
|
307
307
|
border: none; /* Remove default border */
|
|
308
308
|
position: relative; /* For pseudo-element positioning */
|
|
@@ -310,8 +310,8 @@ article > a,
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
/* Gradient border effect - dark mode only */
|
|
313
|
-
[data-theme=
|
|
314
|
-
content:
|
|
313
|
+
[data-theme="dark"] .path-button::before {
|
|
314
|
+
content: "";
|
|
315
315
|
position: absolute;
|
|
316
316
|
top: 0;
|
|
317
317
|
right: 0;
|
|
@@ -320,11 +320,11 @@ article > a,
|
|
|
320
320
|
border-radius: 8px;
|
|
321
321
|
padding: 1px; /* Border width */
|
|
322
322
|
background: linear-gradient(90deg, #4633eb, #7a5cff);
|
|
323
|
-
-webkit-mask:
|
|
324
|
-
linear-gradient(#fff 0 0) content-box,
|
|
323
|
+
-webkit-mask:
|
|
324
|
+
linear-gradient(#fff 0 0) content-box,
|
|
325
325
|
linear-gradient(#fff 0 0);
|
|
326
|
-
mask:
|
|
327
|
-
linear-gradient(#fff 0 0) content-box,
|
|
326
|
+
mask:
|
|
327
|
+
linear-gradient(#fff 0 0) content-box,
|
|
328
328
|
linear-gradient(#fff 0 0);
|
|
329
329
|
-webkit-mask-composite: xor;
|
|
330
330
|
mask-composite: exclude;
|
|
@@ -332,11 +332,11 @@ article > a,
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
/* Hover effects - dark mode */
|
|
335
|
-
[data-theme=
|
|
335
|
+
[data-theme="dark"] .path-button:hover {
|
|
336
336
|
transform: translateY(-2px);
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
[data-theme=
|
|
339
|
+
[data-theme="dark"] .path-button:hover::before {
|
|
340
340
|
box-shadow: 0 0 15px rgba(74, 51, 235, 0.3); /* Subtle blue glow */
|
|
341
341
|
}
|
|
342
342
|
|
|
@@ -345,7 +345,7 @@ article > a,
|
|
|
345
345
|
border: 1px solid #e0e0e0;
|
|
346
346
|
border-radius: 8px;
|
|
347
347
|
padding: 1rem;
|
|
348
|
-
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
348
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
.path-card.full-width {
|
|
@@ -369,98 +369,98 @@ article > a,
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
/* Dark mode adjustments */
|
|
372
|
-
[data-theme=
|
|
372
|
+
[data-theme="dark"] .path-card {
|
|
373
373
|
background-color: #2a2a2b;
|
|
374
374
|
border-color: #3a3a3b;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
[data-theme=
|
|
377
|
+
[data-theme="dark"] .card-title {
|
|
378
378
|
color: white;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
/* Algolia DocSearch Dark Mode Styles */
|
|
382
|
-
html[data-theme=
|
|
383
|
-
background-color: #
|
|
382
|
+
html[data-theme="dark"] .DocSearch-Hits {
|
|
383
|
+
background-color: #1a1a1b !important;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
html[data-theme=
|
|
387
|
-
background-color: #
|
|
386
|
+
html[data-theme="dark"] .DocSearch-Hit {
|
|
387
|
+
background-color: #1a1a1b !important;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
html[data-theme=
|
|
391
|
-
background-color: #
|
|
390
|
+
html[data-theme="dark"] .DocSearch-Hit-source {
|
|
391
|
+
background-color: #1a1a1b !important;
|
|
392
392
|
color: #ffffff !important;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
-
html[data-theme=
|
|
395
|
+
html[data-theme="dark"] .DocSearch-Hit-content-wrapper {
|
|
396
396
|
color: #ffffff !important;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
html[data-theme=
|
|
399
|
+
html[data-theme="dark"] .DocSearch-Hit-title {
|
|
400
400
|
color: #ffffff !important;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
html[data-theme=
|
|
403
|
+
html[data-theme="dark"] .DocSearch-Hit-path {
|
|
404
404
|
color: #a0a0a0 !important;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
html[data-theme=
|
|
407
|
+
html[data-theme="dark"] .DocSearch-Hit-icon {
|
|
408
408
|
color: #ffffff !important;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
-
html[data-theme=
|
|
411
|
+
html[data-theme="dark"] .DocSearch-Hit-action {
|
|
412
412
|
color: #ffffff !important;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
html[data-theme=
|
|
415
|
+
html[data-theme="dark"] .DocSearch-Hit[aria-selected="true"] {
|
|
416
416
|
background-color: #2a2a2b !important;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
html[data-theme=
|
|
420
|
-
background-color: #
|
|
419
|
+
html[data-theme="dark"] .DocSearch-Modal {
|
|
420
|
+
background-color: #1a1a1b !important;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
html[data-theme=
|
|
424
|
-
background-color: #
|
|
423
|
+
html[data-theme="dark"] .DocSearch-SearchBar {
|
|
424
|
+
background-color: #1a1a1b !important;
|
|
425
425
|
}
|
|
426
426
|
|
|
427
|
-
html[data-theme=
|
|
427
|
+
html[data-theme="dark"] .DocSearch-Form {
|
|
428
428
|
background-color: #2a2a2b !important;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
html[data-theme=
|
|
431
|
+
html[data-theme="dark"] .DocSearch-Input {
|
|
432
432
|
color: #ffffff !important;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
html[data-theme=
|
|
435
|
+
html[data-theme="dark"] .DocSearch-Reset {
|
|
436
436
|
color: #ffffff !important;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
html[data-theme=
|
|
439
|
+
html[data-theme="dark"] .DocSearch-Cancel {
|
|
440
440
|
color: #ffffff !important;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
html[data-theme=
|
|
444
|
-
background-color: #
|
|
443
|
+
html[data-theme="dark"] .DocSearch-Hit:first-child {
|
|
444
|
+
background-color: #1a1a1b !important;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
html[data-theme=
|
|
448
|
-
html[data-theme=
|
|
449
|
-
html[data-theme=
|
|
450
|
-
html[data-theme=
|
|
451
|
-
html[data-theme=
|
|
452
|
-
background-color: #
|
|
447
|
+
html[data-theme="dark"] .DocSearch-Hit--empty,
|
|
448
|
+
html[data-theme="dark"] .DocSearch-Hit[aria-label="No results"],
|
|
449
|
+
html[data-theme="dark"] .DocSearch-Hit-content-wrapper:empty,
|
|
450
|
+
html[data-theme="dark"] .DocSearch-Hit[style*="background-color: white"],
|
|
451
|
+
html[data-theme="dark"] .DocSearch-Hit {
|
|
452
|
+
background-color: #1a1a1b !important;
|
|
453
453
|
color: #ffffff !important;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
html[data-theme=
|
|
457
|
-
background-color: #
|
|
456
|
+
html[data-theme="dark"] .DocSearch-Hits > * {
|
|
457
|
+
background-color: #1a1a1b !important;
|
|
458
458
|
color: #ffffff !important;
|
|
459
|
-
border-color: #
|
|
459
|
+
border-color: #1a1a1b !important;
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
html[data-theme=
|
|
463
|
-
background-color: #
|
|
462
|
+
html[data-theme="dark"] .DocSearch-Hits > *:empty {
|
|
463
|
+
background-color: #1a1a1b !important;
|
|
464
464
|
color: #ffffff !important;
|
|
465
465
|
min-height: 48px; /* or whatever height matches the box */
|
|
466
466
|
border-radius: 8px;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Layout from
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
|
2
|
+
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
|
3
|
+
import Heading from "@theme/Heading";
|
|
4
|
+
import Layout from "@theme/Layout";
|
|
5
|
+
import clsx from "clsx";
|
|
6
|
+
import styles from "./index.module.css";
|
|
7
|
+
import type { JSX } from "react";
|
|
8
8
|
|
|
9
9
|
function HomepageHeader() {
|
|
10
|
-
const {siteConfig} = useDocusaurusContext();
|
|
10
|
+
const { siteConfig } = useDocusaurusContext();
|
|
11
11
|
return (
|
|
12
|
-
<header
|
|
13
|
-
className={clsx(
|
|
12
|
+
<header
|
|
13
|
+
className={clsx("hero hero--primary", styles.heroBanner)}
|
|
14
14
|
style={{
|
|
15
15
|
backgroundImage: `url('/img/empty-background.png')`,
|
|
16
|
-
backgroundSize:
|
|
17
|
-
backgroundPosition:
|
|
16
|
+
backgroundSize: "cover",
|
|
17
|
+
backgroundPosition: "center",
|
|
18
18
|
}}
|
|
19
19
|
>
|
|
20
20
|
<div className="container">
|
|
@@ -28,15 +28,16 @@ function HomepageHeader() {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export default function Home(): JSX.Element {
|
|
31
|
-
const {siteConfig} = useDocusaurusContext();
|
|
31
|
+
const { siteConfig } = useDocusaurusContext();
|
|
32
32
|
return (
|
|
33
33
|
<Layout
|
|
34
|
-
title={
|
|
35
|
-
description="Get started with the Powerhouse applications <head />"
|
|
34
|
+
title={siteConfig.title}
|
|
35
|
+
description="Get started with the Powerhouse applications <head />"
|
|
36
|
+
>
|
|
36
37
|
<HomepageHeader />
|
|
37
38
|
<main>
|
|
38
39
|
<HomepageFeatures />
|
|
39
40
|
</main>
|
|
40
41
|
</Layout>
|
|
41
42
|
);
|
|
42
|
-
}
|
|
43
|
+
}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
3
4
|
import {
|
|
4
5
|
useCurrentSidebarCategory,
|
|
5
6
|
filterDocCardListItems,
|
|
6
|
-
} from
|
|
7
|
-
import DocCard from
|
|
8
|
-
import type {Props} from
|
|
7
|
+
} from "@docusaurus/plugin-content-docs/client";
|
|
8
|
+
import DocCard from "@theme/DocCard";
|
|
9
|
+
import type { Props } from "@theme/DocCardList";
|
|
9
10
|
|
|
10
|
-
function DocCardListForCurrentSidebarCategory({className}: Props) {
|
|
11
|
+
function DocCardListForCurrentSidebarCategory({ className }: Props) {
|
|
11
12
|
const category = useCurrentSidebarCategory();
|
|
12
13
|
return <DocCardList items={category.items} className={className} />;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
export default function DocCardList(props: Props): ReactNode {
|
|
16
|
-
const {items, className} = props;
|
|
17
|
+
const { items, className } = props;
|
|
17
18
|
if (!items) {
|
|
18
19
|
return <DocCardListForCurrentSidebarCategory {...props} />;
|
|
19
20
|
}
|
|
20
21
|
const filteredItems = filterDocCardListItems(items);
|
|
21
22
|
return (
|
|
22
|
-
<section className={clsx(
|
|
23
|
+
<section className={clsx("doc-card-list", className)}>
|
|
23
24
|
{filteredItems.map((item, index) => (
|
|
24
25
|
<article key={index} className="doc-card-list-item margin-bottom--lg">
|
|
25
26
|
<DocCard item={item} />
|
package/static.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
2
|
+
"root": "build/",
|
|
3
|
+
"routes": {
|
|
4
|
+
"/**": "index.html"
|
|
5
|
+
},
|
|
6
|
+
"https_only": true
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./babel.config.js","./docusaurus.config.ts","./sidebars.ts","./scripts/generate-combined-cli-docs.ts","./src/components/HomepageFeatures/index.tsx","./src/pages/_archive-homepage.tsx","./src/theme/DocCardList/index.tsx"],"version":"5.9.3"}
|