app/components/coco/buttons/button/button.html.erb in coveragebook_components-0.17.5 vs app/components/coco/buttons/button/button.html.erb in coveragebook_components-0.17.6

- old
+ new

@@ -9,9 +9,13 @@ data: (x_data("button", alpine_data) unless static?), bind: ("root" unless static?), "dropdown:trigger": (true if dropdown?), "dropdown:anchor": (true if dropdown?), "@click": ("#{"checkConfirmation($event);" if confirm?} #{on_click}" if confirm? || on_click.present?) + }, + data: { + turbo: turbo_data_attr_value, + turbo_frame: turbo_frame } ) do %> <span class="button-inner"> <% if static? %> <% if icon? %>