playbook_ui 7.0.0.pre.alpha9 → 7.0.0.pre.alpha10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/app/pb_kits/playbook/_playbook.scss +1 -0
- data/app/pb_kits/playbook/data/menu.yml +1 -0
- data/app/pb_kits/playbook/index.js +3 -0
- data/app/pb_kits/playbook/pb_button/_button.jsx +1 -0
- data/app/pb_kits/playbook/pb_button/_button_mixins.scss +1 -1
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +3 -7
- data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.jsx +3 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +2 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +2 -0
- data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.html.erb +2 -1
- data/app/pb_kits/playbook/pb_date/_date.html.erb +8 -32
- data/app/pb_kits/playbook/pb_date/_date.jsx +67 -76
- data/app/pb_kits/playbook/pb_date/_date.scss +0 -25
- data/app/pb_kits/playbook/pb_date/date.rb +10 -18
- data/app/pb_kits/playbook/pb_date/docs/_date_default.html.erb +17 -2
- data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +28 -0
- data/app/pb_kits/playbook/pb_date/docs/example.yml +2 -5
- data/app/pb_kits/playbook/pb_date/docs/index.js +1 -3
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.html.erb +39 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +149 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +33 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +85 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +165 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx +12 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb +24 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +30 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb +43 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx +48 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb +19 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +25 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.html.erb +37 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx +37 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb +26 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +32 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md +3 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.html.erb +9 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx +17 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.html.erb +14 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx +22 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb +4 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +13 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb +7 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx +16 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md +1 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/_description.md +7 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +35 -0
- data/app/pb_kits/playbook/pb_date_picker/docs/index.js +14 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss +33 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_day_styles.scss +53 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss +785 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +108 -0
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss +44 -0
- data/app/pb_kits/playbook/pb_filter/_filter.scss +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +2 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_simple_form_validate.html.erb +2 -0
- data/app/pb_kits/playbook/pb_form/form_builder.rb +1 -0
- data/app/pb_kits/playbook/pb_form/form_builder/date_picker_field.rb +20 -0
- data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +2 -2
- data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +0 -1
- data/app/pb_kits/playbook/pb_table/table.rb +3 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.html.erb +1 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +21 -17
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +17 -8
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +2 -0
- data/app/pb_kits/playbook/pb_time/_time.html.erb +23 -17
- data/app/pb_kits/playbook/pb_time/_time.jsx +20 -11
- data/app/pb_kits/playbook/pb_time/_time.scss +16 -8
- data/app/pb_kits/playbook/pb_time/docs/_time_align.html.erb +18 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +3 -3
- data/app/pb_kits/playbook/pb_time/docs/_time_dark.html.erb +70 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_dark.jsx +1 -6
- data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +47 -3
- data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +33 -4
- data/app/pb_kits/playbook/pb_time/docs/_time_sizes.html.erb +11 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +19 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +2 -1
- data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +0 -7
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +42 -0
- data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +12 -14
- data/app/pb_kits/playbook/pb_time/docs/example.yml +7 -2
- data/app/pb_kits/playbook/pb_time/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_time/time.rb +14 -2
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +60 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +20 -3
- data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +30 -0
- data/app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx +12 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +51 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +34 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx +13 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +22 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +29 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +84 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +45 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +101 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +27 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +8 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +4 -0
- data/app/pb_kits/playbook/tokens/_typography.scss +4 -4
- data/app/pb_kits/playbook/vendor.js +6 -0
- data/lib/playbook/version.rb +1 -1
- metadata +71 -8
- data/app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb +0 -24
- data/app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx +0 -32
- data/app/pb_kits/playbook/pb_date/docs/_date_default_react.jsx +0 -20
- data/app/pb_kits/playbook/pb_date/docs/_date_default_react.md +0 -3
- data/app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb +0 -27
- data/app/pb_kits/playbook/pb_date/docs/_date_variants.jsx +0 -39
@@ -0,0 +1,84 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
|
5
|
+
import {
|
6
|
+
Caption,
|
7
|
+
Typeahead,
|
8
|
+
User,
|
9
|
+
} from '../..'
|
10
|
+
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
* @const filterResults
|
14
|
+
* @ignore
|
15
|
+
* @returns {[Object]} - a custom mapping of objects, minimally containing
|
16
|
+
* `value` and `label` among other possible fields
|
17
|
+
* @summary - for doc example purposes only
|
18
|
+
*/
|
19
|
+
|
20
|
+
const filterResults = (results) =>
|
21
|
+
results.items.map((result) => {
|
22
|
+
return {
|
23
|
+
label: result.login,
|
24
|
+
value: result.id,
|
25
|
+
}
|
26
|
+
})
|
27
|
+
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* @const promiseOptions
|
31
|
+
* @ignore
|
32
|
+
* @returns {Promise} - fetch API data results from Typeahead input text
|
33
|
+
* @see - https://react-select.com/home#async
|
34
|
+
* @summary - for doc example purposes only
|
35
|
+
*/
|
36
|
+
|
37
|
+
const promiseOptions = (inputValue) =>
|
38
|
+
new Promise((resolve) => {
|
39
|
+
if (inputValue) {
|
40
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
41
|
+
.then((response) => response.json())
|
42
|
+
.then((results) => resolve(filterResults(results)))
|
43
|
+
} else {
|
44
|
+
resolve([])
|
45
|
+
}
|
46
|
+
})
|
47
|
+
|
48
|
+
const TypeaheadWithPillsAsync = () => {
|
49
|
+
const [users, setUsers] = useState([])
|
50
|
+
const handleOnChange = (value) => setUsers(value)
|
51
|
+
|
52
|
+
return (
|
53
|
+
<>
|
54
|
+
<If condition={users && users.length > 0}>
|
55
|
+
<Caption
|
56
|
+
marginBottom="xs"
|
57
|
+
text="State (Users)"
|
58
|
+
/>
|
59
|
+
<For
|
60
|
+
each="user"
|
61
|
+
of={users}
|
62
|
+
>
|
63
|
+
<User
|
64
|
+
align="left"
|
65
|
+
key={user.value}
|
66
|
+
marginBottom="md"
|
67
|
+
name={user.label}
|
68
|
+
orientation="horizontal"
|
69
|
+
/>
|
70
|
+
</For>
|
71
|
+
</If>
|
72
|
+
<Typeahead
|
73
|
+
async
|
74
|
+
isMulti
|
75
|
+
label="Github Users"
|
76
|
+
loadOptions={promiseOptions}
|
77
|
+
onChange={handleOnChange}
|
78
|
+
placeholder="type the name of a Github user"
|
79
|
+
/>
|
80
|
+
</>
|
81
|
+
)
|
82
|
+
}
|
83
|
+
|
84
|
+
export default TypeaheadWithPillsAsync
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React from 'react'
|
4
|
+
import { Body, Flex, FlexItem, Icon } from '../..'
|
5
|
+
|
6
|
+
const TypeaheadWithPillsAsyncSummary = () => {
|
7
|
+
return (
|
8
|
+
<>
|
9
|
+
<Flex
|
10
|
+
marginBottom="lg"
|
11
|
+
vertical="center"
|
12
|
+
>
|
13
|
+
<FlexItem>
|
14
|
+
<Body
|
15
|
+
color="light"
|
16
|
+
>
|
17
|
+
<Icon
|
18
|
+
icon="info-circle"
|
19
|
+
marginRight="xs"
|
20
|
+
/>
|
21
|
+
</Body>
|
22
|
+
</FlexItem>
|
23
|
+
<FlexItem>
|
24
|
+
<Body
|
25
|
+
color="light"
|
26
|
+
>
|
27
|
+
{'If the data field '}
|
28
|
+
<code>{'imageUrl'}</code>
|
29
|
+
{' is present, '}
|
30
|
+
<code>{'FormPill'}</code>
|
31
|
+
{' will receive that field as a prop and display the image. '}
|
32
|
+
<br />
|
33
|
+
{'Additionally, you can also leverage the callback prop: '}
|
34
|
+
<code>{'onMultiValueClick'}</code>
|
35
|
+
{' to perform custom work when a '}
|
36
|
+
<code>{'MultiValue'}</code>
|
37
|
+
{' item is clicked.'}
|
38
|
+
</Body>
|
39
|
+
</FlexItem>
|
40
|
+
</Flex>
|
41
|
+
</>
|
42
|
+
)
|
43
|
+
}
|
44
|
+
|
45
|
+
export default TypeaheadWithPillsAsyncSummary
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useState } from 'react'
|
4
|
+
|
5
|
+
import {
|
6
|
+
Caption,
|
7
|
+
Typeahead,
|
8
|
+
User,
|
9
|
+
} from '../..'
|
10
|
+
|
11
|
+
import TypeaheadWithPillsAsyncSummary from './_typeahead_with_pills_async_summary'
|
12
|
+
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @const filterResults
|
16
|
+
* @ignore
|
17
|
+
* @returns {[Object]} - a custom mapping of objects, minimally containing
|
18
|
+
* `value` and `label` among other possible fields
|
19
|
+
* @summary - for doc example purposes only
|
20
|
+
*/
|
21
|
+
|
22
|
+
const filterResults = (results) =>
|
23
|
+
results.items.map((result) => {
|
24
|
+
return {
|
25
|
+
imageUrl: result.avatar_url, //add the custom field
|
26
|
+
label: result.login,
|
27
|
+
value: result.id,
|
28
|
+
}
|
29
|
+
})
|
30
|
+
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @const promiseOptions
|
34
|
+
* @ignore
|
35
|
+
* @returns {Promise} - fetch API data results from Typeahead input text
|
36
|
+
* @see - https://react-select.com/home#async
|
37
|
+
* @summary - for doc example purposes only
|
38
|
+
*/
|
39
|
+
|
40
|
+
const promiseOptions = (inputValue) =>
|
41
|
+
new Promise((resolve) => {
|
42
|
+
if (inputValue) {
|
43
|
+
fetch(`https://api.github.com/search/users?q=${inputValue}`)
|
44
|
+
.then((response) => response.json())
|
45
|
+
.then((results) => resolve(filterResults(results)))
|
46
|
+
} else {
|
47
|
+
resolve([])
|
48
|
+
}
|
49
|
+
})
|
50
|
+
|
51
|
+
const TypeaheadWithPillsAsyncUsers = () => {
|
52
|
+
const [users, setUsers] = useState([])
|
53
|
+
const handleOnChange = (value) => setUsers(value)
|
54
|
+
|
55
|
+
/**
|
56
|
+
*
|
57
|
+
* @const handleOnMultiValueClick {function} - a custom callback for the MultiValue click
|
58
|
+
* @ignore
|
59
|
+
* @returns {null}
|
60
|
+
* @summary - for doc example purposes only
|
61
|
+
*/
|
62
|
+
const handleOnMultiValueClick = (value) => {
|
63
|
+
alert(`You removed the user: "${value.label}"`)
|
64
|
+
}
|
65
|
+
|
66
|
+
return (
|
67
|
+
<>
|
68
|
+
<TypeaheadWithPillsAsyncSummary />
|
69
|
+
<If condition={users && users.length > 0}>
|
70
|
+
<Caption
|
71
|
+
marginBottom="xs"
|
72
|
+
text="State (Users)"
|
73
|
+
/>
|
74
|
+
<For
|
75
|
+
each="user"
|
76
|
+
of={users}
|
77
|
+
>
|
78
|
+
<User
|
79
|
+
align="left"
|
80
|
+
avatarUrl={user.imageUrl}
|
81
|
+
key={user.value}
|
82
|
+
marginBottom="md"
|
83
|
+
name={user.label}
|
84
|
+
orientation="horizontal"
|
85
|
+
/>
|
86
|
+
</For>
|
87
|
+
</If>
|
88
|
+
<Typeahead
|
89
|
+
async
|
90
|
+
isMulti
|
91
|
+
label="Github Users"
|
92
|
+
loadOptions={promiseOptions}
|
93
|
+
onChange={handleOnChange}
|
94
|
+
onMultiValueClick={handleOnMultiValueClick}
|
95
|
+
placeholder="type the name of a Github user"
|
96
|
+
/>
|
97
|
+
</>
|
98
|
+
)
|
99
|
+
}
|
100
|
+
|
101
|
+
export default TypeaheadWithPillsAsyncUsers
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// @flow
|
2
|
+
|
3
|
+
import React from 'react'
|
4
|
+
import { Body, Icon } from '../..'
|
5
|
+
|
6
|
+
const TypeaheadWithPillsSummary = () => {
|
7
|
+
return (
|
8
|
+
<>
|
9
|
+
<Body
|
10
|
+
color="light"
|
11
|
+
marginBottom="lg"
|
12
|
+
>
|
13
|
+
<Icon
|
14
|
+
icon="info-circle"
|
15
|
+
marginRight="xs"
|
16
|
+
/>
|
17
|
+
{'Typeahead kit is data-driven. The minimum default fields are '}
|
18
|
+
<code>{'label'}</code>
|
19
|
+
{' and '}
|
20
|
+
<code>{'value'}</code>
|
21
|
+
{'.'}
|
22
|
+
</Body>
|
23
|
+
</>
|
24
|
+
)
|
25
|
+
}
|
26
|
+
|
27
|
+
export default TypeaheadWithPillsSummary
|
@@ -1,4 +1,10 @@
|
|
1
1
|
examples:
|
2
2
|
rails:
|
3
|
-
|
4
|
-
|
3
|
+
- typeahead_default: Default
|
4
|
+
- typeahead_with_context_dark: With Context
|
5
|
+
|
6
|
+
react:
|
7
|
+
- typeahead_default: Default
|
8
|
+
- typeahead_with_pills: With Pills
|
9
|
+
- typeahead_with_pills_async: With Pills (Async Data)
|
10
|
+
- typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { default as TypeaheadDefault } from './_typeahead_default'
|
2
|
+
export { default as TypeaheadWithPills } from './_typeahead_with_pills'
|
3
|
+
export { default as TypeaheadWithPillsAsync } from './_typeahead_with_pills_async'
|
4
|
+
export { default as TypeaheadWithPillsAsyncUsers } from './_typeahead_with_pills_async_users'
|
@@ -38,10 +38,10 @@ $heading_4: $font_base;
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
|
42
|
-
$lspace_tightest:
|
43
|
-
$lspace_tighter:
|
44
|
-
$lspace_tight:
|
41
|
+
// Letter Spacing
|
42
|
+
$lspace_tightest: -.1em;
|
43
|
+
$lspace_tighter: -.07em;
|
44
|
+
$lspace_tight: -.03em;
|
45
45
|
$lspace_normal: 0;
|
46
46
|
$lspace_loose: .03em;
|
47
47
|
$lspace_looser: .07em;
|
@@ -5,6 +5,10 @@ window.pbChart = pbChart
|
|
5
5
|
// Forms
|
6
6
|
import './pb_form/pb_form_validation'
|
7
7
|
|
8
|
+
// Date Picker
|
9
|
+
import datePickerHelper from './pb_date_picker/date_picker_helper.js'
|
10
|
+
window.datePickerHelper = datePickerHelper
|
11
|
+
|
8
12
|
// Lazy image loading
|
9
13
|
import 'lazysizes'
|
10
14
|
|
@@ -20,6 +24,8 @@ PbTypeahead.start()
|
|
20
24
|
import PbTable from './pb_table'
|
21
25
|
PbTable.start()
|
22
26
|
|
27
|
+
import 'flatpickr'
|
28
|
+
|
23
29
|
// React-Rendered Rails Kits =====
|
24
30
|
import WebpackerReact from 'webpacker-react'
|
25
31
|
import * as ReactRailsPBKits from './react_rails_kits.js'
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.0.pre.
|
4
|
+
version: 7.0.0.pre.alpha10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -683,18 +683,60 @@ files:
|
|
683
683
|
- app/pb_kits/playbook/pb_date/_date.jsx
|
684
684
|
- app/pb_kits/playbook/pb_date/_date.scss
|
685
685
|
- app/pb_kits/playbook/pb_date/date.rb
|
686
|
-
- app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb
|
687
|
-
- app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx
|
688
686
|
- app/pb_kits/playbook/pb_date/docs/_date_default.html.erb
|
689
|
-
- app/pb_kits/playbook/pb_date/docs/
|
690
|
-
- app/pb_kits/playbook/pb_date/docs/_date_default_react.md
|
687
|
+
- app/pb_kits/playbook/pb_date/docs/_date_default.jsx
|
691
688
|
- app/pb_kits/playbook/pb_date/docs/_date_timezone.html.erb
|
692
689
|
- app/pb_kits/playbook/pb_date/docs/_date_timezone.md
|
693
|
-
- app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb
|
694
|
-
- app/pb_kits/playbook/pb_date/docs/_date_variants.jsx
|
695
690
|
- app/pb_kits/playbook/pb_date/docs/_description.md
|
696
691
|
- app/pb_kits/playbook/pb_date/docs/example.yml
|
697
692
|
- app/pb_kits/playbook/pb_date/docs/index.js
|
693
|
+
- app/pb_kits/playbook/pb_date_picker/_date_picker.html.erb
|
694
|
+
- app/pb_kits/playbook/pb_date_picker/_date_picker.jsx
|
695
|
+
- app/pb_kits/playbook/pb_date_picker/_date_picker.scss
|
696
|
+
- app/pb_kits/playbook/pb_date_picker/date_picker.rb
|
697
|
+
- app/pb_kits/playbook/pb_date_picker/date_picker_helper.js
|
698
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb
|
699
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx
|
700
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md
|
701
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb
|
702
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx
|
703
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.html.erb
|
704
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx
|
705
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb
|
706
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx
|
707
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
|
708
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx
|
709
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.html.erb
|
710
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx
|
711
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb
|
712
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx
|
713
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.md
|
714
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.html.erb
|
715
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx
|
716
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.html.erb
|
717
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx
|
718
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.md
|
719
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb
|
720
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx
|
721
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md
|
722
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.html.erb
|
723
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx
|
724
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.md
|
725
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.html.erb
|
726
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx
|
727
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb
|
728
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx
|
729
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.html.erb
|
730
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx
|
731
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.md
|
732
|
+
- app/pb_kits/playbook/pb_date_picker/docs/_description.md
|
733
|
+
- app/pb_kits/playbook/pb_date_picker/docs/example.yml
|
734
|
+
- app/pb_kits/playbook/pb_date_picker/docs/index.js
|
735
|
+
- app/pb_kits/playbook/pb_date_picker/sass_partials/_calendar_input_icon.scss
|
736
|
+
- app/pb_kits/playbook/pb_date_picker/sass_partials/_day_styles.scss
|
737
|
+
- app/pb_kits/playbook/pb_date_picker/sass_partials/_flatpickr_styles.scss
|
738
|
+
- app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss
|
739
|
+
- app/pb_kits/playbook/pb_date_picker/sass_partials/_overrides.scss
|
698
740
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.html.erb
|
699
741
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx
|
700
742
|
- app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss
|
@@ -865,6 +907,7 @@ files:
|
|
865
907
|
- app/pb_kits/playbook/pb_form/form_builder/action_area.rb
|
866
908
|
- app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb
|
867
909
|
- app/pb_kits/playbook/pb_form/form_builder/collection_select_field.rb
|
910
|
+
- app/pb_kits/playbook/pb_form/form_builder/date_picker_field.rb
|
868
911
|
- app/pb_kits/playbook/pb_form/form_builder/form_field_builder.rb
|
869
912
|
- app/pb_kits/playbook/pb_form/form_builder/form_with_form_builder.rb
|
870
913
|
- app/pb_kits/playbook/pb_form/form_builder/select_field.rb
|
@@ -1625,13 +1668,18 @@ files:
|
|
1625
1668
|
- app/pb_kits/playbook/pb_time/_time.scss
|
1626
1669
|
- app/pb_kits/playbook/pb_time/docs/_description.md
|
1627
1670
|
- app/pb_kits/playbook/pb_time/docs/_footer.md
|
1671
|
+
- app/pb_kits/playbook/pb_time/docs/_time_align.html.erb
|
1628
1672
|
- app/pb_kits/playbook/pb_time/docs/_time_align.jsx
|
1673
|
+
- app/pb_kits/playbook/pb_time/docs/_time_dark.html.erb
|
1629
1674
|
- app/pb_kits/playbook/pb_time/docs/_time_dark.jsx
|
1630
1675
|
- app/pb_kits/playbook/pb_time/docs/_time_default.html.erb
|
1631
1676
|
- app/pb_kits/playbook/pb_time/docs/_time_default.jsx
|
1632
1677
|
- app/pb_kits/playbook/pb_time/docs/_time_default.md
|
1678
|
+
- app/pb_kits/playbook/pb_time/docs/_time_sizes.html.erb
|
1679
|
+
- app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx
|
1633
1680
|
- app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb
|
1634
1681
|
- app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx
|
1682
|
+
- app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb
|
1635
1683
|
- app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx
|
1636
1684
|
- app/pb_kits/playbook/pb_time/docs/_time_timezone.md
|
1637
1685
|
- app/pb_kits/playbook/pb_time/docs/example.yml
|
@@ -1758,12 +1806,27 @@ files:
|
|
1758
1806
|
- app/pb_kits/playbook/pb_tooltip/index.js
|
1759
1807
|
- app/pb_kits/playbook/pb_tooltip/tooltip.rb
|
1760
1808
|
- app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb
|
1809
|
+
- app/pb_kits/playbook/pb_typeahead/_typeahead.jsx
|
1761
1810
|
- app/pb_kits/playbook/pb_typeahead/_typeahead.scss
|
1811
|
+
- app/pb_kits/playbook/pb_typeahead/components/Control.jsx
|
1812
|
+
- app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx
|
1813
|
+
- app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx
|
1814
|
+
- app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx
|
1815
|
+
- app/pb_kits/playbook/pb_typeahead/components/Option.jsx
|
1816
|
+
- app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx
|
1817
|
+
- app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx
|
1762
1818
|
- app/pb_kits/playbook/pb_typeahead/docs/_description.md
|
1763
1819
|
- app/pb_kits/playbook/pb_typeahead/docs/_footer.md
|
1764
1820
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb
|
1821
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
|
1765
1822
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb
|
1823
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
|
1824
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx
|
1825
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx
|
1826
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx
|
1827
|
+
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx
|
1766
1828
|
- app/pb_kits/playbook/pb_typeahead/docs/example.yml
|
1829
|
+
- app/pb_kits/playbook/pb_typeahead/docs/index.js
|
1767
1830
|
- app/pb_kits/playbook/pb_typeahead/index.js
|
1768
1831
|
- app/pb_kits/playbook/pb_typeahead/typeahead.rb
|
1769
1832
|
- app/pb_kits/playbook/pb_user/_user.html.erb
|