card-mod-style 0.17.0 → 0.18.0

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: fb5380e8ae79de5e26f1fd9647f69b369434d73dcfa90eabd48bf5bc7b4ed598
4
+ data.tar.gz: 2a54647a4838a2cef75ed01197b8cb6b6fdea2868a70c9c549a9d9bcfd61eb0d
5
5
  SHA512:
6
- metadata.gz: 4d0b250916d90e054fb0973a2e83d54f170cb69b2b6409cc292f6bf6d50c045cbdbd59c5c058c5e7180e23107a0d2d81c3fe9460dc3a3fd69978ad19643ce51b
7
- data.tar.gz: c453107ba904345129ed36cdcb7c5671660db1e1faa3dbdaa2b93624289a849c6ec757722065ad399b0eacf0395bbcffcd0604c2b58ff94c9323259170c0ccb8
6
+ metadata.gz: b5a94298e4d4a3ba516ac67036588c8ad0d87ad858e4ce68047a72055da335b02babf5462ddc310ad7b9f1ec7348d2ccffef98f3993da0c1d281773dd7b78e28
7
+ data.tar.gz: 615cf45cb742d3d7dfc7a422fbc262b07091de8fd5a2170f013f7a72c46276f493e9a7c974ae0dac87512452f5c64256e83d0ba38b27a3b3f7b1ef9c6b5b6843
@@ -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.0
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-10-31 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.0
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.0
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.0
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.0
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.0
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.0
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
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.5.10
127
+ rubygems_version: 3.5.7
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Skins, CSS, SCSS, etc