anentrypoint-design 0.0.244 → 0.0.246
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/app-shell.css +10 -9
- package/dist/247420.css +15 -14
- package/dist/247420.js +17 -15
- package/dist/index.html +49 -38
- package/package.json +1 -1
- package/src/components/content.js +112 -0
- package/src/components.js +2 -2
- package/src/html-escape.js +31 -0
- package/src/index.js +8 -3
- package/src/markdown.js +7 -7
- package/src/page-html.js +17 -6
package/app-shell.css
CHANGED
|
@@ -832,22 +832,23 @@ a.row { text-decoration: none; }
|
|
|
832
832
|
}
|
|
833
833
|
.cli .copy:hover { background: var(--fg-3); }
|
|
834
834
|
|
|
835
|
-
/* Multi-line CLI block: when .cli holds .cli-
|
|
836
|
-
(quickstart scripts, multi-command snippets
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
.cli:has(.cli-
|
|
835
|
+
/* Multi-line CLI block: when .cli holds .ds-cli-row / .ds-cli-comment children
|
|
836
|
+
(quickstart scripts, multi-command snippets — see CliBlock in
|
|
837
|
+
src/components/content.js) it stacks as a column instead of the
|
|
838
|
+
single-line install row. */
|
|
839
|
+
.cli:has(.ds-cli-row),
|
|
840
|
+
.cli:has(.ds-cli-comment) {
|
|
840
841
|
flex-direction: column; align-items: stretch; gap: 0;
|
|
841
842
|
font-size: var(--fs-sm); line-height: 1.6;
|
|
842
843
|
}
|
|
843
|
-
.cli-
|
|
844
|
+
.ds-cli-row {
|
|
844
845
|
display: flex; gap: 10px;
|
|
845
846
|
font-family: var(--ff-mono); font-size: 13px; line-height: 1.6;
|
|
846
847
|
padding: 3px 0;
|
|
847
848
|
}
|
|
848
|
-
.cli-
|
|
849
|
-
.cli-
|
|
850
|
-
.cli-
|
|
849
|
+
.ds-cli-row .prompt { color: var(--green-2); flex: 0 0 auto; user-select: none; }
|
|
850
|
+
.ds-cli-row .cmd { flex: 1 1 auto; white-space: pre-wrap; word-break: break-word; color: var(--paper); }
|
|
851
|
+
.ds-cli-comment {
|
|
851
852
|
color: var(--fg-3);
|
|
852
853
|
font-family: var(--ff-mono); font-size: var(--fs-tiny); line-height: 1.6;
|
|
853
854
|
padding: 3px 0; white-space: pre-wrap; word-break: break-word;
|
package/dist/247420.css
CHANGED
|
@@ -1330,22 +1330,23 @@
|
|
|
1330
1330
|
}
|
|
1331
1331
|
.ds-247420 .cli .copy:hover { background: var(--fg-3); }
|
|
1332
1332
|
|
|
1333
|
-
/* Multi-line CLI block: when .cli holds .cli-
|
|
1334
|
-
(quickstart scripts, multi-command snippets
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
.ds-247420 .cli:has(.cli-
|
|
1333
|
+
/* Multi-line CLI block: when .cli holds .ds-cli-row / .ds-cli-comment children
|
|
1334
|
+
(quickstart scripts, multi-command snippets — see CliBlock in
|
|
1335
|
+
src/components/content.js) it stacks as a column instead of the
|
|
1336
|
+
single-line install row. */
|
|
1337
|
+
.ds-247420 .cli:has(.ds-cli-row),
|
|
1338
|
+
.ds-247420 .cli:has(.ds-cli-comment) {
|
|
1338
1339
|
flex-direction: column; align-items: stretch; gap: 0;
|
|
1339
1340
|
font-size: var(--fs-sm); line-height: 1.6;
|
|
1340
1341
|
}
|
|
1341
|
-
.ds-247420 .cli-
|
|
1342
|
+
.ds-247420 .ds-cli-row {
|
|
1342
1343
|
display: flex; gap: 10px;
|
|
1343
1344
|
font-family: var(--ff-mono); font-size: 13px; line-height: 1.6;
|
|
1344
1345
|
padding: 3px 0;
|
|
1345
1346
|
}
|
|
1346
|
-
.ds-247420 .cli-
|
|
1347
|
-
.ds-247420 .cli-
|
|
1348
|
-
.ds-247420 .cli-
|
|
1347
|
+
.ds-247420 .ds-cli-row .prompt { color: var(--green-2); flex: 0 0 auto; user-select: none; }
|
|
1348
|
+
.ds-247420 .ds-cli-row .cmd { flex: 1 1 auto; white-space: pre-wrap; word-break: break-word; color: var(--paper); }
|
|
1349
|
+
.ds-247420 .ds-cli-comment {
|
|
1349
1350
|
color: var(--fg-3);
|
|
1350
1351
|
font-family: var(--ff-mono); font-size: var(--fs-tiny); line-height: 1.6;
|
|
1351
1352
|
padding: 3px 0; white-space: pre-wrap; word-break: break-word;
|
|
@@ -9136,7 +9137,7 @@
|
|
|
9136
9137
|
white-space: pre-wrap;
|
|
9137
9138
|
word-break: break-word;
|
|
9138
9139
|
}
|
|
9139
|
-
.ds-247420 .cli .cli-
|
|
9140
|
+
.ds-247420 .cli .ds-cli-comment {
|
|
9140
9141
|
color: var(--panel-text-3);
|
|
9141
9142
|
white-space: pre-wrap;
|
|
9142
9143
|
word-break: break-word;
|
|
@@ -9144,20 +9145,20 @@
|
|
|
9144
9145
|
padding: 3px 0;
|
|
9145
9146
|
line-height: 1.6;
|
|
9146
9147
|
}
|
|
9147
|
-
.ds-247420 .cli .cli-
|
|
9148
|
-
.ds-247420 .cli .cli-
|
|
9148
|
+
.ds-247420 .cli .ds-cli-comment:empty::before { content: '\00a0'; }
|
|
9149
|
+
.ds-247420 .cli .ds-cli-row {
|
|
9149
9150
|
display: flex;
|
|
9150
9151
|
gap: 10px;
|
|
9151
9152
|
padding: 3px 0;
|
|
9152
9153
|
white-space: pre-wrap;
|
|
9153
9154
|
word-break: break-word;
|
|
9154
9155
|
}
|
|
9155
|
-
.ds-247420 .cli .cli-
|
|
9156
|
+
.ds-247420 .cli .ds-cli-row .prompt {
|
|
9156
9157
|
color: var(--panel-accent);
|
|
9157
9158
|
flex: 0 0 auto;
|
|
9158
9159
|
user-select: none;
|
|
9159
9160
|
}
|
|
9160
|
-
.ds-247420 .cli .cli-
|
|
9161
|
+
.ds-247420 .cli .ds-cli-row .cmd {
|
|
9161
9162
|
color: var(--panel-text);
|
|
9162
9163
|
flex: 1 1 auto;
|
|
9163
9164
|
white-space: pre-wrap;
|