wilday_ui 0.5.3 → 0.5.4
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/wilday_ui/components/button/index.css +12 -8
- data/lib/wilday_ui/engine.rb +12 -7
- data/lib/wilday_ui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcea6af1cbef800ab1313121b934ead726b3378ae3766a778e494edb84204a38
|
4
|
+
data.tar.gz: e22e50b8ff08f59180dcddb9e67fe9da69cd601053a852465ffb5e113836c68c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8efcd4c8bad735b0eb4f272845837bfef5d018bf962616aed49dd3406ebacce0d53d9c21320bc60ee38e15b946f2d7f3b80e3e90a4e321be2eb97f9b443d7b23
|
7
|
+
data.tar.gz: 02dc40dc1af697bb756831258963eeb4e6fe7c9f8ee18934694c020cb7187bd8b82f06c16b831bacc2c53b6254b2ce907d912a260b8d6dbddbad738e313a062d
|
@@ -1,8 +1,12 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
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 */
|
data/lib/wilday_ui/engine.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/wilday_ui/version.rb
CHANGED