lookbook 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,10 @@ module Lookbook
3
3
  attr_reader :name, :preview
4
4
  delegate :params, :position, :group, :notes, :hidden?, :source, :tags, :tag, to: :@example_inspector
5
5
 
6
- def initialize(name, preview)
6
+ def initialize(name, preview, code_object)
7
7
  @name = name
8
8
  @preview = preview
9
- @example_inspector = SourceInspector.new("#{@preview.name}##{name}")
9
+ @example_inspector = SourceInspector.new(code_object)
10
10
  super("#{@preview.path}/#{name}")
11
11
  end
12
12
 
@@ -35,7 +35,8 @@ module Lookbook
35
35
  end
36
36
 
37
37
  def template_source(template_path)
38
- File.read(full_template_path(template_path))
38
+ source_path = full_template_path(template_path)
39
+ source_path ? File.read(source_path) : nil
39
40
  end
40
41
 
41
42
  def template_lang(template_path)
@@ -56,11 +57,17 @@ module Lookbook
56
57
 
57
58
  protected
58
59
 
60
+ def strip_ext(path)
61
+ path.sub(/\..*$/, "")
62
+ end
63
+
59
64
  def full_template_path(template_path)
65
+ template_path = strip_ext template_path
60
66
  base_path = Array(Lookbook.config.preview_paths).detect do |p|
61
67
  Dir["#{p}/#{template_path}.html.*"].first
62
68
  end
63
- Pathname.new(Dir["#{base_path}/#{template_path}.html.*"].first)
69
+ path = Dir["#{base_path}/#{template_path}.html.*"].first
70
+ path ? Pathname.new(path) : nil
64
71
  end
65
72
 
66
73
  class << self
@@ -5,8 +5,8 @@ module Lookbook
5
5
  attr_reader :code_object
6
6
  delegate :groups, :source, to: :@code_object, allow_nil: true
7
7
 
8
- def initialize(taggable_object_path)
9
- @code_object = Lookbook::Engine.parser.get_code_object(taggable_object_path)
8
+ def initialize(code_object)
9
+ @code_object = code_object
10
10
  end
11
11
 
12
12
  def hidden?
@@ -1,6 +1,6 @@
1
1
  module Lookbook
2
2
  class Store < ActiveSupport::OrderedOptions
3
- def initialize(data = {}, deep = true)
3
+ def initialize(data = {}, deep = false)
4
4
  super()
5
5
  @deep = deep
6
6
  set(data) if data.present?
@@ -42,7 +42,7 @@ module Lookbook
42
42
  end
43
43
 
44
44
  def normalize_value(value)
45
- @deep && value.is_a?(Hash) ? Store.new(value) : value
45
+ @deep && !value.is_a?(Store) && value.is_a?(Hash) ? Store.new(value, @deep) : value
46
46
  end
47
47
  end
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
@@ -4,8 +4,7 @@ namespace :lookbook do
4
4
  namespace :previews do
5
5
  desc "Preparse the previews"
6
6
  task preparse: :environment do
7
- Lookbook::Engine.parser.parse
8
- puts "Lookbook preview parsing complete"
7
+ puts "The lookbook:preparse task is no longer required and will be removed in v2.0"
9
8
  end
10
9
  end
11
10
  end
@@ -1820,10 +1820,6 @@ pre[class*="language-"] {
1820
1820
  top: 40px;
1821
1821
  }
1822
1822
 
1823
- .left-0 {
1824
- left: 0;
1825
- }
1826
-
1827
1823
  .top-\[39px\] {
1828
1824
  top: 39px;
1829
1825
  }
@@ -1902,10 +1898,6 @@ pre[class*="language-"] {
1902
1898
  margin-top: 2rem;
1903
1899
  }
1904
1900
 
1905
- .ml-2 {
1906
- margin-left: .5rem;
1907
- }
1908
-
1909
1901
  .mt-6 {
1910
1902
  margin-top: 1.5rem;
1911
1903
  }
@@ -1914,6 +1906,10 @@ pre[class*="language-"] {
1914
1906
  margin-top: 3rem;
1915
1907
  }
1916
1908
 
1909
+ .ml-2 {
1910
+ margin-left: .5rem;
1911
+ }
1912
+
1917
1913
  .ml-auto {
1918
1914
  margin-left: auto;
1919
1915
  }
@@ -1998,10 +1994,6 @@ pre[class*="language-"] {
1998
1994
  display: none;
1999
1995
  }
2000
1996
 
2001
- .\!hidden {
2002
- display: none !important;
2003
- }
2004
-
2005
1997
  .h-screen {
2006
1998
  height: 100vh;
2007
1999
  }
@@ -2054,10 +2046,6 @@ pre[class*="language-"] {
2054
2046
  height: auto !important;
2055
2047
  }
2056
2048
 
2057
- .max-h-\[300px\] {
2058
- max-height: 300px;
2059
- }
2060
-
2061
2049
  .max-h-full {
2062
2050
  max-height: 100%;
2063
2051
  }
@@ -2320,11 +2308,6 @@ pre[class*="language-"] {
2320
2308
  border-style: dashed;
2321
2309
  }
2322
2310
 
2323
- .divide-red-200 > :not([hidden]) ~ :not([hidden]) {
2324
- --tw-divide-opacity: 1;
2325
- border-color: rgb(254 202 202 / var(--tw-divide-opacity));
2326
- }
2327
-
2328
2311
  .divide-lookbook-divider > :not([hidden]) ~ :not([hidden]) {
2329
2312
  border-color: var(--lookbook-divider);
2330
2313
  }
@@ -2367,10 +2350,6 @@ pre[class*="language-"] {
2367
2350
  white-space: pre-wrap;
2368
2351
  }
2369
2352
 
2370
- .break-all {
2371
- word-break: break-all;
2372
- }
2373
-
2374
2353
  .rounded-sm {
2375
2354
  border-radius: .125rem;
2376
2355
  }
@@ -2769,11 +2748,6 @@ pre[class*="language-"] {
2769
2748
  color: var(--lookbook-blank-slate-title);
2770
2749
  }
2771
2750
 
2772
- .text-red-800 {
2773
- --tw-text-opacity: 1;
2774
- color: rgb(153 27 27 / var(--tw-text-opacity));
2775
- }
2776
-
2777
2751
  .text-lookbook-icon-button-stroke {
2778
2752
  color: var(--lookbook-icon-button-stroke);
2779
2753
  }
@@ -2844,10 +2818,6 @@ pre[class*="language-"] {
2844
2818
  opacity: .6;
2845
2819
  }
2846
2820
 
2847
- .opacity-80 {
2848
- opacity: .8;
2849
- }
2850
-
2851
2821
  .opacity-0 {
2852
2822
  opacity: 0;
2853
2823
  }
@@ -2876,6 +2846,10 @@ pre[class*="language-"] {
2876
2846
  opacity: .7;
2877
2847
  }
2878
2848
 
2849
+ .opacity-80 {
2850
+ opacity: .8;
2851
+ }
2852
+
2879
2853
  .shadow {
2880
2854
  --tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
2881
2855
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1 +1 @@
1
- {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;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;;;AAIA;;;;;;AAIA;;;;;AAGA;;;;AAEA;;;;;;AAIA;;;;;;AAIA;;;;;;AAIA;;;;;;AAIA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAA6D;;;;AAA+C;;;;;;;;;;;;AAA6L;;;;AAAsD;;;;;;;;AAAmJ;;;;AAAsD;;;;;;;;AAAyJ;;;;AAAsD;;;;;;;AAAkJ;;;;AAAsD;;;;;;;AAAoJ;;;;AAAuG;;;;;;AAA+C;;;;;;;AAA6F;;;;;;AAA2D;;;;AAAkC;;;;;;;AAAsH;;;;;;;AAAyH;;;;;;;AAA0H;;;;;;;AAA2H;;;;AAA2F;;;;AAAiG;;;;AAA6F;;;;AAA+F;;;;AAAkC;;;;;;;;AAAuG;;;;;;;;AAOx4E;;;;AAEE;;;;AAEA;;;;AAEA;;;;AAEA;;;;;;;;;;;AASF;;;;;;AAIA;;;;AAEE;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEF;;;;;AAGA;;;;AAEA;;;;;AAGA;;;;;AAGA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;;AAGA;;;;;;AAIA;;;;;;AAIA;;;;AAEA;;;;;AAGA;;;;AAEA;EAEC;;;;;EAKA","sources":["app/assets/lookbook/css/lookbook.css"],"sourcesContent":["@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../../components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-sans text-sm antialiased overflow-hidden;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer components {\n .form-input {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}
1
+ {"mappings":"AAKE;;;;;AAOD;;;;AAQC;;;;;;;AASA;;;;;AAOA;;;;;;AAMA;;;;AAIA;;;;;AAUA;;;;;AAKA;;;;AAMA;;;;;AAQA;;;;AAIA;;;;;;;AAMD;;;;AAEA;;;;AAMC;;;;;;AAQA;;;;;;;;;;AAcA;;;;AAMA;;;;;;AASA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAMA;;;;;AAKA;;;;AAKA;;;;;AAKA;;;;AAIA;;;;AAcD;;;;;AAGA;;;;AAEA;;;;;;AAQC;;;;AAKA;;;;;AAMA;;;;AAKA;;;;AAMA;;;;;AAYA;;;;;AAID;;;;;;;;;;;;AAaA;;;;;;;;;;;;;AAWA;;;;;AAGA;;;;AAEA;;;;AAEA;;;;;AAGA;;;;;;;;;AAOA;;;;;;;;;AAOA;;;;;;;;;;;;;;;;;;AAgBA;;;;AAEA;;;;AAEA;;;;;;;;;;;;AAUA;;;;;;;;AAMA;;;;AAEA;;;;AAEA;;;;;AAGA;;;;;;;;;AAOA;;;;;AAGA;;;;;;;;;;AAQA;;;;AAEA;;;;;AAGA;EACG;;;;;AAGD;;;;;;;;;;AAQF;;;;AAEA;;;;;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A;;;;;AAGA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;AAEA;;;;;AAGA;;;;;;AAIA;;;;;;AAIA;;;;AAEA;;;;;AAGA;;;;AAEA;EAEC;;;;;EAKA","sources":["app/assets/lookbook/css/lookbook.css"],"sourcesContent":["@import \"tailwindcss/base\";\n@import \"tailwindcss/components\";\n@import \"tailwindcss/utilities\";\n\n@import \"./tooltip.css\";\n\n@import-glob \"../../../components/lookbook/**/*/component.css\";\n\n@layer base {\n html {\n @apply scroll-smooth h-screen;\n }\n\n @media screen and (prefers-reduced-motion: reduce) {\n html {\n @apply scroll-auto;\n }\n }\n\n body {\n @apply text-lookbook-text font-sans text-sm antialiased overflow-hidden;\n }\n\n [x-cloak] {\n @apply !hidden;\n }\n\n pre[class*=\"language-\"] {\n @apply !p-0 !m-0;\n }\n\n ::-webkit-scrollbar {\n @apply w-1 h-1;\n }\n\n ::-webkit-scrollbar-track {\n @apply bg-transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n @apply transition-colors rounded-full\tbg-clip-content bg-lookbook-scrollbar;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n @apply bg-lookbook-scrollbar-hover;\n }\n}\n\n@layer components {\n .form-input {\n @apply text-lookbook-input-text placeholder:text-lookbook-input-text-placeholder placeholder:italic;\n @apply border-lookbook-input-border focus:ring-lookbook-input-border-focus focus:border-lookbook-input-border-focus;\n @apply rounded-md text-sm w-full bg-lookbook-input-bg;\n }\n}\n"],"names":[],"version":3,"file":"lookbook.css.map"}