diff --git a/test/components/previews/rbui/accordion_preview.rb b/test/components/previews/rbui/accordion_preview.rb index ec95c99..b181877 100644 --- a/test/components/previews/rbui/accordion_preview.rb +++ b/test/components/previews/rbui/accordion_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class AccordionPreview < Lookbook::Preview ITEMS = [ {title: "Item 1", content: "Content 1"}, diff --git a/test/components/previews/phlex_ui/alert_dialog_preview.rb b/test/components/previews/rbui/alert_dialog_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/alert_dialog_preview.rb rename to test/components/previews/rbui/alert_dialog_preview.rb index e402720..de6157c 100644 --- a/test/components/previews/phlex_ui/alert_dialog_preview.rb +++ b/test/components/previews/rbui/alert_dialog_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class AlertDialogPreview < Lookbook::Preview # Default AlertDialog # --------------- diff --git a/test/components/previews/phlex_ui/alert_preview.rb b/test/components/previews/rbui/alert_preview.rb similarity index 96% rename from test/components/previews/phlex_ui/alert_preview.rb rename to test/components/previews/rbui/alert_preview.rb index 945a80b..787cab4 100644 --- a/test/components/previews/phlex_ui/alert_preview.rb +++ b/test/components/previews/rbui/alert_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class AlertPreview < Lookbook::Preview # Default Alert # --------------- diff --git a/test/components/previews/rbui/aspect_ratio_preview.rb b/test/components/previews/rbui/aspect_ratio_preview.rb index c8e40c3..0abd26b 100644 --- a/test/components/previews/rbui/aspect_ratio_preview.rb +++ b/test/components/previews/rbui/aspect_ratio_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class AspectRatioPreview < Lookbook::Preview # AspectRatio 16/9 # --------------- diff --git a/test/components/previews/phlex_ui/avatar_preview.rb b/test/components/previews/rbui/avatar_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/avatar_preview.rb rename to test/components/previews/rbui/avatar_preview.rb index 0c22d61..68f598b 100644 --- a/test/components/previews/phlex_ui/avatar_preview.rb +++ b/test/components/previews/rbui/avatar_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class AvatarPreview < Lookbook::Preview # Avatar sizes # --------------- diff --git a/test/components/previews/rbui/badge_preview.rb b/test/components/previews/rbui/badge_preview.rb index fbb8c8f..06a864e 100644 --- a/test/components/previews/rbui/badge_preview.rb +++ b/test/components/previews/rbui/badge_preview.rb @@ -2,7 +2,7 @@ # rubocop:disable Layout/LineLength -module Rbui +module RBUI class BadgePreview < Lookbook::Preview # Default Badge # --------------- diff --git a/test/components/previews/rbui/button_preview.rb b/test/components/previews/rbui/button_preview.rb index 398d2fd..5089656 100644 --- a/test/components/previews/rbui/button_preview.rb +++ b/test/components/previews/rbui/button_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class ButtonPreview < Lookbook::Preview # Primary Button # --------------- diff --git a/test/components/previews/phlex_ui/calendar_preview.rb b/test/components/previews/rbui/calendar_preview.rb similarity index 96% rename from test/components/previews/phlex_ui/calendar_preview.rb rename to test/components/previews/rbui/calendar_preview.rb index a1a7b95..e9611a4 100644 --- a/test/components/previews/phlex_ui/calendar_preview.rb +++ b/test/components/previews/rbui/calendar_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class CalendarPreview < Lookbook::Preview def default render(TestView.new) do diff --git a/test/components/previews/phlex_ui/card_preview.rb b/test/components/previews/rbui/card_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/card_preview.rb rename to test/components/previews/rbui/card_preview.rb index 8c4e6e4..58557dd 100644 --- a/test/components/previews/phlex_ui/card_preview.rb +++ b/test/components/previews/rbui/card_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class CardPreview < Lookbook::Preview # Default CardPreview # --------------- diff --git a/test/components/previews/rbui/checkbox_preview.rb b/test/components/previews/rbui/checkbox_preview.rb index 736ba17..e12effb 100644 --- a/test/components/previews/rbui/checkbox_preview.rb +++ b/test/components/previews/rbui/checkbox_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class CheckboxPreview < Lookbook::Preview # Default Checkbox # --------------- diff --git a/test/components/previews/rbui/clipboard_preview.rb b/test/components/previews/rbui/clipboard_preview.rb index 2076b4b..a211396 100644 --- a/test/components/previews/rbui/clipboard_preview.rb +++ b/test/components/previews/rbui/clipboard_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class ClipboardPreview < Lookbook::Preview # Default Clipboard # --------------- diff --git a/test/components/previews/rbui/codeblock_preview.rb b/test/components/previews/rbui/codeblock_preview.rb index f96c8d2..00b0ff1 100644 --- a/test/components/previews/rbui/codeblock_preview.rb +++ b/test/components/previews/rbui/codeblock_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class CodeblockPreview < Lookbook::Preview # Default Codeblock # --------------- diff --git a/test/components/previews/phlex_ui/collapsible_preview.rb b/test/components/previews/rbui/collapsible_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/collapsible_preview.rb rename to test/components/previews/rbui/collapsible_preview.rb index c641c3e..484fd0a 100644 --- a/test/components/previews/phlex_ui/collapsible_preview.rb +++ b/test/components/previews/rbui/collapsible_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class CollapsiblePreview < Lookbook::Preview # Default Collapsible # --------------- diff --git a/test/components/previews/rbui/combobox_preview.rb b/test/components/previews/rbui/combobox_preview.rb index c2c5ef8..a002344 100644 --- a/test/components/previews/rbui/combobox_preview.rb +++ b/test/components/previews/rbui/combobox_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class ComboboxPreview < Lookbook::Preview # Default Combobox # --------------- diff --git a/test/components/previews/phlex_ui/command_preview.rb b/test/components/previews/rbui/command_preview.rb similarity index 99% rename from test/components/previews/phlex_ui/command_preview.rb rename to test/components/previews/rbui/command_preview.rb index 590bdc4..51013b5 100644 --- a/test/components/previews/phlex_ui/command_preview.rb +++ b/test/components/previews/rbui/command_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class CommandPreview < Lookbook::Preview # Default Command # --------------- diff --git a/test/components/previews/phlex_ui/context_menu_preview.rb b/test/components/previews/rbui/context_menu_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/context_menu_preview.rb rename to test/components/previews/rbui/context_menu_preview.rb index 9b3d9a7..d644a65 100644 --- a/test/components/previews/phlex_ui/context_menu_preview.rb +++ b/test/components/previews/rbui/context_menu_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class ContextMenuPreview < Lookbook::Preview # Default ContextMenu # --------------- diff --git a/test/components/previews/phlex_ui/date_picker_preview.rb b/test/components/previews/rbui/date_picker_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/date_picker_preview.rb rename to test/components/previews/rbui/date_picker_preview.rb index f6d16e7..2f8ed44 100644 --- a/test/components/previews/phlex_ui/date_picker_preview.rb +++ b/test/components/previews/rbui/date_picker_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class DatePickerPreview < Lookbook::Preview # Default DatePicker # --------------- diff --git a/test/components/previews/phlex_ui/dialog_preview.rb b/test/components/previews/rbui/dialog_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/dialog_preview.rb rename to test/components/previews/rbui/dialog_preview.rb index 741e0e6..9ec3d76 100644 --- a/test/components/previews/phlex_ui/dialog_preview.rb +++ b/test/components/previews/rbui/dialog_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class DialogPreview < Lookbook::Preview # Default Dialog # --------------- diff --git a/test/components/previews/phlex_ui/dropdown_menu_preview.rb b/test/components/previews/rbui/dropdown_menu_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/dropdown_menu_preview.rb rename to test/components/previews/rbui/dropdown_menu_preview.rb index 0541b42..1fe85f3 100644 --- a/test/components/previews/phlex_ui/dropdown_menu_preview.rb +++ b/test/components/previews/rbui/dropdown_menu_preview.rb @@ -2,7 +2,7 @@ # rubocop:disable Layout/LineLength -module PhlexUi +module RBUI class DropdownMenuPreview < Lookbook::Preview # Default DropdownMenu # --------------- diff --git a/test/components/previews/rbui/form_preview.rb b/test/components/previews/rbui/form_preview.rb index b89f8e1..3b7c12b 100644 --- a/test/components/previews/rbui/form_preview.rb +++ b/test/components/previews/rbui/form_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class FormPreview < Lookbook::Preview # Default Form # --------------- diff --git a/test/components/previews/phlex_ui/hover_card_preview.rb b/test/components/previews/rbui/hover_card_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/hover_card_preview.rb rename to test/components/previews/rbui/hover_card_preview.rb index 175662f..2538ebd 100644 --- a/test/components/previews/phlex_ui/hover_card_preview.rb +++ b/test/components/previews/rbui/hover_card_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class HoverCardPreview < Lookbook::Preview # Default HoverCard # --------------- diff --git a/test/components/previews/rbui/input_preview.rb b/test/components/previews/rbui/input_preview.rb index 8cb4763..7aa4d5f 100644 --- a/test/components/previews/rbui/input_preview.rb +++ b/test/components/previews/rbui/input_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class InputPreview < Lookbook::Preview # Email Input # --------------- diff --git a/test/components/previews/rbui/link_preview.rb b/test/components/previews/rbui/link_preview.rb index 6510677..b03cc0f 100644 --- a/test/components/previews/rbui/link_preview.rb +++ b/test/components/previews/rbui/link_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class LinkPreview < Lookbook::Preview # Default Link # --------------- diff --git a/test/components/previews/phlex_ui/pagination_preview.rb b/test/components/previews/rbui/pagination_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/pagination_preview.rb rename to test/components/previews/rbui/pagination_preview.rb index 9d4b8a1..30cdba0 100644 --- a/test/components/previews/phlex_ui/pagination_preview.rb +++ b/test/components/previews/rbui/pagination_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class PaginationPreview < Lookbook::Preview # Default Pagination # --------------- diff --git a/test/components/previews/rbui/popover_preview.rb b/test/components/previews/rbui/popover_preview.rb index 75492f3..67a2579 100644 --- a/test/components/previews/rbui/popover_preview.rb +++ b/test/components/previews/rbui/popover_preview.rb @@ -2,7 +2,7 @@ # rubocop:disable Layout/LineLength -module Rbui +module RBUI class PopoverPreview < Lookbook::Preview # Default Popover # --------------- diff --git a/test/components/previews/rbui/select_preview.rb b/test/components/previews/rbui/select_preview.rb index cdf63f1..f75383a 100644 --- a/test/components/previews/rbui/select_preview.rb +++ b/test/components/previews/rbui/select_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class SelectPreview < Lookbook::Preview def default render(TestView.new) do diff --git a/test/components/previews/rbui/sheet_preview.rb b/test/components/previews/rbui/sheet_preview.rb index af1575c..d5a1d08 100644 --- a/test/components/previews/rbui/sheet_preview.rb +++ b/test/components/previews/rbui/sheet_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class SheetPreview < Lookbook::Preview # Default Sheet # --------------- diff --git a/test/components/previews/rbui/shortcut_key_preview.rb b/test/components/previews/rbui/shortcut_key_preview.rb index 45a5273..d43f05e 100644 --- a/test/components/previews/rbui/shortcut_key_preview.rb +++ b/test/components/previews/rbui/shortcut_key_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class ShortcutKeyPreview < Lookbook::Preview def default render(TestView.new) do diff --git a/test/components/previews/rbui/table_preview.rb b/test/components/previews/rbui/table_preview.rb index 01963bc..a919d4d 100644 --- a/test/components/previews/rbui/table_preview.rb +++ b/test/components/previews/rbui/table_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class TablePreview < Lookbook::Preview # Default TablePreview # --------------- diff --git a/test/components/previews/phlex_ui/tabs_preview.rb b/test/components/previews/rbui/tabs_preview.rb similarity index 98% rename from test/components/previews/phlex_ui/tabs_preview.rb rename to test/components/previews/rbui/tabs_preview.rb index b9f0967..efac9aa 100644 --- a/test/components/previews/phlex_ui/tabs_preview.rb +++ b/test/components/previews/rbui/tabs_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module PhlexUi +module RBUI class TabsPreview < Lookbook::Preview # Default TabsPreview # --------------- diff --git a/test/components/previews/rbui/theme_toggle_preview.rb b/test/components/previews/rbui/theme_toggle_preview.rb index 8328bd2..059d1d8 100644 --- a/test/components/previews/rbui/theme_toggle_preview.rb +++ b/test/components/previews/rbui/theme_toggle_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class ThemeTogglePreview < Lookbook::Preview def default render(TestView.new) do diff --git a/test/components/previews/rbui/tooltip_preview.rb b/test/components/previews/rbui/tooltip_preview.rb index 4e03ec1..8048c43 100644 --- a/test/components/previews/rbui/tooltip_preview.rb +++ b/test/components/previews/rbui/tooltip_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class TooltipPreview < Lookbook::Preview # Default TooltipPreview # --------------- diff --git a/test/components/previews/rbui/typography_preview.rb b/test/components/previews/rbui/typography_preview.rb index 2335e65..2c87f1a 100644 --- a/test/components/previews/rbui/typography_preview.rb +++ b/test/components/previews/rbui/typography_preview.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -module Rbui +module RBUI class TypographyPreview < Lookbook::Preview # H1 # ---------------