Skip to content

Commit 976291a

Browse files
committed
Merge branch 'master' into next
2 parents bf9d57a + 1a63088 commit 976291a

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

assets/css/datagrid.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,18 @@
7979
display: inline-block
8080
}
8181

82-
[data-datagrid-name] .datagrid-toolbar > span {
82+
[data-datagrid-name] .datagrid-toolbar > div > span {
8383
margin-left: 1em
8484
}
8585

86-
[data-datagrid-name] .datagrid-toolbar > span > a {
86+
[data-datagrid-name] .datagrid-toolbar > div > span > a {
8787
margin-left: 0.5em
8888
}
8989

90+
[data-datagrid-name] .datagrid-toolbar > div {
91+
display: inline-block
92+
}
93+
9094
.datagrid-toolbar .fa-square, .datagrid-toolbar .fa-check-square {
9195
font-weight: normal;
9296
}

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"nette/di": "^3.0.0",
4141
"nette/forms": "^3.1.3",
4242
"nette/utils": "^3.0.1 || ^4.0.0",
43-
"symfony/property-access": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
43+
"symfony/property-access": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
4444
},
4545
"require-dev": {
4646
"contributte/qa": "^0.3.0",

phpstan.neon

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ parameters:
4646
message: '#string\\|Stringable#'
4747
count: 1
4848
path: src/Column/Action.php
49+
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
50+
message: '#string\\|Stringable#'
51+
count: 1
52+
path: src/DataGrid.php
4953
- # In PHP 8+, the Stringable typehint should be used, and this can be removed.
5054
message: '#string\\|Stringable#'
5155
count: 3

src/Datagrid.php

-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ public function __construct(?IContainer $parent = null, ?string $name = null)
284284
$parent->addComponent($this, $name);
285285
}
286286

287-
$this->monitor(Presenter::class);
288-
289287
/**
290288
* Try to find previous filters, pagination, perPage and other values in session
291289
*/

0 commit comments

Comments
 (0)