railsui 3.1.4 → 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/default/_launchpad.html.erb +1 -1
- 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/_global_nav.html.erb +2 -2
- 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
@@ -60,28 +60,6 @@
|
|
60
60
|
|
61
61
|
<% end %>
|
62
62
|
|
63
|
-
<% content_for :haml, flush: true do %>
|
64
|
-
/ Gray
|
65
|
-
%span.rounded.text-neutral-800.font-medium.px-2.py-1.text-xs.border.dark:text-neutral-200(class="border-neutral-800/60 bg-neutral-50/60 dark:bg-neutral-500/20 dark:border-neutral-500/40") Gray
|
66
|
-
/ Red
|
67
|
-
%span.rounded.text-red-600.font-medium.px-2.py-1.text-xs.border.dark:text-red-300(class="bg-red-50/30 border-red-600/60 dark:border-red-700/50 dark:bg-red-500/20") Red
|
68
|
-
/ Orange
|
69
|
-
%span.rounded.text-orange-600.font-medium.px-2.py-1.text-xs.border.dark:text-orange-300(class="bg-orange-50/30 border-orange-600/60 dark:border-orange-700/50 dark:bg-orange-500/20") Orange
|
70
|
-
/ Yellow
|
71
|
-
%span.rounded.text-yellow-700.font-medium.px-2.py-1.text-xs.border.dark:text-yellow-300(class="bg-yellow-50/30 border-yellow-500/60 dark:bg-yellow-500/20 dark:border-yellow-700/50") Yellow
|
72
|
-
/ Green
|
73
|
-
%span.rounded.text-green-700.font-medium.px-2.py-1.text-xs.border.dark:text-green-300(class="bg-green-50/30 border-green-500/60 dark:bg-green-500/20 dark:border-green-700/50") Green
|
74
|
-
/ Blue
|
75
|
-
%span.rounded.text-blue-800.font-medium.px-2.py-1.leading-tight.text-xs.border.dark:text-blue-300(class="bg-blue-50/30 border-blue-600/60 dark:bg-blue-500/20 dark:border-blue-700/50") Blue
|
76
|
-
/ Indigo
|
77
|
-
%span.rounded.text-indigo-800.font-medium.px-2.py-1.leading-tight.text-xs.border.dark:text-indigo-300(class="bg-indigo-50/30 border-indigo-600/60 dark:bg-indigo-500/20 dark:border-indigo-700/50") Indigo
|
78
|
-
/ Purple
|
79
|
-
%span.rounded.text-purple-800.font-medium.px-2.py-1.leading-tight.text-xs.border.dark:text-purple-300(class="bg-purple-50/30 border-indigo-600/60 dark:bg-purple-500/20 dark:border-purple-700/50") Purple
|
80
|
-
/ Pink
|
81
|
-
%span.rounded.bg-pink-100.text-pink-800.font-medium.px-2.py-1.leading-tight.text-xs.border.dark:text-pink-300(class="border-pink-600/60 dark:bg-pink-500/20 dark:border-pink-700/50") Pink
|
82
|
-
/ White
|
83
|
-
%span.rounded.bg-white-100.text-slate-800.border.border-slate-400.font-medium.px-2.py-1.leading-tight.text-xs(class="dark:bg-white/10 dark:text-white/80 dark:border-white/30") White
|
84
|
-
<% end %>
|
85
63
|
|
86
64
|
<%= render_snippet %>
|
87
65
|
<% end %>
|
@@ -60,28 +60,6 @@
|
|
60
60
|
|
61
61
|
<% end %>
|
62
62
|
|
63
|
-
<% content_for :haml, flush: true do %>
|
64
|
-
/ Gray
|
65
|
-
%span.rounded-full.bg-neutral-100.text-neutral-800.font-medium.px-2.py-1.text-xs.dark:text-neutral-200(class="dark:bg-neutral-500/20") Gray
|
66
|
-
/ Red
|
67
|
-
%span.rounded-full.bg-red-100.text-red-800.font-medium.px-2.py-1.text-xs.dark:text-red-300(class="dark:bg-red-500/20") Red
|
68
|
-
/ Orange
|
69
|
-
%span.rounded-full.bg-orange-100.text-orange-700.font-medium.px-2.py-1.text-xs.dark:text-orange-300(class="dark:bg-orange-500/20") Orange
|
70
|
-
/ Yellow
|
71
|
-
%span.rounded-full.bg-yellow-100.text-yellow-700.font-medium.px-2.py-1.text-xs.dark:text-yellow-300(class="dark:bg-yellow-500/20") Yellow
|
72
|
-
/ Green
|
73
|
-
%span.rounded-full.bg-green-100.text-green-800.font-medium.px-2.py-1.text-xs.dark:text-green-300(class="dark:bg-green-500/20") Green
|
74
|
-
/ Blue
|
75
|
-
%span.rounded-full.bg-blue-100.text-blue-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-blue-300(class="dark:bg-blue-500/20") Blue
|
76
|
-
/ Indigo
|
77
|
-
%span.rounded-full.bg-indigo-100.text-indigo-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-indigo-300(class="dark:bg-indigo-500/20") Indigo
|
78
|
-
/ Purple
|
79
|
-
%span.rounded-full.bg-purple-100.text-purple-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-purple-300(class="dark:bg-purple-500/20") Purple
|
80
|
-
/ Pink
|
81
|
-
%span.rounded-full.bg-pink-100.text-pink-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-pink-300(class="dark:bg-pink-500/20") Pink
|
82
|
-
/ White
|
83
|
-
%span.rounded-full.bg-white-100.text-slate-800.border.border-slate-200.font-medium.px-2.py-1.leading-tight.text-xs.dark:border-none(class="dark:bg-white/10 dark:text-white/80") White
|
84
|
-
<% end %>
|
85
63
|
|
86
64
|
<%= render_snippet %>
|
87
65
|
<% end %>
|
@@ -185,58 +185,6 @@
|
|
185
185
|
</div>
|
186
186
|
<% end %>
|
187
187
|
|
188
|
-
<% content_for :haml, flush: true do %>
|
189
|
-
/ Gray
|
190
|
-
.rounded.bg-neutral-100.text-neutral-800.font-medium.px-2.py-1.text-xs.dark:text-neutral-200.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-neutral-500/20"}
|
191
|
-
%span.flex-1 Gray
|
192
|
-
%a.size-4.rounded.hover:bg-neutral-200.flex.items-center.justify-center.focus:ring-2.group{class: "dark:hover:bg-neutral-500/40 focus:ring-neutral-300/50", href: "#"}
|
193
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-neutral-700 dark:text-neutral-400 hover:cursor-pointer dark:group-hover:text-neutral-300 group-hover:text-neutral-500"
|
194
|
-
/ Red
|
195
|
-
.rounded.bg-red-100.text-red-800.font-medium.px-2.py-1.text-xs.dark:text-red-200.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-red-500/20"}
|
196
|
-
%span.flex-1 Red
|
197
|
-
%a.size-4.rounded.hover:bg-red-200.flex.items-center.justify-center.focus:ring-2.group{class: "dark:hover:bg-red-500/40 focus:ring-red-300/50", href: "#"}
|
198
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-red-500 dark:text-red-500/90 hover:cursor-pointer dark:group-hover:text-red-200 group-hover:text-red-500"
|
199
|
-
/ Orange
|
200
|
-
.rounded.bg-orange-100.text-orange-700.font-medium.text-xs.dark:text-orange-300.px-2.pl-2.pr-1.py-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-orange-500/20"}
|
201
|
-
%span.flex-1 Orange
|
202
|
-
%a.size-4.rounded.hover:bg-orange-200.flex.items-center.justify-center.focus:ring-2.group{class: "dark:hover:bg-orange-500/40 focus:ring-orange-300/50", href: "#"}
|
203
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-red-700 dark:text-orange-500 hover:cursor-pointer dark:group-hover:text-orange-200 group-hover:text-orange-500"
|
204
|
-
/ Yellow
|
205
|
-
.rounded.bg-yellow-100.text-yellow-700.font-medium.dark:text-yellow-300.px-2.py-1.text-xs.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-yellow-500/20"}
|
206
|
-
%span.flex-1 Yellow
|
207
|
-
%a.size-4.rounded.hover:bg-yellow-200.flex.items-center.justify-center.focus:ring-2.group{class: "dark:hover:bg-yellow-500/40 focus:ring-yellow-300/50", href: "#"}
|
208
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-yellow-800 dark:text-yellow-500 hover:cursor-pointer group-hover:text-yellow-600 dark:group-hover:text-yellow-200"
|
209
|
-
/ Green
|
210
|
-
.rounded.bg-green-100.text-green-800.font-medium.py-1.text-xs.dark:text-green-300.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-green-500/20"}
|
211
|
-
%span.flex-1 Green
|
212
|
-
%a.size-4.rounded.flex.items-center.justify-center.focus:ring-2.group{class: "hover:bg-green-200/70 dark:hover:bg-green-500/40 focus:ring-green-500/20", href: "#"}
|
213
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-green-700 hover:cursor-pointer dark:text-green-400 dark:group-hover:text-green-200 group-hover:text-green-800"
|
214
|
-
/ Blue
|
215
|
-
.rounded.bg-blue-100.text-blue-800.font-medium.leading-tight.text-xs.dark:text-blue-300.pl-2.pr-1.py-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-blue-500/20"}
|
216
|
-
%span.flex-1 Blue
|
217
|
-
%a.size-4.rounded.flex.items-center.justify-center.focus:ring-2.group{class: "hover:bg-blue-200/70 dark:hover:bg-blue-500/40 focus:ring-blue-500/20", href: "#"}
|
218
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-blue-800 hover:cursor-pointer group-hover:text-blue-800 dark:text-blue-400 dark:group-hover:text-blue-200"
|
219
|
-
/ Indigo
|
220
|
-
.rounded.bg-indigo-100.text-indigo-800.font-medium.py-1.leading-tight.dark:text-indigo-300.pl-2.pr-1.text-xs.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-indigo-500/20"}
|
221
|
-
%span.flex-1 Indigo
|
222
|
-
%a.w-4.h-4.rounded.flex.items-center.justify-center.focus:ring-2.group{class: "hover:bg-indigo-200/70 dark:hover:bg-indigo-500/20 focus:ring-indigo-500/20", href: "#"}
|
223
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-indigo-800 hover:cursor-pointer group-hover:text-indigo-800 dark:text-indigo-400 dark:group-hover:text-indigo-200"
|
224
|
-
/ Purple
|
225
|
-
.rounded.bg-purple-100.text-purple-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-purple-300.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-purple-500/20"}
|
226
|
-
%span.flex-1 Purple
|
227
|
-
%a.size-4.rounded.flex.items-center.justify-center.focus:ring-2.group{class: "hover:bg-purple-200/70 focus:ring-purple-500/20 dark:hover:bg-purple-500/20", href: "#"}
|
228
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-purple-800 hover:cursor-pointer group-hover:text-purple-800 dark:text-purple-400 dark:group-hover:text-purple-200"
|
229
|
-
/ Pink
|
230
|
-
.rounded.bg-pink-100.text-pink-800.font-medium.px-2.py-1.leading-tight.text-xs.dark:text-pink-300.pl-2.pr-1.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-pink-500/20"}
|
231
|
-
%span.flex-1 Pink
|
232
|
-
%a.size-4.rounded.flex.items-center.justify-center.focus:ring-2.group{class: "hover:bg-pink-200/70 focus:ring-pink-500/20 dark:hover:bg-pink-500/20", href: "#"}
|
233
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-pink-800 hover:cursor-pointer group-hover:text-pink-800 dark:text-pink-400 dark:group-hover:text-pink-200"
|
234
|
-
/ White
|
235
|
-
.rounded.bg-white-100.text-slate-800.border.border-slate-200.font-medium.leading-tight.dark:border-none.pl-2.pr-1.py-1.text-xs.group.inline-flex.items-center.justify-between.space-x-1{class: "dark:bg-white/10 dark:text-white/80"}
|
236
|
-
%span.flex-1 White
|
237
|
-
%a.size-4.rounded.hover:bg-slate-200.flex.items-center.justify-center.focus:ring-2{class: "dark:hover:bg-white/20 focus:ring-slate-500/20", href: "#"}
|
238
|
-
= icon "x-mark", class: "size-3 flex-shrink-0 text-slate-800 hover:cursor-pointer group-hover:text-slate-700/80 dark:text-white/80 dark:group-hover:text-white/80"
|
239
|
-
<% end %>
|
240
188
|
|
241
189
|
<%= render_snippet active_tab: :erb %>
|
242
190
|
<% end %>
|
@@ -70,20 +70,6 @@
|
|
70
70
|
</nav>
|
71
71
|
<% end %>
|
72
72
|
|
73
|
-
<% content_for :haml, flush: true do %>
|
74
|
-
%nav.my-6.font-medium.flex.text-zinc-500.dark:text-zinc-200.text-sm{"aria-label" => "breadcrumb"}
|
75
|
-
%ol.flex.flex-wrap.items-center.space-x-3.list-none.m-0.p-0
|
76
|
-
%li
|
77
|
-
= link_to "Home", "#", class: "hover:underline hover:text-zinc-600 dark:hover:text-zinc-400"
|
78
|
-
%li.flex.space-x-3
|
79
|
-
.flex.items-center
|
80
|
-
%span.text-zinc-300.dark:text-zinc-500 /
|
81
|
-
= link_to "Library", "#", class: "hover:underline hover:text-zinc-600 dark:hover:text-zinc-400"
|
82
|
-
%li.flex.space-x-3
|
83
|
-
.flex.items-center
|
84
|
-
%span.text-zinc-300.dark:text-zinc-500 /
|
85
|
-
= link_to "Data", "#", class: "text-primary-500 dark:text-primary-500", data: { "aria-current": "page" }
|
86
|
-
<% end %>
|
87
73
|
|
88
74
|
<%= render_snippet %>
|
89
75
|
<% end %>
|
@@ -65,20 +65,6 @@
|
|
65
65
|
</nav>
|
66
66
|
<% end %>
|
67
67
|
|
68
|
-
<% content_for :haml, flush: true do %>
|
69
|
-
%nav.my-6.font-medium.flex.text-zinc-500.text-sm.bg-white.rounded.items-center.border.overflow-hidden.sm:py-0.py-4.dark:border-zinc-700(aria-label="breadcrumb" class="border-zinc-300/80 dark:bg-zinc-800/70")
|
70
|
-
%ol.flex.items-center.justify-star.space-x-6.px-4.list-none
|
71
|
-
%li.sm:h-12.flex.items-center.justify-center
|
72
|
-
= link_to "#", class: "hover:underline hover:text-zinc-600 inline-block pl-2 group" do
|
73
|
-
= icon "home", class: "size-5 text-zinc-400 group-hover:text-zinc-600 dark:group-hover:text-zinc-200"
|
74
|
-
%span.sr-only Home
|
75
|
-
%li.sm:h-12.flex.items-center.space-x-2.justify-center
|
76
|
-
%span.transform.h-14.w-px.flex-shrink-0.sm:block.hidden(class="rotate-[20deg] bg-zinc-300/50 dark:bg-zinc-600/80")
|
77
|
-
= link_to "Library", "#", class: "hover:text-zinc-700 sm:pl-4 dark:hover:text-zinc-200 text-zinc-600 dark:text-zinc-300"
|
78
|
-
%li.sm:h-12.flex.items-center.space-x-2.justify-center
|
79
|
-
%span.transform.h-14.w-px.flex-shrink-0.sm:block.hidden(class="rotate-[20deg] bg-zinc-300/50 dark:bg-zinc-600/80")
|
80
|
-
= link_to "Data", "#", class: "text-primary-500 dark:text-primary-500 sm:pl-4", "aria-current": "page"
|
81
|
-
<% end %>
|
82
68
|
|
83
69
|
<%= render_snippet %>
|
84
70
|
<% end %>
|
@@ -51,23 +51,6 @@
|
|
51
51
|
<%%= button_tag "Link", type: "button", class: "btn btn-link" %>
|
52
52
|
<% end %>
|
53
53
|
|
54
|
-
<% content_for :haml, flush: true do %>
|
55
|
-
= button_tag "Primary", type: "button", class: "btn btn-primary"
|
56
|
-
|
57
|
-
= button_tag "Secondary", type: "button", class: "btn btn-secondary"
|
58
|
-
|
59
|
-
= button_tag "Light", type: "button", class: "btn btn-light"
|
60
|
-
|
61
|
-
= button_tag "Dark", type: "button", class: "btn btn-dark"
|
62
|
-
|
63
|
-
= button_tag "White", type: "button", class: "btn btn-white"
|
64
|
-
|
65
|
-
= button_tag "Transparent", type: "button", class: "btn btn-transparent"
|
66
|
-
|
67
|
-
= button_tag "Danger", type: "button", class: "btn btn-danger"
|
68
|
-
|
69
|
-
= button_tag "Link", type: "button", class: "btn btn-link"
|
70
|
-
<% end %>
|
71
54
|
<%= render_snippet %>
|
72
55
|
<% end %>
|
73
56
|
<% end %>
|
@@ -18,9 +18,6 @@
|
|
18
18
|
<%%= button_tag "Expanded button", type: "button", class: "btn btn-primary w-full justify-center" %>
|
19
19
|
<% end %>
|
20
20
|
|
21
|
-
<% content_for :haml, flush: true do %>
|
22
|
-
= button_tag "Expanded button", type: "button", class: "btn btn-primary w-full justify-center"
|
23
|
-
<% end %>
|
24
21
|
<%= render_snippet %>
|
25
22
|
<% end %>
|
26
23
|
<% end %>
|
@@ -25,11 +25,6 @@
|
|
25
25
|
<%%= button_tag "Small button", type: "button", class: "btn btn-primary btn-sm" %>
|
26
26
|
<% end %>
|
27
27
|
|
28
|
-
<% content_for :haml, flush: true do %>
|
29
|
-
= button_tag "Large button", type: "button", class: "btn btn-primary btn-lg"
|
30
|
-
= button_tag "Base Button", type: "button", class: "btn btn-primary"
|
31
|
-
= button_tag "Small button", type: "button", class: "btn btn-primary btn-sm"
|
32
|
-
<% end %>
|
33
28
|
<%= render_snippet %>
|
34
29
|
<% end %>
|
35
30
|
<% end %>
|
@@ -24,12 +24,6 @@
|
|
24
24
|
|
25
25
|
<% end %>
|
26
26
|
|
27
|
-
<% content_for :haml, flush: true do %>
|
28
|
-
.rounded-lg.shadow-xs.bg-white.p-6.dark:bg-zinc-800.dark:text-white.border.border-zinc-300{class: "shadow-zinc-400/20 border-zinc-300 dark:border-zinc-600/80 dark:shadow-zinc-950/40"}
|
29
|
-
%h4.text-2xl.font-semibold.font-heading.text-zinc-900.dark:text-zinc-100.tracking-tight Card title
|
30
|
-
.prose.prose-zinc.my-2.dark:prose-invert.max-w-full
|
31
|
-
%p Some quick example text to build on the card title and make up the bulk of the card's content.
|
32
|
-
<% end %>
|
33
27
|
<%= render_snippet %>
|
34
28
|
<% end %>
|
35
29
|
<% end %>
|
@@ -105,34 +105,6 @@
|
|
105
105
|
</div>
|
106
106
|
<% end %>
|
107
107
|
|
108
|
-
<% content_for :haml, flush: true do %>
|
109
|
-
.border.shadow-xs.rounded-lg.p-4.dark:focus:border-zinc-600{class: "border-zinc-300 shadow-zinc-300/20 dark:shadow-zinc-950/50 dark:bg-zinc-800/90 dark:border-zinc-600/80 dark:focus:ring-zinc-600/30"}
|
110
|
-
.relative.mb-4
|
111
|
-
= image_tag "https://picsum.photos/600/600", class: "rounded h-[174px] w-full object-cover object-center dark:border dark:border-zinc-600/80 border-transparent", alt: "Property image alt tag"
|
112
|
-
= image_tag "path/to/avatar.png", class: "size-10 rounded-full object-cover absolute bottom-2 right-2 border-2 border-white/90", alt: "Avatar"
|
113
|
-
%h3.text-lg.font-normal.text-zinc-900.dark:text-zinc-100.font-heading Cozy Mountain A-Frame
|
114
|
-
%h4.text-sm.text-zinc-500.font-normal.dark:text-zinc-400 Nature's Nook
|
115
|
-
.flex.items-center.pt-6
|
116
|
-
.flex-1.flex.items-center.gap-4
|
117
|
-
.flex.items-center.gap-2
|
118
|
-
= icon "home-modern", class: "size-5 text-zinc-600 stroke-current dark:text-zinc-300"
|
119
|
-
%span.text-sm.text-zinc-600.dark:text-zinc-300 3 Listings
|
120
|
-
.flex.items-center.gap-2
|
121
|
-
= icon "arrow-path", class: "size-4 text-zinc-600 stroke-current dark:text-zinc-300"
|
122
|
-
%span.text-sm.text-zinc-600.dark:text-zinc-300 Syncing
|
123
|
-
.relative{"data-controller" => "railsui-dropdown"}
|
124
|
-
%button.bg-transparent.hover:bg-zinc-50.rounded-lg.px-2.py-1.flex.items-center.justify-center.border.border-transparent.focus:bg-white.focus:ring-4.transition.ease-in-out.duration-200.group.dark:hover:bg-zinc-700.dark:focus:bg-zinc-700.dark:focus:border-zinc-500{class: "focus:border-zinc-300/80 focus:ring-zinc-300/20 dark:focus:ring-zinc-600/70", "data-action" => "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide"}
|
125
|
-
= icon "ellipsis-horizontal", class: "size-6 stroke-current text-zinc-500 dark:text-zinc-400 group-hover:text-zinc-600 group-focus:text-zinc-600 dark:group-hover:text-zinc-200 dark:group-focus:text-zinc-200"
|
126
|
-
%ul.hidden.origin-top-right.absolute.mt-3.top-8.right-0.shadow-xl.rounded-xl.py-2.z-50.bg-white.text-base.border.dark:bg-zinc-800.dark:border-zinc-600.font-heading.dark:text-zinc-200.text-zinc-700{class: "md:w-[200px] w-[320px] shadow-zinc-950/20 md:text-[15px] dark:shadow-zinc-950/20", "data-railsui-dropdown-target" => "menu", "data-transition-enter-active" => "transition ease-out duration-100", "data-transition-enter-from" => "transform opacity-0 scale-95", "data-transition-enter-to" => "transform opacity-100 scale-100", "data-transition-leave-active" => "transition ease-in duration-100", "data-transition-leave-from" => "transform opacity-100 scale-100", "data-transition-leave-to" => "transform opacity-0 scale-95"}
|
127
|
-
%li
|
128
|
-
= link_to "Edit property", "#", class: "px-4 py-1.5 hover:text-zinc-950 flex items-center justify-between dark:hover:text-white"
|
129
|
-
%span Edit property
|
130
|
-
= icon "chevron-right", class: "md:hidden block size-5 stroke-current text-zinc-500/60 dark:text-zinc-400"
|
131
|
-
%li
|
132
|
-
= link_to "Re-sync", "#", class: "px-4 py-1.5 hover:text-zinc-950 flex items-center justify-between dark:hover:text-white"
|
133
|
-
%span Re-sync
|
134
|
-
= icon "chevron-right", class: "md:hidden block size-5 stroke-current text-zinc-500/60 dark:text-zinc-400"
|
135
|
-
<% end %>
|
136
108
|
|
137
109
|
<%= render_snippet %>
|
138
110
|
<% end %>
|
@@ -57,20 +57,6 @@
|
|
57
57
|
</div>
|
58
58
|
<% end %>
|
59
59
|
|
60
|
-
<% content_for :haml, flush: true do %>
|
61
|
-
.border.shadow-sm.rounded-lg.p-4.dark:focus:border-zinc-600{class: "border-zinc-300/90 shadow-zinc-300/20 dark:shadow-zinc-950/50 dark:bg-zinc-800/90 dark:border-zinc-600/80 dark:focus:ring-zinc-600/30"}
|
62
|
-
= image_tag "https://picsum.photos/600/600", alt: "Image of Mountain Vista Chalet", class: "rounded-lg h-[174px] w-full object-cover object-center shadow dark:shadow-none dark:border dark:border-zinc-600/80 border-transparent mb-4"
|
63
|
-
.flex.items-center.gap-3
|
64
|
-
= image_tag demo_avatar_url(variant: "women", id: "78"), class: "size-10 rounded-full object-cover", alt: "Dannie White"
|
65
|
-
.flex-1
|
66
|
-
%p.font-medium.dark:text-white.font-heading.text-zinc-900 Dannie White
|
67
|
-
%p.font-light.text-sm.text-zinc-600.font-heading.dark:text-zinc-400 Mountain Vista Chalet
|
68
|
-
.flex.justify-between.items-end.pt-3
|
69
|
-
.flex.items-center.gap-2
|
70
|
-
= icon "clock", class: "size-5 text-zinc-500 stroke-current dark:text-zinc-300"
|
71
|
-
%span.text-zinc-600.dark:text-zinc-400.text-sm Aug 24, 3pm
|
72
|
-
= link_to "View", "#", class: "btn btn-white"
|
73
|
-
<% end %>
|
74
60
|
|
75
61
|
<%= render_snippet %>
|
76
62
|
<% end %>
|
@@ -51,18 +51,6 @@
|
|
51
51
|
</div>
|
52
52
|
<% end %>
|
53
53
|
|
54
|
-
<% content_for :haml, flush: true do %>
|
55
|
-
.rounded-lg.shadow-xs.bg-white.p-6.dark:bg-zinc-800.dark:text-white.border.flex.items-center.flex-wrap{class: "shadow-zinc-400/20 dark:border-zinc-600/80 dark:shadow-zinc-950/40 border-zinc-300"}
|
56
|
-
= image_tag demo_avatar_url(id: "32", variant: "men"), class: "object-cover size-12 rounded-full flex-shrink-0"
|
57
|
-
.pl-3.flex-1.flex.flex-col.items-start.space-y-px.text-zinc-700
|
58
|
-
%p.font-medium.dark:text-white.font-heading John Doe
|
59
|
-
%p.text-sm.dark:text-zinc-300
|
60
|
-
Property Manager at #{link_to "Pizza Hut", "#", class: "underline"}
|
61
|
-
.flex.items-center.lg:pt-0.pt-3.gap-3.w-full.lg:w-auto
|
62
|
-
= link_to "#", class: "btn btn-white flex items-center gap-3 group" do
|
63
|
-
= icon "envelope", class: "size-5 text-zinc-400 dark:text-zinc-400 group-hover:text-primary-600 dark:group-hover:text-primary-500"
|
64
|
-
%span Message
|
65
|
-
<% end %>
|
66
54
|
|
67
55
|
<%= render_snippet %>
|
68
56
|
<% end %>
|
@@ -83,13 +83,6 @@
|
|
83
83
|
</div>
|
84
84
|
<% end %>
|
85
85
|
|
86
|
-
<% content_for :haml, flush: true do %>
|
87
|
-
.rounded-lg.shadow-xs.bg-white.p-6.dark:bg-zinc-800.dark:text-white.border{class: "shadow-zinc-400/20 dark:border-zinc-600/80 dark:shadow-zinc-950/40 border-zinc-300"}
|
88
|
-
.pb-6.mb-4.flex.items-center.justify-between.flex-wrap
|
89
|
-
%h1.text-4xl.font-semibold.font-heading.text-zinc-900.dark:text-zinc-100.tracking-tight Posts
|
90
|
-
= link_to "New post", "#", class: "btn btn-primary"
|
91
|
-
/ content
|
92
|
-
<% end %>
|
93
86
|
|
94
87
|
<%= render_snippet %>
|
95
88
|
<% end %>
|
@@ -44,13 +44,6 @@
|
|
44
44
|
|
45
45
|
<% end %>
|
46
46
|
|
47
|
-
<% content_for :haml, flush: true do %>
|
48
|
-
.rounded-lg.shadow-xs.bg-white.p-6.dark:bg-zinc-800.dark:text-white.border.border-zinc-300{class: "shadow-zinc-400/20 dark:border-zinc-600/80 dark:shadow-zinc-950/40"}
|
49
|
-
.-mx-6.border-b.border-zinc-200.dark:border-zinc-700.px-6.pb-4.mb-4
|
50
|
-
%h3.text-3xl.font-bold.font-heading.text-zinc-900.dark:text-zinc-100.tracking-tight Properties
|
51
|
-
%p.text-base.text-zinc-700.tracking-normal.mt-3.lg:mb-0.mb-3.dark:text-zinc-300 Group, manage, and study your properties using Shepherd.
|
52
|
-
/ content
|
53
|
-
<% end %>
|
54
47
|
<%= render_snippet %>
|
55
48
|
<% end %>
|
56
49
|
<% end %>
|
@@ -407,46 +407,6 @@
|
|
407
407
|
</div>
|
408
408
|
<% end %>
|
409
409
|
|
410
|
-
<% content_for :haml, flush: true do %>
|
411
|
-
.flex.justify-center.items-center.h-32
|
412
|
-
.relative.w-56{"data-action" => "click@window->railsui-combobox#handleOutsideClick", "data-controller" => "railsui-combobox", "data-railsui-combobox-active-class-value" => "bg-zinc-900 text-white hover:bg-zinc-950", "data-railsui-combobox-inactive-class-value" => "bg-white dark:bg-zinc-800 text-zinc-800 dark:text-zinc-100 dark:hover:bg-zinc-900 hover:bg-zinc-50"}
|
413
|
-
/ Hidden input for form submission
|
414
|
-
%input{"data-railsui-combobox-target" => "hiddenInput", name: "selected_option", type: "hidden"}/
|
415
|
-
/ Top-level combobox button
|
416
|
-
.form-input.flex.items-center.justify-between{"aria-controls" => "combobox-list", "aria-expanded" => "false", "aria-labelledby" => "combobox-label", class: "pr-1.5", "data-action" => "click->railsui-combobox#toggleDropdown keydown.enter->railsui-combobox#toggleDropdown", "data-railsui-combobox-target" => "box", role: "combobox", tabindex: "0"}
|
417
|
-
%span#combobox-label.sr-only Select a format
|
418
|
-
%span{"data-railsui-combobox-target" => "text"} Select a format...
|
419
|
-
= icon "chevron-up-down", class: "stroke-zinc-500 pointer-events-none size-5"
|
420
|
-
/ combobox dropdown
|
421
|
-
.absolute.z-10.top-12.left-0.bg-white.dark:bg-zinc-800.rounded-xl.shadow-lg.border.duration-200.origin-top.hidden.w-full.overflow-hidden{"aria-labelledby" => "combobox-label", class: "border-zinc-300/80 dark:border-zinc-700/80", "data-action" => "keydown.esc->railsui-combobox#hideDropdown", "data-railsui-combobox-target" => "list", "data-transition-enter-from" => "opacity-0 scale-95", "data-transition-enter-to" => "opacity-100 scale-100", "data-transition-leave-from" => "opacity-100 scale-100", "data-transition-leave-to" => "opacity-0 scale-95", role: "listbox"}
|
422
|
-
/ Search input inside dropdown
|
423
|
-
.p-2
|
424
|
-
%label.sr-only{for: "combobox-search"} Search
|
425
|
-
.relative
|
426
|
-
%input#combobox-search.form-input.rounded-none.border-none.focus:ring-0.ring-0.px-2.py-1{"aria-autocomplete" => "list", autocomplete: "off", "data-action" => "input->railsui-combobox#filter keydown->railsui-combobox#handleKeydown", "data-railsui-combobox-target" => "input", placeholder: "Search...", type: "text"}/
|
427
|
-
/ List of options
|
428
|
-
%ul{role: "presentation"}
|
429
|
-
%li#option-1.px-3.cursor-pointer.flex.items-center.justify-between{"aria-selected" => "false", class: "py-1.5", "data-action" => "click->railsui-combobox#selectOption keydown.enter->railsui-combobox#selectOption", "data-railsui-combobox-target" => "option", "data-value" => "PDF", role: "option", tabindex: "0"}
|
430
|
-
PDF
|
431
|
-
%span.hidden{"aria-hidden" => "true", "data-railsui-combobox-target" => "checkmark"}
|
432
|
-
= icon "check", class: "text-zinc-100 size-4"
|
433
|
-
%li#option-2.px-3.cursor-pointer.flex.items-center.justify-between{"aria-selected" => "false", class: "py-1.5", "data-action" => "click->railsui-combobox#selectOption keydown.enter->railsui-combobox#selectOption", "data-railsui-combobox-target" => "option", "data-value" => "CSV", role: "option", tabindex: "0"}
|
434
|
-
CSV
|
435
|
-
%span.hidden{"aria-hidden" => "true", "data-railsui-combobox-target" => "checkmark"}
|
436
|
-
%svg.text-zinc-100.size-4{"aria-hidden" => "true", "data-slot" => "icon", fill: "none", stroke: "currentColor", "stroke-width" => "1.5", variant: "outline", viewbox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg"}
|
437
|
-
%path{d: "m4.5 12.75 6 6 9-13.5", "stroke-linecap" => "round", "stroke-linejoin" => "round"}
|
438
|
-
%li#option-3.px-3.cursor-pointer.flex.items-center.justify-between{"aria-selected" => "false", class: "py-1.5", "data-action" => "click->railsui-combobox#selectOption keydown.enter->railsui-combobox#selectOption", "data-railsui-combobox-target" => "option", "data-value" => "Excel", role: "option", tabindex: "0"}
|
439
|
-
Excel
|
440
|
-
%span.hidden{"aria-hidden" => "true", "data-railsui-combobox-target" => "checkmark"}
|
441
|
-
= icon "check", class: "text-zinc-100 size-4"
|
442
|
-
%li#option-4.px-3.cursor-pointer.flex.items-center.justify-between{"aria-selected" => "false", class: "py-1.5", "data-action" => "click->railsui-combobox#selectOption keydown.enter->railsui-combobox#selectOption", "data-railsui-combobox-target" => "option", "data-value" => "JPEG", role: "option", tabindex: "0"}
|
443
|
-
JPEG
|
444
|
-
%span.hidden{"aria-hidden" => "true", "data-railsui-combobox-target" => "checkmark"}
|
445
|
-
= icon "check", class: "text-zinc-100 size-4"
|
446
|
-
/ No results message
|
447
|
-
.hidden.px-4.py-2.text-zinc-500{"aria-hidden" => "true", "data-railsui-combobox-target" => "noresults"}
|
448
|
-
No results found
|
449
|
-
<% end %>
|
450
410
|
|
451
411
|
<% content_for :js, flush: true do %>
|
452
412
|
// requires stimulus.js to be configured
|
@@ -226,51 +226,6 @@
|
|
226
226
|
</div>
|
227
227
|
<% end %>
|
228
228
|
|
229
|
-
<% content_for :haml, flush: true do %>
|
230
|
-
.my-6.font-heading.overflow-x-auto
|
231
|
-
%table.w-full.text-left.text-sm
|
232
|
-
%thead
|
233
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Status
|
234
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Guests
|
235
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Arrival
|
236
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Departure
|
237
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Booking date
|
238
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Property
|
239
|
-
%th.text-zinc-600.dark:text-zinc-300.font-sans.font-medium.md:whitespace-normal.whitespace-nowrap.md:px-0.p-4 Payout
|
240
|
-
%th
|
241
|
-
%tbody.text-zinc-800.divide-y.dark:divide-zinc-700{class: "divide-zinc-200/80"}
|
242
|
-
%tr.md:whitespace-normal.whitespace-nowrap
|
243
|
-
%td.align-top.md:px-0.p-4.md:whitespace-normal.whitespace-nowrap
|
244
|
-
%span.text-xs.font-medium.rounded-full.font-sans.bg-emerald-50.text-emerald-600.px-2.py-1.tracking-tight.dark:text-emerald-200{class: "dark:bg-emerald-500/20"} Complete
|
245
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100
|
246
|
-
%p= link_to "Dannie White", "#"
|
247
|
-
%p
|
248
|
-
%small.text-zinc-500.dark:text-zinc-400.font-sans 3 adults, 1 child
|
249
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100.font-sans
|
250
|
-
Aug 24, 2024
|
251
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100.font-sans
|
252
|
-
Aug 28, 2024
|
253
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100.font-sans
|
254
|
-
%p June, 2024
|
255
|
-
%p
|
256
|
-
%small.text-zinc-500 7:38 PM CST
|
257
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100
|
258
|
-
= link_to "Mountain Vista Chalet", "#"
|
259
|
-
%td.align-top.md:px-0.p-4.dark:text-zinc-100.font-sans
|
260
|
-
$1,165.45
|
261
|
-
%td.align-top.pt-2
|
262
|
-
.relative.md:flex.md:justify-end.justify-start{"data-controller" => "railsui-dropdown"}
|
263
|
-
%button.flex.relative.z-40.md:w-10.md:h-9.py-3.px-4.md:px-0.md:py-0.w-full.md:rounded-xl.rounded-full.bg-white.focus:ring-4.items-center.md:justify-center.justify-between.border.md:border-transparent.focus:border-zinc-300.hover:border-zinc-300.dark:hover:bg-zinc-800.dark:hover:border-zinc-600.dark:focus:bg-zinc-800.dark:focus:border-zinc-500.dark:text-white{class: "focus:ring-zinc-300/30 border-zinc-300/80 dark:bg-zinc-700/60 dark:border-zinc-500/30 dark:shadow-zinc-950/40 dark:hover:bg-zinc-800/90 dark:focus:ring-zinc-700/80 dark:focus:border-zinc-400/80", "data-action" => "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide"}
|
264
|
-
= icon "ellipsis-horizontal", class: "md:block hidden stroke-current size-6 flex-shrink-0 text-zinc-600/80 dark:text-zinc-200"
|
265
|
-
%span.md:hidden.block Actions
|
266
|
-
= icon "chevron-down", class: "md:hidden block size-4 stroke-current flex-shrink-0 text-zinc-600/80 dark:text-zinc-400"
|
267
|
-
%ul.hidden.origin-top-right.absolute.md:top-12.mt-3.md:mt-0.top-10.right-0.w-48.md:shadow-sm.md:rounded-xl.rounded-3xl.py-2.z-50.bg-white.text-base.border.dark:bg-zinc-800.dark:border-zinc-600{class: "shadow-zinc-300/20 md:text-[15px] dark:shadow-zinc-950/20", "data-railsui-dropdown-target" => "menu", "data-transition-enter-active" => "transition ease-out duration-100", "data-transition-enter-from" => "transform opacity-0 scale-95", "data-transition-enter-to" => "transform opacity-100 scale-100", "data-transition-leave-active" => "transition ease-in duration-100", "data-transition-leave-from" => "transform opacity-100 scale-100", "data-transition-leave-to" => "transform opacity-0 scale-95"}
|
268
|
-
%li
|
269
|
-
= link_to "", class: "px-4 md:py-2 py-3 flex items-center justify-between hover:text-zinc-900 text-zinc-700 dark:text-zinc-200 dark:hover:text-white" do
|
270
|
-
%span Go to Booking
|
271
|
-
= icon "chevron-right", class: "md:hidden block size-5 stroke-current text-zinc-500/60 dark:text-zinc-400"
|
272
|
-
/ more booking list items
|
273
|
-
<% end %>
|
274
229
|
|
275
230
|
<% content_for :js, flush: true do %>
|
276
231
|
|
@@ -133,53 +133,6 @@
|
|
133
133
|
</div>
|
134
134
|
<% end %>
|
135
135
|
|
136
|
-
<% content_for :haml, flush: true do %>
|
137
|
-
%h1.mb:mb-0.mb-6.text-4xl.font-semibold.font-heading.text-zinc-900.dark:text-zinc-100.tracking-tight Properties
|
138
|
-
.text-left.my-8{"data-controller" => "railsui-select-all"}
|
139
|
-
.flex.items-center.justify-start
|
140
|
-
.md:w-12.mb-3.md:mb-0
|
141
|
-
.flex.items-center.space-x-3
|
142
|
-
%input#all_properties.form-input-checkbox{"data-railsui-select-all-target" => "selectAll", name: "all_properties", type: "checkbox"}/
|
143
|
-
%label.form-label.mb-0.md:hidden.block.text-zinc-700.dark:text-zinc-200{for: "all_properties"} All properties
|
144
|
-
.font-medium.md:w-auto.md:block.hidden.flex-1 Property
|
145
|
-
.font-medium.md:block.hidden{class: "md:w-2/12"} Sync
|
146
|
-
.font-medium.md:block.hidden{class: "md:w-2/12"} Hosts
|
147
|
-
.md:block.hidden{class: "md:w-1/12"}
|
148
|
-
%ul.divide-y.dark:divide-zinc-700{class: "divide-zinc-200/80"}
|
149
|
-
/ Property
|
150
|
-
%li.flex.flex-wrap.items-center.justify-start.space-y-3.md:space-y-0.py-6.md:py-4
|
151
|
-
.md:w-12.w-10
|
152
|
-
%input.form-input-checkbox{"data-railsui-select-all-target" => "checkbox", type: "checkbox"}/
|
153
|
-
.md:flex-1.w-full
|
154
|
-
%a.flex.md:items-center.items-start.space-x-3{"data-action" => "click->railsui-prevent#prevent", "data-controller" => "railsui-prevent", href: "#"}
|
155
|
-
= image_tag image_url('railsui/property-1.jpg'), alt: "Property", class: "md:w-16 w-24 md:h-10 h-16 rounded"
|
156
|
-
.flex-1
|
157
|
-
%h3.md:text-base.text-lg.leading-tight.text-zinc-700.line-clamp-1.dark:text-zinc-50.font-heading Cozy Mountain A-Frame
|
158
|
-
%h4.font-light.md:text-sm.text-base.text-zinc-500.leading-tight.line-clamp-1{class: "dark:text-zinc-300/80"} Nature's Nook
|
159
|
-
%div{class: "md:w-2/12 w-1/3"}
|
160
|
-
%span.md:hidden.text-zinc-600.dark:text-zinc-400.text-sm.block.mb-2 Sync
|
161
|
-
= icon "arrow-path", class: "stroke-current size-5 text-zinc-600 dark:text-zinc-300/90"
|
162
|
-
%div{class: "md:w-2/12 w-1/3"}
|
163
|
-
%span.md:hidden.text-zinc-600.dark:text-zinc-400.text-sm.block.mb-2 Hosts
|
164
|
-
%img.md:w-9.w-5.md:h-9.h-5.rounded-full.shrink-0{alt: "The Host Name", src: "https://randomuser.me/api/portraits/men/32.jpg"}/
|
165
|
-
.w-full.md:pt-0.pt-4{class: "md:w-1/12"}
|
166
|
-
.relative.md:flex.md:justify-end.justify-start{"data-controller" => "railsui-dropdown"}
|
167
|
-
%button.flex.relative.z-40.md:w-10.md:h-9.py-3.px-4.md:px-0.md:py-0.w-full.md:rounded-xl.rounded-full.bg-white.focus:ring-4.items-center.md:justify-center.justify-between.border.md:border-transparent.focus:border-zinc-300.hover:border-zinc-300.dark:hover:bg-zinc-800.dark:hover:border-zinc-600.dark:focus:bg-zinc-800.dark:focus:border-zinc-500.dark:text-white{class: "focus:ring-zinc-300/30 border-zinc-300/80 dark:bg-zinc-700/60 dark:border-zinc-500/30 dark:shadow-zinc-950/40 dark:hover:bg-zinc-800/90 dark:focus:ring-zinc-700/80 dark:focus:border-zinc-400/80", "data-action" => "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide"}
|
168
|
-
= icon "ellipsis-horizontal", class: "md:block hidden stroke-current size-6 shrink-0 text-zinc-600/80 dark:text-zinc-200"
|
169
|
-
%span.md:hidden.block Actions
|
170
|
-
= icon "chevron-down", class: "md:hidden block size-4 stroke-current shrink-0 text-zinc-600/80 dark:text-zinc-400"
|
171
|
-
%ul.hidden.static.origin-top-right.md:absolute.md:top-12.mt-3.md:mt-0.right-0.md:w-48.md:shadow-xl.md:rounded-xl.rounded-3xl.py-2.w-full.z-50.bg-white.text-base.border.border-zinc-300.dark:bg-zinc-800.dark:border-zinc-600.font-heading.dark:text-zinc-200{class: "shadow-zinc-300/20 md:text-[15px] dark:shadow-zinc-950/20", "data-railsui-dropdown-target" => "menu", "data-transition-enter-active" => "transition ease-out duration-100", "data-transition-enter-from" => "transform opacity-0 scale-95", "data-transition-enter-to" => "transform opacity-100 scale-100", "data-transition-leave-active" => "transition ease-in duration-100", "data-transition-leave-from" => "transform opacity-100 scale-100", "data-transition-leave-to" => "transform opacity-0 scale-95"}
|
172
|
-
%li
|
173
|
-
%a.px-4.md:py-2.py-3.flex.items-center.justify-between.hover:text-zinc-900.text-zinc-700.dark:text-zinc-200.dark:hover:text-white{href: "#"}
|
174
|
-
%span Edit property
|
175
|
-
= icon "chevron-right", class: "md:hidden block size-5 stroke-current text-zinc-500/60 dark:text-zinc-400"
|
176
|
-
%li
|
177
|
-
%a.px-4.md:py-2.py-3.flex.hover:text-zinc-900.text-zinc-700.items-center.justify-between.dark:text-zinc-200.dark:hover:text-white{href: "#"}
|
178
|
-
%span Re-sync
|
179
|
-
= icon "chevron-right", class: "md:hidden block size-5 stroke-current text-zinc-500/60 dark:text-zinc-400"
|
180
|
-
/ end Property
|
181
|
-
/ Loop through the properties <i.e. render @properties >
|
182
|
-
<% end %>
|
183
136
|
|
184
137
|
<% content_for :js do %>
|
185
138
|
// https://github.com/getrailsui/railsui-stimulus
|
@@ -58,16 +58,6 @@
|
|
58
58
|
</div>
|
59
59
|
<% end %>
|
60
60
|
|
61
|
-
<% content_for :haml, flush: true do %>
|
62
|
-
..relative.inline-block{"data-controller" => "railsui-dropdown"}
|
63
|
-
= button_tag data: { action: "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide" }, class: "btn btn-primary pr-3" do
|
64
|
-
Dropdown
|
65
|
-
\#{icon "chevron-down", class: "size-3 ml-2"}
|
66
|
-
.hidden.transition.transform.origin-top-left.absolute.left-0.top-14.bg-white.rounded-xl.shadow-xl.border.border-zinc-300.w-full.z-50.py-2.dark:bg-zinc-900.text-base.text-zinc-600.dark:text-zinc-200.font-heading{class: "shadow-zinc-900/10 md:w-[200px] dark:shadow-zinc-900/50 dark:border-zinc-600/80 md:text-[15px]", "data-railsui-dropdown-target" => "menu", "data-transition-enter-from" => "opacity-0 scale-95", "data-transition-enter-to" => "opacity-100 scale-100", "data-transition-leave-from" => "opacity-100 scale-100", "data-transition-leave-to" => "opacity-0 scale-95"}
|
67
|
-
= link_to "Bookmark", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
68
|
-
= link_to "Report", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
69
|
-
= link_to "Export", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
70
|
-
<% end %>
|
71
61
|
|
72
62
|
<%= render_snippet %>
|
73
63
|
<% end %>
|
@@ -83,19 +83,6 @@
|
|
83
83
|
</div>
|
84
84
|
<% end %>
|
85
85
|
|
86
|
-
<% content_for :haml, flush: true do %>
|
87
|
-
.relative.inline-block{"data-controller" => "railsui-dropdown"}
|
88
|
-
= button_tag data: { action: "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide" }, class: "btn btn-primary" do
|
89
|
-
Right-aligned Dropdown Menu
|
90
|
-
\#{icon "chevron-down", class: "size-3 ml-2"}
|
91
|
-
.hidden.transition.transform.origin-top-right.absolute.right-0.top-14.bg-white.rounded-xl.shadow-xl.border.border-zinc-300.w-full.z-50.py-2.dark:bg-zinc-900.text-base.text-zinc-600.dark:text-zinc-200{class: "shadow-zinc-900/10 md:w-[200px] dark:shadow-zinc-900/50 dark:border-zinc-600/80 md:text-[15px]", "data-railsui-dropdown-target" => "menu", "data-transition-enter-from" => "opacity-0 scale-95", "data-transition-enter-to" => "opacity-100 scale-100", "data-transition-leave-from" => "opacity-100 scale-100", "data-transition-leave-to" => "opacity-0 scale-95"}
|
92
|
-
%div
|
93
|
-
= link_to "Bookmark", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
94
|
-
%div
|
95
|
-
= link_to "Report", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
96
|
-
%div
|
97
|
-
= link_to "Export", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
98
|
-
<% end %>
|
99
86
|
|
100
87
|
<%= render_snippet %>
|
101
88
|
<% end %>
|
@@ -94,20 +94,6 @@
|
|
94
94
|
</div>
|
95
95
|
<% end %>
|
96
96
|
|
97
|
-
<% content_for :haml, flush: true do %>
|
98
|
-
.relative.md:inline-block.block.md:w-auto.w-full{"data-controller" => "railsui-dropdown"}
|
99
|
-
= button_tag data: { action: "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide" }, class: "btn btn-primary" do
|
100
|
-
Dropdown with dividers
|
101
|
-
\#{icon "chevron-down", class: "size-3 ml-2"}
|
102
|
-
.hidden.transition.transform.origin-top-left.absolute.left-0.top-14.bg-white.rounded-xl.shadow-xl.border.border-zinc-300.w-full.z-50.py-2.dark:bg-zinc-900.md:text-sm.text-base.text-zinc-600.dark:text-zinc-200{class: "shadow-zinc-900/10 md:w-[200px] dark:shadow-zinc-900/50 dark:border-zinc-600/80", "data-railsui-dropdown-target" => "menu", "data-transition-enter-from" => "opacity-0 scale-95", "data-transition-enter-to" => "opacity-100 scale-100", "data-transition-leave-from" => "opacity-100 scale-100", "data-transition-leave-to" => "opacity-0 scale-95"}
|
103
|
-
.pb-1{role: "none"}
|
104
|
-
= link_to "Edit", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
105
|
-
.py-1{role: "none"}
|
106
|
-
= link_to "Share", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
107
|
-
= link_to "Export", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
108
|
-
.pt-1{role: "none"}
|
109
|
-
= link_to "Delete", "#", class: "px-4 py-1.5 hover:text-zinc-950 block dark:hover:text-white"
|
110
|
-
<% end %>
|
111
97
|
|
112
98
|
<%= render_snippet %>
|
113
99
|
<% end %>
|
@@ -74,22 +74,6 @@
|
|
74
74
|
</div>
|
75
75
|
<% end %>
|
76
76
|
|
77
|
-
<% content_for :haml, flush: true do %>
|
78
|
-
.relative.inline-block{"data-controller" => "railsui-dropdown"}
|
79
|
-
= button_tag data: { action: "click->railsui-dropdown#toggle click@window->railsui-dropdown#hide" }, class: "btn btn-primary" do
|
80
|
-
Dropdown
|
81
|
-
\#{icon "chevron-down", class: "size-3 ml-2"}
|
82
|
-
.hidden.transition.transform.origin-top-left.absolute.left-0.top-14.bg-white.rounded-xl.shadow-xl.border.border-zinc-200.w-full.z-50.py-2.dark:bg-zinc-900.text-base.text-zinc-600.dark:text-zinc-100.font-heading{class: "shadow-zinc-900/10 md:w-[200px] dark:shadow-zinc-900/50 dark:border-zinc-600/80 md:text-[15px]", "data-railsui-dropdown-target" => "menu", "data-transition-enter-from" => "opacity-0 scale-95", "data-transition-enter-to" => "opacity-100 scale-100", "data-transition-leave-from" => "opacity-100 scale-100", "data-transition-leave-to" => "opacity-0 scale-95"}
|
83
|
-
= link_to, class: "px-4 py-[.4rem] hover:text-primary-600 dark:hover:text-primary-500 group flex items-center justify-start gap-3" do
|
84
|
-
= icon "bookmark", class: "size-4 text-zinc-600 group-hover:text-primary-600 flex-shrink-0"
|
85
|
-
%span Bookmark
|
86
|
-
= link_to, class: "px-4 py-[.4rem] hover:text-primary-600 dark:hover:text-primary-500 group flex items-center justify-start gap-3" do
|
87
|
-
= icon "flag", class: "size-4 text-zinc-600 group-hover:text-primary-600 flex-shrink-0"
|
88
|
-
%span Report
|
89
|
-
= link_to, class: "px-4 py-[.4rem] hover:text-primary-600 dark:hover:text-primary-500 group flex items-center justify-start gap-3" do
|
90
|
-
= icon "arrow-down-tray", class: "size-4 text-zinc-600 group-hover:text-primary-600 flex-shrink-0"
|
91
|
-
%span Export
|
92
|
-
<% end %>
|
93
77
|
|
94
78
|
<%= render_snippet %>
|
95
79
|
<% end %>
|
@@ -25,11 +25,6 @@
|
|
25
25
|
<%% end %>
|
26
26
|
<% end %>
|
27
27
|
|
28
|
-
<% content_for :haml, flush: true do %>
|
29
|
-
- if notice
|
30
|
-
.bg-indigo-600.text-white.text-center.p-4{"data-controller" => "alert", :role => "alert"}
|
31
|
-
%p= sanitize notice
|
32
|
-
<% end %>
|
33
28
|
|
34
29
|
<% content_for :js, flush: true do %>
|
35
30
|
import { Controller } from "@hotwired/stimulus"
|