lib/lookbook/config.rb in lookbook-1.0.8 vs lib/lookbook/config.rb in lookbook-1.1.0

- old
+ new

@@ -8,10 +8,11 @@ @options = Store.new({}, true) @options.set({ project_name: "Lookbook", log_level: 2, + log_use_rails_logger: true, auto_refresh: true, components_path: "app/components", page_controller: "Lookbook::PageController", @@ -23,18 +24,32 @@ preview_paths: [], preview_display_params: {}, preview_srcdoc: nil, preview_tags: {}, preview_disable_action_view_annotations: true, + preview_param_inputs: { + select: "lookbook/previews/inputs/select", + textarea: "lookbook/previews/inputs/textarea", + toggle: "lookbook/previews/inputs/toggle", + color: "lookbook/previews/inputs/color", + range: "lookbook/previews/inputs/range", + text: "lookbook/previews/inputs/text", + email: "lookbook/previews/inputs/text", + number: "lookbook/previews/inputs/text", + tel: "lookbook/previews/inputs/text", + url: "lookbook/previews/inputs/text", + date: "lookbook/previews/inputs/text", + datetime_local: "lookbook/previews/inputs/text" + }, + preview_params_options_eval: false, sort_examples: false, listen: Rails.env.development?, listen_paths: [], listen_extensions: ["rb", "html.*"], listen_use_polling: false, cable_mount_path: "/cable", - cable_logger: Lookbook.logger, parser_registry_path: "tmp/storage/.yardoc", ui_theme: "indigo", ui_theme_overrides: {},