@scrider/formatter 1.10.5 → 1.10.6
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3357,7 +3357,7 @@ function headingPolicyStyleParts(tag, blockAttributes, policy) {
|
|
|
3357
3357
|
|
|
3358
3358
|
// src/conversion/html/table-presentation.ts
|
|
3359
3359
|
var TABLE_BORDER_COLOR = "#e7e7e7";
|
|
3360
|
-
var TABLE_HEADER_BG = "#
|
|
3360
|
+
var TABLE_HEADER_BG = "#e9ecef";
|
|
3361
3361
|
var TABLE_ZEBRA_BG = "#f6f8fa";
|
|
3362
3362
|
var DEFAULT_BORDER_COLOR = TABLE_BORDER_COLOR;
|
|
3363
3363
|
var DEFAULT_HEADER_BG = TABLE_HEADER_BG;
|
|
@@ -3375,8 +3375,8 @@ function resolveTablePresentation(presentation) {
|
|
|
3375
3375
|
defaultCellAlign: presentation?.defaultCellAlign ?? "left"
|
|
3376
3376
|
};
|
|
3377
3377
|
}
|
|
3378
|
-
function isZebraBodyRow(
|
|
3379
|
-
return
|
|
3378
|
+
function isZebraBodyRow(_headerRowCount, bodyRowIndex) {
|
|
3379
|
+
return bodyRowIndex % 2 === 1;
|
|
3380
3380
|
}
|
|
3381
3381
|
function isTableCellAlign(value) {
|
|
3382
3382
|
return value === "left" || value === "center" || value === "right";
|