Skip to content

Commit 3836d7f

Browse files
authored
Merge pull request rappasoft#655 from rappasoft/develop
v1.24.0
2 parents 0ed99ee + d8d018c commit 3836d7f

File tree

13 files changed

+88
-48
lines changed

13 files changed

+88
-48
lines changed

.github/workflows/psalm.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
44

55
## [Unreleased]
66

7+
## [1.24.0] - 2022-02-13
8+
9+
### Added
10+
11+
- Russian Localization - https://github.com/rappasoft/laravel-livewire-tables/pull/633
12+
- Portuguese Localization - https://github.com/rappasoft/laravel-livewire-tables/pull/619
13+
14+
### Changed
15+
16+
- Fixed white border in dark mode - https://github.com/rappasoft/laravel-livewire-tables/pull/621
17+
- Removed text-left to use default - https://github.com/rappasoft/laravel-livewire-tables/pull/620
18+
- Fixed bulk select query - https://github.com/rappasoft/laravel-livewire-tables/pull/632
19+
- Temp fix for dropdowns not working after sorting - https://github.com/rappasoft/laravel-livewire-tables/pull/643
20+
721
## [1.23.0] - 2022-02-11
822

923
### Added
@@ -596,7 +610,8 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
596610

597611
- Initial release
598612

599-
[unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.23.0...development
613+
[unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.24.0...development
614+
[1.24.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.23.0...v1.24.0
600615
[1.23.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.22.0...v1.23.0
601616
[1.22.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.21.0...v1.22.0
602617
[1.21.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.20.1...v1.21.0

resources/lang/pt.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"All": "Tudo",
3+
"Applied Filters": "Filtros Aplicados",
4+
"Applied Sorting": "Ordenação Aplicada",
5+
"Bulk Actions": "Ações Massivas",
6+
"Clear": "Limpar",
7+
"Columns": "Colunas",
8+
"Done Reordering": "Ordeanação finalizada",
9+
"Filters": "Filtros",
10+
"Remove filter option": "Remover opção de filtro",
11+
"Remove sort option": "Remover opção de ordenação",
12+
"Search": "Pesquisar",
13+
"Select All": "Seleccionar Tudo",
14+
"Showing": "A mostrar",
15+
"Unselect All": "Desmarcar Tudo",
16+
"You are currently selecting all": "Atualmente está a selecionar tudo",
17+
"You are not connected to the internet.": "Não está ligado à internet.",
18+
"You have selected": "Selecionou",
19+
"of": "de",
20+
"Reorder": "Reordenar",
21+
"results": "resultados",
22+
"row": "linha",
23+
"rows": "linhas",
24+
"rows, do you want to select all": "linhas, pretende selecionar tudo",
25+
"No items found. Try to broaden your search.": "Nenhum resultado encontrado. Tente ampliar a sua pesquisa.",
26+
"to": "a"
27+
}

resources/lang/ru.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"All": "Все",
3+
"Applied Filters": "Примененные фильтры",
4+
"Applied Sorting": "Примененная сортировка",
5+
"Bulk Actions": "Массовые действия",
6+
"Clear": "Очистить",
7+
"Columns": "Столбцы",
8+
"Done Reordering": "Сортировка выполнена",
9+
"Filters": "Фильтры",
10+
"Remove filter option": "Удалить фильтр",
11+
"Remove sort option": "Удалить параметр сортировки",
12+
"Search": "Поиск",
13+
"Select All": "Выбрать все",
14+
"Showing": "Показано с",
15+
"Unselect All": "Снять выделение",
16+
"You are currently selecting all": "Вы выбираете все",
17+
"You are not connected to the internet.": "Вы не подключены к Интернету",
18+
"You have selected": "Вы выбрали",
19+
"of": "из",
20+
"Reorder": "Переупорядочить",
21+
"results": "результатов",
22+
"rows": "ряды",
23+
"rows, do you want to select all": "ряды, вы хотите выбрать все",
24+
"No items found. Try to broaden your search.": "Ничего не найдено. Попробуйте расширить поиск.",
25+
"to": "по"
26+
}

resources/views/bootstrap-4/includes/column-select.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class="dropdown d-block d-md-inline"
1010
x-on:click="open = !open"
1111
class="btn dropdown-toggle d-block w-100 d-md-inline"
1212
type="button"
13-
id="columnSelect"
1413
aria-haspopup="true"
1514
x-bind:aria-expanded="open"
1615
>
@@ -20,7 +19,6 @@ class="btn dropdown-toggle d-block w-100 d-md-inline"
2019
<div
2120
class="dropdown-menu dropdown-menu-right w-100 mt-0 mt-md-3"
2221
x-bind:class="{'show' : open}"
23-
aria-labelledby="columnSelect"
2422
>
2523
@foreach($columns as $column)
2624
@if ($column->isVisible() && $column->isSelectable())

resources/views/bootstrap-5/includes/column-select.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class="dropdown d-block d-md-inline"
1010
x-on:click="open = !open"
1111
class="btn dropdown-toggle d-block w-100 d-md-inline"
1212
type="button"
13-
id="columnSelect"
1413
aria-haspopup="true"
1514
x-bind:aria-expanded="open"
1615
>
@@ -20,7 +19,6 @@ class="btn dropdown-toggle d-block w-100 d-md-inline"
2019
<div
2120
class="dropdown-menu dropdown-menu-end w-100"
2221
x-bind:class="{'show' : open}"
23-
aria-labelledby="columnSelect"
2422
>
2523
@foreach($columns as $column)
2624
@if ($column->isVisible() && $column->isSelectable())

resources/views/tailwind/components/table/heading.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
{{ $attributes->merge(array_merge(['class' => 'px-3 py-2 md:px-6 md:py-3 bg-gray-50 dark:bg-gray-800'], $customAttributes)) }}
1212
>
1313
@unless ($sortingEnabled && $sortable)
14-
<span class="block text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider dark:text-gray-400">
14+
<span class="block text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider dark:text-gray-400">
1515
{{ $text ?? $slot }}
1616
</span>
1717
@else
1818
<button
1919
wire:click="sortBy('{{ $column }}', '{{ $text ?? $column }}')"
2020
{{ $attributes->except('class') }}
21-
class="flex items-center space-x-1 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider group focus:outline-none focus:underline dark:text-gray-400"
21+
class="flex items-center space-x-1 text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider group focus:outline-none focus:underline dark:text-gray-400"
2222
>
2323
<span>{{ $text ?? $slot }}</span>
2424

resources/views/tailwind/components/table/table.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</tr>
99
</thead>
1010

11-
<tbody {{ $attributes->only('wire:sortable') }} class="bg-white divide-y divide-gray-200 dark:divide-none">
11+
<tbody {{ $attributes->only('wire:sortable') }} class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-none">
1212
@if ($customSecondaryHeader)
1313
{{ $customSecondaryHead }}
1414
@endif

resources/views/tailwind/includes/bulk-actions.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class="relative inline-block text-left z-10 w-full md:w-auto"
1212
x-on:click="open = !open"
1313
type="button"
1414
class="inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:hover:bg-gray-600"
15-
id="options-menu"
1615
aria-haspopup="true"
1716
x-bind:aria-expanded="open"
1817
aria-expanded="true"
@@ -38,7 +37,7 @@ class="inline-flex justify-center w-full rounded-md border border-gray-300 shado
3837
class="origin-top-right absolute right-0 mt-2 w-full md:w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-100 focus:outline-none z-50"
3938
>
4039
<div class="rounded-md bg-white shadow-xs dark:bg-gray-700 dark:text-white">
41-
<div class="py-1" role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
40+
<div class="py-1" role="menu" aria-orientation="vertical">
4241
@foreach($this->bulkActions as $action => $title)
4342
<button
4443
wire:click="{{ $action }}"

resources/views/tailwind/includes/column-select.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class="inline-block relative w-full text-left md:w-auto"
1212
x-on:click="open = !open"
1313
type="button"
1414
class="inline-flex justify-center px-4 py-2 w-full text-sm font-medium text-gray-700 bg-white rounded-md border border-gray-300 shadow-sm hover:bg-gray-50 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 dark:bg-gray-700 dark:text-white dark:border-gray-600 dark:hover:bg-gray-600"
15-
id="column-select-menu"
1615
aria-haspopup="true"
1716
x-bind:aria-expanded="open"
1817
aria-expanded="true"
@@ -38,7 +37,7 @@ class="inline-flex justify-center px-4 py-2 w-full text-sm font-medium text-gray
3837
class="absolute right-0 z-50 mt-2 w-full bg-white rounded-md divide-y divide-gray-100 ring-1 ring-black ring-opacity-5 shadow-lg origin-top-right md:w-48 focus:outline-none"
3938
>
4039
<div class="bg-white rounded-md shadow-xs dark:bg-gray-700 dark:text-white">
41-
<div class="p-2" role="menu" aria-orientation="vertical" aria-labelledby="column-select-menu">
40+
<div class="p-2" role="menu" aria-orientation="vertical">
4241
@foreach($columns as $column)
4342
@if ($column->isVisible() && $column->isSelectable())
4443
<div wire:key="columnSelect-{{ $loop->index }}">

0 commit comments

Comments
 (0)