coveragebook_components 0.6.0 → 0.6.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: 324d5f797b12a43ba287186f0bb292881a0b2d7fa3cebf348c66394b1ab56543
4
- data.tar.gz: 8d890765e161085db340052746adbe5def80174e6b3c410829d7add5a40d29e3
3
+ metadata.gz: 315f0f67e3808e47c30ec505efd02020e73b65f2aac7cf701bc76d2029a8d171
4
+ data.tar.gz: 9d19868c18f41453cd836f428f824aba86d38a56aaab912445f8669cdb63501f
5
5
  SHA512:
6
- metadata.gz: c8c4c8539446948b4b2da346ff121fd7420d755ff7a0c992a68b9c26c40d905c6531c476603ba250edfc5b3d2f97da27bf3a587cb82184a4f01966368fb89661
7
- data.tar.gz: 9c954db0e3d53181459c812fdd0248f99f2fda517fead437da41be871ea6f2f38598b46d65ee742da0e2557a709bb6d867f61ba0a4c9f2aaa9de09c9b1dfa50e
6
+ metadata.gz: 1547b2a38d2679ae85f38e357aca2eb2d875a612bf7872cbbcfd757780f08d05280d45b1888b5c81f22ab8ec05d48c5773c86d95b13c9d1985aa1d3390482c04
7
+ data.tar.gz: e7226e32fd18f1abe188a69e6024f330b1a70d8f6327ad35c9817d7713a5532220ca8ed677b244434c8c4f1ef823e6493d4757fcf7c71aed59eea9b829d93a75
@@ -3280,6 +3280,8 @@ select{
3280
3280
 
3281
3281
  background-size: cover;
3282
3282
 
3283
+ background-position: center;
3284
+
3283
3285
  background-repeat: no-repeat;
3284
3286
 
3285
3287
  min-width: 320px;
@@ -14604,7 +14604,7 @@
14604
14604
  var package_default = {
14605
14605
  name: "coveragebook-components",
14606
14606
  type: "module",
14607
- version: "0.6.0",
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>",
@@ -783,6 +783,8 @@ select {
783
783
 
784
784
  background-size: cover;
785
785
 
786
+ background-position: center;
787
+
786
788
  background-repeat: no-repeat;
787
789
 
788
790
  min-width: 320px;
@@ -14,7 +14,8 @@
14
14
  role: "layout-picker"
15
15
  },
16
16
  x: {
17
- "@layout-picker:change": "setLayout($event.detail.layout)"
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
- "@color-picker:change": "bgColor = $event.detail.color"
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
- "@image-picker:change": "bgImage = $event.detail.image"
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
- "@color-picker:change": "textColor = $event.detail.color"
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 %>
@@ -39,7 +39,7 @@
39
39
  /* ------------- */
40
40
 
41
41
  @apply relative rounded-md @container;
42
- @apply bg-white bg-no-repeat bg-cover;
42
+ @apply bg-white bg-no-repeat bg-cover bg-center;
43
43
 
44
44
  min-width: 320px;
45
45
 
data/lib/coco.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails