app/components/solidus_admin/ui/toggletip/component.html.erb in solidus_admin-0.0.2 vs app/components/solidus_admin/ui/toggletip/component.html.erb in solidus_admin-0.1.0

- old
+ new

@@ -1,52 +1,56 @@ <details data-controller="<%= stimulus_id %>" <%= tag.attributes(**@attributes) %> > <summary - type="button" class=" block w-[1rem] h-[1rem] cursor-pointer [&::marker]:hidden [&::-webkit-details-marker]:hidden " - data-<%= stimulus_id %>-target="button" data-action=" - click:prevent-><%= stimulus_id %>#toggle + click-><%= stimulus_id %>#toggle keydown.esc@window-><%= stimulus_id %>#close " aria-label="<%= t('.get_help') %>" > - <%= icon_tag("question-fill", class: "w-[1rem] h-[1rem] #{icon_theme_classes}") %> + <%= icon_tag("question-fill", class: "w-[1rem] h-[1rem] fill-gray-800") %> </summary> <div class=" absolute inline-block - w-[9rem] + w-48 px-[0.75rem] - body-tiny-bold + font-semibold text-xs rounded z-10 - <%= bubble_position_classes %> - <%= bubble_theme_classes %> + text-white + bg-gray-800 + <%= POSITIONS.fetch(@position)[:bubble] %> " data-<%= stimulus_id %>-target="bubble" > <span role="status" class=" relative block bg-inherit py-[0.5rem] - <%= bubble_arrow_pseudo_element %> + before:content[''] + before:absolute + before:w-[0.375rem] + before:h-[0.375rem] + before:rotate-45 + before:bg-inherit + <%= POSITIONS.fetch(@position)[:arrow] %> " - data-<%= stimulus_id %>-target="content" > <%= @text %> </span> </div> </details>