playbook_ui 9.10.0.pre.date.time.stacked.1 → 9.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +1 -0
  3. data/app/pb_kits/playbook/data/menu.yml +1 -0
  4. data/app/pb_kits/playbook/index.js +1 -0
  5. data/app/pb_kits/playbook/pb_background/background.rb +0 -1
  6. data/app/pb_kits/playbook/pb_badge/_badge.jsx +26 -1
  7. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.jsx +51 -0
  8. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.jsx +49 -0
  9. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.scss +55 -0
  10. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.html.erb +9 -0
  11. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.rb +12 -0
  12. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.html.erb +7 -0
  13. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.rb +11 -0
  14. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.test.js +35 -0
  15. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.html.erb +17 -0
  16. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +56 -0
  17. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_description.md +1 -0
  18. data/app/pb_kits/playbook/pb_bread_crumbs/docs/example.yml +7 -0
  19. data/app/pb_kits/playbook/pb_bread_crumbs/docs/index.js +1 -0
  20. data/app/pb_kits/playbook/pb_button/_button.jsx +8 -19
  21. data/app/pb_kits/playbook/pb_button/button.rb +5 -3
  22. data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.html.erb +1 -1
  23. data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +1 -1
  24. data/app/pb_kits/playbook/pb_button/docs/_button_link.html.erb +3 -3
  25. data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +3 -0
  26. data/app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb +3 -3
  27. data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +3 -0
  28. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +9 -10
  29. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb +4 -2
  30. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +6 -1
  31. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +3 -0
  32. data/app/pb_kits/playbook/pb_date_stacked/date_stacked.rb +6 -8
  33. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.rb +6 -6
  34. data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +2 -2
  35. data/app/pb_kits/playbook/pb_filter/filter.rb +1 -1
  36. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -1
  37. data/app/pb_kits/playbook/pb_flex/flex.rb +4 -4
  38. data/app/pb_kits/playbook/pb_form/form.rb +1 -1
  39. data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +12 -2
  40. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +19 -0
  41. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.html.erb +13 -0
  42. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.jsx +25 -0
  43. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.html.erb +4 -5
  44. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.jsx +2 -6
  45. data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -0
  46. data/app/pb_kits/playbook/pb_form_pill/docs/index.js +1 -0
  47. data/app/pb_kits/playbook/pb_form_pill/form_pill.html.erb +1 -1
  48. data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +5 -0
  49. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +0 -1
  50. data/app/pb_kits/playbook/pb_passphrase/_passphrase.jsx +13 -11
  51. data/app/pb_kits/playbook/pb_passphrase/_passphrase.scss +18 -13
  52. data/app/pb_kits/playbook/pb_passphrase/useZxcvbn.js +3 -3
  53. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.rb +2 -1
  54. data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +1 -1
  55. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +1 -1
  56. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +10 -0
  57. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.scss +61 -0
  58. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.html.erb +6 -0
  59. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx +16 -0
  60. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb +4 -0
  61. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx +14 -0
  62. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +4 -0
  63. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +2 -0
  64. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +9 -2
  65. data/app/pb_kits/playbook/pb_selectable_card_icon/selectable_card_icon.rb +1 -1
  66. data/app/pb_kits/playbook/pb_selectable_icon/selectable_icon.rb +1 -1
  67. data/app/pb_kits/playbook/pb_stat_change/stat_change.rb +8 -12
  68. data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +83 -31
  69. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +106 -0
  70. data/app/pb_kits/playbook/pb_text_input/add_on.html.erb +13 -0
  71. data/app/pb_kits/playbook/pb_text_input/add_on.rb +30 -0
  72. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.html.erb +24 -0
  73. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx +82 -0
  74. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.html.erb +1 -1
  75. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb +5 -0
  76. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx +22 -0
  77. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +4 -0
  78. data/app/pb_kits/playbook/pb_text_input/docs/index.js +2 -0
  79. data/app/pb_kits/playbook/pb_text_input/text_input.html.erb +7 -16
  80. data/app/pb_kits/playbook/pb_text_input/text_input.rb +43 -3
  81. data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +1 -1
  82. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +11 -2
  83. data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +23 -0
  84. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +23 -11
  85. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +17 -4
  86. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.jsx +25 -0
  87. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb +36 -0
  88. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +43 -0
  89. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb +35 -0
  90. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +44 -0
  91. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +5 -0
  92. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +8 -5
  93. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +1 -1
  94. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +18 -2
  95. data/app/pb_kits/playbook/pb_user_badge/user_badge.rb +1 -1
  96. data/lib/playbook/forms/builder/action_area.rb +2 -2
  97. data/lib/playbook/forms/builder/collection_select_field.rb +2 -2
  98. data/lib/playbook/forms/builder/select_field.rb +1 -1
  99. data/lib/playbook/kit_resolver.rb +1 -1
  100. data/lib/playbook/markdown/template_handler.rb +4 -2
  101. data/lib/playbook/pb_doc_helper.rb +4 -2
  102. data/lib/playbook/props.rb +2 -4
  103. data/lib/playbook/props/base.rb +1 -2
  104. data/lib/playbook/props/nested_props.rb +23 -0
  105. data/lib/playbook/version.rb +1 -1
  106. metadata +56 -26
@@ -0,0 +1,35 @@
1
+ <%
2
+ labels = [
3
+ { label: 'Verve', value: '1956' },
4
+ { label: 'Stax', value: '1957' },
5
+ { label: 'Motown', value: '1959' },
6
+ { label: 'Kudu', value: '1971' },
7
+ { label: 'Stones Throw', value: '1996' },
8
+ ]
9
+ %>
10
+ <%
11
+ expressionists = [
12
+ { label: 'Kandinsky', value: 'Russia' },
13
+ { label: 'Klee', value: 'Switzerland' },
14
+ { label: 'Kokoschka', value: 'Austria' },
15
+ { label: 'Kirchner', value: 'Germany' },
16
+ ]
17
+ %>
18
+
19
+ <%= pb_rails("typeahead", props: {
20
+ default_options: [labels.first],
21
+ id: "typeahead-multi-kit-example1",
22
+ options: labels,
23
+ label: "Badges",
24
+ multi_kit: "badge",
25
+ pills: true
26
+ }) %>
27
+
28
+ <%= pb_rails("typeahead", props: {
29
+ default_options: [expressionists.first],
30
+ id: "typeahead-multi-kit-example2",
31
+ options: expressionists,
32
+ label: "Small Pills",
33
+ multi_kit: "smallPill",
34
+ pills: true,
35
+ }) %>
@@ -0,0 +1,44 @@
1
+ // @flow
2
+
3
+ import React from 'react'
4
+ import { Typeahead } from '../../'
5
+
6
+ const labels = [
7
+ { label: 'Verve', value: '1956' },
8
+ { label: 'Stax', value: '1957' },
9
+ { label: 'Motown', value: '1959' },
10
+ { label: 'Kudu', value: '1971' },
11
+ { label: 'Stones Throw', value: '1996' },
12
+ ]
13
+
14
+ const expressionists = [
15
+ { label: 'Kandinsky', value: 'Russia' },
16
+ { label: 'Klee', value: 'Switzerland' },
17
+ { label: 'Kokoschka', value: 'Austria' },
18
+ { label: 'Kirchner', value: 'Germany' },
19
+ ]
20
+
21
+ const TypeaheadMultiKit = (props) => {
22
+ return (
23
+ <>
24
+ <Typeahead
25
+ defaultValue={[labels[0]]}
26
+ isMulti
27
+ label="Badges"
28
+ multiKit="badge"
29
+ options={labels}
30
+ {...props}
31
+ />
32
+ <Typeahead
33
+ defaultValue={[expressionists[0]]}
34
+ isMulti
35
+ label="Small Pills"
36
+ multiKit="smallPill"
37
+ options={expressionists}
38
+ {...props}
39
+ />
40
+ </>
41
+ )
42
+ }
43
+
44
+ export default TypeaheadMultiKit
@@ -5,6 +5,8 @@ examples:
5
5
  - typeahead_with_pills: With Pills
6
6
  - typeahead_with_pills_async: With Pills (Async Data)
7
7
  - typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
8
+ - typeahead_inline: Inline
9
+ - typeahead_multi_kit: Multi Kit Options
8
10
 
9
11
  react:
10
12
  - typeahead_default: Default
@@ -12,3 +14,6 @@ examples:
12
14
  - typeahead_with_pills_async: With Pills (Async Data)
13
15
  - typeahead_with_pills_async_users: With Pills (Async Data w/ Users)
14
16
  - typeahead_with_pills_async_custom_options: With Pills (Async Data w/ Custom Options)
17
+ - typeahead_inline: Inline
18
+ - typeahead_multi_kit: Multi Kit Options
19
+ - typeahead_createable: Createable
@@ -1,5 +1,8 @@
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'
5
- export { default as TypeaheadWithPillsAsyncCustomOptions } from './_typeahead_with_pills_async_custom_options'
1
+ export { default as TypeaheadDefault } from './_typeahead_default.jsx'
2
+ export { default as TypeaheadWithPills } from './_typeahead_with_pills.jsx'
3
+ export { default as TypeaheadWithPillsAsync } from './_typeahead_with_pills_async.jsx'
4
+ export { default as TypeaheadWithPillsAsyncUsers } from './_typeahead_with_pills_async_users.jsx'
5
+ export { default as TypeaheadWithPillsAsyncCustomOptions } from './_typeahead_with_pills_async_custom_options.jsx'
6
+ export { default as TypeaheadInline } from './_typeahead_inline.jsx'
7
+ export { default as TypeaheadMultiKit } from './_typeahead_multi_kit.jsx'
8
+ export { default as TypeaheadCreateable } from './_typeahead_createable.jsx'
@@ -4,7 +4,7 @@
4
4
  <%= content_tag(:div,
5
5
  id: object.id,
6
6
  data: object.data,
7
- class: object.classname) do %>
7
+ class: object.classname + object.inline_class) do %>
8
8
  <div class="pb_typeahead_wrapper">
9
9
  <div class="pb_typeahead_loading_indicator" data-pb-typeahead-kit-loading-indicator>
10
10
  <%= pb_rails("icon", props: {
@@ -8,12 +8,21 @@ module Playbook
8
8
  prop :get_option_label
9
9
  prop :get_option_value
10
10
  prop :id
11
+ prop :inline, type: Playbook::Props::Boolean,
12
+ default: false
11
13
  prop :label
12
14
  prop :load_options
15
+ prop :multi_kit, type: Playbook::Props::String,
16
+ default: ""
13
17
  prop :name
14
- prop :options, type: Playbook::Props::HashArray, default: []
15
- prop :pills, type: Playbook::Props::Boolean, default: false
18
+ prop :options, type: Playbook::Props::HashArray,
19
+ default: []
20
+ prop :pills, type: Playbook::Props::Boolean,
21
+ default: false
22
+
16
23
  prop :placeholder
24
+ prop :plus_icon, type: Playbook::Props::Boolean,
25
+ default: false
17
26
  prop :search_term_minimum_length, default: 3
18
27
  prop :search_debounce_timeout, default: 250
19
28
  prop :value
@@ -22,6 +31,10 @@ module Playbook
22
31
  generate_classname("pb_typeahead_kit")
23
32
  end
24
33
 
34
+ def inline_class
35
+ inline ? " inline" : ""
36
+ end
37
+
25
38
  def data
26
39
  Hash(values[:data]).merge(
27
40
  pb_typeahead_kit: true,
@@ -35,11 +48,14 @@ module Playbook
35
48
  dark: dark,
36
49
  defaultValue: default_options,
37
50
  id: id,
51
+ inline: inline,
38
52
  isMulti: true,
39
53
  label: label,
54
+ multiKit: multi_kit,
40
55
  name: name,
41
56
  options: options,
42
57
  placeholder: placeholder,
58
+ plusIcon: plus_icon,
43
59
  }
44
60
 
45
61
  base_options.merge!({ getOptionLabel: get_option_label }) if get_option_label.present?
@@ -15,7 +15,7 @@ module Playbook
15
15
  end
16
16
 
17
17
  def display_badge
18
- @badge ||= begin
18
+ @display_badge ||= begin
19
19
  badge_path = File.join(
20
20
  File.dirname(self.class.source_location),
21
21
  "badges",
@@ -16,7 +16,7 @@ module Playbook
16
16
  button(value, props: props)
17
17
  end
18
18
 
19
- def button(value = nil, props:)
19
+ def button(_value = nil, props:)
20
20
  view_context.content_tag(:li) do
21
21
  view_context.pb_rails("button", props: props)
22
22
  end
@@ -28,4 +28,4 @@ module Playbook
28
28
  end
29
29
  end
30
30
  end
31
- end
31
+ end
@@ -3,9 +3,9 @@
3
3
  module Playbook
4
4
  module Forms
5
5
  class Builder
6
- def collection_select(name, collection, value_method, text_method, options = {}, html_options = {}, props: {} )
6
+ def collection_select(name, collection, value_method, text_method, options = {}, html_options = {}, props: {})
7
7
  props[:label] = @template.label(@object_name, name) if props[:label] == true
8
- options[:skip_default_ids] = false unless options.has_key?(:skip_default_ids)
8
+ options[:skip_default_ids] = false unless options.key?(:skip_default_ids)
9
9
  options[:prompt] = props[:blank_selection] || ""
10
10
  html_options[:required] = "required" if props[:required]
11
11
  input = super(name, collection, value_method, text_method, options, html_options)
@@ -5,7 +5,7 @@ module Playbook
5
5
  class Builder
6
6
  def select(name, choices = nil, options = {}, html_options = {}, props: {}, &block)
7
7
  props[:label] = @template.label(@object_name, name) if props[:label] == true
8
- options[:skip_default_ids] = false unless options.has_key?(:skip_default_ids)
8
+ options[:skip_default_ids] = false unless options.key?(:skip_default_ids)
9
9
  options[:prompt] = props[:blank_selection] || ""
10
10
  html_options[:required] = "required" if props[:required]
11
11
  input = super(name, choices, options, html_options, &block)
@@ -8,7 +8,7 @@ module Playbook
8
8
  end
9
9
 
10
10
  def initialize
11
- @cache = Hash.new do |cache, kit_name|
11
+ @cache = Hash.new do |_cache, kit_name|
12
12
  is_subkit = kit_name.match(%r{[/\\]})
13
13
  folder = is_subkit ? kit_name.split("/")[0] : kit_name
14
14
  item = is_subkit ? kit_name.split("/")[-1] : kit_name
@@ -1,4 +1,6 @@
1
- require 'redcarpet'
1
+ # frozen_string_literal: true
2
+
3
+ require "redcarpet"
2
4
 
3
5
  module Playbook
4
6
  module Markdown
@@ -20,7 +22,7 @@ module Playbook
20
22
  markdown.render(template).html_safe
21
23
  end
22
24
 
23
- private
25
+ private
24
26
 
25
27
  def md_options
26
28
  @md_options ||= {
@@ -16,7 +16,7 @@ module Playbook
16
16
  example_key: example.keys.first,
17
17
  show_code: show_code,
18
18
  type: type,
19
- dark: dark_mode
19
+ dark: dark_mode,
20
20
  }
21
21
  end.join.yield_self(&method(:raw))
22
22
  end
@@ -41,10 +41,12 @@ module Playbook
41
41
  raw("<div class='pb--docItem'>" + display_kits.join("</div><div class='pb--docItem'>") + "</div>")
42
42
  end
43
43
 
44
+ # rubocop:disable Naming/AccessorMethodName
44
45
  def get_kits
45
46
  menu = YAML.load_file(Playbook::Engine.root.join("app/pb_kits/playbook/data/menu.yml"))
46
47
  menu["kits"]
47
48
  end
49
+ # rubocop:enable Naming/AccessorMethodName
48
50
 
49
51
  def render_pb_doc_kit(kit, type, limit_examples, code = true, dark_mode = false)
50
52
  title = pb_doc_render_clickable_title(kit, type)
@@ -78,7 +80,7 @@ module Playbook
78
80
  else
79
81
  kit_show_path(kit)
80
82
  end
81
- # FIXME this is here because this helper generates a link for playbook website,
83
+ # FIXME: this is here because this helper generates a link for playbook website,
82
84
  # but shouldn't do anything when used elsewhere
83
85
  rescue
84
86
  puts "Kit Path Not Avaliable"
@@ -17,6 +17,7 @@ require_relative "./props/numeric"
17
17
  require_relative "./props/percentage"
18
18
  require_relative "./props/proc"
19
19
  require_relative "./props/string"
20
+ require_relative "./props/nested_props"
20
21
 
21
22
  module Playbook
22
23
  module Props
@@ -36,9 +37,6 @@ module Playbook
36
37
  self.class.props[name].value values[name]
37
38
  end
38
39
 
39
- attr_accessor :values
40
- private :values, :values=
41
-
42
40
  included do
43
41
  class_attribute :props, default: {}
44
42
  end
@@ -50,7 +48,7 @@ module Playbook
50
48
  end
51
49
 
52
50
  def prop(name, type: Playbook::Props::String, **options)
53
- self.props = self.props.merge(name => type.new(options.merge(name: name, kit: self)))
51
+ self.props = props.merge(name => type.new(options.merge(name: name, kit: self)))
54
52
 
55
53
  define_method(name) { prop(name) }
56
54
  end
@@ -20,7 +20,7 @@ module Playbook
20
20
  end
21
21
 
22
22
  def validate!(input_value)
23
- warn("#{kit} Kit: The prop '#{name}' is deprecated and will be removed in a future release!") if deprecated && input_value #TODO: add some color for pop
23
+ warn("#{kit} Kit: The prop '#{name}' is deprecated and will be removed in a future release!") if deprecated && input_value # TODO: add some color for pop
24
24
 
25
25
  raise(Playbook::Props::Error, "#{kit} prop '#{name}' of type #{inspect.class} is required and needs a value") if required && input_value.nil?
26
26
 
@@ -40,7 +40,6 @@ module Playbook
40
40
 
41
41
  def log(message)
42
42
  logger = ActiveSupport::Logger.new(STDOUT)
43
- log_formatter = ::Logger::Formatter.new
44
43
  @logger ||= ActiveSupport::TaggedLogging.new(logger)
45
44
  @logger.log(0, message)
46
45
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module Props
5
+ class NestedProps < Playbook::Props::Base
6
+ def initialize(nested_kit:, **kwargs)
7
+ super **kwargs
8
+ @nested_kit = nested_kit
9
+ end
10
+
11
+ def validate(values)
12
+ return true if values.nil?
13
+
14
+ @nested_kit.props.each do |prop_key, definition|
15
+ definition.validate! definition.value(values[prop_key])
16
+ end
17
+ true
18
+ rescue Playbook::Props::Error
19
+ false
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "9.10.0.pre.date.time.stacked.1"
4
+ VERSION = "9.13.0"
5
5
  end
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: 9.10.0.pre.date.time.stacked.1
4
+ version: 9.13.0
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-04-27 00:00:00.000000000 Z
12
+ date: 2021-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 5.2.4.4
20
+ version: 5.2.4.5
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '7.0'
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 5.2.4.4
30
+ version: 5.2.4.5
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '7.0'
@@ -37,7 +37,7 @@ dependencies:
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 5.2.4.4
40
+ version: 5.2.4.5
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.4
50
+ version: 5.2.4.5
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.4
60
+ version: 5.2.4.5
61
61
  - - "<"
62
62
  - !ruby/object:Gem::Version
63
63
  version: '7.0'
@@ -67,7 +67,7 @@ dependencies:
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 5.2.4.4
70
+ version: 5.2.4.5
71
71
  - - "<"
72
72
  - !ruby/object:Gem::Version
73
73
  version: '7.0'
@@ -281,6 +281,20 @@ dependencies:
281
281
  - - '='
282
282
  - !ruby/object:Gem::Version
283
283
  version: 2.2.2
284
+ - !ruby/object:Gem::Dependency
285
+ name: rspec-html-matchers
286
+ requirement: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - - '='
289
+ - !ruby/object:Gem::Version
290
+ version: 0.9.1
291
+ type: :development
292
+ prerelease: false
293
+ version_requirements: !ruby/object:Gem::Requirement
294
+ requirements:
295
+ - - '='
296
+ - !ruby/object:Gem::Version
297
+ version: 0.9.1
284
298
  - !ruby/object:Gem::Dependency
285
299
  name: rspec-rails
286
300
  requirement: !ruby/object:Gem::Requirement
@@ -301,20 +315,6 @@ dependencies:
301
315
  - - ">="
302
316
  - !ruby/object:Gem::Version
303
317
  version: 3.8.0
304
- - !ruby/object:Gem::Dependency
305
- name: rspec-html-matchers
306
- requirement: !ruby/object:Gem::Requirement
307
- requirements:
308
- - - '='
309
- - !ruby/object:Gem::Version
310
- version: 0.9.1
311
- type: :development
312
- prerelease: false
313
- version_requirements: !ruby/object:Gem::Requirement
314
- requirements:
315
- - - '='
316
- - !ruby/object:Gem::Version
317
- version: 0.9.1
318
318
  - !ruby/object:Gem::Dependency
319
319
  name: rubocop
320
320
  requirement: !ruby/object:Gem::Requirement
@@ -516,6 +516,19 @@ files:
516
516
  - app/pb_kits/playbook/pb_body/docs/_footer.md
517
517
  - app/pb_kits/playbook/pb_body/docs/example.yml
518
518
  - app/pb_kits/playbook/pb_body/docs/index.js
519
+ - app/pb_kits/playbook/pb_bread_crumbs/_bread_crumb_item.jsx
520
+ - app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.jsx
521
+ - app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.scss
522
+ - app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.html.erb
523
+ - app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.rb
524
+ - app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.html.erb
525
+ - app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.rb
526
+ - app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.test.js
527
+ - app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.html.erb
528
+ - app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx
529
+ - app/pb_kits/playbook/pb_bread_crumbs/docs/_description.md
530
+ - app/pb_kits/playbook/pb_bread_crumbs/docs/example.yml
531
+ - app/pb_kits/playbook/pb_bread_crumbs/docs/index.js
519
532
  - app/pb_kits/playbook/pb_button/_button.jsx
520
533
  - app/pb_kits/playbook/pb_button/_button.scss
521
534
  - app/pb_kits/playbook/pb_button/_button_mixins.scss
@@ -1024,6 +1037,8 @@ files:
1024
1037
  - app/pb_kits/playbook/pb_form_group/form_group.rb
1025
1038
  - app/pb_kits/playbook/pb_form_pill/_form_pill.jsx
1026
1039
  - app/pb_kits/playbook/pb_form_pill/_form_pill.scss
1040
+ - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.html.erb
1041
+ - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_size.jsx
1027
1042
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_tag.html.erb
1028
1043
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_tag.jsx
1029
1044
  - app/pb_kits/playbook/pb_form_pill/docs/_form_pill_user.html.erb
@@ -1543,6 +1558,8 @@ files:
1543
1558
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_default.jsx
1544
1559
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.html.erb
1545
1560
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_focus.jsx
1561
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.html.erb
1562
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_inline.jsx
1546
1563
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.html.erb
1547
1564
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_preview.jsx
1548
1565
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_simple.html.erb
@@ -1551,6 +1568,8 @@ files:
1551
1568
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_sticky.jsx
1552
1569
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.html.erb
1553
1570
  - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx
1571
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb
1572
+ - app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx
1554
1573
  - app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml
1555
1574
  - app/pb_kits/playbook/pb_rich_text_editor/docs/index.js
1556
1575
  - app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js
@@ -1795,8 +1814,12 @@ files:
1795
1814
  - app/pb_kits/playbook/pb_table/table_row.rb
1796
1815
  - app/pb_kits/playbook/pb_text_input/_text_input.jsx
1797
1816
  - app/pb_kits/playbook/pb_text_input/_text_input.scss
1817
+ - app/pb_kits/playbook/pb_text_input/add_on.html.erb
1818
+ - app/pb_kits/playbook/pb_text_input/add_on.rb
1798
1819
  - app/pb_kits/playbook/pb_text_input/docs/_description.md
1799
1820
  - app/pb_kits/playbook/pb_text_input/docs/_footer.md
1821
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.html.erb
1822
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx
1800
1823
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.html.erb
1801
1824
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx
1802
1825
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb
@@ -1806,6 +1829,8 @@ files:
1806
1829
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.html.erb
1807
1830
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.jsx
1808
1831
  - app/pb_kits/playbook/pb_text_input/docs/_text_input_error.md
1832
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
1833
+ - app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
1809
1834
  - app/pb_kits/playbook/pb_text_input/docs/example.yml
1810
1835
  - app/pb_kits/playbook/pb_text_input/docs/index.js
1811
1836
  - app/pb_kits/playbook/pb_text_input/text_input.html.erb
@@ -1981,8 +2006,13 @@ files:
1981
2006
  - app/pb_kits/playbook/pb_typeahead/components/ValueContainer.jsx
1982
2007
  - app/pb_kits/playbook/pb_typeahead/docs/_description.md
1983
2008
  - app/pb_kits/playbook/pb_typeahead/docs/_footer.md
2009
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_createable.jsx
1984
2010
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb
1985
2011
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx
2012
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.html.erb
2013
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx
2014
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
2015
+ - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
1986
2016
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb
1987
2017
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb
1988
2018
  - app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx
@@ -2112,6 +2142,7 @@ files:
2112
2142
  - lib/playbook/props/enum.rb
2113
2143
  - lib/playbook/props/hash.rb
2114
2144
  - lib/playbook/props/hash_array.rb
2145
+ - lib/playbook/props/nested_props.rb
2115
2146
  - lib/playbook/props/number.rb
2116
2147
  - lib/playbook/props/number_array.rb
2117
2148
  - lib/playbook/props/numeric.rb
@@ -2137,12 +2168,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
2137
2168
  version: '0'
2138
2169
  required_rubygems_version: !ruby/object:Gem::Requirement
2139
2170
  requirements:
2140
- - - ">"
2171
+ - - ">="
2141
2172
  - !ruby/object:Gem::Version
2142
- version: 1.3.1
2173
+ version: '0'
2143
2174
  requirements: []
2144
- rubyforge_project:
2145
- rubygems_version: 2.7.3
2175
+ rubygems_version: 3.1.4
2146
2176
  signing_key:
2147
2177
  specification_version: 4
2148
2178
  summary: Playbook Design System