playbook_ui_docs 14.2.0 → 14.2.1.pre.alpha.PBNTR431fixingduplicatingtextareaclassname3689
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 +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f399a52b66c530d39006173d52edff04398f2d0853cccdf76dc2f69e42ab2aa1
|
4
|
+
data.tar.gz: 70d2ca44ae07ee4bfc9223cddf0c471921b5dcd59119270da0e8dba636775312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c2d04d5021a5c52fd98e98f37c335552fc61135b0f9c6bd6a14ee379515f5f406da9cc4bcb25110072adee85b4560974db9cc407c52484dfcde5644fc17d7c
|
7
|
+
data.tar.gz: be72bc0f08025ddd0dd05657e8e8f112e202705de9e3be412004dc1c80c12bc137431387a0f21936bea120237dcb052da2ca21568ba4dcd0a5f06b0a519c33a3
|
@@ -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'
|