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
@@ -55,27 +55,8 @@
|
|
55
55
|
<%%= email_action "Start shopping", "#", align: "center", fullwidth: true %>
|
56
56
|
<% end %>
|
57
57
|
|
58
|
-
<% content_for :haml, flush: true do %>
|
59
|
-
/ app/views/some_mailer/promotion.haml.erb
|
60
|
-
/ Add width and height attributes to all images for maximum cross-email client support
|
61
|
-
= image_tag "your/promotion/image.jpg", alt: "Promotional image example", width: 600, height: 280
|
62
|
-
= spacer(16)
|
63
|
-
%h1 Limited time offer!
|
64
|
-
= spacer(16)
|
65
|
-
%p Lorem ipsum dolor...
|
66
|
-
= spacer(16)
|
67
|
-
= email_callout do
|
68
|
-
%p
|
69
|
-
For a limited time use the coupon code
|
70
|
-
%strong 50OFF
|
71
|
-
for 50% off your first purchase.
|
72
|
-
= spacer(16)
|
73
|
-
%p Lorem ipsum dolor...
|
74
|
-
= spacer(16)
|
75
|
-
= email_action "Start shopping", "#", align: "center", fullwidth: true
|
76
|
-
<% end %>
|
77
58
|
|
78
|
-
<%= render_snippet active_tab: "erb", erb_filename: "promotion.html.erb"
|
59
|
+
<%= render_snippet active_tab: "erb", erb_filename: "promotion.html.erb" %>
|
79
60
|
<% end %>
|
80
61
|
<% end %>
|
81
62
|
<%= system_pagination(prev_path: systems_mailers_minimal_path, prev_text: "Minimal", next_path: systems_mailers_transactional_path, next_text: "Transactional") %>
|
@@ -125,50 +125,8 @@
|
|
125
125
|
<%%= email_action("View receipt", "#", theme: "secondary") %>
|
126
126
|
<% end %>
|
127
127
|
|
128
|
-
<% content_for :haml, flush: true do %>
|
129
|
-
/ app/views/some_mailer/transactional.haml.erb
|
130
|
-
%p Hey Andy,
|
131
|
-
%p Thanks for subscribing to Rails UI. This email contains the receipt from your purchase.
|
132
|
-
%p
|
133
|
-
The purchase will appear as
|
134
|
-
%code RAILSUI
|
135
|
-
on your credit card statement for the card ending in
|
136
|
-
= succeed "." do
|
137
|
-
%code 1234
|
138
|
-
= link_to "update your payment information", "#"
|
139
|
-
at any time. Below you'll find the details of your order:
|
140
|
-
= spacer(16)
|
141
|
-
%table.mb-0
|
142
|
-
%tbody
|
143
|
-
%tr
|
144
|
-
%td
|
145
|
-
Order #2345
|
146
|
-
%td{align: "right"}
|
147
|
-
01/01/23
|
148
|
-
%hr/
|
149
|
-
%table
|
150
|
-
%thead
|
151
|
-
%th{align: "left"} Description
|
152
|
-
%th{align: "right"} Amount
|
153
|
-
%tbody
|
154
|
-
%tr
|
155
|
-
%td
|
156
|
-
= link_to "Rails UI", "https://railsui.com", target: :_blank
|
157
|
-
%p.small.mb-0 Renews annually. Next charge on 01/01/24.
|
158
|
-
%td{align: "right"}
|
159
|
-
$1,000,000.00
|
160
|
-
%tr
|
161
|
-
%td
|
162
|
-
%tr
|
163
|
-
%td
|
164
|
-
%td{align: "right"}
|
165
|
-
%strong Total: $1,000,000.00
|
166
|
-
= spacer(16)
|
167
|
-
%p If you have any questions about this receipt or Rails UI, please reply to this email or reach out to our support team for help. Someone will get back to you within a few hours.
|
168
|
-
= email_action("View receipt", "#", theme: "secondary")
|
169
|
-
<% end %>
|
170
128
|
|
171
|
-
<%= render_snippet active_tab: "erb", erb_filename: "transactional.html.erb"
|
129
|
+
<%= render_snippet active_tab: "erb", erb_filename: "transactional.html.erb" %>
|
172
130
|
<% end %>
|
173
131
|
<% end %>
|
174
132
|
|
@@ -27,16 +27,8 @@
|
|
27
27
|
<%%= email_action "Confirm my account", confirmation_url(@resource, confirmation_token: @token) %>
|
28
28
|
<% end %>
|
29
29
|
|
30
|
-
<% content_for :haml, flush: true do %>
|
31
|
-
/ app/views/devise/mailer/confirmation_instructions.html.erb
|
32
|
-
%p
|
33
|
-
Hi #{@email},
|
34
|
-
%p Thanks for signing up at ACME.xyz! Before you access your new account we want to make sure it's really you.
|
35
|
-
%p Confirm your account by clicking the button below.
|
36
|
-
= email_action "Confirm my account", confirmation_url(@resource, confirmation_token: @token)
|
37
|
-
<% end %>
|
38
30
|
|
39
|
-
<%= render_snippet active_tab: "erb", erb_filename: "confirmation_instructions.html.erb"
|
31
|
+
<%= render_snippet active_tab: "erb", erb_filename: "confirmation_instructions.html.erb" %>
|
40
32
|
<% end %>
|
41
33
|
<% end %>
|
42
34
|
</div>
|
@@ -26,19 +26,7 @@
|
|
26
26
|
<%%= email_action "View account", edit_user_registration_url %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
|
30
|
-
/ app/views/devise/mailer/email_changed.haml.erb
|
31
|
-
%p
|
32
|
-
Hi #{@email},
|
33
|
-
- if @resource.try(:unconfirmed_email?)
|
34
|
-
%p
|
35
|
-
We're contacting you to notify you that your email is being changed to #{@resource.unconfirmed_email}.
|
36
|
-
- else
|
37
|
-
%p
|
38
|
-
We're contacting you to notify you that your email has been changed to #{@resource.email}.
|
39
|
-
= email_action "View account", edit_user_registration_url
|
40
|
-
<% end %>
|
41
|
-
<%= render_snippet active_tab: "erb", erb_filename: "email_changed.html.erb", haml_filename: "email_changed.haml.erb" %>
|
29
|
+
<%= render_snippet active_tab: "erb", erb_filename: "email_changed.html.erb" %>
|
42
30
|
<% end %>
|
43
31
|
<% end %>
|
44
32
|
</div>
|
@@ -19,13 +19,7 @@
|
|
19
19
|
<p>We're contacting you to notify you that your password has been changed.</p>
|
20
20
|
<% end %>
|
21
21
|
|
22
|
-
|
23
|
-
/ app/views/devise/mailer/password_changed.haml.erb
|
24
|
-
%p
|
25
|
-
Hi #{@resource.email},
|
26
|
-
%p We're contacting you to notify you that your password has been changed.
|
27
|
-
<% end %>
|
28
|
-
<%= render_snippet active_tab: "erb", erb_filename: "password_changed.html.erb", haml_filename: "password_changed.haml.erb" %>
|
22
|
+
<%= render_snippet active_tab: "erb", erb_filename: "password_changed.html.erb" %>
|
29
23
|
<% end %>
|
30
24
|
<% end %>
|
31
25
|
</div>
|
@@ -25,15 +25,7 @@
|
|
25
25
|
<p>If you didn't make this change we recommend <%%= link_to "resetting your password immediately", edit_password_url(@resource, reset_password_token: @token) %> or <%%= mail_to Railsui.config.support_email, "contacting someone from our support team" %>.</p>
|
26
26
|
<% end %>
|
27
27
|
|
28
|
-
|
29
|
-
/ app/views/devise/mailer/reset_password_instructions.haml.erb
|
30
|
-
%p
|
31
|
-
Hi #{@resource.email},
|
32
|
-
%p We're contacting you to notify you that your password has been changed.
|
33
|
-
%p
|
34
|
-
If you didn't make this change we recommend #{link_to "resetting your password immediately", edit_password_url(@resource, reset_password_token: @token)} or #{mail_to "some@email.com", "contacting someone from our support team"}.
|
35
|
-
<% end %>
|
36
|
-
<%= render_snippet active_tab: "erb", erb_filename: "reset_password_instructions.html.erb", haml_filename: "reset_password_instructions.haml.erb" %>
|
28
|
+
<%= render_snippet active_tab: "erb", erb_filename: "reset_password_instructions.html.erb" %>
|
37
29
|
<% end %>
|
38
30
|
<% end %>
|
39
31
|
</div>
|
@@ -26,15 +26,7 @@
|
|
26
26
|
<%%= email_action "Unlock account", unlock_url(@resource, unlock_token: @token) %>
|
27
27
|
<% end %>
|
28
28
|
|
29
|
-
|
30
|
-
/ app/views/devise/mailer/unlock_instructions.html.erb
|
31
|
-
%p
|
32
|
-
Hi #{@resource.email},
|
33
|
-
%p Your account has been locked due to an excessive number of unsuccessful sign in attempts.
|
34
|
-
%p Click the link below to unlock your account:
|
35
|
-
= email_action "Unlock account", unlock_url(@resource, unlock_token: @token)
|
36
|
-
<% end %>
|
37
|
-
<%= render_snippet active_tab: "erb", erb_filename: "unlock_instructions.html.erb", haml_filename: "unlock_instructions.haml.erb" %>
|
29
|
+
<%= render_snippet active_tab: "erb", erb_filename: "unlock_instructions.html.erb" %>
|
38
30
|
<% end %>
|
39
31
|
<% end %>
|
40
32
|
</div>
|
@@ -79,28 +79,10 @@
|
|
79
79
|
</div>
|
80
80
|
<% end %>
|
81
81
|
|
82
|
-
<%# .haml %>
|
83
|
-
<% content_for :haml, flush: true do %>
|
84
|
-
.max-w-3xl.mx-auto.px-4.my-16
|
85
|
-
.mb-4.pb-6.border-b.dark:border-slate-700{class: "border-gray-200/90"}
|
86
|
-
%nav.my-6.font-medium.flex.text-slate-500.dark:text-slate-200.text-sm{"aria-label" => "breadcrumb"}
|
87
|
-
%ol.flex.flex-wrap.items-center.space-x-3
|
88
|
-
%li
|
89
|
-
= link_to "Posts", posts_path, class: "hover:underline hover:text-slate-600 dark:hover:text-slate-400"
|
90
|
-
%li.flex.space-x-3
|
91
|
-
.flex.items-center
|
92
|
-
%span.text-slate-300.dark:text-slate-500 /
|
93
|
-
%span.text-primary-600.dark:text-primary-500{"aria-current" => "page"} Edit
|
94
|
-
.flex.items-center.justify-between
|
95
|
-
%h1.h2 Edit Post
|
96
|
-
= button_to "Delete", @post, method: :delete, class: "btn btn-light", form: { data: { turbo_confirm: "Are you sure?" } }
|
97
|
-
%div
|
98
|
-
= render "form", post: @post
|
99
|
-
<% end %>
|
100
82
|
<% content_for :ruby do %>
|
101
83
|
|
102
84
|
<% end %>
|
103
|
-
<%= render_snippet active_tab: "erb", erb_filename: "edit.html.erb"
|
85
|
+
<%= render_snippet active_tab: "erb", erb_filename: "edit.html.erb" %>
|
104
86
|
<% end %>
|
105
87
|
<% end %>
|
106
88
|
</div>
|
@@ -85,24 +85,11 @@
|
|
85
85
|
</div>
|
86
86
|
<% end %>
|
87
87
|
|
88
|
-
<%# .haml %>
|
89
|
-
<% content_for :haml, flush: true do %>
|
90
|
-
.max-w-3xl.mx-auto.px-4.my-16
|
91
|
-
.flex.items-center.justify-between.pb-6.border-b.dark:border-slate-700
|
92
|
-
%h1.h2 Posts
|
93
|
-
.flex.items-center.justify-end
|
94
|
-
= link_to "New Post", new_post_path, class: "btn btn-primary"
|
95
|
-
#posts.divide-y.dark:divide-slate-700.mb-10
|
96
|
-
- @posts.each do |post|
|
97
|
-
.py-3
|
98
|
-
= render post
|
99
|
-
= link_to "View post", post, class: "btn-link my-3 inline-block"
|
100
|
-
<% end %>
|
101
88
|
|
102
89
|
<% content_for :ruby, flush: true do %>
|
103
90
|
|
104
91
|
<% end %>
|
105
|
-
<%= render_snippet active_tab: "erb", erb_filename: "index.html.erb"
|
92
|
+
<%= render_snippet active_tab: "erb", erb_filename: "index.html.erb" %>
|
106
93
|
<% end %>
|
107
94
|
<% end %>
|
108
95
|
</div>
|
@@ -71,27 +71,11 @@
|
|
71
71
|
</div>
|
72
72
|
<% end %>
|
73
73
|
|
74
|
-
<%# .haml %>
|
75
|
-
<% content_for :haml, flush: true do %>
|
76
|
-
.max-w-3xl.mx-auto.px-4.my-16
|
77
|
-
.mb-4.pb-6.border-b.dark:border-slate-700
|
78
|
-
%nav.my-6.font-medium.flex.text-slate-500.dark:text-slate-200.text-sm{"aria-label" => "breadcrumb"}
|
79
|
-
%ol.flex.flex-wrap.items-center.space-x-3
|
80
|
-
%li
|
81
|
-
= link_to "Posts", posts_path, class: "hover:underline hover:text-slate-600 dark:hover:text-slate-400"
|
82
|
-
%li.flex.space-x-3
|
83
|
-
.flex.items-center
|
84
|
-
%span.text-slate-300.dark:text-slate-500 /
|
85
|
-
%span.text-primary-600.dark:text-primary-500{"aria-current" => "page"} New
|
86
|
-
%h1.h2 New Post
|
87
|
-
%div
|
88
|
-
= render "form", post: @post
|
89
|
-
<% end %>
|
90
74
|
|
91
75
|
<% content_for :ruby do %>
|
92
76
|
|
93
77
|
<% end %>
|
94
|
-
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb"
|
78
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
95
79
|
<% end %>
|
96
80
|
<% end %>
|
97
81
|
</div>
|
@@ -47,26 +47,10 @@
|
|
47
47
|
</article>
|
48
48
|
<% end %>
|
49
49
|
|
50
|
-
<%# .haml %>
|
51
|
-
<% content_for :haml, flush: true do %>
|
52
|
-
%article.py-6.prose.dark:prose-invert{id: "#{dom_id post }"}
|
53
|
-
%div
|
54
|
-
%p.mb-0.font-semibold
|
55
|
-
Title
|
56
|
-
%p.mt-0
|
57
|
-
= post.title
|
58
|
-
%div
|
59
|
-
%p.mb-0.font-semibold
|
60
|
-
Content
|
61
|
-
%p.my-0
|
62
|
-
= post.content
|
63
|
-
%time.text-slate-600.dark:text-slate-400.text-xs.mt-2{datetime: "#{post.created_at.to_formatted_s(:long)}"} Created
|
64
|
-
= time_ago_in_words(post.created_at) + " ago"
|
65
|
-
<% end %>
|
66
50
|
<% content_for :ruby do %>
|
67
51
|
|
68
52
|
<% end %>
|
69
|
-
<%= render_snippet active_tab: "erb", erb_filename: "_post.html.erb"
|
53
|
+
<%= render_snippet active_tab: "erb", erb_filename: "_post.html.erb" %>
|
70
54
|
<% end %>
|
71
55
|
<% end %>
|
72
56
|
</div>
|
@@ -77,29 +77,10 @@
|
|
77
77
|
</div>
|
78
78
|
<% end %>
|
79
79
|
|
80
|
-
<%# .haml %>
|
81
|
-
<% content_for :haml, flush: true do %>
|
82
|
-
.max-w-3xl.mx-auto.px-4.my-16
|
83
|
-
.pb-6.border-b.dark:border-slate-700{class: "border-gray-200/90"}
|
84
|
-
%nav.my-6.font-medium.flex.text-slate-500.dark:text-slate-200.text-sm{"aria-label" => "breadcrumb"}
|
85
|
-
%ol.flex.flex-wrap.items-center.gap-3
|
86
|
-
%li
|
87
|
-
= link_to "Posts", posts_path, class: "hover:underline hover:text-slate-600 dark:hover:text-slate-400"
|
88
|
-
%li.flex.gap-3
|
89
|
-
.flex.items-center
|
90
|
-
%span.text-slate-300.dark:text-slate-500 /
|
91
|
-
%span.text-primary-600.dark:text-primary-500{"aria-current" => "page"}
|
92
|
-
\##{@post.id}
|
93
|
-
.flex.items-center.justify-between
|
94
|
-
%h1.h2.flex-1
|
95
|
-
post ##{@post.id}
|
96
|
-
= link_to "Edit", edit_post_path(@post), class: "btn btn-light"
|
97
|
-
= render @post
|
98
|
-
<% end %>
|
99
80
|
<% content_for :ruby do %>
|
100
81
|
|
101
82
|
<% end %>
|
102
|
-
<%= render_snippet active_tab: "erb", erb_filename: "show.html.erb"
|
83
|
+
<%= render_snippet active_tab: "erb", erb_filename: "show.html.erb" %>
|
103
84
|
<% end %>
|
104
85
|
<% end %>
|
105
86
|
</div>
|
@@ -1,4 +1,6 @@
|
|
1
1
|
<%= render layout: "railsui/shared/linkables" do %>
|
2
|
+
<%= render "railsui/shared/linkable", path: systems_forms_form_builder_path, title: "Form Builder", description: "Automatically styled Rails forms with the Rails UI form builder." %>
|
3
|
+
|
2
4
|
<%= render "railsui/shared/linkable", path: systems_forms_input_path, title: "Input", description: "The building blocks of any given form." %>
|
3
5
|
|
4
6
|
<%= render "railsui/shared/linkable", path: systems_forms_input_group_path, title: "Input Group", description: "Group inputs together for tailored user experiences." %>
|
@@ -7,11 +9,11 @@
|
|
7
9
|
|
8
10
|
<%= render "railsui/shared/linkable", path: systems_forms_checkbox_path, title: "Checkbox", description: "Enhance your forms with additional controls." %>
|
9
11
|
|
10
|
-
<%= render "railsui/shared/linkable", path: systems_forms_radio_path, title: "Radio", description: "
|
12
|
+
<%= render "railsui/shared/linkable", path: systems_forms_radio_path, title: "Radio", description: "Switch between multiple named options with radios." %>
|
11
13
|
|
12
|
-
<%= render "railsui/shared/linkable", path:
|
14
|
+
<%= render "railsui/shared/linkable", path: systems_forms_switch_path, title: "Switch", description: "A nicer version of a checkbox." %>
|
13
15
|
|
14
|
-
<%= render "railsui/shared/linkable", path:
|
16
|
+
<%= render "railsui/shared/linkable", path: systems_forms_action_text_path, title: "ActionText", description: "Custom-themed ActionText UI for your rich text needs." %>
|
15
17
|
|
16
18
|
<%= render "railsui/shared/linkable", path: systems_forms_validation_path, title: "Validation", description: "Error handling UI is taken care of with Rails UI." %>
|
17
19
|
<% end %>
|
@@ -18,6 +18,8 @@
|
|
18
18
|
<p class="font-medium px-3 py-2 dark:text-neutral-200 mt-4 mb-1 text-[14px]">Forms</p>
|
19
19
|
<ul class="border-neutral-300/90 border-l dark:border-neutral-700 ml-3">
|
20
20
|
|
21
|
+
<%= system_nav_item(label: "Form Builder", path: systems_forms_form_builder_path) %>
|
22
|
+
|
21
23
|
<%= system_nav_item(label: "Input", path: systems_forms_input_path) %>
|
22
24
|
|
23
25
|
<%= system_nav_item(label: "Input Group", path: systems_forms_input_group_path) %>
|
@@ -88,30 +88,8 @@
|
|
88
88
|
<%% end %>
|
89
89
|
<% end %>
|
90
90
|
|
91
|
-
<% content_for :haml, flush: true do %>
|
92
|
-
/ app/views/devise/passwords/edit.html.erb
|
93
|
-
= render "devise/auth_layout" do
|
94
|
-
%h1.h3.mb-6 Change your password
|
95
|
-
.prose.prose-sm.prose-zinc.dark:prose-invert.mt-3.mb-10
|
96
|
-
%p Enter a new password to update and secure your account.
|
97
|
-
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
|
98
|
-
= render "rui/shared/error_messages", resource: resource
|
99
|
-
= f.hidden_field :reset_password_token
|
100
|
-
.form-group
|
101
|
-
.flex.items-center.justify-between.mb-2
|
102
|
-
= f.label :password, class: "form-label mb-0"
|
103
|
-
- if @minimum_password_length
|
104
|
-
.inline.prose.prose-sm.prose-zinc.dark:prose-invert
|
105
|
-
%p
|
106
|
-
(#{@minimum_password_length} characters minimum)
|
107
|
-
= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "form-input"
|
108
|
-
.form-group
|
109
|
-
= f.label :password_confirmation, "Confirm new password", class: "form-label"
|
110
|
-
= f.password_field :password_confirmation, autocomplete: "new-password", class: "form-input"
|
111
|
-
= f.submit "Change password", class: "btn btn-primary hover:cursor-pointer w-full"
|
112
|
-
<% end %>
|
113
91
|
|
114
|
-
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb"
|
92
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
115
93
|
<% end %>
|
116
94
|
<% end %>
|
117
95
|
<%= system_pagination(prev_path: systems_authentication_devise_signin_path, prev_text: "Sign in", next_path: systems_authentication_devise_reset_password_path, next_text: "Reset password") %>
|
@@ -52,19 +52,8 @@
|
|
52
52
|
<%% end %>
|
53
53
|
<% end %>
|
54
54
|
|
55
|
-
<% content_for :haml, flush: true do %>
|
56
|
-
/ app/views/devise/confirmations/new.html.erb
|
57
|
-
= render "devise/auth_layout" do
|
58
|
-
%h1.h3.mb-6 Resend confirmation instuctions
|
59
|
-
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
60
|
-
= render "rui/shared/error_messages", resource: resource
|
61
|
-
.form-group
|
62
|
-
= f.label :email, class: "form-label"
|
63
|
-
= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: "form-input", pattern: "[^@\s]+@[^@\s]+\.[^@\s]+", title: "Invalid email address", placeholder: "john.doe@example.com"
|
64
|
-
= f.submit "Resend confirmation instructions", class: "btn btn-primary w-full"
|
65
|
-
<% end %>
|
66
55
|
|
67
|
-
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb"
|
56
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
68
57
|
<% end %>
|
69
58
|
<% end %>
|
70
59
|
|
@@ -485,81 +485,8 @@ class="w-12 h-[40px] bg-white rounded-l-full border-zinc-300 flex items-center j
|
|
485
485
|
</div>
|
486
486
|
<% end %>
|
487
487
|
|
488
|
-
<% content_for :haml, flush: true do %>
|
489
|
-
/ app/views/devise/registrations/edit.html.erb
|
490
|
-
.relative.md:py-10.py-8.border-b{class: "min-h-[160px] border-zinc-200/80 dark:border-zinc-700/80"}
|
491
|
-
.opacity-5.blur-4xl.absolute.inset-0.w-full.h-full.bg-gradient-to-r.from-white.z-0{class: "via-primary-500/40 via-[24.79%] to-[#177BB5]"}
|
492
|
-
.relative.z-20
|
493
|
-
%h1.h2.text-center Account
|
494
|
-
%p.font-light.font-heading.text-center.py-4.text-zinc-700.dark:text-zinc-300
|
495
|
-
Manage everything in one
|
496
|
-
convenient place.
|
497
|
-
.container.mx-auto.px-4.md:pb-16.pb-6.mb-24
|
498
|
-
/ Dynamic tabs relative to what pages are installed
|
499
|
-
= render "rui/shared/account/tabs"
|
500
|
-
- if devise_mapping.confirmable? && resource.pending_reconfirmation?
|
501
|
-
.text-blue-700.border-l-4.border-blue-700.py-4.px-6.text-sm.dark:text-blue-50.dark:border-blue-400.rounded-r-xl.rounded-l.my-4{class: "bg-blue-50/90 dark:bg-blue-50/10"}
|
502
|
-
%p.text-blue-800.dark:text-blue-400.font-normal.font-heading
|
503
|
-
Currently waiting on confirmation for:
|
504
|
-
%span.font-medium= resource.unconfirmed_email
|
505
|
-
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }, data: { turbo: false }) do |f|
|
506
|
-
.max-w-xl.mx-auto
|
507
|
-
= render "rui/shared/error_messages", resource: resource
|
508
|
-
%h2.mt-6.mb-3.h3 Profile
|
509
|
-
.prose.prose-zinc.mb-6.pb-3.dark:prose-invert
|
510
|
-
%p Edit your profile details.
|
511
|
-
/ Email
|
512
|
-
.form-group
|
513
|
-
= f.label :email, class: "form-label form-label-required"
|
514
|
-
= f.email_field :email, autocomplete: "email", class: "form-input"
|
515
|
-
.form-group
|
516
|
-
= f.label :password, class: "form-label"
|
517
|
-
= f.password_field :password, autocomplete: "new-password", class: "form-input"
|
518
|
-
.flex.justify-between.items-center.prose.prose-sm.text-xs.prose-zinc.dark:prose-invert.prose-p:m-0.my-2.max-w-full
|
519
|
-
- if @minimum_password_length
|
520
|
-
%p
|
521
|
-
= @minimum_password_length
|
522
|
-
characters minimum
|
523
|
-
%p Leave this blank if you don't want to change it
|
524
|
-
.form-group
|
525
|
-
= f.label :password_confirmation, class: "form-label"
|
526
|
-
= f.password_field :password_confirmation, autocomplete: "new-password", class: "form-input"
|
527
|
-
.from-group
|
528
|
-
= f.label :current_password, class: "form-label form-label-required"
|
529
|
-
= f.password_field :current_password, autocomplete: "current-password", class: "form-input"
|
530
|
-
.flex.justify-between.items-center.prose.prose-sm.text-xs.prose-zinc.dark:prose-invert.prose-p:m-0.my-2.max-w-full
|
531
|
-
%p Your current password is required to update your account.
|
532
|
-
%h4.text-2xl.font-semibold.font-heading.text-zinc-900.dark:text-zinc-100.tracking-tight.pt-10 Social media
|
533
|
-
.prose.prose-zinc.dark:prose-invert.mb-6
|
534
|
-
%p You could optionally add social media accounts in this section.
|
535
|
-
.form-group
|
536
|
-
%label.form-label.sr-only{for: "user[x]"} X
|
537
|
-
.relative
|
538
|
-
%input.form-input.w-full.pl-14{id: "user[x]", placeholder: "https://x.com/username", type: "text"}/
|
539
|
-
%span.w-12.bg-white.rounded-l-full.border-zinc-300.flex.items-center.justify-center.absolute.left-px.top-px.border-r.peer-focus:border-zinc-500.text-zinc-500.peer-focus:text-primary-600.dark:bg-zinc-800.dark:text-zinc-400{class: "h-[40px] dark:border-zinc-600/80"}
|
540
|
-
= icon "x", custom_path: "/railsui/social/x.svg", class: "size-5", variant: :solid
|
541
|
-
.form-group
|
542
|
-
%label.form-label.sr-only{for: "user[facebook]"} Facebook
|
543
|
-
.relative
|
544
|
-
%input.form-input.w-full.pl-14{id: "user[facebook]", placeholder: "https://facebook.com/username", type: "text"}/
|
545
|
-
%span.w-12.bg-white.rounded-l-full.border-zinc-300.flex.items-center.justify-center.absolute.left-px.top-px.border-r.peer-focus:border-zinc-500.text-zinc-500.peer-focus:text-primary-600.dark:bg-zinc-800.dark:text-zinc-400{class: "h-[40px] dark:border-zinc-600/80"}
|
546
|
-
= icon "facebook", custom_path: "/railsui/social/facebook.svg", class: "size-5 fill-current"
|
547
|
-
.form-group
|
548
|
-
%label.form-label.sr-only{for: "user[github]"} GitHub
|
549
|
-
.relative
|
550
|
-
%input.form-input.w-full.pl-14{id: "user[github]", placeholder: "https://github.com/username", type: "text"}/
|
551
|
-
%span.w-12.bg-white.rounded-l-full.border-zinc-300.flex.items-center.justify-center.absolute.left-px.top-px.border-r.peer-focus:border-zinc-500.text-zinc-500.peer-focus:text-primary-600.dark:bg-zinc-800.dark:text-zinc-400{class: "h-[40px] dark:border-zinc-600/80"}
|
552
|
-
= icon "github", custom_path: "/railsui/social/github.svg", class: "size-5 fill-current"
|
553
|
-
.form-group
|
554
|
-
%label.form-label.sr-only{for: "user[linkedin]"} LinkedIn
|
555
|
-
.relative
|
556
|
-
%input.form-input.w-full.pl-14{id: "user[linkedin]", placeholder: "https://linkedin.com/in/username", type: "text"}/
|
557
|
-
%span.w-12.bg-white.rounded-l-full.border-zinc-300.flex.items-center.justify-center.absolute.left-px.top-px.border-r.peer-focus:border-zinc-500.text-zinc-500.peer-focus:text-primary-600.dark:bg-zinc-800.dark:text-zinc-400{class: "h-[40px] dark:border-zinc-600/80"}
|
558
|
-
= icon "linkedin", custom_path: "/railsui/social/linkedin.svg", class: "size-5 fill-current"
|
559
|
-
= f.submit "Save changes", class:"btn btn-primary"
|
560
|
-
<% end %>
|
561
488
|
|
562
|
-
<%= render_snippet active_tab: "erb", erb_filename: "edit.html.erb"
|
489
|
+
<%= render_snippet active_tab: "erb", erb_filename: "edit.html.erb" %>
|
563
490
|
<% end %>
|
564
491
|
<% end %>
|
565
492
|
|
@@ -79,37 +79,8 @@
|
|
79
79
|
</div>
|
80
80
|
<% end %>
|
81
81
|
|
82
|
-
<% content_for :haml, flush: true do %>
|
83
|
-
/ app/views/devise/_auth_layout.html.erb
|
84
|
-
.md:flex.grid.flex-wrap.md:w-screen{class: "md:h-[calc(100vh-60px)]"}
|
85
|
-
.flex.items-center.justify-center.p-10.md:order-1.order-2{class: "md:w-1/2"}
|
86
|
-
.w-full{class: "md:w-[400px]"}
|
87
|
-
= link_to root_path, class: "group inline-block mb-6" do
|
88
|
-
= icon "logo", custom_path: "/railsui/logo.svg", class: "group-hover:brightness-105 group-hover:scale-95 transform ease-in-out duration-200 transition-transform group-hover:-rotate-2 w-10 h-10 text-primary-500 fill-current"
|
89
|
-
|
90
|
-
= yield
|
91
|
-
/
|
92
|
-
Add additional provider SVG icons in app/assets/images/railsui/omniauth as necessary.
|
93
|
-
Default options include: Google, LinkedIn, Twitter, Facebook.
|
94
|
-
|
95
|
-
**You will need to install additional dependencies
|
96
|
-
not included in Rails UI for omniauth support.**
|
97
|
-
- if devise_mapping.omniauthable? && %w{ registrations sessions }.include?(controller_name)
|
98
|
-
%hr.mt-8.border-zinc-100/
|
99
|
-
.space-y-3.mt-10
|
100
|
-
- resource_class.omniauth_providers.each do |provider|
|
101
|
-
= button_to omniauth_authorize_path(resource_name, provider), class: "btn btn-white w-full", data: { turbo: false } do
|
102
|
-
.flex.items-center.space-x-2
|
103
|
-
= icon provider.gsub(/\s+/, '').downcase, custom_path: "/railsui/omniauth/#{provider.gsub(/\s+/, '').downcase}.svg", class: "size-4 text-zinc-600 fill-current"
|
104
|
-
%span
|
105
|
-
Continue with #{OmniAuth::Utils.camelize(provider)}
|
106
|
-
.mt-4
|
107
|
-
= render "devise/shared/links"
|
108
|
-
.md:order-2.order-1.bg-zinc-900.overflow-hidden{class: "md:w-1/2"}
|
109
|
-
= image_tag ["railsui/auth-cabin.jpg", "railsui/auth-desert.jpg"].sample, class: "object-cover md:h-screen h-[140px] w-full animate-fadeIn", alt: "Sign in to Shepherd"
|
110
|
-
<% end %>
|
111
82
|
|
112
|
-
<%= render_snippet(active_tab: "erb", erb_filename: "_auth_layout.html.erb"
|
83
|
+
<%= render_snippet(active_tab: "erb", erb_filename: "_auth_layout.html.erb") %>
|
113
84
|
|
114
85
|
<div class="prose prose-neutral dark:prose-invert my-6 max-w-full">
|
115
86
|
<p>Then in dedicated Devise views you can render the main meat and potatoes.</p>
|
@@ -119,9 +90,6 @@
|
|
119
90
|
|
120
91
|
<% end %>
|
121
92
|
|
122
|
-
<% content_for :haml, flush: true do %>
|
123
|
-
|
124
|
-
<% end %>
|
125
93
|
|
126
94
|
<% content_for :erb, flush: true do %>
|
127
95
|
<%%= render "devise/auth_layout" do %>
|
@@ -162,17 +130,8 @@
|
|
162
130
|
|
163
131
|
<% end %>
|
164
132
|
|
165
|
-
<% content_for :haml, flush: true do %>
|
166
|
-
/ app/views/devise/shared/_links
|
167
|
-
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
168
|
-
.prose.prose-sm.prose-zinc.dark:prose-invert.py-3.text-center
|
169
|
-
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
|
170
|
-
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
|
171
|
-
.prose.prose-sm.prose-zinc.dark:prose-invert.py-3.text-center
|
172
|
-
= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name)
|
173
|
-
<% end %>
|
174
133
|
|
175
|
-
<%= render_snippet(active_tab: "erb", erb_filename: "_links.html.erb"
|
134
|
+
<%= render_snippet(active_tab: "erb", erb_filename: "_links.html.erb") %>
|
176
135
|
</div>
|
177
136
|
|
178
137
|
<%= divider %>
|
@@ -260,20 +219,6 @@
|
|
260
219
|
<%% end %>
|
261
220
|
<% end %>
|
262
221
|
|
263
|
-
<% content_for :haml, flush: true do %>
|
264
|
-
/ app/views/rui/shared/_error_messages.html.erb
|
265
|
-
- if resource.errors.any?
|
266
|
-
.text-primary-700.sm:px-9.sm:py-6.px-6.py-6.rounded-lg.mb-6.dark:border.dark:text-primary-50.text-sm(class="bg-primary-50/50 dark:bg-primary-400/10 dark:border-primary-400/20" role="alert")
|
267
|
-
%p.font-semibold.font-heading
|
268
|
-
= pluralize(resource.errors.count, "error")
|
269
|
-
prohibited this post from being saved:
|
270
|
-
%ul.list-disc.mt-3.ml-4
|
271
|
-
- resource.errors.each do |error|
|
272
|
-
%li= error.full_message
|
273
|
-
<% end %>
|
274
|
-
|
275
|
-
<%= render_snippet active_tab: "erb", erb_filename: "_error_messages.html.erb", haml_filename: "_error_messages.haml.erb" %>
|
276
|
-
<% end %>
|
277
222
|
<% end %>
|
278
223
|
</div>
|
279
224
|
|
@@ -50,19 +50,8 @@
|
|
50
50
|
<%% end %>
|
51
51
|
<% end %>
|
52
52
|
|
53
|
-
<% content_for :haml, flush: true do %>
|
54
|
-
/ app/views/devise/passwords/new.html.erb
|
55
|
-
= render "devise/auth_layout" do
|
56
|
-
%h1.h3.mb-6 Forget your password?
|
57
|
-
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
58
|
-
= render "rui/shared/error_messages", resource: resource
|
59
|
-
.form-group
|
60
|
-
= f.label :email, class: "form-label"
|
61
|
-
= f.email_field :email, autofocus: true, autocomplete: "email", class: "form-input", pattern: "[^@\s]+@[^@\s]+\.[^@\s]+", title: "Invalid email address", placeholder: "john.doe@example.com"
|
62
|
-
= f.submit "Send me reset password instructions", class: "btn btn-primary w-full"
|
63
|
-
<% end %>
|
64
53
|
|
65
|
-
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb"
|
54
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
66
55
|
<% end %>
|
67
56
|
<% end %>
|
68
57
|
|
@@ -88,32 +88,8 @@
|
|
88
88
|
<%% end %>
|
89
89
|
<% end %>
|
90
90
|
|
91
|
-
<% content_for :haml, flush: true do %>
|
92
|
-
/ app/views/devise/sessions/new.html.erb
|
93
|
-
= render "devise/auth_layout" do
|
94
|
-
%h1.h3.mb-6 Sign in
|
95
|
-
= form_for(resource, as: resource_name, url: session_path(resource_name), data: { turbo: false }) do |f|
|
96
|
-
= render "rui/shared/error_messages", resource: resource
|
97
|
-
.form-group
|
98
|
-
= f.label :email, class: "form-label"
|
99
|
-
= f.email_field :email, autofocus: true, autocomplete: "email", class: "form-input", pattern: "[^@\s]+@[^@\s]+\.[^@\s]+", title: "Invalid email address"
|
100
|
-
.form-group
|
101
|
-
= f.label :password, class: "form-label"
|
102
|
-
= f.password_field :password, autocomplete: "current-password", class: "form-input"
|
103
|
-
.flex.flex-wrap.justify-between.items-center.form-group
|
104
|
-
- if devise_mapping.rememberable?
|
105
|
-
.flex.items-center
|
106
|
-
= f.check_box :remember_me, class: "form-input-checkbox"
|
107
|
-
= f.label :remember_me, class: "form-check-label ml-2"
|
108
|
-
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
|
109
|
-
= link_to "Forgot your password?", new_password_path(resource_name), class: "btn-link text-sm"
|
110
|
-
= f.submit "Sign in", class: "btn btn-primary hover:cursor-pointer w-full"
|
111
|
-
.prose.prose-sm.text-center.prose-zinc.mt-6.dark:prose-invert
|
112
|
-
%p
|
113
|
-
Don't have an account? #{link_to "Sign up", new_registration_path(resource_name), class: "btn-link"}.
|
114
|
-
<% end %>
|
115
91
|
|
116
|
-
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb"
|
92
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
117
93
|
|
118
94
|
<% end %>
|
119
95
|
<% end %>
|