railsui 3.1.5 → 3.2.1
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
@@ -2,9 +2,11 @@
|
|
2
2
|
<%= render layout: example, locals: { heading: "Pagy", section: "Pagination" } do %>
|
3
3
|
|
4
4
|
<div class="prose prose-neutral dark:prose-invert my-6">
|
5
|
-
<p><%= link_to "Pagy", "https://github.com/ddnexus/pagy", target: :_blank %> is a popular pagination solution for Ruby/Rails developers.
|
5
|
+
<p><%= link_to "Pagy", "https://github.com/ddnexus/pagy", target: :_blank %> is a popular pagination solution for Ruby/Rails developers. This implementation uses Pagy's default <code>pagy_nav</code> helper with custom CSS styling to match the Rails UI design system.</p>
|
6
6
|
|
7
|
-
<p>To
|
7
|
+
<p>To use this design, include the CSS styles in your stylesheet and use the simple ERB snippet below. The <code>@pagy</code> instance variable should be passed to your view from the controller.</p>
|
8
|
+
|
9
|
+
<p>The CSS overrides Pagy's default styling using Tailwind's <code>@apply</code> directive to apply Rails UI classes while maintaining all of Pagy's built-in functionality.</p>
|
8
10
|
</div>
|
9
11
|
|
10
12
|
<%= render preview "zinc" do %>
|
@@ -38,109 +40,62 @@
|
|
38
40
|
|
39
41
|
<% content_for :example, flush: true do %>
|
40
42
|
<% content_for :html, flush: true do %>
|
41
|
-
|
42
|
-
<div class="flex flex-wrap items-center sm:justify-between justify-center">
|
43
|
-
<span class="sm:flex-1 flex justify-start items-center sm:w-auto w-full">
|
44
|
-
<span class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mb-0 mb-3 select-none pointer-events-none opacity-60">Previous</span>
|
45
|
-
</span>
|
46
|
-
<span class="size-10 flex items-center justify-center border-t-2 border-primary-500 hover:bg-primary-50/50 text-primary-600 dark:text-primary-500 dark:border-primary-500 dark:hover:bg-primary-500/30">1</span>
|
47
|
-
<span>
|
48
|
-
<a class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200" href="#" rel="next">2</a>
|
49
|
-
</span>
|
50
|
-
<span>
|
51
|
-
<a class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200" href="#">3</a>
|
52
|
-
</span>
|
53
|
-
<span>
|
54
|
-
<a class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200" href="#">4</a>
|
55
|
-
</span>
|
56
|
-
<span>
|
57
|
-
<a class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200" href="#">5</a>
|
58
|
-
</span>
|
59
|
-
<span class="size-10 flex items-center justify-center border-t-2 border-transparent rounded pointer-events-none select-none">…</span>
|
60
|
-
<span>
|
61
|
-
<a class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200" href="#">14</a>
|
62
|
-
</span>
|
63
|
-
<span class="sm:flex-1 flex justify-end items-center sm:w-auto w-full">
|
64
|
-
<a class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mt-0 mt-3" href="#" rel="next" aria-label="next">Next</a>
|
65
|
-
</span>
|
66
|
-
</div>
|
67
|
-
</nav>
|
43
|
+
|
68
44
|
<% end %>
|
69
45
|
|
70
46
|
<% content_for :erb, flush: true do %>
|
71
|
-
|
72
|
-
|
73
|
-
<%% link = pagy_link_proc(pagy) %>
|
74
|
-
<nav aria-label="pager" class="text-zinc-600 sm:text-sm text-base font-medium" role="navigation">
|
75
|
-
<div class="flex flex-wrap items-center sm:justify-between justify-center">
|
76
|
-
<%% if pagy.prev %>
|
77
|
-
<div class="sm:flex-1 flex justify-start items-center sm:w-auto w-full">
|
78
|
-
<%%== link.call(pagy.prev, pagy_t('pagy.nav.prev'), 'aria-label="previous" class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mb-0 mb-3"') %>
|
79
|
-
</div>
|
80
|
-
<%% else %>
|
81
|
-
<div class="sm:flex-1 flex justify-start items-center sm:w-auto w-full">
|
82
|
-
<span class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mb-0 mb-3 select-none pointer-events-none opacity-60">
|
83
|
-
<%%== pagy_t('pagy.nav.prev') %>
|
84
|
-
</span>
|
85
|
-
</div>
|
86
|
-
<%% end %>
|
87
|
-
|
88
|
-
<!-- series example: [1, :gap, 7, 8, "9", 10, 11, :gap, 36] -->
|
89
|
-
<%% pagy.series.each do |item| %>
|
90
|
-
<%% if item.is_a?(Integer) %>
|
91
|
-
<%%== link.call(item, item, 'class="size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"') %>
|
92
|
-
<%% elsif item.is_a?(String) %>
|
93
|
-
<span class="size-10 flex items-center justify-center border-t-2 border-primary-500 hover:bg-primary-50/50 text-primary-600 dark:text-primary-500 dark:border-primary-500 dark:hover:bg-primary-500/30"><%%= item %></span>
|
94
|
-
<%% elsif item == :gap %>
|
95
|
-
<span class="size-10 flex items-center justify-center border-t-2 border-transparent rounded pointer-events-none select-none"><%%== pagy_t('pagy.nav.gap') %></span>
|
96
|
-
<%% end %>
|
97
|
-
<%% end %>
|
98
|
-
|
99
|
-
<%% if pagy.next %>
|
100
|
-
<div class="sm:flex-1 flex justify-end items-center sm:w-auto w-full">
|
101
|
-
<%%== link.call(pagy.next, pagy_t('pagy.nav.next'), 'aria-label="next" class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mt-0 mt-3"') %>
|
102
|
-
</div>
|
103
|
-
<%% else %>
|
104
|
-
<div class="sm:flex-1 flex justify-end items-center sm:w-auto w-full">
|
105
|
-
<span class="btn btn-white flex items-center justify-center gap-2 group md:w-auto w-full md:mt-0 mt-3 select-none pointer-events-none opacity-60">
|
106
|
-
<%%== pagy_t('pagy.nav.next') %>
|
107
|
-
</span>
|
108
|
-
</div>
|
109
|
-
<%% end %>
|
110
|
-
</div>
|
111
|
-
</nav>
|
47
|
+
<%%== pagy_nav(pagy) %>
|
112
48
|
<% end %>
|
113
49
|
|
114
|
-
<% content_for :
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
50
|
+
<% content_for :css, flush: true do %>
|
51
|
+
/* Custom Pagy Styles - Override defaults with shepherd theme design */
|
52
|
+
.pagy nav {
|
53
|
+
@apply text-neutral-600 text-sm font-medium dark:text-neutral-300;
|
54
|
+
}
|
55
|
+
|
56
|
+
.pagy nav > div {
|
57
|
+
@apply flex flex-wrap items-center justify-between;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Previous/Next buttons */
|
61
|
+
.pagy nav > div > span:first-child,
|
62
|
+
.pagy nav > div > span:last-child {
|
63
|
+
@apply flex-1 flex justify-start items-center w-auto;
|
64
|
+
}
|
65
|
+
|
66
|
+
.pagy nav > div > span:last-child {
|
67
|
+
@apply justify-end;
|
68
|
+
}
|
69
|
+
|
70
|
+
.pagy nav a[aria-label*="prev"],
|
71
|
+
.pagy nav a[aria-label*="next"] {
|
72
|
+
@apply btn btn-white flex items-center justify-center gap-2 group w-auto mb-0 mt-0;
|
73
|
+
}
|
74
|
+
|
75
|
+
.pagy nav span:disabled {
|
76
|
+
@apply btn btn-white flex items-center justify-center gap-2 group w-auto mb-0 mt-0 select-none pointer-events-none opacity-60;
|
77
|
+
}
|
78
|
+
|
79
|
+
/* Page number links */
|
80
|
+
.pagy nav span:not(:first-child):not(:last-child) {
|
81
|
+
@apply size-10 flex items-center justify-center border-t-2 border-transparent rounded;
|
82
|
+
}
|
83
|
+
|
84
|
+
.pagy nav a:not([aria-label]) {
|
85
|
+
@apply size-10 flex items-center justify-center border-t-2 border-transparent rounded hover:bg-neutral-50 dark:hover:bg-neutral-500/30 dark:hover:text-neutral-200;
|
86
|
+
}
|
87
|
+
|
88
|
+
.pagy nav a.current {
|
89
|
+
@apply size-10 flex items-center justify-center border-t-2 border-primary-500 hover:bg-primary-50/50 text-primary-600 dark:text-primary-500 dark:border-primary-500 dark:hover:bg-primary-500/30;
|
90
|
+
}
|
91
|
+
|
92
|
+
.pagy nav span.gap {
|
93
|
+
@apply size-10 flex items-center justify-center border-t-2 border-transparent rounded pointer-events-none select-none;
|
94
|
+
}
|
141
95
|
<% end %>
|
142
96
|
|
143
|
-
|
97
|
+
|
98
|
+
<%= render_snippet active_tab: "css" %>
|
144
99
|
<% end %>
|
145
100
|
<% end %>
|
146
101
|
</div>
|
@@ -127,33 +127,6 @@
|
|
127
127
|
</nav>
|
128
128
|
<% end %>
|
129
129
|
|
130
|
-
<% content_for :haml, flush: true do %>
|
131
|
-
%nav.text-zinc-600.sm:text-sm.text-base.font-medium.dark:text-zinc-300{"aria-label" => "Page navgiation"}
|
132
|
-
%ul.flex.flex-wrap.items-center.sm:justify-between.justify-center
|
133
|
-
%li.flex-1.flex.justify-start.items-center.sm:w-auto.w-full
|
134
|
-
= link_to "#", class: "btn btn-white flex items-center justify-center space-x-2 pl-3 group md:w-auto w-full md:mb-0 mb-3" do
|
135
|
-
= icon "arrow-small-left", class: "size-4 text-zinc-400 group-hover:text-primary-500 dark:group-hover:text-zinc-200"
|
136
|
-
%span Previous
|
137
|
-
.flex.items-center.justify-center.sm:w-auto.w-full.sm:text-sm.text-lg
|
138
|
-
%li
|
139
|
-
= link_to "1", "#", class: "py-2 px-4 block border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"
|
140
|
-
%li
|
141
|
-
= link_to "2", "#", class: "py-2 px-4 border-t-2 block border-primary-500 hover:bg-primary-50/50 text-primary-600 dark:text-primary-500 dark:border-primary-500 dark:hover:bg-primary-500/30"
|
142
|
-
%li
|
143
|
-
= link_to "3", "#", class: "py-2 px-4 block border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"
|
144
|
-
%li
|
145
|
-
%span.py-2.px-4.block.border-t-2.border-transparent.rounded.pointer-events-none.select-none …
|
146
|
-
%li
|
147
|
-
= link_to "8", "#", class: "py-2 px-4 block border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"
|
148
|
-
%li
|
149
|
-
= link_to "9", "#", class: "py-2 px-4 block border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"
|
150
|
-
%li
|
151
|
-
= link_to "10", "#", class: "py-2 px-4 block border-t-2 border-transparent rounded hover:bg-zinc-50 dark:hover:bg-zinc-500/30 dark:hover:text-zinc-200"
|
152
|
-
%li.flex-1.flex.justify-end.items-center
|
153
|
-
= link_to "#", class: "btn btn-white flex items-center justify-center space-x-2 pr-3 group md:w-auto w-full md:mb-0 mb-3" do
|
154
|
-
%span Next
|
155
|
-
= icon "arrow-small-right", class: "size-4 text-zinc-400 group-hover:text-primary-500 dark:group-hover:text-zinc-200"
|
156
|
-
<% end %>
|
157
130
|
|
158
131
|
<%= render_snippet %>
|
159
132
|
<% end %>
|
@@ -87,30 +87,13 @@ data-railsui-tabs-inactive-tab="py-3 px-4 bg-white dark:bg-transparent inline-bl
|
|
87
87
|
</div>
|
88
88
|
<% end %>
|
89
89
|
|
90
|
-
<% content_for :haml, flush: true do %>
|
91
|
-
%div{"data-controller" => "railsui-tabs", "data-railsui-tabs-active-tab" => "py-3 px-4 border-b border-primary-500 inline-block bg-white whitespace-nowrap dark:bg-transparent dark:text-primary-500 text-primary-500", "data-railsui-tabs-inactive-tab" => "py-3 px-4 bg-white dark:bg-transparent inline-block whitespace-nowrap"}
|
92
|
-
.border-zinc-200.border-b.text-zinc-600.dark:text-zinc-100{class: "dark:border-zinc-600/80 text-[15px]"}
|
93
|
-
%nav.-mb-px.font-heading{role: "navigation"}
|
94
|
-
= link_to "Activity", "#", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" }, class: "py-3 px-4 border-b border-primary-500 inline-block bg-white whitespace-nowrap dark:bg-transparent dark:text-primary-500"
|
95
|
-
= link_to "Account", "#", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" }, class: "py-3 px-4 bg-white dark:bg-transparent inline-block whitespace-nowrap"
|
96
|
-
= link_to "Billing", "#", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" }, class: "py-3 px-4 bg-white dark:bg-transparent inline-block whitespace-nowrap"
|
97
|
-
= link_to "Team", "#", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" }, class: "py-3 px-4 bg-white dark:bg-transparent inline-block whitespace-nowrap"
|
98
|
-
.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
99
|
-
%p Some activities...
|
100
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
101
|
-
%p Account information...
|
102
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
103
|
-
%p Billing information...
|
104
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
105
|
-
%p Team information...
|
106
|
-
<% end %>
|
107
90
|
|
108
91
|
<% content_for :js, flush: true do %>
|
109
92
|
import { RailsuiTabs } from 'railsui-stimulus'
|
110
93
|
application.register('railsui-tabs', RailsuiTabs)
|
111
94
|
<% end %>
|
112
95
|
|
113
|
-
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb",
|
96
|
+
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb", js_filename: "index.js" %>
|
114
97
|
<% end %>
|
115
98
|
<% end %>
|
116
99
|
</div>
|
@@ -89,30 +89,13 @@ data-railsui-tabs-inactive-tab="py-2 px-4 rounded-full dark:hover:bg-zinc-800/75
|
|
89
89
|
</div>
|
90
90
|
<% end %>
|
91
91
|
|
92
|
-
<% content_for :haml, flush: true do %>
|
93
|
-
%div{"data-controller" => "railsui-tabs", "data-railsui-tabs-active-tab" => "py-2 px-4 bg-primary-50 rounded-full text-primary-500 dark:bg-primary-500 dark:text-white", "data-railsui-tabs-inactive-tab" => "py-2 px-4 rounded-full dark:hover:bg-zinc-800/75 transition duration-200 ease-in-out"}
|
94
|
-
.text-zinc-600.dark:text-zinc-300
|
95
|
-
%nav.flex.items-center.space-x-1.font-heading.font-normal{class: "text-[15px]", role: "navigation"}
|
96
|
-
= link_to "Activity", "#", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }, class: "py-2 px-4 bg-primary-50 rounded-full text-primary-500 dark:bg-primary-500 dark:text-white transition duration-200 ease-in-out"
|
97
|
-
= link_to "Account", "#", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }, class: "py-2 px-4 rounded-full dark:hover:bg-zinc-800/75 transition duration-200 ease-in-out"
|
98
|
-
= link_to "Billing", "#", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }, class: "py-2 px-4 rounded-full dark:hover:bg-zinc-800/75 transition duration-200 ease-in-out"
|
99
|
-
= link_to "Team", "#", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }, class: "py-2 px-4 rounded-full dark:hover:bg-zinc-800/75 transition duration-200 ease-in-out"
|
100
|
-
.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
101
|
-
%p Some activities...
|
102
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
103
|
-
%p Account information...
|
104
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
105
|
-
%p Billing information...
|
106
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
107
|
-
%p Team information...
|
108
|
-
<% end %>
|
109
92
|
|
110
93
|
<% content_for :js, flush: true do %>
|
111
94
|
import { RailsuiTabs } from 'railsui-stimulus'
|
112
95
|
application.register('railsui-tabs', RailsuiTabs)
|
113
96
|
<% end %>
|
114
97
|
|
115
|
-
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb",
|
98
|
+
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb", js_filename: "index.js" %>
|
116
99
|
<% end %>
|
117
100
|
<% end %>
|
118
101
|
</div>
|
@@ -92,30 +92,13 @@
|
|
92
92
|
</div>
|
93
93
|
<% end %>
|
94
94
|
|
95
|
-
<% content_for :haml, flush: true do %>
|
96
|
-
%div{"data-controller" => "railsui-tabs", "data-railsui-tabs-active-tab" => "py-2 px-4 bg-primary-50 rounded text-primary-500 dark:bg-primary-500 dark:text-white", "data-railsui-tabs-inactive-tab" => "py-2 px-4 rounded-md dark:text-slate-200 dark:hover:bg-zinc-800/75 transition duration-200 ease-in-out"}
|
97
|
-
%div
|
98
|
-
%nav.flex.items-center.text-zinc-600.space-x-1.font-medium.text-sm{role: "navigation"}
|
99
|
-
= link_to "Activity", "#", class: "py-3 px-4 bg-primary-50 rounded-md text-primary-600 dark:bg-primary-600 dark:text-white", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }
|
100
|
-
= link_to "Account", "#", class: "py-2 px-4 rounded-md transition duration-200 ease-in-out", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }
|
101
|
-
= link_to "Billing", "#", class: "py-2 px-4 rounded-md transition duration-200 ease-in-out", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }
|
102
|
-
= link_to "Team", "#", class: "py-2 px-4 rounded-md transition duration-200 ease-in-out", data: { action: "click->railsui-tabs#change", railsui_tabs_target: "tab" }
|
103
|
-
.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
104
|
-
Some activities...
|
105
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
106
|
-
Account information...
|
107
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
108
|
-
Billing information...
|
109
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
110
|
-
Team information...
|
111
|
-
<% end %>
|
112
95
|
|
113
96
|
<% content_for :js, flush: true do %>
|
114
97
|
import { RailsuiTabs } from 'railsui-stimulus'
|
115
98
|
application.register('railsui-tabs', RailsuiTabs)
|
116
99
|
<% end %>
|
117
100
|
|
118
|
-
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb",
|
101
|
+
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb", js_filename: "index.js" %>
|
119
102
|
<% end %>
|
120
103
|
<% end %>
|
121
104
|
</div>
|
@@ -129,31 +129,6 @@ data-railsui-tabs-inactive-tab="py-2 px-4 flex items-center space-x-3 whitespace
|
|
129
129
|
</div>
|
130
130
|
<% end %>
|
131
131
|
|
132
|
-
<% content_for :haml, flush: true do %>
|
133
|
-
%div{"data-controller" => "railsui-tabs", "data-railsui-tabs-active-tab" => "py-2 px-4 border-b border-zinc-300 border-primary-500 flex items-center space-x-3 bg-white whitespace-nowrap text-primary-500 dark:bg-primary-500 dark:text-white dark:border-primary-600 rounded-t", "data-railsui-tabs-inactive-tab" => "py-2 px-4 flex items-center space-x-3 whitespace-nowrap border-b bg-white dark:border-zinc-600 dark:bg-transparent"}
|
134
|
-
.border-zinc-300.border-b.text-zinc-600.dark:text-zinc-200.dark:border-zinc-600{class: "text-[15px]"}
|
135
|
-
%nav.-mb-px.flex.items-center.flex-wrap.font-heading{role: "navigation"}
|
136
|
-
= link_to "#", class: "py-2 px-4 border-b border-primary-500 flex items-center space-x-3 bg-white whitespace-nowrap text-primary-500 dark:bg-primary-500 dark:text-white rounded-t", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" } do
|
137
|
-
= icon "chat-bubble-oval-left-ellipsis", class: "size-5"
|
138
|
-
%span Activity
|
139
|
-
= link_to "#", class: "py-2 px-4 flex items-center space-x-3 whitespace-nowrap border-b bg-white dark:border-zinc-600 dark:bg-transparent", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" } do
|
140
|
-
= icon "user-circle", class: "size-5"
|
141
|
-
%span Account
|
142
|
-
= link_to "#", class: "py-2 px-4 flex items-center space-x-3 whitespace-nowrap border-b bg-white dark:border-zinc-600 dark:bg-transparent", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" } do
|
143
|
-
= icon "credit-card", class: "size-5"
|
144
|
-
%span Billing
|
145
|
-
= link_to "#", class: "py-2 px-4 flex items-center space-x-3 whitespace-nowrap border-b bg-white dark:border-zinc-600 dark:bg-transparent", data: { railsui_tabs_target: "tab", action: "click->railsui-tabs#change" } do
|
146
|
-
= icon "users", class: "size-5"
|
147
|
-
%span Team
|
148
|
-
.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
149
|
-
Some activities...
|
150
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
151
|
-
Account information...
|
152
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
153
|
-
Billing information...
|
154
|
-
.hidden.p-4.prose.prose-zinc.dark:prose-invert{"data-railsui-tabs-target" => "panel"}
|
155
|
-
Team information...
|
156
|
-
<% end %>
|
157
132
|
|
158
133
|
<% content_for :js, flush: true do %>
|
159
134
|
// Docs: https://github.com/getrailsui/railsui-stimulus/
|
@@ -161,7 +136,7 @@ import { RailsuiTabs } from 'railsui-stimulus'
|
|
161
136
|
application.register('railsui-tabs', RailsuiTabs)
|
162
137
|
<% end %>
|
163
138
|
|
164
|
-
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb",
|
139
|
+
<%= render_snippet html_filename: "tabs.html", erb_filename: "_tabs.html.erb", js_filename: "index.js" %>
|
165
140
|
<% end %>
|
166
141
|
<% end %>
|
167
142
|
</div>
|
@@ -81,22 +81,6 @@
|
|
81
81
|
</div>
|
82
82
|
<% end %>
|
83
83
|
|
84
|
-
<% content_for :haml, flush: true do %>
|
85
|
-
.relative.overflow-hidden
|
86
|
-
.pointer-events-none.absolute.flex.items-center.justify-end.px-4.py-6.sm:p-6.top-0.right-0.left-0.w-full.animate-toast-from-right(aria-live="assertive" data-controller="railsui-toast")
|
87
|
-
.pointer-events-auto.w-full.max-w-sm.overflow-hidden.rounded-md.bg-white.shadow-lg.ring-1.dark:bg-zinc-950.dark:border(class="dark:border-zinc-700/80 ring-black/5")
|
88
|
-
.p-4
|
89
|
-
.flex.items-start
|
90
|
-
.shrink-0
|
91
|
-
= icon "hand-thumb-up", class: "size-6 text-blue-500 dark:text-blue-400"
|
92
|
-
.ml-3.w-0.flex-1(class="pt-0.5")
|
93
|
-
%p.text-sm.font-medium.text-zinc-900.dark:text-white Successfully liked!
|
94
|
-
%p.mt-1.text-sm.text-zinc-500.dark:text-zinc-300 John Doe has been notified.
|
95
|
-
.ml-4.flex.shrink-0
|
96
|
-
%button.inline-flex.rounded-sm.bg-white.text-zinc-400.hover:text-zinc-500.focus:outline-hidden.focus:ring-2.focus:ring-zinc-50.dark:bg-transparent.dark:focus:ring-zinc-500.dark:hover:text-zinc-100.dark:focus:text-zinc-100(data-action="click->railsui-toast#hide" type="button")
|
97
|
-
%span.sr-only Close
|
98
|
-
= icon "x-mark", class: "size-5"
|
99
|
-
<% end %>
|
100
84
|
|
101
85
|
<% content_for :css, flush: true do %>
|
102
86
|
|
@@ -17,9 +17,6 @@
|
|
17
17
|
<%%= button_tag "#", class: "btn btn-primary", data: { controller: "railsui-tooltip", railsui_tooltip_content_value: "This is the <strong>bold</strong> and <u>underlined</u> content inside my tooltip!", railsui_tooltip_allow_html_value: "true" } %>
|
18
18
|
<% end %>
|
19
19
|
|
20
|
-
<% content_for :haml, flush: true do %>
|
21
|
-
%button.btn.btn-primary{"data-controller" => "railsui-tooltip", "data-railsui-tooltip-allow-html-value" => "true", "data-railsui-tooltip-content-value" => "This is the <strong>bold</strong> and <u>underlined</u> content inside my tooltip!"} Tooltip with HTML demo
|
22
|
-
<% end %>
|
23
20
|
|
24
21
|
<% content_for :js, flush: true do %>
|
25
22
|
// Docs: https://github.com/getrailsui/railsui-stimulus
|
@@ -25,11 +25,6 @@
|
|
25
25
|
</div>
|
26
26
|
<% end %>
|
27
27
|
|
28
|
-
<%# .haml %>
|
29
|
-
<% content_for :haml, flush: true do %>
|
30
|
-
.bg-slate-50
|
31
|
-
image_tag "#", class: "object-cover h-48 w-96"
|
32
|
-
<% end %>
|
33
28
|
<%= render_snippet %>
|
34
29
|
</div>
|
35
30
|
|
@@ -60,11 +55,6 @@
|
|
60
55
|
</div>
|
61
56
|
<% end %>
|
62
57
|
|
63
|
-
<%# .haml %>
|
64
|
-
<% content_for :haml, flush: true do %>
|
65
|
-
.bg-slate-50
|
66
|
-
image_tag "#", class: "object-contain h-48 w-96"
|
67
|
-
<% end %>
|
68
58
|
<%= render_snippet %>
|
69
59
|
</div>
|
70
60
|
|
@@ -94,11 +84,6 @@
|
|
94
84
|
</div>
|
95
85
|
<% end %>
|
96
86
|
|
97
|
-
<%# .haml %>
|
98
|
-
<% content_for :haml, flush: true do %>
|
99
|
-
.bg-slate-50
|
100
|
-
image_tag "#", class: "object-fill h-48 w-96"
|
101
|
-
<% end %>
|
102
87
|
<%= render_snippet %>
|
103
88
|
</div>
|
104
89
|
|
@@ -128,11 +113,6 @@
|
|
128
113
|
</div>
|
129
114
|
<% end %>
|
130
115
|
|
131
|
-
<%# .haml %>
|
132
|
-
<% content_for :haml, flush: true do %>
|
133
|
-
.bg-zinc-50
|
134
|
-
image_tag "#", class: "object-scale-down h-48 w-96"
|
135
|
-
<% end %>
|
136
116
|
<%= render_snippet %>
|
137
117
|
</div>
|
138
118
|
|
@@ -86,27 +86,6 @@
|
|
86
86
|
<%% end %>
|
87
87
|
<% end %>
|
88
88
|
|
89
|
-
<%# .haml %>
|
90
|
-
<% content_for :haml, flush: true do %>
|
91
|
-
= tag.table class: "table-auto w-full border border-zinc-300 dark:border-zinc-700/80" do
|
92
|
-
= tag.thead do
|
93
|
-
= tag.tr do
|
94
|
-
= tag.th "First", scope: "col", class: "text-left p-3 border border-zinc-200 dark:border-zinc-700/80"
|
95
|
-
= tag.th "Last", scope: "col", class: "text-left p-3 border border-zinc-200 dark:border-zinc-700/80"
|
96
|
-
= tag.th "Handle", scope: "col", class: "text-left p-3 border border-zinc-200 dark:border-zinc-700/80"
|
97
|
-
= tag.tbody do
|
98
|
-
= tag.tr do
|
99
|
-
= tag.td "Andy", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
100
|
-
= tag.td "L.", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
101
|
-
= tag.td "@railsui_", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
102
|
-
= tag.tr do
|
103
|
-
= tag.td "Web", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
104
|
-
= tag.td "Crunch", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
105
|
-
= tag.td "@webcrunchblog", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
106
|
-
= tag.tr do
|
107
|
-
= tag.td "justalever", colspan: "2", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
108
|
-
= tag.td "@justalever", class: "p-3 border border-zinc-200 dark:border-zinc-700/80"
|
109
|
-
<% end %>
|
110
89
|
<%= render_snippet %>
|
111
90
|
<% end %>
|
112
91
|
<% end %>
|
@@ -87,27 +87,6 @@
|
|
87
87
|
<%% end %>
|
88
88
|
<% end %>
|
89
89
|
|
90
|
-
<%# .haml %>
|
91
|
-
<% content_for :haml, flush: true do %>
|
92
|
-
%table.table-auto.w-full
|
93
|
-
%thead
|
94
|
-
%tr
|
95
|
-
%th.text-left.p-3.border-b-2.border-zinc-200(class="dark:border-zinc-700/80" scope="col") First
|
96
|
-
%th.text-left.p-3.border-b-2.border-zinc-200(class="dark:border-zinc-700/80" scope="col") Last
|
97
|
-
%th.text-left.p-3.border-b-2.border-zinc-200(class="dark:border-zinc-700/80" scope="col") Handle
|
98
|
-
%tbody
|
99
|
-
%tr
|
100
|
-
%td.p-3.text-left Andy
|
101
|
-
%td.p-3.text-left L.
|
102
|
-
%td.p-3.text-left @railsui_
|
103
|
-
%tr
|
104
|
-
%td.p-3.text-left Web
|
105
|
-
%td.p-3.text-left Crunch
|
106
|
-
%td.p-3.text-left @webcrunchblog
|
107
|
-
%tr
|
108
|
-
%td.p-3.text-left(colspan="2") justalever
|
109
|
-
%td.p-3.text-left @justalever
|
110
|
-
<% end %>
|
111
90
|
<%= render_snippet %>
|
112
91
|
<% end %>
|
113
92
|
<% end %>
|
@@ -34,15 +34,6 @@ Someone famous in
|
|
34
34
|
<%% end %>
|
35
35
|
<% end %>
|
36
36
|
|
37
|
-
<%# .haml %>
|
38
|
-
<% content_for :haml, flush: true do %>
|
39
|
-
%figure.pl-6.border-l-2.border-primary-500.py-1
|
40
|
-
%blockquote.text-xl.font-heading.font-light.mb-1.text-zinc-800.dark:text-zinc-100
|
41
|
-
%p A well-known quote, contained in a blockquote element.
|
42
|
-
%figcaption.text-zinc-500.text-sm.dark:text-zinc-300
|
43
|
-
Someone famous in
|
44
|
-
%cite(title="Source Title") Source Title
|
45
|
-
<% end %>
|
46
37
|
|
47
38
|
<%= render_snippet %>
|
48
39
|
<% end %>
|
@@ -64,15 +64,6 @@
|
|
64
64
|
<%%= content_tag :h6, "A quick brown fox jumps over the lazy dog.", class: "display-6" %>
|
65
65
|
<% end %>
|
66
66
|
|
67
|
-
<%# .haml %>
|
68
|
-
<% content_for :haml, flush: true do %>
|
69
|
-
= content_tag :h1, "A quick brown fox jumps over the lazy dog.", class: "display-1"
|
70
|
-
= content_tag :h2, "A quick brown fox jumps over the lazy dog.", class: "display-2"
|
71
|
-
= content_tag :h3, "A quick brown fox jumps over the lazy dog.", class: "display-3"
|
72
|
-
= content_tag :h4, "A quick brown fox jumps over the lazy dog.", class: "display-4"
|
73
|
-
= content_tag :h5, "A quick brown fox jumps over the lazy dog.", class: "display-5"
|
74
|
-
= content_tag :h6, "A quick brown fox jumps over the lazy dog.", class: "display-6"
|
75
|
-
<% end %>
|
76
67
|
|
77
68
|
<%= render_snippet %>
|
78
69
|
<% end %>
|
@@ -63,18 +63,6 @@
|
|
63
63
|
<%%= content_tag :h5, "A quick brown fox jumps over the lazy dog.", class: "h5" %>
|
64
64
|
<%%= content_tag :h6, "A quick brown fox jumps over the lazy dog.", class: "h6" %>
|
65
65
|
<% end %>
|
66
|
-
<%# snippet content :haml %>
|
67
|
-
<% content_for :haml, flush: true do %>
|
68
|
-
= content_tag :h1, "A quick brown fox jumps over the lazy dog.", class: "text-5xl font-semibold font-heading text-zinc-900 dark:text-zinc-100 -tracking-[0.03em]"
|
69
|
-
= content_tag :h2, "A quick brown fox jumps over the lazy dog.", class: "text-4xl font-semibold font-heading text-zinc-900 dark:text-zinc-100 tracking-tight"
|
70
|
-
= content_tag :h3, "A quick brown fox jumps over the lazy dog.", class: "h3"
|
71
|
-
= content_tag :h4, "A quick brown fox jumps over the lazy dog.", class: "h4"
|
72
|
-
= content_tag :h5, "A quick brown fox jumps over the lazy dog.", class: "h5"
|
73
|
-
= content_tag :h6, "A quick brown fox jumps over the lazy dog.", class: "h6"
|
74
|
-
<% end %>
|
75
|
-
<%= render_snippet %>
|
76
|
-
<% end %>
|
77
|
-
<% end %>
|
78
66
|
</div>
|
79
67
|
|
80
68
|
<div id="typography-responsive" class="prose prose-netural dark:prose-invert max-w-full prose-headings:tracking-tight">
|
@@ -86,9 +74,6 @@
|
|
86
74
|
<h1 class="md:h1 h2">My sample title</h1>
|
87
75
|
<% end %>
|
88
76
|
|
89
|
-
<% content_for :haml, flush: true do %>
|
90
|
-
|
91
|
-
<% end %>
|
92
77
|
|
93
78
|
<% content_for :erb, flush: true do %>
|
94
79
|
|