coveragebook_components 0.9.0 → 0.9.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 201cc10a1c0aa8649d80c72ff1e37f7b73eb77785451cab30fc4b3f0bb666900
|
|
4
|
+
data.tar.gz: e67c3da496a5b3a55feaf4750cda66f20ca825fb92aa8e94d47c313be7236fbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1acd500aded11cd641e5478b788e2c8911cf2aea0e19b5d418eb3d6bc469d8f5876a09ad90a691e204892cc947b2b02aefda51809eb66ca5a6771d2d424fb559
|
|
7
|
+
data.tar.gz: 4f2bafaf1a89da669543de3feab4e240c0a76d710d575a9322daf6257f9a78be61b3623ac5b9cf988c857eb75b0428e600efe5d77f04887cfc06af397000a5e4
|
|
@@ -3548,9 +3548,10 @@ select{
|
|
|
3548
3548
|
width: -moz-fit-content;
|
|
3549
3549
|
width: fit-content;
|
|
3550
3550
|
border-radius: 44px;
|
|
3551
|
-
opacity: 0;
|
|
3552
3551
|
}
|
|
3553
|
-
[data-coco][data-component="app-button-group"]
|
|
3552
|
+
[data-coco][data-component="app-button-group"][data-collapsible="true"]{
|
|
3553
|
+
opacity: 0}
|
|
3554
|
+
[data-coco][data-component="app-button-group"][data-collapsible="true"].button-group-ready{
|
|
3554
3555
|
opacity: 1}
|
|
3555
3556
|
[data-coco][data-component="app-button-group"] .button-group-buttons{
|
|
3556
3557
|
display: flex;
|
|
@@ -14044,7 +14044,7 @@
|
|
|
14044
14044
|
var package_default = {
|
|
14045
14045
|
name: "coveragebook-components",
|
|
14046
14046
|
type: "module",
|
|
14047
|
-
version: "0.9.
|
|
14047
|
+
version: "0.9.1",
|
|
14048
14048
|
main: "index.js",
|
|
14049
14049
|
repository: "git@github.com:coveragebook/coco.git",
|
|
14050
14050
|
author: "Mark Perkins <mark@coveragebook.com>",
|
|
@@ -25109,13 +25109,15 @@ ${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);
|
|
|
25109
25109
|
return this.$root.parentElement;
|
|
25110
25110
|
},
|
|
25111
25111
|
init() {
|
|
25112
|
-
this
|
|
25113
|
-
|
|
25114
|
-
|
|
25112
|
+
if (this.collapsible) {
|
|
25113
|
+
this.$nextTick(() => {
|
|
25114
|
+
this.onResize();
|
|
25115
|
+
this.createSingletonTooltip();
|
|
25116
|
+
this.ready = true;
|
|
25117
|
+
});
|
|
25118
|
+
} else {
|
|
25115
25119
|
this.ready = true;
|
|
25116
|
-
|
|
25117
|
-
this.createSingletonTooltip();
|
|
25118
|
-
});
|
|
25120
|
+
}
|
|
25119
25121
|
this.$watch("collapsed", (value) => {
|
|
25120
25122
|
this.buttons.forEach((button) => {
|
|
25121
25123
|
button.isCollapsed = value;
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
[data-coco][data-component="app-button-group"] {
|
|
3
3
|
width: fit-content;
|
|
4
4
|
border-radius: 44px;
|
|
5
|
-
@apply opacity-0;
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
@apply opacity-
|
|
6
|
+
&[data-collapsible="true"] {
|
|
7
|
+
@apply opacity-0;
|
|
8
|
+
|
|
9
|
+
&.button-group-ready {
|
|
10
|
+
@apply opacity-100;
|
|
11
|
+
}
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
.button-group-buttons {
|
|
@@ -29,13 +29,15 @@ export default CocoComponent("appButtonGroup", () => {
|
|
|
29
29
|
},
|
|
30
30
|
|
|
31
31
|
init() {
|
|
32
|
-
this
|
|
33
|
-
|
|
32
|
+
if (this.collapsible) {
|
|
33
|
+
this.$nextTick(() => {
|
|
34
|
+
this.onResize();
|
|
35
|
+
this.createSingletonTooltip();
|
|
36
|
+
this.ready = true;
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
34
39
|
this.ready = true;
|
|
35
|
-
|
|
36
|
-
this.onResize();
|
|
37
|
-
this.createSingletonTooltip();
|
|
38
|
-
});
|
|
40
|
+
}
|
|
39
41
|
|
|
40
42
|
this.$watch("collapsed", (value) => {
|
|
41
43
|
this.buttons.forEach((button) => {
|
data/lib/coco.rb
CHANGED