card-mod-style 0.17.0 → 0.18.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: 5b752fc46f1fb41609cb504a8a2ce52967db8eecce812b8ddb7105237ddbfc1b
4
- data.tar.gz: 02a7807e02df2e5090cf6c3417b46531ce201c495d8189c1027ffb79706c322d
3
+ metadata.gz: ce72867cd7bb143196fb90c0e90f5af8eeffdbb023445e1e3f8ada9d83ce2ae1
4
+ data.tar.gz: d7ebbdfe71003eeb8ae989f2d31fbb8c8a53110dfed52ee54c4ab9d34fa2c044
5
5
  SHA512:
6
- metadata.gz: 4d0b250916d90e054fb0973a2e83d54f170cb69b2b6409cc292f6bf6d50c045cbdbd59c5c058c5e7180e23107a0d2d81c3fe9460dc3a3fd69978ad19643ce51b
7
- data.tar.gz: c453107ba904345129ed36cdcb7c5671660db1e1faa3dbdaa2b93624289a849c6ec757722065ad399b0eacf0395bbcffcd0604c2b58ff94c9323259170c0ccb8
6
+ metadata.gz: a8104207a8f225a3908ad96fafb6358f22a1dc3b38c55ae97e626cda3a7a9fd907f376ad27ea1104d4d44d0b7211e232d522f13eb7c3630d4269799882da3290
7
+ data.tar.gz: cea9495444f34eed6bebf0acb1dbf6beaa6ee600be8bfec6124a2a60a170c000507273b09bc3d8809726315e1d3dfa314d1a00481a4d84b5f4c2c4ce792828b0
@@ -1,5 +1,5 @@
1
1
  format :html do
2
- view :box do
2
+ view :box, cache: :yes do
3
3
  class_up "box-middle", "p-0"
4
4
  voo.hide :customize_button, :box_middle
5
5
  super()
@@ -4,3 +4,11 @@ include_set Abstract::AssetInputter, input_format: :scss
4
4
  def dependent_asset_inputters
5
5
  Card::Assets.active_theme_cards
6
6
  end
7
+
8
+ format :html do
9
+ view :remote_style_tags, cache: :deep, perms: :none do
10
+ card.item_cards.map do |mod_style_card|
11
+ nest mod_style_card, view: :remote_include_tags
12
+ end.select(&:present?)
13
+ end
14
+ end
@@ -25,6 +25,14 @@ format :html do
25
25
  HIDDEN_SKINS = %w[bootstrap_default_skin themeless_bootstrap_skin bootstrap_default_skin
26
26
  classic_bootstrap_skin].freeze
27
27
 
28
+ view :stylesheet_path, cache: :never, perms: :none do
29
+ if params[:debug] == "style"
30
+ path mark: card.name, item: :import, format: :css
31
+ else
32
+ card.asset_output_url
33
+ end
34
+ end
35
+
28
36
  def input_type
29
37
  :box_select
30
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-06-12 00:00:00.000000000 Z
13
+ date: 2024-11-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.107.0
21
+ version: 1.108.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.107.0
28
+ version: 1.108.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-assets
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.17.0
35
+ version: 0.18.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.17.0
42
+ version: 0.18.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: card-mod-list
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.17.0
49
+ version: 0.18.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.17.0
56
+ version: 0.18.1
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org
@@ -100,7 +100,7 @@ files:
100
100
  - set/type_plus_right/set/style/input.haml
101
101
  homepage: https://decko.org
102
102
  licenses:
103
- - GPL-3.0
103
+ - GPL-3.0-or-later
104
104
  metadata:
105
105
  source_code_uri: https://github.com/decko-commons/decko
106
106
  homepage_uri: https://decko.org