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.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -0
  3. data/Rakefile +1 -18
  4. data/app/pb_kits/playbook/_playbook.scss +1 -0
  5. data/app/pb_kits/playbook/data/menu.yml +2 -1
  6. data/app/pb_kits/playbook/index.js +1 -0
  7. data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +14 -2
  8. data/app/pb_kits/playbook/pb_avatar/avatar.html.erb +1 -1
  9. data/app/pb_kits/playbook/pb_avatar/avatar.rb +5 -2
  10. data/app/pb_kits/playbook/pb_avatar/avatar.test.js +5 -2
  11. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.html.erb +5 -0
  12. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +5 -0
  13. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.html.erb +4 -0
  14. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +4 -0
  15. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +6 -0
  16. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +2 -1
  17. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.rb +2 -0
  18. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +4 -0
  19. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +4 -0
  20. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +2 -0
  21. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -0
  22. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -0
  23. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +2 -0
  24. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +8 -0
  25. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +8 -0
  26. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +2 -0
  27. data/app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js +31 -0
  28. data/app/pb_kits/playbook/pb_button/_button.jsx +6 -0
  29. data/app/pb_kits/playbook/pb_button/button.test.js +91 -0
  30. data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +0 -1
  31. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.test.js +46 -0
  32. data/app/pb_kits/playbook/pb_caption/_caption.jsx +3 -2
  33. data/app/pb_kits/playbook/pb_caption/caption.rb +1 -1
  34. data/app/pb_kits/playbook/pb_card/_card.jsx +18 -3
  35. data/app/pb_kits/playbook/pb_card/card.html.erb +1 -1
  36. data/app/pb_kits/playbook/pb_card/card.rb +3 -0
  37. data/app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb +25 -0
  38. data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +59 -0
  39. data/app/pb_kits/playbook/pb_card/docs/example.yml +2 -0
  40. data/app/pb_kits/playbook/pb_card/docs/index.js +1 -0
  41. data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +31 -9
  42. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +28 -19
  43. data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +11 -3
  44. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +6 -1
  45. data/app/pb_kits/playbook/pb_checkbox/checkbox.test.js +94 -0
  46. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +0 -1
  47. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb +7 -0
  48. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx +16 -0
  49. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +2 -0
  50. data/app/pb_kits/playbook/pb_checkbox/docs/index.js +1 -0
  51. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js +17 -0
  52. data/app/pb_kits/playbook/pb_dialog/_close_icon.jsx +23 -0
  53. data/app/pb_kits/playbook/pb_dialog/_dialog.html.erb +10 -0
  54. data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +142 -0
  55. data/app/pb_kits/playbook/pb_dialog/_dialog.scss +133 -0
  56. data/app/pb_kits/playbook/pb_dialog/_dialog_context.jsx +3 -0
  57. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_body.jsx +21 -0
  58. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +36 -0
  59. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +68 -0
  60. data/app/pb_kits/playbook/pb_dialog/dialog.rb +47 -0
  61. data/app/pb_kits/playbook/pb_dialog/dialog.test.jsx +23 -0
  62. data/app/pb_kits/playbook/pb_dialog/dialog_header.rb +31 -0
  63. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.jsx +53 -0
  64. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_compound_components.md +2 -0
  65. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +27 -0
  66. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.jsx +27 -0
  67. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_scrollable.md +2 -0
  68. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.jsx +119 -0
  69. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_separators.md +2 -0
  70. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.jsx +28 -0
  71. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_should_close_on_overlay.md +2 -0
  72. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_sizes.jsx +93 -0
  73. data/app/pb_kits/playbook/pb_dialog/docs/example.yml +10 -0
  74. data/app/pb_kits/playbook/pb_dialog/docs/index.js +6 -0
  75. data/app/pb_kits/playbook/pb_form/_form.scss +5 -1
  76. data/app/pb_kits/playbook/pb_form/form_builder.rb +4 -2
  77. data/app/pb_kits/playbook/pb_form/form_builder/action_area.rb +14 -7
  78. data/app/pb_kits/playbook/pb_form/simple_form.html.erb +2 -4
  79. data/app/pb_kits/playbook/pb_form/simple_form.rb +4 -0
  80. data/app/pb_kits/playbook/pb_icon/_icon.jsx +20 -5
  81. data/app/pb_kits/playbook/pb_icon/icon.html.erb +4 -2
  82. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +1 -0
  83. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +1 -1
  84. data/app/pb_kits/playbook/pb_nav/_item.jsx +0 -2
  85. data/app/pb_kits/playbook/pb_nav/item.html.erb +2 -2
  86. data/app/pb_kits/playbook/pb_online_status/_online_status.jsx +2 -0
  87. data/app/pb_kits/playbook/pb_online_status/online_status.html.erb +1 -1
  88. data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +1 -1
  89. data/app/pb_kits/playbook/react_rails_kits.js +4 -0
  90. data/app/pb_kits/playbook/utilities/test-utils.js +6 -0
  91. data/lib/playbook/version.rb +2 -1
  92. metadata +66 -35
  93. data/app/pb_kits/playbook/pb_form/form_builder/action_area.html.erb +0 -3
@@ -0,0 +1,10 @@
1
+ examples:
2
+
3
+ rails:
4
+
5
+ react:
6
+ - dialog_default: Simple
7
+ - dialog_compound_components: Complex
8
+ - dialog_sizes: Sizes
9
+ - dialog_scrollable: Scrollable
10
+ - dialog_should_close_on_overlay: Overlay Click
@@ -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'
@@ -1,8 +1,12 @@
1
1
  .pb-form {
2
2
  .pb-form-actions {
3
3
  list-style: none;
4
- margin: 8px;
4
+ margin: 0;
5
5
  padding: 0;
6
+ display: flex;
7
+ justify-content: space-between;
8
+ align-items: flex-start;
9
+ flex-direction: row;
6
10
 
7
11
  > li {
8
12
  display: inline-flex;
@@ -19,9 +19,11 @@ module Playbook
19
19
  prepend(CollectionSelectField)
20
20
  prepend(CheckboxField)
21
21
  prepend(DatePickerField)
22
+ end
22
23
 
23
- def actions(&block)
24
- @template.render_component ActionArea.new(submit_default_value: submit_default_value, children: block)
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 < Playbook::KitBase
7
- prop :submit_default_value, type: Playbook::Props::String
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
- props[:text] ||= value || submit_default_value
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 do |form| %>
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 %>
@@ -48,6 +48,10 @@ module Playbook
48
48
  prop(:options).fetch(:html, {})
49
49
  end
50
50
 
51
+ def render_form(builder)
52
+ view_context.capture(builder, &children)
53
+ end
54
+
51
55
  def render_in(view_context, &_block)
52
56
  super(view_context, &nil)
53
57
  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?: Object,
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
- <i
80
- className={classes}
81
- id={id}
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
 
@@ -1,5 +1,7 @@
1
1
  <%= content_tag(:i, nil,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname,
5
- aria: object.aria) %>
4
+ class: object.classname ) %>
5
+ <%= content_tag(:span, nil,
6
+ aria: { label: "#{object.icon} icon" }.merge(object.aria),
7
+ hidden: true ) %>
@@ -22,6 +22,7 @@ const LoadingInline = (props: LoadingInlineProps) => {
22
22
  >
23
23
  <Body color="light">
24
24
  <Icon
25
+ aria={{ label: 'loading icon' }}
25
26
  fixedWidth
26
27
  icon="spinner"
27
28
  pulse
@@ -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: { aria: { label: object.icon_left }, icon: object.icon_left, classname: "pb_nav_list_item_icon_left", fixed_width: true}) %>
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: { aria: { label: object.icon_right }, icon: object.icon_right, classname: "pb_nav_list_item_icon_right", fixed_width: true}) %>
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)
@@ -1,5 +1,5 @@
1
1
  <%= content_tag(:div,
2
- aria: object.aria,
2
+ aria: object.aria.merge!(label: object.status),
3
3
  class: object.classname,
4
4
  data: object.data,
5
5
  id: object.id) do %>
@@ -23,7 +23,7 @@ const UserBadge = (props: UserBadgeProps) => {
23
23
  size = 'md',
24
24
  } = props
25
25
 
26
- const image = require(`./badges/_${badge}.svg`)
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
+ }
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "8.2.0.pre.alpha1"
4
+ VERSION = "8.2.1.alpha.iconacc"
5
5
  end
6
+
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.0.pre.alpha1
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-02 00:00:00.000000000 Z
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.1.6
20
+ version: 5.2.4.4
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6.0'
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.1.6
30
+ version: 5.2.4.4
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6.0'
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.1.6
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.1.6
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.1.6
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.1.6
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.0.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: []