card-mod-style 0.16.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: 9db132feecf24df6bc486dcafdfa8692774bb89434a3e02789cdda2036dd9bdc
4
- data.tar.gz: b3331444572ce67a6b6f92eb61ec9c023fe8daa36d4691652595eb5c7684a21e
3
+ metadata.gz: fb5380e8ae79de5e26f1fd9647f69b369434d73dcfa90eabd48bf5bc7b4ed598
4
+ data.tar.gz: 2a54647a4838a2cef75ed01197b8cb6b6fdea2868a70c9c549a9d9bcfd61eb0d
5
5
  SHA512:
6
- metadata.gz: d61a2ce96881d383f63b711869e32ea4b8916100241ea5af5e0fa5ae993025712edde3daad3af5414cdc9f1835727a452b9843c6792efc638525a56a7b4472e2
7
- data.tar.gz: 8ff0014817281e59dd350397be1e9dea6093667d0213420abe6b00dd97b87b5fd97688327ee2849d822483ea7dc44dc4ed585fde56dee9a724edc4c3cfdc21ea
6
+ metadata.gz: b5a94298e4d4a3ba516ac67036588c8ad0d87ad858e4ce68047a72055da335b02babf5462ddc310ad7b9f1ec7348d2ccffef98f3993da0c1d281773dd7b78e28
7
+ data.tar.gz: 615cf45cb742d3d7dfc7a422fbc262b07091de8fd5a2170f013f7a72c46276f493e9a7c974ae0dac87512452f5c64256e83d0ba38b27a3b3f7b1ef9c6b5b6843
data/config/admin.yml ADDED
@@ -0,0 +1,10 @@
1
+ settings:
2
+ - style
3
+ cardtypes:
4
+ assets:
5
+ - local_style_folder_group
6
+ - local_style_manifest_group
7
+ styling:
8
+ - css
9
+ - scss
10
+ - skin
@@ -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
@@ -6,7 +6,7 @@ def ok_item_types
6
6
  %i[css scss skin bootswatch_skin]
7
7
  end
8
8
 
9
- def ok_to_read
9
+ def ok_to_read?
10
10
  true
11
11
  end
12
12
 
@@ -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.16.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: 2023-11-18 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.106.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.106.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.16.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.16.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.16.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.16.0
56
+ version: 0.18.0
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org
@@ -65,6 +65,7 @@ files:
65
65
  - README.md
66
66
  - assets/style/jquery_ui_decko.scss
67
67
  - assets/style/jquery_ui_smoothness.css
68
+ - config/admin.yml
68
69
  - config/locales/de.yml
69
70
  - config/locales/en.yml
70
71
  - data/real.yml
@@ -99,7 +100,7 @@ files:
99
100
  - set/type_plus_right/set/style/input.haml
100
101
  homepage: https://decko.org
101
102
  licenses:
102
- - GPL-3.0
103
+ - GPL-3.0-or-later
103
104
  metadata:
104
105
  source_code_uri: https://github.com/decko-commons/decko
105
106
  homepage_uri: https://decko.org
@@ -116,14 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
118
  - - ">="
118
119
  - !ruby/object:Gem::Version
119
- version: '2.5'
120
+ version: '3.0'
120
121
  required_rubygems_version: !ruby/object:Gem::Requirement
121
122
  requirements:
122
123
  - - ">="
123
124
  - !ruby/object:Gem::Version
124
125
  version: '0'
125
126
  requirements: []
126
- rubygems_version: 3.4.10
127
+ rubygems_version: 3.5.7
127
128
  signing_key:
128
129
  specification_version: 4
129
130
  summary: Skins, CSS, SCSS, etc