vident-tailwind 0.1.0 → 0.1.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 +4 -4
- data/lib/vident/tailwind/version.rb +1 -1
- data/lib/vident/tailwind.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a6a46cc228c6dcda2ad7d0c66b790e363e17d0ff5eed962461f681f754da1b
|
4
|
+
data.tar.gz: 2d2a772f270d1b80a3313b9cb0a285d97709f0751162a91407e23a772f4cffbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb834a48f22572adb0113a44e2e8ea02d8522c76592f2a0dc18348b372fbe32e1b89898e68ce849850e085b861567ad62e899e3a78eb1cddc818c5c94dcb0ce
|
7
|
+
data.tar.gz: 13719fdafacf17f6bc8d907ec5528ccf049ccaec7f33d00b6f54505c87d7a8fdae4dadef5005a422edaf72f9cbe8f450dfc8cf0e963509b4ac4e2af752c7426d
|
data/lib/vident/tailwind.rb
CHANGED
@@ -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
|
-
|
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.
|
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-
|
11
|
+
date: 2023-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|