playbook_ui_docs 14.4.0.pre.rc.15 → 14.4.0.pre.rc.16
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 +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e3f91e117875db899b6462992d51c4dd25253aa31334f20c103916a2f613bd7
|
4
|
+
data.tar.gz: 8c1d353d202668c7e6bee8a768ee3ab12b97d2d649b845cd8dfea69c773d057c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e439008d17a257bd9d934722ad010d648ec43547e1fcdb3c3e65977f334bc31b0b314b6f4604eb1c54b5fa2ab6ae019578b184f1f2398760145fe41574422bdb
|
7
|
+
data.tar.gz: 39ab8b54014ad6979cbbf81bf6919b099eb0fae7b1d37b0fe9ef2538daa9a5c07c6684eb3c49a0ba34b90bff354fbb54f65102ba1f11cb5bc97d6993431b2f71
|
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
|