Skip to content

Commit

Permalink
Deploying to gh-pages from @ 99bae23 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 13, 2025
1 parent 8755cf4 commit ee0890b
Show file tree
Hide file tree
Showing 42 changed files with 1,662 additions and 1,661 deletions.
1 change: 1 addition & 0 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ <h2 class="anchored" data-anchor-id="development">Development</h2>
<li><code>save_tt("file.pdf")</code> works with colors. Thanks to <a href="https://github.com/olivedv"><span class="citation" data-cites="olivedv">@olivedv</span></a> for the report and solution <a href="https://github.com/vincentarelbundock/tinytable/issues/395">#395</a>.</li>
<li><code>group_tt(i=vec)</code>: <code>vec</code> can be a factor vector</li>
<li><code>style_tt(align="d")</code> with empty strings (<code>modelsummary::datasummary_balance()</code> test)</li>
<li><code>style_tt(line_color)</code> accepts Hex codes. Thanks to <a href="https://github.com/andrewheiss"><span class="citation" data-cites="andrewheiss">@andrewheiss</span></a> for report <a href="https://github.com/vincentarelbundock/tinytable/issues/415">#415</a>.</li>
<li><code>tt(rownames=TRUE)</code> should not add column names if they do not exist. Thanks to <a href="https://github.com/Nowosad"><span class="citation" data-cites="Nowosad">@Nowosad</span></a> for report <a href="https://github.com/vincentarelbundock/tinytable/issues/414">#414</a>.</li>
</ul>
<p>New:</p>
Expand Down
158 changes: 79 additions & 79 deletions man/format_tt.html

Large diffs are not rendered by default.

222 changes: 111 additions & 111 deletions man/group_tt.html

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions man/rbind2-tinytable-tinytable-method.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions man/theme_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_5jt2saypw87c98ed4yqf(i, j, css_id) {
var table = document.getElementById("tinytable_5jt2saypw87c98ed4yqf");
function styleCell_t6x1vz468j32zxvx4k27(i, j, css_id) {
var table = document.getElementById("tinytable_t6x1vz468j32zxvx4k27");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -605,16 +605,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_5jt2saypw87c98ed4yqf');
var table = document.getElementById('tinytable_t6x1vz468j32zxvx4k27');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_5jt2saypw87c98ed4yqf(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_5jt2saypw87c98ed4yqf");
function spanCell_t6x1vz468j32zxvx4k27(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_t6x1vz468j32zxvx4k27");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -644,26 +644,26 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 4, j: 0 }, { i: 0, j: 1 }, { i: 4, j: 1 }, { i: 0, j: 2 }, { i: 4, j: 2 }, { i: 0, j: 3 }, { i: 4, j: 3 }, ], css_id: 'tinytable_css_svxnhd64umdmkjht19d7',},
{ positions: [ { i: 1, j: 0 }, { i: 3, j: 0 }, { i: 1, j: 1 }, { i: 3, j: 1 }, { i: 1, j: 2 }, { i: 3, j: 2 }, { i: 1, j: 3 }, { i: 3, j: 3 }, ], css_id: 'tinytable_css_cydga7xmnd01z6yoq837',},
{ positions: [ { i: 1, j: 0 }, { i: 3, j: 0 }, { i: 1, j: 1 }, { i: 3, j: 1 }, { i: 1, j: 2 }, { i: 3, j: 2 }, { i: 1, j: 3 }, { i: 3, j: 3 }, ], css_id: 'tinytable_css_ywebawdwskmg71xzye3n',},
{ positions: [ { i: 0, j: 0 }, { i: 4, j: 0 }, { i: 0, j: 1 }, { i: 4, j: 1 }, { i: 0, j: 2 }, { i: 4, j: 2 }, { i: 0, j: 3 }, { i: 4, j: 3 }, ], css_id: 'tinytable_css_uopf4akddr4rkqqhdh8w',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_5jt2saypw87c98ed4yqf(cell.i, cell.j, group.css_id);
styleCell_t6x1vz468j32zxvx4k27(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_svxnhd64umdmkjht19d7, .table th.tinytable_css_svxnhd64umdmkjht19d7 { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_cydga7xmnd01z6yoq837, .table th.tinytable_css_cydga7xmnd01z6yoq837 { background-color: #ededed; }
.table td.tinytable_css_ywebawdwskmg71xzye3n, .table th.tinytable_css_ywebawdwskmg71xzye3n { background-color: #ededed; }
.table td.tinytable_css_uopf4akddr4rkqqhdh8w, .table th.tinytable_css_uopf4akddr4rkqqhdh8w { border-bottom: solid #d3d8dc 0.1em; }
</style>
<div class="container">
<table class="table table-striped" id="tinytable_5jt2saypw87c98ed4yqf" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-striped" id="tinytable_t6x1vz468j32zxvx4k27" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -710,8 +710,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_pzb4ulovofjeogijz8dy(i, j, css_id) {
var table = document.getElementById("tinytable_pzb4ulovofjeogijz8dy");
function styleCell_22qcd3nq1byjyzzhyyu9(i, j, css_id) {
var table = document.getElementById("tinytable_22qcd3nq1byjyzzhyyu9");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -721,16 +721,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_pzb4ulovofjeogijz8dy');
var table = document.getElementById('tinytable_22qcd3nq1byjyzzhyyu9');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_pzb4ulovofjeogijz8dy(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_pzb4ulovofjeogijz8dy");
function spanCell_22qcd3nq1byjyzzhyyu9(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_22qcd3nq1byjyzzhyyu9");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -760,28 +760,28 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_rtrwc9ag3pxvtuukbhnv',},
{ positions: [ { i: 1, j: 0 }, { i: 3, j: 0 }, { i: 1, j: 1 }, { i: 3, j: 1 }, { i: 1, j: 2 }, { i: 3, j: 2 }, { i: 1, j: 3 }, { i: 3, j: 3 }, ], css_id: 'tinytable_css_kubbl4tgn71pxi9vr7kj',},
{ positions: [ { i: 4, j: 0 }, { i: 4, j: 1 }, { i: 4, j: 2 }, { i: 4, j: 3 }, ], css_id: 'tinytable_css_54ag03kowldh5fuytd0a',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, ], css_id: 'tinytable_css_y7fv3yzs8vzmpnlhczub',},
{ positions: [ { i: 4, j: 0 }, { i: 4, j: 1 }, { i: 4, j: 2 }, { i: 4, j: 3 }, ], css_id: 'tinytable_css_404chl81qaiccxkstnb9',},
{ positions: [ { i: 1, j: 0 }, { i: 3, j: 0 }, { i: 1, j: 1 }, { i: 3, j: 1 }, { i: 1, j: 2 }, { i: 3, j: 2 }, { i: 1, j: 3 }, { i: 3, j: 3 }, ], css_id: 'tinytable_css_2zg5k04dibdotrvoe2nb',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_pzb4ulovofjeogijz8dy(cell.i, cell.j, group.css_id);
styleCell_22qcd3nq1byjyzzhyyu9(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_rtrwc9ag3pxvtuukbhnv, .table th.tinytable_css_rtrwc9ag3pxvtuukbhnv { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_kubbl4tgn71pxi9vr7kj, .table th.tinytable_css_kubbl4tgn71pxi9vr7kj { background-color: #ededed; }
.table td.tinytable_css_54ag03kowldh5fuytd0a, .table th.tinytable_css_54ag03kowldh5fuytd0a { border-bottom: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_y7fv3yzs8vzmpnlhczub, .table th.tinytable_css_y7fv3yzs8vzmpnlhczub { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_404chl81qaiccxkstnb9, .table th.tinytable_css_404chl81qaiccxkstnb9 { border-bottom: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_2zg5k04dibdotrvoe2nb, .table th.tinytable_css_2zg5k04dibdotrvoe2nb { background-color: #ededed; }
</style>
<div class="container">
<table class="table table-striped" id="tinytable_pzb4ulovofjeogijz8dy" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-striped" id="tinytable_22qcd3nq1byjyzzhyyu9" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down
Loading

0 comments on commit ee0890b

Please sign in to comment.