playbook_ui 12.16.0.pre.alpha.PLAY693tooltipwrongbg532 → 12.16.0.pre.alpha.PLAY693tooltipwrongbg547

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: f44b91f87a4f93de80836093a1dd1eb7ffe5d77e243727e8d82391ffbb4e5abe
4
- data.tar.gz: 42e9db818fa3e7f685be9f15f137828a6648e1a1f50ca1ce4fb6d23aa453c095
3
+ metadata.gz: 44808cd1bfcc7131cb5cb7f0b8a1eb64ffd5ae44715d7cc698aa1c73a159780a
4
+ data.tar.gz: 898be497266eb493374069b808b3e44d7a18d61d56040c60b7c29ddc9d35c3cc
5
5
  SHA512:
6
- metadata.gz: f733a9628bb2c9b5a0d56ec89c1e1abd84255ef26489e4ed82fb471b78658e1b3f364402f509981dbd6b96bd538733c14193e12f366b0c70db2c2d518e757cf5
7
- data.tar.gz: 0d41813f51a41bff2c43f60f18db4b1fcae18e243614783ea680ae817bb9470135cf87c334856a4c97433921549415fa08461dfa7a2ed2008d1b2b1e846859a1
6
+ metadata.gz: 0ec52fa87949fa564d5c0efaea86a6dffef5066d6baa02363077623bbbb5cdb515e4b47de11c9413e039218d3f59694053c5c3d97d681b0b987c380ca1fbcc3c
7
+ data.tar.gz: 89baa377023b2e236bc99a7e4ddbf2c1967aee2b20b93d2f70ae0747d02d508efc52c4a1dde95ad6bef34418dded2a69552f802da0fc733dc8c24cb6062152c1
@@ -41,7 +41,7 @@ const CardBackground = (props) => {
41
41
  marginBottom="sm"
42
42
  {...props}
43
43
  >
44
- <Body text="Light" />
44
+ <Body text="Light"/>
45
45
  </Card>
46
46
 
47
47
 
@@ -41,8 +41,12 @@ module Playbook
41
41
  private
42
42
 
43
43
  def sanitize_code(stringified_code)
44
- stringified_code = stringified_code.gsub(%r{'../.*}, "'playbook-ui'")
44
+ stringified_code = stringified_code.gsub('"../.."', '"playbook-ui"')
45
+ .gsub('"../../"', '"playbook-ui"')
46
+ .gsub("'../../'", "'playbook-ui'")
47
+ .gsub("'../..'", "'playbook-ui'")
45
48
  .gsub(%r{"../.*}, '"playbook-ui"')
49
+ .gsub(%r{from '../.*}, "from 'playbook-ui'")
46
50
  stringified_code = dark ? stringified_code.gsub("{...props}", "dark") : stringified_code.gsub(/\s*{...props}\s*\n/, "\n")
47
51
  if stringified_code.include?("props: { ")
48
52
  stringified_code = stringified_code.gsub("props: {", "props: {dark: true,") if type == "rails" && dark
@@ -1,4 +1,4 @@
1
- <%= pb_rails("flex", props: { horizontal: "center", orientation: "column" }) do %>
1
+ <%= pb_rails("flex", props: { gap: "md", justify: "center", wrap: true }) do %>
2
2
  <%= pb_rails("flex/flex_item") do %>
3
3
  <span id='regular-tooltip-1'>Hover here (Top)</span>
4
4
 
@@ -11,7 +11,7 @@
11
11
  <% end %>
12
12
  <% end %>
13
13
 
14
- <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
14
+ <%= pb_rails("flex/flex_item") do %>
15
15
  <span id='regular-tooltip-2'>Hover here (Bottom)</span>
16
16
  <%= pb_rails("tooltip", props: {
17
17
  trigger_element_selector: "#regular-tooltip-2",
@@ -22,7 +22,7 @@
22
22
  <% end %>
23
23
  <% end %>
24
24
 
25
- <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
25
+ <%= pb_rails("flex/flex_item") do %>
26
26
  <span id='regular-tooltip-3'>Hover here (Right)</span>
27
27
  <%= pb_rails("tooltip", props: {
28
28
  trigger_element_selector: "#regular-tooltip-3",
@@ -33,7 +33,7 @@
33
33
  <% end %>
34
34
  <% end %>
35
35
 
36
- <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
36
+ <%= pb_rails("flex/flex_item") do %>
37
37
  <span id='regular-tooltip-4'>Hover here (Left)</span>
38
38
  <%= pb_rails("tooltip", props: {
39
39
  trigger_element_selector: "#regular-tooltip-4",
@@ -3,8 +3,7 @@
3
3
  <%= pb_rails("tooltip", props: {
4
4
  trigger_element_id: "result-1-sample-email-link",
5
5
  tooltip_id: "sample-email-tooltip-result-1",
6
- position: "top",
7
- dark: true
6
+ position: "top"
8
7
  }) do %>
9
8
  Send Email
10
9
  <% end %>
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.16.0"
5
- VERSION = "12.16.0.pre.alpha.PLAY693tooltipwrongbg532"
5
+ VERSION = "12.16.0.pre.alpha.PLAY693tooltipwrongbg547"
6
6
  end
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: 12.16.0.pre.alpha.PLAY693tooltipwrongbg532
4
+ version: 12.16.0.pre.alpha.PLAY693tooltipwrongbg547
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: 2023-04-25 00:00:00.000000000 Z
12
+ date: 2023-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack