coveragebook_components 0.7.5 → 0.7.7

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: dd6cce7716db3721e8b2b4d18197edccf01a61f6b774bcd7bcc617c1ca540cc3
4
- data.tar.gz: 29b917a7dfe85bb957b1c1525ed699c87ec3c72b748a4025089407ec604f234c
3
+ metadata.gz: db2d008f0050f782630a3298bd1f8be296a2836d989514274c8adff8b3e0d244
4
+ data.tar.gz: 7aae659711173e027ec868861400748c2db3d4acc942d7bb1725b4a5f8a683b3
5
5
  SHA512:
6
- metadata.gz: 5024029f8df75a0679d6844a2386fefa2d448627e7b54140849be30c41a9a9fd00fccb30401ecdfd8c272292121bd97196c12cc41a8083eebe887fdfa16c9ac7
7
- data.tar.gz: c4d39cfba3af10feffe5f0c0d947c7668c417b14cce86216137be32381a0d3079adfae2bb03f96db628f89e4920c4f1cb3badf6fc6a849f567eecc22f13c39b9
6
+ metadata.gz: c7b3152eb32d6d727722e6a2aea4e450f8da5dff48f365223a48569c3962b82510a5f189a2c66cce3efee2f1404228eac1c77d8d987502545cebe73f11acdc3b
7
+ data.tar.gz: 14da69110a8f194927428f6890166f0cf4168990d9f74541e71d7b1e7968a7e9046c277267713d11dc540f376f11c89bbaf8c63191aa69f3d391f5fba820d2b9
@@ -639,20 +639,20 @@ select{
639
639
  --tw-backdrop-sepia: }
640
640
  [data-tippy-root]{
641
641
  z-index: 10010 !important}
642
- [data-coco] .tippy-box{
642
+ .tippy-box[data-theme^="coco-"]{
643
643
  white-space: normal;
644
644
  background-color: transparent;
645
645
  font-size: 16px;
646
646
  line-height: 20px;
647
647
  --tw-text-opacity: 1;
648
648
  color: rgb(17 24 39 / var(--tw-text-opacity))}
649
- [data-coco] .tippy-content{
649
+ .tippy-box[data-theme^="coco-"] .tippy-content{
650
650
  padding: 0px}
651
651
  /* arrow border */
652
- [data-coco] .tippy-svg-arrow > svg:first-child{
652
+ .tippy-box[data-theme^="coco-"] .tippy-svg-arrow > svg:first-child{
653
653
  fill: transparent}
654
654
  /* arrow background */
655
- [data-coco] .tippy-svg-arrow > svg:last-child{
655
+ .tippy-box[data-theme^="coco-"] .tippy-svg-arrow > svg:last-child{
656
656
  fill: transparent}
657
657
  /* Tooltip theme */
658
658
  .tippy-box[data-theme~="coco-tooltip"]{
@@ -14032,7 +14032,7 @@
14032
14032
  var package_default = {
14033
14033
  name: "coveragebook-components",
14034
14034
  type: "module",
14035
- version: "0.7.5",
14035
+ version: "0.7.7",
14036
14036
  main: "index.js",
14037
14037
  repository: "git@github.com:coveragebook/coco.git",
14038
14038
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -23978,7 +23978,9 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
23978
23978
  this.hide();
23979
23979
  },
23980
23980
  scrollTo(pos) {
23981
- this.$root.scrollTop = pos + this.contentOffsetTop;
23981
+ setTimeout(() => {
23982
+ this.$root.scrollTop = pos + this.contentOffsetTop;
23983
+ }, 10);
23982
23984
  },
23983
23985
  clearFrame() {
23984
23986
  this.frame.removeAttribute("src");
@@ -667,7 +667,7 @@ select {
667
667
  [data-tippy-root] {
668
668
  z-index: 10010 !important;
669
669
  }
670
- [data-coco] .tippy-box {
670
+ .tippy-box[data-theme^="coco-"] {
671
671
  white-space: normal;
672
672
  background-color: transparent;
673
673
  font-size: 16px;
@@ -675,15 +675,15 @@ select {
675
675
  --tw-text-opacity: 1;
676
676
  color: rgb(17 24 39 / var(--tw-text-opacity));
677
677
  }
678
- [data-coco] .tippy-content {
678
+ .tippy-box[data-theme^="coco-"] .tippy-content {
679
679
  padding: 0px;
680
680
  }
681
681
  /* arrow border */
682
- [data-coco] .tippy-svg-arrow > svg:first-child {
682
+ .tippy-box[data-theme^="coco-"] .tippy-svg-arrow > svg:first-child {
683
683
  fill: transparent;
684
684
  }
685
685
  /* arrow background */
686
- [data-coco] .tippy-svg-arrow > svg:last-child {
686
+ .tippy-box[data-theme^="coco-"] .tippy-svg-arrow > svg:last-child {
687
687
  fill: transparent;
688
688
  }
689
689
  /* Tooltip theme */
@@ -15204,7 +15204,9 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
15204
15204
  this.hide();
15205
15205
  },
15206
15206
  scrollTo(pos) {
15207
- this.$root.scrollTop = pos + this.contentOffsetTop;
15207
+ setTimeout(() => {
15208
+ this.$root.scrollTop = pos + this.contentOffsetTop;
15209
+ }, 10);
15208
15210
  },
15209
15211
  clearFrame() {
15210
15212
  this.frame.removeAttribute("src");
@@ -7,21 +7,21 @@
7
7
  @apply !z-[10010];
8
8
  }
9
9
 
10
- [data-coco] .tippy-box {
10
+ .tippy-box[data-theme^="coco-"] {
11
11
  @apply bg-transparent text-gray-900 text-label-md whitespace-normal;
12
- }
13
12
 
14
- [data-coco] .tippy-content {
15
- @apply p-0;
16
- }
13
+ .tippy-content {
14
+ @apply p-0;
15
+ }
17
16
 
18
- /* arrow border */
19
- [data-coco] .tippy-svg-arrow > svg:first-child {
20
- @apply fill-transparent;
21
- }
17
+ /* arrow border */
18
+ .tippy-svg-arrow > svg:first-child {
19
+ @apply fill-transparent;
20
+ }
22
21
 
23
- /* arrow background */
24
- [data-coco] .tippy-svg-arrow > svg:last-child {
25
- @apply fill-transparent;
22
+ /* arrow background */
23
+ .tippy-svg-arrow > svg:last-child {
24
+ @apply fill-transparent;
25
+ }
26
26
  }
27
27
  }
@@ -37,7 +37,9 @@ export default CocoComponent("modal", () => {
37
37
  },
38
38
 
39
39
  scrollTo(pos) {
40
- this.$root.scrollTop = pos + this.contentOffsetTop;
40
+ setTimeout(() => {
41
+ this.$root.scrollTop = pos + this.contentOffsetTop;
42
+ }, 10);
41
43
  },
42
44
 
43
45
  clearFrame() {
data/lib/coco.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.7.5"
2
+ VERSION = "0.7.7"
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.7.5
4
+ version: 0.7.7
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-10-10 00:00:00.000000000 Z
11
+ date: 2023-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails