playbook_ui_docs 14.3.0.pre.rc.0 → 14.3.0.pre.rc.2
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_loading.html.erb +29 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_loading.jsx +43 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +1 -0
- data/dist/playbook-doc.js +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad49f3a18809e074eb9ed1d81924e72b5bbd3165802a61db33e126cfe6fef140
|
4
|
+
data.tar.gz: b1efef6140395ce5004a46fb2b8024e1aa97f4ab02e90e73e2e778c9deb9dc2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071b3fb4c86982de51a290e30d9aec6162d4c2a70b290ab058517f865352f3e272085fa43673a6da6b5dcba38cc0c530f33b5a497d290251bd6e37b75a60fce8
|
7
|
+
data.tar.gz: 95d43d48fdcb9f8d82c71a12d2b6a651f3b8c933a6fad1f254d3600d3a56cafcdac8ca01bde35e6aba8590af4eeef52996655e4125277e01f5b3fb162c236b55
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<%= pb_rails("circle_icon_button", props: {
|
2
|
+
variant: "primary",
|
3
|
+
icon: "plus",
|
4
|
+
loading: true
|
5
|
+
}) %>
|
6
|
+
|
7
|
+
<br/>
|
8
|
+
|
9
|
+
<%= pb_rails("circle_icon_button", props: {
|
10
|
+
variant: "secondary",
|
11
|
+
icon: "pen",
|
12
|
+
loading: true
|
13
|
+
}) %>
|
14
|
+
|
15
|
+
<br/>
|
16
|
+
|
17
|
+
<%= pb_rails("circle_icon_button", props: {
|
18
|
+
disabled: true,
|
19
|
+
icon: "times",
|
20
|
+
loading: true
|
21
|
+
}) %>
|
22
|
+
|
23
|
+
<br/>
|
24
|
+
|
25
|
+
<%= pb_rails("circle_icon_button", props: {
|
26
|
+
variant: "link",
|
27
|
+
icon: "user",
|
28
|
+
loading: true
|
29
|
+
}) %>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
|
3
|
+
import CircleIconButton from '../_circle_icon_button'
|
4
|
+
|
5
|
+
const CircleIconButtonLoading = (props) => (
|
6
|
+
<div>
|
7
|
+
<CircleIconButton
|
8
|
+
icon="plus"
|
9
|
+
loading
|
10
|
+
variant="primary"
|
11
|
+
{...props}
|
12
|
+
/>
|
13
|
+
|
14
|
+
<br />
|
15
|
+
|
16
|
+
<CircleIconButton
|
17
|
+
icon="pen"
|
18
|
+
loading
|
19
|
+
variant="secondary"
|
20
|
+
{...props}
|
21
|
+
/>
|
22
|
+
|
23
|
+
<br />
|
24
|
+
|
25
|
+
<CircleIconButton
|
26
|
+
disabled
|
27
|
+
icon="times"
|
28
|
+
loading
|
29
|
+
{...props}
|
30
|
+
/>
|
31
|
+
|
32
|
+
<br />
|
33
|
+
|
34
|
+
<CircleIconButton
|
35
|
+
icon="user"
|
36
|
+
loading
|
37
|
+
variant="link"
|
38
|
+
{...props}
|
39
|
+
/>
|
40
|
+
</div>
|
41
|
+
)
|
42
|
+
|
43
|
+
export default CircleIconButtonLoading
|
@@ -3,8 +3,10 @@ examples:
|
|
3
3
|
rails:
|
4
4
|
- circle_icon_button_default: Default
|
5
5
|
- circle_icon_button_link: Link
|
6
|
+
- circle_icon_button_loading: Loading
|
6
7
|
|
7
8
|
react:
|
8
9
|
- circle_icon_button_default: Default
|
9
10
|
- circle_icon_button_click: Click Handler
|
10
11
|
- circle_icon_button_link: Link
|
12
|
+
- circle_icon_button_loading: Loading
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export { default as CircleIconButtonDefault } from './_circle_icon_button_default.jsx'
|
2
2
|
export { default as CircleIconButtonClick } from './_circle_icon_button_click.jsx'
|
3
3
|
export { default as CircleIconButtonLink } from './_circle_icon_button_link.jsx'
|
4
|
+
export { default as CircleIconButtonLoading } from './_circle_icon_button_loading.jsx'
|