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,133 @@
|
|
1
|
+
<%= render layout: example, locals: { heading: "Transactional", section: "Mailers" } do %>
|
2
|
+
|
3
|
+
<div class="prose prose-neutral dark:prose-invert">
|
4
|
+
<p>The Rails UI transactional offers a design for those user-specific situations that often require an action.</p>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<%= email_viewer("A transactional template", variant: "neutral") do %>
|
8
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
9
|
+
|
10
|
+
<p>Hey Andy,</p>
|
11
|
+
|
12
|
+
<p>Thanks for subscribing to Rails UI. This email contains the receipt from your purchase.</p>
|
13
|
+
|
14
|
+
<p>The purchase will appear as <code>RAILSUI</code> on your credit card statement for the card ending in <code>1234</code>. You may <%= link_to "update your payment information", "#" %> at any time. Below you'll find the details of your order:</p>
|
15
|
+
|
16
|
+
<%= spacer(16) %>
|
17
|
+
|
18
|
+
<table class="mb-0">
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>
|
22
|
+
Order #2345
|
23
|
+
</td>
|
24
|
+
<td align="right">
|
25
|
+
01/01/23
|
26
|
+
</td>
|
27
|
+
</tr>
|
28
|
+
</tbody>
|
29
|
+
</table>
|
30
|
+
|
31
|
+
<hr />
|
32
|
+
|
33
|
+
<table>
|
34
|
+
<thead>
|
35
|
+
<th align="left">Description</th>
|
36
|
+
<th align="right">Amount</th>
|
37
|
+
</thead>
|
38
|
+
<tbody>
|
39
|
+
<tr>
|
40
|
+
<td>
|
41
|
+
<%= link_to "Rails UI", "https://railsui.com", target: :_blank %>
|
42
|
+
<p class="small mb-0">Renews annually. Next charge on 01/01/24.</p>
|
43
|
+
</td>
|
44
|
+
<td align="right">
|
45
|
+
$1,000,000.00
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td> </td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td></td>
|
53
|
+
<td align="right">
|
54
|
+
<strong>Total: $1,000,000.00</strong>
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
</tbody>
|
58
|
+
</table>
|
59
|
+
|
60
|
+
<%= spacer(16) %>
|
61
|
+
|
62
|
+
<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.</p>
|
63
|
+
|
64
|
+
<%= email_action("View receipt", "https://media4.giphy.com/media/3o7btXiWjYvDFkQEQ8/giphy.gif?cid=790b76111901e8fe756c91d0a70f7b4cb769affbc8c93779&rid=giphy.gif&ct=g", theme: "secondary") %>
|
65
|
+
<% end %>
|
66
|
+
<% end %>
|
67
|
+
|
68
|
+
<% content_for :example, flush: true do %>
|
69
|
+
<% content_for :erb, flush: true do %>
|
70
|
+
<!-- app/views/some_mailer/transactional.html.erb -->
|
71
|
+
<p>Hey Andy,</p>
|
72
|
+
|
73
|
+
<p>Thanks for subscribing to Rails UI. This email contains the receipt from your purchase.</p>
|
74
|
+
|
75
|
+
<p>The purchase will appear as <code>RAILSUI</code> on your credit card statement for the card ending in <code>1234</code>. You may <%%= link_to "update your payment information", "#" %> at any time. Below you'll find the details of your order:</p>
|
76
|
+
|
77
|
+
<%%= spacer(16) %>
|
78
|
+
|
79
|
+
<table class="mb-0">
|
80
|
+
<tbody>
|
81
|
+
<tr>
|
82
|
+
<td>
|
83
|
+
Order #2345
|
84
|
+
</td>
|
85
|
+
<td align="right">
|
86
|
+
01/01/23
|
87
|
+
</td>
|
88
|
+
</tr>
|
89
|
+
</tbody>
|
90
|
+
</table>
|
91
|
+
|
92
|
+
<hr />
|
93
|
+
|
94
|
+
<table>
|
95
|
+
<thead>
|
96
|
+
<th align="left">Description</th>
|
97
|
+
<th align="right">Amount</th>
|
98
|
+
</thead>
|
99
|
+
<tbody>
|
100
|
+
<tr>
|
101
|
+
<td>
|
102
|
+
<%%= link_to "Rails UI", "https://railsui.com", target: :_blank %>
|
103
|
+
<p class="small mb-0">Renews annually. Next charge on 01/01/24.</p>
|
104
|
+
</td>
|
105
|
+
<td align="right">
|
106
|
+
$1,000,000.00
|
107
|
+
</td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td> </td>
|
111
|
+
</tr>
|
112
|
+
<tr>
|
113
|
+
<td></td>
|
114
|
+
<td align="right">
|
115
|
+
<strong>Total: $1,000,000.00</strong>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
</tbody>
|
119
|
+
</table>
|
120
|
+
|
121
|
+
<%%= spacer(16) %>
|
122
|
+
|
123
|
+
<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.</p>
|
124
|
+
|
125
|
+
<%%= email_action("View receipt", "#", theme: "secondary") %>
|
126
|
+
<% end %>
|
127
|
+
|
128
|
+
|
129
|
+
<%= render_snippet active_tab: "erb", erb_filename: "transactional.html.erb" %>
|
130
|
+
<% end %>
|
131
|
+
<% end %>
|
132
|
+
|
133
|
+
<%= system_pagination(prev_path: systems_mailers_promotion_path, prev_text: "Promotion", next_path: systems_mailers_devise_path, next_text: "Devise") %>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<div id="devise-confirmation-instructions">
|
2
|
+
<%= render layout: example, locals: { heading: "Confirmation Instructions", section: "Mailers / Devise" } do %>
|
3
|
+
|
4
|
+
<%= email_viewer("Confirmation instructions", variant: "neutral") do %>
|
5
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
6
|
+
|
7
|
+
<p>Hi john.doe@example.com,</p>
|
8
|
+
|
9
|
+
<p>Thanks for signing up at ACME.xyz! Before you access your new account we want to make sure it's really you.</p>
|
10
|
+
|
11
|
+
<p>Confirm your account by clicking the button below.</p>
|
12
|
+
|
13
|
+
<%= email_action "Confirm my account", "#" %>
|
14
|
+
<% end %>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
|
18
|
+
<% content_for :example, flush: true do %>
|
19
|
+
<% content_for :erb, flush: true do %>
|
20
|
+
<!-- app/views/devise/mailer/confirmation_instructions.html.erb -->
|
21
|
+
<p>Hi <%%= @email %>,</p>
|
22
|
+
|
23
|
+
<p>Thanks for signing up at ACME.xyz! Before you access your new account we want to make sure it's really you.</p>
|
24
|
+
|
25
|
+
<p>Confirm your account by clicking the button below.</p>
|
26
|
+
|
27
|
+
<%%= email_action "Confirm my account", confirmation_url(@resource, confirmation_token: @token) %>
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
|
31
|
+
<%= render_snippet active_tab: "erb", erb_filename: "confirmation_instructions.html.erb" %>
|
32
|
+
<% end %>
|
33
|
+
<% end %>
|
34
|
+
</div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="devise-email-changed">
|
2
|
+
<%= render layout: example, locals: { heading: "Email Changed", section: "Mailers / Devise" } do %>
|
3
|
+
|
4
|
+
<%= email_viewer("Email changed", variant: "neutral") do %>
|
5
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
6
|
+
|
7
|
+
<p>Hi john.doe@example.com,</p>
|
8
|
+
|
9
|
+
<p>We're contacting you to notify you that your email has been changed to saasquatch@railsui.com.</p>
|
10
|
+
|
11
|
+
<%= email_action "View account", "#" %>
|
12
|
+
<% end %>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
<% content_for :example, flush: true do %>
|
16
|
+
<% content_for :erb, flush: true do %>
|
17
|
+
<!-- app/views/devise/mailer/email_changed.html.erb -->
|
18
|
+
<p>Hi <%%= @email %>,</p>
|
19
|
+
|
20
|
+
<%% if @resource.try(:unconfirmed_email?) %>
|
21
|
+
<p>We're contacting you to notify you that your email is being changed to <%%= @resource.unconfirmed_email %>.</p>
|
22
|
+
<%% else %>
|
23
|
+
<p>We're contacting you to notify you that your email has been changed to <%%= @resource.email %>.</p>
|
24
|
+
<%% end %>
|
25
|
+
|
26
|
+
<%%= email_action "View account", edit_user_registration_url %>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<%= render_snippet active_tab: "erb", erb_filename: "email_changed.html.erb" %>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<div id="devise-password-changed">
|
2
|
+
<%= render layout: example, locals: { heading: "Change password", section: "Mailers / Devise" } do %>
|
3
|
+
|
4
|
+
<%= email_viewer("Password changed", variant: "neutral") do %>
|
5
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
6
|
+
|
7
|
+
<p>Hi john.doe@example.com,</p>
|
8
|
+
|
9
|
+
<p>We're contacting you to notify you that your password has been changed.</p>
|
10
|
+
|
11
|
+
<% end %>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<% content_for :erb, flush: true do %>
|
16
|
+
<!-- app/views/devise/mailer/password_changed.html.erb -->
|
17
|
+
<p>Hi <%%= @resource.email %>,</p>
|
18
|
+
|
19
|
+
<p>We're contacting you to notify you that your password has been changed.</p>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<%= render_snippet active_tab: "erb", erb_filename: "password_changed.html.erb" %>
|
23
|
+
<% end %>
|
24
|
+
<% end %>
|
25
|
+
</div>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<div id="devise-reset-password">
|
2
|
+
<%= render layout: example, locals: { heading: "Reset password", section: "Mailers / Devise" } do %>
|
3
|
+
|
4
|
+
<%= email_viewer("Reset password instructions", variant: "neutral") do %>
|
5
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
6
|
+
|
7
|
+
<p>Hi john.doe@example.com,</p>
|
8
|
+
|
9
|
+
<p>We're contacting you to notify you that your password has been changed.</p>
|
10
|
+
|
11
|
+
<p>If you didn't make this change we recommend <%= link_to "resetting your password immediately", "#" %> or <%= mail_to "some@email.com", "contacting someone from our support team" %>.</p>
|
12
|
+
|
13
|
+
<%= email_action "Reset password", "#" %>
|
14
|
+
|
15
|
+
<% end %>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<% content_for :example, flush: true do %>
|
19
|
+
<% content_for :erb, flush: true do %>
|
20
|
+
<!-- app/views/devise/mailer/reset_password_instructions.html.erb -->
|
21
|
+
<p>Hi <%%= @resource.email %>,</p>
|
22
|
+
|
23
|
+
<p>We're contacting you to notify you that your password has been changed.</p>
|
24
|
+
|
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
|
+
|
27
|
+
<%%= email_action "Reset password", edit_password_url(@resource, reset_password_token: @token) %>
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
<%= render_snippet active_tab: "erb", erb_filename: "reset_password_instructions.html.erb" %>
|
31
|
+
<% end %>
|
32
|
+
<% end %>
|
33
|
+
</div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="devise-unlock-instructions">
|
2
|
+
<%= render layout: example, locals: { heading: "Unlock Instructions", section: "Mailers / Devise" } do %>
|
3
|
+
|
4
|
+
<%= email_viewer("Unlock instructions", variant: "neutral") do %>
|
5
|
+
<%= render layout: "railsui/themes/#{Railsui.config.theme.downcase}/mailers/mailer_preview" do %>
|
6
|
+
|
7
|
+
<p>Hi John Doe,</p>
|
8
|
+
|
9
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
10
|
+
|
11
|
+
<p>Click the button below to unlock your account:</p>
|
12
|
+
|
13
|
+
<%= email_action "Unlock my account", "#" %>
|
14
|
+
<% end %>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<% content_for :example, flush: true do %>
|
18
|
+
<% content_for :erb, flush: true do %>
|
19
|
+
<!-- app/views/devise/mailer/unlock_instructions.html.erb -->
|
20
|
+
<p>Hi <%%= @resource.email %>,</p>
|
21
|
+
|
22
|
+
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
|
23
|
+
|
24
|
+
<p>Click the link below to unlock your account:</p>
|
25
|
+
|
26
|
+
<%%= email_action "Unlock account", unlock_url(@resource, unlock_token: @token) %>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<%= render_snippet active_tab: "erb", erb_filename: "unlock_instructions.html.erb" %>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<div id="scaffolds-edit">
|
2
|
+
<%= render layout: example, locals: { heading: "Edit", section: "Scaffolds" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="max-w-3xl mx-auto px-4 my-16 font-tiktok">
|
6
|
+
<div class="mb-6 pb-6 border-b dark:border-neutral-700 border-neutral-200/90">
|
7
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
8
|
+
<ol class="flex flex-wrap items-center space-x-3">
|
9
|
+
<li>
|
10
|
+
<a class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" href="/posts">Posts</a>
|
11
|
+
</li>
|
12
|
+
<li class="flex space-x-3">
|
13
|
+
<div class="flex items-center">
|
14
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
15
|
+
</div>
|
16
|
+
<span class="text-neutral-600 dark:text-neutral-500" aria-current="page">Edit</span>
|
17
|
+
</li>
|
18
|
+
</ol>
|
19
|
+
</nav>
|
20
|
+
<div class="flex items-center justify-between">
|
21
|
+
<h1 class="h2">Edit Post</h1>
|
22
|
+
<form data-turbo-confirm="Are you sure?" class="button_to" method="post" action="#"><input type="hidden" name="_method" value="delete" autocomplete="off"><button class="btn btn-white" type="submit">Delete</button><input type="hidden" name="authenticity_token" value="#" autocomplete="off"></form>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div>
|
27
|
+
<form class="font-tiktok" action="#" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="patch" autocomplete="off"><input type="hidden" name="authenticity_token" value="#" autocomplete="off">
|
28
|
+
|
29
|
+
|
30
|
+
<div class="form-group">
|
31
|
+
<label class="form-label" for="post_title">Title</label>
|
32
|
+
<input class="form-input" type="text" value="Testing 123" name="post[title]" id="post_title">
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="form-group">
|
36
|
+
<label class="form-label" for="post_content">Content</label>
|
37
|
+
<textarea class="form-input" name="post[content]" id="post_content">Testing 123</textarea>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="flex items-center justify-between flex-wrap">
|
41
|
+
<div class="sm:flex-1 sm:mb-0 mb-6">
|
42
|
+
<input type="submit" name="commit" value="Update Post" class="btn btn-primary" data-disable-with="Update Post">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<a class="btn btn-white" href="#">Cancel</a>
|
46
|
+
</div>
|
47
|
+
</form>
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
<% end %>
|
51
|
+
|
52
|
+
<% content_for :example, flush: true do %>
|
53
|
+
<%# .erb %>
|
54
|
+
<% content_for :erb, flush: true do %>
|
55
|
+
<div class="max-w-3xl mx-auto px-4 my-16">
|
56
|
+
<div class="mb-6 pb-6 border-b border-neutral-200/90 dark:border-neutral-700">
|
57
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
58
|
+
<ol class="flex flex-wrap items-center space-x-3">
|
59
|
+
<li>
|
60
|
+
<%%= link_to "Posts", posts_path, class: "hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" %>
|
61
|
+
</li>
|
62
|
+
<li class="flex space-x-3">
|
63
|
+
<div class="flex items-center">
|
64
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
65
|
+
</div>
|
66
|
+
<span class="text-neutral-600 dark:text-neutral-500" aria-current="page">Edit</span>
|
67
|
+
</li>
|
68
|
+
</ol>
|
69
|
+
</nav>
|
70
|
+
<div class="flex items-center justify-between">
|
71
|
+
<h1 class="h2">Edit Post</h1>
|
72
|
+
<%%= button_to "Delete", @post, method: :delete, class: "btn btn-white", form: { data: { turbo_confirm: "Are you sure?" } } %>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
<div>
|
77
|
+
<%%= render "form", post: @post %>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
<% end %>
|
81
|
+
|
82
|
+
<% content_for :ruby do %>
|
83
|
+
|
84
|
+
<% end %>
|
85
|
+
<%= render_snippet active_tab: "erb", erb_filename: "edit.html.erb" %>
|
86
|
+
<% end %>
|
87
|
+
<% end %>
|
88
|
+
</div>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<div id="scaffolds-index">
|
2
|
+
<%= render layout: example, locals: { heading: "Index", section: "Scaffolds" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="max-w-3xl mx-auto px-4 my-16 font-tiktok">
|
6
|
+
<div class="flex items-center justify-between pb-6 border-b dark:border-neutral-700 border-neutral-200/90">
|
7
|
+
<h1 class="h2">Posts</h1>
|
8
|
+
<div class="flex items-center justify-end">
|
9
|
+
<a href="#" class="btn btn-primary">New Post</a>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div id="posts" class="divide-y divide-neutral-200/90 dark:divide-neutral-700 mb-10">
|
13
|
+
<!-- post 1 content -->
|
14
|
+
<div class="py-3">
|
15
|
+
<article class="font-tiktok py-6 prose dark:prose-invert">
|
16
|
+
<div>
|
17
|
+
<p class="mb-0 font-semibold">
|
18
|
+
Title
|
19
|
+
</p>
|
20
|
+
<p class="my-0">
|
21
|
+
Example post title
|
22
|
+
</p>
|
23
|
+
</div>
|
24
|
+
<div>
|
25
|
+
<p class="mb-0 font-semibold">
|
26
|
+
Content
|
27
|
+
</p>
|
28
|
+
<p class="my-0">
|
29
|
+
Example post content
|
30
|
+
</p>
|
31
|
+
</div>
|
32
|
+
<time class="text-neutral-600 dark:text-neutral-400 text-xs mt-2" datetime="February 23, 2023 12:37">Created 1 minute ago</time>
|
33
|
+
</article>
|
34
|
+
|
35
|
+
<a href="#" class="btn btn-primary my-3">View post</a>
|
36
|
+
</div>
|
37
|
+
<!-- post 2 content -->
|
38
|
+
<div class="py-3">
|
39
|
+
<article id="post_2" class="py-6 prose dark:prose-invert">
|
40
|
+
<div>
|
41
|
+
<p class="mb-0 font-semibold">
|
42
|
+
Title
|
43
|
+
</p>
|
44
|
+
<p class="my-0">
|
45
|
+
Example post title 2
|
46
|
+
</p>
|
47
|
+
</div>
|
48
|
+
<div>
|
49
|
+
<p class="mb-0 font-semibold">
|
50
|
+
Content
|
51
|
+
</p>
|
52
|
+
<p class="my-0">
|
53
|
+
Example post content 2
|
54
|
+
</p>
|
55
|
+
</div>
|
56
|
+
<time class="text-neutral-600 dark:text-neutral-400 text-xs mt-2" datetime="February 23, 2023 12:37">Created 1 minute ago</time>
|
57
|
+
</article>
|
58
|
+
|
59
|
+
<a href="#" class="btn btn-primary my-3">View post</a>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
<% end %>
|
64
|
+
|
65
|
+
<% content_for :example, flush: true do %>
|
66
|
+
<%# .erb %>
|
67
|
+
<% content_for :erb, flush: true do %>
|
68
|
+
<div class="max-w-3xl mx-auto px-4 my-16">
|
69
|
+
<div class="flex items-center justify-between pb-6 border-b dark:border-neutral-700">
|
70
|
+
<h1 class="h2">Posts</h1>
|
71
|
+
<div class="flex items-center justify-end">
|
72
|
+
<%%= link_to "New Post", new_post_path, class: "btn btn-primary" %>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
<div id="posts" class="divide-y divide-neutral-200/90 dark:divide-neutral-700 mb-10">
|
77
|
+
<%%= render @posts %>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
<% end %>
|
81
|
+
|
82
|
+
<% content_for :ruby, flush: true do %>
|
83
|
+
|
84
|
+
<% end %>
|
85
|
+
<%= render_snippet active_tab: "erb", erb_filename: "index.html.erb" %>
|
86
|
+
<% end %>
|
87
|
+
<% end %>
|
88
|
+
</div>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<div id="scaffolds-new">
|
2
|
+
<%= render layout: example, locals: { heading: "New", section: "Scaffolds" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<div class="max-w-3xl mx-auto px-4 my-16 font-tiktok">
|
6
|
+
<div class="mb-6 pb-6 border-b border-neutral-200/90 dark:border-neutral-700">
|
7
|
+
<nav aria-label="breadcrumb" class="my-6 font-medium flex text-neutral-500 dark:text-neutral-200 text-sm">
|
8
|
+
<ol class="flex flex-wrap items-center space-x-3">
|
9
|
+
<li>
|
10
|
+
<a class="hover:underline hover:text-neutral-600 dark:hover:text-neutral-400" href="#">Posts</a>
|
11
|
+
</li>
|
12
|
+
<li class="flex space-x-3">
|
13
|
+
<div class="flex items-center">
|
14
|
+
<span class="text-neutral-300 dark:text-neutral-500">/</span>
|
15
|
+
</div>
|
16
|
+
<span class="text-neutral-600 dark:text-neutral-500" aria-current="page">New</span>
|
17
|
+
</li>
|
18
|
+
</ol>
|
19
|
+
</nav>
|
20
|
+
<h1 class="h2">New Post</h1>
|
21
|
+
</div>
|
22
|
+
<div>
|
23
|
+
<form class="font-tiktok" action="#" accept-charset="UTF-8" method="post">
|
24
|
+
<input type="hidden" name="authenticity_token" value="#" autocomplete="off">
|
25
|
+
|
26
|
+
<div class="form-group">
|
27
|
+
<label class="form-label" for="post_title">Title</label>
|
28
|
+
<input class="form-input" type="text" name="post[title]" id="post_title">
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="form-group">
|
32
|
+
<label class="form-label" for="post_content">Content</label>
|
33
|
+
<textarea class="form-input" name="post[content]" id="post_content"></textarea>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div class="flex items-center justify-between flex-wrap">
|
37
|
+
<div class="sm:flex-1 sm:mb-0 mb-6">
|
38
|
+
<input type="submit" name="commit" value="Create Post" class="btn btn-primary">
|
39
|
+
</div>
|
40
|
+
<a class="btn btn-white" href="#">Cancel</a>
|
41
|
+
</div>
|
42
|
+
</form>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
<% end %>
|
46
|
+
|
47
|
+
<% content_for :example, flush: true do %>
|
48
|
+
<%# .erb %>
|
49
|
+
<% content_for :erb, flush: true do %>
|
50
|
+
<div class="max-w-3xl mx-auto px-4 my-16">
|
51
|
+
<div class="mb-6 pb-6 border-b border-neutral-200/90 dark:border-neutral-700">
|
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">
|
54
|
+
<li>
|
55
|
+
<%%= link_to "Posts", posts_path, 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
|
+
<span class="text-neutral-600 dark:text-neutral-500" aria-current="page">New</span>
|
62
|
+
</li>
|
63
|
+
</ol>
|
64
|
+
</nav>
|
65
|
+
<h1 class="h2">New Post</h1>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div>
|
69
|
+
<%%= render "form", post: @post %>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
<% end %>
|
73
|
+
|
74
|
+
<% content_for :ruby do %>
|
75
|
+
|
76
|
+
<% end %>
|
77
|
+
<%= render_snippet active_tab: "erb", erb_filename: "new.html.erb" %>
|
78
|
+
<% end %>
|
79
|
+
<% end %>
|
80
|
+
</div>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<div id="scaffolds-partial">
|
2
|
+
<%= render layout: example, locals: { heading: "Partial", section: "Scaffolds" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<article class="font-tiktok py-6 prose prose-neutral dark:prose-invert">
|
6
|
+
<div>
|
7
|
+
<p class="mb-0 font-semibold">
|
8
|
+
Title
|
9
|
+
</p>
|
10
|
+
<p class="my-0">
|
11
|
+
Example post title 2
|
12
|
+
</p>
|
13
|
+
</div>
|
14
|
+
<div>
|
15
|
+
<p class="mb-0 font-semibold">
|
16
|
+
Content
|
17
|
+
</p>
|
18
|
+
<p class="my-0">
|
19
|
+
Example post content 2
|
20
|
+
</p>
|
21
|
+
</div>
|
22
|
+
<time class="text-neutral-600 dark:text-neutral-400 text-xs mt-2" datetime="February 23, 2023 12:37">Created 1 minute ago</time>
|
23
|
+
</article>
|
24
|
+
<% end %>
|
25
|
+
|
26
|
+
<% content_for :example, flush: true do %>
|
27
|
+
<%# .erb %>
|
28
|
+
<% content_for :erb, flush: true do %>
|
29
|
+
<article id="<%%= dom_id post %>" class="py-6 prose dark:prose-invert">
|
30
|
+
<div>
|
31
|
+
<p class="mb-0 font-semibold">
|
32
|
+
Title
|
33
|
+
</p>
|
34
|
+
<p class="mt-0">
|
35
|
+
<%%= post.title %>
|
36
|
+
</p>
|
37
|
+
</div>
|
38
|
+
<div>
|
39
|
+
<p class="mb-0 font-semibold">
|
40
|
+
Content
|
41
|
+
</p>
|
42
|
+
<p class="my-0">
|
43
|
+
<%%= post.content %>
|
44
|
+
</p>
|
45
|
+
</div>
|
46
|
+
<time class="text-neutral-600 dark:text-neutral-400 text-xs mt-2" datetime="<%%= post.created_at.to_formatted_s(:long) %>">Created <%%= time_ago_in_words(post.created_at) + " ago" %></time>
|
47
|
+
</article>
|
48
|
+
<% end %>
|
49
|
+
|
50
|
+
<% content_for :ruby do %>
|
51
|
+
|
52
|
+
<% end %>
|
53
|
+
<%= render_snippet active_tab: "erb", erb_filename: "_post.html.erb" %>
|
54
|
+
<% end %>
|
55
|
+
<% end %>
|
56
|
+
</div>
|