playbook_ui_docs 14.10.0.pre.rc.24 → 14.11.0.pre.rc.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: 8460433f1b7e382fb212b78ca5c41d7b57f3eadcfd75749c869a262e6f025039
4
- data.tar.gz: 2c8b867f088ae950db590dd54511ad303fa5494bdf38feb927d0aee53826dbc0
3
+ metadata.gz: 4549e26e3f0193c05e05be660b6101baf113228777ec5ef2c8bc5d8f06ae3994
4
+ data.tar.gz: 812f4cec761d3fdf8b7dbc22a9bf233d31ea491ce5fd4827d658916799ac0305
5
5
  SHA512:
6
- metadata.gz: cfef3ed9a27511015768fc9556e04fc4b424a60d9b5541f83cccdffbd0b28c2e19fc2653b376401a9b294c992622ccdbc126faaa7305f6444c98d3529df8a6d4
7
- data.tar.gz: cb37596ee267fa9475c02b6b63e54cf70b581996261a39d732fbc877f87d3a2f3b29f603f6a66e484895ffa125acff5157efc28fdbcc4b5ecbabd83c063c6d08
6
+ metadata.gz: 5fc7b34a5e8ce87f3a3227f48980c829054ff8a6f51edbcc99829543d392f1ecfd41f635023a1570a8214aa9a1b59b1001aac3923282d01fcebd06c1d9e14f77
7
+ data.tar.gz: 3bdc9ad2e69296037420ab458dddfb295dba3f8dbc9924e1fc8b9233c0168b9aa884811ba21afe624485a21283a4087c92464ee4d358c78b4303e6a00a443882
@@ -10,3 +10,11 @@
10
10
  link: "https://google.com",
11
11
  new_window: true
12
12
  }) %>
13
+ <br/>
14
+ <%= pb_rails("circle_icon_button", props: {
15
+ icon: "info",
16
+ variant: "secondary",
17
+ aria: { label: "Link to Playbook in new window" },
18
+ link: "https://playbook.powerapp.cloud/",
19
+ target: "child"
20
+ }) %>
@@ -21,6 +21,15 @@ const CircleIconButtonLink = (props) => (
21
21
  {...props}
22
22
  />
23
23
 
24
+ <br/>
25
+
26
+ <CircleIconButton
27
+ aria={{ label: "Link to Playbook in new window" }}
28
+ icon="info"
29
+ link="https://playbook.powerapp.cloud/"
30
+ target="child"
31
+ variant="secondary"
32
+ />
24
33
  </div>
25
34
  )
26
35
 
@@ -0,0 +1 @@
1
+ The `link` prop accepts a string that is used as an href value and causes the button to act as a link. The default behavior of a link is to open in the current window. You can optionally alter the link behavior by adding the `newWindow` prop (boolean), which will open the link in a new window, or by calling the `target` prop, which accepts `_self`, `_blank`, `_parent`, `_top`, `child`, or any string, allowing you to specify any link target.