hotwirebits 0.1.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 +7 -0
- data/CHANGELOG.md +46 -0
- data/LICENSE +21 -0
- data/README.md +156 -0
- data/app/assets/stylesheets/hotwirebits/theme.css +131 -0
- data/app/assets/stylesheets/hotwirebits/themes/corporate.css +29 -0
- data/app/assets/stylesheets/hotwirebits/themes/midnight.css +29 -0
- data/app/components/hotwirebits/accordion_component.html.erb +23 -0
- data/app/components/hotwirebits/accordion_component.rb +34 -0
- data/app/components/hotwirebits/activity_feed_component.html.erb +40 -0
- data/app/components/hotwirebits/activity_feed_component.rb +11 -0
- data/app/components/hotwirebits/affix_component.html.erb +3 -0
- data/app/components/hotwirebits/affix_component.rb +25 -0
- data/app/components/hotwirebits/ai_chat_component.html.erb +32 -0
- data/app/components/hotwirebits/ai_chat_component.rb +12 -0
- data/app/components/hotwirebits/alert_component.html.erb +32 -0
- data/app/components/hotwirebits/alert_component.rb +39 -0
- data/app/components/hotwirebits/alert_dialog_component.html.erb +30 -0
- data/app/components/hotwirebits/alert_dialog_component.rb +40 -0
- data/app/components/hotwirebits/anchor_component.html.erb +9 -0
- data/app/components/hotwirebits/anchor_component.rb +12 -0
- data/app/components/hotwirebits/angle_slider_component.html.erb +9 -0
- data/app/components/hotwirebits/angle_slider_component.rb +19 -0
- data/app/components/hotwirebits/animated_number_component.html.erb +8 -0
- data/app/components/hotwirebits/animated_number_component.rb +28 -0
- data/app/components/hotwirebits/app_shell_component.html.erb +22 -0
- data/app/components/hotwirebits/app_shell_component.rb +15 -0
- data/app/components/hotwirebits/aspect_ratio_component.html.erb +3 -0
- data/app/components/hotwirebits/aspect_ratio_component.rb +27 -0
- data/app/components/hotwirebits/auth_block_component.html.erb +63 -0
- data/app/components/hotwirebits/auth_block_component.rb +35 -0
- data/app/components/hotwirebits/autocomplete_component.html.erb +5 -0
- data/app/components/hotwirebits/autocomplete_component.rb +45 -0
- data/app/components/hotwirebits/avatar_component.html.erb +18 -0
- data/app/components/hotwirebits/avatar_component.rb +67 -0
- data/app/components/hotwirebits/background_image_component.html.erb +9 -0
- data/app/components/hotwirebits/background_image_component.rb +17 -0
- data/app/components/hotwirebits/badge_component.html.erb +13 -0
- data/app/components/hotwirebits/badge_component.rb +55 -0
- data/app/components/hotwirebits/banner_component.html.erb +31 -0
- data/app/components/hotwirebits/banner_component.rb +36 -0
- data/app/components/hotwirebits/base.rb +13 -0
- data/app/components/hotwirebits/bento_grid_component.html.erb +7 -0
- data/app/components/hotwirebits/bento_grid_component.rb +36 -0
- data/app/components/hotwirebits/blog_section_component.html.erb +35 -0
- data/app/components/hotwirebits/blog_section_component.rb +20 -0
- data/app/components/hotwirebits/bottom_navigation_component.html.erb +21 -0
- data/app/components/hotwirebits/bottom_navigation_component.rb +22 -0
- data/app/components/hotwirebits/box_component.html.erb +3 -0
- data/app/components/hotwirebits/box_component.rb +16 -0
- data/app/components/hotwirebits/breadcrumb_advanced_component.html.erb +53 -0
- data/app/components/hotwirebits/breadcrumb_advanced_component.rb +32 -0
- data/app/components/hotwirebits/breadcrumb_component.html.erb +18 -0
- data/app/components/hotwirebits/breadcrumb_component.rb +11 -0
- data/app/components/hotwirebits/browser_mockup_component.html.erb +22 -0
- data/app/components/hotwirebits/browser_mockup_component.rb +11 -0
- data/app/components/hotwirebits/burger_component.html.erb +20 -0
- data/app/components/hotwirebits/burger_component.rb +29 -0
- data/app/components/hotwirebits/button_component.html.erb +21 -0
- data/app/components/hotwirebits/button_component.rb +84 -0
- data/app/components/hotwirebits/calendar_component.html.erb +70 -0
- data/app/components/hotwirebits/calendar_component.rb +49 -0
- data/app/components/hotwirebits/card_component.html.erb +24 -0
- data/app/components/hotwirebits/card_component.rb +21 -0
- data/app/components/hotwirebits/card_heading_component.html.erb +13 -0
- data/app/components/hotwirebits/card_heading_component.rb +13 -0
- data/app/components/hotwirebits/carousel_component.html.erb +50 -0
- data/app/components/hotwirebits/carousel_component.rb +27 -0
- data/app/components/hotwirebits/center_component.html.erb +3 -0
- data/app/components/hotwirebits/center_component.rb +22 -0
- data/app/components/hotwirebits/chart_component.html.erb +68 -0
- data/app/components/hotwirebits/chart_component.rb +67 -0
- data/app/components/hotwirebits/chat_bubble_component.html.erb +27 -0
- data/app/components/hotwirebits/chat_bubble_component.rb +35 -0
- data/app/components/hotwirebits/checkbox_component.html.erb +9 -0
- data/app/components/hotwirebits/checkbox_component.rb +70 -0
- data/app/components/hotwirebits/checkout_form_component.html.erb +40 -0
- data/app/components/hotwirebits/checkout_form_component.rb +21 -0
- data/app/components/hotwirebits/chip_component.html.erb +13 -0
- data/app/components/hotwirebits/chip_component.rb +51 -0
- data/app/components/hotwirebits/clipboard_component.html.erb +26 -0
- data/app/components/hotwirebits/clipboard_component.rb +19 -0
- data/app/components/hotwirebits/close_button_component.html.erb +3 -0
- data/app/components/hotwirebits/close_button_component.rb +40 -0
- data/app/components/hotwirebits/code_block_component.html.erb +17 -0
- data/app/components/hotwirebits/code_block_component.rb +19 -0
- data/app/components/hotwirebits/code_highlight_component.html.erb +6 -0
- data/app/components/hotwirebits/code_highlight_component.rb +32 -0
- data/app/components/hotwirebits/code_mockup_component.html.erb +13 -0
- data/app/components/hotwirebits/code_mockup_component.rb +19 -0
- data/app/components/hotwirebits/collapsible_component.html.erb +17 -0
- data/app/components/hotwirebits/collapsible_component.rb +11 -0
- data/app/components/hotwirebits/color_input_component.html.erb +19 -0
- data/app/components/hotwirebits/color_input_component.rb +14 -0
- data/app/components/hotwirebits/color_picker_component.html.erb +6 -0
- data/app/components/hotwirebits/color_picker_component.rb +37 -0
- data/app/components/hotwirebits/color_swatch_component.html.erb +1 -0
- data/app/components/hotwirebits/color_swatch_component.rb +18 -0
- data/app/components/hotwirebits/combobox_component.html.erb +15 -0
- data/app/components/hotwirebits/combobox_component.rb +56 -0
- data/app/components/hotwirebits/command_bar_component.html.erb +33 -0
- data/app/components/hotwirebits/command_bar_component.rb +11 -0
- data/app/components/hotwirebits/compare_component.html.erb +21 -0
- data/app/components/hotwirebits/compare_component.rb +17 -0
- data/app/components/hotwirebits/confirm_dialog_component.html.erb +17 -0
- data/app/components/hotwirebits/confirm_dialog_component.rb +23 -0
- data/app/components/hotwirebits/confirm_popup_component.html.erb +16 -0
- data/app/components/hotwirebits/confirm_popup_component.rb +31 -0
- data/app/components/hotwirebits/contact_section_component.html.erb +53 -0
- data/app/components/hotwirebits/contact_section_component.rb +17 -0
- data/app/components/hotwirebits/container_component.html.erb +3 -0
- data/app/components/hotwirebits/container_component.rb +29 -0
- data/app/components/hotwirebits/context_menu_component.html.erb +27 -0
- data/app/components/hotwirebits/context_menu_component.rb +14 -0
- data/app/components/hotwirebits/cookie_consent_component.html.erb +23 -0
- data/app/components/hotwirebits/cookie_consent_component.rb +28 -0
- data/app/components/hotwirebits/cookie_settings_component.html.erb +48 -0
- data/app/components/hotwirebits/cookie_settings_component.rb +10 -0
- data/app/components/hotwirebits/countdown_component.html.erb +8 -0
- data/app/components/hotwirebits/countdown_component.rb +14 -0
- data/app/components/hotwirebits/cta_section_component.html.erb +33 -0
- data/app/components/hotwirebits/cta_section_component.rb +23 -0
- data/app/components/hotwirebits/dashboard_card_component.html.erb +32 -0
- data/app/components/hotwirebits/dashboard_card_component.rb +25 -0
- data/app/components/hotwirebits/data_table_component.html.erb +53 -0
- data/app/components/hotwirebits/data_table_component.rb +40 -0
- data/app/components/hotwirebits/data_view_component.html.erb +21 -0
- data/app/components/hotwirebits/data_view_component.rb +76 -0
- data/app/components/hotwirebits/date_picker_component.html.erb +8 -0
- data/app/components/hotwirebits/date_picker_component.rb +61 -0
- data/app/components/hotwirebits/date_range_picker_component.html.erb +28 -0
- data/app/components/hotwirebits/date_range_picker_component.rb +14 -0
- data/app/components/hotwirebits/device_frame_component.html.erb +40 -0
- data/app/components/hotwirebits/device_frame_component.rb +36 -0
- data/app/components/hotwirebits/device_mockup_component.html.erb +51 -0
- data/app/components/hotwirebits/device_mockup_component.rb +37 -0
- data/app/components/hotwirebits/dialog_component.html.erb +41 -0
- data/app/components/hotwirebits/dialog_component.rb +49 -0
- data/app/components/hotwirebits/diff_component.html.erb +22 -0
- data/app/components/hotwirebits/diff_component.rb +21 -0
- data/app/components/hotwirebits/diff_view_component.html.erb +22 -0
- data/app/components/hotwirebits/diff_view_component.rb +39 -0
- data/app/components/hotwirebits/digital_signature_component.html.erb +21 -0
- data/app/components/hotwirebits/digital_signature_component.rb +14 -0
- data/app/components/hotwirebits/divider_component.html.erb +11 -0
- data/app/components/hotwirebits/divider_component.rb +29 -0
- data/app/components/hotwirebits/dock_menu_component.html.erb +21 -0
- data/app/components/hotwirebits/dock_menu_component.rb +10 -0
- data/app/components/hotwirebits/drag_drop_list_component.html.erb +16 -0
- data/app/components/hotwirebits/drag_drop_list_component.rb +20 -0
- data/app/components/hotwirebits/drawer_component.html.erb +38 -0
- data/app/components/hotwirebits/drawer_component.rb +21 -0
- data/app/components/hotwirebits/dropdown_component.html.erb +27 -0
- data/app/components/hotwirebits/dropdown_component.rb +21 -0
- data/app/components/hotwirebits/dropzone_component.html.erb +16 -0
- data/app/components/hotwirebits/dropzone_component.rb +15 -0
- data/app/components/hotwirebits/empty_cart_component.html.erb +19 -0
- data/app/components/hotwirebits/empty_cart_component.rb +14 -0
- data/app/components/hotwirebits/empty_state_component.html.erb +20 -0
- data/app/components/hotwirebits/empty_state_component.rb +14 -0
- data/app/components/hotwirebits/error_page_component.html.erb +14 -0
- data/app/components/hotwirebits/error_page_component.rb +30 -0
- data/app/components/hotwirebits/faq_section_component.html.erb +26 -0
- data/app/components/hotwirebits/faq_section_component.rb +18 -0
- data/app/components/hotwirebits/feature_section_component.html.erb +27 -0
- data/app/components/hotwirebits/feature_section_component.rb +24 -0
- data/app/components/hotwirebits/feedback_component.html.erb +51 -0
- data/app/components/hotwirebits/feedback_component.rb +23 -0
- data/app/components/hotwirebits/fieldset_component.html.erb +11 -0
- data/app/components/hotwirebits/fieldset_component.rb +21 -0
- data/app/components/hotwirebits/file_browser_component.html.erb +35 -0
- data/app/components/hotwirebits/file_browser_component.rb +11 -0
- data/app/components/hotwirebits/file_input_component.html.erb +7 -0
- data/app/components/hotwirebits/file_input_component.rb +25 -0
- data/app/components/hotwirebits/file_upload_progress_component.html.erb +26 -0
- data/app/components/hotwirebits/file_upload_progress_component.rb +33 -0
- data/app/components/hotwirebits/flex_component.html.erb +3 -0
- data/app/components/hotwirebits/flex_component.rb +37 -0
- data/app/components/hotwirebits/float_label_component.html.erb +4 -0
- data/app/components/hotwirebits/float_label_component.rb +11 -0
- data/app/components/hotwirebits/fluid_component.html.erb +3 -0
- data/app/components/hotwirebits/fluid_component.rb +13 -0
- data/app/components/hotwirebits/flyout_menu_component.html.erb +35 -0
- data/app/components/hotwirebits/flyout_menu_component.rb +25 -0
- data/app/components/hotwirebits/footer_component.html.erb +43 -0
- data/app/components/hotwirebits/footer_component.rb +13 -0
- data/app/components/hotwirebits/form_fieldset_component.html.erb +9 -0
- data/app/components/hotwirebits/form_fieldset_component.rb +11 -0
- data/app/components/hotwirebits/form_group_component.html.erb +31 -0
- data/app/components/hotwirebits/form_group_component.rb +15 -0
- data/app/components/hotwirebits/gallery_component.html.erb +25 -0
- data/app/components/hotwirebits/gallery_component.rb +29 -0
- data/app/components/hotwirebits/grid_component.html.erb +3 -0
- data/app/components/hotwirebits/grid_component.rb +31 -0
- data/app/components/hotwirebits/group_component.html.erb +3 -0
- data/app/components/hotwirebits/group_component.rb +27 -0
- data/app/components/hotwirebits/header_component.html.erb +25 -0
- data/app/components/hotwirebits/header_component.rb +23 -0
- data/app/components/hotwirebits/header_section_component.html.erb +33 -0
- data/app/components/hotwirebits/header_section_component.rb +18 -0
- data/app/components/hotwirebits/hero_component.html.erb +35 -0
- data/app/components/hotwirebits/hero_component.rb +36 -0
- data/app/components/hotwirebits/highlight_component.html.erb +1 -0
- data/app/components/hotwirebits/highlight_component.rb +21 -0
- data/app/components/hotwirebits/hover3d_card_component.html.erb +10 -0
- data/app/components/hotwirebits/hover3d_card_component.rb +16 -0
- data/app/components/hotwirebits/hover_card_component.html.erb +19 -0
- data/app/components/hotwirebits/hover_card_component.rb +35 -0
- data/app/components/hotwirebits/hover_gallery_component.html.erb +23 -0
- data/app/components/hotwirebits/hover_gallery_component.rb +15 -0
- data/app/components/hotwirebits/icon_field_component.html.erb +9 -0
- data/app/components/hotwirebits/icon_field_component.rb +35 -0
- data/app/components/hotwirebits/ifta_label_component.html.erb +4 -0
- data/app/components/hotwirebits/ifta_label_component.rb +11 -0
- data/app/components/hotwirebits/image_compare_component.html.erb +21 -0
- data/app/components/hotwirebits/image_compare_component.rb +19 -0
- data/app/components/hotwirebits/image_component.html.erb +22 -0
- data/app/components/hotwirebits/image_component.rb +23 -0
- data/app/components/hotwirebits/image_zoom_component.html.erb +8 -0
- data/app/components/hotwirebits/image_zoom_component.rb +17 -0
- data/app/components/hotwirebits/incentive_component.html.erb +11 -0
- data/app/components/hotwirebits/incentive_component.rb +16 -0
- data/app/components/hotwirebits/indicator_badge_component.html.erb +8 -0
- data/app/components/hotwirebits/indicator_badge_component.rb +33 -0
- data/app/components/hotwirebits/indicator_component.html.erb +6 -0
- data/app/components/hotwirebits/indicator_component.rb +30 -0
- data/app/components/hotwirebits/inline_edit_component.html.erb +50 -0
- data/app/components/hotwirebits/inline_edit_component.rb +16 -0
- data/app/components/hotwirebits/inplace_component.html.erb +6 -0
- data/app/components/hotwirebits/inplace_component.rb +39 -0
- data/app/components/hotwirebits/input_component.html.erb +13 -0
- data/app/components/hotwirebits/input_component.rb +97 -0
- data/app/components/hotwirebits/input_group_component.html.erb +9 -0
- data/app/components/hotwirebits/input_group_component.rb +38 -0
- data/app/components/hotwirebits/input_number_component.html.erb +14 -0
- data/app/components/hotwirebits/input_number_component.rb +78 -0
- data/app/components/hotwirebits/input_otp_component.html.erb +6 -0
- data/app/components/hotwirebits/input_otp_component.rb +29 -0
- data/app/components/hotwirebits/input_tags_component.html.erb +12 -0
- data/app/components/hotwirebits/input_tags_component.rb +31 -0
- data/app/components/hotwirebits/join_component.html.erb +3 -0
- data/app/components/hotwirebits/join_component.rb +18 -0
- data/app/components/hotwirebits/json_input_component.html.erb +14 -0
- data/app/components/hotwirebits/json_input_component.rb +20 -0
- data/app/components/hotwirebits/kanban_board_component.html.erb +39 -0
- data/app/components/hotwirebits/kanban_board_component.rb +17 -0
- data/app/components/hotwirebits/kbd_component.html.erb +1 -0
- data/app/components/hotwirebits/kbd_component.rb +27 -0
- data/app/components/hotwirebits/knob_component.html.erb +16 -0
- data/app/components/hotwirebits/knob_component.rb +23 -0
- data/app/components/hotwirebits/label_component.html.erb +5 -0
- data/app/components/hotwirebits/label_component.rb +18 -0
- data/app/components/hotwirebits/lightbox_component.html.erb +30 -0
- data/app/components/hotwirebits/lightbox_component.rb +11 -0
- data/app/components/hotwirebits/like_button_component.html.erb +15 -0
- data/app/components/hotwirebits/like_button_component.rb +23 -0
- data/app/components/hotwirebits/list_component.html.erb +3 -0
- data/app/components/hotwirebits/list_component.rb +19 -0
- data/app/components/hotwirebits/listbox_component.html.erb +16 -0
- data/app/components/hotwirebits/listbox_component.rb +52 -0
- data/app/components/hotwirebits/loading_overlay_component.html.erb +12 -0
- data/app/components/hotwirebits/loading_overlay_component.rb +23 -0
- data/app/components/hotwirebits/logo_cloud_component.html.erb +20 -0
- data/app/components/hotwirebits/logo_cloud_component.rb +23 -0
- data/app/components/hotwirebits/logo_item_component.html.erb +7 -0
- data/app/components/hotwirebits/logo_item_component.rb +20 -0
- data/app/components/hotwirebits/mark_component.html.erb +1 -0
- data/app/components/hotwirebits/mark_component.rb +17 -0
- data/app/components/hotwirebits/marquee_component.html.erb +29 -0
- data/app/components/hotwirebits/marquee_component.rb +38 -0
- data/app/components/hotwirebits/mask_component.html.erb +3 -0
- data/app/components/hotwirebits/mask_component.rb +25 -0
- data/app/components/hotwirebits/mega_menu_component.html.erb +43 -0
- data/app/components/hotwirebits/mega_menu_component.rb +11 -0
- data/app/components/hotwirebits/menu_component.html.erb +32 -0
- data/app/components/hotwirebits/menu_component.rb +20 -0
- data/app/components/hotwirebits/menubar_component.html.erb +30 -0
- data/app/components/hotwirebits/menubar_component.rb +10 -0
- data/app/components/hotwirebits/meter_group_component.html.erb +16 -0
- data/app/components/hotwirebits/meter_group_component.rb +36 -0
- data/app/components/hotwirebits/month_picker_component.html.erb +25 -0
- data/app/components/hotwirebits/month_picker_component.rb +51 -0
- data/app/components/hotwirebits/month_picker_input_component.html.erb +20 -0
- data/app/components/hotwirebits/month_picker_input_component.rb +21 -0
- data/app/components/hotwirebits/multiselect_component.html.erb +18 -0
- data/app/components/hotwirebits/multiselect_component.rb +56 -0
- data/app/components/hotwirebits/native_select_component.html.erb +10 -0
- data/app/components/hotwirebits/native_select_component.rb +20 -0
- data/app/components/hotwirebits/nav_link_component.html.erb +9 -0
- data/app/components/hotwirebits/nav_link_component.rb +23 -0
- data/app/components/hotwirebits/navbar_component.html.erb +25 -0
- data/app/components/hotwirebits/navbar_component.rb +26 -0
- data/app/components/hotwirebits/navigation_menu_component.html.erb +43 -0
- data/app/components/hotwirebits/navigation_menu_component.rb +10 -0
- data/app/components/hotwirebits/newsletter_section_component.html.erb +18 -0
- data/app/components/hotwirebits/newsletter_section_component.rb +15 -0
- data/app/components/hotwirebits/notification_bell_component.html.erb +18 -0
- data/app/components/hotwirebits/notification_bell_component.rb +22 -0
- data/app/components/hotwirebits/notification_component.html.erb +28 -0
- data/app/components/hotwirebits/notification_component.rb +23 -0
- data/app/components/hotwirebits/number_formatter_component.html.erb +1 -0
- data/app/components/hotwirebits/number_formatter_component.rb +27 -0
- data/app/components/hotwirebits/number_input_component.html.erb +1 -0
- data/app/components/hotwirebits/number_input_component.rb +32 -0
- data/app/components/hotwirebits/order_summary_component.html.erb +37 -0
- data/app/components/hotwirebits/order_summary_component.rb +23 -0
- data/app/components/hotwirebits/org_chart_component.html.erb +34 -0
- data/app/components/hotwirebits/org_chart_component.rb +14 -0
- data/app/components/hotwirebits/page_heading_component.html.erb +28 -0
- data/app/components/hotwirebits/page_heading_component.rb +18 -0
- data/app/components/hotwirebits/pagination_component.html.erb +29 -0
- data/app/components/hotwirebits/pagination_component.rb +32 -0
- data/app/components/hotwirebits/paginator_component.html.erb +36 -0
- data/app/components/hotwirebits/paginator_component.rb +44 -0
- data/app/components/hotwirebits/panel_component.html.erb +14 -0
- data/app/components/hotwirebits/panel_component.rb +48 -0
- data/app/components/hotwirebits/password_input_component.html.erb +8 -0
- data/app/components/hotwirebits/password_input_component.rb +72 -0
- data/app/components/hotwirebits/password_strength_component.html.erb +18 -0
- data/app/components/hotwirebits/password_strength_component.rb +24 -0
- data/app/components/hotwirebits/password_toggle_component.html.erb +15 -0
- data/app/components/hotwirebits/password_toggle_component.rb +10 -0
- data/app/components/hotwirebits/permission_badge_component.html.erb +15 -0
- data/app/components/hotwirebits/permission_badge_component.rb +33 -0
- data/app/components/hotwirebits/phone_input_component.html.erb +1 -0
- data/app/components/hotwirebits/phone_input_component.rb +29 -0
- data/app/components/hotwirebits/phone_mockup_component.html.erb +12 -0
- data/app/components/hotwirebits/phone_mockup_component.rb +30 -0
- data/app/components/hotwirebits/popover_component.html.erb +20 -0
- data/app/components/hotwirebits/popover_component.rb +45 -0
- data/app/components/hotwirebits/portal_component.html.erb +3 -0
- data/app/components/hotwirebits/portal_component.rb +10 -0
- data/app/components/hotwirebits/pricing_section_component.html.erb +46 -0
- data/app/components/hotwirebits/pricing_section_component.rb +19 -0
- data/app/components/hotwirebits/product_list_component.html.erb +24 -0
- data/app/components/hotwirebits/product_list_component.rb +21 -0
- data/app/components/hotwirebits/product_overview_component.html.erb +59 -0
- data/app/components/hotwirebits/product_overview_component.rb +19 -0
- data/app/components/hotwirebits/product_quickview_component.html.erb +45 -0
- data/app/components/hotwirebits/product_quickview_component.rb +15 -0
- data/app/components/hotwirebits/progress_component.html.erb +10 -0
- data/app/components/hotwirebits/progress_component.rb +49 -0
- data/app/components/hotwirebits/progress_ring_component.html.erb +26 -0
- data/app/components/hotwirebits/progress_ring_component.rb +47 -0
- data/app/components/hotwirebits/promo_section_component.html.erb +31 -0
- data/app/components/hotwirebits/promo_section_component.rb +30 -0
- data/app/components/hotwirebits/qr_code_component.html.erb +19 -0
- data/app/components/hotwirebits/qr_code_component.rb +177 -0
- data/app/components/hotwirebits/radio_component.html.erb +6 -0
- data/app/components/hotwirebits/radio_component.rb +40 -0
- data/app/components/hotwirebits/range_slider_component.html.erb +9 -0
- data/app/components/hotwirebits/range_slider_component.rb +57 -0
- data/app/components/hotwirebits/rating_component.html.erb +11 -0
- data/app/components/hotwirebits/rating_component.rb +53 -0
- data/app/components/hotwirebits/resizable_component.html.erb +19 -0
- data/app/components/hotwirebits/resizable_component.rb +35 -0
- data/app/components/hotwirebits/review_component.html.erb +36 -0
- data/app/components/hotwirebits/review_component.rb +19 -0
- data/app/components/hotwirebits/rich_text_editor_component.html.erb +55 -0
- data/app/components/hotwirebits/rich_text_editor_component.rb +15 -0
- data/app/components/hotwirebits/scroll_area_component.html.erb +3 -0
- data/app/components/hotwirebits/scroll_area_component.rb +28 -0
- data/app/components/hotwirebits/search_component.html.erb +56 -0
- data/app/components/hotwirebits/search_component.rb +21 -0
- data/app/components/hotwirebits/search_input_component.html.erb +6 -0
- data/app/components/hotwirebits/search_input_component.rb +50 -0
- data/app/components/hotwirebits/section_heading_component.html.erb +6 -0
- data/app/components/hotwirebits/section_heading_component.rb +26 -0
- data/app/components/hotwirebits/select_component.html.erb +16 -0
- data/app/components/hotwirebits/select_component.rb +38 -0
- data/app/components/hotwirebits/semi_circle_progress_component.html.erb +9 -0
- data/app/components/hotwirebits/semi_circle_progress_component.rb +52 -0
- data/app/components/hotwirebits/separator_component.html.erb +9 -0
- data/app/components/hotwirebits/separator_component.rb +26 -0
- data/app/components/hotwirebits/sheet_component.html.erb +42 -0
- data/app/components/hotwirebits/sheet_component.rb +44 -0
- data/app/components/hotwirebits/shopping_cart_component.html.erb +46 -0
- data/app/components/hotwirebits/shopping_cart_component.rb +17 -0
- data/app/components/hotwirebits/sidebar_component.html.erb +40 -0
- data/app/components/hotwirebits/sidebar_component.rb +29 -0
- data/app/components/hotwirebits/simple_grid_component.html.erb +3 -0
- data/app/components/hotwirebits/simple_grid_component.rb +23 -0
- data/app/components/hotwirebits/skeleton_card_component.html.erb +15 -0
- data/app/components/hotwirebits/skeleton_card_component.rb +17 -0
- data/app/components/hotwirebits/skeleton_component.html.erb +5 -0
- data/app/components/hotwirebits/skeleton_component.rb +39 -0
- data/app/components/hotwirebits/slider_component.html.erb +3 -0
- data/app/components/hotwirebits/slider_component.rb +34 -0
- data/app/components/hotwirebits/social_share_component.html.erb +20 -0
- data/app/components/hotwirebits/social_share_component.rb +25 -0
- data/app/components/hotwirebits/space_component.html.erb +1 -0
- data/app/components/hotwirebits/space_component.rb +22 -0
- data/app/components/hotwirebits/speed_dial_component.html.erb +24 -0
- data/app/components/hotwirebits/speed_dial_component.rb +41 -0
- data/app/components/hotwirebits/speed_dial_fab_component.html.erb +30 -0
- data/app/components/hotwirebits/speed_dial_fab_component.rb +27 -0
- data/app/components/hotwirebits/spinner_component.html.erb +10 -0
- data/app/components/hotwirebits/spinner_component.rb +20 -0
- data/app/components/hotwirebits/split_button_component.html.erb +20 -0
- data/app/components/hotwirebits/split_button_component.rb +33 -0
- data/app/components/hotwirebits/splitter_component.html.erb +9 -0
- data/app/components/hotwirebits/splitter_component.rb +38 -0
- data/app/components/hotwirebits/spoiler_component.html.erb +17 -0
- data/app/components/hotwirebits/spoiler_component.rb +12 -0
- data/app/components/hotwirebits/stack_component.html.erb +3 -0
- data/app/components/hotwirebits/stack_component.rb +28 -0
- data/app/components/hotwirebits/stacked_list_component.html.erb +20 -0
- data/app/components/hotwirebits/stacked_list_component.rb +18 -0
- data/app/components/hotwirebits/stat_component.html.erb +21 -0
- data/app/components/hotwirebits/stat_component.rb +26 -0
- data/app/components/hotwirebits/stats_component.html.erb +15 -0
- data/app/components/hotwirebits/stats_component.rb +25 -0
- data/app/components/hotwirebits/status_bar_component.html.erb +13 -0
- data/app/components/hotwirebits/status_bar_component.rb +20 -0
- data/app/components/hotwirebits/status_component.html.erb +6 -0
- data/app/components/hotwirebits/status_component.rb +30 -0
- data/app/components/hotwirebits/status_dot_component.html.erb +11 -0
- data/app/components/hotwirebits/status_dot_component.rb +37 -0
- data/app/components/hotwirebits/stepper_form_component.html.erb +55 -0
- data/app/components/hotwirebits/stepper_form_component.rb +23 -0
- data/app/components/hotwirebits/steps_component.html.erb +45 -0
- data/app/components/hotwirebits/steps_component.rb +44 -0
- data/app/components/hotwirebits/swap_component.html.erb +18 -0
- data/app/components/hotwirebits/swap_component.rb +29 -0
- data/app/components/hotwirebits/switch_component.html.erb +9 -0
- data/app/components/hotwirebits/switch_component.rb +51 -0
- data/app/components/hotwirebits/table_component.html.erb +5 -0
- data/app/components/hotwirebits/table_component.rb +27 -0
- data/app/components/hotwirebits/table_of_contents_component.html.erb +12 -0
- data/app/components/hotwirebits/table_of_contents_component.rb +23 -0
- data/app/components/hotwirebits/tabs_component.html.erb +43 -0
- data/app/components/hotwirebits/tabs_component.rb +58 -0
- data/app/components/hotwirebits/tag_component.html.erb +3 -0
- data/app/components/hotwirebits/tag_component.rb +35 -0
- data/app/components/hotwirebits/tag_input_component.html.erb +14 -0
- data/app/components/hotwirebits/tag_input_component.rb +56 -0
- data/app/components/hotwirebits/team_section_component.html.erb +39 -0
- data/app/components/hotwirebits/team_section_component.rb +20 -0
- data/app/components/hotwirebits/terminal_component.html.erb +21 -0
- data/app/components/hotwirebits/terminal_component.rb +11 -0
- data/app/components/hotwirebits/testimonial_component.html.erb +29 -0
- data/app/components/hotwirebits/testimonial_component.rb +22 -0
- data/app/components/hotwirebits/testimonials_section_component.html.erb +34 -0
- data/app/components/hotwirebits/testimonials_section_component.rb +23 -0
- data/app/components/hotwirebits/text_gradient_component.html.erb +3 -0
- data/app/components/hotwirebits/text_gradient_component.rb +18 -0
- data/app/components/hotwirebits/text_rotate_component.html.erb +7 -0
- data/app/components/hotwirebits/text_rotate_component.rb +24 -0
- data/app/components/hotwirebits/textarea_component.html.erb +1 -0
- data/app/components/hotwirebits/textarea_component.rb +35 -0
- data/app/components/hotwirebits/theme_controller_component.html.erb +13 -0
- data/app/components/hotwirebits/theme_controller_component.rb +11 -0
- data/app/components/hotwirebits/theme_icon_component.html.erb +3 -0
- data/app/components/hotwirebits/theme_icon_component.rb +18 -0
- data/app/components/hotwirebits/theme_selector_component.html.erb +27 -0
- data/app/components/hotwirebits/theme_selector_component.rb +11 -0
- data/app/components/hotwirebits/time_picker_component.html.erb +29 -0
- data/app/components/hotwirebits/time_picker_component.rb +28 -0
- data/app/components/hotwirebits/timeline_component.html.erb +24 -0
- data/app/components/hotwirebits/timeline_component.rb +17 -0
- data/app/components/hotwirebits/toast_component.html.erb +34 -0
- data/app/components/hotwirebits/toast_component.rb +47 -0
- data/app/components/hotwirebits/toggle_button_component.html.erb +4 -0
- data/app/components/hotwirebits/toggle_button_component.rb +31 -0
- data/app/components/hotwirebits/toggle_button_group_component.html.erb +8 -0
- data/app/components/hotwirebits/toggle_button_group_component.rb +54 -0
- data/app/components/hotwirebits/toggle_component.html.erb +3 -0
- data/app/components/hotwirebits/toggle_component.rb +38 -0
- data/app/components/hotwirebits/toolbar_component.html.erb +18 -0
- data/app/components/hotwirebits/toolbar_component.rb +50 -0
- data/app/components/hotwirebits/tooltip_component.html.erb +16 -0
- data/app/components/hotwirebits/tooltip_component.rb +32 -0
- data/app/components/hotwirebits/tree_view_component.html.erb +7 -0
- data/app/components/hotwirebits/tree_view_component.rb +47 -0
- data/app/components/hotwirebits/two_factor_component.html.erb +26 -0
- data/app/components/hotwirebits/two_factor_component.rb +14 -0
- data/app/components/hotwirebits/typing_indicator_component.html.erb +5 -0
- data/app/components/hotwirebits/typing_indicator_component.rb +33 -0
- data/app/components/hotwirebits/typography_component.html.erb +3 -0
- data/app/components/hotwirebits/typography_component.rb +35 -0
- data/app/components/hotwirebits/validator_component.html.erb +20 -0
- data/app/components/hotwirebits/validator_component.rb +12 -0
- data/app/components/hotwirebits/version_diff_component.html.erb +17 -0
- data/app/components/hotwirebits/version_diff_component.rb +38 -0
- data/app/components/hotwirebits/video_player_component.html.erb +11 -0
- data/app/components/hotwirebits/video_player_component.rb +29 -0
- data/app/components/hotwirebits/voice_recorder_component.html.erb +29 -0
- data/app/components/hotwirebits/voice_recorder_component.rb +14 -0
- data/app/components/hotwirebits/window_mockup_component.html.erb +20 -0
- data/app/components/hotwirebits/window_mockup_component.rb +11 -0
- data/app/helpers/hotwirebits_helper.rb +738 -0
- data/app/javascript/controllers/hotwirebits/index.js +216 -0
- data/app/javascript/controllers/hotwirebits/rb_accordion_controller.js +16 -0
- data/app/javascript/controllers/hotwirebits/rb_activity_feed_controller.js +11 -0
- data/app/javascript/controllers/hotwirebits/rb_ai_chat_controller.js +21 -0
- data/app/javascript/controllers/hotwirebits/rb_alert_controller.js +24 -0
- data/app/javascript/controllers/hotwirebits/rb_angle_slider_controller.js +11 -0
- data/app/javascript/controllers/hotwirebits/rb_animated_number_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_autocomplete_controller.js +34 -0
- data/app/javascript/controllers/hotwirebits/rb_badge_controller.js +8 -0
- data/app/javascript/controllers/hotwirebits/rb_banner_controller.js +27 -0
- data/app/javascript/controllers/hotwirebits/rb_burger_controller.js +25 -0
- data/app/javascript/controllers/hotwirebits/rb_calendar_controller.js +85 -0
- data/app/javascript/controllers/hotwirebits/rb_carousel_controller.js +74 -0
- data/app/javascript/controllers/hotwirebits/rb_clipboard_controller.js +42 -0
- data/app/javascript/controllers/hotwirebits/rb_code_highlight_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_collapsible_controller.js +51 -0
- data/app/javascript/controllers/hotwirebits/rb_color_input_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_color_picker_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_combobox_controller.js +91 -0
- data/app/javascript/controllers/hotwirebits/rb_command_bar_controller.js +32 -0
- data/app/javascript/controllers/hotwirebits/rb_compare_controller.js +18 -0
- data/app/javascript/controllers/hotwirebits/rb_confirm_dialog_controller.js +11 -0
- data/app/javascript/controllers/hotwirebits/rb_confirm_popup_controller.js +10 -0
- data/app/javascript/controllers/hotwirebits/rb_context_menu_controller.js +27 -0
- data/app/javascript/controllers/hotwirebits/rb_cookie_consent_controller.js +60 -0
- data/app/javascript/controllers/hotwirebits/rb_cookie_settings_controller.js +9 -0
- data/app/javascript/controllers/hotwirebits/rb_countdown_controller.js +60 -0
- data/app/javascript/controllers/hotwirebits/rb_data_view_controller.js +10 -0
- data/app/javascript/controllers/hotwirebits/rb_date_range_controller.js +9 -0
- data/app/javascript/controllers/hotwirebits/rb_datepicker_controller.js +107 -0
- data/app/javascript/controllers/hotwirebits/rb_dialog_controller.js +68 -0
- data/app/javascript/controllers/hotwirebits/rb_drag_drop_controller.js +21 -0
- data/app/javascript/controllers/hotwirebits/rb_drawer_controller.js +69 -0
- data/app/javascript/controllers/hotwirebits/rb_dropdown_controller.js +73 -0
- data/app/javascript/controllers/hotwirebits/rb_feedback_controller.js +50 -0
- data/app/javascript/controllers/hotwirebits/rb_file_browser_controller.js +9 -0
- data/app/javascript/controllers/hotwirebits/rb_highlight_controller.js +47 -0
- data/app/javascript/controllers/hotwirebits/rb_hover_3d_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_hover_card_controller.js +19 -0
- data/app/javascript/controllers/hotwirebits/rb_hover_gallery_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_image_compare_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_image_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_image_zoom_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_inline_edit_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_inplace_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_input_number_controller.js +9 -0
- data/app/javascript/controllers/hotwirebits/rb_json_input_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_kanban_controller.js +78 -0
- data/app/javascript/controllers/hotwirebits/rb_knob_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_lightbox_controller.js +36 -0
- data/app/javascript/controllers/hotwirebits/rb_like_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_listbox_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_marquee_controller.js +68 -0
- data/app/javascript/controllers/hotwirebits/rb_menubar_controller.js +78 -0
- data/app/javascript/controllers/hotwirebits/rb_month_picker_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_month_picker_input_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_multiselect_controller.js +83 -0
- data/app/javascript/controllers/hotwirebits/rb_nav_menu_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_newsletter_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_notification_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_otp_controller.js +54 -0
- data/app/javascript/controllers/hotwirebits/rb_paginator_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_panel_controller.js +12 -0
- data/app/javascript/controllers/hotwirebits/rb_password_controller.js +36 -0
- data/app/javascript/controllers/hotwirebits/rb_password_strength_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_password_toggle_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_popover_controller.js +61 -0
- data/app/javascript/controllers/hotwirebits/rb_portal_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_quickview_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_range_slider_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_rating_controller.js +55 -0
- data/app/javascript/controllers/hotwirebits/rb_resizable_controller.js +82 -0
- data/app/javascript/controllers/hotwirebits/rb_rich_text_editor_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_search_controller.js +70 -0
- data/app/javascript/controllers/hotwirebits/rb_sheet_controller.js +43 -0
- data/app/javascript/controllers/hotwirebits/rb_sidebar_controller.js +66 -0
- data/app/javascript/controllers/hotwirebits/rb_signature_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_speed_dial_controller.js +64 -0
- data/app/javascript/controllers/hotwirebits/rb_splitter_controller.js +27 -0
- data/app/javascript/controllers/hotwirebits/rb_spoiler_controller.js +26 -0
- data/app/javascript/controllers/hotwirebits/rb_stepper_form_controller.js +11 -0
- data/app/javascript/controllers/hotwirebits/rb_steps_controller.js +46 -0
- data/app/javascript/controllers/hotwirebits/rb_swap_controller.js +22 -0
- data/app/javascript/controllers/hotwirebits/rb_switch_controller.js +33 -0
- data/app/javascript/controllers/hotwirebits/rb_tabs_controller.js +46 -0
- data/app/javascript/controllers/hotwirebits/rb_tag_input_controller.js +19 -0
- data/app/javascript/controllers/hotwirebits/rb_tags_controller.js +50 -0
- data/app/javascript/controllers/hotwirebits/rb_text_rotate_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_theme_controller.js +48 -0
- data/app/javascript/controllers/hotwirebits/rb_theme_selector_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_time_picker_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_toast_controller.js +43 -0
- data/app/javascript/controllers/hotwirebits/rb_toggle_button_controller.js +9 -0
- data/app/javascript/controllers/hotwirebits/rb_toggle_button_group_controller.js +12 -0
- data/app/javascript/controllers/hotwirebits/rb_toggle_controller.js +28 -0
- data/app/javascript/controllers/hotwirebits/rb_tooltip_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_tree_controller.js +58 -0
- data/app/javascript/controllers/hotwirebits/rb_two_factor_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_validator_controller.js +7 -0
- data/app/javascript/controllers/hotwirebits/rb_voice_recorder_controller.js +7 -0
- data/app/views/hotwirebits/_accordion.html.erb +26 -0
- data/app/views/hotwirebits/_activity_feed.html.erb +43 -0
- data/app/views/hotwirebits/_affix.html.erb +6 -0
- data/app/views/hotwirebits/_ai_chat.html.erb +35 -0
- data/app/views/hotwirebits/_alert.html.erb +53 -0
- data/app/views/hotwirebits/_alert_dialog.html.erb +33 -0
- data/app/views/hotwirebits/_anchor.html.erb +12 -0
- data/app/views/hotwirebits/_angle_slider.html.erb +12 -0
- data/app/views/hotwirebits/_animated_number.html.erb +11 -0
- data/app/views/hotwirebits/_app_shell.html.erb +25 -0
- data/app/views/hotwirebits/_aspect_ratio.html.erb +6 -0
- data/app/views/hotwirebits/_auth_block.html.erb +66 -0
- data/app/views/hotwirebits/_autocomplete.html.erb +8 -0
- data/app/views/hotwirebits/_avatar.html.erb +32 -0
- data/app/views/hotwirebits/_background_image.html.erb +12 -0
- data/app/views/hotwirebits/_badge.html.erb +32 -0
- data/app/views/hotwirebits/_banner.html.erb +52 -0
- data/app/views/hotwirebits/_bento_grid.html.erb +10 -0
- data/app/views/hotwirebits/_blog_section.html.erb +38 -0
- data/app/views/hotwirebits/_bottom_navigation.html.erb +24 -0
- data/app/views/hotwirebits/_box.html.erb +6 -0
- data/app/views/hotwirebits/_breadcrumb.html.erb +28 -0
- data/app/views/hotwirebits/_breadcrumb_advanced.html.erb +56 -0
- data/app/views/hotwirebits/_browser_mockup.html.erb +25 -0
- data/app/views/hotwirebits/_burger.html.erb +23 -0
- data/app/views/hotwirebits/_button.html.erb +59 -0
- data/app/views/hotwirebits/_calendar.html.erb +73 -0
- data/app/views/hotwirebits/_card.html.erb +23 -0
- data/app/views/hotwirebits/_card_heading.html.erb +16 -0
- data/app/views/hotwirebits/_carousel.html.erb +53 -0
- data/app/views/hotwirebits/_center.html.erb +6 -0
- data/app/views/hotwirebits/_chart.html.erb +71 -0
- data/app/views/hotwirebits/_chat_bubble.html.erb +30 -0
- data/app/views/hotwirebits/_checkbox.html.erb +25 -0
- data/app/views/hotwirebits/_checkout_form.html.erb +43 -0
- data/app/views/hotwirebits/_chip.html.erb +30 -0
- data/app/views/hotwirebits/_clipboard.html.erb +29 -0
- data/app/views/hotwirebits/_close_button.html.erb +6 -0
- data/app/views/hotwirebits/_code_block.html.erb +20 -0
- data/app/views/hotwirebits/_code_highlight.html.erb +9 -0
- data/app/views/hotwirebits/_code_mockup.html.erb +16 -0
- data/app/views/hotwirebits/_collapsible.html.erb +20 -0
- data/app/views/hotwirebits/_color_input.html.erb +22 -0
- data/app/views/hotwirebits/_color_picker.html.erb +9 -0
- data/app/views/hotwirebits/_color_swatch.html.erb +4 -0
- data/app/views/hotwirebits/_combobox.html.erb +18 -0
- data/app/views/hotwirebits/_command_bar.html.erb +36 -0
- data/app/views/hotwirebits/_compare.html.erb +24 -0
- data/app/views/hotwirebits/_confirm_dialog.html.erb +20 -0
- data/app/views/hotwirebits/_confirm_popup.html.erb +19 -0
- data/app/views/hotwirebits/_contact_section.html.erb +56 -0
- data/app/views/hotwirebits/_container.html.erb +21 -0
- data/app/views/hotwirebits/_context_menu.html.erb +30 -0
- data/app/views/hotwirebits/_cookie_consent.html.erb +26 -0
- data/app/views/hotwirebits/_cookie_settings.html.erb +51 -0
- data/app/views/hotwirebits/_countdown.html.erb +11 -0
- data/app/views/hotwirebits/_cta_section.html.erb +36 -0
- data/app/views/hotwirebits/_dashboard_card.html.erb +35 -0
- data/app/views/hotwirebits/_data_table.html.erb +56 -0
- data/app/views/hotwirebits/_data_view.html.erb +24 -0
- data/app/views/hotwirebits/_date_picker.html.erb +11 -0
- data/app/views/hotwirebits/_date_range_picker.html.erb +31 -0
- data/app/views/hotwirebits/_device_frame.html.erb +43 -0
- data/app/views/hotwirebits/_device_mockup.html.erb +54 -0
- data/app/views/hotwirebits/_dialog.html.erb +58 -0
- data/app/views/hotwirebits/_diff.html.erb +25 -0
- data/app/views/hotwirebits/_diff_view.html.erb +25 -0
- data/app/views/hotwirebits/_digital_signature.html.erb +24 -0
- data/app/views/hotwirebits/_divider.html.erb +22 -0
- data/app/views/hotwirebits/_dock_menu.html.erb +24 -0
- data/app/views/hotwirebits/_drag_drop_list.html.erb +19 -0
- data/app/views/hotwirebits/_drawer.html.erb +41 -0
- data/app/views/hotwirebits/_dropdown.html.erb +33 -0
- data/app/views/hotwirebits/_dropzone.html.erb +19 -0
- data/app/views/hotwirebits/_empty_cart.html.erb +22 -0
- data/app/views/hotwirebits/_empty_state.html.erb +29 -0
- data/app/views/hotwirebits/_error_page.html.erb +17 -0
- data/app/views/hotwirebits/_faq_section.html.erb +29 -0
- data/app/views/hotwirebits/_feature_section.html.erb +30 -0
- data/app/views/hotwirebits/_feedback.html.erb +54 -0
- data/app/views/hotwirebits/_fieldset.html.erb +14 -0
- data/app/views/hotwirebits/_file_browser.html.erb +38 -0
- data/app/views/hotwirebits/_file_input.html.erb +10 -0
- data/app/views/hotwirebits/_file_upload_progress.html.erb +29 -0
- data/app/views/hotwirebits/_flex.html.erb +6 -0
- data/app/views/hotwirebits/_float_label.html.erb +7 -0
- data/app/views/hotwirebits/_fluid.html.erb +6 -0
- data/app/views/hotwirebits/_flyout_menu.html.erb +38 -0
- data/app/views/hotwirebits/_footer.html.erb +46 -0
- data/app/views/hotwirebits/_form_group.html.erb +43 -0
- data/app/views/hotwirebits/_gallery.html.erb +28 -0
- data/app/views/hotwirebits/_grid.html.erb +14 -0
- data/app/views/hotwirebits/_group.html.erb +6 -0
- data/app/views/hotwirebits/_header.html.erb +28 -0
- data/app/views/hotwirebits/_header_section.html.erb +36 -0
- data/app/views/hotwirebits/_hero.html.erb +38 -0
- data/app/views/hotwirebits/_highlight.html.erb +4 -0
- data/app/views/hotwirebits/_hover_3d_card.html.erb +13 -0
- data/app/views/hotwirebits/_hover_card.html.erb +22 -0
- data/app/views/hotwirebits/_hover_gallery.html.erb +26 -0
- data/app/views/hotwirebits/_icon_field.html.erb +12 -0
- data/app/views/hotwirebits/_ifta_label.html.erb +7 -0
- data/app/views/hotwirebits/_image.html.erb +22 -0
- data/app/views/hotwirebits/_image_compare.html.erb +24 -0
- data/app/views/hotwirebits/_image_zoom.html.erb +11 -0
- data/app/views/hotwirebits/_incentive.html.erb +14 -0
- data/app/views/hotwirebits/_indicator.html.erb +9 -0
- data/app/views/hotwirebits/_indicator_badge.html.erb +11 -0
- data/app/views/hotwirebits/_inline_edit.html.erb +53 -0
- data/app/views/hotwirebits/_inplace.html.erb +9 -0
- data/app/views/hotwirebits/_input.html.erb +33 -0
- data/app/views/hotwirebits/_input_group.html.erb +12 -0
- data/app/views/hotwirebits/_input_number.html.erb +17 -0
- data/app/views/hotwirebits/_input_otp.html.erb +9 -0
- data/app/views/hotwirebits/_input_tags.html.erb +15 -0
- data/app/views/hotwirebits/_join.html.erb +6 -0
- data/app/views/hotwirebits/_json_input.html.erb +17 -0
- data/app/views/hotwirebits/_kanban_board.html.erb +42 -0
- data/app/views/hotwirebits/_kbd.html.erb +17 -0
- data/app/views/hotwirebits/_knob.html.erb +19 -0
- data/app/views/hotwirebits/_label.html.erb +8 -0
- data/app/views/hotwirebits/_lightbox.html.erb +33 -0
- data/app/views/hotwirebits/_like_button.html.erb +18 -0
- data/app/views/hotwirebits/_list.html.erb +6 -0
- data/app/views/hotwirebits/_listbox.html.erb +19 -0
- data/app/views/hotwirebits/_loading_overlay.html.erb +15 -0
- data/app/views/hotwirebits/_logo_cloud.html.erb +23 -0
- data/app/views/hotwirebits/_logo_item.html.erb +10 -0
- data/app/views/hotwirebits/_mark.html.erb +4 -0
- data/app/views/hotwirebits/_marquee.html.erb +32 -0
- data/app/views/hotwirebits/_mask.html.erb +6 -0
- data/app/views/hotwirebits/_mega_menu.html.erb +46 -0
- data/app/views/hotwirebits/_menu.html.erb +35 -0
- data/app/views/hotwirebits/_menubar.html.erb +33 -0
- data/app/views/hotwirebits/_meter_group.html.erb +19 -0
- data/app/views/hotwirebits/_month_picker.html.erb +28 -0
- data/app/views/hotwirebits/_month_picker_input.html.erb +23 -0
- data/app/views/hotwirebits/_multiselect.html.erb +21 -0
- data/app/views/hotwirebits/_native_select.html.erb +13 -0
- data/app/views/hotwirebits/_nav_link.html.erb +12 -0
- data/app/views/hotwirebits/_navbar.html.erb +30 -0
- data/app/views/hotwirebits/_navigation_menu.html.erb +46 -0
- data/app/views/hotwirebits/_newsletter_section.html.erb +21 -0
- data/app/views/hotwirebits/_notification.html.erb +31 -0
- data/app/views/hotwirebits/_notification_bell.html.erb +21 -0
- data/app/views/hotwirebits/_number_formatter.html.erb +4 -0
- data/app/views/hotwirebits/_number_input.html.erb +4 -0
- data/app/views/hotwirebits/_order_summary.html.erb +40 -0
- data/app/views/hotwirebits/_org_chart.html.erb +37 -0
- data/app/views/hotwirebits/_page_heading.html.erb +31 -0
- data/app/views/hotwirebits/_pagination.html.erb +46 -0
- data/app/views/hotwirebits/_paginator.html.erb +39 -0
- data/app/views/hotwirebits/_panel.html.erb +17 -0
- data/app/views/hotwirebits/_password_input.html.erb +11 -0
- data/app/views/hotwirebits/_password_strength.html.erb +21 -0
- data/app/views/hotwirebits/_password_toggle.html.erb +18 -0
- data/app/views/hotwirebits/_permission_badge.html.erb +18 -0
- data/app/views/hotwirebits/_phone_input.html.erb +4 -0
- data/app/views/hotwirebits/_phone_mockup.html.erb +15 -0
- data/app/views/hotwirebits/_popover.html.erb +23 -0
- data/app/views/hotwirebits/_portal.html.erb +6 -0
- data/app/views/hotwirebits/_pricing.html.erb +55 -0
- data/app/views/hotwirebits/_pricing_section.html.erb +49 -0
- data/app/views/hotwirebits/_product_list.html.erb +27 -0
- data/app/views/hotwirebits/_product_overview.html.erb +62 -0
- data/app/views/hotwirebits/_product_quickview.html.erb +48 -0
- data/app/views/hotwirebits/_progress.html.erb +13 -0
- data/app/views/hotwirebits/_progress_ring.html.erb +29 -0
- data/app/views/hotwirebits/_promo_section.html.erb +34 -0
- data/app/views/hotwirebits/_qr_code.html.erb +22 -0
- data/app/views/hotwirebits/_radio.html.erb +9 -0
- data/app/views/hotwirebits/_range_slider.html.erb +12 -0
- data/app/views/hotwirebits/_rating.html.erb +14 -0
- data/app/views/hotwirebits/_resizable.html.erb +22 -0
- data/app/views/hotwirebits/_review.html.erb +39 -0
- data/app/views/hotwirebits/_rich_text_editor.html.erb +58 -0
- data/app/views/hotwirebits/_scroll_area.html.erb +6 -0
- data/app/views/hotwirebits/_search.html.erb +59 -0
- data/app/views/hotwirebits/_search_input.html.erb +9 -0
- data/app/views/hotwirebits/_section_heading.html.erb +9 -0
- data/app/views/hotwirebits/_select.html.erb +30 -0
- data/app/views/hotwirebits/_semi_circle_progress.html.erb +12 -0
- data/app/views/hotwirebits/_separator.html.erb +18 -0
- data/app/views/hotwirebits/_sheet.html.erb +45 -0
- data/app/views/hotwirebits/_shopping_cart.html.erb +49 -0
- data/app/views/hotwirebits/_sidebar.html.erb +39 -0
- data/app/views/hotwirebits/_simple_grid.html.erb +6 -0
- data/app/views/hotwirebits/_skeleton.html.erb +20 -0
- data/app/views/hotwirebits/_skeleton_card.html.erb +18 -0
- data/app/views/hotwirebits/_slider.html.erb +17 -0
- data/app/views/hotwirebits/_social_share.html.erb +23 -0
- data/app/views/hotwirebits/_space.html.erb +4 -0
- data/app/views/hotwirebits/_speed_dial.html.erb +27 -0
- data/app/views/hotwirebits/_speed_dial_fab.html.erb +33 -0
- data/app/views/hotwirebits/_spinner.html.erb +22 -0
- data/app/views/hotwirebits/_split_button.html.erb +23 -0
- data/app/views/hotwirebits/_splitter.html.erb +12 -0
- data/app/views/hotwirebits/_spoiler.html.erb +20 -0
- data/app/views/hotwirebits/_stack.html.erb +20 -0
- data/app/views/hotwirebits/_stacked_list.html.erb +23 -0
- data/app/views/hotwirebits/_stat.html.erb +24 -0
- data/app/views/hotwirebits/_stats.html.erb +6 -0
- data/app/views/hotwirebits/_status.html.erb +9 -0
- data/app/views/hotwirebits/_status_bar.html.erb +16 -0
- data/app/views/hotwirebits/_status_dot.html.erb +9 -0
- data/app/views/hotwirebits/_stepper_form.html.erb +58 -0
- data/app/views/hotwirebits/_steps.html.erb +48 -0
- data/app/views/hotwirebits/_swap.html.erb +20 -0
- data/app/views/hotwirebits/_switch.html.erb +19 -0
- data/app/views/hotwirebits/_table.html.erb +8 -0
- data/app/views/hotwirebits/_table_of_contents.html.erb +15 -0
- data/app/views/hotwirebits/_tabs.html.erb +44 -0
- data/app/views/hotwirebits/_tag.html.erb +20 -0
- data/app/views/hotwirebits/_tag_input.html.erb +17 -0
- data/app/views/hotwirebits/_team_section.html.erb +42 -0
- data/app/views/hotwirebits/_terminal.html.erb +24 -0
- data/app/views/hotwirebits/_testimonial.html.erb +32 -0
- data/app/views/hotwirebits/_testimonials_section.html.erb +37 -0
- data/app/views/hotwirebits/_text_gradient.html.erb +6 -0
- data/app/views/hotwirebits/_text_rotate.html.erb +10 -0
- data/app/views/hotwirebits/_textarea.html.erb +17 -0
- data/app/views/hotwirebits/_theme_controller.html.erb +16 -0
- data/app/views/hotwirebits/_theme_icon.html.erb +6 -0
- data/app/views/hotwirebits/_theme_selector.html.erb +30 -0
- data/app/views/hotwirebits/_time_picker.html.erb +32 -0
- data/app/views/hotwirebits/_timeline.html.erb +27 -0
- data/app/views/hotwirebits/_toast.html.erb +52 -0
- data/app/views/hotwirebits/_toggle.html.erb +12 -0
- data/app/views/hotwirebits/_toggle_button.html.erb +7 -0
- data/app/views/hotwirebits/_toggle_button_group.html.erb +11 -0
- data/app/views/hotwirebits/_toolbar.html.erb +21 -0
- data/app/views/hotwirebits/_tooltip.html.erb +26 -0
- data/app/views/hotwirebits/_tree_view.html.erb +18 -0
- data/app/views/hotwirebits/_two_factor.html.erb +29 -0
- data/app/views/hotwirebits/_typing_indicator.html.erb +8 -0
- data/app/views/hotwirebits/_typography.html.erb +7 -0
- data/app/views/hotwirebits/_validator.html.erb +23 -0
- data/app/views/hotwirebits/_version_diff.html.erb +20 -0
- data/app/views/hotwirebits/_video_player.html.erb +14 -0
- data/app/views/hotwirebits/_voice_recorder.html.erb +32 -0
- data/app/views/hotwirebits/_window_mockup.html.erb +23 -0
- data/config/routes.rb +4 -0
- data/lib/generators/hotwirebits/component_generator.rb +48 -0
- data/lib/generators/hotwirebits/install_generator.rb +47 -0
- data/lib/generators/hotwirebits/templates/component.html.erb.tt +4 -0
- data/lib/generators/hotwirebits/templates/component.rb.tt +9 -0
- data/lib/generators/hotwirebits/templates/controller.js.tt +6 -0
- data/lib/generators/hotwirebits/templates/theme.css +2 -0
- data/lib/hotwirebits/engine.rb +25 -0
- data/lib/hotwirebits/version.rb +5 -0
- data/lib/hotwirebits.rb +19 -0
- metadata +965 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
// HotwireBits Stimulus controllers index
|
|
2
|
+
// Import this file in your app/javascript/controllers/index.js
|
|
3
|
+
|
|
4
|
+
import { application } from "../application"
|
|
5
|
+
|
|
6
|
+
// HotwireBits controllers — original
|
|
7
|
+
import RbAccordionController from "./rb_accordion_controller"
|
|
8
|
+
import RbAlertController from "./rb_alert_controller"
|
|
9
|
+
import RbBannerController from "./rb_banner_controller"
|
|
10
|
+
import RbBurgerController from "./rb_burger_controller"
|
|
11
|
+
import RbCalendarController from "./rb_calendar_controller"
|
|
12
|
+
import RbCarouselController from "./rb_carousel_controller"
|
|
13
|
+
import RbClipboardController from "./rb_clipboard_controller"
|
|
14
|
+
import RbCollapsibleController from "./rb_collapsible_controller"
|
|
15
|
+
import RbComboboxController from "./rb_combobox_controller"
|
|
16
|
+
import RbCookieConsentController from "./rb_cookie_consent_controller"
|
|
17
|
+
import RbCountdownController from "./rb_countdown_controller"
|
|
18
|
+
import RbDatepickerController from "./rb_datepicker_controller"
|
|
19
|
+
import RbDialogController from "./rb_dialog_controller"
|
|
20
|
+
import RbDrawerController from "./rb_drawer_controller"
|
|
21
|
+
import RbDropdownController from "./rb_dropdown_controller"
|
|
22
|
+
import RbFeedbackController from "./rb_feedback_controller"
|
|
23
|
+
import RbHighlightController from "./rb_highlight_controller"
|
|
24
|
+
import RbKanbanController from "./rb_kanban_controller"
|
|
25
|
+
import RbMarqueeController from "./rb_marquee_controller"
|
|
26
|
+
import RbMenubarController from "./rb_menubar_controller"
|
|
27
|
+
import RbMultiselectController from "./rb_multiselect_controller"
|
|
28
|
+
import RbOtpController from "./rb_otp_controller"
|
|
29
|
+
import RbPasswordController from "./rb_password_controller"
|
|
30
|
+
import RbPopoverController from "./rb_popover_controller"
|
|
31
|
+
import RbRatingController from "./rb_rating_controller"
|
|
32
|
+
import RbResizableController from "./rb_resizable_controller"
|
|
33
|
+
import RbSearchController from "./rb_search_controller"
|
|
34
|
+
import RbSheetController from "./rb_sheet_controller"
|
|
35
|
+
import RbSidebarController from "./rb_sidebar_controller"
|
|
36
|
+
import RbSpeedDialController from "./rb_speed_dial_controller"
|
|
37
|
+
import RbSpoilerController from "./rb_spoiler_controller"
|
|
38
|
+
import RbStepsController from "./rb_steps_controller"
|
|
39
|
+
import RbSwapController from "./rb_swap_controller"
|
|
40
|
+
import RbSwitchController from "./rb_switch_controller"
|
|
41
|
+
import RbTabsController from "./rb_tabs_controller"
|
|
42
|
+
import RbTagsController from "./rb_tags_controller"
|
|
43
|
+
import RbThemeController from "./rb_theme_controller"
|
|
44
|
+
import RbToastController from "./rb_toast_controller"
|
|
45
|
+
import RbToggleController from "./rb_toggle_controller"
|
|
46
|
+
import RbTreeController from "./rb_tree_controller"
|
|
47
|
+
|
|
48
|
+
// HotwireBits controllers — missing from original set
|
|
49
|
+
import RbBadgeController from "./rb_badge_controller"
|
|
50
|
+
import RbPaginatorController from "./rb_paginator_controller"
|
|
51
|
+
import RbToggleButtonController from "./rb_toggle_button_controller"
|
|
52
|
+
import RbToggleButtonGroupController from "./rb_toggle_button_group_controller"
|
|
53
|
+
|
|
54
|
+
// HotwireBits controllers — new stubs
|
|
55
|
+
import RbActivityFeedController from "./rb_activity_feed_controller"
|
|
56
|
+
import RbAiChatController from "./rb_ai_chat_controller"
|
|
57
|
+
import RbAngleSliderController from "./rb_angle_slider_controller"
|
|
58
|
+
import RbAnimatedNumberController from "./rb_animated_number_controller"
|
|
59
|
+
import RbAutocompleteController from "./rb_autocomplete_controller"
|
|
60
|
+
import RbCodeHighlightController from "./rb_code_highlight_controller"
|
|
61
|
+
import RbColorInputController from "./rb_color_input_controller"
|
|
62
|
+
import RbColorPickerController from "./rb_color_picker_controller"
|
|
63
|
+
import RbCommandBarController from "./rb_command_bar_controller"
|
|
64
|
+
import RbCompareController from "./rb_compare_controller"
|
|
65
|
+
import RbConfirmDialogController from "./rb_confirm_dialog_controller"
|
|
66
|
+
import RbConfirmPopupController from "./rb_confirm_popup_controller"
|
|
67
|
+
import RbContextMenuController from "./rb_context_menu_controller"
|
|
68
|
+
import RbCookieSettingsController from "./rb_cookie_settings_controller"
|
|
69
|
+
import RbDataViewController from "./rb_data_view_controller"
|
|
70
|
+
import RbDateRangeController from "./rb_date_range_controller"
|
|
71
|
+
import RbDragDropController from "./rb_drag_drop_controller"
|
|
72
|
+
import RbFileBrowserController from "./rb_file_browser_controller"
|
|
73
|
+
import RbHover3dController from "./rb_hover_3d_controller"
|
|
74
|
+
import RbHoverCardController from "./rb_hover_card_controller"
|
|
75
|
+
import RbHoverGalleryController from "./rb_hover_gallery_controller"
|
|
76
|
+
import RbImageController from "./rb_image_controller"
|
|
77
|
+
import RbImageCompareController from "./rb_image_compare_controller"
|
|
78
|
+
import RbImageZoomController from "./rb_image_zoom_controller"
|
|
79
|
+
import RbInlineEditController from "./rb_inline_edit_controller"
|
|
80
|
+
import RbInplaceController from "./rb_inplace_controller"
|
|
81
|
+
import RbInputNumberController from "./rb_input_number_controller"
|
|
82
|
+
import RbJsonInputController from "./rb_json_input_controller"
|
|
83
|
+
import RbKnobController from "./rb_knob_controller"
|
|
84
|
+
import RbLightboxController from "./rb_lightbox_controller"
|
|
85
|
+
import RbLikeController from "./rb_like_controller"
|
|
86
|
+
import RbListboxController from "./rb_listbox_controller"
|
|
87
|
+
import RbMonthPickerController from "./rb_month_picker_controller"
|
|
88
|
+
import RbMonthPickerInputController from "./rb_month_picker_input_controller"
|
|
89
|
+
import RbNavMenuController from "./rb_nav_menu_controller"
|
|
90
|
+
import RbNewsletterController from "./rb_newsletter_controller"
|
|
91
|
+
import RbNotificationController from "./rb_notification_controller"
|
|
92
|
+
import RbPanelController from "./rb_panel_controller"
|
|
93
|
+
import RbPasswordStrengthController from "./rb_password_strength_controller"
|
|
94
|
+
import RbPasswordToggleController from "./rb_password_toggle_controller"
|
|
95
|
+
import RbPortalController from "./rb_portal_controller"
|
|
96
|
+
import RbQuickviewController from "./rb_quickview_controller"
|
|
97
|
+
import RbRangeSliderController from "./rb_range_slider_controller"
|
|
98
|
+
import RbRichTextEditorController from "./rb_rich_text_editor_controller"
|
|
99
|
+
import RbSignatureController from "./rb_signature_controller"
|
|
100
|
+
import RbSplitterController from "./rb_splitter_controller"
|
|
101
|
+
import RbStepperFormController from "./rb_stepper_form_controller"
|
|
102
|
+
import RbTagInputController from "./rb_tag_input_controller"
|
|
103
|
+
import RbThemeSelectorController from "./rb_theme_selector_controller"
|
|
104
|
+
import RbTimePickerController from "./rb_time_picker_controller"
|
|
105
|
+
import RbTooltipController from "./rb_tooltip_controller"
|
|
106
|
+
import RbTwoFactorController from "./rb_two_factor_controller"
|
|
107
|
+
import RbValidatorController from "./rb_validator_controller"
|
|
108
|
+
import RbVoiceRecorderController from "./rb_voice_recorder_controller"
|
|
109
|
+
import RbTextRotateController from "./rb_text_rotate_controller"
|
|
110
|
+
|
|
111
|
+
// Register all controllers — original
|
|
112
|
+
application.register("hw-accordion", RbAccordionController)
|
|
113
|
+
application.register("hw-alert", RbAlertController)
|
|
114
|
+
application.register("hw-banner", RbBannerController)
|
|
115
|
+
application.register("hw-burger", RbBurgerController)
|
|
116
|
+
application.register("hw-calendar", RbCalendarController)
|
|
117
|
+
application.register("hw-carousel", RbCarouselController)
|
|
118
|
+
application.register("hw-clipboard", RbClipboardController)
|
|
119
|
+
application.register("hw-collapsible", RbCollapsibleController)
|
|
120
|
+
application.register("hw-combobox", RbComboboxController)
|
|
121
|
+
application.register("hw-cookie-consent", RbCookieConsentController)
|
|
122
|
+
application.register("hw-countdown", RbCountdownController)
|
|
123
|
+
application.register("hw-datepicker", RbDatepickerController)
|
|
124
|
+
application.register("hw-dialog", RbDialogController)
|
|
125
|
+
application.register("hw-drawer", RbDrawerController)
|
|
126
|
+
application.register("hw-dropdown", RbDropdownController)
|
|
127
|
+
application.register("hw-feedback", RbFeedbackController)
|
|
128
|
+
application.register("hw-highlight", RbHighlightController)
|
|
129
|
+
application.register("hw-kanban", RbKanbanController)
|
|
130
|
+
application.register("hw-marquee", RbMarqueeController)
|
|
131
|
+
application.register("hw-menubar", RbMenubarController)
|
|
132
|
+
application.register("hw-multiselect", RbMultiselectController)
|
|
133
|
+
application.register("hw-otp", RbOtpController)
|
|
134
|
+
application.register("hw-password", RbPasswordController)
|
|
135
|
+
application.register("hw-popover", RbPopoverController)
|
|
136
|
+
application.register("hw-rating", RbRatingController)
|
|
137
|
+
application.register("hw-resizable", RbResizableController)
|
|
138
|
+
application.register("hw-search", RbSearchController)
|
|
139
|
+
application.register("hw-sheet", RbSheetController)
|
|
140
|
+
application.register("hw-sidebar", RbSidebarController)
|
|
141
|
+
application.register("hw-speed-dial", RbSpeedDialController)
|
|
142
|
+
application.register("hw-spoiler", RbSpoilerController)
|
|
143
|
+
application.register("hw-steps", RbStepsController)
|
|
144
|
+
application.register("hw-swap", RbSwapController)
|
|
145
|
+
application.register("hw-switch", RbSwitchController)
|
|
146
|
+
application.register("hw-tabs", RbTabsController)
|
|
147
|
+
application.register("hw-tags", RbTagsController)
|
|
148
|
+
application.register("hw-theme", RbThemeController)
|
|
149
|
+
application.register("hw-toast", RbToastController)
|
|
150
|
+
application.register("hw-toggle", RbToggleController)
|
|
151
|
+
application.register("hw-tree", RbTreeController)
|
|
152
|
+
|
|
153
|
+
// Register all controllers — missing from original set
|
|
154
|
+
application.register("hw-badge", RbBadgeController)
|
|
155
|
+
application.register("hw-paginator", RbPaginatorController)
|
|
156
|
+
application.register("hw-toggle-button", RbToggleButtonController)
|
|
157
|
+
application.register("hw-toggle-group", RbToggleButtonGroupController)
|
|
158
|
+
|
|
159
|
+
// Register all controllers — new stubs
|
|
160
|
+
application.register("hw-activity-feed", RbActivityFeedController)
|
|
161
|
+
application.register("hw-ai-chat", RbAiChatController)
|
|
162
|
+
application.register("hw-angle-slider", RbAngleSliderController)
|
|
163
|
+
application.register("hw-animated-number", RbAnimatedNumberController)
|
|
164
|
+
application.register("hw-autocomplete", RbAutocompleteController)
|
|
165
|
+
application.register("hw-code-highlight", RbCodeHighlightController)
|
|
166
|
+
application.register("hw-color-input", RbColorInputController)
|
|
167
|
+
application.register("hw-color-picker", RbColorPickerController)
|
|
168
|
+
application.register("hw-command-bar", RbCommandBarController)
|
|
169
|
+
application.register("hw-compare", RbCompareController)
|
|
170
|
+
application.register("hw-confirm-dialog", RbConfirmDialogController)
|
|
171
|
+
application.register("hw-confirm-popup", RbConfirmPopupController)
|
|
172
|
+
application.register("hw-context-menu", RbContextMenuController)
|
|
173
|
+
application.register("hw-cookie-settings", RbCookieSettingsController)
|
|
174
|
+
application.register("hw-data-view", RbDataViewController)
|
|
175
|
+
application.register("hw-date-range", RbDateRangeController)
|
|
176
|
+
application.register("hw-drag-drop", RbDragDropController)
|
|
177
|
+
application.register("hw-file-browser", RbFileBrowserController)
|
|
178
|
+
application.register("hw-hover-3d", RbHover3dController)
|
|
179
|
+
application.register("hw-hover-card", RbHoverCardController)
|
|
180
|
+
application.register("hw-hover-gallery", RbHoverGalleryController)
|
|
181
|
+
application.register("hw-image", RbImageController)
|
|
182
|
+
application.register("hw-image-compare", RbImageCompareController)
|
|
183
|
+
application.register("hw-image-zoom", RbImageZoomController)
|
|
184
|
+
application.register("hw-inline-edit", RbInlineEditController)
|
|
185
|
+
application.register("hw-inplace", RbInplaceController)
|
|
186
|
+
application.register("hw-input-number", RbInputNumberController)
|
|
187
|
+
application.register("hw-json-input", RbJsonInputController)
|
|
188
|
+
application.register("hw-knob", RbKnobController)
|
|
189
|
+
application.register("hw-lightbox", RbLightboxController)
|
|
190
|
+
application.register("hw-like", RbLikeController)
|
|
191
|
+
application.register("hw-listbox", RbListboxController)
|
|
192
|
+
application.register("hw-month-picker", RbMonthPickerController)
|
|
193
|
+
application.register("hw-month-picker-input", RbMonthPickerInputController)
|
|
194
|
+
application.register("hw-nav-menu", RbNavMenuController)
|
|
195
|
+
application.register("hw-newsletter", RbNewsletterController)
|
|
196
|
+
application.register("hw-notification", RbNotificationController)
|
|
197
|
+
application.register("hw-panel", RbPanelController)
|
|
198
|
+
application.register("hw-password-strength", RbPasswordStrengthController)
|
|
199
|
+
application.register("hw-password-toggle", RbPasswordToggleController)
|
|
200
|
+
application.register("hw-portal", RbPortalController)
|
|
201
|
+
application.register("hw-quickview", RbQuickviewController)
|
|
202
|
+
application.register("hw-range-slider", RbRangeSliderController)
|
|
203
|
+
application.register("hw-rich-text-editor", RbRichTextEditorController)
|
|
204
|
+
application.register("hw-signature", RbSignatureController)
|
|
205
|
+
application.register("hw-splitter", RbSplitterController)
|
|
206
|
+
application.register("hw-stepper-form", RbStepperFormController)
|
|
207
|
+
application.register("hw-tag-input", RbTagInputController)
|
|
208
|
+
application.register("hw-theme-selector", RbThemeSelectorController)
|
|
209
|
+
application.register("hw-time-picker", RbTimePickerController)
|
|
210
|
+
application.register("hw-tooltip", RbTooltipController)
|
|
211
|
+
application.register("hw-two-factor", RbTwoFactorController)
|
|
212
|
+
application.register("hw-validator", RbValidatorController)
|
|
213
|
+
application.register("hw-voice-recorder", RbVoiceRecorderController)
|
|
214
|
+
application.register("hw-text-rotate", RbTextRotateController)
|
|
215
|
+
|
|
216
|
+
export default application
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["content"]
|
|
5
|
+
static values = { open: { type: Boolean, default: false } }
|
|
6
|
+
|
|
7
|
+
toggle() {
|
|
8
|
+
this.openValue = !this.openValue
|
|
9
|
+
this.contentTarget.classList.toggle("hidden", !this.openValue)
|
|
10
|
+
this.trigger?.setAttribute("aria-expanded", this.openValue.toString())
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
get trigger() {
|
|
14
|
+
return this.element.querySelector('[data-action~="hw-accordion#toggle"]')
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["list"]
|
|
5
|
+
|
|
6
|
+
load() { this.dispatch("load") }
|
|
7
|
+
|
|
8
|
+
append(event) {
|
|
9
|
+
if (this.hasListTarget) this.listTarget.insertAdjacentHTML("afterbegin", event.detail.html)
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["messages", "input"]
|
|
5
|
+
static values = { endpoint: { type: String, default: "" } }
|
|
6
|
+
|
|
7
|
+
send() {
|
|
8
|
+
if (!this.hasInputTarget) return
|
|
9
|
+
const msg = this.inputTarget.value.trim()
|
|
10
|
+
if (!msg) return
|
|
11
|
+
this.inputTarget.value = ""
|
|
12
|
+
this.dispatch("send", { detail: { message: msg } })
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
appendMessage(event) {
|
|
16
|
+
if (this.hasMessagesTarget) {
|
|
17
|
+
this.messagesTarget.insertAdjacentHTML("beforeend", event.detail.html)
|
|
18
|
+
this.messagesTarget.scrollTop = this.messagesTarget.scrollHeight
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static values = { animation: { type: String, default: "fade" } }
|
|
5
|
+
|
|
6
|
+
connect() {
|
|
7
|
+
this._onAnimationEnd = this._onAnimationEnd.bind(this)
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
disconnect() {
|
|
11
|
+
this.element.removeEventListener("animationend", this._onAnimationEnd)
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
dismiss() {
|
|
15
|
+
this.element.classList.add(`animate-${this.animationValue}-out`)
|
|
16
|
+
this.element.addEventListener("animationend", this._onAnimationEnd)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_onAnimationEnd() {
|
|
20
|
+
this.element.classList.add("hidden")
|
|
21
|
+
this.element.removeEventListener("animationend", this._onAnimationEnd)
|
|
22
|
+
this.dispatch("dismissed")
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["track", "input"]
|
|
5
|
+
static values = { min: { type: Number, default: 0 }, max: { type: Number, default: 360 }, value: { type: Number, default: 0 } }
|
|
6
|
+
|
|
7
|
+
input(event) {
|
|
8
|
+
this.valueValue = parseFloat(event.target.value)
|
|
9
|
+
this.dispatch("change", { detail: { value: this.valueValue } })
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["input", "dropdown", "hidden"]
|
|
5
|
+
static values = { minLength: { type: Number, default: 1 } }
|
|
6
|
+
|
|
7
|
+
connect() {
|
|
8
|
+
this._onOutsideClick = (e) => { if (!this.element.contains(e.target)) this.close() }
|
|
9
|
+
document.addEventListener("click", this._onOutsideClick)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
disconnect() {
|
|
13
|
+
document.removeEventListener("click", this._onOutsideClick)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
search() {
|
|
17
|
+
const q = this.inputTarget.value.trim()
|
|
18
|
+
if (q.length < this.minLengthValue) { this.close(); return }
|
|
19
|
+
this.open()
|
|
20
|
+
this.dispatch("search", { detail: { query: q } })
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
open() { if (this.hasDropdownTarget) this.dropdownTarget.classList.remove("hidden") }
|
|
24
|
+
close() { if (this.hasDropdownTarget) this.dropdownTarget.classList.add("hidden") }
|
|
25
|
+
|
|
26
|
+
select(event) {
|
|
27
|
+
const { value } = event.currentTarget.dataset
|
|
28
|
+
const label = event.currentTarget.textContent.trim()
|
|
29
|
+
this.inputTarget.value = label
|
|
30
|
+
if (this.hasHiddenTarget) this.hiddenTarget.value = value
|
|
31
|
+
this.close()
|
|
32
|
+
this.dispatch("select", { detail: { value, label } })
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static values = { key: { type: String, default: "banner_dismissed" } }
|
|
5
|
+
|
|
6
|
+
connect() {
|
|
7
|
+
this._onAnimationEnd = this._onAnimationEnd.bind(this)
|
|
8
|
+
if (localStorage.getItem(this.keyValue) === "true") {
|
|
9
|
+
this.element.classList.add("hidden")
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
disconnect() {
|
|
14
|
+
this.element.removeEventListener("animationend", this._onAnimationEnd)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
dismiss() {
|
|
18
|
+
this.element.classList.add("animate-slide-up-out")
|
|
19
|
+
this.element.addEventListener("animationend", this._onAnimationEnd)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
_onAnimationEnd() {
|
|
23
|
+
this.element.classList.add("hidden")
|
|
24
|
+
localStorage.setItem(this.keyValue, "true")
|
|
25
|
+
this.element.removeEventListener("animationend", this._onAnimationEnd)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["line1", "line2", "line3"]
|
|
5
|
+
static values = { open: { type: Boolean, default: false } }
|
|
6
|
+
|
|
7
|
+
toggle() {
|
|
8
|
+
this.openValue = !this.openValue
|
|
9
|
+
this.render()
|
|
10
|
+
this.dispatch("change", { detail: { open: this.openValue } })
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
render() {
|
|
14
|
+
this.element.setAttribute("aria-expanded", this.openValue.toString())
|
|
15
|
+
this.element.classList.toggle("is-open", this.openValue)
|
|
16
|
+
this.element.classList.toggle("is-closed", !this.openValue)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
handleKeydown(event) {
|
|
20
|
+
if (event.key === " " || event.key === "Enter") {
|
|
21
|
+
event.preventDefault()
|
|
22
|
+
this.toggle()
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["month", "year", "grid", "prevMonth", "nextMonth", "selected"]
|
|
5
|
+
static values = {
|
|
6
|
+
date: { type: String, default: "" },
|
|
7
|
+
month: { type: Number },
|
|
8
|
+
year: { type: Number }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
connect() {
|
|
12
|
+
const now = new Date()
|
|
13
|
+
this.monthValue = this.monthValue ?? now.getMonth()
|
|
14
|
+
this.yearValue = this.yearValue ?? now.getFullYear()
|
|
15
|
+
this.selectedDate = this.dateValue ? new Date(this.dateValue) : null
|
|
16
|
+
this.render()
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
prevMonth() {
|
|
20
|
+
this.monthValue--
|
|
21
|
+
if (this.monthValue < 0) {
|
|
22
|
+
this.monthValue = 11
|
|
23
|
+
this.yearValue--
|
|
24
|
+
}
|
|
25
|
+
this.render()
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
nextMonth() {
|
|
29
|
+
this.monthValue++
|
|
30
|
+
if (this.monthValue > 11) {
|
|
31
|
+
this.monthValue = 0
|
|
32
|
+
this.yearValue++
|
|
33
|
+
}
|
|
34
|
+
this.render()
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
selectDate(event) {
|
|
38
|
+
const day = parseInt(event.currentTarget.dataset.day, 10)
|
|
39
|
+
this.selectedDate = new Date(this.yearValue, this.monthValue, day)
|
|
40
|
+
this.render()
|
|
41
|
+
this.dispatch("select", {
|
|
42
|
+
detail: {
|
|
43
|
+
date: this.selectedDate.toISOString().split("T")[0],
|
|
44
|
+
day: this.selectedDate.getDate(),
|
|
45
|
+
month: this.selectedDate.getMonth(),
|
|
46
|
+
year: this.selectedDate.getFullYear()
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
render() {
|
|
52
|
+
const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
|
|
53
|
+
if (this.hasMonthTarget) this.monthTarget.textContent = months[this.monthValue]
|
|
54
|
+
if (this.hasYearTarget) this.yearTarget.textContent = this.yearValue
|
|
55
|
+
if (!this.hasGridTarget) return
|
|
56
|
+
|
|
57
|
+
this.gridTarget.innerHTML = ""
|
|
58
|
+
const firstDay = new Date(this.yearValue, this.monthValue, 1).getDay()
|
|
59
|
+
const daysInMonth = new Date(this.yearValue, this.monthValue + 1, 0).getDate()
|
|
60
|
+
const today = new Date()
|
|
61
|
+
|
|
62
|
+
for (let i = 0; i < firstDay; i++) {
|
|
63
|
+
const empty = document.createElement("div")
|
|
64
|
+
empty.className = "calendar-day empty"
|
|
65
|
+
this.gridTarget.appendChild(empty)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
for (let d = 1; d <= daysInMonth; d++) {
|
|
69
|
+
const cell = document.createElement("button")
|
|
70
|
+
cell.type = "button"
|
|
71
|
+
cell.className = "calendar-day"
|
|
72
|
+
cell.dataset.day = d
|
|
73
|
+
cell.textContent = d
|
|
74
|
+
|
|
75
|
+
const isToday = today.getDate() === d && today.getMonth() === this.monthValue && today.getFullYear() === this.yearValue
|
|
76
|
+
const isSelected = this.selectedDate && this.selectedDate.getDate() === d && this.selectedDate.getMonth() === this.monthValue && this.selectedDate.getFullYear() === this.yearValue
|
|
77
|
+
|
|
78
|
+
cell.classList.toggle("is-today", isToday)
|
|
79
|
+
cell.classList.toggle("is-selected", isSelected)
|
|
80
|
+
cell.setAttribute("aria-selected", isSelected.toString())
|
|
81
|
+
cell.setAttribute("data-action", "click->hw-calendar#selectDate")
|
|
82
|
+
this.gridTarget.appendChild(cell)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["track", "slide", "prev", "next", "dots", "dot"]
|
|
5
|
+
static values = {
|
|
6
|
+
index: { type: Number, default: 0 },
|
|
7
|
+
autoplay: { type: Boolean, default: false },
|
|
8
|
+
interval: { type: Number, default: 5000 },
|
|
9
|
+
loop: { type: Boolean, default: true }
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
connect() {
|
|
13
|
+
if (this.autoplayValue) this.startAutoplay()
|
|
14
|
+
this.render()
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
disconnect() {
|
|
18
|
+
this.stopAutoplay()
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
next() {
|
|
22
|
+
const max = this.slideTargets.length - 1
|
|
23
|
+
if (this.indexValue < max) {
|
|
24
|
+
this.indexValue++
|
|
25
|
+
} else if (this.loopValue) {
|
|
26
|
+
this.indexValue = 0
|
|
27
|
+
}
|
|
28
|
+
this.render()
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
prev() {
|
|
32
|
+
if (this.indexValue > 0) {
|
|
33
|
+
this.indexValue--
|
|
34
|
+
} else if (this.loopValue) {
|
|
35
|
+
this.indexValue = this.slideTargets.length - 1
|
|
36
|
+
}
|
|
37
|
+
this.render()
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
goTo(event) {
|
|
41
|
+
const index = parseInt(event.currentTarget.dataset.index || event.params.index, 10)
|
|
42
|
+
this.indexValue = index
|
|
43
|
+
this.render()
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
render() {
|
|
47
|
+
this.slideTargets.forEach((slide, i) => {
|
|
48
|
+
slide.classList.toggle("hidden", i !== this.indexValue)
|
|
49
|
+
slide.setAttribute("aria-hidden", (i !== this.indexValue).toString())
|
|
50
|
+
})
|
|
51
|
+
this.dotTargets.forEach((dot, i) => {
|
|
52
|
+
dot.classList.toggle("active", i === this.indexValue)
|
|
53
|
+
dot.setAttribute("aria-selected", (i === this.indexValue).toString())
|
|
54
|
+
})
|
|
55
|
+
if (this.hasPrevTarget) this.prevTarget.disabled = !this.loopValue && this.indexValue === 0
|
|
56
|
+
if (this.hasNextTarget) this.nextTarget.disabled = !this.loopValue && this.indexValue === this.slideTargets.length - 1
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
startAutoplay() {
|
|
60
|
+
this.intervalId = setInterval(() => this.next(), this.intervalValue)
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
stopAutoplay() {
|
|
64
|
+
if (this.intervalId) clearInterval(this.intervalId)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
pauseAutoplay() {
|
|
68
|
+
this.stopAutoplay()
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
resumeAutoplay() {
|
|
72
|
+
if (this.autoplayValue) this.startAutoplay()
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
|
2
|
+
|
|
3
|
+
export default class extends Controller {
|
|
4
|
+
static targets = ["source", "feedback"]
|
|
5
|
+
static values = { text: { type: String, default: "" } }
|
|
6
|
+
|
|
7
|
+
async copy() {
|
|
8
|
+
const text = this.textValue || (this.hasSourceTarget ? this.sourceTarget.textContent : "")
|
|
9
|
+
|
|
10
|
+
try {
|
|
11
|
+
await navigator.clipboard.writeText(text)
|
|
12
|
+
this.showFeedback("Copied!")
|
|
13
|
+
this.dispatch("copy", { detail: { text } })
|
|
14
|
+
} catch {
|
|
15
|
+
this.fallbackCopy(text)
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
fallbackCopy(text) {
|
|
20
|
+
const textarea = document.createElement("textarea")
|
|
21
|
+
textarea.value = text
|
|
22
|
+
textarea.style.cssText = "position:fixed;left:-9999px"
|
|
23
|
+
document.body.appendChild(textarea)
|
|
24
|
+
textarea.select()
|
|
25
|
+
try {
|
|
26
|
+
document.execCommand("copy")
|
|
27
|
+
this.showFeedback("Copied!")
|
|
28
|
+
} catch {
|
|
29
|
+
this.showFeedback("Failed to copy")
|
|
30
|
+
}
|
|
31
|
+
textarea.remove()
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
showFeedback(message) {
|
|
35
|
+
if (!this.hasFeedbackTarget) return
|
|
36
|
+
this.feedbackTarget.textContent = message
|
|
37
|
+
this.feedbackTarget.classList.remove("hidden")
|
|
38
|
+
setTimeout(() => {
|
|
39
|
+
this.feedbackTarget.classList.add("hidden")
|
|
40
|
+
}, 2000)
|
|
41
|
+
}
|
|
42
|
+
}
|