Skip to content

Commit

Permalink
Bundle own flatpickr fork (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 11, 2023
1 parent 7ae17fb commit 66cf1b6
Show file tree
Hide file tree
Showing 15 changed files with 166 additions and 73 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-unit.yml
Expand Up @@ -92,7 +92,7 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test --entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
mariadb:
image: mariadb
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test
options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test
postgres:
image: postgres:12-alpine
env:
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test --entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
mariadb:
image: mariadb
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test
options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=atk4_pass_root -e MYSQL_USER=atk4_test_user -e MYSQL_PASSWORD=atk4_pass -e MYSQL_DATABASE=atk4_test
postgres:
image: postgres:12-alpine
env:
Expand Down
12 changes: 6 additions & 6 deletions .php-cs-fixer.dist.php
Expand Up @@ -18,11 +18,6 @@
],

// disable some too strict rules
'phpdoc_types' => [
// keep enabled, but without "alias" group to not fix
// "Callback" to "callback" in phpdoc
'groups' => ['simple', 'meta'],
],
'phpdoc_types_order' => [
'null_adjustment' => 'always_last',
'sort_algorithm' => 'none',
Expand Down Expand Up @@ -59,7 +54,12 @@
// also prevent bounding of unwanted variables for GC
'use_arrow_functions' => false,

'phpdoc_var_without_name' => false, // remove once https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6959 is fixed
// TODO remove once 3.17.1 is released
// https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/6979
// https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7011
// fixes were merged
'phpdoc_types' => ['groups' => ['simple', 'meta']],
'phpdoc_var_without_name' => false,
])
->setFinder($finder)
->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer.' . md5(__DIR__) . '.cache');
2 changes: 1 addition & 1 deletion public/external/@highlightjs/cdn-assets/highlight.min.js
Expand Up @@ -1204,4 +1204,4 @@ begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0
aliases:["yml"],contains:l}}});const qe=ae;for(const e of Object.keys(Ke)){
const n=e.replace("grmr_","").replace("_","-");qe.registerLanguage(n,Ke[e])}
return qe}()
;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);
;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions public/external/flatpickr/dist/flatpickr.css
Expand Up @@ -375,11 +375,9 @@
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: transparent;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
Expand All @@ -393,8 +391,10 @@
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
Expand Down Expand Up @@ -483,9 +483,9 @@ span.flatpickr-weekday {
display: -webkit-box;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
Expand Down

0 comments on commit 66cf1b6

Please sign in to comment.