playbook_ui_docs 14.11.0.pre.rc.0 → 14.11.0.pre.rc.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: 1920ef5a17898ebc98f7adccb75cb00e37db1e4de79738335c8780b3a6792d6d
4
- data.tar.gz: cbf58f6b7a5c44c75011239655ea73926912c39f83c07244fb771b313b84a8b3
3
+ metadata.gz: 4549e26e3f0193c05e05be660b6101baf113228777ec5ef2c8bc5d8f06ae3994
4
+ data.tar.gz: 812f4cec761d3fdf8b7dbc22a9bf233d31ea491ce5fd4827d658916799ac0305
5
5
  SHA512:
6
- metadata.gz: a4b3407f71b4cc8b71c40bd3a0f9577cdae2f1974c65dea80af3b17d63f8f8b250457ff879912498dafc2c1cb9f60ceeb035111c77df0ebd83142ef68103729f
7
- data.tar.gz: 19a2c932e88b42b035e3d73302a4500881307266c25378aa87d7d9e5fe84877fa4996cd132bf772a5b12455108769f04193b17acdf518ea1628ebdd0efdb7a00
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.