app/views/components/sidebar/sidebar_component.rb in plutonium-0.8.0 vs app/views/components/sidebar/sidebar_component.rb in plutonium-0.11.0
- old
+ new
@@ -1,7 +1,7 @@
-module Plutonium::Ui
- class SidebarComponent < Plutonium::Ui::Base
+module PlutoniumUi
+ class SidebarComponent < PlutoniumUi::Base
private
def sidebar_class
"fixed top-0 left-0 z-40 w-64 h-screen pt-14 transition-transform -translate-x-full bg-white border-r border-gray-200 lg:translate-x-0 dark:bg-gray-800 dark:border-gray-700"
end
@@ -10,6 +10,6 @@
"overflow-y-auto py-5 px-3 h-full bg-white dark:bg-gray-800"
end
end
end
-Plutonium::ComponentRegistry.register :sidebar, to: Plutonium::Ui::SidebarComponent
+Plutonium::ComponentRegistry.register :sidebar, to: PlutoniumUi::SidebarComponent