playbook_ui_docs 14.5.0.pre.rc.15 → 14.6.0.pre.alpha.PLAY1485selectablecardoverflowoutlinebug4222
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_advanced_table/docs/_advanced_table_custom_cell.jsx +72 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.md +5 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.html.erb +30 -7
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.md +0 -2
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.jsx +45 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_clear_selection.md +1 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.html.erb +9 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_separators_hidden.jsx +33 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.html.erb +10 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.jsx +34 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +1 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/index.js +3 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.html.erb +41 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props.jsx +71 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_rails.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/_filter_popover_props_react.md +1 -0
- data/app/pb_kits/playbook/pb_filter/docs/example.yml +3 -0
- data/app/pb_kits/playbook/pb_filter/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +39 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.md +1 -0
- data/app/pb_kits/playbook/pb_form/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.html.erb +19 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.jsx +27 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text.md +1 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +93 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +105 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +106 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.html.erb +336 -0
- data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_size.jsx +97 -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/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md +1 -1
- data/app/pb_kits/playbook/pb_popover/docs/_popover_default.html.erb +1 -1
- data/dist/playbook-doc.js +1 -1
- metadata +28 -2
@@ -0,0 +1,97 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import Flex from '../../pb_flex/_flex'
|
3
|
+
import Title from '../../pb_title/_title'
|
4
|
+
import MultipleUsersStacked from '../_multiple_users_stacked'
|
5
|
+
|
6
|
+
const MultipleUsersStackedSize = (props) => {
|
7
|
+
const sizes = [
|
8
|
+
{ label: 'S', size: 'sm' },
|
9
|
+
{ label: 'M', size: 'md' },
|
10
|
+
{ label: 'L', size: 'lg' },
|
11
|
+
{ label: 'XL', size: 'xl' },
|
12
|
+
]
|
13
|
+
|
14
|
+
const usersList = [
|
15
|
+
[
|
16
|
+
{
|
17
|
+
name: 'Patrick Welch',
|
18
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
19
|
+
},
|
20
|
+
],
|
21
|
+
[
|
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
|
+
[
|
32
|
+
{
|
33
|
+
name: 'Patrick Welch',
|
34
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
35
|
+
},
|
36
|
+
{
|
37
|
+
name: 'Lucille Sanchez',
|
38
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
|
39
|
+
},
|
40
|
+
{
|
41
|
+
name: 'Beverly Reyes',
|
42
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/74.jpg',
|
43
|
+
},
|
44
|
+
],
|
45
|
+
[
|
46
|
+
{
|
47
|
+
name: 'Patrick Welch',
|
48
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/9.jpg',
|
49
|
+
},
|
50
|
+
{
|
51
|
+
name: 'Lucille Sanchez',
|
52
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/6.jpg',
|
53
|
+
},
|
54
|
+
{
|
55
|
+
name: 'Beverly Reyes',
|
56
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/74.jpg',
|
57
|
+
},
|
58
|
+
{
|
59
|
+
name: 'Keith Craig',
|
60
|
+
imageUrl: 'https://randomuser.me/api/portraits/men/40.jpg',
|
61
|
+
},
|
62
|
+
{
|
63
|
+
name: 'Alicia Cooper',
|
64
|
+
imageUrl: 'https://randomuser.me/api/portraits/women/46.jpg',
|
65
|
+
},
|
66
|
+
],
|
67
|
+
]
|
68
|
+
|
69
|
+
return (
|
70
|
+
<>
|
71
|
+
{sizes.map(({ label, size }) => (
|
72
|
+
<Flex key={size}
|
73
|
+
orientation="column"
|
74
|
+
>
|
75
|
+
<Title paddingTop='sm' >{label}</Title>
|
76
|
+
<Flex>
|
77
|
+
{usersList.map((users, index) => (
|
78
|
+
<Flex key={index}
|
79
|
+
paddingRight='sm'
|
80
|
+
>
|
81
|
+
<MultipleUsersStacked
|
82
|
+
size={size}
|
83
|
+
users={users}
|
84
|
+
variant="bubble"
|
85
|
+
{...props}
|
86
|
+
/>
|
87
|
+
</Flex>
|
88
|
+
))}
|
89
|
+
</Flex>
|
90
|
+
<br />
|
91
|
+
</Flex>
|
92
|
+
))}
|
93
|
+
</>
|
94
|
+
)
|
95
|
+
}
|
96
|
+
|
97
|
+
export default MultipleUsersStackedSize
|
@@ -3,11 +3,13 @@ examples:
|
|
3
3
|
rails:
|
4
4
|
- multiple_users_stacked_default: Default
|
5
5
|
- multiple_users_stacked_bubble: Bubble
|
6
|
+
- multiple_users_stacked_size: Sizes
|
6
7
|
|
7
8
|
|
8
9
|
react:
|
9
10
|
- multiple_users_stacked_default: Default
|
10
11
|
- multiple_users_stacked_bubble: Bubble
|
12
|
+
- multiple_users_stacked_size: Sizes
|
11
13
|
|
12
14
|
swift:
|
13
15
|
- multiple_users_stacked_default_swift: Default
|
@@ -1,2 +1,3 @@
|
|
1
1
|
export { default as MultipleUsersStackedDefault } from './_multiple_users_stacked_default.jsx'
|
2
2
|
export { default as MultipleUsersStackedBubble } from './_multiple_users_stacked_bubble.jsx'
|
3
|
+
export { default as MultipleUsersStackedSize } from './_multiple_users_stacked_size.jsx'
|
data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Preferred countries will display in the order they are listed with the first country preselected, and all non-preferred countries listed alphabetically below
|
1
|
+
Preferred countries will display in the order they are listed with the first country preselected, and all non-preferred countries listed alphabetically below in the remaining dropdown.
|