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,98 @@
|
|
1
|
+
<div id="toast-simple">
|
2
|
+
<%= render layout: example, locals: { heading: "Simple", section: "Toast" } do %>
|
3
|
+
|
4
|
+
<div class="relative bg-neutral-100 border-neutral-200 border rounded-lg p-10 w-full min-h-[280px] dark:bg-neutral-900 dark:border-neutral-700 overflow-hidden">
|
5
|
+
<div aria-live="assertive" class="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" data-controller="toast">
|
6
|
+
<div class="pointer-events-auto w-full max-w-sm overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/10 dark:bg-neutral-950 dark:border dark:border-neutral-700/80">
|
7
|
+
<div class="p-4">
|
8
|
+
<div class="flex items-start">
|
9
|
+
<div class="shrink-0">
|
10
|
+
<%= icon "hand-thumb-up", class: "size-6 text-blue-500 dark:text-blue-400" %>
|
11
|
+
</div>
|
12
|
+
<div class="ml-3 w-0 flex-1 pt-0.5">
|
13
|
+
<p class="text-sm font-medium text-neutral-900 dark:text-white">Successfully liked!</p>
|
14
|
+
<p class="mt-1 text-sm text-neutral-500 dark:text-neutral-300">John Doe has been notified.</p>
|
15
|
+
</div>
|
16
|
+
<div class="ml-4 flex shrink-0">
|
17
|
+
<button type="button" class="inline-flex rounded-sm bg-white text-neutral-400 hover:text-neutral-500 focus:outline-hidden focus:ring-2 focus:ring-neutral-50 dark:bg-transparent dark:focus:ring-neutral-500 dark:hover:text-neutral-100
|
18
|
+
dark:focus:text-neutral-100" data-action="click->toast#hide">
|
19
|
+
<span class="sr-only">Close</span>
|
20
|
+
<%= icon "x-mark", class: "size-5 pointer-events-none" %>
|
21
|
+
</button>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<% content_for :example, flush: true do %>
|
30
|
+
<% content_for :html, flush: true do %>
|
31
|
+
<div class="relative overflow-hidden">
|
32
|
+
<div aria-live="assertive" class="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" data-controller="railsui-toast">
|
33
|
+
<div class="pointer-events-auto w-full max-w-sm overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/10 dark:bg-neutral-950 dark:border dark:border-neutral-700/80">
|
34
|
+
<div class="p-4">
|
35
|
+
<div class="flex items-start">
|
36
|
+
<div class="shrink-0">
|
37
|
+
<%%= icon "hand-thumb-up", class: "size-6 text-blue-500 dark:text-blue-400" %>
|
38
|
+
</div>
|
39
|
+
<div class="ml-3 w-0 flex-1 pt-0.5">
|
40
|
+
<p class="text-sm font-medium text-neutral-900 dark:text-white">Successfully liked!</p>
|
41
|
+
<p class="mt-1 text-sm text-neutral-500 dark:text-neutral-300">John Doe has been notified.</p>
|
42
|
+
</div>
|
43
|
+
<div class="ml-4 flex shrink-0">
|
44
|
+
<button type="button" class="inline-flex rounded-sm bg-white text-neutral-400 hover:text-neutral-500 focus:outline-hidden focus:ring-2 focus:ring-neutral-50 dark:bg-transparent dark:focus:ring-neutral-500 dark:hover:text-neutral-100
|
45
|
+
dark:focus:text-neutral-100" data-action="click->railsui-toast#hide">
|
46
|
+
<span class="sr-only">Close</span>
|
47
|
+
<%%= icon "x-mark", class: "size-5" %>
|
48
|
+
</button>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<% end %>
|
56
|
+
|
57
|
+
<% content_for :erb, flush: true do %>
|
58
|
+
<div class="relative overflow-hidden">
|
59
|
+
<div aria-live="assertive" class="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" data-controller="railsui-toast">
|
60
|
+
<div class="pointer-events-auto w-full max-w-sm overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black/10 dark:bg-neutral-950 dark:border dark:border-neutral-700/80">
|
61
|
+
<div class="p-4">
|
62
|
+
<div class="flex items-start">
|
63
|
+
<div class="shrink-0">
|
64
|
+
<%%= icon "hand-thumb-up", class: "size-6 text-blue-500 dark:text-blue-400" %>
|
65
|
+
</div>
|
66
|
+
<div class="ml-3 w-0 flex-1 pt-0.5">
|
67
|
+
<p class="text-sm font-medium text-neutral-900 dark:text-white">Successfully liked!</p>
|
68
|
+
<p class="mt-1 text-sm text-neutral-500 dark:text-neutral-300">John Doe has been notified.</p>
|
69
|
+
</div>
|
70
|
+
<div class="ml-4 flex shrink-0">
|
71
|
+
<button type="button" class="inline-flex rounded-sm bg-white text-neutral-400 hover:text-neutral-500 focus:outline-hidden focus:ring-2 focus:ring-neutral-50 dark:bg-transparent dark:focus:ring-neutral-500 dark:hover:text-neutral-100
|
72
|
+
dark:focus:text-neutral-100" data-action="click->railsui-toast#hide">
|
73
|
+
<span class="sr-only">Close</span>
|
74
|
+
<%%= icon "x-mark", class: "size-5" %>
|
75
|
+
</button>
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
<% end %>
|
83
|
+
|
84
|
+
|
85
|
+
<% content_for :css, flush: true do %>
|
86
|
+
|
87
|
+
<% end %>
|
88
|
+
|
89
|
+
<% content_for :js, flush: true do %>
|
90
|
+
import { RailsuiToast } from 'railsui-stimulus'
|
91
|
+
application.register('railsui-toast', RailsuiToast)
|
92
|
+
<% end %>
|
93
|
+
|
94
|
+
<%= render_snippet js_filename: "index.js" %>
|
95
|
+
|
96
|
+
<% end %>
|
97
|
+
<% end %>
|
98
|
+
</div>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<div id="tooltip-base">
|
2
|
+
<%= render layout: example, locals: { heading: "Base", section: "Tooltip" } do %>
|
3
|
+
|
4
|
+
<%= render preview('neutral') do %>
|
5
|
+
<button data-controller="railsui-tooltip" data-railsui-tooltip-content-value="Hi, from the tips of tools" class="btn btn-primary">Hover here</button>
|
6
|
+
<button data-controller="railsui-tooltip" data-railsui-tooltip-content-value="We raised over $1 billion to engineer the greatest tooltip of our lives. <strong>What's super cool</strong> is that HTML can be embedded into the tooltip for max emphasis." data-railsui-tooltip-allow-html-value="true" class="btn btn-white">and here</button>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<% content_for :example, flush: true do %>
|
10
|
+
<% content_for :html, flush: true do %>
|
11
|
+
<button data-controller="railsui-tooltip" data-railsui-tooltip-content-value="This is the <strong>bold</strong> and <u>underlined</u> content inside my tooltip!" data-railsui-tooltip-allow-html-value="true" class="btn btn-primary">Tooltip with HTML demo</button>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :erb, flush: true do %>
|
15
|
+
<%%= 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" } %>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
|
19
|
+
<% content_for :js, flush: true do %>
|
20
|
+
// https://github.com/getrailsui/railsui-stimulus/blob/main/src/railsui_tooltip.js
|
21
|
+
|
22
|
+
import { Controller } from '@hotwired/stimulus'
|
23
|
+
import tippy from 'tippy.js'
|
24
|
+
|
25
|
+
export default class extends Controller {
|
26
|
+
static values = {
|
27
|
+
content: String,
|
28
|
+
allowHtml: { type: Boolean, default: false },
|
29
|
+
}
|
30
|
+
|
31
|
+
connect() {
|
32
|
+
let options = {}
|
33
|
+
if (this.hasContentValue) {
|
34
|
+
options['content'] = this.contentValue
|
35
|
+
}
|
36
|
+
if (this.hasAllowHtmlValue) {
|
37
|
+
options['allowHTML'] = this.allowHtmlValue
|
38
|
+
}
|
39
|
+
this.tippy = tippy(this.element, options)
|
40
|
+
}
|
41
|
+
|
42
|
+
disconnect() {
|
43
|
+
this.tippy.destroy()
|
44
|
+
}
|
45
|
+
}
|
46
|
+
<% end %>
|
47
|
+
|
48
|
+
<%= render_snippet js_filename: "tooltip_controller.js" %>
|
49
|
+
<% end %>
|
50
|
+
<% end %>
|
51
|
+
</div>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<% path = "railsui/themes/#{Railsui.config.theme}/content/image" %>
|
2
|
+
|
3
|
+
<%= render "#{path}/responsive" %>
|
4
|
+
|
5
|
+
<%= divider %>
|
6
|
+
|
7
|
+
<%= render "#{path}/object_cover" %>
|
8
|
+
|
9
|
+
<%= divider %>
|
10
|
+
|
11
|
+
<%= render "#{path}/object_contain" %>
|
12
|
+
|
13
|
+
<%= divider %>
|
14
|
+
|
15
|
+
<%= render "#{path}/object_fill" %>
|
16
|
+
|
17
|
+
<%= divider %>
|
18
|
+
|
19
|
+
<%= render "#{path}/object_scale_down" %>
|
20
|
+
|
21
|
+
<%= system_pagination(prev_path: systems_icons_path, prev_text: "Icons", next_path: systems_scaffolds_path, next_text: "Scaffold") %>
|
22
|
+
|
23
|
+
<%= content_for :component_nav do %>
|
24
|
+
<%= render layout: "railsui/shared/component_nav", locals: { title: "On this page" } do %>
|
25
|
+
<%= component_link "Responsive", "#image-responsive" %>
|
26
|
+
<%= component_link "Object Cover", "#image-object-cover" %>
|
27
|
+
<%= component_link "Object Contain", "#image-object-contain" %>
|
28
|
+
<%= component_link "Object Fill", "#image-object-fill" %>
|
29
|
+
<%= component_link "Object Scale Down", "#image-object-scale-down" %>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<% path = "railsui/themes/#{Railsui.config.theme}/content/table" %>
|
2
|
+
|
3
|
+
<%= render "#{path}/bordered" %>
|
4
|
+
|
5
|
+
<%= divider %>
|
6
|
+
|
7
|
+
<%= render "#{path}/borderless" %>
|
8
|
+
|
9
|
+
<%= divider %>
|
10
|
+
|
11
|
+
<%= render "#{path}/comparison" %>
|
12
|
+
|
13
|
+
<%= system_pagination(prev_path: systems_content_typography_path, prev_text: "Typography", next_path: systems_icons_path, next_text: "Icons") %>
|
14
|
+
|
15
|
+
<%= content_for :component_nav do %>
|
16
|
+
<%= render layout: "railsui/shared/component_nav", locals: { title: "On this page" } do %>
|
17
|
+
<%= component_link "Border", "#table-border" %>
|
18
|
+
<%= component_link "Borderless", "#table-borderless" %>
|
19
|
+
<%= component_link "Comparison", "#table-comparison" %>
|
20
|
+
<% end %>
|
21
|
+
<% end %>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<% path = "railsui/themes/#{Railsui.config.theme}/content/typography" %>
|
2
|
+
|
3
|
+
|
4
|
+
<%= render "#{path}/fonts" %>
|
5
|
+
|
6
|
+
<%= divider %>
|
7
|
+
|
8
|
+
<%= render "#{path}/headings" %>
|
9
|
+
|
10
|
+
<%= divider %>
|
11
|
+
|
12
|
+
<%= render "#{path}/display_headings" %>
|
13
|
+
|
14
|
+
<%= divider %>
|
15
|
+
|
16
|
+
<%= render "#{path}/blockquote" %>
|
17
|
+
|
18
|
+
<%= divider %>
|
19
|
+
|
20
|
+
<%= render "#{path}/lists" %>
|
21
|
+
|
22
|
+
<%= divider %>
|
23
|
+
|
24
|
+
<%= render "#{path}/lead_paragraph" %>
|
25
|
+
|
26
|
+
<%= divider %>
|
27
|
+
|
28
|
+
<%= render "#{path}/paragraphs" %>
|
29
|
+
|
30
|
+
<%= divider %>
|
31
|
+
|
32
|
+
<%= render "#{path}/inline_formatting" %>
|
33
|
+
|
34
|
+
<%= system_pagination(prev_path: systems_content_path, prev_text: "Content", next_path: systems_content_table_path, next_text: "Table") %>
|
35
|
+
|
36
|
+
<%= content_for :component_nav do %>
|
37
|
+
<%= render layout: "railsui/shared/component_nav", locals: { title: "On this page" } do %>
|
38
|
+
<%= component_link "Fonts", "#typography-fonts" %>
|
39
|
+
<%= component_link "Headings", "#typography-headings" %>
|
40
|
+
<%= component_link "Display Headings", "#typography-display-headings" %>
|
41
|
+
<%= component_link "Blockquote", "#typography-blockquote" %>
|
42
|
+
<%= component_link "Lists", "#typography-lists" %>
|
43
|
+
<%= component_link "Lead paragraph", "#typography-lead-paragraph" %>
|
44
|
+
<%= component_link "Paragraphs", "#typography-paragraphs" %>
|
45
|
+
<%= component_link "Inline formatting", "#typography-inline-formatting" %>
|
46
|
+
<% end %>
|
47
|
+
<% end %>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<div id="image-object-contain">
|
2
|
+
<%= render layout: example, locals: { heading: "Object Contain" } do %>
|
3
|
+
<div class="prose prose-neutral dark:prose-invert mb-6">
|
4
|
+
<p>Resize an element’s content to stay contained within its container using <code>.object-contain</code>.</p>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<%= render preview('neutral') do %>
|
8
|
+
<div class="flex items-center justify-center font-tiktok">
|
9
|
+
<img src="https://picsum.photos/900/700" alt="" class="object-contain h-48 w-96 rounded-lg shadow-xl bg-blue-100">
|
10
|
+
</div>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<% content_for :example, flush: true do %>
|
14
|
+
<%# .html %>
|
15
|
+
<% content_for :html, flush: true do %>
|
16
|
+
<div class="bg-neutral-50...">
|
17
|
+
<img src="#" class="object-contain h-48 w-96">
|
18
|
+
</div>
|
19
|
+
<% end %>
|
20
|
+
|
21
|
+
<%# .erb %>
|
22
|
+
<% content_for :erb, flush: true do %>
|
23
|
+
<div class="bg-neutral-50...">
|
24
|
+
<%%= image_tag "#", class: "object-contain h-48 w-96" %>
|
25
|
+
</div>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
<%= render_snippet %>
|
29
|
+
<% end %>
|
30
|
+
<% end %>
|
31
|
+
</div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="image-object-cover">
|
2
|
+
<%= render layout: example, locals: { heading: "Object Cover" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6 max-w-full">
|
5
|
+
<p>Resize an element's content to cover it's container using <code>.object-cover</code>.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<%= render preview('neutral') do %>
|
9
|
+
<div class="flex items-center justify-center font-tiktok">
|
10
|
+
<img src="https://picsum.photos/900/700" alt="" class="object-cover h-48 w-96 rounded-lg shadow-xl">
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<%# .html %>
|
16
|
+
<% content_for :html, flush: true do %>
|
17
|
+
<div class="bg-neutral-50...">
|
18
|
+
<img src="#" class="object-cover h-48 w-96">
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<%# .erb %>
|
23
|
+
<% content_for :erb, flush: true do %>
|
24
|
+
<div class="bg-neutral-50...">
|
25
|
+
<%%= image_tag "#", class: "object-cover h-48 w-96" %>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
28
|
+
<%= render_snippet %>
|
29
|
+
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<div id="image-object-fill">
|
2
|
+
<%= render layout: example, locals: { heading: "Object Fill" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-netural dark:prose-invert mb-6 max-w-full">
|
5
|
+
<p>Stretch an element's content to fit its container <code>.object-fill</code>.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<%= render preview('neutral') do %>
|
9
|
+
<div class="flex items-center justify-center font-tiktok">
|
10
|
+
<img src="https://picsum.photos/900/700" alt="" class="object-fill h-48 w-96 rounded-lg shadow-xl bg-blue-100">
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<% content_for :example, flush: true do %>
|
15
|
+
<%# .html %>
|
16
|
+
<% content_for :html, flush: true do %>
|
17
|
+
<div class="bg-neutral-50...">
|
18
|
+
<img src="#" class="object-fill h-48 w-96">
|
19
|
+
</div>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<%# .erb %>
|
23
|
+
<% content_for :erb, flush: true do %>
|
24
|
+
<div class="bg-neutral-500...">
|
25
|
+
<%%= image_tag "#", class: "object-fill h-48 w-96" %>
|
26
|
+
</div>
|
27
|
+
<% end %>
|
28
|
+
|
29
|
+
<%= render_snippet %>
|
30
|
+
<% end %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<div id="image-object-scale-down">
|
2
|
+
<%= render layout: example, locals: { heading: "Object Scale Down" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6 max-w-full">
|
5
|
+
<p>Display an element’s content at its original size but scale it down to fit its container if necessary using <code>.object-scale-down</code>.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
|
9
|
+
<%= render preview('neutral') do %>
|
10
|
+
<div class="flex items-center justify-center font-tiktok">
|
11
|
+
<img src="https://picsum.photos/900/700" alt="" class="object-scale-down h-48 w-96 rounded-xl shadow-xl bg-blue-100">
|
12
|
+
</div>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
|
16
|
+
<% content_for :example, flush: true do %>
|
17
|
+
<%# .html %>
|
18
|
+
<% content_for :html, flush: true do %>
|
19
|
+
<div class="bg-neutral-50...">
|
20
|
+
<img src="#" class="object-scale-down h-48 w-96">
|
21
|
+
</div>
|
22
|
+
<% end %>
|
23
|
+
|
24
|
+
<%# .erb %>
|
25
|
+
<% content_for :erb, flush: true do %>
|
26
|
+
<div class="bg-neutral-50...">
|
27
|
+
<%%= image_tag "#", class: "object-scale-down h-48 w-96" %>
|
28
|
+
</div>
|
29
|
+
<% end %>
|
30
|
+
|
31
|
+
<%= render_snippet %>
|
32
|
+
<% end %>
|
33
|
+
<% end %>
|
34
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div id="image-responsive">
|
2
|
+
<%= render layout: example, locals: { heading: "Responsive" } do %>
|
3
|
+
|
4
|
+
<div class="prose prose-neutral dark:prose-invert mb-6">
|
5
|
+
<p>Display images that scale proportionally relative to browser widths.</p>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<img src="https://picsum.photos/1600/900" class="max-w-full h-auto">
|
9
|
+
|
10
|
+
<% content_for :example, flush: true do %>
|
11
|
+
<%# .html %>
|
12
|
+
<% content_for :html, flush: true do %>
|
13
|
+
<img src="#" class="max-w-full h-auto">
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<%# .erb %>
|
17
|
+
<% content_for :erb, flush: true do %>
|
18
|
+
<%%= image_tag "...", class: "max-w-full", alt:"..." %>
|
19
|
+
<% end %>
|
20
|
+
|
21
|
+
<%= render_snippet %>
|
22
|
+
<% end %>
|
23
|
+
<% end %>
|
24
|
+
</div>
|
@@ -0,0 +1,93 @@
|
|
1
|
+
<div id="table-border">
|
2
|
+
<%= render layout: example, locals: { heading: "Border" } do %>
|
3
|
+
|
4
|
+
<table class="table-auto w-full border border-neutral-300 dark:border-neutral-700/80 font-tiktok">
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">First</th>
|
8
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">Last</th>
|
9
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">Handle</th>
|
10
|
+
</tr>
|
11
|
+
</thead>
|
12
|
+
<tbody>
|
13
|
+
<tr>
|
14
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Andy</td>
|
15
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">L.</td>
|
16
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@railsui_</td>
|
17
|
+
</tr>
|
18
|
+
<tr>
|
19
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Web</td>
|
20
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Crunch</td>
|
21
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@webcrunchblog</td>
|
22
|
+
</tr>
|
23
|
+
<tr>
|
24
|
+
<td colspan="2" class="p-3 border border-neutral-200 dark:border-neutral-700/80">justalever</td>
|
25
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@justalever</td>
|
26
|
+
</tr>
|
27
|
+
</tbody>
|
28
|
+
</table>
|
29
|
+
|
30
|
+
|
31
|
+
<% content_for :example, flush: true do %>
|
32
|
+
<%# .html %>
|
33
|
+
<% content_for :html, flush: true do %>
|
34
|
+
<table class="table-auto w-full border border-neutral-300 dark:border-neutral-700/80">
|
35
|
+
<thead>
|
36
|
+
<tr>
|
37
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">First</th>
|
38
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">Last</th>
|
39
|
+
<th scope="col" class="text-left p-3 border border-neutral-200 dark:border-neutral-700/80">Handle</th>
|
40
|
+
</tr>
|
41
|
+
</thead>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Andy</td>
|
45
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">L.</td>
|
46
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@railsui_</td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Web</td>
|
50
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">Crunch</td>
|
51
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@webcrunchblog</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td colspan="2" class="p-3 border border-neutral-200 dark:border-neutral-700/80">justalever</td>
|
55
|
+
<td class="p-3 border border-neutral-200 dark:border-neutral-700/80">@justalever</td>
|
56
|
+
</tr>
|
57
|
+
</tbody>
|
58
|
+
</table>
|
59
|
+
<% end %>
|
60
|
+
|
61
|
+
<%# .erb %>
|
62
|
+
<% content_for :erb, flush: true do %>
|
63
|
+
<%%= tag.table class: "table-auto w-full border border-neutral-300 dark:border-neutral-700/80" do %>
|
64
|
+
<%%= tag.thead do %>
|
65
|
+
<%%= tag.tr do %>
|
66
|
+
<%%= tag.th "First", scope: "col", class: "text-left p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
67
|
+
<%%= tag.th "Last", scope: "col", class: "text-left p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
68
|
+
<%%= tag.th "Handle", scope: "col", class: "text-left p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
69
|
+
<%% end %>
|
70
|
+
<%% end %>
|
71
|
+
<%%= tag.tbody do %>
|
72
|
+
<%%= tag.tr do %>
|
73
|
+
<%%= tag.td "Andy", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
74
|
+
<%%= tag.td "L.", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
75
|
+
<%%= tag.td "@railsui_", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
76
|
+
<%% end %>
|
77
|
+
<%%= tag.tr do %>
|
78
|
+
<%%= tag.td "Web", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
79
|
+
<%%= tag.td "Crunch", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
80
|
+
<%%= tag.td "@webcrunchblog", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
81
|
+
<%% end %>
|
82
|
+
<%%= tag.tr do %>
|
83
|
+
<%%= tag.td "justalever", colspan: "2", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
84
|
+
<%%= tag.td "@justalever", class: "p-3 border border-neutral-200 dark:border-neutral-700/80" %>
|
85
|
+
<%% end %>
|
86
|
+
<%% end %>
|
87
|
+
<%% end %>
|
88
|
+
<% end %>
|
89
|
+
|
90
|
+
<%= render_snippet %>
|
91
|
+
<% end %>
|
92
|
+
<% end %>
|
93
|
+
</div>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
<div id="table-borderless">
|
2
|
+
<%= render layout: example, locals: { heading: "Borderless" } do %>
|
3
|
+
|
4
|
+
<table class="table-auto w-full font-tiktok">
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<th scope="col" class="p-3 text-left border-b-2 border-neutral-200 dark:border-neutral-700/80">First</th>
|
8
|
+
<th scope="col" class="p-3 text-left border-b-2 border-neutral-200 dark:border-neutral-700/80">Last</th>
|
9
|
+
<th scope="col" class="p-3 text-left border-b-2 border-neutral-200 dark:border-neutral-700/80">Handle</th>
|
10
|
+
</tr>
|
11
|
+
</thead>
|
12
|
+
<tbody>
|
13
|
+
<tr>
|
14
|
+
<td class="p-3 text-left">Andy</td>
|
15
|
+
<td class="p-3 text-left">L.</td>
|
16
|
+
<td class="p-3 text-left">@railsui_</td>
|
17
|
+
</tr>
|
18
|
+
<tr>
|
19
|
+
<td class="p-3 text-left">Web</td>
|
20
|
+
<td class="p-3 text-left">Crunch</td>
|
21
|
+
<td class="p-3 text-left">@webcrunchblog</td>
|
22
|
+
</tr>
|
23
|
+
<tr>
|
24
|
+
<td class="p-3 text-left" colspan="2">justalever</td>
|
25
|
+
<td class="p-3 text-left">@justalever</td>
|
26
|
+
</tr>
|
27
|
+
</tbody>
|
28
|
+
</table>
|
29
|
+
|
30
|
+
<% content_for :example, flush: true do %>
|
31
|
+
<%# .html %>
|
32
|
+
<% content_for :html, flush: true do %>
|
33
|
+
<table class="table-auto w-full">
|
34
|
+
<thead>
|
35
|
+
<tr>
|
36
|
+
<th class="text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" scope="col">First</th>
|
37
|
+
<th class="text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" scope="col">Last</th>
|
38
|
+
<th class="text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" scope="col">Handle</th>
|
39
|
+
</tr>
|
40
|
+
</thead>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="p-3 text-left">Andy</td>
|
44
|
+
<td class="p-3 text-left">L.</td>
|
45
|
+
<td class="p-3 text-left">@railsui_</td>
|
46
|
+
</tr>
|
47
|
+
<tr>
|
48
|
+
<td class="p-3 text-left">Web</td>
|
49
|
+
<td class="p-3 text-left">Crunch</td>
|
50
|
+
<td class="p-3 text-left">@webcrunchblog</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="p-3 text-left" colspan="2">justalever</td>
|
54
|
+
<td class="p-3 text-left">@justalever</td>
|
55
|
+
</tr>
|
56
|
+
</tbody>
|
57
|
+
</table>
|
58
|
+
<% end %>
|
59
|
+
|
60
|
+
<%# .erb %>
|
61
|
+
<% content_for :erb, flush: true do %>
|
62
|
+
<%%= tag.table class: "table-auto w-full" do %>
|
63
|
+
<%%= tag.thead do %>
|
64
|
+
<%%= tag.tr do %>
|
65
|
+
<%%= tag.th "First", scope: "col", class: "text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" %>
|
66
|
+
<%%= tag.th "Last", scope: "col", class: "text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" %>
|
67
|
+
<%%= tag.th "Handle", scope: "col", class: "text-left p-3 border-b-2 border-neutral-200 dark:border-neutral-700/80" %>
|
68
|
+
<%% end %>
|
69
|
+
<%% end %>
|
70
|
+
<%%= tag.tbody do %>
|
71
|
+
<%%= tag.tr do %>
|
72
|
+
<%%= tag.td "Andy", class: "p-3 text-left" %>
|
73
|
+
<%%= tag.td "L.", class: "p-3 text-left" %>
|
74
|
+
<%%= tag.td "@railsui_", class: "p-3 text-left" %>
|
75
|
+
<%% end %>
|
76
|
+
<%%= tag.tr do %>
|
77
|
+
<%%= tag.td "Web", class: "p-3 text-left" %>
|
78
|
+
<%%= tag.td "Crunch", class: "p-3 text-left" %>
|
79
|
+
<%%= tag.td "@webcrunchblog", class: "p-3 text-left" %>
|
80
|
+
<%% end %>
|
81
|
+
<%%= tag.tr do %>
|
82
|
+
<%%= tag.td "justalever", colspan: "2", class: "p-3 text-left" %>
|
83
|
+
<%%= tag.td "@justalever", class: "p-3 text-left" %>
|
84
|
+
<%% end %>
|
85
|
+
<%% end %>
|
86
|
+
<%% end %>
|
87
|
+
<% end %>
|
88
|
+
|
89
|
+
<%= render_snippet %>
|
90
|
+
<% end %>
|
91
|
+
<% end %>
|
92
|
+
</div>
|