coveragebook_components 0.6.0 → 0.6.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/app/assets/build/coco/app.css +2 -0
- data/app/assets/build/coco/app.js +1 -1
- data/app/assets/build/coco/book.css +2 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.html.erb +10 -6
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.css +1 -1
- data/lib/coco.rb +1 -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: 315f0f67e3808e47c30ec505efd02020e73b65f2aac7cf701bc76d2029a8d171
|
|
4
|
+
data.tar.gz: 9d19868c18f41453cd836f428f824aba86d38a56aaab912445f8669cdb63501f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1547b2a38d2679ae85f38e357aca2eb2d875a612bf7872cbbcfd757780f08d05280d45b1888b5c81f22ab8ec05d48c5773c86d95b13c9d1985aa1d3390482c04
|
|
7
|
+
data.tar.gz: e7226e32fd18f1abe188a69e6024f330b1a70d8f6327ad35c9817d7713a5532220ca8ed677b244434c8c4f1ef823e6493d4757fcf7c71aed59eea9b829d93a75
|
|
@@ -14604,7 +14604,7 @@
|
|
|
14604
14604
|
var package_default = {
|
|
14605
14605
|
name: "coveragebook-components",
|
|
14606
14606
|
type: "module",
|
|
14607
|
-
version: "0.6.
|
|
14607
|
+
version: "0.6.1",
|
|
14608
14608
|
main: "index.js",
|
|
14609
14609
|
repository: "git@github.com:coveragebook/coco.git",
|
|
14610
14610
|
author: "Mark Perkins <mark@coveragebook.com>",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
role: "layout-picker"
|
|
15
15
|
},
|
|
16
16
|
x: {
|
|
17
|
-
|
|
17
|
+
modelable: "selectedLayout",
|
|
18
|
+
model: "layout"
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
) do |button| %>
|
|
@@ -37,7 +38,8 @@
|
|
|
37
38
|
role: "bg-color-picker"
|
|
38
39
|
},
|
|
39
40
|
x: {
|
|
40
|
-
|
|
41
|
+
modelable: "selectedColor",
|
|
42
|
+
model: "bgColor"
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
) do |button| %>
|
|
@@ -60,7 +62,8 @@
|
|
|
60
62
|
role: "bg-image-picker"
|
|
61
63
|
},
|
|
62
64
|
x: {
|
|
63
|
-
|
|
65
|
+
modelable: "selectedImage",
|
|
66
|
+
model: "bgImage"
|
|
64
67
|
}
|
|
65
68
|
}
|
|
66
69
|
) do |button| %>
|
|
@@ -80,7 +83,8 @@
|
|
|
80
83
|
role: "text-color-picker"
|
|
81
84
|
},
|
|
82
85
|
x: {
|
|
83
|
-
|
|
86
|
+
modelable: "selectedColor",
|
|
87
|
+
model: "textColor"
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
) do |button| %>
|
|
@@ -265,13 +269,13 @@
|
|
|
265
269
|
|
|
266
270
|
<% if image_1? %>
|
|
267
271
|
<% slide.with_image_1 do %>
|
|
268
|
-
<div class="editor-thumbnail-image" :style="`background-image: url('${image1.data}')`"></div>
|
|
272
|
+
<div class="editor-thumbnail-image" :style="image2.data && `background-image: url('${image1.data}')`"></div>
|
|
269
273
|
<% end %>
|
|
270
274
|
<% end %>
|
|
271
275
|
|
|
272
276
|
<% if image_2? %>
|
|
273
277
|
<% slide.with_image_2 do %>
|
|
274
|
-
<div class="editor-thumbnail-image" :style="`background-image: url('${image2.data}')`"></div>
|
|
278
|
+
<div class="editor-thumbnail-image" :style="image2.data && `background-image: url('${image2.data}')`"></div>
|
|
275
279
|
<% end %>
|
|
276
280
|
<% end %>
|
|
277
281
|
<% end %>
|
data/lib/coco.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coveragebook_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Perkins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08-
|
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|