railsui 3.1.5 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/settings.local.json +10 -0
- data/Gemfile.lock +29 -27
- data/README.md +1 -1
- data/app/assets/images/tailwind-corgie-thumbnail.jpg +0 -0
- data/app/assets/stylesheets/railsui/railsui.css +18 -0
- data/app/helpers/railsui/application_helper.rb +22 -17
- data/app/helpers/railsui/host_route_fallback_helper.rb +18 -0
- data/app/javascript/controllers/alert_controller.js +0 -0
- data/app/models/railsui/default.rb +28 -109
- data/app/views/railsui/admin/fields/_color.html.erb +6 -1
- data/app/views/railsui/admin/fields/_theme.html.erb +16 -8
- data/app/views/railsui/shared/_flash_messages.html.erb +2 -2
- data/app/views/railsui/shared/_full_access_cta.html.erb +27 -0
- data/app/views/railsui/shared/_preview.html.erb +1 -1
- data/app/views/railsui/shared/_rui_email_preview.html.erb +60 -3
- data/app/views/railsui/systems/forms/form_builder.html.erb +171 -0
- data/app/views/railsui/themes/corgie/_components.html.erb +7 -0
- data/app/views/railsui/themes/corgie/_content.html.erb +9 -0
- data/app/views/railsui/themes/corgie/_fonts.html.erb +0 -0
- data/app/views/railsui/themes/corgie/_forms.html.erb +19 -0
- data/app/views/railsui/themes/corgie/_icons.html.erb +125 -0
- data/app/views/railsui/themes/corgie/_nav.html.erb +166 -0
- data/app/views/railsui/themes/corgie/_scaffolds.html.erb +42 -0
- data/app/views/railsui/themes/corgie/authentication/_overview.html.erb +5 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_change_password.html.erb +74 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_confirmation.html.erb +63 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_edit.html.erb +103 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_overview.html.erb +225 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_reset_password.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signin.html.erb +93 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signup.html.erb +98 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/static/_change_password.html.erb +67 -0
- data/app/views/railsui/themes/corgie/authentication/static/_confirmation.html.erb +58 -0
- data/app/views/railsui/themes/corgie/authentication/static/_overview.html.erb +204 -0
- data/app/views/railsui/themes/corgie/authentication/static/_reset_password.html.erb +59 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signin.html.erb +102 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signup.html.erb +108 -0
- data/app/views/railsui/themes/corgie/authentication/static/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/_accordion.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_alert.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_avatar.html.erb +13 -0
- data/app/views/railsui/themes/corgie/components/_badge.html.erb +20 -0
- data/app/views/railsui/themes/corgie/components/_breadcrumb.html.erb +14 -0
- data/app/views/railsui/themes/corgie/components/_button.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/_card.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_combobox.html.erb +11 -0
- data/app/views/railsui/themes/corgie/components/_dropdown.html.erb +22 -0
- data/app/views/railsui/themes/corgie/components/_flash.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_modal.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/_navigation.html.erb +7 -0
- data/app/views/railsui/themes/corgie/components/_pagination.html.erb +15 -0
- data/app/views/railsui/themes/corgie/components/_tab.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_toast.html.erb +75 -0
- data/app/views/railsui/themes/corgie/components/_tooltip.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/accordion/_contained.html.erb +90 -0
- data/app/views/railsui/themes/corgie/components/accordion/_flush.html.erb +92 -0
- data/app/views/railsui/themes/corgie/components/alert/_dismissable.html.erb +45 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_accent_border.html.erb +32 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_actions.html.erb +57 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_description.html.erb +41 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_list.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/avatar/_circle.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/avatar/_rounded.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/badge/_basic.html.erb +70 -0
- data/app/views/railsui/themes/corgie/components/badge/_outline.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_pill.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_tag.html.erb +277 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_article.html.erb +88 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_base.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/button/_base.html.erb +38 -0
- data/app/views/railsui/themes/corgie/components/button/_expanded.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/button/_sizes.html.erb +31 -0
- data/app/views/railsui/themes/corgie/components/card/_article.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/card/_base.html.erb +34 -0
- data/app/views/railsui/themes/corgie/components/card/_feature.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/card/_team_member.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/card/_value.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/combobox/_base.html.erb +250 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_base.html.erb +61 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown_w_icon.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_right_aligned.html.erb +82 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_dividers.html.erb +93 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_icons.html.erb +85 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_1.html.erb +44 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_2.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_3.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_4.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_dependencies.html.erb +3 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_tutorial.html.erb +25 -0
- data/app/views/railsui/themes/corgie/components/flash/_alert.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/flash/_dynamic.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/flash/_notice.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/modal/_base.html.erb +110 -0
- data/app/views/railsui/themes/corgie/components/modal/_centered_dual_action.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_dismiss_icon.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_settings.html.erb +201 -0
- data/app/views/railsui/themes/corgie/components/modal/_single_action.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/modal/_with_form.html.erb +148 -0
- data/app/views/railsui/themes/corgie/components/navigation/_base.html.erb +215 -0
- data/app/views/railsui/themes/corgie/components/navigation/_chat.html.erb +194 -0
- data/app/views/railsui/themes/corgie/components/navigation/_nav_preview.html.erb +9 -0
- data/app/views/railsui/themes/corgie/components/pagination/_contained.html.erb +131 -0
- data/app/views/railsui/themes/corgie/components/pagination/_pagy.html.erb +97 -0
- data/app/views/railsui/themes/corgie/components/pagination/_simple.html.erb +114 -0
- data/app/views/railsui/themes/corgie/components/tab/_base.html.erb +101 -0
- data/app/views/railsui/themes/corgie/components/tab/_pills.html.erb +102 -0
- data/app/views/railsui/themes/corgie/components/tab/_rounded.html.erb +104 -0
- data/app/views/railsui/themes/corgie/components/tab/_vertical.html.erb +145 -0
- data/app/views/railsui/themes/corgie/components/tab/_with_icons.html.erb +138 -0
- data/app/views/railsui/themes/corgie/components/toast/_base.html.erb +98 -0
- data/app/views/railsui/themes/corgie/components/tooltip/_base.html.erb +51 -0
- data/app/views/railsui/themes/corgie/content/_image.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/_table.html.erb +21 -0
- data/app/views/railsui/themes/corgie/content/_typography.html.erb +47 -0
- data/app/views/railsui/themes/corgie/content/image/_object_contain.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/image/_object_cover.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_fill.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_scale_down.html.erb +34 -0
- data/app/views/railsui/themes/corgie/content/image/_responsive.html.erb +24 -0
- data/app/views/railsui/themes/corgie/content/table/_bordered.html.erb +93 -0
- data/app/views/railsui/themes/corgie/content/table/_borderless.html.erb +92 -0
- data/app/views/railsui/themes/corgie/content/table/_comparison.html.erb +494 -0
- data/app/views/railsui/themes/corgie/content/typography/_blockquote.html.erb +41 -0
- data/app/views/railsui/themes/corgie/content/typography/_display_headings.html.erb +70 -0
- data/app/views/railsui/themes/corgie/content/typography/_fonts.html.erb +30 -0
- data/app/views/railsui/themes/corgie/content/typography/_headings.html.erb +88 -0
- data/app/views/railsui/themes/corgie/content/typography/_inline_formatting.html.erb +44 -0
- data/app/views/railsui/themes/corgie/content/typography/_lead_paragraph.html.erb +26 -0
- data/app/views/railsui/themes/corgie/content/typography/_lists.html.erb +82 -0
- data/app/views/railsui/themes/corgie/content/typography/_paragraphs.html.erb +33 -0
- data/app/views/railsui/themes/corgie/forms/_action_text.html.erb +54 -0
- data/app/views/railsui/themes/corgie/forms/_checkbox.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/corgie/forms/_input.html.erb +378 -0
- data/app/views/railsui/themes/corgie/forms/_input_group.html.erb +485 -0
- data/app/views/railsui/themes/corgie/forms/_radio.html.erb +92 -0
- data/app/views/railsui/themes/corgie/forms/_select.html.erb +118 -0
- data/app/views/railsui/themes/corgie/forms/_switch.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_validation.html.erb +52 -0
- data/app/views/railsui/themes/corgie/mailers/_devise.html.erb +44 -0
- data/app/views/railsui/themes/corgie/mailers/_layout.html.erb +536 -0
- data/app/views/railsui/themes/corgie/mailers/_mailer_preview.html.erb +523 -0
- data/app/views/railsui/themes/corgie/mailers/_minimal.html.erb +63 -0
- data/app/views/railsui/themes/corgie/mailers/_promotion.html.erb +62 -0
- data/app/views/railsui/themes/corgie/mailers/_transactional.html.erb +133 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_confirmation_instructions.html.erb +34 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_email_changed.html.erb +32 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_password_changed.html.erb +25 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_reset_password_instructions.html.erb +33 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_unlock_instructions.html.erb +32 -0
- data/app/views/railsui/themes/corgie/scaffolds/_edit.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_index.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_new.html.erb +80 -0
- data/app/views/railsui/themes/corgie/scaffolds/_partial.html.erb +56 -0
- data/app/views/railsui/themes/corgie/scaffolds/_show.html.erb +85 -0
- data/app/views/railsui/themes/hound/_forms.html.erb +2 -0
- data/app/views/railsui/themes/hound/_nav.html.erb +2 -0
- data/app/views/railsui/themes/hound/authentication/devise/_change_password.html.erb +1 -27
- data/app/views/railsui/themes/hound/authentication/devise/_confirmation.html.erb +1 -20
- data/app/views/railsui/themes/hound/authentication/devise/_edit.html.erb +1 -44
- data/app/views/railsui/themes/hound/authentication/devise/_overview.html.erb +3 -51
- data/app/views/railsui/themes/hound/authentication/devise/_reset_password.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/devise/_signin.html.erb +1 -30
- data/app/views/railsui/themes/hound/authentication/devise/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/devise/_unlocks.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/static/_change_password.html.erb +1 -32
- data/app/views/railsui/themes/hound/authentication/static/_confirmation.html.erb +1 -23
- data/app/views/railsui/themes/hound/authentication/static/_edit.html.erb +1 -39
- data/app/views/railsui/themes/hound/authentication/static/_overview.html.erb +2 -40
- data/app/views/railsui/themes/hound/authentication/static/_reset_password.html.erb +1 -22
- data/app/views/railsui/themes/hound/authentication/static/_signin.html.erb +1 -35
- data/app/views/railsui/themes/hound/authentication/static/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/static/_unlocks.html.erb +1 -20
- data/app/views/railsui/themes/hound/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/accordion/_contained.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/alert/_with_accent_border.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/hound/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/hound/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/button/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/hound/components/card/_user_card.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_user_card_dropdown.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/card/_user_card_with_actions.html.erb +0 -18
- data/app/views/railsui/themes/hound/components/card/_with_action.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_with_header.html.erb +0 -43
- data/app/views/railsui/themes/hound/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/hound/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/dropdown/_right_aligned.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_icons.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/modal/_base.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/modal/_dismiss_icon.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/modal/_single_action.html.erb +0 -15
- data/app/views/railsui/themes/hound/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/hound/components/navigation/_base.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/navigation/_with_action.html.erb +1 -38
- data/app/views/railsui/themes/hound/components/navigation/_with_dropdowns.html.erb +1 -105
- data/app/views/railsui/themes/hound/components/navigation/_with_search.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/hound/components/pagination/_minimal.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/pagination/_pagy.html.erb +47 -72
- data/app/views/railsui/themes/hound/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/hound/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/hound/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/hound/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_headings.html.erb +0 -12
- data/app/views/railsui/themes/hound/content/typography/_inline_formatting.html.erb +0 -20
- data/app/views/railsui/themes/hound/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/hound/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/hound/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/hound/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/hound/forms/_input.html.erb +0 -93
- data/app/views/railsui/themes/hound/forms/_input_group.html.erb +0 -83
- data/app/views/railsui/themes/hound/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/hound/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/hound/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_validation.html.erb +0 -15
- data/app/views/railsui/themes/hound/mailers/_layout.html.erb +1 -432
- data/app/views/railsui/themes/hound/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/hound/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/hound/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/hound/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_email_changed.html.erb +1 -13
- data/app/views/railsui/themes/hound/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/hound/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/hound/scaffolds/_index.html.erb +1 -14
- data/app/views/railsui/themes/hound/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_show.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/_forms.html.erb +5 -3
- data/app/views/railsui/themes/shepherd/_nav.html.erb +2 -0
- data/app/views/railsui/themes/shepherd/authentication/devise/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/devise/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_edit.html.erb +1 -74
- data/app/views/railsui/themes/shepherd/authentication/devise/_overview.html.erb +2 -57
- data/app/views/railsui/themes/shepherd/authentication/devise/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_signin.html.erb +1 -25
- data/app/views/railsui/themes/shepherd/authentication/devise/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/devise/_unlocks.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/static/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_edit.html.erb +1 -67
- data/app/views/railsui/themes/shepherd/authentication/static/_overview.html.erb +1 -56
- data/app/views/railsui/themes/shepherd/authentication/static/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_signin.html.erb +1 -24
- data/app/views/railsui/themes/shepherd/authentication/static/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/static/_unlocks.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/accordion/_contained.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/alert/_with_accent_border.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/button/_base.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/card/_property_card.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/card/_property_user_card.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/card/_user_card_with_actions.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/card/_with_action.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/card/_with_header.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/shepherd/components/datalist/_booking_list.html.erb +0 -45
- data/app/views/railsui/themes/shepherd/components/datalist/_property_list.html.erb +0 -47
- data/app/views/railsui/themes/shepherd/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/shepherd/components/dropdown/_right_aligned.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_menu_icons.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/modal/_base.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/modal/_dismiss_icon.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/modal/_single_action.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/navigation/_base.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/components/navigation/_logged_out.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/navigation/_with_dropdowns.html.erb +0 -88
- data/app/views/railsui/themes/shepherd/components/navigation/_with_search.html.erb +1 -83
- data/app/views/railsui/themes/shepherd/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_dark.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_pagy.html.erb +53 -98
- data/app/views/railsui/themes/shepherd/components/pagination/_simple.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/content/_image_old.html.erb +0 -20
- data/app/views/railsui/themes/shepherd/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_headings.html.erb +0 -15
- data/app/views/railsui/themes/shepherd/content/typography/_inline_formatting.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/shepherd/forms/_input.html.erb +0 -119
- data/app/views/railsui/themes/shepherd/forms/_input_group.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_validation.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/mailers/_layout.html.erb +1 -493
- data/app/views/railsui/themes/shepherd/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/shepherd/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_email_changed.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/shepherd/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/shepherd/scaffolds/_index.html.erb +1 -11
- data/app/views/railsui/themes/shepherd/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_show.html.erb +1 -18
- data/config/pages.yml +103 -0
- data/config/routes.rb +6 -5
- data/config/theme.yml +2 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/auth-bg.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog-feature.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog1.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog2.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog3.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog4.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog5.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog6.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog7.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog8.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog9.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/copy.svg +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/pencil.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/scroll-text.svg +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/facebook.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/github.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/google.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/instagram.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/linkedin.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/twitter.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/x.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/youtube.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/stethoscope.svg +8 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/test-tubes.svg +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/logo.svg +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-192x192.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-512x512.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/apple-touch-icon.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-16x16.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-32x32.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.ico +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.svg +20 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph-mark.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/site.webmanifest +19 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/railsui.svg +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/character_count_controller.js +134 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/chat_controller.js +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/help_search_controller.js +333 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/highlight_controller.js +13 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/markdown_controller.js +106 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/search_controller.js +311 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/sidebar_controller.js +105 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/snippet_controller.js +223 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.text.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/actiontext.css +173 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/blog.css +29 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/buttons.css +49 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/card.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/chat.css +27 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/code.css +233 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/dropdown.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/forms.css +321 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/sidebar.css +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/tailwind.config.js +24 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/theme.css +77 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/typography.css +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui.html.erb +31 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_admin.html.erb +30 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_auth.html.erb +50 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_mailer.html.erb +503 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/about.html.erb +278 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog.html.erb +258 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_category.html.erb +261 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_show.html.erb +429 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_new.html.erb +68 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_show.html.erb +152 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/features.html.erb +356 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/help.html.erb +123 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/home.html.erb +252 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/pricing.html.erb +397 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/privacy.html.erb +140 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signin.html.erb +38 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signup.html.erb +48 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/terms.html.erb +182 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_account_dropdown.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_action.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_callout.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_spacer.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_error_messages.html.erb +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_faq.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_flash.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_fonts.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_footer.html.erb +72 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_header.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_meta.html.erb +90 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_nav.html.erb +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_railsui_head.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_search.html.erb +32 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_sidebar.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_waves.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_article.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_pagination.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_disclaimer.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_form.html.erb +62 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_header.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_key_legend.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_link.html.erb +17 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_message.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_model_select.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_cta_section.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_card.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_check_item.html.erb +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_social_auth_buttons.html.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_categories.html.erb +82 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_faq.html.erb +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_quick_actions.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_career.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_nav.html.erb +57 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_team_member_card.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_modal.html.erb +84 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_nav_item.html.erb +14 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_billing.html.erb +120 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_data_controls.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_general.html.erb +92 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_notifications.html.erb +102 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_personalization.html.erb +100 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_security.html.erb +98 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_title.html.erb +5 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_actions.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_header.html.erb +40 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_link.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/forms.css +18 -4
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/theme.css +3 -2
- data/lib/generators/railsui/install/templates/themes/shepherd/stylesheets/railsui/forms.css +12 -2
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/_form.html.erb.tt +52 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/edit.html.erb.tt +25 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/index.html.erb.tt +12 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/new.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/partial.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/show.html.erb.tt +24 -0
- data/lib/generators/railsui/scaffold/templates/themes/hound/views/_form.html.erb.tt +29 -24
- data/lib/generators/railsui/scaffold/templates/themes/shepherd/views/_form.html.erb.tt +28 -26
- data/lib/railsui/configuration.rb +22 -21
- data/lib/railsui/engine.rb +26 -20
- data/lib/railsui/form_builder.rb +307 -0
- data/lib/railsui/pages.rb +14 -3
- data/lib/railsui/theme_helper.rb +8 -8
- data/lib/railsui/theme_setup.rb +83 -49
- data/lib/railsui/themes.rb +3 -4
- data/lib/railsui/version.rb +1 -1
- data/lib/railsui.rb +9 -6
- data/lib/tasks/install.rake +1 -1
- data/lib/tasks/pages.rake +1 -1
- data/lib/tasks/stimulus.rake +1 -1
- metadata +287 -5
- data/.standard.yml +0 -3
- data/CHANGELOG.md +0 -9
- data/config/colors.yml +0 -50
@@ -0,0 +1,277 @@
|
|
1
|
+
<div id="badge-tag">
|
2
|
+
<%= render layout: example, locals: { heading: "Tag", section: "Badge" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6">
|
5
|
+
<p>Some applications call for custom tagging pill controls. These a bundled with a control to easily remove on click.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<%= render preview('neutral') do %>
|
9
|
+
<div class="flex items-center gap-2 flex-wrap font-tiktok">
|
10
|
+
<div class="rounded bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
11
|
+
<span class="flex-1">Gray</span>
|
12
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-neutral-500/40 flex items-center justify-center focus:ring-2 focus:ring-neutral-300/50 group">
|
13
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-700 dark:text-neutral-400 hover:cursor-pointer dark:group-hover:text-neutral-300 group-hover:text-neutral-500" %>
|
14
|
+
</a>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="rounded bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
18
|
+
<span class="flex-1">Red</span>
|
19
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-red-200 dark:hover:bg-red-500/40 flex items-center justify-center focus:ring-2 focus:ring-red-300/50 group">
|
20
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-500 dark:text-red-500/90 hover:cursor-pointer dark:group-hover:text-red-200 group-hover:text-red-500" %>
|
21
|
+
</a>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="rounded bg-orange-100 text-orange-700 font-medium text-xs dark:text-orange-300 px-2 dark:bg-orange-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
25
|
+
<span class="flex-1">Orange</span>
|
26
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-orange-200 dark:hover:bg-orange-500/40 flex items-center justify-center focus:ring-2 focus:ring-orange-300/50 group">
|
27
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-700 dark:text-orange-500 hover:cursor-pointer dark:group-hover:text-orange-200 group-hover:text-orange-500" %>
|
28
|
+
</a>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="rounded bg-yellow-100 text-yellow-700 font-medium dark:text-yellow-300 dark:bg-yellow-500/20 px-2 py-1 text-xs pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
32
|
+
<span class="flex-1">Yellow</span>
|
33
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-yellow-200 dark:hover:bg-yellow-500/40 flex items-center justify-center focus:ring-2 focus:ring-yellow-300/50 group">
|
34
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-yellow-800 dark:text-yellow-500 hover:cursor-pointer
|
35
|
+
group-hover:text-yellow-600
|
36
|
+
dark:group-hover:text-yellow-200" %>
|
37
|
+
</a>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="rounded bg-green-100 text-green-800 font-medium py-1 text-xs dark:text-green-300 dark:bg-green-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
41
|
+
<span class="flex-1">Green</span>
|
42
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-green-200/70 dark:hover:bg-green-500/40 flex items-center justify-center focus:ring-2 focus:ring-green-500/20 group">
|
43
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-green-700 hover:cursor-pointer
|
44
|
+
dark:text-green-400
|
45
|
+
dark:group-hover:text-green-200 group-hover:text-green-800" %>
|
46
|
+
</a>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<div class="rounded bg-blue-100 text-blue-800 font-medium leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
50
|
+
<span class="flex-1">Blue</span>
|
51
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-blue-200/70 dark:hover:bg-blue-500/40 flex items-center justify-center focus:ring-2 focus:ring-blue-500/20 group">
|
52
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-blue-800 hover:cursor-pointer group-hover:text-blue-800 dark:text-blue-400
|
53
|
+
dark:group-hover:text-blue-200" %>
|
54
|
+
</a>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div class="rounded bg-indigo-100 text-indigo-800 font-medium py-1 leading-tight dark:text-indigo-300 dark:bg-indigo-500/20 pl-2 pr-1 text-xs inline-flex items-center justify-between space-x-1">
|
58
|
+
<span class="flex-1">Indigo</span>
|
59
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-indigo-200/70 dark:hover:bg-indigo-500/20 flex items-center justify-center focus:ring-2 focus:ring-indigo-500/20 group">
|
60
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-indigo-800 hover:cursor-pointer group-hover:text-indigo-800
|
61
|
+
dark:text-indigo-400
|
62
|
+
dark:group-hover:text-indigo-200" %>
|
63
|
+
</a>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<div class="rounded bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
67
|
+
<span class="flex-1">Purple</span>
|
68
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-purple-200/70 flex items-center justify-center focus:ring-2 focus:ring-purple-500/20 dark:hover:bg-purple-500/20 group">
|
69
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-purple-800 hover:cursor-pointer group-hover:text-purple-800 dark:text-purple-400 dark:group-hover:text-purple-200" %>
|
70
|
+
</a>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<div class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
74
|
+
<span class="flex-1">Pink</span>
|
75
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-pink-200/70 flex items-center justify-center focus:ring-2 focus:ring-pink-500/20 group dark:hover:bg-pink-500/20">
|
76
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-pink-800 hover:cursor-pointer group-hover:text-pink-800 dark:text-pink-400 dark:group-hover:text-pink-200" %>
|
77
|
+
</a>
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div class="rounded bg-white-100 text-neutral-800 border border-neutral-200 font-medium leading-tight dark:border-none dark:bg-white/10 dark:text-white/80 pl-2 pr-1 py-1 text-xs group inline-flex items-center justify-between space-x-1">
|
81
|
+
<span class="flex-1">White</span>
|
82
|
+
<a href="#" data-controller="prevent" data-action="click->prevent#prevent" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-white/20 flex items-center justify-center focus:ring-2 focus:ring-neutral-500/20">
|
83
|
+
<%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-800 hover:cursor-pointer group-hover:text-neutral-700/80
|
84
|
+
dark:text-white/80 dark:group-hover:text-white/80
|
85
|
+
" %>
|
86
|
+
</a>
|
87
|
+
</div>
|
88
|
+
</div>
|
89
|
+
<% end %>
|
90
|
+
|
91
|
+
<% content_for :example, flush: true do %>
|
92
|
+
<% content_for :html, flush: true do %>
|
93
|
+
<!-- Gray -->
|
94
|
+
<div class="rounded bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
95
|
+
<span class="flex-1">Gray</span>
|
96
|
+
<a href="#" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-neutral-500/40 flex items-center justify-center focus:ring-2 focus:ring-neutral-300/50 group">
|
97
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-700 dark:text-neutral-400 hover:cursor-pointer dark:group-hover:text-neutral-300 group-hover:text-neutral-500" %>
|
98
|
+
</a>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<!-- Red -->
|
102
|
+
<div class="rounded bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
103
|
+
<span class="flex-1">Red</span>
|
104
|
+
<a href="#" class="size-4 rounded hover:bg-red-200 dark:hover:bg-red-500/40 flex items-center justify-center focus:ring-2 focus:ring-red-300/50 group">
|
105
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-500 dark:text-red-500/90 hover:cursor-pointer dark:group-hover:text-red-200 group-hover:text-red-500" %>
|
106
|
+
</a>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<!-- Orange -->
|
110
|
+
<div class="rounded bg-orange-100 text-orange-700 font-medium text-xs dark:text-orange-300 px-2 dark:bg-orange-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
111
|
+
<span class="flex-1">Orange</span>
|
112
|
+
<a href="#" class="size-4 rounded hover:bg-orange-200 dark:hover:bg-orange-500/40 flex items-center justify-center focus:ring-2 focus:ring-orange-300/50 group">
|
113
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-700 dark:text-orange-500 hover:cursor-pointer dark:group-hover:text-orange-200 group-hover:text-orange-500" %>
|
114
|
+
</a>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
<!-- Yellow -->
|
118
|
+
<div class="rounded bg-yellow-100 text-yellow-700 font-medium dark:text-yellow-300 dark:bg-yellow-500/20 px-2 py-1 text-xs pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
119
|
+
<span class="flex-1">Yellow</span>
|
120
|
+
<a href="#" class="size-4 rounded hover:bg-yellow-200 dark:hover:bg-yellow-500/40 flex items-center justify-center focus:ring-2 focus:ring-yellow-300/50 group">
|
121
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-yellow-800 dark:text-yellow-500 hover:cursor-pointer
|
122
|
+
group-hover:text-yellow-600
|
123
|
+
dark:group-hover:text-yellow-200" %>
|
124
|
+
</a>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<!-- Green -->
|
128
|
+
<div class="rounded bg-green-100 text-green-800 font-medium py-1 text-xs dark:text-green-300 dark:bg-green-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
129
|
+
<span class="flex-1">Green</span>
|
130
|
+
<a href="#" class="size-4 rounded hover:bg-green-200/70 dark:hover:bg-green-500/40 flex items-center justify-center focus:ring-2 focus:ring-green-500/20 group">
|
131
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-green-700 hover:cursor-pointer
|
132
|
+
dark:text-green-400
|
133
|
+
dark:group-hover:text-green-200 group-hover:text-green-800" %>
|
134
|
+
</a>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<!-- Blue -->
|
138
|
+
<div class="rounded bg-blue-100 text-blue-800 font-medium leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
139
|
+
<span class="flex-1">Blue</span>
|
140
|
+
<a href="#" class="size-4 rounded hover:bg-blue-200/70 dark:hover:bg-blue-500/40 flex items-center justify-center focus:ring-2 focus:ring-blue-500/20 group">
|
141
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-blue-800 hover:cursor-pointer group-hover:text-blue-800 dark:text-blue-400
|
142
|
+
dark:group-hover:text-blue-200" %>
|
143
|
+
</a>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<!-- Indigo -->
|
147
|
+
<div class="rounded bg-indigo-100 text-indigo-800 font-medium py-1 leading-tight dark:text-indigo-300 dark:bg-indigo-500/20 pl-2 pr-1 text-xs inline-flex items-center justify-between space-x-1">
|
148
|
+
<span class="flex-1">Indigo</span>
|
149
|
+
<a href="#" class="size-4 rounded hover:bg-indigo-200/70 dark:hover:bg-indigo-500/20 flex items-center justify-center focus:ring-2 focus:ring-indigo-500/20 group">
|
150
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-indigo-800 hover:cursor-pointer group-hover:text-indigo-800
|
151
|
+
dark:text-indigo-400
|
152
|
+
dark:group-hover:text-indigo-200" %>
|
153
|
+
</a>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
<!-- Purple -->
|
157
|
+
<div class="rounded bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
158
|
+
<span class="flex-1">Purple</span>
|
159
|
+
<a href="#" class="size-4 rounded hover:bg-purple-200/70 flex items-center justify-center focus:ring-2 focus:ring-purple-500/20 dark:hover:bg-purple-500/20 group">
|
160
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-purple-800 hover:cursor-pointer group-hover:text-purple-800 dark:text-purple-400 dark:group-hover:text-purple-200" %>
|
161
|
+
</a>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<!-- Pink -->
|
165
|
+
<div class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
166
|
+
<span class="flex-1">Pink</span>
|
167
|
+
<a href="#" class="size-4 rounded hover:bg-pink-200/70 flex items-center justify-center focus:ring-2 focus:ring-pink-500/20 group dark:hover:bg-pink-500/20">
|
168
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-pink-800 hover:cursor-pointer group-hover:text-pink-800 dark:text-pink-400 dark:group-hover:text-pink-200" %>
|
169
|
+
</a>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
<!-- White -->
|
173
|
+
<div class="rounded bg-white-100 text-neutral-800 border border-neutral-200 font-medium leading-tight dark:border-none dark:bg-white/10 dark:text-white/80 pl-2 pr-1 py-1 text-xs group inline-flex items-center justify-between space-x-1">
|
174
|
+
<span class="flex-1">White</span>
|
175
|
+
<a href="#" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-white/20 flex items-center justify-center focus:ring-2 focus:ring-neutral-500/20">
|
176
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-800 hover:cursor-pointer group-hover:text-neutral-700/80
|
177
|
+
dark:text-white/80 dark:group-hover:text-white/80
|
178
|
+
" %>
|
179
|
+
</a>
|
180
|
+
</div>
|
181
|
+
<% end %>
|
182
|
+
|
183
|
+
<% content_for :erb, flush: true do %>
|
184
|
+
<!-- Gray -->
|
185
|
+
<div class="rounded bg-neutral-100 text-neutral-800 font-medium px-2 py-1 text-xs dark:bg-neutral-500/20 dark:text-neutral-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
186
|
+
<span class="flex-1">Gray</span>
|
187
|
+
<a href="#" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-neutral-500/40 flex items-center justify-center focus:ring-2 focus:ring-neutral-300/50 group">
|
188
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-700 dark:text-neutral-400 hover:cursor-pointer dark:group-hover:text-neutral-300 group-hover:text-neutral-500" %>
|
189
|
+
</a>
|
190
|
+
</div>
|
191
|
+
|
192
|
+
<!-- Red -->
|
193
|
+
<div class="rounded bg-red-100 text-red-800 font-medium px-2 py-1 text-xs dark:bg-red-500/20 dark:text-red-200 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
194
|
+
<span class="flex-1">Red</span>
|
195
|
+
<a href="#" class="size-4 rounded hover:bg-red-200 dark:hover:bg-red-500/40 flex items-center justify-center focus:ring-2 focus:ring-red-300/50 group">
|
196
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-500 dark:text-red-500/90 hover:cursor-pointer dark:group-hover:text-red-200 group-hover:text-red-500" %>
|
197
|
+
</a>
|
198
|
+
</div>
|
199
|
+
|
200
|
+
<!-- Orange -->
|
201
|
+
<div class="rounded bg-orange-100 text-orange-700 font-medium text-xs dark:text-orange-300 px-2 dark:bg-orange-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
202
|
+
<span class="flex-1">Orange</span>
|
203
|
+
<a href="#" class="size-4 rounded hover:bg-orange-200 dark:hover:bg-orange-500/40 flex items-center justify-center focus:ring-2 focus:ring-orange-300/50 group">
|
204
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-red-700 dark:text-orange-500 hover:cursor-pointer dark:group-hover:text-orange-200 group-hover:text-orange-500" %>
|
205
|
+
</a>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
<!-- Yellow -->
|
209
|
+
<div class="rounded bg-yellow-100 text-yellow-700 font-medium dark:text-yellow-300 dark:bg-yellow-500/20 px-2 py-1 text-xs pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
210
|
+
<span class="flex-1">Yellow</span>
|
211
|
+
<a href="#" class="size-4 rounded hover:bg-yellow-200 dark:hover:bg-yellow-500/40 flex items-center justify-center focus:ring-2 focus:ring-yellow-300/50 group">
|
212
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-yellow-800 dark:text-yellow-500 hover:cursor-pointer
|
213
|
+
group-hover:text-yellow-600
|
214
|
+
dark:group-hover:text-yellow-200" %>
|
215
|
+
</a>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<!-- Green -->
|
219
|
+
<div class="rounded bg-green-100 text-green-800 font-medium py-1 text-xs dark:text-green-300 dark:bg-green-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
220
|
+
<span class="flex-1">Green</span>
|
221
|
+
<a href="#" class="size-4 rounded hover:bg-green-200/70 dark:hover:bg-green-500/40 flex items-center justify-center focus:ring-2 focus:ring-green-500/20 group">
|
222
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-green-700 hover:cursor-pointer
|
223
|
+
dark:text-green-400
|
224
|
+
dark:group-hover:text-green-200 group-hover:text-green-800" %>
|
225
|
+
</a>
|
226
|
+
</div>
|
227
|
+
|
228
|
+
<!-- Blue -->
|
229
|
+
<div class="rounded bg-blue-100 text-blue-800 font-medium leading-tight text-xs dark:text-blue-300 dark:bg-blue-500/20 pl-2 pr-1 py-1 inline-flex items-center justify-between space-x-1">
|
230
|
+
<span class="flex-1">Blue</span>
|
231
|
+
<a href="#" class="size-4 rounded hover:bg-blue-200/70 dark:hover:bg-blue-500/40 flex items-center justify-center focus:ring-2 focus:ring-blue-500/20 group">
|
232
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-blue-800 hover:cursor-pointer group-hover:text-blue-800 dark:text-blue-400
|
233
|
+
dark:group-hover:text-blue-200" %>
|
234
|
+
</a>
|
235
|
+
</div>
|
236
|
+
|
237
|
+
<!-- Indigo -->
|
238
|
+
<div class="rounded bg-indigo-100 text-indigo-800 font-medium py-1 leading-tight dark:text-indigo-300 dark:bg-indigo-500/20 pl-2 pr-1 text-xs inline-flex items-center justify-between space-x-1">
|
239
|
+
<span class="flex-1">Indigo</span>
|
240
|
+
<a href="#" class="size-4 rounded hover:bg-indigo-200/70 dark:hover:bg-indigo-500/20 flex items-center justify-center focus:ring-2 focus:ring-indigo-500/20 group">
|
241
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-indigo-800 hover:cursor-pointer group-hover:text-indigo-800
|
242
|
+
dark:text-indigo-400
|
243
|
+
dark:group-hover:text-indigo-200" %>
|
244
|
+
</a>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
<!-- Purple -->
|
248
|
+
<div class="rounded bg-purple-100 text-purple-800 font-medium px-2 py-1 leading-tight text-xs dark:text-purple-300 dark:bg-purple-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
249
|
+
<span class="flex-1">Purple</span>
|
250
|
+
<a href="#" class="size-4 rounded hover:bg-purple-200/70 flex items-center justify-center focus:ring-2 focus:ring-purple-500/20 dark:hover:bg-purple-500/20 group">
|
251
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-purple-800 hover:cursor-pointer group-hover:text-purple-800 dark:text-purple-400 dark:group-hover:text-purple-200" %>
|
252
|
+
</a>
|
253
|
+
</div>
|
254
|
+
|
255
|
+
<!-- Pink -->
|
256
|
+
<div class="rounded bg-pink-100 text-pink-800 font-medium px-2 py-1 leading-tight text-xs dark:text-pink-300 dark:bg-pink-500/20 pl-2 pr-1 inline-flex items-center justify-between space-x-1">
|
257
|
+
<span class="flex-1">Pink</span>
|
258
|
+
<a href="#" class="size-4 rounded hover:bg-pink-200/70 flex items-center justify-center focus:ring-2 focus:ring-pink-500/20 group dark:hover:bg-pink-500/20">
|
259
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-pink-800 hover:cursor-pointer group-hover:text-pink-800 dark:text-pink-400 dark:group-hover:text-pink-200" %>
|
260
|
+
</a>
|
261
|
+
</div>
|
262
|
+
|
263
|
+
<!-- White -->
|
264
|
+
<div class="rounded bg-white-100 text-neutral-800 border border-neutral-200 font-medium leading-tight dark:border-none dark:bg-white/10 dark:text-white/80 pl-2 pr-1 py-1 text-xs group inline-flex items-center justify-between space-x-1">
|
265
|
+
<span class="flex-1">White</span>
|
266
|
+
<a href="#" class="size-4 rounded hover:bg-neutral-200 dark:hover:bg-white/20 flex items-center justify-center focus:ring-2 focus:ring-neutral-500/20">
|
267
|
+
<%%= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-800 hover:cursor-pointer group-hover:text-neutral-700/80 dark:text-white/80 dark:group-hover:text-white/80" %>
|
268
|
+
</a>
|
269
|
+
</div>
|
270
|
+
|
271
|
+
<% end %>
|
272
|
+
|
273
|
+
|
274
|
+
<%= render_snippet %>
|
275
|
+
<% end %>
|
276
|
+
<% end %>
|
277
|
+
</div>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<div id="breadcrumb-article">
|
2
|
+
<%= render layout: example, locals: { heading: "Article" } do %>
|
3
|
+
|
4
|
+
<%= render preview("neutral") do %>
|
5
|
+
<!-- Breadcrumb -->
|
6
|
+
<nav class="flex mb-8" aria-label="Breadcrumb">
|
7
|
+
<ol class="inline-flex items-center gap-2 md:gap-3">
|
8
|
+
<li class="inline-flex items-center">
|
9
|
+
<a href="#" class="inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group">
|
10
|
+
<%= icon "home", class: "size-5 stroke-current stroke-neutral-500 dark:stroke-neutral-400 dark:group-hover:stroke-neutral-300 group-hover:stroke-neutral-600" %>
|
11
|
+
Home
|
12
|
+
</a>
|
13
|
+
</li>
|
14
|
+
<li>
|
15
|
+
<div class="flex items-center gap-3">
|
16
|
+
<%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
17
|
+
<a href="#" class="inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group">Blog</a>
|
18
|
+
</div>
|
19
|
+
</li>
|
20
|
+
<li>
|
21
|
+
<div class="flex items-center gap-3">
|
22
|
+
<%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
23
|
+
<span
|
24
|
+
class="text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 truncate flex-1 md:w-full w-40">The Future of AI Assistants: What's Coming Next</span>
|
25
|
+
</div>
|
26
|
+
</li>
|
27
|
+
</ol>
|
28
|
+
</nav>
|
29
|
+
<% end %>
|
30
|
+
|
31
|
+
<% content_for :example, flush: true do %>
|
32
|
+
<% content_for :html, flush: true do %>
|
33
|
+
<nav class="flex mb-8" aria-label="Breadcrumb">
|
34
|
+
<ol class="inline-flex items-center gap-2 md:gap-3">
|
35
|
+
<li class="inline-flex items-center">
|
36
|
+
<a href="#" class="inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group">
|
37
|
+
<%%= icon "home", class: "size-5 stroke-current stroke-neutral-500 dark:stroke-neutral-400 dark:group-hover:stroke-neutral-300 group-hover:stroke-neutral-600" %>
|
38
|
+
Home
|
39
|
+
</a>
|
40
|
+
</li>
|
41
|
+
<li>
|
42
|
+
<div class="flex items-center gap-3">
|
43
|
+
<%%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
44
|
+
<a href="#" class="inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group">Blog</a>
|
45
|
+
</div>
|
46
|
+
</li>
|
47
|
+
<li>
|
48
|
+
<div class="flex items-center gap-3">
|
49
|
+
<%%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
50
|
+
<span
|
51
|
+
class="text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 truncate flex-1 md:w-full w-40">The Future of AI Assistants: What's Coming Next</span>
|
52
|
+
</div>
|
53
|
+
</li>
|
54
|
+
</ol>
|
55
|
+
</nav>
|
56
|
+
<% end %>
|
57
|
+
|
58
|
+
<% content_for :erb, flush: true do %>
|
59
|
+
<nav class="flex mb-8" aria-label="Breadcrumb">
|
60
|
+
<ol class="inline-flex items-center gap-2 md:gap-3">
|
61
|
+
<li class="inline-flex items-center">
|
62
|
+
<%%= link_to "#", class: "inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group" do %>
|
63
|
+
<%%= icon "home", class: "size-5 stroke-current stroke-neutral-500 dark:stroke-neutral-400 dark:group-hover:stroke-neutral-300 group-hover:stroke-neutral-600" %>
|
64
|
+
Home
|
65
|
+
<%% end %>
|
66
|
+
</li>
|
67
|
+
<li>
|
68
|
+
<div class="flex items-center gap-3">
|
69
|
+
<%%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
70
|
+
<%%= link_to "Blog", "#", class: "inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group" %>
|
71
|
+
</div>
|
72
|
+
</li>
|
73
|
+
<li>
|
74
|
+
<div class="flex items-center gap-3">
|
75
|
+
<%%= icon "chevron-right", class: "size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
76
|
+
<span
|
77
|
+
class="text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 truncate flex-1 md:w-full w-40">The Future of AI Assistants: What's Coming Next</span>
|
78
|
+
</div>
|
79
|
+
</li>
|
80
|
+
</ol>
|
81
|
+
</nav>
|
82
|
+
<% end %>
|
83
|
+
|
84
|
+
|
85
|
+
<%= render_snippet active_tab: :erb %>
|
86
|
+
<% end %>
|
87
|
+
<% end %>
|
88
|
+
</div>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<div id="breadcrumb-base">
|
2
|
+
<%= render layout: example, locals: { heading: "Base" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="md:pl-10 font-tiktok">
|
6
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
7
|
+
<ol class="flex flex-wrap items-center space-x-3 list-none m-0 p-0">
|
8
|
+
<li>
|
9
|
+
<a href="#" class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" data-controller="railsui-prevent" data-action="click->railsui-prevent#prevent">Home</a>
|
10
|
+
</li>
|
11
|
+
<li class="flex space-x-3">
|
12
|
+
<div class="flex items-center">
|
13
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
14
|
+
</div>
|
15
|
+
<a href="#" class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" data-controller="railsui-prevent" data-action="click->railsui-prevent#prevent">Library</a>
|
16
|
+
</li>
|
17
|
+
<li class="flex space-x-3">
|
18
|
+
<div class="flex items-center">
|
19
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
20
|
+
</div>
|
21
|
+
<a href="#" aria-current="page" class="text-primary-500 dark:text-primary-500" data-controller="railsui-prevent" data-action="click->railsui-prevent#prevent">Data</a>
|
22
|
+
</li>
|
23
|
+
</ol>
|
24
|
+
</nav>
|
25
|
+
</div>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
<% content_for :example, flush: true do %>
|
29
|
+
<% content_for :html, flush: true do %>
|
30
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
31
|
+
<ol class="flex flex-wrap items-center space-x-3">
|
32
|
+
<li>
|
33
|
+
<a href="#" class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400">Home</a>
|
34
|
+
</li>
|
35
|
+
<li class="flex space-x-3">
|
36
|
+
<div class="flex items-center">
|
37
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
38
|
+
</div>
|
39
|
+
<a href="#" class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400">Library</a>
|
40
|
+
</li>
|
41
|
+
<li class="flex space-x-3">
|
42
|
+
<div class="flex items-center">
|
43
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
44
|
+
</div>
|
45
|
+
<a href="#" aria-current="page" class="text-primary-500 dark:text-primary-500">Data</a>
|
46
|
+
</li>
|
47
|
+
</ol>
|
48
|
+
</nav>
|
49
|
+
<% end %>
|
50
|
+
|
51
|
+
<% content_for :erb, flush: true do %>
|
52
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
53
|
+
<ol class="flex flex-wrap items-center space-x-3 list-none m-0 p-0">
|
54
|
+
<li>
|
55
|
+
<%%= link_to "Home", "#", class: "hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" %>
|
56
|
+
</li>
|
57
|
+
<li class="flex space-x-3">
|
58
|
+
<div class="flex items-center">
|
59
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
60
|
+
</div>
|
61
|
+
<%%= link_to "Library", "#", class: "hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" %>
|
62
|
+
</li>
|
63
|
+
<li class="flex space-x-3">
|
64
|
+
<div class="flex items-center">
|
65
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
66
|
+
</div>
|
67
|
+
<%%= link_to "Data", "#", class: "text-primary-500 dark:text-primary-500", data: { "aria-current": "page" } %>
|
68
|
+
</li>
|
69
|
+
</ol>
|
70
|
+
</nav>
|
71
|
+
<% end %>
|
72
|
+
|
73
|
+
|
74
|
+
<%= render_snippet %>
|
75
|
+
<% end %>
|
76
|
+
<% end %>
|
77
|
+
</div>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<div id="button-base">
|
2
|
+
<%= render layout: example, locals: { heading: "Base", section: "Button" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="flex items-center gap-3 flex-wrap font-tiktok">
|
6
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
7
|
+
<button type="button" class="btn btn-dark">Dark</button>
|
8
|
+
<button type="button" class="btn btn-white">White</button>
|
9
|
+
<button type="button" class="btn btn-ghost">Ghost</button>
|
10
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
11
|
+
<button type="button" class="btn btn-link">Link</button>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
<% content_for :example, flush: true do %>
|
16
|
+
<% content_for :html, flush: true do %>
|
17
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
18
|
+
<button type="button" class="btn btn-dark">Dark</button>
|
19
|
+
<button type="button" class="btn btn-light">Light</button>
|
20
|
+
<button type="button" class="btn btn-white">White</button>
|
21
|
+
<button type="button" class="btn btn-ghost">Ghost</button>
|
22
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
23
|
+
<button type="button" class="btn btn-link">Link</button>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% content_for :erb, flush: true do %>
|
27
|
+
<%%= button_tag "Primary", type: "button", class: "btn btn-primary" %>
|
28
|
+
<%%= button_tag "Dark", type: "button", class: "btn btn-dark" %>
|
29
|
+
<%%= button_tag "White", type: "button", class: "btn btn-white" %>
|
30
|
+
<%%= button_tag "Ghost", type: "button", class: "btn btn-ghost" %>
|
31
|
+
<%%= button_tag "Danger", type: "button", class: "btn btn-danger" %>
|
32
|
+
<%%= button_tag "Link", type: "button", class: "btn btn-link" %>
|
33
|
+
<% end %>
|
34
|
+
|
35
|
+
<%= render_snippet %>
|
36
|
+
<% end %>
|
37
|
+
<% end %>
|
38
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div id="button-expanded">
|
2
|
+
<%= render layout: example, locals: { heading: "Expanded display", section: "Button" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6">
|
5
|
+
<p>If you need a button to span fullwidth add the appropriate Tailwind CSS width and margin classes to existing button classes.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<%= render preview('neutral') do %>
|
9
|
+
<button class="btn btn-primary w-full justify-center" type="button">Expanded button</button>
|
10
|
+
<% end %>
|
11
|
+
|
12
|
+
<% content_for :example, flush: true do %>
|
13
|
+
<% content_for :html, flush: true do %>
|
14
|
+
<button class="btn btn-primary w-full justify-center" type="button">Expanded button</button>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<% content_for :erb, flush: true do %>
|
18
|
+
<%%= button_tag "Expanded button", type: "button", class: "btn btn-primary w-full justify-center" %>
|
19
|
+
<% end %>
|
20
|
+
|
21
|
+
<%= render_snippet %>
|
22
|
+
<% end %>
|
23
|
+
<% end %>
|
24
|
+
</div>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<div id="button-sizes">
|
2
|
+
<%= render layout: example, locals: { heading: "Sizes", section: "Button" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6"><p>Choose from two additional buttons sizes outside of the default <code>.btn</code> class (<code>.btn-lg</code>, <code>.btn-sm</code>) or customize size with additional Tailwind CSS classes.</p></div>
|
5
|
+
|
6
|
+
<%= render preview('neutral') do %>
|
7
|
+
<div class="flex items-center gap-2 font-tiktok">
|
8
|
+
<button type="button" class="btn btn-primary btn-lg">Large button</button>
|
9
|
+
<button type="button" class="btn btn-primary">Base button</button>
|
10
|
+
<button type="button" class="btn btn-primary btn-sm">Small button</button>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
|
15
|
+
<% content_for :example, flush: true do %>
|
16
|
+
<% content_for :html, flush: true do %>
|
17
|
+
<button type="button" class="btn btn-primary btn-lg">Large button</button>
|
18
|
+
<button type="button" class="btn btn-primary">Base button</button>
|
19
|
+
<button type="button" class="btn btn-primary btn-sm">Small button</button>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<% content_for :erb, flush: true do %>
|
23
|
+
<%%= button_tag "Large button", type: "button", class: "btn btn-primary btn-lg" %>
|
24
|
+
<%%= button_tag "Base Button", type: "button", class: "btn btn-primary" %>
|
25
|
+
<%%= button_tag "Small button", type: "button", class: "btn btn-primary btn-sm" %>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
<%= render_snippet %>
|
29
|
+
<% end %>
|
30
|
+
<% end %>
|
31
|
+
</div>
|