vident-tailwind 0.1.0 → 0.1.1

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: 1192f90217b3a947eebfeecc9d3f0b6fe8d76d4d48584e124abf93ad5ffa9490
4
- data.tar.gz: 3b57634555e09bde6f2d4f6b8def9fa723702924af6c5a33cf2e071a098e696d
3
+ metadata.gz: 65a6a46cc228c6dcda2ad7d0c66b790e363e17d0ff5eed962461f681f754da1b
4
+ data.tar.gz: 2d2a772f270d1b80a3313b9cb0a285d97709f0751162a91407e23a772f4cffbd
5
5
  SHA512:
6
- metadata.gz: 595dc5bb7493fcce65f4b549aef363783628ea79aa521530b2796b1dc0fabe333672c3cec0cf66f1e2350d30e06d83e62d1d85981f67ef59b6d043e7145e2d06
7
- data.tar.gz: 250688a8f828bc415a9b2d29cf0a8dee08611f1455b99a79660c689b0d9542836e4529361e375e29745ba12a5599f9b6be8b7e687bb84a6eaa5eebabbe4283e1
6
+ metadata.gz: 3cb834a48f22572adb0113a44e2e8ea02d8522c76592f2a0dc18348b372fbe32e1b89898e68ce849850e085b861567ad62e899e3a78eb1cddc818c5c94dcb0ce
7
+ data.tar.gz: 13719fdafacf17f6bc8d907ec5528ccf049ccaec7f33d00b6f54505c87d7a8fdae4dadef5005a422edaf72f9cbe8f450dfc8cf0e963509b4ac4e2af752c7426d
@@ -1,5 +1,5 @@
1
1
  module Vident
2
2
  module Tailwind
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -8,7 +8,8 @@ module Vident
8
8
  # Adds a utility class merge specifically for Tailwind, allowing you to more easily specify class overrides
9
9
  # without having to worry about the specificity of the classes.
10
10
  def produce_style_classes(class_names)
11
- ::TailwindMerge::Merger.new.merge(dedupe_view_component_classes(class_names))
11
+ to_merge = dedupe_view_component_classes(class_names)
12
+ ::TailwindMerge::Merger.new.merge(to_merge) if to_merge.present?
12
13
  end
13
14
  end
14
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vident-tailwind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-01 00:00:00.000000000 Z
11
+ date: 2023-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails