coveragebook_components 0.12.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7dcf86084959ce92670ea5cdfabf7f121e7454e1b7e073cf1cb317a791cb332d
|
4
|
+
data.tar.gz: 50a47b71854e071a2b3fc5c5c80599e90cf620c35f0918e5b56b67cd7fd9e951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 000552fd4d65a2bbef90e888cc57b0a3931feb68db6b4025da457d685e469f56a54293c9f386646b11a1379617c4e88717b1a5fcc9e53938fd7588dffa5083e2
|
7
|
+
data.tar.gz: dfb4b25c5e357b800b66b3ff6ae91274af799ad1e644bdf549e859658edac117bd0c1bbac07891fb0f2293fce20a84ae766d86e375b899263f57ebec06b9156c
|
@@ -3727,7 +3727,7 @@ select{
|
|
3727
3727
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
3728
3728
|
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
3729
3729
|
}
|
3730
|
-
[data-coco][data-component="app-plan-picker"] .plan-picker-controls
|
3730
|
+
[data-coco][data-component="app-plan-picker"] .plan-picker-controls [data-component="app-option-bar"]{
|
3731
3731
|
margin-left: auto;
|
3732
3732
|
margin-right: auto;
|
3733
3733
|
}
|
@@ -3771,9 +3771,7 @@ select{
|
|
3771
3771
|
}
|
3772
3772
|
@container (min-width: 420px) {
|
3773
3773
|
[data-coco][data-component="app-plan-picker"] .plan-picker-controls{
|
3774
|
-
|
3775
|
-
align-items: center;
|
3776
|
-
justify-content: space-between;
|
3774
|
+
position: relative;
|
3777
3775
|
}
|
3778
3776
|
[data-coco][data-component="app-plan-picker"] .plan-picker-controls > :not([hidden]) ~ :not([hidden]){
|
3779
3777
|
--tw-space-y-reverse: 0;
|
@@ -3781,11 +3779,20 @@ select{
|
|
3781
3779
|
margin-bottom: calc(0px * var(--tw-space-y-reverse));
|
3782
3780
|
}
|
3783
3781
|
|
3784
|
-
[data-coco][data-component="app-plan-picker"] .plan-picker-controls
|
3782
|
+
[data-coco][data-component="app-plan-picker"] .plan-picker-controls .plan-picker-currency{
|
3783
|
+
position: absolute;
|
3784
|
+
left: 0px;
|
3785
|
+
top: 0px;
|
3785
3786
|
margin-left: 0px;
|
3786
3787
|
margin-right: 0px;
|
3787
3788
|
}
|
3788
3789
|
|
3790
|
+
[data-coco][data-component="app-plan-picker"] .plan-picker-controls .plan-picker-currency
|
3791
|
+
+ .plan-picker-interval
|
3792
|
+
> [data-component="app-option-bar"]{
|
3793
|
+
margin-right: 0px;
|
3794
|
+
}
|
3795
|
+
|
3789
3796
|
[data-coco][data-component="app-plan-picker"] .plan-picker-plans{
|
3790
3797
|
display: grid;
|
3791
3798
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
@@ -3794,7 +3801,17 @@ select{
|
|
3794
3801
|
}
|
3795
3802
|
}
|
3796
3803
|
@container (min-width: 984px) {
|
3804
|
+
[data-coco][data-component="app-plan-picker"] .plan-picker-controls .plan-picker-interval > [data-component="app-option-bar"]{
|
3805
|
+
margin-left: auto !important;
|
3806
|
+
margin-right: auto !important;
|
3807
|
+
}
|
3808
|
+
|
3797
3809
|
[data-coco][data-component="app-plan-picker"] .plan-picker-controls .plan-picker-view-toggle{
|
3810
|
+
position: absolute;
|
3811
|
+
right: 0px;
|
3812
|
+
top: 0px;
|
3813
|
+
margin-left: 0px;
|
3814
|
+
margin-right: 0px;
|
3798
3815
|
display: block;
|
3799
3816
|
}
|
3800
3817
|
|
@@ -14048,7 +14048,7 @@
|
|
14048
14048
|
// ../../../package.json
|
14049
14049
|
var package_default = {
|
14050
14050
|
name: "coveragebook-components",
|
14051
|
-
version: "0.12.
|
14051
|
+
version: "0.12.1",
|
14052
14052
|
repository: "git@github.com:coveragebook/coco.git",
|
14053
14053
|
license: "NO LICENSE",
|
14054
14054
|
author: "Mark Perkins <mark@coveragebook.com>",
|
@@ -5,7 +5,7 @@
|
|
5
5
|
.plan-picker-controls {
|
6
6
|
@apply space-y-4;
|
7
7
|
|
8
|
-
|
8
|
+
[data-component="app-option-bar"] {
|
9
9
|
@apply mx-auto;
|
10
10
|
}
|
11
11
|
|
@@ -46,10 +46,16 @@
|
|
46
46
|
|
47
47
|
@container (min-width: 420px) {
|
48
48
|
.plan-picker-controls {
|
49
|
-
@apply
|
49
|
+
@apply relative space-y-0;
|
50
50
|
|
51
|
-
|
52
|
-
@apply mx-0;
|
51
|
+
.plan-picker-currency {
|
52
|
+
@apply absolute left-0 top-0 mx-0;
|
53
|
+
}
|
54
|
+
|
55
|
+
.plan-picker-currency
|
56
|
+
+ .plan-picker-interval
|
57
|
+
> [data-component="app-option-bar"] {
|
58
|
+
@apply mr-0;
|
53
59
|
}
|
54
60
|
}
|
55
61
|
|
@@ -60,8 +66,12 @@
|
|
60
66
|
|
61
67
|
@container (min-width: 984px) {
|
62
68
|
.plan-picker-controls {
|
69
|
+
.plan-picker-interval > [data-component="app-option-bar"] {
|
70
|
+
@apply !mx-auto;
|
71
|
+
}
|
72
|
+
|
63
73
|
.plan-picker-view-toggle {
|
64
|
-
@apply block;
|
74
|
+
@apply block absolute right-0 top-0 mx-0;
|
65
75
|
}
|
66
76
|
}
|
67
77
|
|
@@ -1,15 +1,17 @@
|
|
1
|
-
<%= render component_tag(x: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}) do %>
|
1
|
+
<%= render component_tag(x: slider? ? {
|
2
|
+
data: "appPlanPicker",
|
3
|
+
":class": "{'slider-active': shouldPaginate}",
|
4
|
+
"options": "options",
|
5
|
+
"@resize.window": "calculateOffset"
|
6
|
+
} : {}) do %>
|
7
7
|
<div class="plan-picker-container">
|
8
8
|
<div class="plan-picker-controls">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
<% if currency_selector? %>
|
10
|
+
<div class="plan-picker-currency" data-role="currency-selector">
|
11
|
+
<%= currency_selector %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
14
|
+
<div class="plan-picker-interval" data-role="interval-selector">
|
13
15
|
<%= interval_selector %>
|
14
16
|
</div>
|
15
17
|
<% if view_toggle? %>
|
@@ -19,7 +21,7 @@
|
|
19
21
|
<% end %>
|
20
22
|
</div>
|
21
23
|
<%= space 4 %>
|
22
|
-
<div x-ref="slider" class="plan-picker-slider" x-cloak
|
24
|
+
<div x-ref="slider" class="plan-picker-slider" <%= "x-cloak" if slider? %>>
|
23
25
|
<div class="plan-picker-slider-container">
|
24
26
|
<div class="plan-picker-plans" x-ref="sliderItems">
|
25
27
|
<% plans.each do |plan| %>
|
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.12.
|
4
|
+
version: 0.12.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-12-
|
11
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|