Skip to content

Commit

Permalink
Merge branch 'release/v0.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
bopm committed Apr 16, 2024
2 parents cb5814e + dba4262 commit 220f9ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
turbo_material (0.2.5)
turbo_material (0.2.6)
importmap-rails (~> 2.0.1)
rails (~> 7.1, >= 7.1.2)
stimulus-rails (~> 1.3)
Expand Down
4 changes: 2 additions & 2 deletions app/views/components/_data_table.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%# locals: (name:, table_body:, url:, table_params:, records:, pagy:, table_headers_partial:, table_contents_partial:) %>
<%# locals: (name:, table_body:, url:, table_params:, records:, selected_records:, pagy:, table_headers_partial:, table_contents_partial:) %>
<div class="mdc-data-table w-full" data-controller="material-data-table"
data-material-data-table-body-value="<%= table_body %>"
data-material-data-table-url-value="<%= url %>"
Expand All @@ -23,7 +23,7 @@
</tr>
</thead>
<tbody class="mdc-data-table__content">
<%= render partial: table_contents_partial, locals: { records: records } %>
<%= render partial: table_contents_partial, locals: { records: records, selected_records: selected_records } %>
</tbody>
</table>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/views/components/data_table/_row_checkbox.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%# locals: (id:) %>
<%# locals: (id:, checked:) %>
<td class="mdc-data-table__cell mdc-data-table__cell--checkbox">
<div class="mdc-checkbox mdc-data-table__row-checkbox">
<input type="checkbox" class="mdc-checkbox__native-control" aria-labelledby="<%= id %>"/>
<input type="checkbox" class="mdc-checkbox__native-control" aria-labelledby="<%= id %>" <%= checked ? 'checked' : '' %>/>
<div class="mdc-checkbox__background">
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
Expand Down
2 changes: 1 addition & 1 deletion lib/turbo_material/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TurboMaterial
VERSION = "0.2.5"
VERSION = "0.2.6"
end

0 comments on commit 220f9ec

Please sign in to comment.