playbook_ui 5.0.1.pre.beta → 5.0.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/pb_kits/playbook/pb_filter/templates/_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_popover/_popover.html.erb +2 -2
- data/app/pb_kits/playbook/pb_popover/_popover.scss +21 -19
- data/app/pb_kits/playbook/pb_popover/index.js +0 -5
- data/lib/playbook/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 828a4ed5ca696b17585b010d26c4d08b387c87e1b55242c172bddacd8778e89f
|
|
4
|
+
data.tar.gz: d41c487e5a893ee2c18d249bf7e88fa7136be41835d32cbcbd11b0f4c9dcf1ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bb1e389e97f105a549fc41fc130609d3f81921ad4640d5cf6a80b36629e711ef6f1159f299a209df18ecda230609808bf36671d8a740f9d159dfbb3b5b16858
|
|
7
|
+
data.tar.gz: 9bbc425756317af57f7b4895241c0477e2dd75832361709b3f64165ee31e683614f3cd33dab2af22aa566aed5669f2534dea2a0fba89f189f24c9db58e23ee3e
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<% end %>
|
|
8
8
|
|
|
9
9
|
<% if object.template != "sort_only"%>
|
|
10
|
-
<%= pb_rails("popover", props: {close_on_click: "outside", trigger_element_id: "filter#{object.id}", tooltip_id: "filter-form#{object.id}", position: 'bottom'}) do %>
|
|
10
|
+
<%= pb_rails("popover", props: {close_on_click: "outside", trigger_element_id: "filter#{object.id}", tooltip_id: "filter-form#{object.id}", position: 'bottom', padding: 'none'}) do %>
|
|
11
11
|
<%= capture(&object.children) %>
|
|
12
12
|
<% end %>
|
|
13
13
|
<%end%>
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
id: object.id,
|
|
3
3
|
data: object.data,
|
|
4
4
|
class: object.classname) do %>
|
|
5
|
-
<div class="
|
|
6
|
-
<div class="
|
|
5
|
+
<div class="popover_tooltip" id="<%= object.tooltip_id %>" role="tooltip" style="<%= object.z_index_helper %>">
|
|
6
|
+
<div class="popover_body <%= object.popover_spacing_helper %>" style="<%= object.width_height_helper %>">
|
|
7
7
|
<%= capture(&object.children) %>
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
@@ -21,29 +21,31 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
animation-timing-function: linear;
|
|
29
|
-
animation-fill-mode: forwards;
|
|
30
|
-
visibility: hidden;
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
&.show {
|
|
33
|
-
animation-name: fadeIn;
|
|
24
|
+
[class^="pb_popover_kit"] {
|
|
25
|
+
.popover_tooltip {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
animation-name: fadeOut;
|
|
34
28
|
animation-duration: 150ms;
|
|
35
29
|
animation-timing-function: linear;
|
|
36
30
|
animation-fill-mode: forwards;
|
|
37
|
-
visibility:
|
|
38
|
-
pointer-events:
|
|
39
|
-
|
|
31
|
+
visibility: hidden;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
&.show {
|
|
34
|
+
animation-name: fadeIn;
|
|
35
|
+
animation-duration: 150ms;
|
|
36
|
+
animation-timing-function: linear;
|
|
37
|
+
animation-fill-mode: forwards;
|
|
38
|
+
visibility: visible;
|
|
39
|
+
pointer-events: initial;
|
|
40
|
+
z-index: $z_9;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.popover_body {
|
|
44
|
+
@include pb_card;
|
|
45
|
+
border: 0;
|
|
46
|
+
box-shadow: $shadow_deeper;
|
|
47
|
+
overflow: auto;
|
|
40
48
|
}
|
|
41
|
-
}
|
|
42
|
-
.pb_popover_body {
|
|
43
|
-
@include pb_card;
|
|
44
|
-
border: 0;
|
|
45
|
-
box-shadow: $shadow_deeper;
|
|
46
|
-
overflow: auto;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
|
|
@@ -8,12 +8,7 @@ export default class PbPopover extends PbEnhancedElement {
|
|
|
8
8
|
return '[data-pb-popover-kit]'
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
moveTooltip() {
|
|
12
|
-
document.querySelector('body').appendChild(this.tooltip)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
11
|
connect() {
|
|
16
|
-
this.moveTooltip()
|
|
17
12
|
this.popper = createPopper(this.triggerElement, this.tooltip, {
|
|
18
13
|
placement: this.position,
|
|
19
14
|
strategy: 'fixed',
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: playbook_ui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.1
|
|
4
|
+
version: 5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Power UX
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-06-
|
|
12
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionpack
|
|
@@ -1799,9 +1799,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
1799
1799
|
version: '0'
|
|
1800
1800
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1801
1801
|
requirements:
|
|
1802
|
-
- - "
|
|
1802
|
+
- - ">="
|
|
1803
1803
|
- !ruby/object:Gem::Version
|
|
1804
|
-
version:
|
|
1804
|
+
version: '0'
|
|
1805
1805
|
requirements: []
|
|
1806
1806
|
rubyforge_project:
|
|
1807
1807
|
rubygems_version: 2.7.3
|