Skip to content

Commit

Permalink
Merge pull request #30 from Appsilon/add-reactable-extras
Browse files Browse the repository at this point in the history
chore: Add reactable.extras
  • Loading branch information
jakubnowicki authored Nov 24, 2023
2 parents 352f036 + bd83115 commit b7578ab
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 8 deletions.
7 changes: 7 additions & 0 deletions app/scripts/contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ export const addContributors = () => {
{'img': '83692505', 'profile': 'github.com/rszymanski', 'credit': 'Author & Maintainer'},
{'img': '110383037', 'profile': 'github.com/vibalre', 'credit': 'Author'},
{'img': '24652240', 'profile': 'appsilon.github.io/shiny.emptystate/authors.html', 'credit': 'More Contributors'}
],
'reactable.extras': [
{'img': '110383037', 'profile': 'github.com/vibalre', 'credit': 'Author & Maintainer'},
{'img': '26137289', 'profile': 'github.com/vanhry', 'credit': 'Author'},
{'img': '51521150', 'profile': 'github.com/andyquinterom', 'credit': 'Author'},
{'img': '44022548', 'profile': 'github.com/pedrocoutinhosilva', 'credit': 'Author'},
{'img': '24652240', 'profile': 'appsilon.github.io/reactable.extras/authors.html', 'credit': 'More Contributors'}
]
};

Expand Down
17 changes: 11 additions & 6 deletions app/scripts/hexData.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,16 @@ const _G = {
library: 'shiny-telemetry',
title: 'shiny.telemetry'
};
// shiny.telemetry
// shiny.emptystate
const _J = {
library: 'shiny-emptystate',
title: 'shiny.emptystate'
};
// reactable.extras
const _M = {
library: 'reactable-extras',
title: 'reactable.extras'
};
// Text cell
const _X = {
text: 'Welcome to the world of ...'
Expand All @@ -108,7 +113,7 @@ const _T = {
export const hexXl = [
[ [4,_A], [3,__], [2,__], [1,__], [0,__], [0,__], [0,__], [0,__], [0,__] ],
[ [2,__], [2,__], [1,__], [1,__], [0,_L], [1,_H], [1,_B], [0,__], [1,_J], [0,__] ],
[ [0,__], [1,__], [0,__], [0,__], [1,_S], [2,_C], [2,_F], [2,_E], [2,__] ],
[ [0,__], [1,__], [0,__], [0,__], [1,_S], [2,_C], [2,_F], [2,_E], [2,_M] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [2,_W], [2,_R], [3,_V], [4,_G], [4,__] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [2,_D], [3,_I], [4,_N], [4,__] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [1,__], [1,__], [3,__], [4,__], [4,__] ],
Expand All @@ -124,7 +129,7 @@ export const hexLg = [
[ [1,__], [0,__], [0,__], [1,_S], [2,_C], [2,_F], [2,_E] ],
[ [0,__], [0,__], [0,__], [0,__], [2,_W], [2,_R], [3,_V], [4,__] ],
[ [0,__], [0,__], [0,__], [0,__], [2,_D], [3,_I], [4,_N] ],
[ [0,__], [0,__], [0,__], [0,__], [1,__], [2,_G], [3,_J], [4,__] ],
[ [0,__], [0,__], [0,__], [0,__], [1,_M], [2,_G], [3,_J], [4,__] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [1,__], [2,__] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [0,__], [0,__], [0,__] ]
];
Expand All @@ -138,7 +143,7 @@ export const hexMd = [
[ [0,__], [0,__], [0,__], [1,_V], [2,_D], [3,_I] ],
[ [0,__], [0,__], [0,__], [0,__], [1,_E], [2,_N], [3,__] ],
[ [0,__], [0,__], [0,__], [0,__], [1,_G], [1,_J] ],
[ [0,__], [0,__], [0,__], [0,__], [0,__], [0,__], [0,__] ]
[ [0,__], [0,__], [0,__], [0,__], [0,__], [1,_M], [0,__] ]
];

// Layout for small tablet / big mobile screens
Expand All @@ -153,7 +158,7 @@ export const hexSm = [
[ [2,__], [2,_W], [2,_R], [3,_V], [4,__] ],
[ [2,__], [2,_D], [3,_I], [4,__] ],
[ [2,__], [2,_E], [2,_N], [3,_B], [4,__] ],
[ [2,__], [2,_G], [3,_J], [4,__] ],
[ [2,_M], [2,_G], [3,_J], [4,__] ],
[ [3,__], [3,__], [4,__], [4,__], [4,__] ]
];

Expand All @@ -172,5 +177,5 @@ export const hexXs = [
[ [3,__], [3,_N], [4,__] ],
[ [4,__], [4,_B], [4,_E], [4,__] ],
[ [4,__], [4,_G], [4,__] ],
[ [4,__], [4,_J], [4,__], [4,__] ]
[ [4,__], [4,_J], [4,_M], [4,__] ]
];
11 changes: 11 additions & 0 deletions app/scripts/libraries.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,16 @@ export const libraries = [
'repoLink': 'https://github.com/Appsilon/shiny.emptystate/',
'demoLink': 'https://connect.appsilon.com/shiny-emptystate-demo/',
'docsLink': 'https://appsilon.github.io/shiny.emptystate/'
},
{
'id': 'reactable-extras',
'heading': 'reactable.extras',
'paragraphs': [
'Extra features for reactable package.',
'Enhances the functionality of the reactable package in Shiny applications. Reactable tables are interactive customizable, and reactable.extras extend their capabilities, allowing you to create dynamic and interactive data tables with ease.'
],
'repoLink': 'https://github.com/Appsilon/reactable.extras/',
'demoLink': '',
'docsLink': 'https://appsilon.github.io/reactable.extras/'
}
]
1 change: 1 addition & 0 deletions app/styles/modules/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $color-shiny-benchmark: #B30928;
$color-shiny-blueprint: #4673B6;
$color-shiny-telemetry: #205238;
$color-shiny-emptystate: #4E700A;
$color-reactable-extras: #373C6E;

$menu-transition: 0.3s;
$hover-transition: 0.15s;
Expand Down
3 changes: 2 additions & 1 deletion app/styles/partials/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ $packages: (
'shiny-benchmark': $color-shiny-benchmark,
'shiny-blueprint': $color-shiny-blueprint,
'shiny-telemetry': $color-shiny-telemetry,
'shiny-emptystate': $color-shiny-emptystate
'shiny-emptystate': $color-shiny-emptystate,
'reactable-extras': $color-reactable-extras
);

.hex-grid {
Expand Down
4 changes: 3 additions & 1 deletion app/styles/partials/_info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ $packages: (
'shiny-benchmark': $color-shiny-benchmark,
'shiny-blueprint': $color-shiny-blueprint,
'shiny-telemetry': $color-shiny-telemetry,
'shiny-emptystate': $color-shiny-emptystate
'shiny-emptystate': $color-shiny-emptystate,
'reactable-extras': $color-reactable-extras
);

.contributors img {
Expand Down Expand Up @@ -95,6 +96,7 @@ $packages: (
&--shiny-blueprint { background-color: $color-shiny-blueprint; }
&--shiny-telemetry { background-color: $color-shiny-telemetry; }
&--shiny-emptystate { background-color: $color-shiny-emptystate; }
&--reactable-extras { background-color: $color-reactable-extras; }

@media only screen and (min-width: $media-md) {
background: none;
Expand Down
57 changes: 57 additions & 0 deletions static/svg/reactable-extras.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7578ab

Please sign in to comment.