keystone_ui 0.11.0 → 0.11.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 779c5876ab225f8e81effa23a748805e832b8521081de86b1a64759f81876190
4
- data.tar.gz: 62adc4c320cef40f09b1c0ca677e45a03cf9af3e46e7ac87e7854d9cea4b917b
3
+ metadata.gz: 24cf791aa7574c54fce5bde514cd2c23c9f1ed4ea3d1f8b878ed13bc544ec380
4
+ data.tar.gz: f36f715a3d2423e4cf94480785088673f481d3cbe5f9d46d8bd3013c977a4e2f
5
5
  SHA512:
6
- metadata.gz: 7e2111385ae219156f7ddebc22ffbc064fe804a36ba7699b1828e368fc75b19e133fdedd3c95cab3f270262d7d7f86744972c66b6e7433bf19505a9a1365e6fe
7
- data.tar.gz: ab7ea01f423446831a0e88a0b51185741d6099dbb49a655d37f955aa3bc0201b82c2d878e12ed1fb2cfb37948e035c399d288f5e49b4c16e102a7b4ee8943648
6
+ metadata.gz: cefa7a60ca4be4b4aa123e60d26f623729f2c970fa3f581f17024858c713623484dc95f74bb0366f9d6c928c0a5c6f7480975403c65a5ceed1ccb81dd6b4ea33
7
+ data.tar.gz: 227693a252c9131d146089eaf36530a68d6994278233d81fd9c716f51a66af3bf4286fb3f0dc2f930f4589bac2f9bc82818c56ffba2abd18486610b77aa2544d
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "keystone_ui/source_css"
4
+ require "keystone_ui/leftover_stylesheet"
4
5
 
5
6
  module KeystoneUi
6
7
  class Engine < ::Rails::Engine
@@ -13,6 +14,10 @@ module KeystoneUi
13
14
  end
14
15
  end
15
16
 
17
+ initializer "keystone_ui.remove_leftover_stylesheet" do |app|
18
+ KeystoneUi::LeftoverStylesheet.new(app.root).remove
19
+ end
20
+
16
21
  # Write a separate keystone_source.css with the gem's @source directive
17
22
  # so Tailwind can scan component files during asset compilation.
18
23
  #
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "pathname"
4
+
5
+ module KeystoneUi
6
+ class LeftoverStylesheet
7
+ def initialize(root)
8
+ @root = Pathname.new(root)
9
+ end
10
+
11
+ def remove
12
+ leftover = @root.join("app/assets/builds/tailwind/keystone_ui_engine.css")
13
+ leftover.delete if leftover.exist?
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KeystoneUi
4
- VERSION = "0.11.0"
4
+ VERSION = "0.11.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystone_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Schneider
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-14 00:00:00.000000000 Z
11
+ date: 2026-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: keystone_ui-styles
@@ -180,6 +180,7 @@ files:
180
180
  - lib/keystone_ui.rb
181
181
  - lib/keystone_ui/configuration.rb
182
182
  - lib/keystone_ui/engine.rb
183
+ - lib/keystone_ui/leftover_stylesheet.rb
183
184
  - lib/keystone_ui/safelist.rb
184
185
  - lib/keystone_ui/source_css.rb
185
186
  - lib/keystone_ui/theme_choice.rb