wilday_ui 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20e8d21cf297360add2959ca07413be267c34fbbe4003b3dc0bc46195d1106bc
4
- data.tar.gz: ff1eda9f35801ea82e8960bb74708d562164db929024f04aed71c23635c3f48f
3
+ metadata.gz: dcea6af1cbef800ab1313121b934ead726b3378ae3766a778e494edb84204a38
4
+ data.tar.gz: e22e50b8ff08f59180dcddb9e67fe9da69cd601053a852465ffb5e113836c68c
5
5
  SHA512:
6
- metadata.gz: bc43c8122a3f0da8d6dfa64c2c5c4a49367ba794940dfc75e18eb07422c864a3eb96944a01e2353d41665ccef34a6f399fd4ecb5f8ed12e780fa076677a797a2
7
- data.tar.gz: 208e684282df4266f439bc68cb0dda9d7d585248b03dc9fbdb09f7ac677c5e261456e13bbcf3610e7f214eb5556eb844f392f77adcc4ec60d71f477ab22111e0
6
+ metadata.gz: 8efcd4c8bad735b0eb4f272845837bfef5d018bf962616aed49dd3406ebacce0d53d9c21320bc60ee38e15b946f2d7f3b80e3e90a4e321be2eb97f9b443d7b23
7
+ data.tar.gz: 02dc40dc1af697bb756831258963eeb4e6fe7c9f8ee18934694c020cb7187bd8b82f06c16b831bacc2c53b6254b2ce907d912a260b8d6dbddbad738e313a062d
@@ -1,8 +1,12 @@
1
- /* Main entry point for button styles */
2
- @import "base.css";
3
- @import "features/variants.css";
4
- @import "features/sizes.css";
5
- @import "features/radius.css";
6
- @import "features/icons.css";
7
- @import "features/loading.css";
8
- @import "features/dropdown.css";
1
+ /*
2
+ *= require_self
3
+ *= require ./base
4
+ *= require ./features/variants
5
+ *= require ./features/sizes
6
+ *= require ./features/radius
7
+ *= require ./features/icons
8
+ *= require ./features/loading
9
+ *= require ./features/dropdown
10
+ */
11
+
12
+ /* Your direct CSS code can go here */
@@ -59,19 +59,24 @@ module WildayUi
59
59
 
60
60
  # Add all asset paths to Rails
61
61
  engine_asset_paths.each { |path| app.config.assets.paths << path }
62
+ app.config.assets.css_compressor = nil
62
63
  Rails.logger.info "[Wilday UI] Asset paths added: #{app.config.assets.paths}"
63
64
 
64
65
  # Automatically precompile all CSS files in wilday_ui directory
65
- css_files = Dir[root.join("app/assets/stylesheets/wilday_ui/**/*.css")].map do |file|
66
- Pathname.new(file).relative_path_from(root.join("app/assets/stylesheets")).to_s
67
- end.select { |f| f.start_with?("wilday_ui/") } # Safety check
66
+ # css_files = Dir[root.join("app/assets/stylesheets/wilday_ui/**/*.css")].map do |file|
67
+ # Pathname.new(file).relative_path_from(root.join("app/assets/stylesheets")).to_s
68
+ # end.select { |f| f.start_with?("wilday_ui/") } # Safety check
68
69
 
69
70
  # Precompile only the bundled JavaScript file
70
- app.config.assets.precompile += css_files
71
- app.config.assets.precompile += %w[wilday_ui/index.js]
71
+ # app.config.assets.precompile += css_files
72
+ # app.config.assets.precompile += %w[wilday_ui/index.js]
73
+ app.config.assets.precompile += %w[
74
+ wilday_ui/components/button/index.css
75
+ wilday_ui/index.js
76
+ ]
72
77
 
73
- Rails.logger.info "[Wilday UI] CSS files precompiled: #{css_files}"
74
- Rails.logger.info "[Wilday UI] JS files precompiled: wilday_ui/index.js"
78
+ # Rails.logger.info "[Wilday UI] CSS files precompiled: #{css_files}"
79
+ # Rails.logger.info "[Wilday UI] JS files precompiled: wilday_ui/index.js"
75
80
  end
76
81
  end
77
82
  end
@@ -1,3 +1,3 @@
1
1
  module WildayUi
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wilday_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - davidwinalda