playbook_ui_docs 14.4.0.pre.rc.15 → 14.5.0.pre.rc.0
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_multiple_users_stacked/docs/_multiple_users_stacked_bubble.html.erb +73 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.jsx +86 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/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: c494762e5d57a9f11ecdd1a576efbdddf44a07023e39ad62ceac4c8ae2776887
|
4
|
+
data.tar.gz: efe1b7d30896b84c2eab5a0cb083bb45b071c047fd726c134e53013255ae4e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 032603b8d269598492097c6807de436a3aef3e26bc0a05329ee03841c82f8e4873c4586f93f3b50ede868677d15434180848e65c938cd85d3089235790920dfa
|
7
|
+
data.tar.gz: 682d4e10e077bc77eaf3ea21c3373bebabd28d71f62ee3965d8e1b6aae77a9895c7ef6e1bf2f0cfd76520945e5877bf6dd307384fccf03edafd0738c5fdbb8d5
|
data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_bubble.html.erb
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
<%= pb_rails("multiple_users_stacked", props: {
|
2
|
+
variant: "bubble",
|
3
|
+
users: [
|
4
|
+
{
|
5
|
+
name: "Patrick Welch",
|
6
|
+
image_url: "https://randomuser.me/api/portraits/men/9.jpg",
|
7
|
+
}
|
8
|
+
]
|
9
|
+
}) %>
|
10
|
+
|
11
|
+
<br/><br/>
|
12
|
+
|
13
|
+
<%= pb_rails("multiple_users_stacked", props: {
|
14
|
+
variant: "bubble",
|
15
|
+
users: [
|
16
|
+
{
|
17
|
+
name: "Patrick Welch",
|
18
|
+
image_url: "https://randomuser.me/api/portraits/men/9.jpg",
|
19
|
+
},
|
20
|
+
{
|
21
|
+
name: "Lucille Sanchez",
|
22
|
+
image_url: "https://randomuser.me/api/portraits/women/6.jpg",
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}) %>
|
26
|
+
|
27
|
+
<br/><br/>
|
28
|
+
|
29
|
+
<%= pb_rails("multiple_users_stacked", props: {
|
30
|
+
variant: "bubble",
|
31
|
+
users: [
|
32
|
+
{
|
33
|
+
name: "Patrick Welch",
|
34
|
+
image_url: "https://randomuser.me/api/portraits/men/9.jpg",
|
35
|
+
},
|
36
|
+
{
|
37
|
+
name: "Lucille Sanchez",
|
38
|
+
image_url: "https://randomuser.me/api/portraits/women/6.jpg",
|
39
|
+
},
|
40
|
+
{
|
41
|
+
name: "Beverly Reyes",
|
42
|
+
image_url: "https://randomuser.me/api/portraits/women/74.jpg",
|
43
|
+
},
|
44
|
+
]
|
45
|
+
}) %>
|
46
|
+
|
47
|
+
<br/><br/>
|
48
|
+
|
49
|
+
<%= pb_rails("multiple_users_stacked", props: {
|
50
|
+
variant: "bubble",
|
51
|
+
users: [
|
52
|
+
{
|
53
|
+
name: "Patrick Welch",
|
54
|
+
image_url: "https://randomuser.me/api/portraits/men/9.jpg",
|
55
|
+
},
|
56
|
+
{
|
57
|
+
name: "Lucille Sanchez",
|
58
|
+
image_url: "https://randomuser.me/api/portraits/women/6.jpg",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
name: "Beverly Reyes",
|
62
|
+
image_url: "https://randomuser.me/api/portraits/women/74.jpg",
|
63
|
+
},
|
64
|
+
{
|
65
|
+
name: "Keith Craig",
|
66
|
+
image_url: "https://randomuser.me/api/portraits/men/40.jpg",
|
67
|
+
},
|
68
|
+
{
|
69
|
+
name: "Alicia Cooper",
|
70
|
+
image_url: "https://randomuser.me/api/portraits/women/46.jpg",
|
71
|
+
}
|
72
|
+
]
|
73
|
+
}) %>
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
|
3
|
+
import MultipleUsersStacked from '../_multiple_users_stacked'
|
4
|
+
|
5
|
+
const MultipleUsersStackedBubble = (props) => {
|
6
|
+
return (
|
7
|
+
<div>
|
8
|
+
<MultipleUsersStacked
|
9
|
+
users={[
|
10
|
+
{
|
11
|
+
name: 'Patrick Welch',
|
12
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
13
|
+
},
|
14
|
+
]}
|
15
|
+
variant="bubble"
|
16
|
+
{...props}
|
17
|
+
/>
|
18
|
+
<br />
|
19
|
+
<br />
|
20
|
+
<MultipleUsersStacked
|
21
|
+
users={[
|
22
|
+
{
|
23
|
+
name: 'Patrick Welch',
|
24
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
25
|
+
},
|
26
|
+
{
|
27
|
+
name: 'Lucille Sanchez',
|
28
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
|
29
|
+
},
|
30
|
+
]}
|
31
|
+
variant="bubble"
|
32
|
+
{...props}
|
33
|
+
/>
|
34
|
+
<br />
|
35
|
+
<br />
|
36
|
+
<MultipleUsersStacked
|
37
|
+
users={[
|
38
|
+
{
|
39
|
+
name: 'Patrick Welch',
|
40
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
41
|
+
},
|
42
|
+
{
|
43
|
+
name: 'Lucille Sanchez',
|
44
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
|
45
|
+
},
|
46
|
+
{
|
47
|
+
name: 'Beverly Reyes',
|
48
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/74.jpg',
|
49
|
+
},
|
50
|
+
]}
|
51
|
+
variant="bubble"
|
52
|
+
{...props}
|
53
|
+
/>
|
54
|
+
<br />
|
55
|
+
<br />
|
56
|
+
<MultipleUsersStacked
|
57
|
+
users={[
|
58
|
+
{
|
59
|
+
name: 'Patrick Welch',
|
60
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: 'Lucille Sanchez',
|
64
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
|
65
|
+
},
|
66
|
+
{
|
67
|
+
name: 'Beverly Reyes',
|
68
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/74.jpg',
|
69
|
+
},
|
70
|
+
{
|
71
|
+
name: 'Keith Craig',
|
72
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/40.jpg',
|
73
|
+
},
|
74
|
+
{
|
75
|
+
name: 'Alicia Cooper',
|
76
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/46.jpg',
|
77
|
+
},
|
78
|
+
]}
|
79
|
+
variant="bubble"
|
80
|
+
{...props}
|
81
|
+
/>
|
82
|
+
</div>
|
83
|
+
)
|
84
|
+
}
|
85
|
+
|
86
|
+
export default MultipleUsersStackedBubble
|
@@ -2,10 +2,12 @@ examples:
|
|
2
2
|
|
3
3
|
rails:
|
4
4
|
- multiple_users_stacked_default: Default
|
5
|
+
- multiple_users_stacked_bubble: Bubble
|
5
6
|
|
6
7
|
|
7
8
|
react:
|
8
9
|
- multiple_users_stacked_default: Default
|
10
|
+
- multiple_users_stacked_bubble: Bubble
|
9
11
|
|
10
12
|
swift:
|
11
13
|
- multiple_users_stacked_default_swift: Default
|