playbook_ui 8.2.0.pre.alpha2 → 8.2.1.pre.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -18
- data/app/pb_kits/playbook/_playbook.scss +1 -0
- data/app/pb_kits/playbook/data/menu.yml +2 -1
- data/app/pb_kits/playbook/index.js +1 -0
- data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +14 -2
- data/app/pb_kits/playbook/pb_avatar/avatar.html.erb +1 -1
- data/app/pb_kits/playbook/pb_avatar/avatar.rb +5 -2
- data/app/pb_kits/playbook/pb_avatar/avatar.test.js +5 -2
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.html.erb +5 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +5 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.html.erb +4 -0
- data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +4 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +6 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +2 -1
- data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.rb +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +4 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +4 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +8 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +8 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +2 -0
- data/app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js +31 -0
- data/app/pb_kits/playbook/pb_badge/_badge.jsx +26 -1
- data/app/pb_kits/playbook/pb_caption/_caption.jsx +3 -2
- data/app/pb_kits/playbook/pb_caption/caption.rb +1 -1
- data/app/pb_kits/playbook/pb_card/_card.jsx +18 -3
- data/app/pb_kits/playbook/pb_card/card.html.erb +1 -1
- data/app/pb_kits/playbook/pb_card/card.rb +3 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb +25 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +59 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_card/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +31 -9
- data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +28 -19
- data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +11 -3
- data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +6 -1
- data/app/pb_kits/playbook/pb_checkbox/checkbox.test.js +94 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +0 -1
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx +16 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +6 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +3 -0
- data/app/pb_kits/playbook/pb_dialog/_close_icon.jsx +23 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog.html.erb +10 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +142 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog.scss +133 -0
- data/app/pb_kits/playbook/pb_dialog/_dialog_context.jsx +3 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.jsx +21 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +36 -0
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +68 -0
- data/app/pb_kits/playbook/pb_dialog/dialog.rb +47 -0
- data/app/pb_kits/playbook/pb_dialog/dialog.test.jsx +23 -0
- data/app/pb_kits/playbook/pb_dialog/dialog_header.rb +31 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx +53 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +27 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +27 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.jsx +119 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx +28 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md +2 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx +93 -0
- data/app/pb_kits/playbook/pb_dialog/docs/example.yml +10 -0
- data/app/pb_kits/playbook/pb_dialog/docs/index.js +6 -0
- data/app/pb_kits/playbook/pb_flex/_flex.jsx +6 -3
- data/app/pb_kits/playbook/pb_form/form_builder.rb +4 -2
- data/app/pb_kits/playbook/pb_form/form_builder/action_area.rb +14 -7
- data/app/pb_kits/playbook/pb_form/simple_form.html.erb +2 -4
- data/app/pb_kits/playbook/pb_form/simple_form.rb +4 -0
- data/app/pb_kits/playbook/pb_online_status/_online_status.jsx +2 -0
- data/app/pb_kits/playbook/pb_online_status/online_status.html.erb +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +4 -3
- data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +3 -0
- data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +3 -0
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +9 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +9 -0
- data/app/pb_kits/playbook/pb_typeahead/components/Input.jsx +43 -0
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +21 -11
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +1 -0
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +8 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +4 -4
- data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +1 -1
- data/app/pb_kits/playbook/react_rails_kits.js +4 -0
- data/lib/playbook/version.rb +2 -1
- metadata +55 -27
- data/app/pb_kits/playbook/pb_form/form_builder/action_area.html.erb +0 -3
@@ -19,6 +19,7 @@ type TextInputProps = {
|
|
19
19
|
id?: string,
|
20
20
|
name: string,
|
21
21
|
label: string,
|
22
|
+
onBlur: (String) => void,
|
22
23
|
onChange: (String) => void,
|
23
24
|
placeholder: string,
|
24
25
|
required?: boolean,
|
@@ -41,6 +42,7 @@ const TextInput = (
|
|
41
42
|
id,
|
42
43
|
name,
|
43
44
|
label,
|
45
|
+
onBlur = () => {},
|
44
46
|
onChange = () => {},
|
45
47
|
placeholder,
|
46
48
|
required,
|
@@ -79,6 +81,7 @@ const TextInput = (
|
|
79
81
|
disabled={disabled}
|
80
82
|
id={id}
|
81
83
|
name={name}
|
84
|
+
onBlur={onBlur}
|
82
85
|
onChange={onChange}
|
83
86
|
placeholder={placeholder}
|
84
87
|
ref={ref}
|
@@ -24,6 +24,7 @@ type TextareaProps = {
|
|
24
24
|
required?: boolean,
|
25
25
|
rows?: number,
|
26
26
|
resize: 'none' | 'both' | 'horizontal' | 'vertical' | 'auto',
|
27
|
+
onBlur?: InputCallback<HTMLTextAreaElement>,
|
27
28
|
onChange?: InputCallback<HTMLTextAreaElement>,
|
28
29
|
}
|
29
30
|
|
@@ -37,6 +38,7 @@ const Textarea = ({
|
|
37
38
|
label,
|
38
39
|
maxCharacters,
|
39
40
|
name,
|
41
|
+
onBlur = () => {},
|
40
42
|
onChange = () => {},
|
41
43
|
placeholder,
|
42
44
|
required,
|
@@ -75,6 +77,7 @@ const Textarea = ({
|
|
75
77
|
className="pb_textarea_kit"
|
76
78
|
disabled={disabled}
|
77
79
|
name={name}
|
80
|
+
onBlur={onBlur}
|
78
81
|
onChange={onChange}
|
79
82
|
placeholder={placeholder}
|
80
83
|
ref={ref}
|
@@ -3,12 +3,14 @@
|
|
3
3
|
import React from 'react'
|
4
4
|
import Select from 'react-select'
|
5
5
|
import AsyncSelect from 'react-select/async'
|
6
|
+
import CreateableSelect from 'react-select/creatable'
|
6
7
|
import { get } from 'lodash'
|
7
8
|
import { globalProps } from '../utilities/globalProps.js'
|
8
9
|
|
9
10
|
import Control from './components/Control'
|
10
11
|
import ClearIndicator from './components/ClearIndicator'
|
11
12
|
import IndicatorsContainer from './components/IndicatorsContainer'
|
13
|
+
import Input from './components/Input'
|
12
14
|
import MenuList from './components/MenuList'
|
13
15
|
import MultiValue from './components/MultiValue'
|
14
16
|
import Option from './components/Option'
|
@@ -26,6 +28,7 @@ import { noop } from '../utilities/props'
|
|
26
28
|
|
27
29
|
type Props = {
|
28
30
|
async?: boolean,
|
31
|
+
createable?: boolean,
|
29
32
|
dark?: boolean,
|
30
33
|
label?: string,
|
31
34
|
loadOptions?: noop | string,
|
@@ -41,12 +44,14 @@ type Props = {
|
|
41
44
|
|
42
45
|
const Typeahead = (props: Props) => {
|
43
46
|
const selectProps = {
|
47
|
+
badges: false,
|
44
48
|
cacheOptions: true,
|
45
49
|
components: {
|
46
50
|
Control,
|
47
51
|
ClearIndicator,
|
48
52
|
IndicatorsContainer,
|
49
53
|
IndicatorSeparator: null,
|
54
|
+
Input,
|
50
55
|
MenuList,
|
51
56
|
MultiValue,
|
52
57
|
Option,
|
@@ -58,6 +63,8 @@ const Typeahead = (props: Props) => {
|
|
58
63
|
isClearable: true,
|
59
64
|
isSearchable: true,
|
60
65
|
name,
|
66
|
+
onCreate: () => {},
|
67
|
+
plusIcon: false,
|
61
68
|
...props,
|
62
69
|
}
|
63
70
|
|
@@ -65,7 +72,8 @@ const Typeahead = (props: Props) => {
|
|
65
72
|
if (typeof(props.getOptionLabel) === 'string') selectProps.getOptionLabel = get(window, props.getOptionLabel)
|
66
73
|
if (typeof(props.getOptionValue) === 'string') selectProps.getOptionValue = get(window, props.getOptionValue)
|
67
74
|
|
68
|
-
|
75
|
+
let Tag = props.async ? AsyncSelect : Select
|
76
|
+
if (props.createable) Tag = CreateableSelect
|
69
77
|
|
70
78
|
const handleOnChange = (data, { action, option, removedValue }) => {
|
71
79
|
if (action === 'select-option') {
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/* @flow */
|
2
|
+
|
3
|
+
import React, { useEffect, useRef } from 'react'
|
4
|
+
import { components } from 'react-select'
|
5
|
+
import { Flex, Icon } from '../../'
|
6
|
+
|
7
|
+
const Input = (props: any) => {
|
8
|
+
const { plusIcon } = props.selectProps
|
9
|
+
const inputWrapper = useRef(null)
|
10
|
+
|
11
|
+
if (plusIcon) {
|
12
|
+
useEffect(() => {
|
13
|
+
const plusIcon = inputWrapper.current.querySelector('.typeahead-plus-icon')
|
14
|
+
const values = props.selectProps.value
|
15
|
+
if (!values || values.length == 0){
|
16
|
+
const offset = inputWrapper.current.parentElement.querySelector('.placeholder').clientWidth
|
17
|
+
plusIcon.style.marginLeft = `${offset + 2}px`
|
18
|
+
} else {
|
19
|
+
plusIcon.style.marginLeft = '0px'
|
20
|
+
}
|
21
|
+
})
|
22
|
+
}
|
23
|
+
|
24
|
+
return (
|
25
|
+
<Flex
|
26
|
+
align="center"
|
27
|
+
ref={inputWrapper}
|
28
|
+
>
|
29
|
+
<If condition={plusIcon}>
|
30
|
+
<Icon
|
31
|
+
className="typeahead-plus-icon"
|
32
|
+
icon="plus"
|
33
|
+
/>
|
34
|
+
</If>
|
35
|
+
<components.Input
|
36
|
+
className="input"
|
37
|
+
{...props}
|
38
|
+
/>
|
39
|
+
</Flex>
|
40
|
+
)
|
41
|
+
}
|
42
|
+
|
43
|
+
export default Input
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import React from 'react'
|
4
4
|
import { components } from 'react-select'
|
5
5
|
|
6
|
-
import { FormPill } from '../../'
|
6
|
+
import { Badge, FormPill } from '../../'
|
7
7
|
|
8
8
|
type Props = {
|
9
9
|
data: object,
|
@@ -15,6 +15,7 @@ type Props = {
|
|
15
15
|
const MultiValue = (props: Props) => {
|
16
16
|
const { removeProps } = props
|
17
17
|
const { imageUrl, label } = props.data
|
18
|
+
const { badges } = props.selectProps
|
18
19
|
|
19
20
|
const formPillProps = {
|
20
21
|
marginRight: 'xs',
|
@@ -28,19 +29,28 @@ const MultiValue = (props: Props) => {
|
|
28
29
|
className="text_input_multivalue_container"
|
29
30
|
{...props}
|
30
31
|
>
|
31
|
-
<If condition={
|
32
|
-
<
|
33
|
-
avatarUrl={imageUrl}
|
32
|
+
<If condition={badges}>
|
33
|
+
<Badge
|
34
34
|
closeProps={removeProps}
|
35
|
-
|
36
|
-
name={label}
|
37
|
-
/>
|
38
|
-
<Else />
|
39
|
-
<FormPill
|
40
|
-
closeProps={removeProps}
|
41
|
-
marginRight="xs"
|
35
|
+
removeIcon
|
42
36
|
text={label}
|
37
|
+
variant="primary"
|
43
38
|
/>
|
39
|
+
<Else />
|
40
|
+
<If condition={imageUrl}>
|
41
|
+
<FormPill
|
42
|
+
avatarUrl={imageUrl}
|
43
|
+
closeProps={removeProps}
|
44
|
+
marginRight="xs"
|
45
|
+
name={label}
|
46
|
+
/>
|
47
|
+
<Else />
|
48
|
+
<FormPill
|
49
|
+
closeProps={removeProps}
|
50
|
+
marginRight="xs"
|
51
|
+
text={label}
|
52
|
+
/>
|
53
|
+
</If>
|
44
54
|
</If>
|
45
55
|
</components.MultiValueContainer>
|
46
56
|
)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import React from 'react'
|
4
4
|
import { Typeahead } from '../..'
|
5
5
|
|
6
|
-
const
|
6
|
+
const initOptions = [
|
7
7
|
{ label: 'Windows', value: '#FFA500' },
|
8
8
|
{ label: 'Siding', value: '#FF0000' },
|
9
9
|
{ label: 'Doors', value: '#00FF00' },
|
@@ -11,13 +11,18 @@ const options = [
|
|
11
11
|
]
|
12
12
|
|
13
13
|
const TypeaheadWithPills = (props) => {
|
14
|
+
// const [values, setValues] = useState([])
|
14
15
|
return (
|
15
16
|
<>
|
16
17
|
<Typeahead
|
18
|
+
badges
|
19
|
+
createable
|
17
20
|
isMulti
|
18
21
|
label="Colors"
|
19
|
-
|
20
|
-
|
22
|
+
// onChange={(value) => console.log(value)}
|
23
|
+
options={initOptions}
|
24
|
+
placeholder="Placeholder"
|
25
|
+
plusIcon
|
21
26
|
{...props}
|
22
27
|
/>
|
23
28
|
</>
|
@@ -7,8 +7,8 @@ examples:
|
|
7
7
|
- typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
8
8
|
|
9
9
|
react:
|
10
|
-
- typeahead_default: Default
|
10
|
+
# - typeahead_default: Default
|
11
11
|
- typeahead_with_pills: With Pills
|
12
|
-
- typeahead_with_pills_async: With Pills (Async Data)
|
13
|
-
- typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
14
|
-
- typeahead_with_pills_async_custom_options: With Pills (Async Data w/ Custom Options)
|
12
|
+
# - typeahead_with_pills_async: With Pills (Async Data)
|
13
|
+
# - typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
|
14
|
+
# - typeahead_with_pills_async_custom_options: With Pills (Async Data w/ Custom Options)
|
@@ -23,7 +23,7 @@ const UserBadge = (props: UserBadgeProps) => {
|
|
23
23
|
size = 'md',
|
24
24
|
} = props
|
25
25
|
|
26
|
-
const image = require(`./badges
|
26
|
+
const image = require(`./badges/${badge}.svg`)
|
27
27
|
const ariaProps = buildAriaProps(aria)
|
28
28
|
const dataProps = buildDataProps(data)
|
29
29
|
const classes = classnames(
|
@@ -5,4 +5,8 @@ export { default as Legend } from './pb_legend/_legend.jsx'
|
|
5
5
|
export { default as LineGraph } from './pb_line_graph/_line_graph.jsx'
|
6
6
|
export { default as Typeahead } from './pb_typeahead/_typeahead.jsx'
|
7
7
|
export { default as RichTextEditor } from './pb_rich_text_editor/_rich_text_editor.jsx'
|
8
|
+
export { default as Dialog } from './pb_dialog/_dialog.jsx'
|
9
|
+
export { default as DialogHeader } from './pb_dialog/child_kits/_dialog_header.jsx'
|
10
|
+
export { default as DialogBody } from './pb_dialog/child_kits/_dialog_body.jsx'
|
11
|
+
export { default as DialogFooter } from './pb_dialog/child_kits/_dialog_footer.jsx'
|
8
12
|
export { KitSearch, SnippetToggle, DarkModeToggle } from './docs_components'
|
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: 8.2.
|
4
|
+
version: 8.2.1.pre.alpha2
|
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: 2021-03-
|
12
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -17,27 +17,27 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 5.2.4.
|
20
|
+
version: 5.2.4.4
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7.0'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 5.2.4.
|
30
|
+
version: 5.2.4.4
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7.0'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: actionview
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.2.4.
|
40
|
+
version: 5.2.4.4
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '7.0'
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 5.2.4.
|
50
|
+
version: 5.2.4.4
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '7.0'
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 5.2.4.
|
60
|
+
version: 5.2.4.4
|
61
61
|
- - "<"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '7.0'
|
@@ -67,24 +67,10 @@ dependencies:
|
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 5.2.4.
|
70
|
+
version: 5.2.4.4
|
71
71
|
- - "<"
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '7.0'
|
74
|
-
- !ruby/object:Gem::Dependency
|
75
|
-
name: github_changelog_generator
|
76
|
-
requirement: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - '='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.15.2
|
81
|
-
type: :runtime
|
82
|
-
prerelease: false
|
83
|
-
version_requirements: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - '='
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 1.15.2
|
88
74
|
- !ruby/object:Gem::Dependency
|
89
75
|
name: react-rails
|
90
76
|
requirement: !ruby/object:Gem::Requirement
|
@@ -253,6 +239,20 @@ dependencies:
|
|
253
239
|
- - '='
|
254
240
|
- !ruby/object:Gem::Version
|
255
241
|
version: 11.0.0
|
242
|
+
- !ruby/object:Gem::Dependency
|
243
|
+
name: github_changelog_generator
|
244
|
+
requirement: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - '='
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 1.15.2
|
249
|
+
type: :development
|
250
|
+
prerelease: false
|
251
|
+
version_requirements: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - '='
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: 1.15.2
|
256
256
|
- !ruby/object:Gem::Dependency
|
257
257
|
name: overcommit
|
258
258
|
requirement: !ruby/object:Gem::Requirement
|
@@ -464,6 +464,7 @@ files:
|
|
464
464
|
- app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb
|
465
465
|
- app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml
|
466
466
|
- app/pb_kits/playbook/pb_avatar_action_button/docs/index.js
|
467
|
+
- app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js
|
467
468
|
- app/pb_kits/playbook/pb_background/_background.jsx
|
468
469
|
- app/pb_kits/playbook/pb_background/_background.scss
|
469
470
|
- app/pb_kits/playbook/pb_background/background.html.erb
|
@@ -611,12 +612,15 @@ files:
|
|
611
612
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
|
612
613
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
|
613
614
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx
|
615
|
+
- app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb
|
616
|
+
- app/pb_kits/playbook/pb_card/docs/_card_tag.jsx
|
614
617
|
- app/pb_kits/playbook/pb_card/docs/example.yml
|
615
618
|
- app/pb_kits/playbook/pb_card/docs/index.js
|
616
619
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.jsx
|
617
620
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.scss
|
618
621
|
- app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
|
619
622
|
- app/pb_kits/playbook/pb_checkbox/checkbox.rb
|
623
|
+
- app/pb_kits/playbook/pb_checkbox/checkbox.test.js
|
620
624
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.html.erb
|
621
625
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx
|
622
626
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.html.erb
|
@@ -625,6 +629,8 @@ files:
|
|
625
629
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
|
626
630
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
|
627
631
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx
|
632
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb
|
633
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx
|
628
634
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
|
629
635
|
- app/pb_kits/playbook/pb_checkbox/docs/_description.md
|
630
636
|
- app/pb_kits/playbook/pb_checkbox/docs/example.yml
|
@@ -853,6 +859,29 @@ files:
|
|
853
859
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md
|
854
860
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
|
855
861
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/index.js
|
862
|
+
- app/pb_kits/playbook/pb_dialog/_close_icon.jsx
|
863
|
+
- app/pb_kits/playbook/pb_dialog/_dialog.html.erb
|
864
|
+
- app/pb_kits/playbook/pb_dialog/_dialog.jsx
|
865
|
+
- app/pb_kits/playbook/pb_dialog/_dialog.scss
|
866
|
+
- app/pb_kits/playbook/pb_dialog/_dialog_context.jsx
|
867
|
+
- app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.jsx
|
868
|
+
- app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx
|
869
|
+
- app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx
|
870
|
+
- app/pb_kits/playbook/pb_dialog/dialog.rb
|
871
|
+
- app/pb_kits/playbook/pb_dialog/dialog.test.jsx
|
872
|
+
- app/pb_kits/playbook/pb_dialog/dialog_header.rb
|
873
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx
|
874
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md
|
875
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx
|
876
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx
|
877
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md
|
878
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.jsx
|
879
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.md
|
880
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx
|
881
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md
|
882
|
+
- app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx
|
883
|
+
- app/pb_kits/playbook/pb_dialog/docs/example.yml
|
884
|
+
- app/pb_kits/playbook/pb_dialog/docs/index.js
|
856
885
|
- app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx
|
857
886
|
- app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss
|
858
887
|
- app/pb_kits/playbook/pb_distribution_bar/distribution_bar.html.erb
|
@@ -976,7 +1005,6 @@ files:
|
|
976
1005
|
- app/pb_kits/playbook/pb_form/docs/example.yml
|
977
1006
|
- app/pb_kits/playbook/pb_form/form.rb
|
978
1007
|
- app/pb_kits/playbook/pb_form/form_builder.rb
|
979
|
-
- app/pb_kits/playbook/pb_form/form_builder/action_area.html.erb
|
980
1008
|
- app/pb_kits/playbook/pb_form/form_builder/action_area.rb
|
981
1009
|
- app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb
|
982
1010
|
- app/pb_kits/playbook/pb_form/form_builder/collection_select_field.rb
|
@@ -1933,6 +1961,7 @@ files:
|
|
1933
1961
|
- app/pb_kits/playbook/pb_typeahead/components/ClearIndicator.jsx
|
1934
1962
|
- app/pb_kits/playbook/pb_typeahead/components/Control.jsx
|
1935
1963
|
- app/pb_kits/playbook/pb_typeahead/components/IndicatorsContainer.jsx
|
1964
|
+
- app/pb_kits/playbook/pb_typeahead/components/Input.jsx
|
1936
1965
|
- app/pb_kits/playbook/pb_typeahead/components/MenuList.jsx
|
1937
1966
|
- app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx
|
1938
1967
|
- app/pb_kits/playbook/pb_typeahead/components/Option.jsx
|
@@ -2090,8 +2119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2090
2119
|
- !ruby/object:Gem::Version
|
2091
2120
|
version: 1.3.1
|
2092
2121
|
requirements: []
|
2093
|
-
|
2094
|
-
rubygems_version: 2.7.3
|
2122
|
+
rubygems_version: 3.1.4
|
2095
2123
|
signing_key:
|
2096
2124
|
specification_version: 4
|
2097
2125
|
summary: Playbook Design System
|