playbook_ui_docs 14.11.0.pre.rc.0 → 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 +4 -4
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.html.erb +8 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +9 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.md +1 -0
- data/dist/playbook-doc.js +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4549e26e3f0193c05e05be660b6101baf113228777ec5ef2c8bc5d8f06ae3994
|
4
|
+
data.tar.gz: 812f4cec761d3fdf8b7dbc22a9bf233d31ea491ce5fd4827d658916799ac0305
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|