playbook_ui 8.2.0.pre.alpha1 → 8.2.1.alpha.iconacc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- 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_button/_button.jsx +6 -0
- data/app/pb_kits/playbook/pb_button/button.test.js +91 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +0 -1
- data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.test.js +46 -0
- 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_circle_icon_button/circle_icon_button.test.js +17 -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_form/_form.scss +5 -1
- 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_icon/_icon.jsx +20 -5
- data/app/pb_kits/playbook/pb_icon/icon.html.erb +4 -2
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +1 -0
- data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_nav/_item.jsx +0 -2
- data/app/pb_kits/playbook/pb_nav/item.html.erb +2 -2
- 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_user_badge/_user_badge.jsx +1 -1
- data/app/pb_kits/playbook/react_rails_kits.js +4 -0
- data/app/pb_kits/playbook/utilities/test-utils.js +6 -0
- data/lib/playbook/version.rb +2 -1
- metadata +66 -35
- data/app/pb_kits/playbook/pb_form/form_builder/action_area.html.erb +0 -3
@@ -0,0 +1,6 @@
|
|
1
|
+
export { default as DialogDefault } from './_dialog_default.jsx'
|
2
|
+
export { default as DialogCompoundComponents } from './_dialog_compound_components.jsx'
|
3
|
+
export { default as DialogSizes } from './_dialog_sizes.jsx'
|
4
|
+
export { default as DialogScrollable } from './_dialog_scrollable.jsx'
|
5
|
+
export { default as DialogSeparators } from './_dialog_separators.jsx'
|
6
|
+
export { default as DialogShouldCloseOnOverlay } from './_dialog_should_close_on_overlay.jsx'
|
@@ -19,9 +19,11 @@ module Playbook
|
|
19
19
|
prepend(CollectionSelectField)
|
20
20
|
prepend(CheckboxField)
|
21
21
|
prepend(DatePickerField)
|
22
|
+
end
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
def actions
|
25
|
+
@template.send(:view_context).content_tag :ol, class: "pb-form-actions" do
|
26
|
+
yield ActionArea.new(@template, submit_default_value)
|
25
27
|
end
|
26
28
|
end
|
27
29
|
end
|
@@ -3,22 +3,29 @@
|
|
3
3
|
module Playbook
|
4
4
|
module PbForm
|
5
5
|
module FormBuilder
|
6
|
-
class ActionArea
|
7
|
-
|
6
|
+
class ActionArea
|
7
|
+
def initialize(view_context, submit_default_value)
|
8
|
+
self.view_context = view_context
|
9
|
+
self.submit_default_value = submit_default_value
|
10
|
+
end
|
8
11
|
|
9
12
|
def submit(value = nil, props: {})
|
10
13
|
props[:type] ||= "submit"
|
14
|
+
props[:text] ||= value || submit_default_value
|
15
|
+
|
11
16
|
button(value, props: props)
|
12
17
|
end
|
13
18
|
|
14
19
|
def button(value = nil, props:)
|
15
|
-
|
16
|
-
|
17
|
-
content_tag(:li) do
|
18
|
-
pb_rails("button", props: props)
|
20
|
+
view_context.content_tag(:li) do
|
21
|
+
view_context.pb_rails("button", props: props)
|
19
22
|
end
|
20
23
|
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
attr_accessor :view_context, :submit_default_value
|
21
28
|
end
|
22
29
|
end
|
23
30
|
end
|
24
|
-
end
|
31
|
+
end
|
@@ -1,6 +1,4 @@
|
|
1
|
-
<%= simple_form_for model, options
|
2
|
-
<% instance_exec form, &children %>
|
3
|
-
<% end %>
|
1
|
+
<%= simple_form_for model, options, &method(:render_form) %>
|
4
2
|
|
5
3
|
<% if validate %>
|
6
4
|
<% content_for :pb_js do %>
|
@@ -10,4 +8,4 @@
|
|
10
8
|
})
|
11
9
|
<% end %>
|
12
10
|
<% end %>
|
13
|
-
<% end %>
|
11
|
+
<% end %>
|
@@ -2,12 +2,14 @@
|
|
2
2
|
|
3
3
|
import React from 'react'
|
4
4
|
import classnames from 'classnames'
|
5
|
+
import { buildAriaProps, buildDataProps } from '../utilities/props'
|
5
6
|
import { globalProps } from '../utilities/globalProps.js'
|
6
7
|
|
7
8
|
type IconProps = {
|
8
|
-
aria?:
|
9
|
+
aria?: object,
|
9
10
|
border?: boolean,
|
10
11
|
className?: string,
|
12
|
+
data?: object,
|
11
13
|
fixedWidth?: boolean,
|
12
14
|
flip?: "horizontal" | "vertical" | "both" | "none",
|
13
15
|
icon: string,
|
@@ -41,8 +43,10 @@ const flipMap = {
|
|
41
43
|
|
42
44
|
const Icon = (props: IconProps) => {
|
43
45
|
const {
|
46
|
+
aria = {},
|
44
47
|
border = false,
|
45
48
|
className,
|
49
|
+
data = {},
|
46
50
|
fixedWidth = true,
|
47
51
|
flip = false,
|
48
52
|
icon,
|
@@ -75,11 +79,22 @@ const Icon = (props: IconProps) => {
|
|
75
79
|
className
|
76
80
|
)
|
77
81
|
|
82
|
+
aria.label ? null : aria.label = `${icon} icon`
|
83
|
+
const ariaProps = buildAriaProps(aria)
|
84
|
+
const dataProps = buildDataProps(data)
|
85
|
+
|
78
86
|
return (
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
87
|
+
<>
|
88
|
+
<i
|
89
|
+
{...dataProps}
|
90
|
+
className={classes}
|
91
|
+
id={id}
|
92
|
+
/>
|
93
|
+
<span
|
94
|
+
{...ariaProps}
|
95
|
+
hidden="true"
|
96
|
+
/>
|
97
|
+
</>
|
83
98
|
)
|
84
99
|
}
|
85
100
|
|
@@ -4,6 +4,6 @@
|
|
4
4
|
class: object.classname) do %>
|
5
5
|
|
6
6
|
<%= pb_rails("body", props: { color: "light", dark: object.dark }) do %>
|
7
|
-
<%= pb_rails("icon", props: { fixed_width: true, icon: "spinner", pulse: true }) %> Loading
|
7
|
+
<%= pb_rails("icon", props: { aria: { label: "loading icon" }, fixed_width: true, icon: "spinner", pulse: true }) %> Loading
|
8
8
|
<% end %>
|
9
9
|
<% end %>
|
@@ -75,7 +75,6 @@ const NavItem = (props: NavItemProps) => {
|
|
75
75
|
key={iconLeft}
|
76
76
|
>
|
77
77
|
<Icon
|
78
|
-
aria={{ label: iconLeft }}
|
79
78
|
className="pb_nav_list_item_icon_left"
|
80
79
|
fixedWidth
|
81
80
|
icon={iconLeft}
|
@@ -91,7 +90,6 @@ const NavItem = (props: NavItemProps) => {
|
|
91
90
|
key={iconRight}
|
92
91
|
>
|
93
92
|
<Icon
|
94
|
-
aria={{ label: iconRight }}
|
95
93
|
className="pb_nav_list_item_icon_right"
|
96
94
|
fixedWidth
|
97
95
|
icon={iconRight}
|
@@ -9,13 +9,13 @@
|
|
9
9
|
<%= pb_rails("image", props: { url: object.image_url, classname: "pb_nav_img_wrapper" }) %>
|
10
10
|
<% end %>
|
11
11
|
<% if object.icon_left %>
|
12
|
-
<%= pb_rails("icon", props: {
|
12
|
+
<%= pb_rails("icon", props: { icon: object.icon_left, classname: "pb_nav_list_item_icon_left", fixed_width: true}) %>
|
13
13
|
<% end %>
|
14
14
|
<span class="pb_nav_list_item_text">
|
15
15
|
<%= object.text %><%= content.presence %>
|
16
16
|
</span>
|
17
17
|
<% if object.icon_right %>
|
18
|
-
<%= pb_rails("icon", props: {
|
18
|
+
<%= pb_rails("icon", props: { icon: object.icon_right, classname: "pb_nav_list_item_icon_right", fixed_width: true}) %>
|
19
19
|
<% end %>
|
20
20
|
<% end %>
|
21
21
|
<% end %>
|
@@ -23,6 +23,8 @@ const OnlineStatus = (props: OnlineStatusProps) => {
|
|
23
23
|
status = 'offline',
|
24
24
|
} = props
|
25
25
|
|
26
|
+
aria.label = status
|
27
|
+
|
26
28
|
const ariaProps = buildAriaProps(aria)
|
27
29
|
const dataProps = buildDataProps(data)
|
28
30
|
const classes = classnames(buildCss('pb_online_status_kit', status), globalProps(props), className)
|
@@ -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'
|
@@ -39,3 +39,9 @@ export const ensureAccessible = async (Kit, props = {}, newProps = {}) => {
|
|
39
39
|
const html = render()
|
40
40
|
expect(await axe(html)).toHaveNoViolations()
|
41
41
|
}
|
42
|
+
|
43
|
+
export const appendAlert = (message) => {
|
44
|
+
const alertNode = document.createElement('div')
|
45
|
+
alertNode.innerHTML = message
|
46
|
+
document.querySelector('body').appendChild(alertNode)
|
47
|
+
}
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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.alpha.iconacc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
8
8
|
- Power Devs
|
9
|
-
autorequire:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
@@ -285,22 +285,22 @@ dependencies:
|
|
285
285
|
name: rspec-rails
|
286
286
|
requirement: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
|
-
- - ">="
|
289
|
-
- !ruby/object:Gem::Version
|
290
|
-
version: 3.8.0
|
291
288
|
- - "~>"
|
292
289
|
- !ruby/object:Gem::Version
|
293
290
|
version: '3.8'
|
291
|
+
- - ">="
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: 3.8.0
|
294
294
|
type: :development
|
295
295
|
prerelease: false
|
296
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
297
|
requirements:
|
298
|
-
- - ">="
|
299
|
-
- !ruby/object:Gem::Version
|
300
|
-
version: 3.8.0
|
301
298
|
- - "~>"
|
302
299
|
- !ruby/object:Gem::Version
|
303
300
|
version: '3.8'
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: 3.8.0
|
304
304
|
- !ruby/object:Gem::Dependency
|
305
305
|
name: rubocop
|
306
306
|
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
|
@@ -526,6 +527,7 @@ files:
|
|
526
527
|
- app/pb_kits/playbook/pb_button/_button_mixins.scss
|
527
528
|
- app/pb_kits/playbook/pb_button/button.html.erb
|
528
529
|
- app/pb_kits/playbook/pb_button/button.rb
|
530
|
+
- app/pb_kits/playbook/pb_button/button.test.js
|
529
531
|
- app/pb_kits/playbook/pb_button/docs/_button_accessibility.html.erb
|
530
532
|
- app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx
|
531
533
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
|
@@ -552,6 +554,7 @@ files:
|
|
552
554
|
- app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss
|
553
555
|
- app/pb_kits/playbook/pb_button_toolbar/button_toolbar.html.erb
|
554
556
|
- app/pb_kits/playbook/pb_button_toolbar/button_toolbar.rb
|
557
|
+
- app/pb_kits/playbook/pb_button_toolbar/button_toolbar.test.js
|
555
558
|
- app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb
|
556
559
|
- app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx
|
557
560
|
- app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb
|
@@ -609,12 +612,15 @@ files:
|
|
609
612
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
|
610
613
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
|
611
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
|
612
617
|
- app/pb_kits/playbook/pb_card/docs/example.yml
|
613
618
|
- app/pb_kits/playbook/pb_card/docs/index.js
|
614
619
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.jsx
|
615
620
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.scss
|
616
621
|
- app/pb_kits/playbook/pb_checkbox/checkbox.html.erb
|
617
622
|
- app/pb_kits/playbook/pb_checkbox/checkbox.rb
|
623
|
+
- app/pb_kits/playbook/pb_checkbox/checkbox.test.js
|
618
624
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.html.erb
|
619
625
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx
|
620
626
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.html.erb
|
@@ -623,6 +629,8 @@ files:
|
|
623
629
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
|
624
630
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
|
625
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
|
626
634
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
|
627
635
|
- app/pb_kits/playbook/pb_checkbox/docs/_description.md
|
628
636
|
- app/pb_kits/playbook/pb_checkbox/docs/example.yml
|
@@ -654,6 +662,7 @@ files:
|
|
654
662
|
- app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss
|
655
663
|
- app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb
|
656
664
|
- app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
|
665
|
+
- app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
|
657
666
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx
|
658
667
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.html.erb
|
659
668
|
- app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx
|
@@ -850,6 +859,29 @@ files:
|
|
850
859
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/_footer.md
|
851
860
|
- app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml
|
852
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
|
853
885
|
- app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.jsx
|
854
886
|
- app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.scss
|
855
887
|
- app/pb_kits/playbook/pb_distribution_bar/distribution_bar.html.erb
|
@@ -973,7 +1005,6 @@ files:
|
|
973
1005
|
- app/pb_kits/playbook/pb_form/docs/example.yml
|
974
1006
|
- app/pb_kits/playbook/pb_form/form.rb
|
975
1007
|
- app/pb_kits/playbook/pb_form/form_builder.rb
|
976
|
-
- app/pb_kits/playbook/pb_form/form_builder/action_area.html.erb
|
977
1008
|
- app/pb_kits/playbook/pb_form/form_builder/action_area.rb
|
978
1009
|
- app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb
|
979
1010
|
- app/pb_kits/playbook/pb_form/form_builder/collection_select_field.rb
|
@@ -2072,7 +2103,7 @@ homepage: http://playbook.powerapp.cloud
|
|
2072
2103
|
licenses:
|
2073
2104
|
- MIT
|
2074
2105
|
metadata: {}
|
2075
|
-
post_install_message:
|
2106
|
+
post_install_message:
|
2076
2107
|
rdoc_options: []
|
2077
2108
|
require_paths:
|
2078
2109
|
- lib
|
@@ -2087,8 +2118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2087
2118
|
- !ruby/object:Gem::Version
|
2088
2119
|
version: 1.3.1
|
2089
2120
|
requirements: []
|
2090
|
-
rubygems_version: 3.
|
2091
|
-
signing_key:
|
2121
|
+
rubygems_version: 3.1.4
|
2122
|
+
signing_key:
|
2092
2123
|
specification_version: 4
|
2093
2124
|
summary: Playbook Design System
|
2094
2125
|
test_files: []
|