@imolko/create-ultra-reporter 2.1.23-beta
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/README.md +219 -0
- package/bin/classes/index.d.ts +0 -0
- package/bin/classes/index.js +2 -0
- package/bin/classes/index.js.map +1 -0
- package/bin/classes/logger.d.ts +42 -0
- package/bin/classes/logger.js +185 -0
- package/bin/classes/logger.js.map +1 -0
- package/bin/cli.d.ts +2 -0
- package/bin/cli.js +48 -0
- package/bin/cli.js.map +1 -0
- package/bin/commands/build.d.ts +2 -0
- package/bin/commands/build.js +151 -0
- package/bin/commands/build.js.map +1 -0
- package/bin/commands/create.d.ts +60 -0
- package/bin/commands/create.js +368 -0
- package/bin/commands/create.js.map +1 -0
- package/bin/commands/generate-documentation.d.ts +2 -0
- package/bin/commands/generate-documentation.js +249 -0
- package/bin/commands/generate-documentation.js.map +1 -0
- package/bin/commands/generate.d.ts +2 -0
- package/bin/commands/generate.js +79 -0
- package/bin/commands/generate.js.map +1 -0
- package/bin/commands/index.d.ts +6 -0
- package/bin/commands/index.js +16 -0
- package/bin/commands/index.js.map +1 -0
- package/bin/commands/init.d.ts +2 -0
- package/bin/commands/init.js +54 -0
- package/bin/commands/init.js.map +1 -0
- package/bin/commands/serve.d.ts +2 -0
- package/bin/commands/serve.js +124 -0
- package/bin/commands/serve.js.map +1 -0
- package/bin/commands/types.d.ts +65 -0
- package/bin/commands/types.js +9 -0
- package/bin/commands/types.js.map +1 -0
- package/bin/config/reader.d.ts +17 -0
- package/bin/config/reader.js +166 -0
- package/bin/config/reader.js.map +1 -0
- package/bin/config/types.d.ts +57 -0
- package/bin/config/types.js +21 -0
- package/bin/config/types.js.map +1 -0
- package/bin/data/documentation-folder.d.ts +1 -0
- package/bin/data/documentation-folder.js +5 -0
- package/bin/data/documentation-folder.js.map +1 -0
- package/bin/data/files-generated.d.ts +1 -0
- package/bin/data/files-generated.js +10 -0
- package/bin/data/files-generated.js.map +1 -0
- package/bin/data/index.d.ts +2 -0
- package/bin/data/index.js +8 -0
- package/bin/data/index.js.map +1 -0
- package/bin/pipeline/generate.d.ts +26 -0
- package/bin/pipeline/generate.js +269 -0
- package/bin/pipeline/generate.js.map +1 -0
- package/bin/reporters/data-loading.d.ts +121 -0
- package/bin/reporters/data-loading.js +398 -0
- package/bin/reporters/data-loading.js.map +1 -0
- package/bin/reporters/data-transformation.d.ts +101 -0
- package/bin/reporters/data-transformation.js +392 -0
- package/bin/reporters/data-transformation.js.map +1 -0
- package/bin/reporters/file-writing.d.ts +29 -0
- package/bin/reporters/file-writing.js +100 -0
- package/bin/reporters/file-writing.js.map +1 -0
- package/bin/reporters/generate-domain-documentation.d.ts +17 -0
- package/bin/reporters/generate-domain-documentation.js +161 -0
- package/bin/reporters/generate-domain-documentation.js.map +1 -0
- package/bin/reporters/generate-use-cases-documentation.d.ts +18 -0
- package/bin/reporters/generate-use-cases-documentation.js +123 -0
- package/bin/reporters/generate-use-cases-documentation.js.map +1 -0
- package/bin/reporters/rendering.d.ts +116 -0
- package/bin/reporters/rendering.js +385 -0
- package/bin/reporters/rendering.js.map +1 -0
- package/bin/reporters/templates/README.md +28 -0
- package/bin/reporters/templates/card.template.jsx +5 -0
- package/bin/reporters/templates/cards-container.template.jsx +5 -0
- package/bin/reporters/types.d.ts +190 -0
- package/bin/reporters/types.js +8 -0
- package/bin/reporters/types.js.map +1 -0
- package/bin/scaffold/assembler.d.ts +13 -0
- package/bin/scaffold/assembler.js +371 -0
- package/bin/scaffold/assembler.js.map +1 -0
- package/bin/scaffold/doc-assembler.d.ts +10 -0
- package/bin/scaffold/doc-assembler.js +113 -0
- package/bin/scaffold/doc-assembler.js.map +1 -0
- package/bin/scripts/add-import.d.ts +1 -0
- package/bin/scripts/add-import.js +26 -0
- package/bin/scripts/add-import.js.map +1 -0
- package/bin/scripts/converter.d.ts +6 -0
- package/bin/scripts/converter.js +120 -0
- package/bin/scripts/converter.js.map +1 -0
- package/bin/scripts/copy-files.d.ts +1 -0
- package/bin/scripts/copy-files.js +96 -0
- package/bin/scripts/copy-files.js.map +1 -0
- package/bin/scripts/create-folder.d.ts +1 -0
- package/bin/scripts/create-folder.js +23 -0
- package/bin/scripts/create-folder.js.map +1 -0
- package/bin/scripts/delete-paths.d.ts +1 -0
- package/bin/scripts/delete-paths.js +34 -0
- package/bin/scripts/delete-paths.js.map +1 -0
- package/bin/scripts/exists-file.d.ts +5 -0
- package/bin/scripts/exists-file.js +12 -0
- package/bin/scripts/exists-file.js.map +1 -0
- package/bin/scripts/generate-track-artifacts.d.ts +1 -0
- package/bin/scripts/generate-track-artifacts.js +59 -0
- package/bin/scripts/generate-track-artifacts.js.map +1 -0
- package/bin/scripts/get-artifacts.d.ts +1 -0
- package/bin/scripts/get-artifacts.js +38 -0
- package/bin/scripts/get-artifacts.js.map +1 -0
- package/bin/scripts/get-directories.d.ts +1 -0
- package/bin/scripts/get-directories.js +10 -0
- package/bin/scripts/get-directories.js.map +1 -0
- package/bin/scripts/get-file.d.ts +9 -0
- package/bin/scripts/get-file.js +38 -0
- package/bin/scripts/get-file.js.map +1 -0
- package/bin/scripts/labels.d.ts +35 -0
- package/bin/scripts/labels.js +108 -0
- package/bin/scripts/labels.js.map +1 -0
- package/bin/scripts/markdown.d.ts +34 -0
- package/bin/scripts/markdown.js +99 -0
- package/bin/scripts/markdown.js.map +1 -0
- package/bin/scripts/names.d.ts +18 -0
- package/bin/scripts/names.js +64 -0
- package/bin/scripts/names.js.map +1 -0
- package/bin/scripts/track-artifacts.d.ts +2 -0
- package/bin/scripts/track-artifacts.js +101 -0
- package/bin/scripts/track-artifacts.js.map +1 -0
- package/bin/utils/create-folder.d.ts +1 -0
- package/bin/utils/create-folder.js +23 -0
- package/bin/utils/create-folder.js.map +1 -0
- package/bin/utils/delete-markdown-files.d.ts +1 -0
- package/bin/utils/delete-markdown-files.js +46 -0
- package/bin/utils/delete-markdown-files.js.map +1 -0
- package/bin/utils/delete-paths.d.ts +5 -0
- package/bin/utils/delete-paths.js +26 -0
- package/bin/utils/delete-paths.js.map +1 -0
- package/bin/utils/exists-file.d.ts +6 -0
- package/bin/utils/exists-file.js +13 -0
- package/bin/utils/exists-file.js.map +1 -0
- package/bin/utils/exists-folder.d.ts +6 -0
- package/bin/utils/exists-folder.js +13 -0
- package/bin/utils/exists-folder.js.map +1 -0
- package/bin/utils/get-internal-resource-path.d.ts +1 -0
- package/bin/utils/get-internal-resource-path.js +43 -0
- package/bin/utils/get-internal-resource-path.js.map +1 -0
- package/bin/utils/get-json-file.d.ts +1 -0
- package/bin/utils/get-json-file.js +27 -0
- package/bin/utils/get-json-file.js.map +1 -0
- package/bin/utils/index.d.ts +6 -0
- package/bin/utils/index.js +16 -0
- package/bin/utils/index.js.map +1 -0
- package/bin/utils/run-command.d.ts +5 -0
- package/bin/utils/run-command.js +36 -0
- package/bin/utils/run-command.js.map +1 -0
- package/jsdoc.conf.json +30 -0
- package/package.json +75 -0
- package/templates/documentation/README.md +41 -0
- package/templates/documentation/docs/.gitkeep +0 -0
- package/templates/documentation/docusaurus.config.ts +127 -0
- package/templates/documentation/package-lock.json +19431 -0
- package/templates/documentation/package.json +49 -0
- package/templates/documentation/sidebars.ts +33 -0
- package/templates/documentation/src/components/ArtifactTable/FilterBar.tsx +185 -0
- package/templates/documentation/src/components/ArtifactTable/index.tsx +298 -0
- package/templates/documentation/src/components/ArtifactTable/styles.module.css +282 -0
- package/templates/documentation/src/components/ArtifactTable/types.ts +31 -0
- package/templates/documentation/src/components/HomepageFeatures/index.tsx +77 -0
- package/templates/documentation/src/components/HomepageFeatures/styles.module.css +11 -0
- package/templates/documentation/src/css/custom.css +30 -0
- package/templates/documentation/src/pages/index.module.css +23 -0
- package/templates/documentation/src/pages/index.tsx +43 -0
- package/templates/documentation/src/pages/markdown-page.md +7 -0
- package/templates/documentation/static/.nojekyll +0 -0
- package/templates/documentation/static/img/docusaurus-social-card.jpg +0 -0
- package/templates/documentation/static/img/docusaurus.png +0 -0
- package/templates/documentation/static/img/favicon.ico +0 -0
- package/templates/documentation/static/img/logo.svg +1 -0
- package/templates/documentation/static/img/logo_imolko_azul.png +0 -0
- package/templates/documentation/static/img/undraw_docusaurus_mountain.svg +171 -0
- package/templates/documentation/static/img/undraw_docusaurus_react.svg +170 -0
- package/templates/documentation/static/img/undraw_docusaurus_tree.svg +40 -0
- package/templates/documentation/tsconfig.json +8 -0
- package/templates/documentation/ultra-reporter.config.json +55 -0
- package/templates/track-artifacts-script.ts +44 -0
- package/tsconfig.build-track.json +39 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
/* ── Filter Bar ─────────────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
.filterBar {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
gap: 12px;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 16px 20px;
|
|
9
|
+
margin-bottom: 16px;
|
|
10
|
+
background: var(--ifm-background-surface-color, #f5f6f7);
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
border: 1px solid var(--ifm-color-emphasis-200, #e0e0e0);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.filterGroup {
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.filterInput {
|
|
20
|
+
padding: 8px 12px;
|
|
21
|
+
border: 1px solid var(--ifm-color-emphasis-300, #ccc);
|
|
22
|
+
border-radius: 6px;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
min-width: 180px;
|
|
25
|
+
background: var(--ifm-background-color, #fff);
|
|
26
|
+
color: var(--ifm-font-color-base, #333);
|
|
27
|
+
transition: border-color 0.15s;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.filterInput:focus {
|
|
31
|
+
outline: none;
|
|
32
|
+
border-color: var(--ifm-color-primary, #3578e5);
|
|
33
|
+
box-shadow: 0 0 0 2px rgba(53, 120, 229, 0.15);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.filterSelect {
|
|
37
|
+
padding: 8px 12px;
|
|
38
|
+
border: 1px solid var(--ifm-color-emphasis-300, #ccc);
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
min-width: 160px;
|
|
42
|
+
background: var(--ifm-background-color, #fff);
|
|
43
|
+
color: var(--ifm-font-color-base, #333);
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.filterSelect:focus {
|
|
48
|
+
outline: none;
|
|
49
|
+
border-color: var(--ifm-color-primary, #3578e5);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ── Multi-Select Dropdown ─────────────────────────────────── */
|
|
53
|
+
|
|
54
|
+
.multiSelectToggle {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: 6px;
|
|
58
|
+
padding: 8px 12px;
|
|
59
|
+
border: 1px solid var(--ifm-color-emphasis-300, #ccc);
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
min-width: 140px;
|
|
63
|
+
background: var(--ifm-background-color, #fff);
|
|
64
|
+
color: var(--ifm-font-color-base, #333);
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
transition: border-color 0.15s;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.multiSelectToggle:hover {
|
|
70
|
+
border-color: var(--ifm-color-primary, #3578e5);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.multiSelectBadge {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
width: 20px;
|
|
78
|
+
height: 20px;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
background: var(--ifm-color-primary, #3578e5);
|
|
81
|
+
color: #fff;
|
|
82
|
+
font-size: 11px;
|
|
83
|
+
font-weight: 600;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.dropdownArrow {
|
|
87
|
+
font-size: 10px;
|
|
88
|
+
margin-left: auto;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.multiSelectDropdown {
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: calc(100% + 4px);
|
|
94
|
+
left: 0;
|
|
95
|
+
z-index: 100;
|
|
96
|
+
min-width: 180px;
|
|
97
|
+
max-height: 240px;
|
|
98
|
+
overflow-y: auto;
|
|
99
|
+
background: var(--ifm-background-color, #fff);
|
|
100
|
+
border: 1px solid var(--ifm-color-emphasis-300, #ccc);
|
|
101
|
+
border-radius: 6px;
|
|
102
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
|
103
|
+
padding: 4px 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.multiSelectOption {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 8px;
|
|
110
|
+
padding: 6px 12px;
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
transition: background 0.1s;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.multiSelectOption:hover {
|
|
117
|
+
background: var(--ifm-color-emphasis-100, #f0f0f0);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.multiSelectOption input[type='checkbox'] {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
accent-color: var(--ifm-color-primary, #3578e5);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* ── Clear Filters ─────────────────────────────────────────── */
|
|
126
|
+
|
|
127
|
+
.clearFiltersButton {
|
|
128
|
+
padding: 6px 12px;
|
|
129
|
+
border: none;
|
|
130
|
+
border-radius: 6px;
|
|
131
|
+
background: transparent;
|
|
132
|
+
color: var(--ifm-color-primary, #3578e5);
|
|
133
|
+
font-size: 13px;
|
|
134
|
+
font-weight: 500;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
text-decoration: underline;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.clearFiltersButton:hover {
|
|
140
|
+
color: var(--ifm-color-primary-darker, #2a66cc);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* ── Result Count ───────────────────────────────────────────── */
|
|
144
|
+
|
|
145
|
+
.resultCount {
|
|
146
|
+
margin-left: auto;
|
|
147
|
+
font-size: 13px;
|
|
148
|
+
color: var(--ifm-color-emphasis-600, #777);
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* ── Table ──────────────────────────────────────────────────── */
|
|
153
|
+
|
|
154
|
+
.tableContainer {
|
|
155
|
+
width: 100%;
|
|
156
|
+
overflow-x: auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.table {
|
|
160
|
+
width: 100%;
|
|
161
|
+
table-layout: auto;
|
|
162
|
+
margin-bottom: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.table th {
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
padding: 10px 14px;
|
|
168
|
+
font-size: 13px;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
text-transform: uppercase;
|
|
171
|
+
letter-spacing: 0.5px;
|
|
172
|
+
color: var(--ifm-color-emphasis-700, #555);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.table td {
|
|
176
|
+
padding: 10px 14px;
|
|
177
|
+
font-size: 14px;
|
|
178
|
+
vertical-align: middle;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.table tbody tr:hover {
|
|
182
|
+
background: var(--ifm-color-emphasis-100, #f8f8f8);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* ── Sortable Headers ───────────────────────────────────────── */
|
|
186
|
+
|
|
187
|
+
.sortableHeader {
|
|
188
|
+
display: inline-flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
gap: 4px;
|
|
191
|
+
padding: 0;
|
|
192
|
+
border: none;
|
|
193
|
+
background: none;
|
|
194
|
+
font: inherit;
|
|
195
|
+
font-weight: 600;
|
|
196
|
+
text-transform: uppercase;
|
|
197
|
+
letter-spacing: 0.5px;
|
|
198
|
+
color: var(--ifm-color-emphasis-700, #555);
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
transition: color 0.15s;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.sortableHeader:hover {
|
|
204
|
+
color: var(--ifm-color-primary, #3578e5);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.sortIndicator {
|
|
208
|
+
font-size: 10px;
|
|
209
|
+
color: var(--ifm-color-primary, #3578e5);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* ── Description Cell ───────────────────────────────────────── */
|
|
213
|
+
|
|
214
|
+
.descriptionCell {
|
|
215
|
+
display: block;
|
|
216
|
+
max-width: 280px;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
white-space: nowrap;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* ── Skeleton Loading ───────────────────────────────────────── */
|
|
223
|
+
|
|
224
|
+
.skeleton {
|
|
225
|
+
height: 14px;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
background: linear-gradient(
|
|
228
|
+
90deg,
|
|
229
|
+
var(--ifm-color-emphasis-200, #e0e0e0) 25%,
|
|
230
|
+
var(--ifm-color-emphasis-100, #f0f0f0) 50%,
|
|
231
|
+
var(--ifm-color-emphasis-200, #e0e0e0) 75%
|
|
232
|
+
);
|
|
233
|
+
background-size: 200% 100%;
|
|
234
|
+
animation: shimmer 1.5s infinite;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@keyframes shimmer {
|
|
238
|
+
0% {
|
|
239
|
+
background-position: 200% 0;
|
|
240
|
+
}
|
|
241
|
+
100% {
|
|
242
|
+
background-position: -200% 0;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* ── Empty / Error States ───────────────────────────────────── */
|
|
247
|
+
|
|
248
|
+
.emptyState,
|
|
249
|
+
.errorState {
|
|
250
|
+
text-align: center;
|
|
251
|
+
padding: 48px 24px;
|
|
252
|
+
color: var(--ifm-color-emphasis-600, #777);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.emptyState p,
|
|
256
|
+
.errorState p {
|
|
257
|
+
font-size: 15px;
|
|
258
|
+
margin-bottom: 12px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.errorState {
|
|
262
|
+
color: var(--ifm-color-danger, #d9534f);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* ── Tag Chips ─────────────────────────────────────────────── */
|
|
266
|
+
|
|
267
|
+
.tagList {
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-wrap: wrap;
|
|
270
|
+
gap: 4px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.tagChip {
|
|
274
|
+
display: inline-block;
|
|
275
|
+
padding: 2px 8px;
|
|
276
|
+
border-radius: 12px;
|
|
277
|
+
font-size: 12px;
|
|
278
|
+
font-weight: 500;
|
|
279
|
+
line-height: 1.4;
|
|
280
|
+
background: var(--ifm-color-emphasis-200, #e8e8e8);
|
|
281
|
+
color: var(--ifm-color-emphasis-800, #444);
|
|
282
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mirrors ArtifactManifestEntry from the CLI reporter types.
|
|
3
|
+
* Each entry represents one artifact in the searchable table.
|
|
4
|
+
*/
|
|
5
|
+
export interface ArtifactEntry {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
contextName: string;
|
|
10
|
+
description: string;
|
|
11
|
+
idMarkdown: string;
|
|
12
|
+
categories: string[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Current state of all filter controls. */
|
|
16
|
+
export interface FilterState {
|
|
17
|
+
nameQuery: string;
|
|
18
|
+
tagsQuery: string;
|
|
19
|
+
selectedTypes: string[];
|
|
20
|
+
selectedContext: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Which columns support click-to-sort. */
|
|
24
|
+
export type SortColumn = 'name' | 'type';
|
|
25
|
+
|
|
26
|
+
export type SortDirection = 'asc' | 'desc';
|
|
27
|
+
|
|
28
|
+
export interface SortState {
|
|
29
|
+
column: SortColumn;
|
|
30
|
+
direction: SortDirection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import clsx from 'clsx';
|
|
2
|
+
import Heading from '@theme/Heading';
|
|
3
|
+
import styles from './styles.module.css';
|
|
4
|
+
import { useEffect } from 'react';
|
|
5
|
+
|
|
6
|
+
type FeatureItem = {
|
|
7
|
+
title: string;
|
|
8
|
+
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
|
|
9
|
+
description: JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const FeatureList: FeatureItem[] = [
|
|
13
|
+
{
|
|
14
|
+
title: 'Easy to Use',
|
|
15
|
+
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
|
16
|
+
description: (
|
|
17
|
+
<>
|
|
18
|
+
Docusaurus was designed from the ground up to be easily installed and
|
|
19
|
+
used to get your website up and running quickly.
|
|
20
|
+
</>
|
|
21
|
+
),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: 'Focus on What Matters',
|
|
25
|
+
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
|
26
|
+
description: (
|
|
27
|
+
<>
|
|
28
|
+
Docusaurus lets you focus on your docs, and we'll do the chores. Go
|
|
29
|
+
ahead and move your docs into the <code>docs</code> directory.
|
|
30
|
+
</>
|
|
31
|
+
),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
title: 'Powered by React',
|
|
35
|
+
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
|
36
|
+
description: (
|
|
37
|
+
<>
|
|
38
|
+
Extend or customize your website layout by reusing React. Docusaurus can
|
|
39
|
+
be extended while reusing the same header and footer.
|
|
40
|
+
</>
|
|
41
|
+
),
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
function Feature({title, Svg, description}: FeatureItem) {
|
|
46
|
+
return (
|
|
47
|
+
<div className={clsx('col col--4')}>
|
|
48
|
+
<div className="text--center">
|
|
49
|
+
<Svg className={styles.featureSvg} role="img" />
|
|
50
|
+
</div>
|
|
51
|
+
<div className="text--center padding-horiz--md">
|
|
52
|
+
<Heading as="h3">{title}</Heading>
|
|
53
|
+
<p>{description}</p>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export default function HomepageFeatures(): JSX.Element {
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
(async () => {
|
|
62
|
+
const { default: mermaid } = await import('mermaid');
|
|
63
|
+
mermaid.initialize({ startOnLoad: true });
|
|
64
|
+
})();
|
|
65
|
+
}, []);
|
|
66
|
+
return (
|
|
67
|
+
<section className={styles.features}>
|
|
68
|
+
<div className="container">
|
|
69
|
+
<div className="row">
|
|
70
|
+
{FeatureList.map((props, idx) => (
|
|
71
|
+
<Feature key={idx} {...props} />
|
|
72
|
+
))}
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</section>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Any CSS included here will be global. The classic template
|
|
3
|
+
* bundles Infima by default. Infima is a CSS framework designed to
|
|
4
|
+
* work well for content-centric websites.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* You can override the default Infima variables here. */
|
|
8
|
+
:root {
|
|
9
|
+
--ifm-color-primary: #2e8555;
|
|
10
|
+
--ifm-color-primary-dark: #29784c;
|
|
11
|
+
--ifm-color-primary-darker: #277148;
|
|
12
|
+
--ifm-color-primary-darkest: #205d3b;
|
|
13
|
+
--ifm-color-primary-light: #33925d;
|
|
14
|
+
--ifm-color-primary-lighter: #359962;
|
|
15
|
+
--ifm-color-primary-lightest: #3cad6e;
|
|
16
|
+
--ifm-code-font-size: 95%;
|
|
17
|
+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
|
21
|
+
[data-theme='dark'] {
|
|
22
|
+
--ifm-color-primary: #25c2a0;
|
|
23
|
+
--ifm-color-primary-dark: #21af90;
|
|
24
|
+
--ifm-color-primary-darker: #1fa588;
|
|
25
|
+
--ifm-color-primary-darkest: #1a8870;
|
|
26
|
+
--ifm-color-primary-light: #29d5b0;
|
|
27
|
+
--ifm-color-primary-lighter: #32d8b4;
|
|
28
|
+
--ifm-color-primary-lightest: #4fddbf;
|
|
29
|
+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
|
30
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSS files with the .module.css suffix will be treated as CSS modules
|
|
3
|
+
* and scoped locally.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.heroBanner {
|
|
7
|
+
padding: 4rem 0;
|
|
8
|
+
text-align: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media screen and (max-width: 996px) {
|
|
14
|
+
.heroBanner {
|
|
15
|
+
padding: 2rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.buttons {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import clsx from 'clsx';
|
|
2
|
+
import Link from '@docusaurus/Link';
|
|
3
|
+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
4
|
+
import Layout from '@theme/Layout';
|
|
5
|
+
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
|
6
|
+
import Heading from '@theme/Heading';
|
|
7
|
+
|
|
8
|
+
import styles from './index.module.css';
|
|
9
|
+
|
|
10
|
+
function HomepageHeader() {
|
|
11
|
+
const {siteConfig} = useDocusaurusContext();
|
|
12
|
+
return (
|
|
13
|
+
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
|
14
|
+
<div className="container">
|
|
15
|
+
<Heading as="h1" className="hero__title">
|
|
16
|
+
{siteConfig.title}
|
|
17
|
+
</Heading>
|
|
18
|
+
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
|
19
|
+
<div className={styles.buttons}>
|
|
20
|
+
<Link
|
|
21
|
+
className="button button--secondary button--lg"
|
|
22
|
+
to="/docs/intro">
|
|
23
|
+
Ver resumen del contexto
|
|
24
|
+
</Link>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</header>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default function Home(): JSX.Element {
|
|
32
|
+
const {siteConfig} = useDocusaurusContext();
|
|
33
|
+
return (
|
|
34
|
+
<Layout
|
|
35
|
+
title={`Hello from ${siteConfig.title}`}
|
|
36
|
+
description="Description will go into a meta tag in <head />">
|
|
37
|
+
<HomepageHeader />
|
|
38
|
+
{/* <main>
|
|
39
|
+
<HomepageFeatures />
|
|
40
|
+
</main> */}
|
|
41
|
+
</Layout>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M99 52h84v34H99z"/><path d="M23 163c-7.398 0-13.843-4.027-17.303-10A19.886 19.886 0 0 0 3 163c0 11.046 8.954 20 20 20h20v-20H23z" fill="#3ECC5F"/><path d="M112.98 57.376L183 53V43c0-11.046-8.954-20-20-20H73l-2.5-4.33c-1.112-1.925-3.889-1.925-5 0L63 23l-2.5-4.33c-1.111-1.925-3.889-1.925-5 0L53 23l-2.5-4.33c-1.111-1.925-3.889-1.925-5 0L43 23c-.022 0-.042.003-.065.003l-4.142-4.141c-1.57-1.571-4.252-.853-4.828 1.294l-1.369 5.104-5.192-1.392c-2.148-.575-4.111 1.389-3.535 3.536l1.39 5.193-5.102 1.367c-2.148.576-2.867 3.259-1.296 4.83l4.142 4.142c0 .021-.003.042-.003.064l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 53l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 63l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 73l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 83l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 93l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 103l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 113l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 123l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 133l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 143l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 153l-4.33 2.5c-1.925 1.111-1.925 3.889 0 5L23 163c0 11.046 8.954 20 20 20h120c11.046 0 20-8.954 20-20V83l-70.02-4.376A10.645 10.645 0 0 1 103 68c0-5.621 4.37-10.273 9.98-10.624" fill="#3ECC5F"/><path fill="#3ECC5F" d="M143 183h30v-40h-30z"/><path d="M193 158c-.219 0-.428.037-.639.064-.038-.15-.074-.301-.116-.451A5 5 0 0 0 190.32 148a4.96 4.96 0 0 0-3.016 1.036 26.531 26.531 0 0 0-.335-.336 4.955 4.955 0 0 0 1.011-2.987 5 5 0 0 0-9.599-1.959c-.148-.042-.297-.077-.445-.115.027-.211.064-.42.064-.639a5 5 0 0 0-5-5 5 5 0 0 0-5 5c0 .219.037.428.064.639-.148.038-.297.073-.445.115a4.998 4.998 0 0 0-9.599 1.959c0 1.125.384 2.151 1.011 2.987-3.717 3.632-6.031 8.693-6.031 14.3 0 11.046 8.954 20 20 20 9.339 0 17.16-6.41 19.361-15.064.211.027.42.064.639.064a5 5 0 0 0 5-5 5 5 0 0 0-5-5" fill="#44D860"/><path fill="#3ECC5F" d="M153 123h30v-20h-30z"/><path d="M193 115.5a2.5 2.5 0 1 0 0-5c-.109 0-.214.019-.319.032-.02-.075-.037-.15-.058-.225a2.501 2.501 0 0 0-.963-4.807c-.569 0-1.088.197-1.508.518a6.653 6.653 0 0 0-.168-.168c.314-.417.506-.931.506-1.494a2.5 2.5 0 0 0-4.8-.979A9.987 9.987 0 0 0 183 103c-5.522 0-10 4.478-10 10s4.478 10 10 10c.934 0 1.833-.138 2.69-.377a2.5 2.5 0 0 0 4.8-.979c0-.563-.192-1.077-.506-1.494.057-.055.113-.111.168-.168.42.321.939.518 1.508.518a2.5 2.5 0 0 0 .963-4.807c.021-.074.038-.15.058-.225.105.013.21.032.319.032" fill="#44D860"/><path d="M63 55.5a2.5 2.5 0 0 1-2.5-2.5c0-4.136-3.364-7.5-7.5-7.5s-7.5 3.364-7.5 7.5a2.5 2.5 0 1 1-5 0c0-6.893 5.607-12.5 12.5-12.5S65.5 46.107 65.5 53a2.5 2.5 0 0 1-2.5 2.5" fill="#000"/><path d="M103 183h60c11.046 0 20-8.954 20-20V93h-60c-11.046 0-20 8.954-20 20v70z" fill="#FFFF50"/><path d="M168.02 124h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2m0 20h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2m0 20h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2m0-49.814h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2m0 19.814h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2m0 20h-50.04a1 1 0 1 1 0-2h50.04a1 1 0 1 1 0 2M183 61.611c-.012 0-.022-.006-.034-.005-3.09.105-4.552 3.196-5.842 5.923-1.346 2.85-2.387 4.703-4.093 4.647-1.889-.068-2.969-2.202-4.113-4.46-1.314-2.594-2.814-5.536-5.963-5.426-3.046.104-4.513 2.794-5.807 5.167-1.377 2.528-2.314 4.065-4.121 3.994-1.927-.07-2.951-1.805-4.136-3.813-1.321-2.236-2.848-4.75-5.936-4.664-2.994.103-4.465 2.385-5.763 4.4-1.373 2.13-2.335 3.428-4.165 3.351-1.973-.07-2.992-1.51-4.171-3.177-1.324-1.873-2.816-3.993-5.895-3.89-2.928.1-4.399 1.97-5.696 3.618-1.232 1.564-2.194 2.802-4.229 2.724a1 1 0 0 0-.072 2c3.017.101 4.545-1.8 5.872-3.487 1.177-1.496 2.193-2.787 4.193-2.855 1.926-.082 2.829 1.115 4.195 3.045 1.297 1.834 2.769 3.914 5.731 4.021 3.103.104 4.596-2.215 5.918-4.267 1.182-1.834 2.202-3.417 4.15-3.484 1.793-.067 2.769 1.35 4.145 3.681 1.297 2.197 2.766 4.686 5.787 4.796 3.125.108 4.634-2.62 5.949-5.035 1.139-2.088 2.214-4.06 4.119-4.126 1.793-.042 2.728 1.595 4.111 4.33 1.292 2.553 2.757 5.445 5.825 5.556l.169.003c3.064 0 4.518-3.075 5.805-5.794 1.139-2.41 2.217-4.68 4.067-4.773v-2z" fill="#000"/><path fill="#3ECC5F" d="M83 183h40v-40H83z"/><path d="M143 158c-.219 0-.428.037-.639.064-.038-.15-.074-.301-.116-.451A5 5 0 0 0 140.32 148a4.96 4.96 0 0 0-3.016 1.036 26.531 26.531 0 0 0-.335-.336 4.955 4.955 0 0 0 1.011-2.987 5 5 0 0 0-9.599-1.959c-.148-.042-.297-.077-.445-.115.027-.211.064-.42.064-.639a5 5 0 0 0-5-5 5 5 0 0 0-5 5c0 .219.037.428.064.639-.148.038-.297.073-.445.115a4.998 4.998 0 0 0-9.599 1.959c0 1.125.384 2.151 1.011 2.987-3.717 3.632-6.031 8.693-6.031 14.3 0 11.046 8.954 20 20 20 9.339 0 17.16-6.41 19.361-15.064.211.027.42.064.639.064a5 5 0 0 0 5-5 5 5 0 0 0-5-5" fill="#44D860"/><path fill="#3ECC5F" d="M83 123h40v-20H83z"/><path d="M133 115.5a2.5 2.5 0 1 0 0-5c-.109 0-.214.019-.319.032-.02-.075-.037-.15-.058-.225a2.501 2.501 0 0 0-.963-4.807c-.569 0-1.088.197-1.508.518a6.653 6.653 0 0 0-.168-.168c.314-.417.506-.931.506-1.494a2.5 2.5 0 0 0-4.8-.979A9.987 9.987 0 0 0 123 103c-5.522 0-10 4.478-10 10s4.478 10 10 10c.934 0 1.833-.138 2.69-.377a2.5 2.5 0 0 0 4.8-.979c0-.563-.192-1.077-.506-1.494.057-.055.113-.111.168-.168.42.321.939.518 1.508.518a2.5 2.5 0 0 0 .963-4.807c.021-.074.038-.15.058-.225.105.013.21.032.319.032" fill="#44D860"/><path d="M143 41.75c-.16 0-.33-.02-.49-.05a2.52 2.52 0 0 1-.47-.14c-.15-.06-.29-.14-.431-.23-.13-.09-.259-.2-.38-.31-.109-.12-.219-.24-.309-.38s-.17-.28-.231-.43a2.619 2.619 0 0 1-.189-.96c0-.16.02-.33.05-.49.03-.16.08-.31.139-.47.061-.15.141-.29.231-.43.09-.13.2-.26.309-.38.121-.11.25-.22.38-.31.141-.09.281-.17.431-.23.149-.06.31-.11.47-.14.32-.07.65-.07.98 0 .159.03.32.08.47.14.149.06.29.14.43.23.13.09.259.2.38.31.11.12.22.25.31.38.09.14.17.28.23.43.06.16.11.31.14.47.029.16.05.33.05.49 0 .66-.271 1.31-.73 1.77-.121.11-.25.22-.38.31-.14.09-.281.17-.43.23a2.565 2.565 0 0 1-.96.19m20-1.25c-.66 0-1.3-.27-1.771-.73a3.802 3.802 0 0 1-.309-.38c-.09-.14-.17-.28-.231-.43a2.619 2.619 0 0 1-.189-.96c0-.66.27-1.3.729-1.77.121-.11.25-.22.38-.31.141-.09.281-.17.431-.23.149-.06.31-.11.47-.14.32-.07.66-.07.98 0 .159.03.32.08.47.14.149.06.29.14.43.23.13.09.259.2.38.31.459.47.73 1.11.73 1.77 0 .16-.021.33-.05.49-.03.16-.08.32-.14.47-.07.15-.14.29-.23.43-.09.13-.2.26-.31.38-.121.11-.25.22-.38.31-.14.09-.281.17-.43.23a2.565 2.565 0 0 1-.96.19" fill="#000"/></g></svg>
|
|
Binary file
|