lookbook 2.0.0.beta.9 → 2.0.0.rc.1

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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.9
4
+ version: 2.0.0.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: css_parser
@@ -289,6 +289,7 @@ files:
289
289
  - app/views/lookbook/inspector/inputs/_range.html.erb
290
290
  - app/views/lookbook/inspector/inputs/_select.html.erb
291
291
  - app/views/lookbook/inspector/inputs/_text.html.erb
292
+ - app/views/lookbook/inspector/inputs/_text_two_step.html.erb
292
293
  - app/views/lookbook/inspector/inputs/_textarea.html.erb
293
294
  - app/views/lookbook/inspector/inputs/_toggle.html.erb
294
295
  - app/views/lookbook/inspector/panels/_content.html.erb
@@ -1275,7 +1276,6 @@ files:
1275
1276
  - lib/lookbook/entities/rendered_scenario_entity.rb
1276
1277
  - lib/lookbook/entities/scenario_entity.rb
1277
1278
  - lib/lookbook/entities/scenario_group_entity.rb
1278
- - lib/lookbook/features.rb
1279
1279
  - lib/lookbook/file_watcher.rb
1280
1280
  - lib/lookbook/helpers/class_names_helper.rb
1281
1281
  - lib/lookbook/helpers/page_helper.rb
@@ -1,24 +0,0 @@
1
- module Lookbook
2
- module Features
3
- EXPERIMENTAL_FEATURES = []
4
-
5
- def self.experimental_feature?(name)
6
- EXPERIMENTAL_FEATURES.include?(name.to_sym)
7
- end
8
-
9
- def self.enabled?(name)
10
- return true unless experimental_feature?(name)
11
- enabled.include?(name.to_sym)
12
- end
13
-
14
- def self.enabled
15
- if Lookbook.config.experimental_features == true
16
- EXPERIMENTAL_FEATURES
17
- elsif Lookbook.config.experimental_features.blank?
18
- []
19
- else
20
- Lookbook.config.experimental_features.map(&:to_sym)
21
- end
22
- end
23
- end
24
- end