@happeouikit/content-renderer 3.2.11 → 3.2.12
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.js +14 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +14 -10
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -3
package/dist/index.es.js
CHANGED
|
@@ -5359,10 +5359,13 @@ const ni = ai(), ii = new RegExp(rt, "gi"), ui = new RegExp(
|
|
|
5359
5359
|
width: 100%;
|
|
5360
5360
|
margin: var(--space-md) 0;
|
|
5361
5361
|
text-align: left;
|
|
5362
|
-
border-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5362
|
+
border-collapse: collapse; // doubles internal borders, but needed to allow more customization
|
|
5363
|
+
thead th {
|
|
5364
|
+
background: rgba(0, 0, 0, 0.1);
|
|
5365
|
+
}
|
|
5366
|
+
th,
|
|
5367
|
+
td {
|
|
5368
|
+
padding: 0.5em;
|
|
5366
5369
|
border: 0.5px solid rgba(0, 0, 0, 0.12);
|
|
5367
5370
|
&.fr-selected-cell {
|
|
5368
5371
|
border: 0.5px solid var(--color-active-primary);
|
|
@@ -5392,19 +5395,20 @@ const ni = ai(), ii = new RegExp(rt, "gi"), ui = new RegExp(
|
|
|
5392
5395
|
}
|
|
5393
5396
|
// to "cancel" the separate borders style, we halve all borders to 0.5px
|
|
5394
5397
|
// but override with 1px for external borders
|
|
5395
|
-
&
|
|
5398
|
+
& {
|
|
5396
5399
|
tr:first-child > td { border-top-width: 1px; }
|
|
5397
5400
|
tr:last-child > td { border-bottom-width: 1px; }
|
|
5398
5401
|
tr > td:first-child { border-left-width: 1px; }
|
|
5399
5402
|
tr > td:last-child { border-right-width: 1px; }
|
|
5400
5403
|
}
|
|
5401
|
-
&.invisible-borders
|
|
5404
|
+
&.invisible-borders {
|
|
5405
|
+
th:not(.fr-selected-cell),
|
|
5402
5406
|
td:not(.fr-selected-cell) {
|
|
5403
5407
|
// keeping a transparent border so that selection doesn't push things by 1 pixel
|
|
5404
5408
|
border: 1px dashed transparent;
|
|
5405
5409
|
}
|
|
5406
5410
|
}
|
|
5407
|
-
&.alternating-rows
|
|
5411
|
+
&.alternating-rows {
|
|
5408
5412
|
tr:nth-child(odd) {
|
|
5409
5413
|
background: rgba(255, 255, 255, 0.05);
|
|
5410
5414
|
}
|
|
@@ -5412,7 +5416,7 @@ const ni = ai(), ii = new RegExp(rt, "gi"), ui = new RegExp(
|
|
|
5412
5416
|
background: rgba(0, 0, 0, 0.05);
|
|
5413
5417
|
}
|
|
5414
5418
|
}
|
|
5415
|
-
&.round-corners
|
|
5419
|
+
&.round-corners {
|
|
5416
5420
|
tr:first-child { border-radius: 6px 6px 0 0; }
|
|
5417
5421
|
tr:first-child > td:first-child { border-top-left-radius: 6px; }
|
|
5418
5422
|
tr:first-child > td:last-child { border-top-right-radius: 6px; }
|
|
@@ -5420,12 +5424,12 @@ const ni = ai(), ii = new RegExp(rt, "gi"), ui = new RegExp(
|
|
|
5420
5424
|
tr:last-child > td:first-child { border-bottom-left-radius: 6px; }
|
|
5421
5425
|
tr:last-child > td:last-child { border-bottom-right-radius: 6px; }
|
|
5422
5426
|
}
|
|
5423
|
-
&.highlight-first-row
|
|
5427
|
+
&.highlight-first-row {
|
|
5424
5428
|
tr:first-child > td {
|
|
5425
5429
|
font-weight: bold;
|
|
5426
5430
|
}
|
|
5427
5431
|
}
|
|
5428
|
-
&.highlight-first-column
|
|
5432
|
+
&.highlight-first-column {
|
|
5429
5433
|
tr > td:first-child {
|
|
5430
5434
|
font-weight: bold;
|
|
5431
5435
|
}
|