1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-04 13:05: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

@ -2,17 +2,17 @@ class LinkComponentPreview < ViewComponent::Preview
# Usage
# -------------
#
# LinkComponent is a small abstraction on top of the `link_to` helper.
# DS::Link is a small abstraction on top of the `link_to` helper.
#
# It can be used as a regular link or styled as a "Link button" using any of the available ButtonComponent variants.
# It can be used as a regular link or styled as a "Link button" using any of the available DS::Button variants.
#
# @param variant select {{ LinkComponent::VARIANTS.keys }}
# @param size select {{ LinkComponent::SIZES.keys }}
# @param variant select {{ DS::Link::VARIANTS.keys }}
# @param size select {{ DS::Link::SIZES.keys }}
# @param icon select ["", "plus", "arrow-right"]
# @param icon_position select ["left", "right"]
# @param full_width toggle
def default(variant: "default", size: "md", icon: "plus", icon_position: "left", full_width: false)
render LinkComponent.new(
render DS::Link.new(
href: "#",
text: "Preview link",
variant: variant,