@helpway/react 0.11.0 → 0.12.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/dist/index.d.ts +12 -13
- package/dist/index.js +72 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/themed/styles.css +38 -1
package/package.json
CHANGED
package/src/themed/styles.css
CHANGED
|
@@ -3341,7 +3341,8 @@
|
|
|
3341
3341
|
display: none;
|
|
3342
3342
|
}
|
|
3343
3343
|
|
|
3344
|
-
.hw-markdown ul
|
|
3344
|
+
.hw-markdown ul,
|
|
3345
|
+
.hw-markdown ol {
|
|
3345
3346
|
margin: 0;
|
|
3346
3347
|
padding-left: 20px;
|
|
3347
3348
|
}
|
|
@@ -3358,6 +3359,42 @@
|
|
|
3358
3359
|
border-radius: 4px;
|
|
3359
3360
|
}
|
|
3360
3361
|
|
|
3362
|
+
/* ═══ Markdown table — emitted by renderMarkdown for | pipe | blocks ═══
|
|
3363
|
+
Used in both article bodies (.hw-markdown) and AI/team message bubbles
|
|
3364
|
+
(.hw-msg-bubble); classes live on the table itself so one rule set
|
|
3365
|
+
covers both. Wrapper provides horizontal scroll for wide tables. */
|
|
3366
|
+
.hw-table-wrap {
|
|
3367
|
+
margin: 10px 0;
|
|
3368
|
+
overflow-x: auto;
|
|
3369
|
+
border: 1px solid var(--hw-border, rgba(0, 0, 0, 0.08));
|
|
3370
|
+
border-radius: 10px;
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
.hw-table {
|
|
3374
|
+
width: 100%;
|
|
3375
|
+
border-collapse: collapse;
|
|
3376
|
+
font-size: 13px;
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
.hw-table th {
|
|
3380
|
+
text-align: left;
|
|
3381
|
+
font-weight: 600;
|
|
3382
|
+
font-size: 12px;
|
|
3383
|
+
padding: 8px 12px;
|
|
3384
|
+
background: var(--hw-bg-hover, #f5f5f4);
|
|
3385
|
+
border-bottom: 1px solid var(--hw-border, rgba(0, 0, 0, 0.08));
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
.hw-table td {
|
|
3389
|
+
padding: 8px 12px;
|
|
3390
|
+
border-bottom: 1px solid var(--hw-border, rgba(0, 0, 0, 0.06));
|
|
3391
|
+
vertical-align: top;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
.hw-table tbody tr:last-child td {
|
|
3395
|
+
border-bottom: none;
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3361
3398
|
/* ═══ Code block card — header (lang + copy) + body ═══
|
|
3362
3399
|
Emitted by renderMarkdown for every triple-backtick fence.
|
|
3363
3400
|
Designed to match the Better i18n docs look: subtle header bar,
|