1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-01 19:45:19 +02:00

Component namespacing (#2463)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT

* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT

* Update stimulus controller references to use namespace

* Fix remaining tests
This commit is contained in:
Zach Gollwitzer 2025-07-18 08:30:00 -04:00 committed by GitHub
parent d5b147f2cd
commit ab6fdbbb68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
182 changed files with 322 additions and 321 deletions

View file

@ -1,19 +1,19 @@
class MenuComponentPreview < ViewComponent::Preview
def icon
render MenuComponent.new(variant: "icon") do |menu|
render DS::Menu.new(variant: "icon") do |menu|
menu_contents(menu)
end
end
def button
render MenuComponent.new(variant: "button") do |menu|
render DS::Menu.new(variant: "button") do |menu|
menu.with_button(text: "Open menu", variant: "secondary")
menu_contents(menu)
end
end
def avatar
render MenuComponent.new(variant: "avatar") do |menu|
render DS::Menu.new(variant: "avatar") do |menu|
menu_contents(menu)
end
end